.forms{--forms-line:color-mix(in srgb,currentColor 20%,transparent);max-width:1150px;margin:auto}.forms [hidden]{display:none!important}.forms-heading{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}.forms-heading h2{margin:.25rem 0}.forms .eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:800}.forms-templates,.forms-actions,.forms-add,.forms-embedded{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.forms-templates{margin-bottom:1.5rem}.forms-list{display:grid;gap:1rem;margin:1.5rem 0}.forms-list article,.forms-question,.forms-callout,.forms-responses details{border:1px solid var(--forms-line);border-radius:16px;padding:1.25rem;background:color-mix(in srgb,currentColor 3%,transparent)}.forms-list article{display:flex;justify-content:space-between;gap:1rem;align-items:center}.forms-list h3{margin:.6rem 0;overflow-wrap:anywhere}.forms-status{font-size:.72rem;font-weight:800;letter-spacing:.08em;border:1px solid currentColor;border-radius:100px;padding:.3rem .6rem;display:inline-block}.forms-status.is-published{background:#dcfce7;color:#166534}.forms-status.is-draft{background:#fef3c7;color:#92400e}.forms-status.is-closed{background:#e2e8f0;color:#334155}.forms-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.forms label:not(.check){display:grid;gap:.5rem;margin:.8rem 0}.forms input:not([type=checkbox]):not([type=radio]),.forms textarea,.forms select{max-width:100%;width:100%;box-sizing:border-box;min-width:0}.forms fieldset{border:0;padding:0;min-width:0}.forms-question{margin-bottom:1rem}.forms-question-heading{display:flex;gap:1rem;justify-content:space-between;align-items:center;font-weight:700}.forms-question-heading>div{display:flex;gap:.5rem}.forms .check{display:flex;gap:.65rem;align-items:center;margin:.6rem 0}.forms .check input{flex:none;width:1.1rem;height:1.1rem;margin:0}.forms-account-options{max-height:240px;overflow:auto;padding:.5rem;border:1px solid var(--forms-line);border-radius:12px}.forms-add{align-items:end;margin:1rem 0}.forms-add label{flex:1}.forms-settings{border-top:1px solid var(--forms-line);padding:1.5rem 0;margin:1.5rem 0}.forms summary{cursor:pointer;font-weight:700}.forms .forms-actions{margin-top:1rem}.forms-callout{margin:1rem 0}.forms-description,.forms-public-question small,.forms-responses dd{white-space:pre-wrap;overflow-wrap:anywhere}.forms-dialog{max-width:760px;width:calc(100% - 2rem)}.forms-public{max-width:640px}.forms-public h2{font-size:clamp(1.7rem,4vw,2.6rem);overflow-wrap:anywhere}.forms-public-question{margin:1.5rem 0!important;padding:0 0 1.5rem!important;border-bottom:1px solid var(--forms-line)!important}.forms-public-question legend{font-weight:700;margin-bottom:.5rem}.forms-public-question small{display:block;opacity:.8;margin:.4rem 0}.forms-choices{display:grid;gap:.3rem}.forms-choices .check{border:1px solid var(--forms-line);padding:.7rem;border-radius:10px}.forms-section{margin:2rem 0 1rem}.forms-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.forms-success{text-align:center;padding:2rem}.forms-success>span{display:inline-grid;place-items:center;width:4rem;height:4rem;background:#dcfce7;color:#166534;border-radius:50%;font-size:2rem}.forms-placement-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.forms-placement-list>div{border:1px solid var(--forms-line);border-radius:12px;padding:1rem}.forms-responses{display:grid;gap:.8rem;margin:1rem 0}.forms-responses summary span{font-weight:400;margin-left:1rem}.forms-responses dl>div{padding:.75rem 0;border-bottom:1px solid var(--forms-line)}.forms-responses dt{font-weight:700}.forms-responses dd{margin:.4rem 0}.forms [role=alert]:not(:empty){padding:.8rem;border-left:3px solid currentColor}.forms-embedded{padding:1rem 0;margin:1rem 0;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent)}#forms-footer{max-width:1200px;padding:0 1.5rem;margin:auto}.forms button{white-space:normal}.forms button:focus-visible,.forms summary:focus-visible{outline:3px solid currentColor;outline-offset:4px}@media(max-width:700px){.forms-heading,.forms-list article{align-items:stretch;flex-direction:column}.forms-columns,.forms-placement-list{grid-template-columns:1fr}.forms-question-heading{align-items:start;flex-direction:column}.forms-templates>button{flex:1}.forms .small{padding:.6rem}.forms-responses summary span{display:block;margin:.4rem 0}}

.forms-rating{grid-template-columns:repeat(5,minmax(0,1fr))}.forms-rating .check{justify-content:center;flex-wrap:wrap}.forms-rating .check:has(input:checked){background:color-mix(in srgb,currentColor 10%,transparent);border:2px solid currentColor}

.forms-public form{gap:.5rem}.forms-public .forms-public-question{margin:.8rem 0!important;padding-bottom:1rem!important}

/* Response service: compact statuses, readable history and responsive editing. */
.forms-status.is-case-new{color:#1e40af;background:#dbeafe}.forms-status.is-case-in_progress{color:#854d0e;background:#fef3c7}.forms-status.is-case-replied{color:#166534;background:#dcfce7}.forms-status.is-case-closed{color:#475569;background:#e2e8f0}.forms-responses summary .forms-status{font-weight:700;font-size:.72rem}.forms-case .forms-columns>div{min-width:0}.forms-case .forms-callout{height:fit-content}.forms-case-answers dt{font-weight:700}.forms-case-answers dd{margin:.3rem 0 1rem;white-space:pre-wrap;overflow-wrap:anywhere}.forms-mail-history{margin-top:2rem}.forms-mail-history article{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.15rem 0;border-top:1px solid var(--forms-line)}.forms-mail-history article>div{min-width:0;overflow-wrap:anywhere}.forms-mail-history h4{margin:.3rem 0}.forms-mail-history p{margin:.4rem 0}.forms-mail-status{display:inline-block;font-size:.8rem;font-weight:700;padding:.3rem .65rem;border:1px solid currentColor;border-radius:999px}.forms-mail-status.is-accepted{background:#dcfce7;color:#166534}.forms-mail-status.is-blocked,.forms-mail-status.is-failed{background:#fee2e2;color:#991b1b}.forms-case small{overflow-wrap:anywhere}.forms-case textarea{resize:vertical}@media(max-width:700px){.forms-mail-history article{flex-direction:column;align-items:stretch}.forms-case .forms-heading{gap:.75rem}}

/* Management workspace: compact, predictable controls across public themes. */
#panel .forms-manage{--fm-bg:var(--surface,#fff);--fm-line:color-mix(in srgb,var(--ink) 16%,transparent);--fm-accent:var(--green);font:400 14px/1.55 Arial,sans-serif;max-width:1240px;min-width:0}
#panel .forms-manage h2,#panel .forms-manage h3,#panel .forms-manage h4{font-family:Arial,sans-serif;letter-spacing:-.025em;line-height:1.3}
#panel .forms-manage h2{font-size:clamp(23px,3vw,32px);font-weight:700}
#panel .forms-manage h3{font-size:17px;margin:0 0 12px;font-weight:600;display:flex;gap:8px;align-items:center}
#panel .forms-manage .eyebrow{font-size:10px;letter-spacing:.16em;margin:0 0 7px;opacity:.75}
#panel .forms-manage .forms-heading{margin-bottom:24px;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid var(--fm-line)}
#panel .forms-manage .forms-heading p{margin:5px 0}
#panel .forms-manage .forms-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#panel .forms-manage button:not(.cv-author button){display:inline-flex;align-items:center;justify-content:center;gap:7px;font:600 12px/1.4 Arial,sans-serif;letter-spacing:0;padding:9px 12px;min-height:36px;border-radius:8px;border:1px solid transparent;box-shadow:none;transform:none;white-space:normal}
#panel .forms-manage button:not(.cv-author button)::before,#panel .forms-manage button:not(.cv-author button)::after{display:none}
#panel .forms-manage button:not(.cv-author button):hover{transform:none;box-shadow:none;filter:brightness(.96)}
#panel .forms-manage button.secondary:not(.cv-author button){background:var(--fm-bg);color:var(--ink);border-color:var(--fm-line)}
#panel .forms-manage input:not(.cv-author input):not([type=checkbox]):not([type=radio]),#panel .forms-manage select:not(.cv-author select){font:400 14px/1.4 Arial,sans-serif;padding:10px 12px;border:1px solid var(--fm-line);border-radius:8px;min-height:40px;box-shadow:none}
#panel .forms-manage label:not(.cv-author label):not(.check){font-size:12px;font-weight:600;gap:6px;margin:14px 0 8px}
#panel .forms-manage .forms-templates{gap:8px;margin-bottom:16px}
#panel .forms-manage .forms-list{gap:10px}
#panel .forms-manage .forms-list article{padding:18px 20px;border-radius:12px;border-color:var(--fm-line);background:var(--fm-bg);box-shadow:0 2px 8px #00000004;min-width:0}
#panel .forms-manage .forms-list h3{margin:9px 0 5px;font-size:18px}
#panel .forms-manage .forms-list p{font-size:12px;margin:0;opacity:.8}
#panel .forms-manage .forms-actions{gap:7px;margin-top:10px}
#panel .forms-manage .forms-list .forms-actions{margin:0;justify-content:flex-end}
#panel .forms-manage .forms-status,#panel .forms-manage .forms-mail-status{font-size:10px;letter-spacing:.02em;padding:3px 8px;border:0;line-height:1.6}
#panel .forms-manage .forms-callout,#panel .forms-manage .forms-question,#panel .forms-manage .forms-responses details{padding:20px;background:var(--fm-bg);border:1px solid var(--fm-line);border-radius:12px;margin-top:0}
#panel .forms-manage .forms-responses summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:14px}
#panel .forms-manage .forms-responses summary::before{content:'›';font-size:22px;font-weight:400;margin-right:2px}
#panel .forms-manage .forms-responses details[open] summary::before{transform:rotate(90deg)}
#panel .forms-manage .forms-responses summary span{margin:0;font-size:12px}
#panel .forms-manage .forms-responses summary span:last-child{margin-left:auto;opacity:.8}
#panel .forms-manage .forms-responses details[open] summary{padding-bottom:14px;border-bottom:1px solid var(--fm-line)}
#panel .forms-case>.forms-columns{grid-template-columns:minmax(280px,.85fr) minmax(0,1.45fr);gap:20px}
#panel .forms-case .forms-reference{display:block;font:11px/1.5 monospace;opacity:.6;margin-top:9px}
#panel .forms-case .forms-recipient{padding:9px 12px;border:1px solid var(--fm-line);border-radius:8px;font-size:12px;overflow-wrap:anywhere}
#panel .forms-case .forms-recipient strong{margin-left:10px}
#panel .forms-case .forms-reply-options{font-size:12px;margin:14px 0 18px;padding-top:12px;border-top:1px solid var(--fm-line)}
#panel .forms-case .forms-reply-options summary{font-weight:500}
#panel .forms-case .forms-mail-history{margin-top:12px;padding:22px;border:1px solid var(--fm-line);border-radius:12px;background:var(--fm-bg)}
#panel .forms-case .forms-mail-history>p,#panel .forms-case .forms-callout .muted{font-size:12px;line-height:1.6;opacity:.8}
#panel .forms-case .forms-mail-history article{position:relative;padding:16px 0 16px 24px;font-size:12px;border-color:var(--fm-line)}
#panel .forms-case .forms-mail-history article::before{content:'';position:absolute;top:24px;left:0;width:8px;height:8px;border:2px solid currentColor;border-radius:50%;opacity:.4}
#panel .forms-case .forms-mail-history h4{font-size:14px;margin:4px 0}
#panel .forms-manage .forms-question-heading{font-size:13px;margin-bottom:10px}
#panel .forms-manage .forms-question-heading button{padding:6px;min-width:32px;min-height:32px}
@media(max-width:850px){#panel .forms-case>.forms-columns{grid-template-columns:1fr}#panel .forms-manage .forms-list article{align-items:flex-start;flex-direction:column}#panel .forms-manage .forms-list .forms-actions{justify-content:flex-start}}
@media(max-width:600px){#panel .forms-manage .forms-callout,#panel .forms-manage .forms-question,#panel .forms-manage .forms-responses details,#panel .forms-case .forms-mail-history{padding:14px}#panel .forms-manage .forms-list article{padding:16px}#panel .forms-manage .forms-heading{gap:14px}#panel .forms-manage .forms-responses summary span:last-child{margin-left:0;width:100%}#panel .forms-manage button:not(.cv-author button){min-height:40px}}
