/* UI-01 — tela de vendas "Seu espaço de vendas". Base: styles.css do protótipo aprovado (ZIP 1fd676cc…0ee4).
   Fontes hospedadas em /assets (OFL 1.1, @fontsource 5.3.0), sem Google Fonts: a CSP só permite font-src 'self'. */
@font-face{font-family:'DM Sans';src:url(/assets/dm-sans.woff2) format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url(/assets/manrope.woff2) format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(/assets/instrument-serif.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url(/assets/instrument-serif-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
:root{--ink:#302b36;--muted:#77717b;--plum:#654561;--plum-deep:#382c40;--lilac:#eee6f1;--green:#267458;--mint:#e9f3eb;--line:#e9e5e7;--paper:#f7f6f2;--white:#fff;--serif:'Instrument Serif',Georgia,'Times New Roman',serif;--body:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;--heading:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px var(--body);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9d79b2;outline-offset:4px}button{border:0}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}button{transition:background .2s,box-shadow .2s,transform .2s,color .2s}button:not(:disabled):active{transform:scale(.97)}::selection{background:#dac6e1}input{min-width:0}button svg{pointer-events:none}[hidden]{display:none!important}
.rail{width:88px;position:fixed;inset:0 auto 0 0;z-index:20;background:linear-gradient(170deg,#3c2f44,#2c2534 70%);display:flex;align-items:center;flex-direction:column;padding:27px 10px;color:#c8bdce}.monogram{width:47px;height:57px;display:grid;place-items:center}.monogram img{height:51px;width:41px;object-fit:contain}.rail-line{height:1px;background:#ffffff17;width:28px;margin:25px 0 23px}.rail nav{width:100%;display:flex;flex-direction:column;gap:12px}.nav-item,.rail-help{width:100%;background:transparent;color:#c6bbc9;border-radius:14px;padding:13px 3px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;font-weight:500}.nav-item svg,.rail-help svg{width:22px;height:22px}.nav-item:hover,.rail-help:hover{background:#ffffff0d;color:#fff}.nav-item.active{background:#eee3eb;color:#523c58;box-shadow:0 4px 22px #0000000e}.rail-help{margin-top:auto}.rail-edition{font-size:10px;letter-spacing:4px;margin:26px 0 5px;color:#b1a1ba}.shell{margin-left:88px}.topbar{height:104px;margin:0 36px;border-bottom:1px solid #e4dfe4;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.brand strong{font-family:var(--heading);font-weight:500;font-size:20px;letter-spacing:4px}.brand i{font-family:var(--serif);font-size:19px;font-weight:400;letter-spacing:0}.brand>span{font-size:8px;letter-spacing:3.1px;color:#88808c}.header-right{display:flex;align-items:center;gap:26px}.demo-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#827585;border:1px solid #e3dce6;padding:7px 10px;border-radius:30px}.demo-badge>span{width:5px;height:5px;background:#9d81a4;border-radius:50%}.month-pill{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #e4dce6;border-radius:14px;padding:11px 14px;background:#f0ebf1}.month-pill:hover{background:#e9deed;box-shadow:0 6px 20px #65456110}.month-icon{background:#e1d5e6;color:var(--plum);padding:10px;border-radius:10px}.month-icon svg{width:18px;height:18px}.month-pill small{display:block;font-size:8px;letter-spacing:1px;color:#78687e;font-weight:700;margin-bottom:3px}.month-pill strong{font-family:var(--heading);font-size:19px}.month-pill>svg{width:15px;color:#9c8ba5}.profile{display:flex;align-items:center;gap:11px}.avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e5cfc4;color:#6f4d4e;font-family:var(--serif);font-size:24px}.avatar>span{position:absolute;background:#74a989;border:3px solid var(--paper);width:11px;height:11px;border-radius:50%;bottom:0;right:-1px}.profile strong{display:block;font-size:13px;margin-bottom:3px}.profile small{font-size:10px;color:var(--muted)}main{padding:0 36px;max-width:1750px;margin:0 auto}.intro{padding:32px 0 28px;display:flex;justify-content:space-between;gap:20px;align-items:center}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#8a788c;font-weight:650}.intro .eyebrow{display:flex;gap:7px;align-items:center}.tiny-spark{font-size:17px;color:#956f90}.intro h1{font-family:var(--serif);font-weight:400;font-size:46px;letter-spacing:-1px;line-height:1.25;margin:4px 0 7px}.intro h1 em{color:#785675;font-weight:400}.intro-copy{font-size:12px;color:var(--muted)}.steps{display:flex;align-items:center;gap:20px;list-style:none;padding:0;margin:19px 0 0}.steps li{position:relative;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;white-space:nowrap;color:#96909a}.steps li:not(:last-child):after{content:'';height:1px;width:15px;background:#d9d3dd;position:absolute;right:-18px}.step-number{border:1px solid #ded8df;border-radius:50%;height:27px;width:27px;display:grid;place-items:center;font-size:10px}.steps .active{color:#6c486c}.steps .active .step-number{background:#6c486c;color:white;border-color:#6c486c;box-shadow:0 0 0 4px #6c486c0c}.steps .done{color:var(--green)}.steps .done .step-number{background:var(--mint);border-color:#d3e7d9}.steps svg{width:12px;height:12px}.workspace{display:grid;grid-template-columns:minmax(255px,.9fr) minmax(330px,1.3fr) minmax(285px,1fr);gap:20px;align-items:stretch}.panel{border:1px solid var(--line);border-radius:21px;background:#ffffffcf;box-shadow:0 5px 18px #30263803}.catalog{padding:22px 16px 13px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin:0 6px 16px}.panel h2{font-family:var(--heading);font-size:16px;font-weight:750;letter-spacing:-.5px}.count{font-size:10px;color:#8c858e}.search{height:39px;display:flex;align-items:center;gap:8px;background:#f5f3f5;border:1px solid #eee9ee;border-radius:10px;padding:0 10px;margin:0 4px}.search svg{width:15px;height:15px;color:#a096a4}.search input{border:0;background:transparent;outline:none;width:100%;font-size:11px;color:var(--ink)}.search input::placeholder{color:#928a95}.search kbd{font-size:10px;background:white;padding:1px 5px;border-radius:3px;color:#b0a6b4}.categories{display:flex;flex-wrap:wrap;gap:5px;padding:12px 4px}.category{background:transparent;padding:6px 9px;border-radius:7px;font-size:10px;color:#827787;font-weight:500}.category:hover{background:#f5f0f6}.category.active{color:#684c6f;background:#eee6f1;font-weight:700}.products{display:flex;flex-direction:column;gap:3px}.product{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;min-height:49px;padding:7px 10px;position:relative}.product:hover{background:#f6f3f7;transform:translateX(2px)}.product.active{background:#f1ebf3;border-color:#d8c4df;box-shadow:0 3px 10px #65456104}.product.active:before{content:'';position:absolute;left:-1px;top:15px;bottom:15px;width:3px;border-radius:0 3px 3px 0;background:#805d89}.product-thumb{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;overflow:hidden;background:var(--swatch)}.product-thumb svg{width:29px;height:29px;filter:drop-shadow(0 2px 1px #00000014)}.product-text{flex:1;min-width:0}.product-name{font-size:11px;font-weight:650;display:block;line-height:1.35}.product-price{font-size:10px;display:block;color:#8c8290;margin-top:3px}.product>svg{color:#aea2b6;width:13px;height:13px}.product.active>svg{color:#75517e}.catalog-note{border-top:1px solid #f0ebf1;margin:12px 6px 0;padding-top:14px;display:flex;gap:6px;align-items:center;justify-content:center;font-size:9px;color:#9c909f}.catalog-note svg{width:12px;height:12px}.detail{overflow:hidden;display:flex;flex-direction:column;position:relative}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 0}.detail-top .eyebrow{font-size:8px;letter-spacing:1.3px}.available{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--green);background:#edf5ee;padding:5px 8px;border-radius:20px}.status-dot{display:inline-block;width:5px;height:5px;background:#77a88a;border-radius:50%;flex-shrink:0}.product-stage{position:relative;height:208px;display:flex;align-items:center;justify-content:center;isolation:isolate;margin:0 16px}.stage-orb{position:absolute;z-index:-1;width:164px;height:164px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f5edf6,#e6d9ed);transition:background .5s}.stage-ring{position:absolute;border:1px solid #c3b4ca55;width:222px;height:118px;transform:rotate(-25deg);border-radius:50%;z-index:-1}.stage-ring:after{content:'';width:5px;height:5px;background:#b09ab9;border-radius:50%;position:absolute;left:15px;top:23px}.big-garment{width:191px;height:191px;filter:drop-shadow(0 15px 10px #3b2a4c20);animation:reveal .4s ease both}.stage-caption{position:absolute;right:2px;bottom:18px;display:flex;flex-direction:column;gap:4px;align-items:flex-end;color:#a294ab;font-size:8px;letter-spacing:1px}.stage-caption span:last-child{letter-spacing:2px;font-size:7px}.stage-caption .mini-line{width:22px;height:1px;background:#b6a1c1;margin-bottom:4px}.stage-label{position:absolute;left:10px;top:30px;writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:2px;font-size:7px;color:#aa9ab3}.detail-content{padding:0 24px 23px;display:flex;flex-direction:column;flex:1}.product-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:18px}.product-title-row h2{font-size:21px;letter-spacing:-.8px}.product-title-row p{color:#938795;font-size:10px;margin-top:4px}.detail-price{text-align:right;white-space:nowrap;font-family:var(--heading);font-size:16px;letter-spacing:-.5px;font-weight:750;line-height:1.5}.detail-price small{display:block;font-family:var(--body);font-size:9px;letter-spacing:0;font-weight:400;color:#9a8d9f}.field-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.field-label>span:first-child{font-size:10px;font-weight:650;color:#64576a}.field-label>span:last-child{font-size:9px;color:#9b8ba2}.model-options{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:18px}.model{padding:8px 11px;background:#faf9fa;border:1px solid #e9e2ec;border-radius:8px;font-size:10px;color:#8a7b92}.model:hover{border-color:#a789b3}.model.selected{color:#684b70;background:#f0e7f4;border-color:#bc9dc9;font-weight:650}.sizes{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.size{height:46px;padding:5px 0;border-radius:9px;border:1px solid #e8e0eb;background:white;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.size>strong{font-family:var(--heading);font-size:11px}.size>small{font-size:7px;color:var(--green)}.size.floor>small{color:#a27327}.size:disabled{background:repeating-linear-gradient(135deg,#f8f6f8,#f8f6f8 4px,#f1eef3 4px,#f1eef3 5px);opacity:.5}.size:disabled strong{text-decoration:line-through}.size:hover:not(:disabled){border-color:#9b75ab;background:#fbf7fc;transform:translateY(-2px)}.size.selected{background:#6e4d77;color:white;border-color:#6e4d77;box-shadow:0 4px 10px #6e4d7728}.size.selected>small{color:#e3d3e9}.stock-hint{margin-top:9px;font-size:9px;display:flex;gap:5px;align-items:center;color:#7c8a7f;min-height:15px}.stock-hint svg{width:12px;height:12px}.stock-hint.floor{color:#a0742c}.stock-legend{display:flex;gap:10px;align-items:center;margin-top:8px;color:#a497a9;font-size:8px}.stock-legend>span{display:flex;align-items:center;gap:4px}.stock-legend i{width:4px;height:4px;border-radius:50%;background:#77a88a}.stock-legend .amber{background:#d3a555}.stock-legend .gray{background:#c7bccb}.detail-action{margin-top:auto;padding-top:20px}.piece-gain{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:#f0f6f0;border:1px solid #e2ede3;border-radius:11px;margin-bottom:13px}.piece-gain>span{font-size:10px;color:#60836a;display:flex;gap:6px;align-items:center}.piece-gain svg{width:14px;height:14px}.piece-gain strong{font-family:var(--heading);font-size:15px;color:#30744b;letter-spacing:-.5px}.add-row{display:flex;gap:10px}.quantity{display:flex;align-items:center;border:1px solid #e5dce9;border-radius:10px;overflow:hidden;height:44px;flex-shrink:0;background:white}.quantity button{width:28px;height:100%;background:transparent;display:grid;place-items:center;color:#8c7396}.quantity button:hover{background:#f2eaf5}.quantity svg{width:12px;height:12px}.quantity strong{font-size:12px;min-width:21px;text-align:center}.primary{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;background:#6b4b73;color:white;font-size:11px;font-weight:600;min-height:44px;padding:11px 16px;box-shadow:0 5px 10px #6b4b7311}.primary svg{width:15px;height:15px}.primary:hover:not(:disabled){background:#513657;box-shadow:0 6px 20px #6b4b7333;transform:translateY(-1px)}.add-row .primary{flex:1}.primary:disabled{opacity:1;background:#ece6ef;color:#a897af;box-shadow:none}.order{display:flex;flex-direction:column;padding:23px 22px;position:relative;background:linear-gradient(155deg,#fff 68%,#fbfaf7)}.order-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.order-heading .eyebrow{font-size:7px;letter-spacing:1.6px}.order-heading h2{font-size:21px;margin-top:7px}.order-heading h2>span{display:inline-grid;place-items:center;vertical-align:middle;background:#f0e9f3;color:#74527e;min-width:22px;height:22px;border-radius:50%;font-size:10px;margin-left:5px}.bag-icon{background:#f6f1f6;border-radius:13px;padding:11px;color:#9c7aa1}.bag-icon svg{width:20px;height:20px}.order-demo{display:flex;align-items:center;gap:5px;color:#a197a5;font-size:8px;border-bottom:1px solid var(--line);padding-bottom:15px}.order-demo>span:not(.status-dot){color:#c9becc}.cart{display:flex;flex-direction:column;gap:19px;flex:1;min-height:167px;padding:21px 0;max-height:285px;overflow:auto}.cart-item{display:flex;gap:11px;animation:slide-in .3s ease both}.cart-thumb{width:47px;height:54px;border-radius:9px;background:var(--swatch);display:grid;place-items:center;flex-shrink:0}.cart-thumb svg{width:43px;height:43px;filter:drop-shadow(0 3px 2px #00000012)}.cart-body{flex:1;min-width:0}.cart-name{font-weight:650;font-size:11px;margin-bottom:4px}.cart-description{font-size:9px;color:#95889d}.cart-price{font-size:11px;font-weight:650}.cart-item-top{display:flex;justify-content:space-between;gap:7px}.icon-button{padding:2px;color:#b1a2b7;background:transparent;border-radius:5px}.icon-button:hover{color:#99445b;background:#f8edf1}.icon-button svg{width:12px;height:12px}.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:8px}.cart-item .quantity{height:24px;border-radius:6px}.cart-item .quantity button{width:23px}.cart-item .quantity strong{font-size:10px;min-width:14px}.cart-item .quantity svg{width:10px}.item-gain{font-size:8px;color:#5e8b68;margin-top:7px;display:flex;align-items:center;gap:4px}.item-gain svg{width:10px;height:10px}.cart-floor{font-size:8px;color:#ad812f;margin-top:5px}.empty-bag{margin:auto;text-align:center;display:flex;flex-direction:column;align-items:center;padding:23px 4px;color:#a596aa;gap:10px}.empty-bag svg{width:34px;height:34px;color:#cdb9d5}.empty-bag strong{font-size:12px;color:#7c6e83}.empty-bag p{font-size:10px;line-height:1.7;max-width:190px}.summary{border-top:1px dashed #dfd4e3;padding:18px 0}.summary-row{display:flex;justify-content:space-between;color:#8c7c95;font-size:10px;margin-bottom:12px}.summary-row.total{font-size:12px;font-weight:600;color:#45394b;align-items:center;margin:0}.summary-row.total strong{font:750 24px var(--heading);letter-spacing:-1px}.commission-card{border:1px solid #cfe0d1;background:linear-gradient(120deg,#eef6e8,#e6efe5);position:relative;border-radius:13px;padding:17px 15px;color:#386b43;overflow:hidden;margin-bottom:17px}.commission-card:after{content:'';position:absolute;right:-16px;top:-16px;width:95px;height:95px;border:1px solid #7aab7740;border-radius:50%;pointer-events:none}.commission-card:before{content:'';position:absolute;right:-31px;top:-32px;width:126px;height:126px;border:1px solid #7aab772a;border-radius:50%;pointer-events:none}.commission-title{font-size:10px;display:flex;align-items:center;gap:6px;position:relative;z-index:1}.commission-title svg{width:14px;height:14px}.commission-value{display:flex;justify-content:space-between;align-items:baseline;margin:7px 0 3px;gap:6px;position:relative;z-index:1}.commission-value strong{font-family:var(--heading);font-size:32px;letter-spacing:-1.5px;font-weight:750;transition:color .2s}.commission-value span{font-size:8px;font-weight:650;background:#ffffff80;padding:5px 7px;border-radius:20px;color:#5a8659}.commission-card p{font-size:8px;color:#71906d;margin-top:6px}.order-cta{width:100%;justify-content:space-between;padding-left:18px;background:#3c2f45;min-height:47px;border-radius:11px}.order-cta:hover:not(:disabled){background:#62436b}.cta-note{display:flex;align-items:center;justify-content:center;gap:4px;color:#a493ac;font-size:8px;margin-top:11px}.cta-note svg{width:10px;height:10px}.page-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:20px 2px 22px;font-size:9px;color:#a194a5}.page-footer>span:first-child{display:flex;align-items:center;gap:6px}.page-footer button{background:transparent;color:#9b87a4;display:flex;gap:6px;align-items:center;font-size:9px}.page-footer button:hover{color:var(--plum)}.page-footer svg{width:11px;height:11px}.toast{position:fixed;bottom:25px;left:calc(50% + 44px);transform:translate(-50%,15px);z-index:70;background:#392d43ef;backdrop-filter:blur(16px);color:#f9f4fb;border:1px solid #79617f;box-shadow:0 12px 36px #251d3322;padding:13px 20px;border-radius:13px;font-size:12px;display:flex;align-items:center;gap:9px;opacity:0;pointer-events:none;transition:.25s;max-width:calc(100% - 36px)}.toast.show{transform:translate(-50%,0);opacity:1}.toast svg{width:17px;height:17px;color:#bad7b5}.no-results{text-align:center;padding:60px 15px;font-size:12px;color:#8c7d95;line-height:1.9}.no-results button{display:block;margin:15px auto;background:#eee6f1;padding:9px 15px;border-radius:9px;color:#715278}.bump{animation:bump .4s ease}@keyframes bump{50%{transform:scale(1.025)}}@keyframes reveal{from{opacity:0;transform:translateY(6px) rotate(-5deg)}to{opacity:1;transform:translateY(0) rotate(-3deg)}}@keyframes slide-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
dialog{border:1px solid #e8deeb;border-radius:25px 0 0 25px;padding:0;position:fixed;inset:0 0 0 auto;height:100dvh;max-height:100dvh;margin:0;width:min(520px,100%);max-width:100%;background:#fdfcfb;color:var(--ink);box-shadow:-20px 0 100px #2a1b3f15}dialog[open]{animation:drawer-in .3s ease}dialog::backdrop{background:#25183055;backdrop-filter:blur(5px)}#drawer-content{padding:33px;min-height:100%;display:flex;flex-direction:column}.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:26px}.drawer-header h2{font-family:var(--serif);font-size:37px;font-weight:400;letter-spacing:-.6px;margin-top:8px}.drawer-close{background:#f1ecf3;border-radius:50%;padding:10px;color:#8c7396}.drawer-close svg{width:16px;height:16px}.drawer-copy{color:#938397;font-size:12px;line-height:1.8;margin-bottom:23px}.drawer-form{display:flex;flex-direction:column;gap:17px}.form-field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#716078}.form-field input,.form-field select{height:45px;padding:0 13px;border-radius:10px;border:1px solid #dfd3e6;background:white;color:#54445e;outline:none;width:100%}.form-field input:focus{border-color:#9a75aa;box-shadow:0 0 0 3px #ad89bc12}.customer-option{border:1px solid #d8c9df;border-radius:14px;background:#f3edf6;padding:16px;display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin-bottom:12px}.customer-option .avatar{background:#dcd0e4;color:#735381;width:39px;height:39px;font-family:var(--body);font-size:14px}.customer-option>span:nth-child(2){flex:1}.customer-option strong{display:block;font-size:12px}.customer-option small{display:block;font-size:10px;color:#9a84a5;margin-top:5px}.customer-option>svg{width:18px;height:18px;color:#8b699a}.form-divider{display:flex;align-items:center;gap:10px;margin:19px 0;font-size:10px;color:#b09db9}.form-divider:before,.form-divider:after{content:'';height:1px;background:#e8e0ec;flex:1}.drawer-bottom{margin-top:auto;padding-top:30px}.drawer-bottom .primary{width:100%;font-size:12px;min-height:48px}.drawer-total{display:flex;align-items:center;justify-content:space-between;background:#f2edf5;border-radius:12px;padding:15px;margin-bottom:19px;font-size:12px}.drawer-total strong{font-family:var(--heading);font-size:22px;letter-spacing:-.8px}.drawer-note{font-size:10px;color:#9d8aa6;margin-top:12px;text-align:center;line-height:1.8}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.payment-option{display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:17px;background:white;border:1px solid #e3d7e9;border-radius:13px;text-align:left;min-height:100px;position:relative}.payment-option:hover{background:#f8f3fa}.payment-option.selected{background:#f0e7f5;border-color:#a77db8;box-shadow:0 0 0 1px #a77db8}.payment-option svg{width:22px;height:22px;color:#8e689e}.payment-option strong{font-size:11px}.payment-option small{font-size:9px;color:#9d88a6;margin-top:-6px}.payment-check{position:absolute;right:12px;top:13px;color:#9b74aa}.payment-check svg{width:14px;height:14px}.payment-extra{padding:20px 0 0}.checkout-gain{display:flex;align-items:center;justify-content:space-between;background:#edf4e9;padding:17px;border-radius:13px;margin-top:24px;color:var(--green);font-size:12px}.checkout-gain strong{font:750 22px var(--heading);letter-spacing:-.7px}.success-screen{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:55px;flex:1}.success-orb{width:100px;height:100px;background:#e9f2e5;border:1px solid #d5e5cf;display:grid;place-items:center;border-radius:50%;box-shadow:0 0 0 14px #f1f6ee;margin-bottom:38px;color:#60915b}.success-orb svg{width:39px;height:39px}.success-screen h2{font:400 45px var(--serif);letter-spacing:-1px}.success-screen>p{font-size:12px;color:#94849b;margin:15px 0 28px;line-height:1.8}.success-card{width:100%;border:1px solid #e4d9e9;border-radius:17px;padding:21px;text-align:left;background:white}.success-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:13px}.success-line:last-child{margin-bottom:0}.success-line>span{color:#95859e}.success-line.gain{color:#3a794a;border-top:1px dashed #ddd0e4;padding-top:14px}.success-line.gain strong{font:750 25px var(--heading);letter-spacing:-1px}.notice{background:#fbf2dd;border:1px solid #eee1b6;color:#9d7a35;padding:13px;border-radius:11px;font-size:10px;line-height:1.8;margin-top:20px}.history-item{padding:17px 0;border-bottom:1px solid #eae1ee}.history-item strong{font-size:13px}.history-item>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.history-item p{color:#9b88a4;font-size:10px;margin-top:7px}.history-item .gain{font-size:12px;font-weight:700;color:#4c8253}.help-step{display:flex;gap:15px;margin-bottom:25px}.help-step>span{height:33px;width:33px;flex-shrink:0;background:#eee3f3;border-radius:50%;display:grid;place-items:center;color:#866092}.help-step h3{font-size:14px;margin:3px 0 7px}.help-step p{font-size:12px;color:#94839c;line-height:1.8}.stock-row{padding:13px 0;border-bottom:1px solid #ede5f1;font-size:11px;display:flex;justify-content:space-between;gap:10px}.stock-row>span:last-child{color:#698b6b;white-space:nowrap}.inventory-search{margin-bottom:17px}dialog .eyebrow{font-size:9px}.drawer-caption{padding:12px 0;color:#a58daf;font-size:10px}.text-link{background:transparent;color:#8d69a0;font-size:10px;padding:0;display:inline-flex;gap:7px;align-items:center}.text-link svg{width:12px;height:12px}@keyframes drawer-in{from{transform:translateX(50px);opacity:0}to{transform:translateX(0);opacity:1}}
@media(min-width:1600px){.workspace{grid-template-columns:310px minmax(420px,1.5fr) minmax(330px,1fr)}.product{min-height:55px}.product-stage{height:248px}.big-garment{width:225px;height:225px}.stage-orb{width:200px;height:200px}.detail-content{padding:0 30px 27px}.detail-top{padding:24px 30px 0}.product-name{font-size:12px}.sizes{gap:8px}.size{height:52px}.product-title-row h2{font-size:25px}.detail-price{font-size:20px}.cart{max-height:340px}.order{padding:27px}.intro{padding:39px 0 32px}.intro h1{font-size:54px}.catalog{padding-top:25px}}
@media(max-width:1250px){.topbar{margin:0 24px}.header-right{gap:16px}.demo-badge{display:none}main{padding:0 24px}.workspace{gap:14px;grid-template-columns:245px minmax(300px,1fr) minmax(260px,.9fr)}.detail-content{padding:0 17px 20px}.detail-top{padding:20px 17px 0}.order{padding:22px 17px}.product-name{font-size:10px}.product{gap:8px;padding-left:8px}.product-title-row h2{font-size:18px}.steps{gap:18px}.steps li{font-size:10px}.intro h1{font-size:41px}.profile small{display:none}.stage-caption{font-size:7px}.stage-caption span:last-child{font-size:6px}.piece-gain>span{font-size:9px}.product-stage{height:198px}}
@media(max-width:1100px){.rail{width:75px}.shell{margin-left:75px}.brand strong{font-size:17px;letter-spacing:2.5px}.intro{align-items:flex-start;flex-direction:column;gap:0;padding:25px 0}.steps{margin-top:19px}.workspace{grid-template-columns:250px 1fr}.order{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:35px}.order-heading,.order-demo{grid-column:1}.cart{grid-column:1;grid-row:3;max-height:280px}.order #order-bottom{grid-column:2;grid-row:1/4}.order .commission-card{margin-bottom:12px}.order .summary{padding-top:0;border-top:0}.page-footer>span:nth-child(2){display:none}.detail-action{padding-top:25px}.toast{left:calc(50% + 37px)}}
@media(max-width:720px){.rail{width:auto;height:69px;bottom:0;top:auto;right:0;padding:6px 10px;flex-direction:row;border-radius:20px 20px 0 0;background:#34283e;box-shadow:0 -5px 30px #31213d15}.rail .monogram,.rail-line,.rail-help,.rail-edition{display:none}.rail nav{flex-direction:row;gap:5px;justify-content:space-around}.nav-item{padding:8px 3px;border-radius:11px;font-size:9px;gap:4px}.nav-item svg{width:19px;height:19px}.nav-item.active{background:#eee3eb}.shell{margin-left:0}.topbar{height:86px;margin:0 18px}.brand strong{font-size:14px;letter-spacing:1.6px}.brand>span{font-size:6px;letter-spacing:1.6px}.brand i{font-size:15px}.header-right{gap:12px}.month-pill{gap:6px;padding:9px 10px;border-radius:12px}.month-icon,.month-pill>svg,.profile>span:last-child{display:none}.month-pill small{font-size:6px;letter-spacing:.4px}.month-pill strong{font-size:15px}.avatar{width:33px;height:33px;font-size:20px}main{padding:0 16px 68px}.intro{padding:25px 3px 23px}.intro h1{font-size:37px;margin:5px 0 8px}.intro .eyebrow{font-size:8px;letter-spacing:1px}.intro-copy{font-size:11px}.steps{width:100%;justify-content:space-between;padding:15px 5px 0;margin-top:0}.steps li{font-size:11px;gap:7px}.steps li:not(:last-child):after{width:24px;right:-35px}.step-number{width:24px;height:24px}.workspace{grid-template-columns:1fr;gap:16px}.catalog{padding:18px 13px 12px}.catalog .panel-heading{margin-bottom:12px}.catalog-note{display:none}.products{display:grid;grid-template-columns:1fr 1fr;gap:5px}.product{padding:7px;gap:7px;min-height:58px;border:1px solid #f0eaf2;border-radius:11px}.product-thumb{width:29px;height:33px}.product-thumb svg{width:26px;height:26px}.product>svg{display:none}.product-name{font-size:10px}.product-price{font-size:9px}.categories{flex-wrap:nowrap;overflow:auto;padding:10px 4px;gap:3px}.category{white-space:nowrap;font-size:9px;padding:6px 8px}.detail{scroll-margin-top:16px}.detail-content{padding:0 21px 22px}.detail-top{padding:19px 21px 0}.product-stage{height:200px}.big-garment{height:195px;width:195px}.product-title-row h2{font-size:22px}.detail-price{font-size:19px}.sizes{gap:7px}.size{height:49px}.size>strong{font-size:12px}.size>small{font-size:8px}.piece-gain>span{font-size:10px}.primary{font-size:12px}.quantity{height:46px}.quantity button{width:32px}.order{grid-column:auto;display:flex;padding:22px}.cart{min-height:95px;max-height:none}.order .summary{padding-top:18px;border-top:1px dashed #dfd4e3}.order .commission-card{margin-bottom:17px}.order-cta{min-height:50px}.page-footer{flex-wrap:wrap;font-size:8px;gap:14px;padding-top:20px}.page-footer button{font-size:8px}.toast{left:50%;bottom:85px;width:max-content;max-width:calc(100% - 30px);font-size:10px}.panel{border-radius:18px}dialog{width:100%;border-radius:22px 22px 0 0;inset:auto 0 0;height:93dvh;max-height:93dvh}#drawer-content{padding:26px}.payment-option{min-height:97px}}
.size.selected:hover:not(:disabled){background:#5c3c66;border-color:#5c3c66;color:#fff}
.available.floor{background:#faf0df;color:#a47c37}.available.floor .status-dot{background:#c8a15f}
.mobile-sale{display:none}.order{scroll-margin-top:18px}
@media(min-width:1101px){.product .product-name{font-size:12px}.product .product-price{font-size:10px}.field-label>span:first-child{font-size:11px}.size>strong{font-size:12px}.cart-name{font-size:12px}.cart-description{font-size:10px}.cart-price{font-size:12px}.commission-title{font-size:11px}.order-cta{font-size:12px}}
@media(max-width:720px){.mobile-sale{position:fixed;z-index:21;bottom:76px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#fffffff0;backdrop-filter:blur(18px);border:1px solid #e8ddeb;box-shadow:0 3px 24px #3a244c1a;border-radius:13px;gap:10px}.mobile-sale>div{display:flex;flex-direction:column;gap:2px}.mobile-sale>div>span{font-size:9px;color:#6f8e75}.mobile-sale strong{font:750 18px var(--heading);letter-spacing:-.6px;color:#357348}.mobile-sale button{display:flex;align-items:center;gap:7px;background:#ede5f1;border-radius:9px;padding:10px;font-size:10px;color:#755382}.mobile-sale button svg{width:14px;height:14px}main{padding-bottom:143px}.toast{bottom:145px}}
/* Compact desktop rhythm: all ten families stay visible at a normal desk size. */
@media(min-width:1101px) and (max-width:1599px){.topbar{height:88px}.intro{padding:23px 0 22px}.intro h1{font-size:43px}.catalog{padding-top:18px}.panel-heading{margin-bottom:12px}.categories{flex-wrap:nowrap;gap:3px;padding:10px 3px}.category{font-size:9px;padding:6px 7px;white-space:nowrap}.product{min-height:42px;padding:4px 9px;gap:9px}.product-thumb{height:30px;width:30px}.product-thumb svg{height:27px;width:27px}.product-name{font-size:11px}.product-price{font-size:9px;margin-top:2px}.products{gap:3px}.catalog-note{margin-top:10px;padding-top:11px}.detail-top{padding-top:19px}.product-stage{height:177px}.big-garment{height:170px;width:170px}.stage-orb{width:148px;height:148px}.stage-ring{width:201px;height:105px}.detail-content{padding-bottom:20px}.product-title-row{margin-bottom:15px}.model-options{margin-bottom:15px}.detail-action{padding-top:17px}.order{padding-top:21px}.cart{min-height:110px;max-height:230px}.page-footer{padding-top:17px;padding-bottom:17px}}
@media(min-width:1101px) and (max-height:820px){.topbar{height:76px}.intro{padding-top:17px;padding-bottom:18px}.intro h1{font-size:37px}.intro-copy{font-size:11px}.catalog .products{max-height:394px;overflow:auto;scrollbar-width:thin;scrollbar-color:#dacadd transparent}.product-stage{height:150px}.big-garment{width:150px;height:150px}.detail-action{padding-top:13px}.detail-content{padding-bottom:16px}.page-footer{padding:13px 2px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---- Sistema real (UI-01) ---- */
/* Cores das famílias por classe (a CSP não aceita style="" no HTML). */
.sw-tech{--swatch:#eae3f1;--tone:#64516f}.sw-comfort{--swatch:#f0e1e7;--tone:#ba7c90}.sw-jaqueta{--swatch:#e1ece6;--tone:#709184}.sw-esporte{--swatch:#e8ecd5;--tone:#869953}.sw-branca{--swatch:#eeeae0;--tone:#e1d8c5}.sw-moletom{--swatch:#e8e1f2;--tone:#9780b7}.sw-legging{--swatch:#f5e8de;--tone:#c59377}.sw-bermuda{--swatch:#dfebef;--tone:#6c98a9}.sw-ecobag{--swatch:#eee8d7;--tone:#c6b383}.sw-gocase{--swatch:#f1e0dd;--tone:#bc7d73}.sw-outras{--swatch:#ece8ee;--tone:#8a7f90}
.stage-orb{background:var(--swatch,#efe6f3);background:radial-gradient(circle at 35% 25%,var(--swatch,#f5edf6),color-mix(in srgb,var(--swatch,#e6d9ed) 62%,transparent))}
.product-thumb img,.cart-thumb img,.big-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit}.big-photo{width:191px;height:191px;border-radius:18px}
.monogram{width:47px;height:57px;display:grid;place-items:center}.profile:hover strong{text-decoration:underline}
.banner{margin:18px 0 0;background:#f2edf5;border:1px solid #e0d3e6;color:#5b4363;border-radius:13px;padding:11px 15px;font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.banner-admin{background:#fbf2dd;border-color:#eee1b6;color:#7d5f22}.banner a,.banner .text-link{color:inherit;font-weight:700;text-decoration:underline;font-size:12px}
main>.notice{margin-top:18px}
.page-footer .other-views{display:flex;gap:12px;flex-wrap:wrap}.page-footer .other-views a{color:#8d6f98;font-size:9px}.page-footer .other-views a:hover{color:var(--plum);text-decoration:underline}
.form-error{background:#fbeef0;border:1px solid #efcbd3;color:#8f3047;border-radius:11px;padding:12px 13px;font-size:11px;line-height:1.7;margin:14px 0 0}.form-ok{background:#edf4e9;border:1px solid #d5e5cf;color:#2f6b3f;border-radius:11px;padding:12px 13px;font-size:11px;line-height:1.7;margin:14px 0 0}
.choice-group{display:flex;flex-wrap:wrap;gap:8px}.choice{padding:11px 14px;border-radius:11px;border:1px solid #e3d7e9;background:white;font-size:11px;color:#5f4c68;display:flex;gap:7px;align-items:center}.choice svg{width:16px;height:16px;color:#8e689e}.choice:hover{background:#f8f3fa}.choice[aria-pressed="true"]{background:#f0e7f5;border-color:#a77db8;box-shadow:0 0 0 1px #a77db8;color:#4f3657;font-weight:650}
.field-title{font-size:11px;color:#716078;margin:18px 0 9px;font-weight:600}
.aut-help{margin-top:9px;font-size:10px;line-height:1.7;color:#8a7593;background:#f7f3f8;border:1px dashed #dccfe2;border-radius:10px;padding:10px 12px}.aut-help strong{color:#5b4363}.aut-receipt{font-family:ui-monospace,Consolas,monospace;font-size:10px;background:white;border:1px solid #e7dfe9;border-radius:6px;padding:7px 9px;margin-top:7px;color:#5c5161;line-height:1.6}.aut-receipt mark{background:#f3e3a6;color:#3a2e12;padding:0 3px;border-radius:3px}
.confirm-row{display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#6b5a72;margin-top:16px;line-height:1.6}.confirm-row input{margin-top:3px;width:16px;height:16px;accent-color:#6b4b73}
.primary[aria-busy="true"]{cursor:progress;background:#8a6f92}
.move-prompt p{margin-bottom:8px}.move-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.secondary-button{min-height:44px;padding:11px 16px;border-radius:10px;background:#f1ecf3;color:#5f4568;font-size:11px;font-weight:600}.secondary-button:hover{background:#e8dfec}
.customer-results{display:flex;flex-direction:column;gap:6px;margin-top:12px;max-height:260px;overflow:auto}.customer-results .customer-option{margin-bottom:0}
.selected-customer{border:1px solid #cfe0d1;background:#f0f6f0;border-radius:13px;padding:13px 15px;font-size:12px;color:#2f6b3f;margin-bottom:16px}
.sale-row{padding:15px 0;border-bottom:1px solid #eae1ee}.sale-row>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.sale-row strong{font-size:13px}.sale-row p{color:#9b88a4;font-size:10px;margin-top:6px;line-height:1.6}.sale-state{font-size:9px;font-weight:700;letter-spacing:.4px;padding:4px 8px;border-radius:20px;background:#f2edf5;color:#6c486c}.sale-state.paid{background:#e9f3eb;color:#2f6b3f}.sale-state.wait{background:#fbf2dd;color:#8a6a2a}.sale-row .secondary-button{margin-top:10px;min-height:38px}
.messages-drawer .staff-messages{border:0;padding:0}.messages-drawer form{display:flex;flex-direction:column;gap:8px;margin:10px 0}.messages-drawer textarea,.messages-drawer select{font:inherit;border:1px solid #dfd3e6;border-radius:10px;padding:10px;min-height:44px}.messages-drawer button{min-height:40px;border-radius:10px;background:#6b4b73;color:white;font-size:11px;font-weight:600;padding:9px 14px}.messages-drawer .staff-message{border-top:1px solid #ede5f1;padding:12px 0}
.drawer-template{display:none}
.customer-register form{display:flex;flex-direction:column;gap:12px}.customer-register label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#716078}.customer-register input{height:44px;padding:0 12px;border-radius:10px;border:1px solid #dfd3e6;background:white}.customer-register button{min-height:46px;border-radius:10px;background:#6b4b73;color:white;font-weight:600}.customer-register summary{cursor:pointer;color:#7a5a85;font-weight:650;font-size:12px;margin:6px 0 10px}
.stock-row small{display:block;color:#a092a8;font-size:9px;margin-top:3px}

/* ===== Padrão visual do Ateliê (skill atelie-padrao-visual): tokens e legibilidade =====
   O ZIP usa letras de 7–10 px e botões de 28 px; aqui: nada abaixo de 11 px, corpo e botões ≥14 px, alvos ≥44 px. */
:root{--muted-2:#8a828e;--plum-rail-a:#3c2f44;--plum-rail-b:#2c2534;--plum-select:#6e4d77;--lilac-2:#f1ebf3;--lilac-line:#d8c4df;--rose:#e5cfc4;
  --amber:#a27327;--amber-bg:#fbf3e4;--red:#a8433f;--red-bg:#fbeceb;--blue:#3f5f8a;--blue-bg:#eaf0f7;--panel:#ffffffcf;--field:#f5f3f5;--line-2:#e4dfe4;--focus:#9d79b2;
  --r-sm:9px;--r-md:12px;--r-lg:14px;--r-panel:21px;--r-pill:999px;--shadow-panel:0 5px 18px #30263806;--shadow-lift:0 6px 20px #65456114;--shadow-drawer:-20px 0 100px #2a1b3f15;
  --t-fast:.2s;--t-med:.3s;--ease:cubic-bezier(.2,.8,.2,1)}
body{font-size:14px}
.nav-item,.rail-help{font-size:12px;min-height:56px}.rail-edition{font-size:11px}
.brand>span{font-size:11px;letter-spacing:2.4px}.month-pill small{font-size:11px;letter-spacing:.6px}.month-pill strong{font-size:19px}.profile strong{font-size:14px}.profile small{font-size:12px}
.eyebrow,.intro .eyebrow,.order-heading .eyebrow,.detail-top .eyebrow,dialog .eyebrow{font-size:11px;letter-spacing:1.4px}
.intro-copy{font-size:14px}.steps li{font-size:13px}.step-number{width:30px;height:30px;font-size:12px}
.panel h2{font-size:18px}.count{font-size:12px}
.search{height:44px}.search input{font-size:14px}.search kbd{font-size:12px}
.categories{gap:6px}.category{font-size:12px;min-height:44px;padding:0 12px;border-radius:9px}
.product{min-height:52px}.product-name,.product .product-name{font-size:14px}.product-price,.product .product-price{font-size:12px}
.catalog-note{font-size:12px}
.available{font-size:12px;padding:6px 10px}.stage-label,.stage-caption,.stage-caption span:last-child{font-size:11px;letter-spacing:1.4px}
.product-title-row h2{font-size:20px}.product-title-row p{font-size:13px}.detail-price{font-size:18px}.detail-price small{font-size:12px}
.field-label>span:first-child{font-size:13px}.field-label>span:last-child{font-size:12px}
.model{font-size:13px;min-height:44px;padding:0 14px;border-radius:10px}
.sizes{gap:7px}.size{height:56px}.size>strong{font-size:14px}.size>small{font-size:11px}
.size.floor{border-style:dashed;border-color:#d8b77a}.size.floor>small{color:var(--amber)}
.size.selected,.size.selected:hover:not(:disabled){background:var(--plum-select);border-color:var(--plum-select);color:#fff}.size.selected>small{color:#efe3f3}
.stock-hint{font-size:12px}.stock-legend{font-size:11px}.stock-legend i{width:6px;height:6px}
.piece-gain>span{font-size:13px}.piece-gain strong{font-size:18px}
.quantity{height:48px}.quantity button{width:44px}.quantity strong{font-size:15px;min-width:28px}
.primary{font-size:14px;min-height:48px}.order-cta{font-size:15px;min-height:52px}
.cart{gap:16px}.cart-name{font-size:14px}.cart-description{font-size:12px}.cart-price{font-size:14px}.item-gain,.cart-floor{font-size:12px}
.cart-item .quantity{height:44px}.cart-item .quantity button{width:44px}.cart-item .quantity strong{font-size:14px}.cart-item .quantity svg{width:12px}
.icon-button{width:44px;height:44px;display:grid;place-items:center}.cart-item-top{align-items:flex-start}
.cart-item{animation:slide-in-18 .3s var(--ease) both}@keyframes slide-in-18{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.empty-bag strong{font-size:15px}.empty-bag p{font-size:13px;max-width:240px}
.summary-row{font-size:13px}.summary-row.total{font-size:14px}.summary-row.total strong{font-size:24px}
.commission-title{font-size:13px}.commission-value strong{font-size:28px}.commission-value span{font-size:11px}.commission-card p{font-size:12px}
.bump{animation:bump .6s ease}
.cta-note{font-size:12px}
.page-footer,.page-footer .other-views a{font-size:12px}.env-footer{text-align:center;font-size:12px;color:var(--muted-2);margin:0 0 18px}
.toast{font-size:14px;backdrop-filter:none;background:#392d43}
.drawer-header h2{font-size:34px}.drawer-close{width:44px;height:44px;display:grid;place-items:center}
.drawer-copy{font-size:14px}.form-field{font-size:13px}.form-field input,.form-field select{height:46px;font-size:14px}
.customer-option strong{font-size:14px}.customer-option small{font-size:12px}.form-divider{font-size:12px}
.drawer-total{font-size:14px}.drawer-note{font-size:12px}.drawer-caption{font-size:12px}.text-link{font-size:13px;min-height:44px}
.notice{font-size:13px}.help-step h3{font-size:16px}.help-step p{font-size:14px}.stock-row{font-size:13px}.stock-row small{font-size:12px}
.choice{font-size:14px;min-height:44px}.field-title{font-size:13px}.aut-help{font-size:13px}.aut-receipt{font-size:12px}.confirm-row{font-size:14px}
.form-error,.form-ok{font-size:13px}.secondary-button{font-size:14px;min-height:44px}
.sale-row strong{font-size:14px}.sale-row p{font-size:13px}.sale-state{font-size:11px}
.checkout-gain{font-size:14px}.success-screen>p{font-size:14px}.success-line{font-size:14px}.success-screen h2{font-size:40px}
.banner{font-size:13px}.banner a,.banner .text-link{font-size:13px}
.selected-customer{font-size:14px}
.messages-drawer{font-size:14px}.messages-drawer button{font-size:14px;min-height:44px}
/* Celebração discreta: check desenhado (sem confete). Com movimento reduzido, o check aparece pronto. */
.success-orb svg path{stroke-dasharray:30;animation:draw-check .55s .15s var(--ease) both}@keyframes draw-check{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}
@media(max-width:720px){.nav-item{font-size:11px;min-height:52px}.mobile-sale>div>span{font-size:12px}.mobile-sale strong{font-size:19px}.mobile-sale button{font-size:13px;min-height:44px}
  .intro h1{font-size:32px}.drawer-header h2{font-size:30px}.size{height:54px}.month-pill small{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Ajustes da auditoria visual (letra mínima e alvos de 44 px). */
.order-heading h2>span{font-size:12px;min-width:26px;height:26px}
.profile{min-height:44px;padding:0 4px;border-radius:12px}
.search input{height:100%}
.quantity,.cart-item .quantity{height:46px}
.page-footer .other-views a{min-height:44px;display:inline-flex;align-items:center;padding:0 4px}
@media(max-width:720px){.profile{min-width:44px;justify-content:center}.avatar{width:38px;height:38px}}
/* Layout sem rolagem da página no desktop: a área de trabalho ocupa a altura da janela;
   só a lista de peças, a sacola e (se faltar altura) a configuração rolam por dentro. */
.workspace{grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) minmax(0,1fr)}
.categories{flex-wrap:wrap;overflow:visible}
.product-name{overflow-wrap:anywhere}
@media(min-width:1101px){
  .shell{height:100vh;display:flex;flex-direction:column}
  .shell>main{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}
  .workspace{flex:1;min-height:440px}
  .page-footer{flex:none;padding:10px 2px}
  .catalog{display:flex;flex-direction:column;min-height:0}.catalog .products{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#dacadd transparent}
  .detail{min-height:0;overflow-y:auto;scrollbar-width:thin}
  .order{min-height:0}.cart{flex:1;min-height:0;max-height:none}
  .catalog-note{display:none}
}
@media(min-width:1101px) and (max-width:1599px){.categories{flex-wrap:wrap;gap:4px}.category{min-height:40px;padding:0 10px}}
@media(min-width:1101px) and (max-height:900px){
  .topbar{height:72px}.intro{padding:12px 0 14px}.intro h1{font-size:34px;margin:2px 0 2px}.intro .eyebrow{display:none}.steps{margin-top:6px}
  .product-stage{height:128px}.big-garment,.big-photo{width:124px;height:124px}.stage-orb{width:112px;height:112px}.stage-ring{width:160px;height:84px}.stage-label,.stage-caption{display:none}
  .detail-top{padding-top:14px}.product-title-row{margin-bottom:10px}.model-options{margin-bottom:10px}.field-label{margin-bottom:6px}.sizes .size{height:50px}
  .stock-hint{margin-top:6px}.stock-legend{margin-top:4px}.detail-action{padding-top:10px}.piece-gain{padding:8px 12px;margin-bottom:9px}
  .order{padding-top:16px}.order-heading{margin-bottom:8px}.cart{padding:10px 0}.summary{padding:12px 0}.summary-row{margin-bottom:6px}
  .commission-card{padding:11px 14px;margin-bottom:10px}.commission-value{margin:4px 0 0}.commission-value strong{font-size:26px}.commission-card p{display:none}.cta-note{margin-top:6px}
  .catalog{padding-top:16px}.panel-heading{margin-bottom:10px}
}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,250px) minmax(0,1fr)}}
@media(max-width:720px){
  .workspace{grid-template-columns:minmax(0,1fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .categories{flex-wrap:nowrap;overflow-x:auto}
  .topbar{height:auto;min-height:76px;padding:10px 0;gap:10px}.header-right{gap:8px;min-width:0}.brand{min-width:0}.brand strong{font-size:14px;letter-spacing:1.4px}.brand>span{font-size:11px;letter-spacing:1px}
  .mp-long{display:none}.month-pill{padding:8px 10px}.month-pill strong{font-size:16px}
  .steps li{font-size:12px;gap:5px}.steps{gap:10px}.steps li:not(:last-child):after{display:none}
  .detail-price{font-size:17px}.product-title-row h2{font-size:19px}
  .sizes{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1101px) and (max-width:1599px){.category{min-height:44px}}
@media(min-width:1101px) and (max-height:760px){
  .product-stage{height:96px}.big-garment,.big-photo{width:92px;height:92px}.stage-orb{width:86px;height:86px}.stage-ring{width:124px;height:64px}
  .product-title-row p{display:none}.product-title-row{margin-bottom:8px}.detail-top{padding-top:12px}.sizes .size{height:48px}
  .intro{padding:8px 0 10px}.intro h1{font-size:32px}.intro-copy{display:none}
}
/* Gaveta: ação principal sempre visível no rodapé (rola só o conteúdo acima). */
.drawer-bottom{position:sticky;bottom:0;z-index:2;background:linear-gradient(180deg,#fdfcfb00,#fdfcfb 18px);margin-top:auto;padding:26px 0 14px}
.drawer-bottom .drawer-total{margin-bottom:12px}.drawer-bottom .drawer-note{margin-top:8px}
@media(max-width:720px){.categories{scrollbar-width:none}.categories::-webkit-scrollbar{display:none}}
.drawer-bottom .primary{font-size:15px;min-height:52px}
.pay-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.pay-summary>div{border-radius:12px;padding:10px 13px;background:#f2edf5;display:flex;flex-direction:column;gap:2px}
.pay-summary span{font-size:12px;color:#77717b}.pay-summary strong{font:750 20px var(--heading);letter-spacing:-.6px}.pay-summary .gain{background:var(--mint);border:1px solid #d5e5cf}.pay-summary .gain span,.pay-summary .gain strong{color:var(--green)}
/* Rodada 1b do UI-01. */
.sale-state.info{background:var(--blue-bg);color:var(--blue)}.sale-state.error{background:var(--red-bg);color:var(--red)}.sale-state.muted{background:#efedf0;color:#6f6873}
.sale-gain{font-weight:600}.sale-gain.paid{color:var(--green)}.sale-gain.error{color:var(--red)}.sale-gain.info{color:var(--blue)}
.aut-toggle{margin-top:8px;gap:6px}.aut-toggle svg{width:16px;height:16px}
.aut-help{margin-top:8px}.aut-help p{margin:0 0 8px;line-height:1.7}.aut-help .aut-note{margin:8px 0 0;color:#8a7593}
.aut-receipt{display:flex;flex-direction:column;gap:2px}.aut-line{display:flex;align-items:center;gap:6px;color:#8a6a2a;font-weight:700}
.secondary-button.wide{width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.secondary-button svg{width:16px;height:16px}
.customer-register{margin-top:12px;border:1px solid #e3d7e9;border-radius:14px;padding:14px;background:#fff}.customer-register>p{font-size:13px;color:#77717b;margin-bottom:10px}
.waiver-link{margin-top:14px;display:flex;flex-direction:column;align-items:flex-start;gap:0}.waiver-link small{font-size:12px;color:#8a7f90}
@media(max-width:720px){.categories{flex-wrap:wrap;overflow:visible}.category{padding:0 10px}}
@media(max-height:640px){.drawer-bottom{padding:14px 0 10px}.drawer-bottom .drawer-note{display:none}.pay-summary strong{font-size:17px}.pay-summary>div{padding:7px 11px}}
/* UI-01c: rodapé em duas linhas; painel e sacola com ação fixa embaixo; página sem rolagem no desktop. */
.page-footer{display:flex;flex-direction:column;align-items:stretch;gap:0}
.page-footer .footer-row{display:flex;align-items:center;justify-content:space-between;gap:0 20px;flex-wrap:wrap;min-width:0}
.footer-tagline{display:inline-flex;align-items:center;gap:6px;font-size:12px}
.page-footer .env-footer{display:block;margin:0;padding:0 2px;text-align:left;font-size:12px;line-height:1.5;color:var(--muted-2)}
.month-pill .mp-caption{display:inline;margin-left:6px;font:500 12px var(--body);letter-spacing:.2px;text-transform:none;color:var(--muted);vertical-align:middle;white-space:nowrap}
@media(min-width:1101px){
  .workspace{min-height:0}
  .page-footer{padding:2px 2px 10px}
  .detail{display:flex;flex-direction:column;overflow:hidden}
  .detail-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#dacadd transparent;display:flex;flex-direction:column}
  .detail-scroll .detail-content{flex:none;padding-bottom:12px}
  .detail>.detail-action{flex:none;margin-top:0;padding:12px 24px 16px;border-top:1px solid var(--line);background:#fff;border-radius:0 0 21px 21px}
  .detail>.detail-action .piece-gain{margin-bottom:10px}
  .order{overflow:hidden}
  .order .cart{flex:1 1 auto;min-height:150px;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:12px 2px 12px 0}
  .order .cart.is-empty{min-height:0;overflow:hidden;padding:6px 0}
  #order-bottom{flex:none}
}
@media(min-width:1600px){.detail>.detail-action{padding:14px 30px 18px}}
@media(min-width:1101px) and (max-width:1250px){.detail>.detail-action{padding:12px 17px 14px}}
/* Altura de notebook: menos respiro, a letra não muda. */
@media(min-width:1101px) and (max-height:820px){
  .intro{padding:6px 0 10px}.intro-copy{display:none}
  .order .summary{padding:8px 0}.order .summary-row:first-child{display:none}.order .summary-row{margin-bottom:0}
  .order .commission-card{padding:9px 14px;margin-bottom:10px}
  .order .commission-card .commission-value{margin:2px 0 0;align-items:center}.order .commission-card .commission-value strong{font-size:24px}
  .order .commission-card .commission-value span{white-space:nowrap}
  .order .commission-card p{display:none}
  .order .cta-note{display:none}
  .cart.is-empty .empty-bag{padding:6px 4px;gap:6px}.cart.is-empty .empty-bag svg{width:26px;height:26px}
  .cart-item-bottom{margin-top:4px}
}
@media(min-width:1101px) and (max-height:700px){
  .product-stage{display:none}
  .detail-top{padding-top:12px;padding-bottom:6px}
  .intro{padding:4px 0 8px}.intro h1{line-height:1.2;margin:0}
  .topbar{height:68px}
  .catalog{padding-top:14px}.panel-heading{margin-bottom:8px}
  .cart.is-empty .empty-bag svg{display:none}
}
/* Celular: ganho, quantidade e "Adicionar à sacola" grudam logo acima da faixa da comissão (nunca ficam atrás dela). */
@media(max-width:720px){
  .detail{overflow:clip}
  .mobile-sale{transition:opacity .2s,transform .2s,visibility .2s}.bag-in-view .mobile-sale{opacity:0;visibility:hidden;transform:translateY(12px)}
  .detail>.detail-action{position:sticky;bottom:150px;z-index:3;margin-top:0;padding:12px 16px 14px;background:#fff;border-top:1px solid var(--line);border-radius:0 0 21px 21px}
}
/* UI-02: login, definir senha e termos (padrão visual, seção "Login"). Mesmos tokens e fontes da tela de vendas. */
body.auth{min-height:100vh;min-height:100dvh;background:var(--paper)}
.auth-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(340px,42%) minmax(0,1fr)}
.auth-brand{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:48px clamp(36px,5vw,72px);background:linear-gradient(170deg,#3c2f44,#2c2534 70%);color:#f1ebf3}
.auth-brand:after{content:'';position:absolute;right:-120px;bottom:-140px;width:380px;height:380px;border:1px solid #ffffff14;border-radius:50%;pointer-events:none}
.auth-monogram{width:136px;height:auto;margin-bottom:34px}
.auth-mark{font:500 24px var(--heading);letter-spacing:5px;color:#fff}.auth-mark i{font:400 24px var(--serif);letter-spacing:0}
.auth-tagline{margin-top:10px;font-size:12px;font-weight:650;letter-spacing:3px;color:#c8bdce}
.auth-quote{margin-top:40px;max-width:420px;font:400 40px/1.15 var(--serif);color:#fff}
.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 24px;min-width:0}
.auth-card{width:100%;max-width:440px;background:var(--white);border:1px solid var(--line);border-radius:21px;box-shadow:0 6px 20px #65456114;padding:32px}
.auth-card h1{font:700 26px var(--heading);letter-spacing:-.4px;color:var(--ink);margin-bottom:18px}
.auth-badge{display:inline-block;margin-bottom:12px;padding:4px 10px;border-radius:999px;background:#fbf3e4;color:#a27327;font-size:12px;font-weight:650}
.auth-card .notice{margin:0 0 16px;font-size:14px;line-height:1.5}
.auth-form{display:flex;flex-direction:column;gap:16px}
.auth-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.auth-field>span,.auth-field>label{font-size:13px;font-weight:650;color:#5f5866}
.auth-card input[type=email],.auth-card input[type=password],.auth-card input[type=text]{width:100%;height:48px;padding:0 14px;border-radius:12px;border:1px solid #dfd3e6;background:#f5f3f5;color:var(--ink);font-size:15px;transition:border-color .2s,background .2s}
.auth-card input:focus{border-color:#9d79b2;background:#fff}
.password-row{position:relative;display:flex;align-items:center}
.password-row input{padding-right:96px!important}
.password-row .reveal{position:absolute;right:2px;top:50%;transform:translateY(-50%);min-width:84px;height:44px;border-radius:10px;background:transparent;color:#6e4d77;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:3px}
.password-row .reveal:hover{background:#eee6f1}
.password-row .reveal:not(:disabled):active{transform:translateY(-50%) scale(.97)}
.auth-submit{width:100%;min-height:52px;margin-top:4px;font-size:15px;background:#6e4d77}
.auth-submit:hover{background:#5d3f66;transform:translateY(-2px)}
.auth-help,.auth-copy{font-size:14px;line-height:1.6;color:var(--muted)}
.auth-help{margin-top:18px}.auth-copy{margin-bottom:16px}
.auth-help .text-link{font-size:14px;color:#6e4d77;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
.auth-secondary{margin-top:10px}.auth-secondary .secondary-button{font-size:14px;min-height:48px}
.auth-env{font-size:12px;color:#8a828e;text-align:center}
/* Termos: texto com rolagem interna; botões iguais aos do login. */
.auth-terms .auth-card{max-width:600px}
.auth-terms .auth-card>p{font-size:14px;line-height:1.6;color:var(--muted)}
.auth-terms .terms{margin:14px 0 18px;padding:16px 18px 16px 38px;max-height:min(46vh,360px);overflow-y:auto;border:1px solid var(--line);border-radius:14px;background:#faf8f6;font-size:15px;line-height:1.7;color:var(--ink)}
.auth-terms .terms li+li{margin-top:10px}
.auth-terms .auth-card form button{width:100%;min-height:52px;border-radius:10px;font-size:15px;font-weight:650;background:#6e4d77;color:#fff}
.auth-terms .auth-card form+form{margin-top:10px}
.auth-terms .auth-card form button.secondary{min-height:48px;background:#f1ecf3;color:#5f4568;font-size:14px}
@media(max-height:760px) and (min-width:861px){.auth-quote{margin-top:28px;font-size:36px}.auth-monogram{width:112px;margin-bottom:24px}.auth-card{padding:26px 28px}.auth-card h1{margin-bottom:14px}.auth-main{padding:24px}}
@media(max-width:860px){
  .auth-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
  .auth-brand{flex-direction:row;align-items:center;justify-content:center;gap:12px;padding:18px 16px;background:none;color:var(--ink)}
  .auth-brand:after,.auth-tagline,.auth-quote{display:none}
  .auth-monogram{width:46px;height:auto;margin:0;padding:6px;border-radius:14px;background:linear-gradient(170deg,#3c2f44,#2c2534 70%);box-sizing:content-box}
  .auth-mark{font-size:16px;letter-spacing:3px;color:var(--ink)}.auth-mark i{font-size:17px}
  .auth-main{justify-content:flex-start;padding:4px 16px 24px}
  .auth-card{padding:24px 20px}
  .auth-terms .terms{max-height:40vh}.auth-terms .auth-card h1{font-size:22px}
}
/* UI-01d: cliente na sacola, cancelar venda, parcelas em botões, AUT opcional, palco menor no celular. */
.customer-chip{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 10px;margin:0 0 10px;border:1px solid var(--lilac-line,#d8c4df);border-radius:14px;background:var(--lilac,#eee6f1);min-width:0}
.customer-chip .avatar{flex:none;width:34px;height:34px;font-size:19px}
.customer-chip .chip-text{display:flex;flex-direction:column;min-width:0;flex:1}
.customer-chip .chip-text small{font-size:12px;color:#77717b}
.customer-chip .chip-text strong{font-size:14px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-chip .chip-change{flex:none;min-height:44px;padding:0 6px;font-size:13px;color:#6e4d77;text-decoration:underline;text-underline-offset:3px}
.customer-chip .chip-clear{flex:none;color:#6e4d77;border-radius:10px}.customer-chip .chip-clear:hover{background:#fff}
.order-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:6px}
.order-foot .cta-note{margin-top:0}
.cancel-sale{min-height:44px;padding:0 4px;font-size:13px;color:var(--red,#a8433f);text-decoration:underline;text-underline-offset:3px}
.cancel-confirm{border:1px solid #efd3d1;background:var(--red-bg,#fbeceb);border-radius:14px;padding:12px 14px}
.cancel-confirm p{font-size:14px;line-height:1.5;color:#6d2f2c;margin-bottom:10px}
.cancel-actions{display:flex;gap:8px}.cancel-actions button{flex:1;min-height:44px;font-size:14px}
.danger-button{border-radius:10px;background:var(--red,#a8433f);color:#fff;font-weight:650}.danger-button:hover{background:#923733}
.inline-link{font-size:14px;min-height:44px;padding:0 4px;color:#6e4d77;text-decoration:underline;text-underline-offset:3px;vertical-align:middle}
.installments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.choice.installment{flex-direction:column;justify-content:center;gap:2px;min-height:64px;padding:8px 6px}
.choice.installment strong{font:750 18px var(--heading)}.choice.installment small{font-size:13px;color:#77717b}
.choice.installment[aria-pressed="true"] small{color:#4f3657}
.aut-optional{margin-top:14px}
.aut-open{min-height:44px;font-size:14px;color:#6e4d77;gap:8px;text-decoration:underline;text-underline-offset:3px}.aut-open svg{width:16px;height:16px}
.aut-optional>.drawer-caption{margin-top:2px}
.aut-box{margin-top:10px;padding:12px 14px;border:1px solid #e3d7e9;border-radius:14px;background:#fff}
/* Altura de notebook: "Cancelar venda" na mesma linha do botão principal; chip mais baixo; a letra e os alvos não mudam. */
@media(min-width:1101px) and (max-height:820px){
  .order .order-heading .eyebrow{display:none}.order .order-heading{margin-bottom:4px}.order .order-heading h2{margin-top:0}
  #order-bottom{display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}
  #order-bottom>*{flex:1 1 100%}
  #order-bottom>.order-cta{flex:1 1 0;min-width:0}
  #order-bottom>.order-foot{flex:none;margin-top:0}
  .customer-chip{padding:2px 4px 2px 10px;margin-bottom:8px}.customer-chip .avatar{display:none}
  #order-bottom.confirming .commission-card{display:none}
}
@media(max-width:720px){
  .product-stage{height:140px;max-height:140px}
  .product-stage .big-garment,.product-stage .big-photo{width:116px;height:116px}.product-stage .stage-orb{width:112px;height:112px}.product-stage .stage-ring{width:170px;height:78px}
  .stage-label,.stage-caption{display:none}
  .product-title-row p{display:none}.product-title-row{margin-bottom:12px}
}
/* UI-01d (ajuste do auditor): texto dentro dos campos de cliente com 15 px; nota do botão de confirmar. */
.customer-register input,.customer-register select,.customer-register textarea{font-size:15px}.customer-register label{font-size:13px}
.finish-note{margin-top:6px;text-align:center;font-size:12px;color:#77717b}
/* NF-1 — tela do admin "Dados fiscais" (padrão visual novo; sem JS). Tudo escopado em .admin-v2. */
.admin-v2 .rail nav a.nav-item{text-align:center;line-height:1.2}
.admin-v2 .profile small{font-size:12px}
.admin-v2 .brand>span{font-size:12px}
.admin-v2 main{display:flex;flex-direction:column}
.admin-v2 .fd-intro{padding:20px 0 16px}
.admin-v2 .fd-intro .eyebrow{font-size:12px}
.admin-v2 .fd-intro h1{font-family:var(--serif);font-weight:400;font-size:42px;letter-spacing:-1px;line-height:1.15;margin:4px 0 6px}
.admin-v2 .fd-intro h1 em{color:#785675}
.admin-v2 .fd-intro .intro-copy{font-size:14px;color:var(--muted);line-height:1.5}
.admin-v2 .fd-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);gap:20px;height:calc(100vh - 262px);min-height:380px}
.admin-v2 .fd-workspace>.panel{display:flex;flex-direction:column;min-height:0;min-width:0;padding:18px 18px 0;overflow:hidden}
.admin-v2 .panel-heading{margin:0 2px 12px;gap:12px;align-items:flex-start}
.admin-v2 .panel h2{font-size:18px}
.admin-v2 .panel-heading .eyebrow{display:block;font-size:12px;margin-bottom:3px}
.admin-v2 .fd-count{font-size:13px;font-weight:600;color:#64576a;white-space:nowrap}
.admin-v2 .fd-table-wrap{flex:1;min-height:0;overflow:auto;margin:0 -18px;padding:0 18px 12px}
.admin-v2 .fd-table{width:100%;border-collapse:collapse;font-size:14px}
.admin-v2 .fd-table thead th{position:sticky;top:0;z-index:1;background:#fbfafb;text-align:left;font-size:12px;font-weight:650;color:#64576a;padding:10px 8px;border-bottom:1px solid var(--line)}
.admin-v2 .fd-table td,.admin-v2 .fd-table tbody th{padding:6px 8px;height:52px;border-bottom:1px solid var(--line);text-align:left;font-weight:400;vertical-align:middle}
.admin-v2 .fd-table strong{display:block;font-weight:600;font-size:14px}
.admin-v2 .fd-table small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.admin-v2 .fd-code,.admin-v2 .fd-num{font-family:var(--heading);font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-v2 .fd-num{text-align:right!important}
.admin-v2 .fd-empty{color:#8a828e}
.admin-v2 .fd-row-link{display:block;min-height:44px;padding:4px 6px 4px 9px;margin-left:-9px;border-left:3px solid transparent;border-radius:8px;transition:background .2s}
.admin-v2 .fd-row-link:hover{background:var(--lilac-2,#f1ebf3)}
.admin-v2 .fd-current{background:var(--lilac,#eee6f1)}
.admin-v2 .fd-current .fd-row-link{border-left-color:var(--plum)}
.admin-v2 .fd-pill{display:inline-flex;align-items:center;min-height:28px;padding:3px 11px;border-radius:999px;font-size:12px;font-weight:650;white-space:nowrap}
.admin-v2 .fd-pill-ok{background:var(--mint);color:var(--green)}
.admin-v2 .fd-pill-warn{background:#fbf3e4;color:#7a5418}
.admin-v2 .fd-pill-error{background:#fbeceb;color:#a8433f}
.admin-v2 .fd-state{font-size:14px;line-height:1.5;padding:10px 12px;border-radius:12px;background:#f5f3f5;margin:0 0 12px}
.admin-v2 .fd-state-warn{background:#fbf3e4;color:#7a5418}
.admin-v2 .fd-state-ok{background:var(--mint);color:var(--green)}
.admin-v2 .fd-detail-body{flex:1;min-height:0;overflow:auto;font-size:14px;line-height:1.55;padding-bottom:14px}
.admin-v2 .fd-detail-body>p+p{margin-top:10px}
.admin-v2 .fd-form{display:flex;flex-direction:column;flex:1;min-height:0}
.admin-v2 .fd-close{font-size:14px;color:#6e4d77;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center;padding:0 4px}
.admin-v2 .fd-hint{border:1px solid #d6e0ec;background:#eaf0f7;color:#2f4a6e;border-radius:12px;padding:10px 12px;font-size:14px;margin:0 0 14px}
.admin-v2 .fd-hint ul{margin:6px 0;padding-left:18px}
.admin-v2 .fd-hint span{display:block;font-size:13px}
.admin-v2 .fd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.admin-v2 .fd-field{display:flex;flex-direction:column;gap:5px}
.admin-v2 .fd-field>span{font-size:13px;font-weight:650;color:#4c4252}
.admin-v2 .fd-field input{min-height:46px;border:1px solid var(--line-2,#e4dfe4);background:var(--field,#f5f3f5);border-radius:12px;padding:10px 12px;font-size:15px;font-family:var(--heading);font-variant-numeric:tabular-nums;color:var(--ink)}
.admin-v2 .fd-field input:focus-visible{outline:3px solid var(--focus,#9d79b2);outline-offset:2px;background:#fff}
.admin-v2 .fd-field small,.admin-v2 .fd-more>small{font-size:12px;color:var(--muted)}
.admin-v2 .fd-more{margin:14px 0 0;border-top:1px solid var(--line);padding-top:10px}
.admin-v2 .fd-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;color:#6e4d77}
.admin-v2 .fd-more .fd-grid{margin:4px 0 8px}
.admin-v2 .fd-sources{border:0;margin:14px 0 0;padding:0}
.admin-v2 .fd-sources legend{font-size:13px;font-weight:650;color:#4c4252;margin-bottom:6px;padding:0}
.admin-v2 .fd-choice{display:flex;flex-wrap:wrap;gap:8px}
.admin-v2 .fd-choice label{position:relative;flex:1 1 120px}
.admin-v2 .fd-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.admin-v2 .fd-choice span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:8px 10px;border:1px solid var(--line-2,#e4dfe4);border-radius:12px;background:#fff;font-size:14px;font-weight:600;color:#4c4252;transition:background .2s,border-color .2s}
.admin-v2 .fd-choice input:checked+span{background:var(--lilac,#eee6f1);border-color:var(--lilac-line,#d8c4df);color:#523c58;box-shadow:inset 0 0 0 1px #6e4d77}
.admin-v2 .fd-choice input:focus-visible+span{outline:3px solid var(--focus,#9d79b2);outline-offset:3px}
.admin-v2 .fd-actions{border-top:1px solid var(--line);padding:12px 0 16px;background:#ffffffeb}
.admin-v2 .fd-actions small{display:block;text-align:center;font-size:12px;color:var(--muted);margin-top:6px}
.admin-v2 .fd-primary{width:100%;min-height:48px;font-size:15px;background:var(--plum-select,#6e4d77)}
.admin-v2 .fd-primary svg{width:18px;height:18px}
.admin-v2 .fd-feedback{border-radius:12px;padding:10px 12px;font-size:14px;margin:0 0 12px}
.admin-v2 .fd-feedback-ok{background:var(--mint);color:var(--green)}
.admin-v2 .fd-feedback-error{background:#fbeceb;color:#a8433f}
.admin-v2 .fd-line{display:flex;justify-content:space-between;gap:12px;margin:12px 0 8px}
.admin-v2 .fd-line span{color:var(--muted)}
.admin-v2 .fd-items{flex:none;margin:0;padding:0;overflow:visible}
.admin-v2 .fd-pending,.admin-v2 .fd-payments{margin:12px 0}
.admin-v2 .fd-pending{background:#fbf3e4;border-radius:12px;padding:10px 12px;color:#7a5418}
.admin-v2 .fd-pending ul,.admin-v2 .fd-payments ul{margin:6px 0 0;padding:0;list-style:none}
.admin-v2 .fd-pending li{padding:3px 0}
.admin-v2 .fd-payments li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
.admin-v2 .fd-payments strong,.admin-v2 .fd-totals dd{font-family:var(--heading);font-variant-numeric:tabular-nums}
.admin-v2 .fd-totals{margin:12px 0 0}
.admin-v2 .fd-totals div{display:flex;justify-content:space-between;padding:4px 0}
.admin-v2 .fd-totals dt{color:var(--muted)}
.admin-v2 .fd-totals dd{margin:0;font-weight:700}
.admin-v2 .fd-total{border-top:1px solid var(--line);margin-top:4px;padding-top:8px!important;font-size:17px}
.admin-v2 .fd-total dt{color:var(--ink);font-weight:650}
.admin-v2 .fd-note{font-size:13px;color:var(--muted);margin-top:12px!important}
.admin-v2 .inline-link{color:#6e4d77;text-decoration:underline;text-underline-offset:3px}
.admin-v2 .fd-footer{font-size:12px;color:#77717b;padding:12px 2px}
.admin-v2 .notice{font-size:14px;margin:12px 0 0}
@media(min-width:1101px) and (max-height:820px){.admin-v2 .fd-intro{padding:12px 0 10px}.admin-v2 .fd-intro h1{font-size:36px}.admin-v2 .fd-workspace{height:calc(100vh - 222px)}.admin-v2 .fd-footer{padding:8px 2px}}
@media(max-width:1250px){.admin-v2 .fd-opt{display:none}}
@media(max-width:1100px){.admin-v2 .fd-workspace{grid-template-columns:minmax(0,1fr);height:auto}.admin-v2 .fd-workspace>.panel{overflow:visible}.admin-v2 .fd-table-wrap{max-height:60vh}.admin-v2 .fd-detail{order:-1}.admin-v2 .fd-actions{position:sticky;bottom:0;z-index:2;background:#fff;box-shadow:0 -8px 16px #3026380d}}
@media(max-width:720px){.admin-v2 .rail nav{gap:2px}.admin-v2 .rail nav a.nav-item{flex:1 1 0;min-width:0;width:auto;font-size:12px;min-height:52px;padding:6px 2px}.admin-v2 .topbar{min-width:0}.admin-v2 .fd-actions{bottom:69px}.admin-v2 .fd-intro h1{font-size:30px}.admin-v2 .fd-grid{grid-template-columns:1fr}.admin-v2 main{padding-bottom:90px}.admin-v2 .fd-table thead th:nth-child(4),.admin-v2 .fd-table td:nth-child(4){display:none}}
/* NF-2 — bloco "Emissão (homologação)" na tela Dados fiscais. */
.admin-v2 .fd-emission{margin-top:16px}
.admin-v2 .fd-emission .fd-table-wrap{max-height:none}
.admin-v2 .fd-emission-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 0}
.admin-v2 .fd-emission-form small{font-size:13px;color:var(--muted)}
.admin-v2 .fd-emission td .fd-emission-form{margin:0}
.admin-v2 .fd-confirm{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.4;max-width:640px}
.admin-v2 .fd-confirm input{width:20px;height:20px;margin-top:1px;flex:none}
/* NF-4: faixa vermelha de alerta fiscal de produção (admin), emissão em produção, alertas, regularização e nota no recibo. */
.fiscal-alert-band{margin:18px 0 0;background:var(--red-bg,#fbeceb);border:1px solid #efc9c6;border-left:5px solid var(--red,#a8433f);color:var(--red,#a8433f);border-radius:13px;padding:12px 16px;font-size:14px;font-weight:650;line-height:1.5;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fiscal-alert-band strong{font-family:var(--heading);font-size:16px}
.fiscal-alert-band a{color:inherit;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}
.admin-v2 .fd-emission button.secondary,.admin-v2 .fd-alerts button.secondary{min-height:44px;padding:10px 16px;border-radius:12px;background:#f1ecf3;color:#5f4568;font-size:14px;font-weight:600;border:1px solid #e0d3e6}
.admin-v2 .fd-emission button.secondary:hover,.admin-v2 .fd-alerts button.secondary:hover{background:#e8dfec}
.admin-v2 .fd-emission button.primary{font-size:15px;min-height:48px;background:var(--plum-select,#6e4d77)}
.admin-v2 .fd-pill-prod{background:var(--blue-bg,#eaf0f7);color:var(--blue,#3f5f8a)}
.admin-v2 .fd-pill-test{background:#efedf0;color:#5f5864}
.admin-v2 .fd-table tr.fd-problem th,.admin-v2 .fd-table tr.fd-problem td{background:var(--red-bg,#fbeceb)}
.admin-v2 .fd-alerts{margin:14px 0}
.admin-v2 .fd-alerts h3{font-family:var(--heading);font-size:16px;font-weight:700;margin:0 0 8px}
.admin-v2 .fd-alerts ul,.admin-v2 .fd-reg-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.admin-v2 .fd-alert{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
.admin-v2 .fd-alert-prod{border-color:#efc9c6;border-left:4px solid var(--red,#a8433f)}
.admin-v2 .fd-alert-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.admin-v2 .fd-alert-head small{font-size:12px;color:var(--muted)}
.admin-v2 .fd-alert p{margin:6px 0 10px;font-size:14px}
.admin-v2 .fd-resolve{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.admin-v2 .fd-resolve .fd-field{flex:1 1 260px}
.admin-v2 .fd-field select{min-height:46px;border:1px solid var(--line-2,#e4dfe4);background:var(--field,#f5f3f5);border-radius:12px;padding:10px 12px;font-size:15px;color:var(--ink)}
.admin-v2 .fd-reg-item{border:1px solid var(--line);border-radius:14px;background:#fff}
.admin-v2 .fd-reg-item[open]{border-color:var(--lilac-line,#d8c4df);box-shadow:0 6px 20px #65456114}
.admin-v2 .fd-reg-item summary{cursor:pointer;min-height:52px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:10px 14px;font-size:14px}
.admin-v2 .fd-reg-item summary strong{font-family:var(--heading);font-size:15px}
.admin-v2 .fd-reg-form{display:flex;flex-direction:column;gap:12px;padding:4px 14px 16px;border-top:1px solid var(--line)}
.admin-v2 .fd-reg-form .fd-grid{margin-top:10px}
.admin-v2 .fd-reg-form button.primary{align-self:flex-start}
.nf-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14px;margin-top:10px}
.nf-line>span:first-child{color:#95859e}
.nf-line .nf-state{font-weight:650}
.nf-line .nf-state.ok{color:var(--green)}.nf-line .nf-state.wait{color:var(--blue,#3f5f8a)}.nf-line .nf-state.error{color:var(--red,#a8433f)}
.nf-line a,.nf-line button{min-height:44px;display:inline-flex;align-items:center;font-size:14px;color:#6e4d77;text-decoration:underline;text-underline-offset:3px;background:transparent;padding:0 4px}
.success-card .nf-line{justify-content:space-between;border-top:1px dashed #ddd0e4;padding-top:12px;margin-top:12px}
@media(max-width:720px){.admin-v2 .fd-reg-item summary{gap:4px 10px}.admin-v2 .fd-reg-form button.primary{align-self:stretch;width:100%}}
/* VEN-415: nota pelo WhatsApp (opcional) e "Trocar cliente" da venda (admin) */
.nf-block{display:flex;flex-direction:column;gap:6px}
.wa-host{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}
.wa-open{font-size:14px;min-height:44px}
.wa-panel{width:100%;display:flex;flex-direction:column;gap:8px;border:1px solid var(--line-2,#e4dfe4);border-radius:14px;background:#fff;padding:14px;margin-top:2px;animation:wa-in .25s cubic-bezier(.2,.8,.2,1)}
.wa-panel label{font-size:13px;font-weight:650;color:#4c4252}
.wa-panel input{min-height:46px;border:1px solid #dfd3e6;border-radius:12px;padding:10px 12px;font-size:15px;background:var(--field,#f5f3f5);color:var(--ink,#302b36);width:100%;max-width:320px}
.wa-panel input:focus-visible,.wa-go:focus-visible,.wa-open:focus-visible,.change-note:focus-visible{outline:3px solid var(--focus,#9d79b2);outline-offset:4px}
.wa-panel small{font-size:12px;color:var(--muted,#77717b);line-height:1.5}
.wa-panel .form-error{margin:0;font-size:13px}
.wa-go{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;align-self:flex-start;min-height:44px}
.wa-host .wa-open,.wa-panel .wa-go{min-height:44px;margin-top:0}
.wa-go[aria-disabled="true"]{opacity:.48;cursor:not-allowed}
.change-note{width:100%;min-height:88px;border:1px solid #dfd3e6;border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;background:#fff;resize:vertical;color:var(--ink,#302b36)}
.change-fields{display:flex;flex-direction:column;gap:12px}
.sale-row>[data-change-sale]{display:flex;align-items:center;min-height:44px;margin-top:4px;color:#6e4d77;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.admin-v2 .fd-table tr:has(+ .fd-delivery-row) td,.admin-v2 .fd-table tr:has(+ .fd-delivery-row) th{border-bottom:0}
.admin-v2 .fd-table .fd-delivery-row td{height:auto;padding:0 8px 14px}
.admin-v2 .fd-delivery{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px;width:auto}
.admin-v2 .fd-delivery-title{font-size:13px;font-weight:650;color:#4c4252}
.admin-v2 .fd-delivery .fd-emission-form{margin:0}
.admin-v2 .fd-delivery .wa-panel{flex:1 1 100%;max-width:560px}
@media(max-width:720px){.admin-v2 .fd-delivery{position:sticky;left:0;max-width:calc(100vw - 68px)}}
@keyframes wa-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.wa-panel{animation:none}}
/* NF-PDF: ações da nota (Abrir PDF · Copiar link na mesma linha), status do link e página do link indisponível */
.nf-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;white-space:nowrap}
.nf-actions a,.nf-actions button{min-height:44px;display:inline-flex;align-items:center;font-size:14px;color:#6e4d77;text-decoration:underline;text-underline-offset:3px;background:transparent;padding:0 4px}
.nf-actions>span{color:var(--muted,#77717b)}
.nf-wait{font-size:13px;color:var(--muted,#77717b);margin:4px 0 0}
.nota-copy-status{font-size:13px;color:var(--green,#267458);margin:2px 0 0;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.nota-copy-status.error,.wa-note.error{color:var(--red,#a8433f)}
.admin-v2 .fd-link{min-height:44px;display:inline-flex;align-items:center;font-size:14px;font-weight:600;color:#6e4d77;text-decoration:underline;text-underline-offset:3px}
.admin-v2 .text-button{min-height:44px;background:transparent;color:#6e4d77;font-size:14px;text-decoration:underline;text-underline-offset:3px;padding:0 4px}
.admin-v2 .fd-hint-inline{font-size:13px;color:var(--muted,#77717b)}
.nota-page{min-height:100vh;display:grid;place-items:center;background:var(--paper,#f7f6f2);padding:24px 16px}
.nota-card{max-width:440px;width:100%;background:#fff;border:1px solid var(--line,#e9e5e7);border-radius:21px;padding:32px 28px;text-align:center;box-shadow:0 5px 18px #30263806}
.nota-card .nota-mark{display:block;margin:0 auto 14px;filter:brightness(.5) saturate(1.4)}
.nota-card .eyebrow{font-size:12px;letter-spacing:.16em;color:var(--plum,#654561);margin:0 0 10px}
.nota-card h1{font-family:var(--serif,'Instrument Serif',Georgia,serif);font-weight:400;font-size:32px;line-height:1.15;color:var(--ink,#302b36);margin:0 0 12px}
.nota-card .nota-copy{font-size:16px;line-height:1.6;color:var(--muted,#77717b);margin:0}
