/* =========================================================
   HotSwap Propane: order page
   Phones: two steps (tanks, then schedule).
   Desktop: both side by side, like the mockup.
   ========================================================= */

.order-page {
  max-width: 1180px; margin: 0 auto;
  padding: 1.25rem var(--page-pad) 2rem;
  min-height: calc(100vh - var(--header-h) - 2px);
  min-height: calc(100svh - var(--header-h) - 2px);
}


.order-title { text-align: center; font: 700 clamp(1.35rem, 6vw, 1.9rem)/1.25 var(--font-head); }
.title-colon { display: none; }
.order-zip { margin-top: .4rem; text-align: center; font-weight: 700; color: var(--brown-soft); }

/* ---------- Tanks ---------- */
.order-tanks { display: grid; gap: 1.75rem; margin-top: 1.75rem; }
.tank-row { display: grid; grid-template-columns: clamp(84px, 25vw, 132px) 1fr; gap: 1rem; align-items: center; }
.tank-icon { width: 100%; height: auto; }
.tank-info { text-align: center; }
.tank-name { font: 700 clamp(1.1rem, 4.8vw, 1.4rem)/1.2 var(--font-head); }
.tank-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .6rem; }
.tank-price { min-width: 4.6ch; text-align: right; font: 800 clamp(1.35rem, 6vw, 1.7rem)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.stepper { display: flex; align-items: center; gap: .2rem; }
.step-btn {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0;
  background: none; border: 0; border-radius: 50%; color: var(--brown); cursor: pointer;
}
.step-btn svg { width: 1.6rem; height: 1.6rem; }
.step-btn:hover { background: rgba(72, 39, 29, .08); }
.step-btn:disabled { opacity: .3; cursor: default; background: none; }
.qty {
  width: 3.1rem; height: 3.1rem; padding: 0;
  text-align: center; font: 700 1.4rem/1 var(--font-body); color: var(--brown);
  background: #fff; border: 1.5px solid #cdbfb6; border-radius: 8px;
  box-shadow: 0 1px 3px rgba(72, 39, 29, .18);
  -moz-appearance: textfield; appearance: textfield;
}
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(188, 2, 41, .18); }
.tank-note { margin-top: .55rem; font-size: .88rem; line-height: 1.4; text-wrap: balance; }
.tank-note strong { font-weight: 700; }

