/*
 * Apps Pay "Orbit deck" dashboards (proposal, 17 November 2026).
 *
 * One stylesheet layered on top of app.css: it changes how the four
 * dashboards look (platform Overview, company Overview, payroll Dashboard,
 * employee Home) and nothing else. No markup, data, wording, links or
 * behaviour change, and every widget stays where it is, so the one-screen
 * fit and the features keep working while other work goes on in the views.
 *
 * The idea: the top of each dashboard sits on the same navy "orbit" stage as
 * the new sign-in and landing page (logo navy, faint grid, drifting dust,
 * orbit rings), and the headline figures float over its edge as glass cards.
 * Below the stage the page stays light and calm for reading and working.
 */

:root {
  --orb-navy: #041d4a;
  --orb-navy-2: #072a66;
  --orb-royal: #0a4fc4;
  --orb-azure: #3fa9f5;
  --orb-cyan: #5fd4ff;
  --orb-ink-on-dark: #ffffff;
  --orb-sub-on-dark: #b9c9ee;
  --orb-glass-line: rgba(140, 190, 255, 0.28);
  --orb-card-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04), 0 10px 28px -14px rgba(4, 29, 74, 0.28);
  --orb-kpi-shadow:
    0 1px 2px rgba(4, 29, 74, 0.08), 0 22px 44px -22px rgba(4, 29, 74, 0.55);
}

/* ---------- The stage --------------------------------------------------- */

html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home) {
  position: relative;
  isolation: isolate;
  --orb-overlap: 74px;
}
/* The stage hangs from the heading, so it grows when the heading wraps
   (narrow windows, phones) and reaches halfway down the first row below. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head {
  position: relative;
}

html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::before,
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
/* Navy stage: gradient, faint grid and dust, fading at the bottom edge. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::before {
  top: calc(-1 * var(--orb-pad-top, 14px));
  left: calc(-1 * var(--orb-pad-x, 20px));
  right: calc(-1 * var(--orb-pad-x, 20px));
  bottom: calc(-1 * var(--orb-overlap));
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.35) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 /
      52px 100%,
    radial-gradient(
      120% 160% at 85% -20%,
      rgba(63, 169, 245, 0.32),
      transparent 55%
    ),
    radial-gradient(
      80% 120% at 0% 120%,
      rgba(10, 79, 196, 0.45),
      transparent 60%
    ),
    linear-gradient(
      118deg,
      var(--orb-navy) 0%,
      var(--orb-navy-2) 58%,
      #0b3d93 100%
    );
  -webkit-mask-image: linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0);
  box-shadow: inset 0 -1px 0 rgba(120, 180, 255, 0.18);
}
/* Orbit rings off to the right (as on the sign-in screen) and fine dust
   drifting slowly the other way. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::after {
  top: calc(-1 * var(--orb-pad-top, 14px));
  left: calc(-1 * var(--orb-pad-x, 20px));
  right: calc(-1 * var(--orb-pad-x, 20px));
  bottom: calc(-1 * var(--orb-overlap));
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(
      circle at 84% -30px,
      transparent 139px,
      rgba(140, 195, 255, 0.22) 140px,
      transparent 141.5px
    ),
    radial-gradient(
      circle at 84% -30px,
      transparent 209px,
      rgba(140, 195, 255, 0.16) 210px,
      transparent 211.5px
    ),
    radial-gradient(
      circle at 84% -30px,
      transparent 289px,
      rgba(140, 195, 255, 0.11) 290px,
      transparent 291.5px
    ),
    radial-gradient(
      circle at 84% -30px,
      transparent 379px,
      rgba(140, 195, 255, 0.07) 380px,
      transparent 381.5px
    ),
    radial-gradient(4px 4px at calc(84% - 140px) 70px, #8fd0ff, transparent),
    radial-gradient(3px 3px at calc(84% + 196px) 60px, #5ee0a8, transparent),
    radial-gradient(
        1px 1px at 20px 30px,
        rgba(200, 225, 255, 0.55) 90%,
        transparent
      )
      0 0 / 90px 70px,
    radial-gradient(
        1px 1px at 60px 10px,
        rgba(200, 225, 255, 0.35) 90%,
        transparent
      )
      0 0 / 130px 90px;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-look]:not([data-reduce-motion])
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
    > .page-head::after {
    animation: orb-dust 90s linear infinite;
  }
}
@keyframes orb-dust {
  to {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      -900px 140px,
      520px -180px;
  }
}

/* ---------- Heading on the stage --------------------------------------- */

html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  h1 {
  color: var(--orb-ink-on-dark);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 18px rgba(63, 169, 245, 0.25);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .sub {
  color: var(--orb-sub-on-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
/* A small live dot: the figures below are this company's live data. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .sub::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow:
    0 0 0 3px rgba(52, 211, 153, 0.18),
    0 0 10px #34d399;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid var(--orb-glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(160, 205, 255, 0.5);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .btn.primary {
  background: linear-gradient(180deg, #2f8ff0, var(--orb-royal));
  border: 1px solid rgba(140, 200, 255, 0.55);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(63, 169, 245, 0.15),
    0 8px 22px -6px rgba(63, 169, 245, 0.65);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head
  .btn:focus-visible {
  outline: 2px solid var(--orb-cyan);
  outline-offset: 2px;
}

/* Payroll: "records to finish" note reads as a glass strip on the stage. */
html[data-look] .dash-home > .ready-notice {
  background: linear-gradient(
    90deg,
    rgba(9, 40, 98, 0.94),
    rgba(11, 52, 124, 0.9)
  );
  border: 1px solid var(--orb-glass-line);
  color: var(--orb-sub-on-dark);
  backdrop-filter: blur(8px);
}
html[data-look] .dash-home > .ready-notice strong {
  color: #fff;
}
html[data-look] .dash-home > .ready-notice strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  vertical-align: 1px;
  background: #f5b041;
  box-shadow: 0 0 8px #f5b041;
}
html[data-look] .dash-home > .ready-notice a {
  color: #8fd0ff;
}

/* Payroll and employee hero: a glowing glass panel, like the landing page's
   pay-run preview. */
html[data-look] :is(.dash-home, .emp-home) > .hero {
  background:
    radial-gradient(
      90% 140% at 100% 0%,
      rgba(63, 169, 245, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, #0a2a68 0%, #0b3a8c 100%);
  border: 1px solid rgba(110, 180, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(63, 169, 245, 0.12),
    0 0 34px -6px rgba(63, 169, 245, 0.45),
    0 24px 48px -24px rgba(4, 29, 74, 0.7);
}

/* ---------- Headline figures: glass cards over the stage edge ---------- */

html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi-grid
  > .kpi {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97),
    rgba(247, 250, 255, 0.95)
  );
  box-shadow: var(--orb-kpi-shadow);
  backdrop-filter: blur(14px);
  --orb-tone: var(--pv, var(--orb-royal));
  --orb-tone-2: color-mix(in srgb, var(--pv, var(--orb-royal)) 55%, #8fd0ff);
}
/* Replace the thin top line with an orbit ring in the corner. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi-grid
  > .kpi::before {
  content: "";
  position: absolute;
  inset: auto -38px -52px auto;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--orb-tone-2) 26%, transparent);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--orb-tone-2) 4%, transparent);
  background: none;
  pointer-events: none;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi-grid
  > .kpi::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orb-tone-2),
    transparent
  );
  opacity: 0.9;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .kpi-ico {
  background: linear-gradient(145deg, var(--orb-tone-2), var(--orb-tone));
  color: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 12px -3px
    color-mix(in srgb, var(--orb-tone) 70%, transparent);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .kpi-ico
  svg {
  color: #fff;
  stroke: currentColor;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .kpi-label {
  color: var(--ink-2);
  letter-spacing: 0.06em;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .kpi-value {
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .pv-meter,
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  .kpi-bar {
  filter: drop-shadow(
    0 0 4px color-mix(in srgb, var(--orb-tone-2) 60%, transparent)
  );
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  a.kpi:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.08),
    0 28px 50px -22px rgba(4, 29, 74, 0.6);
}

/* ---------- Working area below the stage ------------------------------- */

html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  :is(.po-screen, .co-screen, .home-setup, .widgets, .grid)
  .card {
  border: 1px solid rgba(207, 222, 245, 0.7);
  border-radius: 18px;
  box-shadow: var(--orb-card-shadow);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  :is(.po-screen, .co-screen, .home-setup, .widgets, .grid)
  .card-head {
  border-bottom-color: rgba(207, 222, 245, 0.6);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  :is(.po-screen, .co-screen, .home-setup, .widgets, .grid)
  .card-head
  h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.005em;
}
/* Every panel title gets the orbit-label dot from the sign-in screen. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  :is(.po-screen, .co-screen, .home-setup, .widgets, .grid)
  .card-head
  h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  rotate: 45deg;
  background: linear-gradient(135deg, var(--orb-azure), var(--orb-royal));
  box-shadow: 0 0 8px rgba(63, 169, 245, 0.6);
}

/* Bar charts: earlier runs soft, the latest run bright, rounded tops. */
html[data-look] :is(.platform-overview, .company-overview, .dash-home) .bc-bar {
  fill: #b9d3f6;
  rx: 1.6px;
  ry: 3px;
  transition: fill 0.2s;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:last-child
  .bc-bar {
  fill: var(--orb-royal);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:last-child
  .bc-svg {
  filter: drop-shadow(0 6px 10px rgba(10, 79, 196, 0.35));
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:hover
  .bc-bar {
  fill: var(--orb-azure);
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:last-child
  .bc-v {
  color: var(--orb-royal);
  font-weight: 800;
}

/* Donuts: glow, and the centre figure always fits inside the ring. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .pv-donut-svg {
  filter: drop-shadow(0 4px 10px rgba(10, 79, 196, 0.25));
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .pv-donut-seg {
  stroke-linecap: butt;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .pv-donut-big {
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 72%;
  text-align: center;
}

/* Status tiles: tinted glass with a glowing dot, no heavy left bar. */
html[data-look] :is(.platform-overview, .company-overview) .po-tile {
  border: 1px solid rgba(207, 222, 245, 0.8);
  border-left-width: 1px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f6f9fe);
  box-shadow: 0 1px 2px rgba(4, 29, 74, 0.04);
  position: relative;
  overflow: hidden;
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--orb-tile, var(--orb-royal)),
    transparent 80%
  );
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile.green {
  --orb-tile: #10a463;
  background: linear-gradient(180deg, #ffffff, #f2fbf6);
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile.amber {
  --orb-tile: #e08a12;
  background: linear-gradient(180deg, #ffffff, #fef8ee);
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile.red {
  --orb-tile: #d23b2c;
  background: linear-gradient(180deg, #ffffff, #fdf3f2);
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile .dot {
  box-shadow: 0 0 8px currentColor;
}
html[data-look] :is(.platform-overview, .company-overview) .po-tile:hover {
  border-color: rgba(63, 169, 245, 0.55);
  box-shadow: 0 8px 20px -12px rgba(10, 79, 196, 0.45);
}

/* Lists: rows lift gently on hover. */
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .list
  > li:not(.po-att-head) {
  transition: background 0.15s;
}
html[data-look]
  :is(.platform-overview, .company-overview, .dash-home)
  .list
  > li:not(.po-att-head):hover {
  background: linear-gradient(90deg, rgba(63, 169, 245, 0.07), transparent 70%);
}
html[data-look] .platform-overview .po-att-head {
  background: #f4f8fe;
}

/* ---------- Classic look: same stage beside the navy side menu ---------- */

html[data-look="classic"]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::before,
html[data-look="classic"]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::after {
  border-radius: 0 0 0 28px;
}

/* ---------- Dark colours ------------------------------------------------ */

html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::before {
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.28) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.05) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.05) 1px, transparent 1px) 0 0 /
      52px 100%,
    radial-gradient(
      120% 160% at 85% -20%,
      rgba(63, 169, 245, 0.28),
      transparent 55%
    ),
    linear-gradient(118deg, #06204f 0%, #0a2f73 60%, #0d3b8a 100%);
  box-shadow:
    inset 0 -1px 0 rgba(120, 180, 255, 0.25),
    0 20px 40px -30px rgba(63, 169, 245, 0.4);
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi-grid
  > .kpi {
  background: linear-gradient(
    180deg,
    rgba(22, 36, 62, 0.92),
    rgba(15, 26, 46, 0.92)
  );
  border-color: rgba(120, 170, 255, 0.22);
  box-shadow:
    0 22px 44px -22px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi
  :is(.kpi-value, .kpi-label) {
  color: inherit;
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  :is(.po-screen, .co-screen, .home-setup, .widgets, .grid)
  .card {
  border-color: rgba(120, 170, 255, 0.14);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.8);
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-bar {
  fill: #2a4a7d;
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:last-child
  .bc-bar {
  fill: var(--orb-azure);
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview, .dash-home)
  .bc-col:last-child
  .bc-v {
  color: var(--orb-azure);
}
html[data-look][data-theme="dark"]
  :is(.platform-overview, .company-overview)
  .po-tile {
  background: linear-gradient(
    180deg,
    rgba(25, 40, 68, 0.9),
    rgba(17, 29, 50, 0.9)
  );
  border-color: rgba(120, 170, 255, 0.16);
}
html[data-look][data-theme="dark"] .platform-overview .po-att-head {
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Phones and print -------------------------------------------- */

@media (max-width: 760px) {
  html[data-look]
    :is(.platform-overview, .company-overview, .dash-home, .emp-home) {
    --orb-pad-top: 20px;
    --orb-pad-x: 16px;
    --orb-overlap: 60px;
  }
  html[data-look]
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
    > .page-head::after {
    display: none;
  }
}
@media print {
  html[data-look]
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
    > .page-head::before,
  html[data-look]
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
    > .page-head::after {
    display: none;
  }
  html[data-look]
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
    > .page-head
    :is(h1, .sub) {
    color: #000;
    text-shadow: none;
  }
}

/* The stage bleeds to the page edges; never make the page scroll sideways. */
main.page:has(
    > :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  ) {
  overflow-x: clip;
}

/* ======================================================================
 * Orbit dashboard widgets (owner, 18 November 2026): Option 1.
 * The payroll dashboard's heading, pay run orbit and "Needs you" card sit
 * on the navy stage; the headline cards overlap its edge; everything below
 * stays light. Markup: views-payroll-dashboard.js (orbitPayRun, needsYou).
 * ====================================================================== */

html[data-look] .orbit-board > .orbit-stage {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: calc(100% + 2 * var(--orb-pad-x, 20px));
  max-width: none;
  align-self: stretch;
  margin: calc(-1 * var(--orb-pad-top, 14px)) calc(-1 * var(--orb-pad-x, 20px))
    0;
  padding: var(--orb-pad-top, 14px) var(--orb-pad-x, 20px) 56px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 0 0 28px 28px;
  color: #e6eeff;
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.32) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 /
      52px 100%,
    radial-gradient(
      700px 320px at 85% -20%,
      rgba(63, 169, 245, 0.3),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 0% 120%,
      rgba(10, 79, 196, 0.45),
      transparent 60%
    ),
    linear-gradient(118deg, #041d4a 0%, #072a66 60%, #0b3d93 100%);
  box-shadow: inset 0 -1px 0 rgba(120, 180, 255, 0.18);
}
html[data-look="classic"] .orbit-board > .orbit-stage {
  border-radius: 0 0 0 28px;
}
html[data-look] .orbit-board > .orbit-stage > .page-head h1 {
  color: #ffffff;
  letter-spacing: -0.02em;
}
html[data-look] .orbit-board > .orbit-stage > .page-head .sub {
  color: #b9c9ee;
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-look] .orbit-board > .orbit-stage > .page-head .sub::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow:
    0 0 0 3px rgba(52, 211, 153, 0.18),
    0 0 10px #34d399;
}
html[data-look] .orbit-board > .orbit-stage > .page-head .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(140, 190, 255, 0.3);
}
html[data-look]
  .orbit-board
  > .orbit-stage
  > .page-head
  .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.14);
}
html[data-look] .orbit-board > .orbit-stage > .page-head .btn.primary {
  background: linear-gradient(180deg, #1a6fd8, #0a4fc4);
  border: 1px solid rgba(140, 200, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(63, 169, 245, 0.65);
}
html[data-look] .orbit-board > .orbit-stage .btn:focus-visible {
  outline: 2px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .orbit-board > .orbit-stage > .callout {
  background: rgba(9, 40, 98, 0.92);
  border-color: rgba(140, 190, 255, 0.3);
  color: #dbe6fb;
}
html[data-look] .orbit-board > .orbit-stage > .callout a {
  color: #8fd0ff;
}

/* The pay run orbit and "Needs you", side by side. */
html[data-look] .orbit-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
}
html[data-look] .orb-run {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 6px 20px;
  border-radius: 24px;
  background: linear-gradient(
    140deg,
    rgba(10, 42, 104, 0.9),
    rgba(7, 30, 74, 0.8)
  );
  box-shadow:
    inset 0 0 0 1px rgba(110, 180, 255, 0.4),
    0 0 36px -10px rgba(63, 169, 245, 0.45);
}
html[data-look] .orb-ring {
  position: relative;
  flex: none;
  width: 136px;
  height: 136px;
}
html[data-look] .orb-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
html[data-look] .orb-ring-dash {
  fill: none;
  stroke: rgba(140, 195, 255, 0.14);
  stroke-dasharray: 2 6;
}
html[data-look] .orb-ring-track {
  fill: none;
  stroke: rgba(140, 195, 255, 0.16);
  stroke-width: 10;
}
html[data-look] .orb-ring-fill {
  fill: none;
  stroke: #5fd4ff;
  stroke-width: 10;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(95, 212, 255, 0.6));
}
html[data-look] .orb-mark.done {
  fill: #34d399;
}
html[data-look] .orb-mark.now {
  fill: #041d4a;
  stroke: #5fd4ff;
  stroke-width: 3;
}
html[data-look] .orb-mark.todo {
  fill: #0b2b66;
  stroke: rgba(140, 195, 255, 0.5);
  stroke-width: 2;
}
html[data-look] .orb-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}
html[data-look] .orb-ring-k {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9c4ee;
}
html[data-look] .orb-ring-n {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(63, 169, 245, 0.55);
}
html[data-look] .orb-ring-s {
  font-size: 12.5px;
  font-weight: 600;
  color: #dbe6fb;
}
html[data-look] .orb-run-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .orb-run-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
html[data-look] .orb-ring-n.word {
  font-size: 26px;
  margin: 4px 0;
}
html[data-look] .orb-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.16);
  box-shadow: inset 0 0 0 1px rgba(63, 169, 245, 0.45);
}
html[data-look] .orb-chip.warn {
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.16);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.5);
}
html[data-look] .orb-chip.good {
  color: #9ff3cf;
  background: rgba(52, 211, 153, 0.14);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.45);
}
html[data-look] .orb-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
html[data-look] .orb-run-step {
  font-size: 12px;
  color: #a9c4ee;
}
html[data-look] .orb-run-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c4ee;
}
html[data-look] .orb-run-title {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #ffffff;
}
html[data-look] .orb-run-meta {
  margin: 0;
  font-size: 13.5px;
  color: #c9d8f5;
}
html[data-look] .orb-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
html[data-look] .orb-steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #9fb4dc;
  min-width: 0;
}
html[data-look] .orb-step-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(140, 195, 255, 0.22);
}
html[data-look] .orb-steps li.done {
  color: #b9f0d8;
}
html[data-look] .orb-steps li.done .orb-step-bar {
  background: #34d399;
}
html[data-look] .orb-steps li.now {
  color: #ffffff;
  font-weight: 700;
}
html[data-look] .orb-steps li.now .orb-step-bar {
  background: linear-gradient(
    90deg,
    #5fd4ff 50%,
    rgba(140, 195, 255, 0.22) 50%
  );
  box-shadow: 0 0 10px rgba(95, 212, 255, 0.7);
}
html[data-look] .orb-run-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
html[data-look] .orb-run-actions .btn.primary {
  background: #ffffff;
  color: #041d4a;
  border-color: #ffffff;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
}
html[data-look] .orb-run-actions .btn.primary:hover {
  background: #e8f1fc;
}

/* "Needs you": a white card floating on the stage. */
html[data-look] .orb-needs {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--ink, #0b1f3f);
  box-shadow: 0 22px 44px -22px rgba(4, 29, 74, 0.6);
  /* Takes the pay run's height and scrolls its own list. */
  contain: size;
}
html[data-look] .orb-needs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px;
}
html[data-look] .orb-needs-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}
html[data-look] .orb-needs-n {
  font-size: 12px;
  font-weight: 600;
  color: #4f5c76;
}
html[data-look] .orb-needs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  min-height: 0;
}
html[data-look] .orb-need {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 14px;
  background: #f2f6fb;
  color: inherit;
  text-decoration: none;
}
html[data-look] .orb-need:hover {
  background: #e8f1fc;
}
html[data-look] .orb-need:focus-visible {
  outline: 2px solid #0a4fc4;
  outline-offset: 2px;
}
html[data-look] .orb-need-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d3e5fa;
  color: #0a4fc4;
}
html[data-look] .orb-need-ico svg {
  width: 17px;
  height: 17px;
}
html[data-look] .orb-need.amber {
  background: #fdf3e3;
}
html[data-look] .orb-need.amber .orb-need-ico {
  background: #fde3b8;
  color: #8a4b00;
}
html[data-look] .orb-need.red {
  background: #fdecea;
}
html[data-look] .orb-need.red .orb-need-ico {
  background: #f9cfca;
  color: #a11d14;
}
html[data-look] .orb-need-ico.good {
  background: #d6f3e6;
  color: #0f7a4c;
}
html[data-look] .orb-need-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
html[data-look] .orb-need-text strong {
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .orb-need-text span {
  font-size: 12px;
  color: #4f5c76;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-look] .orb-need-go {
  flex: none;
  color: #4f5c76;
}
html[data-look] .orb-needs-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}
html[data-look] .orb-needs-empty strong {
  display: block;
  font-size: 14px;
}
html[data-look] .orb-needs-empty span span {
  font-size: 12.5px;
  color: #4f5c76;
}

/* Headline cards overlap the stage edge. */
html[data-look] .orbit-board > .kpi-grid {
  position: relative;
  z-index: 1;
  margin-top: -50px;
}

/* Dark colours: "Needs you" turns to dark glass. */
html[data-look][data-theme="dark"] .orb-needs {
  background: linear-gradient(
    180deg,
    rgba(16, 50, 112, 0.96),
    rgba(9, 35, 84, 0.96)
  );
  color: #eef4ff;
  box-shadow:
    inset 0 0 0 1px rgba(120, 185, 255, 0.3),
    0 22px 44px -22px rgba(0, 0, 0, 0.85);
}
html[data-look][data-theme="dark"] .orb-need {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.16);
}
html[data-look][data-theme="dark"] .orb-need:hover {
  background: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .orb-need.amber {
  background: rgba(245, 176, 65, 0.1);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.3);
}
html[data-look][data-theme="dark"] .orb-need.red {
  background: rgba(255, 122, 122, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 140, 0.32);
}
html[data-look][data-theme="dark"] .orb-need-ico {
  background: rgba(63, 169, 245, 0.18);
  color: #8fd0ff;
}
html[data-look][data-theme="dark"] .orb-need.amber .orb-need-ico {
  background: rgba(245, 176, 65, 0.2);
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .orb-need.red .orb-need-ico {
  background: rgba(255, 122, 122, 0.2);
  color: #ffb4b4;
}
html[data-look][data-theme="dark"]
  :is(
    .orb-need-text span,
    .orb-needs-n,
    .orb-need-go,
    .orb-needs-empty span span
  ) {
  color: #b9c9ee;
}
html[data-look][data-theme="dark"] .orbit-board > .orbit-stage {
  box-shadow:
    inset 0 -1px 0 rgba(120, 180, 255, 0.3),
    0 24px 48px -30px rgba(63, 169, 245, 0.5);
}

/* Narrow windows and phones: the two stack; the ring gets smaller. */
@media (max-width: 1100px) {
  html[data-look] .orbit-row {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-look] .orb-needs {
    contain: none;
  }
}
@media (max-width: 760px) {
  html[data-look] .orbit-board > .orbit-stage {
    --orb-pad-top: 20px;
    --orb-pad-x: 16px;
    padding-bottom: 48px;
  }
  html[data-look] .orb-run {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  html[data-look] .orb-ring {
    width: 140px;
    height: 140px;
    align-self: center;
  }
  html[data-look] .orb-ring-n {
    font-size: 38px;
  }
  html[data-look] .orb-steps li {
    font-size: 11px;
  }
}
@media print {
  html[data-look] .orbit-board > .orbit-stage {
    background: none;
    color: #000;
    box-shadow: none;
  }
}

/* The lower card is titled "What's due", so its inner heading is not
   repeated; the "Needs you" list fades at the bottom when it scrolls. */
html[data-look] .orbit-board .pd-low-0 .due-h {
  display: none;
}
html[data-look] .orb-needs-list {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 18px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 18px), transparent);
  padding-bottom: 12px;
}

/* ======================================================================
 * Orbit working area (owner, 18 November 2026): the headline cards with a
 * small picture each, the gross pay chart with a range switch, and who's
 * away this week with a week strip. Markup: views-payroll-dashboard.js
 * (orbitTiles, grossChartCard, awayCard).
 * ====================================================================== */
html[data-look] .co-dense .kpi-grid.orb-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
html[data-look] .orb-kpis > .kpi::before,
html[data-look] .orb-kpis > .kpi::after {
  display: none;
}
html[data-look] .orb-kpis > .orb-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 18px 8px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.06),
    0 20px 40px -22px rgba(4, 29, 74, 0.5);
}
html[data-look] .orb-kpi-l {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
}
html[data-look] .orb-kpi-v {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
html[data-look] .orb-kpi-vis {
  height: 24px;
  display: flex;
  align-items: center;
}
html[data-look] .orb-kpi-s {
  font-size: 12.5px;
  color: var(--ink-3);
}
html[data-look] .orb-spark {
  width: 100%;
  height: 28px;
}
html[data-look] .orb-spark-line {
  fill: none;
  stroke: #0a4fc4;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
html[data-look] .orb-spark-area {
  fill: rgba(10, 79, 196, 0.09);
}
html[data-look] .orb-meter {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #e8eef7;
  overflow: hidden;
}
html[data-look] .orb-meter-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #0a4fc4;
}
html[data-look] .orb-meter-fill.amber {
  background: #e08a12;
}
html[data-look] .orb-split {
  flex: 1;
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #e8eef7;
}
html[data-look] .orb-split-a {
  background: #0a4fc4;
}
html[data-look] .orb-split-b {
  background: #7c64e8;
}
html[data-look] .orb-faces {
  display: flex;
  align-items: center;
}
html[data-look] .orb-face {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: -5px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 0 0 2px #ffffff;
}
html[data-look] .orb-face:first-child {
  margin-left: 0;
}
html[data-look] .orb-faces-n {
  margin-left: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}
html[data-look] :is(.orb-face, .orb-avatar).c0 {
  background: linear-gradient(145deg, #1a6fd8, #0842a8);
}
html[data-look] :is(.orb-face, .orb-avatar).c1 {
  background: linear-gradient(145deg, #13865a, #0b6340);
}
html[data-look] :is(.orb-face, .orb-avatar).c2 {
  background: linear-gradient(145deg, #6f55e0, #4a2fc0);
}
html[data-look] :is(.orb-face, .orb-avatar).c3 {
  background: linear-gradient(145deg, #b8650a, #8a4b00);
}

/* Gross pay chart. */
html[data-look] .orb-seg {
  display: flex;
  padding: 3px;
  border-radius: 12px;
  background: #eef3fb;
}
html[data-look] .orb-seg button {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}
html[data-look] .orb-seg button.on {
  background: #0a4fc4;
  color: #ffffff;
}
html[data-look] .orb-seg button:focus-visible {
  outline: 2px solid #0a4fc4;
  outline-offset: 2px;
}
html[data-look] .orb-chart-holder {
  height: 100%;
  min-height: 0;
  display: flex;
}
html[data-look] .orb-bars {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}
html[data-look] .orb-bars.many {
  gap: 3px;
}
html[data-look] .orb-bar-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
html[data-look] .orb-bar-v {
  font-size: 11.5px;
  color: var(--ink-3);
  min-height: 14px;
  white-space: nowrap;
}
html[data-look] .orb-bar-track {
  flex: 1;
  min-height: 30px;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
html[data-look] .orb-bar {
  display: block;
  width: 100%;
  border-radius: 8px 8px 3px 3px;
  background: #c4dbf7;
  transition: background 0.15s;
}
html[data-look] .orb-bars.many .orb-bar {
  border-radius: 4px 4px 2px 2px;
}
html[data-look] .orb-bar-col:hover .orb-bar {
  background: #9cc3f2;
}
html[data-look] .orb-bar-col.latest .orb-bar {
  background: linear-gradient(180deg, #3fa9f5, #0a4fc4);
  box-shadow: 0 10px 18px -8px rgba(10, 79, 196, 0.6);
}
html[data-look] .orb-bar-col.latest .orb-bar-v {
  color: #0a4fc4;
  font-weight: 800;
}
html[data-look] .orb-bar-l {
  font-size: 11.5px;
  color: var(--ink-3);
  min-height: 14px;
  white-space: nowrap;
}
html[data-look] .orb-bar-col.latest .orb-bar-l {
  color: var(--ink);
  font-weight: 750;
}

/* Who's away this week. */
html[data-look] .orb-away {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html[data-look] .orb-away-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  min-height: 0;
}
html[data-look] .orb-away-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
html[data-look] .orb-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
html[data-look] .orb-away-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
html[data-look] .orb-away-text strong {
  font-size: 14px;
}
html[data-look] .orb-away-text span {
  font-size: 12.5px;
  color: var(--ink-3);
}
html[data-look] .orb-badge {
  flex: none;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #073082;
  background: #e8f1fc;
}
html[data-look] .orb-badge.asked {
  color: #8a4b00;
  background: #fdf3e3;
}
html[data-look] .orb-week {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
html[data-look] .orb-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  text-align: center;
}
html[data-look] .orb-day-l {
  font-size: 11px;
  color: var(--ink-3);
}
html[data-look] .orb-day.today .orb-day-l {
  color: var(--ink);
  font-weight: 800;
}
html[data-look] .orb-day-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: #e8eef7;
}
html[data-look] .orb-seg-c {
  flex: 1;
}
html[data-look] .orb-seg-c.c0 {
  background: #0a4fc4;
}
html[data-look] .orb-seg-c.c1 {
  background: #10a463;
}
html[data-look] .orb-seg-c.c2 {
  background: #7c64e8;
}
html[data-look] .orb-seg-c.c3 {
  background: #e08a12;
}
html[data-look] .orb-seg-c.asked {
  opacity: 0.45;
}

/* Dark colours. */
html[data-look][data-theme="dark"] .orb-kpis > .orb-kpi {
  background: linear-gradient(
    180deg,
    rgba(16, 50, 112, 0.94),
    rgba(9, 35, 84, 0.94)
  );
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(120, 185, 255, 0.3),
    0 24px 44px -24px rgba(0, 0, 0, 0.85);
}
html[data-look][data-theme="dark"] :is(.orb-meter, .orb-split, .orb-day-bar) {
  background: rgba(140, 195, 255, 0.16);
}
html[data-look][data-theme="dark"] .orb-spark-line {
  stroke: #5fd4ff;
}
html[data-look][data-theme="dark"] .orb-spark-area {
  fill: rgba(95, 212, 255, 0.14);
}
html[data-look][data-theme="dark"]
  :is(.orb-meter-fill:not(.amber), .orb-split-a, .orb-seg-c.c0) {
  background: #3fa9f5;
}
html[data-look][data-theme="dark"] .orb-face {
  box-shadow: 0 0 0 2px #0c2a60;
}
html[data-look][data-theme="dark"] .orb-seg {
  background: rgba(255, 255, 255, 0.07);
}
html[data-look][data-theme="dark"] .orb-seg button.on {
  background: #3fa9f5;
  color: #031535;
}
html[data-look][data-theme="dark"] .orb-bar {
  background: rgba(140, 195, 255, 0.22);
}
html[data-look][data-theme="dark"] .orb-bar-col:hover .orb-bar {
  background: rgba(140, 195, 255, 0.35);
}
html[data-look][data-theme="dark"] .orb-bar-col.latest .orb-bar {
  background: linear-gradient(180deg, #5fd4ff, #0a4fc4);
  box-shadow: 0 0 20px -4px rgba(63, 169, 245, 0.7);
}
html[data-look][data-theme="dark"] .orb-bar-col.latest .orb-bar-v {
  color: #8fd0ff;
}
html[data-look][data-theme="dark"] .orb-badge {
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.16);
}
html[data-look][data-theme="dark"] .orb-badge.asked {
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.16);
}

@media (max-width: 1100px) {
  html[data-look] .co-dense .kpi-grid.orb-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Orbit working area layout: the gross pay chart wide with who's away
   beside it, then what's due, the pay calendar and where the money went. */
html[data-look] .co-dense .co-screen.orb-screen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "chart chart away"
    "due cal money";
  min-height: 340px;
}
html[data-look] .orb-screen > .orb-c-chart {
  grid-area: chart;
}
html[data-look] .orb-screen > .orb-c-away {
  grid-area: away;
}
html[data-look] .orb-screen > .orb-c-due {
  grid-area: due;
}
html[data-look] .orb-screen > .orb-c-cal {
  grid-area: cal;
}
html[data-look] .orb-screen > .orb-c-money {
  grid-area: money;
}
@media (max-width: 1100px) {
  html[data-look] .co-dense .co-screen.orb-screen {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "chart" "away" "due" "cal" "money";
  }
}

/* Where the money went, in a third-width cell: the three amounts side by
   side so none is cut off. */
html[data-look] .orb-c-money .ms-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
html[data-look] .orb-c-money .ms-l {
  font-size: 11.5px;
  line-height: 1.3;
}
html[data-look] .orb-c-money .ms-v {
  font-size: 16px;
}
html[data-look] .orb-c-money .ms-legend > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ======================================================================
 * Orbit Command dark (owner approved the direction, 18 November 2026).
 *
 * Replaces the plain "Midnight" dark background with the Orbit Command look:
 * Apps Technologies logo navy throughout, the faint grid and dust of the
 * sign-in screen, glass panels with a light-blue edge, and a glowing main
 * button. Applies wherever the Dark colours are on (Dark, Match my device
 * at night, and Classic with dark colours). The other dark backgrounds
 * (Charcoal, Deep blue) and every dark accent choice keep working: this
 * block sets only the background family, never the accent (--blue).
 * ====================================================================== */

html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  body {
  --surface: #03153a;
  --surface-2: #062052;
  --card: #0a2554;
  --line: #1c3a72;
  --line-2: #2b4f8e;
  --navy: #020d26;
  --navy-2: #0a2a66;
  --navy-top: #031537;
  --navy-glow: #3fa9f5;
  --ink: #eef4ff;
  --ink-2: #c6d4ef;
  --ink-3: #a9bbe0;
  --dk-hero: linear-gradient(140deg, #0b2d6e 0%, #082457 100%);
  --dk-th: #0b2a5e;
  --dk-hover: #10336f;
  --dk-badge: #133672;
  --dk-input: #041a42;
  --dk-input-off: #0a2554;
  --depth-edge: rgba(150, 200, 255, 0.08);
  --orb-glass-edge: rgba(110, 175, 255, 0.24);
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.16) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.035) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.035) 1px, transparent 1px) 0
      0 / 52px 100%,
    radial-gradient(
      900px 520px at 85% -10%,
      rgba(63, 169, 245, 0.2),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 0% 110%,
      rgba(10, 79, 196, 0.28),
      transparent 60%
    ),
    linear-gradient(160deg, #031535 0%, #041d4a 55%, #06245a 100%);
  background-attachment: fixed;
}

/* Panels: navy glass with a fine light-blue edge. */
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  :is(
    .page .card,
    .page .stat,
    .page .kpi,
    .page .table-card,
    .page details.disclosure.card-like,
    .drawer,
    .dialog
  ) {
  background: linear-gradient(
    180deg,
    rgba(13, 44, 100, 0.94),
    rgba(8, 33, 80, 0.94)
  );
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px var(--orb-glass-edge),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 48px -28px rgba(0, 0, 0, 0.8);
}
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  .page
  .card
  :is(.card, .stat, .kpi) {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(110, 175, 255, 0.16);
}

/* Top bar and side menu: deep navy glass. */
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  .topbar {
  background: rgba(3, 18, 48, 0.82);
  border-color: rgba(110, 175, 255, 0.16);
  backdrop-filter: blur(14px);
}
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  .sidebar {
  background: linear-gradient(180deg, #020d26, #031537);
  border-right: 1px solid rgba(110, 175, 255, 0.14);
}
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  :is(
    .t-link[aria-current="page"],
    .t-link.active,
    .sb-link[aria-current="page"],
    .sb-link.active
  ) {
  background: linear-gradient(
    180deg,
    rgba(63, 169, 245, 0.26),
    rgba(10, 79, 196, 0.2)
  );
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(140, 200, 255, 0.4),
    0 0 16px -4px rgba(63, 169, 245, 0.55);
}

/* Main button: azure glow, as on the sign-in card. White text. */
html[data-theme="dark"]:where(
    :not([data-dark-bg="charcoal"]):not([data-dark-bg="ocean"])
  )
  .btn.primary {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--blue) 64%, #041d4a),
    color-mix(in srgb, var(--blue) 50%, #041d4a)
  );
  border-color: color-mix(in srgb, var(--blue) 75%, #ffffff);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(4, 29, 74, 0.45);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue) 35%, transparent),
    0 10px 24px -10px color-mix(in srgb, var(--blue) 85%, transparent);
}
html[data-theme="dark"]:where(
    :not([data-dark-bg="charcoal"]):not([data-dark-bg="ocean"])
  )
  .btn.primary:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--blue) 58%, #041d4a),
    color-mix(in srgb, var(--blue) 44%, #041d4a)
  );
}
html[data-theme="dark"]:where(
    :not([data-dark-bg="charcoal"]):not([data-dark-bg="ocean"])
  )
  .btn:where(:not(.primary):not(.ghost)) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(110, 175, 255, 0.3);
}
html[data-theme="dark"]:where(
    :not([data-dark-bg="charcoal"]):not([data-dark-bg="ocean"])
  )
  .btn:where(:not(.primary):not(.ghost)):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(150, 205, 255, 0.5);
}

/* Pay-run hero: glowing glass, like the landing page's pay-run preview. */
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  .hero {
  border-color: rgba(110, 180, 255, 0.5);
  box-shadow:
    0 0 0 1px rgba(63, 169, 245, 0.12),
    0 0 34px -8px rgba(63, 169, 245, 0.4);
}

/* Fields. */
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  :is(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
  ):focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent);
}

/* Dashboards: the stage blends into the navy page, so give it a brighter
   edge and keep the headline cards as glass. */
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  > .page-head::before {
  box-shadow:
    inset 0 -1px 0 rgba(120, 180, 255, 0.3),
    0 24px 48px -30px rgba(63, 169, 245, 0.5);
}
html[data-theme="dark"]:not([data-dark-bg="charcoal"]):not(
    [data-dark-bg="ocean"]
  )
  :is(.platform-overview, .company-overview, .dash-home)
  .kpi-grid
  > .kpi {
  background: linear-gradient(
    180deg,
    rgba(16, 50, 112, 0.92),
    rgba(9, 35, 84, 0.92)
  );
  box-shadow:
    inset 0 0 0 1px rgba(120, 185, 255, 0.3),
    0 24px 44px -24px rgba(0, 0, 0, 0.85);
}

@media print {
  html[data-theme="dark"] body {
    background: #ffffff;
  }
}

/* ======================================================================
 * Orbit pages (owner, 18 November 2026): every other page in the same
 * family as the Option 1 dashboard. A navy band behind the page title,
 * summary cards like the dashboard's figure cards, filter chips as a
 * switch, softer tables, rounded fields and the new buttons. Styling only:
 * no markup, wording or behaviour changes.
 * ====================================================================== */

/* Navy band behind the page title (dashboards have their own stage). */
html[data-look] main.page > .stack:not(.orbit-board) {
  position: relative;
  isolation: isolate;
}
html[data-look] main.page > .stack:not(.orbit-board) > .page-head:first-child {
  position: relative;
  --orb-band-under: 18px;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board):has(> :is(.sum-strip, .kpi-grid))
  > .page-head:first-child {
  --orb-band-under: 56px;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: calc(-1 * var(--orb-pad-top, 14px));
  left: calc(-1 * var(--orb-pad-x, 20px));
  right: calc(-1 * var(--orb-pad-x, 20px));
  bottom: calc(-1 * var(--orb-band-under));
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.3) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 /
      52px 100%,
    radial-gradient(
      600px 260px at 88% -30%,
      rgba(63, 169, 245, 0.3),
      transparent 60%
    ),
    linear-gradient(118deg, #041d4a 0%, #072a66 60%, #0b3d93 100%);
  box-shadow: inset 0 -1px 0 rgba(120, 180, 255, 0.18);
}
html[data-look="classic"]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child::before {
  border-radius: 0 0 0 28px;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  h1 {
  color: #ffffff;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  :is(.sub, p) {
  color: #c3d3f1;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  a:not(.btn) {
  color: #8fd0ff;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  .crumbs
  :is(li, span) {
  color: #c3d3f1;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(140, 190, 255, 0.32);
  box-shadow: none;
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.15);
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  .btn.primary {
  background: linear-gradient(180deg, #1a6fd8, #0a4fc4);
  border: 1px solid rgba(140, 200, 255, 0.55);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(63, 169, 245, 0.65);
}
html[data-look]
  main.page
  > .stack:not(.orbit-board)
  > .page-head:first-child
  .btn:focus-visible {
  outline: 2px solid #5fd4ff;
  outline-offset: 2px;
}
@media (max-width: 760px) {
  html[data-look] main.page > .stack:not(.orbit-board) {
    --orb-pad-top: 20px;
    --orb-pad-x: 16px;
  }
}

/* Summary cards: white, like the dashboard's figure cards. */
html[data-look]:where(:not([data-theme="dark"])) .sum-strip .ss-item {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.06),
    0 20px 40px -22px rgba(4, 29, 74, 0.5);
}
html[data-look] .sum-strip .ss-item::before {
  display: none;
}
html[data-look] .sum-strip .ss-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 650;
}
html[data-look] .sum-strip .ss-value {
  font-weight: 800;
  letter-spacing: -0.03em;
}
html[data-look] .sum-strip .ss-item.amber .ss-label::before,
html[data-look] .sum-strip .ss-item.red .ss-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 1px;
  background: #e08a12;
}
html[data-look] .sum-strip .ss-item.red .ss-label::before {
  background: #d23b2c;
}

/* Filter chips as one switch. */
html[data-look]:where(:not([data-theme="dark"])) .dg-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: #eef3fb;
  width: fit-content;
  max-width: 100%;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-chip {
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
  color: var(--ink-2);
  font-weight: 650;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-chip:hover {
  background: rgba(255, 255, 255, 0.7);
}
html[data-look]:where(:not([data-theme="dark"])) .dg-chip[aria-pressed="true"] {
  background: #0a4fc4;
  color: #ffffff;
  box-shadow: 0 6px 14px -8px rgba(10, 79, 196, 0.8);
}
html[data-look]:where(:not([data-theme="dark"]))
  .dg-chip[aria-pressed="true"]
  .dg-chip-n {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Fields: rounded, softly filled, azure focus. */
html[data-look]:where(:not([data-theme="dark"]))
  .page
  :is(input.input, select, textarea, .dg-search input),
html[data-look]:where(:not([data-theme="dark"]))
  .drawer
  :is(input.input, select, textarea) {
  border-radius: 12px;
  background-color: #f8fafd;
  border-color: #d6dfec;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  :is(input.input, select, textarea):hover,
html[data-look]:where(:not([data-theme="dark"]))
  .drawer
  :is(input.input, select, textarea):hover {
  border-color: #b9c8de;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  :is(input.input, select, textarea):focus,
html[data-look]:where(:not([data-theme="dark"]))
  .drawer
  :is(input.input, select, textarea):focus {
  background-color: #ffffff;
  border-color: #3fa9f5;
  box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.22);
}
html[data-look] .field > label {
  font-weight: 650;
}

/* Buttons. */
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .btn:not(.primary):not(.ghost):not(.danger) {
  border-radius: 12px;
  border-color: #d6dfec;
  box-shadow: 0 1px 2px rgba(4, 29, 74, 0.06);
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .btn:not(.primary):not(.ghost):not(.danger):hover {
  border-color: #9fbfe8;
  background: #f5f9ff;
}
html[data-look]:where(:not([data-theme="dark"])) .btn.primary {
  border-radius: 12px;
  background: linear-gradient(180deg, #1a6fd8, #0a4fc4);
  border-color: #0a4fc4;
  box-shadow: 0 8px 18px -8px rgba(10, 79, 196, 0.7);
}
html[data-look]:where(:not([data-theme="dark"])) .btn.primary:hover {
  background: linear-gradient(180deg, #0f5fc8, #073fa8);
}

/* Tables: soft header in sentence case, gentle row hover, colour initials. */
html[data-look]:where(:not([data-theme="dark"])) .page table.t th {
  background: #f5f8fd;
}
html[data-look] .page table.t thead th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  table.t
  tbody
  tr:hover
  td {
  background: #f1f7ff;
}
html[data-look] .page table.t .avatar,
html[data-look] .page .avatar-dot,
html[data-look] .page .avatar.sm {
  background: linear-gradient(145deg, #1a6fd8, #0842a8);
  color: #ffffff;
  border-radius: 10px;
  box-shadow: none;
}

/* Cards: softer corners, and the diamond marker on titles. */
html[data-look] .page .card {
  border-radius: 20px;
}
html[data-look] .page .card > .card-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
html[data-look] .page .card > .card-head h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  rotate: 45deg;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  box-shadow: 0 0 8px rgba(63, 169, 245, 0.55);
}

/* Settings side menu: the current section as a soft pill with a bar. */
html[data-look]:where(:not([data-theme="dark"]))
  .settings-nav
  .set-nav-item[aria-current="true"] {
  background: linear-gradient(90deg, #e3eefc, #f1f6fe);
  color: #073082;
  box-shadow: inset 3px 0 0 #0a4fc4;
}

/* Headline cards on other pages (Team and access and similar): the same
   white card as the summary strip, without the coloured top line. */
html[data-look]
  main.page
  > .stack:not(
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  )
  .kpi-grid
  > .kpi::before {
  display: none;
}
html[data-look]:where(:not([data-theme="dark"]))
  main.page
  > .stack:not(
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  )
  .kpi-grid
  > .kpi {
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.06),
    0 20px 40px -22px rgba(4, 29, 74, 0.5);
}
html[data-look]
  main.page
  > .stack:not(
    :is(.platform-overview, .company-overview, .dash-home, .emp-home)
  )
  .kpi-grid
  .kpi-label {
  /* Capital labels like the dashboards (owner, 22 November 2026). */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  font-weight: 700;
}

/* ======================================================================
 * Orbit pages, full set (owner, 18 November 2026: "full change", as on
 * the dashboard). Summary cards with icon and bar; tables whose rows float
 * as cards; tabs as one switch; side panels with a navy header; larger,
 * rounded form fields.
 * ====================================================================== */

/* Summary cards. */
html[data-look] .sum-strip .ss-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
}
html[data-look] .ss-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
html[data-look] .ss-ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(145deg, #3fa9f5, #0a4fc4);
  box-shadow: 0 6px 12px -6px rgba(10, 79, 196, 0.8);
}
html[data-look] .ss-ico svg {
  width: 16px;
  height: 16px;
}
html[data-look] .ss-item.amber .ss-ico {
  background: linear-gradient(145deg, #f5b041, #c26a08);
  box-shadow: 0 6px 12px -6px rgba(194, 106, 8, 0.8);
}
html[data-look] .ss-item.red .ss-ico {
  background: linear-gradient(145deg, #ff8a7a, #c0352a);
}
html[data-look] .ss-item.green .ss-ico {
  background: linear-gradient(145deg, #34d399, #0f7a4c);
}
html[data-look] .sum-strip .ss-item.amber .ss-label::before,
html[data-look] .sum-strip .ss-item.red .ss-label::before {
  display: none;
}
html[data-look] .sum-strip .ss-value {
  font-size: 28px;
  line-height: 1.1;
}
html[data-look] .ss-meter {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e8eef7;
  overflow: hidden;
}
html[data-look] .ss-meter-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #0a4fc4;
}
html[data-look] .ss-meter-fill.good {
  background: #10a463;
}
html[data-look] .ss-meter-fill.amber {
  background: #e08a12;
}
html[data-look] .ss-meter-fill.red {
  background: #d23b2c;
}

/* Tables: rows float as cards on a soft blue panel. */
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .card:has(.t-host)
  > .card-body {
  background: #f4f7fc;
}
html[data-look]:where(:not([data-theme="dark"])) .page .card:has(.t-host) {
  background: #f4f7fc;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .card:has(.t-host)
  > .card-head {
  background: #ffffff;
}
html[data-look] .page .t-host table.t {
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
}
html[data-look] .page .t-host table.t thead th {
  background: transparent;
  border: 0;
  padding-top: 12px;
  padding-bottom: 4px;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .t-host
  table.t
  tbody
  td {
  background: #ffffff;
  border-top: 1px solid #e3eaf5;
  border-bottom: 1px solid #e3eaf5;
}
html[data-look] .page .t-host table.t tbody td:first-child {
  border-left: 1px solid #e3eaf5;
  border-radius: 14px 0 0 14px;
}
html[data-look] .page .t-host table.t tbody td:last-child {
  border-right: 1px solid #e3eaf5;
  border-radius: 0 14px 14px 0;
}
html[data-look] .page .t-host table.t tbody td:only-child {
  border-radius: 14px;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .t-host
  table.t
  tbody
  tr:hover
  td {
  background: #f8fbff;
  border-color: #b8d4f6;
}
html[data-look] .page .t-host table.t tfoot td {
  border-radius: 0;
}
html[data-look] .page .t-host .table-wrap {
  padding: 0 14px 6px;
}
html[data-look] .page .t-tools {
  padding-left: 14px;
  padding-right: 14px;
}
html[data-look]:where(:not([data-theme="dark"])) .page .t-tools .tt-filter {
  border-radius: 22px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(4, 29, 74, 0.06);
}
html[data-look] .page .card:has(.t-host) .dg-chips {
  margin: 12px 14px 0;
}

/* Status pills: a little larger, with a ring. */
html[data-look] .page .badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px currentColor;
  --badge-ring: 0.25;
}

/* Tabs as one switch. */
html[data-look]:where(:not([data-theme="dark"])) .page .tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: #e8eef7;
  width: fit-content;
  max-width: 100%;
}
html[data-look] .page .tabs [role="tab"] {
  border: 0;
  border-radius: 10px;
  padding: 8px 16px;
  margin: 0;
  font-weight: 650;
}
html[data-look]:where(:not([data-theme="dark"])) .page .tabs [role="tab"] {
  background: transparent;
  color: var(--ink-2);
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .tabs
  [role="tab"][aria-selected="true"] {
  background: #ffffff;
  color: #073082;
  box-shadow: 0 4px 12px -6px rgba(4, 29, 74, 0.5);
}
html[data-look] .page .tabs [role="tab"]::after {
  display: none;
}

/* Side panels (add, edit, review): a navy header like the page band. */
html[data-look] .drawer .d-head {
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.28) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(118deg, #041d4a 0%, #072a66 60%, #0b3d93 100%);
  color: #ffffff;
  border-bottom: 0;
}
html[data-look] .drawer .d-head :is(h2, h3, .d-title) {
  color: #ffffff;
}
html[data-look] .drawer .d-head :is(p, .desc, .d-sub) {
  color: #c3d3f1;
}
html[data-look] .drawer .d-head button {
  color: #ffffff;
}
html[data-look] .drawer .d-head .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(140, 190, 255, 0.32);
}

/* Form fields: taller and rounder. */
html[data-look] .page :is(input.input, select.input, select, textarea),
html[data-look] .drawer :is(input.input, select.input, select, textarea) {
  border-radius: 14px;
}
html[data-look]
  .page
  :is(input.input, select.input):not([type="checkbox"]):not([type="radio"]),
html[data-look]
  .drawer
  :is(input.input, select.input):not([type="checkbox"]):not([type="radio"]) {
  min-height: 46px;
}
html[data-look] .form-grid {
  row-gap: 18px;
}
html[data-look] .field > label {
  font-size: 13.5px;
  margin-bottom: 2px;
}
html[data-look] .field .req {
  color: #d23b2c;
}

/* Dark colours for the pieces above. */
html[data-look][data-theme="dark"] .page .t-host table.t tbody td {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(120, 175, 255, 0.16);
  border-bottom: 1px solid rgba(120, 175, 255, 0.16);
}
html[data-look][data-theme="dark"] .page .t-host table.t tbody td:first-child {
  border-left-color: rgba(120, 175, 255, 0.16);
}
html[data-look][data-theme="dark"] .page .t-host table.t tbody td:last-child {
  border-right-color: rgba(120, 175, 255, 0.16);
}
html[data-look][data-theme="dark"] .page .t-host table.t tbody tr:hover td {
  background: rgba(63, 169, 245, 0.1);
  border-color: rgba(120, 185, 255, 0.4);
}
html[data-look][data-theme="dark"] .ss-meter {
  background: rgba(140, 195, 255, 0.16);
}
html[data-look][data-theme="dark"] .page .tabs {
  display: inline-flex;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
html[data-look][data-theme="dark"]
  .page
  .tabs
  [role="tab"][aria-selected="true"] {
  background: rgba(63, 169, 245, 0.22);
  color: #ffffff;
}
html[data-look] .sum-strip .ss-head {
  justify-content: flex-start;
  width: 100%;
}
html[data-look] .sum-strip .ss-head .ss-label {
  margin: 0;
  text-align: left;
  flex: 1;
}

/* Readability fixes from the all-pages check (18 November 2026). */
html[data-look][data-theme="dark"] .field .req {
  color: #ff9a8c;
}
html[data-look] .ss-ico {
  background: linear-gradient(145deg, #1a6fd8, #0842a8);
}
html[data-look]:where(:not([data-theme="dark"])) .pc-ev.pay {
  background: #0a4fc4;
  color: #ffffff;
}
html[data-look][data-theme="dark"] .pc-ev.pay {
  background: #3fa9f5;
  color: #031535;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-flag.amber {
  color: #8a4b00;
}
/* Classic side menu counts: readable in light and dark. */
html[data-look] .sb-count {
  background: #0a4fc4;
  color: #ffffff;
}
html[data-look][data-theme="dark"] .sb-count {
  background: rgba(63, 169, 245, 0.24);
  color: #dcefff;
}
/* A pay day already paid stays readable (it was faded white on blue). */
html[data-look] .pc-ev.pay.is-done {
  opacity: 1;
  background: #dbe7f8;
  color: #073082;
}
html[data-look][data-theme="dark"] .pc-ev.pay.is-done {
  background: rgba(63, 169, 245, 0.18);
  color: #cfe6ff;
}
html[data-look][data-theme="dark"] .sb-link[aria-current="page"] .sb-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Detail pages (an employee, a pay run): the same navy band behind their
   heading; on a pay run it reaches half-way under the summary card. */
html[data-look] main.page > .stack > :is(.profile-head, .run-head):first-child {
  position: relative;
}
html[data-look]
  main.page
  > .stack
  > :is(.profile-head, .run-head):first-child::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: calc(-1 * var(--orb-pad-top, 14px));
  left: calc(-1 * var(--orb-pad-x, 20px));
  right: calc(-1 * var(--orb-pad-x, 20px));
  bottom: -18px;
  border-radius: 0 0 28px 28px;
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.3) 98%,
        transparent
      )
      0 0 / 26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 / 100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0 /
      52px 100%,
    radial-gradient(
      600px 260px at 88% -30%,
      rgba(63, 169, 245, 0.3),
      transparent 60%
    ),
    linear-gradient(118deg, #041d4a 0%, #072a66 60%, #0b3d93 100%);
}
html[data-look]
  main.page
  > .stack:has(> :is(.profile-head, .run-head):first-child) {
  position: relative;
  isolation: isolate;
}
html[data-look] main.page > .stack > .run-head:first-child::before {
  bottom: 45%;
}
html[data-look="classic"]
  main.page
  > .stack
  > :is(.profile-head, .run-head):first-child::before {
  border-radius: 0 0 0 28px;
}
html[data-look] .profile-head:first-child :is(h1, .crumbs span) {
  color: #ffffff;
}
html[data-look] .profile-head:first-child :is(.sub, .crumbs li) {
  color: #c3d3f1;
}
html[data-look] :is(.profile-head, .run-head):first-child .crumbs a {
  color: #8fd0ff;
}
html[data-look] .profile-head:first-child .avatar.xl {
  background: linear-gradient(145deg, #1a6fd8, #0842a8);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
html[data-look] .profile-head:first-child .ph-main .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(140, 190, 255, 0.32);
}
html[data-look] .run-head:first-child .crumbs :is(li, span) {
  color: #c3d3f1;
}

/* ======================================================================
 * Floating rows in the data grid (owner, 18 November 2026): Pay runs,
 * Reports, Audit log, Sign-in history, Billing and the Apps Technologies
 * lists. Each row is a rounded card on a soft blue panel; an opened row
 * and its details make one card. The gap is a transparent top border, so
 * the sticky headings and first column keep working.
 * ====================================================================== */
html[data-look] .dg-frame {
  --dgl: #e3eaf5;
  --dgc: #ffffff;
  --dgh: #f8fbff;
  --dghl: #b8d4f6;
  background: #f1f5fb;
  border-color: #e3eaf5;
  border-radius: 18px;
  padding: 0 10px 8px;
}
html[data-look] .dg-table thead th {
  background: #f1f5fb;
  border-bottom: 0;
}
html[data-look] .dg-band th {
  border-bottom: 3px solid #d6e2f2;
}
html[data-look] .dg-table .dg-sticky {
  box-shadow: none;
}
html[data-look] .dg-table tbody td {
  background: var(--dgc);
  background-clip: padding-box;
  border: 0;
  border-top: 6px solid transparent;
  box-shadow:
    inset 0 1px 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
html[data-look] .dg-frame.compact .dg-table tbody td {
  border-top-width: 3px;
}
html[data-look] .dg-table tbody tr > td:first-child {
  border-radius: 14px 0 0 14px;
  box-shadow:
    inset 1px 0 0 var(--dgl),
    inset 0 1px 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
html[data-look] .dg-table tbody tr > td:last-child {
  border-radius: 0 14px 14px 0;
  box-shadow:
    inset -1px 0 0 var(--dgl),
    inset 0 1px 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
html[data-look] .dg-table tbody tr.dg-row:hover > td {
  background: var(--dgh);
  --dgl: var(--dghl);
}
html[data-look] .dg-table tbody tr.dg-row.open > td {
  background: var(--dgh);
  --dgl: var(--dghl);
}
html[data-look] .dg-table tbody tr.dg-row.open > td:first-child {
  border-radius: 14px 0 0 0;
}
html[data-look] .dg-table tbody tr.dg-row.open > td:last-child {
  border-radius: 0 14px 0 0;
}
html[data-look] .dg-table tbody tr.dg-detail-row > td {
  border-top: 0;
  border-radius: 0 0 14px 14px;
  --dgl: var(--dghl);
  box-shadow:
    inset 1px 0 0 var(--dgl),
    inset -1px 0 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
/* Flagged rows keep their red or amber edge. */
html[data-look] .dg-table tbody tr.dg-flag-red > td:first-child {
  box-shadow:
    inset 4px 0 0 var(--red),
    inset 0 1px 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
html[data-look] .dg-table tbody tr.dg-flag-amber > td:first-child {
  box-shadow:
    inset 4px 0 0 var(--amber),
    inset 0 1px 0 var(--dgl),
    inset 0 -1px 0 var(--dgl);
}
/* The total row: a navy-tinted card. */
html[data-look] .dg-table tr.dg-total > td {
  background: #e8f0fb;
  font-weight: 700;
  --dgl: #c9daf2;
}
html[data-look] .dg-link {
  font-weight: 650;
}

/* Dark colours. */
html[data-look][data-theme="dark"] .dg-frame {
  --dgl: rgba(120, 175, 255, 0.16);
  --dgc: rgba(255, 255, 255, 0.035);
  --dgh: #10336f;
  --dghl: rgba(120, 185, 255, 0.45);
  background: rgba(0, 0, 0, 0.12);
  border-color: rgba(120, 175, 255, 0.16);
}
html[data-look][data-theme="dark"] .dg-table thead th {
  background: #0a2554;
}
html[data-look][data-theme="dark"] .dg-band th {
  border-bottom-color: rgba(120, 175, 255, 0.25);
}
/* Sticky cells must not be see-through, or scrolled columns show behind. */
html[data-look][data-theme="dark"] .dg-table tbody td:is(.dg-sticky, .dg-x) {
  background: #0c2b5f;
}
html[data-look][data-theme="dark"]
  .dg-table
  tbody
  tr.dg-row:is(:hover, .open)
  > td:is(.dg-sticky, .dg-x) {
  background: var(--dgh);
}
html[data-look][data-theme="dark"] .dg-table tr.dg-total > td {
  background: #123a7a;
  --dgl: rgba(120, 185, 255, 0.35);
}
html[data-look] .dg-table tbody tr.dg-row.open > td {
  box-shadow: inset 0 1px 0 var(--dgl);
}
html[data-look] .dg-table tbody tr.dg-row.open > td:first-child {
  box-shadow:
    inset 1px 0 0 var(--dgl),
    inset 0 1px 0 var(--dgl);
}
html[data-look] .dg-table tbody tr.dg-row.open > td:last-child {
  box-shadow:
    inset -1px 0 0 var(--dgl),
    inset 0 1px 0 var(--dgl);
}

/* ======================================================================
 * Orbit employee home (owner, 18 November 2026). Markup:
 * views-employee.js (empPayPanel, comingUp, empTiles, empChartCard).
 * ====================================================================== */
html[data-look] .emp-orbit .kpi-grid.orb-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
html[data-look] .orb-run-big {
  margin: 2px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}
html[data-look] .emp-orbit .orb-run-top .orb-run-actions .btn.primary {
  background: #ffffff;
  color: #041d4a;
  border-color: #ffffff;
}
html[data-look] .orb-meter-fill.violet {
  background: #6f55e0;
}
html[data-look][data-theme="dark"] .orb-meter-fill.violet {
  background: #a594ff;
}
html[data-look] .emp-orbit-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
html[data-look] .emp-orbit-grid > .card:only-child {
  grid-column: 1 / -1;
}
html[data-look] .emp-orbit-grid .orb-bars {
  height: 190px;
}
@media (max-width: 1100px) {
  html[data-look] .emp-orbit .kpi-grid.orb-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-look] .emp-orbit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .orb-split-c {
  background: #e08a12;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.amber {
  color: #8a4b00;
}

/* ======================================================================
 * Orbit owner overview (owner, 18 November 2026). Markup: views-company.js
 * (ownerOrbitBoard, ownerPayPanel, ownerNeeds). The wage cost chart and
 * the last pay run side by side, then team and access beside set-up.
 * ====================================================================== */
html[data-look] .owner-orb-screen > .co-cell {
  grid-column: span 3;
}
html[data-look] .owner-orbit .orb-need:not(a) {
  cursor: default;
}
html[data-look] .owner-orbit .orb-run-big {
  font-size: 32px;
}
@media screen and (min-width: 1101px) {
  html[data-look] .co-dense .co-screen.owner-orb-screen {
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }
  html[data-look] .co-dense .owner-orb-screen .co-cell > .card,
  html[data-look] .co-dense .owner-orb-screen .co-cell .card-body {
    overflow: visible;
  }
}
html[data-look] .owner-orbit .kpi-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

/* ======================================================================
 * Orbit platform overview (owner, 18 November 2026). Markup:
 * views-platform.js (platformPulse; the board in the overview). Customer
 * health on the stage beside platform status (a white card); the charts
 * across, then the attention list beside recently added customers.
 * ====================================================================== */
html[data-look] .orb-status {
  min-width: 0;
  display: flex;
}
html[data-look] .orb-status > .card {
  flex: 1;
  margin: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 44px -22px rgba(4, 29, 74, 0.6);
}
html[data-look][data-theme="dark"] .orb-status > .card {
  background: linear-gradient(
    180deg,
    rgba(16, 50, 112, 0.96),
    rgba(9, 35, 84, 0.96)
  );
  box-shadow:
    inset 0 0 0 1px rgba(120, 185, 255, 0.3),
    0 22px 44px -22px rgba(0, 0, 0, 0.85);
}
html[data-look] .orb-counts {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
html[data-look] .orb-counts li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c9d8f5;
}
html[data-look] .orb-counts strong {
  color: #ffffff;
  font-size: 15px;
}
html[data-look] .orb-count-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fd0ff;
}
html[data-look] .orb-counts .good .orb-count-dot {
  background: #34d399;
}
html[data-look] .orb-counts .warn .orb-count-dot {
  background: #f5b041;
}
html[data-look] .orb-counts .bad .orb-count-dot {
  background: #ff8a7a;
}
html[data-look] .platform-orbit .orb-run-top .orb-run-actions .btn.primary {
  background: #ffffff;
  color: #041d4a;
  border-color: #ffffff;
}
html[data-look] .platform-orbit .orb-run-big {
  font-size: 40px;
}
html[data-look] .platform-orbit .orbit-row {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
html[data-look] .platform-orbit .kpi-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
@media screen and (min-width: 1101px) {
  html[data-look] .po-dense .po-screen.po-orb-screen {
    height: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }
  html[data-look] .po-dense .po-orb-screen .po-c-attention,
  html[data-look] .po-dense .po-orb-screen .po-c-recent {
    grid-column: span 2;
  }
  html[data-look] .po-dense .po-orb-screen .po-cell > .card,
  html[data-look] .po-dense .po-orb-screen .po-cell .card-body {
    overflow: visible;
  }
}
@media (max-width: 1100px) {
  html[data-look] .platform-orbit .orbit-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .orb-status .card-head h2 {
  color: var(--ink);
}
html[data-look][data-theme="dark"] .orb-status .card-head h2 {
  color: #eef4ff;
}
html[data-look] .orb-status .card-head {
  padding-top: 10px;
  padding-bottom: 10px;
}
html[data-look] .orb-status .po-tile {
  padding: 8px 12px;
  min-height: 0;
}
html[data-look] .orb-status .po-tile-sub {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-look] .orb-status .po-tile-value {
  font-size: 16px;
}
/* Phones: bar values only on the latest bar, so the figures don't run
   into each other. */
@media (max-width: 760px) {
  html[data-look] .bc-col:not(:last-child) .bc-v,
  html[data-look] .orb-bar-col:not(.latest) .orb-bar-v {
    visibility: hidden;
  }
  html[data-look] .bc-col:nth-last-child(even) .bc-l,
  html[data-look] .orb-bar-col:nth-last-child(even) .orb-bar-l {
    visibility: hidden;
  }
}

/* Audit log with tabs (owner, 18 November 2026): the two main tabs are
   larger than the Sign-ins period picker below them. */
html[data-look] .audit-centre > .audit-tabs .tabs [role="tab"] {
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
}
html[data-look] .audit-centre .stack > .tabs [role="tab"] {
  padding: 6px 14px;
  font-size: 13px;
}

/* ======================================================================
 * Tidy employee home (owner, 18 November 2026): less scrolling. Pay,
 * leave and recent updates three across; set-up beside clock in, with
 * finished set-up steps folded into small ticks. Markup: views-employee.js.
 * ====================================================================== */
html[data-look] .emp-orbit-grid.emp-tidy {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1.25fr);
}
html[data-look] .emp-tidy .orb-bars {
  height: 150px;
}
html[data-look] .emp-tidy > .recent-updates {
  display: flex;
  min-width: 0;
}
html[data-look] .emp-tidy > .recent-updates > .card {
  flex: 1;
  margin: 0;
}
html[data-look] .recent-updates.compact .stack.tight {
  gap: 0;
}
html[data-look] .recent-updates.compact .note-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 10px;
  padding: 7px 4px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
html[data-look] .recent-updates.compact .note-item:first-child {
  border-top: 0;
  padding-top: 0;
}
html[data-look] .recent-updates.compact .note-item:hover strong {
  color: var(--blue);
}
html[data-look] .recent-updates.compact .note-item > strong {
  font-size: 13.5px;
}
html[data-look] .recent-updates.compact .note-item > span:nth-of-type(1) {
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .recent-updates.compact .note-item > span:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}
html[data-look] .emp-orbit-low {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
html[data-look] .emp-orbit-low > :only-child,
html[data-look] .emp-orbit-low > .install-card {
  grid-column: 1 / -1;
}
html[data-look] .emp-orbit-low > .card {
  margin: 0;
}
/* Set-up: steps still to do keep their full row; finished ones become ticks. */
html[data-look] :is(.emp-orbit, .emp-details) .onb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
html[data-look] :is(.emp-orbit, .emp-details) .onb-step {
  flex: 1 1 100%;
}
html[data-look] :is(.emp-orbit, .emp-details) .onb-step.is-done {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px 6px 4px 5px;
  border: 1px solid #b9e2c8;
  border-radius: 14px;
  background: #effaf3;
}
html[data-look]
  :is(.emp-orbit, .emp-details)
  .onb-step.is-done
  + .onb-step:not(.is-done) {
  margin-top: 4px;
}
html[data-look] :is(.emp-orbit, .emp-details) .onb-step.is-done .onb-mark {
  width: 18px;
  height: 18px;
  margin: 0;
}
html[data-look] :is(.emp-orbit, .emp-details) .onb-step.is-done strong {
  font-size: 13px;
  color: #0e5a2c;
}
html[data-look]
  :is(.emp-orbit, .emp-details)
  .onb-step.is-done
  .stack
  .small.muted,
html[data-look]
  :is(.emp-orbit, .emp-details)
  .onb-step.is-done
  .actions
  > .badge {
  display: none;
}
html[data-look] :is(.emp-orbit, .emp-details) .onb-step.is-done .actions .btn {
  min-height: 26px;
  padding: 2px 10px;
  font-size: 12.5px;
}
html[data-look][data-theme="dark"]
  :is(.emp-orbit, .emp-details)
  .onb-step.is-done {
  border-color: rgba(90, 210, 140, 0.4);
  background: rgba(40, 160, 90, 0.16);
}
html[data-look][data-theme="dark"]
  :is(.emp-orbit, .emp-details)
  .onb-step.is-done
  strong {
  color: #b8f0cc;
}
@media (max-width: 1100px) {
  html[data-look] .emp-orbit-grid.emp-tidy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  html[data-look] .emp-tidy > :first-child {
    grid-column: 1 / -1;
  }
  html[data-look] .emp-orbit-low {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  html[data-look] .emp-orbit-grid.emp-tidy {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ======================================================================
 * Tidy, every screen (owner, 18 November 2026): less scrolling.
 * Table rows sit closer together; pairs of short cards share a row.
 * ====================================================================== */
html[data-look] .dg-table tbody td {
  border-top-width: 4px;
  padding-top: 7px;
  padding-bottom: 7px;
}
html[data-look] .dg-frame.compact .dg-table tbody td {
  border-top-width: 2px;
  padding-top: 4px;
  padding-bottom: 4px;
}
html[data-look] .page .t-host table.t {
  border-spacing: 0 5px;
  margin-top: -5px;
}
html[data-look] .page .t-host table.t tbody td {
  padding-top: 7px;
  padding-bottom: 7px;
}
html[data-look] .emp-details-pair {
  align-items: stretch;
}
html[data-look] .emp-details-pair > div {
  display: flex;
  min-width: 0;
}
html[data-look] .emp-details-pair > div > .card,
html[data-look] .emp-details-pair > .card {
  flex: 1;
  margin: 0;
}
html[data-look] .leave-views-tabs .tabs [role="tab"] {
  padding: 6px 14px;
  font-size: 13px;
}
/* Key dates: months flow in two columns on wide screens, still in date
   order (down the first column, then the second). */
@media screen and (min-width: 1280px) {
  html[data-look] .kd-layout > .stack > .stack:first-child {
    display: block;
    columns: 2;
    column-gap: 16px;
  }
  html[data-look] .kd-layout > .stack > .stack:first-child > * {
    break-inside: avoid;
    margin: 0 0 16px;
  }
}

/* Initials in Team and access, roles: side by side with a small gap and a
   ring in the card colour, so two badges never run together or hide each
   other's letters (fix, 18 November 2026). */
html[data-look] .page .team-role-avatars > * {
  box-shadow: 0 0 0 2px #ffffff;
}
html[data-look][data-theme="dark"] .page .team-role-avatars > * {
  box-shadow: 0 0 0 2px var(--card);
}
html[data-look] .page .team-role-avatars > * + * {
  margin-left: 4px;
}

/* ======================================================================
 * Messages on the dark Orbit sign-in screens (fix, 18 November 2026):
 * "You were signed out after 15 minutes…", wrong password, link expired,
 * password changed. The light-page message colours were dark text on the
 * dark card. Here: light text on a tinted glass box, by kind.
 * ====================================================================== */
html .signin.orbit .callout {
  color: #eef4ff;
  background: rgba(63, 169, 245, 0.14);
  border-color: rgba(92, 200, 255, 0.45);
  line-height: 1.5;
}
html .signin.orbit .callout strong {
  color: #ffffff;
}
html .signin.orbit .callout a {
  color: #9fdcff;
}
html .signin.orbit .callout.warn {
  color: #fff3dd;
  background: rgba(245, 181, 68, 0.16);
  border-color: rgba(245, 181, 68, 0.55);
}
html .signin.orbit .callout.ok {
  color: #e2fbec;
  background: rgba(56, 196, 120, 0.16);
  border-color: rgba(90, 210, 140, 0.55);
}
html .signin.orbit .callout.err {
  color: #ffe4e1;
  background: rgba(240, 82, 70, 0.18);
  border-color: rgba(255, 120, 108, 0.6);
}

/* Plan badge in the workspace card (owner, 22 November 2026). */
.ws-plan {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 16px;
  vertical-align: 1px;
  color: var(--blue, #0a4fc4);
  background: #e8f1ff;
  box-shadow: inset 0 0 0 1px #b8d6ff;
}
[data-theme="dark"] .ws-plan {
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.18);
  box-shadow: inset 0 0 0 1px rgba(63, 169, 245, 0.45);
}
.ws-switch .ws-org-line {
  display: flex;
  align-items: center;
  min-width: 0;
}
.ws-switch .ws-org-line .ws-org {
  min-width: 0;
}
.ws-plan {
  flex: none;
}
html[data-look="new"] .t-switcher .t-ws .ws-plan,
html[data-look="classic"] .t-switcher .t-ws .ws-plan {
  margin-left: 5px;
  font-size: 10px;
  line-height: 15px;
}
html .t-switcher .t-ws {
  display: flex;
  align-items: center;
  min-width: 0;
}
html .t-switcher .t-ws > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
html .t-switcher .t-ws .ws-plan {
  flex: none;
}
html[data-look="new"] .t-switcher {
  max-width: 180px;
}

/* Compare plans (owner, 22 November 2026). */
.card ul.plan-compare,
.plan-compare {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.plan-compare .plan-col {
  border: 1px solid var(--line, #e3eaf5);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--surface, #fff);
}
.plan-compare .plan-col h3 {
  margin: 0;
  font-size: 16px;
}
.plan-compare .plan-col p {
  margin: 6px 0 0;
  color: var(--ink-2, #3b4a66);
}
.plan-compare .plan-col.current {
  border-color: var(--blue, #0a4fc4);
  box-shadow:
    0 0 0 1px var(--blue, #0a4fc4),
    0 14px 30px -18px rgba(10, 79, 196, 0.55);
}

/* Phones (owner, 22 November 2026: "reduce scrolling"): the payday ring sits
   beside the pay instead of above it, and the page's own buttons share one
   row, so the headline cards are on the first screen. */
@media (max-width: 600px) {
  html[data-look] .orb-run {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 10px;
    padding: 14px;
  }
  html[data-look] .orb-ring {
    width: 104px;
    height: 104px;
    align-self: start;
  }
  html[data-look] .orb-ring-n {
    font-size: 30px;
  }
  html[data-look] .orb-ring-k {
    font-size: 9.5px;
  }
  html[data-look] .orb-ring-s {
    font-size: 10.5px;
    max-width: 80px;
    text-align: center;
  }
  html[data-look] .orb-run .orb-run-big {
    font-size: 30px;
  }
  html[data-look] .orb-run .orb-steps {
    grid-column: 1 / -1;
  }
  html[data-look] .orbit-stage .orb-wide-only {
    display: none;
  }
  /* Step names would crowd: the bars stay, with the current step named. */
  html[data-look] .orb-run .orb-steps li:not(.now) > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  html[data-look] .orb-run .orb-steps li.now {
    flex: 2.2;
  }
  html[data-look] .orb-ring-s {
    max-width: 92px;
  }
}

/* ======================================================================
 * Improved Orbit (owner, 22 November 2026: "I want the new design").
 * Same pages, menus and themes; these rules restyle the payroll dashboard
 * and the parts every dashboard shares to match the approved design.
 * ====================================================================== */

/* "Needs you" as frosted glass on the stage, one row per kind of work. */
html[data-look] .orb-needs.orb-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.28);
  border-radius: 20px;
  padding: 14px 16px;
}
html[data-look] .orb-glass .orb-needs-head h2 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c4ee;
}
html[data-look] .orb-glass .orb-needs-n {
  color: #b9c9ee;
}
html[data-look] .orb-glass-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html[data-look] .orb-glass-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
}
html[data-look] .orb-glass-row:hover,
html[data-look] .orb-glass-row:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}
html[data-look] .orb-glass-ico {
  display: inline-flex;
  color: #8fc8ff;
}
html[data-look] .orb-glass-ico svg {
  width: 16px;
  height: 16px;
}
html[data-look] .orb-glass-t {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .orb-glass-go {
  display: inline-flex;
  color: #a9c4ee;
}
html[data-look] .orb-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.16);
  box-shadow: inset 0 0 0 1px rgba(63, 169, 245, 0.45);
}
html[data-look] .orb-count.amber {
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.16);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.5);
}
html[data-look] .orb-count.red {
  color: #ffb4ab;
  background: rgba(240, 100, 90, 0.18);
  box-shadow: inset 0 0 0 1px rgba(240, 100, 90, 0.5);
}
html[data-look] .orb-count .orb-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
html[data-look] .orb-glass .orb-needs-empty {
  color: #fff;
}

/* Headline cards: icon chip and capital label, five across with To do. */
html[data-look] .orb-kpi-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
html[data-look] .orb-kpi-ico {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
}
html[data-look] .orb-kpi-ico svg {
  width: 14px;
  height: 14px;
}
html[data-look] .co-dense .kpi-grid.orb-kpis:has(> .orb-kpi-todo) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
/* Audit 24 November 2026: the five-tile rule above outranked the narrow
   screen rule, so phones got five 62px tiles with the amounts cut off. */
@media (max-width: 1100px) {
  html[data-look] .co-dense .kpi-grid.orb-kpis:has(> .orb-kpi-todo) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-look]
    .co-dense
    .kpi-grid.orb-kpis:has(> .orb-kpi-todo)
    > .orb-kpi-todo {
    grid-column: 1 / -1;
  }
}
html[data-look] .orb-kpi-flag {
  margin-left: 8px;
  vertical-align: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 1px 7px;
  border-radius: 8px;
  background: #fde8e6;
  color: #b42318;
}
html[data-look] .orb-kpi-bars {
  display: flex;
  gap: 4px;
  height: 8px;
  align-self: stretch;
}
html[data-look] .orb-kpi-bars > span {
  border-radius: 4px;
  min-width: 4px;
}
html[data-look] .orb-kpi-bars > .bad {
  background: #e5484d;
}
html[data-look] .orb-kpi-bars > .warn {
  background: #f5b041;
}
html[data-theme="dark"] .orb-kpi-flag {
  background: rgba(240, 100, 90, 0.18);
  color: #ffb4ab;
}

/* Working area: three across, two rows, like the design. */
html[data-look] .co-dense .co-screen.orb-screen {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "chart money team"
    "todo cal away";
}
html[data-look] .orb-screen > .orb-c-team {
  grid-area: team;
}
html[data-look] .orb-screen > .orb-c-todo {
  grid-area: todo;
}
@media (max-width: 1100px) {
  html[data-look] .co-dense .co-screen.orb-screen {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "todo" "chart" "money" "team" "cal" "away";
  }
}
/* To do: compact rows, each with its button. */
html[data-look] .orb-c-todo .card-body,
html[data-look] .orb-c-todo .list {
  overflow: auto;
}
html[data-look] .orb-c-todo .list > li {
  padding-top: 8px;
  padding-bottom: 8px;
}
html[data-look] .orb-c-todo .cell-sub {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pay calendar as four weeks, Monday to Sunday. */
html[data-look] .pcg-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
html[data-look] .pcg-head,
html[data-look] .pcg {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
html[data-look] .pcg-head {
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-3);
  margin-bottom: 4px;
}
html[data-look] .pcg {
  list-style: none;
  margin: 0;
  padding: 0;
}
html[data-look] .pcg-day {
  height: 22px;
  border-radius: 7px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2, #f5f8fd);
  color: var(--ink-3);
}
html[data-look] .pcg-day.past {
  opacity: 0.45;
}
html[data-look] .pcg-day.today {
  box-shadow: inset 0 0 0 2px #3fa9f5;
  color: var(--ink);
  font-weight: 700;
}
html[data-look] .pcg-day.k-pay {
  background: #0a4fc4;
  color: #fff;
  font-weight: 700;
}
html[data-look] .pcg-day.k-pay.k-est {
  background: transparent;
  color: #0a4fc4;
  box-shadow: inset 0 0 0 2px #0a4fc4;
  border: 0;
}
html[data-look] .pcg-day.k-file {
  background: #e08a00;
  color: #fff;
  font-weight: 700;
}
html[data-look] .pcg-day.k-paye {
  background: #6b5bd6;
  color: #fff;
  font-weight: 700;
}
html[data-look] .pcg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 8px 0 0;
  color: var(--ink-3);
}
html[data-look] .pcg-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
html[data-look] .pcg-key {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #0a4fc4;
}
html[data-look] .pcg-key.k-est {
  background: transparent;
  box-shadow: inset 0 0 0 2px #0a4fc4;
}
html[data-look] .pcg-key.k-file {
  background: #e08a00;
}
html[data-look] .pcg-key.k-paye {
  background: #6b5bd6;
}
html[data-theme="dark"] .pcg-day {
  background: rgba(255, 255, 255, 0.05);
}
html[data-theme="dark"] .pcg-day.k-pay.k-est,
html[data-theme="dark"] .pcg-key.k-est {
  color: #8fc8ff;
  box-shadow: inset 0 0 0 2px #8fc8ff;
}

/* Your team (improved Orbit). */
html[data-look] .orb-team {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .orb-team-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
html[data-look] .orb-team-ring {
  width: 48px;
  height: 48px;
  flex: none;
}
html[data-look] .orb-team-ring circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}
html[data-look] .orb-team-ring .t {
  stroke: var(--line, #e3eaf5);
}
html[data-look] .orb-team-ring .f {
  stroke: #0a4fc4;
}
html[data-look] .orb-team-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
html[data-look] .orb-team-row {
  display: flex;
  justify-content: space-between;
}
html[data-look] .orb-team-h {
  margin: 2px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .orb-team .btn {
  align-self: flex-start;
}
html[data-look] .pcg-day {
  height: 20px;
}
html[data-look] .pcg-legend {
  margin-top: 6px;
  font-size: 11.5px;
}
html[data-look] .orb-glass-row.two {
  align-items: center;
  padding: 6px 8px;
}
html[data-look] .orb-glass-row.two .orb-glass-t {
  display: flex;
  flex-direction: column;
  white-space: normal;
}
html[data-look] .orb-glass-row.two .orb-glass-t strong {
  font-size: 13.5px;
  font-weight: 650;
}
html[data-look] .orb-glass-row.two .orb-glass-t span {
  font-size: 12px;
  color: #b9c9ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .orb-glass-row.amber .orb-glass-ico {
  color: #ffd28a;
}
html[data-look] .orb-glass-row.green .orb-glass-ico {
  color: #9ff3cf;
}
html[data-look] .onb-done-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 2px 0 6px;
}
html[data-look] .onb-done-row .badge svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -2px;
}
html[data-look] .orbit-board .onb-step .small.muted {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Item lists inside a glass panel (company overview "Needs your
   attention"): rows on the navy glass instead of white tiles. */
html[data-look] .orb-glass .orb-needs-list {
  -webkit-mask-image: none;
  mask-image: none;
}
html[data-look] .orb-glass .orb-need,
html[data-look][data-theme="dark"] .orb-glass .orb-need {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
html[data-look] .orb-glass .orb-need:hover {
  background: rgba(255, 255, 255, 0.1);
}
html[data-look] .orb-glass .orb-need strong {
  color: #fff;
}
html[data-look] .orb-glass .orb-need-text > span {
  color: #b9c9ee;
}
html[data-look] .orb-glass .orb-need-ico,
html[data-look][data-theme="dark"] .orb-glass .orb-need-ico {
  background: rgba(63, 169, 245, 0.16);
  color: #a8dcff;
}
html[data-look] .orb-glass .orb-need.amber .orb-need-ico {
  background: rgba(245, 176, 65, 0.16);
  color: #ffd28a;
}
html[data-look] .orb-glass .orb-need.red .orb-need-ico {
  background: rgba(240, 100, 90, 0.18);
  color: #ffb4ab;
}
html[data-look] .orb-glass .orb-need-go {
  color: #a9c4ee;
}
html[data-look] .orb-glass .orb-needs-head h2 {
  color: #a9c4ee;
}

/* ======================================================================
 * Improved Orbit, every page (owner, 22 November 2026: menus, headers and
 * cards as in the new design, on every look; colours follow the person's
 * accent, so the accent picker keeps working).
 * ====================================================================== */

/* Top menu: the current page as a pill with a glowing underline. */
html[data-look="new"] .t-link[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--orb-azure, #3fa9f5);
  font-weight: 700;
}
html[data-look="new"] .t-brand .brand-row img {
  border-radius: 9px;
  box-shadow: 0 0 14px -3px rgba(63, 169, 245, 0.8);
}
/* The account button is the avatar alone on narrower screens. */
@media (max-width: 1360px) {
  html[data-look="new"] .t-account-btn .t-me-text {
    display: none;
  }
  html[data-look="new"] .t-account-btn {
    padding-right: 4px;
  }
}

/* Headline cards on every page: a tinted icon chip and a capital label,
   like the dashboards. The chip keeps its meaning colour (good, warning). */
html[data-look] .kpi .kpi-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--pv) 55%, #ffffff),
    var(--pv)
  );
  box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--pv) 70%, transparent);
}
html[data-look] .kpi .kpi-ico svg {
  width: 14px;
  height: 14px;
}
html[data-look] .card.kpi .kpi-top .kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[data-look] .kpi .kpi-value {
  letter-spacing: -0.03em;
  font-weight: 800;
}

/* Add employee page (owner, 22 November 2026): the ways to add someone as
   cards on the navy stage, then the form in the page, steps on the left,
   the step in the middle and who you're adding on the right. */
html[data-look] .add-way-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}
html[data-look] .add-way-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  font: inherit;
  color: #fff;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 18px;
  border: 0;
  background: linear-gradient(135deg, #0a2a68 0%, #0b2f74 100%);
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.28);
}
html[data-look] .add-way-card strong {
  font-size: 15.5px;
  margin-top: 4px;
}
html[data-look] .add-way-card > span:last-child {
  font-size: 12.5px;
  color: #dbe6fb;
}
html[data-look] .add-way-card.on {
  background:
    radial-gradient(
      90% 140% at 100% 0%,
      rgba(63, 169, 245, 0.28),
      transparent 60%
    ),
    linear-gradient(135deg, #0a2a68 0%, #0b3a8c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(110, 180, 255, 0.6),
    0 0 30px -8px rgba(63, 169, 245, 0.6);
}
html[data-look] .add-way-card.locked {
  opacity: 0.7;
}
html[data-look] .add-way-card:focus-visible {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .add-way-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 700;
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.16);
  box-shadow: inset 0 0 0 1px rgba(63, 169, 245, 0.45);
}
html[data-look] .add-way-chip.good {
  color: #9ff3cf;
  background: rgba(52, 211, 153, 0.14);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.5);
}
html[data-look] .add-way-chip.warn {
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.16);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.5);
}
html[data-look] .page-drawer {
  position: static;
  width: auto;
  max-width: none;
  height: auto;
  z-index: auto;
  animation: none;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04),
    0 10px 28px -14px rgba(4, 29, 74, 0.28);
  overflow: hidden;
}
html[data-look] .page-drawer.wizard-drawer {
  width: auto;
}
html[data-look] .page-drawer .d-body {
  overflow: visible;
}
@media (max-width: 900px) {
  html[data-look] .add-way-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* The cards sit over the stage's lower edge; the form's own heading is a
   plain card heading, not a second navy band. */
html[data-look] .add-emp-page > .add-way-row {
  margin-top: -58px;
}
html[data-look] .add-emp-page > .page-head {
  padding-bottom: 66px;
}
html[data-look] .page-drawer > .d-head {
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
html[data-look] .page-drawer > .d-head::before,
html[data-look] .page-drawer > .d-head::after {
  display: none;
}
html[data-look] .page-drawer > .d-head h2 {
  color: var(--ink);
}
html[data-look] .page-drawer > .d-head .desc {
  color: var(--ink-3);
}
html[data-look] .page-drawer .wz-summary {
  max-height: 520px;
  overflow: auto;
}
html[data-look] .add-emp-page .page-drawer > .d-head h2 {
  color: var(--ink) !important;
  -webkit-text-fill-color: currentColor;
}

/* Text size (owner, 22 November 2026): words grow or shrink, the layout
   doesn't. Inter's own ratio is about 0.55. */
html[data-text="small"] body {
  font-size-adjust: 0.5;
}
html[data-text="large"] body {
  font-size-adjust: 0.6;
}
html[data-text="xlarge"] body {
  font-size-adjust: 0.65;
}

/* One-screen Add employee (owner, 22 November 2026). */
html[data-look] .one-screen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
html[data-look] .one-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface, #f5f8fd);
  border: 1px solid var(--line, #e3eaf5);
}
html[data-look] .one-col-h {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
}
html[data-look] .one-col .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .one-col .wz-group .set-group {
  margin-top: 0;
}
@media (max-width: 1100px) {
  html[data-look] .one-screen {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ======================================================================
 * Design colours as the default (owner, 22 November 2026: "add these
 * colours into the default application colours throughout"). Apps Pay
 * navy #041d4a, royal #0a4fc4, azure #3fa9f5, cyan glow #5fd4ff, page
 * #eef3fa, ink #0b1f3f, done #14a06a, look-at #e08a00. Buttons and
 * highlights still follow the accent chosen under Appearance (--blue), so
 * the accent picker keeps working; "Company colour" with no brand colour
 * set is this royal blue.
 * ====================================================================== */
html[data-look]:not([data-theme]) {
  --ink: #0b1f3f;
  --orb-page: #eef3fa;
}
/* Page: the design's cool pale blue, with a faint accent glow at the top. */
html[data-look]:not([data-theme]) body,
html[data-look][data-wash="soft"]:not([data-theme]) body,
html[data-look][data-wash="strong"]:not([data-theme]) body {
  background:
    radial-gradient(
      60% 40% at 100% 0%,
      color-mix(in srgb, var(--blue) 10%, transparent) 0%,
      transparent 70%
    ),
    #eef3fa;
  background-attachment: fixed;
}
html[data-look][data-wash="off"]:not([data-theme]) body {
  background: #eef3fa;
}
/* Main buttons: the glowing azure-to-accent gradient from the design. */
html[data-look] .btn.primary {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--blue) 45%, #5fd4ff) 0%,
    var(--blue) 100%
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue) 40%, #8fc8ff),
    0 10px 24px -10px color-mix(in srgb, var(--blue) 70%, #3fa9f5);
}
html[data-look] .btn.primary:hover,
html[data-look] .btn.primary:focus-visible {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--blue) 60%, #5fd4ff) 0%,
    var(--blue-600, var(--blue)) 100%
  );
}
/* Other buttons: white with the design's soft border. */
html[data-look]:not([data-theme]) .btn:not(.primary):not(.ghost):not(.danger) {
  border-color: #cdd8ea;
}
/* Cards: rounder, with the design's hairline and soft shadow. */
html[data-look]:not([data-theme]) .page .card,
html[data-look]:not([data-theme]) .page .kpi {
  border-radius: 20px;
  border-color: #e3eaf5;
}
/* Card titles get the glowing azure dot, as in the design. */
html[data-look] .card-head h2::before {
  background: #3fa9f5;
  box-shadow: 0 0 8px #3fa9f5;
}
/* Status labels in the design's tints. */
html[data-look]:not([data-theme]) .badge.green {
  background: #e4f6ee;
  color: #14663f;
}
html[data-look]:not([data-theme]) .badge.amber {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look]:not([data-theme]) .badge.red {
  background: #fde8e6;
  color: #b42318;
}
html[data-look]:not([data-theme]) .badge.blue {
  background: #e8f1ff;
  color: #0a4fc4;
}
/* Fields: 12px corners and the design's focus glow. */
html[data-look]:not([data-theme])
  .page
  :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]) {
  border-color: #cdd8ea;
  border-radius: 12px;
}
html[data-look] .page :is(input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, #3fa9f5 45%, transparent);
  outline-offset: 0;
  border-color: var(--blue);
}
/* Capital headline-card labels on every page, whatever the page wrapper. */
html[data-look] main.page .card.kpi .kpi-top .kpi-label {
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 11.5px !important;
  font-weight: 700;
}
html[data-look] .plan-compare .plan-who {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
html[data-look] .plan-compare .plan-ticks {
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #14663f;
}
html[data-look] .plan-compare .plan-ticks li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
html[data-look] .plan-compare .plan-ticks svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
html[data-theme="dark"] .plan-compare .plan-ticks {
  color: #9ff3cf;
}
html[data-look] .plan-compare .plan-col {
  display: flex;
  flex-direction: column;
}
html[data-look] .plan-compare .plan-col > .btn,
html[data-look] .plan-compare .plan-col > button {
  order: 9;
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Solo "What changed" and Enterprise "Who checks pay" cards. */
html[data-look] .orb-changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .orb-changes li {
  display: flex;
  flex-direction: column;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--surface, #f5f8fd);
  font-size: 13px;
}
html[data-look] .orb-changes li.warn {
  background: #fff7e9;
}
html[data-theme="dark"] .orb-changes li.warn {
  background: rgba(245, 176, 65, 0.12);
}
html[data-look] .orb-changes li span {
  color: var(--ink-2);
}
html[data-look] .orb-chain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .orb-chain li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface, #f5f8fd);
  font-size: 13px;
}
html[data-look] .orb-chain li.now {
  box-shadow: inset 0 0 0 2px #3fa9f5;
}
html[data-look] .orb-all-in {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 13.5px;
}
html[data-look] .orb-all-in > span:last-child {
  display: flex;
  flex-direction: column;
}
html[data-look] .orb-all-in-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #14a06a;
  background: #e4f6ee;
}
html[data-theme="dark"] .orb-all-in-ico {
  background: rgba(52, 211, 153, 0.16);
  color: #9ff3cf;
}

/* Company owner overview, three across and two rows (owner, 22 November
   2026), fitted to one laptop screen like the payroll dashboard. */
@media screen and (min-width: 1101px) {
  html[data-look] .owner-orb-screen.six > .co-cell {
    grid-column: span 2;
  }
  html[data-look] .co-dense .co-screen.owner-orb-screen.six {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }
}
html[data-look] .owner-orb-screen.six .orb-meter {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line, #e3eaf5);
  overflow: hidden;
}
html[data-look] .owner-orb-screen.six .orb-meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3fa9f5, var(--blue));
}
@media screen and (min-width: 1101px) {
  html[data-look] .co-dense .owner-orb-screen.six .co-cell > .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  html[data-look] .co-dense .owner-orb-screen.six .co-cell .card-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
  }
}

/* One-screen Add employee: the usual week in one row of seven short boxes
   (Mon to Sun), as in the design, so the form is shorter. */
html[data-look] .one-col .wp-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 4px;
}
/* The day names stay whole for screen readers; on screen they show as
   Mon, Tue... */
html[data-look] .one-col .wp-grid .wt-cell > span {
  font-size: 0;
  text-align: center;
}
html[data-look] .one-col .wp-grid .wt-cell > span::after {
  content: attr(data-short);
  font-size: 11.5px;
}
html[data-look] .one-col .wp-grid input {
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
  min-width: 0;
}
html[data-look] .one-col .hint {
  margin-top: 3px;
}
html[data-look] .one-col .form-grid {
  gap: 8px 10px;
}

/* ======================================================================
 * Go-live interface (owner, 22 November 2026). Agreed on the design canvas:
 * one heading order, notices behind a "?" beside the title, compact
 * data-grid tables with row buttons, a clean top bar, and readable colours
 * on every look.
 * ====================================================================== */

/* Readability (theme check). */
html[data-theme="dark"] .btn.primary {
  background: linear-gradient(135deg, #1670cc 0%, #0a4fc4 100%) !important;
  color: #fff !important;
}
html[data-theme="dark"] .page a:not(.btn):not(.card):not(.kpi):not(.t-link) {
  color: #8fc8ff;
}
html[data-theme="paper"] .muted,
html[data-theme="paper"] .small.muted,
html[data-theme="paper"] .hint {
  color: #4d4639 !important;
}
html[data-theme="paper"] .badge.green {
  color: #0f5a36 !important;
}

/* Tables that scroll inside their card keep their headings. */
.page thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Page help: "?" beside the title. */
h1.has-help {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pg-help {
  position: relative;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.pg-help-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html:not([data-look]) .pg-help-btn {
  border-color: #b9c6dc;
  background: #eef3fb;
  color: #0a3a8c;
}
.pg-help.warn .pg-help-btn {
  background: #e08a00;
  border-color: #ffd08a;
  color: #fff;
}
.pg-help-pop {
  display: none;
  position: absolute;
  left: -8px;
  top: 34px;
  z-index: 60;
  width: min(400px, 80vw);
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: #1d2b45;
  border: 1px solid #dce4f0;
  box-shadow: 0 14px 34px -10px rgba(4, 29, 74, 0.45);
  flex-direction: column;
  gap: 8px;
  text-align: left;
  white-space: normal;
}
.pg-help:hover .pg-help-pop,
.pg-help:focus-within .pg-help-pop,
.pg-help.open .pg-help-pop {
  display: flex;
}
.pg-help-item {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 12.5px;
  line-height: 1.45;
  display: block;
}
.pg-help-item strong {
  display: block;
  margin-bottom: 1px;
}
.pg-help-item.warn strong {
  color: #a35c00;
}
/* CR-2026-121: "Read the full guide" link to the help centre. */
.pg-help-guide {
  border-top: 1px solid #e4eaf3;
  padding-top: 8px;
  margin-top: 2px;
}
.pg-help-guide a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  color: #0a4fc4;
  font-weight: 600;
}
.pg-help-guide a::after {
  content: "Opens in a new tab";
  font-size: 11.5px;
  font-weight: 400;
  color: #6b7b95;
}
.pg-help-guide-t {
  color: #1d2b45;
  font-weight: 500;
}
.pg-help-guide a:hover .pg-help-guide-t {
  text-decoration: underline;
}
html[data-theme="dark"] .pg-help-guide {
  border-top-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .pg-help-guide a {
  color: #9cc0ff;
}
html[data-theme="dark"] .pg-help-guide-t {
  color: #e5edfb;
}
html[data-theme="dark"] .pg-help-pop {
  background: #0d2c5e;
  color: #e6eefc;
  border-color: #2b4c86;
}
html[data-theme="paper"] .pg-help-pop {
  background: #fffdf8;
}

/* Compact data grids: toolbar on one line, one continuous rounded table. */
html[data-look] .dg {
  display: flex;
  flex-direction: column;
}
html[data-look] .dg-tools {
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
}
html[data-look] .dg-search-wrap {
  flex: 0 0 210px !important;
  width: 210px !important;
  min-width: 0;
}
html[data-look] .dg-search-wrap .dg-search {
  height: 32px;
  min-height: 32px;
}
html[data-look] .dg-chips {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  padding-right: 24px;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 calc(100% - 28px),
    transparent
  );
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
html[data-look] .dg-chips::-webkit-scrollbar {
  display: none;
}
html[data-look] .dg-chip {
  white-space: nowrap;
  flex: none;
}
html[data-look] .dg-actions {
  flex: none;
  flex-wrap: nowrap !important;
  margin-left: auto;
}
html[data-look] .dg-actions .btn.sm {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
html[data-look] .dg-note {
  order: 3;
  margin: 8px 0 0;
}
html[data-look] .dg-frame {
  padding: 0 !important;
  border: 1px solid var(--dgl, #dce4f0);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card, #fff);
}
html[data-look] .dg-table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}
html[data-look] .dg-table thead th {
  padding-top: 8px;
  padding-bottom: 8px;
  background: #eaf1fb;
}
html[data-look][data-theme="dark"] .dg-table thead th {
  background: #0d2c5e;
}
html[data-look] .dg-table tbody td,
html[data-look] .dg-frame.compact .dg-table tbody td {
  border-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 1px 0 var(--dgl, #e6ecf5) !important;
  padding-top: 7px;
  padding-bottom: 7px;
  vertical-align: middle;
}
html[data-look] .dg-table tbody tr.dg-flag-red > td:first-child {
  box-shadow:
    inset 3px 0 0 #d64545,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table tbody tr.dg-flag-amber > td:first-child {
  box-shadow:
    inset 3px 0 0 #e08a00,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table .dg-sub {
  font-size: 11.5px;
}
/* Row actions stay buttons, a little smaller so rows stay one line. */
html[data-look] .dg-table tbody td .btn.sm {
  min-height: 28px;
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
}

/* Top bar: logo and name, menu pills, company pill, search, bell, avatar. */
html[data-look] header.topbar {
  background: #fff !important;
  box-shadow: 0 1px 0 #e3eaf5 !important;
  border: 0 !important;
}
html[data-look][data-theme="dark"] header.topbar {
  background: #081a3a !important;
  box-shadow: 0 1px 0 #1c3a6b !important;
}
html[data-look][data-theme="paper"] header.topbar {
  background: #fbf8f1 !important;
}
html[data-look] .t-brand .brand-sub {
  display: none !important;
}
html[data-look] .t-switcher .t-ws > span:first-child {
  display: none !important;
}
html[data-look] .t-switcher {
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 10px !important;
}
html[data-look] .t-me-text {
  display: none !important;
}
html[data-look] .t-account-btn {
  padding: 2px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-look] .t-search {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 10px !important;
}
html[data-look] .t-search .qs-label,
html[data-look] .t-search .qs-kbd {
  display: none !important;
}
html[data-look] .t-nav .t-link {
  border-radius: 10px;
}

/* Team and access, Plan and add-ons: sections as tabs above the content,
   so the table gets the full width (owner, 22 November 2026). Company
   settings keeps its side menu. */
html[data-look] .settings-layout:has(> .team-nav),
html[data-look] .settings-layout:has(> .count-nav) {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
html[data-look] .settings-nav.team-nav,
html[data-look] .settings-nav.count-nav {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  align-self: start;
  justify-self: start;
  width: auto;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: #e3eaf5;
  box-shadow: none;
  border: 0;
}
html[data-look][data-theme="dark"] .settings-nav.team-nav,
html[data-look][data-theme="dark"] .settings-nav.count-nav {
  background: #0c2349;
}
html[data-look] .settings-nav.team-nav > *:not(button),
html[data-look] .settings-nav.count-nav > *:not(button) {
  display: none;
}
html[data-look] .settings-nav.team-nav button,
html[data-look] .settings-nav.count-nav button {
  width: auto;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  background: transparent;
  box-shadow: none;
}
html[data-look] .settings-nav.team-nav button[aria-current="true"],
html[data-look] .settings-nav.count-nav button[aria-current="true"],
html[data-look] .settings-nav.team-nav button[aria-pressed="true"],
html[data-look] .settings-nav.count-nav button[aria-pressed="true"],
html[data-look] .settings-nav.team-nav button.on,
html[data-look] .settings-nav.count-nav button.on {
  background: #fff;
  color: #0a3a8c;
  box-shadow: 0 1px 3px rgba(10, 40, 90, 0.15);
}
html[data-look][data-theme="dark"]
  .settings-nav.team-nav
  button[aria-current="true"],
html[data-look][data-theme="dark"]
  .settings-nav.count-nav
  button[aria-current="true"] {
  background: #17396d;
  color: #fff;
}

/* Row actions look like buttons, not links (owner, 22 November 2026). */
html[data-look] .dg-table tbody td .btn.ghost.sm,
html[data-look] table tbody td .btn.ghost.sm {
  border: 1px solid #d5deec !important;
  background: #fff !important;
  color: #1d2b45 !important;
  border-radius: 9px;
  font-weight: 650;
  min-height: 28px;
  height: 28px;
  padding: 0 12px;
  text-decoration: none !important;
}
html[data-look][data-theme="dark"] .dg-table tbody td .btn.ghost.sm,
html[data-look][data-theme="dark"] table tbody td .btn.ghost.sm {
  border-color: #2b4c80 !important;
  background: #0f2a55 !important;
  color: #e6eefc !important;
}

/* Side summary panel beside a list (owner, 22 November 2026). */
.with-side {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: start;
}
@media screen and (max-width: 1100px) {
  .with-side {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sp2-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp2-sec {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sp2-sec + .sp2-sec {
  border-top: 1px solid var(--line, #e6ecf5);
  padding-top: 10px;
}
.sp2-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3, #5b6b88);
}
.sp2-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.sp2-row strong {
  text-align: right;
}
.sp2-bar {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) 1.2fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.sp2-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line, #eef3fb);
  overflow: hidden;
}
.sp2-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a4fc4, #3fa9f5);
}
.row-actions {
  display: inline-flex;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Headline cards as on the design: small capital labels and a flag pill. */
html[data-look] .sum-strip .ss-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  font-weight: 750;
}
html[data-look] .sum-strip .ss-item.amber .ss-label::before,
html[data-look] .sum-strip .ss-item.red .ss-label::before {
  display: none;
}
.ss-vrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ss-flag {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff3df;
  color: #8a5300;
}
.ss-flag.red {
  background: #fde8e8;
  color: #9b1c1c;
}
html[data-theme="dark"] .ss-flag {
  background: #4a3410;
  color: #ffd08a;
}
html[data-theme="dark"] .ss-flag.red {
  background: #4d1717;
  color: #ffb3b3;
}
/* Coloured row edge, as on the design. */
html[data-look] .dg-table tbody tr.dg-edge-green > td:first-child {
  box-shadow:
    inset 3px 0 0 #14a06a,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table tbody tr.dg-edge-red > td:first-child,
html[data-look] .dg-table tbody tr.dg-flag-red > td:first-child {
  box-shadow:
    inset 3px 0 0 #d64545,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table tbody tr.dg-edge-amber > td:first-child,
html[data-look] .dg-table tbody tr.dg-flag-amber > td:first-child {
  box-shadow:
    inset 3px 0 0 #e08a00,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table tbody tr.dg-edge-blue > td:first-child {
  box-shadow:
    inset 3px 0 0 #3fa9f5,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look] .dg-table tbody tr.dg-edge-grey > td:first-child {
  box-shadow:
    inset 3px 0 0 #9aa8bf,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}

/* Tab row with a status strip on the right (Plans and billing: self sign-up) */
.tab-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tab-row > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.tab-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--line, #e3e6ea);
  border-radius: 10px;
  background: var(--surface, #fff);
  margin-bottom: 6px;
}
.tab-strip strong {
  font-weight: 600;
}
[data-theme="dark"] .tab-strip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.tab-row > :first-child {
  flex: 0 0 auto;
}
.tab-strip {
  border-radius: 999px;
  padding: 3px 4px 3px 12px;
  font-size: 12.5px;
  gap: 8px;
  margin-bottom: 4px;
}
.tab-strip .btn.sm {
  min-height: 26px;
  padding: 2px 10px;
  font-size: 12.5px;
}
.plan-side .card-head {
  padding-bottom: 8px;
}
.plan-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px;
}
.plan-mini {
  border: 1px solid var(--line, #e3e8f0);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-mini-top,
.plan-mini-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.plan-mini-bot {
  font-size: 12.5px;
}
.plan-mini-bot strong {
  font-size: 13px;
  white-space: nowrap;
}
.plan-mini-foot {
  padding: 12px 14px 14px;
  font-size: 12.5px;
}
[data-theme="dark"] .plan-mini {
  border-color: rgba(255, 255, 255, 0.12);
}
.tab-row {
  align-items: center;
}
.tab-row > .tabs {
  margin-bottom: 0;
}
.tab-strip {
  margin-bottom: 0;
}
html .badge.plan-chip {
  background: #eef1f6 !important;
  color: #33415c !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 600;
}
.badge.plan-chip::before {
  display: none !important;
}
html[data-theme="dark"] .badge.plan-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #dbe5f5 !important;
}
.sp2-foot {
  margin: 4px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--surface-2, #f3f6fb);
  font-size: 12.5px;
}
html[data-theme="dark"] .sp2-foot {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look] .ss-value.ss-long {
  font-size: 20px !important;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.vq-ok {
  color: #14915a;
  font-weight: 700;
}
.vq-warn {
  color: #c77700;
  font-weight: 800;
}
html[data-theme="dark"] .vq-ok {
  color: #5fd39a;
}
html[data-theme="dark"] .vq-warn {
  color: #ffc35c;
}
.vq-check {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
}
.vq-panel {
  display: flex;
  flex-direction: column;
}
.vq-panel-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px 14px;
  margin-top: auto;
  flex-wrap: wrap;
}
.verify-queue .dg-row {
  cursor: pointer;
}
html[data-look] .page-head .sub {
  max-width: min(760px, 62vw);
}
html[data-look] .dg td[colspan] {
  white-space: normal;
}
.audit-centre .audit-tabs .tabs {
  margin-bottom: 0;
}
.audit-centre .audit-strip:empty {
  display: none;
}
.audit-what .dg-sub {
  display: block;
  max-width: 34ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#dg-audit-log td,
.dg td .audit-subj {
  max-width: 220px;
}
.audit-subj {
  display: block;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Top bar company pill: short name over the plan badge, never cut (board). */
html[data-look] .t-switcher {
  max-width: none !important;
  min-width: 0;
  line-height: 1.2;
}
html[data-look] .t-switcher .t-org {
  white-space: nowrap;
  overflow: visible;
  max-width: none;
  font-size: 12.5px;
  font-weight: 700;
}
html[data-look] .t-switcher .ws-plan {
  margin-left: 0 !important;
  background: #e8f1ff;
  color: #0a4fc4;
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
  font-size: 10.5px !important;
  line-height: 15px;
}
html[data-look][data-theme="dark"] .t-switcher .ws-plan {
  background: rgba(63, 169, 245, 0.2);
  color: #a8dcff;
}

/* Status labels exactly as the design's tags: soft fill, no ring, no dot. */
html[data-look] .badge {
  box-shadow: none !important;
  border: 0 !important;
  height: 24px;
  padding: 0 10px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
html[data-look] .badge::before {
  display: none !important;
}
html[data-look]:where(:not([data-theme="dark"]))
  .badge:not(.green):not(.amber):not(.red):not(.blue):not(.navy):not(
    .plan-chip
  ):not(.violet) {
  background: #eef3fa;
  color: #3b4a66;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.green {
  background: #e4f6ee;
  color: #14663f;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.amber {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.red {
  background: #fde8e6;
  color: #b42318;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.blue {
  background: #e8f1ff;
  color: #0a4fc4;
}
html[data-look][data-theme="dark"] .badge.green {
  background: rgba(52, 211, 153, 0.16);
  color: #9ff3cf;
}
html[data-look][data-theme="dark"] .badge.amber {
  background: rgba(245, 176, 65, 0.18);
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .badge.red {
  background: rgba(240, 100, 90, 0.18);
  color: #ffb4ab;
}
html[data-look][data-theme="dark"] .badge.blue {
  background: rgba(63, 169, 245, 0.18);
  color: #a8dcff;
}
html[data-look][data-theme="dark"]
  .badge:not(.green):not(.amber):not(.red):not(.blue):not(.plan-chip) {
  background: #133672;
  color: #c6d4ef;
}
html[data-look] .card-head .badge {
  height: 22px;
}

/* Table toolbar exactly as the design: separate pill chips, nothing cut. */
html[data-look] .dg-chips {
  display: flex !important;
  gap: 6px !important;
  padding: 0 2px !important;
  background: none !important;
  border-radius: 0 !important;
  width: auto !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
html[data-look] .dg-chip {
  height: 28px;
  min-height: 28px;
  padding: 0 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef3fb !important;
  color: #33476b !important;
  border: 1px solid #d5deec !important;
  box-shadow: none !important;
}
html[data-look] .dg-chip .dg-chip-n {
  background: none !important;
  color: #0a4fc4 !important;
  font-weight: 800;
  padding: 0 !important;
  min-width: 0;
}
html[data-look] .dg-chip[aria-pressed="true"] {
  background: #0a4fc4 !important;
  color: #fff !important;
  border-color: #0a4fc4 !important;
}
html[data-look] .dg-chip[aria-pressed="true"] .dg-chip-n {
  color: #fff !important;
  opacity: 0.85;
}
html[data-look][data-theme="dark"] .dg-chip {
  background: #0e2d63 !important;
  color: #c6d4ef !important;
  border-color: #2b4f8e !important;
}
html[data-look][data-theme="dark"] .dg-chip .dg-chip-n {
  color: #7cc4ff !important;
}
html[data-look][data-theme="dark"] .dg-chip[aria-pressed="true"] {
  background: #1f6fe0 !important;
  border-color: #1f6fe0 !important;
  color: #fff !important;
}
html[data-look] .dg-search-wrap {
  flex: 0 0 200px !important;
  width: 200px !important;
}
html[data-look] .dg-search-wrap .dg-search,
html[data-look] .dg-search-wrap input {
  height: 30px !important;
  min-height: 30px !important;
  border-radius: 9px !important;
  font-size: 12.5px !important;
}
html[data-look] .dg-actions .btn.sm {
  height: 30px;
  min-height: 30px !important;
  border-radius: 9px;
}

/* Headline cards as the design: one blue icon, plain figure, mini chart. */
html[data-look] .sum-strip .ss-ico,
html[data-look] .sum-strip .ss-item.amber .ss-ico,
html[data-look] .sum-strip .ss-item.red .ss-ico,
html[data-look] .sum-strip .ss-item.green .ss-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4) !important;
  box-shadow: none;
}
html[data-look] .sum-strip .ss-ico svg {
  width: 15px;
  height: 15px;
}
html[data-look] .sum-strip .ss-value,
html[data-look] .sum-strip .ss-item.amber .ss-value,
html[data-look] .sum-strip .ss-item.green .ss-value,
html[data-look] .sum-strip .ss-item.red .ss-value {
  color: var(--ink, #0b1f3f) !important;
  font-size: 25px !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}
html[data-look][data-theme="dark"] .sum-strip .ss-value {
  color: #fff !important;
}
.ss-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 22px;
  width: 100%;
  margin: 2px 0;
}
.ss-bar {
  flex: 1;
  max-width: 64px;
  border-radius: 3px;
  background: #cfe0f7;
}
.ss-bar.last {
  background: #0a4fc4;
}
.ss-bars.amber .ss-bar {
  background: #f6dcae;
}
.ss-bars.amber .ss-bar.last {
  background: #e08a00;
}
.ss-bars.green .ss-bar {
  background: #bfe8d4;
}
.ss-bars.green .ss-bar.last {
  background: #14a06a;
}
.ss-bars.red .ss-bar {
  background: #f6c7c1;
}
.ss-bars.red .ss-bar.last {
  background: #d64545;
}
html[data-theme="dark"] .ss-bar {
  background: #1d4687;
}
html[data-theme="dark"] .ss-bar.last {
  background: #3fa9f5;
}

/* ---------- Platform overview, board 1 (owner, 22 November 2026) ---------- */
html[data-look] .po-v2 {
  gap: 12px;
}
html[data-look] .po-v2 > .orbit-stage {
  padding-bottom: 92px !important;
}
html[data-look] .po-v2 > .orbit-stage > .page-head h1 {
  font-size: 26px;
}
html[data-look] .po2-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 4px;
}
html[data-look] .po-v2 .orb-run {
  padding: 14px 20px;
  gap: 20px;
  min-height: 0;
  border-radius: 20px;
}
html[data-look] .po-v2 .orb-ring {
  width: 118px;
  height: 118px;
}
html[data-look] .po-v2 .orb-ring-svg {
  width: 118px;
  height: 118px;
}
html[data-look] .po-v2 .orb-run-bigrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 0;
}
html[data-look] .po-v2 .orb-run-big {
  font-size: 34px !important;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
html[data-look] .po-v2 .orb-run-sub {
  font-size: 13px;
  color: #b9c9ee;
}
html[data-look] .po-v2 .orb-counts {
  margin-top: 6px;
  font-size: 12.5px;
  gap: 16px;
}
html[data-look] .orb-plan-split {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
html[data-look] .orb-plan-bar {
  flex: 1;
  display: flex;
  gap: 2px;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
html[data-look] .orb-plan-bar .seg {
  display: block;
  height: 100%;
}
html[data-look] .orb-plan-bar .s0 {
  background: #5fd4ff;
}
html[data-look] .orb-plan-bar .s1 {
  background: #3fa9f5;
}
html[data-look] .orb-plan-bar .s2 {
  background: #fff;
}
html[data-look] .orb-plan-text {
  font-size: 12px;
  color: #dbe6fb;
  white-space: nowrap;
}
html[data-look] .po2-glass {
  border-radius: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.28);
  backdrop-filter: blur(6px);
  color: #e6eeff;
  min-width: 0;
}
html[data-look] .po2-glass-title {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c4ee;
}
html[data-look] .po2-glass-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}
html[data-look] .po2-glass-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
html[data-look] .po2-glass-list a,
html[data-look] .po2-glass-list li > span:first-child {
  color: #e6eeff;
  text-decoration: none;
}
html[data-look] .po2-glass-list a:hover {
  text-decoration: underline;
}
html[data-look] .po2-plain {
  color: #b9c9ee;
}
html[data-look] .po2-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.14);
  box-shadow: inset 0 0 0 1px rgba(110, 175, 255, 0.5);
}
html[data-look] .po2-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
html[data-look] .po2-pill.amber,
html[data-look] .po2-pill.red {
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.5);
}
html[data-look] .po2-pill.red {
  color: #ffb4ab;
  background: rgba(240, 100, 90, 0.14);
  box-shadow: inset 0 0 0 1px rgba(240, 100, 90, 0.5);
}
html[data-look] .po2-pill.green {
  color: #9ff3cf;
  background: rgba(52, 211, 153, 0.14);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.5);
}
html[data-look] .po2-kpis {
  position: relative;
  z-index: 2;
  margin-top: -84px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px;
}
html[data-look] .po2-kpis .kpi {
  border-radius: 20px;
  padding: 12px 16px 10px;
  gap: 2px;
  min-height: 0;
}
html[data-look] .po2-kpis .kpi-ico {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-look] .po2-kpis .kpi-ico svg {
  width: 15px;
  height: 15px;
}
html[data-look] .po2-kpis .kpi-label {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #33476b;
}
html[data-look][data-theme="dark"] .po2-kpis .kpi-label {
  color: #c6d4ef;
}
html[data-look] .po2-kpis .kpi-value {
  font-size: 25px !important;
  font-weight: 800;
  color: var(--ink, #0b1f3f) !important;
  margin: 2px 0 0;
}
html[data-look][data-theme="dark"] .po2-kpis .kpi-value {
  color: #fff !important;
}
html[data-look] .po2-kpis .kpi-sub {
  font-size: 12.5px;
  color: #4f5c76 !important;
  order: 5;
  margin: 0;
}
html[data-look][data-theme="dark"] .po2-kpis .kpi-sub {
  color: #a9bbe0 !important;
}
html[data-look] .po2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
  gap: 12px;
  padding: 0 16px 12px;
}
html[data-look] .po2-grid > .card {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
html[data-look] .po2-grid > .card > .card-head {
  padding: 12px 14px 10px;
}
html[data-look] .po2-grid > .card > .card-head .desc,
html[data-look] .po2-grid > .card > .card-head p {
  display: none;
}
html[data-look] .po2-grid .card-body {
  padding: 10px 14px;
  flex: 1;
  min-height: 0;
}
html[data-look] .po2-grid .po-viz {
  gap: 8px;
}
html[data-look] .po2-grid .po-viz-extra,
html[data-look] .po2-grid details {
  display: none;
}
html[data-look] .po2-grid .pv-donut {
  width: 90px;
  height: 90px;
}
html[data-look] .po2-grid .bar-chart {
  height: 110px;
}
html[data-look] .po2-grid .split-bar {
  display: none;
}
html[data-look] .po2-grid .empty {
  padding: 4px 0;
}
html[data-look] .po2-grid .empty .empty-art {
  transform: scale(0.7);
  margin: -10px 0;
}
@media (max-width: 1100px) {
  html[data-look] .po2-row,
  html[data-look] .po2-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-look] .po2-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
html[data-look] .po2-kpis,
html[data-look] .po2-grid {
  padding-left: 0;
  padding-right: 0;
}
html[data-look] .po-v2 > .po2-kpis {
  margin-left: 16px;
  margin-right: 16px;
}
html[data-look] .po-v2 > .po2-grid {
  margin-left: 16px;
  margin-right: 16px;
}
html[data-look] .po2-kpis .kpi .meter,
html[data-look] .po2-kpis .kpi svg.spark,
html[data-look] .po2-kpis .kpi .sparkline {
  height: 22px;
  max-height: 22px;
  margin: 4px 0;
}
html[data-look] .po2-grid {
  grid-template-rows: repeat(2, 152px);
  grid-auto-rows: 152px;
}
html[data-look] .po2-grid > .card {
  height: 152px;
  overflow: hidden;
}
html[data-look] .po2-grid .card-body {
  overflow: auto;
}
html[data-look] .po2-grid .po-att-head,
html[data-look] .po2-grid .po-att-days,
html[data-look] .po2-grid .po-dot {
  display: none !important;
}
html[data-look] .po2-grid .po-attention {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 14px !important;
  margin: 0;
}
html[data-look] .po2-grid .po-att-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 3px 10px !important;
  border-radius: 12px;
  background: #f5f8fd;
  border: 0 !important;
  font-size: 13px;
  min-height: 0;
}
html[data-look][data-theme="dark"] .po2-grid .po-att-row,
html[data-look][data-theme="dark"] .po2-grid .po-recent li {
  background: #0e2d63;
}
html[data-look] .po2-grid .po-att-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .po2-grid .po-flags .badge {
  height: 20px;
  font-size: 11px !important;
  border-radius: 8px !important;
  padding: 0 7px !important;
}
html[data-look] .po2-grid .po-flags .badge:nth-child(n + 2) {
  display: none;
}
html[data-look] .po2-grid .po-att-row .btn.sm {
  height: 26px;
  min-height: 26px;
  padding: 0 10px;
  font-size: 12.5px;
}
html[data-look] .po2-grid .po-recent {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px !important;
  margin: 0;
}
html[data-look] .po2-grid .po-recent li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px !important;
  border-radius: 12px;
  background: #f5f8fd;
  border: 0 !important;
  min-height: 0;
}
html[data-look] .po2-grid .po-recent .avatar-dot,
html[data-look] .po2-grid .po-recent .cell-sub {
  display: none;
}
html[data-look] .po2-grid .po-recent .cell-main {
  font-weight: 700;
  font-size: 13px;
}
html[data-look] .po2-grid > .card:has(.po-recent) .card-head .btn {
  display: none;
}
html[data-look] .po2-grid .bar-chart .bar-fill,
html[data-look] .po2-grid .bar-chart rect {
  background: linear-gradient(180deg, #5fd4ff, #0a4fc4);
}
html[data-look] .po-v2 > .po2-kpis,
html[data-look] .po-v2 > .po2-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html[data-look] .po-v2 .orb-run {
  padding: 10px 20px !important;
  min-height: 0 !important;
  height: auto !important;
}
html[data-look] .po-v2 .orb-run-top {
  margin: 0 !important;
}
html[data-look] .po-v2 .orb-run-top .btn {
  min-height: 36px;
  height: 36px;
}
html[data-look] .po-v2 > .orbit-stage {
  gap: 8px !important;
}
html[data-look] .po2-kpis .kpi {
  padding: 11px 16px 9px !important;
  gap: 1px !important;
}
html[data-look] .po2-kpis .kpi > svg,
html[data-look] .po2-kpis .kpi .spark,
html[data-look] .po2-kpis .kpi .sparkline,
html[data-look] .po2-kpis .kpi .pv-spark {
  height: 22px !important;
  width: 100%;
  margin: 3px 0 2px !important;
}
html[data-look] .po2-kpis .kpi .meter,
html[data-look] .po2-kpis .kpi .pv-meter {
  margin: 8px 0 6px !important;
}
html[data-look] .po2-grid li.po-att-head {
  display: none !important;
}
html[data-look] .po2-grid .card-head a.btn,
html[data-look] .po2-grid .card-head .btn.ghost {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  font-size: 12.5px !important;
  font-weight: 650;
  color: #0a4fc4;
}
html[data-look][data-theme="dark"] .po2-grid .card-head a.btn {
  color: #7cc4ff;
}
html[data-look] .po2-grid .card-body:has(> .empty),
html[data-look] .po2-grid .card-body > .empty {
  padding: 4px 14px !important;
}
html[data-look] .po2-grid .empty {
  gap: 2px;
}
html[data-look] .po2-grid .empty .empty-art,
html[data-look] .po2-grid .empty > svg:first-child,
html[data-look] .po2-grid .empty .illus {
  transform: scale(0.6);
  transform-origin: center top;
  margin: 0 0 -30px;
}
html[data-look] .po2-grid .empty h3,
html[data-look] .po2-grid .empty strong {
  font-size: 14px;
  margin: 0;
}
html[data-look] .po2-grid .empty p {
  font-size: 12.5px;
  margin: 0;
}
html[data-look] .po2-grid .empty .e-visual {
  height: 64px;
  width: auto;
  margin: 0;
}
html[data-look] .po2-grid .empty .e-art {
  height: 64px;
  width: auto;
}
html[data-look] .po2-kpis .kpi-sub {
  order: 6;
}
html[data-look] .po2-kpis .kpi > .pv-spark,
html[data-look] .po2-kpis .kpi > .pv-meter,
html[data-look] .po2-kpis .kpi > .meter {
  order: 4;
}
html[data-look] .po2-kpis .kpi {
  display: flex;
  flex-direction: column;
}
html[data-look] .po2-kpis .pv-meter {
  height: 6px !important;
  max-height: 6px;
  margin: 10px 0 8px !important;
  border-radius: 3px;
}
html[data-look] .po2-glass-list {
  gap: 6px;
}
html[data-look] .po2-row {
  align-items: stretch;
}
html[data-look] .po2-grid .card-body:has(> .po-attention),
html[data-look] .po2-grid .card-body:has(> .po-recent) {
  padding: 0 !important;
}
html[data-look] .po2-grid .pv-donut-small {
  font-size: 10px;
}
html[data-look] .po2-grid .pv-donut-big {
  font-size: 22px;
}
html[data-look] .po2-grid .empty .e-visual,
html[data-look] .po2-grid .empty .e-art {
  height: 50px;
}
html[data-look] .po2-grid .bar-chart .bar,
html[data-look] .po2-grid .bar-chart .bar-col {
  min-width: 0;
}

/* Tables as the design: every column starts at the left, 13px rows. */
html[data-look] .dg-table th,
html[data-look] .dg-table td,
html[data-look] .dg-table th.r,
html[data-look] .dg-table td.r,
html[data-look] .dg-table tfoot td {
  text-align: left !important;
}
html[data-look] .dg-table th .dg-sort,
html[data-look] .dg-table th button {
  justify-content: flex-start !important;
  text-align: left !important;
}
html[data-look] .dg-table td .money,
html[data-look] .dg-table td .money-cell,
html[data-look] .dg-table td .mc {
  justify-content: flex-start !important;
  text-align: left !important;
}
html[data-look] .dg-table tbody td {
  font-size: 13px;
  padding: 8px 10px !important;
}
html[data-look] .dg-table thead th {
  font-size: 11.5px;
  padding: 8px 10px !important;
  color: #33476b;
  font-weight: 750;
}
html[data-look][data-theme="dark"] .dg-table thead th {
  color: #c6d4ef;
}
html[data-look] .dg-table td strong {
  font-size: 13px;
}
html[data-look] .dg-table td .dg-sub {
  font-size: 11px;
}
html[data-look] .dg-table td.dg-x {
  width: 22px;
  padding: 0 0 0 10px !important;
}
html[data-look] .dg-table td.dg-x + td {
  padding-left: 4px !important;
}
html[data-look] .dg-table th:first-child:empty + th {
  padding-left: 4px !important;
}
html[data-look] .dg-table thead th.dg-x {
  width: 22px;
  padding: 0 0 0 10px !important;
}
html[data-look] .dg-table thead th.dg-x + th,
html[data-look] .dg-table tbody td.dg-x + td {
  padding-left: 4px !important;
}
html[data-look] .dg-table .dg-sort {
  display: inline-flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.ss-bar {
  max-width: none;
}
html[data-look] .sp2 .card-head .btn.ghost,
html[data-look] .sp2 .card-head .btn.sm {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #0a4fc4;
  font-size: 12.5px;
  font-weight: 650;
}
html[data-look][data-theme="dark"] .sp2 .card-head .btn.ghost {
  color: #7cc4ff;
}

/* Tabs as the design's compact switch. */
html[data-look] .page .tabs {
  padding: 3px !important;
  border-radius: 12px !important;
  margin: 0 !important;
}
html[data-look] .page .tabs [role="tab"] {
  padding: 5px 14px !important;
  min-height: 30px !important;
  font-size: 13px !important;
  border-radius: 9px !important;
  font-weight: 650;
}
html[data-look] .page .tabs [role="tab"][aria-selected="true"] {
  color: #0a4fc4;
}
.dg-chip-more {
  position: relative;
  flex: none;
}
html[data-look] .dg-chips {
  overflow: visible !important;
}
.dg-chip-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: var(--card, #fff);
  box-shadow:
    0 12px 30px -10px rgba(4, 29, 74, 0.35),
    0 0 0 1px #dce4f0;
  min-width: 150px;
}
html[data-theme="dark"] .dg-chip-menu {
  background: #0a2554;
  box-shadow:
    0 12px 30px -10px rgba(0, 0, 0, 0.6),
    0 0 0 1px #2b4f8e;
}
.dg-chip-menu .dg-chip {
  justify-content: space-between;
}

/* ---------- Company overview, board 10 ---------- */
html[data-look] .co-v2 .orb-run-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
html[data-look] .co-v2 .orb-run-label {
  display: block;
  margin: 8px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c4ee;
}
html[data-look] .co-v2 .orb-run-big {
  font-size: 30px !important;
}
html[data-look] .co-v2 .orb-run-meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: #dbe6fb;
}
html[data-look] .co-v2 .orb-ring-n {
  font-size: 30px;
}
html[data-look] .co-v2 .po2-kpis .kpi > svg:not(.kpi-ico svg) {
  order: 4;
}
html[data-look] .co2-roles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .co2-roles .co2-link {
  font-size: 12.5px;
  font-weight: 650;
  color: #0a4fc4;
  text-decoration: none;
  margin-left: 110px;
}
html[data-look][data-theme="dark"] .co2-roles .co2-link {
  color: #7cc4ff;
}
html[data-look] .co2-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .co2-mini li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 10px;
  background: #f5f8fd;
  font-size: 13px;
}
html[data-look][data-theme="dark"] .co2-mini li {
  background: #0e2d63;
}
html[data-look] .co2-mini .badge {
  height: 20px;
  font-size: 11px !important;
  border-radius: 8px !important;
  padding: 0 7px !important;
}
html[data-look] .co2-meters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
html[data-look] .co2-meters .orb-meter {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e6edf7;
  margin-top: 6px;
  overflow: hidden;
}
html[data-look] .co2-meters .orb-meter-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
}
html[data-look][data-theme="dark"] .co2-meters .orb-meter {
  background: #163a73;
}
html[data-look] .co2-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
html[data-look] .co2-actions .btn {
  min-height: 32px;
  height: 32px;
}
html[data-look] .co2-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
}
html[data-look] .co2-activity li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
html[data-look] .co2-act-what {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .po2-grid .pv-donut-wrap {
  gap: 14px;
  align-items: center;
}
html[data-look] .po2-grid .pv-legend {
  font-size: 13px;
  gap: 5px;
}
html[data-look] .po2-grid {
  grid-template-rows: repeat(2, minmax(152px, 1fr)) !important;
  grid-auto-rows: auto !important;
}
html[data-look] .po2-grid > .card {
  height: auto !important;
  min-height: 0;
}
html[data-look] .po2-grid > .card > .card-head {
  padding: 10px 14px 8px !important;
}
html[data-look] .po2-grid .card-body {
  padding: 8px 14px !important;
}
html[data-look] .co2-meters {
  gap: 8px;
}
html[data-look] .co2-actions .btn {
  min-height: 30px;
  height: 30px;
  padding: 0 12px;
}
html[data-look] .co2-mini {
  gap: 5px;
}
html[data-look] .co2-mini li {
  padding: 2px 10px;
  font-size: 12.5px;
}
html[data-look] .co2-activity {
  gap: 7px;
}
html[data-look] .po2-kpis .kpi {
  padding: 10px 16px 8px !important;
}
html[data-look] .dg-table tbody tr.dg-edge-violet > td:first-child {
  box-shadow:
    inset 3px 0 0 #7c5cd6,
    inset 0 1px 0 var(--dgl, #e6ecf5) !important;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.violet {
  background: #efeafd;
  color: #5b3fc4;
}
html[data-look][data-theme="dark"] .badge.violet {
  background: rgba(124, 92, 214, 0.22);
  color: #d4c8ff;
}
html[data-look]:where(:not([data-theme="dark"])) .badge.navy {
  background: #e8f1ff;
  color: #0a4fc4;
}
html[data-look] .team-nav .team-nav-n {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  margin-left: 3px;
  font-weight: inherit;
}
html[data-look] .settings-layout:has(> .team-nav) .team-nav-help {
  display: none;
}
html[data-look] .sp2-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .sp2-pair .badge {
  height: 20px;
  font-size: 11px !important;
}
html[data-look] .sum-strip .ss-item {
  padding: 12px 16px 10px !important;
  gap: 3px !important;
}
html[data-look] .sum-strip .ss-sub {
  font-size: 12.5px;
}
html[data-look] .dg-sub.dg-clip {
  display: block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .plan-core-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
html[data-look] .plan-core-chips .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
html[data-look] .plan-core-chips .badge {
  height: 22px;
  font-size: 11.5px !important;
}
html[data-look] .count-nav .team-nav-n {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  margin-left: 3px;
  font-weight: inherit;
  min-width: 0;
}
/* Long tables scroll inside their card so the page stays one screen. */
@media (min-width: 1101px) {
  html[data-look] .with-side > .card .dg-frame {
    max-height: calc(100vh - 420px);
    overflow: auto;
  }
}
html[data-look] .sp2-cols {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  height: 96px;
  align-items: stretch;
}
html[data-look] .sp2-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
html[data-look] .sp2-col-v {
  font-size: 11px;
  color: #4f5c76;
}
html[data-look] .sp2-col-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
html[data-look] .sp2-col-bar {
  display: block;
  width: 100%;
  border-radius: 6px 6px 3px 3px;
  background: #cfe0f7;
}
html[data-look] .sp2-col-bar.last {
  background: linear-gradient(180deg, #5fd4ff, #0a4fc4);
}
html[data-look] .sp2-col-l {
  font-size: 11px;
  color: #4f5c76;
  white-space: nowrap;
}
html[data-look][data-theme="dark"] .sp2-col-v,
html[data-look][data-theme="dark"] .sp2-col-l {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .sp2-col-bar {
  background: #1d4687;
}
html[data-look] .sp2 .money-split {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  gap: 2px;
}
html[data-look] .sp2 .money-split .seg {
  display: block;
  height: 100%;
}
html[data-look] .sp2 .money-split .s0,
html[data-look] .sp2 .key.s0 {
  background: #0a4fc4;
}
html[data-look] .sp2 .money-split .s1,
html[data-look] .sp2 .key.s1 {
  background: #e08a00;
}
html[data-look] .sp2 .money-split .s2,
html[data-look] .sp2 .key.s2 {
  background: #14a06a;
}
html[data-look] .sp2 .money-split .s3,
html[data-look] .sp2 .key.s3 {
  background: #7c5cd6;
}
html[data-look] .sp2 .key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
html[data-look] .sp2-total {
  border-top: 1px solid var(--line, #e6ecf5);
  padding-top: 7px;
  font-weight: 700;
}
html[data-look] .dg-strong-link {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}
html[data-look] .dg-strong-link:hover {
  text-decoration: underline;
}
html[data-look] .sp2-subline {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3, #5b6b88);
  font-weight: 400;
}
html[data-look] .sp2-row a {
  font-weight: 650;
  color: #0a4fc4;
  text-decoration: none;
}
html[data-look][data-theme="dark"] .sp2-row a {
  color: #7cc4ff;
}
/* Wide tables (11+ columns) tighten so every column and the row button fit. */
html[data-look] .dg-table:has(thead th:nth-child(11)) th,
html[data-look] .dg-table:has(thead th:nth-child(11)) td {
  padding-left: 6px !important;
  padding-right: 6px !important;
}
html[data-look] .dg-table:has(thead th:nth-child(11)) tbody td {
  font-size: 12.5px;
}
html[data-look] .dg-table:has(thead th:nth-child(11)) .dg-sort {
  font-size: 11px;
}
html[data-look] .sp2-num {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #0a4fc4;
  font-size: 11px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
html[data-look] .rtp-ok {
  color: #14915a;
  font-weight: 800;
}
html[data-look] .rtp-later {
  font-size: 12px;
  color: var(--ink-3, #5b6b88);
}
@media (min-width: 900px) {
  html[data-look] .rtp-cards {
    display: none;
  }
}
html[data-look] .rs-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
html[data-look] .rs-chip {
  border: 0;
  cursor: pointer;
  height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: #e8f1ff;
  color: #0a4fc4;
  white-space: nowrap;
}
html[data-look] .rs-chip.pub {
  background: #e4f6ee;
  color: #14663f;
}
html[data-look] .rs-chip.warn {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look][data-theme="dark"] .rs-chip {
  background: rgba(63, 169, 245, 0.18);
  color: #a8dcff;
}
html[data-look][data-theme="dark"] .rs-chip.pub {
  background: rgba(52, 211, 153, 0.16);
  color: #9ff3cf;
}
html[data-look] .pc-tabrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-look] .pc-tabrow .pc-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
}
html[data-look] .pc-soon {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px;
}
html[data-look] .page-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: #eef3fb;
}
html[data-look] .page-tabs [role="tab"] {
  border: 0;
  background: none;
  padding: 5px 14px;
  min-height: 30px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 9px;
  color: var(--ink-2, #33476b);
  cursor: pointer;
}
html[data-look] .page-tabs [role="tab"][aria-selected="true"] {
  background: #fff;
  color: #0a4fc4;
  box-shadow: 0 1px 3px rgba(4, 29, 74, 0.12);
}
html[data-look][data-theme="dark"] .page-tabs {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .page-tabs [role="tab"] {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"]
  .page-tabs
  [role="tab"][aria-selected="true"] {
  background: #1d4687;
  color: #fff;
}

/* Pay calendar month fits one screen: compact days, small event chips. */
html[data-look] .with-side .pc-grid {
  grid-auto-rows: auto;
}
html[data-look] .with-side .pc-dow {
  padding: 5px 8px;
  font-size: 11.5px;
  font-weight: 750;
  background: #eaf1fb;
}
html[data-look][data-theme="dark"] .with-side .pc-dow {
  background: #0d2c5e;
}
html[data-look] .with-side .pc-day {
  min-height: 61px;
  padding: 3px 6px;
  gap: 2px;
}
html[data-look] .with-side .pc-num {
  font-size: 11.5px;
  font-weight: 700;
}
html[data-look] .with-side .pc-ev {
  font-size: 10.5px;
  line-height: 15px;
  padding: 0 6px;
  border-radius: 5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .with-side .pc-toolbar {
  padding: 10px 12px;
}
html[data-look] .with-side .pc-toolbar .btn.sm {
  min-height: 28px;
  height: 28px;
}
html[data-look] .with-side .pc-month-title {
  font-size: 15px;
  font-weight: 750;
  margin: 0 6px;
}
html[data-look] .with-side .pc-month {
  padding: 0 12px 12px;
}
html[data-look] .with-side .pc-grid {
  border-radius: 10px;
  overflow: hidden;
}

/* ---------- Key dates, board 28 ---------- */
html[data-look] .kd2-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
html[data-look] .kd2-chip {
  border: 0;
  background: none;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2, #33476b);
  cursor: pointer;
}
html[data-look] .kd2-chip[aria-pressed="true"] {
  background: #0a4fc4;
  color: #fff;
}
html[data-look][data-theme="dark"] .kd2-chip {
  color: #c6d4ef;
}
html[data-look] .kd2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.52fr);
  gap: 12px;
  align-items: stretch;
}
html[data-look] .kd2-grid > div {
  display: flex;
}
html[data-look] .kd2-grid > div > .card,
html[data-look] .kd2-grid > .card {
  flex: 1;
  margin: 0;
  min-height: 430px;
}
html[data-look] .kd2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
html[data-look] .kd2-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f5f8fd;
  font-size: 13px;
  min-height: 28px;
}
html[data-look][data-theme="dark"] .kd2-row {
  background: #0e2d63;
}
html[data-look] .kd2-date {
  width: 56px;
  flex: none;
  font-size: 12.5px;
}
html[data-look] .kd2-title {
  color: inherit;
  text-decoration: none;
}
html[data-look] .kd2-title:hover {
  text-decoration: underline;
}
html[data-look] .kd2-row .badge {
  height: 20px;
  font-size: 11px !important;
}
html[data-look] .kd2-row .btn.sm {
  margin-left: auto;
  height: 24px;
  min-height: 24px;
  padding: 0 9px;
  font-size: 12px;
}
html[data-look] .kd2-overdue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 176, 65, 0.55);
}
html[data-look] .kd2-overdue i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
@media (max-width: 1100px) {
  html[data-look] .kd2-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .kd2-grid .mini-month,
html[data-look] .kd2-grid .mm {
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
}
html[data-look] .kd2-grid .mm-title,
html[data-look] .kd2-grid .mini-month > h3,
html[data-look] .kd2-grid .mini-month-title {
  display: none;
}

/* ---------- Column charts exactly as the boards ---------- */
html[data-look] .bar-chart.bc2 {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 96px;
  padding: 0;
  background: none;
  gap: 0;
}
html[data-look] .bc2 .bc-plot {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: 100%;
  gap: 10px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 31px,
    #edf1f7 31px 32px
  );
}
html[data-look] .bc2 .bc-col {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 0;
  height: 100%;
  min-width: 0;
}
html[data-look] .bc2 .bc-fill {
  display: block;
  flex: none;
  width: 78%;
  border-radius: 8px 8px 3px 3px;
  background: #cfe0f7;
}
html[data-look] .bc2 .bc-fill.zero {
  background: #dbe4f1;
}
html[data-look] .bc2 .bc-fill.last {
  background: linear-gradient(180deg, #5fd4ff, #0a4fc4);
  box-shadow: 0 0 16px -2px rgba(63, 169, 245, 0.75);
}
html[data-look] .bc2 .bc-v {
  font-size: 11.5px;
  font-weight: 600;
  color: #4f5c76;
  display: block !important;
  line-height: 1.2;
}
html[data-look] .bc2 .bc-v.on {
  font-weight: 800;
  color: #0a4fc4;
}
html[data-look] .bc2 .bc-labels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  text-align: center;
  margin-top: 4px;
}
html[data-look] .bc2 .bc-l {
  font-size: 11px;
  color: #4f5c76;
  display: block !important;
  white-space: nowrap;
  font-weight: 400;
}
html[data-look] .bc2 .bc-l.on {
  font-weight: 700;
}
html[data-look][data-theme="dark"] .bc2 .bc-plot {
  background: repeating-linear-gradient(
    180deg,
    transparent 0 31px,
    rgba(140, 180, 255, 0.1) 31px 32px
  );
}
html[data-look][data-theme="dark"] .bc2 .bc-fill {
  background: #1d4687;
}
html[data-look][data-theme="dark"] .bc2 .bc-fill.zero {
  background: #163a73;
}
html[data-look][data-theme="dark"] .bc2 .bc-fill.last {
  background: linear-gradient(180deg, #5fd4ff, #1f6fe0);
}
html[data-look][data-theme="dark"] .bc2 .bc-v,
html[data-look][data-theme="dark"] .bc2 .bc-l {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .bc2 .bc-v.on {
  color: #7cc4ff;
}

/* =====================================================================
   Design tokens taken value-for-value from the approved boards
   (owner, 22 November 2026): colours, radii, shadows and type sizes.
   ===================================================================== */
html[data-look]:where(:not([data-theme])) body {
  background: #eef3fa !important;
  background-image: none !important;
}
/* Stage: the boards' navy gradient, dot grid and ring. */
html[data-look] .page > .stack > .page-head::before,
html[data-look] .page .page-head::before {
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.33) 98%,
        transparent
      )
      0 0/26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0/100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0
      0/52px 100%,
    radial-gradient(
      120% 160% at 88% -20%,
      rgba(63, 169, 245, 0.34),
      transparent 55%
    ),
    radial-gradient(
      80% 120% at 0% 120%,
      rgba(10, 79, 196, 0.45),
      transparent 60%
    ),
    linear-gradient(160deg, #031535 0%, #041d4a 55%, #06245a 100%) !important;
  border-radius: 0 0 30px 30px !important;
}
html[data-look] .orbit-board > .orbit-stage {
  background:
    radial-gradient(
        1.2px 1.2px at 12px 12px,
        rgba(170, 205, 255, 0.33) 98%,
        transparent
      )
      0 0/26px 26px,
    linear-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0 0/100%
      52px,
    linear-gradient(90deg, rgba(140, 180, 255, 0.06) 1px, transparent 1px) 0
      0/52px 100%,
    radial-gradient(
      120% 160% at 88% -20%,
      rgba(63, 169, 245, 0.34),
      transparent 55%
    ),
    radial-gradient(
      80% 120% at 0% 120%,
      rgba(10, 79, 196, 0.45),
      transparent 60%
    ),
    linear-gradient(160deg, #031535 0%, #041d4a 55%, #06245a 100%) !important;
  border-radius: 0 0 30px 30px !important;
  box-shadow: none !important;
  position: relative;
}
html[data-look] .orbit-board > .orbit-stage > * {
  position: relative;
  z-index: 1;
}
html[data-look] .page-head h1 {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
html[data-look] .page-head .sub {
  font-size: 13px !important;
  color: #cfdcf3 !important;
}
/* Buttons */
html[data-look] .btn {
  border-radius: 12px;
  font-weight: 600;
}
html[data-look] .page-head .btn {
  min-height: 44px;
  height: 44px;
  padding: 0 18px !important;
  font-size: 14px;
  border-radius: 12px !important;
}
html[data-look] .page-head .btn:not(.primary) {
  border: 0 !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.35) !important;
}
html[data-look] .page-head .btn.primary,
html[data-look] .page .btn.primary {
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #3fa9f5 0%, #0a4fc4 100%) !important;
  box-shadow:
    0 0 0 1px rgba(110, 180, 255, 0.45),
    0 10px 24px -10px rgba(63, 169, 245, 0.9) !important;
}
html[data-look] .page .btn.primary:disabled {
  opacity: 0.55;
}
html[data-look]:where(:not([data-theme="dark"]))
  .page
  .btn:not(.primary):not(.ghost):not(.danger):not(.link-btn) {
  border: 1px solid #cdd8ea;
  color: #0b1f3f;
  background: #fff;
  box-shadow: none;
}
html[data-look] .page-head .btn:not(.primary) {
  border: 0 !important;
}
html[data-look] .dg-table tbody td .btn.sm,
html[data-look] .row-actions .btn.sm {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 10px !important;
  font-size: 12.5px !important;
  border-radius: 12px !important;
  white-space: nowrap;
}
html[data-look] .row-actions {
  display: inline-flex;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
html[data-look] .dg-table td:last-child {
  white-space: nowrap;
  width: 1%;
}
/* Cards and panels */
html[data-look]:where(:not([data-theme="dark"])) .page .card {
  border-radius: 18px !important;
  border: 1px solid #e3eaf5 !important;
  box-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04),
    0 10px 28px -14px rgba(4, 29, 74, 0.28) !important;
  background: #fff;
}
html[data-look] .page .card {
  border-radius: 18px !important;
}
html[data-look] .page .card > .card-head {
  padding: 12px 14px 10px !important;
  border-bottom: 1px solid #edf1f7;
}
html[data-look][data-theme="dark"] .page .card > .card-head {
  border-bottom-color: #1c3a72;
}
html[data-look] .page .card-head h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}
html[data-look] .card-head h2::before {
  width: 8px !important;
  height: 8px !important;
  background: #3fa9f5 !important;
  box-shadow: 0 0 8px #3fa9f5 !important;
}
/* Headline cards */
html[data-look] .sum-strip .ss-item,
html[data-look] .po2-kpis .kpi {
  border-radius: 20px !important;
  padding: 12px 16px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.06),
    0 20px 40px -22px rgba(4, 29, 74, 0.5) !important;
  position: relative;
  overflow: hidden;
  gap: 2px !important;
}
html[data-look][data-theme="dark"] .sum-strip .ss-item,
html[data-look][data-theme="dark"] .po2-kpis .kpi {
  border-color: #1c3a72 !important;
}
html[data-look] .sum-strip .ss-item::after,
html[data-look] .po2-kpis .kpi::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  right: -36px;
  bottom: -50px;
  left: auto;
  top: auto;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(63, 169, 245, 0.18);
  box-shadow: 0 0 0 12px rgba(63, 169, 245, 0.04);
  background: none !important;
  pointer-events: none;
}
html[data-look] .ss-label,
html[data-look] .po2-kpis .kpi-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: #3b4a66 !important;
}
html[data-look][data-theme="dark"] .ss-label,
html[data-look][data-theme="dark"] .po2-kpis .kpi-label {
  color: #c6d4ef !important;
}
html[data-look] .sum-strip .ss-value,
html[data-look] .po2-kpis .kpi-value {
  font-size: 25px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
}
html[data-look] .sum-strip .ss-sub,
html[data-look] .po2-kpis .kpi-sub {
  font-size: 12.5px !important;
  color: #4f5c76 !important;
}
html[data-look][data-theme="dark"] .sum-strip .ss-sub,
html[data-look][data-theme="dark"] .po2-kpis .kpi-sub {
  color: #a9bbe0 !important;
}
html[data-look] .ss-flag {
  font-size: 11px !important;
  font-weight: 750 !important;
  border-radius: 8px !important;
  padding: 1px 7px !important;
  background: #fff1dc !important;
  color: #8a4b00 !important;
  box-shadow: none !important;
  border: 0 !important;
}
html[data-look] .ss-flag.red {
  background: #fde8e6 !important;
  color: #b42318 !important;
}
/* Tables */
html[data-look]:where(:not([data-theme="dark"])) .dg-frame {
  border: 1px solid #dce4f0 !important;
  border-radius: 12px !important;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-table thead th {
  background: #eaf1fb !important;
  color: #33476b !important;
}
html[data-look] .dg-table thead th,
html[data-look] .dg-table thead th .dg-sort {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-table tbody td {
  --dgl: #e6ecf5;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-table tfoot td {
  background: #f6f9fd !important;
  font-weight: 700;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-actions .btn.sm {
  border: 1px solid #d5deec !important;
  color: #1d2b45 !important;
  background: #fff !important;
  box-shadow: none !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  height: 30px;
  padding: 0 11px !important;
}
html[data-look]:where(:not([data-theme="dark"])) .dg-search-wrap input {
  background: #fff !important;
  border: 1px solid #d5deec !important;
  box-shadow: none !important;
  color: #1d2b45;
}
html[data-look] .dg-count {
  font-size: 12px;
  color: #5b6b88;
}
html[data-look] .badge {
  letter-spacing: 0 !important;
}
/* Top bar */
html[data-look] header.topbar {
  height: 60px;
  min-height: 60px;
}
html[data-look] .t-nav .t-link {
  font-size: 13px !important;
  font-weight: 550 !important;
  padding: 7px 7px !important;
  border-radius: 10px !important;
  color: #3b4a66;
}
html[data-look]:where(:not([data-theme="dark"])) .t-nav .t-link[aria-current] {
  color: #0a4fc4 !important;
  background: #e8f1ff !important;
  font-weight: 700 !important;
  box-shadow: inset 0 -2px 0 #3fa9f5 !important;
}
html[data-look] .t-nav .t-count {
  background: #e08a00 !important;
  color: #fff !important;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  padding: 0 6px;
  line-height: 17px;
  min-width: 0;
  height: auto;
}
/* Side panels */
html[data-look] .sp2-label {
  font-size: 11.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.08em !important;
  color: #4f5c76 !important;
}
html[data-look][data-theme="dark"] .sp2-label {
  color: #a9bbe0 !important;
}
html[data-look] .sp2-row {
  font-size: 13px;
}
/* Overview panels never show a scroll bar: content is sized to fit. */
html[data-look] .po2-grid .card-body {
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
html[data-look] .po2-grid .card-body > .po-viz,
html[data-look] .po2-grid .card-body > .bar-chart {
  flex: 1;
  min-height: 0;
}
html[data-look] .po2-grid .po-viz {
  display: flex;
  flex-direction: column;
}
html[data-look] .po2-grid .bar-chart.bc2 {
  min-height: 0;
  height: auto;
  flex: 1;
}
html[data-look] .po2-grid .empty {
  flex: 1;
  justify-content: center;
  min-height: 0;
}
html[data-look] .po2-grid .empty .e-visual,
html[data-look] .po2-grid .empty .e-art {
  height: 40px !important;
}
html[data-look] .po2-grid .empty p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-look] .po2-grid .po-attention,
html[data-look] .po2-grid .po-recent,
html[data-look] .po2-grid .co2-mini,
html[data-look] .po2-grid .co2-activity {
  overflow: hidden;
}

/* Row edge as the boards draw it: a short rounded tick inside the first cell. */
html[data-look] .dg-table tbody tr[class*="dg-edge-"] > td:first-child,
html[data-look] .dg-table tbody tr[class*="dg-flag-"] > td:first-child {
  box-shadow: inset 0 1px 0 var(--dgl, #e6ecf5) !important;
  position: relative;
}
html[data-look] .dg-table tbody tr[class*="dg-edge-"] > td:first-child::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 2px;
  height: 28px;
  margin-top: -14px;
  border-radius: 2px;
  background: #14a06a;
}
html[data-look] .dg-table tbody tr.dg-edge-red > td:first-child::before {
  background: #d64545;
}
html[data-look] .dg-table tbody tr.dg-edge-amber > td:first-child::before {
  background: #e08a00;
}
html[data-look] .dg-table tbody tr.dg-edge-blue > td:first-child::before {
  background: #3fa9f5;
}
html[data-look] .dg-table tbody tr.dg-edge-grey > td:first-child::before {
  background: #b9c4d6;
}
html[data-look] .dg-table tbody tr.dg-edge-violet > td:first-child::before {
  background: #7c5cd6;
}
html[data-look] .dg-table tbody tr[class*="dg-edge-"] > td:first-child {
  padding-left: 18px !important;
}
html[data-look] .dg-table thead th:first-child {
  padding-left: 18px !important;
}
html[data-look] .dg-table thead th.dg-x,
html[data-look] .dg-table tbody tr[class*="dg-edge-"] > td.dg-x {
  width: 30px;
  padding-left: 16px !important;
}
html[data-look] .dg-table .dg-toggle svg {
  width: 12px;
  height: 12px;
}
/* Stage panels as the boards' glow panel and glass. */
html[data-look] .po-v2 .orb-run {
  border-radius: 22px !important;
  padding: 14px 20px !important;
  background:
    radial-gradient(
      90% 140% at 100% 0%,
      rgba(63, 169, 245, 0.24),
      transparent 60%
    ),
    linear-gradient(135deg, #0a2a68 0%, #0b3a8c 100%) !important;
  border: 1px solid rgba(110, 180, 255, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(63, 169, 245, 0.12),
    0 0 34px -6px rgba(63, 169, 245, 0.45),
    0 24px 48px -24px rgba(4, 29, 74, 0.7) !important;
}
html[data-look] .po2-glass {
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.28) !important;
  backdrop-filter: none;
}
html[data-look] .po-v2 .orb-run .btn.primary,
html[data-look] .platform-orbit .orb-run-top .orb-run-actions .btn.primary {
  background: #fff !important;
  color: #0b1f3f !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 38px;
  height: 38px;
}
html[data-look] .orb-chip {
  height: 26px;
  padding: 0 11px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
}
/* Overview lists: the boards' roomy rows. */
html[data-look] .po2-grid .po-attention {
  gap: 4px !important;
  padding: 8px 14px !important;
  justify-content: flex-start;
}
html[data-look] .po2-grid .po-att-row {
  padding: 4px 10px !important;
  min-height: 30px;
}
html[data-look] .po2-grid .po-recent {
  gap: 6px !important;
  padding: 10px 14px !important;
}
html[data-look] .po2-grid .po-recent li {
  padding: 5px 10px !important;
  min-height: 30px;
}
html[data-look] .po2-grid .po-att-row .btn.sm {
  color: #0a4fc4 !important;
  border: 1px solid #cdd8ea !important;
  border-radius: 9px !important;
  font-weight: 650;
  height: 26px !important;
  min-height: 26px !important;
}
/* Side panel bars in the boards' colours, thin tracks. */
html[data-look] .sp2-track {
  height: 6px;
  border-radius: 3px;
  background: #eef3fa;
}
html[data-look] .sp2-bar:nth-of-type(4n + 1) .sp2-fill {
  background: #3fa9f5;
}
html[data-look] .sp2-bar:nth-of-type(4n + 2) .sp2-fill {
  background: #0a4fc4;
}
html[data-look] .sp2-bar:nth-of-type(4n + 3) .sp2-fill {
  background: #6b5bd6;
}
html[data-look] .sp2-bar:nth-of-type(4n + 4) .sp2-fill {
  background: #e08a00;
}
html[data-look][data-theme="dark"] .sp2-track {
  background: #163a73;
}
html[data-look] .sp2-foot {
  border-radius: 12px;
  background: #f5f8fd;
  padding: 8px 10px;
}
/* Narrow windows: the table keeps its buttons; the side panel drops below. */
html[data-look] .dg-frame {
  overflow-x: auto;
}
@media screen and (max-width: 1250px) {
  html[data-look] .with-side {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .po2-grid .po-att-row {
  padding: 3px 10px !important;
  min-height: 0 !important;
}
html[data-look] .po2-grid .po-recent li {
  padding: 5px 10px !important;
  min-height: 0 !important;
}
html[data-look] .po2-grid .po-recent .badge {
  height: 22px;
}
html[data-look] .po2-grid .empty {
  gap: 3px;
  padding: 0 !important;
}
html[data-look] .po2-grid .empty .e-visual,
html[data-look] .po2-grid .empty .e-art {
  height: 48px !important;
}
html[data-look] .po2-grid .empty :is(p, .e-text) {
  max-height: 2.9em;
  overflow: hidden;
  line-height: 1.4;
  font-size: 12.5px;
}
html[data-look] .po2-grid .card-body {
  padding: 8px 14px !important;
}
@media (min-width: 1101px) {
  html[data-look] .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 440px) !important;
    overflow-y: auto;
  }
}
html[data-look] .audit-centre .with-side > .card .dg-frame {
  max-height: calc(100vh * var(--zi, 1) - 500px) !important;
}
html[data-look] .page * {
  scrollbar-width: thin;
  scrollbar-color: #cdd8ea transparent;
}
html[data-look][data-theme="dark"] .page * {
  scrollbar-color: #2b4f8e transparent;
}
html[data-look] .dg-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
html[data-look] .po2-grid .co2-mini {
  gap: 4px;
}
html[data-look] .po2-grid .co2-mini li {
  padding: 1px 10px;
  font-size: 12.5px;
  min-height: 22px;
}
html[data-look] .po2-grid .co2-meters {
  gap: 6px;
}
html[data-look] .po2-grid .co2-meters .orb-meter {
  height: 6px;
  margin-top: 4px;
}
html[data-look] .po2-grid .co2-actions .btn {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  font-size: 12.5px;
}
html[data-look] .po2-grid .co2-activity {
  gap: 6px;
}
@media (min-width: 1101px) {
  html[data-look] .settings-section .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 500px) !important;
  }
}
html[data-look][data-theme="dark"] .t-nav .t-link {
  color: #c6d4ef !important;
}
html[data-look][data-theme="dark"] .t-nav .t-link[aria-current] {
  color: #fff !important;
  background: rgba(63, 169, 245, 0.2) !important;
  box-shadow: inset 0 0 0 1px rgba(110, 175, 255, 0.45) !important;
}
html[data-look][data-theme="dark"] .po2-grid .po-att-row .btn.sm {
  background: #0a2554 !important;
  border-color: #2b4f8e !important;
  color: #a8dcff !important;
}
html[data-look][data-theme="dark"]
  .page
  .btn:not(.primary):not(.ghost):not(.danger):not(.link-btn) {
  background: #0e2d63;
  color: #eef4ff;
  border: 1px solid #2b4f8e;
  box-shadow: none;
}
html[data-look][data-theme="dark"] .page-head .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.08) !important;
}
html[data-look][data-theme="dark"] .sp2-foot {
  background: #0e2d63;
}
@media (min-width: 1101px) {
  html[data-look] .settings-section .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 462px) !important;
  }
}
@media (min-width: 1101px) {
  html[data-look] .settings-section .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 486px) !important;
  }
}
html[data-look] .dg-table tbody td:has(.person-cell) {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
html[data-look] .dg-table .person-cell .avatar-dot {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
  border-radius: 8px;
}
html[data-look] .dg-table .person-cell {
  gap: 8px;
  align-items: center;
}

/* ---------- Overview panels, value for value from board 1 ---------- */
html[data-look] .bw {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e3eaf5;
  box-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04),
    0 10px 28px -14px rgba(4, 29, 74, 0.28);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  color: #0b1f3f;
}
html[data-look] .bw-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #edf1f7;
}
html[data-look] .bw-h h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
}
html[data-look] .bw-h h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fa9f5;
  box-shadow: 0 0 8px #3fa9f5;
}
html[data-look] .bw-b {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-height: 0;
}
html[data-look] .bw.bw-chart .bw-b {
  padding: 8px 14px 10px;
}
html[data-look] .bw-note {
  font-size: 12.5px;
  color: #4f5c76;
  margin: 0;
}
html[data-look] .bw-note a,
html[data-look] .bw-link {
  font-weight: 650;
  text-decoration: none;
  color: #0a4fc4;
}
html[data-look] .bw-link {
  font-size: 12.5px;
}
html[data-look] .bw-delta {
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 1px 6px;
  background: #e4f6ee;
  color: #14663f;
}
html[data-look] .bw-health {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1;
}
html[data-look] .bw-ring {
  position: relative;
  width: 90px;
  height: 90px;
  flex: none;
}
html[data-look] .bw-ring svg {
  width: 90px;
  height: 90px;
  display: block;
}
html[data-look] .bw-ring-track {
  fill: none;
  stroke: #eef3fa;
  stroke-width: 9;
}
html[data-look] .bw-ring-seg {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}
html[data-look] .bw-ring-seg.good {
  stroke: #0a4fc4;
}
html[data-look] .bw-ring-seg.warn {
  stroke: #b8650a;
}
html[data-look] .bw-ring-seg.bad {
  stroke: #b42318;
}
html[data-look] .bw-ring-t {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
html[data-look] .bw-ring-t strong {
  font-size: 22px;
}
html[data-look] .bw-ring-t span {
  font-size: 10px;
  color: #4f5c76;
}
html[data-look] .bw-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
html[data-look] .bw-legend > div {
  display: grid;
  grid-template-columns: 12px 1fr auto 42px;
  gap: 8px;
  align-items: center;
}
html[data-look] .bw-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
html[data-look] .bw-legend i.good {
  background: #0a4fc4;
}
html[data-look] .bw-legend i.warn {
  background: #b8650a;
}
html[data-look] .bw-legend i.bad {
  background: #b42318;
}
html[data-look] .bw-legend .pct {
  color: #4f5c76;
  text-align: right;
}
html[data-look] .bw-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .bw-fresh {
  font-size: 13px;
}
html[data-look] .bw-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
html[data-look] .bw-track {
  height: 6px;
  border-radius: 3px;
  background: #eef3fa;
  margin-top: 3px;
}
html[data-look] .bw-track span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #14a06a;
}
html[data-look] .bw-track span.warn {
  background: #e08a00;
}
html[data-look] .bw-track span.bad {
  background: #d64545;
}
html[data-look] .bw-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .bw-list.tight {
  gap: 4px;
  margin: -4px 0;
}
html[data-look] .bw-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 12px;
  background: #f5f8fd;
  font-size: 13px;
  border: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font-family: inherit;
}
html[data-look] button.bw-mini {
  cursor: pointer;
}
html[data-look] .bw-list.tight .bw-mini {
  padding: 3px 10px;
}
html[data-look] .bw-mini strong {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .bw-mini > :nth-child(2) {
  margin-left: auto;
}
html[data-look] .bw-sev {
  font-size: 11px;
  font-weight: 750;
  border-radius: 8px;
  padding: 1px 7px;
  white-space: nowrap;
}
html[data-look] .bw-sev.a {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look] .bw-sev.r {
  background: #fde8e6;
  color: #b42318;
}
html[data-look] .bw-go {
  font-weight: 650;
  font-size: 12.5px;
  border: 1px solid #cdd8ea;
  background: #fff;
  border-radius: 9px;
  padding: 3px 10px;
  color: #0a4fc4;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
html[data-look] .bw-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 650;
}
html[data-look] .bw-tag.ok {
  background: #e4f6ee;
  color: #14663f;
}
html[data-look] .bw-tag.warn {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look] .bw-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  margin: -4px 0;
}
html[data-look] .bw-empty strong {
  font-size: 14px;
}
html[data-look] .bw-art {
  position: relative;
  width: 118px;
  height: 58px;
  flex: none;
  display: block;
}
html[data-look] .bw-art > span {
  position: absolute;
  display: block;
}
html[data-look] .bw-art .a-shadow {
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 8px;
  border-radius: 50%;
  background: #e3eaf5;
}
html[data-look] .bw-art .a-card {
  left: 18px;
  top: 6px;
  width: 82px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 0 1px #dbe4f1,
    0 8px 18px -10px rgba(4, 29, 74, 0.4);
}
html[data-look] .bw-art .a-l1 {
  left: 26px;
  top: 34px;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: #dbe4f1;
}
html[data-look] .bw-art .a-l2 {
  left: 26px;
  top: 41px;
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: #e8eef7;
}
html[data-look] .bw-art .a-ico {
  left: 44px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  box-shadow: 0 8px 16px -8px rgba(10, 79, 196, 0.9);
}
html[data-look] .bw-art .a-ico svg {
  width: 15px;
  height: 15px;
}
html[data-look] .bw-art .a-dot {
  left: 6px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cfe0f7;
}
html[data-look] .bw-art .a-plus {
  right: 6px;
  top: 4px;
  color: #b8d6ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
/* Dark */
html[data-look][data-theme="dark"] .bw {
  background: #0a2554;
  border-color: #1c3a72;
  box-shadow:
    inset 0 0 0 1px rgba(110, 175, 255, 0.1),
    0 20px 40px -24px rgba(0, 0, 0, 0.6);
  color: #eef4ff;
}
html[data-look][data-theme="dark"] .bw-h {
  border-bottom-color: #1c3a72;
}
html[data-look][data-theme="dark"] .bw-note,
html[data-look][data-theme="dark"] .bw-ring-t span,
html[data-look][data-theme="dark"] .bw-legend .pct {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .bw-mini {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .bw-go {
  background: #0a2554;
  border-color: #2b4f8e;
  color: #a8dcff;
}
html[data-look][data-theme="dark"] .bw-link,
html[data-look][data-theme="dark"] .bw-note a {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .bw-track,
html[data-look][data-theme="dark"] .bw-ring-track {
  background: #163a73;
  stroke: #163a73;
}
html[data-look][data-theme="dark"] .bw-sev.a,
html[data-look][data-theme="dark"] .bw-tag.warn {
  background: rgba(245, 176, 65, 0.18);
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .bw-sev.r {
  background: rgba(240, 100, 90, 0.18);
  color: #ffb4ab;
}
html[data-look][data-theme="dark"] .bw-tag.ok,
html[data-look][data-theme="dark"] .bw-delta {
  background: rgba(52, 211, 153, 0.16);
  color: #9ff3cf;
}
html[data-look][data-theme="dark"] .bw-art .a-card {
  background: #0e2d63;
  box-shadow: 0 0 0 1px #2b4f8e;
}
html[data-look][data-theme="dark"] .bw-ring-seg.good,
html[data-look][data-theme="dark"] .bw-legend i.good {
  stroke: #3fa9f5;
  background: #3fa9f5;
}
html[data-look] .po2-grid {
  gap: 12px !important;
}
html[data-look] .bw .bar-chart.bc2 {
  width: 100%;
  min-height: 0;
  flex: 1;
}
html[data-look] .page:has(> .stack > .po-v2),
html[data-look] .page:has(.po-v2) {
  padding-bottom: 12px !important;
}
html[data-look] .po-v2 > .orbit-stage {
  gap: 4px !important;
  padding-top: 14px !important;
  padding-bottom: 84px !important;
}
html[data-look] .po-v2 > .orbit-stage > .page-head {
  margin-bottom: 6px !important;
}
html[data-look] .po-v2 .orb-run {
  padding: 12px 20px !important;
}
html[data-look] .po2-kpis {
  margin-top: -78px !important;
}
html[data-look] .po2-kpis .kpi {
  padding: 11px 16px 9px !important;
}
html[data-look] .po2-kpis .kpi > .pv-spark {
  height: 20px !important;
  margin: 2px 0 0 !important;
}
html[data-look] .po-v2 {
  gap: 12px !important;
}
html[data-look] .bar-chart.bc2 {
  align-items: stretch !important;
  justify-content: flex-start !important;
}
html[data-look] .bc2 .bc-plot,
html[data-look] .bc2 .bc-labels {
  width: 100%;
  align-self: stretch;
}
html[data-look] .bw-empty .bw-note {
  max-height: 2.9em;
  overflow: hidden;
  line-height: 1.4;
}
html[data-look] .bw-list {
  overflow: hidden;
}
html[data-look] .bw-list .bw-mini {
  min-height: 30px;
  padding: 0 10px;
  box-sizing: border-box;
}
html[data-look] .bw-list.tight .bw-mini {
  min-height: 26px;
}
html[data-look] .bw-tag {
  height: 22px;
}
html[data-look] .bw-go {
  padding: 2px 10px;
}
html[data-look] .bw-b {
  padding: 10px 14px;
}
html[data-look] .bw-empty {
  gap: 2px;
}
html[data-look] .bw-art {
  transform: scale(0.9);
  margin: -3px 0;
}
@media (max-height: 780px) {
  html[data-look] .bw-list {
    gap: 4px;
  }
  html[data-look] .bw-list .bw-mini {
    min-height: 26px;
  }
}
html[data-look] .po2-glass-list a {
  color: #e6eeff !important;
}

/* ---------- Add customer: one screen per step (owner, 22 November 2026) ---------- */
html[data-look] .wz-layout.wz-top {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  grid-template-columns: none;
}
html[data-look] .wz-top .wz-steps {
  position: static;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 4px;
  border-radius: 14px;
  background: #eef3fb;
  counter-reset: none;
}
html[data-look] .wz-top .wz-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 11px;
  min-width: 0;
  background: none !important;
}
html[data-look] .wz-top .wz-steps li.current {
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(4, 29, 74, 0.12);
}
html[data-look] .wz-top .wz-steps li.done {
  cursor: pointer;
}
html[data-look] .wz-top .wz-num {
  flex: none;
  width: 24px;
  height: 24px;
  font-size: 12px;
}
html[data-look] .wz-top .wz-step-text {
  min-width: 0;
}
html[data-look] .wz-top .wz-step-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
html[data-look] .wz-top .wz-step-sub {
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
html[data-look][data-theme="dark"] .wz-top .wz-steps {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .wz-top .wz-steps li.current {
  background: #1d4687 !important;
}
html[data-look] .wz-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
html[data-look] .wz-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #f5f8fd;
  border: 1px solid #e3eaf5;
}
html[data-look][data-theme="dark"] .wz-col {
  background: #0e2d63;
  border-color: #1c3a72;
}
html[data-look] .wz-col-h {
  margin: 0;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f5c76;
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-look] .wz-col-h::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fa9f5;
  box-shadow: 0 0 8px #3fa9f5;
}
html[data-look][data-theme="dark"] .wz-col-h {
  color: #a9bbe0;
}
html[data-look] .wizard-drawer .field {
  margin: 0;
}
html[data-look] .wizard-drawer .field label {
  font-size: 12.5px;
  margin-bottom: 4px;
}
html[data-look]
  .wizard-drawer
  :is(input, select):not([type="checkbox"]):not([type="radio"]) {
  min-height: 40px !important;
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 11px;
}
html[data-look] .wizard-drawer textarea {
  min-height: 64px;
}
html[data-look] .wizard-drawer .hint {
  font-size: 11.5px;
  margin-top: 3px;
  line-height: 1.35;
}
html[data-look] .wizard-drawer .wz-col .full,
html[data-look] .wizard-drawer .wz-col .field {
  grid-column: auto;
}
html[data-look] .wizard-drawer .form-grid {
  gap: 10px 14px;
}
html[data-look] .wizard-drawer .wz-main {
  min-width: 0;
}
html[data-look] .wz-foot-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
}
html[data-look] .wz-sumline {
  font-size: 12.5px;
  color: #4f5c76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60ch;
}
html[data-look][data-theme="dark"] .wz-sumline {
  color: #a9bbe0;
}
html[data-look] .wizard-drawer .wz-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .wizard-drawer .d-head {
  padding-top: 14px;
  padding-bottom: 14px;
}
html[data-look] .wz-cols.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
html[data-look] .wz-col .check {
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.35;
}
html[data-look] .wz-col .check .small {
  font-size: 11.5px;
}
html[data-look] .wz-col textarea {
  min-height: 56px !important;
}
html[data-look] .wz-col > p.small,
html[data-look] .wz-col > .small {
  font-size: 12px;
  margin: 0;
}
html[data-look] .wz-cols.two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html[data-look] .wz-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
html[data-look] .wz-ticks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
html[data-look] .wz-ticks li::before {
  content: "✓";
  color: #14915a;
  font-weight: 800;
  flex: none;
}
html[data-look] .wz-col .pw-row {
  display: flex;
  gap: 8px;
}
html[data-look] .wz-col .pw-row .btn {
  height: 40px;
  min-height: 40px;
}
@media (max-width: 900px) {
  html[data-look] .wz-cols,
  html[data-look] .wz-cols.two {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html[data-look] .wz-top .wz-steps {
    grid-template-columns: repeat(5, auto);
    overflow-x: auto;
  }
  html[data-look] .wz-top .wz-step-sub {
    display: none;
  }
}
html[data-look] .wizard-drawer .wz-review-grid {
  gap: 12px;
}
html[data-look] .wizard-drawer .wz-review > .card-head {
  padding: 9px 14px 8px !important;
}
html[data-look] .wizard-drawer .wz-review .card-head .btn.ghost {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0a4fc4 !important;
  font-weight: 650;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
html[data-look] .wizard-drawer .wz-review .card-body {
  padding: 4px 14px 8px !important;
}
html[data-look] .wizard-drawer .wz-review dl > div {
  padding: 5px 0 !important;
  font-size: 13px;
}
html[data-look] .wizard-drawer .callout {
  padding: 8px 12px;
  font-size: 12.5px;
}
html[data-look] .wizard-drawer .callout strong,
html[data-look] .wizard-drawer .callout h3 {
  font-size: 13px;
}

/* ---------- Password and security (owner, 22 November 2026) ---------- */
html[data-look] .sec-panel {
  gap: 12px;
}
html[data-look] .sec-panel .sum-strip {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
}
html[data-look] .sec-panel .ss-value {
  font-size: 20px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
html[data-look] .sec-panel .with-side {
  grid-template-columns: minmax(0, 2.2fr) minmax(220px, 1fr) !important;
}
html[data-look] .sec-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[data-look] .sec-card .card-body > p.small {
  margin: 0;
}
html[data-look] .sec-card .note-types {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dce4f0;
  border-radius: 12px;
  overflow: hidden;
}
html[data-look] .sec-card .note-types th {
  background: #eaf1fb;
  font-size: 11.5px;
  font-weight: 750;
  color: #33476b;
  padding: 8px 10px;
  text-align: left;
}
html[data-look] .sec-card .note-types th.c,
html[data-look] .sec-card .note-types td.c {
  text-align: center;
}
html[data-look] .sec-card .note-types td {
  padding: 7px 10px;
  border-top: 1px solid #e6ecf5;
  font-size: 13px;
}
html[data-look][data-theme="dark"] .sec-card .note-types {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .sec-card .note-types th {
  background: #0d2c5e;
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .sec-card .note-types td {
  border-top-color: #1c3a72;
}
html[data-look] .sec-card .signin-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .sec-card .signin-history li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f5f8fd;
  font-size: 13px;
}
html[data-look] .sec-card .signin-history li.is-failed {
  background: #fde8e6;
  color: #b42318;
}
html[data-look][data-theme="dark"] .sec-card .signin-history li {
  background: #0e2d63;
}
html[data-look] .sec-card .check {
  font-size: 13.5px;
}
html[data-look] .sec-panel .sp2 .sp2-row span::before {
  content: "✓";
  color: #14915a;
  font-weight: 800;
  margin-right: 8px;
}
@media (max-width: 900px) {
  html[data-look] .sec-panel .with-side {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
html[data-look] .sec-panel .tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: #eef3fb;
  width: fit-content;
  border: 0;
}
html[data-look] .sec-panel .tabs [role="tab"] {
  border: 0;
  background: none;
  padding: 5px 14px;
  min-height: 30px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 9px;
  color: #33476b;
  box-shadow: none;
}
html[data-look] .sec-panel .tabs [role="tab"]::after {
  display: none;
}
html[data-look] .sec-panel .tabs [role="tab"][aria-selected="true"] {
  background: #fff;
  color: #0a4fc4;
  box-shadow: 0 1px 3px rgba(4, 29, 74, 0.12);
}
html[data-look][data-theme="dark"] .sec-panel .tabs {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .sec-panel .tabs [role="tab"] {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"]
  .sec-panel
  .tabs
  [role="tab"][aria-selected="true"] {
  background: #1d4687;
  color: #fff;
}
html[data-look] .sec-panel .ss-value.ss-long,
html[data-look] .sec-panel .ss-item:nth-child(2) .ss-value {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Row details: never inherit the last-column nowrap; values wrap inside their block. */
html[data-look] .dg-table tbody tr.dg-detail-row > td {
  white-space: normal !important;
  width: auto !important;
}
html[data-look] .dg-detail {
  padding: 12px 14px 14px 30px !important;
  max-width: 100%;
}
html[data-look] .dg-detail-grid {
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 260px), 1fr)
  ) !important;
  gap: 12px !important;
}
html[data-look] .dg-block {
  min-width: 0;
  border-radius: 12px !important;
  border: 1px solid #dce4f0 !important;
  background: #fff;
  padding: 10px 12px !important;
}
html[data-look][data-theme="dark"] .dg-block {
  background: #0a2554;
  border-color: #1c3a72 !important;
}
html[data-look] .dg-block h4 {
  font-size: 11.5px !important;
  font-weight: 750;
  letter-spacing: 0.08em !important;
  color: #4f5c76;
}
/* Screen review (26 November 2026): the label column took all the room and
   the amount wrapped ("$1, / 035 / .82"). Now the amount column fits its
   figure and never wraps; a long label wraps instead. */
html[data-look] .dg-dl {
  grid-template-columns: minmax(0, 1fr) max-content !important;
  font-size: 12.5px !important;
  gap: 4px 12px;
}
html[data-look] .dg-dl dt {
  white-space: normal;
  color: #4f5c76;
}
html[data-look] .dg-dl dd {
  min-width: 0;
  white-space: nowrap;
  text-align: right;
  font-weight: 600;
}
/* Page help pop-up: dark text on white, readable over the navy band. */
html[data-look] .page-head .pg-help-pop,
html[data-look] .pg-help-pop {
  background: #fff !important;
  color: #1d2b45 !important;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  text-shadow: none;
}
html[data-look] .pg-help-pop * {
  color: inherit !important;
}
html[data-look] .pg-help-pop .pg-help-item.warn strong {
  color: #a35c00 !important;
}
html[data-look][data-theme="dark"] .pg-help-pop {
  background: #0d2c5e !important;
  color: #e6eefc !important;
}
html[data-look][data-theme="paper"] .pg-help-pop {
  background: #fffdf8 !important;
}
/* Security cards: the email gets more room. */
html[data-look] .sec-panel .sum-strip {
  grid-template-columns: 1fr 1.5fr 1fr 1fr !important;
}
html[data-look] .dg-table tbody td:last-child,
html[data-look] .dg-table thead th:last-child,
html[data-look] .dg-table tfoot td:last-child {
  padding-right: 12px !important;
}
html[data-look] .dg-table tbody tr.dg-detail-row > td {
  padding: 0 !important;
}
html[data-look] .dg-detail {
  box-sizing: border-box;
  width: min(var(--dg-w, 100%), 100%) !important;
}

/* ---------- Add or edit plan (owner, 22 November 2026) ---------- */
html[data-look] .pk-cols {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr) !important;
}
html[data-look] .wz-col-h {
  justify-content: flex-start;
}
html[data-look] .wz-col-h > .badge {
  margin-left: auto;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.5px !important;
  height: 22px;
}
html[data-look] .pk-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
html[data-look] .pk-example {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dce4f0;
  font-size: 12.5px;
}
html[data-look] .pk-example strong {
  font-size: 18px;
  font-weight: 800;
  color: #0a4fc4;
}
html[data-look][data-theme="dark"] .pk-example {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .pk-example strong {
  color: #7cc4ff;
}
html[data-look] .pk-sets {
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}
html[data-look] .pk-sub {
  display: block;
}
html[data-look] .pk-addons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html[data-look] .pk-addons[hidden] {
  display: none;
}
html[data-look] .pk-group-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
  margin-bottom: 6px;
}
html[data-look] .pk-group-act {
  display: flex;
  gap: 8px;
}
html[data-look] .pk-group-act .btn.ghost {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  color: #0a4fc4 !important;
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}
html[data-look] .pk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
html[data-look] .pk-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dce4f0;
  font-size: 12.5px;
  line-height: 1.25;
  cursor: pointer;
  min-width: 0;
}
html[data-look] .pk-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .pk-chip input {
  flex: none;
  margin: 0;
}
html[data-look] .pk-chip:has(input:checked) {
  background: #e8f1ff;
  border-color: #9cc3f5;
  color: #0a3a8c;
  font-weight: 600;
}
html[data-look] .pk-chip em {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #8a4b00;
  background: #fff1dc;
  border-radius: 6px;
  padding: 0 5px;
  flex: none;
}
html[data-look] .pk-chip.soon {
  opacity: 0.75;
}
html[data-look][data-theme="dark"] .pk-chip {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .pk-chip:has(input:checked) {
  background: rgba(63, 169, 245, 0.18);
  border-color: #3f7fd0;
  color: #dcefff;
}
html[data-look] .pk-prev-h {
  margin: 2px 0 0;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
}
html[data-look] .pk-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow: 0 10px 24px -16px rgba(4, 29, 74, 0.4);
  font-size: 13px;
}
html[data-look] .pk-preview.hl {
  border: 2px solid #3fa9f5;
  box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.12);
}
html[data-look] .pk-preview.off {
  opacity: 0.6;
}
html[data-look] .pk-preview strong {
  font-size: 15px;
}
html[data-look] .pk-price {
  font-weight: 700;
  color: #0a4fc4;
}
html[data-look] .pk-desc {
  color: #4f5c76;
  font-size: 12.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-look] .pk-hl {
  position: absolute;
  top: -10px;
  right: 12px;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
html[data-look][data-theme="dark"] .pk-preview {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .pk-price {
  color: #7cc4ff;
}
html[data-look] .plan-drawer textarea {
  min-height: 70px !important;
}
html[data-look] .plan-drawer .pk-off[hidden] {
  display: none;
}
@media (max-width: 1000px) {
  html[data-look] .pk-cols {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
html[data-look] .pk-chip span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
html[data-look] .pk-chip.soon span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look][data-theme="dark"] .pk-group-h,
html[data-look][data-theme="dark"] .pk-prev-h {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .pk-group-act .btn.ghost {
  color: #7cc4ff !important;
}
html[data-look][data-theme="dark"] .pk-desc {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .pk-chip em {
  background: rgba(245, 176, 65, 0.18);
  color: #ffd28a;
}

/* ---------- Customer health map (owner, 22 November 2026) ---------- */
html[data-look] .hm2 {
  gap: 12px;
}
html[data-look] .hm2 .sum-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
html[data-look] .hm2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
html[data-look] .hm2-bar .dg-chips {
  flex: none;
}
html[data-look] .hm2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}
html[data-look] .hm2-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 12px 30px 12px 16px;
  border-radius: 14px;
  border: 1px solid #e3eaf5;
  background: #fff;
  box-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04),
    0 10px 24px -16px rgba(4, 29, 74, 0.3);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  min-width: 0;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
html[data-look] .hm2-tile:hover {
  box-shadow:
    0 0 0 2px #9cc3f5,
    0 12px 26px -14px rgba(4, 29, 74, 0.35);
  transform: translateY(-1px);
}
html[data-look] .hm2-tile::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: #14a06a;
}
html[data-look] .hm2-tile.warn::before {
  background: #e08a00;
}
html[data-look] .hm2-tile.bad::before {
  background: #d64545;
}
html[data-look] .hm2-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
html[data-look] .hm2-name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
html[data-look] .hm2-top .badge {
  height: 20px !important;
  font-size: 11px !important;
  flex: none;
}
html[data-look] .hm2-run {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #4f5c76;
}
html[data-look] .hm2-track {
  height: 5px;
  border-radius: 3px;
  background: #eef3fa;
  overflow: hidden;
}
html[data-look] .hm2-track span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #14a06a;
}
html[data-look] .hm2-track span.warn {
  background: #e08a00;
}
html[data-look] .hm2-track span.bad {
  background: #d64545;
}
html[data-look] .hm2-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
html[data-look] .hm2-flag {
  font-size: 11px;
  font-weight: 700;
  border-radius: 7px;
  padding: 1px 7px;
  background: #eef3fa;
  color: #3b4a66;
}
html[data-look] .hm2-flag.a {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look] .hm2-flag.r {
  background: #fde8e6;
  color: #b42318;
}
html[data-look] .hm2-flag.ok {
  background: #e4f6ee;
  color: #14663f;
}
html[data-look] .hm2-go {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -8px;
  color: #9aa8c2;
}
html[data-look] .hm2-go svg {
  width: 16px;
  height: 16px;
}
html[data-look][data-theme="dark"] .hm2-tile {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .hm2-run {
  color: #a9bbe0;
}
html[data-look][data-theme="dark"] .hm2-track {
  background: #163a73;
}
html[data-look][data-theme="dark"] .hm2-flag {
  background: #133672;
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .hm2-flag.a {
  background: rgba(245, 176, 65, 0.18);
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .hm2-flag.r {
  background: rgba(240, 100, 90, 0.18);
  color: #ffb4ab;
}
html[data-look][data-theme="dark"] .hm2-flag.ok {
  background: rgba(52, 211, 153, 0.16);
  color: #9ff3cf;
}

/* Printing a table shows every row and column: nothing is cut off. */
@media print {
  html[data-look] .dg-frame,
  html[data-look] .with-side > .card .dg-frame,
  html[data-look] .settings-section .with-side > .card .dg-frame,
  html[data-look] .audit-centre .with-side > .card .dg-frame {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  html[data-look] .with-side {
    display: block !important;
  }
  html[data-look] .dg-table {
    width: 100% !important;
    table-layout: auto !important;
  }
  html[data-look] .dg-table th,
  html[data-look] .dg-table td {
    white-space: normal !important;
    font-size: 10.5px !important;
    padding: 4px 6px !important;
  }
  html[data-look] .dg-table thead th {
    position: static !important;
  }
  html[data-look] .dg-table tr {
    break-inside: avoid;
  }
  html[data-look] .dg-table td:last-child .row-actions,
  html[data-look] .dg-table .dg-toggle,
  html[data-look] .dg-tools,
  html[data-look] .dg-x {
    display: none !important;
  }
  html[data-look] .dg-detail {
    position: static !important;
    width: auto !important;
  }
  html[data-look] .card {
    box-shadow: none !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  html[data-look] .page,
  html[data-look] main,
  html[data-look] .main {
    overflow: visible !important;
    height: auto !important;
  }
}
@media print {
  html[data-look] .dg-table td *,
  html[data-look] .dg-table th * {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    -webkit-line-clamp: unset !important;
  }
  html[data-look] .dg-table .dg-sub {
    display: block !important;
  }
  html[data-look] .dg-table td:last-child {
    width: auto !important;
  }
}
@media print {
  html[data-look] .dg-table td .btn,
  html[data-look] .dg-table td button.btn,
  html[data-look] .dg-table td a.btn {
    display: none !important;
  }
}

/* ---------- Side panels with parts (customer, team member and others) ----------
   Glance cards as the headline cards, parts as tabs across, so the form has
   the whole width (owner, 22 November 2026). */
html[data-look] .sp-glance {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  gap: 12px;
}
html[data-look] .sp-glance-item {
  border-top: 0 !important;
  border-radius: 18px !important;
  padding: 11px 16px 10px !important;
  background: #fff;
  border: 1px solid #e3eaf5 !important;
  box-shadow:
    0 1px 2px rgba(4, 29, 74, 0.06),
    0 14px 30px -20px rgba(4, 29, 74, 0.45) !important;
  position: relative;
  overflow: hidden;
}
html[data-look] .sp-glance-item::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -50px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(63, 169, 245, 0.18);
  box-shadow: 0 0 0 12px rgba(63, 169, 245, 0.04);
  pointer-events: none;
}
html[data-look] .sp-glance-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #3b4a66 !important;
}
html[data-look] .sp-glance-value {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3;
}
html[data-look] .sp-glance-value .badge {
  font-size: 12px !important;
  letter-spacing: 0;
}
html[data-look][data-theme="dark"] .sp-glance-item {
  background: #0a2554;
  border-color: #1c3a72 !important;
}
html[data-look][data-theme="dark"] .sp-glance-label {
  color: #c6d4ef !important;
}
html[data-look] .sectioned-drawer .sp-layout {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}
html[data-look] .sectioned-drawer .sp-nav {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px !important;
  border-radius: 12px;
  background: #eef3fb !important;
  width: fit-content;
  max-width: 100%;
  box-shadow: none !important;
  border: 0 !important;
  position: static;
}
html[data-look] .sectioned-drawer .sp-nav button {
  width: auto !important;
  padding: 5px 12px !important;
  min-height: 30px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 650;
  color: #33476b;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  white-space: nowrap;
}
html[data-look] .sectioned-drawer .sp-nav button[aria-current="true"] {
  background: #fff !important;
  color: #0a4fc4 !important;
  box-shadow: 0 1px 3px rgba(4, 29, 74, 0.12) !important;
}
html[data-look] .sectioned-drawer .sp-nav button::before,
html[data-look] .sectioned-drawer .sp-nav button::after {
  display: none !important;
}
html[data-look][data-theme="dark"] .sectioned-drawer .sp-nav {
  background: #0e2d63 !important;
}
html[data-look][data-theme="dark"] .sectioned-drawer .sp-nav button {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"]
  .sectioned-drawer
  .sp-nav
  button[aria-current="true"] {
  background: #1d4687 !important;
  color: #fff !important;
}
html[data-look] .sectioned-drawer .sp-panes {
  padding: 2px 4px 16px;
}
html[data-look] .sectioned-drawer .sp-panes .pane-head {
  display: none;
}
html[data-look] .sectioned-drawer .sp-panes .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
html[data-look] .sectioned-drawer .sp-panes .form-grid > .full,
html[data-look] .sectioned-drawer .sp-panes .form-grid > .field.full {
  grid-column: 1/-1;
}
html[data-look]
  .sectioned-drawer
  .sp-panes
  :is(input, select):not([type="checkbox"]):not([type="radio"]) {
  min-height: 40px !important;
  height: 40px;
}
html[data-look] .sectioned-drawer .sp-panes .hint {
  font-size: 11.5px;
  line-height: 1.35;
}

/* Change-plan drawer as plan cards, and compact plan editor (22 Nov 2026) */
html[data-look] .drawer.cp-drawer {
  width: min(880px, calc(100vw * var(--zi, 1)));
}
html[data-look] .cp-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-look] .cp-body .summary-strip {
  margin: 0;
}
html[data-look] .cp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
html[data-look] .cp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow: 0 10px 24px -18px rgba(4, 29, 74, 0.45);
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
html[data-look] .cp-card:hover {
  border-color: #9cc3f5;
  transform: translateY(-1px);
}
html[data-look] .cp-card[aria-checked="true"] {
  border: 2px solid #3fa9f5;
  padding: 13px 13px 11px;
  box-shadow:
    0 0 0 4px rgba(63, 169, 245, 0.14),
    0 14px 28px -18px rgba(10, 79, 196, 0.6);
  background: linear-gradient(180deg, #f3f8ff, #fff);
}
html[data-look] .cp-card:focus-visible {
  outline: 3px solid #3fa9f5;
  outline-offset: 2px;
}
html[data-look] .cp-tick {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b8c6dc;
  background: #fff;
}
html[data-look] .cp-card[aria-checked="true"] .cp-tick {
  border: 0;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  box-shadow:
    inset 0 0 0 4px #fff,
    0 0 0 2px #3fa9f5;
}
html[data-look] .cp-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-right: 24px;
  min-width: 0;
}
html[data-look] .cp-name {
  font-size: 15px;
  font-weight: 750;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .cp-rate {
  font-size: 12.5px;
  color: #4f5c76;
}
html[data-look] .cp-est {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}
html[data-look] .cp-est b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0a2a66;
}
html[data-look] .cp-est small {
  font-size: 12px;
  color: #4f5c76;
}
html[data-look] .cp-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid #e6ecf5;
  font-size: 12px;
  color: #4f5c76;
}
html[data-look] .cp-diff {
  font-weight: 700;
  color: #33476b;
}
html[data-look] .cp-diff.up {
  color: #a35a00;
}
html[data-look] .cp-diff.down {
  color: #0f7a43;
}
html[data-look] .cp-note {
  margin: 0;
}
html[data-look] .cp-drawer .d-foot {
  align-items: center;
}
html[data-look] .cp-foot-note {
  margin-right: auto;
  font-size: 13px;
  color: #4f5c76;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look][data-theme="dark"] .cp-card {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .cp-card[aria-checked="true"] {
  background: linear-gradient(180deg, #123676, #0a2554);
  border-color: #3fa9f5;
}
html[data-look][data-theme="dark"] .cp-tick {
  background: #0a2554;
  border-color: #46638f;
}
html[data-look][data-theme="dark"] .cp-card[aria-checked="true"] .cp-tick {
  box-shadow:
    inset 0 0 0 4px #0a2554,
    0 0 0 2px #3fa9f5;
}
html[data-look][data-theme="dark"]
  :is(.cp-rate, .cp-est small, .cp-meta, .cp-foot-note) {
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] .cp-est b {
  color: #fff;
}
html[data-look][data-theme="dark"] .cp-meta {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .cp-diff {
  color: #dce8fb;
}
html[data-look][data-theme="dark"] .cp-diff.up {
  color: #ffc46b;
}
html[data-look][data-theme="dark"] .cp-diff.down {
  color: #6fe0a4;
}
@media (max-width: 760px) {
  html[data-look] .cp-grid {
    grid-template-columns: 1fr 1fr;
  }
}

html[data-look] .pe-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: end;
}
html[data-look] .pe-top .field {
  margin: 0;
}
html[data-look] .pe-inc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f3f7fd;
  border: 1px solid #e1e9f5;
  font-size: 12.5px;
  color: #4f5c76;
  line-height: 1.35;
}
html[data-look] .pe-inc strong {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #33476b;
}
html[data-look] .pe-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
html[data-look] .pe-head strong {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
}
html[data-look] .pe-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
html[data-look] .pe-chip {
  padding: 8px 10px;
}
html[data-look] .pe-chip .pe-tag {
  margin-left: auto;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 6px;
  padding: 1px 6px;
  flex: none;
  background: #e8f1ff;
  color: #0a4fc4;
}
html[data-look] .pe-chip .pe-tag[hidden] {
  display: none;
}
html[data-look] .pe-chip .pe-tag[data-kind="added"] {
  background: #e3f6ec;
  color: #0f7a43;
}
html[data-look] .pe-chip .pe-tag[data-kind="off"],
html[data-look] .pe-chip .pe-tag[data-kind="soon"],
html[data-look] .pe-chip .pe-tag[data-kind="advanced"] {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look] .pe-chip.blocked {
  border-color: #f0c37a;
}
html[data-look] .pe-save {
  display: flex;
  justify-content: flex-end;
}
html[data-look][data-theme="dark"] .pe-inc {
  background: #0e2d63;
  border-color: #1c3a72;
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] :is(.pe-inc strong, .pe-head strong) {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .pe-chip .pe-tag {
  background: rgba(63, 169, 245, 0.2);
  color: #9fd2ff;
}
html[data-look][data-theme="dark"] .pe-chip .pe-tag[data-kind="added"] {
  background: rgba(52, 199, 123, 0.2);
  color: #7fe3ae;
}
html[data-look][data-theme="dark"]
  .pe-chip
  .pe-tag:is([data-kind="off"], [data-kind="soon"], [data-kind="advanced"]) {
  background: rgba(255, 170, 60, 0.18);
  color: #ffc46b;
}
/* Manage drawer: brand colours block tighter */
html[data-look] .sectioned-drawer .brand-colours,
html[data-look] .sectioned-drawer .card {
  padding: 12px 14px;
}
html[data-look] .sectioned-drawer .brand-colours {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
}
html[data-look] .sectioned-drawer .brand-colours > .row {
  grid-column: 1/-1;
}
html[data-look] .sectioned-drawer .brand-colours > .field,
html[data-look] .sectioned-drawer .brand-colours > .colour-grid {
  grid-column: 1;
  margin: 0;
}
html[data-look] .sectioned-drawer .brand-colours > .brand-preview {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin: 0;
  min-height: 0;
}
html[data-look] .sectioned-drawer .brand-colours > .ferr {
  grid-column: 1/-1;
}
html[data-look] .sectioned-drawer .brand-colours .colour-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
html[data-look] .pe-chip span {
  white-space: nowrap !important;
}
html[data-look] .pe-chip > span {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Appearance drawer: cards, theme tiles with a tick, live preview (22 Nov 2026) */
html[data-look] .ap-panel .tabs {
  margin-bottom: 12px;
}
html[data-look] .ap-tab {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[data-look] .ap-card {
  position: relative;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow:
    0 0 0 4px rgba(10, 79, 196, 0.035),
    0 12px 26px -20px rgba(4, 29, 74, 0.45);
}
html[data-look] .ap-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
html[data-look] .ap-card-h strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
}
html[data-look] .ap-card-sub {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .ap-card-ic {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3fa9f5, var(--blue));
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(10, 79, 196, 0.6);
}
html[data-look] .ap-card-ic svg {
  width: 15px;
  height: 15px;
}
html[data-look] .ap-card .ap-rows {
  margin-top: 0;
  border-top: 0;
}
html[data-look] .ap-card .ap-row {
  padding: 10px 0;
}
html[data-look] .ap-card .ap-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}
html[data-look] .ap-card .ap-row:first-child {
  padding-top: 0;
}
html[data-look] .ap-panel .ap-tiles .look-opt {
  position: relative;
  border-radius: 14px;
  padding: 7px 7px 8px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
html[data-look] .ap-panel .ap-tiles .look-opt:hover {
  transform: translateY(-1px);
}
html[data-look] .ap-panel .ap-tiles .look-opt[aria-checked="true"] {
  border: 2px solid #3fa9f5;
  padding: 6px 6px 7px;
  box-shadow:
    0 0 0 4px rgba(63, 169, 245, 0.15),
    0 10px 22px -14px rgba(10, 79, 196, 0.6);
}
html[data-look] .ap-panel .ap-tiles .look-opt[aria-checked="true"]::after {
  content: "";
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4) center/11px no-repeat;
  background-image:
    url("ui-tick.svg"), linear-gradient(135deg, #3fa9f5, #0a4fc4);
  background-size: 11px, cover;
  box-shadow:
    0 0 0 2px #fff,
    0 4px 8px -2px rgba(10, 79, 196, 0.6);
}
html[data-look] .ap-theme-desc {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f1f6fe;
  color: #33476b;
  font-size: 12.5px;
  line-height: 1.4;
}
html[data-look] .ap-theme-desc svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--blue);
}
html[data-look] .ap-foot-note {
  margin: 0;
  font-size: 12px;
  color: var(--ink-3);
}
/* Preview */
html[data-look] .ap-prev {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dce4f0;
  background: var(--bg, #f4f7fc);
  pointer-events: none;
  user-select: none;
}
html[data-look] .apv-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #041d4a, #0a3a8c);
  color: #fff;
  font-size: 12px;
}
html[data-look][data-look="classic"] .apv-top {
  background: var(--surface, #fff);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
html[data-look] .apv-top strong {
  font-size: 12.5px;
  margin-right: 6px;
}
html[data-look] .apv-logo {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3fa9f5, var(--blue));
}
html[data-look] .apv-nav {
  padding: 2px 8px;
  border-radius: 7px;
  opacity: 0.75;
}
html[data-look] .apv-nav.on {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 650;
}
html[data-look] .apv-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
}
html[data-look] .apv-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
html[data-look] .apv-kpi {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dce4f0);
  box-shadow: 0 6px 14px -12px rgba(4, 29, 74, 0.5);
}
html[data-look] .apv-kpi span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .apv-kpi b {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
}
html[data-look] .apv-kpi small {
  font-size: 11.5px;
  color: var(--ink-3);
}
html[data-look] .apv-table {
  border-radius: 12px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #dce4f0);
  overflow: hidden;
}
html[data-look] .apv-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: var(--apv-pad, 7px) 10px;
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line, #e6ecf5);
}
html[data-look] .apv-row:first-child {
  border-top: 0;
}
html[data-look][data-density="compact"] .apv-row {
  --apv-pad: 4px;
}
html[data-look] .apv-av {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-50, #e8f1fc);
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}
html[data-look] .apv-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
html[data-look] .apv-act {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
html[data-look] .apv-act .btn {
  pointer-events: none;
}
/* Dark */
html[data-look][data-theme="dark"] .ap-card {
  background: #0a2554;
  border-color: #1c3a72;
  box-shadow: 0 12px 26px -20px rgba(0, 0, 0, 0.7);
}
html[data-look][data-theme="dark"] .ap-theme-desc {
  background: #0e2d63;
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .ap-theme-desc svg {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .ap-prev {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .apv-kpi b {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"]
  .ap-panel
  .ap-tiles
  .look-opt[aria-checked="true"]::after {
  box-shadow: 0 0 0 2px #0a2554;
}
html[data-look][data-theme="paper"] .ap-card {
  background: #fffdf8;
  border-color: #e8dcc6;
}
html[data-look][data-theme="paper"] .ap-theme-desc {
  background: #f7efe0;
}
/* Short windows: keep everything on one screen */
@media (max-height: 860px) {
  html[data-look] .apv-row:nth-child(3) {
    display: none;
  }
  html[data-look] .apv-kpi small {
    display: none;
  }
}
@media (max-height: 760px) {
  html[data-look] .apv-table {
    display: none;
  }
}
/* The build label moves out of the way of a drawer's buttons */
body:has(.drawer) .apps-pay-build-label {
  right: auto;
  left: 10px;
  opacity: 0.75;
}
html[data-look] .drawer.ap-drawer {
  width: min(940px, calc(100vw * var(--zi, 1)));
}
html[data-look] .ap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
html[data-look] .ap-prev-card {
  position: sticky;
  top: 0;
}
html[data-look] .ap-prev .apv-kpis {
  grid-template-columns: 1fr;
}
html[data-look] .ap-prev .apv-row:nth-child(3),
html[data-look] .ap-prev .apv-kpi small,
html[data-look] .ap-prev .apv-table {
  display: revert;
}
html[data-look] .ap-prev .apv-row:nth-child(3) {
  display: grid;
}
html[data-look] .ap-prev .apv-kpi small {
  display: block;
}
html[data-look] .ap-prev .apv-table {
  display: block;
}
html[data-look] .ap-prev .apv-nav:nth-of-type(4) {
  display: none;
}
@media (max-width: 980px) {
  html[data-look] .ap-grid {
    grid-template-columns: 1fr;
  }
  html[data-look] .ap-prev-card {
    position: static;
  }
}
html[data-look] .ap-prev {
  background: #f3f7fd;
}
html[data-look][data-theme="dark"] .ap-prev {
  background: #061838;
}
html[data-look][data-theme="paper"] .ap-prev {
  background: #f6efe2;
  border-color: #e8dcc6;
}

/* Create invoices drawer (22 Nov 2026) */
html[data-look] .drawer.ci-drawer {
  width: min(940px, calc(100vw * var(--zi, 1)));
}
html[data-look] .ci-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-look] .ci-body .summary-strip {
  margin: 0;
}
html[data-look] .ci-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
html[data-look] .ci-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow:
    0 0 0 4px rgba(10, 79, 196, 0.035),
    0 12px 26px -20px rgba(4, 29, 74, 0.45);
}
html[data-look] .ci-h {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
}
html[data-look] .ci-h-sub {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 12px;
}
html[data-look] .ci-months {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .ci-month {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dce4f0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-width: 0;
}
html[data-look] .ci-month strong {
  font-size: 13.5px;
  font-weight: 750;
  white-space: nowrap;
}
html[data-look] .ci-month small {
  font-size: 11.5px;
  color: #4f5c76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
html[data-look] .ci-month:hover:not(:disabled) {
  border-color: #9cc3f5;
}
html[data-look] .ci-month[aria-checked="true"] {
  border: 2px solid #3fa9f5;
  padding: 8px 9px;
  background: linear-gradient(180deg, #f3f8ff, #fff);
  box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.14);
}
html[data-look] .ci-month:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f5f7fb;
}
html[data-look] .ci-how {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 6px;
}
html[data-look] .ci-step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-radius: 12px;
  background: #f3f7fd;
  border: 1px solid #e1e9f5;
  min-width: 0;
}
html[data-look] .ci-step strong {
  font-size: 13px;
}
html[data-look] .ci-step small {
  font-size: 11.5px;
  color: #4f5c76;
  line-height: 1.3;
}
html[data-look] .ci-step-ic {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  color: #fff;
}
html[data-look] .ci-step-ic svg {
  width: 14px;
  height: 14px;
}
html[data-look] .ci-op {
  align-self: center;
  font-weight: 800;
  color: #8a9ab5;
}
html[data-look] .ci-note {
  margin: 0;
}
html[data-look] .ci-list {
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e9f5;
  border-radius: 12px;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}
html[data-look] .ci-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-top: 1px solid #e6ecf5;
}
html[data-look] .ci-row:first-child {
  border-top: 0;
}
html[data-look] .ci-row.done {
  opacity: 0.7;
}
html[data-look] .ci-av {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f1fc;
  color: #0a4fc4;
  font-size: 11px;
  font-weight: 750;
}
html[data-look] .ci-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
html[data-look] .ci-who strong {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .ci-who small {
  font-size: 11.5px;
  color: #4f5c76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .ci-amt {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html[data-look] .ci-empty {
  margin: 0;
  padding: 14px;
}
html[data-look] .ci-drawer .d-foot {
  align-items: center;
}
html[data-look] .ci-foot-note {
  margin-right: auto;
  font-size: 13px;
  color: #4f5c76;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look][data-theme="dark"] .ci-card {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] :is(.ci-month) {
  background: #0e2d63;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .ci-month[aria-checked="true"] {
  background: #123676;
  border-color: #3fa9f5;
}
html[data-look][data-theme="dark"] .ci-month:disabled {
  background: #0a2554;
}
html[data-look][data-theme="dark"] :is(.ci-step) {
  background: #0e2d63;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"]
  :is(.ci-h, .ci-month small, .ci-step small, .ci-who small, .ci-foot-note) {
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] .ci-list {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .ci-row {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .ci-av {
  background: rgba(63, 169, 245, 0.18);
  color: #9fd2ff;
}
html[data-look][data-theme="paper"] .ci-card {
  background: #fffdf8;
  border-color: #e8dcc6;
}
html[data-look][data-theme="paper"] .ci-step {
  background: #f7efe0;
  border-color: #eadfca;
}
@media (max-width: 900px) {
  html[data-look] .ci-grid {
    grid-template-columns: 1fr;
  }
}

/* Company overview to board 10 and settings checklist to board 12 (22 Nov 2026) */
html[data-look] .co-v2 .co2-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 22px;
  margin: 6px 0 4px;
}
html[data-look] .co-v2 .co2-bars i {
  flex: 1;
  border-radius: 3px;
  background: #bfdcfb;
}
html[data-look] .co-v2 .co2-bars i.on {
  background: linear-gradient(180deg, #5cb8ff, #2a8cf0);
}
html[data-look] .co-v2 .co2-bars.amber i {
  background: #f7deb4;
}
html[data-look] .co-v2 .co2-bars.amber i.on {
  background: linear-gradient(180deg, #f0a530, #d98200);
}
html[data-look] .co-v2 .co2-act {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 6px;
  background: #fff1dc;
  color: #8a4b00;
  font-size: 11px;
  font-weight: 750;
  vertical-align: middle;
  letter-spacing: 0;
}
/* Screen audit (27 November 2026): on a phone the Inland Revenue tile's
   "2 overdue" and its "Act now" chip didn't fit on one line, so the value
   was cut to "verdu…". There the chip goes on its own line. */
@media (max-width: 560px) {
  html[data-look] .co-v2 .kpi-value:has(.co2-act) {
    white-space: normal;
    overflow: visible;
  }
  html[data-look] .co-v2 .co2-act {
    display: flex;
    width: max-content;
    margin: 6px 0 0;
  }
}
html[data-look] .co-v2 .co2-ring {
  display: block;
  margin: 6px 0 2px;
  line-height: 0;
}
html[data-look] .co-v2 .co2-ring-t {
  fill: none;
  stroke: #d7e4f5;
  stroke-width: 3;
}
html[data-look] .co-v2 .co2-ring-f {
  fill: none;
  stroke: #169a5a;
  stroke-width: 3;
  stroke-linecap: round;
}
html[data-look] .co-v2 .pv-donut-text,
html[data-look] .co-v2 .pv-legend-p {
  display: none;
}
html[data-look] .co-v2 .pv-legend .pv-key {
  display: none;
}
html[data-look] .co2-seg {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: 9px;
  background: #eef3fb;
}
html[data-look] .co2-seg button {
  border: 0;
  background: none;
  padding: 3px 9px;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: #4f5c76;
  cursor: pointer;
}
html[data-look] .co2-seg button[aria-checked="true"] {
  background: #0a4fc4;
  color: #fff;
}
html[data-look][data-theme="dark"] .co2-seg {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .co2-seg button {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .co2-seg button[aria-checked="true"] {
  background: #2f7be0;
  color: #fff;
}
html[data-look][data-theme="dark"] .co-v2 .co2-bars i {
  background: #1f467f;
}
html[data-look][data-theme="dark"] .co-v2 .co2-bars.amber i {
  background: #5a4118;
}
html[data-look][data-theme="dark"] .co-v2 .co2-act {
  background: rgba(255, 170, 60, 0.18);
  color: #ffc46b;
}
html[data-look][data-theme="dark"] .co-v2 .co2-ring-t {
  stroke: #1f467f;
}
html[data-look] .co2-wage {
  min-height: 0;
}
/* Setup checklist */
html[data-look] .set-check {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .set-check-bar {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #e3e9f3;
  overflow: hidden;
}
html[data-look] .set-check-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #1aa864, #2fc27a);
}
html[data-look] .set-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
html[data-look] .set-check-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #e6ecf5;
  font-size: 13px;
}
html[data-look] .set-check-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid #b9c5d8;
  background: #f4f7fb;
  font-size: 11.5px;
  font-weight: 700;
  color: #33476b;
}
html[data-look] .set-check-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
html[data-look] .set-check-state.amber {
  border-color: #efc27a;
  background: #fff4e2;
  color: #8a4b00;
}
html[data-look] .set-check-go {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #0a4fc4;
  cursor: pointer;
}
html[data-look] .set-check-go:hover {
  text-decoration: underline;
}
html[data-look] .set-check-last {
  margin: 2px 0 0;
  line-height: 1.45;
}
html[data-look][data-theme="dark"] .set-check-bar {
  background: #1c3a72;
}
html[data-look][data-theme="dark"] .set-check-list li {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .set-check-state {
  background: #0e2d63;
  border-color: #36578c;
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .set-check-state.amber {
  background: rgba(255, 170, 60, 0.15);
  border-color: #8a6420;
  color: #ffc46b;
}
html[data-look][data-theme="dark"] .set-check-go {
  color: #7cc4ff;
}
html[data-look] .co2-wage {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}
html[data-look] .co2-wage > * {
  flex: 1 1 auto;
  min-height: 0;
}
html[data-look] .ss-ring {
  display: block;
  margin: 6px 0 2px;
}
html[data-look] .ss-ring-t {
  fill: none;
  stroke: #d7e4f5;
  stroke-width: 3;
}
html[data-look] .ss-ring-f {
  fill: none;
  stroke: #169a5a;
  stroke-width: 3;
  stroke-linecap: round;
}
html[data-look][data-theme="dark"] .ss-ring-t {
  stroke: #1f467f;
}
html[data-look] .ss-bars.violet .ss-bar {
  background: #d9d2f7;
}

html[data-look][data-theme="dark"] .ss-bars.violet .ss-bar {
  background: #3b3277;
}
html[data-look] .ss-bars.violet .ss-bar.last {
  background: #d9d2f7;
}
html[data-look] .ss-bars.violet.p0 .ss-bar:nth-child(1),
html[data-look] .ss-bars.violet.p1 .ss-bar:nth-child(2),
html[data-look] .ss-bars.violet.p2 .ss-bar:nth-child(3) {
  background: linear-gradient(180deg, #8b6cf0, #6a4ad8);
}
html[data-look][data-theme="dark"] .ss-bars.violet .ss-bar.last {
  background: #3b3277;
}
html[data-look] .ss-ring {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
}
@media (min-width: 1101px) {
  html[data-look] .plan-page .settings-section .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 512px) !important;
  }
}
html[data-look] .ss-bars.violet.p-last .ss-bar.last {
  background: linear-gradient(180deg, #8b6cf0, #6a4ad8);
}
html[data-look][data-theme="dark"] .co-v2 .co2-bars i.on {
  background: linear-gradient(180deg, #5cb8ff, #2a8cf0);
}
html[data-look][data-theme="dark"] .co-v2 .co2-bars.amber i.on {
  background: linear-gradient(180deg, #f0a530, #d98200);
}
/* Single sign-on card on Team and access (22 Nov 2026) */
html[data-look] .sso-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
html[data-look] .sso-help {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8f1fc;
  color: #0a4fc4;
  font-size: 12px;
  font-weight: 800;
  cursor: help;
}
html[data-look] .sso-help.warn {
  background: #fff1dc;
  color: #8a4b00;
}
html[data-look][data-theme="dark"] .sso-help {
  background: rgba(63, 169, 245, 0.2);
  color: #9fd2ff;
}
html[data-look][data-theme="dark"] .sso-help.warn {
  background: rgba(255, 170, 60, 0.2);
  color: #ffc46b;
}
/* Company logo in the top bar pill, as on the boards (22 Nov 2026) */
html[data-look] .t-switcher.has-co-logo {
  column-gap: 10px !important;
  gap: 0 10px !important;
  padding: 4px 12px 4px 5px !important;
  min-height: 38px;
}
html[data-look] .t-switcher.has-co-logo .t-co-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
/* Board 10 details (22 Nov 2026) */
html[data-look] .orb-ring-dot {
  fill: #5fd4ff;
  stroke: #0a2a66;
  stroke-width: 3;
  filter: drop-shadow(0 0 4px rgba(95, 212, 255, 0.8));
}
html[data-look] .pv-spark.violet .pv-spark-line {
  stroke: #7a5cf0;
}
html[data-look] .pv-spark.violet .pv-spark-area {
  fill: rgba(122, 92, 240, 0.1);
}
.pv-sky {
  --pv: #4aa8f0;
  --pv-soft: rgba(74, 168, 240, 0.12);
}
html[data-look] .co-v2 .bc2 .bc-plot {
  background: none;
  gap: 6px;
}
html[data-look] .co-v2 .bc2 .bc-fill {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
}
html[data-look] .co-v2 .bc2 .bc-fill.last {
  box-shadow: none;
}
html[data-look] .co-v2 .pv-legend {
  gap: 2px;
}
html[data-look] .co-v2 .pv-legend li {
  min-height: 18px;
}
html[data-look] .co-v2 .co2-activity li {
  padding: 3px 0;
  border-bottom: 1px solid #e6ecf5;
}
html[data-look] .co-v2 .co2-activity li:last-child {
  border-bottom: 0;
}
html[data-look][data-theme="dark"] .co-v2 .co2-activity li {
  border-color: #1c3a72;
}
html[data-look] .co-v2 .po2-grid .co2-actions .btn {
  min-height: 34px;
  height: 34px;
  padding: 0 16px;
  font-size: 13.5px;
}
/* Side panels stretch to the table's height with the note at the bottom, as on the boards (22 Nov 2026) */
@media (min-width: 1251px) {
  html[data-look] .with-side {
    align-items: stretch;
  }
  html[data-look] .with-side > .stack:has(> .sp2) {
    display: flex;
    flex-direction: column;
  }
  html[data-look] .with-side > .sp2,
  html[data-look] .with-side > .stack > .sp2:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  html[data-look] .with-side .sp2 > .sp2-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  html[data-look] .with-side .sp2 > .sp2-body > .sp2-foot {
    margin-top: auto;
  }
  html[data-look] .with-side .sp2 > .sp2-body > .plan-core-chips {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  html[data-look] .with-side .plan-core-chips > .sp2-foot {
    margin-top: auto;
  }
}
html[data-look] .sp2-foot svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
  color: #4f5c76;
}
/* Headline card lines as on the boards: no dots (hover points stay) */
html[data-look] .ss-spark .ss-spark-dot {
  fill: transparent !important;
  stroke: none !important;
}
html[data-look] .ss-spark {
  width: 100% !important;
}
html[data-look] .rk-period {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html[data-look] .rk-period small {
  font-size: 12px;
  color: #4f5c76;
  line-height: 1.35;
  font-weight: 400;
}
html[data-look][data-theme="dark"] .rk-period small {
  color: #a9bbdb;
}
html[data-look] .ss-spark {
  max-width: none !important;
  height: 28px;
}
html[data-look] .ss-spark .ss-spark-line {
  vector-effect: non-scaling-stroke;
}
html[data-look] .rk-period b {
  font-weight: 700;
  color: var(--ink);
}
html[data-look] .sp2-row:has(.rk-period) {
  align-items: flex-start;
}
/* Your requests table (22 Nov 2026) */
html[data-look] .req-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 300px;
}
html[data-look] .req-name strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .req-by {
  display: inline-block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
html[data-look] .req-reply {
  display: inline-block;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
html[data-look] .req-name strong {
  font-weight: 650;
}
/* Compare plans (22 Nov 2026) */
html[data-look] .pc-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[data-look] .pcp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
html[data-look] .pc-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow: 0 12px 26px -20px rgba(4, 29, 74, 0.45);
  overflow: hidden;
}
html[data-look] .pc-plan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #cfdcf0;
}
html[data-look] .pc-plan.pc-1::before {
  background: #9cc3f5;
}
html[data-look] .pc-plan.pc-2::before {
  background: #b9a8f5;
}
html[data-look] .pc-plan.current {
  border: 2px solid #3fa9f5;
  padding: 15px;
  background: linear-gradient(180deg, #f2f8ff, #fff 45%);
  box-shadow:
    0 0 0 4px rgba(63, 169, 245, 0.14),
    0 16px 30px -18px rgba(10, 79, 196, 0.55);
}
html[data-look] .pc-plan.current::before {
  height: 5px;
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
}
html[data-look] .pc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .pc-ic {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  color: #fff;
  flex: none;
  box-shadow: 0 6px 12px -6px rgba(10, 79, 196, 0.6);
}
html[data-look] .pc-2 .pc-ic {
  background: linear-gradient(135deg, #8b6cf0, #5a3bd0);
}
html[data-look] .pc-0 .pc-ic {
  background: linear-gradient(135deg, #7fb4ea, #3d73c4);
}
html[data-look] .pc-ic svg {
  width: 18px;
  height: 18px;
}
html[data-look] .pc-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
html[data-look] .pc-title h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
html[data-look] .pc-size {
  font-size: 12px;
  color: #4f5c76;
}
html[data-look] .pc-who {
  margin: 0;
  font-size: 13px;
  color: #33476b;
}
html[data-look] .pc-price {
  margin: 0;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f3f7fd;
  font-size: 12.5px;
  color: #4f5c76;
}
html[data-look] .pc-price strong {
  color: #0a4fc4;
}
html[data-look] .pc-ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--ink);
  flex: 1;
}
html[data-look] .pc-ticks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
html[data-look] .pc-tick {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e3f6ec;
  color: #169a5a;
  flex: none;
  margin-top: 1px;
}
html[data-look] .pc-tick svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}
html[data-look] .pc-act .btn {
  width: 100%;
  justify-content: center;
}
html[data-look] .pc-core {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f7fd;
  border: 1px solid #e1e9f5;
}
html[data-look] .pc-core-l {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
}
html[data-look] .pc-core .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .pc-note {
  margin: 0;
}
html[data-look][data-theme="dark"] .pc-plan {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .pc-plan.current {
  background: linear-gradient(180deg, #123676, #0a2554 45%);
  border-color: #3fa9f5;
}
html[data-look][data-theme="dark"] :is(.pc-price, .pc-core) {
  background: #0e2d63;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] :is(.pc-size, .pc-price, .pc-core-l) {
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] .pc-who {
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .pc-price strong {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .pc-tick {
  background: rgba(52, 199, 123, 0.2);
  color: #7fe3ae;
}
html[data-look][data-theme="dark"] .pc-plan::before {
  background: #1f467f;
}
html[data-look][data-theme="paper"] .pc-plan {
  background: #fffdf8;
  border-color: #e8dcc6;
}
html[data-look][data-theme="paper"] :is(.pc-price, .pc-core) {
  background: #f7efe0;
  border-color: #eadfca;
}
@media (max-width: 900px) {
  html[data-look] .pcp-grid {
    grid-template-columns: 1fr;
  }
}
html[data-look] .pc-plan::before {
  display: none;
}
html[data-look] .pc-plan {
  border-top: 4px solid #cfdcf0;
}
html[data-look] .pc-plan.pc-1 {
  border-top-color: #9cc3f5;
}
html[data-look] .pc-plan.pc-2 {
  border-top-color: #b9a8f5;
}
html[data-look] .pc-plan.current {
  border-top: 5px solid #2f86e8;
  padding-top: 14px;
}
html[data-look][data-theme="dark"] .pc-plan:not(.current) {
  border-top-color: #2b4f8e;
}
html[data-look] .pc-wrap .pcp-grid {
  border: 0 !important;
  background: none !important;
}
/* Add-on requests table (platform, 22 Nov 2026): long names cut with …,
   the action buttons pinned to the right edge */
html[data-look] .rq-grid .rq-cust {
  display: block;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .rq-grid .rq-addon {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 240px;
}
html[data-look] .rq-grid .rq-addon > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .rq-grid .rq-asked {
  display: flex;
  flex-direction: column;
}
html[data-look] .rq-grid .rq-asked .dg-sub {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .rq-grid .dg-table tbody td:last-child,
html[data-look] .rq-grid .dg-table thead th:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--dgc, #fff);
  box-shadow: -8px 0 10px -8px rgba(4, 29, 74, 0.18);
  width: 1%;
  white-space: nowrap;
}
html[data-look] .rq-grid .dg-table thead th:last-child {
  z-index: 4;
  background: #e9f0fa;
}
html[data-look] .rq-grid .dg-table tbody tr.dg-row:hover > td:last-child {
  background: var(--dgh, #f3f8ff);
}
html[data-look][data-theme="dark"] .rq-grid .dg-table tbody td:last-child {
  background: #0c2b5f;
}
html[data-look][data-theme="dark"] .rq-grid .dg-table thead th:last-child {
  background: #123a7a;
}
html[data-look] .rq-grid .dg-table tbody tr.dg-detail > td:last-child {
  position: static;
  box-shadow: none;
}
html[data-look] .rq-grid .dg-table thead th:last-child {
  background: #eaf1fb;
}
/* Dark: pinned cells match the row colour (rows are a 3.5% white tint on the card) */
html[data-look][data-theme="dark"]
  .dg-table
  tbody
  tr.dg-row
  > td:is(.dg-sticky, .dg-x),
html[data-look][data-theme="dark"]
  .rq-grid
  .dg-table
  tbody
  tr.dg-row
  > td:last-child {
  background: #0f2652;
}
html[data-look][data-theme="dark"] .rq-grid .dg-table thead th:last-child {
  background: #0d2c5e;
}
html[data-look][data-theme="dark"]
  .dg-table
  tbody
  tr.dg-row:is(:hover, .open)
  > td:is(.dg-sticky, .dg-x, :last-child) {
  background: var(--dgh);
}
/* Pay calendar headline bars (board 27): overdue filings all soft red */
html[data-look] .ss-bars.red .ss-bar,
html[data-look] .ss-bars.red .ss-bar.last {
  background: #f2b9b9;
}
html[data-look][data-theme="dark"] .ss-bars.red .ss-bar,
html[data-look][data-theme="dark"] .ss-bars.red .ss-bar.last {
  background: #6b2a3a;
}
/* Pay run page to board 21 (22 Nov 2026) */
html[data-look] .prd-head {
  flex-wrap: wrap;
}
html[data-look] .prd-head .crumb {
  display: none;
}
html[data-look] .prd-steps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  flex: 1 0 100%;
  order: 9;
}
html[data-look] .prd-steps li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
html[data-look] .prd-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}
html[data-look] .prd-steps li.done .prd-bar {
  background: #34d399;
}
html[data-look] .prd-steps li.now .prd-bar {
  background: linear-gradient(90deg, #5fd4ff, #2a8cf0);
  box-shadow: 0 0 8px rgba(95, 212, 255, 0.6);
}
html[data-look] .prd-steps li.done,
html[data-look] .prd-steps li.now {
  color: #fff;
}
html[data-look][data-look="classic"] .prd-steps li {
  color: var(--ink-3);
}
html[data-look][data-look="classic"] .prd-bar {
  background: #dbe4f1;
}
html[data-look] .prd-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .prd-tabs .tabs {
  margin: 0;
}
html[data-look] .prd-state {
  margin-left: auto;
}
html[data-look] .prd-split {
  align-items: start;
}
html[data-look] .prd-page .run-flow {
  display: none;
}
/* Board 21: the after-payday list and files side by side, compact */
@media (min-width: 1101px) {
  html[data-look] .prd-split {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr) !important;
  }
}
html[data-look] .prd-split .tracker-card .card-head .desc,
html[data-look] .prd-split #run-files .card-head .desc {
  display: none;
}
html[data-look] .prd-split .ft-step {
  padding: 8px 10px !important;
  margin: 0 !important;
  border-radius: 12px;
  background: #f5f8fd;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
html[data-look] .prd-split .ft-step + .ft-step {
  margin-top: 6px !important;
}
html[data-look] .prd-split .ft-step .stack.tight {
  gap: 1px;
}
html[data-look] .prd-split .ft-step .small.muted {
  display: none;
}
html[data-look] .prd-split .ft-step .ft-due {
  font-size: 12px;
}
html[data-look] .prd-split .ft-step.is-done {
  background: #eef8f2;
}
html[data-look] .prd-split .ft-step:has(.ft-due.overdue) {
  background: #fff6e8;
}
html[data-look] .prd-split .ft-states {
  grid-column: 1/-1;
}
html[data-look] .prd-split #run-files .grid.cols-3 {
  grid-template-columns: 1fr !important;
  gap: 6px;
}
html[data-look] .prd-split #run-files .export-tile {
  border-radius: 12px;
  box-shadow: none;
  background: #f5f8fd;
  border: 0;
}
html[data-look] .prd-split #run-files .export-tile > .card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 10px;
  padding: 8px 10px !important;
}
html[data-look] .prd-split #run-files .export-tile .small.muted {
  display: none;
}
html[data-look] .prd-split #run-files .export-tile .btn {
  min-height: 28px;
  height: 28px;
  padding: 0 10px;
  font-size: 12.5px;
}
html[data-look][data-theme="dark"]
  .prd-split
  :is(.ft-step, #run-files .export-tile) {
  background: #0e2d63;
}
html[data-look][data-theme="dark"] .prd-split .ft-step:has(.ft-due.overdue) {
  background: rgba(255, 170, 60, 0.12);
}
html[data-look][data-theme="dark"] .prd-split .ft-step.is-done {
  background: rgba(52, 199, 123, 0.12);
}
html[data-look] .prd-split .tracker-card .callout {
  display: none;
}
html[data-look] .prd-split .tracker-card .ft-list {
  margin: 0;
  padding: 0;
}
html[data-look] .prd-split .tracker-card .card-body > .stack {
  gap: 8px;
}
html[data-look] .prd-split .tracker-card .field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
html[data-look] .prd-split .tracker-card .field label {
  margin: 0;
  white-space: nowrap;
  font-size: 12.5px;
}
html[data-look] .prd-split .tracker-card .field select {
  min-height: 32px !important;
  height: 32px;
  font-size: 12.5px;
  max-width: 420px;
}
html[data-look] .prd-split .tracker-card details {
  font-size: 12px;
}
html[data-look] .prd-split .tracker-card .fr-bar {
  height: 5px;
}
/* Officer dashboard (board 19): the six panels share the room left, and
   their lists scroll inside the card instead of pushing the page down. */
@media (min-width: 1101px) {
  html[data-look] .co-dense .co-screen.orb-screen {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  html[data-look] .orb-screen > .co-cell {
    min-height: 0;
  }
  html[data-look] .orb-screen > .co-cell > .card {
    min-height: 0;
    overflow: hidden;
  }
  html[data-look] .orb-screen > .co-cell > .card > .card-body {
    min-height: 0;
    overflow: auto;
  }
}
@media (min-width: 1101px) {
  html[data-look] .co-dense .co-screen.orb-screen {
    min-height: 280px !important;
  }
}
/* Reports to board 29 (22 Nov 2026): tabs and filters on one row */
html[data-look] .rf-tabrow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-look] .rf-tabrow .page-tabs {
  margin: 0;
  flex: none;
}
html[data-look] .rf-tabrow .rf-bar {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  flex-wrap: wrap;
}
html[data-look] .rf-tabrow .rf-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4f5c76;
}
html[data-look] .rf-tabrow .rf-field > span:first-child {
  line-height: 1.2;
}
html[data-look] .rf-tabrow .rf-field :is(select, .input, button) {
  min-height: 32px !important;
  height: 32px;
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  min-width: 150px;
}
html[data-look] .rf-strip-host:empty {
  display: none;
}
html[data-look] .rf-page .rf-summary {
  font-size: 12px;
  color: #4f5c76;
}
html[data-look] .rf-page .rf-summary * {
  font-size: 12px;
}
html[data-look][data-theme="dark"] .rf-tabrow .rf-field,
html[data-look][data-theme="dark"] .rf-page .rf-summary {
  color: #a9bbdb;
}
html[data-look] .rf-page .dg-band {
  display: none;
}
/* Add employee (board 23): help text only for the field in use, and the
   action bar stays in view at the bottom */
html[data-look] .add-emp-page .field > .hint {
  display: none;
}
html[data-look] .add-emp-page .field:focus-within > .hint {
  display: block;
}
html[data-look] .add-emp-page .d-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-top: 1px solid #e1e9f5;
  box-shadow: 0 -10px 24px -18px rgba(4, 29, 74, 0.4);
}
html[data-look][data-theme="dark"] .add-emp-page .d-foot {
  background: rgba(10, 37, 84, 0.94);
  border-top-color: #1c3a72;
}
@media (min-width: 1101px) and (min-height: 640px) {
  html[data-look] .add-emp-page .page-drawer .d-body {
    max-height: calc(100vh * var(--zi, 1) - 505px);
    overflow: auto;
  }
}
@media (min-width: 1101px) and (min-height: 640px) {
  html[data-look] .add-emp-page .page-drawer {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  html[data-look] .add-emp-page .add-emp-host {
    min-height: 0 !important;
    height: auto !important;
  }
}
html[data-look] .page-drawer .d-body {
  position: relative;
}
html[data-look] .nzd {
  position: relative;
}
/* Employee record on one screen: the section menu and its content scroll
   inside the area under the tabs (22 Nov 2026) */
@media (min-width: 1101px) {
  html[data-look] .employee-card > .settings-layout[style*="height"] {
    overflow: hidden;
    align-items: stretch;
  }
  html[data-look] .employee-card > .settings-layout[style*="height"] > * {
    min-height: 0;
    max-height: 100%;
    overflow: auto;
  }
}
/* Still to set up as one row of chips; the explanation shows on hover */
html[data-look] .emp-setup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px !important;
  flex-wrap: wrap;
}
html[data-look] .emp-setup .emp-setup-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
html[data-look] .emp-setup .emp-setup-head a {
  order: 9;
}
html[data-look] .emp-setup .emp-setup-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
html[data-look] .emp-setup .emp-setup-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  min-height: 0 !important;
  font-size: 12.5px;
}
html[data-look] .emp-setup .emp-setup-text {
  display: none;
}
html[data-look] .emp-setup .emp-setup-label {
  font-weight: 650;
}
/* Five ways to pay extra stay on one row, also beside the Classic side menu */
@media (min-width: 1101px) {
  html[data-look] .choice-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
/* Row buttons stay in view on every table: the last column, when it holds
   buttons, is pinned to the right edge (owner, 22 Nov 2026) */
html[data-look]
  .dg-table
  tbody
  tr.dg-row
  > td:last-child:has(.btn, .row-actions),
html[data-look]
  .dg-table:has(tbody tr.dg-row > td:last-child .btn)
  thead
  tr:last-child
  > th:last-child {
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--dgc, #fff);
  box-shadow: -8px 0 10px -8px rgba(4, 29, 74, 0.18);
}
html[data-look]
  .dg-table:has(tbody tr.dg-row > td:last-child .btn)
  thead
  tr:last-child
  > th:last-child {
  z-index: 4;
  background: #eaf1fb;
}
html[data-look][data-theme="dark"]
  .dg-table
  tbody
  tr.dg-row
  > td:last-child:has(.btn, .row-actions) {
  background: #0f2652;
}
html[data-look][data-theme="dark"]
  .dg-table:has(tbody tr.dg-row > td:last-child .btn)
  thead
  tr:last-child
  > th:last-child {
  background: #0d2c5e;
}
html[data-look]
  .dg-table
  tbody
  tr.dg-row:is(:hover, .open)
  > td:last-child:has(.btn, .row-actions) {
  background: var(--dgh, #f3f8ff);
}
@media (min-width: 1101px) {
  html[data-look] main.page:has(> .dash-home) {
    overflow-y: clip;
  }
}
/* Import employees (22 Nov 2026): format cards, column chips, drop zone */
html[data-look] .imp-step1 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-look] .imp-fmts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
html[data-look] .imp-fmt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dce4f0;
  box-shadow: 0 10px 24px -20px rgba(4, 29, 74, 0.45);
}
html[data-look] .imp-fmt.imp-xlsx {
  border: 2px solid #3fa9f5;
  padding: 13px;
  background: linear-gradient(180deg, #f2f8ff, #fff);
  box-shadow: 0 0 0 4px rgba(63, 169, 245, 0.12);
}
html[data-look] .imp-fmt-ic {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #34c47c, #13894f);
  color: #fff;
  box-shadow: 0 6px 12px -6px rgba(19, 137, 79, 0.6);
}
html[data-look] .imp-csv .imp-fmt-ic {
  background: linear-gradient(135deg, #7fb4ea, #3d73c4);
  box-shadow: 0 6px 12px -6px rgba(10, 79, 196, 0.5);
}
html[data-look] .imp-fmt-ic svg {
  width: 20px;
  height: 20px;
}
html[data-look] .imp-fmt-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html[data-look] .imp-fmt-t strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
}
html[data-look] .imp-cols-h {
  margin: 2px 0 -4px;
}
html[data-look] .imp-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
html[data-look] .imp-group {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5f8fd;
  border: 1px solid #e1e9f5;
}
html[data-look] .imp-group-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
html[data-look] .imp-group-h strong {
  font-size: 13.5px;
}
html[data-look] .imp-group-n {
  margin-left: auto;
  font-size: 11.5px;
  color: #4f5c76;
}
html[data-look] .imp-group-ic {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  color: #fff;
}
html[data-look] .imp-group-ic svg {
  width: 14px;
  height: 14px;
}
html[data-look] .imp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
html[data-look] .imp-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce4f0;
  font-size: 12px;
  color: #33476b;
  line-height: 1.35;
}
html[data-look] .imp-chip.has-note {
  border-style: dashed;
  border-color: #9cc3f5;
  cursor: help;
}
html[data-look] .imp-chip.has-note::after {
  content: "?";
  margin-left: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #0a4fc4;
}
html[data-look] .imp-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: 14px;
  background: #eef5ff;
  border: 1px solid #cfe0f7;
}
html[data-look] .imp-tip p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #33476b;
}
html[data-look] .imp-tip-ic {
  color: #0a4fc4;
  flex: none;
  margin-top: 1px;
}
html[data-look] .imp-tip-ic svg {
  width: 16px;
  height: 16px;
}
html[data-look] .imp-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 26px 16px;
  border-radius: 16px;
  border: 2px dashed #9cc3f5;
  background: #f5f9ff;
  text-align: center;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
html[data-look] .imp-drop:hover,
html[data-look] .imp-drop.over {
  background: #e8f2ff;
  border-color: #3fa9f5;
}
html[data-look] .imp-drop.has-file {
  border-style: solid;
  border-color: #34c47c;
  background: #effaf4;
}
html[data-look] .imp-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
html[data-look] .imp-drop-ic {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  color: #fff;
  margin-bottom: 4px;
}
html[data-look] .imp-drop.has-file .imp-drop-ic {
  background: linear-gradient(135deg, #34c47c, #13894f);
}
html[data-look] .imp-drop-ic svg {
  width: 20px;
  height: 20px;
}
html[data-look][data-theme="dark"] .imp-fmt {
  background: #0a2554;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .imp-fmt.imp-xlsx {
  background: linear-gradient(180deg, #123676, #0a2554);
  border-color: #3fa9f5;
}
html[data-look][data-theme="dark"] :is(.imp-group, .imp-tip) {
  background: #0e2d63;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .imp-chip {
  background: #0a2554;
  border-color: #2b4f8e;
  color: #c6d4ef;
}
html[data-look][data-theme="dark"] .imp-chip.has-note::after {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] :is(.imp-group-n, .imp-tip p) {
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] .imp-tip-ic {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .imp-drop {
  background: #0e2d63;
  border-color: #2b6cc4;
}
html[data-look][data-theme="dark"] .imp-drop.has-file {
  background: rgba(52, 199, 123, 0.12);
  border-color: #34c47c;
}
html[data-look][data-theme="paper"] :is(.imp-group, .imp-tip) {
  background: #f7efe0;
  border-color: #eadfca;
}
@media (max-width: 900px) {
  html[data-look] :is(.imp-fmts, .imp-groups) {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
 * Add employee, Quick add on one screen: redesign (owner, 22 November
 * 2026, board "Quick add on one screen"). Slim way cards on the stage,
 * then three cards, each with a ring for its required fields and its own
 * scroll; the action bar stays in view. The page itself never scrolls.
 * ====================================================================== */
html[data-look] .add-emp-page .page-head .actions {
  align-self: flex-end;
}
html[data-look] .add-emp-page .page-head h1.has-help + .sub,
html[data-look] .add-emp-page .page-head .sub {
  display: none;
}
html[data-look] .add-emp-page > .page-head {
  padding-bottom: 52px;
}
html[data-look] .add-emp-page > .add-way-row {
  margin-top: -44px;
  gap: 10px;
}
html[data-look] .add-emp-page .add-way-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 14px;
  border-radius: 16px;
}
html[data-look] .add-emp-page .add-way-card > .add-way-chip {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  height: 20px;
  font-size: 11px;
}
html[data-look] .add-emp-page .add-way-card strong {
  grid-row: 1;
  grid-column: 2;
  margin: 0;
  font-size: 14.5px;
  align-self: center;
}
html[data-look] .add-emp-page .add-way-card > span:last-child {
  grid-row: 2;
  grid-column: 1 / -1;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
html[data-look] .qa-draft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 650;
  color: #bfe3ff;
  background: rgba(63, 169, 245, 0.14);
  box-shadow: inset 0 0 0 1px rgba(110, 180, 255, 0.45);
  white-space: nowrap;
}
html[data-look] .qa-draft-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd4ff;
  box-shadow: 0 0 8px #5fd4ff;
}

/* The form card: no second heading, the grid fills the window. */
html[data-look] .page-drawer.qa-mode {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
html[data-look] .page-drawer.qa-mode > .d-head {
  display: none;
}
html[data-look] .add-emp-page .page-drawer.qa-mode .d-body {
  max-height: none;
  overflow: visible;
  padding: 0;
}
html[data-look] .qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 300px;
}
html[data-look] .qa-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e3eaf5);
  border-radius: 20px;
  box-shadow:
    0 1px 1px rgba(4, 29, 74, 0.04),
    0 12px 28px -18px rgba(4, 29, 74, 0.35);
  overflow: hidden;
}
html[data-look] .qa-col-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--line, #e3eaf5);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--blue, #0a4fc4) 5%, transparent),
    transparent
  );
}
html[data-look] .qa-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
  box-shadow: 0 4px 10px -4px rgba(10, 79, 196, 0.6);
}
html[data-look] .qa-col-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
html[data-look] .qa-col-t strong {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--ink);
}
html[data-look] .qa-col-t span {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .qa-ring {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
html[data-look] .qa-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
html[data-look] .qa-ring-track {
  fill: none;
  stroke: color-mix(in srgb, var(--blue, #0a4fc4) 14%, transparent);
  stroke-width: 3.5;
}
html[data-look] .qa-ring-fill {
  fill: none;
  stroke: #3fa9f5;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.25s ease;
}
html[data-look] .qa-ring.full .qa-ring-fill {
  stroke: #14a06a;
}
html[data-look] .qa-ring.bad .qa-ring-fill,
html[data-look] .qa-ring.bad .qa-ring-track {
  stroke: #d64545;
}
html[data-look] .qa-ring-t {
  position: relative;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--ink-2);
  display: inline-flex;
}
html[data-look] .qa-ring.full .qa-ring-t {
  color: #14a06a;
}
html[data-look] .qa-ring.full .qa-ring-t svg {
  position: static;
  width: 14px;
  height: 14px;
}
html[data-look] .qa-ring.bad .qa-ring-t {
  color: #d64545;
  font-size: 13px;
}
html[data-look] .qa-col-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
}
html[data-look] .qa-col-body > [hidden] {
  display: none !important;
}
html[data-look] .qa-sec {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .qa-sec-h {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
html[data-look] .qa-sec-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line, #e3eaf5);
}
html[data-look] .qa-col .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}
html[data-look] .qa-col .form-grid > .full,
html[data-look] .qa-col .form-grid > .field:has(textarea) {
  grid-column: 1 / -1;
}
html[data-look] .qa-col .field {
  gap: 3px;
  margin: 0;
}
html[data-look] .qa-col .field > label {
  font-size: 12px;
  font-weight: 650;
}
html[data-look] .qa-col .input,
html[data-look] .qa-col select,
html[data-look] .qa-col input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 36px;
  height: 36px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 13.5px;
  border-radius: 11px;
}
html[data-look] .qa-col textarea {
  min-height: 52px;
  font-size: 13.5px;
  border-radius: 11px;
}
html[data-look] .qa-col .fok,
html[data-look] .qa-col .ferr {
  font-size: 11.5px;
  margin: 1px 0 0;
}
html[data-look] .qa-col .fok {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #14a06a;
}
html[data-look] .qa-col .fok[hidden] {
  display: none;
}
html[data-look] .qa-col .fok svg {
  width: 13px;
  height: 13px;
}
html[data-look] .qa-col .wp-quick {
  gap: 6px;
  flex-wrap: nowrap;
}
html[data-look] .qa-col .wp-quick .btn {
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 9px;
}
html[data-look] .qa-col .wp-summary {
  margin: 0;
  font-size: 11.5px;
  color: var(--ink-3);
}
html[data-look] .qa-col .check {
  font-size: 12.5px;
}
html[data-look] .qa-col .wz-group {
  margin: 0;
}
html[data-look] .qa-col p.hint:not(.field > .hint) {
  font-size: 11.5px;
}
html[data-look] .qa-col #wz-login,
html[data-look] .qa-col .callout {
  display: none;
}
html[data-look] .qa-link {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
  cursor: pointer;
}
html[data-look] .qa-link:hover {
  text-decoration: underline;
}
html[data-look] .qa-link[hidden] {
  display: none;
}
html[data-look] .qa-more {
  border: 1px dashed var(--line-2, #d3deee);
  border-radius: 12px;
  padding: 6px 10px;
}
html[data-look] .qa-more > summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2);
}
html[data-look] .qa-more[open] > summary {
  margin-bottom: 8px;
}
html[data-look] .qa-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #0b4c8c;
  background: color-mix(in srgb, #3fa9f5 11%, transparent);
}
html[data-look] .qa-note[hidden] {
  display: none;
}
html[data-look] .qa-note-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fa9f5;
}
html[data-look] .qa-note-text {
  flex: 1;
  min-width: 0;
}
html[data-look] .qa-note.ok {
  color: #0c6b48;
  background: color-mix(in srgb, #14a06a 11%, transparent);
}
html[data-look] .qa-note.ok .qa-note-dot {
  background: #14a06a;
}
html[data-look] .qa-note.plain {
  color: var(--ink-2);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 6%, transparent);
  font-weight: 550;
}
html[data-look] .qa-note.plain .qa-note-dot {
  background: #8a6cf0;
}
html[data-look] .qa-note .help-tip {
  flex: none;
}
html[data-look] .qa-col .esct-note,
html[data-look] .qa-col-body > p.small {
  margin: -4px 0 0;
  font-size: 11.5px;
}

/* Action bar: sign-in choice, the message, then the buttons. */
html[data-look] .page-drawer.qa-mode > .d-foot {
  position: static;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line, #e3eaf5);
  border-radius: 18px;
  background: var(--card, #fff);
  box-shadow: 0 10px 24px -18px rgba(4, 29, 74, 0.4);
}
html[data-look] .qa-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
html[data-look] .qa-err {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
html[data-look] .qa-err .form-error,
html[data-look] .qa-err > * {
  margin: 0;
  font-size: 12.5px;
}

/* Dark */
html[data-look][data-theme="dark"] .qa-col {
  background: #0c2756;
  border-color: #1c3a72;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.7);
}
html[data-look][data-theme="dark"] .qa-col-h {
  border-bottom-color: #1c3a72;
  background: linear-gradient(180deg, rgba(63, 169, 245, 0.1), transparent);
}
html[data-look][data-theme="dark"] .qa-note {
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.14);
}
html[data-look][data-theme="dark"] .qa-note.ok {
  color: #8ff0c6;
  background: rgba(20, 160, 106, 0.18);
}
html[data-look][data-theme="dark"] .qa-note.plain {
  color: #c9d6ee;
  background: rgba(140, 170, 230, 0.1);
}
html[data-look][data-theme="dark"] .qa-link {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .qa-more {
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .page-drawer.qa-mode > .d-foot {
  background: #0c2756;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .qa-ring-t {
  color: #c9d6ee;
}

/* Paper */
html[data-look][data-theme="paper"] .qa-col,
html[data-look][data-theme="paper"] .page-drawer.qa-mode > .d-foot {
  background: #fffdf8;
  border-color: #e8dfcd;
}
html[data-look][data-theme="paper"] .qa-col-h {
  border-bottom-color: #ece3d2;
}

/* Smaller windows: one card under another, the page scrolls. */
@media (max-width: 1100px) {
  html[data-look] .qa-grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto !important;
  }
  html[data-look] .qa-col-body {
    overflow: visible;
  }
  html[data-look] .page-drawer.qa-mode > .d-foot {
    position: sticky;
    bottom: 8px;
    flex-wrap: wrap;
  }
}
html[data-look] .qa-col .wp-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 4px;
}
html[data-look] .qa-col .wp-grid .wt-cell {
  gap: 2px;
}
html[data-look] .qa-col .wp-grid .wt-cell > span {
  font-size: 0;
  text-align: center;
}
html[data-look] .qa-col .wp-grid .wt-cell > span::after {
  content: attr(data-short);
  font-size: 11px;
  font-weight: 650;
  color: var(--ink-3);
}
html[data-look] .qa-col .wp-grid input {
  padding-left: 2px !important;
  padding-right: 2px !important;
  text-align: center;
  min-width: 0;
}
html[data-look] .qa-col .field > .qa-link {
  justify-self: start;
  align-self: flex-start;
  text-align: left;
}
html[data-look] main.page:has(> .add-emp-page),
html[data-look] main.page:has(.add-emp-page .qa-mode) {
  padding-bottom: 12px;
}
html[data-look] .qa-col .qa-sec.three .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .qa-col .qa-sec.three .field > label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .qa-col-body {
  gap: 8px;
  padding-top: 8px;
}
html[data-look] .qa-col .input,
html[data-look] .qa-col select,
html[data-look] .qa-col input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 34px;
  height: 34px;
}
html[data-look] .qa-col .form-grid {
  row-gap: 6px;
}
html[data-look] .qa-sec {
  gap: 4px;
}
html[data-look] .qa-col p.small.muted[role="status"] {
  margin: -2px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-3);
}

/* Audit log › Sign-ins (owner, 23 November 2026): as rich as Activity and
   changes. The period sits on the tab row; the table and its side panel
   fit the window. */
html[data-look] .audit-tabrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-look] .audit-tabrow .audit-period:empty {
  display: none;
}
html[data-look] .audit-period .tabs {
  margin: 0;
}
html[data-look] .audit-period .tabs [role="tab"] {
  padding: 6px 13px;
  font-size: 12.5px;
}
html[data-look] .si-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .si-privacy {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-3);
  cursor: help;
}
html[data-look] main.page:has(> .audit-centre) {
  padding-bottom: 12px;
}
@media (min-width: 1101px) {
  html[data-look] .audit-centre .with-side > .card .dg-frame {
    max-height: calc(100vh * var(--zi, 1) - 432px) !important;
  }
}

/* Verification queue › Ask / Can't verify (owner, 23 November 2026):
   who you're asking, one-click requests, the message, and the email as it
   goes out. */
html[data-look] .qm-drawer.wide {
  width: min(980px, 96vw);
}
html[data-look] .qm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
html[data-look] .qm-left,
html[data-look] .qm-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
html[data-look] .qm-sec-h {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .qm-co {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line, #e3eaf5);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #3fa9f5 8%, transparent),
    transparent 70%
  );
}
html[data-look] .qm-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
  box-shadow: 0 6px 14px -6px rgba(10, 79, 196, 0.6);
}
html[data-look] .qm-co-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
html[data-look] .qm-co-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
html[data-look] .qm-co-top strong {
  font-size: 15px;
  color: var(--ink);
}
html[data-look] .qm-co-sub {
  font-size: 12px;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
html[data-look] .qm-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .qm-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px 0 4px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 10%, transparent);
}
html[data-look] .qm-check-mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 16%, transparent);
}
html[data-look] .qm-check.ok {
  color: #0c6b48;
  background: color-mix(in srgb, #14a06a 12%, transparent);
}
html[data-look] .qm-check.ok .qm-check-mark {
  color: #fff;
  background: #14a06a;
}
html[data-look] .qm-check.bad {
  color: #9a5a00;
  background: color-mix(in srgb, #e08a00 14%, transparent);
}
html[data-look] .qm-check.bad .qm-check-mark {
  color: #fff;
  background: #e08a00;
}
html[data-look] .qm-reason {
  margin: 0;
  font-size: 12px;
  color: var(--ink-2);
}
html[data-look] .qm-asked {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border-left: 3px solid #3fa9f5;
  background: color-mix(in srgb, #3fa9f5 8%, transparent);
}
html[data-look] .qm-asked-h {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
}
html[data-look] .qm-asked p {
  margin: 0;
  font-size: 13px;
  white-space: pre-wrap;
}
html[data-look] .qm-link {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
  cursor: pointer;
}
html[data-look] .qm-chips-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .qm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .qm-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
html[data-look] .qm-chip::before {
  content: "+ ";
  color: var(--ink-3);
}
html[data-look] .qm-chip:hover {
  border-color: #3fa9f5;
}
html[data-look] .qm-chip[aria-pressed="true"] {
  color: #0b4c8c;
  border-color: #3fa9f5;
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .qm-chip[aria-pressed="true"]::before {
  content: "✓ ";
  color: #0a4fc4;
}
html[data-look] .qm-grid.decline .qm-chip[aria-pressed="true"] {
  color: #9b2c2c;
  border-color: #d64545;
  background: color-mix(in srgb, #d64545 10%, transparent);
}
html[data-look] .qm-grid.decline .qm-chip[aria-pressed="true"]::before {
  color: #d64545;
}
html[data-look] .qm-left .field > label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
html[data-look] .qm-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}
html[data-look] .qm-count.near {
  color: #d64545;
}
html[data-look] .qm-left textarea {
  min-height: 120px;
  resize: vertical;
}
html[data-look] .qm-mail {
  border-radius: 16px;
  border: 1px solid var(--line, #e3eaf5);
  background: var(--card, #fff);
  box-shadow: 0 12px 26px -18px rgba(4, 29, 74, 0.35);
  overflow: hidden;
}
html[data-look] .qm-mail-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line, #e3eaf5);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 5%, transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html[data-look] .qm-mail-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  font-size: 12.5px;
}
html[data-look] .qm-mail-row span {
  color: var(--ink-3);
}
html[data-look] .qm-mail-row strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}
html[data-look] .qm-mail-body {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}
html[data-look] .qm-mail-body p {
  margin: 0 0 10px;
}
html[data-look] .qm-mail-body p:last-child {
  margin: 0;
}
html[data-look] .qm-mail-msg {
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 3px solid #3fa9f5;
  background: color-mix(in srgb, #3fa9f5 9%, transparent);
  color: var(--ink);
  font-weight: 550;
  white-space: pre-wrap;
}
html[data-look] .qm-grid.decline .qm-mail-msg {
  border-left-color: #d64545;
  background: color-mix(in srgb, #d64545 7%, transparent);
}
html[data-look] .qm-mail-msg.empty {
  color: var(--ink-3);
  font-weight: 500;
  font-style: italic;
}
html[data-look] .qm-next {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .qm-next li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--ink-2);
}
html[data-look] .qm-next li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fa9f5;
}
html[data-look] .qm-grid.decline .qm-next li::before {
  background: #d64545;
}
html[data-look][data-theme="dark"] .qm-mail {
  background: #0c2756;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .qm-mail-head {
  border-bottom-color: #1c3a72;
}
html[data-look][data-theme="dark"] .qm-chip {
  background: #0c2756;
  border-color: #2a4a86;
  color: #c9d6ee;
}
html[data-look][data-theme="dark"] .qm-chip[aria-pressed="true"] {
  color: #a8dcff;
}
html[data-look][data-theme="dark"] .qm-check.ok {
  color: #8ff0c6;
}
html[data-look][data-theme="dark"] .qm-check.bad {
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .qm-link {
  color: #7cc4ff;
}
@media (max-width: 820px) {
  html[data-look] .qm-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look][data-theme="dark"]
  .qm-grid.decline
  .qm-chip[aria-pressed="true"] {
  color: #ffb3b3;
  border-color: #e06666;
  background: rgba(214, 69, 69, 0.18);
}
html[data-look][data-theme="dark"] .qm-reason {
  color: #c9d6ee;
}

/* Invite your accountant or bookkeeper (owner, 23 November 2026): how it
   works, who they are, and what they can do as two cards. */
html[data-look] .ia-drawer.wide {
  width: min(820px, 96vw);
}
html[data-look] .ia-body {
  gap: 16px;
}
html[data-look] .ia-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html[data-look] .ia-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, #3fa9f5 8%, transparent);
  border: 1px solid color-mix(in srgb, #3fa9f5 22%, transparent);
}
html[data-look] .ia-step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .ia-step-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html[data-look] .ia-step-t strong {
  font-size: 13px;
  color: var(--ink);
}
html[data-look] .ia-step-t span {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
html[data-look] .ia-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .ia-sec-h {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .ia-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
html[data-look] .ia-level {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font: inherit;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
html[data-look] .ia-level:hover {
  border-color: #3fa9f5;
}
html[data-look] .ia-level.on {
  border-color: #3fa9f5;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #3fa9f5 10%, transparent),
    transparent 70%
  );
  box-shadow: 0 10px 24px -16px rgba(10, 79, 196, 0.55);
}
html[data-look] .ia-level:focus-visible {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .ia-level-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .ia-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-2, #b9c4d6);
  background: var(--card, #fff);
}
html[data-look] .ia-level.on .ia-radio {
  border-color: var(--blue, #0a4fc4);
  box-shadow: inset 0 0 0 3px var(--card, #fff);
  background: var(--blue, #0a4fc4);
}
html[data-look] .ia-level-t {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
html[data-look] .ia-level-t strong {
  font-size: 14.5px;
}
html[data-look] .ia-level-t span {
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .ia-level-text {
  font-size: 12.5px;
  color: var(--ink-2);
}
html[data-look] .ia-can {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  border-top: 1px solid var(--line, #e3eaf5);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
html[data-look] .ia-can li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}
html[data-look] .ia-can-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 800;
}
html[data-look] .ia-can li.yes .ia-can-mark {
  color: #fff;
  background: #14a06a;
}
html[data-look] .ia-can li.no {
  color: var(--ink-3);
}
html[data-look] .ia-can li.no .ia-can-mark {
  color: var(--ink-3);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 14%, transparent);
}
html[data-look] .ia-summary {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 6%, transparent);
}
html[data-look] .ia-body .field > .hint {
  display: none;
}
html[data-look] .ia-body .field:focus-within > .hint {
  display: block;
}
html[data-look][data-theme="dark"] .ia-level {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .ia-level.on {
  border-color: #3fa9f5;
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.16), #0c2756 70%);
}
html[data-look][data-theme="dark"] .ia-radio {
  background: #0c2756;
}
html[data-look][data-theme="dark"] .ia-level.on .ia-radio {
  box-shadow: inset 0 0 0 3px #0c2756;
  background: #3fa9f5;
}
html[data-look][data-theme="dark"] .ia-can {
  border-top-color: #1c3a72;
}
@media (max-width: 720px) {
  html[data-look] .ia-steps,
  html[data-look] .ia-levels {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .ia-level-text {
  min-height: 2.8em;
}

/* Extra payments › Add a payment (owner, 23 November 2026): the kind as
   cards, the fields for it, and a payslip-style preview beside them. */
html[data-look] .xp-drawer.wide {
  width: min(960px, 96vw);
}
html[data-look] .xp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
html[data-look] .xp-left,
html[data-look] .xp-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
html[data-look] .xp-sec-h {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .xp-kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .xp-kind {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font: inherit;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  color: var(--ink);
  cursor: pointer;
}
html[data-look] .xp-kind:hover {
  border-color: #3fa9f5;
}
html[data-look] .xp-kind.on {
  border-color: #3fa9f5;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #3fa9f5 11%, transparent),
    transparent 75%
  );
  box-shadow: 0 8px 20px -14px rgba(10, 79, 196, 0.55);
}
html[data-look] .xp-kind:focus-visible {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .xp-kind-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .xp-kind.on .xp-kind-ic {
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .xp-kind-ic svg {
  width: 17px;
  height: 17px;
}
html[data-look] .xp-kind-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
html[data-look] .xp-kind-t strong {
  font-size: 13.5px;
}
html[data-look] .xp-kind-t span {
  font-size: 11.5px;
  color: var(--ink-3);
}
html[data-look] .xp-left textarea {
  min-height: 64px;
}
html[data-look] .xp-left .check {
  font-size: 12.5px;
}
html[data-look] .xp-prev {
  border-radius: 18px;
  border: 1px solid var(--line, #e3eaf5);
  background: var(--card, #fff);
  box-shadow: 0 12px 26px -18px rgba(4, 29, 74, 0.35);
  overflow: hidden;
}
html[data-look] .xp-prev-body {
  display: flex;
  flex-direction: column;
}
html[data-look] .xp-prev-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 18px;
  text-align: center;
}
html[data-look] .xp-prev-empty p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 30ch;
}
html[data-look] .xp-prev-empty-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .xp-net {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 12px;
  color: #fff;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      rgba(95, 212, 255, 0.28),
      transparent 60%
    ),
    linear-gradient(135deg, #041d4a, #0a4fc4);
}
html[data-look] .xp-net-l {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bfe3ff;
}
html[data-look] .xp-net strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
html[data-look] .xp-net-sub {
  font-size: 12px;
  color: #dbe6fb;
}
html[data-look] .xp-slip {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
}
html[data-look] .xp-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
}
html[data-look] .xp-line.strong {
  color: var(--ink);
  font-weight: 650;
}
html[data-look] .xp-line.total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-2, #d3deee);
  color: var(--ink);
  font-weight: 800;
}
html[data-look] .xp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
html[data-look] .xp-fact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 10%, transparent);
}
html[data-look] .xp-fact.yes {
  color: #0c6b48;
  background: color-mix(in srgb, #14a06a 12%, transparent);
}
html[data-look] .xp-pays {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--line, #e3eaf5);
}
html[data-look] .xp-pays-list {
  display: flex;
  flex-direction: column;
  max-height: 150px;
  overflow: auto;
}
html[data-look] .xp-pay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 4px 0;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line, #eef2f8);
}
html[data-look] .xp-source {
  margin: 0;
  padding: 8px 16px 12px;
  font-size: 11px;
  color: var(--ink-3);
}
html[data-look] .xp-next {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .xp-next li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
html[data-look] .xp-next-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .xp-next li > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .xp-next strong {
  font-size: 13px;
  color: var(--ink);
}
html[data-look] .xp-left .field > .hint {
  display: none;
}
html[data-look] .xp-left .field:focus-within > .hint {
  display: block;
}
html[data-look][data-theme="dark"] .xp-kind,
html[data-look][data-theme="dark"] .xp-prev {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .xp-kind.on {
  border-color: #3fa9f5;
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.18), #0c2756 75%);
}
html[data-look][data-theme="dark"] .xp-kind-ic,
html[data-look][data-theme="dark"] .xp-prev-empty-ic,
html[data-look][data-theme="dark"] .xp-next-n {
  color: #8fd0ff;
}
html[data-look][data-theme="dark"] .xp-fact.yes {
  color: #8ff0c6;
}
html[data-look][data-theme="dark"] .xp-pays,
html[data-look][data-theme="dark"] .xp-pay {
  border-color: #1c3a72;
}
@media (max-width: 820px) {
  html[data-look] .xp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Start pay run (owner, 23 November 2026): frequency as buttons with
   head counts, the period on a timeline, the dates on one row and who's
   paid. */
html[data-look] .nr-drawer.wide {
  width: min(820px, 96vw);
}
html[data-look] .nr-body {
  gap: 14px;
}
html[data-look] .nr-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .nr-sec-h {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .nr-freqs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .nr-freq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 14px;
  border-radius: 13px;
  border: 1.5px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}
html[data-look] .nr-freq:hover {
  border-color: #3fa9f5;
}
html[data-look] .nr-freq.on {
  border-color: #3fa9f5;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #3fa9f5 13%, transparent),
    transparent 80%
  );
  box-shadow: 0 8px 18px -14px rgba(10, 79, 196, 0.6);
}
html[data-look] .nr-freq:focus-visible {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .nr-freq-n {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .nr-freq-n.zero {
  color: var(--ink-3);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 12%, transparent);
}
html[data-look] .nr-tl-card {
  padding: 14px 16px;
  border-radius: 18px;
  background:
    radial-gradient(
      120% 160% at 100% 0%,
      rgba(95, 212, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, #041d4a, #0a3a8c);
  box-shadow: 0 14px 30px -20px rgba(4, 29, 74, 0.8);
}
html[data-look] .nr-tl {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-height: 62px;
}
html[data-look] .nr-seg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
html[data-look] .nr-seg.prev {
  flex: 1 1 0;
}
html[data-look] .nr-seg.now {
  flex: 2.4 1 0;
}
html[data-look] .nr-seg-bar {
  height: 10px;
  border-radius: 5px;
  margin-bottom: 4px;
}
html[data-look] .nr-seg.prev .nr-seg-bar {
  background: rgba(200, 220, 255, 0.28);
}
html[data-look] .nr-seg.now .nr-seg-bar {
  background: linear-gradient(90deg, #3fa9f5, #5fd4ff);
  box-shadow: 0 0 16px rgba(95, 212, 255, 0.55);
}
html[data-look] .nr-seg-l {
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a8c8f0;
}
html[data-look] .nr-seg-d {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .nr-seg.prev .nr-seg-d {
  color: #c9d6ee;
  font-weight: 600;
}
html[data-look] .nr-gap {
  align-self: flex-start;
  margin-top: -2px;
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #ffd28a;
  background: rgba(245, 176, 65, 0.18);
}
html[data-look] .nr-gap.bad {
  color: #ffb3b3;
  background: rgba(214, 69, 69, 0.25);
}
html[data-look] .nr-pin {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px dashed rgba(200, 220, 255, 0.35);
}
html[data-look] .nr-pin-dot {
  width: 10px;
  height: 10px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}
html[data-look] .nr-pin.bad .nr-pin-dot {
  background: #f87171;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.8);
}
html[data-look] .nr-pin-sub {
  font-size: 11px;
  color: #a8c8f0;
}
html[data-look] .nr-dates {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
html[data-look] .nr-dates > .full {
  grid-column: 1 / -1;
}
html[data-look] .nr-body .field > .hint {
  display: none;
}
html[data-look] .nr-body .field:focus-within > .hint {
  display: block;
}
html[data-look] .nr-who {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .nr-people {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .nr-person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px 0 3px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 7%, transparent);
}
html[data-look] .nr-av {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .nr-more {
  align-self: center;
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .nr-none {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12.5px;
  color: #9a5a00;
  background: color-mix(in srgb, #e08a00 12%, transparent);
}
html[data-look] .nr-notes:empty {
  display: none;
}
html[data-look] .nr-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
html[data-look] .nr-note.warn {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #9b2c2c;
  background: color-mix(in srgb, #d64545 9%, transparent);
}
html[data-look] .nr-note.cal {
  justify-content: space-between;
  padding: 8px 8px 8px 12px;
  border-radius: 12px;
  color: var(--ink-2);
  background: color-mix(in srgb, #3fa9f5 9%, transparent);
}
html[data-look][data-theme="dark"] .nr-freq {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .nr-freq.on {
  border-color: #3fa9f5;
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.2), #0c2756 80%);
}
html[data-look][data-theme="dark"] .nr-tl-card {
  box-shadow: inset 0 0 0 1px #1c3a72;
}
html[data-look][data-theme="dark"] .nr-none {
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .nr-note.warn {
  color: #ffb3b3;
}
@media (max-width: 720px) {
  html[data-look] .nr-freqs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-look] .nr-dates {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Time and leave › Timesheets, Who's off, Public holidays (owner, 23
   November 2026): each a card with a side panel, as on Leave requests. */
html[data-look] .with-side > div > .card .leave-cal,
html[data-look] .leave-cal {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  table-layout: fixed;
}
html[data-look] .leave-cal th,
html[data-look] .leave-cal td {
  padding: 0;
  border: 0;
  height: 30px;
}
html[data-look] .leave-cal thead th {
  height: 26px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: center;
}
html[data-look] .leave-cal .lc-name {
  width: 150px;
  padding-right: 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .leave-cal .lc-day.we,
html[data-look] .leave-cal .lc-cell.we {
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 6%, transparent);
}
html[data-look] .leave-cal .lc-day.ph {
  color: #6b4bd8;
  background: color-mix(in srgb, #8a6cf0 14%, transparent);
  border-radius: 6px;
}
html[data-look] .leave-cal .lc-cell {
  position: relative;
}
html[data-look] .leave-cal .lc-cell.on::after,
html[data-look] .leave-cal .lc-cell.asked::after {
  content: "";
  position: absolute;
  inset: 5px 0;
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
}
html[data-look] .leave-cal .lc-cell.asked::after {
  background: repeating-linear-gradient(135deg, #f5b041 0 4px, #ffd28a 4px 8px);
}
html[data-look] .leave-cal .lc-cell.on:not(.on + .lc-cell)::after {
  border-radius: 6px 0 0 6px;
}
html[data-look] .leave-cal .lc-cell.on + .lc-cell.on::after {
  border-radius: 0;
}
html[data-look] .lc-key.on {
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
}
html[data-look] .lc-key.asked {
  background: #f5b041;
}
html[data-look] .lc-key.ph {
  background: color-mix(in srgb, #8a6cf0 40%, transparent);
}
html[data-look] .with-side > div:has(> .card .leave-cal),
html[data-look] .with-side > div:has(> .card) {
  min-width: 0;
}
html[data-look] .with-side > div > .card {
  height: 100%;
}
html[data-look] .tl-hol-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
html[data-look] .tl-hol .sp2-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  padding: 2px 0;
}
html[data-look] .tl-link {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
}
html[data-look] .tl-foot {
  margin: 0;
}
html[data-look][data-theme="dark"] .leave-cal .lc-day.ph {
  color: #c4b5fd;
}
html[data-look][data-theme="dark"] .tl-link {
  color: #7cc4ff;
}
html[data-look] .with-side > div:has(> .card .leave-cal) {
  display: flex;
  flex-direction: column;
}
html[data-look] .with-side > div > .card:has(.leave-cal) {
  flex: 1;
}
html[data-look] .with-side > div > .card:has(.leave-cal) .table-wrap {
  overflow-x: auto;
}
html[data-look] .leave-cal .lc-day.today {
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
  border-radius: 7px;
}
html[data-look] .leave-cal .lc-cell.on::after {
  background: #2f86e6;
  border-radius: 0 !important;
}
html[data-look] .leave-cal .lc-cell.asked::after {
  border-radius: 0 !important;
}
html[data-look] .leave-cal .lc-cell.lc-s::after {
  left: 2px;
  border-top-left-radius: 7px !important;
  border-bottom-left-radius: 7px !important;
}
html[data-look] .leave-cal .lc-cell.lc-e::after {
  right: 2px;
  border-top-right-radius: 7px !important;
  border-bottom-right-radius: 7px !important;
}
html[data-look] .lc-key.on {
  background: #2f86e6;
}
html[data-look] .leave-cal .lc-cell.on,
html[data-look] .leave-cal .lc-cell.asked {
  background: transparent;
}
html[data-look] .leave-cal .lc-cell.we.on,
html[data-look] .leave-cal .lc-cell.we.asked {
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 6%, transparent);
}

/* Time and leave, like Rosters (owner, 23 November 2026): cards as tall as
   their content, the side panel the same height as the card beside it. */
html[data-look] .tl-body .with-side {
  align-items: stretch;
}
html[data-look] .tl-body .with-side > div > .card {
  height: 100%;
}
html[data-look] main.page:has(.tl-page) {
  padding-bottom: 12px;
}
/* Public holidays: every row one line and the same height; the pinned
   first heading stays above the pinned first column when scrolling. */
html[data-look] .dg-table thead th.dg-sticky {
  z-index: 4;
}
html[data-look] .dg-table thead th {
  z-index: 3;
}
html[data-look] .ph-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
html[data-look] .ph-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 12%, transparent);
  vertical-align: middle;
}
html[data-look] .ph-tag.blue {
  margin-left: 6px;
  color: #0b4c8c;
  background: color-mix(in srgb, #3fa9f5 16%, transparent);
}
html[data-look][data-theme="dark"] .ph-tag.blue {
  color: #a8dcff;
}
html[data-look] .tl-body .dg-table tbody td {
  height: 40px;
  white-space: nowrap;
}

/* Reports tabs (owner, 23 November 2026): the band above the headings is
   hidden, so the headings stick at the very top; one table per card with
   a switch; headline cards the same height on every tab. */
html[data-look] .rf-page .dg-table thead tr.dg-band + tr th {
  top: 0;
}
html[data-look] .rf-seg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 0;
}
html[data-look] .rf-gridhost > .rf-seg {
  margin: 12px 14px 0;
}
html[data-look] .rf-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue, #0a4fc4) 7%, transparent);
}
html[data-look] .rf-seg button {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
html[data-look] .rf-seg button.on {
  color: var(--blue, #0a4fc4);
  background: var(--card, #fff);
  box-shadow: 0 2px 8px -3px rgba(4, 29, 74, 0.3);
}
html[data-look][data-theme="dark"] .rf-seg button.on {
  color: #a8dcff;
  background: #123266;
}
html[data-look] .rf-asof-inline {
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  margin: 0;
}
html[data-look] .rf-asof-inline > label {
  margin: 0;
  white-space: nowrap;
}
html[data-look] .rf-asof-inline .nzd,
html[data-look] .rf-asof-inline input {
  width: 170px;
}
html[data-look] .rf-page .rf-strip-host .ss-item {
  min-height: 138px;
}
html[data-look] .rf-seg-row .rf-asof-inline {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
}
html[data-look] .rf-seg-row .rf-asof-inline > .hint,
html[data-look] .rf-seg-row .rf-asof-inline > .ferr:empty {
  display: none;
}
html[data-look][data-theme="dark"] .rf-seg {
  background: rgba(140, 180, 240, 0.1);
}
html[data-look][data-theme="dark"] .rf-seg button {
  color: #a9bbdb;
}
html[data-look][data-theme="dark"] .rf-seg button.on {
  color: #fff;
  background: rgba(63, 169, 245, 0.32);
  box-shadow: inset 0 0 0 1px rgba(110, 180, 255, 0.5);
}

/* Reports filter dropdowns (owner, 23 November 2026): the text was cut
   off (9px padding inside a 32px box). Text centred, and our own arrow so
   Period and Paydays match the Employees button beside them. */
html[data-look] .rf-tabrow .rf-field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 30px 0 12px !important;
  line-height: 30px;
  height: 32px;
  border-radius: 10px;
  background-image: url("ui-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
html[data-look][data-theme="dark"] .rf-tabrow .rf-field select {
  background-image: url("ui-chevron-dark.svg");
}
html[data-look] .rf-tabrow .rf-field .input:not(select) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 30px;
}
html[data-look] .rf-tabrow .rf-field button.rf-people {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 10px;
}
html[data-look] .rf-tabrow .rf-field button.rf-people {
  justify-content: space-between;
  padding: 0 30px 0 12px !important;
  position: relative;
  font-weight: 500;
}
html[data-look] .rf-tabrow .rf-field button.rf-people::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 6px;
  margin-top: -3px;
  background: url("ui-chevron.svg") no-repeat center / 10px 6px;
  font-size: 0;
}
html[data-look][data-theme="dark"]
  .rf-tabrow
  .rf-field
  button.rf-people::after {
  background-image: url("ui-chevron-dark.svg");
}

/* Reports › Pay runs: the Open arrow and its column (owner, 23 November
   2026). Room on the right, and when the table scrolls sideways the whole
   last column stays pinned: heading, rows and total. */
html[data-look] .rf-page .rf-open {
  width: 30px;
  min-width: 30px;
  height: 28px;
  min-height: 28px;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
}
html[data-look] .rf-page .rf-open svg {
  width: 15px;
  height: 15px;
}
html[data-look] .rf-page .dg-table:has(.rf-open) th:last-child,
html[data-look] .rf-page .dg-table:has(.rf-open) td:last-child {
  width: 40px;
  min-width: 40px;
  padding-left: 2px !important;
  padding-right: 8px !important;
  text-align: right;
  position: sticky;
  right: 0;
}
html[data-look] .rf-page .dg-table:has(.rf-open) thead th:last-child {
  z-index: 4;
}
html[data-look] .rf-page .dg-table:has(.rf-open) tbody td:last-child {
  z-index: 2;
  background: var(--card, #fff);
}
html[data-look] .rf-page .dg-table:has(.rf-open) tfoot td:last-child,
html[data-look] .rf-page .dg-table:has(.rf-open) tr.dg-total td:last-child {
  z-index: 2;
  background: inherit;
}
html[data-look][data-theme="dark"]
  .rf-page
  .dg-table:has(.rf-open)
  tbody
  td:last-child {
  background: #0c2756;
}
/* Report tables fit their card without scrolling sideways: tighter cell
   padding, and a long heading may take two lines. */
html[data-look] .rf-page .dg-table th,
html[data-look] .rf-page .dg-table td {
  padding-left: 6px !important;
  padding-right: 6px !important;
}
html[data-look] .rf-page .dg-table thead th {
  white-space: normal;
  line-height: 1.2;
  vertical-align: bottom;
}
html[data-look] .rf-page .dg-table tbody td:nth-child(2) {
  white-space: normal;
  min-width: 108px;
  max-width: 150px;
}
html[data-look] .rf-page .dg-table tbody td:nth-child(2) strong {
  display: block;
  white-space: normal;
  line-height: 1.25;
}
html[data-look] .rf-page .dg-table:has(.rf-open) thead th:last-child {
  background: #eaf1fb;
}
html[data-look] .rf-page .dg-table:has(.rf-open) tfoot td:last-child,
html[data-look] .rf-page .dg-table:has(.rf-open) tr.dg-total td:last-child {
  background: #f3f7fd;
}
html[data-look][data-theme="dark"]
  .rf-page
  .dg-table:has(.rf-open)
  thead
  th:last-child,
html[data-look][data-theme="dark"]
  .rf-page
  .dg-table:has(.rf-open)
  tfoot
  td:last-child {
  background: #0f2652;
}

/* Employees › To check (owner, 23 November 2026). */
html[data-look] button.ss-item.ss-click {
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
html[data-look] button.ss-item.ss-click:focus-visible {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .page .tabs [role="tab"].emp-tab-alert {
  position: relative;
  padding-right: 22px;
}
html[data-look] .page .tabs [role="tab"].emp-tab-alert::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #f5a524;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.22);
}
html[data-look] .emp-req-what {
  display: inline-block;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
html[data-look] .page .tabs [role="tab"].emp-tab-alert::after {
  display: block;
  left: auto;
  bottom: auto;
  height: 7px;
  transform: none;
  opacity: 1;
}
html[data-look] .page .tabs [role="tab"].emp-tab-alert {
  padding-right: 24px !important;
}
html[data-look] .page .tabs [role="tab"].emp-tab-alert::after {
  right: 10px;
}

/* Review screen for what employees send (owner, 23 November 2026):
   detail and bank changes, KiwiSaver forms and IR330s. */
html[data-look] .rv-drawer.wide {
  width: min(940px, 96vw);
}
html[data-look] .rv-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-look] .rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
html[data-look] .rv-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
html[data-look] .rv-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .rv-body .rv-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .rv-count {
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
html[data-look] .rv-count.ok {
  color: #0c6b48;
  background: color-mix(in srgb, #14a06a 13%, transparent);
}
html[data-look] .rv-count.warn {
  color: #9b2c2c;
  background: color-mix(in srgb, #d64545 12%, transparent);
}
html[data-look] .rv-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line, #e3eaf5);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #3fa9f5 9%, transparent),
    transparent 70%
  );
}
html[data-look] .rv-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .rv-who-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
html[data-look] .rv-who-t strong {
  font-size: 15px;
  color: var(--ink);
}
html[data-look] .rv-who-t span {
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .rv-flag {
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #9b2c2c;
  background: color-mix(in srgb, #d64545 12%, transparent);
}
html[data-look] .rv-rows {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line, #e3eaf5);
  border-radius: 14px;
  overflow: hidden;
}
html[data-look] .rv-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid var(--line, #eef2f8);
  border-left: 3px solid transparent;
}
html[data-look] .rv-row:first-child {
  border-top: 0;
}
html[data-look] .rv-row.changed {
  border-left-color: #f5a524;
  background: color-mix(in srgb, #f5a524 7%, transparent);
}
html[data-look] .rv-row-l {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
}
html[data-look] .rv-row-v {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
}
html[data-look] .rv-now {
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
html[data-look] .rv-row.changed .rv-now {
  text-decoration: line-through;
}
html[data-look] .rv-arrow {
  display: inline-grid;
  color: #c27a00;
}
html[data-look] .rv-arrow svg {
  width: 14px;
  height: 14px;
}
html[data-look] .rv-new {
  padding: 2px 8px;
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, #f5a524 16%, transparent);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
html[data-look] .rv-new.plain {
  padding: 0;
  background: none;
}
html[data-look] .rv-same {
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .rv-pdf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, #3fa9f5 55%, transparent);
  background: color-mix(in srgb, #3fa9f5 6%, transparent);
}
html[data-look] .rv-pdf.done {
  border-style: solid;
  border-color: color-mix(in srgb, #14a06a 45%, transparent);
  background: color-mix(in srgb, #14a06a 7%, transparent);
}
html[data-look] .rv-pdf-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 15%, transparent);
}
html[data-look] .rv-pdf-t {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .rv-pdf-t strong {
  font-size: 13.5px;
  color: var(--ink);
}
html[data-look] .rv-body .rv-auto {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .rv-body .rv-auto li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  background: color-mix(in srgb, #14a06a 7%, transparent);
}
html[data-look] .rv-body .rv-auto li.warn {
  color: #7a2424;
  background: color-mix(in srgb, #d64545 9%, transparent);
  border-left: 3px solid #d64545;
}
html[data-look] .rv-auto-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: #14a06a;
}
html[data-look] .rv-auto li.warn .rv-auto-ic {
  background: #d64545;
}
html[data-look] .rv-auto-ic svg {
  width: 12px;
  height: 12px;
}
html[data-look] .rv-ticks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .rv-tick {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
html[data-look] .rv-tick:hover {
  border-color: #3fa9f5;
}
html[data-look] .rv-tick.on {
  border-color: #14a06a;
  background: color-mix(in srgb, #14a06a 7%, transparent);
}
html[data-look] .rv-tick-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
html[data-look] .rv-tick-input:focus-visible + .rv-tick-box {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .rv-tick-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--line-2, #b9c4d6);
  color: transparent;
  background: var(--card, #fff);
}
html[data-look] .rv-tick.on .rv-tick-box {
  border-color: #14a06a;
  color: #fff;
  background: #14a06a;
}
html[data-look] .rv-tick-box svg {
  width: 13px;
  height: 13px;
}
html[data-look] .rv-back {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #d64545 35%, transparent);
  background: color-mix(in srgb, #d64545 5%, transparent);
}
html[data-look] .rv-back[hidden] {
  display: none;
}
html[data-look] .rv-back textarea {
  min-height: 84px;
}
html[data-look] .rv-drawer .d-foot {
  align-items: center;
}
html[data-look] .rv-steps {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}
html[data-look] .rv-steps-bar {
  flex: none;
  width: 90px;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink-3, #5b6b86) 15%, transparent);
}
html[data-look] .rv-steps-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
  transition: width 0.25s ease;
}
html[data-look] .rv-steps.ready {
  color: #0c6b48;
}
html[data-look] .rv-steps.ready .rv-steps-fill {
  background: #14a06a;
}
html[data-look][data-theme="dark"] .rv-tick,
html[data-look][data-theme="dark"] .rv-tick-box {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .rv-tick.on {
  border-color: #34d399;
  background: rgba(20, 160, 106, 0.16);
}
html[data-look][data-theme="dark"] .rv-tick.on .rv-tick-box {
  background: #14a06a;
  border-color: #14a06a;
}
html[data-look][data-theme="dark"] .rv-rows,
html[data-look][data-theme="dark"] .rv-row {
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .rv-body .rv-auto li.warn {
  color: #ffc2c2;
}
html[data-look][data-theme="dark"] .rv-count.ok {
  color: #8ff0c6;
}
html[data-look][data-theme="dark"] .rv-count.warn,
html[data-look][data-theme="dark"] .rv-flag {
  color: #ffb3b3;
}
html[data-look][data-theme="dark"] .rv-arrow {
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .rv-steps.ready {
  color: #8ff0c6;
}
@media (max-width: 820px) {
  html[data-look] .rv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .rv-auto-ic > span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* ======================================================================
 * Employee record (owner, 23 November 2026): four headline cards like the
 * other pages, notices on the tab row instead of extra rows, a grouped
 * side menu with icons, fields as tiles with gaps marked, and the usual
 * week as day chips. The page keeps one shape whatever is waiting.
 * ====================================================================== */
html[data-look] .profile-head .ph-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
html[data-look] .profile-head:first-child .ph-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 650;
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(140, 190, 255, 0.3);
}
html[data-look] .ef-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}
html[data-look] .ef-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e3eaf5);
  box-shadow: 0 12px 26px -18px rgba(4, 29, 74, 0.4);
  overflow: hidden;
}
html[data-look] .ef-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
}
html[data-look] .ef-ic {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .ef-ic svg {
  width: 14px;
  height: 14px;
}
html[data-look] .ef-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .ef-sub {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .ef-sub a {
  font-weight: 650;
  color: var(--blue, #0a4fc4);
}
html[data-look] .ef-tile.amber .ef-value {
  color: #b86e00;
}
html[data-look] .ef-tile.green .ef-value {
  color: #0c7a52;
}
html[data-look] .ef-setup {
  padding-right: 64px;
}
html[data-look] .ef-ring {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
}
html[data-look] .ef-ring svg {
  width: 100%;
  height: 100%;
}
html[data-look] .ef-ring-track {
  fill: none;
  stroke: color-mix(in srgb, var(--blue, #0a4fc4) 12%, transparent);
  stroke-width: 4;
}
html[data-look] .ef-ring-fill {
  fill: none;
  stroke: #3fa9f5;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}
html[data-look] .ef-tile.amber .ef-ring-fill {
  stroke: #f5a524;
}
html[data-look] .ef-tile.green .ef-ring-fill {
  stroke: #14a06a;
}

/* Tab row: tabs on the left, what's waiting on the right. */
html[data-look] .ef-tabrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
html[data-look] .ef-tabrow > .tabs {
  margin: 0;
  flex: none;
}
html[data-look] .ef-notices {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
html[data-look] .ef-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 4px 0 12px;
  border-radius: 17px;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  color: #8a5200;
  background: color-mix(in srgb, #f5a524 14%, var(--card, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #f5a524 40%, transparent);
}
html[data-look] .ef-notice.red {
  color: #9b2c2c;
  background: color-mix(in srgb, #d64545 10%, var(--card, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #d64545 40%, transparent);
}
html[data-look] .ef-notice.blue {
  color: #0b4c8c;
  background: color-mix(in srgb, #3fa9f5 12%, var(--card, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #3fa9f5 40%, transparent);
}
html[data-look] .ef-notice .btn {
  height: 26px;
  min-height: 26px;
  padding: 0 12px !important;
  border-radius: 13px;
  font-size: 12px;
}
html[data-look] .ef-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Side menu in groups with icons. */
html[data-look] .ef-layout > .settings-nav {
  padding: 8px !important;
  gap: 1px;
}
html[data-look] .ef-layout .sn-group {
  margin: 10px 10px 4px;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .ef-layout .sn-group:first-child {
  margin-top: 4px;
}
html[data-look] .ef-layout .settings-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 10px !important;
  font-size: 13.5px;
}
html[data-look] .ef-layout .sn-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 7%, transparent);
}
html[data-look] .ef-layout .sn-ic svg {
  width: 14px;
  height: 14px;
}
html[data-look] .ef-layout .settings-nav button[aria-current="true"] .sn-ic {
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .employee-card > .settings-layout.ef-single {
  display: block;
}

/* Fields as tiles; a gap is marked so it stands out. */
html[data-look] .employee-card .fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
html[data-look] .employee-card .fact-grid .fact {
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue, #0a4fc4) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue, #0a4fc4) 8%, transparent);
}
html[data-look] .employee-card .fact-grid .fact dt {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--ink-3);
}
html[data-look] .employee-card .fact-grid .fact dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
html[data-look] .employee-card .fact-grid .fact.missing {
  background: color-mix(in srgb, #f5a524 8%, transparent);
  border-color: color-mix(in srgb, #f5a524 30%, transparent);
}
html[data-look] .employee-card .fact-grid .fact.missing dd {
  font-weight: 600;
  color: #a06000;
}

/* Contact and bank uses the same tiles. */
html[data-look] .employee-card .card-body > dl:not(.fact-grid),
html[data-look] .employee-card .card > div > dl:not(.fact-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}

/* The usual week as day chips. */
html[data-look] .wp-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
html[data-look] .wp-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 12px;
  border: 1px dashed var(--line-2, #d3deee);
  color: var(--ink-3);
}
html[data-look] .wp-day.on {
  border: 1px solid color-mix(in srgb, #3fa9f5 45%, transparent);
  background: color-mix(in srgb, #3fa9f5 11%, transparent);
  color: var(--ink);
}
html[data-look] .wp-day-n {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
html[data-look] .wp-day strong {
  font-size: 14px;
}
html[data-look] .wp-day:not(.on) strong {
  font-weight: 600;
  color: var(--ink-3);
}
html[data-look] .wp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
html[data-look] .wp-facts strong {
  color: var(--ink);
}

/* Dark */
html[data-look][data-theme="dark"] .ef-tile {
  background: #0c2756;
  border-color: #1c3a72;
}
html[data-look][data-theme="dark"] .ef-tile.amber .ef-value {
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .ef-tile.green .ef-value {
  color: #8ff0c6;
}
html[data-look][data-theme="dark"] .ef-sub a {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .ef-notice {
  color: #ffd28a;
  background: rgba(245, 165, 36, 0.16);
}
html[data-look][data-theme="dark"] .ef-notice.red {
  color: #ffb3b3;
  background: rgba(214, 69, 69, 0.18);
}
html[data-look][data-theme="dark"] .ef-notice.blue {
  color: #a8dcff;
  background: rgba(63, 169, 245, 0.16);
}
html[data-look][data-theme="dark"] .employee-card .fact-grid .fact {
  background: rgba(140, 180, 240, 0.06);
  border-color: rgba(140, 180, 240, 0.14);
}
html[data-look][data-theme="dark"] .employee-card .fact-grid .fact.missing {
  background: rgba(245, 165, 36, 0.1);
}
html[data-look][data-theme="dark"] .employee-card .fact-grid .fact.missing dd {
  color: #ffd28a;
}
html[data-look][data-theme="dark"] .wp-day.on {
  background: rgba(63, 169, 245, 0.16);
}
/* One row of four down to 860px (owner, 23 November 2026): at 125% zoom
   and tablet widths the tiles stay short so the tabs stay high. */
@media (max-width: 1100px) {
  html[data-look] .ef-tile {
    padding: 10px 12px !important;
  }
  html[data-look] .ef-tile .ef-ring {
    display: none;
  }
}
@media (max-width: 860px) {
  html[data-look] .ef-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  html[data-look] .ef-tabrow {
    flex-wrap: wrap;
  }
}
@media (min-width: 1101px) {
  html[data-look] .employee-card > .settings-layout.ef-layout {
    grid-template-columns: 262px minmax(0, 1fr) !important;
  }
}
html[data-look] .ef-layout .settings-nav button > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .employee-card dl.dl-flow {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  columns: auto;
}
html[data-look] .employee-card dl.dl-flow .dl-pair {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--blue, #0a4fc4) 8%, transparent) !important;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue, #0a4fc4) 4%, transparent);
  break-inside: avoid;
}
html[data-look] .employee-card dl.dl-flow .dl-pair dt {
  font-size: 11.5px;
  color: var(--ink-3);
  width: auto;
}
html[data-look] .employee-card dl.dl-flow .dl-pair dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
html[data-look][data-theme="dark"] .employee-card dl.dl-flow .dl-pair {
  background: rgba(140, 180, 240, 0.06);
  border-color: rgba(140, 180, 240, 0.14) !important;
}

/* Change several employees (owner, 23 November 2026). */
html[data-look] .cs-drawer.wide {
  width: min(760px, 96vw);
}
html[data-look] .cs-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html[data-look] .cs-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[data-look] .cs-search {
  width: 100%;
}
html[data-look] .cs-sec-h {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .cs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .cs-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 6px 0 12px;
  border-radius: 15px;
  border: 1px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
html[data-look] .cs-chip:hover {
  border-color: #3fa9f5;
  color: var(--blue, #0a4fc4);
}
html[data-look] .cs-chip-n {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .cs-listhead {
  display: flex;
  align-items: center;
  padding: 6px 12px 2px;
  border-top: 1px solid var(--line, #e3eaf5);
}
html[data-look] .cs-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
html[data-look] .cs-all input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue, #0a4fc4);
}
html[data-look] .cs-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .cs-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--line, #e3eaf5);
  background: var(--card, #fff);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
html[data-look] .cs-row:hover {
  border-color: #3fa9f5;
}
html[data-look] .cs-row.on {
  border-color: #3fa9f5;
  background: color-mix(in srgb, #3fa9f5 8%, transparent);
}
html[data-look] .cs-row > input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
html[data-look] .cs-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--line-2, #b9c4d6);
  color: transparent;
}
html[data-look] .cs-row.on .cs-tick {
  border-color: var(--blue, #0a4fc4);
  color: #fff;
  background: var(--blue, #0a4fc4);
}
html[data-look] .cs-row > input:focus-visible + .cs-tick {
  outline: 3px solid #5fd4ff;
  outline-offset: 2px;
}
html[data-look] .cs-tick svg {
  width: 12px;
  height: 12px;
}
html[data-look] .cs-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
html[data-look] .cs-who strong {
  font-size: 13.5px;
  color: var(--ink);
}
html[data-look] .cs-who span {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look] .cs-tag {
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 8%, transparent);
}
html[data-look] .cs-state {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #14a06a;
}
html[data-look] .cs-state.bad {
  background: #d64545;
}
html[data-look] .cs-none {
  margin: 12px 0;
  text-align: center;
  color: var(--ink-3);
}
html[data-look] .cs-drawer .d-foot {
  align-items: center;
  flex-wrap: wrap;
}
html[data-look] .cs-sum {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
html[data-look] .cs-count {
  font-size: 14px;
  color: var(--ink);
}
html[data-look] .cs-count-sub {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-look][data-theme="dark"] .cs-row,
html[data-look][data-theme="dark"] .cs-chip {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .cs-row.on {
  border-color: #3fa9f5;
  background: rgba(63, 169, 245, 0.16);
}
html[data-look][data-theme="dark"] .cs-row.on .cs-tick {
  background: #3fa9f5;
  border-color: #3fa9f5;
}
html[data-look][data-theme="dark"] .cs-chip-n {
  color: #a8dcff;
}
html[data-look][data-theme="dark"] .cs-listhead {
  border-color: #1c3a72;
}
html[data-look] .drawer.wide.cs-drawer {
  width: min(820px, 96vw);
  max-width: 96vw;
}
html[data-look] .cs-drawer .d-foot {
  flex-wrap: nowrap;
  gap: 8px;
}
html[data-look] .cs-drawer .d-foot .cs-act {
  white-space: nowrap;
}

/* Opening balances (owner, 23 November 2026): the package on the left,
   the steps as a rail on the right, notes behind hover. */
html[data-look] .ob-gate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 650;
  color: #ffd28a;
  background: rgba(245, 165, 36, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.45);
  cursor: help;
}
html[data-look] .ob-gate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a524;
  box-shadow: 0 0 8px #f5a524;
}
html[data-look] .ob-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
html[data-look] .ob-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px !important;
}
html[data-look] .ob-card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-look] .ob-sec-h {
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
html[data-look] .ob-card-h .ob-sec-h {
  font-size: 13px;
  color: var(--ink);
}
html[data-look] .ob-what {
  font-size: 12px;
  color: var(--ink-3);
  cursor: help;
  border-bottom: 1px dotted var(--line-2, #b9c4d6);
}
html[data-look] .ob-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 2px dashed color-mix(in srgb, #3fa9f5 55%, transparent);
  background: color-mix(in srgb, #3fa9f5 6%, transparent);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
html[data-look] .ob-drop:hover,
html[data-look] .ob-drop.over {
  border-color: #3fa9f5;
  background: color-mix(in srgb, #3fa9f5 12%, transparent);
}
html[data-look] .ob-drop.has-file {
  border-style: solid;
  border-color: color-mix(in srgb, #14a06a 50%, transparent);
  background: color-mix(in srgb, #14a06a 7%, transparent);
}
html[data-look] .ob-drop-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
}
html[data-look] .ob-drop.has-file .ob-drop-ic {
  background: linear-gradient(135deg, #34d399, #14a06a);
}
html[data-look] .ob-drop-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
html[data-look] .ob-drop-t strong {
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
html[data-look] .ob-drop-t span {
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .ob-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
html[data-look] .ob-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html[data-look] .ob-facts[hidden],
html[data-look] .ob-people[hidden] {
  display: none;
}
html[data-look] .ob-fact {
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-3);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 7%, transparent);
}
html[data-look] .ob-fact strong {
  color: var(--ink);
}
html[data-look] .ob-ids {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html[data-look] .ob-card .field > .hint {
  display: none;
}
html[data-look] .ob-card .field:focus-within > .hint {
  display: block;
}
html[data-look] .ob-people {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .ob-person-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 96px;
  overflow: auto;
}
html[data-look] .ob-person {
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1.5px solid var(--line-2, #d3deee);
  background: var(--card, #fff);
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-2);
  cursor: pointer;
}
html[data-look] .ob-person:hover {
  border-color: #3fa9f5;
}
html[data-look] .ob-person.on {
  color: #fff;
  border-color: var(--blue, #0a4fc4);
  background: var(--blue, #0a4fc4);
}
html[data-look] .ob-paste > summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
}
html[data-look] .ob-paste[open] > summary {
  margin-bottom: 8px;
}
html[data-look] .ob-out {
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf5);
  padding: 12px 14px;
  background: color-mix(in srgb, var(--blue, #0a4fc4) 3%, transparent);
}
html[data-look] .ob-out-empty {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
html[data-look] .ob-out dl.dl-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
  columns: auto;
}
html[data-look] .ob-out ul[data-opening-blocks] {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
html[data-look] .ob-out ul[data-opening-blocks] li {
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 3px solid #d64545;
  font-size: 12.5px;
  color: #7a2424;
  background: color-mix(in srgb, #d64545 8%, transparent);
}
html[data-look] .ob-rail {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
html[data-look] .ob-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 9px 4px 11px;
}
html[data-look] .ob-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: -6px;
  width: 2px;
  background: var(--line, #e3eaf5);
}
html[data-look] .ob-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-3);
  background: var(--card, #fff);
  border: 2px solid var(--line-2, #d3deee);
}
html[data-look] .ob-step.mine .ob-n {
  color: var(--blue, #0a4fc4);
  border-color: #3fa9f5;
}
html[data-look] .ob-step.next .ob-n {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #3fa9f5, var(--blue, #0a4fc4));
  box-shadow: 0 0 0 4px color-mix(in srgb, #3fa9f5 20%, transparent);
}
html[data-look] .ob-step.done .ob-n {
  color: #fff;
  border-color: transparent;
  background: #14a06a;
}
html[data-look] .ob-n svg {
  width: 14px;
  height: 14px;
}
html[data-look] .ob-step-t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.35;
}
html[data-look] .ob-step-t strong {
  font-size: 13.5px;
  color: var(--ink);
}
html[data-look] .ob-step:not(.mine) .ob-step-t strong {
  color: var(--ink-2);
}
html[data-look] .ob-who {
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-3);
}
html[data-look] .ob-step.mine .ob-who {
  color: var(--blue, #0a4fc4);
}
html[data-look] .ob-help {
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look] .ob-step .btn {
  margin-top: 2px;
}
html[data-look] .ob-withdraw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e3eaf5);
  font-size: 12px;
  color: var(--ink-3);
}
html[data-look][data-theme="dark"] .ob-n {
  background: #0c2756;
  border-color: #2a4a86;
}
html[data-look][data-theme="dark"] .ob-step:not(:last-child)::before,
html[data-look][data-theme="dark"] .ob-withdraw,
html[data-look][data-theme="dark"] .ob-out {
  border-color: #1c3a72;
  background-color: transparent;
}
html[data-look][data-theme="dark"] .ob-step:not(:last-child)::before {
  background: #1c3a72;
}
html[data-look][data-theme="dark"] .ob-person {
  background: #0c2756;
  border-color: #2a4a86;
  color: #c9d6ee;
}
html[data-look][data-theme="dark"] .ob-step.mine .ob-who,
html[data-look][data-theme="dark"] .ob-paste > summary {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .ob-out ul[data-opening-blocks] li {
  color: #ffc2c2;
}
@media (max-width: 1000px) {
  html[data-look] .ob-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
html[data-look] .ob-out dl.dl-flow .dl-pair {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 7px 10px;
  border: 0 !important;
  border-radius: 10px;
  background: var(--card, #fff);
}
html[data-look] .ob-out dl.dl-flow .dl-pair dt {
  width: auto;
  font-size: 11px;
  color: var(--ink-3);
}
html[data-look] .ob-out dl.dl-flow .dl-pair dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
html[data-look] .ob-out .callout {
  margin-top: 8px;
}
html[data-look][data-theme="dark"] .ob-out dl.dl-flow .dl-pair {
  background: rgba(140, 180, 240, 0.06);
}
html[data-look] .ob-step {
  padding: 7px 4px 8px;
}
html[data-look] .ob-step:not(:last-child)::before {
  top: 38px;
}
html[data-look][data-theme="dark"] .ob-person.on {
  color: #fff;
  border-color: #3fa9f5;
  background: #1f6fd6;
}

/* Employee record: where set-up still needs something (23 Nov 2026). */
html[data-look] .ef-layout .settings-nav button {
  position: relative;
}
html[data-look] .sn-dot {
  flex: none;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a524;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.2);
}
html[data-look] .sn-dot.waiting {
  background: #3fa9f5;
  box-shadow: 0 0 0 3px rgba(63, 169, 245, 0.2);
}
html[data-look] .ef-tabrow .tabs [role="tab"]:is(.step-todo, .step-waiting) {
  position: relative;
  padding-right: 22px !important;
}
html[data-look]
  .page
  .ef-tabrow
  .tabs
  [role="tab"]:is(.step-todo, .step-waiting)::after {
  content: "";
  display: block;
  position: absolute;
  right: 9px;
  left: auto;
  bottom: auto;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  transform: none;
  opacity: 1;
  background: #3fa9f5;
}
html[data-look] .page .ef-tabrow .tabs [role="tab"].step-todo::after {
  background: #f5a524;
}

/* Record section cards: one-line descriptions that open on click, empty
   states, and the same button size in every card head (23 Nov 2026). */
html[data-look] .employee-card .card-head .desc.ef-desc {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  padding-right: 18px;
  position: relative;
}
html[data-look] .employee-card .card-head .desc.ef-desc::after {
  content: "More";
  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 18px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
  background: linear-gradient(90deg, transparent, var(--card, #fff) 14px);
}
html[data-look] .employee-card .card-head .desc.ef-desc.open {
  display: block;
  -webkit-line-clamp: unset;
  padding-right: 0;
}
html[data-look] .employee-card .card-head .desc.ef-desc.open::after {
  content: " Less";
  position: static;
  padding: 0;
  background: none;
}
html[data-look] .employee-card .card-head .desc.ef-desc:focus-visible {
  outline: 2px solid #5fd4ff;
  outline-offset: 2px;
  border-radius: 4px;
}
html[data-look] .employee-card .card-head .actions .btn {
  height: 34px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 11px;
}
html[data-look] .employee-card p.ef-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px dashed var(--line-2, #d3deee);
  background: color-mix(in srgb, var(--blue, #0a4fc4) 3%, transparent);
  font-size: 13px;
  color: var(--ink-3);
}
html[data-look] .ef-empty-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
}
html[data-look] .ef-empty-ic svg {
  width: 15px;
  height: 15px;
}
html[data-look][data-theme="dark"]
  .employee-card
  .card-head
  .desc.ef-desc::after {
  color: #7cc4ff;
  background: linear-gradient(90deg, transparent, #0c2756 14px);
}
html[data-look][data-theme="dark"] .employee-card p.ef-empty {
  border-color: #2a4a86;
}
html[data-look] .employee-card p.ef-empty.ef-status {
  border-style: solid;
  border-color: color-mix(in srgb, #14a06a 30%, transparent);
  background: color-mix(in srgb, #14a06a 6%, transparent);
  color: var(--ink-2);
}
html[data-look] .employee-card p.ef-status .ef-empty-ic {
  color: #fff;
  background: #14a06a;
}
html[data-look] .employee-card .card-head {
  flex-wrap: nowrap;
}
html[data-look] .employee-card .card-head > div:first-child {
  flex: 1;
  min-width: 0;
}
html[data-look] .employee-card .card-head > .actions {
  flex: none;
}
html[data-look] .employee-card > .settings-layout .stack {
  align-content: start;
}

/* Employee record: the Actions menu in the header (23 Nov 2026). */
html[data-look] .profile-head .ph-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
html[data-look] .profile-head .ph-main > .ph-text {
  flex: 1;
  min-width: 0;
}
html[data-look] .profile-head:first-child .ra-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 18px;
  border-radius: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  border: 0;
  box-shadow: 0 10px 22px -10px rgba(63, 169, 245, 0.8);
}
html[data-look] .ra-chev {
  display: inline-grid;
  transform: rotate(90deg);
}
html[data-look] .ra-trigger[aria-expanded="true"] .ra-chev {
  transform: rotate(-90deg);
}
html[data-look] .ra-chev svg {
  width: 14px;
  height: 14px;
}
html[data-look] .row-menu .row-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .ra-ic {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: var(--blue, #0a4fc4);
  background: color-mix(in srgb, #3fa9f5 13%, transparent);
}
html[data-look] .ra-ic svg {
  width: 14px;
  height: 14px;
}
html[data-look] .ef-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
html[data-look] .ef-edit {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
  cursor: pointer;
}
html[data-look] .ef-edit:hover {
  text-decoration: underline;
}
html[data-look][data-theme="dark"] .ef-edit,
html[data-look][data-theme="dark"] .ra-ic {
  color: #7cc4ff;
}
html[data-look] .employee-card .card-head .desc.ef-desc.fits {
  cursor: default;
  padding-right: 0;
}
html[data-look] .employee-card .card-head .desc.ef-desc.fits::after {
  display: none;
}
html[data-look] .employee-card details.ef-how {
  margin: 4px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue, #0a4fc4) 4%, transparent);
}
html[data-look] .employee-card details.ef-how > summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
}
html[data-look] .employee-card details.ef-how[open] > summary {
  margin-bottom: 6px;
}
html[data-look] .employee-card details.ef-how > p {
  margin: 0;
}
html[data-look] .employee-card p.ef-empty.ef-warn {
  border-style: solid;
  border-color: color-mix(in srgb, #f5a524 40%, transparent);
  background: color-mix(in srgb, #f5a524 8%, transparent);
  color: #8a5200;
}
html[data-look] .employee-card p.ef-warn .ef-empty-ic {
  color: #fff;
  background: #f5a524;
  font-weight: 800;
}
html[data-look] .employee-card p.ef-empty.empty-note {
  padding-left: 16px;
}
html[data-look][data-theme="dark"] .employee-card details.ef-how > summary {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .employee-card p.ef-empty.ef-warn {
  color: #ffd28a;
}
html[data-look] .employee-card details.ef-how > p + p {
  margin-top: 6px;
}

/* Designation drawer (owner, 23 November 2026). */
html[data-look] .dz-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  background: var(--soft, #f5f8fd);
}
html[data-look] .dz-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
  flex: none;
}
html[data-look] .dz-who-t {
  display: grid;
  gap: 2px;
  min-width: 0;
}
html[data-look] .dz-who-t span {
  font-size: 12.5px;
  color: var(--muted, #5b6b82);
}
html[data-look] .dz-block {
  display: grid;
  gap: 8px;
}
html[data-look] .dz-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .dz-reasons {
  margin-top: -2px;
}
html[data-look] .dz-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line-2, #d3deee);
}
html[data-look] .dz-k {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #5b6b82);
}
html[data-look] .dz-v {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-look] .dz-v.old {
  color: var(--muted, #5b6b82);
}
html[data-look] .dz-v.new {
  color: var(--blue, #0a4fc4);
}
html[data-look] .dz-arrow {
  color: var(--muted, #5b6b82);
}
html[data-look] .dz-preview.same .dz-v.new {
  color: var(--muted, #5b6b82);
}
html[data-look][data-theme="dark"] .dz-who {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .dz-v.new {
  color: #7cc4ff;
}

/* Change pay, tax or KiwiSaver drawer (owner, 23 November 2026). */
html[data-look] .ce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}
html[data-look] .ce-form {
  display: grid;
  gap: 12px;
}
html[data-look] .ce-sec {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
}
html[data-look] .ce-sec .form-grid {
  gap: 10px 14px;
}
html[data-look] .ce-sec-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}
html[data-look] .ce-sec-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #3fa9f5, #0a4fc4);
}
html[data-look] .ce-sec-ic svg {
  width: 13px;
  height: 13px;
}
html[data-look] .ce-side {
  position: sticky;
  top: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--soft, #f5f8fd);
  border: 1px solid var(--line, #e3eaf4);
}
html[data-look] .ce-side-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
html[data-look] .ce-count {
  font-size: 11.5px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--card, #fff);
  color: var(--muted, #5b6b82);
}
html[data-look] .ce-list {
  display: grid;
  gap: 8px;
}
html[data-look] .ce-row {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--card, #fff);
  border-left: 3px solid #3fa9f5;
}
html[data-look] .ce-k {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #5b6b82);
}
html[data-look] .ce-vals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  font-size: 13px;
}
html[data-look] .ce-old {
  color: var(--muted, #5b6b82);
  text-decoration: line-through;
}
html[data-look] .ce-new {
  font-weight: 750;
  color: var(--blue, #0a4fc4);
}
html[data-look] .ce-arr {
  color: var(--muted, #5b6b82);
}
html[data-look] .ce-diff {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 8px;
}
html[data-look] .ce-diff.up {
  background: #e3f6ec;
  color: #11804a;
}
html[data-look] .ce-diff.down {
  background: #fdecec;
  color: #b42318;
}
html[data-look] .ce-none,
html[data-look] .ce-whenline {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted, #5b6b82);
}
html[data-look][data-theme="dark"] .ce-side {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .ce-sec {
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .ce-row,
html[data-look][data-theme="dark"] .ce-count {
  background: rgba(255, 255, 255, 0.06);
}
html[data-look][data-theme="dark"] .ce-new {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .ce-diff.up {
  background: rgba(17, 128, 74, 0.25);
  color: #6fe0a5;
}
html[data-look][data-theme="dark"] .ce-diff.down {
  background: rgba(180, 35, 24, 0.25);
  color: #ff9c94;
}
@media (max-width: 900px) {
  html[data-look] .ce {
    grid-template-columns: 1fr;
  }
  html[data-look] .ce-side {
    position: static;
  }
}
html[data-look] .ce-drawer.wide {
  width: min(980px, 96vw);
}
html[data-look] .ce-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .ce-sec.pay,
html[data-look] .ce-sec.ks,
html[data-look] .ce-form > .form-error,
html[data-look] .ce-form > [role="alert"] {
  grid-column: 1 / -1;
}
html[data-look] .ce-sec.when .form-grid,
html[data-look] .ce-sec.tax .form-grid {
  grid-template-columns: 1fr;
}
html[data-look] .ce-sec.pay .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .ce-sec.ks .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  html[data-look] .ce-form,
  html[data-look] .ce-sec.pay .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Work pattern drawer (owner, 23 November 2026). Scoped to .wpd so the
   Add employee form keeps its own layout. */
html[data-look] .wpd-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}
html[data-look] .wpd-when {
  display: grid;
  gap: 8px;
  max-width: 340px;
}
html[data-look] .wpd-mode {
  display: grid;
  gap: 8px;
  justify-items: start;
}
html[data-look] .wpd-mode .flabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html[data-look] .wpd .wp-editor > .flabel,
html[data-look] .wpd .wp-editor > .check,
html[data-look] .wpd .wp-editor > .hint,
html[data-look] .wpd .wp-editor .wp-quick,
html[data-look] .wpd .wp-editor .wp-summary {
  display: none;
}
html[data-look] .wpd .wp-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .wpd .wt-cell {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 10px 8px 12px;
  border-radius: 14px;
  border: 1px dashed var(--line-2, #d3deee);
  background: var(--card, #fff);
  transition:
    background 0.15s,
    border-color 0.15s;
}
html[data-look] .wpd .wt-cell.on {
  border: 1px solid #9fd3fb;
  background: #eef7ff;
}
html[data-look] .wpd .wt-cell > span {
  font-size: 0;
}
html[data-look] .wpd .wt-cell > span::before {
  content: attr(data-short);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .wpd .wt-cell .input {
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 750;
  height: 44px;
  padding: 0 4px;
}
html[data-look] .wpd-compare {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line-2, #d3deee);
}
html[data-look] .wpd-col {
  display: grid;
  gap: 3px;
  min-width: 0;
}
html[data-look] .wpd-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
html[data-look] .wpd-v {
  font-weight: 700;
  font-size: 13.5px;
}
html[data-look] .wpd-v.old {
  color: var(--muted, #5b6b82);
}
html[data-look] .wpd-v.new {
  color: var(--blue, #0a4fc4);
}
html[data-look] .wpd-arrow {
  color: var(--muted, #5b6b82);
  font-size: 18px;
}
html[data-look][data-theme="dark"] .wpd .wt-cell {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-look][data-theme="dark"] .wpd .wt-cell.on {
  background: rgba(63, 169, 245, 0.16);
  border-color: rgba(63, 169, 245, 0.5);
}
html[data-look][data-theme="dark"] .wpd-v.new {
  color: #7cc4ff;
}
@media (max-width: 700px) {
  html[data-look] .wpd-top {
    grid-template-columns: 1fr;
  }
  html[data-look] .wpd .wp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
html[data-look] .wpd-presets {
  align-items: center;
}
html[data-look] .wpd-presets .dz-label {
  margin-right: 4px;
}

/* Contact and bank drawer (owner, 23 November 2026). */
html[data-look] .ecd-drawer.wide {
  width: min(860px, 96vw);
}
html[data-look] .ecd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
html[data-look] .ecd-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--soft, #f2f6fc);
  flex-wrap: wrap;
}
html[data-look] .ecd-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2, #2c3a50);
  cursor: pointer;
}
html[data-look] .ecd-tab.on {
  background: var(--card, #fff);
  color: var(--blue, #0a4fc4);
  box-shadow: 0 1px 4px rgba(15, 40, 80, 0.12);
}
html[data-look] .ecd-tab .ce-sec-ic {
  width: 22px;
  height: 22px;
}
html[data-look] .ecd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: none;
}
html[data-look] .ecd-tab.has-change .ecd-dot {
  display: block;
  background: #3fa9f5;
}
html[data-look] .ecd-tab.has-missing .ecd-dot {
  display: block;
  background: #f59e0b;
}
html[data-look] .ecd-panel {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  align-content: start;
}
html[data-look] .ecd-panel[hidden] {
  display: none;
}
html[data-look] .ecd-onfile {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: #e3f6ec;
  color: #11804a;
}
html[data-look] .ecd-link {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
  cursor: pointer;
}
html[data-look] .ecd-missing {
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 650;
  background: #fff6e5;
  color: #92560a;
}
html[data-look] .ecd-reason {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}
html[data-look][data-theme="dark"] .ecd-tabs {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"] .ecd-tab {
  color: #c9d6ea;
}
html[data-look][data-theme="dark"] .ecd-tab.on {
  background: rgba(255, 255, 255, 0.1);
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .ecd-panel {
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .ecd-onfile {
  background: rgba(17, 128, 74, 0.25);
  color: #6fe0a5;
}
html[data-look][data-theme="dark"] .ecd-missing {
  background: rgba(245, 158, 11, 0.15);
  color: #fbc97a;
}

/* Overtime and allowances (owner, 23 November 2026). */
html[data-look] .px-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
html[data-look] .px-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  background: var(--card, #fff);
  border-left: 3px solid #3fa9f5;
}
html[data-look] .px-tile.empty {
  border-style: dashed;
  border-left: 3px dashed var(--line-2, #d3deee);
  background: var(--soft, #f7f9fd);
}
html[data-look] .px-tile-h {
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-look] .px-tile-t {
  flex: 1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .px-val {
  font-size: 17px;
  font-weight: 800;
}
html[data-look] .px-tile.empty .px-val {
  color: var(--muted, #5b6b82);
}
html[data-look] .px-sub {
  font-size: 12.5px;
  color: var(--muted, #5b6b82);
}
html[data-look] .px-acts {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
html[data-look] .px-warn {
  font-size: 12px;
  font-weight: 650;
  color: #92560a;
}
html[data-look] .px-list {
  display: grid;
  gap: 6px;
}
html[data-look] .px-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--soft, #f5f8fd);
}
html[data-look] .px-item-n {
  flex: 1;
  display: grid;
  min-width: 0;
  font-size: 12.5px;
}
html[data-look] .px-item-n span {
  color: var(--muted, #5b6b82);
}
html[data-look] .px-chips {
  margin-top: 6px;
  align-items: center;
}
html[data-look] .px-chips .cs-chip {
  height: 26px;
  padding: 0 10px;
}
html[data-look] .px-seg {
  margin-top: 4px;
  width: max-content;
}
html[data-look] .px-example {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line-2, #d3deee);
}
html[data-look] .px-ex-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
html[data-look] .px-big {
  font-size: 20px;
  color: var(--blue, #0a4fc4);
}
html[data-look] .px-lead {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2, #2c3a50);
  display: flex;
  align-items: center;
  gap: 6px;
}
html[data-look][data-theme="dark"] .px-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: #3fa9f5;
}
html[data-look][data-theme="dark"] .px-tile.empty {
  background: rgba(255, 255, 255, 0.02);
  border-left-color: rgba(255, 255, 255, 0.18);
}
html[data-look][data-theme="dark"] .px-item {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"] .px-big {
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .px-warn {
  color: #fbc97a;
}
html[data-look][data-theme="dark"] .px-lead {
  color: #c9d6ea;
}
@media (max-width: 1000px) {
  html[data-look] .px-tiles {
    grid-template-columns: 1fr;
  }
}
html[data-look] .employee-card .px-tiles {
  padding: 0;
}
html[data-look] .employee-card .px-tile,
html[data-look] .px-tile * {
  text-align: left;
}
html[data-look] .px-tile .px-acts {
  justify-content: flex-start;
}
html[data-look] .px-confirm {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  background: var(--soft, #f7f9fd);
}
html[data-look][data-theme="dark"] .px-confirm {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look] .px-tile.warn {
  border-left-color: #f59e0b;
}

/* One menu for everyone (owner, 23 November 2026). */
html[data-look] .settings-nav .sn-off {
  opacity: 0.5;
}
html[data-look] .settings-nav .sn-off[aria-current="true"] {
  opacity: 0.8;
}
html[data-look] .sn-plan {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 800;
  background: #efe8ff;
  color: #5b3cc4;
}
html[data-look] .sn-type {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft, #f2f6fc);
  font-size: 12px;
}
html[data-look] .sn-type span {
  color: var(--muted, #5b6b82);
  font-size: 11.5px;
}
html[data-look] .na-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed var(--line-2, #d3deee);
  background: var(--card, #fff);
}
html[data-look] .na-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--soft, #eef3fb);
  color: var(--muted, #5b6b82);
}
html[data-look] .na-t {
  flex: 1;
  display: grid;
  gap: 3px;
}
html[data-look] .na-t span {
  font-size: 13px;
  color: var(--muted, #5b6b82);
}
html[data-look] .na-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  background: var(--soft, #f2f6fc);
  color: var(--ink-2, #2c3a50);
}
html[data-look] .na-banner svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #3fa9f5;
}
html[data-look][data-theme="dark"] .sn-type,
html[data-look][data-theme="dark"] .na-banner,
html[data-look][data-theme="dark"] .na-ic {
  background: rgba(255, 255, 255, 0.05);
  color: #c9d6ea;
}
html[data-look][data-theme="dark"] .na-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-look][data-theme="dark"] .sn-plan {
  background: rgba(139, 108, 240, 0.25);
  color: #c8b8ff;
}
html[data-look] .ef-layout .settings-nav button.sn-off {
  opacity: 0.48;
}
html[data-look] .ef-layout .settings-nav button.sn-off[aria-current="true"] {
  opacity: 0.85;
}
html[data-look] .ef-layout .settings-nav button {
  min-height: 33px;
}
html[data-look] .ef-layout .settings-nav button > span:nth-child(2) {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Deductions (owner, 23 November 2026). */
html[data-look] .dd-list {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
}
html[data-look] .dd-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 110px 150px 96px 180px;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid var(--dd-c, #3fa9f5);
  background: var(--card, #fff);
}
html[data-look] .t-violet {
  --dd-c: #8b6cf0;
}
html[data-look] .t-green {
  --dd-c: #22a06b;
}
html[data-look] .t-blue {
  --dd-c: #3fa9f5;
}
html[data-look] .t-amber {
  --dd-c: #f59e0b;
}
html[data-look] .dd-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--dd-c, #3fa9f5);
  background: color-mix(in srgb, var(--dd-c, #3fa9f5) 13%, transparent);
  flex: none;
}
html[data-look] .dd-ic svg {
  width: 16px;
  height: 16px;
}
html[data-look] .dd-main,
html[data-look] .dd-amt {
  display: grid;
  gap: 1px;
  min-width: 0;
}
html[data-look] .dd-main span,
html[data-look] .dd-amt span,
html[data-look] .dd-dates {
  font-size: 12px;
  color: var(--muted, #5b6b82);
}
html[data-look] .dd-amt {
  text-align: right;
}
html[data-look] .dd-acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
html[data-look] .dd-empty {
  padding: 14px;
  display: grid;
  gap: 10px;
}
html[data-look] .dd-empty-t {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #5b6b82);
}
html[data-look] .dd-pick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
html[data-look] .dd-kind {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  border-top: 3px solid var(--dd-c, #3fa9f5);
  background: var(--card, #fff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
html[data-look] .dd-kind:hover:not(:disabled) {
  box-shadow: 0 4px 14px rgba(15, 40, 80, 0.1);
  transform: translateY(-1px);
}
html[data-look] .dd-kind strong {
  font-size: 13px;
}
html[data-look] .dd-kind span:last-child {
  font-size: 11.5px;
  color: var(--muted, #5b6b82);
}
html[data-look] .dd-kind.on {
  background: color-mix(in srgb, var(--dd-c, #3fa9f5) 9%, var(--card, #fff));
  box-shadow: 0 0 0 2px var(--dd-c, #3fa9f5);
}
html[data-look] .dd-d .dd-pick-d .dd-kind {
  padding: 10px;
}
html[data-look] .dd-rule {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
html[data-look] .dd-prev {
  justify-content: space-between;
}
html[data-look][data-theme="dark"] .dd-row,
html[data-look][data-theme="dark"] .dd-kind {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--dd-c);
}
html[data-look][data-theme="dark"] .dd-kind {
  border-top-color: var(--dd-c);
  border-left-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .dd-kind.on {
  background: color-mix(in srgb, var(--dd-c) 18%, transparent);
}
@media (max-width: 1100px) {
  html[data-look] .dd-pick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  html[data-look] .dd-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  html[data-look] .dd-dates,
  html[data-look] .dd-row .badge {
    grid-column: 2;
  }
}
html[data-look] .dd-row > .badge {
  justify-self: start;
}

/* Reimbursements (owner, 23 November 2026). */
html[data-look] .t-grey {
  --dd-c: #9aa7ba;
}
html[data-look] .rb-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}
html[data-look] .rb-tots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
html[data-look] .rb-tot {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--dd-c) 9%, transparent);
  border-left: 3px solid var(--dd-c);
}
html[data-look] .rb-tot span {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--muted, #5b6b82);
}
html[data-look] .rb-tot strong {
  font-size: 18px;
}
html[data-look] .rb-list {
  padding: 0;
}
html[data-look] .dd-row.rb-row {
  grid-template-columns: 30px minmax(0, 1fr) 110px 120px 180px;
}
html[data-look] .rb-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

/* Checked records (owner, 23 November 2026): share scheme, end of
   employment, trial period, KiwiSaver events, tax code and more. */
html[data-look] .rc-body {
  gap: 10px;
}
html[data-look] .rc-item {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid #f59e0b;
  background: var(--card, #fff);
  --dd-c: #f59e0b;
}
html[data-look] .rc-item.ok {
  border-left-color: #22a06b;
  --dd-c: #22a06b;
}
html[data-look] .rc-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
html[data-look] .rc-head {
  flex: 1;
  min-width: 0;
  font-size: 14px;
}
html[data-look] .rc-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}
html[data-look] .rc-fact {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft, #f5f8fd);
}
html[data-look] .rc-fact span {
  font-size: 11px;
  font-weight: 750;
  color: var(--muted, #5b6b82);
}
html[data-look] .rc-fact strong {
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
html[data-look] .rc-meta {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted, #5b6b82);
}
html[data-look] .rc-empty {
  padding: 4px 0;
}
html[data-look] .rc-taxing {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted, #5b6b82);
}
html[data-look][data-theme="dark"] .rc-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--dd-c);
}
html[data-look][data-theme="dark"] .rc-fact {
  background: rgba(255, 255, 255, 0.05);
}

/* ACC first week and parental leave (owner, 23 November 2026). */
html[data-look] .dd-row.ac-row {
  grid-template-columns: 30px minmax(0, 1fr) 140px 140px 150px;
}
html[data-look] .rc-item.blue {
  border-left-color: #3fa9f5;
  --dd-c: #3fa9f5;
}
html[data-look] .rc-head .pl-sub {
  font-weight: 500;
  font-size: 13px;
  color: var(--muted, #5b6b82);
}
html[data-look] .pl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .pl-step {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 8px 10px 8px 26px;
  border-radius: 10px;
  background: var(--soft, #f5f8fd);
}
html[data-look] .pl-dot {
  position: absolute;
  left: 10px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c3cddc;
}
html[data-look] .pl-step.done .pl-dot {
  background: #22a06b;
}
html[data-look] .pl-step.due .pl-dot {
  background: #3fa9f5;
}
html[data-look] .pl-step.late .pl-dot {
  background: #e5484d;
}
html[data-look] .pl-l,
html[data-look] .pl-s {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #5b6b82);
}
html[data-look] .pl-step strong {
  font-size: 13px;
}
html[data-look] .pl-step.late .pl-s {
  color: #c4292f;
}
html[data-look] .pl-step.done .pl-s {
  color: #11804a;
}
html[data-look] .pl-kit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}
html[data-look] .pl-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--soft, #e8eef7);
  overflow: hidden;
}
html[data-look] .pl-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #3fa9f5, #0a4fc4);
}
html[data-look] .pl-due {
  margin-left: auto;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue, #0a4fc4);
}
html[data-look] .pl-drawer.wide {
  width: min(820px, 96vw);
}
html[data-look] .pl-drawer .ce-sec .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look][data-theme="dark"] .pl-step {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"] .pl-bar {
  background: rgba(255, 255, 255, 0.08);
}
html[data-look][data-theme="dark"] .pl-due {
  color: #7cc4ff;
}
@media (max-width: 900px) {
  html[data-look] .pl-steps,
  html[data-look] .pl-drawer .ce-sec .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Checklists (owner, 23 November 2026). */
html[data-look] .ck-body {
  gap: 12px;
}
html[data-look] .ck-prog {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
html[data-look] .ck-n {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted, #5b6b82);
}
html[data-look] .ck-list {
  display: grid;
  gap: 6px;
}
html[data-look] .ck-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto 170px 150px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid #c3cddc;
  background: var(--card, #fff);
}
html[data-look] .ck-row.s-done {
  border-left-color: #22a06b;
}
html[data-look] .ck-row.s-not-applicable {
  border-left-color: #9aa7ba;
}
html[data-look] .ck-row.late {
  border-left-color: #e5484d;
}
html[data-look] .ck-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #c3cddc;
  color: #fff;
  font-weight: 800;
}
html[data-look] .ck-row.s-done .ck-mark {
  background: #22a06b;
  border-color: #22a06b;
}
html[data-look] .ck-mark svg {
  width: 13px;
  height: 13px;
}
html[data-look] .ck-row.s-not-applicable .ck-mark {
  border-color: #9aa7ba;
  color: #9aa7ba;
}
html[data-look] .ck-row.s-done .ck-label strong,
html[data-look] .ck-row.s-not-applicable .ck-label strong {
  color: var(--muted, #5b6b82);
}
html[data-look] .ck-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  font-size: 13.5px;
}
html[data-look] .ck-opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #5b6b82);
}
html[data-look] .ck-seg button {
  padding: 0 10px;
  font-size: 12px;
}
html[data-look] .ck-row .input {
  height: 34px;
  font-size: 12.5px;
}
html[data-look] .ck-row .nzd .input {
  height: 34px;
}
html[data-look] .ck-pick {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .dd-kind:disabled {
  opacity: 0.55;
  cursor: default;
}
html[data-look][data-theme="dark"] .ck-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .ck-row.s-done {
  border-left-color: #22a06b;
}
@media (max-width: 1100px) {
  html[data-look] .ck-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }
  html[data-look] .ck-row .ck-owner,
  html[data-look] .ck-row .nzd {
    grid-column: 2 / -1;
  }
}
html[data-look] .ck-pick .dd-kind {
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 8px 12px;
  border-top-width: 1px;
  border-left: 3px solid var(--dd-c);
}
html[data-look] .ck-pick .dd-kind .dd-ic {
  width: 26px;
  height: 26px;
}
html[data-look] .ck-pick .dd-kind span:last-child {
  justify-self: end;
}
html[data-look] .ck-start {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

/* End of employment and final pay (owner, 23 November 2026). */
html[data-look] .px-seg {
  flex-wrap: wrap;
}
html[data-look] .fp-box {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  background: var(--card, #fff);
  --dd-c: #3fa9f5;
}
html[data-look] .fp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  counter-reset: none;
}
html[data-look] .fp-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--soft, #f5f8fd);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted, #5b6b82);
}
html[data-look] .fp-n {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #c3cddc;
}
html[data-look] .fp-n svg {
  width: 12px;
  height: 12px;
}
html[data-look] .fp-steps li.done {
  color: #11804a;
}
html[data-look] .fp-steps li.done .fp-n {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}
html[data-look] .fp-steps li.now {
  color: var(--blue, #0a4fc4);
  box-shadow: inset 0 0 0 1.5px #3fa9f5;
}
html[data-look] .fp-steps li.now .fp-n {
  border-color: #3fa9f5;
  color: var(--blue, #0a4fc4);
}
html[data-look] .fp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
html[data-look] .fp-head > :nth-child(3) {
  margin-left: auto;
}
html[data-look] .fp-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}
html[data-look] .fp-lines {
  display: grid;
  gap: 6px;
  align-content: start;
}
html[data-look] .fp-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line, #e3eaf4);
}
html[data-look] .fp-tax {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}
html[data-look] .fp-wait {
  font-size: 13px;
}
html[data-look][data-theme="dark"] .fp-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .fp-steps li {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"] .fp-line {
  border-color: rgba(255, 255, 255, 0.1);
}
@media (max-width: 1000px) {
  html[data-look] .fp-steps,
  html[data-look] .fp-cols {
    grid-template-columns: 1fr;
  }
}
html[data-look] .px-seg {
  width: auto;
  max-width: 100%;
  height: auto;
}
html[data-look] .fp-d {
  grid-template-columns: minmax(0, 1fr) 290px;
}
html[data-look] .fp-form .ce-sec .form-grid {
  gap: 10px 14px;
}
html[data-look] .fp-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .fp-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
html[data-look] .fp-day {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 10px;
  border: 1px dashed var(--line-2, #d3deee);
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  color: var(--muted, #5b6b82);
}
html[data-look] .fp-day input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
html[data-look] .fp-day.on {
  border: 1px solid #9fd3fb;
  background: #eef7ff;
  color: var(--blue, #0a4fc4);
}
html[data-look] .fp-side .px-big {
  font-size: 24px;
}
html[data-look] .fp-side-lines {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid var(--line, #e3eaf4);
  border-bottom: 1px solid var(--line, #e3eaf4);
}
html[data-look] .fp-side .px-ex-row {
  font-size: 12.5px;
}
html[data-look] .fp-sum strong {
  font-size: 14px;
}
html[data-look][data-theme="dark"] .fp-day.on {
  background: rgba(63, 169, 245, 0.16);
  border-color: rgba(63, 169, 245, 0.5);
}
html[data-look] .fp-side .px-ex-row {
  flex-wrap: nowrap;
  align-items: flex-start;
}
html[data-look] .fp-side .px-ex-row span {
  flex: 1;
  min-width: 0;
}

/* Self-service login (owner, 23 November 2026). */
html[data-look] .lg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
html[data-look] .lg-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
html[data-look] .lg-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
html[data-look] .lg-steps li {
  align-items: flex-start;
}
html[data-look] .lg-st {
  display: grid;
  gap: 1px;
}
html[data-look] .lg-st span {
  font-weight: 500;
  font-size: 11.5px;
}
html[data-look] .lg-steps li.bad {
  color: #c4292f;
  box-shadow: inset 0 0 0 1.5px #e5484d;
}
html[data-look] .lg-steps li.bad .fp-n {
  border-color: #e5484d;
  color: #c4292f;
}
html[data-look] .lg-can {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 8px;
}
html[data-look] .lg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  background: var(--soft, #f2f6fc);
  font-size: 12.5px;
  font-weight: 650;
}
html[data-look] .lg-chip svg {
  width: 14px;
  height: 14px;
  color: #3fa9f5;
}
html[data-look] .lg-pick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look][data-theme="dark"] .lg-chip {
  background: rgba(255, 255, 255, 0.06);
}
html[data-look] .dd-row.ar-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}
html[data-look] .ar-pick {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Leave balances (owner, 23 November 2026). */
html[data-look] .lb-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
html[data-look] .lb-tile {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  border-top: 3px solid var(--dd-c);
  background: var(--card, #fff);
}
html[data-look] .lb-tile.off {
  opacity: 0.6;
}
html[data-look] .lb-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
html[data-look] .lb-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .lb-v {
  font-size: 22px;
  font-weight: 800;
}
html[data-look] .lb-bar {
  margin: 4px 0;
}
html[data-look] .lb-bar span {
  background: var(--dd-c);
}
html[data-look] .lb-sub {
  font-size: 12.5px;
  font-weight: 650;
}
html[data-look] .lb-next {
  font-size: 12px;
  color: var(--muted, #5b6b82);
}
html[data-look][data-theme="dark"] .lb-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: var(--dd-c);
}
@media (max-width: 1000px) {
  html[data-look] .lb-tiles {
    grid-template-columns: 1fr;
  }
}
html[data-look] .lv-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
@media (max-width: 1000px) {
  html[data-look] .lv-pair {
    grid-template-columns: 1fr;
  }
}
html[data-look] .sp-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .sp-grid .dd-row {
  padding: 8px 12px;
}
html[data-look] .ls-d {
  grid-template-columns: minmax(0, 1fr) 250px;
}
html[data-look] .ls-taken {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .ls-left {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card, #fff);
  border-left: 3px solid var(--dd-c);
}
html[data-look] .ls-left > strong {
  font-size: 20px;
}
html[data-look] .ls-left p {
  margin: 0;
  font-size: 11.5px;
}
html[data-look][data-theme="dark"] .ls-left {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look] .hs-d {
  grid-template-columns: minmax(0, 1fr) 270px;
}
html[data-look] .hs-pick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .hs-sum {
  display: grid;
  gap: 6px;
}

/* 52-week history (owner, 23 November 2026). */
html[data-look] .adp-d .adp-week {
  grid-template-columns: 6.5rem repeat(7, 2.4rem) minmax(6rem, 1fr) 2rem;
  gap: 6px;
  padding: 3px 0;
}
html[data-look] .adp-d .adp-week-head {
  position: sticky;
  top: -1px;
  z-index: 2;
  padding: 6px 0;
  background: var(--card, #fff);
  border-bottom: 1px solid var(--line, #e3eaf4);
  text-align: center;
}
html[data-look] .adp-d .adp-week input[type="checkbox"] {
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  border-radius: 8px;
  border: 1px dashed var(--line-2, #d3deee);
  background: var(--card, #fff);
  cursor: pointer;
}
html[data-look] .adp-d .adp-week input[type="checkbox"]:checked {
  border: 1px solid #3fa9f5;
  background: #3fa9f5 url("ui-tick.svg") center / 14px no-repeat;
}
html[data-look] .adp-d .adp-week input[type="checkbox"]:disabled {
  opacity: 0.3;
  cursor: default;
}
html[data-look] .adp-d .adp-week .input {
  height: 32px;
}
html[data-look] .adp-copy {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line, #e3eaf4);
  background: var(--card, #fff);
  color: var(--blue, #0a4fc4);
  font-weight: 800;
  cursor: pointer;
}
html[data-look] .adp-copy:disabled {
  opacity: 0.3;
  cursor: default;
}
html[data-look] .adp-tot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .adp-tot-c {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--soft, #f2f6fc);
}
html[data-look] .adp-tot-c span {
  font-size: 11px;
  font-weight: 750;
  color: var(--muted, #5b6b82);
}
html[data-look] .adp-tot-c.big {
  background: #eef7ff;
  box-shadow: inset 0 0 0 1px #9fd3fb;
}
html[data-look] .adp-tot-c.big strong {
  color: var(--blue, #0a4fc4);
}
html[data-look][data-theme="dark"] .adp-d .adp-week-head {
  background: #0f1d36;
}
html[data-look][data-theme="dark"] .adp-tot-c {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look][data-theme="dark"] .adp-tot-c.big {
  background: rgba(63, 169, 245, 0.16);
}
html[data-look] .drawer .adp-d .adp-week input.input {
  height: 32px !important;
  min-height: 32px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
html[data-look] .form-grid > .hs-pick,
html[data-look] .form-grid > .px-confirm {
  grid-column: 1 / -1;
}
html[data-look] .rc-fact {
  align-content: start;
}
html[data-look] .rc-facts {
  align-items: start;
}

/* KiwiSaver (owner, 23 November 2026). */
html[data-look] .ks-elig {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
html[data-look] .ks-elig span:last-child {
  color: var(--muted, #5b6b82);
}
html[data-look] .ks-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
}
html[data-look] .ks-hist {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--soft, #f5f8fd);
  font-size: 12.5px;
}
html[data-look] .ks-hist span {
  flex: 1;
  color: var(--muted, #5b6b82);
}
html[data-look][data-theme="dark"] .ks-hist {
  background: rgba(255, 255, 255, 0.05);
}
html[data-look] .ke-pick {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
html[data-look] .ke-pick .dd-kind {
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  padding: 8px 10px;
  border-top-width: 1px;
}
html[data-look] .ke-pick .dd-kind .dd-ic {
  grid-row: span 2;
  width: 28px;
  height: 28px;
}
html[data-look] .tx-decl {
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
}
html[data-look] .tx-now {
  grid-template-columns: 30px minmax(0, 1fr);
}
html[data-look] .ks-pend {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}
html[data-look] .ks-arr {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-2, #2c3a50);
}
html[data-look] .ks-arr a {
  color: var(--blue, #0a4fc4);
  font-weight: 650;
}
html[data-look] .ks-esct {
  display: grid;
  gap: 4px;
}
html[data-look] .ks-esct:not(:empty) {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line-2, #d3deee);
}
html[data-look] .dd-row.ks-pend {
  grid-template-columns: 30px minmax(0, 1fr);
}
html[data-look] .ks-pend > .dd-acts {
  grid-column: 2;
  justify-content: flex-start;
  align-items: center;
}

/* History tab (owner, 23 November 2026). */
html[data-look] .hi-chips {
  flex-wrap: wrap;
  justify-content: flex-end;
}
html[data-look] .hi-chips .cs-chip {
  height: 28px;
}
html[data-look] .cs-chip.on {
  border-color: #3fa9f5;
  background: #eef7ff;
  color: var(--blue, #0a4fc4);
}
html[data-look] .hi-list {
  display: grid;
  gap: 14px;
  padding: 12px 14px 16px;
}
html[data-look] .hi-month {
  display: grid;
  gap: 6px;
}
html[data-look] .hi-m {
  margin: 0 0 2px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .hi-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid var(--dd-c);
  background: var(--card, #fff);
}
html[data-look] .t-red {
  --dd-c: #e5484d;
}
html[data-look] .hi-when {
  display: grid;
  justify-items: end;
  font-size: 12px;
  color: var(--muted, #5b6b82);
}
html[data-look] .hi-by {
  font-weight: 650;
  color: var(--ink-2, #2c3a50);
}
html[data-look][data-theme="dark"] .hi-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--dd-c);
}
html[data-look][data-theme="dark"] .cs-chip.on {
  background: rgba(63, 169, 245, 0.18);
  color: #7cc4ff;
}
html[data-look][data-theme="dark"] .hi-by {
  color: #c9d6ea;
}
html[data-look] .cb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html[data-look] .cb-sec .rc-facts {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
html[data-look] .rc-fact.missing {
  box-shadow: inset 0 0 0 1px #f5c56b;
  background: #fff8ea;
}
html[data-look] .rc-fact.missing strong {
  color: #92560a;
}
html[data-look][data-theme="dark"] .rc-fact.missing {
  background: rgba(245, 158, 11, 0.12);
}
@media (max-width: 1000px) {
  html[data-look] .cb-grid {
    grid-template-columns: 1fr;
  }
}

/* Who checks pay: two choices, and what's ready in solo mode
   (solo owners, 23 November 2026). */
html[data-look] .dd-pick.solo-pick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
html[data-look] .dd-kind:disabled {
  cursor: default;
  opacity: 0.85;
}
html[data-look] .solo-confirm {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed var(--line, #d5deeb);
}
html[data-look] .solo-confirm[hidden] {
  display: none;
}
html[data-look] .solo-steps {
  display: grid;
  gap: 8px;
}
html[data-look] .solo-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid #c3cddc;
  background: var(--card, #fff);
}
html[data-look] .solo-step.done {
  border-left-color: #22a06b;
}
html[data-look] .solo-step-t {
  display: grid;
  gap: 2px;
  min-width: 0;
}
html[data-look] .solo-step-t strong {
  font-size: 13px;
}
html[data-look] .solo-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid #c3cddc;
  color: var(--muted, #5b6b82);
}
html[data-look] .solo-step.done .solo-mark {
  background: #22a06b;
  border-color: #22a06b;
  color: #fff;
}
html[data-look] .solo-mark svg {
  width: 13px;
  height: 13px;
}
html[data-look][data-theme="dark"] .solo-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-look][data-theme="dark"] .solo-step.done {
  border-left-color: #22a06b;
}
@media (max-width: 700px) {
  html[data-look] .dd-pick.solo-pick {
    grid-template-columns: 1fr;
  }
  html[data-look] .solo-step {
    grid-template-columns: 26px minmax(0, 1fr);
  }
  html[data-look] .solo-step > :last-child:not(.solo-step-t) {
    grid-column: 2;
    justify-self: start;
  }
}

/* The finalise summary takes focus so reading starts at the top; it isn't
   a control, so no focus box is drawn round it (23 November 2026). */
#fz-start:focus,
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
html[data-look] .solo-step.todo {
  border-left-color: #d97706;
}
html[data-look] .solo-step.todo .solo-mark {
  border-color: #d97706;
  color: #b45309;
}
html[data-look] .solo-step.opt {
  border-left-color: #3fa9f5;
}
html[data-look] .solo-step.opt .solo-mark {
  border-color: #3fa9f5;
  color: #1d6fb8;
}

/* Needs you on the stage keeps to its own height: a long list scrolls
   inside it instead of running under the headline cards (23 Nov 2026). */
html[data-look] .orb-needs.orb-glass {
  overflow: hidden;
}
html[data-look] .orb-needs.orb-glass > .orb-glass-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

/* Drop-down lists: the padding sat inside a short box and cut the bottom
   of the text (g, y, p). The text is centred by the box instead
   (23 November 2026). */
html[data-look] select.input,
html[data-look] select.dg-select,
html[data-look] .field select {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.35;
  min-height: 30px;
}

/* Pay run results: a long "Left out" reason made the pinned last column
   hundreds of pixels wide, covering take-home and the columns after it.
   It wraps to two lines in a narrow column instead (23 November 2026). */
html[data-look] .dg-table td:last-child .left-out-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  max-width: 240px;
  min-width: 160px;
  line-height: 1.35;
}

/* Table toolbars on a phone (23 November 2026): the search, the filter
   chips and the buttons were forced onto one line, so the chips were
   squeezed to nothing and drawn over each other and the buttons ran off the
   screen. They take a line each; the chips scroll sideways. */
@media (max-width: 700px) {
  html[data-look] .dg-tools {
    flex-wrap: wrap !important;
    row-gap: 8px;
  }
  html[data-look] .dg-search-wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  html[data-look] .dg-chips {
    flex: 1 1 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  html[data-look] .dg-chips::-webkit-scrollbar {
    display: none;
  }
  html[data-look] .dg-chips > * {
    flex: 0 0 auto;
  }
  html[data-look] .dg-actions {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Employee self-service tables on a phone (23 November 2026): each row is
   a card with the label beside each value, so take-home and the other
   figures show without scrolling sideways under the pinned buttons. */
@media (max-width: 700px) {
  html[data-look] .dg-cards-sm {
    overflow: visible !important;
    max-height: none !important;
  }
  html[data-look] .dg-cards-sm .dg-table,
  html[data-look] .dg-cards-sm .dg-table tbody,
  html[data-look] .dg-cards-sm .dg-table tfoot {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }
  html[data-look] .dg-cards-sm .dg-table thead {
    display: none;
  }
  html[data-look] .dg-cards-sm .dg-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid var(--line, #e3eaf4);
    border-radius: 14px;
    background: var(--card, #fff);
  }
  html[data-look] .dg-cards-sm .dg-table td {
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 3px 0 !important;
    border: 0 !important;
    position: static !important;
    width: auto !important;
    white-space: normal !important;
    text-align: right;
    background: transparent !important;
    box-shadow: none !important;
  }
  html[data-look] .dg-cards-sm .dg-table td[data-label]::before {
    content: attr(data-label);
    color: var(--muted, #5b6b82);
    font-size: 12px;
    text-align: left;
  }
  html[data-look] .dg-cards-sm .dg-table td:first-child {
    display: block !important;
    text-align: left;
    font-weight: 600;
    padding-bottom: 6px !important;
  }
  html[data-look] .dg-cards-sm .dg-table td:first-child::before,
  html[data-look] .dg-cards-sm .dg-table td:last-child::before {
    content: none;
  }
  html[data-look] .dg-cards-sm .dg-table td:last-child {
    justify-content: flex-start;
    padding-top: 6px !important;
  }
  html[data-look] .dg-cards-sm .dg-table td:empty,
  html[data-look] .dg-cards-sm .dg-table td.dg-x {
    display: none !important;
  }
  html[data-look] .dg-cards-sm .dg-table tfoot tr {
    background: color-mix(in srgb, var(--card, #fff) 85%, #3fa9f5);
  }
  html[data-look][data-theme="dark"] .dg-cards-sm .dg-table tr {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 700px) {
  html[data-look] .dg-frame.dg-cards-sm {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tbody tr > td,
  html[data-look] .dg-frame.dg-cards-sm .dg-table tfoot tr > td {
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-shadow: none !important;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr > td:first-child::before {
    content: none !important;
    display: none !important;
  }
  /* The row's colour edge moves to the card's left border. */
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr[class*="dg-edge-"] {
    border-left-width: 3px;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr.dg-edge-green {
    border-left-color: #14a06a;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr.dg-edge-amber {
    border-left-color: #d97706;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr.dg-edge-red {
    border-left-color: #e5484d;
  }
  html[data-look] .dg-frame.dg-cards-sm .dg-table tr.dg-edge-blue {
    border-left-color: #3fa9f5;
  }
}
@media (max-width: 700px) {
  html[data-look] .dg-tools .dg-actions {
    flex-wrap: wrap !important;
    row-gap: 6px;
  }
  html[data-look] .dg-tools .dg-actions > .dg-count {
    flex: 1 1 100%;
    white-space: nowrap;
  }
}

/* Ready to pay (23 November 2026): "Waiting" for a check, and the moving
   steps as three tiles with their buttons. */
html[data-look] .rtp-wait {
  text-decoration: none;
  white-space: nowrap;
}
html[data-look] .mv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
html[data-look] .mv-step {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  border-top: 3px solid #3fa9f5;
  background: var(--card, #fff);
}
html[data-look] .mv-step p {
  margin: 0;
}
html[data-look] .mv-n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1d6fb8;
}
html[data-look] .mv-act {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
html[data-look][data-theme="dark"] .mv-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: #3fa9f5;
}
@media (max-width: 800px) {
  html[data-look] .mv-steps {
    grid-template-columns: 1fr;
  }
}

/* Business tools (23 November 2026): smaller empty states, and people as
   chips on Documents. */
html[data-look] .bt-page .empty {
  padding: 18px 12px;
}
html[data-look] .bt-page .empty .e-visual {
  transform: scale(0.72);
  margin: -14px 0 -10px;
}
html[data-look] .doc-people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
html[data-look] .cs-chip.doc-person {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
}
html[data-look] .cs-chip.doc-person .avatar,
html[data-look] .cs-chip.doc-person [class*="avatar"] {
  width: 24px;
  height: 24px;
  font-size: 10px;
}
html[data-look] .cs-chip.doc-person.on {
  box-shadow: 0 0 0 2px #3fa9f5;
}
html[data-look] .acc-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html[data-look] .acc-tile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e3eaf4);
  border-left: 3px solid #22a06b;
  background: var(--card, #fff);
}
html[data-look] .acc-tile.off {
  border-left-color: #c3cddc;
}
html[data-look] .acc-t {
  display: grid;
  gap: 2px;
  min-width: 0;
}
html[data-look] .acc-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: #13b5ea;
}
html[data-look] .acc-mark.myob {
  background: #6b2bd9;
}
html[data-look][data-theme="dark"] .acc-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
  html[data-look] .acc-tiles {
    grid-template-columns: 1fr;
  }
}

/* Help (23 November 2026): topics down the side, one article beside. */
html[data-look] .hp-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
html[data-look] .hp-side {
  padding: 12px;
  display: grid;
  gap: 10px;
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}
html[data-look] .hp-list {
  display: grid;
  gap: 10px;
}
html[data-look] .hp-group {
  display: grid;
  gap: 2px;
}
html[data-look] .hp-group-h {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5b6b82);
}
html[data-look] .hp-item {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  border-left: 3px solid transparent;
}
html[data-look] .hp-item:hover {
  background: color-mix(in srgb, #3fa9f5 8%, transparent);
}
html[data-look] .hp-item.on {
  background: color-mix(in srgb, #3fa9f5 14%, transparent);
  border-left-color: #1d6fb8;
  font-weight: 600;
}
html[data-look] .hp-item:focus-visible {
  outline: 2px solid #3fa9f5;
}
@media (max-width: 900px) {
  html[data-look] .hp-layout {
    grid-template-columns: 1fr;
  }
  html[data-look] .hp-side {
    position: static;
    max-height: none;
  }
}

/* Help: the Apps Pay Help Centre card (CR-2026-121). */
.hc-search {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.hc-search .field {
  flex: 1 1 280px;
  margin: 0;
}
.hc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 4px 22px;
}
.hc-list li {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--line, #e2e7f0);
}
.hc-title {
  font-weight: 600;
}
.hc-title::after,
.hp-full a::after,
.hc-links a::after {
  content: " \2197";
  font-weight: 400;
}
.hc-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.hp-full {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line, #e2e7f0);
  font-size: 13.5px;
}

/* An empty table's message wraps inside the table (23 November 2026: the
   Invoices message ran off the right edge). */
html[data-look] .dg-table td .empty,
html[data-look] .dg-table td .empty * {
  white-space: normal !important;
}
html[data-look] .dg-table td .empty p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Sign in with email (23 November 2026): the company-code way sits under
   the button, quietly. */
html .signin.orbit .signin-other-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
html .signin.orbit .signin-other-row .link-btn {
  font-size: 13px;
}

/* Support view bar (owner, 24 November 2026): Apps Technologies looking at
   a company that allowed it. Always on top, in a colour no screen uses. */
.support-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #5b21b6;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}
.support-bar > svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.support-bar-text {
  flex: 1;
  min-width: 0;
}
.support-bar .btn {
  flex: none;
  background: #fff;
  color: #4c1d95;
  border-color: #fff;
}
.support-bar .btn:hover {
  background: #ede9fe;
}
.support-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.support-controls .field {
  margin: 0;
  min-width: 160px;
}
.support-empty {
  padding: 14px 18px;
  margin: 0;
}
.support-platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line, rgba(127, 127, 127, 0.25));
  border-radius: var(--radius, 10px);
}
.support-platform p {
  margin: 2px 0 0;
}

/* Long text in table cells (25 November 2026): two lines, then "…"; the
   whole text is in the title. Keeps rows and columns in line. */
.dg-table td .dg-long,
.dg-table td.dg-long {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-width: 340px;
  white-space: normal;
}

/* Screen review (26 November 2026): room under an opened row's details when
   it is the last row, so its last line clears the sticky Total row; and a
   gross change of 10% or more is shaded amber, as the note above says. */
html[data-look] .dg tbody > tr.dg-detail-row:last-child > td {
  padding-bottom: 56px;
}
html[data-look] .dg td[data-label="Gross"]:has(> .dg-cmp.dg-big) {
  background: #fff4e0;
  box-shadow: inset 3px 0 0 #e08a00;
}
html[data-look][data-theme="dark"]
  .dg
  td[data-label="Gross"]:has(> .dg-cmp.dg-big) {
  background: rgba(224, 138, 0, 0.18);
}
