/* MakerBudget — shared workspace design, inspired by Monty's visual hierarchy.
   Presentation only: routes, permissions, forms and financial data remain intact. */
:root{--bg:#f6f6f9;--panel:#fff;--soft:#f4f4f7;--line:#e9e9f0;--line-strong:#d9d9e3;--text:#202029;--muted:#787887;--accent:#8557f5;--accent-soft:#f0eaff;--green:#297b60;--positive:#238265;--shadow:0 3px 16px #25203805;--ui-radius:12px;--ui-sidebar:232px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light}
html[data-theme=dark]{--bg:#17171e;--panel:#202029;--soft:#282833;--line:#34343f;--line-strong:#494956;--text:#f1f1f7;--muted:#afafc0;--accent:#b095ff;--accent-soft:#33284e;--green:#77d7b0;--positive:#77d7b0;--shadow:0 3px 18px #0002;color-scheme:dark}
*{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.55;letter-spacing:-.01em}button,input,select,textarea{font-family:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:3px}button{font-size:13px;font-weight:550;min-height:36px;border-radius:8px;border-color:var(--line-strong);box-shadow:0 1px 2px #20202904;transition:background .15s,border-color .15s,box-shadow .15s}button:hover:not(:disabled){border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:var(--soft)}button.primary,.public-cta,.featured-plan .public-cta{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 6px #8557f51a}button.primary:hover:not(:disabled),.public-cta:hover{background:color-mix(in srgb,var(--accent) 90%,#000);color:#fff}button:disabled{cursor:not-allowed}input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:8px;border-color:var(--line);background:var(--panel);color:var(--text);font-size:13px}input:focus,select:focus,textarea:focus{border-color:var(--accent)}input[type=checkbox],input[type=radio],progress{accent-color:var(--accent)}h1,h2,h3,h4{font-family:inherit;color:var(--text);letter-spacing:-.035em}h1{font-weight:650}small{color:var(--muted)}[hidden]{display:none!important}
/* Application frame: quiet navigation, clear active route, full-width work area. */
#live-sidebar{width:var(--ui-sidebar);padding:20px 14px 16px;background:var(--panel);border-right:1px solid var(--line);box-shadow:none}.sidebar-head{height:40px;padding:0 8px}.sidebar-head .brand{font:750 20px/1.1 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.9px;gap:9px}.sidebar-head .brand img{width:28px;height:28px;border-radius:8px}#navigation{margin:25px 0 18px}.nav-section{margin:0 0 20px}.nav-section h2{font-size:10px;font-weight:550;letter-spacing:.09em;color:var(--muted);margin:14px 12px 8px}.nav-section>a,.nav-group>a{min-height:38px;padding:9px 11px;border-radius:7px;color:var(--muted);font-size:12px;gap:10px;margin:3px 0}.nav-section>a b,.nav-group>a b{font-weight:500}.nav-section>a>span,.nav-group>a>span{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;color:inherit}.nav-section>a.active,.nav-group>a.active{background:#25252e;color:#fff;box-shadow:0 2px 5px #14141d12}.nav-section>a.active>span,.nav-group>a.active>span{color:#fff}.nav-section>a:not(.active):hover,.nav-group>a:not(.active):hover{background:var(--soft);color:var(--text)}.sidebar-bottom{border-top:1px solid var(--line);padding-top:14px}.sidebar-bottom>a{font-size:12px;padding:9px 10px}.sidebar-bottom>small{font-size:9px;letter-spacing:.05em;line-height:1.7}#workspace-signout{margin-top:8px}.shell{margin-left:var(--ui-sidebar);padding:0;min-width:0}.shell>header{height:72px;padding:12px 28px;background:var(--panel);border-bottom:1px solid var(--line)}.workspace-switcher{border:0;background:transparent;border-radius:8px;padding:4px 0;min-width:180px;gap:10px}.workspace-avatar{background:var(--accent-soft);color:var(--accent);border-radius:9px;width:32px;height:32px;font-weight:650}.workspace-switcher b{font-size:13px;font-weight:600}.workspace-switcher small{font-size:10px}.header-actions{gap:10px}.header-actions button{border:1px solid var(--line);background:var(--panel);border-radius:8px;width:33px;height:33px;min-height:33px;font-size:15px}#live-main{background:var(--bg);border:0;border-radius:0;padding:28px 28px 48px;min-height:calc(100vh - 72px);overflow:hidden}.live-heading{text-align:left;margin-bottom:24px;align-items:center;gap:24px}.live-heading h1{font:650 28px/1.2 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-1.1px}.live-heading p{font-size:12px;color:var(--muted);margin-top:7px}.live-heading>a,.live-heading .button-link{border-radius:8px;font-size:12px;background:var(--panel);padding:9px 13px}.live-heading .actions{flex-wrap:wrap}.period-picker{border-radius:8px!important;border-color:var(--line)!important;padding-left:10px!important;box-shadow:0 1px 2px #2221}.period-picker span{font-size:11px}.period-picker select{font-size:12px;padding:8px 10px 8px 1px!important}.overview-actions{gap:8px}.overview-actions select{max-width:155px}
/* One component language across orders, catalog, recipes, finance and settings. */
.live-panel,.metric-card,.store-performance-card,.matching-scroll,.store-connection-card,.store-connect-toolbar,.quick-ai,.register-card,.public-cards article,.plan-card,.public-price{border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--panel);box-shadow:var(--shadow)}.live-panel{padding:22px;margin-bottom:18px}.live-panel h2{font:600 15px/1.4 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.3px}.live-panel h3{font-size:14px;font-weight:600}.live-panel p{font-size:13px}.live-panel label,.custom-period label{font-size:12px;font-weight:550;gap:7px;color:var(--muted)}.live-panel input,.live-panel select,.live-panel textarea{background:var(--panel);border-color:var(--line);padding:10px 12px;border-radius:8px}.live-panel.net{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 20%,var(--line))}.table-wrap,.scroll{border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:auto}table{background:var(--panel);font-size:12px;color:var(--text);font-variant-numeric:tabular-nums}thead th{background:var(--soft);font-size:11px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0;border-color:var(--line)}th,td{border-color:var(--line);padding:13px 14px}tbody tr:hover{background:color-mix(in srgb,var(--accent-soft) 30%,var(--panel))}.compact-order{border-color:var(--line);font-size:12px}.horizontal-order{background:var(--panel);border-color:var(--line);border-radius:10px;box-shadow:none}.horizontal-order .order-record-main{background:var(--panel)}.status-tile{border-radius:10px;box-shadow:none}.status-tile strong{font-size:26px;font-weight:650}.status-label,.connection-status,.discount-status,.discount-tag{font-size:10px;border-radius:5px;padding:4px 8px}.page-tabs,.tab-nav,.grouped-tabs,.workspace-tabs{padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--soft);gap:4px}.page-tabs a,.page-tabs button,.tab-nav button,.grouped-tabs a{border-radius:6px}.catalog-card,.product-select-card,.variant-select-card,.material-card,.sales-market-card{border-color:var(--line);border-radius:11px;background:var(--panel);box-shadow:none}.catalog-card:hover,.product-select-card:hover,.variant-select-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 3px 12px #30205008}.catalog-card h3,.product-select-card b{font-size:12px}.catalog-card img,.material-picture{border-radius:9px}.line-editor,.recipe-line,.store-history-details{border-color:var(--line)}.image-upload{border-color:var(--line-strong);border-radius:10px;background:var(--soft)}.empty,.live-empty{border-radius:12px;color:var(--muted);font-size:13px}.guest-notice{font-size:11px;line-height:1.6;padding:10px 13px;background:var(--panel);border:1px solid var(--line);border-radius:8px;margin:0 0 12px}.guest-notice a{color:var(--accent)}dialog,.matching-dialog{border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);box-shadow:0 18px 70px #1513262b}dialog::backdrop{background:#15132670;backdrop-filter:blur(3px)}.matching-dialog h2{font-size:20px}.matching-choice{border-radius:8px;border-color:var(--line)}.matching-choice.is-selected{background:var(--accent-soft);border-color:var(--accent)}.matching-picker-tabs [aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}.matching-check{color:var(--accent)!important}.match-details{border-color:var(--line);box-shadow:var(--shadow)}.match-card.match-group .match-details{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}.match-card-footer{background:var(--soft);border-color:var(--line)}.match-card .match-method.is-suggested{background:var(--accent-soft);color:var(--accent)}.match-card .match-method.is-manual{background:var(--soft);color:var(--text)}.match-card.match-empty .match-details{background:color-mix(in srgb,var(--panel) 45%,var(--bg))}.match-card .match-photo img{border-radius:12px 12px 0 0}.match-details{border-radius:0 0 12px 12px}.matching-store{background:var(--panel)}.matching-store strong{font-size:16px}.matching-store span{font-size:11px}.matching-store small{font-size:10px}.matching-note{font-size:12px;line-height:1.6}.matching-search{font-size:12px}.matching-pages{font-size:12px}.quick-ai{border-radius:12px;padding:14px 16px;box-shadow:none;gap:10px}.quick-ai-mark{color:var(--accent);font-size:23px}.ai-suggestions button{border-radius:7px;background:var(--soft);border-color:transparent;font-size:11px;min-height:32px;padding:6px 10px}.quick-ai-input{border-color:var(--line)}.quick-ai-input input{font-size:13px}.quick-ai-input button{background:var(--accent);color:#fff;border-radius:8px;width:32px;height:32px;min-height:32px}
/* Overview retains its real calculations and complete platform breakdown. */
[data-page=overview] .revenue-hero{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px 24px;margin-bottom:16px;box-shadow:var(--shadow)}[data-page=overview] .revenue-hero>strong{font:650 38px/1.15 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-1.5px;margin:8px 0 12px}.metric-label{font-size:13px}.metric-label small{font-size:11px}.revenue-bar{height:12px;border-radius:5px}.revenue-bar i:nth-child(1){background:#dfd1ff}.revenue-bar i:nth-child(2){background:#b295f7}.revenue-bar i:nth-child(3){background:#8557f5}.revenue-legend{font-size:11px;color:var(--muted);font-weight:500}.revenue-legend i{border-radius:3px}[data-page=overview] .overview-grid{gap:14px;margin-bottom:24px}[data-page=overview] .overview-grid>.metric-card{padding:18px;border-color:var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow)}[data-page=overview] .overview-grid>.metric-card:first-child{background:linear-gradient(125deg,#9368fb,#7646e8);border-color:transparent;color:#fff;box-shadow:0 6px 16px #8557f520}[data-page=overview] .metric-card:first-child summary>span,[data-page=overview] .metric-card:first-child summary>strong{color:#fff}[data-page=overview] .metric-card:first-child summary>small,[data-page=overview] .metric-card:first-child summary:after,[data-page=overview] .metric-card:first-child .metric-breakdown,[data-page=overview] .metric-card:first-child .metric-breakdown p{color:#ffffffd9}[data-page=overview] .metric-card:first-child summary>span b,[data-page=overview] .metric-card:first-child .metric-breakdown{border-color:#ffffff3b}[data-page=overview] .metric-card summary>span{font-size:12px;font-weight:550}[data-page=overview] .metric-card summary>strong{font-family:inherit;font-weight:650;letter-spacing:-.8px;font-variant-numeric:tabular-nums}[data-page=overview] .metric-card summary>small{font-size:11px;font-weight:400;line-height:1.6}[data-page=overview] .metric-card summary:after{font-size:11px;font-weight:550}[data-page=overview] .store-performance-card{border-radius:12px;padding:20px;border-color:var(--line);box-shadow:var(--shadow)}.store-performance-head h3{font-size:15px;letter-spacing:-.4px}.store-performance-head>small{font-size:11px}.store-performance-head .store-profit{font-family:inherit;font-size:27px;letter-spacing:-.8px;font-weight:650}.store-performance-card dt,.store-performance-card dd{font-size:12px;border-color:var(--line)}.store-performance-card>button{font-size:12px}.overview-fx-note{font-size:10px;color:var(--muted)}.store-connect-toolbar{padding:22px}.store-connect-toolbar h2{font-size:17px}.store-connect-toolbar p,.store-connection-card p{color:var(--muted)}.store-connect-options{gap:12px}.store-connect-options .store-provider{border-radius:10px;border-color:var(--line);box-shadow:none;background:var(--panel)}.store-connect-options .store-provider:hover:not(:disabled){background:var(--soft)}.store-connect-options .store-provider.is-connected{border:1px solid #4f9a7e;box-shadow:0 0 0 2px #4f9a7e0c}.store-provider-mark{border-radius:8px!important}.store-row-actions button,.store-history-request button{font-size:12px;border-radius:7px}.store-connection-card>h2{font-size:16px!important}
/* Marketing, pricing and all account/security screens share the same palette. */
.public-mode{background:var(--bg)}.public-site{max-width:1320px;padding:0 40px}.public-nav{padding:22px 0;border-bottom:1px solid var(--line);gap:24px}.public-mode .brand{font-size:22px;letter-spacing:-.8px;gap:9px}.public-nav>div{font-size:13px;gap:26px}.public-nav a[aria-current=page]{color:var(--accent)}.public-nav>.public-cta{border-radius:8px;font-size:12px;padding:10px 16px}.public-hero{border:1px solid var(--line);background:var(--panel);border-radius:18px;margin:28px 0;padding:64px 50px;box-shadow:var(--shadow)}.public-hero h1{font-weight:650;letter-spacing:-.055em;line-height:1.06}.public-hero em{color:var(--accent)}.public-hero p{font-size:16px;line-height:1.75}.public-hero>div>small{font-size:11px}.public-kicker{font-size:10px;letter-spacing:.12em;font-weight:600;color:var(--accent)}.hero-preview{transform:none;border-radius:14px;border-color:var(--line);background:var(--bg);padding:24px;box-shadow:0 14px 32px #24202d0a}.preview-total{margin:20px -8px;padding:24px;border-radius:12px;background:linear-gradient(125deg,#966bfc,#7845e8);color:white}.preview-total small{color:#ffffffc9}.preview-total strong{font-size:34px;letter-spacing:-1.4px;font-weight:650}.preview-flow>span{border-color:var(--line);border-radius:8px;background:var(--panel);font-size:11px}.preview-foot{font-size:10px}.hero-actions{gap:20px}.public-cta{border-radius:8px;font-size:13px;padding:12px 18px}.public-cards{gap:18px}.public-cards article{padding:26px;border-radius:12px}.public-cards h3{font-size:19px;letter-spacing:-.6px}.public-cards p{font-size:13px;line-height:1.75}.public-cards article>small{font-size:11px;color:var(--accent)}.feature-number{background:var(--accent-soft);color:var(--accent)!important;border-radius:8px;width:32px;height:32px}.section-intro h2,.public-banner h2{font-size:32px;font-weight:600;letter-spacing:-1.2px}.public-banner{background:var(--panel);border-color:var(--line);border-radius:14px;padding:36px}.public-banner p{font-size:14px}.public-steps b{font-size:17px}.public-steps p{font-size:13px}.public-faq summary{font-size:14px}.public-faq details{border-color:var(--line)}.public-faq p{font-size:13px}.pricing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.plan-card{padding:30px 22px}.plan-card h2{font-size:24px;font-weight:600}.plan-card>p{font-size:12px}.plan-price strong{font-size:38px;font-weight:650;letter-spacing:-1.5px}.plan-card li{font-size:12px}.plan-card .plan-billing{font-size:10px}.featured-plan{border:1px solid var(--accent);margin:0;padding:30px 22px;box-shadow:0 5px 20px #8557f512}.plan-badge{font-size:9px;background:var(--accent);border-radius:6px;padding:6px 12px}.plan-card .public-cta{border-radius:8px;font-size:12px}.register-card{padding:30px;background:var(--panel);border-radius:14px}.register-card h2{font-size:24px;font-weight:600}.register-card p{font-size:13px}.register-card form{gap:16px}.register-card label{font-size:12px;font-weight:550;color:var(--muted)}.register-card input{padding:12px;border-color:var(--line);border-radius:8px;background:var(--panel)}.auth-hero .public-cta{background:var(--accent);color:#fff;border-radius:8px}.auth-hero h1{font-size:48px}.auth-hero .register-benefits{font-size:13px;color:var(--muted)}.auth-hero .auth-message{font-size:12px}.account-grid{gap:20px;padding-inline:0;max-width:none}.account-heading h1{font-size:38px}.account-logout{border-radius:8px;font-size:12px;background:var(--panel)}.account-org{border-color:var(--line);font-size:13px}.account-org .public-cta{font-size:11px;padding:8px 12px}.public-site footer{border-color:var(--line);font-size:12px;gap:28px}.public-site footer b{font-size:22px}.public-site footer>div:nth-child(2){flex-wrap:wrap;gap:14px 20px}.public-site footer>small{font-size:10px}.public-site footer p{font-size:12px}
/* Standalone policy and agreement pages: text is preserved verbatim. */
html[data-ui-surface=document] body{max-width:1040px;margin:auto;padding:28px;font-size:14px;line-height:1.85;background:var(--bg);color:var(--text)}html[data-ui-surface=document] body>nav{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 4px;font-size:12px;color:var(--muted)}html[data-ui-surface=document] body>nav a:first-child{font-size:20px;color:var(--text);font-weight:700;letter-spacing:-.7px}html[data-ui-surface=document] body>main{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:36px 42px;max-width:none;margin:14px 0}html[data-ui-surface=document] h1{font-size:30px;margin:0 0 16px;font-weight:650}html[data-ui-surface=document] h2{font-size:18px;letter-spacing:-.4px;margin-top:30px}html[data-ui-surface=document] a{color:var(--accent)}html[data-ui-surface=document] footer{font-size:12px;color:var(--muted);padding:20px 4px}
/* Administration keeps its own access boundary and every existing admin tool. */
html[data-ui-surface=admin] body{display:grid;grid-template-columns:var(--ui-sidebar) minmax(0,1fr);margin:0;background:var(--bg);font-size:13px}html[data-ui-surface=admin] aside{background:var(--panel);border-right:1px solid var(--line);padding:26px 16px;position:sticky;top:0;height:100vh;overflow:auto}html[data-ui-surface=admin] .brand{font-size:20px;font-weight:750;letter-spacing:-.9px}html[data-ui-surface=admin] .badge{font-size:9px;letter-spacing:.08em;color:var(--muted);margin:15px 0 28px}html[data-ui-surface=admin] nav a{font-size:12px;padding:9px 11px;border-radius:7px;color:var(--muted)}html[data-ui-surface=admin] nav a.active{background:#25252e;color:#fff;font-weight:550}html[data-ui-surface=admin] nav a:not(.active):hover{background:var(--soft)}html[data-ui-surface=admin] main{margin:0;background:var(--bg);border:0;border-radius:0;padding:24px 30px;min-width:0}html[data-ui-surface=admin] header{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:28px;font-size:12px}html[data-ui-surface=admin] h1{font-size:28px;font-weight:650;letter-spacing:-1px}html[data-ui-surface=admin] h2{font-size:17px;font-weight:600}html[data-ui-surface=admin] p{color:var(--muted);font-size:13px}html[data-ui-surface=admin] .card,html[data-ui-surface=admin] .panel{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:22px;box-shadow:var(--shadow)}html[data-ui-surface=admin] .card:first-child{background:var(--accent-soft)}html[data-ui-surface=admin] .card strong{font-size:32px;font-weight:650;letter-spacing:-1px}html[data-ui-surface=admin] .card span{font-size:12px;color:var(--muted)}html[data-ui-surface=admin] button{border:1px solid transparent;background:var(--accent);color:#fff;padding:9px 14px;min-height:36px;border-radius:8px;font-size:12px}html[data-ui-surface=admin] button.secondary,html[data-ui-surface=admin] .grid-sort{background:var(--panel);color:var(--text);border-color:var(--line)}html[data-ui-surface=admin] .grid-sort{border:0;padding:0;min-height:0}html[data-ui-surface=admin] input,html[data-ui-surface=admin] select,html[data-ui-surface=admin] textarea{background:var(--panel);border:1px solid var(--line);padding:11px;border-radius:8px;color:var(--text);font-size:12px}html[data-ui-surface=admin] .scroll{border-color:var(--line);border-radius:10px}html[data-ui-surface=admin] th{background:var(--soft);color:var(--muted);font-size:10px;text-transform:none;letter-spacing:0}html[data-ui-surface=admin] td{font-size:12px;border-color:var(--line)}html[data-ui-surface=admin] .foot{color:var(--muted);font-size:10px}html[data-ui-surface=admin] .nav-group>span{font-size:9px}html[data-ui-surface=admin] .auth{max-width:440px;background:var(--panel);padding:30px;border:1px solid var(--line);border-radius:14px}html[data-ui-surface=admin] .auth h1{font-size:25px}
/* Partner dashboard and enrollment use the same cards and controls. */
html[data-ui-surface=partner] body{font-size:14px}html[data-ui-surface=partner] body>header{max-width:none;padding:20px max(24px,calc((100vw - 1180px)/2));background:var(--panel);border-bottom:1px solid var(--line)}html[data-ui-surface=partner] body>main{max-width:1180px;padding:30px 24px}html[data-ui-surface=partner] .card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:24px}html[data-ui-surface=partner] .stat b{font-size:30px;font-weight:650;letter-spacing:-1px}html[data-ui-surface=partner] button,html[data-ui-surface=partner] .button{background:var(--accent);color:#fff;border-radius:8px;font-size:12px}html[data-ui-surface=partner] .secondary{background:var(--panel);color:var(--text);border:1px solid var(--line)}html[data-ui-surface=partner] h1{font-size:36px;font-weight:650}
@media(min-width:1440px){[data-page=overview] .overview-grid{grid-template-columns:repeat(5,minmax(0,1fr))}[data-page=overview] .overview-grid>.metric-card,[data-page=overview] .overview-grid>.metric-card:nth-last-child(-n+2){grid-column:span 1}[data-page=overview] .metric-card summary{grid-template-rows:24px 48px 40px 20px}}
@media(max-width:1150px){:root{--ui-sidebar:216px}.shell>header{padding-inline:22px}#live-main{padding:24px 22px 40px}.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-hero{padding:46px 32px}}
@media(max-width:950px){#live-sidebar{transform:translateX(-100%);box-shadow:12px 0 40px #15132614}#live-sidebar.open{transform:translateX(0)}.shell{margin-left:0}#mobile-menu{display:grid;place-items:center;border-radius:8px;background:var(--panel);width:34px;min-height:34px;padding:0}.shell>header{gap:14px}.workspace-switcher{margin-right:auto}.public-site{padding:0 24px}.live-heading{flex-wrap:wrap}.overview-actions{justify-content:flex-start}}
@media(max-width:760px){html[data-ui-surface=admin] body{display:block}html[data-ui-surface=admin] aside{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:18px}html[data-ui-surface=admin] nav{display:flex;overflow:auto}html[data-ui-surface=admin] .nav-group{display:flex;flex-shrink:0}html[data-ui-surface=admin] nav a{white-space:nowrap}html[data-ui-surface=admin] main{padding:22px 16px}.public-nav{padding:18px 0}.public-nav>div{gap:12px}.public-hero,.home-hero,.register-hero{grid-template-columns:1fr;padding:32px 24px;gap:28px}.public-hero h1,.auth-hero h1{font-size:38px}.hero-actions{flex-wrap:wrap}.public-banner{padding:26px}.public-cards,.feature-cards,.public-steps ol{grid-template-columns:1fr}.public-site footer{flex-direction:column}.account-grid{grid-template-columns:1fr}.public-site footer>div:nth-child(2){gap:14px}.matching-scroll{padding:12px}.live-heading h1{font-size:25px}.header-actions{gap:6px}.workspace-switcher{min-width:0}.workspace-switcher b{max-width:150px}.overview-actions{width:100%;flex-wrap:wrap}.overview-actions .period-picker{flex:1 1 145px}.overview-actions select{max-width:100%}.store-connect-toolbar{padding:18px}html[data-ui-surface=document] body{padding:16px}html[data-ui-surface=document] body>main{padding:26px 22px}}
@media(max-width:480px){.shell>header{padding:10px 16px;height:64px}.shell .workspace-switcher{gap:7px}.workspace-switcher b{max-width:125px;font-size:12px}.workspace-switcher small{font-size:9px}.header-actions{gap:4px}.header-actions button{width:29px;height:29px;min-height:29px}.workspace-avatar{width:28px;height:28px}#live-main{padding:22px 16px 32px}.public-site{padding:0 16px}.public-nav{gap:14px}.public-mode .brand{font-size:20px}.public-nav>div{flex-wrap:wrap;justify-content:flex-start;gap:8px 20px}.public-nav>.public-cta{font-size:11px}.public-hero h1{font-size:33px}.hero-actions{align-items:flex-start;gap:18px}.hero-preview{padding:18px}.preview-total strong{font-size:28px}.pricing-grid{grid-template-columns:1fr}.register-card{padding:24px}.period-picker select{font-size:11px}.live-panel{padding:18px}.status-tile strong{font-size:23px}.store-performance-head .store-profit{font-size:25px}html[data-ui-surface=partner] .stats{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Decorative navigation icons keep the original route labels and hit targets. */
.nav-section>a>span,.nav-group>a>span{font-size:0}.nav-section>a>span:before,.nav-group>a>span:before{content:"";width:16px;height:16px;display:block;background:currentColor;mask:var(--nav-icon) center/contain no-repeat}
.nav-section>a[href="#overview"],.nav-group>a[href="#overview"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#orders"],.nav-group>a[href="#orders"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-4%209%204-9%204-9-4Z%20M3%207v10l9%204%209-4V7%20M12%2011v10%20M7%205l10%204%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#products"],.nav-group>a[href="#products"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2012%209-9%209%209-9%209-9-9Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%203%203%203-3-3-3-3%203Z%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#matching"],.nav-group>a[href="#matching"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h15m-4-4%204%204-4%204M20%2017H5m4-4-4%204%204%204%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#stocks"],.nav-group>a[href="#stocks"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208h18v13H3V8Zm2-5h14l2%205H3l2-5ZM9%2012h6%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#returns"],.nav-group>a[href="#returns"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%204-5%205%205%205M3%209h12a6%206%200%201%201%200%2012h-3%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#reports"],.nav-group>a[href="#reports"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020V4m0%2016h16M8%2016v-5m5%205V6m5%2010V9%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#finance"],.nav-group>a[href="#finance"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%203v9h9M8%2016l4-4%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#globe"],.nav-group>a[href="#globe"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M5%206h14M5%2018h14%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#assistant"],.nav-group>a[href="#assistant"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.5%206.5L21%2012l-6.5%202.5L12%2021l-2.5-6.5L3%2012l6.5-2.5L12%203Z%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#stores"],.nav-group>a[href="#stores"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010h18l-2-7H5l-2%207ZM4%2010v11h16V10M9%2021v-7h6v7M7%203l-1%207m6-7v7m5-7%201%207%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#billing"],.nav-group>a[href="#billing"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2010h18M7%2015h4%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#team"],.nav-group>a[href="#team"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200v3m1-16a3%203%200%200%201%200%206m2%203a5%205%200%200%201%203%204v3%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#audit"],.nav-group>a[href="#audit"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%208h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E")}
.nav-section>a[href="#settings"],.nav-group>a[href="#settings"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16M4%2017h16%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2215%22%20cy%3D%2217%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E")}
html[data-ui-surface=admin] aside>.brand{display:flex;align-items:center;gap:9px}html[data-ui-surface=admin] aside>.brand:before{content:"M";display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ff8056;color:#202029;font-size:21px;font-weight:850;letter-spacing:-1px}
/* Compact order register: content decides row height; expanded tools float above it. */
[data-page=orders]>.live-panel:has(.compact-order-row){overflow:visible;padding:18px}
.horizontal-order.compact-order-row{grid-template-columns:28px minmax(100px,.8fr) minmax(110px,.85fr) minmax(300px,3fr) minmax(170px,1.4fr) 174px;min-width:0;align-items:start;padding:15px 0;gap:12px;border-width:0 0 1px;border-radius:0}
.compact-order-row .order-cell{background:transparent;border:0;padding:0;min-width:0;max-width:none;font-size:12px;line-height:1.5}
.compact-order-row .channel-cell{padding-top:8px}.compact-order-row .order-cell small{font-size:10px;margin-bottom:3px;white-space:normal}
.compact-order-row .horizontal-item{grid-template-columns:minmax(120px,2fr) minmax(65px,1fr) 30px;gap:6px 10px;padding:0 0 8px;border-bottom:1px solid var(--line);align-items:start}
.compact-order-row .horizontal-item:last-child{border:0;padding-bottom:0}
.compact-order-row .horizontal-item>.order-cell:nth-child(4),.compact-order-row .horizontal-item>.order-cell:nth-child(5){grid-column:span 1;color:var(--muted);font-size:11px}
.compact-order-row .horizontal-item>.order-cell:nth-child(5){grid-column:span 2}
.compact-order-row .horizontal-item b{font-weight:550}.compact-order-row .order-customer-cell{display:flex;flex-direction:column;gap:3px}
.compact-order-row .customer-open{border:0;background:transparent;text-align:left;min-height:24px;color:var(--text);font-weight:600;padding:0;overflow-wrap:anywhere}
.customer-inline-address,.customer-inline-email{display:block;font-size:11px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;white-space:pre-line}
.compact-order-row .order-record-footer{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px;align-items:start;position:relative}
.compact-order-row .order-record-footer>.status-label{grid-column:1/-1;width:auto;justify-self:start;font-size:10px;padding:3px 8px}
.compact-order-row .order-stage-control{grid-column:1;grid-row:2;font-size:10px;gap:3px;color:var(--muted)}
.compact-order-row .order-stage{width:100%;padding:6px 8px;font-size:11px;min-height:32px}
.compact-order-row .order-record-footer>.order-alert{grid-column:2;grid-row:2;align-self:end;width:32px;padding:0;background:transparent;position:relative}
.compact-order-row .order-alert>.order-alert-toggle{display:grid;place-items:center;list-style:none;width:32px;height:32px;min-height:32px;padding:0;cursor:pointer;border:1px solid #eacb92;border-radius:8px;color:#a76b16;background:#fff8e9}
.order-alert>.order-alert-toggle::-webkit-details-marker{display:none}.order-alert>.order-alert-toggle span{animation:order-warning-pulse 2.8s ease-in-out infinite;font-size:16px}
@keyframes order-warning-pulse{0%,100%{opacity:1}50%{opacity:.5}}
.order-alert-popover{display:none;position:absolute;z-index:35;right:0;top:100%;width:min(330px,75vw);padding:14px;background:var(--panel);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 8px 30px #15132625;font-size:12px;line-height:1.6;color:var(--text)}
.order-alert:hover>.order-alert-popover,.order-alert:focus-within>.order-alert-popover,.order-alert[data-open]>.order-alert-popover{display:block}.order-alert-popover ul{margin:8px 0 0;padding-left:17px}.order-alert-popover li+li{margin-top:7px}
.compact-order-row .order-record-footer>.order-more{grid-column:1/-1;width:auto;padding:0;background:transparent}
.compact-order-row .order-more>summary{font-size:11px;min-height:28px;padding:5px 8px;background:var(--soft);cursor:pointer;list-style:none}
.order-more-content{display:none;position:absolute;right:0;top:100%;z-index:30;width:min(460px,80vw);padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 8px 30px #15132625;max-height:65vh;overflow:auto;font-size:12px}
.order-more[open]>.order-more-content{display:block}.order-more-content>small{display:block;color:var(--muted);line-height:1.6;margin-bottom:12px}.order-more-content details{margin-top:9px}.order-more-content details>summary{cursor:pointer}.order-more-content dl{font-size:12px}.order-more-content .fulfill{min-width:0}
/* Headers and cards must use identical grid tracks; generic app header styles do not apply here. */
.matching-grid{grid-template-columns:repeat(var(--match-columns),minmax(214px,1fr));min-width:calc(var(--match-columns)*228px);align-items:start}
.matching-grid>.matching-store{display:flex;position:static;inset:auto;transform:none;width:190px;max-width:100%;height:auto;min-height:90px;justify-self:center;align-self:stretch;padding:10px 0;margin:0;border:0;border-bottom:1px solid var(--line);box-shadow:none;background:transparent;z-index:auto;grid-column:auto;grid-row:auto}
.matching-grid>.match-card{width:190px;max-width:100%;justify-self:center;align-self:stretch;margin:0}
@media(max-width:1250px){.horizontal-order.compact-order-row{grid-template-columns:28px minmax(95px,1fr) minmax(100px,1fr) minmax(240px,2.5fr) minmax(140px,1.3fr) 150px;gap:9px}}
@media(max-width:1100px){.horizontal-order.compact-order-row{grid-template-columns:28px 1fr 1fr 170px;gap:12px}.compact-order-row .horizontal-items{grid-column:2/4;grid-row:2}.compact-order-row .order-customer-cell{grid-column:4;grid-row:1/3}.compact-order-row .order-record-footer{grid-column:2/5;grid-template-columns:110px 140px 32px auto;align-items:center;gap:10px}.compact-order-row .order-record-footer>.status-label{grid-column:1;grid-row:1}.compact-order-row .order-stage-control{grid-column:2;grid-row:1}.compact-order-row .order-record-footer>.order-alert{grid-column:3;grid-row:1}.compact-order-row .order-record-footer>.order-more{grid-column:4;grid-row:1}.order-more-content{top:100%}}
@media(max-width:600px){.horizontal-order.compact-order-row{grid-template-columns:28px 1fr 1fr}.compact-order-row .horizontal-items{grid-column:1/-1;grid-row:2}.compact-order-row .order-customer-cell{grid-column:1/-1;grid-row:3}.compact-order-row .order-record-footer{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 32px;gap:8px}.compact-order-row .order-record-footer>.status-label{display:none}.compact-order-row .order-stage-control{grid-column:1;grid-row:1}.compact-order-row .order-record-footer>.order-alert{grid-column:2;grid-row:1}.compact-order-row .order-record-footer>.order-more{grid-column:1/-1;grid-row:2}.compact-order-row .horizontal-item{grid-template-columns:minmax(100px,2fr) minmax(70px,1fr) 28px}.order-more-content{width:min(460px,calc(100vw - 76px))}}
@media(prefers-reduced-motion:reduce){.order-alert>.order-alert-toggle span{animation:none}}
@media(min-width:1101px){.compact-order-row .order-record-footer{grid-template-columns:minmax(0,1fr) 28px 28px;gap:6px;align-items:end}.compact-order-row .order-record-footer>.status-label{display:none}.compact-order-row .order-stage-control{grid-column:1;grid-row:1}.compact-order-row .order-record-footer>.order-alert{grid-column:2;grid-row:1;width:28px}.compact-order-row .order-alert>.order-alert-toggle{width:28px;height:32px}.compact-order-row .order-record-footer>.order-more{grid-column:3;grid-row:1}.compact-order-row .order-more>summary{width:28px;height:32px;min-height:32px;padding:2px;font-size:20px;line-height:1}}
/* Fulfillment register v2: named areas prevent totals/optional cells shifting a row. */
.horizontal-order.compact-order-row{grid-template-columns:28px minmax(100px,.75fr) minmax(112px,.8fr) minmax(230px,2.5fr) minmax(150px,1.2fr) 174px;grid-template-areas:"channel store number items customer actions" "channel total total items customer actions";row-gap:0;column-gap:14px;padding:16px 0;align-items:start}
.compact-order-row>.channel-cell{grid-area:channel}.compact-order-row>.order-cell:nth-child(2){grid-area:store}.compact-order-row>.order-cell:nth-child(3){grid-area:number}.compact-order-row>.order-source-total{grid-area:total;margin-top:8px;color:var(--muted)}.compact-order-row>.horizontal-items{grid-area:items;min-width:0}.compact-order-row>.order-customer-cell{grid-area:customer}.compact-order-row>.order-record-footer{grid-area:actions;display:grid;grid-template-columns:minmax(0,1fr) 28px 28px;gap:6px;align-items:end;width:100%;min-width:0}
.compact-order-row .horizontal-item{grid-template-columns:minmax(0,1fr) minmax(66px,.6fr) 28px;gap:5px 10px;border-color:var(--line);padding-bottom:8px}.compact-order-row .horizontal-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-weight:550}.compact-order-row .horizontal-item>.quantity-cell{grid-column:3}
.order-item-extra{grid-column:1/-1;font-size:11px;color:var(--muted);margin-top:3px}.order-item-extra>summary{cursor:pointer;font-size:10px}.order-item-extra>span{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:4px 0}
.compact-order-row .order-record-footer>.status-label{display:none}.compact-order-row .order-stage-control{grid-column:1;grid-row:1;min-width:0}.compact-order-row .order-record-footer>.order-alert{grid-column:2;grid-row:1;width:28px}.compact-order-row .order-record-footer>.order-more{grid-column:3;grid-row:1}.compact-order-row .order-alert>.order-alert-toggle,.compact-order-row .order-more>summary{width:28px;height:34px;min-height:34px;padding:2px;display:grid;place-items:center}.compact-order-row .order-more>summary{font-size:20px}.compact-order-row .order-stage{height:34px;min-width:0;padding:5px;font-size:11px}
.order-alert>.order-alert-toggle{animation:order-alert-ring 1.8s ease-in-out infinite;border-color:#cf8b24!important;background:#fff0cf!important;color:#9f5d00!important}.order-alert>.order-alert-toggle span{animation:order-warning-pulse 1.8s ease-in-out infinite;font-weight:700}@keyframes order-warning-pulse{0%,100%{opacity:1}50%{opacity:.2}}@keyframes order-alert-ring{0%,100%{box-shadow:0 0 0 0 #dfa13005}50%{box-shadow:0 0 0 4px #dfa13028}}
.matching-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(var(--match-columns),minmax(214px,1fr));gap:14px;position:relative;align-items:stretch;padding:8px 0 20px;border-bottom:1px solid var(--line)}
.matching-row:before{content:"";position:absolute;top:86px;left:calc(100% / var(--match-columns) / 2);right:calc(100% / var(--match-columns) / 2);border-top:2px dashed var(--line-strong);z-index:0}.matching-row[data-linked=true]:before{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));border-top-style:solid}.matching-row>.match-card{z-index:1;width:190px;justify-self:center;align-self:stretch}.matching-row>.match-card .match-details{background:var(--panel)}.matching-row:last-child{border-bottom:0}
.billing-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0;align-items:stretch}.billing-plan-card{display:flex;flex-direction:column;margin:0;padding:22px 18px;min-width:0;position:relative}.billing-plan-card.is-current{border:2px solid var(--accent);background:color-mix(in srgb,var(--accent-soft) 30%,var(--panel))}.billing-plan-top{min-height:52px;display:flex;flex-wrap:wrap;align-content:start;align-items:center;gap:8px}.billing-plan-top h2{font-size:18px;margin:0}.billing-plan-top .plan-badge{font-size:9px;background:var(--accent-soft);color:var(--accent);border-radius:5px;padding:4px 6px}.billing-plan-price{min-height:52px}.billing-plan-price strong{font-size:20px;line-height:1.5}.billing-plan-card ul{padding:0;list-style:none;display:grid;gap:12px;font-size:12px;margin:12px 0 26px;flex:1}.billing-plan-card li:before{content:"✓";color:var(--accent);margin-right:8px}.billing-plan-card>button{width:100%;min-height:38px;border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.billing-plan-card.is-current>button{background:var(--accent);color:white;opacity:1}.billing-plan-card>small{font-size:10px;color:var(--muted);margin-top:12px;text-align:center}
.scenario-label{background:var(--accent-soft);color:var(--accent);padding:7px 12px;border-radius:7px;font-size:12px}.scenario-note{font-size:12px;line-height:1.7;color:var(--muted);max-width:900px;margin-bottom:24px}.scenario-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(340px,1.1fr);gap:20px;align-items:start}.scenario-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.scenario-panel-heading button{font-size:11px;min-height:28px;padding:5px 9px}.scenario-control{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:9px 16px;margin-bottom:23px;align-items:center}.scenario-control>label{font-size:12px;color:var(--text)}.scenario-control>input[type=number]{width:100%;min-width:0;font-size:13px;padding:8px 10px}.scenario-control>input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--accent);padding:0;cursor:pointer;min-height:16px;border:0;box-shadow:none}.scenario-results{display:grid;gap:16px}.scenario-results .live-panel{margin:0}.scenario-profit{background:linear-gradient(120deg,#9673ed,#7446e7);color:white;padding:26px;display:flex;flex-direction:column;gap:14px}.scenario-profit>span{font-size:12px;opacity:.9}.scenario-profit>strong{font-size:38px;letter-spacing:-1.5px}.scenario-profit.scenario-loss{background:linear-gradient(120deg,#a05872,#784260)}.scenario-gauge{height:8px;border-radius:8px;background:#ffffff35;overflow:hidden}.scenario-gauge>span{height:100%;display:block;background:white;border-radius:8px;transition:width .1s}.scenario-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scenario-metrics article{display:grid;gap:12px;padding:17px}.scenario-metrics span{font-size:11px;color:var(--muted)}.scenario-metrics strong{font-size:21px;overflow-wrap:anywhere}.scenario-bar{display:grid;grid-template-columns:100px minmax(0,1fr) 85px;gap:10px;align-items:center;margin:17px 0;font-size:11px}.scenario-bar>div{height:8px;background:var(--soft);border-radius:5px;overflow:hidden}.scenario-bar i{display:block;height:100%;background:var(--accent);border-radius:5px;transition:width .1s}.scenario-bar b{text-align:right;font-weight:550}.scenario-chart>p{font-size:12px;color:var(--muted)}.scenario-error{color:#b04730}
@media(max-width:1200px){.billing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.horizontal-order.compact-order-row{grid-template-columns:28px minmax(110px,1fr) minmax(110px,1fr) 174px;grid-template-areas:"channel store number actions" "channel items items customer" "channel total total customer";gap:12px}.compact-order-row .order-record-footer{grid-template-columns:minmax(0,1fr) 28px 28px}.scenario-layout{grid-template-columns:1fr}.scenario-inputs{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.scenario-panel-heading,.scenario-error{grid-column:1/-1}}
@media(max-width:600px){.horizontal-order.compact-order-row{grid-template-columns:28px minmax(0,1fr) minmax(0,1fr);grid-template-areas:"channel store number" "items items items" "total total total" "customer customer customer" "actions actions actions";gap:12px}.compact-order-row .order-record-footer{grid-template-columns:minmax(0,1fr) 32px 32px}.compact-order-row .order-stage-control,.compact-order-row .order-record-footer>.order-alert,.compact-order-row .order-record-footer>.order-more{grid-row:1}.billing-plans{grid-template-columns:1fr}.scenario-inputs{display:block}.scenario-control{grid-template-columns:minmax(0,1fr) 100px}.scenario-bar{grid-template-columns:86px minmax(0,1fr) 72px;gap:6px}.scenario-profit>strong{font-size:32px}}
@media(prefers-reduced-motion:reduce){.order-alert>.order-alert-toggle,.order-alert>.order-alert-toggle span{animation:none}.scenario-gauge>span,.scenario-bar i{transition:none}}

.nav-section>a[href="#whatif"]{--nav-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h8M8%2012h1m5%200h2M8%2016h1m5%200h2%22%2F%3E%3C%2Fsvg%3E")}
.customer-inline-address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-inline-email{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.globe-coverage{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:16px}

/* Status heading belongs to its control, not a form label with a bottom margin. */
.compact-order-row .order-stage-control{display:flex;flex-direction:column;gap:3px;margin:0;padding:0;min-width:0}
.compact-order-row .order-stage-heading{font-size:11px;line-height:1.5;color:var(--muted);font-weight:400}
.compact-order-row .order-record-footer>.order-alert,.compact-order-row .order-record-footer>.order-more{align-self:end;margin:0}
.compact-order-row .order-customer-cell>.customer-open{display:inline-flex;align-items:center;align-self:flex-start;margin:0;padding:0;min-height:0;font:inherit;line-height:1.35;font-weight:600;text-align:left}
.compact-order-row .order-customer-cell[data-contact-pending=true]>.customer-open{color:var(--muted);font-weight:400}
/* Dense order register; status belongs to the whole record, not only its badge. */
.horizontal-order.compact-order-row[data-stage]{padding:10px 12px;margin:5px 0;border:1px solid var(--line);border-radius:10px;column-gap:12px}
.horizontal-order.compact-order-row[data-stage=new]{background:color-mix(in srgb,#d79426 7%,var(--panel));border-color:color-mix(in srgb,#d79426 20%,var(--line))}
.horizontal-order.compact-order-row[data-stage=preparing]{background:color-mix(in srgb,var(--accent) 7%,var(--panel));border-color:color-mix(in srgb,var(--accent) 22%,var(--line))}
.horizontal-order.compact-order-row[data-stage=shipped]{background:color-mix(in srgb,#28966a 8%,var(--panel));border-color:color-mix(in srgb,#28966a 22%,var(--line))}
.compact-order-row[data-stage] .horizontal-item{padding-bottom:4px;gap:3px 8px}
.compact-order-row[data-stage] .order-item-extra{margin-top:0;font-size:10px}
.compact-order-row[data-stage] .order-customer-cell{gap:1px}
.compact-order-row[data-stage] .customer-inline-address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.compact-order-row[data-stage] .customer-inline-email{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.settings-tabs{margin:22px 30px 0;display:flex;flex-wrap:wrap;align-self:start}
.settings-tabs a{padding:9px 14px;font-size:12px;font-weight:550;white-space:nowrap}
[data-page=globe]{font-family:inherit}
[data-page=globe] .globe-panel,[data-page=globe] .destination-panel{border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
[data-page=globe] .globe-heading{padding:20px 20px 8px}
[data-page=globe] .globe-heading h2,[data-page=globe] .destination-panel h2{font-size:18px;font-weight:600;letter-spacing:-.4px}
[data-page=globe] .globe-level-bar{padding:10px 20px;border-block:1px solid var(--line);background:var(--panel);font-size:12px;color:var(--muted)}
[data-page=globe] .globe-controls{padding:12px 16px;background:var(--panel);border-top:1px solid var(--line);align-items:center}
[data-page=globe] button,[data-page=globe] input,[data-page=globe] select{font-family:inherit;font-size:12px;letter-spacing:normal}
[data-page=globe] .globe-controls button,[data-page=globe] #globe-back{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;min-height:34px;padding:7px 11px;font-weight:500}
[data-page=globe] .globe-controls button:hover,[data-page=globe] .destination:hover{background:var(--accent-soft);border-color:var(--accent)}
[data-page=globe] #globe-rotate[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:transparent}
[data-page=globe] #globe-zoom{font-family:inherit;font-size:12px;font-weight:500;color:var(--muted);min-width:42px;text-align:center}
[data-page=globe] .sample-badge{background:var(--soft);color:var(--muted);font-size:10px;border:1px solid var(--line);border-radius:6px;letter-spacing:.04em}
[data-page=globe] .location-detail{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0;color:var(--text)}
[data-page=globe] .location-detail>span{font-size:10px;letter-spacing:.06em;color:var(--muted)}
[data-page=globe] .location-detail strong{display:block;font-size:25px;font-weight:600;letter-spacing:-.6px;margin-top:8px}
[data-page=globe] .destination{font:inherit;color:var(--text);background:transparent;border-radius:8px;padding:11px 8px}
[data-page=globe] .destination small{font-size:11px;color:var(--muted);font-weight:400}
[data-page=globe] .destination-list{max-height:380px}
[data-page=globe] .globe-hint,[data-page=globe] .map-credit,[data-page=globe] .globe-coverage{font-size:11px;line-height:1.6;color:var(--muted)}
[data-page=matching] .matching-search{display:flex;flex-direction:column;gap:7px;margin:20px 0 16px;max-width:360px;font:500 12px/1.5 var(--font,Inter,system-ui,sans-serif);color:var(--text)}
[data-page=matching] .matching-search input{width:100%;height:38px;margin:0;padding:9px 12px;font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text)}
[data-page=matching] input,[data-page=matching] button,[data-page=matching] select,[data-page=matching] .matching-note,[data-page=matching] #matching-status{font-family:inherit;letter-spacing:normal}
[data-page=matching] input::placeholder{color:var(--muted);opacity:1}
@media(max-width:950px){.settings-tabs{margin:20px 22px 0}}
@media(max-width:480px){.settings-tabs{margin:16px 16px 0}.settings-tabs a{padding:8px 10px;font-size:11px}.horizontal-order.compact-order-row[data-stage]{padding:10px}}
.compact-order-row[data-stage] .order-item-extra:not([open]){min-height:0;height:auto;border:0;padding:0;background:transparent}
.compact-order-row[data-stage] .order-item-extra>summary{padding:2px 0;min-height:0;line-height:1.4;font-size:10px}
.horizontal-order.compact-order-row[data-stage=new]{background:color-mix(in srgb,#c96a5c 7%,var(--panel));border-color:color-mix(in srgb,#c96a5c 20%,var(--line))}
.horizontal-order.compact-order-row[data-stage=preparing]{background:color-mix(in srgb,#d7af26 10%,var(--panel));border-color:color-mix(in srgb,#d7af26 24%,var(--line))}
/* Subscription comparison and upgrade prompts share the workspace card system. */
#billing-content{padding:26px;background:var(--panel)}
.billing-current{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.billing-current h2{font:600 30px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:-1px;margin:8px 0 0}
.billing-current .eyebrow{font-size:10px;color:var(--muted);letter-spacing:.07em}
.billing-period-control{display:flex;align-items:center;justify-content:center;gap:12px;padding:20px 0 6px;font-size:13px;font-weight:550}
.billing-period-control small{display:inline-block;margin-left:6px;background:var(--accent-soft);color:var(--accent);border-radius:6px;padding:4px 7px;font-size:10px}
.billing-period-control button[role=switch]{display:block;width:46px;height:26px;min-height:26px;padding:3px;border:0;border-radius:99px;background:var(--line-strong);flex:none}
.billing-period-control button[aria-checked=true]{background:var(--accent)}
.billing-period-control button>span{display:block;width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #20202925;transition:transform .15s}
.billing-period-control button[aria-checked=true]>span{transform:translateX(20px)}
#billing-period-note{text-align:center;min-height:18px;margin:6px 0 22px;font-size:11px;color:var(--muted)}
.billing-plans{gap:14px;margin:12px 0 24px}
.billing-plan-card{padding:22px 18px;border-radius:14px;position:relative;background:var(--panel);border:1px solid var(--line);box-shadow:none}
.billing-plan-card.is-current{background:color-mix(in srgb,var(--accent) 3%,var(--panel));border:1px solid var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.billing-plan-card h2{font-family:inherit;font-size:17px;letter-spacing:-.3px}
.billing-plan-card .billing-plan-price{min-height:72px;display:flex;align-items:center;margin:18px 0;border-bottom:1px solid var(--line);padding-bottom:18px}
.billing-plan-card .billing-plan-price strong{font-family:inherit;font-size:25px;letter-spacing:-.8px;font-weight:650;line-height:1.3}
.billing-plan-card ul{padding:0;list-style:none;line-height:2.2;font-size:12px;color:var(--muted)}
.billing-plan-card li:before{content:'✓';color:var(--accent);margin-right:8px;font-weight:600}
.billing-plan-card>button{width:100%;margin-top:auto;min-height:38px;border-radius:8px;background:var(--accent);color:#fff;border:0}
.billing-plan-card>button:disabled{background:var(--soft);color:var(--muted);opacity:1}
.billing-plan-card.is-current>button{background:var(--accent-soft);color:var(--accent)}
.plan-upgrade-dialog{width:min(1000px,94vw);max-width:1000px;padding:26px;overflow:auto;color:var(--text);font-family:inherit}
.upgrade-heading{position:relative}.upgrade-heading h2{font:600 25px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.6px;margin:10px 0}
.upgrade-heading p{font-size:13px;line-height:1.6;color:var(--muted);max-width:700px}
.upgrade-heading>button{position:absolute;right:0;top:0;background:var(--soft);color:var(--muted);border:0;border-radius:8px;font-size:23px;min-height:30px;width:30px;padding:0}
.upgrade-offers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.upgrade-plan{border:1px solid var(--line);border-radius:12px;padding:17px;color:var(--text);background:var(--panel)}
.upgrade-plan.is-current{border-color:var(--accent);background:var(--accent-soft)}
.upgrade-plan h3{font-size:15px;margin:0 0 16px}.upgrade-plan>strong{font-size:22px;font-weight:600;letter-spacing:-.6px}.upgrade-plan small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0}
.upgrade-plan ul{padding:0;list-style:none;font-size:11px;line-height:2;color:var(--muted)}.upgrade-plan>span{font-size:11px;font-weight:600;color:var(--accent)}
.upgrade-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}
.upgrade-footer>a{padding:11px 15px;border-radius:8px;background:var(--accent);color:white;font-size:12px;font-weight:500}
/* Override legacy map font shorthands, including metric numbers and buttons. */
[data-page=globe],[data-page=globe] *{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
[data-page=globe] .globe-heading{padding:22px;gap:22px;flex-wrap:wrap}
[data-page=globe] .globe-heading h2{font-size:19px;letter-spacing:-.5px;margin-top:7px;font-weight:600}
[data-page=globe] .globe-heading .eyebrow{color:var(--muted);font-size:10px;letter-spacing:.07em}
.globe-reach-stats{display:flex;align-items:center;gap:28px;margin-left:auto}
.globe-reach-stats>div{display:flex;flex-direction:column;gap:5px;min-width:64px}
[data-page=globe] .globe-reach-stats strong{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.1;font-variant-numeric:tabular-nums}
.globe-reach-stats span{font-size:11px;color:var(--muted)}
[data-page=globe] .globe-heading .sample-badge{display:none}
[data-page=globe] .destination-panel{padding:22px}
[data-page=globe] .destination-panel .panel-head{padding:0;border:0}
[data-page=globe] .globe-stage{background:radial-gradient(ellipse at center,var(--panel),var(--soft))!important}
@media(max-width:760px){.upgrade-offers{grid-template-columns:1fr 1fr}.globe-reach-stats{margin-left:0}.billing-period-control{flex-wrap:wrap}.upgrade-footer{flex-direction:column;align-items:stretch}}
.billing-current .plan-badge,.billing-plan-top .plan-badge{position:static;inset:auto;transform:none;display:inline-flex;align-items:center;white-space:nowrap;font-size:9px;font-weight:550;border-radius:6px;background:var(--accent-soft);color:var(--accent);padding:5px 8px;line-height:1.4}
.billing-plan-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;min-height:30px}
.billing-plan-top h2{margin:0}

.compact-order-row .shipment-date{grid-row:2;grid-column:1/-1;display:flex;gap:5px;align-items:center;justify-content:flex-start}
.compact-order-row .shipment-date small{flex:1;min-width:0;line-height:1.35}.compact-order-row .shipment-date .shipment-edit{display:inline-grid;place-items:center;flex:none;width:28px;min-width:28px;height:28px;min-height:28px;padding:5px;margin:0;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:10px;background:var(--accent-soft);color:var(--accent);box-shadow:0 2px 4px #8557f514;cursor:pointer}
.compact-order-row .shipment-date .shipment-edit svg{display:block;width:16px;height:16px;pointer-events:none}
.compact-order-row .shipment-date .shipment-edit:hover{background:color-mix(in srgb,var(--accent) 16%,var(--panel));border-color:var(--accent);box-shadow:0 2px 6px #8557f52b}
.compact-order-row .shipment-date .shipment-edit:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 45%,transparent);outline-offset:3px}
/* Visible order actions and buyer gift flag. */
.order-gift{display:inline-flex;align-items:center;gap:4px;margin-top:5px;padding:2px 7px;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:650;line-height:1.5;width:max-content}
.order-gift svg{width:13px;height:13px;flex:none}
.compact-order-row .order-quick-actions{grid-column:1/-1;grid-row:2;display:flex;gap:6px;align-items:center;justify-content:flex-end}
.compact-order-row .shipment-date{grid-row:3}
.compact-order-row .order-quick-actions .order-square-action{display:inline-grid;flex:0 0 30px;place-items:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:6px;border:1px solid var(--line-strong);border-radius:8px;background:var(--panel);color:var(--accent);cursor:pointer}
.order-square-action svg{display:block;width:16px;height:16px;pointer-events:none}
.compact-order-row .order-quick-actions .order-square-action:hover{border-color:var(--accent);background:var(--accent-soft)}
.customer-drawer .order-expenses .live-grid{grid-template-columns:1fr 1fr}.customer-drawer .order-cost-detail dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px}.customer-drawer .order-cost-detail dd{margin:0;text-align:right}.customer-drawer .order-cost-detail small{display:block;line-height:1.6}
/* Shared order financial drawer. */
.marketplace-mark{width:42px;height:42px;display:inline-grid;place-items:center;flex:none;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text)}.marketplace-mark svg{display:block;width:36px;height:36px}.marketplace-mark-etsy{background:#fff1e8;color:#df682c}.marketplace-mark-shopify{background:#eef6e6}.marketplace-mark-amazon{background:var(--soft)}
.order-panel-context{display:flex;align-items:center;gap:12px;padding:14px;background:var(--soft);border:1px solid var(--line);border-radius:12px;margin:24px 0 22px}.order-panel-context>div{display:grid;gap:3px;min-width:0}.order-panel-context span:not(.marketplace-mark){font-size:11px;color:var(--muted)}.order-panel-context strong{font-size:14px;overflow-wrap:anywhere}.order-panel-context small{font-size:12px;overflow-wrap:anywhere}
.customer-drawer{max-width:min(520px,100vw);padding:24px}.customer-drawer>h2{font-size:21px;letter-spacing:-.035em;margin:0 0 22px}.customer-drawer .order-cost-detail h3{font-size:12px;font-weight:600;color:var(--muted);margin:0 0 9px}
.customer-drawer .order-cost-detail dl{display:block;margin:0}.customer-drawer .order-cost-line{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}.customer-drawer .order-cost-line dt{font-size:12px;color:var(--text);line-height:1.5}.customer-drawer .order-cost-line dt small{font-size:10px;margin-top:3px}.customer-drawer .order-cost-line dd{padding:0;margin:0;font-size:13px;line-height:1.5;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.customer-drawer .order-cost-line dd.is-unknown{color:var(--muted);font-weight:400}
.order-cost-total{display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:18px;align-items:center;padding:15px;border-radius:10px;background:var(--accent-soft);margin:18px 0;font-size:12px}.order-cost-total strong{white-space:nowrap;font-size:15px;color:var(--accent);font-variant-numeric:tabular-nums}
.order-panel-notice{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:11px}.order-panel-notice ul{padding-left:18px;margin:8px 0 0}.order-panel-notice li{margin:4px 0}.order-panel-note,.order-panel-footnote{font-size:11px!important;line-height:1.7;color:var(--muted)}
.customer-drawer .order-expenses .live-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:18px 0}.customer-drawer .order-expenses .live-grid>label{display:grid;grid-template-columns:minmax(0,1fr) 124px;align-items:center;gap:16px;padding:12px 14px;margin:0;border-bottom:1px solid var(--line);font-size:12px}.customer-drawer .order-expenses .live-grid>label:last-child{border-bottom:0}.customer-drawer .order-expenses input{width:100%;text-align:right;font-variant-numeric:tabular-nums}.customer-drawer .order-expenses>label{font-size:12px}.customer-drawer .order-expenses>p:not(.order-panel-note){padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:11px;line-height:1.7}.order-panel-save{width:100%;margin-top:18px;min-height:40px}
@media(max-width:420px){.customer-drawer{padding:18px}.customer-drawer .order-expenses .live-grid>label{grid-template-columns:minmax(0,1fr) 102px;gap:10px;padding:10px}.order-cost-total{padding:12px;gap:12px}}
/* Product scenarios share the workspace card language. */
.scenario-selection{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px 20px;margin-bottom:14px}.scenario-selection label{font-size:12px;margin:0}.scenario-selection select{width:100%;max-width:100%;margin-top:7px}.scenario-selection>span{grid-column:1/-1;font-size:10px;color:var(--muted)}.scenario-current-data{white-space:nowrap;background:var(--panel);font-size:12px;padding:8px 12px}.scenario-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:22px}.scenario-store-profit{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-align:left;min-width:0}.scenario-store-profit[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.scenario-store-heading{display:flex;gap:10px;align-items:center;max-width:100%;font-size:12px}.scenario-store-heading>span:last-child{min-width:0;overflow-wrap:anywhere}.scenario-store-heading small{display:block;margin-top:3px;font-size:10px}.scenario-store-profit>strong{font-size:25px;letter-spacing:-.04em;overflow-wrap:anywhere;color:var(--accent)}.scenario-store-profit>small{font-size:10px}.scenario-store-profit.scenario-loss>strong{color:#a15365}.scenario-store-profit .marketplace-mark{width:34px;height:34px;border-radius:10px}.scenario-store-profit .marketplace-mark svg{width:28px;height:28px}.scenario-sources{font-size:11px;color:var(--muted);line-height:1.7}.scenario-sources summary{cursor:pointer;font-weight:600;color:var(--text)}.scenario-sources dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px}.scenario-sources dd{margin:0}.scenario-load-error{color:#a55353;font-size:12px}
@media(max-width:600px){.scenario-selection{grid-template-columns:1fr}.scenario-store-grid{grid-template-columns:1fr}.scenario-inputs{display:block}.scenario-store-profit>strong{font-size:23px}}
.customer-drawer{width:min(460px,100vw)}.customer-drawer .order-cost-line dt{margin:0;padding:0}.customer-drawer .order-expenses input{min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:7px 10px;box-shadow:none}.customer-drawer #close-order-panel{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border-radius:9px;background:var(--soft)}.order-panel-context{margin-top:34px}

/* One fixed control grid keeps all fulfillment actions on the same columns. */
.compact-order-row>.order-record-footer{grid-template-columns:minmax(0,1fr) 32px 32px;gap:6px;align-items:end}
.compact-order-row .order-record-footer>.order-alert,.compact-order-row .order-record-footer>.order-more{width:32px;min-width:32px;max-width:32px}
.compact-order-row .order-alert>.order-alert-toggle,.compact-order-row .order-more>summary{box-sizing:border-box;width:32px;height:34px;min-height:34px;margin:0;padding:0;display:grid;place-items:center}
.compact-order-row .order-quick-actions{display:contents}
.compact-order-row .order-quick-actions>.order-square-action{box-sizing:border-box;width:32px;min-width:32px;height:32px;min-height:32px;margin:0;padding:6px;grid-row:2;grid-column:3}
.compact-order-row .order-quick-actions>[data-order-panel=expenses]{grid-column:2}
.compact-order-row .shipment-date{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;width:100%;max-width:none}
.compact-order-row .shipment-date .shipment-edit{box-sizing:border-box;width:32px;min-width:32px;height:32px;min-height:32px;border-radius:8px}
.customer-drawer .order-labor-source{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin:16px 0}
.customer-drawer .order-labor-source>label{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;font-size:12px;color:var(--text)}
.customer-drawer .order-labor-source select{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:38px;margin:0;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font:inherit;color:var(--text)}
.customer-drawer .order-labor-source>.order-panel-footnote{display:block;margin:0}

/* Compact shared scenario: every store recalculates without a store selector. */
#live-main[data-page=whatif]{padding-bottom:6px}.scenario-page{max-width:1100px;margin:0 auto}
.scenario-page .live-heading{margin-bottom:14px;gap:12px;flex-wrap:nowrap}.scenario-page .live-heading h1{font-size:25px}.scenario-page .live-heading p{font-size:11px;margin-top:5px}
.scenario-page .scenario-selection{padding:12px 16px;margin:0 0 12px;gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.scenario-page .scenario-selection label{font-size:11px;gap:0}.scenario-page .scenario-selection select{min-height:34px;padding:7px 10px;margin-top:5px;font-size:12px}
.scenario-page .scenario-store-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(170px,1fr);overflow-x:auto;gap:10px;margin:0 0 12px;padding-bottom:2px}
.scenario-page .scenario-store-profit{padding:12px 14px;gap:5px;border-color:var(--line);box-shadow:none;cursor:default}
.scenario-page .scenario-store-heading{font-size:11px;line-height:1.3;gap:8px;min-height:30px}.scenario-page .scenario-store-heading small{font-size:9px;margin-top:2px}
.scenario-page .marketplace-mark{width:30px;height:30px;border-radius:9px}.scenario-page .marketplace-mark svg{width:26px;height:26px}
.scenario-page .scenario-store-profit>strong{font-size:24px;line-height:1.25;margin:3px 0}.scenario-page .scenario-store-profit>small{font-size:9px;color:var(--muted)}
.scenario-store-fees{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;font-size:10px;line-height:1.5}.scenario-store-fees small{color:var(--muted);font-size:9px;margin-left:3px}.scenario-store-fees b{font-size:11px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.scenario-page .scenario-shared-inputs{padding:14px 16px;margin:0 0 10px}.scenario-page .scenario-panel-heading{margin:0 0 12px;gap:10px}.scenario-page .scenario-panel-heading h2{font-size:13px}.scenario-page .scenario-label{font-size:10px;padding:4px 7px}
.scenario-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
.scenario-page .scenario-control{grid-template-columns:minmax(0,1fr) 78px;gap:3px 8px;margin:0}.scenario-page .scenario-control>label{margin:0;font-size:11px;color:var(--text);line-height:1.4}.scenario-page .scenario-control>input[type=number]{min-height:32px;height:32px;padding:6px 8px;font-size:12px;margin:0}.scenario-page .scenario-control>input[type=range]{height:16px;min-height:16px;margin:4px 0 0;grid-column:1/-1}
.scenario-page .scenario-error{font-size:10px;line-height:1.5;margin:8px 0 0}.scenario-page .scenario-error:empty,.scenario-page .scenario-load-error:empty{display:none}
.scenario-bottom-note{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}
.scenario-data-info{position:relative}.scenario-data-info>summary{font-size:10px;cursor:pointer;color:var(--muted)}.scenario-data-info>div{position:absolute;z-index:35;bottom:calc(100% + 10px);right:0;width:min(440px,75vw);max-height:45vh;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow);font-size:11px;line-height:1.6}.scenario-data-info p{margin:0 0 10px}.scenario-data-info p:last-child{margin:0}
@media(max-width:1180px){.scenario-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}}
@media(max-width:600px){.scenario-page .live-heading{align-items:flex-start;flex-wrap:wrap}.scenario-page .scenario-selection{grid-template-columns:1fr;gap:10px}.scenario-controls{grid-template-columns:1fr}.scenario-bottom-note{align-items:flex-start;flex-direction:column}.scenario-data-info>div{left:0;right:auto}}

/* Explicit slider geometry: Opera/Chromium, Safari and Firefox must not draw
   operating-system-specific square thumbs or oversized default tracks. */
.scenario-page input,.scenario-page select,.scenario-page button{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:normal}
.scenario-page .scenario-control>input[type=number]{width:100%;font-variant-numeric:tabular-nums}
.scenario-page .scenario-control>input[data-missing=true]{border-style:dashed;border-color:var(--line-strong);background:var(--soft)}
.scenario-page .scenario-control>input[type=range]{-webkit-appearance:none;appearance:none;display:block;width:100%;height:22px;min-height:22px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;--range-fill:0%}
.scenario-page input[type=range]::-webkit-slider-runnable-track{box-sizing:border-box;width:100%;height:6px;border:0;border-radius:999px;background:linear-gradient(to right,var(--accent) 0 var(--range-fill),var(--line-strong) var(--range-fill) 100%)}
.scenario-page input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;box-sizing:border-box;width:16px;height:16px;margin-top:-5px;border:2px solid var(--panel);border-radius:50%;background:var(--accent);box-shadow:0 1px 4px #39256b35}
.scenario-page input[type=range]::-moz-range-track{box-sizing:border-box;width:100%;height:6px;border:0;border-radius:999px;background:var(--line-strong)}
.scenario-page input[type=range]::-moz-range-progress{height:6px;border:0;border-radius:999px;background:var(--accent)}
.scenario-page input[type=range]::-moz-range-thumb{box-sizing:border-box;width:16px;height:16px;border:2px solid var(--panel);border-radius:50%;background:var(--accent);box-shadow:0 1px 4px #39256b35}
.scenario-page input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px}
.scenario-page input[type=range]:disabled{opacity:.5;cursor:not-allowed}
.scenario-page .scenario-incomplete>[data-profit]{color:var(--muted)}
.scenario-page .scenario-store-profit>[data-store-margin]{min-height:14px;line-height:14px;display:block}
@media(forced-colors:active){
 .scenario-page input[type=range]::-webkit-slider-runnable-track{background:Canvas;border:1px solid CanvasText}
 .scenario-page input[type=range]::-webkit-slider-thumb{background:Highlight;border:2px solid ButtonText;box-shadow:none}
 .scenario-page input[type=range]::-moz-range-track{background:Canvas;border:1px solid CanvasText}
 .scenario-page input[type=range]::-moz-range-progress{background:Highlight}
 .scenario-page input[type=range]::-moz-range-thumb{background:Highlight;border:2px solid ButtonText;box-shadow:none}
}
/* Workspace refinement — business identity on the right, a quiet AI command bar. */
.shell>header{display:flex;gap:20px;align-items:center;min-width:0}.header-assistant{flex:1;min-width:0;max-width:560px;margin-right:auto}.shell>header .workspace-switcher{flex:0 1 auto;min-width:140px;max-width:260px;border-left:1px solid var(--line);border-radius:0;padding:0 0 0 18px}.workspace-switcher>div{min-width:0}.workspace-switcher #org-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:180px}.workspace-switcher .workspace-avatar{border-radius:50%;width:36px;height:36px;flex:none}.workspace-switcher small{display:block}.header-actions{display:flex;flex:none;margin-left:auto}.header-assistant .quick-ai{display:flex;align-items:center;gap:9px;border:0;border-radius:24px;background:var(--soft);box-shadow:none;padding:4px 8px 4px 13px;margin:0;width:100%;min-height:40px}.header-assistant .quick-ai-mark{font-size:17px;flex:none;background:none;padding:0;width:auto;height:auto;color:var(--accent)}.header-assistant #quick-ai-form{flex:1;min-width:0;display:block;margin:0}.header-assistant .ai-suggestions{display:none}.header-assistant .quick-ai-input{display:flex;align-items:center;gap:4px;border:0;padding:0;background:transparent;margin:0}.header-assistant .quick-ai-input input{flex:1;width:100%;min-width:0;border:0;background:transparent;box-shadow:none;padding:5px 0;font-size:12px;min-height:30px}.header-assistant .quick-ai-input button{width:28px;height:28px;min-height:28px;border-radius:50%;padding:0;border:0;background:var(--panel);color:var(--accent)}#navigation a>span>svg{width:18px;height:18px}
/* One compact register: shared column headings, soft row tints and aligned actions. */
#live-main[data-page=orders] .order-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:16px 8px;margin-bottom:20px}
#live-main[data-page=orders] .status-tile{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;padding:0 22px;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;color:var(--text)}#live-main[data-page=orders] .status-tile:last-child{border-right:0}#live-main[data-page=orders] .status-tile span{font-size:11px;color:var(--muted)}#live-main[data-page=orders] .status-tile strong{font-size:26px;line-height:1.2}#live-main[data-page=orders] .status-tile[aria-pressed=true] strong{color:var(--accent)}
#live-main[data-page=orders] .order-filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--panel);border:1px solid var(--line);border-radius:16px 16px 0 0;margin:0;padding:14px 18px}#live-main[data-page=orders] .order-filter-bar>label:first-child{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}#live-main[data-page=orders] .order-filter-bar select{max-width:220px;border-radius:22px;padding:7px 12px}#live-main[data-page=orders] .order-filter-bar>button{border-radius:22px;background:var(--soft);border:0;padding:8px 14px}#live-main[data-page=orders] .order-filter-bar>span{color:var(--muted);font-size:11px}.order-search{display:flex;align-items:center;gap:7px;margin-left:auto!important;background:var(--soft);border-radius:24px;padding:3px 12px!important;flex:0 1 270px}.order-search input[type=search]{background:transparent;border:0;min-width:0;width:100%;font-size:11px;padding:6px 0;outline-offset:0}.order-search>span{font-size:19px;color:var(--muted)}
#live-main[data-page=orders] .order-filter-bar+.live-panel{border-top:0;border-radius:0 0 16px 16px;padding:0 16px 8px}#live-main[data-page=orders] .order-filter-bar+.live-panel>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.order-table-heading,.horizontal-order.compact-order-row[data-stage]{grid-template-columns:24px minmax(75px,.8fr) minmax(105px,.9fr) minmax(180px,2fr) minmax(110px,1.1fr) 174px;column-gap:14px}.order-table-heading{display:grid;align-items:center;background:var(--soft);color:var(--muted);font-size:10px;padding:11px 10px;margin:0 -16px 3px;padding-left:26px;padding-right:26px;border-bottom:1px solid var(--line)}.horizontal-order.compact-order-row[data-stage]{grid-template-areas:"channel store number items customer actions" "channel total total items customer actions";padding:14px 10px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;align-items:start}.horizontal-order.compact-order-row[data-stage]:last-child{border-bottom:0}.compact-order-row[data-stage]>.order-cell>small:first-child,.compact-order-row[data-stage] .horizontal-item>.order-cell>small:first-child,.compact-order-row[data-stage] .order-stage-heading{display:none}.compact-order-row[data-stage]>.order-cell:nth-child(3)>small:first-child{display:block;font-size:10px;margin-top:4px;order:2}.compact-order-row[data-stage]>.order-cell:nth-child(3){display:flex;flex-direction:column}.compact-order-row[data-stage]>.order-cell,.compact-order-row[data-stage] .horizontal-item{font-size:11px}.compact-order-row[data-stage] .horizontal-item{border:0;grid-template-columns:minmax(0,1fr) 24px}.compact-order-row[data-stage] .horizontal-item>.order-cell:nth-child(2){grid-row:2;font-size:10px;color:var(--muted)}.compact-order-row[data-stage] .horizontal-item>.quantity-cell{grid-column:2;grid-row:1}.compact-order-row[data-stage] .horizontal-item>.quantity-cell:before{content:'×';color:var(--muted)}.compact-order-row[data-stage] .order-item-extra{grid-column:1/-1}.compact-order-row[data-stage] .horizontal-item b{line-height:1.45;font-weight:550}.compact-order-row[data-stage] .horizontal-items{gap:7px}.compact-order-row[data-stage] .order-record-footer{align-items:start;grid-template-columns:minmax(0,1fr) 30px 30px;gap:6px}.compact-order-row[data-stage] .order-record-footer>.order-alert,.compact-order-row[data-stage] .order-record-footer>.order-more{align-self:start}.compact-order-row[data-stage] .order-stage{font-size:10px;padding:4px 6px;border-radius:18px;height:32px}.compact-order-row[data-stage] .order-alert>.order-alert-toggle,.compact-order-row[data-stage] .order-more>summary{width:30px;height:32px;min-height:32px;border-radius:9px}.compact-order-row[data-stage] .order-customer-cell>.customer-open{font-size:11px}.compact-order-row[data-stage] .customer-inline-address,.compact-order-row[data-stage] .customer-inline-email{font-size:10px}.compact-order-row[data-stage] .channel-mark{width:24px;height:24px;font-size:14px;border-radius:7px}
/* Connections: compact provider directory and saved accounts. */
#live-main[data-page=connections] .store-connect-toolbar,#live-main[data-page=connections] .live-panel{padding:18px 20px;border-radius:16px;margin-bottom:14px}#live-main[data-page=connections] .store-connect-heading,#live-main[data-page=connections] .connection-section-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:14px}#live-main[data-page=connections] h2{font-size:14px;margin:0 0 5px}#live-main[data-page=connections] .store-connect-heading p,#live-main[data-page=connections] .connection-section-heading p{font-size:11px;color:var(--muted);margin:0}#live-main[data-page=connections] .store-connect-options{gap:10px}#live-main[data-page=connections] .store-provider{padding:12px;gap:10px;min-height:70px;border-radius:12px;text-align:left;font-size:13px}#live-main[data-page=connections] .store-provider-mark{width:32px;height:32px;min-width:32px;border-radius:9px;font-size:17px}#live-main[data-page=connections] .store-provider small{font-size:10px;margin-top:3px;line-height:1.4}#live-main[data-page=connections] .store-provider>span:last-child{margin-left:auto}#live-main[data-page=connections] .store-provider.is-connected{border:1px solid #3aaf82;box-shadow:inset 0 0 0 1px #3aaf821f;background:color-mix(in srgb,#3aaf82 4%,var(--panel))}#live-main[data-page=connections] .store-row{padding:12px 0;gap:16px;margin:0;border-top:1px solid var(--line)}#live-main[data-page=connections] .store-row b,#live-main[data-page=connections] .store-row strong{font-size:12px}#live-main[data-page=connections] .store-row p,#live-main[data-page=connections] .store-connection-card>p{font-size:11px;color:var(--muted);margin:4px 0}#live-main[data-page=connections] .store-row-actions{gap:8px;flex-wrap:wrap}#live-main[data-page=connections] .store-row button{font-size:11px;min-height:32px;padding:6px 12px;border-radius:20px}#live-main[data-page=connections] .store-history-details{margin:0;border:0;padding:8px 0;background:transparent}#live-main[data-page=connections] .store-history-details>summary{font-size:11px;color:var(--accent)}#live-main[data-page=connections] .store-history-request{gap:10px;align-items:end}#live-main[data-page=connections] .store-history-request label{font-size:11px}#live-main[data-page=connections] .store-history-request input{max-width:220px;min-height:34px;padding:7px 10px}#live-main[data-page=connections] .store-history-request button{font-size:11px;min-height:34px;border-radius:20px}.shipping-provider-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shipping-provider{display:flex;align-items:center;border:1px solid var(--line);background:var(--panel)}.shipping-provider small{display:block;color:var(--muted);font-weight:400}.shipping-provider .store-provider-mark{display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-weight:650}.shipping-provider.is-planned{color:var(--muted)}.shipping-provider.is-planned>span:last-child{margin-left:0!important}.connection-category{border-radius:20px;padding:4px 10px;font-size:10px;color:var(--muted);background:var(--soft)}.shipping-credential-form{margin-top:14px;border:0;border-top:1px solid var(--line);padding-top:10px}.shipping-credential-form>summary{font-size:11px;color:var(--accent)}.shipping-credential-form form{max-width:540px;margin-top:12px}.shipping-credential-form form p{font-size:11px;color:var(--muted)}
@media(max-width:860px){.order-table-heading{display:none}.horizontal-order.compact-order-row[data-stage]{grid-template-columns:24px minmax(95px,1fr) minmax(105px,1fr) 190px;grid-template-areas:'channel store number actions' 'channel items items customer' 'channel total total customer';gap:10px 14px}.compact-order-row[data-stage]>.order-cell>small:first-child{display:block;font-size:10px}.shell>header{gap:12px;padding:12px 22px}.header-assistant{max-width:440px}.shell>header .workspace-switcher{min-width:130px;max-width:200px}.workspace-switcher #org-name{max-width:130px}}
@media(max-width:760px){.shell>header{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 18px;gap:10px}.shell>header .workspace-switcher{margin-left:auto;border-left:0;padding-left:0;min-width:0;max-width:180px}.header-actions{margin-left:0;gap:6px}.header-assistant{order:4;flex-basis:100%;max-width:none}.header-assistant:empty{display:none}.workspace-switcher .workspace-avatar{width:30px;height:30px}.workspace-switcher #org-name{font-size:12px}.order-search{flex:1 1 100%;margin-left:0!important}.shipping-provider-options{grid-template-columns:1fr}.horizontal-order.compact-order-row[data-stage]{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr);grid-template-areas:'channel store number' 'items items items' 'customer customer customer' 'total total total' 'actions actions actions';gap:10px}.compact-order-row[data-stage]>.order-record-footer{grid-template-columns:minmax(120px,1fr) 30px 30px}.compact-order-row[data-stage] .customer-inline-address{display:none}#live-main[data-page=orders] .status-tile{padding:0 12px}#live-main[data-page=orders] .status-tile span{font-size:10px}#live-main[data-page=orders] .status-tile strong{font-size:23px}#live-main[data-page=connections] .store-row{align-items:start;flex-direction:column;gap:8px}}
@media(prefers-reduced-motion:reduce){.order-alert-toggle{animation:none!important}}

#navigation a[href="#connections"]>span:before{display:none}#navigation a[href="#connections"]>span>svg{display:block}
#live-main[data-page=orders] .order-filter-bar>label:first-child{font-size:0;gap:0;flex:none}#live-main[data-page=orders] .order-filter-bar>label:first-child select{font-size:11px}#live-main[data-page=orders] .order-filter-bar>label.order-search{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:12px;padding:3px 12px;margin:0 0 0 auto}#live-main[data-page=orders] .order-search input[type=search]{display:block;min-height:30px;height:30px;flex:1}.order-search>span{flex:none}
@media(max-width:760px){#live-main[data-page=connections] .store-connect-heading{flex-direction:column;gap:3px}}
/* Monty reference refinement: detached rounded shell and a single white register. */
html[data-ui-surface=workspace] .shell>header{position:sticky;top:16px;z-index:35;height:64px;min-height:64px;margin:16px 24px 0;padding:10px 16px;border:0;border-radius:25px;background:var(--panel);box-shadow:0 4px 24px #25203803}
html[data-ui-surface=workspace] #live-main{padding:27px 24px 40px;min-height:calc(100vh - 96px)}
html[data-ui-surface=workspace] #live-sidebar{top:16px;left:16px;bottom:16px;height:calc(100vh - 32px);width:calc(var(--ui-sidebar) - 26px);border:0;border-radius:24px;padding:22px 12px 16px}
html[data-ui-surface=workspace] .sidebar-head{padding:0 5px}.shell>header .workspace-switcher{border-left:0;padding-left:8px}.header-assistant{max-width:420px}.header-assistant .quick-ai{min-height:36px;padding:2px 7px 2px 12px}.header-actions button{border:0;border-radius:50%;background:var(--soft);width:32px;height:32px}.workspace-switcher .workspace-avatar{width:34px;height:34px}
.orders-heading-actions{display:flex;align-items:center;gap:10px}.orders-heading-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 15px;border:0;border-radius:24px;background:var(--panel);min-height:40px;font-size:12px}.orders-heading-actions svg{width:16px;height:16px}.orders-heading-actions>button.primary{background:linear-gradient(105deg,#733bf1,#915df9);padding:4px 16px 4px 5px;color:#fff}.orders-heading-actions>button.primary>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fff;color:#8557f5;font-size:22px;font-weight:400}
#live-main[data-page=orders]>.live-heading{margin-bottom:19px}#live-main[data-page=orders] .order-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 0;border:0;border-radius:22px;margin-bottom:20px}#live-main[data-page=orders] .status-tile{padding:0 21px;border:0;gap:5px}#live-main[data-page=orders] .status-tile strong{font-size:24px;line-height:1.1;letter-spacing:-.7px}#live-main[data-page=orders] .status-tile span{font-size:11px}#live-main[data-page=orders] .status-tile[aria-pressed=true] strong{color:var(--text)}
#live-main[data-page=orders] .order-filter-bar{padding:14px 16px;gap:10px;border:0;border-radius:22px 22px 0 0;min-height:65px;align-items:center}.order-status-tabs{display:flex;align-items:center;gap:1px;padding:4px;border-radius:24px;background:var(--soft);flex:none}.order-status-tabs button{display:flex;align-items:center;gap:6px;min-height:30px;padding:5px 11px;font-size:10px;font-weight:450;white-space:nowrap;color:var(--muted);background:transparent;border:0;border-radius:20px;box-shadow:none}.order-status-tabs button span{font-size:9px;color:var(--muted)}.order-status-tabs button[aria-pressed=true]{background:var(--panel);color:var(--text);box-shadow:0 1px 5px #20202913}.order-status-tabs button:hover{background:var(--panel)}#live-main[data-page=orders] .order-filter-bar>label.order-search{flex:1 1 200px;max-width:270px;margin-left:auto;min-height:34px;padding:0 12px}#live-main[data-page=orders] .order-search input[type=search]{font-size:10px}#live-main[data-page=orders] .order-filter-bar>.orders-toolbar-icon{display:grid;place-items:center;background:transparent;border:0;padding:0;width:28px;height:28px;min-height:28px;font-size:21px;color:var(--muted)}#order-store-filter{display:flex;align-items:center;gap:14px;flex-basis:100%;padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}#order-store-filter label{display:flex;align-items:center;gap:10px}#order-store-filter select{max-width:270px}
#live-main[data-page=orders] .order-filter-bar+.live-panel{padding:0 0 5px;border:0;border-radius:0 0 22px 22px;box-shadow:none}.order-table-heading,.horizontal-order.compact-order-row[data-stage]{grid-template-columns:24px minmax(110px,.9fr) minmax(180px,1.65fr) minmax(120px,1fr) 258px;column-gap:12px}.order-table-heading{display:grid;min-width:760px;padding:11px 18px;margin:0;background:color-mix(in srgb,var(--soft) 45%,var(--panel));font-size:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.order-actions-heading{float:right;padding-right:8px}
.horizontal-order.compact-order-row[data-stage]{min-width:760px;grid-template-areas:'channel number items customer actions' 'channel total total total actions';padding:13px 18px;margin:0;background:var(--panel);border:0;border-bottom:1px solid var(--line);border-radius:0;align-items:center;row-gap:0}.horizontal-order.compact-order-row[data-stage]:hover{background:color-mix(in srgb,var(--accent-soft) 18%,var(--panel))}.compact-order-row[data-stage]>.order-identity{grid-area:number;display:flex;flex-direction:column;gap:3px;min-width:0;font-size:11px}.compact-order-row[data-stage]>.order-identity>b{font-weight:600;line-height:1.4}.compact-order-row[data-stage]>.order-identity>small{display:block;order:0;font-size:10px;margin:0;color:var(--muted)}.compact-order-row[data-stage] .order-store-meta{font-size:9px;line-height:1.3;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.compact-order-row[data-stage] .order-store-meta a{color:inherit}.compact-order-row[data-stage] .horizontal-items{gap:9px;align-self:center}.compact-order-row[data-stage] .horizontal-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 7px;padding:0;align-items:center}.compact-order-row[data-stage] .horizontal-item>.order-cell:first-child{display:flex;gap:5px;align-items:center;min-width:0}.compact-order-row[data-stage] .horizontal-item b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:550;line-height:1.5;-webkit-line-clamp:unset}.compact-order-row[data-stage] .horizontal-item b a{white-space:nowrap}.compact-order-row[data-stage] .horizontal-item>.order-cell:nth-child(2){grid-column:1;grid-row:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.compact-order-row[data-stage] .horizontal-item>.quantity-cell{grid-column:2;grid-row:1;font-size:10px;color:var(--muted)}.compact-order-row[data-stage] .horizontal-item .order-item-extra{grid-column:2;grid-row:2;margin:0}.compact-order-row[data-stage] .order-item-extra>summary{font-size:9px;padding:0;white-space:nowrap}.compact-order-row[data-stage] .order-item-extra[open]{grid-column:1/-1;grid-row:3}.compact-order-row[data-stage] .order-gift{font-size:0;padding:3px;flex:none}.compact-order-row[data-stage] .order-gift svg{width:12px;height:12px}.compact-order-row[data-stage] .order-customer-cell{gap:2px;min-width:0;align-self:center}.compact-order-row[data-stage] .order-customer-cell>.customer-open{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:500;line-height:1.4}.compact-order-row[data-stage] .customer-inline-address{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;line-height:1.4}.compact-order-row[data-stage] .customer-inline-email{font-size:9px;line-height:1.4}.compact-order-row[data-stage] .channel-mark{width:23px;height:23px;border-radius:7px;font-size:13px}
.compact-order-row[data-stage]>.order-record-footer{grid-area:actions;display:grid;grid-template-columns:minmax(108px,1fr) repeat(4,26px);grid-template-rows:auto;gap:5px;align-items:center;width:100%;align-self:center}.compact-order-row[data-stage] .order-stage-control{grid-column:1;grid-row:1;position:relative;padding-left:0}.compact-order-row[data-stage] .order-stage{font-size:10px;min-height:28px;height:28px;padding:4px 6px 4px 16px;border:0;border-radius:18px;color:#9b6a17;background:#fff6de;box-shadow:none;font-weight:500}.compact-order-row[data-stage] .order-stage-control:before{content:'';position:absolute;left:7px;top:11px;width:5px;height:5px;border-radius:50%;background:#dfa42b;pointer-events:none;z-index:1}.compact-order-row[data-stage=preparing] .order-stage{color:#7952bf;background:#f0e8ff}.compact-order-row[data-stage=preparing] .order-stage-control:before{background:#9561ef}.compact-order-row[data-stage=shipped] .order-stage{color:#27765d;background:#e5f7ee}.compact-order-row[data-stage=shipped] .order-stage-control:before{background:#46b68c}.compact-order-row[data-stage] .order-record-footer>.order-alert{grid-column:4;grid-row:1;align-self:center;width:26px;min-width:26px;max-width:26px}.compact-order-row[data-stage] .order-record-footer>.order-more{grid-column:5;grid-row:1;align-self:center;width:26px;min-width:26px;max-width:26px}.compact-order-row[data-stage] .order-alert>.order-alert-toggle,.compact-order-row[data-stage] .order-more>summary{width:26px;height:28px;min-height:28px;border-radius:7px}.compact-order-row[data-stage] .order-quick-actions{display:contents}.compact-order-row[data-stage] .order-quick-actions>.order-square-action{grid-row:1;grid-column:3;width:26px;min-width:26px;height:28px;min-height:28px;padding:5px;border:0;border-radius:7px;background:transparent;color:var(--muted)}.compact-order-row[data-stage] .order-quick-actions>[data-order-panel=expenses]{grid-column:2}.compact-order-row[data-stage] .order-quick-actions>.order-square-action:hover{background:var(--accent-soft);color:var(--accent)}.compact-order-row[data-stage] .shipment-date{grid-row:2;grid-column:1/-1;display:flex;gap:6px;justify-content:flex-start;align-items:center;margin-top:2px}.compact-order-row[data-stage] .shipment-date small{flex:none;font-size:9px;color:var(--muted)}.compact-order-row[data-stage] .shipment-date .shipment-edit{width:20px;min-width:20px;height:20px;min-height:20px;padding:3px;border-radius:6px;border:0;background:var(--accent-soft);box-shadow:none}.compact-order-row[data-stage] .shipment-date .shipment-edit svg{width:13px;height:13px}.compact-order-row[data-stage] .order-source-total{grid-area:total;font-size:9px;margin-top:5px}.order-pagination{font-size:11px}.order-pagination button{border-radius:20px;font-size:11px}
html[data-theme=dark] .compact-order-row[data-stage=new] .order-stage{background:#403720;color:#f2ce7f}html[data-theme=dark] .compact-order-row[data-stage=preparing] .order-stage{background:#382c4f;color:#ccb1ff}html[data-theme=dark] .compact-order-row[data-stage=shipped] .order-stage{background:#203b32;color:#9cdec2}
@media(max-width:1200px){#live-main[data-page=orders] .order-filter-bar{flex-wrap:wrap}.order-status-tabs button{padding:5px 8px;font-size:10px}#live-main[data-page=orders] .order-filter-bar>label.order-search{max-width:240px}}
@media(max-width:860px){#live-main[data-page=orders] .order-filter-bar+.live-panel{overflow-x:auto;overscroll-behavior-inline:contain}.order-table-heading{display:grid}.horizontal-order.compact-order-row[data-stage]{grid-template-columns:24px minmax(110px,.9fr) minmax(180px,1.65fr) minmax(120px,1fr) 258px;grid-template-areas:'channel number items customer actions' 'channel total total total actions';gap:0 12px}.compact-order-row[data-stage]>.order-record-footer{grid-template-columns:minmax(108px,1fr) repeat(4,26px)}.compact-order-row[data-stage]>.order-cell>small:first-child{display:none}.compact-order-row[data-stage]>.order-identity>small:first-of-type{display:block}.order-status-tabs{max-width:100%;overflow-x:auto}.orders-heading-actions>button{padding:7px 12px;font-size:11px}}
@media(max-width:760px){html[data-ui-surface=workspace] .shell>header{top:10px;height:auto;min-height:62px;margin:10px 12px 0;padding:10px 12px;border-radius:22px;gap:8px}html[data-ui-surface=workspace] #live-main{padding:23px 12px 35px}.header-assistant{max-width:none}.orders-heading-actions{gap:6px;flex-wrap:wrap}.orders-heading-actions>button.primary{padding-right:11px}#live-main[data-page=orders]>.live-heading{align-items:flex-start;flex-direction:column;gap:14px}#live-main[data-page=orders] .order-status-grid{padding:15px 0;border-radius:18px;gap:12px 0}#live-main[data-page=orders] .status-tile{padding:0 12px}#live-main[data-page=orders] .status-tile span{font-size:9px}#live-main[data-page=orders] .status-tile strong{font-size:21px}#live-main[data-page=orders] .order-filter-bar>label.order-search{margin-left:0!important;max-width:none;flex-basis:calc(100% - 40px)}.compact-order-row[data-stage] .customer-inline-address{display:block}#order-store-filter{align-items:flex-start;flex-direction:column;gap:6px}}
@media(max-width:950px){html[data-ui-surface=workspace] #live-sidebar:not(.open){transform:translateX(calc(-100% - 20px))}}
#workspace-close-menu{display:none}@media(max-width:950px){html[data-ui-surface=workspace] #live-sidebar.open{z-index:55}.sidebar-head{position:relative}.sidebar-head .brand{font-size:17px;gap:7px}.sidebar-head .brand img{width:24px;height:24px}#workspace-close-menu{display:grid;place-items:center;position:absolute;right:0;top:4px;width:25px;height:25px;min-height:25px;padding:0;border:0;border-radius:50%;background:var(--soft);color:var(--muted);font-size:19px}}

/* Reversible order selection, using the shared compact register. */
#add-order-shortcut>span{display:grid;place-items:center;line-height:1;padding:0}#add-order-shortcut>span svg{display:block;width:19px;height:19px;margin:0}
.order-selection-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px}.order-selection-tools label,.trash-toolbar label{display:flex;align-items:center;gap:7px;white-space:nowrap}.order-selection-tools button{font-size:11px;padding:7px 12px;border-radius:18px}.order-selection-tools input[type=checkbox],.trash-panel input[type=checkbox],.order-select{appearance:auto!important;width:16px!important;height:16px!important;min-height:16px!important;margin:0;accent-color:var(--accent);cursor:pointer;flex:none}
.order-table-heading,.horizontal-order.compact-order-row[data-stage]{grid-template-columns:52px minmax(110px,.9fr) minmax(180px,1.65fr) minmax(120px,1fr) 258px}.compact-order-row[data-stage]>.channel-cell{display:flex;align-items:center;gap:9px}.compact-order-row:has(.order-select:checked){box-shadow:inset 3px 0 var(--accent);background:var(--accent-soft)!important}
.order-trash-dialog{max-width:480px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:24px;padding:28px;background:var(--panel);color:var(--text);box-shadow:0 24px 80px #17132930}.order-trash-dialog::backdrop{background:#17132966;backdrop-filter:blur(3px)}.order-trash-dialog h2{font-size:22px;margin:16px 0}.order-trash-dialog p{font-size:13px;line-height:1.65;color:var(--muted)}.trash-dialog-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--accent-soft);color:var(--accent);font-size:24px}.trash-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.trash-dialog-actions button{border-radius:20px}.trash-dialog-error{color:#b43b46!important}.trash-toolbar{display:flex;align-items:center;gap:18px;padding:16px;border-bottom:1px solid var(--line);font-size:12px}.trash-toolbar button{margin-left:auto;border-radius:20px}.trash-order{display:grid;grid-template-columns:18px minmax(120px,1fr) minmax(100px,1fr) auto;align-items:center;gap:16px;padding:17px;border-bottom:1px solid var(--line);font-size:12px}.trash-order small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.trash-panel{overflow:hidden}
@media(max-width:760px){.order-selection-tools{width:100%;margin-bottom:8px}.trash-order{grid-template-columns:18px 1fr}.trash-order>span,.trash-order>small{grid-column:2}.trash-toolbar{flex-wrap:wrap;gap:10px}.trash-toolbar button{margin-left:0}.order-trash-dialog{padding:22px}}
.order-filter-bar .order-selection-tools>label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;margin:0!important;font-size:11px!important}.order-selection-tools input{display:inline-block!important}.order-filter-bar .order-selection-tools>button{min-height:30px}
/* One locally served typeface across every account, workspace and policy page. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/InterVariable.woff2') format('woff2')}
:root{--bg:#f6f5f8;--soft:#f3f2f6;--text:#19171f;--muted:#82808c;--accent:#854bf6;--accent-soft:#f0e8ff;--line:#eeedf2;--ui-font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body,body *:not(svg):not(svg *):not(.channel-mark):not(.store-provider-mark){font-family:var(--ui-font)!important;font-optical-sizing:auto}body{font-size:13px;line-height:1.55;font-weight:400}button,input,select,textarea{font-size:13px;letter-spacing:-.015em}h1,h2,h3,h4{font-weight:600;letter-spacing:-.035em}.live-heading h1{font-size:28px;font-weight:600;line-height:1.2}.live-heading p{font-size:13px;color:var(--muted)}.live-panel>h2{font-size:17px;font-weight:600}small,label,th{font-weight:400}strong,b{font-weight:600}.metric-card strong,.status-tile strong{font-variant-numeric:tabular-nums}.public-site p,.account-grid p{color:var(--muted)}
/* Native select arrows vary by OS; use a fixed, centred chevron. */
.compact-order-row[data-stage] .order-stage{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2382808c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;background-size:14px 14px;padding-right:29px;line-height:20px;height:30px;min-height:30px;font-size:11px}.compact-order-row[data-stage] .order-stage-control:before{top:50%;transform:translateY(-50%)}.compact-order-row[data-stage] .order-alert-toggle,.compact-order-row[data-stage] .order-more>summary,.compact-order-row[data-stage] .order-square-action{height:30px!important;min-height:30px!important;align-self:center}.compact-order-row[data-stage] .order-record-footer{align-items:center}.compact-order-row[data-stage] .horizontal-item b,.compact-order-row[data-stage] .order-customer-cell>.customer-open,.compact-order-row[data-stage]>.order-identity{font-size:12px}.compact-order-row[data-stage] .horizontal-item>.order-cell:nth-child(2),.compact-order-row[data-stage] .order-store-meta,.compact-order-row[data-stage] .customer-inline-address,.compact-order-row[data-stage] .customer-inline-email{font-size:10px}
/* Connected stores use one register, with identical columns and actions. */
#live-main[data-page=connections] .connected-store-register{background:var(--panel);border-radius:22px;overflow:hidden;margin:18px 0;box-shadow:var(--shadow)}.connected-store-register>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px}.connected-store-register>header h2{margin:0;font-size:17px}.connected-store-register>header>span{font-size:12px;color:var(--muted)}.connection-table-heading,.connected-store-register .store-row{display:grid!important;grid-template-columns:130px minmax(140px,1.35fr) minmax(170px,1fr) minmax(180px,auto);align-items:center;gap:10px 20px}.connection-table-heading{padding:12px 22px;background:var(--soft);color:var(--muted);font-size:11px;border-block:1px solid var(--line)}.connection-table-heading>span:last-child{text-align:right}.connected-store-register .store-row{padding:17px 22px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:var(--panel)!important;min-height:80px}.store-row-provider{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500}.store-row-provider .marketplace-mark{width:30px;height:30px;border-radius:9px}.store-row-info{min-width:0}.store-row-info>b{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.store-row-info p{font-size:11px!important;margin:4px 0 0!important;color:var(--muted)}.store-row-status{font-size:11px;line-height:1.5}.connection-status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:20px;background:#e6f7ef;color:#36876a}.connection-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}.connection-status.needs-attention{color:#ac802d;background:#fff6df}.store-row-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:8px}.store-row-actions button{min-height:30px!important;padding:6px 12px!important;font-size:11px!important;border-radius:18px!important;white-space:nowrap}.store-row-history{grid-column:2/-1}.store-row-history .store-history-details{border:0!important;padding:0!important;margin:0!important}.store-row-history summary{font-size:11px;color:var(--muted);font-weight:400}.store-row-history details[open]{padding-top:6px!important}.connected-store-register .store-connection-card{padding:0!important;border:0!important;box-shadow:none!important;margin:0!important;border-radius:0!important;background:transparent!important}.connected-store-register .store-connection-card>h2,.connected-store-register .store-connection-card>p:not([role=status]){display:none}.connected-store-register .store-connection-card>[role=status]:empty{display:none}.connected-store-register .store-connection-card>[role=status]:not(:empty){margin:0;padding:10px 22px;font-size:12px}.connected-store-register [data-amazon-options]:not([hidden]){padding:16px 22px;border-bottom:1px solid var(--line)}[data-connected-store-rows]:empty:after{content:'Loading saved stores…';display:block;padding:22px;color:var(--muted);font-size:12px}
html[data-theme=dark] .connection-status{background:#213c32;color:#8fd8b9}html[data-theme=dark] .connection-status.needs-attention{background:#403721;color:#e7c477}
@media(max-width:900px){.connection-table-heading{display:none!important}.connected-store-register .store-row{grid-template-columns:110px minmax(0,1fr) auto;gap:10px 16px}.store-row-status{grid-column:2;grid-row:2}.store-row-actions{grid-column:3;grid-row:1/3}.store-row-provider{grid-row:1/3}.store-row-history{grid-column:2/-1}}
@media(max-width:600px){.connected-store-register .store-row{grid-template-columns:34px minmax(0,1fr);padding:16px!important;gap:9px 12px}.store-row-provider{grid-column:1;grid-row:1}.store-row-provider>span:last-child{display:none}.store-row-info{grid-column:2;grid-row:1}.store-row-status{grid-column:2;grid-row:2}.store-row-actions{grid-column:2;grid-row:3;justify-content:flex-start;flex-wrap:wrap}.store-row-history{grid-column:2}.connected-store-register>header{padding:16px}.connected-store-register>header>span{display:none}}
