@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ================================================================
   UROFLASH DESIGN SYSTEM
   Dark: deep navy · Accent: electric cyan · Gold: amber
================================================================ */
:root {
  /* Core palette — light */
  --bg:        #F0F2F8;
  --bg2:       #E4E8F2;
  --surface:   #FFFFFF;
  --surface2:  #F5F7FC;
  --surface3:  #EDF0F9;
  --border:    #D4D9EC;
  --border2:   #C2C9E0;
  --text:      #0A0E1F;
  --text2:     #3D4462;
  --text3:     #8892B0;

  /* Brand */
  --navy:      #0A0E2E;
  --navy2:     #141840;
  --navy3:     #1E2452;
  --cyan:      #00D4FF;
  --cyan2:     #00AACE;
  --cyan3:     #007A99;
  --cyan-glow: rgba(0,212,255,0.12);
  --gold:      #F5A623;
  --gold2:     #D4861A;
  --gold-bg:   rgba(245,166,35,0.1);
  --red:       #FF4B6E;
  --red-bg:    rgba(255,75,110,0.1);
  --green:     #00E5A0;
  --green-bg:  rgba(0,229,160,0.1);

  /* Accent = cyan in light mode */
  --accent:     var(--navy);
  --accent2:    var(--navy2);
  --accent3:    var(--navy3);
  --accent-glow:rgba(10,14,46,0.08);
  --highlight:  var(--cyan);
  --highlight2: var(--cyan2);

  --shadow-sm: 0 1px 4px rgba(10,14,46,0.07);
  --shadow:    0 4px 20px rgba(10,14,46,0.1);
  --shadow-lg: 0 12px 48px rgba(10,14,46,0.14);
  --shadow-xl: 0 24px 72px rgba(10,14,46,0.18);
  --r:   10px;
  --r-lg:18px;
  --t:   0.2s;
}

