#vca-nmi-root{
  --bg: #f6f7fb; --card: #ffffff; --ink: #14172b; --muted: #5b6078; --line: #dfe2ee;
  --brand: #3b2a8f; --brand-ink: #ffffff; --accent: #12805c; --warn: #9a5b00; --warn-bg: #fff4de;
  --bad: #b3261e; --bad-bg: #fdecea; --good-bg: #e7f6ef; --focus: #1a73e8;
  --radius: 14px; --shadow: 0 1px 2px rgba(20,23,43,.06), 0 6px 24px rgba(20,23,43,.06);
}
#vca-nmi-root[data-theme="dark"]{
  --bg: #0f1120; --card: #181b30; --ink: #eceefa; --muted: #a3a8c4; --line: #2b2f4d;
  --brand: #8f7cff; --brand-ink: #10112a; --accent: #4cd1a1; --warn: #ffcf70; --warn-bg: #332708;
  --bad: #ff8a80; --bad-bg: #371614; --good-bg: #0f2a22; --focus: #7fb2ff; --shadow: none;
}
#vca-nmi-root *{ box-sizing: border-box; }
#vca-nmi-root{ -webkit-text-size-adjust: 100%; }
#vca-nmi-root{ margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#vca-nmi-root .top{ display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; max-width: 760px; margin: 0 auto; }
#vca-nmi-root .brand{ font-weight: 700; letter-spacing: .2px; }
#vca-nmi-root .progress{ height: 4px; background: var(--line); }
#vca-nmi-root #bar{ height: 100%; width: 0; background: var(--brand); transition: width .3s; }
#vca-nmi-root main{ max-width: 760px; margin: 0 auto; padding: 20px 16px 80px; outline: none; }
#vca-nmi-root .card{ background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; }
#vca-nmi-root h1{ font-size: 1.7em; line-height: 1.2; margin: 0 0 8px; }
#vca-nmi-root h2{ font-size: 1.25em; margin: 0 0 6px; }
#vca-nmi-root p{ margin: 0 0 12px; }
#vca-nmi-root .muted{ color: var(--muted); }
#vca-nmi-root .voice{ display: flex; gap: 12px; align-items: flex-start; background: var(--good-bg); border-radius: 12px; padding: 14px; margin: 14px 0 18px; }
#vca-nmi-root .voice button{ flex: none; }
#vca-nmi-root .voice .tx{ font-size: .95em; color: var(--ink); }
#vca-nmi-root .voice .tx b{ display: block; font-size: .8em; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
#vca-nmi-root label{ display: block; font-weight: 600; margin: 14px 0 4px; }
#vca-nmi-root .help{ font-weight: 400; color: var(--muted); font-size: .9em; margin-top: 2px; }
#vca-nmi-root input:not([type]), #vca-nmi-root input[type=text], #vca-nmi-root input[type=number], #vca-nmi-root input[type=email], #vca-nmi-root input[type=tel], #vca-nmi-root input[type=url], #vca-nmi-root input[type=date], #vca-nmi-root input[type=password], #vca-nmi-root input[type=search], #vca-nmi-root select, #vca-nmi-root textarea{
  width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
