@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";
/* [project]/apps/web/src/app/globals.css [app-client] (css) */
:root {
  --ground: #f3f5f9;
  --surface: #fff;
  --raised: #f7f8fb;
  --active: #f2f4f8;
  --border: #e6e9f0;
  --rule: #e6e9f0;
  --control: #d2d8e3;
  --text: #0b1324;
  --text-2: #394357;
  --muted: #5c677c;
  --faint: #868fa3;
  --side: #0d1322;
  --side-2: #ffffff0f;
  --side-3: #ffffff17;
  --side-ink: #b9c2d3;
  --side-faint: #6b7590;
  --primary: #245bf0;
  --primary-hover: #1745cf;
  --primary-ink: #fff;
  --primary-line: #c9d7ff;
  --accent: #245bf0;
  --accent-ink: #1745cf;
  --accent-tint: #eef3ff;
  --cyan: #14b8e6;
  --brand: #fff;
  --positive: #12a150;
  --negative: #e5294a;
  --warning: #8a5300;
  --pill-positive-bg: #e9f7ef;
  --pill-positive-ink: #0b7a3b;
  --pill-negative-bg: #fdeef1;
  --pill-negative-ink: #bb1636;
  --pill-warning-bg: #fff6e3;
  --pill-warning-ink: #8a5300;
  --notice-border: #f6d693;
  --pill-neutral-bg: #f2f4f8;
  --pill-neutral-ink: #394357;
  --fill-success: #0f8f45;
  --fill-danger: #d61f42;
  --fill-warning: #f59e0b;
  --on-warning: #2a1a00;
  --radius-card: 12px;
  --radius-control: 8px;
  --radius-badge: 6px;
  --radius-sheet: 16px;
  --frame: 12px;
  --elev-1: 0 1px 2px #0b13240d, 0 1px 1px #0b132408;
  --elev-2: 0 1px 2px #0b13240f, 0 10px 28px -14px #0b132433;
  --elev-hover: 0 1px 2px #0b13240f, 0 14px 30px -14px #245bf052;
  --shadow-primary: 0 1px 2px #1745cf59, 0 4px 12px -4px #245bf073;
  --shadow: var(--elev-1);
  --canvas: radial-gradient(1100px 520px at 100% -12%, #245bf01a, transparent 60%), radial-gradient(800px 480px at -8% -20%, #7c5cff12, transparent 55%), var(--ground);
  --dot: #0b132412;
  --sidebar-width: 288px;
  --gap: 16px;
  --pad: 24px;
  --card-pad: 16px;
  --control-height: 32px;
  --row-height: 40px;
  --nav-row: 40px;
  --fs-title: 24px;
  --fs-section: 14px;
  --fs-body: 13px;
  --fs-small: 11.5px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --good: var(--positive);
}

*, :before, :after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ground);
}

body {
  background: var(--canvas) fixed;
  color: var(--text);
  font: var(--fs-body)/1.45 var(--font);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

body:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 22px 22px;
  position: fixed;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000 0, #0000 420px);
  mask-image: linear-gradient(#000 0, #0000 420px);
}

h1, h2, h3, h4 {
  letter-spacing: -.02em;
}

::selection {
  background: var(--accent-tint);
  color: var(--text);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 13px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

table, .num {
  font-variant-numeric: tabular-nums;
}

.muted, .sub, .ink2 {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

.sr {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.app {
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100svh;
  padding: var(--frame) 24px var(--frame) var(--frame);
  gap: 16px;
  display: grid;
}

.side {
  top: var(--frame);
  height: calc(100svh - 2 * var(--frame));
  color: var(--side-ink);
  border-radius: var(--radius-sheet);
  scrollbar-width: none;
  background: linear-gradient(#111a30 0%, #0b1120 100%);
  border: 1px solid #ffffff0f;
  flex-direction: column;
  padding: 0;
  display: flex;
  position: sticky;
  overflow: hidden auto;
  box-shadow: inset 0 1px #ffffff0d, 0 18px 40px -18px #050a1999;
}

.brand {
  color: #fff;
  border-bottom: 1px solid #ffffff12;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  padding: 22px 20px 20px;
  display: flex;
}

.brand > svg {
  color: #fff;
  background: linear-gradient(160deg, var(--primary) 0%, var(--cyan) 100%);
  width: 38px;
  height: 38px;
  box-shadow: var(--shadow-primary);
  border-radius: 10px;
  flex: none;
  padding: 5px;
}

.brand .close-btn {
  color: var(--side-ink);
}

.brand .close-btn:hover {
  background: var(--side-2);
  color: #fff;
}

.brand-name {
  letter-spacing: .09em;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.brand-sub {
  letter-spacing: .28em;
  color: #7f8aa3;
  margin-top: 5px;
  font-size: 9.5px;
  line-height: 1;
}

.login-side .brand {
  color: var(--text);
  border-bottom: 0;
}

.login-side .brand-name {
  color: var(--text);
}

.login-side .brand-sub {
  color: var(--muted);
}

.nav {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  padding: 4px 16px 16px;
  display: flex;
}

.nav-h {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--side-faint);
  margin: 0;
  padding: 20px 12px 8px;
  font-size: 10.5px;
  font-weight: 600;
}

.nav a {
  min-height: var(--nav-row);
  border-radius: var(--radius-control);
  color: var(--side-ink);
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s, color .15s;
  display: flex;
  position: relative;
}

.nav a svg {
  color: #7a859e;
}

.nav a:hover {
  background: var(--side-2);
  color: #fff;
  text-decoration: none;
}

.nav a:hover svg {
  color: #c9d3e6;
}

.nav a.on {
  background: var(--side-3);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}

.nav a.on:before {
  content: "";
  background: linear-gradient(180deg, #7fa2ff, var(--primary));
  border-radius: 0 3px 3px 0;
  width: 3px;
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -16px;
}

.nav a.on svg {
  color: #8fb0ff;
}

.nav a[aria-disabled] {
  color: var(--side-faint);
  cursor: not-allowed;
}

.nav a[aria-disabled] svg {
  color: var(--side-faint);
}

.nav a[aria-disabled]:hover {
  color: var(--side-faint);
  background: none;
}

.nav svg {
  stroke-width: 1.75px;
  flex: none;
  width: 18px;
  height: 18px;
}

.nav .lk {
  margin-left: auto;
  display: flex;
}

.nav .lk svg {
  width: 13px;
  height: 13px;
}

.steps {
  border-left: 1px solid #ffffff14;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 6px 21px;
  padding-left: 10px;
  display: flex;
}

.steps a {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 13px;
}

.steps a.on:before {
  border-radius: 3px;
  left: -12px;
}

.ph-row {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.ph-row > .btn {
  margin-left: auto;
}

.stat {
  padding: 16px var(--card-pad);
}

.stat .lbl {
  font-size: 12.5px;
  font-weight: 500;
}

.stat .val {
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

.stat .val small {
  color: var(--muted);
  margin-left: 4px;
  font-size: 13px;
  font-weight: 400;
}

.stat .foot {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 6px;
}

.stat.off {
  background: var(--raised);
  box-shadow: none;
}

.stat.off .val {
  color: var(--faint);
}

.sec-h {
  letter-spacing: -.02em;
  margin: 24px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.sc-head {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.sc-head > div {
  min-width: 0;
}

.sc-head .muted {
  font-size: var(--fs-small);
}

.sc-bar {
  background: var(--active);
  border-radius: 99px;
  grid-area: bar;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
}

.sc-bar i {
  border-radius: inherit;
  background: var(--accent);
  height: 100%;
  display: block;
}

.sc-foot {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
}

.flow {
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.flow .card {
  margin-top: 0;
}

.fstep {
  padding: 16px var(--card-pad);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s;
  display: block;
}

a.fstep:hover {
  border-color: var(--primary-line);
  box-shadow: var(--elev-hover);
  text-decoration: none;
}

.fstep {
  transition: border-color .15s, box-shadow .15s;
}

.fstep.off {
  background: var(--raised);
}

.fstep .fh {
  align-items: center;
  gap: 8px;
  display: flex;
}

.fstep .fh b {
  font-weight: 600;
}

.fstep .fh .st {
  margin-left: auto;
}

.fstep .fv {
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.fstep .fv small {
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
  display: block;
}

.fstep.off .fv {
  color: var(--faint);
}

.fstep .fd {
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 8px;
  padding-top: 8px;
}

.next-step {
  text-align: center;
}

.card.locked.next-step p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }
}

.side-foot {
  color: var(--side-faint);
  border-top: 1px solid #ffffff12;
  margin-top: auto;
  padding: 14px 20px 16px;
  font-size: 11px;
  line-height: 1.6;
}

.main {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.top {
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  flex-wrap: wrap;
  flex: none;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  margin: 0 -24px 16px 0;
  padding: 12px 24px 12px 0;
  display: flex;
  position: sticky;
  top: 0;
}

.chip-period {
  background: var(--surface);
  border: 1px solid var(--border);
  height: 36px;
  box-shadow: var(--elev-1);
  color: var(--text-2);
  white-space: nowrap;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
}

.chip-period svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.top .menu-btn {
  display: none;
}

.crumb {
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  display: flex;
}

.crumb a {
  color: var(--muted);
  white-space: nowrap;
}

.crumb a:hover {
  color: var(--accent);
  text-decoration: none;
}

.crumb b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  overflow: hidden;
}

.crumb .trunc {
  color: var(--muted);
}

.crumb a.trunc, .crumb .trunc {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
}

.crumb .sep {
  color: var(--faint);
}

.top-right {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 3px;
  display: flex;
}

.me {
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 3px;
  line-height: 1.2;
  display: flex;
}

.me b {
  font-size: 12.5px;
  font-weight: 600;
  display: block;
}

.me small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}

.avatar {
  border-radius: var(--radius-control);
  color: #fff;
  background: linear-gradient(140deg, #245bf0, #7c5cff);
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
}

.top-right .btn {
  box-shadow: none;
  background: none;
  border-color: #0000;
}

.top-right .btn:hover {
  background: var(--raised);
  border-color: var(--border);
}

.icon-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--surface);
  width: 34px;
  height: 34px;
  color: var(--text-2);
  cursor: pointer;
  place-items: center;
  display: inline-grid;
}

.icon-btn:hover {
  background: var(--raised);
  color: var(--accent);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.sheet {
  flex: 1;
  min-width: 0;
}

.page {
  min-width: 0;
  padding: 0 0 40px;
}

.ph {
  margin-bottom: 16px;
}

.ph h1 {
  font-size: var(--fs-title);
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0;
  font-weight: 700;
  line-height: 30px;
}

.ph .sub {
  margin-top: 4px;
  font-size: 13px;
}

.ph h1 .st {
  vertical-align: 4px;
  margin-left: 10px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
  min-width: 0;
  margin-top: var(--gap);
}

.card-h {
  padding: 14px var(--card-pad) 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.card-h h3 {
  font-size: var(--fs-section);
  letter-spacing: -.015em;
  margin: 0;
  font-weight: 650;
  line-height: 20px;
}

.card-h .hint {
  color: var(--muted);
  font-size: var(--fs-small);
}

.card-h .r {
  align-items: center;
  gap: 8px;
  margin-left: auto;
  display: flex;
}

.card-b {
  padding: 12px var(--card-pad) var(--card-pad);
  overflow-x: auto;
}

.card-b > p:first-child {
  margin-top: 0;
}

.grid {
  gap: var(--gap);
  display: grid;
}

.g-2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.g-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g-4 > .card {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .g-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .g-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.g-21 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}

.g-21 > .card, .g-2 > .card {
  margin-top: 0;
}

.card.locked {
  padding: var(--card-pad) 20px;
}

.card.locked h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
}

.card.locked p {
  max-width: 72ch;
  margin: 0 0 12px;
}

.tabs {
  background: var(--active);
  border: 1px solid var(--border);
  scrollbar-width: none;
  border-radius: 10px;
  gap: 2px;
  max-width: 100%;
  margin-top: 8px;
  padding: 3px;
  display: inline-flex;
  overflow-x: auto;
}

.tabs a {
  align-items: center;
  text-decoration: none;
  display: inline-flex;
}

.tabs button, .tabs a {
  min-height: 30px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 7px;
  flex: none;
  padding: 0 14px;
  font-weight: 500;
  transition: color .15s, background-color .15s;
}

.tabs button:hover, .tabs a:hover {
  color: var(--text);
}

.tabs button.on, .tabs a.on {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px #0b132414, 0 0 0 1px var(--border);
  font-weight: 600;
}

table.t {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12.5px;
  line-height: 1.35;
}

.t thead th, .t th {
  text-align: left;
  vertical-align: bottom;
  background: var(--active);
  height: 34px;
  color: var(--muted);
  letter-spacing: .045em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--control);
  white-space: nowrap;
  padding: 8px 10px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
}

.t thead th:first-child {
  border-top-left-radius: 8px;
}

.t thead th:last-child {
  border-top-right-radius: 8px;
}

.t td {
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: break-word;
  padding: 9px 10px;
  transition: background-color .12s;
}

.t th:first-child, .t td:first-child {
  padding-left: 12px;
}

.t th:last-child, .t td:last-child {
  padding-right: 12px;
}

.t tbody tr:last-child td {
  border-bottom: 0;
}

.t tbody tr:hover td {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}

.t td b {
  font-weight: 650;
}

.t .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.t tr.grp td {
  font-size: var(--fs-small);
  color: var(--muted);
  border-bottom-color: var(--control);
  padding-top: 18px;
}

.t tr.grp td b {
  color: var(--text);
  font-weight: 650;
  font-size: var(--fs-body);
}

.t tbody tr:has(.st-crit) td:first-child {
  box-shadow: inset 3px 0 0 var(--negative);
}

.t tfoot td {
  background: var(--raised);
  border-top: 1px solid var(--control);
  padding: 9px 10px;
  font-weight: 700;
}

.t tfoot td:first-child {
  border-bottom-left-radius: 8px;
  padding-left: 12px;
}

.t tfoot td:last-child {
  border-bottom-right-radius: 8px;
  padding-right: 12px;
}

.btn {
  height: var(--control-height);
  border: 1px solid var(--control);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .12s var(--ease-out);
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  box-shadow: 0 1px 2px #0b13240d;
}

.btn:hover:not(:disabled) {
  background: var(--raised);
  text-decoration: none;
  box-shadow: 0 1px 2px #0b132414;
}

.btn:active:not(:disabled) {
  background: var(--active);
  box-shadow: none;
  transform: translateY(1px);
}

.btn:disabled {
  opacity: .55;
  color: var(--faint);
  background: var(--raised);
  border-color: var(--border);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary, a.btn.btn-primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff), var(--primary));
  border-color: color-mix(in srgb, var(--primary) 80%, #000);
  color: var(--primary-ink);
  box-shadow: inset 0 1px 0 #fff3, var(--shadow-primary);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 70%, #000);
}

.btn-primary:active:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 85%, #000);
}

.btn-danger {
  color: var(--pill-negative-ink);
  border-color: #f7c1cc;
}

.btn-danger:hover:not(:disabled) {
  background: var(--pill-negative-bg);
}

.btn-danger-solid {
  background: var(--fill-danger);
  border-color: var(--fill-danger);
  color: #fff;
}

.btn-danger-solid:hover:not(:disabled) {
  background: #bb1636;
}

.btn-sm {
  border-radius: 7px;
  height: 28px;
  padding: 0 10px;
  font-size: 11.5px;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn:focus-visible, .icon-btn:focus-visible, .tabs button:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent);
  outline: none;
}

a.btn {
  color: var(--text);
}

.t td .btn {
  box-shadow: none;
  background: none;
  border-radius: 999px;
}

.t td .btn:hover:not(:disabled) {
  background: var(--accent-tint);
  border-color: var(--primary-line);
  color: var(--accent-ink);
}

button.link {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
}

.field {
  gap: 6px;
  margin-bottom: 14px;
  display: grid;
}

.field label, .field .lbl {
  font-size: 12.5px;
  font-weight: 600;
}

.field small {
  font-size: var(--fs-small);
  color: var(--muted);
}

.field input, .field select, .field textarea, input.inline, select.inline {
  border: 1px solid var(--control);
  border-radius: var(--radius-control);
  background: var(--surface);
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 1px 2px #0b13240a;
}

.field input:hover, .field select:hover, .field textarea:hover, input.inline:hover, select.inline:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--control));
}

.field textarea {
  resize: vertical;
  height: auto;
  min-height: 80px;
  padding: 8px 12px;
}

input.inline, select.inline {
  height: var(--control-height);
  padding: 0 10px;
}

input.w-num {
  text-align: right;
  width: 80px;
}

input::placeholder, textarea::placeholder {
  color: var(--faint);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
  outline: none;
}

input:disabled, select:disabled {
  background: var(--raised);
  color: var(--muted);
  cursor: not-allowed;
}

label.check {
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--accent);
  box-shadow: none;
}

.st, .flag {
  border-radius: var(--radius-badge);
  letter-spacing: .01em;
  white-space: nowrap;
  vertical-align: 1px;
  background: var(--active);
  height: 20px;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--border);
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.st:before {
  content: "";
  opacity: .85;
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.st-good {
  background: var(--fill-success);
  color: #fff;
  box-shadow: none;
}

.st-crit {
  background: var(--fill-danger);
  color: #fff;
  box-shadow: none;
}

.st-warn {
  background: var(--fill-warning);
  color: var(--on-warning);
  box-shadow: none;
}

.flag-warn {
  background: var(--pill-warning-bg);
  color: var(--pill-warning-ink);
  box-shadow: inset 0 0 0 1px var(--notice-border);
}

.flag-red {
  background: var(--pill-negative-bg);
  color: var(--pill-negative-ink);
  box-shadow: inset 0 0 0 1px #f7c1cc;
}

.flag-blue {
  background: var(--accent-tint);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--primary-line);
}

.banner {
  margin: var(--gap) 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--elev-1);
  color: var(--text);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  display: flex;
}

