[hidden] { display: none !important; }
.account-workspace-pending .workspace-body .app-shell { display: none !important; }
.backend-gate { min-height: 100svh; display: grid; place-items: center; padding: 28px 18px; background: #f5f7fb; color: #17233b; }
.backend-gate-card { width: min(100%, 560px); padding: clamp(28px,5vw,48px); border: 1px solid #e0e6ef; border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(27,45,75,.08); }
.backend-gate-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf0fa; color: #214b86; font-size: 20px; font-weight: 600; margin-bottom: 28px; }
.backend-gate-card h1 { margin: 10px 0 12px; font-size: clamp(28px,4.5vw,38px); line-height: 1.13; letter-spacing: -.04em; }
.backend-gate-card > p:not(.eyebrow) { color: #637089; line-height: 1.7; margin: 0; }
.backend-gate-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.backend-gate-help { color: #315786; font-size: 13px; font-weight: 600; text-decoration: none; }
.cloud-sync-status { display: flex; align-items: center; gap: 9px; margin: 10px 22px 0; padding: 10px 13px; border: 1px solid #dbe9e2; border-radius: 12px; background: #f3faf6; color: #265e43; font-size: 12px; line-height: 1.4; }
.cloud-sync-status[data-state="pending"] { color: #815b12; background: #fff9e9; border-color: #f1e2b9; }
.cloud-sync-status[data-state="error"], .cloud-sync-status[data-state="conflict"] { color: #943f3f; background: #fff4f2; border-color: #f1d6d1; }
.cloud-sync-indicator { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cloud-sync-status button { margin-left: auto; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.workspace-signout { width: 100%; margin: 8px 0 10px; padding: 9px 13px; border: 1px solid rgba(120,135,160,.25); border-radius: 8px; background: transparent; color: inherit; text-align: left; font: inherit; font-size: 12px; cursor: pointer; }
.workspace-signout:hover { background: rgba(120,135,160,.08); }
.help-hero { padding: clamp(64px,8vw,105px) 0 56px; background: linear-gradient(140deg,#f4f7fb 0%,#eef3fa 58%,#f8fafc 100%); }
.help-hero-inner { max-width: 860px; text-align: center; }
.help-hero h1 { margin: 16px auto 18px; max-width: 760px; color: #15223a; font-size: clamp(42px,7vw,66px); line-height: 1.04; letter-spacing: -.055em; }
.help-hero h1 em { color: #45668d; font-style: normal; }
.help-hero p { max-width: 700px; margin: 0 auto; color: #5d6c81; font-size: 16px; line-height: 1.75; }
.help-search { display: flex; align-items: center; gap: 12px; width: min(100%,650px); min-height: 60px; margin: 32px auto 0; padding: 0 17px; border: 1px solid #d7e0eb; border-radius: 16px; background: #fff; box-shadow: 0 14px 32px rgba(32,56,91,.08); text-align: left; }
.help-search .icon { width: 20px; height: 20px; color: #5b6678; flex: 0 0 auto; }
.help-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #1d2b43; font: inherit; font-size: 15px; }
.help-search input::placeholder { color: #5b6678; }
.help-search kbd { flex: 0 0 auto; padding: 4px 7px; border: 1px solid #e0e6ee; border-radius: 6px; color: #5b6678; font-size: 11px; }
.help-search-hint { display: block; margin-top: 10px; color: #5b6678; font-size: 11px; }
.help-main { padding: 48px 0 74px; }
.help-status-note { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid #dce6f1; border-radius: 16px; background: #f6f9fd; }
.help-status-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: #e3ebf6; color: #45678f; font-size: 13px; font-weight: 600; }
.help-status-note div { min-width: 0; flex: 1; }
.help-status-note strong { display: block; color: #24344f; font-size: 13px; }
.help-status-note p { margin: 4px 0 0; color: #65748a; font-size: 12px; line-height: 1.65; }
.help-status-note > a { align-self: center; color: #315987; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.help-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 54px 0 18px; }
.help-toolbar h2 { margin: 7px 0 0; color: #1b2940; font-size: clamp(24px,3vw,34px); letter-spacing: -.035em; }
.help-result-count { color: #5b6678; font-size: 12px; white-space: nowrap; }
.help-category-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 25px; border-bottom: 1px solid #e8edf3; }
.help-category-chips button { min-height: 36px; padding: 7px 12px; border: 1px solid #e0e6ee; border-radius: 999px; background: #fff; color: #58677d; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .18s ease,border-color .18s ease,color .18s ease; }
.help-category-chips button:hover { border-color: #9fb2ca; color: #253c5d; }
.help-category-chips button.is-active { border-color: #304f76; background: #304f76; color: #fff; }
.help-group { display: grid; grid-template-columns: minmax(200px,.7fr) minmax(0,1.8fr); gap: clamp(24px,5vw,70px); padding: 34px 0; border-bottom: 1px solid #e9edf3; }
.help-group-heading { display: flex; align-items: flex-start; gap: 13px; }
.help-group-number { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: #f0f3f8; color: #526985; font-size: 11px; font-weight: 600; }
.help-group-heading h2 { margin: 3px 0 7px; color: #1d2c45; font-size: 20px; letter-spacing: -.025em; }
.help-group-heading p { margin: 0; color: #5b6678; font-size: 12px; line-height: 1.6; }
.help-question-list { border-top: 1px solid #e8edf3; }
.help-question { border-bottom: 1px solid #e8edf3; }
.help-question summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 58px; padding: 13px 3px; color: #263750; font-size: 14px; font-weight: 600; line-height: 1.45; cursor: pointer; list-style: none; }
.help-question summary::-webkit-details-marker { display: none; }
.help-question summary span { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid #e0e6ee; border-radius: 6px; color: #66778e; font-size: 18px; font-weight: 400; transition: transform .18s ease; }
.help-question[open] summary span { transform: rotate(45deg); }
.help-question[open] summary { color: #1b4a77; }
.help-answer { padding: 0 34px 19px 3px; color: #627188; font-size: 13px; line-height: 1.75; }
.help-answer p { margin: 0 0 9px; }
.help-answer p:last-child { margin-bottom: 0; }
.help-answer a { color: #2d5f91; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.help-answer code { padding: 2px 5px; border-radius: 4px; background: #f0f3f7; color: #37506d; font-size: .92em; }
.help-empty-state { margin: 20px 0; padding: 24px; border: 1px dashed #cfd9e5; border-radius: 12px; color: #68788e; text-align: center; font-size: 13px; }
.help-bottom-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 54px; padding: clamp(24px,4vw,38px); border: 1px solid #e0e7ef; border-radius: 16px; background: #f7f9fc; }
.help-bottom-cta h2 { margin: 8px 0 8px; color: #1c2d46; font-size: clamp(22px,3vw,30px); letter-spacing: -.035em; }
.help-bottom-cta p { max-width: 630px; margin: 0; color: #566277; font-size: 13px; line-height: 1.65; }
.help-bottom-cta .btn { flex: 0 0 auto; }
.help-footer-note { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 22px; margin-top: 20px; color: #5b6678; font-size: 11px; }
.help-footer-note p { flex: 1 1 100%; margin: 0 0 4px; line-height: 1.6; }
.help-footer-note a { color: #526f91; font-weight: 600; text-decoration: none; }
@media (max-width:760px) {
  .backend-gate { min-height: 100dvh; align-items: start; padding-top: 12vh; }
  .cloud-sync-status { margin: 8px 12px 0; }
  .help-hero { padding: 60px 0 42px; }
  .help-hero h1 { font-size: clamp(38px,10vw,54px); }
  .help-hero p { font-size: 14px; }
  .help-search { min-height: 56px; margin-top: 25px; }
  .help-status-note { flex-wrap: wrap; padding: 15px; }
  .help-status-note > a { margin-left: 39px; }
  .help-toolbar { margin-top: 38px; }
  .help-category-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; }
  .help-category-chips button { flex: 0 0 auto; }
  .help-group { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 27px 0; }
  .help-group-heading { gap: 11px; }
  .help-question summary { min-height: 54px; font-size: 13px; }
  .help-answer { padding-right: 7px; font-size: 12px; }
  .help-bottom-cta { align-items: stretch; flex-direction: column; }
  .help-bottom-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .help-category-chips button,.help-question summary span { transition: none; }
}


/* Phase 45 — self-service support answers */
.support-faq-list { display: grid; gap: 10px; margin-top: 22px; }
.support-faq { border: 1px solid #dfe6ef; border-radius: 12px; background: #fff; overflow: clip; }
.support-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; padding: 16px 18px; color: #1d2b43; font-weight: 600; font-size: 14px; line-height: 1.45; cursor: pointer; list-style: none; }
.support-faq summary::-webkit-details-marker { display: none; }
.support-faq summary::after { content: '+'; flex: 0 0 auto; color: #56739a; font-size: 22px; font-weight: 400; }
.support-faq[open] summary::after { content: '−'; }
.support-faq summary:focus-visible { outline: 3px solid #7ea8d8; outline-offset: -3px; border-radius: 12px; }
.support-faq p { margin: 0; padding: 0 18px 18px; color: #5d6c81; font-size: 13px; line-height: 1.7; }
@media (max-width: 640px) { .support-faq summary { padding: 15px; min-height: 56px; } .support-faq p { padding: 0 15px 16px; } }
