.order-page { padding-top: var(--nav-h, 68px); }
.order-page [hidden] { display: none !important; }
.order-content { max-width: 1160px; padding-block: 44px 80px; }
.order-intro { margin-bottom: 32px; }
.order-intro h1 { margin: 0; font-size: 2.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.order-intro h1 + p { margin: 12px 0 0; color: var(--muted); }
.order-layout { display: grid; grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr); align-items: start; gap: 24px; }
.order-search, .order-detail-column { min-width: 0; }
.order-layout h2 { margin: 0; font-size: 1.25rem; font-weight: 650; line-height: 1.4; }
.order-description { margin: 8px 0 18px; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
#lookup-form, .order-guide, .order-result, .phone-orders {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--yh-paper-hi);
}
#lookup-fields { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
#lookup-fields > label { margin-bottom: 8px; font-size: 14px; }
.order-input-hint { margin-left: 8px; color: var(--muted); font-size: 12px; }
#lookup-fields > input { width: 100%; min-width: 0; min-height: 50px; margin-bottom: 24px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); font-size: 16px; }
#lookup-fields > input::placeholder { color: #797b74; }
#lookup-fields > button { width: 100%; }
.order-page :is(button:disabled, input:disabled) { cursor: wait; opacity: .65; }
.order-feedback { min-height: 1.75em; margin: 12px 0 0; font-size: 14px; color: var(--accent); overflow-wrap: anywhere; }
.order-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.order-recent { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.order-recent h2 { font-size: 18px; }
.order-recent .order-description { margin: 8px 0 16px; font-size: 14px; }
.order-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.order-contact h2 { margin-bottom: 12px; font-size: 18px; }
.order-contact a { display: inline-block; max-width: 100%; color: var(--accent); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.order-contact p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.order-text-button { min-height: 44px; padding: 7px 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; }
.order-text-button:hover { color: var(--accent); }
.recent-order-list { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.recent-order-list > button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); text-align: left; font-size: 14px; }
.recent-order-list > button:hover { color: var(--accent); }
.recent-order-list > button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.recent-order-list time { color: var(--muted); font: 12px/1.4 var(--font-mono); white-space: nowrap; }
.phone-orders { margin-bottom: 32px; scroll-margin-top: calc(var(--nav-height) + 24px); }
.phone-orders h2 { font-size: 19px; }
.phone-orders .order-description { margin: 8px 0 16px; font-size: 14px; }
.order-match-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.phone-order-list { max-height: 296px; overflow-y: auto; overscroll-behavior: contain; }
.phone-order-list > button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 72px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); text-align: left; font-size: 14px; }
.phone-order-list > button:first-child { border-top: 1px solid var(--line); }
.phone-order-list > button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.phone-order-list > button:hover { color: var(--accent); }
.phone-order-list .order-match-main, .phone-order-list .order-match-summary { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.phone-order-list .order-match-summary { align-items: flex-end; white-space: nowrap; }
.phone-order-list small { color: var(--muted); font-size: 12px; }
.order-guide { min-height: 168px; }
.order-guide p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.order-result { scroll-margin-top: calc(var(--nav-h, 68px) + 16px); }
.order-state { padding: 4px 10px; border: 1px solid var(--line); color: var(--accent); font-size: 14px; white-space: nowrap; }
.order-state[data-status="cancelled"] { color: var(--muted); }
.order-state[data-status="refunded"] { color: var(--muted); }
.order-state[data-status="received"] { color: #23603e; }
.fulfillment-panel { margin-top: 24px; padding-block: 22px; border-block: 1px solid var(--line); }
.fulfillment-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fulfillment-heading h3 { margin: 0; font-size: 18px; }
#fulfillment-stage { color: var(--accent); font-size: 14px; font-weight: 700; }
.fulfillment-meter { height: 5px; border-radius: 3px; background: #dfdcd5; margin: 24px 0 12px; overflow: hidden; }
.fulfillment-meter>span { display: block; height: 100%; background: var(--accent); transition: width .2s ease; }
.order-progress { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.order-progress li { padding: 0; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.6; }
.order-progress .is-complete { color: var(--ink); }
.order-progress [aria-current="step"] { color: var(--accent); font-weight: 700; }
.fulfillment-dates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 25px 0 0; }
.fulfillment-dates dt { color: var(--muted); font-size: 13px; margin-bottom: 5px; }
.fulfillment-dates dd { margin: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fulfillment-note { color: var(--ink); font-size: 14px; line-height: 1.8; margin: 20px 0 0; overflow-wrap: anywhere; }
.fulfillment-history { margin-top: 20px; }
.fulfillment-history summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 6px 0; min-height: 34px; }
.fulfillment-history ol { list-style: none; margin: 15px 0 0; padding: 0; }
.fulfillment-history li { padding: 12px 0 12px 17px; border-left: 1px solid var(--line); position: relative; }
.fulfillment-history li:before { content: ''; position: absolute; width: 7px; height: 7px; left: -4px; top: 19px; border-radius: 50%; background: var(--accent); }
.fulfillment-history li>div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fulfillment-history strong { font-size: 13px; font-weight: 600; }
.fulfillment-history time { color: var(--muted); font-size: 12px; text-align: right; }
.fulfillment-history p { font-size: 13px; line-height: 1.7; margin: 5px 0 0; overflow-wrap: anywhere; }
.order-facts, #order-shipping dl { margin: 24px 0 0; }
.order-result .order-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.order-facts > div, #order-shipping dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.order-facts dt, #order-shipping dt { color: var(--muted); font-size: 14px; }
.order-facts dd, #order-shipping dd { min-width: 0; margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.order-facts code { font: 13px/1.8 var(--font-mono); overflow-wrap: anywhere; }
.order-facts .order-money { font: 500 22px/1.25 var(--font-display); font-variant-numeric: tabular-nums; }
#order-shipping { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
#order-shipping h3 { margin: 0; font-size: 19px; font-weight: 500; }
#order-shipping .order-shipping-note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
#order-shipping .order-shipping-tracking { font: 14px/1.8 var(--font-mono); overflow-wrap: anywhere; }
#order-shipping .order-shipping-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
#order-shipping .order-shipping-feedback { min-height: 1.75em; margin: 10px 0 0; color: var(--accent); font-size: 14px; overflow-wrap: anywhere; }
.order-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.order-result-actions > *, .order-aftercare .btn { min-height: 44px; }
.order-aftercare { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h, 68px) + 16px); }
.order-aftercare h3 { margin: 0 0 10px; font-size: 1.125rem; }
.order-aftercare p { margin: 8px 0 12px; line-height: 1.65; }
.order-aftercare p:empty, .order-feedback:empty { display: none; }
.order-feedback[data-tone="success"] { color: #23603e; }
.order-inline-confirm { margin-top: 12px; padding: 12px; background: var(--yh-paper); }
.order-inline-confirm .btn { margin-bottom: 4px; }
.order-invoice-status { overflow-wrap: anywhere; }
#invoice-editor summary { padding-block: 10px; cursor: pointer; color: var(--ink); font-weight: 600; }
#invoice-form { display: grid; max-width: 36rem; gap: 8px; margin-top: 12px; }
#invoice-form > :is(input, select), #invoice-tax-number {
  width: 100%; min-height: 44px; min-width: 0; margin-bottom: 6px; padding: 8px 10px;
  border: 1px solid var(--yh-line-strong); border-radius: 0; background: #fff; color: var(--ink); font: inherit;
}
#invoice-tax-row label { display: block; margin-bottom: 8px; }
#invoice-form > button { justify-self: start; }
.order-link-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.order-refunds { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-refunds h3 { margin: 0; font-size: 18px; }
#refunds-state { color: var(--accent); font-size: 14px; }
.refund-records { list-style: none; margin: 0; padding: 0; }
.refund-records li { padding: 16px 0; border-top: 1px solid var(--line); }
.refund-records li > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.refund-records li > div > span { font-variant-numeric: tabular-nums; }
.refund-records time { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.refund-records p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
#refund-editor summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-weight: 600; }
#refund-form { display: grid; gap: 8px; }
#refund-form :is(input, textarea) { width: 100%; min-width: 0; min-height: 44px; margin-bottom: 10px; padding: 10px; border: 1px solid var(--yh-line-strong); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
#refund-form textarea { resize: vertical; }
#refund-form button { justify-self: start; }
#refund-form :is(input, textarea):focus-visible, #refund-editor summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
  .order-result .order-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .order-content { padding-block: 32px 64px; }
  .order-intro { margin-bottom: 24px; }
  .order-intro h1 { font-size: 2rem; }
  .order-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .order-intro h1 + p { font-size: 15px; }
  .order-page .topbar nav > a:first-child { display: none; }
  .order-result-actions > button, #order-shipping .order-shipping-actions > :is(button,a) { flex: 1 1 140px; justify-content: center; }
}
@media (max-width: 359px) {
  .order-facts > div, #order-shipping dl > div { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .order-section-heading { gap: 12px; }
  .recent-order-list time { font-size: 11px; }
  .fulfillment-dates { grid-template-columns: 1fr; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) { .fulfillment-meter>span { transition: none; } }
