.order-tabs{--tab:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;padding:5px;background:#eaeef0;border-radius:16px;margin:4px 0 24px;isolation:isolate}.order-tab-slider{position:absolute;left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/3);background:#fff;border-radius:12px;box-shadow:0 2px 5px #163e3010;transform:translateX(calc(var(--tab)*100%));transition:transform .3s cubic-bezier(.16,1,.3,1);z-index:-1}.order-tabs button{min-height:44px;border:0;background:transparent;color:#626c73;font-size:14px;font-weight:600;border-radius:12px}.order-tabs button[aria-selected=true]{color:#14303e}.order-list{display:grid;gap:16px}.order-history-card{background:#fff;border:1px solid #dde2e5;border-radius:20px;overflow:hidden}.order-card-open{display:flex;align-items:center;gap:12px;width:100%;padding:18px 16px;border:0;background:transparent;text-align:left;color:var(--text)}.order-card-open:hover{background:#f7f9fa}.order-card-open>img{width:62px;height:72px;object-fit:cover;border-radius:14px;flex:none}.order-card-body{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.order-card-meta{font-size:12px;color:var(--muted)}.order-card-body>strong{font-size:18px;line-height:1.2}.order-card-service{font-size:14px;color:#545f67;line-height:1.4}.order-card-service b{font-weight:600;color:var(--text);white-space:nowrap}.order-card-open>.icon{width:18px;height:18px;flex:none;color:var(--teal)}.order-card-footer{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:2px}.order-status{font-size:12px;background:#fff0cd;color:#715014;padding:6px 9px;border-radius:9px}.order-status.complete{background:#e0eaf0;color:#244256}.job-rating{display:inline-flex;gap:4px;align-items:center;font-size:12px;color:#76551c;white-space:nowrap}.job-rating .icon{width:14px;height:14px;fill:#f7dc99}.job-unrated{font-size:12px;color:#687177}.order-timeline{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 0;padding:0 8px 20px;gap:0}.order-timeline li{position:relative;text-align:center;min-width:0}.order-timeline li:before{content:'';position:absolute;height:2px;background:#e2e6e8;top:16px;left:-50%;width:100%;z-index:0}.order-timeline li:first-child:before{display:none}.order-timeline li.done:before,.order-timeline li.current:before{background:#9ab8cb}.order-timeline li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;margin:0 auto 9px;position:relative;background:#f2f4f5;color:#788187;border:3px solid #fff;box-shadow:0 0 0 1px #e0e5e8;font-size:12px}.order-timeline li.done>span{background:#dce7ee;color:#244459}.order-timeline li.current>span{background:var(--teal);color:white;box-shadow:0 0 0 1px var(--teal)}.order-timeline .icon{width:16px;height:16px}.order-timeline small{display:block;font-size:11px;line-height:1.4;color:#687177;padding:0 3px}.order-timeline .current small,.order-timeline .done small{color:#253d4d}.order-empty{padding:40px 16px;text-align:center;color:var(--muted)}
.receipt-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}.receipt-header h1{font-size:20px;margin:0}.receipt-header .icon-button{color:var(--teal);flex:none}.receipt-id{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid var(--line);gap:8px}.receipt-id>span{font-size:20px;font-weight:650}.receipt-id small{font-size:12px;color:var(--muted)}.receipt-progress{padding:24px 0 4px}.receipt-progress h2{font-size:20px;margin:0 0 24px}.receipt-agent{display:flex;align-items:center;gap:14px;background:#f0f4f6;padding:18px;border-radius:18px;margin:6px 0 26px}.receipt-agent>img{width:58px;height:58px;border-radius:50%;object-fit:cover}.receipt-agent>div{flex:1;min-width:0}.receipt-agent h2{font-size:18px;margin:0 0 7px}.receipt-agent p{font-size:14px;overflow-wrap:anywhere;margin:8px 0 0}.receipt-section{margin:0 0 26px;padding-bottom:22px;border-bottom:1px solid var(--line)}.receipt-section h2{font-size:18px;margin:0 0 16px}.receipt-section p{font-size:14px;color:#525e66;line-height:1.6;margin:0 0 12px}.receipt-pair{display:flex;align-items:baseline;justify-content:space-between;gap:16px;font-size:14px;padding:8px 0}.receipt-pair>span{color:#656f76;flex:1}.receipt-pair>strong{text-align:right;max-width:60%;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.receipt-total{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.receipt-total strong{font-size:20px;font-variant-numeric:tabular-nums}.receipt-photo{height:150px;background-position:center top;background-size:140% auto;border-radius:14px;margin-top:16px}.receipt-action{width:100%;margin:0 0 14px}#orderReceipt{padding-bottom:40px}
@media(max-width:360px){.order-card-open{gap:10px;padding:16px 12px}.order-card-open>img{width:48px;height:60px}.order-card-body>strong{font-size:16px}.order-card-service{font-size:12px}.order-timeline{padding-left:4px;padding-right:4px}.order-timeline small{font-size:10px}.receipt-pair{gap:10px}.receipt-header h1{font-size:18px}}
@media(prefers-reduced-motion:reduce){.order-tab-slider{transition:none}}
.order-timeline li>span{z-index:1}.order-timeline small{font-size:12px}.order-tabs button:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}
@media(max-width:360px){.order-timeline small{font-size:11px}}
#orderReceipt{background:#f5f7f8}.receipt-progress,.receipt-section{background:#fff;border:1px solid #e1e6e9;border-radius:20px;padding:20px;margin:0 0 16px}.receipt-progress{margin-top:20px}.receipt-progress .order-timeline{padding:0;margin-bottom:4px}.receipt-agent{border:1px solid #dce3e8;margin:0 0 16px}.receipt-section h2{margin-bottom:14px}.receipt-id{border:0;padding-bottom:0}.receipt-section:last-of-type{margin-bottom:24px}

/* Give order surfaces a clear edge against the page, with restrained depth. */
#orders,#orderReceipt{background:#edf0f2}
.order-history-card{background:#fff;border-color:#c8d2d8;box-shadow:0 5px 14px rgba(24,61,43,.08);margin-bottom:2px}
.order-card-open:hover{background:#f3f6f8}
.receipt-progress,.receipt-section{border-color:#cbd4da;box-shadow:0 4px 12px rgba(24,61,43,.07)}
.receipt-agent{background:#e2eaef;border-color:#b8c8d2;box-shadow:0 4px 12px rgba(24,61,43,.06)}
.order-tabs{background:#dce3e7;border:1px solid #cfd7dd}
.order-tab-slider{box-shadow:0 2px 6px rgba(24,61,43,.12)}
