@font-face{font-family:DM Sans;src:url(sans.woff2) format('woff2');font-weight:100 1000;font-display:swap}
:root{color-scheme:dark;--bg:#101317;--surface:#191e24;--ink:#f5f6f8;--muted:#aeb8c6;--line:#313840;--lime:#cbf47a}
*{box-sizing:border-box}
body{margin:0;font:15px/1.5 'DM Sans',sans-serif;background:var(--bg);color:var(--ink)}
.wrap{width:min(1180px,92%);margin:auto}
header{border-bottom:1px solid #252c32}
header .wrap,.heading,.title,.actions,.path,.path a,.date,.file,summary,.brand,button,.download,.tag{display:flex;align-items:center}
header .wrap,.heading{justify-content:space-between}
header .wrap{height:78px}
a,button{color:inherit;text-decoration:none}
button,summary{cursor:pointer}
button{font:inherit;background:none;border:0;padding:0;gap:9px}
button,a,summary{transition:color .16s,background .16s}
:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
.ph{font-size:21px}
.brand{font-size:24px;font-weight:780;letter-spacing:-1px}
.brand span{color:var(--lime)}
.brand b{display:flex;gap:3px;transform:skewX(-23deg);margin:0 14px 0 6px}
.brand em{background:var(--lime);width:7px;height:22px;border-radius:1px}
.brand em:first-child{opacity:.43}.brand em:nth-child(2){opacity:.73}
#help,.copy{font-weight:550;font-size:14px}
#help .ph{color:var(--lime)}
.js{display:none}.enhanced .js{display:flex}
.hero{height:225px;margin-top:30px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:0 48px;border-radius:18px;background:radial-gradient(ellipse 47% 170% at 87% 100%,#576a85 0%,#283342 65%,transparent),linear-gradient(105deg,#21272e,#1a222d 66%);border:1px solid #343c46}
.hero img{position:absolute;width:470px;height:auto;top:-24px;right:1.7%;transform:rotate(-12deg);z-index:-1;filter:drop-shadow(-9px 13px 14px #10171e65)}
.tag{gap:7px;color:var(--lime);font-size:14px;font-weight:550;letter-spacing:.6px}.tag .ph{font-size:18px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(34px,4.25vw,54px);letter-spacing:-.055em;font-weight:670;line-height:1.2;margin:8px 0}
.hero p{font-size:17px;color:#c5ced9}
.workspace{display:grid;grid-template-columns:238px minmax(0,1fr);gap:42px;margin:38px 0 68px}
nav{border-right:1px solid var(--line);padding-right:27px}
.tree{position:sticky;top:30px;max-height:85vh;overflow:auto;padding:3px}
summary{list-style:none;gap:10px}
summary::-webkit-details-marker{display:none}
.tree>summary{color:var(--muted);font-size:12px;letter-spacing:1.3px;text-transform:uppercase;font-weight:680;margin-bottom:16px;justify-content:space-between}
.tree>summary i,.notes summary i:last-child{font-size:14px}
.tree[open]>summary i,.notes[open] summary i:last-child{transform:rotate(180deg)}
.tree details>summary{font-weight:580;min-height:45px;overflow-wrap:anywhere}
.tree .ph-folder{color:var(--lime);font-size:24px}
.tree .ph-caret-right,.path .ph-caret-right{font-size:12px;color:var(--muted)}
.tree details[open]>summary .ph-caret-right{transform:rotate(90deg)}
.dates{margin:3px 0 13px 6px;padding-left:15px;border-left:1px solid var(--line)}
.date{padding:10px 12px;gap:10px;font-size:14px;border-radius:8px;color:var(--muted);font-variant-numeric:tabular-nums}
.date[aria-current]{background:#242f21;color:var(--lime);font-weight:570}
.date .ph{font-size:18px}
.path,.path a{gap:10px;color:var(--muted);font-size:14px}
.path span{color:#dbe0e8}
.path .ph-folder-open{font-size:19px}
.heading{gap:20px;margin:20px 0}
.title,.meta{gap:12px;flex-wrap:wrap}
h2{font-size:32px;line-height:1.18;letter-spacing:-1.25px;font-weight:650}
.badge{padding:2px 9px;border-radius:6px;background:#352e20;color:#f5ce80;font-size:12px;font-weight:580}
.meta{color:var(--muted);display:flex;margin-top:8px;font-size:14px;gap:4px 12px}
.meta span+span:before{content:'·';color:#8996a5;margin-right:12px}
.copy{white-space:nowrap;border:1px solid #414a54;padding:10px 15px;border-radius:9px}
.notes{margin:0 0 16px;color:var(--muted);font-size:14px}
.notes summary{gap:7px;width:max-content}
.notes summary i{font-size:17px}
.notes p{margin:10px 0;line-height:1.6;max-width:75ch;white-space:pre-line}
.file{padding:10px 18px;gap:14px;border-bottom:1px solid var(--line)}
.file:last-child{border:0}
.fileicon{color:#a8b8cc;display:grid;place-items:center;width:26px;flex:none}
.fileicon .ph{font-size:23px}
.info{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.filename{font-weight:520;overflow-wrap:anywhere;flex:1}
.info span{font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.actions{gap:3px}
.square{display:flex;align-items:center;justify-content:center;width:38px;height:38px;color:#afbdcd;border-radius:8px}
html:not(.enhanced) .square.js{display:none}
.square:hover,.copy:hover,.date:hover{background:#2b333e;color:#fff}
.filename:hover,#help:hover,.path a:hover,summary:hover{color:var(--lime)}
.primary{padding:20px;background:#1e271e;border:1px solid #414f36;border-radius:14px}
.primary .fileicon{background:#313f2a;color:var(--lime);width:43px;height:48px;border-radius:10px}
.primary .fileicon .ph{font-size:27px}
.primary .info{display:block}
.primary .filename{display:block;font-size:15px;font-weight:620;line-height:1.38}
.primary .info span{display:block;margin-top:4px}
.download{justify-content:center;gap:8px;background:var(--lime);color:#17220c;padding:13px 18px;border-radius:10px;font-size:14px;font-weight:720;margin-left:10px;white-space:nowrap}
.download:hover{background:#e0ffa2}
h3{font-size:18px;font-weight:620;letter-spacing:-.35px;margin:30px 0 14px}
.list{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.list .file:hover{background:#1e242d}
dialog{width:min(92vw,500px);padding:28px;border-radius:16px;color:var(--ink);background:var(--surface);border:1px solid #424c59}
dialog::backdrop{background:#060b10c9}
dialog h2{font-size:23px;letter-spacing:-.7px}
dialog p{color:var(--muted);margin:14px 0}
dialog code,dialog input{display:block;background:var(--bg);color:var(--lime);border:0;border-radius:7px;padding:10px;margin:5px 0 16px;width:100%;overflow-wrap:anywhere}
.close{float:right;margin:-10px -10px 0 0}
#toast:not(:empty){position:fixed;bottom:28px;left:50%;transform:translateX(-50%);color:#17220c;background:var(--lime);padding:10px 17px;border-radius:9px;font-weight:600}
@media(max-width:1080px){
 .workspace{grid-template-columns:196px minmax(0,1fr);gap:26px}
 nav{padding-right:17px}
 .hero img{width:390px;top:-18px;right:-2%}
 .primary{display:grid;grid-template-columns:auto 1fr}
 .primary .actions{grid-column:1/-1}
 .download{margin-left:auto}
}
@media(max-width:820px){
 .hero{height:195px;padding:0 26px}
 .hero img{width:328px;right:-3%;top:-19px}
 .workspace{display:block;margin-top:20px}
 nav{padding:0;margin:0 0 24px;border:1px solid var(--line);border-radius:10px}
 .tree{padding:12px 16px;max-height:320px}
 .tree>summary{font-size:14px;text-transform:none;letter-spacing:0;color:var(--ink);margin:0}
 .tree[open]>summary{margin-bottom:8px}
 .hero p{font-size:15px}
}
@media(max-width:640px){
 header .wrap{height:65px}.brand{font-size:21px}
 .hero{height:auto;min-height:168px;margin-top:18px;padding:22px 18px;border-radius:14px}
 .hero>div{width:59%}
 h1{font-size:32px;line-height:1.06;text-wrap:balance}
 .hero img{width:310px;left:49%;right:auto;top:4px;transform:rotate(-10deg)}
 .hero p{font-size:13px;max-width:24ch}
 .heading{align-items:start;flex-direction:column;gap:13px;margin:14px 0}
 h2{font-size:27px}
 .copy{padding:8px 11px}
 .meta{gap:4px 8px;font-size:13px}
 .meta span+span:before{margin-right:8px}
 .primary{padding:16px;gap:14px}
 .download{padding:12px 13px}
 .list .file{padding:11px 9px;gap:5px}
 .list .info{display:block}
 .list .filename,.list .info span{display:block;font-size:14px}
 .list .info span{font-size:12px}
 .list .fileicon{width:25px}
 .square{width:35px;height:40px}
 .actions{gap:0}
 .notes{margin-bottom:15px}
 .list .fileicon .ph{font-size:20px}
 h3{margin:24px 0 12px}
}
@media(max-width:365px){.list .fileicon{display:none}.list .file{padding-left:12px}.hero img{left:52%}.hero h1{font-size:27px}}
