/* src/eas-base.css */
:root {
  --brand-deep: #002244;
  --brand-deep-2: #0a3461;
  --brand-deep-3: #134577;
  --cyan: #00B5E2;
  --cyan-soft: #E5F8FD;
  --cyan-strong: #009CC4;
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink-1: #002244;
  --ink-2: #1F2A3D;
  --ink-3: #475569;
  --ink-4: #64748B;
  --line: #E5E8EE;
  --line-2: #EEF1F5;
  --ok: #10B981;
  --warn: #F59E0B;
  --bad: #EF4444;
  --shadow-lg: 0 4px 20px rgba(0, 34, 68, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 34, 68, 0.06);
  --shadow-pop: 0 12px 40px rgba(0, 34, 68, 0.18), 0 2px 8px rgba(0, 34, 68, 0.08);
  --r-panel: 12px;
  --r-card: 10px;
  --r-control: 6px;
  --r-tag: 6px;
  --r-pill: 999px;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  height: 100%;
  margin: 0;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
input {
  font-family: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  color: var(--ink-4);
}
a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}
.text-link {
  color: var(--cyan-strong);
  text-decoration: underline;
}
.text-link:hover {
  color: var(--brand-deep);
}
.app-shell {
  display: grid;
  grid-template-rows: 64px auto 1fr;
  height: 100vh;
}
.top-nav {
  background: var(--brand-deep);
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 64px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px rgba(0, 34, 68, 0.18);
  z-index: 50;
  position: relative;
}
.top-nav__left,
.top-nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-nav__center {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.top-nav__divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  --logo-ink: #FFFFFF;
  --logo-accent: var(--cyan);
  padding: 4px 8px 4px 0;
  border-radius: 8px;
  transition: background 160ms ease;
}
.brand:hover {
  background: rgba(255, 255, 255, 0.04);
}
.brand__sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 12px;
  line-height: 1.1;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 13.5px;
  transition: background 180ms ease, color 180ms ease;
  position: relative;
}
.nav-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-pill.is-active {
  color: #fff;
  background: rgba(0, 181, 226, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 181, 226, 0.45);
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  transition: background 160ms ease, color 160ms ease;
  position: relative;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  background: var(--cyan);
  color: var(--brand-deep);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--brand-deep);
}
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--r-pill);
  transition: background 160ms ease;
}
.user-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}
.avatar {
  width: 30px;
  height: 30px;
  background:
    linear-gradient(
      135deg,
      var(--cyan) 0%,
      var(--cyan-strong) 100%);
  color: var(--brand-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.user-chip__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.user-chip__name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.user-chip__role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.station-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background 180ms ease, border-color 180ms ease;
  min-width: 0;
  max-width: 280px;
}
.station-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 181, 226, 0.4);
}
.station-trigger[aria-expanded=true] {
  background: rgba(0, 181, 226, 0.12);
  border-color: rgba(0, 181, 226, 0.5);
}
.station-trigger__badge {
  width: 28px;
  height: 28px;
  background: rgba(0, 181, 226, 0.18);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.station-trigger__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}