/* ---------- Total + step buttons ---------- */
.order-total-row { display: grid; justify-items: center; gap: 1rem; margin-top: 2rem; }
.order-total { font: 800 clamp(1.6rem, 7vw, 2.1rem)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.order-fine { margin-top: -.4rem; font-size: .85rem; font-weight: 600; color: var(--brown-soft); text-align: center; }
.hint { font-size: .9rem; font-weight: 600; color: var(--brown-soft); text-align: center; }
.hint:empty { display: none; }

/* ---------- Schedule ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .2rem;
  background: none; border: 0; color: var(--brown); font: 700 1rem/1 var(--font-head); cursor: pointer;
}
.back-link svg { width: 1.2rem; height: 1.2rem; }
.schedule-title { margin: .5rem 0 .9rem; text-align: center; font: 700 clamp(1.6rem, 7vw, 2rem)/1.1 var(--font-head); }
.schedule-title:focus { outline: none; }

.schedule-box { border: 2.5px solid var(--brown); border-radius: 6px; background: #e9e0da; overflow: hidden; }
.schedule-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 2.75rem; padding: .45rem .9rem;
  background: #ddd1c9; border-bottom: 2px solid var(--brown);
  font: 700 .98rem/1.25 var(--font-head);
}
.change-day {
  flex: none; padding: .4rem .8rem; border: 1.5px solid var(--brown); border-radius: var(--pill);
  background: var(--paper); color: var(--brown); font: 700 .85rem/1 var(--font-head); cursor: pointer;
}
.change-day:hover { color: var(--red); border-color: var(--red); }

.slot-list {
  list-style: none; margin: 0; padding: .75rem;
  display: grid; gap: .65rem;
  max-height: clamp(250px, 41vh, 390px); overflow-y: auto; overscroll-behavior: contain;
}
.slot {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem 1rem; text-align: left;
  background: var(--paper); color: var(--brown);
  border: 2px solid var(--brown); border-radius: 4px; cursor: pointer;
  transition: border-color .12s, box-shadow .12s;
}
.slot:hover:not(:disabled) { border-color: var(--red); }
.slot[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.slot:disabled { cursor: not-allowed; background: #efe8e3; border-color: #b9aaa1; color: #9b8b82; }
.slot-main { display: block; font: 700 clamp(1.2rem, 5.4vw, 1.5rem)/1.15 var(--font-head); }
.slot-sub { display: block; margin-top: .15rem; font: 600 .9rem/1.2 var(--font-body); color: var(--brown-soft); }
.slot:disabled .slot-sub { color: inherit; }
.slot-tag { flex: none; text-align: right; font: 700 clamp(1.05rem, 4.6vw, 1.3rem)/1.15 var(--font-head); color: var(--arrow-red); }
.slot-tag--small { font-size: .95rem; }
.slot:disabled .slot-tag { color: inherit; }
.slot-empty { padding: 1rem; text-align: center; font-weight: 700; }

/* Frequency pill + chevron box (a real <select> sits invisibly on top) */
.frequency { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.1rem; }
.frequency-label { font: 400 clamp(1.4rem, 6vw, 1.7rem)/1 var(--font-cond); letter-spacing: .08em; text-transform: uppercase; }
.select-wrap { position: relative; display: flex; align-items: center; gap: .45rem; }
.select-pill {
  min-width: clamp(9.25rem, 40vw, 11.5rem); padding: .55rem 1rem; text-align: center;
  border: 2.5px solid var(--brown); border-radius: var(--pill); background: var(--paper);
  font: 700 1rem/1.2 var(--font-head);
}
.select-chev { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--brown); border-radius: 5px; background: var(--paper); }
.select-chev svg { width: 1.3rem; height: 1.3rem; }
.select-wrap select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font-size: 1rem;
}
.select-wrap:focus-within .select-pill { border-color: var(--red); box-shadow: 0 0 0 3px rgba(188, 2, 41, .18); }
.select-wrap:hover .select-pill { border-color: var(--red); }
.select-wrap.is-disabled { opacity: .5; }
.select-wrap.is-disabled select { cursor: not-allowed; }
.frequency-note {
  max-width: 34rem; margin: .8rem auto 0; padding: .7rem .9rem;
  border: 1.5px solid var(--brown); border-radius: 14px; background: var(--paper);
  font-size: .92rem; line-height: 1.45; text-align: center;
}

.schedule-summary:empty { display: none; }
.schedule-summary {
  max-width: 34rem; margin: .9rem auto 0; padding: .8rem 1rem;
  border: 1.5px solid var(--brown); border-radius: 14px; background: var(--paper);
  box-shadow: 2px 3px 0 var(--brown);
  text-align: center; font-weight: 600; line-height: 1.45;
}
.summary-when { font: 700 1.05rem/1.35 var(--font-head); }
.summary-hold { margin-top: .3rem; font-size: .9rem; color: var(--brown-soft); }
.summary-hold--ending { color: var(--red-press); font-weight: 700; }
.summary-alert { color: var(--red-press); font-weight: 700; }

.order-schedule > .btn { display: flex; margin: 1.1rem auto 0; }
.order-schedule > .hint { margin-top: .6rem; }
.order-schedule > .form-status { max-width: 34rem; margin: .8rem auto 0; text-align: center; }


/* ---------- Phones: one step at a time ---------- */
@media (max-width: 959px) {
  .order-page[data-step="tanks"] .order-schedule { display: none; }
  .order-page[data-step="schedule"] .order-tanks,
  .order-page[data-step="schedule"] .order-total-row,
  .order-page[data-step="schedule"] .order-title,
  .order-page[data-step="schedule"] .order-zip { display: none; }
}

