:root{--shell-bg:#f8fafc;--shell-surface:#fff;--shell-border:#e2e8f0;--shell-text:#0f172a;--shell-muted:#475569;--shell-primary:#2563eb;--shell-primary-dark:#1d4ed8;--shell-footer:#0f172a;--shell-footer-text:#94a3b8;--shell-footer-heading:#fff;}
body{margin:0;background:var(--shell-bg);color:var(--shell-text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
.shell-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--shell-border);}
.shell-header-inner{max-width:1120px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.shell-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--shell-text);}
.shell-brand-mark{width:32px;height:32px;border-radius:10px;color:#fff;background:#2563eb;display:flex;align-items:center;justify-content:center;}
.shell-brand-mark svg{width:16px;height:16px;}
.shell-brand-label{font-weight:800;font-size:20px;letter-spacing:-.02em;}
.shell-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.shell-nav-link,.shell-nav-cta{display:inline-flex;align-items:center;text-decoration:none;border-radius:10px;font-size:14px;font-weight:600;transition:all .15s ease;}
.shell-nav-link{padding:10px 14px;color:var(--shell-muted);}
.shell-nav-link:hover,.shell-nav-link.is-active{color:var(--shell-text);background:#eef2ff;}
.shell-nav-cta{padding:10px 16px;background:var(--shell-primary);color:#fff;}
.shell-nav-cta:hover{background:var(--shell-primary-dark);}
.shell-footer{margin-top:64px;background:var(--shell-footer);color:var(--shell-footer-text);}
.shell-footer-main{max-width:1120px;margin:0 auto;padding:48px 24px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px;}
.shell-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.shell-footer-brand .shell-brand-mark{width:34px;height:34px;}
.shell-footer-brand-name{font-weight:800;font-size:22px;color:var(--shell-footer-heading);}
.shell-footer-copy{font-size:15px;line-height:1.7;max-width:520px;}
.shell-footer-title{margin:0 0 16px 0;font-size:16px;font-weight:700;color:var(--shell-footer-heading);}
.shell-footer-links{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
.shell-footer-links a{color:var(--shell-footer-text);text-decoration:none;font-size:14px;}
.shell-footer-links a:hover{color:var(--shell-footer-heading);}
.shell-footer-bottom{border-top:1px solid rgba(148,163,184,.16);}
.shell-footer-bottom-inner{max-width:1120px;margin:0 auto;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;}
.shell-footer-bottom a{color:#60a5fa;text-decoration:none;}
.shell-footer-bottom a:hover{color:#93c5fd;}
@media(max-width:900px){.shell-header-inner{height:auto;padding-top:14px;padding-bottom:14px;align-items:flex-start;flex-direction:column;}.shell-nav{width:100%;justify-content:flex-start;}.shell-footer-main{grid-template-columns:1fr;}.shell-footer-bottom-inner{flex-direction:column;align-items:flex-start;}}
.muted{color:#64748b;font-size:14px;}
.help-toolbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:20px;}
.btn{border:1px solid #cbd5e1;background:#f8fafc;padding:6px 10px;border-radius:10px;text-decoration:none;color:#0f172a;font-size:14px;cursor:pointer;}
.btn:hover{background:#eff6ff;}
.layout{display:grid;grid-template-columns:260px 1fr;gap:24px;max-width:1120px;margin:0 auto;padding:32px 24px;}
.nav{position:sticky;top:96px;align-self:start;padding-right:16px;}
.nav a{display:block;padding:8px 10px;border-radius:10px;color:#0f172a;text-decoration:none;font-size:14px;}
.nav a:hover{background:#e2e8f0;}
.content{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 20px 50px rgba(15,23,42,.04);}
.content h1{margin-top:0;}
.content h2{margin-top:28px;}
.content p,.content ul,.content pre{margin-bottom:16px;}
.content ul{padding-left:20px;}
.content pre{background:#0b1020;color:#e8e8e8;padding:14px;border-radius:12px;overflow:auto;}
.content code{background:#eef2f7;padding:1px 4px;border-radius:6px;}
.footer-note{max-width:1120px;margin:0 auto;padding:0 24px 8px;}
@media (max-width:900px){.layout{grid-template-columns:1fr}.nav{position:static;padding-right:0}.content{padding:22px}.help-toolbar{justify-content:flex-start}}
