/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties;
.collapse {
  visibility: collapse;
}
.absolute {
  position: absolute;
}
.static {
  position: static;
}
.container {
  width: 100%;
}
.block {
  display: block;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.inline {
  display: inline;
}
.table {
  display: table;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-grow {
  flex-grow: 1;
}
.grow {
  flex-grow: 1;
}
.border-collapse {
  border-collapse: collapse;
}
.transform {
  transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
}
.resize {
  resize: both;
}
.flex-wrap {
  flex-wrap: wrap;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.border {
  border-style: var(--tw-border-style);
  border-width: 1px;
}
.outline {
  outline-style: var(--tw-outline-style);
  outline-width: 1px;
}
.transition {
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
  transition-timing-function: var(--tw-ease, ease);
  transition-duration: var(--tw-duration, 0s);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito',sans-serif;
  background: #FAF8F4;
  color: #1E2320;
  font-weight: 400;
}
.layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 250px;
  background: #DCC9AD;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 8px 20px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: #5F7263;
  border-radius: 11px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 10px;
}
.logo-mark i {
  display: block;
  width: 4px;
  background: #FAF8F4;
  border-radius: 2px;
}
.logo-mark i:nth-child(1) {
  height: 9px;
}
.logo-mark i:nth-child(2) {
  height: 15px;
}
.logo-mark i:nth-child(3) {
  height: 20px;
}
.logo b {
  font-size: 17px;
  font-weight: 600;
  display: block;
  line-height: 1.1;
}
.logo span {
  font-size: 11.5px;
  color: #6d6252;
  font-weight: 500;
}
.navlabel {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: #8a7a5f;
  font-weight: 600;
  padding: 14px 10px 7px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 10px;
  color: #3d443f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.nav a svg {
  width: 18px;
  height: 18px;
  stroke: #5F7263;
  flex-shrink: 0;
}
.nav a.active {
  background: #fff;
  font-weight: 600;
  color: #1E2320;
  box-shadow: 0 2px 8px rgba(30,35,32,.08);
}
.badge {
  margin-left: auto;
  background: #B9975B;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 1px 8px;
}
.badge.sage {
  background: #5F7263;
}
.usercard {
  margin-top: auto;
  background: rgba(255,255,255,.65);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5F7263;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.usercard b {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
}
.usercard span {
  font-size: 11.5px;
  color: #767C76;
}
.main {
  flex: 1;
  padding: 26px 30px;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.topbar h1 {
  font-size: 24px;
  font-weight: 600;
}
.topbar p {
  font-size: 13px;
  color: #767C76;
  font-weight: 500;
  margin-top: 2px;
}
.search {
  margin-left: auto;
  background: #fff;
  border: 1px solid #E9E2D5;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #767C76;
  width: 230px;
  font-weight: 500;
}
.btn {
  background: #5F7263;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.btn.bronze {
  background: #B9975B;
}
.btn.ghost {
  background: #fff;
  color: #1E2320;
  border: 1px solid #E9E2D5;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.kpi {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(30,35,32,.05);
}
.kpi span {
  font-size: 12.5px;
  color: #767C76;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}
.kpi b {
  font-size: 26px;
  font-weight: 600;
  display: block;
  margin: 7px 0 3px;
}
.kpi small {
  font-size: 12px;
  color: #5F7263;
  font-weight: 600;
}
.kpi small.warn {
  color: #B3261E;
}
.grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(30,35,32,.05);
}
.card h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.card .sub {
  font-size: 12.5px;
  color: #767C76;
  font-weight: 500;
  margin-bottom: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: #767C76;
  font-weight: 600;
  padding: 8px 8px;
  border-bottom: 1px solid #F1EEE7;
}
td {
  padding: 11px 8px;
  border-bottom: 1px solid #F7F3EC;
  font-weight: 500;
}
tr:last-child td {
  border-bottom: none;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}
.dot.g {
  background: #5F7263;
}
.dot.r {
  background: #C0392B;
}
.dot.y {
  background: #B9975B;
}
.sname {
  font-weight: 600;
  display: flex;
  align-items: center;
}
.pill {
  background: #E9EFE9;
  color: #43554a;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 20px;
  padding: 2px 9px;
}
.pill.best {
  background: #5F7263;
  color: #fff;
}
.pill.out {
  background: #F6E8E6;
  color: #B3261E;
}
.alert {
  display: flex;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #F7F3EC;
}
.alert:last-child {
  border-bottom: none;
}
.alert i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #F1EEE7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex-shrink: 0;
}
.alert b {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
}
.alert p {
  font-size: 12.5px;
  color: #767C76;
  font-weight: 500;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 110px;
  padding-top: 8px;
}
.bars div {
  flex: 1;
  background: #5F7263;
  border-radius: 7px 7px 3px 3px;
  opacity: .92;
  position: relative;
}
.bars div:nth-child(odd) {
  background: #B9975B;
}
.barlabels {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.barlabels span {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: #767C76;
  font-weight: 600;
}
.route {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F1EEE7;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 600;
  flex-wrap: wrap;
}
.route .step {
  background: #fff;
  border-radius: 10px;
  padding: 7px 13px;
  box-shadow: 0 1px 5px rgba(30,35,32,.06);
}
.route .arrow {
  color: #B9975B;
  font-weight: 600;
}
.price {
  font-weight: 600;
  font-size: 15px;
}
.save {
  color: #5F7263;
  font-weight: 600;
  font-size: 12.5px;
}
@font-face {
  font-family: 'Nunito';
  src: url('/static/fonts/nunito-var.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
.card,.kpi {
  box-shadow: 0 1px 3px rgba(30,35,32,.05),0 10px 28px rgba(30,35,32,.06);
}
.kpi.flex {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #E9EFE9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.ic.b {
  background: #F3EBDD;
}
.tile {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #E9EFE9;
  color: #43554a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12.5px;
  margin-right: 9px;
  vertical-align: middle;
}
.tile.b {
  background: #F3EBDD;
  color: #7a6435;
}
.stockbar {
  width: 86px;
  height: 6px;
  background: #F1EEE7;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.stockbar i {
  display: block;
  height: 6px;
  background: #5F7263;
  border-radius: 4px;
}
.seg {
  display: flex;
  background: #fff;
  border: 1px solid #E9E2D5;
  border-radius: 12px;
  padding: 3px;
}
.seg span {
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: #767C76;
  border-radius: 9px;
}
.seg span.on {
  background: #5F7263;
  color: #fff;
}
.livepill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #E9EFE9;
  color: #43554a;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 12px;
}
.bars div {
  position: relative;
}
.bars em {
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  text-align: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #5F7263;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.flash {
  background: #E9EFE9;
  color: #43554a;
  border: 1px solid #d7e0d7;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
}
.fld {
  display: block;
  font-size: 12.5px;
  color: #767C76;
  font-weight: 600;
  margin-bottom: 12px;
}
.fld input,.fld select {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #E9E2D5;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: #1E2320;
  font-weight: 500;
  font-family: inherit;
}
.fld input:focus,.fld select:focus {
  outline: 2px solid #5F7263;
  outline-offset: 0;
  border-color: #5F7263;
}
.btn.danger {
  color: #B3261E;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,35,32,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}
.modal {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  max-width: 430px;
  width: 100%;
  box-shadow: 0 18px 50px rgba(30,35,32,.25);
}
.modal h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}
.modal .sub {
  font-size: 13px;
  color: #767C76;
  font-weight: 500;
  margin-bottom: 14px;
}
.modal table {
  margin-top: 6px;
}
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,.htmx-request.htmx-indicator {
  display: block;
}
.delivered {
  background: #F1EEE7;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-all;
}
.supadmin {
  border: 1px solid #F1EEE7;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fdfcf9;
}
.loginwrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.logincard {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(30,35,32,.05),0 18px 44px rgba(30,35,32,.08);
}
.loginerr {
  background: #F6E8E6;
  color: #B3261E;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.mbar {
  display: none;
}
.burger {
  width: 40px;
  height: 40px;
  background: #DCC9AD;
  border: none;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: #1E2320;
}
.scrim {
  display: none;
}
@media (max-width:900px) {
  .mbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #FAF8F4;
    position: sticky;
    top: 0;
    z-index: 40;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 6px 0 24px rgba(30,35,32,.18);
    overflow-y: auto;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .scrim.show {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(30,35,32,.35);
    z-index: 45;
  }
  .main {
    padding: 18px 16px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .kpi b {
    font-size: 21px;
  }
  .grid,.grid2 {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-wrap: wrap;
  }
  .topbar .search {
    width: 100% !important;
    margin-left: 0;
  }
  .card {
    overflow-x: auto;
  }
  .bars {
    gap: 6px;
  }
  .barlabels {
    gap: 6px;
  }
  .barlabels span {
    font-size: 9.5px;
  }
  .bars em {
    font-size: 9.5px;
  }
  .kpi.flex {
    flex-direction: column;
    gap: 9px;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
    }
  }
}
