:root{--bg:#100b19;--panel:#1c1328;--line:#3e3049;--ink:#fbf3df;--muted:#c3b7ce;--gold:#e6c674;--purple:#9961bc;--green:#208669;--red:#ffd1cf}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:radial-gradient(ellipse at top left,#301b41,transparent 65%),var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;min-height:100vh}a{color:var(--gold)}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:11px;background:var(--purple);color:#fff;font-weight:700;text-decoration:none;cursor:pointer}button:hover,.button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.gold{background:var(--gold);color:#23172c}.secondary{background:#30243d;border-color:var(--line)}.whatsapp{background:var(--green)}.danger{background:#713c48}.shell{max-width:1280px;margin:auto;padding:32px 24px 70px}.topbar,.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.topbar{justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--gold);text-transform:uppercase}h1,h2,h3{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(32px,4vw,48px);margin:7px 0 12px}h2{font-size:26px;margin:0 0 14px}h3{font-size:21px;margin:0 0 10px}p{margin:0 0 14px}.muted,small{color:var(--muted)}small{display:block;font-size:13px}.nav{display:flex;gap:8px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-radius:15px;background:#160f20;margin-bottom:24px}.nav button{background:transparent;color:var(--muted)}.nav button[aria-current=page]{background:#674080;color:white}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.metric,.panel,.card{border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,#21162f,#181020);padding:22px}.metric strong{display:block;font:700 30px Georgia,serif;color:var(--gold);margin-bottom:8px}.metric span{font-size:13px;color:var(--muted)}.panel{margin:18px 0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid>*{min-width:0}.stack{display:grid;gap:14px}label{display:block;font-weight:650;font-size:14px;margin:10px 0 6px}input,select,textarea{display:block;width:100%;min-height:46px;background:#130d1d;border:1px solid #584564;border-radius:9px;color:var(--ink);padding:10px 12px;min-width:0;color-scheme:dark}textarea{resize:vertical;min-height:95px}input[type=checkbox],input[type=radio]{width:21px;height:21px;min-height:21px;margin:0;flex-shrink:0;accent-color:var(--gold)}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400}.choice{border:1px solid var(--line);border-radius:12px;padding:15px;margin:0;display:flex;align-items:center;gap:12px;cursor:pointer}.choice:has(input:checked){border-color:var(--gold);background:#3c2943}.choices{display:grid;gap:10px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.4;font-weight:750;padding:5px 9px;border-radius:99px;background:#382847;color:#e2cfee}.badge.green{color:#b6f4d7;background:#194639}.badge.gold{background:#584521;color:#f9dfa0}.badge.red{background:#62313b;color:#ffdddc}.card{padding:0;overflow-wrap:anywhere}.card summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;padding:20px}.card summary::-webkit-details-marker{display:none}.card summary h3{margin:0 0 8px}.card summary .arrow:after{content:'Abrir ▾';color:var(--gold);font-size:13px;white-space:nowrap}.card[open] summary .arrow:after{content:'Cerrar ▴'}.card[open] summary{border-bottom:1px solid var(--line)}.card-body{padding:22px}.summary-info{display:grid;gap:6px}.receipt{white-space:pre-wrap;overflow-wrap:anywhere;background:#151020;padding:15px;border-left:3px solid var(--green);border-radius:8px;margin:12px 0}.message{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--gold);margin:12px 0;min-height:24px}.message.error{color:var(--red)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.agenda-day{border-top:1px solid var(--line);padding:18px 0}.agenda-day h3{font:700 15px system-ui;color:var(--gold)}.agenda-event{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:8px 0;background:#251a32;padding:14px;border-radius:12px}.callout{border-left:3px solid var(--gold);padding:14px 16px;background:#2e2339;margin:16px 0;border-radius:8px}.customer{max-width:960px}.price{font:700 44px Georgia,serif;color:var(--gold)}.price span{font:600 14px system-ui}.customer-intro{max-width:600px}.steps{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px;margin:18px 0}.step{border:1px solid var(--line);padding:8px 12px;border-radius:20px}.mobile-only{display:none}.divider{height:1px;background:var(--line);margin:20px 0}.filter{max-width:380px}.client{padding:18px 0;border-bottom:1px solid var(--line)}.wide{width:100%}.nowrap{white-space:nowrap}@media(max-width:760px){.shell{padding:22px 14px 50px}.grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric,.panel{padding:17px}.metric strong{font-size:27px}.nav{gap:3px}.nav button{font-size:14px;padding:9px 11px}.topbar{align-items:flex-start}.card summary{padding:16px;align-items:flex-start}.card-body{padding:16px}.card summary h3{font-size:22px}.actions>*{flex:1 1 160px}.row>*{max-width:100%}.mobile-only{display:block}input,select,textarea{font-size:16px}.price{font-size:36px}.customer .panel{margin-top:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.sales-alerts h2{margin:0}.sales-alerts>p{margin:12px 0}.sales-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--line)}.sales-alert>div{min-width:0}.sales-alert strong,.sales-alert p{overflow-wrap:anywhere}.sales-alert p{margin:6px 0}.sales-alert.paid strong{color:#72e6bd}.sales-alert .actions{margin:0;flex-shrink:0}@media(max-width:760px){.sales-alert{align-items:stretch;flex-direction:column}.sales-alert .actions{display:flex;width:100%;flex-wrap:wrap}.sales-alert .actions>*{flex:1 1 120px}.sales-alerts .row{align-items:flex-start}}

.sales-notices>summary{cursor:pointer;padding:10px 0;color:var(--gold);font-weight:700}

#webhookDiagnostics{overflow-wrap:anywhere}

.save-notice{position:fixed;z-index:1200;bottom:16px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:680px;display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #4ba58c;border-radius:14px;background:#173e34;color:#edfff8;box-shadow:0 5px 24px #0008;overflow-wrap:anywhere}.save-notice span{flex:1;min-width:0}.save-notice button{flex-shrink:0}.has-save-notice .shell{padding-bottom:180px}@media(max-width:480px){.save-notice{align-items:stretch;flex-direction:column;gap:8px;font-size:14px}.save-notice button{align-self:flex-end;min-height:44px;padding:8px 14px}}

.master-progress .grid{grid-template-columns:1fr}.followup-options{margin:18px 0;border-top:1px solid var(--line);padding-top:12px}.followup-options>summary{padding:8px 0;display:block;color:var(--gold);font-weight:650;min-height:44px}

body[data-role=admin] .shell{max-width:1120px}body[data-role=admin] .topbar{margin-bottom:16px}body[data-role=admin] h1{font-size:36px;margin-bottom:0}body[data-role=admin] .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}#status:empty{display:none}.home-heading{justify-content:space-between}.home-heading h2{margin:0}.priority-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.priority-row:last-child{border:0;padding-bottom:0}.priority-row>div{min-width:0;overflow-wrap:anywhere}.priority-row button{flex-shrink:0}.settings-details>summary{cursor:pointer;color:var(--ink);font-weight:650;min-height:44px;padding:10px 0}.settings-details[open]>summary{margin-bottom:12px}
.nav{position:relative}.more-menu{margin-left:auto;position:relative}.more-menu>summary{cursor:pointer;list-style:none;padding:10px 17px;min-height:44px;border:1px solid var(--line);border-radius:10px;font-weight:700}.more-menu>summary::-webkit-details-marker{display:none}.more-menu>summary:after{content:' ▾';color:var(--muted)}.menu-items{position:absolute;right:0;top:calc(100% + 10px);z-index:1400;width:235px;max-width:calc(100vw - 40px);padding:7px;background:#21172d;border:1px solid #655173;border-radius:13px;box-shadow:0 10px 32px #0008;display:grid;gap:3px}.menu-items button,.menu-items a{justify-content:flex-start;text-align:left;width:100%;color:var(--ink);padding:11px 14px;min-height:44px;font-size:15px;text-decoration:none;border-radius:8px}.menu-items a:hover{background:#382447}.menu-items #logout{border-top:1px solid var(--line);border-radius:0}.menu-items .badge{margin-left:8px}
.sales-bubble{position:fixed;z-index:1100;right:20px;bottom:max(20px,env(safe-area-inset-bottom));width:370px;max-width:calc(100vw - 24px);display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #bfa35f;border-radius:18px;background:#f1dfad;color:#30200d;box-shadow:0 5px 24px #0005;animation:notice-arrive .22s ease-out}.sales-bubble.paid{background:#d5f3e5;border-color:#8acbad;color:#123e2c}.bubble-icon{display:flex;flex-shrink:0}.bubble-copy{flex:1;min-width:0}.bubble-copy strong{display:block;font-size:15px}.bubble-copy small{font-size:12px;color:inherit;opacity:.85}.bubble-count{min-width:22px;height:22px;border-radius:50%;background:#30200d;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;font-weight:750;padding:0 5px}.sales-bubble.paid .bubble-count{background:#123e2c}.sales-bubble button{min-width:46px;padding:8px 12px;background:#30200d;color:#fff;flex-shrink:0}.sales-bubble.paid button{background:#123e2c}.has-sales-bubble .shell{padding-bottom:140px}@keyframes notice-arrive{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.sales-bubble{animation:none}}@media(max-width:480px){body[data-role=admin] h1{font-size:30px}.nav{gap:0;padding:6px}.nav button{padding:9px 10px}.more-menu>summary{padding:9px 10px;font-size:14px}.sales-bubble{right:12px;bottom:max(12px,env(safe-area-inset-bottom));gap:8px;padding:10px}.bubble-copy strong{font-size:14px}.bubble-copy small{font-size:11px}.bubble-icon svg{width:20px}.metrics .metric{padding:12px 10px}.metrics .metric strong{font-size:23px}.metrics .metric span{font-size:11px}.has-sales-bubble .shell{padding-bottom:140px}}

/* Customer journey: changes scoped to the public order page. */
.customer{max-width:1060px;padding-top:26px}.customer .topbar{margin-bottom:44px}.customer .topbar>a{font-size:13px}.customer .topbar .customer-brand{font:21px Georgia,serif;text-decoration:none;color:var(--ink)}.customer h1{max-width:770px;font-weight:500;font-size:clamp(34px,4.5vw,52px);line-height:1.1;margin:12px 0 20px}.customer-intro{font-size:17px;line-height:1.75;max-width:680px}.customer .price{font-weight:500;font-size:40px;margin-top:22px}.customer .price span{font-size:13px}.purchase-steps{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:20px 0 18px}.purchase-steps span{color:var(--gold)}.customer .panel{padding:28px;border-radius:18px}.customer h2{font-size:26px;font-weight:500}.customer .question-panel textarea{min-height:190px;font-size:16px;line-height:1.65}.question-note{font-size:14px;line-height:1.7;margin-top:16px}.customer label{margin-top:17px}.customer input{min-height:50px}.customer input[type=checkbox]{min-height:21px}.customer .known-contact{padding:16px 18px;background:#2a2035;border:1px solid #604872;border-radius:12px;margin:18px 0 22px;overflow-wrap:anywhere}.known-contact strong,.known-contact>span{display:block;font-size:16px;line-height:1.6}.known-contact small{margin-bottom:8px;font-size:12px}.known-contact>span{color:var(--muted);font-size:14px}.contact-tools{display:flex;gap:16px;margin-top:7px;flex-wrap:wrap}.text-button{background:none;color:var(--gold);padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:13px;border:0}.customer .purchase-consent{font-size:13px;font-weight:400;line-height:1.65;margin:22px 0}.checkout-note{font-size:12px;line-height:1.65;text-align:center;margin-top:12px}.customer #buy{min-height:52px}.customer-footer{border-top:1px solid var(--line);padding-top:24px;margin-top:30px;font-size:12px;color:var(--muted)}.customer #status.error{background:#432331;border:1px solid #754250;padding:16px;border-radius:10px}.customer #receiptData strong{overflow-wrap:anywhere}
@media(max-width:760px){.customer{padding:20px 20px 40px}.customer .topbar{margin-bottom:32px;align-items:center;gap:12px}.customer .topbar .customer-brand{font-size:17px}.customer .topbar>a{font-size:12px}.customer h1{font-size:36px}.customer-intro{font-size:16px}.customer .price{font-size:36px}.customer .price span{font-size:12px}.customer .grid{gap:0}.customer .panel{padding:23px 20px;margin:12px 0 0}.customer .question-panel textarea{min-height:140px}.customer h2{font-size:25px}.purchase-steps{font-size:12px;gap:9px;margin-bottom:12px}.customer .question-note{font-size:13px}.customer .contact-panel h2{margin-bottom:18px}}
@media(max-width:360px){.customer{padding-left:14px;padding-right:14px}.customer h1{font-size:32px}.customer .panel{padding:21px 17px}.customer .topbar .customer-brand{font-size:16px}.customer #buy{font-size:14px}.customer .price span{display:block;margin-top:5px}.purchase-steps{font-size:11px;gap:7px}}

/* Gold action buttons restored on the public customer journey. */
.customer button.gold,.customer .button.gold{border:1px solid #f0d883;background:linear-gradient(110deg,#b88b32,#f0d783 48%,#b98831);color:#1a111c;border-radius:11px;box-shadow:0 12px 30px rgba(203,157,59,.18),inset 0 1px 0 rgba(255,255,255,.45)}
.customer button.gold:hover,.customer .button.gold:hover{filter:brightness(1.06)}

/* Customer journey: consistent feedback without changing operation screens. */
.customer button,.customer .button,.customer input,.customer textarea,.customer select{transition:transform .2s,box-shadow .2s,border-color .2s,filter .2s}
.customer button:active,.customer .button:active{transform:scale(.98)}
.customer input:focus,.customer textarea:focus,.customer select:focus{box-shadow:0 0 0 3px #d8bd8320}
@media(hover:hover) and (pointer:fine){.customer button:not(:disabled):hover,.customer .button:hover{transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.customer *{transition:none!important;animation:none!important}}

.whatsapp-app-help{font-size:12px;line-height:1.7;margin-top:12px;color:#bcb2c3}.whatsapp-app-help a{display:inline-flex;align-items:center;min-height:44px}

.express-notice{border-color:#d6b867;background:#29202e}.express-card summary{cursor:pointer;display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:16px}.express-card .express-body{padding:0 16px 18px}.express-preview{width:min(720px,calc(100% - 24px));max-height:90vh;color:var(--text,#fff5df);background:#21182b;border:1px solid #d6b867}.express-preview::backdrop{background:#0009}.express-preview textarea{width:100%;height:50vh;min-height:200px;white-space:pre-wrap;font:16px/1.7 system-ui;margin:12px 0}.express-card .row{gap:10px}.express-card .phone{font-size:17px;color:#edcd80}.express-card .badge{white-space:normal}
