:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#21352f;background:#f3f5f3;font-synthesis:none;--green:#17634e;--dark:#173e36;--muted:#687973;--line:#e2e8e3;--orange:#b26422}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--dark);cursor:pointer;font-weight:600;font-size:13px;text-decoration:none}button:hover,.button:hover{background:#edf4ef;text-decoration:none}button:disabled{opacity:.55;cursor:wait}.primary,button[type=submit]{background:var(--green);border-color:var(--green);color:white}.primary:hover,button[type=submit]:hover{background:#124d3d}.danger{color:#ae3b38;border-color:#e8c7c7}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #d6dfd9;border-radius:7px;color:#273e35;background:white;min-height:40px;font-size:14px}textarea{min-height:85px;resize:vertical}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--green)}input:focus,select:focus,textarea:focus{outline:2px solid #8bb7a7;outline-offset:2px}button:focus-visible,a:focus-visible{outline:3px solid #71a99a;outline-offset:3px}label{display:grid;gap:7px;font-size:13px;font-weight:600}form{display:grid;gap:16px}.check,.address-ack{display:flex;align-items:flex-start;gap:9px;font-weight:400;line-height:1.6}.check input,.address-ack input{flex-shrink:0;margin-top:3px}.muted,small{color:var(--muted)}small{display:block;line-height:1.6;font-size:12px}.initial{padding:50px}.skip{position:fixed;left:16px;top:-100px;z-index:20;background:white;padding:12px}.skip:focus{top:12px}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--dark);color:#d6e8df;padding:27px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:white;margin:0 11px 31px}.brand-mark{display:grid;place-items:center;width:36px;height:40px;border:1px solid #6c9886;border-radius:11px;font-weight:700;font-size:24px;background:#245344}.brand strong{display:block;letter-spacing:2.5px;font-size:18px}.brand small{color:#afcbbb;font-size:10px;letter-spacing:1.2px;margin-top:3px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#89ad9d;padding:10px 12px}.nav{display:grid;gap:4px}.nav a{color:#c4dbce;display:flex;gap:12px;align-items:center;padding:12px 13px;font-size:13px;border-radius:8px}.nav a:hover{background:#245045;text-decoration:none}.nav a.active{background:#e0eee5;color:#1a493b;font-weight:700}.nav svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding:25px 12px 0;border-top:1px solid #386052;font-size:12px;line-height:1.8}.sidebar-bottom a{color:#e0eee5}.workspace{min-width:0}.topbar{height:73px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:16px}.topbar .subtle{font-size:12px;color:var(--muted)}.profile{display:flex;align-items:center;gap:10px;font-size:13px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eaf0e8;font-weight:700;color:var(--green)}.profile button{border:0;padding:5px;color:var(--muted);font-size:12px}.mobile-menu{display:none}.content{padding:30px 34px 45px;max-width:1800px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700;color:var(--green);margin-bottom:8px}h1{font-size:27px;letter-spacing:-.6px;line-height:1.2;margin:0 0 9px}h2{font-size:16px;letter-spacing:-.2px;margin:0 0 5px}h3{font-size:15px;margin:0 0 13px}h4{margin:8px 0}p{line-height:1.6}.page-heading p{font-size:13px;margin:0;color:var(--muted)}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.filters{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;background:white;border:1px solid var(--line);padding:16px;border-radius:11px;margin-bottom:22px}.filters label{font-size:11px;min-width:140px;flex:1}.filters .search{min-width:220px;flex:2}.filters button{flex-shrink:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:20px 22px;position:relative}.metric .label{font-size:12px;color:var(--muted);margin-bottom:15px}.metric .number{font-size:27px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin-bottom:10px}.metric:first-child{background:var(--dark);color:white;border-color:var(--dark)}.metric:first-child .label,.metric:first-child small{color:#bbd7c7}.metric small{font-size:11px}.metric .mini-icon{position:absolute;top:18px;right:18px;color:#89a99a}.metric .mini-icon svg{width:16px;height:16px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:22px;margin-bottom:23px}.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:22px}.grid-two .panel{margin-bottom:0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:21px 22px;border-bottom:1px solid var(--line)}.panel-body{padding:22px}.panel-header a{font-size:12px}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left;white-space:nowrap}th{padding:13px 18px;background:#f4f7f3;color:#66786e;font-size:11px;font-weight:600;border-bottom:1px solid var(--line)}td{padding:16px 18px;border-bottom:1px solid #edf0ec;line-height:1.5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcf9}.right{text-align:right;font-variant-numeric:tabular-nums}.id-link{background:none;border:0;padding:0;min-height:25px;color:var(--green);font-size:12px;justify-content:flex-start;text-align:left}.id-link:hover{background:none;text-decoration:underline}.name-cell{min-width:180px;white-space:normal;max-width:300px}.badge{font-size:10px;font-weight:600;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;white-space:nowrap;background:#edf1ee;color:#63766b}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge.paid,.badge.ok,.badge.done,.badge.complete{background:#e8f3eb;color:#22744f}.badge.pending,.badge.waiting,.badge.low,.badge.browser_pending{background:#fff1dd;color:#aa701b}.badge.review,.badge.error,.badge.out,.badge.unknown,.badge.stale{background:#fcebe6;color:#b65338}.badge.shipped{background:#e8f0fb;color:#486b9f}.pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.pagination button{min-height:31px;padding:6px 10px}.empty{padding:40px 24px;text-align:center;color:var(--muted);line-height:1.8;font-size:13px}.empty strong{display:block;color:var(--dark);margin-bottom:4px;font-size:16px}.chart{height:210px;display:flex;align-items:flex-end;gap:clamp(3px,.6vw,12px);padding:18px 6px 25px;border-bottom:1px solid var(--line);position:relative}.chart-col{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;gap:6px}.chart-bar{width:100%;max-width:28px;background:#86ae96;border-radius:4px 4px 0 0;min-height:2px}.chart-col:last-child .chart-bar{background:var(--green)}.chart-col span{position:absolute;bottom:-23px;font-size:9px;color:var(--muted);white-space:nowrap}.chart-note{font-size:11px;color:var(--muted);margin-top:17px}.status-list{display:grid;gap:22px}.status-row{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:12px}.progress{grid-column:1/-1;height:6px;background:#f0f3ef;border-radius:5px;overflow:hidden}.progress span{display:block;height:100%;background:#9ab6a2;border-radius:5px}.connection{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.connection .dot{width:7px;height:7px;border-radius:50%;background:#56a16c}.connection .dot.warn{background:#c28c3a}.footnote{font-size:11px;color:var(--muted);margin-top:18px;line-height:1.7}.warning,.packing-warning{background:#fff7e7;border-left:3px solid #c39344;color:#8c672c;padding:12px 15px;font-size:12px;line-height:1.7;border-radius:4px}.error{background:#fcebe8;color:#a23e31;border-radius:8px;padding:14px;font-size:13px;line-height:1.6}.product-thumb{width:35px;height:35px;border:1px solid var(--line);border-radius:7px;background:#f4f6f1;display:inline-grid;place-items:center;margin-right:10px;color:#65816c;font-size:16px;vertical-align:middle}.login{max-width:400px;margin:10vh auto;background:white;padding:36px;border-radius:18px;border:1px solid var(--line)}.login .brand{margin:0 0 26px;color:var(--dark)}.login .brand small{color:var(--muted)}.login h1{font-size:23px}.login p{font-size:13px;color:var(--muted)}.login form{margin-top:25px}dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(920px,95vw);max-width:95vw;border:0;padding:0;box-shadow:-10px 0 60px #173e3622;color:#21352f;background:#f6f8f4}dialog::backdrop{background:#13251d66;backdrop-filter:blur(2px)}.drawer-head{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;background:white;padding:22px 28px;border-bottom:1px solid var(--line)}.drawer-head h2{font-size:20px}.drawer-body{padding:26px}.drawer-body section,.drawer-body .shipping-card,.packing-summary,.order-invoice{display:block;background:white;border:1px solid var(--line);padding:22px;border-radius:10px;margin-bottom:18px}.drawer-body details{margin:14px 0}.drawer-body summary{font-size:13px;font-weight:600;cursor:pointer}.drawer-body form{margin-top:16px}.drawer-body .grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.drawer-body fieldset{border:1px solid var(--line);padding:18px;border-radius:8px;display:grid;gap:12px}.drawer-body legend{font-size:12px}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;font-size:13px}.facts dt{color:var(--muted);font-size:11px;margin-bottom:6px}.facts dd{margin:0;overflow-wrap:anywhere}.order-invoice-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:18px}.order-invoice-heading span{color:var(--green)}.order-invoice-scroll{overflow:auto}.order-invoice-items{font-size:12px}.order-invoice-items td,.order-invoice-items th{padding:10px 8px}.order-invoice-items caption{text-align:left;font-size:11px;padding:10px 0;color:var(--muted)}.invoice-mobile-meta{display:none}.order-invoice-totals{max-width:480px;margin:20px 0 0 auto}.order-invoice-line{display:flex;justify-content:space-between;gap:18px;padding:9px 0;font-size:12px}.order-invoice-line strong{white-space:nowrap}.order-invoice-hint,.order-invoice-payment-note{font-size:11px;color:var(--muted)}.order-invoice-grandtotal{font-size:17px;border-top:1px solid var(--line);padding-top:17px}.file{display:block;font-size:12px;padding:8px 0}.shipping-evidence{white-space:pre-wrap;max-height:200px;overflow:auto;font-size:12px}.cart-row{display:grid;grid-template-columns:1fr 90px 30px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.cart-row input{min-width:0}.cart-row button{padding:4px;min-height:30px}.cart-picker{display:grid;grid-template-columns:1fr auto;gap:10px}.notice{position:fixed;bottom:25px;right:25px;z-index:10000;max-width:min(450px,90vw);padding:15px 22px;border-radius:10px;background:var(--dark);color:white;box-shadow:0 6px 28px #0002;font-size:13px;line-height:1.6}.notice.fail{background:#963e32}.inline-result{font-size:12px;line-height:1.7}.audit-list{font-size:12px;line-height:2}.button-row{display:flex;gap:10px;flex-wrap:wrap}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .panel{margin-bottom:0}.loading{padding:50px;color:var(--muted);font-size:13px}.loading:before{content:"";display:inline-block;width:14px;height:14px;border:2px solid #b3cabd;border-right-color:var(--green);border-radius:50%;animation:spin .7s linear infinite;margin-right:12px}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading:before{animation:none}}@media(min-width:1600px){.content{padding:38px 48px}.metric{padding:25px}.metric .number{font-size:32px}}@media(max-width:1150px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:25px 12px}.content{padding:25px 22px}.topbar{padding:0 22px}.grid-two{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:17px}.metric .number{font-size:23px}.settings-grid{grid-template-columns:1fr}}@media(max-width:760px){.shell{display:block}.sidebar{display:none;position:fixed;z-index:15;width:230px;box-shadow:10px 0 30px #0003}.shell.menu-open .sidebar{display:flex}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 15px}.topbar .subtle{display:none}.content{padding:24px 15px}.page-heading{flex-wrap:wrap;gap:15px}h1{font-size:25px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:15px}.metric .number{font-size:23px}.metric .mini-icon{display:none}.metric .label{font-size:11px}.filters{gap:10px;padding:13px}.filters label,.filters .search{min-width:calc(50% - 10px)}.filters .search{flex-basis:100%}.drawer-head,.drawer-body{padding:20px}.drawer-body section,.packing-summary,.drawer-body .shipping-card{padding:16px}.drawer-body .grid,.form-grid,.facts{grid-template-columns:1fr}dialog{width:100vw;max-width:100vw}.profile .user-name{max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-header{padding:18px}.grid-two{gap:18px}.pagination{padding:12px}.order-invoice-items{font-size:11px}.order-invoice-totals{max-width:none}.chart{height:170px}}

