/* exam.4ab.in — /app/evaluator.html, THE ONE PAGE (EVALUATOR-MASTER-PLAN.md Phase 1).
   Loads LAST, after app.css / check.css / account.css / homework.css / cross.css —
   it deliberately does NOT redefine the .hw-a-* / .cx-* vocabulary those two
   sheets already own (upload slots, price panel, plan cards, tick lists, level
   badge). Only the things unique to the unified shell live here: the mode
   selector, the three-column console frame, the --purple token this plan's
   §69 colour rule needs (review = purple, and nothing on this site defined it
   yet), and the small responsive/tap-target rules the page itself asked for. */

:root {
  --purple: #6B4FBB;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --purple: #A78BFA; }
}
:root[data-theme="dark"] { --purple: #A78BFA; }

/* ---------------------------------------------------------- page shell --- */
body { background: var(--bg); color: var(--body); }

/* Sticky footer, same recipe as .ex-p-homework in homework.css — scoped to
   this page only so no other page's layout changes. */
body.ex-p-evaluator { display: flex; flex-direction: column; min-height: 100vh; }
body.ex-p-evaluator .ab-credit { flex: 0 0 auto; margin-top: 0; }
body.ex-p-evaluator #evShell { flex: 1 0 auto; width: 100%; box-sizing: border-box; }

.ev-shell { padding-top: 4px; }

/* ------------------------------------------------------- mode selector --- */
.ev-modesel {
  max-width: var(--wrap, 1500px); margin: 0 auto 14px; padding: 0 18px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ev-modebtn {
  flex: 1 1 0; min-width: 160px; min-height: 44px; padding: 10px 14px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--card); color: var(--body); font: inherit; font-size: 14px;
  font-weight: 600; cursor: pointer; text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.ev-modebtn:hover { background: var(--chip-bg); color: var(--ink); }
.ev-modebtn.is-on { background: var(--focus); border-color: var(--focus); color: #fff; }
.ev-modebtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

@media (max-width: 640px) {
  .ev-modesel { padding: 0 12px; gap: 6px; }
  .ev-modebtn { min-width: 0; font-size: 12.5px; padding: 10px 6px; }
}

/* ------------------------------------------------------------- console --- */
/* Three columns at wide desktop — main console, the shared price/guideline
   pair (owned by homework.css's .hw-a-grid, embedded inside .ev-main below),
   and a third rail of mode-aware tips. .hw-a-grid itself stays 2-column
   (main + 300px price/guideline side) at every width; this outer frame only
   ever adds or removes the third rail. */
.ev-wrap {
  max-width: 1500px; margin: 0 auto; padding: 0 18px 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start;
}
.ev-main { min-width: 0; }
.ev-rail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

@media (min-width: 1200px) {
  .ev-wrap { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1200px) {
  .ev-wrap { grid-template-columns: minmax(0, 1fr); padding: 0 14px 28px; }
  .ev-rail { flex-direction: row; flex-wrap: wrap; }
  .ev-rail > * { flex: 1 1 260px; }
}
@media (max-width: 860px) {
  .ev-wrap { padding: 0 12px 28px; }
  .ev-rail { flex-direction: column; }
}

/* Tap targets on the console's own controls at ≤900px, matching the rule
   already applied in homework.css for the two-mode flows this replaces. */
@media (max-width: 900px) {
  .ev-modebtn { min-height: 44px; }
  .ev-wrap .btn { min-height: 44px; }
  .ev-wrap .inp { min-height: 40px; }
}

/* --------------------------------------------------- print / a11y guard --- */
@media print {
  .ev-modesel, .ev-rail { display: none !important; }
}

/* The standing AI disclaimer (owner, 2026-09-12). Amber = a limit to
   understand, never red (red means a wrong answer everywhere else on this
   product — one colour, one meaning). Always visible, never dismissible. */
.ev-disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 10px 0 14px; padding: 10px 13px;
  border-radius: var(--r-sm);
  background: rgba(176, 122, 12, .09);
  border: 1px solid rgba(176, 122, 12, .30);
  border-left: 3px solid var(--amber);
  font-size: 13px; line-height: 1.5; color: var(--body);
}
.ev-disclaimer b { color: var(--ink); }
.ev-disclaimer-i { color: var(--amber); font-size: 15px; line-height: 1.4; }
@media print { .ev-disclaimer { border: 1px solid #999; background: none; } }


/* ---- Report / Answer sheet tabs (Phase 5, Wave 2) ------------------------ */
.ev-tabs {
  display: flex; gap: 6px; margin: 0 0 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.ev-tab {
  appearance: none; background: none; border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 14px; min-height: 40px;     /* a real tap target on a phone */
  font: inherit; font-size: 14px; color: var(--body);
  cursor: pointer; border-radius: 6px 6px 0 0;
}
.ev-tab:hover { background: var(--card-2); color: var(--ink); }
.ev-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ev-tab.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
@media print { .ev-tabs { display: none; } }


/* =====================================================================
   V2 LAYOUT — owner mockup, 2026-09-13 ("update page like this").
   Header band with chips + the standing disclaimer as the right-hand card,
   three mode CARDS, a 2x2 grid of numbered cards (Upload / Basic Details /
   Advanced / Price), one full-width gold CTA, four feature tiles. Loads
   after homework.css, so the .hw-a-* overrides below win on order; where a
   homework.css rule is more specific the selector here is doubled up.
   Colours are tokens only, except the deep-gold brand fill (#8A6D1F —
   --gold-ink, 4.9:1 with white text) used for the active mode card, the
   step numbers and the CTA. */

.ex-p-evaluator .ex-phead { max-width: 1500px; margin: 0 auto; padding: 14px 18px 0; }
.ex-p-evaluator .ex-phead h1 { margin: 0; }
.ev2-band { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; }
.ev2-brand { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ev2-logo {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-size: 32px; background: var(--chip-bg); border: 1px solid var(--chip-line); flex: 0 0 auto;
}
.ev2-brand h1 { font-size: 30px; line-height: 1.15; color: var(--ink); }
.ev2-brand p { margin: 4px 0 0; color: var(--body); font-size: 14px; max-width: 62ch; }
.ev2-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ev2-chips li {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 12px; line-height: 1.2; font-weight: 600; color: var(--ink);
}
.ev2-chip-i { font-size: 20px; }
.ev2-band .ev-disclaimer { margin: 0; max-width: 250px; font-size: 12px; align-items: center; }

/* --- mode cards --- */
.ev-modesel.ev2-modes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px auto;
}
.ev-modebtn.ev2-mode {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 18px;
  min-height: 96px; min-width: 0; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink);
}
.ev-modebtn.ev2-mode:hover:not(.is-on) { background: var(--card-2); border-color: var(--chip-line); color: var(--ink); }
.ev2-mode-i {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px;
  background: var(--chip-bg); border: 1px solid var(--chip-line); flex: 0 0 auto;
}
.ev2-mode--exam .ev2-mode-i  { background: rgba(37, 99, 235, .10);  border-color: rgba(37, 99, 235, .28); }
.ev2-mode--marks .ev2-mode-i { background: rgba(219, 39, 119, .10); border-color: rgba(219, 39, 119, .28); }
.ev2-mode-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev2-mode-t b { font-size: 18px; color: var(--ink); }
.ev2-mode-t i { font-style: normal; font-size: 13px; font-weight: 400; color: var(--body); }
.ev2-mode-t em {
  font-style: normal; font-size: 11.5px; font-weight: 600; align-self: flex-start; margin-top: 3px;
  padding: 3px 9px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--ink);
}
.ev-modebtn.ev2-mode.is-on {
  background: linear-gradient(135deg, #8A6D1F, #B8902E); border-color: #8A6D1F; color: #fff;
  box-shadow: 0 8px 22px rgba(138, 109, 31, .35);
}
.ev2-mode.is-on .ev2-mode-t b, .ev2-mode.is-on .ev2-mode-t i { color: #fff; }
.ev2-mode.is-on .ev2-mode-i { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.ev2-mode.is-on .ev2-mode-t em { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); color: #fff; }

/* --- console frame: one column, no tips rail (the mockup has none) --- */
body.ex-p-evaluator .ev-wrap { grid-template-columns: minmax(0, 1fr); }
body.ex-p-evaluator .ev-rail { display: none; }
.ev2-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.ev2-card, .hw-a-adv.ev2-adv, .hw-a-price.ev2-price {
  margin: 0; padding: 16px 18px; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.hw-a-price.ev2-price { gap: 8px; }
.ev2-chead { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ev2-chead > div { flex: 1 1 auto; min-width: 0; }
.ev2-chead h2 { margin: 0; font-size: 18px; color: var(--ink); }
.ev2-chead p { margin: 2px 0 0; font-size: 13px; color: var(--body); }
.ev2-num {
  width: 30px; height: 30px; border-radius: 50%; background: #8A6D1F; color: #fff;
  font-weight: 700; font-size: 14px; display: grid; place-items: center; flex: 0 0 auto;
}
.ev2-help, .btn.ev2-advtoggle { min-height: 36px; font-size: 13px; border-radius: 999px; white-space: nowrap; }

/* --- slots --- */
.hw-a-slots.ev2-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev2-slots .hw-a-slot { border-radius: 14px; padding: 16px 10px; }
.ev2-slots .hw-a-slot-icon { width: 56px; height: 56px; border-radius: 50%; font-size: 26px; }
.ev2-slots .ev-slot--question .hw-a-slot-icon { background: rgba(37, 99, 235, .10);  border-color: rgba(37, 99, 235, .28); }
.ev2-slots .ev-slot--answer .hw-a-slot-icon   { background: rgba(220, 38, 38, .09);  border-color: rgba(220, 38, 38, .25); }
.ev2-slots .ev-slot--key .hw-a-slot-icon      { background: rgba(201, 168, 76, .18); border-color: rgba(201, 168, 76, .45); }
.ev2-slots .ev-slot--scheme .hw-a-slot-icon   { background: rgba(31, 122, 63, .10);  border-color: rgba(31, 122, 63, .28); }
.ev2-slots .hw-a-slot-title { font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ev2-slots .hw-a-opt { font-size: 12.5px; }
.ev2-slots .hw-a-slot .hw-a-slothint { margin: 4px 0 12px; }
.ev2-slots .hw-a-choose, .ev2-slots .hw-a-slot--answer .hw-a-choose {
  border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 600;
  background: var(--card); border: 1px solid var(--focus); color: var(--focus);
}
.ev2-slots .hw-a-choose:hover { background: var(--chip-bg); }
.ev2-slots .hw-a-drop, .ev2-slots .hw-a-slotcaps { display: none; }   /* said once, under the CTA */

/* --- basic details --- */
.ev2-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev2-meta .ev2-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ev2-inwrap { position: relative; display: block; font-weight: 400; }
.ev2-inwrap > i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 16px; pointer-events: none; opacity: .85;
}
.ev2-inwrap .inp { width: 100%; box-sizing: border-box; padding-left: 40px; min-height: 44px; border-radius: 10px; }
.ev2-note {
  grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px;
  background: rgba(201, 168, 76, .12); border: 1px solid rgba(201, 168, 76, .38); font-size: 13px; color: var(--body);
}
.ev2-note > span { font-size: 22px; line-height: 1; }
.ev2-note b { display: block; color: var(--ink); margin-bottom: 2px; }

/* --- advanced --- */
.ev2-advgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev2-advgrid .hw-a-advcol + .hw-a-advcol { border-left: 1px solid var(--line); padding-left: 16px; }
.ev2-advgrid .hw-a-advnote { grid-column: 1 / -1; }
.ev2-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--body); }
.ev2-ticks li { display: flex; align-items: center; gap: 10px; }
.ev2-ticks li::before {
  content: '\2713'; width: 18px; height: 18px; border-radius: 4px; background: var(--focus); color: #fff;
  font-size: 12px; display: grid; place-items: center; flex: 0 0 auto;
}

/* --- price --- */
.ev2-pricewrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; align-items: stretch; margin-bottom: 4px; }
.ev2-pricetile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 18px 12px; border-radius: 14px; text-align: center;
  background: rgba(201, 168, 76, .14); border: 1px solid rgba(201, 168, 76, .42);
}
.ev2-pricetile b { font-size: 34px; line-height: 1; color: #8A6D1F; }
.ev2-pricetile span { font-size: 13px; font-weight: 600; color: var(--body); }
.ev2-price .hw-a-willdo {
  margin: 0; padding: 12px 14px; border-radius: 14px; list-style: none;
  background: rgba(31, 122, 63, .06); border: 1px solid rgba(31, 122, 63, .22);
  display: flex; flex-direction: column; gap: 8px; justify-content: center; font-size: 13px;
}
:root[data-theme="dark"] .ev2-pricetile b { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ev2-pricetile b { color: var(--gold); } }

/* --- CTA + safety line + features --- */
.hw-a-golane.ev2-golane { justify-content: center; margin-top: 18px; }
.ev2-golane .hw-a-next {
  flex: 0 1 800px; min-height: 52px; font-size: 18px; border-radius: 999px;
  background: linear-gradient(135deg, #8A6D1F, #B8902E); border-color: #8A6D1F; color: #fff;
  box-shadow: 0 8px 22px rgba(138, 109, 31, .35); justify-content: center;
}
.ev2-golane .hw-a-next:disabled { opacity: .55; box-shadow: none; }
.ev2-safe { text-align: center; font-size: 12.5px; color: var(--body); margin: 8px 0 0; }
.ev2-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.ev2-feat {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); min-width: 0;
}
.ev2-feat-i {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px;
  flex: 0 0 auto; background: var(--chip-bg); border: 1px solid var(--chip-line);
}
.ev2-feat b { display: block; font-size: 14.5px; color: var(--ink); }
.ev2-feat span { font-size: 12.5px; color: var(--body); }

/* --- responsive --- */
@media (max-width: 1240px) {
  .ev2-band { grid-template-columns: minmax(0, 1fr); }
  .ev2-band .ev-disclaimer { max-width: none; }
  .ev2-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .ev2-grid { grid-template-columns: minmax(0, 1fr); }
  .hw-a-slots.ev2-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ev-modesel.ev2-modes { grid-template-columns: 1fr; gap: 10px; }
  .ev-modebtn.ev2-mode { min-height: 0; padding: 12px 14px; }
  .ev2-brand h1 { font-size: 22px; }
  .ev2-logo { width: 48px; height: 48px; font-size: 24px; }
  .ev2-chead { flex-wrap: wrap; }
  .ev2-meta, .ev2-advgrid, .ev2-pricewrap, .ev2-features { grid-template-columns: 1fr; }
  .ev2-advgrid .hw-a-advcol + .hw-a-advcol { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .ev2-golane .hw-a-next { flex-basis: 100%; }
}
@media (max-width: 520px) {
  .hw-a-slots.ev2-slots { grid-template-columns: 1fr; }
}
@media print {
  .ev2-band .ev2-chips, .ev2-features, .ev2-safe { display: none; }
}


/* ---- V2 one-screen compaction (owner 2026-09-13: "fixed on one screen for
   understanding"). Target: whole console inside a 1024px-tall desktop viewport
   below the 59px site header. Densities only — no content change. ---- */
.ex-p-evaluator .ex-phead { padding: 8px 18px 0; }
.ev2-band { gap: 12px; }
.ev2-logo { width: 52px; height: 52px; font-size: 26px; border-radius: 14px; }
.ev2-brand h1 { font-size: 26px; }
.ev2-brand p { font-size: 13px; margin-top: 2px; }
.ev2-chips li { padding: 6px 10px; font-size: 11.5px; }
.ev2-chip-i { font-size: 18px; }
.ev2-band .ev-disclaimer { padding: 8px 11px; font-size: 11.5px; line-height: 1.35; max-width: 230px; }
.ev-modesel.ev2-modes { margin: 10px auto 8px; gap: 12px; }
.ev-modebtn.ev2-mode { min-height: 78px; padding: 10px 16px; gap: 12px; }
.ev2-mode-i { width: 48px; height: 48px; font-size: 22px; }
.ev2-mode-t b { font-size: 16.5px; }
.ev2-mode-t i { font-size: 12.5px; }
.ev2-mode-t em { font-size: 11px; padding: 2px 8px; margin-top: 2px; }
body.ex-p-evaluator .ev-wrap { padding-bottom: 10px; }
.ev2-grid { gap: 12px; }
.ev2-card, .hw-a-adv.ev2-adv, .hw-a-price.ev2-price { padding: 12px 14px; }
.ev2-chead { margin-bottom: 8px; gap: 10px; }
.ev2-chead h2 { font-size: 16.5px; }
.ev2-chead p { font-size: 12.5px; }
.ev2-num { width: 26px; height: 26px; font-size: 13px; }
.ev2-help, .btn.ev2-advtoggle { min-height: 32px; font-size: 12.5px; padding: 0 12px; }
.hw-a-slots.ev2-slots { gap: 10px; }
.ev2-slots .hw-a-slot { padding: 12px 8px 12px; }
.ev2-slots .hw-a-slot-icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 6px; }
.ev2-slots .hw-a-slot-title { font-size: 14px; line-height: 1.15; }
.ev2-slots .hw-a-opt { font-size: 12px; }
.ev2-slots .hw-a-slot .hw-a-slothint { margin: 3px 0 10px; font-size: 12px; }
.ev2-slots .hw-a-choose, .ev2-slots .hw-a-slot--answer .hw-a-choose { min-height: 36px; padding: 0 14px; font-size: 13px; }
.ev2-meta { gap: 10px; }
.ev2-meta .ev2-field { font-size: 13px; gap: 4px; }
.ev2-inwrap .inp { min-height: 40px; }
.ev2-note { grid-column: auto; padding: 8px 10px; font-size: 12px; align-items: center; align-self: end; }
.ev2-note > span { font-size: 20px; }
.ev2-advgrid { gap: 12px; }
.ev2-advgrid .hw-a-advcol + .hw-a-advcol { padding-left: 12px; }
.ev2-advgrid .flabel { margin-bottom: 4px; }
.ev2-advgrid .hw-a-radio { min-height: 28px; padding: 2px 0; font-size: 13px; }
.ev2-ticks { gap: 6px; font-size: 13px; }
.ev2-advnote { margin: 2px 0 0; font-size: 11.5px; line-height: 1.35; }
.ev2-pricewrap { gap: 10px; margin-bottom: 0; }
.ev2-pricetile { padding: 14px 10px; }
.ev2-pricetile b { font-size: 30px; }
.ev2-pricetile span { font-size: 12.5px; }
.ev2-price .hw-a-willdo { padding: 10px 12px; gap: 6px; font-size: 12.5px; }
.ev2-price .hw-a-pricenote, .ev2-price .hw-a-caps { font-size: 11.5px; margin: 4px 0 0; }
.hw-a-golane.ev2-golane { margin-top: 10px; }
.ev2-golane .hw-a-next { min-height: 48px; font-size: 17px; }
.ev2-safe { margin-top: 6px; font-size: 12px; }
.ev2-features { margin-top: 10px; gap: 10px; }
.ev2-feat { padding: 9px 12px; gap: 10px; }
.ev2-feat-i { width: 42px; height: 42px; font-size: 21px; }
.ev2-feat b { font-size: 13.5px; }
.ev2-feat span { font-size: 12px; }
.ev2-price .hw-a-err { margin: 6px 0 0; padding: 8px 10px; font-size: 12.5px; }
.ev2-upload .hw-a-err { margin: 0 0 8px; padding: 8px 10px; font-size: 12.5px; }
@media (max-width: 760px) {
  .ev2-note { grid-column: 1 / -1; }
}


/* ---- Mode cards, each its own tint (owner 2026-09-13: "teeno menu ka colour
   alag alag tinted highlighted rakho jisse log dusre ko bhi visualise kar payein").
   Homework = gold, Exam = blue, Marks = pink. Inactive cards keep a light wash
   of their own hue so all three read as distinct choices; the active one
   deepens to the saturated fill with white text. ---- */
.ev-modebtn.ev2-mode--homework { background: linear-gradient(135deg, rgba(201,168,76,.22), rgba(201,168,76,.10)); border-color: rgba(138,109,31,.45); }
.ev-modebtn.ev2-mode--exam     { background: linear-gradient(135deg, rgba(37,99,235,.16),  rgba(37,99,235,.06));  border-color: rgba(37,99,235,.40); }
.ev-modebtn.ev2-mode--marks    { background: linear-gradient(135deg, rgba(219,39,119,.15), rgba(219,39,119,.06)); border-color: rgba(219,39,119,.40); }
.ev-modebtn.ev2-mode--homework:hover:not(.is-on) { background: linear-gradient(135deg, rgba(201,168,76,.32), rgba(201,168,76,.16)); }
.ev-modebtn.ev2-mode--exam:hover:not(.is-on)     { background: linear-gradient(135deg, rgba(37,99,235,.24),  rgba(37,99,235,.10)); }
.ev-modebtn.ev2-mode--marks:hover:not(.is-on)    { background: linear-gradient(135deg, rgba(219,39,119,.22), rgba(219,39,119,.10)); }
.ev2-mode--homework .ev2-mode-i { background: rgba(201,168,76,.28); border-color: rgba(138,109,31,.5); }
.ev2-mode--homework .ev2-mode-t em { background: rgba(201,168,76,.28); border-color: rgba(138,109,31,.45); }
.ev2-mode--exam .ev2-mode-t em  { background: rgba(37,99,235,.14);  border-color: rgba(37,99,235,.35); }
.ev2-mode--marks .ev2-mode-t em { background: rgba(219,39,119,.14); border-color: rgba(219,39,119,.35); }
.ev-modebtn.ev2-mode--homework.is-on { background: linear-gradient(135deg, #8A6D1F, #B8902E); border-color: #8A6D1F; box-shadow: 0 8px 22px rgba(138,109,31,.35); }
.ev-modebtn.ev2-mode--exam.is-on     { background: linear-gradient(135deg, #1D4ED8, #3B82F6); border-color: #1D4ED8; box-shadow: 0 8px 22px rgba(29,78,216,.35); }
.ev-modebtn.ev2-mode--marks.is-on    { background: linear-gradient(135deg, #BE185D, #EC4899); border-color: #BE185D; box-shadow: 0 8px 22px rgba(190,24,93,.35); }
.ev2-mode.is-on .ev2-mode-i, .ev2-mode.is-on .ev2-mode-t em { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); }
/* The numbered step badges and the CTA follow the active mode's hue, so the
   whole console says which mode it is in. */
body.ev-mode-exam  .ev2-num, body.ev-mode-exam  .ev2-golane .hw-a-next { background: linear-gradient(135deg, #1D4ED8, #3B82F6); border-color: #1D4ED8; box-shadow: 0 8px 22px rgba(29,78,216,.3); }
body.ev-mode-marks .ev2-num, body.ev-mode-marks .ev2-golane .hw-a-next { background: linear-gradient(135deg, #BE185D, #EC4899); border-color: #BE185D; box-shadow: 0 8px 22px rgba(190,24,93,.3); }
body.ev-mode-exam .ev2-num, body.ev-mode-marks .ev2-num { box-shadow: none; }


/* ---- V2 density pass 2: fit a 1024px-tall desktop viewport with Advanced
   Options OPEN (measured 1096px bottom before this; target <= 1010). ---- */
.ex-p-evaluator .ex-phead { padding-top: 6px; }
.ev2-logo { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
.ev2-brand { gap: 10px; }
.ev2-brand h1 { font-size: 23px; }
.ev2-brand p { font-size: 12px; margin-top: 1px; }
.ev2-chips li { padding: 5px 9px; font-size: 11px; gap: 6px; }
.ev2-chip-i { font-size: 16px; }
.ev2-band .ev-disclaimer { padding: 6px 10px; font-size: 11px; line-height: 1.3; max-width: 220px; }
.ev-modesel.ev2-modes { margin: 8px auto 6px; gap: 10px; }
.ev-modebtn.ev2-mode { min-height: 64px; padding: 8px 14px; gap: 10px; }
.ev2-mode-i { width: 40px; height: 40px; font-size: 19px; }
.ev2-mode-t { gap: 2px; }
.ev2-mode-t b { font-size: 15px; }
.ev2-mode-t i { font-size: 12px; }
.ev2-mode-t em { font-size: 10.5px; padding: 1px 7px; margin-top: 1px; }
.ev2-grid { gap: 10px; }
.ev2-card, .hw-a-adv.ev2-adv, .hw-a-price.ev2-price { padding: 10px 12px; }
.ev2-chead { margin-bottom: 6px; }
.ev2-chead h2 { font-size: 15.5px; }
.ev2-chead p { font-size: 12px; }
.ev2-num { width: 24px; height: 24px; font-size: 12px; }
.hw-a-slots.ev2-slots { gap: 8px; }
.ev2-slots .hw-a-slot { padding: 10px 6px; }
.ev2-slots .hw-a-slot-icon { width: 40px; height: 40px; font-size: 19px; margin-bottom: 4px; }
.ev2-slots .hw-a-slot-title { font-size: 13.5px; }
.ev2-slots .hw-a-opt { font-size: 11.5px; }
.ev2-slots .hw-a-slot .hw-a-slothint { margin: 2px 0 8px; font-size: 11.5px; }
.ev2-slots .hw-a-choose, .ev2-slots .hw-a-slot--answer .hw-a-choose { min-height: 32px; padding: 0 12px; font-size: 12.5px; }
.ev2-upload .hw-a-err, .ev2-price .hw-a-err { padding: 6px 10px; font-size: 12px; }
.ev2-meta { gap: 8px; }
.ev2-meta .ev2-field { font-size: 12.5px; gap: 3px; }
.ev2-inwrap .inp { min-height: 36px; padding-left: 36px; font-size: 13px; }
.ev2-inwrap > i { left: 10px; font-size: 15px; }
.ev2-note { padding: 6px 9px; font-size: 11.5px; }
.ev2-note > span { font-size: 18px; }
.ev2-advgrid { gap: 10px; }
.ev2-advgrid .flabel { margin-bottom: 2px; font-size: 12.5px; }
.ev2-advgrid .hw-a-radio { padding: 1px 0; min-height: 24px; font-size: 12.5px; line-height: 1.2; }
.ev2-ticks { gap: 4px; font-size: 12.5px; }
.ev2-ticks li::before { width: 16px; height: 16px; font-size: 11px; }
.ev2-advgrid .hw-a-slothint { margin: 4px 0 0; font-size: 11px; }
.ev2-advnote { padding: 4px 8px; font-size: 11px; }
.ev2-pricewrap { gap: 8px; }
.ev2-pricetile { padding: 10px 8px; gap: 2px; }
.ev2-pricetile b { font-size: 28px; }
.ev2-pricetile span { font-size: 12px; }
.ev2-price .hw-a-willdo { padding: 8px 10px; gap: 4px; font-size: 12px; }
.hw-a-golane.ev2-golane { margin-top: 8px; }
.ev2-golane .hw-a-next { min-height: 44px; font-size: 16px; }
.ev2-safe { margin-top: 4px; font-size: 11.5px; }
.ev2-features { margin-top: 8px; gap: 8px; }
.ev2-feat { padding: 7px 10px; gap: 8px; }
.ev2-feat-i { width: 36px; height: 36px; font-size: 18px; }
.ev2-feat b { font-size: 13px; }
.ev2-feat span { font-size: 11.5px; }
body.ex-p-evaluator .ev-wrap { padding-bottom: 6px; }

/* The density pass shrank tap targets everywhere; phones get them back. */
@media (max-width: 900px) {
  .ev2-slots .hw-a-choose, .ev2-slots .hw-a-slot--answer .hw-a-choose { min-height: 44px; }
  .ev2-inwrap .inp { min-height: 44px; }
  .ev2-golane .hw-a-next { min-height: 50px; }
  .ev2-advgrid .hw-a-radio { min-height: 36px; }
}


/* ---- V2: mode cards as a fixed LEFT PANEL on desktop (owner 2026-09-13). ---- */
.ev2-layout { max-width: 1700px; margin: 0 auto; padding: 0 18px; }
.ev2-col { min-width: 0; }
.ev2-layout .ex-phead { max-width: none; padding-left: 0; padding-right: 0; }
.ev2-layout .ev-wrap { padding-left: 0; padding-right: 0; }
.ev2-layout .ev-modesel.ev2-modes { padding: 0; }
@media (min-width: 1100px) {
  .ev2-layout {
    display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: start;
    padding-top: 8px;
  }
  .ev2-rail { position: sticky; top: 70px; }
  .ev2-rail .ev-modesel.ev2-modes { grid-template-columns: 1fr; gap: 10px; margin: 0; max-width: none; }
  .ev2-rail .ev-modebtn.ev2-mode {
    flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 14px 14px 12px;
  }
  .ev2-rail .ev2-mode-i { width: 44px; height: 44px; font-size: 21px; }
  .ev2-rail .ev2-mode-t b { font-size: 16px; }
  .ev2-rail .ev2-mode-t i { font-size: 12.5px; }
  .ev2-rail .ev2-mode-t em { margin-top: 4px; }
  /* Arrow on the active card pointing at the console */
  .ev2-rail .ev-modebtn.ev2-mode.is-on { position: relative; }
  .ev2-rail .ev-modebtn.ev2-mode.is-on::after {
    content: ''; position: absolute; right: -8px; top: 50%; margin-top: -8px;
    border: 8px solid transparent; border-right: 0; border-left-color: inherit;
  }
  .ev2-rail .ev-modebtn.ev2-mode--homework.is-on::after { border-left-color: #A07F27; }
  .ev2-rail .ev-modebtn.ev2-mode--exam.is-on::after     { border-left-color: #2F6BEA; }
  .ev2-rail .ev-modebtn.ev2-mode--marks.is-on::after    { border-left-color: #D93A7C; }
  /* With the cards out of the flow the console has the whole height: relax
     the one-screen squeeze a little where it hurt legibility. */
  .ev2-brand h1 { font-size: 26px; }
  .ev2-brand p { font-size: 13px; }
  .ev2-chips li { font-size: 11.5px; padding: 6px 10px; }
  .ev2-slots .hw-a-slot-icon { width: 46px; height: 46px; font-size: 22px; }
  .ev2-slots .hw-a-choose, .ev2-slots .hw-a-slot--answer .hw-a-choose { min-height: 36px; font-size: 13px; }
  .ev2-inwrap .inp { min-height: 40px; }
  .ev2-advgrid .hw-a-radio { min-height: 28px; font-size: 13px; }
  .ev2-ticks { font-size: 13px; gap: 6px; }
  .ev2-feat { padding: 9px 12px; }
  .ev2-feat-i { width: 40px; height: 40px; font-size: 20px; }
}
@media (min-width: 1100px) and (max-width: 1240px) {
  .ev2-layout { grid-template-columns: 200px minmax(0, 1fr); }
}

/* homework.css:166 pulls .hw-a-price to the top on phones (order:-1) — right
   for the old two-column console, wrong here: the V2 grid is numbered 1-2-3-4
   and Price is step 4, so it must stay last. */
@media (max-width: 900px) {
  .ev2-grid > .hw-a-price.ev2-price { order: 0; }
}


/* ===================================================================
   V4 — owner's Canva layout (Untitled design.svg, 2026-09-13)
   =================================================================== */
/* --- rail: big vertical cards --- */
@media (min-width: 1100px) {
  .ev2-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 18px; }
  .ev2-rail .ev-modesel.ev2-modes { gap: 14px; }
  .ev2-rail .ev-modebtn.ev2-mode { padding: 22px 20px 20px; gap: 12px; border-radius: 18px; }
  .ev2-rail .ev2-mode-i { width: 56px; height: 56px; font-size: 27px; }
  .ev2-rail .ev2-mode-t { gap: 5px; }
  .ev2-rail .ev2-mode-t b { font-size: 20px; line-height: 1.15; }
  .ev2-rail .ev2-mode-t i { font-size: 14.5px; }
  .ev2-rail .ev2-mode-t em { font-size: 12.5px; padding: 4px 12px; margin-top: 6px; }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  .ev2-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .ev2-rail .ev-modebtn.ev2-mode { padding: 16px 14px; }
  .ev2-rail .ev2-mode-t b { font-size: 17px; }
}

/* --- header: big two-line chips --- */
.ev2-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.ev2-chips { gap: 10px; }
.ev2-chips li { padding: 11px 16px; font-size: 15px; line-height: 1.15; gap: 10px; border-radius: 14px; }
.ev2-chip-i { font-size: 27px; }
.ev2-brand h1 { font-size: 27px; }
.ev2-brand p { font-size: 13px; }
@media (max-width: 1240px) { .ev2-chips li { font-size: 13px; padding: 8px 12px; } .ev2-chip-i { font-size: 22px; } }

/* --- the grid --- */
@media (min-width: 1000px) {
  .ev2-grid.ev2-grid--v4 {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    grid-template-areas: "upload details" "adv details" "cta cta" "plans price";
  }
  .ev2-grid.ev2-grid--v4.ev2-grid--noplans { grid-template-areas: "upload details" "adv price" "cta cta"; }
  .ev2-grid--v4 > .ev2-upload   { grid-area: upload; }
  .ev2-grid--v4 > .ev2-details  { grid-area: details; }
  .ev2-grid--v4 > #evAdv        { grid-area: adv; }
  .ev2-grid--v4 > .ev2-golane   { grid-area: cta; }
  .ev2-grid--v4 > .ev2-plans    { grid-area: plans; }
  .ev2-grid--v4 > #evPricePanel { grid-area: price; }
}
.ev2-grid--v4 > .hw-a-golane.ev2-golane { margin: 4px 0 0; flex-wrap: wrap; justify-content: center; }
.ev2-grid--v4 .ev2-golane .hw-a-next { flex: 1 1 auto; min-height: 56px; font-size: 20px; border-radius: 16px; }
.ev2-grid--v4 .ev2-golane .ev2-safe { flex: 1 0 100%; margin: 4px 0 0; }
.ev2-plans > section, .ev2-plans > .cx-card, .ev2-plans > div { margin: 0; }
.ev2-plans .cx-plans { margin-top: 0; }

/* --- feature tiles: full-width foot row under the rail too --- */
.ev2-foot { grid-column: 1 / -1; }
.ev2-foot .ev2-features { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.ev2-foot .ev2-feat { padding: 12px 14px; }
.ev2-foot .ev2-feat-i { width: 42px; height: 42px; font-size: 21px; }
.ev2-feat:nth-child(1) .ev2-feat-i { background: rgba(219,39,119,.10); border-color: rgba(219,39,119,.28); }
.ev2-feat:nth-child(2) .ev2-feat-i { background: rgba(37,99,235,.10);  border-color: rgba(37,99,235,.28); }
.ev2-feat:nth-child(3) .ev2-feat-i { background: rgba(201,168,76,.18); border-color: rgba(201,168,76,.45); }
.ev2-feat:nth-child(4) .ev2-feat-i { background: rgba(37,99,235,.06);  border-color: rgba(37,99,235,.2); }
@media (max-width: 1240px) { .ev2-foot .ev2-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .ev2-foot .ev2-features { grid-template-columns: 1fr; } }
/* measured at 1440: the big chips pushed the title onto two lines */
@media (min-width: 1000px) and (max-width: 1560px) {
  .ev2-brand h1 { font-size: 23px; white-space: nowrap; }
  .ev2-brand p { font-size: 12.5px; }
  .ev2-chips li { font-size: 13.5px; padding: 9px 13px; gap: 8px; }
  .ev2-chip-i { font-size: 23px; }
}
/* measured at 1440: single-line chips overlapped the title — the band is a
   flex row now; the chips block wraps to 2x2 before it can cover the title */
.ev2-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ev2-brand { flex: 1 1 420px; min-width: 0; }
.ev2-brand h1 { white-space: normal; }
.ev2-chips { flex: 0 1 auto; max-width: 640px; justify-content: flex-end; }
/* all four single-line chips on ONE row at 1440 (measured: the 4th wrapped) */
@media (min-width: 1000px) {
  .ev2-chips { flex-wrap: nowrap; max-width: none; }
  .ev2-chips li { font-size: 12.5px; padding: 8px 11px; gap: 7px; }
  .ev2-chip-i { font-size: 19px; }
  .ev2-brand { flex: 1 1 300px; }
  .ev2-brand h1 { font-size: 24px; }
}
@media (min-width: 1560px) {
  .ev2-chips li { font-size: 14px; padding: 10px 14px; }
  .ev2-chip-i { font-size: 23px; }
  .ev2-brand h1 { font-size: 27px; }
}
/* keep the title on one line beside the single-row chips at 1440 */
@media (min-width: 1000px) and (max-width: 1560px) {
  .ev2-brand h1 { font-size: 21px; white-space: nowrap; }
  .ev2-logo { width: 52px; height: 52px; font-size: 26px; }
}

/* The two-line subtitle (owner 2026-09-13: "write in two lines in Bold designed
   letter"). Line 1 = what you give it, in the navy of the title; line 2 = what
   you get back, in gold ink with a short gold rule in front of it. BOTH tokens
   are theme-aware (--navy #1B2A5E / #E2E8F0, --gold-ink #8A6D1F / #F5B942), so
   neither line has to be re-declared for dark mode — and --gold-ink is the
   audited 4.90:1 gold-as-TYPE, never brand --gold, which measures 2.29:1 here. */
.ev2-sub { display: flex; flex-direction: column; gap: 3px; margin: 7px 0 0; max-width: 68ch; }
.ev2-sub b {
  font-weight: 700; font-size: 14.5px; line-height: 1.32; letter-spacing: .005em;
}
.ev2-sub-a { color: var(--navy); }
.ev2-sub-b { color: var(--gold-ink); display: flex; align-items: baseline; gap: 8px; }
.ev2-sub-b::before {
  content: ''; flex: 0 0 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-ink), transparent);
  transform: translateY(-4px);
}
@media (max-width: 1560px) { .ev2-sub b { font-size: 13.5px; } }
@media (max-width: 760px)  { .ev2-sub b { font-size: 13px; } .ev2-sub { gap: 4px; } }


/* ---- uploaded-file rows (owner 2026-09-13) ------------------------------
   These rows used to carry .hw-a-file, the same class as the visually-hidden
   file input, so homework.css's "hide the input" rule hid them too — measured
   at 16x8px, opacity 0. Their own class now, and their own styling. */
.ev2-filehead {
  margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--green, #1F7A3F);
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.ev2-filehead::before { content: '\2713'; }
.hw-a-filelist { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
.ev2-file {
  display: flex; align-items: center; gap: 7px; min-width: 0; text-align: left;
  padding: 5px 6px 5px 5px; border-radius: 9px;
  background: var(--card-2); border: 1px solid var(--line);
  font-size: 12px; color: var(--body);
}
.ev2-file-k {
  flex: 0 0 auto; font-size: 9.5px; font-weight: 800; letter-spacing: .03em;
  padding: 3px 5px; border-radius: 5px; line-height: 1;
  background: rgba(37, 99, 235, .12); color: #1D4ED8; border: 1px solid rgba(37, 99, 235, .25);
}
.ev2-file--pdf .ev2-file-k { background: rgba(220, 38, 38, .10); color: #B91C1C; border-color: rgba(220, 38, 38, .25); }
.ev2-file-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.ev2-file-s { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.ev2-file-v {
  flex: 0 0 auto; border: 1px solid var(--focus); background: none; color: var(--focus);
  font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer;
  padding: 3px 9px; border-radius: 999px; min-height: 26px;
}
.ev2-file-v:hover { background: var(--chip-bg); }
.ev2-file-v:focus-visible, .ev2-file .hw-a-rm:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ev2-file .hw-a-rm { margin-left: 0; flex: 0 0 auto; }
/* a slot that has files reads as done */
.ev2-slots .hw-a-slot.has-files { border-style: solid; border-color: rgba(31, 122, 63, .45); background: rgba(31, 122, 63, .04); }
@media (max-width: 900px) { .ev2-file-v { min-height: 34px; } .ev2-file .hw-a-rm { min-width: 34px; min-height: 34px; } }

/* ===================================================================
   V5 — ONE STEP AT A TIME (owner 2026-09-13). The V4 2x2 grid is gone on
   this page: the console is now a single column of step panels, so the
   ev2-grid areas below 1000px stay as they were for anything else.
   =================================================================== */
.ev5 { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

/* --- progress rail --- */
.ev5-rail { list-style: none; margin: 0 0 2px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ev5-rail-b {
  width: 100%; display: flex; align-items: center; gap: 9px; text-align: left;
  padding: 9px 11px; border-radius: 12px; cursor: pointer; font: inherit;
  background: var(--card); border: 1px solid var(--line); color: var(--body);
}
.ev5-rail-b[disabled] { cursor: default; opacity: .55; }
.ev5-rail-n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: var(--chip-bg); color: var(--body); border: 1px solid var(--chip-line);
}
.ev5-rail-t { display: flex; flex-direction: column; min-width: 0; }
.ev5-rail-t b { font-size: 13.5px; color: var(--ink); line-height: 1.15; }
.ev5-rail-t i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.ev5-rail-i.is-on .ev5-rail-b { border-color: #8A6D1F; background: rgba(201, 168, 76, .12); }
.ev5-rail-i.is-on .ev5-rail-n { background: #8A6D1F; color: #fff; border-color: #8A6D1F; }
.ev5-rail-i.is-done .ev5-rail-n { background: var(--green, #1F7A3F); color: #fff; border-color: var(--green, #1F7A3F); }
body.ev-mode-exam  .ev5-rail-i.is-on .ev5-rail-b { border-color: #1D4ED8; background: rgba(37, 99, 235, .10); }
body.ev-mode-exam  .ev5-rail-i.is-on .ev5-rail-n { background: #1D4ED8; border-color: #1D4ED8; }
body.ev-mode-marks .ev5-rail-i.is-on .ev5-rail-b { border-color: #BE185D; background: rgba(219, 39, 119, .10); }
body.ev-mode-marks .ev5-rail-i.is-on .ev5-rail-n { background: #BE185D; border-color: #BE185D; }

/* --- step panels --- */
.ev5-step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.ev5-step.is-open { padding: 16px 18px; }
.ev5-step.is-done, .ev5-step.is-locked { padding: 0; }
.ev5-step.is-locked { background: var(--card-2); border-style: dashed; box-shadow: none; }
.ev5-sum { display: flex; align-items: center; gap: 12px; padding: 11px 16px; }
.ev5-sum-n {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; background: var(--chip-bg); color: var(--muted); border: 1px solid var(--chip-line);
}
.ev5-step.is-done .ev5-sum-n { background: var(--green, #1F7A3F); color: #fff; border-color: var(--green, #1F7A3F); }
.ev5-sum-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ev5-sum-t b { font-size: 15px; color: var(--ink); }
.ev5-sum-t span { font-size: 12.5px; color: var(--muted); }
.ev5-step.is-locked .ev5-sum-t b { color: var(--body); }
.ev5-sum-b { min-height: 34px; font-size: 12.5px; border-radius: 999px; }
.ev5-hint { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* --- step 1 extras --- */
.ev5-signin {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(37, 99, 235, .06); border: 1px solid rgba(37, 99, 235, .28);
}
.ev5-signin-i { font-size: 22px; }
.ev5-signin b { display: block; font-size: 14.5px; color: var(--ink); }
.ev5-signin span { font-size: 12.5px; color: var(--body); }
.ev5-signin .btn { flex: 0 0 auto; min-height: 38px; }

/* --- step 2: what was found --- */
.ev5-found { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px;
  background: rgba(31, 122, 63, .06); border: 1px solid rgba(31, 122, 63, .25); margin-bottom: 10px; }
.ev5-found-n { display: flex; align-items: baseline; gap: 8px; }
.ev5-found-n b { font-size: 34px; line-height: 1; color: var(--green, #1F7A3F); }
.ev5-found-n span { font-size: 13.5px; color: var(--body); font-weight: 600; }
.ev5-found-mix { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ev5-found-mix li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--body); }
.ev5-found-mix b { color: var(--ink); }

/* --- step 3: the bill --- */
.ev5-bill { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.ev5-bill-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ev5-bill-t td { padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--body); }
.ev5-bill-t tr:last-child td { border-bottom: 0; }
.ev5-bill-a { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.ev5-bill-tot td { background: var(--card-2); font-weight: 700; color: var(--ink); }
.ev5-bill-tot .ev5-bill-a { font-size: 16px; }
.btn.ev5-topup { width: 100%; margin-top: 8px; min-height: 42px; border-color: var(--focus); color: var(--focus); }
.btn.ev5-topup:hover { background: var(--chip-bg); }

/* --- step 4: downloads --- */
.ev5-dl { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ev5-dl .btn { min-height: 42px; }

/* --- customer care --- */
.ev5-help {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px; margin-top: 2px;
  background: var(--card); border: 1px solid var(--line);
}
.ev5-help.is-problem { background: rgba(176, 122, 12, .09); border-color: rgba(176, 122, 12, .35); border-left: 3px solid var(--amber); }
.ev5-help-i { font-size: 22px; }
.ev5-help.is-problem .ev5-help-i { color: var(--amber); }
.ev5-help-t { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.ev5-help-t b { font-size: 14px; color: var(--ink); }
.ev5-help-t span { font-size: 12.5px; color: var(--body); }
.btn.ev5-help-call { background: var(--navy-900, #1B2A5E); border-color: var(--navy-900, #1B2A5E); color: #fff; min-height: 40px; border-radius: 999px; }
.btn.ev5-help-wa { background: #25D366; border-color: #25D366; color: #fff; min-height: 40px; border-radius: 999px; }

@media (max-width: 760px) {
  .ev5-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev5-step.is-open { padding: 14px; }
  .ev5-found-n b { font-size: 28px; }
  .ev5-dl .btn, .ev5-help .btn { flex: 1 1 100%; }
}
@media print { .ev5-rail, .ev5-help, .ev5-dl, .ev5-step.is-locked, .ev5-step.is-done { display: none !important; } }

/* The help pills lost their ink, MEASURED: both computed color rgb(27,42,94)
   — the Call pill was navy text on a navy background, i.e. the phone number
   was invisible, and WhatsApp was navy on green. Cause is app-ab.css's own
   fix for the package's anchor bug: `.ab-page a.btn, .ab-page a.btn:hover
   { color: var(--navy) }` is (0,2,1) and beats a plain `.btn.ev5-help-call`
   (0,2,0). These are anchors inside .ab-page, so they need (0,3,1).
   Contrast, measured, not assumed: white on #1B2A5E ~12:1; white on WhatsApp
   green #25D366 is only ~1.8:1, so the green pill keeps DARK ink (~6.6:1)
   rather than the brand's own white-on-green. */
.ab-page a.btn.ev5-help-call, .ab-page a.btn.ev5-help-call:hover {
  background: #1B2A5E; border-color: #1B2A5E; color: #fff;
}
.ab-page a.btn.ev5-help-wa, .ab-page a.btn.ev5-help-wa:hover {
  background: #25D366; border-color: #1FAF52; color: #0B2B16;
}
.ev5-help .btn { font-weight: 700; letter-spacing: .01em; padding: 0 16px; }
/* pay-before-check (owner 2026-09-13) */
.btn.ev5-pay { width: 100%; margin-top: 10px; min-height: 48px; font-size: 16px; border-radius: 12px; }
.ev5-payorder {
  margin: 8px 0 0; padding: 8px 11px; border-radius: 10px; font-size: 12px; line-height: 1.4;
  color: var(--body); background: var(--card-2); border: 1px solid var(--line);
  display: flex; gap: 7px; align-items: flex-start;
}

/* ===================================================================
   V6 — the live run panel (owner 2026-09-13). Everything animated here
   is driven by REAL state; the only decorative motion is the orb and the
   rotating tips. prefers-reduced-motion turns all of it off.
   =================================================================== */
.ev6-run { display: flex; flex-direction: column; gap: 12px; }

/* --- head: a spinning orb + the phase --- */
.ev6-head { display: flex; align-items: center; gap: 13px; }
.ev6-orb {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 0deg, var(--focus), rgba(37,99,235,.06), var(--focus));
  animation: ev6-spin 1.5s linear infinite;
}
.ev6-orb i { width: 34px; height: 34px; border-radius: 50%; background: var(--card); display: block; position: relative; }
.ev6-orb i::after {
  content: ''; position: absolute; inset: 10px; border-radius: 50%;
  background: var(--focus); animation: ev6-pulse 1.4s ease-in-out infinite;
}
.ev6-head-t { display: flex; flex-direction: column; min-width: 0; }
.ev6-head-t b { font-size: 16px; color: var(--ink); }
.ev6-head-t span { font-size: 12.5px; color: var(--muted); }
.ev6-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--body); }

/* --- the bar: solid when the count is real, striped when it is not --- */
.ev6-bar { height: 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; }
.ev6-bar-f {
  height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--focus), #60A5FA);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.ev6-bar.is-indet .ev6-bar-f {
  width: 38%; background: linear-gradient(90deg, transparent, var(--focus), transparent);
  animation: ev6-slide 1.5s ease-in-out infinite;
}
.ev6-barnote { margin: 0; font-size: 12px; color: var(--muted); }
.ev6-barnote b { color: var(--ink); font-size: 13px; }

/* --- the step list --- */
.ev6-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ev6-step {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 11px;
  border: 1px solid transparent; transition: background .25s, border-color .25s, opacity .25s;
}
.ev6-step-i {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; background: var(--card-2); border: 1px solid var(--line);
}
.ev6-step-t { display: flex; flex-direction: column; min-width: 0; }
.ev6-step-t b { font-size: 13.5px; color: var(--ink); line-height: 1.2; }
.ev6-step-t i { font-style: normal; font-size: 12px; color: var(--muted); }
.ev6-step.is-wait { opacity: .5; }
.ev6-step.is-done .ev6-step-i { background: var(--green, #1F7A3F); border-color: var(--green, #1F7A3F); color: #fff; animation: ev6-pop .3s ease-out; }
.ev6-step.is-run { background: rgba(37,99,235,.07); border-color: rgba(37,99,235,.25); }
.ev6-step.is-run .ev6-step-i {
  background: var(--focus); border-color: var(--focus); color: #fff;
  animation: ev6-beat 1.3s ease-in-out infinite;
}
.ev6-step.is-run .ev6-step-t b::after {
  content: ''; display: inline-block; width: 3px; height: 3px; margin-left: 6px; border-radius: 50%;
  background: var(--focus); box-shadow: 7px 0 0 var(--focus), 14px 0 0 var(--focus);
  animation: ev6-dots 1.2s steps(4) infinite; vertical-align: middle;
}

/* --- rotating tips: CSS only, so there is no timer to leak --- */
.ev6-tips { position: relative; height: 34px; }
.ev6-tip {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 12.5px; color: var(--body);
  padding: 8px 12px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line);
  opacity: 0; animation: ev6-tip 20s ease-in-out infinite;
}

@keyframes ev6-spin { to { transform: rotate(360deg); } }
@keyframes ev6-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .55; } }
@keyframes ev6-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(370%); } }
@keyframes ev6-beat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.13); } }
@keyframes ev6-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes ev6-dots { 0% { opacity: .25; } 50% { opacity: 1; } 100% { opacity: .25; } }
@keyframes ev6-tip { 0%,2% { opacity: 0; } 5%,22% { opacity: 1; } 25%,100% { opacity: 0; } }

/* Motion is a nicety; never a requirement. */
@media (prefers-reduced-motion: reduce) {
  .ev6-orb, .ev6-orb i::after, .ev6-bar.is-indet .ev6-bar-f,
  .ev6-step.is-run .ev6-step-i, .ev6-step.is-run .ev6-step-t b::after, .ev6-tip { animation: none; }
  .ev6-bar-f { transition: none; }
  .ev6-tip:first-child { opacity: 1; }
}
@media (max-width: 640px) { .ev6-tips { height: 48px; } .ev6-head-t b { font-size: 15px; } }

/* ===================================================================
   V7 — the printed answer PDF (owner 2026-09-13, from his own 14-page
   printout). Screen behaviour of the two panes first, then the page.
   =================================================================== */
.ev7-pane:not(.is-on) { display: none; }
.ev7-mast, .ev7-printhead { display: none; }   /* paper only */

@media print {
  /* ---- 1. THE CHAT BUBBLE. It is Zoho SalesIQ, injected by the shared
     ab-analytics.js, and nothing hid it — so it printed in the corner of
     every page of his PDF. Every container SalesIQ is known to mount under
     is listed; they are all vendor chrome and none of them means anything on
     paper. ---- */
  [id^="zsiq"], [class*="zsiq"], #siqiframe, .siqembed, .siq_bR,
  #zohohc-asap-web-launcherbox, #zohohc-asap-web-launcher,
  .zsiq_floatmain, .zsiq_flt_rel, #titlediv { display: none !important; }

  /* ---- 2. Everything else that is a control, not content ---- */
  .site-header, #abNav, .nav, .nav-toggle, .ev2-modes, .ev5-rail, .ev5-help,
  .ev2-chips, .ev6-run, .ev5-dl, .ev2-features, .ev2-foot, .ev2-safe,
  .ev5-step.is-locked, .ev5-sum-b, .ev-tabs, .hw-a-golane, .ev2-help,
  .btn, .iconbtn, .ab-credit, .ev5-payorder, .ev2-band .ev-disclaimer,
  .ev5-signin, .ev2-plans, #evPricePanel, .hw-a-adv { display: none !important; }

  /* ---- 3. BOTH panes print. The scanned answer sheet is the point of the
     document; on screen only the open tab is visible, on paper you get the
     report AND the pages as we read them. ---- */
  .ev7-pane { display: block !important; }
  .ev7-sheet { break-before: page; }
  .ev7-printhead {
    display: block; margin: 0 0 6mm; padding-bottom: 2mm;
    font-size: 13pt; border-bottom: 1px solid #000; color: #000;
  }

  /* ---- 4. The masthead, so page 1 opens like a document ---- */
  .ev7-mast {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 10mm;
    border-bottom: 2px solid #000; padding-bottom: 3mm; margin-bottom: 5mm;
  }
  .ev7-mast-l b { display: block; font-size: 15pt; letter-spacing: .01em; }
  .ev7-mast-l span { font-size: 9pt; }
  .ev7-mast-r { text-align: right; display: flex; flex-direction: column; gap: 1mm; }
  .ev7-mast-r b { font-size: 14pt; }
  .ev7-mast-r span { font-size: 9pt; }

  /* ---- 5. The page itself. His page 1 was two thirds empty because every
     step panel kept its screen margins and box; on paper they are plain
     blocks that flow. ---- */
  @page { size: A4; margin: 14mm 12mm 15mm; }
  body.ex-p-evaluator { background: #fff !important; }
  .ev2-layout, .ev2-col, .ev5, #evShell, .ev-wrap, .ev5-step, #evResults {
    display: block !important; max-width: none !important;
    margin: 0 !important; padding: 0 !important;
    border: 0 !important; box-shadow: none !important; background: none !important;
  }
  .ev2-rail, .ex-phead { display: none !important; }
  .ev5-step.is-done { display: none !important; }   /* upload/analyse/pay summaries are not the answer */
  .ev7-report > *, .ev7-sheet > * { break-inside: avoid; }
  .evr-anno-page, .evr-anno-stack { break-inside: avoid; page-break-inside: avoid; }
  .evr-anno-page img, .ev7-sheet img { max-width: 100% !important; height: auto !important; }
}

/* ===================================================================
   V8 — two ways to pay + a visible coupon box (owner 2026-09-13)
   =================================================================== */
.ev8-pay { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.ev8-pay-h { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }

.btn.ev8-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  min-height: 62px; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1.5px solid var(--line); color: var(--body);
}
.btn.ev8-opt:hover:not([disabled]) { border-color: var(--focus); background: var(--chip-bg); }
.ev8-opt-i {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 19px; background: var(--chip-bg); border: 1px solid var(--chip-line);
}
.ev8-opt-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev8-opt-t b { font-size: 14.5px; color: var(--ink); line-height: 1.2; }
.ev8-opt-t i { font-style: normal; font-size: 12px; color: var(--muted); }
.ev8-opt-a { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* The route we would take first, given the balance — a suggestion, never a lock. */
.btn.ev8-opt.is-best { border-color: #8A6D1F; background: rgba(201, 168, 76, .10); }
.btn.ev8-opt.is-best .ev8-opt-i { background: #8A6D1F; border-color: #8A6D1F; color: #fff; }
body.ev-mode-exam .btn.ev8-opt.is-best { border-color: #1D4ED8; background: rgba(37, 99, 235, .09); }
body.ev-mode-exam .btn.ev8-opt.is-best .ev8-opt-i { background: #1D4ED8; border-color: #1D4ED8; }
.btn.ev8-opt.is-off { opacity: .6; cursor: not-allowed; }
.btn.ev8-opt.is-off .ev8-opt-a { color: var(--muted); font-size: 12.5px; font-weight: 600; }

.ev8-promo { display: flex; flex-direction: column; gap: 6px; padding: 11px 13px; border-radius: 12px;
  background: var(--card-2); border: 1px dashed var(--line); }
.ev8-promo label { font-size: 13px; font-weight: 700; color: var(--ink); }
.ev8-promo-row { display: flex; gap: 8px; }
.ev8-promo-row .inp { flex: 1 1 auto; min-width: 0; min-height: 42px; text-transform: uppercase; letter-spacing: .04em; }
.ev8-promo-row .btn { flex: 0 0 auto; min-height: 42px; }
.ev8-promo .hw-a-caps { margin: 0; }

@media (max-width: 640px) {
  .btn.ev8-opt { min-height: 0; padding: 11px 12px; gap: 10px; flex-wrap: wrap; }
  .ev8-opt-a { width: 100%; text-align: right; }
}
@media print { .ev8-pay { display: none !important; } }

/* Update window (owner 2026-09-13) — shown only to a reader who has not
   started; anyone mid-paper never sees it and is never blocked. */
.ev9-maint {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(176, 122, 12, .09); border: 1px solid rgba(176, 122, 12, .34);
  border-left: 3px solid var(--amber);
}
.ev9-maint-i { font-size: 22px; line-height: 1.2; color: var(--amber); }
.ev9-maint-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev9-maint-t b { font-size: 14.5px; color: var(--ink); }
.ev9-maint-t span { font-size: 13px; color: var(--body); }
.ev9-maint-t i { font-style: normal; font-size: 12px; color: var(--muted); }
@media print { .ev9-maint { display: none !important; } }
/* coupon quote (owner 2026-09-13) */
.ev8-promo-row .btn.primary { min-width: 84px; }
.ev8-quote { margin: 8px 0 0; padding: 9px 11px; border-radius: 10px; font-size: 12.5px; line-height: 1.45;
  display: flex; gap: 8px; align-items: flex-start; }
.ev8-quote i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.ev8-quote.is-good { background: rgba(31,122,63,.08); border: 1px solid rgba(31,122,63,.3); color: var(--body); }
.ev8-quote.is-good b { color: var(--green, #1F7A3F); font-size: 14px; }
.ev8-quote.is-bad { background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.28); color: var(--body); }
@media (max-width: 640px) { .ev8-promo-row { flex-wrap: wrap; } .ev8-promo-row .inp { flex: 1 0 100%; } }

/* ===================================================================
   V10 — what actually came out of his printer (owner 2026-09-13, from
   the 9-page PDF he sent). Three separate faults, all measured:

   1. EVERY CHART PRINTED BLANK. "Marks distribution" was four bare
      percentages, "Error types" was the words "10 errors" with no ring,
      the recheck funnel and the knowledge/execution bars were nothing at
      all. Browsers drop background colours when printing unless a page
      asks for them, and every one of those components draws itself with
      a background. So the numbers survived and the picture did not.
   2. The student's name, class, subject and date appeared ONCE, at the
      FOOT of page 1. On a nine-page report handed to a parent, page 4
      carried nothing saying whose paper it is. A fixed block repeats in
      the page margin on every sheet.
   3. The locked "Answers — unlocks after payment" panel printed at the
      very top, above the report the reader had already paid for.
   =================================================================== */
@media print {
  /* 1. Print the colour. Backgrounds ARE the data here. */
  .ev7-report, .ev7-report *, .ev7-sheet, .ev7-sheet * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 3. Nothing that is still locked belongs in a printed report. */
  .ev5-step.is-locked, .ev5-lock, .ev8-pay, .ev8-quote { display: none !important; }

  /* 2. A running header, in the margin, on every sheet. Chrome repeats a
        fixed element per page; the @page top margin is widened to hold it
        so it can never sit on top of the report. */
  @page { margin: 22mm 12mm 15mm; }
  .ev7-run {
    display: flex !important; position: fixed; top: -16mm; left: 0; right: 0;
    justify-content: space-between; align-items: baseline; gap: 8mm;
    font-size: 8.5pt; color: #000; border-bottom: .4pt solid #999;
    padding-bottom: 1.2mm;
  }
  .ev7-run b { font-weight: 700; }
  .ev7-run span { white-space: nowrap; }
}
.ev7-run { display: none; }   /* screen: the page already says all of this */

/* ===================================================================
   V10 — the deliverable chooser (owner 2026-09-13): analysis only /
   corrected paper only / both, with both at double price. Rendered twice —
   on the upload step with the multiplier in words (no question count yet, so
   no honest rupee figure), and on the pay step with the real money.
   =================================================================== */
.ev9-deliver { margin-top: 14px; }
.ev9-dgrid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .ev9-dgrid { grid-template-columns: 1fr; } }

.ev9-dcard {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1.5px solid var(--line, #E7E2D6); border-radius: 12px;
  background: var(--card, #fff); cursor: pointer; min-height: 44px;
}
.ev9-dcard:hover { border-color: #C9A84C; }
.ev9-dcard.is-on { border-color: #1B2A5E; box-shadow: inset 0 0 0 1px #1B2A5E; background: #F4F7FF; }
.ev9-dcard input { position: absolute; opacity: 0; width: 0; height: 0; }
.ev9-dcard:focus-within { outline: 2px solid #1B2A5E; outline-offset: 2px; }

.ev9-dicon { font-size: 20px; line-height: 1; text-align: center; }
.ev9-dtext { display: block; min-width: 0; }
.ev9-dtext b { display: block; font-size: 14px; }
.ev9-dtext i { display: block; font-style: normal; font-size: 12px; opacity: .72; margin-top: 2px; }

.ev9-dprice { font-size: 15px; white-space: nowrap; }
/* The "Base price / Double price" form, used only before there is a real
   number. Visually quieter than a rupee figure so it never reads as one. */
.ev9-dprice--rel { font-size: 12px; font-weight: 600; opacity: .7; }

.ev9-dnote { font-size: 12px; margin: 8px 0 0; }
.ev9-bill-del td { color: #1B2A5E; }

@media print { .ev9-deliver { display: none !important; } }

/* The chooser is a grid ITEM of the Basic Details grid, whose rows stretch —
   which made each card as tall as the tallest row in the whole block (287px
   measured). The cards need only their own content height. */
.ev9-dgrid { align-items: start; }
.ev9-dcard { align-self: start; }

/* The chooser is a grid ITEM of the Basic Details grid, so at 1440 it was
   sharing one 517px column three ways — 166px cards whose labels wrapped to
   287px tall. It is a full-width decision, not a field, so it spans every
   column; and the cards size by their own container rather than the viewport,
   because the container is what was actually narrow. */
.ev9-deliver { grid-column: 1 / -1; }
.ev9-dgrid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ===================================================================
   PICK-OR-TYPE (Class / Subject): the list, and under it the "Other" box.

   The wrapper is display:block, so the two controls stack on their own. Two
   things do need saying:
     * the field icon is centred on the WHOLE wrapper, so with a second box it
       would float between them — it is pinned to the first control instead;
     * the second box has no icon of its own, so it drops the 40px inset.

   :has() carries this. If a browser lacks it the icon merely centres — the
   control still works, so the fallback is cosmetic, not broken.
   =================================================================== */
.ev2-inwrap:has(> .ev2-pickother) > i { top: 22px; transform: none; }
.ev2-pickother { margin-top: 8px; padding-left: 12px; }
.ev2-inwrap .ev2-pickother.inp { padding-left: 12px; }

/* ===================================================================
   ev-pdf.js — the off-screen A4 document the PDF is drawn from
   (2026-09-13). Plain paper look: no card boxes, real page flow.
   =================================================================== */
.ev-pdfdoc {
  position: static; width: 794px; padding: 0 6px;
  background: #fff; color: #111; font-size: 12.5px; line-height: 1.45;
}
.ev-pdfdoc .ev7-pane { display: block !important; }
.ev-pdfdoc .ev7-mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 2px solid #1B2A5E; padding-bottom: 8px; margin-bottom: 14px; }
.ev-pdfdoc .ev7-mast-l b { display: block; font-size: 19px; color: #1B2A5E; }
.ev-pdfdoc .ev7-mast-l span { font-size: 11px; color: #555; }
.ev-pdfdoc .ev7-mast-r { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.ev-pdfdoc .ev7-mast-r b { font-size: 17px; color: #1B2A5E; }
.ev-pdfdoc .ev7-mast-r span { font-size: 11px; color: #333; }
.ev-pdfdoc .evr-root, .ev-pdfdoc .evr-sec, .ev-pdfdoc .card { box-shadow: none !important; }
.ev-pdfdoc .evr-sec { border: 1px solid #ddd; border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; break-inside: auto; }
.ev-pdfdoc .evr-chart, .ev-pdfdoc .evr-count-row, .ev-pdfdoc tr { break-inside: avoid; page-break-inside: avoid; }
.ev-pdfdoc .ev7-printhead { display: block; margin: 0 0 12px; padding-bottom: 6px; font-size: 16px; border-bottom: 1px solid #1B2A5E; color: #1B2A5E; }
.ev-pdfdoc .evr-anno-page { margin: 0 0 14px; break-inside: avoid; page-break-inside: avoid; }
.ev-pdfdoc .evr-anno-page img, .ev-pdfdoc .ev7-sheet img { max-width: 100% !important; height: auto !important; display: block; }
.ev-pdfdoc .ev-disclaimer { border: 1px solid #C9A84C; background: #FFF8E6; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.ev-pdfdoc .ev7-run, .ev-pdfdoc .ev-tabs, .ev-pdfdoc .evr-toolbar { display: none !important; }
/* the sign-in card when a press is waiting on it: gold, not blue, never red */
.ev5-signin.is-urgent { background: rgba(201, 168, 76, .12); border-color: rgba(201, 168, 76, .6); }
.ev5-signin.is-urgent b { color: #6b5416; }

/* Where this paper lives from now on — under the marks, once. */
.ev-kept {
  margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.5;
  background: rgba(15, 118, 110, .08); border: 1px solid rgba(15, 118, 110, .3); color: var(--ink);
}
.ev-kept a { color: var(--navy); font-weight: 600; }
@media print { .ev-kept { display: none !important; } }
