/* Finalized Orbitech365 Orders visual pass. Presentation only. */
.od-final-shell{display:grid;gap:14px;max-width:1240px;margin:0 auto}.od-final-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.od-final-head h2{margin:0;color:#172033;font-size:var(--dealer-fs-title,27px);line-height:1.1}.od-final-head p{margin:6px 0 0;color:#6f7a8a;font-size:var(--dealer-fs-emphasis,16px)}.od-head-actions{display:flex;gap:8px;flex-wrap:wrap}.od-head-actions button,.od-filter-actions button,.od-pagination button,.od-view{min-height:34px;border:1px solid #dfe4eb;border-radius:8px;background:#fff;color:#172033;padding:0 12px;font-size:var(--dealer-fs-body,14.5px);font-weight:800}.od-head-actions button.primary,.od-filter-actions button.primary{background:#2737c5;border-color:#2737c5;color:#fff}.od-head-actions button:disabled,.od-view:disabled{opacity:.65}.od-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.od-kpi{background:#fff;border:1px solid #e8ecf2;border-radius:12px;padding:14px;box-shadow:0 5px 18px rgba(23,32,51,.04)}.od-kpi span{display:block;color:#6f7a8a;font-size:var(--dealer-fs-label,13.5px);font-weight:800}.od-kpi strong{display:block;margin-top:7px;font-size:var(--dealer-fs-h1,25px);line-height:1;color:#2737c5}.od-kpi.pending strong{color:#d97706}.od-kpi.confirmed strong,.od-kpi.delivered strong{color:#15803d}.od-kpi.dispatched strong{color:#2563eb}.od-kpi.cancelled strong{color:#dc2626}.od-filter-card{background:#fff;border:1px solid #e8ecf2;border-radius:12px;padding:14px;box-shadow:0 5px 18px rgba(23,32,51,.04)}.od-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.od-filter-grid label{display:grid;gap:5px;color:#515c6c;font-size:var(--dealer-fs-label,13.5px);font-weight:800}.od-filter-grid input,.od-filter-grid select{height:36px;border:1px solid #dfe4eb;border-radius:8px;background:#fff;color:#172033;padding:0 10px;font-size:var(--dealer-fs-body,14.5px);outline:0}.od-filter-grid input:focus,.od-filter-grid select:focus{border-color:#9ca7f2;box-shadow:0 0 0 3px rgba(39,55,197,.08)}.od-filter-grid input:disabled{background:#f7f8fb;color:#8a93a1}.od-filter-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.od-final-tabs{display:flex;gap:5px;overflow-x:auto;border-bottom:1px solid #e8ecf2}.od-final-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 12px;color:#6f7a8a;font-size:var(--dealer-fs-body,14.5px);font-weight:800;white-space:nowrap}.od-final-tabs button.active{color:#2737c5;border-bottom-color:#2737c5}.od-final-tabs span{margin-left:4px;color:inherit}.od-table-wrap{overflow:auto;background:#fff;border:1px solid #e8ecf2;border-radius:12px;box-shadow:0 5px 18px rgba(23,32,51,.04)}.od-table{width:100%;min-width:920px;border-collapse:collapse}.od-table th{padding:11px 12px;background:#f8f9fc;color:#6b7481;text-align:left;font-size:var(--dealer-fs-badge,12.5px);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e8ecf2}.od-table td{padding:12px;border-bottom:1px solid #eef1f5;color:#3f4a5a;font-size:var(--dealer-fs-small,14px);vertical-align:middle}.od-table tbody tr:last-child td{border-bottom:0}.od-table td strong{color:#2455c3}.od-badge,.od-pay{display:inline-flex;align-items:center;border-radius:6px;padding:5px 7px;font-size:var(--dealer-fs-badge,12.5px);font-weight:800;white-space:nowrap}.od-badge.pending{background:#fff4d6;color:#9a6700}.od-badge.confirmed{background:#e9f8ed;color:#18723a}.od-badge.dispatched{background:#e9f2ff;color:#2461b2}.od-badge.delivered{background:#eaf8ef;color:#18723a}.od-badge.cancelled{background:#ffeded;color:#b32626}.od-pay.paid{background:#eaf8ef;color:#18723a}.od-pay.pending{background:#fff2e6;color:#a55316}.od-pay.neutral{background:#f2f4f7;color:#667085}.od-view{min-height:28px;padding:0 9px}.od-pagination{display:flex;justify-content:center;gap:5px}.od-pagination button{min-width:30px;padding:0}.od-pagination button.active{background:#2737c5;border-color:#2737c5;color:#fff;opacity:1}.od-safety-final{padding:10px 12px;border:1px dashed #f1b486;border-radius:10px;background:#fff8f3;color:#7a451f;font-size:var(--dealer-fs-label,13.5px);line-height:1.5}.od-empty{padding:26px;text-align:center;color:#6f7a8a;font-size:var(--dealer-fs-body-lg,15px)}
@media(max-width:1050px){.od-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.od-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.od-final-head{flex-direction:column}.od-head-actions{width:100%}.od-head-actions button{flex:1}.od-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.od-filter-grid{grid-template-columns:1fr}.od-filter-actions button{flex:1}.od-kpi strong{font-size:var(--dealer-fs-h2,22px)}}

/* ---- LIVE Order History + Order Detail (OrbitechPassiveOrderHistory, .oh-*). Presentation only; same tokens as the finalized Orders pass above. ---- */
.oh-shell{display:grid;gap:14px;max-width:1240px;margin:0 auto}.oh-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.oh-eyebrow{margin:0 0 5px;color:#f26a21;font-size:var(--dealer-fs-label,13.5px);font-weight:900;letter-spacing:.09em;text-transform:uppercase}.oh-head h2{margin:0;color:#172033;font-size:var(--dealer-fs-title,27px);line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere}.oh-sub{margin:6px 0 0;color:#6f7a8a;font-size:var(--dealer-fs-emphasis,16px)}.oh-head-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.oh-pill{display:inline-flex;align-items:center;border:1px solid #e8ecf2;border-radius:999px;background:#fff;color:#515c6c;padding:6px 10px;font-size:var(--dealer-fs-label,13.5px);font-weight:800;white-space:nowrap}
.oh-table-wrap{overflow:auto;background:#fff;border:1px solid #e8ecf2;border-radius:12px;box-shadow:0 5px 18px rgba(23,32,51,.04)}.oh-list,.oh-lines{width:100%;min-width:760px;border-collapse:collapse}.oh-list th,.oh-lines th{padding:11px 12px;background:#f8f9fc;color:#6b7481;text-align:left;font-size:var(--dealer-fs-badge,12.5px);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e8ecf2}.oh-list td,.oh-lines td{padding:12px;border-bottom:1px solid #eef1f5;color:#3f4a5a;font-size:var(--dealer-fs-small,14px);vertical-align:middle}.oh-list tbody tr:last-child td,.oh-lines tbody tr:last-child td{border-bottom:0}.oh-row:hover td{background:#fbfcfe}.oh-th-actions{width:1%}
.oh-num{display:block;color:#2455c3;font-weight:800}.oh-summary{display:block;margin-top:3px;color:#8a93a1;font-size:var(--dealer-fs-caption,13px)}.oh-lines td strong{display:block;color:#172033}.oh-lines td small{display:block;margin-top:3px;color:#8a93a1;font-size:var(--dealer-fs-caption,13px)}.oh-date,.oh-count,.oh-qty,.oh-total,.oh-money{white-space:nowrap}.oh-total,.oh-money{font-variant-numeric:tabular-nums}.oh-total{color:#172033;font-weight:800}.oh-actions{text-align:right}.oh-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.oh-badge{display:inline-flex;align-items:center;border-radius:6px;padding:5px 7px;font-size:var(--dealer-fs-badge,12.5px);font-weight:800;white-space:nowrap;background:#f2f4f7;color:#667085}.oh-badge.pending{background:#fff4d6;color:#9a6700}.oh-badge.quote{background:#e9f2ff;color:#2461b2}.oh-badge.negotiating{background:#f1e9ff;color:#6b3fb2}.oh-badge.confirmed{background:#e9f8ed;color:#18723a}.oh-badge.dispatched{background:#e9f2ff;color:#2461b2}.oh-badge.delivered{background:#eaf8ef;color:#18723a}.oh-badge.cancelled{background:#ffeded;color:#b32626}.oh-badge.neutral{background:#f2f4f7;color:#667085}.oh-badge.decide{background:#fff2e6;color:#a55316}.oh-badge.progress{background:#e9f2ff;color:#2461b2}.oh-badge.done{background:#eaf8ef;color:#18723a}
.oh-open,.oh-more,.oh-back,.oh-retry{min-height:30px;border:1px solid #dfe4eb;border-radius:8px;background:#fff;color:#172033;padding:0 11px;font-size:var(--dealer-fs-label,13.5px);font-weight:800;cursor:pointer}.oh-open:hover,.oh-more:hover,.oh-back:hover,.oh-retry:hover{border-color:#c9d1dc}.oh-more{min-height:34px;padding:0 14px}.oh-footer{display:flex;justify-content:center}.oh-detail{gap:12px}.oh-detail-top{display:flex}
.oh-chip{margin-left:6px}.oh-quote-banner{margin:0}.oh-commercial{display:grid;gap:10px}.oh-commercial h3{margin:0;font-size:var(--dealer-fs-subhead,16.5px);color:#172033}.oh-lines td small{display:block;margin-top:3px;color:#8a93a1;font-size:var(--dealer-fs-caption,13px)}.oh-quote-history{margin:0;padding:12px 16px 12px 30px;background:#fff;border:1px solid #e8ecf2;border-radius:12px;color:#4a5568;font-size:var(--dealer-fs-body,14.5px);line-height:1.7}.oh-quote-when{color:#8a93a1;margin-right:4px}
.oh-empty,.oh-loading,.oh-error{margin:0;padding:26px;text-align:center;color:#6f7a8a;font-size:var(--dealer-fs-body-lg,15px);background:#fff;border:1px solid #e8ecf2;border-radius:12px}.oh-error{color:#7a451f;border-style:dashed;border-color:#f1b486;background:#fff8f3}.oh-error .oh-retry{margin-left:8px}
.oh-totals-card{display:grid;gap:10px;justify-items:end}.oh-totals{display:grid;grid-template-columns:auto auto;gap:6px 24px;margin:0;padding:14px 16px;min-width:280px;background:#fff;border:1px solid #e8ecf2;border-radius:12px;box-shadow:0 5px 18px rgba(23,32,51,.04)}.oh-totals dt{color:#6f7a8a;font-size:var(--dealer-fs-label,13.5px);font-weight:800}.oh-totals dd{margin:0;text-align:right;color:#172033;font-size:var(--dealer-fs-body,14.5px);font-weight:800;font-variant-numeric:tabular-nums}.oh-totals .oh-grand{padding-top:6px;border-top:1px solid #e8ecf2;color:#172033;font-size:var(--dealer-fs-emphasis,16px)}.oh-note{margin:0;padding:10px 12px;border:1px dashed #f1b486;border-radius:10px;background:#fff8f3;color:#7a451f;font-size:var(--dealer-fs-label,13.5px);line-height:1.5;justify-self:stretch}
@media(max-width:820px){.oh-list,.oh-lines{min-width:640px}}
@media(max-width:680px){.oh-head{flex-direction:column}.oh-head h2{font-size:var(--dealer-fs-h2-lg,23px)}.oh-totals-card{justify-items:stretch}.oh-totals{min-width:0}}
.oh-decision{display:grid;gap:8px;padding:10px 12px;border:1px solid #dfe4eb;border-radius:10px;background:#f7f9fc;color:#172033;font-size:var(--dealer-fs-label,13.5px);justify-items:start}
.oh-decision label{display:grid;gap:4px;font-weight:700}
.oh-decision input,.oh-decision select{min-height:30px;border:1px solid #c9d1dc;border-radius:8px;padding:0 8px;font-size:var(--dealer-fs-body,14.5px)}