.station-trigger__label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.station-trigger__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}
.station-code {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
  font-feature-settings: "tnum";
  margin-right: 8px;
  flex: 0 0 auto;
}
.station-city {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  display: inline-block;
  vertical-align: baseline;
}
.station-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 380px;
  background: #fff;
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 180ms cubic-bezier(.2, .8, .2, 1), transform 220ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  z-index: 100;
}
.station-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.station-popover__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  background: #FAFBFC;
}
.station-popover__search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-1);
}
.station-popover__search input::placeholder {
  color: var(--ink-4);
}
.station-popover__search kbd {
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 10.5px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-3);
  padding: 2px 6px;
  border-radius: 4px;
}
.station-popover__list {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}
.station-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--ink-4);
  font-size: 13px;
}
@keyframes stationRowIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.station-popover.is-open .station-row {
  animation: stationRowIn 280ms cubic-bezier(.2, .8, .2, 1) backwards;
}
.station-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  transition: background 140ms ease;
  position: relative;
}
.station-row:hover {
  background: var(--cyan-soft);
}
.station-row.is-active {
  background: var(--cyan-soft);
}
.station-row__code {
  width: 44px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 0;
  border-radius: 5px;
  text-align: center;
  font-feature-settings: "tnum";
}
.station-row.is-active .station-row__code {
  background: var(--cyan);
  color: var(--brand-deep);
  border-color: var(--cyan);
}
.station-row__main {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.station-row__city {
  font-weight: 600;
  color: var(--ink-1);
  font-size: 13.5px;
}
.station-row__country {
  font-size: 11.5px;
  color: var(--ink-4);
  margin-top: 2px;
}
.station-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.station-row__flights {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  font-feature-settings: "tnum";
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.station-row__flights small {
  font-weight: 500;
  font-size: 10px;
  color: var(--ink-4);
}
.station-row__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.station-row__check {
  display: grid;
  place-items: center;
}
.station-popover__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line-2);
  background: #FAFBFC;
  font-size: 11.5px;
  color: var(--ink-4);
}
.link-btn {
  color: var(--cyan-strong);
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-btn:hover {
  color: var(--brand-deep);
}
.sub-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-nav__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.sub-nav__group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-2);
}
.sub-nav__sep {
  color: var(--line);
}
.sub-nav__crumb {
  color: var(--ink-1);
  font-weight: 600;
}
.sub-nav__chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--cyan-soft);
  color: var(--cyan-strong);
  font-weight: 600;
  font-size: 11.5px;
  border-radius: var(--r-tag);
  letter-spacing: 0.02em;
}
.sub-nav__tabs {
  display: flex;
  gap: 4px;
  position: relative;
  padding: 4px;
  margin: 4px -4px 0;
  background: var(--bg);
  border-radius: 10px;
  align-self: flex-start;
}
.sub-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 7px;
  transition:
    color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
