/* LSPD Portal — restrained, intranet-style */
:root{
  --bg:#0e0f12;
  --panel:#16181d;
  --panel2:#1b1e24;
  --text:#e5e7eb;
  --muted:#9aa6b2;
  --accent:#2b4f77;
  --warn:#b38b2e;
  --danger:#d46a6a;
  --border:#2a2d35;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.topbar{
  background:#101114;
  border-bottom:2px solid var(--accent);
}
.topbar-inner{
  max-width:1100px;
  margin:0 auto;
  padding:16px 20px;
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
}
.brand h1{
  font-size:1.25rem;
  margin:0;
  letter-spacing:.2px;
}
.subtitle{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:.88rem;
}
.nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  padding:6px 8px;
  border-radius:6px;
}
.nav a:hover{
  background:rgba(255,255,255,.04);
  text-decoration:none;
}

.auth{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.auth-meta{
  text-align:right;
  line-height:1.1;
}
.auth-name{ font-size:.92rem; }
.auth-perm{ color:var(--muted); font-size:.78rem; letter-spacing:.8px; }

.container{
  max-width:1100px;
  margin:26px auto;
  padding:0 20px 40px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
}
.col-12{ grid-column:span 12; }
.col-8{ grid-column:span 8; }
.col-6{ grid-column:span 6; }
.col-4{ grid-column:span 4; }
@media (max-width: 900px){
  .col-8,.col-6,.col-4{ grid-column:span 12; }
  .topbar-inner{ flex-direction:column; align-items:flex-start; }
  .auth{ width:100%; justify-content:space-between; }
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-left:4px solid var(--accent);
  border-radius:10px;
  padding:18px;
}
.card h2{ margin:0 0 8px; font-size:1.05rem; }
.card p{ margin:8px 0; color:var(--muted); }
.card ul{ margin:10px 0 0 18px; color:var(--text); }
.card li{ margin:6px 0; color:var(--text); }

.notice{
  background:var(--panel2);
  border:1px solid var(--border);
  border-left:4px solid var(--warn);
  border-radius:10px;
  padding:14px 16px;
  color:var(--text);
}

.restricted{
  border-left-color:var(--danger);
}
.muted{ color:var(--muted); }

.btn{
  display:inline-block;
  background:var(--accent);
  padding:9px 14px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none !important;
}
.btn:hover{ filter:brightness(1.08); }

.link-list{
  list-style:none;
  padding:0;
  margin:10px 0 0;
}
.link-list li{
  border-top:1px solid var(--border);
}
.link-list li:first-child{ border-top:none; }
.link-list a{
  display:block;
  padding:10px 6px;
  border-radius:8px;
}
.link-list a:hover{
  background:rgba(255,255,255,.04);
  text-decoration:none;
}

.table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}
.table th,.table td{
  text-align:left;
  padding:10px 10px;
  border-bottom:1px solid var(--border);
  font-size:.92rem;
}
.table th{
  background:#13151a;
  color:var(--muted);
  font-weight:600;
}
.table tr:hover td{
  background:rgba(255,255,255,.02);
}

.footer{
  border-top:1px solid var(--border);
  background:#0b0c0f;
}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:18px 20px;
  color:var(--muted);
  font-size:.9rem;
}
.doc-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.badge.classification {
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.badge.classification.restricted {
  background: #7a1e1e;
  color: #fff;
}

.badge.classification.internal {
  background: #2a2d35;
  color: #e0e0e0;
}

.badge.classification.public {
  background: #1e7a3d;
  color: #fff;
}

.doc-banner .version,
.doc-banner .updated {
  color: #aaa;
}
