:root{
  --ink:#0b2148;--muted:#6b7894;--line:#e0e7f2;--line-strong:#cdd8e9;--panel:#fff;--bg:#f5f8fd;
  --dark:#041c42;--dark-2:#082e62;--accent:#0bc8a5;--accent-dark:#166cf5;--accent-soft:#eaf4ff;
  --purple:#8d3ee4;--cyan:#0eaad9;--danger:#c84e5b;--danger-soft:#fff0f1;--warning:#d48a22;--warning-soft:#fff7e8;--ok:#0faf82;
  --shadow:0 18px 50px rgba(10,32,78,.09);--shadow-soft:0 8px 24px rgba(10,32,78,.07);
  --radius:20px;--radius-sm:14px;--sidebar:254px;
}
*{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit} [hidden]{display:none!important}

/* auth */
.brand-logo{width:48px;height:48px;display:block;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,35,30,.18))}.brand-logo.small{width:42px;height:42px}.brand .brand-logo{flex:0 0 auto}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(460px,1.12fr) minmax(430px,.88fr);background:#fff}.auth-copy{position:relative;padding:44px 54px 32px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:radial-gradient(circle at 75% 28%,rgba(23,184,144,.22),transparent 28%),radial-gradient(circle at 5% 90%,rgba(23,184,144,.12),transparent 25%),linear-gradient(145deg,#061416 0%,#0a2425 58%,#0b3030 100%);color:white}.auth-copy:after{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-240px;top:120px;box-shadow:0 0 0 64px rgba(255,255,255,.018),0 0 0 128px rgba(255,255,255,.012)}.logo-lockup{display:flex;align-items:center;gap:13px;font-size:17px;letter-spacing:-.01em;z-index:1}.mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#1dd6a5,#14ae87);display:grid;place-items:center;color:#052a23;font-weight:850;letter-spacing:-.06em;box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}.mark.small{width:42px;height:42px;border-radius:13px}.auth-copy-inner{max-width:650px;z-index:1}.eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.14em;color:#789093}.eyebrow.light{color:#95c9bb}.eyebrow.accent{color:var(--accent-dark)}.auth-copy h1{font-size:clamp(42px,4.7vw,72px);line-height:.98;letter-spacing:-.055em;max-width:720px;margin:18px 0 24px}.auth-copy p{font-size:18px;line-height:1.65;color:#bed0cd;max-width:640px;margin:0}.feature-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.feature-row span{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);padding:9px 13px;border-radius:999px;color:#d7e6e3;font-size:13px}.feature-row b{color:#34ddb0}.auth-footnote{color:#789b94;z-index:1}.auth-card-wrap{display:grid;place-items:center;padding:50px;background:linear-gradient(180deg,#fff,#f8fbfa)}.auth-card{width:min(450px,100%);padding:38px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(9,38,38,.09)}.auth-card h2{font-size:31px;letter-spacing:-.035em;margin:10px 0 8px}.muted{color:var(--muted)}.auth-card p{line-height:1.55;margin:0 0 28px}