[data-theme="dark"] {
  --bg:        #060818;
  --bg2:       #0C1028;
  --surface:   #0F1530;
  --surface2:  #141A38;
  --surface3:  #1A2142;
  --border:    #1E2650;
  --border2:   #28336A;
  --text:      #E8ECFF;
  --text2:     #8892B0;
  --text3:     #4A5280;

  --accent:     var(--cyan);
  --accent2:    var(--cyan2);
  --accent3:    var(--cyan3);
  --accent-glow:var(--cyan-glow);
  --highlight:  var(--cyan);
  --highlight2: var(--cyan2);

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.4);
  --shadow:    0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --shadow-xl: 0 24px 72px rgba(0,0,0,0.7);
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  transition: background var(--t), color var(--t);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; border: none; background: none; color: inherit; }
input, textarea, select { font-family: 'DM Sans', sans-serif; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* ── PAGES ── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; animation: ufFadeUp 0.32s ease both; }
@keyframes ufFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ── TOASTS ── */
#toasts { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-radius: 12px; font-size: 13.5px; font-weight: 500;
  min-width: 240px; max-width: 340px;
  box-shadow: var(--shadow-lg); animation: toastIn 0.3s ease; pointer-events: all;
  border: 1px solid rgba(255,255,255,0.08);
}
.toast.out { animation: toastOut 0.25s ease forwards; }
.toast-success { background: var(--navy); color: var(--cyan); }
.toast-error   { background: var(--red); color: #fff; }
.toast-info    { background: var(--navy2); color: var(--cyan); }
.toast-warning { background: var(--gold); color: var(--navy); }
.toast-icon { font-weight: 700; }
@keyframes toastIn  { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to   { transform: translateX(110%); opacity: 0; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 9px;
  font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  transition: all var(--t); white-space: nowrap; cursor: pointer; border: none; letter-spacing: 0.01em;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn-primary {
  background: var(--navy); color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.15);
}
[data-theme="dark"] .btn-primary {
  background: var(--cyan); color: var(--navy);
}
.btn-primary:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,212,255,0.25); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border2); }
.btn-secondary:hover { border-color: var(--highlight); color: var(--highlight2); transform: translateY(-1px); }
.btn-ghost { color: var(--text2); padding: 8px 12px; border-radius: 8px; }
.btn-ghost:hover { background: var(--surface2); color: var(--text); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-sm { padding: 6px 13px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11.5px; border-radius: 7px; border: 1.5px solid var(--border); background: var(--surface2); color: var(--text2); display: inline-flex; align-items: center; gap: 4px; transition: all var(--t); }
.btn-xs:hover { border-color: var(--highlight); color: var(--highlight2); }
.btn-icon { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 9px; }
.btn-danger-xs { padding: 4px 8px; font-size: 12px; border-radius: 6px; cursor: pointer; border: none; background: var(--red-bg); color: var(--red); transition: all var(--t); }
.btn-danger-xs:hover { background: var(--red); color: #fff; }

/* ── FORM ── */
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.fi {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--surface2); color: var(--text); font-size: 14px;
  transition: all var(--t); outline: none; font-family: 'DM Sans', sans-serif;
}
.fi:focus { border-color: var(--highlight); background: var(--surface); box-shadow: 0 0 0 3px var(--cyan-glow); }
.fi::placeholder { color: var(--text3); }
.fi-sel { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
textarea.fi { resize: vertical; min-height: 70px; }

/* ── MODAL ── */
.overlay { position: fixed; inset: 0; background: rgba(6,8,24,0.75); backdrop-filter: blur(8px); z-index: 900; display: none; align-items: center; justify-content: center; padding: 16px; }
.overlay.open { display: flex; animation: fadeIn 0.2s; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); animation: modalIn 0.28s ease; border: 1px solid var(--border); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0; }
.modal-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; }
.modal-close { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--text3); cursor: pointer; transition: all var(--t); background: none; border: none; font-size: 18px; }
.modal-close:hover { background: var(--surface2); color: var(--text); }
.modal-body { padding: 16px 22px 22px; }
@keyframes modalIn { from { transform: translateY(16px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ── CARD ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card-title { font-family: 'Syne', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em; }

/* ── MISC ── */
.spacer { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-open    { background: var(--green-bg); color: var(--green); }
.badge-pending { background: var(--gold-bg); color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; background: var(--surface2); color: var(--text2); border: 1px solid var(--border); }
.chip-pdf { background: var(--cyan-glow); color: var(--cyan2); border-color: rgba(0,212,255,0.25); }
[data-theme="dark"] .chip-pdf { color: var(--cyan); }


/* ──────────────────────────────────────────────
   TOPBAR
────────────────────────────────────────────── */
.topbar {
  height: 56px; background: var(--navy);
  border-bottom: 1px solid rgba(0,212,255,0.1);
  display: flex; align-items: center; padding: 0 22px; gap: 12px;
  position: sticky; top: 0; z-index: 100;
}
.logo {
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800;
  color: #fff; letter-spacing: -0.5px; line-height: 1; display: flex; align-items: baseline; gap: 1px;
}
.logo .logo-uro { color: var(--cyan); }
.logo .logo-flash { color: #fff; }
.logo-bolt { color: var(--gold); font-size: 18px; margin-left: 2px; }
.topbar-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.12); }
.topbar-tagline { font-size: 11.5px; color: rgba(255,255,255,0.45); font-weight: 400; letter-spacing: 0.03em; }
.btn-icon-top {
  width: 34px; height: 34px; border-radius: 9px; border: none; background: rgba(255,255,255,0.06);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); transition: all var(--t);
}
.btn-icon-top:hover { background: rgba(0,212,255,0.15); color: var(--cyan); }

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.c-hero {
  background: var(--navy);
  padding: 52px 24px 44px;
  position: relative; overflow: hidden;
}
.c-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,212,255,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 20%, rgba(245,166,35,0.05) 0%, transparent 50%);
}
.c-hero::after {
  content: 'URO'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: 'Syne', sans-serif; font-size: 200px; font-weight: 800;
  color: rgba(0,212,255,0.04); line-height: 1; pointer-events: none; letter-spacing: -8px;
}
.c-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.c-hero-eyebrow {
  font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.c-hero-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.c-hero-title {
  font-family: 'Syne', sans-serif; font-size: 58px; font-weight: 800;
  color: #fff; letter-spacing: -2px; line-height: 0.92;
}
.c-hero-title .uro  { color: var(--cyan); }
.c-hero-title .flash { color: #fff; }
.c-hero-title .bolt { color: var(--gold); font-size: 48px; }
.c-hero-sub { color: rgba(255,255,255,0.5); font-size: 14px; font-weight: 300; line-height: 1.75; max-width: 380px; margin-top: 14px; }
.c-hero-stats { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.hero-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 14px; padding: 16px 22px; text-align: center; min-width: 90px;
  position: relative; overflow: hidden;
}
.hero-pill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,212,255,0.4), transparent); }
.hero-pill span { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; color: var(--cyan); display: block; line-height: 1; }
.hp-lbl { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 4px; display: block; letter-spacing: 0.06em; text-transform: uppercase; }

