/* ═══════════════════════════════════════════════════════
   YouzOTP — UI System v3
   Dark · Inter · Mobile-first · SVG icons only
   ═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg:      #090e0b;
  --bg2:     #0c1410;
  --card:    rgba(14,21,17,0.82);
  --card2:   rgba(20,30,24,0.6);
  --card3:   rgba(10,16,12,0.45);
  --blue:    #38bdf8;        /* primary accent — sky blue */
  --blue2:   #0ea5e9;
  --blue-d:  rgba(56,189,248,0.10);
  --blue-b:  rgba(56,189,248,0.18);
  --green:   #22c55e;        /* success / income */
  --green-d: rgba(34,197,94,0.11);
  --red:     #f87171;        /* danger / expense */
  --red-d:   rgba(248,113,113,0.11);
  --warn:    #fbbf24;        /* warning / dot */
  --warn-d:  rgba(251,191,36,0.11);
  --text:    #edfaf2;
  --text2:   #bdd9c8;
  --muted:   #688578;
  --muted2:  #3a5245;
  --border:  rgba(56,189,248,0.13);
  --border2: rgba(255,255,255,0.055);
  --r:       18px;
  --r-sm:    12px;
  --r-xs:    8px;
  --nb:      66px;           /* bottom nav height */
  --tb:      58px;           /* topbar height */
  --sb:      228px;          /* sidebar width */
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(14,42,24,0.75) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 92% 100%, rgba(7,22,38,0.45) 0%, transparent 65%);
  color: var(--text); font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh; font-size: 15px; line-height: 1.6;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--tb);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(9,14,11,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
}
.tb-left { display: flex; flex-direction: column; gap: 1px; }
.tb-eyebrow { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.tb-title { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tb-right { display: flex; align-items: center; gap: 8px; }
.tb-btn {
  width: 33px; height: 33px; border-radius: 50%;
  background: var(--card2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); transition: all .15s; flex-shrink: 0;
}
.tb-btn:hover { border-color: var(--blue); color: var(--blue); }
.tb-btn svg { width: 14px; height: 14px; }
.tb-av {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #1a5c35, #0a3a60);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  border: 2px solid var(--border); overflow: hidden; flex-shrink: 0;
}
.tb-av img { width: 100%; height: 100%; object-fit: cover; }

/* ── BOTTOM NAV ─────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--nb);
  background: rgba(7,11,8,0.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border2);
  display: flex; z-index: 200;
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  color: var(--muted2); text-decoration: none;
  font-size: 9px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
  transition: color .15s; padding-bottom: 2px;
}
.nav-item svg { width: 21px; height: 21px; }
.nav-item.active { color: var(--blue); }

/* ── PAGE ───────────────────────────────────────────── */
.page {
  padding: 16px 16px calc(var(--nb) + 18px);
  max-width: 520px; margin: 0 auto;
}
.page-hero { margin-bottom: 18px; }
.page-hero h1 { font-size: 27px; font-weight: 900; line-height: 1.08; letter-spacing: -.03em; }
.page-hero p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }

/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r); backdrop-filter: blur(16px); padding: 18px;
  margin-bottom: 14px;
}
.card-sm { padding: 13px 15px; }
.card-p0 { padding: 0; overflow: hidden; }

/* ── BALANCE CARD ───────────────────────────────────── */
.bal-card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 18px 18px 16px;
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.bal-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.06), transparent 70%);
  pointer-events: none;
}
.bal-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.bal-amount { font-size: 36px; font-weight: 900; color: var(--blue); letter-spacing: -.03em; line-height: 1.05; margin-top: 2px; }
.bal-amount-rp { font-size: 22px; font-weight: 700; color: var(--muted); }
.bal-row { display: flex; gap: 20px; margin-top: 13px; }
.bal-item { display: flex; align-items: center; gap: 8px; }
.bal-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.bal-icon.in  { background: rgba(34,197,94,.14); }
.bal-icon.in svg { color: var(--green); }
.bal-icon.out { background: rgba(248,113,113,.14); }
.bal-icon.out svg { color: var(--red); }
.bal-icon svg { width: 13px; height: 13px; }
.bal-info span:first-child { display: block; font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.bal-info span:last-child  { display: block; font-size: 13.5px; font-weight: 700; }

/* ── QUICK GRID ─────────────────────────────────────── */
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-bottom: 18px; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: var(--card2); border: 1px solid var(--border2);
  border-radius: var(--r-sm); padding: 13px 6px;
  text-decoration: none; color: var(--text); transition: all .15s;
  font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: .06em;
}
.quick-item:hover { border-color: var(--blue); background: var(--blue-d); }
.quick-item svg { width: 22px; height: 22px; color: var(--blue); }

