:root{--red:#cf0a2c;--turquoise:#008f81;--ink:#151518;--muted:#74747b;--line:#e2e2e5;--bg:#f1f1f3;--white:#fff;--amber:#c47a00;--danger:#cf0a2c;--r:8px;--shadow:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body{background:var(--bg);color:var(--ink)}.shell{width:min(620px,100%);background:#fff;box-shadow:none}.top{height:86px;padding:10px 24px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.header-logo{width:94px;height:56px}.head-user{gap:10px}.head-user span{width:36px;height:36px;border-radius:50%;background:#19191c;color:#fff}.head-user b{font-size:14px}.head-user i{font-size:11px;color:var(--muted)}.screen{padding:40px 24px 112px;animation:none}h1{font-size:34px;line-height:1.06;letter-spacing:-1.1px}h2{font-size:20px}.sub{color:var(--muted)}[data-screen="orders"]{padding-top:40px}.orders-title{align-items:start;margin-bottom:28px}.orders-title h1{font-size:34px!important;white-space:normal}.orders-title p{font-size:14px;margin-top:8px}.work-stage{margin:0!important;padding:0!important;background:#fff!important;border-radius:0!important;text-align:right}.work-stage .status-check{display:none}.work-stage small{color:var(--muted)!important}.work-stage b{color:var(--red)!important}.section-label{margin:22px 0 8px;color:var(--muted);font-size:12px}.employee-card,.warehouse-focus{border:0!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:14px 0!important;margin:0 0 16px!important;box-shadow:none!important}.warehouse-symbol{display:none}.employee-card .user{border-color:var(--line);color:var(--ink)}.switch-user{background:#fff!important;color:#555!important;border:0!important;padding:9px 0!important}.search{height:50px;border:1px solid #d4d4d8;border-radius:8px;background:#fff}.search:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(207,10,44,.08)}.start-help{display:flex!important;border-top:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:#fff!important;margin:18px 0 26px!important;padding:14px 0!important}.start-help small{color:var(--muted)!important}.start-help em{color:var(--red)!important}.orders-head{border-bottom:1px solid var(--line);padding-bottom:10px}.orders-head .stage{color:var(--muted);font-weight:600}.notification-button{border:0;background:#fff;color:#555}.refresh-icon{border:1px solid var(--line);border-radius:8px;color:var(--red)}.orders-head+.order-list .order{display:grid;grid-template-columns:44px 1fr auto;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:#fff}.order-icon{border-radius:6px!important;background:#f3f3f4!important;color:#333!important}.order-status{border-radius:4px;padding:3px 0;background:#fff!important}.order .order-client{font-size:14px}.order .order-client+small{color:var(--muted)}.order.needs-combined{border-left:0!important;background:#fff!important}.order.needs-combined .order-status{color:var(--red)!important}.sync{text-align:left;padding:0;color:var(--muted)}.sync i{background:var(--turquoise)}.bottom-nav{height:66px;grid-template-columns:1fr 1fr;padding:0;background:#fff;border-top:1px solid var(--line);box-shadow:none}.bottom-nav button{display:block;font-size:13px}.bottom-nav button span{display:none}.bottom-nav button.active{color:var(--red)}.bottom-nav button.active:before{top:0;width:100%;height:3px;border-radius:0}.steps{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:28px}.step{color:var(--muted)}.step.on{color:var(--red)}.rail{display:none}.with-rail{padding-left:24px}.tip,.rule,.choice,.counter,.total,.pallet,.photo-slot,.summary,.history-item,.compact-empty{border-radius:8px;box-shadow:none}.tip{background:#f3f3f4}.tip.amber{background:#fff6e5}.tip-icon{background:#fff;color:var(--ink)}.rule{border:1px solid var(--line);background:#fff}.rule-mark{border-radius:6px;background:#fff1f4;color:var(--red)}.choice{border-radius:8px}.choice.selected{border-color:var(--red);background:#fff5f7}.choice input{accent-color:var(--red)}.counter{height:64px;border-radius:8px}.counter button{color:var(--red)}.total{border-radius:8px;background:#f3f3f4}.total strong{color:var(--red)}.pallet{border-radius:8px;box-shadow:none;border-bottom:1px solid var(--line)}.pallet.done{border-left:3px solid var(--turquoise);background:#fff}.photo-slot{border-radius:8px}.photo-slot .camera{border-radius:6px}.primary{height:56px;border-radius:8px;background:var(--red)}.primary:disabled{background:#e9aab6}.secondary{border-color:var(--ink);border-radius:8px;color:var(--ink)}.sticky{background:#fff;border-top:1px solid var(--line);backdrop-filter:none}.success-icon{background:var(--turquoise)}.summary{border-radius:0;border-left:0;border-right:0}.history-item{border-radius:0;border-left:0;border-bottom:1px solid var(--line);padding:16px 0}.history-item.queued,.history-item.waiting{border-left:0}.history-status{color:var(--turquoise)}.auth{background:#f1f1f3}.auth-card{border-radius:0;border-top:5px solid var(--red);box-shadow:none}.auth-field input{border-radius:8px}.auth-field input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(207,10,44,.08)}.modal .sheet{border-radius:12px 12px 0 0}.uploading{background:rgba(255,255,255,.94)}.loader{border-top-color:var(--red)}
@media(max-width:699px){body{background:#fff}.top{height:76px;padding:8px 18px}.header-logo{width:82px}.screen{padding:32px 18px 104px}[data-screen="orders"]{padding-top:32px}.orders-title h1{font-size:31px!important}.with-rail{padding-left:18px}.sticky{left:0;width:100%;transform:none}.auth-card{padding:28px 22px}}
.screen.active{animation:akfix-screen-in .2s cubic-bezier(.2,.8,.2,1)}
.order-skeleton{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.order-skeleton i,.order-skeleton b,.order-skeleton small,.order-skeleton em{display:block;border-radius:5px;background:linear-gradient(90deg,#f0f0f1 25%,#fafafa 42%,#f0f0f1 63%);background-size:300% 100%;animation:akfix-shimmer 1.25s ease infinite}.order-skeleton i{width:44px;height:44px}.order-skeleton b{width:42%;height:16px}.order-skeleton small{width:75%;height:12px;margin-top:9px}.order-skeleton em{width:28%;height:10px;margin-top:9px}
@keyframes akfix-screen-in{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes akfix-shimmer{to{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.screen.active,.order-skeleton i,.order-skeleton b,.order-skeleton small,.order-skeleton em{animation:none}}
.planned-date{display:table;margin:9px 0 2px;padding:5px 8px;border-radius:6px;background:#eef1f4;color:#4f5359;font-size:12px;font-weight:800}.planned-date.today{background:#fff0f2;color:#cf0a2c}.planned-date.tomorrow{background:#fff6dc;color:#8b6500}.planned-date.overdue{background:#cf0a2c;color:#fff}.planned-date.future{background:#edf7f5;color:#08786d}.planned-date.missing{background:transparent;color:#92949a;padding-left:0;font-weight:650}
.order-filters{display:grid;gap:10px}.date-filter{display:grid;grid-template-columns:repeat(3,1fr) minmax(92px,1.15fr);gap:6px}.date-filter-button,.date-filter-picker{min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#65656c;font-size:12px;font-weight:800}.date-filter-button.active,.date-filter-picker.active{border-color:var(--red);background:#fff1f4;color:var(--red)}.date-filter-picker{position:relative;display:grid;place-items:center;overflow:hidden}.date-filter-picker span{pointer-events:none}.date-filter-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
@media(max-width:420px){.date-filter{grid-template-columns:repeat(4,1fr);gap:4px}.date-filter-button,.date-filter-picker{font-size:11px}}

/* Способ доставки виден в списке и при проверке заказа. */
.order-delivery { display: block; width: fit-content; max-width: 100%; margin: 7px 0; padding: 6px 10px; border-radius: 7px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.delivery-carrier { color: #1451a0; background: #edf4ff; }
.delivery-own { color: #00766d; background: #e9f6f3; }
.delivery-pickup { color: #53576a; background: #f0f1f5; }
.delivery-unknown { color: #946000; background: #fff3dc; }