/* ──────────────────────────────────────────────
   CONTROLS BAR
────────────────────────────────────────────── */
.c-controls {
  background: var(--surface); border-bottom: 1px solid var(--border);
  position: sticky; top: 56px; z-index: 90;
}
.c-controls-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Issue tab strip */
.it-wrap { display: flex; align-items: center; gap: 6px; padding: 12px 0 0; }
.it-arrow {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1.5px solid var(--border); background: var(--surface2); color: var(--text3);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  cursor: pointer; flex-shrink: 0; transition: all var(--t); line-height: 1;
}
.it-arrow:hover { border-color: var(--highlight); color: var(--highlight2); }
.it-strip { display: flex; gap: 4px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex: 1; }
.it-strip::-webkit-scrollbar { display: none; }
.it-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px 8px 0 0;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--text3); background: var(--surface2);
  border: 1.5px solid var(--border); border-bottom: none;
  cursor: pointer; white-space: nowrap; transition: all var(--t); flex-shrink: 0;
}
.it-btn:hover { color: var(--text); border-color: var(--border2); background: var(--surface); }
.it-btn.active { background: var(--surface); color: var(--navy); border-color: var(--navy); border-bottom-color: var(--surface); margin-bottom: -1px; }
[data-theme="dark"] .it-btn.active { color: var(--cyan); border-color: var(--cyan); }
.it-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.it-cnt { background: var(--bg2); color: var(--text3); border-radius: 10px; padding: 1px 6px; font-size: 9px; font-weight: 700; }
.it-btn.active .it-cnt { background: var(--cyan-glow); color: var(--cyan2); }
[data-theme="dark"] .it-btn.active .it-cnt { color: var(--cyan); }

/* Toolbar */
.c-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 0 6px; flex-wrap: wrap; }
.c-search-wrap { position: relative; flex: 1; min-width: 140px; max-width: 260px; }
.c-search-ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text3); pointer-events: none; }
.c-search {
  width: 100%; padding: 7px 10px 7px 30px;
  border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--surface2); color: var(--text); font-size: 13px;
  outline: none; transition: all var(--t); font-family: 'DM Sans', sans-serif;
}
.c-search:focus { border-color: var(--highlight); background: var(--surface); box-shadow: 0 0 0 3px var(--cyan-glow); }
.c-sort {
  padding: 7px 28px 7px 10px; border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--surface2); color: var(--text); font-size: 12.5px; outline: none; cursor: pointer;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center;
  font-family: 'DM Sans', sans-serif;
}
.c-picker {
  padding: 7px 28px 7px 10px; border: 1.5px solid var(--border); border-radius: 9px;
  background: var(--surface2); color: var(--text); font-size: 12.5px; outline: none; cursor: pointer;
  display: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; font-family: 'DM Sans', sans-serif;
}
.cv-btns { display: flex; border: 1.5px solid var(--border); border-radius: 9px; overflow: hidden; }
.cv-btn { padding: 7px 10px; background: var(--surface2); color: var(--text3); border: none; cursor: pointer; transition: all var(--t); display: flex; align-items: center; }
.cv-btn + .cv-btn { border-left: 1.5px solid var(--border); }
.cv-btn.active { background: var(--navy); color: var(--cyan); }
[data-theme="dark"] .cv-btn.active { background: var(--cyan); color: var(--navy); }
.cv-btn:not(.active):hover { background: var(--surface); color: var(--text); }

