/* ------------------------------------------------------------------ *
 * Vadhu-Var Suchak — screen mockups
 *
 * These reproduce the site's real design tokens (apps/web/tailwind.config.ts)
 * so what the committee approves is what gets built. Mockup-only chrome —
 * the screen switcher and the phone frame — is marked `mk-`.
 * ------------------------------------------------------------------ */
:root {
  --white: #ffffff;
  --sky: #eff6fb;
  --sky-deep: #e3eff8;
  --ink: #2a2622;
  --ink-soft: #655f58;
  --ink-faint: #9a948b;
  --saffron: #e8500c;
  --saffron-deep: #b93a06;
  --saffron-light: #fce1d1;
  --line: #e6e3e0;
  --ok: #0b7a4b;
  --warn: #b45309;
  --font-display: 'Tiro Devanagari Marathi', Georgia, serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body: Mukta, 'Noto Sans Kannada', Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--ink); background: #dfe5ec; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------------- mockup chrome ---------------- */
.mk-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.mk-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--ink); color: #fff; padding: 22px 0 40px; }
.mk-nav h1 { font-family: var(--font-display); font-size: 19px; padding: 0 22px 4px; font-weight: 400; }
.mk-nav .mk-sub { padding: 0 22px 18px; font-size: 11.5px; color: #b8b2ab; }
.mk-nav .mk-group { padding: 16px 22px 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); font-weight: 700; }
.mk-nav button { display: block; width: 100%; text-align: right; direction: ltr; background: none; border: 0; color: #d8d3cd; font: inherit; font-size: 13px; padding: 8px 22px; cursor: pointer; border-left: 3px solid transparent; text-align: left; }
.mk-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.mk-nav button.is-active { background: rgba(232,80,12,.16); border-left-color: var(--saffron); color: #fff; font-weight: 600; }
.mk-nav .mk-id { color: #8a847d; font-size: 10.5px; margin-right: 7px; }

.mk-stage { padding: 26px 30px 70px; }
.mk-screen { display: none; }
.mk-screen.is-active { display: block; }
.mk-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.mk-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.mk-head .mk-code { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-deep); font-weight: 700; background: var(--saffron-light); padding: 3px 9px; border-radius: 3px; }
.mk-head .mk-note { flex: 1 1 100%; font-size: 12.5px; color: #5d6470; }
.mk-frame { background: var(--white); border: 1px solid #c9d2dc; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(20,26,36,.10); }
.mk-phone { max-width: 400px; margin: 0 auto; border-radius: 26px; border: 9px solid #1b1b1b; overflow: hidden; box-shadow: 0 20px 45px rgba(20,26,36,.22); }
.mk-two { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); align-items: start; }

/* ---------------- site chrome (real design) ---------------- */
.utility { background: var(--saffron); color: #fff; font-size: 11.5px; }
.utility .in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility .lang span { opacity: .65; margin-left: 9px; }
.utility .lang span.on { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.utility .give { background: #fff; color: var(--saffron-deep); font-weight: 700; padding: 3px 12px; border-radius: 3px; margin-left: 12px; }

.nav { background: #fff; border-bottom: 1px solid var(--line); }
.nav .in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 40px; height: 40px; border-radius: 50%; background: var(--saffron-light); border: 1.5px solid var(--saffron); display: grid; place-items: center; font-family: var(--font-display); color: var(--saffron-deep); font-size: 17px; }
.brand b { font-family: var(--font-display); font-size: 17px; font-weight: 400; display: block; }
.brand small { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.nav .menu { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); }
.nav .menu .on { color: var(--saffron-deep); font-weight: 600; border-bottom: 2px solid var(--saffron); padding-bottom: 3px; }
.nav .act { border: 1px solid var(--saffron); color: var(--saffron-deep); font-size: 12.5px; font-weight: 600; padding: 7px 15px; border-radius: 3px; }

.foot { background: var(--sky); border-top: 2px solid var(--saffron); padding: 26px 20px; font-size: 11.5px; color: var(--ink-faint); text-align: center; }

/* ---------------- shared page pieces ---------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.band { padding: 46px 0; }
.band.sky { background: var(--sky); }
.band.tint { background: var(--saffron-light); }
.eyebrow { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); font-weight: 700; display: block; margin-bottom: 10px; }
h3.disp { font-family: var(--font-display); font-size: 27px; font-weight: 400; line-height: 1.3; }
h4.disp { font-family: var(--font-display); font-size: 19px; font-weight: 400; }
.lead { color: var(--ink-soft); font-size: 14px; margin-top: 10px; max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 22px; border-radius: 3px; font-size: 13.5px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; }
.btn.p { background: var(--saffron); color: #fff; }
.btn.o { border: 1.5px solid var(--saffron); color: var(--saffron-deep); background: #fff; }
.btn.g { background: var(--ok); color: #fff; }
.btn.s { min-height: 34px; font-size: 12px; padding: 0 14px; }
.btn.w { width: 100%; }

.card { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(42,38,34,.05); }
.card.top { border-top: 3px solid var(--saffron); }
.card .pad { padding: 22px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.divider { display: flex; align-items: center; max-width: 1180px; margin: 0 auto; }
.divider i { flex: 1; height: 1px; background: var(--line); }
.divider b { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--saffron-light); color: var(--saffron); display: grid; place-items: center; font-size: 13px; margin: 0 5px; font-weight: 400; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.field .in-x, .field select, .field input, .field textarea { width: 100%; min-height: 40px; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; font-family: inherit; font-size: 13px; color: var(--ink); background: #fff; }
.field .hint { font-size: 11px; color: var(--ink-faint); margin-top: 4px; }
.req { color: var(--saffron); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 5px 13px; font-size: 12px; color: var(--ink-soft); background: #fff; }
.chip.on { background: var(--saffron); border-color: var(--saffron); color: #fff; font-weight: 600; }

.steps { display: flex; gap: 4px; margin-bottom: 22px; }
.steps span { flex: 1; height: 4px; background: var(--line); border-radius: 2px; }
.steps span.on { background: var(--saffron); }
.steplbl { font-size: 11.5px; color: var(--ink-faint); margin-bottom: 6px; }

.tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.tag.ok { background: rgba(11,122,75,.12); color: var(--ok); }
.tag.wait { background: rgba(180,83,9,.12); color: var(--warn); }
.tag.new { background: var(--saffron-light); color: var(--saffron-deep); }
.tag.no { background: rgba(192,54,44,.12); color: #c0362c; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.tbl th { text-align: left; background: var(--sky); color: var(--ink-soft); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 10px; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
table.tbl tr:hover td { background: #fbfcfe; }

/* candidate avatar — deliberately not a real face */
.av { aspect-ratio: 3/4; background: linear-gradient(160deg, var(--sky-deep), var(--saffron-light)); display: grid; place-items: center; position: relative; }
.av .ini { font-family: var(--font-display); font-size: 34px; color: var(--saffron-deep); opacity: .75; }
.av .lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(42,38,34,.55); color: #fff; font-size: 11.5px; text-align: center; padding: 14px; line-height: 1.5; }
.av.sq { aspect-ratio: 1/1; }
.wm { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.55); font-size: 11px; transform: rotate(-20deg); letter-spacing: .1em; }

.stat b { font-family: var(--font-display); font-size: 25px; color: var(--saffron-deep); display: block; font-weight: 400; }
.stat span { font-size: 11px; color: var(--ink-faint); }

.callout { background: var(--sky); border-left: 3px solid var(--saffron); padding: 14px 16px; font-size: 12.5px; color: var(--ink-soft); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }

.side { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }
.side .rail { background: var(--ink); color: #cfcac4; padding: 18px 0; font-size: 12.5px; }
.side .rail .t { padding: 0 18px 12px; font-family: var(--font-display); color: #fff; font-size: 15px; }
.side .rail a { display: block; padding: 8px 18px; border-left: 3px solid transparent; }
.side .rail a.on { background: rgba(232,80,12,.18); border-left-color: var(--saffron); color: #fff; font-weight: 600; }
.side .body { padding: 22px; background: #fbfcfd; }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.searchbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--line); padding: 16px; }
.searchbar .field { margin: 0; min-width: 130px; flex: 1; }

@media (max-width: 900px) {
  .mk-shell { grid-template-columns: 1fr; }
  .mk-nav { position: static; height: auto; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
}

/* ---------------- prototype pager & mobile rail ---------------- */
.mk-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #c9d2dc; }
.mk-pager button { background: #fff; border: 1px solid #c9d2dc; border-radius: 3px; font: inherit; font-size: 12.5px; color: var(--ink); padding: 8px 14px; cursor: pointer; }
.mk-pager button:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.mk-pager .mk-count { font-size: 11.5px; color: #6b7482; }
.mk-toggle { display: none; position: fixed; right: 14px; bottom: 14px; z-index: 90; background: var(--ink); color: #fff; border: 0; border-radius: 30px; padding: 12px 18px; font: inherit; font-size: 13px; box-shadow: 0 10px 26px rgba(20,26,36,.28); cursor: pointer; }

@media (max-width: 900px) {
  .mk-toggle { display: block; }
  .mk-nav { display: none; }
  body.mk-open .mk-nav { display: block; }
  body.mk-open .mk-stage { display: none; }
  .mk-stage { padding: 16px 12px 90px; }
  .mk-head h2 { font-size: 18px; }
  .side { grid-template-columns: 1fr; }
  .side .rail { display: flex; overflow-x: auto; padding: 10px; gap: 4px; }
  .side .rail .t { display: none; }
  .side .rail a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: 6px 12px; }
  .side .rail a.on { border-left: 0; border-bottom-color: var(--saffron); }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .searchbar .field { min-width: 100%; }
  .nav .menu { display: none; }
  .utility .in { font-size: 10.5px; }
  table.tbl { font-size: 11.5px; }
}

/* keyboard focus — the deck is walked with Tab and arrow keys too */
.mk-nav button:focus-visible,
.mk-pager button:focus-visible,
.mk-toggle:focus-visible,
[role="link"]:focus-visible { outline: 3px solid rgba(232, 80, 12, .55); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
