/* Help Center and /search. Same system as news.css / features.css: Inter, white, 500 headings. */
.wh{
  --wh-fg:#09090b;--wh-fg-2:#3f3f46;--wh-muted:#71717a;--wh-border:#e4e4e7;--wh-border-soft:#f0f0f2;--wh-surface:#fafafa;--wh-subtle:#f4f4f5;
  --wh-accent:#4069ef;--wh-accent-soft:#eef2ff;--wh-nav:64px;
  padding-top:var(--wh-nav);background:#fff;color:var(--wh-fg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;letter-spacing:-.006em;
}
.wh *,.wh *::before,.wh *::after{box-sizing:border-box}
.wh :where(h1,h2,h3,p,ol,ul){margin:0;padding:0}
.wh h1,.wh h2,.wh h3{padding-top:0}
.wh a{color:inherit;text-decoration:none}
.wh svg{flex:none}
.wh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wh-container{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}
.wh-narrow{max-width:800px}
.wh mark{padding:0 1px;border-radius:3px;background:var(--wh-accent-soft);color:#3b5bdb;font-weight:inherit}
.wh :focus-visible{outline:2px solid var(--wh-accent);outline-offset:2px;border-radius:8px}

/* Hero */
.wh-hero{padding:96px 0 72px;text-align:center}
.wh-hero h1{font-size:clamp(36px,5.2vw,56px);line-height:1.06;font-weight:500;letter-spacing:-.035em}
.wh-lead{max-width:560px;margin:16px auto 0!important;font-size:18px;line-height:1.6;color:var(--wh-muted)}
.wh-hero .wh-search{max-width:660px;margin:36px auto 0}

/* Search bar + live suggestions */
.wh-search{position:relative;margin:0;text-align:left}
.wh-search-field{position:relative;display:flex;align-items:center;margin:0;color:var(--wh-muted);font-weight:400}
.wh-search-field>svg{position:absolute;left:18px;pointer-events:none}
.wh-search input[type="search"]{width:100%;height:56px;margin:0;padding:0 56px 0 52px;border:1px solid var(--wh-border);border-radius:14px;background:#fff;color:var(--wh-fg);font-family:inherit;font-size:16px;letter-spacing:-.01em;box-shadow:0 1px 2px rgba(9,9,11,.04),0 10px 30px -18px rgba(9,9,11,.22);transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.wh-search input::placeholder{color:#a1a1aa}
.wh-search input:hover{border-color:#d4d4d8}
.wh-search input:focus{outline:none;border-color:#a1a1aa;box-shadow:0 0 0 4px rgba(161,161,170,.22),0 10px 30px -18px rgba(9,9,11,.22)}
.wh-search input::-webkit-search-cancel-button{display:none}
.wh-search-field kbd{position:absolute;right:16px;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border:1px solid var(--wh-border);border-radius:6px;background:var(--wh-surface);font:500 12px/1 inherit;font-family:inherit;color:var(--wh-muted)}
.wh-search input:focus+kbd,.wh-search input:not(:placeholder-shown)+kbd{opacity:0}
.wh-search.is-open input{border-bottom-left-radius:14px;border-bottom-right-radius:14px}

.wh-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:60;max-height:min(460px,60vh);overflow:auto;padding:6px;border:1px solid var(--wh-border);border-radius:14px;background:#fff;box-shadow:0 24px 60px -20px rgba(9,9,11,.28),0 2px 6px rgba(9,9,11,.04)}
.wh-suggestions[hidden]{display:none}
.wh-suggest-item{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer;scroll-margin:6px}
.wh-suggest-item.is-active,.wh-suggest-item:hover{background:var(--wh-subtle)}
.wh-suggest-item .wh-row-icon{margin-top:1px}
.wh-suggest-text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.wh-suggest-title{font-size:14.5px;line-height:1.4;font-weight:500;color:var(--wh-fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wh-suggest-snippet{font-size:13px;line-height:1.5;color:var(--wh-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wh-suggest-type{flex:none;margin-top:2px;font-size:12px;color:#a1a1aa}
.wh-suggest-all{display:flex;align-items:center;gap:10px;margin-top:4px;padding:11px 12px;border-top:1px solid var(--wh-border-soft);border-radius:0 0 10px 10px;font-size:14px;font-weight:500;color:var(--wh-fg-2);cursor:pointer}
.wh-suggest-all.is-active,.wh-suggest-all:hover{background:var(--wh-subtle);border-radius:10px}
.wh-suggest-status{padding:16px 12px;font-size:14px;color:var(--wh-muted)}
.wh-suggest-foot{display:flex;gap:16px;padding:10px 12px 6px;margin-top:4px;border-top:1px solid var(--wh-border-soft);font-size:12px;color:#a1a1aa}
.wh-suggest-foot[hidden]{display:none}
.wh-suggest-foot kbd{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-right:3px;padding:0 5px;border:1px solid var(--wh-border);border-radius:5px;background:var(--wh-surface);font:500 11px/1 inherit;font-family:inherit;color:var(--wh-muted)}

/* Sections */
.wh-body{padding-bottom:96px}
.wh-section{padding-top:64px}
.wh-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px}
.wh-section-head h2{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.022em}
.wh-more{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--wh-fg-2)}
.wh-more:hover{color:var(--wh-fg)}
.wh-more svg,.wh-card-link svg{transition:transform .2s}
.wh-more:hover svg{transform:translateX(2px)}

.wh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid var(--wh-border);border-radius:16px;overflow:hidden;background:var(--wh-border)}
.wh-card{display:flex;flex-direction:column;gap:10px;padding:26px;background:#fff;transition:background .2s}
.wh-card:hover{background:var(--wh-surface)}
.wh-icon,.wh-row-icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--wh-border);background:#fff;color:var(--wh-fg);box-shadow:0 1px 2px rgba(9,9,11,.05)}
.wh-icon{width:38px;height:38px;margin-bottom:6px;border-radius:10px}
.wh-row-icon{width:32px;height:32px;border-radius:8px}
.wh-card h3{font-size:16px;line-height:1.35;font-weight:500;letter-spacing:-.015em}
.wh-card p{flex:1;font-size:14.5px;line-height:1.6;color:var(--wh-muted)}
.wh-card-link{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:14px;font-weight:500;color:var(--wh-fg)}
.wh-card:hover .wh-card-link svg{transform:translateX(3px)}

.wh-list{border:1px solid var(--wh-border);border-radius:16px;overflow:hidden}
.wh-row{display:flex;align-items:center;gap:14px;padding:16px 20px;background:#fff;transition:background .2s}
.wh-row+.wh-row{border-top:1px solid var(--wh-border-soft)}
.wh-row:hover{background:var(--wh-surface)}
.wh-row>svg:last-child{color:#a1a1aa;transition:transform .2s,color .2s}
.wh-row:hover>svg:last-child{color:var(--wh-fg);transform:translateX(2px)}
.wh-row-text{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.wh-row-text b{font-size:15px;line-height:1.4;font-weight:500;color:var(--wh-fg)}
.wh-row-text small{font-size:13.5px;line-height:1.5;color:var(--wh-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Large rows (legal index) */
.wh-row-lg{gap:18px;padding:22px 24px}
.wh-row-lg .wh-icon{margin:0}
.wh-row-lg .wh-row-text{gap:4px}
.wh-row-lg .wh-row-text b{font-size:16px}
.wh-row-lg .wh-row-text small{font-size:14px;line-height:1.6;white-space:normal}
.wh-row-cta{display:inline-flex;flex:none;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--wh-muted);transition:color .2s}
.wh-row-cta svg{transition:transform .2s}
.wh-row:hover .wh-row-cta{color:var(--wh-fg)}
.wh-row:hover .wh-row-cta svg{transform:translateX(2px)}
.wh-legal .wh-hero{padding-bottom:0;border-bottom:0}
.wh-legal .wh-section{padding-top:48px}

/* Search results page */
.wh-search-page{padding-bottom:96px}
.wh-search-page .wh-container{padding-top:56px}
.wh-back{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--wh-muted)}
.wh-back::before{content:"";width:7px;height:7px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg);margin-right:2px}
.wh-back:hover{color:var(--wh-fg)}
.wh-search-page h1{margin-top:14px!important;font-size:clamp(28px,3.6vw,40px);line-height:1.15;font-weight:500;letter-spacing:-.03em;overflow-wrap:anywhere}
.wh-search-page .wh-search{margin-top:24px}
.wh-count{margin-top:28px!important;font-size:14px;color:var(--wh-muted)}
.wh-tabs{display:flex;gap:2px;width:max-content;max-width:100%;margin-top:12px;padding:4px;border-radius:10px;background:var(--wh-subtle);overflow-x:auto;scrollbar-width:none}
.wh-tabs::-webkit-scrollbar{display:none}
.wh-tab{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:7px;font-size:14px;font-weight:500;color:var(--wh-muted);white-space:nowrap;transition:color .15s,background .15s}
.wh-tab:hover{color:var(--wh-fg)}
.wh-tab.is-active{background:#fff;color:var(--wh-fg);box-shadow:0 1px 2px rgba(9,9,11,.08),0 0 0 1px rgba(9,9,11,.03)}
.wh-tab-count{min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:rgba(9,9,11,.06);font-size:11px;font-weight:600;line-height:18px;text-align:center;color:var(--wh-muted)}
.wh-tab.is-active .wh-tab-count{background:#1b1b1b;color:#fff}
.wh-results{margin-top:20px!important;list-style:none;border-top:1px solid var(--wh-border-soft)}
.wh-results li{border-bottom:1px solid var(--wh-border-soft)}
.wh-result{display:flex;align-items:flex-start;gap:14px;margin:0 -12px;padding:18px 12px;border-radius:12px;transition:background .2s}
.wh-result:hover{background:var(--wh-surface)}
.wh-result>svg:last-child{align-self:center;color:#d4d4d8;transition:transform .2s,color .2s}
.wh-result:hover>svg:last-child{color:var(--wh-fg);transform:translateX(2px)}
.wh-result-body{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.wh-result-meta{display:flex;align-items:center;gap:8px;min-width:0;font-size:12.5px;color:#a1a1aa}
.wh-type{flex:none;display:inline-flex;align-items:center;height:20px;padding:0 7px;border:1px solid var(--wh-border);border-radius:6px;background:#fff;font-size:11.5px;font-weight:500;color:var(--wh-fg-2)}
.wh-crumbs{display:flex;gap:6px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.wh-result-title{font-size:17px;line-height:1.4;font-weight:500;letter-spacing:-.015em;color:var(--wh-fg)}
.wh-result-snippet{font-size:14.5px;line-height:1.6;color:var(--wh-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

.wh-empty{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:32px;padding:64px 24px;border:1px dashed var(--wh-border);border-radius:16px;text-align:center;color:var(--wh-muted)}
.wh-empty>svg{width:44px;height:44px;padding:11px;border-radius:12px;background:var(--wh-subtle);color:var(--wh-fg-2)}
.wh-empty h2{margin-top:8px!important;font-size:18px;font-weight:500;color:var(--wh-fg)}
.wh-empty p{max-width:420px;font-size:14.5px;line-height:1.6;color:var(--wh-muted)}
.wh-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}

@media (max-width:1023px){.wh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
  .wh{--wh-nav:58px}
  .wh-container{padding:0 16px}
  .wh-hero{padding:56px 0 48px}
  .wh-lead{font-size:16px}
  .wh-search input[type="search"]{height:52px;font-size:16px;padding-right:16px}
  .wh-search-field kbd,.wh-suggest-foot{display:none!important}
  .wh-suggest-type{display:none}
  .wh-grid{grid-template-columns:1fr}
  .wh-card{padding:22px}
  .wh-section{padding-top:48px}
  .wh-body,.wh-search-page{padding-bottom:64px}
  .wh-search-page .wh-container{padding-top:32px}
  .wh-row{padding:14px 16px}
  .wh-row-lg{align-items:flex-start;gap:14px;padding:18px 16px}
  .wh-row-cta{display:none}
  .wh-result{gap:12px}
  .wh-result .wh-row-icon,.wh-result>svg:last-child{display:none}
}
@media (prefers-reduced-motion:reduce){.wh *{transition:none!important}}
