:root{
  --ink:#0F172A;
  --muted:#64748B;
  --line:#E6EBF2;
  --paper:#fbfbfd;
  --soft:#FFF7ED;
  --orange:#f97316;
  --orange-dark:#ea580c;
  --navy:#131318;
  --green:#16845b;
  --shadow:0 24px 70px rgba(53,38,23,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Geist",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a{webkit-tap-highlight-color:transparent}
a{color:inherit}
.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,64px);border-bottom:1px solid var(--line);background:rgba(255,253,249,.94);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}
.embedded .topbar{display:none}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:700;font-size:20px;letter-spacing:-.03em}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--orange);color:#fff;font-weight:800}
.accent{color:var(--orange)}
.top-actions{display:flex;gap:10px;align-items:center}
.ghost-button,.primary-button,.text-button,.load-more,.icon-button{border:0;cursor:pointer}
.ghost-button{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 14px;color:var(--ink);font-weight:600}
.primary-button{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;border-radius:10px;padding:10px 16px;text-decoration:none;font-weight:700;box-shadow:0 8px 20px rgba(241,105,35,.2)}
.primary-button:hover{background:var(--orange-dark)}
main{min-height:100vh}
.hero{padding:clamp(54px,8vw,96px) 20px 56px;text-align:center;background:radial-gradient(circle at 50% 0,#fff 0,#fff9f1 42%,var(--paper) 78%)}
.eyebrow{font-family:"Geist Mono",monospace;color:var(--orange);font-size:10.5px;letter-spacing:.13em;font-weight:700}
.hero h1{font-size:clamp(38px,6vw,70px);line-height:1.02;letter-spacing:-.055em;margin:16px auto 18px;max-width:920px}
.hero h1 span{color:var(--orange)}
.hero>p{font-size:clamp(16px,2vw,19px);color:var(--muted);max-width:690px;margin:0 auto;line-height:1.65}
.search-shell{max-width:760px;margin:34px auto 0;display:flex;align-items:center;gap:13px;padding:10px 12px 10px 18px;background:#fff;border:1px solid #dfd9d1;border-radius:15px;box-shadow:0 15px 35px rgba(87,59,26,.1)}
.search-shell:focus-within{border-color:#f6a36d;box-shadow:0 0 0 4px rgba(241,105,35,.1),0 15px 35px rgba(87,59,26,.1)}
.search-shell svg{width:22px;fill:none;stroke:#8b91a0;stroke-width:1.8}
.search-shell input{flex:1;border:0;outline:0;background:transparent;font-size:16px;min-width:0;color:var(--ink)}
kbd{font-family:"Geist Mono",monospace;background:#F8FAFC;border:1px solid #E2E8F0;border-bottom-width:2px;border-radius:6px;padding:3px 7px;color:#94A3B8;font-size:10px}
.hero-stats{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 26px;margin-top:21px;color:#8b8f98;font-size:13px}
.hero-stats strong{color:var(--ink)}
.quick-start,.knowledge-layout,.support{width:min(1180px,calc(100% - 36px));margin:0 auto}
.quick-start{padding:42px 0 54px}
.section-heading,.results-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px}
.section-heading h2,.results-heading h2,.support h2{margin:8px 0 0;font-size:28px;letter-spacing:-.035em}
.text-button{background:transparent;color:var(--orange-dark);font-weight:700}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.quick-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;text-align:left;cursor:pointer;min-height:162px;transition:.18s ease;box-shadow:0 3px 10px rgba(30,26,20,.03)}
.quick-card:hover{transform:translateY(-3px);border-color:#f0b894;box-shadow:0 14px 30px rgba(63,42,20,.09)}
.quick-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--soft);font-size:19px}
.quick-card h3{font-size:15px;line-height:1.35;margin:15px 0 7px}
.quick-card p{color:var(--muted);font-size:12.5px;line-height:1.5;margin:0}
.knowledge-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:38px;padding:46px 0 76px;border-top:1px solid var(--line)}
.module-sidebar{align-self:start;position:sticky;top:92px;max-height:calc(100vh - 116px);overflow:auto;padding-right:5px}
.sidebar-heading{font-family:"Geist Mono",monospace;font-size:9.5px;letter-spacing:.13em;color:#94A3B8;margin-bottom:10px}
#categoryNav{display:flex;flex-direction:column;gap:3px}
.category-button{width:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:9px 10px;border-radius:9px;text-align:left;color:#646b79;cursor:pointer;font-size:13px}
.category-button:hover{background:#f8f4ee;color:var(--ink)}
.category-button.active{background:#fff0e4;color:#be4912;font-weight:700}
.category-button .count{margin-left:auto;font-family:"Geist Mono",monospace;font-size:10px;color:#94A3B8}
.results-heading{align-items:start}
.results-heading p{color:var(--muted);font-size:13px;margin:7px 0 0}
.sort-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}
.sort-label select{border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:8px;color:var(--ink)}
.result-summary{margin:18px 0 8px;color:#8b8f98;font-size:12px}
.article-list{display:flex;flex-direction:column}
.article-row{display:grid;grid-template-columns:44px minmax(0,1fr) 28px;gap:14px;align-items:start;padding:18px 4px;border-bottom:1px solid var(--line);cursor:pointer}
.article-row:hover .article-title{color:var(--orange-dark)}
.article-number{width:35px;height:35px;border-radius:10px;background:#F8FAFC;display:grid;place-items:center;color:#94A3B8;font-family:"Geist Mono",monospace;font-size:10px}
.article-title{font-size:15px;font-weight:700;line-height:1.4;transition:.15s}
.article-answer{color:var(--muted);font-size:12.5px;line-height:1.55;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.tag{font-size:10px;color:#8a6a55;background:#fff6ed;border:1px solid #f8ddc8;border-radius:999px;padding:3px 7px}
.article-arrow{color:#b0b2b7;font-size:18px}
.load-more{width:100%;margin-top:18px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink);font-weight:700}
.load-more[hidden]{display:none}
.empty-state{padding:50px 20px;text-align:center;border:1px dashed #d9d3cc;border-radius:14px;margin-top:18px}
.empty-state h3{margin:0 0 8px}.empty-state p{color:var(--muted);margin:0}
.support{margin-bottom:80px;border-radius:22px;background:var(--navy);color:#fff;padding:clamp(26px,4vw,46px);display:grid;grid-template-columns:.8fr 1.2fr;gap:48px}
.support p{color:#aeb8ca;line-height:1.65;font-size:14px}
.support form{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.support label{font-size:11px;color:#bac4d4;display:flex;flex-direction:column;gap:6px}
.support input,.support select,.support textarea{width:100%;border:1px solid #354156;background:#182337;color:#fff;border-radius:9px;padding:10px 11px;outline:0}
.support input:focus,.support select:focus,.support textarea:focus{border-color:#fa8b4e}
.full{grid-column:1/-1}
.form-message{font-size:12px;min-height:16px;color:#ffccad}
.drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(3px);z-index:39}
.article-drawer{position:fixed;z-index:40;top:0;right:0;width:min(760px,100%);height:100vh;background:#fffdfa;box-shadow:var(--shadow);transform:translateX(105%);transition:transform .26s ease;overflow:auto;padding:0 clamp(22px,4vw,54px) 70px}
.article-drawer.open{transform:translateX(0)}
.drawer-top{height:70px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:rgba(255,253,250,.95);backdrop-filter:blur(12px);z-index:2}
.icon-button{width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:20px;color:var(--ink)}
.detail-category{display:inline-flex;align-items:center;gap:7px;color:var(--orange-dark);font-size:12px;font-weight:700}
#articleDetail h1{font-size:clamp(29px,4vw,43px);line-height:1.1;letter-spacing:-.045em;margin:15px 0 14px}
.detail-lead{font-size:16px;color:var(--muted);line-height:1.7;margin-bottom:28px}
.detail-note{border-left:3px solid var(--orange);background:var(--soft);padding:13px 15px;border-radius:0 10px 10px 0;color:#5f4a3d;font-size:13px;line-height:1.55;margin:18px 0}
.detail-section{margin-top:30px}
.detail-section h2{font-size:20px;letter-spacing:-.025em;margin:0 0 14px}
.steps{counter-reset:step;display:flex;flex-direction:column;gap:14px}
.step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}
.step:before{counter-increment:step;content:counter(step);width:30px;height:30px;border-radius:50%;background:#FFF7ED;color:#c2410c;display:grid;place-items:center;font-family:"Geist Mono",monospace;font-size:11px;font-weight:700}
.step strong{display:block;margin-bottom:3px;font-size:14px}
.step span{color:var(--muted);font-size:13px;line-height:1.55}
.step-screen{position:relative;margin:13px 0 5px;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden;background:#F8FAFC;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.step-screen-label{position:absolute;z-index:1;top:10px;left:10px;padding:5px 8px;border-radius:7px;background:rgba(15,23,42,.9);color:#fff;font-family:"Geist Mono",monospace;font-size:9px;font-weight:800;letter-spacing:.08em}
.step-screen img{display:block;width:100%;max-height:470px;object-fit:contain;background:#EEF2F7}
.step-screen figcaption{padding:9px 11px;background:#fff;color:#64748B;font-size:10.5px}
.screen-figure{margin:18px 0 26px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f4f1ed}
.screen-figure img{width:100%;display:block;max-height:550px;object-fit:contain;background:#eef0f2}
.screen-figure figcaption{padding:10px 13px;color:var(--muted);font-size:11.5px;background:#fff}
.code-block{white-space:pre-wrap;word-break:break-word;background:#0F172A;color:#e8edf5;border-radius:12px;padding:16px;font-family:"Geist Mono",monospace;font-size:11px;line-height:1.65;overflow:auto}
.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.related-button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px;cursor:pointer;font-size:12px;color:var(--ink)}
.related-button:hover{border-color:#f0b894}
dialog{border:0;border-radius:18px;box-shadow:var(--shadow);padding:28px;width:min(440px,calc(100% - 30px));color:var(--ink)}
dialog::backdrop{background:rgba(15,23,42,.45);backdrop-filter:blur(3px)}
dialog h2{font-size:24px;margin:10px 0 18px}
.dialog-close{position:absolute;right:14px;top:14px;border:0;background:transparent;font-size:22px;cursor:pointer}
dialog dl{margin:0;display:flex;flex-direction:column;gap:12px}
dialog dl div{display:flex;align-items:center;gap:15px}dialog dt{width:48px}dialog dd{margin:0;color:var(--muted)}
.topic-group{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 14px;margin-top:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.topic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 4px 9px;border-bottom:1px solid #EEF2F7;color:#0F172A;font-size:12.5px;font-weight:800}
.topic-heading small{font-size:10px;font-weight:600;color:#94A3B8}
.topic-group .article-row:last-child{border-bottom:0}
.embedded{background:#fbfbfd}
.embedded main{padding:0 22px 44px;max-width:1480px;margin:0 auto}
.embedded .hero{padding:22px 0 18px;text-align:left;background:transparent;border-bottom:1px solid #ECECF0}
.embedded .hero h1{font-size:24px;line-height:1.15;letter-spacing:-.03em;margin:8px 0 7px;max-width:none}
.embedded .hero h1 br{display:none}
.embedded .hero h1 br+span::before{content:" "}
.embedded .hero>p{font-size:12.5px;line-height:1.55;max-width:780px;margin:0;color:#64748B}
.embedded .search-shell{width:min(720px,100%);max-width:none;margin:16px 0 0;padding:9px 12px;background:#fff;border:1px solid #E2E8F0;border-radius:11px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.embedded .search-shell:focus-within{border-color:#fdba74;box-shadow:0 0 0 3px rgba(234,88,12,.1)}
.embedded .search-shell input{font-size:13px}
.embedded .hero-stats{justify-content:flex-start;margin-top:12px;gap:7px}
.embedded .hero-stats span{padding:5px 9px;border:1px solid #E2E8F0;border-radius:999px;background:#fff;color:#64748B;font-size:10.5px}
.embedded .quick-start,.embedded .knowledge-layout,.embedded .support{width:100%;max-width:none}
.embedded .quick-start{padding:20px 0 24px}
.embedded .section-heading h2,.embedded .results-heading h2{font-size:18px;margin-top:5px}
.embedded .quick-grid{gap:9px;margin-top:12px}
.embedded .quick-card{min-height:132px;padding:14px;border-radius:12px}
.embedded .quick-card h3{font-size:13px;margin:11px 0 5px}
.embedded .quick-card p{font-size:11.5px}
.embedded .quick-icon{width:32px;height:32px;border-radius:9px;font-size:16px}
.embedded .knowledge-layout{grid-template-columns:230px minmax(0,1fr);gap:18px;padding:20px 0 46px}
.embedded .module-sidebar{top:12px;max-height:calc(100vh - 72px);background:#fff;border:1px solid #E6EBF2;border-radius:14px;padding:14px 10px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.embedded .category-button{padding:8px 9px;font-size:12px}
.embedded .category-button.active{background:#FFF7ED;color:#c2410c}
.embedded .results-heading{background:#fff;border:1px solid #E6EBF2;border-radius:14px;padding:15px 16px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.embedded .result-summary{margin:12px 3px 4px}
.embedded .article-row{padding:14px 3px}
.embedded .article-title{font-size:13px}
.embedded .article-answer{font-size:11.5px}
.embedded .support{border-radius:14px;margin-bottom:0;background:#131318;padding:26px}
.embedded .support h2{font-size:20px}
@media(max-width:960px){
  .quick-grid{grid-template-columns:repeat(2,1fr)}
  .knowledge-layout{grid-template-columns:1fr;gap:24px}
  .module-sidebar{position:static;max-height:none;overflow:auto}
  #categoryNav{flex-direction:row;overflow:auto;padding-bottom:6px}
  .category-button{width:auto;white-space:nowrap}
  .support{grid-template-columns:1fr;gap:20px}
  .embedded .knowledge-layout{grid-template-columns:1fr}
  .embedded .module-sidebar{position:static;max-height:none}
}
@media(max-width:620px){
  .topbar{height:60px}.ghost-button{display:none}
  .hero{padding-top:44px}.hero h1 br{display:none}.hero h1 br+span::before{content:" "}
  .quick-grid{grid-template-columns:1fr}
  .section-heading,.results-heading{align-items:start;flex-direction:column}
  .sort-label{width:100%;justify-content:space-between}
  .support form{grid-template-columns:1fr}.support .full{grid-column:auto}
  .article-row{grid-template-columns:38px minmax(0,1fr) 20px;gap:9px}
  .related-grid{grid-template-columns:1fr}
  .embedded main{padding:0 14px 28px}
  .embedded .hero{padding-top:16px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
