/* Parklumo panels v2 (R21, owner-approved 2026-10-12): the partner area (/operator/) and the admin panel (/admin/)
   in the public site's world (DESIGN.md, "The Boarding Pass for the Car"): one pale pass material, paired soft light,
   raised controls, pressed data wells, teal only for the current item, the primary action, links and focus,
   and every count, amount and booking number printed on a stub.
   Loaded last on those pages (body.pv2); the legacy panel CSS stays underneath only so the markup keeps its classes.
   CSP: same-origin styles and fonts, data: images for drawn icons, no inline styles. */

@font-face { font-family: "Sora"; src: url("/assets/font-sora-v1.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/font-source-sans-3-v1.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

.pv2 {
  --pv-ink: #14284b;
  --pv-ink2: #4a5b78;
  --pv-teal: #0b6e70;
  --pv-teal2: #085a5c;
  --pv-teal-off: #9fb3b4;
  --pv-base: #e8edf4;
  --pv-hi: #ffffff;
  --pv-lo: #c1cbd9;
  --pv-btn-lo: #aab6c7;
  --pv-line: #d3dbe6;
  --pv-perf: #b4c1d2;
  --pv-rule: #c3cedc;
  --pv-alert: #9a3025;
  --pv-warn: #855a12;
  --pv-row: #dfe5ee;
  --pv-raise: -5px -5px 12px var(--pv-hi), 6px 6px 14px var(--pv-lo);
  --pv-raise-sm: -3px -3px 8px var(--pv-hi), 4px 4px 10px var(--pv-lo);
  --pv-raise-card: -7px -7px 16px var(--pv-hi), 8px 8px 20px var(--pv-lo);
  --pv-press: inset 4px 4px 9px var(--pv-lo), inset -4px -4px 9px var(--pv-hi);
  --pv-press-sm: inset 2px 2px 5px var(--pv-lo), inset -2px -2px 5px var(--pv-hi);
  --pv-notch: inset 3px 3px 6px var(--pv-lo), inset -2px -2px 5px var(--pv-hi);
  --pv-lift: -4px -4px 10px var(--pv-hi), 6px 6px 14px var(--pv-btn-lo);
  --pv-down: inset 4px 4px 10px rgba(0, 0, 0, .28), inset -2px -2px 6px rgba(255, 255, 255, .12);
  --pv-display: "Sora", "Source Sans 3", system-ui, sans-serif;
  --pv-text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pv-ease: cubic-bezier(.22, 1, .36, 1);
  --pv-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --pv-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M17 10H4M9 5l-5 5 5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --pv-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 4.5 13 10l-5.5 5.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --pv-alert-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5 2.8 19.5h18.4L12 3.5z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M12 10v4.5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17' r='1.2'/%3E%3C/svg%3E");
}

/* ---- ground, type and browser surfaces ---- */
html:has(body.pv2) { background: #e8edf4; }
body.pv2 { margin: 0; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
.pv2 ::selection { background: #bfe4e4; color: var(--pv-ink); }
.pv2 :focus-visible { outline: 3px solid var(--pv-teal); outline-offset: 3px; }
.pv2 input, .pv2 select, .pv2 textarea { caret-color: var(--pv-teal); }
.pv2 * { scrollbar-width: thin; scrollbar-color: var(--pv-perf) transparent; }
.pv2 a { color: var(--pv-teal); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.pv2 a:hover { color: var(--pv-teal2); }
.pv2 h1, .pv2 h2, .pv2 h3, .pv2 h4 { font-family: var(--pv-display); color: var(--pv-ink); text-wrap: balance; }
.pv2 h1 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.pv2 h2 { margin: 0 0 16px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.pv2 h3 { margin: 22px 0 10px; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.pv2 h4 { margin: 18px 0 8px; font-size: 15px; font-weight: 650; }
.pv2 p { margin: 8px 0; }
.pv2 .muted, .pv2 .subtle, .pv2 .subtitle, .pv2 .freshness, .pv2 .footer-note { color: var(--pv-ink2); }
.pv2 .freshness, .pv2 .footer-note { margin: 22px 2px 0; font-size: 14px; }
.pv2 .subtitle { margin: 6px 0 26px; font-size: 17px; }
.pv2 strong { font-weight: 700; }

/* ---- the wordmark: teal P tile, "Parklumo" in Sora, the area beside a perforation ---- */
.pv2 .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1; text-decoration: none; }
.pv2 .brand span { color: var(--pv-ink); }
.pv2 .pl-mark { width: 30px; height: 30px; flex: none; }
.pv2 .pl-mark rect { fill: var(--pv-teal); }
.pv2 .pl-mark path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pv2 .brand small, .pv2 .topbar > div:first-child > small { display: block; margin: 0 0 0 4px; padding: 3px 0 3px 14px; border-left: 2px dashed var(--pv-perf); color: var(--pv-ink2); font-family: var(--pv-text); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.2; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- buttons: teal is the one primary action; everything else is raised pass material ---- */
.pv2 button, .pv2 .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--pv-teal); color: #fff; font-family: var(--pv-display); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-align: center; cursor: pointer; box-shadow: var(--pv-lift); transition: background-color .2s var(--pv-ease), box-shadow .2s var(--pv-ease), color .2s var(--pv-ease); }
.pv2 button:hover, .pv2 .button:hover { background: var(--pv-teal2); }
.pv2 button:active, .pv2 .button:active { box-shadow: var(--pv-down); }
.pv2 button:disabled, .pv2 .button:disabled { background: var(--pv-teal-off); color: #fff; box-shadow: none; cursor: not-allowed; opacity: 1; }
.pv2 button.secondary, .pv2 .button.secondary, .pv2 .lang-toggle button, .pv2 #locale-toggle,
.pv2 .button.danger, .pv2 .p04-danger, .pv2 .ab-danger, .pv2 .button.warning { background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-raise-sm); }
.pv2 button.secondary:hover, .pv2 .button.secondary:hover, .pv2 .lang-toggle button:hover, .pv2 #locale-toggle:hover { background: var(--pv-base); color: var(--pv-teal); }
.pv2 button.secondary:active, .pv2 .button.secondary:active, .pv2 .lang-toggle button:active, .pv2 #locale-toggle:active { box-shadow: var(--pv-press); }
.pv2 button.secondary:disabled, .pv2 .button.secondary:disabled { background: var(--pv-base); color: #8a97ab; box-shadow: var(--pv-press-sm); }
.pv2 .button.danger, .pv2 .p04-danger, .pv2 .ab-danger, .pv2 .button.warning { color: var(--pv-alert); }
.pv2 .button.danger:hover, .pv2 .p04-danger:hover, .pv2 .ab-danger:hover, .pv2 .button.warning:hover { background: var(--pv-base); color: #7a2219; }
.pv2 .button.danger:active, .pv2 .p04-danger:active, .pv2 .ab-danger:active { box-shadow: var(--pv-press); }
.pv2 .button.small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.pv2 .link-button { min-height: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--pv-teal); font-family: var(--pv-display); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.pv2 .link-button:hover { background: none; color: var(--pv-teal2); text-decoration-color: currentColor; }
.pv2 .link-button:active { box-shadow: none; }
.pv2 .link-button[data-go]::after, .pv2 [data-overview-status] a::after, .pv2 #today-list::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--pv-arrow) center / contain no-repeat; mask: var(--pv-arrow) center / contain no-repeat; transition: transform .2s var(--pv-ease); }
.pv2 .link-button[data-go]:hover::after, .pv2 [data-overview-status] a:hover::after, .pv2 #today-list:hover::after { transform: translateX(3px); }

/* ---- fields: wells you type into, labels belong to them ---- */
.pv2 label { color: var(--pv-ink2); font-family: var(--pv-text); font-size: 12px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.pv2 label:has(input[type=checkbox]), .pv2 label:has(input[type=radio]), .pv2 .check, .pv2 .p04-check, .pv2 .p03-calendar label { color: var(--pv-ink); font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pv2 input:not([type=checkbox]):not([type=radio]):not([type=file]), .pv2 select, .pv2 textarea { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; min-height: 46px; margin: 0; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-text); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: var(--pv-press); outline: none; transition: box-shadow .2s var(--pv-ease); }
.pv2 textarea { min-height: 96px; line-height: 1.45; resize: vertical; }
.pv2 input::placeholder, .pv2 textarea::placeholder { color: #6d7b93; font-weight: 400; opacity: 1; }
.pv2 input:not([type=checkbox]):not([type=radio]):not([type=file]):focus, .pv2 select:focus, .pv2 textarea:focus { box-shadow: var(--pv-press), 0 0 0 3px var(--pv-teal); outline: none; }
.pv2 input:disabled, .pv2 select:disabled, .pv2 textarea:disabled { color: #7b889c; cursor: not-allowed; }
.pv2 [aria-invalid=true], .pv2 input:user-invalid, .pv2 textarea:user-invalid { box-shadow: var(--pv-press), 0 0 0 2px var(--pv-alert) !important; }
.pv2 input[type=checkbox], .pv2 input[type=radio] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0 4px 0 0; border: 0; border-radius: 7px; background: var(--pv-base) center / 14px 14px no-repeat; box-shadow: var(--pv-press-sm); vertical-align: middle; cursor: pointer; }
.pv2 input[type=radio] { border-radius: 50%; }
.pv2 input[type=checkbox]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.4-7' fill='none' stroke='%230b6e70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pv2 input[type=radio]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.2' fill='%230b6e70'/%3E%3C/svg%3E"); }
.pv2 input[type=checkbox]:disabled, .pv2 input[type=radio]:disabled { opacity: .6; cursor: not-allowed; }
.pv2 input[type=file] { width: auto; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; max-width: 100%; color: var(--pv-ink2); font-family: var(--pv-text); font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.pv2 input[type=file]::file-selector-button { margin: 0 12px 0 0; min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-display); font-size: 14px; font-weight: 600; box-shadow: var(--pv-raise-sm); cursor: pointer; }
.pv2 input[type=file]::file-selector-button:hover { color: var(--pv-teal); }
.pv2 fieldset { min-width: 0; margin: 24px 0 0; padding: 18px 0 0; border: 0; border-top: 1px dashed var(--pv-rule); border-radius: 0; }
.pv2 legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; color: var(--pv-ink); font-family: var(--pv-display); font-size: 16px; font-weight: 650; }
.pv2 legend + * { clear: both; }
.pv2 .field { margin: 0; }
.pv2 .field label { display: block; margin: 0 0 8px; }

/* disclosures: raised small summaries with a teal chevron; an open one is pressed */
.pv2 details > summary { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-display); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: var(--pv-raise-sm); cursor: pointer; list-style: none; }
.pv2 details > summary::-webkit-details-marker { display: none; }
.pv2 details > summary::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--pv-teal); -webkit-mask: var(--pv-chevron) center / contain no-repeat; mask: var(--pv-chevron) center / contain no-repeat; transition: transform .2s var(--pv-ease); }
.pv2 details[open] > summary { box-shadow: var(--pv-press); }
.pv2 details[open] > summary::before { transform: rotate(90deg); }
.pv2 details > summary:hover { color: var(--pv-teal); }
.pv2 details > :not(summary) { margin-top: 14px; }
.pv2 details { margin: 18px 0; }

/* ---- messages: pressed wells; alert red is text and icon, never a fill ---- */
.pv2 .error, .pv2 .notice, .pv2 .command-result, .pv2 .guard-banner, .pv2 .preview-box, .pv2 .partner-message, .pv2 .partner-review-copy, .pv2 .p04-msg:not(:empty) { position: relative; margin: 14px 0; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-press); font-size: 16px; }
.pv2 .error, .pv2 .command-result.bad, .pv2 .preview-box.bad, .pv2 .p04-msg[data-tone=error] { padding-left: 48px; color: var(--pv-alert); font-weight: 600; }
.pv2 .error::before, .pv2 .command-result.bad::before, .pv2 .preview-box.bad::before, .pv2 .p04-msg[data-tone=error]::before { content: ""; position: absolute; left: 18px; top: 15px; width: 20px; height: 20px; background: var(--pv-alert); -webkit-mask: var(--pv-alert-icon) center / contain no-repeat; mask: var(--pv-alert-icon) center / contain no-repeat; }
.pv2 .notice.warn, .pv2 .guard-banner.warn { color: var(--pv-warn); font-weight: 600; }
.pv2 .empty { padding: 34px 16px; color: var(--pv-ink2); font-size: 16px; text-align: center; }
.pv2 .loading { padding: 34px 4px; color: var(--pv-ink2); }

/* state words: a pressed pill whose colour carries the meaning */
.pv2 .badge, .pv2 span.status, .pv2 .role, .pv2 .p04-pill, .pv2 .p04-inbox > button .p04-state { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px; border: 0; border-radius: 999px; background: var(--pv-base); color: var(--pv-ink2); font-family: var(--pv-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; white-space: nowrap; box-shadow: var(--pv-press-sm); }
.pv2 .badge.confirmed, .pv2 .badge.paid, .pv2 .badge.completed, .pv2 span.status.ok, .pv2 .calendar-arrival { color: var(--pv-teal); }
.pv2 .badge.pending_payment, .pv2 .badge.processing, .pv2 span.status.warn { color: var(--pv-warn); }
.pv2 .badge.cancelled, .pv2 span.status.bad, .pv2 .p04-inbox > button .p04-state.is-off { color: var(--pv-alert); }
.pv2 .calendar-return { color: var(--pv-ink); }
.pv2 .nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--pv-teal); color: #fff; font-family: var(--pv-display); font-size: 12px; font-weight: 700; box-shadow: none; }

/* ---- the frame: pass-coloured header with a hairline, a rail of raised pills ---- */
.pv2 .topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; margin: 0; padding: 0 28px; background: var(--pv-base); color: var(--pv-ink); border-bottom: 1px solid var(--pv-line); box-shadow: none; }
.pv2 .topbar > div:first-child, .pv2 .topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pv2 .topbar-right, .pv2 .topbar-actions { display: flex; align-items: center; gap: 12px; color: var(--pv-ink2); font-size: 15px; font-weight: 600; }
.pv2 .topbar button, .pv2 .topbar .button { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.pv2 .lang-toggle { display: inline-flex; gap: 0; padding: 4px; border-radius: 999px; background: var(--pv-base); box-shadow: var(--pv-press-sm); }
.pv2 .lang-toggle button { min-width: 44px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: transparent; color: var(--pv-ink2); box-shadow: none; font-size: 13px; }
.pv2 .lang-toggle button[aria-pressed=true] { background: var(--pv-base); color: var(--pv-teal); box-shadow: var(--pv-raise-sm); }
.pv2 .layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 73px); background: var(--pv-base); }
.pv2 aside, .pv2 .nav { position: sticky; top: 73px; align-self: start; max-height: calc(100vh - 73px); overflow: auto; padding: 28px 12px 28px 24px; border: 0; background: transparent; }
.pv2 aside .field { margin: 0 0 22px; }
.pv2 aside nav, .pv2 .nav { display: grid; gap: 12px; }
.pv2 aside nav a, .pv2 .nav button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 10px 16px; border-radius: 14px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-text); font-size: 16px; font-weight: 600; line-height: 1.25; text-align: left; text-decoration: none; box-shadow: var(--pv-raise-sm); transition: box-shadow .2s var(--pv-ease), color .2s var(--pv-ease); }
.pv2 aside nav a:hover, .pv2 .nav button:hover { background: var(--pv-base); color: var(--pv-teal); }
.pv2 aside nav a[aria-current=page], .pv2 .nav button[aria-current=true] { background: var(--pv-base); color: var(--pv-teal); font-weight: 700; box-shadow: var(--pv-press); }
.pv2 .nav button:active { box-shadow: var(--pv-press); }
.pv2 main.workspace, .pv2 .content { width: 100%; max-width: 1280px; min-width: 0; margin: 0 auto; padding: 34px 34px 72px; box-sizing: border-box; }
.pv2 .heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 26px; }
.pv2 .heading-row h2 { margin: 0; }
.pv2 .content > h1 { margin: 0; }
.pv2 .back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 20px; padding: 0 16px; border-radius: 999px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-display); font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: var(--pv-raise-sm); }
.pv2 .back-link::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--pv-back) center / contain no-repeat; mask: var(--pv-back) center / contain no-repeat; }
.pv2 .back-link:hover { color: var(--pv-teal); }
.pv2 .back-link:active { box-shadow: var(--pv-press); }

