/* =====================================================
   CCRP STAFF PORTAL — Clean, polished, black + blue
   Primary: #09090f (black)
   Secondary: #3b82f6 (blue — buttons + accents only)
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #09090f;
  --bg2:    #0e0e18;
  --bg3:    #131320;
  --bg4:    #18182a;
  --bd:     rgba(255,255,255,0.07);
  --bd2:    rgba(59,130,246,0.25);
  --blue:   #3b82f6;
  --blue-d: #2563eb;
  --txt:    #e8e8f0;
  --txt2:   #5c6070;
  --txt3:   #30323c;
  --green:  #22c55e;
  --red:    #ef4444;
  --yel:    #f59e0b;
  --pur:    #8b5cf6;
  --cyan:   #06b6d4;
  --r:      9px;
  --r2:     13px;
  --shadow: 0 1px 3px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--txt); min-height: 100vh; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; background: var(--bg4); border: 1px solid var(--bd); color: var(--txt); border-radius: var(--r); padding: .45rem .75rem; width: 100%; font-size: .82rem; outline: none; transition: border-color .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
select option { background: var(--bg3); }
textarea { resize: vertical; }

/* ─────────── BUTTONS ─────────── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .44rem 1rem; border-radius: var(--r); font-size: .81rem; font-weight: 600; transition: all .15s; cursor: pointer; border: none; white-space: nowrap; line-height: 1.4; }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-blue:hover  { background: var(--blue-d); }
.btn-ghost { background: transparent; color: var(--txt2); border: 1px solid var(--bd); }
.btn-ghost:hover { border-color: rgba(255,255,255,.15); color: var(--txt); }
.btn-red   { background: transparent; color: var(--red); border: 1px solid rgba(239,68,68,.2); }
.btn-red:hover   { background: rgba(239,68,68,.08); }
.btn-green { background: transparent; color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.btn-green:hover { background: rgba(34,197,94,.08); }
.btn-sm  { padding: .3rem .7rem; font-size: .75rem; }
.btn-xs  { padding: .18rem .5rem; font-size: .69rem; border-radius: 6px; }
.w-full  { width: 100%; justify-content: center; }

/* ─────────── LAYOUT ─────────── */
.sp-body { display: flex; min-height: 100vh; }

/* ─────────── SIDEBAR ─────────── */
.sp-sidebar {
  width: 210px; flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--bd);
  height: 100vh; position: sticky; top: 0;
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
}
.sp-sidebar::-webkit-scrollbar { display: none; }

.sp-logo {
  display: flex; align-items: center; gap: .55rem;
  padding: .85rem .8rem .75rem;
  border-bottom: 1px solid var(--bd);
  text-decoration: none; flex-shrink: 0;
}
.sp-logo img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.sp-logo span { font-size: .8rem; font-weight: 700; color: var(--txt); letter-spacing: -.01em; }