/* ── SECTION HEAD ───────────────────────────────────── */
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sec-head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex-shrink: 0; display: inline-block; }
.dot.g { background: var(--green); }
.sec-link { font-size: 11px; color: var(--blue); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ── TABLE ──────────────────────────────────────────── */
.tbl-wrap { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); padding: 9px 13px; text-align: left; border-bottom: 1px solid var(--border2); white-space: nowrap; }
.tbl td { padding: 11px 13px; border-bottom: 1px solid var(--border2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl-empty { text-align: center; color: var(--muted2); padding: 26px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* ── BADGES ─────────────────────────────────────────── */
.b { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.b-pending   { background: var(--warn-d);  color: var(--warn);  border: 1px solid rgba(251,191,36,.28); }
.b-paid,
.b-success,
.b-completed,
.b-active    { background: var(--green-d); color: var(--green); border: 1px solid rgba(34,197,94,.28); }
.b-cancelled,
.b-failed    { background: var(--red-d);   color: var(--red);   border: 1px solid rgba(248,113,113,.28); }
.b-user      { background: var(--blue-d);  color: var(--blue);  border: 1px solid var(--border); font-size: 9px; }
.b-admin     { background: rgba(168,85,247,.1); color: #c084fc; border: 1px solid rgba(168,85,247,.25); font-size: 9px; }
.b-banned    { background: var(--red-d);   color: var(--red);   border: 1px solid rgba(248,113,113,.28); font-size: 9px; }

/* ── FORMS ──────────────────────────────────────────── */
.fg { margin-bottom: 13px; }
.fl { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.fl span { font-size: 9.5px; color: var(--muted2); float: right; text-transform: none; letter-spacing: 0; font-weight: 400; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--border2); background: rgba(4,8,5,.65);
  color: var(--text); font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: rgba(4,8,5,.9); }
input::placeholder, textarea::placeholder { color: var(--muted2); }
select option { background: #0c1a10; }
textarea { min-height: 80px; resize: vertical; }
.iw { position: relative; }
.iw input { padding-right: 42px; }
.pw-t { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 4px; }
.pw-t:hover { color: var(--blue); }
.pw-t svg { width: 15px; height: 15px; }
.hint { font-size: 11.5px; color: var(--muted2); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.hint svg { width: 12px; height: 12px; flex-shrink: 0; }
.pw-bar { height: 3px; border-radius: 99px; background: var(--border2); overflow: hidden; margin-top: 5px; }
.pw-bar-fill { height: 100%; border-radius: 99px; transition: all .3s; width: 0; }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 18px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  text-decoration: none; border: 0; font-family: inherit;
  transition: all .15s; letter-spacing: .01em; white-space: nowrap;
}
.btn:disabled { opacity: .48; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #021510; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost   { background: var(--card2); color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover:not(:disabled) { border-color: var(--blue); }
.btn-accent  { background: var(--green-d); color: var(--green); border: 1px solid rgba(34,197,94,.24); }
.btn-accent:hover:not(:disabled) { background: rgba(34,197,94,.2); }
.btn-danger  { background: var(--red-d); color: var(--red); border: 1px solid rgba(248,113,113,.24); }
.btn-warn    { background: var(--warn-d); color: var(--warn); border: 1px solid rgba(251,191,36,.24); }
.btn-sm  { padding: 7px 12px; font-size: 12px; }
.btn-sm svg { width: 13px; height: 13px; }
.btn-full { width: 100%; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 9px; flex-shrink: 0; }

/* ── INFO ROWS ──────────────────────────────────────── */
.ir { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border2); }
.ir:last-child { border-bottom: none; padding-bottom: 0; }
.ir-l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); }
.ir-v { font-size: 13.5px; font-weight: 600; color: var(--text); text-align: right; max-width: 65%; word-break: break-all; }
.ir-v.g { color: var(--green); }
.ir-v.b { color: var(--blue); }

/* ── CODE BOX ───────────────────────────────────────── */
.code-box {
  background: rgba(3,6,4,.9); border: 1px solid var(--border2);
  border-radius: var(--r-sm); padding: 11px 36px 11px 13px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #6dffaa;
  word-break: break-all; line-height: 1.45; position: relative;
}
.copy-btn { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; display: flex; }
.copy-btn:hover { color: var(--blue); }
.copy-btn svg { width: 14px; height: 14px; }

/* ── PROFILE AVATAR ─────────────────────────────────── */
.prof-av-area { text-align: center; padding: 20px 0 14px; }
.prof-av {
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(135deg, #1a5c35, #0a3a60);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff;
  border: 3px solid var(--border); margin: 0 auto 10px; overflow: hidden; position: relative;
}
.prof-av img { width: 100%; height: 100%; object-fit: cover; }
.prof-av-edit {
  position: absolute; bottom: 0; right: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #021510;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.prof-av-edit svg { width: 11px; height: 11px; }
.prof-name { font-size: 17px; font-weight: 800; }

/* ── SEARCH BAR ─────────────────────────────────────── */
.sbar {
  display: flex; align-items: center; gap: 9px;
  background: rgba(4,8,5,.72); border: 1px solid var(--border2);
  border-radius: 13px; padding: 11px 14px; margin-bottom: 13px; transition: border-color .15s;
}
.sbar:focus-within { border-color: var(--blue); }
.sbar svg { width: 16px; height: 16px; color: var(--muted2); flex-shrink: 0; }
.sbar input { background: none; border: none; color: var(--text); font-size: 14px; outline: none; width: 100%; padding: 0; }
.sbar input::placeholder { color: var(--muted2); }

/* ── FILTER TABS ────────────────────────────────────── */
.ftabs { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 16px; }
.ftabs::-webkit-scrollbar { display: none; }
.ftab {
  flex-shrink: 0; padding: 6px 14px; border-radius: 99px; font-size: 11.5px;
  font-weight: 700; letter-spacing: .06em; cursor: pointer;
  border: 1px solid var(--border2); background: var(--card2); color: var(--muted);
  transition: all .15s; white-space: nowrap; font-family: inherit;
}
.ftab.active { background: var(--blue-d); border-color: var(--blue); color: var(--blue); }

/* ── SERVICE ITEM ───────────────────────────────────── */
.svc-item {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 14px; margin-bottom: 8px;
  cursor: pointer; transition: border-color .15s;
}
.svc-item:hover { border-color: var(--blue); }
.svc-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--card2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.svc-avail { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.svc-avail::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--green); display:inline-block; }
.svc-chev { margin-left: auto; color: var(--muted2); flex-shrink: 0; }
.svc-chev svg { width: 16px; height: 16px; }

/* ── COUNTRY ITEM ───────────────────────────────────── */
.cnt-item { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-bottom: 1px solid var(--border2); cursor: pointer; transition: opacity .15s; }
.cnt-item:last-child { border-bottom: none; }
.cnt-item:hover { opacity: .75; }
.cnt-flag { width: 50px; height: 50px; border-radius: 13px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--card2); border: 1px solid var(--border2); }
.cnt-flag img { width: 100%; height: 100%; object-fit: cover; }
.cnt-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.cnt-stk { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--green); font-weight: 600; }
.cnt-stk svg { width: 12px; height: 12px; }
.cnt-price { margin-left: auto; text-align: right; flex-shrink: 0; }
.cnt-pv { font-size: 15px; font-weight: 900; color: var(--blue); }
.cnt-pl { font-size: 9.5px; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; }

/* ── OPERATOR ITEM ──────────────────────────────────── */
.op-item {
  display: flex; align-items: center; gap: 13px;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 14px; margin-bottom: 8px; cursor: pointer; transition: all .15s;
}
.op-item:hover { border-color: var(--blue); }
.op-item.cheap { border-color: var(--blue); background: var(--blue-d); }
.op-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--card2); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.op-ico svg { width: 20px; height: 20px; }
.op-name { font-size: 14.5px; font-weight: 800; margin-bottom: 2px; }
.op-meta { font-size: 11px; color: var(--muted); }
.op-stk { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-weight: 600; font-size: 11px; margin-top: 2px; }
.op-stk svg { width: 11px; height: 11px; }
.op-price { margin-left: auto; text-align: right; flex-shrink: 0; }
.op-pv { font-size: 15px; font-weight: 900; color: var(--blue); }
.op-pl { font-size: 9.5px; color: var(--muted2); text-transform: uppercase; letter-spacing: .06em; }

/* ── CTX / CHANGE ───────────────────────────────────── */
.ctx-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--card2); border: 1px solid var(--border2); border-radius: 99px; padding: 5px 13px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.chg-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--card2); border: 1px solid var(--border2); border-radius: 10px; padding: 7px 13px; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; font-family: inherit; transition: all .15s; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.chg-btn:hover { border-color: var(--blue); color: var(--text2); }
.chg-btn svg { width: 12px; height: 12px; }

