@font-face{font-family:Barlow;src:url("assets/fonts/Barlow-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Barlow;src:url("assets/fonts/Barlow-Medium.ttf") format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");font-weight:700;font-display:swap}
:root{--black:#090909;--surface:#111;--surface-2:#171717;--line:#2a2a2a;--red:#da231f;--paper:#f5f4f1;--muted:#aaa7a2;--good:#83d4a6;--warn:#ffbd63;--radius:18px;--fast:180ms;--cinematic:900ms;color-scheme:dark;font-family:Barlow,Arial,sans-serif;background:var(--black);color:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{max-width:100%;overflow-x:clip;background:var(--black);scroll-behavior:auto}body{margin:0;min-width:320px;max-width:100%;overflow-x:clip;background:var(--black);color:var(--paper)}button,input{font:inherit}button{color:inherit}.skip-link{position:fixed;left:12px;top:-80px;z-index:1000;padding:12px 16px;background:var(--paper);color:var(--black)}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.rail{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:24px 18px;border-right:1px solid var(--line);background:#0c0c0c}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #454545;background:var(--red);font-family:"Barlow Condensed";font-size:26px;font-weight:700;perspective:300px}.brand b,.brand small{display:block}.brand b{font-family:"Barlow Condensed";font-size:22px;line-height:.9;letter-spacing:.06em}.brand small{margin-top:5px;color:var(--muted);font-size:9px;letter-spacing:.16em}.rail-nav{display:grid;gap:5px;margin-top:52px}.nav-item{min-height:46px;display:flex;align-items:center;gap:13px;padding:0 14px;border:1px solid transparent;background:transparent;color:#c4c1bc;font-size:14px;text-align:left;cursor:pointer}.nav-item span{width:20px;font-size:19px}.nav-item:hover{border-color:var(--line);background:var(--surface)}.nav-item.is-active{border-color:#4a1715;background:#1d0d0c;color:#fff}.nav-item.is-active span{color:#ff5b55}.rail-foot{display:grid;gap:8px;margin-top:auto}.icon-button,.profile{width:100%;min-height:48px;display:flex;align-items:center;gap:11px;padding:8px 10px;border:1px solid transparent;background:transparent;text-align:left;cursor:pointer}.icon-button:hover,.profile:hover{border-color:var(--line)}.avatar{width:34px;height:34px;display:grid;place-items:center;background:var(--paper);color:var(--black);font-size:11px;font-weight:500}.profile b,.profile small{display:block}.profile b{font-size:13px}.profile small{margin-top:2px;color:var(--muted);font-size:11px}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:20;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(22px,4vw,58px);border-bottom:1px solid var(--line);background:rgba(9,9,9,.92);backdrop-filter:blur(16px)}.eyebrow,.kicker{margin:0;color:var(--muted);font-family:"Barlow Condensed";font-size:11px;font-weight:600;letter-spacing:.18em}.store-name{margin:5px 0 0;font-size:14px}.store-name span,.live-pill{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding:3px 7px;border:1px solid #245738;color:var(--good);font-size:9px;letter-spacing:.1em}.top-actions{display:flex;align-items:center;gap:8px}.icon-only{position:relative;width:42px;height:42px;border:1px solid var(--line);background:transparent;font-size:19px;cursor:pointer}.icon-only:hover{background:var(--surface)}.alert-dot{position:absolute;right:9px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--red)}.primary-action{min-height:44px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:0 6px 0 16px;border:1px solid var(--red);background:var(--red);font-size:13px;font-weight:500;cursor:pointer}.primary-action b{width:32px;height:32px;display:grid;place-items:center;border-left:1px solid rgba(255,255,255,.25);font-size:18px}.primary-action:hover{background:#ef2e29}main{padding:clamp(28px,5vw,72px) clamp(18px,4vw,58px) 110px}.view{display:none;max-width:1460px;margin:0 auto}.view.is-active{display:block}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px}.intro h1,.empty-view h1{margin:10px 0 0;font-family:"Barlow Condensed";font-size:clamp(58px,8vw,112px);font-weight:600;line-height:.76;letter-spacing:-.025em}.intro h1 span,.empty-view h1 span{display:block}.intro h1 span:last-child{color:var(--red)}.intro-copy{max-width:390px;margin:0;color:#c0bdb8;font-size:15px;line-height:1.55}.hero-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,.75fr);gap:14px}.revenue-card,.signal-card,.panel,.metrics article{border:1px solid var(--line);background:var(--surface)}.revenue-card{min-height:390px;padding:clamp(20px,3vw,36px)}.card-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.card-head>span:first-child{font-family:"Barlow Condensed";font-size:12px;letter-spacing:.16em}.live-pill{margin:0}.live-pill i{width:6px;height:6px;border-radius:50%;background:var(--good)}.money{margin:40px 0 0;font-family:"Barlow Condensed";font-size:clamp(46px,7vw,82px);font-weight:600;line-height:.9;letter-spacing:-.02em}.delta{display:flex;gap:9px;margin-top:13px;font-size:12px}.delta strong{color:var(--good)}.delta span{color:var(--muted)}.sales-chart{margin-top:32px}.sales-chart svg{width:100%;height:145px;overflow:visible}.chart-area{fill:url(#chartFill)}.chart-line{fill:none;stroke:var(--red);stroke-width:2.5;vector-effect:non-scaling-stroke}.chart-labels{display:flex;justify-content:space-between;color:#75726f;font-size:9px;letter-spacing:.08em}.signal-card{position:relative;min-height:390px;padding:28px;overflow:hidden}.signal-label{margin:142px 0 0;color:var(--muted);font-family:"Barlow Condensed";font-size:11px;letter-spacing:.2em}.signal-card h2{margin:4px 0 12px;font-family:"Barlow Condensed";font-size:54px;line-height:.9}.signal-card>p:not(.signal-label){max-width:290px;margin:0;color:#bbb8b3;font-size:13px;line-height:1.5}.signal-card dl{display:grid;grid-template-columns:1fr 1fr;margin:25px 0 0;border-top:1px solid var(--line)}.signal-card dl div{padding-top:16px}.signal-card dt{color:var(--muted);font-size:10px}.signal-card dd{margin:5px 0 0;font-family:"Barlow Condensed";font-size:25px}.orbit-badge{position:absolute;right:24px;top:24px;width:105px;height:105px;border:1px solid #444;border-radius:50%}.orbit-badge span{position:absolute;inset:8px;display:grid;place-items:center;color:#86827d;font-family:"Barlow Condensed";font-size:10px;letter-spacing:.17em;text-align:center;animation:orbit 22s linear infinite}.turning-z{position:absolute;right:54px;top:54px;font-family:"Barlow Condensed";font-size:42px;font-weight:700;color:var(--red);animation:zturn 9s ease-in-out infinite}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:14px}.metrics article{min-width:0;padding:22px;border-right:0}.metrics article:last-child{border-right:1px solid var(--line)}.metrics span,.metrics small{display:block}.metrics span{color:var(--muted);font-family:"Barlow Condensed";font-size:10px;letter-spacing:.13em}.metrics strong{display:block;margin-top:12px;font-family:"Barlow Condensed";font-size:29px;font-weight:600}.metrics small{margin-top:8px;color:#8d8984;font-size:10px}.metrics .positive{color:var(--good)}.metrics .attention{color:var(--warn)}.lower-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px}.panel{padding:clamp(18px,2.5vw,30px)}.section-head h2{margin:5px 0 0;font-family:"Barlow Condensed";font-size:27px;font-weight:600}.text-button{min-height:40px;border:0;background:transparent;color:#d4d0ca;font-size:11px;cursor:pointer}.text-button:hover{color:#fff}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}.product{min-height:70px;display:grid;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);background:#0d0d0d;text-align:left;cursor:pointer}.product:hover{border-color:#5c5c5c;transform:translateY(-1px)}.product-art{width:48px;height:48px;display:grid;place-items:center;font-family:"Barlow Condensed";font-size:18px}.art-red{background:#4a1513;color:#ff6b65}.art-cream{background:#ded7c9;color:#28221d}.art-gray{background:#3a3937}.art-dark{background:#1c2c24;color:#9fd7b8}.product b,.product small{display:block}.product b{font-size:12px;font-weight:500}.product small{margin-top:5px;color:var(--muted);font-size:10px}.product i{font-style:normal;font-size:19px}.activity ol{margin:20px 0 0;padding:0;list-style:none}.activity li{display:grid;grid-template-columns:38px minmax(0,1fr) auto 30px;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.activity li:last-child{border:0}.receipt-mark{width:34px;height:34px;display:grid;place-items:center;border:1px solid #3b3b3b;color:#aaa;font-family:"Barlow Condensed";font-size:11px}.activity b,.activity small{display:block}.activity b{font-size:12px}.activity small,.activity time{margin-top:3px;color:var(--muted);font-size:10px}.activity strong{font-family:"Barlow Condensed";font-size:18px}.pulse{margin-top:14px;overflow:hidden}.carousel-controls{display:flex;gap:6px}.carousel-controls button{min-height:38px;padding:0 11px;border:1px solid var(--line);background:transparent;color:#c4c0bb;font-size:10px;cursor:pointer}.slides{position:relative;min-height:220px;margin-top:24px}.slide{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;opacity:0;transform:translateX(8%);pointer-events:none}.slide.is-active{opacity:1;transform:none;pointer-events:auto}.slide>span{color:var(--red);font-family:"Barlow Condensed";font-size:11px;letter-spacing:.15em}.slide h3{max-width:760px;margin:11px 0 8px;font-family:"Barlow Condensed";font-size:clamp(30px,4.2vw,55px);font-weight:600;line-height:.96}.slide p{max-width:600px;margin:0;color:var(--muted);font-size:13px}.slide button{margin-top:20px;min-height:40px;padding:0 15px;border:1px solid #4e4e4e;background:transparent;font-size:11px;cursor:pointer}.dots{display:flex;gap:7px}.dots button{width:28px;height:3px;padding:0;border:0;background:#3b3b3b}.dots button.is-active{background:var(--red)}.empty-view{min-height:65vh;padding-top:9vh}.empty-view>p:not(.kicker){max-width:520px;color:var(--muted);font-size:16px}.empty-view .primary-action{margin-top:20px}.bottom-nav{display:none}dialog{width:min(440px,calc(100% - 28px));padding:0;border:1px solid #444;background:#111;color:var(--paper);box-shadow:0 30px 90px #000}dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}dialog form{padding:24px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between}.dialog-head h2{margin:5px 0 0;font-family:"Barlow Condensed";font-size:32px}.dialog-head+p{color:var(--muted);font-size:13px;line-height:1.5}fieldset{display:grid;gap:7px;margin:22px 0 0;padding:0;border:0}legend{margin-bottom:8px;color:var(--muted);font-size:10px;letter-spacing:.14em}fieldset label{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);cursor:pointer}fieldset label:has(input:checked){border-color:var(--red);background:#1f0c0b}fieldset b,fieldset small{display:block}fieldset b{font-size:13px}fieldset small{margin-top:2px;color:var(--muted);font-size:10px}.toast{position:fixed;left:50%;bottom:25px;z-index:100;max-width:calc(100% - 28px);padding:11px 15px;background:var(--paper);color:var(--black);font-size:12px;opacity:0;transform:translate(-50%,12px);pointer-events:none}.toast.is-visible{opacity:1;transform:translate(-50%,0)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:3px}
.reveal{animation:reveal var(--cinematic) cubic-bezier(.2,.75,.2,1) both}.hero-grid{animation-delay:.1s}.metrics{animation-delay:.2s}.lower-grid{animation-delay:.3s}.pulse{animation-delay:.4s}.slide{transition:opacity 850ms ease,transform 850ms cubic-bezier(.2,.75,.2,1)}.product,.toast{transition:border-color var(--fast),transform var(--fast),opacity var(--fast)}@keyframes reveal{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes zturn{0%,18%,100%{transform:rotateY(0)}48%,68%{transform:rotateY(180deg)}}
html[data-motion="reduced"] *,html[data-motion="reduced"] *::before,html[data-motion="reduced"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html[data-motion="system"] *,html[data-motion="system"] *::before,html[data-motion="system"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:980px){.app-shell{grid-template-columns:86px minmax(0,1fr)}.rail{padding-inline:13px}.brand{justify-content:center}.brand>span:last-child,.rail-nav .nav-item:not(.is-active){font-size:0}.rail-nav .nav-item{justify-content:center;padding:0}.rail-nav .nav-item span{width:auto;font-size:20px}.rail-foot .icon-button span:last-child,.rail-foot .profile>span:last-child{display:none}.rail-foot .icon-button,.rail-foot .profile{justify-content:center}.hero-grid{grid-template-columns:1fr}.signal-card{min-height:320px}.signal-label{margin-top:95px}.metrics{grid-template-columns:1fr 1fr}.metrics article:nth-child(2){border-right:1px solid var(--line)}.lower-grid{grid-template-columns:1fr}}
@media(max-width:680px){.app-shell{display:block}.rail{display:none}.topbar{min-height:68px;padding:12px 14px}.topbar .eyebrow{display:none}.store-name{margin:0}.top-actions .icon-only:first-child{display:none}.primary-action{gap:10px;padding-left:12px}.primary-action b{width:28px;height:28px}main{padding:30px 14px 104px}.intro{display:block;margin-bottom:24px}.intro h1,.empty-view h1{font-size:64px}.intro-copy{margin-top:22px;font-size:14px}.revenue-card{min-height:340px;padding:19px}.money{margin-top:30px;font-size:48px}.sales-chart svg{height:120px}.signal-card{min-height:330px;padding:20px}.metrics{grid-template-columns:1fr 1fr}.metrics article{padding:17px}.metrics strong{font-size:25px}.lower-grid{gap:10px;margin-top:10px}.panel{padding:18px}.product-grid{grid-template-columns:1fr}.activity li{grid-template-columns:36px minmax(0,1fr) auto}.activity time{display:none}.carousel-controls #motionToggle{display:none}.slides{min-height:280px}.slide h3{font-size:36px}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);padding:7px max(6px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));border-top:1px solid var(--line);background:rgba(9,9,9,.96);backdrop-filter:blur(15px)}.bottom-nav .nav-item{min-height:55px;display:grid;place-items:center;gap:0;padding:3px;font-size:10px;text-align:center}.bottom-nav .nav-item span{width:auto;font-size:18px}.toast{bottom:82px}}
.motion-chip{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #4a1715;background:#1d0d0c;color:#ff8b86;font-size:11px;cursor:pointer}.motion-chip span{font-size:10px}.motion-chip:hover{border-color:var(--red)}
.feature-dock{margin-top:14px}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}.tool-grid>button{min-height:76px;display:flex;align-items:center;gap:13px;padding:12px;border:1px solid var(--line);background:#0d0d0d;text-align:left;cursor:pointer}.tool-grid>button:hover{border-color:#64605c;transform:translateY(-1px)}.tool-grid i{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;background:#26100f;color:#ff716b;font-size:17px;font-style:normal}.tool-grid b,.tool-grid small{display:block}.tool-grid b{font-size:13px}.tool-grid small{margin-top:4px;color:var(--muted);font-size:10px}.more-view{min-height:70vh}.more-view>h1{margin:10px 0 40px;font-family:"Barlow Condensed";font-size:clamp(58px,8vw,108px);font-weight:600;line-height:.77}.more-view>h1 span{display:block}.more-view>h1 span:last-child{color:var(--red)}.all-tools{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}
.checkout-view h1{margin:10px 0 0;font-family:"Barlow Condensed";font-size:clamp(58px,7vw,98px);font-weight:600;line-height:.77}.checkout-view h1 span{display:block}.checkout-view h1 span:last-child{color:var(--red)}.checkout-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.product-search{width:min(480px,48%);height:50px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #414141;background:#0e0e0e}.product-search input{width:100%;border:0;outline:0;background:transparent;color:var(--paper);font-size:13px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.7fr);gap:14px}.category-row{display:flex;gap:6px;overflow:auto;padding-bottom:4px}.category-row button{min-height:38px;flex:0 0 auto;padding:0 14px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:11px}.category-row button.is-active{border-color:var(--red);background:#23100f;color:#fff}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.catalog-item{min-height:155px;display:flex;flex-direction:column;align-items:flex-start;padding:12px;border:1px solid var(--line);background:#0d0d0d;text-align:left;cursor:pointer}.catalog-item:hover{border-color:#65615d;transform:translateY(-2px)}.catalog-item .product-art{width:100%;height:75px;margin-bottom:13px}.catalog-item b,.catalog-item small{display:block}.catalog-item b{font-size:13px}.catalog-item small{margin-top:5px;color:var(--muted);font-size:10px}.cart{display:flex;flex-direction:column;min-height:520px}.cart-lines{display:grid;align-content:start;gap:7px;min-height:210px;margin-top:20px}.cart-empty{display:grid;place-items:center;padding:45px 15px;color:var(--muted);text-align:center}.cart-empty span{font-size:32px}.cart-empty b{margin-top:10px;color:var(--paper);font-size:14px}.cart-empty small{margin-top:5px}.cart-line{display:grid;grid-template-columns:minmax(0,1fr) 88px auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.cart-line b,.cart-line small{display:block}.cart-line b{font-size:12px}.cart-line small{margin-top:4px;color:var(--muted);font-size:10px}.quantity{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line)}.quantity button{width:28px;height:30px;border:0;background:transparent}.quantity span{font-size:12px}.cart-line>strong{font-family:"Barlow Condensed";font-size:17px}.cart-summary{display:grid;gap:11px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.cart-summary>div{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.cart-summary button{border:0;background:transparent;color:#ff716b}.cart-summary .cart-total{align-items:end;margin-top:5px;color:var(--paper)}.cart-total strong{font-family:"Barlow Condensed";font-size:31px}.pay-button{min-height:52px;display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:0 17px;border:1px solid var(--red);background:var(--red);font-weight:500}.pay-button:disabled{border-color:#333;background:#202020;color:#706d69}.pay-button b{font-family:"Barlow Condensed";font-size:21px}
.intro h1 span,.empty-view h1 span,.more-view h1 span,.checkout-view h1 span{animation:heading-up var(--cinematic) cubic-bezier(.2,.75,.2,1) both}.intro h1 span:nth-child(2),.empty-view h1 span:nth-child(2),.more-view h1 span:nth-child(2),.checkout-view h1 span:nth-child(2){animation-delay:.1s}.chart-line{stroke-dasharray:900;stroke-dashoffset:900;animation:chart-draw 1.25s .35s cubic-bezier(.2,.75,.2,1) forwards}.live-pill i{animation:live-pulse 1.6s ease-in-out infinite}.motion-chip span{animation:play-pulse 1.8s ease-in-out infinite}.catalog-item,.tool-grid>button{transition:transform var(--fast),border-color var(--fast)}@keyframes heading-up{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}@keyframes chart-draw{to{stroke-dashoffset:0}}@keyframes live-pulse{50%{opacity:.25;transform:scale(.72)}}@keyframes play-pulse{50%{opacity:.45}}
@media(max-width:1100px){.all-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.checkout-head{display:block}.product-search{width:100%;margin-top:24px}.checkout-layout{grid-template-columns:1fr}.cart{min-height:430px}.tool-grid,.all-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.top-actions{gap:5px}.motion-chip{width:42px;padding:0;justify-content:center}.motion-chip b{display:none}.top-actions>.icon-only{display:none}.feature-dock{padding:16px}.tool-grid,.all-tools{grid-template-columns:1fr 1fr;gap:6px}.tool-grid>button{min-height:72px;padding:9px}.tool-grid i{width:32px;height:32px;flex-basis:32px}.tool-grid small{display:none}.more-view>h1,.checkout-view h1{font-size:60px}.catalog-grid{grid-template-columns:1fr 1fr}.catalog-item{min-height:142px}.bottom-nav{grid-template-columns:repeat(5,1fr)}.bottom-nav .nav-item{font-size:9px}.carousel-controls #motionToggle{display:block}}
html[data-theme="navy"]{--red:#4f46e5}html[data-theme="navy"] .brand-mark{background:#4f46e5}html[data-theme="navy"] .nav-item.is-active{border-color:#29358a;background:#101530}html[data-theme="navy"] .nav-item.is-active span,html[data-theme="navy"] .slide>span,html[data-theme="navy"] .cart-summary button{color:#9aa9ff}html[data-theme="navy"] .motion-chip{border-color:#37449b;background:#121735;color:#b5bfff}html[data-theme="navy"] .signal-card{background:linear-gradient(145deg,#111827,#15183b)}html[data-theme="navy"] .tool-grid i{background:#151936;color:#aab5ff}html[data-theme="navy"] .art-red{background:#1b2250;color:#aab5ff}html[data-theme="navy"] fieldset label:has(input:checked){border-color:#4f46e5;background:#121735}html[data-theme="navy"] #chartFill stop:first-child{stop-color:#4f46e5}html[data-theme="navy"] .primary-action,html[data-theme="navy"] .pay-button{background:#4f46e5;border-color:#4f46e5}html[data-theme="navy"] .primary-action:hover{background:#6273f2}
.topbar-start{display:flex;align-items:center;gap:12px}.rail-toggle{flex:0 0 42px}.rail-nav{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3e3e3e transparent;padding-right:3px}.rail-nav::-webkit-scrollbar{width:5px}.rail-nav::-webkit-scrollbar-thumb{background:#3e3e3e}.nav-divider{padding:22px 14px 8px;color:#6e6a66;font-family:"Barlow Condensed";font-size:9px;letter-spacing:.18em}.app-shell,.rail,.brand>span:last-child,.nav-item,.rail-foot span{transition:all 260ms cubic-bezier(.2,.75,.2,1)}.app-shell[data-rail="collapsed"]{grid-template-columns:86px minmax(0,1fr)}.app-shell[data-rail="collapsed"] .rail{padding-inline:13px}.app-shell[data-rail="collapsed"] .brand{justify-content:center}.app-shell[data-rail="collapsed"] .brand>span:last-child,.app-shell[data-rail="collapsed"] .nav-divider,.app-shell[data-rail="collapsed"] .rail-foot .icon-button span:last-child,.app-shell[data-rail="collapsed"] .rail-foot .profile>span:last-child{display:none}.app-shell[data-rail="collapsed"] .rail-nav .nav-item{justify-content:center;padding-inline:0;font-size:0}.app-shell[data-rail="collapsed"] .rail-nav .nav-item span{width:auto;font-size:20px}.app-shell[data-rail="collapsed"] .rail-foot .icon-button,.app-shell[data-rail="collapsed"] .rail-foot .profile{justify-content:center}
html[data-theme="fusion"]{--black:#edf3fb;--surface:#fff;--surface-2:#f7f9fd;--line:#d7e1ee;--red:#315be8;--paper:#172033;--muted:#65758b;--good:#07835c;--warn:#b65c05;color-scheme:light;background:var(--black);color:var(--paper)}html[data-theme="fusion"] body{background:linear-gradient(145deg,#eef4fb,#f8fafc);color:var(--paper)}html[data-theme="fusion"] .rail{background:#10234f;color:#f8fafc;border-color:#263b69}html[data-theme="fusion"] .brand small,html[data-theme="fusion"] .rail .profile small{color:#a9b9da}html[data-theme="fusion"] .rail .nav-item{color:#cbd7ef}html[data-theme="fusion"] .rail .nav-item:hover{background:#182f63;border-color:#355087}html[data-theme="fusion"] .rail .nav-item.is-active{background:#315be8;border-color:#6989f5;color:#fff}html[data-theme="fusion"] .topbar{background:rgba(247,250,253,.94);border-color:var(--line)}html[data-theme="fusion"] .icon-only{border-color:#cdd9e7}html[data-theme="fusion"] .revenue-card,html[data-theme="fusion"] .signal-card,html[data-theme="fusion"] .panel,html[data-theme="fusion"] .metrics article{box-shadow:0 10px 28px rgba(31,56,98,.06)}html[data-theme="fusion"] .signal-card{background:linear-gradient(145deg,#142a5b,#315be8);color:#fff}html[data-theme="fusion"] .signal-card>p:not(.signal-label),html[data-theme="fusion"] .signal-card .signal-label,html[data-theme="fusion"] .signal-card dt{color:#d7e2fb}html[data-theme="fusion"] .product,html[data-theme="fusion"] .tool-grid>button,html[data-theme="fusion"] .catalog-item{background:#fbfdff;color:#172033}html[data-theme="fusion"] .tool-grid i{background:#e9efff;color:#315be8}html[data-theme="fusion"] .motion-chip{border-color:#b9c9fb;background:#e9efff;color:#2348c2}html[data-theme="fusion"] .bottom-nav{background:rgba(247,250,253,.97);border-color:#d7e1ee}html[data-theme="fusion"] dialog{background:#fff;color:#172033}html[data-theme="fusion"] fieldset label:has(input:checked){border-color:#315be8;background:#edf2ff}html[data-theme="fusion"] #chartFill stop:first-child{stop-color:#315be8}
.view.page-enter{animation:page-enter 360ms cubic-bezier(.2,.75,.2,1) both}@keyframes page-enter{from{opacity:.82;transform:translateX(14px)}to{opacity:1;transform:none}}
@media(max-width:980px){.rail-toggle{display:none}}
.operations-view h1{margin:8px 0 5px;font-family:"Barlow Condensed";font-size:clamp(46px,6vw,78px);line-height:.9}.module-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:25px}.module-head p:not(.kicker){max-width:620px;margin:12px 0 0;color:var(--muted)}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:14px}.stat-strip article{padding:20px;border:1px solid var(--line);background:var(--surface)}.stat-strip span,.stat-strip small{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em}.stat-strip strong{display:block;margin:8px 0 4px;font-family:"Barlow Condensed";font-size:28px}.inline-search{min-height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line)}.inline-search input{width:180px;border:0;outline:0;background:transparent;color:inherit}.data-table{margin-top:18px;overflow:auto}.data-row{min-width:620px;display:grid;grid-template-columns:1.4fr .8fr .7fr .7fr;align-items:center;gap:12px;padding:13px 10px;border-bottom:1px solid var(--line);font-size:12px}.data-row.header{color:var(--muted);font-size:9px;letter-spacing:.12em}.data-row b,.data-row small{display:block}.data-row small{margin-top:3px;color:var(--muted)}.stock-low{color:var(--warn)}.report-filters{display:flex;align-items:end;gap:10px;margin-bottom:14px}.report-filters label,.form-grid label{display:grid;gap:6px;color:var(--muted);font-size:9px;letter-spacing:.12em}.report-filters input,.report-filters select,.form-grid input,.form-grid select,.form-grid textarea{min-height:42px;padding:0 11px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}.module-dialog{width:min(760px,calc(100% - 24px));max-height:90dvh;overflow:auto}.module-dialog form,.module-dialog .dialog-frame{padding:clamp(18px,4vw,34px)}.module-dialog .dialog-head+p{margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid .wide{grid-column:1/-1}.form-grid textarea{min-height:92px;padding-top:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.change-box{display:flex;align-items:center;justify-content:space-between;padding:16px;border:1px solid var(--line);background:var(--surface-2)}.change-box span{font-size:10px;letter-spacing:.12em}.change-box strong{font-family:"Barlow Condensed";font-size:30px}.module-list{display:grid;gap:8px}.module-card{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px;border:1px solid var(--line);background:var(--surface-2)}.module-card b,.module-card small{display:block}.module-card small{margin-top:5px;color:var(--muted)}.module-card button{border:0;background:transparent;color:var(--red);cursor:pointer}.feature-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.feature-checks label{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid var(--line);font-size:12px}.receipt-preview{padding:24px;border:1px dashed var(--line);background:#fff;color:#111;text-align:center;font-family:monospace}.receipt-preview[data-align="left"]{text-align:left}.receipt-preview[data-align="right"]{text-align:right}.receipt-preview .watermark{margin-top:18px;color:#777;font-size:9px}.badge{display:inline-block;padding:4px 7px;border:1px solid var(--line);color:var(--muted);font-size:9px}.empty-state{padding:35px;text-align:center;color:var(--muted)}
@media(max-width:680px){.module-head{display:block}.module-head .primary-action{margin-top:18px}.stat-strip{grid-template-columns:1fr}.report-filters{display:grid;grid-template-columns:1fr 1fr}.form-grid,.feature-checks{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.data-panel{padding:14px}.inline-search input{width:120px}}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:20px}.studio-layout aside{min-width:0}.editor-label{display:block;margin:20px 0 8px;color:var(--muted);font-size:9px;letter-spacing:.14em}.section-order{display:grid;gap:5px}.section-order>div{display:grid;grid-template-columns:1fr 36px 36px;align-items:center;min-height:42px;padding-left:12px;border:1px solid var(--line);font-size:12px}.section-order button,.share-grid button,.settings-stack button,.support-card button,.hardware-grid button{border:1px solid var(--line);background:var(--surface-2);color:var(--paper);cursor:pointer}.section-order button{height:100%}.receipt-preview section{padding:10px 0;border-bottom:1px dashed #aaa}.receipt-preview section:last-child{border:0}.receipt-preview span{float:right}.receipt-logo{width:36px;height:36px;display:grid;place-items:center;margin:0 auto 10px;background:#111;color:#fff;font:700 20px Barlow}.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.share-grid button{min-height:38px}.studio-layout aside>small{display:block;margin-top:10px;color:var(--muted);line-height:1.45}.settings-stack{display:grid;gap:14px}.settings-stack>section,.plan-card,.support-card,.privacy-note{padding:18px;border:1px solid var(--line);background:var(--surface-2)}.settings-stack h3{margin:0 0 14px;font-family:"Barlow Condensed";font-size:24px}.settings-stack p{color:var(--muted);font-size:12px;line-height:1.5}.plan-card button,.support-card button{min-height:40px;padding:0 14px}.brand-studio{display:grid;grid-template-columns:80px 1fr;gap:16px}.brand-preview{width:80px;height:80px;display:grid;place-items:center;border-radius:18px;background:var(--red);color:#fff;font:700 38px "Barlow Condensed"}.hardware-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hardware-grid button{min-height:110px;display:grid;place-items:center;padding:12px}.hardware-grid i{font-size:24px;font-style:normal}.hardware-grid b,.hardware-grid small{display:block}.hardware-grid small{color:var(--muted)}.privacy-note{margin-top:10px}.support-card{display:grid;gap:10px;margin-bottom:10px}.support-card select,.support-card textarea{width:100%;padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.support-card textarea{min-height:100px}
@media(max-width:760px){.studio-layout{grid-template-columns:1fr}.hardware-grid{grid-template-columns:1fr}.brand-studio{grid-template-columns:1fr}.module-dialog{max-height:94dvh}}
.quick-theme{height:42px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--line);color:var(--muted);font-size:9px;letter-spacing:.1em}.quick-theme select{border:0;background:transparent;color:var(--paper);font-size:11px}.save-status{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.save-status span{padding:6px 9px;border:1px solid var(--line);color:var(--muted);font-size:10px}.receipt-result-dialog .receipt-preview{max-width:380px;margin:18px auto}.receipt-result-dialog .receipt-preview h3{margin:5px}.receipt-result-dialog .receipt-preview hr{border:0;border-top:1px dashed #999}.receipt-actions{flex-wrap:wrap}@media(max-width:850px){.quick-theme span{display:none}}@media(max-width:680px){.quick-theme{position:fixed;right:8px;bottom:76px;z-index:51;background:var(--surface);box-shadow:0 8px 25px rgba(0,0,0,.18)}}
.signature-box{padding:14px;border:1px solid var(--line)}.signature-box small,.signature-box b{display:block}.signature-box small{margin-top:4px;color:var(--muted)}.signature-box canvas{width:100%;height:150px;margin:12px 0;border:1px dashed var(--line);background:#fff;touch-action:none}.signature-box>div:last-child{display:flex;align-items:end;justify-content:space-between;gap:12px}.workflow-builder{display:grid;gap:12px}.workflow-toggles{display:grid;grid-template-columns:1fr 1fr;gap:7px}.workflow-toggles label{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);font-size:12px}.field-builder{display:grid;grid-template-columns:1fr 140px auto;gap:7px}.field-builder input,.field-builder select{min-height:42px;padding:0 10px;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.custom-field-list{display:grid;gap:5px}.custom-field-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);font-size:12px}.custom-field-row button{min-height:32px;padding:0 9px}.custom-checkout-fields:empty{display:none}@media(max-width:680px){.workflow-toggles,.field-builder{grid-template-columns:1fr}.signature-box>div:last-child{display:block}}
.head-actions{display:flex;align-items:center;gap:8px}@media(max-width:680px){.head-actions{margin-top:18px;align-items:stretch}.head-actions .primary-action{margin-top:0}}
.launch-screen{position:fixed;inset:0;z-index:9999;display:grid;place-content:center;justify-items:center;background:#090909;color:#f5f4f1;transition:opacity 520ms ease,visibility 520ms}.launch-screen.is-done{opacity:0;visibility:hidden}.launch-screen b{margin-top:18px;font:700 42px "Barlow Condensed";letter-spacing:.18em}.launch-screen small{margin-top:7px;color:#8f8c87;font-size:9px;letter-spacing:.24em}.launch-orbit{width:104px;height:104px;display:grid;place-items:center;border:1px solid #393939;border-radius:50%;animation:launch-orbit 1.5s cubic-bezier(.2,.75,.2,1) both}.launch-orbit::before{content:"";position:absolute;width:82px;height:82px;border:1px dashed #da231f;border-radius:50%;animation:orbit 2.4s linear infinite}.launch-orbit span{position:relative;font:700 58px "Barlow Condensed";color:#da231f;animation:launch-z 1.1s cubic-bezier(.2,.75,.2,1) both}@keyframes launch-orbit{from{opacity:0;transform:scale(.55) rotate(-90deg)}to{opacity:1;transform:none}}@keyframes launch-z{from{opacity:0;transform:translateY(18px) rotateY(180deg)}to{opacity:1;transform:none}}
.command-dialog{width:min(560px,calc(100% - 24px))}.command-dialog .dialog-frame{padding:24px}.command-search{height:48px;display:flex;align-items:center;gap:10px;margin:18px 0 10px;padding:0 13px;border:1px solid var(--line)}.command-search input{width:100%;border:0;outline:0;background:transparent;color:var(--paper)}.command-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.command-list button{min-height:74px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:9px;padding:11px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper);text-align:left}.command-list button>span{grid-row:1/3;font-size:22px}.command-list b,.command-list small{display:block}.command-list small{color:var(--muted)}
.onboarding-dialog{width:min(680px,calc(100% - 24px));background:var(--surface);color:var(--paper)}.onboarding-dialog form{padding:clamp(22px,5vw,46px)}.onboarding-brand{display:flex;align-items:center;gap:10px}.onboarding-brand span{width:38px;height:38px;display:grid;place-items:center;background:var(--red);color:#fff;font:700 24px "Barlow Condensed"}.onboarding-brand b{font:700 21px "Barlow Condensed";letter-spacing:.12em}.onboard-progress{display:flex;gap:5px;margin:25px 0}.onboard-progress i{width:34px;height:3px;background:var(--line)}.onboard-progress i.is-active{background:var(--red)}.onboarding-dialog h2{max-width:540px;margin:10px 0;font:600 clamp(36px,7vw,58px)/.95 "Barlow Condensed"}.onboarding-dialog section>p:not(.kicker){color:var(--muted)}.onboarding-dialog section>label{display:grid;gap:7px;margin-top:15px;color:var(--muted);font-size:10px;letter-spacing:.1em}.onboarding-dialog input,.onboarding-dialog select{min-height:48px;padding:0 12px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.choice-grid label{display:flex;gap:10px;padding:18px;border:1px solid var(--line)}.choice-grid label:has(input:checked){border-color:var(--red);background:var(--surface-2)}.choice-grid b,.choice-grid small{display:block}.choice-grid small{margin-top:6px;color:var(--muted);line-height:1.45}.onboard-actions{display:flex;justify-content:space-between;margin-top:28px}html[data-experience="simple"] .rail-nav .nav-divider,html[data-experience="simple"] .rail-nav [data-tool]{display:none}
@media(max-width:680px){.command-list,.choice-grid{grid-template-columns:1fr}.launch-screen b{font-size:34px}}
.settings-search{position:sticky;top:-1px;z-index:3;padding:8px 0 14px;background:var(--surface)}.settings-search label{height:46px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--line);background:var(--surface-2)}.settings-search input{width:100%;border:0;outline:0;background:transparent;color:var(--paper)}.settings-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.settings-action-grid button{min-height:76px;padding:13px;border:1px solid var(--line);background:var(--surface);color:var(--paper);text-align:left}.settings-action-grid b,.settings-action-grid small{display:block}.settings-action-grid small{margin-top:5px;color:var(--muted)}.layout-list{display:grid;gap:5px;margin-top:16px}.layout-list>div{display:grid;grid-template-columns:34px minmax(0,1fr) 70px 38px 38px;align-items:center;min-height:52px;padding:5px;border:1px solid var(--line);background:var(--surface-2)}.layout-grip{color:var(--muted);font:600 11px "Barlow Condensed"}.layout-list label{display:flex;align-items:center;gap:5px;font-size:11px}.layout-list button{height:38px;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.org-checklist{display:grid;gap:6px;margin-top:18px;padding:15px;border:1px solid var(--line)}.org-checklist>b{margin-bottom:5px}.org-checklist label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.points-table{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0}.points-table>div{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line)}.points-table b{color:var(--red)}.points-table span{font-size:11px}@media(max-width:600px){.settings-action-grid,.points-table{grid-template-columns:1fr}.layout-list>div{grid-template-columns:28px minmax(0,1fr) 58px 34px 34px}.layout-list>div b{font-size:11px}}
.settings-category-nav{position:sticky;top:60px;z-index:3;display:flex;gap:6px;overflow-x:auto;padding:0 0 14px;background:var(--surface);scrollbar-width:none}.settings-category-nav::-webkit-scrollbar{display:none}.settings-category-nav button{min-height:38px;flex:0 0 auto;padding:0 13px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);color:var(--muted);font:600 11px Barlow;cursor:pointer}.settings-category-nav button.is-active{border-color:var(--red);background:var(--red);color:#fff}.account-settings-card>strong{display:block;font:600 20px "Barlow Condensed"}.module-dialog select,.onboarding-dialog select,.quick-theme select,.report-filters select{position:relative;z-index:1;touch-action:manipulation;cursor:pointer}.module-dialog label:focus-within,.onboarding-dialog label:focus-within,.quick-theme:focus-within{position:relative;z-index:20}.scroll-reveal:focus-within{opacity:1!important;transform:none!important;transition:none!important}
.settings-category-nav[data-active-tab="essentials"]+.settings-stack>section:not([data-settings-group="essentials"]),.settings-category-nav[data-active-tab="workflow"]+.settings-stack>section:not([data-settings-group="workflow"]),.settings-category-nav[data-active-tab="design"]+.settings-stack>section:not([data-settings-group="design"]),.settings-category-nav[data-active-tab="checkout"]+.settings-stack>section:not([data-settings-group="checkout"]),.settings-category-nav[data-active-tab="data"]+.settings-stack>section:not([data-settings-group="data"]),.settings-category-nav[data-active-tab="connections"]+.settings-stack>section:not([data-settings-group="connections"]),.settings-category-nav[data-active-tab="plan"]+.settings-stack>section:not([data-settings-group="plan"]),.settings-category-nav[data-active-tab="support"]+.settings-stack>section:not([data-settings-group="support"]),.settings-category-nav[data-active-tab="about"]+.settings-stack>section:not([data-settings-group="about"]){display:none!important}
.workspace-context{margin:3px 0 0;color:var(--muted);font-size:9px;letter-spacing:.08em}.workspace-context b{color:var(--paper);font-weight:500}.mode-summary{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:14px 0 22px;padding:14px 16px;border-left:3px solid var(--red);background:var(--surface)}.mode-summary>span{color:var(--red);font:600 13px "Barlow Condensed";letter-spacing:.08em;text-transform:uppercase}.mode-summary>b{font-size:12px}.mode-summary>small{grid-column:1/-1;color:var(--muted)}html[data-experience="simple"] .pulse{display:none}html[data-experience="advanced"] .mode-summary{border-left-color:var(--good)}
html[data-experience="simple"] .signal-card,html[data-experience="simple"] .top-actions .quick-theme,html[data-experience="simple"] .top-actions .motion-chip{display:none}html[data-experience="simple"] .hero-grid{grid-template-columns:1fr}html[data-experience="simple"] .intro-copy{max-width:460px}html[data-experience="simple"] .tool-grid>button{min-height:88px;border-radius:12px}html[data-experience="simple"] .catalog-item{min-height:128px;border-radius:12px}html[data-experience="simple"] .pay-button{min-height:62px;border-radius:12px}html[data-experience="simple"] .mode-summary{border-radius:10px;background:linear-gradient(135deg,var(--surface),var(--surface-2))}@media(max-width:680px){html[data-experience="simple"] .metrics{grid-template-columns:1fr 1fr}html[data-experience="simple"] .metrics article:nth-child(n+3){display:none}html[data-experience="simple"] .intro h1{font-size:52px}}
html[data-experience="simple"] .scroll-reveal:not(.in-view){opacity:1;transform:none}html[data-experience="simple"] .tool-grid>button,html[data-experience="simple"] .catalog-item,html[data-experience="simple"] .cart,html[data-experience="simple"] .catalog{border-color:#353535;background:#171717}html[data-experience="simple"] .tool-grid>button b,html[data-experience="simple"] .catalog-item b{font-weight:500;color:var(--paper)}
.launch-screen.is-done{pointer-events:none}
.settings-search,.settings-category-nav{position:relative;top:auto;z-index:1}
@media(max-width:680px){.bottom-nav{z-index:500;isolation:isolate;transform:translateZ(0);pointer-events:auto}.bottom-nav .nav-item{position:relative;z-index:1;pointer-events:auto}}
[hidden]{display:none!important}
/* Keep interactive rows stationary while view/reveal fades run; moving targets can lose a fast tap. */
.view.page-enter{animation:page-enter-stable 360ms cubic-bezier(.2,.75,.2,1) both}@keyframes page-enter-stable{from{opacity:.82}to{opacity:1}}
.view .panel.scroll-reveal,.view .panel.scroll-reveal:not(.in-view){transform:none}
.plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.plan-option{min-width:0;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.plan-option h3{margin:14px 0 7px;font:700 20px Barlow,sans-serif}.plan-option p,.reward-explainer p{margin:0 0 10px;color:var(--muted);font:400 13px/1.5 Barlow,sans-serif}.plan-crown{display:inline-grid;place-items:center;margin-right:5px;color:#f5c76b;font:700 17px/1 Georgia,serif;vertical-align:middle}.reward-explainer{padding:17px;border:1px solid var(--line);border-left:3px solid #f5c76b;border-radius:8px;background:var(--surface-2)}.reward-explainer h3{margin:0 0 9px;font:700 18px Barlow,sans-serif}@media(max-width:620px){.plan-options{grid-template-columns:1fr}.plan-option{padding:15px}}
.haptic-option{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);cursor:pointer}.haptic-option input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--red)}.haptic-option b,.haptic-option small{display:block}.haptic-option b{font-size:14px}.haptic-option small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}.haptic-option+button{min-height:44px;margin-top:10px;padding:0 14px}
.manual-payment-check{display:flex!important;align-items:flex-start;gap:12px;line-height:1.45;padding:12px 14px;border:1px solid var(--line);background:var(--surface)}
.manual-payment-check[hidden]{display:none!important}
.manual-payment-check input{width:20px;height:20px;flex:none;margin:1px 0 0}
.stock-history{max-height:145px;overflow:auto;margin-top:12px;padding:12px 14px;border:1px solid var(--line);font-size:13px}
.stock-history p{margin:7px 0 0;color:var(--muted)}
.checkout-top-tools{width:min(620px,58%);display:grid;gap:8px}.checkout-top-tools .product-search{width:100%}.order-type{display:flex;justify-content:flex-end;gap:5px}.order-type button{min-height:36px;padding:0 13px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:11px}.order-type button.is-active{border-color:var(--red);background:var(--red);color:#fff}.cart-head-actions{display:flex;gap:5px}.cart-head-actions .text-button{padding:0 5px}.cart-head-actions span{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:9px;background:var(--surface-2);font-size:9px}.order-reference{display:grid;gap:5px;margin-top:12px;color:var(--muted);font-size:9px;letter-spacing:.1em}.order-reference input{height:38px;padding:0 10px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}.cash-tender{display:grid;gap:9px}.cash-tender>label{display:grid;gap:6px}.tender-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.tender-presets button{min-height:40px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}.change-box{display:grid;grid-template-columns:1fr auto;align-items:center}.change-box small{grid-column:1/-1;margin-top:6px;color:var(--muted);font-size:10px}.change-box.is-short{border-color:#d33;background:rgba(190,35,31,.1)}.change-box.is-short strong,.change-box.is-short span{color:#ff655f}#saveSaleButton:disabled{opacity:.45;cursor:not-allowed}@media(max-width:850px){.checkout-top-tools{width:100%;margin-top:20px}.order-type{justify-content:flex-start}.checkout-head .product-search{margin-top:0}}@media(max-width:480px){.tender-presets{grid-template-columns:repeat(3,1fr)}.cart .section-head{align-items:flex-start}.cart-head-actions{flex-wrap:wrap;justify-content:flex-end}}
.receipt-print-choice{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:13px}
.scroll-reveal{transition:opacity .7s cubic-bezier(.2,.75,.2,1),transform .85s cubic-bezier(.2,.75,.2,1)}.scroll-reveal:not(.in-view){opacity:.55;transform:translateY(18px)}.hero-grid .signal-card{translate:0 calc(var(--scroll-shift,0px) * -.35)}.revenue-card{translate:0 calc(var(--scroll-shift,0px) * .12)}
.receipt-save-note{display:grid;gap:3px;margin-top:14px;padding:12px;border-left:3px solid var(--good);background:var(--surface-2)}.receipt-save-note small{color:var(--muted)}
.account-hero{display:flex;align-items:center;gap:16px;margin-bottom:14px}.account-hero h3{margin:7px 0 2px;font:600 28px "Barlow Condensed"}.account-hero p{margin:0;color:var(--muted)}.account-avatar{width:68px;height:68px;display:grid;place-items:center;flex:0 0 auto;border-radius:20px;background:var(--red);color:#fff;font:700 32px "Barlow Condensed"}.account-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.account-status-grid article{display:grid;gap:5px;padding:14px;border:1px solid var(--line);background:var(--surface-2)}.account-status-grid span,.account-status-grid small{color:var(--muted);font-size:10px}.account-settings-card{border-left:3px solid var(--red)!important}.account-actions button{min-height:44px;padding:0 14px}
html[data-device="phone"] button,html[data-device="tablet"] button{min-height:44px}html[data-device="phone"] .workspace,html[data-device="tablet"] .workspace{font-size:16px}
@media(max-width:760px){.account-status-grid{grid-template-columns:1fr}.scroll-reveal:not(.in-view){transform:translateY(12px)}.hero-grid .signal-card,.revenue-card{translate:none}}
@media(prefers-reduced-motion:reduce){.scroll-reveal,.scroll-reveal:not(.in-view){opacity:1;transform:none;transition:none}.hero-grid .signal-card,.revenue-card{translate:none}}
@media print{body>*{display:none!important}body>#saleReceiptDialog[open]{display:block!important;position:static;width:80mm;max-height:none;border:0;box-shadow:none;background:white;color:black}#saleReceiptDialog .dialog-head,#saleReceiptDialog .save-status,#saleReceiptDialog .receipt-actions,#saleReceiptDialog .receipt-print-choice{display:none!important}#saleReceiptDialog::backdrop{display:none}#saleReceiptDialog .dialog-frame{padding:0}#saleReceiptPreview{border:0;margin:0!important}}
.onboarding-dialog{max-height:94dvh;overflow:auto}.business-select-fallback{display:none!important}.business-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.business-choice-grid label{min-height:92px;align-items:flex-start;background:#0d0d0d}.business-choice-grid label:has(input:checked){border-color:#da231f;background:#1f0c0b}.business-choice-grid input{margin-top:3px;accent-color:#da231f}.business-choice-grid b{font:600 15px "Barlow Condensed";letter-spacing:.06em}.business-choice-grid small{font-family:Barlow,Arial,sans-serif}.onboarding-dialog h2{text-transform:uppercase}.bottom-nav{grid-template-columns:repeat(var(--mobile-nav-count,5),1fr)!important}
@media(max-width:680px){.business-choice-grid{grid-template-columns:1fr 1fr;max-height:360px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.business-choice-grid label{min-height:104px;padding:12px}.business-choice-grid b{font-size:14px}.onboarding-dialog form{padding:20px 16px}}

/* Zwell Scarlet signature system */
body{font-family:Barlow,Arial,sans-serif;background:#090909;background-image:radial-gradient(circle at 82% 4%,rgba(218,35,31,.12),transparent 28rem),linear-gradient(115deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:auto,42px 42px}
button{font-family:"Barlow Condensed",Barlow,sans-serif;font-weight:600;letter-spacing:.055em}input,select,textarea{font-family:Barlow,Arial,sans-serif}
.workspace{position:relative}.workspace::before{content:"";position:fixed;right:-12vw;top:8vh;width:44vw;height:44vw;border:1px solid rgba(218,35,31,.08);border-radius:50%;box-shadow:0 0 0 7vw rgba(218,35,31,.018),0 0 0 14vw rgba(218,35,31,.012);pointer-events:none;z-index:-1}
.rail{background:linear-gradient(180deg,#0e0e0e 0%,#090909 72%);box-shadow:18px 0 55px rgba(0,0,0,.28)}.brand-mark{border:0;background:linear-gradient(145deg,#f13631,#a70e0b);box-shadow:0 12px 30px rgba(218,35,31,.25)}.brand b{font-size:25px;letter-spacing:.12em}.brand small{color:#d0cbc5}
.rail-nav{gap:7px}.nav-item{position:relative;overflow:hidden;font-family:"Barlow Condensed",Barlow,sans-serif;font-size:15px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.nav-item::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;background:var(--red);transform:scaleY(0);transition:transform var(--fast)}.nav-item:hover{border-color:#393939;background:linear-gradient(90deg,rgba(218,35,31,.08),#121212)}.nav-item.is-active{border-color:#61201e;background:linear-gradient(100deg,#3a0e0c,#171111);box-shadow:inset 0 0 26px rgba(218,35,31,.09)}.nav-item.is-active::before{transform:scaleY(1)}
.topbar{background:linear-gradient(90deg,rgba(9,9,9,.97),rgba(20,11,11,.94));border-bottom-color:#30201f;box-shadow:0 14px 45px rgba(0,0,0,.26)}.store-name{font-weight:500}.workspace-context{color:#8f8983}.quick-theme,.motion-chip,.icon-only{background:rgba(17,17,17,.88)}
.primary-action,.pay-button{position:relative;overflow:hidden;border-color:#ef3a35;background:linear-gradient(135deg,#ee302b 0%,#b71310 100%);color:#fff;box-shadow:0 12px 32px rgba(218,35,31,.24),inset 0 1px rgba(255,255,255,.18);text-transform:uppercase}.primary-action::after,.pay-button::after{content:"";position:absolute;top:-80%;left:-40%;width:34%;height:260%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transform:rotate(18deg) translateX(-180%);transition:transform .75s cubic-bezier(.2,.75,.2,1)}.primary-action:hover::after,.pay-button:hover::after{transform:rotate(18deg) translateX(520%)}.primary-action:hover,.pay-button:hover{background:linear-gradient(135deg,#ff4741,#c41713);transform:translateY(-1px)}
.intro{position:relative}.intro::before{content:"";position:absolute;left:-24px;top:12px;width:4px;height:72%;background:linear-gradient(#da231f,transparent)}.intro h1,.empty-view h1,.more-view h1,.checkout-view h1,.module-head h1{font-family:"Barlow Condensed",Barlow,sans-serif;text-transform:uppercase;text-shadow:0 10px 36px rgba(0,0,0,.45)}.intro h1 span:last-child,.empty-view h1 span:last-child,.more-view h1 span:last-child,.checkout-view h1 span:last-child{color:var(--red)}.intro-copy{color:#d1ccc6;font-size:16px}
.revenue-card,.signal-card,.panel,.metrics article{position:relative;background:linear-gradient(145deg,#151515,#0e0e0e);border-color:#303030;box-shadow:0 18px 48px rgba(0,0,0,.22)}.revenue-card{overflow:hidden;background:radial-gradient(circle at 82% 12%,rgba(218,35,31,.18),transparent 18rem),linear-gradient(145deg,#171313,#0d0d0d 64%)}.revenue-card::before{content:"Z";position:absolute;right:3%;top:-18%;color:rgba(218,35,31,.055);font:700 min(30vw,360px)/1 "Barlow Condensed";transform:rotate(-8deg);pointer-events:none}.revenue-card>*{position:relative}.money{color:#fff;text-shadow:0 8px 28px rgba(0,0,0,.4)}.chart-line{filter:drop-shadow(0 0 7px rgba(218,35,31,.65))}
.metrics{gap:8px}.metrics article{border:1px solid #2b2b2b!important;overflow:hidden}.metrics article::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,var(--red),transparent 72%)}.metrics span,.card-head>span:first-child,.kicker{color:#c4bdb7}.metrics strong{color:#fff;font-size:32px}
.section-head h2,.dialog-head h2,.settings-stack h3,.account-hero h3{font-family:"Barlow Condensed",Barlow,sans-serif;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.feature-dock{background:linear-gradient(125deg,#151515,#0c0c0c)}
.tool-grid{gap:8px}.tool-grid>button{position:relative;isolation:isolate;overflow:hidden;border-color:#303030;background:linear-gradient(135deg,#171717,#101010);text-transform:uppercase}.tool-grid>button::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(218,35,31,.13),transparent 52%);opacity:0;transition:opacity var(--fast);z-index:-1}.tool-grid>button:hover{border-color:#8f2925;transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.3)}.tool-grid>button:hover::after{opacity:1}.tool-grid i{border-color:#58201e;background:linear-gradient(145deg,#3b1210,#1c0c0b);color:#ff5f59}.tool-grid b{font-family:"Barlow Condensed";font-size:15px;letter-spacing:.05em}.tool-grid small{font-family:Barlow,Arial,sans-serif;letter-spacing:0;text-transform:none}
.product,.catalog-item{position:relative;overflow:hidden;border-color:#303030;background:linear-gradient(145deg,#161616,#0d0d0d)}.product:hover,.catalog-item:hover{border-color:#9f302c;transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.32)}.product-art{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);font-family:"Barlow Condensed";font-weight:700}.product-art::after{content:"";position:absolute;inset:auto -20% -45% 20%;height:75%;background:rgba(255,255,255,.1);transform:rotate(-18deg)}.art-red{background:linear-gradient(145deg,#651916,#260d0c)}.art-cream{background:linear-gradient(145deg,#f3ebdc,#bcb2a0)}.art-gray{background:linear-gradient(145deg,#55524f,#242321)}.art-dark{background:linear-gradient(145deg,#214b38,#0d2118)}
.category-row button,.order-type button{font-family:"Barlow Condensed";font-weight:600;letter-spacing:.06em;text-transform:uppercase}.category-row button.is-active,.order-type button.is-active{box-shadow:0 8px 24px rgba(218,35,31,.2)}.product-search:focus-within,.order-reference:focus-within{border-color:#8f2925;box-shadow:0 0 0 3px rgba(218,35,31,.08)}
.cart{background:linear-gradient(160deg,#171313,#0d0d0d 60%)}.cart-total{border-top-color:#50201e}.cart-total strong{color:#ff514b;text-shadow:0 0 20px rgba(218,35,31,.28)}
.mode-summary{border-left-color:var(--red);background:linear-gradient(90deg,rgba(218,35,31,.12),#111 45%)}
dialog{border-color:#4a2927;background:#101010;box-shadow:0 36px 110px rgba(0,0,0,.82)}dialog::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#da231f,#ff5953 38%,transparent)}.module-dialog .dialog-frame,.command-dialog .dialog-frame{background:radial-gradient(circle at 100% 0,rgba(218,35,31,.1),transparent 22rem),#111}.settings-stack>section,.plan-card,.support-card,.privacy-note{border-color:#34302f;background:linear-gradient(145deg,#191919,#121212)}
.onboarding-dialog{background:radial-gradient(circle at 92% 5%,rgba(218,35,31,.16),transparent 22rem),#111}.onboarding-brand span{box-shadow:0 12px 30px rgba(218,35,31,.25)}.business-choice-grid label{position:relative;overflow:hidden;transition:transform var(--fast),border-color var(--fast),background var(--fast)}.business-choice-grid label:hover{border-color:#6e302d;transform:translateY(-2px)}.business-choice-grid label:has(input:checked){background:linear-gradient(135deg,#3b0e0c,#190d0c);box-shadow:inset 0 0 28px rgba(218,35,31,.12),0 10px 24px rgba(0,0,0,.22)}
.bottom-nav{background:rgba(8,8,8,.97);box-shadow:0 -16px 40px rgba(0,0,0,.36)}.bottom-nav .nav-item.is-active{background:linear-gradient(180deg,#34100e,#160c0b)}
html[data-theme="scarlet"] .toast{box-shadow:0 14px 34px rgba(218,35,31,.2)}
@media(max-width:680px){body{background-size:auto,30px 30px}.workspace::before{width:100vw;height:100vw;right:-55vw}.intro::before{left:-10px}.intro-copy{font-size:14px}.revenue-card{background:radial-gradient(circle at 82% 12%,rgba(218,35,31,.14),transparent 14rem),linear-gradient(145deg,#171313,#0d0d0d 64%)}.metrics{gap:7px}.metrics strong{font-size:27px}.tool-grid>button:hover,.catalog-item:hover,.product:hover{transform:none}.business-choice-grid label:hover{transform:none}}

/* Adaptive workspace, owner branding, and touch-first checkout */
.quick-settings-button{display:grid!important}.has-custom-logo{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:transparent!important}.brand-mark.has-custom-logo{border:1px solid var(--line)}.primary-action,.pay-button{border-color:var(--red);background:linear-gradient(135deg,var(--red),rgba(var(--brand-rgb,218,35,31),.68))}.nav-item.is-active{border-color:rgba(var(--brand-rgb,218,35,31),.48);background:linear-gradient(100deg,rgba(var(--brand-rgb,218,35,31),.24),#151111)}
html[data-logo-shape="soft"] .brand-mark,html[data-logo-shape="soft"] .brand-preview{border-radius:12px}html[data-logo-shape="circle"] .brand-mark,html[data-logo-shape="circle"] .brand-preview{border-radius:50%}
html[data-workspace-font="condensed"] body{font-family:"Barlow Condensed",Barlow,sans-serif}html[data-workspace-font="system"] body{font-family:Arial,"Segoe UI",sans-serif}html[data-workspace-font="serif"] body{font-family:Georgia,serif}html[data-workspace-font="serif"] button,html[data-workspace-font="serif"] input,html[data-workspace-font="serif"] select,html[data-workspace-font="serif"] textarea{font-family:Georgia,serif}
html[data-surface="contrast"] .panel,html[data-surface="contrast"] .metrics article,html[data-surface="contrast"] .catalog-item{border-color:#686868}html[data-surface="cinematic"] .panel,html[data-surface="cinematic"] .revenue-card{box-shadow:0 26px 70px rgba(0,0,0,.48)}
.business-checkout-context{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 12px}.business-checkout-context>div{min-width:0;padding:11px 13px;border:1px solid var(--line);background:var(--surface)}.business-checkout-context b,.business-checkout-context small{display:block}.business-checkout-context b{color:var(--red);font:600 12px "Barlow Condensed";letter-spacing:.1em}.business-checkout-context small{margin-top:4px;color:var(--muted);font-size:10px}
html[data-business-mode="qsr"] .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-business-mode="qsr"] .catalog-item{min-height:170px}html[data-business-mode="qsr"] .business-checkout-context>div:first-child{border-color:var(--red)}
html[data-business-mode="services"] .catalog-grid{grid-template-columns:1fr}html[data-business-mode="services"] .catalog-item{min-height:88px;grid-template-columns:68px minmax(0,1fr);grid-template-rows:1fr 1fr;text-align:left}html[data-business-mode="services"] .catalog-item .product-art{grid-row:1/3;width:60px;height:60px}html[data-business-mode="services"] .catalog-item b,html[data-business-mode="services"] .catalog-item small{align-self:end}html[data-business-mode="services"] .catalog-item small{align-self:start}
html[data-business-mode="organization"] .business-checkout-context{grid-template-columns:repeat(3,1fr)}html[data-business-mode="organization"] .business-checkout-context>div{border-top:2px solid var(--red)}html[data-business-mode="organization"] .catalog-item{min-height:120px}
html[data-business-mode="online"] .business-checkout-context>div:nth-child(2){border-color:var(--red)}html[data-business-mode="online"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.revenue-card::before{display:none}.mobile-cart-dock{display:none}

/* Simple mode stays calm: essentials, neutral surfaces, and minimal decoration. */
html[data-experience="simple"] body{background:#0b0b0b;background-image:none}html[data-experience="simple"] .workspace::before,html[data-experience="simple"] .intro::before,html[data-experience="simple"] .revenue-card::before{display:none}html[data-experience="simple"] .topbar{background:#0b0b0b;box-shadow:none}html[data-experience="simple"] .rail{background:#0b0b0b;box-shadow:none}html[data-experience="simple"] .brand-mark{background:var(--red);box-shadow:none}html[data-experience="simple"] .intro h1,html[data-experience="simple"] .checkout-view h1,html[data-experience="simple"] .more-view h1{text-shadow:none}html[data-experience="simple"] .intro h1 span:last-child,html[data-experience="simple"] .checkout-view h1 span:last-child,html[data-experience="simple"] .more-view h1 span:last-child{color:var(--paper)}html[data-experience="simple"] .revenue-card,html[data-experience="simple"] .panel,html[data-experience="simple"] .metrics article,html[data-experience="simple"] .catalog,html[data-experience="simple"] .cart{background:#111;border-color:#292929;box-shadow:none}html[data-experience="simple"] .metrics article::before{height:1px;background:#393939}html[data-experience="simple"] .chart-line{filter:none}html[data-experience="simple"] .primary-action,html[data-experience="simple"] .pay-button{background:var(--red);box-shadow:none}html[data-experience="simple"] .primary-action::after,html[data-experience="simple"] .pay-button::after{display:none}html[data-experience="simple"] .tool-grid>button,html[data-experience="simple"] .catalog-item,html[data-experience="simple"] .product{background:#141414;border-color:#303030;box-shadow:none}html[data-experience="simple"] .tool-grid>button::after{display:none}html[data-experience="simple"] .tool-grid i{background:#1d1d1d;border-color:#393939;color:var(--paper)}html[data-experience="simple"] .business-checkout-context>div{background:#101010}html[data-experience="simple"] .business-checkout-context b{color:var(--paper)}
html[data-experience="simple"] .catalog-item .product-art,html[data-experience="simple"] .product .product-art{background:#242424;color:#f5f4f1}
@media(min-width:700px) and (max-width:1024px){.checkout-layout{grid-template-columns:minmax(0,1fr) 340px}.cart{position:sticky;top:92px;align-self:start}html[data-business-mode="qsr"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
  .top-actions [data-action="new-sale"],#notificationButton{display:none}.quick-settings-button{display:grid!important}.quick-settings-button::after{content:""}
  .business-checkout-context{grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:auto;scroll-snap-type:x proximity}.business-checkout-context>div{min-width:128px;scroll-snap-align:start}
  html[data-business-mode="qsr"] .catalog-grid,html[data-business-mode="online"] .catalog-grid{grid-template-columns:1fr 1fr}html[data-business-mode="services"] .catalog-grid{grid-template-columns:1fr}
  .checkout-view{padding-bottom:78px}html[data-active-page="sell"] .mobile-cart-dock{position:fixed;left:8px;right:8px;bottom:78px;z-index:480;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border:1px solid #3a3a3a;background:#111;color:var(--paper);box-shadow:0 14px 38px rgba(0,0,0,.55);text-align:left}.mobile-cart-dock span,.mobile-cart-dock b,.mobile-cart-dock small{display:block}.mobile-cart-dock small{margin-top:2px;color:var(--muted);font-family:Barlow;font-size:9px}.mobile-cart-dock strong{font-size:20px}.mobile-cart-dock.has-items{border-color:var(--red);background:linear-gradient(100deg,rgba(var(--brand-rgb,218,35,31),.2),#111)}
  html[data-experience="simple"] .intro h1,html[data-experience="simple"] .checkout-view h1,html[data-experience="simple"] .more-view h1{font-size:44px;line-height:.86}html[data-experience="simple"] .revenue-card{min-height:300px}html[data-experience="simple"] .business-checkout-context{display:flex}
}

/* Accessible custom palettes and genuinely lightweight Simple mode */
:root{--on-accent:#fff}
.primary-action,.pay-button,.order-type button.is-active,.nav-item.is-active,.brand-mark,.onboarding-brand span{color:var(--on-accent)}
html[data-palette="custom"] body,html[data-palette="custom"] .topbar,html[data-palette="custom"] .rail,html[data-palette="custom"] .bottom-nav{background:var(--black);color:var(--paper)}
html[data-palette="custom"] .panel,html[data-palette="custom"] .revenue-card,html[data-palette="custom"] .signal-card,html[data-palette="custom"] .metrics article,html[data-palette="custom"] dialog,html[data-palette="custom"] .product,html[data-palette="custom"] .catalog-item,html[data-palette="custom"] .tool-grid>button{background:var(--surface);color:var(--paper)}
html[data-palette="custom"] .intro-copy,html[data-palette="custom"] .product small,html[data-palette="custom"] .catalog-item small,html[data-palette="custom"] .tool-grid small,html[data-palette="custom"] .activity small,html[data-palette="custom"] .activity time{color:var(--muted)}
html[data-palette="custom"] .nav-item.is-active,html[data-palette="custom"] .category-row button.is-active{border-color:var(--red);background:var(--red);color:var(--on-accent)}
html[data-radius="none"]{--radius:0px}html[data-radius="medium"]{--radius:12px}html[data-radius="round"]{--radius:22px}
html[data-radius] .panel,html[data-radius] .revenue-card,html[data-radius] .signal-card,html[data-radius] .metrics article,html[data-radius] .catalog-item,html[data-radius] .tool-grid>button,html[data-radius] .business-checkout-context>div{border-radius:var(--radius)}
html[data-density="compact"] main{padding-top:24px}html[data-density="compact"] .panel{padding:16px}html[data-density="compact"] .tool-grid,html[data-density="compact"] .catalog-grid{gap:5px}html[data-density="roomy"] .panel{padding:34px}html[data-density="roomy"] .tool-grid,html[data-density="roomy"] .catalog-grid{gap:14px}
.theme-safety-note{display:grid;gap:4px;margin-bottom:14px;padding:12px;border-left:3px solid var(--red);background:var(--surface-2)}.theme-safety-note b{font-size:12px}.theme-safety-note span{color:var(--muted);font-size:11px;line-height:1.4}
.form-grid input[type="color"]{width:100%;padding:4px;cursor:pointer}

html[data-experience="simple"] body,html[data-experience="simple"] .topbar,html[data-experience="simple"] .rail{background:var(--black)}
html[data-experience="simple"] .intro{align-items:center;margin-bottom:18px}html[data-experience="simple"] .intro h1{font-size:clamp(38px,5vw,64px);line-height:.86}html[data-experience="simple"] .intro-copy{max-width:340px}
html[data-experience="simple"] .hero-grid,html[data-experience="simple"] .metrics,html[data-experience="simple"] .lower-grid,html[data-experience="simple"] .pulse{display:none}
html[data-experience="simple"] .feature-dock{margin-top:0;padding:18px;background:var(--surface);border-color:color-mix(in srgb,var(--paper) 16%,transparent)}
html[data-experience="simple"] .feature-dock .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}html[data-experience="simple"] .feature-dock .tool-grid>button{min-height:68px;background:transparent;border-color:color-mix(in srgb,var(--paper) 14%,transparent)}
html[data-experience="simple"] .feature-dock .tool-grid i{background:transparent;border:1px solid color-mix(in srgb,var(--paper) 18%,transparent);color:var(--paper)}
html[data-experience="simple"] .business-checkout-context{display:none}html[data-experience="simple"] .checkout-head h1{font-size:clamp(42px,7vw,64px)}html[data-experience="simple"] .catalog-item .product-art{height:46px;margin-bottom:8px}html[data-experience="simple"] .catalog-item{min-height:105px}

/* Organization mode uses one command dashboard and modal tools. */
.organization-command-center{display:none}
html[data-business-mode="organization"] .organization-command-center{display:grid;gap:9px;margin-bottom:14px}
.org-search{width:100%;min-height:58px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:8px 14px;border:1px solid var(--line);background:var(--surface);color:var(--paper);text-align:left}.org-search b,.org-search small{display:block}.org-search small{margin-top:3px;color:var(--muted)}.org-search kbd{padding:4px 7px;border:1px solid var(--line);color:var(--muted);font:10px Barlow}
.org-command-actions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.org-command-actions button{min-height:96px;display:grid;align-content:center;gap:4px;padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--paper);text-align:left}.org-command-actions button:hover{border-color:var(--red)}.org-command-actions button>span{color:var(--red);font-size:20px}.org-command-actions b,.org-command-actions small{display:block}.org-command-actions b{font-size:12px}.org-command-actions small{color:var(--muted);font-size:9px;line-height:1.3}
html[data-business-mode="organization"] .feature-dock{display:none}html[data-business-mode="organization"] .quick-sale{display:none}html[data-business-mode="organization"] .lower-grid{grid-template-columns:1fr}
.tools-search{max-width:520px;margin:0 0 16px;background:var(--surface)}.tools-search input{width:100%}
@media(min-width:851px){html[data-business-mode="qsr"] .checkout-layout{grid-template-columns:minmax(0,1.6fr) minmax(300px,.65fr)}html[data-business-mode="services"] .checkout-layout{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)}html[data-business-mode="online"] .checkout-layout{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}}
@media(max-width:980px){.org-command-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){html[data-experience="simple"] .intro-copy{display:none}html[data-experience="simple"] .feature-dock .tool-grid{grid-template-columns:1fr}html[data-experience="simple"] .feature-dock .tool-grid>button{min-height:60px}.org-command-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.org-command-actions button{min-height:78px}.org-command-actions .org-secondary{display:none}.org-command-actions.is-expanded .org-secondary{display:grid}.org-command-actions .org-more-toggle{display:grid}.org-search kbd{display:none}}
@media(min-width:681px){.org-more-toggle{display:none!important}}
@media(max-width:680px){.view.page-enter{animation-duration:260ms}.organization-command-center{padding-bottom:8px}.ledger-empty{grid-column:1/-1}.toast{bottom:82px}}
.desktop-offline-gate{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:24px;background:var(--black);color:var(--paper)}.desktop-offline-gate[hidden]{display:none}.desktop-offline-gate>div{width:min(560px,100%);padding:34px;border:1px solid var(--line);background:var(--surface)}.desktop-offline-gate span{color:var(--red);font:600 12px "Barlow Condensed";letter-spacing:.18em}.desktop-offline-gate h1{margin:12px 0;font:600 clamp(38px,6vw,70px)/.9 "Barlow Condensed"}.desktop-offline-gate p{color:var(--muted);line-height:1.6}.desktop-offline-gate button{min-height:46px;padding:0 18px;border:1px solid var(--red);background:var(--red);color:var(--on-accent)}
.publishing-status,.connection-contract{padding:18px;border:1px solid var(--line);background:var(--surface-2)}.publishing-status h3{margin:12px 0 6px;font:600 28px "Barlow Condensed"}.publishing-status p,.connection-contract p,.connection-contract li{color:var(--muted);line-height:1.55}.publishing-settings-form{margin-top:14px}.connection-contract{margin-top:14px}.connection-contract ol{padding-left:20px}.connection-contract li+li{margin-top:8px}
.guide-dialog{width:min(560px,calc(100% - 24px));border-color:var(--red)}.guide-dialog .dialog-frame{padding:clamp(24px,5vw,44px)}.guide-progress,.guide-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.guide-progress{margin-bottom:38px;color:var(--muted);font-size:11px}.guide-progress button,.guide-actions>button:first-child{border:0;background:transparent;color:var(--muted)}.guide-dialog h2{margin:10px 0;font:600 clamp(40px,8vw,68px)/.88 "Barlow Condensed"}.guide-dialog section>p:last-child{color:var(--muted);font-size:14px;line-height:1.6}.guide-actions{margin-top:36px}.guide-actions button:disabled{opacity:.35}.workflow-board{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.workflow-board article{display:grid;align-content:start;min-height:180px;padding:18px;border:1px solid var(--line);background:var(--surface-2)}.workflow-board article>span{color:var(--red);font:600 11px "Barlow Condensed";letter-spacing:.14em}.workflow-board article>b{margin-top:22px;font:600 24px "Barlow Condensed"}.workflow-board article>small{margin:8px 0 20px;color:var(--muted);line-height:1.45}.workflow-board article>button{min-height:40px;margin-top:auto;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.catalog-manager-list{display:grid;gap:6px;margin-top:16px}.catalog-manager-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line)}.catalog-manager-row b,.catalog-manager-row small{display:block}.catalog-manager-row small{margin-top:4px;color:var(--muted)}.catalog-manager-row>div{display:flex;gap:5px}.catalog-manager-row button{min-height:34px;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.bulk-import{display:grid;gap:6px;margin-top:16px;padding:12px;border:1px dashed var(--line);color:var(--muted);font-size:11px}.bulk-import small{color:var(--muted)}
@media(max-width:680px){.workflow-board{grid-template-columns:1fr}.catalog-manager-row{align-items:flex-start;flex-direction:column}.catalog-manager-row>div{width:100%;overflow-x:auto}}
select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--paper);outline-offset:3px}@media(prefers-contrast:more){:root{--line:currentColor}.panel,.catalog-item,.tool-grid>button,.nav-item{border-width:2px}}@media(max-width:680px){button,select,input[type="button"],input[type="submit"]{min-height:44px}.icon-only{min-width:44px}.command-list button,.org-command-actions button{min-height:72px}}
.guide-dialog{position:fixed;inset:0;z-index:1200;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:none}.guide-dialog .dialog-frame{position:fixed;padding:22px;border:1px solid var(--red);background:var(--surface);box-shadow:0 24px 80px rgba(0,0,0,.55);pointer-events:auto}.guide-target{position:relative!important;z-index:1199!important;outline:4px solid var(--red)!important;outline-offset:5px!important;box-shadow:0 0 0 9999px rgba(0,0,0,.72)!important}.organization-entry-context{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.organization-entry-context label{display:grid;gap:5px;color:var(--muted);font-size:9px;letter-spacing:.08em}.organization-entry-context label:last-child{grid-column:1/-1}.organization-entry-context select{min-height:40px;padding:0 9px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}.entity-list,.audit-list{display:grid;gap:7px;margin-top:14px}.entity-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:12px;border:1px solid var(--line)}.entity-list b,.entity-list small{display:block}.entity-list small{margin-top:4px;color:var(--muted)}.entity-list button,.ledger-actions button{min-height:34px;border:1px solid var(--line);background:var(--surface);color:var(--paper)}.audit-list article{display:grid;gap:5px;padding:12px;border-left:3px solid var(--red);background:var(--surface-2)}.audit-list span{color:var(--red);font:600 10px "Barlow Condensed";letter-spacing:.12em}.audit-list small{color:var(--muted)}.ledger-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.ledger-actions>b{width:100%;color:var(--muted);font-size:9px;text-transform:uppercase}.entity-search{margin-top:14px}
@media(max-width:680px){.guide-dialog .dialog-frame{max-height:52dvh;overflow:auto}.organization-entry-context{grid-template-columns:1fr}.organization-entry-context label:last-child{grid-column:auto}.entity-list article{grid-template-columns:1fr auto}.entity-list article>span{grid-column:1/-1}}

/* Product photos stay inside catalog cards and never change checkout hit targets. */
.product-art.product-photo{overflow:hidden;background:var(--surface-2)}
.product-art.product-photo::after{display:none}
.product-art.product-photo img{width:100%;height:100%;display:block;object-fit:cover}
.catalog-manager-identity{min-width:0;display:flex;align-items:center;gap:11px}
.catalog-manager-identity>img,.catalog-manager-placeholder{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border:1px solid var(--line);background:var(--surface-2)}
.catalog-manager-placeholder{display:grid;place-items:center;color:var(--muted)}
.inventory-product{min-width:0;display:flex;align-items:center;gap:10px}
.inventory-product>img,.inventory-product-placeholder{width:38px;height:38px;flex:0 0 38px;object-fit:cover;border:1px solid var(--line);background:var(--surface-2)}
.inventory-panel{overflow:hidden}
.inventory-panel .section-head{gap:16px;align-items:center}
.inventory-filter-row{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 14px;border-bottom:1px solid var(--line)}
.inventory-filter-row button{border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--paper);padding:8px 15px;font:600 13px Barlow,sans-serif;cursor:pointer}
.inventory-filter-row button.is-active{border-color:var(--red);background:var(--red);color:#fff}
.inventory-row{transition:background .2s,border-color .2s}
.inventory-row:hover{background:var(--surface-2)}
.inventory-row .inventory-product b{font-size:15px;font-weight:600}
.inventory-row button{border-radius:8px;font-weight:600}
.discount-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:58px;padding:10px 12px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--paper);cursor:pointer}
.discount-entry:hover,.discount-entry:focus-visible{border-color:var(--red)}
.discount-entry span,.discount-entry small{display:block}
.discount-entry b{font-size:14px}
.discount-entry small{margin-top:3px;color:var(--muted);font-size:11px}
.discount-entry strong{color:var(--red);white-space:nowrap;font-size:13px}
.checkout-discount-shortcut{min-height:44px;padding:0 15px;border:1px solid var(--red);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 14px Barlow,sans-serif;white-space:nowrap;cursor:pointer}
.checkout-discount-shortcut:hover,.checkout-discount-shortcut:focus-visible{background:var(--red);color:#fff}
.discount-dialog .dialog-frame{width:min(460px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:24px}
.discount-form-grid{display:grid;gap:15px}
.discount-form-grid label{display:grid;gap:6px;font-weight:600}
.discount-form-grid input,.discount-form-grid select{width:100%;min-height:44px}
.discount-form-grid small,.discount-legal-note{color:var(--muted);font-size:12px;line-height:1.45}
.discount-preview{display:flex;justify-content:space-between;align-items:center;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2)}
.discount-preview strong{font-size:22px;color:var(--paper)}
.settings-category-nav{display:flex;flex-wrap:wrap;gap:6px}
.settings-category-nav button{flex:1 1 auto;white-space:nowrap}
.update-log article{padding:12px 0;border-bottom:1px solid var(--line)}
.update-log article:last-child{border-bottom:0}
.update-log p{margin:5px 0 0;color:var(--muted);line-height:1.45}
.module-dialog[data-module="settings"] .dialog-head h2{font:700 24px Barlow,sans-serif;letter-spacing:-.02em;text-transform:none}
.module-dialog[data-module="settings"] .settings-stack h3{font:700 17px Barlow,sans-serif;letter-spacing:0;text-transform:none}
.module-dialog[data-module="settings"] .settings-stack>section{border-radius:12px;padding:18px}
.module-dialog[data-module="settings"] .settings-category-nav button{font:600 13px Barlow,sans-serif;letter-spacing:0;text-transform:none;border-radius:999px}
.module-dialog[data-module="settings"] .settings-action-grid button{border-radius:8px;text-align:left}
.inventory-product-placeholder{display:grid;place-items:center;color:var(--paper);font:700 21px "Barlow Condensed",Barlow,sans-serif;background:linear-gradient(145deg,var(--surface-2),var(--surface))}
.quick-settings-button{width:88px;min-width:88px;max-width:88px;padding:0 8px;place-items:center;overflow:hidden;white-space:nowrap;font:600 14px "Barlow Condensed",Barlow,sans-serif;letter-spacing:0}
.store-name>span{border-color:#80633c;color:#e8c27e;white-space:nowrap}
.inventory-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;min-height:66px;padding:10px 12px;border-bottom:1px solid var(--line)}
.inventory-row:last-child{border-bottom:0}
.inventory-row .inventory-product>span:last-child{min-width:0}
.inventory-row .inventory-product b,.inventory-row .inventory-product small,.inventory-row-details>*{display:block}
.inventory-row .inventory-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inventory-row .inventory-product small,.inventory-row-details small{margin-top:4px;color:var(--muted);font-size:11px}
.inventory-row-details{text-align:right;white-space:nowrap}
.inventory-row-details strong{font-size:14px}
.inventory-row button{min-width:52px;min-height:42px;padding:0 11px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper);cursor:pointer}
.inventory-row button:hover,.inventory-row button:focus-visible{border-color:var(--red)}
@media(max-width:680px){
  .operations-view[data-page="stock"] .stat-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .operations-view[data-page="stock"] .stat-strip article{min-height:86px;padding:10px 8px}
  .operations-view[data-page="stock"] .stat-strip span{font-size:9px;letter-spacing:.02em}
  .operations-view[data-page="stock"] .stat-strip strong{margin:4px 0 2px;font-size:24px}
  .operations-view[data-page="stock"] .stat-strip small{font-size:9px;line-height:1.15;letter-spacing:0}
  .operations-view[data-page="stock"] .data-panel .section-head{display:grid;grid-template-columns:1fr;align-items:start;gap:10px}
  .operations-view[data-page="stock"] .data-panel .inline-search{width:100%}
  .operations-view[data-page="stock"] .data-panel .inline-search input{width:100%}
  .inventory-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 2px}
  .inventory-row-details{grid-column:1;margin-left:48px;text-align:left}
  .inventory-row button{grid-column:2;grid-row:1/3}
  .inventory-product>img,.inventory-product-placeholder{width:38px;height:38px}
}
.product-image-controls{display:flex;align-items:center;gap:14px}
.product-image-preview{width:96px;height:96px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);font-size:11px;text-align:center}
.product-image-preview img{width:100%;height:100%;object-fit:cover}
.catalog-item .product-art{width:100%;height:auto;aspect-ratio:1/1}
html[data-experience="simple"] .catalog-item .product-art{height:auto;margin-bottom:8px}
@media(max-width:680px){
  .checkout-view .catalog-grid,html[data-business-mode="services"] .checkout-view .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-business-mode="services"] .catalog-item{display:flex;flex-direction:column;align-items:flex-start;min-height:0}
  html[data-business-mode="services"] .catalog-item .product-art{width:100%;height:auto;aspect-ratio:1/1;grid-row:auto;margin-bottom:8px}
  .catalog-item{min-width:0}
  .catalog-item b,.catalog-item small{overflow-wrap:anywhere}
}
.product-image-controls button{min-height:44px;padding:0 14px;border:1px solid var(--line);background:var(--surface-2);color:var(--paper)}

@media(min-width:1025px){
  .rail-nav{align-content:start;grid-auto-rows:minmax(46px,auto);margin-top:32px}
  .rail-nav .nav-item{max-height:52px}
  .intro h1,.checkout-view h1,.more-view h1{font-size:clamp(60px,6.2vw,96px);line-height:.87}
  .eyebrow,.kicker,.metrics span,.signal-label{font-size:12px}
  .nav-item{font-size:16px}
  .product b,.catalog-item b,.activity b{font-size:14px}
  .product small,.catalog-item small,.activity small,.activity time,.metrics small{font-size:12px}
  .chart-labels,.signal-card dt{font-size:11px}
  .intro-copy,.signal-card>p:not(.signal-label){font-size:16px}
}

/* Inventory uses the same clear product/actions structure on desktop and phones. */
.operations-view[data-page="stock"] .inventory-row{display:grid;grid-template-columns:minmax(190px,1fr) minmax(120px,auto) auto;align-items:center;gap:24px;padding:16px 18px;min-height:88px;border-bottom:1px solid var(--line)}
.operations-view[data-page="stock"] .inventory-row:last-child{border-bottom:0}
.operations-view[data-page="stock"] .inventory-row{scroll-margin-top:110px;scroll-margin-bottom:110px}
.operations-view[data-page="stock"] [data-inventory-edit]{scroll-margin-top:110px;scroll-margin-bottom:110px}
.operations-view[data-page="stock"] .inventory-product{display:flex;align-items:center;gap:14px;min-width:0}
.operations-view[data-page="stock"] .inventory-product>img,.operations-view[data-page="stock"] .inventory-product-placeholder{display:grid;place-items:center;width:56px;height:56px;min-width:56px;max-width:56px;max-height:56px;flex:0 0 56px;object-fit:cover;aspect-ratio:1;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.operations-view[data-page="stock"] .inventory-product>span:last-child{min-width:0;max-width:100%}
.operations-view[data-page="stock"] .inventory-product b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 16px Barlow,sans-serif}
.operations-view[data-page="stock"] .inventory-product small{display:block;margin-top:5px;font:400 12px Barlow,sans-serif;color:var(--muted)}
.operations-view[data-page="stock"] .inventory-row-details{grid-column:auto;margin:0;text-align:right}
.operations-view[data-page="stock"] .inventory-row-details strong{font:700 17px Barlow,sans-serif}
.operations-view[data-page="stock"] .inventory-row-details small{font:500 12px Barlow,sans-serif}
.operations-view[data-page="stock"] .inventory-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.operations-view[data-page="stock"] .inventory-actions button{grid-column:auto;grid-row:auto;min-height:38px;min-width:0;padding:0 11px;border-radius:7px;font:600 12px Barlow,sans-serif}
.operations-view[data-page="stock"] .inventory-actions [data-inventory-edit]{border-color:var(--red);color:var(--paper)}
.operations-view[data-page="stock"] .inventory-actions [data-catalog-action="archive"]{color:var(--muted)}
@media(max-width:900px){
  .operations-view[data-page="stock"] .inventory-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 8px}
  .operations-view[data-page="stock"] .inventory-row-details{grid-column:2;grid-row:1;text-align:right}
  .operations-view[data-page="stock"] .inventory-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start;padding-left:70px}
}
@media(max-width:520px){
  .operations-view[data-page="stock"] .inventory-row{gap:10px;padding:14px 0}
  .operations-view[data-page="stock"] .inventory-product>img,.operations-view[data-page="stock"] .inventory-product-placeholder{width:48px;height:48px;min-width:48px;max-width:48px;max-height:48px;flex-basis:48px}
  .operations-view[data-page="stock"] .inventory-product{gap:10px}
  .operations-view[data-page="stock"] .inventory-product b{font-size:14px}
  .operations-view[data-page="stock"] .inventory-row-details strong{font-size:14px}
  .operations-view[data-page="stock"] .inventory-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-left:58px}
  .operations-view[data-page="stock"] .inventory-actions button{min-height:40px;width:100%}
}
@media(min-width:1025px) and (max-width:1450px){
  .topbar{gap:12px;padding-left:24px;padding-right:24px}
  .top-actions{gap:6px;flex-shrink:0}
  .top-actions .quick-theme{display:none}
  .top-actions .motion-chip{display:none}
}

/* Settings follows a familiar app pattern: category list, then focused controls. */
.module-dialog[data-module="settings"]{width:min(1060px,calc(100vw - 32px));max-height:min(860px,94dvh)}
.module-dialog[data-module="settings"] .dialog-frame{padding:28px}
.module-dialog[data-module="settings"] #moduleDescription{max-width:65ch}
.module-dialog[data-module="settings"] #moduleBody{display:grid;grid-template-columns:210px minmax(0,1fr);column-gap:24px;align-items:start}
.module-dialog[data-module="settings"] .settings-home-intro{grid-column:1/-1;display:grid;gap:12px;margin-bottom:18px}
.module-dialog[data-module="settings"] .settings-profile-link{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--paper);text-align:left;font:500 14px Barlow,sans-serif;cursor:pointer}
.module-dialog[data-module="settings"] .settings-profile-link>span:nth-child(2){min-width:0;flex:1}
.module-dialog[data-module="settings"] .settings-profile-link b,.module-dialog[data-module="settings"] .settings-profile-link small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.module-dialog[data-module="settings"] .settings-profile-link b{font-size:17px}
.module-dialog[data-module="settings"] .settings-profile-link small{margin-top:4px;color:var(--muted);font-size:12px}
.module-dialog[data-module="settings"] .settings-profile-link i{font-size:26px;font-style:normal;color:var(--muted)}
.module-dialog[data-module="settings"] .settings-profile-avatar{display:grid;place-items:center;width:46px;height:46px;flex:none;border-radius:50%;background:var(--red);color:#fff;font:700 20px Barlow,sans-serif}
.module-dialog[data-module="settings"] .settings-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.module-dialog[data-module="settings"] .settings-quick-links button{min-height:46px;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--paper);font:600 13px Barlow,sans-serif;cursor:pointer}
.module-dialog[data-module="settings"] .settings-quick-links span{color:var(--red);margin-right:6px}
.module-dialog[data-module="settings"] .settings-category-nav button{display:flex;align-items:center;gap:12px;font:500 14px Barlow,sans-serif}
.module-dialog[data-module="settings"] .settings-category-nav button>span:first-child{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:8px;background:rgba(var(--brand-rgb,218,35,31),.13);color:var(--red);font-size:16px}
.module-dialog[data-module="settings"] .settings-category-nav button b,.module-dialog[data-module="settings"] .settings-category-nav button small{display:block}
.module-dialog[data-module="settings"] .settings-category-nav button small{margin-top:2px;color:var(--muted);font-size:11px;font-weight:400}
.module-dialog[data-module="settings"] .settings-action-grid button{font:500 14px Barlow,sans-serif}
.module-dialog[data-module="settings"] .settings-action-grid button b{font-weight:600}
.toast{z-index:2147483647;width:max-content;max-width:min(440px,calc(100vw - 28px));padding:14px 18px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:#f5f4f1;color:#111;font:600 14px/1.4 Barlow,sans-serif;text-align:center;box-shadow:0 18px 48px rgba(0,0,0,.35)}
dialog .toast{bottom:18px}
@media(max-width:680px){dialog .toast{bottom:calc(86px + env(safe-area-inset-bottom))}}
html[data-motion="reduced"] .scroll-reveal:not(.in-view){opacity:1;transform:none}
.settings-link-row,.more-legal>a,.more-legal>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:12px 15px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--paper);font:500 14px Barlow,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
.settings-link-row:hover,.settings-link-row:focus-visible,.more-legal>a:hover,.more-legal>a:focus-visible,.more-legal>button:hover,.more-legal>button:focus-visible{border-color:var(--red)}
.settings-link-row b,.settings-link-row small{display:block}.settings-link-row small,.more-legal small{margin-top:3px;color:var(--muted);font-size:12px;font-weight:400}
.more-legal{display:grid;gap:8px;max-width:720px;margin:32px 0 0}.more-legal h2{margin:0 0 6px;font:600 24px "Barlow Condensed",sans-serif}
.module-card>a[href^="mailto:"]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;color:var(--paper);font:600 13px Barlow,sans-serif;text-decoration:none}
.module-card>a[href^="mailto:"]:hover,.module-card>a[href^="mailto:"]:focus-visible{border-color:var(--red)}
.module-dialog[data-module="legalTerms"],.module-dialog[data-module="legalPrivacy"]{width:min(780px,calc(100vw - 24px));max-height:min(900px,94dvh)}
.module-dialog[data-module="legalTerms"] .dialog-frame,.module-dialog[data-module="legalPrivacy"] .dialog-frame{padding:clamp(20px,4vw,36px)}
.legal-back{min-height:44px;margin:2px 0 14px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 14px Barlow,sans-serif;cursor:pointer}
.legal-document{display:block;max-width:65ch;margin:0;padding:0 0 20px;color:var(--paper);font:400 15px/1.65 Barlow,sans-serif}
.legal-document h1{margin:8px 0 20px;font:600 clamp(34px,6vw,52px)/1 "Barlow Condensed",sans-serif}
.legal-document h2{margin:28px 0 10px;font:600 23px "Barlow Condensed",sans-serif}
.legal-document p,.legal-document li{color:var(--paper);line-height:1.65}
.legal-document .draft{padding:14px;border:1px solid var(--red);border-radius:8px;background:rgba(var(--brand-rgb,218,35,31),.12)}
.legal-document a{color:var(--paper);text-decoration-color:var(--red);text-underline-offset:3px}
.external-link-dialog{width:min(440px,calc(100vw - 24px))}.external-link-dialog .dialog-frame{padding:24px}.external-link-dialog h2{margin:8px 0 14px;font:600 30px "Barlow Condensed",sans-serif}.external-link-dialog p:not(.kicker){overflow-wrap:anywhere;line-height:1.5}
.update-notice{position:fixed;top:calc(12px + env(safe-area-inset-top));left:50%;z-index:80;display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(700px,calc(100vw - 24px));padding:14px 16px;border:1px solid var(--red);border-radius:12px;background:var(--surface);color:var(--paper);box-shadow:0 18px 48px rgba(0,0,0,.4);transform:translateX(-50%)}
.update-notice[hidden]{display:none}.update-notice b{font:600 18px "Barlow Condensed",sans-serif}.update-notice p{margin:4px 0 0;color:var(--muted);font:400 12px/1.45 Barlow,sans-serif}.update-notice-actions{display:flex;gap:8px;flex:none}.update-notice-actions button{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 12px Barlow,sans-serif;cursor:pointer}.update-notice-actions button:last-child{border-color:var(--red);background:var(--red);color:#fff}
@media(max-width:600px){.update-notice{top:calc(8px + env(safe-area-inset-top));display:block}.update-notice-actions{margin-top:10px}.update-notice-actions button{flex:1}}
.about-hero{display:flex;align-items:center;gap:16px;margin:0 0 18px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.about-mark{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:var(--red);color:#fff;font:700 30px "Barlow Condensed",sans-serif}
.about-hero b,.about-hero small{display:block}.about-hero b{font:600 26px "Barlow Condensed",sans-serif}.about-hero small{margin-top:3px;color:var(--muted);font:400 12px Barlow,sans-serif}
.about-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}.about-links button{min-height:48px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 13px Barlow,sans-serif;text-align:left;cursor:pointer}.about-links button:hover,.about-links button:focus-visible{border-color:var(--red)}
.module-dialog[data-module="settings"] .settings-nav-label{margin:14px 10px 3px;color:var(--muted);font:600 10px Barlow,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.module-dialog[data-module="settings"] .settings-nav-label:first-child{margin-top:5px}
@media(max-width:699px){.module-dialog[data-module="settings"] .settings-nav-label{margin:15px 4px 2px}}
.module-dialog[data-module="settings"] .settings-search{grid-column:1/-1;margin-bottom:18px}
.module-dialog[data-module="settings"] .settings-search input{width:100%;min-height:44px;font:400 14px Barlow,sans-serif}
.module-dialog[data-module="settings"] .settings-category-nav{grid-column:1;display:grid;gap:4px;align-content:start;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);overflow:visible}
.module-dialog[data-module="settings"] .settings-category-nav button{width:100%;min-height:48px;padding:0 14px;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--paper)}
.module-dialog[data-module="settings"] .settings-category-nav button.is-active{background:rgba(var(--brand-rgb,218,35,31),.2);color:var(--paper);box-shadow:inset 3px 0 var(--red)}
.module-dialog[data-module="settings"] .settings-stack{grid-column:2;min-width:0}
.module-dialog[data-module="settings"] .settings-back{display:none}
.module-dialog[data-module="settings"] .settings-stack>section{background:var(--surface);border-color:var(--line)}
@media(max-width:900px){
  .module-dialog[data-module="settings"]{inset:0;width:100vw;max-width:none;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  .module-dialog[data-module="settings"] .dialog-frame{min-height:100dvh;padding:22px max(18px,env(safe-area-inset-left)) calc(30px + env(safe-area-inset-bottom))}
  .module-dialog[data-module="settings"] #moduleBody{grid-template-columns:190px minmax(0,1fr);gap:18px}
}
@media(max-width:699px){
  .module-dialog[data-module="settings"] .dialog-frame{padding:18px 16px calc(32px + env(safe-area-inset-bottom))}
  .module-dialog[data-module="settings"] .dialog-head{position:sticky;top:-18px;z-index:5;padding:12px 0;background:var(--surface)}
  .module-dialog[data-module="settings"] #moduleDescription{display:none}
  .module-dialog[data-module="settings"] #moduleBody{display:block}
  .module-dialog[data-module="settings"] .settings-search{margin:12px 0 18px}
  .module-dialog[data-module="settings"] .settings-category-nav{display:grid;gap:8px;border:0;padding:0;background:transparent}
  .module-dialog[data-module="settings"] .settings-category-nav button{min-height:60px;padding:0 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);font-size:15px;text-align:left}
  .module-dialog[data-module="settings"] .settings-category-nav button::after{content:"›";float:right;color:var(--muted);font-size:23px;line-height:20px}
  .module-dialog[data-module="settings"][data-settings-pane="menu"] .settings-stack,.module-dialog[data-module="settings"][data-settings-pane="menu"] .settings-back{display:none}
  .module-dialog[data-module="settings"][data-settings-pane="content"] .settings-category-nav,.module-dialog[data-module="settings"][data-settings-pane="content"] .settings-search,.module-dialog[data-module="settings"][data-settings-pane="content"] .settings-home-intro{display:none}
  .module-dialog[data-module="settings"][data-settings-pane="content"][data-settings-searching="true"] .settings-search{display:block}
  .module-dialog[data-module="settings"][data-settings-pane="content"] .settings-back{display:inline-flex;align-items:center;min-height:44px;margin:6px 0 14px;padding:0 12px;border:0;background:transparent;color:var(--paper);font:600 14px Barlow,sans-serif}
  .module-dialog[data-module="settings"] .settings-stack>section{padding:18px 16px}
}
.record-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 4px}
.record-actions button{min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 13px Barlow,sans-serif;cursor:pointer}
.record-actions button:hover,.record-actions button:focus-visible{border-color:var(--red)}
.record-actions button:first-child{background:var(--red);border-color:var(--red);color:#fff}
@media(max-width:680px){.record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.record-actions button{padding:8px 10px;text-align:left}.record-actions button:first-child{grid-column:1/-1}}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.catalog-toolbar b,.catalog-toolbar small{display:block}
.catalog-toolbar b{font:700 18px Barlow,sans-serif}
.catalog-toolbar small{margin-top:3px;color:var(--muted);font:400 12px Barlow,sans-serif}
.catalog-toolbar button{min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--paper);font:600 13px Barlow,sans-serif;white-space:nowrap;cursor:pointer}
.catalog-toolbar button:hover,.catalog-toolbar button:focus-visible{border-color:var(--red)}

/* Checkout keeps the decision and charge controls in view; only choices and order lines scroll. */
.cart-close,.cart-backdrop{display:none}
@media(min-width:681px) and (min-height:650px){
  html[data-active-page="sell"]{overflow:hidden}
  html[data-active-page="sell"] main{height:calc(100dvh - 82px);min-height:0;overflow:hidden;padding-top:12px;padding-bottom:12px}
  html[data-active-page="sell"] .checkout-view.is-active{height:100%;display:flex;flex-direction:column;min-height:0}
  html[data-active-page="sell"] .checkout-head{flex:none;margin-bottom:10px;align-items:center}
  html[data-active-page="sell"] .checkout-view h1{font-size:clamp(36px,4vw,56px);line-height:.9;margin-top:3px}
  html[data-active-page="sell"] .checkout-view h1 span{display:inline}
  html[data-active-page="sell"] .checkout-view h1 span+span{margin-left:8px}
  html[data-active-page="sell"] .checkout-top-tools{display:flex;align-items:center;gap:8px;width:auto;max-width:75%;margin:0;flex-wrap:wrap;justify-content:flex-end}
  html[data-active-page="sell"] .checkout-top-tools .product-search{width:clamp(190px,22vw,340px)}
  html[data-active-page="sell"] .business-checkout-context{flex:none;margin-bottom:8px}
  html[data-active-page="sell"] .checkout-layout{flex:1;min-height:0}
  html[data-active-page="sell"] .catalog,html[data-active-page="sell"] .cart{height:100%;min-height:0;overflow:hidden}
  html[data-active-page="sell"] .catalog{display:flex;flex-direction:column}
  html[data-active-page="sell"] .catalog-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
  html[data-active-page="sell"] .cart-lines{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;margin-top:10px}
  html[data-active-page="sell"] .cart-summary{flex:none;padding-top:9px;gap:5px}
  html[data-active-page="sell"] .pay-button{flex:none;margin-top:9px}
}
@media(max-width:680px){
  html[data-active-page="sell"],html[data-active-page="sell"] body{height:100%;overflow:hidden}
  html[data-active-page="sell"] main{height:calc(100dvh - 68px);min-height:0;overflow:hidden;padding:8px 10px 0}
  html[data-active-page="sell"] .checkout-view.is-active{height:100%;display:flex;flex-direction:column;min-height:0;padding:0}
  html[data-active-page="sell"] .checkout-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;flex:none;margin:0 0 8px}
  html[data-active-page="sell"] .checkout-head .kicker{display:none}
  html[data-active-page="sell"] .checkout-view h1,html[data-active-page="sell"][data-experience="simple"] .checkout-view h1{margin:0;font-size:clamp(26px,7vw,38px);line-height:1}
  html[data-active-page="sell"] .checkout-view h1 span{display:inline}
  html[data-active-page="sell"] .checkout-view h1 span+span{margin-left:4px}
  html[data-active-page="sell"] .checkout-top-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin:0;width:100%}
  html[data-active-page="sell"] .checkout-top-tools .order-type{grid-column:1/-1;order:2;overflow-x:auto;white-space:nowrap}
  html[data-active-page="sell"] .checkout-top-tools .product-search{grid-column:1;min-width:0;height:42px;padding:0 8px}
  html[data-active-page="sell"] .checkout-top-tools .product-search input{min-width:0;font-size:12px}
  html[data-active-page="sell"] .checkout-discount-shortcut{grid-column:2;min-height:42px;padding:0 8px;font-size:11px}
  html[data-active-page="sell"] .order-type button{min-height:36px;padding:0 10px}
  html[data-active-page="sell"] .business-checkout-context{flex:none;max-height:52px;overflow:auto;margin:0 0 5px}
  html[data-active-page="sell"] .business-checkout-context>div{min-height:42px;padding:5px 8px}
  html[data-active-page="sell"] #incomingPaymentNotice:not([hidden]){flex:none;max-height:54px;overflow:auto;margin:0 0 5px;padding:5px 8px}
  html[data-active-page="sell"] .checkout-layout{display:flex;flex-direction:column;flex:1;min-height:0;padding-bottom:142px}
  html[data-active-page="sell"] .catalog{display:flex;flex-direction:column;flex:1;min-height:0;padding:10px}
  html[data-active-page="sell"] .catalog-toolbar{flex:none;margin-bottom:5px}
  html[data-active-page="sell"] .catalog-toolbar b{font-size:15px}
  html[data-active-page="sell"] .catalog-toolbar small{display:none}
  html[data-active-page="sell"] .category-row{flex:none}
  html[data-active-page="sell"] .category-row button{min-height:34px;padding:0 10px}
  html[data-active-page="sell"] .catalog-grid,html[data-business-mode="services"][data-active-page="sell"] .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;gap:6px;margin-top:7px}
  html[data-active-page="sell"] .catalog-item,html[data-business-mode="services"][data-active-page="sell"] .catalog-item{min-height:0;padding:7px}
  html[data-active-page="sell"] .catalog-item .product-art,html[data-business-mode="services"][data-active-page="sell"] .catalog-item .product-art{max-height:72px;aspect-ratio:2/1;object-fit:cover;margin-bottom:5px}
  html[data-active-page="sell"] .catalog-item b{font-size:12px;line-height:1.2}
  html[data-active-page="sell"] .catalog-item small{font-size:10px}
  html[data-active-page="sell"] .cart{position:fixed;left:0;right:0;bottom:calc(70px + env(safe-area-inset-bottom));z-index:492;height:min(76dvh,620px);min-height:0;display:none;padding:15px 14px 10px;border-radius:var(--radius) var(--radius) 0 0;box-shadow:0 -20px 60px #0009;overflow:hidden}
  html[data-active-page="sell"].cart-open .cart{display:flex}
  html[data-active-page="sell"] .cart-close{display:grid;place-items:center;align-self:flex-end;width:34px;min-height:34px;padding:0;border:1px solid var(--line);background:var(--surface-2);font-size:20px}
  html[data-active-page="sell"] .cart .section-head{flex:none;margin-top:3px}
  html[data-active-page="sell"] .cart-lines{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;margin-top:8px}
  html[data-active-page="sell"] .cart-summary{flex:none;padding-top:8px;gap:5px}
  html[data-active-page="sell"] .pay-button{flex:none;margin-top:8px;min-height:48px}
  html[data-active-page="sell"].cart-open .cart-backdrop{display:block;position:fixed;inset:0;z-index:481;width:100%;height:100%;border:0;background:#0009}
  html[data-active-page="sell"] .mobile-cart-dock{bottom:calc(72px + env(safe-area-inset-bottom));min-height:52px}
  html[data-active-page="sell"].cart-open .mobile-cart-dock{display:none}
}
@media(max-width:380px){html[data-active-page="sell"] .checkout-head{grid-template-columns:1fr}html[data-active-page="sell"] .checkout-view h1{font-size:28px}}
/* Payment confirmation stays reachable while optional details scroll. */
#paymentDialog{max-height:min(92dvh,760px);overflow:hidden}
#paymentForm{display:flex;flex-direction:column;max-height:min(92dvh,760px);min-height:0}
#paymentForm>.dialog-head{flex:none;margin-bottom:12px}
#paymentForm>.form-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 10px}
#paymentForm>.dialog-actions{flex:none;position:relative;margin:0;padding-top:12px;border-top:1px solid var(--line);background:var(--surface)}
@media(max-width:680px){
  #paymentDialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px)}
  #paymentForm{max-height:calc(100dvh - 24px);padding:16px}
  #paymentForm .form-grid{grid-template-columns:1fr;gap:10px}
  #paymentForm .form-grid .wide{grid-column:1}
  #paymentForm>.dialog-actions{justify-content:space-between}
  html[data-active-page="sell"] .organization-entry-context{max-height:118px;overflow-y:auto;overscroll-behavior:contain;flex:none}
}
/* Records actions remain discoverable on phones even with custom ledger columns. */
@media(max-width:680px){
  #ledgerTable .data-row.header{display:none}
  #ledgerTable .data-row:not(.header){display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0;padding:14px 2px}
  #ledgerTable .data-row:not(.header)>span:first-child{flex:1 0 100%;min-width:0}
  #ledgerTable .data-row:not(.header)>span:first-child b{overflow-wrap:anywhere;font-size:12px}
  #ledgerTable .data-row:not(.header)>span:first-child small{font-size:11px;line-height:1.35}
  #ledgerTable .data-row:not(.header)>span:nth-child(2),#ledgerTable .data-row:not(.header)>span:nth-child(3){color:var(--muted);font-size:11px}
  #ledgerTable .data-row:not(.header)>strong{margin-left:auto;font-size:15px}
  #ledgerTable .data-row:not(.header)>.ledger-actions{display:flex;align-items:center;gap:8px;flex:1 0 100%;padding-top:7px}
  #ledgerTable .ledger-actions button{min-height:40px;padding:0 14px}
}