/* Filter tabs */
.cf-tabs { display: flex; gap: 5px; padding: 0 0 8px; }
.cf-btn { padding: 5px 14px; border-radius: 20px; font-family: 'Syne', sans-serif; font-size: 11.5px; font-weight: 600; border: 1.5px solid var(--border); background: var(--surface); color: var(--text2); cursor: pointer; transition: all 0.18s; }
.cf-btn:hover { border-color: var(--highlight2); color: var(--highlight2); }
.cf-btn.active { border-color: var(--navy); background: var(--navy); color: var(--cyan); }
[data-theme="dark"] .cf-btn.active { border-color: var(--cyan); background: var(--cyan); color: var(--navy); }

/* ──────────────────────────────────────────────
   CLIENT BODY + ISSUE PANEL
────────────────────────────────────────────── */
.c-body { max-width: 1200px; margin: 0 auto; padding: 28px 24px 56px; }
.c-footer { background: var(--navy); padding: 18px 24px; margin-top: 0; }
.c-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.c-footer-brand { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--cyan); }
.c-footer-sep { color: rgba(255,255,255,0.2); }
.c-footer-copy { color: rgba(255,255,255,0.35); }

/* Issue panel header */
.ip-header { margin-bottom: 24px; }
.ip-accent-line { height: 3px; width: 48px; border-radius: 3px; margin-bottom: 14px; }
.ip-kicker { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.ip-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.15; }
.ip-tagline { font-weight: 400; color: var(--text2); font-size: 18px; }
.ip-chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ── CARD GRID ── */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
.c-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s, border-color 0.2s;
}
.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--cyan); }
.c-cover { height: 112px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.c-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3)); }
.c-cover-num {
  position: absolute; bottom: 8px; right: 12px;
  font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800;
  color: rgba(255,255,255,0.18); line-height: 1; z-index: 1;
}
.c-body-card { padding: 14px 16px 16px; }
.c-issue-lbl { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.c-title { font-family: 'DM Serif Display', serif; font-size: 16px; font-weight: 400; line-height: 1.3; margin-bottom: 6px; color: var(--text); }
.c-sub { font-size: 12.5px; color: var(--text2); line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-foot { display: flex; align-items: center; justify-content: space-between; }
.c-cta { display: flex; align-items: center; gap: 5px; font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: var(--navy); transition: gap 0.2s; letter-spacing: 0.02em; }
[data-theme="dark"] .c-cta { color: var(--cyan); }
.c-card:hover .c-cta { gap: 9px; color: var(--cyan2); }
.c-views { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text3); }

/* ── LIST VIEW ── */
.c-list { display: flex; flex-direction: column; gap: 9px; }
.cl-row {
  display: flex; align-items: stretch; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cl-row:hover { transform: translateX(5px); box-shadow: var(--shadow); border-color: var(--cyan); }
.cl-bar { width: 4px; flex-shrink: 0; }
.cl-content { flex: 1; padding: 12px 16px; min-width: 0; }
.cl-top { margin-bottom: 3px; }
.cl-iss { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); }
.cl-title { font-family: 'DM Serif Display', serif; font-size: 15px; line-height: 1.3; margin-bottom: 3px; }
.cl-sub { font-size: 12px; color: var(--text2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cl-right { display: flex; align-items: center; padding: 0 14px; flex-shrink: 0; }

/* ── EMPTY STATE ── */
.c-empty { text-align: center; padding: 80px 20px; color: var(--text3); }
.c-empty-icon { font-size: 48px; margin-bottom: 14px; }
.c-empty h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--text2); margin-bottom: 5px; }
.c-empty p { font-size: 13px; }

/* ──────────────────────────────────────────────
   VIEWER
────────────────────────────────────────────── */
.viewer-topbar { display: flex; align-items: center; gap: 8px; padding: 0 22px; }
.btn-back {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  border-radius: 9px; font-family: 'Syne', sans-serif; font-size: 12.5px; font-weight: 700;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer; white-space: nowrap;
  transition: all var(--t); flex-shrink: 0;
}
.btn-back:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(0,212,255,0.1); }
.v-crumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,0.4); overflow: hidden; min-width: 0; }
.crumb-back { background: none; border: none; cursor: pointer; color: var(--cyan); font-size: 12.5px; display: flex; align-items: center; gap: 4px; white-space: nowrap; font-family: 'Syne', sans-serif; font-weight: 700; }
.crumb-sep { color: rgba(255,255,255,0.25); }
.crumb-cur { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,0.55); }
.viewer-body { max-width: 980px; margin: 0 auto; padding: 24px 22px 48px; }
.viewer-meta {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-bottom: 18px;
}
.vm-progress { height: 4px; }
.vm-inner { padding: 20px 24px; }
.vm-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vm-issue { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--cyan-glow); padding: 3px 10px; border-radius: 6px; border: 1px solid rgba(0,212,255,0.2); }
[data-theme="dark"] .vm-issue { color: var(--cyan); }
.vm-month { font-size: 12px; color: var(--text3); font-family: 'Syne', sans-serif; font-weight: 600; }
.vm-views { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text3); margin-left: auto; }
.vm-title { font-family: 'DM Serif Display', serif; font-size: 26px; line-height: 1.25; margin-bottom: 8px; }
.vm-sub { font-size: 14.5px; color: var(--text2); line-height: 1.7; }
.vm-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-family: 'Syne', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--cyan2); text-decoration: none; }
[data-theme="dark"] .vm-link { color: var(--cyan); }
.pdf-shell { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.pdf-bar { padding: 10px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; background: var(--surface2); flex-wrap: wrap; }
.pdf-dots { display: flex; gap: 5px; flex-shrink: 0; }
.dot-r { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; display: block; }
.dot-y { width: 11px; height: 11px; border-radius: 50%; background: #FEBC2E; display: block; }
.dot-g { width: 11px; height: 11px; border-radius: 50%; background: #28C840; display: block; }
.pdf-fname { flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-actions { display: flex; gap: 6px; flex-shrink: 0; }
.pdf-frame-wrap { height: 720px; background: #2A2A2E; }
.pdf-empty { padding: 60px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--surface2); }

/* Mobile PDF viewer */
.pdf-mobile-wrap { padding: 52px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--surface2); }
.pdf-mobile-icon { font-size: 60px; margin-bottom: 16px; }
.pdf-mobile-title { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text3); margin-bottom: 22px; word-break: break-all; max-width: 280px; }
.pdf-mobile-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.pdf-mobile-hint { margin-top: 18px; font-size: 12px; color: var(--text3); max-width: 280px; line-height: 1.55; }
.dl-label, .fs-label {}

/* ──────────────────────────────────────────────
   ADMIN LAYOUT
────────────────────────────────────────────── */
.adm-shell { display: flex; min-height: 100vh; position: relative; }
.adm-sidebar {
  width: 220px; flex-shrink: 0; background: var(--navy);
  padding: 0 0 16px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  transition: transform 0.26s ease; border-right: 1px solid rgba(0,212,255,0.08);
}
.sb-logo { padding: 16px 18px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,212,255,0.1); margin-bottom: 10px; }
.sb-role { font-family: 'Syne', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 2px 7px; border-radius: 5px; }
.sb-label { font-family: 'Syne', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); padding: 10px 16px 4px; display: block; }
.sb-nav { padding: 0 8px; flex: 1; }
.nav-btn {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.45); transition: all 0.18s; cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.nav-btn:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.nav-btn.active { background: rgba(0,212,255,0.12); color: var(--cyan); }
.sb-badge { margin-left: auto; background: var(--red); color: #fff; border-radius: 10px; padding: 1px 6px; font-size: 9px; font-weight: 700; }
.sb-bottom { padding: 10px 8px 0; border-top: 1px solid rgba(255,255,255,0.07); margin-top: auto; }
.sb-bottom .btn-ghost { color: rgba(255,255,255,0.45); font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 600; }
.sb-bottom .btn-ghost:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); }
.sb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 199; }
.adm-main { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow-x: hidden; }
.adm-topbar {
  height: 56px; background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 22px; gap: 10px;
  position: sticky; top: 0; z-index: 80;
}
.adm-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-section { display: none; flex: 1; }
.a-section.active { display: block; animation: ufFadeUp 0.22s ease both; }
.sec-inner { padding: 26px 28px 52px; max-width: 1200px; }
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-title { font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.sec-sub { font-size: 13px; color: var(--text2); margin-top: 3px; }

/* ── DASHBOARD STATS ── */
.ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.ds-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.ds-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--gold)); opacity: 0; transition: opacity var(--t); }
.ds-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border2); }
.ds-card:hover::before { opacity: 1; }
.ds-icon { font-size: 22px; margin-bottom: 12px; }
.ds-val { font-family: 'Syne', sans-serif; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.ds-lbl { font-family: 'Syne', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--text); margin-top: 5px; }
.ds-sub { font-size: 11.5px; color: var(--text3); margin-top: 3px; }
.dash-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Issue breakdown */
.ib-grid { padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 7px; max-height: 300px; overflow-y: auto; }
.ib-card { display: flex; align-items: stretch; background: var(--surface2); border-radius: 10px; overflow: hidden; transition: transform 0.15s; }
.ib-card:hover { transform: translateX(3px); }
.ib-accent { width: 3px; flex-shrink: 0; }
.ib-body { padding: 9px 12px; flex: 1; }
.ib-iss { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 13px; }
.ib-month { font-size: 11px; color: var(--text3); margin-top: 1px; }
.ib-count { font-size: 12px; color: var(--text2); margin-top: 3px; }
.ib-views { font-family: 'Syne', sans-serif; font-size: 11.5px; font-weight: 700; color: var(--cyan2); margin-top: 2px; }
[data-theme="dark"] .ib-views { color: var(--cyan); }
.dl-row { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--border); transition: background var(--t); }
.dl-row:last-child { border-bottom: none; }
.dl-row:hover { background: var(--surface2); }
.dl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dl-body { flex: 1; min-width: 0; }
.dl-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-meta { font-size: 11.5px; color: var(--text3); margin-top: 2px; }