/* ---- cards: the same material, raised by its shadow; no borders, no white fills ---- */
.pv2 .panel, .pv2 .login-card, .pv2 .boot-card, .pv2 .modal { border: 0; border-radius: 22px; background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-raise-card); }
.pv2 .panel { margin: 0 0 28px; padding: 26px 28px; }
.pv2-admin .panel { padding: 0; overflow: hidden; }
.pv2 .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 24px 28px 6px; border: 0; background: transparent; }
.pv2 .panel-head h2 { margin: 0; }
.pv2 .panel-body { padding: 14px 28px 26px; }
.pv2 .check-panel .panel-head { background: transparent; }
.pv2 .grid2, .pv2 .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0 0 28px; }
.pv2 .grid2 > .panel, .pv2 .details > .panel { margin: 0; }

/* ---- signature: counts and amounts on a stub (main part with the label, perforation, the number) ---- */
.pv2 .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin: 0 0 30px; }
.pv2 .metric, .pv2 .cards > .card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label stub" "note stub"; align-items: center; min-height: 92px; margin: 0; padding: 0; border: 0; border-radius: 20px; background: var(--pv-base); box-shadow: var(--pv-raise-card); overflow: hidden; }
.pv2 .metric:first-child { border-top: 0; }
.pv2 .metric > span, .pv2 .cards > .card > span { grid-area: label; align-self: end; margin: 0; padding: 18px 16px 0 22px; color: var(--pv-ink2); font-family: var(--pv-text); font-size: 15px; font-weight: 600; line-height: 1.3; }
.pv2 .metric > span { align-self: center; padding-bottom: 18px; grid-row: 1 / 3; }
.pv2 .cards > .card > small { grid-area: note; align-self: start; display: block; margin: 0; padding: 4px 16px 18px 22px; color: var(--pv-warn); font-size: 13px; font-weight: 600; }
.pv2 .cards > .card:not(:has(small)) > span { grid-row: 1 / 3; align-self: center; padding-bottom: 18px; }
.pv2 .metric > strong, .pv2 .cards > .card > strong { grid-area: stub; position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; min-width: 86px; margin: 0; padding: 16px 22px 16px 20px; border-left: 2px dashed var(--pv-perf); color: var(--pv-ink); font-family: var(--pv-display); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.pv2 .cards > .card > strong { font-size: 24px; }
.pv2 .metric > strong::before, .pv2 .metric > strong::after, .pv2 .cards > .card > strong::before, .pv2 .cards > .card > strong::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--pv-base); box-shadow: var(--pv-notch); }
.pv2 .metric > strong::before, .pv2 .cards > .card > strong::before { top: -12px; }
.pv2 .metric > strong::after, .pv2 .cards > .card > strong::after { bottom: -12px; }

