.dsw-handbook, .dsw-handbook * {box-sizing:border-box}
.dsw-handbook {
  --hb-bg:var(--bg-2);--hb-raised:var(--bg-3);--hb-line:var(--line);--hb-text:var(--ink);--hb-sub:var(--ink-dim);--hb-muted:var(--ink-dim);--hb-accent:var(--cyan);
  display:none; inset:0;position:fixed;width:min(880px,calc(100vw - 44px)); max-width:none; max-height:calc(100dvh - 64px); margin:auto;
  border:1px solid var(--line-strong);border-radius:15px; padding:0;color:var(--hb-text);background:var(--hb-bg);
  overflow:hidden; box-shadow:0 24px 90px #01030caa;color-scheme:dark;
  font:400 14px/1.6 "Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif; text-align:start; overscroll-behavior:contain;
}
.dsw-handbook[open]{display:block; animation:dsw-hb-rise .22s ease-out both}
.dsw-handbook::backdrop {background:rgb(2 5 16 / .65);backdrop-filter:blur(6px)}
@keyframes dsw-hb-rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.dsw-handbook .dsw-hb-wrap{display:flex;flex-direction:column;max-height:calc(100dvh - 66px)}
.dsw-handbook button, .dsw-handbook a{font:inherit;letter-spacing:inherit;color:inherit; text-transform:none}
.dsw-handbook button{cursor:pointer;appearance:none;box-shadow:none}
.dsw-handbook svg{width:17px;height:17px;flex:none;display:inline-block;vertical-align:middle}
.dsw-handbook :focus-visible{outline:2px solid var(--hb-accent);outline-offset:2px}
.dsw-handbook .dsw-hb-panel:focus-visible{outline-offset:-4px}
.dsw-hb-head{position:relative;padding:26px 32px 23px; border-bottom:1px solid var(--hb-line);background:linear-gradient(107deg,var(--bg-3) 0%,var(--bg-3) 63%,var(--bg-3) 100%); flex:none}
.dsw-hb-meta{display:flex;align-items:center;gap:9px;color:var(--hb-accent);font:600 10px/1.3 ui-monospace,"SFMono-Regular",Consolas,monospace;letter-spacing:.13em}
.dsw-hb-indicator{width:7px;height:7px;background:var(--hb-accent);box-shadow:0 0 0 3px #4d6bfe28;border-radius:50%}
.dsw-handbook .dsw-hb-close{position:absolute;top:20px;right:22px;display:grid;place-items:center;width:36px;height:36px;padding:0;background:var(--bg-3);border:1px solid var(--hb-line);border-radius:8px;color:var(--hb-sub)}
.dsw-handbook .dsw-hb-head h2{margin:12px 40px 4px 0;font-size:clamp(24px,3vw,33px);font-weight:650;line-height:1.3;letter-spacing:-.045em;color:var(--hb-text)}
.dsw-handbook .dsw-hb-head p{margin:4px 0 0;color:var(--hb-sub);font-size:13px;line-height:1.65}
.dsw-handbook .dsw-hb-body{display:grid;grid-template-columns:188px minmax(0,1fr);min-height:0;overflow:hidden}
.dsw-handbook .dsw-hb-tabs{padding:19px 12px;display:flex;flex-direction:column;gap:4px;align-items:stretch;background:var(--bg-3);border-right:1px solid var(--hb-line);overflow:auto}
.dsw-handbook .dsw-hb-tabs button{display:flex;align-items:center;gap:9px;padding:11px 10px;line-height:1.4;font-size:13px;border:1px solid transparent;border-radius:6px;color:var(--ink-dim);background:none;text-align:start}
.dsw-handbook .dsw-hb-tabs button:hover,.dsw-handbook .dsw-hb-close:hover{background:var(--bg-3);color:var(--hb-text)}
.dsw-handbook .dsw-hb-tabs button[aria-selected=true]{color:var(--hb-accent);background:#19254c;border-color:var(--line-strong);font-weight:600}
.dsw-handbook .dsw-hb-panel{min-height:0;padding:23px 30px 25px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--ink-faint) transparent;overscroll-behavior:contain}
.dsw-handbook .dsw-hb-panel h3{font-size:21px;font-weight:620;letter-spacing:-.025em;line-height:1.5;margin:0;color:var(--hb-text)}
.dsw-handbook .dsw-hb-lead{font-size:14px;line-height:1.75; margin:4px 0 17px; color:var(--hb-sub)}
.dsw-handbook .dsw-hb-entries{margin:0}
.dsw-handbook .dsw-hb-entries>div{padding:13px 0 12px;border-top:1px solid var(--line)}
.dsw-handbook .dsw-hb-entries dt{display:flex;align-items:center;gap:9px;margin:0 0 3px;font-size:14px;font-weight:620;color:var(--hb-text)}
.dsw-handbook .dsw-hb-entries dt:before{content:"";width:4px;height:4px;display:block;background:var(--hb-accent);border-radius:50%;flex:none}
.dsw-handbook .dsw-hb-entries dd{margin:0;padding:0 0 0 13px;line-height:1.75;font-size:13px;color:var(--hb-sub)}
.dsw-handbook .dsw-hb-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 19px;margin:10px 0 0}
.dsw-handbook .dsw-hb-download,.dsw-handbook .dsw-hb-apply{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 12px;border-radius:6px;border:1px solid var(--hb-line);background:var(--bg-3);color:var(--hb-text);font-size:12px;font-weight:620;line-height:1.45}
.dsw-handbook .dsw-hb-actions a{color:var(--hb-accent);text-decoration:none;display:inline-flex;align-items:center;gap:5px;font-size:12px}
.dsw-handbook .dsw-hb-actions a svg{width:13px;height:13px}
.dsw-handbook .dsw-hb-actions a:hover{text-decoration:underline;text-underline-offset:4px}
.dsw-handbook .dsw-hb-download:hover{border-color:var(--line-strong);color:var(--hb-accent)}
.dsw-handbook .dsw-hb-foot{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 25px;background:var(--bg-3);border-top:1px solid var(--hb-line)}
.dsw-handbook .dsw-hb-edition{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--hb-muted)}
.dsw-handbook .dsw-hb-edition svg{width:15px;height:15px}
.dsw-handbook .dsw-hb-apply{color:var(--ink);background:var(--blue);border-color:var(--blue);padding-inline:14px}
.dsw-handbook .dsw-hb-apply:hover{background:var(--blue-soft);border-color:var(--blue-soft)}
@media(max-width:650px){
  .dsw-handbook{width:min(520px,calc(100vw - 20px));max-height:calc(100dvh - 28px);border-radius:12px}
  .dsw-handbook .dsw-hb-wrap{max-height:calc(100dvh - 30px)}
  .dsw-handbook .dsw-hb-head{padding:20px 19px 16px}
  .dsw-handbook .dsw-hb-close{top:12px;right:13px}
  .dsw-handbook .dsw-hb-body{display:flex;flex-direction:column}
  .dsw-handbook .dsw-hb-tabs{flex:none;flex-direction:row;gap:5px;padding:9px 12px;border-right:none;border-bottom:1px solid var(--hb-line);scrollbar-width:thin;scrollbar-color:var(--ink-faint) transparent;overflow:auto}
  .dsw-handbook .dsw-hb-tabs button{white-space:nowrap;padding:7px 8px;font-size:12px;gap:5px}
  .dsw-handbook .dsw-hb-tabs button svg{width:14px;height:14px}
  .dsw-handbook .dsw-hb-panel{padding:16px 18px 19px}
  .dsw-handbook .dsw-hb-foot{padding:11px 15px}
}
@media(max-height:560px){.dsw-handbook .dsw-hb-head{padding-block:13px}.dsw-handbook .dsw-hb-head h2{margin-block:5px}.dsw-handbook .dsw-hb-foot{padding-block:8px}}
@media(prefers-reduced-motion:reduce){.dsw-handbook[open]{animation:none}}