.sp-user {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem; margin: .35rem .4rem;
  border-radius: var(--r); cursor: pointer;
  transition: background .12s;
}
.sp-user:hover { background: rgba(255,255,255,.03); }
.sp-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden;
}
.sp-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sp-user-name { font-size: .77rem; font-weight: 600; color: var(--txt); display: block; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-user-role { font-size: .64rem; color: var(--blue); font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Nav */
.sp-nav { padding: .15rem .4rem .8rem; flex: 1; }
.sp-nav-sep { height: 1px; background: var(--bd); margin: .3rem .35rem; }
.sp-nav-label {
  font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  padding: .6rem .5rem .22rem;
}
.sp-nav-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .4rem .55rem; border-radius: 7px;
  font-size: .77rem; color: var(--txt2); font-weight: 500;
  transition: all .1s; margin-bottom: .02rem;
  cursor: pointer; user-select: none;
}
.sp-nav-item:hover { background: rgba(255,255,255,.04); color: #bbbcc8; }
.sp-nav-item.active { background: rgba(59,130,246,.12); color: #fff; font-weight: 600; }
.sp-nav-item.active .sp-nav-icon { color: var(--blue); }
.sp-nav-item.danger { color: var(--txt3); }
.sp-nav-item.danger:hover { color: var(--red); background: rgba(239,68,68,.05); }
.sp-nav-icon { width: 13px; height: 13px; flex-shrink: 0; color: rgba(255,255,255,.2); transition: color .1s; }
.sp-nav-item:hover .sp-nav-icon { color: var(--txt2); }

/* ─────────── MAIN ─────────── */
.sp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100vh; overflow-y: auto; }

/* Topbar */
.sp-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,9,15,.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  padding: .6rem 1.35rem;
  display: flex; align-items: center; gap: 1rem;
}
.sp-topbar-title { font-size: .82rem; font-weight: 700; color: var(--txt); flex: 1; }
.sp-topbar-right { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.sp-menu-toggle { display: none; background: none; border: none; color: var(--txt2); padding: .3rem; cursor: pointer; }
.live-badge { display: inline-flex; align-items: center; gap: .28rem; font-size: .62rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .07em; }
.live-dot { width: 5px; height: 5px; background: var(--green); border-radius: 50%; animation: lp 1.8s infinite; }
@keyframes lp { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); } }

/* Content */
.sp-content { flex: 1; padding: 1.4rem 1.35rem 2rem; }
.sp-page { display: none; }
.sp-page.active { display: block; }
.sp-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.sp-page-header h1 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.025em; color: var(--txt); }
.sp-page-sub { color: var(--txt2); font-size: .74rem; margin-top: .12rem; }

/* ─────────── CARDS / PANELS ─────────── */
.sp-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .65rem; margin-bottom: 1rem; }
.sp-stat { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .85rem .95rem; display: flex; align-items: center; gap: .7rem; transition: border-color .18s; }
.sp-stat:hover { border-color: rgba(59,130,246,.18); }
.sp-stat-icon { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .85rem; }
.sp-stat-icon.blue   { background: rgba(59,130,246,.1); }
.sp-stat-icon.green  { background: rgba(34,197,94,.1); }
.sp-stat-icon.purple { background: rgba(139,92,246,.1); }
.sp-stat-icon.orange { background: rgba(249,115,22,.1); }
.sp-stat-icon.red    { background: rgba(239,68,68,.1); }
.sp-stat-icon.cyan   { background: rgba(6,182,212,.1); }
.sp-stat-num   { display: block; font-size: 1.25rem; font-weight: 900; color: var(--txt); line-height: 1; letter-spacing: -.02em; }
.sp-stat-label { font-size: .64rem; color: var(--txt2); margin-top: .1rem; text-transform: uppercase; letter-spacing: .05em; }

.sp-panel { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .95rem 1.05rem; }
.sp-panel-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72rem; font-weight: 700; color: var(--txt); letter-spacing: .005em;
  margin-bottom: .7rem; padding-bottom: .6rem; border-bottom: 1px solid var(--bd);
}
.sp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media(max-width:860px) { .sp-two-col { grid-template-columns: 1fr; } }

