.profile-details,.profile-details-empty{display:grid;gap:8px;margin:0;padding:12px;font-size:13px;line-height:1.5;color:var(--text-2, #4b5563);background:var(--surface-2, #f9fafb);border:1px solid var(--border, #e5e7eb);border-radius:var(--radius, 6px);overflow-wrap:anywhere;word-break:break-word}.profile-details-field{display:grid;grid-template-columns:minmax(80px,130px) minmax(0,1fr);gap:8px 12px;align-items:baseline}.profile-details-field dt{color:var(--muted, #667085);font-weight:500;font-size:12px;line-height:1.4}.profile-details-field dd{margin:0;min-width:0;color:var(--text, #111827);font-size:13px;overflow-wrap:anywhere;word-break:break-word}.profile-details-field dd.multiline-text{white-space:pre-wrap}.profile-details-links{display:flex;flex-direction:column;gap:4px}.profile-details-links a{color:var(--blue, #0052ff);text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere;word-break:break-all}[data-theme=dark] .profile-details-links a,[data-theme=dark] .profile-details small.freshness-pending{color:#7aa2ff}.profile-details-notice{margin:0;color:var(--muted, #667085);font-size:12px;font-style:italic;line-height:1.4}.profile-details small{font-size:12px;font-weight:600}.profile-details small.freshness-fresh{color:var(--green, #15803d)}.profile-details small.freshness-stale{color:var(--amber, #9a4b00)}.profile-details small.freshness-pending{color:var(--blue, #0052ff)}.profile-details small.freshness-failed{color:var(--red, #b91c1c)}.profile-details small.freshness-unknown{color:var(--muted, #667085)}.agent-accessible-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.agent-accessible-backdrop[hidden],.agent-accessible-dialog[hidden]{display:none}.agent-accessible-dialog{width:min(1100px,100%);max-height:90vh;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 20px 48px #0f172a47;display:flex;flex-direction:column;outline:none}.agent-accessible-dialog-body{overflow:auto;padding:20px;flex:1;min-height:0}.agent-accessible-dialog-footer{border-top:1px solid var(--border);padding:12px 20px;background:var(--surface-2)}.agent-accessible-dialog :focus-visible{outline:3px solid color-mix(in srgb,var(--blue) 40%,transparent);outline-offset:2px}@media(max-width:640px){.agent-accessible-dialog input,.agent-accessible-dialog select,.agent-accessible-dialog textarea{font-size:16px}}.history-import-options{display:grid;gap:8px;max-height:min(70vh,640px);overflow-y:auto;font-size:13px}.history-import-intro,.history-import-note{margin:0;color:var(--text-2);line-height:1.5}.history-import-note{color:var(--muted);font-size:12px}.history-import-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.history-import-error{margin:0;color:var(--red);font-size:12px;line-height:1.5}.history-import-modes{display:grid;gap:6px;margin:0;padding:8px 10px;border:1px solid var(--border);border-radius:6px}.history-import-modes legend{padding:0 4px;color:var(--muted);font-size:11px}.history-import-modes>label{display:inline-flex;align-items:center;gap:6px;font-size:13px}.history-import-grid{display:grid;gap:6px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.history-import-grid>label{display:grid;gap:3px;font-size:11px;color:var(--muted)}.history-import-grid input{min-height:34px;border:1px solid var(--border);border-radius:4px;padding:4px 8px;font-size:13px;background:var(--surface);color:var(--text)}.history-import-grid .history-import-hint{grid-column:1 / -1}.history-import-bounds{list-style:none;margin:0;padding:0;display:grid;gap:3px;font-size:12px;color:var(--text-2)}.history-import-actions{display:flex;flex-wrap:wrap;gap:6px}.history-import-preview{display:grid;gap:4px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}@media(max-width:600px){.history-import-grid{grid-template-columns:1fr}}.channel-accounts{display:grid;gap:10px;margin-top:12px}.channel-accounts-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.channel-accounts-stale{margin:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--amber) 35%,var(--border));border-radius:6px;background:var(--amber-soft);color:var(--text-2);font-size:12px;line-height:1.5}.channel-accounts-table{width:100%;border-collapse:collapse;font-size:13px}.channel-accounts-table th,.channel-accounts-table td{text-align:start;padding:8px 10px;border-bottom:1px solid var(--border);vertical-align:top}.channel-accounts-table thead th{color:var(--muted);font-size:11px;font-weight:650;white-space:nowrap}.channel-accounts-name{display:flex;align-items:center;gap:8px;min-width:0}.channel-accounts-name h3{margin:0;font-size:14px}.channel-accounts-provider{color:var(--muted);font-size:11px}.channel-accounts-activity{display:inline-flex;align-items:center;gap:5px;color:var(--text-2);font-size:12px;white-space:nowrap}.channel-accounts-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.channel-accounts-row-actions .btn{min-height:32px;padding:4px 10px;font-size:12px}.channel-accounts-edit{display:grid;gap:6px;margin-top:8px;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--surface)}.channel-accounts-edit label{display:grid;gap:3px;font-size:11px;color:var(--muted)}.channel-accounts-edit input{min-height:32px;border:1px solid var(--border);border-radius:4px;padding:4px 8px;font-size:13px}.channel-accounts-edit-actions{display:flex;gap:6px;flex-wrap:wrap}.channel-accounts-error{margin:4px 0 0;color:var(--red);font-size:12px}.channel-accounts-hint{margin:0;color:var(--muted);font-size:11px}.channel-accounts-alerts{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}.channel-accounts-alerts li{display:grid;gap:4px;padding:6px 8px;border:1px solid color-mix(in srgb,var(--amber) 35%,var(--border));border-radius:6px;background:var(--amber-soft);font-size:12px}.channel-accounts-alert-actions{display:flex;gap:6px;flex-wrap:wrap}.channel-accounts-receipt{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;font-size:12px}.channel-accounts-receipt li{display:flex;justify-content:space-between;gap:8px;padding:4px 6px;border:1px solid var(--border);border-radius:4px}.channel-accounts-batches{display:grid;gap:10px;margin-top:12px}.channel-accounts-batch-form{display:grid;gap:8px;max-height:60vh;overflow-y:auto;padding-inline-end:2px}.channel-accounts-batch-form>label{display:grid;gap:3px;font-size:12px;color:var(--muted)}.channel-accounts-batch-form input,.channel-accounts-batch-form select{min-height:34px;border:1px solid var(--border);border-radius:4px;padding:4px 8px;font-size:13px;background:var(--surface);color:var(--text)}.channel-accounts-batch{border:1px solid var(--border);border-radius:8px;padding:10px 12px;background:var(--surface)}.channel-accounts-batch>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.channel-accounts-batch h3{margin:0;font-size:14px}.channel-accounts-batch-items{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}.channel-accounts-batch-items li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border:1px solid var(--border);border-radius:6px;font-size:12px}.channel-account-history{display:grid;gap:3px;font-size:12px;color:var(--text-2)}.channel-account-history>small{color:var(--muted);font-size:11px;line-height:1.5}.channel-account-history-technical{margin-top:2px;font-size:11px;color:var(--muted)}.channel-account-history-technical summary{cursor:pointer;min-height:28px;display:inline-block;color:var(--blue)}.channel-account-history-technical dl{display:grid;gap:2px;margin:4px 0 0}.channel-account-history-technical dl>div{display:flex;justify-content:space-between;gap:8px}.channel-account-history-technical dt{color:var(--muted)}.channel-account-history-technical dd{margin:0;color:var(--text)}.channel-accounts-empty{margin:0;padding:12px;color:var(--muted);font-size:13px}@media(max-width:900px){.channel-accounts-table .col-channel,.channel-accounts-table .col-group{display:none}}.error-report-center{display:inline-flex;align-items:center}.error-report-trigger{position:relative}.error-report-count{position:absolute;top:1px;inset-inline-end:1px;min-width:14px;height:14px;padding:0 4px;border-radius:99px;background:var(--amber);color:#fff;font:700 8px var(--mono);display:inline-flex;align-items:center;justify-content:center;border:2px solid var(--surface)}.error-report-dialog{width:min(560px,100%)}.error-report-head h2{font-size:16px;letter-spacing:-.01em}.error-report-head p{margin-top:4px;font-size:13px;color:var(--text-2);line-height:1.55}.error-report-field{display:flex;flex-direction:column;gap:6px;margin-top:14px;font-size:12px;font-weight:600;color:var(--text-2)}.error-report-field textarea{width:100%;min-height:84px;resize:none;border:1px solid var(--border);background:var(--surface-2);border-radius:var(--radius-sm);padding:9px;font-size:14px;font-weight:400;color:var(--text);outline:0}.error-report-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.error-report-receipt{margin-top:13px;border:1px solid var(--border);background:var(--surface-2);border-radius:var(--radius-sm);padding:9px 11px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.error-report-receipt>div{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.error-report-eyebrow{font:700 10px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.error-report-receipt code{font:500 12px var(--mono);color:var(--text);word-break:break-all}.error-report-copy{height:28px;padding:0 8px;font-size:11px}.error-report-section{margin-top:16px;border-top:1px solid var(--border);padding-top:13px}.error-report-section h3{font-size:14px}.error-report-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.error-report-refresh{height:28px;padding:0 8px;font-size:11px}.error-report-load-error{margin-top:9px;border:1px solid #fecaca;background:var(--red-soft);color:var(--red);border-radius:var(--radius-sm);padding:9px 10px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.error-report-muted{margin-top:3px;font-size:12px;color:var(--muted)}.error-report-list{list-style:none;margin:9px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.error-report-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:7px 9px;background:var(--surface)}.error-report-list li>button{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;border:0;background:transparent;text-align:start;padding:0}.error-report-list li>.error-report-item-action{flex:0 0 auto;height:26px;padding:0 8px;font-size:11px}.error-report-list li>div,.error-report-list li>button>div{display:flex;flex-direction:column;gap:2px;min-width:0}.error-report-list strong{font:600 12px var(--mono);color:var(--text)}.error-report-list small{font:500 10px var(--mono);color:var(--muted);overflow:hidden;text-overflow:ellipsis}.error-report-detail{margin-top:10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);padding:10px 11px;display:flex;flex-direction:column;gap:6px}.error-report-detail>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.error-report-detail span{color:var(--muted)}.error-report-detail p{font-size:13px;color:var(--text-2);line-height:1.5}.error-report-detail time{font-size:11px;color:var(--muted)}.error-report-error{margin-top:12px;border:1px solid #fecaca;background:var(--red-soft);color:var(--red);border-radius:var(--radius-sm);padding:8px 10px;font-size:12px}.error-report-actions{display:flex;align-items:center;gap:7px;width:100%}.error-report-actions .footer-spacer{flex:1}.whatsapp-enrichment-metadata{margin-top:6px;border:1px solid var(--border);border-radius:5px;background:var(--surface-2);padding:7px 8px;color:var(--text-2);font-size:8px;line-height:1.45}.whatsapp-enrichment-metadata>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0 4px;color:var(--text);font-size:8px;font-weight:700}.whatsapp-enrichment-metadata>header+dl{margin-bottom:7px}.whatsapp-enrichment-metadata dl{display:grid;gap:3px;margin:0}.whatsapp-enrichment-field{display:grid;grid-template-columns:76px minmax(0,1fr);gap:6px}.whatsapp-enrichment-field dt{color:var(--muted)}.whatsapp-enrichment-field dd{min-width:0;margin:0;overflow-wrap:anywhere}.whatsapp-enrichment-field img{display:block;width:30px;height:30px;border:1px solid var(--border);border-radius:50%;object-fit:cover}.whatsapp-enrichment-metadata small{font-size:7px;font-weight:500}.whatsapp-enrichment-metadata small.fresh{color:var(--green)}.whatsapp-enrichment-metadata small.stale{color:var(--amber)}.whatsapp-enrichment-metadata small.unknown{color:var(--muted)}.whatsapp-enrichment-links{display:flex;flex-direction:column;gap:2px}.whatsapp-enrichment-links a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.nav-item.nav-item-beta,.nav-item.nav-item-beta:disabled,.nav-item.nav-item-beta[disabled]{cursor:not-allowed;opacity:.75;-webkit-user-select:none;user-select:none}.nav-item.nav-item-beta:hover{background:transparent;color:var(--text-2)}.beta-badge{display:inline-flex;align-items:center;justify-content:center;font:700 8px var(--mono);text-transform:uppercase;letter-spacing:.04em;padding:1.5px 5px;border-radius:4px;background:var(--amber-soft);color:var(--amber);border:1px solid rgba(154,75,0,.2);margin-inline-start:auto;line-height:1.2;flex:none}[data-theme=dark] .beta-badge{background:var(--amber-soft);color:var(--amber);border-color:#fbbf2447}.beta-unavailable-root{min-height:100%;background:var(--bg);display:flex;flex-direction:column}.beta-unavailable-body{padding:32px 20px 48px;display:flex;justify-content:center;align-items:flex-start;flex:1}.beta-unavailable-card{width:100%;max-width:620px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:36px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;box-shadow:0 4px 18px #1118270a}[data-theme=dark] .beta-unavailable-card{box-shadow:0 8px 24px #00000040;background:var(--surface);border-color:var(--border)}.beta-unavailable-icon-wrap{width:60px;height:60px;border-radius:16px;background:var(--amber-soft);color:var(--amber);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #9a4b0026}[data-theme=dark] .beta-unavailable-icon-wrap{box-shadow:inset 0 0 0 1px #fbbf2433}.beta-unavailable-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:99px;font:600 11px var(--font);background:var(--amber-soft);color:var(--amber);border:1px solid rgba(154,75,0,.22)}[data-theme=dark] .beta-unavailable-pill{border-color:#fbbf244d}.beta-unavailable-card h2{font-size:18px;font-weight:700;color:var(--text);margin:4px 0 0;letter-spacing:-.015em}.beta-unavailable-card p{font-size:12px;line-height:1.65;color:var(--text-2);max-width:480px;margin:0}.beta-unavailable-footer{margin-top:12px;padding-top:16px;border-top:1px solid var(--border);width:100%;font:500 10px var(--mono);color:var(--muted);display:flex;align-items:center;justify-content:center;gap:8px}.beta-unavailable-route-tag{background:var(--surface-3);padding:2px 8px;border-radius:4px;border:1px solid var(--border);color:var(--text-2);font:600 10px var(--mono)}.locale-control{display:inline-flex;align-items:center;gap:5px;height:32px;min-inline-size:44px;padding:0 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-2, #4b5563);font:600 12px var(--font, inherit);line-height:1;white-space:nowrap}.locale-control:hover{background:var(--surface-3, #f3f4f6);border-color:var(--border, #e5e7eb);color:var(--text, #111827)}.locale-control:focus-visible{outline:2px solid var(--blue, #0052ff);outline-offset:2px}.locale-control:disabled{opacity:.5;cursor:not-allowed}.locale-control-icon{flex:none}.locale-control-badge{display:inline-block;min-width:14px;text-align:center;font-weight:700;letter-spacing:.02em}[dir=rtl] .locale-control-badge{font-family:var(--font-ar, inherit)}@media(max-width:780px),(pointer:coarse){.locale-control{min-height:44px;height:auto}}.platform-business-onboarding-settings{min-width:0;margin:16px 20px;padding:14px 16px;border:1px solid var(--border, #e5e7eb);border-radius:var(--radius, 7px);background:var(--surface, #fff);color:var(--text, #111827);font-family:var(--font, "Geist", "IBM Plex Sans Arabic", sans-serif);text-align:start;font-variant-numeric:tabular-nums}.platform-business-onboarding-settings[dir=rtl]{font-family:var(--font-ar, "IBM Plex Sans Arabic", "Geist", sans-serif)}.platform-business-onboarding-settings .pbos-heading{margin:0 0 12px;padding-block-end:10px;border-block-end:1px solid var(--border, #e5e7eb);font-size:16px;font-weight:650;line-height:1.5}.platform-business-onboarding-settings .pbos-form{display:grid;gap:12px;min-width:0}.platform-business-onboarding-settings .pbos-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px 16px;min-width:0;margin:0;padding:0;border:0}.platform-business-onboarding-settings .pbos-field{display:grid;gap:5px;min-width:0;color:var(--text-2, #4b5563);font-size:12px;font-weight:600;line-height:1.5}.platform-business-onboarding-settings .pbos-control{box-sizing:border-box;width:100%;min-width:0;height:36px;padding:6px 9px;border:1px solid var(--border-strong, #d1d5db);border-radius:var(--radius-sm, 6px);background:var(--surface-2, #f9fafb);color:var(--text, #111827);font:400 14px / 1.5 var(--font, "Geist", sans-serif);font-variant-numeric:tabular-nums;text-align:start}.platform-business-onboarding-settings .pbos-model,.platform-business-onboarding-settings .pbos-reasoning{direction:ltr}.platform-business-onboarding-settings .pbos-control:focus-visible,.platform-business-onboarding-settings .pbos-button:focus-visible{outline:2px solid var(--focus, #0052ff);outline-offset:2px}.platform-business-onboarding-settings .pbos-control:disabled{background:var(--surface-3, #f3f4f6);color:var(--muted, #667085);cursor:not-allowed}.platform-business-onboarding-settings .pbos-note,.platform-business-onboarding-settings .pbos-credential,.platform-business-onboarding-settings .pbos-status,.platform-business-onboarding-settings .pbos-error{margin:0;color:var(--text-2, #4b5563);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.platform-business-onboarding-settings .pbos-note{margin-block-end:12px}.platform-business-onboarding-settings .pbos-credential{padding-block-start:10px;border-block-start:1px solid var(--border, #e5e7eb)}.platform-business-onboarding-settings .pbos-credential strong{display:inline-block;unicode-bidi:isolate}.platform-business-onboarding-settings .pbos-status[role=status]{color:var(--text-2, #4b5563)}.platform-business-onboarding-settings .pbos-form .pbos-status{color:var(--green, #15803d)}.platform-business-onboarding-settings .pbos-error{padding:8px 10px;border-radius:var(--radius-sm, 6px);background:var(--red-soft, #fef2f2);color:var(--red, #b91c1c)}.platform-business-onboarding-settings .pbos-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:34px;max-width:100%;padding:6px 12px;border:1px solid var(--border-strong, #d1d5db);border-radius:var(--radius-sm, 6px);background:var(--surface, #fff);color:var(--text, #111827);font:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer}.platform-business-onboarding-settings>.pbos-button{margin-block-start:10px}.platform-business-onboarding-settings .pbos-button:hover:not(:disabled){background:var(--surface-2, #f9fafb)}.platform-business-onboarding-settings .pbos-save{border-color:var(--blue, #0052ff);background:var(--blue, #0052ff);color:#fff}.platform-business-onboarding-settings .pbos-save:hover:not(:disabled){border-color:var(--blue-hover, #0045d8);background:var(--blue-hover, #0045d8)}.platform-business-onboarding-settings .pbos-button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.platform-business-onboarding-settings{margin-inline:12px;padding:12px}}@media(max-width:560px){.platform-business-onboarding-settings .pbos-fields{grid-template-columns:minmax(0,1fr)}}.contacts-page .contacts-page-row{cursor:pointer}.contacts-page .contacts-page-row:hover,.contacts-page .contacts-page-row:focus-visible{background:var(--surface-2, #f8fafc)}.contacts-page .contacts-page-error,.contacts-page .contacts-page-field-error{color:var(--danger, #b42318);font-size:.8125rem;margin:0}.contacts-page-detail .contacts-page-identity{display:grid;gap:10px}.contacts-page-detail .contacts-page-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.contacts-page .contacts-page-duplicate-list{margin:0;padding-inline-start:1.1rem;display:grid;gap:4px;font-size:.8125rem}.contacts-page-detail .contacts-page-confirm{margin-top:12px;padding:10px;border:1px solid var(--border, #e2e8f0);border-radius:8px;display:grid;gap:8px}.contacts-page-detail .contacts-page-merge-candidates{display:grid;gap:6px;margin:0;padding:8px;border:1px solid var(--border, #e2e8f0);border-radius:8px}.contacts-page-detail .contacts-page-merge-candidates legend{font-size:.8125rem;padding:0 4px}.contacts-page-detail .contacts-page-merge-candidates label{display:flex;align-items:flex-start;gap:8px}.contacts-page-detail label{display:grid;gap:4px;font-size:.8125rem}.contacts-page-footer-note{color:var(--muted, #64748b);font-size:.75rem}@font-face{font-family:Fahm Onboarding Arabic;src:url(/assets/IBMPlexSansArabic-Regular-C22bXXS0.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Fahm Onboarding Arabic;src:url(/assets/IBMPlexSansArabic-Medium-BUoEUZvn.ttf) format("truetype");font-style:normal;font-weight:500;font-display:swap}@font-face{font-family:Fahm Onboarding Arabic;src:url(/assets/IBMPlexSansArabic-SemiBold-D5CWU9e5.ttf) format("truetype");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Fahm Onboarding Arabic;src:url(/assets/IBMPlexSansArabic-Bold-CwgEYAmj.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Fahm Onboarding Latin;src:url(/assets/Geist-variable-Cz_WRCMl.ttf) format("truetype");font-style:normal;font-weight:100 900;font-display:swap}.knowledge-header-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0;overflow-x:auto}.knowledge-header-actions button{display:inline-flex;align-items:center;gap:6px}@media(max-width:1279px){.knowledge-header-actions{flex-wrap:wrap;justify-content:flex-start;overflow-x:visible}.knowledge-header-actions button{flex:0 0 auto}}.knowledge-ai-test{margin:16px 20px;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:16px}.knowledge-ai-test>form{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:end;gap:12px}.knowledge-ai-test>form>div:first-child{grid-column:1 / -1;display:flex;align-items:center;gap:10px}.knowledge-ai-test h2{font-size:20px}.knowledge-ai-test p{font-size:14px;line-height:1.55;color:var(--text-2)}.knowledge-ai-test textarea,.knowledge-ai-test input,.knowledge-ai-test select{width:100%;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);padding:9px;outline:0}.knowledge-ai-test textarea{min-height:92px;resize:none}.knowledge-ai-test select{height:34px;padding-block:0}.knowledge-ai-test textarea:focus,.knowledge-ai-test input:focus,.knowledge-ai-test select:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.knowledge-ai-test>form>.knowledge-primary{justify-self:start}.knowledge-ai-result{border:1px solid var(--border);border-radius:8px;background:var(--surface-2);padding:12px;display:grid;gap:10px}.knowledge-ai-result>header{display:flex;align-items:center;gap:7px;color:var(--green)}.knowledge-ai-result dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.knowledge-ai-result dl>div{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:8px;min-width:0}.knowledge-ai-result dt{font-size:12px;color:var(--muted)}.knowledge-ai-result dd{margin:4px 0 0;font:600 14px var(--mono);overflow-wrap:anywhere}.knowledge-ai-result section{border-top:1px solid var(--border);padding-top:10px}.knowledge-ai-result h3{font-size:20px;margin-bottom:6px}.knowledge-ai-result small{display:block;margin-top:7px;color:var(--muted);font-size:12px}@media(max-width:900px){.knowledge-ai-test{grid-template-columns:1fr}.knowledge-ai-test>form{grid-template-columns:1fr}.knowledge-ai-test>form>div:first-child{grid-column:auto}}@media(max-width:620px){.knowledge-header{align-items:flex-start}.knowledge-ai-test{margin:12px;padding:12px}.knowledge-ai-result dl{grid-template-columns:1fr}}.ai-simulator-panel{font-size:14px}.ai-simulator-title-group h3{font-size:20px}.ai-simulator-title-group p{font-size:14px}.ai-simulator-panel label,.ai-simulator-panel .knowledge-field>span{font-size:12px}.ai-simulator-panel textarea,.ai-simulator-panel input,.ai-simulator-panel select{min-height:32px;font-size:14px}.ai-simulator-panel :focus-visible{outline:3px solid color-mix(in srgb,var(--blue) 40%,transparent);outline-offset:2px}.ai-sim-actions-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.ai-sim-basic-sources{margin:8px 0 0;padding-inline-start:18px;font-size:14px}.ai-sim-advanced-label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}.ai-sim-history-manager{margin:14px 0}.ai-sim-history-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;font-weight:600}.ai-sim-turn-row{display:flex;gap:6px;align-items:center;margin-bottom:6px}.ai-sim-media-block{margin:14px 0;padding-top:10px;border-top:1px solid var(--border);display:grid;gap:8px}.ai-sim-media-toggle{display:flex;align-items:center;gap:8px;cursor:pointer}.ai-sim-library-picker{display:grid;gap:6px}.ai-sim-library-status{margin:0;font-size:13px;color:var(--text-2)}.ai-sim-preflight{margin:0 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.ai-sim-preflight strong{display:block;font-size:13px}.ai-sim-preflight p,.ai-sim-preflight ul{margin:6px 0 0;font-size:13px;color:var(--text-2)}.ai-sim-preflight ul{padding-inline-start:18px}.ai-sim-booking-json{font-family:var(--mono);font-size:14px}.ai-sim-existing-unavailable,.ai-sim-existing-fields{font-size:14px;color:var(--text-2);margin:8px 0 12px}.ai-sim-existing-fields{border:1px dashed var(--border);border-radius:8px;padding:10px}.ai-sim-meta-grid p{margin:4px 0 0;font-size:14px}.agent-advanced-test-launch{margin-top:16px}@media(max-width:640px){.ai-simulator-panel textarea,.ai-simulator-panel input,.ai-simulator-panel select,.agent-opening-view input,.agent-opening-view select,.agent-opening-view textarea,.knowledge-field input,.knowledge-field select,.knowledge-field textarea,.knowledge-search input{font-size:16px;min-height:44px}.knowledge-primary,.knowledge-secondary,.knowledge-danger,.agent-test-assistant-trigger,.agent-advanced-settings-trigger{min-height:44px}}:root{--font:"Fahm Onboarding Latin","Fahm Onboarding Arabic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-ar:"Fahm Onboarding Arabic","Fahm Onboarding Latin",sans-serif;--mono:ui-monospace,"Cascadia Mono",Menlo,Consolas,monospace;--sans:var(--font);--font-mono:var(--mono);--bg:#f7f8fa;--surface:#fff;--surface-2:#f9fafb;--surface-3:#f3f4f6;--surface-raised:var(--surface);--border:#e5e7eb;--border-strong:#d1d5db;--text:#111827;--text-2:#4b5563;--text-1:var(--text);--text-primary:var(--text);--text-secondary:var(--text-2);--muted:#667085;--faint:#687386;--blue:#0052ff;--blue-hover:#0045d8;--blue-soft:#eff6ff;--primary:var(--blue);--primary-light:var(--blue-soft);--primary-subtle:var(--blue-soft);--focus:var(--blue);--green:#15803d;--green-solid:#15803d;--green-soft:#ecfdf3;--success:var(--green);--amber:#9a4b00;--amber-soft:#fffbeb;--warning:var(--amber);--red:#b91c1c;--red-soft:#fef2f2;--danger:var(--red);--purple:#6d28d9;--purple-soft:#f5f3ff;--bg-subtle:var(--surface-2);--shadow:0 12px 34px rgba(17,24,39,.12);--header:52px;--sidebar:260px;--radius:7px;--radius-sm:6px;--radius-md:10px}[data-theme=dark]{--bg:#0e1117;--surface:#141922;--surface-2:#181e28;--surface-3:#202733;--border:#293241;--border-strong:#394556;--text:#edf0f5;--text-2:#b1bac8;--muted:#94a3b8;--faint:#8f9bad;--blue-soft:#10234c;--green-soft:#102a20;--amber-soft:#2e2310;--red-soft:#321518;--purple-soft:#251942;--green:#4ade80;--amber:#fbbf24;--purple:#c4b5fd;--shadow:0 18px 40px rgba(0,0,0,.35)}.fahm-logo{display:block;width:52px;height:52px;object-fit:contain;flex:none;transform:scale(1.48)}.brand .fahm-logo{width:42px;height:42px}.account-brand .fahm-logo{width:58px;height:48px}[data-theme=dark] .fahm-logo{filter:brightness(0) invert(1)}.compact-search{position:relative}.compact-search input{min-width:0}.search-clear{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:transparent;color:var(--muted);padding:0;flex:none}.search-clear:hover{background:var(--surface-3);color:var(--text)}.knowledge-empty-editor{width:min(760px,calc(100% - 40px));margin:20px auto;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:18px}.resize-none,.knowledge-author-form textarea,.knowledge-command textarea,.surface-command-form textarea,.email-live-composer textarea{resize:none}html{scrollbar-color:#aab3c2 transparent;scrollbar-width:thin}[data-theme=dark]{scrollbar-color:#536176 transparent}@media(forced-colors:active){html{scrollbar-color:auto}.fahm-logo{filter:none}}.surface-command-form{display:grid;gap:14px}.surface-command-form>p{color:var(--text-2);font-size:14px;line-height:1.55}.surface-command-form label{display:grid;gap:6px;color:var(--text-2);font-size:12px;font-weight:600}.surface-command-form input,.surface-command-form textarea{width:100%;border:1px solid var(--border);background:var(--surface-2);border-radius:6px;padding:9px;font-size:14px;outline:0}.surface-command-form input{height:34px}.surface-command-form textarea{min-height:96px;resize:none;line-height:1.5}.surface-command-form input:focus,.surface-command-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);font-size:14px;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;overflow:hidden}[dir=rtl] body{font-family:var(--font-ar)}button,input,textarea,select{font:inherit;color:inherit}::placeholder{color:var(--muted);opacity:1}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#c4cad3;border-radius:10px}::-webkit-scrollbar-track{background:transparent}::selection{background:#cfe0ff;color:#0c348e}:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.table-scroll:focus-visible{outline-offset:-2px}.app-shell{height:100%;display:grid;grid-template-rows:var(--header) minmax(0,1fr)}.global-header{grid-area:header;height:var(--header);background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 12px;z-index:50;direction:inherit}.brand-cluster,.header-actions,.workspace-switch,.profile-button,.command-trigger{display:flex;align-items:center}.brand-cluster{gap:10px}.brand{border:0;background:none;display:flex;align-items:center;gap:7px;padding:3px}.brand-mark{width:29px;height:29px;border-radius:8px;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:800;line-height:1;box-shadow:inset 0 -2px 4px #0000001f}.brand-name{font-size:18px;font-weight:800;letter-spacing:-.03em}.header-divider{height:24px;width:1px;background:var(--border)}.workspace-wrap,.profile-wrap{position:relative}.workspace-switch{border:0;background:none;gap:8px;padding:3px 6px;border-radius:6px;text-align:start}.workspace-switch:hover,.profile-button:hover{background:var(--surface-2)}.workspace-logo{width:27px;height:27px;background:#12223c;color:#fff;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font:700 9px var(--mono);flex:none}.workspace-logo.lilac{background:#6d28d9}.workspace-logo.large{width:58px;height:58px;border-radius:12px;font-size:15px}.workspace-switch>span:nth-child(2),.profile-button>span{display:flex;flex-direction:column;line-height:1.12}.workspace-switch small,.profile-button small{font-size:11px;color:var(--muted);font-weight:500}.workspace-switch strong,.profile-button strong{font-size:11px;white-space:nowrap}.command-trigger{width:min(390px,34vw);height:34px;border:1px solid var(--border);background:var(--surface-2);border-radius:7px;padding:0 9px;gap:8px;color:var(--muted);font-size:11px}.command-trigger span{flex:1;text-align:start}.command-trigger kbd,.command-search kbd{border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:4px;padding:2px 5px;background:var(--surface);font:600 9px var(--mono);color:var(--text-2)}.header-actions{gap:4px}.status-pill{border:0;background:var(--green-soft);color:var(--green);height:32px;padding:0 9px;border-radius:99px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}.status-pill i,.mail-health i{width:6px;height:6px;border-radius:50%;background:var(--green)}.icon-btn{width:32px;height:32px;border:1px solid transparent;border-radius:6px;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--text-2);padding:0}.icon-btn:hover{background:var(--surface-3);border-color:var(--border)}.lang-btn{height:32px;border:0;background:transparent;border-radius:6px;display:flex;align-items:center;gap:5px;font:600 12px var(--font);padding:0 7px}.lang-btn:hover{background:var(--surface-3)}.notification-btn{position:relative}.notification-btn i{position:absolute;top:2px;right:1px;width:14px;height:14px;border-radius:50%;background:var(--red);color:#fff;font:700 8px var(--mono);display:flex;align-items:center;justify-content:center;border:2px solid var(--surface)}.profile-button{height:38px;border:0;background:transparent;border-inline-start:1px solid var(--border);margin-inline-start:4px;padding-inline-start:9px;gap:7px;text-align:start}.popover{position:absolute;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);padding:7px;z-index:100;direction:inherit}.workspace-popover{inset-inline-start:0;width:290px}.profile-popover{inset-inline-end:0;width:235px}.popover-label,.nav-heading{display:block;font:700 12px var(--mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:6px 8px}.workspace-row,.profile-popover>button{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:9px;text-align:start;border-radius:5px;padding:7px;font-size:11px}.workspace-row:hover,.workspace-row.active,.profile-popover>button:hover{background:var(--surface-3)}.workspace-row>span:nth-child(2),.profile-card>span{display:flex;flex-direction:column;flex:1}.workspace-row strong{font-size:11px}.workspace-row small,.profile-card small{font-size:11px;color:var(--muted);margin-top:2px}.text-action{border:0;background:none;color:var(--blue);font-size:12px;font-weight:600;padding:8px;display:flex;align-items:center;gap:5px}.profile-card{display:flex;gap:8px;align-items:center;padding:8px;border-bottom:1px solid var(--border);margin-bottom:5px}.profile-card strong{font-size:11px}.danger-text{color:var(--red)!important}.mobile-menu{display:none}.sidebar{grid-area:navigation;background:var(--surface);display:flex;flex-direction:column;overflow:hidden;z-index:30}.sidebar-scroll{overflow:auto;padding:7px 8px;flex:1}.sidebar nav{margin-bottom:9px}.sidebar nav+nav{padding-top:7px;border-top:1px solid var(--border)}.nav-heading{text-align:start;padding:4px 8px 5px}.nav-item{border:0;background:transparent;width:100%;height:34px;border-radius:5px;display:flex;align-items:center;gap:9px;padding:0 8px;font-size:11px;font-weight:500;color:var(--text-2);text-align:start;position:relative}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.nav-item.active:before{content:"";position:absolute;inset-inline-start:-8px;width:3px;height:20px;border-radius:0 4px 4px 0;background:var(--blue)}[dir=rtl] .nav-item.active:before{border-radius:4px 0 0 4px}.nav-index{font:600 8px var(--mono);color:var(--faint);width:14px}.nav-item.active .nav-index{color:var(--blue)}.nav-item>span:nth-of-type(2){flex:1}.nav-item b{font:700 9px var(--mono);background:var(--surface-3);padding:2px 6px;border-radius:99px;color:var(--text-2)}.nav-item.active b{background:#dce8ff;color:var(--blue)}.sidebar-bottom{padding:8px;border-top:1px solid var(--border)}.platform-link{width:100%;height:36px;border:0;background:var(--surface-2);display:flex;align-items:center;gap:9px;border-radius:6px;padding:0 9px;color:var(--text-2);font-size:12px}.platform-link span{flex:1;text-align:start;font-weight:600}.platform-link:hover,.platform-link.active{background:var(--purple-soft);color:var(--purple)}.prototype-note{margin-top:7px;display:flex;gap:7px;padding:6px 7px;color:var(--muted);align-items:flex-start}.prototype-note>span{font:700 8px var(--mono);border:1px solid var(--border);border-radius:3px;padding:2px 3px}.prototype-note p{font-size:11px;line-height:1.35}.app-content{grid-area:content;min-width:0;min-height:0;overflow:auto;background:var(--bg)}.btn{height:32px;border:1px solid var(--border-strong);background:var(--surface);border-radius:6px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;white-space:nowrap}.btn:hover{background:var(--surface-3)}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-hover)}.btn-success{background:var(--green-solid);border-color:var(--green-solid);color:#fff}.btn-success:hover{filter:brightness(.93)}.btn-danger{color:var(--red);background:var(--red-soft);border-color:#fecaca}.btn-dark{background:#111827;border-color:#111827;color:#fff}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:3px 7px;font:600 11px var(--font);white-space:nowrap}.badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.badge-gray{background:var(--surface-3);color:var(--text-2)}.badge-blue{background:var(--blue-soft);color:var(--blue)}.badge-green{background:var(--green-soft);color:var(--green)}.badge-amber{background:var(--amber-soft);color:var(--amber)}.badge-red{background:var(--red-soft);color:var(--red)}.badge-purple{background:var(--purple-soft);color:var(--purple)}.avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#e8eef8,#cbd8eb);color:#284464;display:inline-flex;align-items:center;justify-content:center;font:700 9px var(--mono);position:relative;flex:none}.avatar-lg{width:54px;height:54px;font-size:13px}.avatar-sm{width:25px;height:25px;font-size:7px}.avatar-xs{width:20px;height:20px;font-size:6px}.online-dot{position:absolute;bottom:0;right:0;width:8px;height:8px;background:var(--green);border:2px solid var(--surface);border-radius:50%}.eyebrow{font:700 12px var(--mono);letter-spacing:.09em;color:var(--muted);text-transform:uppercase}.channel-icon{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex:none}.channel-facebook{background:#e8f0ff;color:#1877f2}.channel-instagram{background:#fff0f5;color:#d62976}.channel-whatsapp{background:#e9fbf0;color:#159447}.channel-email{background:#fef2f2;color:#dc2626}.channel-web{background:#eff6ff;color:#2563eb}.channel-telegram{background:#eaf7ff;color:#229ed9}.toast-stack{position:fixed;bottom:18px;right:18px;display:flex;flex-direction:column;gap:8px;z-index:300;direction:ltr}.toast{min-width:280px;max-width:400px;background:#111827;color:#fff;border:1px solid #354052;border-radius:8px;padding:10px 12px;box-shadow:var(--shadow);display:flex;align-items:center;gap:8px;font-size:14px;animation:toastIn .2s ease}.toast>svg{color:#58d68d}.toast span{flex:1}.toast button{border:0;background:none;color:#fff;display:flex}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0f197a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:200;direction:inherit}.modal,.modal-content{width:100%;min-height:0;max-height:min(92vh,100%);background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 24px 80px #0000003d;display:flex;flex-direction:column;overflow:hidden}.modal>header{min-height:62px;border-bottom:1px solid var(--border);padding:10px 18px;display:flex;align-items:center;justify-content:space-between;flex:none;gap:8px}.modal>header h2{font-size:16px;margin-top:3px}.modal-body,.modal-content>.modal-body{padding:18px;flex:1 1 auto;min-height:0;overflow:auto}.modal>footer{border-top:1px solid var(--border);padding:10px 18px;display:flex;gap:7px;justify-content:flex-end;flex:none}.footer-spacer{flex:1}.empty-state{padding:38px 16px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center}.empty-icon{width:42px;height:42px;border-radius:50%;background:var(--surface-3);display:flex;align-items:center;justify-content:center;margin-bottom:9px}.empty-state h3{font-size:16px;color:var(--text);margin-bottom:4px}.empty-state p{font-size:14px;line-height:1.5;max-width:240px}.page-head-wrap{background:var(--surface);border-bottom:1px solid var(--border)}.page-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:13px 20px;gap:18px}.page-header h1{font-size:20px;letter-spacing:-.025em;margin:3px 0}.page-header p{font-size:14px;color:var(--text-2);max-width:660px}.page-actions{display:flex;align-items:center;gap:7px}.tabs{height:38px;display:flex;align-items:flex-end;padding:0 20px;gap:22px}.tabs button{height:38px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:12px;color:var(--text-2);display:flex;align-items:center;gap:6px;padding:0 1px}.tabs button.active{border-color:var(--blue);color:var(--blue);font-weight:700}.tabs b{font:600 8px var(--mono);background:var(--surface-3);padding:2px 5px;border-radius:9px}.standard-page{min-height:100%;background:var(--bg)}.standard-page:not(.full-height){padding-bottom:30px}.standard-page>.stats-grid,.standard-page>.dashboard-grid,.standard-page>.data-card,.standard-page>.pipeline-summary,.standard-page>.kanban,.standard-page>.booking-datebar,.standard-page>.booking-layout,.standard-page>.notice-bar,.standard-page>.connection-summary,.standard-page>.connection-grid,.standard-page>.campaign-list,.standard-page>.policy-grid,.standard-page>.automation-layout,.standard-page>.danger-banner,.standard-page>.knowledge-hero,.standard-page>.policy-dashboard,.standard-page>.model-grid,.standard-page>.memory-review,.standard-page>.dev-callout,.standard-page>.delivery-card,.standard-page>.api-key-layout,.standard-page>.api-docs,.standard-page>.event-ledger,.standard-page>.settings-layout,.standard-page>.platform-grid,.standard-page>.platform-banner,.standard-page>.tasks-layout,.standard-page>.template-workspace{margin-left:20px;margin-right:20px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:13px 14px;display:flex;justify-content:space-between;min-height:92px}.stat-card>div{display:flex;flex-direction:column}.stat-card span{font-size:12px;color:var(--text-2)}.stat-card strong{font:700 22px var(--font);letter-spacing:-.03em;margin:6px 0 3px}.stat-card small{font-size:11px;color:var(--muted)}.stat-card small.positive{color:var(--green)}.stat-icon{width:34px;height:34px;border-radius:9px;display:inline-flex!important;align-items:center;justify-content:center;flex:none}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon.green{background:var(--green-soft);color:var(--green)}.stat-icon.amber{background:var(--amber-soft);color:var(--amber)}.stat-icon.purple{background:var(--purple-soft);color:var(--purple)}.app-shell[dir=rtl]{direction:ltr;grid-template-columns:minmax(0,1fr) var(--sidebar);grid-template-areas:"header header" "content navigation"}.app-shell[dir=ltr]{grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-areas:"header header" "navigation content"}.app-shell[dir=rtl] .global-header,.app-shell[dir=rtl] .sidebar,.app-shell[dir=rtl] .app-content{direction:rtl}.app-shell[dir=ltr] .global-header,.app-shell[dir=ltr] .sidebar,.app-shell[dir=ltr] .app-content{direction:ltr}.app-shell .sidebar{border-inline-end:1px solid var(--border)}.channel-filter-strip{flex-wrap:wrap}.channel-filter-strip button{padding-inline:7px}.channel-filter-strip button.active{background:var(--blue-soft);border-color:#9bb9ff;color:var(--blue);font-weight:700}.inbox-page{height:100%;display:grid;grid-template-columns:316px minmax(440px,1fr) 316px;background:var(--surface);direction:rtl}.inbox-page>*{direction:rtl}[dir=ltr] .inbox-page{direction:ltr}[dir=ltr] .inbox-page>*{direction:ltr}.queue-pane{border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;background:var(--surface)}[dir=rtl] .queue-pane{border-right:0;border-left:1px solid var(--border)}.queue-title{min-height:67px;padding:11px 12px 8px;display:flex;align-items:center;justify-content:space-between}.queue-title h1{font-size:20px;margin-top:2px}.queue-title .btn{width:32px;padding:0}.queue-tabs{height:38px;display:flex;border-bottom:1px solid var(--border);padding:0 8px;gap:3px;overflow-x:auto}.queue-tabs button{border:0;background:none;height:38px;padding:0 8px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:4px;border-bottom:2px solid transparent;white-space:nowrap}.queue-tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:700}.queue-tabs b{font:600 8px var(--mono);background:var(--surface-3);border-radius:9px;padding:2px 4px}.queue-tools{display:flex;padding:8px;gap:5px;border-bottom:1px solid var(--border)}.compact-search,.table-search{height:32px;display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:5px;background:var(--surface-2);padding:0 8px;flex:1;color:var(--muted)}.compact-search input,.table-search input{border:0;outline:0;background:transparent;width:100%;font-size:14px}.square-btn{width:32px;height:32px;border:1px solid var(--border);background:var(--surface);border-radius:5px;display:flex;align-items:center;justify-content:center}.square-btn.active{background:var(--blue-soft);color:var(--blue);border-color:#bfd1ff}.filter-strip{display:flex;gap:4px;padding:6px 8px;border-bottom:1px solid var(--border)}.filter-strip button{height:32px;border:1px solid var(--border);background:var(--surface);border-radius:4px;font-size:12px;display:flex;align-items:center;gap:4px}.conversation-list{flex:1;overflow:auto}.conversation-item{width:100%;border:0;border-bottom:1px solid var(--border);background:var(--surface);padding:10px 9px;display:flex;align-items:flex-start;gap:8px;text-align:start;position:relative}.conversation-item:hover{background:var(--surface-2)}.conversation-item.active{background:var(--blue-soft)}.conversation-item.active:before{content:"";position:absolute;inset-inline-start:0;top:8px;bottom:8px;width:3px;background:var(--blue);border-radius:0 3px 3px 0}.conv-avatar{position:relative}.conv-avatar>.channel-icon{position:absolute;width:17px;height:17px;bottom:-3px;right:-3px;border:2px solid var(--surface);border-radius:50%}.conversation-item.active .conv-avatar>.channel-icon{border-color:var(--blue-soft)}.conv-content{min-width:0;flex:1}.conv-top{display:flex;justify-content:space-between;align-items:center}.conv-top strong{font-size:14px}.conv-top time{font:500 11px var(--mono);color:var(--muted)}.conv-content>p{font-size:14px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 6px}.conv-meta{display:flex;gap:4px;align-items:center;min-width:0}.conv-meta>span:not(.sla){background:var(--surface-3);color:var(--muted);font-size:11px;padding:2px 4px;border-radius:3px;white-space:nowrap;max-width:66px;overflow:hidden;text-overflow:ellipsis}.sla{font:600 11px var(--mono);display:flex;align-items:center;gap:2px}.sla.warning{color:var(--amber)}.sla.good{color:var(--green)}.unread-count{background:var(--blue);color:#fff;border-radius:50%;font:700 8px var(--mono);min-width:16px;height:16px;display:flex;align-items:center;justify-content:center;position:absolute;bottom:9px;inset-inline-end:8px}.queue-footer{height:31px;border-top:1px solid var(--border);display:flex;align-items:center;padding:0 8px;gap:2px}.queue-footer span{font:500 11px var(--mono);color:var(--muted);flex:1}.queue-footer button{width:23px;height:23px;border:0;background:transparent;display:flex;align-items:center;justify-content:center}.conversation-canvas{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface-2)}.conversation-header{min-height:58px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 12px;gap:8px}.contact-title{display:flex;align-items:center;gap:8px;min-width:0}.contact-title>div>div{display:flex;align-items:center;gap:6px}.contact-title h2{font-size:13px}.contact-title>div>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px;margin-top:3px}.contact-title .channel-icon{width:16px;height:16px}.conversation-actions,.presence{display:flex;align-items:center;gap:4px}.presence{margin-inline-end:5px}.mini-avatar{width:20px;height:20px;border-radius:50%;background:#dfe7f3;color:#284464;border:2px solid var(--surface);display:flex;align-items:center;justify-content:center;font:700 6px var(--mono);margin-inline-end:-9px}.presence small{font-size:11px;color:var(--muted);margin-inline-start:8px}.timeline{flex:1;min-height:0;overflow:auto;padding:12px clamp(14px,4vw,58px) 20px}.date-divider{display:flex;align-items:center;gap:10px;margin:4px 0 15px}.date-divider:before,.date-divider:after{content:"";height:1px;background:var(--border);flex:1}.date-divider span{font:600 11px var(--mono);color:var(--muted);text-transform:uppercase}.message-row{display:flex;margin-bottom:11px;gap:5px}.message-row.contact{justify-content:flex-start}.message-row.operator{justify-content:flex-end}.message-row.system{justify-content:center}.message-wrap{max-width:72%}.message-bubble{border:1px solid var(--border);background:var(--surface);border-radius:4px 11px 11px;padding:8px 10px;font-size:14px;line-height:1.6;box-shadow:0 1px 2px #00000008}.operator .message-bubble{background:var(--blue);border-color:var(--blue);color:#fff;border-radius:11px 4px 11px 11px}.operator .message-bubble .inbox-media-root{color:var(--text,#1e293b)}.message-time{font-size:11px;color:var(--muted);display:flex;gap:5px;margin-top:3px;padding:0 2px}.operator .message-time{justify-content:flex-end}.delivery-check{color:#6f8aa8}.attachment-card{margin-top:8px;min-width:250px;border:1px solid var(--border);background:var(--surface-2);display:flex;align-items:center;gap:7px;padding:7px;border-radius:5px;text-align:start}.attachment-card>span:first-child{width:30px;height:30px;background:var(--blue-soft);color:var(--blue);border-radius:5px;display:flex;align-items:center;justify-content:center}.attachment-card>span:nth-child(2){flex:1;display:flex;flex-direction:column}.attachment-card strong{font-size:12px}.attachment-card small{font-size:11px;color:var(--muted)}.system-event{background:var(--surface-3);color:var(--muted);border-radius:99px;padding:5px 9px;font-size:11px;display:flex;align-items:center;gap:5px;text-align:center}.system-event time{font:500 11px var(--mono)}.ai-proposal{max-width:84%;margin:14px auto 5px;border:1px solid #d8cfff;background:var(--purple-soft);border-radius:8px;padding:10px 11px}.ai-proposal header,.ai-proposal footer{display:flex;align-items:center;justify-content:space-between}.ai-proposal header>span{font-size:12px;font-weight:700;color:var(--purple);display:flex;align-items:center;gap:5px}.ai-proposal>p{font-size:14px;line-height:1.6;margin:8px 0}.ai-proposal footer>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}.ai-proposal footer>div{display:flex;gap:5px}.ai-proposal .btn{height:32px;font-size:12px}.composer{background:var(--surface);border-top:1px solid var(--border);margin:0 12px 10px;border:1px solid var(--border);border-radius:8px;position:relative}.composer-toolbar{min-height:32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 7px}.composer-toolbar>div{display:flex;min-height:32px}.composer-toolbar button{border:0;border-bottom:2px solid transparent;background:none;font-size:12px;padding:0 8px}.composer-toolbar button.active{color:var(--blue);border-color:var(--blue);font-weight:700}.composer-toolbar>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:3px}.composer textarea{width:100%;height:64px;resize:none;border:0;background:transparent;outline:0;padding:8px 10px;font-size:14px}.composer-bottom{min-height:36px;display:flex;align-items:center;justify-content:space-between;padding:0 6px}.composer-bottom>div{display:flex;align-items:center;gap:2px}.composer-bottom button:not(.btn){width:27px;height:27px;border:0;background:transparent;border-radius:5px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.composer-bottom button:hover{background:var(--surface-3);color:var(--text)}.composer-bottom .btn{height:32px}.shortcut{font:600 11px var(--mono);color:var(--muted)}.template-menu{position:absolute;bottom:40px;inset-inline-start:70px;width:330px;background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:6px;box-shadow:var(--shadow);z-index:20}.template-menu>button{width:100%;border:0;background:transparent;padding:7px;display:flex;align-items:flex-start;gap:7px;text-align:start;border-radius:4px}.template-menu>button:hover{background:var(--surface-3)}.template-menu>button>span{display:flex;flex-direction:column;min-width:0}.template-menu strong{font-size:12px}.template-menu small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inspector{border-left:1px solid var(--border);background:var(--surface);min-height:0;display:flex;flex-direction:column}[dir=rtl] .inspector{border-left:0;border-right:1px solid var(--border)}.inspector-tabs{height:42px;display:flex;border-bottom:1px solid var(--border);padding:0 9px;gap:3px}.inspector-tabs button{height:42px;flex:1;border:0;border-bottom:2px solid transparent;background:none;font-size:12px;color:var(--muted)}.inspector-tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:700}.inspector-tabs b{font:600 7px var(--mono);background:var(--surface-3);border-radius:9px;padding:1px 4px}.inspector-body{overflow:auto;flex:1}.profile-summary{text-align:center;padding:15px 12px 12px}.profile-summary h3{font-size:13px;margin:6px 0 1px}.profile-summary p{font:500 11px var(--mono);color:var(--muted);direction:ltr}.profile-summary>div{display:flex;justify-content:center;gap:4px;margin-top:9px}.profile-summary button{width:28px;height:28px;border:1px solid var(--border);background:var(--surface);border-radius:6px;display:flex;align-items:center;justify-content:center;color:var(--text-2)}.inspector-section{border-top:1px solid var(--border);padding:10px 12px}.inspector-section>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.inspector-section h4{font-size:16px}.inspector-section>header button{border:0;background:none;color:var(--blue);font-size:12px;font-weight:600}.detail-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:7px;margin:7px 0;font-size:12px}.detail-row span{color:var(--muted)}.detail-row strong{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-label{font-size:12px;color:var(--text-2);display:flex;flex-direction:column;gap:5px}.field-label select,.field-label input,.inspector-section select,.form-grid input,.form-grid select,.settings-section input,.settings-section select{height:34px;border:1px solid var(--border);background:var(--surface-2);border-radius:5px;padding:0 7px;font-size:14px;outline:none}.priority-row{margin-top:9px}.priority-row>span{font-size:12px;color:var(--muted);display:block;margin-bottom:5px}.priority-row>div{display:flex}.priority-row button{border:1px solid var(--border);background:var(--surface);height:32px;padding:0 5px;font-size:12px;display:inline-flex;align-items:center;gap:2px}.priority-row button:first-of-type{border-radius:4px 0 0 4px}.priority-row button:last-of-type{border-radius:0 4px 4px 0}.priority-row button.selected{background:var(--blue-soft);color:var(--blue);border-color:#a9c2ff}.priority-row button.selected.urgent{background:var(--red-soft);color:var(--red);border-color:#fecaca}.label-cloud{display:flex;flex-wrap:wrap;gap:4px}.linked-card{width:100%;display:flex;align-items:center;gap:7px;border:0;background:transparent;padding:6px 0;text-align:start}.linked-card:hover{background:var(--surface-2)}.linked-card>span:nth-child(2){flex:1;display:flex;flex-direction:column}.linked-card strong{font-size:12px}.linked-card small{font-size:11px;color:var(--muted)}.linked-icon{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center}.linked-icon.lead{background:var(--purple-soft);color:var(--purple)}.linked-icon.booking{background:var(--blue-soft);color:var(--blue)}.toggle-row,.toggle-row>span{display:flex;align-items:center;justify-content:space-between}.toggle-row>span{gap:5px;font-size:12px}.toggle{width:30px;height:17px;border:0;border-radius:99px;background:#cbd5e1;padding:2px;display:flex;justify-content:flex-start;transition:.15s}.toggle i{width:13px;height:13px;background:#fff;border-radius:50%;box-shadow:0 1px 2px #00000040}.toggle.on{background:var(--blue);justify-content:flex-end}.toggle.large{width:38px;height:21px}.toggle.large i{width:17px;height:17px}.safety-note{margin-top:7px;background:var(--green-soft);color:var(--green);font-size:11px;padding:6px;border-radius:4px;display:flex;align-items:center;gap:4px}.activity-timeline{padding:14px}.activity-timeline>div{display:flex;gap:8px;position:relative;padding-bottom:18px}.activity-timeline>div:not(:last-child):before{content:"";position:absolute;top:23px;inset-inline-start:10px;width:1px;height:20px;background:var(--border)}.activity-timeline>div>span{width:21px;height:21px;border-radius:50%;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center}.activity-timeline p{font-size:14px;display:flex;flex-direction:column}.activity-timeline small{font-size:11px;color:var(--muted);margin-top:3px}.notes-panel{padding:12px}.note-warning{font-size:12px;color:var(--amber);background:var(--amber-soft);padding:7px;border-radius:5px;display:flex;gap:5px;margin-bottom:9px}.note-card{background:var(--amber-soft);border:1px solid #f9e2b0;border-radius:5px;padding:8px;margin-bottom:7px}.note-card header{display:flex;justify-content:space-between;font-size:12px;color:#92400e}.note-card p{font-size:14px;line-height:1.5;margin-top:4px;white-space:pre-wrap}.notes-panel textarea{width:100%;height:70px;resize:none;border:1px solid var(--border);background:var(--surface-2);border-radius:5px;padding:7px;font-size:14px;margin-top:8px}.notes-panel>.btn{width:100%;margin-top:5px}@media(max-width:640px){.app-shell{--header:108px}.app-shell>.global-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:60px 48px;height:var(--header);align-items:center}.app-shell>.global-header>.brand-cluster{grid-row:1}.app-shell>.global-header>.header-actions{grid-row:2;min-width:0;width:100%;justify-content:space-between;gap:4px}.app-shell>.global-header .assignment-availability{position:absolute;inset-block-start:3px;inset-inline-end:12px;max-width:calc(100% - 128px)}}.data-card,.chart-card,.schedule-card,.availability-panel,.automation-card,.automation-insights,.campaign-card,.policy-grid>section,.knowledge-hero,.policy-main,.budget-card,.delivery-card,.security-guide,.readiness-card,.services-card,.backup-card,.incident-card,.task-focus{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.data-card{margin-top:16px;overflow:hidden}.module-toolbar{min-height:52px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border)}.table-search{max-width:280px;flex:1}.module-toolbar>div{display:flex;align-items:center;gap:6px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:start}th{background:var(--surface-2);height:35px;padding:0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:700;text-align:start;white-space:nowrap}td{height:52px;border-top:1px solid var(--border);padding:7px 10px;font-size:14px;color:var(--text-2);white-space:nowrap}tbody tr:hover{background:var(--surface-2)}input[type=checkbox]{accent-color:var(--blue)}.person-cell,.file-cell{display:flex;align-items:center;gap:8px}.person-cell>span,.identity-stack{display:flex;flex-direction:column}.person-cell strong,.file-cell strong{font-size:14px;color:var(--text)}.person-cell small,.identity-stack small{font-size:11px;color:var(--muted)}.identity-stack b{font:500 11px var(--mono);color:var(--text)}.channel-stack{display:flex;gap:3px}.channel-stack .channel-icon{width:20px;height:20px}.table-footer{height:40px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 11px;font-size:11px;color:var(--muted)}.table-footer>div{display:flex;align-items:center}.table-footer button,.table-footer b{width:32px;height:32px;border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center}.table-footer b{background:var(--blue);border-color:var(--blue);color:#fff;font:600 11px var(--mono)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{font-size:12px;color:var(--text-2);display:flex;flex-direction:column;gap:5px}.form-grid .full{grid-column:1/-1}.form-callout{background:var(--blue-soft);color:var(--blue);padding:9px;border-radius:5px;display:flex!important;flex-direction:row!important;gap:7px!important}.form-callout p{display:flex;flex-direction:column}.form-callout strong{font-size:12px}.form-callout span{font-size:11px;margin-top:2px}.full-height{height:100%;display:flex;flex-direction:column;min-height:0}.split-workspace{flex:1;display:grid;grid-template-columns:290px minmax(430px,1fr) 270px;min-height:0;direction:ltr}.split-workspace>*{direction:rtl}[dir=ltr] .split-workspace>*{direction:ltr}.record-list{border-right:1px solid var(--border);background:var(--surface);overflow:auto}[dir=rtl] .record-list{border-right:0;border-left:1px solid var(--border)}.record-list-tools{height:46px;padding:8px;display:flex;gap:5px;border-bottom:1px solid var(--border);background:var(--surface)}.comment-list-item{width:100%;padding:10px;border:0;border-bottom:1px solid var(--border);background:var(--surface);text-align:start}.comment-list-item:hover,.comment-list-item.active{background:var(--blue-soft)}.comment-list-item>div{display:flex;align-items:center;gap:6px}.comment-list-item strong{font-size:14px;flex:1}.comment-list-item time{font-size:11px;color:var(--muted)}.comment-list-item>p{font-size:14px;line-height:1.5;color:var(--text-2);margin:7px 0}.comment-list-item footer{display:flex;align-items:center;gap:7px}.comment-list-item footer>span{font-size:11px;color:var(--muted);display:flex;gap:2px}.comment-canvas{background:var(--surface-2);min-width:0;overflow:auto}.comment-canvas>header{height:67px;background:var(--surface);border-bottom:1px solid var(--border);padding:9px 13px;display:flex;justify-content:space-between;align-items:center}.comment-canvas>header h2{font-size:16px;margin:3px 0}.comment-canvas>header p{font-size:11px;color:var(--muted)}.comment-canvas>header>div:last-child{display:flex;gap:5px}.post-preview{margin:12px;background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:9px;display:flex;gap:10px}.post-image{width:88px;height:68px;border-radius:5px;background:linear-gradient(135deg,#cde5ff,#e9ddff);display:flex;align-items:center;justify-content:center;flex:none}.post-image span{width:31px;height:31px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 9px var(--mono);color:var(--blue)}.post-preview h3{font-size:14px;margin:5px 0}.post-preview p{font-size:11px;color:var(--muted)}.post-preview button{border:0;background:none;color:var(--blue);font-size:12px;display:flex;gap:3px;margin-top:6px;padding:0}.public-thread{padding:8px 24px}.public-comment,.brand-reply{display:flex;gap:8px;margin-bottom:13px}.public-comment>div,.brand-reply>div{background:var(--surface);border:1px solid var(--border);border-radius:4px 10px 10px;padding:8px 10px;max-width:82%}.public-comment strong,.brand-reply strong{font-size:14px}.public-comment p,.brand-reply p{font-size:14px;line-height:1.55;margin:3px 0}.public-comment footer{display:flex;gap:7px}.public-comment footer button{border:0;background:none;padding:0;font-size:12px;color:var(--blue)}.public-comment time,.brand-reply time{font-size:11px;color:var(--muted)}.brand-reply{margin-inline-start:34px}.brand-reply>div{background:var(--blue-soft);border-color:#ccdcff}.public-composer{margin:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:7px}.policy-banner{padding:7px 9px;background:var(--purple-soft);color:var(--purple);display:flex;align-items:center;gap:6px;border-radius:7px 7px 0 0}.policy-banner>span{display:flex;flex-direction:column;flex:1}.policy-banner strong{font-size:12px}.policy-banner span{font-size:11px}.public-composer textarea{width:100%;height:58px;border:0;resize:none;outline:0;padding:9px;background:transparent;font-size:14px}.public-composer>footer{display:flex;justify-content:space-between;padding:6px}.public-composer>footer>div{display:flex;gap:5px}.public-composer>footer button:not(.btn){border:0;background:transparent}.comment-inspector{border-left:1px solid var(--border);background:var(--surface);overflow:auto}[dir=rtl] .comment-inspector{border-left:0;border-right:1px solid var(--border)}.capability-list>div{display:flex;justify-content:space-between;padding:5px 0;font-size:12px}.green{color:var(--green)}.amber{color:var(--amber)}.red{color:var(--red)}.muted{color:var(--muted)}.email-workspace{flex:1;display:grid;grid-template-columns:178px 288px minmax(450px,1fr);min-height:0;direction:ltr}.email-workspace>*{direction:rtl}[dir=ltr] .email-workspace>*{direction:ltr}.email-folders{background:var(--surface);border-right:1px solid var(--border);padding:9px;overflow:auto}[dir=rtl] .email-folders{border-right:0;border-left:1px solid var(--border)}.email-folders>button{width:100%;height:34px;border:0;background:transparent;border-radius:5px;padding:0 8px;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2)}.email-folders>button span{flex:1;text-align:start}.email-folders>button b{font:600 8px var(--mono)}.email-folders>button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.folder-divider{height:1px;background:var(--border);margin:9px 0}.mail-health{display:flex;align-items:center;gap:7px;padding:7px}.mail-health>div{min-width:0;display:flex;flex-direction:column}.mail-health strong{font:500 11px var(--mono);overflow:hidden;text-overflow:ellipsis}.mail-health small{font-size:11px;color:var(--amber);display:flex;align-items:center;gap:3px}.mail-health i{background:var(--amber)}.email-list{background:var(--surface);border-right:1px solid var(--border);overflow:auto}[dir=rtl] .email-list{border-right:0;border-left:1px solid var(--border)}.email-item{width:100%;background:var(--surface);border:0;border-bottom:1px solid var(--border);padding:10px;text-align:start}.email-item:hover,.email-item.active{background:var(--blue-soft)}.email-item>div{display:flex;align-items:center;gap:6px}.email-item>div strong{font-size:14px;flex:1}.email-item time{font-size:11px;color:var(--muted)}.email-item h4{font-size:14px;margin:7px 0 3px;font-weight:500}.email-item.unread h4,.email-item.unread>div strong{font-weight:700}.email-item p{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-item footer{display:flex;gap:5px;margin-top:6px;color:var(--muted)}.email-canvas{background:var(--surface-2);overflow:auto}.email-canvas>header{min-height:63px;background:var(--surface);border-bottom:1px solid var(--border);padding:10px 14px;display:flex;align-items:center;justify-content:space-between}.email-canvas>header h2{font-size:16px;margin-top:3px}.email-canvas>header>div:last-child{display:flex}.email-message{background:var(--surface);border-bottom:1px solid var(--border);padding:15px 20px}.email-sender{display:flex;align-items:center;gap:7px}.email-sender>div{display:flex;flex-direction:column;flex:1}.email-sender strong{font-size:14px}.email-sender span,.email-sender time{font-size:11px;color:var(--muted)}.email-body{font-size:14px;line-height:1.8;padding:14px 37px}.email-body p{margin-bottom:8px}.email-attachment{margin-inline-start:37px;width:min(340px,80%);border:1px solid var(--border);border-radius:5px;padding:8px;display:flex;align-items:center;gap:8px}.email-attachment>span{flex:1;display:flex;flex-direction:column}.email-attachment strong{font-size:12px}.email-attachment small{font-size:11px;color:var(--green)}.email-reply{margin:12px;background:var(--surface);border:1px solid var(--border);border-radius:7px}.email-reply-head{min-height:35px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:6px;padding:0 9px;font-size:12px}.email-reply-head span{flex:1}.email-reply-head button{border:0;background:none;color:var(--muted);font-size:12px}.rich-toolbar{min-height:32px;display:flex;align-items:center;gap:10px;padding:0 10px;border-bottom:1px solid var(--border);font-size:12px}.rich-toolbar span{height:16px;width:1px;background:var(--border)}.rich-toolbar button{border:0;background:none;font-size:12px}.email-reply textarea{width:100%;height:90px;border:0;outline:0;resize:none;padding:10px;background:transparent;font-size:14px}.email-reply footer{display:flex;justify-content:space-between;padding:7px}.email-reply footer>div{display:flex}.email-reply footer button:not(.btn){border:0;background:none;width:28px;color:var(--muted)}.pipeline-summary{margin-top:16px;background:#101c32;color:#fff;border-radius:8px;padding:13px 16px;display:flex;align-items:center;gap:28px}.pipeline-summary>div{display:flex;flex-direction:column}.pipeline-summary span{font-size:11px;color:#9aabc4}.pipeline-summary strong{font-size:15px;margin-top:3px}.pipeline-bar{flex:1}.pipeline-bar>i{height:5px;background:#4d83ff;border-radius:5px;margin:6px 0}.kanban{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:8px;margin-top:12px;overflow:auto;padding-bottom:5px}.kanban-column{background:var(--surface-3);border:1px solid var(--border);border-radius:7px;padding:8px;min-height:450px}.kanban-column>header{padding:2px 2px 9px}.kanban-column>header>div{display:flex;align-items:center;gap:5px}.kanban-column>header strong{font-size:12px}.kanban-column>header b{font:600 9px var(--mono);background:var(--surface);padding:2px 5px;border-radius:9px}.kanban-column>header>span{font-size:11px;color:var(--muted);margin-inline-start:13px}.stage-dot{width:7px;height:7px;border-radius:50%;background:#94a3b8}.stage-dot.s1{background:#38bdf8}.stage-dot.s2{background:#8b5cf6}.stage-dot.s3{background:#f59e0b}.stage-dot.s4{background:#22c55e}.lead-card{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:9px;margin-bottom:7px}.lead-card-top{display:flex;justify-content:space-between}.lead-card-top button{border:0;background:none}.lead-card h3{font-size:14px;margin-top:7px}.lead-card>p{font-size:11px;color:var(--muted);margin:3px 0 9px}.lead-value{display:flex;justify-content:space-between}.lead-value strong{font:700 12px var(--mono)}.lead-value span{font:600 11px var(--mono);color:var(--muted)}.probability{height:3px;background:var(--surface-3);margin:5px 0 9px}.probability i{display:block;height:100%;background:var(--blue)}.lead-card footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:7px}.lead-card footer span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}.lead-card footer button{width:25px;height:23px;border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center;border-radius:4px}.add-stage-item{width:100%;height:32px;border:1px dashed var(--border-strong);background:transparent;color:var(--muted);border-radius:5px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:4px}.booking-datebar{margin-top:15px;height:55px;background:var(--surface);border:1px solid var(--border);border-radius:7px;display:flex;align-items:center;padding:0 10px;gap:9px}.booking-datebar>button{width:32px;height:32px;border:1px solid var(--border);background:var(--surface);border-radius:5px;display:flex;align-items:center;justify-content:center}.booking-datebar>div:nth-of-type(1){display:flex;align-items:center;gap:7px}.booking-datebar span{font-size:11px;color:var(--muted)}.booking-datebar strong{font-size:14px}.booking-datebar div button{border:0;background:var(--blue-soft);color:var(--blue);font-size:12px;padding:4px 6px;border-radius:4px}.datebar-sep{width:1px;height:28px;background:var(--border);margin:0 6px}.branch-pills{display:flex;gap:3px;flex:1}.branch-pills button{height:32px;padding:0 9px;background:transparent;color:var(--text-2)}.branch-pills button.active{background:var(--blue-soft);color:var(--blue)}.booking-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:10px;margin-top:10px}.schedule-card>header{height:57px;padding:0 13px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.schedule-card h3,.availability-panel h3{font-size:16px}.schedule-card header p,.schedule-card header span{font-size:11px;color:var(--muted)}.schedule-legend{display:flex;gap:8px}.schedule-legend span{display:flex;align-items:center;gap:3px}.schedule-legend i{width:6px;height:6px;border-radius:50%}.schedule-legend i.confirmed{background:var(--green)}.schedule-legend i.pending{background:var(--amber)}.schedule-legend i.hold{background:var(--blue)}.booking-row{height:63px;display:grid;grid-template-columns:55px 15px minmax(240px,1fr) 70px 95px;align-items:center;padding:0 10px;border-bottom:1px solid var(--border)}.booking-row>time{font:600 12px var(--mono)}.time-line{height:100%;display:flex;justify-content:center;position:relative}.time-line:before{content:"";width:1px;height:100%;background:var(--border)}.time-line i{position:absolute;top:26px;width:7px;height:7px;border:2px solid var(--green);background:var(--surface);border-radius:50%}.booking-row.pending .time-line i{border-color:var(--amber)}.booking-row.hold .time-line i{border-color:var(--blue)}.booking-main{display:flex;justify-content:space-between;padding:0 10px;gap:8px}.booking-main>div{display:flex;align-items:center;gap:7px}.booking-main>div>span{display:flex;flex-direction:column}.booking-main strong{font-size:12px}.booking-main small{font-size:11px;color:var(--muted)}.booking-main>div:last-child{align-items:flex-start;flex-direction:column;gap:3px}.booking-main>div:last-child span{font-size:11px;color:var(--text-2);display:flex;align-items:center;gap:3px}.booking-actions{display:flex;gap:3px}.booking-actions .btn{height:32px;font-size:12px;padding:0 7px}.availability-panel{padding:13px}.availability-panel>header{margin-bottom:14px}.availability-panel h3{margin-top:3px}.capacity-row{display:grid;grid-template-columns:1fr 70px 28px;align-items:center;gap:7px;margin:12px 0}.capacity-row>div:first-child{display:flex;flex-direction:column}.capacity-row strong{font-size:12px}.capacity-row span{font-size:11px;color:var(--muted)}.capacity-track{height:4px;background:var(--surface-3);border-radius:5px}.capacity-track i{display:block;height:100%;background:var(--blue);border-radius:5px}.capacity-row>b{font:600 11px var(--mono)}.availability-alert{background:var(--amber-soft);color:var(--amber);display:flex;gap:6px;padding:8px;border-radius:5px;margin:15px 0}.availability-alert>div{display:flex;flex-direction:column}.availability-alert strong{font-size:12px}.availability-alert span{font-size:11px;line-height:1.4}.full-width{width:100%}.notice-bar,.danger-banner,.dev-callout,.platform-banner{margin-top:15px;min-height:43px;border:1px solid #cfe0ff;background:var(--blue-soft);color:var(--blue);border-radius:6px;padding:8px 11px;display:flex;align-items:center;gap:7px}.notice-bar span,.danger-banner span,.dev-callout>div,.platform-banner span{display:flex;flex-direction:column;flex:1;font-size:11px}.notice-bar strong,.danger-banner strong,.dev-callout strong,.platform-banner strong{font-size:12px}.danger-banner{background:var(--red-soft);border-color:#fecaca;color:var(--red)}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:10px}.chart-card{padding:13px}.chart-card>header,.card-title{display:flex;align-items:center;justify-content:space-between}.chart-card h3,.card-title h3{font-size:16px}.chart-card header p,.card-title p{font-size:11px;color:var(--muted);margin-top:2px}.chart-card select{height:32px;border:1px solid var(--border);background:var(--surface);border-radius:5px;font-size:12px}.line-chart{height:245px;display:flex;padding-top:14px}.y-labels{display:flex;flex-direction:column;justify-content:space-between;font:500 11px var(--mono);color:var(--muted);padding-bottom:20px}.chart-area{flex:1;position:relative;background:repeating-linear-gradient(to bottom,var(--border) 0 1px,transparent 1px 54px);margin-inline-start:8px}.chart-area svg{width:100%;height:220px;overflow:visible}.chart-area .area{fill:url(#fill)}.chart-area .line{fill:none;stroke:var(--blue);stroke-width:3;vector-effect:non-scaling-stroke}.x-labels{position:absolute;bottom:-3px;left:0;right:0;display:flex;justify-content:space-between;font:500 11px var(--mono);color:var(--muted)}.donut-wrap{padding-top:20px}.donut{width:128px;height:128px;border-radius:50%;background:conic-gradient(var(--purple) 0 42%,var(--blue) 42% 73%,var(--green) 73% 91%,#cbd5e1 91%);margin:auto;display:flex;align-items:center;justify-content:center}.donut:before{content:"";width:76px;height:76px;border-radius:50%;background:var(--surface)}.donut>span{position:absolute;display:flex;flex-direction:column;align-items:center}.donut strong{font-size:17px}.donut small{font-size:11px;color:var(--muted)}.donut-legend{margin-top:15px}.donut-legend>div{display:flex;justify-content:space-between;padding:5px 0;font-size:11px}.donut-legend span{display:flex;align-items:center;gap:5px}.donut-legend i,.health-row i,.chart-legend i{width:6px;height:6px;border-radius:50%;background:#cbd5e1}.donut-legend i.purple,.chart-legend i.purple{background:var(--purple)}.donut-legend i.blue,.chart-legend i.blue{background:var(--blue)}.donut-legend i.green{background:var(--green)}.campaigns-table{grid-column:1/-1}.campaigns-table>.card-title{padding:12px}.tasks-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:10px;margin-top:15px}.task-list{margin:0}.task-group-title{height:38px;padding:0 12px;display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--border);font-size:12px;font-weight:700}.task-row{min-height:60px;border-bottom:1px solid var(--border);display:grid;grid-template-columns:28px minmax(240px,1fr) 60px 130px 34px;gap:6px;align-items:center;padding:7px 10px}.task-row.done{opacity:.55}.task-row.done h3{text-decoration:line-through}.task-check{width:19px;height:19px;border:1px solid var(--border-strong);background:var(--surface);border-radius:50%;display:flex;align-items:center;justify-content:center}.task-check.checked{background:var(--green);border-color:var(--green);color:#fff}.task-row h3{font-size:14px}.task-row p{font-size:11px;color:var(--muted);display:flex;gap:4px;align-items:center;margin-top:4px}.task-owner{display:flex;align-items:center;gap:5px;font-size:12px}.task-focus{padding:14px;text-align:center}.task-focus h3{font-size:16px;margin:4px}.focus-ring{width:110px;height:110px;border-radius:50%;margin:16px auto;background:conic-gradient(var(--blue) 0 50%,var(--surface-3) 50%);display:flex;align-items:center;justify-content:center}.focus-ring:before{content:"";width:78px;height:78px;background:var(--surface);border-radius:50%}.focus-ring span{position:absolute}.focus-ring strong{font-size:22px}.focus-ring small{color:var(--muted)}.task-focus>p{font-size:11px;color:var(--muted);line-height:1.5}.focus-stat{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:9px 0;font-size:12px}.campaign-list{margin-top:15px;display:flex;flex-direction:column;gap:8px}.campaign-card{padding:12px;display:grid;grid-template-columns:38px minmax(250px,1fr) 250px 130px;gap:9px;align-items:center}.campaign-channel>.channel-icon{width:34px;height:34px}.campaign-info>div{display:flex;align-items:center;gap:6px}.campaign-info h3{font-size:14px}.campaign-info>p{font-size:11px;color:var(--muted);margin:3px 0}.campaign-progress{display:flex;align-items:center;gap:6px}.campaign-progress>div{height:4px;background:var(--surface-3);flex:1}.campaign-progress i{display:block;height:100%;background:var(--blue)}.campaign-progress span{font:600 11px var(--mono)}.campaign-metrics{display:grid;grid-template-columns:repeat(3,1fr)}.campaign-metrics>div{display:flex;flex-direction:column}.campaign-metrics span{font-size:11px;color:var(--muted)}.campaign-metrics strong{font:600 11px var(--mono);margin-top:3px}.campaign-actions{display:flex;justify-content:flex-end;gap:4px}.policy-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.policy-grid>section{padding:12px;display:flex;gap:8px;color:var(--text-2)}.policy-grid h3{font-size:16px;color:var(--text)}.policy-grid p{font-size:11px;color:var(--muted);margin-top:2px}.stepper{display:flex;align-items:center;justify-content:center;margin-bottom:22px}.stepper span{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted)}.stepper b{width:19px;height:19px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font:600 11px var(--mono)}.stepper span.active{color:var(--blue);font-weight:700}.stepper span.active b{background:var(--blue);border-color:var(--blue);color:#fff}.stepper i{width:35px;height:1px;background:var(--border);margin:0 5px}.automation-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:10px;margin-top:15px}.automation-list{display:flex;flex-direction:column;gap:7px}.automation-card{min-height:83px;padding:11px;display:grid;grid-template-columns:37px minmax(0,1fr) 33px 32px;align-items:center;gap:8px}.automation-icon{width:34px;height:34px;border-radius:8px;background:var(--purple-soft);color:var(--purple);display:flex;align-items:center;justify-content:center}.automation-copy>div{display:flex;align-items:center;gap:6px}.automation-copy h3{font-size:14px}.rule-line{display:flex;align-items:center;gap:7px;margin:7px 0}.rule-line span{background:var(--surface-3);font-size:11px;padding:4px 6px;border-radius:4px;display:flex;gap:3px}.automation-copy footer{display:flex;gap:12px;font-size:11px;color:var(--muted)}.automation-insights{padding:13px}.automation-insights h3{font-size:16px;margin-top:3px}.health-score{background:var(--green-soft);padding:13px;border-radius:6px;margin:12px 0;display:flex;flex-direction:column;align-items:center;color:var(--green)}.health-score strong{font-size:22px}.health-score span{font-size:11px}.health-row{display:flex;align-items:center;justify-content:space-between;padding:7px 2px;border-bottom:1px solid var(--border);font-size:11px}.health-row span{display:flex;align-items:center;gap:5px}.health-row i.green{background:var(--green)}.health-row i.amber{background:var(--amber)}.health-row i.red{background:var(--red)}.health-row i.blue{background:var(--blue)}.automation-insights>.btn{margin-top:12px}.workspace-switch-error{margin:4px 7px;padding:7px;border-radius:5px;background:var(--red-soft);color:var(--red);font-size:12px;line-height:1.4}.template-workspace{height:calc(100vh - 151px);display:grid;grid-template-columns:300px minmax(0,1fr);margin-top:15px;background:var(--surface);border:1px solid var(--border);border-radius:7px;overflow:hidden}.template-library{border-inline-end:1px solid var(--border);overflow:auto}.template-list-row{width:100%;padding:10px;border:0;border-bottom:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:7px;text-align:start}.template-list-row:hover,.template-list-row.active{background:var(--blue-soft)}.template-list-row>div:first-child{display:flex;gap:7px;align-items:center}.template-list-row>div:first-child span{display:flex;flex-direction:column}.template-list-row strong{font-size:12px}.template-list-row small{font-size:11px;color:var(--muted)}.template-editor{overflow:auto;display:flex;flex-direction:column}.template-editor>header{min-height:59px;padding:9px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.title-input{display:block;border:0;background:transparent;font-size:14px;font-weight:700;margin-top:3px;outline:0;width:400px;max-width:100%}.editor-grid{padding:15px;display:grid;grid-template-columns:minmax(320px,1fr) 280px;gap:20px;flex:1}.template-body{height:170px;resize:vertical;border:1px solid var(--border);background:var(--surface-2);border-radius:6px;padding:10px;font-size:14px;line-height:1.7}.variable-chips{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0 17px;font-size:11px;color:var(--muted)}.variable-chips button{border:1px solid var(--border);background:var(--surface-2);border-radius:4px;padding:3px 5px;font:500 11px var(--mono);color:var(--blue)}.checkbox-cards{display:flex;flex-wrap:wrap;gap:6px}.checkbox-cards label{border:1px solid var(--border);padding:6px;border-radius:5px;display:flex;flex-direction:row;align-items:center;gap:4px}.phone-preview{width:240px;height:390px;border:7px solid #1c2431;border-radius:24px;background:#e8eef0;margin:12px auto;overflow:hidden}.phone-head{height:46px;background:#fff;display:flex;align-items:center;gap:5px;padding:0 8px;color:#1f2937}.phone-head span{display:flex;flex-direction:column}.phone-head strong{font-size:11px}.phone-head small{font-size:11px;color:#16a34a}.phone-chat{padding:15px 8px}.preview-bubble{background:#d9fdd3;color:#1f2937;padding:8px;border-radius:7px 2px 7px 7px;font-size:11px;line-height:1.5}.preview-bubble time{display:block;text-align:end;font-size:11px;color:#64748b}.editor-footer{border-top:1px solid var(--border);padding:9px 14px;display:flex;align-items:center;justify-content:space-between}.editor-footer>span{font-size:11px;color:var(--muted);display:flex;gap:4px}.editor-footer>div{display:flex;gap:6px}.knowledge-hero{margin-top:15px;padding:12px;display:grid;grid-template-columns:minmax(320px,1fr) 250px 120px;align-items:center;gap:12px}.knowledge-hero>div{display:flex;align-items:center;gap:8px}.knowledge-icon{width:38px;height:38px;border-radius:9px;background:var(--purple-soft);color:var(--purple);display:flex;align-items:center;justify-content:center}.knowledge-hero h3{font-size:16px}.knowledge-hero p,.knowledge-hero span{font-size:11px;color:var(--muted)}.knowledge-hero>div:nth-child(2){display:grid;grid-template-columns:1fr 45px}.knowledge-hero>div:nth-child(2) strong{font:700 11px var(--mono)}.mini-progress{grid-column:1/-1;height:4px;background:var(--surface-3)}.mini-progress i{display:block;height:100%;background:var(--purple)}.policy-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:10px;margin:15px 20px}.policy-main,.budget-card{padding:13px}.policy-title{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px}.policy-title>div{display:flex;align-items:center;gap:8px}.policy-title h3{font-size:16px}.policy-title p{font-size:11px;color:var(--muted)}.policy-route{height:48px;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 100px 110px 130px 20px;align-items:center;font-size:12px}.policy-route>div{display:flex;align-items:center;gap:7px}.route-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.route-dot.strict{background:var(--purple)}.budget-card h3{font-size:18px;margin:8px 0}.budget-card h3 small{font-size:11px;color:var(--muted)}.budget-track{height:6px;background:var(--surface-3);border-radius:5px}.budget-track i{display:block;height:100%;background:var(--purple);border-radius:5px}.budget-card>p{font-size:11px;color:var(--muted);line-height:1.5;margin:10px 0}.model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.model-grid article{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:13px}.model-grid header,.model-grid footer{display:flex;align-items:center;justify-content:space-between}.model-logo{width:34px;height:34px;border-radius:8px;background:#101c32;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}.model-grid h3{font-size:16px;margin-top:11px}.model-grid article>strong{font-size:12px}.model-grid p{font-size:11px;color:var(--muted);margin:4px 0 15px}.model-grid footer{border-top:1px solid var(--border);padding-top:9px}.model-grid footer span{font-size:11px;color:var(--muted)}.model-grid .btn{height:32px;font-size:12px}.memory-review{margin-top:15px}.memory-review>.notice-bar{margin-left:0;margin-right:0}.memory-review article{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:11px;margin-top:7px;display:grid;grid-template-columns:34px minmax(0,1fr) 55px 140px;align-items:center;gap:7px}.memory-review article>div:nth-child(2){display:grid;grid-template-columns:130px 1fr}.memory-review strong{font-size:12px}.memory-review code{font:500 11px var(--mono);color:var(--purple)}.memory-review p{font-size:14px;grid-column:1/-1;margin:3px 0}.memory-review small{font-size:11px;color:var(--muted)}.memory-review article>div:last-child{display:flex;gap:4px}.connection-summary{height:58px;margin-top:15px;background:#101c32;color:#fff;border-radius:7px;display:flex;align-items:center;padding:0 16px;gap:34px}.connection-summary>div{display:flex;align-items:baseline;gap:6px}.connection-summary strong{font:700 15px var(--mono)}.connection-summary span{font-size:11px;color:#a5b4c9}.summary-freshness{margin-inline-start:auto!important}.summary-freshness svg{color:#60a5fa}.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.connection-card{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:12px}.connection-card>header{display:flex;align-items:center;justify-content:space-between}.connection-card>header>div{display:flex;align-items:center;gap:3px}.connection-card>header>.channel-icon{width:35px;height:35px}.connection-card h3{font-size:16px;margin-top:11px}.connection-card>p{font-size:11px;color:var(--muted);margin-top:2px}.connection-detail{display:flex;gap:5px;font-size:11px;color:var(--text-2);margin:12px 0}.connection-health{display:grid;grid-template-columns:1fr 35px;margin:8px 0}.connection-health span{font-size:11px;color:var(--muted)}.connection-health strong{font:600 11px var(--mono)}.connection-health>div{grid-column:1/-1;height:3px;background:var(--surface-3);margin-top:4px}.connection-health i{display:block;height:100%;background:var(--green)}.connection-card>footer{border-top:1px solid var(--border);padding-top:9px;display:flex;gap:5px}.connection-card>footer .btn:first-child{flex:1}.connection-modal-head{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:center}.qr-placeholder{width:160px;height:160px;background:#fff;padding:12px;border:1px solid var(--border)}.qr-grid{width:100%;height:100%;display:grid;grid-template-columns:repeat(8,1fr);gap:2px}.qr-grid i{background:#f1f5f9}.qr-grid i.dark{background:#111827}.connection-modal-head h3{font-size:16px;margin:8px 0 4px}.connection-modal-head p{font-size:14px;color:var(--muted);line-height:1.5;margin-bottom:10px}.diagnostic-list{border:1px solid var(--border);border-radius:6px;margin-top:18px}.diagnostic-list>div{min-height:37px;padding:0 9px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;font-size:12px}.diagnostic-list>div:last-child{border:0}.connection-wizard-progress{list-style:none;margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);position:relative}.connection-wizard-progress:before{content:"";position:absolute;inset-block-start:14px;inset-inline:12% 12%;height:1px;background:var(--border)}.connection-wizard-progress li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.connection-wizard-progress li span{width:29px;height:29px;border:1px solid var(--border);border-radius:50%;background:var(--surface);display:grid;place-items:center;font:700 9px var(--mono)}.connection-wizard-progress li.active{color:var(--blue)}.connection-wizard-progress li.active span{border-color:var(--blue);background:var(--blue);color:#fff}.connection-wizard-step>header{margin-bottom:15px}.connection-wizard-step>header h3{font-size:16px;letter-spacing:-.02em}.connection-wizard-step>header p{max-width:68ch;margin-top:5px;color:var(--text-2);font-size:14px;line-height:1.6}.connection-channel-choice,.connection-account-choice{border:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.connection-channel-choice label,.connection-account-choice label{min-height:76px;padding:11px;border:1px solid var(--border);border-radius:12px;background:var(--surface);display:flex;align-items:center;gap:9px;cursor:pointer;position:relative}.connection-channel-choice label:hover,.connection-account-choice label:hover{background:var(--surface-2);border-color:var(--border-strong)}.connection-channel-choice label.selected,.connection-account-choice label.selected{border-color:var(--blue);background:var(--blue-soft)}.connection-channel-choice input,.connection-account-choice input{position:absolute;opacity:0;pointer-events:none}.connection-channel-choice label:focus-within,.connection-account-choice label:focus-within{outline:2px solid var(--blue);outline-offset:2px}.connection-channel-choice label>.channel-icon{width:34px;height:34px}.connection-channel-choice label>span,.connection-account-choice label>span{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.connection-channel-choice strong,.connection-account-choice strong{font-size:14px}.connection-channel-choice small,.connection-account-choice small{color:var(--muted);font-size:11px;line-height:1.35}.connection-channel-choice label>svg,.connection-account-choice label>svg{color:transparent;flex:none}.connection-channel-choice label.selected>svg,.connection-account-choice label.selected>svg{color:var(--blue)}.connection-account-choice{grid-template-columns:1fr}.connection-account-choice label{min-height:62px}.connection-wizard-error{margin-bottom:14px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--red) 30%,var(--border));border-radius:8px;background:var(--red-soft);color:var(--red);display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.55}.connection-wizard-loading{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}.connection-wizard-loading svg{color:var(--blue)}.connection-wizard-loading .lucide-refresh-cw{animation:state-spin 1s linear infinite}.connection-wizard-loading strong{font-size:11px}.connection-qr-step,.connection-oauth-step,.connection-diagnostic-step{min-height:230px}.connection-live-qr{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:center;gap:24px;padding:16px;border-radius:12px;background:var(--surface-2)}.connection-live-qr>img,.connection-live-qr .connection-qr-placeholder{width:210px;height:210px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:8px;padding:8px}.connection-live-qr .connection-qr-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:10px;color:var(--text-2);box-sizing:border-box}.connection-live-qr .connection-qr-placeholder.is-loading svg{color:var(--blue);animation:state-spin 1s linear infinite}.connection-live-qr .connection-qr-placeholder.is-failed svg{color:var(--amber)}.connection-live-qr .connection-qr-placeholder .btn{min-height:32px;padding:4px 12px;font-size:12px}.connection-live-qr>div>p{max-width:52ch;margin:12px 0;color:var(--text-2);font-size:14px;line-height:1.6}.connection-live-qr>div>div,.connection-oauth-actions{display:flex;flex-wrap:wrap;gap:7px}.connection-credentials-form{display:grid;grid-template-columns:2fr 1fr;gap:11px}.connection-credentials-form label{display:flex;flex-direction:column;gap:6px;color:var(--text-2);font-size:12px;font-weight:650}.connection-credentials-form label.wide{grid-column:1/-1}.connection-credentials-form input{width:100%;height:44px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);padding-inline:10px;color:var(--text);font-size:11px;outline:0}.connection-credentials-form input:focus{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 18%,transparent)}.connection-secure-note{min-height:44px;display:flex;align-items:center;gap:7px;color:var(--green);font-size:12px}.connection-credentials-form>.btn{min-height:44px}.connection-oauth-step{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.connection-oauth-step>header{max-width:520px}.connection-provider-mark{width:54px;height:54px;margin-bottom:13px;border-radius:14px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.connection-oauth-actions{justify-content:center}.connection-oauth-actions .btn,.connection-live-qr .btn,.connection-diagnostic-step>.btn{min-height:44px}.connection-diagnostic-step{text-align:center;display:flex;flex-direction:column;align-items:center}.connection-diagnostic-icon{width:58px;height:58px;margin-bottom:13px;border-radius:50%;display:grid;place-items:center}.connection-diagnostic-icon.healthy{background:var(--green-soft);color:var(--green)}.connection-diagnostic-icon.attention{background:var(--amber-soft);color:var(--amber)}.connection-diagnostic-step>header{max-width:560px}.connection-diagnostic-step>.diagnostic-list{width:100%;text-align:start;margin:2px 0 15px}.connection-diagnostic-step>.btn{align-self:center}.connection-telegram-code{width:min(100%,420px);margin:0 0 16px;padding:12px 14px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-2);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;text-align:start}.connection-telegram-code span{overflow:hidden;text-overflow:ellipsis;color:var(--text-2);font-size:12px;white-space:nowrap}.connection-telegram-code strong{font:700 13px var(--mono);letter-spacing:.02em;color:var(--blue);-webkit-user-select:all;user-select:all}.connection-channel-choice label.unavailable{cursor:not-allowed;background:var(--surface-2);color:var(--muted);opacity:.72}.connection-channel-choice label.unavailable:hover{border-color:var(--border);background:var(--surface-2)}.connection-channel-choice label.unavailable>svg{color:var(--muted)}.chart-legend{display:flex;gap:9px;font-size:11px;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:3px}.bar-chart{height:230px;display:flex;align-items:flex-end;gap:10px;padding-top:20px;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to bottom,var(--border) 0 1px,transparent 1px 52px)}.bar-chart>div{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:2px;position:relative}.bar-chart i,.bar-chart b{width:37%;background:var(--blue);border-radius:3px 3px 0 0}.bar-chart b{background:var(--purple);opacity:.65}.bar-chart span{position:absolute;bottom:-17px;font:500 11px var(--mono);color:var(--muted)}.channel-report{margin-top:18px}.channel-report>div{display:grid;grid-template-columns:110px 1fr 30px;gap:7px;align-items:center;margin:11px 0;font-size:12px}.channel-report>div>div{height:6px;background:var(--surface-3);border-radius:5px}.channel-report i{display:block;height:100%;border-radius:5px;background:#94a3b8}.channel-report i.green{background:var(--green)}.channel-report i.purple{background:var(--purple)}.channel-report i.blue{background:var(--blue)}.channel-report i.amber{background:var(--amber)}.agent-quality{display:grid;grid-template-columns:24px 1fr 40px;gap:6px;align-items:center;border-top:1px solid var(--border);padding:8px 0}.agent-quality>span{display:flex;flex-direction:column}.agent-quality strong{font-size:12px}.agent-quality small{font-size:11px;color:var(--muted)}.agent-quality>b{font:600 12px var(--mono)}.ai-outcomes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:15px 0}.ai-outcomes>div{background:var(--surface-2);padding:11px 7px;border-radius:6px;display:flex;flex-direction:column}.ai-outcomes strong{font-size:15px}.ai-outcomes span{font-size:11px;color:var(--muted);margin-top:3px}.coverage-note{font-size:11px;color:var(--muted);display:flex;gap:4px;background:var(--blue-soft);padding:7px}.dev-callout .btn{margin-inline-start:auto}.delivery-card{margin-top:10px;overflow:hidden}.delivery-card>header{height:55px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.delivery-card h3{font-size:16px}.delivery-card header p{font-size:11px;color:var(--muted)}.delivery-row,.event-row{display:grid;grid-template-columns:28px minmax(160px,1fr) 100px 90px 60px 40px 24px;align-items:center;padding:8px 11px;border-bottom:1px solid var(--border);font-size:12px}.event-icon{width:26px;height:26px;border-radius:6px;background:var(--purple-soft);color:var(--purple);display:flex;align-items:center;justify-content:center}.delivery-row code,.event-row code{font:500 11px var(--mono);color:var(--muted)}.api-key-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:10px;margin-top:15px}.key-card{margin:0}.key-card>.card-title{padding:13px;border-bottom:1px solid var(--border)}.key-display{margin:13px;border:1px solid var(--border);background:var(--surface-2);padding:9px;display:flex;align-items:center;gap:8px;border-radius:5px}.key-display code{flex:1;font:500 12px var(--mono)}.key-display button{border:0;background:none}.scope-grid{display:flex;flex-wrap:wrap;gap:5px;padding:0 13px 13px}.key-card>footer{border-top:1px solid var(--border);padding:10px 13px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.security-guide{padding:16px}.security-guide>svg{color:var(--green)}.security-guide h3{font-size:16px;margin:10px 0 5px}.security-guide p{font-size:14px;color:var(--muted);line-height:1.6}.security-guide a{font-size:12px;color:var(--blue);display:flex;gap:3px;margin-top:10px}.api-docs{display:grid;grid-template-columns:190px 1fr;margin-top:15px;background:var(--surface);border:1px solid var(--border);border-radius:7px;min-height:520px}.api-docs aside{border-inline-end:1px solid var(--border);padding:10px}.api-docs aside button{width:100%;height:32px;border:0;background:none;text-align:start;font-size:12px;padding:0 8px;border-radius:4px}.api-docs aside button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.api-docs main{padding:25px;max-width:800px}.api-docs h2{font-size:20px;margin:9px 0}.api-docs p{font-size:14px;color:var(--text-2);line-height:1.6}.api-docs h3{font-size:16px;margin:22px 0 7px}.api-docs pre{background:#101827;color:#d9e4f2;border-radius:6px;padding:12px;font:500 12px/1.6 var(--mono);position:relative;overflow:auto}.api-docs pre button{position:absolute;top:6px;right:6px;background:#253047;border:0;color:#fff;width:26px;height:26px;border-radius:4px}.event-ledger{margin-top:15px;background:var(--surface);border:1px solid var(--border);border-radius:7px}.event-row{grid-template-columns:35px minmax(180px,1fr) 150px 70px 45px 25px}.event-row>div{display:flex;flex-direction:column}.settings-layout{display:grid;grid-template-columns:220px minmax(0,760px);gap:18px;margin-top:16px;align-items:start}.settings-layout>aside{background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:7px}.settings-layout>aside button{width:100%;height:36px;border:0;background:none;border-radius:5px;padding:0 8px;display:flex;justify-content:space-between;align-items:center;text-align:start;font-size:12px}.settings-layout>aside button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}.settings-layout>main{display:flex;flex-direction:column;gap:10px}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:7px}.settings-section>header{padding:12px 14px;border-bottom:1px solid var(--border)}.settings-section h3{font-size:16px}.settings-section header p{font-size:14px;color:var(--muted);margin-top:3px}.settings-section>div{padding:14px}.identity-form{display:flex;align-items:flex-start;gap:14px}.identity-form .form-grid{flex:1}.hours-list>div{min-height:38px;display:grid;grid-template-columns:35px 85px 65px 15px 65px;align-items:center;border-bottom:1px solid var(--border);font-size:12px}.hours-list input{height:32px}.settings-save{display:flex;align-items:center;justify-content:flex-end;gap:10px}.settings-save span{font-size:11px;color:var(--muted)}.team-list>div{height:52px;display:grid;grid-template-columns:35px minmax(180px,1fr) 110px 60px 32px;gap:6px;align-items:center;border-bottom:1px solid var(--border)}.team-list>div>span{display:flex;flex-direction:column}.team-list strong{font-size:12px}.team-list small{font-size:11px;color:var(--muted)}.security-setting,.session-row{display:flex;align-items:center;gap:9px}.security-setting>div:nth-child(2),.session-row>div{display:flex;flex-direction:column;flex:1}.security-setting strong,.session-row strong{font-size:12px}.security-setting p,.session-row span{font-size:11px;color:var(--muted)}.session-row+.session-row{border-top:1px solid var(--border);padding-top:10px;margin-top:10px}.plan-card{display:flex;align-items:center;justify-content:space-between}.plan-card h2{font-size:20px;margin:8px 0}.plan-card h2 small{font-size:11px;color:var(--muted)}.plan-card p{font-size:14px;color:var(--muted)}.usage-row{margin-bottom:13px}.usage-row>div:first-child{display:flex;justify-content:space-between;font-size:12px}.usage-row>div:first-child span{color:var(--muted)}.usage-row>div:last-child{height:5px;background:var(--surface-3);margin-top:5px}.usage-row i{display:block;height:100%;background:var(--blue)}.privacy-case{display:flex;align-items:center;gap:8px}.privacy-case>div:nth-child(2){display:flex;flex-direction:column;flex:1}.privacy-case strong{font-size:12px}.privacy-case small{font-size:11px;color:var(--muted)}.notification-pref{min-height:42px;display:grid;grid-template-columns:1fr 110px 80px;align-items:center;border-bottom:1px solid var(--border);font-size:12px}.notification-pref label{display:flex;gap:4px}.platform-banner{background:var(--purple-soft);border-color:#d8cfff;color:var(--purple)}.platform-banner>.badge{margin-inline-start:auto}.platform-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-top:10px}.readiness-card,.services-card,.backup-card,.incident-card{padding:13px}.readiness-card>header,.services-card>header,.backup-card>header,.incident-card>header{display:flex;align-items:center;justify-content:space-between}.readiness-card h3,.services-card h3,.backup-card h3,.incident-card h3{font-size:16px}.readiness-card header p,.backup-card header p,.incident-card header p{font-size:11px;color:var(--muted)}.readiness-states{margin-top:11px}.readiness-states>div{display:grid;grid-template-columns:30px 1fr 50px;align-items:center;border-top:1px solid var(--border);padding:8px 0}.readiness-states>div>span{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center}.readiness-states .complete{background:var(--green-soft);color:var(--green)}.readiness-states .warning{background:var(--amber-soft);color:var(--amber)}.readiness-states>div>div{display:flex;flex-direction:column}.readiness-states strong{font-size:12px}.readiness-states small{font-size:11px;color:var(--muted)}.readiness-states b{font:600 11px var(--mono)}.readiness-footer{font-size:11px;color:var(--amber);background:var(--amber-soft);padding:7px;display:flex;gap:5px}.services-card>header button{border:0;background:none;color:var(--blue);font-size:12px}.services-card>div{min-height:36px;display:grid;grid-template-columns:1fr 65px 45px;align-items:center;border-top:1px solid var(--border);font-size:12px}.services-card>div>span{display:flex;align-items:center;gap:6px}.services-card i{width:6px;height:6px;border-radius:50%;background:var(--green)}.services-card i.degraded{background:var(--amber)}.services-card code{font:500 11px var(--mono);color:var(--muted)}.backup-visual{display:flex;gap:9px;background:var(--green-soft);padding:10px;margin:12px 0;border-radius:6px}.backup-icon{width:36px;height:36px;background:#fff;color:var(--green);display:flex;align-items:center;justify-content:center;border-radius:8px}.backup-visual strong{font-size:12px}.backup-visual p{font-size:11px;color:var(--muted);margin-top:3px}.incident-card h4{font-size:16px;margin:15px 0 4px}.incident-card>p{font-size:14px;color:var(--muted);line-height:1.5}.incident-progress{height:5px;background:var(--surface-3);margin:12px 0}.incident-progress i{display:block;height:100%;background:var(--amber)}.incident-card footer{display:flex;align-items:center;justify-content:space-between}.incident-card footer span{font-size:11px;color:var(--muted)}.connection-card-actions{display:flex;align-items:center;gap:6px}.connection-card-actions .icon-btn.danger{width:30px;height:30px;color:var(--muted)}.connection-card-actions .icon-btn.danger:hover,.connection-card-actions .icon-btn.danger:focus-visible{background:var(--red-soft);color:var(--red)}.connection-delete-confirm{display:flex;align-items:flex-start;gap:13px}.connection-delete-confirm>svg{flex:none;color:var(--red)}.connection-delete-confirm h3{margin-bottom:5px;font-size:16px}.connection-delete-confirm p{max-width:62ch;color:var(--text-2);font-size:14px;line-height:1.65;overflow-wrap:anywhere}.connection-readiness{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}.connection-readiness>header{display:flex;align-items:center;gap:6px;color:var(--text);font-size:12px}.connection-readiness>header>svg{color:var(--blue)}.connection-readiness-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:10px}.connection-readiness-lane{display:flex;align-items:flex-start;gap:6px;min-width:0;color:var(--muted)}.connection-readiness-lane>svg{width:15px;height:15px;flex:none;margin-top:1px}.connection-readiness-lane.is-connected>svg,.connection-readiness-lane.is-configured>svg,.connection-readiness-lane.is-verified>svg,.connection-readiness-lane.is-healthy>svg,.connection-readiness-lane.is-ready>svg{color:var(--green)}.connection-readiness-lane.is-degraded>svg,.connection-readiness-lane.is-action_required>svg,.connection-readiness-lane.is-stale>svg,.connection-readiness-lane.is-unavailable>svg{color:var(--amber)}.connection-readiness-lane>div{display:grid;gap:1px;min-width:0}.connection-readiness-lane span{color:var(--text-2);font-size:12px}.connection-readiness-lane strong{color:var(--text);font-size:12px}.connection-readiness-lane time,.connection-readiness-lane small{color:var(--muted);font-size:11px;line-height:1.45}.connection-readiness-action{display:flex;align-items:center;gap:3px;color:var(--blue)!important}.connection-readiness-error{display:flex;align-items:flex-start;gap:8px;color:var(--amber)}.connection-readiness-error>div{display:grid;gap:4px}.connection-readiness-error strong{color:var(--text);font-size:12px}.connection-readiness-error small{color:var(--muted);font-size:11px}.connection-readiness-error button{justify-self:start;min-height:32px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--blue);font-size:12px;padding:4px 8px}.facebook-history-coverage{margin:7px 0 0;color:var(--amber);font-size:11px;line-height:1.5}.facebook-history-progress{margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}.facebook-history-progress>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.facebook-history-progress>header h3{margin:0;font-size:16px}.facebook-history-progress>header span{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.facebook-history-progress>header strong{color:var(--text-2);font-size:12px;font-weight:650}.facebook-history-progress-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}.facebook-history-progress-counts span{display:grid;gap:1px;color:var(--muted);font-size:11px}.facebook-history-progress-counts b{color:var(--text);font:700 12px var(--mono)}.facebook-history-total{margin:8px 0 0;color:var(--text-2);font-size:11px;line-height:1.45}.facebook-history-progress footer{display:grid;gap:4px;margin-top:8px;color:var(--muted);font-size:11px;line-height:1.45}.facebook-history-notes{display:grid;gap:3px;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.5}.facebook-history-progress footer button{justify-self:start;min-height:32px;margin-top:4px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--blue);font-size:12px;padding:4px 8px}.facebook-history-diagnostic{display:grid;gap:3px;margin-top:6px}.connection-history-stale{margin:10px 0 0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--amber) 35%,var(--border));border-radius:6px;background:var(--amber-soft);color:var(--text-2);font-size:11px;line-height:1.5;display:flex;align-items:center;justify-content:space-between;gap:8px}.connection-history-stale button{min-height:32px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--blue);font-size:12px;padding:4px 8px}@media(max-width:560px){.connection-readiness-lanes{grid-template-columns:1fr}}.command-backdrop{align-items:flex-start;padding-top:11vh}.command-modal{width:min(620px,90vw);min-height:0;max-height:min(84vh,100%);background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 30px 90px #00000047;display:flex;flex-direction:column;overflow:hidden;direction:inherit}.command-search{height:53px;display:flex;align-items:center;gap:9px;padding:0 13px;border-bottom:1px solid var(--border)}.command-search input{flex:1;border:0;background:none;outline:0;font-size:12px}.command-results{padding:5px;flex:1 1 auto;min-height:0;max-height:460px;overflow:auto}.command-results>button{width:100%;height:48px;border:0;background:transparent;border-radius:6px;display:flex;align-items:center;gap:9px;text-align:start;padding:0 9px}.command-results>button:hover{background:var(--blue-soft)}.command-result-icon{width:30px;height:30px;border-radius:6px;background:var(--surface-3);display:flex;align-items:center;justify-content:center;color:var(--text-2)}.command-results>button>span:nth-child(2){display:flex;flex-direction:column;flex:1}.command-results strong{font-size:14px}.command-results small{font-size:11px;color:var(--muted)}.command-modal>footer{min-height:34px;background:var(--surface-2);border-top:1px solid var(--border);display:flex;gap:15px;align-items:center;padding:0 10px;font-size:11px;color:var(--muted)}.command-modal footer kbd{border:1px solid var(--border);background:var(--surface);padding:2px 4px;border-radius:3px;font:600 11px var(--mono)}.public-site{min-height:100%;overflow:auto;background:#fbfcff;color:#111827;font-family:var(--font-ar)}.public-site>nav{height:68px;max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.public-navlinks{display:flex;gap:28px}.public-navlinks a{font-size:12px;color:#475569}.public-site>nav>div:last-child{display:flex;align-items:center;gap:6px}.hero{max-width:1200px;min-height:610px;margin:auto;padding:65px 24px 45px;display:grid;grid-template-columns:1fr 1.05fr;gap:65px;align-items:center;overflow:hidden}.hero-copy h1{font-size:51px;line-height:1.18;letter-spacing:-.045em;margin:16px 0 18px}.hero-copy h1 em{color:var(--blue);font-style:normal}.hero-copy>p{font-size:15px;line-height:1.9;color:#536174;max-width:560px}.hero-actions{display:flex;gap:8px;margin-top:25px}.hero-actions .btn{height:43px;padding:0 17px;font-size:12px}.hero-trust{display:flex;gap:17px;margin-top:16px}.hero-trust span{font-size:11px;color:#64748b;display:flex;align-items:center;gap:4px}.hero-trust svg{color:var(--green)}.hero-product{position:relative;perspective:1000px}.hero-window{height:420px;background:#fff;border:1px solid #dbe3ee;border-radius:12px;box-shadow:0 30px 80px #1e40af2b;overflow:hidden;transform:rotateY(-3deg) rotateX(1deg);display:grid;grid-template-columns:50px 1fr;grid-template-rows:38px 1fr;direction:ltr}.hero-window>header{grid-column:1/-1;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:6px;padding:0 9px}.mini-brand{width:20px;height:20px;background:var(--blue);color:#fff;border-radius:5px;display:flex;align-items:center;justify-content:center;font-weight:800}.hero-window>header div{flex:1;height:19px;background:#f3f4f6;border-radius:4px}.hero-window>header i{width:18px;height:18px;border-radius:50%;background:#e5e7eb}.hero-window>aside{border-right:1px solid #e5e7eb;padding:9px;display:flex;flex-direction:column;gap:9px}.hero-window>aside span{width:30px;height:30px;border-radius:6px;background:#f3f4f6}.hero-window>aside span.active{background:#e7efff}.hero-window>section{display:grid;grid-template-columns:35% 1fr 26%;min-width:0}.mock-list{border-right:1px solid #e5e7eb}.mock-list>div{height:60px;border-bottom:1px solid #eef0f3;padding:10px;display:flex;gap:6px}.mock-list>div.active{background:#eff6ff}.mock-list>div>span{width:23px;height:23px;border-radius:50%;background:#dce3ed}.mock-list p{flex:1}.mock-list b,.mock-list i{display:block;height:6px;background:#cbd5e1;border-radius:4px;margin-bottom:7px}.mock-list i{width:70%;background:#e5e7eb}.mock-chat{padding:10px;position:relative;background:#fafbfc}.mock-head{height:30px;background:#fff;border-bottom:1px solid #e5e7eb;margin:-10px -10px 25px}.mock-bubble{height:35px;width:65%;border-radius:7px;background:#fff;border:1px solid #e5e7eb;margin-bottom:16px}.mock-bubble.system{height:17px;width:75%;margin:auto;background:#f3f4f6}.mock-bubble.agent{margin-left:auto;background:#0052ff;border-color:#0052ff}.mock-composer{height:52px;position:absolute;bottom:10px;left:10px;right:10px;border:1px solid #dbe1e8;background:#fff;border-radius:6px}.mock-inspector{border-left:1px solid #e5e7eb;padding:17px;text-align:center}.mock-inspector span{display:block;width:44px;height:44px;border-radius:50%;background:#dce3ed;margin:auto}.mock-inspector b,.mock-inspector i{display:block;height:6px;background:#d8dee7;margin:9px auto;width:65%;border-radius:4px}.mock-inspector i{width:85%;background:#eef0f3}.mock-inspector hr{border:0;border-top:1px solid #e5e7eb;margin:18px 0}.hero-float{position:absolute;background:#fff;border:1px solid #dbe3ee;border-radius:8px;padding:9px 11px;box-shadow:0 15px 35px #1e293b21;display:flex;align-items:center;gap:8px}.hero-float div{display:flex;flex-direction:column}.hero-float strong{font-size:12px}.hero-float small{font-size:11px;color:#64748b}.hf1{bottom:-13px;left:-25px}.hf2{top:-20px;right:-20px}.channel-strip{border-top:1px solid #e9edf3;border-bottom:1px solid #e9edf3;padding:28px 24px;text-align:center}.channel-strip p{font-size:12px;color:#64748b;margin-bottom:18px}.channel-strip>div{max-width:920px;margin:auto;display:flex;justify-content:space-between}.channel-strip span{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#475569}.public-features{max-width:1120px;margin:auto;padding:85px 24px;text-align:center}.public-features h2{font-size:34px;margin:9px}.public-features>p{font-size:13px;color:#64748b}.public-features>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:36px;text-align:start}.public-features article{border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:20px}.public-features article>span{width:39px;height:39px;background:#eff6ff;color:var(--blue);border-radius:9px;display:flex;align-items:center;justify-content:center}.public-features h3{font-size:14px;margin:15px 0 5px}.public-features article p{font-size:14px;color:#64748b;line-height:1.6}.public-features article a{font-size:12px;color:var(--blue);display:flex;align-items:center;gap:4px;margin-top:14px}.public-footer{height:80px;border-top:1px solid #e5e7eb;max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.public-footer>span,.public-footer a{font-size:11px;color:#64748b}.public-footer>div:last-child{display:flex;gap:15px}.auth-page{height:100%;background:#f8fafc;position:relative;display:flex;align-items:center;justify-content:flex-start;padding-inline-start:15%;overflow:hidden;color:#111827}.auth-brand{position:absolute;top:25px;inset-inline-start:35px;display:flex;align-items:center;gap:8px;font-size:20px}.auth-card{width:390px;z-index:2}.auth-heading h1{font-size:28px;margin:8px 0}.auth-heading p{font-size:14px;color:#64748b;margin-bottom:22px}.oidc-button{width:100%;height:42px;border:1px solid #d1d5db;background:#fff;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:600}.oidc-button span{color:#4285f4;font-weight:800}.or{display:flex;align-items:center;gap:9px;margin:15px 0;color:#94a3b8;font-size:11px}.or:before,.or:after{content:"";height:1px;background:#e2e8f0;flex:1}.auth-card>label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;margin-bottom:11px}.auth-card input{height:40px;border:1px solid #d1d5db;background:#fff;border-radius:6px;padding:0 10px;outline:0}.password-field{position:relative}.password-field input{width:100%}.password-field svg{position:absolute;top:12px;inset-inline-end:11px;color:#94a3b8}.auth-options{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:16px}.auth-options label{display:flex;gap:4px;align-items:center}.auth-options button,.auth-footer button{border:0;background:none;color:var(--blue);font-size:12px}.auth-submit{height:42px}.auth-footer{text-align:center;font-size:12px;color:#64748b;margin-top:17px}.auth-lang{position:absolute;top:28px;inset-inline-end:35px;border:0;background:none;display:flex;align-items:center;gap:5px}.auth-art{position:absolute;inset-inline-end:-4%;width:50%;height:110%;top:-5%;background:linear-gradient(145deg,#0d2f73,#0052ff 65%,#4d83ff);border-radius:50% 0 0 50%;display:flex;align-items:center;justify-content:center}.auth-orb{width:210px;height:210px;border-radius:50%;border:1px solid rgba(255,255,255,.24);box-shadow:0 0 0 45px #ffffff0f,0 0 0 90px #ffffff0a;display:flex;align-items:center;justify-content:center}.auth-orb .brand-mark{width:72px;height:72px;border-radius:18px;background:#fff;color:var(--blue);font-size:40px}.floating-panel{position:absolute;background:#fff;border-radius:9px;padding:10px 13px;box-shadow:0 18px 50px #0003;display:flex;gap:8px;align-items:center}.floating-panel>span{width:30px;height:30px;background:#eff6ff;color:var(--blue);border-radius:7px;display:flex;align-items:center;justify-content:center}.floating-panel div{display:flex;flex-direction:column}.floating-panel b{font-size:12px}.floating-panel small{font-size:11px;color:#64748b}.p1{top:24%;left:9%}.p2{bottom:24%;right:7%}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(max-width:1250px){.inbox-page{grid-template-columns:290px minmax(420px,1fr)}.inbox-page>.inspector{display:none}.split-workspace{grid-template-columns:270px minmax(430px,1fr)}.comment-inspector{display:none}.connection-grid{grid-template-columns:repeat(2,1fr)}.campaign-card{grid-template-columns:36px minmax(220px,1fr) 200px 110px}.profile-button>span,.status-pill span{display:none}.command-trigger{width:300px}.model-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1000px){:root{--sidebar:225px}.workspace-switch>span:nth-child(2){display:none}.command-trigger{width:250px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.booking-layout,.policy-dashboard,.automation-layout,.tasks-layout,.platform-grid{grid-template-columns:1fr}.availability-panel,.automation-insights,.task-focus{order:-1}.kanban{grid-template-columns:repeat(5,210px)}.campaign-card{grid-template-columns:36px 1fr 150px}.campaign-actions{grid-column:2/-1}.editor-grid{grid-template-columns:1fr}.editor-grid>aside{display:none}.email-workspace{grid-template-columns:160px 260px minmax(400px,1fr)}.settings-layout{grid-template-columns:190px 1fr}.auth-page{padding-inline-start:8%}.auth-art{width:45%;opacity:.9}}@media(max-width:780px){body{overflow:auto}.app-shell{display:block;height:auto;min-height:100%;width:100%;max-width:100%;overflow-x:clip}.global-header{position:sticky;top:0}.global-header .header-divider,.workspace-wrap,.command-trigger,.profile-button>span,.status-pill{display:none}.mobile-menu{display:flex}.sidebar{position:fixed;top:var(--header);bottom:0;inset-inline-start:0;width:260px;transform:translate(-105%);transition:.2s;box-shadow:var(--shadow)}[dir=rtl] .sidebar{transform:translate(105%)}.app-shell .sidebar.open{transform:none!important}.sidebar-scrim{display:block;position:fixed;inset:var(--header) 0 0;background:#00000059;border:0;z-index:29}.app-content{height:calc(100vh - var(--header));overflow:auto}.inbox-page{height:100%;grid-template-columns:minmax(260px,42%) 1fr}.conversation-actions .presence,.conversation-actions>.icon-btn{display:none}.split-workspace{grid-template-columns:minmax(230px,38%) 1fr}.email-workspace{grid-template-columns:230px 1fr}.email-folders{display:none}.page-header{align-items:flex-start;flex-direction:column}.page-actions{width:100%;overflow:auto}.stats-grid{grid-template-columns:1fr 1fr}.standard-page>.stats-grid,.standard-page>.dashboard-grid,.standard-page>.data-card,.standard-page>.pipeline-summary,.standard-page>.kanban,.standard-page>.booking-datebar,.standard-page>.booking-layout,.standard-page>.notice-bar,.standard-page>.connection-summary,.standard-page>.connection-grid,.standard-page>.campaign-list,.standard-page>.policy-grid,.standard-page>.automation-layout,.standard-page>.danger-banner,.standard-page>.knowledge-hero,.standard-page>.model-grid,.standard-page>.memory-review,.standard-page>.dev-callout,.standard-page>.delivery-card,.standard-page>.api-key-layout,.standard-page>.api-docs,.standard-page>.event-ledger,.standard-page>.settings-layout,.standard-page>.platform-grid,.standard-page>.platform-banner,.standard-page>.tasks-layout,.standard-page>.template-workspace{margin-left:10px;margin-right:10px}.booking-datebar .branch-pills{overflow:auto}.booking-row{grid-template-columns:50px 15px 1fr 65px}.booking-actions{display:none}.campaign-card{grid-template-columns:34px 1fr}.campaign-metrics{grid-column:2}.policy-grid,.connection-grid,.model-grid,.api-key-layout,.knowledge-hero{grid-template-columns:1fr}.template-workspace{grid-template-columns:230px 1fr}.settings-layout{grid-template-columns:1fr}.settings-layout>aside{display:flex;overflow:auto}.settings-layout>aside button{min-width:150px}.hero{grid-template-columns:1fr;padding-top:45px;text-align:center}.hero-copy>p{margin:auto}.hero-actions,.hero-trust{justify-content:center}.hero-product{display:none}.public-features>div{grid-template-columns:repeat(2,1fr)}.public-navlinks{display:none}.auth-page{justify-content:center;padding:30px}.auth-art{display:none}.auth-card{width:min(390px,100%)}}@media(max-width:560px){.header-actions .lang-btn{display:flex}.global-header .brand-name{display:none}.inbox-page{display:block;height:auto}.queue-pane{height:45vh;border-bottom:1px solid var(--border)}.conversation-canvas{height:calc(100vh - var(--header));min-height:560px}.queue-footer{display:none}.split-workspace{display:block}.record-list{height:38vh}.comment-canvas{min-height:calc(100vh - var(--header))}.email-workspace{display:block}.email-list{height:35vh}.email-canvas{min-height:600px}.stats-grid{grid-template-columns:1fr}.pipeline-summary{overflow:auto;gap:20px}.dashboard-grid{grid-template-columns:1fr}.chart-card.wide{overflow:hidden}.table-search{min-width:140px}.module-toolbar{align-items:flex-start;flex-direction:column}.module-toolbar>div{width:100%;overflow:auto}.page-header{padding:12px}.page-header h1{font-size:20px}.booking-row{grid-template-columns:45px 12px 1fr}.booking-row>.badge{display:none}.booking-main>div:last-child{display:none}.campaign-metrics,.campaign-actions{grid-column:1/-1}.policy-grid{grid-template-columns:1fr}.automation-card{grid-template-columns:32px 1fr 32px}.automation-card>.icon-btn{display:none}.template-workspace{display:block;height:auto}.template-library{max-height:300px}.template-editor{min-height:550px}.policy-route{grid-template-columns:1fr 90px 20px}.policy-route>span:nth-of-type(2),.policy-route>.badge{display:none}.memory-review article{grid-template-columns:30px 1fr 50px}.memory-review article>div:last-child{grid-column:1/-1}.connection-summary{overflow:auto}.connection-summary>div{min-width:max-content}.delivery-row,.event-row{grid-template-columns:28px 1fr 70px}.delivery-row>*:nth-child(3),.delivery-row>*:nth-child(5),.delivery-row>*:nth-child(6),.event-row>*:nth-child(3),.event-row>*:nth-child(4),.event-row>*:nth-child(5){display:none}.api-docs{grid-template-columns:1fr}.api-docs aside{display:none}.team-list>div{grid-template-columns:35px 1fr 30px}.team-list .badge{display:none}.identity-form{flex-direction:column}.notification-pref{grid-template-columns:1fr 80px 60px}.public-site>nav{padding:0 15px}.public-site>nav .lang-btn{display:none}.hero{min-height:560px;padding-left:15px;padding-right:15px}.hero-copy h1{font-size:37px}.hero-copy>p{font-size:13px}.hero-trust{flex-wrap:wrap}.channel-strip>div{display:grid;grid-template-columns:1fr 1fr}.public-features{padding:55px 15px}.public-features h2{font-size:28px}.public-features>div{grid-template-columns:1fr}.public-footer{flex-wrap:wrap}.modal-backdrop{padding:8px}.connection-modal-head{grid-template-columns:1fr}.qr-placeholder{margin:auto}.toast-stack{left:10px;right:10px}.toast{min-width:0}.command-modal{width:96vw}}@media(max-width:780px){.connection-channel-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.connection-live-qr{grid-template-columns:160px minmax(0,1fr)}.connection-live-qr>img,.connection-live-qr .connection-qr-placeholder{width:160px;height:160px}}@media(max-width:560px){.connection-wizard-progress{margin-bottom:18px}.connection-channel-choice{grid-template-columns:1fr}.connection-channel-choice label{min-height:68px}.connection-live-qr{grid-template-columns:1fr;text-align:center}.connection-live-qr>img,.connection-live-qr .connection-qr-placeholder{margin:auto}.connection-live-qr>div>div{justify-content:center}.connection-credentials-form{grid-template-columns:1fr}.connection-credentials-form label.wide{grid-column:auto}.connection-secure-note{grid-column:1}.connection-credentials-form>.btn{width:100%}}.header-actions .status-pill{white-space:nowrap}.status-pill.degraded{background:var(--amber-soft);color:var(--amber)}.status-pill.degraded i{background:var(--amber)}.prototype-note.degraded{color:var(--amber)}.degraded-banner{min-height:34px;padding:7px 14px;background:var(--amber-soft);border-bottom:1px solid color-mix(in srgb,var(--amber) 22%,var(--border));color:var(--amber);display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600}.system-state-page{min-height:100%;background:var(--bg);display:grid;place-items:center;padding:24px;color:var(--text)}.system-state-card{width:min(430px,100%);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:30px;text-align:center;box-shadow:var(--shadow)}.system-state-icon{width:48px;height:48px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--red-soft);color:var(--red)}.system-state-icon.loading{background:var(--blue-soft);color:var(--blue)}.system-state-icon.loading svg{animation:state-spin 1s linear infinite}.system-state-card h1{font-size:20px;letter-spacing:-.02em;margin-bottom:7px}.system-state-card p{font-size:14px;line-height:1.6;color:var(--text-2);max-width:360px;margin:auto}.system-state-actions{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:18px}.api-auth-card .auth-submit{text-decoration:none}.api-login-form{display:grid;gap:7px}.api-login-form label{margin-top:4px;font-size:12px;font-weight:650}.api-login-form input{width:100%;height:42px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);padding-inline:10px}.api-login-form .auth-submit{margin-top:7px}.auth-error{padding:9px 10px;border:1px solid color-mix(in srgb,var(--red) 28%,var(--border));border-radius:6px;background:var(--red-soft);color:var(--red);font-size:12px;line-height:1.5}.auth-page .api-login-form input{background:#fff;border-color:#d1d5db;color:#111827;caret-color:#111827;color-scheme:light}.auth-page .api-login-form input::placeholder{color:#64748b;opacity:1}.auth-page .api-login-form input:-webkit-autofill{-webkit-text-fill-color:#111827;caret-color:#111827;box-shadow:0 0 0 100px #fff inset}.auth-page .auth-error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}[data-theme=dark] .auth-page .fahm-logo{filter:none}.queue-sync-state{min-height:25px;padding:6px 9px;border-bottom:1px solid var(--border);background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:600}.queue-sync-state.error{background:var(--red-soft);color:var(--red)}.inbox-pane-state{flex:1;min-height:260px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:var(--muted)}.inbox-pane-state>svg{color:var(--blue)}.inbox-pane-state>strong{color:var(--text);font-size:11px}.inbox-pane-state>span{max-width:280px;font-size:14px;line-height:1.5}.inbox-pane-state.error>svg{color:var(--red)}.inbox-pane-state .btn{margin-top:5px}.inbox-command-notice{min-height:36px;padding:6px 9px;border-bottom:1px solid var(--border);background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.inbox-command-notice.alert{background:var(--amber-soft);color:var(--amber)}.inbox-command-notice>span{flex:1;min-width:0}.inbox-command-notice .btn{height:32px;color:inherit;border-color:currentColor;background:transparent}.delivery-check{color:var(--text-2)}.delivery-check.sending{color:var(--blue)}.delivery-check.failed{color:var(--red);font-weight:700}.message-row.delivery-failed .message-bubble{border-color:color-mix(in srgb,var(--red) 30%,var(--border))}.message-retry{border:0;background:transparent;color:var(--red);display:inline-flex;align-items:center;gap:3px;padding:0;font-size:11px;font-weight:700}.attachment-card:disabled{cursor:not-allowed;opacity:.82}.attachment-card strong{color:var(--text)}.attachment-card.scan-pending small b,.attachment-card.scan-error small b{color:var(--amber)}.attachment-card.scan-clean small b{color:var(--green)}.attachment-card.scan-blocked{background:var(--red-soft);border-color:color-mix(in srgb,var(--red) 24%,var(--border))}.attachment-card.scan-blocked small b,.attachment-card.scan-blocked>svg{color:var(--red)}@keyframes state-spin{to{transform:rotate(360deg)}}@media(max-width:780px){.app-shell[dir=rtl],.app-shell[dir=ltr]{display:block}.app-shell[dir=rtl] .sidebar,.app-shell[dir=ltr] .sidebar{border:0}.inbox-command-notice{flex-wrap:wrap}.inbox-command-notice>span{flex-basis:calc(100% - 48px)}}.queue-administration{margin:18px 0;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.queue-administration>header{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.queue-administration>header h3{margin:0 0 4px}.queue-administration>header p{margin:0;color:var(--text-2)}.queue-administration-row{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(210px,280px) auto;align-items:end;gap:14px;padding:14px 0;border-top:1px solid var(--border)}.queue-administration-row>div,.queue-administration-row label{display:grid;gap:4px}.queue-administration-row small{color:var(--text-2)}@media(max-width:760px){.queue-administration-row{grid-template-columns:1fr}.queue-administration-row label{width:100%}}.retention-administration{margin:18px 0;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.retention-administration>header{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.retention-administration>header h3{margin:0 0 4px}.retention-administration>header p{margin:0;color:var(--text-2);max-width:70ch}.retention-policy-row{display:grid;gap:12px;padding:16px 0;border-top:1px solid var(--border)}.retention-policy-summary>div{display:flex;align-items:center;gap:8px}.retention-policy-summary small,.retention-rule-list small{display:block;color:var(--text-2)}.retention-badge{font-size:.75rem;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary)}.retention-policy-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px}.retention-policy-actions label{display:grid;gap:4px}.retention-recovery,.retention-preview{display:grid;gap:3px;padding:12px;border-radius:8px;background:color-mix(in srgb,var(--warning) 11%,var(--surface));color:var(--text-1)}.retention-recovery code,.retention-preview code{font-size:.72rem;overflow-wrap:anywhere}.retention-preview.is-ready{background:color-mix(in srgb,var(--success) 10%,var(--surface))}.retention-rule-list{display:flex;flex-wrap:wrap;gap:12px}.retention-rule-list>span{min-width:180px}@media(max-width:760px){.retention-policy-actions{align-items:stretch;flex-direction:column}.retention-policy-actions label,.retention-policy-actions select{width:100%}}.pipeline-administration{margin:18px 0;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.pipeline-administration header p{color:var(--text-2)}.pipeline-administration article{border-top:1px solid var(--border);padding-top:14px}.pipeline-administration article>div{display:flex;gap:10px;align-items:center}.pipeline-administration ol{display:grid;gap:8px;padding-inline-start:22px}.pipeline-administration li{display:flex;align-items:end;justify-content:space-between;gap:12px}.pipeline-administration li>span,.pipeline-administration label{display:grid;gap:3px}.pipeline-administration small{color:var(--text-2)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.system-state-icon.loading:after{content:"…";font-weight:800}.system-state-icon.loading svg{display:none}}.skip-link{position:fixed;z-index:500;inset-block-start:8px;inset-inline-start:8px;min-height:44px;padding:0 14px;border-radius:6px;background:var(--text);color:var(--surface);display:inline-flex;align-items:center;transform:translateY(-160%)}.skip-link:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.unavailable-route .system-state-card{margin:28px auto;box-shadow:none}.command-results [aria-selected=true]{background:var(--blue-soft);color:var(--blue)}.composer-toolbar button{min-width:24px}[data-theme=dark] .nav-item.active,[data-theme=dark] .nav-item.active .nav-index,[data-theme=dark] .queue-tabs button.active,[data-theme=dark] .composer-toolbar button.active,[data-theme=dark] .inspector-tabs button.active,[data-theme=dark] .inspector-section>header button,[data-theme=dark] .priority-row button.selected,[data-theme=dark] .badge-blue{color:#7aa2ff}.mobile-inspector-trigger,.inspector-close,.inspector-scrim{display:none}@media(max-width:1250px){.conversation-actions>.mobile-inspector-trigger{display:inline-flex}.inbox-page>.inspector{display:flex;position:fixed;z-index:90;inset-block:var(--header) 0;inset-inline-end:0;width:min(360px,92vw);transform:translate(110%);box-shadow:var(--shadow);transition:transform .2s ease}[dir=rtl] .inbox-page>.inspector{transform:translate(-110%)}.inbox-page>.inspector.mobile-open{transform:none}.inspector-close{display:inline-flex;position:absolute;z-index:2;inset-block-start:5px;inset-inline-end:5px}.inspector-tabs{padding-inline-end:50px}.inspector-scrim{display:block;position:fixed;z-index:89;inset:var(--header) 0 0;width:auto;height:auto;border:0;background:#0000006b}}.surface-state{min-height:calc(100% - 1px);padding:clamp(28px,8vw,88px) clamp(18px,7vw,80px);display:grid;grid-template-columns:auto minmax(0,620px) auto;align-content:center;justify-content:center;align-items:start;gap:14px;background:var(--surface-2);overflow:hidden}.surface-state-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--blue-soft);color:var(--blue)}.surface-state-permission-denied .surface-state-icon,.surface-state-provider-disabled .surface-state-icon,.surface-state-validation .surface-state-icon,.surface-state-retry .surface-state-icon{background:var(--amber-soft);color:var(--amber)}.surface-state h1{margin:1px 0 7px;font-size:20px}.surface-state p{max-width:65ch;color:var(--text-2);font-size:14px;line-height:1.65}.surface-state ul{margin-block-start:12px;padding-inline-start:18px;color:var(--text-2);font-size:14px}.surface-state .btn{align-self:center;white-space:nowrap}.surface-page{min-width:0;overflow-x:hidden}.surface-page .page-header{border-bottom:1px solid var(--border)}.surface-metrics{margin:16px}.surface-record-list{margin:16px;overflow:hidden}.surface-record{min-width:0;padding:13px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px;border-bottom:1px solid var(--border)}.surface-record:last-child{border-bottom:0}.surface-record-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:var(--blue-soft);color:var(--blue)}.surface-record h2{font-size:16px;overflow-wrap:anywhere}.surface-record p{margin-block-start:4px;color:var(--text-2);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.surface-record dl{margin-block-start:9px;display:flex;flex-wrap:wrap;gap:7px 18px}.surface-record dl>div{min-width:min(150px,100%)}.surface-record dt{color:var(--muted);font-size:12px}.surface-record dd{margin:2px 0 0;font-size:14px;overflow-wrap:anywhere}.surface-sections{margin:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:10px}.surface-sections>section{padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.surface-sections h2{font-size:16px}.surface-sections p,.surface-sections li{margin-block-start:6px;color:var(--text-2);font-size:14px;line-height:1.55;overflow-wrap:anywhere}.surface-degraded-banner{min-height:38px;padding:8px 16px;display:flex;align-items:center;gap:8px;background:var(--amber-soft);color:var(--amber);font-size:12px;font-weight:700}.domain-surface{min-width:0;overflow-x:hidden}.surface-actionbar{min-height:44px;padding:7px 12px;display:flex;justify-content:flex-end;align-items:center;gap:6px;border-bottom:1px solid var(--border);background:var(--surface)}.surface-canonical-supplement{padding-block-end:16px}.surface-canonical-supplement>.stats-grid,.surface-domain-records{margin:16px}.surface-domain-records{overflow:hidden}.surface-domain-records article{min-width:0;padding:11px 13px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--border)}.surface-domain-records article:last-child{border-bottom:0}.surface-domain-records article>div{min-width:0;display:flex;flex-direction:column;gap:3px}.surface-domain-records strong,.surface-domain-records span{overflow-wrap:anywhere}.surface-domain-records strong{font-size:14px}.surface-domain-records span{color:var(--text-2);font-size:11px}.surface-command-status{min-width:0;min-height:40px;padding:9px 11px;display:flex;align-items:center;gap:8px;border-radius:9px;background:var(--surface-3);color:var(--text-2);font-size:12px;line-height:1.5}.surface-command-status>svg{flex:none}.surface-command-status>span{min-width:0;overflow-wrap:anywhere}.surface-command-status.is-pending{background:var(--blue-soft);color:var(--blue)}.surface-command-status.is-pending>svg{animation:state-spin 1s linear infinite}.surface-command-status.is-success{background:var(--green-soft);color:var(--green)}.surface-command-status.is-failure{background:var(--red-soft);color:var(--red)}.ads-live-page>.surface-command-status{margin:10px 20px 0}.ads-read-only-notice span{max-width:75ch;line-height:1.5}.ads-live-page .chart-card h2{font-size:16px}.settings-live-page .settings-layout{min-width:0;margin-top:16px;display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);align-items:start;gap:12px}.settings-live-page .settings-layout>aside,.settings-live-page .settings-layout>section{min-width:0}.settings-live-page .settings-layout>section{display:flex;flex-direction:column;gap:12px}.settings-live-page .settings-layout>aside button:disabled{cursor:not-allowed;opacity:.58}.settings-onboarding-restart{margin-block-start:20px;padding-block-start:20px;border-block-start:1px solid var(--border);display:grid;gap:12px;min-width:0}.settings-onboarding-restart-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.settings-onboarding-restart-heading h3{font-size:14px;font-weight:650}.settings-onboarding-restart .btn{min-height:40px;height:auto;padding:9px 12px}.settings-onboarding-restart>p{font-size:14px;line-height:1.6;color:var(--text-2)}.settings-onboarding-restart-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}@media(max-width:640px){.settings-onboarding-restart-heading{align-items:stretch;flex-direction:column}.settings-onboarding-restart-heading>.btn{align-self:flex-start}}.canonical-settings-form{min-width:0}.canonical-settings-form fieldset{min-width:0;margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.canonical-settings-form fieldset>label:not(.canonical-checkbox){min-width:0;display:flex;flex-direction:column;gap:6px;color:var(--text-2);font-size:12px;font-weight:650}.canonical-settings-form input[type=text],.canonical-settings-form select{width:100%;min-width:0;min-height:40px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface-2);padding-inline:10px;color:var(--text);font-size:14px;outline:0}.canonical-settings-form input[type=text]:focus,.canonical-settings-form select:focus{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 18%,transparent)}.canonical-settings-form label small{color:var(--muted);font-size:11px;font-weight:450;line-height:1.5}.canonical-checkbox{grid-column:1 / -1;min-width:0;min-height:58px;padding:10px 11px;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);cursor:pointer}.canonical-checkbox input{width:17px;height:17px;margin:1px 0 0;flex:none;accent-color:var(--blue)}.canonical-checkbox>span{min-width:0;display:flex;flex-direction:column;gap:4px}.canonical-checkbox strong{font-size:12px}.canonical-weekly-hours{grid-column:1 / -1;display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2)}.canonical-weekly-hours>strong{font-size:14px}.canonical-weekly-hours>small{color:var(--muted);font-size:11px}.canonical-weekly-hours-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:0;border-top:1px solid var(--border);padding-top:8px}.canonical-weekly-hours-row>.canonical-checkbox{width:100%}.canonical-weekly-hours-interval{display:flex;flex-wrap:wrap;align-items:end;gap:8px 10px}.canonical-weekly-hours-row>label:not(.canonical-checkbox),.canonical-weekly-hours-interval>label{display:grid;gap:4px;font-size:12px;min-width:min(140px,100%);flex:1 1 120px}.canonical-weekly-hours-row input[type=time]{width:100%;min-height:38px;padding:7px 9px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);color:var(--text)}.canonical-weekly-hours-interval>.btn{flex:0 0 auto}.canonical-weekly-hours-row>.btn{align-self:start;width:max-content}.canonical-settings-form fieldset:disabled{opacity:.68}.canonical-settings-form fieldset:disabled .canonical-checkbox{cursor:not-allowed}.canonical-settings-form>footer{margin-top:14px;padding-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid var(--border)}.canonical-settings-form>footer .btn{min-height:40px}@media(max-width:780px){.surface-state{grid-template-columns:1fr;align-content:start;padding:32px 18px}.surface-state .btn{justify-self:start}.surface-actionbar{flex-wrap:wrap;row-gap:6px}.surface-actionbar>.btn{flex:0 0 auto;white-space:nowrap}.surface-metrics,.surface-record-list,.surface-sections,.surface-canonical-supplement>.stats-grid,.surface-domain-records{margin-inline:10px}.surface-record{grid-template-columns:auto minmax(0,1fr)}.surface-record>.badge{grid-column:2;justify-self:start}.ads-live-page>.surface-command-status{margin-inline:10px}.settings-live-page .settings-layout{margin-inline:10px;grid-template-columns:1fr}.settings-live-page .settings-layout>aside{display:flex;overflow-x:auto;overscroll-behavior-inline:contain}.settings-live-page .settings-layout>aside button{flex:0 0 auto}.canonical-settings-form fieldset{grid-template-columns:1fr}.canonical-weekly-hours-interval{flex-wrap:wrap}.canonical-weekly-hours-row>.canonical-checkbox{width:100%}.canonical-settings-form>footer{grid-template-columns:1fr}.canonical-settings-form>footer .btn{width:100%}.ads-live-page .page-actions,.settings-live-page .page-actions,.ads-live-page .page-actions .btn{width:100%}}@media(prefers-reduced-motion:reduce){.surface-command-status.is-pending>svg{animation:none}}@media(max-width:780px),(pointer:coarse){button,a[href],input,textarea,select,.btn,.icon-btn,.square-btn{min-width:44px;min-height:44px}input,textarea,select{font-size:16px}.queue-title,.queue-tabs,.queue-footer,.conversation-header,.composer-toolbar,.composer-bottom,.inspector-tabs{height:auto;min-height:52px}.queue-tabs button,.inspector-tabs button,.composer-toolbar button{height:44px;min-width:44px}.compact-search,.table-search{min-height:44px}.settings-onboarding-restart .btn,.canonical-settings-form>footer .btn,.canonical-settings-form input[type=text],.canonical-settings-form select,.canonical-weekly-hours-row input[type=time]{min-height:44px;height:auto}.conversation-item{min-height:72px}}@media(max-width:640px){.field-label input,.field-label select,.inspector-section select,.form-grid input,.form-grid select,.settings-section input,.settings-section select,.surface-command-form input,.surface-command-form textarea,.canonical-settings-form input[type=text],.canonical-settings-form select,.canonical-weekly-hours-row input[type=time],.compact-search input,.table-search input,.composer textarea,.notes-panel textarea,.auth-card input,.api-login-form input,.connection-credentials-form input,.hours-list input,.label-add-control select,.workspace-search-input input,.msg-exec-filter-group select,.msg-exec-filter-group input,.platform-admin-heading select,.platform-admin-form input,.platform-admin-form select,.platform-admin-form textarea,.platform-workspace-search input,.platform-workspace-form input,.platform-workspace-form select,.platform-workspace-form textarea,.platform-provider-form input,.platform-provider-form select,.prompt-lab .form-field input,.prompt-lab .form-field select,.prompt-lab-select,.prompt-lab-input,.prompt-lab .prompt-textarea,.send-to-lab-input,.dashboard-filter-field input,.dashboard-filter-field select,.dashboard-ai-filters input,.dashboard-ai-filters select,.dashboard-ai-exclusion-form input,.dashboard-ai-exclusion-form select,.email-reply textarea,.public-composer textarea,.account-field-group input{font-size:16px;min-height:44px;height:auto}.btn,.icon-btn,.square-btn,.command-trigger,.settings-layout>aside button,.label-add-control .btn,.inbox-command-notice .btn,.prompt-lab .btn-sm,.prompt-lab .icon-btn,.msg-exec-refresh-btn,.msg-exec-reset-btn,.msg-exec-auto-refresh,.search-scope-rail label,.workspace-search-input button{min-height:44px;height:auto}.canonical-weekly-hours-interval{flex-direction:column;align-items:stretch}.canonical-weekly-hours-interval>label{flex:1 1 auto;min-width:0;width:100%}.canonical-weekly-hours-interval>.btn,.canonical-weekly-hours-row>.btn{width:100%;min-height:44px}}@media(max-width:340px){.composer{min-width:0;overflow:hidden}.composer-bottom{height:auto;min-height:96px;padding-block:4px;flex-wrap:wrap;align-content:center;gap:2px}.composer-bottom>div:first-child{width:100%;min-width:0;justify-content:space-between}.composer-bottom>div:last-child{width:100%;min-width:0;justify-content:flex-end}}.label-cloud{min-width:0;gap:5px}.conversation-label{--conversation-label-color: var(--blue);min-height:25px;max-width:100%;display:inline-flex;align-items:center;gap:3px;padding-inline:8px 3px;border:1px solid color-mix(in srgb,var(--conversation-label-color) 34%,var(--border));border-radius:99px;background:color-mix(in srgb,var(--conversation-label-color) 9%,var(--surface));color:var(--text);font-size:11px}.conversation-label>span{min-width:0;overflow-wrap:anywhere}.conversation-label button{width:21px;height:21px;border:0;border-radius:50%;background:transparent;color:var(--text-2);display:grid;place-items:center}.conversation-label button:hover{background:color-mix(in srgb,var(--conversation-label-color) 16%,transparent)}.conversation-label button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.label-empty{color:var(--muted);font-size:11px}.label-add-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;margin-top:8px}.label-add-control label{min-width:0;display:flex;flex-direction:column;gap:5px;color:var(--text-2);font-size:12px}.label-add-control select{width:100%;min-width:0}.label-add-control .btn{height:32px;white-space:nowrap}@media(max-width:780px){.conversation-label button,.label-add-control select,.label-add-control .btn{min-width:44px;min-height:44px}.conversation-label{min-height:44px;padding-inline-start:11px}}.developer-credentials{margin:16px 20px 0;display:flex;flex-direction:column;gap:10px}.credential-toolbar{min-height:64px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}.credential-toolbar h2{font-size:13px;letter-spacing:-.02em}.credential-toolbar p{max-width:68ch;margin-top:4px;color:var(--text-2);font-size:9px;line-height:1.55}.credential-toolbar .btn{min-height:40px}.credential-security-note{padding:11px 13px;background:var(--green-soft);color:var(--green);border-radius:10px;display:flex;align-items:flex-start;gap:9px}.credential-security-note>div{display:flex;flex-direction:column;gap:3px}.credential-security-note strong{font-size:10px}.credential-security-note span{font-size:8px;line-height:1.55}.credential-state{min-height:180px;padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--text-2);font-size:10px}.credential-state>svg{color:var(--blue);animation:state-spin 1s linear infinite}.credential-state.error{color:var(--red);flex-wrap:wrap}.credential-state.error>svg{animation:none}.credential-state .btn{margin-inline-start:8px}.credential-list{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.credential-row{padding:14px;display:grid;grid-template-columns:38px minmax(260px,1fr) minmax(150px,.45fr) auto;gap:12px;align-items:center}.credential-row+.credential-row{border-top:1px solid var(--border)}.credential-mark{width:36px;height:36px;border-radius:9px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.credential-identity{min-width:0}.credential-identity>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.credential-identity code{max-width:100%;overflow-wrap:anywhere;font:600 10px var(--mono)}.credential-identity>span{display:block;margin:5px 0 8px;color:var(--muted);font-size:8px}.credential-scopes{display:flex;flex-wrap:wrap;gap:4px}.credential-expiry{display:flex;flex-direction:column;gap:4px}.credential-expiry span{color:var(--muted);font-size:8px}.credential-expiry time{font-size:9px;font-weight:650}.credential-actions{display:flex;gap:6px}.credential-actions .btn{min-height:36px}.credential-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.credential-form label{display:flex;flex-direction:column;gap:6px;color:var(--text-2);font-size:9px;font-weight:650}.credential-form label.full,.credential-form-error,.credential-step-up,.credential-danger-summary{grid-column:1/-1}.credential-form input,.credential-form select,.credential-form textarea{width:100%;min-height:44px;padding-inline:10px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);color:var(--text);font-size:10px;outline:0}.credential-form textarea{min-height:92px;padding-block:9px;resize:vertical;line-height:1.5}.credential-form input:focus,.credential-form select:focus,.credential-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 18%,transparent)}.credential-form label small{color:var(--muted);font-size:8px;font-weight:450;line-height:1.5}.credential-danger-summary{padding:11px;border-radius:9px;background:var(--amber-soft);color:var(--amber);display:flex;align-items:flex-start;gap:8px}.credential-danger-summary.danger{background:var(--red-soft);color:var(--red)}.credential-danger-summary>div{min-width:0;display:flex;flex-direction:column;gap:5px}.credential-danger-summary strong{font-size:10px}.credential-danger-summary code{overflow-wrap:anywhere;font:500 8px var(--mono)}.credential-step-up{display:flex;align-items:flex-start;gap:10px;padding:11px;background:var(--blue-soft);color:var(--blue);border-radius:9px}.credential-step-up strong{font-size:10px}.credential-step-up p{max-width:65ch;margin-top:4px;color:var(--text-2);font-size:8px;line-height:1.55}.credential-form-error{padding:9px 10px;border-radius:8px;background:var(--red-soft);color:var(--red);font-size:9px;line-height:1.5}.credential-secret{display:flex;flex-direction:column;gap:13px}.credential-secret-warning{padding:12px;border-radius:10px;background:var(--amber-soft);color:var(--amber);display:flex;align-items:flex-start;gap:9px}.credential-secret-warning strong{font-size:11px}.credential-secret-warning p{margin-top:4px;color:var(--text-2);font-size:9px;line-height:1.55}.credential-secret-value{padding:10px;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface-2);display:flex;align-items:center;gap:9px}.credential-secret-value code{min-width:0;flex:1;overflow-wrap:anywhere;font:600 11px/1.5 var(--mono);-webkit-user-select:all;user-select:all}.credential-secret-value .btn{min-height:40px;flex:none}.credential-copy-state{display:flex;align-items:center;gap:7px;color:var(--green);font-size:9px;font-weight:650}@media(max-width:820px){.credential-row{grid-template-columns:38px minmax(0,1fr);align-items:start}.credential-expiry,.credential-actions{grid-column:2}.credential-actions{flex-wrap:wrap}.credential-form{grid-template-columns:1fr}.credential-form label.full,.credential-form-error,.credential-step-up,.credential-danger-summary{grid-column:1}}@media(max-width:560px){.developer-credentials{margin-inline:12px}.credential-toolbar{align-items:stretch;flex-direction:column}.credential-toolbar .btn{width:100%}.credential-row{grid-template-columns:1fr}.credential-mark,.credential-expiry,.credential-actions{grid-column:1}.credential-actions .btn{flex:1}.credential-secret-value{align-items:stretch;flex-direction:column}.credential-secret-value .btn{width:100%}}.credential-field{display:flex;flex-direction:column;gap:6px}.credential-field.full{grid-column:1/-1}.credential-field small{color:var(--muted);font-size:8px;font-weight:450;line-height:1.5}