/* ---------- Desktop: side by side ---------- */
@media (min-width: 960px) {
  .order-page { padding-top: 1.5rem; }
  .title-colon { display: inline; }
  .order-title { font-size: clamp(1.6rem, 2.1vw, 2.05rem); }
  .order-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    grid-template-areas: "tanks schedule" "total schedule";
    column-gap: clamp(2rem, 4vw, 4.5rem); align-items: start;
    margin-top: 1.25rem;
  }
  .order-tanks { grid-area: tanks; margin-top: .5rem; gap: 2.25rem; }
  .order-total-row { grid-area: total; margin-top: 2rem; }
  .order-schedule { grid-area: schedule; }
  .tank-row { grid-template-columns: clamp(120px, 11vw, 150px) 1fr; gap: 1.5rem; }

  #to-schedule, #tanks-hint, .back-link { display: none; }
  .order-total {
    padding: .7rem 1.8rem; border-radius: 24px; background: #fff;
    box-shadow: 0 1px 4px rgba(72, 39, 29, .16);
  }

  /* "Schedule Delivery" becomes the box's title bar */
  .schedule-title {
    margin: 0; padding: .55rem 1rem;
    border: 2.5px solid var(--brown); border-bottom: 0; border-radius: 6px 6px 0 0;
    background: #ddd1c9; font-size: 1.45rem;
  }
  .schedule-box { border-radius: 0 0 6px 6px; }
  .schedule-bar { background: #e4d9d2; }
  .slot-list { max-height: clamp(190px, 30vh, 360px); }
  .slot { padding: .55rem 1rem; }

  /* keep the whole order screen inside one laptop screen */
  .order-page { padding-top: 1rem; }
  .order-grid { margin-top: 1rem; }
  .frequency { margin-top: .8rem; }
  .schedule-summary { margin-top: .7rem; padding: .55rem .9rem; font-size: .92rem; }
  .summary-when { font-size: .95rem; }
  .order-schedule > .btn { margin-top: .8rem; }
}

/* =========================================================
   CHECKOUT + CONFIRMATION
   ========================================================= */
.checkout-page { max-width: 1100px; margin: 0 auto; padding: 1.25rem var(--page-pad) 3rem; }
.checkout-page > .back-link { text-decoration: none; }
.checkout-title { margin-top: .5rem; font: 800 clamp(2.2rem, 9vw, 3.5rem)/1.05 var(--font-head); }
.checkout-h2 { padding: 0; font: 800 1.35rem/1.2 var(--font-head); }
.checkout-empty { margin-top: 1.5rem; display: grid; gap: 1.25rem; justify-items: start; font-weight: 600; }

.checkout-grid { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.checkout-summary {
  align-self: start; padding: 1.1rem 1.25rem 1.25rem;
  background: var(--paper); border: 1.5px solid var(--brown); border-radius: 18px; box-shadow: var(--hard-shadow);
}
.summary-lines { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: .9rem 0 0; font-variant-numeric: tabular-nums; }
.summary-lines dt, .summary-lines dd { margin: 0; font-weight: 600; }
.summary-lines dd { text-align: right; }
.summary-lines .summary-discount { color: var(--red-press); }
.summary-lines .summary-total { padding-top: .55rem; border-top: 1.5px solid var(--brown); font: 800 1.2rem/1.2 var(--font-head); }
.summary-pickup { margin-top: 1rem; font: 700 1.02rem/1.35 var(--font-head); }
.summary-arrival { margin-top: .3rem; font-weight: 600; line-height: 1.45; }
.summary-hold { margin-top: .6rem; font-size: .92rem; font-weight: 600; color: var(--brown-soft); }
.summary-hold a { font-weight: 700; color: var(--red-press); }

.checkout-form { display: grid; gap: 1.75rem; }
.checkout-section { display: grid; gap: 1rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.checkout-section .field-label { font-size: 1.05rem; }
.checkout-notes { height: auto; min-height: 4.5rem; }
.promo-row { display: flex; gap: .75rem; align-items: center; }
.promo-row .text-input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-row .btn { flex: none; padding: .8rem 1.4rem; }
.promo-status:empty { display: none; }
.promo-status { font-weight: 700; font-size: .95rem; }
.promo-status--ok { color: #1f6b3a; }
.promo-status--error { color: var(--red-press); }
.checkout-agree { font-size: .92rem; font-weight: 600; line-height: 1.5; }
.checkout-agree a { font-weight: 700; }
.checkout-pay { justify-self: start; }
.checkout-secure { display: flex; align-items: center; gap: .5rem; margin-top: -.9rem; font-size: .88rem; font-weight: 600; color: var(--brown-soft); }
.checkout-secure svg { flex: none; width: 1.1rem; height: 1.1rem; }

@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 3rem; }
  .checkout-summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.25rem); }
  .checkout-form { grid-column: 1; grid-row: 1; }
}

