:root{--navy:#142d40;--ink:#1b3041;--muted:#4c606b;--line:#e2e8e9;--canvas:#f5f7f6;--green:#236b55;--amber:#97671b;--red:#a43e3e;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #54a7b2;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #4f8c96;outline-offset:2px}a{color:inherit}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;font-size:10px;letter-spacing:2px;font-weight:650;line-height:1.55}.brand-mark{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-1px;border:1px solid #688292;padding:8px 6px;line-height:1.1}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:#4c606b;margin:0 0 12px}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.2px;font-weight:600;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.4px;font-weight:650}h3{font-size:19px;letter-spacing:-.3px}.small{font-size:12px}code{font-family:Consolas,monospace;font-size:.92em;overflow-wrap:anywhere}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:7px;border:1px solid transparent;font-size:12px;font-weight:600;min-height:42px;padding:11px 16px;white-space:nowrap}.primary{background:var(--navy);color:#fff}.primary:hover{background:#24465b}.secondary{background:#fff;color:var(--ink);border-color:#d8e0e2}.secondary:hover{background:#f0f4f4}.danger{background:#fff5f4;border-color:#efd0cb;color:#9d3737}.text-button{color:var(--muted);background:none;border:0;font-size:12px;padding:9px}.local-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7ca99b;flex-shrink:0}.tag{display:inline-block;border-radius:4px;background:#edf2f1;padding:6px 8px;font-size:10px;font-weight:700;letter-spacing:1.2px;color:#506b6c}.error{font-size:13px;color:var(--red);line-height:1.5}.login-shell{display:grid;grid-template-columns:1fr 1.2fr;min-height:100vh;background:#f6f8f7}.login-intro{background:var(--navy);color:#fff;padding:58px 13%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.login-intro .brand{margin-bottom:85px}.login-intro .eyebrow{color:#a0b9bb}.login-intro h1{font-family:Georgia,serif;font-size:clamp(34px,4vw,56px);font-weight:400;line-height:1.1;letter-spacing:-1px;margin:8px 0 24px}.login-intro p:not(.eyebrow){color:#b5c9ce;line-height:1.7;max-width:310px}.intro-rule{width:46px;border-top:1px solid #577583;margin:36px 0 22px}.login-card{align-self:center;justify-self:center;max-width:430px;width:100%;padding:42px}.login-card h2{font-size:25px;margin-top:18px;line-height:1.25}.login-card>p{font-size:14px;line-height:1.7;color:var(--muted)}label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}.login-card input{width:100%;height:48px;border:1px solid #d1dbde;border-radius:6px;background:#fff;padding:10px 13px;margin-bottom:15px}.login-card .button{width:100%}.login-help{margin-top:28px;border-top:1px solid var(--line);padding-top:22px;font-size:12px}.login-help p{color:var(--muted);line-height:1.7;margin:9px 0 0}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#afc1c9;padding:30px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 58px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.5px;margin:0 14px 16px;color:#89a3b0}.nav-item{display:flex;align-items:center;gap:11px;color:#b4c6cf;border:0;background:none;text-align:left;width:100%;border-radius:6px;min-height:44px;padding:12px;font-size:12px;margin-bottom:7px}.nav-item>span:first-child{font-size:17px;width:19px;text-align:center}.nav-item.active{background:#294658;color:#fff}.nav-item:hover{background:#244255}.nav-count{margin-left:auto;font-size:10px;color:#c6d5db;min-width:20px;text-align:center}.sidebar-bottom{margin-top:auto;font-size:11px;padding:0 12px}.sidebar-bottom .local-dot{margin-right:7px}.sidebar-bottom strong{color:#c9d9de;font-size:11px}.sidebar-bottom p{font-size:11px;line-height:1.7;color:#8fa8b4;margin:12px 0 24px}.sidebar-logout{background:none;border:0;border-top:1px solid #395363;width:100%;text-align:left;padding:19px 0 0;color:#b1c3cd;font-size:11px}.sidebar-logout span{float:right}.topbar{height:73px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 38px;font-size:11px;color:#4c606b}.topbar>div{display:flex;align-items:center;gap:24px}.slash{margin:0 12px;color:#c3cdd1}.simulation-badge{font-size:9px;letter-spacing:1px;color:#746231;background:#f6f1e2;padding:6px 9px;border:1px solid #ece3ca;border-radius:4px;display:inline-flex;align-items:center;gap:6px}.simulation-badge .local-dot{background:#bb9650;width:5px;height:5px}.operator{color:#4f626e}.content{max-width:1450px;margin:auto;padding:39px 38px 24px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.subtitle{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.heading-actions{display:flex;gap:9px}.environment-strip{display:flex;align-items:center;gap:13px;background:#eef3f2;border:1px solid #dbe6e2;border-radius:7px;padding:14px 17px;margin-bottom:26px}.environment-icon{border:1px solid #8ba79b;border-radius:50%;font-family:Georgia,serif;font-size:13px;width:19px;height:19px;text-align:center;color:#607f72;flex-shrink:0}.environment-strip>div{font-size:11px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.environment-strip strong{font-size:11px;white-space:nowrap;color:#345e50}.environment-strip>div>span{color:#4c606b;font-size:11px;line-height:1.5}.environment-strip>.pill{margin-left:auto;white-space:nowrap}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:1.2;font-weight:600;letter-spacing:.1px;padding:6px 8px;border-radius:4px;width:fit-content;white-space:nowrap}.pill:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.neutral{background:#e8edef;color:#4c606b}.green{background:#e8f3ed;color:#287452}.amber{background:#fbf0d9;color:#805518}.red{background:#f9e8e5;color:#a04b40}.blue{background:#e9f0f8;color:#315a7b}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:30px}.metric{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;text-align:left;color:var(--ink);box-shadow:0 2px 2px #243d4303}.metric:hover{border-color:#9fb7b9}.metric>span{font-size:11px;color:#4c606b}.metric>strong{display:block;font-size:35px;letter-spacing:-1.5px;font-weight:500;line-height:1.4;margin-top:9px}.metric>small{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#4c606b;margin-top:9px;line-height:1.5}.warning-metric>strong{color:#a17831}.orders-card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:24px}.card-heading h2{font-size:16px;margin:0 0 7px}.card-heading p{font-size:11px;color:var(--muted);margin:0;line-height:1.5}.count-label{font-size:10px;font-weight:500;vertical-align:middle;margin-left:6px;background:#edf1f3;color:#52636f;padding:3px 7px;border-radius:4px;letter-spacing:0}.worker-status{font-size:10px;white-space:nowrap;color:#4c606b}.worker-status:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#a2adb2;margin-right:7px}.worker-status.online:before{background:#6fa58b}.filter-bar{display:flex;gap:10px;align-items:center;padding:0 24px 20px}.search-wrap{display:flex;align-items:center;border:1px solid #dde4e6;border-radius:5px;min-width:0;flex:1;background:#fcfdfd}.search-wrap>span{font-size:23px;color:#9aabb4;margin:0 10px}.search-wrap input{border:0;min-width:0;width:100%;height:36px;background:none;padding:8px 0;color:#385260;font-size:11px}.search-wrap input:focus{outline:none}.search-wrap:focus-within{outline:2px solid #4f8c96;outline-offset:2px}.search-submit{background:none;color:#52636f;border:0;padding:9px 12px}.filter-bar select{max-width:180px;border:1px solid #dde4e6;border-radius:5px;font-size:11px;color:#5d7581;padding:9px 25px 9px 11px;background:#fff;min-height:37px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{background:#f8faf9;border-top:1px solid #e8edee;border-bottom:1px solid #e8edee;color:#52636f;font-size:9px;letter-spacing:.7px;font-weight:600;padding:12px 17px}th:first-child,td:first-child{padding-left:24px}td{border-bottom:1px solid #edf0f1;padding:17px;color:#526a79;font-size:11px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcfb}.order-ref{display:block;font-family:Consolas,monospace;font-size:11px;font-weight:600;color:#2b4a5b;letter-spacing:.2px}.owner-ref{display:block;color:#52636f;font-size:10px;margin-top:7px;max-width:215px;overflow:hidden;text-overflow:ellipsis}.recipient-name{font-size:11px;color:#566d78}.row-small{display:block;font-size:9px;color:#52636f;margin-top:7px}.sample-label{font-size:8px;font-weight:600;letter-spacing:.6px;display:inline-block;color:#756136;margin-left:7px}.payment-label{font-size:10px;color:#52636f}.align-right{text-align:right}.view-button{border:1px solid #e1e7e9;border-radius:4px;background:#fff;color:#5a7786;padding:6px 9px;font-size:10px}.view-button:hover{border-color:#8ba5b1;color:#1a4359}.empty-state{text-align:center;padding:58px 25px}.empty-icon{background:#eef3f2;color:#819f96;width:52px;height:52px;border-radius:12px;font-size:30px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.empty-state h3{font-size:17px;margin-bottom:9px}.empty-state p{font-size:12px;line-height:1.8;max-width:400px;margin:0 auto;color:#4c606b}.table-footer{border-top:1px solid var(--line);padding:15px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#4c606b;font-size:10px}.table-footer>div{display:flex;align-items:center;gap:12px}.page-button{border:1px solid #e1e7e9;border-radius:4px;background:#fff;color:#52636f;width:27px;height:27px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:25px;color:#4c606b;font-size:10px;line-height:1.5}.workspace-footer .local-dot{width:5px;height:5px;margin-right:6px}.notice{border:1px solid #c9dfd4;background:#edf6f0;color:#32664b;padding:13px 16px;border-radius:6px;font-size:12px;line-height:1.6}.notice.failure{background:#fff1ef;border-color:#f0d1cb;color:#9b413a}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid #dae2e4;border-radius:12px;padding:0;color:var(--ink);box-shadow:0 30px 120px #09243240;max-height:90dvh}dialog::backdrop{background:#0d233b80;backdrop-filter:blur(2px)}.order-dialog{width:min(870px,calc(100vw - 32px))}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;border-bottom:1px solid var(--line)}.dialog-top h2{font-size:24px;margin:0}.dialog-top .eyebrow{margin-bottom:8px}.icon-button{background:#f1f4f4;border:0;border-radius:50%;width:33px;height:33px;font-size:22px;color:#52636f}.detail-content{padding:24px 28px}.detail-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.detail-status>span:last-child{font-size:11px;color:#52636f}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-section{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.detail-grid .detail-section{margin-top:0}.detail-section h3{font-size:13px;margin:0 0 16px}dl{margin:0}dt{font-size:10px;color:#52636f;margin-bottom:5px}dd{font-size:12px;margin:0 0 15px;line-height:1.6;overflow-wrap:anywhere}.hash{font-size:10px;color:#547080;word-break:break-all}.detail-notice{padding:12px 14px;background:#fcf4e4;border:1px solid #efe0ba;border-radius:5px;color:#705011;font-size:11px;line-height:1.7;margin-bottom:20px}.timeline{list-style:none;margin:0;padding:0}.timeline li{border-left:1px solid #d5e2dd;margin-left:5px;padding:0 0 20px 20px;position:relative}.timeline li:before{content:"";width:7px;height:7px;border-radius:50%;background:#699080;position:absolute;left:-4px;top:4px}.timeline strong{display:block;font-size:11px;font-weight:500;line-height:1.6}.timeline small{font-size:10px;color:#52636f;display:block;margin-top:4px}.staff-note{padding:13px 15px;border:1px solid #e4eaeb;border-radius:6px;margin-bottom:10px;background:#fafcfb}.staff-note p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:0 0 9px}.staff-note small{font-size:10px;color:#52636f}.detail-content textarea{border:1px solid #d7e0e3;border-radius:6px;resize:vertical;min-height:90px;width:100%;padding:12px;color:#345160;font-size:12px;line-height:1.6;margin:0 0 12px}.detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.detail-actions small{font-size:10px;color:#52636f}.cancel-info{font-size:12px;line-height:1.7;color:#52636f}.confirm-dialog{width:min(470px,calc(100vw - 32px));padding:28px}.confirm-dialog h2{font-size:23px;margin:17px 0}.confirm-dialog p{font-size:13px;line-height:1.7;color:#4c606b}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.detail-feedback{font-size:12px;line-height:1.6;color:#327350;margin-top:10px}.detail-feedback.failure{color:#a33c34}
@media(min-width:1600px){.content{padding-top:48px}.heading-row{margin-bottom:32px}.metrics{margin-bottom:36px}.metric{padding:25px}.metric>strong{font-size:40px}td{padding-top:21px;padding-bottom:21px}}
@media(max-width:1150px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.content{padding:28px 24px}.topbar{padding:0 24px}.heading-row{align-items:flex-start}.heading-actions{flex-direction:column}.metric{padding:16px}.metric>small{font-size:9px}.environment-strip>div{display:block}.environment-strip strong{display:block;margin-bottom:4px}.filter-bar{flex-wrap:wrap}.search-wrap{flex-basis:100%}.filter-bar select{flex:1;max-width:none}.worker-status{white-space:normal;text-align:right}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:18px 18px 12px}.sidebar .brand{margin:0 0 20px}.sidebar .brand-mark{font-size:23px;padding:5px}.sidebar .brand{font-size:9px}.nav-label,.sidebar-bottom p,.sidebar-bottom>strong,.sidebar-bottom>.local-dot{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{font-size:10px;padding:9px 7px;justify-content:center;gap:6px;margin:0;min-height:38px}.nav-item>span:first-child{display:none}.nav-count{margin-left:0}.sidebar-bottom{position:absolute;right:20px;top:25px;padding:0}.sidebar-logout{border:0;padding:5px 0;font-size:10px}.sidebar-logout span{margin-left:8px}.topbar{height:53px;padding:0 20px}.topbar>div{gap:10px}.operator{display:none}.content{padding:25px 18px}.heading-row{display:block}.heading-row h1{font-size:30px}.heading-actions{flex-direction:row;margin-top:20px}.heading-actions .button{flex:1;font-size:11px;padding:10px}.environment-strip{align-items:flex-start;padding:12px;gap:9px}.environment-strip>.pill{display:none}.environment-icon{margin-top:2px}.metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.metric{padding:15px}.metric>strong{font-size:30px;margin-top:5px}.metric>small{font-size:9px;margin-top:5px}.metric>span{font-size:10px}.card-heading{padding:18px;align-items:flex-start}.card-heading h2{font-size:14px}.worker-status{font-size:9px;max-width:90px;line-height:1.6}.filter-bar{padding:0 18px 18px;gap:8px}.filter-bar select{max-width:100%;min-width:0;font-size:10px;padding-right:18px}.search-wrap input{font-size:10px}.table-footer{padding:12px 16px;font-size:9px}.workspace-footer{font-size:9px;align-items:flex-start}.workspace-footer>span:first-child{max-width:160px}.detail-grid{grid-template-columns:1fr;gap:0}.detail-grid>.detail-section+section{margin-top:12px}.detail-content{padding:20px}.dialog-top{padding:20px}.dialog-top h2{font-size:21px}.detail-actions{align-items:flex-start;flex-direction:column}.login-shell{grid-template-columns:1fr}.login-intro{padding:30px}.login-intro .brand{margin-bottom:30px}.login-intro h1{font-size:35px;margin-bottom:15px}.login-intro p:not(.eyebrow){font-size:12px}.intro-rule,.login-intro .small{display:none}.login-card{padding:30px 24px;max-width:460px}.login-card h2{font-size:23px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,border-color .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
.table-wrap{position:relative}.dialog-top{position:sticky;top:0;background:#fff;z-index:1}
/* Administrator settings retain large, labeled controls on desktop and mobile. */
#pricingContent, #routesContent { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }
#pricingContent form, #routesContent form { display:grid; align-content:start; gap:14px; padding:20px; border:1px solid #dce5eb; border-radius:12px; background:#f8fafb; min-width:0; }
#pricingContent h3, #routesContent h3, #pricingContent p, #routesContent p { margin:0; }
#pricingContent label, #routesContent label { display:grid; gap:7px; font-size:14px; font-weight:600; }
#pricingContent input, #routesContent input:not([type=checkbox]), #routesContent select, #routesContent textarea { box-sizing:border-box; width:100%; min-height:42px; padding:10px 12px; border:1px solid #b9c9d5; border-radius:7px; background:white; color:#142f40; font:inherit; }
#routesContent textarea { min-height:110px; resize:vertical; }
#routesContent label:has(input[type=checkbox]) { display:flex; align-items:flex-start; gap:10px; }
#routesContent input[type=checkbox] { order:-1; margin-top:3px; }
#pricingContent button, #routesContent button { justify-self:start; }
/* Country assignments use the same accessible controls as administrator settings. */
.heading-actions{flex-wrap:wrap;max-width:100%;min-width:0}
#teamContent form,.assignment-form{display:grid;gap:14px;min-width:0}
#teamContent label,.assignment-form label{display:grid;gap:7px}
#teamContent input,#teamContent select,.assignment-form select{width:100%;min-width:0;max-width:100%;min-height:42px;padding:10px 12px;border:1px solid #b9c9d5;border-radius:7px;background:#fff;color:var(--ink)}
#teamContent p{overflow-wrap:anywhere}
#routesContent p,.detail-section p{overflow-wrap:anywhere}
#routesContent .button,.detail-content .button{white-space:normal;max-width:100%;min-width:0;overflow-wrap:anywhere}
.topbar>div{min-width:0}.operator{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.knowledge-dialog{width:min(860px,calc(100vw - 24px))}
.knowledge-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin:22px 0 12px}
.knowledge-filters label{display:grid;gap:7px;min-width:0;font-weight:600}
.knowledge-filters input,.knowledge-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #b9c9d5;border-radius:7px;padding:10px;background:#fff;color:var(--ink);font:inherit}
.knowledge-article{border-top:1px solid #d9e3ea;padding:16px 0;overflow-wrap:anywhere}
.knowledge-article summary{font-weight:700;font-size:1.05rem;cursor:pointer;line-height:1.5;padding:6px 0}
.knowledge-article p,.knowledge-article li{line-height:1.65}.knowledge-article li+li{margin-top:9px}
.knowledge-article .eyebrow{margin:16px 0 8px}.knowledge-empty{padding:24px 0}
@media(max-width:600px){.knowledge-filters{grid-template-columns:minmax(0,1fr)}.knowledge-filters button{justify-self:start}.knowledge-article ol{padding-left:22px}}

/* Visible control boundaries and focus indicators on the staff canvas. */
input:not([type=checkbox]),select,textarea,.button.secondary{border-color:#74869b}button:focus-visible,a:focus-visible{outline-color:#236b55;box-shadow:0 0 0 2px white}

/* Staff help and lock controls remain easy to reach on narrow screens. */
.sidebar-logout{min-height:44px;min-width:44px}

@media(max-width:820px){.sidebar nav{flex-wrap:wrap;overflow:visible}.sidebar .nav-item{flex:1 1 140px;min-width:0;white-space:normal}}

@media(max-width:820px){.sidebar .sidebar-bottom{position:static;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;padding:0}.sidebar-bottom .sidebar-logout{margin:0;flex:1 1 140px;text-align:center}}
