.orders-screen { background: #f1f4ef; color: #25382f; min-height: 100vh; }
#orders-page { width: min(100% - 24px, 680px); margin: 12px auto 28px; padding: 0 16px 16px; background: #fff; border: 1px solid #dbe4da; border-radius: 14px; }
.orders-header { position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 0; background: #fff; border-bottom: 1px solid #e2e8e0; }
.orders-header h1 { margin: 0; font-size: 1.25rem; text-align: center; }
#orders-back { display: grid; place-items: center; min-height: 44px; color: inherit; font-size: 1.35rem; text-decoration: none; }
.orders-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); gap: 8px; margin-top: 12px; }
.orders-tools > * { min-width: 0; min-height: 44px; padding: 6px 8px; border: 1px solid #d0ddd1; border-radius: 8px; font: inherit; color: inherit; background: #f6f8f5; }
.orders-intro { font-size: .84rem; color: #4c6155; }
#orders-loading:empty, #history-copy-status:empty { display: none; }
#orders-results button { overflow-wrap: anywhere; }
#orders-results .history-status { display: inline-block; margin: 0 6px 3px 0; }
#orders-detail { padding-top: 14px; }
#orders-detail .history-note { white-space: pre-wrap; overflow-wrap: anywhere; }
#orders-page .order-support { margin-top: 14px; }

#orders-results button { grid-template-columns:minmax(0,1fr) 38px; gap:6px 10px; padding:12px; }
.order-row-number { grid-column:1; }
#orders-results button > span:not(.order-view-icon) { grid-column:1; }
.order-view-icon { grid-column:2; grid-row:1 / 3; align-self:center; display:grid; place-items:center; width:38px; height:38px; border:1px solid #d0ddd1; border-radius:7px; }
.order-view-icon svg { width:20px; height:20px; }
.order-note-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.order-note-heading button { font:inherit; padding:5px 8px; border:1px solid #d0ddd1; border-radius:6px; color:#315441; background:#fff; }
#orders-results .order-view-icon{grid-template-columns:1fr;grid-row:auto;grid-column:auto;padding:8px;gap:0;width:36px;height:36px}#orders-results .receive-order{grid-template-columns:1fr;padding:8px;font-size:12px;line-height:1.3;text-align:center}#orders-results .order-history-row .order-row-number{grid-column:auto}
