:root{--bg:#07111f;--surface:#0b1b30;--surface-2:#10253f;--surface-3:#132d4c;--line:#1d3d61;--text:#ecf5ff;--muted:#9cb2cb;--primary:#2f80ff;--primary-2:#57a4ff;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444;--shadow:0 18px 60px rgba(0,0,0,.24);--radius:16px;--sidebar:248px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#0a1a2e,#071423);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{height:78px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.06)}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,var(--primary),#184ca4);box-shadow:0 10px 30px rgba(47,128,255,.28);font-weight:900;font-size:20px}.brand b{display:block;letter-spacing:.08em;font-size:15px}.brand small{display:block;color:#8ebbe8;font-size:10px;letter-spacing:.24em;margin-top:2px}.nav{padding:18px 12px;display:grid;gap:6px}.nav-item{height:46px;border-radius:11px;display:flex;align-items:center;gap:12px;padding:0 13px;color:#b7c8dc;font-weight:650;transition:.18s}.nav-item:hover{background:#10243d;color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(47,128,255,.22),rgba(47,128,255,.08));color:#fff;border:1px solid rgba(82,157,255,.23)}.nav-icon{width:25px;height:25px;border-radius:7px;background:rgba(255,255,255,.055);display:grid;place-items:center;font-size:13px}.sidebar-foot{margin-top:auto;padding:16px 18px}.version{font-size:11px;color:#7089a5;border-top:1px solid rgba(255,255,255,.06);padding-top:14px}.main-shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;position:sticky;top:0;z-index:20;background:rgba(7,17,31,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px}.page-head h1{font-size:20px;margin:0}.page-head p{margin:3px 0 0;color:var(--muted);font-size:12px}.top-actions{display:flex;align-items:center;gap:12px}.user-chip{display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:11px;background:#153457;border:1px solid #28527d;display:grid;place-items:center;color:#9fd0ff;font-weight:800}.user-meta{display:grid}.user-meta b{font-size:13px}.user-meta small{font-size:11px;color:var(--muted);margin-top:2px}.mobile-menu{display:none}.content{width:min(1480px,100%);margin:0 auto;padding:26px;flex:1}.footer{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#69839f;font-size:11px}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{border:0;border-radius:10px;min-height:40px;padding:0 15px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:.16s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--primary),#2468cc);color:#fff;box-shadow:0 8px 25px rgba(47,128,255,.19)}.btn-secondary{background:#143150;color:#dcecff;border:1px solid #28527c}.btn-ghost{background:transparent;color:#c8d9eb;border:1px solid #294866}.btn-danger{background:#3b1720;color:#fecaca;border:1px solid #732531}.btn-success{background:#123d2a;color:#a7f3d0;border:1px solid #1f6844}.btn-warning{background:#3b2a0e;color:#fde68a;border:1px solid #755017}.btn-sm{min-height:34px;padding:0 11px;font-size:12px}.btn-xs{min-height:30px;padding:0 9px;font-size:11px}.card{background:linear-gradient(180deg,#0d1f35,#0b1b30);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-head{padding:17px 19px;border-bottom:1px solid rgba(255,255,255,.065);display:flex;justify-content:space-between;align-items:center;gap:14px}.card-head h2,.card-head h3{margin:0;font-size:15px}.card-body{padding:19px}.hero{padding:24px;background:radial-gradient(circle at 92% 8%,rgba(47,128,255,.18),transparent 32%),linear-gradient(135deg,#102b4a,#0c1e34);border:1px solid #28517d;border-radius:18px;margin-bottom:20px}.hero-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.hero h2{font-size:24px;margin:5px 0 7px}.hero p{color:#aac0d8;margin:0;max-width:780px;line-height:1.55}.eyebrow{color:#70b5ff;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{padding:18px 19px}.stat-label{color:#8fa8c3;font-size:12px}.stat-value{font-size:31px;font-weight:900;margin-top:5px;letter-spacing:-.03em}.stat-sub{font-size:11px;color:#6985a2;margin-top:3px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.panel-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:16px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th{text-align:left;padding:11px 13px;color:#7690aa;font-size:10px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap}.table td{padding:13px;border-bottom:1px solid rgba(255,255,255,.055);vertical-align:middle;font-size:13px;color:#d7e5f3}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:rgba(255,255,255,.022)}.table .strong{font-weight:780;color:#f5f9ff}.table .muted{color:#829ab4;font-size:11px}.table-actions{display:flex;gap:6px;justify-content:flex-end}.badge{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;border:1px solid transparent}.badge-info{color:#b9dcff;background:#11345a;border-color:#235681}.badge-success{color:#bbf7d0;background:#113322;border-color:#246442}.badge-warning{color:#fde68a;background:#39280b;border-color:#715119}.badge-danger{color:#fecaca;background:#3a171c;border-color:#72242f}.badge-muted{color:#afbdd0;background:#192535;border-color:#344457}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:760;color:#9db3ca}.field small{color:#6e88a4;font-size:10px}.input,.select,.textarea{width:100%;border:1px solid #294967;background:#071522;color:#edf6ff;border-radius:10px;padding:11px 12px;outline:0;transition:.15s}.input:focus,.select:focus,.textarea:focus{border-color:#3f8fff;box-shadow:0 0 0 3px rgba(47,128,255,.11)}.textarea{min-height:94px;resize:vertical}.select option{background:#0a1b2d}.search{min-width:230px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid rgba(255,255,255,.06)}.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:11px;margin-bottom:15px;font-size:12px;border:1px solid}.alert>span{width:21px;height:21px;display:grid;place-items:center;border-radius:99px;font-weight:900}.alert-success{background:#0e2c20;border-color:#215b3d;color:#b9f7d0}.alert-danger{background:#32151a;border-color:#6b2630;color:#fecdd3}.alert-warning{background:#33250e;border-color:#684b18;color:#fde8a2}.alert-info{background:#102a48;border-color:#26527d;color:#cde7ff}.empty-state{text-align:center;padding:48px 25px;color:#859db7}.empty-state h3{color:#dceafa;margin:10px 0 7px}.empty-state p{margin:0 0 16px}.empty-icon{font-size:36px;color:#3f77ad}.detail-list{display:grid;gap:12px}.detail-row{display:flex;justify-content:space-between;gap:18px;padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.055)}.detail-row:last-child{border:0;padding-bottom:0}.detail-row span:first-child{color:#7f98b3;font-size:11px}.detail-row span:last-child{font-size:12px;text-align:right}.timeline{display:grid;gap:0}.timeline-item{display:grid;grid-template-columns:16px 1fr;gap:10px;position:relative;padding-bottom:16px}.timeline-item:before{content:"";position:absolute;width:1px;background:#284664;left:7px;top:15px;bottom:-2px}.timeline-item:last-child:before{display:none}.timeline-dot{width:15px;height:15px;border-radius:50%;background:#1e4872;border:3px solid #0b1b30;box-shadow:0 0 0 1px #3c6b98}.timeline-content b{font-size:12px}.timeline-content p{margin:3px 0 0;color:#7f98b4;font-size:10px}.quick-actions{display:flex;gap:8px;flex-wrap:wrap}.info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#1b3958;border:1px solid #1b3958;border-radius:13px;overflow:hidden}.info-cell{background:#0b1b30;padding:14px}.info-cell small{display:block;color:#7891ac;font-size:10px}.info-cell b{display:block;margin-top:4px;font-size:13px}.item-row{display:grid;grid-template-columns:minmax(200px,2fr) 100px 130px 130px 38px;gap:8px;align-items:center;margin-bottom:8px}.item-row .row-total{text-align:right;font-weight:800;color:#cfe7ff;font-size:12px}.order-summary{display:grid;gap:8px;background:#071522;border:1px solid #23425f;border-radius:12px;padding:14px}.summary-line{display:flex;justify-content:space-between;font-size:12px;color:#91a8c0}.summary-line.total{padding-top:9px;border-top:1px solid #27435d;color:#fff;font-size:15px;font-weight:900}.section-title{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#6e8aa6;font-weight:800;margin:3px 0 14px}.split-header{display:flex;justify-content:space-between;gap:16px;align-items:center}.meta-line{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.kpi-mini{display:flex;gap:18px;align-items:center}.kpi-mini div{display:grid}.kpi-mini small{color:#748ca7;font-size:9px;text-transform:uppercase;letter-spacing:.1em}.kpi-mini b{font-size:13px;margin-top:2px}.order-number{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#9ed0ff}.sidebar-backdrop{display:none}.muted-text{color:var(--muted)}.text-right{text-align:right}.mt-16{margin-top:16px}.mb-16{margin-bottom:16px}.w-100{width:100%}.login-page{min-height:100vh;display:grid;grid-template-columns:1.2fr .8fr;background:radial-gradient(circle at 12% 15%,#123a66 0,transparent 28%),#07111f}.login-visual{padding:54px;display:flex;flex-direction:column;justify-content:space-between}.login-brand{display:flex;gap:12px;align-items:center}.login-copy{max-width:680px}.login-copy .eyebrow{font-size:12px}.login-copy h1{font-size:48px;line-height:1.06;margin:12px 0 16px;letter-spacing:-.045em}.login-copy p{font-size:16px;line-height:1.6;color:#9bb4ce}.login-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}.login-point{padding:14px;border:1px solid #244766;background:rgba(8,26,45,.65);border-radius:12px}.login-point b{display:block;font-size:12px}.login-point small{color:#7894b0;font-size:10px}.login-panel{display:grid;place-items:center;padding:28px;background:#081523;border-left:1px solid #1d3955}.login-card{width:min(420px,100%);padding:30px}.login-card h2{font-size:24px;margin:0 0 7px}.login-card>p{color:#8ea6bf;margin:0 0 22px;font-size:12px}.login-footer{font-size:10px;color:#5e7691;margin-top:20px;text-align:center}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr 1fr}.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-panel{border-left:0;min-height:100vh}.info-strip{grid-template-columns:1fr 1fr}}@media(max-width:820px){:root{--sidebar:250px}.sidebar{transform:translateX(-100%);transition:.2s}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:25}.main-shell{margin-left:0}.mobile-menu{display:inline-grid}.topbar{padding:0 14px}.content{padding:16px}.user-meta{display:none}.footer{padding:14px 16px}.form-grid,.form-grid.cols-3{grid-template-columns:1fr}.grid-2,.grid-3{grid-template-columns:1fr}.item-row{grid-template-columns:1fr 80px 110px 34px}.item-row .row-total{display:none}.page-toolbar{align-items:stretch;flex-direction:column}.toolbar-left,.toolbar-right{width:100%}.search{width:100%}.info-strip{grid-template-columns:1fr 1fr}}@media(max-width:520px){.stats{grid-template-columns:1fr}.hero-top{display:block}.hero h2{font-size:21px}.top-actions .btn{padding:0 10px}.info-strip{grid-template-columns:1fr}.item-row{grid-template-columns:1fr 70px 95px 34px}.footer{display:block}.footer span{display:block;margin:2px 0}.login-card{padding:22px}}

/* Courier mobile application */
.courier-body{background:#06101c;min-height:100vh;padding-bottom:88px}.courier-shell{width:min(760px,100%);margin:0 auto;min-height:100vh;background:linear-gradient(180deg,#071421 0,#081523 100%);border-left:1px solid #15324d;border-right:1px solid #15324d}.courier-topbar{height:70px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1a3854;background:rgba(8,21,35,.96);position:sticky;top:0;z-index:15;backdrop-filter:blur(12px)}.courier-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.courier-brand>span:last-child{display:grid;line-height:1}.courier-brand b{font-size:13px;letter-spacing:.12em}.courier-brand small{font-size:8px;color:#65a8ef;letter-spacing:.18em;margin-top:4px}.courier-content{padding:18px 16px 108px}.courier-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 18px}.courier-page-head h1{margin:0;color:#f3f8ff;font-size:22px;letter-spacing:-.025em}.courier-page-head p{margin:4px 0 0;font-size:11px;color:#819bb5}.courier-avatar,.profile-avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#347ef0,#1550a9);font-weight:900;font-size:18px;color:#fff;box-shadow:0 8px 24px rgba(23,91,190,.3)}.courier-bottom-nav{position:fixed;z-index:25;left:50%;bottom:0;transform:translateX(-50%);width:min(760px,100%);height:76px;padding:6px max(8px,env(safe-area-inset-left)) max(6px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);background:rgba(7,19,32,.97);border-top:1px solid #1a3854;backdrop-filter:blur(14px)}.courier-bottom-nav a{display:grid;place-content:center;justify-items:center;gap:4px;text-decoration:none;color:#6988a7;border-radius:12px;font-weight:750}.courier-bottom-nav a>span{font-size:18px}.courier-bottom-nav a small{font-size:9px}.courier-bottom-nav a.active{color:#8cc6ff;background:#102945}.courier-status-card{border:1px solid #264b6d;border-radius:18px;padding:18px;display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:12px;background:linear-gradient(135deg,#0b2239,#0a1a2c)}.courier-status-card.online{border-color:#256649;background:linear-gradient(135deg,#0d2a21,#0b1f23)}.courier-status-card small{font-size:9px;letter-spacing:.13em;color:#7391af;font-weight:800}.courier-status-card.online small{color:#7fc9a2}.courier-status-card h2{margin:5px 0 4px;font-size:18px}.courier-status-card p{margin:0;color:#8198b0;font-size:10px}.courier-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.courier-stats>div{padding:14px 12px;border:1px solid #1d3a55;border-radius:14px;background:#0a192a;min-width:0}.courier-stats small{display:block;color:#7690aa;font-size:8px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.courier-stats b{display:block;color:#eff7ff;font-size:17px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.courier-gps-card{border:1px solid #24517a;background:#0c2136;border-radius:15px;padding:13px 14px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.courier-gps-card>div{display:flex;align-items:center;gap:10px;min-width:0}.gps-icon{width:35px;height:35px;border-radius:12px;background:#11385f;display:grid;place-items:center;color:#84c4ff;font-size:18px}.courier-gps-card b{font-size:12px}.courier-gps-card p{margin:3px 0 0;color:#7e9bb8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.courier-empty-card{border:1px dashed #285075;border-radius:18px;text-align:center;padding:42px 20px;background:#091a2c;margin-bottom:12px}.courier-empty-card h2{font-size:18px;margin:8px 0}.courier-empty-card p{color:#7994af;font-size:11px;line-height:1.55;margin:0 auto 15px;max-width:420px}.active-delivery-card{border:1px solid #27629a;border-radius:20px;padding:18px;background:linear-gradient(150deg,#0d2946,#0a1a2d 62%);box-shadow:0 18px 50px rgba(0,0,0,.2);margin-bottom:12px}.delivery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:20px}.delivery-head small{font-size:9px;letter-spacing:.14em;color:#78b6ed;font-weight:900}.delivery-head h2{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin:5px 0 0;font-size:18px}.delivery-route{padding:2px 0 4px}.route-stop{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start}.route-stop small{font-size:8px;letter-spacing:.12em;color:#6f8fad;font-weight:850}.route-stop b{display:block;font-size:13px;margin:2px 0 3px}.route-stop p{margin:0;color:#849bb2;font-size:10px;line-height:1.45}.route-dot{width:12px;height:12px;border-radius:50%;margin-top:3px;box-shadow:0 0 0 4px rgba(55,138,231,.1)}.route-dot.restaurant{background:#60a5fa}.route-dot.customer{background:#34d399}.route-line{height:26px;border-left:2px dashed #2d5377;margin:2px 0 2px 5px}.delivery-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0}.delivery-meta>div{background:#081827;border:1px solid #1c405f;border-radius:12px;padding:11px}.delivery-meta small{display:block;color:#6f89a4;font-size:8px;text-transform:uppercase}.delivery-meta b{display:block;margin-top:4px;font-size:12px}.delivery-navs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.delivery-primary-action{margin-top:12px}.btn-lg{min-height:50px;font-size:13px;font-weight:900}.courier-note{border:1px solid #1c3852;background:#081725;border-radius:14px;padding:14px;color:#7b96b1}.courier-note b{display:block;color:#b9d6ef;font-size:11px}.courier-note p{font-size:9px;line-height:1.55;margin:4px 0 0}.courier-order-list{display:grid;gap:9px}.courier-order-row{border:1px solid #1f3d59;border-radius:15px;padding:14px;background:#091a2b;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;color:#e9f4ff}.courier-order-row>div{display:grid;gap:3px;min-width:0}.courier-order-row b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.courier-order-row small{font-size:9px;color:#708ba7}.mobile-order-detail{display:grid;gap:12px}.courier-products{display:grid;gap:10px}.courier-products>div{display:grid;grid-template-columns:35px 1fr auto;gap:8px;align-items:center;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.06)}.courier-products>div:last-child{border-bottom:0;padding-bottom:0}.courier-products span{color:#71b7f5;font-weight:900;font-size:11px}.courier-products b{font-size:11px}.courier-products small{color:#9ab0c6;font-size:10px}.courier-profile-card{border:1px solid #235177;background:linear-gradient(135deg,#0c2640,#091a2c);border-radius:18px;padding:18px;display:flex;align-items:center;gap:14px;margin-bottom:12px}.courier-profile-card h2{margin:0 0 4px;font-size:18px}.courier-profile-card p{margin:0 0 7px;color:#7f9ab5;font-size:10px}.profile-avatar{width:58px;height:58px;border-radius:18px;font-size:22px;flex:0 0 auto}.btn[disabled]{opacity:.45;cursor:not-allowed;pointer-events:none}@media(max-width:520px){.courier-status-card{align-items:flex-start;flex-direction:column}.courier-status-card form,.courier-status-card .btn{width:100%}.courier-gps-card{align-items:flex-start;flex-direction:column}.courier-gps-card>div{width:100%}.courier-gps-card .btn{width:100%}.courier-stats>div{padding:12px 9px}.courier-stats b{font-size:14px}.delivery-navs{grid-template-columns:1fr}.courier-order-row{align-items:flex-start}.courier-content{padding-left:12px;padding-right:12px}.courier-topbar{padding-left:12px;padding-right:12px}}

/* v1.3 PWA, notifications and live operations */
.icon-only{position:relative;min-width:36px;padding:0 10px;font-size:17px}.notification-count{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;display:grid;place-items:center;border:2px solid #081523}.courier-top-actions{display:flex;align-items:center;gap:7px}.live-sync-note{font-size:9px;color:#6f8ba7;margin:-10px 0 12px;text-align:right}.toast-stack{position:fixed;right:18px;top:88px;z-index:100;display:grid;gap:8px;width:min(360px,calc(100vw - 28px))}.app-toast{display:grid;gap:4px;padding:13px 14px;border-radius:12px;background:#102a45;border:1px solid #2b5e8c;color:#eaf5ff;box-shadow:0 18px 50px rgba(0,0,0,.35);animation:toastIn .2s ease}.app-toast b{font-size:12px}.app-toast span{font-size:10px;color:#a7bfd7;line-height:1.45}@keyframes toastIn{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
.operations-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.operations-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.operations-toolbar small{color:#7892ad}.live-dot{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12);animation:livePulse 1.7s infinite}@keyframes livePulse{50%{box-shadow:0 0 0 9px rgba(34,197,94,0)}}.operations-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.75fr);gap:14px}.operations-map-card{position:relative;overflow:hidden;min-height:680px}.operations-map{height:680px;width:100%;background:#0a192a}.operations-side{display:grid;gap:14px;align-content:start}.map-legend{position:absolute;left:14px;bottom:14px;z-index:500;background:rgba(8,21,35,.9);border:1px solid #294a68;border-radius:10px;padding:8px 10px;display:flex;gap:12px;font-size:9px}.map-legend span{display:flex;align-items:center;gap:5px}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.legend-dot.courier{background:#2f80ff}.legend-dot.restaurant{background:#f59e0b}.legend-dot.customer{background:#22c55e}.map-pin{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;font-size:11px;border:3px solid rgba(255,255,255,.85);box-shadow:0 8px 24px rgba(0,0,0,.35);position:relative}.map-pin.courier{background:#2f80ff}.map-pin.restaurant{background:#f59e0b}.map-pin.customer{background:#22c55e}.map-pin span{position:absolute;left:38px;top:7px;background:#081523;color:#fff;border:1px solid #2d4e6d;border-radius:7px;padding:3px 6px;white-space:nowrap;font-size:9px}.ops-status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:14px}.ops-status-grid>div{border:1px solid #203f5e;background:#081827;border-radius:10px;padding:10px}.ops-status-grid b{font-size:18px;display:block}.ops-status-grid small{font-size:9px;color:#7792ad}.ops-list{display:grid;max-height:300px;overflow:auto}.ops-row{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.055)}.ops-row:last-child{border-bottom:0}.ops-row>span{display:grid;gap:3px;min-width:0}.ops-row>span:last-child{text-align:right}.ops-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-row small{font-size:9px;color:#708ca7}.ops-row em{font-style:normal;font-size:9px;color:#9fcfff}.empty-mini{padding:18px;text-align:center;color:#7892ad;font-size:10px}
@media(max-width:1100px){.operations-layout{grid-template-columns:1fr}.operations-map-card,.operations-map{min-height:520px;height:520px}.operations-side{grid-template-columns:repeat(3,1fr)}.operations-side .card{min-width:0}}
@media(max-width:820px){.operations-side{grid-template-columns:1fr}.operations-map-card,.operations-map{min-height:440px;height:440px}.top-actions{gap:7px}.top-actions .user-chip{display:none}.toast-stack{right:10px;top:78px}.courier-top-actions .btn{min-width:34px;padding:0 8px}.live-sync-note{text-align:left}}
@media(max-width:520px){.operations-toolbar{align-items:stretch;flex-direction:column}.operations-toolbar .btn{width:100%}.operations-map-card,.operations-map{min-height:380px;height:380px}.map-legend{right:8px;left:8px;justify-content:center;bottom:8px}.courier-top-actions{gap:5px}.courier-top-actions .btn{min-height:34px}.courier-topbar form .btn{padding:0 8px}}

/* v1.3.4 mobile safe-area, GPS permission and compact courier header */
.courier-topbar{
  height:auto;
  min-height:70px;
  padding-top:calc(10px + env(safe-area-inset-top, 0px));
  padding-right:max(14px, env(safe-area-inset-right, 0px));
  padding-bottom:10px;
  padding-left:max(14px, env(safe-area-inset-left, 0px));
  gap:8px;
}
.courier-brand{min-width:0;flex:1 1 auto;overflow:hidden}
.courier-brand>span:last-child{min-width:0}
.courier-brand b,.courier-brand small{white-space:nowrap}
.courier-top-actions{flex:0 0 auto;min-width:0}
.courier-top-actions form{margin:0}
.courier-gps-card.permission-denied{border-color:#7f1d1d;background:#2a1117}
.courier-gps-card.permission-granted{border-color:#256649}
.courier-gps-card.permission-prompt{border-color:#7b5b18}
#gps-status.gps-error{color:#fca5a5!important;white-space:normal;overflow:visible;max-width:none;line-height:1.45}
#gps-status.gps-ok{color:#86efac!important}
.gps-help{margin-top:5px;color:#e8b36b;font-size:9px;line-height:1.45}
@media(max-width:520px){
  .courier-topbar{padding-right:max(8px, env(safe-area-inset-right, 0px));padding-left:max(8px, env(safe-area-inset-left, 0px));gap:5px}
  .courier-top-actions{gap:4px}
  .courier-top-actions .btn{min-width:32px;height:34px;min-height:34px;padding:0 7px}
  .courier-top-actions form .btn{padding:0 8px;font-size:10px}
  .courier-brand{gap:7px}
  .courier-brand .brand-mark{width:34px;height:34px;min-width:34px;border-radius:10px}
  .courier-brand b{font-size:11px;letter-spacing:.08em}
  .courier-brand small{font-size:7px;margin-top:3px}
}
@media(max-width:380px){
  .courier-brand small{display:none}
  .courier-top-actions .btn{min-width:30px;padding:0 6px}
  .courier-top-actions form .btn{font-size:0;width:32px;padding:0}
  .courier-top-actions form .btn::before{content:'⇥';font-size:16px}
}

/* v1.4.0 notification center & finance */
.courier-bottom-nav{grid-template-columns:repeat(6,1fr)}
.notification-list{display:grid;gap:10px}.notification-card{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;padding:14px 15px;border:1px solid #1d3d61;border-radius:14px;background:#0b1b30;color:#eaf4ff}.notification-card.unread{border-color:#2f80ff;background:linear-gradient(135deg,#102946,#0b1b30)}.notification-card-icon{width:38px;height:38px;border-radius:12px;background:#12365c;display:grid;place-items:center;font-size:18px;font-weight:900;color:#8ec7ff}.notification-card b{font-size:12px}.notification-card p{margin:4px 0 6px;color:#9cb2cb;font-size:11px;line-height:1.45}.notification-card small{color:#6f89a4;font-size:9px}.notification-card-head{display:flex;align-items:center;gap:8px;justify-content:space-between}.notification-settings-grid{align-items:stretch}.finance-value{font-size:21px}.warning-text{color:#fde68a}.finance-big-number{font-size:30px;font-weight:900;letter-spacing:-.03em}.inline-adjust summary{cursor:pointer;color:#8ec7ff;font-size:11px}.inline-adjust form{display:grid;grid-template-columns:130px minmax(160px,1fr) 110px auto;gap:7px;margin-top:9px;min-width:560px}.inline-adjust .input,.inline-adjust .select{min-height:34px;padding-top:6px;padding-bottom:6px;font-size:11px}.admin-notifications{max-width:1050px}.badge-muted{background:#142235;color:#8ca1b8;border:1px solid #2d4056}
@media(max-width:820px){.notification-settings-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.inline-adjust{max-width:100%}.inline-adjust form{grid-template-columns:1fr;min-width:220px}.finance-value{font-size:17px}}
@media(max-width:520px){.courier-bottom-nav{height:76px;padding-left:4px;padding-right:4px}.courier-bottom-nav a small{font-size:7px}.courier-bottom-nav a>span{font-size:16px}.notification-card{grid-template-columns:36px 1fr;padding:12px}.notification-card-icon{width:34px;height:34px}.stats{grid-template-columns:1fr 1fr}.stat-value.finance-value{font-size:15px}}

/* Faz 6: ürün satırı ve 6 sekmeli kurye menüsü mobil optimizasyonu */
@media(max-width:820px){.item-row{grid-template-columns:1fr 78px 100px 36px;align-items:end}.item-row .field:first-child{grid-column:1/-1}.item-row .field:nth-child(4){display:none}.item-row>[data-remove-item]{grid-column:4;grid-row:2}.item-row .field label{display:block;margin-bottom:5px}.courier-bottom-nav{grid-template-columns:repeat(6,1fr)}}
@media(max-width:520px){.item-row{grid-template-columns:1fr 72px 92px 34px}.courier-bottom-nav a small{font-size:6.5px}.courier-bottom-nav a>span{font-size:15px}}

/* v1.8.0 Faz 10 + Faz 11: restoran aktif teslimatlar ve kurye firması dispatch merkezi */
.restaurant-active-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.restaurant-live-card{display:block;background:linear-gradient(180deg,#0d1f35,#0b1b30);border:1px solid var(--line);border-radius:14px;padding:15px;transition:.16s}.restaurant-live-card:hover{border-color:#315f8b;transform:translateY(-1px)}.restaurant-live-card.critical{border-color:#8a313a;box-shadow:0 0 0 1px rgba(239,68,68,.12)}.restaurant-live-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.restaurant-live-head>div{display:grid;gap:3px;min-width:0}.restaurant-live-head b{font-size:13px}.restaurant-live-head small{font-size:10px;color:#7f99b4}.restaurant-live-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:13px}.restaurant-live-meta span{display:grid;gap:3px;padding:9px;background:#081725;border:1px solid #1c3a58;border-radius:9px}.restaurant-live-meta small{font-size:8px;color:#748ba4;text-transform:uppercase;letter-spacing:.06em}.restaurant-live-meta b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-live-note{margin-top:10px;padding:9px 10px;border-radius:9px;background:#37270d;border:1px solid #6c4b17;color:#f9dfa0;font-size:10px}.dispatch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:start}.dispatch-main{min-width:0}.dispatch-board{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:4px}.dispatch-column{background:#091827;border:1px solid #1e3b58;border-radius:14px;min-width:260px}.dispatch-column-head{height:48px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.06)}.dispatch-column-head h3{margin:0;font-size:11px}.dispatch-column-head span{min-width:25px;height:25px;border-radius:999px;background:#133151;display:grid;place-items:center;color:#9fcbfa;font-size:10px;font-weight:800}.dispatch-column-list{display:grid;gap:8px;padding:9px;max-height:calc(100vh - 250px);overflow:auto}.dispatch-order{border:1px solid #1e3d5c;background:#0d2138;border-radius:11px;padding:11px}.dispatch-order.critical{border-color:#7d3038;background:linear-gradient(180deg,#241a25,#0d2138)}.dispatch-order-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.dispatch-order-head>div{display:grid;gap:2px;min-width:0}.dispatch-order-head a{font-size:11px;font-weight:900;color:#dceeff}.dispatch-order-head small{font-size:8.5px;color:#718da8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-order-body{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.dispatch-order-body>div{display:grid;gap:2px;padding:7px;border-radius:8px;background:#081725}.dispatch-order-body small{font-size:7.5px;color:#6f89a3;text-transform:uppercase}.dispatch-order-body b{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dispatch-note{margin-top:8px;padding:7px 8px;border-radius:8px;background:#3a290d;border:1px solid #71501a;color:#f9dfa4;font-size:8.5px;line-height:1.35}.dispatch-order-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:9px}.dispatch-side{display:grid;gap:14px}.dispatch-alerts,.dispatch-couriers{display:grid;max-height:360px;overflow:auto}.dispatch-alert{display:flex;gap:10px;align-items:flex-start;padding:11px 13px;border-bottom:1px solid rgba(255,255,255,.055)}.dispatch-alert:last-child{border-bottom:0}.dispatch-alert>span{width:24px;height:24px;border-radius:8px;background:#4a1c23;color:#fecaca;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.dispatch-alert>div{display:grid;gap:3px}.dispatch-alert b{font-size:10px}.dispatch-alert small{font-size:9px;color:#9eafc1;line-height:1.35}.success-mini{color:#86efac}.dispatch-courier-row{display:grid;grid-template-columns:10px minmax(0,1fr) 52px 72px;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.055)}.dispatch-courier-row:last-child{border-bottom:0}.dispatch-courier-row>span:not(.courier-state-dot){display:grid;gap:2px;min-width:0}.dispatch-courier-row b{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-courier-row small{font-size:7.5px;color:#6f89a4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.courier-state-dot{width:9px;height:9px;border-radius:50%;background:#64748b}.courier-state-dot.available{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.09)}.courier-state-dot.assigned,.courier-state-dot.going_to_restaurant,.courier-state-dot.at_restaurant,.courier-state-dot.delivering{background:#2f80ff}.courier-state-dot.break{background:#f59e0b}.courier-state-dot.offline{background:#64748b}@media(max-width:1180px){.dispatch-layout{grid-template-columns:1fr}.dispatch-side{grid-template-columns:1fr 1fr}.dispatch-board{grid-template-columns:repeat(3,minmax(270px,1fr))}}@media(max-width:820px){.restaurant-active-grid{grid-template-columns:1fr}.restaurant-live-meta{grid-template-columns:1fr 1fr}.dispatch-side{grid-template-columns:1fr}.dispatch-board{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.dispatch-column{width:min(86vw,360px);flex:0 0 auto;scroll-snap-align:start}.dispatch-column-list{max-height:none}.company-ops-stats{grid-template-columns:1fr 1fr}}@media(max-width:520px){.restaurant-live-meta{grid-template-columns:1fr 1fr}.restaurant-live-head{gap:8px}.restaurant-live-head .badge{font-size:8px}.dispatch-order-body{grid-template-columns:1fr 1fr}.dispatch-courier-row{grid-template-columns:9px minmax(0,1fr) 45px}.dispatch-courier-row>span:last-child{display:none}.dispatch-column{width:88vw}.company-ops-stats{grid-template-columns:1fr 1fr}}

/* v1.9.0 Faz 12: platform entegrasyon merkezi */
.text-danger{color:#fb7185!important}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;overflow-wrap:anywhere;word-break:break-all}
.check{display:flex;align-items:center;gap:8px;min-height:42px;color:#dbeafe}

/* v1.11.0 Faz 14 + Faz 15: entegrasyon sağlık ve otomasyon merkezi */
.success-text{color:#86efac!important}.health-stats .stat-value{font-size:28px}.automation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.automation-card .detail-row{align-items:center}.automation-card code{color:#9fd0ff}.automation-card .field .input{font-size:10px}.health-stats{grid-template-columns:repeat(4,1fr)}
@media(max-width:980px){.automation-grid{grid-template-columns:1fr}.health-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.health-stats{grid-template-columns:1fr 1fr}.automation-card .card-body{padding:14px}.automation-card .field .input{font-size:9px}}

/* Faz 16-17: SaaS, lisans ve güvenlik ekranları */
.input-sm{min-height:34px;padding:7px 9px;font-size:13px}.inline-details{position:relative}.inline-details>summary{list-style:none;cursor:pointer}.inline-details>summary::-webkit-details-marker{display:none}.inline-details[open] .restore-form{display:grid}.restore-form{position:absolute;right:0;top:36px;z-index:40;width:min(340px,82vw);display:grid;gap:8px;padding:12px;background:#0b1728;border:1px solid #29435f;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.35)}

/* Faz 18-19 · Yetki matrisi ve mobil saha dayanıklılığı */
.team-user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-user-card{border:1px solid #1f3d59;border-radius:14px;padding:14px;background:#0a1a2b}.team-user-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.team-user-head>div{display:grid;gap:3px}.team-user-head b{font-size:12px}.team-user-head small{font-size:9px;color:#7892ac}.check-row{display:flex;align-items:center;gap:8px;font-size:10px;color:#b5cbe0}.permission-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px;padding:10px;border:1px solid #1d3b59;border-radius:11px;background:#071725}.permission-matrix.is-muted{opacity:.58}.permission-check{display:flex;align-items:flex-start;gap:7px;padding:7px 8px;border:1px solid rgba(255,255,255,.05);border-radius:8px;font-size:9px;color:#a8bfd5}.permission-check input{margin-top:1px}.courier-system-bar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-8px 0 10px}.connection-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.04em;border:1px solid #285174;background:#0d2842;color:#98c8f5}.connection-chip.online{border-color:#236646;background:#0d2a20;color:#91e7b4}.connection-chip.offline{border-color:#7b3038;background:#2b1419;color:#fecaca}.connection-chip.queued{border-color:#7b5b18;background:#2b220d;color:#fde68a}.pwa-update-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin-bottom:12px;border:1px solid #2f6aa0;border-radius:11px;background:#0d2842;color:#cbe7ff;font-size:9px}.courier-body .delivery-primary-action .btn-lg{min-height:58px;font-size:14px}.courier-body .delivery-navs .btn{min-height:46px}.courier-body form[action="/kurye/order/status"] .btn{touch-action:manipulation}.courier-body textarea,.courier-body select,.courier-body input{font-size:16px}@media(max-width:900px){.team-user-grid{grid-template-columns:1fr}.permission-matrix{grid-template-columns:1fr 1fr}}@media(max-width:520px){.permission-matrix{grid-template-columns:1fr}.courier-system-bar{margin-top:-6px}.pwa-update-banner{align-items:stretch;flex-direction:column}.pwa-update-banner .btn{width:100%}.courier-body .active-delivery-card{padding:16px 13px}.courier-body .delivery-primary-action .btn-lg{min-height:62px;font-size:14px}.courier-body .courier-content{padding-bottom:116px}}

/* Faz 20-21 · koordinat tabanlı harita seçimi */
.map-picker-shell{border:1px solid var(--border,#dfe5ec);border-radius:16px;overflow:hidden;background:#fff}.map-picker-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border,#dfe5ec);flex-wrap:wrap}.map-picker-actions{display:flex;gap:8px;flex-wrap:wrap}.map-picker-canvas{height:330px;min-height:260px;background:#eef2f6}.map-picker-status{font-size:12px;color:#617083}.map-picker-help{padding:10px 12px;font-size:12px;color:#617083;border-top:1px solid var(--border,#dfe5ec)}.location-pill{display:inline-flex;gap:6px;align-items:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef7ff;color:#0b5fb5}.location-pill.ok{background:#eaf8ef;color:#167344}.location-pill.warn{background:#fff7e6;color:#9a6700}.readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.readiness-score{font-size:46px;font-weight:800;letter-spacing:-2px}.readiness-check{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--border,#e7ebf0)}.readiness-check:last-child{border-bottom:0}.readiness-check p{margin:4px 0 0;color:#617083;font-size:13px}.map-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(max-width:900px){.readiness-grid{grid-template-columns:1fr}.map-picker-canvas{height:285px}.map-picker-toolbar{align-items:flex-start}.map-picker-actions{width:100%}.map-picker-actions .btn{flex:1}}

/* v1.15.0 — navigasyon ve operasyon kullanılabilirliği */
.sidebar .nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:24px;scrollbar-width:thin;scrollbar-color:#315a80 transparent}.sidebar .nav::-webkit-scrollbar{width:7px}.sidebar .nav::-webkit-scrollbar-track{background:transparent}.sidebar .nav::-webkit-scrollbar-thumb{background:#315a80;border-radius:12px}.sidebar-foot{flex:0 0 auto;background:linear-gradient(180deg,rgba(7,20,35,0),#071423 22%)}
.map-picker-canvas{position:relative;width:100%;height:430px!important;min-height:320px;isolation:isolate}.map-picker-canvas.leaflet-container{width:100%!important;height:430px!important}.map-picker-shell{position:relative;contain:layout style}.map-picker-shell .leaflet-tile-pane img{max-width:none!important;max-height:none!important}.map-picker-expanded{position:fixed!important;inset:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom)) 8px;z-index:10000;border-radius:16px!important;display:flex;flex-direction:column;background:#0b1b30!important;box-shadow:0 30px 100px rgba(0,0,0,.65)}.map-picker-expanded .map-picker-canvas,.map-picker-expanded .map-picker-canvas.leaflet-container{height:auto!important;min-height:0!important;flex:1}.map-picker-open{overflow:hidden}.map-picker-collapsed{display:none}.map-optional-toggle{margin:6px 0 12px}.map-picker-help strong{color:#dcecff}
@media(max-width:900px){.map-picker-canvas,.map-picker-canvas.leaflet-container{height:360px!important;min-height:300px}.map-picker-expanded{inset:max(4px,env(safe-area-inset-top)) 4px max(4px,env(safe-area-inset-bottom)) 4px}.map-picker-expanded .map-picker-toolbar{padding-top:max(10px,env(safe-area-inset-top))}.sidebar .nav{padding-bottom:90px}}

/* v1.16.0 — onboarding, destek, duyuru ve audit */
.system-announcement{border-width:1px;box-shadow:0 8px 22px rgba(2,8,23,.05)}
.onboarding-hero{margin-bottom:16px}.onboarding-progress-ring{min-width:86px;height:86px;border-radius:50%;border:8px solid rgba(96,165,250,.2);display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.04)}.onboarding-progress-ring b{font-size:20px}.onboarding-progress-ring small{font-size:11px;opacity:.7}.progress-track{height:8px;background:rgba(148,163,184,.18);border-radius:99px;overflow:hidden;margin-top:18px}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#38bdf8,#22c55e);border-radius:99px}.onboarding-list{display:grid;gap:12px}.onboarding-step{display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:14px;padding:18px;text-decoration:none;color:inherit}.onboarding-step:hover{transform:translateY(-1px)}.onboarding-step.done{border-color:rgba(34,197,94,.25)}.onboarding-step-num{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(59,130,246,.12);font-weight:800}.onboarding-step.done .onboarding-step-num{background:rgba(34,197,94,.15);color:#16a34a}.onboarding-step h3{margin:0 0 4px}.onboarding-step p{margin:0;color:var(--muted)}.onboarding-arrow{font-size:22px;opacity:.55}
.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.help-card{padding:20px;text-decoration:none;color:inherit}.help-card .help-icon{width:38px;height:38px;border-radius:10px;background:rgba(59,130,246,.12);display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}.help-card h3{margin:0 0 8px}.help-card p{margin:0 0 14px;color:var(--muted);line-height:1.55}.help-card span{font-size:13px;font-weight:700}.faq-list details{border-bottom:1px solid var(--border);padding:12px 0}.faq-list details:last-child{border-bottom:0}.faq-list summary{cursor:pointer;font-weight:700}.faq-list p{color:var(--muted);line-height:1.55}
.support-detail-grid{align-items:start}.support-thread{display:flex;flex-direction:column;gap:10px}.support-message{max-width:86%;padding:13px 15px;border:1px solid var(--border);border-radius:14px;background:var(--card);box-shadow:0 6px 18px rgba(2,8,23,.04)}.support-message.mine{margin-left:auto;border-color:rgba(59,130,246,.25);background:rgba(59,130,246,.06)}.support-message.internal{border-style:dashed;background:rgba(245,158,11,.07)}.support-message-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.support-message-head small{color:var(--muted)}.support-message p{margin:0;line-height:1.55}.check-row{display:flex;align-items:center;gap:8px;margin-top:10px}.audit-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.audit-filter .form-actions{grid-column:1/-1}
@media(max-width:760px){.help-grid{grid-template-columns:1fr}.onboarding-progress-ring{min-width:72px;height:72px}.onboarding-step{grid-template-columns:42px 1fr 18px;padding:14px}.audit-filter{grid-template-columns:1fr}.support-message{max-width:96%}}
/* v1.17 · canlı konum, bildirim çekmecesi, white-label */
.live-location-map{height:360px;min-height:300px;border-radius:14px;overflow:hidden;background:#0b1728}.restaurant-courier-map-card .card-head small{color:var(--muted,#8292a6)}
.notification-drawer{position:fixed;z-index:1200;top:72px;right:18px;width:min(390px,calc(100vw - 24px));max-height:70vh;background:#0b1728;border:1px solid rgba(255,255,255,.12);border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.5);overflow:hidden}.notification-drawer[hidden]{display:none}.notification-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}.notification-drawer-list{max-height:52vh;overflow:auto;padding:8px}.notification-drawer-item{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:12px;color:inherit;text-decoration:none}.notification-drawer-item:hover{background:rgba(255,255,255,.06)}.notification-drawer-item small{color:#93a4b8}.notification-drawer-source{font-size:11px;font-weight:700;color:#60a5fa;text-transform:uppercase;letter-spacing:.03em}.notification-drawer-foot{display:block;padding:12px 16px;border-top:1px solid rgba(255,255,255,.08);text-align:center;text-decoration:none;font-weight:700}.brand-logo-img{width:34px;height:34px;object-fit:contain;border-radius:8px}.white-label-preview{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:14px}.white-label-preview img{width:56px;height:56px;object-fit:contain}.white-label-preview div{display:flex;flex-direction:column;gap:4px}.legal-editor{min-height:300px}.legal-body{white-space:normal;line-height:1.7;color:#d6e0ec}.courier-gps-card .form-actions{align-items:center}.gps-status{font-size:13px;color:#94a3b8}.gps-status.gps-ok{color:#5ee3a0}.gps-status.gps-error{color:#ff7e8a}
@media(max-width:720px){.notification-drawer{top:calc(env(safe-area-inset-top) + 62px);right:8px;width:calc(100vw - 16px)}.live-location-map{height:300px}}

/* v1.18 Operasyon mesajları */
.order-message-list{max-height:320px;overflow:auto;display:flex;flex-direction:column;gap:10px;margin-top:12px}
.order-message-item{padding:11px 12px;border:1px solid rgba(148,163,184,.17);border-radius:12px;background:rgba(15,23,42,.48)}
.order-message-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.order-message-meta b{font-size:13px}.order-message-meta span{font-size:11px;color:#94a3b8}.order-message-text{white-space:pre-wrap;line-height:1.45;font-size:13px;color:#e5edf8}
.courier-body .order-message-item{background:rgba(255,255,255,.045)}

/* v1.18 Akıllı Dispatch / paket birleştirme / darboğaz */
.smart-dispatch-box,.bundle-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:12px;margin-top:10px}
.smart-dispatch-box{background:rgba(37,99,235,.12);border:1px solid rgba(96,165,250,.24)}.bundle-suggestion{background:rgba(16,185,129,.09);border:1px solid rgba(52,211,153,.22)}
.smart-dispatch-box>div,.bundle-suggestion>div{display:flex;flex-direction:column;gap:2px;min-width:0}.smart-dispatch-box small,.bundle-suggestion small{font-size:10px;letter-spacing:.08em;color:#93c5fd}.bundle-suggestion small{color:#6ee7b7}.smart-dispatch-box b,.bundle-suggestion b{font-size:12px}.smart-dispatch-box span,.bundle-suggestion span{font-size:11px;color:#94a3b8;line-height:1.35}
.map-layer-actions{display:flex;gap:6px;flex-wrap:wrap}.dispatch-bottlenecks{display:flex;flex-direction:column;gap:8px;padding:12px}.bottleneck-row{display:flex;justify-content:space-between;gap:10px;padding:10px;border-radius:10px;border:1px solid rgba(148,163,184,.14);background:rgba(15,23,42,.38)}.bottleneck-row>div{display:flex;flex-direction:column;gap:3px}.bottleneck-row b{font-size:12px}.bottleneck-row small{font-size:11px;color:#94a3b8}.bottleneck-row>span{align-self:flex-start;font-size:10px;font-weight:700;padding:4px 7px;border-radius:999px;background:rgba(148,163,184,.12)}.bottleneck-row.level-critical{border-color:rgba(248,113,113,.36);background:rgba(127,29,29,.14)}.bottleneck-row.level-high{border-color:rgba(251,146,60,.30);background:rgba(124,45,18,.12)}.bottleneck-row.level-medium{border-color:rgba(250,204,21,.25);background:rgba(113,63,18,.10)}

/* v1.19.0 — açık/koyu tema, mobil UX, hızlı arama, kurye sağlık */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f7fb;--surface:#ffffff;--surface-2:#f6f9fd;--surface-3:#edf3f9;--line:#dce5ef;
  --text:#102033;--muted:#66788d;--shadow:0 14px 40px rgba(31,55,78,.10);--border:#dce5ef;--card:#ffffff;
}
html[data-theme="light"] body{background:#f4f7fb;color:#102033}
html[data-theme="light"] .sidebar{background:linear-gradient(180deg,#ffffff,#f3f7fb);border-color:#dce5ef;box-shadow:8px 0 30px rgba(30,55,80,.04)}
html[data-theme="light"] .brand{border-color:#e4ebf2}html[data-theme="light"] .brand small{color:#4a78a8}
html[data-theme="light"] .nav-item{color:#51677e}html[data-theme="light"] .nav-item:hover{background:#edf4fb;color:#102033}
html[data-theme="light"] .nav-item.active{background:linear-gradient(90deg,#dcecff,#eef6ff);color:#174f91;border-color:#bfd8f3}
html[data-theme="light"] .nav-icon{background:#e8f0f8}html[data-theme="light"] .sidebar-foot{background:linear-gradient(180deg,rgba(244,247,251,0),#f3f7fb 22%)}
html[data-theme="light"] .version{color:#7b8ea2;border-color:#e2e9f0}
html[data-theme="light"] .topbar{background:rgba(255,255,255,.92);border-color:#dce5ef;box-shadow:0 5px 20px rgba(31,55,78,.04)}
html[data-theme="light"] .page-head p,html[data-theme="light"] .muted-text,html[data-theme="light"] .muted{color:#6d8094}
html[data-theme="light"] .avatar{background:#e4f0fc;border-color:#c5d9ef;color:#245e9c}
html[data-theme="light"] .footer{border-color:#dce5ef;color:#74889d}
html[data-theme="light"] .card{background:#fff;border-color:#dce5ef;box-shadow:var(--shadow)}
html[data-theme="light"] .card-head{border-color:#e7edf3}
html[data-theme="light"] .hero{background:radial-gradient(circle at 92% 8%,rgba(47,128,255,.10),transparent 32%),linear-gradient(135deg,#fff,#f1f7fd);border-color:#cbdff3}
html[data-theme="light"] .hero p{color:#61768b}
html[data-theme="light"] .stat-label,html[data-theme="light"] .stat-sub{color:#71869b}
html[data-theme="light"] .btn-secondary{background:#e9f2fb;color:#204a73;border-color:#c7d9ea}
html[data-theme="light"] .btn-ghost{background:#fff;color:#38556f;border-color:#d3dee8}
html[data-theme="light"] .btn-danger{background:#fff1f2;color:#b42335;border-color:#fecdd3}
html[data-theme="light"] .btn-success{background:#ecfdf3;color:#18794e;border-color:#b7ebcd}
html[data-theme="light"] .btn-warning{background:#fff8e7;color:#906313;border-color:#f2d28b}
html[data-theme="light"] .input,html[data-theme="light"] .select,html[data-theme="light"] .textarea{background:#fff;color:#102033;border-color:#ccd8e4}
html[data-theme="light"] .select option{background:#fff;color:#102033}
html[data-theme="light"] .field label{color:#5e7388}html[data-theme="light"] .field small{color:#7a8da0}
html[data-theme="light"] .form-actions{border-color:#e5ebf1}
html[data-theme="light"] .table th{color:#687d91;border-color:#e4ebf2}html[data-theme="light"] .table td{color:#263b50;border-color:#e8eef4}
html[data-theme="light"] .table .strong{color:#102033}html[data-theme="light"] .table .muted{color:#77899b}html[data-theme="light"] .table tbody tr:hover{background:#f6f9fc}
html[data-theme="light"] .badge-info{color:#245b91;background:#e7f2fd;border-color:#c7dff6}html[data-theme="light"] .badge-success{color:#197247;background:#e8f8ef;border-color:#bce6cc}
html[data-theme="light"] .badge-warning{color:#8a5b09;background:#fff5d9;border-color:#f2d286}html[data-theme="light"] .badge-danger{color:#aa2938;background:#fff0f1;border-color:#f2c5ca}html[data-theme="light"] .badge-muted{color:#637588;background:#edf1f5;border-color:#d9e1e9}
html[data-theme="light"] .alert-info{background:#edf6ff;border-color:#c7def4;color:#244e75}html[data-theme="light"] .alert-success{background:#edf9f2;border-color:#bee5cd;color:#21623f}
html[data-theme="light"] .alert-warning{background:#fff8e7;border-color:#edd18d;color:#785716}html[data-theme="light"] .alert-danger{background:#fff1f2;border-color:#f0c4c8;color:#8f2732}
html[data-theme="light"] .detail-row{border-color:#e7edf3}html[data-theme="light"] .detail-row span:first-child{color:#718599}
html[data-theme="light"] .timeline-item:before{background:#d5e0ea}html[data-theme="light"] .timeline-dot{background:#5594d0;border-color:#fff;box-shadow:0 0 0 1px #b5cce1}html[data-theme="light"] .timeline-content p{color:#75889b}
html[data-theme="light"] .info-strip{background:#d9e4ee;border-color:#d9e4ee}html[data-theme="light"] .info-cell{background:#fff}html[data-theme="light"] .info-cell small{color:#718599}
html[data-theme="light"] .order-summary{background:#f7f9fc;border-color:#d8e3ed}html[data-theme="light"] .summary-line{color:#65798c}html[data-theme="light"] .summary-line.total{color:#102033;border-color:#dbe4ed}
html[data-theme="light"] .notification-drawer{background:#fff;border-color:#d7e1ea;box-shadow:0 24px 70px rgba(31,55,78,.22)}
html[data-theme="light"] .notification-drawer-head,html[data-theme="light"] .notification-drawer-foot{border-color:#e4ebf1}html[data-theme="light"] .notification-drawer-item:hover{background:#f2f6fa}html[data-theme="light"] .notification-drawer-item small{color:#6c8093}
html[data-theme="light"] .app-toast{background:#fff!important;color:#102033!important;border-color:#d5e0ea!important}
html[data-theme="light"] .order-message-item{background:#f7f9fc;border-color:#dce5ee}html[data-theme="light"] .order-message-text{color:#253a4e}html[data-theme="light"] .order-message-meta span{color:#75889c}
html[data-theme="light"] .smart-dispatch-box{background:#eff6ff;border-color:#c6dcf6}html[data-theme="light"] .bundle-suggestion{background:#effbf5;border-color:#c4ead5}
html[data-theme="light"] .smart-dispatch-box span,html[data-theme="light"] .bundle-suggestion span{color:#60758a}
html[data-theme="light"] .bottleneck-row{background:#f8fafc;border-color:#dde6ee}html[data-theme="light"] .bottleneck-row small{color:#6f8295}
html[data-theme="light"] .bottleneck-row.level-medium{background:#fff9e9}html[data-theme="light"] .bottleneck-row.level-high{background:#fff4ec}html[data-theme="light"] .bottleneck-row.level-critical{background:#fff0f1}
html[data-theme="light"] .live-location-map{background:#e9eef4}
html[data-theme="light"] .map-picker-expanded{background:#fff!important}

/* Courier light mode */
html[data-theme="light"] .courier-body{background:#eef3f8}
html[data-theme="light"] .courier-shell{background:linear-gradient(180deg,#f7faff,#eef4f9);border-color:#d8e3ed}
html[data-theme="light"] .courier-topbar{background:rgba(255,255,255,.95);border-color:#d7e2ec;box-shadow:0 6px 20px rgba(31,55,78,.05)}
html[data-theme="light"] .courier-brand{color:#12283d}html[data-theme="light"] .courier-brand small{color:#3677b7}
html[data-theme="light"] .courier-page-head h1{color:#102033}html[data-theme="light"] .courier-page-head p{color:#708497}
html[data-theme="light"] .courier-status-card{background:linear-gradient(135deg,#fff,#edf5fc);border-color:#c9ddeb}html[data-theme="light"] .courier-status-card.online{background:linear-gradient(135deg,#f2fbf6,#eaf8f0);border-color:#b9dfca}
html[data-theme="light"] .courier-status-card p{color:#6d8194}html[data-theme="light"] .courier-status-card small{color:#607c98}
html[data-theme="light"] .courier-stats>div{background:#fff;border-color:#d7e2ec;box-shadow:0 8px 22px rgba(31,55,78,.05)}html[data-theme="light"] .courier-stats small{color:#6f8397}html[data-theme="light"] .courier-stats b{color:#102033}
html[data-theme="light"] .courier-gps-card{background:#fff;border-color:#c7dce9}html[data-theme="light"] .gps-status{color:#637b92}
html[data-theme="light"] .courier-empty-card{background:#fff;border-color:#cbdbe9}html[data-theme="light"] .courier-empty-card p{color:#6d8398}
html[data-theme="light"] .active-delivery-card{background:linear-gradient(150deg,#fff,#f1f7fd 68%);border-color:#bcd8f0;box-shadow:0 16px 38px rgba(31,75,115,.10)}
html[data-theme="light"] .delivery-head small{color:#3a78af}html[data-theme="light"] .route-stop small{color:#62809b}html[data-theme="light"] .route-stop p{color:#647c92}html[data-theme="light"] .route-line{border-color:#b6cadb}
html[data-theme="light"] .delivery-meta>div{background:#f8fbfe;border-color:#d5e2ed}html[data-theme="light"] .delivery-meta small{color:#718599}
html[data-theme="light"] .courier-note{background:#fff;border-color:#d5e1eb;color:#62788c}html[data-theme="light"] .courier-note b{color:#315d84}
html[data-theme="light"] .courier-order-row{background:#fff;border-color:#d7e2ec;color:#102033}html[data-theme="light"] .courier-order-row small{color:#718598}
html[data-theme="light"] .courier-profile-card{background:linear-gradient(135deg,#fff,#f0f6fc);border-color:#c8ddeb}html[data-theme="light"] .courier-profile-card p{color:#6d8295}
html[data-theme="light"] .courier-products>div{border-color:#e4ebf2}html[data-theme="light"] .courier-products small{color:#647a90}
html[data-theme="light"] .courier-bottom-nav{background:rgba(255,255,255,.97);border-color:#d5e1eb;box-shadow:0 -10px 30px rgba(31,55,78,.08)}
html[data-theme="light"] .courier-bottom-nav a{color:#6b8095}html[data-theme="light"] .courier-bottom-nav a.active{color:#1763ad;background:#e7f2fd}
html[data-theme="light"] .courier-system-bar .connection-chip{background:#e8f3fe;color:#356992;border-color:#c9def1}
html[data-theme="light"] .courier-body .order-message-item{background:#f7f9fc}

.theme-toggle{font-size:18px}.icon-only{position:relative;min-width:38px;padding:0 10px}
.btn-call{margin-top:6px;min-height:34px!important;background:#eaf6ef;color:#83efb2;border:1px solid #2b6f4b;white-space:nowrap}
html[data-theme="light"] .btn-call{background:#eaf8f0;color:#176c43;border-color:#b8dfc8}
.inline-call{display:flex;margin-top:6px}.inline-call .btn-call{margin-top:0}
.info-cell .btn-call{margin-top:8px;width:max-content}
.courier-health-table td{vertical-align:top}.courier-health-stats{margin-top:16px}

/* Mobil kullanım: daha büyük dokunma alanları, okunur alt navigasyon ve kart ritmi */
.courier-bottom-nav{height:88px;grid-template-columns:repeat(6,minmax(0,1fr));padding:7px max(6px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-bottom));gap:3px}
.courier-bottom-nav a{min-width:0;min-height:66px;padding:5px 2px;gap:5px;border-radius:13px;touch-action:manipulation}
.courier-bottom-nav a>span{font-size:21px;line-height:1}.courier-bottom-nav a small{font-size:9px;line-height:1.05;text-align:center;white-space:normal;max-width:100%;font-weight:800}
.courier-content{padding-bottom:132px}.courier-body{padding-bottom:98px}
.courier-top-actions{display:flex;align-items:center;gap:7px}.courier-top-actions .btn{min-height:40px}.courier-top-actions .icon-only{min-width:40px}
.courier-body .btn{touch-action:manipulation}.courier-body .btn:not(.btn-xs){min-height:44px}.courier-body .btn-call{min-height:38px}
.active-delivery-card{border-radius:22px}.delivery-route{padding:4px 0}.route-stop{gap:12px}.route-stop b{font-size:14px}.route-stop p{font-size:11px}.delivery-meta>div{padding:13px}.delivery-meta b{font-size:13px}
.courier-status-card,.courier-gps-card,.courier-profile-card{box-shadow:0 10px 28px rgba(0,0,0,.10)}

@media(max-width:900px){
  .content{padding:18px 14px}.topbar{min-height:70px;height:auto;padding:10px 14px;gap:10px}.page-head{min-width:0}.page-head h1{font-size:18px}.page-head p{max-width:42vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .top-actions{gap:7px}.top-actions .btn{min-height:40px}.top-actions .icon-only{min-width:40px}.user-meta{display:none}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2,.grid-3,.panel-grid{grid-template-columns:1fr}.info-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-toolbar{align-items:stretch;flex-direction:column}.toolbar-left,.toolbar-right{width:100%}.report-date-form{flex-wrap:wrap}
  .detail-row{gap:12px}.table-actions{justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:560px){
  .courier-topbar{height:68px;padding:0 10px}.courier-brand b{font-size:12px}.courier-brand small{font-size:7px}.courier-avatar{width:40px;height:40px;border-radius:12px}
  .courier-top-actions{gap:4px}.courier-top-actions .btn{min-height:38px;padding:0 9px}.courier-top-actions .icon-only{min-width:38px}
  .courier-top-actions form .btn{font-size:0;min-width:38px;padding:0}.courier-top-actions form .btn:after{content:"⇥";font-size:18px;line-height:1}
  .courier-content{padding:15px 11px 132px}.courier-page-head{margin-bottom:14px}.courier-page-head h1{font-size:20px}
  .courier-stats{gap:7px}.courier-stats>div{padding:13px 9px;border-radius:14px}.courier-stats small{font-size:7.5px}.courier-stats b{font-size:15px}
  .courier-bottom-nav{height:90px;padding-left:3px;padding-right:3px}.courier-bottom-nav a{min-height:68px;padding:5px 1px}.courier-bottom-nav a>span{font-size:20px}.courier-bottom-nav a small{font-size:8px!important;letter-spacing:-.02em}
  .active-delivery-card{padding:17px 13px}.delivery-head{margin-bottom:18px}.delivery-meta{gap:7px}.delivery-meta>div{padding:11px 9px}
  .delivery-navs{grid-template-columns:1fr 1fr}.delivery-navs .btn{padding:0 9px;font-size:11px}.delivery-primary-action .btn-lg{min-height:62px!important}
  .detail-row{align-items:flex-start}.detail-row span:last-child{max-width:68%}.btn-call{font-size:10px;padding:0 9px}
  .info-strip{grid-template-columns:1fr 1fr}.info-cell{padding:12px}.card-head,.card-body{padding-left:14px;padding-right:14px}
}
