@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";

/* src/kitchen-tablet.css */
.kitchen-launch {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.kitchen-launch a {
  text-decoration: none;
}
.kiosk {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 28px 40px;
  font-size: 19px;
  line-height: 1.5;
  color: #5d4a43;
  background: #fffaf6;
  min-height: 100vh;
  min-height: 100dvh;
}
.kiosk * {
  box-sizing: border-box;
}
.kiosk-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #eadbd3;
  padding-bottom: 18px;
}
.kiosk-header img {
  width: 110px;
  height: 85px;
  object-fit: contain;
}
.kiosk-header h1 {
  font-size: 30px;
  margin: 0;
}
.kiosk-header > a:last-child {
  margin-left: auto;
  text-decoration: none;
}
.kiosk button,
.kiosk .secondary,
.kiosk .primary {
  min-height: 54px;
  font-size: 18px;
  white-space: normal;
  touch-action: manipulation;
}
.kiosk-toolbar {
  display: flex;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.kiosk-toolbar label {
  margin: 0;
  min-width: 160px;
}
.kiosk-toolbar select,
.kiosk-toolbar input {
  font-size: 18px;
  min-height: 54px;
}
.kiosk-sync {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.kiosk .production-steps {
  margin: 0 0 24px;
}
.kiosk .production-steps button {
  min-height: 84px;
}
.kiosk .production-steps strong {
  font-size: 25px;
}
.kiosk .production-steps small {
  font-size: 16px;
}
.kiosk h2 {
  font-size: 28px;
}
.kiosk h3 {
  font-size: 24px;
}
.kiosk .ingredient-help {
  font-size: 17px;
  max-width: 850px;
}
.kiosk .piece-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.kiosk .piece-total {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}
.kiosk .piece-total > strong {
  font-size: 52px;
  line-height: 1.15;
}
.kiosk .piece-total > strong small {
  font-size: 21px;
}
.kiosk .piece-total .text-button {
  background: #a74763;
  color: white;
  border-radius: 14px;
}
.kiosk .piece-total details .text-button {
  background: none;
  color: #a74763;
}
.kiosk .field-help {
  font-size: 16px;
}
.kiosk .production-stock {
  margin-top: 28px;
}
.kiosk .production-stock > summary {
  padding: 18px;
}
.kiosk-packing {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.kiosk-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kiosk-orders button {
  padding: 20px;
  text-align: left;
  border: 1px solid #eadbd3;
  border-radius: 16px;
  background: #fff;
}
.kiosk-orders button.selected {
  border: 2px solid #a74763;
  background: #fbe7ec;
}
.kiosk-orders strong,
.kiosk-orders b,
.kiosk-orders small {
  display: block;
}
.kiosk-orders strong {
  font-size: 23px;
  margin: 4px 0;
}
.kiosk-orders small {
  font-size: 15px;
}
.kiosk-comanda {
  background: #fff;
  border: 1px solid #eadbd3;
  border-radius: 22px;
  padding: 26px;
  min-width: 0;
}
.kiosk-comanda header {
  border-bottom: 1px solid #eadbd3;
  padding-bottom: 18px;
}
.kiosk-comanda header h2 {
  font-size: 32px;
  margin: 6px 0;
}
.kiosk-ready,
.kiosk-warning {
  display: inline-block;
  border-radius: 10px;
  background: #e7efdf;
  color: #416148;
  padding: 9px 13px;
  font-size: 16px;
}
.kiosk-warning {
  background: #fff0d7;
  color: #805326;
}
.kiosk-check {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  margin: 0;
  border-bottom: 1px solid #eadbd3;
}
.kiosk-check input {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin: 0;
  accent-color: #a74763;
}
.kiosk-check > span {
  min-width: 0;
  display: block;
}
.kiosk-check strong {
  display: block;
  font-size: 24px;
  line-height: 1.35;
}
.kiosk-check span span {
  display: block;
  font-size: 19px;
  margin-top: 8px;
}
.kiosk-check.checked strong {
  text-decoration: line-through;
  color: #6b7d60;
}
.kiosk-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}
.kiosk-pack-actions button {
  flex: 1;
}
.kiosk-comanda > small {
  display: block;
  color: #75665e;
  font-size: 14px;
}
.kiosk-shortage {
  padding: 14px;
  background: #fff0d7;
  margin: 16px 0;
  border-radius: 12px;
}
.kiosk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid #eadbd3;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 15px;
}
.kiosk-footer label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.kiosk-footer input {
  width: 24px;
  height: 24px;
}
.kiosk-footer details {
  max-width: 600px;
}
.kiosk .modal input,
.kiosk .modal select,
.kiosk .modal textarea {
  font-size: 22px;
  min-height: 56px;
}
.kiosk .modal label {
  font-size: 21px;
}
.kiosk .modal p {
  font-size: 18px;
}
.kiosk .modal .checkbox input {
  min-height: 24px;
}
.kiosk-recipe li {
  padding: 12px 0;
  font-size: 23px;
}
.kiosk-recipe .recipe-instructions {
  white-space: pre-wrap;
  font-size: 23px;
  line-height: 1.7;
}
.kiosk button:disabled {
  opacity: .5;
}
.kiosk .notice,
.kiosk .alert {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .kiosk {
    padding: 14px;
  }
  .kiosk-header {
    gap: 12px;
    flex-wrap: wrap;
  }
  .kiosk-header img {
    width: 80px;
    height: 64px;
  }
  .kiosk-header h1 {
    font-size: 24px;
  }
  .kiosk-header > a:last-child {
    margin-left: 0;
  }
  .kiosk .piece-totals {
    grid-template-columns: 1fr;
  }
  .kiosk-packing {
    grid-template-columns: 1fr;
  }
  .kiosk-orders {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kiosk-orders button {
    padding: 14px;
  }
  .kiosk-comanda {
    padding: 18px;
  }
  .kiosk-sync {
    margin-left: 0;
    flex-wrap: wrap;
  }
  .kiosk .production-steps strong {
    font-size: 22px;
  }
  .kiosk .production-steps small {
    font-size: 14px;
  }
  .kiosk-check strong {
    font-size: 22px;
  }
}
.kiosk-header {
  padding-bottom: 10px;
}
.kiosk-header img {
  height: 54px;
  width: 82px;
}
.kiosk-header h1 {
  font-size: 26px;
}
.kiosk-header small {
  font-size: 14px;
}
.kiosk-toolbar {
  padding: 12px 0;
}
.kiosk .production-steps {
  margin-bottom: 18px;
}
.kiosk .production-steps button {
  min-height: 74px;
  padding: 12px 18px;
}
.kiosk-comanda header p {
  margin: 5px 0 10px;
}
.kiosk-comanda header h2 {
  font-size: 28px;
}
.kiosk-comanda header .eyebrow {
  margin: 0;
}
.kiosk-comanda header {
  padding-bottom: 14px;
}
.kiosk .piece-total .field-help {
  margin: 3px 0;
}
.kiosk .piece-totals {
  padding: 0;
}
.kiosk .production-stock .text-button {
  min-height: 48px;
}
@supports not (aspect-ratio:1) {
  .kiosk-header > * + *,
  .kiosk-toolbar > * + *,
  .kiosk-sync > * + *,
  .kiosk-pack-actions > * + *,
  .kiosk-footer > * + * {
    margin-left: 14px;
  }
  .kiosk-check > span {
    margin-left: 18px;
  }
  .kiosk-footer label input {
    margin-right: 10px;
  }
  .kiosk-toolbar {
    align-items: flex-end;
  }
  .kiosk-toolbar > * {
    margin-bottom: 10px;
  }
}

/* src/finance-workspace.css */
.fw {
  --fw-ink:#604e47;
  --fw-muted:#8c7970;
  --fw-line:#eee0d9;
  color: var(--fw-ink);
  min-width: 0;
}
.fw * {
  box-sizing: border-box;
}
.fw-toolbar,
.fw-panel header,
.fw-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fw-toolbar {
  margin: 12px 0;
}
.fw-period {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.fw-period button {
  border: 0;
  background: transparent;
  color: var(--fw-muted);
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
}
.fw-period button.selected {
  background: #f2e7dd;
  color: #784e40;
}
.fw-dates {
  display: flex;
  gap: 12px;
  max-width: 540px;
}
.fw-dates label {
  flex: 1;
  min-width: 0;
}
.fw-caption {
  color: var(--fw-muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0 18px;
}
.fw-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 25px;
}
.fw-card {
  border: 1px solid var(--fw-line);
  border-radius: 20px;
  padding: 22px;
  text-align: left;
  color: var(--fw-ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  transition: transform .15s;
}
.fw-card:hover {
  transform: translateY(-2px);
}
.fw-card > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.fw-card strong {
  font-size: clamp(24px, 2.5vw, 37px);
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.fw-card small {
  font-size: 12px;
  line-height: 1.5;
  color: #78665e;
}
.fw-card.mint {
  background: #e8f1e3;
}
.fw-card.rose {
  background: #fbe8ed;
}
.fw-card.cream {
  background: #fff3d9;
}
.fw-card.blue {
  background: #e8f2f8;
}
.fw-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--fw-line);
  margin: 0 0 22px;
  padding-bottom: 6px;
}
.fw-tabs button {
  border: 0;
  background: transparent;
  color: var(--fw-muted);
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.fw-tabs button.selected {
  background: #a84865;
  color: #fff;
}
.fw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.fw-panel {
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 22px;
  min-width: 0;
}
.fw-panel header {
  margin-bottom: 18px;
}
.fw-panel h2 {
  font-size: 21px;
  margin: 0;
  letter-spacing: -.4px;
}
.fw-panel h3 {
  font-size: 17px;
  margin: 18px 0 12px;
}
.fw-panel p {
  font-size: 14px;
  line-height: 1.65;
}
.fw-panel header > strong {
  font-size: 18px;
}
.fw-legend {
  display: flex;
  gap: 18px;
  font-size: 12px;
  margin: 0 0 18px;
  color: #668767;
}
.fw-legend span + span {
  color: #b96c81;
}
.fw-chart {
  display: grid;
  gap: 12px;
}
.fw-chart-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.fw-chart-row > span {
  color: var(--fw-muted);
}
.fw-bar-line {
  position: relative;
  display: flex;
  align-items: center;
  height: 22px;
  gap: 8px;
  padding-right: 85px;
}
.fw-bar-line i {
  display: block;
  background: #b5cdb0;
  height: 9px;
  border-radius: 5px;
  flex: none;
  max-width: 100%;
}
.fw-bar-line.out i {
  background: #e9b2c0;
}
.fw-bar-line small {
  position: absolute;
  right: 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.fw-chart + .text-button {
  margin-top: 18px;
}
.fw-category {
  margin: 18px 0;
}
.fw-category > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 8px;
}
.fw-track {
  height: 7px;
  border-radius: 5px;
  background: #f6eee8;
  overflow: hidden;
}
.fw-track i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #dca4b4;
}
.fw-attention {
  background: #fff9ec;
}
.fw-link {
  background: none;
  border: 0;
  text-align: left;
  color: var(--fw-ink);
  padding: 0;
  min-width: 0;
  cursor: pointer;
}
.fw-link strong {
  font-size: 15px;
}
.fw-link small,
.fw-income summary small {
  display: block;
  color: var(--fw-muted);
  margin-top: 6px;
  font-size: 13px;
}
.fw-fold > summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  padding: 4px 0;
  list-style-position: inside;
}
.fw-fold[open] > summary {
  margin-bottom: 18px;
}
.fw-empty {
  padding: 28px 0;
  color: var(--fw-muted);
}
.fw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--fw-line);
  width: 100%;
  background: none;
  color: var(--fw-ink);
  text-align: left;
  font-size: 14px;
}
.fw-row > strong {
  white-space: nowrap;
}
.fw-row > span:first-child,
.fw-row > .fw-link {
  flex: 1;
}
.fw-income {
  border-bottom: 1px solid var(--fw-line);
}
.fw-income summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 20px 0;
  font-size: 15px;
}
.fw-income summary b:after {
  content: " \2304";
  color: var(--fw-muted);
}
.fw-income > .fw-row {
  padding-left: 14px;
  padding-right: 14px;
  background: #fdf9f6;
}
.fw-income + .fw-fold {
  margin-top: 24px;
}
.fw-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.fw-metrics > div {
  border: 1px solid var(--fw-line);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.fw-metrics span {
  font-size: 13px;
  font-weight: 600;
}
.fw-metrics strong {
  font-size: 25px;
  overflow-wrap: anywhere;
}
.fw-metrics small {
  font-size: 12px;
  color: var(--fw-muted);
  line-height: 1.5;
}
.fw-table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--fw-line);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.fw-table {
  border-collapse: collapse;
  font-size: 13px;
  min-width: 1080px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.fw-table th,
.fw-table td {
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--fw-line);
  white-space: nowrap;
}
.fw-table td:first-child,
.fw-table th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}
.fw-table th {
  background: #f8eee7;
  font-size: 12px;
}
.fw-table th:first-child {
  background: #f8eee7;
}
.fw-table th button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}
.fw-table tr:nth-child(even) td {
  background: #fdfaf7;
}
.fw-table tbody tr:hover td {
  background: #fff5e0;
}
.fw-table tfoot td,
.fw-table tfoot th {
  background: #edf3e8 !important;
  font-weight: 700;
}
.fw-table .text-button {
  font-size: 12px;
  padding: 0;
}
.fw-pagination {
  font-size: 12px;
  color: var(--fw-muted);
  margin-top: 16px;
}
.fw-pagination span {
  margin-right: auto;
}
.fw-pagination button {
  font-size: 12px;
  padding: 9px 14px;
  min-height: 36px;
}
.fw-search {
  max-width: 420px;
  margin: 12px 0 18px;
  font-size: 13px;
}
.fw .expense-kinds {
  gap: 10px;
}
.fw .expense-kinds button {
  padding: 14px;
  min-width: 0;
}
.fw .expense-kinds strong {
  font-size: 20px;
}
.fw .expense-group {
  margin-bottom: 12px;
  border-radius: 14px;
}
.fw .expense-group summary {
  padding: 18px;
}
.fw .form-grid label {
  font-size: 13px;
}
.fw .form-grid {
  gap: 14px;
}
.fw .business-row {
  font-size: 14px;
}
.fw button:focus-visible,
.fw summary:focus-visible,
.fw-table-wrap:focus-visible {
  outline: 3px solid #a84865;
  outline-offset: 3px;
}
.fw button:disabled {
  opacity: .4;
  cursor: default;
}
.business-actions .finance-action {
  min-width: 145px;
  flex: 0 1 200px;
}
.business-actions .purchase-action {
  background: #fce6ee;
  color: #923a57;
  border: 1px solid #edbed0;
}
@media (max-width: 1100px) {
  .fw-cards,
  .fw-metrics {
    gap: 10px;
  }
  .fw-card {
    padding: 18px;
  }
  .fw-grid {
    gap: 14px;
  }
  .fw-panel {
    padding: 20px;
  }
  .fw-tabs button {
    padding: 12px 14px;
  }
  .fw-metrics > div {
    padding: 15px;
  }
}
@media (max-width: 760px) {
  .fw-cards,
  .fw-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fw-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fw-attention .fw-grid {
    gap: 20px;
  }
  .fw-panel {
    padding: 18px;
    border-radius: 17px;
  }
  .fw-card {
    padding: 16px;
    gap: 12px;
  }
  .fw-card strong {
    font-size: 25px;
  }
  .fw-card small {
    font-size: 11px;
  }
  .fw-toolbar {
    align-items: flex-start;
  }
  .fw-period button {
    font-size: 12px;
    padding: 9px 10px;
  }
  .fw-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .fw-tabs button {
    font-size: 12px;
    padding: 12px 8px;
  }
  .fw-panel h2 {
    font-size: 19px;
  }
  .fw-row {
    flex-wrap: wrap;
    font-size: 13px;
  }
  .fw-row > span:last-child {
    font-size: 12px;
  }
  .fw-metrics strong {
    font-size: 23px;
  }
  .fw-chart-row {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 6px;
  }
  .fw .expense-kinds {
    grid-template-columns: 1fr 1fr;
  }
  .fw .expense-group summary {
    flex-wrap: wrap;
    gap: 8px;
  }
  .fw .business-row {
    padding: 16px;
    gap: 10px;
  }
  .fw .business-row small {
    font-size: 12px;
  }
  .fw .expense-kinds strong {
    font-size: 18px;
  }
  .fw-pagination {
    gap: 8px;
  }
  .fw-pagination span {
    width: 100%;
  }
  .business-actions .finance-action {
    flex: 1 1 90px;
    min-width: 90px;
    padding: 12px 8px;
    font-size: 14px;
  }
}
.business-actions .finance-action.expense-action {
  background: #fff1d4;
  color: #815c34;
  border-color: #ead7b6;
}
.fw-movement-filters {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
}
.fw-movement-filters .fw-search {
  flex: 1 1 220px;
  margin: 0;
}
.fw-movement-filters > label {
  font-size: 13px;
  margin: 0;
}
.fw-movement-filters select {
  min-width: 140px;
}