#vca-nmi-root input:focus-visible, #vca-nmi-root select:focus-visible, #vca-nmi-root textarea:focus-visible, #vca-nmi-root button:focus-visible, #vca-nmi-root a:focus-visible{ outline: 3px solid var(--focus); outline-offset: 2px; }
#vca-nmi-root .err{ color: var(--bad); font-size: .9em; margin-top: 4px; }
#vca-nmi-root .row{ display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { #vca-nmi-root .row.two{ grid-template-columns: 1fr 1fr; } #vca-nmi-root .row.three{ grid-template-columns: 1fr 1fr 1fr; } }
#vca-nmi-root button{ font: inherit; cursor: pointer; border-radius: 10px; min-height: 48px; padding: 10px 20px; border: 1.5px solid transparent; }
#vca-nmi-root button.primary{ background: var(--brand); color: var(--brand-ink); font-weight: 700; }
#vca-nmi-root button.primary[disabled]{ opacity: .5; cursor: not-allowed; }
#vca-nmi-root button.secondary{ background: transparent; color: var(--ink); border-color: var(--line); }
#vca-nmi-root button.ghost{ background: transparent; border: 1px solid var(--line); color: var(--ink); min-height: 36px; padding: 4px 12px; font-size: .9em; }
#vca-nmi-root .actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
#vca-nmi-root .choice{ display: block; width: 100%; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; margin: 10px 0; color: var(--ink); }
#vca-nmi-root .choice:hover{ border-color: var(--brand); }
#vca-nmi-root .choice b{ display: block; font-size: 1.05em; }
#vca-nmi-root .choice span{ color: var(--muted); font-size: .92em; }
#vca-nmi-root .check{ display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
#vca-nmi-root .check input{ width: 22px; height: 22px; margin-top: 3px; flex: none; }
#vca-nmi-root .tip, #vca-nmi-root .warn, #vca-nmi-root .bad{ border-radius: 10px; padding: 12px 14px; margin: 14px 0; font-size: .95em; }
#vca-nmi-root .tip{ background: var(--good-bg); }
#vca-nmi-root .warn{ background: var(--warn-bg); color: var(--warn); }
#vca-nmi-root .bad{ background: var(--bad-bg); color: var(--bad); }
#vca-nmi-root table.q{ width: 100%; border-collapse: collapse; margin: 8px 0; }
#vca-nmi-root table.q td{ padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
#vca-nmi-root table.q td:last-child{ text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#vca-nmi-root table.q .note{ display: block; color: var(--muted); font-size: .85em; }
#vca-nmi-root table.q tr.total td{ font-weight: 800; font-size: 1.15em; border-bottom: none; padding-top: 14px; }
#vca-nmi-root .big{ font-size: 2.2em; font-weight: 800; color: var(--accent); }
#vca-nmi-root .badge{ display: inline-block; background: var(--good-bg); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: .85em; font-weight: 700; }
#vca-nmi-root .sr{ position: absolute; left: -9999px; }
@media (prefers-reduced-motion: reduce) { #vca-nmi-root *{ transition: none !important; } }

#vca-nmi-root h1, #vca-nmi-root h2, #vca-nmi-root h3, #vca-nmi-root p, #vca-nmi-root label, #vca-nmi-root th, #vca-nmi-root td { color: inherit; }
#vca-nmi-root a { color: var(--brand); }
#vca-nmi-root .wrap { padding: 16px; max-width: 760px; margin: 0 auto; }

#vca-nmi-root .card { color: var(--ink); }
#vca-nmi-root .question-help { margin: 6px 0 14px; }
#vca-nmi-root .question-help-button { background: #eef6f4; color: #174b41; border: 1px solid #b3cfc8; border-radius: 8px; padding: 8px 12px; font-size: .9em; min-height: 44px; text-align: left; }
#vca-nmi-root .question-help-button:focus-visible { outline: 3px solid #174b41; outline-offset: 3px; }
#vca-nmi-root .question-guide { margin-top: 8px; padding: 12px 14px; border-left: 3px solid #174b41; background: #f4f8f7; overflow-wrap: anywhere; }
#vca-nmi-root .question-guide[hidden] { display: none !important; }
#vca-nmi-root .question-guide p { margin: 0 0 10px; line-height: 1.5; }
#vca-nmi-root .question-guide p:last-child { margin-bottom: 0; }
#vca-nmi-root .voice-status { grid-column: 1 / -1; font-weight: 600; }

/* Keep keyboard focus visible when the WordPress theme resets outlines. */
#vca-nmi-root input:focus-visible, #vca-nmi-root select:focus-visible,
#vca-nmi-root textarea:focus-visible, #vca-nmi-root button:focus-visible,
#vca-nmi-root a:focus-visible { outline: 3px solid var(--focus) !important; outline-offset: 3px !important; }
#vca-nmi-root input, #vca-nmi-root select, #vca-nmi-root textarea { border-color: #858a9c; }
#vca-nmi-root .question-guide { color: #14172b; }
#vca-nmi-root .consent-card iframe { width: 100% !important; border: 0; }
@media (max-width: 619px) {
  #vca-nmi-root .consent-card { padding: 8px; }
  #vca-nmi-root .consent-card iframe { height: 1600px !important; min-height: 1600px !important; }
}

/* ===== v0.2.11 cosmetic pass ===== */
/* Page chrome: slimmer header, sandbox note as a banner, tidy footer. */
#vca-nmi-root .top{ padding: 12px 16px; }
#vca-nmi-root .brand{ font-size: 1.05em; }
#vca-nmi-root .sandbox-note{ max-width: 760px; margin: 0 auto 8px; padding: 0 16px; }
#vca-nmi-root .sandbox-note span{ display: block; background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn); border-radius: 10px; padding: 8px 12px; font-size: .88em; line-height: 1.4; }
#vca-nmi-root footer.wrap{ border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; font-size: .88em; color: var(--muted); text-align: center; }
#vca-nmi-root footer.wrap a{ display: inline-block; padding: 6px 4px; }
#vca-nmi-root .progress{ height: 6px; border-radius: 3px; overflow: hidden; max-width: 728px; margin: 0 auto; }
#vca-nmi-root .stepcount{ max-width: 728px; margin: 0 0 8px; padding: 0 4px; font-size: .85em; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* Voice toggle reads as a control, not a status. */
#vca-nmi-root #muteBtn{ min-height: 44px; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
#vca-nmi-root #muteBtn[aria-pressed="true"]{ opacity: .75; }
#vca-nmi-root .voice button{ min-height: 44px; border-radius: 999px; padding: 6px 16px; font-weight: 600; }

/* Cards and forms. */
#vca-nmi-root .card{ padding: 26px; }
#vca-nmi-root .card > h1:first-child, #vca-nmi-root .card > h2:first-child{ margin-bottom: 10px; }
#vca-nmi-root label{ margin: 18px 0 6px; }
#vca-nmi-root .help{ margin: 4px 0 10px; }
#vca-nmi-root input:focus, #vca-nmi-root select:focus, #vca-nmi-root textarea:focus{ border-color: var(--focus); }
#vca-nmi-root .err:empty{ display: none; }
#vca-nmi-root .err{ font-weight: 600; }
#vca-nmi-root button.primary{ box-shadow: 0 1px 2px rgba(20,23,43,.18); }
#vca-nmi-root button.primary:hover:not([disabled]){ filter: brightness(1.08); }
#vca-nmi-root .actions{ align-items: stretch; }
#vca-nmi-root .actions .primary{ flex: 1 1 220px; }
#vca-nmi-root .tip{ border-left: 4px solid var(--accent); }
#vca-nmi-root .warn{ border-left: 4px solid var(--warn); }
#vca-nmi-root .bad{ border-left: 4px solid var(--bad); }
#vca-nmi-root .choice{ padding: 18px; border-radius: 14px; }
#vca-nmi-root .choice:hover, #vca-nmi-root .choice:focus-visible{ border-color: var(--brand); background: var(--bg); }

/* Sign-in / create-account gate. */
#vca-nmi-root .gate-steps{ list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 22px; padding: 0; counter-reset: gs; }
#vca-nmi-root .gate-steps li{ counter-increment: gs; font-size: .82em; line-height: 1.3; color: var(--muted); text-align: center; }
#vca-nmi-root .gate-steps li::before{ content: counter(gs); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: var(--good-bg); color: var(--accent); font-weight: 800; font-size: 1.05em; }
#vca-nmi-root .gate-steps li b{ display: block; color: var(--ink); font-size: 1.05em; }
#vca-nmi-root .gate-existing{ display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 22px; }
#vca-nmi-root .gate-existing strong{ flex: 1 1 180px; }
#vca-nmi-root .gate-existing .btns{ display: flex; gap: 8px; flex-wrap: wrap; }
#vca-nmi-root a.btn{ display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; text-decoration: none; background: var(--card); }
#vca-nmi-root a.btn.plain{ border-color: transparent; text-decoration: underline; font-weight: 600; }
#vca-nmi-root a.btn:hover{ background: var(--good-bg); }
#vca-nmi-root .gate-form button[type=submit]{ background: var(--brand); color: var(--brand-ink); font-weight: 700; width: 100%; margin-top: 8px; }
#vca-nmi-root .gate-form button[type=submit][disabled]{ opacity: .55; cursor: not-allowed; }
#vca-nmi-root .gate-form .fineprint{ font-size: .88em; color: var(--muted); margin: 14px 0 4px; }
#vca-nmi-root .gate-status:empty{ display: none; }
#vca-nmi-root .gate-status{ background: var(--good-bg); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 14px; margin: 14px 0 0; font-size: .95em; }
#vca-nmi-root .gate-trust{ display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .85em; color: var(--muted); }
#vca-nmi-root .gate-trust li::before{ content: "✓ "; color: var(--accent); font-weight: 800; }

/* Business review hold: calm, with a clear next step. */
#vca-nmi-root .hold-card .ref{ display: inline-block; background: var(--bg); border: 1px dashed var(--muted); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0 14px; }
#vca-nmi-root .hold-card .btns{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* Document upload slots. */
#vca-nmi-root .doc-slot{ border: 1.5px solid var(--line); border-radius: 12px; padding: 4px 16px 16px; margin: 16px 0; background: var(--card); }
#vca-nmi-root .doc-slot.done{ border-color: var(--accent); background: var(--good-bg); }
#vca-nmi-root .doc-slot .tip{ margin: 8px 0; }
#vca-nmi-root .doc-slot input[type=file]{ width: 100%; padding: 10px; border: 1.5px dashed #858a9c; border-radius: 10px; background: var(--card); font: inherit; min-height: 48px; }
#vca-nmi-root .doc-slot button{ margin-top: 8px; width: 100%; }
#vca-nmi-root .doc-steps{ font-weight: 600; margin: 8px 0 0; }

/* Phones. */
@media (max-width: 619px) {
  #vca-nmi-root .top{ padding: 10px 12px; }
  #vca-nmi-root main{ padding: 12px 10px 56px; }
  #vca-nmi-root .card{ padding: 18px 14px; border-radius: 12px; }
  #vca-nmi-root h1{ font-size: 1.45em; }
  #vca-nmi-root .actions{ flex-direction: column-reverse; }
  #vca-nmi-root .actions button{ width: 100%; }
  #vca-nmi-root .gate-steps{ grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  #vca-nmi-root .gate-existing .btns, #vca-nmi-root .gate-existing a.btn{ width: 100%; }
  #vca-nmi-root .hold-card .btns a.btn{ width: 100%; }
  #vca-nmi-root table.q td:last-child{ white-space: normal; }
  #vca-nmi-root .voice{ flex-wrap: wrap; gap: 8px; padding: 12px; margin: 10px 0 14px; }
  #vca-nmi-root .voice .tx{ flex: 1 1 100%; font-size: .88em; line-height: 1.45; }
  #vca-nmi-root .big{ font-size: 1.9em; }
  #vca-nmi-root .question-help-button{ width: 100%; }
}
#vca-nmi-root #muteBtn{ white-space: nowrap; flex: none; }
#vca-nmi-root .top{ gap: 10px; }
#vca-nmi-root table.q td[colspan]{ text-align: left; padding-top: 16px; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Hestia theme: shorter page banner so the form starts near the top (only on pages that contain this app). */
body:has(#vca-nmi-root) .page-header{ min-height: 0 !important; height: auto !important; padding: 0 !important; }
body:has(#vca-nmi-root) .page-header .container{ height: auto !important; padding-top: 34px; padding-bottom: 84px; }
body:has(#vca-nmi-root) article.section-text{ padding-top: 24px !important; }
body:has(#vca-nmi-root) .main-raised{ margin-top: -56px !important; }

/* v0.2.12: the agreement must be readable on desktop and tablet, not only phones. The page scrolls; the frame does not need its own tiny scroller. */
#vca-nmi-root .consent-card iframe{ height: 1500px !important; min-height: 1500px !important; }
#vca-nmi-root .consent-card #consentBox{ min-height: 1500px; }
#vca-nmi-root .consent-intro{ background: var(--good-bg); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: .95em; }
@media (min-width: 620px) {
  body:has(#vca-nmi-root) .page-content-wrap{ width: 100%; max-width: 920px; float: none; margin-left: auto; margin-right: auto; }
  #vca-nmi-root main, #vca-nmi-root .top, #vca-nmi-root .progress, #vca-nmi-root .sandbox-note, #vca-nmi-root footer.wrap{ max-width: 860px; }
}

/* v0.3.0: customer start page ([vca_merchant_start]) */
#vca-nmi-root.start-page{ padding: 8px 0 24px; }
#vca-nmi-root.start-page #start-main{ max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
#vca-nmi-root .hero-card h1{ font-size: 1.9em; margin-bottom: 12px; }
#vca-nmi-root .lead{ font-size: 1.1em; }
#vca-nmi-root .big-steps{ grid-template-columns: repeat(2, 1fr); gap: 18px 14px; text-align: left; }
#vca-nmi-root .big-steps li{ text-align: left; font-size: .95em; }
#vca-nmi-root .big-steps li::before{ margin: 0 0 8px 0; }
/* Bot-trap field: truly off-screen. (The old selector assumed .start-page was inside #vca-nmi-root, but it is the same element, so it never matched and the box showed.) */
#vca-nmi-root .hp, #vca-nmi-root.start-page .hp, .start-page .hp{ position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }
#vca-nmi-root .start-page form button[type=submit]{ min-height: 52px; font-size: 1.05em; }
#vca-nmi-root .gate-status.is-error{ background: var(--bad-bg); border-left-color: var(--bad); color: var(--bad); font-weight: 600; }
#vca-nmi-root .gate-status.done h2{ margin-top: 0; }
#vca-nmi-root .gate-status[hidden]{ display: none; }
#vca-nmi-root .start-page input[aria-invalid="true"]{ border-color: var(--bad); border-width: 2px; }
#vca-nmi-root .check span{ flex: 1; }
@media (max-width: 619px) { #vca-nmi-root .big-steps{ grid-template-columns: 1fr; } #vca-nmi-root.start-page #start-main{ padding: 4px 8px 32px; } #vca-nmi-root .hero-card h1{ font-size: 1.5em; } }

/* v0.4.0: My Dashboard */
#vca-nmi-root.dash-page{ padding: 8px 0 24px; }
#vca-nmi-root.dash-page #dash-main{ max-width: 860px; margin: 0 auto; padding: 8px 16px 40px; }
#vca-nmi-root .dash-hero{ display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#vca-nmi-root .dash-hero h1{ margin: 0 0 2px; font-size: 1.7em; }
#vca-nmi-root .dash-hero p{ margin: 0; }
#vca-nmi-root .dash-card h2{ margin-bottom: 10px; }
#vca-nmi-root .dash-card h3{ margin: 0 0 6px; font-size: 1.1em; }
#vca-nmi-root .dash-card h4{ margin: 14px 0 4px; font-size: 1em; }
#vca-nmi-root .dash-card ul{ margin: 0 0 12px 1.2em; padding: 0; }
#vca-nmi-root .dash-card li{ margin: 3px 0; }
#vca-nmi-root .dash-admin{ padding: 10px 14px; font-size: .92em; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; background: var(--warn-bg); border-color: var(--warn); }
#vca-nmi-root .dash-admin a.btn{ min-height: 40px; padding: 6px 12px; }
#vca-nmi-root .dash-idrow{ display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
#vca-nmi-root .mid{ font-size: 1.5em; font-weight: 800; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
#vca-nmi-root .small{ font-size: .85em; }
#vca-nmi-root .chip{ display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .85em; font-weight: 700; background: var(--bg); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
#vca-nmi-root .chip-approved, #vca-nmi-root .chip-complete{ background: var(--good-bg); color: var(--accent); border-color: var(--accent); }
#vca-nmi-root .chip-needs-information, #vca-nmi-root .chip-waiting-on-you, #vca-nmi-root .chip-declined{ background: var(--warn-bg); color: var(--warn); border-color: var(--warn); }
#vca-nmi-root .dash-steps{ grid-template-columns: repeat(5, 1fr); margin: 14px 0 10px; }
#vca-nmi-root .dash-steps li::before{ background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
#vca-nmi-root .dash-steps li.done::before{ content: "✓"; background: var(--accent); color: #fff; border-color: var(--accent); }
#vca-nmi-root .dash-steps li.now::before{ background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
#vca-nmi-root .dash-steps li.now b{ color: var(--brand); }
#vca-nmi-root a.btn.primary-btn{ background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
#vca-nmi-root a.btn.primary-btn:hover{ filter: brightness(1.1); background: var(--brand); }
#vca-nmi-root .lesson{ border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: var(--card); }
#vca-nmi-root .lesson > summary{ list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; min-height: 48px; }
#vca-nmi-root .lesson > summary::-webkit-details-marker{ display: none; }
#vca-nmi-root .lesson > summary .t{ font-weight: 700; }
#vca-nmi-root .lesson > summary .m{ color: var(--muted); font-size: .85em; white-space: nowrap; }
#vca-nmi-root .lesson > summary .s{ grid-column: 1 / -1; color: var(--muted); font-size: .92em; }
#vca-nmi-root .lesson[open] > summary{ border-bottom: 1px solid var(--line); background: var(--bg); border-radius: 12px 12px 0 0; }
#vca-nmi-root .lesson-body{ padding: 4px 16px 12px; }
#vca-nmi-root .deal{ border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; margin: 10px 0; background: var(--card); }
#vca-nmi-root .deal details summary{ cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
#vca-nmi-root .reflink{ display: flex; gap: 8px; flex-wrap: wrap; }
#vca-nmi-root .reflink input{ flex: 1 1 260px; }
#vca-nmi-root .proj + .proj{ border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
#vca-nmi-root .dash-note{ margin: 0 0 12px; }
#vca-nmi-root table.q th{ text-align: left; font-size: .85em; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
@media (max-width: 619px) {
  #vca-nmi-root.dash-page #dash-main{ padding: 4px 8px 32px; }
  #vca-nmi-root .dash-steps{ grid-template-columns: repeat(5, 1fr); gap: 4px; }
  #vca-nmi-root .dash-steps li{ font-size: .72em; }
  #vca-nmi-root .dash-steps li::before{ width: 26px; height: 26px; }
  #vca-nmi-root .dash-hero h1{ font-size: 1.4em; }
}

/* v0.4.1: sign-in form on My Dashboard */
#vca-nmi-root .dash-login{ max-width: 420px; }
#vca-nmi-root .dash-login form p{ margin: 0 0 12px; }
#vca-nmi-root .dash-login label{ display: block; font-weight: 600; margin: 12px 0 4px; }
#vca-nmi-root .dash-login input[type=submit]{ width: 100%; min-height: 52px; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; border: 0; border-radius: 10px; cursor: pointer; margin-top: 6px; }
#vca-nmi-root .dash-login .login-remember label{ display: flex; align-items: center; gap: 8px; font-weight: 400; }
#vca-nmi-root .dash-login .login-remember input{ width: 22px; height: 22px; }
#vca-nmi-root .dash-login .is-error{ margin: 0 0 12px; }
/* menu link: visible, but not shouting */
li.vca-login-link > a{ font-weight: 700 !important; }

/* v0.5.0: founder dashboard */
#vca-nmi-root .tiles{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 16px; }
#vca-nmi-root .tile{ background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; text-align: left; }
#vca-nmi-root .tile .n{ font-size: 2.1em; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
#vca-nmi-root .tile .l{ font-weight: 700; margin-top: 2px; }
#vca-nmi-root .tile .s{ color: var(--muted); font-size: .85em; margin-top: 2px; }
#vca-nmi-root .dash-jump{ display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 10px 12px; position: sticky; top: 0; z-index: 5; }
#vca-nmi-root .dash-jump a{ padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; }
#vca-nmi-root .dash-jump a:hover{ background: var(--good-bg); }
#vca-nmi-root .tasks{ list-style: none; margin: 0; padding: 0; }
#vca-nmi-root .tasks li{ padding: 12px 0; border-bottom: 1px solid var(--line); }
#vca-nmi-root .tasks li:last-child{ border-bottom: 0; }
#vca-nmi-root .tasks .ttl{ font-weight: 700; text-decoration: none; }
#vca-nmi-root .tasks .ttl:hover{ text-decoration: underline; }
#vca-nmi-root .tasks .meta{ margin: 4px 0 2px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#vca-nmi-root .chip-pri{ background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
#vca-nmi-root .agenda{ list-style: none; margin: 0 0 8px; padding: 0; }
#vca-nmi-root .agenda li{ padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
#vca-nmi-root .agenda .when{ min-width: 84px; font-weight: 700; font-variant-numeric: tabular-nums; }
#vca-nmi-root .agenda .where{ color: var(--muted); }
#vca-nmi-root .quick{ display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 619px){ #vca-nmi-root .tiles{ grid-template-columns: 1fr 1fr; } #vca-nmi-root .tile .n{ font-size: 1.7em; } #vca-nmi-root .quick a.btn{ flex: 1 1 100%; } #vca-nmi-root .dash-jump{ position: static; } }

/* v0.6.0: clickable tiles, collapsed tasks, focus list, people lists */
#vca-nmi-root a.tile-link{ text-decoration: none; color: var(--ink); cursor: pointer; transition: transform .1s, border-color .1s; display: block; }
#vca-nmi-root a.tile-link:hover, #vca-nmi-root a.tile-link:focus-visible{ border-color: var(--brand); transform: translateY(-1px); }
#vca-nmi-root .tile .go{ color: var(--brand); font-weight: 700; font-size: .85em; margin-top: 8px; }
#vca-nmi-root details.task{ border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; background: var(--card); }
#vca-nmi-root details.task > summary{ list-style: none; cursor: pointer; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 48px; }
#vca-nmi-root details.task > summary::-webkit-details-marker{ display: none; }
#vca-nmi-root details.task > summary::after{ content: "+"; margin-left: auto; font-weight: 800; color: var(--muted); }
#vca-nmi-root details.task[open] > summary::after{ content: "2"; }
#vca-nmi-root details.task .ttl{ font-weight: 700; flex: 1 1 280px; }
#vca-nmi-root details.task .meta{ display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
#vca-nmi-root details.task[open] > summary{ border-bottom: 1px solid var(--line); background: var(--bg); border-radius: 12px 12px 0 0; }
#vca-nmi-root .task-body{ padding: 6px 14px 10px; }
#vca-nmi-root .task-detail dt{ font-weight: 700; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 10px; }
#vca-nmi-root .task-detail dd{ margin: 2px 0 0; }
#vca-nmi-root .what-today{ background: var(--good-bg); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
#vca-nmi-root .dash-focus h3{ margin: 16px 0 6px; font-size: 1.05em; }
#vca-nmi-root .focus-n{ display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: .85em; margin: 8px 0 -2px; }
#vca-nmi-root .filters{ display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
#vca-nmi-root .filters a.chip{ text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
#vca-nmi-root .chip-on{ background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
#vca-nmi-root ul.aff-tree, #vca-nmi-root ul.aff-tree ul{ list-style: none; margin: 0; padding: 0; }
#vca-nmi-root ul.aff-tree ul{ margin-left: 22px; border-left: 2px solid var(--line); padding-left: 12px; }
#vca-nmi-root .aff{ margin: 8px 0; }
#vca-nmi-root .aff-row{ display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
#vca-nmi-root .aff-nums{ display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .92em; }
@media (max-width: 619px){ #vca-nmi-root ul.aff-tree ul{ margin-left: 10px; padding-left: 8px; } }

/* v0.6.1: view-as picker and read-only preview banner */
#vca-nmi-root .viewas-form{ max-width: 520px; }
#vca-nmi-root .viewas-form select{ width: 100%; }
#vca-nmi-root .dash-admin a.btn.on{ border-color: var(--brand); color: var(--brand); }
#vca-nmi-root .dash-previewing{ border-left: 6px solid var(--warn); }
#vca-nmi-root .dash-previewing h1{ font-size: 1.4em; overflow-wrap: anywhere; }

#vca-nmi-root details.notes{ margin-top: 6px; }
#vca-nmi-root details.notes summary{ cursor: pointer; color: var(--brand); font-size: .85em; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