.done-page { max-width: 40rem; }
.done-card { margin-top: 1.5rem; padding: 1.5rem 1.4rem 1.6rem; background: var(--paper); border: 1.5px solid var(--brown); border-radius: 20px; box-shadow: var(--hard-shadow); }
.done-card .checkout-title { margin-top: 0; }
.done-lead { margin-top: .6rem; font-weight: 600; font-size: 1.05rem; }
.done-number-label { margin-top: 1.4rem; font: 400 1.2rem/1 var(--font-cond); letter-spacing: .08em; }
.done-number { font: 800 clamp(2rem, 9vw, 2.6rem)/1.1 var(--font-head); letter-spacing: .02em; }
.done-outside { margin-top: .8rem; padding: .6rem .8rem; border-radius: 12px; background: #fff1bf; font-weight: 700; }
.done-email { margin-top: .9rem; font-weight: 600; line-height: 1.5; }
.done-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.4rem; }
#done-retry { margin-top: 1.25rem; }

/* =========================================================
   ACCOUNT
   ========================================================= */
.account-page { max-width: 52rem; margin: 0 auto; padding: 1.5rem var(--page-pad) 3rem; }
.account-loading { font-weight: 700; color: var(--brown-soft); }
.account-lead { margin-top: .6rem; font-weight: 600; line-height: 1.5; }
.account-small { margin-top: .5rem; font-size: .95rem; font-weight: 600; line-height: 1.5; color: var(--brown); }
.account-form { display: grid; gap: 1rem; margin-top: 1.25rem; max-width: 28rem; }
.account-form .btn { justify-self: start; }
.account-signin .form-status { max-width: 28rem; margin-top: 1rem; }
.google-wrap { margin-top: 1.5rem; max-width: 28rem; }
.or-line { position: relative; margin-top: 1.25rem; text-align: center; font-weight: 700; color: var(--brown-soft); }
.or-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid rgba(72, 39, 29, .25); }
.or-line span { position: relative; padding: 0 .75rem; background: var(--cream); }

