/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --forest: #03241a;
  --green: #1b3a2f;
  --gold: #ffc657;
  --bg: #e9ffee;
  --surface: #fff;
  --line: #dce8df;
  --muted: #687870;
  --soft: #e1fae7;
  --text: #0b1f15;
  --danger: #742226;
  --danger-hover: #88292f;
  --danger-border: #5c1a1e;
  --danger-ghost-bg: #fcf2f0;
  --danger-ghost-border: #e9cecc;
  --danger-ghost-text: #792328;
  --danger-ghost-hover: #f4dedc;
  --serif: "Playfair Display",Georgia,serif;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--text);
  background: var(--bg);
  margin: 0;
  font: 14px / 1.55 Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, .button {
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-weight: 600;
  transition: background .18s, transform .18s, border-color .18s, box-shadow .18s;
  display: inline-flex;
}

button:hover, .button:hover {
  filter: brightness(1.08);
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

button:focus-visible, a:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #c9962b;
}

input, select, textarea {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--text);
  background: #fff;
  border-radius: 4px;
  outline: none;
  min-height: 42px;
  padding: 10px 12px;
}

input:focus, select:focus, textarea:focus {
  border-color: #3d6a51;
  box-shadow: 0 0 0 3px #c9962b25;
}

textarea {
  resize: vertical;
  min-height: 82px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  margin-bottom: 8px;
  font-size: 36px;
}

h2 {
  margin-bottom: 12px;
  font-size: 25px;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

p {
  margin-bottom: 16px;
}

small {
  font-size: 11px;
}

strong {
  font-weight: 600;
}

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

.small {
  font-size: 12px;
}

.center {
  text-align: center;
}

.full {
  width: 100%;
}

.gold {
  background: var(--gold);
  color: var(--forest);
}

.soft {
  background: var(--soft);
  color: var(--forest);
}

.danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger-border);
  box-shadow: 0 1px 3px #03241a1a;
}

.danger:hover {
  background: var(--danger-hover);
  border-color: var(--danger-hover);
  filter: none;
}

.danger-ghost {
  background: var(--danger-ghost-bg);
  color: var(--danger-ghost-text);
  border: 1px solid var(--danger-ghost-border);
}

.danger-ghost:hover {
  background: var(--danger-ghost-hover);
  color: #661c20;
  filter: none;
  border-color: #d7a6a3;
}

.icon {
  color: inherit;
  background: none;
  flex-shrink: 0;
  padding: 7px;
}

.text-button {
  color: var(--green);
  background: none;
  padding: 0;
  font-size: 12px;
}

.eyebrow {
  letter-spacing: 1.8px;
  color: #65816f;
  font-size: 10px;
  font-weight: 600;
}

.brand {
  color: #fff;
  white-space: nowrap;
  align-items: center;
  gap: 11px;
  display: flex;
}

.brand > svg {
  color: var(--gold);
}

.brand > span {
  font: 26px/1 var(--serif);
}

.brand small {
  color: var(--gold);
  letter-spacing: 2px;
  font: 9px / 2 Inter, sans-serif;
  display: block;
}

.badge {
  background: var(--soft);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 3px;
  align-items: center;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  display: inline-flex;
}

.badge.pending, .badge.preparing {
  color: #92611b;
  background: #fff1d6;
}

.badge.cancelled, .badge.inactive, .badge.connection_issue {
  color: #aa2727;
  background: #ffe8e7;
}

.badge.completed, .badge.ready, .badge.active {
  color: #2c7345;
  background: #dff4e4;
}

.badge.service_live:before {
  content: "";
  background: #397247;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  margin-right: 5px;
}

.error {
  color: #a22a26;
  background: #fff0ed;
  border: 1px solid #edccc8;
  border-radius: 5px;
  margin: 12px 0;
  padding: 12px 16px;
}

.field {
  margin-bottom: 18px;
  display: block;
}

.field > span {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

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

.check input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}

.empty {
  color: #789282;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 45px 20px;
  display: flex;
}

.empty p {
  max-width: 330px;
  margin: 12px 0 0;
}

.loading {
  background: var(--forest);
  color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 100vh;
  display: flex;
}

.landing {
  background: #fafaf5;
}

.landing nav {
  background: var(--forest);
  color: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 25px 6%;
  display: flex;
}

.landing nav > div {
  align-items: center;
  gap: 35px;
  display: flex;
}

.landing nav a {
  font-size: 12px;
}

.hero {
  background: var(--forest);
  color: #fff;
  grid-template-columns: 1.05fr 1fr;
  min-height: 670px;
  display: grid;
}

.hero-copy {
  padding: 100px 9% 65px 12%;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(40px, 4.3vw, 70px);
  line-height: 1.15;
}

.hero h1 em {
  color: #c9dbca;
  font-weight: 400;
}

.hero p {
  color: #a8bcb0;
  max-width: 380px;
  margin: 25px 0 30px;
  font-size: 15px;
  line-height: 1.85;
}

.hero-foot {
  color: #afc0af;
  letter-spacing: .5px;
  gap: 15px;
  margin-top: 70px;
  font-size: 11px;
  display: flex;
}

.hero-image {
  background: linear-gradient(90deg,var(--forest),transparent 25%),linear-gradient(0deg,#03241a66,transparent),url("/images/hero.jpg") center/cover;
}

.intro {
  text-align: center;
  padding: 95px 20px 40px;
}

.intro h2 {
  margin: 20px auto;
  font-size: 42px;
}

.intro p {
  max-width: 480px;
  color: var(--muted);
  margin: 0 auto;
  line-height: 1.9;
}

.portal-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 30px 8% 100px;
  display: grid;
}

.portal-cards article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 40px;
}

.portal-cards article > svg {
  color: #b18c40;
  margin-bottom: 25px;
}

.portal-cards p {
  color: var(--muted);
  min-height: 75px;
  line-height: 1.8;
}

