/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #ececef;
  --surface: #fff;
  --surface-2: #f6f6f8;
  --border: #dedee3;
  --border-strong: #c4c4cc;
  --text: #15151a;
  --text-muted: #5e5e69;
  --primary: #1d1d24;
  --primary-hover: #35353f;
  --primary-contrast: #fafafa;
  --primary-soft: #e8e8ec;
  --info-soft: #e8e8ec;
  --info-text: #1d1d24;
  --neutral-soft: #efeff2;
  --neutral-text: #3d3d47;
  --focus: #4f4f5c;
  --accent: #b8955a;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #3a3a45 0%, #121217 100%);
  --sb-bg: linear-gradient(180deg, #1c1c22 0%, #0d0d11 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #a9a9b6;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #14141e12, 0 16px 36px -16px #14141e3d;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --danger-text: #8a1a11;
  --warning-soft: #fff4e0;
  --warning-text: #8a4b00;
  --success-soft: #e3f5ea;
  --success-text: #0f6b34;
  --radius: 12px;
  --sidebar-w: 248px;
  --serif: "Playfair Display", "Bodoni MT", Didot, "Palatino Linotype", Georgia, serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:root[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #08080a;
  --surface: #131318;
  --surface-2: #1a1a20;
  --border: #2a2a32;
  --border-strong: #3e3e48;
  --text: #f3f3f5;
  --text-muted: #a0a0ad;
  --primary: #e6e6ea;
  --primary-hover: #fff;
  --primary-contrast: #0b0b0e;
  --primary-soft: #24242b;
  --info-soft: #24242b;
  --info-text: #e6e6ea;
  --neutral-soft: #202027;
  --neutral-text: #d0d0d8;
  --focus: #c8a96a;
  --accent: #c8a96a;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #f4f4f7 0%, #c3c3cc 100%);
  --sb-bg: linear-gradient(180deg, #0f0f13 0%, #050507 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #9a9aa8;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #00000080, 0 16px 36px -16px #000000b3;
  --danger: #ff8a7d;
  --danger-soft: #3a1b18;
  --danger-text: #ffb4ab;
  --warning-soft: #3a2a10;
  --warning-text: #ffcb7a;
  --success-soft: #11301f;
  --success-text: #7fdca2;
}

.app-root[data-company="LUNA"] {
  --bg: #ececef;
  --surface: #fff;
  --surface-2: #f6f6f8;
  --border: #dedee3;
  --border-strong: #c4c4cc;
  --text: #15151a;
  --text-muted: #5e5e69;
  --primary: #1d1d24;
  --primary-hover: #35353f;
  --primary-contrast: #fafafa;
  --primary-soft: #e8e8ec;
  --info-soft: #e8e8ec;
  --info-text: #1d1d24;
  --neutral-soft: #efeff2;
  --neutral-text: #3d3d47;
  --focus: #4f4f5c;
  --accent: #b8955a;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #3a3a45 0%, #121217 100%);
  --sb-bg: linear-gradient(180deg, #1c1c22 0%, #0d0d11 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #a9a9b6;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #14141e12, 0 16px 36px -16px #14141e3d;
}

:root[data-theme="dark"] .app-root[data-company="LUNA"] {
  --bg: #08080a;
  --surface: #131318;
  --surface-2: #1a1a20;
  --border: #2a2a32;
  --border-strong: #3e3e48;
  --text: #f3f3f5;
  --text-muted: #a0a0ad;
  --primary: #e6e6ea;
  --primary-hover: #fff;
  --primary-contrast: #0b0b0e;
  --primary-soft: #24242b;
  --info-soft: #24242b;
  --info-text: #e6e6ea;
  --neutral-soft: #202027;
  --neutral-text: #d0d0d8;
  --focus: #c8a96a;
  --accent: #c8a96a;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #f4f4f7 0%, #c3c3cc 100%);
  --sb-bg: linear-gradient(180deg, #0f0f13 0%, #050507 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #9a9aa8;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #00000080, 0 16px 36px -16px #000000b3;
}

.app-root[data-company="BEQ"] {
  --bg: #f3effb;
  --surface: #fff;
  --surface-2: #f9f7fe;
  --border: #e4dcf5;
  --border-strong: #cbbde9;
  --text: #1f1536;
  --text-muted: #675b85;
  --primary: #5b21b6;
  --primary-hover: #4c1d95;
  --primary-contrast: #fff;
  --primary-soft: #ece4fa;
  --info-soft: #ece4fa;
  --info-text: #4c1d95;
  --neutral-soft: #efeaf8;
  --neutral-text: #473b66;
  --focus: #7c3aed;
  --accent: #c9a45c;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
  --sb-bg: linear-gradient(180deg, #2b1259 0%, #170a35 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #bcaee0;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #3c147814, 0 16px 36px -16px #3c147847;
}

:root[data-theme="dark"] .app-root[data-company="BEQ"] {
  --bg: #0f0a18;
  --surface: #181022;
  --surface-2: #20172e;
  --border: #31254a;
  --border-strong: #4a3a6c;
  --text: #f3edfc;
  --text-muted: #b3a5d1;
  --primary: #b79cff;
  --primary-hover: #cdb9ff;
  --primary-contrast: #150a29;
  --primary-soft: #2b1f46;
  --info-soft: #2b1f46;
  --info-text: #cdb9ff;
  --neutral-soft: #281e3e;
  --neutral-text: #d9cdef;
  --focus: #cdb9ff;
  --accent: #d9b86f;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #c9b3ff 0%, #8b5cf6 100%);
  --sb-bg: linear-gradient(180deg, #150d26 0%, #0a0614 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #a898cc;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #00000080, 0 16px 36px -16px #000000b3;
}

.app-root[data-company="FLUNA"] {
  --bg: #faf1e6;
  --surface: #fff;
  --surface-2: #fcf6ee;
  --border: #ecdcc8;
  --border-strong: #dac2a4;
  --text: #3a2415;
  --text-muted: #7d6450;
  --primary: #c2410c;
  --primary-hover: #9a3412;
  --primary-contrast: #fff;
  --primary-soft: #fbe6d0;
  --info-soft: #fbe6d0;
  --info-text: #9a3412;
  --neutral-soft: #f4ebdf;
  --neutral-text: #5b4636;
  --focus: #ea580c;
  --accent: #d6a24e;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #ee6c1b 0%, #b0360a 100%);
  --sb-bg: linear-gradient(180deg, #4a2110 0%, #26100a 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #e0b99a;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #78320a14, 0 16px 36px -16px #78320a47;
}

:root[data-theme="dark"] .app-root[data-company="FLUNA"] {
  --bg: #150e09;
  --surface: #1f150e;
  --surface-2: #281c13;
  --border: #3a2a1d;
  --border-strong: #55402d;
  --text: #f7ebdd;
  --text-muted: #bfa58f;
  --primary: #fb9a4b;
  --primary-hover: #fdb878;
  --primary-contrast: #1d0e04;
  --primary-soft: #3a2414;
  --info-soft: #3a2414;
  --info-text: #fdb878;
  --neutral-soft: #30231a;
  --neutral-text: #e0cdb8;
  --focus: #fdb878;
  --accent: #e8b865;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #ffb870 0%, #f0701c 100%);
  --sb-bg: linear-gradient(180deg, #1e120a 0%, #0e0805 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #c9a78a;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #00000080, 0 16px 36px -16px #000000b3;
}

.app-root[data-company="BEL"] {
  --bg: #eef2f9;
  --surface: #fff;
  --surface-2: #f5f8fd;
  --border: #d9e2f0;
  --border-strong: #b8c8e0;
  --text: #101d36;
  --text-muted: #53648a;
  --primary: #1b3a73;
  --primary-hover: #132c5a;
  --primary-contrast: #fff;
  --primary-soft: #dfe8f7;
  --info-soft: #dfe8f7;
  --info-text: #1b3a73;
  --neutral-soft: #e7edf6;
  --neutral-text: #37486a;
  --focus: #2f5bb0;
  --accent: #9fb7e3;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #2f5cae 0%, #12295a 100%);
  --sb-bg: linear-gradient(180deg, #0f2650 0%, #071428 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #a9bbdb;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #0f235a14, 0 16px 36px -16px #0f235a47;
}

:root[data-theme="dark"] .app-root[data-company="BEL"] {
  --bg: #070e1b;
  --surface: #0d1727;
  --surface-2: #132033;
  --border: #20324d;
  --border-strong: #334a6c;
  --text: #e8eef9;
  --text-muted: #9db0d0;
  --primary: #86abea;
  --primary-hover: #a8c3f2;
  --primary-contrast: #05101f;
  --primary-soft: #172942;
  --info-soft: #172942;
  --info-text: #a8c3f2;
  --neutral-soft: #172438;
  --neutral-text: #c6d3ea;
  --focus: #a8c3f2;
  --accent: #b6c8ea;
  --accent-contrast: #1a1305;
  --grad: linear-gradient(135deg, #a3c1f4 0%, #5f8ee0 100%);
  --sb-bg: linear-gradient(180deg, #0a1730 0%, #040a16 100%);
  --sb-text: #f5f5f8;
  --sb-muted: #9aadce;
  --sb-hover: #ffffff14;
  --sb-active: #ffffff21;
  --sb-border: #ffffff14;
  --shadow: 0 1px 2px #00000080, 0 16px 36px -16px #000000b3;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font: 15px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  margin: 0;
}

.app-root {
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--primary) 8%, var(--surface)) 0%, var(--bg) 70%) fixed, var(--bg);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.25;
}

h1, h2, .brand {
  font-family: var(--serif);
  letter-spacing: -.01em;
}

h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.1rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 .75rem;
}

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--primary-hover);
}

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

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

.skip-link {
  z-index: 100;
  background: var(--primary);
  color: var(--primary-contrast);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  position: absolute;
  top: -4rem;
  left: .5rem;
}

.skip-link:focus {
  top: .5rem;
}

.muted {
  color: var(--text-muted);
}

.mono {
  font-family: var(--mono);
  font-size: .9em;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.stack > * + * {
  margin-top: 1rem;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.row.between {
  justify-content: space-between;
}

.grow {
  flex: auto;
}

.shell {
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--sb-bg);
  border-right: 1px solid var(--sb-border);
  height: 100vh;
  padding: 1rem .75rem;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

.brand-company {
  font-family: var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  display: block;
}

.brand-text {
  line-height: 1.15;
  display: grid;
}

.brand {
  color: var(--sb-text);
  align-items: center;
  gap: .6rem;
  padding: .25rem .5rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.logo-mark {
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: radial-gradient(circle at 66% 34%, var(--accent) 0 16%, transparent 17%), var(--grad);
  width: 2.1rem;
  height: 2.1rem;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--primary) 55%, transparent);
  border-radius: 10px;
  flex: none;
}

.logo-mark.lg {
  border-radius: 14px;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem;
}

.eyebrow {
  text-align: center;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 .6rem;
  font-size: .68rem;
  font-weight: 700;
}

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

.nav a {
  border-radius: var(--radius);
  color: var(--sb-muted);
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.nav a:hover {
  background: var(--sb-hover);
  color: var(--sb-text);
}

.nav a[aria-current="page"] {
  background: var(--sb-active);
  color: var(--sb-text);
  box-shadow: inset 3px 0 0 var(--accent);
  font-weight: 600;
}

.nav-count {
  text-align: center;
  background: var(--accent);
  min-width: 1.4rem;
  color: var(--accent-contrast);
  border-radius: 999px;
  padding: 0 .4rem;
  font-size: .75rem;
  font-weight: 700;
}

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

.topbar {
  background: linear-gradient(90deg, var(--accent), var(--primary)) top / 100% 3px no-repeat, color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  align-items: center;
  gap: .75rem;
  padding: calc(.6rem + 3px) 1.25rem .6rem;
  display: flex;
  position: sticky;
  top: 0;
}

.topbar .spacer {
  flex: 1;
}

.company-chip {
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  background: var(--primary-soft);
  color: var(--text);
  border-radius: 999px;
  align-items: center;
  gap: .5rem;
  padding: .3rem .8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.icon-btn {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 2.25rem;
  height: 2.25rem;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 0 .6rem;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.icon-btn:hover {
  background: var(--surface-2);
}

.badge-dot {
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  margin-left: .35rem;
  padding: 0 .4rem;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.3;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.nav-scrim {
  display: none;
}

.nav-toggle {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.nav-burger {
  display: none;
}

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

  .sidebar {
    z-index: 30;
    width: min(80vw, 280px);
    box-shadow: var(--shadow);
    transition: transform .2s;
    position: fixed;
    inset: 0 auto 0 0;
    transform: translateX(-100%);
  }

  .nav-toggle:checked ~ .shell .sidebar {
    transform: none;
  }

  .nav-toggle:focus-visible ~ .shell .nav-burger {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
  }

  .nav-burger {
    display: inline-flex;
  }

  .nav-scrim {
    display: none;
  }

  .nav-toggle:checked ~ .shell .nav-scrim {
    z-index: 20;
    background: #0006;
    display: block;
    position: fixed;
    inset: 0;
  }

  .content {
    padding: 1rem .9rem 2.5rem;
  }
}

.breadcrumbs {
  color: var(--text-muted);
  margin-bottom: .5rem;
  font-size: .85rem;
}

.breadcrumbs ol {
  flex-wrap: wrap;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.breadcrumbs li + li:before {
  content: "/";
  color: var(--border-strong);
  margin-right: .25rem;
}

.page-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.page-header p {
  color: var(--text-muted);
  margin: .25rem 0 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.kpi {
  border-top: 2px solid color-mix(in srgb, var(--accent) 70%, var(--border));
}

.card-body {
  padding: 1rem 1.1rem;
}

.card-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.1rem;
  display: flex;
}

.grid {
  gap: 1rem;
  display: grid;
}

.grid.kpis {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.kpi {
  padding: .9rem 1rem;
}

.kpi .label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .8rem;
}

.kpi .value {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  font-size: 1.7rem;
  font-weight: 700;
}

.kpi a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.kpi a:hover .value {
  color: var(--primary);
}

progress {
  background: var(--surface-2);
  width: 100%;
  height: .6rem;
  accent-color: var(--primary);
  border: 0;
  border-radius: 999px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: var(--surface-2);
}

progress::-webkit-progress-value {
  background: var(--primary);
}

progress::-moz-progress-bar {
  background: var(--primary);
}

progress.warn::-webkit-progress-value {
  background: var(--danger);
}

progress.warn::-moz-progress-bar {
  background: var(--danger);
}

.company-select {
  background: var(--primary-soft);
  border-color: var(--border-strong);
  width: auto;
  min-width: 11rem;
  font-weight: 600;
}

.theme-toggle {
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--primary-soft);
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--accent);
}

.theme-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 1.15rem;
  height: 1.15rem;
}

.btn {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  min-height: 2.35rem;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn.primary {
  background: var(--grad);
  border-color: color-mix(in srgb, var(--primary) 80%, #000);
  color: var(--primary-contrast);
}

.btn.primary:hover {
  background: var(--grad);
  filter: brightness(1.1);
  color: var(--primary-contrast);
}

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

.btn.danger:hover {
  filter: brightness(.92);
  color: #fff;
}

.btn.ghost {
  background: none;
  border-color: #0000;
}

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
}

.btn.block {
  width: 100%;
}

.btn.primary.block {
  text-transform: uppercase;
  letter-spacing: .1em;
  min-height: 2.9rem;
  font-size: .8rem;
}

.btn.primary {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 25%, transparent);
}

.field {
  gap: .3rem;
  margin-bottom: 1rem;
  display: grid;
}

.field label, .field .label {
  font-size: .9rem;
  font-weight: 600;
}

.field .hint {
  color: var(--text-muted);
  font-size: .82rem;
}

.field .error {
  color: var(--danger);
  font-size: .85rem;
  font-weight: 600;
}

.input, .select, .textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: .55rem .7rem;
}

.textarea {
  resize: vertical;
  min-height: 6rem;
}

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 1rem;
  display: grid;
}

.form-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  margin-top: .5rem;
  display: flex;
}

.toolbar {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: end;
  gap: .6rem;
  padding: .8rem 1rem;
  display: flex;
}

.toolbar .field {
  min-width: 160px;
  margin: 0;
}

.toolbar .field.grow {
  flex: 220px;
}

.stepper {
  counter-reset: step;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
}

.stepper li {
  counter-increment: step;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
  border-radius: 999px;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  display: flex;
}

.stepper li:before {
  content: counter(step);
  background: var(--surface-2);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1.4rem;
  height: 1.4rem;
  font-size: .8rem;
  display: inline-flex;
}

.stepper li[aria-current="step"] {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.stepper li[aria-current="step"]:before {
  background: var(--primary);
  color: var(--primary-contrast);
}

.stepper li.done:before {
  content: "✓";
  background: var(--success-soft);
  color: var(--success-text);
}

[hidden] {
  display: none !important;
}

.summary {
  grid-template-columns: max-content 1fr;
  gap: .4rem 1.25rem;
  margin: 0;
  display: grid;
}

.summary dt {
  color: var(--text-muted);
}

.summary dd {
  overflow-wrap: anywhere;
  margin: 0;
}

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

table.table {
  border-collapse: collapse;
  width: 100%;
}

.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  padding: .65rem 1rem;
}

.table th {
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
  background: var(--surface-2);
  white-space: nowrap;
  font-size: .78rem;
}

.table th a {
  color: inherit;
  text-decoration: none;
}

.table th a:hover {
  color: var(--text);
}

.table th[aria-sort="ascending"] a:after {
  content: " ▲";
}

.table th[aria-sort="descending"] a:after {
  content: " ▼";
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.table td.num, .table th.num {
  text-align: right;
}

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

.pagination {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  display: flex;
}

.badge {
  white-space: nowrap;
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .78rem;
  font-weight: 700;
  display: inline-block;
}

.badge.neutral {
  background: var(--neutral-soft);
  color: var(--neutral-text);
}

.badge.info {
  background: var(--info-soft);
  color: var(--info-text);
}

.badge.warning {
  background: var(--warning-soft);
  color: var(--warning-text);
}

.badge.success {
  background: var(--success-soft);
  color: var(--success-text);
}

.badge.danger {
  background: var(--danger-soft);
  color: var(--danger-text);
}

.alert {
  border-radius: var(--radius);
  border: 1px solid;
  margin-bottom: 1rem;
  padding: .7rem .9rem;
}

.alert.danger {
  background: var(--danger-soft);
  color: var(--danger-text);
  border-color: var(--danger);
}

.alert.success {
  background: var(--success-soft);
  color: var(--success-text);
  border-color: var(--success-text);
}

.alert.info {
  background: var(--info-soft);
  color: var(--info-text);
  border-color: var(--primary);
}

.empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem;
}

.empty h3 {
  color: var(--text);
  margin-bottom: .35rem;
}

.empty .btn {
  margin-top: .75rem;
}

details.confirm {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

details.confirm > summary {
  cursor: pointer;
  padding: .6rem .9rem;
  font-weight: 600;
  list-style: none;
}

details.confirm > summary::-webkit-details-marker {
  display: none;
}

details.confirm[open] > summary {
  border-bottom: 1px solid var(--border);
}

details.confirm .confirm-body {
  padding: .9rem;
}

details.confirm.danger > summary {
  color: var(--danger);
}

.timeline {
  border-left: 2px solid var(--border);
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 0 0 1rem 1.1rem;
  position: relative;
}

.timeline li:before {
  content: "";
  background: var(--border-strong);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: .35rem;
  left: -6px;
}

.timeline li.approved:before {
  background: var(--success-text);
}

.timeline li.rejected:before {
  background: var(--danger);
}

.timeline li.returned:before {
  background: var(--warning-text);
}

.timeline .meta {
  color: var(--text-muted);
  font-size: .85rem;
}

.timeline blockquote {
  background: var(--surface-2);
  border-radius: var(--radius);
  margin: .35rem 0 0;
  padding: .4rem .7rem;
}

.notif-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notif-list li {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  display: flex;
}

.notif-list li:last-child {
  border-bottom: 0;
}

.notif-list li.unread {
  background: var(--primary-soft);
}

.auth-wrap {
  background: radial-gradient(900px 500px at 50% 0%, color-mix(in srgb, var(--primary) 10%, var(--surface)), transparent 70%);
  place-items: center;
  min-height: 100vh;
  padding: 1.5rem;
  display: grid;
}

.auth-card {
  text-align: left;
  border-radius: 16px;
  width: min(460px, 100%);
}

.auth-card .card-body {
  padding: 2rem 1.75rem;
}

.auth-card h1 {
  text-align: center;
  margin-bottom: .5rem;
  font-size: 2rem;
}

.auth-card .lead {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card .field label {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}

.auth-card .input {
  background: var(--surface-2);
  padding: .75rem .9rem;
}

.auth-foot {
  border-top: 1px solid var(--border);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: .7rem;
}

.demo-box {
  border-top: 1px dashed var(--border-strong);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.demo-box .row {
  gap: .5rem;
}

.company-list {
  gap: .65rem;
  margin: 0 0 .5rem;
  padding: 0;
  list-style: none;
  display: grid;
}

.company-item {
  text-align: left;
  width: 100%;
  font: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  gap: .85rem;
  padding: .8rem .9rem;
  display: flex;
}

.company-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.company-item.active {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.company-item .mono-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  width: 2.5rem;
  height: 2.5rem;
  font-family: var(--serif);
  border-radius: 10px;
  flex: none;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.company-item.active .mono-badge {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
}

.company-item .name {
  font-weight: 600;
  display: block;
}

.company-item .code {
  color: var(--text-muted);
  font-size: .75rem;
}

.company-item .chev {
  color: var(--primary);
  margin-left: auto;
  font-weight: 700;
}

.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%);
  border-radius: var(--radius);
  background-size: 400% 100%;
  animation: 1.4s infinite shimmer;
}

.skeleton.line {
  height: 1rem;
  margin-bottom: .6rem;
}

.skeleton.block {
  height: 5rem;
}

@keyframes shimmer {
  0% {
    background-position: 100%;
  }

  100% {
    background-position: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }

  .sidebar {
    transition: none;
  }
}

/*# sourceMappingURL=src_app_globals_162hn9oqc8uss.css.map*/