.account-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.account-card {
  margin-top: 1.25rem; padding: 1.1rem 1.25rem 1.3rem;
  background: var(--paper); border: 1.5px solid var(--brown); border-radius: 18px; box-shadow: var(--hard-shadow);
}
.account-grid .account-card { margin-top: 0; }
.credit-amount { margin-top: .4rem; font: 800 2.4rem/1 var(--font-head); }
.refer-code-label { margin-top: 1rem; font: 400 1.15rem/1 var(--font-cond); letter-spacing: .08em; }
.refer-code { font: 800 clamp(1.9rem, 8vw, 2.4rem)/1.1 var(--font-head); letter-spacing: .04em; }
.refer-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .9rem; }
.account-orders { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.account-order { padding: .7rem .85rem; border: 1.5px solid var(--brown); border-radius: 12px; background: #fff; }
.account-order p { line-height: 1.45; }
.account-order-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.account-cancel { display: inline-block; margin-top: .35rem; font-weight: 700; }
.account-empty { font-weight: 600; }
.account-empty a { font-weight: 700; }
.account-home > .btn-outline { margin-top: 1.5rem; }
.tag { padding: .25rem .6rem; border: 1.5px solid var(--brown); border-radius: var(--pill); font: 700 .78rem/1 var(--font-head); white-space: nowrap; }
.tag--done { background: #1f6b3a; border-color: #1f6b3a; color: #fff; }
.tag--muted { border-color: #b9aaa1; color: #8a7a71; }
@media (min-width: 760px) { .account-grid { grid-template-columns: 1fr 1.6fr; } }

/* Checkout additions */
.checkout-account { margin-top: .6rem; font-weight: 600; }
.checkout-account a { font-weight: 700; }
.credit-option {
  display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem;
  border: 1.5px solid var(--brown); border-radius: 14px; background: var(--paper); font-weight: 600; cursor: pointer;
}
.credit-option input { width: 1.25rem; height: 1.25rem; accent-color: var(--red); }

/* Tax + repeat deliveries */
.summary-tax { margin-top: .5rem; font-size: .88rem; font-weight: 600; color: var(--brown-soft); }
.summary-repeat { margin-top: .6rem; padding: .55rem .7rem; border-radius: 10px; background: #f2e9e3; font-size: .92rem; font-weight: 600; line-height: 1.45; }
.repeat-signin { display: grid; gap: .8rem; justify-items: start; padding: 1rem 1.1rem; border: 2px solid var(--red); border-radius: 14px; background: var(--paper); line-height: 1.5; }
.reminder-option span { font-weight: 600; }
.done-repeat { margin-top: .8rem; padding: .6rem .8rem; border-radius: 12px; background: #f2e9e3; font-weight: 600; line-height: 1.45; }
.repeat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .75rem; }
.repeat-select {
  padding: .55rem .9rem; border: 1.5px solid var(--brown); border-radius: var(--pill);
  background: var(--paper); color: var(--brown); font: 700 .9rem/1 var(--font-head);
}

/* =========================================================
   POP-UPS ("Are you still there?", tank requirements)
   ========================================================= */
.hs-modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.25rem;
  background: rgba(42, 20, 13, .55);
}
.hs-modal-card {
  width: 100%; max-width: 30rem; max-height: calc(100vh - 2.5rem); overflow-y: auto;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--cream); border: 2px solid var(--brown); border-radius: 20px; box-shadow: 4px 5px 0 var(--brown);
}
.hs-modal-title { font: 800 clamp(1.4rem, 6vw, 1.7rem)/1.15 var(--font-head); }
.hs-modal-body { margin-top: .8rem; line-height: 1.5; font-weight: 600; font-size: .95rem; }
.hs-modal-card { padding-bottom: 1.25rem; }
.hs-modal-body p + p, .hs-modal-body ul + p { margin-top: .7rem; }
.hs-modal-body ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.hs-modal-body li + li { margin-top: .35rem; }
.hs-modal-body strong { color: var(--red-press); }
.hs-modal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Rush + what to expect (order page) */
.rush-option {
  display: flex; align-items: flex-start; gap: .7rem; max-width: 34rem; margin: 1rem auto 0;
  padding: .75rem .95rem; border: 2px solid var(--brown); border-radius: 14px; background: var(--paper); cursor: pointer;
}
.rush-option[hidden] { display: none; }
.rush-option input { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--red); }
.rush-option:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.rush-text strong { display: block; font: 700 1.02rem/1.25 var(--font-head); }
.rush-text span { display: block; margin-top: .15rem; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.expect-note:empty { display: none; }
.expect-note { max-width: 34rem; margin: .8rem auto 0; font-size: .9rem; font-weight: 600; line-height: 1.5; text-align: center; color: var(--brown-soft); }

/* Checkout additions */
.summary-expect { margin-top: .5rem; font-size: .88rem; font-weight: 600; line-height: 1.45; color: var(--brown-soft); }
.sms-terms { margin-top: -.4rem; font-size: .82rem; line-height: 1.45; }
.agree-option a { font-weight: 700; }
.agree-option { align-items: flex-start; }
.agree-option input { margin-top: .15rem; }

@media (min-width: 960px) {
  .rush-option { margin-top: .8rem; padding: .6rem .9rem; }
  .expect-note { margin-top: .6rem; }
}
.need-time {
  margin-top: .45rem; padding: .35rem .85rem; border: 1.5px solid var(--red); border-radius: var(--pill);
  background: var(--paper); color: var(--red-press); font: 700 .85rem/1 var(--font-head); cursor: pointer;
}
.need-time:hover { background: #fff; }
.frequency-hint { max-width: 34rem; margin: .6rem auto 0; font-size: .9rem; font-weight: 700; text-align: center; color: #1f6b3a; }
.schedule-total { max-width: 34rem; margin: .8rem auto 0; font: 700 1rem/1.35 var(--font-head); text-align: center; }
@media (min-width: 960px) { .schedule-total { display: none; } }
.summary-repeat--tip a { font-weight: 700; }

/* Changing an order (account page) */
.order-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .55rem; }
.order-links .account-cancel { margin-top: 0; }
.edit-panel { margin-top: .9rem; padding: 1rem 1rem 1.1rem; border-top: 1.5px dashed rgba(72, 39, 29, .35); display: grid; gap: .9rem; }
.edit-title { font: 800 1.15rem/1.2 var(--font-head); }
.edit-section { display: grid; gap: .5rem; }
.edit-label { font: 700 .95rem/1.2 var(--font-head); }
.edit-current { font-weight: 700; }
.edit-section > .btn { justify-self: start; }
.edit-picker { display: grid; gap: .6rem; }
.edit-days { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; }
.edit-day {
  flex: none; padding: .45rem .7rem; border: 1.5px solid var(--brown); border-radius: var(--pill);
  background: var(--paper); color: var(--brown); font: 700 .82rem/1 var(--font-head); cursor: pointer;
}
.edit-day.is-on, .edit-time.is-on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.edit-day:disabled, .edit-time:disabled { opacity: .45; cursor: not-allowed; }
.edit-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .4rem; }
.edit-time {
  display: grid; gap: .15rem; padding: .45rem .6rem; text-align: left; cursor: pointer;
  border: 1.5px solid var(--brown); border-radius: 8px; background: #fff; color: var(--brown);
}
.edit-time strong { font: 700 .95rem/1.1 var(--font-head); }
.edit-time span { font-size: .78rem; font-weight: 700; color: var(--red-press); }
.edit-time:disabled span { color: inherit; }
.edit-hold { font-size: .88rem; font-weight: 700; color: var(--brown-soft); }
.edit-qty { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.edit-qty span { min-width: 8rem; }
.edit-step { width: 2.2rem; height: 2.2rem; border: 1.5px solid var(--brown); border-radius: 50%; background: var(--paper); color: var(--brown); font: 700 1.2rem/1 var(--font-head); cursor: pointer; }
.edit-step:disabled { opacity: .35; cursor: default; }
.edit-refund:empty { display: none; }
.edit-refund { font-weight: 700; color: #1f6b3a; }
.edit-notes { min-height: 3.5rem; height: auto; }
.edit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* checkboxes keep their size when the label wraps */
.credit-option input[type="checkbox"] { flex: none; width: 1.25rem; height: 1.25rem; }
.edit-times { grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr)); }
.refer-code--locked { letter-spacing: .3em; color: var(--brown-soft); }
.refer-locked { margin-top: .4rem; font-size: .9rem; font-weight: 700; line-height: 1.45; }
.edit-refund--pay { color: var(--red-press); }
.btn-locked { opacity: .55; cursor: not-allowed; display: inline-flex; align-items: center; gap: .35rem; }
.lock-icon { flex: none; }
.lock-note { color: var(--brown-soft); }
.edit-rush.is-locked { opacity: .6; }
