/* The public form keeps the original friendly layout at desktop and phone widths. */
.feedback-page { --page: #eff2f7; --navy: #21324f; --orange: #df652d; --line: #d9dfe8; }
.feedback-page .site-header { margin-top: 4px; position: relative; }
.feedback-page .header-inner { width: min(1120px, calc(100% - 56px)); min-height: 76px; }
.feedback-page .brand-logo { border-radius: 15px; }
.feedback-page .site-shell { width: min(1120px, calc(100% - 56px)); padding-top: 38px; }
.live-indicator { display: inline-flex; align-items: center; gap: 9px; color: #526078; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.live-indicator::before { content: ""; width: 8px; height: 8px; flex: none; background: #a5aebd; border-radius: 50%; }
.live-indicator.is-open::before { background: var(--orange); }
.feedback-page .feedback-hero { display: block; margin: 0 0 24px; padding: 34px 36px 29px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(33,50,79,.06); }
.feedback-hero h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.3; letter-spacing: -.045em; }
.feedback-hero h1 span { color: var(--orange); }
.feedback-hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-top: 15px; }
.feedback-page .feedback-hero .hero-description { margin: 0; max-width: 710px; font-size: .94rem; line-height: 1.8; }
.hero-assurance { flex: none; margin: 0; padding: 8px 12px; background: #f7f8fb; border-radius: 999px; color: #3a4961; font-size: .76rem; font-weight: 700; }
.hero-assurance::before { content: "🔒"; margin-right: 7px; }
.feedback-page .feedback-availability { margin: 0 0 22px; padding: 11px 16px; font-size: .85rem; }
.feedback-page .feedback-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
.feedback-page .feedback-form-card { padding: 0 0 24px; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 32px rgba(33,50,79,.04); }
.feedback-form-heading { padding: 26px 31px 22px; border-bottom: 1px solid var(--line); }
.feedback-form-heading .eyebrow { margin-bottom: 6px; }
.feedback-form-heading h2 { margin: 0 0 3px; }
.feedback-form-heading .muted { margin: 0; }
.feedback-form-card form > .category-fieldset,
.feedback-form-card form > .field,
.feedback-form-card form > fieldset[data-category],
.feedback-form-card form > .consent,
.feedback-form-card form > .form-actions,
.feedback-form-card form > .small,
.feedback-form-card form > #form-error { margin-left: 31px; margin-right: 31px; }
.feedback-form-card form > .small { display: block; }
.feedback-form-card .category-fieldset { margin-top: 25px; margin-bottom: 0; }
.feedback-form-card .category-fieldset legend { margin-bottom: 12px; font-size: .96rem; }
.category-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.category-choice { display: block; min-width: 0; cursor: pointer; }
.category-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.category-choice span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 11px 14px; color: var(--ink); background: #f8f9fb; border: 1px solid var(--line); border-radius: 14px; line-height: 1.35; transition: background .15s ease,border-color .15s ease; }
.category-choice strong { font-size: .92rem; }
.category-choice small { margin-top: 4px; font-size: .74rem; color: #58667c; }
.category-choice:hover span { border-color: #a4b0c0; }
.category-choice input:checked + span { color: white; background: var(--navy); border-color: var(--navy); }
.category-choice input:checked + span small { color: #dce6f4; }
.category-choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.feedback-form-card input:not([type=radio]):not([type=checkbox]),
.feedback-form-card select,
.feedback-form-card textarea,
.admin-page input:not([type=radio]):not([type=checkbox]),
.admin-page select { font-size: 1rem; }
.feedback-form-card .field { margin-top: 23px; margin-bottom: 23px; }
.feedback-form-card .field small { line-height: 1.65; }
.attachment-picker { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.attachment-picker #attachments { position: absolute; width: 1px; height: 1px; min-height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.attachment-pick-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1px solid #a7b1bf; border-radius: 9px; background: #f8f9fb; color: var(--navy); cursor: pointer; font-weight: 750; }
.attachment-pick-button:hover { background: #eef1f5; }
#attachments:focus-visible + .attachment-pick-button { outline: 3px solid var(--orange); outline-offset: 3px; }
#attachments:disabled + .attachment-pick-button { opacity: .55; cursor: not-allowed; }
#attachment-status { font-size: .83rem; color: #536174; }
.attachment-list { display: grid; gap: 8px; padding: 0; margin: 3px 0 0; list-style: none; }
.attachment-list[hidden] { display: none; }
.attachment-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 9px; background: #f8f9fb; border: 1px solid var(--line); border-radius: 11px; }
.attachment-thumb { display: block; flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 7px; background: #e8ebf1; }
.attachment-placeholder { display: grid; place-items: center; color: #536174; font-size: .68rem; }
.attachment-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .83rem; }
.attachment-remove { flex: none; min-width: 56px; min-height: 44px; padding: 7px 9px; color: #7b3318; border: 1px solid #dfc0b2; border-radius: 8px; background: #fff; font-size: .8rem; font-weight: 750; }
.attachment-remove:hover:not(:disabled) { background: #fff3ec; }
.feedback-form-card .choice { padding: 10px 0; }
.feedback-form-card .consent { padding-top: 17px; }
.feedback-form-card .primary { min-height: 49px; padding-inline: 23px; background: var(--orange); border-color: var(--orange); font-weight: 800; }
.feedback-form-card .primary:hover:not(:disabled) { background: #b84918; }
.feedback-form-card #receipt { padding: 30px 31px 10px; }
.feedback-page .form-aside section { margin: 0 0 15px; padding: 19px 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.feedback-page .form-aside .aside-highlight { color: #fff; background: var(--navy); border-color: var(--navy); }
.feedback-page .form-aside h2 { margin: 0 0 10px; font-size: .95rem; }
.feedback-page .form-aside p, .feedback-page .form-aside li { margin: 0 0 8px; color: #526078; font-size: .84rem; line-height: 1.8; }
.feedback-page .form-aside p:last-child { margin-bottom: 0; }
.feedback-page .form-aside .aside-highlight p { color: #e0e8f5; }
.feedback-page .form-aside ul { margin: 0; padding-left: 1.15rem; }
.feedback-page .safety-note { max-width: none; margin-top: 35px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(33,50,79,.04); }
.feedback-page .safety-note h2 { margin: 5px 0 16px; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.feedback-page .safety-note p { max-width: none; }
.feedback-page .safety-intro { margin: 0 0 24px; color: #58667c; }
.feedback-page .safety-prompt { margin: 0 0 16px; padding: 16px 20px; color: var(--navy); background: #f4f6f9; border-left: 4px solid var(--orange); border-radius: 12px; font-weight: 750; }
.feedback-page .safety-exclusions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.feedback-page .safety-exclusions li { min-width: 0; padding: 11px 15px; color: #58667c; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.feedback-page .safety-response { margin: 0; padding: 16px 20px; color: #645f5b; background: #fff8f4; border: 1px solid #edc8b6; border-radius: 12px; }
.feedback-page .site-footer { margin-top: 32px; }
.admin-page .admin-filters { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.admin-page .submission { min-width: 0; }
.admin-page .submission > * { min-width: 0; overflow-wrap: anywhere; }

/* Public destination for Cloudflare Access identity-based denials. */
.access-denied-page .access-denied-shell { padding-top: clamp(30px, 7vw, 76px); }
.access-denied-card { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); min-height: 390px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 45px rgba(33,50,79,.08); }
.access-denied-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 35px; color: #fff; background: #21324f; font-weight: 800; letter-spacing: .05em; }
.access-denied-lock { display: grid; place-items: center; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.25); border-radius: 34px; background: rgba(255,255,255,.1); font-size: 3.9rem; line-height: 1; transform: rotate(-7deg); }
.access-denied-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(28px, 5vw, 65px); }
.access-denied-copy h1 { margin: 0 0 15px; font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.4; letter-spacing: -.035em; }
.access-denied-copy h1 span { color: #b64b22; }
.access-denied-copy > p:not(.eyebrow) { max-width: 38ch; margin: 0 0 15px; color: #47566d; }
.access-denied-copy .access-denied-help { font-size: .88rem; }
.access-denied-back { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 20px; color: #fff; background: #21324f; border-radius: 10px; font-weight: 750; text-decoration: none; }
.access-denied-back:hover { color: #fff; background: #344a69; }
.access-denied-back:focus-visible { outline: 3px solid #df652d; outline-offset: 3px; }

@media (max-width: 900px) {
  .feedback-page .feedback-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; }
  .feedback-page .form-aside section { padding: 17px; }
  .feedback-hero-bottom { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 720px) {
  .access-denied-card { grid-template-columns: 1fr; }
  .access-denied-art { flex-direction: row; justify-content: flex-start; min-height: 112px; gap: 17px; padding: 20px 25px; }
  .access-denied-lock { width: 66px; height: 66px; border-radius: 18px; font-size: 2.2rem; }
  .access-denied-copy { padding: 30px 26px 37px; }
  .feedback-page .feedback-layout { grid-template-columns: 1fr; }
  .feedback-page .form-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .feedback-page .form-aside section { margin: 0; }
  .feedback-page .feedback-hero { padding: 27px 25px; }
  .admin-page .admin-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .access-denied-art { padding: 17px 20px; }
  .access-denied-copy { padding: 28px 20px 31px; }
  .feedback-page .header-inner, .feedback-page .site-shell { width: calc(100% - 28px); }
  .feedback-page .header-inner { min-height: 65px; }
  .feedback-page .brand-logo { width: 40px; height: 40px; }
  .feedback-page .brand-copy strong { font-size: .88rem; }
  .feedback-page .brand-copy small { font-size: .69rem; }
  .live-indicator { font-size: .72rem; gap: 6px; }
  .feedback-page .site-shell { padding-top: 18px; }
  .feedback-page .feedback-hero { padding: 24px 20px 23px; margin-bottom: 16px; }
  .feedback-hero h1 { font-size: clamp(1.74rem, 7vw, 2.4rem); letter-spacing: -.035em; }
  .feedback-hero h1 span { display: block; }
  .feedback-page .feedback-hero .hero-description { font-size: .89rem; line-height: 1.7; }
  .hero-assurance { white-space: normal; font-size: .72rem; }
  .feedback-page .feedback-availability { margin-bottom: 16px; }
  .feedback-form-heading { padding: 22px 19px 18px; }
  .feedback-form-card form > .category-fieldset,
  .feedback-form-card form > .field,
  .feedback-form-card form > fieldset[data-category],
  .feedback-form-card form > .consent,
  .feedback-form-card form > .form-actions,
  .feedback-form-card form > .small,
  .feedback-form-card form > #form-error { margin-left: 19px; margin-right: 19px; }
  .category-grid { grid-template-columns: 1fr; gap: 7px; }
  .category-choice span { min-height: 58px; }
  .feedback-form-card .form-actions button { width: 100%; }
  .feedback-page .form-aside { grid-template-columns: 1fr; }
  .feedback-page .safety-note { margin-top: 24px; padding: 22px 18px; }
  .feedback-page .safety-intro { margin-bottom: 18px; }
  .feedback-page .safety-prompt, .feedback-page .safety-response { padding: 14px 15px; }
  .feedback-page .safety-exclusions { grid-template-columns: 1fr; gap: 8px; }
  .admin-page .admin-filters { grid-template-columns: 1fr; }
  .admin-page .admin-toolbar button, .admin-page .pagination button { min-width: 42px; }
}
@media (prefers-reduced-motion: reduce) { .category-choice span { transition: none; } }
