    :root {
  --bg: #0b1020;
  --panel: #121a33;
  --text: #e8ecf8;
  --muted: #9fb1d6;
  --accent: #6ea8fe;
  --border: #1e2a4d;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--text); background: linear-gradient(180deg, #0b1020, #0b1328 300px) fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 10; background: rgba(9,14,30,.85); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; gap: 16px; align-items: center; }
.header h1 { font-size: 18px; margin: 0; font-weight: 600; letter-spacing: .2px; }
.container { display: grid; grid-template-columns: 320px 1fr; max-width: 1200px; margin: 0 auto; gap: 0; }
.sidebar { min-height: calc(100vh - 56px); border-right: 1px solid var(--border); background: linear-gradient(180deg, #0d1531, #0b1024 400px); padding: 10px 0; overflow: auto; }
.search { padding: 10px 16px; position: sticky; top: 0; background: linear-gradient(180deg,#0d1531,#0b1024); }
.search input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #0b1328; color: var(--text); outline: none; }
.nav { padding: 6px 8px 20px 8px; }
.tree { list-style: none; margin: 0; padding: 0; }
.tree li { margin: 2px 0; }
.tree .folder, .tree .file { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.tree .folder:hover, .tree .file:hover { background: #0f1a3b; color: var(--text); }
.tree .active { background: #12204a; color: var(--text); }
.tree .folder .chev { transition: transform .2s ease; }
.tree .folder.collapsed .chev { transform: rotate(-90deg); }
.content { padding: 24px; }
.card { background: radial-gradient(1200px 400px at -10% -20%, rgba(110,168,254,.15), transparent), linear-gradient(180deg, #0d1736, #0b1024 420px);
        border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 20px 40px rgba(8,12,28,.5), inset 0 1px 0 rgba(255,255,255,.04); }
.breadcrumbs { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.title { font-size: 20px; margin: 0 0 14px; font-weight: 600; }
.meta { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.viewer { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #0a1227; }
.viewer iframe { width: 100%; height: 70vh; border: 0; background: #0a1227; }
.viewer img { max-width: 100%; height: auto; display: block; }
.footer { color: var(--muted); font-size: 12px; padding: 20px; text-align: center; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.hidden { display: none; }
