:root {
  color-scheme: light;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #1b2420;
  --ink-2: #4d5a54;
  --ink-3: #5f6a64;
  --line: #dfe3e0;
  --line-2: #c9cfcb;
  --brand: #1d7a4c;
  --brand-ink: #ffffff;
  --brand-soft: #e5f2ea;
  --accent: #217346;
  --target: #fff7d6;
  --target-line: #e8c547;
  --sel: #1d7a4c;
  --sel-fill: rgba(29, 122, 76, 0.1);
  --bad: #b3261e;
  --bad-soft: #fbe9e7;
  --good: #1d7a4c;
  --hdr: #f1f3f2;
  --hdr-sel: #d6eadd;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 25, 0.06), 0 4px 16px rgba(20, 30, 25, 0.06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --grid-font: Calibri, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
[hidden] { display: none !important; }
code, kbd { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 0.88em; }
code { background: #eef1ef; padding: 1px 5px; border-radius: 4px; word-break: break-word; }
kbd { border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: #fff; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 22px; height: 22px; }
.logo span { background: var(--brand); border-radius: 2px; }
.logo span:nth-child(2), .logo span:nth-child(3) { background: #7fbf98; }
.testbar { display: flex; align-items: center; gap: 16px; }
.counter { color: var(--ink-2); font-size: 14px; }
.timer {
  font: 600 16px/1 Consolas, monospace; padding: 7px 10px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand); min-width: 70px; text-align: center;
}
.timer.low { background: var(--bad-soft); color: var(--bad); }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-weight: 600; border-radius: 8px; padding: 9px 16px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.15s, border-color 0.15s;
}
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover:not(:disabled) { background: #176640; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover:not(:disabled) { border-color: var(--ink-3); }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.link { background: none; border: 0; padding: 0; color: var(--ink-3); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.link:hover { color: var(--ink); }

/* ---------- intro ---------- */
.intro, .results { max-width: 1040px; margin: 0 auto; padding: 48px 24px 32px; width: 100%; flex: 1; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: 14px; margin: 0 0 8px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 760px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 680px; margin: 0 0 24px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.note { color: var(--ink-3); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin: 0 0 10px; font-size: 16px; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.ticks, .steps { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.ticks li, .steps li { padding: 4px 0 4px 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
.steps li::before { content: "›"; position: absolute; left: 6px; color: var(--brand); font-weight: 700; }

/* ---------- test layout ---------- */
.test { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; padding: 20px 24px; flex: 1; align-items: start; }
.leftcol {
  position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px;
  max-height: calc(100vh - 90px); overflow-y: auto;
}
.taskpanel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.scratch {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.scratch-h { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.scratch-h span { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.scratch textarea {
  width: 100%; resize: vertical; min-height: 110px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px;
  font: 13.5px/1.5 Consolas, "SFMono-Regular", Menlo, monospace; color: var(--ink); background: #fcfdfc;
}
.scratch textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots button {
  width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface);
  font: 600 13px var(--font); color: var(--ink-2); cursor: pointer;
}
.dots button.done { background: var(--brand-soft); border-color: #a9d3b9; color: var(--brand); }
.dots button.current { outline: 2px solid var(--brand); outline-offset: 1px; color: var(--ink); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.task h2 { font-size: 20px; margin: 8px 0 8px; letter-spacing: -0.01em; }
.task p { margin: 0 0 10px; color: var(--ink-2); }
.answer-cells { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; background: var(--target); border: 1px solid var(--target-line); border-radius: 3px; display: inline-block; }
.task-actions { display: flex; gap: 8px; }
.task-actions .btn { flex: 1; }

/* ---------- sheet ---------- */
.sheet { min-width: 0; }
.fxbar {
  display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line-2);
  border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
}
.namebox { width: 76px; border: 0; border-right: 1px solid var(--line); padding: 7px 10px; font: 13px var(--grid-font); text-align: center; background: var(--surface); color: var(--ink); }
.fx { padding: 6px 10px; font: italic 600 14px Georgia, serif; color: var(--ink-3); border-right: 1px solid var(--line); }
.fxinput { flex: 1; min-width: 0; border: 0; padding: 7px 10px; font: 14px Consolas, monospace; color: var(--ink); outline: none; }
.fxinput:focus { background: #fbfdfc; }

.gridwrap {
  position: relative; overflow: auto; max-height: calc(100vh - 250px); min-height: 320px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 0 0 var(--radius) var(--radius);
  outline: none; user-select: none;
}
.grid { border-collapse: separate; border-spacing: 0; table-layout: fixed; font: 14px var(--grid-font); }
.grid th, .grid td {
  height: 25px; padding: 0 5px; border-right: 1px solid #e3e6e4; border-bottom: 1px solid #e3e6e4;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.grid thead th {
  position: sticky; top: 0; z-index: 4; background: var(--hdr); color: var(--ink-2);
  font: 12px var(--font); text-align: center; border-color: var(--line-2);
}
.grid tbody th {
  position: sticky; left: 0; z-index: 3; background: var(--hdr); color: var(--ink-2);
  font: 12px var(--font); text-align: center; border-color: var(--line-2);
}
.grid thead th.corner { left: 0; z-index: 5; }
.grid th.hl { background: var(--hdr-sel); color: var(--brand); font-weight: 600; }
.grid td { cursor: cell; background: var(--surface); }
.grid td.n { text-align: right; }
.grid td.b { text-align: center; }
.grid td.e { color: var(--bad); text-align: center; }
.grid td.hdr { font-weight: 700; }
.grid td.tgt { background: var(--target); }
.grid td.insel { background: var(--sel-fill); }
.grid td.tgt.insel { background: #f0edc6; }
.grid td.active { box-shadow: inset 0 0 0 2px var(--sel); background: var(--surface); }
.grid td.tgt.active { background: var(--target); }
.grid td.fillprev { box-shadow: inset 0 0 0 1px var(--sel); background: var(--sel-fill); }
.grid td.copied { outline: 2px dashed var(--sel); outline-offset: -3px; }

.celleditor {
  position: absolute; z-index: 2; height: 27px; padding: 0 5px; margin: 0;
  border: 2px solid var(--sel); font: 14px var(--grid-font); background: #fff; color: var(--ink);
  outline: none; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.fillhandle {
  position: absolute; z-index: 2; width: 8px; height: 8px; background: var(--sel);
  border: 1px solid #fff; cursor: crosshair;
}
.kbd-hint { color: var(--ink-3); font-size: 13px; margin: 10px 2px 0; }

/* ---------- results ---------- */
.scorecard { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; }
.scorecard h1 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.02em; }
.scorecard .lede { margin-bottom: 4px; }
.meta { color: var(--ink-3); margin: 0; font-size: 14px; }
.score-ring {
  --p: 0; flex: none; width: 128px; height: 128px; border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), #e4e9e6 0);
  display: grid; place-items: center; position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 11px; background: var(--bg); border-radius: 50%; }
.score-inner { position: relative; text-align: center; line-height: 1; }
.score-inner span { display: block; font-size: 40px; font-weight: 700; }
.score-inner small { color: var(--ink-3); font-size: 14px; }
.upsell {
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 24px 28px; margin-bottom: 36px;
}
.upsell h2 { margin: 0 0 6px; font-size: 21px; }
.upsell p { margin: 0; color: #c9d3ce; max-width: 560px; }
.upsell .btn-primary { background: #3fbf7a; color: #0d1f16; flex: none; }
.upsell .btn-primary:hover { background: #5fd093; }
.section-h { font-size: 20px; margin: 0 0 12px; }
.section-h.big { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.015em; margin-bottom: 6px; }
.sub { color: var(--ink-2); margin: 0 0 20px; max-width: 680px; }

/* ---------- plans ---------- */
.plans-section { margin-top: 56px; }
.results-plans { margin: 0 0 40px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 22px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan.featured, .plan.suggested { border: 2px solid var(--brand); }
.plan-badge {
  position: absolute; top: -12px; left: 20px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.plan.suggested .plan-badge { background: #c27c0e; }
.plan h3 { margin: 0 0 4px; font-size: 19px; }
.roles { color: var(--ink-3); font-size: 13.5px; margin: 0 0 14px; min-height: 40px; }
.price { font-size: 34px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
.price s { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.price small { font-size: 14px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.plan .ticks { flex: 1; margin-bottom: 18px; }
.plan-btn { width: 100%; }
.review { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.review li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.rv-body { display: grid; gap: 4px; min-width: 0; }
.mark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.mark.ok { background: var(--good); }
.mark.no { background: var(--bad); }
.review h3 { margin: 0; font-size: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review .why { color: var(--bad); margin: 0; font-size: 14px; }
.review .yours, .review .tip { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- resume bar ---------- */
.resume-bar {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: var(--brand-soft); border-bottom: 1px solid #a9d3b9; padding: 10px 16px; font-size: 15px; color: var(--ink);
}
.resume-actions { display: flex; gap: 8px; }
.resume-actions .btn { padding: 7px 14px; }

/* ---------- nav, library ---------- */
.nav { display: flex; gap: 8px; }
.page-h { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.02em; margin: 0 0 8px; }
.pack { margin-top: 36px; }
.pack-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.pack-head h2 { margin: 0 0 4px; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.pack-head p { margin: 0; color: var(--ink-2); }
.owned { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
.lockchip { font-size: 13px; font-weight: 600; color: var(--ink-2); background: #eceeed; padding: 3px 9px; border-radius: 999px; }
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.testcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.testcard .eyebrow { margin: 0; font-size: 12px; }
.testcard h3 { margin: 0; font-size: 17px; }
.testcard .blurb { margin: 0; color: var(--ink-2); font-size: 14px; flex: 1; }
.testcard .meta { margin: 4px 0 0; }
.skills { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 10px; }
.skills .chip { font-size: 11.5px; }
.testcard.locked { background: #fafbfa; }
.testcard.locked h3, .testcard.locked .blurb { color: var(--ink-3); }
.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #fff8e1; border: 1px solid #f0d98a; border-radius: var(--radius); padding: 10px 14px; font-size: 14px; color: var(--ink-2);
}

/* ---------- sheet toolbar ---------- */
.toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px;
  background: var(--hdr); border: 1px solid var(--line-2); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0;
}
.toolbar + .fxbar { border-radius: 0; }
.tb-group { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.tb-group select { font: 13px var(--font); padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); }
.tb-btn { font: 600 13px var(--font); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
.tb-btn:hover { border-color: var(--ink-3); }
.tb-sep { width: 1px; height: 20px; background: var(--line-2); }

/* ---------- toast & footer ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2); max-width: calc(100vw - 32px);
}
.toast.bad { background: var(--bad); }
.footer { text-align: center; color: var(--ink-3); font-size: 12.5px; padding: 18px 16px 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .test { grid-template-columns: 1fr; padding: 12px 16px; }
  .leftcol { position: static; max-height: none; overflow: visible; }
  .cards, .plans { grid-template-columns: 1fr; }
  .plans { gap: 24px; }
  .upsell { flex-direction: column; align-items: flex-start; }
  .gridwrap { max-height: 70vh; }
}
@media (max-width: 560px) {
  .topbar { padding: 10px 16px; }
  .intro, .results { padding: 28px 16px; }
  .counter { display: none; }
  .scorecard { flex-direction: column; align-items: flex-start; }
}

/* Licence key box (live sales) */
.licence-bar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin: 0 0 18px; font-size: 14px; color: var(--ink-2);
}
.licence-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.licence-row input {
  flex: 1 1 260px; min-width: 0; font: inherit; font-family: ui-monospace, Consolas, monospace; font-size: 13.5px;
  padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); background: #fff;
}
.licence-row input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.licence-msg { margin: 8px 0 0; min-height: 1em; font-size: 13.5px; color: var(--brand); }
.licence-msg:empty { display: none; }
.licence-msg.bad { color: #b42318; }
.restore-link { text-align: center; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.restore-link a { color: var(--brand); font-weight: 600; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 48px; line-height: 1.6; }
.legal h2 { font-size: 19px; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal a, .footer a { color: var(--brand); }
.legal-date { color: var(--ink-3); font-size: 14px; margin: 0 0 20px; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }

/* Guide pages */
.guide { max-width: 800px; width: 100%; min-width: 0; box-sizing: border-box; margin: 0 auto; padding: 32px 16px 48px; line-height: 1.65; }
.guide h2 { font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 8px; }
.guide h3 { font-size: 17px; margin: 20px 0 4px; }
.guide p, .guide li { color: var(--ink-2); }
.guide ul, .guide ol { padding-left: 22px; }
.guide li { margin: 4px 0; }
.guide a { color: var(--brand); }
.guide code { background: #eef1ef; border-radius: 4px; padding: 1px 5px; font-size: 0.92em; color: var(--ink); word-break: break-word; }
.crumbs { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.crumbs a { color: var(--ink-3); }
.guide-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--brand-soft); border: 1px solid #cfe5d7; border-radius: var(--radius); padding: 18px 20px; margin: 22px 0;
}
.guide-cta h2 { margin: 0 0 4px; font-size: 18px; }
.guide-cta p { margin: 0; font-size: 15px; }
.guide-cta div { flex: 1 1 320px; }
.guide .guide-cta a.btn { color: var(--brand-ink); }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.levels section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 10px; }
.levels h3 { font-size: 15.5px; }
.levels ul { padding-left: 18px; font-size: 14.5px; }
.mini-sheet { overflow-x: auto; max-width: 100%; margin: 12px 0; }
.mini-sheet table { border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line-2); }
.mini-sheet th { background: #f1f3f2; color: var(--ink-3); font-weight: 500; font-size: 12px; padding: 4px 8px; border: 1px solid var(--line); }
.mini-sheet td { padding: 5px 10px; border: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
.mini-sheet td.num { text-align: right; }
.mini-sheet td.ans { background: #fff7d6; text-align: right; }
.guide-more { margin-top: 36px; border-top: 1px solid var(--line); }
.guide-more ul { list-style: none; padding: 0; }
.guide-more li.here a { color: var(--ink-3); text-decoration: none; }
.home-guides { margin-top: 48px; }
.home-guides ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 10px 0 0; }
.home-guides a { display: block; height: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); text-decoration: none; font-weight: 600; }
.home-guides a:hover { border-color: var(--brand); }
.home-guides a span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* PivotTables */
.grid td.pv { background: #f4f8fd; }
.grid td.pvh { background: #dfeaf7; font-weight: 600; }
.grid td.pvt { background: #dfeaf7; font-weight: 700; border-top: 1px solid #9db7d8; }
.grid td.pvl { font-weight: 600; }
.pivot-dlg { border: 1px solid var(--line); border-radius: 12px; padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 18px 50px rgba(20, 30, 25, 0.25); color: var(--ink); }
.pivot-dlg::backdrop { background: rgba(20, 30, 25, 0.35); }
.pivot-dlg form { padding: 20px 22px 18px; }
.pivot-dlg h2 { margin: 0 0 14px; font-size: 19px; }
.pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.pv-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.pv-grid label span { font-weight: 400; color: var(--ink-3); }
.pv-grid input, .pv-grid select { font: inherit; font-weight: 400; font-size: 14px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
.pv-grid input { font-family: ui-monospace, Consolas, monospace; text-transform: uppercase; }
.pv-grid input:focus, .pv-grid select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.pv-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 13.5px; color: #b42318; }
.pv-msg:empty { display: none; }
.pv-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.pv-actions .pv-remove { margin-right: auto; color: #b42318; }
@media (max-width: 520px) { .pv-grid { grid-template-columns: 1fr; } }

/* Label above the numbered task buttons */
.dots-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.dots-label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
