/* Vow renewal planner. Tokens only (dark mode from tools.css). */
.tool .vrw { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tool .vrw-pane { display: flex; flex-direction: column; gap: 16px; }
.tool .vrw-tabs button { font-size: 14px; }
.tool .vrw-setup, .tool .vrw-us { display: flex; flex-direction: column; gap: 14px; }
.tool .vrw-row2 { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.tool .vrw-row2 .u19-toggle { margin-bottom: 4px; }
.tool .vrw-partner { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 16px; background: rgb(var(--accent) / .12); font-size: 15px; line-height: 22px; font-weight: 750; color: rgb(var(--ink)); }
.tool .vrw-partner .tool-icon { flex: none; color: #C0237A; }

/* Step dots */
.tool .vrw-steps { display: flex; gap: 6px; justify-content: space-between; }
.tool .vrw-steps button {
  flex: 1; min-width: 0; height: 36px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .08);
  font: inherit; font-size: 13px; font-weight: 850; color: rgb(var(--ink) / .6); cursor: pointer; position: relative; font-variant-numeric: tabular-nums;
  transition: background-color .15s ease, color .15s ease;
}
.tool .vrw-steps button.is-done { background: rgb(var(--accent) / .16); color: rgb(var(--ink)); box-shadow: none; }
.tool .vrw-steps button[aria-selected="true"] { background: rgb(var(--ink)); color: var(--bg, #fff); box-shadow: none; }
.tool .vrw-steps button:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; }

/* Prompt card */
.tool .vrw-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.tool .vrw-card.is-new { animation: vrw-in .32s cubic-bezier(.2, 0, 0, 1) both; }
@keyframes vrw-in { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tool .vrw-steplabel { font-size: 13px; line-height: 18px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.tool .vrw-q { font-size: 20px; line-height: 27px; font-weight: 900; letter-spacing: -.01em; color: rgb(var(--ink)); text-wrap: balance; }
.tool .vrw-write { display: flex; flex-direction: column; gap: 6px; }
.tool .vrw-starter { font-size: 16px; line-height: 23px; font-weight: 750; color: rgb(var(--ink) / .7); font-style: italic; }
.tool .vrw .vrw-ta { min-height: 88px; font-size: 17px; line-height: 25px; }
.tool .vrw-picks .tool-chips button { text-align: left; height: auto; min-height: 40px; padding: 8px 14px; line-height: 20px; }
.tool .vrw .vrw-nav { flex-direction: row; justify-content: space-between; }
.tool .vrw .vrw-nav .btn { width: auto; flex: 1; }
.tool .vrw .vrw-nav .btn-secondary { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }
.tool .vrw .vrw-names { grid-template-columns: 1fr 1fr; }
.tool .vrw-nav .btn[disabled] { opacity: .4; }

/* Output */
.tool .vrw-out { display: flex; flex-direction: column; gap: 12px; }
.tool .vrw-outhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tool .vrw-meta { font-size: 13px; font-weight: 800; color: rgb(var(--ink) / .65); font-variant-numeric: tabular-nums; }
.tool .vrw-preview {
  padding: 22px 22px 8px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow);
  font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
}
.tool .vrw .vrw-preview p { font-family: inherit; font-size: 19px; line-height: 30px; font-weight: 400; color: rgb(var(--ink)); margin: 0 0 14px; text-wrap: pretty; }
.tool .vrw .vrw-edit { min-height: 280px; font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-size: 18px; line-height: 28px; font-weight: 400; }
.tool .vrw-practice { align-self: stretch; }

/* Practice overlay (appended to body so it covers the site header; selectors are scoped to its own class) */
html.vrw-lock { overflow: hidden; }
.vrw-overlay {
  position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: var(--bg, #fff);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  animation: vrw-fade .25s ease-out both;
}
@keyframes vrw-fade { from { opacity: 0; } to { opacity: 1; } }
.vrw-overlay .vrw-pbar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgb(var(--ink) / .08); }
.vrw-overlay .vrw-ptimer { font-size: 22px; font-weight: 950; font-variant-numeric: tabular-nums; color: rgb(var(--ink)); }
.vrw-overlay .vrw-ptarget { flex: 1; font-size: 13px; font-weight: 750; color: rgb(var(--ink) / .6); }
.vrw-overlay .vrw-pbtn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px; background: rgb(var(--ink) / .08); color: rgb(var(--ink)); font: inherit; font-size: 15px; font-weight: 850; cursor: pointer; }
.vrw-overlay .vrw-pbtn:focus-visible { outline: 2px solid rgb(var(--accent)); outline-offset: 2px; }
.vrw-overlay .vrw-pscroll { flex: 1; overflow-y: auto; padding: 12vh 24px 50vh; }
.vrw-overlay .vrw-pbody { max-width: 720px; margin: 0 auto; }
.vrw-overlay .vrw-pbody p { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-size: 30px; line-height: 44px; font-weight: 400; color: rgb(var(--ink)); margin: 0 0 28px; }

/* Script */
.tool .vrw-script { list-style: none; counter-reset: s; display: grid; gap: 8px; }
.tool .vrw .vrw-script li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--surface); }
.tool .vrw-script li b { font-size: 12px; line-height: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--link); }
.tool .vrw-script li span { font-size: 16px; line-height: 24px; font-weight: 600; color: rgb(var(--ink) / .9); }