.portal-cards a {
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.landing footer {
  background: var(--forest);
  color: #a8bcb0;
  justify-content: space-between;
  align-items: center;
  padding: 40px 6%;
  font-size: 11px;
  display: flex;
}

.login-screen {
  background: radial-gradient(ellipse at bottom right,#1d4e2e,transparent 60%),radial-gradient(ellipse at top left,#263a25,transparent 50%),var(--forest);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 45px 20px;
  display: flex;
}

.login-card {
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 12px;
  width: min(100%, 410px);
  padding: 38px 38px 25px;
  box-shadow: 0 20px 70px #0003;
}

.login-brand {
  justify-content: center;
  margin-bottom: 13px;
  display: flex;
}

.login-brand .brand {
  color: var(--forest);
}

.login-brand .brand > svg {
  background: var(--forest);
  box-sizing: content-box;
  border-radius: 6px;
  padding: 5px;
}

.login-brand .brand small {
  display: none;
}

.login-brand .brand > span {
  color: #b38e37;
}

.login-card .muted {
  font-size: 12px;
}

.tabs {
  background: var(--soft);
  border-radius: 4px;
  margin: 26px 0;
  padding: 3px;
  display: flex;
}

.tabs button {
  text-transform: capitalize;
  width: 33.33%;
  color: var(--forest);
  background: none;
  padding: 6px;
  font-size: 11px;
}

.tabs .selected {
  background: var(--forest);
  color: #fff;
}

.password {
  position: relative;
}

.password input {
  padding-right: 44px;
}

.password button {
  color: var(--muted);
  position: absolute;
  top: 5px;
  right: 5px;
}

.back-link {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 18px;
  font-size: 11px;
  display: block;
}

.login-footer {
  color: #a8bcb0;
  letter-spacing: 1px;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  font-size: 9px;
  display: flex;
}

.sidebar {
  background: var(--forest);
  color: #afc2b5;
  z-index: 20;
  flex-direction: column;
  width: 240px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.sidebar > a {
  padding: 27px 23px 30px;
}

.sidebar .brand > span {
  font-size: 24px;
}

.sidebar .brand > svg {
  width: 22px;
}

.nav-caption {
  letter-spacing: 1px;
  color: #94b09e;
  padding: 0 22px 12px;
  font-size: 9px;
}

.sidebar nav a, .sidebar nav button.nav-link {
  color: #afc2b5;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-left: 3px solid #0000;
  border-radius: 3px;
  align-items: center;
  gap: 12px;
  width: calc(100% - 18px);
  margin: 0 9px 4px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 12px;
  display: flex;
}

.sidebar nav a:hover, .sidebar nav button.nav-link:hover {
  color: #fff;
  background: #153c2e;
}

.sidebar nav a.active, .sidebar nav button.nav-link.active {
  color: #fff;
  border-left-color: var(--gold);
  background: #214437;
}

.sidebar-user {
  background: #0b3822;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 18px 14px;
  display: flex;
}

.avatar {
  width: 35px;
  height: 35px;
  color: var(--forest);
  font-family: var(--serif);
  background: #c9d6b7;
  border: 2px solid #c9962b;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sidebar-user > div {
  flex: 1;
  min-width: 0;
}

.sidebar-user strong {
  color: #fff;
  text-overflow: ellipsis;
  font-size: 12px;
  display: block;
  overflow: hidden;
}

.sidebar-user small {
  text-transform: capitalize;
  font-size: 10px;
  display: block;
}

.workspace {
  flex-direction: column;
  min-height: 100vh;
  margin-left: 240px;
  display: flex;
}

.topbar {
  background: #ffffffeb;
  border-bottom: 1px solid #e6f0e8;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  padding: 0 30px;
  display: flex;
}

.topbar > div {
  align-items: center;
  gap: 20px;
  display: flex;
}

.topbar .muted {
  font-size: 11px;
}

.workspace-main {
  flex: 1;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 30px;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  display: flex;
}

.page-heading h1 {
  margin: 6px 0 8px;
}

.page-heading p {
  margin: 0;
}

.section-tabs {
  border-bottom: 1px solid #d3e7d7;
  gap: 5px;
  margin-bottom: 25px;
  display: flex;
}

.section-tabs button {
  color: var(--muted);
  background: none;
  border-radius: 0;
  padding: 12px 17px;
  font-size: 12px;
}

.section-tabs .selected {
  border-bottom: 2px solid var(--forest);
  color: var(--forest);
}

.stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 0 30px;
  display: grid;
}

.stats article {
  background: #fff;
  border-radius: 5px;
  padding: 22px;
}

.stats article > div {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.stats article > div > span {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 9px;
}

.stats article svg {
  background: var(--soft);
  box-sizing: content-box;
  color: #4b7659;
  border-radius: 4px;
  padding: 7px;
}

.stats article strong {
  font: 42px/1.2 var(--serif);
  margin: 12px 0 3px;
  display: block;
}

.stats article small {
  color: var(--muted);
  font-size: 10px;
}

.toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  display: flex;
}

.toolbar h2 {
  margin: 0;
}

.search {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  max-width: 310px;
  padding: 0 10px;
  display: flex;
}

.search input {
  border: 0;
  min-height: 35px;
  padding: 8px 0;
  font-size: 11px;
}

.search input:focus {
  box-shadow: none;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 2.4fr) minmax(245px, 1fr);
  align-items: start;
  gap: 22px;
  display: grid;
}

.panel {
  background: #fff;
  border: 1px solid #e7efe7;
  border-radius: 5px;
  padding: 22px;
}

.panel.table-wrap {
  padding: 0;
}

.panel-head {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  display: flex;
}

.panel-head h2, .panel-head h3 {
  margin-bottom: 5px;
}

.panel-head p {
  margin: 0;
  font-size: 12px;
}

.right-column {
  gap: 20px;
  display: grid;
}

.right-column .panel {
  background: #e0f9e5;
}

.right-column h3 {
  font-size: 19px;
}

.person {
  border-bottom: 1px solid #cce5d2;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  display: flex;
}

.person > div {
  flex: 1;
}

.person strong {
  font-size: 11px;
  display: block;
}

.person small {
  text-transform: capitalize;
  color: var(--muted);
  display: block;
}

.dot {
  background: #50975e;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.menu-preview {
  border-top: 1px solid #cce5d2;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  display: flex;
}

.menu-preview > span {
  font: 18px var(--serif);
  color: #8a9369;
}

.menu-preview > div {
  flex: 1;
}

.menu-preview strong {
  font-size: 11px;
  display: block;
}

.menu-preview small {
  color: var(--muted);
  font-size: 9px;
  display: block;
}

.menu-preview b {
  font-size: 10px;
  font-weight: 500;
}

.table-wrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

th {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a6555;
  white-space: nowrap;
  background: #e1f4e5;
  padding: 15px 16px;
  font-size: 9px;
}

td {
  vertical-align: top;
  border-bottom: 1px solid #edf2eb;
  padding: 17px 16px;
  font-size: 11px;
}

td div + div {
  margin-top: 3px;
}

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

.row-actions {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.row-actions button {
  padding: 7px 10px;
  font-size: 11px;
}

.pagination {
  color: var(--muted);
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 18px 0 30px;
  font-size: 11px;
  display: flex;
}

.pagination > span {
  margin-right: auto;
}

.pagination button {
  padding: 6px 10px;
  font-size: 11px;
}

.kanban {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  display: grid;
}

.kanban > section {
  background: #dff6e4;
  border-radius: 5px;
  align-self: start;
  min-height: 240px;
  padding: 15px;
}

.kanban-title {
  border-left: 3px solid #d4a64a;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 10px;
  display: flex;
}

.kanban-title h3 {
  margin: 0;
  font-size: 21px;
}

.order-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  display: grid;
}

.order-card {
  background: #fff;
  border: 1px solid #e7eee5;
  border-left: 3px solid #d6a237;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 19px;
}

.order-card.ready {
  border-left-color: #509866;
}

.card-title {
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  display: flex;
}

.card-title h3 {
  overflow-wrap: anywhere;
  margin: 0 0 10px;
  font-size: 24px;
}

.ticket-meta {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding-bottom: 12px;
  font-size: 10px;
  display: flex;
}

.ticket-meta > span {
  align-items: center;
  gap: 4px;
  display: flex;
}

.order-card ul {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.order-card li {
  gap: 9px;
  padding: 8px 0;
  font-size: 12px;
  display: flex;
}

.order-card li > b {
  background: var(--soft);
  text-align: center;
  min-width: 23px;
  font-size: 10px;
  line-height: 20px;
}

.order-total {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  padding: 12px 0;
  font-size: 12px;
  display: flex;
}

.order-total > span {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 9px;
}

.order-notes {
  white-space: pre-line;
  background: #fff5dd;
  padding: 10px;
  font-size: 11px;
}

.card-actions {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.card-actions button {
  padding: 8px 10px;
  font-size: 11px;
}

.workspace-footer {
  color: #7e9485;
  letter-spacing: 1px;
  border-top: 1px solid #d7e8db;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 30px;
  font-size: 9px;
  display: flex;
}

.order-line {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  display: flex;
}

.order-line > span {
  flex: 1;
}

.order-line input {
  width: 85px;
}

.modal-form {
  padding: 24px;
}

.modal-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  display: flex;
}

.modal-head h2 {
  margin: 0;
}

.modal-form > .full {
  margin-top: 22px;
}

dialog {
  border: 1px solid var(--line);
  width: min(560px, 100% - 28px);
  max-height: 88vh;
  color: var(--text);
  border-radius: 9px;
  padding: 0;
  box-shadow: 0 20px 100px #00190b55;
}

dialog::backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #021d17aa;
}

@media (min-width: 1600px) {
  .workspace-main {
    padding: 40px;
  }

  .stats article {
    padding: 28px;
  }

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

@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
  }

  .sidebar .brand > span {
    font-size: 21px;
  }

  .sidebar > a {
    padding: 24px 14px;
  }

  .workspace {
    margin-left: 205px;
  }

  .workspace-main {
    padding: 23px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    gap: 12px;
  }

  .stats article {
    padding: 16px;
  }

  .kanban {
    gap: 12px;
  }

  .kanban > section {
    padding: 10px;
  }

  .kanban-title {
    display: block;
  }

  .kanban-title h3 {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .order-card {
    padding: 12px;
  }

  .card-title {
    display: block;
  }

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

  .hero-copy {
    padding: 80px 10%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .portal-cards {
    gap: 15px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .portal-cards article {
    padding: 25px;
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
  }

  .sidebar > a {
    padding: 15px 20px;
    display: block;
  }

  .sidebar .brand > span {
    font-size: 22px;
  }

  .nav-caption, .sidebar-user {
    display: none;
  }

  .sidebar nav {
    padding: 0 8px 8px;
    display: flex;
    overflow: auto;
  }

  .sidebar nav a, .sidebar nav button.nav-link {
    white-space: nowrap;
    border-bottom: 2px solid #0000;
    border-left: 0;
    gap: 6px;
    width: auto;
    margin: 0;
    padding: 9px;
    font-size: 10px;
  }

  .sidebar nav a.active, .sidebar nav button.nav-link.active {
    border-bottom-color: var(--gold);
  }

  .sidebar nav svg {
    width: 14px;
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    height: 49px;
    padding: 0 16px;
  }

  .topbar .muted {
    display: none;
  }

  .workspace-main {
    padding: 22px 16px;
  }

  .page-heading {
    align-items: start;
  }

  .page-heading h1 {
    font-size: 30px;
  }

  .page-heading > button {
    padding: 9px;
    font-size: 11px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .section-tabs {
    white-space: nowrap;
    overflow: auto;
  }

  .section-tabs button {
    padding: 10px;
    font-size: 11px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 24px;
  }

  .stats article > div > span {
    font-size: 8px;
  }

  .stats article strong {
    font-size: 35px;
  }

  .stats article svg {
    width: 15px;
    height: 15px;
    padding: 5px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .search {
    max-width: 100%;
  }

  .kanban {
    grid-template-columns: 1fr;
  }

  .kanban-title {
    display: flex;
  }

  .order-grid, .right-column {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 17px;
  }

  .panel-head {
    flex-wrap: wrap;
    align-items: start;
  }

  .panel-head h2 {
    font-size: 23px;
  }

  .workspace-footer {
    padding: 15px;
    font-size: 8px;
  }

  .landing nav {
    padding: 20px;
  }

  .landing nav > div > a:not(.button) {
    display: none;
  }

  .landing nav > div {
    gap: 0;
  }

  .landing .brand > span {
    font-size: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 65px 25px;
  }

  .hero-image {
    background-position: center;
    min-height: 310px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-foot {
    margin-top: 40px;
  }

  .intro {
    padding: 65px 25px 25px;
  }

  .intro h2 {
    font-size: 35px;
  }

  .portal-cards {
    grid-template-columns: 1fr;
    padding: 25px 25px 65px;
  }

  .portal-cards p {
    min-height: 0;
  }

  .landing footer {
    flex-wrap: wrap;
    gap: 25px;
  }

  .login-card {
    padding: 30px 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.badge.voided {
  color: #9c2621;
  background: #fff1ee;
  border: 1px solid #f0b7b3;
}

.badge.cat-rent {
  color: #581c87;
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
}

.badge.cat-salaries {
  color: #1e3a8a;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.badge.cat-utilities {
  color: #78350f;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.badge.cat-marketing {
  color: #831843;
  background: #fce7f3;
  border: 1px solid #fbcfe8;
}

.badge.cat-maintenance {
  color: #064e3b;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.badge.cat-supplies {
  color: #713f12;
  background: #fef9c3;
  border: 1px solid #fef08a;
}

.badge.cat-other {
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.expense-metrics {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  display: grid;
}

.expense-metric-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  display: flex;
  box-shadow: 0 1px 3px #00000008;
}

.expense-metric-card .metric-header {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.expense-metric-card strong {
  font: 26px/1.1 var(--serif);
  color: var(--forest);
}

.expense-metric-card small {
  color: var(--muted);
  font-size: 11px;
}

.expense-toolbar {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  display: flex;
}

.expense-toolbar-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.filter-pills {
  border: 1px solid var(--line);
  background: #f2f7f3;
  border-radius: 5px;
  align-items: center;
  gap: 4px;
  padding: 4px;
  display: inline-flex;
}

.filter-pill {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
}

.filter-pill:hover {
  color: var(--text);
  background: #e4ece5;
}

.filter-pill.active {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 1px 2px #0000001a;
}

.custom-range-picker {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  font-size: 12px;
  display: inline-flex;
}

.custom-range-picker input[type="date"] {
  border: 1px solid var(--line);
  border-radius: 3px;
  width: auto;
  min-height: 30px;
  padding: 4px 6px;
  font-size: 11px;
}

.category-filter-chips {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.category-chip {
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  background: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  transition: all .15s;
}

.category-chip:hover {
  border-color: var(--forest);
  background: #f9fdfa;
}

.category-chip.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.expense-voided-row {
  opacity: .78;
  background: #fdf9f9;
}

.expense-voided-row td {
  text-decoration: none;
}

.expense-voided-amount {
  color: var(--muted);
  text-decoration: line-through;
}

.void-reason-text {
  color: #9c2621;
  margin-top: 3px;
  font-size: 10px;
  font-style: italic;
  display: block;
}

.analytics-kpi-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  display: grid;
}

.analytics-kpi-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  display: flex;
  box-shadow: 0 1px 3px #00000008;
}

.analytics-kpi-card .metric-header {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.analytics-kpi-card strong {
  font: 28px/1.15 var(--serif);
  color: var(--forest);
}

.analytics-kpi-card small {
  color: var(--muted);
  font-size: 11px;
}

.analytics-kpi-card.profit-positive {
  background: #f7fdf8;
  border-left: 4px solid #2c7345;
}

.analytics-kpi-card.profit-negative {
  background: #fff8f8;
  border-left: 4px solid #9c2621;
}

.pnl-waterfall {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 20px;
  font-size: 12px;
  display: flex;
}

.pnl-step {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.pnl-step span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 10px;
  font-weight: 600;
}

.pnl-step strong {
  color: var(--forest);
  font-size: 14px;
}

.pnl-operator {
  color: #9fb5a7;
  font-size: 16px;
  font-weight: bold;
}

.chart-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  margin-bottom: 24px;
  padding: 22px;
}

.chart-card-header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  display: flex;
}

.chart-card-header h3 {
  margin: 0;
  font-size: 18px;
}

.chart-legend {
  align-items: center;
  gap: 16px;
  font-size: 11px;
  display: flex;
}

.chart-legend-item {
  align-items: center;
  gap: 6px;
  display: flex;
}

.chart-legend-dot {
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.matrix-container {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  margin-bottom: 24px;
  padding: 24px;
}

.matrix-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  display: grid;
}

.matrix-quadrant-card {
  border: 1px solid var(--line);
  background: #fdfdfd;
  border-radius: 6px;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  transition: box-shadow .2s;
  display: flex;
}

.matrix-quadrant-card:hover {
  box-shadow: 0 3px 12px #0000000f;
}

.matrix-quadrant-card.quadrant-stars {
  background: #fefce815;
  border-top: 4px solid #eab308;
}

.matrix-quadrant-card.quadrant-plowhorses {
  background: #eff6ff15;
  border-top: 4px solid #3b82f6;
}

.matrix-quadrant-card.quadrant-puzzles {
  background: #faf5ff15;
  border-top: 4px solid #a855f7;
}

.matrix-quadrant-card.quadrant-dogs {
  background: #fef2f215;
  border-top: 4px solid #ef4444;
}

.matrix-badge {
  letter-spacing: .3px;
  text-transform: uppercase;
  border-radius: 12px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.matrix-badge.star {
  color: #854d0e;
  background: #fef08a;
}

.matrix-badge.plowhorse {
  color: #1e40af;
  background: #dbeafe;
}

.matrix-badge.puzzle {
  color: #6b21a8;
  background: #f3e8ff;
}

.matrix-badge.dog {
  color: #991b1b;
  background: #fee2e2;
}

.matrix-badge.unranked {
  color: #4b5563;
  background: #f3f4f6;
}

.margin-bar-container {
  align-items: center;
  gap: 8px;
  display: flex;
}

.margin-bar-bg {
  background: #e5e7eb;
  border-radius: 4px;
  width: 60px;
  height: 7px;
  overflow: hidden;
}

.margin-bar-fill {
  border-radius: 4px;
  height: 100%;
}

.margin-bar-fill.high {
  background: #10b981;
}

.margin-bar-fill.medium {
  background: #f59e0b;
}

.margin-bar-fill.low {
  background: #ef4444;
}

@media (max-width: 1100px) {
  .analytics-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
  }
}

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

  .pnl-waterfall {
    flex-direction: column;
    align-items: flex-start;
  }
}

.decisions-audit-container {
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
}

.decisions-subview-header {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  display: flex;
  box-shadow: 0 1px 3px #00000008;
}

.decisions-subview-pills {
  background: #f3f4f6;
  border-radius: 10px;
  align-items: center;
  gap: 4px;
  padding: 4px;
  display: inline-flex;
}

.subview-pill {
  color: #4b5563;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.subview-pill:hover {
  color: #111827;
}

.subview-pill.active {
  color: #111827;
  background: #fff;
  box-shadow: 0 1px 3px #00000014;
}

.subview-counter-badge {
  color: #fff;
  background: #f59e0b;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.subview-counter-badge.neutral {
  background: #9ca3af;
}

.action-btn.sparkle-btn {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 9px;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
  box-shadow: 0 2px 6px #6366f140;
}

.action-btn.sparkle-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px #6366f159;
}

.action-btn.icon-text-btn {
  color: #374151;
  cursor: pointer;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.action-btn.icon-text-btn:hover {
  background: #e5e7eb;
}

.decisions-kpi-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  display: grid;
}

.decisions-kpi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 2px #00000005;
}

.decisions-kpi-card .kpi-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 12px;
  font-weight: 600;
}

.decisions-kpi-card .kpi-val {
  color: #111827;
  margin: 6px 0 2px;
  font-size: 26px;
  font-weight: 800;
}

.decisions-kpi-card .kpi-sub {
  color: #9ca3af;
  font-size: 11px;
}

.decisions-kpi-card.highlight-amber {
  border-left: 4px solid #f59e0b;
}

.decisions-kpi-card.highlight-blue {
  border-left: 4px solid #3b82f6;
}

.decisions-kpi-card.highlight-green {
  border-left: 4px solid #10b981;
}

.decisions-filters-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.filter-pill-group {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.filter-pill-item {
  color: #4b5563;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s;
}

.filter-pill-item.active {
  color: #fff;
  background: #111827;
}

.category-select-wrapper select {
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
}

.recommendations-cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 18px;
  display: grid;
}

.rec-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  flex-direction: column;
  padding: 20px;
  transition: all .2s;
  display: flex;
  position: relative;
  box-shadow: 0 1px 3px #00000005;
}

.rec-card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #0000000d;
}

.rec-card.status-proposed {
  border-top: 3px solid #f59e0b;
}

.rec-card.status-approved {
  border-top: 3px solid #3b82f6;
}

.rec-card.status-applied {
  border-top: 3px solid #10b981;
}

.rec-card.status-rejected {
  opacity: .75;
  border-top: 3px solid #9ca3af;
}

.rec-card-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

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

.rec-timestamp {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
}

.rec-cat-badge {
  letter-spacing: .2px;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.rec-cat-badge.price {
  color: #92400e;
  background: #fef3c7;
}

.rec-cat-badge.recipe {
  color: #5b21b6;
  background: #ede9fe;
}

.rec-cat-badge.promo {
  color: #0369a1;
  background: #e0f2fe;
}

.rec-cat-badge.reorder {
  color: #166534;
  background: #dcfce7;
}

.rec-cat-badge.menu {
  color: #9f1239;
  background: #ffe4e6;
}

.rec-status-badge {
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.rec-status-badge.proposed {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.rec-status-badge.approved {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.rec-status-badge.applied {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.rec-status-badge.rejected {
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.rec-card-title {
  color: #111827;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.rec-card-desc {
  color: #4b5563;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
}

.rec-change-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 10px 14px;
}

.change-box-label {
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
}

.change-price-diff {
  color: #1f2937;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.new-price-val {
  color: #047857;
  font-size: 14px;
  font-weight: 800;
}

.recipe-count-tag {
  color: #6d28d9;
  font-size: 12px;
  font-weight: 700;
}

.change-instructions {
  color: #374151;
  font-size: 12px;
  font-weight: 500;
}

.change-json {
  color: #4b5563;
  max-height: 80px;
  margin: 0;
  font-size: 11px;
  overflow-y: auto;
}

.rec-evidence-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 10px 14px;
}

.evidence-header {
  color: #475569;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.evidence-list {
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.evidence-list li {
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
}

.evidence-source {
  color: #64748b;
  font-weight: 700;
}

.rec-impact-row {
  margin-bottom: 16px;
}

.rec-impact-badge {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 7px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
}

.rec-card-actions {
  border-top: 1px solid #f3f4f6;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
}

.btn-approve {
  color: #fff;
  cursor: pointer;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all .15s;
  display: inline-flex;
}

.btn-approve:hover:not(:disabled) {
  background: #1d4ed8;
}

.btn-apply {
  color: #fff;
  cursor: pointer;
  background: #10b981;
  border: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all .15s;
  display: inline-flex;
}

.btn-apply:hover:not(:disabled) {
  background: #059669;
}

.btn-reject {
  color: #be123c;
  cursor: pointer;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.btn-reject:hover:not(:disabled) {
  background: #ffe4e6;
}

.btn-reject-soft {
  color: #6b7280;
  cursor: pointer;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
}

.btn-reject-soft:hover:not(:disabled) {
  color: #111827;
  background: #e5e7eb;
}

.rec-final-state {
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.rec-final-state.applied {
  color: #059669;
}

.rec-final-state.rejected {
  color: #9ca3af;
}

.audit-subview {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.audit-controls-bar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.audit-search-field {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  min-width: 320px;
  padding: 8px 14px;
  display: flex;
}

.audit-search-field input {
  color: #111827;
  border: none;
  outline: none;
  width: 100%;
  font-size: 13px;
}

.audit-filters-group select {
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  padding: 8px 14px;
  font-size: 13px;
}

.audit-table-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow-x: auto;
  box-shadow: 0 1px 3px #00000005;
}

.audit-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 13px;
}

.audit-table th {
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 700;
}

.audit-table td {
  vertical-align: middle;
  color: #1f2937;
  border-bottom: 1px solid #f3f4f6;
  padding: 12px 16px;
}

.audit-table tbody tr:hover {
  background: #fcfcfd;
}

.audit-cell-time .audit-exact-time {
  color: #111827;
  font-size: 12.5px;
  font-weight: 700;
}

.audit-cell-time .audit-rel-time {
  color: #9ca3af;
  font-size: 11px;
}

.actor-profile-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.actor-avatar {
  color: #4338ca;
  background: #e0e7ff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}

.actor-name {
  color: #111827;
  font-size: 12.5px;
  font-weight: 700;
}

.actor-role-badge {
  text-transform: uppercase;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  display: inline-block;
}

.actor-role-badge.manager {
  color: #92400e;
  background: #fef3c7;
}

.actor-role-badge.staff {
  color: #0369a1;
  background: #e0f2fe;
}

.actor-role-badge.system {
  color: #4b5563;
  background: #f3f4f6;
}

.audit-action-tag {
  color: #374151;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.entity-badge {
  color: #4b5563;
  margin-right: 6px;
  font-weight: 600;
}

.entity-id-pill {
  color: #6b7280;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: monospace;
  font-size: 11px;
  display: inline-block;
}

.audit-diff-chip {
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-block;
}

.audit-diff-chip.created {
  color: #047857;
  background: #ecfdf5;
}

.audit-diff-chip.voided {
  color: #be123c;
  background: #fff1f2;
}

.audit-diff-chip.discount {
  color: #92400e;
  background: #fef3c7;
}

.audit-diff-empty {
  color: #9ca3af;
  font-size: 12px;
  font-style: italic;
}

.btn-view-diff {
  color: #374151;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.btn-view-diff:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.audit-pagination-bar {
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  display: flex;
}

.pagination-count-label {
  color: #6b7280;
  font-size: 12px;
}

.pagination-buttons {
  align-items: center;
  gap: 8px;
  display: flex;
}

.pagination-btn {
  color: #374151;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.pagination-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.generate-modal-body {
  flex-direction: column;
  gap: 18px;
  padding: 10px 0;
  display: flex;
}

.generate-modal-desc {
  color: #4b5563;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.generate-period-selector label {
  color: #374151;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: block;
}

.period-options-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.period-btn {
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  transition: all .15s;
  display: flex;
}

.period-btn strong {
  color: #111827;
  font-size: 13px;
}

.period-btn small {
  color: #6b7280;
  margin-top: 2px;
  font-size: 11px;
}

.period-btn:hover {
  border-color: #9ca3af;
}

.period-btn.active strong {
  color: #4338ca;
}

.modal-actions-bar {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.soft-btn {
  color: #374151;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.action-btn.primary {
  color: #fff;
  cursor: pointer;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
}

.action-btn.danger {
  color: #fff;
  cursor: pointer;
  background: #dc2626;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
}

.reject-modal-body {
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
  display: flex;
}

.reject-target-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
}

.target-title {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.target-desc {
  color: #6b7280;
  margin-top: 4px;
  font-size: 12.5px;
}

.reject-instructions {
  color: #4b5563;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
}

.reject-presets-wrap {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.presets-caption {
  color: #6b7280;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.preset-chips-list {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.preset-chip {
  color: #374151;
  cursor: pointer;
  text-align: left;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  transition: all .15s;
}

.preset-chip:hover {
  background: #e5e7eb;
}

.reject-textarea-wrap label {
  color: #374151;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.reject-textarea-wrap textarea {
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  width: 100%;
  padding: 10px;
  font-size: 13px;
}

.diff-inspector-modal {
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
  display: flex;
}

.inspector-meta-strip {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 16px;
  font-size: 12.5px;
  display: flex;
}

.meta-label {
  color: #6b7280;
  margin-right: 6px;
  font-weight: 700;
}

.meta-val {
  color: #111827;
  font-weight: 600;
}

.diff-columns-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.diff-col {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.diff-col.before {
  background: #fff1f2;
  border-color: #fecdd3;
}

.diff-col.after {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.diff-col-head {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  display: flex;
}

.head-badge {
  letter-spacing: .3px;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 800;
}

.head-badge.red {
  color: #991b1b;
  background: #fee2e2;
}

.head-badge.green {
  color: #166534;
  background: #dcfce7;
}

.head-sub {
  color: #6b7280;
  font-size: 11px;
}

.diff-content {
  max-height: 360px;
  padding: 12px;
  overflow-y: auto;
}

.diff-content pre {
  color: #1f2937;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-family: monospace;
  font-size: 12px;
}

.diff-none-recorded {
  color: #6b7280;
  font-size: 12.5px;
  font-style: italic;
}

.decisions-loading-state {
  color: #6b7280;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 48px 16px;
  display: flex;
}

.decisions-empty-state {
  text-align: center;
  color: #6b7280;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 16px;
  display: flex;
}

.decisions-empty-state h3 {
  color: #111827;
  margin: 12px 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.decisions-empty-state p {
  color: #6b7280;
  max-width: 440px;
  font-size: 13px;
}

.decisions-alert.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

.spin {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .decisions-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendations-cards-grid, .diff-columns-grid {
    grid-template-columns: 1fr;
  }
}

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

  .decisions-subview-header {
    flex-direction: column;
    align-items: stretch;
  }

  .period-options-grid {
    grid-template-columns: 1fr;
  }
}

.forecasts-container {
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
}

.forecasts-overview-header {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  display: flex;
  box-shadow: 0 1px 3px #00000008;
}

.overview-title-block {
  max-width: 760px;
}

.overview-badge-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.model-badge {
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.model-badge.active {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.model-badge.baseline {
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.model-badge.calibrated {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.overview-title-block h2 {
  color: #111827;
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.overview-title-block p {
  color: #6b7280;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.overview-actions-row {
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  display: flex;
}

.action-btn.soft {
  color: #374151;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.action-btn.soft:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.forecasts-kpi-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  display: grid;
}

.forecast-kpi-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 2px #00000005;
}

.forecast-kpi-card .kpi-label {
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 11.5px;
  font-weight: 700;
}

.forecast-kpi-card .kpi-val {
  color: #111827;
  margin: 6px 0 2px;
  font-size: 22px;
  font-weight: 800;
}

.forecast-kpi-card .kpi-val small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.forecast-kpi-card .kpi-sub {
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.3;
}

.forecast-kpi-card.highlight-blue {
  border-left: 4px solid #3b82f6;
}

.forecast-kpi-card.highlight-purple {
  border-left: 4px solid #8b5cf6;
}

.forecast-kpi-card.highlight-emerald {
  border-left: 4px solid #10b981;
}

.active-jobs-banner {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  display: flex;
}

.jobs-banner-content {
  flex: 1;
}

.jobs-count-tag {
  color: #fff;
  background: #3b82f6;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.forecasts-main-grid {
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

.forecast-focus-pane {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.item-selection-bar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  display: flex;
}

.item-select-wrap {
  align-items: center;
  gap: 10px;
  display: flex;
}

.item-select-wrap label {
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 700;
}

.item-select-wrap select {
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.action-btn.small {
  padding: 6px 12px;
  font-size: 11.5px;
}

.forecast-card-deepdive {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  display: flex;
  box-shadow: 0 1px 3px #00000005;
}

.deepdive-header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.item-title {
  color: #111827;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.item-meta {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.selected-model-pill {
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-block;
}

.demand-projection-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
  padding: 16px 20px;
  display: grid;
}

.projection-main-stat .stat-caption {
  color: #64748b;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
}

.projection-main-stat .stat-number {
  color: #0f172a;
  margin: 4px 0;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.projection-main-stat .stat-unit {
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
}

.projection-main-stat .stat-period {
  color: #94a3b8;
  font-size: 11px;
}

.uncertainty-range-stat .range-caption {
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.range-bounds {
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
}

.bound-val.lower {
  color: #0284c7;
}

.bound-val.upper {
  color: #d97706;
}

.bound-sep {
  color: #94a3b8;
}

.range-gauge-wrap {
  margin-top: 10px;
}

.gauge-track {
  background: #e2e8f0;
  border-radius: 4px;
  height: 8px;
  position: relative;
  overflow: visible;
}

.gauge-fill {
  background: linear-gradient(90deg, #0284c7, #10b981, #d97706);
  border-radius: 4px;
  height: 100%;
}

.gauge-marker.pin-expected {
  background: #0f172a;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 1px 3px #0000004d;
}

.gauge-labels {
  color: #64748b;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  display: flex;
}

.operational-guidelines-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  display: flex;
}

.guideline-item {
  color: #374151;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  display: flex;
}

.guideline-item strong {
  color: #111827;
}

.forecast-chart-container {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px;
}

.chart-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.chart-title {
  color: #374151;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
}

.chart-hover-pill {
  color: #fff;
  background: #111827;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.svg-chart-wrapper {
  width: 100%;
  overflow-x: auto;
}

.forecast-svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-uncertainty-envelope {
  fill: #6366f11f;
  stroke: none;
}

.svg-forecast-line {
  fill: none;
  stroke: #4f46e5;
  stroke-width: 2.5px;
  stroke-linecap: round;
}

.svg-grid-line {
  stroke: #e5e7eb;
  stroke-width: 1px;
}

.svg-point {
  fill: #4f46e5;
  stroke: #fff;
  stroke-width: 2px;
  cursor: pointer;
  transition: r .15s;
}

.svg-point:hover, .svg-point.active {
  r: 6;
  fill: #10b981;
}

.chart-footer-note {
  color: #9ca3af;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  display: flex;
}

.insufficient-history-card, .no-forecast-card {
  text-align: center;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 36px 20px;
  display: flex;
}

.insufficient-history-card h4, .no-forecast-card h4 {
  color: #111827;
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.insufficient-history-card p, .no-forecast-card p {
  color: #6b7280;
  max-width: 400px;
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.4;
}

.forecast-ledger-pane {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px #00000005;
}

.ledger-header-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.ledger-header-row h4 {
  color: #111827;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.ledger-search-input {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 12px;
  display: flex;
}

.ledger-search-input input {
  color: #111827;
  border: none;
  outline: none;
  width: 120px;
  font-size: 12px;
}

.forecast-table-wrap {
  max-height: 560px;
  overflow-y: auto;
}

.forecast-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
}

.forecast-table th {
  color: #4b5563;
  text-transform: uppercase;
  text-align: left;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
}

.forecast-table td {
  vertical-align: middle;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  padding: 10px;
}

.dish-name-cell strong {
  color: #111827;
  font-size: 12.5px;
  display: block;
}

.dish-name-cell small {
  color: #6b7280;
  font-size: 11px;
}

.forecast-qty-val {
  color: #111827;
  font-weight: 800;
}

.interval-bounds-val {
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 600;
}

.status-pill {
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-block;
}

.status-pill.warning {
  color: #92400e;
  background: #fef3c7;
}

.status-pill.gray {
  color: #6b7280;
  background: #f3f4f6;
}

.model-metrics-cell {
  flex-direction: column;
  gap: 1px;
  display: flex;
}

.model-tag {
  color: #4338ca;
  font-size: 11px;
  font-weight: 700;
}

.icon-btn-small {
  cursor: pointer;
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: inline-flex;
}

.icon-btn-small:hover {
  background: #f3f4f6;
}

.import-modal-body {
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
  display: flex;
}

.import-modal-desc {
  color: #4b5563;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.csv-template-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  display: flex;
}

.template-info strong {
  color: #334155;
  font-size: 12px;
  display: block;
}

.template-info code {
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
}

.import-field-group label {
  color: #374151;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.import-field-group input, .import-field-group textarea {
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  width: 100%;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 12.5px;
}

.decisions-alert.success {
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

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

  .forecasts-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .forecasts-kpi-grid, .demand-projection-box {
    grid-template-columns: 1fr;
  }

  .forecasts-overview-header {
    flex-direction: column;
    align-items: stretch;
  }
}

.assistant-header-btn {
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  border: 1px solid #c9962b;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  display: inline-flex;
  box-shadow: 0 2px 8px #03241a26;
}

.assistant-header-btn:hover {
  background: #0b3822;
  border-color: #dfad3c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px #03241a40;
}

.assistant-header-btn .sparkle-icon {
  color: var(--gold);
  animation: 2.4s ease-in-out infinite pulseGlow;
}

.ai-live-badge {
  letter-spacing: .6px;
  color: var(--forest);
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffc657, #e0a325);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
}

.assistant-fab-btn {
  z-index: 45;
  background: var(--forest);
  width: 52px;
  height: 52px;
  color: var(--gold);
  cursor: pointer;
  border: 2px solid #c9962b;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all .22s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 8px 24px #03241a4d;
}

.assistant-fab-btn:hover {
  background: #0b3822;
  border-color: #f0bc4a;
  transform: scale(1.08)translateY(-2px);
  box-shadow: 0 12px 28px #03241a66;
}

.fab-tooltip {
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  background: #03241a;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  transition: all .18s;
  position: absolute;
  right: 62px;
  transform: translateX(6px);
  box-shadow: 0 4px 12px #00000040;
}

.assistant-fab-btn:hover .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.assistant-drawer-overlay {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 100;
  background: #021d177a;
  justify-content: flex-end;
  animation: .2s ease-out fadeInOverlay;
  display: flex;
  position: fixed;
  inset: 0;
}

.assistant-drawer-panel {
  border-left: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  width: min(650px, 94vw);
  height: 100%;
  animation: .26s cubic-bezier(.16, 1, .3, 1) slideInPanel;
  display: flex;
  position: relative;
  box-shadow: -12px 0 40px #0000002e;
}

.assistant-header {
  background: var(--forest);
  color: #fff;
  border-bottom: 1px solid #1a4234;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  display: flex;
}

.assistant-header .header-left {
  align-items: center;
  gap: 12px;
  display: flex;
}

.ai-badge-wrap {
  width: 38px;
  height: 38px;
  color: var(--gold);
  background: #0f3d2a;
  border: 1px solid #c9962b55;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 2px var(--forest);
  background: #10b981;
  border-radius: 50%;
  animation: 1.8s infinite livePing;
  position: absolute;
  top: -2px;
  right: -2px;
}

.assistant-header .title-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.assistant-header h2 {
  font-size: 17px;
  font-family: var(--serif);
  color: #fff;
  margin: 0;
}

.model-chip {
  color: #b3dfc3;
  letter-spacing: .4px;
  background: #174d36;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 9px;
}

.assistant-header .subtitle {
  color: #a3c2b1;
  margin: 2px 0 0;
  font-size: 11px;
}

.assistant-header .header-actions {
  align-items: center;
  gap: 6px;
  display: flex;
}

.icon-action-btn {
  color: #d1e3d9;
  cursor: pointer;
  background: #0f3d2a;
  border: 1px solid #1a523a;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: all .15s;
  display: flex;
}

.assistant-header .icon-action-btn:not(.close-btn) {
  gap: 5px;
  width: auto;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 700;
}

.icon-action-btn:hover {
  color: #fff;
  background: #1a573e;
  border-color: #297453;
}

.icon-action-btn.active {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
}

.icon-action-btn.close-btn:hover {
  background: #742226;
  border-color: #9c2621;
}

.assistant-close-mark {
  color: #fff;
  font: 400 24px / 1 Arial, sans-serif;
  display: block;
  transform: translateY(-1px);
}

.history-run-card {
  cursor: pointer;
  position: relative;
}

.conversation-actions {
  gap: 6px;
  display: flex;
  position: absolute;
  bottom: 12px;
  right: 14px;
}

.conversation-actions button {
  border: 1px solid var(--line);
  width: 28px;
  height: 28px;
  color: var(--forest);
  cursor: pointer;
  background: #f4fbf6;
  border-radius: 6px;
  place-items: center;
  display: grid;
}

.conversation-actions button:hover {
  background: #dff5e6;
}

.voice-call-overlay {
  z-index: 20;
  color: #fff;
  background: #002319f0;
  place-items: center;
  padding: 20px;
  display: grid;
  position: absolute;
  inset: 0;
}

.voice-livekit-room {
  place-items: center;
  width: 100%;
  display: grid;
}

.voice-call-card {
  text-align: center;
  background: #073527;
  border: 1px solid #2d674f;
  border-radius: 18px;
  width: min(390px, 100%);
  padding: 36px 28px;
  box-shadow: 0 24px 70px #001a12;
}

.voice-call-card small {
  color: #e8b53f;
  letter-spacing: .18em;
  font-weight: 800;
}

.voice-call-card h3 {
  color: #fff;
  font-family: var(--serif);
  margin: 8px 0;
  font-size: 26px;
}

.voice-call-card p {
  color: #b8d2c7;
  min-height: 42px;
}

.voice-orb {
  color: #f4bd42;
  background: #0b4935;
  border-radius: 50%;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  display: grid;
  overflow: hidden;
  box-shadow: 0 0 0 12px #2974532e;
}

.voice-orb .lk-audio-bar {
  background: #f4bd42;
  border-radius: 8px;
}

.voice-orb.listening {
  animation: 1.1s infinite livePing;
}

.voice-call-actions {
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  display: flex;
}

.voice-mic-button {
  color: #052f22;
  cursor: pointer;
  background: #f4bd42;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 106px;
  height: 48px;
  font-weight: 800;
  display: flex;
}

.voice-mic-button.muted {
  background: #dceae3;
}

.voice-end-button {
  color: #fff;
  cursor: pointer;
  background: #6f2525;
  border: 1px solid #8f3b3b;
  border-radius: 8px;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  display: inline-flex;
}

.voice-connect-button {
  color: #052f22;
  cursor: pointer;
  background: #f4bd42;
  border: 0;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 18px auto 10px;
  padding: 0 20px;
  font-weight: 800;
  display: flex;
}

.voice-cancel-button {
  color: #b8d2c7;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 8px 14px;
}

.voice-audio-permission {
  color: #fff;
  cursor: pointer;
  background: #0b4935;
  border: 1px solid #4f7868;
  border-radius: 7px;
  margin: 10px auto;
  padding: 7px 12px;
  display: block;
}

.voice-status {
  margin-bottom: 0;
  min-height: auto !important;
}

.voice-transcript {
  background: #052f22;
  border: 1px solid #265b46;
  border-radius: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  min-height: auto !important;
}

.voice-private-note {
  color: #82ae9c;
  font-size: 11px;
  display: block;
}

.voice-error, .voice-room-error {
  font-size: 12px;
  color: #ffb7b7 !important;
}

.voice-room-error {
  background: #6f2525;
  border-radius: 8px;
  padding: 8px 12px;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.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;
}

.groq-notice-banner {
  color: #92400e;
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
}

.notice-icon {
  color: #b45309;
  flex-shrink: 0;
}

.assistant-context-bar {
  border-bottom: 1px solid var(--line);
  background: #f4fbf6;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px;
  display: flex;
}

.context-header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.context-label {
  color: var(--forest);
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
}

.context-label .db-icon {
  color: #2c7345;
}

.grounded-lock-badge {
  text-transform: uppercase;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.date-pills-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  display: flex;
}

.context-pill {
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  background: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
}

.context-pill:hover {
  color: var(--text);
  background: #eef7f1;
}

.context-pill.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.custom-date-inputs {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 6px 12px;
  display: flex;
}

.custom-date-inputs div {
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}

.custom-date-inputs input[type="date"] {
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 28px;
  padding: 2px 6px;
  font-size: 11px;
}

.chat-container {
  background: #fafcfb;
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.empty-chat-welcome {
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  display: flex;
}

.welcome-icon-box {
  width: 54px;
  height: 54px;
  color: var(--forest);
  background: #e2f7e7;
  border: 1px solid #ccebd5;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.empty-chat-welcome h3 {
  font-family: var(--serif);
  color: var(--forest);
  margin-bottom: 6px;
  font-size: 22px;
}

.empty-chat-welcome p {
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 1.55;
}

.starter-prompts-section {
  text-align: left;
  width: 100%;
}

.section-caption {
  letter-spacing: .8px;
  color: #557262;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.starter-chips-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  display: grid;
}

.starter-prompt-card {
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  transition: all .18s cubic-bezier(.16, 1, .3, 1);
  display: flex;
}

.starter-prompt-card:hover {
  background: #f7fdf9;
  border-color: #2c7345;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #03241a0f;
}

.prompt-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.prompt-emoji {
  font-size: 16px;
}

.prompt-tag {
  text-transform: uppercase;
  color: #1e5233;
  background: #edf7f0;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
}

.prompt-title {
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
}

.prompt-desc {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  font-style: italic;
  line-height: 1.4;
}

.messages-list {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.message-bubble-wrapper {
  gap: 10px;
  width: 100%;
  display: flex;
}

.user-wrapper {
  justify-content: flex-end;
}

.assistant-wrapper {
  justify-content: flex-start;
}

.assistant-avatar {
  background: var(--forest);
  width: 28px;
  height: 28px;
  color: var(--gold);
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  display: flex;
}

.assistant-avatar.pulse {
  animation: 1.8s infinite pulseGlow;
}

.message-bubble {
  border-radius: 14px;
  max-width: 88%;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  transition: all .2s;
  box-shadow: 0 3px 12px #0000000d;
}

.user-bubble {
  background: linear-gradient(135deg, #073527 0%, #0d543e 100%);
  border: 1px solid #ffffff24;
  border-top-right-radius: 3px;
  color: #fff !important;
}

.user-message-text {
  white-space: pre-wrap;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  color: #fff !important;
}

.user-bubble .bubble-content, .user-bubble .bubble-content * {
  color: #fff !important;
}

.assistant-bubble {
  color: #1a2e26;
  background: #fff;
  border: 1px solid #e2ece6;
  border-top-left-radius: 3px;
  box-shadow: 0 4px 16px #0735270f;
}

.assistant-bubble:hover {
  border-color: #cce2d6;
}

.bubble-header {
  opacity: .85;
  border-bottom: 1px dashed #0000000f;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  padding-bottom: 6px;
  font-size: 11px;
  display: flex;
}

.bubble-author {
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}

.bubble-time {
  font-size: 10px;
}

.user-bubble .bubble-header {
  border-bottom: 1px dashed #fff3;
  color: #c4eedb !important;
}

.user-bubble .bubble-author {
  color: #fff !important;
}

.user-bubble .bubble-time {
  color: #b0dfc8 !important;
}

.assistant-bubble .bubble-header {
  color: #607b70;
}

.assistant-formatted-text {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.assistant-msg-status-line {
  color: #043828;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 2px 0 6px;
  padding: 5px 11px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 1px 3px #00000008;
}

.assistant-msg-heading {
  color: #043828;
  margin: 6px 0 2px;
  font-size: 13.5px;
  font-weight: 700;
}

.assistant-msg-bullet {
  border-radius: 6px;
  align-items: flex-start;
  gap: 8px;
  padding: 2.5px 6px 2.5px 4px;
  font-size: 13px;
  line-height: 1.6;
  transition: background .15s;
  display: flex;
}

.assistant-msg-bullet:hover {
  background: #f4faf6;
}

.bullet-dot {
  color: #0f7652;
  flex-shrink: 0;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1;
}

.bullet-num {
  color: #0f7652;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.bullet-text {
  color: #1f382e;
  flex: 1;
}

.bullet-text strong, .assistant-msg-line strong, .assistant-msg-status-line strong {
  color: #043828;
  font-weight: 700;
}

.assistant-msg-line {
  color: #1a2e26;
  margin: 1px 0;
  font-size: 13px;
  line-height: 1.6;
}

.assistant-msg-spacer {
  height: 6px;
}

.evidence-chip {
  cursor: pointer;
  vertical-align: middle;
  border: 1px solid #0000;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  margin: 0 3px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  display: inline-flex;
}

.evidence-chip:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px #00000014;
}

.evidence-chip .chip-arrow {
  opacity: .6;
  margin-left: 2px;
}

.evidence-chip-emerald {
  color: #0d542b;
  background: #e6f9ed;
  border-color: #a7e7bc;
}

.evidence-chip-amber {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.evidence-chip-purple {
  color: #6b21a8;
  background: #f3e8ff;
  border-color: #d8b4fe;
}

.evidence-chip-blue {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.evidence-chip-rose {
  color: #9f1239;
  background: #ffe4e6;
  border-color: #fecdd3;
}

.bubble-evidence-footer {
  border-top: 1px solid #edf4ef;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  display: flex;
}

.evidence-footer-label {
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .5px;
  font-size: 10px;
  font-weight: 700;
}

.evidence-chips-list {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.evidence-chip-mini {
  color: #1a5233;
  cursor: pointer;
  background: #f0faf3;
  border: 1px solid #c7e8d3;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  font-size: 10.5px;
  transition: all .15s;
  display: inline-flex;
}

.evidence-chip-mini:hover {
  background: #dff5e7;
  border-color: #99d6ad;
}

.thinking-bubble-wrapper {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.thinking-bubble {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  display: flex;
  box-shadow: 0 1px 4px #00000008;
}

.thinking-spinner {
  border: 2px solid #e1f4e5;
  border-top-color: var(--forest);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: .8s linear infinite spin;
}

.thinking-text strong {
  color: var(--forest);
  font-size: 12px;
  display: block;
}

.thinking-text small {
  color: var(--muted);
  font-size: 10.5px;
  display: block;
}

.assistant-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  display: flex;
}

.quick-prompts-bar {
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  display: flex;
  overflow-x: auto;
}

.quick-prompt-pill {
  color: #1a4f32;
  white-space: nowrap;
  cursor: pointer;
  background: #f2f8f4;
  border: 1px solid #d5e9dc;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  transition: all .15s;
}

.quick-prompt-pill:hover {
  background: #e2f4e8;
  border-color: #aed9bd;
}

.assistant-input-form {
  border: 1px solid var(--line);
  background: #fafcfb;
  border-radius: 8px;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 8px;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
}

.assistant-input-form:focus-within {
  background: #fff;
  border-color: #2c7345;
  box-shadow: 0 0 0 3px #2c73451a;
}

.assistant-input-form textarea {
  color: var(--text);
  resize: none;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  min-height: 48px;
  max-height: 120px;
  padding: 6px 8px;
  font-size: 12.5px;
  line-height: 1.45;
}

.assistant-input-form .send-btn {
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
  transition: all .15s;
  display: flex;
}

.assistant-input-form .send-btn:hover:not(:disabled) {
  background: #0f3d2a;
  transform: scale(1.04);
}

.assistant-input-form .send-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.assistant-disclaimer {
  color: #687870;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  line-height: 1.35;
  display: flex;
}

.disclaimer-icon {
  color: #2c7345;
  flex-shrink: 0;
}

.evidence-inspector-overlay {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 120;
  background: #021d1799;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: .18s fadeInOverlay;
  display: flex;
  position: absolute;
  inset: 0;
}

.evidence-inspector-dialog {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  flex-direction: column;
  width: min(580px, 94vw);
  max-height: 85vh;
  animation: .2s cubic-bezier(.16, 1, .3, 1) scaleIn;
  display: flex;
  box-shadow: 0 16px 48px #00000040;
}

.inspector-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.inspector-title {
  align-items: center;
  gap: 10px;
  display: flex;
}

.inspector-title h3 {
  font-size: 16px;
  font-family: var(--serif);
  color: var(--forest);
  margin: 0;
}

.inspector-title small {
  color: var(--muted);
  font-size: 11px;
}

.inspector-body {
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 18px 20px;
  display: flex;
  overflow-y: auto;
}

.inspector-meta-box {
  background: #f7faf8;
  border: 1px solid #e2ece5;
  border-radius: 6px;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  font-size: 11px;
  display: flex;
}

.inspector-meta-box label {
  color: var(--forest);
  margin-bottom: 2px;
  font-weight: 700;
  display: block;
}

.inspector-meta-box p {
  color: #4b6355;
  margin: 0;
  line-height: 1.4;
}

.inspector-actions-bar {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.copy-json-btn {
  color: var(--forest);
  cursor: pointer;
  background: #edf7f0;
  border: 1px solid #cce8d6;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.copy-json-btn:hover {
  background: #dff4e5;
}

.evidence-json-viewer {
  color: #d8ebd9;
  background: #0f2119;
  border: 1px solid #234b39;
  border-radius: 6px;
  max-height: 320px;
  margin: 0;
  padding: 14px;
  font-family: monospace;
  font-size: 11.5px;
  line-height: 1.5;
  overflow-x: auto;
}

.inspector-foot {
  border-top: 1px solid var(--line);
  justify-content: flex-end;
  padding: 14px 20px;
  display: flex;
}

.history-pane {
  background: #fafcfb;
  flex: 1;
  padding: 18px;
  overflow-y: auto;
}

.history-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.history-header h3 {
  font-size: 15px;
  font-family: var(--serif);
  margin: 0;
}

.refresh-runs-btn {
  border: 1px solid var(--line);
  color: var(--forest);
  cursor: pointer;
  background: none;
  border-radius: 4px;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 11px;
  display: inline-flex;
}

.empty-history {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 12px;
}

.runs-list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.history-run-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 12px 14px;
}

.run-meta {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  display: flex;
}

.run-status.completed {
  text-transform: uppercase;
  color: #15803d;
  background: #dcfce7;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
}

.run-question {
  color: var(--forest);
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
}

.run-period {
  color: var(--muted);
  font-size: 10.5px;
}

@keyframes slideInPanel {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes livePing {
  0% {
    transform: scale(.95);
    box-shadow: 0 0 #10b981b3;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px #10b98100;
  }

  100% {
    transform: scale(.95);
    box-shadow: 0 0 #10b98100;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .75;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .assistant-drawer-panel {
    width: 100vw;
  }

  .starter-chips-grid {
    grid-template-columns: 1fr;
  }

  .assistant-header-btn span:first-of-type {
    display: none;
  }
}

.role-suite {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px #03241a0f;
}

.role-suite-head {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #fff, #f3fbf4);
  margin: 0;
  padding: 20px 22px 17px;
}

.role-suite-head h2 {
  margin: 5px 0;
  font-size: 23px;
}

.role-live-chip {
  color: #356246;
  white-space: nowrap;
  background: #f6fff7;
  border: 1px solid #c9dfce;
  border-radius: 20px;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.role-live-chip i {
  background: #42925c;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #42925c1c;
}

.role-metric-grid {
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.role-metric {
  border-right: 1px solid var(--line);
  background: #fff;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  display: flex;
}

.role-metric:last-child {
  border-right: 0;
}

.role-metric-icon {
  color: #416e50;
  background: var(--soft);
  border-radius: 4px;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.role-metric > div {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.role-metric small {
  color: #64776b;
  text-transform: uppercase;
  letter-spacing: .65px;
  font-size: 8px;
  font-weight: 700;
}

.role-metric strong {
  font: 25px/1.2 var(--serif);
  color: var(--forest);
  overflow-wrap: anywhere;
  margin: 4px 0 2px;
}

.role-metric > div > span {
  color: var(--muted);
  font-size: 9px;
}

.role-ranking-grid {
  background: #fff;
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.role-leaderboard {
  padding: 20px 22px;
}

.role-leaderboard + .role-leaderboard {
  border-left: 1px solid var(--line);
}

.role-leaderboard h4 {
  font: 600 17px/1.2 var(--serif);
  color: var(--forest);
  margin: 0 0 15px;
}

.role-rank {
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  margin: 11px 0;
  display: grid;
}

.role-rank-number {
  font: 16px var(--serif);
  color: #987329;
  text-align: center;
}

.role-rank-label {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 10px;
  display: flex;
}

.role-rank-label strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.role-rank-label span {
  color: var(--muted);
  white-space: nowrap;
}

.role-rank-track {
  background: #edf5ee;
  border-radius: 4px;
  height: 4px;
  margin-top: 5px;
  display: block;
  overflow: hidden;
}

.role-rank-track i {
  background: linear-gradient(90deg, #315f43, #d5ad52);
  border-radius: 4px;
  height: 100%;
  display: block;
}

@media (max-width: 1100px) {
  .role-metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .role-metric:nth-child(2) {
    border-right: 0;
  }

  .role-metric:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .role-metric-grid, .role-ranking-grid {
    grid-template-columns: 1fr;
  }

  .role-metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .role-metric:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

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

  .role-suite-head {
    align-items: flex-start;
  }

  .role-live-chip {
    font-size: 8px;
  }
}

.period-switch {
  background: #edf5ee;
  border: 1px solid #d8e7da;
  border-radius: 5px;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  display: flex;
}

.period-switch button {
  color: #587061;
  background: none;
  border-radius: 3px;
  padding: 6px 9px;
  font-size: 9px;
}

.period-switch button.selected {
  background: var(--forest);
  color: #fff;
}

.station-kitchen .period-switch {
  background: #edf5ee;
  border: 1px solid #d8e7da;
  gap: 4px;
  padding: 4px;
}

.station-kitchen .period-switch button {
  color: #587061 !important;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  border-radius: 3px !important;
  padding: 6px 9px !important;
  font-size: 9px !important;
}

.station-kitchen .period-switch button.selected {
  background: var(--forest) !important;
  color: #fff !important;
}

.role-trend {
  border-bottom: 1px solid var(--line);
  background: #fbfdf9;
  grid-template-columns: 190px 1fr;
  align-items: end;
  gap: 20px;
  padding: 18px 22px;
  display: grid;
}

.role-trend > div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.role-trend strong {
  font-size: 12px;
}

.role-trend span {
  color: var(--muted);
  font-size: 9px;
}

.role-trend-bars {
  align-items: end;
  gap: 4px;
  min-width: 0;
  height: 80px;
  display: flex !important;
}

.role-trend-bars > span {
  border-bottom: 1px solid #b8cbbd;
  flex: 1;
  align-items: end;
  height: 100%;
  display: flex;
}

.role-trend-bars i {
  background: linear-gradient(#e5b84e, #315f43);
  border-radius: 2px 2px 0 0;
  width: 100%;
  min-height: 2px;
  display: block;
}

.station-manager .dashboard-grid {
  grid-template-columns: 1fr;
}

.station-manager .right-column {
  grid-row: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.station-manager .right-column .panel {
  min-height: 0;
}

.forecast-revenue {
  color: var(--muted);
  border-top: 1px solid #d9e5da;
  margin-top: 10px;
  padding-top: 9px;
  font-size: 11px;
}

.forecast-revenue strong {
  color: var(--forest);
  font: 22px var(--serif);
  margin-top: 2px;
  display: block;
}

.actual-sales-strip {
  border: 1px solid var(--line);
  background: #f8fbf6;
  border-radius: 5px;
  grid-template-columns: 170px 1fr;
  align-items: end;
  gap: 16px;
  margin: 14px 0;
  padding: 15px 16px;
  display: grid;
}

.actual-sales-strip > div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.actual-sales-strip span {
  color: var(--muted);
  font-size: 9px;
}

.actual-sales-bars {
  align-items: end;
  gap: 5px;
  height: 80px;
  display: flex !important;
}

.actual-sales-bars > span {
  text-align: center;
  border-bottom: 1px solid #cbd9cd;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  height: 100%;
  display: flex;
}

.actual-sales-bars i {
  background: linear-gradient(#e8bd54, #315f43);
  border-radius: 2px 2px 0 0;
  width: 100%;
  display: block;
}

.actual-sales-bars small {
  margin-top: 3px;
  font-size: 8px;
}

@media (max-width: 760px) {
  .role-trend, .actual-sales-strip, .station-manager .right-column {
    grid-template-columns: 1fr;
  }

  .period-switch {
    width: 100%;
  }
}

.header-manager-actions {
  align-items: center;
  gap: 9px;
  display: flex;
}

.alerts-anchor {
  position: relative;
}

.notification-bell {
  width: 40px;
  height: 40px;
  color: var(--forest);
  background: #fff;
  border: 1px solid #d3e4d6;
  place-items: center;
  padding: 0;
  display: grid;
  position: relative;
}

.notification-bell b {
  color: #fff;
  background: #bd3b31;
  border: 2px solid #effcf1;
  border-radius: 10px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 9px;
  display: grid;
  position: absolute;
  top: -6px;
  right: -5px;
}

.stock-alert-popover {
  z-index: 50;
  background: #fff;
  border: 1px solid #cddfce;
  border-radius: 6px;
  width: 330px;
  position: absolute;
  top: 48px;
  right: 0;
  overflow: hidden;
  box-shadow: 0 18px 48px #03241a2b;
}

.stock-alert-popover header {
  border-bottom: 1px solid var(--line);
  background: #f7faf5;
  justify-content: space-between;
  align-items: center;
  padding: 14px 15px;
  display: flex;
}

.stock-alert-popover header > div {
  flex-direction: column;
  display: flex;
}

.stock-alert-popover header strong {
  font-size: 13px;
}

.stock-alert-popover header span {
  color: var(--muted);
  font-size: 9px;
}

.stock-alert-row {
  text-align: left;
  color: #8d3a2f;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf2eb;
  border-radius: 0;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 15px;
  display: flex;
}

.stock-alert-row:hover {
  background: #fff8f3;
}

.stock-alert-row span {
  color: var(--forest);
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.stock-alert-row small {
  color: var(--muted);
  font-size: 9px;
}

.stock-alert-clear {
  color: #36724a;
  align-items: center;
  gap: 8px;
  padding: 20px 15px;
  font-size: 11px;
  display: flex;
}

.stock-alert-footer {
  width: 100%;
  color: var(--forest);
  background: #f0f8f0;
  border: 0;
  border-radius: 0;
  padding: 10px;
  font-size: 10px;
}

.manager-outlook-wrap {
  background: #fff;
  border: 1px solid #d7e6d9;
  border-radius: 6px;
  margin: -5px 0 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px #03241a0b;
}

.manager-outlook {
  background: #d7e6d9;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: 1px;
  margin: 0;
  display: grid;
}

.manager-outlook > div, .manager-outlook article {
  background: #fff;
  padding: 19px 21px;
}

.manager-outlook h2 {
  margin: 5px 0;
  font-size: 21px;
}

.manager-outlook p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
}

.manager-outlook article {
  flex-direction: column;
  justify-content: center;
  display: flex;
}

.manager-outlook article small {
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #607566;
  font-size: 8px;
}

.manager-outlook article strong {
  font: 27px var(--serif);
  color: var(--forest);
  margin: 5px 0;
}

.manager-outlook article span {
  color: var(--muted);
  font-size: 9px;
}

.manager-outlook .busy-outlook {
  background: #fff9e9;
  border-top: 3px solid #d6a237;
  padding-top: 16px;
}

.manager-flow-head {
  justify-content: space-between;
  gap: 20px;
  padding: 17px 21px 6px;
  display: flex;
}

.manager-flow-head > div {
  gap: 13px;
  display: flex;
}

.manager-flow-head > div:first-child {
  flex-direction: column;
  gap: 2px;
}

.manager-flow-head strong {
  font-size: 12px;
}

.manager-flow-head span {
  color: var(--muted);
  align-items: center;
  gap: 5px;
  font-size: 9px;
  display: flex;
}

.manager-flow-head i {
  border-radius: 2px;
  width: 9px;
  height: 9px;
}

.actual-key {
  background: #315f43;
}

.forecast-key {
  background: #d6a237;
}

.manager-sales-flow {
  background: linear-gradient(#fbfdf9, #f5faf5);
  align-items: end;
  gap: 5px;
  height: 185px;
  padding: 12px 21px 25px;
  display: flex;
}

.manager-sales-flow > span {
  cursor: help;
  border-bottom: 1px solid #b9cbbc;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: stretch;
  height: 135px;
  display: flex;
  position: relative;
}

.manager-sales-flow i {
  background: linear-gradient(#74a17e, #315f43);
  border-radius: 2px 2px 0 0;
  width: 100%;
  min-height: 2px;
  display: block;
}

.manager-sales-flow .forecast i {
  background: linear-gradient(#f2c65b, #b68224);
}

.manager-sales-flow small {
  transform-origin: top;
  white-space: nowrap;
  color: #6b7e70;
  font-size: 7px;
  position: absolute;
  top: 141px;
  left: 50%;
  transform: translateX(-50%)rotate(-45deg);
}

.manager-sales-flow b {
  text-transform: uppercase;
  color: #85651f;
  z-index: 2;
  background: #fff4d2;
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 7px;
  position: absolute;
  top: -23px;
  right: -13px;
}

@media (max-width: 1100px) {
  .manager-outlook {
    grid-template-columns: 1fr 1fr;
  }

  .manager-outlook > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .manager-outlook {
    grid-template-columns: 1fr;
  }

  .manager-outlook > div {
    grid-column: auto;
  }

  .stock-alert-popover {
    width: auto;
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
  }
}

.forecasts-container, .decisions-audit-container {
  max-width: none;
  padding: 0;
}

.forecasts-overview-header, .decisions-subview-header, .forecast-kpi-card, .forecast-card-deepdive, .forecast-ledger-pane, .rec-card, .decisions-kpi-card {
  border-color: var(--line);
  border-radius: 5px;
  box-shadow: 0 2px 8px #03241a09;
}

.overview-title-block h2, .forecast-card-deepdive h3, .ledger-header-row h4, .rec-card-title, .decisions-kpi-card .kpi-val, .forecast-kpi-card .kpi-val {
  color: var(--forest);
}

.action-btn.primary {
  background: var(--forest);
  border-radius: 4px;
}

.action-btn.soft, .action-btn.icon-text-btn {
  background: var(--soft);
  color: var(--forest);
  border-color: #cfe2d2;
  border-radius: 4px;
}

.action-btn.sparkle-btn {
  background: var(--gold);
  color: var(--forest);
  box-shadow: none;
  border-radius: 4px;
}

.model-badge {
  border-radius: 3px;
}

.model-badge.active {
  background: var(--soft);
  color: #315f43;
  border-color: #c9dfce;
}

.model-badge.baseline {
  color: #75612f;
  background: #f8f6ed;
  border-color: #e8dfc8;
}

.model-badge.calibrated {
  color: #315f43;
  background: #edf8ef;
  border-color: #c9dfce;
}

.active-jobs-banner {
  color: #315f43;
  background: #f5fbf5;
  border-color: #c9dfce;
  border-radius: 5px;
}

.forecast-table th {
  color: #4a6555;
  background: #e1f4e5;
}

.forecast-table tbody tr:hover {
  background: #f5fbf5;
}

.feature-flow {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 5px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 22px;
  display: grid;
  overflow: hidden;
}

.feature-flow > div {
  background: #f8fcf8;
  grid-template-columns: 27px 1fr;
  column-gap: 9px;
  padding: 13px 15px;
  display: grid;
  position: relative;
}

.feature-flow > div > span {
  background: var(--forest);
  width: 27px;
  height: 27px;
  color: var(--gold);
  font: 600 13px var(--serif);
  border-radius: 50%;
  grid-row: 1 / 3;
  align-self: start;
  place-items: center;
  display: grid;
}

.feature-flow strong {
  color: var(--forest);
  font-size: 11px;
}

.feature-flow small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.intelligence-helper {
  background: #f8f6ed;
  border-left: 3px solid #c69b3a;
  max-width: 760px;
  padding: 10px 12px;
  color: #536a5c !important;
  margin: 12px 0 0 !important;
  font-size: 11px !important;
}

@media (max-width: 760px) {
  .feature-flow {
    grid-template-columns: 1fr;
  }

  .forecasts-overview-header, .decisions-subview-header {
    padding: 16px;
  }

  .forecasts-container, .decisions-audit-container {
    gap: 14px;
  }
}

.customer-feedback-section {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  margin: 20px 0;
  padding: 20px;
}

.customer-feedback-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  display: flex;
}

.customer-feedback-head h3 {
  color: var(--forest);
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 19px;
  display: flex;
}

.customer-feedback-head p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 11px;
}

.feedback-totals {
  border: 1px solid var(--line);
  background: #f7fbf6;
  border-radius: 4px;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 1px 8px;
  padding: 8px 12px;
  display: grid;
}

.feedback-totals strong {
  font: 18px var(--serif);
  color: var(--forest);
}

.feedback-totals span {
  color: var(--muted);
  font-size: 9px;
}

.feedback-layout {
  grid-template-columns: minmax(280px, .75fr) 1.25fr;
  gap: 16px;
  display: grid;
}

.feedback-aspects {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.feedback-aspects article {
  border-left: 3px solid var(--gold);
  background: #f7fbf6;
  flex-direction: column;
  padding: 12px;
  display: flex;
}

.feedback-aspects span {
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
}

.feedback-aspects strong {
  color: #356246;
  margin-top: 6px;
  font-size: 11px;
}

.feedback-aspects small {
  color: #8b312b;
  margin-top: 2px;
  font-size: 9px;
}

.review-list {
  gap: 8px;
  display: grid;
}

.review-list article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 12px 14px;
}

.review-list article > div {
  justify-content: space-between;
  gap: 12px;
  display: flex;
}

.review-list p {
  color: #33483c;
  margin: 8px 0;
  font-size: 11px;
  line-height: 1.55;
}

.review-stars {
  color: #b98524;
  gap: 2px;
  display: inline-flex;
}

.review-list small {
  color: var(--muted);
  font-size: 9px;
}

.review-state {
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #356246;
  font-size: 8px;
  font-weight: 700;
}

.matrix-badge {
  align-items: center;
  gap: 4px;
  display: inline-flex !important;
}

.decisions-kpi-card.highlight-blue, .forecast-kpi-card.highlight-blue, .forecast-kpi-card.highlight-purple {
  border-left-color: var(--gold);
}

.rec-card.status-approved {
  border-top-color: #4d7f5c;
}

.rec-status-badge.approved {
  color: #315f43;
  background: #edf8ef;
  border-color: #c9dfce;
}

.btn-approve, .action-btn.primary {
  background: var(--forest);
  color: #fff;
}

.btn-approve:hover:not(:disabled), .action-btn.primary:hover:not(:disabled) {
  background: #164a35;
}

.period-btn.active {
  background: #fff8e7;
  border-color: #c79b38;
}

.audit-diff-chip.changed {
  color: #315f43;
  background: #edf8ef;
}

.quadrant-plowhorses, .quadrant-puzzles {
  background: #fbfdf9 !important;
  border-top-color: #6e9279 !important;
}

.matrix-badge.plowhorse, .matrix-badge.puzzle {
  color: #315f43 !important;
  background: #edf6ee !important;
  border-color: #c9dfce !important;
}

.filter-pill.active {
  background: var(--forest) !important;
  color: #fff !important;
  border-color: var(--forest) !important;
}

.svg-uncertainty-envelope {
  fill: #c69b3a29;
}

.svg-forecast-line {
  stroke: #315f43;
}

.svg-point {
  fill: #b98524;
}

.svg-point:hover, .svg-point.active {
  fill: #315f43;
}

.model-tag {
  color: #315f43;
}

.forecast-table tbody tr.row-selected {
  background: #eff7ef;
}

.jobs-count-tag {
  background: var(--forest);
}

.record-list {
  gap: 7px;
  margin: 0;
  display: grid;
}

.record-list > div {
  border-bottom: 1px solid #e3ebe4;
  grid-template-columns: minmax(110px, .4fr) 1fr;
  gap: 10px;
  padding: 7px 0;
  display: grid;
}

.record-list > div:last-child {
  border-bottom: 0;
}

.record-list dt {
  color: #587061;
  font-size: 10px;
  font-weight: 700;
}

.record-list dd {
  color: #263d31;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 11px;
}

.evidence-readable {
  gap: 7px;
  margin: 0;
  display: grid;
}

.evidence-readable > div {
  border-bottom: 1px solid #dfe8e1;
  grid-template-columns: minmax(110px, .4fr) 1fr;
  gap: 10px;
  padding: 7px 0;
  display: grid;
}

.evidence-readable dt {
  color: #486052;
  font-weight: 700;
}

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

.evidence-readable ul {
  margin: 0;
  padding-left: 16px;
}

@media (max-width: 760px) {
  .customer-feedback-head {
    flex-direction: column;
  }

  .feedback-layout {
    grid-template-columns: 1fr;
  }

  .feedback-aspects {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .feedback-aspects {
    grid-template-columns: 1fr;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: #07352740;
  border-radius: 4px;
}

/* [project]/src/app/stitch.css [app-client] (css) */
html {
  scroll-behavior: smooth;
}

.stitch-landing {
  background: #e9ffee;
}

.stitch-landing nav {
  gap: 24px;
  height: 72px;
  padding: 0 32px;
}

.stitch-landing nav .brand > span {
  font-size: 23px;
}

.stitch-landing .brand-nav {
  gap: 28px;
  height: 100%;
}

.brand-nav > a {
  color: #9fb5a7;
  align-items: center;
  height: 100%;
  font-size: 11px;
  display: flex;
}

.brand-nav .current {
  color: #f5bd50;
  border-bottom: 2px solid #f5bd50;
}

.brand-access {
  color: #ffdea7;
  background: #1b3a2f;
}

.bronze {
  color: #fff;
  background: #8b650b;
}

.symphony-hero {
  color: #fff;
  text-align: center;
  background: #03241a;
  padding: 75px 24px 58px;
  position: relative;
  overflow: hidden;
}

.symphony-content {
  max-width: 1080px;
  margin: auto;
  position: relative;
}

.hero-tag {
  letter-spacing: 2px;
  color: #ffdea7;
  background: #ffc6571c;
  border: 1px solid #ffc65713;
  border-radius: 20px;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  font-size: 9px;
  display: inline-flex;
}

.symphony-hero h1 {
  letter-spacing: -1.7px;
  max-width: 850px;
  margin: 25px auto 20px;
  font-size: 56px;
  line-height: 1.14;
}

.symphony-hero p {
  color: #96afa1;
  max-width: 595px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
}

.hero-buttons {
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  display: flex;
}

.hero-buttons .button {
  padding: 14px 24px;
  font-size: 12px;
}

.hero-metrics {
  background: #1b3a2fd9;
  border: 1px solid #ffffff05;
  border-radius: 6px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 875px;
  margin: 55px auto 0;
  padding: 24px 15px;
  display: grid;
}

.hero-metrics > div {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.hero-metrics strong {
  font: 32px var(--serif);
  color: #ffdea7;
}

.hero-metrics span {
  letter-spacing: 1.3px;
  font-size: 10px;
}

.hero-metrics small {
  color: #90ad9b;
  font-size: 10px;
}

.architectural-rings {
  opacity: .22;
  pointer-events: none;
  place-items: center;
  display: grid;
  position: absolute;
  inset: 0;
}

.architectural-rings i {
  border: 1px solid #957325;
  border-radius: 50%;
  width: 400px;
  height: 400px;
  position: absolute;
}

.architectural-rings i:nth-child(2) {
  border-style: dashed;
  width: 610px;
  height: 610px;
}

.architectural-rings i:nth-child(3) {
  width: 800px;
  height: 800px;
}

.architectural-rings i:nth-child(4) {
  border-style: dashed;
  width: 1040px;
  height: 1040px;
}

.editorial-strip {
  background: #d6eedc;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 46px max(32px, 50% - 600px);
  display: grid;
}

.editorial-strip h2 {
  margin: 13px 0;
  font-size: 31px;
  line-height: 1.18;
}

.editorial-strip p {
  color: #536a5c;
  font-size: 12px;
  line-height: 1.8;
}

.editorial-strip figure {
  background: #1b3a2f;
  border-radius: 4px;
  align-self: stretch;
  min-height: 280px;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.editorial-strip img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
}

.editorial-strip figcaption {
  bottom: 0;
  color: #fff;
  background: linear-gradient(#0000, #03241aee);
  padding: 45px 15px 17px;
  position: absolute;
  inset-inline: 0;
}

.editorial-strip figcaption b, .editorial-strip figcaption span {
  display: block;
}

.editorial-strip figcaption b {
  font: 18px var(--serif);
}

.editorial-strip figcaption span {
  color: #bbcfbf;
  margin-top: 5px;
  font-size: 10px;
}

.service-signature {
  align-items: center;
  margin-top: 24px;
  display: flex;
}

.service-signature > span {
  color: #f5bd50;
  background: #1b3a2f;
  border: 2px solid #d6eedc;
  border-radius: 50%;
  place-items: center;
  width: 33px;
  height: 33px;
  margin-left: -7px;
  display: grid;
}

.service-signature > span:first-child {
  margin-left: 0;
}

.service-signature > div {
  padding-left: 9px;
}

.service-signature strong, .service-signature small {
  font-size: 10px;
  display: block;
}

.service-signature small {
  color: #657d6d;
  font-size: 9px;
}

.section-intro {
  text-align: center;
  margin-bottom: 30px;
}

.section-intro h2 {
  margin: 12px 0;
  font-size: 32px;
}

.section-intro p {
  color: #6d8275;
  font-size: 12px;
}

.portals-section {
  padding: 58px 32px;
}

.stitch-landing .portal-cards {
  gap: 24px;
  max-width: 1180px;
  margin: auto;
  padding: 0;
}

.stitch-landing .portal-cards article {
  border-radius: 4px;
  padding: 28px 25px;
}

.portal-card-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  display: flex;
}

.portal-card-top > svg {
  box-sizing: content-box;
  color: #ffd477;
  background: #03241a;
  padding: 8px;
}

.portal-card-top > span {
  color: #667e6e;
  letter-spacing: 1px;
  font-size: 9px;
}

.stitch-landing .portal-cards article:nth-child(2) .portal-card-top > svg {
  background: #8c650f;
}

.stitch-landing .portal-cards h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.stitch-landing .portal-cards p {
  min-height: 60px;
  font-size: 12px;
}

.portal-cards ul {
  min-height: 112px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.portal-cards li {
  color: #506657;
  gap: 8px;
  margin: 12px 0;
  font-size: 11px;
  display: flex;
}

.portal-cards li svg {
  color: #7d681f;
  flex-shrink: 0;
}

.stitch-landing .portal-cards a {
  color: #8b6515;
  border-top: 1px solid #edf1eb;
  padding-top: 18px;
  font-size: 10px;
}

.pipeline-section {
  background: #e1fae7;
  padding: 52px 32px;
}

.pipeline-frame {
  background: #fff;
  border: 1px solid #d0e0ce;
  border-radius: 5px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px;
  box-shadow: 0 5px 20px #1b3a2f0b;
}

.pipeline-bar {
  color: #fff;
  background: #03241a;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 10px;
  display: flex;
}

.pipeline-bar > span, .pipeline-bar > a {
  align-items: center;
  gap: 8px;
  display: flex;
}

.pipeline-bar > a {
  color: #ffdea7;
}

.pipeline-stages {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px;
  display: grid;
}

.pipeline-stages details {
  background: #f3fcf1;
  border-top: 2px solid #cfa348;
  padding: 16px;
}

.pipeline-stages details:nth-child(n+3) {
  border-top-color: #58986c;
}

.pipeline-stages summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  list-style: none;
}

.pipeline-stages summary > span {
  color: #8a9d8a;
  margin-bottom: 10px;
  font: 10px Inter, sans-serif;
  display: block;
}

.pipeline-stages p {
  color: #637a69;
  margin: 14px 0;
  font-size: 11px;
  line-height: 1.8;
}

.pipeline-stages small {
  letter-spacing: .7px;
  color: #786123;
  font-size: 8px;
  font-weight: 700;
}

.hospitality-quote {
  text-align: center;
  background: #d0e8d7;
  padding: 48px 25px;
}

.hospitality-quote > span {
  font: 55px/1 var(--serif);
  color: #8aa896;
}

.hospitality-quote blockquote {
  font: italic 23px/1.6 var(--serif);
  color: #507660;
  margin: 0 0 25px;
}

.hospitality-quote small {
  letter-spacing: 1.5px;
  color: #688272;
  font-size: 9px;
}

.landing-cta {
  text-align: center;
  color: #fff;
  background: #03241a;
  padding: 65px 24px;
}

.landing-cta > svg {
  color: #d9b766;
}

.landing-cta h2 {
  margin: 18px 0;
  font-size: 34px;
}

.landing-cta p {
  color: #90ac9c;
  font-size: 12px;
}

.landing-cta > small {
  letter-spacing: 1.3px;
  color: #8da894;
  margin-top: 25px;
  font-size: 8px;
  display: block;
}

.stitch-landing footer {
  border-top: 1px solid #ffffff0c;
  padding: 24px 32px;
}

.stitch-landing footer > div {
  gap: 25px;
  display: flex;
}

.stitch-landing footer > .brand > span {
  font-size: 20px;
}

.sidebar {
  width: 256px;
}

.workspace {
  margin-left: 256px;
}

.sidebar > a {
  padding: 22px 24px 28px;
}

.sidebar nav a, .sidebar nav button.nav-link {
  justify-content: flex-start;
}

.topbar {
  height: 64px;
}

.workspace-main {
  padding: 28px 32px;
}

.page-heading h1 {
  font-size: 32px;
}

.page-heading .eyebrow {
  font-size: 9px;
}

.stats {
  gap: 22px;
}

.stats article {
  border: 0;
  min-height: 160px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
  gap: 25px;
}

.dashboard-grid .panel {
  border: 0;
}

.right-column .panel {
  padding: 19px;
}

.station-banner {
  color: #fff;
  background: #03241a;
  border: 3px solid #fff;
  border-radius: 7px;
  margin-bottom: 25px;
  padding: 19px 22px;
  box-shadow: 0 3px #c9b673;
}

.station-banner .eyebrow {
  color: #a4b9a9;
}

.station-banner h1 {
  margin: 0 0 7px;
  font-size: 27px;
}

.station-banner .muted {
  color: #a4b9a9;
  margin-top: 8px;
  font-size: 10px;
}

.station-person {
  font-size: 12px;
}

.station-person > span {
  color: #03241a;
  background: #d4b45c;
  border-radius: 2px;
  margin-left: 10px;
  padding: 3px 6px;
  font-size: 8px;
}

.station-waiter .stats {
  grid-template-columns: repeat(4, 1fr);
}

.station-waiter .stats article {
  min-height: 123px;
}

.station-waiter .order-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.station-waiter .order-card {
  padding: 17px 14px;
}

.station-waiter .card-title {
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 9px;
  display: flex;
}

.station-waiter .card-title h3 {
  font-size: 26px;
}

.station-kitchen .kanban > section {
  background: #fff;
  padding: 20px;
}

.kanban > section:nth-child(2) .kanban-title, .kanban > section:nth-child(3) .kanban-title {
  border-color: #649e70;
}

.station-kitchen .order-card {
  background: #f2fff0;
  border: 1px solid #e3efde;
  border-left: 3px solid #d4a349;
}

.station-kitchen .order-card.ready {
  border-left-color: #63a573;
}

.station-kitchen .order-card.cancelled {
  background: #fff1ee;
  border-left-color: #c63737;
}

.ticket-filters {
  background: #fff;
  border-radius: 4px;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  padding: 12px 15px;
  display: flex;
}

.ticket-filters button {
  color: #526d5c;
  text-transform: capitalize;
  background: none;
  padding: 7px 11px;
  font-size: 11px;
}

.ticket-filters button.selected {
  color: #fff;
  background: #03241a;
}

.ticket-filters button > span {
  color: inherit;
  background: #bde0c533;
  padding: 1px 5px;
  font-size: 9px;
}

.service-flow {
  max-width: 100%;
  margin-top: 10px;
  padding: 18px 22px;
}

.service-flow .panel-head {
  margin-bottom: 12px;
}

.service-flow h3 {
  margin: 0;
  font-size: 19px;
}

.flow-track {
  background: #edf3e9;
  border-radius: 2px;
  gap: 2px;
  height: 9px;
  display: flex;
  overflow: hidden;
}

.flow-legend {
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 12px;
  display: flex;
}

.flow-legend > span {
  text-transform: capitalize;
  color: #64806d;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  display: flex;
}

.flow-legend i {
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.flow-track .pending, .flow-legend .pending {
  background: #bb8626;
}

.flow-track .preparing, .flow-legend .preparing {
  background: #dbb15b;
}

.flow-track .ready, .flow-legend .ready {
  background: #7fa375;
}

.flow-track .completed, .flow-legend .completed {
  background: #287343;
}

.flow-track .cancelled, .flow-legend .cancelled {
  background: #bd3b31;
}

.login-stations-hint {
  background: #e1fae7;
  border-radius: 3px;
  margin: 25px 0 22px;
  padding: 7px !important;
  font-size: 10px !important;
}

.login-card {
  border: 1px solid #0b241a;
  border-radius: 12px;
  box-shadow: 0 12px 40px #0002;
}

.login-card .back-link {
  border-top: 0;
}

.login-screen {
  min-height: calc(100vh - 40px);
  margin: 20px 0;
}

.login-footer {
  font-size: 8px;
}

.topbar > .icon {
  border: 1px solid #e2ecdf;
}

@media (max-width: 1200px) {
  .stitch-landing .brand-nav {
    gap: 14px;
  }

  .editorial-strip {
    gap: 20px;
    padding: 35px 25px;
  }

  .editorial-strip h2 {
    font-size: 26px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1.8fr) 250px;
  }

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

  .sidebar {
    width: 220px;
  }

  .workspace {
    margin-left: 220px;
  }

  .workspace-main {
    padding: 25px;
  }

  .stats {
    gap: 14px;
  }

  .pipeline-stages {
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 980px) {
  .stitch-landing nav .brand-nav {
    display: none;
  }

  .editorial-strip {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-strip > div {
    grid-column: 1 / -1;
    max-width: 650px;
  }

  .editorial-strip figure {
    min-height: 310px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-stages {
    grid-template-columns: 1fr 1fr;
  }

  .stitch-landing .portal-cards {
    gap: 15px;
  }

  .stitch-landing .portal-cards article {
    padding: 20px 16px;
  }

  .stitch-landing .portal-cards h3 {
    font-size: 21px;
  }

  .stitch-landing .portal-cards p {
    min-height: 90px;
  }

  .portal-cards ul {
    min-height: 150px;
  }

  .station-banner {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: 100%;
  }

  .workspace {
    margin-left: 0;
  }

  .workspace-main {
    padding: 22px 16px;
  }

  .sidebar > a {
    padding: 16px 20px;
  }

  .sidebar nav button.nav-link {
    justify-content: center;
    width: auto;
  }

  .station-banner {
    flex-wrap: wrap;
    gap: 13px;
  }

  .station-banner h1 {
    font-size: 25px;
  }

  .station-banner .gold {
    margin-left: auto;
  }

  .station-waiter .stats {
    gap: 10px;
  }

  .station-waiter .stats article {
    min-height: 120px;
    padding: 12px;
  }

  .stats article > div {
    align-items: flex-start;
  }

  .station-waiter .stats article svg {
    display: none;
  }

  .station-waiter .order-grid {
    grid-template-columns: 1fr;
  }

  .ticket-filters {
    gap: 2px;
    padding: 8px;
  }

  .ticket-filters button {
    padding: 6px 8px;
    font-size: 10px;
  }

  .stitch-landing nav {
    height: 65px;
    padding: 0 20px;
  }

  .stitch-landing nav .brand > span {
    font-size: 20px;
  }

  .symphony-hero {
    padding: 52px 20px 35px;
  }

  .symphony-hero h1 {
    letter-spacing: -1px;
    font-size: 39px;
  }

  .symphony-hero p {
    font-size: 12px;
  }

  .hero-tag {
    letter-spacing: 1.3px;
    font-size: 7px;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-buttons .button {
    padding: 12px 16px;
    font-size: 11px;
  }

  .hero-metrics {
    gap: 8px;
    margin-top: 35px;
    padding: 20px 6px;
  }

  .hero-metrics strong {
    font-size: 26px;
  }

  .hero-metrics span {
    letter-spacing: .8px;
    font-size: 7px;
  }

  .hero-metrics small {
    font-size: 8px;
    line-height: 1.6;
  }

  .editorial-strip {
    gap: 13px;
    padding: 30px 20px;
  }

  .editorial-strip figure {
    min-height: 220px;
  }

  .editorial-strip figcaption {
    padding: 40px 10px 13px;
  }

  .editorial-strip figcaption b {
    font-size: 16px;
  }

  .editorial-strip figcaption span {
    font-size: 8px;
  }

  .portals-section, .pipeline-section {
    padding: 40px 20px;
  }

  .section-intro h2 {
    font-size: 29px;
  }

  .stitch-landing .portal-cards {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .stitch-landing .portal-cards article {
    padding: 25px;
  }

  .stitch-landing .portal-cards p, .portal-cards ul {
    min-height: 0;
  }

  .pipeline-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 10px;
    font-size: 8px;
  }

  .pipeline-stages details {
    padding: 12px;
  }

  .pipeline-stages summary {
    font-size: 16px;
  }

  .pipeline-stages p {
    font-size: 10px;
  }

  .hospitality-quote blockquote {
    font-size: 20px;
  }

  .landing-cta h2 {
    font-size: 30px;
  }

  .stitch-landing footer {
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px 20px;
  }

  .stitch-landing footer > div {
    gap: 18px;
  }

  .service-flow .panel-head {
    gap: 8px;
  }

  .service-flow .small {
    font-size: 10px;
  }

  .login-card {
    width: min(100%, 400px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

.stitch-landing .portal-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
}

.stitch-landing .portal-cards article {
  padding-inline: 22px;
}

.stitch-landing .portal-cards p {
  min-height: 78px;
}

.stitch-landing .portal-cards ul {
  min-height: 132px;
}

@media (max-width: 980px) {
  .stitch-landing .portal-cards {
    grid-template-columns: 1fr 1fr;
  }

  .stitch-landing .portal-cards p {
    min-height: 90px;
  }
}

@media (max-width: 760px) {
  .stitch-landing .portal-cards {
    grid-template-columns: 1fr;
  }

  .stitch-landing .portal-cards p, .stitch-landing .portal-cards ul {
    min-height: 0;
  }
}

/*# sourceMappingURL=src_app_1shevvo._.css.map*/