/* Help page (/help): search bar, section navigation, accessible FAQ accordions, and support routes. */
.help-page{
 background:var(--paper);
 color:var(--ink);
 padding:clamp(28px,4.5vh,64px) clamp(20px,5vw,96px) clamp(56px,7vh,88px);
}
.help-shell{
 max-width:1160px;
 margin:0 auto;
}
.help-head{
 margin:0 0 clamp(22px,3.2vh,36px);
 padding-bottom:clamp(20px,2.8vh,28px);
 border-bottom:1px solid var(--line);
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(260px,440px);
 gap:18px 40px;
 align-items:end;
}
.help-head .eyebrow{
 margin:0 0 12px;
 color:var(--muted,#686c69);
}
.help-head h1{
 margin:0;
 font-size:clamp(32px,4vw,50px);
 font-weight:600;
 line-height:1.08;
 letter-spacing:-.04em;
}
.help-intro{
 margin:0 0 12px;
 font-size:15px;
 line-height:1.65;
 color:var(--muted,#686c69);
}
.help-search-col{
 display:flex;
 flex-direction:column;
 gap:8px;
 min-width:0;
}
.help-search-wrap{
 position:relative;
 display:flex;
 align-items:center;
}
.help-search-icon{
 position:absolute;
 left:14px;
 width:16px;
 height:16px;
 stroke:var(--muted,#686c69);
 stroke-width:1.6;
 fill:none;
 pointer-events:none;
}
.help-search-input{
 width:100%;
 min-height:46px;
 padding:10px 40px 10px 40px;
 border:1px solid var(--line);
 border-radius:0;
 background:var(--paper);
 color:var(--ink);
 font:inherit;
 font-size:14px;
 line-height:1.4;
 transition:border-color .15s;
}
.help-search-input::-webkit-search-cancel-button{
 -webkit-appearance:none;
 appearance:none;
}
.help-search-input:focus{
 outline:none;
 border-color:var(--ink);
}
.help-search-clear{
 position:absolute;
 right:8px;
 width:28px;
 height:28px;
 border:1px solid transparent;
 border-radius:50%;
 background:transparent;
 color:var(--muted,#686c69);
 display:grid;
 place-items:center;
 padding:0;
 cursor:pointer;
}
.help-search-clear[hidden]{
 display:none!important;
}
.help-search-clear:hover{
 color:var(--ink);
 border-color:var(--line);
}
.help-search-clear svg{
 width:13px;
 height:13px;
 stroke:currentColor;
 stroke-width:1.7;
 fill:none;
}
.help-search-count{
 margin:0;
 min-height:18px;
 font-size:12px;
 font-weight:500;
 color:var(--muted,#686c69);
 font-variant-numeric:tabular-nums;
}
.help-search-count:empty{
 display:none;
}

.help-layout{
 display:grid;
 grid-template-columns:230px minmax(0,1fr);
 gap:clamp(24px,4vw,56px);
 align-items:start;
}
.help-sidebar{
 position:sticky;
 top:20px;
 display:flex;
 flex-direction:column;
 gap:10px;
 min-width:0;
}
.help-sidebar-label{
 margin:0;
 font-size:10px;
 font-weight:600;
 letter-spacing:.12em;
 text-transform:uppercase;
 color:var(--muted,#686c69);
}
.help-sections-nav{
 display:flex;
 flex-direction:column;
 border-top:1px solid var(--line);
}
.help-nav-btn{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 width:100%;
 padding:11px 6px;
 border:0;
 border-bottom:1px solid var(--line);
 background:transparent;
 color:var(--muted,#686c69);
 font:inherit;
 font-size:13px;
 font-weight:500;
 text-align:left;
 cursor:pointer;
 transition:color .15s,padding-left .15s;
}
.help-nav-btn:hover{
 color:var(--ink);
}
.help-nav-btn.is-active{
 color:var(--ink);
 font-weight:600;
}
.help-nav-btn.is-active span:first-child::before{
 content:"";
 display:inline-block;
 width:6px;
 height:6px;
 border-radius:50%;
 background:var(--red);
 margin-right:8px;
 vertical-align:middle;
}
.help-nav-btn.is-dimmed{
 opacity:.4;
}
.help-nav-count{
 font-size:11px;
 font-weight:400;
 color:var(--muted,#686c69);
 font-variant-numeric:tabular-nums;
}

.help-main{
 min-width:0;
 display:flex;
 flex-direction:column;
 gap:36px;
}
.help-sections-list{
 display:flex;
 flex-direction:column;
 gap:36px;
}
.help-section{
 scroll-margin-top:24px;
}
.help-section[hidden]{
 display:none!important;
}
.help-section-head{
 display:flex;
 align-items:baseline;
 justify-content:space-between;
 gap:12px;
 margin:0 0 12px;
 padding-bottom:10px;
 border-bottom:1px solid var(--line);
}
.help-section-head h2{
 margin:0;
 font-size:clamp(19px,2vw,23px);
 font-weight:600;
 letter-spacing:-.025em;
 line-height:1.25;
}
.help-section-meta{
 font-size:11px;
 font-weight:500;
 color:var(--muted,#686c69);
 font-variant-numeric:tabular-nums;
 flex-shrink:0;
}
.help-items{
 display:flex;
 flex-direction:column;
}
.help-item{
 border-top:0;
 border-bottom:1px solid var(--line);
 background:var(--paper);
 scroll-margin-top:24px;
}
.help-item[hidden]{
 display:none!important;
}
.help-question{
 list-style:none;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
 padding:16px 4px;
 cursor:pointer;
 font-size:15px;
 font-weight:500;
 letter-spacing:-.015em;
 line-height:1.4;
 color:var(--ink);
 user-select:none;
 transition:color .15s;
}
.help-question>span.help-q-text{
 font-size:15px;
 font-weight:500;
 letter-spacing:-.015em;
 color:var(--ink);
 min-width:0;
 overflow-wrap:anywhere;
}
.help-item[open] .help-question>span.help-q-text{
 font-weight:600;
}
.help-question:hover>span.help-q-text{
 color:var(--red);
}
.help-question::-webkit-details-marker{
 display:none;
}
.help-question:hover{
 color:var(--red);
}
.help-item[open] .help-question{
 font-weight:600;
}
.help-question>span.help-q-icon{
 position:relative;
 width:14px;
 height:14px;
 flex-shrink:0;
 color:var(--muted,#686c69);
}
.help-q-icon::before,
.help-q-icon::after{
 content:"";
 position:absolute;
 background:currentColor;
 transition:transform .18s cubic-bezier(.22,1,.36,1),opacity .18s;
}
.help-q-icon::before{
 top:6px;
 left:1px;
 width:12px;
 height:1.5px;
}
.help-q-icon::after{
 top:1px;
 left:6px;
 width:1.5px;
 height:12px;
}
.help-item[open] .help-q-icon::after{
 transform:rotate(90deg);
 opacity:0;
}
.help-answer{
 padding:0 28px 18px 4px;
}
.help-answer p{
 margin:0;
 font-size:14px;
 line-height:1.7;
 color:var(--muted,#686c69);
 max-width:66ch;
 overflow-wrap:anywhere;
}
.help-answer a{
 color:var(--ink);
 font-weight:500;
 text-decoration:underline;
 text-decoration-thickness:1px;
 text-underline-offset:3px;
}
.help-answer a:hover{
 color:var(--red);
}

/* Empty search state */
.help-empty{
 border:1px solid var(--line);
 background:var(--surface,#eae8e1);
 padding:clamp(22px,3vw,32px);
 display:flex;
 flex-direction:column;
 align-items:flex-start;
 gap:10px;
}
:root[data-theme=dark] .help-empty{
 background:var(--surface,#202428);
}
.help-empty[hidden]{
 display:none!important;
}
.help-empty h3{
 margin:0;
 font-size:19px;
 font-weight:600;
 letter-spacing:-.02em;
}
.help-empty p{
 margin:0;
 font-size:14px;
 line-height:1.6;
 color:var(--muted,#686c69);
 max-width:52ch;
}
.help-empty-actions{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px;
 margin-top:6px;
}
.help-empty-actions .button{
 min-height:42px;
 padding:10px 18px;
 font-size:12px;
}
.help-empty-reset{
 min-height:42px;
 padding:10px 16px;
 border:1px solid var(--line);
 background:var(--paper);
 color:var(--ink);
 font:inherit;
 font-size:12px;
 font-weight:500;
 cursor:pointer;
}
.help-empty-reset:hover{
 border-color:var(--ink);
}

/* "Still need help?" footer block */
.help-more{
 margin-top:clamp(36px,5vh,56px);
 padding-top:clamp(28px,4vh,44px);
 border-top:1px solid var(--line);
}
.help-more-head{
 margin:0 0 20px;
 display:flex;
 flex-direction:column;
 gap:6px;
}
.help-more-head h2{
 margin:0;
 font-size:clamp(22px,2.4vw,28px);
 font-weight:600;
 letter-spacing:-.03em;
}
.help-more-head p{
 margin:0;
 font-size:14px;
 line-height:1.6;
 color:var(--muted,#686c69);
}
.help-more-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px;
 align-items:stretch;
}
.help-route-card{
 border:1px solid var(--line);
 background:var(--paper);
 padding:20px 22px;
 display:flex;
 flex-direction:column;
 justify-content:space-between;
 gap:14px;
 min-width:0;
}
.help-route-copy{
 display:flex;
 flex-direction:column;
 gap:8px;
 min-width:0;
}
.help-route-title{
 margin:0;
 font-size:16px;
 font-weight:600;
 letter-spacing:-.015em;
 color:var(--ink);
}
.help-route-link{
 display:inline-flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 min-height:42px;
 padding:10px 14px;
 border:1px solid var(--ink);
 background:var(--ink);
 color:var(--paper);
 font-size:12px;
 font-weight:500;
 text-decoration:none;
 transition:background-color .15s,border-color .15s,color .15s;
}
:root[data-theme=dark] .help-route-link{
 background:#eeeee9;
 border-color:#eeeee9;
 color:#17191b;
}
.help-route-link:hover{
 background:var(--red);
 border-color:var(--red);
 color:#fff;
}
:root[data-theme=dark] .help-route-link:hover{
 background:#d6d9d6;
 border-color:#d6d9d6;
 color:#17191b;
}
.help-route-link.is-secondary{
 background:transparent;
 border-color:var(--line);
 color:var(--ink);
}
:root[data-theme=dark] .help-route-link.is-secondary{
 background:transparent;
 border-color:var(--line);
 color:var(--ink);
}
.help-route-link.is-secondary:hover{
 border-color:var(--ink);
 color:var(--ink);
 background:transparent;
}
.help-route-link svg{
 width:15px;
 height:15px;
 stroke:currentColor;
 stroke-width:1.5;
 fill:none;
 flex-shrink:0;
}
.help-load-error{
 margin:0;
 font-size:14px;
 line-height:1.6;
 color:var(--muted,#686c69);
}
.help-load-error a{
 color:var(--ink);
 text-decoration:underline;
}

@media(min-width:761px){
 .help-page{
  padding-bottom:88px;
 }
}
@media(max-width:920px){
 .help-head{
  grid-template-columns:1fr;
  gap:16px;
 }
 .help-layout{
  grid-template-columns:1fr;
  gap:24px;
 }
 .help-sidebar{
  position:static;
 }
 .help-sections-nav{
  flex-direction:row;
  flex-wrap:wrap;
  gap:8px;
  border-top:0;
 }
 .help-nav-btn{
  width:auto;
  min-height:36px;
  padding:7px 12px;
  border:1px solid var(--line);
  font-size:12px;
 }
 .help-nav-btn.is-active{
  border-color:var(--ink);
  background:var(--surface,#eae8e1);
 }
 :root[data-theme=dark] .help-nav-btn.is-active{
  background:var(--surface,#202428);
 }
 .help-more-grid{
  grid-template-columns:1fr;
 }
}
@media(max-width:760px){
 .help-page{
  padding:24px 20px 92px;
 }
 .help-search-input{
  font-size:16px;
 }
 .help-answer{
  padding-right:8px;
 }
}
