@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap");
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
:root{
  --gd:#0a3d2e;--gf:#134d3b;--gm:#0f6e56;--gb:#1d9e75;--gl:#2eb98a;
  --glight:#9fe1cb;--gpale:#e1f5ee;--gmist:#eef7f2;
  --bark:#3d2b1f;--bark-mid:#5b4131;--bark-light:#7a5c47;
  --cream:#faf8f3;--cream2:#f5f1e8;--line:#e6dfcd;--lsoft:#f0ebda;
  --white:#ffffff;--ink:#1b1a16;--ink-soft:#4a463c;--muted:#8a8270;
  --gold:#c9a84c;--warn:#d97757;
  --sh:0 4px 14px rgba(10,61,46,.06),0 1px 2px rgba(10,61,46,.04);
  --sh-lg:0 24px 60px rgba(10,61,46,.14),0 6px 16px rgba(10,61,46,.06);
}
body{font-family:"Inter",-apple-system,system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}
a{color:var(--gb)}a:hover{text-decoration:underline;color:var(--gm)}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
.shell{display:flex;min-height:100vh}
.sidebar{width:268px;min-width:268px;background:var(--gd);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden;flex-shrink:0}
.sb-top{padding:18px 14px 12px;border-bottom:1px solid rgba(255,255,255,.07);flex-shrink:0}
.sb-brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:14px}
.sb-brand:hover{text-decoration:none}
.sb-mark{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--gb),var(--gl));display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff}
.sb-mark svg{width:18px;height:18px}
.sb-name{font-family:"Fraunces",Georgia,serif;font-size:1.05rem;font-weight:700;color:#fff;letter-spacing:-.01em;line-height:1.15}
.sb-sub{font-size:.67rem;color:rgba(159,225,203,.5);margin-top:1px;letter-spacing:.04em;text-transform:uppercase}
.sb-search-btn{display:flex;align-items:center;gap:8px;width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:7px 10px;color:rgba(159,225,203,.55);font-size:.8rem;cursor:pointer;text-align:left;transition:border-color .15s,background .15s}
.sb-search-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:var(--glight)}
.sb-search-btn .ico{flex-shrink:0;opacity:.7}
.sb-search-btn .hint{margin-left:auto;background:rgba(255,255,255,.07);border-radius:4px;padding:1px 7px;font-size:.67rem;color:rgba(159,225,203,.35)}
.sb-nav{flex:1;overflow-y:auto;padding:10px 0 24px}
.sb-nav::-webkit-scrollbar{width:3px}
.sb-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1);border-radius:4px}
.sb-sec{padding:16px 14px 5px;font-size:.63rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.5)}
.ns{padding:0 6px}
.ns-hd{display:flex;align-items:center;gap:1px}
.ns-tog{display:flex;align-items:center;justify-content:center;width:22px;height:28px;flex-shrink:0;color:rgba(159,225,203,.3);transition:color .15s}
.ns-tog:hover{color:rgba(159,225,203,.7)}
.ns-tog .chev{width:11px;height:11px;transition:transform .2s}
.ns.open>.ns-hd>.ns-tog .chev{transform:rotate(90deg)}
.ns-lnk{flex:1;padding:4px 6px;color:rgba(255,255,255,.75);font-size:.8rem;font-weight:600;text-decoration:none;letter-spacing:.01em;transition:color .15s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ns-lnk:hover{color:#fff;text-decoration:none}
.ns-items .ns-lnk{color:var(--glight);font-weight:500}
.ns-items .ns-lnk:hover{color:#fff}
.ns-items{display:none;padding-left:18px}
.ns.open>.ns-items{display:block}
.ni{display:flex;align-items:center;gap:6px;padding:3px 8px 3px 6px;color:rgba(255,255,255,.6);text-decoration:none;font-size:.79rem;border-left:2px solid transparent;transition:color .15s,background .15s,border-color .15s;border-radius:0 6px 6px 0;margin-right:4px;margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ni:hover{color:#fff;background:rgba(255,255,255,.05);text-decoration:none}
.ni.active{color:#fff;background:rgba(46,185,138,.18);border-left-color:var(--gl);font-weight:500}
.ni .fi{width:11px;height:13px;flex-shrink:0;opacity:.45}
.ni.active .fi{opacity:.9}
.badge-old{margin-left:auto;background:rgba(217,119,87,.25);color:#d97757;font-size:.58rem;font-weight:700;padding:1px 4px;border-radius:3px;flex-shrink:0;text-transform:uppercase}
.main-wrap{flex:1;display:flex;min-width:0}
.page-col{flex:1;min-width:0;padding:36px 32px 80px}
.bc{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:.76rem;color:var(--muted);margin-bottom:22px}
.bc a{color:var(--gb);text-decoration:none;font-weight:500}.bc a:hover{text-decoration:underline}
.bc .sep{color:var(--line)}
.sup-banner{background:#fef9ee;border:1px solid #f0e5b8;border-radius:8px;padding:11px 16px;margin-bottom:22px;color:#7a5c15;font-size:.84rem;font-weight:500;display:flex;align-items:center;gap:8px}
article{background:var(--white);border-radius:12px;padding:36px 44px;box-shadow:var(--sh);width:100%;border:1px solid var(--lsoft)}
article h1{font-family:"Fraunces",Georgia,serif;font-size:1.85rem;font-weight:700;color:var(--ink);margin:0 0 22px;line-height:1.2;letter-spacing:-.02em;padding-bottom:18px;border-bottom:2px solid var(--gmist)}
article h2{font-family:"Fraunces",Georgia,serif;font-size:1.2rem;font-weight:600;color:var(--ink);margin:36px 0 10px;padding-bottom:7px;border-bottom:1px solid var(--gmist);letter-spacing:-.01em}
article h3{font-size:1rem;font-weight:600;color:var(--ink-soft);margin:24px 0 8px}
article h4{font-size:.9rem;font-weight:600;color:var(--muted);margin:18px 0 6px}
article p{margin:0 0 14px;color:var(--ink-soft);line-height:1.75}
article ul,article ol{margin:0 0 14px;padding-left:22px;color:var(--ink-soft)}
article li{margin-bottom:5px;line-height:1.7}
article li>ul,article li>ol{margin-top:3px;margin-bottom:3px}
article a{color:var(--gb);text-decoration:none}article a:hover{text-decoration:underline}
article strong{color:var(--ink);font-weight:600}
article hr{border:none;border-top:1px solid var(--gmist);margin:28px 0}
article blockquote{margin:14px 0;padding:12px 16px 12px 18px;border-left:4px solid var(--gl);background:var(--gmist);border-radius:0 8px 8px 0;color:var(--ink-soft)}
article blockquote p{margin:0}
article code{font-family:"JetBrains Mono","SF Mono","Fira Code",Consolas,monospace;font-size:.82em;background:var(--gmist);color:var(--gm);padding:2px 5px;border-radius:4px;border:1px solid var(--gpale)}
article pre{background:var(--gd);border-radius:10px;padding:18px 22px;overflow-x:auto;margin:0 0 18px;border:1px solid var(--gf)}
article pre code{background:none;color:var(--glight);padding:0;border:none;font-size:.83rem;line-height:1.65}
article table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:.875rem;border:1px solid var(--line);border-radius:8px;overflow:hidden}
article thead tr{background:var(--gmist)}
article th{font-weight:600;text-align:left;padding:9px 13px;border-bottom:2px solid var(--gpale);color:var(--ink);white-space:nowrap;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em}
article td{padding:8px 13px;border-bottom:1px solid var(--lsoft);color:var(--ink-soft);vertical-align:top}
article tr:last-child td{border-bottom:none}
article tbody tr:hover td{background:var(--gmist)}
.pn{display:flex;justify-content:space-between;gap:14px;margin-top:28px;width:100%}
.pn a{flex:1;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:14px 18px;text-decoration:none;transition:border-color .15s,box-shadow .15s;display:flex;flex-direction:column;gap:3px}
.pn a:hover{border-color:var(--gl);box-shadow:0 0 0 3px rgba(46,185,138,.1);text-decoration:none}
.pn .dir{font-size:.7rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:500}
.pn .ptitle{font-size:.88rem;font-weight:600;color:var(--ink)}
.pn .next{text-align:right}
.pn .sp{flex:1}
.toc-wrap{width:210px;min-width:210px;padding:36px 0 36px 4px;flex-shrink:0}
.toc-inner{position:sticky;top:28px}
.toc-label{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px;padding-left:10px}
.toc-nav{display:flex;flex-direction:column}
.tl{font-size:.77rem;color:var(--muted);text-decoration:none;padding:3px 10px;border-left:2px solid var(--line);transition:color .15s,border-color .15s;line-height:1.45;display:block}
.tl:hover{color:var(--ink-soft);border-left-color:var(--glight);text-decoration:none}
.tl.on{color:var(--gb);border-left-color:var(--gl);font-weight:500}
.tl.h3{padding-left:18px}
.hero{background:linear-gradient(140deg,var(--gd) 0%,var(--gf) 60%,var(--gm) 100%);border-radius:14px;padding:40px 48px;margin-bottom:28px;color:#fff;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-40px;top:-40px;width:220px;height:220px;background:radial-gradient(circle,rgba(46,185,138,.18) 0%,transparent 70%);pointer-events:none}
.hero h1{font-family:"Fraunces",Georgia,serif;color:#fff;font-size:2rem;font-weight:700;margin:0 0 8px;letter-spacing:-.02em}
.hero p{color:rgba(159,225,203,.8);margin:0;font-size:.95rem}
.hero .key{background:rgba(255,255,255,.14);border-radius:5px;padding:1px 8px;font-size:.82rem;font-weight:600;font-family:"JetBrains Mono","SF Mono",monospace}
.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.fc{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px 24px;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s,transform .15s;display:flex;flex-direction:column;gap:0}
.fc:hover{border-color:var(--gl);box-shadow:0 0 0 3px rgba(46,185,138,.1),var(--sh);transform:translateY(-2px);text-decoration:none}
.fc-ico{width:36px;height:36px;border-radius:8px;background:var(--gmist);display:flex;align-items:center;justify-content:center;color:var(--gb);margin-bottom:14px;flex-shrink:0}
.fc-ico svg{width:18px;height:18px}
.fc-title{font-family:"Fraunces",Georgia,serif;font-size:1.05rem;font-weight:600;color:var(--ink);margin-bottom:6px;line-height:1.3}
.fc-desc{font-size:.8rem;color:var(--muted);line-height:1.55;flex:1}
.fc-count{margin-top:14px;font-size:.72rem;color:var(--gm);font-weight:600;letter-spacing:.02em}
.folder-hero{background:linear-gradient(135deg,var(--gd),var(--gf));border-radius:12px;padding:28px 36px;margin-bottom:22px;color:#fff}
.folder-hero h1{font-family:"Fraunces",Georgia,serif;font-size:1.6rem;font-weight:700;color:#fff;margin:0 0 6px;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
.folder-hero h1 svg{width:28px;height:28px;flex-shrink:0}
.folder-hero p{color:rgba(159,225,203,.75);margin:0;font-size:.88rem}
.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding-top:12px}
.fic{position:relative;background:var(--white);border:1px solid var(--line);border-radius:10px 0 10px 10px;padding:18px 20px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .1s;display:flex;flex-direction:column;gap:4px}
.fic::after{content:"";position:absolute;top:-1px;right:-1px;width:0;height:0;border-style:solid;border-width:18px 18px 0 0;border-color:#c5ddc8 transparent transparent transparent}
.fic:hover{border-color:var(--gl);box-shadow:0 0 0 3px rgba(46,185,138,.08),var(--sh);transform:translateY(-1px);text-decoration:none}
.fic:hover::after{border-color:var(--gl) transparent transparent transparent}
.ffc{position:relative;background:#edf5ef;border:1px solid #c5ddc8;border-radius:0 8px 8px 8px;padding:14px 18px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .1s,background .15s;display:flex;align-items:center;gap:12px;margin-top:11px}
.ffc::before{content:"";position:absolute;top:-11px;left:-1px;width:52px;height:12px;background:#edf5ef;border:1px solid #c5ddc8;border-bottom:none;border-radius:6px 6px 0 0;transition:background .15s,border-color .15s}
.ffc:hover{border-color:var(--gl);box-shadow:0 0 0 3px rgba(46,185,138,.1),var(--sh);transform:translateY(-1px);background:#e3f0e6;text-decoration:none}
.ffc:hover::before{background:#e3f0e6;border-color:var(--gl)}
.ffc-ico{width:32px;height:32px;flex-shrink:0;color:var(--gm);display:flex;align-items:center;justify-content:center}
.ffc-ico svg{width:18px;height:18px}
.ffc-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.ffc-title{font-family:"Fraunces",Georgia,serif;font-size:.95rem;font-weight:600;color:var(--ink)}
.ffc-desc{font-size:.75rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fic-path{font-size:.67rem;text-transform:uppercase;letter-spacing:.07em;color:var(--gm);font-weight:700;margin-bottom:2px}
.fic-title{font-family:"Fraunces",Georgia,serif;font-size:.98rem;font-weight:600;color:var(--ink);overflow-wrap:break-word;word-break:break-word}
.fic-desc{font-size:.77rem;color:var(--muted);line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.s-overlay{position:fixed;inset:0;z-index:999;display:none;align-items:flex-start;justify-content:center;padding-top:72px;background:rgba(10,61,46,.6);backdrop-filter:blur(4px)}
.s-overlay.on{display:flex}
.s-box{width:100%;max-width:560px;background:var(--white);border-radius:14px;box-shadow:var(--sh-lg),0 0 0 1px var(--line);overflow:hidden}
.s-row{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--lsoft)}
.s-row svg{color:var(--muted);flex-shrink:0}
.s-inp{flex:1;font-size:1rem;color:var(--ink);border:none;outline:none;background:transparent;font-family:inherit}
.s-inp::placeholder{color:var(--line)}
.s-esc{background:var(--gmist);border-radius:5px;padding:2px 8px;font-size:.7rem;color:var(--muted);cursor:pointer;flex-shrink:0;user-select:none}
.s-results{max-height:380px;overflow-y:auto;padding:6px}
.s-item{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:inherit;cursor:pointer;transition:background .1s}
.s-item:hover,.s-item.on{background:var(--gmist);text-decoration:none}
.s-hd{display:flex;align-items:baseline;gap:8px;margin-bottom:3px}
.s-title{font-size:.9rem;font-weight:600;color:var(--ink)}
.s-crumb{font-size:.72rem;color:var(--muted)}
.s-snip{font-size:.77rem;color:var(--muted);line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.s-snip mark,.s-title mark{background:#fef5d4;color:var(--bark-mid);border-radius:2px;padding:0 1px}
.s-empty{padding:28px 0;text-align:center;color:var(--muted);font-size:.88rem}
.s-footer{padding:8px 14px;border-top:1px solid var(--lsoft);display:flex;gap:14px}
.s-footer span{font-size:.7rem;color:var(--muted);display:flex;align-items:center;gap:4px}
.s-footer kbd{background:var(--gmist);border-radius:4px;padding:1px 5px;font-size:.68rem;color:var(--ink-soft);font-family:inherit}
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--gpale)}
@media(max-width:1200px){.toc-wrap{display:none}}
@media(max-width:860px){.sidebar{width:240px;min-width:240px} article{padding:24px 22px} .page-col{padding:20px 14px 60px}}
@media(max-width:680px){.sidebar{display:none} .page-col{padding:16px 12px 60px}}