:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24113f;background:#f3eff8;font-synthesis:none;--purple:#7938bf;--ink:#2f144e;--line:#e4d8f5;--mint:#d3f8df;--blue:#d5e8ff;--pink:#ffdbed;--lavender:#ece2ff;--muted:#686079}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.45}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a.button{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:#7630b4;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:1.65rem;line-height:1.2;letter-spacing:-.04em}h2{font-size:1.4rem;line-height:1.25;letter-spacing:-.025em;margin-bottom:12px}h3{font-size:1.15rem;line-height:1.25;margin-bottom:5px}p{margin-bottom:14px}small,.muted{color:var(--muted);font-size:.9rem}.app-shell{max-width:520px;margin:0 auto;min-height:100dvh;background:linear-gradient(145deg,#fff 0%,#fcfaff 42%,#f4effc 100%);box-shadow:0 0 40px #3e195212}.brand{position:relative;display:flex;align-items:center;min-height:110px;padding:18px 18px;background:linear-gradient(110deg,#f4eefa,#e4d2f3);overflow:hidden;padding-top:calc(18px + env(safe-area-inset-top))}.brand-name{display:flex;align-items:center;gap:9px;z-index:1;position:relative}.brand-name strong{display:block;font-size:1.65rem;letter-spacing:-.04em;line-height:1.1;color:#471575}.brand-name span:not(.brand-cube){display:block;font-size:.83rem;letter-spacing:-.02em;margin-top:4px}.brand-cube{font-size:2.5rem;color:#6b319d;line-height:1}.brand-decor{position:absolute;right:6px;bottom:0;width:132px;height:95px;opacity:.95}.brand-name{max-width:76%}.brand-name strong{font-size:clamp(1.35rem,6vw,1.75rem)}main{padding:18px 14px 112px}main:focus{outline:0}.card{background:#ffffffc9;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 3px 7px #4d207009;margin-bottom:16px}.section-title{margin:20px 3px 10px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat-card{border:0;border-radius:22px;padding:15px 10px;color:#10233a;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:118px;justify-content:space-between;font-weight:750;font-size:1.05rem;line-height:1.13}.stat-card.blue{background:linear-gradient(135deg,#deecff,#bfdcff)}.stat-card.mint{background:linear-gradient(135deg,#ddfbe6,#b9f3d0)}.stat-card strong{font-size:2.6rem;line-height:1.1;margin-top:8px}.order-list{padding:4px 10px}.order-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 12px;align-items:center;gap:8px;padding:11px 0;color:var(--ink);border-bottom:1px solid var(--line);min-height:68px}.order-row:last-child{border:0}.avatar{display:flex;align-items:center;justify-content:center;background:#ead9fc;color:#7c41ba;width:36px;height:36px;border-radius:50%}.order-row strong{font-size:1.1rem;line-height:1.2;display:block;overflow-wrap:anywhere}.order-row small{display:block;color:#51485f;font-size:.86rem}.badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:20px;font-size:.79rem;font-weight:750;line-height:1.2;white-space:nowrap}.badge.open{background:#ffd6e9;color:#8d1350}.badge.partial{background:#ffe8bb;color:#8a3c0b}.badge.ready{background:#c8f5d7;color:#155b31}.badge.paid{background:#d3f8df;color:#155b31}.badge.neutral{background:#eae6f0;color:#524960}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.icon.small{width:18px;height:18px}.pending-row{display:flex;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.pending-row:last-child{border:0}.pending-row img{width:64px;height:62px;border-radius:12px;object-fit:contain;background:#f3e9dc}.pending-row h3{font-size:1rem}.pending-row .remaining{margin-left:auto;flex:none;min-width:56px;padding:4px 10px;border-radius:14px;background:#eee7fc;text-align:center;line-height:1.2}.remaining strong{display:block;font-size:1.6rem}.remaining span{font-size:.86rem}.primary,.secondary,.danger,.success,.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:16px;min-height:48px;font-weight:650;text-align:center;line-height:1.25}.primary{background:linear-gradient(#ac66dd,#7838ae);box-shadow:0 3px 6px #6f30951c;color:#fff}.secondary{background:#eee7f8;color:#7133ad;border-color:#dfd0f0}.danger{background:#ffdfeb;color:#b7234c;border-color:#fac0d4}.success{background:linear-gradient(#41d883,#0eaf57);color:#fff}.wide{width:100%}.new-order{font-size:1.35rem;min-height:60px;margin-top:6px;margin-bottom:12px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;background:#fbf9ffed;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:9px 5px calc(9px + env(safe-area-inset-bottom));z-index:5}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:.77rem;color:#4c425f;border-radius:15px;padding:6px 1px}.bottom-nav a.active{background:#e8d6fa;color:#722ab3}.bottom-nav .icon{width:27px;height:27px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-3px 0 18px}.toolbar h1{font-size:1.35rem;margin:0;text-align:center}.text-button{border:0;background:none;color:#7833b5;padding:8px 0;min-height:44px;font-weight:600}.customer-card{background:linear-gradient(120deg,#f2eaff,#e9defb);display:flex;gap:14px;align-items:center}.customer-card .avatar{width:60px;height:60px;flex:none}.customer-card .avatar .icon{width:36px;height:36px}.customer-card h1{margin:0 0 6px;font-size:1.9rem;overflow-wrap:anywhere}.customer-card p{margin:0;font-size:.88rem;color:#5c516b}.statuses{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.position-card{padding:12px;display:grid;grid-template-columns:88px minmax(0,1fr) 46px;gap:10px;align-items:start}.position-card .product-image{width:88px;height:125px;object-fit:contain;background:#f2e9e0;border-radius:14px}.position-card h3{font-size:1.07rem}.position-card p{font-size:.88rem;margin:2px 0;overflow-wrap:anywhere;color:#54485f}.counts{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:9px}.count{border-radius:12px;padding:6px 2px;text-align:center;font-size:.68rem;background:#ece2ff;min-width:0}.count strong{display:block;font-size:1.5rem;line-height:1.1;margin-top:3px}.count.done{background:#d4f8df}.count.open-count{background:#ffdfed}.count.zero{background:#eae6ef}.stepper{display:flex;flex-direction:column;gap:8px;padding-top:15px}.stepper button{border:0;width:46px;height:48px;border-radius:14px;font-size:2rem;line-height:1;background:#c2f3d0;color:#086f31;touch-action:manipulation}.stepper button.minus{height:43px;background:#e4dfeb;color:#302a3a}.stepper button:disabled{background:#e4dfeb;color:#968f9e}.total{display:flex;align-items:center;justify-content:space-between;font-size:1.2rem;font-weight:750;gap:8px}.total strong{background:#eadbff;border-radius:14px;padding:7px 12px;font-size:1.45rem}.button-row{display:flex;gap:10px;margin:14px 0}.button-row>*{flex:1;min-width:0}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-actions button,.detail-actions a{font-size:.9rem}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.tabs a{padding:8px 12px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#5e4b73;min-height:42px}.tabs a.active{background:#e9dcfa;color:#672c9d;font-weight:700}.empty{color:#776d85;padding:20px 8px;text-align:center}.settings-link{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:16px 2px;color:var(--ink);font-weight:650;gap:8px}.settings-link:last-child{border:0}.settings-link>span{display:flex;align-items:center;gap:12px}.settings-link small{display:block;font-weight:400;margin-top:4px}label{display:block;font-weight:600;margin-bottom:16px;font-size:.95rem}input,select,textarea{display:block;margin-top:7px;width:100%;border:1px solid #d8c9e7;border-radius:12px;padding:12px;color:#2e1a44;background:#fff;min-height:48px;outline:none;font-size:16px}input:focus,textarea:focus,select:focus{border-color:#9959c9;box-shadow:0 0 0 3px #ddc7f54d}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23795692' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}textarea{resize:vertical;min-height:80px}input[type=checkbox]{width:22px;min-height:22px;height:22px;margin:0;accent-color:#8c46bd;flex:none}input[type=color]{padding:4px}.checkbox{display:flex;align-items:center;gap:10px;font-size:.9rem;font-weight:500;margin:10px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{min-width:0}.field-error{display:block;color:#aa2043;font-size:.85rem;margin-top:6px;font-weight:500}.invalid{border-color:#dd4266;background:#fff8fa}.error-banner{padding:13px 14px;background:#ffe2eb;border:1px solid #f4b7cc;border-radius:13px;color:#9d1b43;overflow-wrap:anywhere}.error-banner:empty{display:none}.form-item{border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:16px;background:#fff}.form-item .item-preview{display:flex;align-items:center;gap:12px;margin:5px 0 15px}.item-preview img{width:66px;height:66px;object-fit:contain;border-radius:10px;background:#f6eee6}.form-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.form-heading h3{margin:0}.form-heading button{min-height:44px}.sticky-save{position:sticky;bottom:90px;background:#fcfaffed;backdrop-filter:blur(8px);padding:8px 0;z-index:3}.changed-hint{background:#fff1d3;padding:10px 12px;border-radius:12px;margin-bottom:14px;font-size:.9rem}.product-card{display:grid;grid-template-columns:41% minmax(0,1fr);align-items:center;gap:15px;padding:10px;margin-bottom:13px;border-radius:22px;min-height:148px;width:100%;text-align:left;color:var(--ink);border:1px solid var(--line);background:#fff9;box-shadow:0 3px 6px #4d20700c}.product-card img{width:100%;height:134px;object-fit:contain;border-radius:17px;background:#f2e8db}.product-card h2{font-size:1.15rem;margin:0 0 12px;overflow-wrap:anywhere}.price{display:inline-block;font-size:1.5rem;font-weight:750;background:#dff5df;border-radius:17px;padding:6px 17px;color:#171328}.product-card:nth-child(3n+2) .price{background:#e0eaff}.product-card:nth-child(3n) .price{background:#ffdfeb}.catalog-brand{position:relative;padding:40px 18px 30px;min-height:160px;background:linear-gradient(120deg,#d8c5eb,#ae9bcf);color:white;overflow:hidden}.catalog-brand>div{position:relative;z-index:1;max-width:82%}.catalog-brand h1{font-size:1.7rem;margin-bottom:10px}.catalog-brand p{font-size:1rem;margin:0}.public-catalog main{padding-bottom:20px}.catalog-footer{padding:20px 15px calc(20px + env(safe-area-inset-bottom));font-size:.9rem;text-align:center;color:#746482;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:23px;background:#fcfaff;color:var(--ink);padding:20px;width:calc(100% - 28px);max-width:480px;max-height:88dvh;overflow-y:auto;box-shadow:0 20px 80px #29173a4d}dialog::backdrop{background:#24123266;backdrop-filter:blur(3px)}dialog h2{margin-top:10px}dialog .gallery img{display:block;width:100%;max-height:400px;object-fit:contain;border-radius:16px;margin:12px 0;background:#f4ece5}.close-dialog{display:block;margin-left:auto}.connection{padding:9px 14px;font-size:.88rem;background:#fff0cd;color:#79421f;position:sticky;top:0;z-index:4}.connection.error{background:#ffe0e9;color:#9a2048}.connection button{border:0;background:none;color:inherit;font-weight:750;padding:6px;text-decoration:underline}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#3c2654;color:white;padding:12px 18px;border-radius:14px;width:max-content;max-width:calc(100% - 40px);z-index:20;box-shadow:0 5px 30px #0002;font-size:.94rem}.loading{padding:45px 15px;text-align:center;color:#7e698f}.login-card{margin:10px 0;padding:22px}.login-card h1{margin-bottom:8px}.login-card p{color:var(--muted)}.setup{padding:0 18px 40px}.setup .brand{margin:0 -18px 25px}.setup h1{margin-top:20px}.product-manage-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink)}.product-manage-row img{width:65px;height:65px;object-fit:contain;background:#f4ece4;border-radius:12px}.product-manage-row>span{flex:1}.product-manage-row strong{display:block}.product-manage-row:last-child{border:0}.photo-edit{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:15px}.photo-edit>div{width:calc(50% - 6px)}.photo-edit img{width:100%;height:140px;object-fit:contain;background:#f3e9df;border-radius:12px}.swatch{display:inline-block;width:30px;height:30px;border:1px solid #0002;border-radius:8px;flex:none}.color-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink)}.color-row>span:nth-child(2){flex:1}.color-row:last-child{border:0}.link-box{background:#f4eefb;border-radius:12px;padding:10px;font-size:.85rem;overflow-wrap:anywhere;margin-bottom:12px}.search{margin-bottom:16px}.help-text{font-size:.88rem;color:#73647e}.notes{white-space:pre-line;overflow-wrap:anywhere}.inline-total{font-weight:750;font-size:1.2rem;text-align:right;padding:10px}.photo-preview{display:flex;gap:8px;margin-bottom:12px}.photo-preview img{width:90px;height:90px;object-fit:contain;border-radius:10px}button:focus-visible,a:focus-visible{outline:3px solid #9561c6;outline-offset:3px}[hidden]{display:none!important}@media(max-width:365px){main{padding-left:10px;padding-right:10px}.brand-decor{width:95px}.brand-name span:not(.brand-cube){font-size:.75rem}.order-row{grid-template-columns:30px minmax(0,1fr) auto 8px;gap:6px}.avatar{width:30px;height:30px}.badge{font-size:.7rem;padding:5px 7px}.position-card{grid-template-columns:68px minmax(0,1fr) 42px;gap:7px;padding:10px}.position-card .product-image{width:68px;height:110px}.stepper button{width:42px}.count{font-size:.62rem}.count strong{font-size:1.3rem}.product-card h2{font-size:1.03rem}.price{font-size:1.3rem;padding:6px 12px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,opacity .15s}dialog[open]{animation:appear .15s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.brand-cube{width:34px;height:40px;flex:none}.brand-name{max-width:78%}
.wizard-main{padding-bottom:35px}.wizard-progress{display:flex;list-style:none;padding:0;gap:6px;margin:22px 0}.wizard-progress li{flex:1;padding:10px 4px;border-radius:12px;background:#eee7f6;text-align:center;font-size:.85rem;color:#70637e}.wizard-progress li[aria-current]{background:#e1c9f8;color:#632699;font-weight:750}.wizard-progress li.finished{background:#d9f3e2;color:#235a37}.setup-checks{list-style:none;padding:0;margin:15px 0 24px}.setup-checks li{padding:10px 0;border-bottom:1px solid var(--line);font-size:.92rem}.setup-checks li p{margin:6px 0 0;font-size:.86rem}.check-ok strong{color:#267447}.check-missing strong{color:#ac3152}.advanced{margin-bottom:16px}.advanced summary{padding:8px 0;color:#756383;font-size:.9rem;cursor:pointer}.setup-summary{padding:14px;background:#ecf8ef;border-radius:14px;margin:20px 0}.setup-summary p{margin:6px 0 0;font-size:.9rem}input[readonly]{background:#f4f0f8;color:#6c5e7b}
.position-card{grid-template-columns:minmax(0,1fr) 46px}.position-main{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;min-width:0;color:inherit;border-radius:14px}.position-main>div{min-width:0}.position-main:focus-visible{outline:3px solid #9561c6;outline-offset:3px}.edit-position-hint{display:inline-flex;align-items:center;gap:4px;font-size:.78rem;color:#7943a3;margin-top:8px}.custom-image{display:flex;align-items:center;justify-content:center;width:64px;height:62px;border-radius:12px;background:#ece1fa;color:#8851b2;flex:none}.custom-image.large{width:88px;height:125px}.custom-image .icon{width:30px;height:30px}.custom-label{color:#8555a6!important;font-weight:600}.custom-pending{color:inherit}.form-item.targeted{border:2px solid #ae78d8;scroll-margin-top:16px}.color-control{margin-bottom:16px}.color-control>label{margin-bottom:7px}.color-input-row{position:relative;display:flex;align-items:stretch}.color-input-row input{margin:0;padding-right:54px}.color-toggle{position:absolute;right:1px;top:1px;bottom:1px;width:48px;border:0;background:#f0e8fa;color:#753ca6;border-radius:0 11px 11px 0;font-size:1.6rem}.color-control>.help-text{font-size:.83rem;margin:6px 0 0}.color-options{border:1px solid var(--line);border-radius:13px;padding:5px;background:#fff;margin-top:8px}.color-options>[role=option]{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;width:100%;border:0;background:white;color:var(--ink);text-align:left;border-radius:9px;font-size:.95rem}.color-options>[role=option]:focus,.color-options>[role=option]:hover{background:#f0e7fb}.color-options .swatch{height:24px;width:24px}.color-no-match{padding:8px;margin:0}@media(max-width:365px){.position-card{grid-template-columns:minmax(0,1fr) 42px}.position-main{grid-template-columns:68px minmax(0,1fr);gap:7px}.custom-image.large{width:68px;height:110px}}
.catalog-colors{padding:14px;margin-bottom:18px}.catalog-colors summary{cursor:pointer;list-style:none;min-height:52px;display:flex;flex-direction:column;justify-content:center;gap:9px}.catalog-colors summary::-webkit-details-marker{display:none}.palette-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:1rem;font-weight:700}.palette-heading::after{content:'⌄';font-size:1.3rem;color:#8653b1}.catalog-colors[open] .palette-heading::after{content:'⌃'}.palette-count{font-size:.8rem;color:#79648d;font-weight:500;margin-left:auto;white-space:nowrap}.palette-preview{display:flex;gap:4px;flex-wrap:wrap}.palette-preview>span{width:15px;height:15px;display:block;border-radius:4px;border:1px solid #0002}.public-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px;margin:18px 0 14px}.public-color-tile{text-align:center;min-width:0;font-size:.85rem}.public-color-swatch{display:block;width:100%;height:45px;border:1px solid #0002;border-radius:10px;box-shadow:inset 0 1px 3px #fff5}.public-color-tile strong{display:block;font-size:1rem;margin-top:5px}.public-color-tile>span:last-child:not(.public-color-swatch){overflow-wrap:anywhere}.catalog-colors>.help-text{font-size:.85rem;margin:8px 0 0}.catalog-colors summary:focus-visible{outline:3px solid #9561c6;outline-offset:4px;border-radius:7px}@media(max-width:365px){.palette-heading{font-size:.92rem;gap:6px}.public-color-grid{gap:10px 8px}.palette-preview{gap:3px}.palette-preview>span{width:14px;height:14px}}

.category-options{border:1px solid var(--line);border-radius:14px;padding:14px;margin:18px 0}.category-options legend{font-weight:700;padding:0 6px}.category-options .checkbox{overflow-wrap:anywhere}.catalog-filter label{font-weight:700}.catalog-filter select{width:100%;margin-bottom:0}.catalog-filter .help-text{margin-bottom:0}.whatsapp-contact{margin:20px 16px}.whatsapp-link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;padding:12px 16px;border-radius:16px;background:#147d45;color:#fff;text-decoration:none;font-weight:700;line-height:1.4}.whatsapp-link svg{width:38px;height:38px;flex-shrink:0}.whatsapp-link small{display:block;font-size:.95rem;font-weight:500}.whatsapp-link:focus-visible{outline:3px solid #6e38a2;outline-offset:4px}.whatsapp-contact p{font-size:1rem;line-height:1.55;margin-bottom:0}.settings-link>span{overflow-wrap:anywhere;min-width:0}

.whatsapp-link small{color:inherit}
