@charset "UTF-8";

@font-face {
  font-family: Inter;
  src: url('/assets/inter-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --canvas: #eef1f5;
  --surface: #fff;
  --surface-alt: #f7f9fd;
  --navy: #12223c;
  --sidebar-text: #c5d5ec;
  --sidebar-muted: #aac0df;
  --sidebar-line: #ffffff24;
  --sidebar-active: #2c4774;
  --ink: #14213a;
  --text: #344460;
  --muted: #586985;
  --primary: #1c54da;
  --primary-hover: #1b45b7;
  --accent: #edf2ff;
  --line: #dce4ef;
  --line-soft: #e8edf5;
  --positive: #176049;
  --positive-bg: #e8f7ef;
  --warning: #815712;
  --warning-bg: #fff3dd;
  --danger: #a5354b;
  --danger-bg: #fff0f2;
  --r-control: 10px;
  --r-card: 17px;
  --r-dialog: 21px;
  --shadow-card: 0 2px 6px #142b4f06, 0 1px 2px #142b4f05;
  --shadow-float: 0 18px 48px #13264720, 0 6px 16px #1326470b;
  --focus: 0 0 0 3px #8eafff80;
  --fast: 150ms;
  --enter: 280ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-width: 224px;
  --gutter: clamp(20px, 3.8vw, 52px);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-optical-sizing: auto;
  font-size: 15px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
}
h1,
h2,
p {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
}
button svg,
a svg,
.metric svg {
  flex: none;
}
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
::selection {
  background: #dbe7ff;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}

.btn,
.small-btn,
.icon-btn,
.text-link,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: var(--r-control);
  transition:
    background var(--fast) ease,
    color var(--fast) ease,
    box-shadow var(--fast) ease,
    border-color var(--fast) ease,
    transform var(--fast) var(--ease),
    opacity var(--fast) ease;
}
.btn,
.small-btn {
  min-height: 43px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.btn:hover,
.small-btn:hover {
  background: var(--surface-alt);
  border-color: #b9c9e6;
  box-shadow: 0 4px 11px #284b8612;
}
.btn.primary {
  color: white;
  background: linear-gradient(180deg, #3261e7, var(--primary));
  border-color: #2856d3;
  box-shadow:
    0 1px 3px #2148b63b,
    inset 0 1px #ffffff36;
}
.btn.primary:hover {
  background: linear-gradient(180deg, #2956d6, var(--primary-hover));
  box-shadow: 0 5px 15px #2455d641;
}
.btn.ghost {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
  color: var(--muted);
}
.btn.ghost:hover {
  background: var(--surface-alt);
  color: var(--ink);
}
.small-btn {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.81rem;
}
.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--muted);
}
.icon-btn:hover {
  background: var(--accent);
  color: var(--primary);
}
.text-link {
  min-height: 30px;
  padding: 3px 4px;
  background: none;
  color: var(--primary);
  text-align: left;
}
.text-link:hover {
  background: var(--accent);
}
.wide-btn {
  width: 100%;
}
:where(.btn, .small-btn, .icon-btn, .text-link, .pill, .account, .quick-grid button):active {
  transform: scale(0.978);
}
:where(.btn, .small-btn, .icon-btn):disabled {
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}
:where(.btn, .small-btn)[aria-busy='true']::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.72s linear infinite;
  flex: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.brand {
  display: block;
  width: 93px;
  height: auto;
  max-width: 100%;
}
.kicker,
.nav-group {
  font-size: 0.72rem;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  font-weight: 720;
  color: var(--muted);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span:first-child,
.period label {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 620;
}
.field.wide {
  grid-column: 1/-1;
}
:where(.field input, .field select, .field textarea, .period input, .base-filter select) {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  transition:
    border-color var(--fast) ease,
    box-shadow var(--fast) ease,
    background var(--fast) ease;
}
:where(.field input, .field select, .field textarea, .period input, .base-filter select):hover {
  border-color: #b5c5df;
}
:where(.field input, .field select, .field textarea, .period input, .base-filter select):focus {
  outline: none;
  border-color: #819ff3;
  box-shadow: var(--focus);
}
.field input::placeholder,
.search input::placeholder {
  color: #6b7b96;
}
.field textarea {
  resize: vertical;
  min-height: 84px;
}
:where(.field select, .base-filter select) {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23586985' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 11px center;
  background-repeat: no-repeat;
}
@supports (appearance: base-select) {
  :where(.field select, .base-filter select) {
    appearance: base-select;
    background-image: none;
    padding-right: 11px;
  }
  select::picker(select) {
    appearance: base-select;
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
    transform-origin: top;
    transition:
      opacity 0.16s ease,
      transform 0.16s var(--ease),
      display 0.16s allow-discrete,
      overlay 0.16s allow-discrete;
    border: 1px solid var(--line);
    border-radius: var(--r-control);
    margin-block: 4px;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    padding: 4px;
    color: var(--ink);
  }
  select:open::picker(select) {
    opacity: 1;
    transform: none;
  }
  @starting-style {
    select:open::picker(select) {
      opacity: 0;
      transform: translateY(-4px) scale(0.985);
    }
  }
  select::picker-icon {
    color: var(--muted);
    transition: transform var(--fast) var(--ease);
  }
  select:open::picker-icon {
    transform: rotate(180deg);
  }
  select option {
    padding: 8px;
    border-radius: 6px;
  }
  select option:hover,
  select option:checked {
    background: var(--accent);
    color: var(--primary);
  }
}
:where(input[type='checkbox'], input[type='radio']) {
  accent-color: var(--primary);
}
.pw {
  position: relative;
}
.pw input {
  padding-right: 47px;
}
.pw button {
  position: absolute;
  right: 4px;
  top: 3px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  transition: background var(--fast);
}
.pw button:hover {
  background: var(--accent);
  color: var(--primary);
}
.error {
  font-size: 0.86rem;
  color: var(--danger);
  line-height: 1.55;
}
.error:not(:empty) {
  padding: 10px 12px;
  margin: 10px 0;
  background: var(--danger-bg);
  border-radius: var(--r-control);
  animation: reveal var(--enter) var(--ease) both;
}

.shell {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  z-index: 6;
  background: var(--navy);
  color: #e9f1ff;
}
.brand-home {
  padding: 15px 16px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--sidebar-line);
}
.brand-home .brand {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: none;
  padding: 2px;
  border-radius: 9px;
  background: #fff;
}
.brand-home b,
.brand-home small {
  display: block;
}
.brand-home b {
  font-size: 1rem;
  font-weight: 720;
}
.brand-home small {
  font-size: 0.79rem;
  color: var(--sidebar-muted);
}
.sidebar nav {
  padding: 12px 12px 20px;
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
}
.nav-group {
  margin: 21px 10px 8px;
  font-size: 0.68rem;
  color: var(--sidebar-muted);
}
.nav-group:first-child {
  margin-top: 5px;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 570;
  color: var(--sidebar-text);
  margin: 3px 0;
  transition:
    background var(--fast) ease,
    color var(--fast) ease;
}
.nav-link svg {
  color: inherit;
}
.nav-link:hover {
  color: #fff;
  background: #ffffff12;
}
.nav-link.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 690;
}
.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #91b3ff;
  transform: scaleY(0);
  opacity: 0;
  transition:
    transform var(--enter) var(--ease),
    opacity var(--fast) ease;
}
.nav-link.active::before {
  transform: scaleY(1);
  opacity: 1;
}
.nav-link.indicator-enter::before {
  animation: nav-indicator var(--enter) var(--ease) both;
}
@keyframes nav-indicator {
  from {
    transform: scaleY(0.28);
    opacity: 0.2;
  }
}
.sidebar-foot {
  padding: 9px 12px 13px;
  border-top: 1px solid var(--sidebar-line);
}
.sidebar :is(.brand-home, .nav-link):focus-visible {
  outline-color: #b6ceff;
}
.workspace {
  min-width: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 65px;
  padding: 8px var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.top-path,
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}
.top-base {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}
.account {
  min-height: 42px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 630;
  transition:
    background var(--fast),
    transform var(--fast) var(--ease);
}
.account:hover {
  background: var(--accent);
}
.account-name {
  display: grid;
  gap: 2px;
  text-align: left;
}
.account-name strong {
  font-size: 0.84rem;
  font-weight: 660;
}
.account-name small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--primary);
  flex: none;
  font-size: 0.78rem;
  font-weight: 730;
}
.menu-toggle,
.veil {
  display: none;
}
.menu-toggle {
  --menu-speed: 310ms;
  --menu-idle: linear-gradient(147deg, #30517f, #152742 77%);
  --menu-active: linear-gradient(147deg, #326ced, #1847c5 79%);
  position: relative;
  align-items: center;
  flex: none;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  color: #fff;
}
.menu-face {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  height: 100%;
  padding-inline: 10px;
  border-radius: inherit;
  background: var(--menu-idle);
  box-shadow: inset 0 1px 0 #e0edff3b, 0 3px 8px #18396333;
  transition:
    transform var(--menu-speed) var(--ease),
    filter var(--fast) ease,
    box-shadow var(--menu-speed) ease;
}
.menu-face::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--menu-active);
  opacity: 0;
  transition: opacity var(--menu-speed) var(--ease);
  content: '';
}
.menu-toggle[aria-expanded='true'] .menu-face::before {
  opacity: 1;
}
.menu-toggle[aria-expanded='true'] .menu-face {
  box-shadow: inset 0 1px 0 #e0edff54, 0 4px 11px #1c54da4d;
}
@media (hover: hover) {
  .menu-toggle:hover .menu-face {
    filter: brightness(1.13);
  }
}
.menu-toggle:active .menu-face {
  transform: scale(0.94);
  transition-duration: 95ms;
}
.menu-pulse {
  position: absolute;
  inset: 0;
  border: 1.5px solid #477cf4;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.menu-glyph {
  position: relative;
  width: 24px;
  height: 24px;
}
.menu-glyph i {
  position: absolute;
  top: 11px;
  left: 12px;
  width: var(--bar-width);
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, 0) translate(var(--bar-x), var(--bar-y));
  transition:
    transform var(--menu-speed) var(--ease),
    width var(--menu-speed) var(--ease),
    opacity 130ms ease;
}
.menu-glyph i:nth-child(1) {
  --bar-width: 15px;
  --bar-x: -2px;
  --bar-y: -6px;
}
.menu-glyph i:nth-child(2) {
  --bar-width: 11px;
  --bar-x: -4px;
  --bar-y: 0px;
}
.menu-glyph i:nth-child(3) {
  --bar-width: 18px;
  --bar-x: -0.5px;
  --bar-y: 6px;
}
.menu-glyph i:nth-child(4) {
  --bar-width: 3px;
  --bar-x: 7px;
  --bar-y: 0px;
  background: #a7ccff;
}
.menu-toggle[aria-expanded='true'] .menu-glyph i:is(:nth-child(1), :nth-child(3)) {
  width: 18px;
  transform: translateX(-50%) rotate(var(--angle, 45deg));
}
.menu-toggle[aria-expanded='true'] .menu-glyph i:nth-child(3) {
  --angle: -45deg;
}
.menu-toggle[aria-expanded='true'] .menu-glyph i:is(:nth-child(2), :nth-child(4)) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
}
.menu-caption {
  display: grid;
  text-align: left;
  font-size: 0.79rem;
  font-weight: 680;
}
.menu-caption span {
  grid-area: 1 / 1;
  transition:
    transform var(--menu-speed) var(--ease),
    opacity 125ms ease;
}
.menu-caption span + span {
  opacity: 0;
  transform: translateY(3px);
}
.menu-toggle[aria-expanded='true'] .menu-caption span:first-child {
  opacity: 0;
  transform: translateY(-3px);
}
.menu-toggle[aria-expanded='true'] .menu-caption span + span {
  opacity: 1;
  transform: none;
}
.content {
  width: min(100%, 1600px);
  margin-inline: auto;
  padding: 35px var(--gutter) 52px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 24px;
}
.page-heading h1,
.public-download h1 {
  margin-top: 5px;
  font-weight: 750;
  line-height: 1.09;
  letter-spacing: -0.052em;
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  text-wrap: balance;
}
.shift-day {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  border-radius: 6px;
}
.shift-day input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.shift-day input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.shift-day:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.base-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  color: var(--muted);
  font-size: 0.84rem;
}
.base-filter select {
  min-height: 41px;
  border: 0;
  background-color: transparent;
  padding-block: 6px;
}
.base-filter select {
  padding-left: 0;
  color: var(--ink);
  font-weight: 620;
}
.base-filter span {
  white-space: nowrap;
}
#page-body.entering {
  animation: reveal var(--enter) var(--ease) both;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.shift-overview {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.shift-overview.with-actions {
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
}
.shift-hero {
  min-width: 0;
  min-height: 183px;
  padding: clamp(14px, 2vw, 23px);
  border-radius: var(--r-card);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(0deg, #0b1c34c9, transparent 85%),
    linear-gradient(90deg, #112544 10%, #142c4ee8 38%, #142c4e46 100%),
    url('/assets/plant.webp') 56% 55% / cover #142341;
}
.shift-hero-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dce7fa;
  font-size: 0.86rem;
}
.shift-hero-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}
.shift-hero-metric + .shift-hero-metric {
  padding-left: 12px;
  border-left: 1px solid #dce7fa54;
}
.shift-hero-metric strong {
  display: block;
  font-size: clamp(1.7rem, 3.8vw, 3.35rem);
  font-weight: 755;
  letter-spacing: -0.055em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.shift-hero-metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: #dce7fa;
}
.shift-hero-metric small,
.shift-metric small {
  font-weight: 620;
  font-size: 0.88rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.quick {
  padding: 14px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}
.quick h2 {
  padding: 0 4px 5px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.quick-grid {
  display: grid;
  gap: 3px;
}
.quick-grid button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 5px;
  text-align: left;
  background: transparent;
  border-radius: 10px;
  color: var(--ink);
  transition:
    background var(--fast) ease,
    transform var(--fast) var(--ease);
}
.quick-grid button:hover {
  background: var(--accent);
}
.quick-grid button:active {
  transform: scale(0.98);
}
.quick-grid b {
  font-weight: 650;
  font-size: 0.92rem;
}
.quick-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: var(--accent);
  color: var(--primary);
}
.shift-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-card);
  margin-bottom: 15px;
}
.shift-metric {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 12px 14px;
}
.shift-metric + .shift-metric {
  border-left: 1px solid var(--line);
}
.shift-metric span {
  color: var(--muted);
  font-size: 0.79rem;
}
.shift-metric strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.25rem, 2.45vw, 1.7rem);
  font-weight: 740;
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.shift-metric small {
  color: var(--muted);
}
.schedule .shift-trip {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 52px;
}
.shift-trip > span {
  overflow-wrap: anywhere;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric,
.panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.metric {
  padding: 15px 16px 17px;
}
.metric > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 590;
  font-size: 0.86rem;
  line-height: 1.3;
}
.metric > div svg {
  padding: 7px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--primary);
}
.metric strong {
  display: inline-block;
  margin-top: 7px;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}
