:root {
  --green: #1f6f5f;
  --green-dark: #153c35;
  --line: #d8e0dd;
  --muted: #6b7a75;
  --surface: #ffffff;
  --page: #f3f6f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14221e;
  background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: #14221e; }
.public-header { min-height: 66px; padding: 12px clamp(16px, 4vw, 48px); background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 10; }
.public-header.compact { min-height: 58px; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-weight: 800; letter-spacing: .02em; }
.public-brand-mark { width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; background: #8fd7eb; color: #123e47; font-weight: 900; font-size: 20px; }
.public-updated { color: var(--muted); font-size: 12px; text-align: right; }
.public-brand-link { text-decoration: none; }
.public-header-actions { display: flex; align-items: center; gap: 12px; }
.public-refresh-button {
  border: 1px solid #b8cbc5;
  border-radius: 9px;
  background: #fff;
  color: var(--green-dark);
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.public-refresh-button:hover { background: #f2f8f6; }
.public-refresh-button:disabled { opacity: .6; cursor: wait; }
.public-shell { width: min(1380px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px; }
.public-heading { margin-bottom: 20px; }
.public-heading.compact { margin-bottom: 14px; }
.public-heading h1 { margin: 2px 0 6px; color: var(--green-dark); font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.public-heading p { margin: 0; color: var(--muted); }
.public-eyebrow { color: var(--green) !important; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.public-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 28px rgba(22, 61, 52, .06); }
.price-table-wrap { overflow-x: auto; }
.public-table { width: 100%; border-collapse: collapse; }
.public-table th, .public-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.public-table th { position: sticky; top: 65px; z-index: 2; background: #eef5f2; color: var(--green-dark); font-size: 11px; text-transform: uppercase; letter-spacing: .045em; }
.price-table { min-width: 760px; }
.price-table th { position: static; }
.price-table th:nth-child(1) { width: 135px; }
.price-table th:nth-child(3), .price-table th:nth-child(4) { width: 135px; }
.price-table th:nth-child(5) { width: 150px; }
.public-group-row td { padding: 10px 14px; background: #f5f8f7; color: var(--green-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .045em; border-top: 2px solid #aebdb8; }
.public-product-name { font-weight: 650; }
.public-sku { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.public-money { font-weight: 750; white-space: nowrap; }
.public-availability { font-size: 12px; font-weight: 750; }
.public-availability.available { color: #167044; }
.public-availability.limited { color: #a06208; }
.public-availability.unavailable { color: #b42318; }
.public-loading, .public-state { padding: 24px !important; color: var(--muted); text-align: center !important; }
.public-state.error { color: #b42318; }
.public-info-shell { max-width: 900px; }
.public-copy { padding: clamp(22px, 4vw, 42px); font-size: 16px; line-height: 1.65; }
.public-copy h2 { margin: 30px 0 8px; color: var(--green-dark); font-size: 21px; line-height: 1.25; }
.public-copy h2:first-child { margin-top: 0; }
.public-copy p { margin: 0 0 14px; }
.public-copy ul { margin: 8px 0 16px; padding-left: 24px; }
.public-copy a { color: var(--green); }
.public-info-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 750; }
.dispatch-public-shell { max-width: 900px; }
.dispatch-public-card { overflow: visible; }
.public-dispatch-view-switch { display: inline-flex; gap: 4px; margin: 0 0 12px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #edf3f1; }
.public-dispatch-view-button { min-height: 34px; padding: 7px 13px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.public-dispatch-view-button.active { background: #fff; color: var(--green-dark); box-shadow: 0 1px 4px rgba(20, 55, 49, .12); }
.mobile-dispatch-table { table-layout: fixed; }
.mobile-dispatch-table th { top: 57px; }
.mobile-dispatch-table th:first-child { width: 46%; }
.mobile-dispatch-table th:nth-child(n+2) { width: 18%; text-align: center; }
.mobile-dispatch-table td { padding: 9px 10px; font-size: 13px; line-height: 1.2; }
.mobile-dispatch-table td:nth-child(n+2) { text-align: center; }
.public-count { font-size: 17px !important; font-weight: 900; }
.public-count.work { color: #854d0e; background: rgba(250, 204, 21, .16); }
.public-count.ready { color: #166534; background: rgba(34, 197, 94, .14); }
.public-count.daily { color: #1d4ed8; background: rgba(59, 130, 246, .12); }
.mobile-dispatch-table tfoot th, .mobile-dispatch-table tfoot td { border-top: 2px solid #8fa29b; border-bottom: 0; font-weight: 850; }
.mobile-dispatch-table tfoot th { text-align: center; color: var(--green-dark); background: #f5f8f7; }
.public-weight-total { text-align: center !important; font-size: 14px !important; white-space: nowrap; }
.public-weight-total.work { color: #854d0e; background: rgba(250, 204, 21, .16); }
.public-weight-total.ready { color: #166534; background: rgba(34, 197, 94, .14); }
.public-weight-total.daily { color: #1d4ed8; background: rgba(59, 130, 246, .12); }
@media (max-width: 640px) {
  .public-header { padding: 10px 12px; }
  .public-brand { gap: 7px; font-size: 13px; }
  .public-brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 17px; }
  .public-updated { font-size: 10px; }
  .public-header-actions { gap: 7px; }
  .public-refresh-button { padding: 7px 9px; font-size: 11px; }
  .public-shell { width: 100%; padding: 18px 10px 32px; }
  .public-heading h1 { font-size: 27px; }
  .public-card { border-radius: 11px; }
  .mobile-dispatch-table th { padding: 8px 4px; font-size: 8.5px; }
  .mobile-dispatch-table td { padding: 8px 7px; font-size: 12px; overflow-wrap: anywhere; }
  .public-count { font-size: 15px !important; }
  .mobile-dispatch-table .public-group-row td { padding: 8px; font-size: 10px; }
}
