:root{--green:#0d4a38;--green2:#0a3d2f;--ink:#17201d;--muted:#6e7773;--line:#e6e9e6;--bg:#f7f8f6;--card:#fff;--cream:#f3f1ea;--shadow:0 8px 28px rgba(18,35,28,.06);--radius:14px;--sidebar:214px}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-body{min-height:100vh}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);padding:24px 16px 18px;display:flex;flex-direction:column;z-index:30}.brand{height:58px;display:flex;align-items:center;gap:10px;padding:0 10px 14px}.brand img{width:40px;height:40px;object-fit:contain}.brand span{font-size:10px;letter-spacing:.18em;color:var(--muted)}.side-nav{display:grid;gap:4px;margin-top:8px}.nav-link{height:42px;border-radius:9px;display:flex;align-items:center;gap:12px;padding:0 12px;font-size:13px;color:#4d5652;transition:.16s ease}.nav-link svg{width:17px}.nav-link:hover{background:#f4f6f4;color:var(--ink)}.nav-link.active{background:var(--green);color:#fff;box-shadow:0 5px 12px rgba(13,74,56,.14)}.sidebar-foot{margin-top:auto;display:grid;gap:12px}.pwa-mini{padding:12px;background:#f6f7f4;border:1px solid #eceeea;border-radius:10px;display:flex;gap:9px;align-items:center}.pwa-mini b,.pwa-mini small{display:block;font-size:11px}.pwa-mini small{font-size:9px;color:var(--muted);margin-top:2px}.pulse-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(13,74,56,.11);display:inline-block}.text-button{border:0;background:transparent;padding:8px 4px;color:var(--muted);font-size:11px;cursor:pointer}.main{margin-left:var(--sidebar);min-height:100vh}.topbar{height:72px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.search-wrap{height:40px;max-width:520px;flex:1;border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:10px;padding:0 13px;background:#fbfcfb}.search-wrap svg,.input-icon svg{width:16px;color:#7b837f}.search-wrap input,.input-icon input{border:0;outline:0;background:transparent;width:100%;font-size:12px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.icon-button{width:38px;height:38px;border:0;background:transparent;border-radius:10px;display:grid;place-items:center;cursor:pointer;position:relative;color:#3f4945}.icon-button:hover{background:#f3f5f3}.icon-button svg{width:18px}.notify-dot{position:absolute;width:6px;height:6px;background:#c94b4b;border:2px solid #fff;border-radius:50%;top:8px;right:8px}.profile{display:flex;align-items:center;gap:10px}.profile>div{text-align:right}.profile b,.profile small{display:block;font-size:11px}.profile small{font-size:9px;color:var(--muted);margin-top:2px}.avatar{width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:11px}.page-wrap{padding:28px 30px 90px;max-width:1500px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{font-size:24px;letter-spacing:-.025em;margin:5px 0 3px}.page-head p{margin:0;color:var(--muted);font-size:12px}.eyebrow{font-size:9px;letter-spacing:.14em;font-weight:800;color:var(--green)}.primary-button,.soft-button{min-height:38px;border-radius:9px;border:1px solid transparent;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:11px;cursor:pointer;transition:.15s}.primary-button{background:var(--green);color:#fff;box-shadow:0 4px 10px rgba(13,74,56,.12)}.primary-button:hover{background:var(--green2);transform:translateY(-1px)}.primary-button.full{width:100%;min-height:44px}.soft-button{background:#fff;border-color:var(--line);color:#45504b}.soft-button:hover{border-color:#cfd5d1;background:#fafbfa}.soft-button.small{min-height:32px;padding:0 11px}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;min-width:0}.metric-card span,.metric-card small{display:block;font-size:10px;color:var(--muted)}.metric-card strong{display:block;font-size:20px;letter-spacing:-.025em;margin:8px 0 6px}.metric-card small{font-size:9px}.positive{color:#2e865e!important}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.no-pad{padding:0}.panel-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-head h3,.section-head h3,.form-panel h3{font-size:13px;margin:0}.panel-head p,.section-head p{font-size:10px;color:var(--muted);margin:3px 0 0}.panel-head a{font-size:9px;color:var(--green);font-weight:700}.chip{padding:6px 9px;background:#f6f7f5;border:1px solid var(--line);border-radius:7px;font-size:9px;color:#5d6662}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.65fr);gap:14px;margin-bottom:14px}.chart-panel{min-height:310px}.chart{height:235px;padding-top:18px}.chart svg{width:100%;height:195px;overflow:visible}.chart-line{fill:none;stroke:var(--green);stroke-width:3}.chart-area{fill:rgba(13,74,56,.055);stroke:none}.chart-labels{display:flex;justify-content:space-between;color:#9aa19e;font-size:8px}.product-mini{display:grid;grid-template-columns:40px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #f0f2f0}.product-mini:last-child{border:0}.product-mini img{width:40px;height:40px;border-radius:7px;object-fit:cover;background:#f2f3f0}.product-mini b,.product-mini small{display:block;font-size:10px}.product-mini small{font-size:8px;color:var(--muted);margin-top:3px}.stock{font-size:11px}.stock.zero{color:#c44}.recent-panel{margin-top:0}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%;min-width:720px}.table-wrap th{text-align:left;padding:11px 14px;background:#fafbfa;color:#7d8581;font-size:9px;font-weight:700;border-bottom:1px solid var(--line)}.table-wrap td{padding:12px 14px;border-bottom:1px solid #eff1ef;font-size:10px;vertical-align:middle}.table-wrap tbody tr:last-child td{border-bottom:0}.table-wrap tbody tr:hover{background:#fcfdfc}.status{font-size:8px;font-weight:750;padding:5px 8px;border-radius:999px;display:inline-flex;align-items:center;white-space:nowrap}.status.success{background:#eaf5ef;color:#28734f}.status.warning{background:#fbf1e2;color:#a16821}.status.danger{background:#fdecec;color:#b64444}.status.info{background:#eaf1f7;color:#3d6b90}.status.large{font-size:10px;padding:7px 11px}.row-action{border:1px solid var(--line);padding:5px 9px;border-radius:7px;font-weight:700;font-size:9px}.empty-state{min-height:190px;display:flex;align-items:center;justify-content:center;gap:14px;padding:30px}.empty-state.compact{min-height:110px;justify-content:flex-start;padding:18px 0}.empty-icon{width:38px;height:38px;border-radius:10px;background:#f0f4f1;color:var(--green);display:grid;place-items:center;font-weight:700}.empty-state b,.empty-state p{font-size:11px;margin:0}.empty-state p{color:var(--muted);font-size:9px;margin-top:4px}.empty-mini{padding:28px 10px;text-align:center}.empty-mini b,.empty-mini span{display:block;font-size:10px}.empty-mini span{font-size:9px;color:var(--muted);margin-top:4px}.filterbar{display:flex;gap:9px;align-items:center;margin-bottom:14px}.input-icon{height:38px;min-width:260px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 11px}.input-icon.grow{flex:1}.custom-select{position:relative;min-width:160px}.custom-select-button{height:38px;width:100%;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;cursor:pointer}.custom-select-menu{display:none;position:absolute;z-index:80;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px rgba(12,31,23,.12);padding:5px}.custom-select.open .custom-select-menu{display:block}.custom-select-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px;border-radius:7px;font-size:10px;cursor:pointer}.custom-select-menu button:hover,.custom-select-menu button.selected{background:#f0f5f2;color:var(--green)}select[data-custom]{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.product-cell{display:flex;align-items:center;gap:10px;min-width:205px}.product-cell img{width:40px;height:46px;border-radius:7px;object-fit:cover;background:#f1f3f1}.product-cell b,.product-cell small,.cell-stack b,.cell-stack small{display:block;font-size:10px}.product-cell small,.cell-stack small{font-size:8px;color:var(--muted);margin-top:3px}.stock-dot{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:6px}.stock-dot.green{background:#4d9a70}.stock-dot.amber{background:#d59a44}.stock-dot.red{background:#d05c5c}.more-action{font-weight:900;letter-spacing:2px}.back-title{display:flex;align-items:center;gap:12px}.back-button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;place-items:center;font-size:20px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px}.editor-main{display:grid;gap:14px}.form-panel label,.form-stack label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#46514c;margin-bottom:13px}.form-panel input,.form-stack input{height:40px;border:1px solid var(--line);border-radius:9px;padding:0 11px;outline:0;background:#fff;color:var(--ink);font-size:11px}.form-panel input:focus,.form-stack input:focus{border-color:#8da99d;box-shadow:0 0 0 3px rgba(13,74,56,.06)}.form-panel label small,.form-stack label small{color:var(--muted);font-size:8px;font-weight:500}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.variant-table{border:1px solid var(--line);border-radius:10px;overflow:hidden}.variant-row{display:grid;grid-template-columns:.65fr 1.2fr .65fr .8fr 34px;gap:7px;align-items:center;padding:8px;border-top:1px solid #eef0ee}.variant-row:first-child{border-top:0}.variant-head{background:#fafbfa;color:#7d8581;font-size:8px;font-weight:700}.variant-row input{height:34px;margin:0}.remove-row{width:30px;height:30px;border:0;background:transparent;color:#9b5b5b;font-size:18px;border-radius:7px;cursor:pointer}.remove-row:hover{background:#fceeee}.inline-help{font-size:9px;color:var(--muted);line-height:1.5}.product-preview{text-align:center}.preview-image{height:220px;background:#f4f5f2;border-radius:10px;margin:12px 0;overflow:hidden;display:grid;place-items:center}.preview-image img{width:100%;height:100%;object-fit:cover}.product-preview h3{font-size:13px;margin:8px 0 3px}.product-preview p{font-size:9px;color:var(--muted);margin:0 0 7px}.product-preview strong{font-size:18px}.inventory-line,.security-line{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:9px 0;border-bottom:1px solid #eff1ef}.tabs{display:flex;gap:6px;margin-bottom:13px;overflow:auto}.tabs a{white-space:nowrap;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:9px}.tabs a.active{background:var(--green);color:#fff;border-color:var(--green)}.order-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:15px}.order-grid>div,.order-grid>aside{display:grid;gap:14px;align-content:start}.order-item{display:grid;grid-template-columns:1fr auto auto;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0ee;font-size:10px}.order-item b,.order-item small{display:block}.order-item small{font-size:8px;color:var(--muted);margin-top:3px}.totals{margin-left:auto;max-width:300px;padding-top:12px}.totals div{display:flex;justify-content:space-between;gap:30px;padding:5px 0;font-size:10px}.totals .total{border-top:1px solid var(--line);margin-top:5px;padding-top:10px;font-size:12px}.timeline{padding:4px 0}.timeline-step{display:flex;align-items:center;gap:10px;min-height:36px;color:#9aa19e;font-size:10px;position:relative}.timeline-step i{width:12px;height:12px;border:2px solid #c8ceca;border-radius:50%;background:#fff;z-index:1}.timeline-step:not(:last-child):after{content:"";position:absolute;left:5px;top:23px;width:2px;height:26px;background:#dfe3e0}.timeline-step.done{color:var(--ink)}.timeline-step.done i{background:var(--green);border-color:var(--green)}.timeline-step.done:not(:last-child):after{background:var(--green)}.separator{height:1px;background:var(--line);margin:14px 0 18px;position:relative}.separator span{position:absolute;left:50%;transform:translate(-50%,-50%);background:#fff;padding:0 8px;color:var(--muted);font-size:8px}.marketing-grid{display:grid;grid-template-columns:360px 1fr;gap:14px}.switch-row{display:flex!important;align-items:center;justify-content:space-between;position:relative}.switch-row>span{display:grid;gap:2px}.switch-row input{position:absolute;opacity:0}.switch-row i{width:38px;height:22px;background:#d6dbd8;border-radius:999px;position:relative;transition:.2s}.switch-row i:after{content:"";position:absolute;width:16px;height:16px;background:#fff;border-radius:50%;top:3px;left:3px;box-shadow:0 1px 3px #999;transition:.2s}.switch-row input:checked+i{background:var(--green)}.switch-row input:checked+i:after{left:19px}.offer-row{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0ee}.offer-icon,.integration-logo{width:34px;height:34px;border-radius:9px;background:#eef4f0;color:var(--green);display:grid;place-items:center;font-weight:800}.offer-row b,.offer-row small{display:block;font-size:10px}.offer-row small{font-size:8px;color:var(--muted);margin-top:3px}.funnel{display:grid;gap:13px;max-width:800px}.funnel>div{display:grid;grid-template-columns:120px 45px 1fr;align-items:center;gap:12px;font-size:10px}.funnel i{height:11px;width:var(--w);background:linear-gradient(90deg,var(--green),#5c8b79);border-radius:999px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.feature-card span{font-size:9px;color:var(--green);font-weight:800}.feature-card h3{font-size:13px;margin:16px 0 7px}.feature-card p{font-size:9px;color:var(--muted);line-height:1.55;margin:0}.roadmap{margin-top:14px}.roadmap>div{display:flex;align-items:center;gap:13px}.roadmap b,.roadmap p{display:block;font-size:11px;margin:0}.roadmap p{font-size:9px;color:var(--muted);margin-top:3px}.settings-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:14px}.security-card{grid-column:2}.integration-row{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0ee}.integration-row b,.integration-row small{display:block;font-size:10px}.integration-row small{font-size:8px;color:var(--muted);margin-top:3px}.toast{position:fixed;right:24px;top:84px;z-index:100;padding:11px 14px;border-radius:9px;box-shadow:0 10px 30px rgba(20,30,25,.12);background:#fff;border:1px solid var(--line);font-size:10px;font-weight:700;animation:toastIn .22s ease}.toast.success{border-left:3px solid #438365}.toast.error{border-left:3px solid #c55555}@keyframes toastIn{from{transform:translateY(-7px);opacity:0}}.bottom-nav,.more-sheet,.sheet-backdrop,.mobile-only{display:none}.auth-body{min-height:100vh;background:#f6f7f4}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(340px,.85fr) minmax(460px,1.15fr)}.auth-brand{background:#f0f0eb;padding:52px clamp(38px,6vw,90px);display:flex;flex-direction:column;justify-content:center}.auth-brand img{width:92px;height:92px;object-fit:contain;margin-bottom:42px}.auth-brand h1{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1.05;font-weight:500;letter-spacing:-.035em;margin:11px 0 16px}.auth-brand p{max-width:430px;font-size:12px;line-height:1.7;color:#69716d}.auth-features{display:grid;gap:10px;margin-top:30px}.auth-features span{font-size:10px;color:#4f5954}.auth-card{width:min(440px,calc(100% - 48px));margin:auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:0 18px 50px rgba(16,35,27,.07)}.auth-card h2{font-size:25px;margin:8px 0 4px}.muted{color:var(--muted);font-size:10px;line-height:1.55}.form-stack{margin-top:24px}.form-error,.form-success{padding:10px 12px;border-radius:8px;font-size:9px;margin:14px 0}.form-error{background:#fff0f0;color:#9d3d3d;border:1px solid #f1d2d2}.form-success{background:#eef8f2;color:#28684c;border:1px solid #d7eadf}.login-foot{font-size:8px;color:var(--muted);margin-top:22px;display:flex;align-items:center;gap:8px}.setup-layout{grid-template-columns:minmax(340px,.75fr) minmax(560px,1.25fr)}.setup-card{width:min(640px,calc(100% - 46px));margin:32px auto}.step-pill{display:inline-flex;background:#edf4f0;color:var(--green);padding:6px 9px;border-radius:999px;font-size:8px;font-weight:800}.check-row{grid-template-columns:20px 1fr!important;display:grid!important;align-items:center!important;border:1px solid var(--line);border-radius:10px;padding:12px!important}.check-row input{width:16px!important;height:16px!important;accent-color:var(--green)}.check-row b,.check-row small{display:block}.tiny-note{text-align:center;font-size:8px;color:#929894;margin:14px 0 0}.fatal{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.fatal img{width:70px;height:70px;object-fit:contain}.fatal h1{font-size:26px;margin:10px 0}.fatal p{max-width:500px;color:var(--muted);font-size:11px}.fatal pre{max-width:700px;overflow:auto;background:#f5f5f2;padding:12px;border-radius:8px;font-size:9px}.fatal .primary-button{margin-top:14px}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.low-stock{min-height:auto}.feature-grid{grid-template-columns:repeat(2,1fr)}.editor-grid,.order-grid{grid-template-columns:1fr}.editor-side{display:grid;grid-template-columns:1fr 1fr;gap:14px}.marketing-grid,.settings-grid{grid-template-columns:1fr}.security-card{grid-column:auto}}
@media(max-width:760px){:root{--sidebar:0}.sidebar{width:270px;transform:translateX(-105%);transition:.23s ease;box-shadow:20px 0 40px rgba(0,0,0,.12)}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{height:60px;padding:0 14px;gap:8px}.mobile-only{display:grid}.search-wrap{border:0;background:#f4f6f4;max-width:none;height:36px}.top-actions{gap:4px}.profile>div{display:none}.profile .avatar{width:30px;height:30px}.topbar .icon-button:not(.mobile-only){display:none}.page-wrap{padding:20px 14px 94px}.page-head{align-items:center;margin-bottom:18px}.page-head h1{font-size:20px}.page-head p{font-size:10px}.page-head>.primary-button{width:38px;height:38px;min-height:38px;padding:0;font-size:0;border-radius:10px}.page-head>.primary-button .plus{font-size:19px}.metric-grid,.metric-grid.four{grid-template-columns:1fr 1fr;gap:8px}.metric-card{padding:13px}.metric-card strong{font-size:17px}.dashboard-grid{gap:10px}.panel{padding:15px;border-radius:12px;box-shadow:none}.chart-panel{min-height:250px}.chart{height:180px}.chart svg{height:145px}.recent-panel .table-wrap{overflow:visible}.recent-panel table,.products-table table{min-width:0}.recent-panel thead,.products-table thead{display:none}.recent-panel tbody,.products-table tbody{display:grid}.recent-panel tr,.products-table tr{display:grid!important;grid-template-columns:1fr auto;gap:5px 12px;padding:12px;border-bottom:1px solid var(--line)}.recent-panel td,.products-table td{border:0!important;padding:0!important}.recent-panel td:nth-child(3),.recent-panel td:nth-child(4){grid-column:1}.recent-panel td:nth-child(5),.recent-panel td:nth-child(6){grid-column:2;grid-row:1}.products-table td:first-child{grid-row:1/4}.products-table td:nth-child(2),.products-table td:nth-child(5){display:none}.products-table td:nth-child(3){grid-column:2;grid-row:1}.products-table td:nth-child(4){grid-column:2;grid-row:2}.products-table td:nth-child(6){grid-column:2;grid-row:3}.products-table td:nth-child(7){display:none}.product-cell{min-width:0}.filterbar{flex-wrap:wrap}.input-icon{min-width:0;flex:1 1 100%}.custom-select{flex:1;min-width:140px}.editor-grid{display:block}.editor-side{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}.sticky-head{position:sticky;top:60px;background:var(--bg);z-index:9;padding:6px 0}.sticky-head .primary-button{font-size:9px;width:auto;height:36px;padding:0 12px}.variant-table{overflow:auto}.variant-row{min-width:590px}.order-grid{display:block}.order-grid aside{margin-top:12px}.marketing-grid,.settings-grid{display:block}.marketing-grid>.panel,.settings-grid>.panel{margin-bottom:10px}.feature-grid{grid-template-columns:1fr 1fr;gap:8px}.top-actions .profile{display:flex}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:62px;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:17px;z-index:35;box-shadow:0 12px 35px rgba(13,30,23,.14);overflow:hidden;backdrop-filter:blur(18px)}.bottom-nav a,.bottom-nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:8px;color:#7d8581}.bottom-nav svg{width:18px}.bottom-nav .active{color:var(--green);font-weight:800}.sheet-backdrop{display:block;position:fixed;inset:0;background:rgba(12,24,19,.27);z-index:49;opacity:0;pointer-events:none;transition:.2s}.sheet-backdrop.open{opacity:1;pointer-events:auto}.more-sheet{display:block;position:fixed;left:0;right:0;bottom:0;background:#fff;border-radius:20px 20px 0 0;z-index:50;padding:9px 16px calc(22px + env(safe-area-inset-bottom));transform:translateY(105%);transition:.23s ease;box-shadow:0 -20px 50px rgba(0,0,0,.12)}.more-sheet.open{transform:translateY(0)}.sheet-handle{width:36px;height:4px;border-radius:99px;background:#d8ddda;margin:3px auto 12px}.sheet-title{font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:space-between;padding:3px 4px 10px}.sheet-link{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:10px 6px;border-top:1px solid #eef0ee;font-size:10px}.sheet-link svg{width:17px}.auth-layout,.setup-layout{grid-template-columns:1fr}.auth-brand{display:none}.auth-card,.setup-card{width:min(520px,calc(100% - 28px));padding:24px;margin:22px auto}.auth-body{display:grid;place-items:center}.form-grid{grid-template-columns:1fr}.toast{right:12px;left:12px;top:70px}.funnel>div{grid-template-columns:90px 30px 1fr}}
@media(max-width:430px){.metric-grid,.metric-grid.four{grid-template-columns:1fr 1fr}.metric-grid .metric-card:nth-child(5){grid-column:1/-1}.feature-grid{grid-template-columns:1fr}.form-panel{padding:14px}.page-head h1{font-size:19px}.variant-row{min-width:560px}.auth-card h2{font-size:22px}}
/* Passage V0.2 — núcleo operativo */
.head-actions{display:flex;align-items:center;gap:8px}.quiet-menu{position:relative}.quiet-menu summary{list-style:none;cursor:pointer;font-size:9px;font-weight:750;color:#53605a;padding:9px 10px}.quiet-menu summary::-webkit-details-marker{display:none}.quiet-menu-pop{position:absolute;right:0;top:calc(100% + 5px);width:165px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px rgba(17,35,28,.1);z-index:30}.quiet-menu-pop button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px;border-radius:7px;font:inherit;font-size:9px;cursor:pointer}.quiet-menu-pop button:hover{background:#f5f7f5}.danger-text{color:#a64b4b!important}.editor-tabs{display:flex;gap:8px;border-bottom:0;margin:-6px 0 16px;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}.editor-tabs::-webkit-scrollbar{display:none}.editor-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:5px;border:1px solid var(--line);background:#fff;padding:0 12px;height:36px;color:#5f6965;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer;border-radius:999px}.editor-tabs button.active{color:#fff;background:var(--green);border-color:var(--green)}.editor-tabs button.active:after{display:none}.editor-tabs button span{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;margin-left:0;background:#eef2ef;border-radius:99px;font-size:7px;color:var(--green)}.editor-tabs button.active span{background:rgba(255,255,255,.18);color:#fff}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-panel textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;padding:11px 12px;resize:vertical;font:inherit;font-size:10px;line-height:1.55;color:var(--text);outline:none}.form-panel textarea:focus{border-color:#8ba89b;box-shadow:0 0 0 3px rgba(23,87,63,.06)}.variant-row.v02{grid-template-columns:72px 100px minmax(120px,1.2fr) 70px 90px 54px;min-width:650px}.row-text-action{border:0;background:transparent;color:#8b5555;font-size:8px;cursor:pointer;padding:7px 2px}.empty-inline{padding:18px;border:1px dashed #dfe5e1;border-radius:10px;background:#fafbf9}.empty-inline b{display:block;font-size:10px}.empty-inline p{font-size:9px;color:var(--muted);margin:5px 0 0;line-height:1.5}.activity-list{display:grid}.activity-row{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef1ef}.activity-row:last-child{border:0}.activity-row b,.activity-row small{display:block;font-size:9px}.activity-row small,.activity-row time{font-size:8px;color:var(--muted)}.movement-sign{font-size:9px;font-weight:800}.movement-sign.positive{color:#2f7758}.movement-sign.negative{color:#af5454}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.upload-card{position:relative;display:block!important;border:1px dashed #cfd8d3;border-radius:11px;padding:16px!important;cursor:pointer;background:#fbfcfa}.upload-card:hover{border-color:#8aa899}.upload-card span,.upload-card b,.upload-card small{display:block}.upload-card span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.upload-card b{font-size:10px;margin:7px 0 4px;color:var(--green)}.upload-card small{font-size:8px;color:var(--muted)}.upload-card input{position:absolute!important;inset:0!important;opacity:0!important;width:100%!important;height:100%!important;cursor:pointer}.image-gallery-admin{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.image-admin-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#fff}.image-admin-card.primary{border-color:#7ea08f}.image-admin-card>img{width:100%;aspect-ratio:1/1.15;object-fit:cover;background:#f5f5f2}.image-admin-card>div{padding:8px}.image-admin-card span{font-size:8px;font-weight:800;color:var(--green)}.image-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}.image-actions button{border:0;background:transparent;padding:0;font:inherit;font-size:7.5px;color:#59645f;cursor:pointer}.compare-price{display:block;text-decoration:line-through;color:#9ca39f;margin-top:3px}.table-sub{display:block;font-size:7.5px;color:var(--muted);margin-top:4px}.history-list{display:grid}.history-row{position:relative;display:grid;grid-template-columns:12px 1fr auto;gap:9px;align-items:center;padding:9px 0}.history-row i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #edf4f0}.history-row b,.history-row small{display:block;font-size:9px}.history-row small,.history-row time{font-size:8px;color:var(--muted)}.note-form{display:grid;gap:8px}.note-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px;font:inherit;font-size:9px;resize:vertical}.note-form .soft-button{justify-self:end}.notes-list{display:grid;gap:8px;margin-top:12px}.note-item{background:#f8faf8;border-radius:9px;padding:10px}.note-item p{font-size:9px;line-height:1.55;margin:0 0 6px}.note-item small{font-size:7.5px;color:var(--muted)}.info-pairs{display:grid;gap:9px}.info-pairs>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.info-pairs span,.info-pairs b{font-size:9px}.small-value{font-size:13px!important}.pad-head{padding:14px 16px 0}.stats-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin-bottom:14px}.rank-list{display:grid}.rank-list>div{display:grid;grid-template-columns:24px 1fr auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #eef1ef}.rank-list>div>span{font-size:8px;color:var(--muted)}.rank-list b,.rank-list small{display:block;font-size:9px}.rank-list small{font-size:8px;color:var(--muted);margin-top:2px}.rank-list strong{font-size:9px}.bar-chart{height:230px;display:flex;align-items:flex-end;gap:8px;padding:18px 4px 4px;overflow:auto}.bar-col{height:100%;min-width:38px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;position:relative}.bar-col i{display:block;width:min(24px,70%);height:var(--h);min-height:4px;background:var(--green);border-radius:5px 5px 2px 2px;opacity:.9}.bar-col span{font-size:7px;color:var(--muted)}.bar-value{font-size:7px;color:#59645f;white-space:nowrap;transform:rotate(-35deg);transform-origin:center;margin-bottom:7px}.orders-table small{display:block}
@media(max-width:1050px){.image-gallery-admin{grid-template-columns:repeat(3,1fr)}.stats-grid{grid-template-columns:1fr}.form-grid.three{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.head-actions{gap:3px}.quiet-menu summary{padding:8px 5px}.editor-tabs{margin-top:-3px;gap:8px;position:sticky;top:109px;background:var(--bg);z-index:8;padding-bottom:6px}.upload-grid{grid-template-columns:1fr}.image-gallery-admin{grid-template-columns:repeat(2,1fr)}.form-grid.three{grid-template-columns:1fr}.activity-row{grid-template-columns:38px 1fr}.activity-row time{grid-column:2}.history-row{grid-template-columns:12px 1fr}.history-row time{grid-column:2}.bar-chart{height:205px}.orders-table thead{display:none}.orders-table tbody{display:grid}.orders-table tr{display:grid!important;grid-template-columns:1fr auto;gap:5px 12px;padding:12px;border-bottom:1px solid var(--line)}.orders-table td{border:0!important;padding:0!important}.orders-table td:nth-child(2){grid-column:1;grid-row:2}.orders-table td:nth-child(3){display:none}.orders-table td:nth-child(4),.orders-table td:nth-child(5){grid-column:1}.orders-table td:nth-child(6){grid-column:2;grid-row:1}.orders-table td:nth-child(7){grid-column:2;grid-row:2/4;align-self:center}.page-head .soft-button{font-size:8px}.editor-main section[hidden]{display:none!important}}
.sheet-close{border:0;background:transparent;color:var(--green);font:inherit;font-size:8px;font-weight:800;padding:5px;cursor:pointer}

.variant-row.v021{grid-template-columns:72px minmax(140px,1.3fr) 78px 96px 54px;min-width:560px}
@media(max-width:430px){.variant-row.v021{min-width:540px}}

/* Passage V0.2.2 · carga instantánea de imágenes */
.image-admin-card{position:relative}.image-admin-card.uploading{border-color:#a8b9b0}.image-upload-progress{height:3px;background:#e8edea;overflow:hidden}.image-upload-progress i{display:block;width:2%;height:100%;background:var(--green);transition:width .12s linear,opacity .22s ease}.image-upload-progress.done i{width:100%!important;opacity:0}.image-upload-progress.failed i{width:100%!important;background:#a64b4b}.image-admin-card.upload-error{border-color:#d9b6b6}.image-admin-card.upload-error [data-image-role]{color:#a64b4b}.image-upload-note{min-height:14px;margin:10px 0 0;font-size:8px;color:var(--muted)}.image-upload-note.error{color:#a64b4b}.image-actions button[hidden]{display:none!important}.image-actions button:disabled{opacity:.45;cursor:wait}.upload-card:focus-within{border-color:#8aa899;box-shadow:0 0 0 3px rgba(23,87,63,.05)}


/* Passage V0.2.3 · catálogo dinámico */
.field-label{display:block;font-size:10px;font-weight:700;color:#46514c;margin-bottom:6px}.field-help{display:block;font-size:8px;color:var(--muted);margin-top:5px}.color-pick-control{width:100%;min-height:54px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 11px;display:grid;grid-template-columns:34px 1fr 22px;align-items:center;gap:10px;text-align:left;color:var(--ink);cursor:pointer;transition:.16s}.color-pick-control:hover{border-color:#aebdb5;background:#fbfcfb}.color-pick-control:disabled{cursor:not-allowed;opacity:.58}.color-pick-control>svg{width:19px;color:#6e7773}.color-pick-control span b,.color-pick-control span small{display:block}.color-pick-control span b{font-size:10px}.color-pick-control span small{font-size:8px;color:var(--muted);margin-top:3px}.color-swatch,.picked-color>i{display:block;width:31px;height:31px;border-radius:50%;background:var(--swatch,#0d4a38);box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 0 0 4px #f5f7f5}.sampler-open{overflow:hidden}.color-sampler-overlay{position:fixed;inset:0;z-index:100;background:rgba(11,24,19,.46);display:grid;place-items:center;padding:18px;backdrop-filter:blur(5px)}.color-sampler-overlay[hidden]{display:none!important}.color-sampler-panel{width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 30px 90px rgba(0,0,0,.18);padding:18px}.color-sampler-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:13px}.color-sampler-panel h3{font-size:15px;margin:4px 0 3px}.color-sampler-panel p{font-size:9px;color:var(--muted);margin:0}.color-sampler-panel>header button{border:0;background:transparent;color:var(--green);font-size:9px;font-weight:800;cursor:pointer;padding:6px}.color-sampler-stage{position:relative;display:grid;place-items:center;min-height:260px;max-height:62vh;overflow:hidden;border-radius:13px;background:#f3f4f1}.color-sampler-stage>canvas{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;cursor:crosshair;touch-action:none}.color-loupe{position:absolute;width:96px;height:96px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 7px 26px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.13);pointer-events:none}.color-loupe canvas{width:100%;height:100%}.color-loupe i:before,.color-loupe i:after{content:"";position:absolute;background:rgba(255,255,255,.95);box-shadow:0 0 1px rgba(0,0,0,.7)}.color-loupe i:before{width:1px;height:22px;left:50%;top:calc(50% - 11px)}.color-loupe i:after{height:1px;width:22px;top:50%;left:calc(50% - 11px)}.color-sampler-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:14px}.picked-color{display:flex;align-items:center;gap:11px}.picked-color>i{width:34px;height:34px}.picked-color small,.picked-color b{display:block}.picked-color small{font-size:8px;color:var(--muted)}.picked-color b{font-size:11px;margin-top:2px;letter-spacing:.04em}
.image-admin-card.primary{border-color:var(--product-color,#0d4a38)!important;box-shadow:0 0 0 1px var(--product-color,#0d4a38),0 0 22px color-mix(in srgb,var(--product-color,#0d4a38) 26%,transparent)}.image-drag-handle{position:absolute;top:8px;right:8px;z-index:4;width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#35423c;display:grid;place-items:center;cursor:grab;opacity:0;transform:scale(.94);transition:.15s;box-shadow:0 3px 12px rgba(0,0,0,.12)}.image-admin-card:hover .image-drag-handle,.image-drag-handle:focus{opacity:1;transform:none}.image-drag-handle svg{width:15px}.image-admin-card.dragging{opacity:.46;transform:scale(.98)}.image-admin-card[draggable="true"]{cursor:grab}.image-admin-card[draggable="true"]:active{cursor:grabbing}.image-order-arrows{display:flex;gap:3px;margin-right:auto}.image-order-arrows button,.product-order-buttons button{border:0;background:transparent;color:#69736e;min-width:25px;min-height:25px;padding:0;cursor:pointer;font-size:13px;line-height:1}.image-order-arrows button:hover,.product-order-buttons button:hover{color:var(--green)}.image-actions{align-items:center}.catalog-order-note{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fbfcfb}.catalog-order-note span{font-size:9px;font-weight:800;color:var(--green);white-space:nowrap}.catalog-order-note p{font-size:8px;color:var(--muted);margin:0}.order-th{width:76px}.product-order-cell{white-space:nowrap}.product-position{display:inline-block;min-width:24px;font-size:8px;font-weight:800;color:#8b938f;letter-spacing:.05em}.product-order-buttons{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:4px}.product-order-buttons button{min-height:18px;height:18px;font-size:11px}.product-order-buttons button:disabled{opacity:.28;cursor:wait}.table-color-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--dot);vertical-align:-1px;margin-right:5px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.09)}.products-table tr.order-flash{animation:passageOrderFlash .42s ease}@keyframes passageOrderFlash{0%{background:#eaf4ef}100%{background:transparent}}
@media(hover:none),(pointer:coarse){.image-drag-handle{opacity:1;transform:none}.image-admin-card[draggable="true"]{cursor:default}}
@media(max-width:760px){.color-sampler-overlay{padding:0;align-items:end}.color-sampler-panel{width:100%;max-height:92vh;border-radius:20px 20px 0 0;padding:14px 14px calc(16px + env(safe-area-inset-bottom))}.color-sampler-stage{min-height:220px;max-height:58vh}.color-sampler-stage>canvas{max-height:58vh}.color-sampler-panel>footer{position:sticky;bottom:0;background:#fff;padding:12px 0 2px}.color-sampler-panel>footer .primary-button{min-width:132px}.catalog-order-note{align-items:flex-start;flex-direction:column;gap:3px}.products-table table{min-width:760px}.image-order-arrows button{min-width:34px;min-height:34px}.image-drag-handle{width:34px;height:34px}}


/* Passage V0.2.4 · drag directo + cuentagotas instantáneo */
.color-sampler-stage>canvas{cursor:none}.color-loupe{margin:0;will-change:left,top}.color-save-status{font-size:9px;font-weight:800;color:var(--green);min-width:150px;text-align:right}.color-save-status.saving{opacity:.65}.color-save-status.error{color:#a64b4b}.color-sampler-panel>footer{min-height:50px}.image-order-arrows{display:none!important}.image-drag-handle{touch-action:none}.image-gallery-admin.sorting{user-select:none}.image-gallery-admin.sorting .image-admin-card:not(.primary){transition:transform .13s ease,opacity .13s ease,border-color .13s ease}.image-admin-card.dragging{opacity:.58;transform:scale(.975);box-shadow:0 12px 30px rgba(0,0,0,.12);z-index:5}.image-admin-card.dragging .image-drag-handle{opacity:1!important;transform:none!important;cursor:grabbing}.drag-th{width:58px}.product-drag-cell{width:58px;white-space:nowrap}.product-drag-handle{width:30px;height:30px;padding:0;border:0;background:transparent;color:#7c8580;display:inline-grid;place-items:center;border-radius:8px;cursor:grab;vertical-align:middle;touch-action:none;opacity:.55;transition:.14s}.product-drag-handle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.product-drag-handle:hover,.product-drag-handle:focus-visible{color:var(--green);background:#f1f6f3;opacity:1}.product-drag-handle:active{cursor:grabbing}.product-drag-handle:disabled{opacity:.18;cursor:not-allowed;background:transparent}.product-drag-cell .product-position{margin-left:1px;vertical-align:middle}.products-table tr[data-product-item]{transition:opacity .13s ease,box-shadow .13s ease,background .13s ease}.products-table tr[data-product-item].dragging{opacity:.6;background:#f6faf7;box-shadow:inset 3px 0 0 var(--green)}[data-product-order].sorting{user-select:none}.product-order-buttons{display:none!important}
@media(max-width:760px){.color-sampler-panel>footer{gap:8px}.color-save-status{font-size:8px;min-width:0;max-width:145px}.product-drag-handle{width:38px;height:38px;opacity:.75}.product-drag-cell{width:48px}.drag-th{width:48px}.products-table table{min-width:760px}.image-drag-handle{opacity:.72;transform:none}}


/* Passage V0.2.5 · asa de seis puntos + arrastre más sensible */
.product-drag-handle{width:36px;height:36px;border-radius:9px;opacity:.72;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.product-drag-handle svg{width:18px;height:24px;fill:currentColor;stroke:none!important;overflow:visible}
.product-drag-handle:hover,.product-drag-handle:focus-visible{opacity:1;color:var(--green);background:#f1f6f3}
.product-drag-handle.drag-active{cursor:grabbing!important;opacity:1;color:var(--green);background:#edf5f1}
.products-table tr[data-product-item].dragging{opacity:.68;background:#f4f9f6;box-shadow:inset 3px 0 0 var(--green)}
[data-product-order].sorting .products-table tr[data-product-item]:not(.dragging){transition:transform .08s ease,background .08s ease}
.image-drag-handle{width:36px;height:36px;opacity:.9;touch-action:none;-webkit-user-select:none;user-select:none}
.image-drag-handle::before{content:"";position:absolute;inset:-7px}
.image-gallery-admin.sorting .image-admin-card:not(.primary){transition:transform .07s ease,opacity .07s ease,border-color .07s ease}
@media(max-width:760px){.product-drag-handle{width:42px;height:42px}.product-drag-handle svg{width:18px;height:24px}.image-drag-handle{width:40px;height:40px}}


/* Passage V0.2.6 · drag estable en catálogo + asa de galería sólo al hover en escritorio */
@media (hover:hover) and (pointer:fine){
  .image-drag-handle{opacity:0!important;transform:scale(.94)!important}
  .image-admin-card:hover .image-drag-handle,.image-drag-handle:focus-visible,.image-drag-handle.drag-active,.image-admin-card.dragging .image-drag-handle{opacity:1!important;transform:none!important}
}
@media (hover:none),(pointer:coarse){
  .image-drag-handle{opacity:.78!important;transform:none!important}
}
.product-drag-handle[draggable="true"]{-webkit-user-select:none;user-select:none}
.products-table tr[data-product-item].dragging{position:relative;z-index:2}

/* Passage V0.2.7 · custom product reorder + native-feel mobile catalog */
.products-mobile-list{display:none}
.product-drag-handle{position:relative;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.product-drag-handle svg{pointer-events:none}
[data-product-order].sorting{cursor:grabbing}
[data-product-order].sorting a,[data-product-order].sorting button:not(.product-drag-handle){pointer-events:none}
.products-table [data-product-item].dragging-source{opacity:.28;background:#edf5f1!important}
.product-drag-ghost{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;display:grid;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:10px;min-height:62px;padding:7px 10px;background:rgba(255,255,255,.97);border:1px solid #d9e1dc;border-radius:12px;box-shadow:0 16px 44px rgba(12,31,23,.18);will-change:transform}
.product-drag-ghost img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#f1f3f1}
.product-drag-ghost b,.product-drag-ghost small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-drag-ghost b{font-size:11px}.product-drag-ghost small{font-size:8px;color:var(--muted);margin-top:3px}.ghost-grip{width:20px;display:grid;grid-template-columns:repeat(2,4px);gap:4px;justify-content:center}.ghost-grip i{width:4px;height:4px;border-radius:50%;background:#77827d}
.native-dragging,.native-dragging *{cursor:grabbing!important}

@media(max-width:760px){
  .app-shell,.app-shell *{-webkit-tap-highlight-color:transparent}
  .app-shell img,.app-shell a,.app-shell button{-webkit-touch-callout:none}
  .app-shell img{-webkit-user-drag:none;user-drag:none}
  .products-desktop-list{display:none!important}
  .products-mobile-list{display:block;background:#fff}
  .catalog-order-note{padding:11px 12px}
  .catalog-order-note p{font-size:8px;line-height:1.45}
  .mobile-product-row{display:grid;grid-template-columns:42px 50px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:74px;padding:9px 10px;border-bottom:1px solid #eef1ef;background:#fff;transition:background .12s,opacity .12s,transform .12s;position:relative}
  .mobile-product-row:last-child{border-bottom:0}
  .mobile-product-row.dragging-source{opacity:.24;background:#edf5f1}
  .mobile-product-order{display:grid;justify-items:center;gap:0;align-content:center}
  .mobile-product-order .product-drag-handle{width:38px;height:38px;margin:-4px 0 -2px;opacity:.72}
  .mobile-product-order .product-position{font-size:7px;line-height:1;color:#919995;margin:0}
  .mobile-product-image{display:block;width:50px;height:58px;border-radius:8px;overflow:hidden;background:#f1f3f1}
  .mobile-product-image img{display:block;width:100%;height:100%;object-fit:cover}
  .mobile-product-info{min-width:0;display:block}
  .mobile-product-info>b{display:block;font-size:11px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-product-info>small{display:block;font-size:8px;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-product-info>span{display:flex;align-items:center;gap:10px;margin-top:7px}
  .mobile-product-info strong{font-size:10px}
  .mobile-product-info em{font-style:normal;font-size:8px;color:var(--muted);white-space:nowrap}
  .mobile-product-info .stock-dot{margin-right:4px}
  .mobile-product-tail{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:3px 0;min-width:46px}
  .mobile-product-tail .status{font-size:7px;padding:4px 6px}
  .mobile-product-tail .more-action{font-size:13px;line-height:1;letter-spacing:1px;padding:8px 1px}
  .product-drag-ghost{grid-template-columns:44px minmax(0,1fr) 24px;min-height:58px;padding:6px 9px;border-radius:11px}
  .product-drag-ghost img{width:44px;height:48px}
  .filterbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .filterbar .input-icon{grid-column:1/-1;min-width:0;width:100%}
  .filterbar .custom-select{min-width:0;width:100%}
  .filterbar .soft-button{min-width:70px}
}

@media(hover:hover) and (pointer:fine){
  .image-drag-handle{opacity:0!important;transform:scale(.94)!important}
  .image-admin-card:hover .image-drag-handle,.image-drag-handle:focus-visible,.image-drag-handle.drag-active,.image-admin-card.dragging .image-drag-handle{opacity:1!important;transform:none!important}
}

/* Passage V0.2.8 · drag engine boot fix */
.product-drag-handle{pointer-events:auto!important;touch-action:none!important;-webkit-touch-callout:none!important}
[data-product-order][data-drag-ready="1"] .product-drag-handle:not(:disabled){cursor:grab}
[data-product-order].sorting .product-drag-handle{cursor:grabbing!important}


/* Passage V0.2.9 · PWA native-like + pull-to-refresh preservado */
@media(max-width:760px){
  html,body,.app-body,.app-shell{overscroll-behavior-y:auto!important}
  .app-shell{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
  .app-shell input,.app-shell textarea,.app-shell [contenteditable="true"]{-webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important}
  .app-shell img,.app-shell a,.app-shell button,.app-shell [role="button"],.app-shell [data-product-drag-handle],.app-shell [data-image-drag-handle]{-webkit-touch-callout:none!important}
  .app-shell img{-webkit-user-drag:none!important;user-drag:none!important}
}


/* Passage V0.3.5 · brand/login + custom offer color UX */
.auth-mobile-logo{display:none}.auth-brand>img{width:132px;height:auto;max-height:122px;object-fit:contain;margin-bottom:38px}.offer-color-field{display:grid;gap:7px}.offer-color-field>span{font-size:10px;font-weight:700;color:#39423e}.offer-color-picker{position:relative}.offer-color-trigger{width:100%;min-height:54px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 12px;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:10px;text-align:left;color:var(--ink);cursor:pointer}.offer-color-trigger>i{width:30px;height:30px;border-radius:50%;background:var(--offer-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--offer-color) 12%,transparent)}.offer-color-trigger span b,.offer-color-trigger span small{display:block}.offer-color-trigger span b{font-size:10px}.offer-color-trigger span small{font-size:8px;color:var(--muted);margin-top:3px}.offer-color-trigger svg{width:16px}.offer-color-popover{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:80;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;box-shadow:0 18px 50px rgba(15,32,25,.14)}.offer-color-popover[hidden]{display:none}.offer-color-preview-line{display:flex;align-items:center;gap:9px;margin-bottom:11px}.offer-color-preview-line>i{width:28px;height:28px;border-radius:50%;background:var(--offer-color,#0D4A38);box-shadow:0 0 0 5px color-mix(in srgb,var(--offer-color,#0D4A38) 12%,transparent)}.offer-color-preview-line b,.offer-color-preview-line small{display:block;font-size:9px}.offer-color-preview-line small{font-size:8px;color:var(--muted);margin-top:2px}.offer-color-plane{height:156px;border-radius:12px;position:relative;touch-action:none;cursor:crosshair;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--offer-hue,157) 100% 50%));overflow:hidden}.offer-color-plane>i,.offer-color-hue>i{position:absolute;width:14px;height:14px;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 5px rgba(0,0,0,.34);transform:translate(-50%,-50%);pointer-events:none}.offer-color-plane>i{left:82%;top:54%}.offer-color-hue{height:18px;margin-top:10px;border-radius:99px;position:relative;touch-action:none;cursor:pointer;background:linear-gradient(90deg,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}.offer-color-hue>i{top:50%;left:43%}.offer-color-presets{display:flex;gap:10px;margin-top:12px}.offer-color-presets button{width:28px;height:28px;border-radius:50%;border:0;background:var(--c);cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 0 0 4px #fff}.offer-color-presets button:hover{transform:scale(1.06)}.offer-live-preview{border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;grid-template-columns:54px 1fr;gap:11px;align-items:center;background:#fbfcfb}.offer-preview-image{width:54px;height:54px;border-radius:12px;background:color-mix(in srgb,var(--offer-color) 8%,#f2f3f1);display:grid;place-items:center}.offer-preview-image span{font-size:16px;font-weight:900;color:var(--offer-color)}.offer-live-preview small,.offer-live-preview b{display:block}.offer-live-preview small{font-size:7px;color:var(--muted);letter-spacing:.12em}.offer-live-preview b{font-size:10px;margin:3px 0 5px}.offer-live-preview p{margin:0;font-size:9px}.offer-live-preview strong,.offer-live-preview em{color:var(--offer-color);font-style:normal}.offer-live-preview del{color:#9aa09d;margin:0 4px}.offer-row .offer-icon{color:var(--offer-color);background:color-mix(in srgb,var(--offer-color) 9%,#fff)}.offer-row .offer-percent{color:var(--offer-color)}.offer-color-dot{width:12px;height:12px;border-radius:50%;background:var(--offer-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--offer-color) 10%,transparent)}
@media(max-width:760px){.auth-body{display:block;min-height:100svh;background:linear-gradient(180deg,#f6f7f4 0,#fbfbf9 46%,#f6f7f4 100%)}.auth-layout{display:flex;min-height:100svh;align-items:flex-start;justify-content:center;padding:calc(22px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom))}.auth-brand{display:none}.auth-card{align-self:flex-start;width:min(390px,100%);margin:0;background:#fff;border-radius:22px;padding:25px 22px 22px;box-shadow:0 16px 46px rgba(18,35,28,.08);min-height:0;height:auto}.auth-mobile-logo{display:block;width:116px;height:auto;max-height:102px;object-fit:contain;margin:0 auto 20px}.auth-card>.eyebrow{display:block;text-align:center}.auth-card h2{text-align:center;font-size:26px;margin:7px 0 6px;letter-spacing:-.025em}.auth-card>.muted{text-align:center;max-width:280px;margin:0 auto;font-size:10px}.auth-card .form-stack{margin-top:22px}.auth-card .form-stack label{font-size:10px}.auth-card .form-stack input{min-height:48px;border-radius:12px}.auth-card .primary-button.full{min-height:50px;border-radius:13px;font-size:11px}.auth-card .login-foot{justify-content:center;margin-top:18px}.offer-color-popover{position:fixed;left:12px;right:12px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:21px;padding:16px;z-index:120}.offer-color-plane{height:190px}.offer-live-preview{grid-template-columns:48px 1fr}.offer-preview-image{width:48px;height:48px}}

/* Passage V0.3.7 — destructive action language + marketing scope UX */
.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ui-trash-button{appearance:none;border:0!important;background:transparent!important;color:#d34d4d!important;width:30px;height:30px;padding:0!important;display:inline-grid;place-items:center;cursor:pointer;line-height:1;box-shadow:none!important;transition:color .16s ease,transform .16s ease,opacity .16s ease;-webkit-tap-highlight-color:transparent}.ui-trash-button:hover{color:#b92e2e!important;transform:translateY(-1px)}.ui-trash-button:active{transform:scale(.91)}.ui-trash-button:disabled{opacity:.38;pointer-events:none}.ui-trash-button .ui-icon{width:17px;height:17px}.ui-trash-head{margin-left:2px}.row-trash-action{justify-self:center}.product-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.product-row-actions form{display:grid;margin:0}.image-actions .ui-trash-button{margin-left:auto}.image-actions{align-items:center}.variant-row .ui-trash-button{width:28px;height:28px}
.passage-confirm-backdrop{position:fixed;inset:0;z-index:1600;background:rgba(7,16,13,.36);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .17s ease}.passage-confirm-backdrop.show{opacity:1}.passage-confirm-dialog{width:min(390px,100%);border-radius:22px;background:var(--card,#fff);border:1px solid var(--line);box-shadow:0 28px 70px rgba(18,35,29,.2);padding:24px;display:grid;grid-template-columns:42px 1fr;gap:15px;transform:translateY(8px) scale(.985);transition:transform .17s ease}.passage-confirm-backdrop.show .passage-confirm-dialog{transform:none}.passage-confirm-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(211,77,77,.08);color:#d34d4d}.passage-confirm-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.passage-confirm-dialog h3{font-size:14px;margin:2px 0 6px}.passage-confirm-dialog p{font-size:10px;line-height:1.55;color:var(--muted);margin:0}.passage-confirm-dialog footer{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:6px}.passage-confirm-dialog footer button{height:38px;border:0;background:transparent;padding:0 12px;border-radius:10px;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.passage-confirm-dialog .confirm-remove{display:flex;align-items:center;gap:7px;color:#c53f3f}.passage-confirm-dialog .confirm-remove svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketing-grid-v037{align-items:start}.offer-scope-field{display:grid;gap:9px}.offer-scope-field>.field-label{font-size:9px;font-weight:760;color:#45524c}.offer-scope-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.offer-scope-choice{border:1px solid var(--line);background:var(--surface,#fff);border-radius:14px;padding:13px;display:grid;grid-template-columns:24px 1fr 20px;gap:10px;align-items:center;text-align:left;color:var(--ink);cursor:pointer;transition:border .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.offer-scope-choice>.ui-icon{width:21px;height:21px;color:var(--green)}.offer-scope-choice span b,.offer-scope-choice span small{display:block}.offer-scope-choice span b{font-size:9px}.offer-scope-choice span small{font-size:7.5px;color:var(--muted);line-height:1.4;margin-top:2px}.offer-scope-choice>i{width:18px;height:18px;border:1px solid #cbd5d0;border-radius:50%;display:grid;place-items:center;color:transparent}.offer-scope-choice>i .ui-icon{width:12px;height:12px}.offer-scope-choice.active{border-color:#6f9b87;background:#f7faf8;box-shadow:0 0 0 3px rgba(13,74,56,.045)}.offer-scope-choice.active>i{background:var(--green);border-color:var(--green);color:#fff}.offer-product-picker{border:1px solid var(--line);border-radius:15px;padding:12px;background:#fbfcfb}.offer-product-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.offer-product-picker-head b,.offer-product-picker-head small{display:block}.offer-product-picker-head b{font-size:9px}.offer-product-picker-head small{font-size:7.5px;color:var(--muted);margin-top:2px}.offer-product-picker-head>span{font-size:8px;font-weight:800;color:var(--green)}.offer-product-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.offer-product-option{border:1px solid #e1e6e3;background:#fff;border-radius:11px;padding:7px;display:grid;grid-template-columns:38px 1fr 18px;gap:8px;align-items:center;text-align:left;cursor:pointer;color:var(--ink);transition:border .15s ease,background .15s ease,transform .15s ease}.offer-product-option img{width:38px;height:42px;object-fit:cover;border-radius:8px;background:#f2f4f2}.offer-product-option span b,.offer-product-option span small{display:block}.offer-product-option span b{font-size:8.5px}.offer-product-option span small{font-size:7px;color:var(--muted);margin-top:2px}.offer-product-option>i{width:17px;height:17px;border-radius:50%;border:1px solid #ccd5d0;display:grid;place-items:center;color:transparent}.offer-product-option>i .ui-icon{width:11px;height:11px}.offer-product-option.selected{border-color:#6c9b85;background:#f5faf7}.offer-product-option.selected>i{background:var(--green);border-color:var(--green);color:#fff}.offer-row-v037{grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:10px}.offer-row-copy em{display:block;font-style:normal;font-size:7.5px;color:var(--muted);margin-top:3px}.offer-row-v037 form{display:grid;margin:0}
@media(max-width:760px){.offer-scope-choices{grid-template-columns:1fr}.offer-product-options{grid-template-columns:1fr}.offer-product-picker{padding:10px}.offer-row-v037{grid-template-columns:auto minmax(0,1fr) auto}.offer-row-v037>.offer-color-dot{grid-column:1}.offer-row-v037>.status{grid-column:2;justify-self:start}.offer-row-v037>form{grid-column:3;grid-row:1/3;align-self:center}.passage-confirm-backdrop{align-items:end;padding:0}.passage-confirm-dialog{width:100%;border-radius:24px 24px 0 0;padding:22px max(20px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));transform:translateY(20px)}.product-row-actions{gap:2px}}