/* ─────────── TAGS ─────────── */
.tag { display: inline-block; padding: .13rem .48rem; border-radius: 4px; font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag-blue   { background: rgba(59,130,246,.12); color: #60a5fa; }
.tag-red    { background: rgba(239,68,68,.12);  color: #f87171; }
.tag-green  { background: rgba(34,197,94,.12);  color: #4ade80; }
.tag-yellow { background: rgba(245,158,11,.12); color: #fbbf24; }
.tag-purple { background: rgba(139,92,246,.12); color: #a78bfa; }
.tag-cyan   { background: rgba(6,182,212,.12);  color: #22d3ee; }
.tag-gray   { background: rgba(255,255,255,.07); color: var(--txt2); }

/* ─────────── TABLES ─────────── */
.sp-table { width: 100%; border-collapse: collapse; font-size: .79rem; }
.sp-table th { text-align: left; padding: .5rem .8rem; background: var(--bg2); color: var(--txt2); font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--bd); }
.sp-table td { padding: .65rem .8rem; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--txt); }
.sp-table tr:last-child td { border: none; }
.sp-table tr:hover td { background: rgba(255,255,255,.015); }

/* ─────────── FORMS ─────────── */
.fg { margin-bottom: .7rem; }
.fg label { display: block; font-size: .69rem; font-weight: 600; color: var(--txt2); margin-bottom: .25rem; text-transform: uppercase; letter-spacing: .04em; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media(max-width:480px) { .fr { grid-template-columns: 1fr; } }
.req { color: var(--red); }

/* ─────────── MODALS ─────────── */
.sp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 400; display: flex; align-items: center; justify-content: center; padding: 1.5rem; backdrop-filter: blur(8px); }
.sp-modal { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r2); padding: 1.5rem; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05); }
.sp-modal-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--bd); }
.sp-modal-hd h2 { font-size: .9rem; font-weight: 800; color: var(--txt); }
.sp-modal-close { background: none; border: none; color: var(--txt2); font-size: .95rem; padding: .15rem .35rem; border-radius: 5px; cursor: pointer; line-height: 1; }
.sp-modal-close:hover { color: var(--txt); background: rgba(255,255,255,.07); }
.sp-modal-ft { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--bd); }

/* ─────────── TOAST ─────────── */
.sp-toast { position: fixed; bottom: 1.3rem; right: 1.3rem; background: var(--bg3); border: 1px solid var(--bd); border-radius: 9px; padding: .6rem .9rem; font-size: .77rem; font-weight: 500; color: #c4c4d0; z-index: 600; opacity: 0; transform: translateY(6px); transition: all .18s; pointer-events: none; max-width: 260px; }
.sp-toast.show { opacity: 1; transform: translateY(0); }
.sp-toast.ok   { border-color: rgba(34,197,94,.3); }
.sp-toast.err  { border-color: rgba(239,68,68,.3); }
.sp-toast.warn { border-color: rgba(245,158,11,.3); }

/* ─────────── FEED ─────────── */
.sp-feed { display: flex; flex-direction: column; }
.sp-feed-item { display: flex; align-items: flex-start; gap: .45rem; padding: .36rem .05rem; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .77rem; color: var(--txt2); }
.sp-feed-item:last-child { border: none; }
.sp-feed-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: .36rem; }
.sp-feed-dot.blue { background: var(--blue); } .sp-feed-dot.green { background: var(--green); }
.sp-feed-dot.red  { background: var(--red); }  .sp-feed-dot.yellow { background: var(--yel); }
.sp-feed-empty { padding: 2.5rem 1rem; text-align: center; color: var(--txt3); font-size: .77rem; }