/* Plan */
.tool .vrw-plan { display: grid; gap: 6px; }
.tool .vrw .vrw-plan li label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: 14px; background: var(--surface); cursor: pointer; font-size: 15px; line-height: 21px; font-weight: 650; }
.tool .vrw-plan input { width: 20px; height: 20px; flex: none; accent-color: rgb(var(--accent)); }
.tool .vrw-plan input:checked + span { text-decoration: line-through; color: rgb(var(--ink) / .5); }

@media (min-width: 600px) {
  .tool .vrw .vrw-preview p { font-size: 20px; line-height: 32px; }
  .vrw-overlay .vrw-pbody p { font-size: 40px; line-height: 58px; }
  .tool .vrw-practice { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tool .vrw-card.is-new, .vrw-overlay { animation: none; } }

/* Round 1 additions: labeled step pills, notes, grouped ideas, plan card, two columns on wide screens */
.tool .vrw-steps { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; padding: 2px; margin: -2px; }
.tool .vrw-steps::-webkit-scrollbar { display: none; }
.tool .vrw-steps button { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; white-space: nowrap; }
.tool .vrw-steps button .tool-icon { width: 14px; height: 14px; stroke-width: 3; }
.tool .vrw .vrw-script li.is-note { background: none; padding: 4px 16px; }
.tool .vrw-note { display: block; font-size: 14px; line-height: 20px; font-style: italic; font-weight: 600; color: rgb(var(--ink) / .62); }
.tool .vrw-say + .vrw-note { margin-top: 4px; }
.tool .vrw .vrw-script li.is-vow .vrw-say { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif; font-size: 17px; line-height: 27px; font-weight: 400; white-space: pre-wrap; }
.tool .vrw .vrw-group { list-style: none; padding: 10px 4px 0; font-size: 12px; line-height: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--ink) / .7); }
.tool .vrw-planbox { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px rgb(var(--ink) / .08); }
.tool .vrw-planbox summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px; cursor: pointer; font-size: 15px; font-weight: 850; color: rgb(var(--ink)); list-style: none; }
.tool .vrw-planbox summary::-webkit-details-marker { display: none; }
.tool .vrw-plansum { font-size: 13px; font-weight: 800; color: var(--link); white-space: nowrap; }
.tool .vrw-planbox .vrw-plan { padding: 0 10px 12px; }
.tool .vrw-cols { display: flex; flex-direction: column; gap: 16px; }
.tool .vrw-colin { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vrw-overlay .vrw-pbtn[aria-pressed="false"] { opacity: .7; }
@media (min-width: 1120px) {
  .tool.vrw-root { width: 1060px; margin-left: calc(50% - 530px); }
  .tool .vrw-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .tool .vrw-out { position: sticky; top: 88px; }
}
.tool .vrw .vrw-allrow { list-style: none; display: flex; justify-content: center; padding-top: 4px; }

/* Round 2 additions */
.tool .vrw-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.tool .vrw .vrw-facts li { font-size: 13px; line-height: 18px; font-weight: 650; padding: 6px 10px; border-radius: 12px; background: rgb(var(--accent) / .1); color: rgb(var(--ink) / .85); }
.tool .vrw-facts b { font-weight: 850; }
.tool .vrw-filterhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tool .vrw .vrw-budget { width: auto; min-height: 36px; padding: 4px 30px 4px 12px; font-size: 14px; border-radius: 12px; }
.tool .vrw-kids { display: flex; flex-direction: column; gap: 10px; }
.tool .vrw-kids .u19-toggle { align-self: flex-start; }
.tool .vrw-steps { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); padding: 2px 14px; margin: -2px -14px; scroll-padding: 0 24px; }
.vrw-overlay .vrw-pbar { flex-wrap: nowrap; gap: 8px; }
.vrw-overlay .vrw-ptarget { white-space: nowrap; }
.vrw-overlay .vrw-pbtn { flex: none; min-width: 44px; padding: 0 14px; white-space: nowrap; }
.vrw-overlay .vrw-pclose { padding: 0; width: 44px; display: grid; place-items: center; }
.vrw-overlay .vrw-pscroll { padding-top: 12vh; }
@media (min-width: 600px) {
  .tool .vrw-pane > .tool-field, .tool .vrw-setup, .tool .vrw-us { max-width: 640px; }
}
.tool .vrw-how { display: block; margin-top: 3px; font-size: 13px; line-height: 19px; font-weight: 600; color: rgb(var(--ink) / .65); }

