/* GELATOlab — Order Desk / Business Atelier */
.order-desk {
  --od-wine: #641322;
  --od-wine-deep: #3f0c17;
  --od-champagne: #c5a66d;
  --od-ivory: #fbf8f1;
  --od-paper: #fffdf8;
  --od-ink: #2f2925;
  --od-muted: #766b61;
  --od-rule: #dfd5c7;
  color: var(--od-ink);
  max-width: 1380px;
  margin: 0 auto;
  padding: 30px 34px 80px;
  font-family: "Manrope", "Noto Sans TC", sans-serif;
}

.od-kicker,
.od-beta,
.od-plan,
.od-stats span,
.od-tabs button,
.od-order-source > span,
.od-status,
.od-recipe-card header,
.od-empty > span,
.od-format-banner > span,
.od-label-paths button > span,
.od-lock-plan span {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.od-view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--od-wine);
}

.od-kicker { color: var(--od-champagne); font-size: 11px; font-weight: 500; }
.od-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.od-title-line h2 {
  margin: 0;
  color: var(--od-wine);
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
}
.od-view-header p { margin: 10px 0 0; color: var(--od-muted); font-size: 14px; }
.od-beta, .od-plan {
  border: 1px solid var(--od-wine);
  color: var(--od-wine);
  padding: 4px 7px 3px;
  font-size: 9px;
  line-height: 1;
}
.od-plan { border-color: var(--od-champagne); color: #85692f; }

.od-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--od-rule);
  border-top: 0;
  background: var(--od-paper);
}
.od-stats > div { padding: 20px 22px; border-right: 1px solid var(--od-rule); }
.od-stats > div:last-child { border-right: 0; }
.od-stats span { display: block; color: var(--od-muted); font-size: 9px; }
.od-stats strong {
  display: block;
  margin: 5px 0 2px;
  color: var(--od-wine);
  font-family: "Cormorant Garamond", serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
}
.od-stats small { color: var(--od-muted); font-size: 11px; }

.od-tabs { display: flex; margin-top: 28px; border-bottom: 1px solid var(--od-rule); }
.od-tabs button {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--od-muted);
  cursor: pointer;
  font-size: 11px;
  padding: 13px 18px 11px;
}
.od-tabs button span { margin-left: 6px; color: var(--od-champagne); }
.od-tabs button.is-active { border-bottom-color: var(--od-wine); color: var(--od-wine); }
.od-panel { padding-top: 20px; }

.od-toolbar { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.od-toolbar label { min-width: 150px; }
.od-toolbar .od-search { flex: 1; }
.od-toolbar label > span,
.od-form-grid label > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--od-muted);
  font-size: 11px;
  font-weight: 600;
}
.od-toolbar input, .od-toolbar select,
.od-form-grid input, .od-form-grid select, .od-form-grid textarea,
.od-ingredient-row input, .od-ingredient-row select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--od-rule);
  border-radius: 0;
  background: #fff;
  color: var(--od-ink);
  font: inherit;
  font-size: 13px;
  padding: 10px 11px;
}
.od-toolbar input:focus, .od-toolbar select:focus,
.od-form-grid input:focus, .od-form-grid select:focus, .od-form-grid textarea:focus,
.od-ingredient-row input:focus, .od-ingredient-row select:focus {
  border-color: var(--od-wine);
  outline: 1px solid var(--od-wine);
  outline-offset: -1px;
}
.od-toolbar .btn-primary { margin-left: auto; white-space: nowrap; }