.sub-tab:hover {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.6);
}
.sub-tab.is-active {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 34, 68, 0.06), 0 0 0 1px var(--line);
  font-weight: 600;
}
.sub-tab.is-active eas-icon {
  color: var(--cyan-strong);
}
@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content {
  background: var(--bg);
  overflow-y: auto;
  animation: contentIn 320ms cubic-bezier(.2, .8, .2, 1);
}
.canvas {
  max-width: 100%;
  margin: 0;
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.canvas--wide {
  padding: 18px 20px 40px;
}
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi-strip--6 {
  grid-template-columns: repeat(6, 1fr);
}
@keyframes kpiIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: kpiIn 360ms cubic-bezier(.2, .8, .2, 1) backwards;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.kpi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.kpi-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-card__label {
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.kpi-card__icon {
  width: 28px;
  height: 28px;
  background: var(--cyan-soft);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.kpi-card__value {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.kpi-card__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--ink-4);
  font-weight: 500;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.panel--span2 {
  grid-column: span 2;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-2);
  gap: 16px;
}
.panel__head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}
.panel__head p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--ink-4);
}
.panel__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px;
  background: var(--cyan);
  color: var(--brand-deep);
  border-radius: var(--r-control);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 181, 226, 0.32);
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
.primary-btn:hover {
  background: var(--cyan-strong);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 181, 226, 0.42);
  transform: translateY(-1px);
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-control);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0, 34, 68, 0.03);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease;
}
.chip-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan-strong);
}
.chip-btn--mini {
  min-height: 0;
}
.seg {
  display: inline-flex;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-control);
  padding: 3px;
  gap: 2px;
}
.seg__btn {
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: 5px;
  transition:
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}
.seg__btn:hover {
  color: var(--ink-1);
  background: rgba(0, 34, 68, 0.04);
}
.seg__btn.is-active {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 1px 3px rgba(0, 34, 68, 0.12), 0 0 0 1px rgba(0, 34, 68, 0.04);
  font-weight: 700;
}
.seg__btn:disabled,
.seg__btn.is-active:disabled {
  background: var(--bg);
  color: var(--ink-4);
  box-shadow: none;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.placeholder-block {
  position: relative;
  padding: 20px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 34, 68, 0.015) 0,
      rgba(0, 34, 68, 0.015) 8px,
      transparent 8px,
      transparent 16px);
}
.placeholder-block--grid {
  padding: 16px;
}
.placeholder-block--map {
  padding: 0;
  height: 280px;
  overflow: hidden;
}
.placeholder-block--chart {
  padding: 0;
  height: 240px;
  overflow: hidden;
}
.placeholder-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 10.5px;
  color: var(--ink-4);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.placeholder-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.placeholder-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.ph-cell {
  height: 10px;
  background:
    linear-gradient(
      90deg,
      var(--line-2) 0%,
      var(--bg) 50%,
      var(--line-2) 100%);
  background-size: 200% 100%;
  border-radius: 3px;
  animation: shimmer 2.4s infinite linear;
  flex: 1;
}
.ph-cell--badge {
  width: 36px;
  height: 18px;
  flex: none;
  border-radius: 4px;
}
.ph-cell--avatar {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
}
.ph-cell--pill {
  width: 60px;
  height: 22px;
  flex: none;
  border-radius: var(--r-pill);
}
@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.ph-map,
.ph-chart {
  width: 100%;
  height: 100%;
  display: block;
  background: #FAFBFC;
}
.upload-zone {
  margin: 16px 20px 12px;
  padding: 28px 16px;
  border: 1.5px dashed rgba(0, 181, 226, 0.4);
  border-radius: var(--r-card);
  background: var(--cyan-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease;
  cursor: pointer;
}
.upload-zone:hover {
  background: #DAF3FB;
  border-color: var(--cyan);
}
.upload-zone__title {
  font-weight: 600;
  color: var(--ink-1);
  font-size: 13.5px;
}
.upload-zone__sub {
  font-size: 12.5px;
  color: var(--ink-3);
}
.upload-zone__sub a {
  color: var(--cyan-strong);
  font-weight: 600;
  text-decoration: none;
}
.upload-zone__hint {
  font-size: 11px;
  color: var(--ink-4);
  margin-top: 4px;
}
.map-list {
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.map-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 6px;
  color: var(--ink-3);
}
.map-list li span {
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 11.5px;
}
.map-list li strong {
  color: var(--brand-deep);
  font-weight: 600;
}
.map-list li .material-symbols-rounded {
  color: var(--ink-4);
}
.user-menu {
  width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-pop);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.user-menu__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 4px;
}
.user-menu__head strong {
  display: block;
  color: var(--ink-1);
  font-size: 13px;
}
.user-menu__head small {
  color: var(--ink-4);
  font-size: 11.5px;
}
.avatar--lg {
  width: 36px;
  height: 36px;
  font-size: 13px;
}
.user-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}
.user-menu__item:hover {
  background: var(--cyan-soft);
  color: var(--brand-deep);
}
.user-menu__item--danger {
  color: #B91C1C;
}
.user-menu__item--danger:hover {
  background: #FFE4E6;
  color: #991B1B;
}
.user-menu__sep {
  border: none;
  border-top: 1px solid var(--line-2);
  margin: 4px 0;
}
.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 420px;
  padding: 10px 12px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-pop);
  font-size: 13px;
  animation: toastIn 220ms cubic-bezier(.2, .8, .2, 1);
}
.toast eas-icon {
  color: var(--cyan);
}
.toast--success eas-icon {
  color: #34D399;
}
.toast--warn {
  background: #92400E;
}
.toast--warn eas-icon {
  color: #FBBF24;
}
.toast--error {
  background: #991B1B;
}
.toast--error eas-icon {
  color: #F87171;
}
.toast__x {
  margin-left: auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  transition: background 140ms ease, color 140ms ease;
}
.toast__x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
input[type=date] {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--ink-1);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  font-feature-settings: "tnum";
  letter-spacing: 0.01em;
  padding: 3px 2px 3px 0;
  position: relative;
  cursor: pointer;
}
input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(40%) sepia(85%) saturate(2200%) hue-rotate(165deg);
  opacity: 0.9;
  cursor: pointer;
  margin-left: 6px;
  transform: scale(1.08);
  transition: opacity 140ms ease, transform 140ms ease;
}
input[type=date]:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
  transform: scale(1.18);
}
input[type=date]::-webkit-datetime-edit-text {
  color: var(--ink-4);
  padding: 0 2px;
  font-weight: 500;
}
input[type=date]::-webkit-datetime-edit-month-field,
input[type=date]::-webkit-datetime-edit-day-field,
input[type=date]::-webkit-datetime-edit-year-field {
  color: var(--ink-1);
  font-weight: 600;
}
input[type=date]:focus {
  outline: none;
}
.date-range,
.amt {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.date-range:focus-within,
.amt:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.12);
}
.date-range:hover,
.amt:hover {
  border-color: var(--cyan);
}
.placeholder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.placeholder-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink-1);
}
.placeholder-card .muted {
  margin: 0;
}
.placeholder-card code {
  background: #F1F5F9;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}
@media (max-width: 600px) {
  .top-nav {
    padding: 0 12px;
    gap: 8px;
  }
  .top-nav__left,
  .top-nav__right {
    gap: 8px;
  }
  .top-nav__center {
    gap: 2px;
  }
  .brand__sub {
    display: none;
  }
  .top-nav__left .top-nav__divider {
    display: none;
  }
  .nav-pill {
    padding: 8px;
    gap: 0;
  }
  .nav-pill > span {
    display: none;
  }
  .station-trigger {
    gap: 6px;
    padding: 5px 8px 5px 5px;
    max-width: none;
  }
  .station-trigger__label,
  .station-city {
    display: none;
  }
  .station-trigger > eas-icon {
    display: none;
  }
  .top-nav__right > .icon-btn,
  .top-nav__right > .top-nav__divider {
    display: none;
  }
  .user-chip__meta,
  .user-chip > eas-icon {
    display: none;
  }
}

/* src/eas-sales.css */
.summary-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}
.summary-bar__item {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.summary-bar__label {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.summary-bar__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-1);
  font-feature-settings: "tnum";
}
.summary-bar__value--big {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}
.summary-bar__sep {
  width: 1px;
  height: 32px;
  background: var(--line);
}
.summary-bar__spacer {
  flex: 1;
}
.summary-bar__item--total .summary-bar__value {
  color: var(--cyan-strong);
}
.recon-strip {
  display: flex;
  align-items: stretch;
  gap: 12px;
  background: transparent;
}
.recon-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}
.recon-card--accent {
  background:
    linear-gradient(
      180deg,
      #FAFDFE 0%,
      #FFFFFF 100%);
  border-color: rgba(0, 181, 226, 0.25);
}
.recon-card__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.recon-card__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-1);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}
.recon-card__value--in {
  color: #059669;
}
.recon-card__value--out {
  color: #DC2626;
}
.recon-card__sub {
  font-size: 11.5px;
  color: var(--ink-4);
}
.recon-card--match {
  min-width: 240px;
}
.match-meter {
  position: relative;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  margin: 4px 0 4px;
}
.match-meter__bar {
  position: absolute;
  inset: 0;
  right: auto;
  background:
    linear-gradient(
      90deg,
      #00B5E2,
      #10B981);
  border-radius: 4px;
  transition: width 320ms cubic-bezier(.2, .8, .2, 1);
}
.match-meter__pct {
  position: absolute;
  right: 6px;
  top: -4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-1);
}
.recon-spacer {
  flex: 1;
}
.recon-strip .chip-btn,
.recon-strip .primary-btn {
  align-self: center;
}
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-bar__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: var(--r-control);
  border: 1px solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
}
.filter-bar__search:focus-within {
  background: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.12);
}
.filter-bar__search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--ink-1);
}
.filter-bar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.date-range,
.amt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-control);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  box-shadow: 0 1px 2px rgba(0, 34, 68, 0.03);
}
.date-range eas-icon,
.amt eas-icon {
  color: var(--ink-4);
}
.date-range input,
.amt input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  font-family: inherit;
  width: 110px;
}
.amt input {
  width: 70px;
}
.date-range span,
.amt span {
  color: var(--ink-4);
  font-size: 11.5px;
  font-weight: 500;
}
.ms {
  position: relative;
}
.ms__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: border-color 140ms ease, color 140ms ease;
}
.ms__trigger:hover {
  border-color: var(--cyan);
}
.ms__trigger.is-active {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--brand-deep);
}
.ms__count {
  background: var(--cyan);
  color: var(--brand-deep);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}
