/* PressCard SaaS — one stylesheet for site, client admin and super admin */
:root {
  --brand: #C8102E; --brand-2: #111827; --brand-ink: #9B0C23; --brand-soft: #FDECEE;
  --ink: #14171F; --ink-2: #4B515C; --muted: #5E6470; --line: #E6E1D7; --line-2: #CFC8BA;
  --bg: #F7F5F0; --panel: #FFFFFF; --soft: #F1EEE7;
  --ok: #166534; --ok-bg: #DCFCE7; --warn: #92400E; --warn-bg: #FEF3C7; --bad: #991B1B; --bad-bg: #FEE2E2; --info: #3730A3; --info-bg: #E0E7FF;
  --radius: 18px;
  --font: "Hind", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Hind", "Noto Sans Devanagari", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
html[lang=hi] h1, html[lang=hi] h2, html[lang=hi] h3 { font-family: var(--font); }
h1 { font-size: clamp(24px, 4vw, 34px); } h2 { font-size: 20px; } h3 { font-size: 17px; }
a { color: var(--brand); } a:hover { color: var(--brand-ink); }
img { max-width: 100%; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1.5px solid transparent; background: var(--brand); color: #fff; font: 700 16px/1.1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { color: #fff; filter: brightness(.94); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-dark { background: var(--ink); } .btn-ok { background: #15803D; } .btn-bad { background: #B91C1C; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); } .btn-line:hover { color: var(--ink); background: var(--soft); }
.btn-soft { background: var(--brand-soft); color: var(--brand-ink); } .btn-soft:hover { color: var(--brand-ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; border-radius: 11px; }
.btn-lg { min-height: 60px; padding: 0 28px; font-size: 18px; border-radius: 16px; }
.btn-block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; }

/* Forms */
label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
label > input, label > select, label > textarea, label > .row, label > .hint, label > img, label > .bd-color, label > span.check { display: block; margin-top: 6px; }
label > .row, label > .bd-color { display: flex; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); font: 400 17px/1.3 var(--font);
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input[type=color] { width: 54px; height: 42px; padding: 2px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
input[type=file] { font: 400 14px var(--font); padding: 10px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--soft); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
label.check { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
label.check > input { display: inline-block; margin-top: 0; }
label.check input { width: 20px; height: 20px; accent-color: var(--brand); }
label.check input[type=color] { width: 54px; height: 42px; flex: none; padding: 2px; }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.req { color: var(--bad); }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.span-2, .span-all { grid-column: 1 / -1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; background: #fff; }
legend { font: 600 17px var(--font-head); padding: 0 8px; }

/* Cards, alerts, badges */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-flush { padding: 0; overflow: hidden; }
.card-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.card-head h2 { margin: 0; font-size: 18px; }
.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 15px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); } .alert-bad { background: var(--bad-bg); color: var(--bad); }
.alert-warn { background: var(--warn-bg); color: var(--warn); } .alert-info { background: var(--info-bg); color: var(--info); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); } .badge-info { background: var(--info-bg); color: var(--info); } .badge-muted { background: var(--soft); color: var(--ink-2); }

/* Tables */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; color: var(--ink-2); font-weight: 600; background: #FAF9F6; padding: 11px 14px; white-space: nowrap; }
.table td { padding: 12px 14px; border-top: 1px solid #EFECE6; vertical-align: middle; }
.table .actions { text-align: right; white-space: nowrap; }
.avatar { width: 40px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--soft); display: inline-block; vertical-align: middle; }
.who { display: flex; align-items: center; gap: 12px; } .who b { display: block; } .who span { font-size: 13px; color: var(--muted); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 20px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

/* Toggle switch */
.switch { position: relative; display: inline-flex; width: 50px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #C7C9D3; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.feat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0EEE9; }
.feat-row:last-child { border-bottom: 0; }

/* ---------- Public site ---------- */
.site-header { background: var(--brand-2); color: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { width: 46px; height: 46px; border-radius: 10px; background: #fff; object-fit: contain; padding: 3px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 10px; background: var(--brand); display: flex; align-items: center; justify-content: center; font: 700 17px var(--font-head); color: #fff; flex-shrink: 0; }
.brand-name { font: 600 18px/1.2 var(--font-head); display: block; }
.brand-tag { font-size: 13px; color: #C9CDD6; display: block; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 15px; }
.site-nav a { color: #fff; text-decoration: none; padding: 6px 0; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
.lang-switch { display: inline-flex; border: 1px solid #4A5163; border-radius: 8px; overflow: hidden; }
.lang-switch a { padding: 5px 10px !important; font-size: 13px; }
.lang-switch a.on { background: #fff; color: var(--brand-2) !important; }
.menu-toggle { display: none; }
.hero { padding: 48px 0 32px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero-text h1 { font-size: clamp(28px, 5vw, 46px); margin: 0; font-weight: 700; }
.hero-text p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.pill { align-self: flex-start; background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-card { width: 250px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); transform: rotate(-3deg); }
.hero-card-top { background: var(--brand); color: #fff; padding: 14px 16px; font: 600 15px var(--font-head); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hero-card-top span:last-child { background: #fff; color: var(--brand); font-size: 12px; padding: 3px 8px; border-radius: 5px; letter-spacing: 1px; }
.hero-card-body { padding: 18px 16px; display: flex; gap: 14px; align-items: center; }
.ph { width: 72px; height: 88px; border-radius: 8px; background: #EDE9E1; flex-shrink: 0; }
.ph-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ph-lines i { display: block; height: 9px; border-radius: 5px; background: #E3DFD6; } .ph-lines i:first-child { background: var(--ink); width: 85%; } .ph-lines i:nth-child(2) { background: var(--brand); width: 60%; }
.hero-card-band { background: var(--brand); color: #fff; text-align: center; font: 800 28px var(--font-head); letter-spacing: 5px; padding: 6px 0; }
.section { padding: 28px 0 40px; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tile:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-2px); }
.tile-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.tile b { font: 600 18px var(--font-head); } .tile span { color: var(--ink-2); font-size: 15px; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { display: flex; flex-direction: column; gap: 6px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font: 600 16px var(--font-head); }
.step b { font-size: 17px; }
.verify-band { background: var(--brand-2); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.verify-band form { display: flex; gap: 10px; flex: 1 1 360px; flex-wrap: wrap; }
.verify-band input { flex: 1 1 200px; background: #262B38; border-color: #4A5163; color: #fff; }
.verify-band input::placeholder { color: #9AA0AD; }
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 14px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.page { padding: 28px 0 48px; }
.page-narrow { max-width: 760px; }
.stepper { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stepper li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.stepper li.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.fee-box { background: var(--brand-soft); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.upi-qr { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
.doc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.doc { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #FAF9F6; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); }
.doc img, .doc .doc-ph { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; background: #EDE9E1; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.status-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.status-card img { width: 84px; height: 102px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.dl { display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0; }
.dl dt { font-size: 13px; color: var(--muted); } .dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.timeline li::before { content: "● "; color: var(--line-2); } .timeline li.done::before { color: #15803D; } .timeline li.now { font-weight: 600; } .timeline li.now::before { color: #B45309; }
.verify-result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.verify-result img { width: 120px; height: 146px; object-fit: cover; border-radius: 10px; border: 3px solid var(--line); }
.verify-stamp { font: 700 18px var(--font-head); padding: 8px 18px; border-radius: 999px; }
.verify-stamp.ok { background: var(--ok-bg); color: var(--ok); } .verify-stamp.bad { background: var(--bad-bg); color: var(--bad); } .verify-stamp.warn { background: var(--warn-bg); color: var(--warn); }
.epaper-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.epaper-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }

/* Card + letter preview */
.card-stage { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; padding: 20px; background: #E9E6DF; border-radius: 14px; }
.card-face { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pc-card { position: relative; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.pc-el { position: absolute; overflow: hidden; }
.pc-txt { white-space: pre-line; overflow-wrap: anywhere; }
.letter-stage { overflow-x: auto; background: #E9E6DF; border-radius: 14px; padding: 20px; }
.letter { width: 794px; min-height: 1123px; margin: 0 auto; background: #fff; padding: 56px 64px; position: relative; color: #111; font-family: var(--font); font-size: 16px; line-height: 1.75; display: flex; flex-direction: column; }
.letter-head { display: flex; gap: 18px; align-items: center; border-bottom: 4px solid var(--brand); padding-bottom: 14px; }
.letter-head img { width: 84px; height: 84px; object-fit: contain; }
.letter-head h2 { margin: 0; font-size: 32px; color: var(--brand); font-family: "Hind", var(--font-head); font-weight: 700; }
.letter-head p { margin: 2px 0 0; font-size: 14px; color: #333; line-height: 1.45; }
.letter-meta { display: flex; justify-content: space-between; margin: 16px 0 6px; font-size: 14px; }
.letter-title { text-align: center; font: 700 22px "Hind", var(--font-head); margin: 10px 0 14px; text-decoration: underline; text-underline-offset: 6px; }
.letter-body { white-space: pre-line; text-align: justify; flex: 1; }
.letter-who { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 14px; }
.letter-photo { width: 96px; height: 116px; object-fit: cover; border: 2px solid #ddd; flex-shrink: 0; }
.letter-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; gap: 20px; }
.letter-sign { text-align: center; font-size: 14px; display: flex; flex-direction: column; align-items: center; }
.letter-sign img { height: 56px; max-width: 180px; object-fit: contain; }
.letter-seal { width: 96px; height: 96px; object-fit: contain; }
.letter-qr { display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 4px; }
.letter-strip { margin: 26px -64px -56px; background: var(--brand-2); color: #fff; text-align: center; font-size: 13px; padding: 10px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }

/* ---------- Admin + Super admin shell ---------- */
.shell { display: flex; min-height: 100vh; background: linear-gradient(to right, var(--brand-2) 250px, var(--soft) 250px); }
.super .shell { background: linear-gradient(to right, #14151A 250px, var(--soft) 250px); }
.side { width: 250px; flex-shrink: 0; background: var(--brand-2); color: #C9CDD6; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.super .side { background: #14151A; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; text-decoration: none; }
.side-brand .brand-mark, .side-brand .brand-logo { width: 38px; height: 38px; font-size: 14px; border-radius: 9px; }
.side-brand b { font: 600 15px/1.2 var(--font-head); display: block; } .side-brand small { font-size: 12px; color: #9AA0AD; }
.side a { color: #C9CDD6; text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.side .grp { font-size: 11.5px; letter-spacing: 1px; color: #8E93A0; padding: 14px 12px 4px; text-transform: uppercase; }
.side .count { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.super .side .count { background: #4F46E5; }
.main { flex: 1; min-width: 0; padding: 24px; background: var(--soft); }
.topbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.topbar h1 { margin: 0; font-size: 26px; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.stat:hover { color: var(--ink); border-color: var(--line-2); }
.stat span { font-size: 14px; color: var(--ink-2); font-weight: 600; } .stat b { font: 700 30px var(--font-head); } .stat small { font-size: 13px; color: var(--muted); }
.stat.dark { background: var(--ink); color: #fff; border-color: var(--ink); } .stat.dark span, .stat.dark small { color: #C9CDD6; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.split { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.split > .grow { flex: 999 1 560px; min-width: 0; }
.split > .aside { flex: 1 1 300px; min-width: 0; }
.mobile-bar { display: none; }
.swatch-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tpl-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tpl-item { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tpl-item.on { border-color: var(--brand); }
.tpl-thumb { width: 162px; height: 258px; position: relative; overflow: hidden; border-radius: 8px; }
.tpl-thumb .pc-card { transform: scale(.5); transform-origin: top left; }
.plan-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Install / login */
.plain-body { background: var(--soft); }
.install, .login-box { max-width: 720px; margin: 40px auto; padding: 0 16px; }
.login-box { max-width: 420px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.checks .ok { color: var(--ok); } .checks .bad { color: var(--bad); } .checks .warn { color: var(--warn); }

/* Responsive */
@media (max-width: 860px) {
  .shell, .super .shell { display: block; background: var(--soft); }
  .side { position: static; width: auto; height: auto; display: none; }
  .side.open { display: flex; }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; background: var(--brand-2); color: #fff; padding: 10px 14px; }
  .super .mobile-bar { background: #14151A; }
  .mobile-bar button { min-height: 40px; }
  .main { padding: 16px; }
  .site-nav { width: 100%; display: none; }
  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 28px; }
  .hero-art { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px; } .tile b { font-size: 16px; } .tile span { font-size: 13px; }
  .tile-ic { width: 40px; height: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .letter-stage { padding: 8px; }
}
@media print {
  .no-print, .site-header, .site-footer, .side, .mobile-bar { display: none !important; }
  body, .main { background: #fff; padding: 0; }
}

/* =====================================================================
   v2 — simple, big, mobile-first components
   ===================================================================== */
.ic { width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ic svg { width: 30px; height: 30px; }
.ic-brand { background: var(--brand); color: #fff; } .ic-ok { background: var(--ok-bg); color: #15803D; }
.ic-warn { background: var(--warn-bg); color: #A16207; } .ic-info { background: #DBEAFE; color: #1D4ED8; } .ic-soft { background: var(--brand-soft); color: var(--brand); }

/* Language switch — one click Hindi / English */
.lang-pill { display: inline-flex; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-pill a { min-height: 36px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; }
.lang-pill a.on { background: #fff; color: var(--ink); }
.lang-pill.light { background: var(--soft); }
.lang-pill.light a { color: var(--ink-2); } .lang-pill.light a.on { background: var(--ink); color: #fff; }

/* Site header v2 */
.s-head { background: var(--brand); color: #fff; }
.s-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.s-head .brand-logo, .s-head .brand-mark { background: #fff; color: var(--brand); }
.s-head .brand-tag { color: rgba(255,255,255,.88); }
.s-links { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.s-links a.nl { color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 6px 0; }
.s-links a.nl:hover { text-decoration: underline; color: #fff; }
.s-hero { background: var(--brand); color: #fff; border-radius: 0 0 30px 30px; padding: 8px 0 30px; margin-bottom: 4px; }
.s-hero h1 { color: #fff; margin: 4px 0 0; font-size: clamp(26px, 5vw, 40px); }
.s-hero p { margin: 6px 0 0; opacity: .92; font-size: 17px; max-width: 620px; }
.home-wrap { max-width: 980px; margin: 0 auto; padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.big-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.big-tile { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-height: 156px; transition: transform .12s, border-color .12s; }
.big-tile:hover { color: var(--ink); border-color: var(--brand); transform: translateY(-2px); }
.big-tile.primary { border: 2px solid var(--brand); }
.big-tile b { font-size: 19px; line-height: 1.2; }
.big-tile small { font-size: 13.5px; color: var(--muted); margin-top: -4px; }
.mini-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mini-tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 58px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.mini-tile:hover { color: var(--ink); border-color: var(--line-2); }
.mini-tile svg { width: 26px; height: 26px; flex-shrink: 0; }
.help-bar { background: #15803D; color: #fff; border-radius: 18px; padding: 12px 16px; min-height: 64px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.help-bar:hover { color: #fff; filter: brightness(.95); }
.help-bar .hb-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.help-bar b { display: block; font-size: 17px; } .help-bar span { font-size: 13.5px; opacity: .92; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.how div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.how .n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.how b { font-size: 15px; line-height: 1.25; }
.verify-mini { display: flex; gap: 8px; } .verify-mini input { flex: 1; min-width: 0; }

/* Bottom navigation (phones) */
.bottom-nav { display: none; }
@media (max-width: 860px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-nav a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 12.5px; font-weight: 700; }
  .bottom-nav a.on { color: var(--brand); }
  .bottom-nav svg { width: 24px; height: 24px; }
  body.has-bnav { padding-bottom: 82px; }
  .s-links .nl { display: none; }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Wizard (apply form, one question at a time) */
.wz { max-width: 640px; margin: 0 auto; padding: 0 16px 24px; }
.wz-head { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0 14px; margin: 0 -16px 18px; }
.wz-head .inner { max-width: 640px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.wz-title { display: flex; align-items: center; gap: 10px; }
.wz-title b { font-size: 17px; display: block; } .wz-title span { font-size: 14px; color: var(--muted); }
.iconbtn { width: 46px; height: 46px; border-radius: 13px; background: var(--soft); border: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; text-decoration: none; flex-shrink: 0; }
.iconbtn svg { width: 22px; height: 22px; }
.wz-bar { display: grid; gap: 5px; }
.wz-bar i { height: 8px; border-radius: 4px; background: #E1DCD1; display: block; }
.wz-bar i.done { background: #15803D; } .wz-bar i.on { background: var(--brand); }
.wz-labels { display: grid; gap: 5px; font-size: 11.5px; text-align: center; color: var(--muted); }
.wz-labels span.on { color: var(--ink); font-weight: 700; } .wz-labels span.done { color: var(--ok); font-weight: 600; }
.wz-step { display: flex; flex-direction: column; gap: 16px; }
.js .wz-step { display: none; } .js .wz-step.on { display: flex; }
.wz-step + .wz-step { margin-top: 28px; } .js .wz-step + .wz-step { margin-top: 0; }
.wz-q { font-size: clamp(24px, 6vw, 30px); line-height: 1.25; margin: 6px 0 0; }
.wz-sub { margin: -8px 0 0; color: var(--muted); font-size: 16px; }
.wz input:not([type=checkbox]):not([type=radio]):not([type=file]), .wz select { min-height: 60px; font-size: 20px; border-radius: 16px; }
.wz textarea { font-size: 18px; border-radius: 16px; }
.wz input:focus, .wz select:focus, .wz textarea:focus { border-width: 2px; }
.wz-actions { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 22px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 10px; z-index: 30; }
.wz-actions .btn { min-height: 60px; font-size: 18px; border-radius: 16px; }
.wz-actions .grow { flex: 1; }
body.has-bnav .wz-actions { bottom: 0; }
.voice-btn { min-height: 52px; border-radius: 16px; border: 1.5px dashed #B9B2A4; background: #fff; font: 600 16px var(--font); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; padding: 0 16px; }
.voice-btn.rec { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.note { background: var(--warn-bg); color: #713F12; border-radius: 14px; padding: 12px 14px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.note svg { flex-shrink: 0; margin-top: 2px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { min-height: 58px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 10px; font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.choice input:checked + span { border: 2.5px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.review-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 16px; }
.review-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0ECE4; font-size: 15.5px; }
.review-list div:last-child { border-bottom: 0; } .review-list dt { color: var(--muted); } .review-list dd { margin: 0; font-weight: 700; text-align: right; }

/* Photo / document capture */
.cam-frame { position: relative; height: 280px; border-radius: 22px; background: #1F2430; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cam-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-frame .cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cam-frame.doc { height: 210px; }
.eg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.eg { background: #fff; border-radius: 14px; border: 2px solid #E5B4B4; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.eg.good { border-color: #15803D; }
.eg .pic { width: 100%; height: 62px; border-radius: 10px; background: #F1F5F9; display: flex; align-items: flex-end; justify-content: center; }
.eg b { font-size: 14px; display: flex; align-items: center; gap: 4px; } .eg.good b { color: var(--ok); } .eg:not(.good) b { color: var(--bad); }
.file-btns { display: flex; flex-direction: column; gap: 10px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; border: 0; }
.file-ok { display: none; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; }
.file-ok.show { display: flex; }

/* Status hero + timeline */
.status-hero { border-radius: 22px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.status-hero .sh-ic { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.status-hero b { font-size: 22px; line-height: 1.25; } .status-hero span { font-size: 15.5px; }
.status-hero.warn { background: var(--warn-bg); color: #713F12; } .status-hero.ok { background: var(--ok-bg); color: #14532D; } .status-hero.bad { background: var(--bad-bg); color: #7F1D1D; }
.status-hero.ok .sh-ic { background: #15803D; }
.status-hero .reason { background: #fff; border-radius: 12px; padding: 10px 12px; }
.tl { list-style: none; margin: 0; padding: 4px 6px; }
.tl li { display: flex; gap: 14px; align-items: flex-start; }
.tl .dot { display: flex; flex-direction: column; align-items: center; }
.tl .dot i { width: 34px; height: 34px; border-radius: 50%; background: #E1DCD1; color: var(--muted); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 15px; }
.tl .dot s { width: 3px; height: 26px; background: #E1DCD1; display: block; }
.tl li:last-child .dot s { display: none; }
.tl li.done .dot i, .tl li.done .dot s { background: #15803D; color: #fff; }
.tl li.now .dot i { background: #F59E0B; color: #fff; } .tl li.bad .dot i { background: #B91C1C; color: #fff; }
.tl .txt { padding-top: 5px; line-height: 1.3; } .tl .txt b { display: block; font-size: 16px; } .tl .txt span { font-size: 13.5px; color: var(--muted); }
.who-card { background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 12px; display: flex; gap: 12px; align-items: center; }
.who-card img, .who-card .ph { width: 58px; height: 70px; border-radius: 10px; object-fit: cover; background: #D6CFC2; flex-shrink: 0; }
.who-card b { font-size: 18px; display: block; } .who-card span { font-size: 14px; color: var(--muted); display: block; }
.page-sm { max-width: 560px; margin: 0 auto; padding: 16px 16px 28px; display: flex; flex-direction: column; gap: 14px; }

/* Card download */
.face-toggle { display: inline-flex; background: #EAE6DD; border-radius: 999px; padding: 4px; gap: 4px; align-self: center; }
.face-toggle button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 700 15px var(--font); color: var(--muted); cursor: pointer; }
.face-toggle button.on { background: #fff; color: var(--ink); }
.dl-grid { display: flex; flex-direction: column; gap: 10px; }
.dl-grid .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn-wa { background: #15803D; color: #fff; }
@media (max-width: 860px) { .card-stage.one-face .card-face.hide { display: none; } }

/* Verify result */
.v-hero { color: #fff; padding: 24px 18px 74px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.v-hero.ok { background: #15803D; } .v-hero.warn { background: #B45309; } .v-hero.bad { background: #B91C1C; }
.v-hero .v-ic { width: 86px; height: 86px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.v-hero b { font-size: clamp(26px, 7vw, 34px); line-height: 1.2; }
.v-card { margin: -54px auto 0; max-width: 520px; background: #fff; border-radius: 22px; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.v-card img, .v-card .ph { width: 116px; height: 140px; border-radius: 12px; object-fit: cover; border: 4px solid #15803D; background: #D6CFC2; }
.v-card.warn img { border-color: #B45309; } .v-card.bad img { border-color: #B91C1C; }
.v-card .post { background: var(--soft); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.v-card .dl { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Admin v2 ---------- */
.side .ni { width: 34px; height: 34px; border-radius: 10px; background: #374151; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.side .ni svg { width: 19px; height: 19px; }
.side a { min-height: 48px; font-size: 15.5px; justify-content: flex-start; gap: 12px; border-radius: 12px; }
.side a .lbl { flex: 1; }
.side a.on .ni { background: var(--brand); }
.super .side a.on .ni { background: #4F46E5; }
.plan-box { margin-top: auto; background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; }
.plan-box b { color: #fff; font-size: 14.5px; }
.meter { height: 7px; border-radius: 4px; background: rgba(255,255,255,.15); display: block; overflow: hidden; }
.meter i { display: block; height: 100%; background: #22C55E; border-radius: 4px; }
.meter.light { background: #EEEEF3; }
.top-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-big { display: flex; gap: 8px; flex: 0 1 440px; }
.search-big input { flex: 1; min-width: 0; min-height: 52px; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 20px; }
.task { background: #fff; border-radius: 20px; border: 1.5px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.task.hot { border: 2px solid var(--brand); }
.task .t-top { display: flex; align-items: center; justify-content: space-between; }
.task .t-num { font: 800 38px var(--font-head); }
.task b.t-t { font-size: 18px; } .task .t-d { font-size: 14px; color: var(--muted); margin-top: -4px; }
.task .btn { margin-top: 6px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick { background: var(--bg); border-radius: 14px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 14.5px; line-height: 1.25; text-decoration: none; color: var(--ink); }
.quick:hover { color: var(--ink); background: var(--soft); }
.quick .ic { width: 44px; height: 44px; border-radius: 12px; } .quick .ic svg { width: 22px; height: 22px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.bars i { width: 100%; border-radius: 6px 6px 2px 2px; background: #D6CFC2; display: block; min-height: 4px; }
.bars div.today i { background: var(--brand); }
.app-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #F3F0E9; }
.app-row .avatar { width: 46px; height: 56px; border-radius: 9px; }
.app-row .who-t { flex: 1 1 180px; min-width: 0; line-height: 1.3; } .app-row .who-t b { display: block; font-size: 16.5px; } .app-row .who-t span { font-size: 14px; color: var(--muted); }

/* Review screen */
.rv-top { background: var(--brand-2); color: #fff; margin: -24px -24px 20px; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rv-top a { color: #fff; text-decoration: none; font-weight: 700; }
.rv-top .prog { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.rv-top .meter { max-width: 420px; }
.rv-top .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.rv-grid { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.rv-grid > * { flex: 1 1 420px; min-width: 0; }
.doc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.doc-tabs button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 700 15px var(--font); color: var(--ink); cursor: pointer; }
.doc-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc-tabs button:disabled { opacity: .45; cursor: not-allowed; }
.viewer { height: 440px; border-radius: 16px; background: #E9E4DA; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 92%; max-height: 92%; transition: transform .15s; }
.viewer iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.viewer .v-tools { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.viewer .v-tools button, .viewer .v-tools a { width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fff; font: 700 20px var(--font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
.viewer .empty-doc { color: var(--muted); font-weight: 600; }
.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist label { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.checklist input { width: 24px; height: 24px; accent-color: #15803D; flex-shrink: 0; }
.checklist label:has(input:checked) { background: #F0FDF4; border-color: #86EFAC; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
.chips button.on { background: var(--warn-bg); border-color: #D97706; }
.action-bar { position: sticky; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); margin: 20px -24px -24px; padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.action-bar .btn { min-height: 62px; font-size: 18px; border-radius: 16px; flex: 1 1 180px; max-width: 340px; }
.btn-warn { background: #FFFBEB; color: #92400E; border: 2px solid #D97706; } .btn-warn:hover { color: #92400E; }
.btn-badline { background: #fff; color: #B91C1C; border: 2px solid #FCA5A5; } .btn-badline:hover { color: #B91C1C; }
.rv-panel { display: none; } .rv-panel.on { display: flex; }
.admin-bnav { display: none; }
@media (max-width: 860px) {
  .rv-top { margin: -16px -16px 16px; padding: 12px 16px; }
  .action-bar { margin: 16px -16px -16px; padding: 10px 12px; }
  .action-bar .btn { min-height: 60px; font-size: 16px; flex: 1 1 30%; }
  .viewer { height: 340px; }
  .admin-bnav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
  .admin-bnav a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 12.5px; font-weight: 700; }
  .admin-bnav a.on { color: var(--brand); } .admin-bnav svg { width: 22px; height: 22px; }
  body.has-anav .main { padding-bottom: 96px; }
  body.has-anav .action-bar { bottom: 70px; }
}

/* ---------- Super admin v2 ---------- */
.alert-box { background: #FFFBEB; border: 1.5px solid #FCD34D; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.alert-box > b { font-size: 18px; color: #78350F; }
.alert-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff; border-radius: 13px; padding: 10px 12px; }
.alert-row b { flex: 1 1 220px; font-size: 16px; } .alert-row b span { font-weight: 500; color: #92400E; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ccard { background: #fff; border-radius: 20px; border: 1px solid #E4E4EA; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ccard .c-top { display: flex; align-items: center; gap: 12px; }
.ccard .c-logo { width: 48px; height: 48px; border-radius: 13px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; background: #fff; }
.ccard .c-logo img { width: 100%; height: 100%; object-fit: contain; }
.ccard .c-name { flex: 1; min-width: 0; line-height: 1.25; } .ccard .c-name b { display: block; font-size: 17px; }
.ccard .c-name a { font-size: 13.5px; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccard .c-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: #565867; }
.ccard .c-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ccard .c-acts form, .ccard .c-acts a { display: block; } .ccard .c-acts .btn { width: 100%; padding: 0 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-row .tabs { margin: 0; }
.filter-row form { margin-left: auto; display: flex; gap: 8px; }
.wz-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wz-steps button { width: 100%; min-height: 62px; border-radius: 16px; border: 2px solid #E4E4EA; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px; cursor: pointer; text-align: left; font-family: var(--font); color: var(--ink); }
.wz-steps button .n { width: 34px; height: 34px; border-radius: 50%; background: #E4E4EA; color: #565867; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-steps button b { display: block; font-size: 15.5px; line-height: 1.2; } .wz-steps button span { font-size: 12.5px; color: var(--muted); }
.wz-steps button.on { border-color: #4F46E5; background: #EEF2FF; } .wz-steps button.on .n { background: #4F46E5; color: #fff; }
.wz-steps button.done .n { background: #15803D; color: #fff; }
.sw-panel { display: flex; flex-direction: column; gap: 18px; }
.js .sw-panel { display: none; } .js .sw-panel.on { display: flex; }
.preview-phone { width: 250px; border-radius: 26px; background: #fff; border: 6px solid #14151A; overflow: hidden; }
.preview-phone .pp-head { background: var(--pv, #C8102E); color: #fff; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.preview-phone .pp-logo { width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--pv, #C8102E); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.preview-phone .pp-grid { padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.preview-phone .pp-grid span { height: 64px; border-radius: 12px; border: 1px solid #E6E1D7; display: flex; align-items: flex-end; padding: 8px; font-size: 12px; font-weight: 700; }
.preview-phone .pp-grid span:first-child { border: 2px solid var(--pv, #C8102E); }
@media (max-width: 860px) { .wz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .desk-only { display: none !important; } }
.mobile-bar .lang-pill a { min-height: 34px; padding: 0 10px; font-size: 13px; }
.plain-top { display: flex; justify-content: flex-end; max-width: 720px; margin: 16px auto -24px; padding: 0 16px; }