/* ── NOMINAL GRID (DEPOSIT) ─────────────────────────── */
.nom-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 13px; }
.nom-btn { padding: 11px; background: var(--card2); border: 1px solid var(--border2); border-radius: var(--r-sm); color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: center; transition: all .15s; font-family: inherit; }
.nom-btn:hover, .nom-btn.act { border-color: var(--blue); background: var(--blue-d); color: var(--blue); }
.amount-disp { background: rgba(4,8,5,.7); border: 1px solid var(--border2); border-radius: var(--r-sm); padding: 15px; font-size: 24px; font-weight: 800; color: var(--muted2); margin-bottom: 11px; letter-spacing: -.01em; }
.amount-disp span { color: var(--text); }

/* ── DEPOSIT SUMMARY BOX ────────────────────────────── */
.dep-summary { background: var(--card2); border: 1px solid var(--border2); border-radius: var(--r-sm); padding: 14px; margin: 12px 0; }
.dep-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dep-summary-row strong { color: var(--text); font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.dep-summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--border2); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.dep-summary-total span { font-size: 16px; font-weight: 900; color: var(--blue); letter-spacing: -.01em; }

/* ── QR + PAYMENT WAITING ───────────────────────────── */
.qr-section { text-align: center; padding: 20px 0; }
.qr-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.qr-label svg { width: 16px; height: 16px; }
.qr-wrap img { max-width: 200px; background: #fff; padding: 12px; border-radius: 16px; margin: 0 auto; }
.pay-waiting { display: inline-flex; align-items: center; gap: 7px; background: var(--card2); border: 1px solid var(--border2); border-radius: 99px; padding: 8px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0; }
.pay-waiting svg { width: 14px; height: 14px; color: var(--warn); }
.pay-total-big { font-size: 28px; font-weight: 900; text-align: center; letter-spacing: -.02em; margin: 4px 0; }
.pay-countdown { font-size: 18px; font-weight: 700; text-align: center; color: var(--warn); font-family: 'JetBrains Mono', monospace; margin-bottom: 16px; }

/* ── DEP HISTORY ITEM ───────────────────────────────── */
.dep-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--border2); }
.dep-item:last-child { border-bottom: none; }
.dep-ref { font-size: 11.5px; font-family: 'JetBrains Mono', monospace; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dep-ref svg { width: 13px; height: 13px; }
.dep-date { font-size: 10.5px; color: var(--muted2); margin-top: 2px; }

/* ── OTP CARD ───────────────────────────────────────── */
.otp-card { padding: 13px 0; border-bottom: 1px solid var(--border2); }
.otp-card:last-child { border-bottom: none; padding-bottom: 0; }
.otp-num { font-size: 16px; font-weight: 800; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }
.otp-code { font-size: 24px; font-weight: 900; color: var(--blue); font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; margin-top: 3px; }
.otp-meta { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── MODAL ──────────────────────────────────────────── */
.modal-bg { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); align-items: flex-end; justify-content: center; }
.modal-bg.open { display: flex; }
.modal-sheet { background: rgba(10,16,12,.98); border: 1px solid var(--border); border-radius: 22px 22px 0 0; padding: 20px 18px 28px; width: 100%; max-width: 520px; }
.modal-handle { width: 32px; height: 3.5px; background: var(--border2); border-radius: 99px; margin: 0 auto 16px; }
.modal-eyebrow { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.modal-title { font-size: 18px; font-weight: 900; margin-bottom: 16px; letter-spacing: -.02em; }

/* ── TOAST ──────────────────────────────────────────── */
#tc { position: fixed; bottom: calc(var(--nb)+10px); left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 7px; align-items: center; width: min(calc(100vw - 28px), 360px); pointer-events: none; }
.toast { background: rgba(12,20,14,.97); border: 1px solid var(--border2); backdrop-filter: blur(20px); border-radius: 12px; padding: 10px 15px; font-size: 13px; font-weight: 500; color: var(--text); width: 100%; animation: su .22s ease; pointer-events: all; }
.toast.s { border-color: rgba(34,197,94,.35); }
.toast.e { border-color: rgba(248,113,113,.35); color: var(--red); }
.toast.w { border-color: rgba(251,191,36,.35); color: var(--warn); }
@keyframes su { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── SKELETON ───────────────────────────────────────── */
.skel { background: linear-gradient(90deg,var(--card2) 25%,rgba(28,44,33,.5) 50%,var(--card2) 75%); background-size: 200% 100%; animation: shim 1.5s infinite; border-radius: 7px; }
.skel-item { display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: var(--r); margin-bottom: 8px; background: var(--card); border: 1px solid var(--border2); }
@keyframes shim { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── EMPTY ──────────────────────────────────────────── */
.empty { text-align: center; padding: 40px 20px; color: var(--muted2); }
.empty svg { width: 36px; height: 36px; margin: 0 auto 10px; opacity: .3; }
.empty p { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }

/* ── LOADING SPINNER ────────────────────────────────── */
.spin-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 20px; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border2); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.spin-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted2); font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── AUTH PAGES ─────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(155deg, #0a1c11 0%, #060d08 100%);
  border-right: 1px solid var(--border2);
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px;
  position: relative; overflow: hidden;
}
.auth-left::before { content:''; position:absolute; top:-60px; right:-60px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle,rgba(56,189,248,.06),transparent 70%); pointer-events:none; }
.auth-left::after  { content:''; position:absolute; bottom:-50px; left:-50px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(34,197,94,.05),transparent 70%); pointer-events:none; }
.al-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; position: relative; z-index: 1; }
.al-logo-ico { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,#0f4f2b,#0c3a5e); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.al-logo-ico svg { width: 20px; height: 20px; }
.al-logo-text strong { display: block; font-size: 14px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.al-logo-text span  { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.al-body { position: relative; z-index: 1; }
.al-body h2 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 11px; }
.al-body h2 em { color: var(--blue); font-style: normal; }
.al-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.al-feats { display: flex; flex-direction: column; gap: 10px; }
.al-feat  { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); }
.al-feat svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }
.al-foot { font-size: 11px; color: var(--muted2); position: relative; z-index: 1; }

