:root{font-family:Inter,system-ui,sans-serif;color:#24143d;background:#f6f4fa;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:#6515d6;text-decoration:none}header{display:flex;align-items:center;gap:40px;padding:20px 4%;background:#fff;border-bottom:1px solid #e5ddf0;position:sticky;top:0;z-index:1}.brand{font-weight:850;font-size:20px;letter-spacing:1px;color:#281047}.brand span{font-weight:400;font-size:13px}nav{display:flex;gap:24px;flex:1}nav a{color:#6c607d}main{max-width:1440px;margin:auto;padding:35px 4%}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:#6515d6}h1{font-size:34px;letter-spacing:-1px;margin:8px 0}h2{font-size:21px;margin:0 0 14px}h3{font-size:16px}p{color:#766a86;line-height:1.6}.badge,.status{display:inline-block;border-radius:30px;padding:6px 11px;background:#eee4fc;color:#5b16b8;font-size:11px;font-weight:700}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:30px 0}.cards article{padding:22px;background:#fff;border:1px solid #e6ddf0;border-radius:12px}.cards p{margin:0 0 8px}.cards strong{font-size:32px}section{padding:25px;background:white;border:1px solid #e6ddf0;border-radius:12px;margin:20px 0;scroll-margin-top:90px}.section-title{display:flex;justify-content:space-between;align-items:center}.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}label{display:block;color:#6c607d;font-size:12px;margin-bottom:12px}input,select{display:block;width:100%;min-width:120px;padding:11px;border:1px solid #dcd0ed;border-radius:7px;margin-top:6px;background:white;color:#281047;font:inherit}.filters label{margin:0;flex:1;min-width:120px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;min-width:0}button{border:0;border-radius:7px;padding:12px 18px;background:#6515d6;color:white;cursor:pointer;font-weight:650;white-space:nowrap}.secondary{background:#f0e9fa;color:#594076}.danger{background:#ad493f}.scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#faf7fe;color:#7e6a96;font-weight:500;white-space:nowrap}td,th{padding:14px 12px;border-bottom:1px solid #f0eaf7}td{vertical-align:top}.assigned{background:#e9e8fa;color:#6355a6}.picked_up{background:#fff0d9;color:#96722c}.cancelled{background:#fae7e3;color:#ad493f}.empty{padding:30px;text-align:center;color:#92839f}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:50px}.notice{padding:14px 20px;background:#fff3dc;border-radius:7px;color:#785b26}details{border-top:1px solid #ebe3f4;padding:18px 0}summary{cursor:pointer;font-weight:650}.inline{display:flex;gap:6px}.inline button{padding:7px 10px;font-size:11px}footer{padding:25px;text-align:center;color:#9485a2;font-size:12px}.login{max-width:460px;margin:10vh auto;background:white;border:1px solid #e6ddf0;border-radius:16px;padding:35px}.login h1{font-size:28px}.login button{width:100%}@media(max-width:800px){header{flex-wrap:wrap;gap:15px;position:static}nav{order:3;width:100%;overflow:auto;gap:18px}.heading{align-items:start;flex-direction:column}h1{font-size:28px}.cards{grid-template-columns:1fr 1fr}.two-col{grid-template-columns:1fr;gap:15px}section{padding:18px}.filters label{min-width:140px}.inline{flex-direction:column}}
pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.65 ui-monospace,monospace;background:#f6f1fc;padding:16px;border-radius:8px;color:#584074}
.section-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto;flex-wrap:wrap}@media(max-width:600px){.section-actions{width:100%;gap:12px}}
.restaurant-picker{border:1px solid #dcd0ed;border-radius:8px;padding:16px;margin:18px 0}.restaurant-picker legend{font-weight:650}.restaurant-picker .check{padding:8px 0;margin:0;font-size:14px}.selection-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.selection-actions button{font-size:12px;padding:10px}.restaurant-picker{max-height:320px;overflow:auto}
dialog{width:min(580px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:26px;border:1px solid #e6ddf0;border-radius:14px;color:#24143d;box-shadow:0 24px 80px #28104730}dialog::backdrop{background:#24103d80}body:has(dialog[open]){overflow:hidden}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.modal-heading h2{margin:0}.modal-heading button{font-size:22px;padding:6px 14px}dialog form>button{width:100%}@media(max-width:600px){dialog{padding:20px}.modal-heading h2{font-size:20px}.section-title>button{width:100%}}
@media(max-width:600px){td[data-label]>form{grid-column:2}}
nav a{padding:10px 12px;border-radius:8px;white-space:nowrap}nav{gap:4px;flex-wrap:wrap}nav a[aria-current="page"]{background:#eee4fc;color:#6515d6;font-weight:700}header{gap:24px}.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:7px;font-weight:650;min-height:44px}button,input,select{min-height:44px}input[type="hidden"]{display:none}input[type="checkbox"]{min-height:20px;width:20px;height:20px}.access-state{margin:0 0 8px;font-weight:650}section>form:not(.filters){max-width:640px}td{overflow-wrap:anywhere}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ac72ef;outline-offset:3px}.notice{overflow-wrap:anywhere}.page-overview .scroll table{min-width:620px}.section-title{gap:16px}
@media(max-width:1100px){header{flex-wrap:wrap}header nav{order:3;flex-basis:100%}header>form{margin-left:auto}}
@media(max-width:600px){main{padding:22px 16px;min-width:0}header{padding:14px 16px;gap:12px}header nav{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:6px}nav a{font-size:13px;padding:11px 8px;background:#f6f1fc}h1{font-size:28px}h2{font-size:20px}.cards{gap:10px;margin:20px 0}.cards article{padding:16px 12px}.cards strong{font-size:28px}.cards p{font-size:12px}.heading{gap:10px}.heading p{margin:8px 0}.filters{display:grid;grid-template-columns:1fr;align-items:stretch}.filters label{min-width:0}.filters button,.filters .button{width:100%}section{padding:18px 14px;margin:16px 0;min-width:0}.section-title{align-items:flex-start;flex-direction:column}.inline{gap:8px}.inline button{padding:11px 12px;font-size:12px;white-space:normal}button{white-space:normal}.login{margin:6vh 16px;padding:24px;max-width:none}.page-orders .scroll,.page-couriers .scroll,.page-restaurants .scroll,.page-notifications .scroll{overflow:visible}.page-orders table,.page-couriers table,.page-restaurants table,.page-notifications table{display:block}.page-orders tr,.page-couriers tr,.page-restaurants tr,.page-notifications tr{display:block;padding:12px 0;border-bottom:1px solid #e6ddf0}.page-orders thead,.page-couriers tr:has(th),.page-restaurants tr:has(th),.page-notifications tr:has(th),.page-orders tr:has(th){display:none}td[data-label]{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:8px 0;border:0}td[data-label]::before{content:attr(data-label);font-size:12px;font-weight:650;color:#7e6a96}td[data-label]>form{min-width:0}td[colspan]{display:block;border:0}.page-overview .scroll{margin-right:-4px}summary{line-height:1.6;overflow-wrap:anywhere}.two-col{gap:16px}}
.menu-toggle{display:none}
@media(max-width:800px){
 header{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:12px 16px}
 .brand{font-size:19px}.brand span{font-size:11px}
 .menu-toggle{display:flex;align-items:center;gap:8px;margin-left:auto;padding:8px 12px;min-height:44px}.menu-icon{font-size:22px;line-height:1}
 header nav{display:none;order:3;flex:0 0 100%;width:100%;overflow:visible}
 header>form{display:none;order:4;width:100%;margin:0}
 header.menu-open nav{display:flex;flex-direction:column;gap:6px;padding-top:8px;max-height:60dvh;overflow:auto}
 header.menu-open nav a{width:100%;font-size:14px;padding:13px 14px;white-space:normal}
 header.menu-open>form{display:block;border-top:1px solid #e6ddf0;padding-top:12px}
 header.menu-open>form button{width:100%}
 main{padding:24px 16px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cards article{min-width:0;padding:18px 14px}.cards p{overflow-wrap:anywhere}.cards strong{font-size:30px}
 input,select{font-size:16px;min-width:0}.check input{flex-shrink:0}.section-title h2{margin-bottom:0}.section-actions{gap:14px}.section-actions a{padding:12px 0;min-height:44px}
}
@media(max-width:600px){
 .page-orders tr:has(td[data-label]),.page-restaurants tr:has(td[data-label]),.page-couriers tr:has(td[data-label]),.page-notifications tr:has(td[data-label]){background:#faf7fe;border:1px solid #e6ddf0;border-radius:10px;padding:14px;margin:12px 0}
 td[data-label]{grid-template-columns:minmax(80px,35%) minmax(0,1fr);gap:10px;align-items:start}
 td[data-label]>form{grid-column:2}.section-actions{justify-content:flex-end}.section-actions button{padding:12px 14px}
 dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px 16px}.selection-actions{gap:6px}.selection-actions button{flex:1}
}
@media(max-width:360px){.cards{grid-template-columns:1fr}.section-actions{flex-wrap:wrap}.section-actions button{width:100%}}

.page-restaurants details>.scroll{width:100%;max-width:none}.page-restaurants details table{width:100%;max-width:none}.restaurant-delete{display:flex;justify-content:flex-end;margin:12px 0 20px}
/* Restaurant management */
.restaurant-list>.section-title{align-items:center;flex-wrap:wrap}.restaurant-card{border:1px solid #e6ddf0;border-radius:12px;padding:0;margin-top:14px;overflow:hidden}.restaurant-card>summary{display:flex;align-items:center;gap:12px;padding:20px;list-style:none;background:#fcfaff}.restaurant-card>summary::-webkit-details-marker{display:none}.restaurant-card>summary::before{content:'›';font-size:24px;color:#6515d6;line-height:1}.restaurant-card[open]>summary::before{transform:rotate(90deg)}.restaurant-card>summary>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}.restaurant-card>summary .status{flex-shrink:0}.restaurant-content{padding:24px}.restaurant-form{width:100%;max-width:none!important}.restaurant-fields{display:grid;grid-template-columns:1fr 1.5fr;gap:20px}.restaurant-form label{font-size:13px;margin:0}.restaurant-form input{margin-top:8px;min-width:0}.restaurant-form small{display:block;margin-top:8px;line-height:1.5;color:#82718f}.routing-settings{border:1px solid #e6ddf0;border-radius:10px;padding:20px;margin:24px 0;display:grid;grid-template-columns:1fr 1.5fr;gap:24px;min-width:0}.routing-settings legend{font-weight:700;padding:0 8px}.dedicated-settings{min-width:0}.dedicated-settings p{margin:8px 0 16px;font-size:13px}.dedicated-settings .check{margin-bottom:12px;line-height:1.5}.dedicated-settings input[type=checkbox]{margin-top:0}.restaurant-save{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px}.restaurant-team{border-top:1px solid #eee7f5;padding-top:24px;width:100%;min-width:0}.restaurant-team .scroll{width:100%;max-width:none}.restaurant-team .section-title{margin-bottom:16px;flex-wrap:wrap}.restaurant-team h3{margin:0}.restaurant-team .empty{background:#faf7fe;border-radius:10px;padding:22px;margin:0}.restaurant-danger{border-top:1px solid #eee7f5;margin-top:24px;padding-top:20px;display:flex;gap:24px;justify-content:space-between;align-items:center}.restaurant-danger p{margin:0;max-width:650px;font-size:12px}.restaurant-danger .danger{background:#fff0ed;color:#a83d33;border:1px solid #efcbc6}.restaurant-danger form{flex-shrink:0}.restaurant-team .inline{flex-wrap:wrap}.restaurant-team td{vertical-align:middle}[hidden]{display:none!important}
@media(max-width:800px){.restaurant-fields,.routing-settings{grid-template-columns:1fr}.restaurant-fields{gap:18px}.routing-settings{gap:22px;padding:18px}.restaurant-content{padding:18px}.restaurant-card>summary{padding:16px}.restaurant-danger{align-items:stretch;flex-direction:column;gap:12px}.restaurant-danger button{width:100%}.restaurant-save{align-items:stretch;flex-direction:column;gap:18px}.restaurant-save>button{width:100%}}
@media(max-width:600px){.restaurant-list>.section-title{align-items:stretch;gap:14px}.restaurant-list>.section-title>button{width:100%}.restaurant-team .section-title{align-items:stretch;gap:12px}.restaurant-team .section-title>button{width:100%}.restaurant-team td[data-label]{display:flex;flex-direction:column;gap:6px}.restaurant-team td[data-label]::before{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#82718f}.restaurant-team .inline{flex-direction:row;gap:8px}.restaurant-team .inline>button,.restaurant-team .inline>form{flex:1}.restaurant-team .inline button{width:100%;white-space:normal;min-height:44px}.restaurant-team tr:has(td[data-label]){margin:0 0 12px}.restaurant-team .scroll{overflow:visible}}
.notification-section>.section-title{flex-wrap:wrap}.notification-section #notification-selection{max-width:none}.notification-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #eee7f5;border-bottom:1px solid #eee7f5;margin:20px 0}.notification-toolbar .check{margin:0;font-size:13px;min-height:44px}.notification-selected{display:flex;align-items:center;gap:14px;font-size:13px}.notification-list{display:grid;gap:12px}.notification-card{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #e6ddf0;border-radius:12px;padding:20px;background:#fff}.notification-checkbox{margin:0;align-self:start}.notification-checkbox input{margin:0}.notification-title{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.notification-title strong{font-size:14px}.notification-id{font-size:12px;color:#82718f}.notification-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;color:#82718f;font-size:12px}.notification-error{margin:12px 0 0;padding:10px 12px;border-left:3px solid #e4ad65;background:#fff8ee;border-radius:0 6px 6px 0;color:#78552b;font-size:13px;overflow-wrap:anywhere;line-height:1.5}.notification-card:has([data-notification-select]:checked){border-color:#a976ec;background:#fcf9ff}.notification-retry{margin:0}
@media(max-width:600px){.notification-section{padding:16px}.notification-section h2{font-size:19px}.notification-toolbar{align-items:stretch;flex-direction:column;gap:8px}.notification-selected{justify-content:space-between;flex-wrap:wrap}.notification-selected button{flex:1}.notification-card{grid-template-columns:24px minmax(0,1fr);gap:12px;padding:16px}.notification-title{gap:6px;align-items:start}.notification-title strong{flex-basis:100%;font-size:15px}.notification-title .notification-id{font-size:11px}.notification-retry{grid-column:2}.notification-retry button{width:100%}.notification-error{padding:10px;font-size:13px}.notification-section>p{font-size:13px}}
.page-notifications main{padding-top:20px}.notification-section>.section-title{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px}.notification-section>.section-title h2{margin:0;min-width:0}.notification-section>.section-title>.status{margin-left:auto;flex-shrink:0}
@media(max-width:600px){.notification-section>.section-title h2{font-size:18px}.notification-section>.section-title>.status{font-size:10px;padding:6px 8px}.notification-card{grid-template-columns:minmax(0,1fr);gap:12px}.notification-checkbox{grid-column:1;width:100%;min-height:24px}.notification-content{grid-column:1;width:100%;min-width:0}.notification-title,.notification-meta,.notification-error{width:100%}.notification-retry{grid-column:1;width:100%}.notification-title strong{font-size:15px}}
.notification-load-more{margin-top:20px;text-align:center}.notification-load-more button{min-width:180px}@media(max-width:600px){.notification-load-more button{width:100%}}
.page-couriers main{padding-top:20px}.courier-group-form{display:flex;align-items:flex-end;gap:12px;max-width:520px!important}.courier-group-form label{flex:1;min-width:0;margin:0}.courier-group-form input{min-width:0}.courier-group-form button{flex-shrink:0}.courier-section>.section-title{flex-wrap:nowrap;gap:10px}.courier-section>.section-title h2{margin:0}.courier-section>.section-title button{margin-left:auto;width:auto;padding:10px 12px;font-size:12px}.courier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.courier-card{border:1px solid #e6ddf0;border-radius:14px;padding:20px;min-width:0;background:#fff}.courier-identity{display:flex;align-items:center;gap:12px}.courier-avatar{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;font-size:17px;font-weight:750;flex-shrink:0}.avatar-violet{background:#ede1ff;color:#6515d6}.avatar-blue{background:#dfeeff;color:#245ea8}.avatar-teal{background:#dcf3eb;color:#16725d}.avatar-rose{background:#ffe3ec;color:#ab345d}.avatar-amber{background:#fff0cd;color:#8e6010}.avatar-indigo{background:#e5e7ff;color:#494aa5}.courier-name{flex:1;min-width:0}.courier-name h3{margin:0;font-size:15px;overflow-wrap:anywhere}.courier-name p{margin:5px 0 0;font-size:11px}.courier-state{font-size:10px;padding:5px 8px;border-radius:20px;flex-shrink:0}.is-active{background:#e5f4ec;color:#256e46}.is-inactive{background:#f1eef5;color:#766a86}.courier-badges{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;font-size:11px;color:#766a86}.courier-badges span{background:#faf7fe;border-radius:5px;padding:5px 8px}.courier-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 0;border-top:1px solid #eee7f5;border-bottom:1px solid #eee7f5}.courier-metrics div{display:flex;flex-direction:column;gap:4px}.courier-metrics strong{font-size:22px;color:#381858}.courier-metrics span{font-size:11px;color:#82718f}.courier-restaurants{margin:16px 0}.courier-restaurants>span{font-size:11px;color:#82718f}.courier-restaurants p{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.courier-actions{display:flex;gap:8px;padding-top:14px;border-top:1px solid #eee7f5}.courier-actions button{flex:1;white-space:normal;font-size:11px;padding:10px}.courier-remove{color:#9d433a;background:#fff1ee}
@media(max-width:800px){.courier-grid{grid-template-columns:1fr}.courier-group h2{font-size:19px}.courier-section>.section-title{align-items:center}.courier-section>.section-title h2{font-size:19px}.courier-section>.section-title>button{width:auto}.courier-group-form{gap:8px}.courier-group-form button{font-size:11px;padding:11px 10px}.courier-group-form input{font-size:14px;padding:11px 8px}.courier-card{padding:16px}.courier-group>p,.courier-section>p{font-size:13px}.courier-name h3{font-size:14px}}
.courier-section>.section-title{flex-direction:row;justify-content:space-between;text-align:left}.courier-section>.section-title h2{flex:1;min-width:0}@media(max-width:400px){.courier-section>.section-title h2{font-size:17px}.courier-section>.section-title button{font-size:11px;padding:10px}}
@media(max-width:800px){.courier-group-form input{font-size:16px}}
.courier-edit-groups{width:100%;margin:0 0 14px}.courier-card .courier-restaurants{margin-top:16px}
.restaurant-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.restaurant-overview-card{border:1px solid #e6ddf0;border-radius:14px;padding:20px;min-width:0;background:white}.restaurant-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.restaurant-card-heading h3{font-size:17px;margin:0;overflow-wrap:anywhere}.restaurant-card-heading .status{flex-shrink:0}.restaurant-address{font-size:13px;margin:10px 0;overflow-wrap:anywhere}.restaurant-routing{display:inline-block;font-size:11px;color:#766a86;background:#faf7fe;padding:5px 8px;border-radius:5px;margin:0 0 16px}.restaurant-card-actions{display:flex;gap:10px;margin-top:18px}.restaurant-card-actions button{flex:1;font-size:12px;white-space:normal}.restaurant-edit-dialog,.restaurant-users-dialog{width:min(760px,calc(100% - 32px))}.restaurant-users-dialog .restaurant-team{padding-top:0;border-top:0}.restaurant-edit-dialog .restaurant-danger{flex-direction:column;align-items:stretch}.restaurant-edit-dialog .restaurant-danger button{width:100%}.page-restaurants main{padding-top:20px}.restaurant-list>.section-title{flex-direction:row;flex-wrap:nowrap}.restaurant-list>.section-title>button{width:auto;font-size:12px;padding:10px 12px}.restaurant-list>.section-title h2{margin:0;font-size:21px}
@media(max-width:800px){.restaurant-overview-grid{grid-template-columns:1fr;gap:14px}.restaurant-overview-card{padding:16px}.restaurant-list>.section-title h2{font-size:19px}.restaurant-list>.section-title>button{font-size:11px;padding:10px}.restaurant-edit-dialog .restaurant-fields,.restaurant-edit-dialog .routing-settings{grid-template-columns:1fr}.restaurant-users-dialog .scroll{overflow:visible}}
@media(max-width:800px){.restaurant-users-dialog .scroll,.restaurant-users-dialog table,.restaurant-users-dialog tbody,.restaurant-users-dialog tr{width:100%;max-width:none}}
.restaurant-member-list{display:grid;gap:12px}.restaurant-member-card{width:100%;min-width:0;padding:16px;border:1px solid #e6ddf0;border-radius:12px;background:#faf7fe}.restaurant-member-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.restaurant-member-heading h3{margin:0;min-width:0;font-size:16px;overflow-wrap:anywhere}.restaurant-member-heading .courier-state{flex-shrink:0}.restaurant-member-id{font-size:12px;color:#82718f;margin:8px 0 16px;overflow-wrap:anywhere}.restaurant-member-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.restaurant-member-actions form{margin:0;max-width:none;min-width:0}.restaurant-member-actions button{width:100%;height:100%;min-height:44px;padding:10px 8px;font-size:12px;white-space:normal}.restaurant-users-dialog .restaurant-team>.section-title{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:10px;margin-bottom:16px}.restaurant-users-dialog .restaurant-team>.section-title h3{font-size:15px;margin:0}.restaurant-users-dialog .restaurant-team>.section-title button{width:auto;margin-left:auto;padding:10px;font-size:12px}.restaurant-users-dialog .modal-heading h2{font-size:21px;overflow-wrap:anywhere}.restaurant-users-dialog .modal-heading{align-items:flex-start}.restaurant-users-dialog .modal-heading>button{flex-shrink:0}@media(max-width:600px){.restaurant-users-dialog{padding:16px}.restaurant-member-card{padding:14px}.restaurant-member-heading h3{font-size:15px}.restaurant-users-dialog .restaurant-team>.section-title button{font-size:11px}}
.page-orders main{padding-top:20px}.orders-section>.section-title{align-items:center;gap:12px}.order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.order-card{border:1px solid #e6ddf0;border-radius:12px;padding:18px;background:#faf7fe;min-width:0}.order-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-number{font-size:14px;font-weight:700}.order-card h3{font-size:17px;margin:16px 0 6px}.order-address{margin:0 0 18px;font-size:13px;overflow-wrap:anywhere}.order-card-info{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-card-info span{display:block;font-size:11px;color:#82718f;margin-bottom:4px}.order-card-info strong{font-size:12px;overflow-wrap:anywhere}.order-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #e6ddf0}.order-card-footer>span{font-size:11px;color:#82718f}.order-card-footer .button{font-size:12px;padding:10px;flex-shrink:0}.order-state-assigned{background:#eee4ff;color:#6516cb}.order-state-picked_up{background:#fff0d5;color:#926112}.order-state-cancelled{background:#ffe6e2;color:#a33f35}.order-state-delivered{background:#e2f4e9;color:#26704c}.order-filter-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:none!important}.order-filter-form label{margin:0;min-width:0}.order-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;margin-top:8px}@media(max-width:700px){.order-grid{grid-template-columns:1fr}.orders-section{padding:16px}.orders-section>.section-title{display:block}.orders-section>.section-title h2{margin:0 0 12px;font-size:21px}.orders-section .section-actions{width:100%;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.orders-section .section-actions button,.orders-section .section-actions a{font-size:12px;width:auto}.order-card{padding:14px}.order-card-heading .status{font-size:10px}.order-filter-form{grid-template-columns:1fr}}
@media(max-width:700px){.order-grid{gap:0;margin-top:14px;border:1px solid #e6ddf0;border-radius:10px;overflow:hidden}.order-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"number restaurant state" "address address address" "info info info" "footer footer footer";gap:6px 8px;border:0;border-bottom:1px solid #e6ddf0;border-radius:0;padding:12px;background:#fff}.order-card:last-child{border-bottom:0}.order-card-heading{display:contents}.order-number{grid-area:number;font-size:13px}.order-number-label{display:none}.order-card-heading .status{grid-area:state;padding:4px 7px;align-self:start;white-space:nowrap}.order-card h3{grid-area:restaurant;font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}.order-address{grid-area:address;font-size:12px;margin:0;color:#82718f;line-height:1.4}.order-card-info{grid-area:info;gap:6px}.order-card-info span{font-size:10px;margin:0 0 2px}.order-card-info strong{font-size:11px;font-weight:500;line-height:1.4}.order-card-footer{grid-area:footer;margin:0;padding:0;border:0;gap:6px}.order-card-footer>span{font-size:10px}.order-card-footer .button{font-size:11px;padding:6px 0 6px 8px;background:transparent;color:#6516cb;min-height:32px}}
.order-detail-dialog{width:min(960px,calc(100% - 32px))}.order-detail-dialog .filters{max-width:none}.order-detail-dialog .modal-heading h2{margin:0}.order-detail-dialog .modal-heading>button{flex-shrink:0}@media(max-width:600px){.order-detail-dialog{padding:16px}.order-detail-dialog .modal-heading h2{font-size:21px}.order-detail-dialog .scroll,.order-detail-dialog table,.order-detail-dialog tbody,.order-detail-dialog tr{width:100%;max-width:none}}
.order-detail-dialog{width:min(720px,calc(100% - 32px))}.order-detail-summary{padding:16px;background:#faf7fe;border:1px solid #e6ddf0;border-radius:10px;margin-bottom:20px}.order-detail-restaurant{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-detail-summary>p{font-size:13px;margin:8px 0 14px;overflow-wrap:anywhere}.order-detail-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.order-detail-summary dt{font-size:11px;color:#82718f}.order-detail-summary dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere}.order-detail-summary .order-detail-notes{margin-bottom:0;padding-top:12px;border-top:1px solid #e6ddf0}.order-history-title{font-size:16px;margin:20px 0 16px}.order-timeline{list-style:none;padding:0 0 0 20px;margin:0 0 0 5px;border-left:2px solid #e6ddf0}.order-timeline li{position:relative;padding:0 0 20px;min-width:0}.order-timeline li:before{content:"";position:absolute;left:-26px;top:4px;width:10px;height:10px;border-radius:50%;background:#7419d6;border:2px solid #fff;box-shadow:0 0 0 2px #e6ddf0}.order-timeline li:last-child{padding-bottom:0}.timeline-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}.timeline-heading strong{font-size:14px}.timeline-heading time{font-size:11px;color:#82718f;white-space:nowrap}.order-timeline p{margin:4px 0 0;font-size:12px;overflow-wrap:anywhere}.timeline-author{color:#82718f}.timeline-transition{color:#655374}.timeline-reason{background:#faf7fe;padding:8px;border-radius:6px}@media(max-width:600px){.order-detail-summary{padding:12px}.order-detail-restaurant strong{font-size:14px}.order-detail-restaurant .status{font-size:10px}.timeline-heading{flex-wrap:wrap;gap:3px}.timeline-heading strong{font-size:13px}}
.overview-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.overview-report-card{padding:16px;border:1px solid #e6ddf0;border-radius:12px;background:#faf7fe;min-width:0}.overview-report-card h3{font-size:16px;margin:0 0 16px}.overview-volumes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-bottom:14px;border-bottom:1px solid #e6ddf0}.overview-volumes strong{display:block;font-size:21px}.overview-volumes span{font-size:11px;color:#82718f}.overview-report-card dl{margin:14px 0 0}.overview-report-card dl>div{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px}.overview-report-card dd{margin:0;white-space:nowrap;font-weight:700}.overview-report-card small{display:block;font-size:10px;color:#82718f;margin-top:2px}@media(max-width:700px){.overview-report-grid{grid-template-columns:1fr}.overview-report{padding:16px}.overview-report h2{font-size:20px}}
.page-overview main{padding-top:20px}.overview-tabs{display:flex;overflow-x:auto;gap:8px;border-bottom:1px solid #e6ddf0;padding:0 0 12px;margin:16px 0}.overview-tabs a{white-space:nowrap;padding:10px 14px;border-radius:8px;color:#655374}.overview-tabs a[aria-current]{background:#eee4ff;color:#6516cb;font-weight:700}.overview-presets{display:flex;flex-wrap:wrap;gap:8px}.overview-presets a{background:#faf7fe;border:1px solid #e6ddf0;border-radius:6px;padding:7px 10px;font-size:12px}.overview-period,.overview-note{font-size:12px;color:#82718f}.overview-period a{margin-left:12px}.overview-shell .cards{margin:20px 0}.overview-live-row{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid #e6ddf0;font-size:13px}.overview-live-row small{font-size:11px;color:#82718f}.overview-live-row.needs-attention{border-left:3px solid #d29638;padding-left:12px;background:#fffbf3}.overview-sort{display:flex;align-items:end;gap:10px;max-width:460px;margin:20px 0}.overview-sort label{margin:0;flex:1}.overview-entity{border:1px solid #e6ddf0;border-radius:10px;padding:16px;margin:12px 0}.overview-entity summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-size:14px}.overview-entity summary:before{content:"+";color:#7419d6}.overview-entity[open] summary:before{content:"−"}.overview-entity summary strong{flex:1}.overview-entity summary span{font-size:12px;color:#82718f}.overview-entity .overview-volumes{margin-top:16px}.overview-entity dl>div{display:flex;justify-content:space-between;font-size:12px;margin:12px 0;gap:12px}.overview-entity dd{margin:0;font-weight:700}.overview-entity small{display:block;color:#82718f;font-size:10px}.overview-day{display:grid;grid-template-columns:90px 1fr 30px;gap:10px;align-items:center;font-size:12px;margin:14px 0}.overview-day small{grid-column:2/-1;color:#82718f}.overview-bar{height:14px;background:#eee4ff;border-radius:4px;overflow:hidden}.overview-bar span{display:block;background:#7419d6;height:100%}@media(max-width:700px){.overview-shell{padding:16px}.overview-shell h2{font-size:21px}.overview-shell .cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.overview-shell .cards article{padding:14px}.overview-shell .cards strong{font-size:26px}.overview-entity summary{flex-wrap:wrap}.overview-entity summary span{flex-basis:100%;padding-left:18px}.overview-tabs a{font-size:12px;padding:9px 12px}}
@media(min-width:701px){.order-grid{grid-template-columns:1fr;gap:0;border:1px solid #e6ddf0;border-radius:10px;overflow:hidden}.order-card{display:grid;grid-template-columns:55px minmax(160px,1.4fr) minmax(170px,1.4fr) 100px;grid-template-areas:"number restaurant info state" "number address footer state";gap:6px 18px;align-items:center;padding:14px 16px;border:0;border-bottom:1px solid #e6ddf0;border-radius:0;background:#fff}.order-card:last-child{border-bottom:0}.order-card-heading{display:contents}.order-number{grid-area:number;font-size:14px}.order-number-label{display:none}.order-card-heading .status{grid-area:state;justify-self:end;font-size:11px;white-space:nowrap}.order-card h3{grid-area:restaurant;margin:0;font-size:14px;overflow-wrap:anywhere}.order-address{grid-area:address;margin:0;font-size:12px;color:#82718f}.order-card-info{grid-area:info;gap:12px}.order-card-info span{font-size:10px;margin:0 0 2px}.order-card-info strong{font-size:12px;font-weight:500}.order-card-footer{grid-area:footer;margin:0;padding:0;border:0;gap:8px}.order-card-footer>span{font-size:10px}.order-card-footer .button{background:transparent;color:#6516cb;padding:5px 0 5px 8px;font-size:11px}}
.notification-checkbox{display:flex;align-items:center;justify-content:flex-start;min-width:0}.notification-checkbox input[type="checkbox"]{width:20px;height:20px;min-width:20px;padding:0;flex:none;accent-color:#6515d6}.notification-content{min-width:0}
@media(min-width:801px){.restaurant-overview-grid,.courier-grid{grid-template-columns:1fr;gap:12px}.restaurant-overview-card{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(200px,1fr) minmax(230px,1fr);grid-template-areas:"heading metrics actions" "address metrics actions" "routing metrics actions";gap:6px 24px;padding:16px 20px;align-items:center}.restaurant-card-heading{grid-area:heading}.restaurant-address{grid-area:address;margin:0;font-size:12px}.restaurant-routing{grid-area:routing;justify-self:start;margin:0}.restaurant-overview-card .courier-metrics{grid-area:metrics;border:0;padding:0}.restaurant-card-actions{grid-area:actions;margin:0}.restaurant-card-heading h3{font-size:15px}.courier-card{display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(180px,.8fr) minmax(180px,1fr);grid-template-areas:"identity metrics groups" "edit actions groups";gap:14px 24px;padding:16px 20px;align-items:center}.courier-identity{grid-area:identity}.courier-card .courier-metrics{grid-area:metrics;border:0;padding:0}.courier-restaurants{grid-area:groups;margin:0;padding-left:18px;border-left:1px solid #eee7f5}.courier-edit-groups{grid-area:edit;justify-self:start;font-size:11px;padding:10px}.courier-actions{grid-area:actions;padding:0;border:0;margin:0}.courier-card .courier-metrics strong,.restaurant-overview-card .courier-metrics strong{font-size:20px}}
@media(min-width:1001px){.restaurant-overview-card{grid-template-columns:minmax(220px,1.4fr) 70px minmax(190px,1fr) minmax(220px,1fr);grid-template-areas:"heading state metrics actions" "address state metrics actions" "routing state metrics actions";gap:6px 20px}.restaurant-card-heading{display:contents}.restaurant-card-heading h3{grid-area:heading;margin:0}.restaurant-card-heading>.status{grid-area:state;align-self:center;justify-self:center}.courier-card{grid-template-columns:minmax(230px,1.2fr) minmax(170px,.8fr) minmax(180px,1fr) 180px;grid-template-areas:"identity metrics groups edit" "identity metrics groups actions";gap:8px 20px;align-items:center}.courier-edit-groups{width:100%;justify-self:stretch;margin:0}.courier-actions{display:grid;grid-template-columns:1fr;gap:6px}.courier-actions button{width:100%;padding:9px 10px;min-height:36px}.courier-identity{flex-wrap:wrap}.courier-identity .courier-state{margin-left:60px}.courier-restaurants{font-size:12px}.courier-card .courier-metrics span{font-size:10px}}
@media(min-width:801px) and (max-width:1000px){.courier-edit-groups{width:auto;justify-self:start}.restaurant-card-heading{align-items:center}}
.schema-intro{display:flex;justify-content:space-between;gap:20px;align-items:start;margin:20px 0}.schema-intro h3{margin:0}.schema-intro p{font-size:12px;max-width:720px}.schema-intro>.status{white-space:nowrap}.schema-hub{padding:16px 20px;border-radius:12px;background:#35105e;color:white}.schema-hub p{color:#e5d6f5;font-size:12px;margin:6px 0 0}.schema-map{display:grid;gap:20px;margin:20px 0}.schema-route{border:1px solid #e6ddf0;border-radius:12px;padding:20px;background:#fcfaff}.schema-route-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.schema-route-title h3{margin:0}.schema-flow{display:grid;grid-template-columns:minmax(0,1fr) 55px minmax(0,1fr) 55px minmax(0,1fr) 55px minmax(0,1fr);align-items:start}.schema-node{border:1px solid #dac6ef;border-radius:10px;padding:14px;background:white;min-width:0}.schema-node summary{display:flex;flex-direction:column;gap:8px;font-size:13px;list-style:none}.schema-node summary:after{content:"Detalii +";font-size:10px;color:#82718f}.schema-node[open] summary:after{content:"Restrânge −"}.schema-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#eee4ff;color:#6515d6;font-weight:800}.schema-node small{font-size:10px;color:#82718f;font-weight:400}.schema-node p,.schema-node li{font-size:11px;overflow-wrap:anywhere}.schema-node ul{padding-left:16px}.schema-node code{font-size:11px}.schema-arrow{text-align:center;align-self:center;color:#7419d6}.schema-arrow span{display:block;font-size:9px;color:#82718f}.schema-arrow b{font-size:26px}.schema-dedicated{border-color:#a6bfdc}.schema-dedicated .schema-icon{background:#e1edfc;color:#245ea8}.schema-extra{border-color:#c1a0ea}.schema-private{border-color:#a6d3be}.schema-private .schema-icon{background:#dcf3eb;color:#16725d}.schema-escalation{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:14px 0;padding:10px;border:1px dashed #b998e4;border-radius:8px;font-size:11px}.schema-return{font-size:11px;margin:12px 0 0;color:#766a86}.schema-extra-hub{scroll-margin-top:100px}.schema-people{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.schema-people span{background:#f0e9fa;padding:6px 10px;border-radius:6px;font-size:11px}.schema-inactive{background:#f6f5f8}@media(max-width:900px){.schema-flow{grid-template-columns:minmax(0,1fr)}.schema-arrow{padding:6px}.schema-arrow b{display:block;transform:rotate(90deg);line-height:1}.schema-node summary{display:grid;grid-template-columns:30px 1fr;gap:5px 10px}.schema-icon{grid-row:1/3}.schema-node small,.schema-node summary:after{grid-column:2}.schema-route{padding:14px}.schema-intro{flex-direction:column;gap:8px}.schema-route-title{align-items:start}.schema-route-title h3{font-size:14px}}
.network-heading{display:flex;justify-content:space-between;gap:16px;margin-top:20px}.network-heading h3{margin:0}.network-heading p{font-size:12px}.network-heading>.status{white-space:nowrap;align-self:start}.network-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px}.network-legend span{display:flex;align-items:center;gap:6px}.network-legend i{width:10px;height:10px;border-radius:50%}.network-scroll{overflow:auto;border:1px solid #e6ddf0;border-radius:12px;background:#fcfaff}.network-map{display:block;width:100%;min-width:960px;height:auto}.network-line{fill:none;stroke:#9f8ab9;stroke-width:2}.network-transfer{stroke:#b69bd9;stroke-dasharray:7 6}.network-node{cursor:pointer}.network-node:hover use,.network-node:focus use{filter:drop-shadow(0 2px 6px #a36bdb)}.network-label{text-align:center;color:#35105e;font-family:Inter,system-ui,sans-serif}.network-label strong{font-size:15px;display:block}.network-label small{font-size:11px;display:block;color:#82718f;margin-top:5px}.network-order{cursor:pointer}.network-order circle{stroke:white;stroke-width:2}.network-order text,.network-more{font-size:12px;fill:#655374}.network-order:hover text{fill:#6515d6;text-decoration:underline}.network-state-available{fill:#8851d2;background:#8851d2}.network-state-assigned{fill:#e0a333;background:#e0a333}.network-state-picked_up{fill:#339b78;background:#339b78}.network-caption{font-size:12px;fill:#82718f}@media(max-width:700px){.network-heading{flex-direction:column;gap:6px}.network-map{min-width:850px}.network-heading p{margin:8px 0}.network-scroll{max-height:75vh}}

.overview-date-range{display:flex;flex-wrap:wrap;align-items:end;gap:12px;max-width:none;margin:16px 0}.overview-date-range label{margin:0;min-width:180px}.overview-date-range button{white-space:nowrap}@media(max-width:700px){.overview-date-range label{flex:1;min-width:140px}.overview-date-range button{width:100%}}

.pickup-app{max-width:480px;margin:0 auto;padding:20px}.pickup-app h1{font-size:26px}.pickup-app form{display:grid;gap:16px;max-width:none}.pickup-app #pickup-code{text-align:center;font-size:32px;letter-spacing:12px}.pickup-app #pickup-result{min-height:24px}

.live-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}.live-toolbar h3{margin:0 0 8px}.live-toolbar p{margin:0;max-width:720px;font-size:13px;color:#756781}.live-toolbar button{flex:none;min-height:44px}.live-refresh-status,.live-updated{font-size:12px;color:#766a86}.live-refresh-status.has-error{color:#9b412b}.live-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:20px}.live-summary>div{padding:16px;background:#f6f1fc;border:1px solid #e9dff4;border-radius:12px;display:flex;flex-direction:column;gap:5px}.live-summary strong{font-size:26px;color:#35105e}.live-summary span{font-size:12px;color:#756781}.live-courier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}.live-courier{min-width:0;background:#fff;border:1px solid #e7def0;border-radius:16px;overflow:hidden}.live-profile{display:flex;align-items:center;gap:12px;padding:20px 18px 14px}.live-profile>div{min-width:0;flex:1}.live-profile h3{margin:0 0 6px;font-size:16px;overflow-wrap:anywhere}.live-avatar{width:44px;height:44px;border-radius:14px;background:#eee3fc;color:#6a22ba;display:grid;place-items:center;flex:none;font-weight:800;font-size:20px}.live-account{font-size:11px;display:inline-flex;align-items:center;gap:5px}.live-account:before{content:'';width:7px;height:7px;background:currentColor;border-radius:50%}.live-account.is-active{color:#197551}.live-account.is-inactive{color:#82718f}.live-workload{font-size:11px;padding:7px 9px;border-radius:20px;background:#f0e9fa;color:#653394;white-space:nowrap}.live-counters{display:flex;flex-wrap:wrap;gap:8px 16px;padding:0 18px 16px;font-size:11px;color:#766a86}.live-counters strong{color:#35105e;font-size:15px}.live-orders{border-top:1px solid #eee7f5}.live-order{display:block;padding:16px 18px;color:inherit;text-decoration:none;border-bottom:1px solid #eee7f5;overflow-wrap:anywhere}.live-order:last-child{border-bottom:0}.live-order:hover,.live-order:focus-visible{background:#faf7fe}.live-order-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-order-heading>strong{font-size:13px;min-width:0}.live-order-heading .status{font-size:10px;flex:none}.live-order p{font-size:12px;margin:9px 0;color:#61536e}.live-order-times{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#82718f}.live-ready{color:#197551}.live-empty,.live-setup{font-size:12px;color:#82718f;margin:0;padding:18px}.live-setup{padding-top:0;color:#9b6524}@media(max-width:850px){.live-courier-grid{grid-template-columns:1fr}.live-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.live-toolbar{align-items:start}.live-toolbar h3{font-size:18px}}@media(max-width:480px){.live-summary{gap:7px}.live-summary>div{padding:12px 10px}.live-summary strong{font-size:23px}.live-summary span{font-size:10px}.live-profile{padding:16px 14px 12px;gap:10px;flex-wrap:wrap}.live-profile h3{font-size:15px}.live-workload{font-size:10px}.live-counters{padding:0 14px 14px;gap:8px 12px}.live-order{padding:14px}.live-order-heading{align-items:start;flex-wrap:wrap}.live-order-heading .status{white-space:normal}.live-toolbar p{font-size:12px}.live-toolbar button{font-size:11px;padding:10px}.live-courier-grid{gap:14px}}

/* Compact order rows in the live courier board. */
.live-order{padding:10px 14px;line-height:1.35}.live-order-heading{gap:6px}.live-order-heading>strong{font-size:12px}.live-order-heading .status{padding:3px 7px;font-size:10px;line-height:1.3}.live-order p{margin:4px 0;font-size:12px;line-height:1.35}.live-order-times{flex-direction:row;flex-wrap:wrap;gap:3px 12px;line-height:1.4}.live-order-times>span{white-space:nowrap}.live-order-times>span+span:before{content:'·';margin-right:8px;color:#b6a7c4}@media(max-width:480px){.live-order{padding:9px 12px}.live-order-heading{flex-wrap:nowrap;align-items:center}.live-order-heading>strong{overflow-wrap:anywhere}.live-order-heading .status{max-width:48%;text-align:center}.live-order-times{gap:3px 9px;font-size:10px}.live-order-times>span+span:before{margin-right:6px}}

/* Use the full width of each courier card for order information. */
.live-courier{container-type:inline-size}.live-courier-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.live-profile{padding:12px;gap:9px;flex-wrap:nowrap}.live-avatar{width:34px;height:34px;border-radius:10px;font-size:16px}.live-profile h3{font-size:14px;margin:0 0 3px}.live-account{font-size:10px}.live-workload{font-size:10px;padding:5px 7px}.live-counters{padding:12px;margin:0;gap:7px 10px;justify-content:flex-end;font-size:10px}.live-counters strong{font-size:13px}.live-setup{grid-column:1/-1;padding:0 12px 8px}.live-empty{padding:12px;font-size:11px}.live-order{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-areas:"number address state" "times times times";gap:4px 10px;padding:9px 12px;min-height:44px;align-items:center}.live-order-heading{display:contents}.live-order-heading>strong{grid-area:number;font-size:12px}.live-order-heading .status{grid-area:state;max-width:none;white-space:nowrap;margin:0;justify-self:end}.live-order>p{grid-area:address;margin:0;font-size:12px;min-width:0;overflow-wrap:anywhere}.live-order-times{grid-area:times;gap:2px 10px;font-size:10px}.live-order-times>span{white-space:normal}.live-order-times>span+span:before{margin-right:6px}@container(min-width:560px){.live-order{grid-template-columns:max-content minmax(70px,1fr) minmax(100px,auto) max-content;grid-template-areas:"number address times state";gap:12px;padding:10px 12px}.live-order-times{max-width:250px;justify-content:flex-end}.live-order-times>span{white-space:nowrap}}@container(max-width:559px){.live-courier-header{grid-template-columns:1fr}.live-profile{padding:10px 12px 6px}.live-counters{padding:0 12px 9px;justify-content:flex-start}.live-profile>div{display:flex;align-items:center;flex-wrap:wrap;gap:3px 10px}.live-profile h3{margin:0}.live-workload{margin-left:auto}.live-order-heading .status{font-size:9px}.live-order-heading>strong,.live-order>p{font-size:11px}}

/* Four fixed milestones remain on one line, including on narrow screens. */
.live-courier-grid{grid-template-columns:minmax(0,1fr)}.live-orders{overflow-x:auto;-webkit-overflow-scrolling:touch}.live-order{min-width:900px;grid-template-columns:90px minmax(100px,1fr) max-content 90px;grid-template-areas:"number address times state";gap:12px;padding:10px 12px}.live-order-times{display:flex;flex-wrap:nowrap;max-width:none;gap:14px;justify-content:flex-start;font-size:11px}.live-order-times>span{white-space:nowrap}.live-order-times>span+span:before{content:none}.live-order-times strong{color:#493558;font-weight:600}.live-pickup-delta{font-weight:500;color:#805f25}.live-time-label{font-size:10px}.shift-history{margin-top:24px;scroll-margin-top:20px}.shift-history>p{font-size:13px}.shift-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;padding:14px 0;border-bottom:1px solid #eee7f5;font-size:12px}.shift-row>strong{min-width:140px}.shift-pagination{display:flex;gap:20px;margin-top:16px}.shift-pagination a{font-size:13px}@media(max-width:600px){.shift-row{display:grid;grid-template-columns:1fr;gap:6px}.live-order{gap:10px}.live-courier-header{grid-template-columns:1fr}.live-order-times{font-size:11px}}
@media(min-width:701px){
 .order-card{grid-template-areas:"number restaurant info state" "number address footer state" "number activity activity state";row-gap:8px}
 .order-address{line-height:1.5;overflow-wrap:anywhere}
 .order-card-info>div{min-width:0}
 .order-card-activity{grid-area:activity;display:flex;flex-wrap:wrap;gap:6px 24px;margin:2px 0 0;padding-top:10px;border-top:1px solid #f0eaf7;font-size:11px;line-height:1.5;min-width:0}
 .order-card-activity>span{display:inline-block;overflow-wrap:anywhere}
 .order-card-activity strong{font-weight:500;color:#594076}
 .order-card-activity>br{display:none}
}
@media(min-width:701px) and (max-width:1000px){
 .order-card{grid-template-columns:42px minmax(0,1.2fr) minmax(0,1fr) 90px;column-gap:12px}
 .order-card-info{gap:8px}
 .order-card-footer{flex-wrap:wrap}
}
@media(max-width:700px){
 .order-card{grid-template-areas:"number restaurant state" "address address address" "info info info" "activity activity activity" "footer footer footer"}
 .order-card-activity{grid-area:activity;min-width:0}
}
body.legal main{max-width:760px}body.legal h2{margin-top:32px}body.legal ul{color:#766a86;line-height:1.6;padding-left:18px}body.legal li{margin:8px 0}