.ms__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 240px;
  max-height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-pop);
  z-index: 50;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: msIn 180ms cubic-bezier(.2, .8, .2, 1);
}
@keyframes msIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ms__menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--ink-4);
  font-weight: 600;
}
.ms__clear {
  color: var(--cyan-strong);
  font-size: 11.5px;
  font-weight: 600;
}
.ms__list {
  overflow-y: auto;
  padding: 4px;
  flex: 1;
}
.ms__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink-2);
  -webkit-user-select: none;
  user-select: none;
}
.ms__opt:hover {
  background: var(--bg);
}
.ms__opt input {
  display: none;
}
.ms__check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #fff;
  transition: all 140ms ease;
}
.ms__check .material-symbols-rounded {
  opacity: 0;
  color: #fff;
  font-weight: 700;
}
.ms__check.is-checked {
  background: var(--cyan);
  border-color: var(--cyan);
}
.ms__check.is-checked .material-symbols-rounded {
  opacity: 1;
}
.ms__opt[aria-selected=true] .ms__check {
  background: var(--cyan);
  border-color: var(--cyan);
}
.ms__opt[aria-selected=true] .ms__check .material-symbols-rounded {
  opacity: 1;
}
.records-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 12.5px;
}
.records-table__header,
.records-table__row {
  display: grid;
  grid-template-columns: 80px 60px 90px 140px 100px 100px 110px minmax(140px, 1fr) minmax(140px, 1.2fr) 130px 110px 90px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.records-table__header {
  background: #FAFBFC;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1;
}
.records-table__row {
  border-bottom: 1px solid var(--line-2);
  transition: background 120ms ease;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-1);
}
.records-table__row:hover {
  background: var(--cyan-soft);
}
.records-table__row.is-zebra {
  background: #FCFCFD;
}
.records-table__row.is-zebra:hover {
  background: var(--cyan-soft);
}
.records-table .num,
.tx-table .num {
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.muted {
  color: var(--ink-4);
}
.muted.small {
  font-size: 11px;
}
.strong {
  font-weight: 600;
  color: var(--ink-1);
}
.mono {
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 12px;
  color: var(--ink-2);
}
.flight-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  font-feature-settings: "tnum";
}
.day-group {
  border-bottom: 1px solid var(--line-2);
}
.day-group:last-child {
  border-bottom: none;
}
.day-group__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background:
    linear-gradient(
      180deg,
      #F4F8FB 0%,
      #EDF3F7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease;
}
.day-group:first-child .day-group__header {
  border-top: none;
}
.day-group__header:hover {
  background:
    linear-gradient(
      180deg,
      #EAF2F7 0%,
      #DDE9F0 100%);
}
.day-group__caret {
  transition: transform 200ms cubic-bezier(.2, .8, .2, 1);
  color: var(--brand-deep);
  transform: rotate(90deg);
}
.day-group__header.is-collapsed .day-group__caret {
  transform: rotate(0);
}
.day-group__day {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--brand-deep);
}
.day-group__rel {
  font-size: 11px;
  color: var(--cyan-strong);
  background: #fff;
  padding: 2px 8px;
  border-radius: var(--r-tag);
  border: 1px solid rgba(0, 181, 226, 0.25);
  font-weight: 600;
}
.day-group__count {
  font-size: 11.5px;
  color: var(--ink-4);
  font-weight: 500;
}
.day-group__spacer {
  flex: 1;
}
.day-group__metric {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-1);
  font-feature-settings: "tnum";
}
.day-group__metric .muted {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.day-group__metric--total {
  color: var(--brand-deep);
  font-size: 13.5px;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-tag);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.badge--violet {
  background: #F3EEFF;
  color: #6D28D9;
  border-color: #E9DDFF;
}
.badge--slate {
  background: #EEF1F5;
  color: #475569;
  border-color: #E5E8EE;
}
.badge--cyan {
  background: #E0F7FE;
  color: #0369A1;
  border-color: #B9EAFB;
}
.badge--emerald {
  background: #DCFCE7;
  color: #047857;
  border-color: #BBF7D0;
}
.badge--amber {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}
.badge--rose {
  background: #FFE4E6;
  color: #BE123C;
  border-color: #FECDD3;
}
.row-actions {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
}
.icon-mini {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--ink-4);
  transition: background 140ms ease, color 140ms ease;
}
.icon-mini:hover {
  background: var(--cyan-soft);
  color: var(--cyan-strong);
}
.empty-state {
  padding: 60px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-4);
  font-size: 13px;
}
.link {
  color: var(--cyan-strong);
  font-weight: 600;
  cursor: pointer;
}
.link:hover {
  color: var(--brand-deep);
}
.tx-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 12.5px;
}
.tx-table__header,
.tx-table__row {
  display: grid;
  grid-template-columns: 110px 140px minmax(120px, 1fr) 140px 110px 70px 120px 80px 44px;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
}
.tx-table__header {
  background: #FAFBFC;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.tx-table__row {
  border-bottom: 1px solid var(--line-2);
  transition: background 120ms ease;
}
.tx-table__row:hover {
  background: var(--cyan-soft);
}
.tx-table__row.is-zebra {
  background: #FCFCFD;
}
.tx-id {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.tx-id__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--ink-2);
}
.tx-id__copy {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.cell-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.type-dot {
  width: 24px;
  height: 24px;
  background: var(--cyan-soft);
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.amt-in {
  color: #059669;
}
.amt-out {
  color: #DC2626;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-tag);
  font-size: 12px;
  color: var(--ink-2);
}
.filter-chip.is-active {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--brand-deep);
}
.filter-chip__x {
  display: inline-grid;
  place-items: center;
  color: var(--ink-4);
  cursor: pointer;
}
.filter-chip__x:hover {
  color: var(--bad);
}

/* src/eas-pages.css */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
}
.page-header__title {
  margin: 0;
  font-size: 20px;
  color: var(--ink-1);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.page-header__sub {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  max-width: 760px;
  line-height: 1.5;
}
.page-header__sub code {
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--brand-deep);
}
.page-header__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.panel__body {
  padding: 18px 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.field--full {
  grid-column: span 2;
}
.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}
.field input,
.field select,
.field textarea,
.select,
.textarea {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-1);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-control);
  padding: 9px 11px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover,