.banner b {
  font-weight: 650;
}

.banner-crit {
  background: var(--pill-negative-bg);
  color: var(--pill-negative-ink);
  box-shadow: none;
  border-color: #f7c1cc;
}

.banner-ok {
  background: var(--pill-positive-bg);
  color: var(--pill-positive-ink);
  box-shadow: none;
  border-color: #b7e4c8;
}

.banner-warn {
  background: var(--pill-warning-bg);
  border-color: var(--notice-border);
  color: var(--pill-warning-ink);
  box-shadow: none;
}

.banner-info {
  background: var(--surface);
}

.banner-info.banner-block > svg {
  color: var(--accent);
}

.banner-block {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.banner-block > svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: none;
  margin-top: 2px;
}

.banner-block p {
  color: var(--muted);
  margin: 2px 0 0;
}

.banner-warn.banner-block p {
  color: var(--pill-warning-ink);
}

.card-b .banner:first-child {
  margin-top: 0;
  margin-bottom: 12px;
}

.note {
  color: var(--muted);
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 8px 12px;
  font-size: 12.5px;
  display: flex;
}

.note svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.empty {
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--control);
  border-radius: var(--radius-control);
  background: var(--raised);
  padding: 20px 16px;
}

td.empty {
  background: none;
  border-width: 0;
  border-radius: 0;
  padding: 24px 0;
}

.lk-inline {
  vertical-align: -2px;
  color: var(--muted);
  display: inline-flex;
}

.lk-inline svg {
  width: 13px;
  height: 13px;
}

