/* ==========================================================================
   System preview (/preview/{key}/), theme 4.10: "record trail".
   Their colour (--accent, from their logo or their industry) runs the frame:
   the side rail and the time-back panel. Every job shows what the system did
   for it and where it needs them. Edderton Scott appears only in the slim bar
   at the top and the "What's next" button, in our own brand.
   ========================================================================== */


:root {
	--accent: #4f46e5;
	--accent-rgb: 79, 70, 229;
	--accent-soft: #e4e3fb;
	--accent-softer: #f3f2fe;
	--bg: #f6f7f9;
	--paper: #ffffff;
	--panel: #f1f3f6;
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--faint: #94a3b8;
	--line: #e5e7eb;
	--line-strong: #d1d5db;
	--ok: #15803d;
	--ok-soft: #dcfce7;
	--warn: #a16207;
	--warn-soft: #fef3c7;
	--bad: #b91c1c;
	--bad-soft: #fee2e2;
	--r: 12px;
	--r-sm: 8px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
	--shadow-lg: 0 10px 30px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
	--font: "Albert Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
	--side: 248px;
	--bar: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- Bars above the app ---------- */
.pv-team { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 9px 20px; background: var(--warn-soft); color: var(--warn); font-size: 13.5px; border-bottom: 1px solid #fde68a; }
.pv-team a { font-weight: 700; text-decoration: underline; }
.pv-ribbon { display: flex; align-items: center; gap: 10px 22px; min-height: var(--bar); padding: 8px 20px; background: #151515; color: #b9b6ae; font-size: 13px; line-height: 1.45; }
.pv-ribbon__by { display: flex; align-items: center; gap: 8px; flex: none; color: #e9e7e1; font-size: 12px; }
.pv-ribbon__by img { height: 18px; width: auto; display: block; }
.pv-ribbon__by b { color: #fff; font-family: "Urbanist", var(--font); font-weight: 800; }
.pv-ribbon__note { margin-right: auto; max-width: 92ch; }
.pv-ribbon__cta { flex: none; font: inherit; color: #fff; font-weight: 700; white-space: nowrap; padding: 6px 12px; border: 0; cursor: pointer; background: #d9480f; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.pv-ribbon__cta:hover { background: #c03e0b; }
.pv-kept { padding: 10px 20px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 14px; text-align: center; }

/* ---------- The frame: their colour ---------- */
:root {
	--rail: color-mix(in srgb, var(--accent) 40%, #10161a);
	--rail-ink: color-mix(in srgb, var(--accent) 12%, #ffffff);
	--canvas: #ecedea;
	--you: #b45309;
	--you-soft: #fdf3e6;
}
body { background: var(--canvas); font-variant-numeric: tabular-nums; }
.pv-app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - var(--bar)); background: linear-gradient(90deg, var(--rail) var(--side), transparent var(--side)); }
.pv-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 18px 12px; background: var(--rail); color: var(--rail-ink); }
.pv-side__co { display: flex; align-items: center; gap: 10px; padding: 4px 8px; font-weight: 700; color: #fff; }
.pv-side__logo { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--rail); font-weight: 800; overflow: hidden; }
.pv-side__logo--img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pv-side__plate { display: block; background: #fff; border-radius: 10px; padding: 10px 12px; }
.pv-side__img { display: block; max-height: 34px; max-width: 100%; width: auto; }
.pv-nav { display: grid; gap: 2px; }
.pv-nav__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; color: color-mix(in srgb, var(--rail-ink) 82%, transparent); font-weight: 500; }
.pv-nav__item svg { width: 18px; height: 18px; flex: none; }
.pv-nav__item:hover { background: rgba(255, 255, 255, .07); }
.pv-nav__item.is-on { background: rgba(255, 255, 255, .13); color: #fff; }
.pv-nav__n { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; background: var(--you); color: #fff; border-radius: 10px; padding: 0 7px; }
.pv-side__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.pv-side__foot b { display: block; color: #fff; font-size: 14px; }
.pv-side__foot small { font-size: 12.5px; }
.pv-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; flex: none; }
.pv-main { min-width: 0; }
.pv-view { display: block; }
.js .pv-view { display: none; }
.js .pv-view.is-on { display: block; animation: pv-in .25s ease-out; }
@keyframes pv-in { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Overview ---------- */
.pv-ov { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; max-width: 1240px; padding: 36px 32px 0; }
.pv-hello { color: var(--muted); margin-bottom: 8px; }
.pv-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 800; max-width: 20ch; }
.pv-sum { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.pv-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 22px; }
.pv-facts li { font-size: 14px; color: var(--muted); max-width: 22ch; }
.pv-facts b { display: block; font-size: 26px; line-height: 1.15; color: var(--ink); font-weight: 800; }
.pv-facts span { display: block; color: var(--ink-2); }
.pv-facts small { font-size: 12.5px; }
.pv-block { margin-top: 36px; }
.pv-block h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.pv-turns { display: grid; gap: 10px; }
.pv-turn { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--paper); border-radius: 12px; padding: 16px 18px; box-shadow: inset 4px 0 0 var(--you); }
.pv-turn b { display: block; font-size: 16px; }
.pv-turn small { color: var(--muted); font-size: 13.5px; }
.pv-turn em { font-style: normal; font-weight: 700; color: var(--you); }
.pv-turn:hover { box-shadow: inset 4px 0 0 var(--you), 0 0 0 1px var(--line-strong); }
.pv-done { background: var(--paper); border-radius: 12px; }
.pv-done li { display: grid; grid-template-columns: 52px 20px 1fr auto; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pv-done li:first-child { border-top: 0; }
.pv-done time { color: var(--muted); font-size: 13px; }
.pv-done i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.pv-done small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.pv-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
.pv-compare th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.pv-compare td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; width: 50%; }
.pv-compare tbody tr:first-child td { border-top: 0; }
.pv-compare td:first-child { color: var(--muted); }
.pv-compare td:last-child { font-weight: 600; border-left: 3px solid var(--accent); }
.pv-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-part { display: grid; gap: 6px; align-content: start; background: var(--paper); border-radius: 12px; padding: 18px; }
.pv-part:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.pv-part__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pv-part b { font-size: 16px; }
.pv-part strong { font-size: 20px; color: var(--accent); white-space: nowrap; }
.pv-part > span:not(.pv-part__top) { color: var(--ink-2); font-size: 13.5px; }
.pv-part small { color: var(--muted); font-size: 12.5px; }
.pv-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pv-week li { background: var(--paper); border-radius: 12px; padding: 14px; font-size: 13.5px; color: var(--ink-2); }
.pv-week b { display: block; color: var(--ink); margin-bottom: 4px; }
.pv-ov__side { position: sticky; top: 20px; align-self: start; }
.pv-back { background: var(--rail); color: var(--rail-ink); border-radius: 16px; padding: 22px; }
.pv-back h2 { font-size: 15px; font-weight: 600; color: #fff; }
.pv-back__n { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px; color: #fff; }
.pv-back__n b { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.pv-hrs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pv-hrs i { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, .13); }
.pv-hrs i.is-back { background: #fff; }
.pv-hrs__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; }
.pv-hrs__key span { display: inline-flex; align-items: center; gap: 6px; }
.pv-hrs__key em { width: 10px; height: 10px; border-radius: 3px; background: #fff; }
.pv-hrs__key em.o { background: rgba(255, 255, 255, .13); }
.pv-back dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 16px 0 0; font-size: 13.5px; }
.pv-back dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.pv-back__note { margin-top: 14px; font-size: 12px; color: color-mix(in srgb, var(--rail-ink) 75%, transparent); }
.pv-foot { font-size: 12.5px; color: var(--muted); max-width: 80ch; padding: 40px 32px 110px; }

/* ---------- A part of their system: the list, and each job's trail ---------- */
.pv-modv.is-on, .pv-modv { grid-template-columns: 360px minmax(0, 1fr); min-height: calc(100vh - var(--bar)); }
.js .pv-modv.is-on, .pv-modv { display: grid; }
.js .pv-modv:not(.is-on) { display: none; }
.pv-list { border-right: 1px solid var(--line); }
.pv-list__head { padding: 26px 20px 12px; }
.pv-list__head h2 { font-size: 24px; font-weight: 800; }
.pv-list__head p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.pv-filters { display: flex; gap: 6px; padding: 0 20px 12px; }
.pv-filters button { font: inherit; font-size: 13px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 20px; padding: 5px 12px; cursor: pointer; }
.pv-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pv-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; text-align: left; font: inherit; color: inherit; border: 0; border-top: 1px solid var(--line); background: none; padding: 14px 20px; cursor: pointer; }
.pv-item[aria-current="true"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--accent); }
.pv-item b { font-size: 15px; }
.pv-item > span { grid-column: 1; color: var(--muted); font-size: 13px; }
.pv-item em { grid-row: 1; grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--muted); text-align: right; }
.pv-item em.is-you { color: var(--you); font-weight: 700; }
.pv-item[hidden] { display: none; }
.pv-rec { padding: 28px 36px 110px; max-width: 760px; }
.pv-rec__name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.pv-rec__sub { margin-top: 4px; color: var(--muted); }
.pv-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; margin: 22px 0 0; }
.pv-fields div { background: var(--paper); padding: 12px 16px; }
.pv-fields dt { font-size: 12.5px; color: var(--muted); }
.pv-fields dd { margin: 2px 0 0; font-weight: 600; }
.pv-trail { margin-top: 30px; }
.pv-trail h3 { font-size: 16px; margin: 0 0 4px; }
.pv-trail > p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.pv-steps { position: relative; }
.pv-steps::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.pv-step { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; padding-bottom: 20px; }
.pv-step__dot { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--accent-soft); color: var(--accent); }
.pv-step__txt b { display: block; }
.pv-step__txt > span { display: block; color: var(--muted); font-size: 13.5px; }
.pv-step time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.pv-step--you .pv-step__dot { background: var(--you); color: #fff; }
.pv-act { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pv-act button { font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 9px 16px; cursor: pointer; background: var(--ink); color: #fff; }
.pv-act button.is-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pv-step--next .pv-step__dot { background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); }
.pv-step--next b { color: var(--muted); font-weight: 600; }
.pv-step.is-new { animation: pv-in .5s cubic-bezier(.2, .8, .2, 1) both; }

.pv-tag { display: inline-block; padding: 2px 9px; font-size: 12px; font-weight: 600; border-radius: 999px; background: var(--panel); color: var(--ink-2); }
.pv-tag--ok { background: var(--ok-soft); color: var(--ok); }
.pv-tag--warn { background: var(--warn-soft); color: var(--warn); }
.pv-tag--bad { background: var(--bad-soft); color: var(--bad); }
.pv-tag--new { background: var(--accent-soft); color: var(--accent); }

.pv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; font-weight: 600; font-size: 15px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); transition: background .15s, box-shadow .15s, transform .15s; }
.pv-btn:hover { background: var(--panel); }
.pv-btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 6px 16px rgba(var(--accent-rgb), .28); }
.pv-btn--primary:hover { background: var(--accent); filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- 4.12: the plan (team only) ---------- */
.pv-plan { padding: 9px 20px; background: #eef2ff; color: #3730a3; font-size: 13.5px; border-bottom: 1px solid #c7d2fe; }
.pv-plan em { font-style: normal; font-weight: 700; margin-left: 6px; }
.pv-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; max-width: 70ch; }
.pv-block__lede { color: var(--ink-2); margin: -4px 0 14px; max-width: 64ch; }

/* ---------- The assistant: example, and "try it" ---------- */
.pv-try { background: var(--paper); border-radius: 14px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.pv-try__thread { display: grid; gap: 10px; }
.pv-msg { max-width: 88%; border-radius: 14px; padding: 10px 14px; font-size: 14.5px; }
.pv-msg p { white-space: pre-line; }
.pv-msg small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.pv-msg--in { justify-self: start; background: var(--panel); border-bottom-left-radius: 4px; }
.pv-msg--out { justify-self: end; background: var(--accent-softer); box-shadow: inset 0 0 0 1px var(--accent-soft); border-bottom-right-radius: 4px; }
.pv-msg--out small { color: var(--accent); }
.pv-msg--note { justify-self: center; max-width: none; background: none; color: var(--muted); font-size: 12.5px; padding: 2px 10px; border-radius: 0; border-top: 1px dashed var(--line-strong); }
.pv-msg__wait { display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--you); background: var(--you-soft); border-radius: 999px; padding: 2px 9px; }
.pv-msg.is-pending p { color: var(--muted); }
.pv-msg.is-new { animation: pv-in .35s ease-out both; }
.pv-try__form { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pv-try__form label span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.pv-try__form textarea { width: 100%; font: inherit; font-size: 14.5px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; resize: vertical; background: var(--paper); color: var(--ink); }
.pv-try__form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.pv-try__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pv-try__go button { font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; background: var(--accent); color: #fff; }
.pv-try__go button[disabled] { opacity: .55; cursor: default; }
.pv-try__go small { color: var(--muted); font-size: 12.5px; }

/* ---------- Shell: their website, with the chat open ---------- */
.pv-site { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.pv-site__bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.pv-site__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.pv-site__bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 2px 12px; }
.pv-site__page { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); min-height: 420px; }
.pv-site__nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.pv-site__nav b { display: flex; align-items: center; gap: 8px; margin-right: auto; color: var(--ink); font-size: 15px; }
.pv-site__nav img { height: 24px; width: auto; }
.pv-site__hero { padding: 40px 28px; background: linear-gradient(160deg, var(--accent-softer), var(--paper) 70%); }
.pv-site__h { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; }
.pv-site__sub { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; max-width: 40ch; }
.pv-site__btn { display: inline-block; margin-top: 18px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; border-radius: 8px; padding: 9px 16px; }
.pv-site__chat { margin: 16px; align-self: end; display: grid; gap: 10px; background: var(--paper); border-radius: 16px; padding: 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14), inset 0 0 0 1px var(--line); }
.pv-site__chathead { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pv-site__chathead svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.pv-site__chathead b { display: block; font-size: 14.5px; }
.pv-site__chathead small { color: var(--muted); font-size: 12px; }
.pv-msg--greet { justify-self: start; }
.pv-try--chat { padding: 0; box-shadow: none; }
.pv-try--chat .pv-try__form { margin-top: 10px; padding-top: 10px; }
.pv-try--chat .pv-msg { max-width: 94%; font-size: 13.5px; }

/* ---------- Shell: alongside their tools ---------- */
.pv-side__tools { display: grid; gap: 4px; padding: 12px 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.pv-side__tools small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: 2px; }
.pv-side__tools span { display: flex; align-items: center; gap: 8px; }
.pv-side__tools svg { width: 15px; height: 15px; opacity: .8; }
.pv-link { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; }
.pv-link__tools { display: grid; gap: 8px; }
.pv-link__tools li, .pv-link__hub { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.pv-link__tools svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.pv-link b { display: block; font-size: 14.5px; }
.pv-link small { color: var(--muted); font-size: 12.5px; }
.pv-link__line { height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px); }
.pv-link__hub { box-shadow: inset 0 0 0 2px var(--accent); }
.pv-link__hub svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent); color: #fff; flex: none; }

/* ---------- A part drawn as something other than a list ---------- */
.pv-modx { padding: 28px 32px 110px; max-width: 1240px; }
.pv-modx__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.pv-modx__head h2 { font-size: 26px; font-weight: 800; }
.pv-modx__head p { margin-top: 6px; color: var(--muted); max-width: 64ch; }
.pv-modx__kpi { text-align: right; margin: 0 !important; }
.pv-modx__kpi b { display: block; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.pv-modx__kpi small { color: var(--muted); font-size: 12.5px; }
.pv-modx__auto { margin-top: 26px; }
.pv-modx__auto h3 { font-size: 15px; margin: 0 0 8px; }
.pv-modx__auto ul { display: grid; gap: 6px; }
.pv-modx__auto li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.pv-modx__auto i { font-style: normal; font-weight: 800; font-size: 12px; color: var(--accent); }
.pv-assist { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; background: var(--accent-softer); box-shadow: inset 0 0 0 1px var(--accent-soft); font-size: 13.5px; color: var(--ink-2); max-width: 760px; }
.pv-list__head .pv-assist { margin: 12px 0 0; }
.pv-assist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }
.pv-assist b { color: var(--ink); }

.pv-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pv-cal__day { background: var(--paper); border-radius: 12px; padding: 12px; display: grid; gap: 8px; align-content: start; min-height: 260px; }
.pv-cal__day h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin: 0 0 2px; }
.pv-cal__day h3 small { font-weight: 500; font-size: 12px; color: var(--muted); }
.pv-ev { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--accent-softer); box-shadow: inset 3px 0 0 var(--accent); font-size: 13px; }
.pv-ev time { font-weight: 700; color: var(--accent); font-size: 12.5px; }
.pv-ev b { font-size: 13.5px; line-height: 1.3; }
.pv-ev span { color: var(--muted); }
.pv-ev .pv-tag { justify-self: start; margin-top: 2px; }

.pv-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: start; }
.pv-lane { background: rgba(255, 255, 255, .55); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.pv-lane h3 { display: flex; justify-content: space-between; font-size: 14px; margin: 2px 4px 2px; }
.pv-lane h3 small { font-size: 12px; color: var(--muted); font-weight: 600; }
.pv-card { display: grid; gap: 3px; background: var(--paper); border-radius: 10px; padding: 11px 12px; box-shadow: var(--shadow); font-size: 13.5px; }
.pv-card b { font-size: 14px; }
.pv-card span { color: var(--muted); }
.pv-card .pv-tag { justify-self: start; margin-top: 3px; }
.pv-card.is-you { box-shadow: inset 3px 0 0 var(--you), var(--shadow); }
.pv-ok { justify-self: start; margin-top: 6px; font: inherit; font-size: 13px; font-weight: 700; border: 0; border-radius: 8px; padding: 6px 12px; cursor: pointer; background: var(--ink); color: #fff; }
.pv-ok.is-done { background: var(--ok-soft); color: var(--ok); cursor: default; }

.pv-chart { margin: 0; background: var(--paper); border-radius: 12px; padding: 18px 20px 14px; max-width: 760px; }
.pv-chart figcaption { font-weight: 700; margin-bottom: 10px; }
.pv-chart__svg { width: 100%; height: auto; overflow: visible; }
.pv-chart__base { stroke: var(--line-strong); stroke-width: 1; }
.pv-chart__bar path { fill: color-mix(in srgb, var(--accent) 55%, #ffffff); }
.pv-chart__bar.is-last path { fill: var(--accent); }
.pv-chart__bar:hover path { fill: color-mix(in srgb, var(--accent) 80%, #000000); }
.pv-chart__val { font-size: 13px; font-weight: 700; fill: var(--ink); }
.pv-chart__lab { font-size: 12px; fill: var(--muted); }
.pv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pv-chatv { display: grid; gap: 10px; background: var(--paper); border-radius: 14px; padding: 18px; max-width: 720px; }
.pv-chatv__ch { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pv-chatv__ch svg { width: 16px; height: 16px; }

.pv-log { background: var(--paper); border-radius: 12px; max-width: 820px; }
.pv-log__i { display: grid; grid-template-columns: 50px 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); }
.pv-log__i:first-child { border-top: 0; }
.pv-log__i time { color: var(--muted); font-size: 13px; }
.pv-log__i i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: var(--accent); background: var(--accent-soft); }
.pv-log__i.is-you i { background: var(--you); color: #fff; }
.pv-log__i b { display: block; font-size: 14.5px; font-weight: 600; }
.pv-log__i small { color: var(--muted); font-size: 12.5px; }
.pv-log__i.is-you small { color: var(--you); font-weight: 700; }
.pv-log__i .pv-ok { margin: 0; }

@media (max-width: 1100px) {
	.pv-cal { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
	.pv-cal__day { min-height: 0; }
	.pv-site__page { grid-template-columns: 1fr; }
	.pv-site__chat { margin: 0 16px 16px; }
}
@media (max-width: 860px) {
	.pv-modx { padding: 22px 16px 110px; }
	.pv-link { grid-template-columns: 1fr; gap: 0; }
	.pv-link__line { width: 2px; height: 22px; margin-left: 30px; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 10px); }
	.pv-log__i { grid-template-columns: 44px 24px minmax(0, 1fr); }
	.pv-log__i .pv-ok { grid-column: 3; justify-self: start; }
	.pv-site__nav span { display: none; }
	.pv-msg { max-width: 100%; }
}

/* ---------- Closed ---------- */
.pv--closed { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.pv-closed { max-width: 540px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 44px); display: grid; gap: 14px; }
.pv-brand { font-weight: 700; color: var(--muted); font-size: 14px; }
.pv-closed h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.pv-closed p { color: var(--ink-2); }
.pv-closed__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pv-closed .pv-btn--primary { background: var(--ink); border-color: var(--ink); box-shadow: none; }


/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
	.pv-ov { grid-template-columns: 1fr; }
	.pv-ov__side { position: static; }
	.pv-modv.is-on, .pv-modv { grid-template-columns: 1fr; }
	.pv-list { border-right: 0; }
}
@media (max-width: 860px) {
	.pv-ribbon { flex-wrap: wrap; }
	.pv-ribbon__note { flex-basis: 100%; order: 3; }
	.pv-app { grid-template-columns: 1fr; background: none; }
	.pv-side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; }
	.pv-side__co > span:not(.pv-side__plate):not(.pv-side__logo), .pv-side__foot { display: none; }
	.pv-side__co { flex: none; padding: 0; }
	.pv-side__plate { padding: 5px 8px; }
	.pv-side__img { max-height: 24px; max-width: 110px; }
	.pv-nav { display: flex; gap: 4px; }
	.pv-nav__item { white-space: nowrap; padding: 7px 12px; }
	.pv-nav__item svg { display: none; }
	.pv-ov { padding: 26px 16px 0; }
	.pv-parts, .pv-week { grid-template-columns: 1fr; }
	.pv-rec { padding: 22px 16px 110px; }
	.pv-done li { grid-template-columns: 46px 20px 1fr; }
	.pv-done small { display: none; }
	.pv-compare thead { display: none; }
	.pv-compare td { display: block; width: 100%; }
	.pv-compare td:last-child { border-top: 0; padding-top: 0; }
	.pv-foot { padding: 32px 16px 110px; }
}
@media (prefers-reduced-motion: reduce) { .js .pv-view.is-on, .pv-step.is-new { animation: none; } }
@media print { .pv-side, .pv-ribbon, .pv-team { display: none; } .pv-app { display: block; } .js .pv-view { display: block; } }

/* ---------- "What happens next": a nudge from Edderton Scott (in our own look) ---------- */
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
.pv-nudge { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; justify-items: end; gap: 12px; font-family: "Urbanist", var(--font); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.pv-nudge.is-ready, .pv-nudge.is-open { opacity: 1; transform: none; }
.pv-nudge__pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: #fff; background: #151515; box-shadow: inset 0 -3px 0 #d9480f, 0 12px 30px rgba(0, 0, 0, .22); }
.pv-nudge__pill:hover { background: #000; }
.pv-nudge__mark { position: relative; width: 12px; height: 12px; background: #d9480f; flex: none; }
.pv-nudge:not(.is-open) .pv-nudge__mark::after { content: ""; position: absolute; inset: -5px; border: 2px solid #d9480f; opacity: 0; animation: pv-ping 2.4s ease-out 1.5s infinite; }
@keyframes pv-ping { 0% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
.pv-nudge__card { width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; background: #151515; color: #e9e7e1; padding: 18px 20px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 3px solid #d9480f; animation: pv-in .25s ease-out; }
.pv-nudge__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pv-nudge__head img { height: 20px; width: auto; display: block; }
.pv-nudge__head b { font-weight: 800; color: #fff; }
.pv-nudge__close { width: 30px; height: 30px; border: 0; background: transparent; color: #b9b6ae; font-size: 22px; line-height: 1; cursor: pointer; }
.pv-nudge__close:hover { color: #fff; }
.pv-nudge__lead { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.pv-nudge__steps { display: grid; gap: 4px; counter-reset: s; }
.pv-nudge__steps li { position: relative; padding: 8px 0 10px 36px; counter-increment: s; font-size: 14px; color: #b9b6ae; line-height: 1.45; }
.pv-nudge__steps li + li { border-top: 1px solid #2c2c2c; }
.pv-nudge__steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #151515; background: #e9e7e1; }
.pv-nudge__steps li.is-done::before { content: "✓"; background: #2f6b3a; color: #fff; }
.pv-nudge__steps li.is-next::before { background: #d9480f; color: #fff; }
.pv-nudge__steps b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.pv-nudge__btn { display: inline-flex; align-items: center; margin-top: 10px; min-height: 42px; padding: 0 16px; background: #fff; color: #151515; font-weight: 800; box-shadow: inset 0 -3px 0 #d9480f; }
.pv-nudge__btn:hover { background: #d9480f; color: #fff; box-shadow: none; }
.pv-nudge__more, .pv-nudge__left { font-size: 13px; color: #b9b6ae; margin-top: 10px; }
.pv-nudge__more a { color: #fff; text-decoration: underline; text-decoration-color: #d9480f; text-underline-offset: 3px; font-weight: 700; }
@media (max-width: 860px) {
	.pv-ribbon { flex-wrap: wrap; }
	.pv-ribbon__note { flex-basis: 100%; order: 3; }
}
@media (max-width: 520px) {
	.pv-nudge { right: 12px; bottom: 12px; left: 12px; justify-items: stretch; }
	.pv-nudge__pill { justify-content: center; }
	.pv-nudge__card { width: auto; }
	.pv-main { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .pv-nudge, .pv-nudge__card { transition: none; animation: none; } .pv-nudge__mark::after { animation: none !important; } }
@media print { .pv-nudge { display: none; } }

.pv-teamnote { position: fixed; left: 16px; bottom: 16px; z-index: 50; background: #151515; color: #fff; font-size: 13px; padding: 8px 12px; border-radius: 8px; }

/* 4.13: the example anyone can open */
.pv-ribbon__cta--make { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pv-ribbon__note strong { color: #fff; }