.auth-right { display: flex; align-items: center; justify-content: center; padding: 40px 32px; background: var(--bg); }
.auth-box { width: 100%; max-width: 380px; }
.auth-title { font-size: 21px; font-weight: 900; letter-spacing: -.025em; margin-bottom: 3px; }
.auth-sub   { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.auth-err { background: var(--red-d); border: 1px solid rgba(248,113,113,.25); border-radius: 9px; padding: 9px 13px; color: var(--red); font-size: 12.5px; margin-bottom: 13px; display: flex; align-items: center; gap: 7px; }
.auth-err svg { width: 14px; height: 14px; flex-shrink: 0; }
.auth-ok  { background: var(--green-d); border: 1px solid rgba(34,197,94,.25); border-radius: 9px; padding: 9px 13px; color: var(--green); font-size: 12.5px; margin-bottom: 13px; display: flex; align-items: center; gap: 7px; }
.auth-ok svg { width: 14px; height: 14px; flex-shrink: 0; }
.auth-div { display: flex; align-items: center; gap: 11px; margin: 13px 0; color: var(--muted2); font-size: 11.5px; }
.auth-div::before, .auth-div::after { content:''; flex:1; height:1px; background:var(--border2); }
.auth-foot { margin-top: 13px; text-align: center; font-size: 12.5px; color: var(--muted); }
.auth-foot a { color: var(--blue); font-weight: 700; }
.auth-forgot { text-align: right; margin-bottom: 13px; }
.auth-forgot a { font-size: 12px; color: var(--muted); }
.auth-forgot a:hover { color: var(--blue); }
.g-btn {
  width: 100%; padding: 11px; border-radius: var(--r-sm);
  background: var(--card2); border: 1px solid var(--border2);
  color: var(--text); font-size: 13.5px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; transition: all .15s; text-decoration: none;
}
.g-btn:hover { border-color: var(--blue); }
.g-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

@media (max-width: 680px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 28px 18px; align-items: flex-start; min-height: 100vh; }
}

