:root{color-scheme:light;--bg: #eef2ff;--bg-alt: #dfe8ff;--panel: rgba(255, 255, 255, .85);--panel-strong: #ffffff;--stroke: rgba(32, 48, 112, .12);--text: #18213f;--muted: #657196;--brand: #1c7df2;--brand-strong: #0f5fbe;--accent: #14b87a;--danger: #ef5350;--shadow: 0 24px 60px rgba(33, 57, 120, .12);--profile-card-columns: 3;--profile-card-padding: 10px;--profile-card-radius: 18px;--profile-card-head-gap: 10px;--profile-card-button-gap: 4px;--profile-card-name-size: .98rem;--profile-card-subtitle-size: .76rem;--profile-card-status-font-size: .72rem;--profile-card-status-padding-y: .3rem;--profile-card-status-padding-x: .55rem;--profile-card-icon-size: 26px;--profile-card-icon-radius: 8px;--profile-card-icon-font-size: .85rem;--profile-chat-layout-height: 543px;--profile-dialog-sidebar-lift: 54px;--profile-dialog-sidebar-width: 161px;--profile-dialog-sidebar-max-width: 161px;--profile-dialog-sidebar-padding: 7px;--profile-dialog-sidebar-radius: 16px;--profile-dialog-card-min-height: 98px;--profile-dialog-card-padding-y: 7px;--profile-dialog-card-padding-x: 2px;--profile-dialog-avatar-size: 50px;--profile-dialog-name-size: 13px;--profile-dialog-id-size: 11px;--profile-messages-min-height: 320px;--profile-messages-max-height: 360px;--profile-composer-min-height: 44px;--profile-composer-max-height: 96px;--profile-message-panel-padding: 10px;--bubble-inbound-font-family: "Manrope", sans-serif;--bubble-outbound-font-family: "Manrope", sans-serif;--bubble-inbound-font-size: 14px;--bubble-outbound-font-size: 14px;--bubble-inbound-text: #ffffff;--bubble-inbound-background: #22c55e;--bubble-outbound-text: #25324a;--bubble-outbound-background: #ffffff;--bubble-chat-request-text: #221600;--bubble-chat-request-background: #fff2b8;--bubble-letter-text: #1f1a12;--bubble-letter-background: #fff6df;--bubble-translation-font-family: "IBM Plex Sans", sans-serif;--bubble-translation-font-size: 13px;--bubble-translation-text: #123046}*{box-sizing:border-box}body{margin:0;font-family:Manrope,sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(28,125,242,.18),transparent 32%),radial-gradient(circle at right,rgba(20,184,122,.16),transparent 28%),linear-gradient(180deg,var(--bg) 0%,var(--bg-alt) 100%)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}input,textarea,select{width:100%;border:1px solid var(--stroke);border-radius:16px;padding:.9rem 1rem;background:#ffffffeb}textarea{resize:vertical}label{display:grid;gap:.45rem;color:var(--muted);font-size:.95rem}h1,h2,h3,p{margin:0}.screen{min-height:100vh}.auth-shell,.app-shell{padding:24px}.center-panel{display:grid;place-items:center}.auth-card,.panel{border:1px solid var(--stroke);background:var(--panel);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:var(--shadow);border-radius:28px}.auth-shell{display:grid;place-items:center}.auth-card{width:min(560px,100%);padding:32px;display:grid;gap:20px}.eyebrow{font-family:Space Grotesk,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);font-size:.75rem;margin-bottom:6px}.lead,.muted{color:var(--muted)}.stack{display:grid;gap:16px}.stack.compact,.stack.dense{gap:10px}.toggle-row,.header-actions,.actions-row,.chip-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.toggle,.secondary,.primary,.danger,.chip,a.chip{padding:.6rem .7rem;border-radius:999px;transition:.2s ease;text-decoration:none;display:inline-block}.toggle,.secondary,.chip,a.chip{background:#ffffffb8;border:1px solid var(--stroke);color:var(--text)}.toggle.active,.chip.active,a.chip.active,.primary{background:linear-gradient(135deg,var(--brand),var(--brand-strong));color:#fff}.chip.chats-alert,a.chip.chats-alert{animation:chats-alert-blink 1s ease-in-out infinite;border-color:#dc2626b8;box-shadow:0 0 #dc262675}@keyframes chats-alert-blink{0%,to{background:linear-gradient(135deg,#ef4444,#b91c1c);color:#fff;box-shadow:0 0 #dc26266b}50%{background:linear-gradient(135deg,#fecaca,#fca5a5);color:#7f1d1d;box-shadow:0 0 0 8px #dc262614}}.danger{background:#ef53501f;color:var(--danger)}.secondary:hover,.toggle:hover,.chip:hover,a.chip:hover,.primary:hover,.danger:hover,.ghost-fill:hover,.dialog-card:hover{transform:translateY(-1px)}.app-header,.operator-hero,.panel-header.split,.dialog-card-head,.card-row,.chat-layout{display:flex;gap:16px}.app-header,.operator-hero,.panel-header.split,.card-row{justify-content:space-between;align-items:center}.panel-header.split{padding-bottom:4px}.app-header{margin-bottom:20px}.chat-preserved-mount{display:none}.app-header-with-nav{align-items:center;gap:18px;justify-content:space-between}.header-language-toggle{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:999px;border:1px solid var(--stroke);background:#ffffffb8}.header-settings-trigger{width:46px;height:46px;flex:0 0 46px;border-radius:16px;border:1px solid rgba(34,74,148,.18);background:radial-gradient(circle at top left,#fffffff5,#d7e8fff0 60%,#b8d4ffe6);box-shadow:0 12px 28px #1e48912e;color:#1e4f98;display:inline-grid;place-items:center;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.header-settings-trigger:hover{transform:translateY(-1px) rotate(-3deg);border-color:#1c7df257;box-shadow:0 16px 32px #1e48913d}.header-settings-trigger svg{width:21px;height:21px}.appearance-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#0d1b3752,#0d1b3785);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.appearance-modal-card{width:min(920px,100%);max-height:min(86vh,920px);display:flex;flex-direction:column;border-radius:30px;border:1px solid rgba(116,153,226,.28);background:linear-gradient(180deg,#fbfefff5,#eaf4fff2),radial-gradient(circle at top right,rgba(28,125,242,.18),transparent 34%);box-shadow:0 36px 80px #0c224847;overflow:hidden}.appearance-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid rgba(120,152,214,.18);background:linear-gradient(180deg,#ffffffb8,#f7fbff6b)}.appearance-modal-head h2{font-size:1.4rem;line-height:1.15;color:#17305c}.appearance-close-btn{width:40px;height:40px;flex:0 0 40px;border-radius:14px;border:1px solid rgba(107,136,194,.22);background:#ffffffbd;color:#2a4f8d;font-size:1.45rem;line-height:1}.appearance-modal-scroll{flex:1 1 auto;overflow-y:auto;padding:18px 24px 10px;display:grid;gap:16px}.appearance-settings-section{display:grid;gap:14px;padding:18px;border-radius:24px;border:1px solid rgba(126,156,219,.2);background:linear-gradient(180deg,#ffffffd6,#f1f7ffd6);box-shadow:inset 0 1px #ffffff8f}.appearance-settings-section-head{display:grid;gap:4px}.appearance-settings-section-head h3{font-family:Space Grotesk,sans-serif;font-size:.95rem;letter-spacing:.04em;color:#20467d}.appearance-settings-grid{display:grid;gap:14px}.appearance-settings-grid.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-field{display:grid;gap:8px}.appearance-field-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.appearance-field>span,.appearance-field-head>span{color:#41557f;font-size:.9rem;font-weight:700}.appearance-reset-btn{width:28px;height:28px;flex:0 0 28px;border-radius:999px;border:1px solid rgba(94,127,188,.24);background:#ffffffe0;color:#3760a3;font-size:.92rem;line-height:1;display:inline-grid;place-items:center}.appearance-field select,.appearance-field input[type=range]{width:100%}.appearance-range-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:18px;border:1px solid rgba(115,148,215,.2);background:#ffffffdb}.appearance-range-field.compact{min-height:54px}.appearance-range-field strong{min-width:54px;text-align:right;color:#21457f}.appearance-color-input-wrap{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border-radius:18px;border:1px solid rgba(115,148,215,.2);background:#ffffffdb}.appearance-color-input-wrap input[type=color]{width:48px;min-width:48px;height:38px;padding:0;border:0;border-radius:12px;background:transparent;overflow:hidden}.appearance-color-input-wrap input[type=color]::-webkit-color-swatch-wrapper{padding:0}.appearance-color-input-wrap input[type=color]::-webkit-color-swatch{border:0;border-radius:12px}.appearance-color-text{min-width:0;padding:.62rem .72rem;border-radius:12px;border:1px solid rgba(115,148,215,.22);background:#fffffff5;color:#355587;font-size:.84rem;font-weight:700;letter-spacing:.04em}.appearance-color-swatch{width:20px;height:20px;border-radius:999px;border:2px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px #3d5c9433}.appearance-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 24px 22px;border-top:1px solid rgba(120,152,214,.18);background:linear-gradient(180deg,#f4f9ffbd,#e9f2ffeb)}.header-language-btn{min-width:42px;padding:.48rem .72rem;border-radius:999px;border:0;background:transparent;color:var(--text);font-size:.8rem;font-weight:800}.header-language-btn.active{background:linear-gradient(135deg,var(--brand),var(--brand-strong));color:#fff}.header-language-btn:disabled{cursor:default;opacity:.7}.header-brand{min-width:260px}.header-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.header-nav-stack{display:grid;gap:10px;min-width:0;flex:1 1 auto}.header-nav-subrow{min-width:0}.overdue-chip-strip{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 1px;scrollbar-width:thin}.overdue-quick-chip{border:1px solid rgba(204,42,56,.36);background:linear-gradient(180deg,#ffe8ebfa,#fff5f6fa);color:#9f1f2d;border-radius:999px;padding:.42rem .78rem;font-size:.78rem;font-weight:700;white-space:nowrap;box-shadow:0 5px 14px #b1223424;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;animation:overdue-chip-appear .22s ease;display:inline-flex;align-items:center;gap:8px}.overdue-quick-chip-timer{font-variant-numeric:tabular-nums;color:#801621d9;font-size:.75rem;font-weight:800}.overdue-quick-chip:hover{transform:translateY(-1px);border-color:#cc2a388f;box-shadow:0 8px 18px #b1223433}.overdue-quick-chip:focus-visible{outline:2px solid rgba(159,31,45,.35);outline-offset:1px}.mingle-quick-chip{border-color:#c27e1759;background:linear-gradient(180deg,#fff7dcfa,#fffceffa);color:#7a4c00;box-shadow:0 5px 14px #ae751c1f}.mingle-quick-chip:hover{border-color:#c27e178f;box-shadow:0 8px 18px #ae751c2e}.mingle-quick-chip-hint{font-size:.73rem;font-weight:800;color:#7a4c00d9}@keyframes overdue-chip-appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.header-search-wrap{position:relative}.header-search-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:min(320px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:10px;border-radius:16px;border:1px solid var(--stroke);background:#fffffff5;box-shadow:0 16px 34px #0f182e24;overflow:hidden}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}.panel{padding:20px}.card-row,.dialog-card,.empty-box{border:1px solid var(--stroke);border-radius:22px;background:#ffffffb8}.card-row{padding:14px 16px}.card-row.active{outline:2px solid rgba(28,125,242,.25)}.ghost-fill{border:0;background:transparent;width:100%;text-align:left;padding:0;color:inherit}.chat-superadmin,.operator-shell{margin-top:18px}.profile-card-grid{display:grid;grid-template-columns:repeat(var(--profile-card-columns),minmax(0,1fr));gap:14px;align-items:start}.profile-card-slot{min-width:0;content-visibility:auto;contain-intrinsic-size:900px;-webkit-user-select:text;user-select:text}.profile-card-slot.drag-over .profile-card{outline:2px dashed rgba(28,125,242,.52);outline-offset:3px}.profile-card{padding:var(--profile-card-padding);border-radius:var(--profile-card-radius);background:linear-gradient(180deg,#aac4ff40,#8cb5ff1f);border:1px solid rgba(123,155,224,.35);contain:layout style;display:flex;flex-direction:column;min-width:0;overflow:visible;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;-webkit-user-select:text;user-select:text}.appearance-grid-animating .profile-card{animation:profile-card-grid-shift .36s ease}@keyframes profile-card-grid-shift{0%{opacity:.78;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.profile-card-live{border-color:#22c55e9e;box-shadow:0 0 0 2px #22c55e26,0 14px 30px #17793e1f}.profile-card-offline{border-color:#ef44448f;box-shadow:0 0 0 2px #ef44441f,0 14px 30px #901d1d1a}.profile-card-head{display:flex;justify-content:flex-end;align-items:center;gap:var(--profile-card-head-gap);position:relative;z-index:3;min-width:0}.profile-card-title{margin-left:auto;min-width:0;overflow:visible;text-align:right;display:flex;flex-direction:column;gap:4px;flex:1 1 auto;align-items:flex-end}.profile-card-title-main-row{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;width:100%}.profile-card-title-leading{flex:0 0 auto}.profile-card-reorder-controls{display:inline-flex;align-items:center;gap:6px}.profile-card-mobile-move-controls{display:none;align-items:center;gap:4px}.profile-card-drag-handle{width:24px;height:24px;border-radius:999px;border:1px solid rgba(40,77,146,.35);background:linear-gradient(180deg,#fffffffa,#e9f3fff2);color:#245099;font-size:.74rem;line-height:1;display:grid;place-items:center;padding:0;cursor:grab}.profile-card-drag-handle:active{cursor:grabbing}.profile-card-mobile-move-btn{cursor:pointer}.profile-card-mobile-move-btn:disabled{opacity:.45;cursor:default}@media(max-width:820px){.profile-card-drag-handle-desktop{display:none}.profile-card-mobile-move-controls{display:inline-flex}}.profile-card-identity-row{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}.profile-card-name{font-size:var(--profile-card-name-size);font-weight:800;line-height:1.2;color:#1c2f58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-card-name-row{display:flex;align-items:center;gap:8px;min-width:0}.profile-card-name-row-actions{justify-content:flex-end;flex-wrap:wrap;align-self:flex-end}.profile-card-name-actions{flex:0 1 auto;min-width:0}.profile-card-btn-row{display:flex;gap:var(--profile-card-button-gap);align-items:center;flex-wrap:wrap;justify-content:flex-end}.name-edit-btn{width:var(--profile-card-icon-size);height:var(--profile-card-icon-size);border-radius:var(--profile-card-icon-radius);border:1px solid rgba(32,48,112,.22);background:#ffffffe6;color:#274a84;font-size:var(--profile-card-icon-font-size);line-height:1;display:grid;place-items:center}.name-edit-btn:hover{background:#1c7df21f;border-color:#1c7df247}.name-edit-inline{display:inline-flex;align-items:center;gap:6px}.name-edit-inline input{width:150px;min-height:28px;padding:.28rem .45rem;border-radius:8px;border:1px solid var(--stroke);font-size:.82rem}.name-edit-inline-save,.name-edit-inline-cancel{min-height:28px;border-radius:8px;font-size:.74rem;padding:.22rem .45rem}.name-edit-inline-save{border:1px solid rgba(28,125,242,.3);background:#1c7df21f;color:#214a8a}.name-edit-inline-cancel{border:1px solid var(--stroke);background:#fff;color:#4f5a7d}.profile-card-subtitle{margin-top:0;color:#5d6f93;font-size:var(--profile-card-subtitle-size);white-space:nowrap}.profile-card-status{border:1px solid rgba(45,140,80,.25);background:#eefff4e6;color:#237d4a;border-radius:999px;padding:var(--profile-card-status-padding-y) var(--profile-card-status-padding-x);font-size:var(--profile-card-status-font-size);font-weight:700;white-space:nowrap}.profile-sync-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.22rem .55rem;font-size:.68rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.profile-sync-badge-cooldown{color:#8b5b00;background:#ffefcceb;border:1px solid rgba(214,154,22,.35)}.profile-sync-badge-strained{color:#8a4f00;background:#ffe7baeb;border:1px solid rgba(198,129,18,.4)}.profile-sync-badge-emergency{color:#9f2133;background:#ffdee2f0;border:1px solid rgba(201,61,84,.35)}.superadmin-profile-section,.live-section{margin-top:18px}.live-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:14px}.live-column{border:1px solid var(--stroke);border-radius:18px;background:#ffffffbf;padding:12px;display:grid;gap:10px}.live-column.overdue{border-color:#d2383859;background:linear-gradient(180deg,#fff0f0e6,#fffc)}.live-column-head{display:flex;justify-content:space-between;align-items:center}.live-column-head h2{margin:0;font-size:1rem;color:#1f335e}.live-list{display:grid;gap:8px;max-height:62vh;overflow:auto;padding-right:4px}.live-item{border:1px solid rgba(116,139,190,.28);border-radius:12px;padding:10px;text-align:left;background:#fff;display:grid;gap:6px}.live-item.live-item-inbound{background:linear-gradient(180deg,#c8f9dcfa,#e9fff1fa)!important;border:1px solid rgba(39,170,107,.34)!important;border-left:5px solid #1f9e63!important;box-shadow:0 8px 18px #1f9e632e!important}.live-item.live-item-outbound{background:linear-gradient(180deg,#cee6fffa,#e9f4fffa)!important;border:1px solid rgba(39,120,227,.34)!important;border-left:5px solid #216fe0!important;box-shadow:0 8px 18px #216fe02e!important}.live-item.live-item-chat-request{background:linear-gradient(180deg,#ffeea0f5,#fff8cefa)!important;border:1px solid rgba(225,170,24,.7)!important;border-left:5px solid #d6a00a!important;box-shadow:0 10px 20px #d6a00a33!important}.live-stream-item{width:100%;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.live-stream-item:hover{transform:translateY(-1px)}.live-stream-item:focus-visible{outline:2px solid rgba(28,125,242,.38);outline-offset:2px}.live-item-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-item-timer{font-size:.8rem;font-weight:600;color:#cb3939cc;white-space:nowrap;flex-shrink:0}.overdue-item .live-item-timer{color:#cb3939bf}.overdue-item.overdue-item-chat-request .live-item-timer{color:#e1aa18bf}.live-item-body{color:#2b3555;font-size:.9rem;line-height:1.35}.live-pill{border-radius:999px;font-size:.68rem;padding:.2rem .5rem;font-weight:700}.live-pill.inbound{background:#cb393924;color:#9e2727}.live-pill.outbound{background:#2578dd24;color:#1858a8}.overdue-item{border-color:#cb393973;background:linear-gradient(180deg,#ffe5e5eb,#fff7f7f2);cursor:pointer}.overdue-item.overdue-item-chat-request{border-color:#e1aa18cc;background:linear-gradient(180deg,#ffeea0f5,#fff8cefa)}.overdue-item:hover{border-color:#cb39399e;transform:translateY(-1px)}.live-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c183480;z-index:120;display:grid;place-items:center;padding:10px}.live-modal-close-overlay{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.live-modal-chat{position:relative;z-index:121;width:100%;max-width:min(92vw,860px);height:min(82vh,720px);background:#fff;border-radius:20px;box-shadow:0 24px 48px #08142e4d;overflow:hidden;display:grid}.live-chat-shell{height:100%;min-height:0}.live-modal-chat .profile-card{border:none;padding:0;background:transparent}.live-modal-chat .card-chat-layout{grid-template-columns:1fr;height:100%}.live-modal-chat .card-message-panel{height:100%;min-height:0;display:flex;flex-direction:column;border-radius:0;padding:0;background:transparent}.live-modal-chat .message-panel{min-height:0}.live-modal-chat .panel-header{padding:12px 16px;border-bottom:1px solid var(--stroke);flex-shrink:0}.live-modal-chat .conversation-head{min-width:0}.live-modal-chat .chat-title-text{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-modal-chat .composer{margin-top:auto;flex-shrink:0;padding:10px 16px;border-top:1px solid rgba(116,139,190,.18);background:#fffffff5}.settings-content{width:min(1040px,100%);margin:0 auto}.settings-shell{width:min(1280px,100%);margin:0 auto;display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start}.settings-sidebar{position:sticky;top:94px;overflow:hidden;background:linear-gradient(180deg,#f8fbfff5,#e8f0ffe6),radial-gradient(circle at top right,rgba(28,125,242,.16),transparent 42%)}.settings-sidebar-head{padding-bottom:4px}.settings-nav-list{display:grid;gap:10px}.settings-nav-btn{width:100%;display:grid;gap:6px;text-align:left;padding:16px 18px;border-radius:20px;border:1px solid rgba(76,108,176,.16);background:#ffffffad;box-shadow:inset 0 1px #ffffff80;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.settings-nav-btn:hover{transform:translateY(-1px);border-color:#1c7df247;box-shadow:0 14px 30px #1f40801f}.settings-nav-btn.active{background:linear-gradient(180deg,#1e7aef26,#ffffffeb);border-color:#1760c45c;box-shadow:0 18px 36px #1f408029}.settings-nav-eyebrow{font-family:Space Grotesk,sans-serif;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#4a6cb3}.settings-nav-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#18315f}.settings-nav-description{font-size:.9rem;line-height:1.45;color:#61749c}.settings-nav-badge,.settings-stage-pill{display:inline-flex;align-items:center;justify-content:center;min-width:42px;padding:.35rem .7rem;border-radius:999px;background:#1c7df21f;border:1px solid rgba(28,125,242,.18);color:#2152a0;font-size:.78rem;font-weight:800}.settings-stage{min-width:0}.settings-stage-hero{position:relative;overflow:hidden;background:radial-gradient(circle at top right,rgba(20,184,122,.18),transparent 36%),linear-gradient(135deg,#0a55aceb,#1c7df2d1);color:#fff;border-color:#1755ad57}.settings-stage-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(120deg,rgba(255,255,255,.08),transparent 45%);pointer-events:none}.settings-stage-hero .eyebrow,.settings-stage-hero .muted,.settings-stage-hero h2{position:relative;z-index:1}.settings-stage-hero .eyebrow{color:#ffffffbd}.settings-stage-hero .muted{color:#eaf2ffd6}.settings-stage-hero-row{position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.settings-stage-hero-row h2{font-size:clamp(1.55rem,2vw,2rem)}.settings-stage-pill{background:#ffffff29;border-color:#ffffff38;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.settings-panel-card{min-width:0}.settings-account-list,.settings-profile-list,.templates-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.settings-account-card,.settings-profile-card,.templates-card{display:grid;align-items:start;gap:12px;min-height:100%}.settings-account-card .admin-row-actions,.settings-profile-card .actions-row,.templates-card .actions-row{justify-content:flex-start;flex-wrap:wrap}.settings-panel-quiet{opacity:.96}.admin-edit-modal-card{width:min(1160px,100%);padding:0;overflow:hidden}.admin-edit-modal-card .panel-header{padding:22px 24px 0}.admin-edit-scroll{max-height:calc(92vh - 190px);overflow-y:auto;padding:0 24px 16px;display:grid;gap:14px}.admin-edit-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:14px}.admin-edit-pane{min-width:0;border:1px solid rgba(123,155,224,.24);border-radius:18px;background:linear-gradient(180deg,#fffffff0,#f1f7ffd6);padding:16px}.admin-edit-pane-head{display:grid;gap:4px}.admin-edit-pane-head strong{color:#1b3565}.admin-edit-summary-row{display:flex;justify-content:flex-start}.admin-edit-count-pill{background:#14b87a1a;border-color:#14b87a2e;color:#14724d}.admin-edit-assignment-list{max-height:360px;overflow-y:auto;padding-right:4px}.general-settings-panel{margin-top:14px}.general-settings-row{display:grid;gap:8px}.general-settings-row label{display:grid;gap:6px;width:min(280px,100%)}.superadmin-profile-toolbar{align-items:end;gap:16px}.superadmin-profile-toolbar .search-shell{width:min(320px,100%)}.superadmin-profile-toolbar .search-input{margin-bottom:0}.superadmin-profile-card{display:grid;gap:14px}.profile-card-top-content{display:grid;gap:14px;margin-bottom:10px}.superadmin-profile-card.selected{background:linear-gradient(180deg,#95c5ff57,#71b1ff2e);border-color:#3570cf6b;box-shadow:0 18px 36px #214a8a1f}.superadmin-profile-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px}.superadmin-profile-metric{display:grid;gap:4px;padding:10px 12px;border-radius:14px;border:1px solid rgba(123,155,224,.22);background:#ffffffb3}.superadmin-profile-metric strong{color:#1c2f58}.superadmin-profile-assignees{display:flex;flex-wrap:wrap;gap:8px}.superadmin-profile-tag{padding:.35rem .6rem;border-radius:999px;background:#1c7df21a;border:1px solid rgba(28,125,242,.18);color:#214a8a;font-size:.76rem;font-weight:700}.superadmin-profile-settings-fields{margin-top:4px}.profile-settings-modal-card{padding:0;overflow:hidden}.profile-settings-modal-card .modal-head{padding:18px 18px 0}.profile-settings-scroll{max-height:calc(92vh - 230px);overflow-y:auto;padding:0 18px 10px;display:grid;gap:12px}.profile-settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-settings-pane{border:1px solid rgba(123,155,224,.24);border-radius:16px;background:linear-gradient(180deg,#ffffffeb,#f4f9ffd9);padding:12px;min-height:0;display:grid;gap:10px}.profile-settings-pane-title{font-family:Space Grotesk,sans-serif;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#2f5faa}.profile-settings-field{display:grid;gap:6px}.profile-settings-field span{font-weight:700;color:#243963}.profile-settings-field input,.profile-settings-field textarea{border:1px solid rgba(102,132,191,.32);background:#fffffff7;border-radius:12px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.profile-settings-field input:focus,.profile-settings-field textarea:focus{outline:none;border-color:#1c7df29e;box-shadow:0 0 0 3px #1c7df21f;background:#fff}.profile-settings-inline-toggle{grid-template-columns:auto 1fr;align-items:center;border:1px solid rgba(123,155,224,.26);border-radius:12px;padding:10px 12px;background:#ffffffdb}.profile-settings-inline-toggle input{width:auto;margin:0}.profile-settings-telegram-row{display:grid;grid-template-columns:1fr;gap:10px}.profile-settings-check-message{margin:2px 18px 0;border-radius:12px;border:1px solid transparent;padding:10px 12px;font-weight:600}.profile-settings-check-message.success{border-color:#1aaa675c;background:#d5f9e6d1;color:#176b43}.profile-settings-check-message.error{border-color:#de454557;background:#ffe7e7db;color:#9a2929}.profile-settings-actions{padding:12px 18px 18px;border-top:1px solid rgba(123,155,224,.26);background:linear-gradient(180deg,#fbfdffb8,#eef5ffe6)}@media(max-width:920px){.profile-settings-layout,.profile-settings-telegram-row{grid-template-columns:1fr}}.superadmin-profile-actions{display:flex;justify-content:space-between;gap:10px}.admin-row-actions{display:flex;gap:8px}.assignment-profile-card{border:1px solid var(--stroke);border-radius:18px;background:#ffffffb8;padding:14px 16px;display:grid;gap:12px}.assignment-profile-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.assignment-profile-info{min-width:0;display:grid;gap:4px}.assignment-admin-summary{color:#1b315dbd;font-size:.92rem;line-height:1.4;word-break:break-word}.archive-summary-panel,.archive-summary-text{display:grid;gap:12px}.archive-summary-section{display:grid;gap:4px}.archive-summary-heading{font-weight:800;color:#1f3768}.archive-summary-body{white-space:pre-wrap;line-height:1.5;color:#243760}.archive-layout{display:grid;grid-template-columns:360px 1fr;gap:16px}.archive-back-btn{display:none}.assignment-editor{padding-top:4px}.assignment-checkbox-list{display:grid;gap:8px}.assignment-checkbox-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(123,155,224,.24);border-radius:14px;background:#f5f8ffc2;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.assignment-checkbox-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;margin:0;border-radius:6px;border:1.5px solid rgba(46,82,150,.52);background:#fff;display:inline-grid;place-items:center;cursor:pointer}.assignment-checkbox-input:after{content:"";width:9px;height:9px;border-radius:3px;transform:scale(0);transition:transform .12s ease;background:linear-gradient(180deg,#2a7cf6,#1557be)}.assignment-checkbox-input:checked:after{transform:scale(1)}.assignment-checkbox-row:has(.assignment-checkbox-input:checked){border-color:#2160c480;box-shadow:0 0 0 2px #2a7cf629;background:#e5f0ffd6}.assignment-checkbox-label{min-width:0;display:grid;gap:2px}.assignment-checkbox-label strong{color:#1c2f58;line-height:1.25}.assignment-editor-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-action{width:30px;height:30px;padding:0;border-radius:9px}.admin-action.danger{color:var(--danger)}@media(max-width:1080px){.settings-shell{grid-template-columns:1fr}.settings-sidebar{position:static}.settings-nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.settings-shell{gap:14px}.settings-sidebar,.settings-stage-hero,.settings-panel-card{border-radius:22px}.settings-stage-hero-row{flex-direction:column}.admin-edit-layout{grid-template-columns:1fr}.admin-edit-modal-card{width:min(100%,100%)}.admin-edit-scroll{padding:0 16px 14px}.admin-edit-modal-card .panel-header{padding:18px 16px 0}.modal-actions{flex-wrap:wrap}}@media(max-width:640px){.settings-shell{width:100%}.settings-sidebar{padding:16px}.settings-nav-list{grid-template-columns:1fr;gap:8px}.settings-nav-btn{padding:14px 14px 15px}.settings-nav-description{font-size:.84rem}.settings-stage-hero{padding:18px}.settings-panel-card{padding:16px}.card-row{grid-template-columns:1fr;align-items:start}.admin-row-actions{justify-content:flex-start}.general-settings-row label{width:100%}.admin-edit-assignment-list{max-height:280px}.modal-actions{flex-direction:column-reverse;align-items:stretch}.modal-actions button{width:100%}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c183461;z-index:120;display:grid;place-items:center;padding:20px}.modal-card{width:min(520px,100%);border-radius:20px;border:1px solid var(--stroke);background:#fff;box-shadow:0 24px 48px #08142e40;padding:18px}.profile-info-btn{width:24px;height:24px;border-radius:999px;border:1px solid rgba(40,77,146,.35);background:linear-gradient(180deg,#fffffffa,#e9f3fff2);color:#245099;font-size:.78rem;font-weight:800;line-height:1;display:grid;place-items:center;padding:0}.profile-info-btn:hover{border-color:#1c7df299;box-shadow:0 0 0 2px #1c7df224}.profile-head-tools{display:inline-flex;align-items:center;gap:6px}.profile-chat-header-accessories{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-chat-header-extra{display:inline-flex;align-items:center}.profile-chat-header-filters{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow:visible}.profile-chat-search-wrap{position:relative;overflow:visible}.profile-chat-search-popover{position:absolute;top:calc(100% + 8px);left:0;right:auto;z-index:24;width:min(248px,calc(100vw - 30px));padding:10px;border-radius:14px;border:1px solid var(--stroke);background:#fffffff7;box-shadow:0 14px 30px #10224c2e}.search-toggle-btn{font-size:.84rem}.profile-head-tools .favorite-filter-btn,.profile-head-tools .search-toggle-btn{width:24px;height:24px;min-width:24px;border-radius:999px;border:1px solid rgba(40,77,146,.35);background:linear-gradient(180deg,#fffffffa,#e9f3fff2);color:#245099;font-size:.78rem;line-height:1;padding:0}.profile-head-tools .favorite-filter-btn.active,.profile-head-tools .search-toggle-btn.active{border-color:#1c7df29e;box-shadow:0 0 0 2px #1c7df229}.profile-chat-header-search{width:min(190px,46vw)}.profile-chat-header-search .search-input{margin-bottom:0;min-height:34px;padding-top:.45rem;padding-bottom:.45rem}.profile-card-subtitle-actions{margin-top:6px}.inbox-toggle-btn{font-size:.86rem}.inbox-toggle-btn.active{border-color:#1c7df29e;box-shadow:0 0 0 2px #1c7df229}.inbox-toggle-btn.unread{border-color:#dc2626c2;color:#b91c1c;box-shadow:0 0 0 1px #dc262657,0 0 12px #dc26266b,0 0 22px #ff31314d;animation:inbox-envelope-glow 1.05s ease-in-out infinite}@keyframes inbox-envelope-glow{0%,to{opacity:1}50%{opacity:.78}}.inbox-container{display:flex;flex-direction:column;flex:1 1 auto;height:auto;max-height:none;width:100%;max-width:100%;min-height:0;min-width:0;overflow:hidden}.inbox-list-view,.inbox-detail-view{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;min-width:0;width:100%;max-width:100%;overflow:hidden;overflow-y:auto}.inbox-summary-bar{padding:8px 10px;background:#e2f0ff80;border-radius:8px;font-size:.85rem;color:var(--muted)}.inbox-list-items{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:2px;align-items:stretch;min-height:0;min-width:0;width:100%}.inbox-letter-item{border:1px solid rgba(123,155,224,.36);border-radius:12px;background:#ffffffe6;text-align:left;padding:8px;display:flex;flex:0 0 auto;flex-direction:column;gap:6px;cursor:pointer;transition:all .15s ease;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.inbox-letter-item:hover{border-color:#1c7df27a;background:#f2f9ff99}.inbox-letter-item.unread{border-color:#dc2626b8;background:linear-gradient(180deg,#ffececf0,#fffffff2)}.inbox-letter-item .muted{font-size:.75rem;white-space:normal;overflow:hidden;text-overflow:ellipsis}.inbox-letter-head{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.inbox-letter-head strong{flex:1;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:1.3}.inbox-letter-head span{font-size:.76rem;color:var(--muted);white-space:nowrap;margin-top:-2px}.inbox-detail-view{display:flex;flex-direction:column;gap:12px}.inbox-detail-header{display:flex;align-items:center;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(123,155,224,.28)}.inbox-reader-head{display:flex;flex-direction:column;gap:8px}.inbox-letter-text{border:1px solid rgba(123,155,224,.28);border-radius:12px;padding:12px;max-height:none;overflow:visible;background:#ffffffe6;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.95rem;line-height:1.5}.inbox-detail-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:4px}.inbox-reply-form{border-top:1px dashed rgba(123,155,224,.45);padding-top:12px;display:flex;flex-direction:column;gap:10px}.inbox-accept-row{display:flex;align-items:center;gap:8px}.inbox-accept-row input{width:auto}.letters-page{display:flex;flex-direction:column;gap:14px;min-height:calc(100vh - 132px)}.letters-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid rgba(123,155,224,.24);border-radius:14px;background:linear-gradient(180deg,#fffffff0,#f5faffe6);box-shadow:0 18px 44px #1f366014}.letters-hero h1{margin:0;font-size:1.7rem;line-height:1.1;letter-spacing:0}.letters-stat-strip{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:10px;min-width:min(100%,360px)}.letters-stat{padding:10px 12px;border:1px solid rgba(123,155,224,.22);border-radius:10px;background:#ffffffdb}.letters-stat span,.letters-profile-row small,.letters-list-title small{display:block;color:var(--muted);font-size:.76rem}.letters-stat strong{display:block;margin-top:2px;color:#172554;font-size:1.35rem;line-height:1.1}.letters-workbench{display:grid;grid-template-columns:minmax(220px,280px) minmax(320px,430px) minmax(420px,1fr);gap:14px;min-height:650px}.letters-profile-rail,.letters-queue-panel,.letters-reader-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid rgba(123,155,224,.26);border-radius:14px;background:#ffffffeb;box-shadow:0 16px 34px #1f366012;overflow:hidden}.letters-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(123,155,224,.22);background:#f8fbffe0}.compact-btn{min-height:32px;padding:.42rem .72rem;font-size:.82rem}.letters-profile-list,.letters-list{display:flex;flex:1 1 auto;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding:10px}.letters-profile-row,.letters-list-item{width:100%;border:1px solid rgba(123,155,224,.22);border-radius:10px;background:#ffffffdb;color:#1e2a44;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.letters-profile-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px}.letters-profile-row.active,.letters-list-item.active{border-color:#2563eb7a;background:#eff6fffa;box-shadow:0 0 0 2px #2563eb1a}.letters-profile-row.needs-answer{border-color:#dc262661}.letters-profile-counts{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto}.letters-profile-counts b,.letters-profile-counts em,.letters-list-meta b,.letters-list-meta em,.letters-status-dot{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:22px;padding:0 7px;border-radius:999px;font-size:.72rem;font-style:normal;font-weight:700}.letters-profile-counts b,.letters-list-meta b,.letters-status-dot{background:#dc26261f;color:#b91c1c}.letters-profile-counts em,.letters-list-meta em{background:#2563eb1c;color:#1d4ed8}.letters-filter-row,.letters-direction-row{display:grid;gap:8px;padding:10px;border-bottom:1px solid rgba(123,155,224,.16)}.letters-filter-row{grid-template-columns:repeat(3,1fr)}.letters-direction-row{grid-template-columns:repeat(3,1fr);padding-top:0}.letters-filter-row button,.letters-direction-row button{min-height:34px;border:1px solid rgba(123,155,224,.24);border-radius:9px;background:#f8fbffe6;color:#334155;font-weight:700}.letters-filter-row button.active,.letters-direction-row button.active{border-color:#2563eb80;background:#1d4ed8;color:#fff}.letters-list-item{display:flex;flex-direction:column;gap:8px;padding:11px}.letters-list-item.unanswered{border-color:#dc26266b}.letters-list-item.incoming{background:linear-gradient(180deg,#ecfdf5fa,#fffffff0)}.letters-list-item.outgoing{background:linear-gradient(180deg,#fef2f2fa,#fffffff0)}.letters-list-item.unread{box-shadow:inset 3px 0 #2563eb6b}.letters-list-title strong{display:block;overflow:hidden;color:#172554;font-size:.94rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.letters-list-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--muted);font-size:.76rem}.letters-empty{margin:auto;max-width:280px;padding:18px;color:var(--muted);text-align:center}.letters-reader-panel{background:linear-gradient(180deg,#fffffff5,#f8fbfff0)}.letters-reader{display:flex;flex:1 1 auto;flex-direction:column;gap:14px;min-height:0;overflow:auto;padding:16px}.letters-reader-title h2{margin:0 0 6px;color:#111827;font-size:1.25rem;line-height:1.25;letter-spacing:0}.letters-reader-body{flex:0 0 auto;min-height:180px;padding:14px;border:1px solid rgba(123,155,224,.24);border-radius:10px;background:#ffffffe6;color:#1f2937;font-size:.98rem;line-height:1.58;overflow-wrap:anywhere;white-space:pre-wrap}.letters-reply-box{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid rgba(37,99,235,.18);border-radius:12px;background:#eff6ffb3}.letters-action-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}@media(max-width:1180px){.letters-workbench{grid-template-columns:minmax(210px,260px) minmax(0,1fr)}.letters-reader-panel{grid-column:1 / -1;min-height:420px}}@media(max-width:760px){.letters-hero{align-items:stretch;flex-direction:column}.letters-stat-strip,.letters-workbench{grid-template-columns:1fr}.letters-workbench{min-height:0}.letters-profile-rail,.letters-queue-panel,.letters-reader-panel{min-height:360px}}.profile-info-modal{width:min(96vw,1360px);max-height:92vh;display:grid;gap:12px}.profile-info-meta{margin-top:-4px}.profile-info-actions{display:flex;gap:8px;flex-wrap:wrap}.attendee-info-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:14px;min-height:0}.attendee-info-gallery{align-self:start;display:grid;gap:10px;max-height:calc(92vh - 220px);overflow-y:auto;padding-right:4px}.attendee-info-photo-card{border:1px solid rgba(123,155,224,.28);border-radius:16px;background:#fffffff5;padding:6px;box-shadow:0 10px 24px #12285414}.attendee-info-photo-card img{display:block;width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:12px}.attendee-info-gallery-empty,.attendee-info-empty-state{min-height:120px}.attendee-info-fields{max-height:calc(92vh - 220px);grid-template-columns:1fr;align-content:start}.attendee-info-row{grid-template-columns:1fr}.mingle-reminder-modal{width:min(640px,100%);border-color:#ac780e57;background:radial-gradient(circle at top right,rgba(255,220,148,.45),transparent 34%),linear-gradient(180deg,#fffcf5fa,#fff7e6fa)}.mingle-reminder-copy{margin:0;color:#5d4720;line-height:1.55}.mingle-reminder-list{display:grid;gap:10px}.mingle-reminder-item{border:1px solid rgba(176,128,23,.26);border-radius:14px;background:#ffffffd1;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}.mingle-reminder-item:hover{border-color:#b0801775;box-shadow:0 10px 24px #7856101f}.mingle-reminder-profile{font-weight:700;color:#53370f}.mingle-reminder-hint{font-size:.82rem;font-weight:700;color:#9c6512}.dialog-notes-modal{width:min(96vw,1380px)}.dialog-notes-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:12px;min-height:420px}.dialog-notes-list,.dialog-notes-editor{border:1px solid rgba(123,155,224,.24);border-radius:14px;background:#f8fcffdb;padding:10px;min-height:0}.dialog-notes-scroll{margin-top:8px;display:grid;gap:8px;max-height:60vh;overflow-y:auto;padding-right:4px}.dialog-note-row{border:1px solid rgba(123,155,224,.3);border-radius:10px;background:#fffffff2;text-align:left;padding:8px;display:grid;gap:6px}.dialog-note-row.active{border-color:#2975e4ad;box-shadow:0 0 0 2px #2975e41f}.dialog-note-preview{font-size:.9rem;color:#273e67}.dialog-note-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:.74rem;color:#6a7894}.dialog-notes-editor textarea{width:100%;min-height:280px;resize:vertical}.dialog-note-editor-actions{margin-top:8px;display:flex;gap:8px}.image-preview-modal{width:min(96vw,1180px);max-height:92vh}.image-preview-wrap{max-height:calc(92vh - 90px);overflow:auto;display:grid;place-items:center}.image-preview-full{max-width:100%;max-height:calc(92vh - 110px);object-fit:contain;border-radius:12px;border:1px solid rgba(120,146,199,.35);background:#fff}.profile-info-fields{min-height:120px;max-height:calc(92vh - 220px);overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;padding-right:4px}.dialog-favorites-toolbar{display:flex;justify-content:center;margin:6px 0 2px}.favorite-filter-btn{width:34px;height:34px;border-radius:10px;border:1px solid rgba(123,155,224,.45);background:#ffffffdb;color:#7885aad9;font-size:1rem;line-height:1;padding:0}.favorite-filter-btn.active{color:#f7b500;border-color:#f2ac0cb3;background:#fff4c3eb}.chat-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-title-text-row{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:4px}.chat-title-text{font-size:14px;font-weight:700;line-height:1.2;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-title-msg-count{display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;padding:1px 6px;border-radius:999px;background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd;white-space:nowrap;flex-shrink:0}.chat-vip-crown{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;border:1px solid rgba(193,125,0,.45);background:linear-gradient(180deg,#fff8daf5,#ffe8a8f5);box-shadow:inset 0 1px #ffffffbf;font-size:10px;line-height:1}.chat-favorite-btn{width:22px;height:22px;border-radius:7px;border:1px solid rgba(123,155,224,.5);background:#ffffffd9;color:#7d8ab0db;font-size:.78rem;line-height:1;padding:0}.chat-favorite-btn.active{color:#f7b500;border-color:#f2ac0cb8;background:#fff4c3eb}.chat-copy-btn{width:22px;height:22px;border-radius:7px;border:1px solid rgba(70,98,160,.35);background:#f1f7ffeb;color:#244b8b;font-size:.7rem;font-weight:800;line-height:1;padding:0}.chat-copy-btn:hover{border-color:#317be79e;background:#dfeefff2}.chat-attendee-info-btn{width:22px;height:22px;border-radius:7px;border:1px solid rgba(49,123,231,.45);background:#eaf5ffe6;color:#1b64c2;font-size:.72rem;font-weight:700;line-height:1;padding:0}.chat-attendee-info-btn:hover{background:#d6ecfff2;border-color:#317be7a6}.chat-close-btn{width:22px;height:22px;border-radius:7px;border:1px solid rgba(200,80,80,.35);background:#fff0f0e6;color:#c04040;font-size:.7rem;font-weight:700;line-height:1;padding:0;margin-left:auto}.chat-close-btn:hover{background:#ffdcdcf2;border-color:#c8505099}.card-dialog-list .dialog-row{position:relative}.dialog-favorite-pin{position:absolute;top:4px;right:4px;z-index:3;display:grid;place-items:center;width:20px;height:20px;border-radius:999px;border:1px solid rgba(255,255,255,.75);background:#0e182d8c;color:#ffffffbf;font-size:.74rem;line-height:1;padding:0;cursor:pointer}.dialog-favorite-pin.active{color:#ffd34f;background:#272100b3;border-color:#ffd34fbf}.profile-info-row{border:1px solid rgba(123,155,224,.25);border-radius:14px;background:#f7faffdb;padding:10px 12px;display:grid;gap:8px}.profile-info-row.wide{grid-column:1 / -1}.profile-info-label-wrap{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.profile-info-label{font-size:.82rem;font-weight:700;color:#203363}.profile-info-source{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.16rem .4rem;border-radius:999px}.profile-info-source.remote{background:#2272ee1f;color:#2153a0}.profile-info-source.override{background:#ff9e1b2e;color:#8a4f00}.profile-info-value{white-space:pre-wrap;color:#243760;line-height:1.45}.profile-info-visual{display:flex;align-items:flex-start;min-height:110px}.profile-info-avatar-preview{width:96px;height:96px;display:flex;align-items:flex-start;justify-content:flex-start}.profile-info-avatar-preview .avatar-wrap{transform:scale(2.35);transform-origin:top left}.profile-info-row textarea{width:100%;resize:vertical;min-height:52px;max-height:180px}@media(max-width:920px){.attendee-info-layout{grid-template-columns:1fr}.attendee-info-gallery{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));max-height:none}.attendee-info-fields{max-height:none}}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.card-chat-layout{gap:5px;flex:1 1 auto;height:var(--profile-chat-layout-height);max-height:var(--profile-chat-layout-height);min-height:0;min-width:0;overflow:visible}.card-dialog-list{width:calc(var(--profile-dialog-sidebar-width) - 2px);flex:0 0 var(--profile-dialog-sidebar-width);max-width:var(--profile-dialog-sidebar-max-width);align-self:stretch;height:calc(var(--profile-chat-layout-height) + var(--profile-dialog-sidebar-lift));margin-top:calc(var(--profile-dialog-sidebar-lift) * -1);padding:var(--profile-dialog-sidebar-padding);border-radius:var(--profile-dialog-sidebar-radius);background:linear-gradient(180deg,#fffffff0,#ecf4ffdb);border:1px solid rgba(123,155,224,.22);box-shadow:10px 0 24px #36549a14;display:flex;flex-direction:column;min-height:0;overflow:hidden}.card-message-panel{padding:3px;margin-top:-7px;border-radius:var(--profile-dialog-sidebar-radius);background:#ffffffd1;display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;max-width:100%;overflow:hidden}.card-message-panel.inbox-mode{height:100%;max-height:100%;align-self:stretch}.card-message-panel.inbox-mode .panel-header{flex:0 0 auto}.card-message-panel.inbox-mode .inbox-container{flex:1 1 auto;min-height:0}.card-message-panel.inbox-mode .inbox-list-view,.card-message-panel.inbox-mode .inbox-detail-view{flex:1 1 auto;min-height:0;overflow-y:auto}.card-message-panel.inbox-mode .inbox-list-items{flex:1 1 auto;min-height:0;max-height:100%}.chat-layout{align-items:stretch;gap:5px}.dialog-list-panel{width:79px;flex:0 0 100px}.message-panel{flex:1;min-width:0}.dialog-list{flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:scroll;scrollbar-gutter:stable}.card-dialog-list .dialog-list{flex:1 1 auto;min-height:0;max-height:none;grid-template-columns:minmax(0,1fr);justify-items:stretch;scrollbar-width:none;align-content:start;grid-auto-rows:min-content}.card-dialog-list .dialog-list::-webkit-scrollbar{display:none}.card-dialog-list .dialog-list.stack.dense{gap:6px}.appearance-grid-compact .profile-card-head{align-items:flex-start;padding-left:calc(var(--profile-dialog-sidebar-max-width) + 6px)}.appearance-grid-compact .profile-card-title{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "actions" "subtitle";align-items:start;column-gap:8px;row-gap:4px;width:100%;justify-items:end}.appearance-grid-compact .profile-card-identity-row{grid-area:identity;align-items:flex-start;justify-content:flex-end;width:100%}.appearance-grid-compact .profile-card-name-row-actions{grid-area:actions;width:auto;max-width:100%;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:4px}.appearance-grid-compact .profile-card-btn-row{display:grid;grid-template-columns:repeat(2,max-content);justify-content:end}.appearance-grid-compact .profile-card-subtitle-actions{grid-area:subtitle}.appearance-grid-compact .card-dialog-list .dialog-list.stack.dense{gap:4px}.appearance-grid-compact .dialog-card-header,.appearance-grid-compact .card-dialog-list .dialog-card-header{top:6px;left:6px;right:6px;width:calc(100% - 12px)}.appearance-grid-compact .dialog-card-online-indicator{width:10px;height:10px;border-width:1.5px}.appearance-grid-compact .dialog-card-favorite-pin{font-size:12px}.appearance-grid-compact .card-dialog-list{box-shadow:8px 0 18px #36549a0f}.appearance-grid-compact .card-dialog-list .dialog-card{border-radius:12px}.appearance-grid-compact .card-dialog-list .dialog-card-info{min-height:18px}.appearance-grid-very-compact .profile-card-title{column-gap:6px}.appearance-grid-very-compact .profile-card-head{padding-left:calc(var(--profile-dialog-sidebar-max-width) + 4px)}.appearance-grid-very-compact .profile-card-btn-row{gap:3px}.appearance-grid-very-compact .card-dialog-list .dialog-card{border-radius:10px}.appearance-grid-very-compact .dialog-card-header,.appearance-grid-very-compact .card-dialog-list .dialog-card-header{top:5px;left:5px;right:5px;width:calc(100% - 10px)}.dialog-card{width:100%;text-align:center;padding:12px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:14px;background-color:#c8dcf059;border:1px solid rgba(100,160,200,.15);position:relative;transition:all .28s ease-in-out;min-height:120px}.card-dialog-list .dialog-card{margin-top:0;min-height:var(--profile-dialog-card-min-height)}.dialog-card:hover{background-color:#c8dcf080;border-color:#64a0c840}.dialog-card.active{background:linear-gradient(180deg,#1c7df22e,#64c8f01f);border-color:#1c7df247}.dialog-card.unread{background:linear-gradient(180deg,#ffe4e4cc,#fff0f0e6);border-color:#dc2626c2;box-shadow:inset 0 0 0 1px #dc262647;animation:unread-critical-glow 1.05s ease-in-out infinite;will-change:opacity}.dialog-card.unread-system{background:linear-gradient(180deg,#ffecd1f2,#fff7eaf5);border-color:#ea781cc7;box-shadow:inset 0 0 0 1px #ea781c3d;animation:unread-glow 1.1s ease-in-out infinite}.dialog-card.unread-invitation{background:linear-gradient(180deg,#122b62eb,#103884e6);border-color:#4380ffb3;box-shadow:inset 0 0 0 1px #77a9ff59,0 8px 16px #0e265847;animation:unread-glow 1.1s ease-in-out infinite}.dialog-card.unread-invitation .dialog-card-name,.dialog-card.unread-invitation .dialog-card-id{color:#e8f1ff}.dialog-card.unread-critical{background:linear-gradient(180deg,#ffe4e4cc,#fff0f0e6);border-color:#dc2626c2;box-shadow:inset 0 0 0 1px #dc262647;animation:unread-critical-glow 1.05s ease-in-out infinite;will-change:opacity}.dialog-card-header{position:absolute;top:8px;left:8px;right:8px;display:flex;justify-content:space-between;align-items:center;width:calc(100% - 16px)}.dialog-card-online-indicator{display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.95);box-shadow:0 0 0 1px #0f172a2e}.dialog-card-online-indicator.online{background-color:#17b978}.dialog-card-online-indicator.offline{background-color:#9aa7c4}.dialog-card-favorite-pin{font-size:14px;cursor:pointer;opacity:.6;transition:opacity .2s ease;color:#fff;text-shadow:0 0 2px rgba(0,0,0,.8)}.dialog-card-favorite-pin:hover{opacity:.9;text-shadow:0 0 3px rgba(0,0,0,.9)}.dialog-card-favorite-pin.active{opacity:1;color:#fbbf24;text-shadow:0 0 4px rgba(251,191,36,.6)}.dialog-card-avatar-section{display:flex;justify-content:center;align-items:center;padding:4px 0}.dialog-card-avatar-section .avatar-wrap,.card-dialog-list .avatar-img,.card-dialog-list .avatar-fallback{width:var(--profile-dialog-avatar-size);height:var(--profile-dialog-avatar-size)}.dialog-card-info{flex-direction:column;gap:0;width:100%;min-height:22px;display:flex;align-items:center;justify-content:flex-start}.dialog-card-invite-badge{display:inline-flex;align-items:center;justify-content:center;padding:.12rem .44rem;border-radius:999px;font-size:.58rem;font-weight:900;letter-spacing:.08em;color:#eaf3ff;background:#091f4ebf;border:1px solid rgba(113,166,255,.58);margin-bottom:2px}.dialog-card-name{font-size:var(--profile-dialog-name-size);font-weight:600;line-height:1.2;margin:0;padding:0;color:#1f2937;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;transition:opacity .2s ease}.dialog-card-name:hover{opacity:.7}.dialog-card-msg-count{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;padding:1px 5px;border-radius:999px;background:#f0f9ff;color:#0369a1;border:1px solid #bae6fd;white-space:nowrap;flex-shrink:0;margin-top:2px}.dialog-card-id{font-size:var(--profile-dialog-id-size);font-weight:400;line-height:1.2;color:#6b7280;cursor:pointer;-webkit-user-select:none;user-select:none;transition:opacity .2s ease}.dialog-card-id:hover{opacity:.7;margin:0;padding:0}@keyframes unread-glow{0%,to{opacity:1}50%{opacity:.84}}@keyframes unread-critical-glow{0%,to{opacity:1}50%{opacity:.84}}.dialog-card-head{justify-content:space-between;align-items:flex-start}.clamp{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.messages-stack{min-height:46vh;max-height:54vh;overflow:auto;overflow-x:hidden;display:grid;gap:14px;padding:8px 0 18px}.card-message-panel .messages-stack{min-height:var(--profile-messages-min-height);max-height:var(--profile-messages-max-height)}.live-modal-chat .card-message-panel .messages-stack{min-height:auto;max-height:none;flex:1 1 auto;overflow:auto;padding:12px 16px 14px}.bubble{max-width:100%;padding:11px 13px;border-radius:14px;display:grid;gap:6px;box-shadow:0 12px 28px #11204614;font-size:.9rem;min-width:0;overflow-wrap:anywhere;word-break:break-word}.bubble>div{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.bubble span{color:var(--muted);font-size:.8rem}.bubble-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.bubble-meta-time{display:inline-flex;align-items:center;gap:6px;color:#020101d1}.bubble-delivery-inline{display:inline-flex;align-items:center;min-width:12px}.bubble-delivery-spinner{width:10px;height:10px;border-radius:999px;border:1.6px solid rgba(56,74,116,.28);border-top-color:#2f5fb6;display:inline-block;animation:bubble-delivery-spin .9s linear infinite}.bubble-delivery-checks{color:#7c879f;font-weight:800;font-size:.74rem;letter-spacing:-.02em;line-height:1}.bubble-delivery-checks.read{color:#2f84ff}.bubble-delivery-failed{color:#e53935;font-weight:800;font-size:.76rem;line-height:1}@keyframes bubble-delivery-spin{to{transform:rotate(360deg)}}.bubble-media-block{display:grid;gap:8px}.bubble-media-caption{font-size:.88rem;line-height:1.35}.bubble-media-badge{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:.22rem .5rem;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.bubble-media-badge.voice{background:#2563eb24;color:#1d4ed8}.bubble-media-badge.sticker{background:#d9770624;color:#b45309}.bubble-media-badge.photo{background:#05966924;color:#047857}.bubble-media-badge.video{background:#7c3aed24;color:#6d28d9}.bubble-inline-media{width:100%;max-width:min(360px,100%);border-radius:12px;border:1px solid rgba(121,138,177,.34);background:#fffc}.bubble-clickable-media{cursor:zoom-in}.bubble-inline-photo,.bubble-inline-sticker{object-fit:contain}.bubble-inline-sticker{max-width:200px}.translate-btn{border:1px solid rgba(49,123,231,.45);background:#e8f4ffe6;color:#1f5fb8;border-radius:8px;font-size:.68rem;font-weight:700;line-height:1;padding:.2rem .42rem;min-height:24px;white-space:nowrap}.translate-btn:disabled{opacity:.65}.bubble-translation{margin-top:2px;font-family:var(--bubble-translation-font-family);font-size:var(--bubble-translation-font-size);line-height:1.35;color:var(--bubble-translation-text);border-top:1px dashed rgba(93,124,186,.3);padding-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.bubble-translation-error{margin-top:2px;font-size:.75rem;color:#b43030}.bubble.inbound{background:var(--bubble-inbound-background);border:1px solid #169c48;color:var(--bubble-inbound-text);font-family:var(--bubble-inbound-font-family);font-size:var(--bubble-inbound-font-size)}.bubble.inbound.inbound-chat-request{background:var(--bubble-chat-request-background);border:1px solid rgba(232,175,24,.86);box-shadow:0 10px 20px #d6a00a2e;color:var(--bubble-chat-request-text)}.bubble.inbound.inbound-chat-request .bubble-chat-request-text,.bubble.inbound.inbound-chat-request .bubble-meta-time{color:var(--bubble-chat-request-text)}.bubble.letter{border-width:2px;border-color:#c2761da6}.bubble.inbound.letter{background:var(--bubble-letter-background);color:var(--bubble-letter-text)}.bubble.letter>div,.bubble.letter .bubble-chat-request-text,.bubble.letter .bubble-meta-time,.bubble.letter .bubble-media-caption{color:var(--bubble-letter-text)}.bubble.outbound{background:var(--bubble-outbound-background);border:1px solid rgba(121,138,177,.28);color:var(--bubble-outbound-text);font-family:var(--bubble-outbound-font-family);font-size:var(--bubble-outbound-font-size)}.bubble.outbound.letter{border-color:#c2761da6;background:linear-gradient(180deg,#fff6dff5,#fffcf1fa);color:#333}.mingle-toggle-btn.running{border-color:#15a05f8c;background:#ddf9ebf2;color:#0d7a46}.mingle-toggle-btn.stopped{border-color:#d03d3d73;background:#ffececf2;color:#9b2830;animation:mingle-stopped-pulse 1s ease-in-out infinite}@keyframes mingle-stopped-pulse{0%,to{box-shadow:0 0 #d03d3d14;border-color:#d03d3d59;color:#9b2830}50%{box-shadow:0 0 0 4px #d03d3d2e;border-color:#d03d3dc7;color:#c62828}}.mingle-toggle-btn.unknown{border-color:#436cb65c;background:#ecf4ffeb;color:#315ca7}.mingle-toggle-btn{width:auto;height:auto;min-height:24px;max-width:108px;padding:0 8px;border-radius:999px;font-size:.68rem;font-weight:800;white-space:nowrap}.bulk-message-toggle-btn{width:var(--profile-card-icon-size);height:var(--profile-card-icon-size);min-height:0;padding:0;border-radius:var(--profile-card-icon-radius);border-color:#436cb65c;background:#ecf4ffeb;color:#315ca7}.bulk-message-icon,.bulk-message-icon svg{display:block;width:16px;height:16px}.bulk-message-icon svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.bulk-message-toggle-btn.running{border-color:#15a05f8c;background:#ddf9ebf2;color:#0d7a46;box-shadow:0 0 0 3px #15a05f1f}.mingle-modal-card{display:flex;flex-direction:column}.bulk-message-modal-card{display:flex;flex-direction:column;width:min(900px,calc(100vw - 28px));max-width:900px;border:1px solid rgba(60,87,132,.18);background:linear-gradient(180deg,#fffffffc,#f7fafffc);box-shadow:0 22px 64px #21305433}.bulk-message-head h3{margin-top:2px}.bulk-message-scroll{display:flex;flex-direction:column;gap:14px;min-height:0;max-height:calc(92vh - 92px);overflow-y:auto;padding-right:4px}.bulk-message-profile-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(72,101,145,.14);border-radius:8px;background:#f6f9fde6}.bulk-message-profile-strip>div:first-child{display:grid;gap:2px}.bulk-message-profile-strip span{color:#1e2b45;font-weight:800}.bulk-message-profile-strip strong{color:#697794;font-size:.78rem;font-weight:700}.bulk-message-state-pill{display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:28px;padding:0 12px;border-radius:999px;border:1px solid rgba(72,101,145,.18);background:#fff;color:#52617d;font-size:.78rem;font-weight:800}.bulk-message-state-pill.running{border-color:#15a05f47;background:#ddf9ebf0;color:#0d7a46}.bulk-message-section-title{color:#25324d;font-size:.82rem;font-weight:900;letter-spacing:0}.bulk-message-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bulk-message-option{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:10px;min-height:70px;padding:12px;border:1px solid rgba(72,101,145,.16);border-radius:8px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.bulk-message-option:hover{border-color:#436cb66b;box-shadow:0 8px 22px #2a436e14}.bulk-message-option.selected{border-color:#15a05f6b;background:#f6fdf9f2;box-shadow:inset 0 0 0 1px #15a05f1f}.bulk-message-option input{position:absolute;opacity:0;pointer-events:none}.bulk-message-radio-dot{width:16px;height:16px;border-radius:999px;border:2px solid rgba(94,110,138,.45);background:#fff}.bulk-message-option.selected .bulk-message-radio-dot{border:5px solid #16a05f}.bulk-message-option-copy{display:grid;gap:3px;min-width:0}.bulk-message-option-copy strong{color:#22304a;font-size:.88rem;line-height:1.2}.bulk-message-option-copy small,.bulk-message-compose small,.bulk-message-progress-head small{color:#6d7890;font-size:.76rem;line-height:1.25}.bulk-message-field{display:grid;gap:7px;color:#263551;font-size:.86rem;font-weight:800}.bulk-message-compose{padding:12px;border:1px solid rgba(72,101,145,.14);border-radius:8px;background:#fafcffe6}.bulk-message-compose-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.bulk-message-ai-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid rgba(59,94,158,.3);border-radius:999px;background:linear-gradient(180deg,#fffffffa,#f1f7fffa);color:#2f5799;font-size:.76rem;font-weight:800;line-height:1;cursor:pointer;transition:all .16s ease}.bulk-message-ai-btn:hover:not(:disabled){border-color:#3060b48f;box-shadow:0 6px 16px #21427a2e;transform:translateY(-1px)}.bulk-message-ai-btn:disabled{cursor:default;opacity:.66}.bulk-message-ai-icon,.bulk-message-ai-icon svg{display:block;width:14px;height:14px}.bulk-message-ai-icon svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bulk-message-actions{justify-content:flex-end;flex-wrap:wrap;gap:8px;overflow:visible;padding-bottom:0}.bulk-message-actions>button{white-space:nowrap;flex:0 0 auto}.bulk-message-progress-panel,.bulk-message-history{display:grid;gap:10px;padding:12px;border-radius:8px;border:1px solid rgba(27,98,192,.18);background:#f8fcffe0}.bulk-message-progress-head,.bulk-message-stats,.bulk-message-history-row,.bulk-message-error-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.bulk-message-progress-head>div{display:grid;gap:3px}.bulk-message-progress-track{height:10px;border-radius:999px;background:#436cb629;overflow:hidden}.bulk-message-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#16a05f,#4cc987);transition:width .25s ease}.bulk-message-stats,.bulk-message-history-row,.bulk-message-error-row{font-size:.82rem;color:#40527d}.bulk-message-errors{display:grid;gap:6px}.bulk-message-error-row{align-items:flex-start;padding:8px;border-radius:8px;background:#ffececd1;color:#8f2d36}@media(max-width:760px){.bulk-message-options{grid-template-columns:1fr}.bulk-message-profile-strip,.bulk-message-stats,.bulk-message-history-row{align-items:flex-start;flex-direction:column}.bulk-message-actions{justify-content:flex-start}}.mingle-modal-scroll{display:flex;flex-direction:column;gap:12px;min-height:0;max-height:calc(92vh - 92px);overflow-y:auto;padding-right:4px}.mingle-template-select-row{display:grid;gap:8px}.mingle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mingle-col{display:grid;gap:10px}.mingle-templates-panel{border:1px dashed rgba(27,98,192,.25);border-radius:18px;padding:14px;background:#f8fcffb3}.mingle-inline-editor{display:grid;gap:8px;margin-top:8px}.mingle-save-row{justify-content:flex-end}.mingle-scheduler-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.mingle-scheduler-enabled{display:inline-flex;align-items:center;gap:6px}.mingle-scheduler-list{display:grid;gap:8px;margin-top:8px}.mingle-scheduler-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:#e2eefb8c}.mingle-scheduler-item-actions{display:inline-flex;gap:6px}@media(max-width:860px){.mingle-grid{grid-template-columns:1fr}}.bubble.inbound span{color:color-mix(in srgb,var(--bubble-inbound-text) 82%,transparent)}.bubble.letter span{color:color-mix(in srgb,var(--bubble-letter-text) 82%,transparent)}.bubble.outbound span{color:color-mix(in srgb,var(--bubble-outbound-text) 58%,white 42%)}.load-more-sentinel{height:24px;display:flex;align-items:center;justify-content:center}.load-more-spinner{font-size:.75rem;color:#214a8a8c}.composer{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;min-width:0;position:relative}.card-message-panel .composer textarea{width:100%;height:67px;min-height:67px;max-height:67px;border-radius:14px;padding:.65rem .8rem;resize:none}.error-box,.empty-box{padding:14px 16px}.form-error{margin-bottom:14px;border:1px solid rgba(239,83,80,.3);background:#ef535014;border-radius:16px}.empty-box{color:var(--muted)}.search-input{margin-bottom:10px;padding-right:2.3rem;border-radius:12px;padding:.6rem .75rem;font-size:.86rem}.search-shell{position:relative}.search-clear{position:absolute;right:10px;top:46%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;border:1px solid var(--stroke);background:#fff;color:#4f5a7d;display:grid;place-items:center;font-size:.8rem;line-height:1}.dialog-row{display:flex;gap:6px;align-items:center;min-width:0}.dialog-name{min-width:0;flex:1;font-size:.84rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-dialog-list .dialog-card{width:100%;min-width:auto;max-width:none;aspect-ratio:auto;margin:4px auto 0;padding:var(--profile-dialog-card-padding-y) var(--profile-dialog-card-padding-x);border-radius:14px;overflow:visible;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;justify-self:stretch;gap:0;background-color:#c8dcf059;border:1px solid rgba(100,160,200,.15);min-height:var(--profile-dialog-card-min-height);transition:all .28s ease-in-out}.card-dialog-list .load-more-sentinel{width:100%;min-width:0;justify-self:stretch}.card-dialog-list .dialog-card:hover{background-color:#c8dcf080;border-color:#64a0c840;transform:none}.card-dialog-list .dialog-row{display:none}.card-dialog-list .dialog-card-header{position:absolute;top:8px;left:8px;right:8px;width:calc(100% - 16px);display:flex;justify-content:space-between;align-items:center}.card-dialog-list .dialog-card-avatar-section{display:flex;justify-content:center;align-items:center;padding:4px 0}.card-dialog-list .dialog-card-avatar-section .avatar-wrap{width:calc(var(--profile-dialog-avatar-size) + 2px);height:calc(var(--profile-dialog-avatar-size) + 2px)}.card-dialog-list .dialog-card-info{display:flex;flex-direction:column;gap:0;width:100%;min-height:22px;align-items:center;justify-content:flex-start}.card-dialog-list .dialog-card-name{font-size:var(--profile-dialog-name-size);font-weight:600;line-height:1.2;color:#1f2937;margin:0;padding:0;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.card-dialog-list .dialog-card-id{font-size:var(--profile-dialog-id-size);font-weight:400;line-height:1.2;color:#6b7280;margin:0;padding:0}.card-dialog-list .dialog-card.active{background:linear-gradient(180deg,#0074ffa8,#64c8f01f);border-color:#1c7df247}.card-dialog-list .dialog-card.unread{background:linear-gradient(180deg,#f40000cc,#ec0303e5);border-color:#dc2626c2;box-shadow:inset 0 0 0 1px #dc262647;animation:unread-critical-glow 1.05s ease-in-out infinite;will-change:opacity}.card-dialog-list .dialog-card.unread-system{background:linear-gradient(180deg,#ffca00f2,#fff7eaf5);border-color:#ea781cc7;box-shadow:inset 0 0 0 1px #ea781c3d;animation:unread-glow 1.1s ease-in-out infinite}.card-dialog-list .dialog-card.unread-invitation{background:linear-gradient(180deg,#112f6ef2,#143d8eeb);border-color:#4f8cffc7;box-shadow:inset 0 0 0 1px #8fbaff57,0 8px 16px #0a235847;animation:unread-glow 1.1s ease-in-out infinite}.card-dialog-list .dialog-card.unread-invitation .dialog-card-name,.card-dialog-list .dialog-card.unread-invitation .dialog-card-id{color:#eef4ff}.card-dialog-list .dialog-card.unread-critical{background:linear-gradient(180deg,#f00c,#ff0000e5);border-color:#dc2626c2;box-shadow:inset 0 0 0 1px red;animation:unread-critical-glow 1.05s ease-in-out infinite;will-change:opacity}.card-dialog-list .dialog-card.unread-critical .dialog-card-name,.card-dialog-list .dialog-card.unread-critical .dialog-card-id{color:#fff}.card-dialog-list .dialog-card.unread-critical .dialog-card-unanswered-badge{color:#fff;background:#7f000080;border-color:#ffe2e2b3}.card-dialog-list .dialog-card,.card-dialog-list .dialog-row,.card-dialog-list .avatar-wrap,.card-dialog-list .avatar-img,.card-dialog-list .avatar-fallback{transform:translateZ(0)}.conversation-head{display:flex;align-items:center;gap:12px}.toast-stack{position:fixed;bottom:18px;right:20px;z-index:80;display:grid;gap:10px;width:min(360px,calc(100vw - 32px));animation:toast-slide-up .3s ease-out}@keyframes toast-slide-up{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes toast-slide-down{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.toast-card{text-align:left;border:1px solid var(--stroke);background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:12px 14px;display:flex;gap:12px;align-items:center;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:pointer}.toast-card:focus-visible{outline:2px solid rgba(28,125,242,.7);outline-offset:2px}.toast-card .avatar-wrap{flex-shrink:0;width:40px;height:40px}.toast-card .avatar-wrap .avatar-img,.toast-card .avatar-wrap .avatar-fallback{width:40px;height:40px}.toast-card .avatar-wrap .presence-dot{left:-2px;top:-2px;width:10px;height:10px}@keyframes dialog-flash-kf{0%{background-color:#ffd23273;box-shadow:0 0 0 2px #ffb400b3}60%{background-color:#ffd2322e;box-shadow:0 0 0 2px #ffb40040}to{background-color:transparent;box-shadow:none}}.dialog-flash{animation:dialog-flash-kf 1.6s ease-out forwards}@keyframes profile-overdue-flash-kf{0%{box-shadow:0 0 #dc262600,0 0 #dc262600}8%{box-shadow:0 0 0 5px #dc26268c,0 0 32px #dc262680}78%{box-shadow:0 0 0 4px #dc26265c,0 0 22px #dc262659}to{box-shadow:0 0 #dc262600,0 0 #dc262600}}.profile-card-overdue-flash{animation:profile-overdue-flash-kf 5s ease-out}.toast-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.toast-content strong{font-size:.9rem;line-height:1.2}.toast-content>div{font-size:.85rem;line-height:1.3}.toast-close{width:24px;height:24px;border-radius:50%;border:1px solid var(--stroke);background:#fff;color:var(--text);display:grid;place-items:center;font-size:.75rem;cursor:pointer;flex-shrink:0;padding:0}.composer-tools{display:flex;width:100%;flex-wrap:wrap;gap:7px;align-items:center}.composer-tools .primary{margin-left:auto}.composer-send-btn{padding:.3rem .55rem;min-width:40px}.composer-send-btn .send-icon{display:inline;font-size:1.05rem;line-height:1}.menu-wrap{position:relative}.templates-menu-wrap .dropdown-menu,.attachment-menu-wrap .dropdown-menu{left:0;right:auto}.icon-btn{border-radius:12px;border:1px solid var(--stroke);background:#fff;font-weight:700;color:#24314f}.dropdown-menu{position:absolute;right:0;bottom:calc(100% + 8px);border:1px solid var(--stroke);border-radius:14px;background:#fff;box-shadow:var(--shadow);min-width:220px;max-height:240px;overflow:auto;padding:8px;display:grid;gap:4px;z-index:40}.dropdown-item{text-align:left;border-radius:10px;border:0;background:transparent;padding:.5rem .6rem;color:#24314f}.dropdown-item.media-option{display:flex;align-items:center;gap:8px}.dropdown-item.media-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item:hover{background:#1c7df214}.dropdown-empty{padding:.5rem .6rem;color:var(--muted)}.media-dropdown{min-width:260px}.dropdown-group-title{padding:.45rem .6rem .25rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:#40527d;font-weight:700}.pending-media-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:.55rem .7rem;border:1px dashed rgba(28,125,242,.35);border-radius:12px;background:#1c7df214;color:#22345a;margin-bottom:8px;min-width:0}.chat-suggestions-panel{position:relative;display:flex;flex-direction:column;gap:0;padding:.2rem .5rem .3rem;border-radius:14px;border:1px solid rgba(28,125,242,.18);background:linear-gradient(180deg,#ebf4fff2,#f7fafffa);overflow:visible;z-index:3}.chat-suggestions-body{position:absolute;left:0;right:0;bottom:calc(100% - 6px);padding:.7rem .75rem;border-radius:14px;border:1px solid rgba(28,125,242,.18);background:linear-gradient(180deg,#ebf4fffa,#f7fafffe);box-shadow:0 18px 40px #16376e29;opacity:0;visibility:hidden;transform:translateY(12px) scaleY(.92);transform-origin:bottom center;transition:opacity .2s ease,transform .24s ease,visibility 0s linear .24s;pointer-events:none}.chat-suggestions-body.is-open{opacity:1;visibility:visible;transform:translateY(0) scaleY(1);transition:opacity .2s ease,transform .24s ease,visibility 0s linear 0s;pointer-events:auto}.chat-suggestions-body-inner{display:grid;gap:8px}.chat-suggestions-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-suggestions-header strong{font-size:.84rem;color:#203252}.chat-suggestions-toggle{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:.15rem 0;background:transparent;border:0;color:inherit}.chat-suggestions-chevron{font-size:.95rem;color:#3d5b8e;transition:transform .24s ease}.chat-suggestions-chevron.is-open{transform:rotate(180deg)}.chat-suggestions-refresh{padding:.19rem .6rem;flex:0 0 auto;font-size:14px}.chat-suggestions-list{display:grid;gap:6px}.chat-suggestion-btn{display:grid;gap:4px;text-align:left;border:1px solid rgba(28,125,242,.14);border-radius:12px;background:#fff;color:#203252;padding:.65rem .75rem}.chat-suggestion-btn:hover{background:#1c7df20f;border-color:#1c7df23d}.chat-suggestion-badge{font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#0c5ecf}.chat-suggestions-empty,.chat-suggestions-error{font-size:.8rem;color:#52627f}.chat-suggestions-error{color:#a43d3d}.pending-media-chip-content{display:flex;align-items:center;gap:8px;min-width:0}.pending-media-chip-content span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-thumb{width:56px;height:42px;border-radius:8px;object-fit:cover;border:1px solid var(--stroke);background:#eef3ff;flex:0 0 auto}.media-thumb-fallback{display:grid;place-items:center;color:#486287;font-size:.72rem;font-weight:700;text-align:center;padding:4px}.media-thumb.small{width:34px;height:26px}.media-audio-thumb{display:grid;place-items:center;font-weight:800;color:#355793;background:linear-gradient(135deg,#1c7df22e,#14b87a2e)}.media-row-main{display:flex;gap:10px;align-items:flex-start}.media-row-check{width:auto;margin:0}.media-row-check input{width:18px;height:18px}.media-profile-filter-chip{display:inline-flex;align-items:center;gap:8px;min-width:0}.media-profile-filter-chip>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}.media-profile-filter-chip .avatar-wrap{width:24px;height:24px;flex:0 0 24px}.media-profile-filter-chip .avatar-img,.media-profile-filter-chip .avatar-fallback{width:24px;height:24px;font-size:.72rem}.media-stats-popup{width:100%;border:1px solid var(--stroke);background:#ffffffeb;border-radius:14px;padding:10px;margin-top:8px}.media-stats-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.media-stats-row{border:1px solid var(--stroke);border-radius:10px;background:#ffffffbf;padding:8px}.templates-section{margin-top:6px}.templates-tabs-row{display:flex;gap:8px;flex-wrap:wrap}.templates-tab-btn{border-radius:12px;border:1px solid var(--stroke);background:#fff;color:#29406a;font-weight:700;padding:.45rem .75rem}.templates-tab-btn.active{border-color:#1d6dd385;background:#e1f0fff2;color:#103f7a}.media-library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;border-bottom:1px solid var(--stroke);padding:8px;margin:4px 0;max-height:140px;overflow-y:auto}.media-library-item{border:1px solid var(--stroke);background:transparent;border-radius:8px;padding:2px;cursor:pointer;overflow:hidden}.media-library-item:hover{border-color:#1c7df2;box-shadow:0 0 8px #1c7df233}.media-library-popup-backdrop{z-index:150}.media-library-popup-card{width:min(980px,96vw);max-height:min(86vh,760px);display:grid;gap:12px}.media-library-popup-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.media-library-popup-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;min-height:0;max-height:calc(86vh - 120px)}.media-library-popup-tabs{border:1px solid var(--stroke);border-radius:14px;background:#f6faffe6;padding:8px;display:grid;gap:6px;align-content:start}.media-library-popup-tab{text-align:left;border:1px solid transparent;border-radius:10px;background:transparent;color:#29406a;font-weight:700;padding:.5rem .6rem}.media-library-popup-tab.active{border-color:#1d6dd366;background:#e1f0fff2;color:#103f7a}.media-library-popup-main{border:1px solid var(--stroke);border-radius:14px;background:#fffffff0;padding:10px;overflow-y:auto;min-height:0}.media-library-popup-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.media-library-popup-item{border:1px solid rgba(123,155,224,.34);border-radius:12px;background:#fafdfffa;padding:6px;display:grid;gap:6px;text-align:left}.media-library-popup-item:hover{border-color:#1c7df294;box-shadow:0 0 0 2px #1c7df21f}.media-library-popup-item .media-thumb{width:100%;height:112px;border-radius:10px}.media-library-popup-item span{font-size:.78rem;color:#243963;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-popup-card{width:min(880px,95vw);max-height:min(86vh,760px);display:grid;gap:12px}.picker-grid{border:1px solid var(--stroke);border-radius:14px;background:#fffffff0;padding:10px;overflow-y:auto;min-height:140px;max-height:min(70vh,620px);display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.picker-item{border:1px solid rgba(123,155,224,.34);border-radius:12px;background:#fafdfffa;padding:6px;display:grid;gap:6px;text-align:left}.picker-item:hover{border-color:#1c7df294;box-shadow:0 0 0 2px #1c7df21f}.picker-thumb{width:100%;height:112px;border-radius:10px;border:1px solid var(--stroke);object-fit:cover;background:#eef3ff}.picker-thumb-fallback{display:grid;place-items:center;font-size:1.25rem}.picker-item span{font-size:.78rem;color:#243963;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticker-pack-list{border:1px solid var(--stroke);border-radius:14px;background:#fffffff0;padding:12px;overflow-y:auto;min-height:180px;max-height:min(62vh,540px);display:grid;gap:18px}.sticker-pack-section{display:grid;gap:10px}.sticker-pack-title{position:sticky;top:-12px;z-index:1;padding:9px 4px 7px;background:linear-gradient(180deg,#fffffffa,#ffffffe0);color:#18315f;font-weight:800;letter-spacing:0}.sticker-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}.sticker-picker-item{min-width:0;border:1px solid rgba(123,155,224,.34);border-radius:12px;background:#fafdfffa;padding:8px;display:grid;justify-items:center;gap:7px;text-align:center;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.sticker-picker-item:hover{border-color:#1c7df294;box-shadow:0 0 0 2px #1c7df21f;transform:translateY(-1px)}.sticker-picker-item span{width:100%;color:#243963;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticker-preview{width:76px;height:76px;display:block;border-radius:10px;object-fit:contain}.sticker-preview-fallback{display:grid;place-items:center;background:#eef3ff;font-size:1.5rem}.sticker-preview-sprite{background-repeat:no-repeat;background-position:0 50%;background-size:auto 100%;animation:sticker-sprite 1.35s steps(var(--sticker-steps, 31)) infinite}.sticker-pack-nav{border:1px solid rgba(123,155,224,.28);border-radius:14px;background:#f7fafff5;padding:8px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin}.sticker-pack-nav-item{flex:0 0 auto;width:82px;min-height:74px;border:1px solid rgba(123,155,224,.3);border-radius:12px;background:#fff;padding:6px;display:grid;justify-items:center;gap:4px;color:#243963}.sticker-pack-nav-item:hover{border-color:#1c7df28c;box-shadow:0 0 0 2px #1c7df21a}.sticker-pack-nav-preview.sticker-preview{width:34px;height:34px;border-radius:7px}.sticker-pack-nav-item span{width:100%;font-size:.66rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes sticker-sprite{0%{background-position:0 50%}to{background-position:100% 50%}}.bubble-inline-sticker.sticker-preview{width:112px;height:112px;max-width:40vw}.payments-section{margin-top:6px}.payments-curator-tabs{overflow-x:auto;padding-bottom:4px}.payments-controls{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:end}.payments-revshare-controls{align-items:end}.payments-schedule-editor{border:1px solid var(--stroke);border-radius:16px;background:#ffffffad;padding:14px}.payments-schedule-head{display:grid;gap:4px;margin-bottom:10px}.payments-datetime-column,.payments-end-row{display:grid;gap:10px}.payments-notify-toggle{min-height:60px;align-content:center}.payments-schedule-actions{display:flex;gap:8px;align-items:center}.payments-table-wrap{overflow:auto;border:1px solid var(--stroke);border-radius:16px;background:#ffffffbd}.payments-table{width:100%;border-collapse:collapse}.payments-table th,.payments-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--stroke);font-size:.92rem}.payments-table th{font-family:Space Grotesk,sans-serif;letter-spacing:.03em;font-weight:700;color:#243963}.payments-table tr:last-child td{border-bottom:0}.payments-row-actions{display:flex;gap:8px}@media(max-width:820px){.payments-controls{grid-template-columns:1fr}.payments-schedule-actions,.payments-row-actions{flex-wrap:wrap}.payments-table th,.payments-table td{white-space:nowrap}}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700;letter-spacing:.02em}.status-pill.pending{background:#ffcb573d;color:#7c5a00}.status-pill.processing{background:#2c77f233;color:#113f89}.status-pill.applied{background:#17b97833;color:#0f5b41}.status-pill.failed{background:#e0475d2e;color:#8a2233}.status-pill.canceled{background:#7b8ba938;color:#3b4a67}.status-pill.sent{background:#1aa67f2e;color:#0c5a44}.status-pill.skipped{background:#8e724c29;color:#6d4c18}.payments-result-note{margin-top:6px;color:#253963c7;font-size:.78rem;line-height:1.35;white-space:normal}.template-row{align-items:flex-start}.media-profile-gallery-modal{width:min(980px,96vw);max-height:min(88vh,760px);display:grid;gap:12px}.media-profile-gallery-head{display:inline-flex;align-items:center;gap:10px}.media-profile-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;overflow-y:auto;max-height:min(70vh,620px)}.media-profile-gallery-item{border:1px solid var(--stroke);border-radius:12px;padding:8px;background:#ffffffc7;display:grid;gap:6px}.media-profile-gallery-item .media-thumb{width:100%;height:120px}.speech-translate-popup{position:absolute;left:0;right:0;bottom:calc(100% - 70px);height:395px;z-index:24;border:1px solid rgba(28,125,242,.32);border-radius:14px;background:#ecf5fff0;padding:10px;display:grid;gap:10px;grid-template-rows:auto 1fr auto;box-shadow:0 18px 32px #1135762e}.speech-translate-head{display:flex;gap:10px;align-items:end;justify-content:space-between}.speech-translate-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;width:100%}.speech-translate-controls select{min-width:0;max-width:156px;padding:.3rem 1rem}.speech-translate-grid{display:grid;gap:10px}.speech-translate-grid textarea{height:100px;min-height:100px;max-height:100px;resize:none}.speech-translate-actions{justify-content:flex-end;gap:8px;margin-top:auto;padding-top:2px}.appearance-grid-compact .speech-translate-popup{bottom:calc(100% - 67px);height:419px}.appearance-grid-compact .speech-translate-controls select{max-width:110px}.appearance-grid-compact .speech-translate-head{display:block;gap:10px;align-items:flex-start}.appearance-grid-compact .speech-translate-controls{justify-content:flex-start;margin-top:6px}.appearance-grid-compact .speech-translate-grid{grid-template-columns:none;gap:4px}.appearance-grid-compact .speech-translate-grid textarea{height:110px;min-height:110px;max-height:110px}.appearance-grid-compact .speech-translate-actions{justify-content:stretch}.appearance-grid-compact .speech-translate-actions>button{flex:1 1 0}.appearance-grid-very-compact .speech-translate-popup{bottom:calc(100% - 127px);height:427px}.appearance-grid-very-compact .speech-translate-head{display:flex;flex-direction:column;align-items:flex-start}.appearance-grid-very-compact .speech-translate-grid{display:grid;grid-template-columns:none;gap:3px}.appearance-grid-very-compact .speech-translate-grid textarea{min-height:92px;height:84px;max-height:49px}.appearance-grid-very-compact .speech-translate-controls select{max-width:79px;padding:.2rem}.appearance-grid-very-compact .speech-translate-actions{justify-content:stretch;gap:6px}.appearance-grid-very-compact .speech-translate-actions>button{flex:1 1 0}@media(max-width:640px){.speech-translate-popup{left:-2px;right:-2px;bottom:calc(100% + 6px);height:auto}.speech-translate-grid{grid-template-columns:1fr}}.avatar-wrap{position:relative;width:34px;height:34px;flex:0 0 34px}.avatar-img,.avatar-fallback{width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.avatar-img{width:52px;height:52px;object-fit:cover;background:#f2f4ff}.avatar-fallback{width:52px;height:52px;background:linear-gradient(135deg,#1c7df238,#14b87a38);color:#12447b;font-weight:800}.avatar-vip-crown{position:absolute;left:50%;top:-8px;transform:translate(-50%);display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;box-shadow:0 1px 2px #0f172a4d;font-size:11px;line-height:1;z-index:6;pointer-events:none}.card-dialog-list .avatar-vip-crown{left:50%;top:-7px;width:8px;height:8px;font-size:17px;z-index:6}.presence-dot{position:absolute;right:-1px;bottom:-1px;width:9px;height:9px;border-radius:50%;border:2px solid #fff}.card-dialog-list .dialog-card strong{font-size:var(--profile-dialog-name-size);line-height:1.2}.card-dialog-list .presence-dot{left:6px;top:6px;right:auto;bottom:auto;width:10px;height:10px;z-index:4;border:2px solid rgba(255,255,255,.95);box-shadow:0 0 0 1px #0f172a2e}.card-dialog-list .dialog-card .muted{font-size:var(--profile-dialog-id-size)}.card-message-panel .panel-header h2{font-size:1rem;line-height:1.2}.card-message-panel .panel-header .eyebrow{font-size:.65rem;margin-bottom:2px}.presence-dot.online{background:#17b978}.presence-dot.offline{background:#9aa7c4}@media(max-width:1200px){.app-header-with-nav{flex-direction:column;align-items:stretch}.header-nav-stack{width:100%}.header-actions{justify-content:space-between}.live-grid,.dashboard-grid{grid-template-columns:1fr}.chat-layout{flex-direction:column}.dialog-list-panel{width:100%;flex-basis:auto}.inbox-layout{grid-template-columns:1fr}.superadmin-profile-toolbar{align-items:stretch}.superadmin-profile-toolbar .search-shell{width:100%}.card-chat-layout{flex-direction:row;align-items:stretch;gap:6px;--profile-dialog-sidebar-lift: 28px;--profile-dialog-sidebar-extra-top: 10px;height:min(58vh,var(--profile-chat-layout-height));min-height:min(58vh,var(--profile-chat-layout-height));max-height:min(58vh,var(--profile-chat-layout-height))}.card-dialog-list{width:var(--profile-dialog-sidebar-max-width);flex:0 0 var(--profile-dialog-sidebar-max-width);max-width:var(--profile-dialog-sidebar-max-width);height:calc(100% + var(--profile-dialog-sidebar-lift) + var(--profile-dialog-sidebar-extra-top));margin-top:calc((var(--profile-dialog-sidebar-lift) + var(--profile-dialog-sidebar-extra-top)) * -1);padding:4px;border-radius:12px;box-shadow:none}.card-dialog-list .dialog-list{height:100%;min-height:0;overflow-y:auto;gap:4px}.card-dialog-list .dialog-card{min-height:var(--profile-dialog-card-min-height);padding:var(--profile-dialog-card-padding-y) var(--profile-dialog-card-padding-x);border-radius:12px}.card-message-panel{min-width:0;width:0;flex:1 1 auto}.card-message-panel .messages-stack{min-height:280px;max-height:320px}}@media(max-width:760px){.appearance-modal-backdrop{padding:12px}.appearance-modal-card{width:100%;max-height:92vh;border-radius:24px}.appearance-modal-head,.appearance-modal-scroll,.appearance-modal-actions{padding-left:16px;padding-right:16px}.appearance-settings-grid.two-up{grid-template-columns:1fr}.appearance-setting-desktop-only{display:none}.profile-card-grid{grid-template-columns:1fr}.header-search-popover{left:auto;right:0;transform:none;width:min(320px,calc(100vw - 20px));max-width:calc(100vw - 20px)}.name-edit-inline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;width:100%;min-width:0}.name-edit-inline input{width:100%;min-width:0}.auth-shell,.app-shell{padding:14px}.toast-stack{right:14px;bottom:auto;top:12px;animation:toast-slide-down .3s ease-out}.composer{grid-template-columns:1fr}.profile-card{padding:8px;border-radius:14px}.profile-card-head{align-items:flex-start}.profile-card-title{width:100%;gap:6px;align-items:flex-end;text-align:right}.profile-card-identity-row{align-items:baseline;gap:6px;flex-wrap:nowrap;width:100%;justify-content:flex-end}.profile-card-name{max-width:none;white-space:nowrap}.profile-card-subtitle{font-size:.72rem;flex:0 0 auto}.profile-card-name-row-actions{width:100%;justify-content:flex-end;gap:6px}.card-chat-layout{flex-direction:row;align-items:stretch;gap:6px;--profile-dialog-sidebar-lift: 42px;--profile-dialog-sidebar-extra-top: 22px;height:59vh;min-height:59vh;max-height:59vh}.card-dialog-list{width:98px;flex:0 0 98px;height:calc(100% + var(--profile-dialog-sidebar-lift) + var(--profile-dialog-sidebar-extra-top));align-self:stretch;margin-top:calc((var(--profile-dialog-sidebar-lift) + var(--profile-dialog-sidebar-extra-top)) * -1);margin-bottom:0;padding:0 4px;border-radius:12px;box-shadow:none}.card-dialog-list .search-input{min-height:30px;padding:.34rem .45rem;font-size:.76rem}.card-dialog-list .dialog-list{max-height:none;height:100%;min-height:0;overflow-y:auto;gap:5px}.card-dialog-list .dialog-card{width:100%;min-width:auto;max-width:none;min-height:98px;margin-top:4px;padding:var(--profile-dialog-card-padding-y) var(--profile-dialog-card-padding-x);border-radius:14px;background:#c8dcf059;border:1px solid rgba(100,160,200,.15);touch-action:manipulation;display:flex;flex-direction:column;align-items:center;justify-content:center}.profile-chat-search-popover{position:fixed;left:12px;right:12px;top:auto;width:auto;max-width:none}.card-dialog-list .dialog-row{display:none}.card-dialog-list .avatar-wrap{width:calc(var(--profile-dialog-avatar-size) + 2px);height:calc(var(--profile-dialog-avatar-size) + 2px);background:transparent;box-shadow:none}.card-dialog-list .avatar-fallback{border:none;box-shadow:none}.card-dialog-list .dialog-card-name{font-size:var(--profile-dialog-name-size);line-height:1.2}.card-dialog-list .dialog-card-header{top:6px;left:6px;right:6px;width:calc(100% - 12px);z-index:4}.card-dialog-list .dialog-card-favorite-pin{position:static;margin-left:auto;font-size:14px;cursor:pointer;opacity:.5;transition:opacity .2s ease;line-height:1}.card-dialog-list .dialog-card-favorite-pin:hover{opacity:.8}.card-dialog-list .dialog-card-favorite-pin.active{opacity:1}.card-message-panel{padding:8px;border-radius:12px;min-height:0;height:100%}.card-message-panel .composer{gap:6px}.card-message-panel .composer textarea{height:67px;min-height:67px;max-height:67px}.card-message-panel .composer-tools{position:sticky;bottom:0;z-index:5;background:#fffffff5;padding-top:4px}.pending-media-chip{margin-bottom:2px}.media-library-popup-card{width:calc(100vw - 10px);max-height:calc(100vh - 10px);border-radius:12px;padding:12px}.media-library-popup-layout{grid-template-columns:1fr;max-height:calc(100vh - 130px)}.media-library-popup-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.media-library-popup-tab{text-align:center;font-size:.76rem;padding:.45rem .4rem}.media-library-popup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.picker-popup-card{width:calc(100vw - 10px);max-height:calc(100vh - 10px);border-radius:12px;padding:12px}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100vh - 160px)}.sticker-pack-list{max-height:calc(100vh - 235px);padding:10px}.sticker-pack-nav-item{width:70px}.sticker-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sticker-preview{width:64px;height:64px}.media-library-popup-item .media-thumb{height:98px}.speech-translate-head{flex-direction:column;align-items:stretch}.speech-translate-grid{grid-template-columns:1fr}.media-profile-gallery-modal{width:calc(100vw - 10px);max-height:calc(100vh - 10px);border-radius:12px;padding:12px}.media-profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.templates-tabs-row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.templates-tab-btn{flex:0 0 auto}.media-profile-filter-chip>span{max-width:115px}.template-row{grid-template-columns:1fr;gap:10px}.template-row .actions-row{width:100%;justify-content:flex-start}.media-row-main{min-width:0}.media-row-main>div{min-width:0}.media-row-main strong,.media-row-main .muted{overflow-wrap:anywhere}.picker-thumb{height:98px}.card-message-panel .messages-stack{min-height:120px;max-height:372px}.card-message-panel .icon-btn,.card-message-panel .chat-favorite-btn,.card-message-panel .chat-copy-btn,.card-message-panel .chat-attendee-info-btn,.card-message-panel .chat-close-btn,.card-message-panel .favorite-filter-btn{min-width:24px;min-height:24px;touch-action:manipulation}.composer-send-btn{min-width:38px;width:38px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}.composer-send-btn .send-label{display:none}.composer-send-btn .send-icon{display:inline;font-size:1rem;line-height:1}.bubble{max-width:88%}.archive-layout{display:block}.archive-mobile-hidden{display:none!important}.archive-back-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:#2563eb;font-size:.95rem;font-weight:600;padding:6px 0 10px;cursor:pointer;touch-action:manipulation}.archive-back-btn:active{opacity:.7}.archive-profile-filter{display:grid;gap:6px;margin-bottom:8px}.archive-profile-filter span{font-size:.78rem;font-weight:700;color:#1f335e}.archive-profile-filter select{min-height:34px;border-radius:10px;border:1px solid rgba(80,122,197,.34);padding:.35rem .5rem;background:#fff}.dialog-notes-layout{grid-template-columns:1fr;min-height:0}.dialog-notes-scroll{max-height:34vh}}@media(max-width:760px){.live-grid{display:flex;flex-direction:column}.live-column.overdue{order:-1}.live-modal-backdrop{padding:4px}.live-modal-chat{width:100%;max-width:100%;height:calc(100vh - 8px);border-radius:12px}.live-modal-chat .card-chat-layout{--profile-chat-layout-height: auto;height:100%;max-height:none;min-height:0}.live-modal-chat .card-message-panel{height:100%;min-height:0}.live-modal-chat .panel-header{padding:8px 10px}.live-modal-chat .composer{padding:6px 10px;gap:6px}.live-modal-chat .composer-tools{gap:6px}.live-modal-chat .card-message-panel .composer textarea{height:67px;min-height:67px;max-height:67px;padding:.45rem .6rem}.live-modal-chat .card-message-panel .messages-stack{min-height:0;max-height:none;height:100%;padding:8px 10px 10px}}
