:root{font-family:Inter,Arial,sans-serif;color:#182b32;background:#f3f6f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid #d5dfe2;background:white;border-radius:7px;padding:9px 13px;color:#26444d;font-size:12px;font-weight:600}button:hover{background:#edf5f4}button:disabled{opacity:.55;cursor:wait}button.primary{background:#187567;border-color:#187567;color:white}.layout{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{background:#122e36;color:#cee0e4;padding:30px 20px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{font-size:23px;color:white;font-weight:700;letter-spacing:-1px}.brand span{color:#78d4bb}.brand small{display:block;color:#a9c0c5;font-size:10px;letter-spacing:2px;margin-top:7px}.nav{display:grid;gap:8px}.nav button{background:transparent;border:0;text-align:left;color:#b7ced3;padding:13px;font-size:13px}.nav button.active{background:#24464c;color:white}.sidefoot{margin-top:auto;font-size:12px;line-height:1.8}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#d9eee6;color:#17695b;border-radius:50%;font-weight:700}.profile{display:flex;gap:10px;align-items:center}.profile small{display:block;color:#a9c0c5}.main{min-width:0;padding:0 34px 36px}.topbar{display:flex;justify-content:space-between;align-items:center;height:76px;border-bottom:1px solid #dce5e7;color:#6f8389;font-size:12px}.tag{border:1px solid #d4e2df;padding:6px 10px;background:white;border-radius:20px;color:#327969}.heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 24px}h1{font-size:28px;letter-spacing:-.7px;margin:0 0 8px}p{color:#70838a;font-size:13px;line-height:1.6;margin:0}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:10px;font-weight:bold;color:#759096;margin-bottom:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.stat{padding:20px;background:white;border:1px solid #dce5e7;border-radius:10px}.stat small{color:#71878b;font-size:12px}.stat strong{font-size:28px;display:block;margin:12px 0 6px;letter-spacing:-1px}.stat .accent{color:#c16e3c}.stat p{font-size:11px}.panel{background:white;border:1px solid #dce5e7;border-radius:11px;overflow:hidden}.tabs{display:flex;gap:20px;border-bottom:1px solid #e1e8ea;padding:0 21px;overflow:auto}.tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:17px 0;white-space:nowrap;color:#7b8c91}.tabs button.active{color:#176e62;border-bottom-color:#187567}.toolbar{display:flex;gap:10px;padding:17px 20px;border-bottom:1px solid #e4eaec}.toolbar input{flex:1;min-width:100px}input,select,textarea{border:1px solid #d9e2e4;background:#fff;border-radius:7px;padding:9px 10px;color:#30454d;font-size:12px}input::placeholder,textarea::placeholder{color:#9aa8ac}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;padding:13px 17px;color:#809399;background:#f8fafb;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:600;white-space:nowrap}td{padding:20px 17px;border-top:1px solid #e8edef;vertical-align:top;min-width:135px}td.product{min-width:220px}td.tracking{min-width:225px}td.work{min-width:245px}td strong{display:block;font-size:12px;margin-bottom:6px}td small{display:block;color:#829297;font-size:11px;margin:5px 0;line-height:1.4}a{color:#177666;text-decoration:none;overflow-wrap:anywhere}a:hover{text-decoration:underline}.badge{display:inline-block;border-radius:5px;padding:5px 7px;background:#edf3f5;color:#56737b;font-size:10px;white-space:nowrap}.badge.warn{background:#fcf0e2;color:#a9702c}.badge.good{background:#e6f4eb;color:#31784e}.badge.error{background:#fbe9e9;color:#ad5555}.badge.reorder{background:#eeebfa;color:#7560ae}.reorderlist{display:grid;gap:7px;margin:8px 0}.attempt{border-left:2px solid #bcd8d1;padding-left:9px}.attempt a{font-size:11px}.inline{display:grid;gap:8px;padding:12px;background:#f5f8f8;border:1px solid #dae5e5;border-radius:7px;margin-top:10px;min-width:235px}.inline label{font-size:11px;color:#648086;display:grid;gap:5px}.inline .buttons{display:flex;gap:7px}.work select,.work textarea{width:100%;margin-bottom:6px}.work textarea{min-height:52px;resize:vertical}.tablefoot{padding:15px 20px;font-size:11px;color:#83959a;display:flex;justify-content:space-between}.empty{padding:60px;text-align:center;color:#83959a}.login{max-width:430px;margin:12vh auto;padding:35px;background:white;border:1px solid #dae4e6;border-radius:12px}.login .brand{color:#12333c;margin-bottom:30px}.login label{display:grid;gap:7px;font-size:12px;margin:16px 0}.login button{width:100%;margin-top:10px}.notice{padding:15px 20px;background:#fff8e9;border-bottom:1px solid #eedeb9;font-size:12px;color:#8a6b35}.cards{display:grid;gap:15px}.card{padding:23px;background:white;border:1px solid #dce5e7;border-radius:9px}.card h3{margin:0 0 9px;font-size:15px}.card button{margin-top:12px}.errorText{color:#a84e4e;margin-top:10px;font-size:12px}.customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.mapping{min-width:230px}.mapping input,.mapping select{width:100%;margin-bottom:6px}#toast{position:fixed;bottom:24px;right:24px;background:#183b42;color:white;border-radius:8px;padding:13px 20px;font-size:13px;display:none;max-width:420px;z-index:5}.loading{padding:40px}.audit{font-size:12px;padding:12px 0;border-bottom:1px solid #e4eaec}details{font-size:11px;color:#74878b;margin-top:8px}@media(max-width:1000px){.layout{grid-template-columns:170px 1fr}.sidebar{padding:25px 12px}.main{padding:0 18px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.layout{display:block}.sidebar{height:auto;position:static;padding:15px;gap:15px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap}.sidefoot{display:none}.heading{gap:10px}.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.topbar{height:55px}}
@media(max-width:650px){.sidefoot{display:flex;align-items:center;justify-content:space-between}.sidefoot .profile{font-size:11px}.sidefoot #logout{margin:0}.nav{scrollbar-width:thin}.tablefoot{gap:12px;line-height:1.5}}
/* Compact operational lists */
.layout{grid-template-columns:160px 1fr}.sidebar{padding:20px 12px;gap:22px}.brand{font-size:21px}.brand small{font-size:9px;letter-spacing:1px}.nav{gap:4px}.nav button{padding:10px;font-size:12px}.main{padding:0 16px 18px}.topbar{height:42px;font-size:11px}.heading{margin:14px 0 12px}.heading h1{font-size:21px;margin-bottom:3px}.heading p{font-size:11px}.eyebrow{display:none}.panel{border-radius:6px}.notice{padding:6px 10px;font-size:10px}.tabs{gap:17px;padding:0 10px}.tabs button{padding:10px 0;font-size:11px}.toolbar{padding:8px 10px;gap:8px;align-items:center}button{padding:6px 9px;font-size:11px;border-radius:4px}input,select,textarea{padding:6px 7px;font-size:11px;border-radius:4px}th{padding:9px 8px;font-size:9px;letter-spacing:.4px}td{padding:9px 8px;min-width:0;vertical-align:top}td strong{font-size:11px;margin-bottom:3px}td small{font-size:10px;margin:3px 0;line-height:1.35}.badge{padding:3px 5px;font-size:9px;border-radius:3px}.order-table{min-width:1100px}.order{width:100px;white-space:nowrap}.customer-cell{width:165px}.product{width:185px}.order-table td.product{min-width:150px}.target{max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.supplier{width:120px}.order-table td.tracking{min-width:250px;width:270px}.reorderlist{display:flex;flex-wrap:wrap;gap:4px 9px;margin:0 0 6px}.attempt{display:inline-flex;gap:5px;align-items:center;border:0;padding:0;font-size:10px}.attempt-label{color:#7b8e94;font-size:9px}.attempt a{font-size:10px;font-weight:600}.tracking-entry{display:grid;grid-template-columns:88px minmax(85px,1fr) auto;gap:4px}.tracking-entry input{width:100%;min-width:0;padding:5px}.tracking-entry button{padding:5px 7px}.prices{width:95px;white-space:nowrap}.order-table td.work{min-width:240px;width:260px}.work-selects{display:grid;grid-template-columns:1.2fr 1fr;gap:4px}.work select,.work input{width:100%;min-width:0;margin-bottom:4px}.save-status,.row-message{margin:0!important;min-height:0;font-size:9px!important}.save-status:empty,.row-message:empty{display:none}.tablefoot{padding:8px 10px;font-size:10px}.empty{padding:30px}.customer-order{display:inline-block;margin:0 12px 4px 0;font-size:11px}.mapping{min-width:260px}.mapping form{display:flex;align-items:center;gap:5px}.mapping input,.mapping select{width:110px;margin:0}.cards{gap:8px}.card{padding:14px}.card p{font-size:12px}.order-table tbody tr:hover{background:#f7fbfa}.order-table th{position:sticky;top:0;z-index:1}.tablewrap{max-height:calc(100vh - 210px)}[hidden]{display:none!important}@media(max-width:1000px){.layout{grid-template-columns:140px 1fr}.main{padding:0 10px 15px}.sidebar{padding:18px 9px}}@media(max-width:650px){.layout{display:block}.sidebar{padding:10px;gap:8px}.brand small{display:none}.nav{gap:3px}.nav button{padding:7px}.sidefoot{font-size:10px}.sidefoot .avatar{width:25px;height:25px}.profile small{display:none}.topbar{height:32px}.heading{margin:10px 0}.heading p{max-width:230px}.toolbar input{flex-basis:100%}.tablewrap{max-height:65vh}.tracking-entry input{font-size:12px}}
/* Modern color system, keeping the list dense */
:root{color:#26304a;background:#f2f3fb;--ink:#25304a;--violet:#6554d9;--border:#e2e5f2}body{background:radial-gradient(ellipse at 80% 0,#ebe8ff 0,transparent 45%),#f4f5fb}.sidebar{background:linear-gradient(165deg,#252b50,#171f38 75%);border-right:1px solid #354060;color:#d5daf0}.brand span{color:#b8a8ff}.brand small{color:#96a2c9}.nav button{color:#b4bedc;transition:background .15s,color .15s}.nav button:hover{background:#343b65;color:white}.nav button.active{background:linear-gradient(100deg,#7461e1,#574bc0);box-shadow:0 3px 9px #100f3333;color:white}.profile small{color:#aab6db}.avatar{background:#cfc6ff;color:#4c3aaa}.topbar{border-color:#e1e3f1;color:#7a82a0}.tag{background:#efecff;color:#6650b5;border-color:#ddd7fb;font-size:10px;font-weight:600}.heading h1{color:#28304e;letter-spacing:-.5px}.heading p{color:#858aa4}.heading button{color:#6252bc;border-color:#dcd6f7;background:#f7f5ff}.panel{border-color:var(--border);box-shadow:0 3px 15px #34386806;border-radius:8px}.notice{background:#fff8eb;border-color:#f4e6c9;color:#a47b36}.tabs{background:#fff;border-color:#e8eaf4}.tabs button{color:#868ca5}.tabs button.active{color:#6651d0;border-bottom-color:#7964e3}.tabs button:hover{background:transparent;color:#6554d9}.toolbar{background:#fafaff;border-color:#e8eaf4}input,select,textarea{border-color:#e0e3ef;color:#424a69;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #a496ee;outline-offset:0;border-color:#9c8ae5}input::placeholder{color:#a0a5ba}button{border-color:#dfe2ef;color:#606783}button:hover{background:#f1edff;border-color:#cdc2f7;color:#6350bc}button.primary,.tracking-entry button{background:#6c57d5;border-color:#6c57d5;color:#fff}.tracking-entry button:hover,button.primary:hover{background:#5842be;border-color:#5842be}th{background:#f2f3fc;color:#7d86a8;border-bottom:1px solid #e1e4f3}td{border-top-color:#eceef7}.order-table tbody tr:nth-child(even){background:#fcfcff}.order-table tbody tr:hover{background:#f5f2ff}td strong{color:#303956}.order strong{color:#6552ca}.customer-cell small{color:#8590ad}td small{color:#8b93aa}a{color:#6860c5}.badge{background:#edf0fb;color:#687ba1}.badge.warn{background:#fff0da;color:#b17b25}.badge.good{background:#e0f5ed;color:#228f71}.badge.error{background:#ffe7ed;color:#c85975}.badge.reorder{background:#ece5ff;color:#8652c5}.supplier .badge{margin-top:1px}.tracking-entry input{background:#faf9ff}.attempt-label{color:#9894b5}.attempt a{color:#6650bf}.work-selects select[name=action]{background:#f6f2ff;border-color:#e7dff9;color:#7762a5}.save-status{color:#419f86}.errorText{color:#c35f77}.tablefoot{color:#9298ad;background:#fafbff;border-top:1px solid #e9eaf5}.sidefoot #logout{background:#2b3456;border-color:#434d71;color:#c4ccea;margin-top:10px}#toast{background:#5143a8;box-shadow:0 5px 20px #34326333}.login .brand{color:#25304a}.card{border-color:#e2e5f2;box-shadow:0 2px 8px #42466805}
/* Quiet, clear rows with one active supplier order */
body{background:#f5f6fa}.heading p{color:#9097aa}.sidebar{background:#232942}.nav button.active{background:#6659cb;box-shadow:none}.panel{box-shadow:none}.toolbar{background:#fff}.notice{background:#faf8f0;color:#9a8d68;border-color:#ede9de}.order-table tbody tr:nth-child(even){background:#fcfcfe}.order-table tbody tr:hover{background:#f6f5fc}th{background:#f7f8fc}.order-table td{padding:10px 9px}.tracking-entry{grid-template-columns:minmax(140px,1fr) auto;gap:5px;margin-top:7px}.order-table td.tracking{min-width:250px;width:275px}.latest-tracking{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px;min-height:19px}.latest-tracking>a{font-weight:600;color:#5f56ae}.reordered-marker{font-size:9px;color:#8d7bac}.tracking-status{font-size:10px;width:115px;border:0;padding:4px 5px;background:#f0eef9;color:#7e70a7}.tracking-status.warn{background:#fbf1df;color:#a2834c}.tracking-status.good{background:#e7f4ed;color:#548f70}.tracking-status.error{background:#fbecef;color:#b66e81}.tracking-status:disabled{opacity:1;appearance:none}.tracking-source{font-size:9px!important;color:#a2a6b4!important}.copy-line{display:flex;align-items:center;gap:4px;min-height:17px;font-size:10px}.copy-line>span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-button{border:0;background:transparent;padding:2px;color:#a5aabb;display:inline-flex;flex-shrink:0}.copy-button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}.copy-button:hover,.copy-button.copied{color:#6555c5;background:#eeeafa}.customer-locale{color:#717b97!important}.locale-dot{color:#b7bed0;margin:0 3px}.mini-history{margin:0;position:relative;font-size:9px;color:#9a9fb1}.mini-history summary{cursor:pointer;list-style:none;text-decoration:underline;text-decoration-color:#d1d4df;text-underline-offset:3px}.mini-history summary::-webkit-details-marker{display:none}.history-popover{position:absolute;z-index:6;top:18px;left:0;min-width:210px;max-width:310px;padding:10px 12px;border:1px solid #e2e3ed;background:#fff;box-shadow:0 6px 22px #20294818;border-radius:7px}.history-popover>div+div{margin-top:8px}.customer-details{margin-top:3px}.breadcrumb{display:flex;align-items:center;gap:10px}#toggleSidebar{border:0;background:transparent;font-size:16px;color:#7b829a;padding:4px 6px}.nav button{display:flex;align-items:center;gap:10px}.nav-icon{display:inline-flex}.nav-icon svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.layout{transition:grid-template-columns .15s}.layout.collapsed{grid-template-columns:58px 1fr}.collapsed .sidebar{padding:20px 8px}.collapsed .nav button{padding:10px 11px}.collapsed .nav-label,.collapsed .brand small,.collapsed .profile>div,.collapsed #logout{display:none}.collapsed .brand-word{font-size:0}.collapsed .brand-word:before{content:'n.';font-size:23px;color:#b4a7ff}.collapsed .profile{justify-content:center}.text-button{padding:0;border:0;background:transparent;font-size:9px;color:#7b70b2}.work-selects select[name=action]{background:#f8f7fc;border-color:#e7e6ef;color:#77728f}.tablewrap{overflow: auto;padding-bottom:45px;max-height:calc(100vh - 205px)}@media(max-width:650px){.layout.collapsed{display:block}.collapsed .sidebar{padding:8px;flex-direction:row;align-items:center;gap:10px}.collapsed .nav{gap:2px}.collapsed .nav button{padding:8px}.collapsed .sidefoot{display:none}.history-popover{min-width:190px}.tablewrap{max-height:65vh}}
#logout{display:flex;align-items:center;gap:8px}.collapsed #logout{display:flex;justify-content:center;padding:8px}.collapsed #logout .nav-label{display:none}
.store-support-form{display:flex;gap:6px;align-items:center;margin:10px 0;flex-wrap:wrap}.store-support-form input{min-width:190px}.store-support-form button{margin:0}
/* Target first; short panel codes and tighter columns */
.order-table{min-width:1040px;table-layout:fixed}.order-table th,.order-table td{padding-left:7px;padding-right:7px}.order-table th:nth-child(1),.order-table td.order{width:7%}.order-table th:nth-child(2),.order-table td.customer-cell{width:17%}.order-table th:nth-child(3),.order-table td.product{width:19%;min-width:0}.order-table th:nth-child(4),.order-table td.supplier{width:9%}.order-table th:nth-child(5),.order-table td.tracking{width:22%;min-width:0}.order-table th:nth-child(6),.order-table td.prices{width:7%}.order-table th:last-child,.order-table td.work{width:19%;min-width:0}.order-table:not(:has(.prices)) th:last-child,.order-table:not(:has(.prices)) td.work{width:26%}.target{max-width:none;min-width:0;margin-top:6px!important;display:flex;gap:5px}.target a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;max-width:100%;color:#5e58a1;font-size:11px}.target .copy-button{margin-left:0;flex-shrink:0}.product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.copy-line>span{min-width:0;max-width:calc(100% - 20px)}.panel-code{font-size:12px!important;letter-spacing:.6px;color:#434b67!important;margin-bottom:7px!important}.tracking-status{font-size:11px;font-weight:600;max-width:100%;width:110px;border:1px solid transparent;border-radius:5px;padding:5px 6px}.tracking-status.warn{background:#fff2d3;color:#97610b;border-color:#f2dfad}.tracking-status.good{background:#dff3e8;color:#246b49;border-color:#bce2ce}.tracking-status.error{background:#fce3e8;color:#a43d5a;border-color:#efbeca}.tracking-source{display:none!important}.supplier .badge{font-size:11px;font-weight:600;padding:5px 7px}.tracking-entry{grid-template-columns:minmax(0,1fr) auto}.latest-tracking{gap:4px}.reordered-marker{font-size:9px}.work-selects{grid-template-columns:1.25fr .9fr;gap:4px}.work select{padding:6px 3px}.customer-cell strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-locale{line-height:1.4!important}.order-table td{padding-top:10px;padding-bottom:10px}.tablewrap{padding-bottom:10px}
/* Spreadsheet density: one physical line per item */
.order-table{table-layout:fixed;min-width:1735px;width:100%}.order-table th,.order-table td{padding:7px 5px!important;vertical-align:middle;white-space:nowrap}.order-table th:nth-child(n),.order-table td{width:auto!important;min-width:0!important}.order-table th:nth-child(1),.order-table td.order{width:65px!important}.order-table th:nth-child(2),.order-table td.store-name{width:85px!important}.order-table th:nth-child(3),.order-table td.customer-cell{width:105px!important}.order-table th:nth-child(4),.order-table td.email-cell{width:165px!important}.order-table th:nth-child(5),.order-table td.country-cell{width:52px!important}.order-table th:nth-child(6),.order-table td.language-cell{width:60px!important}.order-table th:nth-child(7),.order-table td.product{width:145px!important}.order-table th:nth-child(8),.order-table td.target-cell{width:180px!important}.order-table th:nth-child(9),.order-table td.supplier{width:52px!important}.order-table th:nth-child(10),.order-table td.status-cell{width:110px!important}.order-table th:nth-child(11),.order-table td.tracking{width:125px!important}.order-table th:nth-child(12),.order-table td.new-tracking{width:165px!important}.order-table td.prices,.order-table td.cost{width:70px!important}.order-table td.action-cell{width:110px!important}.order-table td.assigned-cell{width:115px!important}.order-table td.note-cell{width:155px!important}.order-table td strong,.order-table .panel-code{margin:0!important;display:inline;font-size:11px!important}.order-table td.customer-cell>span,.order-table td.product>span,.order-table td.store-name{overflow:hidden;text-overflow:ellipsis;display:table-cell}.order-table td.customer-cell>span,.order-table td.product>span{display:block}.order-table input,.order-table select{font-size:10px;padding:4px 5px;height:26px;min-width:0;max-width:100%;width:100%;margin:0}.order-table .target{margin:0!important;max-width:100%}.order-table .copy-line{gap:3px}.order-table .latest-tracking{flex-wrap:nowrap;gap:3px}.order-table .latest-tracking>a{font-size:10px}.order-table .mini-history{font-size:8px;white-space:nowrap}.order-table .tracking-entry{margin:0;gap:3px;grid-template-columns:minmax(0,1fr) 22px}.order-table .tracking-entry button{padding:0;height:25px;font-size:14px}.order-table .tracking-status{width:100%;font-size:10px}.order-table .badge{font-size:10px}.order-table .row-message,.order-table .save-status{position:absolute;z-index:4;background:#fff;box-shadow:0 3px 10px #2029481a;padding:4px 6px;border-radius:4px}.order-table .row-message:empty,.order-table .save-status:empty{display:none}.tablewrap{padding-bottom:30px}.order-table .history-popover{white-space:normal}.panel-code{letter-spacing:.4px}.order-table .copy-line>span{max-width:calc(100% - 16px)}.order-table .target a{font-size:10px}.order-table:not(:has(.prices)){min-width:1595px}
.order-table{min-width:1875px}.order-table:not(:has(.prices)){min-width:1735px}.order-table td.reminder-cell{width:125px!important}.reminder-entry{display:flex;align-items:center;gap:3px}.reminder-entry input{width:49px}.reminder-entry button{padding:0 3px;height:24px;min-width:18px}.reminder-indicator{font-size:9px;color:#8678ab}.reminder-indicator.due{background:#fce3e8;color:#a43d5a;padding:3px 4px;border-radius:3px;font-weight:600}
.order-table{min-width:1925px}.order-table:not(:has(.prices)){min-width:1785px}.order-table td.refund-cell{width:55px!important}.refund-cell input[type=checkbox]{width:15px;height:15px;accent-color:#6c57d5;cursor:pointer}.refund-cell button{padding:4px 6px;font-size:10px}
/* Readable list, with fixed reference columns while scrolling */
.order-table{min-width:2420px}.order-table:not(:has(.prices)){min-width:2240px}.order-table th{font-size:10px;padding:12px 8px!important;background:#f1f4fa;color:#72809b}.order-table td{font-size:13px;padding:10px 8px!important;border-right:1px solid #f0f2f7;line-height:1.4}.order-table td strong,.order-table .panel-code{font-size:13px!important}.order-table input,.order-table select{height:31px;font-size:12px;padding:5px 7px;background:#fff}.order-table .copy-line,.order-table .target a,.order-table .latest-tracking>a{font-size:12px}.order-table .copy-button svg{width:14px;height:14px}.order-table .tracking-entry{grid-template-columns:minmax(0,1fr) 28px}.order-table .tracking-entry button{height:30px;font-size:17px}.order-table .tracking-status,.order-table .badge{font-size:12px}.order-table td.order,.order-table th:nth-child(1){width:80px!important}.order-table td.store-name,.order-table th:nth-child(2){width:110px!important}.order-table td.customer-cell,.order-table th:nth-child(3){width:135px!important}.order-table td.email-cell,.order-table th:nth-child(4){width:205px!important}.order-table td.country-cell,.order-table th:nth-child(5){width:65px!important}.order-table td.language-cell,.order-table th:nth-child(6){width:75px!important}.order-table td.product,.order-table th:nth-child(7){width:190px!important}.order-table td.target-cell,.order-table th:nth-child(8){width:250px!important}.order-table td.supplier,.order-table th:nth-child(9){width:65px!important}.order-table td.status-cell,.order-table th:nth-child(10){width:130px!important}.order-table td.tracking,.order-table th:nth-child(11){width:145px!important}.order-table td.new-tracking,.order-table th:nth-child(12){width:220px!important}.order-table td.prices,.order-table td.cost{width:90px!important}.order-table td.action-cell,.order-table td.assigned-cell{width:140px!important}.order-table td.note-cell{width:200px!important}.order-table td.reminder-cell{width:155px!important}.order-table td.refund-cell{width:70px!important}.order-table td.order,.order-table td.store-name{position:sticky;left:0;background:#fff;z-index:2}.order-table td.store-name{left:80px;border-right:1px solid #d9dfeb}.order-table tr:nth-child(even) td.order,.order-table tr:nth-child(even) td.store-name{background:#f9fbfe}.order-table th:nth-child(1),.order-table th:nth-child(2){position:sticky;left:0;z-index:3}.order-table th:nth-child(2){left:80px}.order-table tbody tr:nth-child(even){background:#f9fbfe}.order-table tbody tr:hover,.order-table tbody tr:hover td.order,.order-table tbody tr:hover td.store-name{background:#f2f4fe}.toolbar{padding:11px 12px;gap:8px}.toolbar input,.toolbar select{font-size:13px;height:34px}.toolbar input{min-width:230px}.tabs button{font-size:12px}.heading h1{font-size:24px}.heading p{font-size:12px}.order-table .mini-history{font-size:10px}.reminder-entry input{width:62px}.reminder-entry button{height:28px;font-size:14px}.refund-cell input[type=checkbox]{width:18px;height:18px}.tablewrap{scrollbar-color:#b4bcd2 #f1f3f8}.order-panel .tablewrap{max-height:calc(100vh - 245px)}
/* Owner dashboard */
.dashboard-controls{display:flex;align-items:center;gap:12px;margin:18px 0 22px}.dashboard-controls label{display:flex;align-items:center;gap:8px;font-size:12px;color:#738098}.dashboard-controls input,.dashboard-controls select{font-size:13px;padding:8px 10px}.dashboard-controls>span{margin-left:auto;font-size:11px;color:#9199ae}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.metric{background:white;border:1px solid #e1e6f0;border-radius:10px;padding:21px}.metric>span{display:block;font-size:12px;color:#7d88a0}.metric>strong{display:block;font-size:27px;letter-spacing:-.5px;margin:13px 0 9px;color:#35405f}.metric:first-child{border-top:3px solid #9b8bdb}.metric:nth-child(2){border-top:3px solid #78b7a0}.metric:nth-child(3){border-top:3px solid #8ba7d2}.metric:nth-child(4){border-top:3px solid #d4ae7a}.metric small{font-size:11px;color:#a0a7b7}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:18px}.dashboard-card{background:white;border:1px solid #e1e6f0;border-radius:10px;padding:21px;min-width:0}.dashboard-card h2{font-size:15px;font-weight:600;margin:0 0 18px;color:#42516f}.dashboard-card-heading{display:flex;align-items:center;justify-content:space-between}.dashboard-card-heading>span{font-size:11px;color:#929bb0}.revenue-chart{width:100%;height:auto;margin-top:8px}.revenue-chart text{font-size:11px;fill:#9aa4b9}.operation{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 12px;border:0;margin:7px 0;font-size:12px;font-weight:400}.operation strong{font-size:17px}.operation.rose{background:#fcf2f5;color:#a86479}.operation.amber{background:#fcf7ec;color:#ac8a52}.operation.violet{background:#f5f2fc;color:#8c76b3}.operation.blue{background:#edf4fc;color:#698fb5}.dashboard-table{font-size:13px}.dashboard-table th{font-size:10px;background:#f8faff}.dashboard-table th,.dashboard-table td{padding:11px 9px}.dashboard-table td{min-width:0}.share-track{width:60px;height:8px;margin-right:9px;vertical-align:middle}.financial-line{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #edf0f6;font-size:12px;color:#838da4}.financial-line strong{font-size:15px;color:#4e5e7d}.coverage{padding:16px;background:#f7f9fc;border-radius:6px;margin-top:20px}.coverage strong{font-size:12px;color:#7182a4}.coverage p{font-size:11px;margin-top:8px;color:#939eb5;line-height:1.7}@media(max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.dashboard-controls{flex-wrap:wrap}.dashboard-controls>span{margin-left:0}}@media(max-width:650px){.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.dashboard-stats{gap:8px}.metric{padding:14px}.metric>strong{font-size:22px}.dashboard-card{padding:15px}}

/* Compact single row order desk with explicit columns. */
.order-table{width:2164px;min-width:2164px}.order-table:not(:has(.prices)){width:1984px;min-width:1984px}.order-table th:nth-child(n),.order-table td:nth-child(n){width:auto!important;min-width:0!important}.order-table .product>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-table td.store-name{font-weight:650;color:#7665b8}.email-tools{display:flex;align-items:center;gap:5px}.order-table .email-tools .copy-button,.email-compose{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:1px solid #dce1ec;border-radius:7px;background:#fff;color:#7463b5;flex-shrink:0}.email-compose{font-size:15px;text-decoration:none}.email-tools button:hover,.email-compose:hover{background:#ede9fb;border-color:#b8a9e5}.reminder-entry{display:flex;gap:5px;align-items:center}.order-table .reminder-entry input{width:43px;height:30px;padding:4px;flex-shrink:0;text-align:center}.hours-unit{font-size:12px;color:#8a91a5}.order-table .reminder-entry button{height:30px;padding:4px 8px;font-size:12px;border-radius:7px;color:#7560b3;background:#f1edfb;border:1px solid #e0d8f3}.reminder-indicator:empty{display:none}.reminder-indicator{font-size:12px}.refund-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:5px 7px;border:1px solid #eadce3;border-radius:7px;background:#fff7fa;color:#a56880;font-size:12px;white-space:nowrap}.order-table .refund-toggle input{width:15px;height:15px;margin:0;accent-color:#b87591}.refund-toggle:has(input:checked){background:#f8e3ec;border-color:#dcb3c6}.order-table .refund-cell button{height:30px;border-radius:7px;padding:4px 10px;color:#667f71;background:#e9f4ee;border:1px solid #cce3d6;font-size:12px}

.history-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:18px;margin-top:18px}.daily-scroll{max-height:520px;overflow:auto}.daily-scroll thead{position:sticky;top:0;background:#f5f6fb}.history-note{font-size:12px;color:#8590a3;line-height:1.6}.growth-up{color:#54856e}.growth-down{color:#b46a7d}.dashboard-table td small{font-size:11px;margin-top:3px}.history-grid .tablewrap{padding-bottom:0}@media(max-width:1000px){.history-grid{grid-template-columns:1fr}}

.order-table .supplier-refresh{padding:0;width:24px;height:26px;border-radius:6px;color:#7665b8;background:#f2effb;font-size:16px;flex-shrink:0}

/* Comfortable mobile workspace */
.mobile-nav,.menu-backdrop,#closeMobileMenu{display:none}
#addPasskey{display:grid;gap:16px;max-width:480px;margin-top:24px}#addPasskey label{display:grid;gap:8px}
@media(max-width:760px){
 :root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;-webkit-text-size-adjust:100%}
 body{overflow-x:hidden}.layout,.layout.collapsed{display:block}.main{padding:0 14px calc(92px + env(safe-area-inset-bottom));width:100%;min-width:0}
 .topbar{height:64px;position:sticky;top:0;z-index:8;background:#f5f6faf5;backdrop-filter:blur(12px);font-size:14px}.breadcrumb{gap:8px;min-width:0}.breadcrumb>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tag{font-size:12px;padding:6px 8px;flex-shrink:0}
 #toggleSidebar{width:44px;height:44px;font-size:24px;padding:0;background:white;border:1px solid #e1e4ef;border-radius:12px;color:#5146a0}
 .heading{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 18px;align-items:center}.heading>div:first-child{flex:1 1 100%}.heading h1{font-size:28px;line-height:1.2}.heading p{font-size:15px;line-height:1.5;max-width:none;color:#6b7289}
 button,input,select,textarea{font-size:16px;min-height:44px;border-radius:10px;padding:10px 12px}p,.card p,.login label,.inline label,.audit{font-size:15px;line-height:1.6}.card h3{font-size:19px}.card{padding:20px;border-radius:14px}.cards{gap:14px}.customer-grid{grid-template-columns:1fr}
 .sidebar,.layout.collapsed .sidebar{position:fixed;left:0;top:0;bottom:0;width:min(320px,86vw);height:100dvh;z-index:31;padding:28px 20px calc(24px + env(safe-area-inset-bottom));display:flex;gap:24px;transform:translateX(-105%);transition:transform .2s ease;overflow-y:auto;box-shadow:8px 0 40px #1b244633}
 .mobile-open .sidebar{transform:translateX(0)}.menu-open{overflow:hidden}.mobile-open .menu-backdrop{display:block;position:fixed;inset:0;z-index:30;background:#141a3d80;border:0;border-radius:0;padding:0;backdrop-filter:blur(3px)}
 #closeMobileMenu{display:block;position:absolute;right:14px;top:17px;background:#ffffff12;border:1px solid #ffffff25;color:white;width:44px;height:44px;font-size:28px;padding:0;margin:0}
 .sidebar .brand,.layout.collapsed .sidebar .brand{font-size:26px;margin-right:40px}.sidebar .brand-word,.layout.collapsed .brand-word{display:inline}.sidebar .brand small,.layout.collapsed .brand small{display:block;font-size:11px;margin-top:8px}
 .sidebar .nav{display:grid;gap:7px;overflow:visible}.sidebar .nav button,.layout.collapsed .nav button{font-size:16px;min-height:50px;justify-content:flex-start;gap:14px;padding:13px 14px;border-radius:12px;white-space:normal}.sidebar .nav-label,.layout.collapsed .nav-label{display:inline}.sidebar .nav-icon svg{width:22px;height:22px}
 .sidebar .sidefoot,.layout.collapsed .sidefoot{display:block;margin-top:auto;font-size:15px}.sidebar .profile{font-size:15px}.sidebar .profile>div,.layout.collapsed .profile>div{display:block}.sidebar .profile small{display:block;font-size:13px}.sidebar .avatar{width:40px;height:40px}.sidebar #logout{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:12px;font-size:15px;min-height:46px}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:20;padding:7px 10px calc(7px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid #e2e4f0;box-shadow:0 -4px 22px #29325008}
 .mobile-nav button{border:0;background:transparent;color:#737b94;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;min-height:54px;padding:7px 2px;border-radius:12px}.mobile-nav svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.mobile-nav button.active{background:#eeebfd;color:#6252bc;font-weight:700}
 .tabs{padding:0 14px;gap:22px;scrollbar-width:none}.tabs button{font-size:14px;padding:14px 0;min-height:48px}.toolbar{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px}.toolbar input{grid-column:1/-1;width:100%;min-width:0;height:46px}.toolbar select{width:100%;min-width:0;height:44px}.toolbar .badge{font-size:13px;padding:8px;justify-self:start}
 .order-panel .tablewrap{max-height:62dvh;overscroll-behavior:contain}.order-table th{font-size:12px;padding:12px 9px;letter-spacing:.2px}.order-table td,.order-table td strong,.order-table .copy-line,.order-table .attempt a{font-size:14px}.order-table td{padding:11px 9px;vertical-align:middle}.order-table input,.order-table select,.order-table button{font-size:16px;min-height:40px}.order-table .tracking-status{font-size:14px;min-height:40px}.order-table .badge,.order-table .mini-history{font-size:12px}.order-table td small{font-size:12px}
 .order-table .email-tools .copy-button,.order-table .email-compose,.order-table .supplier-refresh{width:34px;height:40px;min-height:40px;border-radius:9px}.copy-button svg{width:17px;height:17px}.order-table .copy-button{min-width:30px;min-height:40px}.order-table .reminder-entry input{height:40px;width:45px}.order-table .reminder-entry button,.order-table .refund-cell button{height:40px;font-size:14px;padding:6px 9px}.refund-toggle{min-height:40px;font-size:14px}.order-table .refund-toggle input{min-height:0;width:19px;height:19px}.tablefoot{font-size:12px;line-height:1.5;gap:12px;align-items:flex-start;padding:12px 14px}.tablefoot>span:last-child{display:none}
 .dashboard-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dashboard-controls label{display:grid;gap:7px;font-size:14px;min-width:0}.dashboard-controls input,.dashboard-controls select{width:100%;font-size:16px;min-width:0}.dashboard-controls>span{grid-column:1/-1;font-size:13px}.dashboard-stats{gap:10px}.metric{padding:17px 14px;border-radius:14px}.metric>span{font-size:13px}.metric>strong{font-size:26px}.metric small{font-size:12px}.dashboard-grid,.history-grid{grid-template-columns:1fr;gap:14px}.dashboard-card{padding:18px;border-radius:14px}.dashboard-card h2{font-size:18px;line-height:1.35}.operation{font-size:15px;min-height:50px}.financial-line{font-size:14px;gap:12px}.coverage p,.history-note{font-size:14px}.dashboard-table{font-size:14px}.dashboard-table th{font-size:12px}.dashboard-table td small{font-size:12px}.history-grid .tablewrap{overflow-x:auto}.history-grid table{min-width:480px}.revenue-chart text{font-size:13px}
 .login{margin:24px 14px;padding:28px 22px;max-width:480px;border-radius:20px}.login h1{font-size:30px}.login .brand{font-size:26px;margin-bottom:28px}.login label{font-size:15px}.login input,.login button{font-size:16px;min-height:48px;border-radius:12px}.login .errorText{font-size:14px}.login p{font-size:15px}
 #toast{left:14px;right:14px;bottom:calc(90px + env(safe-area-inset-bottom));max-width:none;font-size:15px;border-radius:12px;z-index:40}
}
@media(prefers-reduced-motion:reduce){.sidebar,.layout{transition:none}}

/* Clear order queues and actions */
.heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.heading-actions button{min-height:38px;font-size:13px;padding:9px 14px;border-radius:10px}.heading-actions #syncOrders{background:#6554d5;border-color:#6554d5;color:white;box-shadow:0 3px 10px #6554d526}.heading-actions #refresh{background:white;color:#5f6886;border-color:#d6dcec}.heading-actions button:hover{filter:brightness(.96)}
.order-panel .tabs{gap:8px;padding:12px;align-items:center;border-bottom:1px solid #e5e8f2;background:#fafbff}.order-panel .tabs button{border:1px solid transparent;border-radius:10px;padding:9px 12px;min-height:36px;font-size:13px;line-height:1.25;color:#626e8b;background:#eef1f7;flex-shrink:0}.order-panel .tabs button[data-queue="Needs attention"]{background:#fff0f3;color:#a84160}.order-panel .tabs button[data-queue="Manual processing"]{background:#fff4df;color:#916017}.order-panel .tabs button[data-queue="Reordered"]{background:#f0eaff;color:#7546ad}.order-panel .tabs button[data-queue="Missing tracking"]{background:#eaf2ff;color:#3867a6}.order-panel .tabs button[data-queue="Assigned to me"]{background:#e6f5ef;color:#267656}.order-panel .tabs button.active{background:#6554d5;color:white;border-color:#6554d5;box-shadow:0 2px 6px #6554d526}.order-panel .tabs button[data-queue="Needs attention"].active{background:#b44d6d;border-color:#b44d6d}.order-panel .tabs button[data-queue="Manual processing"].active{background:#966717;border-color:#966717}.order-panel .tabs button[data-queue="Reordered"].active{background:#8055b7;border-color:#8055b7}.order-panel .tabs button[data-queue="Missing tracking"].active{background:#4579b9;border-color:#4579b9}.order-panel .tabs button[data-queue="Assigned to me"].active{background:#2f8060;border-color:#2f8060}.order-panel .tabs button:hover{filter:brightness(.95)}
@media(max-width:760px){.heading-actions{width:100%;gap:10px}.heading-actions button{min-height:46px;font-size:16px;padding:11px 18px}.order-panel .tabs{padding:12px;gap:9px}.order-panel .tabs button{font-size:14px;min-height:44px;padding:11px 14px}.heading:has(+.order-panel) p{padding:12px 14px;border-radius:12px;background:#eeebfa;color:#65548c;line-height:1.55;margin-top:12px}}
@media(max-width:760px){.sidebar,.layout.collapsed .sidebar{flex-direction:column;align-items:stretch}.sidebar .brand-word,.layout.collapsed .brand-word{font-size:26px}.layout.collapsed .brand-word:before{display:none}.sidebar .profile,.layout.collapsed .profile{justify-content:flex-start}.order-table col:nth-child(3){width:96px}}
@media(max-width:760px){.layout.mobile-open .sidebar,.layout.collapsed.mobile-open .sidebar{transform:translateX(0)}}
@media(max-width:760px){.layout.collapsed .sidebar #logout .nav-label{display:inline}.store-support-form input{width:100%;min-width:0}}
@media(max-width:760px){.toolbar input,.toolbar select{font-size:16px}.order-table .tracking-entry input,.order-table .note-cell input,.order-table .reminder-entry input,.order-table .action-cell select,.order-table .assigned-cell select{font-size:16px}}
.account-session{margin-top:28px;padding-top:24px;border-top:1px solid #e3e7f0}.account-session #logout{display:inline-flex;align-items:center;min-height:44px;color:#a64a65;background:#fff0f4;border:1px solid #eed2dc;padding:10px 18px;font-size:15px;border-radius:10px}.account-session p{margin-bottom:4px}
.work-explanation{font-size:14px;line-height:1.6;padding:15px 18px;background:#eeebfa;color:#65548c;border-radius:12px;margin-bottom:18px}.work-table{min-width:900px;font-size:14px}.work-table td{padding:15px 12px;white-space:nowrap}.work-table th{font-size:12px;padding:13px 12px}.work-table td strong{font-size:14px}.work-table td small{font-size:12px}.work-table-wrap{padding-bottom:0;max-height:65vh}.work-table .badge{font-size:12px}.work-table td:first-child{position:sticky;left:0;background:white;z-index:2}
.list-pager{display:flex;align-items:center;gap:10px}.list-pager button{min-height:38px}.sync-progress{color:#6554c0;font-weight:650}
.panel-open-cell{width:64px;padding-left:8px!important;padding-right:8px!important}.panel-open{display:inline-flex;align-items:center;justify-content:center;min-width:45px;min-height:34px;border:1px solid #d8d1f0;border-radius:9px;background:#efebff;color:#5945a6;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap}.panel-open:hover{background:#e1d9ff}.panel-open.unavailable{background:#f0f2f6;color:#8b91a1;border-color:#e1e5ed}.supplier-order-id{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:760px){.panel-open{min-height:40px}}
.order-table td.panel-open-cell,.order-table th:first-child{position:sticky;left:0;z-index:2;background:#fff}.order-table td.order,.order-table th:nth-child(2){position:sticky;left:64px;z-index:2;background:#fff}.order-table td.store-name,.order-table th:nth-child(3){position:sticky;left:144px;z-index:2;background:#fff}.order-table th:nth-child(-n+3){z-index:4;background:#f5f6fb}.order-table col:nth-child(3){width:55px}.order-table tbody tr:nth-child(even) td.panel-open-cell{background:#f9fbfe}
/* Phone orders retain the same editable controls in readable cards. */
@media(max-width:760px){
.order-panel .tablewrap{overflow:visible;max-height:none;padding:10px;background:#eef1f8}
.order-panel .order-table,.order-panel .order-table:not(:has(.prices)){display:block;min-width:0;width:100%;table-layout:auto}
.order-table colgroup,.order-table thead{display:none}
.order-table tbody{display:grid;gap:12px}
.order-table tbody tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:'panel order order store email lang' 'product product product product product product' 'target target target target target target' 'status status status action action action' 'assigned assigned assigned assigned assigned assigned' 'new new new new new new' 'price price price cost cost cost' 'note note note note note note' 'reminder reminder reminder refund refund refund';gap:8px;padding:12px;background:#fff!important;border:1px solid #dce1ef;border-radius:14px;box-shadow:0 3px 10px #27345b08}
.order-panel .order-table tbody tr td{display:block;position:static;left:auto;min-width:0!important;width:auto!important;white-space:normal;border:0;padding:0!important;background:transparent!important;font-size:14px}
.order-table .panel-open-cell{grid-area:panel}.order-table td.order{grid-area:order;align-self:center}.order-table td.store-name{grid-area:store;align-self:center;font-weight:700;color:#6952b9}.order-table .email-cell{grid-area:email}.order-table .language-cell{grid-area:lang;align-self:center;text-align:right}.order-table .product{grid-area:product}.order-table .target-cell{grid-area:target}.order-table .status-cell{grid-area:status}.order-table .action-cell{grid-area:action}.order-table .tracking{grid-area:tracking}.order-table .assigned-cell{grid-area:assigned}.order-table .new-tracking{grid-area:new}.order-table .prices{grid-area:price}.order-table .cost{grid-area:cost}.order-table .note-cell{grid-area:note}.order-table .reminder-cell{grid-area:reminder}.order-table .refund-cell{grid-area:refund}
.order-table td.product>span{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-table td strong{font-size:16px!important}.order-table .target a{font-size:14px;line-height:38px}.order-table .target{padding:0 8px;background:#f3f0fb;border-radius:8px;display:flex}
.order-table input,.order-table select,.order-table .tracking-status{height:44px;font-size:16px;padding:8px;border-radius:8px;width:100%}
.order-table .panel-open{min-height:40px;padding:0 5px;display:flex;align-items:center;justify-content:center;font-size:12px}
.order-table .copy-button,.order-table .email-compose{min-width:36px;min-height:38px;display:inline-flex;align-items:center;justify-content:center}.order-table .copy-button svg{width:17px;height:17px}.order-table .email-tools{gap:0}.order-table .email-compose{display:none}
.order-table .status-cell:before,.order-table .action-cell:before,.order-table .assigned-cell:before,.order-table .tracking:before,.order-table .new-tracking:before,.order-table .note-cell:before,.order-table .reminder-cell:before,.order-table .refund-cell:before,.order-table .prices:before,.order-table .cost:before{display:block;font-size:11px;color:#738099;margin-bottom:4px}
.order-table .status-cell:before{content:'Supplier status'}.order-table .action-cell:before{content:'Action'}.order-table .assigned-cell:before{content:'Assigned'}.order-table .tracking:before{content:'Supplier ID'}.order-table .new-tracking:before{content:'Supplier or reorder URL'}.order-table .note-cell:before{content:'Note'}.order-table .reminder-cell:before{content:'Remind me'}.order-table .refund-cell:before{content:'Refund'}.order-table .prices:before{content:'Price'}.order-table .cost:before{content:'Cost'}
.order-table .tracking-entry{grid-template-columns:minmax(0,1fr) 44px;gap:6px}.order-table .tracking-entry button{height:44px;font-size:22px;border-radius:8px}.order-table .latest-tracking{min-height:44px;display:flex;flex-wrap:wrap}.order-table .supplier-order-id{font-size:14px}.order-table .mini-history{font-size:12px}.order-table .badge{font-size:14px;padding:10px;display:inline-block}
.order-table .reminder-entry{gap:5px;min-height:44px}.order-table .reminder-entry input{width:58px}.order-table .reminder-entry button,.order-table .refund-cell button{height:44px;padding:8px;font-size:14px}.order-table .refund-toggle{display:flex;align-items:center;gap:8px;min-height:44px}.order-table .refund-toggle input{width:23px;height:23px}.order-table .reminder-indicator{font-size:12px}
.order-panel .tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:8px;gap:6px}.order-panel .tabs button{white-space:nowrap;min-height:44px;font-size:14px;flex:none}
.order-panel .toolbar{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:8px}.order-panel .toolbar input{grid-column:1/-1;width:100%;min-width:0;height:44px;font-size:16px}.order-panel .toolbar select{width:100%;min-width:0;height:44px;font-size:16px}.order-panel .toolbar button{min-height:44px}.order-panel .tablefoot{display:block;padding:12px}.order-panel .tablefoot>span{display:none}.order-panel .list-pager{display:flex;justify-content:space-between;gap:8px}.order-panel .list-pager button{min-height:44px}
}
.reviewed-toggle{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.order-table .reviewed-toggle input{width:19px;height:19px;accent-color:#5e54bd}.order-table td.reviewed-cell{width:100px!important}
@media(max-width:760px){.order-table tbody tr{grid-template-areas:'panel order order store email lang' 'product product product product product product' 'target target target target target target' 'status status status action action action' 'assigned assigned assigned assigned assigned assigned' 'new new new new new new' 'price price price cost cost cost' 'note note note note note note' 'reminder reminder reminder reminder reminder reminder' 'reviewed reviewed reviewed refund refund refund'}.order-table td.reviewed-cell{grid-area:reviewed;width:auto!important}.reviewed-toggle{min-height:44px;border-radius:8px;background:#f2effb;padding:8px;font-size:14px}.order-table .reviewed-toggle input{width:23px;height:23px}}
.order-link{color:#6550bd;text-decoration:none}.order-link:hover{text-decoration:underline}.order-table td.variation-cell{width:200px!important}.order-table td.quantity-cell{width:70px!important}.order-table .product .copy-line>span,.variation-cell .copy-line>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.order-table .product .copy-line{display:flex}
@media(max-width:760px){.order-table tbody tr{grid-template-areas:'panel order order store email lang' 'product product product product product product' 'variation variation variation variation qty qty' 'target target target target target target' 'status status status action action action' 'assigned assigned assigned assigned assigned assigned' 'new new new new new new' 'price price price cost cost cost' 'note note note note note note' 'reminder reminder reminder reminder reminder reminder' 'reviewed reviewed reviewed refund refund refund'}.order-table td.variation-cell{grid-area:variation;width:auto!important}.order-table td.quantity-cell{grid-area:qty;width:auto!important}.variation-cell:before,.quantity-cell:before{display:block;font-size:11px;color:#738099;margin-bottom:4px}.variation-cell:before{content:'Variation'}.quantity-cell:before{content:'Qty'}.variation-cell .copy-line{display:flex;align-items:center;min-height:38px}.order-table td.product .copy-line>span{font-size:15px;font-weight:600}.order-table .product .copy-line{align-items:center}}
.reporting-definition{font-size:13px;line-height:1.6;color:#48465d}.reporting-definition strong{display:block;margin-top:6px;color:#6e48a8}.reporting-definition details{margin-top:6px}.reporting-definition summary{cursor:pointer;font-weight:600}.reporting-definition p{margin:6px 0}.dashboard-controls input[type=email]{min-width:200px}
.dashboard-controls{flex-wrap:wrap}.dashboard-controls label{flex-shrink:0}.dashboard-controls>span{flex-basis:100%;margin-left:0}@media(max-width:760px){.dashboard-controls input[type=email]{min-width:0}.dashboard-controls label:has(#analyticsExcludeEmail){grid-column:1/-1}}

.workspace-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #e9e5f5;background:linear-gradient(110deg,#f5f1ff,#eef7ff);border-radius:14px 14px 0 0}.workspace-shortcuts>span{font-size:12px;font-weight:700;color:#776b96;margin-right:2px}.workspace-shortcuts a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 12px;border:1px solid #dcd3f5;border-radius:9px;background:#fff;color:#6550bd;font-size:13px;font-weight:700;text-decoration:none}.workspace-shortcuts a:hover{background:#eae3ff;border-color:#b9a8e9}.workspace-shortcuts a:focus-visible{outline:3px solid #ad9de5;outline-offset:2px}.workspace-shortcuts a.support-shortcut{color:#207080;border-color:#c6e4e8;background:#f3fcfd;margin-left:4px}@media(max-width:760px){.workspace-shortcuts{padding:10px;gap:6px}.workspace-shortcuts>span{display:none}.workspace-shortcuts a{min-height:44px;padding:8px 10px;font-size:14px}.workspace-shortcuts a.support-shortcut{margin-left:0}}

button.refresh-icon{width:36px;min-width:36px;height:36px;padding:0;font-size:22px;line-height:1;border-radius:9px}@media(max-width:760px){button.refresh-icon{width:44px;min-width:44px;height:44px}}

.order-table .tracking-status.manual{background:#eee7ff;color:#6942a1;border-color:#d5c3f2}.order-table .tracking-status.waiting{background:#edf1f7;color:#607089;border-color:#d6dfe9}

.order-table .tracking-status.progress{background:#e9f8ee;color:#378157;border-color:#ccebd7}.order-table .tracking-status.good{background:#26734e;color:#fff;border-color:#216644}.order-table .tracking-status.warn{background:#edf3fc;color:#56759c;border-color:#d7e3f4}

.order-table .tracking-status.manual{background:#fff0d5;color:#9a5700;border-color:#efc170;font-weight:700}

.mobile-details-cell,.mobile-order-quantity{display:none}@media(max-width:760px){.order-table .mobile-details-cell{display:block;grid-area:details;align-self:end}.order-table .mobile-details-cell button{width:100%;min-height:44px;background:#f4f1fe;border-color:#ddd5f4;color:#6652b4;font-size:14px}.mobile-order-quantity{display:inline-block;font-size:12px;font-weight:700;color:#64718d;margin-top:4px}.order-table tbody tr:not(.mobile-expanded){grid-template-areas:'panel order order store email lang' 'product product product product product product' 'target target target target target target' 'status status status details details details';gap:6px;padding:10px}.order-panel .order-table tbody tr:not(.mobile-expanded)>td:not(.panel-open-cell):not(.order):not(.store-name):not(.email-cell):not(.language-cell):not(.product):not(.target-cell):not(.status-cell):not(.mobile-details-cell){display:none}.order-table tbody tr.mobile-expanded{grid-template-areas:'panel order order store email lang' 'product product product product product product' 'variation variation variation variation qty qty' 'target target target target target target' 'status status status action action action' 'assigned assigned assigned assigned assigned assigned' 'new new new new new new' 'price price price cost cost cost' 'note note note note note note' 'reminder reminder reminder reminder reminder reminder' 'reviewed reviewed reviewed refund refund refund' 'details details details details details details'}.order-table tr:not(.mobile-expanded) .target a{line-height:30px}.order-table tr:not(.mobile-expanded) .status-cell:before{display:none}}

.analytics-layout{display:flex;flex-direction:column;gap:18px}.analytics-layout>.dashboard-controls,.analytics-layout>.reporting-definition{order:0}.analytics-layout>.history-grid{display:contents}.analytics-layout .daily-analytics{order:1}.analytics-layout>.dashboard-stats,.analytics-layout>.dashboard-grid{order:2}.analytics-layout .monthly-history{order:3}.analytics-layout .daily-scroll{max-height:330px;overflow:auto}@media(max-width:760px){.reporting-definition{display:none}.analytics-layout{gap:12px}.analytics-layout>.dashboard-controls>span{display:none}.analytics-layout .daily-scroll{max-height:260px}}
@media(max-width:760px){.order-table tbody{gap:8px}.order-table tbody tr:not(.mobile-expanded){grid-template-areas:'panel order order store email lang' 'product product product product product product' 'status status status details details details';padding:10px;gap:6px}.order-panel .order-table tbody tr:not(.mobile-expanded)>td.target-cell{display:none}.order-table tr:not(.mobile-expanded) td.product{display:flex;align-items:center;gap:8px;min-height:28px}.order-table tr:not(.mobile-expanded) .product .copy-line{flex:1;min-width:0}.order-table tr:not(.mobile-expanded) .mobile-order-quantity{flex-shrink:0;margin:0;padding:4px 7px;background:#f0f2f7;border-radius:6px;font-size:12px}.order-table tr:not(.mobile-expanded) .status-cell select,.order-table tr:not(.mobile-expanded) .mobile-details-cell button{height:40px;min-height:40px;font-size:14px}.order-table tr:not(.mobile-expanded) td.product .copy-line>span{font-size:14px}.order-table tr:not(.mobile-expanded) .panel-open{min-height:34px}.order-table tr:not(.mobile-expanded) .email-tools .copy-button{min-height:34px;min-width:30px}}

.search-history-note{padding:8px 12px;background:#edf4ff;color:#537196;font-size:12px;border-bottom:1px solid #dfe8f6}

@media(min-width:761px){
.order-table td.store-name{position:static;left:auto}
.order-table th:nth-child(-n+19){width:auto!important}
.order-table th:nth-child(1),.order-table td.panel-open-cell{width:64px!important;min-width:64px;max-width:64px;left:0}
.order-table th:nth-child(2),.order-table td.order{width:80px!important;min-width:80px;max-width:80px;left:64px}
.order-table th:nth-child(3),.order-table td.new-tracking{position:sticky;left:144px;width:165px!important;min-width:165px;max-width:165px;background:#fff;z-index:2;box-shadow:2px 0 0 #e4e5f0}
.order-table col:nth-child(3){width:165px}
.order-table thead th:nth-child(-n+3){z-index:4;background:#f5f6fb}
.order-table tbody tr:nth-child(even) td.new-tracking{background:#f9fbfe}
.order-table tbody tr:hover td.panel-open-cell,.order-table tbody tr:hover td.new-tracking{background:#f2f4fe}
.order-table .new-tracking .tracking-entry{gap:4px;grid-template-columns:minmax(0,1fr) 28px}
}

.tracking-status.link-incorrect{background:#fff0f6;color:#a51c63;border-color:#efa9cf}.tabs [data-queue="Link incorrect"]{background:#fff0f6;color:#a51c63}.tabs [data-queue="Link incorrect"].active{background:#a51c63;color:white;border-color:#a51c63}

.tracking-entry{flex-wrap:wrap}.tracking-entry select{display:none;width:100%;height:28px;font-size:12px}.tracking-entry:focus-within select{display:block}

.tracking-entry input{grid-column:1;grid-row:1}.tracking-entry button{grid-column:2;grid-row:1}.tracking-entry select{grid-column:1 / -1;grid-row:2}
