/* Pehla Kadam portal. Values follow the approved designs (portal_ui/*.dc.html). */
:root {
  --navy: #16225C; --blue: #4E80D2; --blue-d: #2652AA; --sky: #E2ECFB; --red: #E21C24; --red-d: #B3141B;
  --bg: #F4F7FC; --muted: #4A5578; --muted2: #6B7699; --line: #E3E9F5; --line2: #EEF2F9; --field: #C9D5EC;
  --pink: #FDE8E9; --amber-bg: #FFF4E5; --amber: #8A4B00; --pale: #9DB6E6;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Poppins, system-ui, sans-serif; color: var(--navy); background: var(--bg); min-height: 100vh; }
a { color: var(--blue-d); } a:hover { color: var(--navy); }
button { cursor: pointer; font-family: inherit; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
h1, h2, h3 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 600; }
.input, .select {
  height: 50px; border: 1px solid var(--field); border-radius: 12px; padding: 0 14px; font-family: inherit;
  font-size: 16px; color: var(--navy); background: #fff; width: 100%;
}
.select { padding: 0 12px; }
.input-sm, .select-sm {
  height: 42px; border: 1px solid var(--field); border-radius: 10px; padding: 0 10px; font-family: inherit;
  font-size: 14px; color: var(--navy); background: #fff;
}
.btn {
  height: 52px; padding: 0 24px; border-radius: 12px; border: 0; background: var(--navy); color: #fff;
  font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-family: inherit;
}
.btn:hover { color: #fff; background: #0f1a47; }
.btn-red { background: var(--red); } .btn-red:hover { background: #c4161d; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--field); }
.btn-ghost:hover { background: var(--bg); color: var(--navy); }
.btn-sm { height: 42px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn-xs { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.btn[disabled] { background: #A9B4CC; cursor: not-allowed; }
.btn-block { width: 100%; }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.alert-bad { background: var(--pink); color: var(--red-d); }
.alert-ok { background: var(--sky); color: var(--navy); }
.alert-warn { background: var(--amber-bg); color: var(--amber); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: flex; flex-wrap: wrap; }
.login-hero {
  flex: 1 1 560px; background: var(--navy); color: #fff; padding: 48px 56px; display: flex; flex-direction: column;
  gap: 36px; position: relative; overflow: hidden;
}
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.login-hero .ring.r1 { width: 520px; height: 520px; border: 60px solid rgba(255,255,255,0.05); right: -220px; top: -200px; }
.login-hero .ring.r2 { width: 360px; height: 360px; border: 44px solid rgba(255,255,255,0.05); left: -200px; bottom: -120px; }
.logo-chips { display: flex; gap: 14px; align-items: center; position: relative; }
.logo-chip { background: #fff; border-radius: 12px; padding: 8px 12px; display: flex; }
.logo-chip img { height: 40px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--pale); }
.login-hero h1 { font-size: 42px; line-height: 1.15; font-weight: 700; }
.login-hero p { margin: 0; font-size: 16px; line-height: 1.6; color: #C9D6F2; }
.hero-copy { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.hero-shot { position: relative; max-width: 560px; border-radius: 16px; overflow: hidden; border: 4px solid rgba(255,255,255,0.15); }
.hero-shot img { width: 100%; display: block; }
.hero-facts { position: relative; margin-top: auto; display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: #C9D6F2; }
.login-side { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.login-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 24px; }
.login-box h2 { font-size: 28px; font-weight: 700; }
.login-box .sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.card-form {
  background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 12px 32px rgba(22,34,92,0.08);
  display: flex; flex-direction: column; gap: 18px;
}
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue-d); font-size: 13px; font-weight: 600; }

/* ---------- exec header ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1280px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar-in > a img { height: 40px; display: block; }
.mainnav { display: flex; gap: 6px; flex-wrap: wrap; }
.mainnav a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.mainnav a.on { background: var(--sky); color: var(--navy); font-weight: 600; }
.me { margin-left: auto; display: flex; align-items: center; gap: 12px; position: relative; }
.me-name { text-align: right; display: flex; flex-direction: column; }
.me-name b { font-size: 14px; font-weight: 600; }
.me-name span { font-size: 12px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; }
.menu {
  position: absolute; right: 0; top: 52px; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(22,34,92,0.16);
  padding: 8px; min-width: 200px; z-index: 20; display: flex; flex-direction: column;
}
.menu a, .menu button { text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--navy); text-decoration: none; background: none; border: 0; }
.menu a:hover, .menu button:hover { background: var(--bg); }
.page { max-width: 1280px; margin: 0 auto; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.page.tight { padding: 28px 32px 40px; gap: 20px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { font-weight: 600; text-decoration: none; }

/* ---------- cards / layout ---------- */
.card { background: #fff; border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.card.shadow { box-shadow: 0 8px 24px rgba(22,34,92,0.06); border-radius: 20px; }
.card h2 { font-size: 18px; font-weight: 600; }
.card.side h2 { font-size: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split > .grow { flex: 999 1 640px; min-width: 0; }
.split > .side-col { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kpi { background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.kpi .k { font-size: 13px; color: var(--muted); }
.kpi .v { font-size: 32px; font-weight: 700; }
.kpi .s { font-size: 12px; color: var(--muted); }
.kpi .s.good { color: var(--blue-d); } .kpi .s.warn { color: var(--red-d); }

.hero {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 32px 36px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 24px; position: relative; overflow: hidden;
}
.hero .ring { width: 340px; height: 340px; border: 44px solid rgba(255,255,255,0.05); right: -60px; top: -150px; }
.hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.hero-text .hi { font-size: 15px; color: #BFD0F2; }
.hero-text h1 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.hero-text .sub { font-size: 14px; color: #C9D6F2; }
.hero-cta {
  position: relative; height: 58px; padding: 0 28px; border-radius: 14px; background: var(--red); color: #fff;
  text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600;
}
.hero-cta:hover { color: #fff; background: #c4161d; }

/* tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; color: var(--muted); font-size: 12px; padding: 10px 8px; font-weight: 600; border-bottom: 1px solid var(--line); }
table.t td { padding: 12px 8px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t .r { text-align: right; }
.doc-cell { display: flex; align-items: center; gap: 12px; }
.doc-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--sky); flex-shrink: 0; }
.doc-name { font-weight: 600; }
.doc-deg { font-size: 12px; color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; white-space: nowrap; display: inline-block; }
.pill.ok { background: var(--sky); color: var(--navy); }
.pill.bad { background: var(--pink); color: var(--red-d); }
.pill.busy { background: var(--amber-bg); color: var(--amber); }
.pill.grey { background: var(--line2); color: var(--muted); }
.prog { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.prog .lbl { font-size: 12px; color: var(--blue-d); font-weight: 600; }
.bar { height: 6px; border-radius: 99px; background: var(--sky); overflow: hidden; }
.bar > div { height: 100%; border-radius: 99px; background: var(--blue); transition: width .6s; }
.actions a { font-weight: 600; font-size: 13px; margin-left: 14px; white-space: nowrap; }
.search {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--field); border-radius: 10px; padding: 0 12px;
  height: 40px; font-size: 14px; color: var(--muted); background: #fff;
}
.search input { border: 0; outline: 0; font-family: inherit; font-size: 14px; width: 160px; color: var(--navy); background: transparent; min-width: 0; }
.empty { padding: 28px 8px; text-align: center; color: var(--muted); font-size: 14px; }

.tips { display: flex; flex-direction: column; gap: 14px; }
.tip { display: flex; gap: 12px; }
.tip .n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--sky); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tip .t { font-size: 13px; line-height: 1.5; color: var(--muted); }
.board { background: var(--sky); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.board .h { font-size: 13px; font-weight: 600; color: var(--blue-d); text-transform: uppercase; }
.board .row { display: flex; justify-content: space-between; font-size: 14px; }
.board .row b { font-weight: 600; }
.board .you { font-weight: 600; color: var(--blue-d); border-top: 1px solid var(--field); padding-top: 10px; }

/* ---------- wizard ---------- */
.wiz { flex: 999 1 620px; min-width: 0; background: #fff; border-radius: 20px; box-shadow: 0 8px 24px rgba(22,34,92,0.06); display: flex; flex-direction: column; }
.wiz-steps { padding: 22px 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wstep { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wstep .dot { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--sky); color: var(--muted); }
.wstep .nm { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: var(--muted2); }
.wstep.cur .dot { background: var(--red); color: #fff; } .wstep.cur .nm { font-weight: 600; color: var(--navy); }
.wstep.done .dot { background: var(--navy); color: #fff; } .wstep.done .nm { color: var(--navy); }
.wiz-body { padding: 28px; min-height: 520px; display: flex; flex-direction: column; gap: 18px; }
.panel { display: flex; flex-direction: column; gap: 18px; }
.panel h1 { font-size: 24px; font-weight: 700; }
.panel .lead { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.wiz-foot { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.wiz-foot .err { margin-right: auto; color: var(--red-d); font-size: 14px; max-width: 520px; }
.wiz-foot .btn { height: 50px; padding: 0 30px; font-size: 16px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.drop {
  flex: 1 1 340px; min-height: 300px; border-radius: 18px; background: var(--bg); border: 2px dashed var(--pale);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center;
}
.drop.over { background: var(--sky); border-color: var(--blue); }
.photo-box { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; }
.photo-box img, .photo-box video { width: 100%; max-height: 420px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #0F1A47; }
.photo-box figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.photo-actions { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.photo-actions ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.note { background: var(--sky); border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.5; }
.script { flex: 999 1 360px; background: var(--bg); border-radius: 16px; padding: 22px; font-size: 18px; line-height: 1.7; }
.script .fallback { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.recbox { flex: 1 1 240px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.timer { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.recbtn { width: 84px; height: 84px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; background: var(--navy); }
.recbtn.on { background: var(--red); animation: pk-pulse 1.2s ease-out infinite; }
.recbtn .sq { width: 26px; height: 26px; border-radius: 6px; background: #fff; display: block; }
@keyframes pk-pulse { 0% { box-shadow: 0 0 0 0 rgba(226,28,36,0.45); } 100% { box-shadow: 0 0 0 24px rgba(226,28,36,0); } }
.player { flex: 999 1 360px; display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 14px; padding: 10px 14px; }
.playbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 3px; min-width: 0; }
.wave div { flex: 1; border-radius: 2px; background: var(--blue); min-height: 3px; }
.quality { flex: 1 1 240px; border-radius: 14px; padding: 12px 14px; font-size: 13px; background: var(--sky); }
.quality.bad { background: var(--pink); color: var(--red-d); }
.consent { border-radius: 16px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--field); cursor: pointer; }
.consent.on { border-color: var(--navy); }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.consent span { font-size: 15px; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.fact { background: var(--bg); border-radius: 12px; padding: 14px; }
.fact .k { font-size: 12px; color: var(--muted); } .fact .v { font-size: 15px; font-weight: 600; word-break: break-word; }
.done-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 40px 20px; }
.done-box h1 { font-size: 26px; font-weight: 700; }
.done-box p { margin: 0; font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.6; }
.tick { width: 88px; height: 88px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.tick.bad { background: var(--pink); }
.steps-list { width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.steps-list div { display: flex; justify-content: space-between; font-size: 14px; }
.steps-list .st { color: var(--muted); } .steps-list .st.done { color: var(--blue-d); font-weight: 600; } .steps-list .st.now { color: var(--red-d); font-weight: 600; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.upload-progress { width: 100%; max-width: 460px; }

/* live preview */
.preview { aspect-ratio: 16 / 9; border-radius: 12px; background: #EEF3FB; position: relative; overflow: hidden; border: 1px solid var(--line); }
.pv-photo { position: absolute; left: 6%; top: 21%; width: 32%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #C6D7F3; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(22,34,92,0.15); }
.pv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-plate { position: absolute; left: 7%; top: 70%; max-width: 38%; background: var(--navy); border-left: 4px solid var(--red); border-radius: 6px; padding: 4px 8px; }
.pv-plate .n { color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-plate .d { color: #B4CAF5; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-clip { position: absolute; left: 43%; top: 19%; width: 52%; height: 58%; border-radius: 10px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(22,34,92,0.12); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); }
.pv-l { position: absolute; left: 6%; top: 5%; height: 10%; } .pv-r { position: absolute; right: 6%; top: 5%; height: 10%; }
.pv-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 7%; background: var(--navy); }
.side-h { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

/* video page */
.vplayer { position: relative; border-radius: 14px; overflow: hidden; background: #0F1A47; }
.vplayer video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #0F1A47; }
.share-btn { height: 52px; border-radius: 12px; border: 1px solid var(--field); color: var(--navy); background: #fff; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 600; width: 100%; font-family: inherit; }
.share-btn.main { height: 54px; background: var(--navy); color: #fff; border: 0; }
.share-btn.main:hover { color: #fff; background: #0f1a47; }
.share-btn:hover { color: var(--navy); background: var(--bg); }
.share-btn.main:hover { background: #0f1a47; color: #fff; }

/* ---------- admin ---------- */
.admin { min-height: 100vh; display: flex; flex-wrap: wrap; }
.side-nav { flex: 1 1 240px; max-width: 260px; background: var(--navy); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; gap: 6px; }
.side-nav .logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: flex; justify-content: center; margin-bottom: 18px; }
.side-nav .logo img { height: 38px; }
.side-nav .cap { font-size: 11px; letter-spacing: 0.1em; color: var(--pale); padding: 0 12px 6px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: #C9D6F2; text-decoration: none; font-size: 14px; }
.side-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side-nav a.on { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; }
.side-nav .foot { margin-top: auto; padding: 12px; font-size: 12px; color: var(--pale); display: flex; flex-direction: column; gap: 8px; }
.side-nav .foot button { background: none; border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 13px; text-align: left; }
.admin-main { flex: 999 1 720px; min-width: 0; padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 22px; }
.admin-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.admin-head .title { flex: 1 1 300px; }
.admin-head h1 { font-size: 26px; font-weight: 700; }
.admin-head .title div { font-size: 14px; color: var(--muted); }
.flabel { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.kpis6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kpis6 .kpi { padding: 18px; } .kpis6 .kpi .v { font-size: 28px; }
.kpis6 .kpi .s { font-weight: 500; }
.arow { display: flex; flex-wrap: wrap; gap: 18px; }
.arow > .wide { flex: 999 1 560px; min-width: 0; }
.arow > .narrow { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.acard { background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.acard h2 { font-size: 16px; font-weight: 600; }
.chart { height: 220px; display: flex; align-items: flex-end; gap: 4px; border-bottom: 1px solid var(--line); position: relative; }
.chart .b { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue); min-height: 2px; }
.chart .b.wdd { background: var(--red); } .chart .b.zero { background: var(--line); }
.chart .pace { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--red); }
.chart .pace span { position: absolute; right: 0; bottom: 4px; font-size: 11px; color: var(--red-d); font-weight: 600; }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.lbar { display: grid; grid-template-columns: 82px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13px; }
.track { height: 12px; border-radius: 99px; background: var(--line2); }
.track > div { height: 100%; border-radius: 99px; background: var(--blue-d); }
.track.thin { height: 10px; } .track.thin > div { background: var(--blue); }
.zrow { display: flex; flex-direction: column; gap: 5px; }
.zrow .top { display: flex; justify-content: space-between; font-size: 13px; }
.qrow { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.qrow:last-child { border-bottom: 0; }
.qrow .st { color: var(--blue-d); font-weight: 600; white-space: nowrap; }
.spend { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.spend > div { background: var(--bg); border-radius: 12px; padding: 14px; }
.spend > div.hl { background: var(--sky); }
.spend .k { font-size: 12px; color: var(--muted); } .spend .hl .k { color: var(--blue-d); font-weight: 600; }
.spend .v { font-size: 22px; font-weight: 700; } .spend .s { font-size: 12px; color: var(--muted); }
table.t.admin-t { font-size: 13px; }
table.t.admin-t th { font-size: 11px; padding: 12px 10px; background: #F8FAFE; }
table.t.admin-t td { padding: 11px 10px; }
table.t.lead-t td { padding: 10px 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid #DCE4F3; }
.tabs a { height: 44px; padding: 0 16px; display: flex; align-items: center; font-size: 14px; margin-bottom: -1px; color: var(--muted); border-bottom: 3px solid transparent; text-decoration: none; }
.tabs a.on { font-weight: 600; color: var(--navy); border-bottom-color: var(--red); }
.filters { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters .search { flex: 1 1 240px; height: 42px; }
.filters .search input { flex: 1; width: auto; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.pager .pg { display: flex; gap: 6px; }
.pager a, .pager span.cur { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--field); background: #fff; color: var(--navy); display: inline-flex; align-items: center; text-decoration: none; }
.pager span.cur { background: var(--navy); color: #fff; border: 0; }
.pager a.off { pointer-events: none; opacity: .45; }
.secret { font-family: ui-monospace, Menlo, monospace; font-size: 28px; font-weight: 700; letter-spacing: 0.08em; background: var(--sky); border-radius: 12px; padding: 14px 18px; display: inline-block; }

/* public share page */
.share-page { min-height: 100vh; background: #0F1A47; display: flex; align-items: center; justify-content: center; padding: 16px; }
.share-page video { width: 100%; max-width: 1100px; max-height: 92vh; border-radius: 12px; background: #000; }
.share-page .gone { color: #C9D6F2; text-align: center; font-size: 16px; }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  .login-hero { padding: 28px 20px; gap: 22px; }
  .login-hero h1 { font-size: 28px; }
  .hero-shot { display: none; }
  .topbar-in { padding: 10px 16px; gap: 8px 12px; }
  .topbar-in > a img { height: 34px; }
  .me-name { display: none; }
  .me { order: 2; }
  .mainnav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .mainnav a { white-space: nowrap; padding: 8px 12px; }
  .page, .page.tight { padding: 16px; gap: 16px; }
  .hero { padding: 22px 20px; }
  .hero-text h1 { font-size: 22px; }
  .hero-cta { width: 100%; justify-content: center; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .v { font-size: 26px; }
  .card { padding: 18px 16px; }
  .wiz-steps { padding: 14px 16px; gap: 8px; display: flex; }
  .wstep { flex: 0 0 auto; }
  .wstep.cur { flex: 1 1 auto; }
  .wstep .nm { display: none; }
  .wstep.cur .nm { display: inline; }
  .wiz-body { padding: 18px 16px; min-height: 0; }
  .wiz-foot { padding: 14px 16px; }
  .wiz-foot .btn { flex: 1; padding: 0 12px; }
  .script { font-size: 16px; padding: 16px; }
  .side-nav { max-width: none; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; padding: 12px; gap: 4px; align-items: center; }
  .side-nav .logo { margin: 0 8px 0 0; padding: 6px 8px; } .side-nav .logo img { height: 28px; }
  .side-nav .cap { display: none; }
  .side-nav a { padding: 8px 10px; font-size: 13px; }
  .side-nav a svg { display: none; }
  .side-nav .foot { margin: 0 0 0 auto; padding: 0; flex-direction: row; align-items: center; }
  .side-nav .foot span { display: none; }
  .admin-main { padding: 16px; gap: 16px; }
}