/* ── ERROR PAGES ────────────────────────────────────── */
.err-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.err-code  { font-size: 76px; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--blue); opacity: .22; }
.err-title { font-size: 21px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.err-msg   { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; max-width: 300px; }

/* ── PUBLIC HOME ────────────────────────────────────── */
.pub-wrap { display: flex; min-height: 100vh; }
.pub-side {
  width: var(--sb); flex-shrink: 0;
  background: rgba(6,10,7,.98); border-right: 1px solid var(--border2);
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  display: flex; flex-direction: column;
}
.ps-logo { padding: 20px 16px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border2); text-decoration: none; }
.ps-logo-ico { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,#0f4f2b,#0c3a5e); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-logo-ico svg { width: 18px; height: 18px; }
.ps-logo-name strong { display: block; font-size: 13.5px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.ps-logo-name span   { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ps-nav { flex: 1; padding: 12px 10px; overflow-y: auto; }
.ps-section { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted2); font-weight: 700; padding: 8px 8px 4px; }
.p-link {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px;
  border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: all .15s; margin-bottom: 1px;
}
.p-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.p-link:hover  { color: var(--text2); background: var(--card2); }
.p-link.active { color: var(--blue); background: var(--blue-d); border: 1px solid var(--border); }
.ps-foot { padding: 12px 10px; border-top: 1px solid var(--border2); display: flex; flex-direction: column; gap: 7px; }

.pub-main { margin-left: var(--sb); flex: 1; }
.pub-topbar { position: sticky; top: 0; z-index: 50; padding: 12px 36px; display: flex; justify-content: flex-end; align-items: center; background: rgba(9,14,11,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border2); gap: 8px; }

/* Hero */
.hero-section { padding: 72px 48px 56px; max-width: 760px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-d); border: 1px solid var(--border); border-radius: 99px; padding: 5px 14px; font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.hero-eyebrow svg { width: 12px; height: 12px; }
.hero-section h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 16px; }
.hero-hl { background: linear-gradient(90deg, var(--blue), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-section > p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; max-width: 500px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Stats */
.stats-row { display: flex; border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); }
.stat-item { flex: 1; padding: 20px 32px; border-right: 1px solid var(--border2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 24px; font-weight: 900; color: var(--blue); letter-spacing: -.03em; }
.stat-lbl { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Features */
.feat-section { padding: 44px 48px; }
.feat-section h2 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 20px; }
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.feat-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r); padding: 18px; transition: border-color .15s; }
.feat-card:hover { border-color: var(--border); }
.feat-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-d); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feat-ico svg { width: 18px; height: 18px; color: var(--blue); }
.feat-card h3 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.feat-card p  { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* Steps */
.steps-section { padding: 0 48px 44px; }
.steps-section h2 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border2); }
.step-item:last-child { border-bottom: none; }
.step-num { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; background: var(--blue-d); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; color: var(--blue); }
.step-item h3 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.step-item p  { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* CTA */
.cta-section { margin: 0 48px 56px; background: var(--blue-d); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-section h2 { font-size: 18px; font-weight: 900; letter-spacing: -.025em; margin-bottom: 5px; }
.cta-section p  { font-size: 12.5px; color: var(--muted); }
.pub-footer { padding: 24px 48px; border-top: 1px solid var(--border2); text-align: center; font-size: 12px; color: var(--muted2); }

@media (max-width: 900px) {
  .pub-side { display: none; }
  .pub-main { margin-left: 0; }
  .hero-section, .feat-section, .steps-section { padding: 36px 20px; }
  .cta-section { margin: 0 20px 36px; flex-direction: column; text-align: center; }
  .feat-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--border2); }
  .pub-topbar { padding: 11px 18px; }
  .pub-footer { padding: 20px; }
}

