/*
  Parktelligence public site: page CSS only where the taste kit says page CSS (inside a visual, a group's
  --p-h, the app frame's recipe) plus the logo's colours. Everything else is the kit (public/assets) and the
  brand block. Product screens are .ui pieces on the kit's fragment tokens (--u-*), set in pt-*.
*/

/* ---------------------------------------------------------------- the logo on light and dark grounds */
:root { --logo-counter: #ffffff; --logo-car: #0b2350; --logo-line3: #0b2350; }
.ground-inverse { --logo-counter: #0b2350; --logo-car: #8ec0ff; --logo-line3: #3d6fd9; --logo-word: #ffffff; }
.nav__logo svg { height: 28px; width: auto; }
.footer__mark svg { height: 34px; width: auto; }
/* a small laptop (1024-1279): the five words, both menus, Log in and the main button do not fit one bar in every
   language, so the bar works as on a tablet: the logo, the main button and the menu button; the words, the menus
   and Log in go to the sheet (the kit's own rules for 1023 and below, repeated for this range) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle {
    display: inline-grid; place-items: center; margin-inline-start: auto; width: 44px; height: 44px; border-radius: var(--r-btn);
    border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; flex: none;
  }
  .nav__bar { gap: var(--s-3); }
  .nav:not(.is-open) .nav__actions { display: flex; margin-inline-start: auto; }
  .nav:not(.is-open) .nav__actions > :not(.btn--primary) { display: none; }
  html .nav:not(.is-open) .nav__actions + .nav__toggle { margin-inline-start: 0; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: fixed; top: var(--nav); left: 0; right: 0; bottom: 0;
    padding: var(--s-4) var(--gut) calc(var(--btn-h) * 2 + 56px); background: var(--bg); overflow-y: auto; gap: 0;
  }
  .nav.is-open .nav__item { display: grid; grid-template-columns: 1fr auto; height: auto; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__link { height: 56px; padding: 0; font-size: 20px; background: none; }
  .nav.is-open .nav__link::before, .nav.is-open .nav__link .chev { display: none; }
  .nav.is-open .nav__expand { display: inline-grid; place-items: center; width: 44px; height: 56px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .nav.is-open .nav__menu { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--s-4); }
  .nav.is-open .nav__item.is-expanded .nav__menu { display: block; }
  .nav.is-open .nav__menu :is(.container, .wrap) { width: 100%; }
  .nav.is-open .menu-card { display: grid; gap: var(--s-1); padding: var(--s-2) 0; }
  .nav.is-open .menu-card .panel { display: none; }
  .nav.is-open .nav__actions {
    display: grid; gap: var(--s-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
    padding: var(--s-4) var(--gut) calc(var(--s-4) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__actions .btn { width: 100%; height: 48px; font-size: var(--t-body); }
  .nav.is-open .nav__actions .nav__link { display: inline-flex; order: 2; justify-content: center; height: var(--btn-h); font-size: var(--t-body); }
  .nav.is-open .pt-ctls { order: 3; justify-content: center; gap: var(--s-4); }
  .nav.is-open .pt-ctl__menu { top: auto; bottom: calc(100% + 6px); right: auto; left: 50%; transform: translateX(-50%); }
}
/* 1280-1439: one bar again, the logo a step smaller, the language menu its globe only, the actions closer */
@media (min-width: 1280px) and (max-width: 1439px) {
  .nav__logo svg { height: 24px !important; width: auto !important; }
  .nav__bar { gap: var(--s-5); }
  .nav__actions { gap: var(--s-2); }
  .nav .pt-ctl__value { display: none; }
}
/* Wordmark sets its size inline; on phones the logo, the main button and the menu button must share 342px; under
   380px the main button moves into the menu sheet */
@media (max-width: 379px) { .nav:not(.is-open) .nav__actions { display: none; } html .nav:not(.is-open) .nav__bar > .nav__actions + .nav__toggle { margin-inline-start: auto; } }
@media (max-width: 639px) { .nav__logo svg { height: 20px !important; width: auto !important; } }

/* text people read stays in the ink (system.md: muted is for labels only) */
.pt-ink { color: var(--ink); }

/* ---------------------------------------------------------------- the product's own UI tokens */
.ui, .pt-app {
  --ui-font: var(--font-text); --ui-mono: var(--font-mono);
  --fx-ink: #0b2350; --fx-muted: #5a6680; --fx-accent: #1c6bff; --fx-accent-ink: #ffffff;
}
.pt-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.pt-plate {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; white-space: nowrap;
  background: #f6c945; color: #14161a; font: 500 12px/1 var(--font-mono); letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16), inset 4px 0 0 #1f4fb8;
  padding-left: 9px;
}
.pt-plate--lg { height: 26px; font-size: 14px; padding-inline: 12px 8px; }
.pt-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 500; line-height: 1; background: var(--u-fill); color: var(--u-muted); box-shadow: inset 0 0 0 1px var(--u-line);
}
.pt-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.pt-chip--ok { color: #1d6b45; background: #eaf6ef; box-shadow: inset 0 0 0 1px #cfe9da; }
.pt-chip--on { color: #0b2350; background: #e8efff; box-shadow: inset 0 0 0 1px #cbdaff; }
.pt-chip--on::before { background: #1c6bff; opacity: 1; }
.pt-chip--wait { color: #8a5a00; background: #fff4dc; box-shadow: inset 0 0 0 1px #f3dfae; }
.pt-chip--done { color: var(--u-muted); }
.pt-chip--accent { color: #0b2350; background: #e8efff; box-shadow: inset 0 0 0 1px #cbdaff; }
.pt-chip--accent::before { background: #1c6bff; opacity: 1; }
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 12px; border-radius: 8px;
  background: #1c6bff; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.pt-btn--sm { height: 26px; padding: 0 10px; font-size: 12px; }
.pt-btn--ghost { background: var(--u-bg); color: var(--u-ink); box-shadow: inset 0 0 0 1px var(--u-line-2); }
.pt-btn--wide { width: 100%; height: 36px; }
.pt-src { color: var(--u-muted); font-size: 12px; white-space: nowrap; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d61; flex: none; }
.pt-mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(135deg, #1c74ff, #0b2b78);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}

/* a piece: one small window of the product on a panel or a frame */
.pt-piece {
  background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow);
  padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; color: var(--u-ink);
}
.pt-piece__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pt-piece__head b { font-weight: 500; font-size: 14px; white-space: nowrap; }
.pt-piece__head small { color: var(--u-muted); font-size: 12px; white-space: nowrap; }
.pt-dl { display: grid; gap: 6px; margin: 0; }
.pt-dl > div { display: flex; justify-content: space-between; gap: 16px; }
.pt-dl dt { color: var(--u-muted); font-size: 12px; }
.pt-dl dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-dl--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-dl--row > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--u-fill); }
.pt-dl--row dd { font-size: 15px; }

/* Today's Arrivals */
.pt-arrivals { width: 420px; }
.pt-arrivals ul { display: grid; }
.pt-arrivals li { display: grid; grid-template-columns: 44px 92px 1fr auto; align-items: center; gap: 10px; height: 38px; border-top: 1px solid var(--u-line); }
.pt-arrivals time { color: var(--u-muted); }

/* Barrier list */
.pt-sync { width: 340px; }
.pt-sync__line { display: flex; align-items: center; gap: 8px; color: var(--u-muted); font-size: 12px; }

/* Pricing Calendar */
.pt-cal { width: 470px; gap: 10px; }
.pt-cal__bar { display: flex; justify-content: space-between; align-items: center; }
.pt-cal__month { font-weight: 500; font-size: 15px; }
.pt-cal__dow, .pt-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pt-cal__dow span { color: var(--u-muted); font-size: 11px; text-align: center; }
.pt-cal__d { display: grid; gap: 1px; padding: 5px 6px; border-radius: 6px; background: var(--u-fill); min-height: 42px; align-content: start; }
.pt-cal__d b { font-weight: 500; font-size: 12px; }
.pt-cal__d i { font-style: normal; font-size: 11px; color: var(--u-text-2); font-variant-numeric: tabular-nums; }
.pt-cal__d.is-out { background: none; color: var(--u-soft); }
.pt-cal__d.is-hol { background: #eef3ff; }
.pt-cal__d.is-closed { background: repeating-linear-gradient(135deg, var(--u-fill), var(--u-fill) 4px, var(--u-fill-2) 4px, var(--u-fill-2) 8px); }
.pt-cal__d.is-closed i { color: var(--u-muted); }
.pt-cal__d.is-sel { background: #1c6bff; }
.pt-cal__d.is-sel b, .pt-cal__d.is-sel i { color: #fff; }
.pt-cal__bulk { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--u-line); font-size: 13px; }
.pt-cal__bulk b { font-weight: 500; margin-right: auto; }

/* AI recommendation, customer */
.pt-advice, .pt-customer { width: 340px; }
.pt-advice__acts { display: flex; gap: 8px; }

/* Parkos import, invoice */
.pt-import, .pt-invoice { width: 320px; }

/* Analytics Hub */
.pt-analytics { width: 440px; }
.pt-analytics__line { display: flex; align-items: baseline; gap: 10px; }
.pt-analytics__line small { color: var(--u-muted); font-size: 12px; }
.pt-analytics__num { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pt-bars { display: flex; align-items: end; gap: 6px; height: 110px; }
.pt-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: color-mix(in oklab, var(--u-ink) 16%, var(--u-bg)); }
.pt-bars i.is-last { background: #1c6bff; }
.pt-analytics__axis { display: flex; justify-content: space-between; color: var(--u-muted); font-size: 11px; }

/* Occupancy now */
.pt-occ { width: 400px; }
.pt-occ li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; height: 34px; border-top: 1px solid var(--u-line); }
.pt-meter { height: 6px; border-radius: 3px; background: var(--u-fill-2); overflow: hidden; }
.pt-meter i { display: block; height: 100%; background: #1c6bff; border-radius: 3px; }

/* the flight information board: the lobby screen's dark face */
.pt-board { width: 460px; --u-bg: #0b2350; --u-ink: #ffffff; --u-muted: #9aa6bb; --u-line: rgb(255 255 255 / 0.12); --u-border: rgb(255 255 255 / 0.08); }
.pt-board__head { display: flex; justify-content: space-between; align-items: baseline; }
.pt-board__head b { font-size: 18px; font-weight: 500; }
.pt-board__head small { font: 500 14px/1 var(--font-mono); color: #f6c945; }
.pt-board li { display: grid; grid-template-columns: 52px 76px 1fr auto; gap: 12px; align-items: center; height: 40px; border-top: 1px solid var(--u-line); }
.pt-board li > :nth-child(-n+2) { font-family: var(--font-mono); font-size: 13px; color: #f6c945; }
.pt-board li > :last-child { color: #c9d3e6; font-size: 12px; }
.pt-board li > .is-now { color: #7ee2a8; }
.pt-board li > .is-late { color: #ffb86b; }

/* zones, mail, booking site, subscription */
.pt-zones { width: 400px; }
.pt-zones li, .pt-mail li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; height: 38px; border-top: 1px solid var(--u-line); }
.pt-mail { width: 440px; }
.pt-mail li { grid-template-columns: auto 1fr; }
.pt-mail li > :last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-mail__draft { font-size: 12px; color: var(--u-muted); }
.pt-mail__draft b { color: #1c6bff; font-weight: 500; }
.pt-b2c { width: 380px; padding: 0; overflow: hidden; gap: 0; }
.pt-b2c__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #0b2350; color: #fff; font-weight: 500; }
.pt-b2c__body { display: grid; gap: 12px; padding: 16px; }
.pt-b2c__body > b { font-size: 17px; font-weight: 500; }
.pt-b2c__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-b2c__fields span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--u-line-2); font-weight: 500; }
.pt-b2c__fields small, .pt-b2c__result span { color: var(--u-muted); font-size: 12px; font-weight: 400; }
.pt-b2c__result { display: flex; justify-content: space-between; align-items: baseline; }
.pt-b2c__result b { font-size: 18px; font-weight: 500; }
.pt-sub { width: 360px; }
.pt-sub__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.pt-qr {
  width: 96px; height: 96px; padding: 7px; border-radius: 8px; background: #fff; color: #0b2350;
  box-shadow: inset 0 0 0 1px var(--u-line-2);
}
.pt-qr svg { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- the app frame (sections-library: app-frame) */
.pt-app.ui {
  display: grid; grid-template-columns: 196px minmax(0, 7fr) minmax(0, 5fr); margin-top: var(--s-7);
  background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow);
  overflow: hidden; min-height: 0;
}
.pt-app > * { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.pt-app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.pt-app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
.pt-app__side { background: #0b2350; color: #c9d3e6; padding: 14px 10px; display: grid; align-content: start; gap: 14px; font-size: 13px; }
.pt-app__brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 6px; }
.pt-app__brand b { display: block; color: #fff; font-weight: 500; font-size: 13px; line-height: 16px; }
.pt-app__brand small { color: #8f9bb3; font-size: 11px; }
.pt-app__group { display: grid; gap: 1px; }
.pt-app__glabel { color: #8f9bb3; font-size: 11px; padding: 0 8px 4px; }
.pt-app__group > span:not(.pt-app__glabel) { display: block; padding: 6px 8px; border-radius: 8px; line-height: 18px; white-space: nowrap; }
.pt-app__group > span.is-on { background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: inset 2px 0 0 #1c6bff; }
.pt-app__list { padding: 16px 0 0; }
.pt-app__head { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 12px; }
.pt-app__head b { font-size: 17px; font-weight: 500; }
.pt-views { display: flex; gap: 4px; padding: 0 18px 12px; border-bottom: 1px solid var(--u-line); overflow: hidden; }
.pt-views span { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 7px; white-space: nowrap; color: var(--u-muted); }
.pt-views span.is-on { background: #e8efff; color: #0b2350; font-weight: 500; }
.pt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-table th { text-align: left; font-weight: 500; font-size: 11px; color: var(--u-muted); padding: 10px 10px 8px; white-space: nowrap; background: var(--u-fill); border-bottom: 1px solid var(--u-line); }
.pt-table td { padding: 0 10px; height: 42px; border-bottom: 1px solid var(--u-line); white-space: nowrap; }
.pt-table th:first-child, .pt-table td:first-child { padding-left: 18px; }
.pt-table tr.is-open td { background: #f1f5ff; }
.pt-table tr.is-open td:first-child { box-shadow: inset 3px 0 0 #1c6bff; }
.pt-app__open { padding: 18px 20px 0; background: var(--u-bg); }
.pt-detail { display: grid; gap: 10px; }
.pt-app .pt-detail { gap: 7px; }
@media (max-width: 639px) { .pt-app .pt-hide-sm { display: none; } }
.pt-detail__top { display: flex; align-items: center; gap: 10px; }
.pt-detail__ref { margin-left: auto; color: var(--u-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.pt-detail__label { color: var(--u-muted); font-size: 11px; margin-top: 6px; }
.pt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pt-steps li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--u-fill); position: relative; }
.pt-steps li.is-done { background: #eaf6ef; }
.pt-steps b { font-weight: 500; font-size: 13px; }
.pt-steps small { color: var(--u-muted); font-size: 11px; line-height: 15px; }
.pt-timeline { display: grid; gap: 6px; font-size: 12px; }
.pt-timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 8px; color: var(--u-text-2); }
.pt-timeline time { color: var(--u-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .pt-app.ui { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .pt-app__side { display: none; }
  .pt-app .pt-hide-md { display: none; }
}
@media (max-width: 1023px) {
  .pt-app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .pt-app__side { display: none; }
  .pt-app > .app__pane--list { max-height: 252px; }
  .pt-app > .app__pane--list::after { display: none; }
  .pt-app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
  .pt-app .pt-hide-md { display: none; }
}
@media (max-width: 639px) {
  .pt-app.ui { grid-template-rows: minmax(0, 1fr); }
  .pt-app > .app__pane--list { display: none; }
  .pt-app > .app__pane + .app__pane { border-top: 0; }
  .pt-app__open { padding: 16px 16px 0; }
}

/* ---------------------------------------------------------------- the hero collage's pieces (container units) */
.ly-collage { container-type: inline-size; }
.ly-collage .pc-card { background: #fff; color: #0b2350; padding: 3.2cqw 3.4cqw; display: grid; gap: 1.6cqw; align-content: start;
                       font: 400 max(13px, 2.1cqw)/1.3 var(--font-text); }
.pc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; }
.pc-head b { font-weight: 500; font-size: max(13px, 2.5cqw); }
.pc-head small, .pc-lbl { color: #5a6680; font-size: max(13px, 1.9cqw); }
.pc-row { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 2cqw; padding-top: 1.4cqw; border-top: 1px solid rgb(11 35 80 / 0.1); }
.pc-row small { color: #5a6680; font-size: max(13px, 1.8cqw); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.pc-row.is-new { color: #0b2350; }
.pc-row.is-new .pc-num { color: #1c6bff; font-weight: 500; }
.pc-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-plate { justify-self: start; display: inline-flex; align-items: center; padding: 0.5cqw 1cqw 0.5cqw 1.6cqw; border-radius: 0.7cqw; background: #f6c945; color: #14161a;
            font: 500 max(12px, 1.8cqw)/1.2 var(--font-mono); box-shadow: inset 0.7cqw 0 0 #1f4fb8; white-space: nowrap; }
.pc-field { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; border: 1px solid rgb(11 35 80 / 0.14); border-radius: 1.4cqw; padding: 1.5cqw 2cqw; font-weight: 500; }
.pc-line { display: flex; justify-content: space-between; align-items: center; color: #5a6680; }
.pc-tg { width: 6.4cqw; height: 3.6cqw; border-radius: 99px; background: #1c6bff; position: relative; flex: none; }
.pc-tg::after { content: ""; position: absolute; right: 0.5cqw; top: 0.5cqw; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #fff; }
.ly-collage .pc-fx { padding: 6cqw 5cqw; display: grid; align-content: end; background: #c6d3df; }
.pc-fx > .pc-card { position: relative; z-index: 1; border-radius: var(--r-md); box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 16px 32px -16px rgb(0 0 0 / .3); }
.pc-acts { display: flex; gap: 1.4cqw; }
.pc-btn { display: inline-flex; align-items: center; height: max(28px, 4.6cqw); padding: 0 2.2cqw; border-radius: 1.2cqw; background: #1c6bff; color: #fff; font-weight: 500; }
.pc-btn--ghost { background: #fff; color: #0b2350; box-shadow: inset 0 0 0 1px rgb(11 35 80 / 0.18); }
.pc-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.8cqw; }
.pc-cal__grid > span { display: grid; gap: 0.3cqw; padding: 1cqw; border-radius: 0.9cqw; background: #f2f5fb; align-content: start; min-height: 9cqw; }
.pc-cal__grid b { font-weight: 500; font-size: max(13px, 1.9cqw); }
.pc-cal__grid i { font-style: normal; font-size: max(11px, 1.55cqw); color: #3d4a66; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-cal__grid .is-sel { background: #1c6bff; }
.pc-cal__grid .is-sel b, .pc-cal__grid .is-sel i { color: #fff; }
.pc-cal__grid .is-closed i { color: #5a6680; }
.pc-import { gap: 1.2cqw; }
.pc-stat .pc-big { font-size: max(18px, 4.4cqw); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.pc-bars { display: flex; align-items: end; gap: 0.8cqw; height: 9cqw; }
.pc-bars i { flex: 1; border-radius: 0.5cqw 0.5cqw 0.2cqw 0.2cqw; background: rgb(11 35 80 / 0.16); }
.pc-bars i:last-child { background: #1c6bff; }
.ly-collage .pc-board { background: #0b2350; color: #fff; padding: 3.2cqw 3.4cqw 9cqw; display: grid; gap: 1.6cqw; align-content: start; font: 400 max(13px, 2.1cqw)/1.3 var(--font-text); }
.pc-board .pc-head small { color: #f6c945; font-family: var(--font-mono); }
.pc-board .pc-row { border-top-color: rgb(255 255 255 / 0.14); }
.pc-board .pc-row > .pc-num { color: #f6c945; font-family: var(--font-mono); }
.pc-board .pc-row small { color: #c9d3e6; }
/* a phone: the arrivals keep three rows, the calendar two weeks; each piece stays readable at 13px */
@media (max-width: 639px) {
  .pc-list .pc-row:nth-of-type(n+5), .pc-board .pc-row:nth-of-type(n+4) { display: none; }
  .pc-row small { display: none; }
  .pc-cal__grid > span:nth-child(n+8) { display: none; }
  .pc-sync .pc-line { display: none; }
}

/* ---------------------------------------------------------------- sections */
/* app-frame: the window takes what the screen leaves under its heading */
.pt-appframe > .wrap > .grid { row-gap: var(--s-4); }
.pt-appframe .pt-app { flex: 1 1 0; }

/* features-2x2: one panel height for the group */
.pt-run .panel { --p-h: 300px; }
@media (max-width: 639px) { .pt-run .panel { --p-h: 200px; } .pt-run .stage { --fade-h: 40px; } }

/* split-text-left: the frame fills its column down to the section's foot */
.pt-split { align-content: start; grid-template-rows: auto; }
.pt-split__visual { display: flex; min-height: 0; }
.pt-split__visual > .frame { flex: 1 1 auto; }
.pt-facts { display: grid; gap: var(--s-3); font-size: var(--t-body); }
.pt-facts li { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.pt-dgframe { padding: 0; }
.pt-dgframe > .dg { position: absolute; inset: 0; }
/* on a phone the diagram's vertical flow needs the screen's lower half: the fact list gives way (the lead says it) */
@media (max-width: 639px) { .pt-split:has(.pt-dgframe) .pt-facts { display: none; } }

/* integrations-grid: the real icons in their colours; a tool without one in a permitted set shows its name */
.pt-tools { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); margin-top: var(--s-4); }
.pt-tool { display: grid; gap: var(--s-2); justify-items: start; align-content: start; }
.pt-tool__tile { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-tool__tile.ic-tile--wide { width: 72px; }
.pt-tool__tile .ic { width: 32px; height: 32px; object-fit: contain; }
.pt-tool__tile .ic-wide { width: 52px; height: 22px; }
.pt-tool__tile--name { width: 72px; font: 500 13px/1.1 var(--font-text); color: var(--ink); text-align: center; padding: 0 6px; overflow-wrap: anywhere; }
.pt-tool__name { font-weight: 500; font-size: var(--t-body); }
.pt-tool__kind { color: var(--muted); font-size: var(--t-label); margin-top: calc(-1 * var(--s-2)); }
@media (max-width: 1023px) { .pt-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .pt-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
  .pt-tool__tile, .pt-tool__tile.ic-tile--wide, .pt-tool__tile--name { width: 64px; height: 64px; }
  .pt-tool__tile--name { font-size: 12px; }
  .pt-tool__kind { display: none; }
  /* names break between words, or hyphenate in the page language; never mid-word without a hyphen */
  .pt-tool__name { font-size: var(--t-small); max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
}

/* the statement the letters-assemble moment runs in: on the page's left line, top-aligned */
.pt-statement .mo-la__sub { color: var(--ink); }

/* the legal row: three runs of links, each wrapping on its own */
.pt-legal { display: inline-flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; }
.pt-legal a[aria-current="true"] { color: inherit; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- reading pages (documents, articles, lists) */
.pt-doc { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-10); }
.pt-doc__head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: var(--s-8); }
.pt-doc__head p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); max-width: 60ch; }
.pt-doc__meta { color: var(--muted); font-size: var(--t-small); }
.pt-crumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); color: var(--muted); font-size: var(--t-small); }
.pt-crumbs a:hover { color: var(--action); }
.pt-prose { max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--ink); }
.pt-prose > * + * { margin-top: var(--s-4); }
.pt-prose h2 { font-size: clamp(26px, 1.5vw + 18px, 34px); margin-top: var(--s-8); }
.pt-prose h3 { font-size: 22px; margin-top: var(--s-6); }
.pt-prose ul, .pt-prose ol { padding-left: 1.3em; list-style: disc; display: grid; gap: var(--s-2); }
.pt-prose ol { list-style: decimal; }
.pt-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.pt-prose a:hover { text-decoration-color: currentColor; }
.pt-prose code { font: 0.9em var(--font-mono); background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }
.pt-prose pre { background: #0b2350; color: #e8eefb; padding: var(--s-5); border-radius: var(--r-md); overflow-x: auto; font: 14px/1.6 var(--font-mono); }
.pt-prose pre code { background: none; padding: 0; color: inherit; }
.pt-prose blockquote { border-left: 2px solid var(--action); padding-left: var(--s-5); color: var(--ink); }
.pt-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.pt-prose th, .pt-prose td { text-align: left; padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.pt-prose th { font-weight: 500; }
.pt-list { display: grid; border-top: 1px solid var(--line); }
.pt-list > a, .pt-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.pt-list h2, .pt-list h3 { font: 500 var(--t-lead)/1.35 var(--font-text); letter-spacing: 0; }
.pt-list p { grid-column: 1; color: var(--ink); max-width: 64ch; }
.pt-list small { color: var(--muted); font-size: var(--t-small); white-space: nowrap; grid-row: 1; grid-column: 2; }
.pt-list > a:hover h2, .pt-list > a:hover h3 { color: var(--action); }
.pt-doc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
@media (min-width: 1024px) { .pt-doc__grid--aside { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); column-gap: var(--s-9); } }
.pt-aside { display: grid; gap: var(--s-4); align-content: start; font-size: var(--t-small); }
.pt-aside h2 { font: 500 var(--t-small)/1.4 var(--font-text); color: var(--muted); letter-spacing: 0; }
.pt-aside a:hover { color: var(--action); }
.pt-status { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 500; }
.pt-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--status, #9aa6bb); }
.pt-status--ok { --status: #1f9d61; }
.pt-status--warn { --status: #d18b00; }
.pt-status--down { --status: #d0342c; }

.pt-crumbs li { display: inline-flex; gap: var(--s-2); }
.pt-crumbs [aria-current="page"] { color: var(--ink); }
.pt-doc__head h1 { font-size: clamp(38px, 2.6vw + 22px, 60px); line-height: 1.05; }
.pt-groups { display: grid; gap: var(--s-9); }
.pt-group { display: grid; gap: var(--s-4) var(--s-6); }
@media (min-width: 1024px) { .pt-group { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.pt-group__title { font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; }
.pt-group .faq { max-width: 760px; }
.pt-empty { display: grid; gap: var(--s-4); max-width: 62ch; padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.pt-empty h2 { font-size: var(--t-h3); }
.pt-empty p { color: var(--ink); }
.pt-code { font: 14px/1.5 var(--font-mono); overflow-wrap: anywhere; background: var(--surface); padding: 0.15em 0.45em; border-radius: 4px; color: var(--ink); }
.pt-notes { display: grid; border-top: 1px solid var(--line); }
.pt-notes li { display: grid; gap: var(--s-2) var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 640px) { .pt-notes li { grid-template-columns: 168px minmax(0, 1fr); } }
.pt-notes p { color: var(--ink); max-width: 68ch; }
.pt-tag { justify-self: start; font-size: var(--t-label); font-weight: 500; color: var(--ink); padding: 2px var(--s-2); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.pt-aside__block { display: grid; gap: var(--s-3); padding-bottom: var(--s-6); }
.pt-aside__block ul { display: grid; gap: var(--s-2); }
.pt-aside__block a { color: var(--ink); }
@media (min-width: 1024px) { .pt-aside { position: sticky; top: calc(var(--nav) + var(--s-6)); } }
.pt-note { padding-left: var(--s-4); border-left: 2px solid var(--line-strong); color: var(--ink); font-size: var(--t-small); max-width: 68ch; }
.pt-notes-top { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); }
.pt-facts-dl { display: grid; gap: var(--s-3); margin: 0; }
.pt-facts-dl dt { color: var(--muted); }
.pt-facts-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.pt-statuswrap { max-width: 880px; }
.pt-statusbox { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
.pt-statusbox h2.pt-status { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.pt-statusbox p { color: var(--ink); }
.pt-checks { display: grid; margin-top: var(--s-7); border-top: 1px solid var(--line); }
.pt-check { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.pt-check h3 { font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; }
.pt-check p { color: var(--ink); font-size: var(--t-small); }
.pt-check__state { display: grid; justify-items: end; gap: var(--s-1); }
.pt-check__state small { color: var(--muted); font: 13px/1.4 var(--font-mono); }
.pt-statusfoot { display: grid; gap: var(--s-2); margin-top: var(--s-7); }
.pt-credits { display: grid; border-top: 1px solid var(--line); max-width: 880px; }
.pt-credits li { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.pt-credits li > span { font-weight: 500; min-width: 16ch; }
.pt-404 .btn-row { align-items: center; gap: var(--s-5); margin-top: var(--s-6); }

/* the onboarding wizard: the step rail beside the open step */
.pt-wizard { width: 520px; }
.pt-wizard__body { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 14px; align-items: start; }
.pt-wizard__rail { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pt-wizard__rail li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 30px; padding: 0 8px; border-radius: 8px; font-size: 12px; color: var(--u-muted); }
.pt-wizard__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-wizard__n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; box-shadow: inset 0 0 0 1px var(--u-line-2); font-variant-numeric: tabular-nums; }
.pt-wizard__rail li.is-done .pt-wizard__n { background: #eaf6ef; color: #1d6b45; box-shadow: inset 0 0 0 1px #cfe9da; }
.pt-wizard__rail li.is-on { background: #e8efff; color: #0b2350; font-weight: 500; }
.pt-wizard__rail li.is-on .pt-wizard__n { background: #1c6bff; color: #fff; box-shadow: none; }
.pt-wizard__step { display: grid; gap: 10px; align-content: start; min-width: 0; }
.pt-wizard__step > b { font-size: 15px; font-weight: 500; }
.pt-wizard__step > .pt-detail__label { margin: 0; }
.pt-wizard__step > .pt-btn { justify-self: start; }
.pt-wizard__options { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pt-wizard__options li { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--u-line-2); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pt-wizard__options li.is-on { box-shadow: inset 0 0 0 1.5px #1c6bff; font-weight: 500; }
.pt-radio { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.pt-wizard__options li.is-on .pt-radio { box-shadow: inset 0 0 0 4px #1c6bff; }
.pt-wizard .pt-b2c__fields span { font-size: 13px; min-width: 0; align-content: space-between; }
/* in a hero frame on a phone the wizard keeps its rail and head inside the frame's cut */
@media (max-width: 639px) { .pt-art-main > .pt-wizard.ui { padding-right: calc(16px + var(--ly-cut, 28px)); } }
@media (max-width: 639px) { .pt-wizard__body { grid-template-columns: minmax(0, 1fr); } .pt-wizard__rail { grid-template-columns: repeat(7, minmax(0, 1fr)); } .pt-wizard__rail li { grid-template-columns: 20px; justify-content: center; padding: 4px 0; } .pt-wizard__rail .pt-wizard__name { display: none; } }

/* the MUI form islands on contact and demo: the brand's face and a calm card behind them */
.pt-form { background: var(--surface); border-radius: var(--r-lg); padding: clamp(var(--s-5), 3vw, var(--s-7)); }

/* message log, call log, the booking detail on its own */
.pt-log, .pt-calls { width: 460px; }
.pt-log li, .pt-calls li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--u-line); }
.pt-log li span small { display: block; color: var(--u-muted); font-size: 12px; }
.pt-log time, .pt-calls time { color: var(--u-muted); }
.pt-detail-piece { width: 440px; }

/* ---------------------------------------------------------------- inner heroes: the screen in its lit frame */
.pt-art-main > .ui { width: 100%; padding-right: calc(16px + var(--ly-cut-room, 48px)); }
.pt-art-main > .pt-board, .pt-art-main > .pt-b2c { padding-right: 0; }
.pt-art-main > .pt-b2c .pt-b2c__body { padding-right: calc(16px + var(--ly-cut-room, 48px)); }
.hero__art > .pt-art-note { left: var(--s-6); bottom: var(--s-6); width: min(340px, 62%); z-index: 2; }
.pt-art-note > .ui { width: 100%; }
@media (min-width: 1024px) and (max-width: 1279px) { .hero__art > .pt-art-note { display: none; } }
.pt-centred-piece > .ui { width: 100%; }
.pt-split-art { --ly-cut: 28px; }
@media (max-width: 639px) { .pt-art-main > .ui { padding-right: 16px; } }

/* linked cards: one panel height for the group, the link under the panel */
.pt-cards .panel { --p-h: 236px; }
.pt-card-link { margin-top: var(--s-4); }
@media (max-width: 639px) { .pt-cards .panel { --p-h: 160px; } }
/* a linked card's screen: a window of the app, centred on the panel's ground like a framed screenshot (LinkedCards).
   The panel is a size container, so the screen is shown larger where the panel has room for it. */
.card > .panel:has(> .stage > .pt-shot) { container-type: size; }
.stage:has(> .pt-shot) {
  display: flex; align-items: safe center; padding: 28px;
  /* a screen taller than its panel dissolves into the ground instead of ending on a hard cut */
  -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 48px), transparent calc(100% - 2px));
  mask: linear-gradient(to bottom, #000 calc(100% - 48px), transparent calc(100% - 2px));
}
.stage > .pt-shot {
  position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: var(--u-bg); border: 1px solid var(--u-border); border-radius: 12px; box-shadow: var(--u-shadow);
}
.pt-shot__bar {
  display: flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 14px;
  border-bottom: 1px solid var(--u-line); background: var(--u-fill); color: var(--u-muted); font-size: 12px;
}
.pt-shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--u-fill-3); flex: none; }
.pt-shot__bar span { margin-inline-start: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-shot__body { padding: 18px 20px 20px; }
.pt-shot__body > .ui { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.pt-shot__body > .pt-b2c { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--u-line); }
@container (max-width: 440px) { .pt-shot__body { zoom: 0.86; } }
@container (min-width: 520px) and (min-height: 360px) { .pt-shot__body { zoom: 1.2; } }
@container (min-width: 520px) and (min-height: 460px) { .pt-shot__body { zoom: 1.35; } }
@media (max-width: 639px) { .stage:has(> .pt-shot) { padding: 16px; align-items: flex-start; } .pt-shot__body { padding: 14px 16px; } }
.pt-rows > li { grid-template-columns: minmax(0, 1fr); }
.pt-refunds { width: 440px; }
.pt-refunds li { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; height: 40px; border-top: 1px solid var(--u-line); }
.pt-refunds li > :first-child { color: var(--u-muted); }
.pt-keys, .pt-release, .pt-audit, .pt-backups { width: 440px; }
.pt-keys li, .pt-release li, .pt-audit li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--u-line); }
.pt-audit li { grid-template-columns: 44px 1fr; }
.pt-keys li small, .pt-audit li small { display: block; color: var(--u-muted); font-size: 12px; }
.pt-audit time { color: var(--u-muted); }

/* ---------------------------------------------------------------- the home hero on the inverse ground */
.pt-hero-dark { background: #0b2350; color: #fff; }
.pt-hero-fx {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 38%, #1c6bff 0%, #1453d6 28%, #123a8c 52%, transparent 78%),
    radial-gradient(50% 60% at 20% 100%, #12357d 0%, transparent 70%),
    #0b2350;
}
.pt-hero-fx > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt-hero-dark .hero__lead { color: #e3eaf7; }
.pt-hero-dark h1 { color: #fff; }
.pt-hero-dark .ly-collage .ly-piece { box-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 30px 60px -24px rgb(2 10 30 / .7); }
.pc-photo > img { display: block; }
.pc-row--on .pc-num { color: #1c6bff; font-weight: 500; }
.pc-row--wait small { color: #9a6400; }
.pc-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f9d61; margin-right: 6px; vertical-align: 1px; }
.pc-cal__grid > span[data-l="0"] { background: #eaf1ff; }
.pc-cal__grid > span[data-l="1"] { background: #cfdeff; }
.pc-cal__grid > span[data-l="2"] { background: #a9c4ff; }
.pc-cal__grid > span[data-l="3"] { background: #6f9dff; }
.pc-cal__grid > span[data-l="3"] :is(b, i), .pc-cal__grid > span[data-l="4"] :is(b, i) { color: #fff; }
.pc-cal__grid > span[data-l="4"] { background: #1c6bff; }
.pc-cal__grid > span[data-l="x"] { background: repeating-linear-gradient(135deg, #f2f5fb 0 4px, #e3e8f2 4px 8px); }
.pc-cal__grid > span.is-sel { background: #0b2350; box-shadow: inset 0 0 0 2px #f6c945; }
.pc-cal__grid > span.is-sel :is(b, i) { color: #fff; }
.pc-chip-card .pc-big, .pc-stat .pc-big { font-size: max(20px, 5.4cqw); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #1c6bff; }
.pc-meter { display: grid; grid-template-columns: 1fr 34% auto; gap: 1.6cqw; align-items: center; }
.pc-meter span { white-space: nowrap; }
.pc-meter i { height: 1.2cqw; min-height: 6px; border-radius: 99px; background: linear-gradient(90deg, #1c6bff var(--w), #e3e8f2 var(--w)); }
.pc-meter b { font-weight: 500; }
@media (max-width: 639px) { .pc-cal__grid > span:nth-child(n+8) { display: none; } .pc-chip-card, .pc-meter:nth-of-type(n+3) { display: none; } }
.pt-tool__tile--name { color: #0b2350; }
.pt-formgrid { align-items: start; } .pt-aside p { color: var(--ink); font-size: var(--t-body); }
/* the 2x2's panels keep one height in both rows */
.pt-run .card > .panel { flex: 0 0 auto; height: var(--p-h); min-height: 0; }
.pt-run .panel { --p-h: 360px; }
/* the kit gives a phone's g2 tiles 180px panels; two of these card titles take two lines, so the panels give 10px */
@media (max-width: 639px) {
  main > .section.g2.pt-run .card--open > .panel { --p-h: 170px; }
  main > .section.g2.pt-run .card--open:has(.pt-cal__grid) > .panel { --p-h: 180px; }
}
.pt-tool__tile--glyph { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
/* a glyph tile is white like the logo tiles, so its mark is the logos' navy in both themes */
.pt-glyph { width: 28px; height: 28px; background: currentColor; color: #0b2350; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
/* a split's picture fills its column down to the section's foot */
.pt-split { grid-template-rows: minmax(0, 1fr); }
.pt-split__text { align-self: start; }
@media (max-width: 1023px) { .pt-split { grid-template-rows: auto minmax(0, 1fr); } }
/* on the inverse grounds (the hero, the dark band, the footer) the one primary stays the logo blue */
.ground-inverse { --action: #1c6bff; --action-ink: #ffffff; }

/* ---------------------------------------------------------------- knowledge base: search, categories, cards */
.pt-kb { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
.pt-kb__result, .pt-kb__card, .pt-kb__tile { min-width: 0; overflow-wrap: break-word; }
/* the question field: a lit panel, the one place the page asks something of the reader */
.pt-kb__ask {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--action) 7%, var(--bg)); border: 1px solid color-mix(in oklab, var(--action) 16%, var(--line));
}
@media (min-width: 1024px) { .pt-kb__ask { padding: var(--s-7) var(--s-8) var(--s-6); } }
@media (max-width: 639px) { .pt-kb__ask { padding: var(--s-5); } .pt-kb__field { padding-inline-start: var(--s-4); } .pt-kb__field input { font-size: 17px; } }
.pt-kb__asklabel { font: 500 var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); }
.pt-kb__field {
  display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: 0 var(--s-2) 0 var(--s-5);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--bg); color: var(--muted);
  box-shadow: 0 8px 24px -16px rgb(11 35 80 / 0.25);
}
.pt-kb__field:focus-within { border-color: var(--action); box-shadow: 0 0 0 3px color-mix(in oklab, var(--action) 22%, transparent); }
.pt-kb__field .pt-kb__glyph { width: 22px; height: 22px; color: var(--muted); }
.pt-kb__field input { flex: 1; min-width: 0; height: 62px; border: 0; outline: 0; background: none; color: var(--ink); font: 400 19px/1.3 var(--font-text); }
.pt-kb__field input::placeholder { color: var(--muted); }
.pt-kb__field input::-webkit-search-cancel-button { display: none; }
.pt-kb__clear { flex: none; min-height: 44px; padding: 0 var(--s-3); border: 0; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.pt-kb__examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.pt-kb__examples span { color: var(--muted); font-size: var(--t-small); margin-inline-end: var(--s-1); }
.pt-kb__examples button {
  min-height: 36px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: 99px; background: var(--bg);
  color: var(--ink); font: 400 var(--t-small)/1.2 var(--font-text); text-align: start; cursor: pointer;
}
.pt-kb__examples button:hover { border-color: var(--action); color: var(--action); }
.pt-kb__hint, .pt-kb__count { color: var(--muted); font-size: var(--t-small); }
.pt-kb__count:empty { display: none; }
@media (hover: none) { .pt-kb__hint { display: none; } }
.pt-kb .pt-glyph { color: currentColor; }
.pt-kb__glyph { width: 20px; height: 20px; flex: none; }

/* topics: a tile per category, its glyph, what it covers and how many articles */
.pt-kb__topics { display: grid; gap: var(--s-5); }
.pt-kb__tiles { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .pt-kb__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pt-kb__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
.pt-kb__tile {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--s-4); row-gap: var(--s-1);
  height: 100%; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), border-color 200ms, box-shadow 200ms;
}
.pt-kb__tileicon {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: color-mix(in oklab, var(--action) 10%, var(--bg)); color: var(--action);
}
.pt-kb__tile > .pt-kb__tileicon { grid-row: 1 / span 3; }
.pt-kb__tiletitle { font: 500 var(--t-lead)/1.3 var(--font-text); }
.pt-kb__tiledesc { color: var(--muted); font-size: var(--t-small); line-height: 1.45; }
.pt-kb__tilecount { color: var(--muted); font-size: var(--t-label); margin-top: var(--s-2); }
@media (hover: hover) and (pointer: fine) {
  .pt-kb__tile:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 12px 24px -12px rgb(11 35 80 / 0.18); }
  .pt-kb__tile:hover .pt-kb__tiletitle { color: var(--action); }
}

/* ranked answers */
.pt-kb__results { display: grid; gap: var(--s-5); }
.pt-kb__list { display: grid; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }
.pt-kb__result {
  display: grid; gap: var(--s-2); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink);
  transition: border-color 200ms, box-shadow 200ms;
}
.pt-kb__result.is-top { border-color: color-mix(in oklab, var(--action) 45%, var(--line)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--action) 25%, transparent); }
.pt-kb__result h3 { font: 500 var(--t-lead)/1.35 var(--font-text); }
.pt-kb__rcat { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--action); font: 500 var(--t-label)/1 var(--font-text); }
.pt-kb__rcat .pt-kb__glyph { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .pt-kb__result:hover { border-color: var(--line-strong); box-shadow: 0 12px 24px -12px rgb(11 35 80 / 0.18); } .pt-kb__result:hover h3 { color: var(--action); } }

/* all articles by topic */
.pt-kb__n { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--surface); color: var(--ink); font: 500 var(--t-label)/1 var(--font-text); font-variant-numeric: tabular-nums; }
.pt-kb__groups { display: grid; gap: var(--s-8); min-width: 0; }
.pt-kb__group { display: grid; gap: var(--s-4); scroll-margin-top: calc(var(--nav) + var(--s-5)); }
.pt-kb__gtitle { display: flex; align-items: center; gap: var(--s-3); font: 500 var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.pt-kb__gdesc { color: var(--muted); }
.pt-kb__cards { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .pt-kb__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-kb__card { display: grid; gap: var(--s-2); align-content: start; height: 100%; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), border-color 200ms, box-shadow 200ms; }
.pt-kb__card h3 { font: 500 var(--t-lead)/1.35 var(--font-text); letter-spacing: 0; }
.pt-kb__card p, .pt-kb__result p { color: var(--ink); font-size: var(--t-body); }
.pt-kb__snip { color: var(--muted) !important; font-size: var(--t-small) !important; }
@media (hover: hover) and (pointer: fine) { .pt-kb__card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 12px 24px -12px rgb(11 35 80 / 0.18); } .pt-kb__card:hover h3 { color: var(--action); } }
.pt-kb mark { background: color-mix(in oklab, var(--action) 18%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }

/* the way to a person when the articles do not answer it */
.pt-kb__nf {
  display: grid; gap: var(--s-4); align-items: center; padding: var(--s-6); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 768px) { .pt-kb__nf { grid-template-columns: auto minmax(0, 1fr) auto; } }
.pt-kb__nficon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--bg); color: var(--action); }
.pt-kb__nficon .pt-kb__glyph { width: 24px; height: 24px; }
.pt-kb__nf h2 { font: 500 var(--t-lead)/1.3 var(--font-text); }
.pt-kb__nf p { color: var(--muted); }
.pt-kb__nfcta { justify-self: start; }
.pt-kb__related { display: grid; gap: var(--s-3); }
.pt-kb__related a { display: grid; gap: 2px; padding: var(--s-2) 0; min-height: 44px; }
.pt-kb__related small { color: var(--muted); font-size: var(--t-small); line-height: 1.4; }
.pt-kb__related a:hover span { color: var(--action); }
@media (prefers-reduced-motion: reduce) { .pt-kb__card { transition: none; } }

/* integration logos: the companies' own files on the same white tile; a name where the logo may not be used */
.pt-tool__tile--logo img { width: 36px; height: 36px; object-fit: contain; }
.pt-tool__tile--logo.pt-tool__tile--wide img { width: 62px; height: 24px; }
.pt-tool__tile--word { font: 500 14px/1.1 var(--font-text); color: #0b2350; letter-spacing: 0; text-align: center; padding: 0 6px; }
/* a desktop: six to a row on 80px tiles, so the band's three rows of marks fill its screen */
@media (min-width: 1024px) {
  .pt-tools { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: var(--s-4); }
  .pt-tool__tile, .pt-tool__tile.ic-tile--wide, .pt-tool__tile--name { width: 80px; height: 80px; }
  .pt-tool__tile .ic { width: 40px; height: 40px; }
  .pt-tool__tile--logo img { width: 44px; height: 44px; }
  .pt-tool__tile--logo.pt-tool__tile--wide img { width: 72px; height: 28px; }
}
.pt-legal__ext { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.pt-legal--note { flex-basis: 100%; }
@media (max-width: 1023px) { .footer__legal .pt-legal a, .footer__legal .pt-legal button { display: inline-flex; align-items: center; min-height: 44px; } }

/* ---------------------------------------------------------------- the home hero: a film behind the words */
.pt-film { background: #0b2350; color: #fff; overflow: hidden; }
/* the film starts under the fixed header and is the hero's one background layer: no scrim box over it. The navy
   ground shows through the film instead (opacity and a mask, strongest behind the words), so white text keeps
   its contrast on every frame */
.pt-film__video {
  position: absolute; inset: var(--nav, 0px) 0 0 0; z-index: 0; width: 100%; height: calc(100% - var(--nav, 0px));
  object-fit: cover; object-position: 50% 50%; opacity: .72;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / .32) 40%, rgb(0 0 0 / .8) 75%, #000 100%);
          mask-image: linear-gradient(90deg, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / .32) 40%, rgb(0 0 0 / .8) 75%, #000 100%);
}
.pt-film > .wrap { position: relative; z-index: 1; }
.pt-film__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); grid-template-rows: auto; align-content: center; align-items: center; height: 100%; padding-bottom: 56px; }
/* right to left the words stand on the right, so the picture fades towards that side instead */
@media (min-width: 1024px) {
  [dir="rtl"] .pt-film__video {
    -webkit-mask-image: linear-gradient(270deg, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / .32) 40%, rgb(0 0 0 / .8) 75%, #000 100%);
            mask-image: linear-gradient(270deg, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / .32) 40%, rgb(0 0 0 / .8) 75%, #000 100%);
  }
}
/* under reduced motion the film keeps its poster, so the button goes */
@media (prefers-reduced-motion: reduce) { .pt-film__toggle { display: none; } }
.pt-film__text { grid-column: 1 / span 6; grid-row: 1; }
.pt-film h1 { font-size: var(--ly-h1, clamp(40px, 3.5vw + 22px, 72px)); color: #fff; max-width: 13ch; }
.pt-film .hero__lead { color: #e6edf9; max-width: 44ch; margin-top: var(--s-5); }
.pt-film .btn-row { margin-top: var(--s-6); }
.pt-film .btn--secondary { color: #fff; }
.pt-film__card { grid-column: 9 / span 4; grid-row: 2; align-self: end; }
.pt-live { background: #fff; color: #0b2350; border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3);
           box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 30px 60px -24px rgb(2 10 30 / .7); font-size: 14px; }
.pt-live__head { display: flex; align-items: center; gap: var(--s-2); }
.pt-live__head b { font-weight: 500; }
.pt-live__head small { margin-left: auto; color: #4a5878; font-size: 13px; }
.pt-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d61; }
.pt-live__row { display: flex; align-items: center; justify-content: space-between; }
.pt-live__time { font: 500 22px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.pt-live__meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); color: #4a5878; font-size: 13px; flex-wrap: wrap; }
.pt-live__occ { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center; padding-top: var(--s-3); border-top: 1px solid #e3e8f2; font-size: 13px; }
.pt-live__occ b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pt-live .pt-chip { --u-fill: #f2f5fb; --u-line: #e3e8f2; --u-muted: #4a5878; }
.pt-film__toggle {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; border: 1px solid rgb(255 255 255 / .5); background: rgb(11 35 80 / .6); color: #fff; cursor: pointer;
}
.pt-film__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pt-film .hero-text { position: relative; }
@media (max-width: 1023px) {
  .pt-film__text { grid-column: 1 / -1; }
  .pt-film__card { grid-column: 1 / span 8; }
  .pt-film__video { -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / .3) 0%, rgb(0 0 0 / .4) 60%, rgb(0 0 0 / .7) 100%);
                            mask-image: linear-gradient(180deg, rgb(0 0 0 / .3) 0%, rgb(0 0 0 / .4) 60%, rgb(0 0 0 / .7) 100%); }
}
@media (max-width: 639px) {
  .pt-film__card { grid-column: 1 / -1; }
  .pt-live__occ { display: none; }
  .pt-film .btn-row .btn { width: 100%; }
}
/* the faq's photograph under its heading, so the calm section still shows the place */
.pt-faq__photo { --ratio: 62%; margin-top: var(--s-5); }
/* on a phone the two-screen faq keeps its photograph as the section's picture, tall enough to fill its screens */
@media (max-width: 639px) { .pt-faq__photo { --ratio: 150%; } }
/* the 2x2's calendar: three weeks and the Bulk Edit row, whole above the fade */
.pt-run .pt-cal__d.is-out, .pt-run .pt-cal__d:nth-child(n+29) { display: none; }
.pt-cal__d.is-out { color: var(--u-muted); }
.pt-cal__d i { color: var(--u-ink); }
.pt-app .pt-table th:last-child, .pt-app .pt-table td:last-child { padding-right: 18px; }
.pt-kb__gdesc { color: var(--ink); max-width: 64ch; margin: calc(-1 * var(--s-2)) 0 var(--s-4); font-size: var(--t-body); }

/* ---------------------------------------------------------------- the hero's stack of live product cards */
.pt-film__card { grid-column: 7 / span 6; grid-row: 1; align-self: stretch; }
/* as tall as the words beside it at least, so the words and the stack centre on one axis; the front card sits
   at the stack's foot, the cards behind step up to its top */
.pt-stack { position: relative; height: 100%; min-height: 336px; direction: ltr; }
/* only the front card shows its body; the cards behind show their title row, so nothing reads through the stack */
.pt-stack__card > :not(.pt-scard__head) { transition: opacity .35s ease; }
.pt-stack.is-live .pt-stack__card:not([data-front]) > :not(.pt-scard__head) { opacity: 0; }
.pt-stack__card { position: absolute; right: 0; bottom: 0; width: min(400px, 100%); transform-origin: 100% 0; }
.pt-stack__card:nth-child(1) { z-index: 4; }
.pt-stack__card:nth-child(2) { z-index: 3; transform: translate(-28px, -32px) scale(.95); opacity: .92; }
.pt-stack__card:nth-child(3) { z-index: 2; transform: translate(-56px, -64px) scale(.9); opacity: .75; }
.pt-stack__card:nth-child(4) { z-index: 1; transform: translate(-84px, -96px) scale(.85); opacity: .55; }
/* right to left the stack mirrors: the front card sits on the column's start (left) line, the cards behind step
   right, so the stack keeps the container's outer edge (HeroStack moves x the other way) */
[dir="rtl"] .pt-stack__card { right: auto; left: 0; transform-origin: 0 0; }
[dir="rtl"] .pt-stack__card:nth-child(2) { transform: translate(28px, -32px) scale(.95); }
[dir="rtl"] .pt-stack__card:nth-child(3) { transform: translate(56px, -64px) scale(.9); }
[dir="rtl"] .pt-stack__card:nth-child(4) { transform: translate(84px, -96px) scale(.85); }
.pt-scard {
  background: #fff; color: #0b2350; border-radius: var(--r-lg); padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start;
  min-height: 238px; font: 400 14px/1.35 var(--font-text);
  box-shadow: 0 1px 2px rgb(0 0 0 / .2), 0 30px 60px -24px rgb(2 10 30 / .75); will-change: transform;
}
.pt-scard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pt-scard__head b { font-weight: 500; font-size: 15px; }
.pt-scard__head small { color: #4a5878; font-size: 13px; }
.pt-scard__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; min-height: 36px; border-top: 1px solid #e3e8f2; }
.pt-scard .pt-chip { --u-fill: #f2f5fb; --u-line: #e3e8f2; --u-muted: #4a5878; }
.pt-heat { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.pt-heat > span { display: grid; gap: 1px; padding: 6px; border-radius: 7px; background: #eaf1ff; min-height: 50px; align-content: start; }
.pt-heat b { font-weight: 500; font-size: 13px; }
.pt-heat i { font-style: normal; font-size: 11px; font-variant-numeric: tabular-nums; color: #0b2350; white-space: nowrap; }
.pt-stack .pt-heat > span { min-height: 80px; }
.pt-heat > span[data-l="1"] { background: #cfdeff; }
.pt-heat > span[data-l="2"] { background: #a9c4ff; }
.pt-heat > span[data-l="3"] { background: #4f86f0; }
.pt-heat > span[data-l="4"] { background: #1c6bff; }
.pt-heat > span[data-l="3"] :is(b, i), .pt-heat > span[data-l="4"] :is(b, i) { color: #fff; }
.pt-heat > span[data-l="x"] { background: repeating-linear-gradient(135deg, #f2f5fb 0 4px, #e3e8f2 4px 8px); }
.pt-fc__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; }
.pt-fc__bars span { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; justify-items: center; }
.pt-fc__bars i { align-self: end; width: 100%; border-radius: 4px 4px 2px 2px; background: #a9c4ff; transform-origin: 50% 100%; }
.pt-fc__bars i.is-peak { background: #1c6bff; }
.pt-fc__bars small { font-size: 12px; color: #4a5878; }
.pt-sync2 { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #eaf6ef; color: #1d6b45; }
.pt-sync2 b { margin-left: auto; color: #0b2350; font-weight: 500; }
.pt-sync2__dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d61; box-shadow: 0 0 0 4px rgb(31 157 97 / .18); }
.pt-sync2__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pt-sync2__dl > div { padding: 8px 10px; border-radius: 8px; background: #f2f5fb; }
.pt-sync2__dl dt { color: #4a5878; font-size: 12px; }
.pt-sync2__dl dd { margin: 0; font-weight: 500; font-size: 16px; }
.pt-film__toggle { inset-inline-end: 0; right: auto; }
@media (max-width: 1279px) { .pt-film__card { grid-column: 7 / span 6; } }
@media (max-width: 1023px) {
  .pt-film__card { grid-column: 1 / -1; grid-row: auto; margin-bottom: 64px; }
  .pt-stack { height: auto; min-height: 0; }
  .pt-stack__card { position: relative; top: auto; bottom: auto; width: min(400px, 100%); }
  .pt-stack__card:not(:first-child) { display: none; }
}
@media (max-width: 639px) { .pt-scard__row--more { display: none; } .pt-scard { min-height: 0; } .pt-film__card { margin-bottom: 56px; } }
/* a tablet is a touch screen too: the kit's phone rule (every link outside running text is a 44px target)
   carries up to the width where the header becomes the full bar */
@media (min-width: 640px) and (max-width: 1023px) {
  :root { --btn-h-sm: 44px; }
  .nav__logo, .footer__mark, .link, :is(a, button).pill { min-height: 44px; }
  :is(a, button).pill { height: auto; }
  .footer ul:has(> li > a) { gap: 0; }
  .footer ul:has(> li > a) > li:not(:has(> a)) { display: flex; align-items: center; min-height: 44px; }
  :is(.footer ul, .footer__legal, .footer__nav) a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .socials a, .footer__legal .socials a { width: 44px; height: 44px; }
}
/* below the desktop grid the reading pages' trail, "On this page" and related links are touch targets in
   body size, the tables read at body size, and the "/" keyboard hint has no keyboard to speak to */
@media (max-width: 1023px) {
  .pt-crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .pt-crumbs li { align-items: center; }
  .pt-aside { font-size: var(--t-body); }
  .pt-aside__block ul { gap: 0; }
  .pt-aside__block a { display: flex; align-items: center; min-height: 44px; }
  .pt-prose table { font-size: 16px; }
  .pt-kb__hint { display: none; }
}
