:root {
  --ink: #183c34;
  --muted: #75817b;
  --green: #286c53;
  --bg: #f5f6f1;
  --line: #e2e7df;
  --amber: #9a6419;
  --red: #ad463d;
  --white: #fff;
  font-family:
    Pretendard,
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #263e35;
  background: var(--bg);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.pwa-tools {
  display: flex;
  justify-content: flex-end;
  align-items: start;
  gap: 12px;
  padding: 8px 16px;
  background: #edf1e8;
  font-size: 12px;
}
.pwa-tools:not(:has(> :not([hidden]))) {
  display: none;
}
.pwa-tools details p {
  max-width: 600px;
  padding-top: 8px;
}
.pwa-tools summary { cursor: pointer; }
.pwa-bar {
  padding: 12px 16px;
  background: #e5edde;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.pwa-bar[hidden], .pwa-tools [hidden] { display: none; }
.pwa-warning { background: #fff0d7; color: #754c11; }
.pwa-bar button, .pwa-tools button {
  background: var(--white);
  color: var(--ink);
  border: 1px solid #b7c9b4;
  border-radius: 6px;
  padding: 6px 12px;
}
@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
a {
  color: var(--green);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.8;
}
small,
.muted {
  color: var(--muted);
  font-size: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 100vh;
}
.sidebar {
  padding: 36px 22px;
  background: #173e35;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  border: 2px solid #b8d4a7;
  border-radius: 9px;
  width: 31px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #c9dfb6;
}
.mobile-logout {
  display: none;
}
.package-guide {
  color: var(--green, #36593c);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}
.package-spec {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 34rem;
}
pre {
  overflow: auto;
  max-width: 100%;
  font-size: 12px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #a3beb0;
  margin-top: 5px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav a {
  border: 0;
  background: transparent;
  color: #b4c8be;
  text-align: left;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}
.nav a.active,
.nav a:hover {
  background: #2c5347;
  color: white;
}
.nav a .navicon {
  display: inline-block;
  width: 28px;
  opacity: 0.8;
}
.side-foot {
  margin-top: auto;
  padding: 18px 9px;
  border-top: 1px solid #ffffff20;
  line-height: 1.8;
}
.side-foot small {
  color: #adc2b6;
}
.side-foot button {
  background: none;
  border: 0;
  color: #c1d1c6;
  padding: 8px 0;
}
.main {
  min-width: 0;
  max-width: 1600px;
  width: 100%;
  padding: 37px 44px 60px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #7e8c7b;
  font-weight: 700;
  margin-bottom: 9px;
}
.date-chip {
  background: #e9eee4;
  border: 1px solid #e1e7d9;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 12px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.pagehead p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid #dbe2d8;
  background: white;
  border-radius: 7px;
  padding: 10px 15px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1.3;
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.btn.danger {
  color: var(--red);
  border-color: #e8d6ce;
}
.btn.sm {
  font-size: 12px;
  padding: 7px 10px;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 23px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px 23px;
}
.metric-label {
  font-size: 12px;
  color: #788273;
  display: flex;
  justify-content: space-between;
}
.metric-value {
  font-size: 32px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -1px;
}
.metric-value small {
  font-size: 12px;
  font-weight: 400;
  margin-left: 7px;
}
.metric .hint {
  font-size: 11px;
  color: #99a190;
  margin-top: 8px;
}
.metric.warn .metric-value {
  color: var(--amber);
}
.metric.danger .metric-value {
  color: var(--red);
}
.notice {
  border: 1px solid #e2e4d5;
  background: #eef1e6;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 23px;
  font-size: 12px;
  color: #69725d;
  line-height: 1.8;
}
.notice.warning {
  background: #fff5e4;
  border-color: #f1dfbc;
  color: #906527;
}
.notice.error {
  background: #fff0ed;
  border-color: #e8ccc5;
  color: var(--red);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.panel-body {
  padding: 23px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 240px;
}
.toolbar select {
  width: auto;
  min-width: 170px;
  max-width: 100%;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f8faf5;
  color: #87907f;
  font-size: 11px;
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 18px;
  border-bottom: 1px solid #edf0e8;
  font-size: 13px;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  display: block;
  font-size: 14px;
}
td small {
  display: block;
  margin-top: 6px;
}
.forecast-table {
  table-layout: fixed;
  min-width: 1200px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.forecast-table th:first-child {
  width: 240px;
}
.forecast-table th:nth-child(2) {
  width: 160px;
}
.forecast-table .badge {
  white-space: normal;
}
.forecast-stock-input {
  width: 100px;
  max-width: 100%;
  min-height: 44px;
}
.dashboard-stock-toolbar {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: #f1f7ef;
}
.order-plan-panel {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.welstory-result-group {
  margin: 18px 0;
}
.welstory-result-item {
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.welstory-result-item small {
  display: block;
  margin-top: 4px;
}
.welstory-result-alert {
  margin: 16px 0;
  padding: 18px;
  border: 3px solid #9b6306;
  border-radius: 10px;
  background: #fff3d4;
  color: #754600;
  overflow-wrap: anywhere;
}
.welstory-result-alert.has-failures {
  border-color: #b42318;
  background: #fff0ed;
  color: #8a1c13;
}
.welstory-result-alert strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}
.welstory-result-alert p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.welstory-result-group-error > h4 {
  color: #9b1c13;
  font-size: 18px;
  font-weight: 800;
}
.welstory-result-item.error {
  padding: 16px;
  border: 2px solid #b42318;
  border-left-width: 7px;
  background: #fff0ed;
  color: #8a1c13;
}
.welstory-result-item.warning {
  border: 2px solid #9b6306;
  border-left-width: 7px;
  color: #754600;
}
.welstory-result-label {
  display: table;
  margin-bottom: 9px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #b42318;
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.welstory-result-item.warning .welstory-result-label {
  background: #805000;
}
.welstory-result-item.error > strong,
.welstory-result-item.warning > strong {
  font-size: 19px;
  font-weight: 800;
}
.welstory-result-item .welstory-result-reason {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.order-plan-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin-top: 10px;
}
.order-plan-controls label {
  margin: 0;
  max-width: 100%;
}
[data-plan-preview-result] ul {
  max-height: 240px;
  overflow-y: auto;
  padding-left: 20px;
}
[data-plan-preview-result] li {
  margin-bottom: 12px;
}
[data-plan-preview-result] small {
  display: block;
  margin-top: 4px;
}
.forecast-recommendation-stale {
  color: var(--muted);
  background: #fff5e4;
}
.inventory-table {
  table-layout: fixed;
  white-space: normal;
  overflow-wrap: anywhere;
}
.inventory-table th:nth-child(2) {
  width: 140px;
}
.inventory-table th:nth-child(3),
.inventory-table th:nth-child(4) {
  width: 150px;
}
.inventory-mobile-label {
  display: none;
}
.inventory-order-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #8fae99;
  border-radius: 10px;
  background: #f1f7ef;
  box-shadow: 0 3px 12px #173e3512;
}
[data-action="inventory-order"][hidden] {
  display: none;
}
.inventory-order-bar,
.inventory-move-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.inventory-order-bar > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}
.inventory-order-bar p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.inventory-row-order {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.inventory-row-order .btn {
  min-width: 44px;
  min-height: 44px;
}
.inventory-row-order small {
  margin: 0;
  min-width: 16px;
}
.inventory-drag-handle {
  touch-action: none;
  cursor: grab;
  user-select: none;
  font-size: 23px;
}
.inventory-pointer-drag,
.inventory-pointer-drag * {
  cursor: grabbing !important;
  user-select: none !important;
}
.inventory-dragging {
  opacity: .55;
  background: #e6f1df;
}
.inventory-move-source {
  background: #eef5e9;
}
.inventory-drag-label {
  position: fixed;
  pointer-events: none;
  z-index: 3000;
  max-width: min(300px, 80vw);
  overflow-wrap: anywhere;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: #173e35;
  box-shadow: 0 3px 12px #0003;
}
[data-move-panel] {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
[data-move-panel] input {
  margin: 10px 0;
}
.inventory-move-shortcuts {
  margin-bottom: 8px;
}
.inventory-move-results {
  list-style: none;
  padding: 0;
  max-height: min(220px, 28vh);
  overflow-y: auto;
}
.inventory-move-results button {
  width: 100%;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 44px;
  margin-bottom: 6px;
}
.badge {
  display: inline-block;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 500;
  background: #edf3e6;
  color: #63834f;
}
.badge.green {
  background: #e7f2e9;
  color: #3a7759;
}
.badge.amber {
  background: #fff2d9;
  color: #9a712c;
}
.badge.red {
  background: #fbedeb;
  color: #a35449;
}
.badge.gray {
  background: #eef0ed;
  color: #8b9285;
}
.qty {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}
.qty small {
  display: inline;
  font-size: 11px;
  font-weight: 400;
  margin-left: 4px;
}
.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
  white-space: normal;
}
.empty h2 {
  color: var(--ink);
  margin-bottom: 12px;
}
.empty .btn {
  margin-top: 20px;
}
.footnote {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d9685;
  font-size: 11px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.full {
  grid-column: 1/-1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #66765f;
}
input,
select,
textarea {
  border: 1px solid #dce2d7;
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  min-width: 0;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--green);
}
input[type="number"] {
  max-width: 180px;
}
.check {
  flex-direction: row;
  align-items: flex-start;
  line-height: 1.6;
}
.welstory-item {
  margin-bottom: 12px;
}
.welstory-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.welstory-item small {
  display: block;
  margin-top: 4px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: var(--ink);
  color: white;
  padding: 12vw 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-story h1 {
  font-size: 46px;
  line-height: 1.4;
  margin-top: 60px;
}
.login-story p {
  color: #bad0be;
  margin-top: 24px;
  max-width: 350px;
}
.login-form-wrap {
  display: grid;
  place-items: center;
  padding: 30px;
}
.login-card {
  max-width: 370px;
  width: 100%;
}
.login-card h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.login-card form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.login-card .btn {
  padding: 13px;
}
.loading {
  padding: 80px;
  text-align: center;
}
.request-progress {
  position: fixed;
  z-index: 2000;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 28px #183c3433;
  pointer-events: none;
}
.request-progress[hidden] {
  display: none;
}
.request-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 3px solid #ffffff55;
  border-top-color: white;
  border-radius: 50%;
  animation: request-spin 0.8s linear infinite;
}
@keyframes request-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .request-spinner { animation: none; }
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0;
  max-width: 900px;
  width: calc(100% - 36px);
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 30px 100px #183c3430;
}
dialog::backdrop {
  background: #14302665;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.modal-body {
  padding: 26px;
}
.modal-head button {
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--muted);
}
.category-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
.category-card h3 {
  margin-bottom: 15px;
}
.rule-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-top: 13px;
  line-height: 1.8;
}
.weekdays {
  display: flex;
  gap: 8px;
}
.weekdays label {
  gap: 6px;
  align-items: center;
}
.day-protected {
  background: #f1f7ed;
}
.inline-error {
  color: var(--red);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 13px 22px;
  box-shadow: 0 5px 25px #12352620;
  display: none;
  max-width: 90vw;
  z-index: 100;
}
#toast.show {
  display: block;
}
.history-line {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.history-line:last-child {
  border: 0;
}
.history-meta {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 13px;
}
.history-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.legend {
  font-size: 12px;
  display: flex;
  gap: 18px;
  margin: 16px 0;
  color: var(--muted);
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
details {
  margin-top: 12px;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-size: 12px;
}
.summary-line {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.subsection {
  margin-bottom: 20px;
}
.subsection h3 {
  margin-bottom: 15px;
}
#form-error:empty {
  display: none;
}
.history-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.history-filter label {
  max-width: 170px;
}
.section-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}
@media (min-width: 1500px) {
  .main {
    padding-left: 55px;
    padding-right: 55px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 185px 1fr;
  }
  .sidebar {
    padding: 30px 15px;
  }
  .main {
    padding: 28px 25px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .pagehead {
    align-items: flex-start;
  }
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .mobile-logout {
    display: block;
    position: absolute;
    top: 23px;
    right: 20px;
    border: 1px solid #ffffff40;
    border-radius: 5px;
    color: #d1e1d6;
    background: transparent;
    padding: 6px 9px;
    font-size: 11px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 20px;
    gap: 20px;
  }
  .brand {
    font-size: 22px;
  }
  .brand small {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  .nav a {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  .navicon {
    display: none !important;
  }
  .side-foot {
    display: none;
  }
  .main {
    padding: 23px 16px;
  }
  .topbar {
    margin-bottom: 25px;
  }
  .pagehead {
    flex-direction: column;
    align-items: stretch;
  }
  .pagehead h1 {
    font-size: 25px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric {
    padding: 17px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric .hint {
    font-size: 10px;
  }
  .formgrid,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .login-wrap {
    display: block;
  }
  .login-story {
    padding: 30px;
  }
  .login-story h1 {
    font-size: 28px;
    margin-top: 35px;
  }
  .login-story p {
    font-size: 12px;
  }
  .login-form-wrap {
    padding: 45px 25px;
  }
  .panel-head,
  .toolbar {
    padding: 17px;
  }
  .footnote {
    flex-direction: column;
  }
  .modal-body {
    padding: 20px;
  }
  .history-meta {
    flex-direction: column;
  }
  td,
  th {
    padding: 14px;
  }
  .forecast-table th:first-child {
    width: 160px;
  }
  .forecast-table th:nth-child(2) {
    width: 112px;
  }
  .forecast-table td,
  .forecast-table th {
    padding: 12px;
  }
  .inventory-table,
  .inventory-table thead,
  .inventory-table tbody {
    display: block;
  }
  .inventory-table tr:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    border-bottom: 1px solid var(--line);
  }
  .inventory-table th:nth-child(n),
  .inventory-table td {
    width: auto;
    min-width: 0;
    padding: 12px;
    border: 0;
  }
  .inventory-table th:nth-child(n + 3) {
    display: none;
  }
  .inventory-table td:nth-child(n + 3) {
    padding-top: 0;
    color: var(--muted);
  }
  .inventory-mobile-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
  }
  .inventory-table td[colspan] {
    grid-column: 1 / -1;
  }
  .inventory-table .badge {
    white-space: normal;
  }
  .date-chip {
    font-size: 11px;
    padding: 9px;
  }
  .weekdays {
    gap: 12px;
  }
}

.item-photo {
  float: left;
  width: 58px;
  height: 58px;
  margin: 0 10px 6px 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
}
.item-photo img { display: block; width: 56px; height: 56px; object-fit: contain; }
.item-photo-full { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #fff; }