/* ── ADMIN ──────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side {
  width: 220px; flex-shrink: 0; background: rgba(6,10,7,.98);
  border-right: 1px solid var(--border2); position: fixed; top:0; left:0; bottom:0; z-index:100;
  display: flex; flex-direction: column;
}
.as-logo { padding: 18px 15px 14px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--border2); }
.as-logo-ico { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,#0f4f2b,#0c3a5e); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.as-logo-ico svg { width: 15px; height: 15px; }
.as-logo-name strong { display: block; font-size: 13px; font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.as-logo-name span   { font-size: 8.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.admin-nav { flex: 1; overflow-y: auto; padding: 10px 9px; }
.an-section { font-size: 8.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted2); font-weight: 700; padding: 8px 8px 4px; }
.a-link { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; transition: all .15s; margin-bottom: 1px; }
.a-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.a-link:hover  { color: var(--text2); background: var(--card2); }
.a-link.active { color: var(--blue); background: var(--blue-d); border: 1px solid var(--border); }
.admin-side-foot { padding: 12px 9px; border-top: 1px solid var(--border2); }
.as-user { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; }
.as-user:hover { background: var(--card2); }
.as-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#1a5c35,#0a3a60); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; border: 2px solid var(--border); flex-shrink: 0; }
.as-user-info { flex: 1; min-width: 0; }
.as-user-info strong { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-user-info span   { font-size: 9.5px; color: var(--muted); }

.admin-main { margin-left: 220px; flex: 1; min-height: 100vh; padding: 24px; max-width: calc(100vw - 220px); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.admin-topbar h1 { font-size: 21px; font-weight: 900; letter-spacing: -.025em; }
.admin-topbar .sub { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r); padding: 15px 16px; }
.stat-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.stat-card-label svg { width: 14px; height: 14px; color: var(--muted2); }
.stat-card-val { font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.stat-card-sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.admin-card { background: var(--card); border: 1px solid var(--border2); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.admin-card-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--border2); }
.admin-card-head h3 { font-size: 13.5px; font-weight: 800; }
.a-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.a-tbl th { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted2); padding: 9px 13px; text-align: left; border-bottom: 1px solid var(--border2); white-space: nowrap; }
.a-tbl td { padding: 10px 13px; border-bottom: 1px solid var(--border2); vertical-align: middle; }
.a-tbl tr:last-child td { border-bottom: none; }
.a-tbl tr:hover td { background: rgba(255,255,255,.015); }
.a-tbl-empty { text-align: center; padding: 26px; color: var(--muted2); font-size: 11px; }
.admin-search { display: flex; align-items: center; gap: 8px; background: rgba(4,8,5,.7); border: 1px solid var(--border2); border-radius: 9px; padding: 8px 11px; margin-bottom: 13px; transition: border-color .15s; }
.admin-search:focus-within { border-color: var(--blue); }
.admin-search svg { width: 13px; height: 13px; color: var(--muted2); flex-shrink: 0; }
.admin-search input { background: none; border: none; color: var(--text); font-size: 13px; outline: none; width: 100%; padding: 0; }
.admin-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 13px; }
.af-btn { padding: 4px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; border: 1px solid var(--border2); background: var(--card2); color: var(--muted); cursor: pointer; transition: all .15s; font-family: inherit; text-decoration: none; }
.af-btn.act { background: var(--blue-d); border-color: var(--blue); color: var(--blue); }
.ua-row { display: flex; gap: 5px; }

@media (max-width: 900px) {
  .admin-side { display: none; }
  .admin-main { margin-left: 0; max-width: 100%; padding: 14px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── UTILITIES ──────────────────────────────────────── */