.metric small {
  margin-left: 7px;
  color: var(--muted);
  font-size: 0.79rem;
}
.panel {
  margin-bottom: 16px;
  overflow: hidden;
  transition:
    border-color var(--fast) ease,
    box-shadow var(--fast) ease;
}
.panel:focus-within {
  border-color: #b9c9e5;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-head h2 {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 690;
  letter-spacing: -0.023em;
}
.count {
  padding: 4px 8px;
  background: var(--accent);
  color: #234da9;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
}
.empty {
  min-height: 148px;
  padding: 23px 15px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
}
.empty-icon,
.line-icon {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #3c63bc;
  flex: none;
  border-radius: 10px;
}
.empty-icon {
  width: 43px;
  height: 43px;
  margin-bottom: 4px;
}
.empty b {
  font-size: 0.96rem;
  font-weight: 660;
}
.empty p {
  max-width: 44ch;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.schedule button,
.activity > div {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--fast);
}
.schedule button:hover {
  background: var(--surface-alt);
}
.schedule button:last-child,
.activity > div:last-child {
  border-bottom: 0;
}
.schedule time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--primary);
}
.schedule b {
  color: var(--ink);
  font-weight: 650;
}
.line-icon {
  width: 35px;
  height: 35px;
}
.schedule small,
td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.4;
}
.activity > div {
  font-size: 0.87rem;
  color: var(--text);
}
.activity svg {
  color: #617dab;
}
.activity small {
  margin-left: auto;
  color: var(--muted);
  text-align: right;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.toolbar,
.period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.pill {
  min-height: 34px;
  padding: 6px 9px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill:hover {
  color: var(--ink);
  background: var(--surface-alt);
}
.pill.selected {
  color: #1a47ba;
  background: var(--accent);
  border-color: #dae4fc;
}
.search {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 37px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-alt);
  color: var(--muted);
  transition: box-shadow var(--fast);
}
.search:focus-within {
  box-shadow: var(--focus);
  border-color: #92a9eb;
}
.search input {
  max-width: 100%;
  min-width: 0;
  width: 180px;
  background: none;
  border: 0;
  outline: none;
  color: var(--ink);
  font-size: 0.87rem;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.mobile-cell-label {
  display: none;
}
.table-scroll:focus-visible {
  outline-offset: -3px;
}
table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 0.88rem;
  text-align: left;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
th {
  background: #f5f8fd;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 670;
  white-space: nowrap;
}
td {
  color: var(--text);
  transition: background var(--fast) ease;
}
tbody tr:hover td {
  background: #f8faff;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  white-space: nowrap;
}
td b,
td strong {
  color: var(--ink);
  font-weight: 660;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf1f8;
  color: #435677;
  font-size: 0.76rem;
  font-weight: 620;
  white-space: nowrap;
}
.badge.green {
  color: var(--positive);
  background: var(--positive-bg);
}
.badge.amber,
.badge.orange {
  color: var(--warning);
  background: var(--warning-bg);
}
.period {
  justify-content: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin-bottom: 15px;
}
.period label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.period input {
  width: auto;
  min-height: 39px;
  font-size: 0.85rem;
}
.payroll-estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px 12px;
  grid-column: 1 / -1;
  padding: 11px 13px;
  border: 1px solid #d5e0fa;
  border-radius: var(--r-control);
  background: var(--accent);
  color: var(--navy);
}
.payroll-estimate strong {
  font-variant-numeric: tabular-nums;
}
.metrics.payroll-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payroll-metrics .metric strong {
  overflow-wrap: anywhere;
}
.director-cover {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: clamp(44px, 8.5vw, 122px);
  margin-bottom: 16px;
  padding: clamp(14px, 2.4vw, 26px);
  color: #fff;
  border: 1px solid #264267;
  border-radius: var(--r-card);
  background:
    linear-gradient(0deg, #10213bf5, #12274460 57%, #0c1c3455),
    linear-gradient(90deg, #10213bd4, transparent 80%),
    url('/assets/director-plant.webp') 61% 45% / cover #12223c;
  box-shadow: var(--shadow-card);
}
.director-cover h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.035em;
}
.director-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.48fr);
  gap: 9px;
}
.director-metric {
  min-width: 0;
  padding: 12px clamp(9px, 1.1vw, 15px);
  border: 1px solid #b0cbf43d;
  border-radius: 12px;
  background: #142a4be8;
}
.director-metric h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #e1ebff;
  font-size: 0.88rem;
  font-weight: 630;
}
.director-metric h3 svg {
  flex: none;
  color: #a9ccff;
}
.director-metric strong {
  display: block;
  font-size: clamp(1.24rem, 3vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.director-metric small,
.director-finances dt {
  color: #bed0ec;
  font-size: 0.8rem;
}
.director-metric small {
  display: block;
  margin-top: 5px;
}
.director-finances dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 8px 0 0;
  padding-top: 7px;
  border-top: 1px solid #b0cbf43d;
}
.director-finances dd {
  margin: 3px 0 0;
  font-size: 0.9rem;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .director-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .director-finances {
    grid-column: 1 / -1;
  }
}
.bases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bases-grid .panel {
  margin: 0;
}
.bases-grid .panel:hover {
  border-color: #b8c8e8;
  box-shadow: 0 6px 18px #2547780f;
}
.base-card {
  padding: 15px 17px;
}
.base-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}
.base-card strong {
  color: var(--ink);
  font-weight: 650;
}
.base-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}
.base-stat {
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: var(--surface-alt);
  border-radius: 10px;
  min-width: 0;
}
.base-stat dt {
  font-size: 0.74rem;
  line-height: 1.25;
  color: var(--muted);
}
.base-stat dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.base-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-top: 12px;
}
.base-mark {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary);
  width: 29px;
  height: 29px;
  border-radius: 8px;
  margin-right: 8px;
  vertical-align: middle;
}
.camera-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  padding: 15px;
}
.camera-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition:
    box-shadow var(--fast),
    border-color var(--fast);
}
.camera-card:hover {
  border-color: #b8c8e8;
  box-shadow: var(--shadow-card);
}
.camera-preview {
  display: grid;
  place-items: center;
  min-height: 88px;
  color: #5778b7;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line-soft);
}
.camera-card > div:last-child {
  padding: 10px 12px 12px;
}
.camera-card h3 {
  margin: 0 0 7px;
  font-size: 0.95rem;
  font-weight: 680;
}