/* ---- data shown back sits in a pressed well, rows split by dashed rules ---- */
.pv2 dl.facts, .pv2 .detail-list { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); gap: 0; margin: 0; padding: 4px 22px; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-press); }
.pv2 dl.facts dt, .pv2 dl.facts dd, .pv2 .detail-list dt, .pv2 .detail-list dd { margin: 0; padding: 12px 0; border-bottom: 1px dashed var(--pv-rule); }
.pv2 dl.facts dt:last-of-type, .pv2 dl.facts dd:last-of-type, .pv2 .detail-list dt:last-of-type, .pv2 .detail-list dd:last-of-type { border-bottom: 0; }
.pv2 dl.facts dt, .pv2 .detail-list dt { align-self: start; color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; padding-top: 14px; overflow-wrap: anywhere; hyphens: auto; } /* R36: long German labels such as "Fahrzeuglageradresse" wrap inside their column */
.pv2 dl.facts dd, .pv2 .detail-list dd { padding-left: 16px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.pv2 .details h3 { margin: 20px 0 10px; }

/* ---- tables and booking rows ---- */
.pv2 .table-wrap { overflow: auto; margin: 0 0 6px; }
.pv2 .table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pv2 .table th { padding: 12px 14px; border-bottom: 2px dashed var(--pv-perf); background: transparent; color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.pv2 .table td { padding: 14px; border-bottom: 1px dashed var(--pv-rule); color: var(--pv-ink); vertical-align: middle; }
.pv2 .table tr:last-child > td { border-bottom: 0; }
.pv2 .table th:first-child, .pv2 .table td:first-child { padding-left: 28px; }
.pv2 .table th:last-child, .pv2 .table td:last-child { padding-right: 28px; }
.pv2 .table tbody tr:hover > td { background: rgba(255, 255, 255, .32); }
.pv2 .table small { color: var(--pv-ink2); font-size: 13px; }
.pv2 .table .total-row td, .pv2 .billing-table .total-row td { border-top: 2px dashed var(--pv-perf); font-family: var(--pv-display); font-weight: 700; }
.pv2 .table tr.is-open > td { background: #dfe6ef; }
.pv2 .table tr.inline-detail > td { padding: 0 0 18px; background: #dfe6ef; border-bottom: 2px dashed var(--pv-perf); }
.pv2 .table tbody tr.inline-detail:hover > td { background: #dfe6ef; }
.pv2 .inline-detail-box { padding: 16px 24px 0; }
.pv2 .inline-detail-box > .panel, .pv2 .inline-detail-box > section, .pv2 .inline-detail-box .panel { margin: 0 0 4px; padding: 0 0 18px; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.pv2 .inline-detail-box > .panel .panel-head, .pv2 .inline-detail-box > section .panel-head { padding: 4px 0 6px; }
.pv2 .inline-detail-box > .panel .panel-body, .pv2 .inline-detail-box > section .panel-body { padding: 10px 0 0; }
.pv2 .booking-head { display: grid; padding: 0 0 12px; border-bottom: 2px dashed var(--pv-perf); color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pv2 .booking-row { padding: 16px 0; border-top: 0; border-bottom: 1px dashed var(--pv-rule); }
.pv2 .booking-row:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.pv2 .booking-row a, .pv2 .calendar-booking a { color: var(--pv-teal); font-family: var(--pv-display); font-size: 16px; font-weight: 650; text-decoration: none; }
.pv2 .booking-row a:hover, .pv2 .calendar-booking a:hover { text-decoration: underline; }
.pv2 .booking-row small, .pv2 .calendar-booking small { display: block; margin-top: 3px; color: var(--pv-ink2); font-size: 14px; }
.pv2 .booking-row .vehicle { font-family: var(--pv-display); font-size: 15px; font-weight: 650; }
.pv2 .booking-row time, .pv2 .calendar-booking time { font-family: var(--pv-display); font-size: 15px; font-weight: 500; }
.pv2 .booking-row .status { display: flex; align-items: center; gap: 10px; }
.pv2 .booking-row .cell-label { color: var(--pv-ink2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pv2 .booking-row .status .protocol-link { width: 36px; height: 36px; border-radius: 12px; background: var(--pv-base); color: var(--pv-teal); box-shadow: var(--pv-raise-sm); }
.pv2 .booking-row .status .protocol-link:hover { background: var(--pv-base); color: var(--pv-teal2); }
.pv2 .booking-row .status .protocol-link:active { box-shadow: var(--pv-press); }
.pv2 .pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 22px 0 0; color: var(--pv-ink2); font-family: var(--pv-display); font-size: 15px; font-weight: 600; }
.pv2 .pagination button { min-height: 40px; }
.pv2 .filters { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(120px, 1fr)); gap: 18px 20px; align-items: end; }
.pv2 .filters label { display: block; margin: 0 0 8px; }
.pv2 .filters .submit button { width: 100%; }
.pv2 .toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 16px; margin: 0 0 18px; }

/* the booking detail: the booking number on its own stub, as on the traveller's issued pass */
.pv2 .booking-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); padding: 0; overflow: hidden; }
.pv2 .booking-pass-main { align-self: center; padding: 24px 28px; }
.pv2 .booking-pass-main p { margin: 0 0 14px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 18px; font-weight: 650; }
.pv2 .booking-pass-stub { position: relative; display: flex; flex-direction: column; border-left: 2px dashed var(--pv-perf); }
.pv2 .booking-pass-stub::before, .pv2 .booking-pass-stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--pv-base); box-shadow: var(--pv-notch); }
.pv2 .booking-pass-stub::before { top: -12px; }
.pv2 .booking-pass-stub::after { bottom: -12px; }
.pv2 .booking-pass-stub span { padding: 12px 24px; background: var(--pv-teal); color: #fff; font-family: var(--pv-display); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.pv2 .booking-pass-stub strong { flex: 1; display: flex; align-items: center; padding: 18px 24px 22px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 26px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.pv2 .toolbar .protocol-button { min-height: 44px; padding: 0 18px; border-radius: 14px; background: var(--pv-teal); color: #fff; font-family: var(--pv-display); font-size: 15px; font-weight: 600; box-shadow: var(--pv-lift); }
.pv2 .toolbar .protocol-button:hover { background: var(--pv-teal2); color: #fff; }
.pv2 .toolbar .protocol-button:active { box-shadow: var(--pv-down); }

/* ---- login and dialogs ---- */
.pv2 .login-card, .pv2 .boot-card { width: min(460px, calc(100% - 32px)); margin: 9vh auto; padding: 34px 32px 32px; box-sizing: border-box; border-radius: 24px; }
.pv2 .login-card .heading-row { margin: 0 0 28px; }
.pv2 .login-card h1 { margin: 26px 0 8px; font-size: 28px; }
.pv2 .login-card .heading-row + h1 { margin-top: 0; }
.pv2 .login-card .field { margin-top: 20px; }
.pv2 .login-card button[type=submit], .pv2 .login-card .button { width: 100%; min-height: 52px; margin-top: 26px; font-size: 16px; }
.pv2 .login-card .brand small { display: block; }
.pv2 .modal-backdrop { background: rgba(20, 40, 75, .38); }
.pv2 .modal { width: min(470px, 100%); padding: 28px; border-radius: 24px; box-shadow: -8px -8px 18px rgba(255, 255, 255, .5), 16px 22px 40px rgba(20, 40, 75, .26); }
.pv2 .modal p { color: var(--pv-ink2); }
.pv2 .modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* ---- partner: overview, prices, details, payout, company ---- */
.pv2 [data-overview-status] h2 { margin-bottom: 12px; }
.pv2 .service-states { display: grid; gap: 0; margin: 0; padding: 4px 22px; list-style: none; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-press); }
.pv2 .service-states li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 14px 0; border: 0; border-bottom: 1px dashed var(--pv-rule); border-radius: 0; background: transparent; }
.pv2 .service-states li:last-child { border-bottom: 0; }
.pv2 .service-states strong { min-width: 74px; font-family: var(--pv-display); font-size: 16px; }
.pv2 .service-states .state-label { display: inline-flex; align-items: center; gap: 9px; flex: 1 1 200px; color: var(--pv-ink); font-weight: 600; }
.pv2 .service-states .state-label::before, .pv2 .p04-status strong::before, .pv2 .p03-state::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--pv-warn); }
.pv2 .service-states li[data-tone=ok] .state-label::before, .pv2 .p04-status[data-tone=ok] strong::before, .pv2 .p03-state[data-tone=ok]::before { background: var(--pv-teal); }
.pv2 .service-states li[data-tone=info] .state-label::before, .pv2 .p04-status[data-tone=info] strong::before, .pv2 .p03-state[data-tone=info]::before { background: #3f6fa8; }
.pv2 .service-states li[data-tone=danger] .state-label::before, .pv2 .p04-status[data-tone=danger] strong::before { background: var(--pv-alert); }
.pv2 [data-overview-status] a, .pv2 #today-list { display: inline-flex; align-items: center; gap: 6px; font-family: var(--pv-display); font-size: 15px; font-weight: 600; text-decoration: none; }
.pv2 .service-switch { display: flex; align-items: center; gap: 14px; max-width: 360px; margin: 0 0 26px; }
.pv2 .service-switch select { flex: 1; }
.pv2 .service-address { margin: 0 0 18px; padding: 0; border: 0; color: var(--pv-ink2); font-size: 16px; }
.pv2 .service-address strong { color: var(--pv-ink); font-family: var(--pv-display); font-weight: 650; }
.pv2 .service-address small { color: var(--pv-ink2); font-size: 14px; }
.pv2 .plain-list { margin: 0; padding: 4px 22px; list-style: none; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-press); }
.pv2 .plain-list li { margin: 0; padding: 12px 0; border-bottom: 1px dashed var(--pv-rule); }
.pv2 .plain-list li:last-child { border-bottom: 0; }
.pv2 #p02-payout form, .pv2 #p02-base-change { display: grid; gap: 18px; max-width: 640px; }
.pv2 #p02-payout form label:not(.check), .pv2 #p02-base-change label:not(:has(input[type=checkbox])) { display: grid; gap: 8px; }
.pv2 #p02-payout form label.check { display: flex; align-items: flex-start; gap: 12px; }
.pv2 #p02-payout form button[type=submit], .pv2 #p02-base-change button[type=submit] { justify-self: start; }
.pv2 [data-payout-current] { padding: 14px 18px; border-radius: 16px; box-shadow: var(--pv-press); font-family: var(--pv-display); font-size: 15px; font-weight: 600; }
.pv2 [data-payout-current] strong[role=alert] { color: var(--pv-alert); }
.pv2 [data-payout-result]:empty, .pv2 [data-result]:empty { display: none; }
.pv2 #p02-base-change fieldset { display: grid; gap: 14px; }
.pv2 #p02-base-change fieldset fieldset { margin: 6px 0 0; }