.font-mono { font-family: 'JetBrains Mono', monospace; }
.text-muted  { color: var(--muted); }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-warn   { color: var(--warn); }
.fw-900 { font-weight: 900; }
.mb-0 { margin-bottom: 0 !important; }

/* ── PUBLIC TOPBAR + THEME SWITCH ───────────────────── */
:root[data-theme="light"] {
  --bg: #f7fbff;
  --bg2: #eef6ff;
  --card: rgba(255,255,255,0.88);
  --card2: rgba(241,247,255,0.92);
  --card3: rgba(255,255,255,0.7);
  --blue: #0284c7;
  --blue2: #0ea5e9;
  --blue-d: rgba(2,132,199,0.10);
  --blue-b: rgba(2,132,199,0.18);
  --green: #16a34a;
  --green-d: rgba(22,163,74,0.10);
  --red: #dc2626;
  --red-d: rgba(220,38,38,0.10);
  --warn: #d97706;
  --warn-d: rgba(217,119,6,0.10);
  --text: #0f172a;
  --text2: #334155;
  --muted: #64748b;
  --muted2: #94a3b8;
  --border: rgba(2,132,199,0.20);
  --border2: rgba(15,23,42,0.10);
}
:root[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 70% 45% at 8% 0%, rgba(186,230,253,0.7) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 92% 100%, rgba(187,247,208,0.45) 0%, transparent 65%);
}
:root[data-theme="light"] .pub-side,
:root[data-theme="light"] .pub-topbar,
:root[data-theme="light"] .admin-side { background: rgba(255,255,255,0.92); }
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .code-box { background: rgba(255,255,255,0.92); }