.select:hover,
.textarea:hover {
  border-color: var(--cyan);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.select:focus,
.textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.12);
}
.field--inline input {
  padding: 5px 8px;
  max-width: 110px;
}
.select--inline {
  padding: 5px 28px 5px 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' stroke='%23475569' stroke-width='1.5' fill='none'/></svg>") no-repeat right 8px center / 14px, #fff;
}
.select {
  padding: 8px 32px 8px 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' stroke='%23475569' stroke-width='1.5' fill='none'/></svg>") no-repeat right 10px center / 14px, #fff;
}
.textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px;
}
.invoicing-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}
.catalog-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--ink-4);
  flex-wrap: wrap;
}
.chip-btn--mini {
  padding: 4px 8px;
  font-size: 11.5px;
}
.picker {
  border-top: 1px solid var(--line-2);
  background: #FAFBFC;
  max-height: 280px;
  overflow-y: auto;
}
.picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
}
.picker__list {
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.picker__row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  text-align: left;
  transition: border-color 140ms ease, background 140ms ease;
}
.picker__row:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}
.picker__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.picker__add {
  color: var(--cyan-strong);
}
.invoicing-lines {
  padding: 0;
}
.invoicing-lines__header,
.invoicing-lines__row {
  display: grid;
  grid-template-columns: 32px minmax(220px, 1fr) 80px 110px 80px 120px 32px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
}
.invoicing-lines__header {
  background: #FAFBFC;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.invoicing-lines__row {
  border-bottom: 1px solid var(--line-2);
}
.invoicing-lines__row:last-child {
  border-bottom: none;
}
.line-desc {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.line-desc input {
  flex: 1;
  min-width: 120px;
  font-size: 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--ink-1);
  transition: border-color 140ms ease, background 140ms ease;
}
.line-desc input:hover,
.line-desc input:focus {
  background: #fff;
  border-color: var(--line);
  outline: none;
}
.line-desc input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.12);
}
.cell-num {
  width: 100%;
  text-align: right;
  font-feature-settings: "tnum";
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--ink-1);
  font-size: 13px;
}
.cell-num:hover,
.cell-num:focus {
  background: #fff;
  border-color: var(--line);
  outline: none;
}
.cell-num:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.12);
}
.invoicing-totals {
  background: #FAFBFC;
  border-top: 1px solid var(--line-2);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.invoicing-totals__row {
  display: flex;
  justify-content: space-between;
  width: 280px;
  font-size: 13px;
  color: var(--ink-3);
}
.invoicing-totals__row strong {
  color: var(--ink-1);
  font-feature-settings: "tnum";
}
.invoicing-totals__row--big {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.invoicing-totals__row--big strong {
  color: var(--brand-deep);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.invoices-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 12.5px;
}
.invoices-table__header,
.invoices-table__row {
  display: grid;
  grid-template-columns: 150px 110px 110px minmax(220px, 1.4fr) 140px 60px 130px 100px 90px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
}
.invoices-table__header {
  background: #FAFBFC;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.invoices-table__row {
  border-bottom: 1px solid var(--line-2);
  transition: background 120ms ease;
}
.invoices-table__row:hover {
  background: var(--cyan-soft);
}
.invoices-table__row.is-zebra {
  background: #FCFCFD;
}
.invoices-table__row span:nth-child(4) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filter-bar__search--inline {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--r-control);
  min-width: 220px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}
.catalog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
  border-color: rgba(0, 181, 226, 0.4);
}
.catalog-card.is-disabled {
  opacity: 0.55;
}
.catalog-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-card__icon {
  width: 36px;
  height: 36px;
  background: var(--cyan-soft);
  color: var(--cyan-strong);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.catalog-card__code {
  flex: 1;
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
  background: var(--bg);
  padding: 3px 8px;
  border-radius: var(--r-tag);
}
.catalog-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
}
.catalog-card__desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
}
.catalog-card__fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.catalog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}
.catalog-card__price {
  font-weight: 700;
  color: var(--brand-deep);
  font-size: 14px;
  font-feature-settings: "tnum";
}
.switch {
  display: inline-block;
  position: relative;
  width: 36px;
  height: 20px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch span {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 160ms ease;
  cursor: pointer;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 180ms cubic-bezier(.2, .8, .2, 1);
}
.switch input:checked + span {
  background: var(--cyan);
}
.switch input:checked + span::after {
  transform: translateX(16px);
}
.settings-tabs {
  margin-top: -4px;
}
.perm-matrix {
  padding: 0 6px 12px;
  font-size: 12.5px;
}
.perm-matrix__head {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, 180px);
  gap: 8px;
  align-items: end;
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--line);
  background: #FAFBFC;
  position: sticky;
  top: 0;
  z-index: 1;
}
.perm-matrix__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.perm-matrix__role {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.perm-matrix__role strong {
  font-size: 12px;
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.perm-matrix__role small {
  font-size: 11px;
  color: var(--ink-4);
  line-height: 1.35;
  font-weight: 400;
}
.perm-matrix__group {
  padding: 10px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background:
    linear-gradient(
      180deg,
      #FAFBFC 0%,
      #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.perm-matrix__row {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, 180px);
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-2);
}
.perm-matrix__row:hover {
  background: var(--bg);
}
.perm-matrix__perm {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.perm-matrix__perm-label {
  color: var(--ink-1);
  font-weight: 500;
}
.perm-matrix__perm code {
  font-family:
    "SFMono-Regular",
    ui-monospace,
    Menlo,
    monospace;
  font-size: 11px;
  color: var(--ink-4);
  background: transparent;
  padding: 0;
}
.perm-cell {
  justify-self: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--ink-4);
  border: 1px solid var(--line-2);
  transition: all 140ms ease;
}
.perm-cell:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--cyan-strong);
}
.perm-cell.is-on {
  background: var(--cyan);
  color: var(--brand-deep);
  border-color: var(--cyan);
  box-shadow: 0 1px 3px rgba(0, 181, 226, 0.4);
}
.perm-cell.is-on:hover {
  background: var(--cyan-strong);
  color: #fff;
}
.users-table {
  font-size: 13px;
}
.users-table__header,
.users-table__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1.4fr) 160px 120px 120px;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
}
.users-table__header {
  background: #FAFBFC;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.users-table__row {
  border-bottom: 1px solid var(--line-2);
  transition: background 120ms ease;
}
.users-table__row:hover {
  background: var(--cyan-soft);
}
.users-table__row.is-zebra {
  background: #FCFCFD;
}
.users-table__row span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 10.5px;
  background:
    linear-gradient(
      135deg,
      var(--cyan) 0%,
      var(--cyan-strong) 100%);
  color: var(--brand-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .invoicing-grid {
    grid-template-columns: 1fr;
  }
  .invoices-table__header,
  .invoices-table__row {
    grid-template-columns: 130px 100px 100px minmax(180px, 1fr) 100px 50px 110px 90px 80px;
  }
  .perm-matrix__head,
  .perm-matrix__row {
    grid-template-columns: minmax(220px, 2fr) repeat(3, 130px);
  }
}