dialog {
  width: min(660px, calc(100vw - 24px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #d5dfef;
  border-radius: var(--r-dialog);
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 0.18s ease,
    transform var(--enter) var(--ease),
    display 0.22s allow-discrete,
    overlay 0.22s allow-discrete;
}
dialog[open] {
  opacity: 1;
  transform: none;
}
@starting-style {
  dialog[open] {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}
dialog::backdrop {
  background: #0b17326b;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    display 0.22s allow-discrete,
    overlay 0.22s allow-discrete;
}
dialog[open]::backdrop {
  opacity: 1;
}
@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.dialog-head h2 {
  font-size: 1.26rem;
  font-weight: 720;
  letter-spacing: -0.03em;
}
.form-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 18px;
}
.form-grid:empty {
  display: none;
}
.form-note,
.form-hint {
  margin: 0 18px 14px;
  padding: 10px 12px;
  border-radius: var(--r-control);
  font-size: 0.86rem;
  line-height: 1.5;
  background: var(--accent);
  color: #284b9c;
}
.form-hint {
  background: var(--warning-bg);
  color: var(--warning);
  margin-top: 14px;
}
.form-base {
  grid-column: 1/-1;
  font-weight: 650;
  color: var(--text);
}
.form-footer,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 13px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface-alt);
}
.inline-actions:empty {
  display: none;
}
.kv {
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.kv span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.kv b {
  font-weight: 640;
}
.dialog-head ~ .panel {
  margin: 10px 12px;
}
.dialog-head ~ .panel .panel-head {
  min-height: 45px;
}
.dialog-head ~ .inline-actions {
  justify-content: flex-start;
}
#action > .error:not(:empty) {
  margin: 0 18px 12px;
}
#toast {
  position: fixed;
  z-index: 10;
  right: 18px;
  bottom: 18px;
  width: max-content;
  max-width: calc(100vw - 36px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.35;
  color: #fff;
  background: var(--navy);
  box-shadow: var(--shadow-float);
  border: 1px solid #324664;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 590;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform var(--enter) var(--ease);
}
#toast.shown {
  opacity: 1;
  transform: none;
}
#toast svg {
  color: #a7c3ff;
  flex: none;
}
#toast[data-tone='error'] svg {
  color: #ffa8b6;
}