.od-order-list { border-top: 1px solid var(--od-wine); }
.od-order-row {
  display: grid;
  grid-template-columns: 150px minmax(240px, 1fr) 175px auto;
  gap: 20px;
  align-items: center;
  padding: 17px 4px;
  border-bottom: 1px solid var(--od-rule);
}
.od-order-source > span { display: block; color: var(--od-wine); font-size: 10px; font-weight: 500; }
.od-order-source small, .od-order-main p, .od-order-meta small { color: var(--od-muted); font-size: 11px; }
.od-order-main p { margin: 5px 0 0; }
.od-order-title { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.od-order-title strong { font-family: "Noto Serif TC", serif; font-size: 16px; font-weight: 600; }
.od-category { border-left: 1px solid var(--od-champagne); color: #85692f; font-size: 10px; padding-left: 8px; }
.od-order-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.od-status { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; }
.od-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #8b8279; }
.od-status-new i { background: #9b6d1f; }
.od-status-progress i { background: var(--od-wine); }
.od-status-waiting i { background: #a45b35; }
.od-status-ready i { background: #446b5a; }
.od-status-done i { background: #6a806a; }
.od-row-actions { display: flex; gap: 6px; }
.od-row-actions button, .od-recipe-card header button, .od-danger, .od-add-row {
  border: 0;
  background: transparent;
  color: var(--od-wine);
  cursor: pointer;
  font: 600 10px "IBM Plex Mono", monospace;
  letter-spacing: .04em;
  padding: 6px;
}
.od-row-actions button:first-child { border: 1px solid var(--od-wine); padding: 7px 9px; }

.od-recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.od-recipe-card { display: flex; flex-direction: column; min-height: 270px; border: 1px solid var(--od-rule); background: var(--od-paper); padding: 19px; }
.od-recipe-card header { display: flex; justify-content: space-between; color: var(--od-champagne); font-size: 9px; }
.od-recipe-card h3 { margin: 23px 0 2px; color: var(--od-wine); font: 600 22px "Noto Serif TC", serif; }
.od-recipe-card > p { margin: 0; color: var(--od-muted); font-size: 12px; }
.od-recipe-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 12px; border-block: 1px solid var(--od-rule); }
.od-recipe-metrics div { padding: 11px 8px; border-right: 1px solid var(--od-rule); }
.od-recipe-metrics div:last-child { border-right: 0; }
.od-recipe-metrics strong { display: block; color: var(--od-wine); font: 500 20px "Cormorant Garamond", serif; }
.od-recipe-metrics span { color: var(--od-muted); font-size: 9px; }
.od-recipe-detail { color: var(--od-muted); line-height: 1.6; }
.od-recipe-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; }
.od-danger { color: #8a2f32; }

.od-empty { border: 1px solid var(--od-rule); background: var(--od-paper); padding: 56px 30px; text-align: center; }
.od-empty > span { color: var(--od-champagne); font-size: 10px; }
.od-empty h3 { margin: 9px 0 5px; color: var(--od-wine); font: 500 29px "Cormorant Garamond", "Noto Serif TC", serif; }
.od-empty p { margin: 0 0 19px; color: var(--od-muted); font-size: 13px; }
.od-error { margin-top: 12px; border-left: 2px solid #8a2f32; background: #fff6f4; padding: 10px 12px; color: #8a2f32; font-size: 13px; }

.od-loading { margin-top: 15vh; border-top: 1px solid var(--od-wine); border-bottom: 1px solid var(--od-rule); padding: 28px 0; }
.od-loading p { color: var(--od-muted); }
.od-locked { display: grid; min-height: 68vh; place-items: center; }
.od-lock-card { width: min(620px, 100%); border: 1px solid var(--od-rule); border-top: 2px solid var(--od-wine); background: var(--od-paper); padding: 42px; }
.od-lock-card p { max-width: 520px; color: var(--od-muted); line-height: 1.8; }
.od-lock-plan { display: flex; justify-content: space-between; margin: 27px 0; border-block: 1px solid var(--od-rule); padding: 15px 0; }
.od-lock-plan span { color: var(--od-muted); font-size: 10px; }
.od-lock-plan strong { color: var(--od-wine); font-family: "IBM Plex Mono", monospace; letter-spacing: .08em; }

.nav-beta-badge, .mobile-nav-beta {
  display: inline-block;
  margin-left: 5px;
  border: 1px solid currentColor;
  color: #9b7940;
  font: 500 7px "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  line-height: 1;
  padding: 2px 3px;
  vertical-align: middle;
}

.od-modal-overlay { z-index: 1200; }
.od-modal {
  --od-wine: #641322;
  --od-champagne: #c5a66d;
  --od-ivory: #fbf8f1;
  --od-paper: #fffdf8;
  --od-ink: #2f2925;
  --od-muted: #766b61;
  --od-rule: #dfd5c7;
  width: min(940px, calc(100vw - 28px));
  max-width: none;
  max-height: 92vh;
  overflow: auto;
  border-radius: 0;
  border-top: 3px solid var(--od-wine);
}
.od-recipe-modal { width: min(1320px, calc(100vw - 28px)); }
.od-modal-header { align-items: flex-start; border-bottom: 1px solid #dfd5c7; }
.od-modal-header h3 { margin: 3px 0 0; color: #641322; font: 600 29px "Cormorant Garamond", "Noto Serif TC", serif; }
.od-modal form { padding: 0 24px 24px; }
.od-form-section { display: grid; grid-template-columns: 36px 1fr; gap: 11px; margin: 24px 0 13px; padding-bottom: 10px; border-bottom: 1px solid #dfd5c7; }
.od-section-no { color: #c5a66d; font: 500 11px "IBM Plex Mono", monospace; padding-top: 2px; }
.od-form-section h4 { margin: 0; color: #641322; font-family: "Noto Serif TC", serif; }
.od-form-section p { margin: 3px 0 0; color: #766b61; font-size: 11px; }
.od-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.od-form-grid label.od-wide { grid-column: 1 / -1; }
.od-form-grid label[hidden] { display: none; }
.od-form-grid label > span small { color: #9a8462; font: 500 9px "IBM Plex Mono", monospace; }
.od-inline { display: grid; grid-template-columns: 1fr 92px; }
.od-inline > * + * { border-left: 0 !important; }
.od-format-banner { display: grid; grid-template-columns: 150px 1fr; gap: 15px; margin: 17px 0 13px; border-left: 2px solid #641322; background: #fbf8f1; padding: 12px 14px; }
.od-format-banner > span { color: #641322; font-size: 9px; }
.od-format-banner p { margin: 0; color: #766b61; font-size: 11px; }
.od-ingredient-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .85fr);
  gap: 20px;
  align-items: start;
}
.od-selected-ingredients { min-width: 0; }
.od-ingredient-head, .od-ingredient-row { display: grid; grid-template-columns: minmax(150px, 1.15fr) 100px 54px minmax(130px, 1fr) 34px; gap: 7px; align-items: center; }
.od-ingredient-head { margin-bottom: 5px; color: #766b61; font-size: 9px; }
.od-ingredient-row { margin-bottom: 7px; }
.od-ingredient-row button { width: 32px; height: 32px; border: 1px solid #dfd5c7; border-radius: 0; background: #fff; color: #8a2f32; cursor: pointer; }
.od-ingredient-identity,
.od-ingredient-row .od-ingredient-pick {
  box-sizing: border-box;
  width: 100%;
  min-height: 43px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid #cbbca8;
  background: #fffdf8;
  color: #2f2925;
  text-align: left;
}
.od-ingredient-row .od-ingredient-pick { height: 43px; }
.od-ingredient-identity strong,
.od-ingredient-identity small,
.od-ingredient-pick strong,
.od-ingredient-pick small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-ingredient-identity strong,
.od-ingredient-pick strong { color: #641322; font: 600 12px "Noto Serif TC", serif; }
.od-ingredient-identity small,
.od-ingredient-pick small { margin-top: 2px; color: #8b7a6c; font: 500 8px "IBM Plex Mono", monospace; letter-spacing: .05em; }
.od-ingredient-row.is-just-added { animation: odIngredientRise .45s cubic-bezier(.32,.72,.24,1); }
@keyframes odIngredientRise {
  from { opacity: .25; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.od-selected-empty {
  display: grid;
  min-height: 152px;
  place-content: center;
  border-block: 1px solid #dfd5c7;
  background: #fffdf8;
  padding: 24px;
  text-align: center;
}
.od-selected-empty span { color: #c5a66d; font: 500 9px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.od-selected-empty p { max-width: 330px; margin: 7px auto 0; color: #766b61; font-size: 11px; line-height: 1.7; }
.od-unit-fixed,
.od-basis-unit,
.od-serving-unit {
  display: grid;
  min-height: 41px;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid #dfd5c7;
  background: #fbf8f1;
  color: #766b61;
  font: 500 10px "IBM Plex Mono", monospace;
}
.od-add-row { margin-top: 3px; border-bottom: 1px solid #641322; padding-inline: 0; }
.od-modal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 15px; border-top: 1px solid #dfd5c7; }
.od-modal-footer > div { display: flex; gap: 8px; }

.od-ingredient-library {
  min-width: 0;
  border: 1px solid #cbbca8;
  background: #fffdf8;
}
.od-ingredient-library > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px 12px;
  border-bottom: 1px solid #dfd5c7;
}
.od-ingredient-library > header span { display: block; color: #c5a66d; font: 500 8px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.od-ingredient-library > header h5 { margin: 3px 0 0; color: #641322; font: 600 17px "Noto Serif TC", serif; }
.od-selected-count { color: #766b61; font: normal 500 9px "IBM Plex Mono", monospace; white-space: nowrap; }
.od-inline-picker-tools { display: grid; grid-template-columns: minmax(0, 1fr) 105px; gap: 8px; padding: 12px 13px; border-bottom: 1px solid #dfd5c7; }
.od-inline-picker-tools label > span { display: block; margin-bottom: 5px; color: #766b61; font-size: 9px; }
.od-inline-picker-tools input,
.od-inline-picker-tools select {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #cbbca8;
  border-radius: 0;
  background: transparent;
  color: #2f2925;
  font: 12px "Manrope", "Noto Sans TC", sans-serif;
  padding: 8px 2px;
}
.od-inline-picker-tools input:focus,
.od-inline-picker-tools select:focus { border-bottom-color: #641322; outline: 0; }
.od-inline-ing-results { height: 430px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.od-quick-ing-result {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #e5ddd1;
  border-radius: 0;
  background: transparent;
  padding: 10px 12px;
  color: #2f2925;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, padding .2s ease;
}
.od-quick-ing-result:hover { background: #ede6da; padding-left: 18px; }
.od-quick-ing-result.is-added { background: #f7f2e8; }
.od-quick-ing-result strong,
.od-quick-ing-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.od-quick-ing-result strong { color: #641322; font: 600 12px "Noto Serif TC", serif; }
.od-quick-ing-result small { margin-top: 2px; color: #766b61; font-size: 9px; }
.od-quick-ing-result em { display: inline-flex; align-items: center; gap: 6px; color: #641322; font: normal 500 8px "IBM Plex Mono", monospace; white-space: nowrap; }
.od-quick-ing-result em i { width: 5px; height: 5px; border: 1px solid #641322; background: transparent; }
.od-quick-ing-result em i.is-complete { border-color: #c5a66d; background: #c5a66d; }
.od-ing-result-limit {
  border-bottom: 1px solid #dfd5c7;
  background: #f7f2e8;
  padding: 10px 12px;
  color: #766b61;
  font: 500 9px/1.55 "IBM Plex Mono", monospace;
  text-align: center;
}
.od-ingredient-library > footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 13px; border-top: 1px solid #dfd5c7; }
.od-ingredient-library > footer .btn-secondary { min-height: 32px; padding: 6px 9px; font-size: 10px; white-space: nowrap; }
.od-ingredient-library > footer small { color: #766b61; font-size: 9px; line-height: 1.45; text-align: right; }

.od-nutrition-basis { margin-bottom: 13px; }
.od-nutrition-preview,
.od-nutrition-empty { border: 1px solid #dfd5c7; background: #fffdf8; }
.od-nutrition-preview { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.od-nutrition-preview header { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #dfd5c7; }
.od-nutrition-preview header span,
.od-nutrition-empty > span { color: #641322; font: 500 9px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.od-nutrition-preview header small { color: #766b61; font-size: 10px; }
.od-nutrition-preview > div { min-width: 0; padding: 12px 9px; border-right: 1px solid #dfd5c7; }
.od-nutrition-preview > div:last-child { border-right: 0; }
.od-nutrition-preview strong { display: block; color: #641322; font: 500 20px "Cormorant Garamond", serif; }
.od-nutrition-preview > div span { color: #766b61; font-size: 9px; }
.od-nutrition-empty { padding: 20px; text-align: center; }
.od-nutrition-empty p { margin: 6px 0 0; color: #766b61; font-size: 11px; }
.od-calc-disclaimer { margin-top: 9px; border-left: 2px solid #c5a66d; background: #fbf8f1; padding: 9px 11px; color: #766b61; font-size: 10px; line-height: 1.7; }

.od-ingredient-picker { width: min(900px, calc(100vw - 28px)); }
.od-ing-picker-tools { display: grid; grid-template-columns: minmax(260px, 1fr) 190px auto; gap: 10px; align-items: end; padding: 18px 22px; border-bottom: 1px solid #dfd5c7; }
.od-ing-picker-tools label > span { display: block; margin-bottom: 5px; color: #766b61; font-size: 10px; }
.od-ing-picker-tools input,
.od-ing-picker-tools select { width: 100%; box-sizing: border-box; border: 1px solid #dfd5c7; border-radius: 0; background: #fff; color: #2f2925; font: 13px "Manrope", "Noto Sans TC", sans-serif; padding: 10px 11px; }
.od-ing-results { max-height: min(62vh, 610px); overflow: auto; padding: 0 22px 22px; }
.od-ing-result { display: grid; width: 100%; grid-template-columns: minmax(190px, 1fr) minmax(360px, auto); gap: 14px; align-items: center; border: 0; border-bottom: 1px solid #dfd5c7; border-radius: 0; background: #fffdf8; padding: 13px 4px; color: #2f2925; text-align: left; cursor: pointer; }
.od-ing-result:hover { background: #fbf8f1; }
.od-ing-result strong,
.od-ing-result > div > span { display: block; }
.od-ing-result strong { color: #641322; font: 600 14px "Noto Serif TC", serif; }
.od-ing-result > div > span { margin-top: 3px; color: #766b61; font-size: 10px; }
.od-ing-macros { display: flex; justify-content: flex-end; align-items: center; gap: 13px; color: #766b61; font: 500 9px "IBM Plex Mono", monospace; }
.od-ing-macros em { display: inline-flex; align-items: center; gap: 5px; min-width: 82px; color: #641322; font-style: normal; }
.od-ing-macros em.is-complete { color: #766b61; }
.od-ing-macros i { width: 6px; height: 6px; border: 1px solid currentColor; background: transparent; }
.od-ing-empty { padding: 44px 10px; text-align: center; }
.od-ing-empty p { color: #766b61; font-size: 12px; }

.od-label-modal { width: min(800px, calc(100vw - 28px)); }
.od-label-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 24px; }
.od-label-paths button { min-height: 190px; border: 1px solid #dfd5c7; border-radius: 0; background: #fffdf8; padding: 18px; text-align: left; cursor: pointer; }
.od-label-paths button:hover:not(:disabled) { border-color: #641322; }
.od-label-paths button:disabled { cursor: not-allowed; opacity: .48; }
.od-label-paths button > span { display: block; color: #c5a66d; font-size: 9px; }
.od-label-paths strong { display: block; margin: 18px 0 7px; color: #641322; font: 600 18px "Noto Serif TC", serif; }
.od-label-paths small { color: #766b61; line-height: 1.6; }

@media (max-width: 980px) {
  .order-desk { padding-inline: 20px; }
  .od-stats { grid-template-columns: repeat(2, 1fr); }
  .od-stats > div:nth-child(2) { border-right: 0; }
  .od-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--od-rule); }
  .od-order-row { grid-template-columns: 120px 1fr 150px; }
  .od-row-actions { grid-column: 2 / -1; }
  .od-recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .od-nutrition-preview { grid-template-columns: repeat(4, 1fr); }
  .od-nutrition-preview > div:nth-of-type(4) { border-right: 0; }
  .od-nutrition-preview > div:nth-of-type(n+5) { border-top: 1px solid #dfd5c7; }
}

@media (max-width: 1120px) {
  .od-ingredient-workspace { grid-template-columns: 1fr; }
  .od-inline-ing-results { height: 330px; }
}

@media (max-width: 680px) {
  .order-desk { padding: 20px 13px 90px; }
  .od-view-header { align-items: flex-start; }
  .od-view-header > button { display: none; }
  .od-title-line h2 { font-size: 38px; }
  .od-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .od-toolbar .od-search, .od-toolbar .btn-primary { grid-column: 1 / -1; width: 100%; }
  .od-order-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 6px; }
  .od-row-actions { grid-column: auto; }
  .od-recipe-grid { grid-template-columns: 1fr; }
  .od-form-grid { grid-template-columns: 1fr; }
  .od-form-grid label.od-wide { grid-column: auto; }
  .od-ingredient-head { display: none; }
  .od-modal form { padding-inline: 14px; }
  .od-recipe-modal { width: 100vw; }
  .od-ingredient-row { grid-template-columns: minmax(0, 1fr) 82px 48px 34px; }
  .od-ingredient-row input[name="ingredientNote"] { grid-column: 1 / -1; grid-row: 2; }
  .od-inline-picker-tools { grid-template-columns: 1fr 96px; }
  .od-inline-ing-results { height: 300px; }
  .od-ingredient-library > footer { align-items: flex-start; }
  .od-ingredient-library > footer small { max-width: 150px; }
  .od-nutrition-preview { grid-template-columns: repeat(2, 1fr); }
  .od-nutrition-preview header { display: block; }
  .od-nutrition-preview header small { display: block; margin-top: 4px; }
  .od-nutrition-preview > div { border-top: 1px solid #dfd5c7; }
  .od-nutrition-preview > div:nth-of-type(even) { border-right: 0; }
  .od-ing-picker-tools { grid-template-columns: 1fr; }
  .od-ing-result { grid-template-columns: 1fr; }
  .od-ing-macros { justify-content: flex-start; flex-wrap: wrap; }
  .od-format-banner { grid-template-columns: 1fr; }
  .od-label-paths { grid-template-columns: 1fr; }
  .od-label-paths button { min-height: auto; }
}


/* ============================================================
   v632 — Cormorant Garamond lining figures
   Cormorant / var(--font-display) 預設 old-style（text）figures，
   數字 1 帶 serif 會被讀成 I（91 → 9I、81 → 8I）。v589/EP12 只修了
   .view-calculator .recipe-pairing-panel .recipe-flavor-* 那一小塊，
   本區塊補上全站其餘大號數字（score / KPI / 價格 / 統計 / 排名…）。
   只影響數字字形，不動字體、字級與版面。
   注意：tabular-nums 只固定字寬，單獨使用「不會」修好 old-style。
   ============================================================ */
.od-stats strong,
.od-recipe-metrics strong,
.od-nutrition-preview strong {
  font-variant-numeric: lining-nums;
}
