/* Qimeng collaboration workspace — visual layer; business controls retain their IDs. */
:root{--navy:#5264df;--text:#202b43;--muted:#8590a5;--line:#e9edf5;--bg:#f5f7fc;--qm-sidebar:228px;--qm-ink:#15213a;--qm-accent:#5264df;font-family:"Microsoft YaHei","Segoe UI",system-ui,sans-serif;font-size:14px}
body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button{font-weight:500;border-radius:8px;transition:background .16s,box-shadow .16s,transform .16s}button:hover:not(:disabled){background:#4355cd}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #9aa9ff;outline-offset:3px}.secondary{border-color:#e2e7f0;color:#69768e;background:white}.secondary:hover:not(:disabled){background:#f2f4fc;color:#5264df;border-color:#cdd5f6}input,select{min-height:41px;border-color:#e2e7f0;border-radius:8px;background:#fff}input:focus,select:focus{border-color:#8795e9;outline:3px solid #edf0ff}label{color:#6d7890;font-size:12px}h2{font-size:20px;letter-spacing:.1px}h3{font-weight:600}section{border-radius:14px;border-color:#e8edf5;box-shadow:0 3px 18px #1a315003;padding:25px;margin:20px 0}small,.muted{color:#8993a8}.workflow-note{border:0;background:#f5f7fc;color:#8892a7;border-radius:8px;line-height:1.85;padding:12px 15px;font-size:12px}summary{color:#60718c}.eyebrow{letter-spacing:1.8px;color:#8b97ae;font-size:9px;margin-bottom:5px}a{color:#5264df}
main{max-width:none;padding:0 32px 36px}.workspace-header{height:82px;padding:0;gap:18px}.workspace-header .page-context{display:none}.workspace-header #session{margin-left:auto}.login-brand .sidebar-brand{padding:0;background:none}.login-brand .sidebar-brand strong{color:#223452}.login-brand .sidebar-brand span:not(.qm-symbol){color:#8994aa}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:30px 22px 27px;flex-shrink:0}.qm-symbol{width:40px;height:43px;display:grid;place-items:center;flex:0 0 40px;border:1px solid #ffffff20;background:linear-gradient(145deg,#6d81f5,#495bd1);border-radius:12px;box-shadow:0 5px 14px #080e2520;color:white}.qm-symbol svg{width:28px;height:28px;stroke-width:1.5}.sidebar-brand strong{display:block;color:white;font-size:20px;font-weight:600;letter-spacing:2px;line-height:1.6}.sidebar-brand div>span{display:block;color:#a6b4ce;font-size:10px;letter-spacing:2px}.nav-caption{color:#6e809f;font-size:9px;letter-spacing:1.6px;margin:18px 24px 10px}.workspace-nav{padding:0 13px;border:0;gap:5px}.workspace-nav button{padding:12px 14px;border:0;border-radius:9px;background:transparent;color:#a5b3cc;font-size:13px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:400;flex-shrink:0}.workspace-nav button svg{width:18px;height:18px;flex:0 0 18px}.workspace-nav button[aria-selected=true]{background:#5264df;color:white;font-weight:500;box-shadow:0 5px 15px #030a2515}.workspace-nav button[aria-selected=true]:after{display:none}.workspace-nav button:hover:not([aria-selected=true]){background:#ffffff09;color:#eef1ff}.sidebar-foot{display:flex;gap:10px;align-items:center;padding:18px 10px;margin-top:auto;border-top:1px solid #ffffff0c;color:#b4c1d6}.sidebar-foot strong{font-size:11px;font-weight:500}.sidebar-foot small{display:block;font-size:9px;color:#6f819f;margin-top:4px}.workspace-dot{width:7px;height:7px;border-radius:50%;background:#8d9df1;box-shadow:0 0 0 4px #8d9df10f;flex-shrink:0}
body:has(#workspaceNav:not([hidden])) main{margin-left:var(--qm-sidebar);padding:100px 32px 40px;max-width:1800px}body:has(#workspaceNav:not([hidden])) .workspace-header{position:fixed;left:var(--qm-sidebar);right:0;top:0;height:74px;padding:0 32px;z-index:20;background:#ffffffed;border-bottom:1px solid #e9edf5;backdrop-filter:blur(14px)}body:has(#workspaceNav:not([hidden])) .login-brand{display:none}body:has(#workspaceNav:not([hidden])) .workspace-header .page-context{display:block}.page-context p{font-size:10px;color:#8e99ae;margin:0 0 3px;letter-spacing:.5px}.page-context strong{font-size:16px;font-weight:600;color:#2b3853}.header-date{font-size:11px;color:#8a95ab;padding-right:18px;border-right:1px solid #e7ebf3}.bar{gap:12px}.user-avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#edf0ff;color:#5766d5;font-size:12px;font-weight:600}#identity{font-size:11px;color:#78849b;max-width:330px;overflow:hidden;text-overflow:ellipsis}#logout{font-size:11px;border:0;border-left:1px solid #e5eaf3;border-radius:0;background:transparent;padding:0 0 0 14px;color:#8a96ab}.workspace-nav:not([hidden]){position:fixed;left:0;top:0;bottom:0;width:var(--qm-sidebar);z-index:25;margin:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;background:linear-gradient(170deg,#19263f 0%,#111c32 100%)}.workspace-nav>.sidebar-brand{margin-left:-13px;margin-right:-13px}#message{border-color:#eadcbd;background:#fffaf0;border-radius:10px;font-size:12px;padding:12px 16px}.local-preview-banner{position:relative;z-index:30;padding:5px 20px;font-size:10px;background:#fff8e8;color:#a58651}body:has(.local-preview-banner):has(#workspaceNav:not([hidden])) .workspace-header{top:28px}body:has(.local-preview-banner):has(#workspaceNav:not([hidden])) .workspace-nav{top:28px}
/* Overview */
.owner-lock{margin-left:auto;font-size:8px;letter-spacing:1px;color:#b4bdfa;background:#ffffff13;border-radius:4px;padding:2px 5px}.owner-hero{display:flex;align-items:center;justify-content:space-between;padding:30px 34px;background:linear-gradient(115deg,#1b2a48,#304a70);border:0;min-height:150px;color:white;margin-top:0}.owner-hero p{color:#98abc9;letter-spacing:2px;font-size:9px;margin-bottom:12px}.owner-hero h2{color:#fff;font-size:26px;margin-bottom:9px;letter-spacing:1px}.owner-hero span{color:#acbdd4;font-size:11px}.owner-access{font-size:10px;color:#c1cbee;border:1px solid #90a2c043;border-radius:20px;padding:7px 13px;background:#ffffff08}.owner-toolbar{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 23px;gap:14px;margin-bottom:20px}.owner-toolbar label{flex:0 1 220px}.owner-toolbar label:nth-child(2){flex-basis:160px}.owner-toolbar small{margin-left:auto;color:#9aa5b8;font-size:10px}.owner-toolbar button{min-height:41px;font-size:11px}.owner-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}.owner-metric{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:12px;background:white;gap:13px;min-width:0}.owner-metric>span{font-size:11px;color:#93a0b7}.owner-metric>strong{font-size:26px;color:#4b5e86;letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-weight:600;overflow-wrap:anywhere}.owner-metric>small{font-size:9px;color:#a1adbf}.owner-stores{margin-top:20px}.owner-stores table{table-layout:auto;min-width:980px}.owner-stores td small{display:block;font-size:9px;color:#a5afc1;margin-top:6px}.owner-stores td strong{font-weight:600;color:#5c6e8d;font-size:11px}.owner-stores td>span{font-size:10px;color:#9ca9be}.owner-progress{height:4px;max-width:100px;margin-top:9px;background:#edf1f9;border-radius:10px;overflow:hidden}.owner-progress i{height:100%;display:block;border-radius:10px;background:#8b9add}.owner-bottom{display:grid;grid-template-columns:1fr 1fr;gap:20px}.owner-bottom section{margin:0;padding:25px}.owner-bottom p{font-size:16px;color:#526587;margin:15px 0 10px}.owner-bottom small{font-size:10px;color:#98a5ba;line-height:1.9}.owner-notes{padding:15px 20px;border:1px solid #e8edf5;background:#fbfcff;border-radius:10px;margin-top:20px;color:#98a5ba;font-size:11px}.owner-notes p{margin:12px 0;font-size:10px;line-height:1.9}.collaboration-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.collaboration-actions button{font-size:11px}.collaboration-card>p{font-size:12px;color:#8190a8;line-height:1.9;margin:18px 0}.collaboration-card small{font-size:10px;color:#99a6bc}.collaboration-card h3{font-size:15px;margin:0 0 8px;color:#3e5275}.collaboration-description{white-space:pre-wrap}.collaboration-card details{margin-bottom:0;border-top:1px solid #edf0f7;padding-top:14px;font-size:10px;color:#a2aec1}.collaboration-card details p{font-size:10px;line-height:1.9}.collaboration-card .collaboration-actions{margin-top:15px}.collaboration-card form{margin:18px 0;display:flex;align-items:end}.collaboration-card textarea{flex:1;min-width:180px}.collaboration-compose{background:#fbfcff;border-color:#dce3fc}.collaboration-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.collaboration-form>label:nth-child(1),.collaboration-form>label:nth-child(2){grid-column:1/-1}.collaboration-form>button{justify-self:start}.collaboration-form textarea{min-height:90px}textarea{font:inherit;width:100%;border:1px solid #e1e7f2;border-radius:8px;padding:11px;color:#52617c;background:white;resize:vertical;min-height:65px}textarea:focus{outline:3px solid #edf0ff;border-color:#8795e9}.collaboration-compose h3{font-size:16px;margin-bottom:20px}#collaborationTasks>section:first-child p{font-size:11px;color:#9aa7bd;margin:12px 0 0}#collaborationTasks>section:first-child .section-heading p{font-size:9px;letter-spacing:1.7px;margin:0 0 5px}#collaborationTasks>p{font-size:11px;color:#9ba8bc;margin:16px 3px}
@media(max-width:1100px){.owner-metrics{grid-template-columns:1fr 1fr}.owner-toolbar small{width:100%;margin:0}.owner-hero{padding:26px}.owner-hero h2{font-size:23px}.owner-bottom{grid-template-columns:1fr}}
@media(max-width:720px){.owner-hero{padding:23px;gap:15px;align-items:start}.owner-access{font-size:8px;padding:5px 8px;white-space:nowrap}.owner-hero h2{font-size:20px}.owner-hero span{font-size:10px;line-height:1.9}.owner-toolbar{padding:16px}.owner-toolbar label{flex:1 1 130px}.owner-toolbar label:nth-child(2){flex-basis:130px}.owner-metrics{gap:10px}.owner-metric{padding:18px;gap:10px}.owner-metric>strong{font-size:22px}.owner-metric>span{font-size:10px}.owner-metric>small{font-size:8px}.collaboration-form{grid-template-columns:1fr}.collaboration-form>label{grid-column:1}.collaboration-actions{gap:5px}.collaboration-actions button{font-size:10px;padding:7px 10px}}
.dashboard-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:215px;padding:32px 36px;margin:0 0 22px;border:1px solid #e2e7fb;background:linear-gradient(112deg,#eef1ff 0%,#f2f5ff 55%,#e9efff 100%);box-shadow:none}.hero-kicker{color:#8390bf;font-size:9px;letter-spacing:2px;margin-bottom:13px}.dashboard-hero h2{font-size:26px;font-weight:600;color:#283961;letter-spacing:.5px;margin:0 0 10px}.dashboard-hero p:not(.hero-kicker){font-size:12px;color:#8491ad;margin-bottom:23px}.hero-actions{display:flex;gap:10px}.hero-actions button{font-size:12px;padding:9px 15px;box-shadow:0 3px 7px #5264df14}.hero-actions .secondary{background:#ffffffa8;color:#6d79a0;border-color:#dfe5f7;box-shadow:none}.hero-actions span{margin-left:15px}.hero-workflow{width:310px;height:185px;position:relative;flex-shrink:0;margin-right:12px}.workflow-orbit{position:absolute;border:1px dashed #bdc9f15c;transform:rotate(-20deg);border-radius:50%;width:270px;height:150px;left:15px;top:20px}.orbit-two{transform:rotate(36deg);width:185px;height:185px;left:60px;top:0}.flow-center{position:absolute;left:108px;top:38px;width:102px;height:112px;border:1px solid #ffffffc0;border-radius:23px;transform:rotate(-5deg);background:linear-gradient(155deg,#7385e9,#465fd0);box-shadow:0 12px 30px #6579cf32;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white}.flow-center svg{width:34px;height:34px;margin-bottom:9px;stroke-width:1.4}.flow-center strong{font-size:12px;letter-spacing:2px;font-weight:500}.flow-center span{font-size:6px;letter-spacing:1.8px;margin-top:4px;color:#d8deff}.flow-chip{position:absolute;display:flex;align-items:center;gap:8px;background:#ffffffd9;border:1px solid #ffffff;border-radius:11px;padding:12px;box-shadow:0 8px 22px #263b7a0c;font-size:10px;color:#6b789f;white-space:nowrap;backdrop-filter:blur(10px)}.flow-chip svg{width:19px;height:19px;color:#8998da}.flow-chip i{width:4px;height:4px;background:#9bb9a3;border-radius:50%;margin-left:9px}.flow-chip-source{left:0;top:25px;transform:rotate(-5deg)}.flow-chip-buy{right:-9px;top:58px;transform:rotate(5deg)}.flow-chip-ship{left:40px;bottom:0;transform:rotate(-3deg)}#view-todos>.section-heading{margin-bottom:5px}#view-todos>.section-heading>.eyebrow{margin:0;color:#9aa5b9}#refreshTodos{font-size:11px;background:transparent;border-color:transparent;color:#8d99b0;padding:6px}#todoStatus:empty{display:none}#todoContent{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}#todoContent>.todo-intro{grid-column:1/-1;order:0;margin:0;display:flex;align-items:center;gap:14px}.todo-intro h2{font-size:16px;margin:0}.todo-intro p{display:none}.todo-intro small{font-size:10px;margin-left:auto;color:#9ca7b9}.todo-metrics{grid-column:1/-1;order:1;gap:16px;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.todo-metric{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:24px;border-radius:12px;background:#fff;border:1px solid #e7ecf5;box-shadow:0 4px 14px #19385c03;text-align:left;overflow:hidden}.todo-metric:before{content:"";position:absolute;right:17px;top:15px;width:40px;height:40px;border-radius:12px;background:#f0f3ff;transform:rotate(10deg)}.todo-metric span{font-size:11px;color:#8994aa;position:relative}.todo-metric strong{position:relative;color:#3c4b70;font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-1px}.todo-metric[data-kind=arrival]:before{background:#fff5e6}.todo-metric[data-kind=exceptions]:before{background:#fdf0f0}.todo-metric[data-kind=repeat]:before{background:#eaf5f0}.todo-metric[data-kind=arrival] strong{color:#bb9256}.todo-metric[data-kind=exceptions] strong{color:#c78f91}.todo-metric[data-kind=repeat] strong{color:#6f9d8b}.todo-metric:hover:not(:disabled){border-color:#cbd5f6;background:#fcfcff;box-shadow:0 5px 15px #223c7010}.todo-section{padding:23px;margin:0;min-width:0;align-self:start;border-radius:13px}.todo-section .section-heading{display:block;border-bottom:1px solid #edf0f6;padding-bottom:15px;margin-bottom:15px}.todo-section h3{font-size:14px;color:#3e4d6d;letter-spacing:.2px}.todo-section .section-heading small{display:block;margin-top:6px;font-size:10px;color:#a0a9bb}.todo-section>p{font-size:11px;color:#9aa5b9;padding:16px 0 12px;margin:0}.todo-section .todo-list{gap:10px}.todo-card{padding:14px;background:#fafbfe;border-color:#edf0f6;border-radius:9px;grid-template-columns:minmax(0,1fr) 112px;gap:12px}.todo-card strong{font-size:11px;color:#52617f;line-height:1.8;-webkit-line-clamp:2}.todo-card p{font-size:10px;color:#98a1b3;margin:6px 0}.todo-card small{font-size:9px;color:#a5aec0;line-height:1.8;overflow-wrap:anywhere}.todo-actions{gap:8px}.todo-actions button{font-size:10px;padding:7px 9px;border-radius:6px}.todo-actions a{font-size:10px;color:#687cbd;text-decoration:none}.todo-card .listing-picture{float:left;margin:0 11px 9px 0;width:48px;height:55px}.todo-trace{font-size:10px!important}#todo-section-buy{order:2}#todo-section-repeat{order:3}#todo-section-arrival{order:4}#todo-section-exceptions{order:5}
/* Business pages */
[role=tabpanel]>section:first-child{margin-top:0}.section-heading h2{font-size:19px;color:#293956}.section-heading>button{font-size:11px}.task-metrics{gap:15px;margin:22px 0}.metric{border-radius:10px;border-color:#e7ecf6;padding:21px 19px;background:#fff;box-shadow:0 3px 10px #17284402}.metric.active{background:#f3f5ff;border-color:#d7def9}.metric strong{color:#59668f;font-size:28px}.metric span{color:#8a96ad;font-size:11px}.task-toolbar{padding:15px;background:#fafbfe;border:1px solid #edf0f7;border-radius:10px;gap:12px}.task-toolbar input,.task-toolbar select{border-color:#e6eaf3;background:white}.table-scroll{border-color:#e9edf6;border-radius:11px}.table-scroll table{min-width:960px}table{font-size:12px}th{background:#f7f9fd;padding:15px 17px;color:#8a96ab;font-size:10px;letter-spacing:.5px;font-weight:500}td{padding:20px 17px;border-color:#eff2f7;color:#6c7991;font-size:11px;line-height:1.8}tr:hover td{background:#fafbff}.task-product strong{font-weight:600;color:#50617e}.task-state{border-radius:5px;padding:4px 9px;font-size:10px}.task-actions button{font-size:11px;border-radius:6px}.task-state[data-state=in_progress]{color:#677bb9;background:#eef1fc}.task-state[data-state=complete]{color:#6c9c87;background:#edf6f1}.task-state[data-state=pending]{color:#b79761;background:#fcf5e8}.task-quantity,.task-source p{font-size:11px}.task-source button{background:#f1f3fc;color:#7986b2;border-color:#e3e8f8}.listing-picture{border-color:#e6ebf4;border-radius:9px;background:#f4f6fb}.product-title{color:#536480;font-size:11px}.source-library-head{padding:26px}.source-library-head form{padding-top:20px;border-top:1px solid #edf0f6;margin-top:20px}.source-card{border-color:#e6ecf6;border-radius:14px;box-shadow:0 4px 18px #18325804}.source-picture{height:190px;border-radius:14px 14px 0 0;background:#f5f7fc}.source-card h3{font-size:14px;color:#435572}.source-price{color:#5b6b9c;font-size:23px}.source-card-body{padding:20px}.source-actions button{font-size:11px}.source-actions a{color:#7f8db4;border-color:#e3e8f3}.source-grid{gap:20px}.factory-card{background:#fafbfe;border-color:#e9edf5}.account-panel{max-width:850px}.permission-editor{background:#fafbfe;border-color:#e5ebf5}#userEditor{background:#fafbfe;border-color:#e9edf6;border-radius:11px;padding:20px}#users details{margin:0}#users details p{max-width:270px;color:#9aa4b6;font-size:10px}#repeatMall{max-width:270px;margin-bottom:18px}#view-repeats .workflow-note{margin-bottom:20px}#taskEditor.task-drawer{width:min(720px,97vw);background:#fff;box-shadow:-20px 0 70px #0f1a3520;padding:28px 30px 40px}.editor-backdrop{background:#17233e4d;backdrop-filter:blur(3px)}.drawer-heading{top:-28px;margin:-28px -30px 20px;padding:25px 30px 22px;background:#fff;border-color:#edf0f6}.drawer-heading h2{font-size:17px;color:#344664}.drawer-heading button{border:0;background:#f2f4fa;color:#909bb1}.drawer-product{border:0;background:#f6f8fd;padding:20px;border-radius:11px}.drawer-product h3{color:#4d5f7c;font-size:13px}.drawer-product .listing-picture{width:88px;height:88px;border-radius:10px}.procurement-panel{border-color:#e9edf5}.source-context{background:#f6f8fd;border-radius:11px}.source-current{border-color:#e2eaf1;background:#f5f9f7}.quote-history details,.procurement-panel details{border-color:#e6ebf4;border-radius:9px}#taskEditor>form{border-color:#e7edf6;background:#fafbfe;border-radius:10px}.permission-option{color:#75839b}.picture-fallback{font-size:9px}
/* Sign-in */
.login-intro{display:none}body:has(#workspaceNav[hidden]):has(#login:not([hidden])){background:radial-gradient(ellipse at 24% 44%,#e7edff 0%,#f5f7fc 53%,#fafbff 100%)}body:has(#workspaceNav[hidden]):has(#login:not([hidden])) main{max-width:1350px;margin:0 auto;display:grid;grid-template-columns:1.15fr 1fr;gap:20px 70px;align-items:center;padding:0 55px 60px;min-height:100vh}body:has(#workspaceNav[hidden]) .workspace-header{grid-column:1/-1;align-self:start}body:has(#workspaceNav[hidden]) #message{grid-column:1/-1}body:has(#workspaceNav[hidden]):has(#login:not([hidden])) .login-intro{display:block;padding:35px 0 100px}.login-intro>p:first-child{font-size:9px;letter-spacing:2.2px;color:#9ca8c8;margin-bottom:30px}.login-intro h2{font-size:48px;line-height:1.5;letter-spacing:3px;color:#2d3d63;margin-bottom:25px;font-weight:600}.login-intro>p:not(:first-child){color:#93a0bb;line-height:2.2;font-size:12px}.login-pillars{display:flex;gap:10px;margin-top:45px}.login-pillars span{padding:8px 13px;border:1px solid #dce3f4;border-radius:7px;color:#8c9bbc;font-size:10px;background:#ffffff33}#login{margin:10px 0 90px;width:100%;max-width:440px;padding:38px;border:1px solid #ffffff;border-radius:19px;background:#ffffffd9;box-shadow:0 20px 70px #3d52770b;backdrop-filter:blur(10px)}#login h2{font-size:24px;color:#344668;margin-bottom:10px}.login-eyebrow{font-size:9px;letter-spacing:1.8px;color:#a6b0c9;margin-bottom:12px}#login>.muted{font-size:11px;line-height:1.8;color:#99a4ba;margin-bottom:28px}#login form{gap:20px}#login input{background:#fbfcff;border-color:#e5eaf5;min-height:45px}#login label{font-size:11px}#login button{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:11px 16px;background:linear-gradient(100deg,#596de2,#4d61d6);box-shadow:0 5px 15px #5264df22;font-size:12px}#setup{grid-column:1/-1}
@media(min-width:1850px){body:has(#workspaceNav:not([hidden])) main{margin-right:auto;padding-right:46px;padding-left:46px}.dashboard-hero{min-height:235px}.dashboard-hero h2{font-size:29px}.hero-workflow{margin-right:70px}}
@media(max-width:1250px){:root{--qm-sidebar:205px}body:has(#workspaceNav:not([hidden])) main{padding-left:23px;padding-right:23px}.workspace-header{padding-left:23px!important;padding-right:23px!important}.sidebar-brand{padding-left:19px;gap:10px}.sidebar-brand strong{font-size:18px}.sidebar-brand div>span{font-size:9px}.qm-symbol{width:34px;height:38px;flex-basis:34px;border-radius:10px}.hero-workflow{width:255px;transform:scale(.88);transform-origin:right center;margin-right:0}.dashboard-hero{padding:28px}.todo-card{grid-template-columns:1fr}.todo-actions{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;align-items:center}.todo-intro small{max-width:55%;text-align:right}.header-date{display:none}#identity{max-width:270px}.todo-metric{padding:21px 18px}.todo-metric strong{font-size:27px}}
@media(max-width:980px){:root{--qm-sidebar:190px}.hero-workflow{display:none}.dashboard-hero{min-height:200px}.dashboard-hero h2{font-size:24px}.todo-metrics{gap:10px}.todo-metric{padding:18px 12px;gap:8px}.todo-metric strong{font-size:24px}.todo-metric span{font-size:10px}.todo-metric:before{width:30px;height:35px;right:8px;top:12px}#todoContent{grid-template-columns:1fr;gap:15px}.todo-section{padding:20px}.todo-card{grid-template-columns:minmax(0,1fr) 125px}.todo-actions{flex-direction:column;align-items:flex-end}.sidebar-brand strong{font-size:17px}.workspace-nav button{font-size:12px;gap:10px;padding-left:12px}body:has(#workspaceNav[hidden]):has(#login:not([hidden])) main{gap:35px;padding:0 30px 35px}.login-intro h2{font-size:37px}.login-pillars{gap:5px}.login-pillars span{font-size:9px;padding:7px 9px}#login{padding:28px}}
@media(max-width:720px){:root{--qm-sidebar:0px}body:has(#workspaceNav:not([hidden])) main{margin-left:0;padding:150px 14px 30px}.workspace-nav:not([hidden]){left:0;right:0;top:70px!important;bottom:auto;width:100%;height:60px;display:flex;flex-direction:row;align-items:center;gap:6px;overflow-x:auto;padding:8px 12px;background:#17243e}.workspace-nav .sidebar-brand,.workspace-nav .nav-caption,.workspace-nav .sidebar-foot{display:none}.workspace-nav button{padding:9px 12px;gap:7px;flex-shrink:0;font-size:11px}.workspace-nav button svg{width:15px;height:15px;flex-basis:15px}.workspace-header{height:70px!important;left:0!important;padding:0 16px!important}.page-context strong{font-size:14px}.page-context p{font-size:9px}#identity{max-width:165px;font-size:10px}.user-avatar{display:none}#logout{padding-left:9px;font-size:10px}.bar{gap:9px}.dashboard-hero{padding:24px;min-height:190px;border-radius:12px}.dashboard-hero h2{font-size:22px}.dashboard-hero p:not(.hero-kicker){font-size:11px;line-height:1.9;margin-bottom:18px}.hero-actions button{font-size:10px;padding:8px 12px}.hero-kicker{font-size:8px}.todo-intro{flex-wrap:wrap}.todo-intro h2{font-size:15px}.todo-intro small{max-width:100%;font-size:9px;line-height:1.7;text-align:left;margin-left:0}.todo-metrics{grid-template-columns:1fr 1fr;gap:10px}.todo-metric{padding:19px}.todo-metric strong{font-size:28px}.todo-metric span{font-size:11px}.todo-card{grid-template-columns:1fr}.todo-actions{flex-direction:row;align-items:center}.section-heading h2{font-size:17px}section{padding:20px}.task-toolbar{padding:12px}.task-toolbar .search-field{width:100%}.task-toolbar>label:not(.search-field){width:145px}.source-library-head{padding:20px}.source-grid{grid-template-columns:1fr}.permission-grid{grid-template-columns:1fr}.drawer-heading h2{font-size:14px}.drawer-heading{padding:20px}.local-preview-banner{display:none}body:has(.local-preview-banner):has(#workspaceNav:not([hidden])) .workspace-header{top:0}#taskEditor.task-drawer{width:100vw;padding:24px 20px}.drawer-heading{top:-24px;margin:-24px -20px 16px}.drawer-product{padding:14px;gap:12px}.drawer-product .listing-picture{width:68px;height:74px;flex-basis:68px}body:has(#workspaceNav[hidden]):has(#login:not([hidden])) main{display:block;padding:0 20px 40px;min-height:100vh}.workspace-header .login-brand{margin:auto}.login-brand .sidebar-brand{gap:10px}.login-intro{display:none!important}#login{max-width:440px;margin:35px auto;padding:30px}.permission-editor{padding:14px}.table-scroll table{min-width:900px}}
.manual-task-notice{grid-column:1/-1;order:2;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border:1px solid #e1e6fa;border-radius:10px;background:#f0f3ff}.manual-task-notice strong{display:block;font-size:12px;color:#687aa9}.manual-task-notice small{display:block;margin-top:5px;font-size:10px;color:#9ba8c2}.manual-task-notice button{font-size:11px}#todoContent #todo-section-buy{order:3}#todoContent #todo-section-repeat{order:4}#todoContent #todo-section-arrival{order:5}#todoContent #todo-section-exceptions{order:6}
.todo-card strong{font-size:12px}.todo-card p{font-size:11px}.todo-card small{font-size:10px}.todo-actions button{font-size:11px}.owner-stores td{font-size:12px}.owner-stores td strong{font-size:12px}.owner-stores td small{font-size:10px}
.section-heading h2,.dashboard-hero h2,.owner-hero h2{letter-spacing:.6px}.owner-metric strong,.metric strong,.todo-metric strong{font-variant-numeric:tabular-nums}.workflow-note{line-height:1.95;color:#7d89a0}.owner-hero>div>span{line-height:1.9}.collaboration-card h3{line-height:1.75}.task-state{letter-spacing:.15px}
.sidebar-foot>div{min-width:0}.sidebar-foot strong{font-size:10px;letter-spacing:0;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
/* Readability: navigation groups are meaningful labels, not decorative microcopy. */
.workspace-nav .nav-caption{font-size:15px;font-weight:600;line-height:1.65;letter-spacing:.5px;color:#b7c5df;margin:22px 20px 12px}
.workspace-nav button{font-size:14px;line-height:1.6}
.sidebar-foot strong{font-size:12px}.sidebar-foot small{font-size:11px;line-height:1.7}
.owner-metric>span,.owner-metric>small,.owner-access,.owner-toolbar small,.owner-stores th,.owner-stores td small,.owner-stores td>span{font-size:12px}
.owner-stores td,.owner-stores td strong{font-size:13px}.owner-bottom small,.owner-notes,.owner-notes p{font-size:12px;color:#78869c;line-height:1.85}
.todo-intro small,.todo-section .section-heading small,.todo-section>p,.todo-card small,.manual-task-notice small{font-size:12px;line-height:1.8}
.todo-card strong,.todo-card p,.todo-actions button,.task-source p,.task-quantity,.product-title{font-size:13px}
.workflow-note,.muted,.task-toolbar>span,.task-state,.source-card-body>p:not(.source-price),.collaboration-card small{font-size:12px}
@media(max-width:720px){.workspace-nav button{font-size:13px}.owner-metric>small{font-size:11px}.todo-card small{font-size:12px}}

.security-heading{display:flex;align-items:center;justify-content:space-between;font-size:24px;font-weight:700;margin:12px 0 16px}.security-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;margin:20px 0}.security-card h2{font-size:19px;margin-top:0}.security-table-scroll{overflow-x:auto}.security-card td,.security-card th{font-size:14px;min-width:90px}.security-actions{display:flex;gap:8px}.security-card button{white-space:nowrap}.security-card select{display:inline-block;max-width:240px;margin-right:12px}.security-warning{color:#a84712}

/* Keep navigation immediate; reduce full-page compositing while working. */
.workspace-loading{margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#eef2ff;color:#5264a7;font-size:13px}.workspace-nav button{transition:background-color 80ms,color 80ms}.editor-backdrop{backdrop-filter:none}button:active:not(:disabled){filter:brightness(.96)}

.temu-record-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:18px}.temu-record-card{padding:22px;background:#fff;border:1px solid #dfe7f0;border-radius:16px;min-width:0}.temu-record-card h3{font-size:16px;margin:12px 0}.temu-record-badge{padding:4px 10px;border-radius:20px;background:#e9f3ef;color:#216650;font-size:13px}.temu-record-facts{display:grid;grid-template-columns:100px 1fr;gap:8px;font-size:14px}.temu-record-facts>span{color:#718097}.temu-record-facts strong{font-weight:500;overflow-wrap:anywhere}.temu-record-reason{padding:12px;border-radius:8px;background:#fff4e7;color:#9b5a1b}.temu-record-card details{margin-top:14px}.temu-record-event{display:grid;grid-template-columns:150px 1fr;gap:10px;padding-left:12px;border-left:2px solid #dce7ee}.temu-record-images{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.temu-record-images img{width:88px;height:88px;object-fit:cover;border-radius:8px;border:1px solid #dde6ed;transition:transform .1s}.temu-record-images img:hover{transform:scale(1.7);position:relative;z-index:2}.temu-record-note{padding:12px;background:#f1f5fa;border-radius:8px}.temu-record-card pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}

/* Compact record centers: details remain available below the selected row. */
.temu-record-table-wrap{overflow-x:auto;border:1px solid #e1e7ef;border-radius:12px;background:#fff}.temu-record-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:950px}.temu-record-table th{background:#f5f7fb;text-align:left;color:#61718a;font-size:13px;padding:12px}.temu-record-table td{padding:10px 12px;border-top:1px solid #e9edf3;font-size:14px;vertical-align:middle;overflow-wrap:anywhere}.temu-record-table th:first-child{width:29%}.temu-record-table th:nth-child(2){width:12%}.temu-record-table th:nth-child(3){width:23%}.temu-record-table th:nth-child(4){width:6%}.temu-record-table th:nth-child(5){width:13%}.temu-record-table th:nth-child(6){width:9%}.temu-record-table th:nth-child(7){width:8%}.temu-record-table td>small{display:block;color:#7b899e;margin-top:5px}.temu-record-product{display:flex;align-items:center;gap:12px;min-height:74px}.temu-record-product>div:last-child{min-width:0;flex:1}.temu-record-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:14px}.temu-record-product small{display:block;margin-top:6px;color:#748399}.temu-record-thumb{flex:none;width:54px;height:54px;background:#f1f4f8;border-radius:8px;display:grid;place-items:center;color:#8593a7;font-size:11px;text-align:center}.temu-record-thumb img{width:54px;height:54px;object-fit:contain;border-radius:8px}.temu-record-link{border:0;background:transparent;box-shadow:none;padding:0;color:#2367a1;text-align:left;font-size:14px;cursor:pointer;max-width:100%;overflow-wrap:anywhere}.temu-record-link:hover{text-decoration:underline;background:transparent}.temu-record-table .secondary{padding:6px 10px;min-height:30px;font-size:13px}.temu-record-detail-row[hidden]{display:none!important}.temu-record-detail-row>td{background:#f5f8fc;padding:12px 18px}.temu-record-detail-row .temu-record-card{border-radius:8px;padding:16px}.temu-record-detail-row .temu-record-facts{grid-template-columns:90px 1fr 90px 1fr;gap:7px 14px}.temu-record-date{font-variant-numeric:tabular-nums;color:#61718a}.temu-record-table tbody>tr:not(.temu-record-detail-row):hover{background:#fafcff}
.temu-record-toolbar{padding:18px!important}.temu-record-toolbar .section-heading{margin-bottom:10px}.temu-record-toolbar .section-heading h2{margin:0;font-size:22px}.temu-record-toolbar .eyebrow,.temu-record-toolbar .section-heading .muted{display:none}.temu-record-toolbar form{display:grid;grid-template-columns:1fr 100px 1.4fr 140px 140px 130px auto;gap:10px;align-items:end}.temu-record-toolbar input,.temu-record-toolbar select{min-height:36px;height:36px;padding:6px 9px}.temu-record-toolbar label{font-size:13px;gap:5px}.temu-record-toolbar .workflow-note{padding:8px;margin:10px 0;font-size:12px}.temu-record-toolbar details{font-size:12px}@media(max-width:1300px){.temu-record-toolbar form{grid-template-columns:repeat(3,minmax(120px,1fr)) auto}}

.pickup-overdue{color:#bd333b;font-weight:600}.pickup-waiting{color:#9c691b}.pickup-unverified{color:#64748b}.pickup-state small{font-weight:400;font-size:11px;color:#8591a3}.temu-record-table th:nth-child(6){width:13%}.temu-record-table th:first-child{width:25%}

.logistics-group-copy{display:block;margin-top:7px;font-size:12px}.logistics-contact-panel{padding:12px;background:#f5f8fc;border-radius:8px}.logistics-contact-panel form{display:flex;gap:8px;flex-wrap:wrap}.logistics-contact-panel input{flex:1;min-width:180px}.temu-record-table td:last-child .secondary{margin:2px 0;white-space:nowrap}.temu-record-table th:nth-child(2){width:15%}.temu-record-table th:first-child{width:22%}
.logistics-group-copy{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.temu-record-table{min-width:900px}
.repeat-delivery-summary p{margin:3px 0;font-size:14px;line-height:1.5}.repeat-delivery-summary small{font-size:12px;line-height:1.5;display:inline-block;max-width:330px}
.repeat-filter-panel{padding:16px 18px;background:#f7f9fc;border:1px solid #e3e9f2;border-radius:12px;margin:16px 0}.repeat-quick-dates{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.repeat-quick-dates button{padding:7px 15px;font-size:14px;border:1px solid #dfe6ef;background:#fff;color:#65748b;border-radius:7px}.repeat-quick-dates button[aria-pressed=true]{background:#203c56;border-color:#203c56;color:#fff}.repeat-filter-form{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(140px,1fr) minmax(140px,1fr) minmax(190px,1.2fr) auto auto;align-items:end;gap:12px}.repeat-filter-form label{font-size:13px;gap:7px;color:#617188}.repeat-filter-form select,.repeat-filter-form input{width:100%;min-height:39px;height:39px;font-size:14px;padding:7px 10px;margin:0!important;background:#fff}.repeat-filter-form button{min-height:39px;white-space:nowrap;font-size:14px;margin:0}.repeat-result-count{font-size:13px;color:#78879a;margin:0 0 12px}.repeat-plan-date{display:table;margin-top:8px;padding:2px 8px;border-radius:5px;background:#edf3fa;color:#355576;font-size:13px;font-weight:600}.repeat-created-time{display:block;font-size:12px;color:#8290a3;margin-top:4px}#repeatMall{max-width:none;margin:0}@media(max-width:1250px){.repeat-filter-form{grid-template-columns:repeat(3,minmax(140px,1fr))}.repeat-filter-form>button{justify-self:start;min-width:80px}}@media(max-width:700px){.repeat-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.repeat-filter-panel{padding:12px}.repeat-quick-dates button{padding:7px 11px}}
#repeatItems table{table-layout:fixed;min-width:900px;width:100%}#repeatItems th:nth-child(1){width:32%}#repeatItems th:nth-child(2){width:12%}#repeatItems th:nth-child(3){width:10%}#repeatItems th:nth-child(4){width:30%}#repeatItems th:nth-child(5){width:16%}#repeatItems td{padding:14px 12px;font-size:13px;vertical-align:top}#repeatItems th{padding:12px;font-size:12px}#repeatItems .task-product>div{flex:1;min-width:0}#repeatItems .task-product strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:14px}#repeatItems .task-product p{font-size:12px;overflow-wrap:anywhere;margin:5px 0}#repeatItems button{font-size:12px;padding:7px 10px}
.dispatch-desk{margin:0 0 24px;padding:24px;background:#fff;border:1px solid #e1e8f1;border-radius:16px;box-shadow:0 5px 18px #18345105}.dispatch-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.dispatch-heading h2{font-size:22px;margin:0 0 5px;color:#213e58}.dispatch-heading p{font-size:13px;color:#718298;margin:0}.dispatch-refresh{font-size:13px;padding:9px 15px;border-radius:8px;background:#203e58;color:#fff}.dispatch-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 16px;padding:12px;background:#f6f8fc;border-radius:10px}.dispatch-filters input,.dispatch-filters select{height:36px;min-width:0;margin:0;font-size:13px;border-radius:7px;padding:6px 10px;border:1px solid #dce4ed;background:#fff}.dispatch-filters input[placeholder]{flex:1;min-width:180px}.dispatch-days{display:flex;gap:5px;align-items:center}.dispatch-days button{padding:7px 10px;font-size:13px;border:1px solid #dce4ed;background:#fff;color:#506980;border-radius:7px}.dispatch-days button[aria-pressed=true]{color:#fff;background:#234761;border-color:#234761}.dispatch-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.dispatch-metric{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;color:#536d83;text-align:left}.dispatch-metric span{font-size:13px}.dispatch-metric strong{font-size:26px;color:#27475d;font-variant-numeric:tabular-nums}.dispatch-metric[data-state=shortage] strong{color:#b37821}.dispatch-metric[data-state=over] strong,.dispatch-metric[data-state=pickup] strong{color:#b65a5a}.dispatch-metric[aria-pressed=true]{background:#eff5fa;border-color:#99b1c8}.dispatch-status{font-size:12px;color:#798b9f;margin:16px 0 7px}.dispatch-status[data-error=true]{color:#ac5b24;background:#fff5e9;padding:10px;border-radius:7px}.dispatch-notice{font-size:12px;color:#75869a;line-height:1.8;margin:0 0 15px}.dispatch-table-wrap{overflow:auto;border:1px solid #e4ebf2;border-radius:10px}.dispatch-table{width:100%;min-width:860px;table-layout:fixed}.dispatch-table th{padding:12px 14px;font-size:12px;color:#60768b;letter-spacing:0;background:#f5f8fb}.dispatch-table th:nth-child(1){width:30%}.dispatch-table th:nth-child(2){width:18%}.dispatch-table th:nth-child(3){width:12%}.dispatch-table th:nth-child(4){width:12%}.dispatch-table th:nth-child(5){width:14%}.dispatch-table th:nth-child(6){width:14%}.dispatch-table td{font-size:13px;padding:14px;vertical-align:middle;line-height:1.65;border-color:#eaf0f5;color:#405c73}.dispatch-table small{display:block;font-size:11px;color:#7b8fa3;line-height:1.7}.dispatch-identity{display:flex;gap:10px;align-items:center}.dispatch-identity>div{min-width:0}.dispatch-product-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;max-width:100%;color:#304c65}.dispatch-identity .listing-picture{width:46px;height:50px;flex-basis:46px}.dispatch-contacts{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin:7px 0 3px}.dispatch-contacts>span{font-size:12px;color:#3b7c6b}.dispatch-product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px}.dispatch-text-button,.dispatch-product-actions a{display:inline;padding:0!important;margin:0;font-size:12px;border:0;background:transparent;color:#3f7292;cursor:pointer;box-shadow:none;text-decoration:none;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dispatch-pickup{font-size:11px;padding:2px 6px;background:#fff0ed;color:#a64e40;border:1px solid #f0d3cb;border-radius:4px}.dispatch-sync{font-size:10px!important;margin-top:5px}.dispatch-spec{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:3px 0;font-size:12px}.dispatch-number{font-size:21px;font-variant-numeric:tabular-nums;color:#2c4c63;font-weight:650}.dispatch-state{display:inline-block;padding:3px 7px;font-size:12px;border-radius:5px;background:#eef3f8;color:#688197}.dispatch-state[data-state=shortage]{background:#fff4e2;color:#9d6a20}.dispatch-state[data-state=over]{background:#fff0ed;color:#ad5947}.dispatch-state[data-state=balanced]{background:#eaf5ef;color:#3a7e5b}.dispatch-difference{display:block;font-size:14px;color:#536f85;margin-top:6px}.dispatch-table td>button{font-size:12px;padding:7px 10px;margin:0;border-radius:6px}.dispatch-empty{padding:28px;margin:0;text-align:center;font-size:14px;color:#8191a3}#view-todos:has(#shippingDesk:not([hidden])) .dashboard-hero{min-height:100px;padding:20px 26px;margin-bottom:18px}#view-todos:has(#shippingDesk:not([hidden])) .hero-workflow{display:none}#view-todos:has(#shippingDesk:not([hidden])) .hero-kicker{display:none}#view-todos:has(#shippingDesk:not([hidden])) .dashboard-hero h2{font-size:22px;margin-bottom:5px}#view-todos:has(#shippingDesk:not([hidden])) .dashboard-hero p:not(.hero-kicker){margin:0;font-size:13px}#view-todos:has(#shippingDesk:not([hidden])) .hero-actions{display:none}@media(max-width:1100px){.dispatch-metrics{gap:7px}.dispatch-metric{padding:12px;display:block}.dispatch-metric strong{display:block;margin-top:5px}.dispatch-desk{padding:18px}}@media(max-width:720px){.dispatch-heading h2{font-size:19px}.dispatch-filters{align-items:stretch}.dispatch-filters>select{flex:1}.dispatch-days{width:100%}.dispatch-days input{flex:1;width:130px}.dispatch-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dispatch-metric span{font-size:12px}.dispatch-desk{padding:15px}.dispatch-heading p{font-size:12px}}

.dispatch-filters{display:grid;grid-template-columns:auto minmax(135px,1fr) minmax(135px,1fr) minmax(135px,1fr);align-items:center}.dispatch-filters input,.dispatch-filters select{width:100%;min-height:36px}.dispatch-filters>input[placeholder]{grid-column:1/-1}.dispatch-days input{width:137px}.dispatch-metric:hover:not(:disabled){background:#f3f7fb}.dispatch-text-button:hover:not(:disabled){background:transparent;color:#244c69;text-decoration:underline}.dispatch-table td>button:hover:not(:disabled){background:#eef4f9}#view-todos:has(#shippingDesk:not([hidden])) .dashboard-hero{min-height:72px;padding:13px 24px;margin-bottom:14px}@media(min-width:1500px){.dispatch-filters{grid-template-columns:auto minmax(145px,1fr) minmax(140px,1fr) minmax(140px,1fr) minmax(190px,1.5fr)}.dispatch-filters>input[placeholder]{grid-column:auto}}@media(max-width:900px){.dispatch-filters{grid-template-columns:1fr 1fr}.dispatch-days{grid-column:1/-1}}@media(max-width:540px){.dispatch-filters{grid-template-columns:1fr}.dispatch-days{width:100%}.dispatch-days input{flex:1;min-width:0}}

#view-todos:has(#shippingDesk:not([hidden]))>.dashboard-hero{display:none}.dispatch-pickup-list{margin:0 0 16px;padding:12px 14px;background:#fff7f2;border:1px solid #f0dfd0;border-radius:10px}.dispatch-pickup-list summary{font-size:13px;color:#98622f;cursor:pointer;font-weight:600}.dispatch-pickup-line{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 0;border-top:1px solid #f2e4da}.dispatch-pickup-line:first-of-type{margin-top:9px}.dispatch-pickup-line strong{font-size:13px;color:#74543b}.dispatch-pickup-line small{font-size:12px;color:#8c8073;display:block}.dispatch-pickup-line button{font-size:12px;padding:6px 10px;background:#fff;color:#906132;border-color:#e9d5c3}

.dispatch-text-plan{font-size:15px;white-space:nowrap}

.hourly-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:0}.hourly-heading h2{font-size:24px;color:#25455e;margin:5px 0}.hourly-heading p{font-size:13px;color:#6d8198;margin:7px 0}.hourly-filters{display:grid;grid-template-columns:160px minmax(150px,1fr) minmax(180px,2fr) minmax(195px,1fr) auto;gap:12px;background:#fff;padding:17px;border:1px solid #e5ebf3;border-radius:12px}.hourly-filters input,.hourly-filters select{font-size:14px;width:100%;min-width:0}.hourly-status{font-size:13px;color:#6e8298}.hourly-status[data-error=true]{color:#ac5d30;background:#fff5ea;padding:12px}.hourly-health{background:#f3f7fb;border:1px solid #e1e9f2;border-radius:10px;padding:13px 16px;margin:15px 0}.hourly-health p{font-size:13px;line-height:1.8}.hourly-table-wrap{overflow:auto;background:#fff;border:1px solid #e0e8f1;border-radius:13px}.hourly-table{width:100%;min-width:890px;table-layout:fixed}.hourly-table th{padding:14px;font-size:13px;background:#f5f8fc;color:#6b8096}.hourly-table td{padding:14px;font-size:13px;vertical-align:middle}.hourly-table th:nth-child(1){width:28%}.hourly-table th:nth-child(2){width:27%}.hourly-table th:nth-child(3){width:17%}.hourly-table th:nth-child(4){width:17%}.hourly-table th:nth-child(5){width:11%}.hourly-table small{display:block;margin-top:6px;font-size:12px;line-height:1.7;color:#7e90a4}.hourly-table td>strong{font-size:23px;font-variant-numeric:tabular-nums;color:#284a64}.hourly-product{display:flex;align-items:center;gap:11px}.hourly-product>div{min-width:0}.hourly-product strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.hourly-product .listing-picture{width:48px;height:52px;flex:0 0 48px}.hourly-table button{font-size:12px;padding:7px}.hourly-chart{display:flex;align-items:flex-end;gap:7px;height:180px;border-bottom:1px solid #dce5ef;margin:20px 0 5px;padding:0 4px}.hourly-chart-cell{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.hourly-chart-cell i{display:block;width:100%;max-width:32px;min-height:2px;border-radius:4px 4px 0 0;background:#6687d8}.hourly-chart-cell span{font-size:12px;color:#7a8da4}.hourly-chart-cell[data-state=missing] i,.hourly-chart-cell[data-state=open] i{background:#dce3ec;border:1px dashed #c4cedc}.hourly-chart-cell[data-state=gap] i{background:#dca855}.hourly-chart-cell[data-state=corrected] i{background:#ce7979}.hourly-chart.compact{height:76px;gap:3px;margin:0}.hourly-chart.compact span{font-size:10px}.hourly-detail table{width:100%;font-size:13px}.hourly-detail th,.hourly-detail td{padding:12px}.hourly-detail select{max-width:300px;font-size:14px}.hourly-detail h3{font-size:19px;color:#294b64}.hourly-detail p,.hourly-legend{font-size:13px;line-height:1.9;color:#7b8ca1}@media(max-width:1000px){.hourly-filters{grid-template-columns:1fr 1fr}.hourly-heading{align-items:flex-start}.hourly-chart{gap:4px}.hourly-detail table{font-size:12px}}@media(max-width:600px){.hourly-filters{grid-template-columns:1fr}.hourly-chart{gap:2px}.hourly-chart-cell span{font-size:10px}}

.dispatch-row-actions>button{display:block;width:100%;margin:6px 0!important;white-space:nowrap}.dispatch-handle{background:#e8f3ec;color:#27734d;border:1px solid #c6e2cf}.dispatch-handle:hover:not(:disabled){background:#d8eddf!important;color:#1f603f}.dispatch-state[data-state=handled]{background:#e8f3ec;color:#27734d}

.hourly-heading{padding:20px 24px;margin:0 0 18px}.hourly-heading .eyebrow{display:none}.hourly-heading h2{margin:0 0 6px}.hourly-heading p{margin:0}.hourly-chart-cell{position:relative;box-sizing:border-box;padding-bottom:22px}.hourly-chart-cell span{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;line-height:16px}.hourly-sales>.workflow-note{margin:10px 0;line-height:1.8}.hourly-health{margin:12px 0}.hourly-status{margin:12px 0}

.workspace-nav .accounts-link{display:block;padding:14px 18px;color:inherit;text-decoration:none;font-weight:600}.workspace-nav .accounts-link[hidden]{display:none}

/* Company workbook grants are independent of role presets and visible to the owner. */
#companyAccessPanel form{display:grid;grid-template-columns:1fr;gap:18px}#companyAccessPanel form>select{width:min(100%,420px)}#companyAccessPanel .permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;width:100%}#companyAccessPanel .permission-grid label{display:grid;gap:8px;font-size:14px}#companyAccessPanel .permission-grid select{width:100%}#companyAccessPanel form>button{justify-self:start}#companyAccessPanel>p{line-height:1.8}
.hourly-chart{display:block;position:relative;height:auto;min-height:0;padding:0;margin:20px 0 8px;border:0;isolation:isolate}
.hourly-chart svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit}
.hourly-chart.compact{display:block;height:108px;margin:0;padding:0;border:0}
.hourly-chart.compact svg{height:108px}
.hourly-gridline{stroke:#e4eaf2;stroke-width:1}
.hourly-axis{fill:#7b899e;font-size:13px;font-variant-numeric:tabular-nums}
.compact .hourly-axis{font-size:11px}
.hourly-line-path{fill:none;stroke:#f58524;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.compact .hourly-line-path{stroke-width:1.8}
.hourly-line-area{fill:#f58524;fill-opacity:.055;stroke:none}
.hourly-line-point{fill:#fff;stroke:#f58524;stroke-width:1.8;vector-effect:non-scaling-stroke}
.hourly-status-dot{fill:#c8d1de}.hourly-status-dot.open{fill:#e0e6ef}.hourly-status-dot.gap{fill:#d3a14c}.hourly-status-dot.corrected{fill:#ce6e6e}
.hourly-crosshair{stroke:#9aabc0;stroke-width:1;stroke-dasharray:4 4;pointer-events:none}
.hourly-focus-point{fill:#f58524;stroke:#fff;stroke-width:2;pointer-events:none}
.hourly-hour-target{cursor:crosshair;outline:none}.hourly-hour-target:focus-visible{stroke:#b5c9e5;stroke-width:1;stroke-dasharray:3 3}
.hourly-chart-tooltip{position:absolute;z-index:5;top:14px;transform:translateX(-50%);padding:12px 15px;border:1px solid #e3e9f2;border-radius:10px;background:rgba(255,255,255,.98);color:#344960;box-shadow:0 5px 24px #25385018;font-size:13px;line-height:1.8;white-space:pre-line;pointer-events:none;min-width:180px;font-variant-numeric:tabular-nums}
.hourly-chart-tooltip[hidden]{display:none}.compact .hourly-chart-tooltip{top:0;font-size:11px;padding:7px 10px;min-width:160px}
.hourly-chart-empty{position:absolute;left:15%;right:10%;top:40%;transform:translateY(-50%);text-align:center;color:#8492a6;font-size:14px;pointer-events:none;background:#ffffffda;line-height:1.8;padding:8px;border-radius:6px}
.compact .hourly-chart-empty{font-size:11px;left:10%;right:4%;top:37%;padding:2px 4px}
.hourly-detail{padding:24px;background:#fff;border:1px solid #e0e8f1;border-radius:15px;margin:18px 0 22px;box-shadow:0 5px 22px #233d5b05}
.hourly-detail[hidden]{display:none}.hourly-detail .section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.hourly-detail .section-heading>div{min-width:0}.hourly-detail h3{margin:0;line-height:1.6}.hourly-detail .section-heading button{flex-shrink:0}.hourly-detail select{min-width:240px}
.hourly-detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 8px}.hourly-detail-stats>div{background:#f8faff;border:1px solid #ebf0f7;border-radius:10px;padding:14px 18px}.hourly-detail-stats small{display:block;font-size:12px;color:#7b8da3;margin-bottom:6px}.hourly-detail-stats strong{font-size:23px;color:#294760;font-variant-numeric:tabular-nums}
.hourly-hour-records{border-top:1px solid #e8edf5;margin-top:16px;padding-top:14px;overflow:auto}.hourly-hour-records summary{cursor:pointer;color:#60758e;font-size:13px;padding:5px 0 12px}.hourly-hour-records table{min-width:600px}.hourly-legend{margin:5px 0 0}
@media(max-width:700px){.hourly-detail{padding:16px}.hourly-detail-stats{gap:8px}.hourly-detail-stats>div{padding:12px 10px}.hourly-detail-stats strong{font-size:18px}.hourly-chart-tooltip{font-size:11px;min-width:145px;padding:8px 10px}.hourly-detail .section-heading{flex-wrap:wrap}.hourly-detail .hourly-chart{min-width:550px}.hourly-detail{overflow-x:auto}}

.hourly-chart.compact .hourly-axis{font-size:14px}@media(max-width:1100px){.hourly-detail .hourly-axis{font-size:18px}}
.hourly-detail.hourly-popover{position:fixed;z-index:90;margin:0;padding:18px 22px;box-sizing:border-box;overflow:auto;border:1px solid #dfe5ee;border-radius:8px;box-shadow:0 6px 30px #152b4533;background:#fff;overscroll-behavior:contain}
.hourly-popover .section-heading h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.hourly-popover .section-heading p{font-size:12px;margin:3px 0 10px}.hourly-popover .section-heading button{padding:5px 10px;font-size:12px}
.hourly-popover .hourly-detail-stats{margin:12px 0 0;gap:10px}.hourly-popover .hourly-detail-stats>div{padding:9px 12px;background:#fafbfe}.hourly-popover .hourly-detail-stats strong{font-size:18px}.hourly-popover .hourly-detail-stats small{font-size:11px;margin-bottom:3px}
.hourly-popover .hourly-chart{margin:10px 0 0;min-width:0}.hourly-popover .hourly-axis{font-size:16px}.hourly-popover .hourly-legend{font-size:11px;line-height:1.7;margin-top:3px}.hourly-popover .hourly-hour-records{margin-top:8px;padding-top:5px}.hourly-popover .hourly-hour-records summary{font-size:12px;padding-bottom:5px}
.hourly-hover-trigger{cursor:crosshair}.hourly-table .hourly-chart-tooltip{display:none!important}
.hourly-header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.hourly-header-actions button{white-space:nowrap;min-width:100px}.hourly-manual-status{padding:12px 15px;border:1px solid #dce8f7;border-radius:9px;background:#f0f6ff;color:#3d6488;font-size:13px;line-height:1.8}.hourly-manual-status:empty{display:none}.hourly-manual-status[data-error=true]{border-color:#efdcc6;background:#fff7ed;color:#9a6632}@media(max-width:800px){.hourly-heading{flex-wrap:wrap}.hourly-header-actions{flex-wrap:wrap}}
.hourly-collection-hint{padding:11px 15px;border:1px solid #eadfc8;border-radius:9px;background:#fffaf0;color:#8b672d;font-size:13px;line-height:1.8;margin:12px 0}.hourly-collection-hint[hidden]{display:none}

.offline-payment-overlay{position:fixed;inset:0;z-index:120;background:#17304766;display:flex;justify-content:center;align-items:flex-start;padding:28px;overflow:auto}.offline-payment-editor{width:min(880px,100%);background:white;border-radius:16px;padding:24px;color:#28455d;box-shadow:0 12px 50px #132b4433}.offline-payment-editor h2{margin:0;font-size:21px}.offline-payment-editor p{font-size:13px;line-height:1.8}.offline-payment-editor fieldset{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;border:1px solid #dfe7f1;border-radius:10px;margin:16px 0;padding:16px}.offline-payment-editor fieldset>p,.offline-payment-editor fieldset>small{grid-column:1/-1}.offline-payment-editor label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#61778c}.offline-payment-editor input,.offline-payment-editor select{width:100%;box-sizing:border-box}.offline-payment-editor .offline-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.offline-payment-editor form>strong{display:block;margin:20px 0;font-size:23px}.offline-payment-message{color:#ad503b}.offline-payment-ledger>header{display:block!important}.offline-payment-ledger>form{display:grid;grid-template-columns:1fr 150px 150px minmax(180px,2fr) auto;gap:10px;margin:18px 0}.offline-payment-ledger>section{margin:18px 0}.offline-payment-daily{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.offline-payment-daily>span{background:#f0f5fc;border:1px solid #dce7f2;padding:7px 10px;border-radius:7px;font-size:12px}.offline-payment-table{overflow:auto}.offline-payment-table table{width:100%;min-width:1180px;border-collapse:collapse;font-size:12px}.offline-payment-table th,.offline-payment-table td{padding:12px;border-bottom:1px solid #e6ecf4;text-align:left;vertical-align:top;white-space:pre-line;overflow-wrap:anywhere}.offline-payment-table th{background:#f6f8fc}.offline-payment-table details{min-width:150px}.offline-payment-table details p{font-size:12px;line-height:1.7}@media(max-width:1000px){.offline-payment-ledger>form{grid-template-columns:1fr 1fr}.offline-payment-editor fieldset,.offline-payment-editor .offline-payment-fields{grid-template-columns:1fr}.offline-payment-overlay{padding:12px}}

.company-ledger .offline-payment-ledger{background:transparent;border:0;padding:0;margin-top:14px;box-shadow:none}.company-ledger .offline-payment-ledger>header{display:flex!important;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}.company-ledger .offline-payment-ledger>header p{margin:0;font-size:13px;flex:1}.company-ledger .offline-payment-ledger>form{display:grid;grid-template-columns:minmax(145px,1fr) 145px 145px 130px minmax(170px,2fr) auto;gap:10px}.company-ledger .offline-payment-ledger>section{padding:16px}.company-ledger .offline-payment-ledger>section>strong{font-size:18px}@media(max-width:1100px){.company-ledger .offline-payment-ledger>form{grid-template-columns:1fr 1fr}.company-ledger .offline-payment-ledger>header{flex-wrap:wrap}}
.temu-api-fields{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;margin:16px 0}.temu-api-fields label{display:grid;gap:8px;font-size:14px}.temu-api-fields input{width:100%;min-width:0}@media(max-width:900px){.temu-api-fields{grid-template-columns:1fr}}
.offline-payment-product{display:flex;align-items:center;gap:10px;min-width:0}.offline-payment-product>div{min-width:0;flex:1}.offline-payment-product strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.offline-payment-product small{display:block;font-size:12px;color:#73859b;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.offline-payment-product .listing-picture{width:56px;height:56px;flex:0 0 56px}.offline-payment-product .listing-picture img{width:56px;height:56px;object-fit:contain}.offline-payment-editor-product,.offline-payment-editor fieldset>details{grid-column:1/-1}.offline-payment-editor fieldset>details{margin:0}.offline-payment-editor summary{cursor:pointer;color:#66819b;font-size:13px}.offline-payment-editor .offline-payment-product strong{font-size:15px}.offline-payment-range{display:flex;gap:7px;align-items:center;margin:8px 0}.offline-payment-range button{padding:6px 13px;min-height:30px;font-size:13px;background:#fff;border:1px solid #dce5f0;color:#536b86;box-shadow:none}.offline-payment-range button.selected{background:#eaf0ff;color:#425dba;border-color:#aebdec}.offline-payment-pager{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:12px;font-size:13px}.offline-payment-pager select{width:auto;min-width:125px}.offline-payment-pager button{padding:7px 12px;min-height:32px}.offline-payment-status{font-size:12px;line-height:1.5;margin:7px 0;color:#76899f}.company-ledger .offline-payment-ledger>section.offline-payment-overview{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:9px 0;padding:12px 15px;border:1px solid #dfe7f1;border-radius:9px;background:#fff}.offline-payment-overview>span{font-size:12px;color:#71859c}.offline-payment-overview details{margin:0 0 0 auto}.offline-payment-overview details summary{padding:0;font-size:12px}.offline-payment-daily{max-height:160px;overflow:auto}.offline-payment-ledger .offline-payment-table{border:1px solid #e2e8f1;border-radius:10px;background:white;max-height:calc(100vh - 380px);min-height:150px}.offline-payment-ledger .offline-payment-table table{table-layout:fixed;min-width:1280px;font-size:13px}.offline-payment-ledger .offline-payment-table th,.offline-payment-ledger .offline-payment-table td{font-size:13px;padding:8px 10px;vertical-align:middle;line-height:1.6}.offline-payment-ledger .offline-payment-table th{position:sticky;top:0;z-index:2;background:#f4f7fb;white-space:normal}.offline-payment-table th:nth-child(1){width:128px}.offline-payment-table th:nth-child(2){width:300px}.offline-payment-table th:nth-child(3){width:158px}.offline-payment-table th:nth-child(4){width:160px}.offline-payment-table th:nth-child(5){width:86px}.offline-payment-table th:nth-child(6){width:110px}.offline-payment-table th:nth-child(7){width:120px}.offline-payment-table th:nth-child(8){width:145px}.offline-payment-table tbody tr:hover{background:#f9fbfe}.offline-payment-table .offline-payment-actions{display:flex;gap:6px;align-items:center}.offline-payment-table .offline-payment-actions button{padding:4px 10px;margin:0;min-height:28px;font-size:12px}.company-ledger .offline-payment-table details{margin:2px 0 0;min-width:0;max-width:260px}.company-ledger .offline-payment-table summary{padding:3px 0;font-size:12px}.company-ledger:has(#ledger-offline:not([hidden])) .ledger-tabs{margin-bottom:12px}.company-ledger:has(#ledger-offline:not([hidden])) header{margin-bottom:10px}.company-ledger:has(#ledger-offline:not([hidden])) .eyebrow{display:none}.company-ledger:has(#ledger-offline:not([hidden])) #ledger-status:not(.error){display:none}.company-ledger:has(#ledger-offline:not([hidden])) h1{font-size:24px}.company-ledger .offline-payment-ledger>form{margin:10px 0 5px;gap:8px}.company-ledger .offline-payment-ledger>header p{font-size:12px}@media(max-width:900px){.offline-payment-ledger .offline-payment-table{max-height:65vh}.offline-payment-pager{flex-wrap:wrap}.offline-payment-overview details{margin-left:0}}
#ledger-offline .offline-payment-pager select{width:140px;min-width:140px;flex:0 0 140px}#ledger-offline .offline-payment-pager>span{white-space:nowrap;margin-right:auto}#ledger-offline .offline-payment-pager button{flex-shrink:0}
.purchase-access-panel>p{font-size:14px;line-height:1.8}.purchase-access-panel form{display:block}.purchase-access-panel form>label{display:grid;gap:8px;max-width:360px}.purchase-access-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.purchase-access-options label{display:flex;align-items:center;gap:9px;border:1px solid #e0e7f0;background:#f8faff;padding:13px 16px;border-radius:9px;font-size:14px}.purchase-access-options input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#535fe2}.purchase-access-actions{display:flex;gap:9px;align-items:center}.purchase-access-panel [role=status]:empty{display:none}
.offline-payment-editor .offline-payment-prefill{background:#f0f7f4;border:1px solid #dcebe3;border-radius:7px;padding:8px 12px;color:#3c6d58;line-height:1.7;font-size:13px}
.offline-payment-day-summary{flex:0 0 100%;min-width:0;border-top:1px solid #e6ecf4;padding-top:10px}.offline-payment-day-summary>p{font-size:12px;color:#75879c;margin:0 0 9px}.offline-payment-day-totals{display:flex;gap:8px;flex-wrap:wrap;max-height:184px;overflow:auto}.offline-payment-day-totals>button.offline-payment-day-total{display:grid;grid-template-columns:auto auto;gap:3px 18px;align-items:center;min-width:205px;margin:0;padding:9px 12px;border:1px solid #dfe7f0;border-radius:8px;background:#f8faff;color:#526a83;text-align:left;box-shadow:none;font-size:13px;line-height:1.5}.offline-payment-day-total>strong{font-size:18px;color:#244b67;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.offline-payment-day-total>small{grid-column:1/-1;font-size:12px;color:#7c8da0}.offline-payment-day-totals>button.offline-payment-day-total:hover,.offline-payment-day-totals>button.offline-payment-day-total[aria-pressed=true]{border-color:#aebdec;background:#edf2ff}.offline-payment-day-totals>span{font-size:13px;color:#778ba1;padding:4px 0}@media(max-width:600px){.offline-payment-day-totals>button.offline-payment-day-total{flex:1;min-width:175px}}

/* Shared ERP/extension payment editor: only line items scroll. */
.offline-payment-overlay:has(>.offline-payment-editor){box-sizing:border-box;align-items:center;padding:2vh 2vw;overflow:hidden}
.offline-payment-overlay>.offline-payment-editor{box-sizing:border-box;display:flex;flex-direction:column;width:min(1320px,96vw);height:min(850px,92vh);max-height:92vh;min-height:0;margin:0;padding:16px 20px;overflow:hidden;border:1px solid #dfe7f1}
.offline-payment-editor :where(*){box-sizing:border-box}
.offline-payment-editor .offline-payment-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;margin-bottom:10px}
.offline-payment-editor .offline-payment-editor-heading h2{margin:0;font-size:20px;line-height:1.4}
.offline-payment-editor .offline-payment-editor-heading small{display:block;margin-top:2px;font-size:12px;color:#7a8ca0}
.offline-payment-editor .offline-payment-editor-batch{font-size:12px;color:#617b94;white-space:nowrap;background:#f2f6fc;border-radius:7px;padding:7px 10px}
.offline-payment-editor>.offline-payment-message{flex:0 0 auto;margin:0 0 8px;font-size:13px;line-height:1.5;max-height:44px;overflow:auto}
.offline-payment-editor>.offline-payment-message:empty{display:none}
.offline-payment-editor>.offline-payment-prefill{flex:0 0 auto;max-height:36px;margin:0 0 8px;padding:4px 9px;font-size:12px;line-height:1.6;overflow:auto}
.offline-payment-overlay .offline-payment-editor .offline-payment-editor-form{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px;flex:1 1 auto;min-height:0;margin:0;overflow:hidden}
.offline-payment-editor .offline-payment-primary{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) minmax(155px,1fr);gap:12px;align-items:end;margin:0}
.offline-payment-editor .offline-payment-primary-amend{grid-template-columns:minmax(200px,1.5fr) minmax(115px,1fr) minmax(145px,1fr) minmax(140px,1fr)}
.offline-payment-editor .offline-payment-primary label,.offline-payment-editor .offline-payment-extra-fields label{min-width:0;font-size:12px;line-height:1.4;gap:4px}
.offline-payment-editor input,.offline-payment-editor select{min-height:34px;height:34px;min-width:0;padding:5px 8px;font-size:14px;border:1px solid #dce5ef;border-radius:6px;color:#29485f;background:#fff}
.offline-payment-editor input[readonly]{background:#f5f8fb;color:#72849a}
.offline-payment-editor .offline-payment-lines-viewport{min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #dfe7ef;border-radius:9px;scrollbar-gutter:stable}
.offline-payment-editor .offline-payment-lines{width:100%;min-width:1030px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.45;margin:0}
.offline-payment-editor .offline-payment-lines th{position:sticky;top:0;z-index:1;background:#f1f5fa;color:#61788e;font-weight:500;font-size:12px;white-space:nowrap;padding:9px 8px;text-align:left;border-bottom:1px solid #dfe7ef}
.offline-payment-editor .offline-payment-lines th:nth-child(1){width:25%}.offline-payment-editor .offline-payment-lines th:nth-child(2){width:28%}.offline-payment-editor .offline-payment-lines th:nth-child(3){width:7%}.offline-payment-editor .offline-payment-lines th:nth-child(4){width:9%}.offline-payment-editor .offline-payment-lines th:nth-child(5){width:13%}.offline-payment-editor .offline-payment-lines th:nth-child(6){width:9%}.offline-payment-editor .offline-payment-lines th:nth-child(7){width:9%}
.offline-payment-editor .offline-payment-lines td{vertical-align:middle;padding:5px 8px;border-bottom:1px solid #e9eef4;background:#fff;text-align:left}
.offline-payment-editor .offline-payment-lines tr:last-child td{border-bottom:0}.offline-payment-editor .offline-payment-lines tbody tr:hover td{background:#fbfcff}
.offline-payment-editor .offline-payment-line-product .offline-payment-product{gap:8px}.offline-payment-editor .offline-payment-line-product .listing-picture,.offline-payment-editor .offline-payment-line-product .listing-picture img{width:36px;height:36px;flex:0 0 36px;object-fit:contain}
.offline-payment-editor .offline-payment-line-product strong{font-size:13px;line-height:1.5}.offline-payment-editor .offline-payment-line-product small{font-size:12px;line-height:1.4}
.offline-payment-editor .offline-payment-line-warning,.offline-payment-editor .offline-payment-line-prefill{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;margin-top:2px;color:#657e8f}.offline-payment-editor .offline-payment-line-warning{color:#a85d40}
.offline-payment-editor .offline-payment-line-refs>strong,.offline-payment-editor .offline-payment-line-refs>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.45;font-weight:400}.offline-payment-editor .offline-payment-line-refs>small{color:#75889a}
.offline-payment-editor .offline-payment-line-refs{position:relative}.offline-payment-editor .offline-payment-line-refs>strong{padding-right:36px}.offline-payment-editor .offline-payment-line-references:not([open]){position:absolute;top:5px;right:8px}.offline-payment-editor .offline-payment-line-product .offline-payment-line-prefill{font-size:12px;margin:0;line-height:1.4}
.offline-payment-editor .offline-payment-line-references{margin:0;padding:0;border:0}.offline-payment-editor .offline-payment-line-references>summary{display:list-item;cursor:pointer;color:#718ba3;font-size:11px;line-height:1.4;padding:0;margin-left:10px}.offline-payment-editor .offline-payment-line-references .offline-payment-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.offline-payment-editor .offline-payment-line-references input{font-size:12px}
.offline-payment-editor .offline-payment-line-input>label{font-size:0;gap:0}.offline-payment-editor .offline-payment-line-input input,.offline-payment-editor .offline-payment-line-input select{width:100%;font-size:14px;font-variant-numeric:tabular-nums}.offline-payment-editor .offline-payment-line-shipped>strong{font-weight:600;color:#46627a;font-variant-numeric:tabular-nums}.offline-payment-editor .offline-payment-line-amount>strong{font-weight:600;white-space:nowrap;color:#315b6d;font-variant-numeric:tabular-nums}
.offline-payment-editor .offline-payment-extra{min-height:0;max-height:180px;overflow:auto;margin:0;padding:0;border:0;flex:none}
.offline-payment-editor .offline-payment-extra>summary{padding:4px 0;font-size:12px;line-height:1.5;cursor:pointer;color:#71859b}.offline-payment-editor .offline-payment-extra-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;padding:7px 0 3px}.offline-payment-editor .offline-payment-extra-fields>label:first-child,.offline-payment-editor .offline-payment-extra-fields>label:nth-child(5),.offline-payment-editor .offline-payment-extra-fields>label:nth-child(6){grid-column:span 2}
.offline-payment-editor .offline-payment-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;margin:0;padding:10px 0 0;border-top:1px solid #e3eaf2;flex:none;background:#fff}
.offline-payment-editor .offline-payment-grand-total{display:block;max-width:70%;margin:0;font-size:20px;line-height:1.4;color:#234e68;font-variant-numeric:tabular-nums}.offline-payment-editor .offline-payment-editor-buttons{display:flex;gap:9px;flex-shrink:0;align-items:center}.offline-payment-editor .offline-payment-editor-buttons button{min-height:39px;margin:0;padding:8px 18px;font-size:14px;white-space:nowrap}
@media(max-width:800px){.offline-payment-overlay>.offline-payment-editor{padding:12px}.offline-payment-editor .offline-payment-editor-heading{align-items:flex-start;gap:8px}.offline-payment-editor .offline-payment-editor-batch{font-size:11px;white-space:normal}.offline-payment-editor .offline-payment-primary,.offline-payment-editor .offline-payment-primary-amend{grid-template-columns:1fr 1fr;gap:8px}.offline-payment-editor .offline-payment-extra-fields{grid-template-columns:1fr 1fr}.offline-payment-editor .offline-payment-grand-total{font-size:17px;max-width:60%}.offline-payment-editor .offline-payment-editor-buttons button{padding:8px 12px}.offline-payment-editor .offline-payment-editor-heading h2{font-size:18px}}

/* Account refresh: payment essentials stay visible outside the line-item scroll area. */
.offline-payment-editor .offline-payment-primary label,.offline-payment-editor .offline-payment-extra-fields label{font-size:14px;line-height:1.5}.offline-payment-editor input,.offline-payment-editor select{min-height:39px;height:39px;font-size:15px}.offline-payment-editor .offline-payment-lines{font-size:14px}.offline-payment-editor .offline-payment-lines th{font-size:13px}.offline-payment-editor .offline-payment-line-product strong{font-size:14px}.offline-payment-editor .offline-payment-line-refs>strong,.offline-payment-editor .offline-payment-line-refs>small{font-size:13px}.offline-payment-editor .offline-payment-primary-amend>label:last-child{grid-column:1/-1}.offline-payment-editor .offline-payment-editor-buttons button{min-height:42px;font-size:15px}.offline-payment-editor .offline-payment-extra-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.offline-payment-editor .offline-payment-extra-fields>label:first-child,.offline-payment-editor .offline-payment-extra-fields>label:nth-child(5){grid-column:span 1}
@media(max-width:620px){.offline-payment-editor .offline-payment-primary,.offline-payment-editor .offline-payment-primary-amend{grid-template-columns:minmax(0,1fr);gap:6px}.offline-payment-editor .offline-payment-extra-fields{grid-template-columns:minmax(0,1fr)}.offline-payment-editor .offline-payment-extra-fields>label{grid-column:auto!important}.offline-payment-editor .offline-payment-editor-footer{gap:8px}.offline-payment-editor .offline-payment-grand-total{max-width:52%;font-size:17px}.offline-payment-editor .offline-payment-editor-buttons button{padding:8px 10px}}
