@font-face { font-family: Inter; src: url("assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.orders-demo { margin: 0; min-width: 320px; color: #1a2c24; background: #f5f7f6; font: 14px/1.5 Inter, system-ui, sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: #0b5734; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #267a53; outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px; background: white; }
.dashboard-header { background: #fff; border-bottom: 1px solid #d9e1dc; }
.header-inner { min-height: 72px; max-width: 1540px; margin: auto; padding: 12px 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.dashboard-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #143b29; font-size: 21px; font-weight: 650; }
.project-back { margin-left: auto; font-weight: 550; text-underline-offset: 4px; }
.dashboard-header .language-switch { margin-left: auto; }
.dashboard-header .language-switch + .project-back { margin-left: 0; }
main { max-width: 1540px; margin: auto; padding: 24px 28px; }
.demo-safety { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; border: 1px solid #ccdccf; background: #eaf3ec; color: #194830; padding: 12px 16px; margin-bottom: 20px; border-radius: 6px; }
.demo-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #246b44; }
.demo-safety > span:last-child { color: #365b43; }
.dashboard-layout { display: grid; grid-template-columns: 196px minmax(0,1fr); min-height: 700px; background: #fff; border: 1px solid #d9e1dc; border-radius: 8px; overflow: clip; }
.dashboard-sidebar { background: #163d2c; color: #fff; padding: 26px 16px; }
.workspace-name { font-size: 15px; font-weight: 650; margin: 0 4px 30px; }
.workspace-name > span { display: block; color: #cadace; font-size: 12px; font-weight: 400; margin-top: 5px; }
.sidebar-current { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px; background: #2b563f; border-radius: 5px; color: #fff; text-decoration: none; font-weight: 550; }
.sidebar-current img { filter: brightness(0) invert(1); }
.sidebar-current > span { margin-left: auto; font-size: 12px; }
.sidebar-season { border-top: 1px solid #48705b; margin-top: 32px; padding: 22px 4px; font-size: 12px; color: #cadace; }
.sidebar-season strong { display: block; color: #fff; margin: 5px 0 15px; font-size: 14px; }
.dashboard-main { min-width: 0; padding: 30px; }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.dashboard-title h1 { font-size: 28px; line-height: 1.2; font-weight: 650; margin: 7px 0; }
.dashboard-title p { color: #57665d; margin: 0; }
.dashboard-eyebrow { font-size: 11px; color: #536559; text-transform: uppercase; font-weight: 650; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #cad5cd; border-radius: 6px; background: #fff; }
.icon-button:hover { background: #edf3ef; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #dbe3dd; border-bottom: 1px solid #dbe3dd; margin-bottom: 25px; }
.dashboard-metrics > div { min-width: 0; padding: 20px 16px; border-right: 1px solid #dbe3dd; }
.dashboard-metrics > div:first-child { padding-left: 0; }
.dashboard-metrics > div:last-child { border-right: 0; }
.dashboard-metrics span { display: block; color: #57665d; font-size: 12px; }
.dashboard-metrics strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.3; margin-top: 8px; overflow-wrap: anywhere; }
.dashboard-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 30px; align-items: end; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 550; }
input[type="search"], select { min-width: 0; width: 100%; min-height: 42px; border: 1px solid #b9c8be; border-radius: 5px; background: #fff; color: #21392b; padding: 9px 10px; font-size: 13px; }
input::placeholder { color: #67756b; opacity: 1; }
.text-button { border: 0; background: none; color: #0b5734; padding: 6px 0; min-height: 34px; justify-self: start; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.results-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.results-heading p { color: #57665d; font-size: 12px; margin: 0; }
.order-table-scroll { overflow: auto; border: 1px solid #dbe3dd; border-radius: 6px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.order-table th { background: #f1f5f2; font-weight: 600; color: #4a5c50; text-align: left; padding: 12px; border-bottom: 1px solid #dbe3dd; }
.order-table td { padding: 13px 12px; border-bottom: 1px solid #e5ebe7; vertical-align: middle; }
.order-table tr:last-child td { border-bottom: 0; }
.order-table tr:hover { background: #f8faf8; }
.order-table td > strong { font-weight: 600; }
.cell-secondary { display: block; margin-top: 3px; color: #596b5f; font-size: 11px; }
.cell-tags { display: block; color: #6e4a1c; font-size: 10px; margin-top: 5px; }
.status-badge { display: inline-block; padding: 3px 7px; font-size: 11px; border-radius: 4px; color: #314b40; background: #e7efea; }
.status-received { background: #e8edf9; color: #30497b; }
.status-preparing { background: #fff0ce; color: #72500c; }
.status-ready { background: #dcefe0; color: #215a32; }
.status-cancelled { background: #f7e5e4; color: #8b3833; }
.status-collected { background: #edf0ee; color: #526058; }
.order-open { background: #fff; border: 1px solid #b7c9bd; border-radius: 4px; color: #174c30; padding: 7px 10px; min-height: 36px; font-size: 12px; }
.order-open:hover { background: #eaf3ed; }
.data-caption, .dashboard-footnote { font-size: 12px; color: #586b5e; }
.data-caption { margin: 15px 0 0; }
.dashboard-footnote { margin: 18px 0; }
.empty-orders { padding: 40px 16px; text-align: center; border-bottom: 1px solid #dbe3dd; }
.empty-orders h3 { font-size: 18px; margin: 0; }
.empty-orders p { color: #586b5e; }
.action-button { background: #0b5734; color: #fff; border: 1px solid #0b5734; border-radius: 5px; min-height: 42px; padding: 10px 16px; font-weight: 550; }
.action-button:hover { background: #073d24; }
.action-status, #save-status { color: #0b5734; min-height: 21px; font-size: 13px; }
.order-dialog { width: min(620px,calc(100% - 24px)); max-height: calc(100% - 32px); border: 1px solid #c3d1c8; border-radius: 8px; padding: 28px; background: #fff; color: #1a2c24; box-shadow: 0 24px 90px #142f2c40; }
.order-dialog::backdrop { background: #10241c8c; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading p { margin: 0; }
.dialog-heading h2 { font-size: 25px; margin: 4px 0 0; }
.dialog-safety { color: #385a46; background: #edf5ef; border-left: 3px solid #659475; padding: 10px 12px; font-size: 12px; }
.order-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 25px 0; }
.order-facts dt { color: #586b5e; font-size: 11px; }
.order-facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
#order-editor { border-top: 1px solid #dbe3dd; padding-top: 22px; }
#order-editor fieldset { margin: 18px 0; padding: 0; border: 0; }
#order-editor legend { font-size: 12px; font-weight: 550; margin-bottom: 8px; }
.tag-options { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.tag-options label { display: flex; align-items: center; gap: 7px; min-height: 32px; }
.tag-options input { width: 17px; height: 17px; accent-color: #0b5734; }
.order-history { border-top: 1px solid #dbe3dd; margin-top: 20px; padding-top: 18px; }
.order-history h3 { font-size: 14px; margin: 0 0 10px; }
.order-history ol { margin: 0; padding-left: 20px; font-size: 12px; color: #586b5e; }
.order-history li { padding: 5px 0; }
.notification-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; color: #174c30; border: 0; padding: 15px 0 5px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.message-preview { background: #f5f7f6; border: 1px solid #dbe3dd; border-radius: 5px; padding: 15px; margin-top: 12px; font-size: 12px; overflow-wrap: anywhere; }
.message-preview p:last-child { margin-bottom: 0; }
.no-script-sample { padding: 25px; background: #fff; }
.no-script-sample table { width: 100%; border-collapse: collapse; }
.no-script-sample th, .no-script-sample td { text-align: left; padding: 10px; border-bottom: 1px solid #dbe3dd; }
@media (max-width: 1100px) {
  .dashboard-layout { grid-template-columns: 160px minmax(0,1fr); }
  .dashboard-main { padding: 24px 20px; }
  .dashboard-metrics strong { font-size: 21px; }
}
@media (max-width: 800px) {
  .dashboard-layout { display: block; }
  .dashboard-sidebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; }
  .workspace-name { margin: 0; font-size: 14px; }
  .sidebar-current { min-width: 140px; }
  .sidebar-season { display: none; }
  .dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-metrics > div { padding: 16px 10px; }
  .dashboard-metrics > div:nth-child(2) { border-right: 0; }
  .dashboard-metrics > div:nth-child(3), .dashboard-metrics > div:nth-child(4) { border-top: 1px solid #dbe3dd; }
  .dashboard-metrics > div:nth-child(3) { padding-left: 0; }
  .dashboard-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .search-filter { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; gap: 12px; }
  .dashboard-brand { font-size: 19px; }
  .project-back { font-size: 12px; width: 100%; }
  main { padding: 16px 12px; }
  .demo-safety { gap: 8px; padding: 12px; font-size: 12px; }
  .demo-safety > span:last-child { flex-basis: 100%; }
  .dashboard-sidebar { padding: 14px 12px; }
  .sidebar-current { min-width: 120px; font-size: 12px; }
  .dashboard-main { padding: 20px 12px; }
  .dashboard-title { gap: 10px; }
  .dashboard-title h1 { font-size: 24px; }
  .dashboard-title > div > p:last-child { font-size: 12px; }
  .dashboard-metrics strong { font-size: 22px; }
  .dashboard-metrics span { font-size: 11px; }
  .dashboard-filters { gap: 12px 8px; }
  .results-heading { flex-wrap: wrap; gap: 4px; }
  .order-dialog { padding: 20px 16px; }
  .order-facts { gap: 15px 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