.order-quick-menu .order-quick-trigger{cursor:pointer;color:var(--green);font-weight:700;list-style:none;padding:8px 0;white-space:nowrap}.order-quick-actions{display:none;gap:8px;flex-wrap:wrap;padding:8px 0}.order-quick-menu:hover .order-quick-actions,.order-quick-menu:focus-within .order-quick-actions,.order-quick-menu.is-open .order-quick-actions{display:flex}.order-quick-actions button{white-space:nowrap}.print-order-document{color:#172c24;background:white}.print-order-document>p{overflow-wrap:anywhere}
@media print{body:has(.print-order-document)>*:not(#drawer){display:none!important}body:has(.print-order-document) #drawer{position:static!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;box-shadow:none!important;border:0!important;margin:0!important}body:has(.print-order-document) #drawer::backdrop{display:none}body:has(.print-order-document) .drawer-head,body:has(.print-order-document) .drawer-body>.actions{display:none!important}body:has(.print-order-document) .drawer-body{padding:0!important;overflow:visible!important}.print-order-document .order-invoice-scroll{overflow:visible}.print-order-document table{width:100%;font-size:11px}.print-order-document thead{display:table-header-group}.print-order-document tr{break-inside:avoid}.print-order-document a{color:black;text-decoration:none}}
.brand .admin-brand-logo{display:block;width:176px;max-width:100%;height:auto;object-fit:contain;border-radius:8px;background:white}.login .brand .admin-brand-logo{width:140px}

.order-quick-menu .order-quick-trigger{background:transparent;border:0;text-align:left}.topbar .profile{flex-wrap:wrap}.topbar [data-command="refresh-interface"]{flex-shrink:0}
