[data-help-surface] {
  --ink: var(--platform-text);
  --muted: var(--platform-text-muted);
  --line: var(--platform-border);
  --surface: var(--platform-surface);
  --soft: var(--platform-surface-muted);
  --accent: #047857;
  --accent-dark: #065f46;
  --accent-soft: #d1fae5;
  --danger: #b91c1c;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
}

[data-help-surface] a { color: var(--accent); }
[data-help-surface] button,
[data-help-surface] input,
[data-help-surface] textarea { font: inherit; }
[data-help-surface] .shell { width: min(100% - 2rem, 1180px); margin-inline: auto; }
[data-help-surface] .narrow { width: min(100% - 2rem, 780px); }

[data-help-surface] .hero,
[data-help-surface] .action-page { background: var(--soft); }
[data-help-surface] .hero .shell { padding-block: clamp(3rem, 7vw, 4.75rem); text-align: center; }
[data-help-surface] .eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
[data-help-surface] h1,
[data-help-surface] h2 { margin: 0; line-height: 1.15; letter-spacing: -.025em; }
[data-help-surface] h1 { max-width: 800px; font-size: clamp(2.4rem, 6vw, 4.25rem); }
[data-help-surface] h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
[data-help-surface] .lead { max-width: 760px; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
[data-help-surface] .hero h1,
[data-help-surface] .hero .lead { margin-inline: auto; }
[data-help-surface] .lead-small { max-width: 700px; margin: .8rem 0 0; color: var(--muted); }

[data-help-surface] .content-section { padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(3rem, 6vw, 5rem); }
[data-help-surface] .contact-layout { width: min(100% - 2rem, 880px); }
[data-help-surface] .help-form,
[data-help-surface] .action-card,
[data-help-surface] .success-card { border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--surface); box-shadow: 0 10px 30px rgba(17, 24, 39, .05); }
[data-help-surface] .help-form { display: grid; gap: 2rem; margin-top: 2rem; padding: clamp(1.35rem, 4vw, 2.5rem); border-radius: 1rem; box-shadow: 0 10px 28px rgba(17, 24, 39, .07); }
[data-help-surface] fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
[data-help-surface] legend,
[data-help-surface] .field > label { display: block; margin-bottom: .65rem; color: var(--ink); font-size: .95rem; font-weight: 750; }
[data-help-surface] .required { color: var(--accent); }
[data-help-surface] .option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
[data-help-surface] .help-option { display: flex; min-height: 7.25rem; gap: .8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--surface); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
[data-help-surface] .option-grid.compact .help-option { min-height: 3.5rem; align-items: center; }
[data-help-surface] .help-option:hover,
[data-help-surface] .help-option:focus-within,
[data-help-surface] .help-option[data-selected="true"] { border-color: #34d399; background: #ecfdf5; }
[data-help-surface] .help-option input { width: 1rem; height: 1rem; margin: .25rem 0 0; accent-color: var(--accent); }
[data-help-surface] .help-option strong,
[data-help-surface] .help-option small { display: block; }
[data-help-surface] .help-option small { margin-top: .35rem; color: var(--muted); line-height: 1.55; }
[data-help-surface] .field input[type="email"],
[data-help-surface] .field textarea { width: 100%; min-height: 50px; padding: .85rem 1rem; border: 1px solid #b9c0ca; border-radius: .7rem; color: var(--ink); background: var(--surface); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
[data-help-surface] .field textarea { min-height: 180px; resize: vertical; }
[data-help-surface] .field input:focus,
[data-help-surface] .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(4, 120, 87, .14); }
[data-help-surface] .hint { margin: .45rem 0 0; color: var(--muted); font-size: .85rem; }
[data-help-surface] .upload-box { padding: 1.1rem; border: 1px dashed #b9c0ca; border-radius: .8rem; background: var(--soft); }
[data-help-surface] .file-list { display: grid; gap: .45rem; margin: .8rem 0 0; padding: 0; list-style: none; }
[data-help-surface] .file-list li { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--surface); }
[data-help-surface] .field-error,
[data-help-surface] .form-status[data-state="error"] { color: var(--danger); }
[data-help-surface] .form-status[data-state="success"] { color: var(--accent-dark); }
[data-help-surface] .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-help-surface] .privacy-check { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--soft); font-size: .9rem; }
[data-help-surface] .privacy-check input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .2rem; accent-color: var(--accent); }
[data-help-surface] .submit-row { display: flex; align-items: center; gap: 1rem; }
[data-help-surface] .form-shell .submit-row { display: grid; gap: .75rem; }
[data-help-surface] .form-shell .submit-row .button { width: 100%; }
[data-help-surface] .form-status { min-height: 1.5rem; margin: 0; font-size: .9rem; font-weight: 700; }
[data-help-surface] .button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .75rem 1.1rem; border: 1px solid transparent; border-radius: .7rem; font-weight: 750; text-decoration: none; cursor: pointer; }
[data-help-surface] .button-primary { color: #fff; background: var(--accent); }
[data-help-surface] .button-primary:hover { background: var(--accent-dark); }
[data-help-surface] .button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
[data-help-surface] .button:disabled { cursor: wait; opacity: .65; }

[data-help-surface] .security-icon,
[data-help-surface] .success-icon { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: .65rem; color: var(--accent-dark); background: var(--accent-soft); font-size: 1.25rem; font-weight: 900; }
[data-help-surface] .form-shell > .help-form,
[data-help-surface] .form-shell > .success-card { margin-top: 0; }
[data-help-surface] .success-card { padding: clamp(1.35rem, 4vw, 2rem); border-color: #a7f3d0; background: #ecfdf5; }
[data-help-surface] .success-message { display: flex; align-items: flex-start; gap: 1rem; }
[data-help-surface] .success-icon { flex: 0 0 auto; }
[data-help-surface] .success-copy { min-width: 0; }
[data-help-surface] .success-card h2 { margin: 0; }
[data-help-surface] .success-card p { margin: .55rem 0 0; }
[data-help-surface] .success-card .success-countdown { margin-top: 1rem; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

[data-help-surface] .action-page { min-height: calc(100vh - 128px); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
[data-help-surface] .action-card { display: grid; gap: 1.25rem; margin-top: 2rem; padding: clamp(1.25rem, 4vw, 2rem); }
[data-help-surface] .action-card > p { margin: 0; color: var(--muted); }
[data-help-surface] .action-card.help-form { margin-top: 2rem; }
[data-help-surface] .text-link { width: fit-content; font-weight: 700; }
[data-help-surface] .notice { padding: .8rem; border: 1px solid #fcd34d; border-radius: .5rem; color: #92400e; background: #fffbeb; }

html[data-platform-theme="dark"] [data-help-surface] {
  --accent: #34d399;
  --accent-dark: #6ee7b7;
  --accent-soft: #123c2c;
  --danger: #fca5a5;
}
html[data-platform-theme="dark"] [data-help-surface] .help-form { box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
html[data-platform-theme="dark"] [data-help-surface] .action-card { box-shadow: 0 14px 38px rgba(0, 0, 0, .28); }
html[data-platform-theme="dark"] [data-help-surface] .help-option:hover,
html[data-platform-theme="dark"] [data-help-surface] .help-option:focus-within,
html[data-platform-theme="dark"] [data-help-surface] .help-option[data-selected="true"] { border-color: #34d399; background: #123c2c; }
html[data-platform-theme="dark"] [data-help-surface] .field input[type="email"],
html[data-platform-theme="dark"] [data-help-surface] .field textarea,
html[data-platform-theme="dark"] [data-help-surface] .upload-box { border-color: var(--line); }
html[data-platform-theme="dark"] [data-help-surface] .success-card { border-color: #276749; background: #123c2c; }
html[data-platform-theme="dark"] [data-help-surface] .notice { border-color: #92400e; color: #fcd34d; background: #382a12; }

@media (max-width: 780px) {
  [data-help-surface] .option-grid { grid-template-columns: minmax(0, 1fr); }
  [data-help-surface] .hero .shell { padding-block: 2.75rem; }
  [data-help-surface] .content-section { padding: 1.25rem 0 2.5rem; }
  [data-help-surface] .help-form { gap: 1.5rem; padding: 1.15rem; border-radius: .85rem; }
  [data-help-surface] .submit-row { align-items: stretch; flex-direction: column; }
  [data-help-surface] .button { width: 100%; }
}
