:root{color:#201716;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f4f1ed;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 12% 0,#f05a1a2e,#0000 24rem),linear-gradient(135deg,#f7f4ef 0%,#ece8e0 100%);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.app-shell{grid-template-columns:292px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff7ed;background:linear-gradient(#ffffff14,#0000),#15100f;border-right:1px solid #ffffff1a;flex-direction:column;gap:22px;height:100vh;padding:22px;display:flex;position:sticky;top:0}.brand-lockup,.store-mini,.editor-summary,.export-quality{align-items:center;gap:12px;display:flex}.brand-lockup img,.store-mini img{object-fit:cover;border-radius:16px;width:56px;height:56px;box-shadow:0 14px 35px #00000047}.brand-lockup strong,.store-mini strong{letter-spacing:0;font-size:14px;display:block}.brand-lockup span,.store-mini span,.sidebar-panel span,.muted-text{color:#fff7eda8;font-size:12px;display:block}.side-nav{gap:7px;display:grid}.side-nav button,.step-list button{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;width:100%;padding:12px 13px;transition:all .16s;display:flex}.side-nav button{color:#fff7edc7}.step-list{gap:9px;display:grid}.step-list button{color:#5d4740;background:#fff7edc7;box-shadow:inset 0 0 0 1px #412a230f}.step-list button svg{color:#c94a18}.side-nav button:hover,.side-nav button.active{color:#fff;background:linear-gradient(135deg,#f05a1af2,#c62112e0);box-shadow:0 16px 35px #f05a1a40}.step-list button:hover,.step-list button.active{color:#fff;background:linear-gradient(135deg,#f05a1afa,#c62112f0);box-shadow:0 16px 35px #f05a1a40}.step-list button:hover svg,.step-list button.active svg{color:#fff}.sidebar-panel{background:#ffffff14;border:1px solid #ffffff1f;border-radius:8px;margin-top:auto;padding:16px}.sidebar-panel strong{margin:10px 0 4px;display:block}.main-area{min-width:0}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:10;background:#ffffffb8;border-bottom:1px solid #23191614;justify-content:space-between;align-items:center;gap:18px;min-height:90px;padding:20px 30px;display:flex;position:sticky;top:0}.topbar h1,.welcome-copy h2,.section-head h2,.modal-head h2,.editor-topline h2{letter-spacing:0;margin:0}.eyebrow{text-transform:uppercase;color:#dc4c17;font-size:11px;font-weight:900}.menu-chip{background:#fff;border:1px solid #2319161a;border-radius:8px;width:42px;height:42px;display:none}.content-area{padding:28px}.premium-card,.welcome-panel{background:#ffffffd6;border:1px solid #23191617;border-radius:8px;box-shadow:0 24px 70px #1e141214}.premium-card{padding:22px}.section-head,.modal-head,.editor-topline{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.editor-topline,.editor-topline .button-row{flex-wrap:wrap}.editor-topline .premium-button{min-height:38px;padding:0 12px}.section-head p,.welcome-copy p,.product-main span,.campaign-row span,.campaign-card-body span,.section-head small,.template-card small,.option-card small{color:#7a6d67}.premium-button{color:#fff;background:linear-gradient(135deg,#f05a1a,#c62112);border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 16px;font-weight:850;display:inline-flex;box-shadow:0 14px 26px #f05a1a42}.premium-button.secondary{color:#251816;background:#fff7ed;box-shadow:inset 0 0 0 1px #f05a1a3d}.premium-button.ghost{color:#301f1a;background:#fff;box-shadow:inset 0 0 0 1px #2319161a}.premium-button.danger{color:#991b1b;background:#fef2f2;box-shadow:inset 0 0 0 1px #991b1b24}.premium-button:disabled{opacity:.55;cursor:not-allowed}.button-row,.badge-row,.quick-actions{align-items:center;gap:10px;display:flex}.button-row.wrap{flex-wrap:wrap}.dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;display:grid}.welcome-panel{background:linear-gradient(135deg,#ffffffe6,#fff7edd1),linear-gradient(135deg,#fff,#fef3c7);grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:24px;padding:24px;display:grid}.welcome-copy h2{color:#1d1412;max-width:720px;font-size:clamp(34px,5vw,70px);line-height:.95}.welcome-copy p{max-width:620px;font-size:18px}.hero-preview{min-height:360px}.metrics-grid{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card{background:linear-gradient(135deg,#fff,#fff7ed);border:1px solid #f05a1a29;border-radius:8px;padding:18px}.metric-card strong{color:#1d1412;margin:8px 0 3px;font-size:clamp(22px,2.4vw,34px);display:block}.metric-card span,.metric-card small{color:#7a6d67}.metric-card.red{background:linear-gradient(135deg,#fff,#fee2e2)}.metric-card.green{background:linear-gradient(135deg,#fff,#dcfce7)}.metric-card.black{background:linear-gradient(135deg,#1c1513,#3b241d)}.metric-card.black strong,.metric-card.black span,.metric-card.black small{color:#fff7ed}.span-4{grid-column:span 4}.span-8{grid-column:span 8}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.action-grid button,.option-card,.template-card,.category-card,.media-card,.plan-card{background:#fff;border:1px solid #2319161a;border-radius:8px}.action-grid button{text-align:left;gap:6px;min-height:108px;padding:16px;display:grid}.campaign-list,.product-table,.selector-list,.quick-price-list{gap:10px;display:grid}.campaign-row,.product-row,.selector-row,.quick-price-row{background:#fff;border:1px solid #23191614;border-radius:8px;align-items:center;gap:12px;padding:12px;display:grid}.campaign-row{grid-template-columns:72px minmax(0,1fr) auto auto auto}.campaign-thumb,.product-image-frame,.product-art,.product-dot{background:linear-gradient(135deg,#991b1b,#f97316)}.campaign-thumb{border-radius:8px;width:72px;height:72px}.format-badge,.status-badge,.warning-line,.success-line{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850}.format-badge{color:#9a3412;background:#fff7ed}.status-badge{color:#047857;background:#ecfdf5}.status-badge.rascunho{color:#92400e;background:#fef3c7}.status-badge.arquivado,.status-badge.inativo{color:#475569;background:#f1f5f9}.warning-line{color:#9a3412;background:#fff7ed;display:inline-block}.success-line{color:#047857;background:#ecfdf5;display:inline-block}.row-actions{flex-wrap:wrap;gap:8px;display:flex}.row-actions button,.campaign-row button,.media-card button{color:#b54012;background:0 0;border:0;align-items:center;gap:6px;font-weight:800;display:inline-flex}.stack,.settings-grid{gap:18px;display:grid}.settings-grid{grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr)}.filters-bar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.search-box{background:#fff;border:1px solid #2319161a;border-radius:8px;align-items:center;gap:9px;min-width:min(420px,100%);padding:0 12px;display:flex}.search-box input,.filters-bar select,.form-grid input,.form-grid select,.form-grid textarea,.quick-price-row input{color:#201716;background:#fff;border:1px solid #2319161f;border-radius:8px;width:100%;min-height:44px;padding:10px 12px}.search-box input{border:0;padding-left:0}.toggle-line,.switches label{align-items:center;gap:8px;font-weight:750;display:inline-flex}.product-row{grid-template-columns:28px 64px minmax(0,1fr) 128px auto auto}.product-image-frame{color:#fff7ed;border-radius:8px;place-items:center;width:64px;height:64px;display:grid;overflow:hidden}.product-image-frame img{object-fit:cover;width:100%;height:100%}.price-cell strong,.product-main strong,.campaign-card-body strong,.selector-row strong{display:block}.modal-backdrop{z-index:30;background:#140e0cad;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-panel{background:#fffaf4;border-radius:8px;width:min(720px,100%);max-height:min(86vh,900px);padding:22px;overflow:auto;box-shadow:0 28px 80px #0000005c}.modal-panel.wide{width:min(1040px,100%)}.modal-head button{background:#fff;border:1px solid #2319161a;border-radius:8px;width:42px;height:42px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-grid.one-col{grid-template-columns:1fr}.form-grid label{color:#44312b;gap:7px;font-weight:800;display:grid}.form-grid textarea{resize:vertical;min-height:98px}.span-2{grid-column:span 2}.modal-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.switches{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.switches.stacked{flex-direction:column;align-items:flex-start}.quick-price-row{grid-template-columns:minmax(0,1fr) 150px auto}.editor-layout{grid-template-columns:190px minmax(320px,1fr) minmax(290px,360px);align-items:start;gap:18px;display:grid}.editor-tools,.editor-panel{position:sticky;top:112px}.editor-summary{background:#fff7ed;border-radius:8px;flex-direction:column;align-items:flex-start;margin-top:18px;padding:14px}.editor-preview-card{min-width:0}.preview-wrap{place-items:center;gap:10px;display:grid}.flyer-preview{color:#fff;background:radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--flyer-accent) 35%, transparent), transparent 26%), linear-gradient(135deg, var(--flyer-primary), var(--flyer-secondary));border-radius:8px;grid-template-rows:auto 1fr auto;gap:4%;width:min(100%,560px);min-height:320px;padding:5.2%;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 90px #1e141238;container-type:inline-size}.flyer-preview.compact{width:min(100%,250px);min-height:220px;padding:6%}.flyer-preview.compact .flyer-header{gap:8px}.flyer-preview.compact .flyer-header img{border-radius:8px;width:42px}.flyer-preview.compact .flyer-header span{padding:4px 8px;font-size:8px}.flyer-preview.compact .flyer-header h2{max-width:150px;font-size:24px;line-height:.95}.flyer-preview.compact .flyer-header p,.flyer-preview.compact .product-copy p,.flyer-preview.compact .product-copy small,.flyer-preview.compact .flyer-footer small{display:none}.flyer-preview.compact .flyer-product{grid-template-columns:44px 1fr;padding:8px}.flyer-preview.compact .product-copy strong{font-size:11px}.flyer-preview.compact .preview-price{font-size:13px}.flyer-preview.mood-clean,.flyer-preview.mood-economy{color:#161313;background:linear-gradient(135deg, #fff, color-mix(in srgb, var(--flyer-accent) 26%, #f8fafc))}.flyer-noise{pointer-events:none;opacity:.22;background-image:linear-gradient(45deg,#ffffff14 25%,#0000 25% 50%,#ffffff14 50% 75%,#0000 75%,#0000);background-size:42px 42px;position:absolute;inset:0}.flyer-header,.flyer-products,.flyer-footer{z-index:1;position:relative}.flyer-header{align-items:center;gap:3%;display:flex}.flyer-header.top-center{text-align:center;justify-content:center}.flyer-header.top-right{text-align:right;flex-direction:row-reverse}.flyer-header img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:clamp(58px,13%,110px);box-shadow:0 16px 35px #00000047}.flyer-header span{background:var(--flyer-accent);color:#15100f;text-transform:uppercase;border-radius:999px;width:fit-content;padding:.42em .85em;font-size:clamp(9px,2.1cqw,15px);font-weight:950;display:inline-flex}.flyer-header h2{margin:.18em 0 .08em;font-size:clamp(25px,9cqw,62px);line-height:.95}.flyer-header p{opacity:.82;margin:0;font-weight:750}.flyer-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.6%;display:grid}.flyer-products.count-1{grid-template-columns:1fr}.flyer-products.count-5,.flyer-products.count-6,.flyer-products.count-7,.flyer-products.count-8,.flyer-products.count-9{gap:1.8%}.flyer-product{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff21;border-radius:8px;grid-template-columns:minmax(64px,34%) 1fr;align-items:center;gap:4%;min-width:0;padding:4%;display:grid;box-shadow:inset 0 0 0 1px #ffffff21}.mood-clean .flyer-product,.mood-economy .flyer-product{background:#ffffffd6;box-shadow:0 10px 28px #15100f14}.product-art{aspect-ratio:1;border-radius:8px;place-items:center;min-width:0;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff29}.product-art img{object-fit:cover;width:100%;height:100%}.product-art strong{font-size:clamp(20px,4vw,46px)}.product-copy strong{font-size:clamp(12px,3.2cqw,25px);line-height:1.05}.product-copy p{opacity:.72;margin:.35em 0;font-size:clamp(9px,1.9cqw,14px)}.product-copy small{opacity:.68;text-decoration:line-through;display:block}.preview-price{background:var(--flyer-accent);color:#15100f;border-radius:999px;align-items:baseline;gap:4px;margin-top:.32em;padding:.28em .58em;font-size:clamp(14px,4.2cqw,34px);font-weight:950;display:inline-flex}.preview-price em{font-size:.46em;font-style:normal}.flyer-footer{background:#0000006e;border-radius:8px;justify-content:space-between;align-items:center;gap:3%;padding:2.7%;display:flex}.mood-clean .flyer-footer,.mood-economy .flyer-footer{background:#ffffffdb}.flyer-footer strong,.flyer-footer span,.flyer-footer small{align-items:center;gap:6px;display:flex}.flyer-footer span{opacity:.84;flex-wrap:wrap;font-size:clamp(9px,1.75cqw,14px)}.qr-stub{aspect-ratio:1;color:#15100f;background:#fff;border-radius:8px;flex:none;place-items:center;width:clamp(54px,12%,82px);font-size:11px;font-weight:900;display:grid}.option-grid,.template-grid,.category-grid,.media-grid,.plans-grid,.campaign-grid,.seal-grid{gap:14px;display:grid}.option-grid{grid-template-columns:1fr}.option-card,.template-card{text-align:left;gap:8px;padding:14px;display:grid}.option-card.active,.template-card.active{border-color:#f05a1a;outline:3px solid #f05a1a42}.template-card span{border-radius:8px;min-height:86px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.template-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.template-card.display{grid-template-columns:150px 1fr;align-items:center}.selector-row{grid-template-columns:22px 30px minmax(0,1fr) auto}.product-dot{border-radius:8px;width:30px;height:30px}.export-panel{gap:12px;display:grid}.export-version-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.export-version-grid button{color:#7c2d12;background:#fff7ed;border:1px solid #f05a1a33;border-radius:8px;min-height:54px;font-weight:900}.export-quality{background:#fff7ed;border-radius:8px;padding:14px}.campaign-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.campaign-card{background:#fff;border:1px solid #2319161a;border-radius:8px;overflow:hidden}.campaign-card .preview-wrap{background:#241715;padding:14px}.campaign-card-body{gap:12px;padding:16px;display:grid}.category-grid,.media-grid,.plans-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-card{gap:10px;padding:18px;display:grid}.category-card span{background:var(--category-color);border-radius:8px;width:42px;height:42px}.upload-button{color:#fff;background:linear-gradient(135deg,#f05a1a,#c62112);border-radius:8px;align-items:center;gap:9px;min-height:42px;padding:0 16px;font-weight:850;display:inline-flex}.upload-button input{display:none}.media-card{gap:8px;padding:12px;display:grid}.checkerboard{background-image:linear-gradient(45deg,#e5e7eb 25%,#0000 25%),linear-gradient(-45deg,#e5e7eb 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e5e7eb 75%),linear-gradient(-45deg,#0000 75%,#e5e7eb 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px;border-radius:8px;place-items:center;min-height:160px;display:grid;overflow:hidden}.checkerboard img{object-fit:contain;filter:drop-shadow(0 14px 22px #0000002e);width:100%;height:100%}.ai-result{border-radius:8px;width:100%;box-shadow:0 20px 60px #1e14122e}.ai-photo-result{gap:12px;display:grid}.ai-photo-result span{color:#7a6d67;font-weight:750}.ai-empty,.empty-state{text-align:center;background:linear-gradient(135deg,#fff7ed,#fff);border-radius:8px;place-items:center;min-height:260px;padding:26px;display:grid}.seal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.seal-grid span{text-align:center;color:#9a3412;background:#fff7ed;border-radius:999px;padding:10px 12px;font-weight:900}.plan-card{padding:18px}.plan-card h3{margin:10px 0;font-size:34px}.plan-card small{color:#7a6d67;font-size:14px}.color-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.color-grid label{gap:8px;font-weight:800;display:grid}.color-grid input{border:0;border-radius:8px;width:100%;height:52px}.brand-preview{color:#fff;border-radius:8px;align-items:end;gap:14px;min-height:220px;margin-top:18px;padding:18px;display:flex}.brand-preview img{object-fit:cover;border-radius:8px;width:86px;height:86px}.empty-state h3,.empty-state p{margin:0}.empty-state{gap:8px}@media (width<=1180px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.side-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.side-nav button{justify-content:center}.side-nav button span{display:none}.editor-layout,.settings-grid,.welcome-panel{grid-template-columns:1fr}.editor-tools,.editor-panel{position:static}}@media (width<=860px){.content-area,.topbar,.sidebar{padding:16px}.store-mini{display:none}.menu-chip{place-items:center;display:inline-grid}.metrics-grid,.template-grid,.category-grid,.media-grid,.plans-grid,.campaign-grid,.action-grid{grid-template-columns:1fr}.span-4,.span-8{grid-column:1/-1}.product-row,.campaign-row,.quick-price-row,.template-card.display,.form-grid,.color-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.modal-actions,.button-row,.quick-actions{flex-direction:column;align-items:stretch}.premium-button{width:100%}}
