/* DenialOS Docs — branded stylesheet */
:root {
  --ink: #0B1F3A; --ink-soft: #1B2B45; --paper: #FBFAF7; --paper-2: #F4F5F3;
  --border: #E7E9E7; --muted: #667085; --recovery: #1BBBA3;
  --recovery-deep: #0E776A; --recovery-soft: #EAF8F5;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Poppins', Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
header.topbar { position: sticky; top: 0; z-index: 5; background: rgba(11,31,58,.97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
header.topbar a.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
header.topbar a.brand img { height: 28px; width: auto; }
header.topbar .nav-links { display: flex; gap: 20px; align-items: center; }
header.topbar .nav-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 500; }
header.topbar .nav-links a:hover { color: var(--recovery); }
.search { position: relative; }
.search input { width: 320px; max-width: 45vw; padding: 9px 14px 9px 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 14px; }
.search input::placeholder { color: rgba(255,255,255,.45); }
.search input:focus { outline: none; border-color: var(--recovery); background: rgba(255,255,255,.12); }
.search::before { content: "\1F50D"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: .5; }
.layout { display: grid; grid-template-columns: 280px 1fr; max-width: 1440px; margin: auto; min-height: calc(100vh - 70px); }
aside { border-right: 1px solid var(--border); padding: 28px 22px; position: sticky; top: 70px; height: calc(100vh - 70px); overflow: auto; background: var(--paper); }
aside h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
aside nav { display: flex; flex-direction: column; gap: 2px; }
aside nav a { display: block; padding: 8px 12px; color: var(--ink-soft); text-decoration: none; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background .12s, color .12s; }
aside nav a:hover { background: var(--paper-2); color: var(--recovery-deep); }
aside nav a.active { background: var(--recovery-soft); color: var(--recovery-deep); font-weight: 600; }
main { padding: 44px 48px 80px; max-width: 900px; margin: 0 auto; width: 100%; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--recovery-deep); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.status { display: inline-block; background: var(--recovery-soft); color: var(--recovery-deep); border: 1px solid #B9E7DF; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; margin: 14px 0 28px; letter-spacing: .02em; }
h1 { font-size: 44px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
h2 { margin-top: 40px; font-size: 26px; letter-spacing: -.01em; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
h3 { margin-top: 28px; font-size: 19px; font-weight: 600; }
p, li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--recovery-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink); font-weight: 600; }
pre { padding: 18px; border-radius: 12px; background: var(--ink); color: #F8FAFC; overflow: auto; font-size: 13px; line-height: 1.6; margin: 16px 0; }
pre code { background: transparent; padding: 0; color: inherit; }
code { background: var(--paper-2); padding: 2px 6px; border-radius: 4px; font-size: .92em; color: var(--recovery-deep); font-family: "SFMono-Regular", Consolas, monospace; }
.table-wrap { overflow: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; font-size: 13px; }
blockquote { border-left: 4px solid var(--recovery); margin: 20px 0; padding: 12px 18px; background: var(--recovery-soft); border-radius: 0 8px 8px 0; }
blockquote p { margin: 0; }
.search-results { position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-height: 480px; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(11,31,58,.18); display: none; }
.search-results.open { display: block; }
.search-results a { display: block; padding: 12px 16px; color: var(--ink); border-bottom: 1px solid var(--paper-2); font-size: 14px; }
.search-results a:hover { background: var(--paper-2); text-decoration: none; }
.search-results .empty { padding: 16px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--border); padding: 32px 48px; text-align: center; color: var(--muted); font-size: 13px; }
footer a { color: var(--recovery-deep); }
@media (max-width: 960px) { header.topbar { padding: 12px 18px; } header.topbar .nav-links { display: none; } .layout { grid-template-columns: 1fr; } aside { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 18px; } main { padding: 28px 24px 64px; } h1 { font-size: 32px; } h2 { font-size: 22px; } .search input { width: 180px; } }