/* src/customer-shop.css */
.customer-shop {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
  color: #594b46;
}
.customer-shop header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #efdfd8;
  padding-bottom: 16px;
}
.customer-shop header .brand-logo {
  width: 110px;
  height: 94px;
}
.customer-shop header > span {
  color: #94776a;
  font-size: 13px;
  letter-spacing: .08em;
}
.customer-shop h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 12px 0 18px;
}
.shop-intro {
  padding: 36px 0;
  max-width: 640px;
}
.shop-intro p {
  max-width: 520px;
  line-height: 1.6;
}
.shop-eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  color: #a76b79;
}
.shop-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.shop-categories button {
  padding: 10px 16px;
  border-radius: 25px;
  border: 1px solid #eedcd6;
  background: white;
}
.shop-categories button[aria-pressed=true] {
  background: #fbe4eb;
  color: #8d3e56;
  border-color: #e6afc0;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.shop-product {
  background: white;
  border: 1px solid #eddcd5;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.shop-product small {
  color: #a36e79;
}
.shop-product h2 {
  font-size: 21px;
  margin: 12px 0 8px;
}
.shop-product p {
  font-size: 14px;
  color: #8d7970;
  line-height: 1.5;
  margin: 0 0 24px;
}
.shop-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.shop-product .secondary {
  padding: 9px 13px;
}
.shop-stepper {
  display: flex;
  gap: 12px;
  align-items: center;
}
.shop-stepper button {
  border: 1px solid #e6c8d0;
  border-radius: 12px;
  min-width: 40px;
  min-height: 40px;
}
.shop-cart-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  background: #f7e5e9;
  border-radius: 18px;
  padding: 20px;
}
.shop-checkout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 30px 0;
}
.shop-checkout form {
  background: white;
  border: 1px solid #eddcd5;
  border-radius: 20px;
  padding: 24px;
}
.shop-checkout fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.shop-checkout label {
  margin-bottom: 16px;
  display: block;
}
.shop-checkout textarea {
  min-height: 80px;
}
.shop-cart-item {
  border-bottom: 1px solid #eadbd5;
  padding: 18px 0;
}
.shop-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.shop-cart-item details {
  margin-top: 8px;
  font-size: 14px;
}
.shop-cart-item summary {
  cursor: pointer;
  padding: 8px 0;
}
.shop-flavor {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.shop-flavor input {
  width: 85px;
}
.shop-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
}
.shop-note {
  font-size: 14px;
  line-height: 1.6;
  color: #826d65;
}
.shop-date {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shop-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.shop-consent input {
  width: 20px;
  flex: none;
  margin: 3px 0;
}
.shop-honey {
  position: absolute;
  left: -10000px;
}
.shop-success {
  max-width: 620px;
  margin: 50px auto;
  overflow-wrap: anywhere;
}
.customer-shop footer {
  margin-top: 36px;
  padding: 20px 0;
  border-top: 1px solid #eadbd5;
  font-size: 13px;
  color: #8b766c;
}
.customer-shop footer a {
  color: inherit;
}
.shop-checkout fieldset:disabled {
  opacity: 1;
}
.shop-checkout input:disabled,
.shop-checkout textarea:disabled,
.shop-checkout select:disabled {
  color: #594b46;
  -webkit-text-fill-color: #594b46;
  background: #fffaf6;
  opacity: 1;
}
@media (max-width: 700px) {
  .customer-shop {
    padding: 16px;
  }
  .customer-shop header > span {
    display: none;
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .shop-product {
    padding: 14px;
  }
  .shop-product h2 {
    font-size: 18px;
  }
  .shop-product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .shop-checkout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .shop-cart-bar {
    flex-wrap: wrap;
  }
  .shop-intro {
    padding: 24px 0;
  }
  .shop-checkout form {
    padding: 16px;
  }
}
@media (max-width: 360px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}
.customer-shop header .brand-logo img {
  width: 220px;
  left: -55px;
  top: -21px;
}
.customer-shop {
  max-width: 1160px;
}
.customer-shop button,
.customer-shop input,
.customer-shop select,
.customer-shop textarea {
  font: inherit;
}
.shop-intro h1 {
  font-family: Georgia, serif;
  font-weight: 500;
}
.shop-intro {
  max-width: none;
  padding: 28px 0;
}
.shop-leadtime {
  display: inline-block;
  background: #e7efdf;
  border-radius: 16px;
  padding: 10px 16px;
  margin-top: 12px;
  font-size: 14px;
}
.shop-product {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.shop-product > small,
.shop-product > h2,
.shop-product > p,
.shop-product-bottom {
  margin-left: 18px;
  margin-right: 18px;
}
.shop-product > small {
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
}
.shop-product-bottom {
  padding-bottom: 18px;
}
.shop-photo,
.shop-photo-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.shop-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f9edf0;
  gap: 16px;
  color: #8a6b66;
}
.shop-photo-placeholder .brand-logo {
  opacity: .7;
}
.shop-product h2 {
  font-size: 20px;
}
.shop-checkout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 24px;
}
.shop-checkout h1 {
  font-size: 30px;
}
.shop-checkout form {
  min-width: 0;
}
.shop-checkout fieldset > label,
.shop-date > label,
.shop-quantity {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: stretch;
}
.shop-checkout input:not([type=checkbox]),
.shop-checkout select,
.shop-checkout textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  font-size: 16px;
}
.shop-checkout .shop-consent {
  flex-direction: row;
  align-items: flex-start;
}
.shop-consent .text-button {
  display: inline;
  padding: 0;
  text-decoration: underline;
  min-height: 0;
}
.shop-date {
  align-items: start;
}
.shop-flavor-summary {
  font-size: 14px;
  color: #8a6b66;
}
.shop-cart-line {
  font-size: 15px;
}
.shop-cart-line > span {
  white-space: nowrap;
}
.shop-cart-item .text-button {
  font-size: 13px;
  padding: 8px;
}
.shop-picker {
  max-width: 620px;
}
.shop-picker-photo {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.shop-quantity input {
  width: 100%;
  margin: 0;
}
.shop-flavor-group {
  padding-top: 20px;
}
.shop-flavor {
  padding: 9px 0;
  border-bottom: 1px solid #efdfd8;
}
.shop-picker .modal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.shop-success {
  max-width: 560px;
  text-align: center;
  margin: 35px auto;
  background: white;
  border: 1px solid #efdfd8;
  padding: 30px;
  border-radius: 24px;
}
.shop-success h1 {
  font-size: 32px;
}
.shop-success-heart {
  display: block;
  font-size: 46px;
  color: #b46b7c;
}
.shop-success-status {
  background: #fff1d8;
  padding: 16px;
  border-radius: 16px;
  margin: 20px 0;
}
.shop-success-status p {
  font-size: 14px;
  margin-top: 6px;
}
.shop-success-summary {
  text-align: left;
  padding: 16px 0;
  border-top: 1px solid #efdfd8;
  border-bottom: 1px solid #efdfd8;
  margin-bottom: 15px;
}
.shop-success details {
  font-size: 13px;
}
.shop-privacy {
  line-height: 1.6;
}
.shop-privacy h3 {
  margin-top: 24px;
}
.shop-privacy a {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .shop-checkout {
    grid-template-columns: 1fr;
  }
  .shop-product-bottom {
    flex-direction: row;
    align-items: center;
  }
  .shop-product .secondary {
    font-size: 14px;
  }
  .shop-product > small,
  .shop-product > h2,
  .shop-product > p,
  .shop-product-bottom {
    margin-left: 12px;
    margin-right: 12px;
  }
  .shop-product h2 {
    font-size: 18px;
  }
  .shop-success {
    padding: 22px 16px;
  }
  .shop-success h1 {
    font-size: 28px;
  }
  .shop-date {
    grid-template-columns: 1fr 1fr;
  }
  .shop-intro h1 {
    font-size: 34px;
  }
}
@media (max-width: 380px) {
  .shop-product-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-date {
    grid-template-columns: 1fr;
  }
}
.shop-flavor-photo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}
.shop-flavor > span {
  flex: 1;
  min-width: 0;
}
.shop-flavor input {
  flex: none;
}
.shop-photo-notice {
  font-size: 12px;
  color: #826d65;
  margin: 0 0 16px;
}
.shop-picker-photo {
  max-height: 320px;
  object-fit: contain;
  background: #fff5ef;
}
.shop-photo {
  object-fit: contain;
  background: #fff5ef;
}
.shop-photo-caption {
  font-size: 12px;
  color: #826d65;
  margin: 0 18px 12px;
}
.shop-flavor-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.shop-flavor-controls button {
  width: 36px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #ead4dc;
  border-radius: 10px;
  background: #fbe4eb;
  color: #8d3e56;
  font-size: 22px;
}
.shop-flavor-controls input {
  width: 48px !important;
  padding: 9px 4px;
  text-align: center;
  font-size: 16px;
}
.shop-flavor-controls button:disabled {
  opacity: .35;
}
.shop-flavor-no-photo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #fbe4eb;
  color: #b46b7c;
  flex: none !important;
}
.shop-flavor-progress {
  padding: 10px;
  border-radius: 12px;
  background: #e8f0e2;
  font-size: 14px;
}
.shop-flavor-photo {
  object-fit: contain;
  background: #fff5ef;
}
.shop-photo-caption {
  margin-bottom: 12px;
}
@media (max-width: 420px) {
  .shop-flavor {
    gap: 6px;
  }
  .shop-flavor-photo,
  .shop-flavor-no-photo {
    width: 44px;
    height: 44px;
  }
  .shop-flavor > span {
    font-size: 14px;
  }
  .shop-flavor-controls button {
    width: 32px;
  }
  .shop-flavor-controls input {
    width: 40px !important;
  }
}
.club-checkout {
  border: 1px solid #ecdcd5;
  border-radius: 16px;
  padding: 18px;
  margin: 12px 0;
  background: #fff4f6;
}
.club-order {
  padding: 16px 0;
  border-bottom: 1px solid #ecdcd5;
}
.club-order p {
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0;
}
.club-rules {
  margin: 18px 0;
}
.club-rules summary {
  cursor: pointer;
  font-weight: 700;
}
.club-rules p {
  font-size: 14px;
  line-height: 1.6;
}
.customer-shop header {
  flex-wrap: wrap;
}
.customer-shop progress {
  width: 100%;
  accent-color: #aa4863;
}
.customer-shop .modal label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 14px 0;
}
.customer-shop .modal label.check {
  display: flex;
  flex-direction: row;
  align-items: start;
}
.customer-shop .modal label.check input {
  width: auto;
}
.customer-shop .modal input {
  min-width: 0;
}
.customer-shop .modal .notice {
  font-size: 15px;
}
.club-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 24px;
  padding: 22px 26px;
  border: 1px solid #e5d6bf;
  border-radius: 20px;
  background: #fff2d6;
  max-width: 1200px;
}
.club-banner p {
  margin: 6px 0 0;
  font-size: 15px;
}
.club-banner button {
  flex-shrink: 0;
}
.club-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.club-overview section {
  border-radius: 20px;
  padding: 22px;
  background: #fce5ed;
}
.club-overview .club-benefits {
  background: #e6efdf;
}
.club-overview strong {
  display: block;
  font-size: 30px;
  margin: 12px 0;
}
.club-overview p {
  font-size: 15px;
}
.club-overview progress {
  width: 100%;
  accent-color: #a84763;
}
.club-reward {
  padding: 20px;
  border: 1px solid #d4decf;
  border-radius: 16px;
  margin: 12px 0;
}
.club-reward small {
  display: block;
  margin-top: 10px;
}
.club-modal form {
  display: grid;
  gap: 16px;
}
.club-modal label:not(.check) {
  display: grid;
  gap: 8px;
}
.club-modal input:not([type=checkbox]) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.club-access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.club-rules {
  margin-top: 24px;
  border-top: 1px solid #ebdcd4;
  padding-top: 18px;
}
.club-rules summary {
  cursor: pointer;
  font-weight: 600;
}
.club-rules p {
  font-size: 15px;
  line-height: 1.65;
}
.club-order {
  padding: 16px 0;
  border-bottom: 1px solid #ebdcd4;
}
@media (max-width: 600px) {
  .club-banner {
    margin: 0 16px 20px;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
  }
  .club-overview {
    grid-template-columns: 1fr;
  }
  .club-overview strong {
    font-size: 27px;
  }
  .customer-shop > header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .customer-shop > header > button {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* src/style.css */
:root {
  --bg:#faf8f4;
  --ink:#473b35;
  --muted:#867a71;
  --line:#eae5dd;
  --accent:#945743;
  --green:#527562;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bf835e;
  outline-offset: 3px;
}
input,
select,
textarea {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  min-width: 0;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #94574315;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
button {
  border: 0;
  background: none;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.25;
}
h2 {
  font-size: 19px;
  letter-spacing: -.5px;
}
h3 {
  font-size: 15px;
}
small {
  color: var(--muted);
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  background: #f2eee6;
  border-right: 1px solid var(--line);
  padding: 36px 22px;
  position: fixed;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Manrope;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.8px;
}
.brand > div > span {
  display: block;
  font-family: "DM Sans";
  letter-spacing: 1px;
  font-size: 6px;
  margin-top: 4px;
}
.brand-mark {
  background: #e9b6a6;
  color: #8b513f;
  border-radius: 40% 50% 42% 48%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 45px;
  flex-shrink: 0;
  transform: rotate(-10deg);
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #948477;
  margin: 58px 14px 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 13px;
  width: 100%;
  text-align: left;
  margin-bottom: 7px;
  color: #82756b;
  font-weight: 500;
}
.nav.active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 3px 10px #463c2c04;
}
.nav b {
  margin-left: auto;
  font-size: 11px;
  background: #f4e7df;
  padding: 2px 7px;
  border-radius: 5px;
}
.sidebar-note {
  margin-top: auto;
  padding: 24px 12px;
  color: #9f7962;
}
.sidebar-note p {
  font-size: 15px;
  line-height: 1.7;
  margin: 14px 0;
}
.sidebar-note small {
  font-size: 10px;
}
main {
  margin-left: 244px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  gap: 12px;
}
.sync {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.sync i {
  width: 6px;
  height: 6px;
  background: #779a7d;
  border-radius: 50%;
}
.sync.offline i {
  background: #c66;
}
.private {
  font-size: 11px;
  border-left: 1px solid var(--line);
  padding-left: 15px;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
}
.icon-button:hover {
  background: #eee8df;
}
.content {
  max-width: 1260px;
  margin: auto;
  padding: 43px 40px 20px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #9b7a65;
  margin-bottom: 12px;
}
.subtitle {
  color: var(--muted);
  margin-top: 12px;
  font-size: 13px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: #fffaf6;
  border-radius: 11px;
  padding: 14px 19px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px #94574312;
}
.primary:hover {
  background: #7d4837;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat {
  padding: 24px;
  border: 1px solid #e8e0d3;
  border-radius: 17px;
}
.cream {
  background: #f4eddf;
}
.pink {
  background: #f5e8e3;
}
.green {
  background: #eaf0e8;
}
.stat > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #827264;
}
.stat > strong {
  font-family: Manrope;
  font-size: 32px;
  font-weight: 700;
  display: block;
  margin-top: 21px;
}
.stat strong small {
  display: block;
  font-family: "DM Sans";
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 12px;
}
.panel-head h2 span {
  font: 12px "DM Sans";
  background: #f2eee7;
  border-radius: 7px;
  padding: 4px 8px;
  margin-left: 8px;
  color: #9b8c80;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  padding: 8px;
}
.filters {
  padding: 0 24px;
  display: flex;
  gap: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  flex: 1;
  color: #94877b;
}
.search input {
  border: 0;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  box-shadow: none;
}
.date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.date-filter input {
  font-size: 12px;
}
.chips {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.chips button {
  border-radius: 8px;
  padding: 8px 11px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}
.chips button.selected {
  background: #f2e6de;
  color: #844f3e;
  font-weight: 700;
}
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.empty h3 {
  font-size: 20px;
  color: var(--ink);
}
.empty p {
  font-size: 13px;
  max-width: 330px;
  line-height: 1.7;
}
.empty .primary {
  margin-top: 8px;
}
.empty-icon {
  display: grid;
  place-items: center;
  background: #f4eee4;
  color: #ad9275;
  width: 78px;
  height: 78px;
  border-radius: 28px;
}
.order-card {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.order-card:last-child {
  border-bottom: 0;
}
.order-card:hover {
  background: #fdfbf8;
}
.order-avatar {
  background: #f4eadd;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: Manrope;
  font-weight: 700;
  color: #987c5d;
  flex-shrink: 0;
}
.order-main {
  flex: 1;
  min-width: 0;
}
.order-title {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.order-main p {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin: 7px 0;
}
.order-main small {
  font-size: 11px;
}
.order-money {
  text-align: right;
  flex-shrink: 0;
}
.order-money strong {
  display: block;
  font-size: 15px;
}
.order-money small {
  font-size: 10px;
  display: block;
  margin-top: 7px;
}
.badge {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f2ebdb;
  color: #8c754a;
  white-space: nowrap;
}
.status-1 {
  background: #e7edf2;
  color: #657b94;
}
.status-2 {
  background: #fae7d8;
  color: #a36e49;
}
.status-3,
.status-4 {
  background: #e5eee5;
  color: #5c805c;
}
.status-5 {
  background: #eee;
  color: #888;
}
.late {
  color: #a35c45;
}
.notice {
  background: #f4eddf;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #826b50;
}
.panel > .notice {
  margin: 0 24px 12px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-card:hover {
  border-color: #ba9c89;
}
.product-card.inactive {
  opacity: .6;
}
.product-category {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-card h3 {
  line-height: 1.6;
  flex: 1;
}
.product-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.product-card strong {
  font-size: 22px;
}
.unconfirmed,
.confirmed {
  font-size: 9px;
  color: #98764e;
  background: #f6efe1;
  border-radius: 5px;
  padding: 4px;
}
.confirmed {
  background: #e8eee6;
  color: #557654;
}
.product-card > small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.production-list > div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.kitchen-icon {
  padding: 12px;
  background: #f3ecdf;
  border-radius: 12px;
}
.production-list b {
  margin-left: auto;
  font-size: 25px;
  text-align: right;
}
.production-list b small {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Manrope;
  font-size: 12px;
  color: #b1a498;
  padding-top: 27px;
}
footer span {
  margin-left: auto;
  font-family: "DM Sans";
  font-size: 10px;
}
.mobile-brand {
  display: none;
}
.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 20;
  background: #3b302d66;
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal {
  background: var(--bg);
  border-radius: 22px;
  width: 680px;
  max-height: 94vh;
  max-height: 94dvh;
  overflow: hidden;
  box-shadow: 0 24px 80px #34261c44;
  display: flex;
  flex-direction: column;
}
.modal-head {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-head .eyebrow {
  margin-bottom: 8px;
}
.modal form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-body > label {
  margin-bottom: 16px;
}
.modal label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.modal label.search {
  flex-direction: row;
  align-items: center;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 14px;
  margin: 28px 0 16px;
}
.picker {
  max-height: 245px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-top: 10px;
}
.picker > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.picker > div.picked {
  background: #f3eee4;
}
.picker strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.picker small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.stepper button {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
}
.stepper > span {
  font-size: 12px;
  min-width: 22px;
  text-align: center;
}
.selected-summary {
  font-size: 12px;
  color: #8d6148;
  margin-top: 12px;
}
textarea {
  min-height: 78px;
  resize: vertical;
}
.payment-summary {
  border-radius: 12px;
  background: #e9eee6;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.payment-summary > span {
  font-size: 11px;
}
.payment-summary strong {
  display: block;
  font-size: 23px;
  margin-top: 7px;
}
.modal-bottom {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.modal-bottom > span {
  font-size: 10px;
  color: var(--muted);
}
.modal-bottom strong {
  font-size: 22px;
  display: block;
  color: var(--ink);
  margin-top: 4px;
}
.small-modal {
  max-width: 480px;
}
.modal .checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}
.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.alert {
  background: #f8e4df;
  border: 1px solid #ebc9bf;
  border-radius: 10px;
  padding: 14px;
  color: #9e4935;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.modal .alert {
  margin-top: 15px;
  margin-bottom: 0;
}
.audit {
  display: block;
  margin-top: 15px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  z-index: 40;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #476b51;
  color: white;
  padding: 16px 22px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 4px 24px #0002;
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 60px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 30px 15px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    width: 35px;
    height: 40px;
  }
  .brand > div > span {
    font-size: 5px;
  }
  main {
    margin-left: 205px;
  }
  .content {
    padding: 32px 24px;
  }
  .heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 28px;
  }
  .stat {
    padding: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heading > .primary {
    font-size: 12px;
  }
  .stat > span {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    inset: auto 0 0;
    width: 100%;
    height: 72px;
    z-index: 10;
    padding: 5px 12px max(5px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .sidebar .brand,
  .workspace-label,
  .sidebar-note {
    display: none;
  }
  .sidebar nav {
    display: flex;
    justify-content: space-around;
  }
  .nav {
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px;
    font-size: 10px;
    margin: 0;
    width: auto;
    position: relative;
  }
  .nav b {
    position: absolute;
    right: 7px;
    top: 2px;
    font-size: 8px;
  }
  .nav.active {
    background: #f6ede7;
    box-shadow: none;
  }
  main {
    margin-left: 0;
    padding-bottom: 75px;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
    gap: 4px;
  }
  .mobile-brand {
    display: block;
    font-family: Manrope;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-right: auto;
  }
  .private {
    display: none;
  }
  .sync {
    font-size: 9px;
  }
  .content {
    padding: 26px 16px 16px;
  }
  .heading {
    display: block;
    margin-bottom: 22px;
  }
  .heading > .primary {
    margin-top: 20px;
    width: 100%;
    font-size: 14px;
    padding: 14px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .subtitle {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .stats {
    gap: 8px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 14px 10px;
    border-radius: 12px;
  }
  .stat > span {
    font-size: 7px;
    letter-spacing: .3px;
    line-height: 1.5;
    display: block;
    min-height: 38px;
  }
  .stat > span svg {
    display: block;
    width: 16px;
    height: 16px;
    margin-bottom: 5px;
  }
  .stat > strong {
    font-size: 23px;
    margin-top: 14px;
  }
  .stat strong small {
    font-size: 8px;
    line-height: 1.5;
    min-height: 24px;
  }
  .green > strong {
    font-size: 19px;
  }
  .panel-head {
    padding: 18px 16px;
  }
  .panel-head h2 {
    font-size: 17px;
  }
  .filters {
    padding: 0 16px;
    flex-direction: column;
    gap: 10px;
  }
  .date-filter {
    justify-content: space-between;
  }
  .date-filter input {
    flex: 1;
    padding: 9px;
  }
  .chips {
    padding: 14px 12px;
  }
  .empty {
    padding: 36px 18px;
  }
  .empty h3 {
    font-size: 18px;
  }
  .empty p {
    font-size: 12px;
  }
  .order-card {
    padding: 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .order-avatar {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .order-main {
    width: calc(100% - 50px);
    flex: initial;
  }
  .order-title h3 {
    font-size: 14px;
  }
  .order-money {
    margin-left: 44px;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .order-money small {
    margin: 0;
  }
  .order-card > svg {
    margin-left: auto;
  }
  .order-main p {
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    padding: 20px;
    gap: 12px;
  }
  .panel-head input {
    max-width: 155px;
    font-size: 12px;
  }
  .notice {
    font-size: 11px;
  }
  .production-list > div {
    padding: 18px 16px;
    gap: 10px;
  }
  .production-list strong {
    font-size: 12px;
  }
  .production-list b small {
    font-size: 8px;
  }
  .kitchen-icon {
    padding: 8px;
  }
  footer {
    font-size: 11px;
    align-items: flex-start;
  }
  footer span {
    font-size: 8px;
    max-width: 160px;
    text-align: right;
    line-height: 1.5;
  }
  .overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    width: 100%;
    max-height: 96vh;
    max-height: 96dvh;
    border-radius: 20px 20px 0 0;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-bottom {
    padding: 15px 18px max(15px, env(safe-area-inset-bottom));
  }
  .modal-bottom .primary {
    padding: 14px;
    font-size: 12px;
  }
  .form-grid {
    gap: 12px;
  }
  .modal input,
  .modal select,
  .modal textarea {
    font-size: 16px;
    width: 100%;
  }
  .modal input[type=checkbox] {
    width: 18px;
  }
  .picker strong {
    font-size: 11px;
  }
  .stepper button {
    width: 32px;
  }
  .payment-summary {
    gap: 12px;
  }
  .payment-summary strong {
    font-size: 20px;
  }
  .small-modal {
    max-width: none;
  }
  .toast {
    bottom: 90px;
    font-size: 12px;
    padding: 14px;
    max-width: 95vw;
  }
  .modal .search input {
    font-size: 14px;
  }
}
.login-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      ellipse at top left,
      #f0ded2,
      transparent 60%),
    #faf7f1;
}
.login-card {
  width: 420px;
  max-width: 100%;
  width: min(420px, 100%);
  background: #fffdf9;
  border: 1px solid #e7dfd4;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 18px 80px #53432b0d;
}
.login-card h1 {
  font-size: 48px;
  margin: 8px 0;
  letter-spacing: -2px;
}
.login-card > p {
  color: #777163;
  line-height: 1.6;
}
.login-card .brand-mark {
  margin-bottom: 28px;
}
.login-card form {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
.login-card label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.login-card input {
  width: 100%;
  min-height: 48px;
}
.login-card .primary {
  justify-content: center;
  min-height: 48px;
}
.login-card > small {
  display: block;
  color: #8c8578;
  line-height: 1.7;
  margin-top: 24px;
}
.login-help {
  font-size: 14px;
  color: #716c61;
  line-height: 1.6;
  margin: 0;
}
.login-card .eyebrow {
  font-size: 10px;
}
.picker > div:has(.quote-price) {
  flex-wrap: wrap;
}
.quote-price {
  width: 100%;
  font-size: 12px;
}
.quote-price input {
  max-width: 220px;
}
.business-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 18px 0;
}
.business-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-top: 1px solid #eee5df;
  background: white;
  text-align: left;
  color: inherit;
}
.business-row small {
  display: block;
  color: #7b7269;
  margin-top: 5px;
}
.business-row > div:last-child {
  text-align: right;
}
.business-row strong {
  font-size: 14px;
}
.ingredient-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ingredient-row label {
  flex: 1;
}
.payment-entry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  border-bottom: 1px solid #e9e2db;
  padding: 10px 0;
}
.panel + .panel {
  margin-top: 22px;
}
.chips > span {
  padding: 10px 14px;
  font-size: 13px;
}
.stat > small {
  font-size: 12px;
  color: #6e665d;
}
.sidebar nav {
  overflow-y: auto;
}
@media (max-width: 700px) {
  .payment-entry {
    grid-template-columns: 1fr 1fr;
  }
  .business-row {
    padding: 14px;
  }
  .business-row strong {
    font-size: 13px;
  }
  .business-actions {
    gap: 10px;
  }
  .nav {
    font-size: 11px !important;
    padding: 10px 6px !important;
  }
  .sidebar nav {
    justify-content: space-around;
  }
  .nav b {
    display: none !important;
  }
  .ingredient-row {
    gap: 8px;
  }
}
.receipt-photo {
  display: block;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin: 16px auto;
}
.internal-cost {
  font-size: 12px;
  color: #527562;
}
.internal-cost strong {
  font-size: 14px;
}
.edit-label {
  padding: 10px;
  background: #f3e8e0;
  border-radius: 8px;
  color: #844f3e;
}
.product-card p {
  line-height: 1.6;
}
@media (max-width: 700px) {
  .sidebar {
    padding-left: 3px;
    padding-right: 3px;
  }
  .nav {
    font-size: 9px !important;
    padding: 8px 4px !important;
    min-width: 0;
    gap: 4px;
  }
  .nav svg {
    width: 19px;
  }
  .business-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .stat > strong {
    font-size: 19px;
  }
  .stat > small {
    font-size: 9px;
  }
}
:root {
  --bg:#fffaf6;
  --ink:#5b4944;
  --muted:#8a7670;
  --line:#f0e2dc;
  --accent:#a84b61;
  --green:#568570;
}
.sidebar {
  background: #fff3f1;
  border-color: #f2dedf;
}
.workspace-label {
  margin: 22px 14px 15px;
}
.brand {
  justify-content: center;
}
.brand-logo {
  display: block;
  position: relative;
  overflow: hidden;
  width: 170px;
  height: 142px;
  margin: auto;
}
.brand-logo img {
  position: absolute;
  width: 340px;
  max-width: none;
  height: auto;
  left: -85px;
  top: -32px;
  mix-blend-mode: multiply;
}
.brand-logo.small {
  width: 90px;
  height: 56px;
  margin: 0;
}
.brand-logo.small img {
  width: 180px;
  left: -45px;
  top: -23px;
}
.sidebar-note {
  color: #b78287;
  padding-top: 15px;
}
.sidebar-note p {
  margin: 8px 0;
}
.nav.active {
  color: #a64e68;
  background: #ffe4ec;
}
.nav:nth-child(2).active {
  background: #fff0cb;
  color: #85602b;
}
.nav:nth-child(3).active {
  background: #e2f2fb;
  color: #447693;
}
.nav:nth-child(4).active,
.nav:nth-child(6).active {
  background: #e7f0e4;
  color: #4c7056;
}
.nav:nth-child(5).active {
  background: #eee7f7;
  color: #796090;
}
.cream {
  background: #fff0d2;
  border-color: #f5e1b6;
}
.pink {
  background: #ffe6ed;
  border-color: #f4d5de;
}
.green {
  background: #e8f1e5;
  border-color: #d3e1cc;
}
.notice {
  background: #fff2da;
  color: #806344;
}
.badge {
  background: #fff0d2;
}
.status-1 {
  background: #dff0fb;
  color: #447798;
}
.status-3,
.status-4 {
  background: #e5efe0;
  color: #577454;
}
.product-card:nth-child(4n+1) {
  border-top: 5px solid #f4bdca;
}
.product-card:nth-child(4n+2) {
  border-top: 5px solid #bcdff1;
}
.product-card:nth-child(4n+3) {
  border-top: 5px solid #f8d991;
}
.product-card:nth-child(4n+4) {
  border-top: 5px solid #c4d5bc;
}
.payment-summary {
  background: #e6f0e0;
}
.edit-label {
  background: #ffe5ec;
  color: #96475b;
}
.login-wrap {
  background:
    radial-gradient(
      ellipse at 0 100%,
      #ffe2ea 0,
      transparent 42%),
    radial-gradient(
      ellipse at 100% 0,
      #e1f1fc 0,
      transparent 42%),
    #fffaf6;
}
.login-card {
  border-color: #f0dce2;
}
.login-card > .brand-logo {
  width: 230px;
  height: 186px;
}
.login-card > .brand-logo img {
  width: 460px;
  left: -115px;
  top: -44px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.topbar {
  background: #fffdfb;
}
.empty-icon {
  background: #ffe7ee;
  color: #b97889;
}
@media (max-width: 700px) {
  .mobile-brand {
    line-height: 0;
  }
  .topbar {
    height: 68px;
  }
  .nav.active {
    box-shadow: none;
  }
  .sidebar .brand-logo {
    display: none;
  }
  .login-card > .brand-logo {
    width: 210px;
    height: 174px;
  }
  .login-card > .brand-logo img {
    width: 420px;
    left: -105px;
    top: -38px;
  }
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid > * {
  min-width: 0;
}
.modal {
  min-width: 0;
}
.modal form,
.modal-body {
  min-height: 0;
  min-width: 0;
}
.modal label {
  min-width: 0;
  overflow-wrap: anywhere;
}
.modal input,
.modal select,
.modal textarea {
  max-width: 100%;
  width: 100%;
}
.modal .checkbox input {
  width: 18px;
  flex-shrink: 0;
}
.payment-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.payment-summary > span {
  min-width: 0;
}
.payment-summary strong {
  font-size: clamp(18px, 3vw, 23px);
  overflow-wrap: anywhere;
}
.ingredient-row {
  flex-wrap: wrap;
}
.ingredient-row > label {
  min-width: 140px;
}
.archive-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.modal-bottom {
  flex-wrap: wrap;
}
.modal-head h2 {
  min-width: 0;
  font-size: clamp(18px, 4vw, 22px);
}
.modal-head .icon-button {
  flex-shrink: 0;
}
.business-actions > * {
  max-width: 100%;
}
@media (max-width: 600px) {
  .modal .form-grid,
  .payment-entry {
    grid-template-columns: minmax(0, 1fr);
  }
  .modal .form-grid {
    gap: 14px;
  }
  .modal-head {
    padding: 18px 16px;
  }
  .modal-body {
    padding: 18px 16px;
  }
  .modal-bottom {
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  }
  .payment-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat > span {
    min-height: 0;
    font-size: 10px;
    display: flex;
  }
  .stat > strong {
    margin-top: 9px;
    font-size: 25px;
  }
  .stat strong small {
    min-height: 0;
  }
  .stat > small {
    font-size: 11px;
  }
  .filters.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 8px;
  }
  .filters.form-grid label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
  }
  .filters input {
    max-width: 100%;
  }
  .business-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .business-row > div:last-child {
    text-align: left;
  }
  .sidebar nav {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .sidebar .nav {
    min-width: 57px;
    flex-shrink: 0;
  }
  .modal .notice {
    overflow-wrap: anywhere;
  }
  .product-card strong {
    overflow-wrap: anywhere;
  }
}
.production-help {
  margin: 0;
  padding: 16px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.piece-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}
.piece-total {
  background: #eff5ed;
  border: 1px solid #dbe5d8;
  border-radius: 20px;
  padding: 20px;
  min-width: 0;
}
.piece-total:nth-child(3n+2) {
  background: #edf6fc;
  border-color: #dce9f3;
}
.piece-total:nth-child(3n+3) {
  background: #fff1f3;
  border-color: #f3dfe4;
}
.piece-total h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.piece-total strong {
  font-size: 38px;
  line-height: 1.15;
}
.piece-total strong small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
}
.piece-total dl {
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.piece-total dl > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.piece-total dd {
  font-weight: 700;
  margin: 0;
}
.piece-editor {
  min-width: 0;
  border: 1px solid #ead9d2;
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
}
.piece-editor legend {
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.piece-editor p,
.piece-editor > small {
  font-size: 13px;
  line-height: 1.5;
  display: block;
}
.piece-entry {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.piece-entry label {
  min-width: 0;
}
.piece-entry input {
  width: 100%;
}
.production-day .notice {
  margin: 0 24px 24px;
}
.production-day .notice button {
  display: block;
  text-align: left;
}
.production-day h2 small {
  font-weight: 400;
  font-size: 14px;
}
@media (max-width: 600px) {
  .piece-entry {
    grid-template-columns: minmax(0, 1fr);
  }
  .piece-totals {
    padding: 0 16px 16px;
  }
  .production-help {
    padding: 16px;
  }
  .production-day .notice {
    margin: 0 16px 16px;
  }
  .piece-editor {
    padding: 12px;
  }
  .production-day .panel-head {
    align-items: start;
  }
}
.backup-panel {
  padding: 0;
  margin-bottom: 24px;
}
.backup-panel > summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
}
.backup-panel .business-actions {
  flex-wrap: wrap;
}
.finance-section {
  margin-top: 12px;
}
.finance-section > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  min-height: 62px;
}
.finance-section > summary::-webkit-details-marker,
.finance-stats summary::-webkit-details-marker {
  display: none;
}
.finance-section > summary > span:first-child {
  flex: 1;
  min-width: 0;
}
.finance-section > summary > strong {
  font-size: 15px;
  white-space: nowrap;
}
.fold-chevron {
  display: inline-block;
  font-size: 21px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .15s;
}
.finance-section[open] > summary .fold-chevron,
.finance-stats details[open] .fold-chevron {
  transform: rotate(180deg);
}
.finance-section[open] > summary {
  border-bottom: 1px solid var(--line);
}
.finance-section summary:focus-visible,
.finance-stats summary:focus-visible {
  outline: 3px solid #a84b61;
  outline-offset: -3px;
  border-radius: 12px;
}
.finance-section-body > p {
  padding: 0 22px;
  line-height: 1.6;
  margin: 16px 0;
}
.finance-section-body > .filters {
  padding: 18px 22px 0;
  margin: 0;
}
.finance-section-body > .business-actions {
  padding: 0 22px 16px;
  margin: 10px 0 0;
}
.finance-section .empty {
  padding: 28px 20px;
}
.finance-section + .finance-section {
  margin-top: 12px;
}
.finance-stats {
  gap: 12px;
  margin-bottom: 16px;
  align-items: start;
}
.finance-stats .stat {
  padding: 0;
  overflow: hidden;
}
.finance-stats summary {
  padding: 20px;
  cursor: pointer;
  list-style: none;
}
.finance-stats summary > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.finance-stats summary strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 30px;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.finance-stats .stat > p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 12px;
  line-height: 1.6;
}
.finance-overview {
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .finance-stats {
    gap: 8px;
  }
  .finance-stats summary {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .finance-stats summary > span {
    flex: 1;
    font-size: 12px;
  }
  .finance-stats summary strong {
    font-size: 23px;
    margin: 0;
  }
  .finance-stats .stat > p {
    padding: 0 16px 14px;
  }
  .finance-section > summary {
    padding: 16px;
    gap: 10px;
    font-size: 13px;
  }
  .finance-section > summary > strong {
    font-size: 13px;
  }
  .finance-section-body > .filters {
    padding: 16px;
  }
  .finance-section-body > p {
    padding: 0 16px;
  }
  .finance-section-body > .business-actions {
    padding: 0 16px 16px;
  }
}
.finance-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.income-action {
  background: #e8f1e5;
  border-color: #c7d9bd;
  color: #345d40;
}
.expense-action {
  background: #ffe6ed;
  border-color: #edc4d1;
  color: #87354c;
}
.income-action:hover {
  background: #dcebd6;
}
.expense-action:hover {
  background: #fbd6e1;
}
@media (max-width: 600px) {
  .finance-action {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 52px;
    padding: 12px 8px;
    font-size: 13px;
  }
}
.finance-period {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 20px;
}
.finance-period label {
  min-width: 160px;
  flex: 1;
  max-width: 280px;
}
.finance-period select,
.finance-period input {
  width: 100%;
}
.money-in {
  color: #386b51;
}
.money-out {
  color: #a3435e;
}
.finance-help {
  padding: 16px 20px;
  color: #68564e;
  font-size: 14px;
}
.finance-help summary {
  cursor: pointer;
  font-weight: 650;
}
.finance-help p {
  line-height: 1.65;
  max-width: 780px;
}
.customer-suggestion {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #c4d5be;
  border-radius: 12px;
  background: #edf4e9;
  padding: 12px 16px;
  margin: 8px 0;
  color: #35523b;
}
.merge-panel {
  margin: 16px 0;
  padding: 16px;
  background: #fff6e6;
  border-radius: 16px;
}
.merge-panel label {
  display: block;
  margin: 12px 0;
}
.merge-panel select {
  width: 100%;
}
.merge-panel p,
.field-help {
  font-size: 14px;
  line-height: 1.6;
  color: #76665e;
}
.merge-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.money-movement > div:last-child {
  flex-shrink: 0;
  text-align: right;
}
@media (max-width: 600px) {
  .finance-period label {
    max-width: none;
    min-width: 120px;
  }
  .money-movement {
    gap: 10px;
  }
  .money-movement small {
    line-height: 1.5;
  }
  .finance-section > summary {
    padding: 18px 16px;
    gap: 10px;
  }
  .finance-section > summary > strong {
    font-size: 15px;
  }
  .finance-help {
    padding: 16px 4px;
  }
  .merge-actions button {
    flex: 1;
  }
}
.finance-stats summary strong {
  white-space: nowrap;
  overflow-wrap: normal;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1100px) {
  .finance-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .finance-stats summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
  }
  .finance-stats summary > span {
    flex: 1;
    min-width: 130px;
  }
  .finance-stats summary strong {
    margin: 0;
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  .finance-stats summary {
    padding: 14px 16px;
  }
  .finance-stats summary strong {
    font-size: 23px;
  }
}
.receivables-shortcut {
  text-align: left;
}
.receivables-shortcut:hover {
  border-color: #83a38b;
}
.order-entry {
  border-bottom: 1px solid var(--line);
}
.order-entry:last-child {
  border-bottom: 0;
}
.order-entry .order-card {
  border: 0;
}
.order-payment-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px 16px 84px;
}
.order-payment-bar > span {
  font-size: 12px;
  color: #66806a;
}
.quick-pay {
  background: #e8f1e5;
  color: #345d40;
  border: 1px solid #c7d9bd;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 650;
  font-size: 13px;
  min-height: 44px;
  white-space: nowrap;
}
.quick-pay:hover {
  background: #dcebd6;
}
.quick-payment-customer {
  display: grid;
  gap: 6px;
}
.quick-payment-customer > strong {
  font-size: 20px;
}
.quick-payment-customer small {
  line-height: 1.5;
}
.quick-payment-balance {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 20px;
  font-size: 12px;
}
.quick-payment-balance strong {
  display: block;
  font-size: 18px;
  margin-top: 5px;
  white-space: nowrap;
}
.payment-methods {
  border: 0;
  padding: 0;
  margin: 18px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-methods legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
.payment-methods button {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: white;
  font-size: 13px;
}
.payment-methods button.selected {
  background: #e8f1e5;
  border-color: #568570;
  color: #345d40;
  box-shadow: inset 0 0 0 1px #568570;
}
.quick-payment-result {
  padding: 12px 14px;
  border-radius: 10px;
  background: #edf4e9;
  font-size: 14px;
  line-height: 1.5;
}
.payment-history {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.payment-history summary {
  cursor: pointer;
}
.payment-history p {
  padding: 8px 0;
}
.payment-picker .business-row {
  padding: 14px 0;
}
.payment-picker .business-row > div {
  text-align: left;
}
.payment-picker small {
  max-width: 290px;
  font-size: 11px;
}
.receivable-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-right: 20px;
}
.receivable-row .business-row {
  border: 0;
  flex: 1;
  min-width: 0;
}
.other-income {
  font-size: 13px;
}
@media (max-width: 600px) {
  .order-payment-bar {
    padding: 0 16px 16px;
    flex-wrap: wrap;
  }
  .order-payment-bar > span {
    font-size: 11px;
  }
  .receivable-row {
    display: block;
    padding: 0 14px 14px;
  }
  .receivable-row .business-row {
    padding: 14px 0;
  }
  .receivable-row > .quick-pay {
    width: 100%;
  }
  .quick-payment-balance {
    flex-wrap: wrap;
  }
  .quick-payment-balance strong {
    font-size: 17px;
  }
  .other-income {
    flex-basis: 100%;
    justify-content: flex-start;
    padding-left: 0;
  }
}
.initial-payment {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 4px;
}
.initial-payment-options legend {
  font-size: 15px;
}
.initial-payment-options button {
  font-weight: 600;
  line-height: 1.4;
  min-height: 52px;
}
.initial-payment > .form-grid {
  margin-top: 16px;
}
.initial-payment > label {
  margin-bottom: 16px;
  max-width: 300px;
}
.initial-paid-total {
  background: #edf4e9;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 14px;
}
.initial-paid-total strong {
  font-size: 19px;
  margin-left: 8px;
}
.initial-payment .field-help {
  margin-bottom: 14px;
}
@media (max-width: 420px) {
  .initial-payment-options {
    gap: 6px;
  }
  .initial-payment-options button {
    padding: 10px 6px;
    font-size: 12px;
  }
  .initial-payment > label {
    max-width: none;
  }
}
.order-payment-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin: 0 24px 20px 84px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 14px;
}
.payment-paid {
  background: #edf5eb;
  border-color: #d2e3cd;
  color: #315d3c;
}
.payment-partial {
  background: #fff5df;
  border-color: #ecd39e;
  color: #795112;
}
.payment-unpaid {
  background: #fff0f3;
  border-color: #edcbd5;
  color: #913e57;
}
.payment-state-group {
  min-width: 0;
}
.payment-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}
.payment-state-badge > span {
  font-size: 18px;
  line-height: 1;
}
.payment-state-group > small {
  display: block;
  font-size: 12px;
  color: inherit;
  margin-top: 5px;
}
.payment-balance {
  text-align: right;
}
.payment-balance > span {
  display: block;
  font-size: 11px;
  color: inherit;
}
.payment-balance > strong {
  display: block;
  font-size: 22px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
}
.order-money > small {
  margin: 0 0 4px;
  font-size: 10px;
}
.order-payment-strip.payment-paid {
  grid-template-columns: minmax(0, 1fr) auto;
}
@media (max-width: 1000px) {
  .order-payment-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .order-payment-strip > .quick-pay {
    grid-column: 1/-1;
    justify-self: end;
  }
}
@media (max-width: 700px) {
  .order-payment-strip {
    margin: 0 16px 16px;
    padding: 13px;
    gap: 12px;
  }
  .payment-state-badge {
    font-size: 13px;
  }
  .payment-state-group > small {
    font-size: 11px;
  }
  .payment-balance > strong {
    font-size: 20px;
  }
  .order-payment-strip > .quick-pay {
    justify-self: stretch;
  }
  .order-money {
    flex-direction: row;
    gap: 8px;
  }
  .order-money > small {
    margin: 0;
  }
}
@media (min-width: 701px) {
  .sidebar {
    height: 100vh;
    height: 100dvh;
    padding: 20px 22px;
    gap: 0;
  }
  .sidebar .brand {
    flex-shrink: 0;
  }
  .sidebar .brand-logo {
    width: 144px;
    height: 120px;
  }
  .sidebar .brand-logo img {
    width: 288px;
    left: -72px;
    top: -27px;
  }
  .sidebar .workspace-label {
    flex-shrink: 0;
    margin: 14px 14px 10px;
    font-size: 9px;
    line-height: 12px;
  }
  .sidebar nav {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
  }
  .sidebar .nav {
    height: 44px;
    padding: 10px 14px;
    margin: 0;
    font-size: 14px;
  }
  .sidebar .sidebar-note {
    flex-shrink: 0;
    margin-top: auto;
    padding: 14px 12px 0;
  }
  .sidebar-note > svg {
    width: 17px;
    height: 17px;
  }
  .sidebar .sidebar-note p {
    font-size: 12px;
    line-height: 1.5;
    margin: 5px 0;
  }
  .sidebar .sidebar-note small {
    font-size: 9px;
    line-height: 12px;
  }
}
@media (min-width: 701px) and (max-height: 620px) {
  .sidebar {
    padding: 12px 18px;
  }
  .sidebar .brand-logo {
    width: 96px;
    height: 80px;
  }
  .sidebar .brand-logo img {
    width: 192px;
    left: -48px;
    top: -18px;
  }
  .sidebar .workspace-label {
    margin: 8px 14px;
  }
  .sidebar nav {
    gap: 2px;
  }
  .sidebar .sidebar-note {
    display: none;
  }
}
@media (min-width: 701px) and (max-height: 520px) {
  .sidebar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sidebar .brand,
  .sidebar .workspace-label {
    display: none;
  }
}
.ingredient-help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.ingredient-search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 460px;
  margin-bottom: 20px;
  font-size: 12px;
}
.ingredient-card .edit-label {
  font-size: 12px;
  text-align: center;
}
.recipe-ingredient-picker {
  margin-bottom: 8px;
}
.nav:nth-child(7).active {
  background: #e2f2fb;
  color: #447693;
}
@media (min-width: 701px) and (max-height: 700px) {
  .sidebar .sidebar-note {
    display: none;
  }
}
@media (max-width: 700px) {
  .sidebar {
    height: auto;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    background: #fffaf6;
  }
  .sidebar nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px 4px;
    overflow: visible;
    justify-content: normal;
  }
  .sidebar .nav {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 6px 2px !important;
    margin: 0;
    gap: 4px;
    font-size: 11px !important;
    line-height: 14px;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    border-radius: 10px;
  }
  .sidebar .nav svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  main {
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(132px + env(safe-area-inset-bottom));
  }
}
.receipt-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.receipt-item label {
  min-width: 0;
}
.receipt-item input,
.receipt-item select {
  width: 100%;
  max-width: 100%;
}
.receipt-item small {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}
.receipt-item > .text-button {
  justify-self: start;
}
.receipt-confirm {
  padding: 16px;
  background: #e8f1e5;
  border-radius: 12px;
  margin: 18px 0 !important;
}
@media (max-width: 600px) {
  .receipt-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
}
.purchase-batches {
  margin: 22px 0;
}
.expiry-label {
  display: block;
  font-size: 12px;
  margin-top: 7px;
  color: var(--green);
}
.expiry-label.expiry-review {
  color: #913e57;
  font-weight: 700;
}
.purchase-batch > div {
  min-width: 0;
}
.purchase-batch > div:last-child {
  flex-shrink: 0;
}
.purchase-batch small {
  line-height: 1.6;
}
@media (max-width: 700px) {
  .purchase-batch {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .purchase-batch > div:last-child {
    text-align: left;
  }
  .purchase-batch strong {
    font-size: 13px;
  }
}
.recipe-sections {
  padding: 0 0 12px;
  overflow: visible;
  gap: 8px;
}
.recipe-sections button {
  font-size: 14px;
  padding: 11px 20px;
}
.recipe-sections button.selected {
  background: #e7f0e4;
  color: #4c7056;
}
.inventory-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 400px;
  max-width: 100%;
}
.inventory-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  padding: 12px 10px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.stock-action {
  background: #ffe6ed;
  border-color: #edc4d1;
  color: #87354c;
}
.ingredient-action {
  background: #e8f1e5;
  border-color: #c7d9bd;
  color: #345d40;
}
.stock-action:hover {
  background: #fbd6e1;
}
.ingredient-action:hover {
  background: #dcebd6;
}
@media (max-width: 600px) {
  .inventory-actions {
    width: 100%;
    gap: 10px;
  }
  .inventory-action {
    font-size: 13px;
  }
}
.income-choices {
  padding: 20px;
  margin-bottom: 20px;
}
.income-choices h2 {
  margin: 0 0 14px;
  font-size: 20px;
}
.income-choices button {
  width: 100%;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}
.income-choices small {
  font-size: 13px;
  font-weight: 400;
}
.supplier-picker {
  display: grid;
  gap: 12px;
}
.ticket-picker {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.ticket-picker legend {
  font-weight: 600;
  margin-bottom: 12px;
}
.ticket-picker small {
  display: block;
  color: var(--muted);
  margin-top: 10px;
  font-size: 13px;
}
.photo-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  background: #f8e6e7;
  color: #8e3d54;
  border: 1px solid #ebc9d0;
  border-radius: 14px;
  font-weight: 600;
  overflow: hidden;
  cursor: pointer;
}
.photo-button input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.photo-button:focus-within {
  outline: 2px solid #a94763;
  outline-offset: 3px;
}
.photo-button:has(input:disabled) {
  opacity: .5;
  cursor: wait;
}
.recipe-measure,
.ingredient-equivalences {
  border: 1px solid var(--border,#eeded8);
  border-radius: 16px;
  padding: 16px;
  margin: 18px 0;
  min-width: 0;
}
.recipe-measure legend,
.ingredient-equivalences legend {
  padding: 0 6px;
  font-weight: 600;
}
.recipe-measure .form-grid {
  margin: 0;
}
.recipe-conversion,
.ingredient-equivalences p,
.ingredient-equivalences small {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.recipe-measure-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.recipe-measure-actions button {
  font-size: 13px;
}
.ingredient-equivalences {
  background: #fffaf6;
}
.order-flavors {
  margin: 20px 0;
}
.order-flavors > h3 {
  font-size: 16px;
  line-height: 1.5;
}
.flavor-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flavor-quick button {
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
}
.flavor-quick button[aria-pressed=true] {
  background: #e6f0e2;
  border-color: #94b29b;
  color: #3d6550;
}
.flavor-mix {
  margin-top: 14px;
}
.flavor-mix summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.flavor-mix > label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
  margin-top: 10px;
}
.flavor-mix p {
  font-size: 13px;
}
.flavor-config {
  padding: 12px;
  border: 1px solid #eeded8;
  border-radius: 12px;
  margin: 12px 0;
  min-width: 0;
}
.production-flavors {
  list-style: none;
  padding: 12px 0 0;
  margin: 12px 0 0;
  border-top: 1px solid #eeded8;
}
.production-flavors li {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  padding: 5px 0;
}
.production-flavors li strong {
  font-size: 13px;
}
.production-flavors small {
  font-weight: 400;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.catalog-toolbar .ingredient-search {
  flex: 1;
  min-width: 220px;
  margin: 0;
}
.catalog-toolbar .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.catalog-categories {
  flex-wrap: wrap;
  overflow: visible;
  padding: 16px 0;
  border: 0;
  gap: 8px;
}
.catalog-categories button {
  border: 1px solid #e7d5d0;
  background: white;
  font-size: 12px;
  border-radius: 12px;
  padding: 11px 14px;
}
.catalog-categories button.selected {
  background: #f3dce2;
  color: #85364f;
  border-color: #d5a1af;
}
.catalog-categories small {
  font-weight: 400;
  opacity: .7;
  margin-left: 5px;
}
.catalog-section {
  margin: 10px 0 24px;
  border: 1px solid #eeded8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.catalog-section > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 18px 20px;
  list-style: none;
  background: #eaf4fb;
}
.catalog-section > summary::-webkit-details-marker {
  display: none;
}
.catalog-section > summary h2 {
  font-size: 20px;
  flex: 1;
}
.catalog-section > summary span {
  font-size: 12px;
}
.catalog-tone-1 > summary {
  background: #fff0d6;
}
.catalog-tone-2 > summary {
  background: #fae4e8;
}
.catalog-tone-3 > summary {
  background: #e7f0e2;
}
.catalog-section .product-grid {
  padding: 16px;
  gap: 12px;
}
.catalog-section .product-card {
  padding: 18px;
  gap: 12px;
}
.catalog-section .product-card h3 {
  font-size: 15px;
  line-height: 1.5;
}
.catalog-section .product-card > div > strong {
  font-size: 21px;
}
.picker-categories {
  padding: 12px 0 0;
  gap: 6px;
}
.picker-categories button {
  font-size: 11px;
  padding: 9px 10px;
}
.picker-group-heading {
  margin: 0;
  padding: 9px 12px;
  background: #f5e7e9;
  color: #8b485c;
  font-size: 11px;
  position: sticky;
  top: 0;
  z-index: 1;
}
.picker-empty {
  padding: 15px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 700px) {
  .catalog-section > summary {
    padding: 16px;
  }
  .catalog-section .product-grid {
    padding: 12px;
  }
  .catalog-categories button {
    padding: 10px 12px;
  }
  .catalog-section > summary h2 {
    font-size: 18px;
  }
}
.production-controls {
  padding: 20px;
  margin-bottom: 18px;
}
.production-controls label {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.production-controls .checkbox {
  flex-direction: row;
  align-items: center;
  font-size: 12px;
}
.production-controls .form-grid {
  margin: 0;
}
.production-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.production-view .chips {
  padding-bottom: 0;
}
.week-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.week-navigation > span {
  font-size: 12px;
}
.production-plan-section {
  margin: 24px 0;
}
.production-plan-section > h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
.production-next {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
}
.production-breakdown {
  margin-top: 14px;
  border-top: 1px solid #eeded8;
  padding-top: 14px;
}
.production-breakdown summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.production-source {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eeded8;
}
.production-source > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.production-source > div strong {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  flex: 1;
}
.production-source b {
  font-size: 13px;
  white-space: nowrap;
}
.production-source p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0;
}
.production-source button {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 10px 0;
  border-top: 1px solid #f3e9e5;
  font-size: 12px;
}
.production-source button strong {
  font-size: 12px;
  white-space: nowrap;
}
.production-source button small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .production-controls {
    padding: 16px;
  }
  .production-controls .form-grid {
    grid-template-columns: 1fr;
  }
  .production-controls input,
  .production-controls select {
    width: 100%;
    min-width: 0;
  }
  .week-navigation {
    justify-content: center;
  }
  .week-navigation > span {
    order: -1;
    flex-basis: 100%;
    text-align: center;
  }
  .production-plan-section > h2 {
    font-size: 18px;
  }
}
.modal {
  max-width: 100%;
}
.modal-body {
  overflow-x: hidden;
}
.modal-body > * {
  min-width: 0;
  max-width: 100%;
}
.modal fieldset {
  min-inline-size: 0;
  max-inline-size: 100%;
}
.modal legend {
  max-width: 100%;
  white-space: normal;
}
.modal .form-grid > * {
  max-width: 100%;
}
.modal input[type=date],
.modal input[type=time] {
  display: block;
  min-inline-size: 0;
  inline-size: 100%;
}
.modal input::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
.modal img {
  max-width: 100%;
  height: auto;
}
.photo-help {
  display: block;
  margin: 8px 0;
}
.backup-bottom {
  margin-top: 32px;
}
.income-choices .inventory-action {
  white-space: normal;
}
.income-choices small {
  line-height: 1.5;
}
@media (max-width: 700px) {
  .modal input,
  .modal select,
  .modal textarea,
  .modal .search input {
    font-size: 16px;
  }
  .modal .chips {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .modal .picker > div {
    min-width: 0;
  }
  .modal .picker > div > div:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .modal .stepper {
    flex-shrink: 0;
  }
  .modal .ingredient-row > label {
    min-width: 0;
    flex: 1 1 100%;
  }
}
.receipt-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.6 monospace;
  max-height: 240px;
  overflow-y: auto;
}
.receipt-detected {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.receipt-detected li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-detected li > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.receipt-detected li > strong {
  flex-shrink: 0;
  white-space: nowrap;
}
.home-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.home-actions > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  min-width: 130px;
}
.home-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 14px;
}
.home-period .chips {
  padding: 0;
}
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.home-stat {
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  text-align: left;
  min-width: 0;
  border: 1px solid #eeded8;
}
.home-stat > svg {
  grid-column: 2;
  grid-row: 1;
  color: #987c76;
}
.home-stat > span {
  grid-column: 1;
  grid-row: 1;
  font-size: 13px;
  font-weight: 600;
}
.home-stat > strong {
  grid-column: 1/-1;
  font-size: clamp(21px, 2.4vw, 32px);
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.home-stat > small {
  grid-column: 1/-1;
  font-size: 11px;
  line-height: 1.5;
}
.home-stat.pink {
  background: #fbe8ed;
}
.home-stat.cream {
  background: #fff2d9;
}
.home-stat.green {
  background: #e8f1e4;
}
.home-stat.blue {
  background: #e9f3fa;
}
.home-alerts {
  border: 1px solid #efdfb9;
  background: #fff4dc;
  border-radius: 15px;
  margin-bottom: 22px;
}
.home-alerts > summary,
.home-new > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 17px 20px;
  list-style: none;
}
.home-alerts > summary strong {
  font-size: 12px;
  margin-left: auto;
}
.home-alerts > div {
  padding: 0 20px 16px;
}
.home-alerts p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.home-columns .panel-head {
  padding: 20px;
  gap: 10px;
  flex-wrap: wrap;
}
.home-columns h2 {
  font-size: 19px;
}
.home-columns .panel-head .eyebrow {
  margin-bottom: 7px;
}
.home-columns .text-button {
  font-size: 12px;
}
.home-empty {
  padding: 25px 20px;
  color: var(--muted);
  line-height: 1.6;
}
.home-agenda-row {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.home-agenda-row:last-child {
  border-bottom: 0;
}
.home-order-link {
  display: flex;
  align-items: start;
  width: 100%;
  text-align: left;
  gap: 14px;
  padding: 0;
}
.home-order-link time {
  background: #f6e8e8;
  border-radius: 10px;
  padding: 8px;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
}
.home-order-link > span {
  flex: 1;
  min-width: 0;
}
.home-order-link strong {
  font-size: 14px;
}
.home-order-link small {
  display: block;
  line-height: 1.5;
  margin-top: 5px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.home-order-link > svg {
  flex-shrink: 0;
  margin-top: 8px;
}
.home-row-payment {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 0 61px;
  font-size: 12px;
  color: #94506a;
}
.home-row-payment .quick-pay {
  font-size: 12px;
  min-height: 38px;
  padding: 8px 14px;
}
.home-row-payment .home-paid {
  color: #4c7351;
}
.home-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  padding: 15px 12px 5px;
}
.home-week > button {
  border: 1px solid #ede2dc;
  border-radius: 12px;
  padding: 12px 3px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  min-width: 0;
  background: #fffaf6;
}
.home-week > button.is-today {
  background: #fbe6ed;
  border-color: #dba4b6;
}
.home-week span {
  font-size: 10px;
  text-transform: uppercase;
}
.home-week strong {
  font-size: 20px;
}
.home-week small {
  font-size: 10px;
  white-space: nowrap;
}
.home-caption {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 20px 20px;
}
.home-new {
  margin-top: 22px;
}
.home-new > summary {
  justify-content: space-between;
  font-size: 14px;
}
.home-new .business-row small {
  display: block;
  margin-top: 6px;
}
.home-completed > summary {
  padding: 15px 20px;
  font-size: 12px;
  cursor: pointer;
  color: var(--green);
}
.home-overdue {
  padding: 12px 20px;
  background: #fff0e1;
  width: 100%;
  text-align: left;
  font-size: 12px;
  color: #99582e;
}
.order-review section {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  margin-top: 15px;
  background: white;
}
.order-review h3 {
  margin-bottom: 12px;
  font-size: 15px;
}
.review-intro {
  color: var(--muted);
  font-size: 14px;
}
.order-review p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 5px;
}
.review-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.review-line:last-child {
  border: 0;
  padding-bottom: 0;
}
.review-line > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.review-line > strong {
  flex-shrink: 0;
}
.review-line small {
  display: block;
  line-height: 1.5;
  margin-top: 5px;
}
.review-totals > p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.review-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px !important;
  font-weight: 700;
  font-size: 20px !important;
}
.order-review .review-payment {
  background: #e9f1e5;
}
.review-notes {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.order-review-footer {
  flex-wrap: wrap;
  gap: 12px;
}
.order-review-footer > span {
  margin-left: auto;
}
@media (min-width: 701px) {
  .sidebar .nav {
    height: 40px;
    padding: 8px 14px;
  }
  .sidebar .workspace-label {
    margin-top: 10px;
  }
  .sidebar .sidebar-note p {
    font-size: 11px;
  }
}
@media (min-width: 701px) and (max-height: 760px) {
  .sidebar .sidebar-note {
    display: none;
  }
}
@media (max-width: 1100px) {
  .home-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-week {
    gap: 8px;
    padding: 16px 20px;
  }
  .home-week small {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 4px;
  }
  .sidebar .nav {
    height: 42px;
    flex-direction: row;
    gap: 6px;
    font-size: 11px !important;
  }
  .sidebar .nav svg {
    width: 16px;
    height: 16px;
  }
  main {
    padding-bottom: calc(160px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(156px + env(safe-area-inset-bottom));
  }
  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-stat {
    padding: 16px;
    gap: 8px;
  }
  .home-stat > strong {
    font-size: 26px;
  }
  .home-actions {
    gap: 7px;
  }
  .home-actions > button {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    padding: 12px 8px;
  }
  .home-alerts > summary {
    flex-wrap: wrap;
    padding: 15px;
    gap: 8px;
  }
  .home-alerts > summary strong {
    font-size: 11px;
  }
  .home-columns .panel-head {
    padding: 16px;
  }
  .home-agenda-row {
    padding: 16px;
  }
  .home-row-payment {
    margin-left: 0;
  }
  .home-week {
    gap: 4px;
    padding: 12px 10px;
  }
  .home-week small {
    font-size: 10px;
  }
  .home-week > button {
    padding: 11px 2px;
  }
  .home-new > summary {
    padding: 17px 15px;
  }
  .order-review section {
    padding: 14px;
  }
  .order-review-footer > span {
    display: none;
  }
  .order-review-footer > button {
    flex: 1;
    justify-content: center;
    font-size: 13px;
    padding: 13px 8px;
  }
  .home-period > small {
    font-size: 11px;
  }
}
.money-input {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}
.money-input .money-symbol {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-size: 16px;
}
.money-input input {
  display: block;
  width: 100%;
  min-width: 0;
  padding-left: 31px;
  font-variant-numeric: tabular-nums;
}
.money-input.disabled .money-symbol {
  opacity: .5;
}
.sidebar-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 10px 4px 0;
  margin-top: 12px;
}
.sidebar-tools .sync {
  flex-basis: 100%;
  font-size: 10px;
  margin-bottom: 4px;
}
.sidebar-tools .icon-button {
  min-width: 32px;
  min-height: 30px;
}
.sidebar-tools .text-button {
  padding: 6px;
  font-size: 11px;
}
.delete-record {
  color: #9b3852;
  border: 1px solid #e2acba;
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 44px;
}
.delete-record:hover {
  background: #fbe6ed;
}
.sidebar .sidebar-note {
  display: none;
}
.content {
  padding-top: 28px;
}
@media (max-width: 700px) {
  .sidebar-tools {
    margin-top: 4px;
    padding: 2px 4px 0;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .sidebar-tools .sync {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 10px;
  }
  .sidebar-tools .icon-button {
    min-width: 28px;
    min-height: 28px;
  }
  .sidebar-tools .text-button {
    min-height: 28px;
    font-size: 11px;
  }
  main {
    padding-bottom: calc(194px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(190px + env(safe-area-inset-bottom));
  }
  .content {
    padding-top: 22px;
  }
}
.ingredient-prices {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.ingredient-prices .business-row {
  gap: 14px;
  flex-wrap: wrap;
}
.ingredient-prices .business-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.ingredient-prices fieldset > small {
  display: block;
  margin-top: 10px;
}
.ingredient-groups {
  display: grid;
  gap: 10px;
}
.ingredient-group {
  margin: 0;
}
.ingredient-group > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.ingredient-group > summary > strong {
  flex: 1;
}
.ingredient-group > summary::-webkit-details-marker {
  display: none;
}
.ingredient-compact {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  width: 100%;
  text-align: left;
}
.ingredient-compact > div {
  min-width: 0;
}
.ingredient-compact > div:last-child {
  text-align: right;
}
.ingredient-compact strong {
  display: block;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.ingredient-compact small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: var(--muted);
}
.ingredient-compact:hover {
  background: #fff3ef;
}
@media (max-width: 600px) {
  .ingredient-compact {
    padding: 12px 14px;
    gap: 8px;
  }
  .ingredient-compact strong {
    font-size: 14px;
  }
  .ingredient-group > summary {
    padding: 14px;
  }
}
.secondary {
  border: 1px solid #d7b4be;
  background: #fff7fa;
  color: #98435c;
  border-radius: 12px;
  min-height: 44px;
  padding: 11px 18px;
  font-weight: 650;
}
.secondary:hover {
  background: #ffe9f0;
}
.secondary:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
}
.home-actions > button {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.home-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-columns > .panel {
  margin: 0;
  align-self: stretch;
}
.home-columns .panel-head {
  min-height: 88px;
}
.home-alerts {
  margin: 18px 0 0;
}
.home-stat {
  grid-template-rows: auto auto 1fr;
  align-content: start;
}
.home-stat > small {
  min-height: 32px;
}
.home-next {
  display: block;
  text-align: left;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
}
.inventory-week {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
}
.inventory-week h2 {
  font-size: 22px;
}
.inventory-week > span {
  font-size: 13px;
  color: var(--muted);
}
.inventory-setup {
  background: #fff1da;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0;
}
.inventory-setup summary {
  font-weight: 600;
  cursor: pointer;
}
.inventory-setup p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.inventory-list {
  margin-top: 16px;
}
.inventory-line {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) 1fr 1fr 1.4fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.inventory-line small {
  display: none;
}
.inventory-line > strong > small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.inventory-labels {
  font-size: 12px;
  color: var(--muted);
  background: #fff7f2;
}
.stock-missing {
  color: #9b4b36;
}
.stock-ok {
  color: #52705c;
}
.stores-panel > label {
  display: block;
  max-width: 500px;
  margin: 16px 0;
}
.stores-panel select {
  width: 100%;
}
.store-price-editor,
.shopping-add {
  padding: 20px;
  margin-top: 18px;
}
.store-price-editor .ingredient-prices {
  border: 0;
  margin: 0;
  padding: 0;
}
.shopping-add h3 {
  margin-bottom: 18px;
}
.shopping-add > .primary {
  margin-top: 12px;
}
.shopping-store {
  margin: 14px 0;
}
.shopping-store summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
}
.shopping-store small {
  display: block;
  margin-top: 4px;
}
.stores-panel .chips {
  flex-wrap: wrap;
}
.simple-inventory > .checkbox {
  margin: 16px 0;
}
@media (max-width: 1050px) {
  .home-columns {
    grid-template-columns: 1fr;
  }
  .inventory-line {
    gap: 10px;
    padding: 14px;
  }
}
@media (max-width: 650px) {
  .inventory-labels {
    display: none;
  }
  .inventory-line {
    grid-template-columns: 1fr 1fr;
  }
  .inventory-line > strong {
    grid-column: 1/-1;
  }
  .inventory-line small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .inventory-line > span:last-child {
    grid-column: 1/-1;
    font-weight: 600;
  }
  .store-price-editor,
  .shopping-add {
    padding: 16px;
  }
  .home-actions {
    max-width: none;
  }
  .home-stat > strong {
    font-size: 24px;
  }
  .home-columns .panel-head {
    min-height: 0;
  }
}
.business-actions[hidden] {
  display: none;
}
.order-sort {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  min-width: 160px;
}
.order-sort select {
  padding: 10px;
  border-radius: 10px;
}
.order-created {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  font-size: 11px;
}
.recipe-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.recipe-sections > button {
  min-width: 0;
  white-space: normal;
  padding: 12px;
}
.filters {
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .recipe-sections > button {
    flex: 1;
    padding: 10px 6px;
    font-size: 12px;
  }
  .order-sort {
    width: 100%;
  }
}
.compact-orders .order-card {
  padding: 16px 20px;
  gap: 12px;
}
.compact-orders .order-avatar {
  display: none;
}
.compact-orders .order-title {
  gap: 8px;
  flex-wrap: wrap;
}
.compact-orders h3 {
  font-size: 17px;
}
.compact-orders .order-main p {
  font-size: 13px;
  margin: 5px 0;
  line-height: 1.4;
}
.compact-orders .order-created {
  font-size: 11px;
}
.compact-orders .order-money strong {
  font-size: 20px;
}
.compact-orders .order-payment-strip {
  padding: 9px 20px;
  gap: 12px;
  min-height: 0;
}
.compact-orders .payment-state-group {
  gap: 2px;
}
.compact-orders .payment-state-group small:empty {
  display: none;
}
.compact-orders .payment-balance {
  display: flex;
  gap: 6px;
  align-items: center;
}
.compact-orders .payment-balance strong {
  font-size: 16px;
}
.compact-orders .quick-pay {
  padding: 7px 14px;
  min-height: 36px;
}
.entry-origin {
  font-size: 11px;
  border-radius: 6px;
  padding: 3px 7px;
  background: #eee8df;
  color: #6d625b;
}
.entry-origin.web {
  background: #e1eef7;
  color: #326079;
}
.web-request-note {
  padding: 8px 20px;
  background: #edf5fa;
  color: #426478;
  font-size: 12px;
}
.store-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.store-overview-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.store-overview-item.selected {
  border-color: #aa4d67;
  background: #fff5f7;
}
.store-overview-item > span {
  display: grid;
  gap: 8px;
}
.store-overview-item > span > span {
  font-size: 13px;
}
.store-overview-item small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: #8a7770;
}
.store-best b {
  color: #426e4e;
}
.store-price-editor {
  scroll-margin-top: 20px;
}
@media (max-width: 650px) {
  .store-overview {
    grid-template-columns: 1fr;
  }
  .compact-orders .order-card {
    padding: 12px;
    gap: 8px;
  }
  .compact-orders .order-payment-strip {
    padding: 9px 12px;
  }
  .compact-orders .order-money strong {
    font-size: 17px;
  }
  .compact-orders .order-title h3 {
    font-size: 16px;
  }
  .compact-orders .order-main > small {
    font-size: 11px;
  }
  .compact-orders .order-payment-strip .payment-balance {
    gap: 4px;
  }
  .compact-orders .quick-pay {
    font-size: 12px;
  }
}
.orders-content {
  max-width: 1140px;
  margin: 0 auto;
}
.orders-content .stats {
  gap: 12px;
  margin-bottom: 20px;
}
.orders-content .stat {
  padding: 16px 20px;
}
.orders-content .stat strong {
  font-size: 28px;
}
.orders-content .filters > label:not(.search):not(.date-filter) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  font-size: 12px;
}
.compact-orders .order-payment-strip {
  margin: 0 20px 12px;
  border-radius: 10px;
}
.orders-content .panel-head .text-button {
  font-size: 12px;
}
@media (max-width: 650px) {
  .compact-orders .order-payment-strip {
    margin: 0 12px 10px;
  }
  .orders-content .stat {
    padding: 12px;
  }
  .orders-content .panel-head {
    flex-wrap: wrap;
    gap: 10px;
  }
}
.order-trash {
  padding: 16px 20px;
  margin-bottom: 18px;
}
.order-trash > summary {
  cursor: pointer;
  color: #a84860;
}
.order-trash > p {
  font-size: 14px;
  margin: 12px 0;
}
.order-trash .business-row {
  gap: 15px;
  flex-wrap: wrap;
}
.sidebar .group-navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
}
.nav-group {
  min-width: 0;
}
.group-submenu {
  display: flex;
  flex-direction: column;
  padding: 6px 8px 8px 24px;
  gap: 4px;
}
.group-submenu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
}
.group-submenu button.selected {
  background: #f8e0e7;
  color: #913c54;
}
.group-submenu small {
  margin-left: 8px;
}
.sidebar .nav-group > .nav {
  width: 100%;
}
@media (max-width: 700px) {
  .sidebar .group-navigation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    position: relative;
  }
  .sidebar .nav-group > .nav {
    height: 54px;
    padding: 5px 1px !important;
    flex-direction: column;
    gap: 3px;
    font-size: 10px !important;
    white-space: normal;
    line-height: 13px;
  }
  .sidebar .nav-group > .nav svg {
    width: 19px;
    height: 19px;
  }
  .group-submenu {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 10px;
    background: #fffaf6;
    border: 1px solid #eadbd5;
    box-shadow: 0 -6px 22px #594b4620;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .group-submenu button {
    min-height: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px;
    font-size: 13px;
    text-align: center;
    background: #f5ebe4;
  }
  main {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom: calc(110px + env(safe-area-inset-bottom));
  }
}
.production-progress {
  margin: 24px 0 32px;
}
.progress-day {
  border: 1px solid var(--border,#ebded8);
  border-radius: 18px;
  background: #fff;
  margin: 12px 0;
  overflow: hidden;
}
.progress-day > summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #faf3ed;
}
.progress-day > summary small {
  font-weight: 400;
}
.progress-row {
  padding: 20px;
  border-top: 1px solid #eee2da;
}
.progress-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.progress-row-head h3 {
  margin: 0 0 4px;
}
.progress-row-head .primary {
  padding: 12px 16px;
  flex-shrink: 0;
}
.progress-counts {
  display: flex;
  gap: 24px;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}
.progress-counts b {
  display: block;
  font-size: 1.4rem;
}
.progress-row progress {
  display: block;
  width: 100%;
  height: 12px;
  accent-color: #82a783;
  margin-bottom: 8px;
}
.progress-history {
  margin-top: 14px;
  font-size: .9rem;
}
.progress-history summary {
  cursor: pointer;
}
.progress-entry {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #eee2da;
  padding: 12px 0;
}
.progress-entry small {
  display: block;
}
.progress-entry p {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.progress-entry > details {
  flex-basis: 100%;
}
@media (max-width: 600px) {
  .progress-row {
    padding: 14px;
  }
  .progress-row-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .progress-row-head .primary {
    width: 100%;
  }
  .progress-day > summary {
    padding: 14px;
    flex-wrap: wrap;
  }
  .progress-counts {
    gap: 18px;
    font-size: .85rem;
  }
}
.batch-assignments {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.assembly-lines {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.assembly-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee2da;
}
.assembly-lines li small {
  grid-column: 1/-1;
}
.assembly-complete {
  color: #4f7157;
}
.production-progress > .progress-row-head {
  margin: 20px 0;
}
.production-progress > .progress-row-head h2 {
  margin-bottom: 6px;
}
.order-flavors-summary {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 12px;
  line-height: 1.5;
  color: #71554b;
  margin: 5px 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.order-flavors-summary .order-flavors-row {
  display: block !important;
  white-space: normal !important;
  background: #f8eee4;
  border-radius: 7px;
  padding: 4px 7px;
  margin: 3px 0;
}
.order-flavors-row b {
  font-weight: 650;
}
.order-main .order-flavors-summary {
  max-height: none;
  -webkit-line-clamp: unset;
}
.team-member {
  padding: 20px;
  border-bottom: 1px solid var(--line,#efddd5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.team-member small {
  display: block;
  overflow-wrap: anywhere;
}
.team-member p {
  margin: 8px 0;
}
.team-panel .modal-body label small {
  font-weight: 400;
  display: block;
  margin: 6px 0;
}
.permission-start {
  padding: 24px;
}
.permission-start .business-actions {
  margin-top: 20px;
}
@media (max-width: 680px) {
  .team-member {
    align-items: stretch;
    flex-direction: column;
  }
  .team-member .business-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
}
.session-identity {
  font-size: 10px;
  overflow-wrap: anywhere;
  flex-basis: 100%;
  color: var(--muted);
}
.order-fold {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
  padding: 0 16px;
  background: #fff;
}
.order-fold > summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.order-fold > label {
  margin-bottom: 16px;
}
.order-fold[open] {
  padding-bottom: 16px;
}
.order-at-glance {
  background: #f7eee8;
  border-radius: 14px;
  padding: 16px;
}
.order-at-glance p {
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
}
.order-at-glance > strong {
  font-size: 19px;
}
@media (max-width: 700px) {
  .sidebar-tools .session-identity {
    display: none;
  }
}
.packing-overlay {
  z-index: 35;
}
.packing-line {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.packing-line strong {
  font-size: 18px;
}
.packing-line small {
  color: var(--muted);
}
.packing-actions {
  flex-wrap: wrap;
  gap: 10px;
}
.packing-actions button {
  min-height: 44px;
}
.packing-overlay .packing-line {
  overflow-wrap: anywhere;
}
@media print {
  @page {
    size: auto;
    margin: 12mm;
  }
  html,
  body {
    height: auto !important;
    overflow: visible !important;
    background: white !important;
  }
  body:has(> .packing-overlay) > :not(.packing-overlay) {
    display: none !important;
  }
  body > .packing-overlay {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    background: white !important;
    overflow: visible !important;
    height: auto !important;
  }
  .packing-overlay .modal {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: white !important;
  }
  .packing-overlay .modal-body {
    overflow: visible !important;
    max-height: none !important;
    padding: 12px 0 !important;
  }
  .packing-overlay .modal-head {
    position: static !important;
    padding: 0 0 12px !important;
    background: white !important;
  }
  .packing-overlay .modal-head button,
  .packing-overlay .packing-actions,
  .packing-export-error {
    display: none !important;
  }
  .packing-overlay .packing-line {
    break-inside: avoid;
    color: #000 !important;
  }
}
.home-pending {
  margin: 20px 0;
  padding: 0;
  overflow: hidden;
}
.home-pending > summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.home-pending > summary span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted,#897970);
}
.home-pending-body {
  padding: 0 22px 18px;
}
.home-pending-body > details > summary {
  padding: 12px 0;
  cursor: pointer;
}
.home-pending .business-row {
  padding: 14px 0;
}
.help-modal {
  max-width: 950px;
}
.help-modal label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.help-topic {
  padding: 18px 0;
  border-bottom: 1px solid #eadbd3;
}
.help-topic summary {
  font-weight: 650;
  cursor: pointer;
}
.help-topic p {
  line-height: 1.75;
  font-size: 16px;
}
.help-where {
  color: #a24762;
}
.help-modal .modal-bottom {
  flex-wrap: wrap;
  gap: 10px;
}
.help-modal .modal-bottom a {
  text-decoration: none;
}
.order-flavors-summary {
  font-size: 12px !important;
  line-height: 1.45 !important;
  margin: 5px 0 !important;
  color: #76645d !important;
}
.order-flavors-summary .order-flavors-row {
  padding: 2px 0 2px 10px !important;
  border-left: 2px solid #e5c6ce;
  border-radius: 0 !important;
  background: transparent !important;
  margin: 2px 0 !important;
  font-size: inherit !important;
}
.order-flavors-row b {
  font-weight: 500 !important;
  font-size: inherit !important;
}
.order-main > p,
.agenda-order small:first-of-type {
  font-weight: 600;
  color: #594a44;
}
.customer-history-overlay {
  z-index: 19;
}
.customer-history-overlay .modal {
  max-width: 780px;
}
.customer-history-overlay .business-row {
  width: 100%;
}
.production-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.production-steps button {
  padding: 18px;
  border: 1px solid #ead8d1;
  border-radius: 16px;
  background: white;
  text-align: left;
}
.production-steps button.selected {
  background: #e7f1e4;
  border-color: #96b49c;
}
.production-steps strong,
.production-steps small {
  display: block;
}
.production-steps strong {
  font-size: 19px;
}
.production-steps small {
  margin-top: 6px;
  color: #77665f;
  line-height: 1.4;
}
.production-stock > summary {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  cursor: pointer;
}
.receipt-proof {
  border: 1px solid #ead8d1;
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
}
.receipt-proof img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.receipt-proof input {
  max-width: 100%;
  width: 100%;
}
.finance-navigation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.finance-navigation button {
  padding: 10px 14px;
  border: 1px solid #ead8d1;
  border-radius: 12px;
}
.finance-navigation .selected {
  background: #a74965;
  color: white;
}
.finance-search {
  display: block;
  margin: 15px 0;
}
.finance-search input {
  width: 100%;
}
@media (max-width: 600px) {
  .production-steps {
    gap: 8px;
  }
  .production-steps button {
    padding: 12px;
  }
  .production-steps strong {
    font-size: 17px;
  }
  .production-steps small {
    font-size: 12px;
  }
  .customer-history-overlay .modal-body {
    padding: 16px;
  }
}
.ticket-logo {
  display: block;
  width: 150px;
  height: 115px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.ticket-totals {
  border-top: 1px solid #ead8d1;
  margin-top: 20px;
  padding-top: 14px;
}
.ticket-totals h3 {
  color: #a74965;
}
.packing-line > strong {
  font-size: 18px;
}
.packing-line > span {
  font-size: 14px;
  color: #77665f;
}
@media print {
  .packing-mode {
    display: none !important;
  }
}
.customer-letter,
.expense-group {
  margin: 14px 0;
}
.customer-letter > summary,
.expense-group > summary {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  align-items: center;
}
.customer-letter > summary:before,
.expense-group > summary:before {
  content: "\25b8";
  color: #a74763;
}
.customer-letter[open] > summary:before,
.expense-group[open] > summary:before {
  content: "\25be";
}
.customer-letter > summary > strong,
.expense-group > summary > strong {
  margin-right: auto;
}
.customer-letter > summary > strong {
  font-size: 24px;
}
.customer-letter > summary > span,
.expense-group > summary > span {
  font-size: 15px;
  color: #806e65;
}
.customer-directory {
  margin: 20px 0 32px;
}
.customer-letter .business-row {
  padding: 16px 24px;
}
.expense-kinds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.expense-kinds button {
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid #eadbd3;
  border-radius: 16px;
}
.expense-kinds button.selected {
  background: #fbe7ec;
  border-color: #a74763;
}
.expense-kinds span,
.expense-kinds strong {
  display: block;
}
.expense-kinds strong {
  font-size: 25px;
  margin-top: 10px;
}
.expense-browser .form-grid {
  margin: 20px 0;
}
.expense-group .business-row {
  width: 100%;
}
.delivery-day {
  margin: 22px 0;
}
.delivery-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 150px;
  gap: 18px;
  padding: 24px;
  border-top: 1px solid #eadbd3;
}
.delivery-hour {
  background: #fbe7ec;
  border-radius: 12px;
  padding: 12px;
  height: fit-content;
  text-align: center;
}
.delivery-info h3 {
  margin: 0 0 8px;
}
.delivery-info p {
  margin: 8px 0;
}
.delivery-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delivery-info {
  min-width: 0;
}
.delivery-info .order-flavors {
  font-size: 15px;
}
.deliveries-panel .checkbox {
  margin: 18px 0;
}
.club-directory .club-order > summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  padding: 18px 0;
}
.club-directory .club-order > summary small {
  display: block;
}
.club-directory .club-order > summary:after {
  content: "\2304";
  color: #a74763;
}
.club-directory .club-order > div {
  padding: 12px 0;
}
.club-directory .club-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.club-directory .club-overview span {
  background: #fbe7ec;
  padding: 12px 18px;
  border-radius: 12px;
}
.club-directory .club-search {
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .expense-kinds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .delivery-item {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 18px;
    gap: 12px;
  }
  .delivery-actions {
    grid-column: 1/-1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .delivery-actions button {
    flex: 1;
  }
  .customer-letter > summary,
  .expense-group > summary {
    padding: 16px;
    flex-wrap: wrap;
  }
}
.customer-confirmation .ticket-logo {
  display: block;
  width: 180px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 18px;
}
.customer-confirmation .ticket-eyebrow {
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--rose,#a74965);
}
.customer-confirmation .ticket-delivery {
  background: #f3ede5;
  border-radius: 14px;
  padding: 16px;
}
.customer-confirmation .packing-line {
  background: white;
  border: 1px solid #ecdcd5;
  border-radius: 14px;
  padding: 20px;
  margin: 12px 0;
}
.customer-confirmation .packing-line > strong:last-child:not(:first-child) {
  text-align: right;
  color: #a74965;
}
.customer-confirmation .ticket-totals {
  background: #fbe8ed;
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}
.customer-confirmation .ticket-totals h3 {
  color: #a74965;
  font-size: 1.6rem;
}