/* Round 3 additions */
.tool .vrw .vrw-facts { display: block; font-size: 14px; line-height: 20px; font-weight: 650; color: rgb(var(--ink) / .72); }
.tool .vrw .vrw-logic { list-style: none; font-size: 13px; font-weight: 750; color: rgb(var(--ink) / .65); padding: 0 4px; }
.tool .vrw-filterhead { gap: 12px; }
.tool .vrw .vrw-budget {
  -webkit-appearance: none; appearance: none; border-radius: 18px; min-height: 36px; padding: 0 30px 0 14px; font-weight: 800;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.tool .vrw-planthis {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; min-height: 32px; padding: 0 10px 0 0; border: 0; background: none;
  font: inherit; font-size: 13px; font-weight: 850; color: var(--link); cursor: pointer;
}
.tool .vrw-planthis .tool-icon { width: 14px; height: 14px; }
.tool .vrw-tz { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: rgb(var(--accent) / .08); }
.tool .vrw-tzout { font-size: 15px; font-weight: 800; color: rgb(var(--ink)); }
.tool .vrw-cardhint { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--link); }
.tool .vrw-cardhint:empty { display: none; }
@media (min-width: 900px) { .tool .vrw-steps { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; margin: 0; padding: 0; } }

/* Round 4 additions */
.tool .vrw .tool-chips .vrw-count { margin-left: 6px; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 8px; background: rgb(var(--ink) / .07); color: rgb(var(--ink) / .55); font-variant-numeric: tabular-nums; }
.tool .vrw .tool-chips button[aria-pressed="true"] .vrw-count { background: rgb(255 255 255 / .18); color: inherit; }
.tool .vrw-budgetlab { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: rgb(var(--ink) / .65); }
.tool .vrw .vrw-tzsel { min-height: 48px; }
.tool .vrw-tzman summary { font-size: 13px; font-weight: 800; color: var(--link); cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.tool .vrw-planthis { margin-top: 0; min-height: 28px; padding: 0 6px; }
.tool .vrw-preview { max-width: 68ch; }
@media (min-width: 1024px) {
  .tool .vrw-pane > .u19-ideas { grid-template-columns: 1fr 1fr; align-items: start; }
  .tool .vrw-pane > .u19-ideas > .vrw-group, .tool .vrw-pane > .u19-ideas > .vrw-allrow, .tool .vrw-pane > .u19-ideas > .vrw-logic, .tool .vrw-pane > .u19-ideas > .u19-empty { grid-column: 1 / -1; }
}

/* ---------- Round 6 ---------- */
/* Phones: "Step 2 of 8" with progress dots instead of the scrolling strip of step pills. */
.tool .vrw-cardtop { align-items: center; }
.tool .vrw-stepdots { display: none; gap: 5px; align-items: center; }
.tool .vrw-stepdots span { width: 7px; height: 7px; border-radius: 4px; background: rgb(var(--ink) / .16); }
.tool .vrw-stepdots span.is-done { background: rgb(var(--accent) / .55); }
.tool .vrw-stepdots span.is-now { width: 18px; background: rgb(var(--accent)); }
@media (max-width: 599px) {
  .tool .vrw-steps { display: none; }
  .tool .vrw-stepdots { display: inline-flex; margin-left: auto; }
}
/* Idea filters: a chip that would show nothing is greyed out and cannot be picked. */
.tool .tool-chips button.is-zero { opacity: .4; cursor: default; }
/* Practice: teleprompter, the paragraph you are on is full strength. */
.vrw-overlay .vrw-pbody p { transition: opacity .4s ease; opacity: .38; }
.vrw-overlay .vrw-pbody p.is-now { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vrw-overlay .vrw-pbody p { transition: none; } }
