:root{--navy:#142F3C;--navy2:#214b55;--orange:#ff9c43;--green:#15704f;--text:#203340;--muted:#627984;--line:#dce7ec;--paper:#f6f9fa;--shadow:0 14px 40px #122f3c15}*{box-sizing:border-box}body{margin:0;color:var(--text);font:16px/1.48 system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--paper)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.top{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(20px,calc((100vw - 1120px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:var(--navy)}.brand b{font-weight:900;letter-spacing:.06em;font-size:22px}.brand small{display:block;font-size:10px;letter-spacing:.16em;font-weight:850;color:#6c858b}.symbol{width:45px;height:45px;border-radius:12px;background:var(--navy);color:var(--orange);font-size:34px;display:grid;place-items:center;line-height:1}.top nav{display:flex;gap:20px;font-size:14px;font-weight:750}.top nav a:last-child{background:#eff5f5;border-radius:10px;padding:9px 13px}.container{max-width:1110px;margin:0 auto;padding:25px 18px 50px}.hero{border-radius:24px;background:linear-gradient(135deg,#153343,#245a5f);color:white;padding:40px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;margin:0 0 24px;overflow:hidden}.hero h1{font-size:clamp(29px,4vw,51px);line-height:1.08;letter-spacing:-.045em;margin:0 0 14px;max-width:650px}.hero p{opacity:.9;max-width:600px}.hero-art{width:150px;height:150px;border-radius:100%;border:1px solid #ffffff5c;display:grid;place-items:center;font-size:77px;background:#ffffff16}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.chip{border:1px solid #ffffff40;background:#ffffff15;padding:6px 12px;border-radius:50px;font-size:13px}.kicker{color:#c56b20;font-weight:850;text-transform:uppercase;letter-spacing:.16em;font-size:11px}.intro{margin:3px 0 22px;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.panel{background:white;border-radius:20px;padding:26px;border:1px solid var(--line);box-shadow:var(--shadow);min-width:0}.panel h2{font-size:26px;line-height:1.12;margin:6px 0 8px}.panel h3{margin:0 0 15px;font-size:17px}.sticky{position:sticky;top:96px}.progress{display:flex;gap:6px;margin:22px 0}.progress i{flex:1;height:6px;background:#e6edef;border-radius:20px}.progress i.active{background:var(--orange)}.service-cat{font-size:12px;text-transform:uppercase;font-weight:850;letter-spacing:.09em;margin:20px 0 8px;color:#56717c}.item{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:13px;padding:13px;cursor:pointer;margin-bottom:8px}.item.selected{border-color:#e9a16c;background:#fffbf7}.item .n{flex:1}.item b{display:block;font-size:14px}.item small{font-size:12px;color:var(--muted)}.item .qty{display:flex;align-items:center;gap:8px}.item .qty button{border:1px solid #dce5e6;border-radius:8px;width:30px;height:30px;background:white}.box-note{background:#eef7f2;border:1px solid #d1eadd;color:#28704e;padding:13px 16px;border-radius:13px;font-size:13px;margin:14px 0}.box-note.warn{background:#fff8e9;color:#8b5e23;border-color:#f4dca7}.rows{display:grid;gap:16px}.field{display:grid;gap:6px}.field label{font-weight:750;font-size:13px}.field input,.field textarea,.field select{border:1px solid #d8e4e9;border-radius:10px;padding:12px;width:100%;color:var(--text);background:#fff;min-width:0}.field textarea{min-height:85px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #ffb05e99;border-color:#ffb05e}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.span2{grid-column:span 2}.actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}.btn{background:var(--orange);color:#1d3139;padding:14px 19px;border-radius:12px;border:0;font-weight:850;display:inline-flex;justify-content:center;align-items:center;gap:7px}.btn.secondary{background:var(--navy);color:white}.btn.ghost{background:white;border:1px solid #d6e2e6}.btn.danger{background:#fae9e7;color:#8f251a}.btn.small{font-size:12px;padding:8px 11px;border-radius:8px}.btn.full{width:100%}.line{height:1px;background:var(--line);margin:17px 0}.summary-row{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin:9px 0;font-size:14px}.summary-row strong{text-align:right}.discount{color:var(--green)}.big-money{font-size:30px;font-weight:900;color:var(--navy)}.pill{border-radius:50px;font-size:11px;display:inline-block;background:#e5f4ec;color:var(--green);padding:6px 10px;font-weight:800}.muted{color:var(--muted)}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.slot{border:1px solid var(--line);background:#f1f6f7;border-radius:11px;padding:13px 5px;font-weight:800}.slot.on{background:#ffe7cd;border-color:#f5a054}.upload{border:2px dashed #c9d8dc;padding:20px;text-align:center;border-radius:14px;display:block;cursor:pointer}.check{display:flex;align-items:start;gap:8px;font-size:13px}.check input{margin-top:4px}.loading{min-height:50vh;display:grid;place-items:center}.empty{padding:24px;border:1px dashed var(--line);border-radius:13px;color:var(--muted)}.admin-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.stat{background:white;border:1px solid var(--line);padding:19px;border-radius:15px}.stat b{display:block;font-size:26px}.stat small{color:var(--muted)}.tabs{display:flex;gap:8px;overflow:auto;margin:18px 0}.tab{border:1px solid var(--line);background:white;padding:10px 15px;border-radius:10px;white-space:nowrap;font-weight:800}.tab.active{background:var(--navy);color:white}.booking{background:white;padding:20px;border:1px solid var(--line);border-radius:16px;margin-bottom:12px}.booking h3{margin:3px 0;font-size:19px}.booking .meta{font-size:13px;color:var(--muted);margin:4px 0}.buttons{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}.modalbg{position:fixed;inset:0;background:#152e3ac7;z-index:50;display:grid;place-items:center;padding:16px}.modal{background:white;border-radius:20px;padding:25px;width:min(650px,100%);max-height:90vh;overflow:auto}.float{float:right}.info{border-left:3px solid var(--orange);padding-left:12px;color:var(--muted);font-size:13px;margin:15px 0}.auth{width:min(470px,100%);margin:40px auto}.watermark{font-size:13px;color:var(--muted);margin:13px 0}footer{text-align:center;color:#93a2a9;padding:35px;font-size:12px}#toast{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);background:#163342;color:white;padding:14px 18px;border-radius:12px;box-shadow:0 15px 40px #0003;z-index:100;opacity:0;transition:opacity .2s;max-width:94vw}#toast.show{opacity:1}button:focus-visible,a:focus-visible{outline:3px solid orange;outline-offset:2px}@media(max-width:850px){.hero{grid-template-columns:1fr;padding:29px}.hero-art{display:none}.layout{grid-template-columns:1fr}.sticky{position:static}.panel{padding:20px}.top{padding:0 15px;height:70px}.top nav{gap:7px}.top nav a:first-child{display:none}.top nav a:last-child{font-size:12px}.admin-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:450px){.field-grid{grid-template-columns:1fr}.span2{grid-column:span 1}.slots{grid-template-columns:repeat(3,1fr)}.brand b{font-size:18px}.brand small{font-size:8px}.symbol{width:40px;height:40px}.container{padding:13px 10px 40px}.panel h2{font-size:23px}}

/* v0.3: pacotes e triagem simples */
.combo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;margin:12px 0 17px}
.combo-item{background:#eff7f3;border:1px solid #bedbce;text-align:left;color:#184935;border-radius:14px;padding:12px;min-height:74px;cursor:pointer}
.combo-item b,.combo-item small{display:block}.combo-item small{font-size:12px;margin-top:4px;color:#426c5e}
.combo-item:focus-visible{outline:3px solid #d97706;outline-offset:2px}
@media(max-width:500px){.combo-grid{grid-template-columns:1fr 1fr}.combo-item{min-height:91px}}


/* --------------------------------------------------------------------------
   ANDRADE SERVIÇOS | Identidade azul-marinho / laranja | Versão visual v0.4
   Não altera permissões, pagamentos ou regras de agendamento.
   -------------------------------------------------------------------------- */
:root{--navy:#0c2e58;--navy2:#164980;--orange:#fa8534;--green:#15704f;--text:#152d49;--muted:#687d90;--line:#dce6f0;--paper:#f5f8fc;--shadow:0 16px 38px rgba(12,46,88,.075)}
html{scroll-behavior:smooth}body{background:linear-gradient(180deg,#f8faff 0%,#f3f7fb 58%,#f8faff 100%);color:var(--text)}
.top{height:80px;border-bottom:1px solid #e5ecf4;box-shadow:0 3px 16px #152e4820;backdrop-filter:blur(12px);background:#fffffff5;gap:16px}
.brand{gap:11px}.brand b{font-size:21px;letter-spacing:.035em;color:var(--navy);line-height:1.15}.brand small{font-size:9px;letter-spacing:.14em;color:#647990}
.symbol{border-radius:14px;background:#0b2d58;box-shadow:0 5px 14px #0b2d5836;display:grid;place-items:center;overflow:hidden}.symbol img{width:100%;height:100%;display:block}
.top nav{align-items:center;gap:14px;font-size:13px}.top nav a{padding:10px 7px;border-radius:10px;transition:background .18s,color .18s}.top nav a:hover{color:#154a80;background:#f0f5fa}.top nav .nav-cta{background:var(--orange);color:#14283e!important;font-weight:900;padding:12px 18px;box-shadow:0 5px 14px #fa85342b}.top nav .admin-nav{background:#eef4f9;color:#496781;font-weight:750;padding:10px 12px;font-size:12px}
.container{max-width:1190px;padding:30px 20px 65px}.hero{position:relative;isolation:isolate;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);padding:clamp(26px,4.8vw,58px);border-radius:28px;min-height:380px;margin-bottom:15px;gap:25px;background:radial-gradient(circle at 85% 30%,#225d97 0%,transparent 44%),linear-gradient(114deg,#09284e 0%,#0b3d73 62%,#0e548c 100%);box-shadow:0 18px 45px #0a32642e}
.hero::before{content:"";position:absolute;inset:-40% -10% auto auto;width:480px;aspect-ratio:1;border:1px solid #ffffff20;border-radius:50%;z-index:-1;box-shadow:0 0 0 70px #ffffff08,0 0 0 150px #ffffff06}
.hero .kicker{color:#ffbc85!important;font-size:11px;letter-spacing:.18em;font-weight:900}.hero h1{font-size:clamp(32px,4.1vw,55px);line-height:1.08;letter-spacing:-.045em;margin:18px 0 15px;max-width:720px;font-weight:900}.hero h1 em{font-style:normal;color:#ffac6b}.hero p{font-size:clamp(14px,1.2vw,17px);color:#e0edf9;opacity:1;line-height:1.6;max-width:590px}.hero .chips{gap:8px;margin-top:20px}.hero .chip{font-size:12px;background:#ffffff16;border:1px solid #ffffff2f;padding:8px 12px;color:#eef6ff}
.hero-cta-row{display:flex;flex-wrap:wrap;gap:11px;margin-top:25px;align-items:center}.hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--orange);color:#102a44;border-radius:14px;font-size:14px;font-weight:900;padding:16px 22px;box-shadow:0 9px 22px #fc8e3c39;transition:transform .17s}.hero-cta:hover{transform:translateY(-2px)}.hero-secondary{color:#e8f3fd;background:#ffffff12;border:1px solid #ffffff3d;border-radius:14px;padding:15px 19px;font-weight:800;font-size:13px}
.hero-art{height:100%;width:100%;min-height:270px;border-radius:0;background:none;border:0;font-size:inherit;display:flex;justify-content:center;align-items:center;position:relative}
.hero-illustration{position:relative;width:min(310px,100%);height:270px;display:grid;place-items:center}.hero-illustration svg{width:240px;max-width:100%;filter:drop-shadow(0 16px 30px #001b3970)}
.hero-float{position:absolute;display:flex;gap:8px;align-items:center;background:#fff;color:#163656;padding:11px 14px;border-radius:15px;box-shadow:0 12px 28px #001e3e40;font-size:12px;font-weight:800}.hero-float.one{right:-8px;top:17px}.hero-float.two{left:-12px;bottom:18px}.hero-float .round{width:25px;height:25px;border-radius:99px;background:#e9f8f0;color:#16805a;display:grid;place-items:center}
.value-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 28px}.value-item{background:#fff;border:1px solid #e0e8f2;border-radius:16px;min-height:76px;display:flex;align-items:center;gap:12px;padding:15px;box-shadow:0 5px 20px #16385a0a}.value-item .value-icon{width:38px;height:38px;flex:none;border-radius:12px;background:#eef5fd;color:#10569b;display:grid;place-items:center;font-size:21px}.value-item b{display:block;font-size:13px}.value-item small{font-size:12px;color:var(--muted);line-height:1.4;display:block;margin-top:2px}
.service-preview{scroll-margin-top:105px;margin:28px 0 26px}.marketing-eyebrow{font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:.16em;color:#df762f;margin-bottom:8px}.marketing-section-title{font-size:clamp(24px,3vw,35px);line-height:1.13;font-weight:900;letter-spacing:-.03em;margin:0 0 8px}.marketing-section-desc{color:var(--muted);font-size:14px;max-width:620px;line-height:1.6;margin-bottom:18px}.service-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.service-preview-card{background:#fff;border:1px solid #dfe8f1;border-radius:19px;min-height:150px;padding:20px 16px;box-shadow:0 10px 25px #0936630a;transition:transform .2s,border-color .2s}.service-preview-card:hover{transform:translateY(-3px);border-color:#a7c4e7}.service-preview-card .icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:linear-gradient(140deg,#ecf6ff,#dcebf9);font-size:26px;margin-bottom:18px}.service-preview-card strong{font-size:14px}.service-preview-card p{font-size:12px;color:var(--muted);line-height:1.55;margin:7px 0 0}
.layout{scroll-margin-top:110px;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.panel{border-radius:21px;border-color:#e0e8f1;box-shadow:var(--shadow)}.panel h2{color:var(--navy);font-size:clamp(22px,2.3vw,29px);font-weight:900}.panel h3{color:var(--navy)}.kicker{color:#d9772e;font-weight:900}.progress{height:6px;margin:20px 0 25px}.progress i{height:6px;background:#e9eff5;transition:background .2s}.progress i.active{background:var(--orange)}.wizard-steps{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.wizard-steps span{display:flex;align-items:center;gap:5px;font-size:10px;color:#73889b;font-weight:750}.wizard-steps span b{width:19px;height:19px;border:1px solid #d4e1ed;border-radius:50%;display:grid;place-items:center;font-size:10px;background:#f4f7fb}.wizard-steps span.is-current{color:var(--navy)}.wizard-steps span.is-current b{background:var(--navy);border-color:var(--navy);color:white}
.service-cat{color:#35648e;font-weight:900}.item{border:1px solid #e0eaf3;border-radius:15px;padding:14px;box-shadow:0 1px 7px #174f8008;background:#fff;transition:border .15s,background .15s,transform .15s}.item:hover{border-color:#c2d5e7;transform:translateY(-1px)}.item.selected{background:#fff7f1;border-color:#ed9d62;box-shadow:0 0 0 2px #fa853418}.item .service-glyph{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#eef5fb;border-radius:12px;font-size:21px}.item.selected .service-glyph{background:#ffead8}.item .qty button{background:#fff4e8;border-color:#fad1ac;color:#a95720;font-weight:900}.item .n{min-width:0}.item small{line-height:1.45}
.combo-item{background:#eff5fc;border-color:#d6e5f5;color:#143e69}.combo-item small{color:#607e9b}.combo-item:hover{border-color:#94bce0;background:#e6f1ff}.box-note{background:#edf7fd;color:#2a618d;border-color:#d0e5f4}.box-note.warn{background:#fff8e9;color:#895c23;border-color:#f4dfb9}
.btn{border-radius:13px;min-height:45px;background:var(--orange);color:#182c42;box-shadow:0 4px 12px #f7933321}.btn:hover:not(:disabled){filter:brightness(.97)}.btn.secondary,.tab.active{background:var(--navy);color:#fff}.btn.ghost{background:#fff;border-color:#cdddeb;color:#21486e}.summary-row{gap:16px}.big-money{color:var(--navy);font-size:34px;letter-spacing:-.04em}.sticky{top:105px}.summary-accent{background:linear-gradient(145deg,#f0f6fd,#ffffff);border:1px solid #dfeafa;padding:14px;border-radius:15px;margin:15px 0}.summary-accent small{color:#607993;font-size:11px}.summary-accent .big-money{display:block;margin:4px 0}
.admin-head{position:relative;isolation:isolate;padding:32px;border-radius:24px;background:linear-gradient(115deg,#0c2d59,#164c87);color:white;overflow:hidden;margin-bottom:22px;box-shadow:0 18px 35px #14396323}.admin-head:after{content:'⌂';position:absolute;right:20px;top:-80px;font-size:230px;color:#ffffff13;z-index:-1}.admin-head h1{color:white;font-size:clamp(26px,3vw,36px);letter-spacing:-.04em;margin:8px 0}.admin-head .muted{color:#d4e7f9}.admin-head .kicker{color:#ffbb81}.admin-cards{grid-template-columns:repeat(3,1fr);gap:13px}.stat{box-shadow:0 7px 19px #0b2d5410;border-color:#dce7f3;border-radius:17px}.stat b{color:#103d71;letter-spacing:-.04em}.tabs{padding:4px 0 10px;scrollbar-color:#adc5da transparent}.tab{border-radius:12px;border-color:#dce5ef}.booking{border-radius:18px;box-shadow:0 10px 25px #0b2d5410}.booking h3{color:var(--navy)}
.showcase{margin:45px 0 14px;padding:0}.showcase-card{background:linear-gradient(110deg,#0b2d58,#155087);color:white;border-radius:24px;padding:30px;display:flex;gap:25px;align-items:center;justify-content:space-between}.showcase-card h2{font-size:clamp(23px,2.7vw,33px);line-height:1.16;margin-bottom:11px}.showcase-card p{font-size:14px;max-width:630px;color:#dfeaf5;line-height:1.65}.showcase-card a{white-space:nowrap}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:16px 0 30px}.how-card{padding:22px;background:#fff;border:1px solid #dee7f2;border-radius:19px;min-height:172px}.how-card .how-num{width:37px;height:37px;background:#eaf2fc;color:#174b83;display:grid;place-items:center;border-radius:12px;font-weight:900}.how-card h3{font-size:15px;margin:13px 0 8px;color:var(--navy)}.how-card p{font-size:13px;color:var(--muted);line-height:1.65;margin:0}
.trust-section{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;margin:37px 0}.trust-panel{border:1px solid #dbe7f3;border-radius:23px;padding:29px;background:#fff}.trust-panel.soft{background:#eaf3fc}.trust-bullets{display:grid;gap:12px;margin-top:20px}.trust-bullet{display:flex;gap:11px;align-items:flex-start;font-size:14px;color:#345470}.trust-check{width:25px;height:25px;border-radius:99px;flex:none;display:grid;place-items:center;background:#e1f4eb;color:#167c54;font-weight:900}.trust-panel p{font-size:14px;color:#637b90;line-height:1.65}.portfolio-placeholder{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.portfolio-piece{background:#d6e6f6;color:#31628f;border-radius:13px;height:95px;display:grid;place-items:center;font-size:36px;border:1px solid #c9dfef}.portfolio-caption{font-size:12px;color:#5a7290;margin-top:11px}
.faq-section{margin:28px 0 35px}.faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.faq-list details{background:#fff;border:1px solid #dce6f1;border-radius:15px;padding:16px 19px;min-height:70px}.faq-list summary{cursor:pointer;font-weight:850;font-size:13px;color:#193b60}.faq-list details p{font-size:13px;color:#697e90;margin-top:12px;line-height:1.6}
footer{padding:38px 18px;background:#0b294d;color:#d8e8fa;text-align:left;margin-top:35px}.footer-inner{max-width:1140px;margin:auto}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand strong{display:block;color:#fff;letter-spacing:.045em}.footer-brand small{display:block;color:#b7cde2}.footer-inner p{margin:16px 0;color:#bed1e6;font-size:13px;max-width:660px}.footer-inner>small{display:block;color:#adc6dc;font-size:11px;line-height:1.5}.footer-links{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0 22px}.footer-links a{font-size:13px;color:#fff;font-weight:800}
.mobile-cta{display:none}a:focus-visible,button:focus-visible{outline:3px solid #f6a65d;outline-offset:3px}
@media(max-width:900px){.top nav a[href="/#servicos"],.top nav a[href="/#como-funciona"]{display:none}.hero{grid-template-columns:1fr}.hero-art{min-height:200px}.hero-illustration{height:190px}.hero-illustration svg{width:160px}.hero-float{font-size:10px}.hero-float.one{top:0;right:10%}.hero-float.two{bottom:3px;left:14%}.service-preview-grid{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr}.sticky{position:static}.admin-cards{grid-template-columns:repeat(2,1fr)}.trust-section{grid-template-columns:1fr}.faq-list{grid-template-columns:1fr}}
@media(max-width:600px){.top{height:70px;padding:0 15px}.top nav .nav-cta{padding:11px 12px;font-size:12px}.top nav .admin-nav{display:none}.brand b{font-size:18px}.brand small{font-size:8px}.symbol{width:41px;height:41px}.container{padding:15px 12px 75px}.hero{padding:27px 22px 21px;border-radius:22px;min-height:0}.hero h1{font-size:34px;margin:14px 0}.hero p{font-size:14px}.hero .chips{margin-top:16px}.hero .chip{font-size:10px;padding:7px 9px}.hero-art{min-height:180px}.hero-illustration{height:180px}.hero-cta-row{gap:8px;margin-top:19px}.hero-cta,.hero-secondary{padding:13px 15px;font-size:12px}.value-strip{grid-template-columns:1fr;gap:8px;margin:13px 0 25px}.value-item{min-height:60px;padding:12px}.service-preview{margin:18px 0 25px}.service-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.service-preview-card{min-height:130px;padding:14px}.service-preview-card .icon{height:42px;width:42px;margin-bottom:11px;font-size:23px}.service-preview-card strong{font-size:12px}.service-preview-card p{font-size:11px}.panel{padding:19px;border-radius:18px}.panel h2{font-size:23px}.wizard-steps{display:none}.item{padding:11px;gap:9px}.item .service-glyph{height:34px;width:34px;font-size:18px}.item b{font-size:12px}.item small{font-size:11px}.summary-accent{padding:12px}.showcase-card{display:block;padding:25px}.showcase-card a{margin-top:17px}.how-grid{grid-template-columns:1fr}.how-card{min-height:0;padding:18px}.trust-panel{padding:20px}.portfolio-piece{height:78px}.faq-list{grid-template-columns:1fr}.mobile-cta{position:fixed;display:flex;align-items:center;justify-content:center;bottom:0;left:0;right:0;z-index:18;background:#ffffffed;border-top:1px solid #dce6f3;padding:11px 13px calc(11px + env(safe-area-inset-bottom));backdrop-filter:blur(14px);box-shadow:0 -6px 25px #10385e14}.mobile-cta a{display:block;text-align:center;background:var(--orange);color:#18304e;border-radius:12px;font-size:13px;font-weight:900;padding:14px;width:100%;max-width:560px}#toast{bottom:85px}footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-cta,.item,.service-preview-card{transition:none}}
/* Andrade v0.7 - Usuarios e permissoes */
.user-manager{max-width:1100px;margin:0 auto 25px}
.user-permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:9px 16px;margin:15px 0 22px}
.user-permission{display:flex;align-items:flex-start;gap:10px;border:1px solid #dce6f0;background:#f8fbff;padding:12px;border-radius:12px;font-size:14px;color:#183b5d;cursor:pointer}
.user-permission input{accent-color:#123c73;margin-top:3px;min-width:17px;min-height:17px}
.user-item{border:1px solid #dce6f0;border-radius:13px;margin:9px 0;background:#fff;overflow:hidden}
.user-item summary{cursor:pointer;padding:14px 16px;line-height:1.6}
.user-item summary .pill{font-size:11px;margin-left:10px}
.user-item-content{padding:0 17px 18px}
.user-audit .summary-row{font-size:13px}

/* Andrade Serviços v0.9 - cadastro e edição de preços em lote */
.batch-list{display:grid;gap:10px;margin-top:14px;max-height:620px;overflow-y:auto;padding-right:4px}
.batch-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,172px) auto;align-items:center;gap:13px;border:1px solid var(--line);border-radius:13px;padding:13px 15px;background:#fff}
.batch-name{display:flex;gap:12px;align-items:center;min-width:0;cursor:pointer}
.batch-name input[type=checkbox]{flex:0 0 19px;width:19px;height:19px;accent-color:#ff9c43}
.batch-name span{min-width:0}.batch-name b{display:block;font-size:.93rem;line-height:1.35}.batch-name small{display:block;color:var(--muted);font-size:.76rem;margin-top:3px}
.batch-input{display:flex;flex-direction:column;gap:5px;min-width:0}.batch-input small{font-weight:650;font-size:.76rem;color:var(--muted)}
.batch-input input[type=number]{width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:10px}
.batch-single{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:650px){.batch-line{grid-template-columns:minmax(0,1fr) minmax(100px,135px);gap:9px;padding:12px}.batch-single{grid-column:1/-1;justify-content:flex-start}.batch-input input[type=number]{font-size:16px}}

/* Andrade Serviços v1.1 — catálogo compacto e central de integrações */
.catalog-shell{display:grid;gap:15px;scroll-margin-top:100px}
.catalog-shell .box-note{margin:0}
.catalog-categories{display:flex;gap:8px;overflow-x:auto;padding:4px 1px 12px;scrollbar-width:thin;scroll-snap-type:x proximity}
.cat-filter{white-space:nowrap;flex:none;padding:11px 15px;background:#fff;border:1px solid #ccdae8;border-radius:999px;color:#17466f;font-weight:700;cursor:pointer;scroll-snap-align:start}
.cat-filter:hover{background:#eaf4fe}.cat-filter.active{background:#143f70;color:#fff;border-color:#143f70}
.catalog-results-head{display:flex;align-items:center;justify-content:space-between;color:#173c62;gap:10px;margin:4px 0}.catalog-results-head span{font-size:13px;color:#74899d}
.catalog-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.catalog-service{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;background:#fff;border:1px solid #dae6ef;border-radius:15px;box-shadow:0 4px 12px #11365c0a}
.catalog-service.picked{border-color:#e7a36e;background:#fffaf5}
.catalog-service-icon{font-size:22px;flex:none;width:41px;height:41px;display:grid;place-items:center;background:#edf4fd;border-radius:11px}
.catalog-service-main{flex:1;min-width:0}.catalog-service-main b{font-size:13px;color:#193b61;display:block;line-height:1.3}.catalog-service-main small{display:block;font-weight:700;color:#536f8c;margin-top:6px;font-size:12px}
.catalog-add{flex:none;width:37px;height:37px;border:1px solid #f5c499;background:#ffecd7;color:#834714;border-radius:11px;font-size:25px;font-weight:800;cursor:pointer}
.catalog-service .qty{display:flex;align-items:center;gap:5px}.catalog-service .qty button{background:#fff4e8;border-radius:9px;border:1px solid #ebc299;width:27px;height:31px;font-size:17px;cursor:pointer}.catalog-service .qty b{min-width:14px;text-align:center}
.custom-service{background:#f3f8fc;border:1px solid #c9def0;padding:17px;border-radius:15px}.custom-service small{display:block;margin:5px 0 0 25px;font-size:12px;color:#5c7590}
.catalog-bottom{position:sticky;bottom:12px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:16px;background:#0f3a69;color:#fff;padding:12px 16px;box-shadow:0 12px 25px #10355b24}.catalog-bottom .btn{min-height:40px;background:#f9a45d;color:#092d51}.catalog-bottom span{font-size:13px;font-weight:700}
.media-picker{padding:17px;border:1px solid #d1e3f0;border-radius:16px;background:#f8fbff;display:grid;gap:10px}.media-picker h3{margin:0;color:#123d6b}.media-label{display:inline-flex;align-items:center;justify-content:center;width:max-content;cursor:pointer}.media-list{display:grid;gap:9px}.media-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #dce8f2;background:#fff;border-radius:11px;padding:9px 12px}.media-choice small{display:block;color:#657f94;font-size:11px;margin-top:3px}.media-choice b{font-size:12px;overflow-wrap:anywhere}
.integration-menu{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 17px}.integration-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}.integration-card{display:grid;align-content:start;gap:9px;padding:17px;border:1px solid #d9e5f2;border-radius:16px;background:#fff}.integration-card b{color:#163e66}.integration-card small{font-size:12px;color:#5d718b}.integration-card .btn{justify-self:start}
.connection-mark{display:inline-flex;align-items:center;font-size:12px;font-weight:700;padding:5px 9px;border-radius:999px;background:#e7eefa;color:#416584}.connection-mark.okay{background:#e6f5ee;color:#17734e}.connection-mark.pending{background:#fff2dc;color:#976221}
.featured-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:270px;overflow-y:auto;margin:13px 0 17px}.featured-item{display:flex;gap:7px;align-items:center;font-size:12px;border:1px solid #dce6f1;border-radius:10px;padding:10px 12px}.featured-item input{width:17px;height:17px;accent-color:#e58a36}
@media(max-width:760px){.catalog-cards,.integration-cards,.featured-picks{grid-template-columns:1fr}.catalog-service{padding:11px}.catalog-bottom{bottom:74px}.catalog-shell{gap:12px}.media-choice .buttons{flex-wrap:wrap}}
@media(max-width:600px){.catalog-bottom{bottom:10px}.mobile-cta{display:none}.catalog-categories{margin-right:-10px}.cat-filter{padding:10px 13px;font-size:12px}.catalog-service-main b{font-size:12px}.catalog-service-icon{width:34px;height:34px}.catalog-bottom .btn{padding:10px 12px}.media-picker{padding:12px}}

/* Andrade Servicos v1.2 - calendario com disponibilidade real */
.calendar-card{border:1px solid #d8e7ed;border-radius:18px;background:#f9fcff;padding:18px;margin:12px 0 24px}
.calendar-top{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:15px;margin-bottom:18px}
.calendar-top h3{margin:0 0 4px;color:#17466f}.calendar-top p{margin:0;font-size:12px}
.calendar-month-nav{display:flex;align-items:center;gap:9px}.calendar-month-nav strong{min-width:145px;text-align:center;text-transform:capitalize;font-size:14px;color:#153b60}
.calendar-month-nav button{border:1px solid #d5e3f0;border-radius:9px;background:white;width:36px;height:36px;font-size:24px;color:#194b7b}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-weekdays span{text-align:center;color:#60788c;font-size:12px;font-weight:800;padding-bottom:8px}
.cal-day{min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:11px;border:1px solid #e3eaf1;background:white;font-size:14px}
.cal-day strong{font-size:15px}.cal-day small{font-size:10px;font-weight:750}.cal-day.open{background:#e1f4ea;border-color:#a9dbc0;color:#135b3b}.cal-day.few{background:#fff1cb;border-color:#eacb76;color:#805b0e}.cal-day.closed{background:#e8eef2;border-color:#dce4e8;color:#81909a}.cal-day.unknown{background:#f1f5fa;color:#7890a4}.cal-day.selected{outline:3px solid #ff9c43;outline-offset:0;box-shadow:0 0 0 1px white inset}
.cal-day:disabled{opacity:.74;cursor:not-allowed}.cal-day:not(:disabled):hover{filter:brightness(.96)}
.calendar-empty{min-height:60px}.calendar-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:17px;font-size:12px;color:#516578}.calendar-legend span{display:flex;align-items:center;gap:6px}
.calendar-legend i{display:inline-block;width:12px;height:12px;border:1px solid #cdd7dc;border-radius:4px}.calendar-legend .green{background:#c9eed9}.calendar-legend .yellow{background:#ffdf88}.calendar-legend .gray{background:#e8eef2}
.schedule-settings{display:grid;gap:8px}.schedule-day{display:grid;grid-template-columns:minmax(115px,1fr) 112px 25px 112px;align-items:center;gap:9px;padding:10px;border-radius:10px;border:1px solid #dde7ef}
.schedule-day input[type=time]{min-width:0;width:100%;padding:8px 4px;border:1px solid #d9e4ec;border-radius:8px}
@media(max-width:580px){.calendar-card{padding:10px}.calendar-days,.calendar-weekdays{gap:3px}.cal-day,.calendar-empty{min-height:49px}.cal-day{border-radius:8px;font-size:12px}.cal-day strong{font-size:14px}.cal-day small{font-size:9px}.calendar-month-nav strong{min-width:115px}.calendar-legend{gap:8px;font-size:10px}.schedule-day{grid-template-columns:minmax(98px,1fr) 93px 18px 93px;gap:4px;padding:7px}.schedule-day input[type=time]{font-size:12px}}

.calendar-next{margin:12px 0 0;color:#21527b;font-size:13px}.calendar-next b{color:#0e6642}

/* v1.5 — Área do Profissional: saldo, notificações e comprovantes */
.home-balance{background:linear-gradient(135deg,#112c4a,#185587);color:#fff;padding:24px;border-radius:18px;margin:17px 0 13px;display:grid;gap:12px;box-shadow:0 10px 26px rgba(9,48,82,.15)}
.home-balance .home-balance-top,.home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-balance .home-balance-top{font-weight:650}.home-balance strong{font-size:clamp(26px,5vw,40px);letter-spacing:-.04em;font-variant-numeric:tabular-nums}.home-balance small{color:#cee2f5}
.home-balance .btn.ghost{color:#fff;background:#ffffff18;border-color:#ffffff66}.home-balance .btn.secondary{background:#fff;color:#174b7c}
.home-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-kpis>div{padding:14px;border-radius:13px;border:1px solid #dde7f0;background:#f7fafd;display:grid;gap:7px}
.home-kpis small{color:#536a7c}.home-kpis b{font-size:clamp(13px,2vw,21px);font-variant-numeric:tabular-nums}
.home-shortcuts{display:flex;gap:10px;flex-wrap:wrap}
.notice-line,.receipt-line{border-bottom:1px solid #e2eaf1;padding:14px 0;display:flex;gap:12px;align-items:flex-start}
.notice-line:last-child,.receipt-line:last-child{border-bottom:0}.notice-line p{margin:5px 0}.notice-line small,.receipt-line small{color:#65788d}
.notice-icon{background:#eaf4fe;width:36px;height:36px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center}
.receipt-line{justify-content:space-between;flex-wrap:wrap}.receipt-line>div:first-child{min-width:220px;flex:1}
.receipt-line .buttons{justify-content:flex-end;margin:0}.receipt-line .buttons .btn{margin:2px}
@media(max-width:700px){.home-kpis{grid-template-columns:1fr}.home-balance{padding:19px}.receipt-line .buttons{justify-content:flex-start}.receipt-line{gap:8px}}

/* Andrade Premium: área autenticada; visual escuro no Android sem alterar as páginas públicas. */
.payment-premium{background:linear-gradient(145deg,#071a34,#133358 58%,#091d33)!important;color:#f5f9ff!important;border:1px solid #365373;box-shadow:0 16px 35px #03172a35;border-radius:20px}
.payment-premium h2,.payment-premium h3,.payment-premium label{color:#fff!important}
.payment-premium p{color:#c9d7eb}.payment-premium .field textarea{color:#142d43;background:#fff;min-height:100px;border-radius:12px}
.payment-premium .payment-choice{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.payment-premium .payment-verified{padding:14px;background:#18375a;border-radius:14px;margin:14px 0}
.payment-premium .summary-row{border-bottom:1px solid #344f71;color:#f8fbff;word-break:break-word;gap:14px}
.payment-premium .summary-row span{color:#c9d7eb}
@media(max-width:650px){body:has(.admin-tabs) .container{padding-left:10px;padding-right:10px}body:has(.admin-tabs) .panel{border-radius:16px}body:has(.admin-tabs) .admin-tabs{border-radius:14px}.payment-premium .payment-choice .btn{flex:1 1 160px}}

/* Conta opcional após orçamento - Andrade 1.5.3 */
.account-offer{margin:22px 0 0;padding:22px;border:1px solid rgba(245,145,63,.36);background:linear-gradient(130deg,rgba(22,65,108,.12),rgba(249,159,67,.10));border-radius:18px;text-align:left}
.account-offer h3{margin:6px 0 10px}.account-offer .buttons{margin-top:16px;display:flex;flex-wrap:wrap;gap:9px}
.account-offer-mark{font-size:.73rem;font-weight:800;letter-spacing:.09em;color:#c57929}.account-offer p{line-height:1.55}
.account-offer .field-grid{margin-top:12px}.account-offer .field input[readonly]{opacity:.75}

/* Andrade Serviços · estoque inteligente, mobile-first */
.material-intelligence{margin:22px 0;border:1px solid #d7e3ee;border-radius:18px;padding:16px;background:#f8fbfe}.material-intelligence h3{margin:0 0 8px}.material-choices{display:grid;gap:8px;margin:14px 0}.material-choice{display:flex;align-items:flex-start;gap:10px;background:#fff;padding:13px;border:1px solid #e0e5eb;border-radius:12px;cursor:pointer;line-height:1.4}.material-choice input{margin-top:3px;flex-shrink:0}.material-list{display:grid;gap:9px}.material-line{display:flex;gap:12px;align-items:center;border:1px solid #dfe7ef;background:white;border-radius:15px;padding:9px}.material-picture{width:84px;height:88px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;background:#f1f4f7;overflow:hidden;font-size:31px}.material-picture img{width:100%;height:100%;object-fit:contain}.material-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.material-content small,.material-admin-card small{display:block;color:#657486;line-height:1.35}.material-available{color:#157a43;font-weight:700}.material-qty{display:flex;align-items:center;gap:10px;margin-top:4px}.material-qty button{font-size:21px;border:1px solid #dde3eb;border-radius:10px;background:#f8fafc;padding:1px 10px;cursor:pointer}.material-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:12px;margin-top:16px}.material-admin-card{display:grid;grid-template-columns:83px 1fr;gap:9px;align-items:center;border:1px solid #d8e2ec;border-radius:14px;padding:10px;background:#fff}.material-admin-card .btn{grid-column:1/-1}.material-admin-photo{background:#f4f6f8;width:83px;height:83px;display:grid;place-items:center;overflow:hidden;border-radius:11px;font-size:36px}.material-admin-photo img{width:100%;height:100%;object-fit:contain}@media(max-width:490px){.material-intelligence{padding:11px}.material-picture{width:74px;height:78px}.material-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material-admin-card{display:flex;flex-direction:column;text-align:center;align-items:stretch}.material-admin-photo{margin:auto}}

/* R18 — retorno visivel no topo do pedido (site e WebView Android). */
.wizard-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.wizard-toolbar-text { display:flex; flex-direction:column; gap:5px; }
.wizard-autosave { font-size:.8rem; color:var(--muted,#63758e); }
.wizard-back-top { flex-shrink:0; min-height:44px; padding:10px 16px; border:1px solid currentColor; font-weight:700; }
@media (max-width:520px) { .wizard-toolbar { align-items:stretch; } .wizard-back-top { width:100%; } }

/* R19: câmera visível durante gravação de vídeo no navegador desktop */
.andrade-camera-preview{margin:14px 0;padding:10px;background:#112e43;border-radius:14px;color:#fff;max-width:100%}
.andrade-camera-preview video{display:block;width:100%;max-height:360px;object-fit:contain;background:#000;border-radius:10px}
.andrade-camera-preview small{display:block;margin-top:6px;color:#f4dfcd}

/* R32.7: seleção opcional no mapa, preservando CEP e formulário */
.as-map-overlay{position:fixed;inset:0;z-index:99999;background:rgba(8,26,43,.75);display:flex;align-items:center;justify-content:center;padding:12px;overflow:auto}
.as-map-dialog{width:min(700px,100%);max-height:96vh;overflow:auto;background:#fff;color:#172c43;padding:18px;border-radius:18px;box-shadow:0 18px 58px #0007}
.as-map-dialog header{display:flex;gap:12px;align-items:center;justify-content:space-between}.as-map-dialog h2{font-size:1.2rem;margin:0}
.as-map-dialog .leaflet-container{z-index:1}.map-address{margin:15px 0;padding:16px;border:1px solid #cbd9e6;border-radius:15px;background:#f3f8fe;color:#153351}
.as-map-dialog .buttons{display:flex;gap:8px;flex-wrap:wrap}.as-map-dialog small{display:block;margin-top:8px}
@media(max-width:560px){.as-map-dialog{padding:12px}.as-map-dialog #asAddressMap{height:45vh!important}}

/* R32.8: mapa discreto ao lado do CEP, sem cartao grande na etapa do endereco */
.as-cep-inline{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:stretch}
.as-cep-inline input{min-width:0;width:100%}
.as-map-pin-mini{width:42px;height:44px;border:1px solid #cbd9e6;border-radius:11px;background:#eff7fe;color:#103a71;display:grid;place-items:center;font-size:19px;padding:0;cursor:pointer}
.as-map-pin-mini:focus-visible,.as-map-link:focus-visible{outline:3px solid #f28b35;outline-offset:2px}
.as-map-link{justify-self:start;border:0;background:transparent;padding:3px 2px;color:#0e4e78;font-weight:750;font-size:12px;text-decoration:underline;cursor:pointer}
.as-geo-notice{font-size:11px;line-height:1.4}
.as-map-selection{margin:10px 0 15px;padding:10px 12px;border:1px solid #cbd9e6;border-radius:12px;background:#f3f8fd;font-size:13px}
.as-map-selection a{text-decoration:underline}
.as-map-selection .btn{padding:3px 7px;margin-left:3px}
.as-map-selection small{display:block;color:#5a7488;margin-top:5px}
@media(max-width:450px){.as-cep-inline{grid-template-columns:minmax(0,1fr) 40px}.as-map-pin-mini{width:40px}}

/* R32.12: fluxos de agendamento flexivel e timeline acessivel */
.as-flex-choice{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px;}
.as-order-timeline{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0;align-items:center;}
.as-order-timeline span{font-size:.8rem;opacity:.65;padding:6px 9px;border:1px solid rgba(100,120,150,.28);border-radius:99px;}
.as-order-timeline span.is-done{opacity:1;font-weight:700;border-color:#167e6d;background:rgba(22,126,109,.07);}

/* R32.18: chat de atendimento consistente no mobile e no desktop */
.customer-chat{background:#f7fbff;border:1px solid #d9e8f5;border-radius:18px;padding:16px;margin:16px 0;color:#183c61;min-width:0;text-align:left}
.chat-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.chat-heading span{font-size:17px}.chat-heading small{font-size:11px;color:#486782}
.customer-chat .muted{font-size:13px;margin:6px 0 12px}
.chat-messages{background:#edf4f9;border:1px solid #d5e4f0;border-radius:12px;padding:14px;min-height:145px;max-height:350px;overflow:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:8px}
.chat-line{display:flex;width:100%}.chat-line.customer{justify-content:flex-end}.chat-line.team,.chat-line.bot{justify-content:flex-start}
.chat-bubble{max-width:min(88%,440px);background:white;color:#183651;border-radius:13px 13px 13px 4px;padding:10px 12px;border:1px solid #dce7f3;box-shadow:0 1px 3px #1c477111;text-align:left;min-width:0}
.chat-line.customer .chat-bubble{background:#dbeafa;border-color:#c6dced;border-radius:13px 13px 4px 13px}
.chat-line.bot .chat-bubble{background:#e5f4e9;border-color:#cde8d7}
.chat-bubble small{font-size:10px;display:block;color:#567085;margin-bottom:4px}
.chat-body{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.chat-files{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.chat-attachment{background:#fff;border:1px solid #bcd3e8;color:#1b507a;padding:6px 8px;font-size:12px;border-radius:8px;overflow-wrap:anywhere;max-width:100%}
.chat-mode-label{text-align:center;color:#526d88;font-size:12px;margin:6px 0}
.chat-composer{display:flex;gap:8px;align-items:end;margin-top:12px}
.chat-composer textarea{display:block;flex:1;min-width:0;min-height:54px;max-height:130px;resize:vertical;background:white;border:1px solid #bdcfdf;border-radius:12px;padding:11px;color:#173554;width:auto!important;margin:0!important}
.chat-composer .btn{flex-shrink:0;min-height:48px;white-space:nowrap}
.chat-upload-label{display:inline-flex;gap:5px;align-items:center;margin-top:8px;position:relative;cursor:pointer;color:#225989;font-weight:650;font-size:12px}
.chat-upload-label input{position:absolute;width:1px;height:1px;opacity:0;left:0;top:0}
.chat-upload-label:focus-within{outline:2px solid #fa8534;outline-offset:3px}.chat-upload-state{font-size:11px;color:#617890;margin:5px 0 10px}
.chat-inbox-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px;border-bottom:1px solid #e2edf5}.chat-inbox-row .muted{font-size:12px;overflow-wrap:anywhere}.chat-unread{background:#0c6d49;color:white;border-radius:30px;padding:3px 8px;font-size:11px;font-weight:700}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){.customer-chat{padding:10px}.chat-messages{max-height:300px;padding:8px}.chat-bubble{max-width:92%}.chat-composer .btn{padding:8px 10px}.chat-inbox-row{flex-direction:column;align-items:stretch}}

.chat-preview{margin:10px 0;border:1px solid #c9deec;background:#fff;border-radius:12px;padding:12px;display:grid;gap:10px}.chat-preview[hidden]{display:none}.chat-preview img,.chat-preview video{max-width:100%;max-height:340px;border-radius:8px;object-fit:contain}.chat-preview audio{width:100%}.chat-preview a{justify-self:start}

/* R32.19 - corrigido modal de materiais no Android e telas pequenas. */
.modalbg { overflow-y: auto; overscroll-behavior: contain; align-items: safe center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.modalbg > .modal { min-width: 0; max-width: 100%; max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modalbg .modal .field, .modalbg .modal .buttons, .modalbg .modal .field-grid { min-width: 0; max-width: 100%; }
.stock-use-block { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; min-width: 0; margin: 12px 0 18px; }
.stock-use-block label { font-size: .875rem; font-weight: 750; }
.stock-use-block select, .stock-use-block input { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #d8e4e9; border-radius: 10px; background: #fff; color: var(--text); }
.stock-use-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; min-width: 0; }
.stock-use-qty { display: grid; gap: 5px; min-width: 100px; width: 110px; }
.stock-use-actions > button { min-height: 44px; white-space: normal; text-align: center; }
@media (max-width: 600px) { .modalbg { place-items: start center; } .modalbg > .modal { padding: 17px 15px; margin: auto 0; width: 100%; max-height: calc(100dvh - 24px); } .stock-use-actions { flex-direction: column; align-items: stretch; } .stock-use-qty, .stock-use-actions > button { width: 100%; } .modalbg .modal .buttons > .btn { white-space: normal; overflow-wrap: anywhere; } }

/* R32.28.2 — conversa do WhatsApp aberta imediatamente no celular */
.wa-chat-focus{scroll-margin-top:100px;border:2px solid #1a5e80;border-radius:14px;padding:12px;margin:10px 0 18px;background:#f7fbfe;outline-offset:4px}
.wa-chat-focus:focus-visible{outline:3px solid #207ca5}
@media(max-width:600px){.wa-chat-focus{padding:10px;margin:8px -5px 18px}}