/* status of a service (P04) and of its prices (P03) */
.pv2 .p04-status { display: grid; gap: 6px; margin: 0 0 24px; padding: 16px 20px; border: 0; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-press); }
.pv2 .p04-status strong { display: flex; align-items: center; gap: 10px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 17px; font-weight: 700; }
.pv2 .p04-status[data-tone=danger] strong { color: var(--pv-alert); }
.pv2 .p04-status span { color: var(--pv-ink2); padding-left: 20px; }
.pv2 .p04-status[data-tone], .pv2 .p04-status[data-tone=ok], .pv2 .p04-status[data-tone=info], .pv2 .p04-status[data-tone=warn], .pv2 .p04-status[data-tone=danger] { border: 0; background: var(--pv-base); color: var(--pv-ink); }
.pv2 .p03-state, .pv2 .p03-state[data-tone] { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-press); font-weight: 600; }
.pv2 .p03-workspace [data-status]:not(:empty), .pv2 .p04-msg:not(:empty) { border: 0; background: var(--pv-base); font-weight: 600; }
.pv2 .p03-workspace [data-status][data-tone=ok], .pv2 .p04-msg[data-tone=ok] { color: var(--pv-teal); }
.pv2 .p03-workspace [data-status][data-tone=warn], .pv2 .p04-msg[data-tone=warn] { color: var(--pv-warn); }
.pv2 .p03-workspace [data-status][data-tone=error] { padding-left: 48px; color: var(--pv-alert); }
.pv2 .p03-workspace [data-status][data-tone=error]::before { content: ""; position: absolute; left: 18px; top: 15px; width: 20px; height: 20px; background: var(--pv-alert); -webkit-mask: var(--pv-alert-icon) center / contain no-repeat; mask: var(--pv-alert-icon) center / contain no-repeat; }
.pv2 .p03-workspace [data-status] { position: relative; border-radius: 16px; box-shadow: var(--pv-press); }
.pv2 .p03-workspace [data-status]:empty { box-shadow: none; }
.pv2 .p04-msg { border-radius: 16px; }
.pv2 .p04-msg p { margin: 0; font-weight: 700; }
.pv2 .p04-msg ul { margin: 8px 0 0; padding-left: 20px; color: var(--pv-ink); font-weight: 500; }
.pv2 .p04-msg .p04-jump { margin-top: 12px; }
.pv2 .p03-workspace, .pv2 .p04-panel { margin: 0; padding: 0; border: 0; }
.pv2 .p03-intro { margin: 0 0 6px; color: var(--pv-ink2); }
.pv2 .p03-workspace fieldset { padding: 18px 0 0; border: 0; border-top: 1px dashed var(--pv-rule); border-radius: 0; }
.pv2 .p03-workspace label, .pv2 .p04-panel label:not(.p04-check) { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pv2 .p03-prices { gap: 14px 12px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.pv2 .p03-prices input { min-height: 42px; padding: 8px 10px; font-family: var(--pv-display); font-size: 15px; }
.pv2 .p03-workspace legend, .pv2 .p03-special-head h4, .pv2 .pl-label { display: flex; flex-wrap: wrap; align-items: center; }
.pv2 .p03-workspace fieldset > legend ~ * { clear: both; }
/* R25 (owner 2026-10-19): compact month calendar; a day without tick is closed */
.pv2 .p03-cal { max-width: 420px; }
.pv2 .p03-weekdays { gap: 6px; margin: 12px 0 6px; color: var(--pv-ink2); font-family: var(--pv-text); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pv2 .p03-calendar { gap: 6px; margin: 0 0 12px; }
.pv2 .p03-workspace .p03-calendar label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0 4px; border: 0; border-radius: 10px; background: var(--pv-base); font-family: var(--pv-display); font-size: 14px; font-weight: 650; line-height: 1.2; box-shadow: var(--pv-raise-sm); cursor: pointer; }
.pv2 .p03-calendar input[type=checkbox] { width: 18px; height: 18px; margin: 0; border-radius: 5px; background-size: 12px 12px; }
.pv2 .p03-calendar .p03-closed { box-shadow: var(--pv-press-sm); color: var(--pv-alert); text-decoration: line-through; }
.pv2 .p03-calendar .p03-past { box-shadow: none; opacity: .5; cursor: default; }
.pv2 .p03-month { gap: 12px; margin: 4px 0; }
.pv2 .p03-month strong { min-width: 150px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 15px; }
.pv2 button.p03-nav { width: 40px; min-width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 12px; }
.pv2 button.p03-nav::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--pv-chevron) center / contain no-repeat; mask: var(--pv-chevron) center / contain no-repeat; transform: rotate(180deg); }
.pv2 button.p03-nav.p03-next::before { transform: none; }
.pv2 .p03-legend { gap: 6px 12px; margin: 0; color: var(--pv-ink2); font-size: 14px; }
.pv2 .p03-key { width: 16px; height: 16px; border: 0; border-radius: 5px; background: var(--pv-base); box-shadow: var(--pv-raise-sm); }
.pv2 .p03-key-open { background: var(--pv-base) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.4-7' fill='none' stroke='%230b6e70' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pv2 .p03-key-closed { box-shadow: var(--pv-press-sm); }
.pv2 .p03-hours, .pv2 .p03-range { gap: 16px; margin: 14px 0; }
.pv2 .p03-hours label { max-width: 220px; }
/* R25: one raised box per set of special prices */
.pv2 .p03-special-head h4 { margin: 26px 0 4px; color: var(--pv-ink); font-family: var(--pv-display); font-size: 16px; font-weight: 650; }
.pv2 .p03-workspace fieldset.p03-special { margin: 14px 0; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-raise-sm); }
.pv2 .p03-workspace .p03-switch { flex-direction: row; align-items: center; gap: 10px; width: fit-content; }
.pv2 .p03-special .p03-range:last-child { border-bottom: 0; }
.pv2 .p03-remove { gap: 12px; }
/* "!" explanations (R25): a small raised button; the text opens below in a pressed well */
.pv2 button.pl-tip { width: 22px; min-width: 22px; height: 22px; min-height: 0; margin: 0 0 0 10px; padding: 0; border-radius: 50%; background: var(--pv-base); color: var(--pv-teal); font-family: var(--pv-display); font-size: 13px; font-weight: 800; box-shadow: var(--pv-raise-sm); }
.pv2 button.pl-tip:hover { background: var(--pv-base); color: var(--pv-teal2); }
.pv2 button.pl-tip[aria-expanded=true] { box-shadow: var(--pv-press-sm); }
.pv2 .pl-tip-text { flex: 0 0 100%; max-width: none; box-sizing: border-box; margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--pv-base); box-shadow: var(--pv-press-sm); color: var(--pv-ink); font-family: var(--pv-text); font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.pv2 .p03-range { padding: 14px 0; border-bottom: 1px dashed var(--pv-rule); }
.pv2 .p03-actions, .pv2 .p04-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; margin: 28px 0 0; padding: 22px 0 0; border-top: 2px dashed var(--pv-perf); }
.pv2 .p03-actions button, .pv2 .p04-actions button { min-height: 50px; min-width: 190px; font-size: 16px; }
.pv2 .p04-grid { gap: 18px 20px; }
.pv2 .p04-panel details, .pv2 .p04-panel fieldset { margin: 18px 0 0; }
.pv2 .p04-panel h3 { margin: 30px 0 14px; font-size: 18px; }
.pv2 .p04-panel form > h3:first-child { margin-top: 6px; }
.pv2 .p04-panel .p04-check { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; }
.pv2 [data-p04-gallery-section] { margin: 30px 0 0; padding: 22px 0 0; border-top: 1px dashed var(--pv-rule); }
.pv2 [data-p04-gallery-section] > h3 { margin-top: 0; }
.pv2 [data-p04-gallery-section] > button { margin-top: 16px; }
.pv2 .p04-gallery-item { grid-template-columns: 120px repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; padding: 14px; border: 0; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-raise-sm); }
.pv2 .p04-gallery-item img { width: 120px; height: 84px; border-radius: 12px; }
.pv2 .p04-gallery-item button { min-height: 40px; }
.pv2 .p04-file-preview { border: 2px dashed var(--pv-perf); border-radius: 16px; padding: 12px; }
.pv2 .p04-file-preview[data-state=invalid] { border-color: var(--pv-alert); background: transparent; color: var(--pv-alert); }
.pv2 .p04-file-preview img { border-radius: 12px; }
.pv2 .p04-panel label.p04-missing { color: var(--pv-alert); }
.pv2 .p04-panel .p04-field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.pv2 .p04-panel .p04-field.p04-missing label { color: var(--pv-alert); }
.pv2 .p04-missing-note { color: var(--pv-alert); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.pv2 [data-p04-gallery-section].p04-missing { outline: 2px solid var(--pv-alert); outline-offset: 10px; border-radius: 16px; }

/* ---- partner: booking calendar ---- */
.pv2 .calendar-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; }
.pv2 .calendar-controls > div { min-width: 170px; }
.pv2 .calendar-controls label { display: block; margin: 0 0 8px; }
.pv2 .calendar-range { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.pv2 .calendar-range h2 { margin: 0; text-align: center; }
.pv2 .calendar-range .icon-prev, .pv2 .calendar-range .icon-next { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.pv2 .calendar-legend, .pv2 .calendar-basis { color: var(--pv-ink2); font-size: 14px; }
.pv2 .calendar-legend { text-align: center; margin: 0 0 12px; }
.pv2 .calendar-grid { gap: 10px; margin: 0; }
.pv2 .calendar-weekday { color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.pv2 .calendar-day { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; min-height: 92px; padding: 10px 12px; border: 0; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); text-align: left; box-shadow: var(--pv-raise-sm); }
.pv2 .calendar-day:hover { background: var(--pv-base); color: var(--pv-teal); }
.pv2 .calendar-day[aria-pressed=true] { box-shadow: var(--pv-press); color: var(--pv-teal); }
.pv2 .calendar-day.has-conflict { box-shadow: var(--pv-raise-sm), inset 0 0 0 2px var(--pv-alert); }
.pv2 .calendar-day.has-conflict[aria-pressed=true] { box-shadow: var(--pv-press), inset 0 0 0 2px var(--pv-alert); }
.pv2 .calendar-day strong { font-family: var(--pv-display); font-size: 18px; font-weight: 700; color: inherit; }
.pv2 .calendar-flows, .pv2 .calendar-peak { color: var(--pv-ink2); font-family: var(--pv-text); font-size: 13px; font-weight: 600; }
.pv2 .calendar-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 4px 0 26px; padding: 0; border: 0; border-radius: 18px; box-shadow: var(--pv-press); }
.pv2 .calendar-metrics > div { padding: 16px 20px; border-left: 1px dashed var(--pv-rule); }
.pv2 .calendar-metrics > div:first-child { border-left: 0; }
.pv2 .calendar-metrics span { color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pv2 .calendar-metrics strong { margin-top: 6px; font-family: var(--pv-display); font-size: 26px; font-weight: 700; }
.pv2 .calendar-booking { gap: 16px; padding: 16px 0; border-top: 1px dashed var(--pv-rule); }
.pv2 .calendar-tags { gap: 6px; }

/* ---- admin: lists, billing, publication review, all bookings ---- */
.pv2 .todo-list, .pv2 .check-list, .pv2 .svc-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pv2 .todo-list li, .pv2 .svc-list li { padding: 14px 0; border-bottom: 1px dashed var(--pv-rule); }
.pv2 .todo-list li:last-child, .pv2 .svc-list li:last-child { border-bottom: 0; }
.pv2 .todo-list li span:nth-child(2) { font-weight: 600; }
.pv2 .todo-list .link-button, .pv2 .panel-head .link-button { display: inline-flex; align-items: center; gap: 6px; }
.pv2 .check-list { gap: 12px; }
.pv2 .check-list li { position: relative; padding: 14px 18px 14px 50px; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-press); }
.pv2 .check-list li::before { content: ""; position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; background: var(--pv-alert); -webkit-mask: var(--pv-alert-icon) center / contain no-repeat; mask: var(--pv-alert-icon) center / contain no-repeat; }
.pv2 .check-list li strong { font-family: var(--pv-display); }
.pv2 .check-list li div { color: var(--pv-alert); font-weight: 600; }
.pv2 .month-picker { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 20px; margin: 0 0 26px; }
.pv2 .month-picker label { display: grid; gap: 8px; }
.pv2 .month-picker input { width: auto; margin: 0; }
.pv2 .month-picker strong { padding-bottom: 10px; font-family: var(--pv-display); font-size: 20px; }
.pv2 .commission-box { margin: 26px 0 0; padding: 22px 0 0; border: 0; border-top: 2px dashed var(--pv-perf); border-radius: 0; background: transparent; }
.pv2 .commission-box h3 { margin: 0 0 10px; }
.pv2 .commission-box select { width: auto; }
.pv2 .action-form { gap: 16px 18px; }
.pv2 .action-form .field label, .pv2 .action-form label { display: block; margin: 0 0 8px; }
.pv2 .base-change { padding: 18px 0; border-top: 1px dashed var(--pv-rule); }
.pv2 .partner-filter { color: var(--pv-ink2); font-size: 15px; }
.pv2 .partner-filter select { width: auto; }
.pv2 .partner-actions { gap: 12px; }
.pv2 .activation-copy input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.pv2 .partner-review-media figure { border: 0; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-raise-sm); }
.pv2 .partner-review-media img { border-radius: 18px 18px 0 0; background: var(--pv-row); }
.pv2 .partner-review-media figcaption span { color: var(--pv-ink2); font-size: 13px; }
.pv2 .p04-inbox { gap: 12px; }
.pv2 .p04-inbox > button { justify-content: flex-start; min-height: 56px; padding: 12px 18px; border: 0; border-radius: 16px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-text); font-size: 16px; font-weight: 500; text-align: left; box-shadow: var(--pv-raise-sm); }
.pv2 .p04-inbox > button strong { font-family: var(--pv-display); font-weight: 650; }
.pv2 .p04-inbox > button:hover { background: var(--pv-base); color: var(--pv-teal); border: 0; }
.pv2 .p04-inbox > button[aria-expanded=true] { outline: 0; box-shadow: var(--pv-press); color: var(--pv-teal); }
.pv2 .p04-inbox > [data-p04-review-panel] { margin: 4px 0 14px; }
.pv2 .p04-card, .pv2 .p04-availability { border: 0; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-press); padding: 16px 20px; }
.pv2 .p04-availability.is-offline h3 { color: var(--pv-alert); }
.pv2 .p04-live { border: 2px dashed var(--pv-perf); border-radius: 14px; background: transparent; }
.pv2 .p04-admin dt, .pv2 .p04-card .p04-pairs dt { color: var(--pv-ink2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pv2 .p04-admin dd { color: var(--pv-ink); }
.pv2 .p04-admin .p04-facts > div { border-left: 0; padding-left: 0; }
.pv2 .p04-copy-table th, .pv2 .p04-copy-table td { border-top: 1px dashed var(--pv-rule); }
.pv2 .p04-copy-table thead th { color: var(--pv-ink2); font-size: 12px; letter-spacing: .08em; }
.pv2 .p04-review-gallery img { border-radius: 12px; }
.pv2 .ab-chips { gap: 10px; margin: 0 0 18px; }
.pv2 .ab-chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--pv-base); color: var(--pv-ink2); font-family: var(--pv-text); font-size: 15px; font-weight: 600; box-shadow: var(--pv-raise-sm); }
.pv2 .ab-chips button:hover { background: var(--pv-base); color: var(--pv-teal); }
.pv2 .ab-chips button[aria-pressed=true], .pv2 .ab-chips .ab-hidden-chip[aria-pressed=true] { background: var(--pv-base); color: var(--pv-teal); box-shadow: var(--pv-press); }
.pv2 .ab-chips button span { min-width: 22px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--pv-base); color: var(--pv-ink); font-family: var(--pv-display); font-size: 12px; font-weight: 700; box-shadow: var(--pv-press-sm); }
.pv2 .ab-chips .ab-hidden-chip { background: var(--pv-base); color: var(--pv-ink2); }
.pv2 .ab-hidden-tag { background: var(--pv-base); color: var(--pv-ink2); box-shadow: var(--pv-press-sm); }
.pv2 .ab-filters button, .pv2 .ab-detail .panel-head button, .pv2 #ab-contact, .pv2 #ab-more, .pv2 .ab-bulk button, .pv2 .ab-detail .ab-action button { min-height: 44px; padding: 0 18px; border-radius: 14px; background: var(--pv-teal); color: #fff; font-family: var(--pv-display); font-size: 15px; font-weight: 600; box-shadow: var(--pv-lift); }
.pv2 .ab-filters button.secondary, .pv2 .ab-detail .panel-head button.secondary, .pv2 #ab-more.secondary, .pv2 .ab-bulk button.secondary, .pv2 .ab-detail .ab-action button.secondary { background: var(--pv-base); color: var(--pv-ink); box-shadow: var(--pv-raise-sm); }
.pv2 .ab-detail .ab-action button.ab-danger { background: var(--pv-base); color: var(--pv-alert); box-shadow: var(--pv-raise-sm); }
.pv2 .ab-bulk button:disabled, .pv2 .ab-detail .ab-action button:disabled { background: var(--pv-teal-off); color: #fff; box-shadow: none; opacity: 1; }
.pv2 .ab-bulk button.secondary:disabled, .pv2 .ab-detail .ab-action button.secondary:disabled, .pv2 .ab-detail .ab-action button.ab-danger:disabled { background: var(--pv-base); color: #8a97ab; box-shadow: var(--pv-press-sm); }
.pv2 .ab-table tr[aria-selected=true] td { background: #dfe6ef; }
.pv2 .ab-action { border: 0; border-radius: 18px; background: var(--pv-base); box-shadow: var(--pv-press); }
.pv2 .ab-action p, .pv2 .ab-bulk p { color: var(--pv-ink2); }
.pv2 .ab-note { color: var(--pv-warn); }
.pv2 .ab-select input { width: 22px; height: 22px; }

/* ---- motion: state only, and none when reduced ---- */
@media (prefers-reduced-motion: reduce) {
  .pv2 *, .pv2 *::before, .pv2 *::after { transition: none !important; }
}

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .pv2 main.workspace, .pv2 .content { padding: 28px 26px 64px; }
  .pv2 .layout { grid-template-columns: 220px minmax(0, 1fr); }
  .pv2 .details, .pv2 .grid2 { grid-template-columns: minmax(0, 1fr); }
  .pv2 .filters { grid-template-columns: 1fr 1fr; }
  .pv2 .booking-head { display: none; }
  .pv2 .calendar-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv2 .calendar-metrics > div:nth-child(4) { border-left: 0; }
  .pv2 .calendar-metrics > div:nth-child(n+4) { border-top: 1px dashed var(--pv-rule); }
}
@media (max-width: 900px) {
  .pv2 .layout { display: block; min-height: 0; }
  .pv2 aside, .pv2 .nav { position: static; max-height: none; overflow: visible; padding: 16px 16px 6px; border: 0; }
  .pv2 aside nav, .pv2 .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .pv2 aside nav a, .pv2 .nav button { justify-content: center; min-height: 46px; padding: 8px 10px; font-size: 15px; text-align: center; }
  .pv2 .nav button .nav-badge { margin-left: 4px; }
  .pv2 aside .field { margin: 0 0 14px; }
}
@media (max-width: 760px) {
  .pv2 .topbar { flex-wrap: wrap; min-height: 64px; padding: 10px 16px; gap: 10px; }
  .pv2 .brand { font-size: 21px; }
  .pv2 .pl-mark { width: 28px; height: 28px; }
  .pv2 .brand small, .pv2 .topbar > div:first-child > small { max-width: 150px; padding-left: 10px; font-size: 14px; }
  .pv2 .topbar-right, .pv2 .topbar-actions { gap: 8px; }
  .pv2 .topbar-actions > span { display: none; }
  .pv2 main.workspace, .pv2 .content { padding: 22px 16px 52px; }
  .pv2 h1 { font-size: 26px; }
  .pv2 .heading-row { margin-bottom: 20px; }
  .pv2 .panel { margin-bottom: 22px; padding: 20px 18px; border-radius: 20px; }
  .pv2-admin .panel { padding: 0; }
  .pv2 .panel-head { padding: 20px 18px 4px; }
  .pv2 .panel-body { padding: 12px 18px 20px; }
  .pv2 .table th:first-child, .pv2 .table td:first-child { padding-left: 18px; }
  .pv2 .table th:last-child, .pv2 .table td:last-child { padding-right: 18px; }
  .pv2 .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
  .pv2 .metric, .pv2 .cards > .card { min-height: 76px; border-radius: 18px; }
  .pv2 .metric > strong { font-size: 28px; }
  .pv2 .cards > .card > strong { font-size: 22px; }
  .pv2 dl.facts, .pv2 .detail-list { grid-template-columns: minmax(0, 1fr); padding: 4px 18px; }
  .pv2 dl.facts dt, .pv2 .detail-list dt { padding: 12px 0 0; border-bottom: 0; }
  .pv2 dl.facts dd, .pv2 .detail-list dd { padding: 2px 0 12px; }
  .pv2 .booking-summary { grid-template-columns: minmax(0, 1fr); }
  .pv2 .booking-pass-main { padding: 20px 18px; }
  .pv2 .booking-pass-stub { border-left: 0; border-top: 2px dashed var(--pv-perf); }
  .pv2 .booking-pass-stub::before, .pv2 .booking-pass-stub::after { top: -13px; bottom: auto; }
  .pv2 .booking-pass-stub::before { left: -12px; }
  .pv2 .booking-pass-stub::after { left: auto; right: -12px; }
  .pv2 .booking-pass-stub span { padding: 11px 18px; }
  .pv2 .booking-pass-stub strong { padding: 14px 18px 18px; font-size: 24px; }
  .pv2 .p03-actions, .pv2 .p04-actions { justify-content: stretch; }
  .pv2 .p03-actions button, .pv2 .p04-actions button { flex: 1 1 100%; min-width: 0; }
  .pv2 .p04-gallery-item { grid-template-columns: minmax(0, 1fr); }
  .pv2 .p03-calendar, .pv2 .p03-weekdays { gap: 4px; }
  .pv2 .p03-workspace .p03-calendar label { padding: 4px 0 3px; border-radius: 9px; font-size: 13px; }
  .pv2 .p03-workspace fieldset.p03-special { padding: 14px 12px; }
  .pv2 .p03-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv2 .calendar-grid { gap: 5px; }
  .pv2 .calendar-day { min-height: 74px; padding: 6px 6px; border-radius: 12px; }
  .pv2 .calendar-day strong { font-size: 15px; }
  .pv2 .calendar-flows, .pv2 .calendar-peak { font-size: 11px; }
  .pv2 .calendar-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv2 .calendar-metrics > div { border-left: 0; border-top: 1px dashed var(--pv-rule); }
  .pv2 .calendar-metrics > div:nth-child(-n+2) { border-top: 0; }
  .pv2 .calendar-metrics > div:nth-child(even) { border-left: 1px dashed var(--pv-rule); }
  .pv2 .filters { grid-template-columns: minmax(0, 1fr); }
  .pv2 .filters .range { grid-template-columns: 1fr 1fr; grid-column: auto; }
  .pv2 .service-switch { max-width: none; }
  .pv2 .login-card, .pv2 .boot-card { margin: 24px auto; padding: 26px 20px 24px; border-radius: 20px; }
  .pv2 .modal { padding: 22px 18px; }
}
@media (max-width: 560px) {
  .pv2 aside nav, .pv2 .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv2 .topbar-right, .pv2 .topbar-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 380px) {
  .pv2 .brand small, .pv2 .topbar > div:first-child > small { max-width: 110px; }
  .pv2 .calendar-day { min-height: 66px; padding: 5px 4px; }
}

/* R21 review fixes */
.pv2 .booking-row .status { min-height: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; letter-spacing: 0; text-transform: none; }
.pv2 [data-add-table] { margin-top: 18px; }
.pv2 .table td:first-child { font-family: var(--pv-display); font-size: 14px; font-weight: 600; }
.pv2 .ab-table th, .pv2 .ab-table td { padding: 12px 10px; }
.pv2 .ab-table td { font-size: 14px; }
.pv2 .ab-table th:first-child, .pv2 .ab-table td:first-child { padding-left: 20px; }
.pv2 .ab-table th:last-child, .pv2 .ab-table td:last-child { padding-right: 20px; }
.pv2 .ab-table td:first-child { font-family: var(--pv-text); }
.pv2 .detail-list .detail-list, .pv2 dl.facts dl, .pv2 .detail-list dd > dl { padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pv2 .inline-detail-box > .commission-box { margin: 8px 0 16px; padding: 22px 0 0; border: 0; border-top: 2px dashed var(--pv-perf); border-radius: 0; background: transparent; box-shadow: none; }
.pv2-admin .panel.p04-review { padding: 24px 28px; overflow: visible; }
.pv2 .p04-review-head { gap: 8px 14px; margin-bottom: 16px; }
.pv2 .p04-review-gallery figure { margin: 0 16px 16px 0; }
@media (max-width: 760px) {
  .pv2-admin .panel.p04-review { padding: 20px 18px; }
  .pv2 dl.facts dd, .pv2 .detail-list dd { padding-left: 0; }
}

.pv2 .table, .pv2 .table th, .pv2 .table td { overflow-wrap: normal; word-break: normal; }
.pv2 .table td:first-child { min-width: 150px; }
.pv2 .ab-table td:first-child { min-width: 0; }
.pv2 .panel-head .link-button { white-space: nowrap; }
@media (max-width: 760px) {
  .pv2 .topbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .pv2 .topbar-left, .pv2 .topbar > div:first-child { flex: 1 1 auto; }
  .pv2 .booking-row a { font-size: 15px; white-space: nowrap; }
}

/* R21 finish-review fixes */
.pv2 .table td { font-family: var(--pv-display); font-size: 14px; font-weight: 500; }
.pv2 .table td small, .pv2 .table td .status, .pv2 .table td .subtle { font-family: var(--pv-text); }
.pv2 .table th { font-family: var(--pv-text); font-size: 12px; }
.pv2 .confirm-text { margin: 12px 0 0; color: var(--pv-ink2); font-family: var(--pv-text); font-size: 15px; font-weight: 500; }
.pv2 .booking-row time { white-space: nowrap; }
@media (max-width: 760px) {
  .pv2-admin .table-wrap { overflow: visible; }
  .pv2-admin .table, .pv2-admin .table tbody, .pv2-admin .table tr, .pv2-admin .table td { display: block; width: auto; min-width: 0; }
  .pv2-admin .table thead { display: none; }
  .pv2-admin .table tbody > tr { padding: 12px 18px; border-bottom: 1px dashed var(--pv-rule); }
  .pv2-admin .table tbody > tr:last-child { border-bottom: 0; }
  .pv2-admin .table td, .pv2-admin .table td:first-child, .pv2-admin .table td:last-child { padding: 5px 0; border: 0; white-space: normal; }
  .pv2-admin .table td[data-label], .pv2-admin .table td[data-label]:first-child, .pv2-admin .table td[data-label]:last-child { display: flow-root; padding-left: 140px; }
  .pv2-admin .table td[data-label]::before { float: left; width: 128px; margin: 3px 0 2px -140px; line-height: 1.35; content: attr(data-label); color: var(--pv-ink2); font-family: var(--pv-text); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
  .pv2-admin .table td:empty { display: none; }
  .pv2-admin .table tr.inline-detail, .pv2-admin .table tbody > tr.inline-detail { padding: 0; }
  .pv2-admin .table tr.inline-detail > td { padding: 0 0 14px; }
  .pv2-admin .table .total-row td { border-top: 0; }
  .pv2-admin .table tbody > tr.total-row { border-top: 2px dashed var(--pv-perf); }
  .pv2-admin .ab-select { width: auto; text-align: left; }
  .pv2-admin .ab-table td:nth-child(n) { white-space: normal; }
}

/* R21 verdict fixes */
.pv2 .table tbody tr:hover { background: transparent; }
.pv2 .table tr.inline-detail > td { font-family: var(--pv-text); font-size: 16px; font-weight: 400; }
.pv2 .ab-table th, .pv2 .ab-table td { padding-left: 8px; padding-right: 8px; }
.pv2 .ab-table td { font-size: 13px; }
@media (max-width: 760px) {
  .pv2 .cards > .card > strong { min-width: 150px; }
  .pv2-admin .table tbody > tr.is-open, .pv2-admin .ab-table tbody > tr[aria-selected=true] { background: #dfe6ef; }
  .pv2-admin .table tbody > tr.is-open > td, .pv2-admin .ab-table tr[aria-selected=true] td, .pv2-admin .table tbody tr:hover > td { background: transparent; }
  .pv2-admin .table td .link-button { margin-top: 4px; }
}
.pv2 .ab-table th, .pv2 .ab-table td { padding-left: 6px; padding-right: 6px; }
.pv2 .ab-table th { letter-spacing: .05em; }
.pv2 .ab-table td span.status { padding: 3px 9px; letter-spacing: .04em; }
@media (max-width: 1360px) and (min-width: 761px) {
  .pv2 .ab-table td:nth-child(6), .pv2 .ab-table td:nth-child(7), .pv2 .ab-table td:nth-child(10) { white-space: normal; min-width: 84px; }
}
@media (max-width: 1360px) and (min-width: 1081px) {
  .pv2 .content { padding-left: 26px; padding-right: 26px; }
}
/* slim booking rows (R11b: at most 72px on desktop); readable placeholders; one disabled grey */
.pv2 .booking-row { padding: 11px 0; }
.pv2 .booking-row small { margin-top: 1px; line-height: 1.35; }
.pv2 .booking-row a { line-height: 1.4; }
.pv2 input::placeholder, .pv2 textarea::placeholder { color: var(--pv-ink2); }
.pv2 input:disabled, .pv2 select:disabled, .pv2 textarea:disabled { color: #8a97ab; }
/* long column names wrap instead of widening the table */
.pv2 .table th, .pv2 .services-table th, .pv2 .billing-table th { white-space: normal; vertical-align: bottom; }
/* admin month tickets: four in a row on wide screens, two by two below, one column on phones */
.pv2-admin .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1360px) { .pv2-admin .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pv2-admin .cards { grid-template-columns: minmax(0, 1fr); } }
