/* Feedback shares the Online Demo theme and typography. */
.feedback-page { min-height:100dvh; background:var(--bg-color); color-scheme:dark; }
.feedback-page .app-header { position:sticky; top:0; z-index:2; }
.feedback-nav { display:flex; align-items:center; gap:24px; font-size:13px; }
.feedback-nav a { color:var(--text-muted); text-decoration:none; }
.feedback-nav a:hover { color:var(--accent-color); }
.language-selector { display:flex; align-items:center; gap:8px; white-space:nowrap; }
.language-selector button { padding:5px 0; border:0; background:none; color:var(--text-muted); font:inherit; cursor:pointer; }
.language-selector button:hover,.language-selector button[aria-pressed=true] { color:var(--accent-color); }
.language-selector button[aria-pressed=true] { font-weight:600; }
.language-selector button:focus-visible { outline:2px solid var(--accent-color); outline-offset:4px; border-radius:2px; }
.language-selector>span { color:var(--text-muted-half); }
.feedback-main { max-width:840px; margin:0 auto; padding:44px 28px 64px; }
.eyebrow { color:var(--accent-color); font:11px ui-monospace,monospace; letter-spacing:.12em; }
.feedback-heading h1 { font-size:30px; font-weight:600; letter-spacing:-.03em; margin:12px 0; }
.feedback-heading p,.hint { color:var(--text-muted); font-size:13px; line-height:1.6; }
.feedback-group { padding:28px 0; border-bottom:1px solid var(--border-color); }
.feedback-group h2 { display:flex; align-items:center; gap:12px; font-size:14px; font-weight:500; margin:0 0 24px; }
.feedback-group h2>span:first-child { color:var(--accent-color); font:12px ui-monospace,monospace; }
.feedback-page fieldset { border:0; padding:0; margin:0 0 23px; min-width:0; }
.feedback-page legend,.field>label:first-child { display:block; font-size:13px; margin-bottom:10px; }
.feedback-page small { font-size:11px; color:var(--text-muted); font-weight:400; margin-left:5px; }
.required { color:var(--accent-color); }
.choices { display:flex; flex-wrap:wrap; gap:9px; }
.choices label { display:flex; gap:8px; align-items:center; border:1px solid var(--border-color); background:var(--bg-card); padding:10px 13px; font-size:13px; cursor:pointer; border-radius:5px; }
.choices label:has(input:checked) { border-color:var(--accent-color); background:var(--bg-accent); }
.choices input { accent-color:var(--accent-color); margin:0; }
.field { margin-bottom:20px; min-width:0; }
.feedback-page input:not([type=radio],[type=checkbox],[type=file]),.feedback-page textarea { display:block; width:100%; background:var(--input-bg); border:1px solid var(--input-border); border-radius:5px; padding:11px 13px; color:var(--text-color); font-family:inherit; font-size:13px; line-height:1.6; }
.feedback-page textarea { resize:vertical; min-height:130px; }
.feedback-page input:focus-visible,.feedback-page textarea:focus-visible,.attachment-drop:focus-within { outline:2px solid var(--accent-color); outline-offset:2px; }
.feedback-page input::placeholder,.feedback-page textarea::placeholder { color:var(--text-muted-half); }
.field-footer { display:flex; justify-content:space-between; gap:12px; color:var(--text-muted); font-size:11px; margin-top:8px; }
#count { white-space:nowrap; }
.task-context { border-left:2px solid var(--accent-color); background:var(--bg-card); padding:14px 16px; display:grid; gap:8px; font-size:12px; }
.task-context>span { color:var(--text-muted); }
.task-context code { color:var(--text-muted); overflow-wrap:anywhere; }
#page_number { max-width:160px; }
.attachment-columns,.contact-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.attachment-columns:has(#original-field[hidden]) { grid-template-columns:1fr; }
.attachment-drop { position:relative; border:1px dashed var(--input-border); border-radius:5px; min-height:134px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; cursor:pointer; padding:16px; background:var(--bg-card); }
.attachment-drop:hover,.attachment-drop.drag-over { border-color:var(--accent-color); background:var(--bg-accent); }
.attachment-drop strong { font-weight:400; font-size:12px; }
.attachment-drop small { margin:0; }
.upload-symbol { color:var(--accent-color); font-size:24px; }
.attachment-drop input { position:absolute; inset:0; opacity:0; width:100%; cursor:pointer; }
.file-list { list-style:none; padding:0; margin:8px 0 0; }
.file-list li { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-muted); padding:7px 0; border-bottom:1px solid var(--border-color); }
.file-list span { flex:1; overflow-wrap:anywhere; }
.file-list button { border:0; background:none; color:var(--text-muted); cursor:pointer; font-size:18px; }
.feedback-actions { display:flex; gap:20px; align-items:center; margin-top:28px; }
.feedback-actions .upload-button { width:auto; padding:12px 24px; white-space:nowrap; }
#notice { font-size:13px; line-height:1.5; color:var(--text-muted); overflow-wrap:anywhere; }
#notice[data-state=error] { color:#f3aaaa; }
#notice[data-state=success] { color:#6ccea2; }
@media(max-width:600px) { .feedback-main { padding:28px 18px 40px; } .attachment-columns,.contact-columns { grid-template-columns:1fr; gap:0; } .feedback-page .logo-text { font-size:14px; } .feedback-nav { gap:12px; font-size:11px; } .feedback-heading h1 { font-size:25px; } .feedback-actions { align-items:flex-start; flex-direction:column; } }

@media(max-width:420px) { .feedback-page .app-header { height:auto; min-height:56px; flex-wrap:wrap; gap:8px; padding-block:10px; } .feedback-nav { margin-left:auto; } }
