@import "https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap";:root{--font-sans:"Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--color-bg:#f6f7fb;--color-surface:#fff;--color-sidebar:#101828;--color-sidebar-muted:#98a2b3;--color-text:#101828;--color-muted:#667085;--color-border:#eaecf0;--color-primary:#7c3aed;--color-primary-soft:#f3e8ff;--color-green:#16a34a;--color-green-soft:#ecfdf3;--color-amber:#d97706;--color-amber-soft:#fffaeb;--color-red:#dc2626;--color-red-soft:#fef2f2;--color-badge:#f2f4f7;--color-table-header:#f8fafc;--color-shadow:#1018280a;color:var(--color-text);background:var(--color-bg);font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root[data-theme=dark]{--color-bg:#0f172a;--color-surface:#111827;--color-sidebar:#020617;--color-sidebar-muted:#94a3b8;--color-text:#f8fafc;--color-muted:#94a3b8;--color-border:#263244;--color-primary-soft:#7c3aed2e;--color-green-soft:#16a34a29;--color-amber-soft:#d9770629;--color-red-soft:#dc262629;--color-badge:#1e293b;--color-table-header:#0b1220;--color-shadow:#00000038}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}#root{min-height:100vh}.login-page{background:linear-gradient(135deg, var(--color-primary-soft), transparent 42%), var(--color-bg);place-items:center;min-height:100vh;padding:32px;display:grid}.login-shell{border:1px solid var(--color-border);background:var(--color-surface);width:min(100%,980px);box-shadow:0 22px 70px var(--color-shadow);border-radius:16px;grid-template-columns:minmax(280px,.88fr) minmax(340px,1fr);display:grid;overflow:hidden}.login-brand-panel{color:#fff;background:var(--color-sidebar);align-content:center;gap:28px;min-height:520px;padding:44px;display:grid}.login-brand-panel img{width:168px;max-width:100%}.login-brand-panel p{color:var(--color-sidebar-muted);letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:800}.login-brand-panel h1{color:#fff;margin-top:8px;font-size:42px;line-height:1.08}.login-card{align-content:center;gap:20px;padding:52px;display:grid}.login-card-header{gap:6px;margin-bottom:8px;display:grid}.login-card-header p{color:var(--color-primary);letter-spacing:.12em;text-transform:uppercase;font-size:13px;font-weight:800}.login-card-header h2{color:var(--color-text);font-size:30px;line-height:1.2}.login-field{gap:8px;display:grid}.login-field span{color:var(--color-text);font-size:13px;font-weight:700}.login-field input{border:1px solid var(--color-border);width:100%;height:50px;color:var(--color-text);background:var(--color-bg);border-radius:10px;outline:0;padding:0 14px}.login-field input:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.login-password-row{align-items:center;display:flex;position:relative}.login-password-row input{padding-right:52px}.login-password-row button{width:34px;height:34px;color:var(--color-primary);background:var(--color-primary-soft);border:0;border-radius:8px;place-items:center;display:grid;position:absolute;right:8px}.login-password-row button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.login-error{color:var(--color-red);font-size:13px;font-weight:700}.login-submit{width:100%;min-height:50px;margin-top:4px}.login-button-loader{border:2px solid #ffffff6b;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite login-button-loader-spin}@keyframes login-button-loader-spin{to{transform:rotate(360deg)}}.error-dialog-lock{overflow:hidden}.error-toast-region{z-index:1200;pointer-events:none;gap:12px;width:min(100vw - 32px,420px);display:grid;position:fixed;top:20px;right:20px}.error-toast{border:1px solid var(--color-border);color:var(--color-text);background:var(--color-surface);pointer-events:auto;border-radius:8px;gap:12px;padding:16px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 42px #1018282e}.error-toast.sticky{border-color:color-mix(in srgb, var(--color-amber) 42%, var(--color-border))}.error-toast-content{grid-template-columns:minmax(0,1fr) 32px;gap:12px;display:grid}.error-toast-copy{min-width:0}.error-toast-copy strong{color:var(--color-text);font-size:14px;line-height:1.35;display:block}.error-toast-copy p{color:var(--color-muted);margin-top:4px;font-size:13px;font-weight:600;line-height:1.55}.error-toast-copy span,.error-dialog-code{color:var(--color-primary);background:var(--color-primary-soft);border-radius:999px;margin-top:10px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.error-toast-close,.error-dialog-close{color:var(--color-muted);background:0 0;border:0;place-items:center;display:grid}.error-toast-close{border-radius:8px;width:32px;height:32px}.error-toast-close:hover,.error-dialog-close:hover{color:var(--color-primary);background:var(--color-primary-soft)}.error-toast-close svg,.error-dialog-close svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.error-toast-action{min-height:34px;color:var(--color-primary);background:var(--color-primary-soft);border:0;border-radius:8px;justify-self:start;padding:0 12px;font-size:12px;font-weight:800}.error-toast-progress{background:var(--color-primary);transform-origin:0;height:3px;transition:transform .18s linear;position:absolute;bottom:0;left:0;right:0}.error-dialog-backdrop{z-index:1300;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#02061794;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.error-dialog{border:1px solid var(--color-border);width:min(100%,460px);color:var(--color-text);background:var(--color-surface);border-radius:8px;gap:18px;padding:24px;display:grid;box-shadow:0 28px 80px #02061752}.error-dialog-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.error-dialog-header p{color:var(--color-primary);letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:800}.error-dialog-header h2{color:var(--color-text);margin-top:6px;font-size:24px;line-height:1.25}.error-dialog-close{border-radius:8px;flex:none;width:36px;height:36px}.error-dialog-message{color:var(--color-muted);font-size:14px;font-weight:600;line-height:1.65}.error-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:4px;display:flex}.admin-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .18s;display:grid}.admin-shell.sidebar-collapsed{grid-template-columns:92px minmax(0,1fr)}.sidebar{color:#fff;background:var(--color-sidebar);flex-direction:column;gap:32px;padding:24px;display:flex;position:relative}.sidebar-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brand-mark{background:0 0;border-radius:8px;place-items:center;width:56px;height:38px;display:grid;overflow:hidden}.brand-mark img{border-radius:inherit;object-fit:cover;width:100%;height:100%}.brand strong,.brand span{display:block}.brand-copy{min-width:0;transition:opacity .16s,transform .16s}.brand span{color:var(--color-sidebar-muted);font-size:13px}.sidebar-collapse-button{width:34px;height:34px;color:var(--color-sidebar-muted);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:8px;flex:none;place-items:center;display:grid}.sidebar-collapse-button:hover{color:#fff;background:#ffffff1f}.sidebar-collapse-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px;transition:transform .18s;transform:rotate(180deg)}.sidebar-collapsed .sidebar-collapse-button svg{transform:rotate(0)}.nav-list{gap:8px;display:grid}.nav-list a,.nav-group-trigger{width:100%;color:var(--color-sidebar-muted);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:11px 12px;font-size:14px;font-weight:500;transition:color .16s,background .16s,padding .16s;display:flex;position:relative}.nav-icon{flex:none;place-items:center;width:18px;height:18px;display:grid}.nav-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.nav-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;transition:opacity .14s,transform .14s;overflow:hidden}.nav-chevron{place-items:center;width:18px;height:18px;margin-left:auto;transition:opacity .14s,transform .18s;display:grid}.nav-chevron svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.nav-group.active .nav-group-trigger,.nav-list a:hover,.nav-group-trigger:hover,.nav-list a.active{color:#fff;background:#ffffff1a}.nav-group-trigger[aria-expanded=true] .nav-chevron{transform:rotate(90deg)}.sub-nav{opacity:0;gap:6px;max-height:0;padding-left:16px;transition:max-height .22s,opacity .18s,padding-top .18s;display:grid;overflow:hidden}.sub-nav[data-open=true]{opacity:1;max-height:160px;padding-top:6px}.sub-nav-link{min-height:38px;font-size:13px}.sub-nav-dot{opacity:.8;background:currentColor;border-radius:999px;width:7px;height:7px}.sidebar-collapsed .sidebar{gap:26px;padding:24px 18px}.sidebar-collapsed .sidebar-head{flex-direction:column;justify-content:center;align-items:center;gap:10px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-chevron{opacity:0;pointer-events:none;width:0;transform:translate(-6px)}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .sidebar-collapse-button{position:static}.sidebar-collapsed .nav-list a,.sidebar-collapsed .nav-group-trigger{justify-content:center;padding:12px}.sidebar-collapsed .sub-nav{display:none}.sidebar-collapsed [data-tooltip]:after{z-index:40;color:#fff;background:var(--color-sidebar);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:600;transition:opacity .14s,transform .14s;position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%)translate(-4px);box-shadow:0 8px 20px #02061738}.sidebar-collapsed [data-tooltip]:hover:after{opacity:1;transform:translateY(-50%)translate(0)}.workspace{min-width:0;overflow-x:clip}.topbar{border-bottom:1px solid var(--color-border);background:var(--color-surface);justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;display:flex}.topbar-title-row{align-items:center;gap:12px;min-width:0;display:flex}.topbar-title{min-width:0}.topbar h1{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:28px;line-height:1.2;overflow:hidden}.eyebrow{color:var(--color-muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:600}.profile-button{border:1px solid var(--color-border);width:42px;height:42px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:8px;font-weight:700}.mobile-menu-button{border:1px solid var(--color-border);width:40px;height:40px;color:var(--color-text);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow);border-radius:8px;flex:none;place-items:center;display:none}.mobile-menu-button:hover{color:var(--color-primary);border-color:var(--color-primary);background:var(--color-primary-soft)}.mobile-menu-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.sidebar-backdrop{display:none}.profile-menu-wrap{position:relative}.profile-menu{z-index:20;border:1px solid var(--color-border);background:var(--color-surface);width:260px;box-shadow:0 16px 32px var(--color-shadow);border-radius:8px;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden}.profile-menu-header{border-bottom:1px solid var(--color-border);align-items:center;gap:12px;padding:16px;display:flex}.profile-menu-header>span{width:38px;height:38px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:8px;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.profile-menu-header strong,.profile-menu-header p{display:block}.profile-menu-header strong{color:var(--color-text);font-size:14px;line-height:1.3}.profile-menu-header p{color:var(--color-muted);margin-top:2px;font-size:13px}.logout-button{width:100%;color:var(--color-red);text-align:left;background:0 0;border:0;padding:13px 16px;font-weight:600}.logout-button:hover{background:var(--color-red-soft)}.topbar-actions{flex:none;align-items:center;gap:12px;display:flex}.theme-switch-wrap{color:var(--color-muted);align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.theme-switch{border:1px solid var(--color-border);background:var(--color-bg);border-radius:999px;width:54px;height:30px;padding:3px}.theme-switch-track{border-radius:inherit;background:var(--color-badge);width:100%;height:100%;display:block}.theme-switch-thumb{width:22px;height:22px;color:var(--color-primary);background:var(--color-surface);box-shadow:0 1px 3px var(--color-shadow);border-radius:999px;place-items:center;transition:transform .16s,color .16s,background .16s;display:grid}.theme-switch[aria-pressed=true] .theme-switch-track{background:var(--color-primary)}.theme-switch[aria-pressed=true] .theme-switch-thumb{color:var(--color-primary);transform:translate(24px)}.theme-switch svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:14px;height:14px}.primary-button,.secondary-button,.icon-button{border-radius:8px;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.primary-button,.secondary-button{gap:10px;min-height:44px;padding:0 18px}.primary-button svg,.secondary-button svg,.icon-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;flex:none;width:18px;height:18px}.primary-button{border:1px solid var(--color-primary);color:#fff;background:var(--color-primary);box-shadow:0 10px 20px #7c3aed2e}.primary-button:hover{filter:brightness(.96)}.secondary-button{border:1px solid var(--color-border);color:var(--color-text);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow)}.secondary-button:hover{color:var(--color-primary);border-color:var(--color-primary)}.icon-button{width:36px;height:36px;color:var(--color-muted);background:0 0;border:0}.icon-button:hover{color:var(--color-primary);background:var(--color-primary-soft)}.page-content{padding:32px}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.stat-card,.panel,.empty-state{border:1px solid var(--color-border);background:var(--color-surface);border-radius:8px;box-shadow:0 1px 2px #1018280a}.stat-card{padding:20px}.stat-card p{color:var(--color-muted);font-size:14px;font-weight:500}.stat-card strong{color:var(--color-text);margin-top:10px;font-size:30px;line-height:1;display:block}.stat-card.green{background:var(--color-green-soft)}.stat-card.green strong{color:var(--color-green)}.stat-card.blue{background:var(--color-primary-soft)}.stat-card.blue strong{color:var(--color-primary)}.stat-card.amber{background:var(--color-amber-soft)}.stat-card.amber strong{color:var(--color-amber)}.analytics-dashboard{gap:24px;display:grid}.dashboard-hero{justify-content:flex-end;align-items:flex-start;gap:20px;display:flex}.dashboard-hero h2{color:var(--color-text);font-size:30px;line-height:1.2}.dashboard-hero p{color:var(--color-muted);margin-top:8px;font-size:15px;line-height:1.5}.dashboard-actions,.dashboard-actions button,.lead-list-toolbar,.lead-list-toolbar>div{align-items:center;gap:10px;display:flex}.dashboard-actions{align-items:flex-end;position:relative}.dashboard-date-button{min-width:178px;height:56px}.dashboard-channel-select{align-items:flex-end;padding-top:20px;display:flex;position:relative}.dashboard-channel-select span{color:var(--color-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800;position:absolute;top:0;left:0}.dashboard-channel-select select{border:1px solid var(--color-border);min-width:210px;height:56px;color:var(--color-text);background:var(--color-surface);border-radius:8px;outline:0;padding:0 38px 0 12px;font-weight:700}.dashboard-channel-select select:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.dashboard-calendar-popover{z-index:50;border:1px solid var(--color-border);width:min(318px,100vw - 32px);color:var(--color-text);background:color-mix(in srgb, var(--color-surface) 96%, var(--color-bg));border-radius:12px;padding:14px;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 24px 70px #1018282e}:root[data-theme=dark] .dashboard-calendar-popover{background:#181b1f;box-shadow:0 24px 80px #0000007a}.dashboard-calendar-popover header{justify-content:space-between;align-items:center;gap:18px;display:flex}.dashboard-calendar-popover header strong{color:var(--color-text);font-size:15px;line-height:1.2}.dashboard-calendar-popover header div{align-items:center;gap:12px;display:flex}.dashboard-calendar-popover header button,.dashboard-calendar-grid button{color:var(--color-text);background:0 0;border:0}.dashboard-calendar-popover header button{border-radius:999px;place-items:center;width:26px;height:26px;font-size:26px;line-height:1;display:grid}.dashboard-calendar-popover header button:hover,.dashboard-calendar-grid button:hover{color:var(--color-primary);background:var(--color-primary-soft)}.dashboard-calendar-weekdays,.dashboard-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.dashboard-calendar-weekdays{border-bottom:1px solid var(--color-border);color:var(--color-muted);text-align:center;gap:2px;margin-top:12px;padding-bottom:7px;font-size:11px;font-weight:700}.dashboard-calendar-grid{gap:3px 2px;padding-top:9px}.dashboard-calendar-grid button{border-radius:999px;place-items:center;min-height:30px;font-size:13px;font-weight:650;display:grid}.dashboard-calendar-grid button.muted{color:color-mix(in srgb, var(--color-muted) 62%, transparent)}.dashboard-calendar-grid button.selected{color:#fff;background:var(--color-primary)}.dashboard-calendar-grid button.disabled{color:color-mix(in srgb, var(--color-muted) 32%, transparent);cursor:not-allowed}.dashboard-calendar-grid button.disabled:hover{color:color-mix(in srgb, var(--color-muted) 32%, transparent);background:0 0}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.dashboard-metric-card,.dashboard-panel{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow);border-radius:8px}.dashboard-metric-main{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:18px;display:grid}.dashboard-metric-icon{border:1px solid var(--color-border);width:42px;height:42px;color:var(--color-primary);background:var(--color-primary-soft);border-radius:8px;place-items:center;display:grid}.dashboard-metric-icon svg,.dashboard-more-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.dashboard-metric-card p,.meeting-item p{color:var(--color-muted);font-size:13px;font-weight:600}.dashboard-metric-card strong{color:var(--color-text);margin-top:4px;font-size:24px;line-height:1.1;display:block}.dashboard-change{border:1px solid color-mix(in srgb, var(--color-green) 22%, var(--color-border));min-height:28px;color:var(--color-green);background:var(--color-green-soft);border-radius:7px;padding:5px 9px;font-size:13px;font-weight:800}.dashboard-metric-card a{border-top:1px solid var(--color-border);color:var(--color-primary);padding:14px 18px;font-size:14px;font-weight:800;display:block}.dashboard-panels{grid-template-columns:minmax(0,1.7fr) minmax(320px,.95fr);gap:24px;display:grid}.dashboard-panel{min-width:0;overflow:hidden}.dashboard-panel-header{border-bottom:1px solid var(--color-border);align-items:center;gap:14px;min-height:56px;padding:0 20px;display:flex}.dashboard-panel-header h3{color:var(--color-text);font-size:17px;line-height:1.3}.dashboard-legend{color:var(--color-muted);align-items:center;gap:14px;margin-left:auto;font-size:12px;font-weight:700;display:flex}.dashboard-legend span{align-items:center;gap:6px;display:inline-flex}.dashboard-legend i{border-radius:999px;width:12px;height:8px}.legend-leads{background:var(--color-primary)}.legend-closed{background:var(--color-green)}.dashboard-more-button{width:34px;height:34px;color:var(--color-muted);background:0 0;border:0;border-radius:8px;place-items:center;margin-left:auto;display:grid}.dashboard-more-button:hover{color:var(--color-primary);background:var(--color-primary-soft)}.dashboard-chart{grid-template-columns:44px minmax(0,1fr);min-height:360px;padding:24px 20px 18px;display:grid}.chart-grid{color:var(--color-muted);grid-template-rows:repeat(7,1fr);font-size:12px;font-weight:700;display:grid}.chart-bars{border-left:1px dashed var(--color-border);background-image:linear-gradient(var(--color-border) 1px, transparent 1px);background-size:100% 48px;grid-template-columns:repeat(9,minmax(46px,1fr));align-items:end;gap:16px;padding:6px 0 0 18px;display:grid}.chart-bar-item{justify-items:center;gap:10px;display:grid}.chart-bar-item strong{color:var(--color-muted);font-size:12px}.chart-bar-track{background:var(--color-badge);border-radius:8px;width:100%;max-width:62px;position:relative;overflow:hidden}.chart-bar-closed,.chart-bar-leads{position:absolute;bottom:0;left:0;right:0}.chart-bar-closed{background:var(--color-green)}.chart-bar-leads{bottom:var(--closed-offset,0);background:repeating-linear-gradient(45deg, color-mix(in srgb, var(--color-primary) 86%, #fff), color-mix(in srgb, var(--color-primary) 86%, #fff) 3px, var(--color-primary) 3px, var(--color-primary) 6px);opacity:.82}.meeting-list{display:grid}.meeting-item{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 20px;display:grid}.meeting-item+.meeting-item{border-top:1px solid var(--color-border)}.meeting-item strong{color:var(--color-text);font-size:14px}.meeting-item>div:last-child{text-align:right}.meeting-avatar,.lead-avatar{color:#fff;border-radius:999px;place-items:center;font-size:12px;font-weight:800;display:grid}.meeting-avatar{width:38px;height:38px}.meeting-avatar.green,.lead-status.warm{background:var(--color-green)}.meeting-avatar.purple,.lead-status.hot{background:var(--color-primary)}.meeting-avatar.amber{background:var(--color-amber)}.meeting-avatar.blue,.lead-status.cold{background:#3b82f6}.meeting-avatar.red{background:var(--color-red)}.lead-list-panel{scroll-margin-top:24px}.lead-list-toolbar{justify-content:space-between;padding:16px 20px}.lead-search{border:1px solid var(--color-border);width:min(360px,100%);height:42px;color:var(--color-muted);background:var(--color-bg);border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.lead-search input{width:100%;color:var(--color-text);font:inherit;background:0 0;border:0;outline:0}.dashboard-table-scroll{padding:0 20px 20px;overflow-x:auto}.dashboard-lead-table{border-collapse:collapse;width:100%;min-width:900px}.dashboard-lead-table th{color:var(--color-muted);background:var(--color-table-header);text-align:left;font-size:12px;font-weight:800}.dashboard-lead-table th,.dashboard-lead-table td{border-bottom:1px solid var(--color-border);padding:14px 16px}.dashboard-lead-table td{color:var(--color-text);font-size:13px;font-weight:650}.dashboard-lead-table td:first-child{align-items:center;gap:10px;display:flex}.lead-avatar{background:var(--color-primary);width:30px;height:30px}.lead-status{color:#fff;border-radius:999px;justify-content:center;min-width:56px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.panel{padding:24px}.panel.wide{grid-column:1/-1}.panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.panel h2,.empty-state h2{margin-top:4px;font-size:22px}.muted{color:var(--color-muted);line-height:1.7}.empty-state{text-align:center;padding:48px 24px}.channels-page{gap:28px;display:grid}.page-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.page-heading h2{color:var(--color-text);font-size:28px;line-height:1.2}.page-heading p{color:var(--color-muted);margin-top:6px;font-size:16px}.page-actions{flex:none;align-items:center;gap:12px;display:flex}.channels-table-card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow);border-radius:8px;overflow:hidden}.table-scroll{overflow-x:auto}.channels-table{border-collapse:collapse;width:100%;min-width:980px}.channels-table th,.channels-table td{text-align:left;vertical-align:middle;padding:22px 24px}.channels-table th{color:var(--color-muted);background:var(--color-table-header);border-bottom:1px solid var(--color-border);letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:700}.channels-table tbody tr+tr td{border-top:1px solid var(--color-border)}.channel-table-message{color:var(--color-muted);text-align:center;font-size:14px;font-weight:700}.channel-name-cell{align-items:center;gap:14px;min-width:260px;display:flex}.channel-name-cell strong,.channel-name-cell span{display:block}.channel-name-cell strong{color:var(--color-text);font-size:16px;line-height:1.35}.channel-name-cell span{color:var(--color-muted);margin-top:2px;font-size:13px}.channel-glyph{border:1px solid var(--color-green);width:44px;height:44px;color:var(--color-green);background:var(--color-green-soft);border-radius:8px;flex:none;place-items:center;display:grid}.channel-glyph.disconnected{border-color:var(--color-red);color:var(--color-red);background:var(--color-red-soft)}.channel-glyph-image{padding:6px;overflow:hidden}.channel-glyph-image img{object-fit:cover;border-radius:6px;width:100%;height:100%}.channel-glyph svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:24px;height:24px}.channel-glyph svg path:first-child{fill:currentColor;opacity:.12}.channel-actions{display:inline-flex;position:relative}.channel-action-menu{z-index:1300;border:1px solid var(--color-border);background:var(--color-surface);min-width:220px;box-shadow:0 18px 38px var(--color-shadow);border-radius:8px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.channel-action-menu button{width:100%;min-height:40px;color:var(--color-text);text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:0 10px;font-size:13px;font-weight:700;display:flex}.channel-action-menu button:hover{color:var(--color-primary);background:var(--color-primary-soft)}.channel-action-menu svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:17px;height:17px}.badge{max-width:180px;min-height:30px;color:var(--color-text);background:var(--color-badge);white-space:nowrap;border-radius:999px;align-items:center;padding:5px 12px;font-size:13px;font-weight:700;line-height:1.2;display:inline-flex}.id-badge{color:var(--color-primary);background:var(--color-primary-soft)}.type-badge{color:var(--color-muted)}.status-pill{min-width:130px;color:var(--color-muted);white-space:nowrap;align-items:center;gap:10px;font-size:15px;font-weight:700;display:inline-flex}.status-pill span{background:currentColor;border-radius:999px;width:10px;height:10px}.status-pill.active{color:var(--color-green)}.status-pill.disconnected{color:var(--color-red)}.date-cell{color:var(--color-muted);white-space:nowrap;font-weight:500}.channel-shimmer-block{background:var(--color-badge);border-radius:999px;display:block;position:relative;overflow:hidden}.channel-shimmer-block:after{content:"";background:linear-gradient(90deg,#0000,#ffffff9e,#0000);animation:1.1s linear infinite channel-shimmer;position:absolute;inset:0;transform:translate(-100%)}.channel-shimmer-icon{border-radius:8px;flex:none;width:44px;height:44px}.channel-shimmer-title{width:180px;height:17px}.channel-shimmer-subtitle{width:120px;height:13px;margin-top:8px}.channel-shimmer-badge{width:128px;height:30px}.channel-shimmer-status{width:116px;height:18px}.channel-shimmer-date{width:76px;height:18px}.channel-shimmer-action{border-radius:8px;width:36px;height:36px}@keyframes channel-shimmer{to{transform:translate(100%)}}.member-create-page{gap:24px;display:grid}.member-page-heading{gap:12px;display:grid}.member-page-heading h2{color:var(--color-text);font-size:30px;line-height:1.2}.member-breadcrumb{color:var(--color-muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.member-breadcrumb a:hover{color:var(--color-primary)}.member-breadcrumb strong{color:var(--color-text)}.member-create-card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 18px 40px var(--color-shadow);border-radius:12px;position:relative;overflow:hidden}.member-card-header{color:#fff;background:radial-gradient(circle at 92% 18%, #ffffff38, transparent 26%), var(--color-primary);justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;display:flex}.member-card-header p{color:#ffffffc7;letter-spacing:.1em;text-transform:uppercase;font-size:12px;font-weight:700}.member-card-header h3{margin:4px 0 0;font-size:24px;line-height:1.2}.member-card-header>span{white-space:nowrap;background:#ffffff24;border:1px solid #ffffff47;border-radius:999px;min-height:34px;padding:8px 12px;font-size:12px;font-weight:700}.member-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;padding:28px;display:grid}.member-field{gap:8px;min-width:0;display:grid}.member-field>span{color:var(--color-text);font-size:13px;font-weight:700}.member-field>span strong{color:var(--color-red)}.member-field input,.member-field select{border:1px solid var(--color-border);width:100%;min-width:0;height:48px;color:var(--color-text);background:var(--color-bg);border-radius:10px;outline:0;padding:0 14px;transition:border-color .16s,box-shadow .16s,background .16s}.member-field select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);background-position:calc(100% - 20px) 21px,calc(100% - 13px) 21px;background-repeat:no-repeat;background-size:7px 7px;padding-right:42px}.member-field input::placeholder{color:var(--color-muted);opacity:.72}.member-field input:focus,.member-field select:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.member-field input[readonly]{color:var(--color-muted);background:var(--color-table-header);cursor:not-allowed}.member-field input[aria-invalid=true]{border-color:var(--color-red)}.member-field small{color:var(--color-red);font-size:12px;font-weight:600}.member-channel-field{border:0;grid-column:1/-1;margin:0;padding:0}.member-channel-field>span{display:block}.member-channel-panel{min-height:72px;position:relative}.member-channel-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.member-channel-option{border:1px solid var(--color-border);min-height:48px;color:var(--color-text);background:var(--color-bg);border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;font-weight:700;display:flex}.member-channel-option>span{gap:2px;display:grid}.member-channel-option strong{color:var(--color-text);font-size:13px;line-height:1.3}.member-channel-option small{color:var(--color-muted);font-size:11px;font-weight:700}.member-channel-option input{width:16px;min-width:16px;height:16px;accent-color:var(--color-primary)}.password-field{grid-column:1/-1}.password-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid}.generate-password-button{white-space:nowrap;min-height:48px}.member-active-row{align-items:end;display:flex}.member-active-toggle{min-height:48px;color:var(--color-text);align-items:center;gap:12px;font-weight:700;display:inline-flex}.member-active-toggle input{opacity:0;pointer-events:none;position:absolute}.member-active-toggle span{background:var(--color-border);border-radius:999px;width:50px;height:28px;transition:background .16s,box-shadow .16s;position:relative}.member-active-toggle span:after{background:var(--color-surface);width:20px;height:20px;box-shadow:0 1px 3px var(--color-shadow);content:"";border-radius:999px;transition:transform .16s;position:absolute;top:4px;left:4px}.member-active-toggle input:checked+span{background:var(--color-primary)}.member-active-toggle input:checked+span:after{transform:translate(22px)}.member-active-toggle input:focus-visible+span{box-shadow:0 0 0 4px var(--color-primary-soft)}.member-form-actions{justify-content:flex-end;gap:12px;padding:0 28px 28px;display:flex}.member-form-success{border:1px solid var(--color-primary);color:var(--color-primary);background:var(--color-primary-soft);border-radius:10px;margin:0 28px 28px;padding:12px 14px;font-size:13px;font-weight:700}.member-form-error{border:1px solid var(--color-red);color:var(--color-red);background:color-mix(in srgb, var(--color-red) 10%, var(--color-surface));border-radius:10px;margin:0 28px 28px;padding:12px 14px;font-size:13px;font-weight:700}.member-empty-state{justify-items:start;gap:16px;padding:28px;display:grid}.member-empty-state p{color:var(--color-muted);margin:0;font-size:14px;font-weight:600}.member-directory-page{gap:24px;display:grid}.member-directory-card{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 18px 40px var(--color-shadow);border-radius:12px;overflow:hidden}.member-directory-summary{border-bottom:1px solid var(--color-border);background:linear-gradient(135deg, var(--color-primary-soft), transparent 58%), var(--color-surface);justify-content:space-between;align-items:center;gap:20px;padding:24px;display:flex}.member-directory-summary h3{color:var(--color-text);margin:0;font-size:24px;line-height:1.2}.member-directory-summary p{color:var(--color-muted);margin-top:6px;font-size:14px;line-height:1.6}.member-table-toolbar{justify-content:flex-end;padding:18px 20px;display:flex}.member-search{width:min(100%,340px);position:relative}.member-search svg{fill:none;width:18px;height:18px;stroke:var(--color-muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.member-search input{border:1px solid var(--color-border);width:100%;height:42px;color:var(--color-text);background:var(--color-bg);border-radius:10px;outline:0;padding:0 14px 0 42px}.member-search input:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.member-table-scroll{overflow-x:auto}.member-directory-table{border-collapse:collapse;width:100%;min-width:1050px}.member-directory-table th,.member-directory-table td{text-align:left;vertical-align:middle;padding:14px 18px}.member-directory-table th{color:var(--color-muted);background:var(--color-table-header);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;font-size:11px;font-weight:700}.member-directory-table td{color:var(--color-muted);white-space:nowrap;font-size:13px;font-weight:500}.member-directory-table tbody tr+tr td{border-top:1px solid var(--color-border)}.member-directory-table tbody tr:hover td{background:var(--color-bg)}.member-directory-table td strong{color:var(--color-text);font-size:14px}.member-shimmer-index{width:22px;height:16px}.member-shimmer-name{width:150px;height:18px}.member-shimmer-email{width:190px;height:16px}.member-shimmer-phone{width:112px;height:16px}.member-shimmer-role{width:104px;height:28px}.member-shimmer-status{width:78px;height:28px}.member-shimmer-channels{align-items:center;gap:6px;display:flex}.member-shimmer-chip{width:112px;height:26px}.member-shimmer-chip.short{width:72px}.member-shimmer-action{border-radius:10px;width:36px;height:36px}.member-shimmer-toggle{width:46px;height:26px}.member-role-badge,.member-status-badge{border-radius:999px;align-items:center;min-height:28px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.member-role-badge,.member-status-badge.active{color:var(--color-primary);background:var(--color-primary-soft)}.member-status-badge.inactive{color:var(--color-muted);background:var(--color-badge)}.member-channel-list{flex-wrap:wrap;align-items:center;gap:6px;max-width:360px;display:flex}.member-channel-chip{max-width:160px;min-height:26px;color:var(--color-text);background:var(--color-bg);text-overflow:ellipsis;border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:700;display:inline-flex;overflow:hidden}.member-channel-chip.muted{color:var(--color-primary);background:var(--color-primary-soft)}.member-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.member-control-button{border:1px solid var(--color-border);width:36px;height:36px;color:var(--color-muted);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow);border-radius:10px;place-items:center;display:grid}.member-control-button:hover{color:var(--color-primary);border-color:var(--color-primary);background:var(--color-primary-soft)}.member-control-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:17px;height:17px}.member-row-toggle{align-items:center;height:36px;display:inline-flex}.member-row-toggle input{opacity:0;pointer-events:none;position:absolute}.member-row-toggle span{background:var(--color-border);border-radius:999px;width:46px;height:26px;position:relative}.member-row-toggle span:after{background:var(--color-surface);width:18px;height:18px;box-shadow:0 1px 3px var(--color-shadow);content:"";border-radius:999px;transition:transform .16s;position:absolute;top:4px;left:4px}.member-row-toggle input:checked+span{background:var(--color-primary)}.member-row-toggle input:checked+span:after{transform:translate(20px)}.flow-builder-page{gap:18px;min-height:calc(100vh - 145px);display:grid}.flow-builder-page.fullscreen{z-index:200;background:var(--color-bg);grid-template-rows:auto minmax(0,1fr);gap:12px;height:100vh;min-height:100vh;padding:18px;position:fixed;inset:0;overflow:auto}.flow-fullscreen-lock{overflow:hidden}.flow-toolbar{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 10px 24px var(--color-shadow);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.flow-name-field{gap:6px;min-width:min(100%,320px);display:grid}.flow-name-field span,.flow-config-field span{color:var(--color-muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.flow-name-field input,.flow-config-field input,.flow-config-field select,.flow-config-field textarea{border:1px solid var(--color-border);width:100%;color:var(--color-text);background:var(--color-bg);border-radius:10px;outline:0;padding:0 12px}.flow-name-field input,.flow-config-field input,.flow-config-field select{height:42px}.flow-config-field textarea{resize:vertical;min-height:88px;padding:12px}.flow-name-field input:focus,.flow-config-field input:focus,.flow-config-field select:focus,.flow-config-field textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.flow-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.flow-status-pill,.flow-save-note{border-radius:999px;align-items:center;min-height:30px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.flow-status-pill{color:var(--color-primary);background:var(--color-primary-soft)}.flow-status-pill.unsaved{color:var(--color-amber);background:var(--color-amber-soft)}.flow-save-note{color:var(--color-muted);background:var(--color-badge)}.flow-builder-workspace{grid-template-columns:236px minmax(560px,1fr);gap:14px;min-height:calc(100vh - 250px);display:grid}.flow-builder-workspace.editing-node{grid-template-columns:236px minmax(560px,1fr) 320px}.flow-builder-page.fullscreen .flow-builder-workspace{grid-template-columns:246px minmax(0,1fr);height:calc(100vh - 112px);min-height:680px}.flow-builder-page.fullscreen .flow-builder-workspace.editing-node{grid-template-columns:246px minmax(0,1fr) 340px}.flow-builder-page.fullscreen .flow-reactflow-wrap{min-height:620px}.flow-builder-page.fullscreen .flow-canvas-shell{min-height:0}.flow-builder-page.fullscreen .flow-node-library,.flow-builder-page.fullscreen .flow-config-panel{overscroll-behavior:contain;min-height:0;max-height:100%;overflow-y:auto}.flow-builder-panel,.flow-canvas-shell{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 10px 24px var(--color-shadow);border-radius:10px}.flow-builder-panel{padding:18px}.flow-builder-panel h3{color:var(--color-text);margin:4px 0 0;font-size:18px}.flow-node-library{align-content:start;gap:22px;padding:22px;display:grid}.flow-tool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;display:grid}.flow-tool-section{gap:14px;display:grid}.flow-tool-section>span{color:var(--color-primary);letter-spacing:.04em;text-transform:uppercase;font-size:16px;font-weight:800}.flow-tool-card{width:100%;min-height:126px;color:var(--color-text);text-align:center;background:0 0;border:0;border-radius:0;grid-template-columns:1fr;justify-items:center;gap:8px;padding:0;display:grid}.flow-tool-card:hover{background:0 0}.flow-tool-card strong,.flow-tool-card small{display:block}.flow-tool-card strong{color:var(--color-primary);font-size:13px;font-weight:800;line-height:1.25}.flow-tool-card small{display:none}.flow-tool-icon{border:1px solid var(--color-border);width:76px;height:76px;color:var(--color-primary);background:var(--color-surface);border-radius:10px;place-items:center;display:grid;box-shadow:0 8px 20px #10182814}.flow-tool-card:hover .flow-tool-icon{border-color:var(--color-primary);background:var(--color-primary-soft);transform:translateY(-1px)}.flow-tool-icon:before{content:"T";font-size:22px;font-weight:900}.flow-tool-icon.text_buttons:before{content:"B"}.flow-tool-icon.message:before{content:"M"}.flow-tool-icon.assign_agent:before{content:"A"}.flow-tool-icon.media_buttons:before{content:"M"}.flow-tool-icon.list_message:before{content:"L"}.flow-tool-icon.image_pdf_message:before{content:"PDF";font-size:16px}.flow-tool-icon.template_message:before{content:"TPL";font-size:15px}.flow-tool-icon.request_intervention:before{content:"RI";font-size:17px}.flow-tool-icon.condition:before{content:"IF";font-size:18px}.flow-tool-icon.ask_location:before{content:"PIN";font-size:15px}.flow-tool-icon.ask_question:before{content:"?";font-size:26px}.flow-canvas-shell{grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.flow-canvas-meta{border-bottom:1px solid var(--color-border);color:var(--color-muted);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:12px;font-weight:700;display:flex}.flow-reactflow-wrap{outline:0;min-height:720px}.flow-reactflow-wrap,.flow-reactflow-wrap .react-flow{width:100%;height:100%}.flow-reactflow-wrap .react-flow__pane{background:var(--color-surface)}.flow-reactflow-wrap .react-flow__controls,.flow-reactflow-wrap .react-flow__minimap{border:1px solid var(--color-border);background:var(--color-surface);box-shadow:0 10px 24px var(--color-shadow);border-radius:10px;overflow:hidden}.flow-reactflow-wrap .react-flow__controls-button{border-bottom:1px solid var(--color-border);color:var(--color-text);background:var(--color-surface)}.flow-reactflow-wrap .react-flow__edge-path{stroke:var(--color-primary);stroke-dasharray:7 6;stroke-linecap:round;transition:stroke .16s,stroke-width .16s,filter .16s}.flow-reactflow-wrap .react-flow__edge:hover .react-flow__edge-path,.flow-reactflow-wrap .react-flow__edge.selected .react-flow__edge-path{filter:drop-shadow(0 0 7px color-mix(in srgb, var(--color-primary) 38%, transparent));stroke:var(--color-primary);stroke-width:3px}.flow-premium-edge{pointer-events:visibleStroke}.flow-edge-delete{z-index:20;border:1px solid var(--color-border);width:24px;height:24px;color:var(--color-red);background:var(--color-surface);box-shadow:0 8px 18px var(--color-shadow);opacity:0;pointer-events:none;border-radius:999px;place-items:center;font-size:14px;font-weight:900;line-height:1;transition:opacity .14s,transform .14s;display:grid;position:absolute}.flow-edge-delete.visible,.flow-edge-delete:hover{opacity:1;pointer-events:all}.automation-node{border:1px solid var(--color-border);width:292px;color:var(--color-text);background:var(--color-surface);border-radius:10px;position:relative;overflow:visible;box-shadow:0 12px 30px #1018281f}.automation-node:before{content:"";z-index:1;background:var(--color-primary);border-radius:999px;width:12px;height:58px;position:absolute;top:12px;left:12px}.automation-node.selected{border-color:var(--color-primary);box-shadow:0 18px 36px var(--color-shadow), 0 0 0 4px var(--color-primary-soft)}.automation-node-header{background:var(--color-badge);border-radius:10px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;margin:12px 12px 10px 26px;padding:10px 12px;display:grid}.automation-node-header span{width:28px;height:28px;color:var(--color-primary);background:var(--color-surface);border-radius:8px;place-items:center;font-size:9px;font-weight:900;display:grid}.automation-node-header strong{color:var(--color-text);text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:800;overflow:hidden}.automation-node.blue{--node-accent:#2563eb}.automation-node.amber{--node-accent:var(--color-amber)}.automation-node.green{--node-accent:var(--color-green)}.automation-node.orange{--node-accent:#f97316}.automation-node.pink{--node-accent:#db2777}.automation-node.red{--node-accent:var(--color-red)}.automation-node.slate{--node-accent:var(--color-muted)}.automation-node.indigo,.automation-node.purple{--node-accent:var(--color-primary)}.automation-node:before{background:var(--node-accent,var(--color-primary))}.automation-body{color:var(--color-text);-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;padding:12px;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.automation-keywords,.automation-options,.automation-condition{gap:8px;padding:12px;display:grid}.automation-keywords{grid-template-columns:1fr;position:relative}.automation-keywords span,.automation-option-row,.automation-list-title,.automation-variable{background:color-mix(in srgb, var(--color-primary-soft) 52%, var(--color-surface));border:1px solid #7c3aed24;border-radius:6px}.automation-keywords span{min-width:0;color:var(--color-text);justify-content:space-between;align-items:center;gap:5px;padding:9px 12px;font-size:15px;font-weight:700;display:inline-flex}.automation-keywords b,.automation-option-row b{color:var(--color-muted);font-size:12px;line-height:1}.automation-option-row{background:var(--color-surface);border-color:color-mix(in srgb, var(--color-primary) 35%, var(--color-border));justify-content:center;align-items:center;min-height:44px;padding:9px 32px 9px 12px;display:flex;position:relative}.automation-option-row span{width:100%;min-width:0;color:var(--color-primary);text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:15px;font-weight:800;display:block;overflow:hidden}.automation-list-title,.automation-variable{color:var(--color-primary);margin:0 12px 10px;padding:10px 12px;font-size:14px;font-weight:800}.automation-media{border:1px solid var(--color-border);background:var(--color-bg);width:calc(100% - 24px);min-height:148px;color:var(--color-muted);border-radius:4px;place-items:center;margin:12px 12px 0;display:grid;overflow:hidden}.automation-media.image{object-fit:cover;height:148px}.automation-media.pdf{color:var(--color-red);background:var(--color-red-soft);align-content:center;gap:6px}.automation-media.pdf span{font-size:20px;font-weight:900}.automation-media.pdf small,.automation-media.empty span{color:var(--color-muted);font-size:12px;font-weight:800}.automation-condition p{color:var(--color-text);margin:0;font-size:13px}.automation-condition>div{gap:8px;display:grid}.automation-condition span{border:1px solid var(--color-border);background:var(--color-bg);color:var(--color-primary);border-radius:10px;justify-content:space-between;padding:8px 28px 8px 10px;font-size:12px;font-weight:900;display:flex;position:relative}.automation-handle{border:2px solid var(--color-surface);background:var(--color-surface);width:14px;height:14px;box-shadow:inset 0 0 0 3px var(--color-primary)}.automation-handle.input{left:-8px}.automation-handle.output{right:-8px}.automation-handle.option{right:-7px}.flow-validation{color:var(--color-red);font-size:12px;font-weight:700}.rf-flow-node{border:1px solid var(--color-border);width:210px;color:var(--color-text);background:var(--color-surface);box-shadow:0 14px 28px var(--color-shadow);border-radius:14px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:14px;display:grid;position:relative}.whatsapp-flow-node{grid-template-columns:1fr;align-items:stretch;gap:10px;width:260px}.rf-flow-node-head{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;display:grid}.rf-flow-node.selected{border-color:var(--color-primary);box-shadow:0 14px 28px var(--color-shadow), 0 0 0 4px var(--color-primary-soft)}.rf-flow-node-icon{color:#fff;background:var(--color-primary);border-radius:12px;place-items:center;width:42px;height:42px;font-size:12px;font-weight:800;display:grid}.rf-flow-node strong,.rf-flow-node p{margin:0;display:block}.rf-flow-node strong{font-size:14px}.rf-flow-node p{color:var(--color-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;font-weight:600;overflow:hidden}.node-card-preview{border:1px solid var(--color-border);background:var(--color-bg);border-radius:10px;gap:6px;padding:8px;display:grid}.node-card-preview.text span{color:var(--color-text);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.node-card-preview.media{min-height:74px;color:var(--color-muted);place-items:center;font-size:12px;font-weight:800;overflow:hidden}.node-card-preview.media img{object-fit:cover;border-radius:8px;width:100%;height:82px}.node-pdf-card{width:100%;min-height:58px;color:var(--color-red);background:var(--color-red-soft);border-radius:8px;place-items:center;font-weight:900;display:grid}.node-button-chip,.node-list-title,.node-list-row{text-overflow:ellipsis;white-space:nowrap;border-radius:8px;font-size:12px;overflow:hidden}.node-button-chip{color:#0477a7;background:var(--color-surface);text-align:center;padding:7px 9px;font-weight:800}.node-list-title{color:var(--color-primary);background:var(--color-primary-soft);padding:7px 9px;font-weight:800}.node-list-row{color:var(--color-text);background:var(--color-surface);padding:7px 9px}.rf-flow-handle{border:2px solid var(--color-surface);background:var(--color-primary);width:11px;height:11px}.flow-config-panel{align-content:start;gap:14px;display:grid}.flow-config-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.flow-config-close{border:1px solid var(--color-border);width:32px;height:32px;color:var(--color-muted);background:var(--color-bg);border-radius:8px;flex:none;place-items:center;font-size:16px;font-weight:900;display:grid}.flow-config-close:hover{color:var(--color-red);border-color:var(--color-red);background:var(--color-red-soft)}.flow-config-field{gap:8px;display:grid}.flow-file-dropzone{border:1px dashed var(--color-border);color:var(--color-text);background:var(--color-bg);cursor:pointer;border-radius:14px;gap:8px;padding:14px;display:grid}.flow-file-dropzone:hover{border-color:var(--color-primary);background:var(--color-primary-soft)}.flow-file-dropzone>span{color:var(--color-muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.flow-file-dropzone input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.flow-file-dropzone strong{border:1px solid var(--color-border);background:var(--color-surface);text-overflow:ellipsis;white-space:nowrap;border-radius:10px;padding:11px 12px;font-size:13px;overflow:hidden}.flow-file-dropzone small{color:var(--color-muted);font-size:12px;line-height:1.4}.flow-config-field small{color:var(--color-red);font-size:11px;font-weight:700}.flow-config-inline{grid-template-columns:minmax(0,1fr) 130px;gap:10px;display:grid}.flow-config-section,.flow-repeat-list{gap:10px;display:grid}.flow-helper-message{color:var(--color-amber);background:var(--color-amber-soft);border-radius:8px;padding:9px 10px;font-size:12px;font-weight:700;line-height:1.45}.flow-section-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.flow-section-head>span,.flow-repeat-title{color:var(--color-muted);letter-spacing:.05em;text-transform:uppercase;font-size:12px;font-weight:800}.flow-repeat-item{border:1px solid var(--color-border);background:var(--color-bg);border-radius:10px;gap:10px;padding:12px;display:grid}.flow-mini-button,.flow-text-button{color:var(--color-primary);background:var(--color-primary-soft);border:0;font-size:12px;font-weight:800}.flow-mini-button{border-radius:999px;min-height:30px;padding:5px 12px}.flow-text-button{border-radius:8px;justify-self:start;padding:7px 10px}.flow-icon-delete-button{border:1px solid var(--color-border);width:30px;height:30px;color:var(--color-red);background:var(--color-surface);border-radius:8px;place-items:center;font-size:15px;font-weight:900;display:grid}.flow-icon-delete-button:hover{border-color:var(--color-red);background:var(--color-red-soft)}.flow-attachment-preview{border:1px solid var(--color-border);background:var(--color-bg);border-radius:10px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.flow-attachment-preview img,.flow-pdf-preview{object-fit:cover;border-radius:8px;width:58px;height:48px}.flow-pdf-preview{color:var(--color-red);background:var(--color-red-soft);place-items:center;font-size:12px;font-weight:800;display:grid}.flow-attachment-preview strong,.flow-attachment-preview span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.flow-attachment-preview strong{color:var(--color-text);font-size:13px}.flow-attachment-preview span{color:var(--color-muted);font-size:12px}.whatsapp-preview{border:1px solid var(--color-border);background:linear-gradient(135deg, #16a34a14, transparent 42%), var(--color-bg);border-radius:12px;justify-items:end;padding:14px;display:grid}.whatsapp-bubble{color:#102a1c;background:#dcf8c6;border-radius:12px 12px 4px;gap:10px;width:min(100%,250px);padding:10px;display:grid;box-shadow:0 10px 20px #10182814}:root[data-theme=dark] .whatsapp-bubble{color:#e8fff0;background:#14532d}.whatsapp-bubble p{white-space:pre-wrap;font-size:13px;line-height:1.45}.whatsapp-media{min-height:92px;color:var(--color-muted);background:#ffffffb8;border-radius:8px;place-items:center;font-size:12px;font-weight:800;display:grid;overflow:hidden}.whatsapp-media img{object-fit:cover;width:100%;max-height:130px}.whatsapp-actions,.whatsapp-list-preview{gap:6px;display:grid}.whatsapp-actions button,.whatsapp-list-preview button{color:#0477a7;background:#ffffffeb;border:0;border-radius:8px;min-height:34px;font-size:12px;font-weight:800}.whatsapp-list-preview div{background:#ffffffc7;border-radius:8px;gap:2px;padding:8px;display:grid}:root[data-theme=dark] .whatsapp-media,:root[data-theme=dark] .whatsapp-actions button,:root[data-theme=dark] .whatsapp-list-preview button,:root[data-theme=dark] .whatsapp-list-preview div{background:#0f172aad}.whatsapp-list-preview strong,.whatsapp-list-preview span{color:inherit;font-size:12px}.whatsapp-list-preview span{opacity:.75}.flow-empty-config{border:1px dashed var(--color-border);color:var(--color-muted);background:var(--color-bg);border-radius:12px;gap:8px;padding:18px;display:grid}.flow-empty-config h3{color:var(--color-text);margin:0}.drawer-lock{overflow:hidden}.channel-config-drawer-backdrop{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0206178f;justify-content:flex-end;animation:.18s drawerBackdropIn;display:flex;position:fixed;inset:0}.channel-config-drawer{border-left:1px solid var(--color-border);width:min(78vw,1180px);height:100vh;color:var(--color-text);background:var(--color-bg);animation:.24s drawerSlideIn;overflow:hidden;box-shadow:-24px 0 48px #0206173d}.channel-config-form{grid-template-rows:auto minmax(0,1fr);height:100%;display:grid;position:relative}.channel-config-drawer-header{border-bottom:1px solid var(--color-border);background:var(--color-bg);justify-content:space-between;align-items:flex-start;gap:24px;padding:32px;display:flex}.channel-config-drawer-header h2{color:var(--color-text);font-size:34px;line-height:1.15}.channel-config-drawer-header p{color:var(--color-muted);margin-top:8px;font-size:15px;line-height:1.6}.channel-config-header-actions{flex:none;align-items:center;gap:12px;display:flex}.channel-config-close-button{border:1px solid var(--color-border);width:40px;height:40px;color:var(--color-muted);background:var(--color-surface);box-shadow:0 1px 2px var(--color-shadow);border-radius:8px;place-items:center;display:inline-grid}.channel-config-close-button:hover{color:var(--color-primary);border-color:var(--color-primary)}.channel-config-close-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:24px;height:24px}.channel-config-form-card{border:1px solid var(--color-border);background:var(--color-surface);min-height:0;box-shadow:0 16px 32px var(--color-shadow);border-radius:8px;margin:32px;padding:28px;overflow:auto}.channel-config-field-grid{gap:24px;display:grid}.channel-config-field-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.operating-grid{grid-template-columns:minmax(140px,.7fr) minmax(140px,.7fr) minmax(220px,1.6fr)}.channel-config-field{gap:10px;min-width:0;display:grid}.channel-config-field>span:first-child{color:var(--color-muted);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.channel-config-field input,.channel-config-field select,.channel-config-field textarea{border:1px solid var(--color-border);width:100%;min-width:0;color:var(--color-text);background:var(--color-bg);border-radius:8px;outline:0;padding:0 16px;font-size:15px;transition:border-color .16s,box-shadow .16s,background .16s}.channel-config-field input,.channel-config-field select{height:54px}.channel-config-field textarea{resize:vertical;min-height:118px;padding:12px 16px;line-height:1.5}.channel-config-field select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);background-position:calc(100% - 22px) 23px,calc(100% - 14px) 23px;background-repeat:no-repeat;background-size:8px 8px;padding-right:44px}.channel-config-field input::placeholder,.channel-config-field textarea::placeholder{color:var(--color-muted);opacity:.68}.channel-config-field input:focus,.channel-config-field select:focus,.channel-config-field textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 4px var(--color-primary-soft)}.channel-config-field textarea[aria-invalid=true]{border-color:var(--color-red)}.channel-config-field input[readonly]{color:var(--color-muted);background:var(--color-table-header);cursor:not-allowed}.channel-auto-reply-field{margin-top:2px}.field-with-icon,.socket-token-row{align-items:center;min-width:0;display:flex;position:relative}.field-with-icon input{padding-right:48px}.field-with-icon>svg,.field-with-icon>button{position:absolute;right:14px}.field-with-icon>svg,.field-with-icon>button svg,.token-generate-button svg,.channel-config-status-text svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.field-with-icon>svg{pointer-events:none;color:var(--color-muted)}.field-with-icon>button{width:32px;height:32px;color:var(--color-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.field-with-icon>button:hover{color:var(--color-primary);background:var(--color-primary-soft)}.socket-token-row{gap:12px}.socket-token-row input{flex:auto}.token-generate-button{flex:none;min-height:54px}.channel-config-section-label{grid-template-columns:minmax(24px,1fr) auto minmax(24px,1fr);align-items:center;gap:22px;margin:34px 0;display:grid}.channel-config-section-label span{background:var(--color-border);height:1px}.channel-config-section-label strong{color:var(--color-muted);letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;font-size:12px;font-weight:700}.channel-config-form-footer{border-top:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:18px;margin-top:34px;padding-top:28px;display:flex}.channel-config-toggle{min-width:0;color:var(--color-text);align-items:center;gap:14px;font-weight:700;display:inline-flex}.channel-config-toggle input{opacity:0;pointer-events:none;position:absolute}.channel-config-toggle span{background:var(--color-border);border-radius:999px;flex:none;width:52px;height:30px;transition:background .16s;position:relative}.channel-config-toggle span:after{background:var(--color-surface);width:20px;height:20px;box-shadow:0 1px 3px var(--color-shadow);content:"";border-radius:999px;transition:transform .16s;position:absolute;top:5px;left:5px}.channel-config-toggle input:checked+span{background:var(--color-green)}.channel-config-toggle input:checked+span:after{transform:translate(22px)}.channel-config-toggle input:focus-visible+span{box-shadow:0 0 0 4px var(--color-primary-soft)}.channel-config-status-text{color:var(--color-muted);letter-spacing:.08em;text-align:right;align-items:center;gap:10px;font-size:12px;font-weight:700;display:inline-flex}.channel-config-error{color:var(--color-red);margin-top:18px;font-size:14px;font-weight:600}.channel-config-loading-overlay{z-index:5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--color-text);background:#f6f7fbc7;flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:14px;display:flex;position:absolute;inset:0}:root[data-theme=dark] .channel-config-loading-overlay{background:#0f172ac7}.channel-config-loader{border:3px solid var(--color-primary-soft);border-top-color:var(--color-primary);border-radius:50%;width:38px;height:38px;animation:.76s linear infinite channel-config-loader-spin}@keyframes channel-config-loader-spin{to{transform:rotate(360deg)}}.channel-permission-summary{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;display:flex}.channel-permission-list{gap:18px;display:grid}.channel-permission-group{border:1px solid var(--color-border);background:var(--color-bg);border-radius:8px;gap:12px;padding:18px;display:grid}.channel-permission-group h3{color:var(--color-text);margin:0;font-size:15px;line-height:1.3}.channel-permission-group>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.channel-permission-option{border:1px solid var(--color-border);min-height:44px;color:var(--color-text);background:var(--color-surface);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:700;display:flex}.channel-permission-option input{width:16px;height:16px;accent-color:var(--color-primary)}.channel-user-permission-scroll{border:1px solid var(--color-border);background:var(--color-surface);-webkit-overflow-scrolling:touch;border-radius:8px;min-height:0;max-height:calc(100vh - 260px);overflow:auto}.channel-user-permission-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.channel-user-permission-heading h3{color:var(--color-text);margin:0;font-size:18px;line-height:1.3}.channel-user-permission-heading p{color:var(--color-muted);margin-top:4px;font-size:13px;font-weight:700}.channel-user-permission-heading .channel-permission-summary{justify-content:flex-end;margin-bottom:0}.channel-user-permission-table{border-collapse:collapse;width:100%;min-width:1180px}.channel-user-permission-table th,.channel-user-permission-table td{border-bottom:1px solid var(--color-border);border-right:1px solid var(--color-border);text-align:center;vertical-align:middle;padding:13px 14px}.channel-user-permission-table th:first-child,.channel-user-permission-table td:first-child,.channel-user-permission-table th:nth-child(2),.channel-user-permission-table td:nth-child(2),.channel-user-permission-table th:nth-child(3),.channel-user-permission-table td:nth-child(3){text-align:left}.channel-user-permission-table th:last-child,.channel-user-permission-table td:last-child{border-right:0}.channel-user-permission-table tbody tr:last-child td{border-bottom:0}.channel-user-permission-table th{color:var(--color-muted);background:var(--color-table-header);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;font-size:11px;font-weight:800}.channel-user-permission-table td{color:var(--color-muted);white-space:nowrap;font-size:13px;font-weight:600}.channel-user-permission-table td strong,.channel-user-permission-table td span{display:block}.channel-user-permission-table td strong{color:var(--color-text);font-size:14px}.channel-user-permission-table td span{color:var(--color-muted);margin-top:6px;font-size:12px}.permission-switch{align-items:center;height:28px;display:inline-flex}.permission-switch input{opacity:0;pointer-events:none;position:absolute}.permission-switch span{background:var(--color-border);border-radius:999px;width:48px;height:26px;transition:background .16s,box-shadow .16s;position:relative}.permission-switch span:after{background:var(--color-surface);width:18px;height:18px;box-shadow:0 1px 3px var(--color-shadow);content:"";border-radius:999px;transition:transform .16s;position:absolute;top:4px;left:4px}.permission-switch input:checked+span{background:var(--color-primary)}.permission-switch input:checked+span:after{transform:translate(22px)}.permission-switch input:focus-visible+span{box-shadow:0 0 0 4px var(--color-primary-soft)}@keyframes drawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes drawerBackdropIn{0%{opacity:0}to{opacity:1}}@media (width<=900px){.login-shell{grid-template-columns:1fr}.login-brand-panel{min-height:260px}.admin-shell,.admin-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{gap:18px;position:static}.sidebar-collapsed .sidebar{padding:20px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-chevron{opacity:1;pointer-events:auto;width:auto;transform:none}.sidebar-collapsed .sidebar-head{justify-content:space-between}.sidebar-collapsed .sidebar-collapse-button{position:static}.sidebar-collapsed .nav-list a,.sidebar-collapsed .nav-group-trigger{justify-content:flex-start}.sidebar-collapsed .sub-nav[data-open=true]{display:grid}.sidebar-collapsed [data-tooltip]:after{display:none}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-group{min-width:0}.sub-nav{grid-column:1/-1}.topbar,.page-content{padding:20px}.topbar{align-items:flex-start}.topbar-actions{flex-direction:column-reverse;align-items:flex-end}.dashboard-grid{grid-template-columns:1fr}.page-heading{display:grid}.page-actions{flex-wrap:wrap;width:100%}.member-form-grid{grid-template-columns:1fr;padding:20px}.member-channel-options{grid-template-columns:1fr}.member-card-header,.member-form-actions{padding:20px}.member-form-actions{flex-direction:column-reverse}.member-form-actions .primary-button,.member-form-actions .secondary-button{width:100%}.member-directory-summary,.member-table-toolbar{flex-direction:column;align-items:stretch;padding:20px}.member-search{width:100%}.flow-toolbar,.flow-toolbar-actions{flex-direction:column;align-items:stretch}.flow-name-field{min-width:0}.flow-builder-workspace{grid-template-columns:1fr;min-height:0}.flow-reactflow-wrap{min-height:520px}.primary-button,.secondary-button{flex:180px}.channel-config-drawer{width:90vw}.channel-config-drawer-header{padding:24px;display:grid}.channel-config-header-actions{flex-wrap:wrap;width:100%}.channel-config-close-button{margin-left:auto}.channel-config-form-card{margin:20px;padding:20px}.channel-config-field-grid.two-columns,.operating-grid,.channel-permission-group>div{grid-template-columns:1fr}.channel-config-form-footer{flex-direction:column;align-items:flex-start}.channel-config-status-text{text-align:left}}@media (width<=640px){.login-page{padding:18px}.login-brand-panel,.login-card{padding:28px}.login-brand-panel h1{font-size:32px}.channel-config-drawer{width:100vw}.channel-config-drawer-header h2{font-size:28px}.channel-config-header-actions .primary-button,.channel-config-header-actions .secondary-button{flex:calc(50% - 8px)}.socket-token-row{flex-direction:column;align-items:stretch}.token-generate-button{width:100%}.member-card-header{flex-direction:column;align-items:flex-start}.password-row{grid-template-columns:1fr}.generate-password-button{width:100%}}@media (width<=1200px){.admin-shell{grid-template-columns:248px minmax(0,1fr)}.admin-shell.sidebar-collapsed{grid-template-columns:84px minmax(0,1fr)}.page-content{padding:24px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-toolbar{flex-wrap:wrap;align-items:stretch}.flow-builder-workspace,.flow-builder-workspace.editing-node{grid-template-columns:220px minmax(0,1fr)}.flow-config-panel{grid-column:1/-1}.flow-reactflow-wrap{min-height:clamp(520px,58vh,680px)}}@media (width<=1024px){.mobile-sidebar-lock{overflow:hidden}.admin-shell,.admin-shell.sidebar-collapsed{min-width:0;display:block}.sidebar{z-index:70;overscroll-behavior:contain;width:min(84vw,320px);height:100dvh;padding:22px;transition:transform .22s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-100%)}.mobile-sidebar-open .sidebar{transform:translate(0)}.sidebar-backdrop{z-index:60;opacity:0;pointer-events:none;background:#0206177a;border:0;transition:opacity .18s;display:block;position:fixed;inset:0}.mobile-sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.sidebar-collapsed .sidebar{gap:22px;padding:22px}.sidebar-collapsed .sidebar-head{flex-direction:row;justify-content:space-between}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-chevron{opacity:1;pointer-events:auto;width:auto;transform:none}.sidebar-collapsed .brand,.sidebar-collapsed .nav-list a,.sidebar-collapsed .nav-group-trigger{justify-content:flex-start}.sidebar-collapsed .sub-nav[data-open=true]{display:grid}.sidebar-collapsed [data-tooltip]:after{display:none}.nav-list{grid-template-columns:1fr}.topbar{z-index:50;align-items:center;gap:12px;padding:18px 24px;position:sticky;top:0}.mobile-menu-button{display:grid}.topbar-actions{flex-direction:row;align-items:center;gap:10px}.topbar h1{max-width:42vw;font-size:24px}.page-content{width:100%;max-width:100%;padding:24px}.page-heading,.panel-header,.member-directory-summary,.channel-config-form-footer{flex-wrap:wrap;align-items:flex-start}.page-actions,.flow-toolbar-actions{flex-wrap:wrap}.channels-table-card,.member-directory-card,.panel,.member-create-card{max-width:100%}.table-scroll,.member-table-scroll{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.channels-table{min-width:860px}.member-directory-table{min-width:920px}.channel-config-drawer{width:min(92vw,760px);height:100dvh}.channel-config-drawer-header{gap:18px;padding:24px;display:grid}.channel-config-drawer-header h2{font-size:30px}.channel-config-header-actions{flex-wrap:wrap;width:100%}.channel-config-form-card{margin:20px;padding:20px}.channel-config-field-grid.two-columns,.operating-grid,.channel-permission-group>div,.member-form-grid{grid-template-columns:1fr}.member-channel-options{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-builder-page{min-height:auto}.flow-toolbar,.flow-builder-workspace,.flow-builder-workspace.editing-node{grid-template-columns:1fr}.flow-builder-workspace{min-height:0;display:grid;overflow:hidden}.flow-builder-page.fullscreen .flow-builder-workspace,.flow-builder-page.fullscreen .flow-builder-workspace.editing-node{grid-template-columns:1fr;height:auto;min-height:0;overflow:auto}.flow-node-library{max-height:360px;overflow-y:auto}.flow-reactflow-wrap,.flow-builder-page.fullscreen .flow-reactflow-wrap{min-height:clamp(460px,64vh,620px)}}@media (width<=768px){.login-shell{width:min(100%,520px)}.topbar{padding:16px 18px}.topbar h1{max-width:36vw;font-size:21px}.eyebrow{font-size:11px}.page-content{padding:18px}.dashboard-grid,.member-channel-options{grid-template-columns:1fr}.stat-card strong{font-size:26px}.page-heading h2,.member-page-heading h2{font-size:24px}.page-heading p{font-size:14px}.page-actions,.member-form-actions,.member-directory-summary,.member-table-toolbar{width:100%}.page-actions .primary-button,.page-actions .secondary-button,.member-directory-summary .primary-button,.member-form-actions .primary-button,.member-form-actions .secondary-button{flex:100%;width:100%}.panel,.stat-card,.member-form-grid,.member-card-header,.member-form-actions{padding:18px}.member-card-header h3,.member-directory-summary h3{font-size:21px}.password-row,.flow-config-inline,.flow-attachment-preview{grid-template-columns:1fr}.flow-toolbar{display:grid}.flow-toolbar-actions .primary-button,.flow-toolbar-actions .secondary-button{flex:calc(50% - 8px)}.flow-tool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.flow-tool-card{min-height:108px}.flow-tool-icon{width:64px;height:64px}.channel-config-drawer{width:100vw}.channel-config-drawer-header,.channel-config-form-card{padding:18px}.channel-config-form-card{margin:14px}.channel-config-drawer-header h2{font-size:25px}.channel-config-header-actions .primary-button,.channel-config-header-actions .secondary-button{flex:calc(50% - 8px)}}@media (width<=480px){.login-page{padding:14px}.login-brand-panel,.login-card{padding:22px}.topbar{gap:8px;padding:14px}.topbar-title-row{gap:8px}.mobile-menu-button,.profile-button{width:38px;height:38px}.theme-switch-wrap>span,.topbar .eyebrow{display:none}.topbar h1{max-width:calc(100vw - 190px);margin-top:0;font-size:18px}.theme-switch-wrap{gap:0}.theme-switch{width:50px;height:28px}.theme-switch-thumb{width:20px;height:20px}.theme-switch[aria-pressed=true] .theme-switch-thumb{transform:translate(22px)}.profile-menu{width:min(100vw - 24px,280px);position:fixed;top:62px;right:12px}.error-toast-region{width:calc(100vw - 24px);top:12px;right:12px}.error-dialog-backdrop{padding:14px}.error-dialog{padding:18px}.error-dialog-header h2{font-size:21px}.error-dialog-actions .primary-button,.error-dialog-actions .secondary-button{flex:100%}.page-content{padding:14px}.channels-page,.member-create-page,.member-directory-page{gap:16px}.primary-button,.secondary-button{width:100%;min-width:0;padding:0 14px}.page-heading{gap:14px}.page-heading h2,.member-page-heading h2{font-size:22px}.member-form-grid,.member-card-header,.member-form-actions,.member-directory-summary,.member-table-toolbar{padding:16px}.member-form-success{margin:0 16px 16px}.member-channel-option,.channel-config-field input,.channel-config-field select,.member-field input,.member-field select{min-height:46px}.socket-token-row{flex-direction:column;align-items:stretch}.token-generate-button{width:100%}.channel-config-section-label{text-align:center;grid-template-columns:1fr;gap:10px;margin:24px 0}.channel-config-section-label span{display:none}.channel-config-header-actions .primary-button,.channel-config-header-actions .secondary-button,.flow-toolbar-actions .primary-button,.flow-toolbar-actions .secondary-button{flex:100%}.channel-config-close-button{margin-left:auto}.flow-builder-page{gap:12px}.flow-toolbar,.flow-builder-panel{padding:14px}.flow-node-library{padding:16px}.flow-tool-list{gap:12px}.flow-reactflow-wrap,.flow-builder-page.fullscreen .flow-reactflow-wrap{min-height:420px}.flow-canvas-meta{flex-direction:column;align-items:flex-start}}@media (width<=360px){.sidebar{width:88vw;padding:18px}.brand-mark{width:48px;height:34px}.brand-copy strong{font-size:14px}.brand span{font-size:12px}.topbar h1{max-width:calc(100vw - 176px);font-size:17px}.theme-switch{width:46px}.theme-switch[aria-pressed=true] .theme-switch-thumb{transform:translate(18px)}.page-content{padding:12px}.panel,.stat-card,.member-form-grid,.member-card-header,.member-form-actions,.member-directory-summary,.member-table-toolbar,.channel-config-drawer-header,.channel-config-form-card{padding:14px}.channel-config-form-card{margin:10px}.flow-tool-list{grid-template-columns:1fr}}.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border:0 solid #3367d9}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