.login {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  min-height: 100dvh;
  background: var(--surface);
}
.login-art {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4.7vw, 72px);
  overflow: hidden;
  background: var(--navy);
}
.photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(12deg, #0b1830 4%, #14254840 62%, #111f3d71),
    url('/assets/plant.webp') center/cover,
    #3f587d;
  background-blend-mode: normal, luminosity, normal;
}
.login-brand .brand {
  width: 130px;
  border-radius: 11px;
  background: white;
  padding: 2px 5px;
}
.login-caption {
  padding-top: 120px;
  color: white;
}
.login-caption .kicker {
  color: #c8d8f6;
}
.login-caption h1 {
  margin-top: 12px;
  font-size: clamp(2.85rem, 5.6vw, 5.65rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.login-caption h1 span {
  color: #89acff;
}
.login-side {
  display: grid;
  place-items: center;
  padding: 35px;
}
.login-side form {
  width: min(100%, 410px);
  animation: reveal var(--enter) var(--ease) both;
}
.lock-icon,
.download-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  margin-bottom: 20px;
}
.login-side h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.95rem, 3.1vw, 3.1rem);
  letter-spacing: -0.052em;
  line-height: 1.05;
  font-weight: 760;
}
.login-info {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
.login-side .field {
  margin: 15px 0;
}
.login-side .wide-btn {
  min-height: 46px;
  margin-top: 5px;
}
.login-download {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.public-download {
  width: min(calc(100% - 32px), 625px);
  margin: clamp(22px, 7vh, 84px) auto;
}
.public-download-brand {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 13px;
}
.public-download h1 {
  margin-bottom: 17px;
}
.download-panel {
  max-width: 650px;
}
.download-card {
  padding: clamp(18px, 4vw, 35px);
}
.download-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  font-weight: 720;
  margin-bottom: 8px;
}
.download-card p {
  max-width: 49ch;
  color: var(--text);
  line-height: 1.5;
}
.download-meta {
  margin-bottom: 10px;
}
.download-card .btn {
  margin-top: 16px;
}
.download-card .btn + p {
  margin-top: 12px;
}
.download-icon {
  margin-bottom: 12px;
}
.loading {
  max-width: 830px;
  margin: 8vh auto;
  padding: 20px;
  color: var(--muted);
}
.skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e6edf7;
  border-radius: 10px;
  height: 15px;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, #ffffff98, transparent);
  animation: shimmer 1.6s ease infinite;
}
.skeleton.headline {
  width: min(240px, 65%);
  height: 34px;
  margin-bottom: 19px;
}
.skeleton.line {
  height: 13px;
  width: min(380px, 80%);
  margin: 12px 0;
}
.skeleton.block {
  height: 95px;
  margin: 13px 0;
}
.loading .sr-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1120px) {
  :root {
    --nav-width: 220px;
    --gutter: 24px;
  }
  .metric {
    padding: 12px;
  }
  .metric > div svg {
    width: 29px;
    height: 29px;
    padding: 6px;
  }
  .base-card dl {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
}
@media (max-width: 870px) {
  .shell {
    --mobile-bar: 58px;
    display: block;
  }
  .sidebar {
    position: fixed;
    inset: var(--mobile-bar) auto 0 0;
    height: auto;
    width: min(286px, calc(100vw - 48px));
    transform: translateX(-101%);
    visibility: hidden;
    transition:
      transform var(--enter) var(--ease),
      visibility var(--enter) allow-discrete;
  }
  .menu-open .sidebar {
    transform: none;
    visibility: visible;
    transition: transform var(--enter) var(--ease);
  }
  .veil {
    display: block;
    position: fixed;
    z-index: 5;
    inset: 0;
    background: #111e3c66;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--enter) ease,
      visibility var(--enter) allow-discrete;
  }
  .menu-open .veil {
    opacity: 1;
    visibility: visible;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .topbar {
    z-index: 7;
    height: var(--mobile-bar);
    min-height: var(--mobile-bar);
    padding-block: 5px;
  }
  .menu-open .topbar {
    pointer-events: none;
  }
  .menu-open .menu-toggle {
    pointer-events: auto;
  }
  .heading-actions {
    justify-content: flex-start;
  }
  .content {
    padding-top: 24px;
  }
  .login {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
  }
  .login-side {
    padding: 24px;
  }
}
@media (max-width: 470px) {
  .menu-caption {
    display: none;
  }
}
@media (max-width: 630px) {
  :root {
    --gutter: 14px;
  }
  .topbar {
    gap: 6px;
    padding-inline: 9px;
  }
  .top-path {
    gap: 5px;
  }
  .account-name {
    max-width: 110px;
  }
  .account-name strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account-name small {
    display: none;
  }
  .content {
    padding-bottom: 32px;
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .shift-overview.with-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .shift-hero {
    min-height: 142px;
  }
  .shift-hero-metric strong {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }
  .shift-metric {
    padding: 9px;
  }
  .quick {
    padding: 10px;
  }
  .quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 78px), 1fr));
    gap: 6px;
  }
  .quick-grid button {
    min-height: 66px;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    text-align: center;
    background: var(--surface-alt);
  }
  .quick-grid b {
    font-size: 0.78rem;
    line-height: 1.24;
  }
  .schedule .shift-trip {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 10px;
  }
  .metrics,
  .metrics.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .metric {
    padding: 11px;
  }
  .metric > div {
    font-size: 0.78rem;
  }
  .metric strong {
    margin-top: 9px;
  }
  .panel-head,
  .toolbar,
  .period {
    padding: 10px 11px;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
  }
  .bases-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .activity > div {
    flex-wrap: wrap;
  }
  .activity small {
    margin-left: 27px;
  }
  .login {
    display: block;
  }
  .login-art {
    min-height: 235px;
    padding: 20px 24px;
  }
  .login-brand .brand {
    width: 84px;
  }
  .login-caption {
    padding-top: 15px;
  }
  .login-caption h1 {
    font-size: 2.55rem;
  }
  .login-side {
    padding: 24px 20px 36px;
  }
  .login-side form {
    width: min(100%, 410px);
  }
  .login-side h2 {
    font-size: 2rem;
  }
  .login-side .lock-icon {
    display: none;
  }
  .form-grid,
  .detail-grid {
    padding: 13px;
    gap: 11px;
  }
  .dialog-head,
  .form-footer,
  .inline-actions {
    padding-inline: 13px;
  }
  th,
  td {
    padding: 10px 11px;
  }
  .metrics.three .metric:last-child {
    grid-column: 1/-1;
  }
  .table-scroll table,
  .table-scroll tbody,
  .table-scroll tr {
    display: block;
  }
  .table-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .table-scroll tbody {
    display: grid;
    gap: 8px;
    padding: 8px;
    background: var(--surface-alt);
  }
  .table-scroll tr {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    overflow: hidden;
  }
  .table-scroll td {
    display: grid;
    grid-template-columns: minmax(83px, 39%) minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    padding: 8px 10px;
    white-space: normal;
  }
  .table-scroll tr:last-child td:not(:last-child) {
    border-bottom: 1px solid var(--line-soft);
  }
  .table-scroll td:last-child {
    border-bottom: 0;
  }
  .mobile-cell-label {
    display: block;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 650;
    line-height: 1.55;
  }
  .cell-value {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .cell-value .small-btn {
    min-height: 40px;
    white-space: normal;
  }
}
@media (max-width: 420px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .account-name {
    max-width: 78px;
  }
  .base-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