/* forms */
.stack{display:flex;flex-direction:column;gap:18px}.stack.compact{gap:12px;margin-top:14px}.gap-lg{gap:20px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:750;color:#395054}label small,.panel small{font-weight:500;color:var(--muted);line-height:1.45}input,select,textarea{width:100%;border:1px solid var(--line-strong);background:#fbfdfc;color:var(--ink);border-radius:12px;padding:12px 13px;outline:none;transition:.18s border,.18s box-shadow,.18s background}textarea{resize:vertical;line-height:1.55}input:focus,select:focus,textarea:focus{border-color:#64cdb4;box-shadow:0 0 0 3px rgba(23,184,144,.12);background:#fff}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.button{border:0;border-radius:12px;padding:11px 16px;font-weight:800;transition:.18s transform,.18s box-shadow,.18s background;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:linear-gradient(135deg,#16b88e,#0e9d79);color:white;box-shadow:0 9px 20px rgba(16,165,126,.2)}.button.primary:hover:not(:disabled){box-shadow:0 12px 26px rgba(16,165,126,.3)}.button.secondary{background:#f7faf9;color:#254347;border:1px solid var(--line-strong)}.button.secondary:hover:not(:disabled){background:#fff;border-color:#b7ccca}.button.light{background:white;color:#0c3832}.button.glass{background:rgba(255,255,255,.08);color:white;border:1px solid rgba(255,255,255,.15)}.button.large{padding:14px 18px;font-size:14px}.button.full{width:100%}.text-button{border:0;background:transparent;padding:4px 0;color:var(--accent-dark);font-weight:800;font-size:12px}.icon-button{width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:white;display:grid;place-items:center;color:#345054}.icon-button.ghost{background:transparent;border-color:rgba(255,255,255,.08);color:#a5bbb7}.button-row,.page-actions,.hero-actions,.update-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* shell */
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#071619,#092022);color:white;padding:24px 17px 18px;display:flex;flex-direction:column;z-index:30;box-shadow:14px 0 38px rgba(0,20,20,.06)}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.brand strong{display:block;font-size:15px}.brand small{display:block;color:#789b96;margin-top:3px;font-size:11px}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-list button{position:relative;width:100%;border:0;border-radius:12px;background:transparent;color:#8da9a5;display:flex;align-items:center;gap:11px;padding:11px 12px;text-align:left;font-weight:700}.nav-list button:hover{background:rgba(255,255,255,.045);color:#d7e6e3}.nav-list button.active{background:linear-gradient(90deg,rgba(23,184,144,.17),rgba(23,184,144,.07));color:#eafff9;box-shadow:inset 2px 0 #28ca9f}.nav-icon{width:21px;height:21px;display:grid;place-items:center;font-size:17px;color:#5fc9ae}.nav-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#1dbf92;color:#062a23;font-style:normal;font-size:10px;font-weight:900;display:grid;place-items:center}.alert-dot{position:absolute;right:14px;width:7px;height:7px;background:#ff7e87;border-radius:50%;box-shadow:0 0 0 3px rgba(255,126,135,.12)}.sidebar-card{margin-top:auto;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:12px;background:rgba(255,255,255,.035)}.mini-status{display:flex;align-items:center;gap:10px}.status-dot{width:9px;height:9px;border-radius:50%;background:#e2a43a;box-shadow:0 0 0 4px rgba(226,164,58,.1)}.status-dot.ok{background:#22c99b;box-shadow:0 0 0 4px rgba(34,201,155,.1)}.status-dot.bad{background:#ef6b75;box-shadow:0 0 0 4px rgba(239,107,117,.1)}.mini-status strong{font-size:11px;display:block}.mini-status small{font-size:10px;color:#789b96;display:block;margin-top:2px}.sidebar-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.06);margin-top:14px;padding:14px 5px 0}.sidebar-user{max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#91aaa6;font-size:11px}.workspace{margin-left:var(--sidebar);min-height:100vh}.topbar{height:82px;position:sticky;top:0;z-index:20;background:rgba(243,247,246,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(209,224,222,.72);display:flex;align-items:center;padding:0 34px;gap:14px}.topbar-copy h2{font-size:20px;margin:2px 0 0;letter-spacing:-.025em}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.user-chip{width:37px;height:37px;border-radius:50%;background:linear-gradient(145deg,#daeae7,#f7fbfa);border:1px solid var(--line-strong);display:grid;place-items:center;font-size:12px;font-weight:850;color:#1b4640;text-transform:uppercase}.status-chip{display:flex;align-items:center;gap:7px;border-radius:999px;padding:7px 10px;border:1px solid var(--line);background:white;font-size:11px;font-weight:800}.status-chip span{width:7px;height:7px;border-radius:50%;background:#a7b5b4}.status-chip.ok{color:#14785f;background:#effbf7;border-color:#c9eee3}.status-chip.ok span{background:#1cbb8d}.status-chip.bad{color:#a84450;background:#fff4f5;border-color:#f3d3d6}.status-chip.bad span{background:#d65a66}.mobile-menu{display:none}.content{padding:30px 34px 44px;max-width:1600px;margin:0 auto}.page{display:none;animation:fadeIn .18s ease}.page.active{display:block}@keyframes fadeIn{from{opacity:.2;transform:translateY(4px)}to{opacity:1;transform:none}}

/* common cards */
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow-soft)}.panel h3{font-size:18px;letter-spacing:-.025em;margin:5px 0 7px}.panel p{line-height:1.55}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:2px 0 23px}.page-intro h1{font-size:34px;letter-spacing:-.045em;margin:5px 0 7px}.page-intro p{margin:0;color:var(--muted);max-width:760px;line-height:1.55}.tag{font-size:10px;font-weight:850;padding:4px 7px;border-radius:999px;background:#eef5f3;color:#50716d}.section-title{display:flex;gap:12px;align-items:flex-start}.section-title h3{margin:2px 0 4px}.section-title p{margin:0}.section-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:var(--accent-soft);color:var(--accent-dark);display:grid;place-items:center;font-weight:900}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid.wide-left{grid-template-columns:minmax(0,1.25fr) minmax(350px,.75fr)}.two-columns,.dashboard-grid,.system-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:20px}.system-grid{grid-template-columns:1fr 1fr;margin-top:20px}

/* dashboard */
.hero-card{min-height:286px;border-radius:26px;padding:34px 38px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;background:radial-gradient(circle at 85% 0%,rgba(35,227,176,.25),transparent 28%),linear-gradient(122deg,#071719 0%,#0b2929 65%,#0b3531 100%);color:white;box-shadow:0 26px 65px rgba(5,42,38,.16)}.hero-card:before{content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(255,255,255,.06);border-radius:50%;right:-115px;top:-150px;box-shadow:0 0 0 55px rgba(255,255,255,.015),0 0 0 110px rgba(255,255,255,.012)}.hero-copy{z-index:1;max-width:670px}.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-size:11px;font-weight:800;color:#cae0dc}.live-dot{width:7px;height:7px;border-radius:50%;background:#27dba8;box-shadow:0 0 0 5px rgba(39,219,168,.1)}.hero-card h1{font-size:42px;letter-spacing:-.05em;line-height:1.05;margin:18px 0 13px}.hero-card p{color:#a9c3be;line-height:1.6;max-width:590px;margin:0 0 23px}.hero-orbit{width:220px;height:220px;position:relative;z-index:1;display:grid;place-items:center}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%}.hero-orbit:before{inset:8px}.hero-orbit:after{inset:28px;border-style:dashed}.capacity-ring{width:142px;height:142px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle,rgba(25,81,70,.95),rgba(10,42,39,.94));border:1px solid rgba(102,234,198,.25);box-shadow:0 0 50px rgba(24,199,154,.16)}.capacity-ring strong{font-size:42px;line-height:1;font-weight:850;letter-spacing:-.06em}.capacity-ring span{color:#9fc5ba;font-size:10px;margin-top:7px}.orbit-label{position:absolute;width:38px;height:38px;border-radius:50%;background:#143a37;border:1px solid rgba(255,255,255,.11);display:grid;place-items:center;font-size:9px;font-weight:800;color:#8fd8c6}.orbit-label.top{right:22px;top:18px}.orbit-label.bottom{left:17px;bottom:30px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0}.metric{min-height:135px;background:white;border:1px solid var(--line);border-radius:18px;padding:19px 20px;box-shadow:var(--shadow-soft)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#667d7f;font-size:11px;font-weight:750}.metric-top i{font-style:normal;font-size:9px;text-transform:uppercase;letter-spacing:.08em;border-radius:999px;background:#edf5f3;padding:4px 6px}.metric strong{display:block;font-size:36px;letter-spacing:-.055em;margin:11px 0 4px}.metric small{color:#8a9b9d}.dashboard-grid{align-items:stretch}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:18px}.service-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e2ebea;border-radius:14px;background:#fbfdfc}.service-card .service-dot{width:9px;height:9px;border-radius:50%;background:#adbdbc;box-shadow:0 0 0 4px rgba(173,189,188,.12)}.service-card.ok .service-dot{background:#19b888;box-shadow:0 0 0 4px rgba(25,184,136,.1)}.service-card.bad .service-dot{background:#d85a67;box-shadow:0 0 0 4px rgba(216,90,103,.1)}.service-card strong{font-size:12px;display:block}.service-card small{font-size:10px;color:#86999a;display:block;margin-top:2px}.skeleton{height:57px;background:linear-gradient(90deg,#f5f8f7 25%,#eef4f2 37%,#f5f8f7 63%);background-size:400% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:100% 0}100%{background-position:0 0}}.setup-panel .readiness{margin:16px 0 18px}.readiness{display:flex;flex-direction:column;gap:8px}.ready-line{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:12px;background:#f8faf9;color:#758688;font-size:12px;font-weight:700}.ready-line span{width:20px;height:20px;border-radius:50%;background:#edf1f0;display:grid;place-items:center;font-size:10px}.ready-line.ok{color:#237561;background:#eff9f6}.ready-line.ok span{background:#d8f3ea;color:#118464}

/* agent */
.capacity-note{display:flex;align-items:baseline;gap:9px;border-radius:14px;padding:15px;background:linear-gradient(135deg,#eefaf6,#f7fbfa);border:1px solid #d7eee7}.capacity-note strong{font-size:31px;letter-spacing:-.05em;color:#0e8e6e}.capacity-note span{font-size:11px;color:#6e8481}.advanced{border-top:1px solid var(--line);padding-top:13px}.advanced summary{font-size:11px;font-weight:800;color:#54716d;cursor:pointer}.switch-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;border-radius:14px;background:#f8faf9;padding:14px}.switch-row span{display:flex;flex-direction:column;gap:3px}.switch-row.prominent{background:transparent;padding:0}.switch{appearance:none;width:46px;height:26px;border:0;border-radius:999px;background:#d7e1df;position:relative;padding:0;flex:0 0 46px;transition:.2s}.switch:before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:.2s}.switch:checked{background:#17b890}.switch:checked:before{transform:translateX(20px)}.activation-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#fff,#f3faf8)}

/* library */
.media-panel{padding:25px}.premium-upload{display:grid;grid-template-columns:1fr 1.25fr .75fr auto;align-items:end;gap:12px;padding:17px;border-radius:16px;background:#f6faf9;border:1px solid var(--line)}.file-field input{display:none}.file-field span{height:43px;border:1px dashed #a8bfbb;border-radius:12px;display:flex;align-items:center;justify-content:center;background:white;color:#56716d;font-size:11px}.library-head{display:flex;align-items:center;justify-content:space-between;margin:25px 2px 12px}.library-head h3{margin:0}.library-head p{margin:4px 0 0}.media-list{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.media-item{display:grid;grid-template-columns:42px 1fr 30px;align-items:center;gap:11px;border:1px solid var(--line);border-radius:14px;padding:12px;background:white}.media-symbol{width:42px;height:42px;border-radius:12px;background:#edf7f4;color:#237a65;display:grid;place-items:center;font-size:10px;font-weight:900}.media-item strong{font-size:12px;display:block}.media-item small{font-size:10px;color:#819393;display:block;margin-top:3px}.media-item button{border:0;background:#f4f7f6;color:#71817f;width:29px;height:29px;border-radius:9px;font-size:18px}.empty{padding:24px;text-align:center;color:#899a9b;font-size:12px}

/* integrations */
.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.integration-card{display:flex;flex-direction:column;gap:16px}.integration-card.featured{background:linear-gradient(180deg,#fff,#fbfdfc)}.integration-card-head{display:flex;align-items:center;gap:12px}.integration-card-head>div:nth-child(2){min-width:0}.integration-card-head h3{margin:0}.integration-card-head p{margin:3px 0 0;font-size:11px;color:var(--muted)}.integration-card-head small{color:#7d9191}.integration-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-weight:900;font-size:11px}.integration-icon.openai{background:#101d1e;color:white}.integration-icon.evo{background:#e5f8f2;color:#0b8d6e}.connection-pill{margin-left:auto;padding:5px 8px;border-radius:999px;background:#f1f5f4;color:#748785;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.connection-pill.ok{background:#e8f8f2;color:#127a5f}.connection-pill.bad{background:#fff0f1;color:#b84b55}.qr-card{text-align:center;align-items:center;justify-content:center}.qr-placeholder{width:190px;height:190px;border:1px dashed #b5c7c5;border-radius:18px;display:grid;place-content:center;padding:18px;background:#fafcfb;color:#8ba09d}.qr-placeholder span{font-size:50px;color:#66827d}.qr-placeholder p{font-size:10px}.qr-card img{width:190px;height:190px;object-fit:contain;border-radius:14px;background:white;padding:8px;border:1px solid var(--line)}

.evolution-danger-zone{margin-top:2px;padding:14px;border:1px solid #f0d7da;border-radius:15px;background:linear-gradient(180deg,#fffafb,#fff5f6);display:flex;align-items:center;justify-content:space-between;gap:14px}.evolution-danger-zone>div{min-width:0;display:flex;flex-direction:column;gap:4px}.evolution-danger-zone strong{font-size:11px;color:#843d46}.evolution-danger-zone small{font-size:9px;line-height:1.45;color:#927277}.danger-eyebrow{color:#bc4d59!important}.evolution-danger-zone .button{flex:0 0 auto;white-space:nowrap}

/* conversations */
.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.search-box{display:flex;align-items:center;gap:8px;flex:1;max-width:520px;background:white;border:1px solid var(--line);border-radius:12px;padding:0 12px}.search-box span{color:#7e9290}.search-box input{border:0;background:transparent;box-shadow:none;padding:10px 0}.segmented{display:flex;padding:3px;border:1px solid var(--line);background:white;border-radius:11px}.segmented button{border:0;background:transparent;border-radius:8px;padding:7px 12px;font-size:10px;font-weight:800;color:#778a88}.segmented button.active{background:#eaf7f3;color:#17765f}.chat-shell{height:calc(100vh - 235px);min-height:520px;display:grid;grid-template-columns:330px 1fr;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white;box-shadow:var(--shadow-soft)}.conversation-list{overflow:auto;border-right:1px solid var(--line);background:#fbfdfc}.conversation{padding:15px;border-bottom:1px solid #e8efee;cursor:pointer;transition:.15s background}.conversation:hover{background:#f2f8f6}.conversation.active{background:#eaf7f3;box-shadow:inset 3px 0 var(--accent)}.conversation strong{display:block;font-size:12px}.conversation p{margin:5px 0;color:#718582;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation small{color:#94a2a1;font-size:9px}.chat-view{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff,#fafcfc)}.empty-state{margin:auto;text-align:center;color:#849795}.empty-state>span{width:58px;height:58px;border-radius:18px;background:#edf6f3;display:grid;place-items:center;margin:0 auto 13px;font-size:30px}.empty-state h3{margin:0 0 5px;color:#425d59}.empty-state p{margin:0;font-size:11px}.chat-head{height:67px;flex:0 0 67px;padding:11px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.chat-head strong{display:block;font-size:13px}.chat-head small{color:#7d8f8d}.messages{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px;background:radial-gradient(circle at 20% 0,#f4faf8,transparent 30%),#f8fbfa}.bubble{width:max-content;max-width:min(78%,650px);padding:10px 12px;border-radius:14px;margin:7px 0;font-size:12px;line-height:1.5;white-space:pre-wrap;box-shadow:0 3px 8px rgba(20,52,50,.04)}.bubble.in{background:white;border:1px solid var(--line);border-bottom-left-radius:4px}.bubble.out{margin-left:auto;background:#dff5ed;color:#163f36;border:1px solid #cbeadf;border-bottom-right-radius:4px}.bubble small{display:block;font-size:8px;color:#829492;margin-top:5px}.composer{padding:12px;border-top:1px solid var(--line);display:flex;gap:9px;background:white}.composer textarea{min-height:43px;max-height:110px;resize:none}.composer .button{flex:0 0 auto}

/* system */
.system-health-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.health-card{background:white;border:1px solid var(--line);border-radius:16px;padding:15px;display:flex;align-items:center;gap:11px}.health-icon{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:#f1f5f4;color:#a0b1af}.health-card.ok .health-icon{background:#e6f8f2;color:#18a97f}.health-card.bad .health-icon{background:#fff0f1;color:#d25a65}.health-card small{display:block;color:#7f9290;font-size:9px;margin-bottom:3px}.health-card strong{font-size:11px}.resource-block{margin-top:19px}.resource-block>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:11px}.progress-track{height:8px;border-radius:999px;background:#edf2f1;overflow:hidden;margin-top:8px}.progress-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#12ad85,#24c59b);border-radius:inherit;transition:.3s width}.resource-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.resource-stats>div,.queue-visual>div{border-radius:13px;background:#f6f9f8;padding:13px;text-align:center}.resource-stats strong,.queue-visual strong{display:block;font-size:24px;letter-spacing:-.04em}.resource-stats small,.queue-visual span{font-size:9px;color:#829390}.queue-visual{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:21px 0 14px}.action-list{display:flex;flex-direction:column;gap:9px}.action-button{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;border:1px solid var(--line);border-radius:13px;background:#fafcfb;padding:11px 13px}.action-button:hover{border-color:#bcd3cf;background:white}.action-button span{font-size:11px;font-weight:850}.action-button small{font-size:9px;color:#80918f;margin-top:3px}.action-button i{grid-row:1/3;grid-column:2;align-self:center;font-style:normal;color:#60a895}.maintenance-status{border-radius:12px;padding:10px 12px;background:#f4f7f6;color:#728482;font-size:10px}.update-panel{margin-top:20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}.update-panel h3{margin:5px 0}.update-panel p{margin:0;max-width:760px}.update-panel>small{grid-column:1/3;color:#7d8f8d}.toast{position:fixed;top:20px;right:20px;z-index:1000;max-width:420px;background:#092622;color:white;border-radius:13px;padding:12px 15px;box-shadow:0 18px 45px rgba(5,35,32,.22);font-size:12px;font-weight:700}.toast.error{background:#8f3540}

/* premium agent studio */
.agent-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:20px;align-items:start}.agent-side-stack{gap:20px}.agent-main-card{position:sticky;top:92px}.config-card{overflow:hidden}.highlight-card{background:linear-gradient(145deg,#ffffff,#f0faf7);border-color:#cfe9e1}.field-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-select{font-weight:700;background:#fff}.voice-studio{background:linear-gradient(180deg,#fff 0%,#fbfefd 100%)}.range-row{display:grid;grid-template-columns:1fr 68px;gap:13px;align-items:center}.range-row input[type=range]{padding:0;border:0;background:transparent;box-shadow:none;accent-color:var(--accent)}.range-row output{padding:9px 10px;border-radius:11px;background:#edf8f4;border:1px solid #d5ece4;text-align:center;font-weight:850;color:#11785f;font-size:12px}.voice-preview-box{border-radius:16px;padding:14px;background:#f5f9f8;border:1px solid var(--line)}.voice-preview-actions{display:flex;align-items:center;gap:12px;margin-top:11px}.voice-preview-actions audio{height:38px;min-width:240px;flex:1}.section-icon{font-size:11px;font-weight:900}.password-rule,.setup-locked{border-radius:12px;padding:11px 12px;background:#eef8f5;color:#55716c;font-size:11px;line-height:1.45}.password-rule span{color:#0e9270;font-weight:900;margin-right:5px}.setup-locked{background:#fff7e8;color:#795d35;border:1px solid #f0dfb8}.auth-card input[readonly]{background:#f2f6f5;color:#59706d;cursor:not-allowed}.button.danger-soft{background:var(--danger-soft);color:#a83c49;border:1px solid #f3d3d7}.button.danger-soft:hover:not(:disabled){background:#ffe6e8;border-color:#efc2c8}.conversation{position:relative;padding-right:42px}.conversation-delete{position:absolute;right:10px;top:10px;width:25px;height:25px;border:0;border-radius:8px;background:transparent;color:#9aacab;font-size:17px;line-height:1;opacity:0;transition:.15s}.conversation:hover .conversation-delete,.conversation.active .conversation-delete{opacity:1}.conversation-delete:hover{background:#ffecee;color:#b6404c}.chat-head-actions{display:flex;align-items:center;gap:8px}.chat-head-actions .button{padding:8px 11px;font-size:10px}.page-actions .danger-soft{font-size:11px}

.model-refresh { margin-top: 8px; align-self: flex-start; font-size: 12px; }
.tag.subtle { margin-left: 6px; opacity: .78; font-size: 10px; vertical-align: middle; }

/* workspaces + human rhythm */
.workspace-switcher{margin:0 2px 18px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035)}
.workspace-switcher>span{display:block;color:#648c86;font-size:8px;font-weight:900;letter-spacing:.13em;margin:0 0 7px 3px}.workspace-select-wrap{display:flex;align-items:center;gap:8px;padding:0 9px;border-radius:11px;background:#0d2b2a;border:1px solid rgba(54,213,168,.15)}.workspace-select-wrap i{font-style:normal;color:#35cea3;font-size:12px}.workspace-select-wrap select{min-width:0;width:100%;border:0;box-shadow:none;background:transparent;color:#e9fbf6;padding:9px 2px;font-size:11px;font-weight:800}.workspace-select-wrap select option{color:#173d37;background:white}.workspace-pill{max-width:190px;padding:7px 11px;border:1px solid #d1e5df;border-radius:999px;background:rgba(255,255,255,.82);color:#24594f;font-size:10px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timing-card{background:linear-gradient(180deg,#fff,#fbfefd)}.timing-callout{display:flex;gap:9px;align-items:flex-start;padding:13px;border:1px solid #cfe9e1;border-radius:14px;background:#effaf6}.timing-callout strong{flex:0 0 auto;font-size:10px;color:#0c7c60}.timing-callout span{font-size:10px;line-height:1.45;color:#55736d}.simulation-grid{display:flex;flex-direction:column;gap:9px}.simulation-row{display:grid;grid-template-columns:minmax(0,1fr) auto 82px;gap:14px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:#fafcfb}.simulation-row strong{display:block;font-size:11px}.simulation-row small{display:block;margin-top:3px;color:#819391;font-size:9px}.mini-time{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;margin:0!important}.mini-time input{padding:8px 7px;text-align:center}.mini-time span{font-size:10px;color:#76908b;font-weight:800}
.whatsapp-connected{width:100%;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.connected-check{width:74px;height:74px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#1bc899,#0cab80);color:white;font-size:36px;font-weight:900;box-shadow:0 16px 34px rgba(19,181,138,.22);margin-bottom:18px}.whatsapp-connected h3{font-size:23px;margin:6px 0 5px;letter-spacing:-.03em}.whatsapp-connected p{max-width:310px;margin:0 0 17px;color:var(--muted);font-size:11px;line-height:1.55}
.workspace-explainer{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:14px;margin-bottom:18px;padding:14px 18px;border:1px solid #d4e7e2;border-radius:18px;background:linear-gradient(90deg,#f7fbfa,#edf8f5)}.workspace-explainer>i{font-style:normal;color:#59a996;font-size:18px}.workspace-flow-step{display:flex;flex-direction:column}.workspace-flow-step strong{font-size:12px;color:#183f38}.workspace-flow-step span{font-size:9px;color:#79908c;margin-top:2px}.workspace-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.workspace-card{border:1px solid var(--line);border-radius:18px;background:white;padding:16px;box-shadow:var(--shadow-soft);transition:.18s transform,.18s border-color,.18s box-shadow}.workspace-card:hover{transform:translateY(-2px);border-color:#bddbd3;box-shadow:0 16px 34px rgba(19,57,52,.08)}.workspace-card.active{border-color:#75cdb5;box-shadow:0 0 0 2px rgba(33,191,150,.08),var(--shadow-soft)}.workspace-card-top{display:flex;align-items:center;gap:11px}.workspace-avatar{width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,#0e4139,#18ad84);color:white;display:grid;place-items:center;font-size:11px;font-weight:900;letter-spacing:.04em}.workspace-card-top h3{margin:2px 0 0;font-size:15px}.workspace-state{margin-left:auto;padding:5px 8px;border-radius:999px;background:#f1f5f4;color:#718581;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.workspace-state.ok{background:#e6f8f2;color:#11775e}.workspace-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.workspace-card-grid>div{border-radius:11px;background:#f5f9f8;padding:10px;min-width:0}.workspace-card-grid small{display:block;color:#859694;font-size:8px}.workspace-card-grid strong{display:block;margin-top:3px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-card-actions{display:flex;gap:7px}.workspace-card-actions .button{flex:1}.icon-button{width:37px;height:37px;border:1px solid var(--line);border-radius:11px;background:#fafcfb;color:#58706c;font-weight:900}.icon-button:hover{background:white;border-color:#b8d0ca}.icon-button.danger{color:#ae4550}.icon-button.danger:hover{background:#fff0f1;border-color:#f1cbd0}.workspace-create-panel{margin-top:18px;display:grid;grid-template-columns:1fr minmax(360px,.8fr);gap:24px;align-items:center;background:linear-gradient(145deg,#fff,#f1faf7)}.workspace-create-panel[hidden]{display:none}.workspace-create-panel h3{margin:5px 0}.workspace-create-form{display:flex;flex-direction:column;gap:10px}
@media(max-width:1150px){.workspace-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-create-panel{grid-template-columns:1fr}.simulation-row{grid-template-columns:minmax(0,1fr) auto 76px}}
@media(max-width:760px){.workspace-pill{display:none}.workspace-explainer{grid-template-columns:1fr;gap:8px}.workspace-explainer>i{transform:rotate(90deg);justify-self:center}.workspace-cards{grid-template-columns:1fr}.simulation-row{grid-template-columns:1fr auto}.simulation-row .mini-time{grid-column:1/3}.workspace-create-panel{padding:16px}.whatsapp-connected{min-height:240px}}

/* gerenciamento seguro das instâncias do WhatsApp */
.instance-manager{margin-top:12px;padding:13px;border:1px solid #d8e7e3;border-radius:15px;background:linear-gradient(145deg,#f8fbfa,#f1f8f6)}
.instance-manager[hidden]{display:none}.instance-manager-copy{display:flex;flex-direction:column;gap:3px}.instance-manager-copy strong{font-size:12px;color:#163f38;word-break:break-all}.instance-manager-copy small{color:#718b86;font-size:9px;line-height:1.45}.instance-manager-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}.instance-manager-actions .button{min-width:0}.whatsapp-connected .button-row{justify-content:center;flex-wrap:wrap}
@media(max-width:760px){.instance-manager-actions{grid-template-columns:1fr}}.capability-note strong{display:block;color:#745c2e;margin-bottom:4px}.capability-note small{display:block;color:#8a7752}
.automation-studio{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.automation-sidebar{position:sticky;top:92px;padding:13px;max-height:calc(100vh - 125px);overflow:auto}.automation-side-head{display:flex;justify-content:space-between;align-items:center;padding:5px 4px 11px}.automation-side-head h3{margin:3px 0 0;font-size:14px}.automation-list{display:flex;flex-direction:column;gap:7px}.automation-item{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid transparent;border-radius:14px;background:#f7faf9;padding:11px;text-align:left;transition:.16s}.automation-item:hover{background:#fff;border-color:#d8e7e3}.automation-item.active{background:#edf9f5;border-color:#9bd7c6;box-shadow:0 0 0 2px rgba(38,188,148,.06)}.automation-item-copy{min-width:0}.automation-item-copy strong{display:block;font-size:10px;color:#213e39;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.automation-item-copy small{display:block;margin-top:3px;color:#80928f;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.automation-state{width:8px;height:8px;border-radius:50%;background:#c8d2d0}.automation-state.on{background:#22bb8e;box-shadow:0 0 0 4px rgba(34,187,142,.11)}
.automation-editor{min-height:590px;padding:22px}.automation-editor-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.automation-editor-head h2{margin:4px 0 0;font-size:20px;letter-spacing:-.025em}.flow-builder{display:flex;flex-direction:column;align-items:stretch}.flow-node{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;border:1px solid #dbe8e4;border-radius:18px;padding:16px;background:#fff;box-shadow:0 8px 24px rgba(21,61,54,.04)}.flow-node.trigger-node{border-left:3px solid #4e8cf4}.flow-node.action-node{border-left:3px solid #2bb78f}.flow-node.dm-node{border-left:3px solid #9b5de5;background:linear-gradient(145deg,#fff,#fbf8ff)}.flow-node-badge{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#edf5f3;color:#2e655b;font-weight:900;font-size:10px}.trigger-node .flow-node-badge{background:#edf4ff;color:#3974d2}.dm-node .flow-node-badge{background:#f2ebfb;color:#8050b8}.flow-node-body{min-width:0}.flow-node-body>.eyebrow{display:block;margin:5px 0 13px}.flow-node-body label{margin-top:9px}.flow-connector{height:35px;display:grid;place-items:center;color:#83a49c;font-size:17px}.automation-toggle-line{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #e0ebe8;border-radius:14px;padding:11px 12px;background:#f8fbfa}.automation-toggle-line strong{display:block;font-size:10px}.automation-toggle-line small{display:block;font-size:8px;color:#7e918d;margin-top:3px}.dm-handoff{display:flex;gap:10px;align-items:flex-start;margin-top:13px;padding:11px 12px;border-radius:13px;background:#f2ecfb;border:1px solid #e5d8f5}.dm-handoff>span{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;background:#8d59c6;color:white}.dm-handoff strong{display:block;font-size:9px;color:#5d3c80}.dm-handoff small{display:block;font-size:8px;line-height:1.45;color:#7f6b91;margin-top:2px}.automation-editor-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.channel-badge{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:999px;font-size:7px;font-weight:900;letter-spacing:.03em;white-space:nowrap}.channel-badge.whatsapp{background:#e5f8f0;color:#118161}.conversation-title,.chat-person-title{display:flex;align-items:center;gap:7px;min-width:0}.conversation-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-person-title strong{font-size:13px}
@media(max-width:1050px){.automation-studio{grid-template-columns:1fr}.automation-sidebar{position:static;max-height:none}}
@media(max-width:760px){.automation-editor{padding:14px}.flow-node{grid-template-columns:1fr}.flow-node-badge{margin-bottom:-4px}.automation-editor-actions{align-items:stretch;flex-direction:column-reverse}.automation-editor-actions .button-row{display:grid;grid-template-columns:1fr 1fr;width:100%}}

/* Prompts por canal */
.channel-prompts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:2px}
.channel-prompt-card{border:1px solid var(--border,rgba(15,23,42,.1));border-radius:18px;padding:16px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,250,252,.9));box-shadow:0 10px 28px rgba(15,23,42,.05)}
.channel-prompt-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.channel-prompt-head>div{display:flex;align-items:center;gap:10px}.channel-prompt-head strong{display:block;font-size:14px}.channel-prompt-head small{display:block;margin-top:2px;color:var(--muted,#64748b);font-size:11px}
.inline-switch{display:flex!important;align-items:center;gap:8px;white-space:nowrap;margin:0!important}.inline-switch span{font-size:11px;font-weight:700;color:var(--muted,#64748b)}
.channel-prompt-body{transition:opacity .18s ease,filter .18s ease}.channel-prompt-body.is-shared{opacity:.48;filter:saturate(.5)}
.channel-prompt-body textarea:disabled{cursor:not-allowed;background:rgba(241,245,249,.8)}
.ig-prompt{border-color:rgba(225,48,108,.14)}.fb-prompt{border-color:rgba(24,119,242,.14)}
@media(max-width:900px){.channel-prompts{grid-template-columns:1fr}.channel-prompt-head{align-items:flex-start;flex-direction:column}.inline-switch{align-self:flex-start}}

.connection-guide{margin-top:16px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));overflow:hidden}
.connection-guide summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;font-weight:800;user-select:none}
.connection-guide summary::-webkit-details-marker{display:none}
.connection-guide summary:after{content:'+';display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.06);font-size:18px;font-weight:500;transition:.18s ease}
.connection-guide[open] summary:after{content:'−';transform:rotate(180deg)}
.connection-guide summary small{margin-left:auto;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.connection-guide-body{border-top:1px solid var(--border);padding:15px 16px 17px;display:grid;gap:12px}
.guide-step{display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:start}
.guide-step>b{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:rgba(47,204,113,.13);color:var(--accent);font-size:12px}
.guide-step strong{font-size:13px}
.guide-step p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.guide-step em{font-style:normal;color:var(--text);font-weight:700}
.guide-tip{margin-top:2px;padding:12px 13px;border-radius:14px;background:rgba(47,204,113,.08);color:var(--muted);font-size:12px;line-height:1.55}
.guide-tip strong{color:var(--text)}

/* Lead Agent Box — identidade visual 2026 */
.brand-logo.brand-mark{object-fit:contain;filter:drop-shadow(0 8px 18px rgba(4,28,66,.22))}
.logo-lockup{gap:14px}.logo-lockup .brand-mark{width:62px;height:62px}.logo-lockup strong{font-size:18px}.logo-lockup small{display:block;margin-top:3px;color:#91b8d7;font-size:10px;letter-spacing:.02em}
.auth-copy{background:radial-gradient(circle at 72% 23%,rgba(141,62,228,.22),transparent 28%),radial-gradient(circle at 8% 88%,rgba(11,200,165,.18),transparent 25%),linear-gradient(145deg,#031735 0%,#05295b 58%,#063e6a 100%)}
.auth-copy:after{border-color:rgba(83,148,255,.15);box-shadow:0 0 0 64px rgba(34,110,244,.025),0 0 0 128px rgba(141,62,228,.018)}
.auth-copy .eyebrow.light{color:#76dcca}.auth-copy p{color:#c5d3e7}.auth-footnote{color:#85a5c2}
.feature-row span{border-color:rgba(97,154,255,.18);background:rgba(255,255,255,.06);color:#e4ecf8}.feature-row b{color:#20ddbd}
.auth-card-wrap{background:radial-gradient(circle at 80% 10%,rgba(22,108,245,.08),transparent 24%),linear-gradient(180deg,#fff,#f7f9fd)}
.auth-card{border-color:#dfe6f3;box-shadow:0 30px 90px rgba(8,38,92,.11);padding-top:28px}
.auth-card-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 22px;padding:5px 12px 16px;border-bottom:1px solid #edf1f7}.auth-card-brand img{display:block;width:min(290px,88%);max-height:130px;object-fit:contain}
.button.primary{background:linear-gradient(110deg,#166cf5 0%,#0eaad9 50%,#0bc8a5 100%);box-shadow:0 10px 24px rgba(22,108,245,.22)}
.button.primary:hover:not(:disabled){box-shadow:0 14px 30px rgba(22,108,245,.3)}
input:focus,select:focus,textarea:focus{border-color:#5a97ff;box-shadow:0 0 0 3px rgba(22,108,245,.12)}
.sidebar{background:radial-gradient(circle at 38% 0%,rgba(50,110,245,.16),transparent 22%),linear-gradient(180deg,#031735 0%,#041f46 56%,#052953 100%);box-shadow:14px 0 38px rgba(5,30,72,.12)}
.brand{padding-bottom:20px}.brand .brand-mark{width:50px;height:50px}.brand strong{font-size:14px}.brand small{color:#7fa2c5}
.workspace-switcher{border-color:rgba(83,148,255,.16);background:rgba(255,255,255,.035)}.workspace-switcher>span{color:#7197bd}.workspace-select-wrap{background:#082853;border-color:rgba(74,139,255,.2)}.workspace-select-wrap i{color:#18d1b0}.workspace-select-wrap select{color:#f0f6ff}
.nav-list button{color:#91a9c5}.nav-list button:hover{background:rgba(45,108,230,.09);color:#edf4ff}.nav-list button.active{background:linear-gradient(90deg,rgba(22,108,245,.31),rgba(11,200,165,.10));color:#fff;box-shadow:inset 3px 0 #31a0ff}.nav-icon{color:#66a8ff}.nav-list button.active .nav-icon{color:#22d4b5}.nav-badge{background:linear-gradient(135deg,#166cf5,#0bc8a5);color:#fff}
.sidebar-card{border-color:rgba(83,148,255,.14);background:rgba(255,255,255,.035)}.mini-status small,.sidebar-user{color:#7fa2c5}
.topbar{background:rgba(247,249,253,.90);border-bottom-color:rgba(205,216,233,.78)}.workspace-pill{border-color:#d5e1f2;color:#245391}.user-chip{background:linear-gradient(145deg,#e8f2ff,#f7fbff);color:#164e9d}
.status-chip.ok{color:#08735e;background:#effcf8;border-color:#c8efe5}.status-chip.ok span{background:#0bc89d}
.hero-card{background:radial-gradient(circle at 84% 0%,rgba(141,62,228,.30),transparent 31%),radial-gradient(circle at 68% 100%,rgba(11,200,165,.16),transparent 30%),linear-gradient(122deg,#041735 0%,#062a5d 62%,#073c68 100%);box-shadow:0 26px 65px rgba(5,42,95,.18)}
.hero-card p{color:#bdcee5}.hero-badge{color:#d6e5f8;border-color:rgba(83,148,255,.18)}.live-dot{background:#12dab3;box-shadow:0 0 0 5px rgba(18,218,179,.12)}
.capacity-ring{background:radial-gradient(circle,rgba(18,62,120,.96),rgba(5,30,71,.96));border-color:rgba(89,160,255,.31);box-shadow:0 0 52px rgba(30,114,255,.2)}.capacity-ring span{color:#a8c7e8}.orbit-label{background:#0c376b;color:#91d9cf}
.metric{border-color:#dfe7f3}.metric-top{color:#657691}.metric-top i{background:#eef4ff;color:#446fa9}.metric small{color:#8795aa}
.panel{border-color:#dfe7f3}.service-card{border-color:#e2e9f4;background:#fbfcff}.ready-line{background:#f8faff}.ready-line.ok{color:#0b8067;background:#effbf8}
.text-button,.eyebrow.accent{color:#166cf5}.section-icon{background:linear-gradient(145deg,#edf4ff,#f0eaff);color:#5f54dd}
.switch:checked{background:linear-gradient(90deg,#166cf5,#0bc8a5)}

/* Lead Agent Box — logo oficial social 2026 */
.auth-card-brand img{width:min(345px,94%);max-height:150px}
.logo-lockup .brand-mark{width:66px;height:66px}
.brand .brand-mark{width:54px;height:54px;object-fit:contain}
.brand-logo.brand-mark{filter:drop-shadow(0 9px 20px rgba(18,91,218,.24))}
.sidebar .brand strong{letter-spacing:-.015em}
.sidebar .brand small{color:#8ba9c9}
.hero-card{border:1px solid rgba(85,151,255,.12)}
@media(max-width:760px){.auth-card-brand img{width:min(315px,92%);max-height:135px}.logo-lockup .brand-mark{width:56px;height:56px}}

.lab-language-picker{position:fixed;right:16px;bottom:14px;z-index:9999;background:rgba(255,255,255,.94);border:1px solid #dce3ec;border-radius:10px;padding:4px 6px;box-shadow:0 8px 24px rgba(11,35,71,.12)}
.lab-language-picker select{border:0;background:transparent;color:#203653;font:600 11px/1.2 Inter,Segoe UI,sans-serif;outline:0;cursor:pointer;padding:3px 4px}

/* Biblioteca inteligente — regras + gatilhos para envio de mídia */
.library-guide{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin:0 0 16px;padding:14px 16px;border:1px solid #e3e8ef;border-radius:18px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 10px 30px rgba(31,58,96,.05)}
.library-guide>div{display:flex;align-items:center;gap:10px;min-width:0}.library-guide>b,.library-guide>div>b{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#edf2ff,#e8fbf6);color:#1769f5;font-size:10px}.library-guide span{min-width:0}.library-guide strong{display:block;font-size:10.5px;color:#1d3658}.library-guide small{display:block;margin-top:2px;font-size:8.5px;color:#7b8a9d;line-height:1.35}.library-guide>i{font-style:normal;color:#a8b4c3;font-size:16px}
.media-config-panel{padding:22px}.media-config-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.media-config-head h3{margin:4px 0 3px;font-size:18px;color:#183452}.media-upload-smart{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:17px;border-radius:17px;background:#f8fafc;border:1px solid #e5eaf1}.media-upload-smart label{margin:0}.media-rule-field,.media-trigger-field{grid-column:1/-1}.media-file-field{grid-column:1/2;align-self:end}.media-add-button{grid-column:2/3;align-self:end;min-height:44px}.media-rule-example{display:flex;align-items:flex-start;gap:11px;margin:13px 0 18px;padding:12px 14px;border:1px solid #dce9e5;border-radius:14px;background:linear-gradient(135deg,#f5fcf9,#fbf9ff)}.media-rule-example>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(135deg,#1769f5,#12bfa5);color:#fff}.media-rule-example strong{display:block;font-size:10px;color:#274b44}.media-rule-example p{margin:3px 0 0;color:#6f837e;font-size:9px;line-height:1.5}.media-item{align-items:flex-start!important}.media-item>div:nth-child(2){min-width:0;flex:1}.media-item .media-rule-copy{display:block;margin-top:6px;color:#60736f;font-size:8px;line-height:1.4;white-space:normal}.media-item .media-trigger-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.media-trigger-chip{display:inline-flex;padding:3px 6px;border-radius:999px;background:#edf5ff;color:#3a6fae;font-size:7px;font-weight:800}.media-mode-chip{display:inline-flex;padding:3px 6px;border-radius:999px;background:#eef9f5;color:#258269;font-size:7px;font-weight:850}

/* Automations 2.0 — hierarquia visual mais clara */
.automation-page-intro{margin-bottom:13px}.automation-overview{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;margin-bottom:12px;padding:13px 15px;border:1px solid #e4e9ef;border-radius:18px;background:linear-gradient(135deg,#ffffff,#f7fbff 55%,#fbf9ff);box-shadow:0 12px 34px rgba(30,57,92,.045)}.automation-overview-step{display:flex;gap:10px;align-items:center;min-width:0}.automation-overview-step>b{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#0e2c55;color:#fff;font-size:10px;box-shadow:0 6px 15px rgba(14,44,85,.12)}.automation-overview-step:nth-of-type(2)>b{background:linear-gradient(135deg,#1769f5,#6d54e8)}.automation-overview-step:nth-of-type(3)>b{background:linear-gradient(135deg,#12bfa5,#1769f5)}.automation-overview-step strong{display:block;color:#233d5c;font-size:10.5px}.automation-overview-step small{display:block;margin-top:2px;color:#7d8b9b;font-size:8.3px}.automation-overview>i{font-style:normal;color:#b5c0cd;font-size:15px}.automation-studio{grid-template-columns:286px minmax(0,1fr)!important;gap:14px!important}.automation-sidebar{border-color:#e2e8ef!important;box-shadow:0 10px 28px rgba(25,50,80,.04)!important;background:#fbfcfd!important}.automation-item{background:#fff!important;border-color:#e9edf2!important;padding:12px!important}.automation-item:hover{border-color:#b7d8ef!important;box-shadow:0 7px 18px rgba(28,76,112,.06)}.automation-item.active{background:linear-gradient(135deg,#f1f7ff,#f0fbf7)!important;border-color:#80cfc0!important}.automation-editor{border-color:#e2e8ef!important;box-shadow:0 14px 36px rgba(25,50,80,.055)!important;background:#fcfdff!important}.automation-editor-head{padding-bottom:14px;border-bottom:1px solid #edf0f4}.flow-builder{gap:0}.flow-node{border-color:#e1e7ed!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(22,49,77,.035)!important}.flow-node.trigger-node{border-left:0!important;border-top:3px solid #4e8cf4!important}.flow-node.action-node{border-left:0!important;border-top:3px solid #2bb78f!important}.flow-node.dm-node{border-left:0!important;border-top:3px solid #8c62df!important;background:linear-gradient(180deg,#fff,#fbfaff)!important}.flow-node-badge{border-radius:50%!important;width:30px!important;height:30px!important}.flow-connector{height:27px!important}.flow-connector span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f2f5f8;color:#7c93a7;font-size:12px}.automation-toggle-line{background:#fbfcfd!important;border-color:#e5eaf0!important}.dm-handoff{background:#f7f4fc!important;border-color:#e6ddf4!important}
@media(max-width:1050px){.automation-studio{grid-template-columns:1fr!important}.automation-overview{grid-template-columns:1fr}.automation-overview>i{display:none}.library-guide{grid-template-columns:1fr}.library-guide>i{display:none}}
@media(max-width:760px){.media-upload-smart{grid-template-columns:1fr}.media-rule-field,.media-trigger-field,.media-file-field,.media-add-button{grid-column:1}.library-guide{padding:12px}.automation-overview{padding:12px}}

/* Biblioteca: disparo por contexto, momento do fluxo e marcador no prompt */
.library-guide-four{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}
.media-upload-smart{grid-template-columns:1fr 1fr}
.media-subpanel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border:1px solid #e4e9f0;border-radius:15px;background:#fff}
.media-subpanel[hidden]{display:none!important}
.media-subpanel-reactive{background:linear-gradient(135deg,#fff,#f8fbff)}
.media-subpanel-prompt{background:linear-gradient(135deg,#f8fbff,#f8fffd);border-color:#dce9ee}
.media-package-panel{background:linear-gradient(135deg,#fbfcff,#fbfffe)}
.media-subpanel-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.media-subpanel-title strong{font-size:11px;color:#213d5e}.media-subpanel-title small{display:block;margin-top:3px;color:#7d8e9e;font-size:8px}
.prompt-code-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;border:1px solid #dbe3ec;border-radius:11px;padding:0 9px;background:#fff}.prompt-code-row input{border:0!important;box-shadow:none!important;padding-left:3px!important;padding-right:3px!important}.prompt-code-row span{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5d6f88}
.media-delivery-grid{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.media-delivery-grid[hidden]{display:none!important}.media-delivery-description{grid-column:1/-1}
.media-once-option{grid-column:1/-1;display:flex!important;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:12px;background:#f4f8f7;border:1px solid #e0ebe8}.media-once-option>input{width:auto!important;margin-top:2px}.media-once-option span{display:block}.media-once-option strong{display:block;font-size:10px;color:#264d46}.media-once-option small{display:block;margin-top:2px;font-size:8px;color:#748a85}
.media-prompt-chip{display:inline-flex;padding:3px 6px;border-radius:999px;background:#f3efff;color:#6a4ec2;font:800 7px ui-monospace,SFMono-Regular,Menlo,monospace}.media-once-chip{display:inline-flex;padding:3px 6px;border-radius:999px;background:#fff7e9;color:#946b20;font-size:7px;font-weight:850}.media-package-copy{display:block;margin-top:6px;color:#3c7066;font-size:7.5px;line-height:1.4}.media-rule-example-pro b{color:#4e63a5}
@media(max-width:1050px){.library-guide-four{grid-template-columns:1fr}.library-guide-four>i{display:none}}
@media(max-width:760px){.media-subpanel,.media-delivery-grid{grid-template-columns:1fr}.media-delivery-description{grid-column:1}.media-subpanel-title{grid-column:1}.media-once-option{grid-column:1}}

/* Manual / central de ajuda */
.manual-page{max-width:1320px;margin:0 auto}.manual-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:16px;border:1px solid #dfe8ee;border-radius:24px;background:radial-gradient(circle at 88% 18%,rgba(29,192,164,.12),transparent 24%),radial-gradient(circle at 72% 0%,rgba(42,111,239,.13),transparent 29%),linear-gradient(135deg,#fff,#f7fbff 58%,#f8fdfb);box-shadow:0 14px 36px rgba(26,55,88,.055)}.manual-hero h1{margin:5px 0 7px;font-size:30px;letter-spacing:-.045em;color:#122b49}.manual-hero p{max-width:780px;margin:0;color:#687b8d;line-height:1.65}.manual-hero-mark{width:76px;height:76px;flex:0 0 76px;border-radius:24px;display:grid;place-items:center;font-size:32px;font-weight:900;color:#fff;background:linear-gradient(145deg,#176cf5,#18bca6);box-shadow:0 14px 32px rgba(31,115,213,.22);transform:rotate(4deg)}.manual-search-wrap{position:sticky;top:94px;z-index:9;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 12px;margin-bottom:16px;border:1px solid #dfe6ec;border-radius:16px;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);box-shadow:0 10px 26px rgba(27,52,78,.06)}.manual-search-wrap>span{width:33px;height:33px;border-radius:10px;display:grid;place-items:center;color:#397aa8;background:#eef6fb;font-size:18px}.manual-search-wrap input{border:0!important;background:transparent!important;box-shadow:none!important;padding:8px 4px!important;font-size:13px!important}.manual-search-wrap input:focus{outline:0!important}.manual-start{padding:22px!important;margin-bottom:16px}.manual-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.manual-section-head h2{margin:4px 0 0;font-size:19px;color:#193552}.manual-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.manual-start-grid article{display:flex;gap:11px;padding:13px;border:1px solid #e4eaef;border-radius:15px;background:#fbfcfd}.manual-start-grid article>b{width:28px;height:28px;flex:0 0 28px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(145deg,#176cf5,#18bca6);color:#fff;font-size:10px;box-shadow:0 5px 13px rgba(39,112,191,.16)}.manual-start-grid strong{display:block;color:#24405b;font-size:10.5px}.manual-start-grid p{margin:4px 0 0;color:#778899;font-size:9px;line-height:1.55}.manual-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.manual-topic{padding:20px!important;scroll-margin-top:150px;transition:.18s}.manual-topic:hover{border-color:#cedee9;box-shadow:0 15px 34px rgba(31,62,91,.065)}.manual-topic[hidden]{display:none!important}.manual-topic-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #edf1f4}.manual-topic-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#eef5ff,#eefaf7);border:1px solid #dce9ef;color:#1c6fb3;font-weight:900;font-size:14px}.manual-topic-head h2{margin:3px 0 0;font-size:17px;color:#173450;letter-spacing:-.025em}.manual-topic>p{margin:0 0 12px;color:#6f8192;font-size:10.5px;line-height:1.65}.manual-topic ul{margin:0;padding-left:18px;color:#52697b;display:grid;gap:7px}.manual-topic li{padding-left:2px;font-size:9.6px;line-height:1.55}.manual-topic li::marker{color:#19aa8f}.manual-topic code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;padding:2px 5px;border-radius:6px;background:#eff5f8;color:#28547a}.manual-tip{display:flex;gap:8px;margin-top:13px;padding:10px 11px;border-radius:12px;border:1px solid #d8eee8;background:#f3fbf8;color:#3f6b60;font-size:9px;line-height:1.5}.manual-tip b{color:#15846d}.manual-example{display:grid;gap:6px;margin-top:13px;padding:11px;border:1px dashed #bed5e5;border-radius:12px;background:#f8fbfd}.manual-example strong{font-size:9px;color:#385c77}.manual-example code{display:block;white-space:normal;line-height:1.6;padding:7px 8px}.manual-example a{display:block;width:max-content;max-width:100%;font-size:9px;font-weight:800;color:#176cf5;text-decoration:none;line-height:1.5}.manual-example a:hover{text-decoration:underline}.manual-empty{text-align:center;padding:42px!important;margin-top:14px;color:#718596}.manual-empty>span{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;margin:0 auto 10px;background:#edf5fa;color:#377da9;font-size:21px}.manual-empty h3{margin:0 0 6px;color:#27445e}.manual-empty p{margin:0;font-size:10px}.manual-topic .compact-button{white-space:nowrap;padding:8px 10px!important;font-size:8.5px!important}
@media(max-width:1100px){.manual-topics{grid-template-columns:1fr}.manual-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.manual-hero{padding:21px}.manual-hero h1{font-size:24px}.manual-hero-mark{display:none}.manual-search-wrap{top:76px}.manual-start-grid{grid-template-columns:1fr}.manual-topic-head{grid-template-columns:auto minmax(0,1fr)}.manual-topic-head .button{grid-column:1/3;width:100%}.manual-topic{padding:16px!important}}

.sidebar{overflow-y:auto;overflow-x:hidden}

/* Aviso legal / copyright */
.app-legal-footer{max-width:1600px;margin:0 auto;padding:0 34px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#8a98a8;font-size:9px;line-height:1.45}
.app-legal-footer span:last-child{color:#718398;font-weight:650}
.legal-topic{border-color:#e6e1f3!important;background:linear-gradient(180deg,#fff,#fdfcff)!important}
.legal-topic .manual-topic-icon{background:linear-gradient(145deg,#f3efff,#eef6ff);border-color:#e0d8f3;color:#724ed0}
.legal-tip{background:#faf8ff!important;border-color:#e6def5!important;color:#675b7f!important}.legal-tip b{color:#7045c9!important}
@media(max-width:760px){.app-legal-footer{padding:0 18px 22px;flex-direction:column;align-items:flex-start;gap:3px}}

/* Follow-up comercial */
.sales-followup-card{margin-bottom:14px;padding:20px!important;border:1px solid #dfe8f3!important;background:linear-gradient(135deg,#fff 0%,#f7fbff 54%,#f8f5ff 100%)!important;box-shadow:0 16px 42px rgba(25,57,98,.07)!important;overflow:hidden;position:relative}.sales-followup-card:after{content:"";position:absolute;width:240px;height:240px;right:-110px;top:-130px;border-radius:50%;background:radial-gradient(circle,rgba(37,201,178,.14),transparent 68%);pointer-events:none}.sales-followup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;z-index:1}.sales-followup-title{display:flex;gap:13px;align-items:flex-start;min-width:0}.sales-followup-title h3{margin:3px 0 5px;color:#173a61;font-size:17px}.sales-followup-title p{margin:0;color:#728198;font-size:10px;max-width:720px}.followup-icon{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#1769f5,#16c6b0);color:#fff;font-size:21px;font-weight:800;box-shadow:0 9px 22px rgba(23,105,245,.18)}.followup-master{background:#fff;border:1px solid #dfe8f3;border-radius:14px;padding:10px 12px!important;white-space:nowrap}.followup-safety{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:11px 13px;border-radius:14px;background:#effaf6;border:1px solid #d5efe6}.followup-safety>span{width:23px;height:23px;border-radius:8px;display:grid;place-items:center;background:#21b889;color:#fff;font-size:10px;font-weight:900;flex:none}.followup-safety strong{display:block;color:#285548;font-size:10px}.followup-safety small{display:block;color:#6d8c83;margin-top:2px;font-size:8.5px}.followup-controls{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:13px;align-items:end;margin-bottom:12px}.followup-placeholder-help{min-height:64px;padding:11px 13px;border:1px dashed #ccd9ea;border-radius:14px;background:rgba(255,255,255,.66)}.followup-placeholder-help strong{display:block;color:#294866;font-size:10px}.followup-placeholder-help small{display:block;color:#75869a;font-size:8.5px;margin-top:4px}.followup-sequence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.followup-step-card{border:1px solid #e0e7ef;border-radius:16px;background:#fff;padding:13px;box-shadow:0 8px 20px rgba(20,48,82,.035);transition:.18s}.followup-step-card.is-disabled{opacity:.64}.followup-step-top{display:grid;grid-template-columns:31px minmax(0,1fr) 92px;gap:9px;align-items:start;margin-bottom:10px}.followup-step-top>span{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#0f2f5b;color:#fff;font-size:10px;font-weight:900}.followup-step-card:nth-child(2) .followup-step-top>span{background:linear-gradient(135deg,#1769f5,#7556e8)}.followup-step-card:nth-child(3) .followup-step-top>span{background:linear-gradient(135deg,#7455e9,#13baa2)}.followup-step-top strong{display:block;color:#29435f;font-size:10px}.followup-step-top small{display:block;color:#8794a4;font-size:8px;margin-top:2px}.followup-step-top label{font-size:8px!important}.followup-step-top input{padding:7px 8px!important;font-size:9px!important}.followup-step-card textarea{min-height:83px;font-size:9px!important;line-height:1.45}.sales-followup-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:13px;padding-top:13px;border-top:1px solid #e7edf4}.sales-followup-footer strong{display:block;color:#28445f;font-size:10px}.sales-followup-footer small{display:block;color:#8190a2;font-size:8.5px;margin-top:2px}
@media(max-width:1050px){.followup-sequence{grid-template-columns:1fr}.followup-controls{grid-template-columns:1fr}.sales-followup-head{flex-direction:column}.followup-master{align-self:flex-start}}
@media(max-width:620px){.sales-followup-card{padding:14px!important}.followup-step-top{grid-template-columns:31px minmax(0,1fr)}.followup-step-top label{grid-column:2}.sales-followup-footer{flex-direction:column;align-items:stretch}.sales-followup-footer .button{width:100%}}

/* Lead Agent Box — logo transparente completa, sem recortes */
.brand-logo.brand-mark{
  object-fit:contain!important;
  object-position:center!important;
  overflow:visible!important;
}
.logo-lockup{overflow:visible!important}
.logo-lockup .brand-mark{
  width:66px!important;
  height:66px!important;
  flex:0 0 66px!important;
  padding:2px!important;
}
.sidebar .brand{
  overflow:visible!important;
  min-height:62px!important;
  align-items:center!important;
}
.sidebar .brand .brand-mark{
  width:58px!important;
  height:58px!important;
  flex:0 0 58px!important;
  padding:2px!important;
  margin:-2px 0!important;
}
.auth-card-brand{overflow:visible!important}
.auth-card-brand img{
  width:min(360px,96%)!important;
  height:auto!important;
  max-height:150px!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:760px){
  .logo-lockup .brand-mark{width:58px!important;height:58px!important;flex-basis:58px!important}
  .auth-card-brand img{width:min(320px,94%)!important;max-height:138px!important}
}

/* Login — mensagem comercial aprovada */
.auth-copy .auth-benefit{
  margin-top:16px!important;
  max-width:640px;
  font-size:15px!important;
  line-height:1.55!important;
  color:#e9f7f4!important;
}
.auth-copy .auth-benefit strong{font-weight:800}
@media(max-width:760px){
  .auth-copy .auth-benefit{font-size:14px!important;margin-top:12px!important}
}

/* Login — ajuste de proporção para a nova mensagem, sem alterar a estrutura */
.auth-copy h1{font-size:clamp(38px,4.15vw,62px);line-height:1.01;margin:16px 0 19px}
.auth-copy-inner>p:not(.auth-benefit){font-size:17px;line-height:1.58}
.auth-copy .feature-row{margin-top:28px}


/* Automacoes comerciais: follow-up ampliado, ignorados e disparo em massa */
#page-automations{display:none;gap:18px}.page#page-automations.active{display:grid}.automation-ignore-card,.broadcast-card{margin-top:18px}.broadcast-campaigns{display:grid;gap:10px;margin-top:8px}.broadcast-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:var(--surface-soft)}.broadcast-row>div:first-child{display:grid;gap:6px;min-width:0;flex:1}.broadcast-row small{color:var(--muted)}.broadcast-row .progress-track{max-width:460px}.compact-button{padding:8px 11px;min-height:auto}.followup-sequence{max-height:980px;overflow:auto;padding-right:4px}@media(max-width:760px){.broadcast-row{align-items:flex-start;flex-direction:column}.broadcast-row .button-row{width:100%;flex-wrap:wrap}.broadcast-row .button{flex:1}.followup-sequence{max-height:none;overflow:visible}}


/* R20 — identidade do WhatsApp conectado + mídia completa nas conversas */
.connected-whatsapp-identity{margin:14px auto 18px;max-width:360px;padding:12px 15px;border:1px solid #cfe9e1;border-radius:14px;background:#f3fbf8;display:grid;gap:3px;text-align:center}.connected-whatsapp-identity span{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#6f8883}.connected-whatsapp-identity strong{font-size:17px;color:#0a745b;letter-spacing:.01em}.connected-whatsapp-identity small{font-size:10px;color:#6d817e}
.media-bubble{min-width:210px;max-width:min(82%,680px)}.media-type-label{display:block;font-size:9px;font-weight:850;color:#5d7671;margin:0 0 7px}.chat-media-image,.chat-media-video{display:block;max-width:100%;width:auto;max-height:360px;border-radius:10px;background:#eef4f2;object-fit:contain}.chat-media-link{display:block;max-width:460px}.chat-media-link.media-unavailable{min-width:180px;min-height:90px;border:1px dashed #c6d4d1;border-radius:10px;background:#f4f7f6}.chat-media-link.media-unavailable img{display:none}.chat-media-link.media-unavailable:after{content:"Imagem não disponível";display:grid;place-items:center;min-height:90px;color:#82928f;font-size:10px}.chat-media-audio{display:block;width:min(360px,100%);height:40px}.chat-document{display:flex;align-items:center;justify-content:center;min-width:190px;padding:12px 14px;border-radius:10px;background:#edf7f4;border:1px solid #d5e9e3;color:#17765f;font-weight:800;text-decoration:none}.chat-document:hover{background:#e2f2ed}.media-caption{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.media-bubble>small:last-child{margin-top:7px}
@media(max-width:720px){.media-bubble{max-width:92%;min-width:170px}.chat-media-image,.chat-media-video{max-height:290px}.chat-media-audio{width:260px;max-width:100%}}
