/* 主簿 · 共享站点骨架（侧栏 / 顶栏 / 页面容器）
   由各 doc-tools 页内联样式抽取而来，统一维护；任何页面引用本文件即可获得完整侧栏骨架。 */
*{box-sizing:border-box;margin:0;padding:0}
.side{position:fixed;left:0;top:0;bottom:0;width:200px;background:#191c28;color:#aab0bf;
  display:flex;flex-direction:column;padding:16px 10px 12px;overflow-y:auto;z-index:60;
  transition:transform .2s ease}
.s-brand{display:flex;align-items:center;gap:9px;padding:2px 8px 16px;text-decoration:none;color:#fff}
.s-logo{width:30px;height:30px;border-radius:9px;flex:0 0 auto;
  background:linear-gradient(135deg,#ff8a4c,#f05a2a);
  display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:15px}
.s-brand b{font-size:14px;letter-spacing:2px;font-weight:600}
.s-cap{font-size:10.5px;color:#6a7080;letter-spacing:1.5px;margin:12px 8px 6px}
.s-item{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:9px;
  color:#b9bdc9;font-size:13px;text-decoration:none;margin-bottom:2px}
.s-item svg{flex:0 0 auto}
.s-item:hover{background:rgba(255,255,255,.06);color:#fff}
.s-item.on{background:rgba(255,255,255,.10);color:#fff;font-weight:600}
.s-item.sub{padding:7px 10px 7px 27px;font-size:12.5px}
.s-item.soon{opacity:.45;cursor:default}
.s-tag{margin-left:auto;font-size:9.5px;border:1px solid rgba(255,255,255,.16);
  padding:1px 6px;border-radius:999px;color:#8b90a0}
.s-foot{margin-top:auto;padding:14px 8px 4px;font-size:10.5px;color:#6a7080;line-height:1.9}
.page{margin-left:200px;min-height:100vh;transition:margin-left .2s ease}
body.side-off .side{transform:translateX(-100%)}
body.side-off .page{margin-left:0}
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;
  height:56px;padding:0 20px;background:rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.burger{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:9px;
  display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}
.burger:hover{border-color:var(--accent)}
.topbar .cur{font-size:14px;font-weight:600}
.topbar .sp{margin-left:auto}
.topbar a.bl{font-size:13px;color:#6b6257;text-decoration:none;padding:7px 13px;border-radius:999px;
  border:1px solid var(--line);background:#fff}
.topbar a.bl:hover{border-color:var(--accent);color:var(--accent)}
/* 嵌入模式：被套件页（doc-suite / img-suite）用 iframe 引用时隐藏侧栏与顶栏，
   由 nav.js 检测 ?embed=1 后给 body 加 .embed */
body.embed .side,body.embed .topbar{display:none}
body.embed .page{margin-left:0}