/* ─────────── PUNISHMENT LOGS ─────────── */
.plog-list { display: flex; flex-direction: column; gap: .5rem; }
.plog { background: var(--bg2); border: 1px solid var(--bd); border-radius: var(--r); padding: .85rem .95rem; display: flex; gap: .7rem; align-items: flex-start; transition: border-color .15s; }
.plog:hover { border-color: rgba(59,130,246,.15); }
.plog-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-d)); display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden; }
.plog-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.plog-av.ban  { background: linear-gradient(135deg, var(--pur), #6d28d9); }
.plog-av.kick { background: linear-gradient(135deg, var(--yel), #b45309); }
.plog-body { flex: 1; min-width: 0; }
.plog-top { display: flex; align-items: center; gap: .45rem; margin-bottom: .22rem; flex-wrap: wrap; }
.plog-user { font-weight: 700; font-size: .82rem; color: var(--txt); }
.plog-body p { font-size: .75rem; color: var(--txt2); line-height: 1.5; margin-bottom: .07rem; }
.plog-meta { font-size: .67rem; color: var(--txt3) !important; }
.plog-del { background: none; border: none; color: var(--txt3); font-size: .8rem; padding: .12rem; cursor: pointer; border-radius: 4px; flex-shrink: 0; align-self: flex-start; line-height: 1; }
.plog-del:hover { color: var(--red); }

/* ─────────── MOD PANEL ─────────── */
/* Proper 3-col that actually fills the viewport */
#sp-mod-panel .sp-page-header { margin-bottom: .85rem; }
.mp-wrap { display: grid; grid-template-columns: 232px 1fr 280px; gap: .85rem; height: calc(100vh - 115px); }
@media(max-width:1200px) { .mp-wrap { grid-template-columns: 215px 1fr; height: auto; } }
@media(max-width:780px)  { .mp-wrap { grid-template-columns: 1fr; } }

.mp-col { display: flex; flex-direction: column; gap: .85rem; overflow-y: auto; padding-bottom: .5rem; }
.mp-col::-webkit-scrollbar { width: 3px; }
.mp-col::-webkit-scrollbar-track { background: transparent; }
.mp-col::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px; }

/* Profile card */
.mp-profile { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: 1.1rem; text-align: center; }
.mp-av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 800; color: #fff; margin: 0 auto .55rem; overflow: hidden; }
.mp-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mp-uname { font-size: .88rem; font-weight: 700; color: var(--txt); line-height: 1.2; }
.mp-rank  { font-size: .67rem; color: var(--blue); font-weight: 600; margin: .18rem 0 .55rem; }
.mp-pills { display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap; margin-bottom: .6rem; }
.mp-shift-lbl   { font-size: .58rem; color: var(--txt2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .1rem; }
.mp-shift-timer { font-size: 1.4rem; font-weight: 900; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: .55rem; }

/* Toolbox grid — 2 col tight */
.mp-toolbox { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.mp-tool {
  padding: .48rem .55rem; border-radius: 7px;
  font-size: .74rem; font-weight: 600; text-align: center;
  border: 1px solid var(--bd);
  background: rgba(255,255,255,.025); color: #8a8c9a;
  cursor: pointer; transition: all .12s; font-family: inherit;
}
.mp-tool:hover { background: rgba(59,130,246,.09); border-color: rgba(59,130,246,.2); color: var(--txt); }
.mp-tool.t-green { background: rgba(34,197,94,.07); border-color: rgba(34,197,94,.18); color: #4ade80; }
.mp-tool.t-green:hover { background: rgba(34,197,94,.14); }
.mp-tool.t-red   { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.16); color: #f87171; }
.mp-tool.t-red:hover   { background: rgba(239,68,68,.13); }

/* ERLC command input */
.erlc-row { display: flex; gap: .4rem; }
.erlc-row input { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: .79rem; }
.erlc-result { margin-top: .4rem; font-size: .73rem; color: var(--txt2); min-height: 1rem; }
.erlc-result.ok  { color: var(--green); }
.erlc-result.err { color: var(--red); }

/* Quick command chips */
.qcmd-row { display: flex; flex-wrap: wrap; gap: .32rem; margin-top: .5rem; }
.qcmd {
  padding: .22rem .55rem; border-radius: 5px;
  font-size: .69rem; font-weight: 600;
  background: var(--bg2); border: 1px solid var(--bd);
  color: var(--txt2); cursor: pointer;
  transition: all .12s;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.qcmd:hover { background: rgba(59,130,246,.09); border-color: rgba(59,130,246,.22); color: var(--txt); }
.qcmd.locked { opacity: .3; cursor: not-allowed; }

/* In-game player list */
.player-list { display: flex; flex-direction: column; gap: .25rem; max-height: 260px; overflow-y: auto; }
.player-row { display: flex; align-items: center; gap: .55rem; padding: .32rem .4rem; border-radius: 6px; font-size: .76rem; color: var(--txt2); transition: background .1s; }
.player-row:hover { background: rgba(255,255,255,.04); cursor: pointer; }
.player-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.player-name { flex: 1; color: var(--txt); font-weight: 500; }
.player-team { font-size: .66rem; color: var(--txt3); }

/* ─────────── OVERSIGHT ─────────── */
.oversight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem; }
.oversight-card { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .95rem; transition: border-color .18s; }
.oversight-card:hover { border-color: rgba(59,130,246,.2); }
.oc-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.oc-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; color: #fff; flex-shrink: 0; overflow: hidden; position: relative; }
.oc-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.oc-status { position: absolute; bottom: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--bg3); }
.oc-status.online  { background: #23a55a; } .oc-status.idle { background: var(--yel); }
.oc-status.dnd     { background: var(--red); } .oc-status.offline { background: #80848e; }
.oc-name { font-size: .82rem; font-weight: 700; color: var(--txt); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-rank { font-size: .65rem; color: var(--blue); font-weight: 600; }
.oc-stats { display: flex; gap: .75rem; font-size: .7rem; color: var(--txt2); flex-wrap: wrap; }
.oc-stats span { color: var(--txt); font-weight: 700; }

/* ─────────── DEPT ACTIVITY ─────────── */
.dept-act-list { display: flex; flex-direction: column; gap: .65rem; }
.dept-act-row { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .85rem .95rem; }
.dar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.dar-name { font-size: .82rem; font-weight: 700; color: var(--txt); }
.dar-stars { color: var(--yel); font-size: .72rem; letter-spacing: .03em; }
.dar-bar-wrap { height: 3px; background: var(--bg); border-radius: 2px; overflow: hidden; margin-bottom: .5rem; }
.dar-bar { height: 100%; border-radius: 2px; transition: width .4s; }
.dar-meta { display: flex; gap: .8rem; font-size: .7rem; color: var(--txt2); flex-wrap: wrap; }
.dar-meta span { color: var(--txt); font-weight: 600; }

/* ─────────── TICKET ─────────── */
.ticket-list { display: flex; flex-direction: column; gap: .55rem; }
.ticket-card { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .85rem .95rem; display: flex; gap: .8rem; align-items: flex-start; transition: border-color .15s; }
.ticket-card:hover { border-color: rgba(59,130,246,.18); }
.ticket-card h4 { font-size: .82rem; font-weight: 700; color: var(--txt); margin-bottom: .2rem; }
.ticket-card p  { font-size: .75rem; color: var(--txt2); line-height: 1.5; }
.ticket-meta    { font-size: .66rem; color: var(--txt3); margin-top: .25rem; }

/* ─────────── DOCS ─────────── */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.doc-card { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: .95rem; cursor: pointer; transition: all .18s; }
.doc-card:hover { border-color: rgba(59,130,246,.25); transform: translateY(-2px); }
.doc-card h3 { font-size: .82rem; font-weight: 700; color: var(--txt); margin-bottom: .28rem; }
.doc-card p  { font-size: .74rem; color: var(--txt2); line-height: 1.6; }
.doc-back { cursor: pointer; font-size: .77rem; color: var(--blue); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .3rem; }
.doc-viewer { background: var(--bg3); border: 1px solid var(--bd); border-radius: var(--r); padding: 1.25rem; }
.doc-viewer h2  { font-size: .95rem; font-weight: 800; margin-bottom: .8rem; color: var(--txt); }
.doc-viewer ul  { padding-left: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.doc-viewer li  { font-size: .82rem; color: var(--txt2); line-height: 1.65; }

/* ─────────── LOCKDOWN BANNER ─────────── */
.lockdown-banner { background: rgba(239,68,68,.06); border-bottom: 1px solid rgba(239,68,68,.2); padding: .65rem 1.35rem; display: flex; align-items: center; gap: .6rem; }
.lockdown-banner p { font-size: .76rem; color: var(--red); font-weight: 700; letter-spacing: .01em; }

/* ─────────── RESPONSIVE ─────────── */
@media(max-width:768px) {
  .sp-sidebar { display: none; position: fixed; z-index: 200; height: 100vh; top: 0; left: 0; }
  .sp-sidebar.open { display: flex; }
  .sp-menu-toggle { display: flex; }
  .sp-content { padding: 1rem; }
}