.pub-topbar { justify-content: space-between; }
.pub-top-brand { display:flex; align-items:center; gap:10px; font-size:15px; font-weight:900; letter-spacing:-.03em; color:var(--text); }
.pub-top-logo { width:32px; height:32px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(135deg,var(--blue),var(--green)); box-shadow:0 10px 28px rgba(14,165,233,.18); font-size:13px; }
.pub-top-actions { display:flex; align-items:center; gap:8px; }
.pub-icon-btn { width:34px; height:34px; border-radius:11px; border:1px solid var(--border2); background:var(--card2); color:var(--text2); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:all .15s; }
.pub-icon-btn:hover { border-color:var(--blue); color:var(--blue); }
.pub-icon-btn svg { width:16px; height:16px; }
.theme-sun { display:none; }
:root[data-theme="light"] .theme-sun { display:block; }
:root[data-theme="light"] .theme-moon { display:none; }
.menu-lines { width:16px; display:flex; flex-direction:column; gap:5px; }
.menu-lines span { display:block; height:2px; border-radius:99px; background:currentColor; }
.pub-menu-panel { position:fixed; top:60px; right:36px; z-index:90; width:min(260px,calc(100vw - 32px)); background:var(--card); border:1px solid var(--border2); border-radius:16px; padding:10px; box-shadow:0 24px 70px rgba(0,0,0,.28); backdrop-filter:blur(20px); }
.pub-menu-title { padding:8px 10px 10px; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.pub-menu-item { display:flex; align-items:center; padding:10px 11px; border-radius:11px; color:var(--text2); font-size:13px; font-weight:700; }
.pub-menu-item:hover, .pub-menu-item.active { background:var(--blue-d); color:var(--blue); }
@media (max-width: 560px) {
  .pub-auth-link { display:none; }
  .pub-menu-panel { right:16px; top:58px; }
}

@keyframes pageIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.page { animation: pageIn .22s ease both; }

.dash-menu-panel { position:fixed; top:60px; right:16px; z-index:240; width:min(300px,calc(100vw - 32px)); background:var(--card); border:1px solid var(--border2); border-radius:16px; padding:10px; box-shadow:0 24px 70px rgba(0,0,0,.28); backdrop-filter:blur(20px); opacity:0; transform:translateY(-8px) scale(.985); pointer-events:none; transition:opacity .14s ease, transform .14s ease; }
.dash-menu-panel.open { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.dash-menu-title { padding:8px 10px 10px; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.dash-menu-item { display:flex; align-items:center; gap:10px; width:100%; padding:10px 11px; border-radius:12px; color:var(--text2); font-size:13.5px; font-weight:800; background:none; border:0; cursor:pointer; transition:all .15s; text-align:left; }
.dash-menu-item svg { width:16px; height:16px; flex-shrink:0; }
.dash-menu-item:hover, .dash-menu-item.active { background:var(--blue-d); color:var(--blue); }
.dash-menu-sep { height:1px; background:var(--border2); margin:10px 4px; }
.dash-menu-item.danger { color:var(--red); }
.dash-menu-item.danger:hover { background:var(--red-d); border-color:rgba(248,113,113,.25); }
.dash-menu-logout { margin-top:4px; }

.btn:active, .tb-btn:active, .nav-item:active, .dash-menu-item:active { transform:scale(.98); }
