:root {
  --navy:#0e2b4f; --navy2:#102f57; --blue:#2563eb; --blue2:#1d4ed8;
  --bg:#f4f7fb; --text:#10203b; --muted:#6b7892; --line:#dbe3ee;
  --card:#fff; --green:#0f9f6e; --red:#d92d20; --amber:#d99a00;
  --shadow:0 8px 26px rgba(15,45,85,.08);
}
*{box-sizing:border-box} html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
button,input,select,textarea{font:inherit} button,a{touch-action:manipulation} a{color:inherit;text-decoration:none}
.shell{display:grid;grid-template-columns:278px minmax(0,1fr);min-height:100vh}
.sidebar{background:linear-gradient(180deg,#0b2748,#0d315b 60%,#0a2748);color:#fff;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20}
.brand{padding:28px 24px 20px;border-bottom:1px solid rgba(255,255,255,.08)}
.brand-line{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:850}.brand p{margin:6px 0 0;color:#bed0e8;font-size:14px}
.brandmark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:linear-gradient(135deg,#f8d27b,#9b6f1e);transform:rotate(45deg)}
.brandmark span{transform:rotate(-45deg);font-weight:900;color:#173456}
.nav{padding:18px 8px;display:flex;flex-direction:column;gap:6px;flex:1;overflow:auto}
.nav button,.nav a{border:0;background:transparent;color:#cfddf0;text-align:left;padding:13px 16px;border-radius:10px;cursor:pointer;font-weight:700;display:block}
.nav button.active,.nav button:hover,.nav a:hover{background:#173f73;color:#fff}
.profile{padding:20px;border-top:1px solid rgba(255,255,255,.1)}.profile-row{display:flex;align-items:center;gap:10px}.profile small{color:#a9bdd7;display:block;margin-top:8px}
.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#4b7fd6;font-weight:850}
.main{padding:28px 30px 48px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.title h1{font-size:38px;line-height:1.08;margin:0 0 8px;letter-spacing:-.035em}.title p{margin:0;color:var(--muted);font-size:17px}
.actions,.row-actions,.filters,.inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:11px 16px;border-radius:10px;cursor:pointer;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.btn:hover{filter:brightness(.98)}.btn.primary{background:linear-gradient(180deg,#2f6ee8,#1d5ee0);color:#fff;border-color:#1d5ee0}
.btn.danger{background:#fff1f1;border-color:#ffd1d1;color:#b42318}.btn.success{background:#ecfdf3;border-color:#b7ebcb;color:#087a50}.btn.small{padding:8px 11px;font-size:13px}
.badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:850;background:#eaf1ff;color:#1656d8}.badge.gold{background:#fff2d7;color:#925900}
.grid-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.kpi,.panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:var(--shadow)}
.kpi{padding:20px}.kpi .label{color:#52617c}.kpi strong{display:block;font-size:28px;margin-top:8px}.kpi .trend{font-size:12px;color:var(--green);margin-top:5px}
.panel{padding:20px;margin-bottom:22px}.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.panel h2,.panel h3{margin:0}.panel h2{font-size:24px}.panel h3{font-size:19px}
.section-note,.muted,.sub{color:var(--muted)}.section-note{font-size:14px}.sub{font-size:13px;margin-top:3px}
.table-wrap{overflow:auto}.table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e5ebf3;border-radius:11px;overflow:hidden}
.table th{background:#f2f5f9;text-align:left;color:#43516b;padding:13px;font-size:13px;white-space:nowrap}.table td{padding:14px 13px;border-top:1px solid #e8edf3;vertical-align:middle}.company-name{font-weight:800}
.status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:850}.status.active,.status.paid{background:#dcf7ea;color:#087a50}.status.overdue,.status.suspended{background:#ffe7e7;color:#c62828}.status.pending{background:#fff2d7;color:#a86305}.status.cancelled{background:#eef1f5;color:#6d7687}
.status-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:0 0 auto}.status-dot.normal{background:#16a66a}.status-dot.attention{background:#e3a008}.status-dot.inactive{background:#dc3333}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:750;color:#4d5c75}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;background:#fff}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #c9d9ff;border-color:#7aa7f8}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab,.filter{border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:9px;cursor:pointer;font-weight:700}.tab.active,.filter.active{background:#eaf1ff;border-color:#c9d9ff;color:#1755d1}
.switch-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #edf1f5}.switch-row:last-child{border-bottom:0}.switch{width:48px;height:27px;border:0;border-radius:999px;background:#c7d0de;position:relative;cursor:pointer;flex:0 0 auto}.switch:after{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.switch.on{background:#2563eb}.switch.on:after{left:24px}
.notice{border:1px solid #cfe0fa;background:#f1f6ff;border-radius:12px;padding:14px 16px;color:#254a80}.notice.warning{border-color:#f0d49b;background:#fff8e7;color:#80540c}.notice.success{border-color:#b8e7cd;background:#effbf4;color:#087a50}.notice.danger{border-color:#ffd1d1;background:#fff5f5;color:#a82020}
.link-box{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dfe7f1;background:#f8fafc;border-radius:12px;padding:13px;margin-top:10px}.link-box code{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#42526d}
.empty{padding:34px;text-align:center;color:var(--muted)}.divider{height:1px;background:#e8edf3;margin:18px 0}
.chart{height:230px;border:1px solid #e7ecf3;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff);display:flex;align-items:end;gap:10px;padding:18px 18px 28px}.bar{flex:1;min-height:8px;background:linear-gradient(180deg,#4b82f2,#205ed8);border-radius:8px 8px 3px 3px;position:relative}.bar span{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font-size:10px;color:#6d7890}
.demo-stage{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px}.demo-controls{position:sticky;top:20px;align-self:start}.demo-frame{border:1px solid #dce3ec;border-radius:18px;background:#eef2f7;padding:16px;min-height:650px}.demo-frame-inner{background:#fff;border-radius:14px;min-height:615px;overflow:hidden;box-shadow:0 12px 34px rgba(21,42,72,.1)}
.loyalty-page{min-height:100vh;background:#edf1f6;padding-bottom:34px}.loyalty-card{width:min(480px,100%);margin:auto;background:linear-gradient(#fff,#f5f6fa);min-height:100vh;overflow:hidden;box-shadow:0 20px 70px rgba(31,38,52,.14)}
.loyalty-hero{min-height:310px;padding:22px 20px 66px;color:#fff;position:relative;background:linear-gradient(145deg,var(--brand,#7d1328),#420814);background-size:cover;background-position:center}.loyalty-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,12,20,.12),rgba(8,12,20,.68));pointer-events:none}.hero-inner{position:relative;z-index:2;min-height:222px;display:flex;flex-direction:column}.card-brand-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;min-height:110px}.public-logo{width:210px;height:100px;object-fit:contain;object-position:left center;transform:translate(var(--logo-x,0),var(--logo-y,0)) scale(var(--logo-scale,1));transform-origin:left top}.public-brand-name{font-size:26px;font-weight:900;text-shadow:0 2px 9px rgba(0,0,0,.24)}
.vip-art{width:108px;height:126px;flex:0 0 auto;filter:drop-shadow(0 3px 4px #0005)}.hero-copy{margin-top:auto}.hero-greeting{font-size:30px;font-weight:850;margin-bottom:5px}.hero-sub{font-size:15px;opacity:.96}.public-content{padding:0 18px 34px}.points-panel{position:relative;z-index:4;margin-top:-34px;background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(22,32,51,.11);border:1px solid #e8ecf2}.points-number{font-size:38px;font-weight:900;color:var(--brand)}.points-label{font-size:15px;font-weight:850;color:var(--brand)}.progress-track{height:11px;border-radius:999px;background:#e9edf3;overflow:hidden;margin:16px 0 10px}.progress-fill{height:100%;border-radius:999px;background:var(--accent,#e7b64d)}.progress-msg{text-align:center;color:#536078;font-size:13px;font-weight:650}.rewards-title{font-size:22px;margin:27px 2px 12px}.reward{display:flex;align-items:center;gap:13px;border:1px solid #e5e9f0;border-radius:16px;padding:13px;margin-bottom:10px;background:#fff}.reward-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:#f0f3f7;color:var(--brand);font-size:22px}.reward strong{color:var(--brand)}

.coverage-shell{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:20px}.map-card{min-height:590px}.brazil-map{height:510px;display:grid;place-items:center;background:linear-gradient(180deg,#f8fbff,#eef5ff);border:1px solid #dce7f5;border-radius:16px;overflow:hidden}.brazil-map svg{width:100%;height:100%;max-width:650px}.br-state{fill:#cfe0f2;stroke:#fff;stroke-width:1.5;cursor:pointer;transition:fill .15s}.br-state:hover,.br-state:focus{fill:#8ab3eb;outline:none}.br-state.attended{fill:#1e5fd3}.br-state.selected{fill:#0b347d}.map-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;color:#5f6e86;font-size:13px}.legend-dot{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}.legend-dot.attended{background:#1e5fd3}.legend-dot.available{background:#cfe0f2}.state-list-item{padding:12px;border:1px solid #e2e8f0;border-radius:10px;margin-top:9px}.growth-periods{display:flex;gap:7px;flex-wrap:wrap}.growth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:2px 0 16px}.growth-summary>div{border:1px solid #e5eaf1;border-radius:11px;padding:13px 15px;background:#f9fbfe}.growth-summary span{display:block;color:#6b7892;font-size:12px;font-weight:700}.growth-summary strong{display:block;font-size:22px;margin-top:3px}.growth-chart-wrap{overflow-x:auto;border:1px solid #e5eaf1;border-radius:14px;background:#fff;padding:8px 4px 0}.growth-svg{display:block;width:100%;min-width:720px;height:auto}.growth-grid-line{stroke:#e8edf4;stroke-width:1}.growth-axis-text{font-size:11px;fill:#728097}.growth-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.growth-dot{fill:#fff;stroke:#2563eb;stroke-width:4}.service-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf1f5}.service-status:last-child{border-bottom:0}.service-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:8px}.service-dot.online{background:#17a36b}.service-dot.offline{background:#dc3545}.brand-preview{border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.18);max-width:340px;margin:auto}.brand-preview-hero{height:205px;background-size:cover;background-position:center;padding:18px;color:#fff;display:flex;align-items:flex-start}.brand-preview-logo{max-width:112px;max-height:74px;object-fit:contain;background:#fff;border-radius:12px;padding:6px}.billing-overdue{color:#c62828;font-weight:800}
.ai-launcher{position:fixed;right:22px;bottom:22px;width:52px;height:52px;border:0;border-radius:50%;background:linear-gradient(145deg,#2d71ef,#164ab5);color:#fff;font-size:21px;box-shadow:0 12px 30px rgba(21,76,181,.35);cursor:pointer;z-index:40}.ai-panel{position:fixed;right:20px;bottom:20px;width:min(360px,calc(100vw - 28px));height:min(440px,calc(100vh - 40px));background:#fff;border:1px solid #dce4ef;border-radius:20px;box-shadow:0 24px 70px rgba(9,31,62,.24);z-index:50;display:flex;flex-direction:column;overflow:hidden;transition:width .2s ease,height .2s ease}.ai-panel.expanded{width:min(430px,calc(100vw - 28px));height:calc(100vh - 40px)}.ai-head{background:#0e2b4f;color:#fff;padding:14px 15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.ai-head .btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.25);color:#fff}.ai-messages{flex:1;overflow:auto;padding:18px;background:#f7f9fc}.bubble{max-width:88%;padding:11px 13px;border-radius:14px;margin-bottom:10px;line-height:1.42;font-size:14px;white-space:pre-wrap}.bubble.user{margin-left:auto;background:#2563eb;color:#fff;border-bottom-right-radius:4px}.bubble.assistant{background:#fff;border:1px solid #e1e7ef;border-bottom-left-radius:4px}.ai-form{display:flex;gap:8px;padding:13px;border-top:1px solid #e1e7ef}.ai-form input{flex:1;border:1px solid #d4deeb;border-radius:10px;padding:11px}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,#edf4ff,#f7f9fc 45%,#eef3f8)}.auth-card{width:min(440px,100%);background:#fff;border:1px solid #dfe7f1;border-radius:22px;padding:32px;box-shadow:0 24px 70px rgba(20,44,75,.14)}.auth-card h1{font-size:30px;margin:0 0 6px}.auth-form{display:grid;gap:16px;margin:24px 0 12px}
.toast{position:fixed;right:22px;bottom:22px;background:#102a4d;color:#fff;padding:14px 18px;border-radius:11px;box-shadow:0 14px 36px rgba(0,0,0,.2);z-index:90}
@media(max-width:1100px){.shell{grid-template-columns:220px 1fr}.main{padding:22px}.grid-kpis{grid-template-columns:repeat(2,1fr)}.demo-stage{grid-template-columns:1fr}.demo-controls{position:static}.three-col{grid-template-columns:1fr 1fr}.coverage-shell{grid-template-columns:1fr}.map-card{min-height:auto}}
@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:relative}.nav{display:grid;grid-template-columns:repeat(2,1fr)}.profile{display:none}.main{padding:18px 14px 40px}.topbar,.panel-header{align-items:flex-start;flex-direction:column}.title h1{font-size:31px}.grid-kpis,.two-col,.three-col,.form-grid,.growth-summary{grid-template-columns:1fr}.field.full{grid-column:auto}.filters{width:100%;overflow:auto;flex-wrap:nowrap}.demo-frame{padding:7px}.loyalty-card{box-shadow:none}.ai-panel{right:14px;bottom:14px}.link-box{align-items:flex-start;flex-direction:column}.brazil-map{height:420px}.vip-art{width:92px;height:111px}}

/* Trocaí: mesmas estruturas, nova paleta da plataforma. */
:root{--primary:#087f5b;--blue:#087f5b;--navy:#064e3b}
.trocai-brand{width:220px;max-width:100%;aspect-ratio:854/156;background:transparent}
.trocai-brand img{display:block;width:100%;height:auto}
.operator-name{display:block;max-width:165px;overflow-wrap:anywhere;font-size:13px}.profile .btn{margin-top:12px}
.sidebar{background:linear-gradient(170deg,#043c2e,#075b43)}
.btn.primary{background:#087f5b;border-color:#087f5b;color:white}.nav button.active{background:#0b795a;color:white}
.auth-shell{background:linear-gradient(135deg,#063e30,#0b8967)}
.filter-bar{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.filter-bar input,.filter-bar select{padding:10px;border:1px solid #cbd8d3;border-radius:8px;min-width:140px}
.field textarea{width:100%;min-height:100px;padding:12px;border:1px solid #cbd8d3;border-radius:8px;font:inherit}
.status-note{padding:12px;border-radius:8px;background:#e7f5ee;margin:12px 0}.crm-detail{margin-top:20px}.check-row{display:flex;gap:10px;align-items:center;padding:8px 0}
@media(max-width:700px){.filter-bar>*{width:100%}.row-actions{flex-wrap:wrap}.table-wrap{overflow-x:auto}.field input,.field select{min-width:0;max-width:100%}}

:root{--navy2:#075b43;--blue2:#066349;--bg:#f4f8f6;--text:#15372d;--muted:#62766e}
.nav button:hover,.nav a:hover{background:#0a6b50}.avatar{background:#118b68}.badge:not(.gold){background:#e3f5ed;color:#086749}.switch.on{background:#087f5b}.tab.active,.filter.active{background:#e3f5ed;border-color:#a9dbc6;color:#075b43}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #bde8d5;border-color:#0a8e65}.bar{background:linear-gradient(180deg,#31b58b,#087f5b)}.notice:not(.warning):not(.danger):not(.success){background:#eef9f3;border-color:#c1e4d2;color:#195a42}.brand p,.profile small,.nav button{color:#d2e7df}.btn:disabled{opacity:.55;cursor:not-allowed}.profile .btn{font-size:13px}.table th,.field label{font-size:14px}
.demo-controls,.demo-frame,.demo-frame-inner,.panel{min-width:0}.table td>.sub{display:block}
@media(max-width:1100px){.demo-stage{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.profile{display:block;padding:14px 20px}.profile-row{display:none}.profile .btn{margin:0}.nav button{overflow-wrap:anywhere}.demo-frame-inner>.shell{min-width:0}.table-wrap{max-width:100%}}

.growth-line,.growth-dot{stroke:#087f5b}.br-state{fill:#d1e8dd}.br-state.attended,.legend-dot.attended{fill:#087f5b;background:#087f5b}.br-state.selected{fill:#064e3b}.br-state:hover,.br-state:focus{fill:#51b995}.legend-dot.available{background:#d1e8dd}.brazil-map{background:linear-gradient(180deg,#f5faf7,#e8f4ed)}

/* Trocaí v4.4 — navegação, marca global e novos fluxos */
.nav button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.nav-item-main{display:flex;align-items:center;gap:11px;min-width:0}.nav-item-main svg{flex:0 0 auto;opacity:.92}.nav-item-main span{min-width:0}
.nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.15);font-size:11px;font-weight:850;color:#fff}
/* A referência original possui margens transparentes/visuais assimétricas; o recorte único abaixo é usado por login, Master e painéis. */



/* Cartão: fotografia restrita ao topo + área inferior sólida */
.loyalty-card{background:var(--content-bg,#f5f6fa)}
.loyalty-hero{overflow:hidden;background:linear-gradient(145deg,var(--brand,#087f5b),#043c2e)}
.loyalty-hero:after{display:none}
.hero-background{position:absolute;inset:-8%;z-index:0;background-size:cover;background-position:center;transform-origin:center;will-change:transform}
.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(4,23,18,.12),rgba(4,23,18,.68));pointer-events:none}
.public-content{background:var(--content-bg,#f5f6fa);color:var(--content-text,#17362d);min-height:360px}
.rewards-title,.card-expiry,.trocai-signature{color:var(--content-text,#17362d)}
.card-expiry{font-size:12px;line-height:1.45;opacity:.78;margin:16px 3px 8px}
.trocai-signature{text-align:center;font-size:11px;letter-spacing:.01em;opacity:.68;margin:24px 0 2px}
.brand-preview .loyalty-card{min-height:0}.brand-preview .loyalty-page{min-height:0;padding-bottom:0}.brand-preview .loyalty-hero{min-height:250px}.brand-preview .hero-inner{min-height:166px}.brand-preview .public-content{min-height:320px}

/* Editor visual do cartão */
.branding-workspace{align-items:start}.branding-group{border:1px solid #dce9e3;background:#fbfdfc;border-radius:14px;padding:16px;margin-bottom:14px}.branding-group h3{margin:0 0 12px}.branding-group .field{margin-top:12px}.branding-group input[type="range"]{padding:0;border:0;accent-color:#087f5b}.branding-group input[type="file"]{padding:9px;background:#fff}
.color-palette{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.color-palette button{width:38px;height:38px;border:2px solid #d5dfdb;border-radius:11px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.color-palette button.selected{outline:3px solid #7fe8b8;border-color:#087f5b}
.brand-preview{position:sticky;top:18px;max-width:420px;border:1px solid #dce9e3}

/* QR de autocadastro */
.qr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-top:16px}.qr-card{display:flex;flex-direction:column;align-items:center;gap:10px;border:1px solid #dce9e3;background:#fbfdfc;border-radius:16px;padding:18px;text-align:center}.qr-card img{width:min(220px,100%);aspect-ratio:1;border-radius:12px;background:#fff;padding:8px}.qr-card strong{font-size:17px}.qr-card code{width:100%;font-size:11px;color:#597068;overflow-wrap:anywhere}

/* Autocadastro público */
.public-register-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#062e22,#0f8f63)}.public-register-card{width:min(520px,100%);background:#fff;border-radius:24px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.24)}.public-register-card .trocai-brand{margin:0 auto 20px}.merchant-register-brand{min-height:88px;display:grid;place-items:center;margin-bottom:12px}.merchant-register-brand img{max-width:220px;max-height:88px;object-fit:contain}.merchant-register-brand strong{font-size:28px;color:var(--register-brand,#087f5b)}.public-register-card h1{font-size:28px;line-height:1.1;margin:10px 0}.public-cta{width:100%;margin-top:6px;background:var(--register-brand,#087f5b)!important;border-color:var(--register-brand,#087f5b)!important}.powered{text-align:center;color:#667970;font-size:11px;margin-top:22px}.public-register-card .check-row{align-items:flex-start;font-size:13px;line-height:1.4}

/* Central de suporte */
.support-layout{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);gap:18px;align-items:start}.support-list,.support-thread{margin-bottom:0}.support-ticket{width:100%;display:flex;flex-direction:column;gap:5px;text-align:left;border:1px solid #e0e8e4;background:#fff;border-radius:12px;padding:13px;margin:8px 0;cursor:pointer;color:inherit}.support-ticket:hover,.support-ticket.active{border-color:#79c7a9;background:#effaf5}.support-ticket span{font-size:13px}.support-ticket small{color:#687c73}.support-conversation{display:flex;flex-direction:column;gap:10px;max-height:440px;overflow:auto;background:#f7faf8;border:1px solid #e1e9e5;border-radius:14px;padding:14px;margin:14px 0}.support-message{max-width:86%;padding:11px 13px;border-radius:13px;background:#fff;border:1px solid #dfe7e3}.support-message p{white-space:pre-wrap;margin:5px 0}.support-message small{color:#708078}.support-message.admin{align-self:flex-end;background:#e8f7f0;border-color:#bfe3d2}.support-message.internal{align-self:stretch;max-width:100%;background:#fff8e7;border-color:#f0d49b}.support-merchant-ticket{border:1px solid #e1e9e5;border-radius:12px;padding:12px 14px;margin:10px 0;background:#fff}.support-merchant-ticket>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.inline-reply{display:flex;gap:10px;align-items:flex-end}.inline-reply textarea{flex:1;min-height:76px;border:1px solid #cbd8d3;border-radius:10px;padding:10px}

@media(max-width:900px){.support-layout,.branding-workspace{grid-template-columns:1fr}.brand-preview{position:static}.qr-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.qr-grid{grid-template-columns:1fr}.public-register-card{padding:22px 18px}.inline-reply{flex-direction:column;align-items:stretch}}