/* node_modules/@angular/cdk/overlay-prebuilt.css */
.cdk-overlay-container,
.cdk-global-overlay-wrapper {
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.cdk-overlay-container {
  position: fixed;
  z-index: 1000;
}
.cdk-overlay-container:empty {
  display: none;
}
.cdk-global-overlay-wrapper {
  display: flex;
  position: absolute;
  z-index: 1000;
}
.cdk-overlay-pane {
  position: absolute;
  pointer-events: auto;
  box-sizing: border-box;
  display: flex;
  max-width: 100%;
  max-height: 100%;
  z-index: 1000;
}
.cdk-overlay-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  opacity: 0;
  touch-action: manipulation;
  z-index: 1000;
  transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
@media (prefers-reduced-motion) {
  .cdk-overlay-backdrop {
    transition-duration: 1ms;
  }
}
.cdk-overlay-backdrop-showing {
  opacity: 1;
}
@media (forced-colors: active) {
  .cdk-overlay-backdrop-showing {
    opacity: .6;
  }
}
.cdk-overlay-dark-backdrop {
  background: rgba(0, 0, 0, .32);
}
.cdk-overlay-transparent-backdrop {
  transition: visibility 1ms linear, opacity 1ms linear;
  visibility: hidden;
  opacity: 1;
}
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,
.cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
  opacity: 0;
  visibility: visible;
}
.cdk-overlay-backdrop-noop-animation {
  transition: none;
}
.cdk-overlay-connected-position-bounding-box {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 1px;
  min-height: 1px;
  z-index: 1000;
}
.cdk-global-scrollblock {
  position: fixed;
  width: 100%;
  overflow-y: scroll;
}

/* src/styles.css */

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