/* ── ARTICLES ── */
.art-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.af-tabs { display: flex; gap: 4px; }
.af-tab { padding: 6px 13px; border-radius: 20px; font-family: 'Syne', sans-serif; font-size: 11.5px; font-weight: 700; border: 1.5px solid var(--border); background: var(--surface); color: var(--text2); cursor: pointer; transition: all 0.18s; }
.af-tab:hover { border-color: var(--highlight2); color: var(--highlight2); }
.af-tab.active { border-color: var(--navy); background: var(--navy); color: var(--cyan); }
[data-theme="dark"] .af-tab.active { border-color: var(--cyan); background: rgba(0,212,255,0.15); color: var(--cyan); }
.at-search { position: relative; flex: 1; max-width: 230px; }
.at-search svg { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--text3); pointer-events: none; }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ac-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.ac-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--cyan); }
.ac-bar { height: 3px; }
.ac-body { padding: 14px; }
.ac-tags { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.ac-iss { font-family: 'Syne', sans-serif; font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); background: var(--surface2); padding: 2px 8px; border-radius: 6px; }
.ac-pdf-tag { font-family: 'Syne', sans-serif; font-size: 9.5px; font-weight: 800; color: var(--green); background: var(--green-bg); padding: 2px 8px; border-radius: 6px; }
.ac-no-pdf { color: var(--gold); background: var(--gold-bg); }
.ac-title { font-family: 'DM Serif Display', serif; font-size: 14.5px; line-height: 1.3; margin-bottom: 5px; }
.ac-sub { font-size: 12px; color: var(--text2); line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-path { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--text3); background: var(--bg2); padding: 4px 8px; border-radius: 5px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-meta { font-size: 11.5px; color: var(--text3); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ac-actions { display: flex; gap: 6px; }

/* ── ANALYTICS ── */
.an-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.an-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 14px; position: relative; overflow: hidden; }
.an-card::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--cyan), transparent); border-radius: 0 0 0 10px; }
.an-val { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.an-lbl { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; margin-top: 5px; }
.an-sub { font-size: 11px; color: var(--text3); margin-top: 2px; }
.an-charts { display: flex; flex-direction: column; gap: 16px; }
.an-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bc-wrap { padding: 16px 18px 12px; overflow-x: auto; }
.bc-chart { display: flex; align-items: flex-end; gap: 4px; height: 140px; min-width: 0; }
.bc-col { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; min-width: 18px; cursor: default; }
.bc-v { font-size: 9px; color: var(--text3); font-weight: 600; font-family: 'Syne', sans-serif; }
.bc-bar { width: 100%; max-width: 30px; border-radius: 4px 4px 0 0; min-height: 3px; transition: height 0.9s cubic-bezier(0.4,0,0.2,1); }
.bc-lbl { font-size: 8.5px; color: var(--text3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30px; font-family: 'Syne', sans-serif; }
.hb-wrap { padding: 14px 18px; }
.hb-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.hb-lbl { width: 48px; font-family: 'Syne', sans-serif; font-size: 10.5px; color: var(--text2); text-align: right; flex-shrink: 0; font-weight: 600; }
.hb-track { flex: 1; height: 12px; background: var(--surface2); border-radius: 6px; overflow: hidden; }
.hb-fill { height: 100%; border-radius: 6px; width: 0; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.hb-val { width: 26px; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; text-align: right; flex-shrink: 0; }
.ta-row { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--border); }
.ta-row:last-child { border-bottom: none; }
.ta-rank { width: 22px; height: 22px; border-radius: 7px; background: var(--cyan-glow); color: var(--cyan2); font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
[data-theme="dark"] .ta-rank { color: var(--cyan); }
.ta-body { flex: 1; min-width: 0; }
.ta-title { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-meta { font-size: 11px; color: var(--text3); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.ta-views { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text2); font-weight: 600; flex-shrink: 0; }
.db-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.db-name { width: 62px; font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: var(--text2); flex-shrink: 0; }
.db-track { flex: 1; height: 14px; background: var(--surface2); border-radius: 6px; overflow: hidden; }
.db-fill { height: 100%; border-radius: 6px; width: 0; transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.db-pct { width: 34px; font-family: 'Syne', sans-serif; font-size: 11.5px; font-weight: 700; color: var(--text); text-align: right; flex-shrink: 0; }

/* ── VIEWER LOG ── */
.vl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.vl-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; text-align: center; }
.vl-sv { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; line-height: 1; }
.vl-sl { font-size: 12px; color: var(--text2); margin-top: 4px; font-family: 'Syne', sans-serif; font-weight: 600; }
.sp-row { display: flex; gap: 10px; margin-bottom: 6px; font-size: 13px; }
.sp-lbl { color: var(--text3); font-size: 11px; width: 48px; flex-shrink: 0; padding-top: 1px; font-family: 'Syne', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.send-preview { background: var(--surface2); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; border-left: 3px solid var(--cyan); }

/* ── REQUESTS TABLE ── */
.tbl-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; overflow-x: auto; }
.data-tbl { width: 100%; border-collapse: collapse; }
.data-tbl th { text-align: left; padding: 10px 14px; font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 800; color: var(--text3); letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-tbl td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-tbl tr:last-child td { border-bottom: none; }
.data-tbl tr:hover td { background: var(--surface2); }
.td-name { font-weight: 600; font-size: 13px; }
.td-email { font-size: 11.5px; color: var(--text3); }

/* ── LOGS ── */
.lg-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--border); transition: background 0.15s; font-size: 13px; }
.lg-row:hover { background: var(--surface2); }
.lg-row:last-child { border-bottom: none; }
.lg-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.lg-msg { flex: 1; color: var(--text); line-height: 1.4; }
.lg-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text3); white-space: nowrap; margin-top: 1px; }

/* ── SETTINGS ── */
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ADMIN LOGIN ── */
.login-shell { min-height: 100vh; display: flex; align-items: stretch; }
.login-brand {
  flex: 1; background: var(--navy); display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; padding: 60px 56px;
  position: relative; overflow: hidden;
}
.login-brand::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(0,212,255,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(245,166,35,0.06) 0%, transparent 50%);
}
.login-brand::after {
  content: 'URO'; position: absolute; right: -30px; bottom: -20px;
  font-family: 'Syne', sans-serif; font-size: 240px; font-weight: 800;
  color: rgba(0,212,255,0.05); line-height: 1; letter-spacing: -10px; pointer-events: none;
}
.login-logo { font-family: 'Syne', sans-serif; font-size: 72px; font-weight: 800; line-height: 0.9; position: relative; letter-spacing: -3px; }
.login-logo .uro   { color: var(--cyan); }
.login-logo .flash { color: #fff; }
.login-logo .bolt  { color: var(--gold); font-size: 60px; }
.login-tagline { color: rgba(255,255,255,0.45); font-size: 14px; margin-top: 12px; margin-bottom: 44px; position: relative; font-family: 'DM Sans', sans-serif; }
.login-pills { display: flex; gap: 10px; position: relative; flex-wrap: wrap; }
.l-pill { background: rgba(255,255,255,0.04); border: 1px solid rgba(0,212,255,0.2); border-radius: 12px; padding: 14px 20px; text-align: center; min-width: 80px; }
.l-pill span { font-family: 'Syne', sans-serif; font-size: 28px; color: var(--cyan); display: block; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.l-pill small { font-size: 9.5px; color: rgba(255,255,255,0.4); display: block; margin-top: 4px; letter-spacing: 0.07em; text-transform: uppercase; font-family: 'Syne', sans-serif; font-weight: 700; }
.login-card { width: 420px; flex-shrink: 0; background: var(--surface); display: flex; flex-direction: column; justify-content: center; padding: 56px 44px; overflow-y: auto; }
.login-card-head { margin-bottom: 30px; }
.login-card-title { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.login-card-sub { font-size: 13.5px; color: var(--text2); margin-top: 5px; }
.login-form .fg label { font-family: 'Syne', sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-bottom: 7px; display: block; }
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text3); display: flex; align-items: center; transition: color var(--t); }
.pw-toggle:hover { color: var(--highlight2); }
.login-error { background: var(--red-bg); color: var(--red); border: 1px solid rgba(255,75,110,0.3); border-radius: 9px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; font-weight: 500; }

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 900px) {
  .c-hero-title { font-size: 42px; }
  .ds-grid { grid-template-columns: 1fr 1fr; }
  .an-grid { grid-template-columns: repeat(3, 1fr); }
  .vl-stats { grid-template-columns: 1fr 1fr; }
  .an-2col { grid-template-columns: 1fr; }
  .set-grid { grid-template-columns: 1fr; }
  .dash-2col { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-card { width: 100%; }
  .it-arrow { display: none; }
  .c-picker { display: block; }
}

@media (max-width: 768px) {
  .it-wrap { display: none; }
  .c-picker { display: block !important; min-width: 130px; }
  .c-hero { padding: 32px 16px 28px; }
  .c-hero-title { font-size: 44px; }
  .c-hero::after { display: none; }
  .c-hero-sub { display: none; }
  .c-hero-stats { gap: 8px; }
  .hero-pill { padding: 10px 14px; min-width: 72px; }
  .hero-pill span { font-size: 24px; }
  .topbar { height: 52px; padding: 0 14px; }
  .topbar-tagline { display: none; }
  .c-controls-inner { padding: 0 14px; }
  .c-toolbar { gap: 6px; }
  .c-search-wrap { max-width: 100%; min-width: 0; flex: 1; }
  .c-sort { display: none; }
  .cv-btns { display: none; }
  .c-body { padding: 16px 12px 32px; }
  .c-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .c-cover { height: 80px; }
  .c-cover-num { font-size: 28px; }
  .c-title { font-size: 13.5px; }
  .c-sub { display: none; }
  .c-body-card { padding: 10px 12px 12px; }
  .vm-title { font-size: 20px; }
  .viewer-body { padding: 14px 14px 32px; }
  .pdf-frame-wrap { height: 480px; }
  .dl-label, .fs-label { display: none; }
  /* Admin */
  .adm-sidebar { position: fixed; left: -224px; top: 0; height: 100vh; z-index: 200; transition: left 0.26s ease; width: 224px; }
  .adm-sidebar.open { left: 0; }
  .adm-sidebar.open ~ .sb-overlay { display: block; }
  .sec-inner { padding: 16px 14px 40px; }
  .ds-grid { grid-template-columns: 1fr 1fr; }
  .an-grid { grid-template-columns: 1fr 1fr; }
  .vl-stats { grid-template-columns: 1fr 1fr; }
  .art-toolbar { gap: 6px; }
  .af-tabs { flex-wrap: wrap; }
  .at-search { max-width: 100%; }
  .login-card { padding: 32px 22px; }
  .adm-topbar { padding: 0 14px; }
}

@media (max-width: 480px) {
  .c-grid { grid-template-columns: 1fr; }
  .c-cover { height: 100px; }
  .c-body-card { padding: 12px 14px 14px; }
  .c-sub { display: -webkit-box; }
  .ds-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .an-grid { grid-template-columns: 1fr 1fr; }
  .vl-stats { grid-template-columns: 1fr 1fr; }
  .c-hero-title { font-size: 38px; }
}
