.zynko-notify-host{position:fixed;z-index:99999;top:18px;right:18px;width:min(390px,calc(100vw - 28px));display:grid;gap:10px;pointer-events:none}.zynko-notify{pointer-events:auto;display:grid;grid-template-columns:38px 1fr 30px;gap:10px;align-items:start;padding:13px 12px;border:1px solid #dbe4ee;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16);opacity:0;transform:translateY(-8px);transition:.18s ease;color:#0f172a}.zynko-notify.show{opacity:1;transform:none}.zynko-notify-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-weight:900}.zynko-notify b{display:block;font-size:14px;margin:1px 0 3px}.zynko-notify p{margin:0;font-size:13px;line-height:1.45;color:#64748b}.zynko-notify button{border:0;background:transparent;font-size:20px;line-height:1;color:#94a3b8;cursor:pointer}.zynko-notify.success .zynko-notify-icon{background:#ecfdf5;color:#059669}.zynko-notify.error .zynko-notify-icon{background:#fef2f2;color:#dc2626}.zynko-notify.info .zynko-notify-icon{background:#eff6ff;color:#2563eb}.zynko-notify.warning .zynko-notify-icon{background:#fff7ed;color:#d97706}.zynko-dialog-open{overflow:hidden}.zynko-dialog-overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.46);opacity:0;transition:.15s ease}.zynko-dialog-overlay.open{opacity:1}.zynko-dialog{width:min(440px,100%);padding:26px;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.25);text-align:center;transform:scale(.97);transition:.15s ease}.zynko-dialog-overlay.open .zynko-dialog{transform:none}.zynko-dialog-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 14px;border-radius:50%;font-size:30px;font-weight:800}.zynko-dialog-icon.warning{background:#fff7ed;color:#d97706}.zynko-dialog-icon.error{background:#fef2f2;color:#dc2626}.zynko-dialog-icon.success{background:#ecfdf5;color:#059669}.zynko-dialog-icon.info{background:#eff6ff;color:#2563eb}.zynko-dialog h2{margin:0 0 8px;font-size:21px;color:#0f172a}.zynko-dialog p{margin:0;color:#64748b;line-height:1.55}.zynko-dialog-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}.zynko-dialog-actions button{min-height:42px;padding:0 18px;border-radius:11px;border:1px solid #dbe4ee;font-weight:800;cursor:pointer}.zynko-dialog-confirm{background:#12ad8c;color:#fff;border-color:#12ad8c!important}.zynko-dialog-cancel{background:#fff;color:#334155}@media(max-width:560px){.zynko-notify-host{top:12px;right:14px}.zynko-dialog{padding:22px 18px}.zynko-dialog-actions{flex-direction:column-reverse}.zynko-dialog-actions button{width:100%}}


/* Final responsive integrity pass */
html,body{max-width:100%;overflow-x:hidden}*,*:before,*:after{box-sizing:border-box}.main,main,.panel,.grid2,.settings-grid,.card-list,.record-toolbar,.welcome{min-width:0;max-width:100%}#sidebar{height:100dvh;min-height:100dvh;position:fixed;inset:0 auto 0 0;overflow:hidden;display:flex;flex-direction:column}#sidebar nav{overflow-y:auto;overflow-x:hidden;flex:1}.main{margin-left:252px;min-height:100dvh}.main>header{position:sticky;top:0;z-index:80}.responsive-records{display:grid;gap:8px}.record-card{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(120px,1fr)) auto;gap:14px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:12px}.record-card>div{min-width:0}.record-card small,.record-card b,.record-card span{display:block;overflow-wrap:anywhere}.empty-compact{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#64748b}.empty-compact i{font-size:24px;color:#0fa98b}.bars{height:210px;display:flex;align-items:end;gap:10px;padding:22px 10px 0}.bar-wrap{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.bar{width:100%;max-width:92px;border-radius:8px 8px 2px 2px;background:#22b59a;transition:.2s}.bar-wrap:hover .bar{transform:translateY(-4px)}.bar-value{font-size:11px;font-weight:800;opacity:0;transition:.2s}.bar-wrap:hover .bar-value{opacity:1}.grow{min-width:0;flex:1}.user-card{grid-template-columns:auto minmax(160px,1fr) auto auto auto}.avatar-img{width:38px;height:38px;border-radius:50%;object-fit:cover;display:block}.top-avatar{width:34px;height:34px}.integration-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:14px}.integration-card small{display:block;overflow-wrap:anywhere}.check-grid{display:grid;gap:9px}.meta-note,.nivo-guide{display:flex;gap:12px;align-items:flex-start;margin-top:14px;padding:12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.meta-note i,.nivo-guide i{margin-top:3px;color:#0fa98b}.meta-note small,.nivo-guide small{display:block;line-height:1.45;color:#64748b}.modal-card{max-height:calc(100dvh - 32px);overflow:auto}.modal-actions{flex-wrap:wrap}.conversation{min-width:0}.conversation>div{min-width:0}.conversation p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.conv-list{overflow-x:hidden!important}.inbox-layout>*{min-width:0}.composer-line>*{min-width:0}
@media(max-width:1100px){.record-card{grid-template-columns:1fr 1fr}.record-card a{justify-self:start}.dashboard-grid{grid-template-columns:1fr}.user-card{grid-template-columns:auto minmax(0,1fr) auto}.user-card .status{display:none}}
@media(max-width:760px){#sidebar{transform:translateX(-100%);z-index:200}.app.menu-open #sidebar{transform:none}.main{margin-left:0!important}.record-card{grid-template-columns:1fr}.record-toolbar,.welcome{align-items:stretch}.record-toolbar{flex-direction:column}.record-toolbar .search-wrap{width:100%}.user-card{grid-template-columns:auto minmax(0,1fr)}.user-card>.pill,.user-card>.status,.user-card>.soft{grid-column:2}.settings-grid{grid-template-columns:1fr!important}.modal-actions>*{flex:1}.header-actions .user-copy{display:none}}
/* ZYNKO 2026-09-27 full project cleanup */
main{padding-top:18px!important}.welcome{margin-bottom:14px!important}.compact-welcome{margin-top:0}.field-help{display:block!important;color:#52657a!important;font-size:12px!important;line-height:1.45!important;margin-top:2px}.warning-help{color:#9a5b00!important}.head-actions{display:flex;gap:8px;flex-wrap:wrap}#fullscreenBtn,#theme,.help{width:40px;height:40px;padding:0;display:grid;place-items:center;border-radius:10px;background:var(--surface2);border:1px solid var(--line);color:var(--text)}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.plan-card{border:1px solid var(--line);border-radius:15px;padding:18px;background:var(--surface2);display:grid;gap:15px}.plan-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.plan-card-head>div{display:grid}.plan-price{font-size:20px;font-weight:900;color:var(--accent2);white-space:nowrap}.plan-price small{display:inline!important;font-size:11px}.plan-limits,.plan-features{display:grid;gap:8px;color:#52657a}.plan-limits{grid-template-columns:1fr 1fr}.plan-limits i,.plan-features i{width:18px;color:var(--accent2)}.plan-actions{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:13px}.soft.danger{color:#b42318}.compact-upload{min-height:105px!important;margin-top:4px}.user-create-photo{grid-column:1/-1}.integration-events .check-grid{margin-top:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.integration-events .check-grid label{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);font-weight:600}.integration-events .check-grid input{width:17px;height:17px;margin:0;flex:0 0 auto}.modal-card form{display:grid;gap:14px}.modal-card .settings-grid{gap:14px}.upload-zone+.modal-actions{margin-top:14px!important}.modal-actions{padding-top:4px}.panel-head{min-width:0}.panel-head>*{min-width:0}
@media(min-width:761px){.main>header{position:fixed!important;top:0;right:0;left:252px;z-index:90}.main{padding-top:68px}.sidebar-collapsed .main>header{left:78px}body.sidebar-hidden .main>header{left:0}.main>main{padding-top:18px!important}}
@media(max-width:760px){main{padding-top:14px!important}.integration-events .check-grid{grid-template-columns:1fr}.plan-limits{grid-template-columns:1fr}.plan-actions{flex-direction:column}.plan-actions button{width:100%}.head-actions{width:100%}.head-actions button{flex:1}}
.mail-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.mail-profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.mail-profile.active{border-color:#8bdac9;box-shadow:inset 0 0 0 1px #bcece1}.mail-provider-icon{width:42px;height:42px;border-radius:12px;background:#e8f8f4;color:var(--accent2);display:grid;place-items:center}.mail-profile>div{min-width:0}.mail-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-profile-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:9px;border-top:1px solid var(--line)}
[hidden]{display:none!important}.field input,.field textarea,.field select,.select2-container{max-width:100%!important}.panel,.modal-card,.field,.settings-grid>*{min-width:0}.hint,.field-help,.panel small{opacity:1!important}.field-help{font-weight:500}.welcome p{margin-bottom:0}
/* ZYNKO commercial/API/NIVO hardening */
.tenant-plan-list,.api-key-list{display:grid;gap:12px}.tenant-plan-row,.api-key-row{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line,#dfe6ef);border-radius:14px;min-width:0}.tenant-plan-row>div:first-child,.api-key-row>div:first-child{display:grid;gap:4px;min-width:180px;flex:1}.tenant-plan-row small,.api-key-row small{color:var(--muted,#64748b);overflow-wrap:anywhere}.inline-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(130px,.7fr) auto;gap:10px;align-items:center;min-width:min(100%,560px)}.api-doc,.security-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:14px;border:1px solid #bfe8df;background:#f3fbf9;border-radius:14px}.api-doc>div,.security-note>div{display:grid;gap:5px;min-width:0}.api-doc code{overflow-wrap:anywhere}.nivo-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.nivo-capabilities span{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid var(--line,#dfe6ef);border-radius:12px;font-size:12px}.source>div{display:grid;gap:3px;min-width:0}.source .icon-btn{margin-left:auto}.icon-btn{width:36px;height:36px;border:1px solid var(--line,#dfe6ef);border-radius:10px;background:#fff;cursor:pointer}.icon-btn:hover{transform:translateY(-1px)}
@media(max-width:900px){.tenant-plan-row,.api-key-row{align-items:stretch;flex-direction:column}.inline-form{grid-template-columns:1fr;width:100%;min-width:0}.nivo-capabilities{grid-template-columns:1fr}}

/* NIVO — clean, bounded and fully responsive */
.nivo-welcome{margin-bottom:14px}.nivo-kpis{margin-bottom:14px}.nivo-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;position:sticky;top:72px;z-index:8;background:var(--bg,#f4f7fb);padding:8px 0}.nivo-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line,#dfe6ef);border-radius:10px;background:var(--surface,#fff);color:var(--text,#0f172a);text-decoration:none;font-size:13px}.nivo-tabs a:hover{border-color:#94d9ca}.nivo-section{scroll-margin-top:130px;min-width:0;overflow:hidden}.nivo-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.field-help{display:block;color:#52647a!important;font-size:12px;line-height:1.45;font-weight:500!important}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line,#dfe6ef)}.nivo-list{display:grid;gap:8px;max-height:390px;overflow:auto;padding-right:3px}.nivo-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line,#dfe6ef);border-radius:12px;min-width:0}.nivo-list-row>div{display:grid;gap:4px;min-width:0}.nivo-list-row b,.nivo-list-row small,.nivo-list-row span{overflow-wrap:anywhere}.nivo-list-row small,.nivo-list-row>div>span{color:#52647a;font-size:12px;line-height:1.4}.status-badge.muted{opacity:.6}.nivo-upload{margin-top:14px;min-height:112px}.nivo-playground{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}.nivo-test-result{border:1px solid var(--line,#dfe6ef);border-radius:14px;background:var(--surface2,#f8fafc);padding:16px;display:flex;gap:12px;align-items:flex-start;min-width:0}.nivo-test-result>i{margin-top:3px}.nivo-test-result>div{display:grid;gap:7px;min-width:0}.nivo-test-result p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.nivo-test-result small{color:#52647a}.empty-compact{display:grid;place-items:center;text-align:center;gap:6px;padding:28px 14px;color:#52647a}.empty-compact i{font-size:22px;color:var(--accent,#0d806b)}
@media(max-width:1050px){.nivo-grid,.nivo-playground{grid-template-columns:1fr}}
@media(max-width:760px){.nivo-tabs{top:62px;overflow-x:auto;flex-wrap:nowrap}.nivo-tabs a{white-space:nowrap}.nivo-list-row{grid-template-columns:minmax(0,1fr) auto}.nivo-list-row>.status-badge{grid-column:1/2;width:max-content}.nivo-section .panel-head{align-items:flex-start;flex-direction:column}.nivo-section .panel-head>button{width:100%}.form-actions{justify-content:stretch}.form-actions button{width:100%}}

/* NIVO conversation/handoff polish */
.message-wrap{display:flex;flex-direction:column;max-width:min(78%,720px);min-width:0;margin:8px 0}.message-wrap.out{margin-left:auto;align-items:flex-end}.message-wrap.in{margin-right:auto;align-items:flex-start}.message-sender{font-size:.78rem;margin:0 8px 4px;max-width:100%;overflow-wrap:anywhere}.message-wrap p{max-width:100%;overflow-wrap:anywhere;word-break:break-word;margin:0}.chat-attachment{display:inline-flex;gap:7px;align-items:center;margin-top:5px;padding:7px 10px;border-radius:10px;background:var(--surface-2,#f3f6f8);max-width:100%;overflow:hidden;text-overflow:ellipsis}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;margin:14px 0}.inline-form>*{min-width:0}@media(max-width:680px){.message-wrap{max-width:92%}.inline-form{grid-template-columns:1fr}.inline-form .primary{width:100%}}

/* Inbox CRM: compact, aligned and overflow-safe */
.info-title,.info-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.realtime-dot{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12);flex:0 0 auto}.info-form,.info-block form{display:grid;gap:10px;min-width:0}.info-block{border-top:1px solid var(--border,#e5e7eb);padding-top:14px;margin-top:14px;display:grid;gap:10px;min-width:0}.info .field,.info input,.info textarea,.info select{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.wide{width:100%;justify-content:center}.tag-checks{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.tag-check{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--border,#dbe3ec);border-radius:999px;max-width:100%;cursor:pointer}.tag-check span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag-check input{width:auto;flex:0 0 auto}.icon-mini{width:30px;height:30px;border:1px solid var(--border,#dbe3ec);border-radius:9px;background:transparent;display:grid;place-items:center}.mini-note{padding:8px 10px;border-radius:10px;background:#f7f9fc;display:grid;gap:3px;min-width:0}.mini-note b,.mini-note span{overflow-wrap:anywhere}.message-sender{text-transform:uppercase;letter-spacing:.02em}.conversation>*{min-width:0}.conversation p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat,.info,.conv-list{min-width:0;overflow:hidden}.messages{overflow-x:hidden}.message-wrap,.message-wrap p{max-width:100%;overflow-wrap:anywhere}.chat-attachment{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.inbox-layout{grid-template-columns:minmax(230px,30%) minmax(0,1fr)}.inbox-layout>.info{grid-column:1/-1;max-height:none}.info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.info>.profile,.info>.info-title{grid-column:1/-1}.info-block{margin-top:0}}
@media(max-width:720px){.inbox-layout{display:block}.inbox-layout>.panel{margin-bottom:12px}.info{display:block}.info-block{margin-top:14px}.head-actions{flex-wrap:wrap}.chat-head{align-items:flex-start;gap:10px}.composer-line{min-width:0}.composer-line textarea{min-width:0}}

/* Global form rhythm — every control stays visually separated and bounded */
.field{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;margin:0!important}.field>label:first-child{display:block!important;margin:0!important;line-height:1.35!important;font-weight:700}.field input,.field textarea,.field select{margin:0!important;width:100%!important}.settings-grid,.form-grid{row-gap:20px!important;column-gap:18px!important}.mail-fields{margin-top:20px!important}.mail-fields+.settings-grid,.settings-grid+.settings-grid{margin-top:20px!important}.actions-inline{margin-top:22px!important;padding-top:16px!important;border-top:1px solid var(--line)!important;display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}.actions-inline .hint{line-height:1.45!important;color:#52657a!important}.panel-head{margin-bottom:20px!important}.modal-card form{gap:20px!important}.modal-card .settings-grid{row-gap:20px!important}.switch-line{min-height:40px!important;align-items:center!important}.auth-message{padding:12px 14px;border-radius:10px;margin:16px 0 4px;line-height:1.45}.auth-message.ok{background:#edf9f5;border:1px solid #bce9db;color:#08705c}.auth-message.error{background:#fff4f4;border:1px solid #f2c5c5;color:#9f2525}.login-back{text-align:center;margin-top:18px}.login-back a{color:#0d806b;text-decoration:none;font-weight:700}@media(max-width:760px){.settings-grid,.form-grid{row-gap:16px!important}.actions-inline{align-items:stretch!important;flex-direction:column!important}.actions-inline>*{width:100%}}

/* Login switch isolation: the hidden checkbox must never cover sibling actions. */
.login-card .form-line{position:relative}
.login-card .switch-line{position:relative;display:inline-flex!important;flex:0 0 auto;cursor:pointer}
.login-card .switch-line input[type="checkbox"]{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;margin:0!important;padding:0!important;opacity:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}
.login-card .switch-line span{flex:0 0 38px;cursor:pointer}
.login-card .form-line>a{position:relative;z-index:2;display:inline-flex;align-items:center;min-height:40px;padding:0 2px}

/* Billing layout: consistent separation, readable controls and no touching cards */
.billing-panel + .billing-panel{margin-top:18px!important}
.billing-assignment-panel .tenant-plan-list{display:grid;gap:14px}
.billing-assignment-panel .tenant-plan-row{padding:18px!important;gap:20px!important;align-items:center!important;background:var(--surface);overflow:visible}
.billing-assign-form{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(170px,220px)!important;gap:14px!important;align-items:end!important;width:min(100%,720px)!important;min-width:0!important}
.billing-control{display:grid;gap:7px;min-width:0}
.billing-control>label{font-weight:700;font-size:12px;color:var(--text);line-height:1.3}
.billing-control select{width:100%!important;min-width:0!important;min-height:42px!important;padding:9px 38px 9px 12px!important;color:var(--text)!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:10px!important}
.billing-control .select2-container{width:100%!important;min-width:0!important}
.billing-control .select2-selection--single{min-height:42px!important;height:42px!important;display:flex!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important}
.billing-control .select2-selection__rendered{width:100%!important;line-height:40px!important;padding-left:12px!important;padding-right:34px!important;color:var(--text)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.billing-control .select2-selection__arrow{height:40px!important;right:8px!important}
.billing-assign-button{grid-column:1/-1;width:100%;min-height:42px}
.select2-dropdown{min-width:180px!important;border-color:var(--line)!important;background:var(--surface)!important;color:var(--text)!important}
.select2-results__option{padding:9px 12px!important;white-space:normal!important;overflow-wrap:anywhere!important;color:var(--text)!important;background:var(--surface)!important}
.select2-results__option--highlighted{background:var(--accent)!important;color:#fff!important}
@media(max-width:980px){.billing-assignment-panel .tenant-plan-row{align-items:stretch!important;flex-direction:column!important}.billing-assign-form{width:100%!important;grid-template-columns:minmax(0,1fr) minmax(160px,.55fr)!important}}
@media(max-width:640px){.billing-assign-form{grid-template-columns:1fr!important}.billing-assign-button{grid-column:1}.billing-panel + .billing-panel{margin-top:14px!important}}

/* 2026-09-27 global visual order + subscriptions polish */
.panel{margin-bottom:18px!important}
.panel:last-child{margin-bottom:0!important}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px!important}
.panel-head>div{display:grid;gap:5px;min-width:0}
.panel-head small,.field-help,.hint{line-height:1.5!important}
.settings-grid>.field,.form-grid>.field{padding:0!important}
.field+.field{min-width:0}
.modal-actions{margin-top:4px!important;gap:10px!important}

.billing-assignment-panel{overflow:visible!important}
.billing-assignment-panel .tenant-plan-list{gap:16px!important}
.billing-assignment-panel .tenant-plan-row{display:grid!important;grid-template-columns:minmax(260px,.9fr) minmax(440px,1.35fr)!important;gap:28px!important;padding:22px!important;border-radius:16px!important;background:var(--surface2)!important;border:1px solid var(--line)!important;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.tenant-company-summary{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px;align-items:center;min-width:0}
.tenant-company-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e9f8f4;color:var(--accent2);font-size:18px}
.tenant-company-copy{display:grid;gap:6px;min-width:0}
.tenant-company-copy b{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.tenant-company-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#52657a;font-size:12px;line-height:1.4}
.tenant-company-meta .dot{width:4px;height:4px;border-radius:50%;background:#94a3b8;flex:0 0 auto}
.billing-assign-form{width:100%!important;max-width:none!important;grid-template-columns:minmax(220px,1fr) minmax(180px,220px)!important;gap:16px!important;margin:0!important;padding:0!important;align-items:end!important}
.billing-control{gap:8px!important}
.billing-control>label{font-size:12px!important;letter-spacing:.01em}
.billing-control .select2-container,.billing-control select{width:100%!important}
.billing-status-control{min-width:180px!important}
.billing-assign-button{margin-top:2px!important}
.billing-empty-note{grid-column:1/-1;padding:10px 12px;border:1px solid #f0d6a7;border-radius:10px;background:#fff9ed;color:#8a5a00;font-size:12px;line-height:1.45}

/* Select2/native select readability in every module */
select{max-width:100%;text-overflow:ellipsis}
.select2-container{max-width:100%!important}
.select2-container--default .select2-selection--single{overflow:hidden!important}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--text)!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select2-container--default .select2-results>.select2-results__options{max-height:260px!important;overflow-y:auto!important;overflow-x:hidden!important}
.select2-container--default .select2-results__option{min-height:38px!important;display:flex;align-items:center;line-height:1.35!important}

@media(max-width:1100px){
 .billing-assignment-panel .tenant-plan-row{grid-template-columns:1fr!important;gap:20px!important}
 .billing-assign-form{grid-template-columns:minmax(0,1fr) minmax(180px,.5fr)!important}
}
@media(max-width:680px){
 .billing-assignment-panel .tenant-plan-row{padding:16px!important}
 .billing-assign-form{grid-template-columns:1fr!important}
 .billing-status-control{min-width:0!important}
 .tenant-company-summary{grid-template-columns:38px minmax(0,1fr)}
 .tenant-company-icon{width:38px;height:38px;border-radius:11px}
}

/* ==========================================================
   ZYNKO GLOBAL UI INTEGRITY PASS — 2026-09-27
   Regla: nada pegado, nada cortado, nada fuera de su contenedor.
   ========================================================== */
:root{--zynko-section-gap:20px;--zynko-control-gap:9px;--zynko-row-gap:16px}
main>section+section,main>.panel+.panel,main>.channel-cards+.panel,main>.panel+.channel-cards{margin-top:var(--zynko-section-gap)!important}
.panel{min-width:0;overflow:visible}.panel.spaced{margin-top:var(--zynko-section-gap)!important}
.panel-head{gap:18px!important;margin-bottom:18px!important;flex-wrap:wrap}.panel-head>div{gap:4px;min-width:0}.panel-head small{line-height:1.5}
.settings-grid{column-gap:18px!important;row-gap:18px!important}.field{gap:var(--zynko-control-gap)!important;align-content:start}.field>label{display:block;line-height:1.35;margin:0!important}.field>small,.field-help{margin:0!important;line-height:1.5!important}
.field input,.field textarea,.field select{min-width:0!important}.select2-container{width:100%!important;min-width:0!important}.select2-container .select2-selection--single{width:100%!important;min-width:0!important}.select2-container .select2-selection__rendered{padding-right:34px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.select2-dropdown{z-index:100500!important;background:var(--surface,#fff)!important;color:var(--text,#122033)!important;border-color:var(--line,#e5eaf1)!important}.select2-results__option{padding:9px 12px!important;line-height:1.35!important;white-space:normal!important;color:var(--text,#122033)!important}.select2-results__option--highlighted{background:var(--accent,#13a88a)!important;color:#fff!important}
.modal-card{padding:22px!important;overflow-x:hidden!important}.modal-card form{gap:18px!important}.modal-head{margin-bottom:20px!important}.modal-actions{margin-top:4px!important;padding-top:18px!important;border-top:1px solid var(--line,#e5eaf1)!important;gap:10px!important}.modal-actions button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.modal-actions button i{margin:0!important}
.channel-cards{gap:18px!important}.channel-card{min-height:112px!important;padding:18px!important;grid-template-columns:50px minmax(0,1fr) auto!important;gap:18px!important}.channel-card>div{min-width:0}.channel-card p{line-height:1.5!important}.channel-card>button{min-width:126px;justify-self:end}.meta-requirement{margin-top:20px!important;padding:20px!important}.meta-requirement .panel-head{margin-bottom:12px!important}.meta-requirement p{margin:0!important;line-height:1.6!important}.steps{gap:12px!important}.steps span{min-width:0;min-height:58px}
.integration-card{min-height:76px!important;padding:16px!important;gap:16px!important}.integration-card+.integration-card{margin-top:2px}.integration-events{margin-top:2px}.integration-events>.field-help{margin-bottom:4px!important}.integration-events .check-grid{margin-top:0!important;gap:12px!important}.integration-events .check-grid label{min-height:46px!important;padding:12px 14px!important;line-height:1.35!important}.security-note,.api-doc,.meta-note,.nivo-guide{margin-top:2px!important;padding:15px!important;line-height:1.5!important}.security-note small,.api-doc small,.meta-note small,.nivo-guide small{line-height:1.55!important}
.billing-panel{padding:20px!important}.billing-assignment-panel{margin-top:20px!important}.plan-grid{gap:18px!important}.plan-card{padding:20px!important;gap:16px!important;min-width:0}.plan-card-head{gap:18px!important}.plan-card-head>div{gap:5px}.plan-card-head small{display:inline-flex!important;width:max-content;padding:4px 8px;border-radius:999px;background:#eaf8f4;color:var(--accent2,#0d806b);font-weight:700;margin-top:3px}.plan-price{display:flex;align-items:baseline;gap:4px}.plan-limits{gap:10px!important}.plan-features{gap:9px!important}.tenant-plan-list{gap:16px!important}.tenant-plan-row{padding:18px!important;gap:20px!important;background:var(--surface2,#f8fafc)}.tenant-company-summary{display:flex!important;align-items:center;gap:12px;min-width:220px!important}.tenant-company-icon{width:42px;height:42px;border-radius:12px;background:#e8f8f4;color:var(--accent2,#0d806b);display:grid;place-items:center;flex:0 0 auto}.tenant-company-copy{display:grid!important;gap:5px!important;min-width:0}.tenant-company-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted,#718096);font-size:12px}.tenant-company-meta .dot{width:4px;height:4px}.billing-assign-form{grid-template-columns:minmax(190px,1fr) minmax(170px,.8fr) auto!important;gap:14px!important;align-items:end!important;min-width:min(100%,620px)!important}.billing-control{display:grid;gap:8px;min-width:0}.billing-control>label{font-weight:700;line-height:1.3}.billing-status-control{min-width:170px}.billing-assign-button{min-height:42px;white-space:nowrap}.plan-card .switch-line{width:max-content;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--line,#e5eaf1);border-radius:10px;background:var(--surface2,#f8fafc);cursor:pointer}.plan-card .switch-line span{flex:0 0 38px}.small-modal .switch-line{width:max-content;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--line,#e5eaf1);border-radius:10px;background:var(--surface2,#f8fafc);cursor:pointer}.small-modal .switch-line span{flex:0 0 38px}
.upload-zone{margin:0!important;min-width:0!important}.upload-grid{gap:18px!important}.record-toolbar{gap:16px!important}.card-list{gap:12px!important}.user-card{padding:14px!important;gap:14px!important}.nivo-tabs{gap:10px!important}.nivo-section+.nivo-section{margin-top:20px!important}.nivo-list{gap:10px!important}.nivo-list-row{padding:14px!important;gap:12px!important}.mail-profile-grid{gap:16px!important}.mail-profile{padding:16px!important;gap:14px!important}
.welcome{gap:22px!important;margin-bottom:18px!important}.welcome>div{min-width:0}.welcome p{line-height:1.55!important}.welcome>button{flex:0 0 auto}.grid2{gap:18px!important;margin:18px 0!important}.kpis{gap:16px!important}
@media(max-width:1000px){.channel-card{grid-template-columns:50px minmax(0,1fr)!important}.channel-card>button{grid-column:2;justify-self:start}.billing-assign-form{grid-template-columns:1fr 1fr!important;width:100%;min-width:0!important}.billing-assign-button{grid-column:1/-1;width:100%}.tenant-plan-row{align-items:stretch!important}.tenant-company-summary{width:100%}}
@media(max-width:760px){:root{--zynko-section-gap:16px}.panel,.billing-panel,.modal-card{padding:16px!important}.channel-card{grid-template-columns:44px minmax(0,1fr)!important;padding:16px!important;gap:14px!important}.channel-card>button{grid-column:1/-1;width:100%;justify-self:stretch}.billing-assign-form{grid-template-columns:1fr!important}.billing-assign-button{grid-column:auto}.tenant-company-summary{min-width:0!important}.tenant-plan-row{padding:15px!important;gap:16px!important}.modal-actions{flex-direction:column-reverse}.modal-actions button{width:100%;flex:none!important}.welcome{align-items:stretch!important}.welcome>button{width:100%}.settings-grid{row-gap:16px!important}.integration-events .check-grid{gap:10px!important}}

/* ZYNKO — Integraciones: modal legible y responsive (2026-09-27) */
#integrationModal{padding:24px!important;overflow-y:auto!important;overflow-x:hidden!important}
#integrationModal .modal-card{width:min(900px,calc(100vw - 48px))!important;max-width:900px!important;max-height:calc(100dvh - 48px)!important;padding:26px!important;overflow-y:auto!important;overflow-x:hidden!important}
#integrationModal .modal-head{align-items:flex-start!important;gap:20px!important;margin-bottom:24px!important}
#integrationModal .modal-head>div{min-width:0!important;gap:5px!important}
#integrationModal .modal-head b{font-size:18px!important;line-height:1.3!important}
#integrationModal .modal-head small{font-size:13px!important;line-height:1.45!important;white-space:normal!important}
#integrationModal form{display:grid!important;grid-template-columns:1fr!important;gap:22px!important;min-width:0!important}
#integrationModal .field{width:100%!important;min-width:0!important;gap:8px!important}
#integrationModal .field>label:first-child{width:auto!important;max-width:none!important;white-space:normal!important;word-break:normal!important;overflow:visible!important}
#integrationModal .field input[type="text"],#integrationModal .field input[type="url"]{width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important}
#integrationModal .integration-events{display:grid!important;gap:8px!important}
#integrationModal .integration-events>.field-help{display:block!important;margin:0 0 4px!important;white-space:normal!important;overflow:visible!important}
#integrationModal .check-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;width:100%!important;min-width:0!important}
#integrationModal .check-grid label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:52px!important;padding:13px 14px!important;margin:0!important;white-space:normal!important;word-break:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35!important}
#integrationModal .check-grid label input[type="checkbox"]{position:static!important;opacity:1!important;appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;flex:0 0 18px!important;margin:0!important;padding:0!important}
#integrationModal .modal-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin-top:0!important;padding-top:20px!important;overflow:visible!important}
#integrationModal .modal-actions button{width:auto!important;min-width:150px!important;white-space:nowrap!important}
@media(max-width:820px){#integrationModal .check-grid{grid-template-columns:1fr!important}#integrationModal .modal-card{width:min(680px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px)!important;padding:20px!important}#integrationModal{padding:16px!important}}
@media(max-width:520px){#integrationModal{padding:10px!important}#integrationModal .modal-card{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:16px!important;border-radius:14px!important}#integrationModal .modal-actions{flex-direction:column-reverse!important;align-items:stretch!important}#integrationModal .modal-actions button{width:100%!important;min-width:0!important}.modal-head .modal-close{flex:0 0 38px!important}}

/* ZYNKO — Crear plan: estado claramente identificable (2026-09-27) */
#planModal .plan-status-field{gap:9px!important;padding-top:2px!important}
#planModal .plan-active-switch{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:none!important;min-height:66px!important;padding:12px 14px!important;border:1px solid var(--line,#e5eaf1)!important;border-radius:12px!important;background:var(--surface2,#f8fafc)!important;cursor:pointer!important}
#planModal .plan-active-switch>input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
#planModal .plan-active-switch>span:first-of-type{display:block!important;position:relative!important;width:42px!important;height:24px!important;min-width:42px!important;flex:0 0 42px!important;border-radius:999px!important;background:#cbd5e1!important;transition:.2s!important}
#planModal .plan-active-switch>span:first-of-type:after{content:""!important;position:absolute!important;width:18px!important;height:18px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.25)!important;transition:.2s!important}
#planModal .plan-active-switch>input[type="checkbox"]:checked+span:first-of-type{background:var(--accent2,#0d806b)!important}
#planModal .plan-active-switch>input[type="checkbox"]:checked+span:first-of-type:after{left:21px!important}
#planModal .plan-active-copy{display:grid!important;gap:2px!important;min-width:0!important;width:auto!important;height:auto!important;background:transparent!important;border-radius:0!important;position:static!important;flex:1 1 auto!important}
#planModal .plan-active-copy:after{display:none!important}
#planModal .plan-active-copy b{font-size:14px!important;line-height:1.3!important}
#planModal .plan-active-copy small{display:block!important;color:var(--muted,#718096)!important;font-size:12px!important;line-height:1.4!important;font-weight:500!important}
#planModal .plan-status-field>.field-help{margin:0!important;line-height:1.45!important}

/* ZYNKO Premium Experience v1 — shell, command center, realtime and accessibility */
.realtime-pill{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface2);color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap;transition:.2s ease}.realtime-pill i{font-size:7px;color:#f59e0b}.realtime-pill.connected{background:#ecfdf5;border-color:#cceee2;color:#08705c}.realtime-pill.connected i{color:#10b981}.realtime-pill.offline{background:#fff7ed;border-color:#fed7aa;color:#b45309}.realtime-pill.offline i{color:#f59e0b}
.search-modal{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.search-box{padding:0!important;overflow:hidden;border-radius:22px!important;box-shadow:0 32px 100px rgba(4,12,24,.32)!important}.search-box>div:first-child{padding:18px 20px 12px}.search-box>div:first-child>div{display:grid;gap:2px}.command-subtitle{display:block!important}.command-input{margin:0 20px 10px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface2);border-radius:13px;padding:0 12px}.command-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent)}.command-input input{margin:0!important;padding:14px 0!important;border:0!important;background:transparent!important;outline:0}.command-input>i{color:var(--muted)}.command-input kbd,.command-footer kbd{border:1px solid var(--line);background:var(--surface);padding:2px 6px;border-radius:6px;color:var(--muted);font-size:10px}.command-results{display:grid;gap:4px;padding:8px 12px 14px;max-height:min(430px,55vh);overflow:auto}.command-item{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--text);text-align:left}.command-item:hover,.command-item.active{background:var(--surface2)}.command-item>i{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--accent2);background:var(--surface)}.command-item div{display:grid;gap:2px}.command-item b{font-size:13px}.command-item small{font-size:11px;color:var(--muted)}.command-item>span{font-size:11px;color:var(--muted)}.command-empty{padding:34px;text-align:center;color:var(--muted)}.command-footer{display:flex;gap:16px;align-items:center;padding:11px 20px;border-top:1px solid var(--line);background:var(--surface2);color:var(--muted);font-size:10px}.command-footer span{display:flex;align-items:center;gap:4px}
#zynkoProgress{position:fixed;left:0;top:0;height:3px;width:0;z-index:200000;background:var(--accent);box-shadow:0 0 12px color-mix(in srgb,var(--accent) 65%,transparent);transition:width .2s ease,opacity .25s ease;opacity:0}#zynkoProgress.run{opacity:1}
.panel,.kpis article,.channel-card,.record-card,.user-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.panel:hover,.kpis article:hover{border-color:color-mix(in srgb,var(--accent) 22%,var(--line));box-shadow:0 14px 38px rgba(17,34,51,.09)}button,a,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 22%,transparent)!important;outline-offset:2px}.primary,.soft,.user-chip,.global-search{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.primary:hover{transform:translateY(-1px);box-shadow:0 8px 20px color-mix(in srgb,var(--accent) 22%,transparent)}
@media(max-width:900px){.realtime-pill span{display:none}.realtime-pill{width:36px;padding:0;justify-content:center}}@media(max-width:560px){.realtime-pill{display:none}.command-footer{display:none}.search-modal{padding:3vh 10px}.search-box{border-radius:16px!important}.command-results{max-height:60vh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Premium v1.1 — centered command center and consistent modal positioning */
.modal-shell{align-items:center!important;justify-items:center!important;place-items:center!important;overflow:auto!important}
.search-modal{padding:20px!important;align-items:center!important;justify-content:center!important;overflow:auto!important}
.search-modal.open{display:flex!important}
.search-box{width:min(760px,calc(100vw - 40px))!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;display:block!important;overflow:hidden!important;transform:none!important}
.search-box>div:first-child{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.command-input{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important}
.command-results{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
.command-item{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;width:100%!important;min-width:0!important;padding:11px 12px!important}
.command-item>div{display:grid!important;min-width:0!important}.command-item b,.command-item small{white-space:normal!important;overflow-wrap:anywhere!important}.command-item>span{white-space:nowrap!important}
.command-footer{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap!important}
@media(max-width:560px){.search-modal{padding:10px!important}.search-box{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}.command-item{grid-template-columns:38px minmax(0,1fr)!important}.command-item>span{display:none!important}.command-footer{display:none!important}}

/* Premium omnichannel inbox v2 */
.inbox-premium-toolbar{display:grid;gap:14px;margin-bottom:16px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 28px rgba(17,34,51,.05)}.inbox-view-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.inbox-view-title b{display:block;font-size:16px}.inbox-view-title small{display:block;margin-top:3px;color:var(--muted)}.view-count{font-size:12px;font-weight:800;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,transparent);padding:7px 10px;border-radius:999px;white-space:nowrap}.inbox-filters{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr)) auto;gap:10px;align-items:end}.inbox-filters label{min-width:0}.inbox-filters label>span{display:block;margin-bottom:6px;font-size:11px;font-weight:800;color:var(--muted)}.inbox-filters .select2-container{width:100%!important}.clear-inbox-filters{min-height:42px}.conversation{position:relative;grid-template-columns:auto minmax(0,1fr) auto!important;gap:11px!important;padding:12px!important}.channel-avatar{position:relative;overflow:visible!important}.channel-badge{position:absolute;right:-4px;bottom:-3px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:10px;background:var(--surface);border:2px solid var(--surface);box-shadow:0 1px 5px rgba(0,0,0,.12)}.channel-badge.whatsapp{color:#16a34a}.channel-badge.messenger{color:#2563eb}.channel-badge.instagram{color:#db2777}.conversation-copy{min-width:0}.conversation-line{display:flex;align-items:center;gap:7px;min-width:0}.conversation-line b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-badge{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:inline-grid;place-items:center;background:var(--accent);color:white;font-size:10px;font-weight:900}.conversation-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.conversation-meta span{font-size:10px;color:var(--muted);display:inline-flex;align-items:center;gap:4px}.conversation-meta .sla-risk{color:#b45309;font-weight:800}.conversation-meta .unassigned{color:#64748b}.priority-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.priority-dot.high{background:#f59e0b}.priority-dot.urgent{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.10)}.bulk-check{display:none}.bulk-mode .conversation{grid-template-columns:24px auto minmax(0,1fr) auto!important}.bulk-mode .bulk-check{display:grid;place-items:center}.bulk-check input{width:16px;height:16px}.bulk-bar{margin:8px 10px;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);display:flex;align-items:center;gap:7px;flex-wrap:wrap}.bulk-bar[hidden]{display:none}.bulk-bar b{margin-right:auto;font-size:11px}.channel-health-mini{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:var(--surface2);font-size:11px;font-weight:800}.customer-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.customer-facts span{padding:9px;border:1px solid var(--line);border-radius:10px;min-width:0}.customer-facts small,.customer-facts b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-facts small{font-size:9px;color:var(--muted);text-transform:uppercase;font-weight:800}.customer-facts b{font-size:11px;margin-top:3px}.nivo-summary{margin:10px 14px 0;padding:11px 12px;border:1px solid color-mix(in srgb,var(--accent) 25%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--surface));display:flex;gap:10px}.nivo-summary[hidden]{display:none}.nivo-summary>i{color:var(--accent);margin-top:3px}.nivo-summary b,.nivo-summary small{display:block}.nivo-summary p{margin:4px 0;line-height:1.45;font-size:12px}.nivo-summary small{color:var(--muted);font-size:10px}.chat-head small i{margin-right:3px}
@media(max-width:980px){.inbox-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.clear-inbox-filters{width:100%}}@media(max-width:620px){.inbox-view-title{align-items:flex-start;flex-direction:column}.inbox-filters{grid-template-columns:1fr}.customer-facts{grid-template-columns:1fr}.inbox-premium-toolbar{padding:14px}}

/* Premium omnichannel empty states */
.inbox-empty-state{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--text,#122033)}
.inbox-empty-list{min-height:360px;padding:36px 18px}.inbox-empty-chat{height:100%;min-height:420px;padding:44px clamp(20px,5vw,64px)}
.empty-copy{display:flex;flex-direction:column;align-items:center;max-width:620px;min-width:0}.empty-copy h2{margin:12px 0 7px;font-size:clamp(22px,2.2vw,30px);letter-spacing:-.025em}.empty-copy>b{font-size:17px;margin:13px 0 6px}.empty-copy>p,.empty-copy>span:not(.empty-eyebrow){margin:0;color:var(--muted,#718096);line-height:1.65;max-width:560px}
.empty-eyebrow{display:inline-flex!important;align-items:center;gap:7px;width:max-content;max-width:100%;padding:7px 10px;border:1px solid color-mix(in srgb,var(--accent,#13a88a) 24%,transparent);border-radius:999px;background:color-mix(in srgb,var(--accent,#13a88a) 8%,var(--surface,#fff));color:var(--accent2,#0d806b)!important;font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.empty-hero-icon{position:relative;width:86px;height:86px;display:grid;place-items:center;border-radius:26px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent,#13a88a) 15%,var(--surface,#fff)),var(--surface,#fff));border:1px solid color-mix(in srgb,var(--accent,#13a88a) 20%,var(--line,#e5eaf1));box-shadow:0 18px 50px rgba(13,128,107,.12);color:var(--accent2,#0d806b);font-size:32px;margin-bottom:18px}.empty-hero-icon>span{position:absolute;right:-6px;bottom:-5px;width:30px;height:30px;border-radius:11px;display:grid;place-items:center;background:var(--accent,#13a88a);color:#fff;border:4px solid var(--surface,#fff);font-size:10px}
.empty-steps{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px}.empty-steps>span{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:10px;padding:13px;border:1px solid var(--line,#e5eaf1);border-radius:14px;background:var(--surface2,#f8fafc);min-width:0}.empty-steps i{grid-row:1/3;width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--accent,#13a88a) 12%,var(--surface,#fff));color:var(--accent2,#0d806b);font-size:11px}.empty-steps b{font-size:12px}.empty-steps small{font-size:10px;color:var(--muted,#718096);line-height:1.35;margin-top:2px}
.empty-orbit{width:112px;height:112px;position:relative;margin-bottom:8px}.orbit-ring{position:absolute;inset:14px;border:1px dashed color-mix(in srgb,var(--accent,#13a88a) 30%,var(--line,#e5eaf1));border-radius:50%}.orbit-core{position:absolute;inset:31px;display:grid;place-items:center;border-radius:22px;background:var(--surface,#fff);border:1px solid var(--line,#e5eaf1);box-shadow:0 12px 30px rgba(13,128,107,.12);color:var(--accent2,#0d806b);font-size:22px}.orbit-channel{position:absolute;width:29px;height:29px;display:grid;place-items:center;border-radius:10px;background:var(--surface,#fff);border:1px solid var(--line,#e5eaf1);box-shadow:0 8px 20px rgba(17,34,51,.08);font-size:14px}.orbit-channel.wa{left:1px;top:40px;color:#18a86b}.orbit-channel.msg{right:4px;top:14px;color:#1685e5}.orbit-channel.ig{right:8px;bottom:8px;color:#a83da0}.empty-channel-pills{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:15px}.empty-channel-pills span{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--line,#e5eaf1);border-radius:999px;background:var(--surface2,#f8fafc);font-size:10px;color:var(--muted,#718096)}
@media(max-width:720px){.inbox-empty-list{min-height:260px;padding:28px 14px}.inbox-empty-chat{min-height:480px;padding:32px 16px}.empty-steps{grid-template-columns:1fr}.empty-copy h2{font-size:22px}.empty-orbit{transform:scale(.9)}}
@media(prefers-reduced-motion:no-preference){.empty-hero-icon,.orbit-core{animation:zynkoEmptyFloat 4s ease-in-out infinite}@keyframes zynkoEmptyFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}}


/* Premium omnichannel v2.2 — compact viewport-fit inbox */
body:has(.inbox-premium-toolbar) main{padding-top:18px;padding-bottom:18px}
.inbox-premium-toolbar{gap:10px;margin-bottom:10px;padding:12px 14px;border-radius:14px}
.inbox-view-title small{margin-top:1px}.inbox-filters{gap:8px}.inbox-filters label>span{margin-bottom:4px}.clear-inbox-filters{min-height:38px}
.inbox-layout{height:calc(100dvh - 246px);min-height:430px;gap:10px}
.inbox-layout>.panel{padding:14px}.conv-list{display:flex;flex-direction:column;overflow:hidden!important}.conv-list .panel-head{margin-bottom:10px}.inbox-search{margin-bottom:6px}.conversation-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
.inbox-empty-list{height:100%;min-height:0;padding:18px 12px;justify-content:center}.inbox-empty-list .empty-orbit{width:82px;height:82px;margin-bottom:3px}.inbox-empty-list .orbit-ring{inset:11px}.inbox-empty-list .orbit-core{inset:23px;border-radius:17px;font-size:17px}.inbox-empty-list .orbit-channel{width:23px;height:23px;border-radius:8px;font-size:11px}.inbox-empty-list .orbit-channel.wa{top:29px}.inbox-empty-list .orbit-channel.msg{top:8px}.inbox-empty-list .empty-copy>b{font-size:14px;margin:8px 0 4px}.inbox-empty-list .empty-copy>span:not(.empty-eyebrow){font-size:11px;line-height:1.45}.inbox-empty-list .empty-channel-pills{margin-top:9px;gap:4px}.inbox-empty-list .empty-channel-pills span{padding:4px 6px;font-size:9px}.inbox-empty-list .empty-eyebrow{padding:5px 7px;font-size:9px}
.inbox-empty-chat{height:100%;min-height:0;padding:22px clamp(18px,3vw,42px)}.inbox-empty-chat .empty-hero-icon{width:66px;height:66px;border-radius:20px;font-size:24px;margin-bottom:11px}.inbox-empty-chat .empty-hero-icon>span{width:25px;height:25px;border-radius:9px}.inbox-empty-chat .empty-copy h2{font-size:clamp(19px,1.8vw,25px);margin:8px 0 5px}.inbox-empty-chat .empty-copy>p{font-size:11px;line-height:1.5;max-width:520px}.inbox-empty-chat .empty-eyebrow{padding:5px 8px;font-size:9px}.inbox-empty-chat .empty-steps{margin-top:14px;gap:7px}.inbox-empty-chat .empty-steps>span{padding:9px}.inbox-empty-chat .empty-steps i{width:24px;height:24px}.inbox-empty-chat .empty-steps b{font-size:11px}.inbox-empty-chat .empty-steps small{font-size:9px}
.info>.empty-compact{height:100%;min-height:0;padding:20px}
@media(max-height:780px) and (min-width:761px){body:has(.inbox-premium-toolbar) main{padding-top:12px;padding-bottom:12px}.inbox-premium-toolbar{padding:9px 12px;margin-bottom:8px}.inbox-view-title small{display:none}.inbox-filters label>span{font-size:9px}.inbox-layout{height:calc(100dvh - 218px);min-height:360px}.inbox-empty-list .empty-channel-pills{display:none}.inbox-empty-chat .empty-steps{margin-top:10px}.inbox-empty-chat{padding-top:14px;padding-bottom:14px}}
@media(max-width:1050px){.inbox-layout{height:calc(100dvh - 250px)}}
@media(max-width:760px){body:has(.inbox-premium-toolbar) main{padding-top:78px}.inbox-layout{height:auto;min-height:0}.conv-list{max-height:380px;min-height:280px}.inbox-empty-list{min-height:220px}.inbox-empty-chat{min-height:420px}.inbox-premium-toolbar{margin-bottom:10px}}

/* Premium omnichannel v2.3 — alignment, compact actions, searchable selects */
body:has(.inbox-premium-toolbar){overflow-y:hidden}
body:has(.inbox-premium-toolbar) main{height:calc(100dvh - 68px);overflow:hidden;display:flex;flex-direction:column;padding-top:12px!important;padding-bottom:12px!important}
.inbox-premium-toolbar{flex:0 0 auto;padding:10px 14px!important;margin-bottom:8px!important;gap:8px!important}
.inbox-view-title{min-height:30px}.inbox-view-title small{margin-top:0!important}.view-count{padding:5px 9px}
.inbox-filters{grid-template-columns:repeat(3,minmax(0,1fr)) 126px!important;gap:10px!important;align-items:end!important}
.inbox-filters label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.inbox-filters label>span{height:17px;margin:0 0 4px!important;display:flex!important;align-items:center}
.inbox-filters .select2-container,.inbox-filters .select2-selection{min-height:38px!important}
.inbox-filters .select2-selection--single{display:flex!important;align-items:center!important}
.inbox-filters .select2-selection__rendered{line-height:36px!important;padding-left:11px!important}
.inbox-filters .select2-selection__arrow{height:36px!important}
.clear-inbox-filters{height:38px!important;min-height:38px!important;width:126px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:0!important;white-space:nowrap}
.inbox-layout{flex:1;height:auto!important;min-height:0!important;overflow:hidden;grid-template-columns:minmax(280px,310px) minmax(390px,1fr) minmax(230px,260px);gap:10px!important}
.inbox-layout>.panel{height:100%;min-height:0;overflow:hidden}.chat,.info{min-height:0!important}
.conv-list{padding:12px!important}.conv-list .panel-head{align-items:center!important;flex-wrap:nowrap!important;margin-bottom:8px!important;gap:8px!important}.conv-list .panel-head>div:first-child{min-width:0;flex:1}.conv-list .panel-head small{font-size:10px}
.conv-list .head-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;flex:0 0 auto}.conv-list .head-actions .soft{height:34px!important;min-height:34px!important;padding:7px 9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap;font-size:11px}
.inbox-search{margin:0 0 6px!important;min-height:38px}.bulk-bar{margin:0 0 6px!important;padding:7px 8px!important;flex-wrap:nowrap!important;min-height:38px}.bulk-bar .soft{padding:6px 8px!important;white-space:nowrap}
.conversation-scroll{overscroll-behavior:contain;scrollbar-width:thin}.inbox-empty-list{padding:10px 8px!important}.inbox-empty-list .empty-orbit{width:72px!important;height:72px!important}.inbox-empty-list .empty-copy>b{font-size:13px!important}.inbox-empty-list .empty-copy>span:not(.empty-eyebrow){font-size:10px!important}.inbox-empty-chat{padding:14px 22px!important}.inbox-empty-chat .empty-steps{max-width:650px}
.select2-container--open{z-index:10050!important}.select2-search--dropdown{padding:8px!important}.select2-search__field{width:100%!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:9px!important;padding:7px 10px!important;outline:none!important;background:var(--surface)!important;color:var(--text)!important}.select2-results__option{padding:9px 11px!important}
@media(max-height:760px) and (min-width:761px){.inbox-view-title small{display:none}.inbox-premium-toolbar{padding:8px 12px!important}.conv-list .panel-head small{display:none}.inbox-empty-list .empty-channel-pills{display:none}.inbox-empty-chat .empty-hero-icon{width:54px;height:54px;font-size:20px;margin-bottom:7px}.inbox-empty-chat .empty-copy h2{font-size:19px}.inbox-empty-chat .empty-steps{margin-top:8px}}
@media(max-width:1050px) and (min-width:761px){.inbox-layout{grid-template-columns:minmax(270px,300px) minmax(360px,1fr)}.info{display:none!important}.inbox-filters{grid-template-columns:repeat(3,minmax(0,1fr)) 112px!important}.clear-inbox-filters{width:112px!important}}
@media(max-width:760px){body:has(.inbox-premium-toolbar){overflow-y:auto}body:has(.inbox-premium-toolbar) main{height:auto;overflow:visible;display:block}.inbox-filters{grid-template-columns:1fr!important}.clear-inbox-filters{width:100%!important}.inbox-layout{display:grid!important;height:auto!important;overflow:visible}.conv-list .panel-head{flex-wrap:wrap!important}.conv-list .head-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr}.conv-list .head-actions .soft{width:100%}.conv-list{max-height:none!important}.conversation-scroll{max-height:330px}}

/* ZYNKO V2.5 — Premium responsive channel catalog */
.channel-welcome{margin-bottom:14px!important}.channel-overview{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.channel-overview>div{display:flex;align-items:center;gap:7px;padding:5px 10px;border-right:1px solid var(--line)}.channel-overview>div:last-child{border-right:0}.channel-overview b{font-size:18px}.channel-overview span{color:var(--muted);font-size:12px}.channel-overview .grow{flex:1;justify-content:flex-end}.channel-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important;gap:16px!important;align-items:stretch}.channel-grid .channel-tile{display:flex!important;flex-direction:column;min-height:230px!important;padding:18px!important;gap:14px!important}.channel-tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.channel-tile-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.channel-tile-copy h3{margin:0!important;font-size:16px}.channel-tile-copy p{margin:0!important;font-size:13px;line-height:1.5!important;color:var(--muted)}.channel-tile-actions{display:flex;align-items:center;margin-top:auto}.channel-tile-actions .soft{width:100%;min-width:0!important;justify-content:center!important}.channel-state{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;font-size:10px;color:var(--muted);white-space:nowrap}.channel-state i{font-size:6px}.channel-state.connected{color:#08705c;background:#eefbf7;border-color:#ccefe4}.channel-state.warning{color:#9a6700;background:#fff9e9;border-color:#f4dfaa}.channel-account{display:flex;align-items:center;gap:6px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-icon{flex:0 0 46px;font-size:21px}.channel-icon.messenger{background:#eef4ff;color:#2563eb}.channel-icon.instagram{background:#fff1f5;color:#c13584}.channel-icon.webchat{background:#eefbf7;color:#08705c}.channel-icon.telegram{background:#eef8ff;color:#229ed9}.channel-icon.email{background:#f3f4f6;color:#475569}.channel-catalog-modal{width:min(760px,calc(100vw - 32px))!important}.channel-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:6px}.channel-catalog-item{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:12px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);min-width:0;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.channel-catalog-item:hover:not(.coming-soon){border-color:color-mix(in srgb,var(--accent) 38%,var(--line));box-shadow:0 8px 22px rgba(17,34,51,.08);transform:translateY(-1px)}.channel-catalog-item>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}.channel-catalog-item small{color:var(--muted);font-size:11px}.channel-catalog-item.coming-soon{opacity:.62;cursor:not-allowed}.channel-catalog-item>i{color:var(--muted);justify-self:end}.steps{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media(max-width:1180px){.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.steps{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.channel-overview{align-items:stretch;flex-wrap:wrap}.channel-overview .grow{flex-basis:100%;justify-content:flex-start;border-right:0;border-top:1px solid var(--line);padding-top:10px}.channel-grid,.channel-catalog-grid{grid-template-columns:1fr!important}.channel-grid .channel-tile{min-height:205px!important}.steps{grid-template-columns:1fr!important}}
/* V2.6 — Channel catalog administration + non-white actions */
.soft,.secondary-action{background:#10283a!important;color:#fff!important;border:1px solid #10283a!important;box-shadow:none!important}.soft:hover,.secondary-action:hover{background:#17384e!important;border-color:#17384e!important;color:#fff!important}.modal-close{background:#10283a!important;color:#fff!important;border:1px solid #10283a!important}.modal-close:hover{background:#17384e!important;color:#fff!important}.modal-actions .primary{background:var(--accent)!important;color:#fff!important}.channel-welcome-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.secondary-action{min-height:40px;padding:9px 14px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.channel-admin-list{display:grid;gap:10px}.channel-admin-row{display:grid;grid-template-columns:46px minmax(170px,1fr) auto auto auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.channel-admin-copy{display:grid;gap:3px}.channel-admin-copy small{color:var(--muted)}.switch-line{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;white-space:nowrap}.switch-line input{position:absolute;opacity:0;pointer-events:none}.switch-line span{width:34px;height:20px;border-radius:999px;background:#a9b5c4;position:relative;transition:.18s}.switch-line span:after{content:"";position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.18s}.switch-line input:checked+span{background:var(--accent)}.switch-line input:checked+span:after{transform:translateX(14px)}.switch-line.is-disabled{opacity:.45}.compact-save{min-height:36px;padding:8px 11px!important;white-space:nowrap}.channel-catalog-item.coming-soon{background:var(--surface2)!important}.channel-catalog-item.coming-soon>i{color:#7f91a7}.channel-catalog-item{background:var(--surface2)!important}.channel-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important}
@media(max-width:900px){.channel-admin-row{grid-template-columns:46px minmax(0,1fr) auto auto}.channel-admin-row .compact-save{grid-column:2/-1;width:100%}}
@media(max-width:620px){.channel-welcome-actions{width:100%;display:grid;grid-template-columns:1fr}.channel-admin-row{grid-template-columns:42px minmax(0,1fr)}.channel-admin-row .switch-line{grid-column:2}.channel-admin-row .compact-save{grid-column:1/-1}.secondary-action{width:100%}}
/* V2.8 — Clean channel catalog administration */
.channel-admin-list{gap:12px!important;margin-top:10px}.channel-admin-row{grid-template-columns:48px minmax(210px,1fr) 116px 116px auto!important;gap:14px!important;padding:14px 16px!important;background:#fff!important;min-height:82px}.channel-admin-copy b{font-size:14px;line-height:1.25}.channel-admin-copy small{font-size:11px;line-height:1.35}.channel-admin-control{display:grid;grid-template-columns:1fr;gap:6px;align-items:start}.channel-admin-control>strong{display:block;font-size:11px;line-height:1.2;color:var(--text);font-style:normal}.channel-admin-control>small{font-size:10px;line-height:1.25;color:var(--muted)}.channel-admin-control .switch-line{justify-content:flex-start;gap:9px;font-size:11px}.channel-admin-control .switch-line em{font-style:normal!important;color:var(--text)!important;font-weight:700!important;opacity:1!important}.channel-admin-control .switch-line.is-disabled em{color:var(--muted)!important}.channel-admin-control .switch-line.is-disabled{opacity:1!important}.channel-admin-control .switch-line.is-disabled span{opacity:.55}.channel-admin-row .compact-save{min-width:96px;justify-content:center}.channel-admin-note{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:#f4f8fb;color:var(--muted);font-size:11px;line-height:1.4;margin:2px 0 10px}.channel-admin-note i{color:var(--accent);margin-top:2px}.channel-admin-footer{display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:900px){.channel-admin-row{grid-template-columns:46px minmax(0,1fr) auto!important}.channel-admin-copy{grid-column:2/3}.channel-admin-control{grid-column:2/3;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.channel-admin-row .compact-save{grid-column:3;grid-row:1/4;align-self:center}.channel-admin-control>strong,.channel-admin-control>small{display:none}}
@media(max-width:620px){.channel-admin-row{grid-template-columns:42px minmax(0,1fr)!important;padding:12px!important}.channel-admin-row .compact-save{grid-column:1/-1;grid-row:auto;width:100%}.channel-admin-control{grid-column:1/-1}.channel-admin-copy{grid-column:2}.channel-admin-list{gap:10px}}

/* V2.9 — estándar global para cerrar modales: icono perfectamente centrado */
.modal-head .modal-close,
.modal-head > button.modal-close,
#closeSearch{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  flex:0 0 40px!important;
  padding:0!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  text-align:center!important;
  border-radius:10px!important;
  background:#10283a!important;
  border:1px solid #10283a!important;
  color:#fff!important;
  box-sizing:border-box!important;
}
.modal-head .modal-close i,
.modal-head > button.modal-close i,
#closeSearch i{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  font-size:16px!important;
  transform:none!important;
}
.modal-head .modal-close:hover,
#closeSearch:hover{background:#17384e!important;border-color:#17384e!important;color:#fff!important}
.modal-head{align-items:flex-start!important}
.modal-head>div{min-width:0!important;flex:1 1 auto!important}
@media(max-width:520px){.modal-head .modal-close,#closeSearch{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex-basis:38px!important}}

/* V2.10 — Catálogo: controles totalmente legibles y sin solapamientos */
#channelAdminModal .channel-catalog-modal{width:min(980px,calc(100vw - 32px))!important;max-height:min(88vh,820px)!important;overflow:auto!important}
#channelAdminModal .channel-admin-row{grid-template-columns:52px minmax(220px,1fr) minmax(145px,165px) minmax(165px,185px) 112px!important;column-gap:18px!important;align-items:center!important;overflow:visible!important}
#channelAdminModal .channel-admin-control{min-width:0!important;overflow:visible!important}
#channelAdminModal .channel-admin-control>strong{white-space:normal!important;font-size:11px!important;line-height:1.3!important;margin:0!important}
#channelAdminModal .channel-admin-control .switch-line{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important;justify-content:start!important;gap:10px!important;width:100%!important;min-width:0!important;overflow:visible!important;white-space:normal!important}
#channelAdminModal .channel-admin-control .switch-line>span{display:block!important;width:38px!important;height:22px!important;min-width:38px!important;max-width:38px!important;flex:none!important;margin:0!important;overflow:visible!important}
#channelAdminModal .channel-admin-control .switch-line>span:after{width:16px!important;height:16px!important;left:3px!important;top:3px!important}
#channelAdminModal .channel-admin-control .switch-line input:checked+span:after{transform:translateX(16px)!important}
#channelAdminModal .channel-admin-control .switch-line>em{display:block!important;position:static!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;line-height:1.25!important;font-size:11px!important;color:var(--text)!important;font-weight:700!important;font-style:normal!important;transform:none!important}
#channelAdminModal .channel-admin-control .switch-line.is-disabled>em{color:var(--muted)!important}
#channelAdminModal .compact-save{width:112px!important;min-width:112px!important;padding:10px 12px!important;white-space:nowrap!important}
#channelAdminModal .channel-admin-copy{min-width:0!important}
#channelAdminModal .channel-admin-copy b,#channelAdminModal .channel-admin-copy small{display:block!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}
@media(max-width:900px){#channelAdminModal .channel-catalog-modal{width:min(760px,calc(100vw - 24px))!important}#channelAdminModal .channel-admin-row{grid-template-columns:48px minmax(0,1fr) 112px!important}#channelAdminModal .channel-admin-control{grid-column:2/3!important;display:grid!important;grid-template-columns:135px minmax(0,1fr)!important;align-items:center!important;gap:10px!important}#channelAdminModal .channel-admin-control>strong{display:block!important}#channelAdminModal .channel-admin-row .compact-save{grid-column:3!important;grid-row:1/4!important}}
@media(max-width:620px){#channelAdminModal .channel-catalog-modal{width:calc(100vw - 16px)!important}#channelAdminModal .channel-admin-row{grid-template-columns:44px minmax(0,1fr)!important}#channelAdminModal .channel-admin-control{grid-column:1/-1!important;grid-template-columns:1fr!important;gap:6px!important;padding-top:4px!important}#channelAdminModal .channel-admin-row .compact-save{grid-column:1/-1!important;grid-row:auto!important;width:100%!important}#channelAdminModal .channel-admin-note{font-size:10px!important}}


/* V2.11 — Login Remember + dialog actions premium consistency */
.login-card .form-line{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:42px!important}
.login-card .switch-line{display:inline-grid!important;grid-template-columns:40px auto!important;align-items:center!important;gap:10px!important;min-height:40px!important;width:auto!important;max-width:max-content!important;padding:0!important;border:0!important;background:transparent!important;color:var(--text,#0f172a)!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;overflow:visible!important}
.login-card .switch-line input[type="checkbox"]{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important}
.login-card .switch-line>span{position:relative!important;display:block!important;width:40px!important;height:22px!important;min-width:40px!important;max-width:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#cbd5e1!important;overflow:hidden!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)!important}
.login-card .switch-line>span:after{content:""!important;position:absolute!important;display:block!important;width:16px!important;height:16px!important;left:3px!important;top:3px!important;margin:0!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.18)!important;transform:translateX(0)!important;transition:transform .18s ease!important}
.login-card .switch-line input[type="checkbox"]:checked+span{background:#10a98b!important}
.login-card .switch-line input[type="checkbox"]:checked+span:after{left:3px!important;transform:translateX(18px)!important}
.login-card .switch-line:focus-within>span{box-shadow:0 0 0 3px rgba(16,169,139,.16)!important}
.login-card .form-line>a{min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;white-space:nowrap!important}

.zynko-dialog-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid transparent!important;color:#fff!important;box-shadow:none!important}
.zynko-dialog-actions button i{font-size:13px!important;line-height:1!important;color:inherit!important}
.zynko-dialog-cancel{background:#10283a!important;color:#fff!important;border-color:#10283a!important}
.zynko-dialog-cancel:hover{background:#17384e!important;border-color:#17384e!important;color:#fff!important}
.zynko-dialog-confirm{background:#10a98b!important;color:#fff!important;border-color:#10a98b!important}
.zynko-dialog-confirm:hover{background:#0d9279!important;border-color:#0d9279!important;color:#fff!important}
.zynko-dialog-icon.question{background:#eef8f6!important;color:#0d9279!important}
@media(max-width:520px){.login-card .form-line{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}.login-card .form-line>a{justify-content:flex-start!important}}
/* NIVO Web Chat */
.webchat-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px}.switch-stack{display:flex;gap:18px;flex-wrap:wrap}.preview-stage{min-height:430px;background:#eef3f6;border:1px solid var(--line);border-radius:18px;padding:28px;display:flex;align-items:flex-end;justify-content:flex-end;position:relative}.preview-chat{width:min(100%,330px);background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 45px rgba(15,23,42,.14);overflow:hidden}.preview-head{background:#0f172a;color:#fff;padding:15px;display:flex;gap:11px;align-items:center}.preview-head small{display:block;color:#b8c5d1}.nivo-orb{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#14b8a6}.preview-body{min-height:180px;padding:18px;background:#f8fafc}.preview-body span{display:inline-block;background:#fff;border:1px solid #dce5eb;border-radius:14px 14px 14px 4px;padding:11px 13px;color:#334155}.preview-input{margin:12px;border:1px solid #dce5eb;border-radius:12px;padding:11px;color:#94a3b8;display:flex;justify-content:space-between}.preview-launcher{position:absolute;right:14px;bottom:14px;width:56px;height:56px;border:0;border-radius:50%;color:#fff;font-size:20px;box-shadow:0 12px 28px rgba(15,23,42,.22)}.embed-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:center;background:#f8fafc;border:1px solid var(--line);padding:16px;border-radius:14px}.embed-box>div{grid-column:1/-1}.embed-box code{overflow:auto;white-space:nowrap;background:#0f172a;color:#d5f5ef;border-radius:10px;padding:12px}.installation-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:18px 0}.installation-list{display:grid;gap:10px}.installation-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px}.installation-row small{display:block;color:var(--muted);margin-top:3px}.icon-btn.danger{color:#b42318}@media(max-width:900px){.webchat-layout{grid-template-columns:1fr}.installation-form{grid-template-columns:1fr}.embed-box{grid-template-columns:1fr}.installation-row{grid-template-columns:auto minmax(0,1fr) auto auto}.installation-row .status-badge{grid-column:2/-1;justify-self:start}}


/* V2.12.3 — UI canonical: NIVO Web Chat + Select2 */
.nivo-webchat-page{display:block;width:100%;min-width:0}
.nivo-webchat-page .welcome{margin-bottom:16px}
.nivo-webchat-page .webchat-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:18px;align-items:start;width:100%;min-width:0;margin:0 0 18px}
.nivo-webchat-page .webchat-layout>.panel{position:static!important;inset:auto!important;float:none!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0!important;overflow:visible!important}
.nivo-webchat-page .webchat-preview{padding:18px!important}
.nivo-webchat-page .webchat-preview .panel-head{margin-bottom:14px!important}
.nivo-webchat-page .preview-stage{width:100%;min-height:420px;padding:22px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.nivo-webchat-page .preview-chat{width:min(100%,310px)}
.nivo-webchat-page .preview-launcher{right:18px;bottom:18px}
.nivo-webchat-page #webchatWidgetForm .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}
.nivo-webchat-page #webchatWidgetForm .field{min-width:0}
.nivo-webchat-page #webchatWidgetForm .field>label:first-child{font-size:12px;line-height:1.35;color:var(--text);font-weight:700}
.nivo-webchat-page #webchatWidgetForm input[type=color]{appearance:none;-webkit-appearance:none;width:100%;height:44px;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--surface);cursor:pointer}
.nivo-webchat-page #webchatWidgetForm input[type=color]::-webkit-color-swatch-wrapper{padding:0}.nivo-webchat-page #webchatWidgetForm input[type=color]::-webkit-color-swatch{border:0;border-radius:7px}
.nivo-webchat-page .switch-stack{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nivo-webchat-page .switch-line{position:relative;display:inline-grid!important;grid-template-columns:38px minmax(0,auto)!important;align-items:center!important;column-gap:12px!important;min-height:40px!important;width:auto!important;max-width:100%;padding:8px 10px!important;border:1px solid var(--line);border-radius:11px;background:var(--surface2);font-size:12px;font-weight:700;line-height:1.3;cursor:pointer}
.nivo-webchat-page .switch-line input[type=checkbox]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.nivo-webchat-page .switch-line>.switch-control{position:relative!important;display:block!important;flex:0 0 38px!important;width:38px!important;height:22px!important;border-radius:999px!important;background:#aab6c5!important;margin:0!important}
.nivo-webchat-page .switch-line>.switch-control:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.2);transition:left .18s ease}
.nivo-webchat-page .switch-line input:checked+.switch-control{background:var(--accent)!important}.nivo-webchat-page .switch-line input:checked+.switch-control:after{left:19px!important}.nivo-webchat-page .switch-label-text{display:block!important;min-width:0!important;color:var(--text)!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;white-space:normal!important}
.nivo-webchat-page #webchatWidgetForm .field.full>.switch-line{display:flex!important;width:100%!important}
.nivo-webchat-page #webchatWidgetForm .field-help{display:block;margin-top:5px;color:var(--muted);line-height:1.45}
.nivo-webchat-page #webchatWidgetForm .form-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.nivo-webchat-page #webchatWidgetForm .form-actions .primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px}
.channel-badge.webchat{color:var(--accent2)}.channel-icon.webchat{background:#e7f8f4;color:var(--accent2)}

/* Select2 canonical sizing — selection and dropdown always share one geometry */
.select2-container{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.select2-container--default .select2-selection--single{height:42px!important;min-height:42px!important;display:flex!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;overflow:hidden!important;box-sizing:border-box!important}
.select2-container--default .select2-selection--single .select2-selection__rendered{width:100%!important;line-height:40px!important;padding:0 38px 0 12px!important;color:var(--text)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:40px!important;top:0!important;right:8px!important}
.select2-container--open{z-index:100500!important}
.select2-container--open .select2-dropdown{box-sizing:border-box!important;border:1px solid var(--line)!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 14px 38px rgba(15,23,42,.16)!important;background:var(--surface)!important}
.select2-search--dropdown{padding:7px!important;background:var(--surface)!important;border-bottom:1px solid var(--line)!important}
.select2-search--dropdown .select2-search__field{width:100%!important;height:36px!important;min-height:36px!important;padding:7px 10px!important;margin:0!important;box-sizing:border-box!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--surface2)!important;color:var(--text)!important;outline:none!important}
.select2-results{background:var(--surface)!important}.select2-results__options{max-height:240px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:4px!important}.select2-results__option{min-height:38px!important;padding:9px 10px!important;border-radius:7px!important;display:flex!important;align-items:center!important;white-space:normal!important;line-height:1.35!important}.select2-results__option--highlighted[aria-selected]{background:var(--accent)!important;color:#fff!important}
.inbox-filters .select2-container{display:block!important;width:100%!important}.inbox-filters .select2-container--default .select2-selection--single{width:100%!important;height:40px!important;min-height:40px!important;background:var(--surface)!important;border:1px solid var(--line)!important}.inbox-filters .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:38px!important}.inbox-filters .select2-container--default .select2-selection--single .select2-selection__arrow{height:38px!important}
@media(max-width:1180px){.nivo-webchat-page .webchat-layout{grid-template-columns:1fr}.nivo-webchat-page .preview-stage{min-height:360px}.nivo-webchat-page .webchat-preview{order:2}}
@media(max-width:760px){.nivo-webchat-page #webchatWidgetForm .settings-grid{grid-template-columns:1fr}.nivo-webchat-page .switch-stack{display:grid;grid-template-columns:1fr}.nivo-webchat-page .switch-line{width:100%!important}.nivo-webchat-page .preview-stage{min-height:340px;padding:16px}}


/* ZYNKO V2.13 — consistencia visual global, badges, Web Chat y Suscripciones */
.ui-badge{display:inline-flex!important;align-items:center!important;justify-content:center;gap:7px;min-height:30px;padding:5px 10px;border:1px solid var(--line,#e2e8f0);border-radius:999px;background:var(--surface2,#f8fafc);color:var(--text,#122033);font-size:12px;font-weight:750;line-height:1;white-space:nowrap;text-transform:none}.ui-badge i{font-size:7px}.ui-badge.success{background:#eaf8f4;border-color:#ccefe5;color:#08705c}.ui-badge.success i{color:#10a88a}.ui-badge.muted{background:#f4f6f8;color:#64748b}.ui-badge.danger{background:#fff1f1;border-color:#ffd7d7;color:#a92727}.ui-badge.role{background:#f7f9fc;color:#24364b}.user-card>.ui-badge{justify-self:start}
#experience{scroll-margin-top:92px}.hash-focus{animation:zynkoFocus 1.35s ease}@keyframes zynkoFocus{0%,100%{box-shadow:var(--shadow)}45%{box-shadow:0 0 0 4px rgba(16,168,138,.16),var(--shadow)}}
/* Plan modal: ancho estable, menor altura visual y sin reflujo al cambiar controles */
#planModal{padding:22px!important;overflow:auto!important}#planModal .modal-card{width:820px!important;max-width:calc(100vw - 44px)!important;min-width:min(820px,calc(100vw - 44px))!important;max-height:calc(100dvh - 44px)!important;height:auto!important;padding:24px!important;overflow-y:auto!important;overflow-x:hidden!important}#planModal .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important}#planModal .field.full{grid-column:1/-1!important}#planModal textarea[name="features"]{min-height:88px!important;max-height:120px!important;resize:vertical}#planModal .plan-status-field{gap:8px!important}#planModal .plan-active-switch{min-height:58px!important;padding:10px 12px!important}#planModal .modal-actions{margin-top:0!important;padding-top:16px!important}
/* Web Chat: configuración compacta, clara y sin colisiones */
.nivo-webchat-page .settings-grid{align-items:start}.nivo-webchat-page .switch-line{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-height:42px!important;padding:8px 10px!important;margin:0!important;border:1px solid var(--line,#e2e8f0)!important;border-radius:10px!important;background:var(--surface2,#f8fafc)!important;overflow:visible!important}.nivo-webchat-page .switch-line>input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}.nivo-webchat-page .switch-control{display:block!important;position:relative!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:22px!important;border-radius:999px!important;background:#b8c6d5!important}.nivo-webchat-page .switch-control:after{content:""!important;position:absolute!important;display:block!important;width:16px!important;height:16px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.2)!important;transition:.18s!important}.nivo-webchat-page input[type="checkbox"]:checked+.switch-control{background:var(--accent,#13a88a)!important}.nivo-webchat-page input[type="checkbox"]:checked+.switch-control:after{left:21px!important}.nivo-webchat-page .switch-label-text{display:block!important;position:static!important;width:auto!important;height:auto!important;min-width:0!important;flex:1 1 auto!important;background:transparent!important;color:var(--text,#122033)!important;border-radius:0!important;font-weight:700!important;font-size:13px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important}.nivo-webchat-page .switch-label-text:after{display:none!important}.nivo-webchat-page .switch-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.nivo-webchat-page input[type="color"]{height:42px!important;padding:4px!important;cursor:pointer}.nivo-webchat-page .form-actions{display:flex!important;justify-content:flex-end!important;margin-top:18px!important;padding-top:16px!important;border-top:1px solid var(--line,#e2e8f0)!important}.nivo-webchat-page .field.full>.switch-line{max-width:100%!important}.webchat-preview{align-self:start!important;position:sticky;top:88px}
@media(max-width:900px){#planModal .modal-card{width:calc(100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important}#planModal .settings-grid{grid-template-columns:1fr!important}#planModal .field.full{grid-column:auto!important}.nivo-webchat-page .switch-stack{grid-template-columns:1fr!important}.webchat-preview{position:static!important}}

/* ZYNKO 2.13.1 — unified readable toggle controls */
.nivo-webchat-page .switch-line{display:inline-flex!important;align-items:center!important;gap:10px!important;width:auto!important;max-width:100%!important;min-height:42px!important;padding:8px 12px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface2)!important;cursor:pointer!important;position:relative!important}
.nivo-webchat-page .switch-line>input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:1px!important;margin:0!important;padding:0!important;pointer-events:none!important}
.nivo-webchat-page .switch-line>.switch-control{display:block!important;position:relative!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:24px!important;border-radius:999px!important;background:#aebdce!important;margin:0!important;padding:0!important}
.nivo-webchat-page .switch-line>.switch-control:after{content:""!important;position:absolute!important;display:block!important;width:18px!important;height:18px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.22)!important;transition:left .18s ease!important}
.nivo-webchat-page .switch-line>input:checked+.switch-control{background:#0d9b83!important}
.nivo-webchat-page .switch-line>input:checked+.switch-control:after{left:21px!important}
.nivo-webchat-page .switch-line>.switch-label-text{display:block!important;position:static!important;flex:0 1 auto!important;width:auto!important;min-width:0!important;height:auto!important;background:transparent!important;border-radius:0!important;margin:0!important;padding:0!important;color:var(--text)!important;font-weight:700!important;line-height:1.35!important;white-space:normal!important}
.nivo-webchat-page .switch-line>.switch-label-text:after{content:none!important;display:none!important}
.nivo-webchat-page .switch-stack{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.nivo-webchat-page .switch-stack .switch-line{flex:0 0 auto!important}
.nivo-webchat-page .field.full>.switch-line{width:100%!important;justify-content:flex-start!important}

#planModal .plan-active-switch>span.plan-active-copy{display:grid!important;position:static!important;width:auto!important;height:auto!important;min-width:0!important;flex:1 1 auto!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important;gap:2px!important;line-height:1.3!important}
#planModal .plan-active-switch>span.plan-active-copy:after{content:none!important;display:none!important}
#planModal .plan-active-copy b{display:block!important;color:var(--text)!important;font-size:14px!important}
#planModal .plan-active-copy small{display:block!important;color:var(--muted)!important;font-size:12px!important;font-weight:500!important}
#planModal .plan-active-switch>span:first-of-type:after{content:""!important;display:block!important}

/* Channel email configured state */
.channel-state.email-ready{color:#08705c!important;background:#eefbf7!important;border-color:#ccefe4!important}
/* ZYNKO V2.15 · NIVO premium controls */
.nivo-webchat-page .privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.nivo-webchat-page .compact-switch{margin-top:10px!important}.nivo-hours{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface2)}.nivo-hours .switch-line{margin-bottom:12px}.hours-row{display:flex;align-items:center;gap:10px;max-width:360px}.hours-row input{min-width:130px}.day-pills{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.day-pills label{cursor:pointer}.day-pills input{position:absolute;opacity:0;pointer-events:none}.day-pills span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px;font-weight:700}.day-pills input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff}@media(max-width:760px){.nivo-webchat-page .privacy-grid{grid-template-columns:1fr}.hours-row{max-width:none}.hours-row input{min-width:0;flex:1}}
/* ZYNKO V2.17 · NIVO Knowledge Hub */
.solution-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:14px}.solution-card{display:grid;grid-template-columns:46px 1fr 38px;gap:12px;align-items:start;border:1px solid var(--border,#dce5ee);border-radius:16px;padding:16px;background:var(--card,#fff);min-height:142px}.solution-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e8f7f4;color:#0f766e;font-size:18px}.solution-card b{font-size:15px}.solution-card p{font-size:12px;line-height:1.55;color:var(--muted,#64748b);margin:6px 0 10px}.solution-card small{color:var(--muted,#64748b)}.knowledge-import-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.knowledge-state{display:inline-flex;width:max-content;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700;margin-top:5px}.knowledge-state.approved{background:#e8f7f4;color:#0f766e}.knowledge-state.pending{background:#fff7e6;color:#9a6700}.nivo-playground{display:grid;grid-template-columns:minmax(210px,.35fr) minmax(0,1fr);gap:14px;align-items:end}.nivo-playground .nivo-test-result{grid-column:1/-1}@media(max-width:760px){.knowledge-import-meta,.nivo-playground{grid-template-columns:1fr}.solution-card{grid-template-columns:42px 1fr 36px}.nivo-playground .nivo-test-result{grid-column:auto}}

/* ZYNKO V2.17.1 — canonical switches: identical visual language to Login */
.switch-line,
.nivo-webchat-page .switch-line,
#planModal .plan-active-switch,
.plan-card .switch-line,
.small-modal .switch-line,
.channel-admin-control .switch-line{
  position:relative!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:auto!important;
  max-width:100%!important;
  min-height:22px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:normal!important;
  cursor:pointer!important;
}
.switch-line>input[type="checkbox"],
.nivo-webchat-page .switch-line>input[type="checkbox"],
#planModal .plan-active-switch>input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  pointer-events:none!important;
}
.switch-line>span:first-of-type,
.switch-line>.switch-control,
.nivo-webchat-page .switch-line>.switch-control,
#planModal .plan-active-switch>span:first-of-type{
  position:relative!important;
  display:block!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:22px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:99px!important;
  background:#cbd5e1!important;
  box-shadow:none!important;
  transition:background .2s ease!important;
}
.switch-line>span:first-of-type:after,
.switch-line>.switch-control:after,
.nivo-webchat-page .switch-line>.switch-control:after,
#planModal .plan-active-switch>span:first-of-type:after{
  content:""!important;
  position:absolute!important;
  display:block!important;
  width:16px!important;
  height:16px!important;
  left:3px!important;
  top:3px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(15,23,42,.16)!important;
  transform:none!important;
  transition:left .2s ease!important;
}
.switch-line>input[type="checkbox"]:checked+span:first-of-type,
.switch-line>input[type="checkbox"]:checked+.switch-control,
.nivo-webchat-page .switch-line>input[type="checkbox"]:checked+.switch-control,
#planModal .plan-active-switch>input[type="checkbox"]:checked+span:first-of-type{
  background:#0d9b83!important;
}
.switch-line>input[type="checkbox"]:checked+span:first-of-type:after,
.switch-line>input[type="checkbox"]:checked+.switch-control:after,
.nivo-webchat-page .switch-line>input[type="checkbox"]:checked+.switch-control:after,
#planModal .plan-active-switch>input[type="checkbox"]:checked+span:first-of-type:after{
  left:19px!important;
  transform:none!important;
}
.switch-line>.switch-label-text,
.nivo-webchat-page .switch-line>.switch-label-text{
  display:block!important;
  position:static!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--text)!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.switch-line>.switch-label-text:after{content:none!important;display:none!important}
.nivo-webchat-page .switch-stack{display:flex!important;align-items:center!important;gap:22px!important;flex-wrap:wrap!important}
.nivo-webchat-page .switch-stack .switch-line{flex:0 0 auto!important}
.nivo-webchat-page .field.full>.switch-line{width:auto!important}
#planModal .plan-active-switch{min-height:22px!important}
#planModal .plan-active-copy{gap:2px!important}

/* Links styled as application buttons never show browser underline. */
a.soft,a.primary,a.secondary-action,.channel-tile-actions a,.actions-inline a,.btn,.button{
  text-decoration:none!important;
}
a.soft:hover,a.soft:focus,a.primary:hover,a.primary:focus,a.secondary-action:hover,a.secondary-action:focus,.channel-tile-actions a:hover,.channel-tile-actions a:focus{
  text-decoration:none!important;
}


/* NIVO IA · Human-hours card: premium layout, isolated from generic field rules. */
.nivo-hours{display:block!important;padding:18px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface2)!important;overflow:visible!important}
.nivo-hours-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:22px!important;margin:0 0 18px!important;padding:0 0 16px!important;border-bottom:1px solid var(--line)!important}
.nivo-hours-copy{display:grid!important;gap:4px!important;min-width:0!important}.nivo-hours-copy strong{font-size:14px!important;line-height:1.35!important}.nivo-hours-copy small{color:var(--muted)!important;line-height:1.45!important}
.nivo-hours .nivo-hours-switch{flex:0 0 auto!important;margin:0!important;padding:0!important;align-self:center!important}
.nivo-hours-body{display:grid!important;gap:15px!important}.nivo-hours .hours-row{display:grid!important;grid-template-columns:minmax(140px,190px) auto minmax(140px,190px)!important;align-items:end!important;gap:12px!important;max-width:440px!important;margin:0!important}.nivo-hours .hours-control{display:grid!important;gap:7px!important}.nivo-hours .hours-control>label,.nivo-hours-message>label{font-size:12px!important;font-weight:700!important;line-height:1.3!important;margin:0!important}.nivo-hours .hours-control>input{width:100%!important;margin:0!important}.nivo-hours .hours-separator{display:grid!important;place-items:center!important;min-height:40px!important;color:var(--muted)!important;font-weight:700!important}
.nivo-hours .day-pills{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important}.nivo-hours .day-pills label{display:inline-flex!important;margin:0!important}.nivo-hours .day-pills input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.nivo-hours .day-pills span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;height:36px!important;padding:0 10px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--surface)!important;font-size:12px!important;font-weight:700!important}.nivo-hours .day-pills input:checked+span{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important}.nivo-hours-message{display:grid!important;gap:7px!important}.nivo-hours-message textarea{margin:0!important}
@media(max-width:760px){.nivo-hours-head{display:grid!important;gap:14px!important}.nivo-hours .nivo-hours-switch{align-self:start!important}.nivo-hours .hours-row{grid-template-columns:1fr!important;max-width:none!important}.nivo-hours .hours-separator{display:none!important}}

/* V2.18 · Premium visual consistency — cards, Select2, toggles and checks */
.panel,.solution-card,.plan-card,.integration-card,.record-card,.channel-card,.channel-tile,.premium-kpis>article{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.panel:hover,.solution-card:hover,.plan-card:hover,.integration-card:hover,.record-card:hover,.channel-card:hover,.channel-tile:hover,.premium-kpis>article:hover{
  transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.07);border-color:rgba(13,155,131,.28)!important;
}
/* NIVO: every major block keeps deliberate breathing room. */
#solutions{margin-bottom:20px!important}.nivo-grid{gap:20px!important;align-items:stretch!important;margin-bottom:20px!important}
.nivo-grid>.panel{height:100%;display:flex!important;flex-direction:column!important;margin:0!important}
.nivo-grid>.panel .panel-head{flex:0 0 auto}.nivo-grid>.panel .empty-compact{flex:1 1 auto;min-height:170px}
#knowledge .knowledge-import-meta{margin-top:auto!important;padding-top:18px!important;border-top:1px solid var(--line)!important;display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important}
#knowledge .nivo-upload{margin-top:12px!important;background:var(--surface2)!important;border-radius:13px!important}
.solution-cards{gap:16px!important}.solution-card{padding:16px!important;background:var(--surface)!important}
/* Select2 is the standard selector throughout ZYNKO. */
.select2-container{width:100%!important;min-width:0!important}.select2-container .select2-selection--single{height:42px!important;min-height:42px!important;display:flex!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;box-shadow:none!important}.select2-container .select2-selection__rendered{width:100%!important;line-height:40px!important;padding:0 36px 0 12px!important;color:var(--text)!important}.select2-container .select2-selection__arrow{height:40px!important;right:8px!important}.select2-container--focus .select2-selection--single,.select2-container--open .select2-selection--single{border-color:var(--accent)!important;box-shadow:0 0 0 3px rgba(13,155,131,.10)!important}.select2-dropdown{border-radius:10px!important;overflow:hidden!important;box-shadow:0 14px 34px rgba(15,23,42,.12)!important}.select2-results__option{padding:9px 12px!important}.select2-results__option--highlighted{background:var(--accent)!important;color:#fff!important}
/* Native checkboxes: one premium language everywhere (webhook/event selections, lists). */
.check-grid label{cursor:pointer!important;transition:border-color .18s ease,background .18s ease,transform .18s ease!important}.check-grid label:hover{border-color:rgba(13,155,131,.4)!important;background:#f4fbf9!important;transform:translateY(-1px)}
.check-grid input[type="checkbox"]{appearance:none!important;-webkit-appearance:none!important;width:20px!important;height:20px!important;min-width:20px!important;border:1.5px solid #aab8c8!important;border-radius:6px!important;background:#fff!important;display:grid!important;place-content:center!important;cursor:pointer!important;transition:.16s ease!important}.check-grid input[type="checkbox"]:before{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);margin-top:-2px;transition:transform .12s ease}.check-grid input[type="checkbox"]:checked{background:var(--accent)!important;border-color:var(--accent)!important}.check-grid input[type="checkbox"]:checked:before{transform:rotate(-45deg) scale(1)}
/* Version is visible but discreet in the sidebar company block. */
.aside-company .app-version{margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:6px;color:#8fa1b5!important;font-size:10px!important;letter-spacing:.02em}.aside-company .app-version i{font-size:9px}
@media(max-width:760px){#knowledge .knowledge-import-meta{grid-template-columns:1fr}.nivo-grid{gap:14px!important}.panel:hover,.solution-card:hover,.plan-card:hover,.integration-card:hover,.record-card:hover,.channel-card:hover,.channel-tile:hover,.premium-kpis>article:hover{transform:none}}

/* ZYNKO V2.19 — premium consistency */
.user-action-wrap{position:relative;justify-self:end}.user-action-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important}.action-chevron{font-size:10px;transition:transform .18s ease}.user-action-wrap.open .action-chevron{transform:rotate(180deg)}.user-action-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:120;width:280px;padding:8px;background:var(--panel,#fff);border:1px solid var(--line,#e2e8f0);border-radius:14px;box-shadow:0 18px 42px rgba(15,23,42,.16);display:none}.user-action-wrap.open .user-action-menu{display:grid;gap:4px}.user-action-menu button{width:100%;border:0;background:transparent;color:var(--text,#122033);padding:10px 11px;border-radius:10px;display:grid;grid-template-columns:28px 1fr;gap:9px;text-align:left;align-items:center;cursor:pointer}.user-action-menu button:hover{background:var(--surface2,#f5f8fa);transform:none}.user-action-menu button>i{width:28px;height:28px;border-radius:8px;background:#eaf8f4;color:#078b76;display:grid;place-items:center}.user-action-menu b,.user-action-menu small{display:block}.user-action-menu small{margin-top:2px;color:var(--muted,#64748b);font-size:11px;font-weight:500}.notification-settings-grid{align-items:start!important}.notification-cooldown{grid-column:1/-1!important;max-width:none!important}.notification-cooldown .hint{display:block!important;margin-top:4px!important;max-width:760px!important;line-height:1.5!important}.notification-actions{margin-top:22px!important;padding-top:18px!important;border-top:1px solid var(--line)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important}.notification-actions .hint{display:inline-flex!important;align-items:center!important;gap:7px!important;line-height:1.4!important;color:var(--muted,#64748b)!important}.notification-actions .hint i{color:#0fa98b}.preview-launcher,.nivo-webchat-page .preview-launcher{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}.preview-launcher i,.preview-launcher svg{display:block;margin:auto}.user-card{overflow:visible!important}@media(max-width:760px){.user-action-wrap{justify-self:start;width:100%}.user-action-toggle{width:100%}.user-action-menu{left:0;right:auto;width:min(300px,calc(100vw - 52px))}.notification-actions{align-items:stretch!important;flex-direction:column!important}.notification-actions>*{width:100%}}

/* V2.20 · Estándar UI global: notificaciones y modales premium */
body.modal-open,body.zynko-dialog-open{overflow:hidden!important}
.modal-shell{align-items:center!important;justify-items:center!important;overflow:auto!important}
.modal-shell .modal-card{margin:auto!important;position:relative!important}
.modal-head .modal-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;padding:0!important}
.modal-head .modal-close i{margin:0!important;line-height:1!important}
.zynko-notify-host{position:fixed;top:20px;right:20px;z-index:10000;display:grid;gap:10px;width:min(390px,calc(100vw - 32px));pointer-events:none}
.zynko-notify{pointer-events:auto;display:grid;grid-template-columns:38px minmax(0,1fr) 32px;gap:11px;align-items:center;padding:13px 12px;border:1px solid var(--line,#e5eaf1);border-radius:14px;background:var(--surface,#fff);box-shadow:0 18px 45px rgba(15,23,42,.16);opacity:0;transform:translateY(-8px);transition:.18s ease}
.zynko-notify.show{opacity:1;transform:none}.zynko-notify-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-weight:900}.zynko-notify.success .zynko-notify-icon{background:#e8f8f3;color:#07856f}.zynko-notify.error .zynko-notify-icon{background:#fff0f0;color:#b42318}.zynko-notify.warning .zynko-notify-icon{background:#fff7e6;color:#a15c00}.zynko-notify.info .zynko-notify-icon{background:#edf5ff;color:#2563a8}.zynko-notify b{display:block;margin-bottom:2px}.zynko-notify p{margin:0;color:var(--muted,#64748b);line-height:1.4}.zynko-notify>button{width:30px;height:30px;padding:0!important;display:grid;place-items:center;background:transparent!important;color:var(--muted,#64748b)!important;border:0!important;border-radius:8px!important}
@media(max-width:600px){.zynko-notify-host{top:12px;right:12px;width:calc(100vw - 24px)}}
/* V2.21 · spacing, sessions, guided setup and account-persisted dashboard */
#solutions,.nivo-grid,.panel.spaced,.dashboard-grid,.dashboard-widget{margin-top:20px!important;margin-bottom:20px!important}.panel+.panel{margin-top:20px}.nivo-hours{padding:18px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface2)!important}.nivo-hours-head{padding-bottom:16px!important;margin-bottom:16px!important;border-bottom:1px solid var(--line)!important}.nivo-hours-body{display:grid!important;gap:18px!important}.nivo-hours .hours-row{margin:0!important}.nivo-hours .day-pills{margin-top:2px!important}.nivo-hours-message{padding-top:2px!important}.user-action-menu{z-index:500!important}.sessions-modal{width:min(760px,calc(100vw - 28px))!important}.session-list{display:grid;gap:10px}.session-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface2)}.session-icon{width:40px;height:40px;border-radius:11px;background:#e9f8f4;color:#078b76;display:grid;place-items:center}.session-item small{display:block;color:var(--muted);margin-top:3px}.session-item .soft{white-space:nowrap}.premium-link{text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:9px 12px!important;border:1px solid rgba(13,155,131,.22)!important;border-radius:10px!important;background:#eefaf7!important;color:#087d6c!important;font-weight:800!important;transition:.18s ease!important}.premium-link:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.08);border-color:var(--accent)!important}.widget-hidden{display:none!important}.dashboard-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.premium-check{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;cursor:pointer;background:var(--surface2)}.premium-check input{position:absolute;opacity:0}.premium-check span{width:22px;height:22px;border:1.5px solid #aab8c8;border-radius:6px;display:grid;place-items:center;color:transparent;background:#fff}.premium-check input:checked+span{background:var(--accent);border-color:var(--accent);color:#fff}.premium-steps{display:grid!important;grid-template-columns:repeat(6,1fr)!important;gap:10px!important}.premium-steps span{display:grid!important;grid-template-columns:32px 1fr!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;padding:13px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface2)!important}.premium-steps b{grid-row:1/3;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef3f7;color:var(--muted)}.premium-steps em{font-style:normal;font-weight:800}.premium-steps small{color:var(--muted)}.premium-steps .done b,.premium-steps .active b{background:#e7f8f3;color:#078b76}.premium-steps .active{border-color:rgba(13,155,131,.38)!important;box-shadow:0 0 0 3px rgba(13,155,131,.07)}.onboarding-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.onboarding-task{text-decoration:none!important;color:var(--text)!important;border:1px solid var(--line);border-radius:14px;padding:16px;display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;background:var(--surface2);transition:.18s ease}.onboarding-task:hover{transform:translateY(-2px);border-color:rgba(13,155,131,.35);box-shadow:0 12px 28px rgba(15,23,42,.07)}.onboarding-task>i:first-child{width:40px;height:40px;border-radius:11px;background:#e7f8f3;color:#078b76;display:grid;place-items:center}.onboarding-task small{display:block;margin-top:3px;color:var(--muted)}
/* Email editor must stay inside content and never slide below the sidebar. */
body .mail-fields,body .settings-grid{min-width:0!important}body .field{min-width:0!important}body .field input,body .field textarea,body .field select{max-width:100%!important;box-sizing:border-box!important}.mail-profile-grid,.notification-settings-grid{gap:16px!important}.mail-profile{overflow:hidden!important}.mail-profile-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
@media(max-width:900px){.premium-steps{grid-template-columns:1fr 1fr!important}.onboarding-actions,.dashboard-choice-grid{grid-template-columns:1fr}.session-item{grid-template-columns:38px 1fr}.session-item .soft{grid-column:1/-1;width:100%}}


/* ZYNKO V2.21.4 — regression-safe layout cleanup */
.nivo-hours-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:28px!important;row-gap:12px!important;padding:0 0 18px!important;margin:0 0 20px!important}
.nivo-hours-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
.nivo-hours-copy strong,.nivo-hours-copy small{display:block!important;margin:0!important;padding:0!important}
.nivo-hours-copy small{max-width:720px!important}
.nivo-hours-body{padding-top:2px!important}
.notification-settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;width:100%!important}
.notification-settings-grid>.field{width:100%!important;min-width:0!important;margin:0!important}
.notification-cooldown{grid-column:1/-1!important;display:grid!important;gap:8px!important}
.notification-cooldown .select2-container{width:100%!important;max-width:100%!important}
.notification-cooldown .hint{display:block!important;width:auto!important;max-width:780px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.55!important;margin:0!important}
.notification-actions{clear:both!important;width:100%!important;min-width:0!important;margin-top:22px!important;padding-top:18px!important}
.notification-actions>.hint{flex:1 1 320px!important;width:auto!important;max-width:none!important;white-space:normal!important;word-break:normal!important}
body[data-page="email"] .panel.spaced{overflow:visible!important}
#sessionsModal.open{display:grid!important;place-items:center!important}
#sessionsModal .sessions-modal{margin:auto!important}
@media(max-width:760px){.nivo-hours-head{grid-template-columns:1fr!important}.notification-settings-grid{grid-template-columns:1fr!important}.notification-cooldown{grid-column:1!important}}

/* ZYNKO v2.21.5 — NIVO human-hours + email edit layout hardening */
.nivo-hours-card{margin-top:22px!important;border:1px solid var(--line,#e2e8f0)!important;border-radius:14px!important;background:var(--surface2,#f8fafc)!important;overflow:hidden!important}
.nivo-hours-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:24px!important;padding:18px 20px!important;border-bottom:1px solid var(--line,#e2e8f0)!important}
.nivo-hours-copy{display:grid!important;gap:8px!important;min-width:0!important}
.nivo-hours-copy strong{display:block!important;margin:0!important;line-height:1.35!important}
.nivo-hours-copy small{display:block!important;margin:0!important;line-height:1.55!important;color:var(--muted,#64748b)!important}
.nivo-hours-head .switch-line{margin:0!important;white-space:nowrap!important;align-self:center!important}
.nivo-hours-body{padding:20px!important;display:grid!important;gap:18px!important}
body:not(.sidebar-hidden) .main{overflow-x:clip!important}
body:not(.sidebar-hidden) .main>main{overflow-x:clip!important}
body:not(.sidebar-hidden) .main>main>.panel,body:not(.sidebar-hidden) .main>main>form{max-width:100%!important}
body:not(.sidebar-hidden) form .panel{max-width:100%!important;overflow:hidden!important}
@media(max-width:760px){.nivo-hours-head{grid-template-columns:1fr!important;gap:14px!important;padding:16px!important}.nivo-hours-head .switch-line{white-space:normal!important}.nivo-hours-body{padding:16px!important}}

/* ZYNKO v2.22.0 · global premium alignment */
.switch-line{display:inline-flex!important;align-items:center!important;gap:12px!important;min-height:34px!important;width:auto!important;max-width:100%!important;vertical-align:middle!important}
.switch-line>input+span,.switch-line>.switch-control{flex:0 0 auto!important;margin:0!important}
.switch-label-text,.switch-line{line-height:1.25!important}.switch-label-text{display:inline-block!important;margin:0!important;white-space:normal!important}
#ruleModal .field:has(.switch-line){display:flex!important;align-items:center!important;min-height:46px!important}
.modal-title-with-icon{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-width:0!important}.modal-title-with-icon>span:last-child{min-width:0!important}.modal-title-icon{width:40px;height:40px;border-radius:12px;background:#e9f8f4;color:#078b76;display:grid!important;place-items:center!important;font-size:16px}.modal-title-with-icon b,.modal-title-with-icon small{display:block!important}.modal-title-with-icon small{margin-top:3px!important}
.sessions-modal{width:min(900px,calc(100vw - 30px))!important}.session-item{grid-template-columns:48px minmax(0,1fr) auto!important;padding:16px!important;gap:14px!important}.session-title-row{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.session-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px;margin-top:9px;color:var(--muted);font-size:12px}.session-meta-grid b{color:var(--text)}.session-main details{margin-top:9px}.session-main summary{cursor:pointer;color:var(--accent);font-weight:700;font-size:12px}.session-main details small{margin-top:6px!important;overflow-wrap:anywhere}.mail-config-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.platform-version-panel .settings-grid{align-items:end!important}.version-save-field{display:flex!important;align-items:flex-end!important;height:100%!important}.version-save-field button{width:max-content!important}.nivo-hours-copy{padding-right:12px!important}.nivo-hours-copy strong{margin-bottom:2px!important}.nivo-hours-head{min-height:82px!important}
@media(max-width:760px){.session-item{grid-template-columns:42px minmax(0,1fr)!important}.session-item>.soft{grid-column:1/-1!important}.session-meta-grid{grid-template-columns:1fr!important}.mail-config-actions>*{width:100%!important}}

/* ZYNKO V2.23 — modal system normalization: one robust premium structure */
.modal-shell .modal-card{width:min(760px,calc(100vw - 40px));max-width:100%;min-width:0;max-height:calc(100dvh - 40px);overflow:auto;padding:22px;border-radius:18px}
.modal-shell .modal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;width:100%!important;min-width:0!important;margin:0 0 22px!important;padding:0 0 16px!important;border-bottom:1px solid var(--line)!important}
.modal-shell .modal-head>div,.modal-shell .modal-title-with-icon{display:flex!important;flex:1 1 auto!important;align-items:flex-start!important;gap:12px!important;width:auto!important;min-width:0!important;max-width:calc(100% - 58px)!important;margin:0!important;padding:0!important}
.modal-shell .modal-title-icon{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;border-radius:12px!important;background:#eaf8f5!important;color:var(--accent2)!important;font-size:16px!important}
.modal-shell .modal-title-copy{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
.modal-shell .modal-title-copy b,.modal-shell .modal-head>div>b{display:block!important;width:auto!important;max-width:100%!important;margin:0!important;font-size:15px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
.modal-shell .modal-title-copy small,.modal-shell .modal-head>div>small{display:block!important;width:auto!important;max-width:100%!important;margin:0!important;font-size:12px!important;line-height:1.5!important;color:var(--muted)!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
.modal-shell .modal-head .modal-close{flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;margin:0!important}
.modal-shell .modal-card form{width:100%!important;min-width:0!important}
.modal-shell .field,.modal-shell .settings-grid{min-width:0!important}
.modal-shell .field>label{display:block;margin:0 0 8px!important;line-height:1.35!important}
.modal-shell .field input:not([type=checkbox]):not([type=radio]),.modal-shell .field textarea,.modal-shell .field select{width:100%!important;min-width:0!important}
.modal-shell .modal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;width:100%!important;margin-top:20px!important;padding-top:18px!important;border-top:1px solid var(--line)!important}
#ruleModal .switch-line{display:inline-grid!important;grid-template-columns:40px minmax(0,max-content)!important;align-items:center!important;gap:10px!important;width:auto!important;min-height:36px!important;white-space:nowrap!important}
#ruleModal .switch-line>span.switch-control{width:40px!important;height:22px!important;min-width:40px!important;margin:0!important}
#ruleModal .switch-line>span.switch-label-text{width:auto!important;height:auto!important;background:transparent!important;position:static!important;border-radius:0!important;color:var(--text)!important;line-height:1.3!important}
#ruleModal .switch-line>span.switch-label-text:after{display:none!important}
#integrationModal .check-grid label{font-weight:600!important;color:var(--text)!important}
#integrationModal .check-grid input[type=checkbox]{accent-color:var(--accent)!important}
.sessions-modal{width:min(880px,calc(100vw - 40px))!important}
#sessionsList{display:block!important;width:100%!important;min-height:74px!important}
.session-list{display:grid!important;gap:12px!important;width:100%!important}
.session-item{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;width:100%!important;padding:15px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface2)!important}
.session-icon{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:12px!important;background:#eaf8f5!important;color:var(--accent2)!important}
.session-main{display:grid!important;gap:10px!important;min-width:0!important}.session-title-row{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}.session-meta-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 16px!important;color:var(--muted)!important;font-size:11px!important}.session-meta-grid span{min-width:0!important;overflow-wrap:anywhere!important}.session-item details{font-size:11px!important;color:var(--muted)!important}.session-item details small{display:block!important;margin-top:6px!important;overflow-wrap:anywhere!important}.session-revoke-one{align-self:center!important;white-space:nowrap!important}
@media(max-width:700px){.modal-shell .modal-card{width:calc(100vw - 24px)!important;padding:18px!important}.session-item{grid-template-columns:42px minmax(0,1fr)!important}.session-revoke-one{grid-column:1/-1!important;width:100%!important}.session-meta-grid{grid-template-columns:1fr!important}.modal-shell .modal-actions{flex-direction:column-reverse!important;align-items:stretch!important}.modal-shell .modal-actions button{width:100%!important}}


/* ZYNKO V2.23.2 — channels uniform height + session visibility */
.channel-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
.channel-grid .channel-tile{height:230px!important;min-height:230px!important;max-height:230px!important;box-sizing:border-box!important}
.channel-tile-copy{min-height:0!important}.channel-tile-actions{margin-top:auto!important;flex:0 0 auto!important}
#sessionsList .empty-compact{min-height:110px!important;display:grid!important;place-items:center!important;text-align:center!important;gap:5px!important;padding:20px!important;border:1px dashed var(--line)!important;border-radius:14px!important;background:var(--surface2)!important}
@media(max-width:760px){.channel-grid .channel-tile{height:auto!important;min-height:205px!important;max-height:none!important}}

/* ZYNKO V2.23.3 — channel row alignment */
.channel-cards.channel-grid{
  align-items:start!important;
  grid-auto-rows:230px!important;
  row-gap:20px!important;
}
.channel-cards.channel-grid>.channel-card.channel-tile{
  margin:0!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  align-self:start!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .channel-cards.channel-grid{grid-auto-rows:auto!important}
  .channel-cards.channel-grid>.channel-card.channel-tile{height:auto!important;min-height:205px!important;max-height:none!important}
}

/* V2.23.4 · active session manager */
.sessions-modal-actions{justify-content:space-between!important}.danger-btn{border:0;border-radius:10px;background:#b42318;color:#fff;padding:11px 14px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.danger-btn:hover{filter:brightness(.96);transform:translateY(-1px)}

/* ZYNKO V2.23.5 — active sessions live manager */
#sessionsModal .sessions-modal{height:560px!important;min-height:560px!important;max-height:min(560px,calc(100dvh - 32px))!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#sessionsModal .modal-head{flex:0 0 auto!important}
#sessionsList{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:18px 2px!important;margin:0!important}
#sessionsModal .sessions-modal-actions{flex:0 0 auto!important;margin-top:0!important}
.sessions-loading,.sessions-empty{height:100%;min-height:250px;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;text-align:center!important;padding:28px!important;border:1px dashed var(--line)!important;border-radius:16px!important;background:var(--surface2)!important;color:var(--muted)!important}
.sessions-loading>i{font-size:26px;color:var(--accent)!important}.sessions-empty-icon{width:58px;height:58px;border-radius:18px;background:#e8f8f4;color:var(--accent);display:grid;place-items:center;font-size:25px}.sessions-empty b,.sessions-loading b{color:var(--text)!important;font-size:15px}.sessions-empty span:last-child,.sessions-loading span{max-width:430px;line-height:1.5}.sessions-empty.error .sessions-empty-icon{background:#fff1f0;color:#b42318}
@media(max-width:700px){#sessionsModal .sessions-modal{height:calc(100dvh - 24px)!important;min-height:0!important;max-height:calc(100dvh - 24px)!important}}
/* ZYNKO V2.24.0 — alignment, NIVO usage and special schedules */
.webchat-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.webchat-kpi{min-width:0;display:flex;align-items:center;gap:12px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#fff)}.webchat-kpi>span{width:42px;height:42px;min-width:42px;border-radius:12px;background:#e9f8f4;color:#078b76;display:grid;place-items:center}.webchat-kpi>span i{display:block;margin:auto;line-height:1}.webchat-kpi b{display:block;font-size:21px;line-height:1.1}.webchat-kpi small{display:block;margin-top:4px;color:var(--muted);white-space:normal}.nivo-special-dates{border-top:1px solid var(--line);padding-top:18px}.nivo-special-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.nivo-special-head>div{display:grid;gap:4px;min-width:0}.nivo-special-head small{color:var(--muted)}#specialDatesList{display:grid;gap:10px}.special-date-row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(190px,1.25fr) minmax(120px,.8fr) minmax(120px,.8fr) 42px;gap:10px;align-items:center}.special-date-row input,.special-date-row select{width:100%;min-width:0}.channel-icon,.modal-title-icon,.session-icon,.webchat-kpi>span,.onboarding-task>i:first-child,.user-action-menu button>i,.nivo-orb,.mark{align-items:center!important;justify-content:center!important;text-align:center!important}.channel-icon i,.modal-title-icon i,.session-icon i,.webchat-kpi i,.onboarding-task>i:first-child,.user-action-menu button>i,.nivo-orb i{display:block!important;margin:auto!important;line-height:1!important}.icon-btn{display:inline-grid!important;place-items:center!important;padding:0!important}.icon-btn i{display:block!important;margin:auto!important;line-height:1!important}
@media(max-width:900px){.webchat-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.special-date-row{grid-template-columns:1fr 1fr}.special-date-row .icon-btn{width:42px;height:42px}}
@media(max-width:560px){.webchat-kpis{grid-template-columns:1fr}.nivo-special-head{align-items:stretch;flex-direction:column}.nivo-special-head .soft{width:100%}.special-date-row{grid-template-columns:1fr}.special-date-row .icon-btn{width:100%}}
.solution-icon{display:grid!important;place-items:center!important;text-align:center!important}.solution-icon i{display:block!important;margin:auto!important;line-height:1!important}

/* V2.24.1 · KPIs NIVO con interacción premium */
.webchat-kpi{position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;background:var(--panel,#fff)}
.webchat-kpi::after{content:"";position:absolute;inset:auto -28px -36px auto;width:90px;height:90px;border-radius:50%;background:rgba(15,118,110,.055);transition:transform .28s ease,opacity .28s ease;pointer-events:none}
.webchat-kpi:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(15,35,55,.10);border-color:rgba(15,118,110,.28)}
.webchat-kpi:hover::after{transform:scale(1.35);opacity:.9}
.webchat-kpi>span{transition:transform .22s ease,box-shadow .22s ease}
.webchat-kpi:hover>span{transform:scale(1.08) rotate(-3deg);box-shadow:0 8px 18px rgba(7,139,118,.13)}
.webchat-kpi b{transition:transform .2s ease;color .2s ease;transform-origin:left center}
.webchat-kpi:hover b{transform:scale(1.06);color:#078b76}
.webchat-kpi.kpi-enter{animation:webchatKpiEnter .45s ease both}
.webchat-kpi.kpi-enter:nth-child(2){animation-delay:.06s}.webchat-kpi.kpi-enter:nth-child(3){animation-delay:.12s}.webchat-kpi.kpi-enter:nth-child(4){animation-delay:.18s}
@keyframes webchatKpiEnter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.webchat-kpi,.webchat-kpi>span,.webchat-kpi b{transition:none!important}.webchat-kpi.kpi-enter{animation:none!important}}

/* ZYNKO V2.27.2 · self-service registration + plan entitlements */
.auth-register{align-items:flex-start!important;padding:36px 18px!important;overflow-y:auto!important}.auth-card{width:min(920px,100%);background:#fff;border:1px solid var(--line,#e2e8f0);border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.10);padding:28px}.register-card{margin:auto}.verify-card{max-width:560px;margin:auto;text-align:center}.auth-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:14px 0 20px}.auth-heading h1{margin:5px 0 5px}.auth-heading p{margin:0;color:#667892}.eyebrow{font-size:11px;font-weight:900;letter-spacing:1.2px;color:#0b8c78}.free-plan-pill{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 13px;border-radius:999px;background:#e9f8f4;color:#08705c;border:1px solid #ccece4;font-weight:800}.free-plan-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}.free-plan-summary>div{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #e2e8f0;border-radius:14px;background:#f9fbfc}.free-plan-summary i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e8f7f3;color:#0b8c78}.free-plan-summary span{display:grid;gap:2px}.free-plan-summary small{color:#718197;line-height:1.25}.auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-grid .full{grid-column:1/-1}.auth-grid .field{gap:6px}.auth-grid .field label{font-weight:800}.auth-grid .field label small{font-weight:500;color:#8290a3;margin-left:4px}.auth-password{position:relative}.auth-password input{padding-right:46px!important}.password-visibility{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:34px!important;min-height:34px!important;border:0!important;background:transparent!important;color:#64748b!important;padding:0!important;display:grid!important;place-items:center!important}.password-visibility:hover{background:#eef7f5!important;color:#0b8c78!important}.register-terms{display:flex;align-items:flex-start;gap:9px;margin:16px 0;color:#53657b}.register-terms input{margin-top:3px}.auth-primary{width:100%;min-height:46px;border:0;border-radius:12px;background:#10aa8d;color:#fff;font-weight:850;display:flex;align-items:center;justify-content:center;gap:8px}.auth-footer-link{margin-top:16px;padding-top:14px;border-top:1px solid #e7edf2;text-align:center;color:#697b90}.auth-footer-link a{color:#087866;font-weight:800;text-decoration:none}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.verify-icon{width:72px;height:72px;margin:12px auto 16px;display:grid;place-items:center;border-radius:20px;background:#e9f8f4;color:#0a8e79;font-size:29px}.verify-card h1{margin:0 0 7px}.verify-card>p{margin:0 auto 20px;max-width:450px;color:#697b90}.verify-form{display:grid;gap:11px}.verify-form label{font-weight:800;text-align:left}.verification-code{height:58px!important;text-align:center;font-size:28px!important;font-weight:900!important;letter-spacing:10px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}.resend-form{margin-top:10px}.auth-secondary,.auth-link-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:0;border-radius:11px;padding:10px 15px;background:#0b2235;color:#fff!important;font-weight:800;text-decoration:none}.auth-empty span{width:70px;height:70px;border-radius:20px;background:#eef4f7;color:#62778b;display:grid;place-items:center;font-size:28px;margin:8px auto 16px}.auth-empty p{color:#718197;margin-bottom:18px}.login-signup{display:grid;gap:7px;text-align:center;margin-top:16px;padding:14px;border:1px solid #dce8ee;border-radius:13px;background:#f8fbfc}.login-signup>span{font-size:12px;color:#718197}.login-signup>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#087866;text-decoration:none;font-weight:850}.login-signup small{color:#8190a3}.plan-menu-lock{font-size:11px!important;color:#8aa0b4!important}.plan-locked{opacity:.82}.plan-locked-panel{min-height:430px;display:grid;grid-template-columns:210px 1fr;gap:30px;align-items:center;padding:40px!important}.plan-lock-visual{position:relative;width:190px;height:190px;border-radius:34px;background:#eef8f6;display:grid;place-items:center;margin:auto}.plan-lock-visual>span{width:94px;height:94px;border-radius:28px;background:#fff;color:#0a8d78;box-shadow:0 14px 34px rgba(15,23,42,.08);display:grid;place-items:center;font-size:38px}.plan-lock-visual>i{position:absolute;right:25px;bottom:25px;width:46px;height:46px;border-radius:14px;background:#0b2235;color:#fff;display:grid;place-items:center}.plan-lock-copy small{font-weight:900;letter-spacing:1.2px;color:#0b8c78}.plan-lock-copy h2{font-size:28px;margin:8px 0}.plan-lock-copy>p{max-width:720px;color:#687b90}.free-includes{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.free-includes span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#edf8f5;color:#126b5e;font-size:12px;font-weight:750}.free-includes i{color:#11a98e}.plan-lock-actions{display:flex;gap:10px;flex-wrap:wrap}.channel-card.plan-disabled{opacity:.78}.channel-card.plan-disabled .channel-icon{filter:grayscale(.35)}.channel-plan-lock{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#eef3f6!important;color:#60758a!important;border:0!important;pointer-events:none!important}.plan-channel-state{background:#fff7e8!important;color:#9a6400!important;border-color:#f1d59c!important}.webchat-plan-note{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;margin:0 0 14px;border:1px solid #ccebe4;border-radius:14px;background:#f0faf7}.webchat-plan-note>div{display:flex;align-items:center;gap:11px}.webchat-plan-note>div>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#dff5ef;color:#078b78}.webchat-plan-note b{display:block}.webchat-plan-note small{display:block;color:#6b7d91;margin-top:2px}.plan-limit-pill{white-space:nowrap;padding:7px 10px;border-radius:999px;background:#0b2235;color:#fff;font-size:11px;font-weight:850}.plan-readonly-switch{opacity:.66;pointer-events:none}.billing-plan-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.billing-plan-box{border:1px solid #e2e8f0;border-radius:13px;padding:13px;background:#fafcfd}.billing-plan-box>label{font-weight:850;display:block;margin-bottom:8px}.billing-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.billing-check-grid label{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;background:#fff;border:1px solid #e6edf2;font-size:12px}.billing-check-grid input{accent-color:#11a98e}.free-plan-card{border-color:#bce8df!important;box-shadow:0 12px 28px rgba(19,168,138,.08)!important}.free-plan-badge{display:inline-flex;align-items:center;gap:6px;margin-left:8px;padding:4px 8px;border-radius:999px;background:#e5f7f2;color:#08705c;font-size:10px;font-weight:900}
@media(max-width:760px){.auth-register{padding:16px 10px!important}.auth-card{padding:20px}.auth-heading{display:grid}.free-plan-summary,.auth-grid,.billing-plan-matrix{grid-template-columns:1fr}.auth-grid .full{grid-column:auto}.plan-locked-panel{grid-template-columns:1fr;padding:24px!important}.plan-lock-visual{width:150px;height:150px}.webchat-plan-note{align-items:flex-start;flex-direction:column}.billing-check-grid{grid-template-columns:1fr}}

/* ZYNKO V2.27.2 · solicitudes de plan y notificaciones comerciales */
.plan-request-pending{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;background:#fff7e8;color:#936100;border:1px solid #f0d69b;font-size:12px;font-weight:850}
.plan-request-panel{margin-top:18px}.plan-request-row{align-items:center;gap:18px}.plan-request-note{display:block;margin-top:7px;color:#6f7f91}.plan-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-left:auto}
.swal-plan-request{text-align:left}.swal-plan-request p{margin:0 0 12px;line-height:1.55;color:#53657b}.swal-plan-request label{display:block;font-weight:850;color:#0b2235;margin-bottom:6px}.swal-plan-request .swal2-textarea{width:100%!important;margin:0!important;min-height:100px!important;box-sizing:border-box!important;resize:vertical}
@media(max-width:760px){.plan-request-row{align-items:stretch;flex-direction:column}.plan-request-actions{width:100%;margin-left:0}.plan-request-actions button{flex:1 1 100%}}

/* ZYNKO V2.27.5 · header legal premium */
.public-legal-modal{padding:20px!important;overflow:hidden!important;background:rgba(8,22,34,.56)!important;backdrop-filter:blur(3px)}
.legal-modal-card{width:min(980px,calc(100vw - 40px))!important;max-width:980px!important;height:min(790px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;padding:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;border-radius:22px!important;border:1px solid rgba(207,222,231,.9)!important;box-shadow:0 30px 90px rgba(8,22,34,.28)!important;background:var(--surface,#fff)!important}
.legal-modal-head{padding:16px 18px 16px 20px!important;margin:0!important;border-bottom:1px solid #dfe8ed!important;background:#fbfdfd!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:16px!important;min-height:94px!important;position:relative!important;z-index:3!important}
.legal-modal-head:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#10a88f}
.legal-modal-heading{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}.legal-modal-icon{width:48px;height:48px;border-radius:15px;background:#e8f7f3;color:#087866;display:grid;place-items:center;flex:0 0 48px;font-size:19px;border:1px solid #cdebe4;box-shadow:0 6px 16px rgba(8,120,102,.08)}.legal-modal-title-copy{display:grid!important;gap:3px!important;min-width:0!important}.legal-modal-title-copy>small{display:flex!important;align-items:center!important;gap:6px!important;font-size:10px!important;font-weight:950!important;letter-spacing:1.15px!important;color:#078b78!important}.legal-modal-title-copy>b{font-size:19px!important;line-height:1.2!important;color:var(--text,#0f172a)!important;white-space:normal!important}.legal-modal-title-copy>span{font-size:12px!important;color:#718197!important;line-height:1.35!important}
.legal-head-meta{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.legal-head-pill{min-height:42px;padding:7px 11px;border-radius:12px;background:#fff;border:1px solid #e0eaee;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;box-shadow:0 4px 14px rgba(16,40,58,.04)}.legal-head-pill>i{grid-row:1/3;color:#0a8b77;font-size:12px}.legal-head-pill>span{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.55px;color:#8b9aaa;font-weight:800}.legal-head-pill>b{font-size:11px;line-height:1.15;color:#183248;font-weight:900;white-space:nowrap}.legal-modal-close{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:13px!important;box-shadow:0 7px 18px rgba(16,40,58,.15)!important;background:#0f2d42!important;color:#fff!important;border:0!important}.legal-modal-close:hover{transform:translateY(-1px);background:#123a55!important}
.legal-document{padding:20px 24px 26px!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;max-height:none!important;background:#fff!important;scrollbar-gutter:stable}.legal-document::-webkit-scrollbar{width:10px}.legal-document::-webkit-scrollbar-track{background:#f4f7f9;border-radius:999px}.legal-document::-webkit-scrollbar-thumb{background:#aab8c2;border:2px solid #f4f7f9;border-radius:999px}
.legal-callout{display:flex;gap:12px;align-items:flex-start;padding:14px 15px;margin-bottom:20px;border:1px solid #ccebe4;border-radius:15px;background:#f0faf7}.legal-callout>i{width:36px;height:36px;border-radius:11px;background:#dff5ef;color:#078b78;display:grid;place-items:center;flex:0 0 36px}.legal-callout>div{display:grid;gap:3px}.legal-callout b{font-size:13px;color:#123145}.legal-callout span{font-size:12px;line-height:1.5;color:#63778c}
.legal-document-body{white-space:normal;line-height:1.72;color:#3b5369;font-size:13.5px;padding:0}.legal-document-body>p{margin:0 0 16px}.legal-section{padding:0 2px 16px;margin:0 0 16px;border-bottom:1px solid #e9eff2}.legal-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:4px}.legal-section h3{margin:0 0 8px;font-size:14px;line-height:1.4;color:#10283a;font-weight:900}.legal-section p{margin:0;color:#405970;line-height:1.75}
.legal-modal-actions{margin:0!important;padding:14px 24px!important;border-top:1px solid #dfe8ed!important;background:#fbfdfd!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:72px!important;position:relative!important;z-index:3!important}.legal-modal-actions .primary{min-width:190px!important;flex:0 0 auto!important;white-space:nowrap!important}.legal-footer-note{display:flex;align-items:center;gap:9px;min-width:0;color:#708398;font-size:11px;line-height:1.4}.legal-footer-note i{width:30px;height:30px;border-radius:9px;background:#edf5f7;color:#0b806f;display:grid;place-items:center;flex:0 0 30px}.legal-footer-note span{white-space:normal}
.legal-admin-panel{border-color:#cde9e2!important;background:linear-gradient(180deg,rgba(244,251,249,.88),var(--surface,#fff))!important}.legal-version-badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#e7f7f3;color:#08705c;font-size:11px;font-weight:900;white-space:nowrap}.legal-admin-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.legal-admin-copy{display:flex;align-items:flex-start;gap:15px;min-width:0}.legal-admin-icon{width:52px;height:52px;border-radius:16px;background:#0b2235;color:#fff;display:grid;place-items:center;flex:0 0 52px;font-size:20px}.legal-admin-copy>div{min-width:0}.legal-admin-copy b{display:block;font-size:15px}.legal-admin-copy p{margin:5px 0;color:#64778c;line-height:1.5;max-width:780px}.legal-admin-copy small{display:flex;align-items:center;gap:6px;color:#8190a3}
.legal-admin-modal-card{width:min(980px,calc(100vw - 40px))!important;max-width:980px!important;max-height:calc(100dvh - 40px)!important;overflow:hidden!important;padding:22px!important}.legal-admin-modal-card>form{min-height:0!important;overflow-y:auto!important;padding-right:4px!important}.legal-editor-meta{display:flex;flex-wrap:wrap;gap:9px;padding:11px 13px;border:1px solid #dce7ec;border-radius:12px;background:#f8fbfc}.legal-editor-meta span{display:inline-flex;align-items:center;gap:7px;color:#66798e;font-size:12px}.legal-editor-meta i{color:#0b8c78}.legal-editor-textarea{min-height:390px!important;resize:vertical!important;line-height:1.58!important;font-family:inherit!important}.legal-publish-note{display:flex;gap:11px;align-items:flex-start;padding:13px 14px;border-radius:12px;background:#fff8e8;border:1px solid #f2dfad}.legal-publish-note>i{color:#a06a00;margin-top:2px}.legal-publish-note>div{display:grid;gap:2px}.legal-publish-note b{font-size:12px}.legal-publish-note span{font-size:12px;line-height:1.45;color:#75633a}
@media(max-width:900px){.legal-modal-head{grid-template-columns:minmax(0,1fr) auto!important}.legal-head-meta{display:none!important}.legal-modal-close{grid-column:2;grid-row:1}.legal-modal-heading{grid-column:1;grid-row:1}}
@media(max-width:760px){.public-legal-modal{padding:10px!important}.legal-modal-card,.legal-admin-modal-card{width:calc(100vw - 20px)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:17px!important}.legal-modal-head{padding:13px 14px 13px 16px!important;min-height:78px!important;gap:10px!important}.legal-modal-head:before{width:3px}.legal-modal-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}.legal-modal-title-copy>b{font-size:16px!important}.legal-modal-title-copy>span{font-size:11px!important;max-width:78vw}.legal-modal-title-copy>small{font-size:9px!important;letter-spacing:.8px!important}.legal-modal-close{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;border-radius:11px!important}.legal-document{padding:15px 16px 20px!important}.legal-modal-actions{padding:12px 16px!important;min-height:68px!important}.legal-footer-note{display:none!important}.legal-modal-actions .primary{width:100%!important;min-width:0!important}.legal-admin-summary{align-items:stretch;flex-direction:column}.legal-admin-summary>button{width:100%}.legal-admin-copy{gap:12px}.legal-admin-icon{width:44px;height:44px;flex-basis:44px}.legal-editor-textarea{min-height:320px!important}}



/* ZYNKO V2.27.8 · corrección definitiva de espaciado y composición del header legal */
#termsModal .legal-modal-head{
  box-sizing:border-box!important;
  min-height:124px!important;
  padding:24px 76px 24px 28px!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:24px!important;
  row-gap:10px!important;
  background:#fbfdfd!important;
  border-bottom:1px solid #dfe8ed!important;
  position:relative!important;
}
#termsModal .legal-modal-heading{
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  min-width:0!important;
}
#termsModal .legal-modal-icon{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  flex:0 0 54px!important;
  border-radius:16px!important;
  font-size:20px!important;
}
#termsModal .legal-modal-title-copy{
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  min-width:0!important;
  padding:2px 0!important;
}
#termsModal .legal-modal-title-copy>small{
  margin:0!important;
  line-height:1.25!important;
}
#termsModal .legal-modal-title-copy>b{
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
}
#termsModal .legal-modal-title-copy>span{
  margin:0!important;
  line-height:1.45!important;
}
#termsModal .legal-head-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
#termsModal .legal-head-pill{
  min-height:46px!important;
  padding:8px 12px!important;
  border-radius:13px!important;
}
#termsModal .legal-modal-close{
  position:absolute!important;
  top:24px!important;
  right:24px!important;
  margin:0!important;
  z-index:5!important;
}
#termsModal .legal-document{
  padding-top:24px!important;
}
@media(max-width:900px){
  #termsModal .legal-modal-head{
    min-height:116px!important;
    padding:22px 70px 22px 24px!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  #termsModal .legal-head-meta{display:none!important}
  #termsModal .legal-modal-close{top:22px!important;right:22px!important}
}
@media(max-width:760px){
  #termsModal .legal-modal-head{
    min-height:104px!important;
    padding:18px 58px 18px 18px!important;
  }
  #termsModal .legal-modal-heading{gap:12px!important}
  #termsModal .legal-modal-icon{
    width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important;border-radius:13px!important;font-size:17px!important;
  }
  #termsModal .legal-modal-title-copy>b{font-size:17px!important}
  #termsModal .legal-modal-close{top:18px!important;right:16px!important}
  #termsModal .legal-document{padding-top:18px!important}
}

/* ZYNKO V2.27.8 · restaura estilo premium del enlace de Términos y Condiciones */
.register-terms .terms-inline-link{
  appearance:none;
  -webkit-appearance:none;
  border:0!important;
  background:transparent!important;
  padding:0 2px!important;
  margin:0!important;
  min-height:auto!important;
  width:auto!important;
  display:inline!important;
  vertical-align:baseline!important;
  font:inherit!important;
  font-weight:850!important;
  line-height:inherit!important;
  color:#087866!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(8,120,102,.38)!important;
  border-radius:0!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:color .18s ease,border-color .18s ease,background-color .18s ease!important;
}
.register-terms .terms-inline-link:hover{
  color:#056653!important;
  border-bottom-color:#056653!important;
  background:rgba(16,170,141,.07)!important;
}
.register-terms .terms-inline-link:focus-visible{
  outline:2px solid rgba(16,170,141,.30)!important;
  outline-offset:3px!important;
  border-bottom-color:#087866!important;
}


/* ZYNKO V2.27.8 · editor legal premium + modal admin con footer siempre visible */
#legalTermsAdminModal{padding:18px!important}
#legalTermsAdminModal .legal-admin-modal-card{width:min(1040px,calc(100vw - 36px))!important;max-width:1040px!important;height:min(860px,calc(100dvh - 36px))!important;max-height:calc(100dvh - 36px)!important;padding:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;border-radius:22px!important;border:1px solid #d6e3e9!important;box-shadow:0 32px 90px rgba(8,22,34,.30)!important;background:var(--surface,#fff)!important}
#legalTermsAdminModal .legal-admin-head{margin:0!important;padding:20px 24px!important;min-height:96px!important;border-bottom:1px solid #dfe8ed!important;background:var(--surface,#fff)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
.legal-admin-heading{display:flex;align-items:center;gap:14px;min-width:0}.legal-admin-head-icon{width:46px;height:46px;border-radius:14px;background:#e8f7f3;color:#078b76;display:grid;place-items:center;flex:0 0 46px;font-size:17px}.legal-admin-heading>div{display:grid;gap:3px;min-width:0}.legal-admin-heading small{font-size:10px;line-height:1.2;letter-spacing:1.15px;font-weight:900;color:#078b76}.legal-admin-heading b{font-size:18px;line-height:1.25;color:var(--text,#10283a)}.legal-admin-heading span{font-size:12px;color:#718197;white-space:normal}
#legalTermsAdminModal .modal-close{flex:0 0 42px!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#0b2235!important;color:#fff!important;border:0!important}
#legalTermsForm{min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;margin:0!important}
.legal-admin-scroll{min-height:0!important;overflow:auto!important;padding:18px 24px 24px!important;display:grid!important;align-content:start!important;gap:16px!important;scrollbar-gutter:stable}.legal-admin-scroll::-webkit-scrollbar{width:10px}.legal-admin-scroll::-webkit-scrollbar-thumb{background:#b8c7d0;border:3px solid transparent;background-clip:padding-box;border-radius:999px}
.legal-editor-meta{margin:0!important}.legal-title-field,.legal-content-field{margin:0!important}.legal-field-label{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:7px}.legal-field-label label{margin:0!important}.legal-field-label small{font-size:11px;color:#7a8b9f;text-align:right}
.legal-rich-editor-shell{border:1px solid #d8e4ea;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 0 0 3px rgba(16,170,141,.05)}.legal-rich-editor-shell:focus-within{border-color:#8bd5c7;box-shadow:0 0 0 3px rgba(16,170,141,.12)}
.legal-editor-toolbar{min-height:48px;padding:7px 9px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;border-bottom:1px solid #e2e9ee;background:#f7fafb}.legal-editor-toolbar button{width:34px;height:34px;min-height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#385169;display:inline-grid;place-items:center;cursor:pointer}.legal-editor-toolbar button:hover,.legal-editor-toolbar button.active{background:#e8f7f3;color:#087866;border-color:#c9ebe3}.legal-editor-toolbar button[data-editor-source]{width:auto;padding:0 10px;display:inline-flex;gap:6px;font-weight:800}.legal-format-select{height:34px;min-width:132px;border:1px solid #d6e2e8;border-radius:8px;background:#fff;color:#2f485f;padding:0 30px 0 9px;font-size:12px;font-weight:750}.legal-toolbar-divider{width:1px;height:22px;background:#d9e3e8;margin:0 2px}
.legal-rich-editor,.legal-html-source{min-height:360px;max-height:430px;overflow:auto;padding:22px 24px;border:0!important;outline:0!important;background:#fff;color:#29445d;font:13.5px/1.72 inherit;resize:none!important;width:100%;box-sizing:border-box}.legal-rich-editor:empty:before{content:'Escribe aquí los Términos y Condiciones…';color:#9aa8b7}.legal-rich-editor h2,.legal-document-body h2{font-size:20px;line-height:1.35;margin:24px 0 10px;color:#10283a}.legal-rich-editor h3,.legal-document-body h3{font-size:15px;line-height:1.4;margin:20px 0 8px;color:#10283a;font-weight:900}.legal-rich-editor h4,.legal-document-body h4{font-size:13.5px;margin:17px 0 7px;color:#18364d;font-weight:900}.legal-rich-editor p,.legal-document-body p{margin:0 0 13px}.legal-rich-editor ul,.legal-rich-editor ol,.legal-document-body ul,.legal-document-body ol{padding-left:24px;margin:8px 0 15px}.legal-rich-editor li,.legal-document-body li{margin:5px 0}.legal-rich-editor blockquote,.legal-document-body blockquote{margin:14px 0;padding:11px 14px;border-left:3px solid #12a98d;background:#f1faf8;border-radius:0 10px 10px 0}.legal-rich-editor a,.legal-document-body a{color:#087866;font-weight:750;text-decoration:underline;text-underline-offset:2px}.legal-rich-editor hr,.legal-document-body hr{border:0;border-top:1px solid #e2e9ee;margin:18px 0}.legal-html-source{display:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12.5px!important;line-height:1.6!important;white-space:pre;tab-size:2}.legal-rich-editor-shell.source-mode .legal-rich-editor{display:none}.legal-rich-editor-shell.source-mode .legal-html-source{display:block}.legal-editor-status{min-height:38px;padding:8px 12px;border-top:1px solid #e6edf1;background:#fbfdfd;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7b8b9d;font-size:10.5px}.legal-editor-status span{display:flex;align-items:center;gap:6px}.legal-editor-status i{color:#0aa489}
.legal-content-field .field-help{display:flex;align-items:flex-start;gap:7px;margin-top:8px!important;color:#728398!important}.legal-content-field .field-help i{margin-top:2px;color:#0a8e79}
.legal-publish-note{margin:0!important}.legal-admin-footer{min-height:78px;padding:13px 24px;border-top:1px solid #dfe8ed;background:#fbfdfd;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:5}.legal-admin-footer-note{display:flex;align-items:center;gap:9px;min-width:0;color:#6f8296;font-size:11px;line-height:1.4}.legal-admin-footer-note>i{width:30px;height:30px;border-radius:9px;background:#eaf7f4;color:#08836f;display:grid;place-items:center;flex:0 0 30px}.legal-admin-footer-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.legal-admin-footer-actions button{white-space:nowrap!important}
.legal-document-body{font-size:13.5px!important;line-height:1.72!important;color:#3b5369!important}.legal-document-body>h2:first-child,.legal-document-body>h3:first-child{margin-top:0!important}
@media(max-width:760px){#legalTermsAdminModal{padding:8px!important}#legalTermsAdminModal .legal-admin-modal-card{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}#legalTermsAdminModal .legal-admin-head{padding:14px 16px!important;min-height:82px!important}.legal-admin-head-icon{width:40px;height:40px;flex-basis:40px}.legal-admin-heading b{font-size:16px}.legal-admin-heading span{display:none}.legal-admin-scroll{padding:14px 16px 18px!important}.legal-field-label{align-items:flex-start;flex-direction:column;gap:3px}.legal-field-label small{text-align:left}.legal-editor-toolbar{padding:6px}.legal-format-select{min-width:118px}.legal-rich-editor,.legal-html-source{min-height:320px;max-height:calc(100dvh - 410px);padding:17px}.legal-admin-footer{padding:11px 16px;min-height:70px}.legal-admin-footer-note{display:none}.legal-admin-footer-actions{width:100%}.legal-admin-footer-actions button{flex:1 1 50%}.legal-toolbar-divider{display:none}}


/* ZYNKO V2.27.9 · corrección botón Cancelar del editor legal */
#legalTermsAdminModal .legal-admin-footer-actions .modal-close{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:118px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 16px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border-radius:11px!important;
  background:#10283a!important;
  color:#fff!important;
  border:1px solid #10283a!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
#legalTermsAdminModal .legal-admin-footer-actions .modal-close i{
  margin:0!important;
  line-height:1!important;
}
#legalTermsAdminModal .legal-admin-footer-actions .modal-close:hover{
  background:#17384e!important;
  border-color:#17384e!important;
}
#legalTermsAdminModal .legal-admin-footer-actions .primary{
  min-height:42px!important;
  height:42px!important;
  padding:0 17px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
#legalTermsAdminModal .legal-admin-footer-actions .primary i{margin:0!important}
@media(max-width:760px){
  #legalTermsAdminModal .legal-admin-footer-actions .modal-close,
  #legalTermsAdminModal .legal-admin-footer-actions .primary{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
  }
}

/* ZYNKO V2.28.1 · SEO Manager */
.seo-admin-panel .panel-head{align-items:center;gap:18px}
.seo-admin-panel .status-chip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 12px;border:1px solid #bfe9e1;border-radius:999px;background:#effcf8;color:#087f6d;font-size:12px;font-weight:800}
.seo-file-status{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.seo-file-status>div{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #dbe5ec;border-radius:14px;background:#fbfdff}
.seo-file-status>div>i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eaf9f5;color:#089981}
.seo-file-status span{display:flex;min-width:0;flex-direction:column;gap:3px}
.seo-file-status b{font-size:13px;color:#10263a}
.seo-file-status small{line-height:1.45;color:#718096}
.seo-admin-panel textarea{resize:vertical;min-height:92px}
@media(max-width:860px){.seo-file-status{grid-template-columns:1fr}.seo-admin-panel .panel-head{align-items:flex-start}.seo-admin-panel .status-chip{display:none}}


/* ZYNKO V2.28.2 · Identidad visual NIVO restaurada */
.nivo-page-welcome{align-items:center!important;gap:18px!important}.nivo-welcome-tools{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.nivo-identity-card{display:flex;align-items:center;gap:10px;min-width:188px;padding:7px 11px 7px 7px;border:1px solid #dce9e6;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.07)}.nivo-identity-card img{width:46px;height:46px;object-fit:contain;object-position:center;border-radius:11px;background:#f4fbf9}.nivo-identity-card span{display:grid;gap:2px;min-width:0}.nivo-identity-card b{font-size:13px;line-height:1.2;color:var(--text,#122033)}.nivo-identity-card small{font-size:10px;line-height:1.25;color:var(--muted,#64748b);white-space:nowrap}.nivo-webchat-rail{min-width:0;display:grid;gap:14px;align-self:start;position:sticky;top:88px}.nivo-webchat-rail .webchat-preview{position:static!important;top:auto!important}.nivo-companion-card{overflow:hidden;border:1px solid #dce9e6;border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.07)}.nivo-companion-copy{padding:14px 16px 10px;display:grid;gap:4px}.nivo-companion-copy b{font-size:13px;color:var(--text,#122033)}.nivo-companion-copy small{font-size:11px;line-height:1.45;color:var(--muted,#64748b)}.nivo-companion-visual{height:164px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:linear-gradient(180deg,#f8fffd 0%,#eefaf7 100%)}.nivo-companion-visual img{display:block;width:min(78%,230px);height:185px;object-fit:contain;object-position:center bottom;transform:translateY(8px)}
@media(max-width:1180px){.nivo-webchat-rail{position:static!important;top:auto!important;grid-template-columns:minmax(0,1fr) minmax(240px,.45fr);align-items:start}.nivo-companion-card{height:100%}.nivo-companion-visual{min-height:220px;height:calc(100% - 70px)}}
@media(max-width:760px){.nivo-page-welcome{align-items:flex-start!important}.nivo-welcome-tools{width:100%;margin-left:0;justify-content:flex-start}.nivo-identity-card{min-width:0;flex:1 1 190px}.nivo-webchat-rail{grid-template-columns:1fr}.nivo-companion-visual{height:180px;min-height:0}.nivo-companion-visual img{height:200px}.nivo-welcome-tools .status-badge{flex:0 0 auto}}


/* ZYNKO V2.28.3 · Rail NIVO a ancho completo y altura restaurada */
.nivo-webchat-page .webchat-layout{grid-template-columns:minmax(0,1fr) minmax(340px,380px)!important;align-items:start!important}
.nivo-webchat-page .nivo-webchat-rail{width:100%!important;min-width:340px!important;display:grid!important;grid-template-columns:1fr!important;gap:16px!important;justify-self:stretch!important;align-self:start!important;position:sticky!important;top:88px!important}
.nivo-webchat-page .nivo-webchat-rail>*{width:100%!important;max-width:none!important;min-width:0!important}
.nivo-webchat-page .webchat-preview,.nivo-webchat-page .nivo-companion-card{width:100%!important;margin:0!important}
.nivo-webchat-page .preview-stage{width:100%!important;min-height:500px!important;padding:18px 18px 28px!important;display:flex!important;align-items:stretch!important;justify-content:center!important;overflow:hidden!important}
.nivo-webchat-page .preview-chat{width:100%!important;max-width:100%!important;min-height:348px!important;display:flex!important;flex-direction:column!important;align-self:center!important}
.nivo-webchat-page .preview-head{min-height:96px!important;align-items:flex-start!important}
.nivo-webchat-page .preview-head>div{min-width:0!important}
.nivo-webchat-page .preview-head b,.nivo-webchat-page .preview-head small{display:block!important;white-space:normal!important}
.nivo-webchat-page .preview-body{flex:1 1 auto!important;min-height:0!important}
.nivo-webchat-page .preview-body span{max-width:78%!important}
.nivo-webchat-page .preview-input{margin-top:auto!important}
.nivo-webchat-page .preview-launcher{right:20px!important;bottom:20px!important}
.nivo-webchat-page .nivo-companion-visual{height:220px!important;min-height:220px!important}
.nivo-webchat-page .nivo-companion-visual img{width:min(88%,260px)!important;height:220px!important;transform:translateY(10px)!important}
@media(max-width:1360px){.nivo-webchat-page .webchat-layout{grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important}.nivo-webchat-page .nivo-webchat-rail{min-width:320px!important}.nivo-webchat-page .preview-stage{min-height:470px!important}}
@media(max-width:1180px){.nivo-webchat-page .webchat-layout{grid-template-columns:1fr!important}.nivo-webchat-page .nivo-webchat-rail{min-width:0!important;position:static!important;top:auto!important;grid-template-columns:minmax(0,1fr) minmax(260px,.42fr)!important}.nivo-webchat-page .preview-stage{min-height:430px!important}.nivo-webchat-page .nivo-companion-card{height:100%!important}.nivo-webchat-page .nivo-companion-visual{height:calc(100% - 70px)!important;min-height:230px!important}.nivo-webchat-page .nivo-companion-visual img{height:210px!important}}
@media(max-width:760px){.nivo-webchat-page .nivo-webchat-rail{grid-template-columns:1fr!important}.nivo-webchat-page .preview-stage{min-height:360px!important;padding:16px 16px 24px!important}.nivo-webchat-page .preview-chat{min-height:310px!important}.nivo-webchat-page .nivo-companion-visual{height:190px!important;min-height:190px!important}.nivo-webchat-page .nivo-companion-visual img{height:200px!important}}


/* ZYNKO V2.28.4 · Rail NIVO limpio, altura sincronizada y mascota animada */
.nivo-webchat-page .webchat-layout{align-items:start!important}
.nivo-webchat-page .nivo-webchat-rail{
  width:100%!important;
  min-width:340px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,1fr) minmax(210px,30%)!important;
  gap:16px!important;
  justify-self:stretch!important;
  align-self:start!important;
  position:sticky!important;
  top:88px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  color:inherit!important;
  overflow:hidden!important;
}
.nivo-webchat-page .nivo-webchat-rail>.webchat-preview,
.nivo-webchat-page .nivo-webchat-rail>.nivo-companion-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
}
.nivo-webchat-page .nivo-webchat-rail>.webchat-preview{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  overflow:hidden!important;
}
.nivo-webchat-page .webchat-preview .panel-head{flex:0 0 auto!important}
.nivo-webchat-page .preview-stage{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:18px 18px 22px!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.nivo-webchat-page .preview-chat{
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
}
.nivo-webchat-page .preview-head{flex:0 0 auto!important;min-height:92px!important}
.nivo-webchat-page .preview-body{flex:1 1 auto!important;min-height:120px!important}
.nivo-webchat-page .preview-input{flex:0 0 auto!important}
.nivo-webchat-page .nivo-companion-card{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  overflow:hidden!important;
  background:var(--surface,#fff)!important;
}
.nivo-webchat-page .nivo-companion-copy{flex:0 0 auto!important}
.nivo-webchat-page .nivo-companion-visual{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
  background:#f6fcfa!important;
}
.nivo-webchat-page .nivo-companion-visual img{
  width:min(82%,250px)!important;
  height:100%!important;
  max-height:220px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
}

/* NIVO no queda estático: movimiento sutil y continuo en Web Chat e IA */
.nivo-identity-card{position:relative!important;overflow:visible!important;isolation:isolate}
.nivo-identity-card img{animation:nivoMascotFloat 3.2s ease-in-out infinite!important;will-change:transform,filter}
.nivo-identity-card:after{content:"";position:absolute;left:19px;bottom:5px;width:34px;height:7px;border-radius:50%;background:rgba(13,128,107,.12);filter:blur(4px);z-index:-1;animation:nivoMascotShadow 3.2s ease-in-out infinite}
.nivo-companion-visual img{animation:nivoMascotWave 4.1s ease-in-out infinite!important;transform-origin:50% 82%!important;will-change:transform}
@keyframes nivoMascotFloat{0%,100%{transform:translateY(0) rotate(0deg);filter:drop-shadow(0 5px 7px rgba(13,128,107,.05))}25%{transform:translateY(-3px) rotate(-1.2deg)}50%{transform:translateY(-6px) rotate(.8deg);filter:drop-shadow(0 9px 10px rgba(13,128,107,.12))}75%{transform:translateY(-2px) rotate(1.1deg)}}
@keyframes nivoMascotShadow{0%,100%{transform:scaleX(1);opacity:.8}50%{transform:scaleX(.78);opacity:.45}}
@keyframes nivoMascotWave{0%,100%{transform:translateY(8px) rotate(0deg)}25%{transform:translateY(4px) rotate(-1deg)}50%{transform:translateY(1px) rotate(1.2deg)}75%{transform:translateY(5px) rotate(-.6deg)}}
@media(prefers-reduced-motion:reduce){.nivo-identity-card img,.nivo-identity-card:after,.nivo-companion-visual img{animation:none!important}}

@media(max-width:1180px){
  .nivo-webchat-page .nivo-webchat-rail{
    height:auto!important;
    min-width:0!important;
    position:static!important;
    top:auto!important;
    grid-template-columns:minmax(0,1fr) minmax(260px,.42fr)!important;
    grid-template-rows:auto!important;
    overflow:visible!important;
  }
  .nivo-webchat-page .nivo-webchat-rail>.webchat-preview,
  .nivo-webchat-page .nivo-webchat-rail>.nivo-companion-card{height:auto!important}
  .nivo-webchat-page .preview-stage{min-height:430px!important}
  .nivo-webchat-page .preview-chat{min-height:350px!important;height:auto!important}
  .nivo-webchat-page .nivo-companion-visual{min-height:230px!important}
  .nivo-webchat-page .nivo-companion-visual img{height:220px!important;max-height:220px!important}
}
@media(max-width:760px){
  .nivo-page-welcome{gap:14px!important}
  .nivo-welcome-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important;gap:10px!important}
  .nivo-identity-card{width:100%!important;min-width:0!important;max-width:100%!important}
  .nivo-identity-card small{white-space:normal!important}
  .nivo-webchat-page .nivo-webchat-rail{grid-template-columns:1fr!important}
  .nivo-webchat-page .preview-stage{min-height:360px!important;padding:16px!important}
  .nivo-webchat-page .preview-chat{min-height:320px!important}
  .nivo-webchat-page .nivo-companion-visual{min-height:190px!important}
  .nivo-webchat-page .nivo-companion-visual img{height:200px!important;max-height:200px!important}
}
@media(max-width:480px){
  .nivo-welcome-tools{grid-template-columns:1fr!important}
  .nivo-welcome-tools .status-badge{justify-self:start!important}
  .nivo-identity-card{padding-right:9px!important}
}


/* ZYNKO V2.28.5 · KPIs NIVO interactivos + estado inactivo semántico */
/* La animación de entrada ya no conserva el transform al finalizar; así el hover vuelve a responder. */
.nivo-webchat-page .webchat-kpi.kpi-enter{
  animation-name:webchatKpiEnter!important;
  animation-duration:.45s!important;
  animation-timing-function:ease!important;
  animation-fill-mode:backwards!important;
}
.nivo-webchat-page .webchat-kpi{
  transform:translate3d(0,0,0);
  transform-origin:center;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease!important;
  will-change:transform;
}
@media (hover:hover) and (pointer:fine){
  .nivo-webchat-page .webchat-kpi:hover{
    transform:translate3d(0,-6px,0) scale(1.012)!important;
    box-shadow:0 16px 34px rgba(15,35,55,.12)!important;
    border-color:rgba(15,118,110,.34)!important;
    background:#fff!important;
  }
  .nivo-webchat-page .webchat-kpi:hover::after{
    transform:scale(1.45) translate3d(-3px,-2px,0)!important;
    opacity:1!important;
  }
  .nivo-webchat-page .webchat-kpi:hover>span{
    transform:translateY(-1px) scale(1.1) rotate(-3deg)!important;
    box-shadow:0 9px 20px rgba(7,139,118,.16)!important;
  }
  .nivo-webchat-page .webchat-kpi:hover b{
    transform:scale(1.065)!important;
    color:#078b76!important;
  }
}
/* Inactivo no puede usar el verde reservado para estados activos/conectados. */
.nivo-page-welcome .status-badge.inactive{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  background:#fff7e8!important;
  color:#8a5600!important;
  border:1px solid #f2cf8e!important;
  box-shadow:0 5px 14px rgba(138,86,0,.06)!important;
}
.nivo-page-welcome .status-badge.inactive i{
  color:#d58a00!important;
  margin-right:0!important;
}
.nivo-page-welcome .status-badge.connected{
  background:#e9f8f4!important;
  color:#08705c!important;
  border:1px solid #ccefe4!important;
}
.nivo-page-welcome .status-badge.connected i{color:#0fa98b!important}
@media(max-width:760px){
  .nivo-webchat-page .webchat-kpi{will-change:auto}
}
@media(prefers-reduced-motion:reduce){
  .nivo-webchat-page .webchat-kpi.kpi-enter{animation:none!important}
  .nivo-webchat-page .webchat-kpi{transition:border-color .18s ease,box-shadow .18s ease!important}
}


/* ZYNKO V2.28.6 · Sitio público, acceso y redes administrables */
.auth-site-back{display:inline-flex;align-items:center;gap:8px;width:max-content;margin:0 0 18px;color:var(--accent2,#0f8d79);font-size:12px;font-weight:800;text-decoration:none;padding:7px 9px;border-radius:9px;border:1px solid transparent;transition:.18s ease}.auth-site-back:hover{background:#eaf8f4;border-color:#ccebe4;transform:translateX(-2px)}.public-site-admin .panel-head{align-items:flex-start}.social-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.social-admin-card{border:1px solid var(--line,#dfe7ee);border-radius:14px;padding:14px;background:var(--panel,#fff)}.social-admin-head{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:center}.social-admin-head>span{width:40px;height:40px;border-radius:11px;background:#eaf8f4;color:#0d9279;display:grid;place-items:center;font-size:16px}.social-admin-head b,.social-admin-head small{display:block}.social-admin-head small{margin-top:2px;color:var(--muted,#64748b);font-size:11px}.social-admin-head .switch-line{width:auto!important;min-width:112px!important}.social-admin-fields{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;margin-top:12px}.social-order-field input{text-align:center}.public-site-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f3faf8;border:1px solid #d8eee9;color:#52697c;font-size:12px}.public-site-note i{color:#0d9279;margin-top:2px}@media(max-width:820px){.social-admin-grid{grid-template-columns:1fr}}@media(max-width:520px){.auth-site-back{margin-bottom:12px}.social-admin-head{grid-template-columns:40px minmax(0,1fr)}.social-admin-head .switch-line{grid-column:1/-1;width:100%!important}.social-admin-fields{grid-template-columns:1fr 82px}}


/* ZYNKO V2.28.7 · Login premium compacto + posición administrable de redes */
.auth-site-back{min-height:40px!important;padding:9px 12px!important;margin:0 0 16px!important;border:1px solid var(--line,#dce6ec)!important;border-radius:11px!important;background:var(--surface2,#f7fafb)!important;color:var(--accent2,#0d806b)!important;box-shadow:0 5px 14px rgba(15,23,42,.04)!important;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important}.auth-site-back i{width:22px;height:22px;border-radius:7px;background:#e6f7f2;color:#0d9279;display:grid;place-items:center;font-size:10px}.auth-site-back:hover{background:#f0faf7!important;border-color:#bfe2da!important;box-shadow:0 8px 20px rgba(15,23,42,.07)!important;transform:translateX(-2px)!important}.auth-site-back:focus-visible{outline:3px solid rgba(16,169,139,.18);outline-offset:2px}
.auth-login{padding:24px 16px!important}.auth-login .login-card{width:min(520px,calc(100% - 28px))!important;padding:28px 34px!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(20,40,60,.11)!important}.auth-login .login-brand{padding:0 0 15px!important}.auth-login .login-card h1{font-size:31px!important;line-height:1.08!important;margin:0 0 7px!important}.auth-login .login-card>p{margin:0!important;max-width:420px!important;line-height:1.5!important}.auth-login .login-card form{gap:8px!important;margin-top:18px!important}.auth-login .login-card .field{gap:6px!important}.auth-login .login-card input{min-height:44px!important;padding:10px 12px!important}.auth-login .login-card .form-line{margin:2px 0!important;min-height:40px!important}.auth-login .login-card form>button{min-height:44px!important;margin-top:5px!important}.auth-login .login-signup{margin-top:13px!important;padding:12px 14px!important;gap:5px!important}.auth-login .login-meta{margin-top:13px!important}.auth-login .auth-site-back{margin-bottom:14px!important}
.social-placement-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:18px;margin-top:18px;padding:16px;border:1px solid var(--line,#dfe7ee);border-radius:16px;background:var(--surface2,#f8fafc);overflow:hidden}.social-placement-copy{grid-column:1/-1;display:flex;align-items:flex-start;gap:11px}.social-placement-copy>div{display:grid;gap:2px}.social-placement-copy b{font-size:13px;color:var(--text,#122033)}.social-placement-copy small{color:var(--muted,#64748b);line-height:1.45}.social-placement-icon{width:40px;height:40px;flex:0 0 40px;border-radius:11px;background:#e8f7f3;color:#0d9279;display:grid;place-items:center}.social-placement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.social-placement-switch .switch-line{width:100%!important;min-height:42px!important}.social-placement-preview{min-height:150px;border:1px solid #dce6ec;border-radius:14px;background:#fff;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}.preview-browser{position:absolute;left:10px;right:10px;top:10px;height:30px;border-radius:9px;background:#f2f6f8;border:1px solid #e3ebef;display:flex;align-items:center;padding:0 8px;gap:5px;color:#8290a3;font-size:9px}.preview-browser>i{width:6px;height:6px;border-radius:50%;background:#cad7df}.preview-browser>b{margin-left:4px;font-size:9px}.preview-socials{position:absolute;display:grid;gap:5px}.preview-socials>i{width:24px;height:24px;border-radius:8px;color:#fff;display:grid;place-items:center;font-size:9px;box-shadow:0 5px 12px rgba(15,23,42,.09)}.preview-socials>i:nth-child(1){background:#1877f2}.preview-socials>i:nth-child(2){background:#e1306c}.preview-socials>i:nth-child(3){background:#111}.preview-socials.is-left{left:9px}.preview-socials.is-right{right:9px}.preview-socials.is-top{top:49px}.preview-socials.is-center{top:50%;transform:translateY(-36%)}.preview-socials.is-bottom{bottom:10px}
@media(max-width:900px){.social-placement-panel{grid-template-columns:1fr}.social-placement-preview{min-height:130px}.auth-login .login-card{width:min(500px,calc(100% - 28px))!important}}
@media(max-width:620px){.social-placement-grid{grid-template-columns:1fr}.social-placement-preview{display:none}.auth-login{padding:14px 10px!important;align-items:flex-start!important}.auth-login .login-card{width:100%!important;padding:22px 20px!important;margin-top:8px!important}.auth-login .login-card h1{font-size:27px!important}.auth-login .login-brand{padding-bottom:12px!important}.auth-login .login-card form{margin-top:15px!important}.auth-login .login-signup{padding:11px!important}.auth-site-back{width:100%!important;justify-content:center!important;margin-bottom:12px!important}}


/* ZYNKO V2.29.0 · Política global de botones sin fondo blanco */
/* Botones secundarios y utilitarios usan superficies tintadas; las acciones primarias conservan teal. */
.icon-btn,.pagination button,.user-chip,.global-search,.help,#theme,#fullscreenBtn,#menu,.clear-search,.composer-tools button,.legal-editor-toolbar button,.password-visibility,.search-box button{
  background:#eef6f5!important;
  border-color:#d6e8e4!important;
  color:#29485a!important;
}
.icon-btn:hover,.pagination button:hover:not(:disabled),.user-chip:hover,.global-search:hover,.help:hover,#theme:hover,#fullscreenBtn:hover,#menu:hover,.clear-search:hover,.composer-tools button:hover,.legal-editor-toolbar button:hover,.password-visibility:hover,.search-box button:hover{
  background:#e2f2ee!important;
  border-color:#bddfd7!important;
  color:#087866!important;
}
.pagination button.active{background:var(--accent,#13a88a)!important;border-color:var(--accent,#13a88a)!important;color:#fff!important}
.pagination button:disabled{background:#f0f4f5!important;color:#8b9aa7!important;border-color:#e0e7e9!important}
.auth-site-back{background:#10283a!important;border-color:#10283a!important;color:#fff!important;box-shadow:0 8px 20px rgba(16,40,58,.12)!important}
.auth-site-back i{background:rgba(255,255,255,.12)!important;color:#fff!important}
.auth-site-back:hover,.auth-site-back:focus-visible{background:#17384e!important;border-color:#17384e!important;color:#fff!important;box-shadow:0 10px 24px rgba(16,40,58,.18)!important}
.login-back a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;padding:9px 13px!important;border-radius:10px!important;background:#eef6f5!important;border:1px solid #d6e8e4!important;color:#087866!important;transition:.18s ease!important}
.login-back a:hover{background:#e2f2ee!important;border-color:#bddfd7!important;transform:translateY(-1px)!important}
.channel-catalog-item{background:var(--surface2,#f8fafc)!important}.channel-catalog-item:hover:not(.coming-soon){background:#f0f9f7!important}
.zynko-dialog-cancel{background:#10283a!important;color:#fff!important;border-color:#10283a!important}.zynko-dialog-cancel:hover{background:#17384e!important;border-color:#17384e!important;color:#fff!important}
/* Los controles transparentes siguen siendo transparentes: nunca se fuerzan a blanco. */
.side-collapse,.user-dropdown button,.search-box button,.zynko-notify button{background-color:transparent!important}
/* Dark mode conserva contraste sin convertir acciones en botones blancos. */
body.dark .icon-btn,body.dark .pagination button,body.dark .user-chip,body.dark .global-search,body.dark .help,body.dark #theme,body.dark #fullscreenBtn,body.dark #menu,body.dark .clear-search,body.dark .composer-tools button,body.dark .legal-editor-toolbar button,body.dark .password-visibility{background:#182b35!important;border-color:#29414b!important;color:#dbeae7!important}
body.dark .icon-btn:hover,body.dark .pagination button:hover:not(:disabled),body.dark .user-chip:hover,body.dark .global-search:hover,body.dark .help:hover,body.dark #theme:hover,body.dark #fullscreenBtn:hover,body.dark #menu:hover,body.dark .clear-search:hover,body.dark .composer-tools button:hover,body.dark .legal-editor-toolbar button:hover,body.dark .password-visibility:hover{background:#203943!important;border-color:#356058!important;color:#8de1cf!important}

/* V2.29.0 · Pulido premium de paneles, auth y dropdown */
.panel,.record-card,.integration-card,.nivo-list-row,.source,.tenant-plan-row,.api-key-row,.channel-card,.plan-card,.free-plan-summary>div,.social-admin-card,.user-dropdown,.nivo-companion-card,.webchat-preview,.onboarding-step,.subscription-summary-card{
  box-shadow:0 14px 34px rgba(15,23,42,.05)!important;
}
.panel,.channel-card,.record-card,.integration-card,.plan-card,.webchat-preview,.nivo-companion-card,.free-plan-summary>div,.social-admin-card,.user-dropdown{
  border-color:#dce7ee!important;
}
.panel-head b,.panel-head h2,.panel-head h3{letter-spacing:-.01em}
.welcome{gap:18px!important;margin-bottom:18px!important}
.welcome>div small,.panel > small:first-child,.page-intro small{
  letter-spacing:.14em!important;
  font-weight:900!important;
  color:#72859a!important;
}
.welcome h1,.page-title{letter-spacing:-.03em}
.empty-compact{
  min-height:190px!important;
  gap:10px!important;
  padding:24px 16px!important;
  color:#5b6f85!important;
}
.empty-compact i{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#e8f7f3;
  color:#0c8d77!important;
  font-size:24px!important;
}
.user-dropdown{
  width:min(310px,calc(100vw - 24px))!important;
  padding:10px!important;
  border-radius:20px!important;
}
.user-dropdown-head{
  padding:10px 12px 14px!important;
  border-bottom:1px solid #e3edf2!important;
  margin-bottom:8px!important;
}
.user-dropdown a,.user-dropdown button{
  border-radius:12px!important;
  min-height:46px!important;
  font-weight:800!important;
}
.user-dropdown a:hover,.user-dropdown button:hover{
  background:#eef8f5!important;
  color:#0c836d!important;
}
.global-search{
  border-radius:15px!important;
  min-height:44px!important;
}
.top-status,.realtime-pill{box-shadow:0 8px 22px rgba(245,158,11,.08)!important}
.channel-cards.channel-grid>.channel-card.channel-tile,
.nivo-list-row,
.record-card,
.integration-card,
.tenant-plan-row,
.api-key-row{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.channel-cards.channel-grid>.channel-card.channel-tile:hover,
.nivo-list-row:hover,
.record-card:hover,
.integration-card:hover,
.tenant-plan-row:hover,
.api-key-row:hover{
  transform:translateY(-2px);
  border-color:#bfded6!important;
  box-shadow:0 18px 36px rgba(15,23,42,.08)!important;
}
.nivo-identity-card,
.nivo-companion-card,
.webchat-preview,
.meta-note,
.nivo-guide,
.api-doc,
.security-note{
  border-color:#d5e8e3!important;
}
.auth-inline-highlights{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 6px}
.auth-inline-highlights span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:999px;
  background:#eef8f5;
  color:#0a7e69;
  border:1px solid #cfe7df;
  font-size:12px;
  font-weight:800;
}
.auth-nivo-strip{
  display:grid;
  grid-template-columns:minmax(0,1fr) 92px;
  gap:14px;
  align-items:center;
  margin:16px 0 18px;
  padding:14px 16px;
  border:1px solid #d7ebe5;
  border-radius:18px;
  background:linear-gradient(135deg,#f6fcfa 0%,#eef8f5 100%);
}
.auth-nivo-copy{display:grid;gap:4px}
.auth-nivo-copy b{font-size:14px;color:#10283a}
.auth-nivo-copy small{color:#63788f;line-height:1.45}
.auth-nivo-strip img{
  width:92px;
  max-width:100%;
  height:92px;
  object-fit:contain;
  justify-self:end;
  filter:drop-shadow(0 12px 20px rgba(13,128,107,.12));
}
.register-nivo-strip{margin-top:0;margin-bottom:22px}
.free-plan-summary>div{padding:15px 14px!important}
.free-plan-summary b{font-size:14px;color:#10283a}
.login-signup{background:linear-gradient(180deg,#fbfcfd 0%,#f5faf9 100%)!important}
.auth-card{border-color:#dce7ee!important}
.auth-login .login-card{
  background:linear-gradient(180deg,#ffffff 0%,#fcfefe 100%)!important;
}
.auth-login .login-card>p,.auth-heading p{color:#61778f!important}
@media(max-width:760px){
  .channel-cards.channel-grid>.channel-card.channel-tile:hover,
  .nivo-list-row:hover,
  .record-card:hover,
  .integration-card:hover,
  .tenant-plan-row:hover,
  .api-key-row:hover{transform:none}
  .auth-nivo-strip{grid-template-columns:1fr;justify-items:start}
  .auth-nivo-strip img{justify-self:start;width:82px;height:82px}
}

/* V2.29.2 · Registro más compacto y espaciado consistente */
.auth-register{padding:20px 14px!important}
.auth-register .auth-card{
  width:min(900px,100%)!important;
  padding:22px 26px!important;
  border-radius:22px!important;
}
.auth-register .auth-site-back{margin-bottom:12px!important}
.auth-register .login-brand{padding-bottom:8px!important}
.auth-register .auth-heading{margin:8px 0 14px!important;gap:16px!important}
.auth-register .auth-heading h1{margin:4px 0!important;line-height:1.1!important}
.auth-register .free-plan-summary{gap:10px!important;margin-bottom:12px!important}
.auth-register .free-plan-summary>div{padding:10px 12px!important;min-height:66px!important}
.auth-register .free-plan-summary i{width:32px!important;height:32px!important}
.auth-register .register-nivo-strip{
  grid-template-columns:minmax(0,1fr) 72px!important;
  gap:12px!important;
  padding:10px 14px!important;
  margin:0 0 14px!important;
  border-radius:15px!important;
}
.auth-register .register-nivo-strip img{width:68px!important;height:68px!important}
.auth-register .auth-grid{gap:10px 14px!important}
.auth-register .field{gap:4px!important}
.auth-register .field input,.auth-register .field select{min-height:40px!important;padding:9px 11px!important}
.auth-register .register-terms{margin:10px 0 12px!important}
.auth-register .auth-primary{min-height:44px!important}
.auth-register .auth-footer-link{margin-top:10px!important;padding-top:10px!important}

/* Login: mantener aire sin que elementos queden pegados */
.auth-login .auth-inline-highlights{margin:14px 0 12px!important}
.auth-login .auth-nivo-strip{margin:0 0 18px!important}
.auth-login .login-card form{margin-top:0!important}

/* Pulido de movimiento para cards internas sin alterar funcionalidad */
.panel,.channel-card,.record-card,.integration-card,.plan-card,.nivo-list-row,.tenant-plan-row,.api-key-row,.free-plan-summary>div{
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.panel:hover,.channel-card:hover,.record-card:hover,.integration-card:hover,.plan-card:hover,.nivo-list-row:hover,.tenant-plan-row:hover,.api-key-row:hover,.free-plan-summary>div:hover{
  transform:translateY(-2px)!important;
  border-color:#bfddd7!important;
  box-shadow:0 16px 36px rgba(15,23,42,.08)!important;
}
@media(max-width:760px){
  .auth-register{padding:12px 8px!important}
  .auth-register .auth-card{padding:18px 16px!important}
  .auth-register .register-nivo-strip{grid-template-columns:minmax(0,1fr) 62px!important}
  .auth-register .register-nivo-strip img{width:60px!important;height:60px!important;justify-self:end!important}
  .panel:hover,.channel-card:hover,.record-card:hover,.integration-card:hover,.plan-card:hover,.nivo-list-row:hover,.tenant-plan-row:hover,.api-key-row:hover,.free-plan-summary>div:hover{transform:none!important}
}

/* V2.29.5 · Administración Cloudflare Turnstile */
.turnstile-admin-panel{margin-top:20px;margin-bottom:20px;padding:18px;border:1px solid #d8e9e4;border-radius:16px;background:linear-gradient(180deg,#fbfefd 0%,#f4fbf8 100%)}
.turnstile-admin-head{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:13px;align-items:center}
.turnstile-admin-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e8f7f3;color:#0c8b75;font-size:18px}
.turnstile-admin-head>div{display:grid;gap:3px;min-width:0}.turnstile-admin-head b{color:#10283a}.turnstile-admin-head small{color:#64788c;line-height:1.45}
.turnstile-admin-head .switch-line{min-width:116px;justify-content:flex-end}
.turnstile-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;margin-top:17px;padding-top:17px;border-top:1px solid #dceae6}
.turnstile-admin-grid>.field:nth-child(3){grid-column:1/2}
.turnstile-admin-status{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border:1px solid #d8e9e4;border-radius:12px;background:#fff;color:#536b7e;min-width:0}
.turnstile-admin-status>i{margin-top:3px;color:#0da487}.turnstile-admin-status>div{display:grid;gap:3px}.turnstile-admin-status b{color:#17354b;font-size:12px}.turnstile-admin-status small{line-height:1.45;font-size:11px}
@media(max-width:860px){.turnstile-admin-head{grid-template-columns:46px minmax(0,1fr)}.turnstile-admin-head .switch-line{grid-column:1/-1;justify-content:flex-start}.turnstile-admin-grid{grid-template-columns:1fr}.turnstile-admin-grid>.field:nth-child(3){grid-column:auto}}

/* V2.29.7 · Responsive reforzado del administrador + analítica pública */
.site-analytics-panel{overflow:hidden}
.analytics-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.analytics-range-btn{min-height:38px;padding:8px 12px;border-radius:10px;background:#10283a;color:#fff;border:1px solid #10283a;font-weight:800}
.analytics-range-btn.is-active{background:#0fa98b;border-color:#0fa98b}
.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 18px}
.analytics-kpi{position:relative;overflow:hidden;padding:17px;border:1px solid #dce7ee;border-radius:15px;background:var(--surface,#fff);display:grid;gap:5px;min-width:0}
.analytics-kpi:after{content:'';position:absolute;right:-18px;bottom:-26px;width:82px;height:82px;border-radius:50%;background:#eef8f5}
.analytics-kpi span{font-size:11px;color:var(--muted,#64748b);font-weight:800;position:relative;z-index:1}.analytics-kpi b{font-size:28px;color:var(--text,#10243a);position:relative;z-index:1}.analytics-kpi small{position:relative;z-index:1;color:#0c8b75}
.analytics-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch}
.analytics-chart-card,.analytics-side-card{border:1px solid #dce7ee;border-radius:16px;background:var(--surface,#fff);padding:16px;min-width:0}
.analytics-chart-card h3,.analytics-side-card h3{margin:0 0 4px;font-size:14px}.analytics-chart-card>small,.analytics-side-card>small{color:var(--muted,#64748b)}
.analytics-chart{height:240px;display:flex;align-items:end;gap:7px;margin-top:20px;padding:0 4px 8px;border-bottom:1px solid #e4ebef;overflow-x:auto;overflow-y:hidden}
.analytics-chart[hidden]{display:none!important}
.analytics-bar{flex:1 1 44px;min-width:38px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;position:relative}
.analytics-bar-track{width:100%;height:calc((100% - 48px) * var(--analytics-height,4) / 100);min-height:28px;position:relative;flex-shrink:0;max-height:190px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#16b899,#0c8a75);box-shadow:0 8px 18px rgba(16,169,139,.12);transition:transform .18s ease,filter .18s ease}
.analytics-bar:hover .analytics-bar-track{transform:translateY(-4px);filter:saturate(1.1)}
.analytics-bar b{font-size:10px;color:#334b61;white-space:nowrap}.analytics-bar small{font-size:9px;color:#7c8da0;white-space:nowrap}
.analytics-bar-value{position:absolute;bottom:calc(var(--analytics-height,4) * 1% + 32px);padding:5px 7px;border-radius:8px;background:#10283a;color:#fff;font-size:10px;font-weight:800;opacity:0;transform:translateY(4px);pointer-events:none;transition:.18s;white-space:nowrap;z-index:3}
.analytics-bar:hover .analytics-bar-value{opacity:1;transform:none}
.analytics-side-grid{display:grid;gap:14px;margin-top:16px}.analytics-breakdown{display:grid;gap:8px}.analytics-breakdown-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:10px;background:var(--surface2,#f8fafc);border:1px solid #e5ecef}.analytics-breakdown-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405970}.analytics-breakdown-row b{color:#0b806c}
.analytics-note{display:flex;gap:9px;align-items:flex-start;margin-top:14px;padding:11px 12px;border-radius:12px;background:#f1faf7;border:1px solid #d5ebe4;color:#5a7084;font-size:11px}.analytics-note i{color:#0d9279;margin-top:2px}

@media(max-width:1100px){
  .analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .analytics-layout{grid-template-columns:1fr}
}
@media(max-width:980px){
  .main{margin-left:0!important}
  .main>header{left:0!important;padding:0 14px!important}
  #sidebar{left:-270px!important;width:248px!important;z-index:220!important;transition:left .2s ease!important;box-shadow:18px 0 40px rgba(8,22,37,.22)}
  .app.menu-open #sidebar{left:0!important}
  #menu{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:10px!important}
  .side-collapse{display:none!important}
  main{padding:84px 16px 20px!important}
  .global-search{width:min(520px,52vw)!important}
  .header-actions{gap:6px!important}
  .premium-kpis,.kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .grid2,.dashboard-grid,.settings-grid,.nivo-grid,.billing-plan-matrix{grid-template-columns:1fr!important}
  .webchat-layout{grid-template-columns:1fr!important}
  .record-toolbar{flex-wrap:wrap!important}
  .modal-card{width:min(94vw,760px)!important}
  .upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .main>header{height:64px!important}
  main{padding:78px 12px 18px!important}
  .global-search{flex:0 0 42px!important;width:42px!important;padding:0!important;justify-content:center!important}
  .global-search span,.global-search kbd{display:none!important}
  .realtime-pill{display:none!important}
  .user-chip .user-copy,.user-chip>i{display:none!important}
  .premium-kpis,.kpis,.analytics-kpis{grid-template-columns:1fr!important}
  .panel,.billing-panel{padding:15px!important;border-radius:14px!important}
  .welcome{align-items:stretch!important;flex-direction:column!important}
  .welcome>button,.welcome>a{width:100%!important;justify-content:center!important}
  .record-card,.user-card,.integration-card,.tenant-plan-row,.api-key-row{grid-template-columns:1fr!important;align-items:stretch!important}
  .record-card>*{min-width:0!important}
  .settings-grid,.form-grid,.upload-grid,.steps,.social-admin-grid,.contact-grid{grid-template-columns:1fr!important}
  .settings-grid .full,.form-grid .full{grid-column:auto!important}
  .form-actions,.actions-inline,.form-actions-sticky,.modal-actions{flex-direction:column!important;align-items:stretch!important}
  .form-actions button,.actions-inline button,.form-actions-sticky button,.modal-actions button{width:100%!important}
  .nivo-tabs{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:6px!important}.nivo-tabs a{white-space:nowrap!important}
  .channel-cards.channel-grid{grid-template-columns:1fr!important}
  .analytics-head-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr)}
  .analytics-range-btn{padding:8px 6px;font-size:11px}
  .analytics-chart{height:220px}
  .analytics-side-card{padding:14px}
  .modal-card{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}
}
.whatsapp-admin-panel{margin-top:16px;padding:16px;border:1px solid #cfe8df;border-radius:16px;background:#f7fcfa}
.whatsapp-admin-head{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:14px}
.whatsapp-admin-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#dcf8e8;color:#149a53;font-size:21px}
.whatsapp-admin-head>div{display:grid;gap:3px}.whatsapp-admin-head b{color:#10283a}.whatsapp-admin-head small{color:#64748b;line-height:1.45}.whatsapp-admin-grid{margin:0!important}
@media(max-width:700px){.whatsapp-admin-head{grid-template-columns:46px minmax(0,1fr)}.whatsapp-admin-head .switch-line{grid-column:1/-1;width:100%!important}.whatsapp-admin-grid{grid-template-columns:1fr!important}}


/* V2.29.9 · Dashboard KPIs restaurados y ordenados */
.premium-kpis.dashboard-summary-kpis{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  margin:0!important;
}
.premium-kpis.dashboard-summary-kpis>article{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  min-height:96px!important;
  padding:18px 20px!important;
  border:1px solid var(--line)!important;
  border-radius:16px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow)!important;
}
.premium-kpis.dashboard-summary-kpis>article .kpi-icon{
  width:52px!important;
  height:52px!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center!important;
  background:#e8f8f4!important;
  color:#0b8c78!important;
  font-size:18px!important;
}
.premium-kpis.dashboard-summary-kpis>article>div{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.premium-kpis.dashboard-summary-kpis>article b{
  display:block!important;
  margin:0!important;
  font-size:28px!important;
  line-height:1!important;
  color:var(--text)!important;
  letter-spacing:-.03em!important;
}
.premium-kpis.dashboard-summary-kpis>article small{
  display:block!important;
  margin:0!important;
  color:var(--muted)!important;
  font-size:13px!important;
  line-height:1.35!important;
}
@media(max-width:760px){
  .premium-kpis.dashboard-summary-kpis{grid-template-columns:1fr!important}
  .premium-kpis.dashboard-summary-kpis>article{min-height:88px!important;padding:16px!important}
}

/* V2.30.0 · Cierre premium: analítica, planes, NIVO y alturas consistentes */
.site-analytics-panel>.panel-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
}
.analytics-head-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(92px,1fr))!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  width:auto!important;
}
.analytics-range-btn{white-space:nowrap!important;min-width:92px!important}
@media(max-width:700px){
  .site-analytics-panel>.panel-head{grid-template-columns:1fr!important;align-items:stretch!important}
  .analytics-head-actions{width:100%!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .analytics-range-btn{min-width:0!important;font-size:11px!important;padding-inline:6px!important}
}

/* Tarjetas de una misma fila: misma altura sin forzar contenido interno */
.dashboard-grid,.premium-kpis,.kpis,.channel-cards.channel-grid,.webchat-kpis,.analytics-kpis,.billing-plan-matrix,.settings-grid,.nivo-grid{align-items:stretch!important}
.dashboard-grid>.panel,.premium-kpis>article,.kpis>article,.channel-cards.channel-grid>.channel-card,.webchat-kpis>.webchat-kpi,.analytics-kpis>.analytics-kpi,.billing-plan-matrix>.billing-plan-box{height:100%!important;align-self:stretch!important}
.dashboard-grid>.panel{display:flex!important;flex-direction:column!important}
.dashboard-grid>.panel>.empty-compact{flex:1 1 auto!important}

/* Sitios autorizados: metadata legible + edición */
.installation-row{grid-template-columns:auto minmax(0,1fr) auto auto auto auto!important;gap:10px!important;align-items:center!important}
.installation-copy{min-width:0!important;display:grid!important;gap:5px!important}
.installation-copy>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.installation-copy>small{display:flex!important;flex-wrap:wrap!important;gap:6px 12px!important;color:var(--muted)!important}
.installation-copy>small span{position:relative;white-space:nowrap}
.installation-copy>small span+span:before{content:'•';margin-right:10px;color:#9aaabd}
.webchat-install-edit-modal{width:min(720px,calc(100vw - 28px))!important;max-width:720px!important}
.webchat-install-help{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 13px;border-radius:12px;background:#f2faf7;border:1px solid #d5ebe4;color:#60758a;font-size:12px;line-height:1.5}
.webchat-install-help i{color:#0c9179;margin-top:2px}
@media(max-width:760px){
  .installation-row{grid-template-columns:auto minmax(0,1fr) auto!important}
  .installation-row>.status-badge{grid-column:2/3;justify-self:start}
  .installation-row>.icon-btn{grid-row:2}
  .installation-row>.install-edit{grid-column:1}.installation-row>.install-toggle{grid-column:2;justify-self:start}.installation-row>.install-delete{grid-column:3}
  .installation-copy>small{display:grid!important;gap:2px!important}.installation-copy>small span+span:before{display:none}
}

/* Vista previa NIVO fiel a lo que se inserta en otros sitios */
.nivo-brand-orb{overflow:hidden!important;background:#fff!important;border:1px solid rgba(255,255,255,.35)!important}
.nivo-brand-orb img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.preview-head>div{min-width:0!important;display:grid!important;gap:2px!important}
.preview-ai-state{display:inline-flex!important;align-items:center!important;gap:5px!important;width:max-content!important;margin-top:5px!important;padding:3px 7px!important;border-radius:999px!important;background:rgba(255,255,255,.13)!important;color:#dffaf4!important;font-size:9px!important;font-weight:850!important}
.preview-launcher-wrap{position:absolute!important;right:18px!important;bottom:18px!important;display:flex!important;align-items:center!important;gap:9px!important;z-index:4!important}
.preview-launcher-label{display:inline-flex!important;align-items:center!important;max-width:210px!important;padding:9px 11px!important;border-radius:12px!important;border:1px solid #cce8e1!important;background:#eef9f6!important;color:#17384e!important;box-shadow:0 8px 20px rgba(15,23,42,.10)!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.preview-launcher.preview-launcher-brand{position:relative!important;right:auto!important;bottom:auto!important;overflow:hidden!important;padding:6px!important;display:grid!important;place-items:center!important}
.preview-launcher-brand img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important;background:#fff!important;display:block!important}
@media(max-width:760px){.preview-launcher-label{max-width:160px!important;font-size:10px!important}.preview-launcher-wrap{right:14px!important;bottom:14px!important}}

/* NIVO IA: explicar claramente cómo trabaja con Web Chat */
.nivo-ai-explainer{margin:14px 0 16px;padding:18px;border:1px solid #d4e9e3;border-radius:18px;background:linear-gradient(135deg,#fbfefd 0%,#f1faf7 100%);display:grid;gap:16px;box-shadow:0 14px 34px rgba(15,23,42,.045)}
.nivo-ai-explainer-brand{display:flex;align-items:center;gap:13px}.nivo-ai-explainer-brand img{width:62px;height:62px;object-fit:contain;border-radius:16px;background:#fff;border:1px solid #deebe7}.nivo-ai-explainer-brand span{display:grid;gap:3px}.nivo-ai-explainer-brand small{font-size:10px;letter-spacing:.12em;font-weight:900;color:#0b8b75}.nivo-ai-explainer-brand b{font-size:16px;color:#10283a}
.nivo-ai-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nivo-ai-flow>span{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center;padding:12px;border-radius:13px;background:#fff;border:1px solid #dce9e5}.nivo-ai-flow>span>i{grid-row:1/3;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e8f7f3;color:#0b8c76}.nivo-ai-flow b{font-size:12px}.nivo-ai-flow small{font-size:10.5px;line-height:1.42;color:#6b7e91}
.nivo-ai-connection{display:flex;gap:11px;align-items:center;padding:12px 14px;border-radius:13px;background:#fff7e9;border:1px solid #f2d9a9;color:#80591a}.nivo-ai-connection.is-on{background:#eaf9f4;border-color:#c5e8dd;color:#096d5b}.nivo-ai-connection>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.72)}.nivo-ai-connection>span{display:grid;gap:2px}.nivo-ai-connection small{color:#64798b}
@media(max-width:980px){.nivo-ai-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.nivo-ai-flow{grid-template-columns:1fr}.nivo-ai-connection{align-items:flex-start}}

/* Crear/Editar plan: modal ancho, compacto y siempre dentro de pantalla */
#planModal{padding:14px!important;align-items:center!important;justify-content:center!important}
#planModal .modal-card{
  width:min(1120px,calc(100vw - 28px))!important;
  max-width:1120px!important;
  height:min(760px,calc(100dvh - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  padding:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  border-radius:20px!important;
}
#planModal .modal-head{padding:17px 20px!important;margin:0!important;border-bottom:1px solid var(--line)!important;background:var(--surface)!important;position:relative!important;z-index:2!important}
#planModal #planForm{min-height:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important}
#planModal #planForm>.settings-grid{min-height:0!important;overflow-y:auto!important;padding:18px 20px 12px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px 14px!important;align-content:start!important}
#planModal #planForm>.settings-grid>.field.full{grid-column:1/-1!important}
#planModal #planForm>.settings-grid>.field:nth-of-type(1){grid-column:1/-1!important}
#planModal #planForm>.settings-grid>.field:nth-of-type(6),#planModal #planForm>.settings-grid>.field:nth-of-type(7){grid-column:span 2!important}
#planModal .field{gap:5px!important}#planModal .field label{font-size:12px!important}#planModal input,#planModal select{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}#planModal textarea{min-height:82px!important;max-height:120px!important;resize:vertical!important}
#planModal .billing-plan-matrix{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#planModal .billing-plan-box{padding:14px!important;border-radius:14px!important;background:#f8fbfc!important;border-color:#dce7ed!important}
#planModal .billing-plan-box>label{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:10px!important;font-size:12px!important;color:#10283a!important}
#planModal .billing-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#planModal .billing-check-grid label{min-height:42px!important;padding:9px 10px!important;border-radius:10px!important;background:#fff!important;border:1px solid #dfe9ee!important;gap:9px!important;font-size:11.5px!important;line-height:1.25!important;transition:border-color .16s ease,background .16s ease,transform .16s ease!important}
#planModal .billing-check-grid label:hover{border-color:#b9ded5!important;background:#f3fbf8!important;transform:translateY(-1px)!important}
#planModal .billing-check-grid input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;margin:0!important}
#planModal .modal-actions{margin:0!important;padding:12px 20px!important;border-top:1px solid var(--line)!important;background:var(--surface)!important;position:relative!important;z-index:2!important}
#planModal .plan-status-field{padding-top:2px!important}
@media(max-width:980px){#planModal #planForm>.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#planModal #planForm>.settings-grid>.field:nth-of-type(6),#planModal #planForm>.settings-grid>.field:nth-of-type(7){grid-column:auto!important}}
@media(max-width:640px){#planModal{padding:8px!important}#planModal .modal-card{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}#planModal #planForm>.settings-grid{grid-template-columns:1fr!important;padding:14px!important}#planModal #planForm>.settings-grid>.field,#planModal #planForm>.settings-grid>.field.full,#planModal #planForm>.settings-grid>.field:nth-of-type(1){grid-column:1!important}#planModal .billing-plan-matrix{grid-template-columns:1fr!important}#planModal .billing-check-grid{grid-template-columns:1fr 1fr!important}#planModal .modal-actions{padding:10px 14px!important}}
@media(max-width:430px){#planModal .billing-check-grid{grid-template-columns:1fr!important}}

/* V2.30.0 · Refinamiento final de planes y grids paralelos */
.grid2{align-items:stretch!important}
.grid2>.panel{height:100%!important;align-self:stretch!important}
#planModal .modal-card{height:min(680px,calc(100dvh - 28px))!important}
#planModal .billing-plan-box-head{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;margin-bottom:11px!important;padding-bottom:11px!important;border-bottom:1px solid #e2ebef!important}
#planModal .billing-box-icon{width:38px!important;height:38px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#e8f7f3!important;color:#0b8c76!important;font-size:15px!important}
#planModal .billing-plan-box-head>div{display:grid!important;gap:2px!important;min-width:0!important}
#planModal .billing-plan-box-head b{font-size:12.5px!important;color:#10283a!important}
#planModal .billing-plan-box-head small{font-size:10.5px!important;line-height:1.4!important;color:#73869a!important}
#planModal .billing-option{display:grid!important;grid-template-columns:16px 32px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-height:54px!important;padding:8px 9px!important}
#planModal .billing-option-icon{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#eef8f5!important;color:#0a8b75!important;font-size:12px!important}
#planModal .billing-option-copy{display:grid!important;gap:1px!important;min-width:0!important}
#planModal .billing-option-copy b{font-size:11.5px!important;line-height:1.25!important;color:#142c3f!important;overflow-wrap:anywhere!important}
#planModal .billing-option-copy small{font-size:9.5px!important;line-height:1.3!important;color:#8493a4!important}
#planModal .billing-option.is-fixed{background:#f1faf7!important;border-color:#cfe9e2!important}
#planModal .billing-option.is-fixed .billing-option-icon{background:#dff4ee!important}
@media(max-width:640px){#planModal .modal-card{height:calc(100dvh - 16px)!important}#planModal .billing-option{min-height:50px!important}}


/* V2.30.1 · Cierre final de espaciado, NIVO y editor de planes */
.analytics-head-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
.analytics-range-btn{
  flex:0 0 auto!important;
  min-width:92px!important;
  white-space:nowrap!important;
}
.dashboard-grid + .dashboard-attention-panel{
  margin-top:30px!important;
}
.dashboard-attention-panel{
  scroll-margin-top:90px;
}

/* NIVO: etiqueta completa en dos líneas y mascota siempre centrada. */
.preview-launcher-label{
  max-width:190px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.25!important;
  text-align:center!important;
  justify-content:center!important;
  overflow-wrap:anywhere!important;
}
.preview-launcher-brand img,
.preview-brand-avatar img,
.nivo-companion-visual img,
.nivo-identity-card img,
.auth-nivo-strip img,
.hero-side-visual img,
.avatar-img{
  object-position:center center!important;
}
.preview-brand-avatar,
.nivo-companion-visual,
.nivo-identity-card .nivo-identity-mascot,
.auth-nivo-strip,
.hero-side-visual{
  justify-items:center!important;
}
.nivo-companion-visual img,
.auth-nivo-strip img,
.hero-side-visual img{
  margin-inline:auto!important;
}

/* Características del plan: editor visual ordenado sin cambiar el formato guardado. */
#planModal .plan-features-field{gap:10px!important}
#planModal .plan-features-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
}
#planModal .plan-features-head>div{display:grid!important;gap:2px!important;min-width:0!important}
#planModal .plan-features-head label{font-size:12.5px!important;color:#10283a!important}
#planModal .plan-features-head small{font-size:10.5px!important;color:#73869a!important;line-height:1.4!important}
#planModal .plan-features-head .secondary-action{min-height:38px!important;white-space:nowrap!important}
#planModal .plan-feature-builder{
  border:1px solid #dce7ed!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#f8fbfc!important;
}
#planModal .plan-feature-toolbar{
  min-height:44px!important;
  padding:9px 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border-bottom:1px solid #e2ebef!important;
  background:#f3f8fa!important;
}
#planModal .plan-feature-toolbar span{display:inline-flex!important;align-items:center!important;gap:7px!important;color:#17384e!important;font-size:11.5px!important;font-weight:850!important}
#planModal .plan-feature-toolbar span i{color:#0a8b75!important}
#planModal .plan-feature-toolbar b{font-size:10.5px!important;color:#73869a!important;white-space:nowrap!important}
#planModal .plan-feature-list{display:grid!important;gap:8px!important;padding:10px!important;max-height:188px!important;overflow-y:auto!important}
#planModal .plan-feature-row{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:9px!important;
  align-items:center!important;
  min-height:46px!important;
  padding:6px 7px!important;
  border:1px solid #e0e9ed!important;
  border-radius:11px!important;
  background:#fff!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
#planModal .plan-feature-row:focus-within{border-color:#a9d9ce!important;box-shadow:0 0 0 3px rgba(15,169,139,.08)!important;transform:translateY(-1px)!important}
#planModal .plan-feature-number{width:30px!important;height:30px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#eaf8f4!important;color:#0a8b75!important;font-size:10.5px!important;font-weight:900!important}
#planModal .plan-feature-row input{min-height:36px!important;border:0!important;background:transparent!important;padding:6px 4px!important;box-shadow:none!important}
#planModal .plan-feature-actions{display:flex!important;align-items:center!important;gap:4px!important}
#planModal .plan-feature-actions .icon-btn{width:32px!important;height:32px!important;min-height:32px!important;border-radius:9px!important;padding:0!important}
#planModal .plan-feature-empty{min-height:82px!important;padding:14px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;color:#75889b!important;text-align:left!important}
#planModal .plan-feature-empty[hidden]{display:none!important}
#planModal .plan-feature-empty>i{width:34px!important;height:34px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:#eaf8f4!important;color:#0a8b75!important}
#planModal .plan-feature-empty>div{display:grid!important;gap:2px!important}
#planModal .plan-feature-empty b{font-size:11.5px!important;color:#29445b!important}
#planModal .plan-feature-empty small{font-size:10px!important;line-height:1.4!important}

/* Estado y predeterminado alineados en la misma fila; sin el rótulo redundante “Estado del plan”. */
#planModal .plan-state-row{gap:8px!important}
#planModal .plan-toggle-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#planModal .plan-toggle-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-height:66px!important;
  padding:10px 12px!important;
  border:1px solid #dce7ed!important;
  border-radius:13px!important;
  background:#fff!important;
  cursor:pointer!important;
}
#planModal .plan-toggle-card:hover{border-color:#b9ded5!important;background:#f7fcfa!important}
#planModal .plan-toggle-card>input{position:absolute!important;opacity:0!important;pointer-events:none!important}
#planModal .plan-toggle-control{width:40px!important;height:23px!important;border-radius:999px!important;background:#cbd5e1!important;position:relative!important;transition:.18s!important}
#planModal .plan-toggle-control:after{content:''!important;position:absolute!important;width:17px!important;height:17px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 5px rgba(15,23,42,.16)!important;transition:.18s!important}
#planModal .plan-toggle-card>input:checked + .plan-toggle-control{background:#0fa98b!important}
#planModal .plan-toggle-card>input:checked + .plan-toggle-control:after{left:20px!important}
#planModal .plan-toggle-card>div{display:grid!important;gap:2px!important;min-width:0!important}
#planModal .plan-toggle-card b{font-size:11.5px!important;color:#142c3f!important}
#planModal .plan-toggle-card small{font-size:9.8px!important;color:#7b8c9e!important;line-height:1.35!important}
#planModal .plan-default-card{order:2!important}
#planModal .plan-default-help{display:flex!important;align-items:flex-start!important;gap:6px!important;margin-top:1px!important}
#planModal .plan-default-help i{margin-top:2px!important;color:#0a8b75!important}

@media(max-width:760px){
  .analytics-head-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .analytics-range-btn{min-width:0!important;width:100%!important;padding-inline:5px!important}
  .dashboard-grid + .dashboard-attention-panel{margin-top:24px!important}
  .preview-launcher-label{max-width:170px!important}
  #planModal .plan-features-head{align-items:stretch!important;flex-direction:column!important}
  #planModal .plan-features-head .secondary-action{width:100%!important;justify-content:center!important}
  #planModal .plan-toggle-grid{grid-template-columns:1fr!important}
  #planModal .plan-feature-row{grid-template-columns:30px minmax(0,1fr)!important}
  #planModal .plan-feature-actions{grid-column:2!important;justify-content:flex-end!important}
}

/* V2.30.1 · Centrado consistente de imágenes de identidad */
.nivo-identity-card img,
.nivo-brand-orb img,
.preview-launcher-brand img,
.nivo-companion-visual img,
.nivo-ai-explainer-brand img,
.auth-nivo-strip img,
.avatar-img{
  display:block!important;
  object-position:center center!important;
  justify-self:center!important;
  margin-inline:auto!important;
}


/* V2.30.3 · Estado visual del botón de pantalla completa nativa */
#fullscreenBtn[aria-pressed="true"]{background:#e8f7f3!important;border-color:#bfe4da!important;color:#087966!important;}
body.dark #fullscreenBtn[aria-pressed="true"]{background:#183b35!important;border-color:#2f645a!important;color:#8de1cf!important;}


/* ZYNKO V2.31.1 · Bandeja omnicanal premium + NIVO visible */
body:has(.inbox-premium-toolbar) .inbox-layout{grid-template-columns:minmax(290px,320px) minmax(430px,1fr) minmax(270px,300px)!important;gap:14px!important}
body:has(.inbox-premium-toolbar) .inbox-layout>.panel{border-radius:18px!important;border:1px solid #dfe8ef!important;box-shadow:0 12px 34px rgba(15,23,42,.055)!important}
body:has(.inbox-premium-toolbar) .conv-list{padding:12px!important;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 55%,var(--surface)))!important}
body:has(.inbox-premium-toolbar) .conversation-scroll{display:grid;align-content:start;gap:8px;padding:2px 1px 10px}
body:has(.inbox-premium-toolbar) .conversation{border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;padding:11px 10px!important;box-shadow:0 4px 14px rgba(15,23,42,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
body:has(.inbox-premium-toolbar) .conversation:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))!important;box-shadow:0 10px 24px rgba(15,23,42,.08)}
body:has(.inbox-premium-toolbar) .conversation.active{background:color-mix(in srgb,var(--accent) 6%,var(--surface))!important;border-color:color-mix(in srgb,var(--accent) 42%,var(--line))!important;box-shadow:0 10px 24px rgba(13,128,107,.09)}
body:has(.inbox-premium-toolbar) .conversation-line b{font-size:12px;color:var(--text);text-decoration:none!important}
body:has(.inbox-premium-toolbar) .conversation p{margin:4px 0 2px!important;font-size:11px;color:#5f7186!important}
body:has(.inbox-premium-toolbar) .conversation-meta{gap:5px 7px!important;margin-top:6px!important}
body:has(.inbox-premium-toolbar) .conversation-meta span{font-size:9.5px!important;padding:3px 6px;border-radius:999px;background:var(--surface2);border:1px solid var(--line)}
body:has(.inbox-premium-toolbar) .conversation-meta .sla-risk{background:#fff7ed;border-color:#fed7aa;color:#b45309}
body:has(.inbox-premium-toolbar) .channel-avatar{width:34px;height:34px;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 8%,transparent)}
body:has(.inbox-premium-toolbar) .chat{padding:0!important;display:flex!important;flex-direction:column!important;background:var(--surface)!important}
body:has(.inbox-premium-toolbar) .chat-head{min-height:86px;padding:14px 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface2) 45%,var(--surface)));border-bottom:1px solid var(--line)!important}
body:has(.inbox-premium-toolbar) .chat-head .chat-identity{display:grid!important;gap:5px!important;min-width:0!important;flex:1 1 auto!important}
body:has(.inbox-premium-toolbar) .chat-head .chat-identity>b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(.inbox-premium-toolbar) .chat-head .chat-identity>small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(.inbox-premium-toolbar) .chat-head .chat-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important;flex:0 0 auto!important}
body:has(.inbox-premium-toolbar) .chat-head .chat-actions .soft{height:36px!important;min-height:36px!important;padding:7px 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;font-size:10.5px!important;border-radius:10px!important;background:#0d263a!important;color:#fff!important;border-color:#0d263a!important}
body:has(.inbox-premium-toolbar) .chat-head .chat-actions .soft:hover{transform:translateY(-1px);filter:brightness(1.08)}
/* Conversación: una sola burbuja por mensaje, con contenido y comprobantes integrados. */
body:has(.inbox-premium-toolbar) .messages{flex:1!important;min-height:0!important;padding:16px 18px 20px!important;background:var(--surface2)!important;display:flex!important;flex-direction:column!important;gap:5px!important}
body.page-inbox #messages .message-wrap{display:flex;flex-direction:column;align-items:stretch;flex:0 0 auto!important;max-width:min(78%,720px)!important;min-width:0;margin:0!important;overflow-wrap:anywhere}
body.page-inbox #messages .message-wrap.in{align-self:flex-start;margin-right:auto!important;margin-left:0!important}
body.page-inbox #messages .message-wrap.out{align-self:flex-end;margin-left:auto!important;margin-right:0!important}
body.page-inbox #messages .message-bubble{--bubble-text:#152f3f;--bubble-meta:#536b73;display:flex;flex-direction:column;gap:5px;position:relative;width:fit-content;max-width:100%;min-width:116px;padding:9px 11px 6px;border:1px solid #e0e8ed;border-radius:13px 13px 13px 4px;background:#fff;color:var(--bubble-text);box-shadow:0 2px 5px rgba(16,40,58,.055);box-sizing:border-box;overflow-wrap:anywhere}
body.page-inbox #messages .out .message-bubble{border-color:#c0e4d9;background:#dff5ef;border-radius:13px 13px 4px 13px;--bubble-text:#14382e}
body.page-inbox #messages .message-bubble[data-bubble-state="failed"]{background:#fff1f2;border-color:#eab0b5;--bubble-text:#631e25;--bubble-meta:#96323d}
body.page-inbox #messages .message-bubble[data-bubble-state="partial"],body.page-inbox #messages .message-bubble[data-bubble-state="uncertain"]{border-color:#dbb776}
body.page-inbox #messages .message-bubble .message-text{margin:0!important;padding:0!important;max-width:100%;width:auto;align-self:stretch;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--bubble-text)!important;font-size:.88rem;line-height:1.5;overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap}
body.page-inbox #messages .message-sender{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;margin:0!important;overflow-wrap:anywhere;color:#205e9b;font-size:.75rem!important;line-height:1.35;letter-spacing:0;font-weight:750!important}
body.page-inbox #messages .message-sender.sender-nivo{color:#087b68}
body.page-inbox #messages .message-sender>i{flex:none;font-size:.7rem}
body.page-inbox #messages .inbox-message-meta{display:flex;align-items:center;align-self:flex-end;justify-content:flex-end;gap:6px;min-width:0;max-width:100%;margin:0!important;font-size:.68rem;line-height:1.15;color:var(--bubble-meta);white-space:nowrap}
body.page-inbox #messages .inbox-message-meta time{font-variant-numeric:tabular-nums;flex:none}
body.page-inbox #messages .message-receipt{display:inline-flex;align-items:center;justify-content:center;flex:none;color:#647b80;font-size:15px;min-width:14px;line-height:1}
body.page-inbox #messages .message-receipt[data-delivery="read"]{color:#1677bc}
body.page-inbox #messages .message-receipt[data-delivery="failed"]{color:#bd2838}
body.page-inbox #messages .message-receipt[data-delivery="uncertain"],body.page-inbox #messages .message-receipt[data-delivery="partial"]{color:#a36a13}
body.page-inbox #messages .message-options-trigger{display:inline-flex!important;align-items:center;justify-content:center;width:21px;min-width:21px!important;min-height:21px!important;height:21px!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:#10283a!important;color:#fff!important;box-shadow:none!important;font-size:11px!important;flex:none;cursor:pointer}
body.page-inbox #messages .message-options-trigger:hover{background:#20495c!important}
body.page-inbox #messages .message-failure{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding-top:5px;border-top:1px solid #ebc6ca;color:#a32332;font-size:.72rem;font-weight:700}
body.page-inbox #messages .message-retry{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0!important;border-radius:7px!important;background:#af2736!important;color:#fff!important;padding:5px 8px!important;margin:0!important;min-height:28px!important;font-size:.7rem!important;line-height:1.2;cursor:pointer;box-shadow:none!important}
body.page-inbox #messages .message-retry:hover{background:#8f1d2b!important}
body.page-inbox #messages .inbox-date-separator{display:flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;align-self:stretch;width:100%;min-width:0;margin:10px 0 5px;color:#56707f;font-size:.72rem;font-weight:700;line-height:1.25}
body.page-inbox #messages .inbox-date-separator::before,body.page-inbox #messages .inbox-date-separator::after{content:'';height:1px;flex:1;background:var(--line)}
body.page-inbox #messages .inbox-date-separator span{padding:5px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);white-space:nowrap}
body.dark.page-inbox #messages .inbox-date-separator{color:var(--text)}
body.dark.page-inbox #messages .message-bubble{background:#203643;border-color:#34515f;--bubble-text:#e1edf3;--bubble-meta:#afd0dc}
body.dark.page-inbox #messages .out .message-bubble{background:#19473f;border-color:#32685c;--bubble-text:#e0f6ef;--bubble-meta:#b0d9cc}
body.dark.page-inbox #messages .message-bubble[data-bubble-state="failed"]{background:#48252b;border-color:#954450;--bubble-text:#ffe8e8;--bubble-meta:#ffc2c7}
body.dark.page-inbox #messages .message-sender{color:#a5d3ff}
body.dark.page-inbox #messages .message-sender.sender-nivo{color:#84dfc9}
body.dark.page-inbox #messages .message-receipt{color:#b6d3da}
body.dark.page-inbox #messages .message-receipt[data-delivery="read"]{color:#69c6ff}
body.dark.page-inbox #messages .message-receipt[data-delivery="failed"],body.dark.page-inbox #messages .message-failure{color:#ffb2b8}
body.page-inbox #messages .message-bubble .message-media{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:0!important;max-width:100%;width:fit-content;min-width:0}
body.page-inbox #messages .message-bubble .message-image-preview{display:block;max-width:100%!important;width:fit-content;min-width:0;min-height:0!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
body.page-inbox #messages .message-bubble .message-image-preview img{display:block;max-width:min(280px,100%)!important;max-height:240px!important;width:auto;height:auto;object-fit:contain!important;border-radius:8px;border:0;box-shadow:none;filter:none;image-rendering:auto}
body.page-inbox #messages .message-bubble .message-pdf-preview,body.page-inbox #messages .message-bubble .message-file{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0;white-space:normal!important;text-align:left;overflow-wrap:anywhere;border-radius:8px!important;padding:8px 10px!important;background:#10283a!important;color:#fff!important;border:0!important;font-size:.76rem}
body.page-inbox #messages .message-bubble .message-pdf-preview i{color:#ffb2b8;font-size:1.25rem}
body.page-inbox #messages .message-bubble .message-file i{color:#a2dfd1}
body.page-inbox #messages .message-bubble .message-pdf-preview span,body.page-inbox #messages .message-bubble .message-file span{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){body.page-inbox #messages{padding:11px 10px 14px!important}body.page-inbox #messages .message-wrap{max-width:90%!important}body.page-inbox #messages .message-bubble{padding:8px 9px 6px}body.page-inbox #messages .message-bubble .message-text{font-size:.86rem}body.page-inbox #messages .message-bubble .message-image-preview img{max-width:min(230px,100%)!important;max-height:205px!important}body.page-inbox #messages .message-options-trigger{width:26px;min-width:26px!important;height:26px!important;min-height:26px!important}}
body:has(.inbox-premium-toolbar) .pro-composer{flex:0 0 auto!important;margin:0!important;padding:10px 12px 12px!important;border-top:1px solid var(--line)!important;background:var(--surface)!important;box-shadow:0 -10px 24px rgba(15,23,42,.035)}
body:has(.inbox-premium-toolbar) .composer-tools{padding-bottom:8px!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}
body:has(.inbox-premium-toolbar) .composer-tools::-webkit-scrollbar{display:none}
body:has(.inbox-premium-toolbar) .composer-tools button{height:34px!important;min-height:34px!important;border-radius:10px!important;background:#f3f8f7!important;border-color:#d9e9e5!important;color:#17384e!important;white-space:nowrap!important}
body:has(.inbox-premium-toolbar) .composer-line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:8px!important}
body:has(.inbox-premium-toolbar) .composer-line textarea{min-height:44px!important;max-height:120px!important;resize:none!important;padding:11px 13px!important;border-radius:12px!important;background:#fff!important}
body:has(.inbox-premium-toolbar) .composer-line .primary{height:44px!important;min-height:44px!important;padding:0 15px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important}
body:has(.inbox-premium-toolbar) .info{padding:14px!important;overflow-y:auto!important;overflow-x:hidden!important;background:linear-gradient(180deg,var(--surface),#fbfdfe)!important}
body:has(.inbox-premium-toolbar) .info-title{position:sticky;top:-14px;z-index:3;margin:-14px -14px 8px;padding:13px 14px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
body:has(.inbox-premium-toolbar) .profile{padding:14px 0 12px!important}
body:has(.inbox-premium-toolbar) .profile h3{margin:10px 0 3px!important;font-size:15px}
body:has(.inbox-premium-toolbar) .profile small{font-size:10px;color:var(--muted)}
body:has(.inbox-premium-toolbar) .customer-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-bottom:13px!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card{min-height:42px!important;padding:6px!important;border-radius:12px!important;background:#f8fbfc!important;border:1px solid #dfe8ef!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;overflow:hidden!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card small{display:flex!important;align-items:center!important;gap:4px!important;width:100%;font-size:8px!important;letter-spacing:.03em;color:#718096!important;text-transform:uppercase!important;white-space:normal!important;overflow:visible!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card b{display:block!important;width:100%;margin-top:5px!important;font-size:10px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;color:#13263a!important}
body:has(.inbox-premium-toolbar) .info-form .field label,body:has(.inbox-premium-toolbar) .followup-form .field label{font-size:10px!important;font-weight:800!important;color:#1e3448!important;margin-bottom:5px!important}
body:has(.inbox-premium-toolbar) .info input,body:has(.inbox-premium-toolbar) .info textarea,body:has(.inbox-premium-toolbar) .info select,body:has(.inbox-premium-toolbar) .info .select2-selection{min-height:40px!important;border-radius:11px!important;border:1px solid #dce5ec!important;background:#fff!important}
body:has(.inbox-premium-toolbar) .info input:focus,body:has(.inbox-premium-toolbar) .info textarea:focus{border-color:color-mix(in srgb,var(--accent) 55%,#dce5ec)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)!important;outline:none!important}
body:has(.inbox-premium-toolbar) .info .wide{min-height:40px!important;border-radius:11px!important;background:#0d263a!important;color:#fff!important;border-color:#0d263a!important}
body:has(.inbox-premium-toolbar) .info-block{padding-top:14px!important;margin-top:14px!important;gap:10px!important}
body:has(.inbox-premium-toolbar) .info-block-title{display:flex;align-items:flex-start;gap:9px}
body:has(.inbox-premium-toolbar) .info-block-title .info-block-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf8f4;color:#0d806b;flex:0 0 auto}
body:has(.inbox-premium-toolbar) .info-block-title b,body:has(.inbox-premium-toolbar) .info-block-title small{display:block}
body:has(.inbox-premium-toolbar) .info-block-title small{font-size:9px;line-height:1.35;color:var(--muted);margin-top:2px}
body:has(.inbox-premium-toolbar) .followup-form{display:grid!important;gap:9px!important}
body:has(.inbox-premium-toolbar) .followup-form .field{display:grid!important;gap:0!important}
body:has(.inbox-premium-toolbar) .followup-submit{margin-top:1px!important}
@media(max-width:1280px) and (min-width:1051px){body:has(.inbox-premium-toolbar) .inbox-layout{grid-template-columns:minmax(270px,295px) minmax(390px,1fr) minmax(245px,270px)!important}.chat-head .chat-actions .soft span{display:none}}
@media(max-width:1050px) and (min-width:761px){body:has(.inbox-premium-toolbar) .inbox-layout{grid-template-columns:minmax(270px,300px) minmax(360px,1fr)!important}.chat-head .chat-actions{gap:5px!important}.chat-head .chat-actions .soft{padding:7px 9px!important}.info{display:none!important}}
@media(max-width:760px){body:has(.inbox-premium-toolbar) .inbox-layout{grid-template-columns:1fr!important;gap:12px!important}.chat-head{align-items:flex-start!important;flex-direction:column!important}.chat-head .chat-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.chat-head .chat-actions .soft{width:100%!important;padding:7px 6px!important}.message-wrap{max-width:88%!important}.composer-line .primary span{display:none}.composer-line .primary{width:46px!important;padding:0!important;justify-content:center!important}.customer-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important}.info{display:block!important;max-height:none!important;overflow:visible!important}.info-title{position:static!important;margin:-14px -14px 8px!important}.conversation-scroll{max-height:360px!important}}
@media(max-width:430px){body:has(.inbox-premium-toolbar) .customer-facts{grid-template-columns:1fr!important}.chat-head .chat-actions{grid-template-columns:1fr!important}.chat-head .chat-actions .soft{min-height:38px!important}.conversation-meta span{font-size:9px!important}.message-wrap{max-width:94%!important}}

/* ZYNKO V2.31.2 · Bandeja final: columnas alineadas, compositor visible y Cliente 360 compacto */
body:has(.inbox-premium-toolbar) .inbox-layout{
  align-items:stretch!important;
  grid-auto-rows:minmax(0,1fr)!important;
  gap:12px!important;
}
body:has(.inbox-premium-toolbar) .inbox-layout>.panel{
  margin:0!important;
  height:100%!important;
  min-height:0!important;
  align-self:stretch!important;
  overflow:hidden!important;
}

/* Lista izquierda: limpia, sin apariencia de enlaces/subrayados */
body:has(.inbox-premium-toolbar) .conv-list{
  display:flex!important;
  flex-direction:column!important;
}
body:has(.inbox-premium-toolbar) .conversation-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:2px 2px 10px!important;
}
body:has(.inbox-premium-toolbar) a.conversation,
body:has(.inbox-premium-toolbar) a.conversation:link,
body:has(.inbox-premium-toolbar) a.conversation:visited,
body:has(.inbox-premium-toolbar) a.conversation:hover,
body:has(.inbox-premium-toolbar) a.conversation:active{
  color:var(--text)!important;
  text-decoration:none!important;
}
body:has(.inbox-premium-toolbar) .conversation *,
body:has(.inbox-premium-toolbar) .conversation-line b,
body:has(.inbox-premium-toolbar) .conversation-copy p,
body:has(.inbox-premium-toolbar) .conversation-meta span{
  text-decoration:none!important;
}
body:has(.inbox-premium-toolbar) .conversation-line b{
  color:#10283a!important;
  font-weight:850!important;
}
body:has(.inbox-premium-toolbar) .conversation-copy p{
  color:#65788b!important;
  line-height:1.35!important;
}

/* Centro: encabezado compacto y área de respuesta siempre visible */
body:has(.inbox-premium-toolbar) .chat{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
}
body:has(.inbox-premium-toolbar) .chat-head{
  flex:0 0 auto!important;
  min-height:72px!important;
  padding:11px 14px!important;
}
body:has(.inbox-premium-toolbar) .chat-head .chat-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:7px!important;
}
body:has(.inbox-premium-toolbar) .chat-head .chat-actions .soft{
  min-width:0!important;
  height:36px!important;
  padding:7px 11px!important;
}
body:has(.inbox-premium-toolbar) .messages{
  flex:1 1 auto!important;
  min-height:120px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:16px!important;
}
body:has(.inbox-premium-toolbar) .pro-composer{
  position:relative!important;
  z-index:3!important;
  flex:0 0 auto!important;
  width:100%!important;
  min-height:104px!important;
  padding:10px 12px 12px!important;
  background:var(--surface)!important;
  border-top:1px solid #dfe8ef!important;
  box-shadow:0 -10px 30px rgba(15,23,42,.055)!important;
}
body:has(.inbox-premium-toolbar) .composer-tools{
  min-height:36px!important;
  padding:0 0 8px!important;
}
body:has(.inbox-premium-toolbar) .composer-line{
  min-height:48px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
}
body:has(.inbox-premium-toolbar) .composer-line textarea{
  width:100%!important;
  min-height:48px!important;
  max-height:104px!important;
  padding:12px 14px!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body:has(.inbox-premium-toolbar) .composer-line .primary{
  min-height:48px!important;
  height:48px!important;
  padding:0 17px!important;
}

/* Cliente 360: todo visible dentro de la misma tarjeta, sin scrollbar vertical */
body:has(.inbox-premium-toolbar) .info{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
  padding:12px!important;
  gap:0!important;
}
body:has(.inbox-premium-toolbar) .info-title{
  position:static!important;
  flex:0 0 auto!important;
  margin:-12px -12px 4px!important;
  padding:11px 12px!important;
  min-height:48px!important;
}
body:has(.inbox-premium-toolbar) .profile{
  flex:0 0 auto!important;
  padding:8px 0 9px!important;
}
body:has(.inbox-premium-toolbar) .profile .avatar.big{
  width:54px!important;
  height:54px!important;
  font-size:17px!important;
}
body:has(.inbox-premium-toolbar) .profile h3{
  margin:7px 0 2px!important;
  font-size:13px!important;
}
body:has(.inbox-premium-toolbar) .profile small{font-size:9px!important}
body:has(.inbox-premium-toolbar) .customer-facts{
  flex:0 0 auto!important;
  gap:5px!important;
  margin-bottom:8px!important;
}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card{
  min-height:54px!important;
  padding:7px 6px!important;
  border-radius:10px!important;
}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card small{
  font-size:7.3px!important;
  line-height:1.1!important;
}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card b{
  margin-top:4px!important;
  font-size:9.5px!important;
}
body:has(.inbox-premium-toolbar) .info-form{
  flex:0 0 auto!important;
  display:grid!important;
  gap:7px!important;
}
body:has(.inbox-premium-toolbar) .info-form .field,
body:has(.inbox-premium-toolbar) .followup-form .field{gap:0!important}
body:has(.inbox-premium-toolbar) .info-form .field label,
body:has(.inbox-premium-toolbar) .followup-form .field label{
  margin-bottom:3px!important;
  font-size:9px!important;
}
body:has(.inbox-premium-toolbar) .info input,
body:has(.inbox-premium-toolbar) .info textarea,
body:has(.inbox-premium-toolbar) .info select,
body:has(.inbox-premium-toolbar) .info .select2-selection{
  min-height:34px!important;
  height:34px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
  border-radius:9px!important;
  font-size:10px!important;
}
body:has(.inbox-premium-toolbar) .info .select2-selection__rendered{line-height:20px!important;font-size:10px!important}
body:has(.inbox-premium-toolbar) .info .select2-selection__arrow{height:32px!important}
body:has(.inbox-premium-toolbar) .info .wide{
  min-height:34px!important;
  height:34px!important;
  padding:6px 9px!important;
  border-radius:9px!important;
  font-size:10px!important;
}
body:has(.inbox-premium-toolbar) .info-block{
  flex:0 0 auto!important;
  margin-top:8px!important;
  padding-top:8px!important;
  gap:6px!important;
}
body:has(.inbox-premium-toolbar) .info-block-head{min-height:30px!important}
body:has(.inbox-premium-toolbar) .info-block-head>b{font-size:11px!important}
body:has(.inbox-premium-toolbar) .icon-mini{width:28px!important;height:28px!important;border-radius:9px!important}
body:has(.inbox-premium-toolbar) .tag-checks{gap:4px!important}
body:has(.inbox-premium-toolbar) .tag-check{padding:4px 7px!important;font-size:9px!important}
body:has(.inbox-premium-toolbar) .info-block-title{
  align-items:center!important;
  gap:7px!important;
}
body:has(.inbox-premium-toolbar) .info-block-title .info-block-icon{
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
}
body:has(.inbox-premium-toolbar) .info-block-title b{font-size:11px!important}
body:has(.inbox-premium-toolbar) .info-block-title small{font-size:8.5px!important;line-height:1.25!important}
body:has(.inbox-premium-toolbar) .followup-form{gap:6px!important}
body:has(.inbox-premium-toolbar) .followup-submit{margin-top:0!important}
body:has(.inbox-premium-toolbar) .info-block:last-child{
  min-height:0!important;
  overflow:hidden!important;
}
body:has(.inbox-premium-toolbar) .info-block:last-child textarea{
  min-height:34px!important;
  max-height:48px!important;
  resize:none!important;
}
body:has(.inbox-premium-toolbar) .mini-note{
  padding:5px 7px!important;
  gap:1px!important;
  font-size:8.5px!important;
}

/* Mantener proporciones y legibilidad cuando el alto de pantalla es menor */
@media(max-height:820px) and (min-width:1051px){
  body:has(.inbox-premium-toolbar) .inbox-premium-toolbar{padding:8px 12px!important;margin-bottom:7px!important}
  body:has(.inbox-premium-toolbar) .inbox-view-title{min-height:24px!important}
  body:has(.inbox-premium-toolbar) .inbox-view-title small{display:none!important}
  body:has(.inbox-premium-toolbar) .chat-head{min-height:64px!important;padding:9px 12px!important}
  body:has(.inbox-premium-toolbar) .pro-composer{min-height:96px!important;padding:8px 10px 10px!important}
  body:has(.inbox-premium-toolbar) .profile{padding:6px 0!important}
  body:has(.inbox-premium-toolbar) .profile .avatar.big{width:48px!important;height:48px!important}
  body:has(.inbox-premium-toolbar) .customer-facts .fact-card{min-height:42px!important}
  body:has(.inbox-premium-toolbar) .info-form{gap:5px!important}
  body:has(.inbox-premium-toolbar) .info-block{margin-top:6px!important;padding-top:6px!important;gap:5px!important}
  body:has(.inbox-premium-toolbar) .info-block-title small{display:none!important}
  body:has(.inbox-premium-toolbar) .info input,
  body:has(.inbox-premium-toolbar) .info select,
  body:has(.inbox-premium-toolbar) .info .select2-selection,
  body:has(.inbox-premium-toolbar) .info .wide{min-height:31px!important;height:31px!important}
}

@media(max-width:1050px) and (min-width:761px){
  body:has(.inbox-premium-toolbar) .info{display:none!important}
}
@media(max-width:760px){
  body:has(.inbox-premium-toolbar) .inbox-layout>.panel{height:auto!important;overflow:visible!important}
  body:has(.inbox-premium-toolbar) .chat{min-height:540px!important}
  body:has(.inbox-premium-toolbar) .info{display:flex!important;overflow:visible!important}
  body:has(.inbox-premium-toolbar) .pro-composer{position:sticky!important;bottom:0!important}
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:430px){
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions .soft{font-size:9px!important;padding:6px 4px!important}
  body:has(.inbox-premium-toolbar) .customer-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* ZYNKO V2.31.3 · Bandeja funcional: categorías, archivo, auditoría y foco de atención */
body:has(.inbox-premium-toolbar) .inbox-filters-advanced{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(120px,1fr)) auto!important;
  gap:8px!important;
  align-items:end!important;
}
body:has(.inbox-premium-toolbar) .inbox-filters-advanced label{min-width:0!important}
body:has(.inbox-premium-toolbar) .inbox-filters-advanced .clear-inbox-filters{height:36px!important;min-width:42px!important}
body:has(.inbox-premium-toolbar) .conversation-category{
  display:flex!important;align-items:center!important;gap:5px!important;margin-top:5px!important;
  max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:8.5px!important;font-weight:700!important;color:#087f6c!important;
}
body:has(.inbox-premium-toolbar) .conversation-category i{font-size:8px!important}
body:has(.inbox-premium-toolbar) .conversation{
  text-decoration:none!important;
}
body:has(.inbox-premium-toolbar) .conversation *{text-decoration:none!important}
body:has(.inbox-premium-toolbar) .composer-tip{
  margin-left:auto!important;display:inline-flex!important;align-items:center!important;gap:4px!important;
  font-size:9px!important;color:var(--muted)!important;white-space:nowrap!important;
}
body:has(.inbox-premium-toolbar) .composer-tip kbd{
  min-width:22px!important;height:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0 5px!important;border:1px solid #d5e1e8!important;border-bottom-width:2px!important;border-radius:6px!important;background:#f7fafb!important;color:#365064!important;font-size:8px!important;
}
.conversation-actions-modal{max-width:560px!important}
.conversation-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:4px 0!important}
.conversation-state-action,.conversation-delete-action{
  width:100%!important;min-height:86px!important;display:flex!important;align-items:center!important;gap:12px!important;text-align:left!important;
  padding:14px!important;border:1px solid #dbe6ec!important;border-radius:15px!important;background:#f7fbfb!important;color:#0b2b3b!important;cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.conversation-state-action:hover,.conversation-delete-action:hover{transform:translateY(-2px)!important;box-shadow:0 12px 24px rgba(15,23,42,.08)!important;border-color:#8bd8ca!important}
.conversation-state-action>i,.conversation-delete-action>i{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;border-radius:12px!important;background:#e6f8f4!important;color:#078571!important;font-size:15px!important}
.conversation-state-action span,.conversation-delete-action span{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.conversation-state-action b,.conversation-delete-action b{font-size:12px!important;line-height:1.2!important}
.conversation-state-action small,.conversation-delete-action small{font-size:9px!important;line-height:1.35!important;color:#6a7f90!important}
.conversation-delete-action.danger-action{background:#fff8f7!important;border-color:#f0c6c2!important}
.conversation-delete-action.danger-action>i{background:#fff0ee!important;color:#b42318!important}
body:has(.inbox-premium-toolbar) .bulk-bar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px!important;min-width:0}
body:has(.inbox-premium-toolbar) .bulk-bar[hidden]{display:none!important}
.bulk-bar .bulk-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0}
body:has(.inbox-premium-toolbar) .bulk-bar .soft{height:31px!important;min-width:0!important;padding:4px 2px!important;font-size:9px!important;display:flex!important;align-items:center;justify-content:center;gap:3px;white-space:nowrap!important}

@media(max-width:1450px) and (min-width:1051px){
  body:has(.inbox-premium-toolbar) .inbox-filters-advanced{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}
  body:has(.inbox-premium-toolbar) .inbox-filters-advanced .clear-inbox-filters{grid-column:4!important;grid-row:1 / span 2!important;align-self:stretch!important;height:auto!important}
}
@media(max-width:1050px){
  body:has(.inbox-premium-toolbar) .inbox-filters-advanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:has(.inbox-premium-toolbar) .inbox-filters-advanced .clear-inbox-filters{grid-column:1 / -1!important;width:100%!important;height:38px!important}
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions{flex-wrap:wrap!important}
  body:has(.inbox-premium-toolbar) .composer-tip{display:none!important}
}
@media(max-width:760px){
  body:has(.inbox-premium-toolbar) .inbox-filters-advanced{grid-template-columns:1fr!important}
  .conversation-action-grid{grid-template-columns:1fr!important}
  .conversation-state-action,.conversation-delete-action{min-height:76px!important}
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  body:has(.inbox-premium-toolbar) .chat-head .chat-actions .soft{width:100%!important}
}

/* ZYNKO V2.31.4 · Bandeja: Cliente 360 legible, compositor centrado y emojis premium */
body:has(.inbox-premium-toolbar) .inbox-layout{
  grid-template-columns:minmax(285px,310px) minmax(500px,1fr) minmax(300px,330px)!important;
  align-items:stretch!important;
}
body:has(.inbox-premium-toolbar) .inbox-layout>.panel{min-height:0!important;height:100%!important}
body:has(.inbox-premium-toolbar) .info{
  height:100%!important;
  max-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
  padding:14px!important;
}
body:has(.inbox-premium-toolbar) .info-title{margin:-14px -14px 8px!important;padding:13px 14px!important;position:sticky!important;top:-14px!important;z-index:4!important}
body:has(.inbox-premium-toolbar) .profile{padding:12px 0!important}
body:has(.inbox-premium-toolbar) .profile .avatar.big{width:58px!important;height:58px!important;font-size:18px!important}
body:has(.inbox-premium-toolbar) .profile h3{font-size:14px!important;margin:8px 0 3px!important}
body:has(.inbox-premium-toolbar) .profile small{font-size:10px!important;line-height:1.35!important}
body:has(.inbox-premium-toolbar) .customer-facts{gap:5px!important;margin-bottom:6px!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card{min-height:42px!important;padding:6px!important;justify-content:flex-start!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card small{font-size:8.5px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.035em!important}
body:has(.inbox-premium-toolbar) .customer-facts .fact-card b{font-size:10.5px!important;line-height:1.25!important;margin-top:3px!important}
body:has(.inbox-premium-toolbar) .info-form .field label,
body:has(.inbox-premium-toolbar) .followup-form .field label{font-size:11px!important;line-height:1.25!important;margin-bottom:6px!important}
body:has(.inbox-premium-toolbar) .info input,
body:has(.inbox-premium-toolbar) .info textarea,
body:has(.inbox-premium-toolbar) .info select,
body:has(.inbox-premium-toolbar) .info .select2-selection{font-size:11px!important;min-height:39px!important;height:39px!important}
body:has(.inbox-premium-toolbar) .info .select2-selection__rendered{font-size:11px!important;line-height:37px!important}
body:has(.inbox-premium-toolbar) .info .select2-selection__arrow{height:37px!important}
body:has(.inbox-premium-toolbar) .info .wide{font-size:11px!important;min-height:39px!important;height:39px!important}
body:has(.inbox-premium-toolbar) .info-block{margin-top:11px!important;padding-top:11px!important;gap:8px!important}
body:has(.inbox-premium-toolbar) .info-block-head>b,
body:has(.inbox-premium-toolbar) .info-block-title b{font-size:12px!important}
body:has(.inbox-premium-toolbar) .info-block-title small{display:block!important;font-size:9.5px!important;line-height:1.35!important}
body:has(.inbox-premium-toolbar) .followup-form{gap:8px!important}
body:has(.inbox-premium-toolbar) .followup-form input{width:100%!important}

/* Herramientas del compositor perfectamente centradas */
body:has(.inbox-premium-toolbar) .composer-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-height:38px!important;
}
body:has(.inbox-premium-toolbar) .composer-tools button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  line-height:1!important;
  height:36px!important;
  min-height:36px!important;
  padding:0 11px!important;
}
body:has(.inbox-premium-toolbar) .composer-tools button:not(#nivoAssist){width:36px!important;min-width:36px!important;padding:0!important}
body:has(.inbox-premium-toolbar) .composer-tools button i{margin:0!important;line-height:1!important}
body:has(.inbox-premium-toolbar) #nivoAssist{gap:7px!important;min-width:84px!important}

/* Emoji picker por categorías, estilo mensajería moderna */
body:has(.inbox-premium-toolbar) .emoji-picker-premium{
  position:absolute!important;
  left:12px!important;
  bottom:104px!important;
  z-index:40!important;
  width:min(390px,calc(100% - 24px))!important;
  max-height:300px!important;
  padding:10px!important;
  border:1px solid #dce7ec!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 20px 45px rgba(15,23,42,.16)!important;
  overflow:hidden!important;
}
body:has(.inbox-premium-toolbar) .emoji-tabs{display:flex!important;align-items:center!important;gap:5px!important;padding:0 0 8px!important;border-bottom:1px solid #e7eef2!important;overflow-x:auto!important;scrollbar-width:none}
body:has(.inbox-premium-toolbar) .emoji-tabs::-webkit-scrollbar{display:none}
body:has(.inbox-premium-toolbar) .emoji-tabs .emoji-tab{width:38px!important;min-width:38px!important;height:34px!important;padding:0!important;border-radius:9px!important;background:#f5f8fa!important;border:1px solid transparent!important;font-size:18px!important}
body:has(.inbox-premium-toolbar) .emoji-tabs .emoji-tab.active{background:#e4f7f2!important;border-color:#bfe6dc!important;box-shadow:inset 0 -2px 0 #0b8a72!important}
body:has(.inbox-premium-toolbar) .emoji-groups{padding-top:9px!important;max-height:225px!important;overflow-y:auto!important}
body:has(.inbox-premium-toolbar) .emoji-group{display:none!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:4px!important}
body:has(.inbox-premium-toolbar) .emoji-group.active{display:grid!important}
body:has(.inbox-premium-toolbar) .emoji-group button{width:100%!important;min-width:0!important;height:38px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:9px!important;font-size:22px!important;transition:transform .15s ease,background .15s ease!important}
body:has(.inbox-premium-toolbar) .emoji-group button:hover{background:#eef8f5!important;transform:scale(1.12)!important}

@media(max-width:1280px) and (min-width:1051px){
 body:has(.inbox-premium-toolbar) .inbox-layout{grid-template-columns:minmax(270px,290px) minmax(430px,1fr) minmax(285px,305px)!important}
 body:has(.inbox-premium-toolbar) .customer-facts{grid-template-columns:1fr!important}
 body:has(.inbox-premium-toolbar) .customer-facts .fact-card{min-height:42px!important}
}
@media(max-height:820px) and (min-width:1051px){
 body:has(.inbox-premium-toolbar) .info{overflow-y:auto!important}
 body:has(.inbox-premium-toolbar) .profile{padding:7px 0!important}
 body:has(.inbox-premium-toolbar) .profile .avatar.big{width:46px!important;height:46px!important}
 body:has(.inbox-premium-toolbar) .info-block-title small{display:block!important}
}
@media(max-width:760px){
 body:has(.inbox-premium-toolbar) .info{height:auto!important;max-height:none!important;overflow:visible!important;padding:14px!important}
 body:has(.inbox-premium-toolbar) .emoji-picker-premium{position:fixed!important;left:12px!important;right:12px!important;bottom:82px!important;width:auto!important;max-height:42vh!important}
 body:has(.inbox-premium-toolbar) .emoji-group{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}
@media(max-width:430px){body:has(.inbox-premium-toolbar) .emoji-group{grid-template-columns:repeat(6,minmax(0,1fr))!important}}


/* ZYNKO V2.31.5 · Login móvil compacto y visible sin scroll excesivo */
@media (max-width:620px){
  .auth-login{
    min-height:100svh!important;
    padding:8px!important;
    align-items:flex-start!important;
    justify-content:center!important;
  }
  .auth-login .login-card{
    width:min(100%,460px)!important;
    margin:4px auto!important;
    padding:14px 16px 16px!important;
    border-radius:18px!important;
  }
  .auth-login .auth-site-back{
    min-height:38px!important;
    margin-bottom:9px!important;
    padding:7px 10px!important;
    font-size:12px!important;
  }
  .auth-login .login-brand{
    padding:0 0 7px!important;
  }
  .auth-login .login-brand .brandmark{
    width:38px!important;
    height:38px!important;
    border-radius:11px!important;
  }
  .auth-login .login-card h1{
    font-size:25px!important;
    margin:0 0 4px!important;
  }
  .auth-login .login-card>p{
    font-size:13px!important;
    line-height:1.35!important;
  }
  .auth-login .auth-inline-highlights{
    gap:6px!important;
    margin:9px 0!important;
  }
  .auth-login .auth-inline-highlights span{
    padding:5px 8px!important;
    font-size:10.5px!important;
  }
  .auth-login .auth-nivo-strip{
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:9px!important;
    min-height:72px!important;
    margin:0 0 10px!important;
    padding:9px 11px!important;
    border-radius:14px!important;
    justify-items:stretch!important;
  }
  .auth-login .auth-nivo-copy{
    gap:2px!important;
  }
  .auth-login .auth-nivo-copy b{
    font-size:12px!important;
    line-height:1.2!important;
  }
  .auth-login .auth-nivo-copy small{
    font-size:10.5px!important;
    line-height:1.3!important;
  }
  .auth-login .auth-nivo-strip img{
    width:56px!important;
    height:56px!important;
    justify-self:center!important;
  }
  .auth-login .login-card form{
    gap:6px!important;
  }
  .auth-login .login-card .field{
    gap:3px!important;
  }
  .auth-login .login-card .field label{
    font-size:12px!important;
  }
  .auth-login .login-card input{
    min-height:40px!important;
    padding:8px 10px!important;
    font-size:14px!important;
  }
  .auth-login .login-card .form-line{
    min-height:34px!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:auto 1fr!important;
    align-items:center!important;
    gap:10px!important;
  }
  .auth-login .login-card .form-line>a{
    min-height:34px!important;
    justify-content:flex-end!important;
    font-size:12px!important;
  }
  .auth-login .switch-line{
    min-height:34px!important;
    font-size:11px!important;
  }
  .auth-login .login-card form>button{
    min-height:40px!important;
    margin-top:2px!important;
    font-size:13px!important;
  }
  .auth-login .login-signup{
    margin-top:9px!important;
    padding:8px 10px!important;
    gap:3px!important;
  }
  .auth-login .login-signup>span,
  .auth-login .login-signup small{
    font-size:10.5px!important;
  }
  .auth-login .login-signup>a{
    font-size:12.5px!important;
  }
  .auth-login .login-meta{
    margin-top:9px!important;
    font-size:11px!important;
  }
}

@media (max-width:380px){
  .auth-login .login-card{padding:12px 13px 14px!important}
  .auth-login .auth-inline-highlights span{font-size:10px!important;padding:5px 7px!important}
  .auth-login .auth-nivo-strip{grid-template-columns:minmax(0,1fr) 50px!important}
  .auth-login .auth-nivo-strip img{width:48px!important;height:48px!important}
}

/* ZYNKO V2.31.6 · Menú contextual premium de Bandeja */
.zynko-context-menu{position:fixed;z-index:10050;width:min(320px,calc(100vw - 24px));padding:9px;background:#fff;border:1px solid #dce7ee;border-radius:16px;box-shadow:0 24px 60px rgba(8,34,54,.2);display:none;overflow:hidden}
.zynko-context-menu.open{display:block;animation:zynkoContextIn .14s ease-out}
@keyframes zynkoContextIn{from{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:none}}
.context-menu-head{display:flex;align-items:center;gap:10px;padding:8px 10px 10px;border-bottom:1px solid #edf2f6;margin-bottom:5px}.context-menu-head>div{display:flex;flex-direction:column;min-width:0}.context-menu-head b{font-size:13px;color:#0b2b40}.context-menu-head small{font-size:11px;color:#70849a;margin-top:2px}.context-menu-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#e7f8f4;color:#058f78}
.zynko-context-menu button{width:100%;border:0;background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border-radius:11px;text-align:left;color:#123047;cursor:pointer;transition:background .15s ease,transform .15s ease}
.zynko-context-menu button:hover,.zynko-context-menu button:focus-visible{background:#f0faf7;outline:none;transform:translateX(2px)}.zynko-context-menu button>i{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf8f6;color:#078e79}.zynko-context-menu button span{display:flex;flex-direction:column;min-width:0}.zynko-context-menu button b{font-size:12px}.zynko-context-menu button small{font-size:10px;color:#77899a;margin-top:2px;white-space:normal}.zynko-context-menu button.danger:hover{background:#fff1f0}.zynko-context-menu button.danger>i{background:#fff0ef;color:#b42318}.context-menu-separator{height:1px;background:#edf2f6;margin:5px 7px}
body:has(.inbox-premium-toolbar) .conversation{user-select:none}
@media (max-width:720px){.zynko-context-menu{width:min(300px,calc(100vw - 20px));border-radius:14px}.zynko-context-menu button{padding:10px}}

/* ZYNKO V2.31.7 · NIVO Web Chat + NIVO IA advanced controls */
.webchat-advanced-box,.nivo-omnichannel-box{border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:16px;background:color-mix(in srgb,var(--accent) 4%,var(--surface));padding:16px!important}.webchat-advanced-head,.nivo-omnichannel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.webchat-advanced-head b,.nivo-omnichannel-head b{display:block;font-size:14px}.webchat-advanced-head small,.nivo-omnichannel-head small{display:block;color:var(--muted);margin-top:4px;line-height:1.45}.webchat-advanced-grid,.nivo-policy-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.webchat-advanced-grid>.field.full{grid-column:1/-1}.webchat-toggle-grid,.nivo-policy-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.input-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.input-suffix input{border-radius:11px 0 0 11px!important}.input-suffix span{height:42px;display:flex;align-items:center;padding:0 11px;border:1px solid var(--line);border-left:0;border-radius:0 11px 11px 0;background:var(--surface2);color:var(--muted);font-size:11px;font-weight:800}.nivo-channel-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.nivo-channel-pills label{cursor:pointer}.nivo-channel-pills input{position:absolute;opacity:0;pointer-events:none}.nivo-channel-pills span{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:11px;font-weight:800;color:var(--muted);transition:.18s ease}.nivo-channel-pills input:checked+span{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 9%,var(--surface));color:var(--accent)}.nivo-policy-numbers{grid-column:1/-1;margin-top:12px}.dashboard-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dashboard-public-link{white-space:nowrap}
@media(max-width:1100px){.webchat-advanced-grid,.nivo-policy-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.webchat-advanced-grid,.nivo-policy-numbers,.webchat-toggle-grid,.nivo-policy-grid{grid-template-columns:1fr}.webchat-advanced-head,.nivo-omnichannel-head{flex-direction:column}.dashboard-head-actions{width:100%}.dashboard-head-actions>*{flex:1 1 auto;justify-content:center}.nivo-channel-pills{gap:6px}.nivo-channel-pills span{font-size:10px;padding:0 9px}}

/* ZYNKO V2.31.9 · NIVO IA externa / OpenAI como segunda fase */
.nivo-external-flow{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}.nivo-external-flow>span{min-height:92px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);padding:14px;display:grid;gap:5px;align-content:center}.nivo-external-flow>span>i{font-size:18px;color:var(--accent2)}.nivo-external-flow>span b{font-size:13px}.nivo-external-flow>span small{font-size:11px;line-height:1.4;color:#6b7d91}.nivo-external-flow>.fa-arrow-right{color:#90a2b4}.ai-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.ai-status-card{border:1px solid var(--line);border-radius:14px;background:var(--surface2);padding:14px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;min-width:0}.ai-status-card>span{width:42px;height:42px;border-radius:12px;background:#e7f7f3;color:#0a8b75;display:grid;place-items:center}.ai-status-card>div{display:grid;gap:2px;min-width:0}.ai-status-card small{font-size:9.5px;letter-spacing:.55px;font-weight:900;color:#6c7f92}.ai-status-card b{font-size:15px;overflow-wrap:anywhere}.ai-status-card em{font-style:normal;color:#7b8b9b;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere}.ai-provider-form,.tenant-ai-form{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.ai-provider-actions{flex-wrap:wrap}.tenant-ai-entitlement{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #cfe8e2;border-radius:14px;background:#f3fbf8;padding:14px}.tenant-ai-entitlement>div{display:flex;align-items:center;gap:11px;min-width:0}.tenant-ai-entitlement>div>div{display:grid;gap:3px;min-width:0}.tenant-ai-entitlement small{color:#6b7d91;font-size:11px;line-height:1.4}.tenant-ai-icon{width:42px;height:42px;border-radius:12px;background:#dff4ee;color:#0a8b75;display:grid;place-items:center;flex:0 0 auto}.tenant-ai-entitlement.is-locked{background:#f7f8fa;border-color:#e0e6eb;opacity:.78}.ai-channel-grid{display:grid;gap:10px;margin-top:14px}.ai-channel-grid>label,.ai-plan-channel-wrap>label{font-size:12px;font-weight:850}.ai-channel-grid>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ai-channel-option{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);padding:10px;min-width:0}.ai-channel-option input{width:16px;height:16px;flex:0 0 auto}.ai-channel-option>span{display:grid;gap:1px;min-width:0}.ai-channel-option b{font-size:11.5px;overflow-wrap:anywhere}.ai-channel-option small{font-size:9.5px;color:#8090a0}.ai-channel-option.is-disabled{opacity:.55}.billing-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.billing-export{text-decoration:none!important}.plan-ai-feature{color:#0a806d!important;font-weight:750}.plan-ai-config{margin-top:2px}.billing-ai-box{background:#f4fbf9!important;border-color:#cde8e1!important}.plan-ai-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr);gap:12px;align-items:stretch}.plan-ai-grid>.field{margin:0!important}.plan-ai-grid .plan-toggle-card{height:100%;margin:0!important}.ai-plan-channel-wrap{display:grid;gap:9px;margin-top:12px;padding-top:12px;border-top:1px solid #dcebe7}.ai-plan-channels{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:1100px){.ai-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-channel-grid>div,.ai-plan-channels{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nivo-external-flow{grid-template-columns:1fr}.nivo-external-flow>.fa-arrow-right{transform:rotate(90deg);justify-self:center}}
@media(max-width:700px){.ai-admin-grid{grid-template-columns:1fr}.tenant-ai-entitlement{align-items:flex-start;flex-direction:column}.tenant-ai-entitlement .switch-line{width:100%}.ai-channel-grid>div,.ai-plan-channels{grid-template-columns:1fr!important}.plan-ai-grid{grid-template-columns:1fr}.billing-head-actions{width:100%}.billing-head-actions>*{flex:1;justify-content:center}.ai-provider-actions{display:grid!important;grid-template-columns:1fr!important}.ai-provider-actions>*{width:100%!important}}
.tenant-ai-usage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.tenant-ai-usage>span{border:1px solid var(--line);border-radius:11px;background:var(--surface2);padding:10px 12px;display:grid;gap:2px}.tenant-ai-usage small{font-size:9.5px;color:#7b8b9b;text-transform:uppercase;letter-spacing:.4px;font-weight:850}.tenant-ai-usage b{font-size:12px;overflow-wrap:anywhere}@media(max-width:700px){.tenant-ai-usage{grid-template-columns:1fr}}

/* ZYNKO V2.31.9 · Empresas */
.companies-welcome{align-items:center}.company-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}.company-kpis article{display:flex;align-items:center;gap:13px;padding:17px 18px;border:1px solid var(--border,#dbe4ea);border-radius:18px;background:var(--panel,#fff);box-shadow:0 10px 28px rgba(15,23,42,.05)}.company-kpis article>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(15,118,110,.1);color:#0f766e;font-size:18px}.company-kpis b{font-size:1.35rem;display:block}.company-kpis small{color:var(--muted,#64748b)}.company-control-panel{margin-bottom:16px}.company-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) minmax(170px,1fr) minmax(190px,1fr) auto;gap:12px;align-items:end}.company-filter-clear{height:44px}.company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.company-card{border:1px solid var(--border,#dbe4ea);background:var(--panel,#fff);border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.055);min-width:0}.company-card[hidden]{display:none!important}.company-card-top{display:flex;align-items:center;gap:12px;padding:18px 18px 14px;border-bottom:1px solid var(--border,#e8eef2)}.company-logo-placeholder{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,rgba(15,118,110,.14),rgba(2,132,199,.1));color:#0f766e;font-size:19px}.company-main-copy{min-width:0;flex:1}.company-main-copy>b,.company-title-line b{font-size:1rem}.company-title-line{display:flex;align-items:center;gap:8px;min-width:0}.company-title-line b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-main-copy>small{display:block;margin-top:4px;color:var(--muted,#64748b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-card-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(180px,.8fr);gap:14px;padding:16px 18px}.company-owner,.company-plan-summary{display:flex;align-items:center;gap:10px;min-width:0}.company-owner>span,.company-plan-summary>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:rgba(15,118,110,.08);color:#0f766e}.company-owner>div,.company-plan-summary>div{min-width:0}.company-owner small,.company-plan-summary small{display:block;color:var(--muted,#64748b);font-size:.68rem;font-weight:800;letter-spacing:.05em}.company-owner b,.company-plan-summary b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.company-owner em,.company-plan-summary em{display:block;font-style:normal;color:var(--muted,#64748b);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-stat-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.company-stat-row span{padding:10px 12px;border-radius:13px;background:var(--soft-bg,#f8fafc);border:1px solid var(--border,#e8eef2);text-align:center}.company-stat-row b{display:block;font-size:1rem}.company-stat-row small{color:var(--muted,#64748b);font-size:.75rem}.company-card-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:0 18px 16px}.company-card-actions button{justify-content:center;min-width:0}.company-created{padding:10px 18px;background:var(--soft-bg,#f8fafc);border-top:1px solid var(--border,#e8eef2);font-size:.73rem;color:var(--muted,#64748b)}.company-empty{grid-column:1/-1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed var(--border,#cbd5e1);border-radius:20px;color:var(--muted,#64748b)}.company-empty i{font-size:30px}.company-modal{width:min(720px,calc(100vw - 28px))}.company-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.company-plan-note,.company-security-note{display:flex;gap:10px;padding:12px 14px;border-radius:14px;background:rgba(2,132,199,.07);border:1px solid rgba(2,132,199,.15);color:var(--text,#0f172a);font-size:.82rem}.company-users-modal{width:min(980px,calc(100vw - 28px));max-height:min(86vh,820px);display:flex;flex-direction:column}.company-users-modal .company-security-note{margin:0 18px 12px}.company-user-list{padding:0 18px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;min-height:120px}.company-user-card{display:grid;grid-template-columns:44px minmax(220px,1fr) minmax(240px,.75fr);grid-template-areas:'avatar copy controls' 'avatar copy actions';gap:9px 12px;align-items:center;padding:13px;border:1px solid var(--border,#e2e8f0);border-radius:16px;background:var(--panel,#fff)}.company-user-avatar{grid-area:avatar;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0f766e;color:#fff;font-weight:800}.company-user-copy{grid-area:copy;min-width:0}.company-user-copy>div{display:flex;align-items:center;gap:7px}.company-user-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-user-copy small,.company-user-copy em{display:block;color:var(--muted,#64748b);font-style:normal;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.company-user-controls{grid-area:controls;display:grid;grid-template-columns:1fr 1fr;gap:8px}.company-user-controls select{width:100%;min-height:38px;border-radius:10px;border:1px solid var(--border,#cbd5e1);background:var(--panel,#fff);color:inherit;padding:0 9px}.company-user-actions{grid-area:actions;display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.company-user-actions button{min-height:36px}.company-user-empty{padding:35px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--muted,#64748b)}.temporary-password-box code{display:block;margin:12px auto;padding:13px 16px;border-radius:12px;background:#0f172a;color:#f8fafc;font-size:1rem;letter-spacing:.04em;word-break:break-all}.temporary-password-box small,.temporary-password-box p{display:block;color:#64748b}.platform-assist-banner{display:flex;align-items:center;gap:11px;margin:0 18px 0;padding:10px 14px;border:1px solid rgba(245,158,11,.28);border-radius:0 0 14px 14px;background:rgba(245,158,11,.1);color:var(--text,#0f172a)}.platform-assist-banner>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(245,158,11,.18);color:#b45309}.platform-assist-banner>div{flex:1;min-width:0}.platform-assist-banner b,.platform-assist-banner small{display:block}.platform-assist-banner small{color:var(--muted,#64748b)}.platform-assist-banner a,.return-platform-link{font-weight:800;color:#0f766e;text-decoration:none}.platform-assist-banner a{white-space:nowrap}.theme-dark .company-card,.theme-dark .company-kpis article,.theme-dark .company-user-card{box-shadow:none}.theme-dark .temporary-password-box code{background:#020617}
@media(max-width:1180px){.company-kpis{grid-template-columns:repeat(2,1fr)}.company-grid{grid-template-columns:1fr}.company-filter-grid{grid-template-columns:repeat(2,1fr)}.company-filter-clear{width:100%}.company-user-card{grid-template-columns:44px 1fr;grid-template-areas:'avatar copy' 'controls controls' 'actions actions'}.company-user-actions{justify-content:flex-start}}
@media(max-width:700px){.company-kpis{grid-template-columns:1fr 1fr;gap:10px}.company-kpis article{padding:13px}.company-filter-grid{grid-template-columns:1fr}.company-card-top{align-items:flex-start}.company-card-top .status-badge{margin-left:auto}.company-card-body{grid-template-columns:1fr}.company-stat-row{grid-column:auto;grid-template-columns:repeat(3,1fr)}.company-card-actions{grid-template-columns:1fr}.company-password-row{grid-template-columns:1fr}.company-user-controls{grid-template-columns:1fr}.company-user-actions{display:grid;grid-template-columns:1fr}.company-user-actions button{width:100%;justify-content:center}.platform-assist-banner{margin:0 10px;padding:9px 11px;flex-wrap:wrap}.platform-assist-banner a{width:100%;text-align:center;padding-top:5px}.company-users-modal .company-security-note{margin-left:12px;margin-right:12px}.company-user-list{padding-left:12px;padding-right:12px}.company-kpis small{font-size:.72rem}}
.api-flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.api-flow-grid article{display:flex;gap:11px;padding:14px;border:1px solid var(--border,#e2e8f0);border-radius:15px;background:var(--panel,#fff);min-width:0}.api-flow-grid article>span{width:30px;height:30px;flex:0 0 30px;border-radius:10px;display:grid;place-items:center;background:#0f766e;color:#fff;font-weight:800}.api-flow-grid article div{min-width:0}.api-flow-grid b,.api-flow-grid small,.api-flow-grid code{display:block}.api-flow-grid code{margin:6px 0;padding:8px;border-radius:9px;background:var(--soft-bg,#f8fafc);white-space:normal;word-break:break-all;font-size:.75rem}.api-flow-grid small{color:var(--muted,#64748b);line-height:1.45}.api-auth-example{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border-radius:13px;background:var(--soft-bg,#f8fafc);border:1px solid var(--border,#e2e8f0)}.api-auth-example code{padding:5px 8px;border-radius:7px;background:var(--panel,#fff);font-size:.74rem}@media(max-width:900px){.api-flow-grid{grid-template-columns:1fr}}


/* ZYNKO V2.31.10 · Ajustes visuales NIVO + Empresas */

.nivo-webchat-page .nivo-webchat-rail{grid-template-columns:1fr!important;gap:16px!important;height:auto!important;align-self:start!important;position:sticky!important;top:88px!important}
.nivo-webchat-page .nivo-webchat-rail>.webchat-preview,.nivo-webchat-page .nivo-webchat-rail>.nivo-companion-card{height:auto!important;min-height:0!important;align-self:start!important}
.nivo-webchat-page .webchat-preview{display:block!important;height:auto!important;overflow:hidden!important}
.nivo-webchat-page .preview-stage{flex:none!important;min-height:390px!important;height:auto!important;align-items:center!important;justify-content:center!important;padding:18px 18px 22px!important}
.nivo-webchat-page .preview-chat{height:auto!important;min-height:306px!important;max-width:100%!important}
.nivo-webchat-page .preview-head{min-height:unset!important}
.nivo-webchat-page .nivo-companion-card{display:block!important}
.nivo-webchat-page .nivo-companion-copy{padding:16px 16px 12px!important}
.nivo-webchat-page .nivo-companion-visual{flex:none!important;height:182px!important;min-height:182px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;background:linear-gradient(180deg,#f8fefd 0%,#eefaf7 100%)!important}
.nivo-webchat-page .nivo-companion-visual img{height:190px!important;max-height:190px!important;width:min(82%,220px)!important;transform:translateY(8px)!important}
.webchat-advanced-box,.nivo-omnichannel-box{padding:18px!important;border-radius:18px!important;border:1px solid color-mix(in srgb,var(--accent) 22%,#dbe7e3)!important;background:linear-gradient(180deg,#fbfefd 0%,#f3fbf8 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.webchat-advanced-head,.nivo-omnichannel-head{align-items:flex-start!important;gap:16px!important;margin-bottom:16px!important}
.webchat-advanced-head>div,.nivo-omnichannel-head>div{display:grid;gap:4px}
.webchat-advanced-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important}
.webchat-advanced-grid>.field,.nivo-policy-numbers>.field{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #dbe8e4;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.035)}
.webchat-advanced-grid>.field.full{grid-column:1/-1!important}
.webchat-toggle-grid,.nivo-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
.webchat-advanced-box .switch-line,.nivo-omnichannel-box .switch-line{display:flex!important;align-items:center!important;gap:11px!important;min-height:54px!important;padding:12px 14px!important;border:1px solid #dbe8e4!important;border-radius:15px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important}
.webchat-advanced-box .switch-label-text,.nivo-omnichannel-box .switch-label-text{font-weight:700!important;line-height:1.35!important}
.nivo-channel-pills{gap:10px!important;margin-bottom:14px!important}
.nivo-channel-pills span{min-height:38px!important;padding:0 14px!important;font-size:12px!important;border-color:#b8ddd7!important;background:#fff!important;color:#0f766e!important}
.nivo-channel-pills input:checked+span{background:rgba(15,118,110,.1)!important;border-color:#0f766e!important;color:#0f766e!important;box-shadow:inset 0 0 0 1px rgba(15,118,110,.08)}
.nivo-policy-grid{margin-top:2px!important}
.nivo-policy-numbers{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-top:14px!important}
.nivo-policy-numbers .field-help,.webchat-advanced-grid .field-help,.nivo-omnichannel-box>.field-help{margin-top:2px!important;line-height:1.45!important}
.company-filter-search,.company-directory-search{position:relative;display:flex;align-items:center}
.company-filter-search>i,.company-directory-search>i{position:absolute;left:14px;color:var(--muted,#64748b);pointer-events:none}
.company-filter-search input,.company-directory-search input{width:100%;padding-left:40px!important;padding-right:42px!important}
.company-search-clear{position:absolute;right:8px;width:30px;height:30px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#64748b;cursor:pointer}
.company-search-clear:hover{background:#eef4f7;color:#0f172a}
.company-directory-shell{padding:0!important;overflow:hidden}
.company-directory-toolbar,.company-directory-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;background:#fbfcfd}
.company-directory-toolbar{border-bottom:1px solid #e7eef3}
.company-directory-footer{border-top:1px solid #e7eef3}
.company-directory-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.company-show-count{display:inline-flex;align-items:center;gap:9px;font-size:.9rem;font-weight:700;color:#122033}
.company-mini-select{min-width:78px;height:40px;border:1px solid #d9e4ea;border-radius:12px;background:#fff;padding:0 12px;color:#122033;font-weight:700}
.company-directory-summary,.company-directory-footer small,.company-directory-tools small{color:#64748b}
.company-directory-search{width:min(100%,380px)}
.company-grid{padding:18px}
.company-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.company-page-btn{min-width:40px;height:38px;padding:0 12px;border:1px solid #dbe5ea;border-radius:11px;background:#fff;color:#122033;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.company-page-btn:hover:not(:disabled){border-color:#0f766e;color:#0f766e;background:#f4fbf9}
.company-page-btn.active{background:#0f766e;color:#fff;border-color:#0f766e}
.company-page-btn:disabled{opacity:.45;cursor:not-allowed}
.company-page-dots{color:#64748b;font-weight:700;padding:0 2px}
.company-empty{min-height:260px!important;background:#fbfcfd}
@media(max-width:1360px){.webchat-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nivo-policy-numbers{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1180px){.nivo-webchat-page .nivo-webchat-rail{position:static!important;top:auto!important}.nivo-webchat-page .preview-stage{min-height:360px!important}.nivo-webchat-page .nivo-companion-visual{height:170px!important;min-height:170px!important}}
@media(max-width:760px){.webchat-advanced-grid,.webchat-toggle-grid,.nivo-policy-grid,.nivo-policy-numbers{grid-template-columns:1fr!important}.company-directory-toolbar,.company-directory-footer{flex-direction:column;align-items:stretch}.company-directory-search{width:100%}.company-directory-tools,.company-pagination{justify-content:flex-start}.company-grid{padding:14px}.nivo-webchat-page .preview-stage{min-height:330px!important}.nivo-webchat-page .nivo-companion-visual{height:180px!important;min-height:180px!important}}


/* ZYNKO V2.31.11 · Pulido final NIVO, Empresas, Bandeja y Documentación */
/* Empresas: buscadores, exportación y directorio */
.company-directory-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;flex:1}
.company-directory-search{flex:1 1 360px;max-width:460px;min-width:260px}
.company-directory-search input,.company-filter-search input{height:42px!important;min-height:42px!important;border:1px solid #d7e2e8!important;border-radius:12px!important;background:#fff!important;color:#122033!important;font-size:13px!important;outline:none!important;box-shadow:none!important;transition:border-color .16s ease,box-shadow .16s ease!important}
.company-directory-search input:focus,.company-filter-search input:focus{border-color:#6bcaba!important;box-shadow:0 0 0 3px rgba(15,118,110,.10)!important}
.company-export-btn{height:42px!important;min-width:88px!important;padding:0 13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-decoration:none!important;border-radius:12px!important;white-space:nowrap!important}
.company-export-btn.excel i{color:#168654}.company-export-btn.pdf i{color:#c2413a}
.company-directory-toolbar{min-height:74px!important}
.company-directory-footer{min-height:62px!important}
.company-empty{margin:0!important}
/* NIVO Web Chat: layout equilibrado, sin elementos pegados */
.webchat-advanced-box{margin-top:8px!important;padding:22px!important}
.webchat-advanced-head{margin-bottom:18px!important;padding-bottom:14px!important;border-bottom:1px solid #dbe8e4!important}
.webchat-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.webchat-advanced-grid>.field{padding:16px!important;min-height:122px!important;justify-content:flex-start!important}
.webchat-advanced-grid>.field.full{min-height:0!important}
.webchat-advanced-grid>.field.full textarea{min-height:110px!important}
.webchat-toggle-grid{gap:12px 14px!important;margin-top:0!important}
.webchat-advanced-box .switch-line{min-height:58px!important;padding:13px 15px!important}
.webchat-advanced-box .input-suffix input{height:42px!important}
/* NIVO IA omnicanal: misma jerarquía visual que Comportamiento */
.nivo-omnichannel-box{margin-top:8px!important;padding:22px!important}
.nivo-omnichannel-head{margin-bottom:18px!important;padding-bottom:14px!important;border-bottom:1px solid #dbe8e4!important}
.nivo-channel-pills{padding:14px!important;margin:0 0 16px!important;border:1px solid #dbe8e4!important;border-radius:16px!important;background:#fff!important;gap:9px!important}
.nivo-policy-grid{gap:12px 14px!important;margin:0 0 16px!important}
.nivo-omnichannel-box .switch-line{min-height:58px!important;padding:13px 15px!important}
.nivo-policy-numbers{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important}
.nivo-policy-numbers>.field{min-height:112px!important;padding:16px!important}
.nivo-omnichannel-box>.field-help{display:block!important;margin-top:14px!important;padding:11px 13px!important;border-radius:12px!important;background:rgba(15,118,110,.055)!important;border:1px solid rgba(15,118,110,.10)!important}
/* Bandeja: el botón restablecer coincide exactamente con los selects */
body:has(.inbox-premium-toolbar) .inbox-filters-advanced .clear-inbox-filters{height:40px!important;min-height:40px!important;align-self:end!important;margin:0!important;padding:0 14px!important;border-radius:11px!important}
body:has(.inbox-premium-toolbar) .inbox-filters-advanced .select2-container--default .select2-selection--single{height:40px!important;min-height:40px!important}
body:has(.inbox-premium-toolbar) .inbox-filters-advanced .select2-selection__rendered{line-height:38px!important}
body:has(.inbox-premium-toolbar) .inbox-filters-advanced .select2-selection__arrow{height:38px!important}
/* Integraciones: documentación completa */
.api-doc-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.api-doc-code-grid>article{min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}
.api-doc-code-grid>article.full{grid-column:1/-1}
.api-doc-title{display:flex;align-items:center;gap:10px;margin-bottom:11px}.api-doc-title>i{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#e7f7f3;color:#0f766e}.api-doc-title b,.api-doc-title small{display:block}.api-doc-title small{font-size:10px;color:var(--muted);margin-top:2px}
.api-doc-code-grid pre{max-width:100%;overflow:auto;margin:0;padding:13px;border-radius:12px;background:#0f172a;color:#d9f9f1;line-height:1.5;font-size:11px;white-space:pre}
.api-doc-response{margin-top:12px}.api-doc-response>b{display:block;margin-bottom:7px;font-size:11px}
.api-route-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding:10px 11px;border-radius:11px;background:#edf9f6;color:#0f766e;font-size:10px;font-weight:800}.api-route-flow i{font-size:9px;color:#8fa3b2}
.api-doc-warning{display:flex;gap:9px;align-items:flex-start;margin-top:12px;padding:11px 12px;border-radius:12px;background:#fff8e8;border:1px solid #eedb9f;font-size:11px;line-height:1.45}
@media(max-width:1180px){.company-directory-actions{width:100%;justify-content:stretch}.company-directory-search{max-width:none}.company-export-btn{flex:0 0 auto}}
@media(max-width:900px){.api-doc-code-grid{grid-template-columns:1fr}.api-doc-code-grid>article.full{grid-column:auto}.company-directory-toolbar{align-items:stretch!important}.company-directory-actions{flex-wrap:wrap}.company-directory-search{flex:1 1 100%;max-width:none;min-width:0}.company-export-btn{flex:1 1 120px}}
@media(max-width:760px){.webchat-advanced-box,.nivo-omnichannel-box{padding:16px!important}.webchat-advanced-grid,.nivo-policy-numbers{grid-template-columns:1fr!important}.webchat-advanced-grid>.field,.nivo-policy-numbers>.field{min-height:0!important}.company-export-btn{min-width:0!important}.company-export-btn span{display:inline}}
/* V2.31.11 · 4 pasos de integración alineados en escritorio */
.api-howto-panel .api-flow-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
@media(max-width:1200px){.api-howto-panel .api-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.api-howto-panel .api-flow-grid{grid-template-columns:1fr!important}}
/* V2.31.11 · NIVO adopta el mismo lenguaje limpio de Comportamiento */
.webchat-advanced-box,.nivo-omnichannel-box{background:#fbfefd!important;padding:22px 24px!important}
.webchat-advanced-grid{gap:20px 26px!important}
.webchat-advanced-grid>.field,.nivo-policy-numbers>.field{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
.webchat-advanced-grid>.field label,.nivo-policy-numbers>.field label{margin-bottom:2px!important}
.webchat-advanced-grid>.field.full{padding-top:2px!important}
.webchat-toggle-grid,.nivo-policy-grid{padding-top:16px!important;border-top:1px solid #dce8e4!important;gap:8px 28px!important}
.webchat-advanced-box .switch-line,.nivo-omnichannel-box .switch-line{min-height:44px!important;padding:7px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.nivo-channel-pills{padding:0 0 16px!important;border:0!important;border-bottom:1px solid #dce8e4!important;border-radius:0!important;background:transparent!important;margin-bottom:16px!important}
.nivo-policy-grid{margin-bottom:16px!important}
.nivo-policy-numbers{padding-top:16px!important;border-top:1px solid #dce8e4!important;gap:18px 26px!important}
.nivo-omnichannel-box>.field-help{margin-top:16px!important}

/* ZYNKO · Ajuste puntual NIVO Web Chat · Experiencia avanzada limpia */
.nivo-webchat-page .webchat-advanced-box{
  margin-top:6px!important;
  padding:22px 0 0!important;
  border:0!important;
  border-top:1px solid var(--line,#dfe7ec)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nivo-webchat-page .webchat-advanced-head{
  margin:0 0 20px!important;
  padding:0!important;
  border:0!important;
}
.nivo-webchat-page .webchat-advanced-head b{
  font-size:14px!important;
  line-height:1.3!important;
  color:var(--text,#122033)!important;
}
.nivo-webchat-page .webchat-advanced-head small{
  margin-top:5px!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:var(--muted,#64748b)!important;
}
.nivo-webchat-page .webchat-advanced-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:28px!important;
  row-gap:20px!important;
  align-items:start!important;
}
.nivo-webchat-page .webchat-advanced-grid>.field{
  display:block!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nivo-webchat-page .webchat-advanced-grid>.field>label{
  display:block!important;
  margin:0 0 8px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
}
.nivo-webchat-page .webchat-advanced-grid>.field input,
.nivo-webchat-page .webchat-advanced-grid>.field textarea{
  width:100%!important;
}
.nivo-webchat-page .webchat-advanced-grid>.field textarea{
  min-height:96px!important;
  resize:vertical!important;
}
.nivo-webchat-page .webchat-advanced-grid>.field.full{
  grid-column:1/-1!important;
  padding-top:0!important;
}
.nivo-webchat-page .webchat-advanced-grid .field-help{
  display:block!important;
  margin:7px 0 0!important;
  font-size:11px!important;
  line-height:1.45!important;
  color:var(--muted,#64748b)!important;
}
.nivo-webchat-page .webchat-advanced-box .input-suffix{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  align-items:stretch!important;
}
.nivo-webchat-page .webchat-advanced-box .input-suffix input{
  height:42px!important;
  border-radius:11px 0 0 11px!important;
}
.nivo-webchat-page .webchat-advanced-box .input-suffix span{
  height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 8px!important;
  border:1px solid var(--line,#dfe7ec)!important;
  border-left:0!important;
  border-radius:0 11px 11px 0!important;
  background:var(--surface2,#f8fafc)!important;
  color:var(--muted,#64748b)!important;
  font-size:11px!important;
  font-weight:800!important;
}
.nivo-webchat-page .webchat-toggle-grid{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 28px!important;
  margin:2px 0 0!important;
  padding:18px 0 0!important;
  border-top:1px solid var(--line,#dfe7ec)!important;
}
.nivo-webchat-page .webchat-advanced-box .switch-line{
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nivo-webchat-page .webchat-advanced-box .switch-label-text{
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
}
@media(max-width:760px){
  .nivo-webchat-page .webchat-advanced-box{padding-top:18px!important}
  .nivo-webchat-page .webchat-advanced-grid,
  .nivo-webchat-page .webchat-toggle-grid{grid-template-columns:1fr!important;gap:16px!important}
}

/* ZYNKO V2.31.11 · NIVO Web Chat — experiencia avanzada/editor visual final */
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-box{
  display:block!important;
  margin:22px 0 0!important;
  padding:24px 0 0!important;
  border:0!important;
  border-top:1px solid var(--line,#dfe7ec)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-head{
  display:block!important;
  margin:0 0 22px!important;
  padding:0!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-head b{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-head small{
  display:block!important;
  margin:6px 0 0!important;
  font-size:12px!important;
  line-height:1.5!important;
  color:var(--muted,#64748b)!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px 28px!important;
  padding:0!important;
  margin:0!important;
  align-items:start!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid>.field{
  display:block!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid>.field>label,
.nivo-webchat-page #webchatWidgetForm .webchat-quick-replies-label>label{
  display:block!important;
  margin:0 0 8px!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
  color:var(--text,#122033)!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid input[type="number"]{
  width:100%!important;
  height:44px!important;
  margin:0!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid .field-help{
  display:block!important;
  margin:8px 0 0!important;
  font-size:11px!important;
  line-height:1.45!important;
  color:var(--muted,#64748b)!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-quick-replies-field{
  grid-column:1/-1!important;
  margin-top:2px!important;
}
.nivo-webchat-page .webchat-quick-replies-label{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:9px!important;
}
.nivo-webchat-page .webchat-quick-replies-label>label{margin:0!important}
.nivo-webchat-page .webchat-quick-replies-label>small{
  color:var(--muted,#64748b)!important;
  font-size:10.5px!important;
  line-height:1.4!important;
  text-align:right!important;
}
.nivo-webchat-page .quick-reply-editor-shell{
  overflow:hidden!important;
  border:1px solid #d6e2e8!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(15,118,110,.025)!important;
}
.nivo-webchat-page .quick-reply-toolbar{
  min-height:48px!important;
  padding:7px 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  border-bottom:1px solid #e2e9ee!important;
  background:#f7fafb!important;
}
.nivo-webchat-page .quick-reply-toolbar button{
  min-height:34px!important;
  height:34px!important;
  padding:0 11px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#385169!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.nivo-webchat-page .quick-reply-toolbar button:hover{
  background:#e8f7f3!important;
  color:#087866!important;
  border-color:#c9ebe3!important;
}
.nivo-webchat-page .quick-reply-toolbar-divider{
  width:1px!important;
  height:22px!important;
  background:#d9e3e8!important;
  margin:0 2px!important;
}
.nivo-webchat-page .quick-reply-limit{
  margin-left:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:30px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  background:#eaf7f4!important;
  color:#087866!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
.nivo-webchat-page .quick-reply-editor{
  min-height:150px!important;
  max-height:220px!important;
  overflow:auto!important;
  padding:18px 20px!important;
  outline:0!important;
  background:#fff!important;
  color:#29445d!important;
  font-size:13.5px!important;
  line-height:1.7!important;
  white-space:pre-wrap!important;
}
.nivo-webchat-page .quick-reply-editor:empty:before{
  content:attr(data-placeholder)!important;
  color:#9aa8b7!important;
  pointer-events:none!important;
}
.nivo-webchat-page .quick-reply-editor>div{
  min-height:24px!important;
  padding:2px 0!important;
}
.nivo-webchat-page .quick-reply-status{
  min-height:38px!important;
  padding:8px 12px!important;
  border-top:1px solid #e6edf1!important;
  background:#fbfdfd!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  color:#7b8b9d!important;
  font-size:10.5px!important;
}
.nivo-webchat-page .quick-reply-status span{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.nivo-webchat-page .quick-reply-status i{color:#0aa489!important}
.nivo-webchat-page #webchatWidgetForm .webchat-toggle-grid{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px 28px!important;
  margin:0!important;
  padding:20px 0 0!important;
  border-top:1px solid var(--line,#dfe7ec)!important;
}
.nivo-webchat-page #webchatWidgetForm .webchat-advanced-box .switch-line{
  min-height:44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .nivo-webchat-page #webchatWidgetForm .webchat-advanced-grid,
  .nivo-webchat-page #webchatWidgetForm .webchat-toggle-grid{grid-template-columns:1fr!important;gap:18px!important}
  .nivo-webchat-page .webchat-quick-replies-label{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}
  .nivo-webchat-page .webchat-quick-replies-label>small{text-align:left!important}
  .nivo-webchat-page .quick-reply-toolbar button span{display:none!important}
  .nivo-webchat-page .quick-reply-toolbar button{width:34px!important;padding:0!important}
  .nivo-webchat-page .quick-reply-editor{min-height:135px!important;padding:16px!important}
  .nivo-webchat-page .quick-reply-status{align-items:flex-start!important;flex-direction:column!important}
}

/* ZYNKO V2.31.11 · Corrección final NIVO Web Chat: script seguro + rail premium */
.nivo-webchat-page .nivo-companion-card{overflow:hidden!important;background:var(--surface,#fff)!important}
.nivo-webchat-page .nivo-companion-visual{position:relative!important;height:210px!important;min-height:210px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;overflow:hidden!important;background:radial-gradient(circle at 50% 76%,rgba(20,184,166,.12),transparent 34%),linear-gradient(180deg,#fbfffe 0%,#effaf7 100%)!important}
.nivo-webchat-page .nivo-companion-visual:after{content:"";position:absolute;left:18%;right:18%;bottom:18px;height:18px;border-radius:50%;background:rgba(15,23,42,.09);filter:blur(10px);animation:nivoMascotShadow 2.8s ease-in-out infinite;pointer-events:none}
.nivo-webchat-page .nivo-mascot-glow{position:absolute;width:175px;height:175px;border-radius:50%;bottom:12px;background:rgba(20,184,166,.11);filter:blur(2px);animation:nivoMascotGlow 3s ease-in-out infinite;pointer-events:none}
.nivo-webchat-page .nivo-companion-visual img{position:relative!important;z-index:2!important;width:min(80%,240px)!important;height:205px!important;max-height:205px!important;object-fit:contain!important;object-position:center bottom!important;transform-origin:50% 88%!important;animation:nivoMascotPremiumFloat 2.8s ease-in-out infinite!important;will-change:transform!important}
@keyframes nivoMascotPremiumFloat{0%,100%{transform:translateY(10px) rotate(0deg) scale(1)}25%{transform:translateY(3px) rotate(-1.4deg) scale(1.012)}50%{transform:translateY(-5px) rotate(1.2deg) scale(1.025)}75%{transform:translateY(2px) rotate(-.8deg) scale(1.012)}}
@keyframes nivoMascotShadow{0%,100%{transform:scaleX(.88);opacity:.65}50%{transform:scaleX(1.08);opacity:.35}}
@keyframes nivoMascotGlow{0%,100%{transform:scale(.92);opacity:.55}50%{transform:scale(1.08);opacity:.95}}
.nivo-companion-status{display:grid;gap:9px;padding:14px 14px 4px;background:var(--surface,#fff)}
.nivo-status-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--line,#e2e8f0);border-radius:13px;background:var(--surface2,#f8fafc)}
.nivo-status-item>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(15,118,110,.1);color:#0f766e}
.nivo-status-item>div{min-width:0}.nivo-status-item small,.nivo-status-item b{display:block}.nivo-status-item small{font-size:10px;color:var(--muted,#64748b);margin-bottom:2px}.nivo-status-item b{font-size:11.5px;line-height:1.35;color:var(--text,#122033);white-space:normal}.nivo-status-state{color:#0f9f87;font-size:13px}
.nivo-companion-note{display:flex;align-items:flex-start;gap:10px;margin:10px 14px 14px;padding:11px 12px;border:1px solid rgba(15,118,110,.14);border-radius:13px;background:rgba(15,118,110,.055)}
.nivo-companion-note>i{margin-top:2px;color:#0f766e}.nivo-companion-note span{min-width:0}.nivo-companion-note b,.nivo-companion-note small{display:block}.nivo-companion-note b{font-size:11.5px;color:var(--text,#122033)}.nivo-companion-note small{margin-top:2px;font-size:10px;line-height:1.45;color:var(--muted,#64748b)}
.nivo-webchat-page .nivo-webchat-rail{gap:16px!important}
@media(max-width:1180px){.nivo-webchat-page .nivo-companion-visual{height:195px!important;min-height:195px!important}.nivo-webchat-page .nivo-companion-visual img{height:195px!important;max-height:195px!important}.nivo-companion-status{grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}.nivo-status-item{grid-template-columns:34px minmax(0,1fr);align-items:start}.nivo-status-item>span{width:34px;height:34px}.nivo-status-state{display:none}}
@media(max-width:760px){.nivo-companion-status{grid-template-columns:1fr}.nivo-webchat-page .nivo-companion-visual{height:190px!important;min-height:190px!important}.nivo-webchat-page .nivo-companion-visual img{height:190px!important;max-height:190px!important}}


/* ZYNKO V2.31.12 · NIVO Web Chat: RTE, rail ordenado y tooltips premium */
.nivo-webchat-page .nivo-webchat-rail{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto auto!important;
  align-content:start!important;
  align-items:start!important;
  gap:16px!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.nivo-webchat-page .nivo-webchat-rail>.webchat-preview,
.nivo-webchat-page .nivo-webchat-rail>.nivo-companion-card,
.nivo-webchat-page .nivo-webchat-rail>.nivo-rail-tools-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
  margin:0!important;
}
.nivo-webchat-page .webchat-preview{display:block!important}
.nivo-webchat-page .preview-stage{height:auto!important;min-height:390px!important;flex:none!important}
.nivo-webchat-page .preview-chat{height:auto!important;min-height:300px!important}
.nivo-webchat-page .nivo-companion-card{display:block!important}
.nivo-webchat-page .nivo-companion-visual{height:210px!important;min-height:210px!important}
.nivo-webchat-page .nivo-companion-visual img{animation:nivoMascotPremiumFloat 2.55s ease-in-out infinite!important;transform-origin:50% 88%!important;will-change:transform!important}
.nivo-webchat-page .webchat-quick-replies-field{padding-top:4px!important}
.nivo-webchat-page .webchat-quick-replies-label{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:14px!important;margin:0 0 8px!important}
.nivo-webchat-page .webchat-quick-replies-label label{margin:0!important}
.nivo-webchat-page .webchat-quick-replies-label small{font-size:11px!important;color:var(--muted,#64748b)!important;text-align:right!important}
.nivo-webchat-page .webchat-quick-rte{border:1px solid #cfe0e4!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 0 0 3px rgba(20,184,166,.035)!important}
.nivo-webchat-page .quick-rte-toolbar{min-height:48px!important;padding:7px 9px!important;background:#f7fafb!important;border-bottom:1px solid #e2e9ee!important}
.nivo-webchat-page .quick-rte-toolbar button{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:8px!important}
.nivo-webchat-page .quick-rte-toolbar button[data-editor-source]{width:auto!important;padding:0 10px!important}
.nivo-webchat-page .quick-reply-rich-editor,
.nivo-webchat-page .quick-reply-html-source{min-height:180px!important;max-height:260px!important;padding:20px 22px!important;font:13.5px/1.7 inherit!important;color:#29445d!important;background:#fff!important}
.nivo-webchat-page .quick-reply-rich-editor:empty:before{content:attr(data-placeholder);color:#9aa8b7}
.nivo-webchat-page .quick-reply-rich-editor>div,.nivo-webchat-page .quick-reply-rich-editor>p,.nivo-webchat-page .quick-reply-rich-editor>h4{margin:0 0 8px!important}
.nivo-webchat-page .quick-reply-status{min-height:40px!important;padding:8px 12px!important;border-top:1px solid #e6edf1!important;background:#fbfdfd!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#7b8b9d!important;font-size:10.5px!important}
.nivo-webchat-page .quick-reply-status span{display:inline-flex!important;align-items:center!important;gap:5px!important}
.nivo-webchat-page .quick-reply-status i{color:#0aa489!important}
.nivo-rail-tools-card{border:1px solid #dce9e6;border-radius:16px;background:var(--surface,#fff);box-shadow:0 10px 26px rgba(15,23,42,.055);overflow:hidden}
.nivo-rail-tools-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid var(--line,#e7eef0)}
.nivo-rail-tools-head>div{min-width:0}.nivo-rail-tools-head b,.nivo-rail-tools-head small{display:block}.nivo-rail-tools-head b{font-size:12.5px;color:var(--text,#122033)}.nivo-rail-tools-head b i{color:#0f766e;margin-right:5px}.nivo-rail-tools-head small{font-size:10.5px;color:var(--muted,#64748b);margin-top:3px;line-height:1.4}
.nivo-rail-tools-grid{display:grid;gap:7px;padding:12px 13px 8px}
.nivo-rail-tools-grid a{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid var(--line,#e2e8f0);border-radius:12px;background:var(--surface2,#f8fafc);color:inherit;text-decoration:none;transition:.18s ease}
.nivo-rail-tools-grid a:hover{transform:translateX(2px);border-color:rgba(15,118,110,.28);background:rgba(15,118,110,.045)}
.nivo-rail-tools-grid a>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:rgba(15,118,110,.1);color:#0f766e}.nivo-rail-tools-grid a>div{min-width:0}.nivo-rail-tools-grid a b,.nivo-rail-tools-grid a small{display:block}.nivo-rail-tools-grid a b{font-size:11.5px}.nivo-rail-tools-grid a small{font-size:10px;color:var(--muted,#64748b);margin-top:2px}.nivo-rail-tools-grid a>i{font-size:10px;color:#94a3b8}
.nivo-rail-health{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px 13px 13px}.nivo-rail-health span{padding:9px 6px;border:1px solid var(--line,#e2e8f0);border-radius:11px;background:#fff;text-align:center}.nivo-rail-health i{color:#0f766e;font-size:10px;margin-right:3px}.nivo-rail-health b{font-size:12px}.nivo-rail-health small{display:block;margin-top:2px;font-size:9px;color:var(--muted,#64748b)}
.zynko-tooltip{position:fixed;z-index:2147483000;max-width:min(280px,calc(100vw - 24px));padding:7px 10px;border-radius:8px;background:#10283a;color:#fff;font-size:11px;font-weight:700;line-height:1.35;box-shadow:0 8px 24px rgba(15,23,42,.22);pointer-events:none;opacity:0;transform:translateY(4px) scale(.98);transition:opacity .14s ease,transform .14s ease;white-space:normal;text-align:center}
.zynko-tooltip.is-visible{opacity:1;transform:translateY(0) scale(1)}
.zynko-tooltip:after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#10283a}
.zynko-tooltip[data-placement="bottom"]:after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#10283a}
@media(max-width:1180px){.nivo-webchat-page .nivo-webchat-rail{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important}.nivo-webchat-page .nivo-companion-card{height:auto!important}.nivo-webchat-page .nivo-companion-visual{height:195px!important;min-height:195px!important}}
@media(max-width:760px){.nivo-webchat-page .webchat-quick-replies-label{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}.nivo-webchat-page .webchat-quick-replies-label small{text-align:left!important}.nivo-webchat-page .quick-reply-rich-editor,.nivo-webchat-page .quick-reply-html-source{min-height:150px!important;padding:16px!important}.nivo-rail-health{grid-template-columns:1fr 1fr 1fr}.nivo-webchat-page .preview-stage{min-height:340px!important}}


/* ZYNKO V2.31.13 · Fullscreen persistente, RTE universal y cards dinámicas */
.header-public-site{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid rgba(15,118,110,.18);border-radius:12px;background:rgba(15,118,110,.07);color:#0f766e;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap;transition:.18s ease}
.header-public-site:hover{transform:translateY(-1px);background:rgba(15,118,110,.12);box-shadow:0 8px 20px rgba(15,23,42,.08)}
.fullscreen-restore-chip{position:fixed;right:18px;top:76px;z-index:2147482900;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid rgba(15,118,110,.22);border-radius:12px;background:#10283a;color:#fff;box-shadow:0 12px 30px rgba(15,23,42,.22);font-weight:800;cursor:pointer}
.zynko-rte-shell{border:1px solid #d7e3e8;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 0 0 3px rgba(15,118,110,.025);transition:border-color .18s ease,box-shadow .18s ease}
.zynko-rte-shell:focus-within{border-color:rgba(15,118,110,.42);box-shadow:0 0 0 4px rgba(20,184,166,.08)}
.zynko-rte-toolbar{min-height:46px;padding:6px 8px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:#f7fafb;border-bottom:1px solid #e4ecef}
.zynko-rte-toolbar>span{width:1px;height:24px;background:#dfe8ec;margin:0 2px}
.zynko-rte-toolbar button{width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d5e2e6;border-radius:9px;background:#eef7f5;color:#21425a;display:grid;place-items:center;cursor:pointer;transition:.15s ease}
.zynko-rte-toolbar button:hover{transform:translateY(-1px);border-color:#9dcfc6;background:#e3f3ef;color:#0f766e}
.zynko-rte-format{height:34px;min-width:120px;border:1px solid #d5e2e6;border-radius:9px;background:#fff;padding:0 10px;color:#29445d}
.zynko-rte-editor{min-height:118px;max-height:320px;overflow:auto;padding:15px 16px;color:#29445d;line-height:1.65;background:#fff;outline:0;white-space:pre-wrap}
.zynko-rte-editor:empty:before{content:attr(data-placeholder);color:#9aa8b7}
.zynko-rte-status{min-height:34px;padding:6px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e7eef1;background:#fbfdfd;color:#7b8b9d;font-size:10px}
.zynko-rte-status span{display:inline-flex;align-items:center;gap:5px}.zynko-rte-status i{color:#0f9f87}
.zynko-rte-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;padding:0!important;border:0!important}
.nivo-webchat-page .nivo-webchat-rail{grid-template-rows:auto auto minmax(0,1fr)!important;overflow:hidden!important;align-content:stretch!important}
.nivo-webchat-page .nivo-webchat-rail>.webchat-preview,.nivo-webchat-page .nivo-webchat-rail>.nivo-companion-card{align-self:start!important}
.nivo-webchat-page .nivo-webchat-rail>.nivo-rail-tools-card{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-self:stretch!important}
.nivo-webchat-page .nivo-rail-tools-grid{flex:0 0 auto!important}.nivo-webchat-page .nivo-rail-health{flex:0 0 auto!important}
.nivo-rail-flow{margin:2px 13px 8px;padding:11px;border:1px solid #dfe9ec;border-radius:13px;background:linear-gradient(135deg,#fbfefd,#f2faf8)}
.nivo-rail-flow-title{display:flex;align-items:center;gap:9px}.nivo-rail-flow-title>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(15,118,110,.1);color:#0f766e}.nivo-rail-flow-title b,.nivo-rail-flow-title small{display:block}.nivo-rail-flow-title b{font-size:11.5px}.nivo-rail-flow-title small{font-size:9.8px;color:#64748b;margin-top:2px}
.nivo-flow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}.nivo-flow-steps span{padding:8px 5px;border:1px solid #e1e9ed;border-radius:10px;background:#fff;text-align:center}.nivo-flow-steps i{display:block;margin-bottom:4px;color:#0f766e}.nivo-flow-steps b,.nivo-flow-steps small{display:block}.nivo-flow-steps b{font-size:10px}.nivo-flow-steps small{font-size:8.8px;color:#7a8a9b}
.nivo-rail-tip{margin:0 13px 13px;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;border:1px solid rgba(245,158,11,.2);border-radius:13px;background:rgba(245,158,11,.06);margin-top:auto}.nivo-rail-tip>i{margin-top:2px;color:#d97706}.nivo-rail-tip b,.nivo-rail-tip small{display:block}.nivo-rail-tip b{font-size:10.8px}.nivo-rail-tip small{font-size:9.5px;line-height:1.45;color:#64748b;margin-top:2px}
.nivo-webchat-page .nivo-companion-visual img{animation:nivoRobotAlive 3s ease-in-out infinite!important;filter:drop-shadow(0 14px 14px rgba(15,118,110,.16))}
.nivo-webchat-page .nivo-mascot-glow{animation:nivoGlowAlive 2.8s ease-in-out infinite!important}
@keyframes nivoRobotAlive{0%,100%{transform:translateY(8px) rotate(-1deg)}35%{transform:translateY(-4px) rotate(1.4deg)}70%{transform:translateY(2px) rotate(.2deg)}}
@keyframes nivoGlowAlive{0%,100%{transform:scale(.9);opacity:.38}50%{transform:scale(1.12);opacity:.8}}
.nivo-rail-tools-card{position:relative;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.nivo-rail-tools-card:before{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:rgba(20,184,166,.055);transition:transform .35s ease}.nivo-rail-tools-card:hover{transform:translateY(-2px);border-color:rgba(15,118,110,.28);box-shadow:0 16px 34px rgba(15,23,42,.09)}.nivo-rail-tools-card:hover:before{transform:scale(1.22)}
.panel,.record-card,.integration-card,.nivo-list-row,.source,.tenant-plan-row,.api-key-row,.channel-card,.plan-card,.free-plan-summary>div,.social-admin-card,.onboarding-step,.subscription-summary-card,.company-card,.webchat-kpi,.nivo-companion-card,.webchat-preview{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
@media (hover:hover) and (pointer:fine){.panel:hover,.record-card:hover,.integration-card:hover,.nivo-list-row:hover,.source:hover,.tenant-plan-row:hover,.api-key-row:hover,.channel-card:hover,.plan-card:hover,.free-plan-summary>div:hover,.social-admin-card:hover,.onboarding-step:hover,.subscription-summary-card:hover,.company-card:hover,.webchat-kpi:hover,.nivo-companion-card:hover,.webchat-preview:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.085);border-color:rgba(15,118,110,.2)}}
@media(max-width:1180px){.nivo-webchat-page .nivo-webchat-rail{height:auto!important;overflow:visible!important;grid-template-rows:auto auto auto!important}.nivo-webchat-page .nivo-webchat-rail>.nivo-rail-tools-card{height:auto!important}.header-public-site span{display:none}.header-public-site{width:38px;padding:0;justify-content:center}}
@media(max-width:760px){.zynko-rte-toolbar{gap:4px}.zynko-rte-format{width:100%;margin-bottom:2px}.zynko-rte-editor{min-height:104px}.fullscreen-restore-chip{right:10px;left:10px;top:68px;justify-content:center}}
@media(prefers-reduced-motion:reduce){.panel,.record-card,.integration-card,.nivo-list-row,.source,.tenant-plan-row,.api-key-row,.channel-card,.plan-card,.company-card,.webchat-kpi,.nivo-companion-card,.webchat-preview,.nivo-rail-tools-card,.nivo-webchat-page .nivo-companion-visual img,.nivo-webchat-page .nivo-mascot-glow{animation:none!important;transition:none!important;transform:none!important}}


/* ZYNKO V2.31.14 · Fullscreen estable por shell */
#zynkoFullscreenFrame{position:fixed;inset:0;width:100vw;height:100dvh;min-width:100vw;min-height:100dvh;border:0;background:var(--bg,#f4f7fb);z-index:2147483000;display:block;overflow:hidden}
html.zynko-fullscreen-shell-root,html.zynko-fullscreen-shell-root body{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important;overscroll-behavior:none!important}
body.zynko-fullscreen-shell{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
body.zynko-fullscreen-shell>.app{display:none!important}
body.zynko-fullscreen-shell>#zynkoFullscreenFrame{display:block!important}


/* ZYNKO V2.31.15 · NIVO IA + Empresas refinado */
#behavior .nivo-omnichannel-box{
  margin:18px 0 4px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #cfe3de!important;
  border-radius:18px!important;
  background:#fbfefd!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
}
#behavior .nivo-omnichannel-head{
  margin:0!important;
  padding:18px 20px 16px!important;
  border-bottom:1px solid #dce9e5!important;
  background:linear-gradient(180deg,#fcfffe 0%,#f7fcfa 100%)!important;
}
#behavior .nivo-channel-pills{
  margin:0!important;
  padding:18px 20px!important;
  border:0!important;
  border-bottom:1px solid #e3ece9!important;
  background:#fff!important;
  gap:10px!important;
}
#behavior .nivo-policy-grid{
  margin:0!important;
  padding:18px 20px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 18px!important;
  border:0!important;
  border-bottom:1px solid #e3ece9!important;
  background:#fbfdfd!important;
}
#behavior .nivo-omnichannel-box .nivo-policy-grid .switch-line{
  min-height:50px!important;
  padding:10px 12px!important;
  border:1px solid #deebe7!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(15,23,42,.025)!important;
}
#behavior .nivo-policy-numbers{
  margin:0!important;
  padding:18px 20px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 22px!important;
  border:0!important;
  background:#fff!important;
}
#behavior .nivo-policy-numbers>.field{
  padding:0!important;
  min-height:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#behavior .nivo-policy-numbers>.field label{margin-bottom:6px!important}
#behavior .nivo-omnichannel-box>.field-help{
  display:block!important;
  margin:0 20px 18px!important;
  padding:11px 13px!important;
  border:1px solid rgba(15,118,110,.12)!important;
  border-radius:12px!important;
  background:rgba(15,118,110,.055)!important;
  line-height:1.45!important;
}
.company-kpis article{
  position:relative;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.company-kpis article:after{
  content:"";
  position:absolute;
  width:72px;height:72px;
  right:-24px;bottom:-28px;
  border-radius:50%;
  background:rgba(15,118,110,.045);
  transition:transform .25s ease,opacity .25s ease;
}
.company-kpis article>span{transition:transform .2s ease,background .2s ease,color .2s ease!important}
@media (hover:hover) and (pointer:fine){
  .company-kpis article:hover{transform:translateY(-4px);border-color:rgba(15,118,110,.25);box-shadow:0 16px 34px rgba(15,23,42,.09)}
  .company-kpis article:hover>span{transform:translateY(-2px) scale(1.06);background:rgba(15,118,110,.15)}
  .company-kpis article:hover:after{transform:scale(1.25);opacity:.9}
}
.company-directory-actions{display:flex;align-items:center;gap:10px!important}
.company-export-btn{
  min-width:142px!important;
  height:48px!important;
  padding:6px 11px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:9px!important;
  border:1px solid #d9e6e2!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#142437!important;
  text-decoration:none!important;
  box-shadow:0 6px 16px rgba(15,23,42,.035)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.company-export-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;font-size:16px}
.company-export-btn.excel .company-export-icon{background:#e8f7ef;color:#12824f}
.company-export-btn.pdf .company-export-icon{background:#fff0ee;color:#c43d35}
.company-export-copy{display:grid;gap:1px;min-width:0;text-align:left}
.company-export-copy b{font-size:12px;line-height:1.15}
.company-export-copy small{font-size:9px;color:#75879a;white-space:nowrap}
.company-export-arrow{font-size:10px;color:#92a2b1;transition:transform .18s ease}
@media (hover:hover) and (pointer:fine){
  .company-export-btn:hover{transform:translateY(-2px);border-color:#bcd9d2!important;box-shadow:0 12px 24px rgba(15,23,42,.08)!important}
  .company-export-btn:hover .company-export-arrow{transform:translateY(2px)}
}
.company-show-count{gap:8px!important}
.company-mini-select{min-width:112px!important;padding-right:30px!important}
@media(max-width:900px){
  #behavior .nivo-policy-grid,#behavior .nivo-policy-numbers{grid-template-columns:1fr!important}
  .company-export-btn{min-width:0!important;flex:1 1 150px}
}
@media(max-width:700px){
  #behavior .nivo-omnichannel-head,#behavior .nivo-channel-pills,#behavior .nivo-policy-grid,#behavior .nivo-policy-numbers{padding-left:14px!important;padding-right:14px!important}
  #behavior .nivo-omnichannel-box>.field-help{margin-left:14px!important;margin-right:14px!important}
  .company-kpis article:hover{transform:none!important}
}


/* ZYNKO V2.31.16 · Integraciones compactas + copiar + alineación Bandeja */
.api-doc-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;align-items:start}
.api-doc-column{display:grid;gap:14px;align-content:start;min-width:0}
.api-doc-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);align-self:start}
.api-doc-title{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center!important;gap:10px!important}
.api-copy-btn,.api-copy-mini{border:1px solid #cfe0df;background:#fff;color:#0f766e;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800;cursor:pointer;transition:.18s ease}
.api-copy-btn{height:36px;padding:0 11px;font-size:11px}
.api-copy-mini{height:30px;padding:0 9px;font-size:10px}
.api-copy-btn:hover,.api-copy-mini:hover,.api-copy-btn.copied,.api-copy-mini.copied{background:#eaf8f5;border-color:#72cabb;transform:translateY(-1px)}
.api-subhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0 8px}
.api-subhead>b{font-size:11px}
.api-doc-card pre{max-width:100%;overflow:auto;margin:0;padding:13px;border-radius:12px;background:#0f172a;color:#d9f9f1;line-height:1.5;font-size:11px;white-space:pre}
.api-doc-card .api-doc-warning{margin-top:12px}
body:has(.inbox-premium-toolbar) .inbox-reset-field{display:grid;grid-template-rows:auto 40px;gap:5px;align-self:end;min-width:0}
body:has(.inbox-premium-toolbar) .inbox-filter-label-spacer{display:block;font-size:10px;font-weight:800;line-height:1.2;visibility:hidden}
body:has(.inbox-premium-toolbar) .inbox-reset-field .clear-inbox-filters{height:40px!important;min-height:40px!important;align-self:stretch!important;margin:0!important}
@media(max-width:900px){.api-doc-columns{grid-template-columns:1fr}.api-doc-title{grid-template-columns:auto minmax(0,1fr) auto}.api-doc-column{gap:12px}}
@media(max-width:1050px){body:has(.inbox-premium-toolbar) .inbox-reset-field{grid-column:1/-1;grid-template-rows:40px}.inbox-filter-label-spacer{display:none!important}.inbox-reset-field .clear-inbox-filters{width:100%!important}}


/* ZYNKO V2.31.17 · Edición NIVO, espaciado de iconos, exportes y copiar */
.nivo-list-row{grid-template-columns:minmax(0,1fr) auto auto!important}
.nivo-row-actions{display:flex!important;align-items:center;gap:8px!important}
.nivo-row-actions .icon-btn{flex:0 0 38px!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important}
.upload-zone{column-gap:10px!important;row-gap:7px!important}
.upload-zone>i{margin:0 4px 0 0!important}
.upload-zone>i+b,.upload-zone>i+span{margin-left:4px!important}
.compact-upload{gap:10px!important}
.search-wrap>i,.company-filter-search>i,.company-directory-search>i{margin-right:8px!important}
button>i:first-child,a>i:first-child,.primary>i:first-child,.soft>i:first-child,.secondary-action>i:first-child,.danger-btn>i:first-child{margin-right:2px}
.embed-box{gap:14px 16px!important;padding:18px!important}
.embed-copy-head{grid-column:1/-1!important;display:grid!important;gap:5px!important;padding-bottom:2px!important}
.embed-copy-head b{display:block!important;font-size:13px!important;line-height:1.3!important}
.embed-copy-head small{display:block!important;color:var(--muted,#64748b)!important;line-height:1.5!important;margin:0!important}
.embed-box code{min-height:46px!important;display:flex!important;align-items:center!important}
.users-record-toolbar{align-items:center!important}
.users-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}
.users-toolbar-actions .search-wrap{min-width:280px;flex:1 1 320px}
.users-toolbar-actions .company-export-btn{flex:0 0 auto}
.company-export-btn{border:1px solid #dce7e4!important;background:#fff!important;color:#102235!important;box-shadow:0 6px 18px rgba(15,23,42,.04)!important}
.company-export-btn .company-export-copy{display:grid!important;gap:1px!important;text-align:left!important;line-height:1.1!important}
.company-export-btn .company-export-copy b{font-size:12px!important}
.company-export-btn .company-export-copy small{font-size:9px!important;color:#708096!important;font-weight:650!important}
.company-export-btn .company-export-icon{width:31px!important;height:31px!important;border-radius:9px!important;display:grid!important;place-items:center!important;flex:0 0 31px!important}
.company-export-btn .company-export-arrow{margin-left:3px!important;color:#8a99a8!important;font-size:10px!important;transition:.18s ease!important}
@media(hover:hover){.company-export-btn:hover{transform:translateY(-2px)!important;box-shadow:0 12px 25px rgba(15,23,42,.08)!important}.company-export-btn:hover .company-export-arrow{transform:translateY(2px)!important}}
@media(max-width:900px){.users-record-toolbar{align-items:stretch!important}.users-toolbar-actions{width:100%;justify-content:stretch}.users-toolbar-actions .search-wrap{width:100%;flex:1 1 100%}.users-toolbar-actions .company-export-btn{flex:1 1 150px!important}}
@media(max-width:760px){.nivo-list-row{grid-template-columns:minmax(0,1fr) auto!important}.nivo-row-actions{grid-column:2;grid-row:1/3;align-self:center;flex-direction:column}.users-toolbar-actions .company-export-btn{flex:1 1 100%!important}}



/* ZYNKO V2.31.18 · NIVO IA polish */
/* Las cuatro etapas superiores dejan de sentirse estáticas, sin alterar su estructura. */
.nivo-ai-flow>span{position:relative;overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;will-change:transform}
.nivo-ai-flow>span:after{content:"";position:absolute;inset:auto -28% -70% auto;width:88px;height:88px;border-radius:50%;background:rgba(15,157,132,.07);transition:transform .25s ease,opacity .25s ease;opacity:.65;pointer-events:none}
.nivo-ai-flow>span:hover{transform:translateY(-4px);border-color:#9dd8cc;background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.09)}
.nivo-ai-flow>span:hover:after{transform:scale(1.35);opacity:1}
.nivo-ai-flow>span>i{transition:transform .22s ease,box-shadow .22s ease}
.nivo-ai-flow>span:hover>i{transform:translateY(-1px) rotate(-3deg) scale(1.06);box-shadow:0 8px 18px rgba(13,128,107,.16)}

/* OpenAI: switch y texto siempre en una sola composición horizontal y legible. */
#external-ai .nivo-provider-toggle-field{align-items:flex-start!important}
#external-ai .nivo-provider-toggle{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:62px!important;padding:12px 14px!important;border:1px solid var(--line,#dfe6ef)!important;border-radius:14px!important;background:var(--surface2,#f8fafc)!important}
#external-ai .nivo-provider-toggle .switch-control{flex:0 0 40px!important;margin:0!important}
#external-ai .nivo-provider-toggle .switch-label-text{display:grid!important;gap:3px!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important;margin:0!important}
#external-ai .nivo-provider-toggle .switch-label-text b{font-size:13px;line-height:1.3;color:var(--text,#122033)}
#external-ai .nivo-provider-toggle .switch-label-text small{display:block;font-size:11.5px;line-height:1.4;color:var(--muted,#64748b);font-weight:500}

/* Playground: select en su propia fila, RTE debajo y resultado al final. */
#playground .nivo-playground-stacked{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
#playground .nivo-playground-solution,#playground .nivo-playground-message,#playground .nivo-test-result{grid-column:1/-1!important;width:100%!important}
#playground .nivo-playground-message .zynko-rte-shell{width:100%!important}
#playground .nivo-playground-message .zynko-rte-editor{min-height:150px!important}
#playground .nivo-test-result{min-height:96px!important}

/* Switches en modal: el control inicia a la izquierda y su label queda inmediatamente al lado. */
#ruleModal .rule-active-field{align-items:flex-start!important}
#ruleModal .rule-active-switch{width:max-content!important;max-width:100%!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;min-height:44px!important;padding:8px 0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
#ruleModal .rule-active-switch .switch-control{order:0!important;flex:0 0 40px!important;margin:0!important}
#ruleModal .rule-active-switch .switch-label-text{order:1!important;flex:0 1 auto!important;white-space:nowrap!important;margin:0!important;text-align:left!important}

@media(prefers-reduced-motion:reduce){.nivo-ai-flow>span,.nivo-ai-flow>span>i,.nivo-ai-flow>span:after{transition:none!important;transform:none!important}}

/* ZYNKO V2.31.19 · NIVO IA, directorios, Open Graph, integraciones y planes */
.ai-status-card,.nivo-external-flow>span,.api-flow-grid>.api-flow-card{
  position:relative;overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
  will-change:transform;
}
.ai-status-card:after,.nivo-external-flow>span:after,.api-flow-grid>.api-flow-card:after{
  content:"";position:absolute;right:-34px;bottom:-44px;width:92px;height:92px;border-radius:50%;
  background:rgba(15,157,132,.065);opacity:.6;transition:transform .25s ease,opacity .25s ease;pointer-events:none;
}
@media(hover:hover){
  .ai-status-card:hover,.nivo-external-flow>span:hover,.api-flow-grid>.api-flow-card:hover{
    transform:translateY(-4px);border-color:#a8d9cf!important;background:#fff!important;box-shadow:0 14px 30px rgba(15,23,42,.085)!important;
  }
  .ai-status-card:hover:after,.nivo-external-flow>span:hover:after,.api-flow-grid>.api-flow-card:hover:after{transform:scale(1.35);opacity:1}
  .ai-status-card:hover>span{transform:rotate(-3deg) scale(1.06)}
}
.ai-status-card>span{transition:transform .2s ease}

/* Directorios: toolbar premium en una sola línea y vistas detalle/miniatura */
.users-record-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:nowrap!important}
.users-record-toolbar>label,.users-show-count{flex:0 0 auto;white-space:nowrap}
.users-toolbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:nowrap!important;flex:1 1 auto!important;min-width:0}
.users-toolbar-actions .search-wrap{flex:1 1 320px!important;min-width:220px!important;max-width:none!important}
.users-toolbar-actions .company-export-btn{flex:0 0 auto!important;min-width:132px!important}
.directory-view-toggle{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #dce7e4;border-radius:12px;background:#f7faf9;flex:0 0 auto}
.directory-view-btn{height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:#607286;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;cursor:pointer;transition:.18s ease}
.directory-view-btn:hover{background:#eef7f4;color:#0d806b}
.directory-view-btn.active{background:#0f8f78;color:#fff;box-shadow:0 5px 12px rgba(15,143,120,.16)}
.users-directory-list.view-detail{display:flex;flex-direction:column;gap:10px}
.users-directory-list.view-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.users-directory-list.view-mini .user-card{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'avatar copy actions' 'avatar role actions' 'avatar status actions';align-items:center;gap:8px 11px;padding:14px;border:1px solid #dfe8ec;border-radius:16px;background:#fff;min-width:0}
.users-directory-list.view-mini .user-avatar-wrap{grid-area:avatar}
.users-directory-list.view-mini .grow{grid-area:copy;min-width:0}
.users-directory-list.view-mini .grow b,.users-directory-list.view-mini .grow small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.users-directory-list.view-mini .ui-badge.role{grid-area:role;justify-self:start}.users-directory-list.view-mini .ui-badge:not(.role){grid-area:status;justify-self:start}
.users-directory-list.view-mini .user-action-wrap{grid-area:actions}
.users-directory-list.view-mini .user-action-toggle{font-size:0!important;width:38px!important;min-width:38px!important;padding:0!important;justify-content:center!important}
.users-directory-list.view-mini .user-action-toggle .fa-ellipsis{font-size:13px!important}.users-directory-list.view-mini .user-action-toggle .action-chevron{display:none!important}
.directory-empty-state{margin:18px 0 0;min-height:210px;border:1px dashed #cbd9e2;border-radius:18px;background:#fbfcfd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:#6b7e91;padding:24px}
.directory-empty-state[hidden]{display:none!important}.directory-empty-state>span{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#eaf7f4;color:#0c8c75;font-size:18px}.directory-empty-state b{color:#193047}.directory-empty-state small{max-width:520px;line-height:1.45}

.company-directory-actions{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;min-width:0}
.company-directory-actions .company-directory-search{flex:1 1 320px;min-width:240px}
.company-directory-actions .company-export-btn{flex:0 0 auto!important}
.company-grid.view-detail{grid-template-columns:repeat(2,minmax(0,1fr))}
.company-grid.view-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
.company-grid.view-mini .company-card-body{grid-template-columns:1fr;padding:12px 14px;gap:10px}
.company-grid.view-mini .company-owner{display:none}.company-grid.view-mini .company-plan-summary{grid-column:1/-1}.company-grid.view-mini .company-stat-row{grid-template-columns:repeat(3,1fr);gap:6px}.company-grid.view-mini .company-stat-row span{padding:8px 6px}.company-grid.view-mini .company-card-actions{grid-template-columns:repeat(3,1fr);padding:0 14px 12px;gap:6px}.company-grid.view-mini .company-card-actions button{font-size:10px;padding:0 7px}.company-grid.view-mini .company-created{font-size:.68rem;padding:8px 14px}

/* Open Graph locale selector help */
#seoForm .field-help b{font-weight:900;color:#0f766e}

/* Planes: 1 = 100%, 2 = 50/50, 3+ = máximo 3 por fila */
.billing-panel .plan-grid{display:grid!important;gap:14px!important;align-items:stretch!important}
.billing-panel .plan-grid.plan-count-1{grid-template-columns:minmax(0,1fr)!important}
.billing-panel .plan-grid.plan-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.billing-panel .plan-grid.plan-count-3plus{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.billing-panel .plan-grid>.plan-card{width:100%!important;max-width:none!important;height:100%!important}

@media(max-width:1300px){
  .users-toolbar-actions .company-export-copy small{display:none!important}
  .users-toolbar-actions .company-export-btn{min-width:102px!important}
  .company-grid.view-mini{grid-template-columns:repeat(2,minmax(0,1fr))}
  .billing-panel .plan-grid.plan-count-3plus{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1050px){
  .users-record-toolbar{flex-wrap:wrap!important;align-items:stretch!important}
  .users-toolbar-actions{width:100%;flex-wrap:wrap!important;justify-content:stretch!important}
  .users-toolbar-actions .search-wrap{flex:1 1 100%!important;max-width:none!important}
  .users-toolbar-actions .company-export-btn{flex:1 1 130px!important}
  .directory-view-toggle{flex:0 0 auto}
  .company-directory-actions{flex-wrap:wrap!important;width:100%}.company-directory-actions .company-directory-search{flex:1 1 100%;max-width:none}
}
@media(max-width:760px){
  .users-directory-list.view-mini,.company-grid.view-mini,.company-grid.view-detail{grid-template-columns:1fr!important}
  .directory-view-btn span{display:none}.directory-view-btn{width:36px;justify-content:center;padding:0}
  .billing-panel .plan-grid.plan-count-2,.billing-panel .plan-grid.plan-count-3plus{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.ai-status-card,.nivo-external-flow>span,.api-flow-grid>.api-flow-card,.ai-status-card>span{transition:none!important;transform:none!important}}


/* ZYNKO V2.31.20 · Dashboard + directorios + canales premium */
/* Uploads: icono, acción y ayuda nunca deben quedar pegados. */
.upload-zone{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;text-align:center!important;padding:18px!important}
.upload-zone-main{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;line-height:1.25!important}
.upload-zone-main>i{margin:0!important;flex:0 0 auto!important}.upload-zone-main>b{margin:0!important}.upload-zone>small{display:block!important;margin:0!important;line-height:1.45!important;color:var(--muted,#64748b)!important}
.compact-upload{min-height:112px!important}
/* Usuarios: KPI -> filtros -> directorio. */
.users-kpis{margin:0 0 16px!important}.users-filter-panel{margin:0 0 16px!important;padding:16px 18px!important}.users-filter-grid{display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) auto;gap:14px;align-items:end}.users-filter-clear{height:42px!important;white-space:nowrap!important}.users-directory-panel{overflow:visible!important}.users-directory-list{overflow:visible!important}
.users-record-toolbar{padding:16px 18px!important;border-bottom:1px solid #e4ecef!important}.users-toolbar-actions{display:flex!important;align-items:center!important;gap:9px!important;flex:1 1 auto!important;min-width:0!important}.users-toolbar-actions .search-wrap{flex:1 1 360px!important;min-width:240px!important;max-width:none!important}.users-toolbar-actions .company-export-btn{flex:0 0 auto!important}
.users-directory-list.view-mini .user-card{position:relative!important;overflow:visible!important}.users-directory-list.view-mini .user-action-menu{right:0!important;left:auto!important;top:calc(100% + 8px)!important;width:285px!important;z-index:2200!important}.users-directory-list.view-mini .user-action-wrap.open{z-index:2201!important}
/* Empresas: acciones miniatura en droplist y orden lineal del toolbar. */
.company-directory-toolbar{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:nowrap!important}.company-directory-tools{flex:0 0 auto!important}.company-directory-actions{flex:1 1 auto!important;min-width:0!important}.company-mini-action-toggle{display:none!important}.company-mini-action-menu{display:contents}.company-grid.view-mini .company-card{overflow:visible!important;position:relative!important}.company-grid.view-mini .company-card-actions{display:block!important;position:relative!important;padding:0 14px 12px!important}.company-grid.view-mini .company-mini-action-toggle{display:flex!important;width:100%!important;justify-content:center!important;gap:8px!important}.company-grid.view-mini .company-mini-action-menu{display:none;position:absolute;right:14px;top:calc(100% - 5px);z-index:2200;width:240px;padding:8px;border:1px solid #dce7e4;border-radius:14px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.16)}.company-grid.view-mini .company-card-actions.open .company-mini-action-menu{display:grid;gap:6px}.company-grid.view-mini .company-mini-action-menu button{width:100%!important;justify-content:flex-start!important;font-size:12px!important;min-height:38px!important}.company-grid.view-mini .company-card-actions.open{z-index:2201!important}
/* Dashboard: jerarquía más ejecutiva y canales legibles. */
.dashboard-summary-kpis>article,.analytics-kpi,.dashboard-channel-item{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dashboard-summary-kpis>article{min-height:96px!important;background:linear-gradient(180deg,#fff,#fbfdfd)!important}.dashboard-grid>.panel,.dashboard-attention-panel,.site-analytics-panel{border-radius:18px!important}.dashboard-channel-list{display:grid;gap:10px}.dashboard-channel-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 13px;border:1px solid #dfe8ec;border-radius:14px;background:#fbfdfd}.dashboard-channel-icon{width:40px;height:40px;border-radius:12px;background:#eaf8f4;color:#078b76;display:grid;place-items:center;font-size:17px}.dashboard-channel-item>div{min-width:0}.dashboard-channel-item b,.dashboard-channel-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-channel-item small{margin-top:3px;color:#6b7d90;font-size:11px}.dashboard-channel-item .status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;background:#f1f5f9;color:#64748b}.dashboard-channel-item .status.ok{background:#eaf8f4;color:#08705c}.dashboard-channel-item .status i{font-size:6px}.analytics-head-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.analytics-range-btn{display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:0 12px!important;border-radius:11px!important}.analytics-range-btn i{font-size:12px!important}
@media(hover:hover) and (pointer:fine){.dashboard-summary-kpis>article:hover,.analytics-kpi:hover,.dashboard-channel-item:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(15,23,42,.09);border-color:rgba(15,118,110,.22)}}
/* Canales: 3 por fila en escritorio y altura uniforme suficiente para el texto. */
.channel-cards.channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr!important;align-items:stretch!important}.channel-cards.channel-grid>.channel-card.channel-tile{height:272px!important;min-height:272px!important;max-height:272px!important;width:100%!important;padding:20px!important;gap:15px!important}.channel-tile-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden!important;line-height:1.55!important}.channel-tile-actions .soft{min-height:42px!important}
@media(max-width:1180px){.channel-cards.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.users-filter-grid{grid-template-columns:1fr 1fr}.users-filter-clear{grid-column:1/-1;justify-self:end}.company-directory-toolbar{flex-wrap:wrap!important}.company-directory-actions{width:100%!important}.users-record-toolbar{flex-wrap:wrap!important}.users-toolbar-actions{width:100%!important}}
@media(max-width:760px){.channel-cards.channel-grid{grid-template-columns:1fr!important}.channel-cards.channel-grid>.channel-card.channel-tile{height:auto!important;min-height:238px!important;max-height:none!important}.users-filter-grid{grid-template-columns:1fr}.users-filter-clear{grid-column:auto;width:100%!important}.users-toolbar-actions{flex-wrap:wrap!important}.users-toolbar-actions .search-wrap{flex:1 1 100%!important;min-width:0!important}.users-toolbar-actions .directory-view-toggle{order:2}.users-toolbar-actions .company-export-btn{flex:1 1 140px!important}.company-directory-actions{flex-wrap:wrap!important}.company-directory-search{flex:1 1 100%!important;min-width:0!important}.company-grid.view-mini .company-mini-action-menu{left:0!important;right:auto!important;width:min(260px,calc(100vw - 60px))!important}}
@media(prefers-reduced-motion:reduce){.dashboard-summary-kpis>article,.analytics-kpi,.dashboard-channel-item{transition:none!important;transform:none!important}}

/* ZYNKO V2.31.21 · Exportes XLSX/PDF + directorios consistentes */
.users-directory-list.view-mini .user-action-toggle{
  width:auto!important;min-width:108px!important;padding:0 12px!important;font-size:11px!important;gap:7px!important;white-space:nowrap!important;
}
.users-directory-list.view-mini .user-action-toggle span{display:inline!important;font-size:11px!important;font-weight:800!important}
.users-directory-list.view-mini .user-action-toggle .fa-list-check{font-size:12px!important}
.users-directory-list.view-mini .user-action-toggle .action-chevron{display:inline-block!important;font-size:9px!important}
.company-grid.view-mini .company-mini-action-toggle{display:flex!important;min-height:38px!important;background:#0e2a3d!important;color:#fff!important;border-color:#0e2a3d!important}
.company-grid.view-mini .company-mini-action-toggle .fa-list-check{font-size:12px!important}
.company-grid.view-mini .company-mini-action-menu{top:calc(100% + 5px)!important}
.company-grid.view-mini .company-card-actions{overflow:visible!important}
.company-grid.view-mini .company-card{overflow:visible!important}
.billing-kpis{margin-bottom:16px!important}
.billing-filter-panel{margin-bottom:16px!important;padding:16px 18px!important}
.billing-directory-panel{overflow:visible!important}
.billing-record-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:nowrap!important;padding:16px 18px!important;border-bottom:1px solid #e4ecef!important}
.billing-record-toolbar>.users-show-count{flex:0 0 auto!important}
.billing-record-toolbar .users-toolbar-actions{display:flex!important;align-items:center!important;gap:9px!important;flex:1 1 auto!important;min-width:0!important}
.billing-record-toolbar .search-wrap{flex:1 1 340px!important;min-width:220px!important}
.billing-plan-directory.view-detail{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.billing-plan-directory.view-mini{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.billing-plan-directory.view-mini .plan-card{padding:16px!important;min-height:220px!important}
.billing-plan-directory.view-mini .plan-limits{grid-template-columns:1fr 1fr!important;gap:7px!important}
.billing-plan-directory.view-mini .plan-features{max-height:78px!important;overflow:hidden!important}
.billing-empty-state{grid-column:1/-1!important}
.billing-directory-footer{margin:0!important}
@media(max-width:1180px){.billing-record-toolbar{flex-wrap:wrap!important}.billing-record-toolbar .users-toolbar-actions{width:100%!important}.billing-plan-directory.view-detail,.billing-plan-directory.view-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.billing-record-toolbar .users-toolbar-actions{flex-wrap:wrap!important}.billing-record-toolbar .search-wrap{flex:1 1 100%!important;min-width:0!important}.billing-plan-directory.view-detail,.billing-plan-directory.view-mini{grid-template-columns:1fr!important}.users-directory-list.view-mini .user-action-toggle{min-width:96px!important}}
.company-directory-shell{overflow:visible!important}
.users-directory-panel .user-action-wrap,.company-directory-shell .company-card-actions{position:relative!important}
.user-action-menu,.company-mini-action-menu{box-shadow:0 18px 42px rgba(15,23,42,.18)!important}
/* Miniatura: acciones visibles como dropdown, no icono aislado */
.users-directory-list.view-mini .user-card{grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:'avatar copy' 'avatar role' 'avatar status' 'actions actions'!important}
.users-directory-list.view-mini .user-action-wrap{grid-area:actions!important;width:100%!important;margin-top:4px!important}
.users-directory-list.view-mini .user-action-toggle{width:100%!important;min-width:0!important;justify-content:center!important;background:#0e2a3d!important;color:#fff!important;border-color:#0e2a3d!important}
.users-directory-list.view-mini .user-action-menu{left:0!important;right:0!important;top:calc(100% + 7px)!important;width:100%!important;min-width:250px!important}


/* ZYNKO V2.31.22 · Meta authorization + export compatibility */
.meta-requirement-strong{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;padding:20px 22px!important;border:1px solid #f2c46d!important;border-left:5px solid #f59e0b!important;background:linear-gradient(135deg,#fffaf0 0%,#fff 58%,#f7fcfb 100%)!important;box-shadow:0 12px 34px rgba(120,82,15,.08)!important}
.meta-requirement-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:#fff2cc;color:#b45309;font-size:28px;box-shadow:inset 0 0 0 1px #f4cf86}
.meta-requirement-content{min-width:0;display:grid;gap:14px}.meta-requirement-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.meta-requirement-title>div{display:grid;gap:4px}.meta-requirement-title b{font-size:16px;color:#7c2d12}.meta-requirement-title small{color:#6b7280;line-height:1.45}.meta-required-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#fff1cf;border:1px solid #f4ca70;color:#92400e;font-size:12px;font-weight:800}
.meta-requirement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.meta-requirement-grid>div{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid #ecdcae;border-radius:13px;background:rgba(255,255,255,.82)}.meta-requirement-grid>div>i{margin-top:2px;color:#0f766e}.meta-requirement-grid span{display:grid;gap:3px}.meta-requirement-grid b{font-size:12px;color:#172033}.meta-requirement-grid small{font-size:11px;line-height:1.4;color:#64748b}
@media(max-width:900px){.meta-requirement-strong{grid-template-columns:1fr!important}.meta-requirement-icon{width:48px;height:48px}.meta-requirement-title{flex-direction:column}.meta-requirement-grid{grid-template-columns:1fr}}


/* ZYNKO V2.31.23 · Usuarios: dropdown inteligente + exportación estable */
.users-directory-list.view-mini .user-action-wrap{position:relative!important;width:100%!important;overflow:visible!important}
.users-directory-list.view-mini .user-action-toggle{width:100%!important;min-height:38px!important;justify-content:center!important;border-radius:11px!important;background:#0e2a3d!important;color:#fff!important;border:1px solid #0e2a3d!important;padding:0 14px!important}
.users-directory-list.view-mini .user-action-toggle:hover{background:#12364e!important;border-color:#12364e!important}
.user-action-menu.user-menu-smart{position:fixed!important;left:var(--zynko-menu-left,auto)!important;right:auto!important;top:var(--zynko-menu-top,auto)!important;bottom:auto!important;width:300px!important;max-width:calc(100vw - 24px)!important;max-height:min(420px,calc(100vh - 24px))!important;overflow:auto!important;z-index:10050!important;display:grid!important;gap:4px!important;padding:8px!important;border:1px solid #dce7e4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 22px 55px rgba(15,23,42,.22)!important}
.user-action-menu.user-menu-smart[data-placement^="top"]{transform-origin:bottom center}
.user-action-menu.user-menu-smart[data-placement^="bottom"]{transform-origin:top center}
.user-action-menu.user-menu-smart button{width:100%!important;min-height:52px!important;justify-content:flex-start!important;text-align:left!important;border-radius:11px!important}
.theme-dark .user-action-menu.user-menu-smart{background:#0f1d2b!important;border-color:#284054!important}


/* ZYNKO V2.31.24 · Empresas detalle/miniatura + acciones inteligentes */
.company-grid.view-detail{grid-template-columns:1fr!important;gap:14px!important}
.company-grid.view-detail .company-card{display:grid!important;grid-template-columns:minmax(260px,1.15fr) minmax(420px,1.7fr) minmax(180px,.65fr)!important;grid-template-areas:'top body actions' 'created created created'!important;align-items:stretch!important;overflow:visible!important}
.company-grid.view-detail .company-card-top{grid-area:top!important;border-bottom:0!important;border-right:1px solid var(--line)!important;min-height:142px!important;align-content:center!important}
.company-grid.view-detail .company-card-body{grid-area:body!important;grid-template-columns:minmax(190px,1.1fr) minmax(190px,1fr)!important;align-content:center!important;border-right:1px solid var(--line)!important;padding:14px 16px!important}
.company-grid.view-detail .company-stat-row{grid-column:1/-1!important}
.company-grid.view-detail .company-plan-summary{grid-column:auto!important}
.company-grid.view-detail .company-card-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;position:relative!important;overflow:visible!important}
.company-grid.view-detail .company-created{grid-area:created!important}
.company-grid.view-mini{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.company-grid.view-mini .company-card{display:block!important;overflow:visible!important;position:relative!important}
.company-grid.view-mini .company-owner{display:none!important}
.company-grid.view-mini .company-card-body{display:grid!important;grid-template-columns:1fr!important;padding:12px 14px!important;gap:10px!important}
.company-grid.view-mini .company-stat-row{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
.company-grid.view-mini .company-card-actions{display:flex!important;padding:0 14px 12px!important;position:relative!important;overflow:visible!important}
.company-action-wrap{position:relative!important;overflow:visible!important;z-index:3}
.company-action-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:38px!important;min-width:126px!important;background:#0e2a3d!important;color:#fff!important;border:1px solid #0e2a3d!important;border-radius:11px!important;padding:0 14px!important;font-weight:800!important}
.company-grid.view-mini .company-action-toggle{width:100%!important}
.company-action-toggle:hover{background:#12364e!important;border-color:#12364e!important}
.company-action-wrap.open .action-chevron{transform:rotate(180deg)}
.company-action-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:10050;width:300px;padding:8px;background:#fff;border:1px solid #dce7e4;border-radius:16px;box-shadow:0 22px 55px rgba(15,23,42,.22)}
.company-action-wrap.open .company-action-menu{display:grid;gap:4px}
.company-action-menu button{width:100%!important;min-height:52px!important;border:0!important;background:transparent!important;color:var(--text,#122033)!important;padding:10px 11px!important;border-radius:11px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:10px!important;text-align:left!important;align-items:center!important;cursor:pointer!important}
.company-action-menu button:hover{background:var(--surface2,#f5f8fa)!important;transform:none!important}
.company-action-menu button>i{width:30px;height:30px;border-radius:9px;background:#eaf8f4;color:#078b76;display:grid;place-items:center}
.company-action-menu button span,.company-action-menu button b,.company-action-menu button small{display:block!important;min-width:0!important}
.company-action-menu button small{margin-top:2px;color:var(--muted,#64748b);font-size:11px;font-weight:500;line-height:1.35}
.user-action-menu.zynko-smart-action-menu,.company-action-menu.zynko-smart-action-menu{position:fixed!important;left:var(--zynko-action-left,12px)!important;right:auto!important;top:var(--zynko-action-top,12px)!important;bottom:auto!important;width:310px!important;max-width:calc(100vw - 24px)!important;max-height:min(440px,calc(100vh - 24px))!important;overflow:auto!important;z-index:20050!important;display:grid!important;gap:4px!important;padding:8px!important;border:1px solid #dce7e4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 24px 60px rgba(15,23,42,.24)!important}
.user-action-menu.zynko-smart-action-menu[data-placement="top"],.company-action-menu.zynko-smart-action-menu[data-placement="top"]{transform-origin:bottom center}
.user-action-menu.zynko-smart-action-menu[data-placement="bottom"],.company-action-menu.zynko-smart-action-menu[data-placement="bottom"]{transform-origin:top center}
.theme-dark .user-action-menu.zynko-smart-action-menu,.theme-dark .company-action-menu.zynko-smart-action-menu{background:#0f1d2b!important;border-color:#284054!important}
@media(max-width:1280px){.company-grid.view-detail .company-card{grid-template-columns:1fr!important;grid-template-areas:'top' 'body' 'actions' 'created'!important}.company-grid.view-detail .company-card-top,.company-grid.view-detail .company-card-body{border-right:0!important;border-bottom:1px solid var(--line)!important}.company-grid.view-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.company-grid.view-mini{grid-template-columns:1fr!important}.company-grid.view-detail .company-card-body{grid-template-columns:1fr!important}.company-action-toggle{width:100%!important}}


/* ZYNKO V2.31.25 · Acciones consistentes y detalle real */
.user-action-toggle,.company-action-toggle{
  width:148px!important;min-width:148px!important;max-width:148px!important;height:38px!important;min-height:38px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  padding:0 14px!important;border-radius:11px!important;background:#0e2a3d!important;color:#fff!important;border:1px solid #0e2a3d!important;
  font-size:12px!important;font-weight:800!important;white-space:nowrap!important;
}
.users-directory-list.view-mini .user-action-wrap{width:auto!important;justify-self:start!important;margin-top:6px!important}
.users-directory-list.view-mini .user-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}
.company-grid.view-mini .company-card-actions{display:flex!important;justify-content:flex-start!important;align-items:center!important}
.company-grid.view-mini .company-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}
.company-grid.view-detail .company-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}
.zynko-action-portal{box-sizing:border-box!important;padding:8px!important;border:1px solid #dce7e4!important;border-radius:16px!important;background:#fff!important;box-shadow:0 24px 60px rgba(15,23,42,.24)!important;gap:4px!important}
.zynko-action-portal button{width:100%!important;min-height:52px!important;border:0!important;background:transparent!important;color:var(--text,#122033)!important;padding:10px 11px!important;border-radius:11px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;gap:10px!important;text-align:left!important;align-items:center!important;cursor:pointer!important}
.zynko-action-portal button:hover{background:var(--surface2,#f5f8fa)!important;transform:none!important}
.zynko-action-portal button>i{width:30px;height:30px;border-radius:9px;background:#eaf8f4;color:#078b76;display:grid;place-items:center}
.zynko-action-portal button span,.zynko-action-portal button b,.zynko-action-portal button small{display:block!important;min-width:0!important}
.zynko-action-portal button small{margin-top:2px;color:var(--muted,#64748b);font-size:11px;font-weight:500;line-height:1.35}
.theme-dark .zynko-action-portal{background:#0f1d2b!important;border-color:#284054!important}
.company-grid.view-detail{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
.company-grid.view-detail .company-card{width:100%!important;max-width:none!important;min-height:190px!important}
@media(max-width:760px){.user-action-toggle,.company-action-toggle,.users-directory-list.view-mini .user-action-toggle,.company-grid.view-mini .company-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}}

/* ZYNKO V2.31.25 FINAL · Directorios uniformes: Usuarios, Empresas y Suscripciones */
/* Botón Acciones idéntico en detalle y miniatura */
.user-action-toggle,.company-action-toggle,.plan-action-toggle{
  width:148px!important;min-width:148px!important;max-width:148px!important;height:40px!important;min-height:40px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  padding:0 14px!important;border-radius:11px!important;background:#0e2a3d!important;color:#fff!important;border:1px solid #0e2a3d!important;
  font-size:12px!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important;
}
.user-action-toggle:hover,.company-action-toggle:hover,.plan-action-toggle:hover{background:#12364e!important;border-color:#12364e!important;transform:translateY(-1px)!important}
.user-action-wrap,.company-action-wrap,.plan-action-wrap{position:relative!important;overflow:visible!important}
.users-directory-list.view-mini .user-action-wrap,.company-grid.view-mini .company-card-actions{width:auto!important;margin-top:6px!important;justify-self:start!important}
.users-directory-list.view-mini .user-action-toggle,.company-grid.view-mini .company-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}

/* Menú flotante real: nunca aumenta el alto del directorio ni crea scroll interno */
.user-action-menu.zynko-action-portal,.company-action-menu.zynko-action-portal,.plan-action-menu.zynko-action-portal{
  position:fixed!important;display:grid!important;gap:5px!important;width:310px!important;max-width:calc(100vw - 24px)!important;
  max-height:min(440px,calc(100vh - 24px))!important;overflow:auto!important;z-index:2147483000!important;
  padding:9px!important;border:1px solid #dce7e4!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 24px 60px rgba(15,23,42,.24)!important;
}
.user-action-menu.zynko-action-portal button,.company-action-menu.zynko-action-portal button,.plan-action-menu.zynko-action-portal button{
  width:100%!important;min-height:54px!important;border:0!important;background:transparent!important;color:var(--text,#122033)!important;
  padding:10px 11px!important;border-radius:11px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;
  gap:10px!important;text-align:left!important;align-items:center!important;cursor:pointer!important;
}
.user-action-menu.zynko-action-portal button:hover,.company-action-menu.zynko-action-portal button:hover,.plan-action-menu.zynko-action-portal button:hover{background:#f3f8f7!important;transform:none!important}
.user-action-menu.zynko-action-portal button>i,.company-action-menu.zynko-action-portal button>i,.plan-action-menu.zynko-action-portal button>i{
  width:32px;height:32px;border-radius:9px;background:#eaf8f4;color:#078b76;display:grid;place-items:center;font-size:13px!important;
}
.user-action-menu.zynko-action-portal button span,.company-action-menu.zynko-action-portal button span,.plan-action-menu.zynko-action-portal button span,
.user-action-menu.zynko-action-portal button b,.company-action-menu.zynko-action-portal button b,.plan-action-menu.zynko-action-portal button b,
.user-action-menu.zynko-action-portal button small,.company-action-menu.zynko-action-portal button small,.plan-action-menu.zynko-action-portal button small{display:block!important;min-width:0!important}
.user-action-menu.zynko-action-portal button small,.company-action-menu.zynko-action-portal button small,.plan-action-menu.zynko-action-portal button small{margin-top:2px;color:#64748b;font-size:11px;font-weight:500;line-height:1.35}
.theme-dark .user-action-menu.zynko-action-portal,.theme-dark .company-action-menu.zynko-action-portal,.theme-dark .plan-action-menu.zynko-action-portal{background:#0f1d2b!important;border-color:#284054!important}

/* EMPRESAS · Detalle realmente horizontal y completo, no una miniatura grande */
.company-grid.view-detail{display:flex!important;flex-direction:column!important;gap:12px!important}
.company-grid.view-detail .company-card{
  display:grid!important;width:100%!important;max-width:none!important;min-height:132px!important;
  grid-template-columns:minmax(280px,1.25fr) minmax(220px,1fr) minmax(300px,1.3fr) minmax(190px,.8fr) 180px!important;
  grid-template-areas:'top owner stats plan actions' 'created created created created created'!important;
  align-items:center!important;overflow:visible!important;border-radius:17px!important;
}
.company-grid.view-detail .company-card-top{grid-area:top!important;min-height:112px!important;border:0!important;border-right:1px solid var(--line,#e2e8f0)!important;padding:16px!important}
.company-grid.view-detail .company-card-body{display:contents!important}
.company-grid.view-detail .company-owner{grid-area:owner!important;padding:16px!important;min-width:0!important}
.company-grid.view-detail .company-stat-row{grid-area:stats!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;padding:16px!important;margin:0!important}
.company-grid.view-detail .company-plan-summary{grid-area:plan!important;padding:16px!important;min-width:0!important}
.company-grid.view-detail .company-card-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;overflow:visible!important}
.company-grid.view-detail .company-created{grid-area:created!important;padding:9px 16px!important;border-top:1px solid var(--line,#e2e8f0)!important;background:#fbfcfd!important}
.company-grid.view-detail .company-stat-row span{min-width:0!important}

/* EMPRESAS · Miniatura compacta y uniforme */
.company-grid.view-mini{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.company-grid.view-mini .company-card{display:block!important;min-height:0!important;overflow:visible!important}
.company-grid.view-mini .company-card-top{padding:14px!important}
.company-grid.view-mini .company-card-body{display:grid!important;grid-template-columns:1fr!important;padding:12px 14px!important;gap:10px!important}
.company-grid.view-mini .company-owner{display:none!important}
.company-grid.view-mini .company-stat-row{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
.company-grid.view-mini .company-plan-summary{grid-column:1/-1!important}
.company-grid.view-mini .company-card-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 14px 12px!important;overflow:visible!important}
.company-grid.view-mini .company-created{padding:8px 14px!important;font-size:.7rem!important}

/* SUSCRIPCIONES · Detalle real como directorio, miniatura como tarjetas */
.billing-plan-directory.view-detail{display:flex!important;flex-direction:column!important;gap:12px!important}
.billing-plan-directory.view-detail .plan-card{
  display:grid!important;width:100%!important;max-width:none!important;min-height:132px!important;
  grid-template-columns:minmax(250px,.95fr) minmax(320px,1.15fr) minmax(360px,1.45fr) 180px!important;
  grid-template-areas:'head limits features actions'!important;align-items:center!important;padding:0!important;overflow:visible!important;border-radius:17px!important;
}
.billing-plan-directory.view-detail .plan-card-head{grid-area:head!important;height:100%!important;padding:18px!important;margin:0!important;border-right:1px solid var(--line,#e2e8f0)!important;align-items:center!important}
.billing-plan-directory.view-detail .plan-limits{grid-area:limits!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:16px!important;margin:0!important;border-right:1px solid var(--line,#e2e8f0)!important}
.billing-plan-directory.view-detail .plan-features{grid-area:features!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 12px!important;padding:16px!important;margin:0!important;max-height:124px!important;overflow:auto!important}
.billing-plan-directory.view-detail .plan-actions{grid-area:actions!important;display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;padding:16px!important;margin:0!important;overflow:visible!important}
.billing-plan-directory.view-mini{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.billing-plan-directory.view-mini .plan-card{display:flex!important;flex-direction:column!important;min-height:250px!important;padding:16px!important;overflow:visible!important}
.billing-plan-directory.view-mini .plan-actions{margin-top:auto!important;padding-top:12px!important;overflow:visible!important}
.plan-action-menu{display:none}
.plan-action-wrap.open .plan-action-menu{display:grid}
.plan-action-menu button.danger>i{background:#fff0ef!important;color:#c2413b!important}

@media(max-width:1350px){
  .company-grid.view-detail .company-card{grid-template-columns:1fr 1fr!important;grid-template-areas:'top owner' 'stats plan' 'actions actions' 'created created'!important}
  .company-grid.view-detail .company-card-top{border-right:1px solid var(--line,#e2e8f0)!important;border-bottom:1px solid var(--line,#e2e8f0)!important}
  .company-grid.view-detail .company-owner{border-bottom:1px solid var(--line,#e2e8f0)!important}
  .billing-plan-directory.view-detail .plan-card{grid-template-columns:1fr 1fr!important;grid-template-areas:'head limits' 'features features' 'actions actions'!important}
  .billing-plan-directory.view-detail .plan-card-head,.billing-plan-directory.view-detail .plan-limits{border-bottom:1px solid var(--line,#e2e8f0)!important}
  .billing-plan-directory.view-detail .plan-limits{border-right:0!important}
  .company-grid.view-mini,.billing-plan-directory.view-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .company-grid.view-detail .company-card{grid-template-columns:1fr!important;grid-template-areas:'top' 'owner' 'stats' 'plan' 'actions' 'created'!important}
  .company-grid.view-detail .company-card-top{border-right:0!important}.company-grid.view-detail .company-owner{border-bottom:0!important}
  .billing-plan-directory.view-detail .plan-card{grid-template-columns:1fr!important;grid-template-areas:'head' 'limits' 'features' 'actions'!important}
  .billing-plan-directory.view-detail .plan-card-head{border-right:0!important}.billing-plan-directory.view-detail .plan-limits{border-bottom:0!important}
  .company-grid.view-mini,.billing-plan-directory.view-mini{grid-template-columns:1fr!important}
  .user-action-toggle,.company-action-toggle,.plan-action-toggle{width:148px!important;min-width:148px!important;max-width:148px!important}
}


/* ZYNKO V2.31.26 · Acceso directo al estado de canales */
.realtime-pill-link{cursor:pointer;text-decoration:none!important;color:inherit!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.realtime-pill-link:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.08);border-color:color-mix(in srgb,var(--accent) 32%,var(--line))!important}
.realtime-pill-link:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 24%,transparent);outline-offset:2px}

/* ZYNKO V2.31.27 · Editor del texto flotante de NIVO Web Chat */
.launcher-label-field{align-self:start}
.launcher-label-editor{border:1px solid var(--line,#dfe7ec);border-radius:14px;background:#fbfdfd;overflow:hidden;box-shadow:0 7px 18px rgba(15,23,42,.035)}
.launcher-label-toolbar{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line,#e2e8f0);background:#f4f8f9}
.launcher-label-toolbar button{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 10px;border:1px solid #cfe0e6;border-radius:9px;background:#fff;color:#17384e;font-weight:850;cursor:pointer}
.launcher-label-toolbar button:hover{border-color:#9fd4c9;background:#eef9f6;color:#087c6c}
.launcher-label-toolbar small{color:#6d8194;font-size:11px}
.launcher-label-content{min-height:48px;padding:12px 13px;outline:none;background:#fff;color:#17384e;font-size:13px;line-height:1.35}
.launcher-label-content:focus{box-shadow:inset 0 0 0 2px rgba(16,170,140,.16)}
.launcher-label-content strong{font-weight:900;color:#0b2d44}
.launcher-label-live{display:flex;align-items:center;gap:10px;padding:9px 10px;border-top:1px solid #edf2f5;background:#f9fcfc}
.launcher-label-live>small{color:#718497;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.launcher-label-live>span{display:inline-flex;align-items:center;justify-content:center;min-height:34px;max-width:240px;padding:7px 11px;border:1px solid #c9e8e1;border-radius:11px;background:#eef9f6;color:#17384e;font-size:12px;font-weight:650;line-height:1.2;text-align:center}
.launcher-label-live strong{font-weight:900;color:#0b2d44}
@media(max-width:720px){.launcher-label-toolbar{align-items:flex-start;flex-direction:column}.launcher-label-live{align-items:flex-start;flex-direction:column}.launcher-label-live>span{max-width:100%;width:100%}}

/* ZYNKO V2.31.28 · Rich text compacto para la etiqueta flotante de NIVO */
.launcher-rte-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.launcher-label-toolbar{justify-content:space-between!important}
.launcher-label-toolbar button span{display:inline}
.launcher-label-content{min-height:64px!important;max-height:92px;overflow:auto;white-space:normal;word-break:break-word}
.launcher-label-content em,.launcher-label-live em,.preview-launcher-label em{font-style:italic!important}
.launcher-label-live>span{white-space:normal!important;line-height:1.25!important;min-width:190px}
.preview-launcher-label{white-space:normal!important;line-height:1.25!important;overflow:visible!important;text-overflow:clip!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.preview-launcher-wrap:hover .preview-launcher-label{transform:translateY(-4px) scale(1.015);box-shadow:0 12px 28px rgba(15,23,42,.15)!important;border-color:#a8d9cf!important}
@media(max-width:720px){.launcher-label-toolbar{gap:8px!important}.launcher-label-toolbar button span{display:none}.launcher-label-toolbar button{width:36px!important;padding:0!important;justify-content:center!important}.launcher-rte-actions{width:auto!important}}

/* ZYNKO V2.31.31 · Botones y acciones totalmente responsive en Admin */
button,.soft,.primary,.danger-btn,.icon-btn,.company-export-btn,.user-action-toggle,.company-action-toggle,.plan-action-toggle{
  max-width:100%;
}
.api-doc-title>div,
.api-subhead>b{
  min-width:0;
}
.api-doc-title b,
.api-doc-title small,
.api-subhead>b{
  overflow-wrap:anywhere;
}
.api-copy-btn,.api-copy-mini{
  flex:0 0 auto;
  white-space:nowrap;
}
@media(max-width:700px){
  .api-doc-title{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:10px!important;
  }
  .api-copy-btn{
    min-width:92px!important;
    height:40px!important;
    padding:0 12px!important;
  }
  .api-copy-btn span{
    display:inline!important;
  }
  .api-subhead{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  .api-copy-mini{
    min-width:84px!important;
    height:36px!important;
    padding:0 10px!important;
  }
  .panel-head,.head-actions,.modal-actions,.company-directory-actions,.users-toolbar-actions{
    min-width:0!important;
  }
  .head-actions,.company-directory-actions,.users-toolbar-actions{
    flex-wrap:wrap!important;
  }
  .head-actions>button,.head-actions>.soft,.head-actions>.primary,
  .company-directory-actions>button,.company-directory-actions>a,
  .users-toolbar-actions>button,.users-toolbar-actions>a{
    min-width:0!important;
  }
}
@media(max-width:430px){
  .api-doc-card{
    padding:13px!important;
  }
  .api-doc-title{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  .api-copy-btn{
    grid-column:1/-1!important;
    width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .api-subhead{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  .api-copy-mini{
    width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  .modal-actions button,.modal-actions .soft,.modal-actions .primary,.modal-actions .danger-btn{
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
  }
  .company-export-btn{
    min-width:0!important;
    white-space:normal!important;
  }
}

/* ZYNKO V2.31.33 · Admin: botones Copiar legibles y títulos completos en cualquier pantalla */
@media(max-width:700px){
  .api-doc-card .api-doc-title{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    grid-template-areas:
      "icon text"
      ". copy"!important;
    align-items:center!important;
    gap:8px 10px!important;
  }
  .api-doc-card .api-doc-title>i{
    grid-area:icon!important;
  }
  .api-doc-card .api-doc-title>div{
    grid-area:text!important;
    min-width:0!important;
  }
  .api-doc-card .api-doc-title>div b,
  .api-doc-card .api-doc-title>div small{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }
  .api-doc-card .api-copy-btn{
    grid-area:copy!important;
    justify-self:end!important;
    width:auto!important;
    min-width:96px!important;
    height:38px!important;
    padding:0 12px!important;
    white-space:nowrap!important;
  }
  .api-doc-card .api-copy-btn span{
    display:inline!important;
  }
  .api-doc-card .api-subhead{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  .api-doc-card .api-copy-mini{
    width:auto!important;
    min-width:88px!important;
    height:36px!important;
    padding:0 10px!important;
    justify-self:end!important;
    white-space:nowrap!important;
  }
}
@media(max-width:430px){
  .api-doc-card .api-copy-btn,
  .api-doc-card .api-copy-mini{
    width:auto!important;
    min-width:88px!important;
    justify-self:end!important;
    white-space:nowrap!important;
  }
}
@media(max-width:360px){
  .api-doc-card .api-copy-btn,
  .api-doc-card .api-copy-mini{
    min-width:84px!important;
    padding-inline:9px!important;
    font-size:10.5px!important;
  }
}


/* ZYNKO V2.31.33 · Copiar uniforme: mismo label grande en toda la documentación del Admin */
.api-doc-card .api-copy-btn,
.api-doc-card .api-copy-mini{
  width:auto!important;
  min-width:96px!important;
  height:38px!important;
  padding:0 12px!important;
  font-size:12px!important;
  line-height:1!important;
  border-radius:10px!important;
  gap:6px!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  justify-content:center!important;
}
.api-doc-card .api-copy-btn i,
.api-doc-card .api-copy-mini i{font-size:12px!important}
@media(max-width:430px){
  .api-doc-card .api-copy-btn,
  .api-doc-card .api-copy-mini{
    width:auto!important;
    min-width:96px!important;
    height:38px!important;
    padding:0 12px!important;
    font-size:12px!important;
    justify-self:end!important;
  }
}
@media(max-width:360px){
  .api-doc-card .api-copy-btn,
  .api-doc-card .api-copy-mini{
    min-width:92px!important;
    height:38px!important;
    padding-inline:10px!important;
    font-size:11.5px!important;
  }
}

.featured-plan-badge{background:#fff6dc!important;color:#8a5a00!important;border:1px solid #f2d58a!important}.plan-featured-label-field{margin-top:12px}.plan-featured-card .plan-toggle-control{box-shadow:0 0 0 1px rgba(245,158,11,.18)}

/* ZYNKO V2.31.37 · instalación única por sitio NIVO Web Chat */
.webchat-install-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 4px;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--accent) 6%,var(--panel));color:var(--text)}
.webchat-install-flow span{display:inline-flex;align-items:center;gap:8px;font-weight:800}.webchat-install-flow span b{width:25px;height:25px;border-radius:999px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:12px}.webchat-install-flow>i{color:var(--muted);font-size:12px}.installation-site-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--panel)}.installation-site-card .installation-row{border:0!important;border-radius:0!important}.site-embed-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:center;padding:14px 16px;border-top:1px solid var(--line);background:var(--soft)}.site-embed-box>div{grid-column:1/-1}.site-embed-box>div b{display:block}.site-embed-box>div small{display:block;color:var(--muted);margin-top:3px}.site-embed-box code{min-width:0;overflow:auto;white-space:nowrap;background:#0f172a;color:#d5f5ef;border-radius:10px;padding:12px}.site-embed-box .secondary-action{white-space:nowrap}
@media(max-width:900px){.site-embed-box{grid-template-columns:1fr}.site-embed-box .secondary-action{width:100%;justify-content:center}.webchat-install-flow>i{transform:rotate(90deg)}}

/* ZYNKO V2.31.38 · Suscripciones detalle legible y sin recortes */
.billing-plan-directory.view-detail .plan-card{
  min-height:164px!important;
  align-items:stretch!important;
}
.billing-plan-directory.view-detail .plan-card-head,
.billing-plan-directory.view-detail .plan-limits,
.billing-plan-directory.view-detail .plan-features,
.billing-plan-directory.view-detail .plan-actions{
  align-self:stretch!important;
}
.billing-plan-directory.view-detail .plan-card-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
.billing-plan-directory.view-detail .plan-limits{
  align-content:center!important;
}
.billing-plan-directory.view-detail .plan-limits span{
  min-width:0!important;
  white-space:normal!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
}
.billing-plan-directory.view-detail .plan-features{
  max-height:none!important;
  overflow:visible!important;
  align-content:center!important;
  grid-auto-rows:minmax(28px,auto)!important;
}
.billing-plan-directory.view-detail .plan-features span{
  min-width:0!important;
  white-space:normal!important;
  line-height:1.35!important;
  overflow-wrap:anywhere!important;
  align-items:flex-start!important;
}
.billing-plan-directory.view-detail .plan-features span>i{
  flex:0 0 auto!important;
  margin-top:3px!important;
}
@media(min-width:1351px){
  .billing-plan-directory.view-detail .plan-card{
    grid-template-columns:minmax(280px,.95fr) minmax(360px,1.15fr) minmax(440px,1.5fr) 180px!important;
  }
}
@media(max-width:1500px) and (min-width:1351px){
  .billing-plan-directory.view-detail .plan-features{grid-template-columns:1fr!important;gap:7px!important}
}
@media(max-width:1350px){
  .billing-plan-directory.view-detail .plan-card{min-height:0!important}
  .billing-plan-directory.view-detail .plan-features{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .billing-plan-directory.view-detail .plan-features{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .billing-plan-directory.view-detail .plan-card-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .billing-plan-directory.view-detail .plan-limits{grid-template-columns:1fr!important}
}


/* ZYNKO V2.31.41 · NIVO Web Chat por sitio, etiquetas editables y códigos únicos */
.webchat-official-note{display:flex;align-items:flex-start;gap:12px;margin:12px 0 4px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--accent) 7%,var(--panel))}
.webchat-official-note>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--accent) 14%,var(--panel));color:var(--accent);flex:0 0 auto}
.webchat-official-note b,.webchat-official-note small{display:block}.webchat-official-note small{margin-top:3px;color:var(--muted)}
.installation-site-card.is-official{border-color:color-mix(in srgb,var(--accent) 34%,var(--line));box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 8%,transparent)}
.installation-site-card.is-official .installation-row{background:color-mix(in srgb,var(--accent) 4%,var(--panel))}
@media(max-width:700px){.webchat-official-note{padding:12px}.site-embed-box code{font-size:12px}.installation-site-card .installation-row{align-items:flex-start}}

/* V2.31.41 · Campo de dominio bloqueado únicamente para el sitio oficial */
.webchat-install-edit-modal input.is-readonly{background:#f4f8f8;cursor:not-allowed;opacity:.78}


/* ZYNKO V2.31.45 · carga visual estable, compositor y guía NIVO */
html.select2-preload select:not(.no-select2){visibility:hidden!important;opacity:0!important}
body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn{min-width:118px!important;height:50px!important;min-height:50px!important;padding:0 18px!important;border-radius:13px!important;justify-content:center!important;box-shadow:0 9px 20px rgba(15,118,110,.18)!important;font-size:12px!important;font-weight:850!important}
body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn i{font-size:13px!important}
@media(max-width:760px){body:has(.inbox-premium-toolbar) .composer-line{grid-template-columns:1fr!important;align-items:stretch!important}.composer-line .composer-send-btn{width:100%!important;min-width:0!important;height:48px!important}.composer-line .composer-send-btn span{display:inline!important}}
.nivo-install-doc-panel .panel-head b>i{color:#0f8d78;margin-right:7px}.nivo-install-doc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:14px}.nivo-install-doc-grid article{display:flex;gap:10px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);min-width:0}.nivo-install-doc-grid article>span{width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#0f8d78;color:#fff;display:grid;place-items:center;font-weight:900}.nivo-install-doc-grid b,.nivo-install-doc-grid small{display:block}.nivo-install-doc-grid small{margin-top:4px;color:var(--muted);line-height:1.45}.nivo-install-doc-note{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:12px 13px;border:1px solid #cce8e1;border-radius:13px;background:#f0faf7;color:#476277;font-size:11px;line-height:1.5}.nivo-install-doc-note i{color:#0f8d78;margin-top:2px}@media(max-width:1100px){.nivo-install-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.nivo-install-doc-grid{grid-template-columns:1fr}.nivo-install-doc-panel .panel-head{align-items:stretch!important}.nivo-install-doc-panel .panel-head>a{width:100%;justify-content:center}}

/* ZYNKO V2.31.47 · NIVO Fuentes Web */
.nivo-web-knowledge{overflow:visible}.nivo-web-source-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 18px}.nivo-web-source-info>span{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:start;padding:13px 14px;border:1px solid var(--line,#dfe7ee);border-radius:14px;background:var(--surface2,#f8fafc)}.nivo-web-source-info>span>i{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:#e8f7f3;color:#0d9279;display:grid;place-items:center}.nivo-web-source-info b{font-size:12px}.nivo-web-source-info small{font-size:11px;color:var(--muted,#64748b);line-height:1.45}.nivo-web-source-list{display:grid;gap:12px}.nivo-web-source-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:start;padding:15px;border:1px solid var(--line,#dfe7ee);border-radius:15px;background:var(--panel,#fff);transition:.18s ease}.nivo-web-source-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.07);border-color:rgba(15,118,110,.22)}.nivo-web-source-icon{width:44px;height:44px;border-radius:13px;background:#e8f7f3;color:#0d9279;display:grid;place-items:center;font-size:17px}.nivo-web-source-main{display:grid;gap:4px;min-width:0}.nivo-web-source-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.nivo-web-source-main>a{color:#0d7f70;text-decoration:none;font-size:12px;font-weight:750;overflow-wrap:anywhere}.nivo-web-source-main>a:hover{text-decoration:underline}.nivo-web-source-main>small{color:var(--muted,#64748b);font-size:11px;line-height:1.45}.nivo-web-source-error{color:#b45309!important}.nivo-web-source-actions{display:flex;gap:7px;align-items:center}.nivo-web-source-footer,.nivo-web-source-safety{display:flex;gap:10px;align-items:flex-start;margin-top:15px;padding:12px 14px;border-radius:13px;background:#f2faf8;border:1px solid #d2ebe5;color:#536b7e;font-size:12px;line-height:1.5}.nivo-web-source-footer>i,.nivo-web-source-safety>i{color:#0d9279;margin-top:2px}.nivo-website-modal .modal-card{max-width:760px}@media(max-width:900px){.nivo-web-source-info{grid-template-columns:1fr}.nivo-web-source-card{grid-template-columns:42px minmax(0,1fr)}.nivo-web-source-actions{grid-column:1/-1;justify-content:flex-end;padding-top:4px}}@media(max-width:520px){.nivo-web-source-card{grid-template-columns:1fr}.nivo-web-source-icon{width:40px;height:40px}.nivo-web-source-actions{justify-content:flex-start}.nivo-web-source-actions .icon-btn{width:42px;height:42px}.nivo-web-source-title{align-items:flex-start;flex-direction:column;gap:5px}}


/* ZYNKO V2.31.48 · Compositor premium compacto en Bandeja */
body:has(.inbox-premium-toolbar) .pro-composer{
  min-height:0!important;
  padding:8px 10px 10px!important;
  border-top:1px solid #dfe8ef!important;
  background:var(--surface)!important;
  box-shadow:0 -8px 24px rgba(15,23,42,.045)!important;
}
body:has(.inbox-premium-toolbar) .composer-tools{
  min-height:0!important;
  padding:0 0 6px!important;
  gap:6px!important;
}
body:has(.inbox-premium-toolbar) .composer-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 108px!important;
  align-items:end!important;
  gap:8px!important;
  min-height:46px!important;
}
body:has(.inbox-premium-toolbar) .composer-line textarea{
  min-height:46px!important;
  max-height:112px!important;
  resize:none!important;
  padding:12px 14px!important;
  border-radius:13px!important;
  border:1px solid var(--line)!important;
  background:var(--surface2)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45)!important;
}
body:has(.inbox-premium-toolbar) .composer-line textarea:focus{
  border-color:color-mix(in srgb,var(--accent) 55%,var(--line))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)!important;
  background:var(--surface)!important;
}
body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn{
  width:108px!important;
  min-width:108px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  align-self:end!important;
  box-shadow:0 8px 18px rgba(15,118,110,.16)!important;
  font-size:12px!important;
  font-weight:850!important;
}
body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px rgba(15,118,110,.22)!important;
}
body:has(.inbox-premium-toolbar) .attachment-preview:empty{
  display:none!important;
}
body:has(.inbox-premium-toolbar) .attachment-preview:not(:empty){
  display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px!important;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;max-height:46px;box-sizing:border-box;margin:0 0 5px!important;padding:1px 0 3px;scrollbar-width:thin;
}
.attachment-preview .inbox-pending-file{display:flex;align-items:center;flex:0 0 auto;min-width:0;max-width:min(260px,82%);height:34px;gap:6px;padding:3px 4px 3px 6px;box-sizing:border-box;background:var(--surface2);border:1px solid var(--line);border-radius:8px}
.attachment-preview .inbox-pending-file>img{width:26px;height:26px;object-fit:cover;border-radius:4px;flex:none}
.attachment-preview .inbox-pending-file>i{flex:none;color:#087e75}.attachment-preview .inbox-pending-file>i.fa-file-pdf{color:#b42318}
.attachment-preview .inbox-pending-file .inbox-pending-file-name{min-width:0;flex:1;max-width:none;padding:0;border:0;background:transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.attachment-preview .inbox-pending-file-remove{flex:0 0 25px;display:grid;place-items:center;width:25px;min-width:25px;height:25px;min-height:25px;padding:0!important;border:0!important;border-radius:6px;background:#10283a!important;color:#fff!important;box-shadow:none!important;margin:0!important}.attachment-preview .inbox-pending-file-remove:hover{background:#b42318!important;color:#fff!important}

@media(max-width:760px){
  body:has(.inbox-premium-toolbar) .pro-composer{
    padding:8px!important;
  }
  body:has(.inbox-premium-toolbar) .composer-line{
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:7px!important;
  }
  body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn{
    width:52px!important;
    min-width:52px!important;
    padding:0!important;
  }
  body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn span{
    display:none!important;
  }
  body:has(.inbox-premium-toolbar) .composer-line .composer-send-btn i{
    font-size:15px!important;
  }
}
@media(max-width:420px){
  body:has(.inbox-premium-toolbar) .composer-tools{
    gap:5px!important;
    padding-bottom:5px!important;
  }
  body:has(.inbox-premium-toolbar) .composer-tools button{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  body:has(.inbox-premium-toolbar) .composer-tools #nivoAssist{
    width:auto!important;
    min-width:74px!important;
  }
}


/* ZYNKO V2.31.53 · Disponibilidad comercial de planes */
.coming-soon-plan-card{
  border-color:#e8d8ad!important;
}
.plan-coming-soon-note{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:11px 12px!important;
  border:1px solid #ead8ac!important;
  border-radius:12px!important;
  background:#fffaf0!important;
}
.plan-coming-soon-note>span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#fff1c8;
  color:#946300;
}
.plan-coming-soon-note>div{
  display:grid;
  gap:2px;
  min-width:0;
}
.plan-coming-soon-note b{
  color:#765000;
  font-size:12px;
}
.plan-coming-soon-note small{
  color:#6f7883!important;
  font-size:10.5px!important;
  line-height:1.4!important;
}
.plan-request-coming-soon{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border:1px solid #ead8ac;
  border-radius:10px;
  background:#fff8e8;
  color:#835700;
  font-size:11px;
  font-weight:850;
  cursor:not-allowed;
}
#planModal .plan-toggle-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
#planModal .plan-availability-message-field{
  margin-top:2px!important;
}
@media(max-width:1180px){
  #planModal .plan-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  #planModal .plan-toggle-grid{grid-template-columns:1fr!important;}
}

/* ZYNKO V2.31.54 · servidor, SEO y políticas premium */
.env-admin-panel .panel-head{align-items:flex-start}
.env-security-note{display:flex!important;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
.env-security-note>i{margin-top:3px;color:var(--accent)}
.env-security-note span{display:grid;gap:3px}.env-security-note small{color:var(--muted);line-height:1.45}.env-security-note code{font-weight:800}
.seo-tool-grid{display:flex!important;flex-wrap:wrap;gap:10px;align-items:center}.seo-tool-grid>a{display:inline-flex;align-items:center;gap:8px;text-decoration:none}.seo-health-chip{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800;font-size:12px;border:1px solid #bbf7d0}
.api-policy-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.api-policy-fields .full{grid-column:1/-1}.api-policy-summary{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}.api-policy-summary span{font-size:11px;padding:5px 8px;border-radius:999px;background:var(--soft);border:1px solid var(--line);color:var(--muted);font-weight:700}
.nivo-premium-policy{border:1px solid var(--line);border-radius:16px;padding:16px;background:color-mix(in srgb,var(--accent) 5%,var(--surface));margin-top:14px}.nivo-premium-policy .settings-grid{margin-top:12px}
@media(max-width:760px){.api-policy-fields{grid-template-columns:1fr}.seo-tool-grid{align-items:stretch}.seo-tool-grid>a,.seo-health-chip{width:100%;justify-content:center}}


/* ZYNKO V2.31.56 · Ritmo visual global y separación consistente entre controles */
:root{
  --zynko-space-xs:8px;
  --zynko-space-sm:12px;
  --zynko-space-md:18px;
  --zynko-space-lg:24px;
  --zynko-space-xl:30px;
}

/* Formularios y bloques: ningún bloque funcional debe quedar pegado al siguiente. */
.modal-card form,
.panel form,
.settings-form,
.form-stack{
  row-gap:var(--zynko-space-md)!important;
}
.modal-card>form+form,
.panel>form+form{
  margin-top:var(--zynko-space-lg)!important;
  padding-top:var(--zynko-space-lg)!important;
  border-top:1px solid var(--line)!important;
}
.modal-card form>.settings-grid+.field,
.modal-card form>.field+.settings-grid,
.modal-card form>.settings-grid+.upload-zone,
.modal-card form>.upload-zone+.settings-grid,
.modal-card form>.field+.upload-zone,
.modal-card form>.upload-zone+.field{
  margin-top:var(--zynko-space-sm)!important;
}

/* Uploads: separación real respecto de acciones, campos y otros objetos. */
.upload-zone{
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  gap:var(--zynko-space-xs)!important;
}
.upload-zone+.modal-actions,
.upload-zone+.form-actions,
.upload-zone+.actions-inline,
.field+.modal-actions,
.settings-grid+.modal-actions,
.check-grid+.modal-actions,
.notice+.modal-actions,
.meta-note+.modal-actions,
.nivo-guide+.modal-actions{
  margin-top:var(--zynko-space-md)!important;
}

/* Acciones: borde/aire superior uniforme sin tocar el contenido anterior. */
.modal-actions,
.form-actions,
.form-actions-sticky,
.actions-inline{
  gap:10px!important;
}
.modal-actions{
  margin-top:var(--zynko-space-md)!important;
  padding-top:var(--zynko-space-md)!important;
}
.form-actions-sticky,
.form-actions{
  margin-top:var(--zynko-space-md)!important;
  padding-top:var(--zynko-space-sm)!important;
}

/* Caso Usuarios: formulario de fotografía separado del formulario de perfil. */
#userEditModal #userEditForm{
  padding-bottom:4px!important;
}
#userEditModal .user-avatar-form{
  margin-top:var(--zynko-space-lg)!important;
  padding-top:var(--zynko-space-lg)!important;
  border-top:1px solid var(--line)!important;
  gap:var(--zynko-space-md)!important;
}
#userEditModal .user-avatar-form .upload-zone{
  margin:0!important;
}
#userEditModal .user-avatar-form .modal-actions{
  margin-top:0!important;
  padding-top:var(--zynko-space-md)!important;
}
#userModal .user-create-photo{
  margin-top:4px!important;
}

/* Toolbars y cabeceras con acciones mantienen aire aun al envolver contenido. */
.record-toolbar,
.users-toolbar-actions,
.company-directory-actions,
.head-actions,
.channel-welcome-actions,
.seo-tool-grid{
  row-gap:var(--zynko-space-sm)!important;
  column-gap:10px!important;
}
.panel-head{
  column-gap:var(--zynko-space-md)!important;
  row-gap:var(--zynko-space-sm)!important;
}

/* Tarjetas/listados: separación vertical consistente sin alterar sus rejillas internas. */
.installation-list,
.channel-admin-list,
.nivo-web-source-list,
.responsive-records,
.card-list{
  gap:var(--zynko-space-sm)!important;
}

@media(max-width:760px){
  :root{
    --zynko-space-md:16px;
    --zynko-space-lg:20px;
  }
  .modal-card>form+form,
  .panel>form+form,
  #userEditModal .user-avatar-form{
    margin-top:var(--zynko-space-md)!important;
    padding-top:var(--zynko-space-md)!important;
  }
  .modal-actions,
  .form-actions,
  .form-actions-sticky,
  .actions-inline{
    gap:10px!important;
  }
}


/* ZYNKO V2.31.58 · Transición premium de Bandeja sin recarga completa */
body:has(.inbox-premium-toolbar) .chat,
body:has(.inbox-premium-toolbar) .info {
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
}

body:has(.inbox-premium-toolbar) .inbox-layout.inbox-ajax-loading .chat,
body:has(.inbox-premium-toolbar) .inbox-layout.inbox-ajax-loading .info {
  opacity: .48;
  transform: translateY(3px);
  filter: saturate(.75);
  pointer-events: none;
}

body:has(.inbox-premium-toolbar) .conversation {
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

body:has(.inbox-premium-toolbar) .conversation:active {
  transform: scale(.995);
}

body:has(.inbox-premium-toolbar) .conversation[aria-current="true"] {
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  body:has(.inbox-premium-toolbar) .chat,
  body:has(.inbox-premium-toolbar) .info,
  body:has(.inbox-premium-toolbar) .conversation {
    transition: none !important;
    transform: none !important;
  }
}


/* ZYNKO V2.31.62 · Sistema global de modales, switches y espaciado premium */
.modal-shell .modal-card.zynko-modal-fixed{
  padding:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  width:min(780px,calc(100vw - 36px))!important;
  max-height:calc(100dvh - 36px)!important;
}
.modal-shell .modal-card.zynko-modal-fixed>.modal-head{
  flex:0 0 auto!important;
  margin:0!important;
  padding:18px 20px!important;
  border-bottom:1px solid var(--line)!important;
  background:var(--surface)!important;
  position:relative!important;
  z-index:5!important;
}
.modal-shell .modal-head>.modal-title-with-icon,
.modal-shell .modal-head>div.modal-title-with-icon{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:calc(100% - 56px)!important;
}
.modal-shell .modal-title-copy{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:4px!important;
  align-content:center!important;
  min-width:0!important;
}
.modal-shell .modal-title-copy>b,
.modal-shell .modal-title-copy>small{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
.modal-shell .modal-title-copy>b{
  font-size:15px!important;
  line-height:1.3!important;
}
.modal-shell .modal-title-copy>small{
  font-size:12px!important;
  line-height:1.45!important;
  color:var(--muted)!important;
}
.modal-shell .modal-card.zynko-modal-fixed>.zynko-modal-form,
.modal-shell .modal-card.zynko-modal-fixed>form.zynko-modal-form{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  gap:0!important;
}
.modal-shell .zynko-modal-scroll-body,
.modal-shell .modal-composite-body{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:20px!important;
  scrollbar-gutter:stable!important;
  display:grid!important;
  align-content:start!important;
  gap:20px!important;
}
.modal-shell .modal-card.zynko-modal-fixed>.modal-actions,
.modal-shell .modal-card.zynko-modal-fixed>.zynko-modal-form>.modal-actions,
.modal-shell .modal-card.zynko-modal-fixed>form.zynko-modal-form>.modal-actions{
  flex:0 0 auto!important;
  margin:0!important;
  padding:14px 20px!important;
  border-top:1px solid var(--line)!important;
  background:var(--surface)!important;
  position:relative!important;
  z-index:5!important;
}
.modal-shell .zynko-modal-scroll-body>.settings-grid:first-child,
.modal-shell .zynko-modal-scroll-body>.field:first-child,
.modal-shell .zynko-modal-scroll-body>.notice:first-child,
.modal-shell .modal-composite-body>form:first-child{
  margin-top:0!important;
}

/* Switches/toggles: control y texto SIEMPRE en una sola fila. */
.modal-shell label.switch-line,
.panel label.switch-line,
.settings-grid label.switch-line{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  cursor:pointer!important;
}
.modal-shell label.switch-line>input[type="checkbox"],
.panel label.switch-line>input[type="checkbox"],
.settings-grid label.switch-line>input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.modal-shell label.switch-line>.switch-control,
.panel label.switch-line>.switch-control,
.settings-grid label.switch-line>.switch-control,
.modal-shell label.switch-line>input[type="checkbox"]+span:not(.switch-label-text),
.panel label.switch-line>input[type="checkbox"]+span:not(.switch-label-text),
.settings-grid label.switch-line>input[type="checkbox"]+span:not(.switch-label-text){
  position:relative!important;
  display:block!important;
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  height:22px!important;
  border-radius:999px!important;
  background:#bcc9d6!important;
}
.modal-shell label.switch-line>.switch-label-text,
.panel label.switch-line>.switch-label-text,
.settings-grid label.switch-line>.switch-label-text{
  position:static!important;
  display:block!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--text)!important;
  font-weight:650!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.modal-shell label.switch-line>.switch-label-text:after,
.panel label.switch-line>.switch-label-text:after,
.settings-grid label.switch-line>.switch-label-text:after{display:none!important;content:none!important}
.modal-shell .field>label.switch-line,
.panel .field>label.switch-line{margin:0!important}

/* El campo con título + switch mantiene etiqueta superior y switch en fila propia. */
.modal-shell .field>label:not(.switch-line)+label.switch-line,
.panel .field>label:not(.switch-line)+label.switch-line{
  margin-top:2px!important;
}

/* Espaciado de bloques informativos/seguridad: nunca pegados a bordes u otros controles. */
.env-admin-panel .env-security-note,
.public-site-admin .public-site-note,
.nivo-web-source-safety,
.meta-note,
.nivo-guide,
.notice{
  margin-top:6px!important;
  margin-bottom:6px!important;
}
.env-admin-panel #envAdminForm{
  row-gap:22px!important;
}
.env-admin-panel .env-security-note{
  padding:16px 18px!important;
}
.env-admin-panel .version-save-field{
  padding-top:4px!important;
}

/* Usuario: cuerpo desplazable, acciones fijas y separación clara entre perfil/fotografía. */
#userEditModal .modal-composite-body{
  gap:0!important;
}
#userEditModal .modal-composite-body>form{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
#userEditModal .modal-composite-body>.user-avatar-form{
  margin-top:24px!important;
  padding-top:24px!important;
  border-top:1px solid var(--line)!important;
}
#userEditModal .user-edit-fixed-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
}

@media(max-width:760px){
  .modal-shell{padding:8px!important}
  .modal-shell .modal-card.zynko-modal-fixed{
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
  }
  .modal-shell .modal-card.zynko-modal-fixed>.modal-head{padding:14px 15px!important}
  .modal-shell .zynko-modal-scroll-body,
  .modal-shell .modal-composite-body{padding:15px!important;gap:16px!important}
  .modal-shell .modal-card.zynko-modal-fixed>.modal-actions,
  .modal-shell .modal-card.zynko-modal-fixed>.zynko-modal-form>.modal-actions,
  .modal-shell .modal-card.zynko-modal-fixed>form.zynko-modal-form>.modal-actions{
    padding:12px 15px!important;
  }
  #userEditModal .user-edit-fixed-actions{flex-direction:column!important}
  #userEditModal .user-edit-fixed-actions>button{width:100%!important}
}

/* ZYNKO V2.31.63 · Acciones compactas, NIVO legible y orden visual */

/* Empresas > Usuarios: una sola entrada Acciones, sin columna de botones apilados. */
.company-user-actions.company-user-action-wrap{
  position:relative!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  min-width:148px!important;
}
.company-user-action-toggle{
  width:148px!important;
  min-width:148px!important;
  height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 14px!important;
  border-radius:11px!important;
  background:#0e2a3d!important;
  color:#fff!important;
  border:1px solid #0e2a3d!important;
  font-size:12px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.company-user-action-toggle:hover{background:#12364e!important;border-color:#12364e!important;transform:translateY(-1px)!important}
.company-user-action-menu{display:none}
.company-user-action-wrap.open .company-user-action-menu{display:grid}
.company-user-action-menu.zynko-action-portal{
  position:fixed!important;
  display:grid!important;
  gap:5px!important;
  width:310px!important;
  max-width:calc(100vw - 24px)!important;
  max-height:min(420px,calc(100vh - 24px))!important;
  overflow:auto!important;
  z-index:2147483000!important;
  padding:9px!important;
  border:1px solid #dce7e4!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 24px 60px rgba(15,23,42,.24)!important;
}
.company-user-action-menu.zynko-action-portal button{
  width:100%!important;
  min-height:54px!important;
  border:0!important;
  background:transparent!important;
  color:var(--text,#122033)!important;
  padding:10px 11px!important;
  border-radius:11px!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:10px!important;
  text-align:left!important;
  align-items:center!important;
  cursor:pointer!important;
}
.company-user-action-menu.zynko-action-portal button:hover{background:#f3f8f7!important}
.company-user-action-menu.zynko-action-portal button>i{width:32px;height:32px;border-radius:9px;background:#eaf8f4;color:#078b76;display:grid;place-items:center}
.company-user-action-menu.zynko-action-portal button span,.company-user-action-menu.zynko-action-portal button b,.company-user-action-menu.zynko-action-portal button small{display:block!important;min-width:0!important}
.company-user-action-menu.zynko-action-portal button small{margin-top:2px;color:#64748b;font-size:11px;font-weight:500;line-height:1.35}
.company-user-action-menu.zynko-action-portal button:disabled{opacity:.45;cursor:not-allowed}
.theme-dark .company-user-action-menu.zynko-action-portal{background:#0f1d2b!important;border-color:#284054!important}

/* NIVO: CTA siempre legible dentro del encabezado de Integraciones. */
.nivo-install-doc-panel .panel-head>a.primary{
  color:#fff!important;
  background:var(--accent,#13a88a)!important;
  border:1px solid var(--accent,#13a88a)!important;
  opacity:1!important;
  font-weight:850!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(13,128,107,.16)!important;
}
.nivo-install-doc-panel .panel-head>a.primary:hover{filter:brightness(.96);transform:translateY(-1px)}

/* Integraciones: URL visible como URL real, sin cortes ni escapes visuales. */
.api-howto-panel .panel-head>.status-badge{
  max-width:min(520px,48vw)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;
  letter-spacing:0!important;
}

/* Suscripciones Admin: el aviso Próximamente respira dentro de la tarjeta. */
.plan-card .plan-coming-soon-note{
  margin:8px 0 4px!important;
}
.plan-card .plan-coming-soon-note + .plan-limits{
  margin-top:3px!important;
}

/* Configuración > Servidor y dominio: cabecera con jerarquía premium. */
.env-admin-panel .env-panel-head{
  padding:2px 0 4px!important;
  align-items:center!important;
}
.env-panel-heading{
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  min-width:0!important;
}
.env-panel-heading>div{display:grid!important;gap:4px!important;min-width:0!important}
.env-panel-icon{
  width:44px!important;
  height:44px!important;
  flex:0 0 44px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--accent) 12%,var(--surface))!important;
  border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line))!important;
  color:var(--accent2)!important;
  font-size:16px!important;
}
.env-panel-heading b{font-size:15px!important;line-height:1.3!important}
.env-file-badge{
  display:inline-flex!important;
  align-items:center!important;
  margin-left:5px!important;
  padding:3px 7px!important;
  border-radius:8px!important;
  background:#0e2a3d!important;
  color:#fff!important;
  font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;
  vertical-align:2px!important;
}

/* SEO: tres utilidades alineadas en la misma fila y estado separado de forma limpia. */
.seo-tool-grid{
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
}
.seo-tool-grid>a.soft{
  min-width:150px!important;
  min-height:40px!important;
  justify-content:center!important;
  color:var(--text)!important;
}
.seo-tool-grid>.seo-health-chip{
  margin-left:2px!important;
}

@media(max-width:900px){
  .api-howto-panel .panel-head>.status-badge{max-width:100%!important}
  .env-admin-panel .env-panel-head{align-items:flex-start!important}
}
@media(max-width:700px){
  .company-user-actions.company-user-action-wrap{justify-content:flex-start!important;width:100%!important}
  .company-user-action-toggle{width:100%!important;max-width:none!important}
  .seo-tool-grid{flex-direction:column!important;align-items:stretch!important}
  .seo-tool-grid>a.soft,.seo-tool-grid>.seo-health-chip{width:100%!important;min-width:0!important;justify-content:center!important;margin-left:0!important}
  .env-panel-heading{align-items:flex-start!important}
}

/* ZYNKO V2.31.64 · Pulido final de configuración y suscripciones */
.env-permission-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:220px!important;
  padding:9px 12px!important;
  border-radius:12px!important;
  border:1px solid var(--line)!important;
  background:var(--surface)!important;
  box-shadow:0 6px 18px rgba(15,39,56,.05)!important;
}
.env-permission-status.is-warning{
  border-color:#f0cf8e!important;
  background:#fffaf0!important;
}
.env-permission-status.is-ok{
  border-color:#bce8df!important;
  background:#f0fcf8!important;
}
.env-permission-icon{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:#0e2a3d!important;
  color:#fff!important;
}
.env-permission-status.is-warning .env-permission-icon{
  background:#fff0c8!important;
  color:#8b5e00!important;
}
.env-permission-copy{display:grid!important;gap:2px!important;min-width:0!important}
.env-permission-copy b{font-size:12px!important;line-height:1.2!important;color:var(--text)!important}
.env-permission-copy small{font-size:10.5px!important;line-height:1.25!important;color:var(--muted)!important}

/* SEO: acciones siempre legibles, uniformes y alineadas. */
.seo-tool-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(150px,190px)) minmax(190px,max-content)!important;
  gap:12px!important;
  align-items:center!important;
}
.seo-tool-grid>a.soft{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:11px!important;
  background:#0e2a3d!important;
  border:1px solid #0e2a3d!important;
  color:#fff!important;
  font-weight:850!important;
  opacity:1!important;
  text-decoration:none!important;
  box-shadow:0 7px 18px rgba(14,42,61,.12)!important;
}
.seo-tool-grid>a.soft i,.seo-tool-grid>a.soft span{color:#fff!important;opacity:1!important}
.seo-tool-grid>a.soft:hover{
  background:#12384f!important;
  border-color:#12384f!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}
.seo-tool-grid>.seo-health-chip{margin-left:0!important;justify-content:center!important;min-height:42px!important}

/* Suscripciones Admin: el aviso Próximamente no toca bordes ni bloques vecinos. */
.plan-card.coming-soon-plan-card .plan-coming-soon-note{
  margin:22px 18px 20px!important;
  padding:13px 14px!important;
}
.plan-card.coming-soon-plan-card .plan-coming-soon-note + .plan-limits{
  margin-top:0!important;
}
.plan-card.coming-soon-plan-card .plan-actions{
  margin-bottom:16px!important;
}

@media(max-width:980px){
  .seo-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .env-permission-status{min-width:0!important}
}
@media(max-width:700px){
  .seo-tool-grid{grid-template-columns:1fr!important}
  .env-permission-status{width:100%!important}
  .plan-card.coming-soon-plan-card .plan-coming-soon-note{margin:18px 14px!important}
}


/* ZYNKO V2.31.66 · Sistema premium global para cabeceras de cards */
.panel > .panel-head.zynko-card-head,
.panel.spaced > .panel-head.zynko-card-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:-2px -2px 22px!important;
  padding:14px 16px!important;
  min-height:72px!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 18%,var(--line,#dde7ec))!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent,#12a88a) 4%,var(--surface,#fff)),var(--surface,#fff))!important;
  box-shadow:0 8px 24px rgba(15,39,56,.045)!important;
}
.zynko-card-head-copy{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
.zynko-card-head-icon{
  width:46px!important;height:46px!important;min-width:46px!important;
  display:grid!important;place-items:center!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--accent,#12a88a) 12%,var(--surface,#fff))!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 23%,var(--line,#dde7ec))!important;
  color:var(--accent2,#0d8b76)!important;
  font-size:17px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)!important;
}
.zynko-card-head-text{display:grid!important;gap:4px!important;min-width:0!important}
.zynko-card-head-text>b,.zynko-card-head-text>h2,.zynko-card-head-text>h3,.zynko-card-head-text>h4{
  display:block!important;margin:0!important;color:var(--text,#10283a)!important;
  font-size:15px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:-.012em!important;
}
.zynko-card-head-text>small{
  display:block!important;margin:0!important;color:var(--muted,#687d90)!important;
  font-size:11.5px!important;line-height:1.48!important;font-weight:500!important;
}
.zynko-card-head-context,
.zynko-card-head-side.status-chip,
.zynko-card-head-side.ui-badge,
.zynko-card-head-side.status-badge{
  flex:0 0 auto!important;
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  min-height:34px!important;padding:7px 11px!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 24%,var(--line,#dde7ec))!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--accent,#12a88a) 8%,var(--surface,#fff))!important;
  color:var(--accent2,#0b806d)!important;
  font-size:11px!important;font-weight:800!important;white-space:nowrap!important;
}
.zynko-card-head-context i{font-size:10px!important}
.zynko-card-head-side{margin-left:auto!important}
.zynko-card-head-side.primary,
.zynko-card-head-side.soft,
.zynko-card-head-side>a,
.zynko-card-head-side>button{
  flex:0 0 auto!important;
}
/* Evita duplicar iconos inline: el sistema global ya les da una caja dedicada. */
.zynko-card-head-text>b>i:first-child,
.zynko-card-head-text>h2>i:first-child,
.zynko-card-head-text>h3>i:first-child{margin-right:0!important}

/* Componentes internos que funcionan como cards reciben la misma jerarquía visual. */
.turnstile-admin-head,.whatsapp-admin-head,.social-placement-copy,.billing-plan-box-head,
.webchat-advanced-head,.site-analytics-panel>.panel-head{
  border-radius:14px;
}
.turnstile-admin-head,.whatsapp-admin-head{
  padding:14px!important;
  border:1px solid var(--line)!important;
  background:var(--surface2)!important;
}

@media(max-width:760px){
  .panel > .panel-head.zynko-card-head,.panel.spaced > .panel-head.zynko-card-head{
    align-items:stretch!important;flex-direction:column!important;padding:13px!important;gap:12px!important;
  }
  .zynko-card-head-copy{grid-template-columns:42px minmax(0,1fr)!important;gap:11px!important}
  .zynko-card-head-icon{width:42px!important;height:42px!important;min-width:42px!important}
  .zynko-card-head-context,.zynko-card-head-side{margin-left:0!important;width:100%!important;justify-content:center!important}
  .zynko-card-head-side.primary,.zynko-card-head-side.soft{width:100%!important}
}

/* ZYNKO V2.31.66 · Fullscreen con un solo scroll y navegación persistente */
html{scrollbar-gutter:auto}
html.zynko-fullscreen-shell-root{scrollbar-width:none!important}
html.zynko-fullscreen-shell-root::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.zynko-fullscreen-shell #zynkoFullscreenFrame{overscroll-behavior:contain}

/* ZYNKO V2.31.67 · Cabeceras premium renderizadas por vista (sin parche JS) */
.premium-card-head{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-height:72px!important;
  margin:0 0 20px!important;
  padding:14px 16px!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 20%,var(--line,#dce6ec))!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent,#12a88a) 5%,var(--surface,#fff)),var(--surface,#fff))!important;
  box-shadow:0 9px 26px rgba(15,39,56,.045)!important;
}
.panel>.premium-card-head:first-child{margin-top:0!important}
.premium-card-head-icon{
  width:46px!important;height:46px!important;min-width:46px!important;
  display:grid!important;place-items:center!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--accent,#12a88a) 13%,var(--surface,#fff))!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 25%,var(--line,#dce6ec))!important;
  color:var(--accent2,#0d806b)!important;
  font-size:17px!important;
}
.premium-card-head>div:not(.head-actions):not(.analytics-head-actions),
.premium-card-head-copy{display:grid!important;gap:4px!important;min-width:0!important;flex:1 1 auto!important}
.premium-card-head b{font-size:15px!important;line-height:1.28!important;font-weight:900!important;color:var(--text,#10283a)!important}
.premium-card-head small{display:block!important;color:var(--muted,#6f8293)!important;line-height:1.45!important;font-weight:500!important}
.premium-card-head>div>b>i:first-child{display:none!important}
.premium-card-head>:last-child:not(.premium-card-head-copy):not(div){margin-left:auto!important}
.premium-card-head .head-actions,.premium-card-head .analytics-head-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
.premium-card-head-badge{
  margin-left:auto!important;display:inline-flex!important;align-items:center!important;gap:7px!important;
  min-height:34px!important;padding:7px 11px!important;border-radius:999px!important;
  border:1px solid color-mix(in srgb,var(--accent,#12a88a) 22%,var(--line,#dce6ec))!important;
  background:color-mix(in srgb,var(--accent,#12a88a) 8%,var(--surface,#fff))!important;
  color:var(--accent2,#0d806b)!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important;
}
.standalone-card-head{margin-bottom:18px!important}
.compact-card-head{min-height:62px!important;padding:10px 12px!important;margin:0 0 14px!important}
.compact-card-head .premium-card-head-icon{width:40px!important;height:40px!important;min-width:40px!important}
.inbox-premium-head{margin:0!important}
.inbox-view-title.premium-card-head{width:100%!important}
.info-title.premium-card-head{border-left:0!important;border-right:0!important;border-top:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.users-filter-panel,.users-directory-panel,.company-filters,.company-directory-panel{padding-top:18px!important}
/* Las cards KPI mantienen su composición propia: no reciben cabecera grande. */
.company-kpis article,.premium-kpis article,.analytics-kpi,.channel-overview>div{isolation:isolate}
@media(max-width:760px){
  .premium-card-head{align-items:stretch!important;flex-wrap:wrap!important;padding:13px!important;gap:11px!important}
  .premium-card-head-icon{width:42px!important;height:42px!important;min-width:42px!important}
  .premium-card-head .head-actions,.premium-card-head .analytics-head-actions,.premium-card-head-badge{margin-left:0!important;width:100%!important;justify-content:center!important}
}


/* ZYNKO V2.31.69 · Bandeja a altura completa, sin scroll exterior ni espacio muerto */
@media (min-width:761px){
  html:has(body.page-inbox),
  body.page-inbox{
    height:100%;
    min-height:100%;
    overflow:hidden!important;
    overscroll-behavior:none;
  }

  body.page-inbox .app{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
  }

  body.page-inbox .main{
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }

  body.page-inbox .main>header{
    flex:0 0 auto!important;
  }

  body.page-inbox .main>main{
    flex:1 1 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }

  body.page-inbox .inbox-premium-toolbar{
    flex:0 0 auto!important;
  }

  body.page-inbox .inbox-layout{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }

  body.page-inbox .inbox-layout>.panel{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }

  body.page-inbox .conv-list,
  body.page-inbox .chat,
  body.page-inbox .info{
    min-height:0!important;
    max-height:100%!important;
  }

  body.page-inbox .conversation-scroll,
  body.page-inbox .messages,
  body.page-inbox .info{
    overscroll-behavior:contain;
  }
}

@media (max-width:760px){
  body.page-inbox,
  body.page-inbox .app,
  body.page-inbox .main,
  body.page-inbox .main>main{
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow:visible!important;
  }
}


/* ZYNKO V2.31.70 · Ajustes puntuales de Bandeja y NIVO Web Chat */
/* Bandeja: separación inferior real para Seguimiento dentro de Cliente 360°. */
body.page-inbox .info{
  padding-bottom:18px!important;
}
body.page-inbox .info-block.followup-block{
  margin-bottom:16px!important;
  padding-bottom:14px!important;
}
body.page-inbox .followup-form{
  padding-bottom:2px!important;
}

/* NIVO Web Chat: icono y texto del encabezado siempre permanecen en la misma fila. */
.nivo-webchat-page .premium-card-head{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:14px!important;
  row-gap:10px!important;
}
.nivo-webchat-page .premium-card-head>.premium-card-head-icon{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
}
.nivo-webchat-page .premium-card-head>div:not(.head-actions):not(.analytics-head-actions){
  grid-column:2!important;
  grid-row:1!important;
  align-self:center!important;
  min-width:0!important;
}
.nivo-webchat-page .premium-card-head>.head-actions,
.nivo-webchat-page .premium-card-head>.analytics-head-actions,
.nivo-webchat-page .premium-card-head>.premium-card-head-badge,
.nivo-webchat-page .premium-card-head>a,
.nivo-webchat-page .premium-card-head>button{
  grid-column:3!important;
  grid-row:1!important;
  align-self:center!important;
  margin-left:0!important;
}
@media(max-width:760px){
  .nivo-webchat-page .premium-card-head{
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
  }
  .nivo-webchat-page .premium-card-head>.premium-card-head-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
  }
  .nivo-webchat-page .premium-card-head>.head-actions,
  .nivo-webchat-page .premium-card-head>.analytics-head-actions,
  .nivo-webchat-page .premium-card-head>.premium-card-head-badge,
  .nivo-webchat-page .premium-card-head>a,
  .nivo-webchat-page .premium-card-head>button{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    width:100%!important;
    justify-content:center!important;
  }
}
\n\n/* ZYNKO V2.31.72 · Cliente 360° compacto y desplegable */\nbody.page-inbox .client360-more-wrap{\n  margin-top:12px!important;\n  padding-bottom:14px!important;\n}\nbody.page-inbox .client360-more-toggle{\n  width:100%!important;\n  min-height:48px!important;\n  padding:9px 11px!important;\n  border:1px solid #cfe5df!important;\n  border-radius:12px!important;\n  background:#f5fbf9!important;\n  color:#163247!important;\n  display:flex!important;\n  align-items:center!important;\n  justify-content:space-between!important;\n  gap:10px!important;\n  text-align:left!important;\n  cursor:pointer!important;\n}\nbody.page-inbox .client360-more-toggle>span{\n  display:grid!important;\n  grid-template-columns:28px minmax(0,1fr)!important;\n  grid-template-rows:auto auto!important;\n  column-gap:9px!important;\n  align-items:center!important;\n  min-width:0!important;\n}\nbody.page-inbox .client360-more-toggle>span>i{\n  grid-row:1/3!important;\n  width:28px!important;\n  height:28px!important;\n  border-radius:9px!important;\n  display:grid!important;\n  place-items:center!important;\n  background:#dff5ef!important;\n  color:#0d806b!important;\n}\nbody.page-inbox .client360-more-toggle b{font-size:11.5px!important;line-height:1.25!important}\nbody.page-inbox .client360-more-toggle small{font-size:9px!important;line-height:1.25!important;color:#718397!important;margin-top:2px!important}\nbody.page-inbox .client360-more-chevron{color:#6c8194!important;transition:transform .18s ease!important}\nbody.page-inbox .client360-more-toggle.is-open .client360-more-chevron{transform:rotate(180deg)!important}\nbody.page-inbox .client360-more-panel{\n  margin-top:10px!important;\n  padding:0 2px 6px!important;\n}\nbody.page-inbox .client360-more-panel[hidden]{display:none!important}\nbody.page-inbox .client360-more-panel .info-block:first-child{margin-top:0!important}\nbody.page-inbox .client360-more-panel .info-block:last-child{margin-bottom:4px!important}\nbody.page-inbox .client360-more-panel .notes-block{padding-bottom:4px!important}\n@media(max-width:1100px){\n  body.page-inbox .client360-more-wrap{grid-column:1/-1!important}\n}\n
/* ZYNKO V2.31.72 · Bandeja: emojis estables, respuestas rápidas y NIVO IA */
body:has(.inbox-premium-toolbar) .emoji-picker-premium{
  height:300px!important;
  max-height:300px!important;
  display:flex!important;
  flex-direction:column!important;
}
body:has(.inbox-premium-toolbar) .emoji-picker-premium[hidden]{display:none!important}
body:has(.inbox-premium-toolbar) .emoji-tabs{flex:0 0 auto!important}
body:has(.inbox-premium-toolbar) .emoji-groups{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding-right:3px!important}
@media(max-width:760px){body:has(.inbox-premium-toolbar) .emoji-picker-premium{height:min(300px,42vh)!important;max-height:min(300px,42vh)!important}}

body:has(.inbox-premium-toolbar) #nivoAssist.is-active{
  background:#e8f7f3!important;
  border-color:#b8e5da!important;
  color:#087966!important;
  box-shadow:0 0 0 1px rgba(8,121,102,.03)!important;
}
body:has(.inbox-premium-toolbar) #nivoAssist.is-active i{color:#07856f!important}
body:has(.inbox-premium-toolbar) #nivoAssist.is-inactive{opacity:.72!important}
body:has(.inbox-premium-toolbar) #nivoAssist.is-thinking{opacity:1!important}

body:has(.inbox-premium-toolbar) a.conversation.active,
body:has(.inbox-premium-toolbar) a.conversation[aria-current="true"]{
  background:#eaf8f4!important;
  border-color:#83d4c2!important;
  color:#102a43!important;
  box-shadow:inset 3px 0 0 #0b8a72,0 8px 20px rgba(13,128,107,.08)!important;
}
body:has(.inbox-premium-toolbar) a.conversation.active *,
body:has(.inbox-premium-toolbar) a.conversation[aria-current="true"] *{color:inherit}
body:has(.inbox-premium-toolbar) a.conversation:active{background:#eaf8f4!important}

.quick-reply-modal{width:min(920px,94vw)!important;max-height:min(760px,90vh)!important}
.quick-reply-modal-body{padding:18px 20px!important;overflow-y:auto!important;min-height:0!important}
.quick-reply-library-head,.quick-reply-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.quick-reply-library-head>div,.quick-reply-editor-head>div{display:grid;gap:4px}
.quick-reply-library-head b,.quick-reply-editor-head b{font-size:15px;color:var(--text)}
.quick-reply-library-head small,.quick-reply-editor-head small{color:var(--muted)}
.quick-reply-list{display:grid;gap:10px;max-height:430px;overflow-y:auto;padding-right:4px}
.quick-reply-item{width:100%;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;text-align:left;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);transition:.16s ease;cursor:pointer}
.quick-reply-item:hover{border-color:#9bd9cc;background:#f2fbf8;transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.06)}
.quick-reply-item-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e9f8f4;color:#087966;font-size:16px}
.quick-reply-item-copy{display:grid;gap:3px;min-width:0}
.quick-reply-item-copy b{font-size:13px}
.quick-reply-item-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.quick-reply-item-copy em{font-style:normal;font-size:10px;color:#087966}
.quick-reply-item-actions{color:#78909c}
.quick-reply-editor .settings-grid{margin-top:4px}
.whatsapp-format-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--surface2)}
.whatsapp-format-toolbar button{width:34px;height:32px;padding:0;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);border-radius:8px;color:var(--text)}
.whatsapp-format-toolbar span{font-size:10px;color:var(--muted);margin-left:4px}
#quickReplyBody{border-radius:0 0 12px 12px!important;min-height:150px}
.quick-reply-modal-footer{border-top:1px solid var(--line)!important}
.quick-reply-actions{margin-top:14px!important}
.quick-reply-attachment{background:#eef7f5!important;border-color:#cfe8e2!important;color:#087966!important}


.nivo-master-switch .switch-label-text{font-weight:800!important}
.nivo-master-switch input:checked~.switch-label-text{color:#087966!important}

@media(max-width:620px){
  .quick-reply-modal-body{padding:14px!important}
  .quick-reply-library-head,.quick-reply-editor-head{align-items:flex-start;flex-direction:column}
  .quick-reply-library-head button,.quick-reply-editor-head button{width:100%}
  .quick-reply-item{grid-template-columns:38px 1fr 18px;padding:10px}
}

/* ZYNKO V2.31.73 · Switches activos visibles y consistentes */
.switch-line > input[type="checkbox"]:checked + .switch-control,
.switch-line > input[type="checkbox"]:checked + span:not(.switch-label-text),
.panel label.switch-line > input[type="checkbox"]:checked + .switch-control,
.panel label.switch-line > input[type="checkbox"]:checked + span:not(.switch-label-text),
.settings-grid label.switch-line > input[type="checkbox"]:checked + .switch-control,
.settings-grid label.switch-line > input[type="checkbox"]:checked + span:not(.switch-label-text),
.modal-shell label.switch-line > input[type="checkbox"]:checked + .switch-control,
.modal-shell label.switch-line > input[type="checkbox"]:checked + span:not(.switch-label-text),
.nivo-webchat-page label.switch-line > input[type="checkbox"]:checked + .switch-control,
#planModal label.switch-line > input[type="checkbox"]:checked + .switch-control {
  background:#0d9b83!important;
  border-color:#0d9b83!important;
  box-shadow:0 0 0 3px rgba(13,155,131,.10)!important;
}
.switch-line > input[type="checkbox"]:checked + .switch-control::after,
.switch-line > input[type="checkbox"]:checked + span:not(.switch-label-text)::after,
.panel label.switch-line > input[type="checkbox"]:checked + .switch-control::after,
.settings-grid label.switch-line > input[type="checkbox"]:checked + .switch-control::after,
.modal-shell label.switch-line > input[type="checkbox"]:checked + .switch-control::after,
.nivo-webchat-page label.switch-line > input[type="checkbox"]:checked + .switch-control::after {
  left:19px!important;
}
.switch-line.is-checked > .switch-label-text,
.switch-line:has(> input[type="checkbox"]:checked) > .switch-label-text {
  color:#08705c!important;
}
.switch-line > input[type="checkbox"]:disabled + .switch-control,
.switch-line > input[type="checkbox"]:disabled + span:not(.switch-label-text) {
  opacity:.58!important;
  cursor:not-allowed!important;
}
.switch-line:has(> input[type="checkbox"]:disabled){cursor:not-allowed!important;}

/* ZYNKO V2.31.74 · Emoji picker con tamaño y posición completamente estables */
@media (min-width:761px){
  body:has(.inbox-premium-toolbar) .emoji-picker-premium{
    width:390px!important;
    min-width:390px!important;
    max-width:390px!important;
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
    left:12px!important;
    right:auto!important;
    bottom:104px!important;
    top:auto!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    contain:layout paint!important;
  }
  body:has(.inbox-premium-toolbar) .emoji-tabs{
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
    flex:0 0 43px!important;
    box-sizing:border-box!important;
  }
  body:has(.inbox-premium-toolbar) .emoji-groups{
    height:235px!important;
    min-height:235px!important;
    max-height:235px!important;
    flex:0 0 235px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
    scrollbar-gutter:stable!important;
  }
}
@media (max-width:760px){
  body:has(.inbox-premium-toolbar) .emoji-picker-premium{
    left:12px!important;
    right:12px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:min(300px,42vh)!important;
    min-height:min(300px,42vh)!important;
    max-height:min(300px,42vh)!important;
    bottom:82px!important;
    top:auto!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body:has(.inbox-premium-toolbar) .emoji-tabs{
    flex:0 0 43px!important;
    min-height:43px!important;
    max-height:43px!important;
  }
  body:has(.inbox-premium-toolbar) .emoji-groups{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
  }
}

/* ZYNKO V2.31.75 · Emoji picker fijo, sin saltos ni redimensionado */
#emojiPicker.emoji-picker-premium{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  bottom:104px!important;
  top:auto!important;
  width:420px!important;
  min-width:420px!important;
  max-width:420px!important;
  height:230px!important;
  min-height:230px!important;
  max-height:230px!important;
  padding:10px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-rows:44px minmax(0,1fr)!important;
  align-content:stretch!important;
  contain:layout paint size!important;
  transform:none!important;
}
#emojiPicker.emoji-picker-premium[hidden]{display:none!important}
#emojiPicker .emoji-tabs{
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0 0 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
#emojiPicker .emoji-groups{
  height:166px!important;
  min-height:166px!important;
  max-height:166px!important;
  margin:0!important;
  padding:10px 3px 4px 0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
  scrollbar-gutter:stable!important;
  overscroll-behavior:contain!important;
}
#emojiPicker .emoji-group{
  display:none!important;
  grid-template-columns:repeat(8, minmax(0,1fr))!important;
  grid-auto-rows:38px!important;
  gap:6px!important;
  align-content:start!important;
  min-height:100%!important;
  width:100%!important;
  box-sizing:border-box!important;
}
#emojiPicker .emoji-group.active{display:grid!important}
#emojiPicker .emoji-group button{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  font-size:22px!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  #emojiPicker.emoji-picker-premium{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:82px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:230px!important;
    min-height:230px!important;
    max-height:230px!important;
    grid-template-rows:44px minmax(0,1fr)!important;
  }
  #emojiPicker .emoji-groups{
    height:166px!important;
    min-height:166px!important;
    max-height:166px!important;
  }
  #emojiPicker .emoji-group{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}
@media(max-width:430px){
  #emojiPicker .emoji-group{grid-template-columns:repeat(6,minmax(0,1fr))!important}
}

/* ZYNKO V2.31.77 · Respuestas rápidas con carga premium + Cliente 360° en modal */
body.page-inbox .client360-more-wrap{margin-top:14px!important;padding-bottom:14px!important}
body.page-inbox .client360-more-launch{
  width:100%!important;min-height:58px!important;padding:10px 11px!important;border:1px solid #cfe5df!important;
  border-radius:13px!important;background:#f7fbfa!important;color:#163247!important;display:grid!important;
  grid-template-columns:36px minmax(0,1fr) 28px!important;align-items:center!important;gap:10px!important;text-align:left!important;
  cursor:pointer!important;transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
body.page-inbox .client360-more-launch:hover{border-color:#92d8c9!important;background:#eef9f6!important;transform:translateY(-1px)!important}
body.page-inbox .client360-more-launch-icon{width:36px!important;height:36px!important;border-radius:11px!important;background:#dff5ef!important;color:#0d806b!important;display:grid!important;place-items:center!important}
body.page-inbox .client360-more-launch-copy{display:grid!important;gap:2px!important;min-width:0!important}
body.page-inbox .client360-more-launch-copy b{font-size:11.5px!important;line-height:1.25!important}
body.page-inbox .client360-more-launch-copy small{font-size:9px!important;line-height:1.3!important;color:#718397!important;white-space:normal!important}
body.page-inbox .client360-more-launch-arrow{width:28px!important;height:28px!important;border-radius:9px!important;background:#fff!important;border:1px solid #dce8e5!important;display:grid!important;place-items:center!important;color:#557086!important}
.client360-details-modal{width:min(820px,94vw)!important;max-height:min(760px,90vh)!important}
.client360-details-body{padding:18px 20px!important;overflow-y:auto!important;display:grid!important;gap:16px!important;min-height:0!important}
.client360-modal-section{border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;padding:16px!important;display:grid!important;gap:14px!important}
.client360-modal-section-head{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
.client360-modal-section-head>span{width:42px!important;height:42px!important;border-radius:12px!important;background:#e8f8f4!important;color:#0d806b!important;display:grid!important;place-items:center!important}
.client360-modal-section-head>div{display:grid!important;gap:3px!important}.client360-modal-section-head b{font-size:13px!important}.client360-modal-section-head small{font-size:10px!important;color:var(--muted)!important}
.client360-modal-section form{display:grid!important;gap:12px!important}.client360-modal-section .mini-note{margin-top:0!important}

.quick-reply-upload-field{margin-top:10px!important}
.quick-reply-upload-zone{
  margin-top:0!important;min-height:150px!important;padding:20px!important;border:1.5px dashed #9fbeb7!important;border-radius:15px!important;
  background:#f8fcfb!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;text-align:center!important;cursor:pointer!important;transition:.16s ease!important;
}
.quick-reply-upload-zone:hover,.quick-reply-upload-zone.drag{border-color:#0d9b83!important;background:#eefaf6!important;box-shadow:0 0 0 3px rgba(13,155,131,.08)!important}
.quick-reply-upload-zone .upload-zone-main{display:inline-flex!important;align-items:center!important;gap:10px!important;font-size:13px!important}
.quick-reply-upload-zone .upload-zone-main i{font-size:22px!important;color:#0d806b!important}
.quick-reply-upload-zone>small{color:var(--muted)!important;font-size:10px!important}
.quick-reply-upload-cta{display:inline-flex!important;align-items:center!important;gap:7px!important;margin-top:4px!important;padding:8px 12px!important;border-radius:10px!important;background:#0b2b43!important;color:#fff!important;font-size:10.5px!important;font-weight:800!important}
.quick-reply-upload-preview{margin-top:10px!important}
.quick-reply-upload-file{display:grid!important;grid-template-columns:38px minmax(0,1fr) 30px!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border:1px solid #cfe5df!important;border-radius:12px!important;background:#f3faf8!important;color:#17354b!important}
.quick-reply-upload-file>i{width:38px!important;height:38px!important;border-radius:10px!important;background:#dff5ef!important;color:#0d806b!important;display:grid!important;place-items:center!important}
.quick-reply-upload-file>span{display:grid!important;gap:2px!important;min-width:0!important}.quick-reply-upload-file b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11.5px!important}.quick-reply-upload-file small{font-size:9.5px!important;color:var(--muted)!important}
.quick-reply-editor .settings-grid{row-gap:18px!important}
.quick-reply-editor .field.full+ .field.full{margin-top:2px!important}
@media(max-width:620px){.client360-details-body{padding:14px!important}.client360-modal-section{padding:13px!important}.client360-modal-section-head{grid-template-columns:38px minmax(0,1fr) auto!important}.quick-reply-upload-zone{min-height:135px!important;padding:16px!important}}


/* ZYNKO V2.31.78 · Historial completo y estable en Bandeja */
body.page-inbox #messages{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  scroll-behavior:auto!important;
}
body.page-inbox #messages .message-wrap{flex:0 0 auto!important;}

/* ZYNKO V2.31.79 · Historial completo, cierre de chat y satisfacción */
body:has(.inbox-premium-toolbar) .chat-actions .history-jump{
  background:color-mix(in srgb,var(--accent) 8%,var(--surface))!important;
  color:var(--accent)!important;
  border-color:color-mix(in srgb,var(--accent) 24%,var(--line))!important;
}
body:has(.inbox-premium-toolbar) .chat-actions .history-jump:hover{
  background:color-mix(in srgb,var(--accent) 14%,var(--surface))!important;
  filter:none!important;
}
.customer-survey-status{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:10px;
  padding:10px 11px;
  border:1px solid #eadfb1;
  border-radius:12px;
  background:#fffdf3;
}
.customer-survey-status>span{
  width:31px;height:31px;border-radius:9px;display:grid;place-items:center;
  background:#fff5c7;color:#a66d00;flex:0 0 auto;
}
.customer-survey-status div{min-width:0;display:grid;gap:2px}
.customer-survey-status small{font-size:9px;text-transform:uppercase;font-weight:800;color:var(--muted)}
.customer-survey-status b{font-size:12px;color:var(--text)}
.customer-survey-status em{font-size:10px;color:var(--muted);font-style:normal;overflow-wrap:anywhere}
@media(max-width:1280px) and (min-width:761px){
  body:has(.inbox-premium-toolbar) .chat-actions .history-jump{width:34px!important;min-width:34px!important;padding:0!important;font-size:0!important}
  body:has(.inbox-premium-toolbar) .chat-actions .history-jump i{font-size:11px!important}
}

/* V2.31.86 · NIVO learning / tenant isolation */
.nivo-learning-section .nivo-list{max-height:460px}
.nivo-learning-row{grid-template-columns:minmax(0,1fr) auto!important}
.nivo-learning-row>div:first-child{display:grid;gap:5px}
.nivo-learning-row .nivo-row-actions{display:flex!important;align-items:center;gap:8px}
.nivo-learning-section .status-badge.warning{background:#fff6df;color:#8b5b00;border-color:#f2d18a}
@media(max-width:760px){.nivo-learning-row{grid-template-columns:1fr!important}.nivo-learning-row .nivo-row-actions{justify-content:flex-end}}

/* V2.31.87 · Seguridad anti-spam NIVO Web Chat */
.spam-risk{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;background:#fff7e8;border:1px solid #f2d39b;color:#9a5b00;font-size:10px;font-weight:700}.origin-badge{display:inline-flex;align-items:center;gap:5px;max-width:150px;padding:3px 7px;border-radius:999px;background:#f5faf9;border:1px solid var(--line);color:var(--muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-security-status{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border:1px solid #cfe9e2;border-radius:12px;background:#f2fbf8}.customer-security-status>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e3f7f1;color:#08705c}.customer-security-status>div{display:grid;gap:2px;min-width:0}.customer-security-status small{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:700}.customer-security-status b{font-size:12px}.customer-security-status em{font-style:normal;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-security-status.is-warning{background:#fff9ed;border-color:#f2d39b}.customer-security-status.is-warning>span{background:#fff0cf;color:#9a5b00}.webchat-antispam-note{margin:2px 0 4px!important;align-items:flex-start!important}.webchat-antispam-note>div{display:grid;gap:3px}.webchat-antispam-note span{font-size:11px;line-height:1.45;color:var(--muted)}

/* ZYNKO V2.31.101 · Automatizaciones, campañas y social automation */
.automation-welcome{align-items:center}.automation-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.automation-capability-grid article{display:flex;gap:13px;align-items:flex-start;padding:18px;border:1px solid var(--line,#dce6e8);border-radius:16px;background:var(--surface,#fff);min-width:0}.automation-capability-grid article>i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf8f5;color:#0f8d77;font-size:17px;flex:0 0 38px}.automation-capability-grid b,.automation-capability-grid small{display:block}.automation-capability-grid small{margin-top:4px;line-height:1.45;color:var(--muted,#65768a)}
.automation-list{display:grid;gap:12px}.automation-row{display:flex;align-items:center;gap:14px;border:1px solid var(--line,#dce6e8);border-radius:14px;padding:14px;background:var(--surface,#fff);min-width:0}.automation-row-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf8f5;color:#0f8d77;flex:0 0 42px}.automation-row-main{min-width:0;flex:1}.automation-row-main>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.automation-row-main small,.automation-row-main p{display:block;margin-top:4px;color:var(--muted,#65768a)}.automation-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.automation-flow-preview{display:flex!important;align-items:center;gap:8px!important;margin-top:9px!important;flex-wrap:wrap}.automation-flow-preview span,.automation-builder-preview span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:10px;background:#f2f8f7;color:#25465a;font-size:12px;font-weight:700}.automation-flow-preview>i,.automation-builder-preview>i{color:#93a6b1;font-size:11px}.automation-empty{display:grid;place-items:center;text-align:center;padding:34px;border:1px dashed #c6d8d9;border-radius:14px;background:#fbfdfd}.automation-empty>i{font-size:24px;color:#0f8d77;margin-bottom:9px}.automation-empty small{color:var(--muted,#65768a);max-width:560px;margin-top:5px}.campaign-stats{display:flex!important;gap:14px!important;flex-wrap:wrap!important;margin-top:8px!important}.campaign-stats span{font-size:12px;color:var(--muted,#65768a)}.campaign-stats b{color:var(--text,#122033)}.provider-dependency-note{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f3f8fb;border:1px solid #d9e6ec;color:#476273;font-size:13px;line-height:1.5}.provider-dependency-note i{color:#0f8d77;margin-top:2px}.automation-modal{width:min(780px,calc(100vw - 36px))!important}.automation-builder-preview{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:4px 0 2px;padding:14px;border:1px dashed #c8d9dc;border-radius:13px;background:#fbfdfd}
@media(max-width:1100px){.automation-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.automation-capability-grid{grid-template-columns:1fr}.automation-row{align-items:flex-start;flex-wrap:wrap}.automation-row-actions{width:100%;justify-content:flex-end}.automation-flow-preview>i{transform:rotate(90deg)}.automation-flow-preview{align-items:flex-start;flex-direction:column}.automation-builder-preview>i{transform:rotate(90deg)}.automation-builder-preview{flex-direction:column;align-items:stretch}.automation-builder-preview span{justify-content:center}}

/* ZYNKO V2.31.102 · conectores reales y WhatsApp QR */
.provider-field-hidden{display:none!important}.channel-tile-actions{flex-wrap:wrap}.channel-qr i{font-size:1rem}


/* ZYNKO V2.31.107 · Salud integral del servidor */
.server-health-panel .panel-head{gap:14px;align-items:center}.server-health-summary{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:14px;font-size:12px;font-weight:850;border:1px solid #d8e7e4;background:#f7fbfa}.server-health-summary.is-ok{color:#087c67;background:#edf9f6;border-color:#bfe8de}.server-health-summary.is-warning{color:#9a5b00;background:#fff8e8;border-color:#f2dfad}.server-health-summary.is-error{color:#a82f2f;background:#fff2f2;border-color:#efcaca}.server-health-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 14px}.server-health-kpis>span{display:grid;gap:3px;padding:12px 14px;border:1px solid #dfeae7;border-radius:14px;background:#fbfdfd;min-width:0}.server-health-kpis b{font-size:14px;color:#10233f;overflow-wrap:anywhere}.server-health-kpis small{color:#6b7a90;font-size:11px}.server-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.server-health-card{display:flex;gap:11px;padding:13px;border:1px solid #dfe8e6;border-radius:14px;background:#fff;min-width:0}.server-health-state{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.server-health-card.is-ok .server-health-state{background:#e8f8f3;color:#0b8b72}.server-health-card.is-warning .server-health-state{background:#fff5dc;color:#a96b00}.server-health-card.is-error .server-health-state{background:#fff0f0;color:#b63b3b}.server-health-card>div{display:grid;gap:4px;min-width:0}.server-health-card small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#718096;font-weight:800}.server-health-card b{font-size:13px;color:#10233f}.server-health-card code{font-size:11px;padding:4px 7px;border-radius:8px;background:#f2f7f6;color:#135f55;white-space:normal;overflow-wrap:anywhere}.server-health-card p{margin:0;color:#66768d;font-size:11px;line-height:1.45}.server-health-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:14px}.server-health-actions small{color:#6b7a90}@media(max-width:900px){.server-health-kpis,.server-health-grid{grid-template-columns:1fr 1fr}.server-health-summary{margin-left:0}}@media(max-width:620px){.server-health-kpis,.server-health-grid{grid-template-columns:1fr}.server-health-actions{align-items:stretch;flex-direction:column}.server-health-summary{width:100%;justify-content:center}}


/* ZYNKO V2.31.110 · Bandeja CRM, acciones y modales consistentes */
@media(min-width:1180px){body:has(.inbox-premium-toolbar) .inbox-filters{grid-template-columns:repeat(6,minmax(130px,1fr)) 132px!important}.inbox-reset-field{display:flex!important;flex-direction:column!important;justify-content:flex-end!important}.clear-inbox-filters{height:40px!important;min-height:40px!important;width:132px!important;margin:0!important}}
#emojiPicker .emoji-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 8px;margin-bottom:8px;border-bottom:1px solid var(--line)}
#emojiPicker .emoji-picker-head b{font-size:12px;color:var(--text)}
#emojiPicker #emojiClose{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--surface2);color:var(--text);cursor:pointer}
#emojiPicker #emojiClose:hover{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.zynko-delete-auth{text-align:left;display:grid;gap:8px}.zynko-delete-auth p{margin:0 0 4px;color:#64748b;font-size:13px;line-height:1.45}.zynko-delete-auth label{font-size:12px;font-weight:800;color:#172033}.swal2-popup .zynko-delete-password{display:block!important;width:100%!important;margin:0!important;box-sizing:border-box!important;min-height:44px!important;font-size:14px!important}
body:has(.inbox-premium-toolbar) .inbox-layout.chat-expanded{grid-template-columns:minmax(0,1fr)!important}
body:has(.inbox-premium-toolbar) .inbox-layout.chat-expanded>.conv-list,body:has(.inbox-premium-toolbar) .inbox-layout.chat-expanded>.info{display:none!important}
body:has(.inbox-premium-toolbar) .inbox-layout.chat-expanded>.chat{grid-column:1/-1!important;width:100%!important}
.server-health-actions{justify-content:space-between!important}.server-health-actions>a{order:0}.server-health-actions>small{order:1;text-align:right}
@media(max-width:760px){.server-health-actions>small{text-align:left}}


/* ZYNKO V2.31.110 · UX robusta de Bandeja y Salud */
.inbox-reset-field{align-self:end!important}.inbox-reset-field .clear-inbox-filters{align-self:stretch!important}
.server-health-actions{justify-content:space-between!important;align-items:center!important}.server-health-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.server-health-actions>small{text-align:right;max-width:720px}
.swal2-popup .swal2-input[type=password]{display:block!important;width:calc(100% - 2em)!important;margin:1em auto 0!important;min-height:46px!important;font-size:14px!important}
.customer-survey-status em{display:block}
@media(max-width:760px){.server-health-actions{align-items:stretch!important;flex-direction:column!important}.server-health-buttons{width:100%}.server-health-buttons>*{flex:1}.server-health-actions>small{text-align:left!important}.inbox-reset-field .clear-inbox-filters{width:100%!important}}

/* ZYNKO V2.31.112 · Dashboard operativo y centro de servicios */
.dashboard-quick-actions,.service-center{overflow:hidden}.dashboard-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-quick-card{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:11px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);text-decoration:none;min-width:0;transition:transform .16s ease,border-color .16s ease}.dashboard-quick-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.dashboard-quick-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#e3f7f2;color:var(--accent2);font-size:18px}.dashboard-quick-card>span:nth-child(2){display:grid;gap:2px;min-width:0}.dashboard-quick-card small{white-space:normal}.dashboard-quick-card em{font-style:normal;font-size:11px;color:#9a6200;background:#fff5d8;border:1px solid #ffe4a5;width:max-content;max-width:100%;padding:3px 7px;border-radius:99px}.service-recommendation{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;margin-bottom:12px;border-radius:12px;background:#fff7df;border:1px solid #f5d77f;color:#7b5600}.service-recommendation>div{display:grid;gap:2px}.service-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--line);border-radius:15px;padding:15px;background:var(--surface2)}.service-state-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center}.service-state-icon.is-running{background:#def7ef;color:#08705c}.service-state-icon.is-stopped{background:#fde9e8;color:#b13a31}.service-copy{display:grid;gap:3px}.service-state{display:inline-flex;width:max-content;padding:4px 8px;border-radius:99px;font-size:11px;font-weight:700}.service-state.running{background:#dff5ef;color:#08705c}.service-state.stopped{background:#fde9e8;color:#a73630}.service-state.working{background:#eef3ff;color:#315da8}.service-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.service-actions button{white-space:nowrap}.service-footnote{display:flex;gap:8px;align-items:center;margin-top:10px;color:var(--muted);font-size:12px}.dashboard-pref-section{display:grid;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.dashboard-personalize-card{max-height:min(86vh,780px);overflow:auto}
.status.warning{color:#9a6200}.status.danger{color:#b13a31}
@media(max-width:1100px){.dashboard-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{grid-template-columns:52px 1fr}.service-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:620px){.dashboard-quick-grid{grid-template-columns:1fr}.service-card{grid-template-columns:42px 1fr}.service-state-icon{width:42px;height:42px}.service-actions{display:grid;grid-template-columns:1fr 1fr}.service-actions .primary{grid-column:1/-1}.service-actions button{width:100%}.dashboard-quick-card{grid-template-columns:40px 1fr 16px}.dashboard-quick-icon{width:40px;height:40px}.server-health-buttons{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.server-health-buttons>*{width:100%;justify-content:center}.server-health-buttons .primary{grid-column:1/-1}}


/* ZYNKO V2.31.112 · consolidación visual, salud, encuestas, documentación y KPIs */
.dashboard-health-status{
  margin-left:auto!important;display:grid!important;grid-template-columns:10px auto!important;column-gap:7px!important;row-gap:1px!important;
  align-items:center!important;min-width:140px!important;padding:8px 12px!important;border-radius:12px!important;border:1px solid var(--line)!important;background:var(--surface2)!important
}
.dashboard-health-status>i{grid-row:1/3;font-size:8px!important}
.dashboard-health-status>b{font-size:12px!important;line-height:1.2!important}
.dashboard-health-status>small{font-size:10px!important;color:var(--muted)!important}
.dashboard-health-status.ok{background:#eaf8f4!important;border-color:#bfe8dc!important;color:#08705c!important}
.dashboard-health-status.warning{background:#fff7df!important;border-color:#f3d98a!important;color:#8a6100!important}
.dashboard-health-status.danger{background:#fff0ef!important;border-color:#efc9c6!important;color:#aa3730!important}

.site-analytics-panel>.panel-head{display:flex!important;align-items:center!important;justify-content:flex-start!important}
.site-analytics-panel>.panel-head>.analytics-head-actions{margin-left:auto!important;width:auto!important}
.site-analytics-panel>.panel-head>.premium-card-head-icon{flex:0 0 46px!important}
@media(max-width:700px){
 .site-analytics-panel>.panel-head{display:flex!important;align-items:flex-start!important}
 .site-analytics-panel>.panel-head>.analytics-head-actions{width:100%!important;margin-left:0!important}
 .dashboard-health-status{width:100%!important;margin-left:0!important}
}

.premium-kpis>article,.kpis>article,.channel-overview>div,.webchat-kpi,.analytics-kpi,.integration-card,.api-key-row,.dashboard-quick-card{
 transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;position:relative!important;overflow:hidden
}
.premium-kpis>article:after,.kpis>article:after,.channel-overview>div:after,.webchat-kpi:after,.analytics-kpi:after{
 content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-36px;bottom:-42px;background:color-mix(in srgb,var(--accent,#12a88a) 9%,transparent);transition:transform .25s ease,opacity .25s ease;pointer-events:none
}
@media(hover:hover) and (pointer:fine){
 .premium-kpis>article:hover,.kpis>article:hover,.channel-overview>div:hover,.webchat-kpi:hover,.analytics-kpi:hover,.integration-card:hover,.api-key-row:hover,.dashboard-quick-card:hover{transform:translateY(-4px)!important;box-shadow:0 16px 34px rgba(15,23,42,.09)!important;border-color:color-mix(in srgb,var(--accent,#12a88a) 28%,var(--line))!important}
 .premium-kpis>article:hover:after,.kpis>article:hover:after,.channel-overview>div:hover:after,.webchat-kpi:hover:after,.analytics-kpi:hover:after{transform:scale(1.45);opacity:.9}
}
@media(prefers-reduced-motion:reduce){.premium-kpis>article,.kpis>article,.channel-overview>div,.webchat-kpi,.analytics-kpi,.integration-card,.api-key-row,.dashboard-quick-card{transition:none!important;transform:none!important}}

#emojiPicker .emoji-tab,#emojiPicker .emoji-group button{outline:none!important;box-shadow:none!important}
#emojiPicker .emoji-tab:focus,#emojiPicker .emoji-tab:focus-visible,#emojiPicker .emoji-group button:focus,#emojiPicker .emoji-group button:focus-visible{
 outline:2px solid color-mix(in srgb,var(--accent,#12a88a) 45%,transparent)!important;outline-offset:1px!important;box-shadow:none!important
}
#emojiPicker .emoji-tab:hover,#emojiPicker .emoji-group button:hover{transform:none!important}
#emojiPicker .emoji-group button::before,#emojiPicker .emoji-group button::after,#emojiPicker .emoji-tab::before,#emojiPicker .emoji-tab::after{content:none!important}

.preview-chat-live{display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#fff!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(15,23,42,.08)!important}
.preview-chat-live .preview-head{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;background:#0f172a!important;color:#fff!important;padding:13px!important}
.preview-chat-live .preview-head-copy{display:grid!important;gap:2px!important;min-width:0!important}
.preview-chat-live .preview-head-copy>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preview-chat-live .preview-head-copy>small{color:#cbd5e1!important;font-size:10px!important}
.preview-status-row{display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important;margin-top:4px!important}
.preview-status-row>span{display:inline-flex;gap:4px;align-items:center;padding:3px 6px;border-radius:999px;background:#20304a;font-size:8px;font-weight:800}
.preview-status-row>span i{font-size:6px;color:#22c6a3}.preview-status-row>small{font-size:8px;color:#e2e8f0}
.preview-head-actions{display:flex!important;gap:6px!important}.preview-head-actions button{width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid #334155!important;background:#1e293b!important;color:#fff!important;display:grid!important;place-items:center!important}
.preview-history-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:8px 11px!important;border-bottom:1px solid #e5edf1!important;color:#53677a!important;font-size:9px!important}
.preview-history-bar>div{display:flex!important;gap:5px!important}.preview-history-bar button{border:1px solid #cfe1df!important;background:#fff!important;color:#0f766e!important;border-radius:9px!important;padding:5px 8px!important}
.preview-chat-live .preview-body{flex:1 1 auto!important;min-height:150px!important;padding:14px!important;background:#f7fafb!important;display:block!important}
.preview-message-bubble{max-width:78%!important;border:1px solid #d9e3e8!important;background:#fff!important;border-radius:14px 14px 14px 4px!important;padding:10px!important;display:grid!important;gap:5px!important;color:#223245!important;font-size:11px!important;line-height:1.45!important}
.preview-message-bubble small{font-size:8px!important;font-weight:800!important;color:#64748b!important}
.preview-end-chat{margin:10px!important;padding:9px 10px!important;border:1px solid #f3c7c1!important;background:#fff7f5!important;color:#a84235!important;border-radius:12px!important;display:grid!important;grid-template-columns:26px 1fr 12px!important;gap:8px!important;align-items:center!important}
.preview-end-chat>i:first-child{width:26px;height:26px;border-radius:8px;background:#ffe4df;display:grid;place-items:center}.preview-end-chat b,.preview-end-chat small{display:block}.preview-end-chat b{font-size:9px}.preview-end-chat small{font-size:7px}
.preview-profile-row{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:8px 11px!important;border-top:1px solid #e5edf1!important}.preview-profile-row b{font-size:9px}.preview-profile-row button{border:0;background:#edf9f5;color:#0f766e;border-radius:8px;padding:6px 8px}
.preview-chat-live .preview-input{margin:0 10px 8px!important;border:1px solid #d6e2e7!important;border-radius:11px!important;background:#fff!important;padding:5px 5px 5px 10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#94a3b8!important;font-size:10px!important}
.preview-chat-live .preview-input button{width:34px;height:34px;border:0;border-radius:9px;background:#0f8579;color:#fff}
.preview-brandline{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 8px 8px!important;color:#94a3b8!important;font-size:7px!important}.preview-brandline img{width:14px!important;height:14px!important}

.survey-filters{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;gap:12px!important;align-items:end!important;margin-bottom:16px!important}
.survey-list{display:grid!important;gap:12px!important}.survey-row{padding:14px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface2)!important;display:grid!important;gap:10px!important}
.survey-row-head{display:grid!important;grid-template-columns:40px 1fr auto!important;gap:10px!important;align-items:center!important}.survey-avatar{width:40px;height:40px;border-radius:12px;background:#e4f7f2;color:#08705c;display:grid;place-items:center;font-weight:900}.survey-row-head b,.survey-row-head small{display:block}.survey-row-head small{color:var(--muted);margin-top:2px}
.survey-score{font-size:18px;color:#f0a000;letter-spacing:2px}.survey-score span{font-size:11px;color:var(--muted);letter-spacing:0;margin-left:8px}
.survey-flags{display:flex;gap:8px;flex-wrap:wrap}.survey-flags span{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;background:#f1f5f9;color:#64748b}.survey-flags .yes{background:#e4f7f2;color:#08705c}.survey-flags .no{background:#fff0ef;color:#a73630}
.docs-version-panel .head-actions{min-width:min(420px,100%)}.docs-version-panel .head-actions .select2-container{width:100%!important}.docs-version-card{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.docs-version-card[hidden]{display:none!important}.docs-version-card>div{display:flex;gap:8px;align-items:center}.docs-version-card h3{margin:12px 0 10px}.docs-version-card ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.docs-version-card li{display:flex;gap:8px;align-items:flex-start}.docs-version-card li i{color:var(--accent);margin-top:3px}.docs-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.docs-admin-grid>.panel{margin:0!important}
.public-doc-version{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:18px 0;border:1px solid #dbe7ed;border-radius:16px;background:#fff}.public-doc-version>div{display:flex;gap:10px;align-items:center}.public-doc-version>div>span{width:42px;height:42px;border-radius:12px;background:#e4f7f2;color:#08705c;display:grid;place-items:center}.public-doc-version small,.public-doc-version b{display:block}.public-doc-version select{min-width:320px}.public-release-notes article{padding:16px;border:1px solid #dbe7ed;border-radius:16px;background:#fff;margin-bottom:18px}.public-release-notes article[hidden]{display:none!important}.public-release-notes article>div{display:flex;justify-content:space-between;gap:12px}.public-release-notes ul{display:grid;gap:7px;list-style:none;padding:0;margin:12px 0 0}.public-release-notes li{display:flex;gap:8px;align-items:flex-start}.public-release-notes li i{color:#0f8b75;margin-top:4px}

@media(max-width:760px){
 .survey-filters{grid-template-columns:1fr!important}.survey-filters>*{width:100%!important}.survey-row-head{grid-template-columns:40px 1fr!important}.survey-row-head>a{grid-column:1/-1;width:100%;justify-content:center}
 .docs-admin-grid{grid-template-columns:1fr}.docs-version-panel .head-actions{width:100%!important;min-width:0!important}
 .public-doc-version{align-items:stretch;flex-direction:column}.public-doc-version select{min-width:0;width:100%}
}

/* ZYNKO V2.31.113 · Salud comprensible y estado WebSocket verificado */
.server-health-glossary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.server-health-glossary>div{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}
.server-health-glossary>div>i{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e7f8f4;color:#0c8b74;flex:0 0 auto}
.server-health-glossary span{display:grid;gap:3px}.server-health-glossary b{font-size:12px;color:var(--text)}.server-health-glossary small{font-size:11px;line-height:1.45;color:var(--muted)}
.server-health-live-state{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.server-health-live-state>small{max-width:620px;text-align:right;color:var(--muted)}
.service-state.broken{background:#fff3e7!important;color:#a85a00!important;border-color:#f2d3a5!important}
.preview-stage.is-expanded{position:fixed!important;inset:16px!important;z-index:2147483000!important;background:#eef3f6!important;min-height:0!important;height:auto!important;width:auto!important;padding:24px!important;border-radius:18px!important;box-shadow:0 30px 80px rgba(15,23,42,.24)!important}
.preview-stage.is-expanded .preview-chat{width:min(100%,760px)!important;max-height:calc(100vh - 80px)!important}
.preview-stage.is-expanded .preview-body{min-height:320px!important}
@media(max-width:760px){.server-health-glossary{grid-template-columns:1fr}.server-health-live-state{align-items:flex-start;flex-direction:column}.server-health-live-state>small{text-align:left}.preview-stage.is-expanded{inset:6px!important;padding:8px!important}.preview-stage.is-expanded .preview-chat{width:100%!important;max-height:calc(100vh - 28px)!important}}

/* ZYNKO V2.31.115 · monitoreo operativo */
.service-monitor-panel .panel-head{align-items:center;gap:14px}.service-monitor-note{display:grid!important;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;width:100%;box-sizing:border-box;margin:14px 0 4px;padding:16px 18px;border:1px solid #dfeae7;border-radius:16px;background:#f8fbfb}.service-monitor-note-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e7f8f4;color:#0b8b72;flex:0 0 auto;font-size:16px}.service-monitor-note-copy{display:grid;gap:5px;min-width:0;padding:1px 0}.service-monitor-note-copy>b{display:block;color:var(--text);line-height:1.35}.service-monitor-note-copy>small{display:block;color:var(--muted);line-height:1.55;overflow-wrap:anywhere}.service-monitor-note code{display:inline;white-space:normal;overflow-wrap:anywhere;font-weight:700}.service-monitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.service-monitor-card{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}.service-monitor-card>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.service-monitor-card>div{min-width:0;display:grid;gap:3px}.service-monitor-card b{font-size:13px;color:var(--text)}.service-monitor-card small{font-size:10px;color:var(--muted);font-weight:800}.service-monitor-card p{margin:2px 0 0;color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}.service-monitor-card.is-up>span{background:#e8f8f3;color:#0b8b72}.service-monitor-card.is-degraded>span{background:#fff5dc;color:#a96b00}.service-monitor-card.is-down>span{background:#fff0f0;color:#b63b3b}.service-monitor-card.is-inactive>span{background:#eef2f6;color:#66768d}.service-monitor-empty{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.service-monitor-empty span{display:grid;gap:4px}.service-monitor-events{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;display:grid;gap:8px}.service-monitor-events>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}.service-monitor-events code{font-size:10px;color:#0b6f62}.service-monitor-events small{font-size:10px;color:var(--muted)}.service-monitor-mini{display:grid;grid-template-columns:auto auto minmax(180px,1fr);gap:10px;align-items:center;margin:12px 0;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.service-monitor-mini>span{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:11px;background:var(--surface)}.service-monitor-mini>span i{color:#0b8b72}.service-monitor-mini>span.has-attention i{color:#a96b00}.service-monitor-mini>span small{color:var(--muted)}.service-monitor-mini>a{justify-self:end;display:inline-flex;gap:8px;align-items:center;font-weight:800;color:#0b7f6c;text-decoration:none}@media(max-width:760px){.service-monitor-grid{grid-template-columns:1fr}.service-monitor-events>div{grid-template-columns:1fr}.service-monitor-mini{grid-template-columns:1fr}.service-monitor-mini>a{justify-self:stretch;justify-content:center}.service-monitor-panel .version-save-field{display:grid!important;grid-template-columns:1fr 1fr}.service-monitor-panel .version-save-field>*{width:100%}}@media(max-width:520px){.service-monitor-panel .version-save-field{grid-template-columns:1fr}.service-monitor-events code,.service-monitor-events small{justify-self:start}}

/* ZYNKO V2.31.116 · consistencia operativa, KPI, filtros, analítica y vista previa */
.premium-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin:16px 0 18px!important;
}
.premium-kpis>article{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important;
  min-height:92px!important;
  padding:16px 18px!important;
  border:1px solid var(--line)!important;
  border-radius:16px!important;
  background:var(--surface)!important;
  box-shadow:var(--shadow)!important;
}
.premium-kpis>article>span.kpi-icon,
.premium-kpis>article>span:first-child{
  width:46px!important;height:46px!important;border-radius:14px!important;
  display:grid!important;place-items:center!important;background:#e8f8f4!important;
  color:var(--accent2)!important;font-size:17px!important;
}
.premium-kpis>article>div{display:grid!important;gap:3px!important;min-width:0!important}
.premium-kpis>article b{font-size:26px!important;line-height:1!important;color:var(--text)!important}
.premium-kpis>article small{font-size:12px!important;line-height:1.35!important;color:var(--muted)!important}
.integrations-kpis{margin-top:8px!important}

.automation-capability-grid article{
  position:relative!important;overflow:hidden!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.automation-capability-grid article:after{
  content:"";position:absolute;right:-34px;bottom:-42px;width:76px;height:76px;border-radius:50%;
  background:color-mix(in srgb,var(--accent,#12a88a) 9%,transparent);transition:transform .25s ease,opacity .25s ease;pointer-events:none
}
@media(hover:hover) and (pointer:fine){
  .automation-capability-grid article:hover{transform:translateY(-4px)!important;box-shadow:0 16px 34px rgba(15,23,42,.09)!important;border-color:color-mix(in srgb,var(--accent,#12a88a) 28%,var(--line))!important}
  .automation-capability-grid article:hover:after{transform:scale(1.45);opacity:.9}
}

/* Filtros de Bandeja: todos alineados en una sola fila cuando hay espacio. */
.inbox-filters.inbox-filters-advanced{
  grid-template-columns:repeat(6,minmax(120px,1fr)) 126px!important;
  align-items:end!important;
}
.inbox-reset-field{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-width:0!important}
.inbox-filter-label-spacer{height:17px!important;margin:0 0 4px!important;display:block!important}
@media(max-width:1380px){.inbox-filters.inbox-filters-advanced{grid-template-columns:repeat(3,minmax(150px,1fr)) 126px!important}}
@media(max-width:900px){.inbox-filters.inbox-filters-advanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}.inbox-reset-field{width:100%!important}.clear-inbox-filters{width:100%!important}}
@media(max-width:620px){.inbox-filters.inbox-filters-advanced{grid-template-columns:1fr!important}}

/* Analítica: el área útil del gráfico aprovecha la misma altura visual del detalle. */
.analytics-chart-card{display:flex!important;flex-direction:column!important}
.analytics-chart-card>.analytics-chart{flex:1 1 auto!important;height:auto!important;min-height:350px!important;max-height:none!important}
.analytics-bar-track{max-height:300px!important}
@media(max-width:1100px){.analytics-chart-card>.analytics-chart{min-height:300px!important}}
@media(max-width:700px){.analytics-chart-card>.analytics-chart{min-height:260px!important}}

/* Vista previa NIVO: replica el orden vertical de Expandir y Cerrar del widget publicado. */
.preview-head-actions{display:flex!important;flex-direction:column!important;gap:7px!important;align-self:flex-start!important}
.preview-head-actions button{flex:0 0 32px!important}

/* Botones de servicio: el estado decide qué acción es válida. */
.websocket-control:disabled,.service-control:disabled{
  opacity:.42!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important;filter:saturate(.55)!important
}
.websocket-control:not(:disabled),.service-control:not(:disabled){opacity:1!important}

/* Encuestas visibles y consistentes como módulo administrativo. */
.survey-kpis{margin-top:8px!important}

@media(prefers-reduced-motion:reduce){.automation-capability-grid article{transition:none!important;transform:none!important}}


/* ZYNKO V2.31.119 · turnstile canónico, encabezados alineados y gráficas con valores visibles */
.preview-head-actions{display:flex!important;flex-direction:row!important;gap:7px!important;align-self:flex-start!important;align-items:center!important;white-space:nowrap!important}
.survey-kpis,.integrations-kpis,.logs-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:14px 0 18px!important}
.survey-kpis>article,.integrations-kpis>article,.logs-kpis>article{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-height:96px!important;padding:16px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important;overflow:hidden!important}
.survey-kpis>article>span:first-child,.integrations-kpis>article>span:first-child,.logs-kpis>article>span:first-child{width:46px!important;height:46px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#e5f8f3!important;color:#078b72!important;font-size:18px!important}
.survey-kpis>article>div,.integrations-kpis>article>div,.logs-kpis>article>div{display:grid!important;gap:4px!important;min-width:0!important}.survey-kpis b,.integrations-kpis b,.logs-kpis b{font-size:26px!important;line-height:1!important}.survey-kpis small,.integrations-kpis small,.logs-kpis small{font-size:12px!important;color:var(--muted)!important}
.log-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto;gap:12px;align-items:end;margin:16px 0}.system-log-list{display:grid;gap:9px}.system-log-row{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--surface2)}.log-level{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e8f8f3;color:#08705c}.level-warning .log-level{background:#fff5dc;color:#a96b00}.level-error .log-level{background:#fff0f0;color:#b63b3b}.system-log-title{display:flex;gap:10px;align-items:center;justify-content:space-between}.system-log-title span{font-size:10px;font-weight:800;padding:4px 8px;border-radius:999px;background:var(--surface);color:var(--muted)}.system-log-row details{margin-top:8px}.system-log-row pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0f172a;color:#e2e8f0;padding:10px;border-radius:10px;font-size:11px}
.inbound-mail-panel .mail-inbound-status{display:flex;gap:10px;align-items:center;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}.graph-inbound-help{margin:12px 0}.imap-inbound-fields[hidden],.graph-inbound-help[hidden]{display:none!important}
#sidebar nav a[data-menu="surveys"]{position:relative}#sidebar nav a[data-menu="surveys"]>span{color:#f0a000!important}
@media(max-width:1000px){.survey-kpis,.integrations-kpis,.logs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.survey-kpis,.integrations-kpis,.logs-kpis,.log-filters{grid-template-columns:1fr!important}.system-log-title{align-items:flex-start;flex-direction:column}.preview-head-actions{gap:5px!important}}


.env-security-note{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center!important;column-gap:14px;row-gap:0;padding:15px 16px!important}
.env-security-note>i{width:40px;height:40px;display:grid;place-items:center;margin-top:0!important;border-radius:12px;background:#e8f7f3;color:var(--accent);flex:0 0 auto}
.env-security-note>span{display:grid;gap:4px;min-width:0}
.env-security-note>span b,.env-security-note>span small{display:block;overflow-wrap:anywhere}
.turnstile-fixed-site{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-height:54px;padding:12px 13px;border:1px solid #d8e9e4;border-radius:12px;background:#fff;color:#4d6478}
.turnstile-fixed-site>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e8f7f3;color:#0c8b75}
.turnstile-fixed-site>div{display:grid;gap:3px;min-width:0}
.turnstile-fixed-site b{font-size:13px;line-height:1.35;color:#10283a;word-break:break-word}
.turnstile-fixed-site small{line-height:1.45;color:#64788c}
.analytics-bar-pill{position:absolute;top:4px;bottom:auto;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;min-width:34px;max-width:calc(100% + 16px);padding:4px 7px;border-radius:999px;background:#fff;border:1px solid #d9e7ec;box-shadow:0 10px 24px rgba(16,40,58,.08);color:#10283a;font-size:10px;font-weight:900;line-height:1;white-space:nowrap;z-index:2}
.analytics-bar:hover .analytics-bar-pill{transform:translateX(-50%) translateY(-3px)}
.analytics-bar-value{bottom:calc(var(--analytics-height,4) * 1% + 42px)!important}
.bars{padding-top:26px!important}
.bar-wrap{gap:7px!important}
.bar-value{opacity:1!important;display:inline-flex;align-items:center;justify-content:center;min-width:28px;padding:3px 6px;border-radius:999px;background:#fff;border:1px solid #d8e4ea;box-shadow:0 8px 20px rgba(16,40,58,.06);color:#18364c;font-size:10px;font-weight:900;line-height:1}
.bar-wrap:hover .bar-value{transform:translateY(-2px)}
@media(max-width:860px){.env-security-note{grid-template-columns:auto minmax(0,1fr)!important}.env-security-note>i{width:44px;height:44px}.turnstile-fixed-site{grid-column:auto}}


/* ZYNKO V2.31.120 · Navegación lateral compacta y scrollbar premium */
#sidebar nav{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
  scrollbar-color:#1aa78f transparent;
  scrollbar-gutter:stable;
  padding-right:4px;
  margin-right:-2px;
  overscroll-behavior:contain;
}
#sidebar nav::-webkit-scrollbar{width:9px}
#sidebar nav::-webkit-scrollbar-track{background:transparent;margin-block:8px}
#sidebar nav::-webkit-scrollbar-thumb{
  background:#1aa78f;
  border:2px solid #0b1625;
  border-radius:999px;
  min-height:44px;
}
#sidebar nav::-webkit-scrollbar-thumb:hover{background:#25c2a7}
#sidebar nav::-webkit-scrollbar-button{display:none;width:0;height:0}
#sidebar nav a{
  position:relative;
  min-height:44px;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
#sidebar nav a:hover{transform:translateX(2px)}
#sidebar nav a.active{box-shadow:inset 3px 0 0 #1bb89d}
#sidebar nav a>span:first-child{display:grid;place-items:center;width:24px;height:24px}
#sidebar nav a>span:first-child i{opacity:.58;transition:opacity .18s ease,color .18s ease}
#sidebar nav a:hover>span:first-child i,#sidebar nav a.active>span:first-child i{opacity:1;color:#55d6bf}
.flyout{
  width:244px!important;
  padding:12px!important;
  border-radius:16px!important;
  border:1px solid #dbe8e5!important;
  box-shadow:0 24px 60px rgba(10,28,42,.18)!important;
  overflow:auto;
  overscroll-behavior:contain;
}
.flyout>small{font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important;color:#6f8293!important;padding:2px 6px 0}
.flyout>b{font-size:14px!important;color:#10283a!important;padding:0 6px 6px;border-bottom:1px solid #e8efef}
.flyout a{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center!important;gap:9px!important;min-height:42px!important;padding:7px 9px!important;border-radius:11px!important;font-weight:700!important}
.flyout a i{width:34px;height:34px;border-radius:10px;background:#e8f7f3;color:#0d8b75;display:grid;place-items:center}
.flyout a:hover{background:#f1f8f6!important;transform:translateX(2px)}
html.theme-dark .flyout{border-color:#24364a!important;box-shadow:0 24px 60px rgba(0,0,0,.36)!important}
html.theme-dark .flyout>b{color:#e8eef6!important;border-bottom-color:#24364a}
html.theme-dark .flyout a i{background:#13352f;color:#4fd1b5}
html.theme-dark .flyout a:hover{background:#162434!important}
@media(max-width:760px){
  #sidebar nav{padding-right:3px;margin-right:0;scrollbar-gutter:auto}
  #sidebar nav::-webkit-scrollbar{width:7px}
  #sidebar nav::-webkit-scrollbar-thumb{border-width:1px}
}

@media(max-width:760px){
  .flyout.open{
    display:grid!important;
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:auto!important;
    bottom:16px!important;
    width:auto!important;
    max-height:min(70dvh,520px)!important;
    overflow:auto!important;
    z-index:140!important;
    padding:14px!important;
    border-radius:18px!important;
    scrollbar-width:thin;
    scrollbar-color:#1aa78f transparent;
  }
  .flyout.open::-webkit-scrollbar{width:7px}
  .flyout.open::-webkit-scrollbar-track{background:transparent}
  .flyout.open::-webkit-scrollbar-thumb{background:#1aa78f;border-radius:999px}
  .flyout a{grid-template-columns:38px minmax(0,1fr)!important;min-height:48px!important}
  .flyout a i{width:38px;height:38px}
}

/* ZYNKO V2.31.123 · Alineación estructural de Restablecer con filtros de Bandeja */
.inbox-filters.inbox-filters-advanced>.inbox-reset-field{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  align-self:stretch!important;
  min-width:0!important;
}
.inbox-filters.inbox-filters-advanced .inbox-filter-label-spacer{
  display:flex!important;
  height:17px!important;
  min-height:17px!important;
  flex:0 0 17px!important;
  margin:0 0 4px!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.inbox-filters.inbox-filters-advanced .inbox-reset-field .clear-inbox-filters{
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  align-self:stretch!important;
  justify-content:center!important;
}
@media(max-width:900px){
  .inbox-filters.inbox-filters-advanced>.inbox-reset-field{width:100%!important}
  .inbox-filters.inbox-filters-advanced .inbox-filter-label-spacer{display:none!important}
  .inbox-filters.inbox-filters-advanced .inbox-reset-field .clear-inbox-filters{width:100%!important}
}


/* ZYNKO V2.31.125 · espaciado premium en revisión automática */
.nivo-webchat-page .preview-chat-live .preview-head>.preview-head-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  align-self:flex-start!important;
  justify-content:flex-end!important;
  gap:7px!important;
  width:max-content!important;
  min-width:71px!important;
  max-width:none!important;
}
.nivo-webchat-page .preview-chat-live .preview-head>.preview-head-actions>button{
  display:grid!important;
  place-items:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
}
@media(max-width:640px){
  .nivo-webchat-page .preview-chat-live .preview-head>.preview-head-actions{gap:6px!important;min-width:70px!important}
}

/* Restablecer: conservar intactos todos los Select2 y corregir solo la posición óptica del botón. */
@media(min-width:901px){
  .inbox-filters.inbox-filters-advanced>.inbox-reset-field .clear-inbox-filters{
    position:relative!important;
    top:-2px!important;
    height:40px!important;
    min-height:40px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
}
@media(max-width:900px){
  .inbox-filters.inbox-filters-advanced>.inbox-reset-field .clear-inbox-filters{top:auto!important;position:static!important}
}

.users-team-panel{margin-top:14px!important;scroll-margin-top:88px}
.users-directory-panel{scroll-margin-top:88px}
.users-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.users-team-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface2);min-width:0;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.users-team-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e5f8f3;color:#078b72;font-size:17px}
.users-team-copy{display:grid;gap:5px;min-width:0}.users-team-copy>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.users-team-copy>div:first-child>span{font-size:10px;font-weight:850;color:#08705c;background:#e6f8f3;border-radius:999px;padding:3px 7px}.users-team-copy>small{font-size:11px;color:var(--muted)}
.users-team-members{display:flex;gap:5px;flex-wrap:wrap;min-width:0}.users-team-members>span,.users-team-members>em{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:10px;font-style:normal;color:var(--muted)}.users-team-members.is-empty{font-size:10px;color:var(--muted)}
.users-team-card>.team-role-filter{white-space:nowrap;align-self:center}
@media(hover:hover) and (pointer:fine){.users-team-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 32%,var(--line));box-shadow:0 12px 28px rgba(15,23,42,.07)}}
@media(max-width:900px){.users-team-grid{grid-template-columns:1fr}.users-team-card{grid-template-columns:46px minmax(0,1fr) auto}}
@media(max-width:620px){.users-team-card{grid-template-columns:42px minmax(0,1fr)}.users-team-icon{width:42px;height:42px}.users-team-card>.team-role-filter{grid-column:1/-1;width:100%;justify-content:center}}

/* ZYNKO V2.31.125 · espaciado premium de la recomendación automática */
@media(max-width:760px){.service-monitor-note{grid-template-columns:38px minmax(0,1fr);gap:12px;margin:12px 0 4px;padding:14px}.service-monitor-note-icon{width:38px;height:38px;border-radius:12px}.service-monitor-note-copy>small{line-height:1.5}}
@media(max-width:520px){.service-monitor-note{grid-template-columns:1fr;align-items:start}.service-monitor-note-icon{width:40px;height:40px}.service-monitor-note-copy{gap:6px}}

/* ZYNKO V2.31.127 · administración Owner del showcase público */
.public-showcase-welcome{align-items:center}.public-showcase-admin{display:grid;gap:16px}.public-showcase-owner-note{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:13px 14px;border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--accent) 5%,var(--surface));}.public-showcase-owner-note>i{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}.public-showcase-owner-note b{display:block;font-size:12px}.public-showcase-owner-note span{display:block;margin-top:3px;color:var(--muted);font-size:11px;line-height:1.45}.public-showcase-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.public-showcase-admin-card{min-width:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 12px 28px rgba(15,23,42,.05);overflow:hidden}.public-showcase-form{display:grid;gap:13px;padding:14px}.public-showcase-preview{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--line);background:var(--surface2);aspect-ratio:16/9}.public-showcase-preview img{width:100%;height:100%;object-fit:cover;display:block}.public-showcase-status{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:900;box-shadow:0 6px 18px rgba(15,23,42,.12)}.public-showcase-status.default{background:#fff;color:#526579}.public-showcase-status.custom{background:#dff7ef;color:#087963}.public-showcase-fields{display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1fr);gap:10px}.public-showcase-fields .full{grid-column:1/-1}.public-showcase-dropzone{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:76px;padding:11px;border:1.5px dashed #b9d6d2;border-radius:14px;background:#f7fbfa;cursor:pointer;outline:none;transition:.16s ease}.public-showcase-dropzone:hover,.public-showcase-dropzone:focus,.public-showcase-dropzone.is-drag{border-color:var(--accent);background:#eefaf7;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}.dropzone-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#e1f5f0;color:#0b8c78;font-size:16px}.public-showcase-dropzone b{display:block;font-size:11px}.public-showcase-dropzone small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.public-showcase-file-preview{display:grid;grid-template-columns:78px minmax(0,1fr) 32px;align-items:center;gap:10px;padding:9px;border:1px solid #cde5df;border-radius:12px;background:#f5fbf9}.public-showcase-file-preview img{width:78px;height:48px;object-fit:cover;border-radius:8px}.public-showcase-file-preview b{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-showcase-file-preview small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.public-showcase-file-preview button{width:30px;height:30px;border:0;border-radius:9px;background:#fff;color:#64748b;cursor:pointer}.public-showcase-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.public-showcase-actions button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:980px){.public-showcase-admin-grid{grid-template-columns:1fr}}@media(max-width:620px){.public-showcase-form{padding:11px}.public-showcase-fields{grid-template-columns:1fr}.public-showcase-fields .full{grid-column:auto}.public-showcase-dropzone{grid-template-columns:38px minmax(0,1fr)}.public-showcase-dropzone .public-showcase-select{grid-column:1/-1;width:100%}.public-showcase-actions{display:grid;grid-template-columns:1fr}.public-showcase-actions button{width:100%}}

/* ZYNKO V2.31.128 · Bandeja: modales, navegación, resumen y emojis */
body:has(.inbox-premium-toolbar) .chat-actions .history-jump,
body:has(.inbox-premium-toolbar) .chat-actions .history-jump:hover,
body:has(.inbox-premium-toolbar) .chat-actions .history-jump:focus,
body:has(.inbox-premium-toolbar) .chat-actions .history-jump:focus-visible{
  background:#0d263a!important;color:#fff!important;border-color:#0d263a!important;filter:none!important;box-shadow:none!important;
}
body:has(.inbox-premium-toolbar) .chat-actions .history-jump:hover{background:#123249!important;transform:translateY(-1px)!important}

body:has(.inbox-premium-toolbar) .nivo-summary{position:relative!important;padding-right:50px!important}
body:has(.inbox-premium-toolbar) .nivo-summary-close{
  position:absolute!important;right:12px!important;top:12px!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:1px solid #cfe0e6!important;border-radius:10px!important;background:#fff!important;color:#17384e!important;display:grid!important;place-items:center!important;cursor:pointer!important
}
body:has(.inbox-premium-toolbar) .nivo-summary-close:hover{background:#eef8f5!important;color:#0f766e!important;border-color:#b8ddd4!important}

#client360DetailsModal .client360-details-modal,
#quickReplyModal .quick-reply-modal,
#conversationActionsModal .conversation-actions-modal,
#messageMediaModal .message-media-modal-card{
  display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:min(88dvh,820px)!important
}
#client360DetailsModal .client360-details-body,
#quickReplyModal .quick-reply-modal-body,
#conversationActionsModal .conversation-action-grid,
#messageMediaModal .message-media-modal-body{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important
}
#client360DetailsModal .modal-actions,
#quickReplyModal .quick-reply-modal-footer,
#conversationActionsModal .modal-actions,
#messageMediaModal .modal-actions{
  flex:0 0 auto!important;margin:0!important;padding:14px 18px!important;border-top:1px solid var(--line)!important;background:var(--surface,#fff)!important;box-shadow:0 -8px 22px rgba(15,23,42,.035)!important
}
#client360DetailsModal .client360-modal-footer{flex-wrap:wrap!important}
#quickReplyModal .quick-reply-modal-footer [hidden]{display:none!important}

.message-image-preview{border:0!important;background:transparent!important;padding:0!important;cursor:zoom-in!important;border-radius:11px!important;overflow:hidden!important}
.message-image-preview img{display:block!important}
.message-media-modal-card{width:min(980px,calc(100vw - 36px))!important}
.message-media-modal-body{display:grid!important;place-items:center!important;padding:18px!important;background:#f3f7f8!important}
.message-media-modal-body img{max-width:100%!important;max-height:68dvh!important;object-fit:contain!important;border-radius:12px!important;box-shadow:0 12px 32px rgba(15,23,42,.12)!important}

#emojiPicker.emoji-picker-premium{
  width:420px!important;min-width:420px!important;max-width:420px!important;
  height:292px!important;min-height:292px!important;max-height:292px!important;
  padding:10px!important;display:grid!important;grid-template-rows:38px 50px minmax(0,1fr)!important;row-gap:8px!important;
}
#emojiPicker .emoji-picker-head{height:38px!important;min-height:38px!important;margin:0!important;padding:0 0 8px!important;box-sizing:border-box!important}
#emojiPicker .emoji-tabs{height:50px!important;min-height:50px!important;max-height:50px!important;margin:0!important;padding:6px 0 10px!important;border-bottom:1px solid var(--line)!important;gap:8px!important;box-sizing:border-box!important}
#emojiPicker .emoji-tab{width:38px!important;height:34px!important;min-width:38px!important;min-height:34px!important;padding:0!important;margin:0!important;border:1px solid #d8e5e8!important;border-radius:10px!important;background:#f7fbfb!important;font-size:18px!important;display:grid!important;place-items:center!important}
#emojiPicker .emoji-tab.active{background:#e6f7f2!important;border-color:#b8e1d6!important}
#emojiPicker .emoji-groups{height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:8px 4px 4px 0!important;overflow-y:auto!important;border-top:0!important}
#emojiPicker .emoji-group{align-content:start!important;min-height:0!important;gap:8px!important;grid-auto-rows:40px!important}
#emojiPicker .emoji-group button{height:40px!important;min-height:40px!important;max-height:40px!important;border:1px solid #e2eaed!important;border-radius:10px!important;background:#fff!important}
@media(max-width:760px){
 #emojiPicker.emoji-picker-premium{left:12px!important;right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;height:292px!important;min-height:292px!important;max-height:292px!important;grid-template-rows:38px 50px minmax(0,1fr)!important}
 #client360DetailsModal .client360-modal-footer{display:grid!important;grid-template-columns:1fr 1fr!important}
 #client360DetailsModal .client360-modal-footer>*{width:100%!important}
}


/* ZYNKO V2.31.129 · Mensajes humanos limpios y selector de emojis legible */
body:has(.inbox-premium-toolbar) .message-sender{font-weight:900!important;letter-spacing:.01em!important;text-transform:none!important}
#emojiPicker .emoji-tab{color:#0f766e!important;opacity:1!important;filter:none!important}
#emojiPicker .emoji-tab span{font-size:20px!important;line-height:1!important;display:block!important;opacity:1!important;filter:none!important}
#emojiPicker .emoji-tab.active{background:#e6f7f2!important;border-color:#9fd8cb!important;box-shadow:0 0 0 2px rgba(15,118,110,.06)!important}
#emojiPicker .emoji-tabs{column-gap:10px!important;padding-left:2px!important;padding-right:2px!important}
#emojiPicker .emoji-groups{padding-top:12px!important}

/* ZYNKO V2.31.131 · Contexto conversacional de NIVO en Cliente 360° */
.nivo-context-card{margin:12px 0;padding:12px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--accent) 5%,var(--surface));display:grid;gap:10px}
.nivo-context-head{display:flex;align-items:center;gap:9px}.nivo-context-head>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}.nivo-context-head small,.nivo-context-head b{display:block}.nivo-context-head small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.nivo-context-head b{font-size:12px;margin-top:2px}.nivo-context-card>p{margin:0;color:var(--muted);font-size:10.5px;line-height:1.45}.nivo-context-tags{display:flex;flex-wrap:wrap;gap:6px}.nivo-context-tags span{padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:var(--surface);min-width:72px}.nivo-context-tags small,.nivo-context-tags b{display:block}.nivo-context-tags small{font-size:8px;text-transform:uppercase;color:var(--muted);font-weight:800}.nivo-context-tags b{font-size:10px;margin-top:2px;overflow-wrap:anywhere}.nivo-context-demo,.nivo-context-followup{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:10px;background:var(--surface);border:1px solid var(--line);font-size:10px}.nivo-context-demo{color:var(--accent);font-weight:800}.nivo-context-followup span{min-width:0}.nivo-context-followup b,.nivo-context-followup small{display:block}.nivo-context-followup small{margin-top:2px;color:var(--muted);line-height:1.35}


/* ZYNKO V2.31.134 · preview administrable para NIVO Web Chat */
.nivo-webchat-page .preview-stage.has-uploaded-preview{padding:18px!important;align-items:center!important;justify-content:center!important;background:linear-gradient(180deg,#f3f7fa 0%,#edf3f6 100%)!important}
.preview-shot-card{margin:0!important;width:min(100%,362px)!important;padding:12px!important;border:1px solid #d7e4ea!important;border-radius:24px!important;background:#fff!important;box-shadow:0 18px 42px rgba(15,23,42,.12)!important}
.preview-shot-card img{display:block!important;width:100%!important;height:auto!important;border-radius:18px!important;border:1px solid #ebf1f4!important;background:#fff!important}
.webchat-preview-manager{margin-top:14px!important}
.webchat-preview-image-form{display:grid!important;gap:14px!important}
.webchat-preview-dropzone{display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:16px 18px!important;border:1.5px dashed #9ad6c8!important;border-radius:18px!important;background:linear-gradient(180deg,#f8fcfb 0%,#f2faf8 100%)!important;cursor:pointer!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
.webchat-preview-dropzone:hover,.webchat-preview-dropzone:focus,.webchat-preview-dropzone.is-drag{border-color:#0f8f79!important;box-shadow:0 14px 32px rgba(15,118,110,.12)!important;transform:translateY(-1px)!important}
.webchat-preview-dropzone-icon{width:48px!important;height:48px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#e6f8f3!important;color:#0f8f79!important;font-size:18px!important}
.webchat-preview-dropzone b,.webchat-preview-dropzone small{display:block!important}.webchat-preview-dropzone small{color:var(--muted)!important;line-height:1.45!important}
.webchat-preview-file-preview{display:grid!important;grid-template-columns:90px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:12px 14px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface2)!important}
.webchat-preview-file-preview img{width:90px!important;height:120px!important;object-fit:cover!important;border-radius:12px!important;border:1px solid #dbe7ed!important;background:#fff!important}
.webchat-preview-file-preview b,.webchat-preview-file-preview small{display:block!important}.webchat-preview-file-preview small{color:var(--muted)!important;line-height:1.45!important}
@media(max-width:760px){.webchat-preview-dropzone{grid-template-columns:1fr!important;text-align:center!important}.webchat-preview-dropzone .webchat-preview-select{width:100%!important;justify-content:center!important}.webchat-preview-file-preview{grid-template-columns:1fr!important}.webchat-preview-file-preview img{width:min(100%,220px)!important;height:auto!important}.preview-shot-card{width:min(100%,330px)!important}}


/* ZYNKO V2.31.135 · captura real del preview y administrador visible */
.webchat-preview-head{grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important}.webchat-preview-manage{white-space:nowrap!important}
.nivo-webchat-page .preview-stage.has-uploaded-preview{min-height:0!important;padding:14px!important;background:#f0f5f7!important;border-radius:18px!important}
.preview-shot-card{width:100%!important;max-width:430px!important;padding:0!important;border:0!important;border-radius:18px!important;box-shadow:none!important;background:transparent!important}.preview-shot-card img{width:100%!important;height:auto!important;border-radius:18px!important;border:1px solid #d9e6eb!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important}
.webchat-preview-modal{width:min(760px,calc(100vw - 28px))!important;max-height:min(88vh,760px)!important}.webchat-preview-modal-body{padding:18px!important;display:grid!important;gap:16px!important}.webchat-preview-modal .modal-actions{margin:0!important;padding:16px 18px!important;border-top:1px solid var(--line)!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
.webchat-preview-dropzone{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:18px!important;border:1.5px dashed #8fd3c4!important;border-radius:18px!important;background:#f7fcfb!important;cursor:pointer!important;transition:.18s ease!important}.webchat-preview-dropzone:hover,.webchat-preview-dropzone:focus,.webchat-preview-dropzone.is-drag{border-color:#0f8f79!important;box-shadow:0 12px 30px rgba(15,118,110,.12)!important;transform:translateY(-1px)!important}.webchat-preview-dropzone-icon{width:50px!important;height:50px!important;border-radius:14px!important;display:grid!important;place-items:center!important;background:#e6f8f3!important;color:#0f8f79!important;font-size:19px!important}.webchat-preview-dropzone b,.webchat-preview-dropzone small{display:block!important}.webchat-preview-dropzone small{color:var(--muted)!important;line-height:1.5!important;margin-top:3px!important}.webchat-preview-file-preview{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface2)!important}.webchat-preview-file-preview img{width:110px!important;height:145px!important;object-fit:cover!important;border-radius:12px!important;border:1px solid #dbe7ed!important}.webchat-preview-file-preview b,.webchat-preview-file-preview small{display:block!important}.webchat-preview-file-preview small{color:var(--muted)!important;margin-top:4px!important;line-height:1.45!important}@media(max-width:760px){.webchat-preview-head{grid-template-columns:auto 1fr!important}.webchat-preview-manage{grid-column:1/-1!important;width:100%!important;justify-content:center!important}.webchat-preview-dropzone{grid-template-columns:1fr!important;text-align:center!important}.webchat-preview-select{width:100%!important;justify-content:center!important}.webchat-preview-file-preview{grid-template-columns:1fr!important}.webchat-preview-file-preview img{width:min(100%,240px)!important;height:auto!important}.webchat-preview-modal .modal-actions>*{width:100%!important}}


/* ZYNKO V2.31.136 · administrador de captura NIVO limpio, compacto y responsive */
.nivo-webchat-page .webchat-preview-manager{display:none!important}
.nivo-webchat-page .webchat-preview-head{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
.nivo-webchat-page .webchat-preview-manage{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:38px!important;padding:9px 13px!important;border-radius:11px!important;white-space:nowrap!important;align-self:center!important}
#webchatPreviewModal.modal-shell{padding:20px!important}
#webchatPreviewModal .webchat-preview-modal{width:min(720px,calc(100vw - 32px))!important;max-height:min(760px,calc(100vh - 40px))!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 30px 80px rgba(15,23,42,.26)!important}
#webchatPreviewModal .modal-head{padding:18px 20px!important;border-bottom:1px solid var(--line)!important;background:var(--surface)!important}
#webchatPreviewModal .modal-head>div{min-width:0!important;display:grid!important;gap:4px!important}
#webchatPreviewModal .modal-head b{font-size:15px!important;line-height:1.25!important}
#webchatPreviewModal .modal-head small{font-size:11px!important;line-height:1.5!important;color:var(--muted)!important}
#webchatPreviewModal .webchat-preview-modal-body{display:grid!important;gap:16px!important;padding:20px!important;background:var(--surface)!important;overflow:auto!important}
#webchatPreviewModal .webchat-preview-dropzone{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:190px!important;padding:24px 22px!important;border:1.5px dashed #89cfc0!important;border-radius:18px!important;background:#f7fcfb!important;text-align:center!important;cursor:pointer!important;box-shadow:none!important;transform:none!important}
#webchatPreviewModal .webchat-preview-dropzone:hover,#webchatPreviewModal .webchat-preview-dropzone:focus,#webchatPreviewModal .webchat-preview-dropzone.is-drag{border-color:#0f8f79!important;background:#f1faf8!important;box-shadow:0 10px 24px rgba(15,118,110,.08)!important;transform:none!important;outline:none!important}
#webchatPreviewModal .webchat-preview-dropzone-icon{width:54px!important;height:54px!important;border-radius:16px!important;display:grid!important;place-items:center!important;background:#e4f7f2!important;color:#0f8f79!important;font-size:20px!important;margin:0!important}
#webchatPreviewModal .webchat-preview-dropzone>div{max-width:430px!important;display:grid!important;gap:4px!important}
#webchatPreviewModal .webchat-preview-dropzone b{font-size:14px!important;line-height:1.35!important;color:var(--text)!important}
#webchatPreviewModal .webchat-preview-dropzone small{font-size:11px!important;line-height:1.5!important;color:var(--muted)!important;margin:0!important}
#webchatPreviewModal .webchat-preview-select{margin-top:2px!important;min-height:38px!important;padding:9px 14px!important;border-radius:11px!important}
#webchatPreviewModal .webchat-preview-file-preview{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;padding:12px 14px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface2)!important;min-width:0!important}
#webchatPreviewModal .webchat-preview-file-preview[hidden]{display:none!important}
#webchatPreviewModal .webchat-preview-file-preview img{width:76px!important;height:94px!important;object-fit:cover!important;border-radius:11px!important;border:1px solid #dbe7ed!important;background:#fff!important}
#webchatPreviewModal .webchat-preview-file-preview>div{min-width:0!important}
#webchatPreviewModal .webchat-preview-file-preview b{display:block!important;font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
#webchatPreviewModal .webchat-preview-file-preview small{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.45!important;color:var(--muted)!important;overflow-wrap:anywhere!important}
#webchatPreviewModal .modal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;padding:15px 20px!important;border-top:1px solid var(--line)!important;background:var(--surface)!important;flex-wrap:wrap!important}
#webchatPreviewModal .modal-actions button{min-height:40px!important;border-radius:11px!important;padding:9px 14px!important;white-space:nowrap!important}
@media(max-width:760px){
 .nivo-webchat-page .webchat-preview-head{grid-template-columns:42px minmax(0,1fr)!important}
 .nivo-webchat-page .webchat-preview-manage{grid-column:1/-1!important;width:100%!important;margin-top:2px!important}
 #webchatPreviewModal.modal-shell{padding:8px!important}
 #webchatPreviewModal .webchat-preview-modal{width:100%!important;max-height:calc(100vh - 16px)!important;border-radius:18px!important}
 #webchatPreviewModal .modal-head{padding:15px!important}
 #webchatPreviewModal .webchat-preview-modal-body{padding:15px!important;gap:13px!important}
 #webchatPreviewModal .webchat-preview-dropzone{min-height:170px!important;padding:20px 16px!important}
 #webchatPreviewModal .webchat-preview-file-preview{grid-template-columns:64px minmax(0,1fr)!important;padding:10px!important}
 #webchatPreviewModal .webchat-preview-file-preview img{width:64px!important;height:78px!important}
 #webchatPreviewModal .modal-actions{display:grid!important;grid-template-columns:1fr!important;padding:13px 15px!important}
 #webchatPreviewModal .modal-actions button{width:100%!important;justify-content:center!important}
}

/* ZYNKO V2.31.137 · preview limpio por defecto y captura opcional */
.nivo-webchat-page .preview-stage.is-clean-preview{background:#eef3f6!important;padding:18px!important;min-height:520px!important;align-items:center!important;justify-content:center!important}
.nivo-webchat-page .preview-stage.is-clean-preview .preview-chat{width:min(100%,370px)!important;max-width:370px!important;min-height:430px!important}
.preview-composer{display:grid!important;grid-template-columns:38px minmax(0,1fr) 44px!important;gap:7px!important;align-items:center!important;padding:0 10px 8px!important}
.preview-composer .preview-input{margin:0!important;min-height:38px!important;padding:8px 10px!important}
.preview-attach,.preview-send{height:38px!important;border:0!important;border-radius:10px!important;display:grid!important;place-items:center!important}
.preview-attach{background:#f8fbfc!important;border:1px solid #d6e2e7!important;color:#0f766e!important}
.preview-send{width:44px!important;background:#0f8579!important;color:#fff!important}
.webchat-preview-mode-card{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:14px 16px!important;border:1px solid #cfe5df!important;border-radius:16px!important;background:#f6fbfa!important}
.webchat-preview-mode-card>span{width:44px!important;height:44px!important;border-radius:13px!important;background:#e4f7f2!important;color:#0f8f79!important;display:grid!important;place-items:center!important}
.webchat-preview-mode-card b,.webchat-preview-mode-card small{display:block!important}
.webchat-preview-mode-card small{margin-top:3px!important;color:var(--muted)!important;line-height:1.45!important}
@media(max-width:760px){.nivo-webchat-page .preview-stage.is-clean-preview{min-height:430px!important;padding:14px!important}.nivo-webchat-page .preview-stage.is-clean-preview .preview-chat{max-width:100%!important;min-height:390px!important}.webchat-preview-mode-card{grid-template-columns:42px minmax(0,1fr)!important}.webchat-preview-mode-card>button{grid-column:1/-1!important;width:100%!important}}


/* ZYNKO V2.31.138 · preview limpio, controles de posición y cabecera ordenada */
.nivo-webchat-page .webchat-preview .webchat-preview-head{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
}
.nivo-webchat-page .webchat-preview .webchat-preview-head>div{
  min-width:0!important;
  display:grid!important;
  gap:4px!important;
}
.nivo-webchat-page .webchat-preview .webchat-preview-head b{
  display:block!important;
  font-size:14px!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.nivo-webchat-page .webchat-preview .webchat-preview-head small{
  display:block!important;
  margin:0!important;
  max-width:none!important;
  font-size:11px!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  color:var(--muted)!important;
}
.nivo-webchat-page .webchat-preview-toolbar{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  width:100%!important;
  margin:-2px 0 14px!important;
  padding-top:12px!important;
  border-top:1px solid var(--line)!important;
}
.nivo-webchat-page .webchat-preview-toolbar .webchat-preview-manage{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:40px!important;
  padding:9px 14px!important;
  border-radius:11px!important;
  white-space:nowrap!important;
  width:auto!important;
  margin:0!important;
}
.nivo-webchat-page .webchat-offset-control{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  overflow:hidden!important;
  border:1px solid var(--line)!important;
  border-radius:11px!important;
  background:var(--surface)!important;
}
.nivo-webchat-page .webchat-offset-control input{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0 12px!important;
}
.nivo-webchat-page .webchat-offset-control input:focus{
  outline:none!important;
  box-shadow:none!important;
}
.nivo-webchat-page .webchat-offset-control span{
  display:grid!important;
  place-items:center!important;
  align-self:stretch!important;
  min-width:42px!important;
  padding:0 10px!important;
  border-left:1px solid var(--line)!important;
  background:var(--surface2)!important;
  color:var(--muted)!important;
  font-size:11px!important;
  font-weight:800!important;
}
#webchatPreviewModal .webchat-preview-mode-card{
  grid-template-columns:46px minmax(0,1fr) auto!important;
  gap:13px!important;
  align-items:center!important;
  padding:16px!important;
}
#webchatPreviewModal .webchat-preview-mode-card>div{min-width:0!important}
#webchatPreviewModal .webchat-preview-mode-card b{
  font-size:13px!important;
  line-height:1.35!important;
  white-space:normal!important;
}
#webchatPreviewModal .webchat-preview-mode-card small{
  font-size:11px!important;
  line-height:1.55!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:760px){
  .nivo-webchat-page .webchat-preview .webchat-preview-head{grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important}
  .nivo-webchat-page .webchat-preview-toolbar{justify-content:stretch!important;margin-bottom:12px!important}
  .nivo-webchat-page .webchat-preview-toolbar .webchat-preview-manage{width:100%!important}
  #webchatPreviewModal .webchat-preview-mode-card{grid-template-columns:42px minmax(0,1fr)!important}
  #webchatPreviewModal .webchat-preview-mode-card>button{grid-column:1/-1!important;width:100%!important}
}


/* ZYNKO V2.31.140 · preview real limpio, sin modos confusos */
#webchatPreviewModal .webchat-preview-mode-card{display:none!important}
.nivo-webchat-page .preview-stage.has-uploaded-preview{min-height:0!important;height:auto!important;padding:14px!important;background:#eef3f6!important;display:flex!important;align-items:center!important;justify-content:center!important}
.nivo-webchat-page .preview-shot-card{width:min(100%,423px)!important;max-width:423px!important;padding:0!important;border:0!important;border-radius:18px!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
.nivo-webchat-page .preview-shot-card img{display:block!important;width:100%!important;height:auto!important;border:0!important;border-radius:18px!important;background:#eef3f6!important}
#webchatPreviewModal .webchat-preview-file-preview{grid-template-columns:96px minmax(0,1fr)!important}
#webchatPreviewModal .webchat-preview-file-preview img{width:96px!important;height:128px!important;object-fit:cover!important}
@media(max-width:760px){.nivo-webchat-page .preview-stage.has-uploaded-preview{padding:10px!important}.nivo-webchat-page .preview-shot-card{width:100%!important}.nivo-webchat-page .preview-shot-card img{width:100%!important}.webchat-preview-modal .modal-actions{display:grid!important;grid-template-columns:1fr!important}.webchat-preview-modal .modal-actions>*{width:100%!important}}


/* Documentos legales y acciones de Canales: extensiones de componentes existentes. */
.legal-admin-document-list{display:grid;gap:0}
.legal-admin-document-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 18px;padding:16px 0;border-bottom:1px solid var(--line,#dce7ee)}
.legal-admin-document-row:last-child{border-bottom:0;padding-bottom:0}
.legal-admin-document-row .legal-version-badge{justify-self:end}
.legal-admin-document-row .legal-admin-copy small{flex-wrap:wrap}
.legal-admin-public-path{display:block;margin-top:6px;color:#087866;font-size:12px;overflow-wrap:anywhere;text-decoration:none}
.legal-admin-public-path:hover{text-decoration:underline}
.legal-admin-document-actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
.legal-admin-document-actions .secondary-action,.legal-admin-document-actions .primary{min-height:38px!important;text-decoration:none!important;white-space:nowrap}
#legalTermsAdminModal .legal-rich-editor:empty:before{content:'Escribe aquí el contenido del documento…'}
.channel-tile-actions .channel-action-wrap{width:100%;min-width:0}
.channel-tile-actions .channel-action-wrap .company-action-toggle{width:100%!important;min-width:0!important;max-width:none!important;min-height:42px!important}
.channel-action-menu.company-action-menu button.channel-config>i{background:#e8f1ff!important;color:#2563eb!important}
.channel-action-menu.company-action-menu button.channel-validate>i{background:#e6f7ee!important;color:#16803d!important}
.channel-action-menu.company-action-menu button.channel-qr>i{background:#f1eaff!important;color:#7c3aed!important}
@media(max-width:760px){
  .legal-admin-document-row{grid-template-columns:minmax(0,1fr);gap:10px}
  .legal-admin-document-row .legal-version-badge{justify-self:start;margin-left:56px}
  .legal-admin-document-actions{justify-content:flex-start}
  .legal-admin-document-actions>*{flex:1 1 auto}
}

/* Canales: credenciales protegidas y webhook copiable, sin alterar otros formularios. */
#channelModal .channel-credential-group {
  display:flex;
  align-items:stretch;
  width:100%;
  min-width:0;
  gap:0;
}
#channelModal .channel-credential-group input {
  flex:1 1 0;
  min-width:0;
  width:100%;
  border-top-right-radius:0!important;
  border-bottom-right-radius:0!important;
}
#channelModal .channel-credential-button {
  flex:0 0 46px;
  width:46px;
  min-width:46px;
  padding:0!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-top-left-radius:0!important;
  border-bottom-left-radius:0!important;
  margin:0!important;
}
#channelModal .channel-credential-button:disabled {opacity:.5;cursor:not-allowed;}
#channelModal #providerWebhookPreview {cursor:text;}
#channelModal #channelAccessToken::placeholder {letter-spacing:.08em;}


/* Corrección funcional: indicadores, diálogo premium y controles de conversación. */
.channel-state[data-channel-status="connected"]{--channel-status:#159447}
.channel-state[data-channel-status="warning"],.channel-state[data-channel-status="pending"]{--channel-status:#d97706}
.channel-state[data-channel-status="disconnected"]{--channel-status:#dc2626}
.channel-state[data-channel-status="available"]{--channel-status:#2563eb}
.channel-state[data-channel-status="locked"]{--channel-status:#64748b}
.channel-state[data-channel-status] i{color:var(--channel-status,#64748b)!important}
.channel-provider-label{color:var(--muted);font-weight:650;font-size:11px}
.conversation[data-channel-type="whatsapp"]{--channel-brand:#148a43}
.conversation[data-channel-type="messenger"]{--channel-brand:#1877f2}
.conversation[data-channel-type="instagram"]{--channel-brand:#c13584}
.conversation[data-channel-type="threads"],.conversation[data-channel-type="thread"],.conversation[data-channel-type="x"],.conversation[data-channel-type="twitter"]{--channel-brand:var(--text)}
.conversation[data-channel-type="telegram"]{--channel-brand:#1686b8}
.conversation[data-channel-type="webchat"]{--channel-brand:#087e75}
.conversation[data-channel-type="email"]{--channel-brand:#7c3aed}
.conversation[data-channel-type] .channel-badge,.conversation[data-channel-type] .conversation-channel{color:var(--channel-brand,var(--accent))!important}
.conversation[data-channel-type] .conversation-channel{background:color-mix(in srgb,var(--channel-brand,var(--accent)) 9%,var(--surface))!important;border-color:color-mix(in srgb,var(--channel-brand,var(--accent)) 30%,var(--line))!important}
.conversation .priority-dot.low{background:#16a34a!important}.conversation .priority-dot.normal{background:#3b82f6!important}.conversation .priority-dot.high{background:#d97706!important}.conversation .priority-dot.urgent{background:#dc2626!important}
.zynko-dialog{max-height:90vh;overflow-y:auto;overscroll-behavior:contain}
.zynko-dialog.has-content{width:min(680px,calc(100vw - 32px));max-width:680px}
.zynko-dialog-content{width:100%;text-align:left;min-width:0;overflow-wrap:anywhere}.zynko-dialog-content[hidden],.zynko-dialog-validation[hidden]{display:none!important}
.zynko-dialog-content .field{display:grid;gap:6px;margin:8px 0}.zynko-dialog-content input,.zynko-dialog-content select,.zynko-dialog-content textarea{width:100%;max-width:100%;box-sizing:border-box;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit;outline:none}.zynko-dialog-content textarea{min-height:90px;resize:vertical}.zynko-dialog-content input:focus,.zynko-dialog-content select:focus,.zynko-dialog-content textarea:focus{border-color:var(--accent)}
.zynko-dialog-validation{margin:10px 0;padding:8px 10px;border-radius:8px;background:color-mix(in srgb,#dc2626 10%,var(--surface));color:#b42318;font-size:12px;text-align:left}.zynko-dialog-deny{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:0;border-radius:10px;background:#b42318;color:#fff;font-weight:700;cursor:pointer}.zynko-dialog-confirm:disabled{opacity:.65;cursor:wait}.zynko-dialog-content img{max-width:100%;height:auto}
body:has(.inbox-premium-toolbar) .inbox-layout.inbox-ajax-loading .chat,body:has(.inbox-premium-toolbar) .inbox-layout.inbox-ajax-loading .info{opacity:.8;transform:none;filter:none}
.composer-enter-mode{flex:0 0 auto}.composer-tip{white-space:normal!important}
.env-full-list{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));max-height:460px;overflow:auto;padding:4px}.env-full-list .field{min-width:0;overflow-wrap:anywhere}.env-full-list input{width:100%}


/* Operación omnicanal: estados, identidad y paneles de administración */

.message-delivery[data-delivery="partial"],.message-delivery[data-delivery="uncertain"],.message-delivery[data-delivery="queued"],
.company-grid .company-card-top{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:9px 12px!important}.company-grid .company-card-top>.status-badge{grid-column:2;justify-self:start;margin:0!important}.company-grid .company-main-copy{min-width:0!important;width:100%!important;overflow:visible!important}.company-grid .company-title-line{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;min-width:0!important;white-space:normal!important}.company-grid .company-title-line>b{flex:0 1 100%!important;max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;line-height:1.3!important}.company-grid .company-main-copy>small{white-space:normal!important;overflow-wrap:anywhere!important}
.zynko-insight-modal{max-width:96vw!important;max-height:92vh!important;overflow:auto!important}.zynko-insight-modal .swal2-html-container{margin:12px 16px!important;text-align:left!important;min-width:0;overflow-x:hidden!important}.zynko-insight{display:grid;gap:14px;min-width:0;color:var(--text,#142238);font-size:.86rem}.insight-caption{color:var(--muted,#64748b);font-size:.85rem;line-height:1.5;margin:0 0 5px}.insight-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:10px}.insight-filters label{display:grid;gap:5px;font-weight:700;min-width:0}.insight-filters input,.insight-filters select{width:100%;min-width:0;height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:8px;background:var(--panel,#fff);color:inherit}.insight-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px;margin:10px 0 18px}.insight-kpi{border:1px solid var(--line,#dbe4ea);border-radius:12px;padding:10px;display:grid;gap:5px;background:var(--panel,#fff)}.insight-kpi small{color:var(--muted,#64748b)}.insight-kpi b{font-size:1.4rem;color:#087d69}.insight-kpi.metric-danger b{color:#b91c1c}.zynko-insight h3{font-size:1rem;margin:17px 0 8px}.insight-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--line,#dbe4ea);border-radius:10px;max-height:280px}.insight-table{width:100%;border-collapse:collapse;font-size:.78rem}.insight-table td,.insight-table th{padding:9px;text-align:left;border-bottom:1px solid var(--line,#dbe4ea);white-space:nowrap}.insight-table th{position:sticky;top:0;background:var(--panel,#f8fafc);z-index:1}.template-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:10px}.template-choice{display:grid;gap:8px;min-width:0;padding:14px;border:1px solid var(--line,#cbd5e1);border-radius:12px;text-align:left;background:var(--panel,#fff);color:inherit;cursor:pointer}.template-choice:hover,.template-choice:focus-visible{border-color:#0d9488;outline:1px solid #0d9488;background:rgba(13,148,136,.07)}.template-choice-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.template-choice-head b{overflow-wrap:anywhere;flex:1;min-width:90px}.template-choice-head i,.template-open{color:#087d69}.template-state{font-size:.65rem;border-radius:6px;background:#fef3c7;color:#92400e;padding:3px 5px}.template-state.approved{background:#dcfce7;color:#166534}.template-state.rejected{background:#fee2e2;color:#a61b29}.template-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;background:rgba(13,148,136,.07);padding:9px;border-radius:8px;line-height:1.4}.template-open{font-size:.72rem;font-weight:700}.template-paging{display:flex;justify-content:flex-end;gap:8px}.template-message-preview{background:rgba(13,148,136,.08);border:1px solid var(--line,#dbe4ea);border-radius:12px;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere}.template-message-preview small{font-weight:800;color:#087d69}.template-message-preview p{margin:5px 0 12px}.template-editor-modal .swal2-html-container .field{display:grid;gap:5px;margin:10px 0;text-align:left;font-size:.85rem;font-weight:700}.template-editor-modal .swal2-html-container .swal2-input,.template-editor-modal .swal2-html-container .swal2-textarea,.template-editor-modal .swal2-html-container .swal2-select{box-sizing:border-box;width:100%;max-width:100%;margin:0;font-size:.9rem}.template-editor-modal .swal2-textarea{min-height:80px}.zynko-insight-modal .swal2-actions{flex-wrap:wrap;gap:6px}

/* Fixed-size workspaces: content scrolls independently. */
.zynko-dialog.zynko-insight-modal{height:min(780px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column;overflow:hidden!important;box-sizing:border-box}
.zynko-dialog.zynko-insight-modal .zynko-dialog-content{flex:1 1 0;min-height:0;overflow:auto;padding:4px 4px 12px;box-sizing:border-box}
.zynko-dialog.zynko-insight-modal .zynko-dialog-actions{flex:0 0 auto;margin-top:12px}
.zynko-dialog.zynko-insight-modal .insight-filters{position:static;z-index:auto;background:var(--surface,#fff);padding:8px 0;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))}
.zynko-dialog.zynko-insight-modal .select2-container{max-width:100%}
.analytics-side-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.analytics-side-grid{grid-template-columns:1fr}.zynko-dialog.zynko-insight-modal{height:calc(100dvh - 24px)}}
.qr-simple .qr-onboarding[hidden]{display:none!important}.qr-onboarding i{font-size:26px;color:#10a98b}.qr-onboarding p{margin:4px 0 0}.qr-simple #providerModeField,.qr-simple .field:has(#providerWebhookPreview),.qr-simple .field:has([name=display_address]){display:none!important}
.zynko-notify.danger .zynko-notify-icon{background:#fee2e2;color:#b91c1c}

/* API integrations: responsive permission cards, searchable and fixed workspace. */
.api-quick-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;margin:12px 0;background:var(--surface2);border:1px solid var(--line);border-radius:14px}.api-quick-actions>div{flex:1 1 260px;min-width:0;display:grid;gap:4px}.api-quick-actions>div small{color:var(--muted);font-size:12px}.api-quick-actions button{min-width:0;white-space:normal}.api-search-wrap{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 12px;min-height:44px;color:var(--muted)}.api-search-wrap input[type=search]{flex:1 1 0;min-width:0;width:100%;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--text)!important;padding:10px 0!important;outline:0}.api-search-wrap small{white-space:nowrap;font-size:11px}.api-key-search-wrap{margin:14px 0}.api-active-scopes{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 0}.api-active-scopes .ui-badge{max-width:100%;white-space:normal;text-align:left}.api-key-row[hidden],.api-scope-card[hidden],.api-scope-empty[hidden]{display:none!important}
.modal-shell .modal-card.api-integration-modal{width:min(1050px,calc(100vw - 36px))!important;height:min(850px,calc(100dvh - 36px))!important;max-height:calc(100dvh - 36px)!important}#apiKeyResultModal .modal-card{height:auto!important}.api-scope-editor{display:grid!important;gap:12px!important;min-width:0}.api-strong-label{font-size:14px;font-weight:800}.api-scope-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.api-scope-presets button{min-height:44px;min-width:0;padding:8px;white-space:normal;text-align:center;justify-content:center;font-size:12px;line-height:1.35}.api-scope-presets button.active{background:color-mix(in srgb,var(--accent,#0d9488) 13%,var(--surface));color:var(--accent,#0d9488);border-color:var(--accent,#0d9488)}
.api-scope-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;align-items:stretch}.api-scope-grid .api-scope-card{display:grid!important;grid-template-columns:18px 30px minmax(0,1fr);align-items:start!important;gap:8px!important;padding:12px!important;min-height:100px;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;box-sizing:border-box;overflow-wrap:anywhere;transition:border-color .15s ease,background .15s ease}.api-scope-grid .api-scope-card:hover,.api-scope-grid .api-scope-card.selected{border-color:var(--accent,#0d9488);background:color-mix(in srgb,var(--accent,#0d9488) 8%,var(--surface))}.api-scope-card input[type=checkbox]{margin:3px 0 0!important;padding:0!important;width:17px!important;height:17px!important;min-width:17px!important;accent-color:var(--accent,#0d9488)}.api-scope-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--accent,#0d9488) 12%,var(--surface));color:var(--accent,#0d9488)}.api-scope-text{display:grid;gap:5px;min-width:0}.api-scope-text b{font-size:12px;line-height:1.4;color:var(--text)}.api-scope-text small{display:block;font-size:11px;line-height:1.4;color:var(--muted);font-weight:400}.api-scope-text code{font-size:10px;color:var(--accent,#0d9488);overflow-wrap:anywhere}.api-scope-empty{color:var(--muted)}
#integrationModal .check-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}#integrationModal .check-grid label{display:flex!important;align-items:center!important;gap:8px!important;padding:12px!important;min-width:0;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}#integrationModal .check-grid input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;margin:0!important}.api-key-result-value{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.api-key-result-value input{flex:1 1 260px;min-width:0;font-family:monospace}.api-key-result-value button{flex:0 0 auto}.qr-simple .qr-onboarding:not([hidden]){display:flex!important;gap:14px;align-items:center;padding:16px;border-radius:12px;border:1px solid var(--line);background:var(--surface2);margin-bottom:16px}.qr-onboarding[hidden]{display:none!important}.qr-simple .field:has([name=attention_mode]){grid-column:1/-1}.qr-simple .field:has([name=name]){grid-column:1/-1}.zynko-dialog.zynko-insight-modal{width:min(1200px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(820px,calc(100dvh - 32px))}.zynko-dialog.zynko-insight-modal .zynko-dialog-content{overflow-y:auto;overflow-x:hidden}.zynko-dialog-overlay .select2-dropdown,.modal-shell .select2-dropdown{z-index:10000}.zynko-notify.danger{border-color:#fecaca}.zynko-notify.danger .zynko-notify-icon{background:#fee2e2;color:#b91c1c}
@media(max-width:930px){.api-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.api-scope-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.api-scope-grid,#integrationModal .check-grid{grid-template-columns:1fr!important}.modal-shell .modal-card.api-integration-modal{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}.api-quick-actions button{flex:1 1 100%}.api-search-wrap small{font-size:10px}.api-search-wrap{padding:0 8px}.api-scope-card{min-height:0!important}}
/* Shared WhatsApp API documentation */
.wa-api-guide{min-width:0;display:grid;gap:18px;margin:24px 0;padding:22px;border:1px solid var(--line,#dbe6ea);border-radius:18px;background:var(--surface,#fff);color:var(--text,#0f172a);box-sizing:border-box;text-align:left}.wa-api-guide-head{position:static;inset:auto;display:flex;justify-content:flex-start;gap:14px;align-items:flex-start;min-width:0;width:100%;height:auto;margin:0;padding:0;background:transparent;box-shadow:none;border:0}.wa-api-guide-head>div{flex:1;min-width:0}.wa-api-guide-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;font-size:24px;background:#dcfce7;color:#15803d;border-radius:12px}.wa-api-guide-head small{font-size:11px;font-weight:800;color:#0f8b76;letter-spacing:.06em}.wa-api-guide h3{font-size:20px;margin:5px 0 4px;line-height:1.3}.wa-api-guide p{font-size:13px;line-height:1.55;margin:5px 0;color:var(--muted,#475569);overflow-wrap:anywhere}.wa-api-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wa-api-steps article{min-width:0;display:flex;gap:10px;padding:13px;border:1px solid var(--line,#dbe6ea);border-radius:12px;background:var(--surface2,#f8fafc)}.wa-api-steps article>span{flex:0 0 25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#d1fae5;color:#08785e;font-weight:800;font-size:12px}.wa-api-steps b{font-size:13px}.wa-api-steps a{font-size:12px;color:#0f8b76;text-decoration:underline}.wa-api-guide-note{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line,#dbe6ea);border-radius:12px;background:var(--surface2,#f8fafc);min-width:0}.wa-api-guide-note>i{color:#0f8b76;font-size:18px;margin-top:2px}.wa-api-guide-note code,.wa-api-steps code{overflow-wrap:anywhere;font-size:11px}.wa-api-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.wa-api-example{min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;gap:8px;border:1px solid var(--line,#dbe6ea);padding:14px;border-radius:12px;background:var(--surface,#fff)}.wa-api-example-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;min-width:0}.wa-api-example-head>div{min-width:0;display:grid;gap:4px}.wa-api-example-head b{font-size:14px}.wa-api-example-head small{font-size:11px;color:var(--muted,#475569);overflow-wrap:anywhere}.wa-api-example-head button{flex:0 0 auto}.wa-api-example pre{flex:1 1 auto;width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow:auto;white-space:pre;min-height:112px;max-height:310px;padding:15px;background:#0f172a;color:#e2e8f0;border-radius:10px;font-size:12px;line-height:1.55;margin:0}.wa-api-example code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.wa-api-response pre{min-height:0}.wa-api-guide code{overflow-wrap:anywhere}@media(max-width:1000px){.wa-api-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.wa-api-guide{padding:14px}.wa-api-steps,.wa-api-examples{grid-template-columns:1fr}.wa-api-example{padding:10px}.wa-api-example pre{font-size:11px}.wa-api-guide-head{gap:10px}.wa-api-guide-icon{flex-basis:36px;height:36px;font-size:19px}}

/* Existing ZYNKO modal visual language, only for channel workspaces. */
.zynko-dialog.zynko-workspace{padding:0!important;text-align:left!important;gap:0!important}
.zynko-workspace .zynko-workspace-head{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;gap:12px;padding:18px 22px;margin:0;border-bottom:1px solid var(--line,#dbe4ea);background:var(--surface,#fff);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.zynko-workspace-head .modal-title-with-icon{min-width:0;display:flex;align-items:center;gap:12px}.zynko-workspace-head .modal-title-copy{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.zynko-workspace-head .modal-title-copy b{font-size:16px}.zynko-workspace-head .modal-title-copy small{font-size:12px;color:var(--muted,#64748b)}.zynko-workspace-head .modal-close{flex:0 0 40px;width:40px;height:40px;background:#10283a;color:white;border:0;border-radius:10px;display:grid;place-items:center;cursor:pointer}
.zynko-dialog.zynko-workspace .zynko-dialog-content{padding:20px 22px!important;min-width:0;overflow:auto}.zynko-dialog.zynko-workspace .zynko-dialog-actions{justify-content:flex-end!important;padding:15px 22px;border-top:1px solid var(--line,#dbe4ea);margin:0!important;gap:10px;flex-wrap:wrap}.zynko-workspace .zynko-dialog-validation{margin:0 22px 10px}.zynko-workspace .insight-filters{padding:0 0 12px!important;position:static!important;z-index:auto!important}.zynko-workspace .template-choice{grid-template-rows:auto auto minmax(84px,1fr) auto;align-content:start}.zynko-workspace .template-choice-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start}.zynko-workspace .template-choice-head b{min-width:0}.zynko-workspace .template-state{grid-column:2;justify-self:start}.zynko-workspace .template-preview{display:block;max-height:120px}.zynko-workspace.template-editor-modal .field{display:grid;gap:6px;margin:0 0 14px;text-align:left}.zynko-workspace.template-editor-modal .field input,.zynko-workspace.template-editor-modal .field select,.zynko-workspace.template-editor-modal .field textarea{width:100%;max-width:100%;margin:0;box-sizing:border-box}.zynko-workspace.template-editor-modal textarea{min-height:88px}
#integrationModal .modal-card.api-integration-modal{height:auto!important;max-height:calc(100dvh - 36px)!important;width:min(900px,calc(100vw - 36px))!important}#integrationModal .modal-card.api-integration-modal form{min-height:0;flex:0 1 auto!important}#integrationModal .modal-head{margin:0!important}.wa-api-admin{width:100%;scroll-margin-top:90px}.wa-api-admin .wa-api-guide-head{margin-bottom:4px}
.analytics-bar-track .analytics-bar-pill{max-width:100%;box-sizing:border-box;min-width:0;white-space:nowrap}.analytics-bar-value{bottom:auto!important;top:0;z-index:4!important}
@media(max-width:640px){.zynko-workspace .zynko-workspace-head,.zynko-dialog.zynko-workspace .zynko-dialog-content,.zynko-dialog.zynko-workspace .zynko-dialog-actions{padding:12px!important}#integrationModal .modal-card.api-integration-modal{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}}

/* Workspace filters flow with content; technical values remain plain text. */
.zynko-dialog.zynko-close-only .zynko-dialog-confirm{background:#10283a!important;border-color:#10283a!important;color:#fff!important}.zynko-dialog.zynko-close-only .zynko-dialog-confirm:hover{background:#17384e!important}.zynko-workspace .zynko-insight{gap:16px}.zynko-workspace .template-preview{overflow:hidden!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;white-space:pre-wrap}.zynko-workspace .template-choice{align-content:start}.zynko-workspace .template-choice-head{min-width:0;overflow-wrap:anywhere}.zynko-dialog-overlay[aria-hidden="true"]{pointer-events:none}

/* Email provider visibility and clean routing cards */
#mailProviderForm [hidden],.inbound-mail-panel [hidden]{display:none!important}
.mail-route-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.mail-route-card{border:1px solid var(--line,#dce5ee);border-radius:14px;padding:16px;display:grid;gap:12px;min-width:0}.mail-route-card .mail-route-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}.mail-route-status{display:inline-flex;align-items:center;justify-self:start;gap:6px;max-width:100%;white-space:normal}.mail-route-status>i{margin:0;line-height:1;flex-shrink:0}.mail-route-card small{line-height:1.5}.mail-routing .security-note{margin-top:16px}@media(max-width:700px){.mail-route-grid{grid-template-columns:1fr}}


/* Plan channels: one visual vocabulary for assigned entitlements. */
.plan-channel-list{min-width:0;display:grid;gap:8px;padding:0;align-content:start!important}
.plan-channel-list-title{font-size:12px;font-weight:800;line-height:1.35;color:inherit}
.plan-channel-items{display:flex;flex-wrap:wrap;gap:6px;min-width:0;align-items:center}
.plan-channel-chip{display:inline-flex!important;align-items:center!important;gap:6px;max-width:100%;min-width:0;padding:3px 7px 3px 4px;border:1px solid var(--line,#dce7ee);border-radius:8px;background:var(--surface,#fff);font-size:11px!important;line-height:1.3!important;text-align:left}
.plan-channel-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:25px;height:25px;flex:0 0 25px!important;border-radius:7px;background:#e8f3f1;color:#087e70!important;line-height:1!important;padding:0!important;min-width:25px!important}
.plan-channel-icon>i{font-size:14px!important;line-height:1!important;color:inherit!important;margin:0!important}
.plan-channel-icon[data-channel="whatsapp"]{background:#e1f7e9;color:#128642!important}
.plan-channel-icon[data-channel="messenger"]{background:#eaf0ff;color:#1763e9!important}
.plan-channel-icon[data-channel="instagram"]{background:#fce9f2;color:#c22672!important}
.plan-channel-icon[data-channel="telegram"]{background:#e6f5fd;color:#087fab!important}
.plan-channel-icon[data-channel="email"]{background:#edf0f5;color:#52677d!important}
.plan-channel-icon[data-channel="x"]{background:#eef1f3;color:#18232c!important}
.plan-channel-name{display:block!important;min-width:0;overflow-wrap:anywhere;line-height:1.3!important;color:inherit;font-size:inherit!important}

/* Plan directory: the availability note is inside the identity column. */
.billing-plan-directory .plan-card-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:12px!important;min-width:0;box-sizing:border-box}
.billing-plan-directory .plan-card-head .plan-card-identity{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;min-width:0;width:100%}
.billing-plan-directory .plan-card-name{display:grid;gap:5px;min-width:0;max-width:100%;flex:1 1 120px;overflow-wrap:anywhere}
.billing-plan-directory .plan-card-name small{max-width:100%;white-space:normal;box-sizing:border-box;overflow-wrap:anywhere}
.billing-plan-directory .plan-card-identity .plan-price{flex:0 1 auto;min-width:0;white-space:normal}
.billing-plan-directory .plan-card-head .plan-coming-soon-note{margin:0!important;width:100%;max-width:100%;box-sizing:border-box;min-width:0;padding:12px!important}
.billing-plan-directory .plan-card-head .plan-coming-soon-note small{display:block!important;width:auto;max-width:100%;padding:0;border-radius:0;background:transparent;margin:2px 0 0;white-space:normal;overflow-wrap:anywhere}
.billing-plan-directory .plan-card-head .plan-coming-soon-note>div{min-width:0;overflow-wrap:anywhere}
.billing-plan-directory.view-detail .plan-card-head{height:auto!important;align-self:stretch!important}
.billing-plan-directory.view-detail .plan-limits{min-width:0}
.billing-plan-directory .plan-features .plan-channel-list{grid-column:1/-1;width:100%;margin:0 0 5px}
.billing-plan-directory .plan-features .plan-channel-chip{align-items:center!important;white-space:normal!important}
.billing-plan-directory.view-mini .plan-features{max-height:none!important;overflow:visible!important;min-width:0}
.billing-plan-directory .plan-card-head .plan-coming-soon-note>span{flex-shrink:0}
.billing-plan-box .billing-option .plan-channel-icon{width:31px;height:31px;min-width:31px!important;flex-basis:31px!important}
/* Visit history: responsive, local navigation, no horizontal overflow. */
.analytics-history-card{min-width:0;overflow:hidden;gap:12px}
.analytics-history-heading,.analytics-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;min-width:0}
.analytics-history-heading>div:first-child{min-width:0;flex:1 1 260px}.analytics-history-heading small{color:var(--muted,#64748b);line-height:1.45}
.analytics-metric-actions,.analytics-history-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:100%}
.analytics-history-actions button,.analytics-metric-actions button{font-size:12px;min-width:0;padding:7px 10px;white-space:normal;line-height:1.3}
.analytics-history-actions button:disabled{opacity:.5;cursor:not-allowed}
.analytics-history-period{font-weight:750;font-size:12px;color:var(--muted,#536a7c);overflow-wrap:anywhere}
.analytics-window-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.analytics-window-summary article{display:grid;gap:3px;padding:9px 11px;border:1px solid var(--line,#dce7ee);border-radius:10px;background:var(--surface,#fff);min-width:0}
.analytics-window-summary span{font-size:11px;color:var(--muted,#62758a);overflow-wrap:anywhere}.analytics-window-summary b{font-size:15px;color:var(--accent2,#087e70);overflow-wrap:anywhere}
.analytics-window-chart{display:grid;grid-template-columns:repeat(var(--analytics-columns,7),minmax(0,1fr));gap:clamp(3px,1vw,10px);align-items:end;min-width:0;width:100%;max-width:100%;padding:4px 0 12px;border-bottom:1px solid var(--line,#e4ebef)}
.analytics-window-chart[hidden],.analytics-window-bar[hidden]{display:none!important}
.analytics-window-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;min-width:0;text-align:center}
.analytics-window-plot{height:200px;width:100%;display:flex;flex:0 0 auto;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:0}
.analytics-window-fill{height:calc(var(--analytics-window-height,0%) * .84);flex:0 0 auto;min-height:2px;max-height:calc(100% - 26px);width:100%;max-width:82px;background:#0e9d86;border-radius:7px 7px 2px 2px;transition:height .15s ease}
.analytics-window-bar:hover .analytics-window-fill{background:#087e70}
.analytics-window-value{font-size:11px;font-weight:850;line-height:1.15;max-width:100%;overflow-wrap:anywhere;color:var(--accent2,#087e70);padding:2px 3px}
.analytics-window-label{font-size:11px;line-height:1.15;max-width:100%;overflow-wrap:anywhere}.analytics-window-label small{display:block;font-size:9px;color:var(--muted,#62758a)}
.analytics-window-complement{font-size:10px;line-height:1.2;color:var(--muted,#62758a);max-width:100%;overflow-wrap:anywhere}
.analytics-window-empty{grid-column:1/-1;min-height:180px}.analytics-history-note{font-size:11px;color:var(--muted,#62758a);line-height:1.5;overflow-wrap:anywhere}
@media(max-width:520px){.analytics-window-summary{grid-template-columns:1fr}.analytics-window-plot{height:160px}.analytics-window-fill{max-height:134px}.analytics-history-actions button,.analytics-metric-actions button{padding:7px 8px}.billing-plan-directory .plan-card-identity .plan-price{width:100%}}

/* Prevent a wide four-column card from overflowing when the sidebar is open. */
.billing-plan-directory.view-detail .plan-card{column-gap:0!important;row-gap:0!important}
.billing-plan-directory.view-detail .plan-features .plan-channel-icon{align-items:center!important;justify-content:center!important}
.billing-plan-directory.view-detail .plan-features .plan-channel-icon>i{margin:0!important}
@media(min-width:1351px){.billing-plan-directory.view-detail .plan-card{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr) minmax(0,1.5fr) 180px!important}}

/* Language menu: native accessible disclosure, no extra grid item. */
.lang-menu{position:relative;flex:0 0 auto;min-width:0;align-self:center;display:block;z-index:5}
.lang-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;min-height:40px;padding:0 10px;border:1px solid var(--line,#dbe6eb);border-radius:10px;background:var(--surface2,#f4f8f9);color:var(--text,var(--navy,#10283a));font-size:12px;font-weight:800;text-decoration:none!important}
.lang-menu summary::-webkit-details-marker{display:none}.lang-menu summary>i:last-child{font-size:9px}.lang-menu summary:focus-visible,.lang-menu a:focus-visible{outline:2px solid #0e9d86;outline-offset:2px}
.lang-menu .lang-options{position:absolute;top:calc(100% + 8px);right:0;min-width:154px;display:grid;gap:4px;padding:6px;border:1px solid var(--line,#dbe6eb);border-radius:12px;background:var(--surface,#fff);box-shadow:0 12px 30px rgba(8,38,59,.13);z-index:150}
.lang-menu:not([open]) .lang-options{display:none}.lang-menu .lang-options a{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text,var(--navy,#10283a));font-size:13px;padding:10px;border-radius:8px;text-decoration:none!important;font-weight:650;white-space:nowrap}.lang-menu .lang-options a:hover,.lang-menu .lang-options a[aria-current=true]{background:var(--surface2,#e8f5f1);color:#087c6c;text-decoration:none!important}

.wa-api-admin pre,.api-doc-card pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;max-height:none!important;min-height:0!important;overflow:auto!important}.wa-api-admin pre code,.api-doc-card pre code{white-space:inherit!important;overflow-wrap:inherit!important}

/* ZYNKO · shared scrollbar palette, no custom scroll handlers. */
:root{--zynko-scroll-thumb:#1bb89d;--zynko-scroll-hover:#0d8e79;--zynko-scroll-track:#edf5f4}
:root.theme-dark{--zynko-scroll-thumb:#1bb89d;--zynko-scroll-hover:#55d6bf;--zynko-scroll-track:#172a34}
*{scrollbar-width:thin;scrollbar-color:var(--zynko-scroll-thumb) var(--zynko-scroll-track)}
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto;scrollbar-color:auto}
  *::-webkit-scrollbar{width:9px;height:9px}
  *::-webkit-scrollbar-track{background:var(--zynko-scroll-track);border-radius:10px}
  *::-webkit-scrollbar-thumb{background:var(--zynko-scroll-thumb);border:2px solid var(--zynko-scroll-track);border-radius:999px;min-height:24px;min-width:24px}
  *::-webkit-scrollbar-thumb:hover{background:var(--zynko-scroll-hover)}
  *::-webkit-scrollbar-corner{background:var(--zynko-scroll-track)}
  *::-webkit-scrollbar-button{display:none;width:0;height:0}
}
@media(forced-colors:active){*{scrollbar-color:auto;scrollbar-width:auto}*::-webkit-scrollbar-thumb{background:ButtonText;border-color:Canvas}*::-webkit-scrollbar-track{background:Canvas}}

/* ZYNKO 2.31.148 · correo: iconos centrados y texto a su lado. */
.mail-routing .mail-info-note,.inbound-mail-panel .mail-info-note{display:grid!important;grid-template-columns:40px minmax(0,1fr);align-items:center!important;gap:14px;padding:14px 16px!important;margin:14px 0!important;border-radius:12px;min-width:0;overflow:hidden;background:color-mix(in srgb,var(--accent,#12a88a) 5%,var(--surface,#fff));border:1px solid color-mix(in srgb,var(--accent,#12a88a) 20%,var(--line,#dce6ec))!important}
.mail-routing .mail-info-icon,.inbound-mail-panel .mail-info-icon{width:40px;height:40px;display:grid!important;place-items:center!important;align-self:center!important;flex-shrink:0;border-radius:11px;color:var(--accent2,#0d806b);background:color-mix(in srgb,var(--accent,#12a88a) 13%,var(--surface,#fff));margin:0!important;font-size:17px;line-height:1}
.mail-info-icon>i,.mail-provider-icon>i,.premium-card-head-icon>i{margin:0!important;align-self:center;justify-self:center;line-height:1}
.mail-info-note>div{display:grid!important;gap:4px;min-width:0;margin:0!important}
.mail-info-note>div>b{color:var(--text,#10283a);display:block;line-height:1.35}
.mail-info-note>div>span,.mail-info-note>div>small{display:block;color:var(--muted,#6f8293);line-height:1.55;overflow-wrap:anywhere}
.inbound-mail-panel .graph-inbound-help[hidden]{display:none!important}
.mail-route-actions>button{min-height:40px;max-width:100%;white-space:normal;text-align:left}
.mail-profile-grid{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
@media(max-width:480px){.mail-route-actions>button{flex:1 1 auto;justify-content:center}.mail-routing .mail-info-note,.inbound-mail-panel .mail-info-note{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px!important}.mail-routing .mail-info-icon,.inbound-mail-panel .mail-info-icon{width:36px;height:36px}}

/* Editor formatting controls stay compact, independently of form selects. */
body .zynko-rte-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;height:auto!important;min-height:48px!important;overflow:visible!important;gap:5px!important}
body .zynko-rte-toolbar>select.zynko-rte-format:not(.select2-hidden-accessible){position:static!important;display:block!important;visibility:visible!important;opacity:1!important;flex:0 0 132px!important;width:132px!important;min-width:0!important;max-width:100%!important;margin:0!important;height:36px!important;min-height:36px!important;max-height:36px!important;align-self:center!important;box-sizing:border-box!important;padding:0 10px!important;font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:normal!important;color:var(--text,#29445d)!important;background:var(--surface,#fff)!important;border:1px solid var(--line,#d5e2e6)!important;border-radius:9px!important;appearance:auto!important;text-indent:0!important;text-overflow:clip!important}
body .zynko-rte-toolbar>button{flex:0 0 34px!important;position:static!important;margin:0!important}
body .zynko-rte-toolbar>span{flex:0 0 1px!important}
body .mail-routing .mail-info-note,body .inbound-mail-panel .mail-info-note{display:flex!important;align-items:center!important;gap:14px!important;border-radius:12px!important}
body .mail-routing .mail-info-note>div,body .inbound-mail-panel .mail-info-note>div{flex:1;min-width:0}
body .mail-routing .mail-info-icon,body .inbound-mail-panel .mail-info-icon{flex:0 0 40px!important}
body .notification-cooldown>.hint,body .notification-actions>.hint,#mailProviderForm .hint{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;height:auto!important;line-height:1.55!important}
body .notification-cooldown>.hint::before,body .notification-cooldown>.hint::after,body .notification-actions>.hint::before,body .notification-actions>.hint::after,#mailProviderForm .hint::before,#mailProviderForm .hint::after{content:none!important}
body .notification-actions{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
body .notification-actions>.hint{display:inline-flex!important;align-items:center!important;gap:7px!important;flex:0 1 auto!important}
body .inbound-mail-panel .mail-inbound-status{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;border-radius:12px!important;padding:12px!important;height:auto!important}
body .inbound-mail-panel .mail-inbound-status>.status{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;padding:5px 10px!important;border-radius:8px!important;background:var(--surface,#fff);border:1px solid var(--line,#dbe4ea)}
body .inbound-mail-panel .mail-inbound-status>small{flex:1 1 180px;min-width:0;line-height:1.5!important}

/* Select2 compacto en todos los editores; el desplegable queda fuera del contenedor recortado. */
body .zynko-rte-format-control{display:block!important;flex:0 1 156px!important;width:156px!important;max-width:100%!important;min-width:0!important;align-self:center!important;position:relative!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body .zynko-rte-format-control>select.select2-hidden-accessible{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}
body .zynko-rte-format-control>.select2-container{position:relative!important;display:block!important;width:100%!important;min-width:0!important;height:34px!important;margin:0!important;padding:0!important;flex:none!important;box-sizing:border-box!important}
body .zynko-rte-format-control .select2-container--default .select2-selection--single{position:relative!important;box-sizing:border-box!important;height:34px!important;min-height:34px!important;max-height:34px!important;display:flex!important;align-items:center!important;padding:0!important;margin:0!important;border-radius:9px!important;background:var(--surface,#fff)!important;border:1px solid var(--line,#d5e2e6)!important}
body .zynko-rte-format-control .select2-container--default .select2-selection--single .select2-selection__rendered{display:flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;line-height:1.25!important;font-size:12px!important;font-weight:500!important;padding:0 28px 0 10px!important;margin:0!important;color:var(--text,#29445d)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body .zynko-rte-format-control .select2-container--default .select2-selection--single .select2-selection__arrow{position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:100%!important;min-height:0!important;width:24px!important;top:0!important;right:0!important;margin:0!important;padding:0!important}
body .zynko-rte-format-control .select2-container--default .select2-selection--single .select2-selection__arrow>b{position:static!important;margin:0!important;transform:none!important}
body .zynko-rte-format-dropdown.select2-container{width:auto!important;max-width:none!important;min-width:0!important;z-index:100500!important}
body .zynko-rte-format-dropdown .select2-dropdown{min-width:0!important;max-width:calc(100vw - 24px)!important;box-sizing:border-box!important}
body .zynko-rte-format-dropdown .select2-search--dropdown{display:block!important}
body .zynko-rte-format-dropdown .select2-search__field{font-size:12px!important}
body .zynko-rte-format-dropdown .select2-results__option{font-size:12px!important;white-space:normal!important}
/* Etiquetas de canal: alineación de icono y texto, independiente de las reglas genéricas de planes. */
body .plan-channel-chip,body .billing-plan-directory.view-detail .plan-features .plan-channel-chip{align-items:center!important;justify-content:center!important}
body .plan-channel-chip>.plan-channel-name,body .billing-plan-directory.view-detail .plan-features .plan-channel-chip>.plan-channel-name{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;text-align:center!important;min-height:25px!important;margin:0!important;padding:0!important;line-height:1.3!important}

/* Navegación de teléfono únicamente. Las vistas de escritorio y tablet permanecen independientes. */
.phone-only{display:none!important}
@media(max-width:600px), (max-height:500px) and (max-width:950px) and (pointer:coarse){
 body.zynko-phone .main>header{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;height:60px!important;min-height:60px!important;max-height:60px!important;padding:8px 12px!important;position:fixed!important;inset:0 0 auto 0!important;width:100%!important;overflow:visible!important;z-index:100!important}
 body.zynko-phone .main>header .top-left,body.zynko-phone .main>header .header-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:8px!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
 body.zynko-phone .main>header #menu,body.zynko-phone .main>header #globalSearch,body.zynko-phone .main>header #fullscreenBtn,body.zynko-phone .phone-header-menu>summary{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;padding:0!important;margin:0!important;position:static!important;border-radius:11px!important}
 body.zynko-phone .main>header #globalSearch span,body.zynko-phone .main>header #globalSearch kbd{display:none!important}
 body.zynko-phone .main>header .user-chip{width:auto!important;min-width:42px!important;max-width:52px!important;padding:4px!important;margin:0!important;display:flex!important;justify-content:center!important}
 body.zynko-phone .user-chip .user-copy,body.zynko-phone .user-chip>i{display:none!important}
 body.zynko-phone .phone-header-menu{display:block!important;position:relative!important;margin:0!important}
 body.zynko-phone .phone-header-menu>summary{list-style:none;cursor:pointer;background:var(--surface2,#f1f7f6);color:var(--text,#10283a);border:1px solid var(--line,#dbe4ea)}
 body.zynko-phone .phone-header-menu>summary::-webkit-details-marker{display:none}
 body.zynko-phone .phone-header-items{position:absolute;right:0;top:calc(100% + 8px);width:min(245px,calc(100vw - 24px));padding:8px;display:grid;gap:5px;background:var(--surface,#fff);border:1px solid var(--line,#dbe4ea);border-radius:13px;box-shadow:0 12px 35px #10283a26;z-index:110}
 body.zynko-phone .phone-header-menu:not([open]) .phone-header-items{display:none!important}
 body.zynko-phone .phone-header-items>a,body.zynko-phone .phone-header-items>button,body.zynko-phone .phone-header-items>details{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;height:auto!important;min-height:40px!important;padding:9px!important;margin:0!important;white-space:normal!important;position:relative!important;box-sizing:border-box!important}
 body.zynko-phone .phone-header-items span{display:inline!important;white-space:normal!important}
 body.zynko-phone .phone-header-items .lang-options{position:static!important;width:100%!important}
 body.zynko-phone .phone-header-items .header-language{display:block!important}
 body.zynko-phone .main{margin-left:0!important;padding-top:60px!important;width:100%!important}
 body.zynko-phone .main>main{padding:12px!important}
 body.zynko-phone #sidebar{position:fixed!important;left:0!important;transform:translateX(-105%)!important;width:min(270px,85vw)!important;z-index:220!important;height:100dvh!important;transition:transform .2s ease!important}
 body.zynko-phone .app.menu-open #sidebar{transform:translateX(0)!important}
 body.zynko-phone .app.menu-open::after{content:'';position:fixed;inset:0;background:#0f172a66;z-index:200;pointer-events:none}
 body.zynko-phone .flyout.open{z-index:230!important;display:grid!important;position:fixed!important;left:var(--phone-fly-left,12px)!important;right:auto!important;top:var(--phone-fly-top,12px)!important;bottom:auto!important;width:var(--phone-fly-width,230px)!important;max-height:var(--phone-fly-height,65dvh)!important;box-sizing:border-box!important;overflow:auto!important;overscroll-behavior:contain;padding:10px!important;gap:4px!important;border-radius:14px!important}
 body.zynko-phone.page-inbox .main>main{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;max-width:100%!important;overflow:visible!important}
 body.zynko-phone.page-inbox .inbox-premium-toolbar{padding:12px!important;margin:0 0 10px!important;min-width:0!important;width:100%!important}
 body.zynko-phone.page-inbox .phone-filter-toggle{display:flex!important;align-items:center;gap:8px;margin-top:8px;width:100%!important;justify-content:center}
 body.zynko-phone.page-inbox .inbox-premium-toolbar.inbox-filters-hidden #inboxFilters{display:none!important}
 body.zynko-phone.page-inbox #inboxFilters{grid-template-columns:minmax(0,1fr)!important}
 body.zynko-phone.page-inbox.phone-chat-active .inbox-premium-toolbar{display:none!important}
 body.zynko-phone.page-inbox .inbox-layout,body.zynko-phone.page-inbox .inbox-layout.chat-expanded{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;grid-auto-rows:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:0!important}
 body.zynko-phone.page-inbox .inbox-layout>.panel{display:none!important;min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px!important}
 body.zynko-phone.page-inbox .inbox-layout[data-phone-view=list]>.conv-list{display:flex!important;flex-direction:column!important;max-height:none!important;overflow:visible!important}
 body.zynko-phone.page-inbox .inbox-layout[data-phone-view=list] .conversation-scroll{height:auto!important;max-height:none!important;overflow:visible!important;flex:initial!important}
 body.zynko-phone.page-inbox .inbox-layout[data-phone-view=chat]>.chat{display:flex!important;flex-direction:column!important;height:calc(100dvh - 84px)!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 body.zynko-phone.page-inbox .inbox-layout[data-phone-view=info]>.info{display:block!important;overflow-y:auto!important;max-height:calc(100dvh - 84px)!important}
 body.zynko-phone.page-inbox .phone-chat-nav{display:flex!important;align-items:center;justify-content:space-between;gap:5px;width:100%;flex-wrap:wrap}
 body.zynko-phone.page-inbox .phone-chat-nav button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;line-height:1.2!important;flex:1 1 auto;min-width:0!important;padding:6px 8px!important;white-space:nowrap!important;font-size:11px!important;min-height:36px}
 body.zynko-phone.page-inbox .phone-info-back{display:flex!important;align-items:center;gap:6px;margin:0 0 10px;width:100%!important}
 body.zynko-phone.page-inbox .chat-head{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;min-width:0!important;gap:7px!important;padding:8px!important}
 body.zynko-phone.page-inbox .chat-head:not(.phone-actions-open) .chat-actions{display:none!important}
 body.zynko-phone.page-inbox .chat-head.phone-actions-open .chat-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;width:100%!important;max-height:24dvh;overflow:auto}
 body.zynko-phone.page-inbox #chatExpandBtn{display:none!important}
 body.zynko-phone.page-inbox .chat-head .chat-identity{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;margin:0!important}
 body.zynko-phone.page-inbox .chat-head .chat-identity>b{flex:1 1 0;min-width:0;margin:0;font-size:clamp(11px,3.2vw,14px);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.zynko-phone.page-inbox .chat-head .chat-identity>small{flex:0 1 auto;min-width:0;max-width:54%;margin:0;padding-left:8px;border-left:1px solid var(--line);font-size:clamp(9px,2.6vw,11px);line-height:1.35;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.zynko-phone.page-inbox .chat-head .chat-identity>small i{margin-right:3px}
 body.zynko-phone.page-inbox #messages{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;width:100%!important}
 body.zynko-phone.page-inbox #messages .message-wrap{min-width:0!important;max-width:90%!important;overflow-wrap:anywhere}
 body.zynko-phone.page-inbox .composer{flex:0 0 auto!important;width:100%!important;min-width:0!important;padding:6px!important}
 body.zynko-phone.page-inbox .composer-tools{flex-wrap:wrap!important;gap:4px!important;min-width:0!important}
 body.zynko-phone.page-inbox .composer-line{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:stretch!important;width:100%!important;min-width:0!important}
 body.zynko-phone.page-inbox .composer-line .composer-send-btn{grid-column:1;justify-self:end;align-self:end!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:112px!important;max-width:100%!important;height:44px!important;min-height:44px!important;padding:0 16px!important;font-size:12px!important;line-height:1.2!important;border-radius:11px!important;box-shadow:none!important}
 body.zynko-phone.page-inbox .composer-line .composer-send-btn i{font-size:15px!important;line-height:1!important}
 body.zynko-phone.page-inbox .composer-line .composer-send-btn span{display:inline!important;white-space:nowrap!important}
 body.zynko-phone.page-inbox .composer .zynko-rte-toolbar{flex-wrap:wrap!important;max-width:100%!important;gap:3px!important}
 body.zynko-phone.page-inbox .composer [contenteditable=true]{min-height:55px!important;max-height:100px!important;overflow-y:auto!important}
 body.zynko-phone.page-inbox .composer-tip{display:none!important}
}

/* Inbox contacts and attachments: scoped to the existing Inbox UI. */
#newConversationModal .inbox-new-conversation{display:flex;flex-direction:column;max-height:min(88dvh,780px);overflow:hidden;width:min(600px,calc(100vw - 28px))}
#newConversationModal .inbox-new-body{padding:16px 20px;overflow-y:auto;min-height:0;flex:1 1 auto}
#newConversationModal .modal-actions{flex:0 0 auto;justify-content:flex-end;margin:0;padding:14px 20px;border-top:1px solid var(--line)}
#newConversationModal [hidden],.inbox-chat-search[hidden],#messageMediaModal [hidden],.inbox-clear-files[hidden]{display:none!important}
.inbox-phone-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}.inbox-new-body .field{display:grid;gap:8px;margin:0 0 16px!important;min-width:0}#newConversationModal .inbox-new-phone-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:end}#newConversationModal .inbox-new-phone-grid>.field{grid-template-rows:auto auto;align-content:end;min-width:0}#newConversationModal .inbox-new-phone-grid input,#newConversationModal .inbox-new-phone-grid .select2-container{width:100%!important;min-width:0;max-width:100%}.inbox-new-phone-grid>.field{margin-bottom:8px!important}.inbox-new-body #inboxNumberPreview{display:block;margin:0 0 12px;color:var(--accent2);font-weight:700}.inbox-new-body #inboxNewPhone>small:last-child{display:block;margin:0 0 16px;line-height:1.45}.inbox-new-body #inboxKnownRecipient .field{margin-top:8px!important}
.zynko-country-option{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;line-height:1.3}.zynko-country-option>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zynko-country-flag{display:inline-block;flex:0 0 27px;width:27px;height:21px;background-image:url(../img/country-flags.png);background-repeat:no-repeat;background-size:432px auto}.select2-results__option .zynko-country-option>span:last-child{white-space:normal;overflow-wrap:anywhere}
/* Select2's floating wrapper must not inherit width:100% from the control. */
.select2-container--open:has(>.select2-dropdown){width:auto!important;min-width:0!important;max-width:calc(100vw - 16px)!important}.select2-dropdown{max-width:calc(100vw - 16px)!important;min-width:0!important}.select2-search--dropdown .select2-search__field{max-width:100%!important;min-width:0!important}.select2-results__options{overflow-x:hidden!important}
.zynko-country-flag.flag-AF{background-position:-0px -0px}
.zynko-country-flag.flag-AL{background-position:-27px -0px}
.zynko-country-flag.flag-DZ{background-position:-54px -0px}
.zynko-country-flag.flag-AS{background-position:-81px -0px}
.zynko-country-flag.flag-AD{background-position:-108px -0px}
.zynko-country-flag.flag-AO{background-position:-135px -0px}
.zynko-country-flag.flag-AI{background-position:-162px -0px}
.zynko-country-flag.flag-AG{background-position:-189px -0px}
.zynko-country-flag.flag-AR{background-position:-216px -0px}
.zynko-country-flag.flag-AM{background-position:-243px -0px}
.zynko-country-flag.flag-AW{background-position:-270px -0px}
.zynko-country-flag.flag-AU{background-position:-297px -0px}
.zynko-country-flag.flag-AT{background-position:-324px -0px}
.zynko-country-flag.flag-AZ{background-position:-351px -0px}
.zynko-country-flag.flag-BS{background-position:-378px -0px}
.zynko-country-flag.flag-BH{background-position:-405px -0px}
.zynko-country-flag.flag-BD{background-position:-0px -21px}
.zynko-country-flag.flag-BB{background-position:-27px -21px}
.zynko-country-flag.flag-BY{background-position:-54px -21px}
.zynko-country-flag.flag-BE{background-position:-81px -21px}
.zynko-country-flag.flag-BZ{background-position:-108px -21px}
.zynko-country-flag.flag-BJ{background-position:-135px -21px}
.zynko-country-flag.flag-BM{background-position:-162px -21px}
.zynko-country-flag.flag-BT{background-position:-189px -21px}
.zynko-country-flag.flag-BO{background-position:-216px -21px}
.zynko-country-flag.flag-BQ{background-position:-243px -21px}
.zynko-country-flag.flag-BA{background-position:-270px -21px}
.zynko-country-flag.flag-BW{background-position:-297px -21px}
.zynko-country-flag.flag-BR{background-position:-324px -21px}
.zynko-country-flag.flag-IO{background-position:-351px -21px}
.zynko-country-flag.flag-BN{background-position:-378px -21px}
.zynko-country-flag.flag-BG{background-position:-405px -21px}
.zynko-country-flag.flag-BF{background-position:-0px -42px}
.zynko-country-flag.flag-BI{background-position:-27px -42px}
.zynko-country-flag.flag-KH{background-position:-54px -42px}
.zynko-country-flag.flag-CM{background-position:-81px -42px}
.zynko-country-flag.flag-CA{background-position:-108px -42px}
.zynko-country-flag.flag-CV{background-position:-135px -42px}
.zynko-country-flag.flag-KY{background-position:-162px -42px}
.zynko-country-flag.flag-CF{background-position:-189px -42px}
.zynko-country-flag.flag-TD{background-position:-216px -42px}
.zynko-country-flag.flag-CL{background-position:-243px -42px}
.zynko-country-flag.flag-CN{background-position:-270px -42px}
.zynko-country-flag.flag-CX{background-position:-297px -42px}
.zynko-country-flag.flag-CC{background-position:-324px -42px}
.zynko-country-flag.flag-CO{background-position:-351px -42px}
.zynko-country-flag.flag-KM{background-position:-378px -42px}
.zynko-country-flag.flag-CG{background-position:-405px -42px}
.zynko-country-flag.flag-CD{background-position:-0px -63px}
.zynko-country-flag.flag-CK{background-position:-27px -63px}
.zynko-country-flag.flag-CR{background-position:-54px -63px}
.zynko-country-flag.flag-CI{background-position:-81px -63px}
.zynko-country-flag.flag-HR{background-position:-108px -63px}
.zynko-country-flag.flag-CU{background-position:-135px -63px}
.zynko-country-flag.flag-CW{background-position:-162px -63px}
.zynko-country-flag.flag-CY{background-position:-189px -63px}
.zynko-country-flag.flag-CZ{background-position:-216px -63px}
.zynko-country-flag.flag-DK{background-position:-243px -63px}
.zynko-country-flag.flag-DJ{background-position:-270px -63px}
.zynko-country-flag.flag-DM{background-position:-297px -63px}
.zynko-country-flag.flag-DO{background-position:-324px -63px}
.zynko-country-flag.flag-EC{background-position:-351px -63px}
.zynko-country-flag.flag-EG{background-position:-378px -63px}
.zynko-country-flag.flag-SV{background-position:-405px -63px}
.zynko-country-flag.flag-GQ{background-position:-0px -84px}
.zynko-country-flag.flag-ER{background-position:-27px -84px}
.zynko-country-flag.flag-EE{background-position:-54px -84px}
.zynko-country-flag.flag-SZ{background-position:-81px -84px}
.zynko-country-flag.flag-ET{background-position:-108px -84px}
.zynko-country-flag.flag-FK{background-position:-135px -84px}
.zynko-country-flag.flag-FO{background-position:-162px -84px}
.zynko-country-flag.flag-FJ{background-position:-189px -84px}
.zynko-country-flag.flag-FI{background-position:-216px -84px}
.zynko-country-flag.flag-FR{background-position:-243px -84px}
.zynko-country-flag.flag-GF{background-position:-270px -84px}
.zynko-country-flag.flag-PF{background-position:-297px -84px}
.zynko-country-flag.flag-GA{background-position:-324px -84px}
.zynko-country-flag.flag-GM{background-position:-351px -84px}
.zynko-country-flag.flag-GE{background-position:-378px -84px}
.zynko-country-flag.flag-DE{background-position:-405px -84px}
.zynko-country-flag.flag-GH{background-position:-0px -105px}
.zynko-country-flag.flag-GI{background-position:-27px -105px}
.zynko-country-flag.flag-GR{background-position:-54px -105px}
.zynko-country-flag.flag-GL{background-position:-81px -105px}
.zynko-country-flag.flag-GD{background-position:-108px -105px}
.zynko-country-flag.flag-GP{background-position:-135px -105px}
.zynko-country-flag.flag-GU{background-position:-162px -105px}
.zynko-country-flag.flag-GT{background-position:-189px -105px}
.zynko-country-flag.flag-GG{background-position:-216px -105px}
.zynko-country-flag.flag-GN{background-position:-243px -105px}
.zynko-country-flag.flag-GW{background-position:-270px -105px}
.zynko-country-flag.flag-GY{background-position:-297px -105px}
.zynko-country-flag.flag-HT{background-position:-324px -105px}
.zynko-country-flag.flag-HN{background-position:-351px -105px}
.zynko-country-flag.flag-HK{background-position:-378px -105px}
.zynko-country-flag.flag-HU{background-position:-405px -105px}
.zynko-country-flag.flag-IS{background-position:-0px -126px}
.zynko-country-flag.flag-IN{background-position:-27px -126px}
.zynko-country-flag.flag-ID{background-position:-54px -126px}
.zynko-country-flag.flag-IR{background-position:-81px -126px}
.zynko-country-flag.flag-IQ{background-position:-108px -126px}
.zynko-country-flag.flag-IE{background-position:-135px -126px}
.zynko-country-flag.flag-IM{background-position:-162px -126px}
.zynko-country-flag.flag-IL{background-position:-189px -126px}
.zynko-country-flag.flag-IT{background-position:-216px -126px}
.zynko-country-flag.flag-JM{background-position:-243px -126px}
.zynko-country-flag.flag-JP{background-position:-270px -126px}
.zynko-country-flag.flag-JE{background-position:-297px -126px}
.zynko-country-flag.flag-JO{background-position:-324px -126px}
.zynko-country-flag.flag-KZ{background-position:-351px -126px}
.zynko-country-flag.flag-KE{background-position:-378px -126px}
.zynko-country-flag.flag-KI{background-position:-405px -126px}
.zynko-country-flag.flag-KP{background-position:-0px -147px}
.zynko-country-flag.flag-KR{background-position:-27px -147px}
.zynko-country-flag.flag-XK{background-position:-54px -147px}
.zynko-country-flag.flag-KW{background-position:-81px -147px}
.zynko-country-flag.flag-KG{background-position:-108px -147px}
.zynko-country-flag.flag-LA{background-position:-135px -147px}
.zynko-country-flag.flag-LV{background-position:-162px -147px}
.zynko-country-flag.flag-LB{background-position:-189px -147px}
.zynko-country-flag.flag-LS{background-position:-216px -147px}
.zynko-country-flag.flag-LR{background-position:-243px -147px}
.zynko-country-flag.flag-LY{background-position:-270px -147px}
.zynko-country-flag.flag-LI{background-position:-297px -147px}
.zynko-country-flag.flag-LT{background-position:-324px -147px}
.zynko-country-flag.flag-LU{background-position:-351px -147px}
.zynko-country-flag.flag-MO{background-position:-378px -147px}
.zynko-country-flag.flag-MG{background-position:-405px -147px}
.zynko-country-flag.flag-MW{background-position:-0px -168px}
.zynko-country-flag.flag-MY{background-position:-27px -168px}
.zynko-country-flag.flag-MV{background-position:-54px -168px}
.zynko-country-flag.flag-ML{background-position:-81px -168px}
.zynko-country-flag.flag-MT{background-position:-108px -168px}
.zynko-country-flag.flag-MH{background-position:-135px -168px}
.zynko-country-flag.flag-MQ{background-position:-162px -168px}
.zynko-country-flag.flag-MR{background-position:-189px -168px}
.zynko-country-flag.flag-MU{background-position:-216px -168px}
.zynko-country-flag.flag-YT{background-position:-243px -168px}
.zynko-country-flag.flag-MX{background-position:-270px -168px}
.zynko-country-flag.flag-FM{background-position:-297px -168px}
.zynko-country-flag.flag-MD{background-position:-324px -168px}
.zynko-country-flag.flag-MC{background-position:-351px -168px}
.zynko-country-flag.flag-MN{background-position:-378px -168px}
.zynko-country-flag.flag-ME{background-position:-405px -168px}
.zynko-country-flag.flag-MS{background-position:-0px -189px}
.zynko-country-flag.flag-MA{background-position:-27px -189px}
.zynko-country-flag.flag-MZ{background-position:-54px -189px}
.zynko-country-flag.flag-MM{background-position:-81px -189px}
.zynko-country-flag.flag-NA{background-position:-108px -189px}
.zynko-country-flag.flag-NR{background-position:-135px -189px}
.zynko-country-flag.flag-NP{background-position:-162px -189px}
.zynko-country-flag.flag-NL{background-position:-189px -189px}
.zynko-country-flag.flag-NC{background-position:-216px -189px}
.zynko-country-flag.flag-NZ{background-position:-243px -189px}
.zynko-country-flag.flag-NI{background-position:-270px -189px}
.zynko-country-flag.flag-NE{background-position:-297px -189px}
.zynko-country-flag.flag-NG{background-position:-324px -189px}
.zynko-country-flag.flag-NU{background-position:-351px -189px}
.zynko-country-flag.flag-NF{background-position:-378px -189px}
.zynko-country-flag.flag-MP{background-position:-405px -189px}
.zynko-country-flag.flag-NO{background-position:-0px -210px}
.zynko-country-flag.flag-OM{background-position:-27px -210px}
.zynko-country-flag.flag-PK{background-position:-54px -210px}
.zynko-country-flag.flag-PW{background-position:-81px -210px}
.zynko-country-flag.flag-PS{background-position:-108px -210px}
.zynko-country-flag.flag-PA{background-position:-135px -210px}
.zynko-country-flag.flag-PG{background-position:-162px -210px}
.zynko-country-flag.flag-PY{background-position:-189px -210px}
.zynko-country-flag.flag-PE{background-position:-216px -210px}
.zynko-country-flag.flag-PH{background-position:-243px -210px}
.zynko-country-flag.flag-PN{background-position:-270px -210px}
.zynko-country-flag.flag-PL{background-position:-297px -210px}
.zynko-country-flag.flag-PT{background-position:-324px -210px}
.zynko-country-flag.flag-PR{background-position:-351px -210px}
.zynko-country-flag.flag-QA{background-position:-378px -210px}
.zynko-country-flag.flag-RE{background-position:-405px -210px}
.zynko-country-flag.flag-RO{background-position:-0px -231px}
.zynko-country-flag.flag-RU{background-position:-27px -231px}
.zynko-country-flag.flag-RW{background-position:-54px -231px}
.zynko-country-flag.flag-BL{background-position:-81px -231px}
.zynko-country-flag.flag-KN{background-position:-108px -231px}
.zynko-country-flag.flag-LC{background-position:-135px -231px}
.zynko-country-flag.flag-MF{background-position:-162px -231px}
.zynko-country-flag.flag-PM{background-position:-189px -231px}
.zynko-country-flag.flag-VC{background-position:-216px -231px}
.zynko-country-flag.flag-WS{background-position:-243px -231px}
.zynko-country-flag.flag-SM{background-position:-270px -231px}
.zynko-country-flag.flag-ST{background-position:-297px -231px}
.zynko-country-flag.flag-SA{background-position:-324px -231px}
.zynko-country-flag.flag-SN{background-position:-351px -231px}
.zynko-country-flag.flag-RS{background-position:-378px -231px}
.zynko-country-flag.flag-SC{background-position:-405px -231px}
.zynko-country-flag.flag-SL{background-position:-0px -252px}
.zynko-country-flag.flag-SG{background-position:-27px -252px}
.zynko-country-flag.flag-SX{background-position:-54px -252px}
.zynko-country-flag.flag-SK{background-position:-81px -252px}
.zynko-country-flag.flag-SI{background-position:-108px -252px}
.zynko-country-flag.flag-SB{background-position:-135px -252px}
.zynko-country-flag.flag-SO{background-position:-162px -252px}
.zynko-country-flag.flag-ZA{background-position:-189px -252px}
.zynko-country-flag.flag-SS{background-position:-216px -252px}
.zynko-country-flag.flag-ES{background-position:-243px -252px}
.zynko-country-flag.flag-LK{background-position:-270px -252px}
.zynko-country-flag.flag-SH{background-position:-297px -252px}
.zynko-country-flag.flag-SD{background-position:-324px -252px}
.zynko-country-flag.flag-SR{background-position:-351px -252px}
.zynko-country-flag.flag-SJ{background-position:-378px -252px}
.zynko-country-flag.flag-SE{background-position:-405px -252px}
.zynko-country-flag.flag-CH{background-position:-0px -273px}
.zynko-country-flag.flag-SY{background-position:-27px -273px}
.zynko-country-flag.flag-TW{background-position:-54px -273px}
.zynko-country-flag.flag-TJ{background-position:-81px -273px}
.zynko-country-flag.flag-TZ{background-position:-108px -273px}
.zynko-country-flag.flag-TH{background-position:-135px -273px}
.zynko-country-flag.flag-TL{background-position:-162px -273px}
.zynko-country-flag.flag-TG{background-position:-189px -273px}
.zynko-country-flag.flag-TK{background-position:-216px -273px}
.zynko-country-flag.flag-TO{background-position:-243px -273px}
.zynko-country-flag.flag-TT{background-position:-270px -273px}
.zynko-country-flag.flag-TN{background-position:-297px -273px}
.zynko-country-flag.flag-TR{background-position:-324px -273px}
.zynko-country-flag.flag-TM{background-position:-351px -273px}
.zynko-country-flag.flag-TC{background-position:-378px -273px}
.zynko-country-flag.flag-TV{background-position:-405px -273px}
.zynko-country-flag.flag-UG{background-position:-0px -294px}
.zynko-country-flag.flag-UA{background-position:-27px -294px}
.zynko-country-flag.flag-AE{background-position:-54px -294px}
.zynko-country-flag.flag-GB{background-position:-81px -294px}
.zynko-country-flag.flag-US{background-position:-108px -294px}
.zynko-country-flag.flag-UY{background-position:-135px -294px}
.zynko-country-flag.flag-UZ{background-position:-162px -294px}
.zynko-country-flag.flag-VU{background-position:-189px -294px}
.zynko-country-flag.flag-VA{background-position:-216px -294px}
.zynko-country-flag.flag-VE{background-position:-243px -294px}
.zynko-country-flag.flag-VN{background-position:-270px -294px}
.zynko-country-flag.flag-VG{background-position:-297px -294px}
.zynko-country-flag.flag-VI{background-position:-324px -294px}
.zynko-country-flag.flag-WF{background-position:-351px -294px}
.zynko-country-flag.flag-EH{background-position:-378px -294px}
.zynko-country-flag.flag-YE{background-position:-405px -294px}
.zynko-country-flag.flag-ZM{background-position:-0px -315px}
.zynko-country-flag.flag-ZW{background-position:-27px -315px}
.zynko-country-flag.flag-AX{background-position:-54px -315px}
.zynko-country-flag.flag-AC{background-position:-81px -315px}
.zynko-country-flag.flag-TA{background-position:-108px -315px}
.zynko-country-flag.flag-MK{background-position:-135px -315px}

.inbox-phone-fields .select2-container,.inbox-new-body .select2-container{max-width:100%;min-width:0}
.inbox-contact-status{color:var(--muted);display:block;margin-bottom:8px;overflow-wrap:anywhere}
 .inbox-phone-input-group{display:flex;align-items:stretch;gap:0;min-width:0;width:100%;max-width:100%;box-sizing:border-box;padding:0;border:0;background:transparent}.inbox-phone-input-group input{flex:1 1 0;min-width:0!important;width:0!important;border:1px solid var(--line)!important;border-right:0!important;border-radius:9px 0 0 9px!important;outline:none!important;box-shadow:none!important;background:var(--surface)!important;margin:0!important;padding:8px 10px!important;min-height:38px!important;height:38px!important;cursor:default}.inbox-phone-input-group .inbox-copy-number{margin:0!important;flex:0 0 38px;width:38px!important;min-width:38px!important;min-height:38px!important;height:38px!important;display:grid!important;place-items:center;border:1px solid #10283a!important;border-radius:0 9px 9px 0!important;background:#10283a!important;color:#fff!important;padding:0!important;box-shadow:none!important}.inbox-phone-input-group .inbox-copy-number:hover{background:#17384f!important}.inbox-phone-input-group .inbox-copy-number:focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px}
/* Inbox toolbar: actions live in the existing header, search only consumes space when open. */
.inbox-more-menu{position:relative;flex:none;min-width:0}.inbox-more-menu>summary{list-style:none;display:flex!important;align-items:center;gap:6px;cursor:pointer;background:#10283a!important;color:#fff!important;border:1px solid #10283a!important;border-radius:9px;padding:10px 12px;font-weight:750;font-size:12px;white-space:nowrap}.inbox-more-menu>summary::-webkit-details-marker{display:none}.inbox-more-menu>summary:hover{background:#17384f!important}.inbox-more-menu .inbox-more-options{position:absolute;right:0;top:calc(100% + 6px);width:min(230px,calc(100vw - 40px));z-index:150;display:grid;gap:6px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(16,40,58,.18)}.inbox-more-menu:not([open]) .inbox-more-options{display:none}.inbox-more-options button{width:100%;justify-content:flex-start!important;white-space:normal!important;min-width:0;text-align:left}.inbox-chat-search .soft,.inbox-copy-message,.inbox-clear-files,.message-pdf-preview{background:#10283a!important;color:#fff!important;border-color:#10283a!important}
.inbox-chat-search{display:flex;gap:10px;align-items:center;min-width:0;padding:10px 14px;background:var(--surface);border-bottom:1px solid var(--line);flex:0 0 auto}.inbox-search-input{display:flex;align-items:center;gap:9px;flex:1 1 auto;min-width:0;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}.inbox-search-input>i{color:var(--muted)}.inbox-search-input input{flex:1;min-width:0;width:100%;height:40px;min-height:40px;border:0!important;background:transparent!important;color:var(--text);outline:none!important;box-shadow:none!important;padding:7px 0!important;font:inherit}.inbox-search-input:focus-within{border-color:#1bb89d;box-shadow:0 0 0 2px rgba(27,184,157,.15)}.inbox-chat-search small{flex:0 1 auto;white-space:normal;font-size:11px}.inbox-contact-name-card .inbox-contact-name-body{padding:18px 20px}.inbox-contact-name-card .modal-actions{justify-content:flex-end}
.inbox-search-hidden{display:none!important}
/* Shared message actions and compact detail/forward dialogs. */
#inboxMessageContextMenu{width:min(245px,calc(100vw - 20px));padding:7px;overflow:auto;max-height:calc(100dvh - 20px)}
#inboxMessageContextMenu button[hidden]{display:none!important}
#inboxMessageContextMenu button{padding:7px 8px;min-height:36px}
body.dark #inboxMessageContextMenu{background:var(--surface);border-color:var(--line)}
body.dark #inboxMessageContextMenu button{color:var(--text)}
body.dark #inboxMessageContextMenu button:hover{background:var(--surface2)}
.modal-shell .modal-card.inbox-message-dialog{display:flex!important;flex-direction:column!important;width:min(540px,calc(100vw - 28px))!important;height:min(490px,calc(100dvh - 28px))!important;max-height:calc(100dvh - 28px)!important;padding:0!important;gap:0!important;overflow:hidden!important}
.modal-shell .inbox-message-dialog>.modal-head{flex:0 0 auto!important;margin:0!important;position:relative!important;padding:15px 18px!important}
.modal-shell .inbox-message-dialog-body{flex:1 1 0!important;min-height:0!important;overflow:auto;overscroll-behavior:contain;padding:15px 18px!important;display:flex;flex-direction:column;gap:12px}
.modal-shell .inbox-message-dialog>.modal-actions{flex:0 0 auto!important;position:relative!important;justify-content:flex-end!important;margin:0!important;padding:12px 18px!important;border-top:1px solid var(--line)!important;min-height:0!important;height:auto!important;background:var(--surface)!important}
.modal-shell .inbox-message-dialog>.modal-actions button{height:40px;min-height:40px;white-space:nowrap}

/* Message details: content-sized like the other ZYNKO dialogs.
   Data is loaded before opening so its height never jumps after it appears.
   Keep the footer immediately below the detail rows; on small screens,
   scroll only the body instead of adding empty space. */
#inboxMessageInfoModal .modal-card.inbox-message-dialog{
 height:auto!important;
 max-height:calc(100dvh - 28px)!important;
}
#inboxMessageInfoModal .inbox-message-dialog-body{
 flex:0 1 auto!important;
 min-height:0!important;
 overflow-y:auto;
}

.inbox-message-info-rows{display:grid;gap:8px;min-width:0}
.inbox-message-info-row{display:grid;grid-template-columns:minmax(105px,42%) minmax(0,1fr);align-items:start;gap:12px;padding:10px 12px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}
.inbox-message-info-row small{color:var(--muted);font-size:.78rem}.inbox-message-info-row b{font-size:.8rem;line-height:1.45;font-weight:650}

/* Message details only: retain the shared modal design and use meaningful state tokens. */
#inboxMessageInfoModal .inbox-message-info-row--status{align-items:center}
#inboxMessageInfoModal .inbox-message-info-value{min-width:0;overflow-wrap:anywhere}
#inboxMessageInfoModal .inbox-message-info-value>b{display:block;font-size:.8rem;line-height:1.5;font-weight:650;color:var(--text)}
#inboxMessageInfoModal .inbox-message-status-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 10px;border:1px solid var(--line);border-radius:999px;font-size:.75rem;line-height:1.35;font-weight:750;background:var(--surface);color:var(--text);white-space:normal}
#inboxMessageInfoModal .inbox-message-status-dot{width:7px;height:7px;flex:0 0 7px;background:currentColor;border-radius:50%}
#inboxMessageInfoModal .inbox-message-status-badge--success{background:#e5f7ef;border-color:#b6e8d0;color:#117a55}
#inboxMessageInfoModal .inbox-message-status-badge--danger{background:#fff0f1;border-color:#f2c4ca;color:#b42334}
#inboxMessageInfoModal .inbox-message-status-badge--warning{background:#fff5e4;border-color:#f0d6a1;color:#946100}
#inboxMessageInfoModal .inbox-message-status-badge--neutral{background:var(--surface);border-color:var(--line);color:var(--muted)}
#inboxMessageInfoModal .inbox-message-info-row--provider{background:#fff8f0;border-color:#f0d8bd}
#inboxMessageInfoModal .inbox-message-info-row--provider .inbox-message-info-value>b{color:#833e16}
#inboxMessageInfoModal .inbox-message-provider-help{font-size:.77rem;line-height:1.55;color:#865022;margin:9px 0 0;border-top:1px solid #ebd9c4;padding-top:8px}
#inboxMessageInfoModal .inbox-message-receipt-date{display:block;color:var(--muted);line-height:1.45;margin-top:6px;font-size:.72rem}
body.dark #inboxMessageInfoModal .inbox-message-status-badge--success{background:#113c32;border-color:#286c56;color:#9ae5c1}
body.dark #inboxMessageInfoModal .inbox-message-status-badge--danger{background:#43232b;border-color:#74414a;color:#ffb9c2}
body.dark #inboxMessageInfoModal .inbox-message-status-badge--warning{background:#41351c;border-color:#6b5630;color:#ffe1a3}
body.dark #inboxMessageInfoModal .inbox-message-info-row--provider{background:#362b22;border-color:#6a4d31}
body.dark #inboxMessageInfoModal .inbox-message-info-row--provider .inbox-message-info-value>b{color:#f3c9a1}
body.dark #inboxMessageInfoModal .inbox-message-provider-help{color:#dfbd9c;border-top-color:#65492f}
.inbox-forward-preview{display:grid;gap:7px;min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--surface2);font-size:.86rem;max-height:180px;overflow:auto}
.inbox-forward-preview small{color:var(--muted);font-size:.75rem}
#inboxMessageForwardModal .select2-container--open{z-index:11000!important}
@media(max-width:480px){.modal-shell .inbox-message-dialog-body{padding:12px!important}.modal-shell .inbox-message-dialog>.modal-head{padding:12px!important}.modal-shell .inbox-message-dialog>.modal-actions{padding:10px 12px!important;gap:7px}.inbox-message-info-row{grid-template-columns:1fr;gap:4px}.modal-shell .inbox-message-dialog>.modal-actions button{padding:7px 10px;font-size:12px}}
#messageMediaModalPdf{width:100%;height:62dvh;border:0;background:#f3f7f8;border-radius:8px}
#messageMediaModalFiles{width:100%;display:grid;gap:8px}
#messageMediaModalFiles button,#messageMediaModalFiles a{display:block;width:100%;padding:12px!important;overflow-wrap:anywhere;text-align:left;border-radius:8px;background:#10283a!important;color:#fff!important}

@media(max-width:600px){.inbox-chat-search{padding:7px 8px;gap:6px;flex-wrap:wrap}.inbox-chat-search small{font-size:10px}#newConversationModal .inbox-new-phone-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}#newConversationModal .inbox-new-phone-grid label{font-size:11px;line-height:1.4}.inbox-more-menu .inbox-more-options{position:static;width:100%;box-shadow:none;margin-top:5px}.inbox-more-menu[open]{grid-column:1/-1}.inbox-more-menu>summary{justify-content:center}#newConversationModal .inbox-new-body{padding:12px}#newConversationModal .modal-actions{padding:10px 12px}#messageMediaModalPdf{height:55dvh}}

/* Compact mobile rich-text toolbar. Extra formatting is expanded only on demand. */
.zynko-rte-more,.zynko-rte-extra{display:none!important}
@media(max-width:600px){body .zynko-rte-toolbar{gap:5px!important;flex-wrap:wrap!important;align-items:center!important}body .zynko-rte-toolbar>.zynko-rte-more{display:inline-flex!important;align-items:center;justify-content:center;background:#10283a!important;color:#fff!important;min-width:34px!important;min-height:34px!important}body .zynko-rte-toolbar>.zynko-rte-secondary{display:none!important}body .zynko-rte-toolbar.rte-extra-open>.zynko-rte-secondary{display:none!important}body .zynko-rte-toolbar>span:not(.zynko-rte-format-control):not(.select2-container){display:none!important}}
.message-activity-chart{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px;min-width:0;padding-top:20px}.message-activity-chart .analytics-window-plot{height:160px}.message-activity-chart .analytics-window-value{background:none!important;box-shadow:none!important;border:0!important}.message-activity-chart .analytics-window-fill{min-height:0!important}

/* Auth language control and compact registration layout. */
.auth-language-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.auth-language-row .login-brand{margin:0!important;min-width:0}.auth-language-row .lang-menu{margin-left:auto;flex:none}.auth-register .auth-card.register-card{width:min(1190px,calc(100vw - 24px))!important;max-width:1190px!important}.auth-register .register-nivo-strip{margin:8px 0!important}.auth-register .auth-grid{gap:10px 14px!important}.auth-register .auth-card{margin:auto}.auth-register{overflow-y:auto!important}
@media(min-width:900px){.auth-register .auth-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.auth-register .auth-grid>.field.full{grid-column:auto!important}.auth-register .free-plan-summary>div{min-height:52px!important}.auth-register .register-nivo-strip{padding:7px 12px!important}.auth-register .register-nivo-strip img{width:48px!important;height:48px!important}}
/* Inbox controls and contact panel. */
.inbox-view-actions{display:flex;align-items:center;gap:8px;flex:none}.inbox-section-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;background:#10283a!important;color:#fff!important;border-color:#10283a!important;border-radius:9px;padding:8px 10px!important}.inbox-section-toggle:hover{background:#17384f!important;color:#fff!important}.inbox-premium-toolbar.inbox-filters-hidden #inboxFilters{display:none!important}.inbox-premium-toolbar.inbox-filters-hidden{gap:0!important}.inbox-client-toggle{display:none!important}body.page-inbox .inbox-layout.inbox-client-hidden:not(.chat-expanded){grid-template-columns:minmax(230px,300px) minmax(0,1fr)!important}body.page-inbox .inbox-layout.inbox-client-hidden>.info{display:none!important}body.page-inbox .inbox-layout.inbox-client-hidden .inbox-client-toggle{display:inline-flex!important}body.page-inbox .info{min-width:0!important;min-height:0!important;box-sizing:border-box;overflow-x:hidden!important;overflow-y:auto!important}body.page-inbox .info .info-form,body.page-inbox .info .field,body.page-inbox .info .inbox-phone-fields{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box}body.page-inbox .info .field .select2-container,body.page-inbox .info .field input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}body.page-inbox .info .field .inbox-phone-input-group input{width:0!important;flex:1 1 0!important}body.page-inbox .info .inbox-phone-fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:6px!important}body.page-inbox .info .profile{padding:5px 0!important;margin:0!important}body.page-inbox .info .info-form{gap:7px!important}body.page-inbox .info .info-title{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}body.page-inbox .info .info-title>b{margin-right:auto}.inbox-channel-type{--channel-brand:#087e75;display:inline-flex!important;align-items:center;gap:5px;padding:5px 8px!important;border-radius:8px!important;color:var(--channel-brand)!important;background:color-mix(in srgb,var(--channel-brand) 12%,var(--surface))!important;border:1px solid color-mix(in srgb,var(--channel-brand) 25%,var(--line))!important}.inbox-channel-type[data-channel-type=whatsapp]{--channel-brand:#148a43}.inbox-channel-type[data-channel-type=messenger]{--channel-brand:#1877f2}.inbox-channel-type[data-channel-type=instagram]{--channel-brand:#c13584}.inbox-channel-type[data-channel-type=telegram]{--channel-brand:#1686b8}.inbox-channel-type[data-channel-type=email]{--channel-brand:#7c3aed}.inbox-channel-type:is([data-channel-type=threads],[data-channel-type=thread],[data-channel-type=x],[data-channel-type=twitter]){--channel-brand:var(--text)}
body.page-inbox .chat-head .inbox-more-menu .inbox-more-options button.inbox-menu-option,.zynko-rte-extra button.rte-menu-item{display:flex!important;align-items:center;justify-content:flex-start!important;gap:10px!important;background:transparent!important;border:0!important;color:var(--text,#10283a)!important;box-shadow:none!important;padding:9px 10px!important;border-radius:9px;width:100%!important;text-align:left!important;font-size:12px;font-weight:700;white-space:normal!important;min-height:44px!important;height:auto!important;transform:none!important;filter:none!important}.inbox-more-menu .inbox-more-options button.inbox-menu-option>i,.zynko-rte-extra .rte-menu-item>i{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;color:#087e75!important;background:#e4f5f1!important}.inbox-more-menu .inbox-more-options button.inbox-menu-option:hover,.zynko-rte-extra .rte-menu-item:hover{background:var(--surface2,#edf7f4)!important;color:var(--accent2,#087e75)!important}
@media(max-width:1050px) and (min-width:761px){body.page-inbox .inbox-client-toggle,body.page-inbox .inbox-client-close{display:none!important}}
@media(max-width:760px){.inbox-view-title{flex-direction:row!important;align-items:center!important;flex-wrap:wrap}.inbox-view-actions{margin-left:auto}body.zynko-phone.page-inbox .inbox-client-toggle{display:none!important}body.zynko-phone.page-inbox .info{overflow-y:auto!important;max-height:calc(100dvh - 84px)!important}.inbox-client-close{display:none!important}body.zynko-phone .search-modal.open,body.zynko-phone .modal-shell.open{z-index:1100!important}body.zynko-phone .search-modal.open{position:fixed!important;inset:0!important;padding:10px!important;align-items:center!important;justify-content:center!important}body.zynko-phone .search-box{max-height:calc(100dvh - 20px)!important;display:flex!important;flex-direction:column!important}.search-box .command-results{min-height:0!important;overflow-y:auto!important}.command-input input{box-shadow:none!important;outline:none!important}}
@media(max-width:600px){body .zynko-rte-toolbar.rte-extra-open>.zynko-rte-extra{position:fixed!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:min(220px,calc(100vw - 16px));max-height:min(320px,60dvh);overflow:auto;z-index:1101;background:var(--surface,#fff);border:1px solid var(--line,#dbe6e9);border-radius:12px;padding:6px;box-shadow:0 12px 28px #10283a30}body .zynko-rte-toolbar>.zynko-rte-secondary,body .zynko-rte-toolbar.rte-extra-open>.zynko-rte-secondary{display:none!important}body .zynko-rte-extra .rte-menu-item{height:auto!important;min-height:38px!important;flex:none!important}.zynko-rte-extra .rte-menu-item>span{display:inline!important}}

@media(max-width:760px){body.page-inbox:not(.zynko-phone) .inbox-layout.inbox-client-hidden:not(.chat-expanded){grid-template-columns:minmax(0,1fr)!important}}
body.zynko-phone.page-inbox .phone-chat-nav.phone-only{display:flex!important;visibility:visible!important}body.zynko-phone.page-inbox .phone-chat-nav .phone-only{display:inline-flex!important}
body.page-inbox .info .select2-selection__rendered{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}body.page-inbox .info .select2-selection{max-width:100%!important;min-width:0!important}
@media(min-width:761px){body.page-inbox:not(.zynko-phone) .main>main{min-height:0!important}body.page-inbox:not(.zynko-phone) .inbox-layout{flex:1 1 0px!important;height:0!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:minmax(0,1fr)!important}body.page-inbox:not(.zynko-phone) .inbox-layout>.panel{height:100%!important;max-height:100%!important;min-height:0!important;box-sizing:border-box!important}body.page-inbox:not(.zynko-phone) .inbox-layout>.info{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding-bottom:12px!important}body.page-inbox:not(.zynko-phone) .info .client360-more-wrap{margin-bottom:0!important;padding-bottom:0!important}}
body.page-inbox .info .info-title{flex-wrap:nowrap!important}body.page-inbox .info .info-title>b{min-width:0;white-space:nowrap;font-size:12px!important}body.page-inbox .info .inbox-client-close,body.page-inbox .chat-head .inbox-client-toggle{flex:none!important;width:32px!important;min-width:32px!important;padding:0!important;height:32px!important;min-height:32px!important;justify-content:center!important}
body.page-inbox .info .inbox-phone-fields{gap:6px!important}
body.page-inbox .info .inbox-phone-fields>.select2-container{min-width:0!important;max-width:100%!important}
body.page-inbox .info .inbox-phone-fields>.select2-container .select2-selection__rendered{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding-right:18px!important}
@media(max-width:370px){body.page-inbox .info .inbox-phone-fields{grid-template-columns:minmax(0,1fr)!important}}body.page-inbox .info .inbox-contact-status{margin:0!important}body.page-inbox .info .info-form .field{margin:0!important;gap:4px!important}
body.page-inbox .info .field .select2-container{width:100%!important;max-width:100%!important}
body.page-inbox .inbox-more-menu .inbox-more-options,.zynko-rte-toolbar .zynko-rte-extra{background:#fff!important;border-color:#dbe6eb!important;gap:3px!important}
body.page-inbox .chat-head .inbox-more-menu .inbox-more-options button.inbox-menu-option,.zynko-rte-toolbar .zynko-rte-extra button.rte-menu-item{color:#10283a!important;justify-content:flex-start!important;align-items:center!important;white-space:normal!important;background:transparent!important;text-align:left!important;border:0!important;box-shadow:none!important}
body.page-inbox .chat-head .inbox-more-menu .inbox-more-options button.inbox-menu-option:hover,.zynko-rte-toolbar .zynko-rte-extra button.rte-menu-item:hover{background:#eef7f5!important;color:#087e75!important}
body.page-inbox .inbox-more-options .inbox-menu-option>i,.zynko-rte-extra .rte-menu-item>i{flex:none!important;margin:0!important}
body.page-inbox .inbox-more-options .inbox-menu-option:nth-child(2)>i{background:#e7f0ff!important;color:#2563eb!important}body.page-inbox .inbox-more-options .inbox-menu-option:nth-child(3)>i{background:#f0eafd!important;color:#7347c8!important}body.page-inbox .inbox-more-options .inbox-menu-option:nth-child(4)>i{background:#e6f7ee!important;color:#16803d!important}
.legal-bilingual-section{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface2,var(--surface))}.legal-bilingual-section .field{min-width:0}.legal-bilingual-section textarea{width:100%;min-height:220px;max-height:380px;resize:vertical;line-height:1.6;box-sizing:border-box}
#planModal .plan-type-rule{margin-top:12px}#planModal .plan-policy-preview{margin-top:12px;display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface2,var(--surface));min-width:0;overflow-wrap:anywhere}#planModal .plan-policy-preview>strong{color:#087e75;font-size:13px}
body .billing-plan-directory .plan-channel-chip.is-upcoming .plan-channel-icon,body #planModal .billing-option:has(.plan-channel-availability.is-upcoming) .plan-channel-icon{background:#fff2d7!important;color:#805300!important}body .billing-plan-directory .plan-channel-chip.is-ready .plan-channel-icon,body #planModal .billing-option:has(.plan-channel-availability.is-ready) .plan-channel-icon{background:#e2f5ec!important;color:#126b43!important}
body .billing-plan-directory .plan-channel-availability.is-upcoming,body #planModal .plan-channel-availability.is-upcoming{background:#fff2d7!important;color:#805300!important}body .billing-plan-directory .plan-channel-availability.is-ready,body #planModal .plan-channel-availability.is-ready{background:#e2f5ec!important;color:#126b43!important}body .billing-plan-directory .plan-channel-availability>i,body #planModal .plan-channel-availability>i{color:inherit!important;margin:0!important}


.auth-register .register-topbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.auth-register .register-topbar .auth-site-back{margin:0!important;flex:none}.auth-register .register-topbar .auth-language-row{flex:1;min-width:190px;margin:0}.auth-register .register-content{display:grid;gap:16px;min-width:0}.auth-register .register-intro,.auth-register .register-form-area{min-width:0}.auth-register .register-intro .free-plan-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-register .register-intro .auth-heading{align-items:start}.auth-register .register-intro .free-plan-summary>div{min-width:0}.auth-register .register-intro .free-plan-summary small{overflow-wrap:anywhere}.auth-register .register-intro .auth-heading h1{overflow-wrap:anywhere}.auth-register .register-topbar .auth-language-row .login-brand{padding-bottom:0!important}
@media(min-width:1000px){.auth-register .register-content{grid-template-columns:minmax(220px, .85fr) minmax(0,2.15fr);gap:24px;align-items:start}.auth-register .register-intro{border-right:1px solid var(--line);padding-right:20px}.auth-register .register-intro .auth-heading{display:grid!important;gap:8px!important}.auth-register .register-intro .free-plan-summary{grid-template-columns:minmax(0,1fr)!important}.auth-register .register-intro .register-nivo-strip{grid-template-columns:minmax(0,1fr) 48px!important}.auth-register .register-form-area .auth-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.auth-register .register-form-area .auth-grid .field.full{grid-column:span 2!important}.auth-register .register-form-area .auth-footer-link{margin-top:8px!important}.auth-register .auth-card{padding:20px!important}.auth-register .register-form-area .zc-consent{margin-top:14px!important}}
@media(max-width:620px){.auth-register .register-intro .free-plan-summary{grid-template-columns:minmax(0,1fr)!important}.auth-register .register-topbar{gap:8px}.auth-register .register-topbar .auth-language-row{min-width:0;flex:1 1 100%}.auth-register .register-topbar .auth-site-back{font-size:11px;min-height:36px}.auth-register{align-items:flex-start!important}.auth-register .auth-card{margin:0 auto!important}}

body.page-channels .channel-state[data-channel-status="upcoming"]{background:#fff2d7!important;color:#805300!important}body.page-channels .channel-state[data-channel-status="upcoming"]>i{color:inherit!important}

/* Compact Inbox controls: scoped to the contact profile and phone formatting menu. */
body.page-inbox .info .inbox-phone-hint{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:1.25}
body.page-inbox .info .customer-facts .fact-card{min-height:38px!important;height:auto!important;padding:5px 4px!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:3px!important;min-width:0}body.page-inbox .info .customer-facts .fact-card small,body.page-inbox .info .customer-facts .fact-card b{margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important;text-align:center!important;max-width:100%}
body.page-inbox .info .customer-facts .fact-card small{justify-content:center!important;align-items:center!important;flex-wrap:wrap;column-gap:3px!important;row-gap:1px!important;width:100%}
@media(max-width:600px){body.zynko-phone.page-inbox .phone-chat-nav button>i{flex:none;margin:0!important;line-height:1!important}body.zynko-phone.page-inbox .phone-chat-nav button>span{line-height:1.2;min-width:0}body .zynko-rte-toolbar.rte-extra-open>.zynko-rte-extra{padding:4px!important;gap:2px!important;max-height:min(260px,54dvh)!important}body .zynko-rte-toolbar .zynko-rte-extra button.rte-menu-item{padding:4px 7px!important;min-height:30px!important;height:auto!important;gap:7px!important;line-height:1.2!important}body .zynko-rte-toolbar .zynko-rte-extra button.rte-menu-item>i{width:24px!important;height:24px!important;min-width:24px!important;font-size:12px!important}}

/* Owner FAQ editor */
.faq-admin-list{display:grid;gap:10px;margin-top:14px}.faq-admin-card{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}.faq-admin-card>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;cursor:pointer;color:var(--text);background:var(--surface2)}.faq-admin-card>summary::-webkit-details-marker{display:none}.faq-admin-card>summary>span{display:flex;align-items:center;gap:10px;min-width:0;overflow-wrap:anywhere}.faq-admin-card>summary i{color:var(--accent);flex:none}.faq-admin-card[open]>summary>i{transform:rotate(180deg)}.faq-admin-body{padding:14px;display:grid;gap:12px}.faq-admin-language{display:grid;gap:12px;min-width:0}.faq-admin-language textarea{resize:vertical;min-height:100px}.faq-admin-actions{display:flex;justify-content:flex-end;margin-top:16px}

/* Inbox / dashboard: compact action hierarchy and consistent responsive controls. */
body.page-inbox .chat-head .chat-identity{flex:1 1 200px;min-width:150px;max-width:none}
body.page-inbox .chat-head .chat-identity b,body.page-inbox .chat-head .chat-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
body.page-inbox .chat-head .chat-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 1 auto;min-width:0;flex-wrap:wrap}
body.page-inbox .chat-head .chat-actions > button.soft{flex:0 0 auto;white-space:nowrap}
body.page-inbox .chat-head .inbox-more-options{max-height:min(65vh,480px);overflow-y:auto;overflow-x:hidden}
body.page-inbox .chat-head .inbox-more-options button.inbox-menu-option{font-size:12px!important;display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-start!important;height:auto!important;min-height:39px!important;padding:6px 9px!important;color:#10283a!important;background:transparent!important;text-align:left!important;white-space:normal!important;border:0!important}
body.page-inbox .chat-head .inbox-more-options button.inbox-menu-option:hover{background:#eaf6f3!important}
body.page-inbox .chat-head .inbox-more-options button.inbox-menu-option i{font-size:13px!important;color:#087f70!important;flex:none}
@media(min-width:601px){body.page-inbox .chat-head .chat-actions{flex-wrap:nowrap}body.page-inbox .chat-head .chat-actions>.soft{padding:9px 10px!important;font-size:11px!important}}
@media(max-width:600px){body.zynko-phone.page-inbox .chat-head.phone-actions-open .chat-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.page-inbox .chat-head .chat-identity{min-width:0;width:100%}body.page-inbox .inbox-more-menu .inbox-more-options{position:absolute;width:min(230px,calc(100vw - 36px));right:0;max-height:45vh;overflow:auto}}
.dashboard-attention-tools{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:14px 0}
.dashboard-attention-input{flex:1 1 280px;position:relative;display:flex;align-items:center;min-width:0}
.dashboard-attention-input>i{position:absolute;left:13px;color:#087f70;pointer-events:none}
.dashboard-attention-input input{width:100%;min-height:42px;padding:10px 39px 10px 39px;border:1px solid #d9e6e9;border-radius:10px;background:#fff;color:#10283a;font:inherit}
.dashboard-attention-input input:focus{border-color:#0b9f8c;outline:2px solid #cbeee8;outline-offset:0}
.dashboard-attention-clear{position:absolute;right:5px;min-height:32px;min-width:32px;border:0;border-radius:8px;background:#10283a;color:#fff;cursor:pointer;display:grid;place-items:center}
.dashboard-attention-clear[hidden]{display:none!important}
.dashboard-attention-count{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;font-weight:700;color:#10283a}
.dashboard-attention-count select{min-height:40px;width:auto;min-width:106px;padding:6px 30px 6px 10px}
.dashboard-attention-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:13px;margin-top:13px;border-top:1px solid #dce6ea}
.dashboard-attention-pager-actions{display:flex;align-items:center;gap:8px}
.dashboard-attention-pager-actions a{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:9px;background:#10283a!important;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700}
.dashboard-attention-pager-actions a.is-disabled{opacity:.45;pointer-events:none}
.dashboard-attention-pager small{color:#657b8c}
@media(max-width:600px){.dashboard-attention-tools{align-items:stretch;gap:10px}.dashboard-attention-input{flex-basis:100%}.dashboard-attention-count{width:100%;justify-content:flex-end}.dashboard-attention-pager{justify-content:center}}

/* v041: departments use the same balanced cards and controls as the rest of ZYNKO. */
.zynko-departments-panel{margin-top:18px;min-width:0}
.zynko-department-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,440px);gap:18px;padding:18px;align-items:start}
.zynko-department-list,.zynko-department-management{display:grid;gap:12px;min-width:0}
.zynko-department-empty{min-height:170px;border:1px dashed #d0e3e6;border-radius:15px;background:#f8fbfc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:9px}
.zynko-department-empty>span,.zynko-department-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e5f5f0;color:#078a78;font-size:19px}
.zynko-department-empty small{max-width:340px;color:#708296;line-height:1.55}
.zynko-department-card,.zynko-department-form{border:1px solid #dce8ed;border-radius:15px;padding:16px;background:#fff;min-width:0}
.zynko-department-card-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.zynko-department-card-header>div{min-width:100px;flex:1}.zynko-department-card-header b,.zynko-department-card-header small{display:block}.zynko-department-card-header small{color:#64748b;margin-top:3px}.zynko-department-status{display:flex;align-items:center;gap:6px;border-radius:30px;background:#f1f5f9;color:#64748b;padding:6px 10px;font-size:11px;white-space:nowrap}.zynko-department-status.active{background:#e8f6f1;color:#07826f}.zynko-department-status i{font-size:7px}.zynko-department-members{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.zynko-department-members>span{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce8ed;border-radius:10px;padding:7px 9px;font-size:12px}.zynko-department-members strong{border-radius:12px;background:#e5f5f0;color:#07826f;padding:3px 6px;font-size:10px}.zynko-department-members>small{color:#64748b}
.zynko-department-form{display:grid;gap:13px}.zynko-department-form-title{display:flex;align-items:center;gap:10px}.zynko-department-form-title>i{display:grid;place-items:center;width:37px;height:37px;flex:none;background:#e5f5f0;color:#07826f;border-radius:10px}.zynko-department-form-title b,.zynko-department-form-title small{display:block}.zynko-department-form-title small{color:#64748b}.zynko-department-form .field{min-width:0}.zynko-department-form .field label{display:block;margin-bottom:7px}.zynko-department-form .field input,.zynko-department-form .field select{width:100%;min-width:0}.zynko-department-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zynko-department-supervisor{display:flex;align-items:center;gap:8px;font-size:12px}.zynko-department-form-actions{display:flex;justify-content:flex-end;gap:8px}.zynko-department-form-actions button{max-width:100%}.zynko-department-note{display:flex;gap:9px;margin:0 18px 16px;color:#63798d;font-size:12px;line-height:1.55}.zynko-department-note i{color:#07826f;margin-top:2px}.zynko-department-exports{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 18px 18px;padding:14px;border:1px solid #dce8ed;border-radius:14px;background:#f8fbfc}.zynko-department-exports>span{font-weight:700;font-size:12px}.zynko-department-exports>div{display:flex;flex-wrap:wrap;gap:10px}.zynko-department-exports .company-export-btn{width:auto;min-width:120px;text-decoration:none;cursor:pointer}
.zynko-report-modal{width:min(1000px,calc(100vw - 28px));max-width:1000px;height:min(90dvh,840px);display:flex;flex-direction:column;overflow:hidden}.zynko-report-modal>.modal-head,.zynko-report-modal>.modal-actions{flex:none}.zynko-report-modal-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:13px 18px;overflow:hidden}.zynko-report-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.zynko-report-controls .field label{display:block;margin-bottom:5px}.zynko-report-controls .field select{width:100%;min-height:39px}.zynko-report-modal iframe{flex:1;width:100%;min-height:0;border:1px solid #dce8ed;border-radius:11px;background:#f7fafb}.zynko-report-modal>.modal-actions{justify-content:flex-end}
/* Keep original dashboard bar layout; restore only the approved visit-style numeric labels. */
.dashboard-grid .chart-card .bar-value{opacity:1!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:2px 4px!important;color:#087f70!important;font-weight:900!important;font-size:11px!important}
.dashboard-grid .chart-card .bar-wrap:hover .bar-value{transform:none!important}
@media(max-width:1050px){.zynko-department-content{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.zynko-department-content{padding:12px;gap:12px}.zynko-department-form-grid{grid-template-columns:1fr}.zynko-department-exports{margin:0 12px 12px}.zynko-report-controls{grid-template-columns:1fr}.zynko-department-form-actions button{width:100%}}

/* v042 — compact report preview and informative empty departments, scoped to existing components. */
.zynko-department-content:has(.zynko-department-empty){align-items:stretch!important}
.zynko-department-content:has(.zynko-department-empty) .zynko-department-list{align-self:stretch;min-height:0}
.zynko-department-content:has(.zynko-department-empty) .zynko-department-empty{min-height:clamp(360px,58vh,620px)!important;height:100%;width:100%;max-width:none;display:flex;align-items:center;justify-content:center;text-align:center;gap:13px;padding:32px 24px}
.zynko-department-empty>b{font-size:16px;line-height:1.4}
.zynko-department-empty>small{font-size:13px;max-width:480px;line-height:1.65}
/* Layout is owned by this one report modal, not global modal selectors. */
#zynkoReportPreviewModal{padding:14px!important;align-items:center!important;justify-content:center!important}
#zynkoReportPreviewModal .zynko-report-modal{box-sizing:border-box!important;width:min(1120px,calc(100vw - 28px))!important;max-width:1120px!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 28px)!important;padding:0!important;margin:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#zynkoReportPreviewModal .zynko-report-modal>.modal-head{flex:0 0 auto!important;display:flex!important;align-items:center!important;margin:0!important;padding:18px 22px!important;min-height:74px!important;border-bottom:1px solid #dce8ed!important}
#zynkoReportPreviewModal .zynko-report-modal-body{box-sizing:border-box;display:flex!important;flex-direction:column!important;flex:0 1 auto!important;min-height:0!important;overflow:auto!important;gap:12px!important;padding:18px 22px!important}
#zynkoReportPreviewModal .zynko-report-modal iframe{box-sizing:border-box;width:100%;height:clamp(300px,57dvh,640px)!important;min-height:0!important;max-height:57dvh;flex:0 1 auto!important;background:#fff}
#zynkoReportPreviewModal .zynko-report-modal>.modal-actions{box-sizing:border-box;display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;flex-direction:row!important;gap:10px!important;margin:0!important;padding:11px 22px!important;min-height:62px!important;height:auto!important;border-top:1px solid #dce8ed!important}
#zynkoReportPreviewModal .zynko-report-modal>.modal-actions>*{flex:none!important;width:auto!important;min-height:38px!important;padding:9px 13px!important}
#zynkoReportPreviewModal .zynko-report-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dashboard-attention-count select,.dashboard-attention-count .select2-container{width:154px!important;min-width:154px!important;max-width:154px!important}
.dashboard-attention-count .select2-selection__rendered{padding-right:24px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-attention-count .select2-container--open .select2-dropdown{min-width:170px!important}
@media(max-width:700px){#zynkoReportPreviewModal .zynko-report-modal>.modal-head{padding:14px 16px!important}#zynkoReportPreviewModal .zynko-report-modal-body{padding:12px 16px!important}#zynkoReportPreviewModal .zynko-report-modal>.modal-actions{padding:10px 16px!important}#zynkoReportPreviewModal .zynko-report-modal iframe{height:49dvh!important;max-height:49dvh}.zynko-department-content:has(.zynko-department-empty) .zynko-department-empty{min-height:300px!important;height:auto}}
@media(max-width:480px){#zynkoReportPreviewModal .zynko-report-controls{grid-template-columns:1fr;gap:8px}#zynkoReportPreviewModal .zynko-report-modal>.modal-actions{flex-wrap:wrap!important}}

/* v043 - Excel export and department role controls, using existing modal composition. */
#zynkoExcelOptionsModal{align-items:center;justify-content:center;padding:16px;z-index:11020}
#zynkoExcelOptionsModal .zynko-excel-modal{width:min(1000px,calc(100vw - 32px));max-width:1000px;height:650px;max-height:calc(100dvh - 32px);min-height:0;padding:0;display:flex;flex-direction:column;overflow:hidden;margin:auto}
#zynkoExcelOptionsModal .zynko-excel-modal>.modal-head{flex:0 0 auto;margin:0;padding:18px 22px;border-bottom:1px solid #deebee}
#zynkoExcelOptionsModal .zynko-excel-modal-body{flex:1 1 auto;min-height:0;padding:22px 28px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}
#zynkoExcelOptionsModal .zynko-excel-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
#zynkoExcelOptionsModal .zynko-excel-modal-grid>.field:last-child{grid-column:1/-1}
#zynkoExcelOptionsModal .zynko-excel-modal-body .field{min-width:0;display:flex;flex-direction:column;gap:8px;margin:0}
#zynkoExcelOptionsModal .zynko-excel-modal-body input,#zynkoExcelOptionsModal .zynko-excel-modal-body select{width:100%;min-width:0;box-sizing:border-box}
#zynkoExcelOptionsModal .zynko-excel-summary{display:flex;align-items:flex-start;gap:10px;color:#4e697a;background:#f3f8f8;border:1px solid #dbeaed;border-radius:11px;padding:12px;font-size:12px;line-height:1.5;min-height:42px}
#zynkoExcelOptionsModal .zynko-excel-summary i{color:#07977f;padding-top:2px}
#zynkoExcelOptionsModal .zynko-excel-modal>.modal-actions{flex:0 0 auto;height:auto;min-height:62px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 22px;margin:0;border-top:1px solid #deebee}
#zynkoExcelOptionsModal .zynko-excel-modal>.modal-actions>*{flex:none;width:auto;min-height:40px}
.zynko-department-supervisor{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;cursor:pointer;min-height:44px;color:#142b3b;font-weight:600}
.zynko-department-supervisor>input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.zynko-department-supervisor-check{width:21px;height:21px;flex:none;border:1.5px solid #b5c8d2;border-radius:6px;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:transparent;transition:background .15s,border-color .15s}
.zynko-department-supervisor input:checked+.zynko-department-supervisor-check{background:#0d9f8c;border-color:#0d9f8c;color:white}
.zynko-department-supervisor input:focus-visible+.zynko-department-supervisor-check{outline:3px solid #a9e4da;outline-offset:3px}
@media(max-width:600px){#zynkoExcelOptionsModal .zynko-excel-modal{height:min(640px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}#zynkoExcelOptionsModal .zynko-excel-modal-grid{grid-template-columns:1fr;gap:12px}#zynkoExcelOptionsModal .zynko-excel-modal-body{padding:16px}#zynkoExcelOptionsModal .zynko-excel-modal>.modal-head{padding:14px 16px}#zynkoExcelOptionsModal .zynko-excel-modal>.modal-actions{padding:10px 16px}}

/* v044 — Excel sheet protection follows the established ZYNKO checkbox treatment. */
#zynkoExcelOptionsModal .zynko-excel-protection{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;white-space:normal;cursor:pointer;line-height:1.4;font-size:13px;font-weight:600;color:#102c3b}
#zynkoExcelOptionsModal .zynko-excel-protection input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#zynkoExcelOptionsModal .zynko-excel-protection-indicator{width:20px;height:20px;min-width:20px;display:flex;align-items:center;justify-content:center;border:1.5px solid #b6cbd0;border-radius:6px;background:white;color:transparent}
#zynkoExcelOptionsModal .zynko-excel-protection input:checked+.zynko-excel-protection-indicator{background:#0d9f8c;border-color:#0d9f8c;color:white}
#zynkoExcelOptionsModal .zynko-excel-protection input:focus-visible+.zynko-excel-protection-indicator{outline:3px solid #a9e4da;outline-offset:3px}
#zynkoExcelOptionsModal .zynko-excel-protection-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-width:0}
#zynkoExcelOptionsModal .zynko-excel-protection-copy strong{font-size:13px;white-space:nowrap}
#zynkoExcelOptionsModal .zynko-excel-protection small{display:block;font-weight:400;font-size:11px;color:#627b8d;margin:0;line-height:1.4}

/* v051: filtro de acciones del dropdown Más; hereda el diseño corporativo ZYNKO. */
body.page-inbox .inbox-more-search{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:7px;padding:7px 9px;margin:0 0 5px;background:#fff;border:1px solid #dbe6eb;border-radius:9px;box-sizing:border-box;min-width:0}
body.page-inbox .inbox-more-search>i{color:#087e75;flex:none}
body.page-inbox .inbox-more-search-input{width:100%;min-width:0;flex:1;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:5px 0!important;font-size:12px!important;color:#10283a!important}
body.page-inbox .inbox-more-search-input::-webkit-search-cancel-button{display:none}
body.page-inbox .inbox-more-search .inbox-more-search-clear{display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;background:#eaf6f3;color:#087e75;border-radius:5px}
body.page-inbox .inbox-more-search .inbox-more-search-clear[hidden],body.page-inbox .inbox-more-empty[hidden],body.page-inbox .inbox-more-options .inbox-menu-option[hidden]{display:none!important}
body.page-inbox .inbox-more-empty{font-size:12px;text-align:center;color:#64748b;margin:10px 4px}

/* Inbox: reservar desde el primer pintado el espacio del editor enriquecido.
   zynko-ui.js sustituye el textarea por toolbar + editor + estado al iniciar;
   la altura equivalente evita que la conversación salte al finalizar la carga.
   El textarea oculto (.zynko-rte-native) conserva su comportamiento original. */
@media (min-width:761px){
  body.page-inbox .pro-composer .composer-line{
    grid-template-columns:minmax(0,1fr) 96px!important;
    align-items:end!important;
    gap:8px!important;
  }
  body.page-inbox .pro-composer .composer-line>textarea#messageInput:not(.zynko-rte-native){
    display:block!important;
    width:100%!important;
    height:202px!important;
    min-height:202px!important;
    max-height:202px!important;
    resize:none!important;
    grid-column:1;
    box-sizing:border-box!important;
  }
  body.page-inbox .pro-composer .composer-line>.zynko-rte-shell{
    min-width:0;
    grid-column:1;
  }
  body.page-inbox .pro-composer .composer-line>.composer-send-btn{
    grid-column:2;
    justify-self:end!important;
    align-self:end!important;
    width:94px!important;
    min-width:94px!important;
    max-width:94px!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 9px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:11px!important;
    gap:6px!important;
    transform:none!important;
    transition:background-color .15s ease,border-color .15s ease!important;
  }
  body.page-inbox .pro-composer .composer-line>.composer-send-btn:hover{
    transform:none!important;
  }
}

/* Chrome/Edge/Safari: suprimir únicamente la X nativa del navegador.
   Mantener los botones de limpiar creados por ZYNKO y su lógica JavaScript. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:none!important;
}

/* v003: centrar la X personalizada del buscador de Más, sin alterar otros botones. */
body.page-inbox .chat-head .inbox-more-search button.inbox-more-search-clear{
  display:inline-flex;align-items:center!important;justify-content:center!important;
  flex:0 0 24px!important;width:24px!important;height:24px!important;
  min-width:24px!important;min-height:24px!important;max-height:24px!important;
  padding:0!important;margin:0!important;line-height:1!important;
  border-radius:5px!important;box-sizing:border-box!important;
}
body.page-inbox .chat-head .inbox-more-search button.inbox-more-search-clear>i{
  display:block!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;line-height:1!important;
  font-size:12px!important;position:static!important;transform:none!important;
}
body.page-inbox .chat-head .inbox-more-search button.inbox-more-search-clear[hidden]{display:none!important}

/* v007: menú Acciones del teléfono reutiliza el desplegable Más existente.
   Anula la antigua cuadrícula de botones, incluida la regla que ocultaba el contenedor. */
@media (max-width:600px){
  body.zynko-phone.page-inbox .chat-head{position:relative!important;overflow:visible!important;z-index:20!important}
  body.zynko-phone.page-inbox .chat-head .phone-chat-nav{overflow:visible!important}
  body.zynko-phone.page-inbox .chat-head:not(.phone-actions-open) .chat-actions,
  body.zynko-phone.page-inbox .chat-head.phone-actions-open .chat-actions,
  body.zynko-phone.page-inbox .chat-head .chat-actions{
    display:block!important;position:static!important;overflow:visible!important;
    width:0!important;height:0!important;min-width:0!important;min-height:0!important;
    max-height:0!important;margin:0!important;padding:0!important;border:0!important;
    flex:0 0 0!important;gap:0!important;
  }
  body.zynko-phone.page-inbox .chat-head .chat-actions > :not(.inbox-more-menu){display:none!important}
  body.zynko-phone.page-inbox .chat-head .chat-actions > .inbox-more-menu{
    display:block!important;position:static!important;width:0!important;height:0!important;
    min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
    overflow:visible!important;
  }
  body.zynko-phone.page-inbox .chat-head .chat-actions > .inbox-more-menu > summary{display:none!important}
  body.zynko-phone.page-inbox .chat-head .inbox-more-menu[open] > .inbox-more-options{
    position:fixed!important;top:var(--zynko-more-top,125px)!important;
    left:var(--zynko-more-left,12px)!important;right:auto!important;
    width:var(--zynko-more-width,260px)!important;max-width:calc(100vw - 24px)!important;
    max-height:var(--zynko-more-height,350px)!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
    margin:0!important;padding:6px!important;gap:2px!important;
    z-index:1100!important;border-radius:12px!important;
    box-shadow:0 12px 28px rgba(16,40,58,.2)!important;
  }
  body.zynko-phone.page-inbox .chat-head .inbox-more-options button.inbox-menu-option{
    min-height:34px!important;padding:4px 7px!important;gap:7px!important;font-size:11px!important;
  }
  body.zynko-phone.page-inbox .chat-head .inbox-more-options button.inbox-menu-option > i{
    width:26px!important;height:26px!important;flex:0 0 26px!important;
  }
  body.zynko-phone.page-inbox .chat-head .inbox-more-search{
    position:sticky!important;top:0!important;z-index:2!important;padding:5px 7px!important;margin:0 0 4px!important;
  }
  /* El teclado redimensiona el viewport de diseño (meta interactive-widget).
     Mantener el chat en el flujo normal y dejar que el historial se contraiga. */
  body.zynko-phone.page-inbox .inbox-layout[data-phone-view=chat]>.chat:focus-within{
    min-height:0!important;max-height:calc(100dvh - 84px)!important;
  }
  body.zynko-phone.page-inbox .inbox-layout[data-phone-view=chat]>.chat:focus-within #messages{
    min-height:0!important;flex-shrink:1!important;
  }

}

/* Opt-in desktop message alerts reuse ZYNKO's existing soft-button design. */
body.page-inbox .inbox-browser-notification-toggle{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-height:32px;padding:6px 10px;font-size:11px}
body.page-inbox .inbox-browser-notification-toggle[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}
@media(max-width:760px){body.page-inbox .inbox-browser-notification-toggle{display:none!important}}

/* Correo: herramientas y paginación alineadas con los directorios existentes. */
#mail-history .mail-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:14px 0}
#mail-history .mail-history-filter{display:flex;align-items:center;gap:14px;flex:1;flex-wrap:wrap;min-width:0}
#mail-history .mail-history-search{position:relative;flex:1;min-width:220px;max-width:430px}
#mail-history .mail-history-search>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;color:#64748b}
#mail-history .mail-history-search input{width:100%;padding-left:39px!important;padding-right:43px!important}
#mail-history .mail-history-search input::-webkit-search-cancel-button,#mail-history .mail-history-search input::-webkit-search-decoration{display:none!important;-webkit-appearance:none!important}
#mail-history .mail-history-search input{appearance:textfield!important}
#mail-history .mail-history-search .clear-search{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;padding:0;border-radius:9px}
#mail-history .mail-history-search .clear-search[hidden]{display:none!important}
#mail-history .mail-history-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#mail-history .mail-history-footer{margin-top:16px;border:1px solid #e7eef3;border-radius:12px}
#mail-history .mail-history-footer .company-page-btn.is-disabled{opacity:.4;pointer-events:none}
.dashboard-attention-pager-actions{flex-wrap:wrap}
.dashboard-attention-pager-actions a.company-page-btn{min-width:36px;height:38px;padding:0 11px;background:#fff!important;color:#122033!important;border:1px solid #dbe5ea!important;border-radius:11px}
.dashboard-attention-pager-actions a.company-page-btn.active{background:#0f766e!important;color:#fff!important;border-color:#0f766e!important}
@media(max-width:760px){#mail-history .mail-history-toolbar,#mail-history .mail-history-filter{align-items:stretch;flex-direction:column}#mail-history .mail-history-search{width:100%;max-width:none}#mail-history .mail-history-actions{justify-content:flex-start}#mail-history .mail-history-footer{align-items:stretch}#mail-history .mail-history-footer .company-pagination{justify-content:center}}

/* v026 · Historial: el selector debe mostrar Todos (n) en una sola línea. */
#mail-history .users-show-count .select2-container{width:160px!important;min-width:160px!important;max-width:160px!important}
#mail-history .users-show-count .select2-selection__rendered{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
#mail-history #mailHistorySize{min-width:160px!important;width:160px!important}
/* v026 · Paginación centrada y fija al final de la lista, sin alterar la zona de escritura. */
body.page-inbox .conv-list .inbox-conversation-pagination{flex:0 0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;border-top:1px solid var(--line,#dbe5ea);padding:10px 2px 3px;margin-top:auto;min-width:0}
body.page-inbox .conv-list .inbox-conversation-pagination[hidden]{display:none!important}
body.page-inbox .conv-list .inbox-conversation-page-summary{font-size:11px;color:var(--muted,#667b8c);text-align:center}
body.page-inbox .conv-list .inbox-conversation-page-nav{justify-content:center!important;gap:5px;max-width:100%;flex-wrap:wrap}
body.page-inbox .conv-list .inbox-conversation-page-nav .company-page-btn{min-width:31px;height:34px;padding:0 8px;font-size:11px;white-space:nowrap}
body.page-inbox .conv-list .conversation[hidden]{display:none!important}
@media(max-width:760px){body.page-inbox .conv-list .inbox-conversation-pagination{padding:12px 4px 6px}body.page-inbox .conv-list .inbox-conversation-page-nav{justify-content:center!important}}
