@charset "UTF-8";
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20252c;background:#f7f8fa;font-size:14px;--ink:#20252c;--muted:#737b86;--line:#e9ebee;--green:#237b57;--radius:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;letter-spacing:-.8px;font-weight:650}h2{font-size:15px;font-weight:650;letter-spacing:-.15px}h3{font-size:14px;font-weight:650}p{line-height:1.65}small{font-size:12px}strong{font-weight:600}svg{flex-shrink:0}.icon{width:19px;height:19px;vertical-align:middle;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8baeee;outline-offset:3px}button{border:0;background:none}button:hover:not(:disabled){filter:brightness(.98)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-60px;left:20px;background:#fff;padding:12px;z-index:100}.skip:focus{top:10px}
.workspace{display:flex;min-height:100vh}.sidebar{width:218px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:31px 16px 0;display:flex;flex-direction:column;z-index:30}.brand{display:block;padding:0 13px;margin-bottom:32px}.brand img{width:143px;height:auto;display:block}.store-switch{width:100%;padding:11px 10px!important;border:1px solid var(--line)!important;gap:9px!important;border-radius:10px!important;margin-bottom:29px}.store-symbol{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:#eaf0ec;border:1px solid #dce5df;color:#355c49;border-radius:8px;font-family:Georgia,serif;font-weight:bold;font-size:19px}.store-symbol.large{width:52px;height:52px;font-size:29px}.store-text{display:flex;flex-direction:column;text-align:left;flex:1;min-width:0}.store-text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-text small{font-size:10px;color:var(--muted);margin-top:2px}.store-switch>.icon{width:14px}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.3px;color:#959ba3;margin:0 14px 12px}.nav-item{display:flex;align-items:center;gap:11px;padding:11px 13px;min-height:42px;border-radius:8px;color:#68717c;margin-bottom:5px;font-size:12px;font-weight:550;width:100%;text-align:left;transition:background .15s}.nav-item .icon{width:18px;height:18px}.nav-item.active{background:#eef1ef;color:#253d31}.nav-item:hover{background:#f5f6f7}.nav-count{font-size:10px;margin-left:auto;background:#e0e7e2;border-radius:5px;min-width:23px;text-align:center;padding:3px 5px;color:#405b4c}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;margin:23px -2px 0;padding:20px 2px}.profile strong{font-size:10px;white-space:nowrap}.profile small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.profile .avatar{width:31px;height:31px;font-size:10px}.profile .icon-btn{margin-left:auto;width:25px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;background:#efede8;color:#776d60;border-radius:50%;font-size:10px;font-weight:650;letter-spacing:.3px}.main-shell{margin-left:218px;flex:1;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 35px;background:rgba(255,255,255,.78)}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:#8b929c}.breadcrumb .icon{width:12px;height:12px}.breadcrumb strong{color:#525b67;font-weight:500}.topbar-actions{display:flex;align-items:center;gap:15px}.search-trigger{color:#969ca5!important;border:0!important;background:none!important;font-size:11px!important;padding:4px!important;min-height:32px!important}.search-trigger .icon{width:17px}kbd{font-family:inherit;font-size:9px;border:1px solid #e2e5e9;border-radius:4px;padding:3px 4px;margin-left:37px;color:#9198a2;background:#fff}.demo-pill{background:#eef3ee!important;border:1px solid #e1e8e1!important;color:#4c6855!important;font-size:10px!important;min-height:28px!important;padding:4px 9px!important;border-radius:6px!important}.demo-pill .icon{width:13px;height:13px}.mobile-menu{display:none!important}main{max-width:1700px;margin:0 auto;padding:33px 35px 25px;min-height:calc(100vh - 119px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{font-size:12px;color:var(--muted);margin-top:9px}.actions,.row-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe3e7;background:#fff;border-radius:8px;padding:9px 13px;min-height:37px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn:hover:not(:disabled){background:#f9fafb;box-shadow:0 1px 2px #1218220a}.btn .icon{width:16px;height:16px}.btn.primary{background:#252b31;border-color:#252b31;color:#fff;box-shadow:0 2px 3px #10101012}.btn.primary:hover{background:#3c454c}.btn.danger{background:#ae4039;color:#fff;border-color:#ae4039}.btn.danger-text{color:#a43b35}.btn.text-btn{border:0;background:transparent;padding:4px 0;min-height:28px;color:#5d6874;font-size:11px;box-shadow:none}.btn.icon-btn{padding:7px;min-height:31px;min-width:31px;border:0;background:none;color:#7d8590}.btn.full{width:100%;margin-top:10px}.grow{flex:1;min-width:0}.muted,.quiet{color:var(--muted)}.quiet{font-size:11px;line-height:1.7}.success-text{color:#237b57}.push-right{margin-left:auto}.dot{color:#c3c8cc;padding:0 5px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-bottom:19px}.back-link .icon{width:15px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.metric{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;text-align:left;min-width:0;box-shadow:0 2px 4px #1e263503}.metric-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#707985;margin-bottom:15px;gap:10px}.metric-label .icon{color:#8a949f;width:17px;height:17px}.metric>strong{font-size:28px;line-height:1.25;font-weight:620;letter-spacing:-1px;font-variant-numeric:tabular-nums}.metric>small{display:block;margin-top:11px;color:#8b929c;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:23px}.dashboard-main,.dashboard-aside{min-width:0}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px;overflow:hidden;box-shadow:0 2px 4px #18242c02}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px}.panel-head>a{display:flex;gap:6px;align-items:center;font-size:10px;color:#707b87;white-space:nowrap}.panel-head>a .icon{width:13px}.count{display:inline-block;border-radius:5px;background:#f1f3f5;color:#8a929b;font-size:10px;font-weight:500;min-width:22px;padding:3px 5px;text-align:center;margin-left:6px;vertical-align:middle}.attention-banner{display:flex;align-items:center;background:#eff3ef;border:1px solid #e1e8e1;padding:17px 19px;gap:13px;border-radius:12px;margin-bottom:20px}.attention-icon{display:grid;place-items:center;background:#fff;border-radius:9px;width:36px;height:36px;color:#5d7664;flex-shrink:0}.attention-banner strong{font-size:12px;font-weight:600}.attention-banner p{font-size:10px;color:#7b877d;margin-top:4px}.attention-banner>.btn{margin-left:auto;color:#4e6856;gap:10px}.tabs{display:flex;gap:22px;align-items:center;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--line);padding:0 22px}.tab{border:0;background:none;border-radius:0;padding:4px 0 13px;font-size:11px;color:#89919b;position:relative;min-height:40px}.tab.selected{color:#263f31;font-weight:650}.tab.selected:after{content:'';height:2px;position:absolute;bottom:0;left:0;right:0;background:#385d45;border-radius:3px}.tab span{margin-left:4px;color:#9099a2}.tabs .btn:hover{box-shadow:none;background:none}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{font-size:9px;font-weight:550;color:#959ca5;padding:13px 20px;background:#fcfcfd;border-bottom:1px solid #f1f2f4}td{padding:16px 20px;border-bottom:1px solid #f0f2f4;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfc}td small{display:block;font-size:9px;margin-top:5px;color:#8b939d}.order-cell{display:flex;align-items:center;gap:10px}.order-cell strong{font-size:11px;font-weight:550}.order-cell small{margin-top:5px}.order-cell small span{color:#a0a6ae}.product-cell{display:flex;align-items:center;gap:9px;max-width:190px}.product-cell>span:last-child{white-space:normal;font-size:10px;min-width:95px}.product-cell small{font-size:9px}.thumb{display:inline-flex;align-items:center;justify-content:center;width:35px;height:39px;border-radius:6px;background:#edf0f1;flex-shrink:0;color:#849097;overflow:hidden}.thumb .icon{width:22px;height:22px;stroke-width:1.2}.thumb.shirt{background:#eeeae3;color:#b6a691}.thumb.bottle{background:#efe4df;color:#be9687}.thumb.cup{background:#e5eae2;color:#9aa28c}.thumb.gift{background:#eadfde;color:#b49795}.thumb.flower{background:#e4e9dd;color:#9ca98c}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:5px;padding:5px 7px;font-size:9px;font-weight:500;line-height:1.2;background:#f2f3f5;color:#828a94}.badge i{width:4px;height:4px;border-radius:50%;background:currentColor}.badge.accepted{background:#edf0fb;color:#6478b3}.badge.processing{background:#fff4df;color:#a98739}.badge.ready{background:#e8f2ee;color:#4b826a}.badge.in_delivery{background:#eeebf8;color:#8a75b2}.badge.delivered,.badge.paid{background:#e9f3ed;color:#4b8965}.badge.pending,.badge.refund_pending{background:#fff2e0;color:#b0863d}.badge.cancelled,.badge.failed{background:#f9eae8;color:#ae6b66}.badge.refunded{background:#f0edf5;color:#81738f}.badge.manual{background:#e8eff7;color:#5e7c9e}.badge.unpaid{background:#f3f4f5;color:#8c949d}.amount{font-weight:600;font-variant-numeric:tabular-nums}.time{display:flex;gap:5px;align-items:center;font-size:10px;color:#747e88}.time .icon{width:12px;height:12px}.time.late{color:#ba7f4e}.orders-table th,.orders-table td{padding-left:15px;padding-right:15px}.orders-table th:first-child,.orders-table td:first-child{padding-left:22px}.orders-table th:last-child,.orders-table td:last-child{padding-right:16px}.orders-table td:last-child .icon{width:13px;color:#c0c6cd}.dashboard-main .orders-table .avatar{width:29px;height:29px;font-size:8px}.dashboard-main .orders-table th,.dashboard-main .orders-table td{padding-left:12px;padding-right:12px}.dashboard-main .orders-table td{padding-top:18px;padding-bottom:18px}.dashboard-main .orders-table td:nth-child(2),.dashboard-main .orders-table th:nth-child(2){display:none}.tasks{padding:0 20px 7px}.task{display:flex;gap:11px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #eff1f3}.task:last-child{border-bottom:0}.task-check{width:16px;height:16px;min-height:16px;min-width:16px;padding:0;border-radius:5px;border:1.5px solid #d8dfe1;margin-top:1px;background:#fff}.task-check.complete{background:#476e54;color:#fff;border-color:#476e54}.task-check .icon{width:12px;height:12px}.task strong{font-size:10px;line-height:1.65;font-weight:550;display:block}.task small{font-size:9px;color:#a0a6ad;display:flex;align-items:center;gap:4px;margin-top:6px}.task small .icon{width:10px;height:10px}.task small span{color:#a4abb3}.dashboard-aside .panel-head{padding:20px 20px 5px}.dashboard-aside .panel-head h2{font-size:13px}.progress-panel{padding:23px 21px}.progress-illustration{display:flex;align-items:flex-end;margin-bottom:18px}.progress-illustration>.icon{width:38px;height:38px;color:#768f7b;stroke-width:1.1}.progress-illustration>span{display:flex;background:#e8efdf;width:18px;height:18px;border:2px solid white;border-radius:50%;margin-left:-7px;color:#708463}.progress-illustration>span .icon{width:13px;height:13px}.progress-panel h2{font-size:13px}.progress-panel p{font-size:10px;color:#9199a2;line-height:1.8;margin-top:8px}.progress-track{height:4px;background:#eff1ee;border-radius:4px;overflow:hidden;margin:19px 0 9px}.progress-track i{display:block;background:#8ba089;height:100%;border-radius:4px}.progress-caption{display:flex;justify-content:space-between;font-size:9px;color:#989fa8}.progress-caption strong{color:#71816f}.progress-panel .btn{font-size:10px;min-height:34px;margin-top:20px}.bottom-tip{display:flex;gap:13px;align-items:center;border:1px dashed #dce2e2;border-radius:10px;padding:18px 20px;margin-top:25px}.bottom-tip>.icon{color:#9daaaa}.bottom-tip strong{display:block;font-size:11px;font-weight:550}.bottom-tip span{display:block;font-size:10px;color:#939ba4;margin-top:5px}.bottom-tip>.btn{margin-left:auto;flex-shrink:0;font-size:10px}.calm-note{display:flex;gap:10px;color:#a2a9b2;font-size:10px;padding:1px 13px}.calm-note .icon{width:15px;height:15px;margin-top:3px}.calm-note p{font-size:10px;line-height:1.9}.workspace-footer{display:flex;justify-content:space-between;padding:5px 35px 22px;color:#a7aeb7;font-size:9px}.status-dot{display:inline-block;width:5px;height:5px;background:#92a890;border-radius:50%;margin-right:6px}
input,select,textarea{border:1px solid #dde2e7;border-radius:7px;background:#fff;padding:10px 11px;color:#3f4852;min-width:0;font-size:12px;max-width:100%;outline-offset:1px}input::placeholder,textarea::placeholder{color:#a6aeb7}input:disabled,select:disabled{background:#f6f7f8;color:#7c8590}textarea{resize:vertical;min-height:85px;width:100%;line-height:1.6}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.field>span{font-size:11px;font-weight:550;color:#616b77}.field small{font-size:10px;color:#8e98a4;line-height:1.6}.filterbar{display:flex;align-items:center;gap:16px;padding:17px 22px}.search-field{display:flex;align-items:center;gap:8px;flex:1}.search-field .icon{color:#a2aab4;width:17px}.search-field input{border:0;outline-offset:2px;min-width:0;max-width:500px;width:100%;font-size:11px}.filters-right{display:flex;gap:8px}.filterbar select,.tabs select,.report-controls select{font-size:11px;min-height:34px;padding:7px 10px;background:#fff}.with-view{gap:19px}.view-toggle{margin-left:auto;display:flex;gap:2px;border:1px solid #e9eced;padding:2px;border-radius:7px;margin-bottom:10px}.view-toggle .selected{background:#edf1ef;color:#496451}.empty{padding:45px 25px;text-align:center}.empty>.icon{width:35px;height:35px;color:#a3b0a7;margin-bottom:16px}.empty h3{font-size:16px}.empty p{font-size:12px;color:var(--muted);margin:8px auto 19px;max-width:360px}.empty .btn+.btn{margin-left:7px}.notice{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #e1e7ec;border-radius:9px;background:#f1f5f8;color:#607384;font-size:11px;line-height:1.8;margin-bottom:20px}.notice>.icon{width:16px;height:16px;margin-top:2px}.notice.warning{background:#fcf6e9;border-color:#f1e7d0;color:#9c7933}.notice.danger{background:#fcf0ee;border-color:#f0d7d2;color:#a65a51}.notice.success{background:#edf5ef;border-color:#daebdf;color:#5d7d60}.notice .text-btn{color:inherit;margin-left:7px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.detail-body{padding:21px 23px}.detail-body>p{font-size:12px;color:#737e88;margin:8px 0 17px}.detail-body .quiet{font-size:11px}.fulfillment-steps{display:flex;padding:8px 24px 28px;justify-content:space-between}.step{display:flex;flex:1;flex-direction:column;align-items:center;position:relative;gap:8px}.step:before{content:'';position:absolute;height:1px;background:#e6ebed;top:13px;left:0;right:0}.step:first-child:before{left:50%}.step:last-child:before{right:50%}.step>span{width:27px;height:27px;border-radius:50%;border:1px solid #e2e7e9;background:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;color:#b5bdc6;z-index:1}.step small{font-size:9px;color:#9aa3ad}.step.done>span{background:#edf3ef;border-color:#d8e6dc;color:#53775b}.step.done small{color:#63836a}.step .icon{width:13px}.line-items{padding:0 22px}.line-item{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #edf0f2;font-size:12px}.line-item:last-child{border-bottom:0}.line-item .thumb{width:45px;height:48px}.line-item strong{font-size:12px}.line-item small{display:block;font-size:10px;color:#95a0aa;margin-top:5px}.line-item .muted{font-size:11px}.totals{padding:13px 23px 22px;border-top:1px solid var(--line)}.totals>div{display:flex;justify-content:space-between;margin-top:9px;font-size:11px;color:#87919c}.total{border-top:1px solid var(--line);padding-top:16px;margin-top:15px!important;display:flex;justify-content:space-between;color:#343d46!important;font-size:15px!important}.big-amount{font-size:30px;font-weight:600;letter-spacing:-.8px;margin:21px 0 18px}.facts{margin:16px 0}.facts>div{display:flex;justify-content:space-between;font-size:11px;padding:8px 0;gap:12px}.facts dt,.facts span{color:#929ba6}.facts dd{margin:0;text-align:right}.info-row{display:flex;gap:13px;align-items:flex-start;margin-bottom:15px}.info-row>.icon{width:17px;color:#94a19c}.info-row strong{font-size:12px}.info-row small{display:block;color:#949da6;font-size:11px;margin-top:6px}.courier{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:12px;margin-top:20px}.courier strong,.courier small{display:block;font-size:11px}.courier small{font-size:10px;color:#919ca7;margin-top:4px}.courier .badge{margin-left:auto}.note-label{display:flex;gap:7px;align-items:center;font-size:11px;color:#737e88;font-weight:600}.note-label .icon{width:14px;height:14px}.note-label small{font-weight:400;color:#a8b0b8;font-size:9px}.note-label~p{color:#64707a;font-size:12px;margin:8px 0 22px}.note-label~p:last-child{margin-bottom:0}.timeline{list-style:none;padding:0 24px 12px;margin:0}.timeline li{display:flex;gap:14px;position:relative;padding:0 0 23px}.timeline li>i{height:7px;width:7px;min-width:7px;background:#c2d0c6;border-radius:50%;margin-top:5px;z-index:1}.timeline li:not(:last-child):before{content:'';position:absolute;left:3px;top:13px;bottom:0;width:1px;background:#e5ebe7}.timeline strong{font-size:11px;font-weight:500}.timeline small{display:block;font-size:9px;color:#a2aab2;margin-top:5px}.ledger-mini{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:13px 0;border-top:1px solid var(--line);font-size:10px}.ledger-mini>.icon{color:#9ca8b1;width:15px}.ledger-mini span{flex:1}.ledger-mini small{display:block;font-size:9px;color:#9aa5af;margin-top:4px}.ledger-mini strong{font-size:10px;white-space:nowrap}.customer-summary{display:flex;align-items:center;gap:11px}.customer-summary strong{font-size:12px}.customer-summary small{display:block;font-size:10px;color:#a1abb4;margin-top:5px}.icon-text{display:flex;gap:8px;align-items:center;font-size:11px!important}.icon-text .icon{width:15px;height:15px}.secondary-actions{padding-top:9px;padding-bottom:18px}.sticky-summary{align-self:start;position:sticky;top:20px}.summary-total{margin-bottom:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.form-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;margin-top:22px}.optional-fields summary{padding:20px 23px;display:flex;align-items:center;gap:9px;font-size:12px;color:#78848d;cursor:pointer}.optional-fields[open] summary{border-bottom:1px solid var(--line)}details:not(.optional-fields){margin-top:15px}details summary{font-size:11px;color:#87939c;cursor:pointer}details .form-grid{margin-top:20px}.qty{width:58px;padding:8px;text-align:center}.kanban{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:15px;padding:22px;overflow-x:auto}.kanban>section{background:#f6f7f8;border-radius:10px;padding:13px}.kanban>section>h3{font-size:11px;margin-bottom:17px}.kanban-card{display:block;background:#fff;border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:11px;box-shadow:0 2px 3px #00000002}.kanban-card>small{font-size:9px;color:#a0a8b1}.kanban-card h3{font-size:12px;margin-top:11px}.kanban-card p{font-size:10px;color:#89929c;margin-top:6px}.kanban-card>div{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-top:16px}.kanban-card strong{font-size:10px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.product-image{display:block;width:100%;height:180px;position:relative;padding:0}.product-image .thumb.large{width:100%;height:100%;border-radius:0;position:relative}.thumb.large:after{content:'';position:absolute;width:100px;height:10px;border-radius:50%;background:#00000008;top:72%;filter:blur(5px)}.thumb.large .icon{width:84px;height:84px;stroke-width:1;filter:drop-shadow(3px 9px 4px #5a51440c)}.product-image .badge{position:absolute;top:14px;left:14px;background:#ffffffc7}.product-info{padding:17px 20px}.product-info>small{font-size:9px;color:#a0a9b3}.product-info h2{margin:6px 0 14px;font-size:14px}.product-info h2 button{padding:0;text-align:left;font:inherit}.product-price{display:flex;justify-content:space-between;align-items:center}.product-price strong{font-size:15px}.product-price>span{font-size:10px;color:#9ba5ae}.product-stock{border-top:1px solid var(--line);margin-top:14px;padding-top:8px;display:flex;align-items:center;gap:6px;font-size:10px;color:#8a9790;min-height:37px}.product-stock>.icon{width:13px;height:13px}.product-stock>.btn{margin-left:auto}.tag{display:inline-flex;background:#f2f4f5;color:#7b8791;border-radius:5px;padding:5px 8px;font-size:10px;white-space:nowrap}.report-controls{display:flex;align-items:center;gap:10px;margin-bottom:22px}.report-controls>span{margin-left:auto;color:#9ca6b0;font-size:10px}.reports-metrics .metric>strong{font-size:26px}.report-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.chart{height:210px;display:flex;padding:10px 25px 0;gap:15px}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:31px;font-size:9px;color:#a4adb6;min-width:55px}.bars{display:flex;justify-content:space-between;gap:15px;flex:1;background:repeating-linear-gradient(to top,transparent,transparent 58px,#edf0f3 59px,#edf0f3 60px)}.bar-group{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1;gap:11px}.bar-track{height:170px;width:100%;display:flex;align-items:flex-end;justify-content:center}.bar{background:#98aa98;border-radius:5px 5px 0 0;width:min(100%,40px)}.bar-group>span{font-size:9px;color:#a4adb6;background:#fff;white-space:nowrap}.chart-note{font-size:10px;color:#a3aeb6;margin:19px 25px 22px}.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:25px;max-width:1100px}.settings-nav{display:flex;flex-direction:column;gap:4px}.settings-nav .btn{justify-content:flex-start;background:none;border:0;box-shadow:none;color:#88939e;font-weight:500;font-size:12px;padding:11px 12px}.settings-nav .btn.selected{background:#eaf0eb;color:#4b6a54}.store-brand-preview{display:flex;gap:15px;align-items:center;margin-bottom:28px}.store-brand-preview p{font-size:11px;color:#9ca5ae;margin-top:5px}.setting-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0}.setting-row>.icon{color:#91a097;width:19px}.setting-row strong{font-size:12px}.setting-row small{font-size:10px;display:block;color:#98a2ac;margin-top:5px;word-break:break-word}.setting-row .tag{font-size:9px}.setting-row .text-btn{font-size:10px}.check-label{display:flex;gap:11px;align-items:flex-start;margin:15px 0 23px;font-size:11px;color:#7a8791;line-height:1.7}.check-label input{accent-color:#4e7659;width:16px;height:16px;margin:3px 0 0;flex-shrink:0}.check-label strong{display:block;font-size:12px;color:#56636e}.check-label small{display:block;color:#99a5ae;margin-top:3px;font-size:10px}.provider-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.provider-logo{font-size:29px;font-weight:800;letter-spacing:-1.5px;color:#5a5291}.provider-logo span{color:#9c98bc;font-weight:400;font-size:16px;margin-left:3px;letter-spacing:-.5px}.connection-steps{display:flex;gap:16px;list-style:none;padding:15px 0 25px;font-size:11px}.connection-steps li{display:flex;align-items:center;gap:7px;color:#95a29c}.connection-steps .icon{width:16px}.usage{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:16px 0;font-size:12px;color:#919da7}.restricted{text-align:center;padding:90px 20px}.restricted>.icon{width:40px;height:40px;color:#a0aca5}.restricted h2{font-size:20px;margin:20px 0 12px}.restricted p{font-size:12px;color:#95a0a9;max-width:400px;margin:0 auto 23px}
.overlay-backdrop{position:fixed;inset:0;background:#1e293a55;backdrop-filter:blur(3px);z-index:70;display:flex;align-items:center;justify-content:center;padding:25px;animation:fade .15s ease}.modal{background:white;border-radius:17px;width:540px;max-width:100%;max-height:90vh;box-shadow:0 25px 80px #18233333;display:flex;flex-direction:column;animation:rise .18s ease}.modal.wide{width:760px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line);gap:20px}.modal-head h2{font-size:17px}.modal-content{padding:23px 25px;overflow-y:auto}.modal-content>p{font-size:12px;color:#83909a;line-height:1.8;margin-bottom:20px}.modal-content .form-actions{border-top:1px solid var(--line);padding-top:20px}.modal-content .form-actions .btn{min-height:39px}.modal-content .notice{font-size:11px}.store-option{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px 0;border-bottom:1px solid var(--line)}.store-option>div{flex:1}.store-option strong{font-size:13px}.store-option small{display:block;color:#99a3ad;font-size:10px;margin-top:5px}.store-option>.icon{width:17px;color:#86978d}.picker-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.picker-row .grow strong{font-size:12px;display:block}.picker-row .grow small{font-size:10px;color:#9ca6b0;display:block;margin-top:5px}.picker-row select{max-width:190px;font-size:10px;padding:6px}.picker-row .btn{padding:7px 10px}.choice-list{display:flex;flex-direction:column;gap:10px}.choice-card{display:flex;align-items:center;text-align:left;padding:16px;border:1px solid var(--line);border-radius:10px;gap:13px}.choice-card>.icon{width:22px;color:#8da194}.choice-card>div{flex:1}.choice-card strong{font-size:12px}.choice-card small{font-size:10px;color:#95a2ad;display:block;margin-top:5px;line-height:1.6}.reason-summary{background:#f7f8fa;border-radius:10px;padding:16px;margin:0 0 20px}.reason-summary>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:11px;color:#83909a}.reason-summary strong{color:#43525c}.reason-summary .large{font-size:22px;color:#3b4952}.link-card{border:1px solid var(--line);border-radius:11px;padding:18px;margin-bottom:13px}.link-card h3{display:flex;align-items:center;gap:8px;font-size:13px}.link-card h3 .icon{color:#81998b}.link-card p{font-size:11px;color:#96a1aa;margin:9px 0 14px}.link-card .actions{gap:6px}.link-card .btn{font-size:10px;min-height:32px}.link-card small{font-size:9px;display:block;color:#a4adb7;margin-top:10px}.error-text{background:#fff0ed;color:#ac5b50;border-radius:7px;padding:11px 13px;font-size:11px;margin-bottom:15px}.variant-row{display:grid;grid-template-columns:1.3fr 1fr .7fr .7fr 28px;gap:8px;margin-bottom:9px}.variant-row input{width:100%;font-size:11px}.variant-head{font-size:9px;color:#a1adb7;margin-bottom:8px}.photo-preview{width:100%;max-height:220px;object-fit:contain;border:1px solid var(--line);border-radius:8px}.scenario-section{margin:23px 0}.scenario-section h3{margin-bottom:10px;font-size:12px}.scenario-actions{display:flex;flex-wrap:wrap;gap:8px}.scenario-actions .btn{font-size:10px}.segmented{display:flex;gap:3px;background:#f2f5f3;padding:4px;border-radius:9px;margin-bottom:21px}.segmented .btn{flex:1;background:transparent;border:0;font-size:11px;box-shadow:none}.segmented .btn.selected{background:#fff;color:#41604c;box-shadow:0 1px 4px #00000008}.scenario-note{font-size:10px;color:#a1adb6;line-height:1.8}.copy-box{display:flex;gap:6px;margin-top:15px}.copy-box input{flex:1;font-size:10px;background:#f8faf9}.delivery-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.delivery-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px}.delivery-card h3{font-size:14px;margin:15px 0 8px}.delivery-card p{font-size:11px;color:#95a1aa}.delivery-card .actions{margin-top:19px}.delivery-card .actions .btn{font-size:10px}.delivery-card .route-line{display:flex;gap:8px;align-items:flex-start;color:#879c8e;margin-top:15px}.delivery-card .route-line .icon{width:15px}.delivery-card .route-line span{font-size:11px;line-height:1.7}.portal{max-width:660px;margin:0 auto;padding:23px 22px 70px}.portal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.portal-top img{width:99px;height:auto;opacity:.8}.portal-top .btn{font-size:10px;border:0;background:none}.portal-brand{display:flex;align-items:center;gap:11px;padding:18px 0}.portal-brand h2{font-size:18px}.portal-brand small{display:block;color:#97a2ac;font-size:11px;margin-top:4px}.portal h1{font-size:27px;margin:16px 0 8px}.portal .subtitle{font-size:12px;color:#96a2ac;margin-bottom:23px}.portal-status{border:1px solid #e1e9e2;border-radius:14px;background:#eff5ef;padding:24px;text-align:center;margin-bottom:21px}.portal-status>.icon{width:35px;height:35px;color:#719478;margin-bottom:10px}.portal-status h2{font-size:19px;color:#47694f}.portal-status p{font-size:12px;color:#8c9e8e;margin-top:8px}.portal-footer{text-align:center;color:#a7b1ba;font-size:10px;padding:20px}.portal .panel-head{padding-bottom:10px}.portal .primary.full{min-height:45px;font-size:13px}.portal .brand-img{width:110px;margin:0 auto}.public-header{max-width:1150px;margin:0 auto;padding:22px 25px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.public-header .store-symbol{margin-right:10px}.public-header>a{display:flex;align-items:center;font-weight:600}.public-main{max-width:1150px;margin:0 auto;padding:45px 25px}.shop-intro{padding:5px 0 30px}.shop-intro small{text-transform:uppercase;letter-spacing:2px;color:#8e9f90;font-size:9px}.shop-intro h1{font-size:38px;margin:12px 0}.shop-intro p{color:#99a5ad;font-size:13px}.shop-categories{display:flex;gap:8px;margin-bottom:25px;overflow-x:auto;padding-bottom:5px}.shop-categories .btn{border-radius:22px;font-size:11px}.shop-categories .selected{background:#2c3830;color:white;border-color:#2c3830}.shop-footer{margin-top:50px;text-align:center;font-size:10px;color:#a6afb7}.shop-footer img{display:block;width:85px;opacity:.5;margin:15px auto}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:#edf1ed;padding:60px;display:flex;flex-direction:column;justify-content:space-between}.auth-story img{width:155px;mix-blend-mode:multiply}.auth-story h1{font-size:46px;letter-spacing:-1.6px;max-width:480px;line-height:1.18}.auth-story p{font-size:14px;color:#859787;max-width:380px;margin:24px 0}.auth-story .auth-mini{border:1px solid #dce5de;border-radius:14px;background:#ffffff99;padding:22px;margin-top:37px;max-width:390px}.auth-mini div{display:flex;align-items:center;gap:11px;font-size:12px;padding:11px 0}.auth-mini .icon{color:#719278}.auth-story>small{font-size:10px;color:#a2aea5}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{max-width:360px;width:100%}.auth-form h2{font-size:27px;letter-spacing:-.8px;margin-bottom:10px}.auth-form>p{font-size:12px;color:#97a3ad;margin-bottom:29px}.auth-form .btn.full{min-height:43px;margin-top:15px}.auth-form .auth-switch{text-align:center;font-size:11px;color:#98a4ad;margin-top:23px}.auth-form .auth-switch a{color:#52685a;font-weight:600}.auth-form .quiet{margin-top:20px}.onboarding{max-width:750px;margin:auto}.onboarding>h1{text-align:center;margin-bottom:12px}.onboarding>p{text-align:center;font-size:13px;color:#8c9b93;margin-bottom:33px}.onboarding .choice-card{padding:23px}.onboarding .choice-card+.choice-card{margin-top:12px}.onboarding>.btn{display:flex;margin:28px auto}.mobile-bottom{display:none}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#2d3b31;color:#fff;border-radius:10px;box-shadow:0 8px 28px #172b2330;padding:13px 19px;display:flex;align-items:center;gap:10px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;font-size:12px}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a64e45}#toast .icon{width:17px}body.modal-open{overflow:hidden}.install-note{background:#edf2ee;border-radius:12px;padding:18px;color:#6f8574;font-size:11px;line-height:1.7}.file-label{border:1px dashed #d4ded6;padding:22px;border-radius:9px;text-align:center;cursor:pointer;font-size:12px;color:#829787}.file-label input{display:block;max-width:100%;margin:15px auto 0}
@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes rise{from{transform:translateY(10px);opacity:.5}to{transform:translateY(0);opacity:1}}
.tracking-map{border:1px solid #e2e8e4;border-radius:10px;width:100%;height:280px;display:block;margin-top:15px}.location-control{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.location-control strong{font-size:12px;display:block}.location-control small{display:block;font-size:10px;color:#94a39a;margin-top:5px}.switch{width:43px;height:25px;background:#d9dfdc;border-radius:20px;padding:3px;flex-shrink:0;display:flex;align-items:center}.switch i{height:19px;width:19px;background:white;border-radius:50%;box-shadow:0 1px 3px #00000015;transition:transform .2s}.switch.on{background:#5d8c68}.switch.on i{transform:translateX(18px)}.location-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#98a59e;margin:12px 0}.location-off{padding:23px 15px;background:#f6f8f6;border:1px dashed #dce5de;border-radius:10px;display:flex;align-items:center;gap:12px;color:#96a69a}.location-off .icon{width:24px;height:24px}.location-off p{font-size:11px}.delivery-card .notice{margin-top:15px;margin-bottom:0}.portal .location-off{padding:22px 12px}
@media(min-width:1500px){main{padding:40px 45px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 300px}.dashboard-main .orders-table td:nth-child(2),.dashboard-main .orders-table th:nth-child(2){display:table-cell}.topbar{padding-left:45px;padding-right:45px}}
@media(max-width:1200px){.sidebar{width:196px;padding-left:13px;padding-right:13px}.main-shell{margin-left:196px}main{padding:28px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.metric{padding:19px 18px}.metrics{gap:12px}.metric>strong{font-size:25px}.metric-label{font-size:10px}.dashboard-main .orders-table td:nth-child(6),.dashboard-main .orders-table th:nth-child(6){display:none}.bottom-tip{padding:16px}.bottom-tip .btn{display:none}.page-heading .btn{font-size:11px;padding:8px 10px}.detail-grid{grid-template-columns:minmax(0,1fr) 280px}.product-grid{gap:16px}.settings-layout{grid-template-columns:165px minmax(0,1fr);gap:18px}.setting-row{gap:8px}.setting-row .tag{font-size:8px}.setting-row .text-btn{font-size:9px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-aside>.calm-note{display:none}.dashboard-main .orders-table td:nth-child(6),.dashboard-main .orders-table th:nth-child(6){display:table-cell}.dashboard-main .orders-table td:nth-child(2),.dashboard-main .orders-table th:nth-child(2){display:table-cell}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.detail-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;position:static}.detail-grid>aside.sticky-summary{display:block}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}.delivery-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout{grid-template-columns:1fr}.settings-nav{flex-direction:row;overflow:auto;margin-bottom:4px}.settings-nav .btn{flex-shrink:0}.auth-story{padding:38px}.auth-story h1{font-size:36px}.auth-story p{font-size:12px}.topbar-actions .search-trigger{display:none}.form-grid{gap:0 15px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:245px;transition:transform .2s;box-shadow:20px 0 70px #0d171a25}.sidebar.open{transform:translateX(0)}.sidebar.open:after{content:'';position:fixed;left:245px;top:0;width:calc(100vw - 245px);height:100vh;background:#27383225;z-index:-1;backdrop-filter:blur(2px)}.main-shell{margin-left:0}.topbar{height:60px;padding:0 18px;gap:10px}.mobile-menu{display:inline-flex!important}.breadcrumb{flex:1;font-size:10px;gap:6px}.breadcrumb>strong{max-width:120px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topbar-actions{gap:5px}.topbar-actions>.icon-btn{display:none}.topbar-actions .demo-pill{font-size:9px!important}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px}.page-heading .actions{justify-content:flex-end;max-width:160px;gap:6px}.page-heading .actions>.btn:not(.primary){font-size:0;width:34px;padding:8px;min-height:34px;gap:0}.page-heading .actions>.btn:not(.primary) .icon{width:16px}.page-heading .actions>.primary{font-size:10px;padding:8px 10px;min-height:34px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px;max-width:210px;line-height:1.7;margin-top:6px}main{padding:25px 17px 85px;min-height:calc(100vh - 60px)}.metrics{gap:10px;margin-bottom:20px}.metric{padding:16px 14px;border-radius:11px}.metric-label{font-size:9px;margin-bottom:12px;gap:5px}.metric-label .icon{width:14px}.metric>strong{font-size:25px}.metric>small{font-size:8px;margin-top:8px;line-height:1.6}.attention-banner{padding:13px 14px;gap:10px}.attention-banner strong{font-size:10px}.attention-banner p{font-size:9px}.attention-icon{width:29px;height:29px}.attention-banner>.btn{font-size:0}.attention-banner>.btn .icon{width:17px}.dashboard-aside{grid-template-columns:1fr}.progress-panel{display:none}.panel-head{padding:18px 16px}.panel-head h2{font-size:13px}.panel-head a{font-size:9px}.tabs{padding:0 16px;gap:19px}.tab{font-size:10px;min-height:36px;padding-bottom:10px}.orders-table th,.orders-table td,.dashboard-main .orders-table td,.dashboard-main .orders-table th{padding:14px 12px}.orders-table td:nth-child(2),.orders-table th:nth-child(2),.orders-table td:nth-child(6),.orders-table th:nth-child(6),.orders-table td:last-child,.orders-table th:last-child,.dashboard-main .orders-table td:nth-child(2),.dashboard-main .orders-table th:nth-child(2),.dashboard-main .orders-table td:nth-child(6),.dashboard-main .orders-table th:nth-child(6){display:none}.orders-table td:first-child,.orders-table th:first-child{padding-left:16px}.order-cell{gap:8px}.order-cell .avatar{display:none}.order-cell strong{font-size:10px}.order-cell small{font-size:8px}.order-cell small span{display:none}.orders-table .badge{font-size:8px;padding:4px 5px}.orders-table .amount{font-size:10px}.orders-table th{font-size:8px}.orders-table td:nth-child(3),.orders-table th:nth-child(3){display:none}.bottom-tip{display:none}.workspace-footer{display:none}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #e3e8e6;z-index:35;background:#fffffff0;backdrop-filter:blur(14px);padding:9px 12px calc(9px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-bottom a{font-size:8px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#9da8a2;min-width:54px;padding:3px}.mobile-bottom a.selected{color:#40664c}.mobile-bottom a .icon{width:20px;height:20px}.mobile-bottom .mobile-new{background:#334c3a;color:white;border-radius:12px;width:46px;height:42px;min-width:46px;justify-content:center;margin-top:-6px}.filterbar{padding:14px 16px;flex-wrap:wrap;gap:8px}.search-field{flex-basis:100%}.search-field input{font-size:10px}.filters-right{margin-left:auto}.filterbar select{font-size:10px;min-height:31px}.tabs select{font-size:9px;max-width:140px}.detail-grid>aside{display:block}.detail-grid{gap:0}.detail-body{padding:18px 18px}.line-items{padding:0 17px}.line-item{gap:10px}.line-item .thumb{width:33px;height:37px}.line-item strong{font-size:11px}.line-item small{font-size:9px}.line-item>.muted{font-size:9px}.line-item>.qty{width:43px;padding:6px}.fulfillment-steps{padding:5px 15px 24px}.step small{font-size:8px}.product-grid{gap:12px}.product-image{height:145px}.product-image .thumb .icon{width:65px;height:65px}.product-info{padding:13px 14px}.product-info h2{font-size:12px;margin-bottom:11px;line-height:1.5}.product-info>small{font-size:8px}.product-price strong{font-size:13px}.product-price>span{font-size:8px}.product-stock{font-size:8px;gap:4px}.product-stock>.icon{display:none}.product-stock>.icon-btn{min-width:20px;width:20px;padding:3px}.report-controls{flex-wrap:wrap}.report-controls>span{margin-left:0;flex-basis:100%;font-size:9px}.reports-metrics .metric>strong{font-size:22px}.form-grid{grid-template-columns:1fr}.report-grid{gap:0}.chart{height:190px;padding-left:17px;padding-right:17px}.chart-axis{font-size:8px;min-width:43px}.bars{gap:9px}.bar-track{height:151px}.bar-group>span{font-size:8px}.settings-nav .btn{font-size:10px;padding:9px}.settings-nav .btn .icon{width:15px}.setting-row{flex-wrap:wrap}.setting-row>.grow{min-width:130px}.setting-row strong{font-size:11px}.setting-row small{font-size:9px}.setting-row .tag{font-size:8px}.connection-steps{flex-direction:column;gap:15px}.overlay-backdrop{padding:0;align-items:flex-end}.modal{width:100%!important;border-radius:18px 18px 0 0;max-height:94dvh;max-width:100%}.modal-head{padding:20px 20px}.modal-head h2{font-size:16px}.modal-content{padding:20px 20px calc(25px + env(safe-area-inset-bottom))}.picker-row{flex-wrap:wrap}.picker-row select{max-width:150px}.variant-row{grid-template-columns:1.2fr .8fr .6fr .6fr 25px;gap:4px}.variant-row input{padding:7px 5px;font-size:10px}.variant-head{font-size:8px}.link-card{padding:14px}.link-card .actions{flex-wrap:wrap}.modal .form-actions{flex-wrap:wrap}.modal .form-actions>.btn{flex:1}.delivery-cards{grid-template-columns:1fr;gap:13px}.delivery-card{padding:18px}.portal{padding:17px 15px 35px}.portal h1{font-size:25px}.portal .line-item>.muted{display:none}.portal .subtitle{font-size:11px}.public-main{padding:30px 17px}.public-header{padding:16px 17px}.public-header>a{font-size:12px}.shop-intro h1{font-size:30px}.shop-intro p{font-size:11px}.shop-categories .btn{font-size:10px}.auth-shell{display:block}.auth-story{display:none}.auth-form-wrap{padding:40px 25px;min-height:100vh}.auth-form h2{font-size:28px}.portal .form-grid{grid-template-columns:1fr}.view-toggle{display:none}#toast{bottom:78px;width:calc(100% - 34px);font-size:11px;max-width:430px}.onboarding>h1{font-size:25px}.onboarding>p{font-size:12px}.onboarding .choice-card{padding:18px}.onboarding .choice-card strong{font-size:11px}.onboarding .choice-card small{font-size:10px}.check-label{font-size:11px}.btn{min-height:38px}.task-check{min-height:18px;min-width:18px}.actions .icon-btn{min-width:36px;min-height:36px}.modal-head .icon-btn{min-width:38px;min-height:38px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){.badge,.btn,.panel,.metric{border:1px solid CanvasText}.badge i{background:CanvasText}.bar{background:Highlight}}
/* Readability pass: secondary information remains legible on small screens. */
.settings-layout>div,.detail-grid>div,.report-grid>section{min-width:0}.table-wrap{position:relative;max-width:100%;overscroll-behavior-x:contain}
:root{--muted:#687582}.nav-item{font-size:13px}.store-text strong{font-size:12px}.metric-label{color:#64727e;font-size:12px}.metric>small{font-size:11px;color:#74806b}.page-heading p{font-size:13px}.task strong{font-size:12px}.task small{font-size:10px;color:#707c87}.task small span{color:#77838d}.order-cell strong{font-size:12px}.order-cell small,td small{color:#74808b;font-size:10px}.order-cell small span{color:#7b8791}.orders-table th{font-size:10px;color:#6c7985}.orders-table .amount{font-size:12px}.badge{font-size:10px}.badge.accepted{color:#4e6394}.badge.processing{color:#87621b}.badge.paid,.badge.delivered{color:#326f4d}.badge.pending,.badge.refund_pending{color:#89611d}.badge.in_delivery{color:#75569d}.badge.refunded{color:#705c83}.badge.unpaid{color:#6c7580}.badge.cancelled,.badge.failed{color:#9d4c47}.badge.manual{color:#496e97}.tab{font-size:12px;color:#6d7a86}.attention-banner strong{font-size:13px}.attention-banner p{font-size:11px;color:#687e6b}.panel-head>a{font-size:11px}.progress-panel p,.bottom-tip span,.calm-note p{font-size:11px;color:#718071}.progress-panel .btn{font-size:11px}.time{font-size:11px}.workspace-footer{color:#778591}.quiet,.field small{color:#6d7b86}.tag{color:#5c6c78}.note-label small{color:#74828c}.note-label~p{color:#657480}.field>span{font-size:12px}.product-info>small{color:#74828e;font-size:10px}.product-stock{color:#607863}.product-price>span{color:#75828d}.modal-content>p,.portal .subtitle{color:#6a7885}.location-meta{color:#718274}.location-off{color:#6f8374}.location-control small{color:#718274}
@media(max-width:700px){.page-heading p{font-size:11px}.metric-label{font-size:10px}.metric>small{font-size:9px}.attention-banner strong{font-size:11px}.attention-banner p{font-size:10px}.tab{font-size:11px}.orders-table .badge{font-size:9px}.order-cell strong{font-size:11px}.order-cell small{font-size:9px}.orders-table .amount{font-size:11px}.task strong{font-size:12px}.task small{font-size:10px}.field>span{font-size:12px}.product-info>small{font-size:9px}.product-stock{font-size:9px}}

@media(max-width:700px){.sidebar{box-shadow:none}.sidebar.open{box-shadow:20px 0 70px #0d171a25}.chart{overflow-x:auto}.bars{min-width:260px}.bar-group{min-width:12px}}
/* A working queue first; short, visible choices for routine input. */
.mobile-store,.mobile-orders,.customer-cards{display:none}
.page-heading{margin-bottom:20px}.page-heading h1{font-size:27px}.page-heading .actions{align-items:center}
.work-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6b7782;margin-bottom:12px}.work-heading a{display:flex;gap:8px;align-items:center;color:#465d50}.work-heading .icon{width:14px}
.work-queue .filterbar{padding:14px 18px}.work-queue .filterbar .search-field{max-width:480px}.work-queue .tabs{padding:0 18px}.work-queue .orders-table td{padding-top:16px;padding-bottom:16px}
.day-tasks{margin-top:18px}.day-tasks>summary{padding:16px 20px;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;font-weight:600}.day-tasks>summary .count{margin-left:auto}.day-tasks>summary .icon{width:17px}
.order-photo-thumb{object-fit:cover;background:#f0f3f0}.avatar-photo{object-fit:cover}
.choices{display:flex;flex-wrap:wrap;gap:6px;padding:0;border:0;margin:0;min-width:0}.choices>label{display:block;position:relative;cursor:pointer;min-width:0}.choices input[type=radio],.channel-choices input[type=radio]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.choices>label>span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid #e0e5e2;border-radius:9px;background:#fff;color:#627068;font-size:12px;line-height:1.3;transition:background .12s}.choices input:checked+span{background:#edf3ed;border-color:#819b86;color:#294c34;font-weight:600}.choices input:focus-visible+span,.channel-choices input:focus-visible+span,.photo-pick:focus-within{outline:2px solid #3e7250;outline-offset:3px}.choices input:disabled+span{opacity:.55;cursor:not-allowed}.choices .icon{width:17px;height:17px}.filterbar .choices{justify-content:flex-end}.filterbar .choices>label>span{min-height:36px;font-size:11px;padding:7px 10px}.report-controls>.choices{margin-right:14px}.picker-row .choices{max-width:320px}.picker-row .choices>label>span{font-size:11px;padding:7px 10px}
.field:has(.choices)>span{margin-bottom:8px}.settings-layout .choices{margin-bottom:4px}.settings-layout .field{min-width:0}.settings-layout .choices>label{max-width:100%}
.order-compose{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:20px;max-width:1040px;align-items:start;margin:0 auto}.workspace:has(.order-compose) .page-heading{max-width:1040px;margin-left:auto;margin-right:auto}.order-compose .panel{margin-bottom:16px}.compose-entry,.compose-customer,.compose-delivery{padding:20px}.compose-entry{margin-bottom:14px!important}.photo-entry{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:start}.photo-entry .field{margin-bottom:10px}.photo-entry .field:last-child{margin-bottom:0}.photo-entry .field>span{font-size:11px;color:#6b7970}.photo-entry input{height:42px;padding:9px 12px}
.photo-control{position:relative;flex-shrink:0}.photo-pick{height:132px;width:112px;border:1px dashed #bdcbbf;border-radius:12px;background:#f5f8f4;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;color:#687e6b;font-size:12px}.photo-pick .icon{width:25px;height:25px}.photo-pick img{width:100%;height:100%;object-fit:cover}.photo-pick.has-photo{border:1px solid #dfe7df}.photo-remove{position:absolute;top:5px;right:5px;width:25px;height:25px;border-radius:50%;background:#fff;border:1px solid #e0e5e0;display:grid;place-items:center;padding:4px;min-height:0;box-shadow:0 1px 5px #0001}.photo-remove .icon{width:13px;height:13px}.photo-control.uploading{opacity:.5;pointer-events:none}.photo-control.uploading:after{content:'…';position:absolute;top:40%;left:45%;font-size:25px;color:#234932}
.entry-tools{display:flex;gap:15px;padding-top:9px;margin-top:8px;border-top:1px solid #edf0ed}.entry-tools .text-btn{font-size:11px;min-height:30px;padding:0}.entry-tools .icon{width:15px;height:15px}.compact-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.compact-title h2{font-size:13px;margin:0;font-weight:650}.compact-title .text-btn{padding:0;font-size:11px;min-height:24px}.compact-title .icon{width:14px}.contact-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.contact-inputs .field{min-width:0;margin-bottom:13px}.contact-inputs input{width:100%;min-width:0}.compose-customer>.contact-inputs .field{margin-bottom:10px}
.channel-choices{border:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(50px,1fr));gap:5px;padding:0;margin:0;min-width:0}.channel-choices>label{position:relative;cursor:pointer;min-width:0}.channel-choices>label>span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;height:54px;border:1px solid transparent;border-radius:9px;color:#86918a}.channel-choices input:checked+span{background:#f0f5ef;border-color:#b1c2b2;color:#35583e}.channel-choices input:not(:checked)+span:hover{background:#f5f7f5;color:#526b59}.channel-choices .icon{width:19px;height:19px}.channel-choices small{font-size:9px;font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-delivery>.choices{display:grid;grid-template-columns:1fr 1fr;margin-bottom:13px}.compose-delivery>.choices>label>span{height:42px}.compose-delivery>.field{margin-bottom:13px}.compose-delivery input,.compose-customer input{height:42px}.compose-delivery details{border-top:1px solid #edf0ed;margin-top:0;padding-top:10px}.compose-delivery summary,.compose-extra>summary,.customer-extra>summary{cursor:pointer;font-size:12px;color:#66796a;display:flex;align-items:center;gap:8px}.compose-delivery summary .icon,.compose-extra summary .icon,.customer-extra summary .icon{width:15px;height:15px}.compose-delivery details[open] summary{margin-bottom:13px}.compose-extra>summary{padding:16px 20px}.compose-extra>summary span{margin-left:auto;color:#89938d;font-size:11px}.compose-extra>.detail-body{padding-top:0}.compose-extra .field{margin-bottom:14px}.compose-extra textarea{min-height:65px}.pickup-address{display:flex;align-items:center;gap:8px;font-size:12px;color:#66736b;line-height:1.5;min-height:63px;margin:0 0 13px}.pickup-address .icon{width:16px;flex-shrink:0}
.compose-submit{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e0e6e1;border-radius:13px;padding:15px 20px;background:#fff;position:sticky;bottom:18px;z-index:30;box-shadow:0 8px 30px #243b2710}.compose-submit small{display:block;color:#738176;font-size:11px;margin-bottom:4px}.compose-submit strong{font-size:23px;letter-spacing:-.5px}.compose-submit .primary{min-height:44px;padding:10px 23px}.item-photo-row{display:flex;align-items:center;gap:16px;margin-bottom:12px}.item-photo-row .photo-pick{height:72px;width:72px}.item-photo-row strong{font-size:13px;color:#68776b}.item-editor .line-item{padding:12px 0}.item-editor .line-item .thumb{width:30px}.item-editor .line-item .qty{width:45px}.item-editor .line-item strong{font-size:12px}.item-editor .line-item small{font-size:11px}.customer-pick{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 2px;border:0;border-bottom:1px solid #edf0ed;background:white;border-radius:0}.customer-pick:hover{background:#f4f8f3}.customer-pick>span:not(.avatar){flex:1}.customer-pick strong,.customer-pick small{display:block}.customer-pick strong{font-size:13px;font-weight:600}.customer-pick small{font-size:11px;color:#7a887e;margin-top:5px}.customer-pick>.icon{width:16px;color:#9aa79d}.customer-search{margin-bottom:8px}.customer-search input{height:44px;min-width:0}.small-empty{padding:20px;color:#788479;font-size:12px}.customer-quick{display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px}.customer-quick .photo-pick{width:88px;height:128px}.customer-quick .field{margin-bottom:12px}.customer-extra{margin:4px 0 20px}.customer-extra[open]>summary{margin-bottom:16px}.customer-cards{padding:0 16px}.customer-card{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf0ed}.customer-card:last-child{border-bottom:0}.customer-card>span:not(.avatar){flex:1;min-width:0}.customer-card strong,.customer-card small{display:block}.customer-card strong{font-size:14px;font-weight:600}.customer-card small{font-size:12px;color:#78877d;margin-top:5px}.customer-card>.icon{width:16px;color:#9aa79d}
@media(max-width:1000px) and (min-width:701px){.order-compose{grid-template-columns:1fr;max-width:600px}.compose-main{display:grid;grid-template-columns:1fr;gap:0}.compose-submit{margin-top:-12px}}
@media(max-width:700px){
 .topbar{height:52px;padding:0 14px}.topbar .breadcrumb{display:none}.mobile-store{display:inline-flex;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:transparent;font-size:13px;padding:6px 0;min-height:40px;font-weight:600;color:#394a40}.topbar-actions{margin-left:auto}.mobile-menu{min-width:28px;width:28px;padding:3px}.topbar-actions .demo-pill{padding:5px 7px;font-size:9px!important}.topbar-actions .demo-pill>.icon{width:12px}
 main{padding:19px 14px 90px;min-height:calc(100vh - 52px)}.page-heading{margin-bottom:14px;align-items:center}.page-heading h1{font-size:23px;line-height:1.2}.page-heading .actions{max-width:none}.page-heading .actions>.primary{min-height:38px;font-size:11px;padding:8px 11px}.page-heading .actions>.text-btn{font-size:11px;width:auto;padding:6px;gap:5px}.page-heading .actions>.text-btn .icon{width:14px}.work-heading{font-size:11px;margin-bottom:9px}.work-heading a{font-size:11px}.work-queue{border-radius:13px}.work-queue .filterbar{padding:10px 12px;gap:8px}.work-queue .search-field{flex-basis:auto;flex:1}.work-queue .search-field input{height:36px;font-size:12px;padding:6px}.work-queue .filters-right{display:none}.work-queue .tabs{padding:0 12px;gap:20px;min-height:42px}.work-queue .tab{font-size:11px;min-height:42px;padding:10px 0}.orders-desktop{display:none!important}.mobile-orders{display:block}.mobile-order{display:flex;gap:11px;padding:14px 13px;border-top:1px solid #edf0ef;min-height:103px;align-items:center}.mobile-order:first-child{border-top:0}.mobile-order>.thumb{width:47px;height:58px;border-radius:9px;flex-shrink:0}.mobile-order>.thumb .icon{width:25px;height:25px}.mobile-order-body{min-width:0;flex:1}.mobile-order-top{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.mobile-order-top>strong{font-size:13px;font-weight:650;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.mobile-order-top>b{font-size:12px;font-weight:600;white-space:nowrap;padding-top:1px}.mobile-order-body>p{font-size:11px;color:#819087;margin:5px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-order-bottom{display:flex;align-items:center;gap:9px}.mobile-order-bottom>.badge{font-size:9px;padding:3px 6px}.mobile-order-time{display:flex;align-items:center;gap:5px;margin-left:auto;color:#718078;font-size:10px}.mobile-order-time .icon{width:13px;height:13px}.payment-dot{display:flex;color:#a59064}.payment-dot.paid,.payment-dot.manual{color:#4e825b}.payment-dot .icon{width:13px;height:13px}.day-tasks{margin-top:12px}.day-tasks>summary{padding:15px 16px;font-size:12px}.customer-cards{display:block}.customers-desktop{display:none}.customer-card .avatar{width:36px;height:36px}.filterbar{padding:12px 14px}.filterbar .choices{justify-content:flex-start;gap:5px}.filterbar .choices>label>span{min-height:34px;font-size:10px}.filterbar .search-field input{font-size:13px}.filterbar .filters-right{margin-left:0}.customer-cards+.table-wrap{display:none}
 .order-compose{display:block;margin:0;max-width:none}.order-compose .panel{border-radius:12px;margin-bottom:12px}.compose-entry,.compose-customer,.compose-delivery{padding:14px}.photo-entry{grid-template-columns:92px minmax(0,1fr);gap:12px}.photo-pick{width:92px;height:122px;border-radius:10px}.photo-entry input{height:40px;font-size:16px;padding:8px 10px}.photo-entry .field>span{font-size:10px;margin-bottom:5px}.photo-entry .field{margin-bottom:9px}.entry-tools{padding-top:7px;margin-top:10px;gap:20px}.entry-tools .text-btn{font-size:11px;min-height:30px}.compact-title{margin-bottom:10px}.compact-title h2{font-size:12px}.compact-title .text-btn{font-size:11px;min-height:25px}.contact-inputs{gap:10px}.contact-inputs .field>span,.compose-delivery>.field>span{font-size:10px;margin-bottom:5px}.compose-customer input,.compose-delivery input{height:41px;font-size:16px;padding:9px 10px}.compose-customer .contact-inputs .field{margin-bottom:9px}.channel-choices{gap:3px;grid-template-columns:repeat(auto-fit,minmax(47px,1fr))}.channel-choices>label>span{height:48px;gap:4px}.channel-choices small{font-size:9px}.channel-choices .icon{width:18px;height:18px}.compose-delivery .choices{gap:7px;margin-bottom:12px}.compose-delivery .choices>label>span{min-height:42px;font-size:12px;padding:8px}.compose-delivery .contact-inputs{grid-template-columns:1.25fr 1fr}.compose-delivery summary{font-size:11px;min-height:31px}.compose-extra>summary{padding:15px 14px;font-size:12px}.compose-extra>summary span{font-size:10px}.compose-extra .detail-body{padding:0 14px 14px}.compose-extra .field>span{font-size:11px}.choices>label>span{min-height:40px}.compose-submit{position:fixed;bottom:0;left:0;right:0;padding:11px 16px calc(11px + env(safe-area-inset-bottom));border-radius:0;border-width:1px 0 0;box-shadow:0 -4px 25px #2d432c0b;gap:14px}.compose-submit strong{font-size:21px}.compose-submit small{font-size:10px;margin-bottom:3px}.compose-submit .primary{font-size:12px;padding:10px 18px;min-height:44px}.workspace:has(.order-compose) main{padding-bottom:100px}.workspace:has(.order-compose) .page-heading{margin-bottom:13px}.workspace:has(.order-compose) .page-heading .actions .text-btn{font-size:10px}.item-editor .line-item{gap:7px}.item-editor .line-item strong{font-size:11px}.item-editor .line-item small{font-size:10px}.item-editor .qty{width:40px!important;font-size:14px}.item-photo-row .photo-pick{width:64px;height:64px}.item-editor .icon-btn{width:28px;min-width:28px}.report-controls .choices{margin-right:0;gap:5px}.report-controls .choices>label>span{font-size:11px}.customer-quick{grid-template-columns:83px minmax(0,1fr);gap:13px}.customer-quick .photo-pick{width:83px;height:129px}.customer-quick input{font-size:16px}.customer-quick .field>span{font-size:11px}.customer-extra>summary{min-height:40px}.customer-search input{font-size:16px}.mobile-bottom a{min-width:55px;font-size:9px}.mobile-bottom{padding-top:8px}.customer-card strong{font-size:13px}
}


.line-price{width:95px;max-width:100%;font-size:13px;padding:5px 8px;margin-top:6px;height:33px}#customer-match:empty{display:none}#customer-match .text-btn{font-size:11px;padding:4px 0;margin-bottom:5px}

.payment-dot{align-items:center;gap:4px}.payment-dot small{font-size:9px;font-weight:500}@media(max-width:700px){.mobile-order-bottom{flex-wrap:wrap;row-gap:5px}}

.work-heading-actions{display:flex;align-items:center;gap:14px}.active-branch{font-size:10px;padding:4px 7px;min-height:25px;background:#eef4ee;border:1px solid #d6e3d7;border-radius:6px;gap:5px}.active-branch .icon{width:11px;height:11px}@media(max-width:700px){.sidebar{visibility:hidden;transition:none}.sidebar.open{visibility:visible;transition:transform .18s}}

.recovery-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid var(--line);border-radius:10px;font-size:16px;line-height:1.5;margin:18px 0}.auth-form .actions{margin:16px 0}.auth-form>h2{margin-bottom:16px}

/* Password visibility is a DOM-only toggle; it never creates a value preview. */
.password-field>label{font-size:12px;font-weight:550;color:#616b77}
.password-control{display:flex;position:relative;min-width:0;width:100%}
.password-control>input{width:100%;min-width:0;padding-right:52px;min-height:46px}
.password-toggle{position:absolute;inset:1px 1px 1px auto;display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:10px;border:0;border-radius:6px;background:transparent;color:#52665a}
.password-toggle:hover{background:#f1f5f1}.password-toggle[aria-pressed="true"]{color:#31533c;background:#eef4ee}.password-toggle .icon{width:20px;height:20px}
.password-control>input::-ms-reveal{display:none}

/* A short, optional shop setup. Only the current step occupies the page. */
.setup-shell{max-width:600px;margin:0 auto;padding:24px 24px 40px;min-height:100dvh}.setup-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:36px}.setup-top img{width:112px;height:auto;mix-blend-mode:multiply}.setup-top .btn{min-height:44px}.setup-main{padding:0;min-height:0}.setup-context{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;font-size:13px;color:#6a776f}.setup-context strong{font-weight:500;overflow-wrap:anywhere;min-width:0}.setup-context>span{flex-shrink:0;font-variant-numeric:tabular-nums}.setup-track{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0 28px}.setup-track i{height:3px;border-radius:3px;background:#e2e8e2}.setup-track i.active{background:#52745a}.setup-heading h1{font-size:28px;line-height:1.2;margin:0 0 10px;letter-spacing:-.6px}.setup-heading h1:focus{outline:none}.setup-heading p{font-size:14px;line-height:1.6;color:#6b786f;margin:0 0 26px}.setup-form{margin-top:24px}.setup-fields,.setup-channels,.setup-delivery{border:0;margin:0;padding:0;min-width:0}.setup-fields:disabled{opacity:.65}.setup-form .field>span{font-size:13px}.setup-form input,.setup-form textarea{font-size:16px;min-height:46px}.setup-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.setup-delivery{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:20px}.setup-choice{position:relative;display:block;min-width:0;cursor:pointer}.setup-choice input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;left:18px;top:18px}.setup-choice>span{display:flex;align-items:center;gap:10px;min-height:64px;padding:14px;border:1px solid #dce4dc;border-radius:11px;background:#fff;color:#68766c}.setup-choice strong{font-size:13px;font-weight:550;line-height:1.4;overflow-wrap:anywhere;min-width:0}.setup-choice .icon{flex-shrink:0;width:22px;height:22px}.setup-choice .choice-check{margin-left:auto;width:16px;height:16px;opacity:0}.setup-choice input:checked+span{background:#f0f6ef;border-color:#91ae95;color:#31543b}.setup-choice input:checked+span .choice-check{opacity:1}.setup-choice input:focus-visible+span{outline:3px solid #8baeee;outline-offset:3px}.setup-save-hint{font-size:12px;line-height:1.5;color:#69766e;margin:16px 0}.setup-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px}.setup-actions .btn{min-height:46px}.setup-actions .primary{margin-left:auto}.setup-actions:has([data-action="setup-finish-order"]){flex-wrap:wrap}.setup-actions [data-action="setup-finish-workspace"]{width:100%}.setup-intro{display:grid;gap:20px;margin:28px 0}.setup-intro>div{display:flex;align-items:flex-start;gap:14px}.setup-intro .icon{width:23px;height:23px;color:#55745c;flex-shrink:0;margin-top:3px}.setup-intro p{margin:0;min-width:0}.setup-intro strong,.setup-intro span{display:block}.setup-intro strong{font-size:15px;margin-bottom:5px}.setup-intro span{font-size:14px;line-height:1.5;color:#6b786f}.setup-resume,.setup-settings-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 15px;border:1px solid #e0e7df;border-radius:10px;background:#f4f7f3;margin-bottom:18px;font-size:13px}.setup-resume>.icon,.setup-settings-link>.icon{width:18px;flex-shrink:0;color:#627c67}.setup-resume .btn,.setup-settings-link .btn{margin-left:auto;min-height:40px}.setup-settings-link{background:#fff;margin:18px 0 0}.setup-settings-link strong{font-size:13px;font-weight:550}.setup-conflict,.setup-exit-fallback{margin-top:10px}.setup-form [hidden]{display:none!important}
@media(max-width:700px){.setup-shell{padding:18px 20px 30px}.setup-top{margin-bottom:28px}.setup-top img{width:100px}.setup-heading h1{font-size:26px}.setup-heading p{font-size:14px}.setup-main{padding:0;min-height:0}.setup-choice>span{padding:12px;gap:8px}.setup-channels{gap:8px}.setup-choice .icon{width:20px;height:20px}.setup-choice .choice-check{width:14px;height:14px}.setup-choice strong{font-size:12px}.setup-context{font-size:12px}.setup-resume{gap:8px;padding:9px 12px;font-size:12px}.setup-resume .btn{font-size:12px}.setup-actions .btn{font-size:14px}}

/* Product editor: one photo surface, essentials first. */
.product-basics{display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;align-items:start}
.product-photo-field{min-width:0}
.product-photo-control{position:relative}
.product-photo-preview{position:relative;width:100%;height:132px;border:1px dashed #bdcbbf;border-radius:12px;background:#f5f8f4;display:grid;place-items:center;overflow:hidden;color:#536e59;cursor:pointer}
.product-photo-preview:hover{border-color:#688b71;background:#eff5ef}
.product-photo-preview:has(input:focus-visible){outline:2px solid #3e7250;outline-offset:3px}
.product-photo-preview>img{width:100%;height:100%;object-fit:contain;background:#fff;pointer-events:none}
.product-photo-preview>.icon{width:28px;height:28px;pointer-events:none}
.product-photo-preview>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;z-index:1}
.product-photo-mark{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:26px;height:26px;background:#fff;border:1px solid #e1e9e1;border-radius:50%;pointer-events:none}
.product-photo-mark>.icon{width:14px;height:14px}
.product-photo-preview[aria-busy=true]>img{opacity:.5}
.product-photo-preview[aria-busy=true] .product-photo-mark>.icon{animation:photo-spin 1s linear infinite}
.product-photo-control>.product-photo-remove{position:absolute;right:0;top:0;z-index:2;min-width:44px;min-height:44px;background:#fffffff0;border-radius:0 12px 0 10px;color:#96584f}
.product-photo-feedback{display:flex;gap:4px;align-items:center}
.product-photo-status{font-size:11px;line-height:1.5;color:#9a443b;margin:8px 0 0;overflow-wrap:anywhere}
.product-photo-feedback>.icon-btn{min-width:44px;min-height:44px;flex-shrink:0}
.product-variants-heading{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.product-variants-heading>h3{font-size:12px;font-weight:600}
.product-variants-heading>.icon-btn{min-width:44px;min-height:44px}
.modal [data-form=product] .variant-row{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 12px}
.modal [data-form=product] .variant-row .field{grid-column:auto}
.modal [data-form=product] .variant-row>button{min-width:44px;min-height:44px}
.product-extra{border-top:1px solid var(--line)}
.product-extra>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:48px;color:#52675a;font-size:12px}
.product-extra>summary::-webkit-details-marker{display:none}
.product-extra>summary>.icon{width:16px;height:16px}
.product-extra>summary>.icon:last-child{margin-left:auto}
.product-extra[open]>summary>.icon:last-child{transform:rotate(180deg)}
.product-extra>div{padding-top:8px}
.product-extra textarea{min-height:66px}
.product-extra .check-label{min-height:44px;align-items:center;margin:0}
.product-extra .check-label input{margin:0}
.product-icon-options{display:flex;flex-wrap:wrap;gap:6px;border:0;padding:0;margin:0;min-width:0}
.product-icon-options>label{position:relative;cursor:pointer}
.product-icon-options input{position:absolute;width:1px;height:1px;opacity:0}
.product-icon-options span{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e2e8e3;border-radius:9px;color:#6b7b70}
.product-icon-options input:checked+span{background:#eef5ee;border-color:#809f87;color:#345b3e}
.product-icon-options input:focus-visible+span{outline:2px solid #3e7250;outline-offset:2px}
.modal [data-form=product]>.form-actions{margin-top:12px;padding-top:14px}
.modal [data-form=product]>.form-actions>.btn{min-height:44px;min-width:132px}
.product-image>img.thumb{width:100%;height:100%;object-fit:contain;background:#fff;border-radius:0}
@keyframes photo-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.product-photo-preview[aria-busy=true] .product-photo-mark>.icon{animation:none}}
@media(max-width:480px){.product-basics{grid-template-columns:88px minmax(0,1fr);gap:14px}.product-photo-preview{height:132px}.modal [data-form=product] .variant-row .field:nth-child(-n+2){grid-column:1/-1}}

.catalog-toolbar .tabs{flex-wrap:wrap;gap:14px}
.catalog-toolbar .tabs>.tab{white-space:nowrap}
@media(max-width:700px){.catalog-toolbar .tabs>.push-right{flex-basis:100%;margin-left:0;padding-bottom:12px}.catalog-toolbar .tabs select{width:100%;max-width:100%;min-height:44px}}

/* Free order items use the same compact photo editor as catalogue products. */
.item-photo-field{min-width:0}
[data-form=custom-item] .product-basics{margin-bottom:20px;align-items:center}
[data-form=custom-item] .product-basics>.field{margin:0}
.custom-item-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.modal [data-form=custom-item]>.form-actions{margin-top:12px;padding-top:14px}
.modal [data-form=custom-item]>.form-actions>.btn{min-height:44px;min-width:132px}
.line-item>.line-photo{position:relative;padding:0;border:0;min-width:48px;min-height:48px;flex-shrink:0}
.line-item>.line-photo>.thumb{width:48px;height:52px;border-radius:9px}
.line-item>.line-photo>.icon{position:absolute;right:-3px;bottom:-3px;width:21px;height:21px;padding:3px;background:#fff;border:1px solid #dfe7df;border-radius:50%;color:#526e59}

.order-reference-photo{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);color:#708076;font-size:11px}
.order-reference-photo>img{width:56px;height:56px;object-fit:contain;border-radius:8px;background:#f7f8f7}
.photo-entry input[name=quickTitle]{width:100%;min-height:44px}
.order-time-field>label{font-size:12px;font-weight:550;color:#616b77}
.order-time-control{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;padding-left:12px}
.order-time-control>.icon{flex:0 0 18px;width:18px;height:18px;color:#718174}
.order-time-control input[data-order-time]{width:100%;min-width:0;min-height:44px;height:44px;padding:8px 0;border:0;background:transparent;font-size:16px;line-height:1.4;font-variant-numeric:tabular-nums;box-shadow:none}
.order-time-control:focus-within{outline:3px solid #8baeee;outline-offset:3px}
.order-time-control input[data-order-time]:focus-visible{outline:0}
.order-time-control:has([aria-invalid=true]){border-color:#b34646}
.order-time-clear{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:7px;background:transparent;color:#718174;cursor:pointer}
.order-time-clear>.icon{width:18px;height:18px}
.order-time-clear:hover{background:#f2f5f1;color:#31543b}
.order-time-field .order-time-error{font-size:12px;line-height:1.5;color:#a43131}
.order-time-field [hidden]{display:none!important}
.order-time-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px}
.order-time-presets>.btn{flex:0 0 auto;min-height:44px;min-width:54px;padding:9px 11px;border:1px solid #dfe6e0;border-radius:8px;background:#f6f8f5;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap;overflow-wrap:normal;word-break:normal;color:#526859}
.order-time-presets>.btn[aria-pressed=true]{background:#eaf2e9;border-color:#a4bba7;color:#30543a}

/* List controls own their layout: whole actions and statuses, never letter columns. */
.list-action-short{display:none}
.list-heading.page-heading>div:first-child{min-width:min-content;flex:1 1 auto;overflow-wrap:normal}
.list-heading.page-heading .actions{flex:0 0 auto;max-width:100%}
.list-heading .list-action{flex-shrink:0;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.list-search.filterbar{align-items:stretch;gap:12px;flex-wrap:wrap;padding:16px 18px 12px}
.list-search .search-field{min-width:0;flex:1 1 220px;gap:8px;padding:0 12px;border:1px solid #e6ebe7;border-radius:10px;background:#f6f8f6}
.list-search .search-field:focus-within{outline:2px solid #6c9275;outline-offset:2px}
.list-search .search-field input{max-width:none;width:100%;height:42px;min-height:42px;padding:8px 0;border:0;background:transparent;font-size:14px;line-height:1.4}
.list-search .search-field input:focus-visible{outline:0}
.list-search .filters-right{display:flex;min-width:0;flex:0 1 240px;margin-left:auto}
.branch-filter{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;padding-left:12px;border:1px solid #dfe6e0;border-radius:10px;background:white;color:#647a69}
.branch-filter>.icon{width:18px;height:18px}
.branch-filter select{width:100%;min-height:42px;border:0;background:transparent;font-size:13px;padding:8px 10px 8px 0}
.branch-filter>.value-preview{grid-column:1/-1;margin:0;padding:0 12px 10px 0}
.list-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:0 18px 16px;border-bottom:1px solid var(--line)}
.tabs.status-filters{display:flex;flex:1 1 0;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:0;border:0;overflow:visible}
.status-filters .btn.tab{flex:0 0 auto;max-width:100%;min-height:40px;padding:8px 11px;gap:5px;border:1px solid #e3e8e4;border-radius:8px;background:#fff;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:12px;line-height:1.35;color:#68776c}
.status-filters .btn.tab:hover{background:#f4f7f3;border-color:#c9d6cb}
.status-filters .btn.tab.selected{background:#eaf2e9;border-color:#a4bba7;color:#30543a;font-weight:650}
.status-filters .btn.tab.selected:after{display:none}
.status-filters .btn.tab .status-label{margin:0;color:inherit;white-space:nowrap;overflow-wrap:normal}
.status-filters .btn.tab .status-count{margin:0;min-width:18px;padding:1px 4px;border-radius:5px;background:#f0f3ef;color:#718174;font-size:10px;line-height:1.35;font-variant-numeric:tabular-nums}
.status-filters .btn.tab.selected .status-count{background:#d9e7d9;color:#30543a}
.status-filters .btn.tab>.icon{width:15px;height:15px;color:inherit}
.list-filter-row>.view-toggle{flex-shrink:0;margin:0 0 0 auto}
.list-filter-extra{margin-left:auto;min-width:0;max-width:100%}
.list-filter-extra select{width:100%;min-height:40px;font-size:13px}
.work-queue .list-search .search-field{max-width:none}
.mobile-order .badge,.delivery-card>.actions>.badge{flex-shrink:0;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.mobile-order .mobile-order-top>b{flex-shrink:0;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
@media(max-width:700px){
 .list-heading.page-heading{gap:12px;margin-bottom:16px;align-items:center}
 .list-heading.page-heading h1{font-size:24px;line-height:1.25;letter-spacing:-.6px;overflow-wrap:normal}
 .list-heading.page-heading .actions{gap:8px;margin-left:auto}
 .list-heading.page-heading .actions>.list-action{width:auto;min-width:44px;min-height:44px;padding:10px;font-size:13px;gap:6px}
 .list-heading.page-heading .actions>.list-action.primary{padding:10px 14px}
 .list-heading .list-action-label{display:none}
 .list-heading .list-action-short{display:inline}
 .list-heading.page-heading .actions>.list-action>.icon{width:18px;height:18px}
 .list-search.filterbar,.work-queue .list-search.filterbar{padding:12px 12px 10px;gap:10px}
 .list-search .search-field,.work-queue .list-search .search-field{flex:1 1 100%;width:100%;padding:0 11px}
 .list-search .search-field input,.work-queue .list-search .search-field input{height:44px;min-height:44px;padding:8px 0;font-size:16px}
 .list-search .filters-right,.work-queue .list-search .filters-right{display:flex;flex:1 1 100%;margin:0;max-width:100%}
 .branch-filter select{min-height:44px;font-size:14px}
 .list-filter-row{gap:10px;padding:0 12px 12px}
 .tabs.status-filters{flex-basis:100%;gap:6px}
 .status-filters .btn.tab{min-height:44px;padding:9px 10px;font-size:12px}
 .list-filter-extra{flex:1 1 100%;margin:0}
 .list-filter-extra select{min-height:44px;font-size:14px}
 .mobile-order{padding:16px 13px;align-items:flex-start}
 .mobile-order>.thumb{margin-top:2px}
 .mobile-order-top{gap:5px 10px;align-items:baseline}
 .mobile-order-top>strong{line-height:1.5}
 .mobile-order-top>b{font-size:13px;line-height:1.5}
 .mobile-order-body>p{font-size:12px;color:#6e7e72;line-height:1.5;margin:5px 0 9px}
 .mobile-order-bottom{gap:7px;row-gap:7px}
 .mobile-order-bottom>.badge{min-height:24px;padding:4px 7px;font-size:10px}
 .mobile-order-time{font-size:11px;white-space:nowrap}
 .product-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
 .mobile-bottom{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:center;padding:6px 8px calc(6px + env(safe-area-inset-bottom));gap:2px}
 .mobile-bottom a{min-width:0;min-height:48px;padding:4px 2px;font-size:10px;line-height:1.3;gap:5px}
 .mobile-bottom a>span{white-space:nowrap;overflow-wrap:normal;word-break:normal}
 .mobile-bottom .mobile-new{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;justify-self:center}
}

/* Buyer order: photograph first, with the next action and handoff in one card. */
.buyer-portal{max-width:600px;min-height:0;padding:15px 14px calc(18px + env(safe-area-inset-bottom));color:#202a24}
.buyer-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin-bottom:13px}
.buyer-header>div{min-width:0}
.buyer-store{margin:0;color:#53665b;font-size:13px;font-weight:650;line-height:1.4}
.buyer-portal .buyer-header h1{margin:2px 0 0;font-size:22px;letter-spacing:-.45px;line-height:1.2}
.buyer-status{display:inline-flex;align-items:center;gap:6px;min-height:32px;max-width:100%;padding:5px 9px;border-radius:8px;background:#e8f0e9;color:#355742;font-size:12px;font-weight:650;line-height:1.35}
.buyer-status>.icon{width:16px;height:16px}
.buyer-status.cancelled{background:#f8eeeb;color:#923f36}
.buyer-status.draft{background:#ecefeb;color:#4c5d52}
.buyer-layout{display:grid;gap:12px}
.buyer-gallery,.buyer-card,.buyer-details{min-width:0;border:1px solid #e1e8e2;border-radius:14px;background:#fff}
.buyer-gallery{overflow:hidden}
.buyer-photo{display:block;position:relative;width:100%;padding:0;border:0;background:#edf1ee;cursor:zoom-in}
.buyer-photo[hidden],.buyer-photo [hidden],.buyer-photo-modal [hidden]{display:none}
.buyer-photo>img{display:block;width:100%;height:clamp(248px,42svh,370px);object-fit:contain}
.buyer-photo:focus-visible{outline-offset:-4px}
.buyer-photo-zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #e2e9e2;border-radius:9px;background:#fff;color:#3a5143;box-shadow:0 2px 10px #23362a12}
.buyer-photo-zoom>.icon{width:19px;height:19px}
.buyer-photo:disabled{cursor:default}
.buyer-photo-fallback{display:flex;align-items:center;justify-content:center;gap:8px;min-height:100px;padding:16px;color:#53665b;font-size:13px}
.buyer-photo-thumbs{display:flex;flex-wrap:wrap;gap:7px;padding:8px;border-top:1px solid #e1e8e2}
.buyer-photo-thumbs>button{width:48px;height:48px;padding:2px;border:1px solid #d8e1d9;border-radius:8px;background:#f4f7f4;cursor:pointer}
.buyer-photo-thumbs>button[aria-pressed=true]{border-color:#37664a;box-shadow:0 0 0 1px #37664a}
.buyer-photo-thumbs img{display:block;width:100%;height:100%;border-radius:5px;object-fit:cover}
.buyer-photo-caption{flex:1 1 90px;min-width:0;align-self:center;margin:0 2px;color:#596960;font-size:12px;line-height:1.4}
.buyer-gallery>.buyer-photo-caption{padding:7px 10px;margin:0;border-top:1px solid #e1e8e2}
.buyer-card{padding:14px}
.buyer-product{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 14px}
.buyer-product>div:first-child{flex:1 1 145px;min-width:0}
.buyer-product h2{margin:0;font-size:18px;line-height:1.27;letter-spacing:-.2px;overflow-wrap:anywhere}
.buyer-product p,.buyer-total>span{display:block;margin:4px 0 0;color:#596960;font-size:12px;line-height:1.4}
.buyer-total{margin-left:auto;max-width:100%;text-align:right}
.buyer-total>span{margin-top:0}
.buyer-total strong{display:block;margin-top:2px;font-size:clamp(20px,5.4vw,26px);line-height:1.15;letter-spacing:-.45px}
.buyer-money{font-variant-numeric:tabular-nums;white-space:nowrap}
.buyer-facts{display:grid;gap:9px;margin-top:12px;padding-top:11px;border-top:1px solid #edf0ed}
.buyer-fact{display:flex;align-items:flex-start;gap:8px;min-width:0;font-size:13px;line-height:1.38}
.buyer-fact>.icon{width:16px;height:16px;margin-top:1px;color:#526d5d}
.buyer-fact>div{min-width:0;overflow-wrap:anywhere}
.buyer-fact strong{font-weight:650}
.buyer-fact small{display:block;color:#596960;font-size:12px;margin-top:2px;line-height:1.4}
.buyer-message{display:flex;align-items:flex-start;gap:8px;margin:10px 0 0;color:#4e6355;font-size:13px;line-height:1.4}
.buyer-message>.icon{width:16px;height:16px;margin-top:1px}
.buyer-portal .notice{margin:10px 0 0;padding:8px 10px;font-size:12px;line-height:1.4}
.buyer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.buyer-actions>.btn{min-height:44px;font-size:13px;padding:8px 10px;line-height:1.3;overflow-wrap:normal;white-space:normal}
.buyer-actions>.primary{flex:1 1 155px;background:#2f533e;border-color:#2f533e}
.buyer-actions>.primary:hover:not(:disabled){background:#264733}
.buyer-actions>.buyer-contact:not(.primary){flex:0 1 auto}
.buyer-portal .buyer-details{margin:9px 0 0;overflow:hidden}
.buyer-details>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 13px;cursor:pointer;font-size:13px;font-weight:650;list-style:none;color:#344c3e}
.buyer-details>summary::-webkit-details-marker{display:none}
.buyer-details>summary>.icon{width:17px;height:17px}
.buyer-details>summary:focus-visible{outline-offset:-4px}
.buyer-details .buyer-chevron{margin-left:auto}
.buyer-details[open] .buyer-chevron{transform:rotate(180deg)}
.buyer-detail-content{padding:0 13px 12px;font-size:13px;line-height:1.45}
.buyer-detail-content .tracking-map{width:100%}
.buyer-muted{margin:8px 0 0;color:#596960;font-size:12px;line-height:1.45}
.buyer-muted>.icon{width:16px;height:16px;margin-right:4px}
.buyer-item-list,.buyer-price-list{margin:0;padding:0;list-style:none}
.buyer-item-list li,.buyer-price-list>div{display:flex;justify-content:space-between;align-items:baseline;gap:6px 12px;padding:7px 0;border-top:1px solid #edf0ed}
.buyer-item-list li>div{min-width:0;overflow-wrap:anywhere}
.buyer-item-list small{display:block;color:#596960;font-size:12px}
.buyer-price-list dd{margin:0}
.buyer-price-list>div:last-child{font-weight:650}
.buyer-footer{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px;color:#596960;font-size:11px;line-height:1.4}
.buyer-footer>.icon{width:14px;height:14px}
.buyer-footer>img{width:65px;height:auto;margin-left:auto}
.buyer-footer>.buyer-back{min-height:44px;padding:5px 8px;border:0;background:transparent;font-size:11px}
.buyer-photo-modal .modal-head{padding:8px 14px;gap:10px}
.buyer-photo-modal .modal-head h2{min-width:0;overflow-wrap:anywhere}
.buyer-photo-modal .modal-head .btn{min-width:44px;min-height:44px;flex-shrink:0}
.buyer-photo-modal .modal-content{padding:0 0 env(safe-area-inset-bottom);background:#edf1ee}
.buyer-photo-full{display:block;width:100%;max-height:calc(90svh - 66px);object-fit:contain}
@media(min-width:820px){
 .buyer-portal{max-width:960px;padding:25px 24px 28px}
 .buyer-layout:has(.buyer-gallery){grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);align-items:start;gap:15px}
 .buyer-photo>img{height:clamp(370px,51svh,500px)}
 .buyer-card{padding:18px}
}