.tree > details {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.tree > details:last-child {
  border-bottom: 0;
}

.tree summary {
  cursor: pointer;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  display: flex;
}

.tree summary b {
  font-weight: 600;
}

.tree .act {
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.tree .zones {
  margin: 0;
  padding: 4px 0 0 20px;
  list-style: none;
}

.tree .zones li {
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  display: flex;
}

.tree .zones li.zone {
  border-top: 1px solid var(--rule);
  padding: 10px 0;
  display: block;
}

.tree .zone-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.tree .zone-name {
  font-weight: 500;
}

.tree .items {
  padding: 6px 0 0 16px;
}

.tree details details {
  border-bottom: 0;
  padding: 6px 0 0 20px;
}

.tree .leaf {
  color: var(--muted);
  padding: 4px 0 4px 20px;
}

.tree .off > summary, .tree .leaf.off, .tree details.off > summary > b, .tree .zones li.off > .zone-row .zone-name {
  color: var(--faint);
}

.t-items th, .t-items td {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 13px;
}

.t-items tr.off td {
  color: var(--faint);
}

.t tr.off td {
  color: var(--muted);
}

.sub-h {
  font-size: var(--fs-body);
  margin: 24px 0 4px;
  font-weight: 600;
}

.inline-form, .item-form {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0 0 20px;
  display: flex;
}

.item-form {
  padding-left: 0;
}

.item-form input[name="location"] {
  width: 200px;
}

.item-form input[name="task"] {
  width: 170px;
}

#groupId {
  min-width: 240px;
}

.modal {
  border: 1px solid var(--border);
  width: min(520px, 92vw);
  color: var(--text);
  white-space: normal;
  text-align: left;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 24px 48px -12px #0b132447, 0 4px 10px -4px #0b132414;
}

.modal::backdrop {
  -webkit-backdrop-filter: blur(6px);
  background: #0509128c;
}

.modal-h {
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.modal-h h3 {
  letter-spacing: -.015em;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.modal-h .x {
  border-radius: var(--radius-control);
  width: 28px;
  height: 28px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  margin-left: auto;
  font-size: 20px;
  line-height: 1;
}

.modal-h .x:hover {
  background: var(--raised);
  color: var(--text);
}

.modal-b {
  padding: 20px;
}

.modal-b > p:first-child {
  margin-top: 0;
}

.modal-f {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.modal .g-2 {
  align-items: start;
  gap: 16px;
}

.modal .grid > * {
  min-width: 0;
}

.modal .field select {
  text-overflow: ellipsis;
  width: 100%;
}

.modal:has(.imp-opt) {
  width: min(760px, 94vw);
}

.key-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  padding: 8px 12px;
  display: flex;
}

.key-box code {
  word-break: break-all;
  flex: 1;
}

.login-wrap {
  min-height: 100svh;
  padding: var(--frame);
  gap: var(--frame);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  display: grid;
}

.login-side {
  flex-direction: column;
  padding: 40px;
  display: flex;
}

.login-side .brand {
  padding: 0;
}

.login-side h2 {
  letter-spacing: -.03em;
  letter-spacing: -.01em;
  max-width: 26ch;
  margin: auto 0 12px;
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
}

.login-side p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.login-side ul {
  gap: 0;
  max-width: 460px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.login-side li {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  display: flex;
}

.login-side li span {
  color: var(--muted);
}

.login-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elev-2);
  border-radius: var(--radius-sheet);
  place-items: center;
  padding: 40px 24px;
  display: grid;
}

.login {
  width: min(360px, 100%);
}

.login h1 {
  font-size: var(--fs-title);
  letter-spacing: -.025em;
  margin: 0 0 4px;
  font-weight: 800;
}

.login .sub {
  margin: 0 0 24px;
}

.login .btn {
  width: 100%;
  height: 38px;
  margin-top: 4px;
}

.sw {
  margin: 0 0 4px;
  position: relative;
}

.sw-btn {
  text-align: left;
  color: #fff;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff14;
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
}

.sw-btn:hover, .sw.open .sw-btn {
  background: #ffffff14;
  border-color: #ffffff24;
}

.sw-btn .tx {
  flex: 1;
  min-width: 0;
}

.sw-btn .nm, .sw-btn .meta {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sw-btn .nm {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 18px;
}

.sw-btn .meta {
  color: #8a94ab;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 16px;
}

.sw-btn.unpicked .nm {
  color: var(--side-ink);
  font-weight: 400;
}

.sw-btn .cv {
  color: #8a94ab;
  display: flex;
}

.sw-btn .cv svg {
  width: 15px;
  height: 15px;
}

.sw-btn .sd, .sw-item .sd {
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.sw-item .sd {
  margin-top: 6px;
}

.sw-pop {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  z-index: 60;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px -14px #0b13244d, 0 2px 6px #0b13240f;
}

.sw-pop input {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  width: 100%;
  height: 40px;
  padding: 0 12px;
}

.sw-list {
  max-height: 320px;
  padding: 6px;
  overflow: auto;
}

.sw-item {
  border-radius: var(--radius-control);
  cursor: pointer;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 10px;
  display: flex;
}

.sw-item:hover, .sw-item:focus-visible, .sw-item.cur {
  background: var(--active);
  outline: none;
}

.sw-item .nm {
  flex: 1;
  min-width: 0;
}

.sw-item .nm small {
  color: var(--muted);
  font-size: var(--fs-small);
  display: block;
}

.sw-empty {
  color: var(--muted);
  padding: 10px;
}

.create-opts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 16px;
  display: grid;
}

.create-opt {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--elev-1);
  border-radius: var(--radius-card);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  transition: border-color .15s, background-color .15s;
  display: flex;
}

.create-opt:hover:not(:disabled) {
  border-color: var(--primary-line);
  box-shadow: var(--elev-hover);
}

.create-opt:disabled {
  color: var(--faint);
  cursor: not-allowed;
}

.create-opt b {
  font-weight: 600;
}

.create-opt small {
  color: var(--muted);
  font-size: 13px;
}

.su {
  padding: 0;
}

.su-steps {
  flex-wrap: wrap;
  align-items: stretch;
  display: flex;
}

.su-step {
  border: 0;
  border-right: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  background: none;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  transition: background-color .15s;
  display: flex;
  position: relative;
}

.su-step:first-child {
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.su-step:hover {
  background: var(--raised);
}

.su-step.on {
  background: var(--accent-tint);
}

.su-step.on:after {
  content: "";
  background: var(--accent);
  height: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.su-step .no {
  border: 1px solid var(--control);
  width: 22px;
  height: 22px;
  font-size: var(--fs-small);
  color: var(--muted);
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-weight: 500;
  display: grid;
}

.su-step.done .no {
  background: var(--fill-success);
  color: #fff;
  border-color: #0000;
}

.su-step.on .no {
  background: var(--primary);
  color: #fff;
  border-color: #0000;
}

.su-step b {
  font-weight: 600;
  display: block;
}

.su-step small {
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 16px;
  display: block;
}

.su-arr {
  display: none;
}

.su-act {
  text-align: right;
  flex-direction: column;
  flex: 1 1 0;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  min-width: 200px;
  margin-left: auto;
  padding: 12px 20px;
  display: flex;
}

.su-act small {
  color: var(--muted);
  font-size: var(--fs-small);
  max-width: 340px;
}

.su-act small svg {
  vertical-align: -1px;
  width: 12px;
  height: 12px;
}

.kcs {
  margin-top: var(--gap);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.kc {
  padding: 14px var(--card-pad);
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.kc + .kc {
  border-left: 1px solid var(--border);
}

.kc > span {
  width: 20px;
  height: 20px;
  font-size: var(--fs-small);
  border-radius: 50%;
  flex: none;
  place-items: center;
  margin-top: 1px;
  font-weight: 600;
  display: grid;
}

.kc.ok > span {
  background: var(--fill-success);
  color: #fff;
}

.kc.bad > span {
  background: var(--fill-danger);
  color: #fff;
}

.kc b {
  font-weight: 500;
  display: block;
}

.kc small {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  margin-top: var(--gap);
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.toolbar label {
  font-size: var(--fs-small);
  color: var(--muted);
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.toolbar-r {
  gap: 8px;
  margin-left: auto;
  display: flex;
}

.xl-card {
  padding: var(--card-pad);
}

.xl-head {
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 12px;
  display: grid;
}

.xl-left {
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  display: flex;
}

.xl-left b, .xl-mid {
  font-weight: 600;
}

.xl-mid {
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
}

.xl-legend {
  font-size: var(--fs-small);
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
  display: flex;
}

.xl-legend b {
  color: var(--text);
  font-weight: 600;
}

.xl-legend b.z {
  color: #b42318;
}

.xl-legend i {
  vertical-align: -2px;
  border: 1px solid #b9bcbf;
  width: 14px;
  height: 12px;
  display: inline-block;
}

.xl-legend i.sw-fresh {
  background: #dcf2e2;
}

.xl-legend i.sw-past {
  background: #f1f2f3;
}

.xl-wrap {
  border: 1px solid #c9ccce;
  border-radius: 8px;
  max-height: 620px;
  overflow: auto;
}

table.xl {
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  background: #fff;
  font-size: 11.5px;
}

.xl th, .xl td {
  text-align: center;
  white-space: nowrap;
  border: 1px solid #c9ccce;
  border-width: 0 1px 1px 0;
  min-width: 22px;
  height: 22px;
  padding: 2px 3px;
}

.xl th {
  color: var(--text);
  background: #eef0f2;
  font-weight: 600;
}

.xl th.we {
  color: #b42318;
}

.xl th.today, .xl td.today {
  background-color: var(--accent-tint);
}

.xl th.today {
  color: var(--accent-ink);
}

.xl th.sch, .xl td.sch {
  white-space: nowrap;
  width: 44px;
  min-width: 44px;
  font-size: 11px;
}

.xl td.sch {
  color: var(--muted);
}

.xl th.sch {
  min-width: 30px;
}

.xl th.grp {
  min-width: 0;
}

.xl th.tot, .xl td.tot {
  background: #f6f7f8;
  min-width: 40px;
  font-weight: 600;
}

.xl th.tot {
  background: #eef0f2;
}

.xl th.wd, .xl td.wd {
  width: 80px;
  min-width: 80px;
}

.xl th.ht {
  text-align: left;
  padding-left: 12px;
}

.xl .no, .xl .lok, .xl .job {
  z-index: 1;
  position: sticky;
}

.xl td.no, .xl td.lok, .xl td.job {
  background: #fff;
}

.xl .no {
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  left: 0;
}

.xl .lok {
  text-align: left;
  text-overflow: ellipsis;
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  left: 32px;
  overflow: hidden;
}

.xl .job {
  text-align: left;
  text-overflow: ellipsis;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  left: 202px;
  overflow: hidden;
  box-shadow: 1px 0 #9ea3a7;
}

.xl th.no, .xl th.lok, .xl th.job {
  z-index: 2;
  text-align: center;
  background: #eef0f2;
}

.xl tr.floor td {
  text-align: left;
  background: #fff;
  font-weight: 600;
}

.xl tr.floor td:first-child {
  z-index: 1;
  color: #0f3d1d;
  background: #d5ecd9;
  position: sticky;
  left: 0;
}

.xl tr.floor .pl {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 400;
}

.xl tr.off td {
  color: #9ea3a7;
}

.xl tr.sum td {
  background: #fafbfb;
}

.xl tr.sum td.lbl {
  text-align: center;
  z-index: 1;
  background: #fafbfb;
  font-weight: 500;
  position: sticky;
  left: 32px;
  box-shadow: 1px 0 #9ea3a7;
}

.xl tr.gap td {
  background: #fff;
  border: 0;
  height: 14px;
}

.xl td.r.edit {
  padding: 0;
}

.xl td.r.edit button {
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 21px;
  padding: 0 3px;
  font-weight: 600;
}

.xl input.xl-units {
  box-sizing: border-box;
  border: 1px solid var(--active);
  width: 100%;
  min-width: 28px;
  font: inherit;
  text-align: center;
  padding: 1px 2px;
}

.xl td.r.edit:hover {
  background: #e3f1e7;
}

.xl td.r.past {
  background: #f1f2f3;
}

.xl td.r.fresh {
  background: #eaf7ee;
}

.xl {
  border-top: 1px solid #c9ccce;
  border-left: 1px solid #c9ccce;
}

.drop {
  border: 1px dashed var(--control);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 14px;
  padding: 28px;
  display: block;
}

.drop:hover {
  background: var(--raised);
}

.drop input {
  margin: 0 auto 10px;
  display: block;
}

.drop b {
  color: var(--text);
  display: block;
}

.drop small {
  color: var(--muted);
  font-size: var(--fs-small);
  margin-top: 4px;
  display: block;
}

.imp-opt {
  gap: 4px;
  font-size: 13px;
  display: grid;
}

.imp-opt label {
  cursor: pointer;
  align-items: center;
  gap: 6px;
  display: flex;
}

.imp-all {
  align-items: center;
  gap: 10px;
  margin: 12px 0 6px;
  font-size: 13px;
  display: flex;
}

.chk-grid {
  border: 1px solid var(--control);
  border-radius: var(--radius-control);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px 12px;
  max-height: 180px;
  padding: 10px 12px;
  display: grid;
  overflow: auto;
}

.ckb {
  cursor: pointer;
  align-items: center;
  gap: 8px;
  display: flex;
}

.sat-point-row {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}

.sat-point-row:first-child {
  border-top: 0;
  padding-top: 4px;
}

.sat-point-h {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  display: flex;
}

.sat-point-h b {
  font-weight: 600;
}

.sat-point-h span.muted {
  font-size: var(--fs-small);
}

.sat-point-h .st {
  margin-left: auto;
}

.sat-inputs {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 128px 88px;
  align-items: start;
  gap: 12px;
  display: grid;
}

.sat-inputs .field {
  margin-bottom: 0;
}

.sat-out {
  background: var(--raised);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  height: 36px;
  margin-top: 25px;
  padding: 0 12px;
  display: flex;
}

.sat-out span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.sat-out b {
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 600;
}

.sat-out.sat-point {
  background: var(--accent-tint);
}

.sat-out.sat-point b {
  color: var(--accent-ink);
}

.sat-foot {
  font-size: var(--fs-small);
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  display: flex;
}

.field small.bad {
  color: var(--pill-negative-ink);
}

.field input[aria-invalid="true"] {
  border-color: var(--pill-negative-ink);
}

.sat-bands tr.on td {
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-weight: 600;
}

.sat-side > .card:first-child {
  margin-top: 0;
}

@media (max-width: 640px) {
  .sat-inputs {
    grid-template-columns: 1fr 1fr;
  }

  .sat-out {
    margin-top: 0;
  }
}

.rules-h {
  margin: 22px 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.chk-list {
  border: 1px solid var(--control);
  border-radius: var(--radius-control);
  gap: 4px;
  max-height: 320px;
  padding: 6px 12px;
  display: grid;
  overflow: auto;
}

.chk-list .ckb {
  min-height: 36px;
}

.chk-list .flag {
  margin-left: 4px;
}

@media (max-width: 1100px) {
  .g-21 {
    grid-template-columns: minmax(0, 1fr);
  }

  .kcs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kc:nth-child(odd) {
    border-left: 0;
  }

  .kc:nth-child(n+3) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 860px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .side {
    z-index: 50;
    height: 100%;
    transition: transform .2s var(--ease-out);
    margin: 0;
    position: fixed;
    inset: 0 auto 0 0;
    transform: translateX(-105%);
  }

  .side.open {
    transform: none;
  }

  .side .close-btn {
    display: inline-grid;
  }

  .app {
    padding: 0 10px 10px;
  }

  .side {
    border-radius: 0 16px 16px 0;
    width: min(288px, 86vw);
    top: 0;
  }

  .top {
    margin: 0 -10px 12px;
    padding: 8px 10px;
    top: 0;
  }

  .me {
    padding-right: 3px;
  }

  .chip-period {
    display: none;
  }

  .top .menu-btn {
    display: inline-grid;
  }

  .me div, .crumb a, .crumb .sep, .crumb .trunc {
    display: none;
  }

  .top {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .top:has(.per-sel) .crumb {
    display: none;
  }

  .per-sel {
    flex: auto;
    min-width: 0;
  }

  .per-sel select {
    text-overflow: ellipsis;
    width: 100%;
    min-width: 0;
  }

  .evaltabs .lbl {
    display: none;
  }

  .g-2, .create-opts, .kcs {
    grid-template-columns: minmax(0, 1fr);
  }

  .kc + .kc {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .su-step {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    flex: 100%;
    min-height: 48px;
    border-radius: 0 !important;
  }

  .su-act {
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
  }

  .t-wide {
    min-width: 640px;
  }

  .login-wrap {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .login-side {
    padding: 24px 16px 8px;
  }

  .login-side h2, .login-side ul {
    display: none;
  }

  .login-sheet {
    border-width: 1px 0 0;
    border-radius: 0;
    align-items: start;
  }

  .tree .act {
    width: 100%;
    margin-left: 0;
  }
}

.close-btn {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal[open] {
  animation: rise .18s var(--ease-out);
}

.modal[open]::backdrop {
  animation: .18s fade;
}

.sw-pop {
  animation: rise .14s var(--ease-out);
}

.banner[role="status"], .banner[role="alert"] {
  animation: .2s fade;
}

.tree summary, .create-opt, .su-step, .sw-item {
  transition: background-color .15s;
}

@media (max-width: 1280px) {
  :root {
    --sidebar-width: 264px;
  }
}

@media (max-width: 1100px) {
  :root {
    --sidebar-width: 248px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
  }
}

.tbl-wrap .t td.num.stock-actions {
  white-space: normal;
  width: 250px;
  min-width: 250px;
}

.stock-actions .btn {
  margin-bottom: 4px;
}

.stock-actions .btn + .btn, .stock-actions .btn + button {
  margin-left: 2px;
}

.ph .actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.tbl-wrap {
  overflow-x: auto;
}

.tbl-wrap .t td.num, .tbl-wrap .t th.num {
  white-space: nowrap;
}

.banner h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.banner h4 + p {
  margin: 2px 0 0;
}

.tbl-wrap .t td:first-child {
  min-width: 132px;
}

.moves {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.moves li {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  display: flex;
}

.moves .when {
  width: 92px;
  font-size: var(--fs-small);
  color: var(--muted);
  flex: none;
}

.mt {
  margin-top: 16px;
}

.grid.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g-3 > .card {
  margin-top: 0;
}

@media (max-width: 800px) {
  .grid.g-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stat .val small {
  font-size: var(--fs-small);
  color: var(--muted);
  font-weight: 400;
}

.agenda-days {
  gap: 16px;
  display: grid;
}

.agenda-days .card {
  margin-top: 0;
}

.agenda-list {
  gap: 10px;
  margin: 0;
  list-style: none;
  display: grid;
}

.agenda-list li {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.stack {
  gap: 12px;
  display: grid;
}

.stack > .card {
  margin-top: 0;
}

.rep-meta {
  font-size: var(--fs-small);
  margin-top: 4px;
}

.photos {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  display: flex;
}

.tk-photos {
  flex-wrap: wrap;
  gap: 6px 24px;
  display: flex;
}

.tk-photos .photos {
  margin-top: 8px;
}

.tk-photos .photos-l {
  width: auto;
}

.lf-src {
  white-space: nowrap;
  color: var(--accent-ink);
  background: var(--accent-tint);
  border-radius: 999px;
  margin-top: 4px;
  padding: 1px 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-block;
}

.photos-l {
  font-size: var(--fs-small);
  color: var(--muted);
  flex: none;
  width: 60px;
}

.photo-t {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 84px;
  height: 84px;
  display: block;
  overflow: hidden;
}

.photo-t img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.tk-card {
  padding: 14px var(--card-pad);
}

.tk-head {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.tk-chips {
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.tk-text {
  margin-top: 6px;
  font-weight: 500;
}

.tk-off {
  background: var(--raised);
}

.tk-off .tk-text, .tk-off .tl {
  opacity: .6;
}

.tk-off .tk-text {
  text-decoration: line-through;
  -webkit-text-decoration-color: var(--faint);
  text-decoration-color: var(--faint);
}

.tk-cancel {
  background: var(--active);
  color: var(--text-2);
  font-size: var(--fs-small);
  border-radius: 8px;
  margin-top: 8px;
  padding: 8px 10px;
}

.tl {
  border-left: 2px solid var(--border);
  gap: 12px;
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  list-style: none;
  display: grid;
}

.tl-i {
  position: relative;
}

.tl-i:before {
  content: "";
  background: var(--surface);
  border: 2px solid var(--muted);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 5px;
  left: -24px;
}

.tl-received:before {
  border-color: var(--muted);
}

.tl-responded:before, .tl-in_progress:before {
  border-color: var(--pill-warning-ink);
}

.tl-resolved:before {
  border-color: var(--pill-positive-ink);
  background: var(--pill-positive-ink);
}

.tl-followed_up:before, .tl-reopened:before {
  border-color: var(--pill-negative-ink);
}

.tl-reopened:before {
  background: var(--pill-negative-ink);
}

.tl-notified:before {
  border-color: var(--accent);
}

.tl-message:before {
  background: #c9cfdb;
  border: 0;
  width: 6px;
  height: 6px;
  top: 9px;
  left: -21px;
}

.tl-msg {
  background: var(--raised);
  border: 1px solid var(--border);
  font-size: var(--fs-small);
  border-radius: 10px;
  padding: 6px 10px;
}

.tl-msg .tl-h b {
  font-weight: 600;
}

.tl-msg .photos {
  margin-top: 4px;
}

.tl-side {
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--control);
  color: var(--text-2);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10.5px;
  font-weight: 600;
}

.side-client .tl-side {
  background: var(--pill-negative-bg, #fdecee);
  color: var(--pill-negative-ink);
}

.side-vendor .tl-side {
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.side-client .tl-msg {
  border-left: 3px solid var(--pill-negative-ink);
}

.side-vendor .tl-msg {
  border-left: 3px solid var(--accent);
}

.tl-h {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  display: flex;
}

.tl-gap {
  font-size: var(--fs-small);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.tl-n {
  margin-top: 2px;
}

.tl .photos {
  margin-top: 6px;
}

.ln-old {
  background: var(--raised);
  opacity: .85;
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px 12px;
}

.linkish {
  color: inherit;
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
}

.fstep .fv small, .stat .val small, .ph h1 .st, .login-side h2 + p {
  letter-spacing: normal;
}

.per-sel {
  background: var(--surface);
  border: 1px solid var(--border);
  height: 36px;
  box-shadow: var(--elev-1);
  color: var(--text-2);
  white-space: nowrap;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  font-size: 12.5px;
  display: inline-flex;
}

.per-sel svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.per-sel select {
  font: inherit;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px 4px;
  font-weight: 600;
}

.per-sel select:focus-visible {
  outline: none;
}

.per-sel:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent);
}

.evaltabs {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  display: flex;
}

.evaltabs .lbl {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}

.evaltabs .tabs {
  margin: 0;
}

.tk-fixes {
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  margin-top: 12px;
  padding-top: 10px;
}

.tk-fixes summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.tk-fixes ul {
  gap: 4px;
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
}

.home {
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "hero hero"
                       "sec sec"
                       "sites rail";
  align-items: start;
  column-gap: 20px;
  display: grid;
}

.home > .rkb-hero {
  grid-area: hero;
}

.home > .sec-h {
  grid-area: sec;
  margin: 0 0 10px;
}

.home > .home-sites, .home > .home-empty {
  grid-area: sites;
}

.home > .home-stats {
  grid-area: rail;
}

.rkb-hero {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, var(--surface)), var(--surface));
  box-shadow: var(--elev-1);
  border-radius: 16px;
  margin: 0 0 16px;
  padding: 16px 20px 18px;
  position: relative;
  overflow: hidden;
}

.rkb-hero:before {
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, transparent), transparent 72%);
  border-radius: 28px;
  width: 440px;
  height: 250px;
  position: absolute;
  top: -70px;
  right: -50px;
  transform: skewX(-24deg);
}

.rkb-hero > * {
  position: relative;
}

.rkb-hero .ph {
  margin: 0;
}

.rkb-hero h1 {
  font-size: 28px;
  line-height: 34px;
}

.rkb-meta {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  display: flex;
}

.rkb-meta svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.ev-hero > .ev-eyebrow {
  color: var(--faint);
  letter-spacing: .01em;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 12.5px;
  display: flex;
}

.ev-hero > .ev-eyebrow:before {
  content: "";
  background: var(--primary);
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.ev-hero .ph .sub.rkb-meta {
  color: var(--text);
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

.ev-hero .rkb-desc {
  color: var(--muted);
  font-weight: 400;
}

.ev-hero .rkb-desc:before {
  content: "·";
  color: var(--faint);
  margin-right: 8px;
}

.ev-hero > .tabs {
  background: var(--active);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
  box-shadow: none;
  border-radius: 14px;
  flex-wrap: wrap;
  gap: 4px;
  margin: 14px 0 0;
  padding: 4px;
  display: flex;
}

.ev-hero > .tabs a {
  min-height: 38px;
  color: var(--muted);
  border-radius: 10px;
  gap: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.ev-hero > .tabs a svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.ev-hero > .tabs a.on {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff), var(--primary));
  color: #fff;
  box-shadow: inset 0 1px 0 #fff3, 0 4px 10px color-mix(in srgb, var(--primary) 30%, transparent);
}

@media (max-width: 720px) {
  .ev-hero > .tabs a {
    padding: 0 12px;
  }

  .ev-hero .rkb-desc {
    display: none;
  }
}

.kpi-banner {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--elev-1);
  border-radius: 12px;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px 14px;
  display: flex;
}

.kpi-banner + .kpi-banner {
  margin-top: -6px;
}

.kpi-banner .ic {
  background: var(--surface);
  width: 30px;
  height: 30px;
  color: var(--primary);
  border-radius: 999px;
  flex: none;
  place-items: center;
  display: grid;
}

.kpi-banner .ic svg {
  width: 15px;
  height: 15px;
}

.kpi-banner.crit .ic {
  color: var(--pill-negative-ink);
}

.kpi-banner.warn .ic {
  color: var(--pill-warning-ink);
}

.kpi-banner .tx {
  flex: 1;
  min-width: 0;
}

.kpi-banner h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}

.kpi-banner.crit h4 {
  color: var(--pill-negative-ink);
}

.kpi-banner p {
  color: var(--text-2);
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.kpi-banner p b {
  font-weight: 700;
}

.kpi-t thead th {
  height: auto;
  font-weight: 400;
}

.kpi-t td {
  vertical-align: middle;
}

.kpi-t td.num, .kpi-t td b, .kpi-t tfoot td {
  font-weight: 700;
}

.kpi-t td .nm {
  font-weight: 600;
}

.kpi-t td .muted {
  font-weight: 400;
}

.kpi-t .pctcell {
  font-weight: 700;
}

.kpi-t .flag.gray {
  background: var(--active);
  height: auto;
  color: var(--text-2);
  box-shadow: none;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.pred {
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  display: inline;
}

.tag-auto, .tag-man {
  letter-spacing: .03em;
  text-transform: uppercase;
  background: var(--accent-tint);
  color: var(--accent-ink);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-block;
}

.tag-man {
  background: var(--pill-warning-bg);
  color: var(--pill-warning-ink);
}

.home-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
  flex-direction: column;
  display: flex;
  position: sticky;
  top: 76px;
  overflow: hidden;
}

.home-stats > .stat {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 16px 20px 18px;
}

.home-stats > .stat + .stat {
  border-top: 1px solid var(--border);
}

.home-stats .val {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.05;
}

.home-stats .foot {
  margin-top: 8px;
}

.home-stats > .stat-hero {
  padding: 20px 20px 22px;
}

.home-stats > .stat-hero .val {
  font-size: 56px;
  line-height: 1;
}

.home-stats > .stat-hero.off {
  background: var(--raised);
  box-shadow: inset 4px 0 0 var(--faint);
}

.home-sites {
  counter-reset: rk;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--elev-1);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.home-sites > .sc {
  counter-increment: rk;
  position: relative;
}

.home-sites > .sc + .sc {
  border-top: 1px solid var(--border);
}

.home-sites > .sc:hover {
  background: var(--raised);
}

.home-sites > .sc:before {
  content: counter(rk, decimal-leading-zero);
  letter-spacing: .04em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  position: absolute;
  top: 24px;
  left: 22px;
}

.sc-b {
  grid-template: "head cap kv"
                 "head hero kv"
                 "foot hero kv" 1fr
                 "bar hero kv"
                 / minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 32px;
  padding: 22px 24px 22px 56px;
  display: grid;
}

.sc-head {
  flex-direction: column;
  grid-area: head;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.sc-head .st {
  margin-left: 0;
}

.sc-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.sc-name:hover {
  color: var(--accent-ink);
}

.sc-client {
  font-size: var(--fs-small);
  margin-top: 3px;
}

.sc-nopm {
  color: var(--warning);
  font-weight: 500;
}

.sc-cap {
  color: var(--muted);
  grid-area: cap;
  font-size: 12px;
  font-weight: 500;
}

.sc-hero {
  grid-area: hero;
  justify-content: space-between;
  align-self: start;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 22px;
  display: flex;
}

.idx-big {
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  font-size: 46px;
  font-weight: 700;
  line-height: .98;
}

.idx-off {
  color: var(--faint);
}

.pred-5 {
  background: var(--fill-success);
  color: #fff;
  box-shadow: none;
}

.pred-4 {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.pred-3 {
  background: var(--active);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--border);
}

.pred-2 {
  background: var(--fill-warning);
  color: var(--on-warning);
  box-shadow: none;
}

.pred-1 {
  background: var(--fill-danger);
  color: #fff;
  box-shadow: none;
}

.sc-num {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.sc {
  --sc-tone: var(--fill-success);
}

.sc-crit {
  --sc-tone: var(--fill-danger);
}

.home-sites > .sc-crit {
  background: linear-gradient(90deg, color-mix(in srgb, var(--fill-danger) 7%, transparent), transparent 55%);
}

.home-sites > .sc-crit:before, .sc-crit .idx-big {
  color: var(--negative);
}

.sc-hero {
  position: relative;
}

.sc-hero:after {
  content: "";
  background: linear-gradient(90deg, var(--sc-tone) 0 calc(var(--ix, 0) * 100%), var(--active) calc(var(--ix, 0) * 100%) 100%);
  border-radius: 99px;
  height: 6px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.sc-hero:before {
  content: "";
  pointer-events: none;
  z-index: 1;
  opacity: .55;
  background: linear-gradient(90deg, transparent calc(60% - 1px), var(--muted) calc(60% - 1px) 60%, transparent 60% calc(70% - 1px), var(--muted) calc(70% - 1px) 70%, transparent 70%);
  height: 12px;
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
}

.home-stats > .stat-hero.is-crit {
  background: color-mix(in srgb, var(--fill-danger) 8%, var(--surface));
  box-shadow: inset 4px 0 0 var(--fill-danger);
}

.home-stats > .stat-hero.is-crit .lbl, .home-stats > .stat-hero.is-crit .val {
  color: var(--negative);
}

.sc-prev {
  color: var(--faint);
  text-align: right;
  padding-bottom: 4px;
  font-size: 12px;
}

.sc-kv {
  border-left: 1px solid var(--border);
  flex-direction: column;
  grid-area: kv;
  justify-content: center;
  padding-left: 24px;
  display: flex;
}

.sc-kv > div {
  border-bottom: 1px dashed var(--border);
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  display: flex;
}

.sc-kv > div:last-child {
  border-bottom: 0;
}

.sc-kv b {
  font-variant-numeric: tabular-nums;
  order: 2;
  font-size: 16px;
  font-weight: 700;
}

.sc-kv span {
  color: var(--muted);
  order: 1;
  font-size: 12.5px;
}

.sc-foot {
  color: var(--muted);
  flex-wrap: wrap;
  grid-area: foot;
  align-self: end;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  display: flex;
}

@media (max-width: 1240px) {
  .home {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "hero"
                         "rail"
                         "sec"
                         "sites";
  }

  .home-stats {
    flex-direction: row;
    margin-bottom: 20px;
    position: static;
  }

  .home-stats > .stat {
    flex: 1;
  }

  .home-stats > .stat + .stat {
    border-top: 0;
    border-left: 1px solid var(--border);
  }

  .home-stats > .stat-hero .val {
    font-size: 44px;
  }
}

@media (max-width: 860px) {
  .home-stats {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .home-stats > .stat-hero {
    grid-column: 1 / -1;
  }

  .home-stats > .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .sc-b {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head"
                         "cap"
                         "hero"
                         "kv"
                         "foot"
                         "bar";
    row-gap: 10px;
    padding: 18px 18px 18px 48px;
  }

  .sc-kv {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
  }

  .home-sites > .sc:before {
    top: 20px;
    left: 16px;
  }
}

.ov-page .ov-sec {
  letter-spacing: -.01em;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  display: flex;
}

.ov-page .ov-sec:before {
  content: "";
  background: linear-gradient(180deg, var(--cyan), var(--primary));
  width: 4px;
  height: 18px;
  box-shadow: 0 0 10px -1px color-mix(in srgb, var(--primary) 55%, transparent);
  border-radius: 3px;
  flex: none;
}

.ov-page .ov-sec:after {
  content: "";
  background: linear-gradient(90deg, var(--control), transparent);
  flex: 1;
  height: 1px;
}

.ov-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 0 0 12px;
  display: grid;
}

.ov-row:has( > :only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.ov-row > .card {
  flex-direction: column;
  margin: 0;
  display: flex;
  position: relative;
}

.ov-row > .card > .card-b {
  flex: 1;
}

.ov-page .ov-row.ov-primary > .card, .ov-page .ov-row.ov-ops > .card {
  box-shadow: var(--elev-2);
}

.ov-page .ov-row.ov-primary > .card:before, .ov-page .ov-row.ov-ops > .card:before {
  content: "";
  background: var(--accent-line, linear-gradient(90deg, var(--primary), var(--cyan)));
  opacity: .9;
  border-radius: 0 0 3px 3px;
  height: 2px;
  position: absolute;
  top: -1px;
  left: 14px;
  right: 14px;
}

.ov-page .ov-row.ov-primary > .card:nth-child(2) {
  --accent-line: linear-gradient(90deg, var(--fill-danger), var(--fill-warning));
}

.ov-page .ov-row.ov-ops > .card:nth-child(2):not(:only-child) {
  --accent-line: linear-gradient(90deg, var(--fill-warning), var(--fill-success));
}

.ov-page .ov-row.ov-ops > .card:first-child:not(:only-child) {
  --accent-line: linear-gradient(90deg, var(--fill-danger), #ff8a5b);
}

.ov-page .ov-row:not(.ov-primary):not(.ov-ops) > .card {
  background: linear-gradient(#f3f6fb, #f7f9fd);
  box-shadow: inset 0 1px 2px #0e22400d;
}

.ov-row.ov-primary {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
}

.ov-row:has( > :nth-child(2):last-child) {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.ov-row.ov-primary:has( > :nth-child(2):last-child) {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
}

.ov-row.ov-ops:has( > :nth-child(2):last-child) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ov-empty {
  color: var(--muted);
  font-size: var(--fs-small);
  padding: 12px 0;
}

.ov-page > .ov-head {
  margin: 0 0 14px;
  padding: 16px 16px 18px;
}

.ov-head .ph h1 {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  display: flex;
}

.ov-head .ph h1 .st {
  vertical-align: 0;
  margin: 0;
}

.ov-head .ov-meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 6px;
  font-size: 13px;
}

.ov-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 20px;
  display: flex;
}

.ov-head .ov-day {
  margin: 0;
}

.ov-head .ov-meta .who {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.ov-head .ov-meta svg {
  color: var(--muted);
}

.ov-head .ov-meta b {
  color: var(--text);
  font-weight: 700;
}

.ov-head .ov-meta .when {
  color: var(--faint);
}

.ov-hero {
  background: radial-gradient(520px 230px at 100% 0%, color-mix(in srgb, var(--positive) 13%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elev-2);
  border-radius: 14px;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr);
  grid-template-areas: "ix mid"
                       "stats stats";
  align-items: start;
  gap: 20px 48px;
  margin: 0 0 14px;
  padding: 28px 32px 24px;
  display: grid;
  position: relative;
}

.ov-hero.crit {
  background: radial-gradient(560px 250px at 100% 0%, color-mix(in srgb, var(--negative) 14%, transparent), transparent 70%), var(--surface);
  box-shadow: inset 4px 0 0 var(--fill-danger), var(--elev-2);
  border-color: #f4b6c1;
}

.ov-ix {
  grid-area: ix;
}

.ov-mid {
  grid-area: mid;
  padding-top: 22px;
}

.ov-mid h2 {
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.ov-hero.crit .ov-mid h2 {
  color: var(--pill-negative-ink);
}

.ov-mid p {
  max-width: 64ch;
  color: var(--text-2);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.ov-mid p b {
  font-weight: 700;
}

.ov-ix .lb {
  color: var(--muted);
  font-size: 13px;
}

.ov-ix .big {
  letter-spacing: -.045em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 14px;
  font-size: 96px;
  font-weight: 700;
  line-height: .98;
}

.ov-hero.crit .ov-ix .big {
  color: var(--pill-negative-ink);
}

.ov-ix .big.off {
  color: var(--faint);
  font-weight: 300;
}

.next-step + .ov-hero {
  margin-top: 12px;
}

.ov-ix .pills {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.ov-pill {
  background: var(--raised);
  color: var(--text-2);
  border-radius: 8px;
  align-items: center;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18.85px;
  display: inline-flex;
}

.ov-pill.good {
  background: var(--fill-success);
  color: #fff;
}

.ov-pill.crit {
  background: var(--fill-danger);
  color: #fff;
}

.ov-pill.warn {
  background: var(--fill-warning);
  color: var(--on-warning);
}

.ov-sc-none {
  color: var(--muted);
  font-size: var(--fs-small);
  margin-top: 16px;
}

.ov-scale {
  width: 100%;
  max-width: 300px;
  margin-top: 16px;
}

.ov-sc-cap {
  letter-spacing: .05em;
  height: 14px;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  position: relative;
}

.ov-sc-cap span {
  white-space: nowrap;
  position: absolute;
  transform: translateX(-50%);
}

.ov-sc-cap .sp2 {
  color: var(--pill-negative-ink);
}

.ov-sc-cap .sp1 {
  color: var(--pill-warning-ink);
}

.ov-sc-cap .ok {
  color: var(--pill-positive-ink);
}

.ov-sc-tr {
  border-radius: 5px;
  height: 10px;
  position: relative;
}

.ov-sc-tr .z {
  position: absolute;
  top: 0;
  bottom: 0;
}

.ov-sc-tr .z.sp2 {
  background: var(--pill-negative-bg);
  border-radius: 5px 0 0 5px;
}

.ov-sc-tr .z.sp1 {
  background: var(--pill-warning-bg);
  border-left: 2px solid var(--surface);
}

.ov-sc-tr .z.ok {
  background: var(--pill-positive-bg);
  border-left: 2px solid var(--surface);
  border-radius: 0 5px 5px 0;
}

.ov-sc-tr .mk {
  background: var(--primary);
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 3px var(--surface), 0 2px 6px #00000040;
  z-index: 2;
  border-radius: 50%;
  margin: -8px 0 0 -8px;
  position: absolute;
  top: 50%;
}

.ov-sc-tr .mk.bad {
  background: var(--fill-danger);
}

.ov-sc-ax {
  height: 16px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-top: 5px;
  font-size: 10.5px;
  position: relative;
}

.ov-sc-ax span {
  white-space: nowrap;
  position: absolute;
  transform: translateX(-50%);
}

.ov-sc-ax span:first-child {
  transform: none;
}

.ov-sc-ax span:last-child {
  transform: translateX(-100%);
}

.ov-stats {
  border-top: 1px solid var(--border);
  grid-area: stats;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 18px;
  display: grid;
}

.ov-st {
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  display: flex;
}

.ov-st:first-child {
  padding-left: 0;
}

.ov-st + .ov-st {
  border-left: 1px solid var(--border);
}

.ov-st > div {
  flex: 1;
  min-width: 0;
}

.ov-st .ic {
  color: var(--accent-ink);
  flex: none;
  place-items: center;
  display: grid;
}

.ov-st .ic svg {
  width: 20px;
  height: 20px;
}

.ov-st .ic.i-chat {
  color: var(--pill-warning-ink);
}

.ov-st .ic.i-flag {
  color: var(--pill-negative-ink);
}

.ov-st b {
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.ov-st > div > span:not(.ov-meter) {
  color: var(--muted);
  margin-top: 2px;
  font-size: 13px;
  display: block;
}

.ov-page > .ov-banner {
  background: color-mix(in srgb, var(--surface) 45%, transparent);
  box-shadow: none;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 12px;
}

.ov-page > .ov-banner + .ov-banner {
  margin-top: -6px;
}

.ov-meter {
  background: var(--accent-tint);
  border-radius: 99px;
  width: 100%;
  max-width: 170px;
  height: 5px;
  margin-top: 7px;
  display: block;
  position: relative;
}

.ov-meter > i {
  background: var(--primary);
  border-radius: 0 3px 3px 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.ov-meter > i.crit {
  background: var(--fill-danger);
}

.ov-tg {
  background: var(--text-2);
  z-index: 1;
  border-radius: 1px;
  width: 2px;
  margin-left: -1px;
  position: absolute;
  top: -3px;
  bottom: -3px;
}

.ov-seg {
  background: var(--active);
  border: 1px solid var(--border);
  border-radius: 8px;
  gap: 2px;
  padding: 2px;
  display: inline-flex;
}

.ov-seg button {
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 500;
}

.ov-seg button.on {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px #00000014, 0 0 0 1px var(--border);
  font-weight: 600;
}

.ov-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.ov-chart .grid line {
  stroke: var(--border);
}

.ov-chart .ax {
  fill: var(--faint);
  font-size: 10.5px;
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
}

.ov-chart .ax.today {
  fill: var(--accent-ink);
  font-weight: 700;
}

.ov-chart .tgt {
  stroke: var(--muted);
  stroke-width: 1.25px;
  stroke-dasharray: 5 4;
}

.ov-chart .tgl {
  fill: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font);
}

.ov-chart .todayband {
  fill: var(--accent-tint);
}

.ov-chart .pickband {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5px;
  stroke-dasharray: 4 3;
}

.ov-chart .ax.picked {
  fill: var(--text);
  font-weight: 700;
}

.ov-chart .area {
  fill: var(--primary);
  opacity: .1;
}

.ov-chart .line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ov-chart .pt {
  stroke: var(--surface);
  stroke-width: 2px;
}

.ov-chart .pt.good {
  fill: var(--primary);
}

.ov-chart .pt.warn {
  fill: var(--fill-warning);
}

.ov-chart .pt.bad {
  fill: var(--fill-danger);
}

.ov-chart .lbl {
  fill: var(--text);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font);
}

.ov-chart .hit {
  fill: #0000;
  cursor: crosshair;
}

.ov-chart .hit:hover {
  fill: #245bf012;
}

.ov-key {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 8px 0 6px;
  font-size: 11px;
  display: flex;
}

.ov-key span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.ov-key i {
  border-radius: 2px;
  width: 10px;
  height: 8px;
  display: inline-block;
}

.ov-key i.tg {
  background: var(--text-2);
  border-radius: 1px;
  width: 2px;
  height: 12px;
}

.ov-key i.dot {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.ov-key i.dot.good, .ov-key i.sw.good, .ov-key i.sq.g4 {
  background: var(--fill-success);
}

.ov-key i.dot.warn, .ov-key i.sw.warn, .ov-key i.sq.g2 {
  background: var(--fill-warning);
}

.ov-key i.dot.bad, .ov-key i.sw.bad, .ov-key i.sq.g1 {
  background: var(--fill-danger);
}

.ov-key i.sq.g3 {
  background: var(--pill-positive-bg);
  box-shadow: inset 0 0 0 1px #bfe6cd;
}

.ov-key i.dash {
  border-top: 2px dashed var(--muted);
  border-radius: 0;
  width: 14px;
  height: 0;
}

.ov-key i.today {
  background: var(--accent-tint);
  width: 10px;
  height: 10px;
  box-shadow: inset 0 0 0 1px var(--primary-line);
}

.ov-key i.picked {
  border: 1.5px dashed var(--primary);
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.ov-cal {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  display: grid;
}

.ov-cal .hd {
  text-align: center;
  color: var(--faint);
  padding-bottom: 2px;
  font-size: 10.5px;
  font-weight: 600;
}

.ov-cal .d {
  background: var(--active);
  min-height: 44px;
  color: var(--muted);
  border: 1px solid #0000;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 10.5px;
  display: flex;
}

.ov-cal .d b {
  min-height: 16px;
  font-size: 13px;
  font-weight: 700;
}

.ov-cal .d.g4 {
  background: var(--fill-success);
  color: #fff;
}

.ov-cal .d.g3 {
  background: var(--pill-positive-bg);
  color: var(--pill-positive-ink);
  border-color: #bfe6cd;
}

.ov-cal .d.g2 {
  background: var(--pill-warning-bg);
  border-color: var(--notice-border);
  color: var(--pill-warning-ink);
}

.ov-cal .d.g1 {
  background: var(--pill-negative-bg);
  color: var(--pill-negative-ink);
  border-color: #f4b6c1;
}

.ov-cal .d.fut {
  background: repeating-linear-gradient(135deg, #0b13240d 0 3px, transparent 3px 8px), var(--active);
}

.ov-cal .d.today {
  box-shadow: 0 0 0 2px var(--primary);
}

.ov-cal .d.picked {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

.ov-rings {
  flex-direction: column;
  flex: 1;
  justify-content: stretch;
  display: flex;
}

.ov-ring {
  border-radius: 10px;
  flex: 1 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 52px;
  padding: 6px 12px;
  display: grid;
}

.ov-ring + .ov-ring {
  box-shadow: inset 0 1px 0 var(--border);
}

.ov-ring > div:first-child {
  min-width: 0;
}

.ov-ring b {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  display: block;
}

.ov-ring > div > span {
  color: var(--muted);
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.3;
  display: block;
}

.ov-ring.first {
  background: linear-gradient(90deg, color-mix(in srgb, var(--negative) 9%, transparent), transparent 85%);
  box-shadow: inset 3px 0 0 var(--negative);
}

.ov-bul {
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  display: grid;
}

.ov-bul b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}

.ov-tr {
  background: #e8ebf2;
  border-radius: 99px;
  height: 8px;
  display: block;
  position: relative;
}

.ov-tr > i, .ov-rkb .tr > i {
  border-radius: 0 4px 4px 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

i.good {
  background: var(--fill-success);
}

i.warn {
  background: var(--fill-warning);
}

i.bad {
  background: var(--fill-danger);
}

.ov-rkb {
  flex-direction: column;
  display: flex;
}

.ov-rkb .it {
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "nm pc"
                       "tr tr";
  gap: 1px 18px;
  padding: 9px 6px;
  font-size: 12.5px;
  display: grid;
}

.ov-page .ov-rkb .it {
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 56px;
  grid-template-areas: "nm tr pc";
  align-items: center;
}

@media (max-width: 720px) {
  .ov-page .ov-rkb .it {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "nm pc"
                         "tr tr";
  }
}

.ov-rkb .it:hover {
  background: color-mix(in srgb, var(--accent-tint) 40%, transparent);
}

.ov-rkb .it:last-child {
  border-bottom: 0;
}

.ov-rkb .nm {
  grid-area: nm;
}

.ov-rkb .nm b {
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.ov-rkb .nm span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  display: block;
}

.ov-rkb .pc {
  letter-spacing: -.01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  grid-area: pc;
  font-size: 15px;
  font-weight: 700;
}

.ov-rkb .pc.good {
  color: var(--pill-positive-ink);
}

.ov-rkb .pc.warn {
  color: var(--pill-warning-ink);
}

.ov-rkb .pc.bad {
  color: var(--pill-negative-ink);
}

.ov-rkb .pc.muted {
  color: var(--faint);
}

.ov-rkb .tr {
  background: #e8ebf2;
  border-radius: 99px;
  grid-area: tr;
  height: 8px;
  position: relative;
}

.ov-rkb .tr:after {
  content: "";
  top: -4px;
  bottom: -4px;
  left: var(--t, 96%);
  background: var(--text-2);
  border-radius: 1px;
  width: 2px;
  margin-left: -1px;
  position: absolute;
}

.ov-cmp .it {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  display: grid;
}

.ov-cmp .it:last-child {
  border-bottom: 0;
}

.ov-cmp .it:first-child {
  background: linear-gradient(90deg, color-mix(in srgb, var(--negative) 9%, transparent), transparent 70%);
  border-radius: 10px;
}

.ov-cmp .rk {
  background: var(--raised);
  width: 28px;
  height: 28px;
  color: var(--muted);
  border-radius: 9px;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.ov-cmp .it:first-child .rk {
  background: var(--fill-danger);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--negative) 55%, transparent);
}

.ov-cmp .row {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.ov-cmp .row > b {
  font-weight: 650;
}

.ov-cmp .row > span {
  white-space: nowrap;
  align-items: baseline;
  gap: 5px;
  display: inline-flex;
}

.ov-cmp .row > span > b {
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.ov-cmp .it:first-child .row > span > b {
  color: var(--pill-negative-ink);
  font-size: 30px;
}

.ov-cmp .row .muted {
  font-size: 11px;
}

.ov-cmp .open {
  color: var(--pill-negative-ink);
}

.ov-cmp .bar2 {
  background: #e8ebf2;
  border-radius: 99px;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
}

.ov-cmp .bar2 i {
  background: var(--control);
  border-radius: 0 3px 3px 0;
  height: 100%;
  display: block;
}

.ov-cmp .it:first-child .bar2 i {
  background: var(--negative);
}

.ov-stk .it {
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 10px;
  padding: 7px 6px;
  font-size: 12px;
  display: grid;
}

.ov-stk .it:last-child {
  border-bottom: 0;
}

.ov-stk .it > b {
  color: var(--text-2);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
}

.ov-stk .r {
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  font-size: 11px;
}

.ov-stk .r b {
  letter-spacing: -.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 700;
}

:is(.ov-stk .it:has(.lvl i.low) .r b, .ov-stk .it:has(.lvl i.out) .r b) {
  color: var(--pill-warning-ink);
}

.ov-stk .lvl {
  background: #e8ebf2;
  border-radius: 99px;
  grid-column: 1 / -1;
  height: 6px;
  margin-top: 4px;
  overflow: hidden;
}

.ov-stk .lvl i {
  background: var(--fill-success);
  height: 100%;
  display: block;
}

.ov-stk .lvl i.low {
  background: var(--fill-warning);
}

.ov-stk .lvl i.out {
  background: var(--fill-danger);
}

.ov-tiles {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  grid-template-columns: 1fr 1.25fr 1fr 1fr;
  margin: 0 0 12px;
  display: grid;
  overflow: hidden;
}

.ov-tile {
  padding: 10px 14px;
}

.ov-tile + .ov-tile {
  border-left: 1px solid var(--border);
}

.ov-tile b {
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  display: block;
}

.ov-tile span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 11.5px;
  display: block;
}

.ov-tile.c {
  background: var(--pill-negative-bg);
}

.ov-tile.c b {
  color: var(--pill-negative-ink);
  font-size: 36px;
}

.ov-sub {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  display: grid;
}

.ov-sub h4 {
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 400;
}

.ov-hb {
  margin-bottom: 8px;
}

.ov-hb .row {
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 12px;
  display: flex;
}

.ov-hb .row b {
  font-variant-numeric: tabular-nums;
}

.ov-hb .tr {
  background: var(--active);
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.ov-hb .tr i {
  background: var(--primary);
  height: 100%;
  display: block;
}

.ov-hb .tr i.o {
  background: var(--faint);
}

.ov-wk {
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  height: 110px;
  display: grid;
}

.ov-wk > div {
  height: 100%;
  color: var(--muted);
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  display: flex;
}

.ov-wk b {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.ov-wk i {
  background: var(--control);
  border-radius: 4px 4px 0 0;
  width: 100%;
  max-width: 28px;
}

.ov-wk .now i {
  background: var(--primary);
}

.ov-wk .now span {
  color: var(--accent-ink);
  font-weight: 700;
}

.ov-feed {
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.ov-feed .it {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 8px 80px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 12px;
  display: grid;
}

.ov-feed .t {
  font-size: 11px;
}

.ov-feed .it:last-child {
  border-bottom: 0;
}

.ov-feed .dot {
  background: var(--fill-danger);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.ov-feed .t {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ov-tot {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 12px;
}

.ov-tot b {
  color: var(--text);
  letter-spacing: -.03em;
  margin-right: 6px;
  font-size: 26px;
  font-weight: 800;
}

.card-b > .ov-hb {
  border-bottom: 1px solid var(--border);
  margin: 0;
  padding: 8px 0;
}

.card-b > .ov-hb:last-child {
  border-bottom: 0;
}

.ov-hb .row {
  font-size: 12.5px;
}

.ov-hb .tr {
  background: #e8ebf2;
  height: 8px;
}

@media (max-width: 1100px) {
  .ov-row, .ov-row.ov-primary {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-row:has( > :nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-row.ov-primary:has( > :nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-row.ov-ops:has( > :nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "ix"
                         "mid"
                         "stats";
    gap: 16px;
    padding: 20px;
  }

  .ov-ix .big {
    font-size: 72px;
  }

  .ov-mid {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .ov-ix .big {
    font-size: 60px;
  }

  .ov-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-st, .ov-st:first-child {
    padding: 12px 0;
  }

  .ov-st + .ov-st {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .ov-head .ov-meta .when {
    display: none;
  }

  .ov-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ov-sub {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rkb-tb {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elev-2);
  border-radius: 14px;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.rkb-hero > .rkb-tb {
  margin-top: 14px;
}

.rkb-tb > label {
  min-width: 168px;
  color: var(--faint);
  flex-direction: column;
  flex: 240px;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 400;
  display: flex;
}

.rkb-tb > label .rkb-lbl {
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.rkb-tb svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
  flex: none;
}

.rkb-tb > label .sel {
  border: 1px solid var(--border);
  background: var(--raised);
  width: 100%;
  min-width: 0;
  min-height: 38px;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
}

.rkb-tb > .rkb-view {
  box-sizing: border-box;
  background: var(--active);
  border: 1px solid var(--border);
  border-radius: 12px;
  flex: none;
  align-self: center;
  gap: 2px;
  height: 38px;
  margin: 22.5px 12px 0 10px;
  padding: 3px;
  display: inline-flex;
}

.rkb-tb > .rkb-view button {
  min-height: 30px;
  font: inherit;
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
}

.rkb-tb > .rkb-view button svg {
  color: currentColor;
  width: 14px;
  height: 14px;
}

.rkb-tb > .rkb-view button.on {
  background: var(--accent-tint);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--primary-line);
  font-weight: 600;
}

.rkb-tb > .rkb-stats {
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 80%);
  flex-wrap: nowrap;
  flex: 100%;
  align-items: stretch;
  min-width: 0;
  display: flex;
}

.rkb-tb > .rkb-stats > div {
  white-space: nowrap;
  flex: 1 1 0;
  grid-template-columns: auto auto;
  place-content: center start;
  align-items: center;
  gap: 5px 8px;
  min-width: 0;
  padding: 12px 18px;
  display: grid;
}

.rkb-tb > .rkb-stats > div:first-child {
  white-space: normal;
  flex: 150px;
  min-width: 130px;
  display: block;
}

.rkb-tb > .rkb-stats > div + div {
  border-left: 1px solid var(--border);
}

.rkb-tb > .rkb-stats > div > .muted:first-child {
  color: var(--faint);
  white-space: nowrap;
  grid-column: 1 / -1;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  display: flex;
}

.rkb-tb > .rkb-stats > div:first-child > .muted:first-child {
  margin-bottom: 5px;
}

.rkb-tb > .rkb-stats > div > b {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  display: inline-block;
}

.rkb-tb > .rkb-stats > div:first-child > b:not(.big) {
  line-height: 1.3;
  display: inline;
}

.rkb-tb > .rkb-stats > div > b.big {
  letter-spacing: -.03em;
  white-space: nowrap;
  font-size: 24px;
  line-height: 1;
}

.rkb-tb > .rkb-stats > div:first-child > span.muted:not(:first-child) {
  margin-left: 6px;
  font-size: 12px;
  display: inline;
}

.rkb-hero > .ph-row {
  flex-wrap: nowrap;
}

.rkb-hero > .ph-row > .actions {
  flex: none;
  margin: 0 0 0 auto;
}

.rkb-hero ~ .card .t tbody tr:has(.st-crit) td:first-child {
  box-shadow: none;
}

.rkb-act {
  justify-content: flex-end;
  gap: 8px;
  margin: 12px 0;
  display: flex;
}

.rkb-act .btn svg, .rkb-hero .actions .btn svg {
  width: 15px;
  height: 15px;
}

.rkb-hero ~ .xl-card, .rkb-hero ~ .card, .rkb-hero ~ .rkb-grp, .xl-card + .xl-card {
  margin-top: 16px;
}

.rkb-grp {
  margin: 18px 0 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.rkb-grp .muted {
  font-size: 12.5px;
  font-weight: 400;
}

.rkb-note {
  margin: 10px 0 0;
  font-size: 12px;
}

.pctcell {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.pctcell .bar {
  background: var(--active);
  border-radius: 99px;
  width: 64px;
  height: 5px;
  overflow: hidden;
}

.pctcell .bar i {
  background: var(--primary);
  border-radius: 99px;
  height: 100%;
  display: block;
}

.rkb-tb .st, .rkb-hero ~ .card .st {
  border: 1px solid #0000;
  border-radius: 99px;
  height: auto;
  padding: 2px 8px;
  font-size: 11.5px;
  line-height: 18px;
}

.rkb-tb .st-good, .rkb-hero ~ .card .st-good {
  background: var(--pill-positive-bg);
  color: var(--pill-positive-ink);
  border-color: #b7e4c8;
}

.rkb-tb .st-warn, .rkb-hero ~ .card .st-warn {
  background: var(--pill-warning-bg);
  color: var(--pill-warning-ink);
  border-color: var(--notice-border);
}

.rkb-tb .st-crit, .rkb-hero ~ .card .st-crit {
  background: var(--pill-negative-bg);
  color: var(--pill-negative-ink);
  border-color: #f7c1cc;
}

@media (max-width: 860px) {
  .rkb-tb > label {
    flex: 100%;
  }

  .rkb-tb > .rkb-view {
    align-self: flex-start;
    max-width: calc(100% - 24px);
    margin: 2px 12px 12px;
    overflow: auto;
  }

  .rkb-tb > .rkb-stats {
    flex-wrap: wrap;
  }

  .rkb-tb > .rkb-stats > div {
    flex: auto;
    padding: 10px 16px;
  }
}

.rep-tb {
  gap: 10px;
  margin: 16px 0 10px;
}

.rep-tb label {
  color: var(--text-2);
  gap: 4px;
  font-size: 11px;
}

.rep-tb .sel {
  border: 1px solid var(--control);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238892A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat calc(100% - 10px) 50% / 15px 15px;
  appearance: none;
  min-width: 180px;
  height: 34px;
  color: var(--text);
  cursor: pointer;
  border-radius: 999px;
  padding: 5px 30px 5px 12px;
  font-size: 13px;
  box-shadow: 0 1px 2px #0b13240a;
}

.rep-tb .zone-sel {
  min-width: 220px;
}

.rep-tabs {
  gap: 4px;
  margin: 0 0 10px;
}

.rep-tabs button {
  min-height: 26px;
  padding: 2px 12px;
  font-size: 12px;
}

.rep-tabs .n {
  color: var(--text-2);
  background: #0b132412;
  border-radius: 5px;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 14.5px;
  display: inline;
}

.rep-tabs button.on .n {
  background: var(--primary);
  color: #fff;
}

.iss-f {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: -4px 0 12px;
  font-size: 12.5px;
  display: flex;
}

.iss-f button {
  border: 1px solid var(--control);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 12.5px;
  line-height: 18.125px;
}

.iss-f button b {
  margin-left: 4px;
  font-weight: 600;
}

.iss-f button.on {
  background: var(--accent-tint);
  border-color: var(--primary);
  color: var(--accent-ink);
}

.rep-banner {
  margin: 0 0 14px;
}

.feed {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  display: grid;
}

.feed > .rep {
  border-radius: 14px;
  flex-direction: column;
  margin: 0;
  padding: 0;
  transition: box-shadow .15s, border-color .15s, transform .15s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.feed > .rep:hover {
  box-shadow: var(--elev-hover);
  border-color: var(--primary-line);
  transform: translateY(-1px);
}

.feed > .rep:after {
  content: "";
  background: var(--rep-tone, transparent);
  z-index: 2;
  height: 3px;
  position: absolute;
  inset: 0 0 auto;
}

.feed > .rep.tone-good {
  --rep-tone: var(--positive);
}

.feed > .rep.tone-warn {
  --rep-tone: var(--fill-warning);
}

.feed > .rep.tone-crit {
  --rep-tone: var(--negative);
}

.feed > .rep.cancel {
  --rep-tone: var(--faint);
  opacity: .72;
}

.rep > .ph2 {
  order: 1;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  display: grid;
}

.rep > .ph2.one {
  grid-template-columns: 1fr;
}

.rep .photo {
  aspect-ratio: 4 / 3;
  background: var(--border);
  display: block;
  position: relative;
  overflow: hidden;
}

.rep > .ph2.one .photo {
  aspect-ratio: 2.2;
}

.rep .photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.rep .photo .pl {
  color: #fff;
  letter-spacing: .08em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0b132499;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 13.775px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.rep > .flags {
  flex-wrap: wrap;
  order: 2;
  align-items: center;
  gap: 6px;
  padding: 12px 14px 0;
  display: flex;
}

.rep > .flags .st {
  height: auto;
  box-shadow: none;
  border-radius: 6px;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.rep > .flags .st-good {
  background: var(--fill-success);
  color: #fff;
}

.rep > .flags .st-warn {
  background: var(--fill-warning);
  color: var(--on-warning);
}

.rep > .flags .st-crit {
  background: var(--fill-danger);
  color: #fff;
}

.rep > .flags .st-neutral {
  background: var(--active);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--border);
}

.rep > .flags .flag {
  white-space: normal;
  background: var(--pill-warning-bg);
  height: auto;
  color: var(--pill-warning-ink);
  box-shadow: none;
  border-radius: 6px;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.rep > .flags .flag svg {
  flex: none;
  width: 11px;
  height: 11px;
}

.rep > .flags .flag.gray {
  background: var(--raised);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--border);
}

.rep > .flags .flag.red {
  background: var(--pill-negative-bg);
  color: var(--pill-negative-ink);
}

.rep > .meta {
  color: var(--muted);
  flex-direction: column;
  order: 3;
  gap: 6px;
  padding: 10px 14px 0;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
}

.rep > .meta > div:first-child {
  font-size: 11.5px;
}

.rep > .meta > div:first-child > b {
  letter-spacing: -.01em;
  color: var(--text);
  margin: 1px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
}

.rep > .meta > div:first-child > b.none {
  color: var(--muted);
}

.rep > .meta > div + div {
  background: var(--raised);
  color: var(--text-2);
  border-radius: 8px;
  padding: 6px 8px;
}

.rep > .meta > div + div b {
  color: var(--text);
  font-weight: 700;
}

.rep > .wa {
  border: 1px dashed var(--control);
  color: var(--text-2);
  overflow-wrap: anywhere;
  border-left: 3px solid #25a35a;
  border-radius: 8px;
  order: 4;
  margin: 10px 14px 14px;
  padding: 8px 10px 8px 11px;
  font-size: 12px;
  line-height: 1.45;
  position: relative;
}

.rep > .wa .who {
  color: var(--pill-positive-ink);
  margin: 0 0 3px;
  padding-right: 72px;
  font-size: 11.5px;
  font-weight: 700;
}

.rep > .wa .tm {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  font-size: 10.5px;
  position: absolute;
  top: 8px;
  right: 10px;
}

.rep > .wa .muted {
  color: var(--faint);
  font-size: 11px;
}

.rep > .acts {
  border-top: 1px solid var(--border);
  background: var(--raised);
  order: 5;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding: 8px 10px 8px 14px;
  display: flex;
}

.rep > .acts .btn {
  height: 28px;
  min-height: 28px;
  box-shadow: none;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.rep > .acts .btn-danger {
  color: var(--pill-negative-ink);
  background: none;
  border-color: #0000;
}

.rep > .acts .btn-danger:hover:not(:disabled) {
  background: var(--pill-negative-bg);
  border-color: #f7c1cc;
}

.rep > .acts > .muted {
  font-family: var(--mono);
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  font-size: 11px;
}

.feed > .rep.cancel .meta > div:first-child > b {
  text-decoration: line-through;
  -webkit-text-decoration-color: var(--faint);
  text-decoration-color: var(--faint);
}

.rep-more {
  text-align: center;
  margin-top: 16px;
}

.rep-more .btn {
  font-size: 12.5px;
  font-weight: 600;
}

.rep-audit {
  margin-top: 12px;
}

.rep-audit .card-h {
  gap: 6px;
  padding-top: 12px;
}

.rep-audit .card-b {
  padding: 6px 16px 14px;
}

.list {
  flex-direction: column;
  display: flex;
}

.li {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  display: flex;
}

.li:last-child {
  border-bottom: 0;
}

.li .when {
  min-width: 92px;
  color: var(--muted);
  white-space: nowrap;
  font-size: 12px;
}

.li b {
  font-weight: 700;
}

.li .ink2 {
  color: var(--text-2);
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .rep-tb label {
    flex: 100%;
  }

  .rep-tb .sel {
    width: 100%;
  }
}

.team-t th.sortable button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--text-2);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.team-t th.sortable[aria-sort="descending"] button, .team-t th.sortable[aria-sort="ascending"] button {
  color: var(--text);
}

.team-t td {
  vertical-align: middle;
  font-size: 12.5px;
}

.team-t .sub-l {
  font-size: 11.5px;
}

.team-t .sub-s {
  font-size: 11px;
}

.team-t td .st {
  height: auto;
  padding: 2px 8px;
  font-weight: 700;
  line-height: 16px;
}

.team-ob {
  max-height: 560px;
  overflow-y: auto;
}

.team-note {
  font-size: 12px;
}

.rkb-hero ~ .card .team-t td .st-warn {
  background: var(--fill-warning);
  color: var(--on-warning);
  border: 0;
  border-radius: 6px;
  font-size: 11px;
}

.ln-tb {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 16px 0 12px;
  display: flex;
}

.ln-days {
  flex-wrap: nowrap;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
}

.ln-days button {
  font-variant-numeric: tabular-nums;
  flex: none;
  min-height: 30px;
  padding: 2px 12px;
  font-size: 12.5px;
}

.ln-days .wd {
  color: var(--muted);
  margin-right: 5px;
  font-weight: 500;
}

.ln-days button.on .wd {
  color: inherit;
  opacity: .8;
}

.ln-sum {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 12px;
  display: flex;
}

.ln-sum b {
  color: var(--text);
}

.card-h .ln-meta {
  margin-left: auto;
  font-size: 11.5px;
}

.ln-t td {
  vertical-align: middle;
}

.ln-t td:first-child {
  width: 200px;
}

.ln-t td:nth-child(2) {
  width: 240px;
}

.ln-chips {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.ln-chip {
  border: 1px solid var(--border);
  background: var(--raised);
  white-space: nowrap;
  border-radius: 6px;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  display: inline-flex;
}

.ln-chip.off {
  border: 1px dashed var(--fill-warning);
  background: none;
}

@media (max-width: 640px) {
  .ln-t thead {
    display: none;
  }

  .ln-t tr {
    border-bottom: 1px solid var(--border);
    gap: 6px;
    padding: 10px 0;
    display: grid;
  }

  .ln-t td, .ln-t td:first-child, .ln-t td:nth-child(2) {
    border: 0;
    width: auto;
    padding: 0;
  }

  .ln-t td:nth-child(2):before {
    content: "PL";
  }

  .ln-t td:nth-child(3):before {
    content: "OB";
  }

  .ln-t td:nth-child(n+2) {
    grid-template-columns: 24px 1fr;
    align-items: start;
    display: grid;
  }

  .ln-t td:nth-child(n+2):before {
    color: var(--muted);
    padding-top: 3px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .card-h .ln-meta {
    width: 100%;
    margin-left: 0;
  }
}

.kc-view {
  margin: 16px 0 14px;
}

.c-crit {
  color: var(--pill-negative-ink);
}

.c-warn {
  color: var(--pill-warning-ink);
}

.c-good {
  color: var(--pill-positive-ink);
}

.kc-tabs-h {
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.kc-tabs-h .rep-tabs {
  margin: 0;
}

.kc-zone {
  gap: 6px;
}

.kc-zone button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 0 0 2px;
  font-size: 14px;
  line-height: 1;
}

.kc-t {
  table-layout: auto;
}

.kc-t td {
  font-size: 13px;
}

.kc-t tr.click {
  cursor: pointer;
}

.kc-t tr.click:focus-visible td {
  background: var(--accent-tint);
  outline: none;
}

.kc-t tr.kc-open td:first-child {
  box-shadow: inset 3px 0 0 var(--negative);
}

.kc-t td:first-child {
  white-space: nowrap;
}

.tbl-wrap .kc-t td:first-child {
  min-width: 0;
}

.kc-t td:nth-child(2) {
  min-width: 160px;
}

.kc-t td:nth-child(4), .kc-t td:nth-child(5) {
  width: 1%;
}

.kc-t th {
  white-space: normal;
}

.kc-t .st {
  white-space: nowrap;
}

.kc-t .flag {
  height: 18px;
}

.kc-s {
  font-size: 11.5px;
  line-height: 1.45;
}

.kc-pj {
  font-size: 12.5px;
}

.kc-side {
  align-content: start;
  gap: 12px;
  display: grid;
}

.kc-side > .card {
  margin-top: 0;
}

.kc-areas {
  padding-top: 4px;
}

.kc-area {
  text-align: left;
  width: calc(100% + 16px);
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  align-items: flex-start;
  gap: 10px;
  margin: 0 -8px;
  padding: 9px 8px;
  display: flex;
}

.kc-area + .kc-area {
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
}

.kc-area:hover {
  background: var(--raised);
}

.kc-area > span:first-child {
  flex: 1;
  min-width: 0;
}

.kc-area b {
  font-size: 13px;
  display: block;
}

.kc-area .muted {
  font-size: 12px;
}

.kc-area-r {
  justify-items: end;
  gap: 4px;
  display: grid;
}

.kc-stack {
  background: #e8ebf2;
  border-radius: 99px;
  gap: 2px;
  height: 10px;
  display: flex;
  overflow: hidden;
}

.kc-stack i {
  min-width: 0;
  display: block;
}

.kc-stack i.good, .kc-legend i.good {
  background: var(--fill-success);
}

.kc-stack i.warn, .kc-legend i.warn {
  background: var(--fill-warning);
}

.kc-stack i.crit, .kc-legend i.crit {
  background: var(--fill-danger);
}

.kc-legend {
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 12.5px;
  display: flex;
}

.kc-legend span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.kc-legend i {
  border-radius: 3px;
  width: 10px;
  height: 10px;
}

.kc-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.kc-histo {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  height: 150px;
  display: grid;
}

.kc-bin {
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  display: grid;
}

.kc-n {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
}

.kc-col {
  border-bottom: 1px solid var(--control);
  align-items: flex-end;
  width: 100%;
  max-width: 44px;
  display: flex;
  position: relative;
}

.kc-col i {
  background: var(--control);
  border-radius: 4px 4px 0 0;
  width: 100%;
  min-height: 2px;
  display: block;
}

.kc-bin:not(:has(.crit)) .kc-col i {
  background: var(--accent);
}

.kc-col i.crit {
  background: var(--negative);
}

.kc-l {
  color: var(--muted);
  white-space: nowrap;
  font-size: 11px;
}

.modal:has(.kc-modal) {
  width: min(860px, 94vw);
}

.kc-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.kc-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.kc-top .tk-chips {
  justify-content: flex-end;
  margin-left: 0;
}

.kc-cap {
  margin-bottom: 4px;
  font-size: 12px;
}

.kc-modal .photos {
  margin-top: 0;
}

.kc-nophoto {
  border: 1px dashed var(--control);
  height: 96px;
  color: var(--muted);
  background: var(--raised);
  border-radius: 10px;
  place-items: center;
  font-size: 12px;
  display: grid;
}

.kc-h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.kc-mt {
  margin-top: 16px;
}

.kc-tl {
  margin-top: 0;
}

.kc-kv {
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 0;
  display: grid;
  overflow: hidden;
}

.kc-kv > div {
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  display: flex;
}

.kc-kv > div + div {
  border-top: 1px solid var(--border);
}

.kc-kv span {
  color: var(--muted);
}

.kc-kv b {
  text-align: right;
  font-weight: 600;
}

.kc-near {
  padding: 4px 0;
  font-size: 12.5px;
}

.kc-near .st {
  margin-left: 4px;
}

.kc-cg td {
  font-size: 13px;
}

.kc-cg-z {
  width: 240px;
}

.kc-cg-z .st {
  margin-top: 4px;
}

.kc-cgl {
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.kc-cgl button {
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  margin: 0 -6px;
  padding: 4px 6px;
  font-size: 12.5px;
  display: block;
}

.kc-cgl button:hover {
  background: var(--raised);
}

.kc-cgl i {
  vertical-align: 1px;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  display: inline-block;
}

.kc-cgl i.dot-done {
  background: var(--fill-success);
}

.kc-cgl i.dot-in_progress {
  background: var(--fill-warning);
}

.kc-cgl i.dot-not_started {
  background: var(--fill-danger);
}

@media (max-width: 720px) {
  .kc-top {
    flex-direction: column;
  }

  .kc-view + .g-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .kc-view + .g-4 .stat {
    padding: 12px;
  }

  .kc-cg-z {
    width: auto;
  }
}

.ld-intro {
  margin: -4px 0 14px;
  font-size: 12.5px;
}

.ld {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elev-1);
  max-width: 980px;
  color: var(--text);
  border-radius: 16px;
  margin: 0 auto;
  padding: 28px 56px;
  font-size: 13.5px;
  line-height: 1.6;
}

.ld-head {
  border-bottom: 2px solid var(--text);
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  display: flex;
}

.ld-org {
  font-size: var(--fs-small);
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}

.ld-head h1 {
  letter-spacing: -.02em;
  margin: 4px 0 2px;
  font-size: 24px;
}

.ld-meta {
  color: var(--muted);
}

.ld-stamp {
  border: 1.5px solid var(--fill-warning);
  color: var(--pill-warning-ink);
  letter-spacing: .1em;
  text-align: center;
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
}

.ld-stamp small {
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 400;
  display: block;
}

.ld-info {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 4px;
  font-size: 12.5px;
}

.ld-info td {
  padding: 3px 0;
}

.ld-info td:nth-child(odd) {
  color: var(--muted);
  width: 14%;
}

.ld-info td:nth-child(2n) {
  font-weight: 600;
}

.ld-sec {
  margin-top: 28px;
}

.ld-sec h2 {
  align-items: baseline;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 16px;
  display: flex;
}

.ld-sec h2 span {
  color: var(--faint);
  font-weight: 500;
}

.ld-sec h2 small {
  font-size: var(--fs-small);
  color: var(--faint);
  margin-left: auto;
  font-weight: 400;
}

.ld-t {
  border-collapse: collapse;
  width: 100%;
  margin: 4px 0;
  font-size: 12.5px;
}

.ld-t th {
  text-align: left;
  color: var(--muted);
  border-bottom: 1.5px solid var(--border);
  padding: 4px 8px;
  font-weight: 600;
}

.ld-t td {
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  padding: 4px 8px;
}

.ld-t .num {
  text-align: right;
  white-space: nowrap;
}

.ld-t td.num {
  font-weight: 600;
}

.ld-t tfoot td {
  border-top: 1.5px solid var(--border);
  border-bottom: 0;
  font-weight: 700;
}

.ld-t td.bad, .ld-kpis b.bad, .ld-area h3 b.bad {
  color: var(--pill-negative-ink);
}

.ld-sm {
  font-size: 12px;
}

.ld-kel td {
  font-size: var(--fs-small);
}

.ld-kel .st {
  font-size: 10.5px;
}

.ld-kpis {
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 4px 0 8px;
  display: flex;
}

.ld-kpis div {
  flex-direction: column;
  display: flex;
}

.ld-kpis b {
  font-size: 20px;
  line-height: 1.2;
}

.ld-kpis span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.ld-area {
  border-top: 1px solid var(--rule);
  padding: 14px 0 4px;
}

.ld-area h3 {
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  display: flex;
}

.ld-area h3 b {
  margin-left: auto;
  font-size: 15px;
}

.ld-area h3 b.mid {
  color: var(--pill-warning-ink);
}

.ld-area h3 b.ok {
  color: var(--pill-positive-ink);
}

.ld-area p {
  margin: 4px 0;
}

.ld-src {
  font-size: var(--fs-small);
  color: var(--faint);
  margin: 4px 0 0;
}

.ld-split {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 28px;
  margin: 4px 0 8px;
  display: grid;
}

.ld-donut {
  align-items: center;
  gap: 14px;
  display: flex;
}

.ld-donut .dv {
  fill: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.ld-donut .ds {
  fill: var(--faint);
  font-size: 10.5px;
}

.ld-leg {
  gap: 4px;
  min-width: 190px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  list-style: none;
  display: grid;
}

.ld-leg li {
  align-items: center;
  gap: 8px;
  display: flex;
}

.ld-leg i {
  border-radius: 3px;
  flex: none;
  width: 10px;
  height: 10px;
}

.ld-leg b {
  margin-left: auto;
  font-weight: 600;
}

.ld-leg span {
  color: var(--faint);
  text-align: right;
  width: 34px;
}

.ld-bars {
  gap: 8px;
  display: grid;
}

.ld-bar {
  grid-template-columns: minmax(150px, 210px) 1fr 52px 64px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: grid;
}

.ld-bar .tr {
  background: var(--raised);
  border-radius: 5px;
  height: 10px;
  overflow: hidden;
}

.ld-bar .tr i {
  border-radius: 5px;
  height: 100%;
  display: block;
}

.ld-bar b {
  text-align: right;
}

.ld-bar small {
  color: var(--faint);
  text-align: right;
}

.ld-note {
  margin: 6px 0 4px;
  font-size: 12.5px;
  position: relative;
}

.ld-note textarea {
  resize: vertical;
  border: 1px dashed var(--control);
  background: var(--surface);
  width: 100%;
  min-height: 34px;
  font: inherit;
  color: var(--text);
  field-sizing: content;
  border-radius: 8px;
  padding: 7px 10px;
  display: block;
}

.ld-note textarea:focus {
  border-color: var(--accent);
  border-style: solid;
  outline: none;
}

.ld-note.big textarea {
  min-height: 96px;
}

.ld-note .ld-print {
  white-space: pre-wrap;
  display: none;
}

.ld-printpage {
  background: #fff;
  min-height: 100vh;
}

.ld-printpage .ld-note .ld-print {
  display: block;
}

.ld-saved {
  font-size: var(--fs-small);
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  display: inline-flex;
}

.ld-saved svg {
  width: 12px;
  height: 12px;
}

.ld-saved.ok {
  color: var(--pill-positive-ink);
}

.ld-saved.bad {
  color: var(--pill-negative-ink);
}

@media (max-width: 900px) {
  .ld-split {
    grid-template-columns: 1fr;
  }

  .ld-bar {
    grid-template-columns: 120px 1fr 48px;
  }

  .ld-bar small {
    display: none;
  }
}

@media (max-width: 700px) {
  .ld {
    padding: 20px 16px;
  }

  .ld-head {
    flex-direction: column;
  }

  .ld-donut {
    flex-direction: column;
    align-items: flex-start;
  }

  .ld-t {
    display: block;
    overflow-x: auto;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html, body {
    background: #fff !important;
  }

  body:before {
    display: none;
  }

  .app, .main, .page {
    min-height: 0;
    padding: 0;
    display: block;
  }

  .side, .top, .no-print, .ld-saved {
    display: none !important;
  }

  .ld {
    box-shadow: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    border: 0;
    border-radius: 0;
    max-width: none;
    padding: 14mm 16mm;
  }

  .ld-note textarea {
    display: none;
  }

  .ld-note .ld-print {
    display: block;
  }

  .ld-note.ld-blank {
    display: none;
  }

  .ld-sec h2, .ld-area h3 {
    break-after: avoid;
  }

  .ld-split, .ld-kpis, .ld-area, .ld-t tr {
    break-inside: avoid;
  }

  .st, .ld-donut svg, .ld-bar .tr, .ld-leg i {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-hyvojof.css.map*/