.orders-header {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 5vw; background: #f3f0e6; border-bottom: 1px solid var(--line);
}
.orders-shell { width: min(1150px, 90vw); margin: 0 auto; padding: 45px 0 65px; }
.orders-shell h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.orders-heading, .sheet-status, .orders-actions {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.orders-actions { justify-content: flex-start; }
.order-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.order-metrics div, .sheet-status, .track-card { background: #f0ede1; border: 1px solid var(--line); padding: 16px; }
.order-metrics strong, .order-metrics span { display: block; }
.order-metrics strong { font: 2rem Georgia, serif; }
.sheet-status h2, .track-card h2 { font: 700 1.2rem/1.25 Arial, sans-serif; letter-spacing: 0; }
.sheet-status p { font-size: .9rem; max-width: 47ch; margin-top: 4px; }
.orders-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--line); }
th { background: #efeee4; }
#more-orders, .demand-link { margin-top: 18px; }
.detail-body { padding: 20px; }
.detail-body p { overflow-wrap: anywhere; }
.edit-fields { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.edit-fields label { display: grid; gap: 4px; }
#detail-status { margin-top: 10px; }
#admin-order { width: min(94vw, 660px); }
.track-card { margin-top: 18px; max-width: 650px; }
.track-card p { margin-top: 6px; }
.demand-summary { margin: 16px 0; }
.demand-progress { width: min(160px, 26vw); accent-color: #535f3e; }
@media (max-width: 550px) {
  .order-metrics { gap: 5px; }
  .order-metrics div { padding: 10px 7px; font-size: .875rem; }
  .orders-header { font-size: .875rem; }
  th, td { padding-inline: 8px; }
}

.inquiry-section { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.inquiry-section h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.inquiry-section > p:not(:empty), #older-golf-enquiries { margin-top: 12px; }
.inquiry-card { margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); background: #f2efe6; }
.inquiry-card summary { cursor: pointer; font-weight: 700; }
.inquiry-card .inquiry-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0; }
.inquiry-card [role="status"]:not(:empty) { margin-top: 7px; }
