:root{--bg:#07101d;--panel:#0e1830;--line:rgba(255,255,255,.08);--text:#e9eef8;--muted:#9fb0c8;--gold:#f2c46d;--red:#ff6b6b;--green:#46d6a8;--blue:#7aa2ff}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:radial-gradient(circle at top,#10213f 0%,#07101d 42%,#050a14 100%);color:var(--text)}
a{text-decoration:none;color:inherit}.shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{padding:22px;background:rgba(255,255,255,.02);border-right:1px solid var(--line)}
.brand{padding:14px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid var(--line);margin-bottom:18px}.brand-logo{display:block;width:100%;max-width:230px;height:auto}.brand p{margin:8px 0 0;color:var(--muted);font-size:13px}
.nav a{display:block;padding:12px 14px;border-radius:12px;color:var(--muted);margin-bottom:6px}.nav a:hover,.nav a.active{background:rgba(242,196,109,.08);color:#fff;border:1px solid rgba(242,196,109,.18)}
.sidebox{margin-top:18px;padding:16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--line)}.main{padding:28px}
.hero{padding:34px;border-radius:26px;background:linear-gradient(135deg,rgba(242,196,109,.08),rgba(122,162,255,.06) 45%,rgba(255,107,107,.04)), rgba(255,255,255,.03);border:1px solid var(--line)}
.kicker{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);font-weight:800}.hero h2{font-size:42px;line-height:1.04;margin:10px 0 14px;max-width:760px}.hero p{font-size:17px;line-height:1.5;color:#c7d1e2;max-width:820px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.btn{display:inline-block;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.03);font-weight:700}.btn.primary{background:linear-gradient(135deg,var(--gold),#ffe3a8);color:#2e1d00;border:none}
.grid{display:grid;gap:18px;margin-top:20px}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{padding:20px;border-radius:22px;background:rgba(255,255,255,.03);border:1px solid var(--line)}.card h3{margin:0 0 10px;font-size:19px}.card p,.card li{color:#c8d2e2;line-height:1.55}
.preview{padding:18px;border-radius:18px;background:#091224;border:1px solid var(--line);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap}
.badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800}.gold{background:rgba(242,196,109,.12);color:var(--gold)}.green{background:rgba(70,214,168,.12);color:var(--green)}.blue{background:rgba(122,162,255,.12);color:var(--blue)}.red{background:rgba(255,107,107,.12);color:var(--red)}
.metric{font-size:34px;font-weight:900}.small{font-size:13px;color:var(--muted)}.list{display:flex;flex-direction:column;gap:12px}.item{padding:14px;border-radius:16px;background:var(--panel);border:1px solid var(--line)}.item strong{display:block;margin-bottom:6px}
.header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table th{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
textarea{width:100%;min-height:420px;background:#091224;color:#f2f6ff;border:1px solid var(--line);border-radius:18px;padding:16px;font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
textarea.chat-input{min-height:180px;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.55}
.folder{padding:18px;border-radius:18px;background:#091224;border:1px solid var(--line);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.footer{margin-top:20px;padding:16px;border-radius:18px;border:1px dashed rgba(242,196,109,.25);background:rgba(242,196,109,.05);color:#ead8ad}
@media(max-width:1100px){.shell{grid-template-columns:1fr}.cols-3,.cols-2{grid-template-columns:1fr}}
input[type="file"]{width:100%;padding:10px;border-radius:12px;border:1px solid var(--line);background:#091224;color:var(--text)}
button.btn{cursor:pointer;color:inherit;font:inherit}
.active-link{color:var(--gold);font-weight:800}
