.auth-tabs{display:flex;gap:6px;margin:12px 0;flex-wrap:wrap}.auth-tabs button{flex:1;min-height:40px;border:1px solid #bda754;border-radius:6px;background:#fff9df;padding:6px;font:inherit;font-size:12px}.auth-tabs button.active{background:var(--ink);color:white}.account-form{display:grid;gap:12px}.account-form label{display:grid;gap:5px;font-size:12px}.account-form input{min-width:0;width:100%;border:2px solid var(--ink);border-radius:7px;padding:11px;font-size:16px;background:white;min-height:44px}.account-form .verification-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.account-form .verification-row button{width:auto;white-space:normal;max-width:140px;font-size:11px}.account-form .auth-help{font-size:12px;line-height:1.6;color:#665824}.login-dialog{max-height:calc(100dvh - 35px);overflow:auto}.sale-time{font-size:12px;font-weight:700;margin:7px 0;color:#71550b}.sale-note{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.product-card.closed{background:#f0f1f3;border-color:#d3d5da;color:#777}.product-card.closed .product-art{filter:grayscale(1);opacity:.48}.product-card.closed .product-art:after{display:none}.sale-wait{display:block;border:1px solid #d0d3db;border-radius:6px;background:#eceef1;padding:9px 12px;font-size:12px;color:#6b7280}.product-art.previewable{cursor:zoom-in}.order-photo{display:block;width:86px;height:86px;flex:0 0 86px;padding:3px;background:#fff;border:1px solid var(--line);border-radius:7px;cursor:pointer}.order-photo img{width:100%;height:100%;object-fit:contain}.order-photo.placeholder{display:grid;place-items:center;font-size:28px}.order-item-row>div,.detail-item>div{min-width:0;overflow-wrap:anywhere}.order-item-row strong,.detail-item strong{font-size:13px;line-height:1.5}.photo-dialog{width:min(900px,95vw);height:min(86dvh,900px);padding:48px 12px 14px;display:flex;align-items:center;justify-content:center}.photo-dialog img{max-width:100%;max-height:100%;object-fit:contain}.photo-preview{max-width:100%;max-height:170px;object-fit:contain;display:block;margin:8px auto;border-radius:8px}.upload-selection{display:block;width:100%;padding:12px;border:2px dashed #bca85a;background:#fffaf0;border-radius:8px;font-size:16px}.notice-entry{position:fixed;right:88px;bottom:25px;z-index:26;min-width:48px;height:48px;border:2px solid var(--ink);background:white;border-radius:9px;box-shadow:3px 3px 0 var(--yellow);font-size:21px}.notice-entry em{position:absolute;right:-5px;top:-8px;min-width:20px;padding:3px;background:#d74040;color:white;border-radius:12px;font-size:11px;font-style:normal}.payment-reminder-banner{position:fixed;left:50%;transform:translateX(-50%);top:max(12px,env(safe-area-inset-top));width:min(560px,calc(100% - 24px));z-index:39;border:2px solid #d9ae33;border-radius:10px;background:#fff5cf;box-shadow:0 5px 30px #0003;padding:15px 45px 15px 15px;font-size:14px;line-height:1.6}.payment-reminder-banner[hidden]{display:none}.payment-reminder-banner .banner-close{position:absolute;right:8px;top:8px;border:0;background:transparent;font-size:25px}.payment-reminder-banner .pixel-btn{margin-top:8px}.notification-list{display:grid;gap:10px}.notification-card{border:1px solid var(--line);border-radius:9px;padding:13px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.notification-card.unread{background:#fff5d0;border-left:4px solid #e8b632}.notification-card small{color:var(--muted)}.notification-card p{margin:5px 0}.notification-card button{margin-top:6px}.payment-state{padding:12px;border:1px solid #dab951;border-radius:8px;line-height:1.7;background:#fff8dc;font-size:13px}.payment-state.review{background:#eef5ff;border-color:#b2c5e5}.order-money{font-size:14px;font-weight:800}.photo-viewer{z-index:70}.fee-row{font-size:12px}.file-state{font-size:12px;line-height:1.6}.cart-blocked{color:#a6382b;font-size:12px}.registration-required{font-size:12px;line-height:1.6;background:#fff;padding:9px;border-radius:6px}
@media(max-width:780px){.notice-entry{right:77px;bottom:74px}.email-login-grid,.account-form .verification-row{min-width:0}.login-dialog{padding:18px}.login-dialog h1{line-height:1.3;font-size:25px}.order-photo{width:78px;height:78px;flex-basis:78px}.detail-item{align-items:flex-start;flex-wrap:wrap}.order-item-total{white-space:nowrap}.order-item-row{flex-wrap:wrap}.account-form input{font-size:16px!important}.notification-card .pixel-btn{width:100%}.chat-panel{max-height:calc(100dvh - 145px);overflow-y:auto}.payment-reminder-banner{top:max(8px,env(safe-area-inset-top));font-size:13px}}
/* Applied by the touch-phone detector, including landscape and new dialogs.
   pan-x pan-y permits single-finger scrolling without enabling pinch zoom. */
html.mobile-viewport-locked,html.mobile-viewport-locked *{touch-action:pan-x pan-y!important}
html.mobile-viewport-locked{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html.mobile-viewport-locked input,html.mobile-viewport-locked textarea,html.mobile-viewport-locked select,html.mobile-viewport-locked [contenteditable]{font-size:16px!important;line-height:1.35}
html.mobile-viewport-locked input::file-selector-button{font-size:16px}
.existing-account-help{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:0 0 12px;color:#665824}
/* Readability baseline for the customer audience. */
body{font-size:15px;color:#24304a}
body p,body small,body .field-help,body .dialog-sub,body .sale-note,body .request-meta-lite{color:#3f4b64}
body button,body input,body textarea,body select{font-size:15px}
body .pixel-btn{font-weight:800}
body .status-badge,body .payment-state,body .order-meta,body .fee-row{font-size:14px}
body .nav-btn,body .mobile-nav button{font-weight:800}
@media(max-width:780px){body{font-size:16px}body p,body small,body .field-help,body .dialog-sub,body .sale-note,body .request-meta-lite{color:#35415b}body .pixel-btn,body .nav-btn,body .mobile-nav button{font-size:15px}body .status-badge,body .payment-state,body .order-meta,body .fee-row{font-size:15px}}
.upload-preview.has-photo{position:relative;border:1px solid var(--line);border-radius:8px;padding:36px 10px 10px;min-width:0}.remove-photo{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:24px;line-height:1;cursor:pointer}.upload-preview-content{overflow-wrap:anywhere;font-size:13px}
.order-customer{display:grid;gap:5px;margin-bottom:12px;min-width:0;overflow-wrap:anywhere}.order-customer>strong{font-size:19px;line-height:1.45}.order-customer>small,.order-item-info small{display:block;color:var(--muted);font-size:12px}.order-item-info{display:grid;gap:6px;font-size:13px;flex:1}.order-item-info strong{display:block}.order-meta{display:grid;gap:9px;border-top:1px solid var(--line);margin:14px 0;padding:13px 0 0;font-size:13px}.order-meta>div{display:grid;grid-template-columns:minmax(85px,auto) minmax(0,1fr);gap:12px}.order-meta dt{color:var(--muted)}.order-meta dd{margin:0;text-align:right;overflow-wrap:anywhere}.reset-verified{border:1px solid #92b79a;border-radius:7px;background:#f4fff5;padding:10px}
.freight-estimate-warning{margin:8px 0 12px;padding:9px 10px;border-left:4px solid #c33b32;border-radius:5px;background:#fff0ed;color:#a32620!important;font-size:13px!important;font-weight:800;line-height:1.55}.local-courier-note{margin:10px 0 0;padding:9px 10px;border-radius:6px;background:#f1f4f8;color:#34415a!important;font-size:13px!important;line-height:1.55}.order-freight-estimate{margin:9px 0;color:#a32620;font-size:13px;font-weight:800}.payment-state.settled{border-color:#92b79a;background:#f1fff3;color:#235d31}.split-payment-progress{display:grid;gap:8px;margin-bottom:10px}.split-payment-progress p{margin:0;padding:10px;border:1px solid var(--line);border-radius:7px;background:#f7f9fc;line-height:1.55}.split-payment-progress b{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:5px;border-radius:50%;background:var(--ink);color:#fff}.fee-row.freight-estimate span{font-weight:700}.fee-row.freight-estimate b{color:#a32620}
@media(max-width:780px){.freight-estimate-warning,.local-courier-note,.order-freight-estimate{font-size:14px!important}}

/* Limited-sale countdown: noticeable, but deliberately restrained. */
.sale-time{display:inline-block;color:#c62828!important;font-weight:900!important;transform-origin:left center;animation:qazhet-countdown-pulse 1.65s ease-in-out infinite;will-change:transform;text-shadow:0 1px 0 #fff}
@keyframes qazhet-countdown-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
@media(prefers-reduced-motion:reduce){.sale-time{animation:none}}

/* Order workspace: the basket is the first order tab, not a request. */
.order-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 17px}
.order-tab{min-width:0;min-height:50px;padding:9px 7px;border:2px solid #d9e0ed;border-radius:9px;background:#fff;color:#17223b;font-size:15px;font-weight:800;line-height:1.25;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center}
.order-tab.active{border-color:#17223b;background:#ffd45a;box-shadow:3px 3px 0 #17223b}
.order-tab:focus-visible,.order-card-details summary:focus-visible{outline:3px solid #7466e8;outline-offset:3px}
.order-tab em{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 4px;border-radius:12px;background:#eef2f8;color:#17223b;font-size:12px;font-style:normal}
.order-tab.active em{background:#fff}
.orders-cart-panel{max-width:860px;margin-bottom:18px}
.orders-cart-panel .panel{margin:0}
.orders-cart-panel[hidden],#view-orders .orders-grid[hidden]{display:none!important}
#view-orders .order-card{cursor:default}
#view-orders .order-card:hover{transform:none}
.order-phase{display:inline-block;margin:11px 0 0;padding:6px 9px;border-radius:6px;background:#edf2fc;color:#253b66;font-size:13px;font-weight:800}
.order-card-details{border-top:1px solid #d6dce8;margin-top:13px;padding-top:10px}
.order-card-details summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;color:#1e2b47;font-size:14px;font-weight:800;cursor:pointer;touch-action:manipulation}
.order-card-details summary::-webkit-details-marker{display:none}
.order-card-details summary:before{content:"";width:0;height:0;border-left:7px solid #1e2b47;border-top:5px solid transparent;border-bottom:5px solid transparent;transition:transform .16s ease;flex:none}
.order-card-details[open] summary:before{transform:rotate(90deg)}
.order-card-details .order-meta{margin-top:6px}
.order-card-details .payment-state{margin:12px 0 0}
.order-status-timeline{margin-top:12px;padding:10px;background:#f7f9fd;border:1px solid #d9e0ed;border-radius:7px}
.order-status-timeline .timeline-item:last-child{padding-bottom:0}
#view-orders .order-card.is-overdue{background:#fff0ed;border:3px solid #c43632;box-shadow:4px 4px 0 #edc0ba}
#view-orders .order-card .order-phase.overdue,#view-orders .order-card-details .payment-state.overdue{background:#b92927;color:#fff;border-color:#b92927}
#view-orders .order-card.is-overdue .order-money{color:#8f211f}
@media(max-width:780px){.order-tabs{gap:5px;margin-bottom:12px}.order-tab{font-size:13px;min-height:56px;flex-direction:column;gap:2px;padding:5px 2px}.order-tab em{font-size:11px;min-width:19px;height:19px}.order-card-details summary{font-size:15px}}
