:root{
  --ink:#111318;--ink-soft:#1d2028;--red:#ef3127;--red-dark:#c9231b;
  --paper:#f4f5f7;--card:#fff;--line:#e6e8ec;--muted:#737985;
  --green:#159c6d;--amber:#e18d14;--blue:#3478f6;--danger:#d83c34;
  --radius:19px;--shadow:0 14px 36px rgba(18,22,31,.07)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hidden{display:none!important}
.eyebrow{margin:0 0 8px;color:var(--red);font-size:10px;font-weight:950;letter-spacing:.16em}
.brand,.sidebar-brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}
.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--red);color:#fff;font-size:22px;font-weight:950;box-shadow:0 10px 24px rgba(239,49,39,.25)}
.brand strong,.brand small,.sidebar-brand strong,.sidebar-brand small{display:block}
.brand strong,.sidebar-brand strong{font-size:14px;letter-spacing:.13em}
.brand small,.sidebar-brand small{margin-top:3px;color:#8b909a;font-size:8px;letter-spacing:.14em}
.public-topbar{position:sticky;z-index:30;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px max(22px,calc((100vw - 1220px)/2));background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.connection-badge{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:99px;color:#858b95;font-size:10px;font-weight:850}
.connection-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#b8bcc3}
.connection-badge.online{color:var(--green);border-color:#cfe9df}.connection-badge.online:before{background:var(--green);box-shadow:0 0 0 4px rgba(21,156,109,.1)}
.auth-view{position:relative;display:grid;grid-template-columns:1.12fr .72fr;align-items:center;gap:74px;max-width:1220px;min-height:calc(100vh - 124px);margin:auto;padding:50px 22px 70px}
.auth-view:before{content:"";position:fixed;z-index:-1;inset:0;background:radial-gradient(circle at 10% 15%,rgba(239,49,39,.09),transparent 30%),radial-gradient(circle at 95% 80%,rgba(17,19,24,.05),transparent 26%)}
.auth-hero h1{max-width:760px;margin:0;font-size:clamp(44px,6vw,75px);line-height:1.02;letter-spacing:-.055em}
.auth-hero h1 span{color:var(--red)}
.auth-hero>p:not(.eyebrow){max-width:640px;margin:23px 0 0;color:#646a75;font-size:17px;line-height:1.7}
.hero-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.hero-points span{padding:10px 13px;border:1px solid var(--line);border-radius:99px;background:rgba(255,255,255,.75);color:#555b65;font-size:11px;font-weight:750}
.auth-card{padding:27px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 26px 80px rgba(17,19,24,.12)}
.auth-card-head h2{margin:0;font-size:25px;letter-spacing:-.035em}
.auth-card-head>p:not(.eyebrow){margin:8px 0 23px;color:var(--muted);font-size:11px;line-height:1.55}
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:21px;padding:4px;background:#f1f2f4;border-radius:13px}
.segmented button{border:0;border-radius:10px;padding:10px;background:transparent;color:#848994;font-size:11px;font-weight:850}
.segmented button.active{background:#fff;color:var(--ink);box-shadow:0 5px 15px rgba(17,19,24,.06)}
.form{display:grid;gap:14px}
label{display:grid;gap:7px;color:#626873;font-size:10px;font-weight:850}
input,textarea,select{width:100%;border:1px solid var(--line);outline:0;background:#fafafb;color:var(--ink);border-radius:11px;padding:12px 13px;transition:.18s}
input:focus,textarea:focus,select:focus{border-color:var(--red);background:#fff;box-shadow:0 0 0 3px rgba(239,49,39,.08)}
textarea{resize:vertical}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:12px 15px;font-size:11px;font-weight:900}
.primary{border:0;background:var(--red);color:#fff;box-shadow:0 10px 24px rgba(239,49,39,.19)}
.primary:hover{background:var(--red-dark)}
.primary:disabled{opacity:.55;cursor:wait}
.secondary{border:1px solid var(--line);background:#fff;color:var(--ink)}
.auth-submit{width:100%;margin-top:3px;padding:14px}
.message{min-height:18px;margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.message.error{color:var(--danger)}.message.success{color:var(--green)}
.public-footer{text-align:center;padding:21px;color:#9ba0a9;font-size:9px;font-weight:850;letter-spacing:.13em}
.session-active>.public-topbar,.session-active>.public-footer{display:none}

.app-shell{min-height:100vh}
.app-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:260px;display:flex;flex-direction:column;padding:23px 18px;background:var(--ink);color:#fff}
.sidebar-brand{padding:0 8px 24px;border-bottom:1px solid rgba(255,255,255,.08)}
.sidebar-brand small{color:#858b96}
.nav-caption{margin:27px 12px 10px;color:#666d78;font-size:9px;font-weight:950;letter-spacing:.15em}
.side-nav{display:grid;gap:5px}
.side-nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:12px;padding:12px 13px;background:transparent;color:#aeb3bd;text-align:left;font-size:12px;font-weight:800;transition:.18s}
.side-nav button:hover{background:rgba(255,255,255,.055);color:#fff}
.side-nav button.active{background:#fff;color:var(--ink);box-shadow:0 9px 25px rgba(0,0,0,.22)}
.side-nav .icon{width:18px;height:18px}
.nav-count{display:grid;place-items:center;min-width:21px;height:21px;margin-left:auto;padding:0 5px;border-radius:99px;background:var(--red);color:#fff;font-size:9px}
.sidebar-spacer{flex:1}
.help-card{margin:16px 2px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.02))}
.help-card strong{font-size:11px}.help-card p{margin:6px 0 0;color:#9298a3;font-size:9px;line-height:1.55}
.logout-btn{display:flex;align-items:center;gap:10px;width:100%;margin-top:16px;border:1px solid rgba(255,255,255,.1);border-radius:11px;padding:11px 13px;background:transparent;color:#c4c8cf;font-size:10px;font-weight:850}
.logout-btn:hover{background:rgba(255,255,255,.06);color:#fff}
.logout-btn .icon{width:17px}
.app-workspace{min-height:100vh;margin-left:260px}
.app-topbar{position:sticky;z-index:30;top:0;display:flex;align-items:center;gap:14px;height:72px;padding:0 31px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.mobile-brand{display:none;align-items:center;gap:8px;font-size:11px;font-weight:950;letter-spacing:.11em}
.mobile-brand span{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:var(--red);color:#fff;font-size:16px;letter-spacing:0}
.search-box{display:flex;align-items:center;gap:8px;width:min(410px,40vw);padding:10px 12px;border:1px solid #eceef1;border-radius:11px;background:#f5f6f7;color:#969ba4}
.search-box .icon{width:17px}.search-box input{border:0;background:transparent;padding:0;box-shadow:none;font-size:10px}
.top-spacer{flex:1}
.service-online{display:flex;align-items:center;gap:7px;color:#565c67;font-size:9px;font-weight:850}
.service-online i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(21,156,109,.1)}
.top-refresh{padding:9px 12px;white-space:nowrap}
.top-refresh .icon{width:17px;height:17px}
.js-refresh.is-loading .icon{animation:refresh-spin .7s linear infinite}
@keyframes refresh-spin{to{transform:rotate(360deg)}}
.top-icon{position:relative;display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#505661}
.top-icon .icon{width:18px}.alert-dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px #fff}
.top-profile{display:flex;align-items:center;gap:9px;padding-left:3px}
.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--ink);color:#fff;font-size:11px;font-weight:900}
.top-profile strong,.top-profile small{display:block}.top-profile strong{font-size:10px}.top-profile small{margin-top:2px;color:#8e939d;font-size:8px}
.app-content{max-width:1500px;margin:auto;padding:31px}
.app-page{animation:page-in .23s ease}
@keyframes page-in{from{opacity:0;transform:translateY(6px)}}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}
.page-head h2{margin:0;font-size:28px;letter-spacing:-.04em}
.page-head>div>p:not(.eyebrow){margin:7px 0 0;color:var(--muted);font-size:11px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:17px}
.stat-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 9px 25px rgba(17,19,24,.035)}
.stat-card span{display:block;color:#707682;font-size:10px;font-weight:800}
.stat-card strong{display:block;margin-top:12px;font-size:24px;letter-spacing:-.03em}
.stat-card small{display:block;margin-top:6px;color:#989da6;font-size:8px}
.stat-card small b{color:var(--green)}
.stat-card>i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f2f3f5;color:#555b66;font-style:normal}
.stat-card>i .icon{width:17px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.72fr);gap:17px}
.panel,.active-order-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 28px rgba(17,19,24,.04)}
.loading-card,.empty{display:grid;place-items:center;min-height:110px;padding:25px;color:#969ba4;font-size:10px;text-align:center}
.active-empty .icon{width:28px;height:28px;margin:0 auto 9px;color:var(--green)}
.active-empty strong,.active-empty span{display:block}.active-empty strong{color:var(--ink);font-size:12px}.active-empty span{margin-top:5px;color:var(--muted);font-size:9px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 20px 14px}
.panel-head h3{margin:0;font-size:14px}.panel-head p{margin:5px 0 0;color:#959aa3;font-size:9px}
.text-btn{border:0;background:transparent;color:var(--red);padding:2px;font-size:9px;font-weight:900}
.recent-panel{margin-top:17px;overflow:hidden}
.recent-list{border-top:1px solid #f0f1f3}
.recent-row{display:grid;grid-template-columns:1.15fr .8fr .65fr .75fr;gap:10px;align-items:center;padding:12px 20px;border-bottom:1px solid #eff0f2;font-size:10px}
.recent-row:last-child{border:0}
.recent-row h4{margin:0;font-size:10px}.recent-row small{display:block;margin-top:3px;color:#999ea7;font-size:8px}
.activity-panel{padding-bottom:5px}
.activity-list{padding:0 19px}
.activity-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #eff0f2}
.activity-item:last-child{border:0}
.activity-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f2f3f5;color:#5c626d}
.activity-icon .icon{width:16px}
.activity-item strong{display:block;font-size:9px;line-height:1.4}.activity-item p{margin:3px 0 0;color:#818792;font-size:8px;line-height:1.45}.activity-item time{color:#a3a7af;font-size:8px;white-space:nowrap}
.small-empty{min-height:90px}
.delivery-spotlight{margin-top:16px;padding:18px;border:1px solid #f3cbc8;border-radius:17px;background:linear-gradient(135deg,#fff5f4,#fff)}
.delivery-spotlight .provider{color:var(--red);font-size:9px;font-weight:950;letter-spacing:.13em}.delivery-spotlight h3{margin:12px 0 5px;font-size:13px}.delivery-spotlight p{margin:0;color:#727883;font-size:9px;line-height:1.55}.delivery-spotlight .track-btn{width:100%;margin-top:13px}
.active-order{overflow:hidden}
.active-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px;background:linear-gradient(135deg,#181b22,#292e39);color:#fff}
.active-order-head .eyebrow{color:#ff716a}.active-order-head h3{margin:0;font-size:18px}.active-order-head p{margin:6px 0 0;color:#aab0ba;font-size:9px}
.active-order-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.active-order-actions small{color:#9299a5;font-size:7px;white-space:nowrap}
.active-refresh{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:#fff;color:var(--ink);font-size:9px;font-weight:900}
.active-refresh .icon{width:15px;height:15px}
.active-order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.active-order-summary>div{padding:14px 19px;background:#fff}.active-order-summary small{display:block;color:#9297a0;font-size:8px;font-weight:900;letter-spacing:.09em}.active-order-summary strong{display:block;margin-top:5px;font-size:11px}
.timeline{display:grid;grid-template-columns:repeat(5,1fr);position:relative;padding:22px 16px 19px}
.timeline:before{content:"";position:absolute;top:35px;left:10%;right:10%;height:3px;background:#e7e9ed}
.timeline-progress{position:absolute;z-index:1;top:35px;left:10%;height:3px;background:var(--red)}
.timeline-step{position:relative;z-index:2;text-align:center}.timeline-step b{display:grid;place-items:center;width:27px;height:27px;margin:auto;border:4px solid #fff;border-radius:50%;background:#e7e9ed;color:#8f949e;font-size:9px}.timeline-step.done b{background:var(--red);color:#fff}.timeline-step.current b{border:3px solid var(--red);background:#fff;color:var(--red)}.timeline-step span{display:block;margin-top:7px;color:#969ba4;font-size:8px;font-weight:800}.timeline-step.done span,.timeline-step.current span{color:#343943}
.status{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:6px 8px;border-radius:99px;background:#eff0f2;color:#646a74;font-size:8px;font-weight:900}
.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.status.production{background:#fff2dc;color:#b66b00}.status.ready{background:#e7f8f1;color:#0c8b60}.status.shipped{background:#eaf2ff;color:#276bd2}.status.delivered{background:#e4f7ef;color:#087f58}.status.cancelled{background:#ffeae8;color:#c3322a}.status.attention{background:#fff0e1;color:#b86400}
.active-order-head .status{background:rgba(225,141,20,.15);color:#ffc15a}
.orders-list{display:grid;gap:12px}
.order-card{padding:18px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 24px rgba(17,19,24,.035)}
.order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-heading h4{margin:0;font-size:13px}
.order-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px;color:#9297a0;font-size:8px}.order-meta span:not(:last-child){padding-right:7px;border-right:1px solid var(--line)}
.order-details{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.order-details>div{padding:12px;border-radius:11px;background:#f6f7f8}.order-details small,.tracking-row small{display:block;color:#8e939d;font-size:7px;font-weight:950;letter-spacing:.1em}.order-details strong{display:block;margin-top:5px;font-size:10px;overflow-wrap:anywhere}
.delivery-box{margin-top:10px;padding:13px;border:1px solid #f1d4d2;border-radius:12px;background:#fff9f8}.delivery-title,.tracking-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.delivery-title span{color:var(--red);font-size:8px;font-weight:950;letter-spacing:.12em}.delivery-title strong{font-size:9px;color:var(--green);text-align:right}.tracking-row{margin-top:10px;padding-top:10px;border-top:1px solid #f0dcda}.tracking-row b{font-size:11px}
.track-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:9px 11px;background:var(--red);color:#fff;text-decoration:none;font-size:8px;font-weight:900}
.order-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.order-steps span{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#8b909a;font-size:9px;font-weight:850}
.order-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eff0f2;color:#777d87}
.order-steps .active{border-color:#f3b3af;background:#fff8f7;color:var(--ink)}.order-steps .active b{background:var(--red);color:#fff}
.order-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:15px;align-items:start}
.order-form-layout>div{display:grid;gap:14px}
.form-section{padding:19px}
.section-label{margin-bottom:13px;color:#767c86;font-size:8px;font-weight:950;letter-spacing:.13em}
.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mode-card{position:relative;display:grid;grid-template-columns:auto 1fr;gap:4px 11px;padding:16px;border:2px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}
.mode-card.selected{border-color:var(--red);background:#fff8f7}
.mode-card input{position:absolute;opacity:0}.mode-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#f1f2f4;color:#5b616c}.mode-card.selected .mode-icon{background:#ffe6e4;color:var(--red)}
.mode-card strong{font-size:10px}.mode-card>span:last-child{color:#858b95;font-size:8px;line-height:1.45}
.pick{width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;padding:27px;border:1.5px dashed #cdd1d7;border-radius:14px;background:#fafafb;color:var(--ink)}
.upload-circle{display:grid;place-items:center;width:42px;height:42px;margin-bottom:3px;border-radius:13px;background:#ffe7e5;color:var(--red)}.pick strong{font-size:10px}.pick small{color:#9297a0;font-size:8px}
.files-editor{display:grid;gap:8px;margin-top:11px}
.file-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fafafb}
.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:900}.file-size{margin-top:3px;color:#969ba4;font-size:8px}
.file-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.file-options label{display:flex;align-items:center;gap:4px;font-size:8px}.file-options input{width:67px;padding:7px}
.remove-file{width:31px;height:31px;border:0;border-radius:9px;background:#ffe9e7;color:var(--danger)}
.note-label textarea{margin-top:1px}
.order-summary-side{position:relative}
.sticky-summary{position:sticky;top:87px;padding:18px}
.profile-delivery-summary{padding:13px;border:1px solid var(--line);border-radius:12px;background:#f8f9fa;color:#555b66;font-size:9px;line-height:1.6}
.profile-delivery-summary strong{display:block;margin-bottom:4px;color:var(--ink);font-size:10px}
.direct-production-note,.safe-note{display:flex;align-items:flex-start;gap:8px;margin-top:12px;padding:11px;border:1px solid #dce9ff;border-radius:11px;background:#f3f7ff;color:#416496;font-size:8px;line-height:1.5}
.direct-production-note .icon,.safe-note .icon{flex:none;width:15px;height:15px}
.large{width:100%;margin-top:14px;padding:14px}
.progress-box{margin-top:13px}.progress-head{display:flex;justify-content:space-between;margin-bottom:7px;color:#7c828d;font-size:8px}.progress{height:8px;overflow:hidden;border-radius:99px;background:#eceef1}.progress i{display:block;width:0;height:100%;background:var(--red);transition:width .25s}
.notification-read-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.notification-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.notification-read-actions small{color:var(--muted);font-size:8px}.notification-read-actions button:disabled{opacity:.55;cursor:default}.notification-clear-btn{border-color:#f0cbc8;color:var(--danger)}.notification-clear-btn:hover:not(:disabled){background:#fff3f2}
.notifications-list{display:grid;gap:10px}
.notification-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:16px;background:#fff;border:1px solid var(--line);border-radius:15px}
.notification-card.unread{border-color:#f2b7b3;background:#fffafa;box-shadow:inset 3px 0 0 var(--red)}
.notification-card.unread:after{content:"";position:absolute;top:11px;right:11px;width:7px;height:7px;border-radius:50%;background:var(--red)}
.notification-card .activity-icon{background:#ffeae8;color:var(--red)}.notification-card h3{margin:0;font-size:10px}.notification-card p{margin:5px 0 0;color:#777d87;font-size:9px;line-height:1.5}.notification-card time{color:#9da2aa;font-size:8px}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);gap:15px;align-items:start}
.profile-form{padding:20px}.profile-form h3{margin:0 0 17px;font-size:14px}.profile-form .primary{justify-self:end;margin-top:3px}
.delivery-profile-card{padding:20px}.delivery-profile-card .safe-note{border-color:#d8eee5;background:#f0faf6;color:#36735b}
.profile-logout-btn{display:flex;align-items:center;gap:11px;width:100%;margin-top:14px;padding:13px;border:1px solid #f1cfcc;border-radius:12px;background:#fff8f7;color:var(--danger);text-align:left}.profile-logout-btn:hover{background:#ffecea}.profile-logout-btn .icon{flex:none;width:18px}.profile-logout-btn strong,.profile-logout-btn small{display:block}.profile-logout-btn strong{font-size:10px}.profile-logout-btn small{margin-top:3px;color:#8d6b69;font-size:8px}.profile-logout-btn:disabled{opacity:.55;cursor:wait}
#toast{position:fixed;z-index:100;left:50%;bottom:22px;max-width:90vw;padding:11px 15px;border-radius:11px;background:var(--ink);color:#fff;box-shadow:0 17px 45px rgba(0,0,0,.24);font-size:10px;font-weight:850;transform:translate(-50%,100px);transition:.3s}
#toast.show{transform:translate(-50%,0)}
.mobile-nav{display:none}

@media(max-width:1120px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .dashboard-grid{grid-template-columns:1fr}
  .activity-panel{margin-top:0}
}
@media(max-width:820px){
  .public-topbar{padding:12px 16px}.public-topbar .brand small{display:none}
  .auth-view{grid-template-columns:1fr;gap:27px;padding:30px 16px 60px}
  .auth-hero h1{font-size:43px}.auth-hero>p:not(.eyebrow){font-size:14px}.hero-points{display:none}
  .auth-card{padding:21px}
  .app-sidebar{display:none}.app-workspace{margin-left:0}
  .app-topbar{height:64px;padding:0 15px;gap:8px}.mobile-brand{display:flex}.search-box,.service-online,.top-profile>div{display:none}.top-profile .avatar{display:none}.top-refresh{padding:9px 10px;font-size:9px}
  .app-content{padding:20px 14px 86px}
  .page-head h2{font-size:23px}.page-head>div>p:not(.eyebrow){max-width:240px}
  .stats-grid{gap:9px}.stat-card{padding:14px}.stat-card strong{font-size:21px}
  .dashboard-grid{grid-template-columns:1fr}
  .active-order-summary{grid-template-columns:1fr 1fr}.active-order-summary>div:last-child{grid-column:1/-1}
  .timeline,.active-order-summary{min-width:480px}.active-order{overflow-x:auto}.active-order-head{min-width:0;position:sticky;left:0}
  .recent-row{grid-template-columns:1fr auto}.recent-row>*:not(:first-child):not(.status){display:none}
  .order-form-layout,.profile-layout{grid-template-columns:1fr}.sticky-summary{position:static}
  .order-steps{display:flex;overflow:auto}.order-steps span{min-width:125px}
  .mobile-nav{position:fixed;z-index:50;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);padding:6px 3px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(16px)}
  .mobile-nav button{display:grid;place-items:center;gap:3px;border:0;background:transparent;color:#8c919b;font-size:7px;font-weight:850}.mobile-nav button.active{color:var(--red)}.mobile-nav .icon{width:18px;height:18px}
}
@media(max-width:560px){
  .two,.mode-grid,.stats-grid{grid-template-columns:1fr}
  .page-head{align-items:flex-start;gap:10px}.page-head>.primary{padding:11px}.page-head>.primary .icon{display:none}
  .order-details{grid-template-columns:1fr 1fr}.order-details>div:last-child{grid-column:1/-1}
  .delivery-title,.tracking-row{align-items:flex-start;flex-direction:column}.track-btn{width:100%}
  .recent-row{padding:12px 15px}
  .notification-page-head{display:grid}.notification-read-actions{align-items:stretch}.notification-buttons{display:grid}.notification-read-actions button{width:100%}
  .active-order-head{gap:8px;padding:16px}.active-order-actions small{white-space:normal;text-align:right}
  .notification-card{grid-template-columns:auto 1fr}.notification-card time{grid-column:2}
}

.delivery-location{margin:4px 0 8px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fafbfc}
.delivery-title{margin:0 0 13px;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.delivery-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 14px}
.delivery-choice{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer;transition:.2s}
.delivery-choice.selected{border-color:var(--red);box-shadow:0 0 0 2px rgba(239,49,39,.08)}
.delivery-choice.unavailable{opacity:.5;cursor:not-allowed}
.delivery-choice input{margin:3px 0 0;accent-color:var(--red)}
.delivery-choice span{display:grid;gap:3px}.delivery-choice strong{font-size:13px}.delivery-choice small{color:var(--muted);font-size:11px;line-height:1.35}
.delivery-status{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
.stopdesk-result{display:grid;gap:5px;margin:0 0 10px;padding:13px;border:1px solid #bfe6d7;border-radius:12px;background:#f1fbf7}
.stopdesk-result strong{font-size:13px}.stopdesk-result small{color:var(--muted);line-height:1.45}
.stopdesk-badge{width:max-content;padding:4px 7px;border-radius:99px;background:#d9f5e9;color:#087a53;font-size:9px;font-weight:950;letter-spacing:.08em}
.profile-delivery-editor{margin-top:8px}
@media(max-width:640px){.delivery-choices{grid-template-columns:1fr}.delivery-location{padding:13px}}

.layout-estimate{padding:16px;border:1px solid #f1cbc8;border-radius:14px;background:linear-gradient(135deg,#fff7f6,#fff);text-align:center}
.layout-estimate small{display:block;color:var(--red);font-size:8px;font-weight:950;letter-spacing:.12em}
.layout-estimate>strong{display:block;margin:7px 0 5px;font-size:29px;letter-spacing:-.04em}
.layout-estimate>span{display:block;color:#646a74;font-size:9px}
.layout-estimate>span b{color:var(--ink)}
.layout-estimate p{margin:9px 0 0;padding-top:9px;border-top:1px solid #f2dddb;color:#858b95;font-size:8px;line-height:1.45}
.delivery-summary-label{margin-top:17px}
