:root{color:#1f2933;background:#edf2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;border:0}.loginPage{background:#edf2f7;place-items:center;min-height:100vh;display:grid}.loginBox{background:#fff;border:1px solid #d9e2ec;border-radius:8px;gap:14px;width:min(360px,100vw - 32px);padding:24px;display:grid;box-shadow:0 16px 50px #0f172a1f}.loginBox h1{letter-spacing:0;margin:0;font-size:22px}.loginBox label{color:#52606d;gap:6px;font-size:13px;font-weight:800;display:grid}.loginBox input{border:1px solid #cad5e0;border-radius:8px;min-height:42px;padding:0 11px}.loginBox button{color:#fff;background:#16a34a;border-radius:8px;min-height:42px;font-weight:800}.app{grid-template-columns:280px minmax(300px,390px) minmax(420px,1fr);height:100vh;min-height:0;display:grid;overflow:hidden}.mobileTopbar,.sidebarBackdrop{display:none}.sidebar{color:#e5edf6;background:#0f172a;height:100vh;min-height:0;padding:22px;overflow:auto}.brand{align-items:center;gap:12px;margin-bottom:24px;display:flex}.mainNav{gap:8px;margin-bottom:24px;display:grid}.mainNav button{color:#cbd5e1;text-align:left;background:0 0;border-radius:8px;align-items:center;gap:9px;min-height:40px;padding:0 10px;font-weight:800;display:flex}.mainNav button.active{color:#86efac;background:#1e293b}.brandMark{color:#fff;background:#16a34a;border-radius:8px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.brand h1,.paneHeader h2,.chatHeader h2,.emptyState h2{letter-spacing:0;margin:0}.brand h1{font-size:17px}.brand p,.paneHeader p,.chatHeader p,.emptyState p{color:#8ea2b7;margin:4px 0 0;font-size:13px}.connection,.stats,.settingsPanel{gap:12px;display:grid}.connection{margin-bottom:24px}.connection button,.composer button{color:#fff;background:#16a34a;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-weight:700;display:inline-flex}.signal{color:#cbd5e1;background:#1e293b;border-radius:8px;align-items:center;gap:9px;min-height:38px;padding:9px 10px;display:flex}.signal.connected{color:#86efac}.signal.qr,.signal.reconnecting,.signal.starting{color:#fde68a}.qr{background:#fff;border-radius:8px;width:100%;padding:10px}.stat{background:#1e293b;border-radius:8px;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;min-height:42px;padding:10px;display:grid}.stat span{color:#b6c4d3}.settingsPanel{margin-top:24px}.settingsPanel h2{color:#94a3b8;letter-spacing:0;text-transform:uppercase;margin:0 0 2px;font-size:14px}.settingToggle{background:#1e293b;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:10px;display:flex}.settingToggle span{color:#dbe6f3;align-items:center;gap:9px;font-weight:700;display:flex}.settingField{background:#1e293b;border-radius:8px;gap:8px;padding:10px;display:grid}.settingField span{color:#dbe6f3;align-items:center;gap:9px;font-weight:700;display:flex}.settingField small{color:#94a3b8}.settingToggle input{accent-color:#16a34a;width:18px;height:18px}.miniForm,.stackForm{gap:8px;display:grid}.miniForm{grid-template-columns:1fr 38px}.miniForm input,.stackForm input,.stackForm select,.settingField input,.settingField select,.settingField textarea,.tokenInput{color:#e5edf6;background:#0f172a;border:1px solid #334155;border-radius:8px;width:100%;min-height:36px;padding:0 10px}.settingField textarea{resize:vertical;min-height:82px;padding:9px 10px}.settingsPageGrid{grid-template-columns:repeat(2,minmax(280px,1fr));gap:18px;padding:22px;display:grid}.settingsCard{background:#fff;border:1px solid #d9e2ec;border-radius:14px;align-content:start;gap:14px;padding:18px;display:grid}.settingsCard.full{grid-column:1/-1}.settingsCard h3{color:#102033;margin:0}.settingsCardHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settingsCardHeader p{color:#66788a;margin:5px 0 0}.googleOAuthBox{background:#f8fafc;border:1px solid #d9e2ec;border-radius:12px;gap:10px;padding:14px;display:grid}.googleOAuthStatus{color:#66788a;margin:0}.googleOAuthStatus.connected{color:#0f766e;font-weight:600}.googleOAuthActions{flex-wrap:wrap;gap:10px;display:flex}.googleOAuthLegacy{margin-top:4px}.googleOAuthLegacy summary{cursor:pointer;color:#66788a}.ollamaStatusCard{background:#f8fafc;border:1px solid #d9e2ec;border-radius:12px;gap:10px;padding:14px;display:grid}.ollamaStatusCard.online{background:#f0fdf4;border-color:#bbf7d0}.ollamaStatusCard.offline{background:#fef2f2;border-color:#fecaca}.ollamaStatusCard>div:first-child,.ollamaStatusActions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ollamaStatusCard p{color:#52606d;margin:0;font-size:13px}.statusPill{border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.statusPill.online{color:#166534;background:#dcfce7}.statusPill.offline{color:#991b1b;background:#fee2e2}.ollamaModels{flex-wrap:wrap;gap:8px;display:flex}.ollamaModels button,.ollamaStatusActions button{color:#334155;background:#e2e8f0;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-weight:800;display:inline-flex}.ollamaModels button{border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;min-height:48px}.ollamaModels button.active,.ollamaStatusActions button:first-child{color:#fff;background:#16a34a}.ollamaModels small{color:inherit;opacity:.75;font-size:11px}.settingToggle.compact{min-width:210px}.businessHoursTable{gap:10px;display:grid}.businessHoursRow{background:#f8fafc;border:1px solid #e6edf3;border-radius:12px;grid-template-columns:minmax(130px,1.3fr) repeat(4,minmax(105px,1fr));align-items:end;gap:10px;padding:12px;display:grid}.businessHoursRow label{color:#52606d;gap:6px;font-size:12px;font-weight:800;display:grid}.businessHoursRow input[type=time]{color:#102033;background:#fff;border:1px solid #cbd5e1;border-radius:9px;min-height:38px;padding:0 8px}.daySwitch{align-items:center;min-height:38px;color:#102033!important;gap:9px!important;font-size:14px!important;display:flex!important}.daySwitch input{accent-color:#16a34a;width:18px;height:18px}.miniForm button,.stackForm button{color:#fff;background:#2563eb;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;font-weight:800;display:inline-flex}.compactList{gap:7px;display:grid}.compactCard{gap:6px;display:grid}.compactCard select{color:#e5edf6;background:#0f172a;border:1px solid #334155;border-radius:8px;min-height:32px;padding:0 8px}.compactItem{color:#e5edf6;text-align:left;background:#1e293b;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-height:38px;padding:8px 10px;display:flex}.compactItem small{color:#94a3b8}.logoutButton{color:#e5edf6;background:#334155;border-radius:8px;min-height:36px;font-weight:800}.ticketsPane,.chatPane{background:#f8fafc;border-right:1px solid #d9e2ec;min-height:0;overflow:hidden}.ticketsPane{flex-direction:column;display:flex}.paneHeader,.chatHeader{border-bottom:1px solid #d9e2ec;justify-content:space-between;align-items:center;gap:14px;min-height:82px;padding:18px;display:flex}.paneHeader h2,.chatHeader h2{font-size:21px}.iconButton{color:#334155;background:#e2e8f0;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.filters{background:#f8fafc;border-bottom:1px solid #d9e2ec;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;display:grid}.filters button{color:#52606d;background:#fff;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-size:13px;font-weight:800;display:flex;box-shadow:0 4px 12px #0f172a0a}.filters .active{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.filters strong{color:#334155;background:#e2e8f0;border-radius:999px;place-items:center;min-width:24px;height:24px;font-size:12px;display:grid}.filters .active strong{color:#fff;background:#2563eb}.ticketList{flex:1;min-height:0;overflow:auto}.ticketGroup{border-bottom:1px solid #e6edf3}.ticketGroupHeader{z-index:2;color:#334155;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border-top:1px solid #e6edf3;border-bottom:1px solid #e6edf3;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;font-size:12px;font-weight:900;display:flex;position:sticky;top:0}.ticketGroupHeader strong{color:#334155;background:#e2e8f0;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 7px;font-size:12px;display:grid}.ticket{color:#1f2933;text-align:left;background:0 0;border-bottom:1px solid #e6edf3;grid-template-columns:40px 1fr auto;align-items:center;gap:11px;width:100%;min-height:74px;padding:12px 16px;display:grid}.ticket.selected{background:#fff;box-shadow:inset 4px 0 #16a34a}.avatar{color:#2563eb;object-fit:cover;background:#dbeafe;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.ticketBody{min-width:0}.ticketBody strong{align-items:center;gap:7px;display:flex}.ticketBody small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ticketBody strong{min-width:0}.ticketBody strong>:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ticketBody small{color:#66788a;margin-top:4px}.botStatusBadge{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:12px;font-weight:900;display:inline-flex}.botStatusBadge.active,.botStatusBadge.compact{color:#047857;background:#ecfdf5}.botStatusBadge.inactive{color:#1d4ed8;background:#eff6ff}.botStatusBadge.compact{flex:none;padding:3px 7px;font-size:11px}.badge{color:#fff;background:#dc2626;border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 7px;font-size:12px;font-weight:800;display:grid}.chatPane{background:#eef4f8;border-right:0;flex-direction:column;min-width:0;height:100vh;display:flex}.chatPane .error{border-radius:10px;margin:14px 18px 0}.chatHeader{z-index:2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border-bottom:1px solid #94a3b847;min-height:92px;position:sticky;top:0;box-shadow:0 10px 26px #0f172a0f}.chatIdentity{align-items:center;gap:13px;min-width:0;display:flex}.chatIdentity>div{min-width:0}.chatAvatar{color:#fff;object-fit:cover;background:linear-gradient(135deg,#16a34a,#22c55e);border:3px solid #dcfce7;border-radius:16px;flex:none;place-items:center;width:52px;height:52px;display:grid;box-shadow:0 10px 22px #16a34a33}.chatIdentity h2{text-overflow:ellipsis;white-space:nowrap;max-width:360px;overflow:hidden}.chatIdentity p{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.chatIdentity p span{color:#475569;background:#f1f5f9;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.adminPage{background:#f8fafc;grid-column:2/-1;min-height:100vh;overflow:auto}.adminHeader{background:#fff;border-bottom:1px solid #d9e2ec;justify-content:space-between;align-items:center;min-height:82px;padding:18px 24px;display:flex}.adminHeader h2{letter-spacing:0;margin:0;font-size:22px}.adminHeader p{color:#66788a;margin:4px 0 0;font-size:13px}.adminGrid{grid-template-columns:minmax(280px,420px) minmax(360px,1fr);gap:18px;padding:22px;display:grid}.adminGrid.listGrid{padding-top:0}.scheduleHero{background:radial-gradient(circle at 100% 0,#16a34a29,#0000 34%),#fff}.scheduleStats{grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;padding:18px 22px 0;display:grid}.scheduleStats div{background:#fff;border:1px solid #d9e2ec;border-radius:14px;gap:3px;padding:14px 16px;display:grid;box-shadow:0 10px 24px #0f172a0a}.scheduleStats strong{color:#1f2933;font-size:24px;line-height:1}.scheduleStats span{color:#66788a;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:800}.scheduleStats .hasError strong,.scheduleStats .hasError span{color:#b91c1c}.scheduleGrid{grid-template-columns:minmax(320px,420px) minmax(0,1fr);align-items:start;overflow:hidden}.scheduleForm,.scheduleList{border-radius:16px;min-width:0;overflow:hidden;box-shadow:0 16px 40px #0f172a0f}.scheduleFormHeader,.scheduleListHeader{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.scheduleFormHeader p,.scheduleListHeader p{color:#66788a;margin:4px 0 0;font-size:13px}.scheduleFormHeader svg{color:#16a34a;flex:none}.scheduleFormSection{background:#f8fafc;border:1px solid #e6edf3;border-radius:12px;gap:10px;min-width:0;padding:13px;display:grid}.scheduleFormSection label{min-width:0}.scheduleFormSection>strong{color:#334155;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.scheduleInlineFields{grid-template-columns:1fr;gap:12px;display:grid}.scheduleTimeField{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;padding:12px}.scheduleTimeField input[type=time]{width:100%;min-height:46px;font-size:18px;font-weight:900}.scheduleTimeField small{color:#166534;font-size:12px;font-weight:800}@media (width<=1180px){.scheduleGrid{grid-template-columns:1fr}}.scheduleContactPreview{color:#166534;background:#ecfdf5;border-radius:10px;align-items:center;gap:10px;padding:10px;display:flex}.scheduleContactPreview span{gap:2px;display:grid}.scheduleContactPreview small{color:#15803d}.scheduleCards{gap:12px;display:grid}.scheduleCard{background:#fff;border:1px solid #e6edf3;border-left:4px solid #f59e0b;border-radius:14px;gap:12px;padding:15px;display:grid}.scheduleCard.active{border-left-color:#16a34a}.scheduleCard.paused{opacity:.78}.scheduleCard header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.scheduleCard header div{gap:2px;display:grid}.scheduleCard header strong{color:#1f2933;font-size:15px}.scheduleCard header small,.scheduleCardMeta span{color:#66788a;font-size:12px}.scheduleCard em{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:900}.scheduleCard.active em{color:#166534;background:#dcfce7}.scheduleCardMeta{flex-wrap:wrap;gap:8px;display:flex}.scheduleCardMeta span{background:#f1f5f9;border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-weight:800;display:inline-flex}.scheduleCard p{color:#334155;white-space:pre-wrap;margin:0;line-height:1.45}.scheduleError{color:#b91c1c;font-weight:800}.scheduleActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.scheduleActions button{color:#334155;background:#f1f5f9;border-radius:999px;min-height:34px;padding:0 12px;font-weight:900}.scheduleActions .dangerButton{color:#b91c1c;background:#fee2e2}.scheduleEmpty{color:#66788a;text-align:center;background:#f8fafc;border:1px dashed #cad5e0;border-radius:14px;place-items:center;gap:8px;min-height:220px;padding:24px;display:grid}.scheduleEmpty svg{color:#94a3b8}.scheduleEmpty strong{color:#334155}.whatsappPageGrid{grid-template-columns:minmax(280px,360px) minmax(420px,1fr);gap:18px;padding:22px;display:grid}.whatsappCards{gap:14px;display:grid}.whatsappCard{background:#fff;border:1px solid #d9e2ec;border-radius:8px;gap:16px;padding:18px;display:grid}.whatsappCard header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.whatsappCard h3{letter-spacing:0;margin:0;font-size:18px}.whatsappCard p{color:#66788a;margin:4px 0 0;font-size:13px}.statusPill{color:#334155;white-space:nowrap;background:#e2e8f0;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.statusPill.connected{color:#166534;background:#dcfce7}.statusPill.qr,.statusPill.starting,.statusPill.reconnecting{color:#92400e;background:#fef3c7}.whatsappCardBody{grid-template-columns:1fr 150px;align-items:end;gap:12px;display:grid}.whatsappCardBody label{color:#52606d;gap:6px;font-size:13px;font-weight:800;display:grid}.whatsappCardBody select{color:#1f2933;background:#fff;border:1px solid #cad5e0;border-radius:8px;min-height:40px;padding:0 11px}.whatsappCardBody button{color:#fff;background:#16a34a;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;font-weight:800;display:inline-flex}.whatsappCardBody .secondaryButton{color:#075985;background:#e0f2fe}.qrPanel{background:#f8fafc;border-radius:8px;place-items:center;padding:14px;display:grid}.qrPanel img{background:#fff;border-radius:8px;width:min(260px,100%)}.adminForm,.adminList{background:#fff;border:1px solid #d9e2ec;border-radius:8px;align-content:start;gap:13px;min-width:0;padding:18px;display:grid}.adminForm h3,.adminList h3{letter-spacing:0;margin:0;font-size:16px}.adminForm label{color:#52606d;gap:6px;font-size:13px;font-weight:800;display:grid}.adminForm input,.adminForm select,.adminForm textarea{box-sizing:border-box;color:#1f2933;background:#fff;border:1px solid #cad5e0;border-radius:8px;width:100%;min-width:0;max-width:100%;min-height:40px;padding:0 11px}.adminForm textarea{resize:vertical;min-height:96px;padding:10px 11px}.adminForm button{color:#fff;background:#16a34a;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;font-weight:800;display:inline-flex}.adminForm small{color:#66788a}.adminRow{border-top:1px solid #e6edf3;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 0;display:flex}.adminRow:first-of-type{border-top:0}.adminRow span{gap:3px;display:grid}.sectorChecks{flex-wrap:wrap;gap:7px;margin-top:7px;display:flex}.permissionPanel{background:#f8fafc;border:1px solid #e6edf3;border-radius:10px;gap:10px;max-height:320px;margin:10px 0;padding:12px;display:grid;overflow:auto}.permissionPanelHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.permissionGroup{gap:6px;display:grid}.permissionGroup em{color:#475569;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-style:normal;font-weight:800}.permissionGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 10px;display:grid}.permissionGrid label{color:#334155;align-items:flex-start;gap:6px;font-size:13px;display:flex}.userProfileModal{width:min(720px,96vw);max-height:92vh;overflow:auto}.userProfileModal .permissionPanel{max-height:280px}.sectorChecks label{color:#52606d;background:#f1f5f9;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;font-weight:800;display:inline-flex}.adminRow small{color:#66788a}.adminRow em{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:800}.usersPage{align-content:start;gap:18px;display:grid}.usersHero{background:radial-gradient(circle at 100% 0,#2563eb24,#0000 34%),#fff}.usersHeaderActions{flex-wrap:wrap;gap:8px;display:flex}.usersHeaderActions button,.userCardActions button,.userCreateFooter button,.userFormCardHeader .secondaryButton{color:#334155;background:#e2e8f0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 13px;font-weight:900;display:inline-flex}.usersHeaderActions button.active,.usersHeaderActions button:hover{color:#fff;background:#16a34a}.usersStats{grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px;padding:0 22px;display:grid}.usersStats article{background:#fff;border:1px solid #d9e2ec;border-radius:16px;gap:4px;padding:16px;display:grid;box-shadow:0 12px 28px #0f172a0d}.usersStats strong{color:#0f172a;font-size:26px;line-height:1}.usersStats span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:900}.userCreatePage,.usersListPage{gap:16px;padding:0 22px 22px;display:grid}.userFormCard,.usersListPage{background:#fff;border:1px solid #d9e2ec;border-radius:18px;box-shadow:0 16px 38px #0f172a0f}.userFormCard{gap:16px;padding:18px;display:grid}.userFormCardHeader,.usersListHeader{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.userFormCardHeader>span{color:#166534;background:#dcfce7;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.userFormCardHeader h3,.userFormCardHeader p,.usersListHeader h3,.usersListHeader p,.userCardIdentity h3,.userCardIdentity p{margin:0}.userFormCardHeader p,.usersListHeader p,.userCardIdentity p{color:#64748b;font-size:13px}.userFormGrid{grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;display:grid}.userFormGrid label{color:#52606d;gap:6px;font-size:13px;font-weight:900;display:grid}.userFormGrid input,.userFormGrid select{color:#1f2933;background:#fff;border:1px solid #cad5e0;border-radius:12px;min-height:44px;padding:0 12px}.userFormGrid small{color:#64748b}.userFormWide{grid-column:1/-1}.prettySectorGrid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.prettySectorGrid.compact{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.prettySectorGrid label,.prettyPermissionGrid label{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:8px;padding:10px;font-size:13px;font-weight:900;display:flex}.prettySectorGrid label.selected,.prettyPermissionGrid label.selected{color:#166534;background:#ecfdf5;border-color:#86efac}.prettySectorGrid input,.prettyPermissionGrid input{accent-color:#16a34a;width:16px;height:16px}.userPermissionsCard{overflow:hidden}.prettyPermissionGroups{gap:14px;display:grid}.prettyPermissionGroup{background:#f8fafc;border:1px solid #e6edf3;border-radius:14px;gap:10px;padding:14px;display:grid}.prettyPermissionGroup header{justify-content:space-between;align-items:center;gap:10px;display:flex}.prettyPermissionGroup header span{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.prettyPermissionGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.prettyPermissionGrid svg{color:#94a3b8}.prettyPermissionGrid label.selected svg{color:#16a34a}.prettyPermissionGrid label:has(input:disabled){opacity:.72}.userCreateFooter{z-index:2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8fafceb;border:1px solid #d9e2ec;border-radius:16px;justify-content:flex-end;gap:10px;padding:14px;display:flex;position:sticky;bottom:0}.usersListPage{padding:18px}.userCard{background:#fff;border:1px solid #e6edf3;border-radius:16px;grid-template-columns:minmax(260px,1.2fr) minmax(220px,1fr) auto;align-items:center;gap:16px;padding:16px;display:grid}.userCard.inactive{opacity:.68}.userCardIdentity{align-items:center;gap:13px;min-width:0;display:flex}.userAvatar{color:#fff;background:linear-gradient(135deg,#16a34a,#2563eb);border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-weight:1000;display:grid}.userCardBadges{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.userCardBadges span{color:#475569;background:#f1f5f9;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.userCardSectors{gap:8px;display:grid}.userCardSectors>strong{color:#475569;letter-spacing:.04em;text-transform:uppercase;font-size:12px}.userCardActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.userCardActions button:hover{color:#1d4ed8;background:#dbeafe}.userCardActions button:last-child{color:#991b1b;background:#fee2e2}.userCreateFooter .primaryButton{color:#fff;background:#16a34a}@media (width<=1180px){.manualLayout,.manualInfoGrid{grid-template-columns:1fr}.manualSidebar{max-height:none;position:static}.manualMenuList{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.usersStats{grid-template-columns:repeat(2,minmax(120px,1fr))}.userCard{grid-template-columns:1fr;align-items:stretch}.userCardActions{justify-content:flex-start}}@media (width<=760px){.usersHeaderActions,.userFormCardHeader,.usersListHeader{flex-direction:column;align-items:stretch}.usersStats,.userFormGrid,.prettyPermissionGrid{grid-template-columns:1fr}}body[data-theme=dark] .usersHero,body[data-theme=dark] .usersStats article,body[data-theme=dark] .userFormCard,body[data-theme=dark] .usersListPage,body[data-theme=dark] .userCard{background:#111827;border-color:#334155}body[data-theme=dark] .userFormGrid input,body[data-theme=dark] .userFormGrid select,body[data-theme=dark] .prettyPermissionGroup,body[data-theme=dark] .prettySectorGrid label,body[data-theme=dark] .prettyPermissionGrid label{color:#e2e8f0;background:#1e293b;border-color:#334155}body[data-theme=dark] .prettySectorGrid label.selected,body[data-theme=dark] .prettyPermissionGrid label.selected{color:#bbf7d0;background:#052e16;border-color:#16a34a}.rowActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.rowActions button,.botFlowActions button{color:#334155;background:#e2e8f0;border-radius:999px;min-height:32px;padding:0 10px;font-size:12px;font-weight:800}.userRow{align-items:flex-start;gap:18px;padding:14px 0}.userInfo{flex:auto;min-width:0}.userInfo strong,.userInfo small{text-overflow:ellipsis;min-width:0;overflow:hidden}.userMeta{flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px;display:flex!important}.userMeta small:not(.statusPill){color:#52606d;background:#f1f5f9;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.userSectorChecks{max-width:100%;margin-top:10px;display:flex!important}.userActions{flex:none;max-width:360px}.dangerButton{color:#b91c1c!important;background:#fee2e2!important}.actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.actions select{color:#334155;background:#fff;border:1px solid #d8e2ec;border-radius:999px;min-height:40px;padding:0 12px;font-weight:800;box-shadow:0 6px 16px #0f172a0d}.messages{background:radial-gradient(circle at 0 0,#22c55e1f,#0000 28%),linear-gradient(#f8fafce0,#f8fafce6),repeating-linear-gradient(135deg,#94a3b829 0 1px,#0000 1px 18px);flex:1;min-height:0;padding:26px min(5vw,48px);overflow:auto}.historyPanel{color:#52606d;background:#f8fafc;border-top:1px solid #94a3b838;align-items:center;gap:12px;min-height:46px;padding:10px 18px;font-size:12px;display:flex;overflow-x:auto}.cannedPanel{background:#fff;border-top:1px solid #94a3b838;align-items:center;gap:8px;min-height:50px;padding:10px 18px;display:flex;overflow-x:auto}.cannedPanel strong{color:#1f2933;white-space:nowrap;font-size:12px}.cannedPanel button{color:#15803d;white-space:nowrap;background:#ecfdf5;border-radius:999px;min-height:34px;padding:0 12px;font-size:12px;font-weight:800}.historyPanel strong{color:#1f2933}.historyPanel span{white-space:nowrap}.historyActionButton{color:#fff;white-space:nowrap;background:#0f172a;border-radius:999px;align-items:center;gap:8px;min-height:32px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.historyActionButton strong{color:#fff;background:#22c55e;border-radius:999px;place-items:center;min-width:22px;height:22px;display:grid}.historyItem{background:#e2e8f0;border-radius:999px;padding:5px 9px}.message{background:#fff;border:1px solid #e2e8f0e6;border-radius:16px 16px 16px 4px;max-width:min(640px,72%);margin-bottom:14px;padding:11px 13px;position:relative;box-shadow:0 10px 26px #0f172a14}.message.outbound{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#bbf7d0cc;border-radius:16px 16px 4px;margin-left:auto;box-shadow:0 10px 26px #16a34a24}.message.deleted{color:#64748b;box-shadow:none;background:#f1f5f9;border-style:dashed}.message.deleted .deletedNotice{color:#64748b;font-style:italic}.message.deleted .deletedOriginal{color:#334155;border-top:1px dashed #cbd5e1;margin-top:8px;padding-top:8px;font-style:normal}.message.deleted .deletedOriginal strong{color:#64748b}.message p{color:#1e293b;white-space:pre-wrap;margin:0;line-height:1.45}.mediaBox{background:#e2e8f0;border-radius:8px;width:min(320px,100%);display:block;overflow:hidden}.mediaBox img,.mediaBox.video{max-width:100%;display:block}.mediaBox img{object-fit:contain;width:100%;height:auto;max-height:340px}.mediaBox.sticker{background:0 0;width:156px}.mediaBox.sticker img{max-height:156px}.mediaBox.video{max-height:360px}.audioPlayer{width:min(320px,100%);display:block}.audioBox{gap:6px;display:grid}.audioBox a{color:#2563eb;font-size:12px;font-weight:800;text-decoration:none}.documentLink{color:#1e293b;background:#e2e8f0;border-radius:8px;align-items:center;gap:9px;max-width:320px;min-height:44px;padding:10px 12px;font-weight:700;text-decoration:none;display:flex}.message .mediaBox+p,.message .audioBox+p,.message .documentLink+p{margin-top:9px}.message time{color:#64748b;text-align:right;margin-top:7px;font-size:11px;font-weight:700;display:block}.messageMeta{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.messageMeta time{margin-top:0}.messageDateTime{color:#475569;white-space:nowrap;font-size:11px;font-weight:800}.messageMeta span{color:#64748b;font-size:11px;font-weight:800}.readReceipt{letter-spacing:-3px;padding-right:3px}.readReceipt.read{color:#0ea5e9}.messageMeta button{color:#2563eb;background:0 0;border:0;align-items:center;gap:4px;font-size:11px;font-weight:900;display:inline-flex}.messageMeta .dangerTextButton{color:#dc2626}.composer{background:#fff;border-top:1px solid #94a3b838;grid-template-columns:42px 42px 1fr 38px 38px 126px;gap:10px;padding:16px 18px 18px;display:grid;box-shadow:0 -12px 30px #0f172a0f}.composer input,.composer textarea,.composer .composerInput{background:#f8fafc;border:1px solid #d8e2ec;border-radius:18px;outline:none;min-height:48px;padding:10px 14px}.composer .toolButton,.composerToggle{color:#334155;background:#f8fafc;border:1px solid #d8e2ec;border-radius:999px;place-items:center;width:44px;min-height:48px;display:grid}.composerToggle{font-size:12px;font-weight:900;position:relative}.emojiWrap{position:relative}.emojiPicker{z-index:15;background:#fff;border:1px solid #d8e2ec;border-radius:14px;grid-template-columns:repeat(6,34px);gap:6px;width:max-content;padding:10px;display:grid;position:absolute;bottom:58px;left:0;box-shadow:0 18px 40px #0f172a2e}.emojiPicker button{background:#f8fafc;border-radius:10px;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.emojiPicker button:hover{background:#dcfce7}.composerToggle input{opacity:0;pointer-events:none;position:absolute}.composerToggle:has(input:checked){color:#16a34a;border-color:#16a34a;box-shadow:inset 0 0 0 2px #16a34a29}.composerToggle:has(input:disabled){cursor:not-allowed;opacity:.45}.composer input:focus{border-color:#16a34a;box-shadow:0 0 0 3px #16a34a29}.composer>button[type=submit]{background:linear-gradient(135deg,#16a34a,#22c55e);border-radius:999px;min-height:48px;box-shadow:0 12px 24px #16a34a38}.composer button:disabled{cursor:not-allowed;opacity:.55}.error{color:#991b1b;background:#fee2e2;padding:11px 16px;font-weight:700}.emptyState{color:#52606d;text-align:center;flex:1;align-content:center;place-items:center;gap:10px;min-height:0;padding:24px;display:grid}.emptyState svg{color:#16a34a}@media (width<=980px){body{overflow:auto}.app{grid-template-columns:1fr;height:auto;min-height:100vh;padding-top:64px;overflow:visible}.mobileTopbar{z-index:110;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f8fafcf5;border-bottom:1px solid #d9e2ec;align-items:center;gap:12px;min-height:64px;padding:10px 14px;display:flex;position:fixed;inset:0 0 auto}.mobileTopbar div{gap:2px;min-width:0;display:grid}.mobileTopbar strong,.mobileTopbar span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobileTopbar span{color:#64748b;font-size:12px;font-weight:700}.sidebar{z-index:130;width:min(86vw,320px);height:100dvh;transition:transform .22s;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:24px 0 60px #0f172a47}.app.sidebarOpen .sidebar{transform:translate(0)}.app.sidebarOpen .sidebarBackdrop{z-index:120;background:#0f172a73;display:block;position:fixed;inset:0}.pendingAlert{top:76px}.adminPage{grid-column:1;min-height:calc(100vh - 64px)}.adminGrid,.settingsPageGrid{grid-template-columns:1fr;padding:14px}.dashboardHeader,.dashboardHeaderActions{flex-direction:column;align-items:stretch}.dashboardFilters{padding:12px 14px}.dashboardFilters label,.dashboardFilters input,.dashboardFilters select,.dashboardFilters button,.dashboardHeaderActions button{width:100%}.dashboardMetrics,.dashboardGrid{grid-template-columns:1fr;padding-left:14px;padding-right:14px}.dashboardDonutWrap{grid-template-columns:1fr;justify-items:center}.whatsappPageGrid,.whatsappCardBody{grid-template-columns:1fr}.sidebar,.ticketsPane,.chatPane{min-height:auto}.ticketsPane,.chatPane{height:auto}.ticketList{max-height:360px}.chatPane{min-height:calc(100vh - 64px)}}.pendingAlert{z-index:100;background:#fff7ed;border:1px solid #fdba74;border-radius:12px;align-items:center;gap:10px;max-width:min(420px,100vw - 32px);padding:12px 14px;display:flex;position:fixed;top:16px;right:16px;box-shadow:0 16px 40px #0f172a29}.pendingAlert strong{color:#9a3412;display:block}.pendingAlert span{color:#7c2d12;font-size:13px}.pendingAlert button{color:#fff;background:#ea580c;border-radius:999px;min-height:34px;padding:0 12px;font-weight:800}.ticket.pending{box-shadow:inset 4px 0 #f59e0b}.ticket.pending .badge,.ticket.pending strong{color:#b45309}.actionButton{border-radius:999px;align-items:center;gap:7px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.actionButton.transfer{color:#1d4ed8;background:#dbeafe}.actionButton.finish{color:#b91c1c;background:#fee2e2}.modalOverlay{z-index:120;background:#0f172a73;place-items:center;display:grid;position:fixed;inset:0}.modalCard{background:#fff;border-radius:14px;width:min(420px,100vw - 32px);padding:18px;box-shadow:0 24px 60px #0f172a33}.modalCard.knowledgeEditModal{width:min(720px,100vw - 32px);max-height:calc(100vh - 40px);overflow:auto}.modalCard header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modalCard h3{margin:0}.modalCard header p{color:#66788a;margin:4px 0 0;font-size:13px}.historyModal{width:min(720px,100vw - 32px);max-height:min(720px,100vh - 48px);overflow:hidden}.historyTimeline{gap:12px;max-height:calc(100vh - 190px);padding-right:4px;display:grid;overflow:auto}.historyLogItem{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:14px 1fr;gap:10px;padding:12px;display:grid}.historyDot{background:#16a34a;border-radius:999px;width:12px;height:12px;margin-top:5px;box-shadow:0 0 0 4px #16a34a24}.historyLogItem strong,.historyLogItem p,.historyLogItem small,.historyLogItem time{display:block}.historyLogItem strong{color:#0f172a}.historyLogItem p{color:#334155;margin:4px 0}.historyLogItem small{color:#52606d}.historyLogItem time{color:#64748b;margin-top:7px;font-size:12px;font-weight:800}.transferList{gap:8px;display:grid}.modalSectionTitle{color:#334155;letter-spacing:.04em;text-transform:uppercase;margin:14px 0 8px;font-size:12px;display:block}.transferList button{color:#1e293b;text-align:left;background:#f8fafc;border-radius:10px;justify-items:start;gap:3px;min-height:42px;padding:0 12px;font-weight:800;display:grid}.transferList button small{color:#64748b;font-size:11px;font-weight:700}.transferList button:hover{color:#166534;background:#dcfce7}.recordingBar{color:#b91c1c;background:#fef2f2;border-top:1px solid #fecaca;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 18px;display:flex}.recordingBar.ready{color:#166534;background:#ecfdf5;border-top-color:#bbf7d0}.recordingBar span{text-overflow:ellipsis;white-space:nowrap;max-width:360px;overflow:hidden}.recordingBar button{min-height:30px;color:inherit;background:#fff;border-radius:999px;padding:0 10px;font-weight:800}.imageAttachmentBar{color:#1e40af;background:#eff6ff;border-top:1px solid #bfdbfe;align-items:center;gap:10px;padding:10px 18px;display:flex}.imageAttachmentBar img{object-fit:cover;border-radius:10px;width:44px;height:44px}.imageAttachmentBar span{gap:2px;min-width:0;margin-right:auto;display:grid}.imageAttachmentBar small{color:#52606d;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.imageAttachmentBar button{color:#1e40af;background:#fff;border-radius:999px;min-height:30px;padding:0 10px;font-weight:800}.imageEditorOverlay{z-index:160}.imageEditorModal{gap:12px;width:min(980px,100vw - 28px);max-height:calc(100vh - 28px);display:grid;overflow:hidden}.imageEditorToolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.imageEditorToolbar button,.imageEditorFooter button{color:#334155;background:#f1f5f9;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 12px;font-weight:900;display:inline-flex}.imageEditorToolbar button.active,.imageEditorFooter button:not(.secondaryButton){color:#fff;background:#16a34a}.imageEditorToolbar label{color:#52606d;align-items:center;gap:6px;font-size:12px;font-weight:900;display:inline-flex}.imageEditorToolbar input[type=color]{border-radius:8px;width:40px;height:30px;padding:2px}.imageEditorToolbar input[type=range]{width:110px}.imageEditorTextInput{border:1px solid #cad5e0;border-radius:10px;min-height:40px;padding:0 12px}.imageEditorCanvasWrap{background-color:#f8fafc;background-image:linear-gradient(45deg,#e2e8f0 25%,#0000 25%),linear-gradient(-45deg,#e2e8f0 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e2e8f0 75%),linear-gradient(-45deg,#0000 75%,#e2e8f0 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-repeat:repeat,repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;border-radius:14px;place-items:center;min-height:260px;padding:12px;display:grid;overflow:auto}.imageEditorCanvasWrap canvas{touch-action:none;cursor:crosshair;background:#fff;border-radius:10px;max-width:100%;height:auto;box-shadow:0 16px 44px #0f172a2e}.imageEditorFooter{color:#66788a;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.imageEditorFooter div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.recordingPulse{background:#ef4444;border-radius:999px;width:12px;height:12px;animation:1s ease-in-out infinite pulseRecord}@keyframes pulseRecord{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(1.35)}}.composer.recording .recordButton{color:#ef4444;border-color:#ef4444;box-shadow:0 0 0 3px #ef444429}.recordButton.active{color:#b91c1c;background:#fee2e2}.botBuilderPage{grid-column:2/-1}.botBuilderToolbar{background:#fff;border-bottom:1px solid #d9e2ec;flex-wrap:wrap;gap:12px;padding:18px 22px;display:flex}.botBuilderToolbar label{color:#52606d;gap:6px;font-size:13px;font-weight:800;display:grid}.botBuilderToolbar input,.botBuilderToolbar select{border:1px solid #cad5e0;border-radius:8px;min-height:40px;padding:0 11px}.primaryButton{color:#fff;background:#16a34a;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.shortcutButton{color:#1d4ed8;background:#dbeafe;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.botBuilderLayout{grid-template-columns:220px 1fr;gap:18px;padding:22px;display:grid}.botFlowList{background:#fff;border:1px solid #d9e2ec;border-radius:10px;align-content:start;gap:8px;padding:14px;display:grid}.botFlowList button{color:#334155;text-align:left;background:#f8fafc;border-radius:8px;gap:4px;min-height:48px;padding:10px;font-weight:800;display:grid}.botFlowList button.active{color:#166534;background:#dcfce7}.botCanvas{gap:16px;display:grid}.botNodeToolbar{flex-wrap:wrap;gap:8px;display:flex}.botNodeToolbar button{color:#334155;background:#e2e8f0;border-radius:999px;min-height:34px;padding:0 12px;font-weight:800}.botNodesGrid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;display:grid}.botNodeCard{background:#fff;border:1px solid #d9e2ec;border-radius:12px;gap:10px;padding:14px;display:grid}.botNodeCard header{align-items:center;gap:8px;display:flex}.botNodeCard header span{background:#f1f5f9;border-radius:999px;margin-left:auto;padding:3px 8px;font-size:11px;font-weight:800}.botNodeCard label{color:#52606d;gap:6px;font-size:12px;font-weight:800;display:grid}.botNodeCard input,.botNodeCard textarea,.botNodeCard select{border:1px solid #cad5e0;border-radius:8px;min-height:36px;padding:0 10px}.botNodeCard textarea{min-height:80px;padding:8px 10px}.botMenuOptions{gap:8px;display:grid}.botMenuOptionsHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}.botMenuOptionsHeader button{color:#166534;background:#dcfce7;border-radius:999px;align-items:center;gap:6px;min-height:30px;padding:0 10px;font-size:12px;font-weight:900;display:inline-flex}.botMenuOption{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;gap:6px;padding:10px;display:grid}.botMenuOptionHeader{justify-content:space-between;align-items:center;gap:8px;display:flex}.botMenuOptionHeader button{border-radius:999px;align-items:center;gap:5px;min-height:28px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.botMenuOption small{color:#64748b;font-size:12px;font-weight:700}.botReplyActionBox{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;gap:10px;padding:10px;display:grid}.inlineCheck{align-items:center;gap:8px;display:inline-flex!important}.inlineCheck input{min-height:auto}.botEdgesList{background:#f8fafc;border:1px solid #d9e2ec;border-radius:10px;padding:14px}.botEdgeItem{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.botVisualLayout{grid-template-columns:220px minmax(520px,1fr) 320px;gap:16px;height:calc(100vh - 174px);min-height:0;padding:18px;display:grid}.botPalette,.botInspector{background:#fff;border:1px solid #d9e2ec;border-radius:14px;align-content:start;gap:10px;min-height:0;padding:14px;display:grid;overflow:auto}.botPalette h3,.botInspector h3{margin:0}.botPalette>button,.botInspector button{color:#334155;background:#f1f5f9;border-radius:10px;align-items:center;gap:7px;min-height:38px;padding:0 11px;font-weight:800;display:inline-flex}.botPalette button.active,.botFlowItem.active>button{color:#166534;background:#dcfce7}.botPalette small{color:#64748b;font-weight:700;display:block}.botFlowItem{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:6px;padding:8px;display:grid}.botFlowItem>button{color:#334155;text-align:left;background:#fff;border-radius:8px;gap:4px;width:100%;min-height:42px;padding:8px;font-weight:800;display:grid}.botFlowActions{gap:6px;display:flex}.botVisualCanvas{background-color:#f8fafc;background-image:radial-gradient(circle,#94a3b859 1px,#0000 1px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:22px 22px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border:1px solid #d9e2ec;border-radius:16px;min-height:0;position:relative;overflow:auto}.botConnections{pointer-events:none;width:1600px;height:1200px;position:absolute;inset:0}.botConnections path{fill:none;stroke:#16a34a;stroke-width:3px}.botConnections circle{fill:#16a34a}.botVisualNode{cursor:pointer;background:#fff;border:2px solid #d9e2ec;border-radius:16px;gap:9px;width:190px;min-height:112px;padding:12px;display:grid;position:absolute;box-shadow:0 14px 30px #0f172a1f}.botVisualNode.selected{border-color:#16a34a;box-shadow:0 18px 40px #16a34a38}.botVisualNode.connecting{border-color:#2563eb}.botVisualNode header{cursor:grab;align-items:center;gap:7px;display:flex}.botVisualNode header strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.botVisualNode header span{color:#334155;background:#e2e8f0;border-radius:999px;margin-left:auto;padding:3px 7px;font-size:10px;font-weight:800}.botVisualNode p{color:#52606d;-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;min-height:34px;margin:0;font-size:12px;display:-webkit-box;overflow:hidden}.botVisualNodeActions{gap:7px;display:flex}.botVisualNodeActions button{color:#15803d;background:#ecfdf5;border-radius:999px;align-items:center;gap:5px;min-height:30px;padding:0 9px;font-size:12px;font-weight:800;display:inline-flex}.botInspector label{color:#52606d;gap:6px;font-size:12px;font-weight:800;display:grid}.botInspector input,.botInspector textarea,.botInspector select{border:1px solid #cad5e0;border-radius:9px;min-height:38px;padding:0 10px}.botInspector textarea{min-height:110px;padding:9px 10px}@media (width<=980px){.botBuilderLayout{grid-template-columns:1fr}.botVisualLayout{grid-template-columns:1fr;height:auto}.botVisualCanvas{min-height:620px}}@media (width<=560px){.paneHeader,.chatHeader,.actions{flex-direction:column;align-items:stretch}.filters{grid-template-columns:repeat(2,1fr)}.message{max-width:88%}.composer{grid-template-columns:1fr}}.searchBar,.quickFilters,.ticketActionPanel,.reportsGrid,.auditList,.replyPreview,.messageMenu,.messageMenuWrap,.httpTestResult{gap:8px;display:grid}.searchBar{grid-template-columns:auto 1fr auto;align-items:center;padding:10px 12px 0}.searchBar input{border:1px solid #cad5e0;border-radius:8px;min-height:36px;padding:0 10px}.quickFilters{grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 12px}.quickFilters button,.loadMoreButton{color:#334155;background:#f8fafc;border-radius:999px;min-height:32px;font-size:12px;font-weight:700}.quickFilters button.active{color:#166534;background:#dcfce7}.slaBadge{border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;font-weight:800;display:inline-flex}.sla-ok{color:#166534;background:#ecfdf5}.sla-warning{color:#854d0e;background:#fef9c3}.sla-danger{color:#991b1b;background:#fee2e2}.ticketActionPanel{background:#f8fafc;border-top:1px solid #e2e8f0;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px}.ticketActionPanel button{color:#0f172a;text-align:left;background:#fff;border:1px solid #dbe3ea;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;min-height:54px;padding:10px 12px;font-weight:800;display:grid}.ticketActionPanel button:hover{border-color:#16a34a;box-shadow:0 10px 22px #16a34a14}.ticketActionPanel small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-size:12px;font-weight:600;overflow:hidden}.ticketActionModal{width:min(560px,100vw - 32px)}.contactEditModal{flex-direction:column;width:min(680px,100vw - 24px);max-height:calc(100vh - 28px);padding:0;display:flex;overflow:hidden}.contactEditModal>header{background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;margin:0;padding:18px 20px 14px}.contactEditForm{gap:12px;min-height:0;padding:16px 20px 0;display:grid;overflow-y:auto}.contactEditForm .modalActions{z-index:2;background:#fffffff5;border-top:1px solid #e2e8f0;margin:4px -20px 0;padding:14px 20px 16px;position:sticky;bottom:0;box-shadow:0 -12px 30px #0f172a14}.contactEditForm .modalActions button[type=submit]{min-width:150px}.ticketDetailsGrid{grid-template-columns:110px 1fr;gap:10px 14px;padding:8px 0;display:grid}.ticketDetailsGrid span{color:#64748b;font-size:13px;font-weight:700}.ticketDetailsGrid strong{color:#0f172a}.modalField{color:#334155;gap:7px;font-size:13px;font-weight:800;display:grid}.modalField input,.modalField textarea{border:1px solid #cad5e0;border-radius:10px;width:100%;min-height:42px;padding:9px 11px}.modalField textarea{resize:vertical}.modalActions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.modalActions button{color:#fff;background:#16a34a;border-radius:999px;align-items:center;gap:6px;min-height:38px;padding:0 14px;font-weight:800;display:inline-flex}.modalActions .secondaryButton{color:#334155;background:#eef2f7}.tagPreview{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.tagPreview span{color:#166534;background:#ecfdf5;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.notesList{gap:10px;max-height:260px;margin-top:16px;display:grid;overflow:auto}.notesList article{background:#fff7ed;border:1px solid #e2e8f0;border-radius:12px;padding:10px}.notesList p{color:#334155;white-space:pre-wrap;margin:4px 0}.notesList time,.notesList>span{color:#64748b;font-size:12px}.message.internal{background:#fff7ed;border:1px dashed #fdba74}.messageMenuWrap{position:relative}.messageMenu{z-index:5;background:#fff;border:1px solid #dbe3ea;border-radius:10px;min-width:130px;padding:6px;position:absolute;bottom:100%;right:0;box-shadow:0 10px 24px #0f172a1f}.messageMenu button{color:#334155;background:0 0;border-radius:8px;justify-content:flex-start;gap:6px;width:100%;min-height:30px;font-size:12px}.replyPreview{color:#1d4ed8;background:#eff6ff;grid-template-columns:1fr auto;align-items:center;padding:8px 14px;font-size:12px}.reportsGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px}.reportCard,.auditItem{background:#fff;border:1px solid #dbe3ea;border-radius:12px;padding:14px}.reportRow,.auditItem span,.auditItem time{color:#52606d;font-size:13px;display:block}.dashboardPage{background:#eef3f7}.dashboardHeader{background:#ffffffe0;border-bottom:1px solid #dbe3ea;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px 14px;display:flex}.dashboardHeader h2{color:#0f172a;margin:0;font-size:24px}.dashboardHeader p{color:#64748b;margin:4px 0 0;font-size:13px}.dashboardHeaderActions,.dashboardFilters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.dashboardHeaderActions button,.dashboardFilters button{color:#1d4ed8;background:#dbeafe;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.dashboardFilters{padding:14px 24px 8px}.dashboardFilters label{color:#64748b;text-transform:uppercase;gap:4px;font-size:11px;font-weight:900;display:grid}.dashboardFilters input,.dashboardFilters select{color:#334155;text-transform:none;background:#fff;border:1px solid #dbe3ea;border-radius:10px;min-height:36px;padding:0 10px}.dashboardMetrics{grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;padding:12px 24px 18px;display:grid}.dashboardMetric,.dashboardCard{background:#fff;border:1px solid #dbe3ea;box-shadow:0 18px 40px #0f172a0a}.dashboardMetric{border-radius:10px;grid-template-columns:38px 1fr;align-items:center;gap:10px;min-height:82px;padding:14px;display:grid}.dashboardMetricIcon,.dashboardCardIcon{color:#2563eb;background:#dbeafe;border-radius:10px;place-items:center;display:grid}.dashboardMetricIcon{width:38px;height:38px}.dashboardMetric span{color:#64748b;font-size:12px;font-weight:900}.dashboardMetric strong{color:#0f172a;margin:3px 0;font-size:24px;line-height:1;display:block}.dashboardMetric small{color:#94a3b8;font-size:11px;font-weight:800}.dashboardGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 24px 28px;display:grid}.dashboardCard{border-radius:12px;min-width:0;overflow:hidden}.dashboardCardWide{grid-column:span 1}.dashboardCard header{border-bottom:1px solid #edf2f7;align-items:flex-start;gap:12px;padding:18px 18px 12px;display:flex}.dashboardCardIcon{width:42px;height:42px}.dashboardCard h3{color:#0f172a;margin:0;font-size:16px}.dashboardCard p{color:#64748b;margin:4px 0 0;font-size:12px}.dashboardLineChart{padding:14px 18px 18px}.dashboardLineChart svg{width:100%;min-height:210px;overflow:visible}.dashboardLineChart line{stroke:#e2e8f0;stroke-width:1px}.dashboardLineChart polyline{fill:none;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.lineInbound{stroke:#60a5fa}.lineOutbound{stroke:#2563eb}.lineClosed{stroke:#94a3b8}.chartLegend,.dashboardDonutLegend{color:#64748b;flex-wrap:wrap;gap:12px;font-size:12px;font-weight:800;display:flex}.legendDot,.dashboardDonutLegend i{border-radius:999px;width:9px;height:9px;margin-right:6px;display:inline-block}.legendDot.inbound{background:#60a5fa}.legendDot.outbound{background:#2563eb}.legendDot.closed{background:#94a3b8}.dashboardDonutWrap{grid-template-columns:minmax(160px,240px) 1fr;align-items:center;gap:18px;padding:24px;display:grid}.dashboardDonut{aspect-ratio:1;border-radius:999px;place-items:center;width:min(210px,100%);display:grid}.dashboardDonut span{aspect-ratio:1;background:#fff;border-radius:999px;width:58%;display:block}.dashboardDonutLegend{gap:8px;display:grid}.dashboardBars{gap:12px;padding:18px;display:grid}.dashboardBarRow{color:#64748b;grid-template-columns:minmax(80px,120px) 1fr auto;align-items:center;gap:10px;font-size:12px;font-weight:900;display:grid}.dashboardBarRow>div{background:#e2e8f0;border-radius:999px;height:14px;overflow:hidden}.dashboardBarRow i{border-radius:inherit;background:linear-gradient(90deg,#2563eb,#60a5fa);height:100%;display:block}.dashboardBarRow strong{color:#334155}.dashboardEmpty{padding:18px}.aiLearningPage{background:#f8fafc}.aiLearningFilters{flex-wrap:wrap;gap:8px;padding:0 22px 14px;display:flex}.aiLearningFilters button{color:#334155;background:#e2e8f0;border-radius:999px;min-height:34px;padding:0 14px;font-weight:800}.aiLearningFilters button.active{color:#fff;background:#2563eb}.aiLearningList{gap:14px;padding:0 22px 28px;display:grid}.aiLearningCard{background:#fff;border:1px solid #dbe3ea;border-radius:12px;gap:12px;padding:16px;display:grid;box-shadow:0 12px 28px #0f172a0d}.aiLearningCard header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.aiLearningCard header strong{color:#0f172a;font-size:16px;display:block}.aiLearningCard header small,.aiLearningCard>small{color:#64748b}.aiLearningBlock{gap:6px;display:grid}.aiLearningBlock span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:900}.aiLearningBlock p,.aiLearningBlock textarea{margin:0}.aiLearningBlock textarea{resize:vertical;border:1px solid #dbe3ea;border-radius:10px;width:100%;min-height:90px;padding:10px}.aiLearningActions{border-top:1px solid #edf2f7;gap:10px;margin-top:10px;padding-top:10px;display:grid}.aiLearningActions label{color:#475569;gap:6px;font-size:12px;font-weight:800;display:grid}.aiLearningCard.status-approved{border-color:#bbf7d0}.aiLearningCard.status-rejected{opacity:.92;border-color:#fecaca}.auditList{max-height:320px;overflow:auto}.httpTestResult{color:#e2e8f0;background:#0f172a;border-radius:8px;max-height:180px;padding:10px;font-size:12px;overflow:auto}.loadMoreButton{margin:8px 12px 12px}.settingsTabs{gap:8px;padding:14px 18px 0;display:flex;overflow-x:auto}.settingsTabs button{color:#334155;background:#eef2f7;border-radius:999px;min-height:34px;padding:0 14px;font-weight:800}.settingsTabs button.active{color:#fff;background:#16a34a}.queueNextButton{color:#fff;background:#16a34a;border-radius:999px;min-height:34px;padding:0 12px;font-size:12px;font-weight:900}.routingRuleRow{border:1px solid #dbe3ea;border-radius:12px;grid-template-columns:repeat(3,minmax(140px,1fr)) auto;align-items:end;gap:10px;padding:10px;display:grid}.syncProgress{color:#52606d;grid-column:1/-1;gap:4px;font-size:12px;font-weight:800;display:grid}.syncProgress progress{width:100%}.customerHistoryList{gap:10px;max-height:560px;display:grid;overflow:auto}.customerHistoryList article{background:#fff;border:1px solid #dbe3ea;border-radius:12px;padding:12px}.customerHistoryList small,.customerHistoryList span{color:#64748b;font-size:12px;display:block}.botVisualNode.invalid{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b29}.nodeIssue{color:#92400e;margin-top:6px;font-size:11px;font-weight:900;display:block}.chatHeader{align-items:flex-start;min-height:64px;padding:8px 14px}.chatAvatar{border-radius:13px;width:42px;height:42px}.chatIdentity{gap:10px}.chatIdentity h2{font-size:17px}.chatIdentity p{gap:4px;margin-top:5px}.chatIdentity p span,.botStatusBadge,.slaBadge{padding:3px 7px;font-size:11px}.actionButton{gap:4px;min-height:30px;padding:0 9px;font-size:12px}.actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:430px}.compactAction{color:#334155;background:#f1f5f9}.messages{padding:12px min(3vw,26px)}.message{border-radius:12px 12px 12px 4px;max-width:min(590px,68%);margin-bottom:7px;padding:8px 10px;font-size:13px}.message.outbound{border-radius:13px 13px 4px}.message p{line-height:1.28}.messageMeta{gap:5px;margin-top:4px}.message time,.messageMeta span,.messageMeta button{font-size:10px}.ticketActionPanel{gap:8px;padding:8px 12px}.ticketActionPanel button{border-radius:10px;min-height:46px;padding:8px 10px;font-size:13px}.ticketActionPanel small{font-size:11px}.historyPanel{gap:8px;min-height:36px;padding:6px 14px;font-size:11px}.historyActionButton{min-height:28px;padding:0 10px;font-size:11px}.historyActionButton strong{min-width:19px;height:19px}.historyItem{padding:4px 8px}.cannedPanel{gap:5px;min-height:32px;padding:5px 12px}.cannedPanel strong,.cannedPanel button{font-size:11px}.cannedPanel button{min-height:24px;padding:0 9px}.composer{grid-template-columns:34px 34px 1fr 32px 32px 100px;gap:7px;padding:8px 12px 10px}.composer input{min-height:36px;padding:0 12px;font-size:13px}.composer .toolButton,.composerToggle{width:34px;min-height:36px}.composerToggle{font-size:11px}.composer>button[type=submit]{min-height:36px;font-size:12px}.emojiPicker{bottom:48px}body[data-theme=dark]{color:#e2e8f0;background:#020617}body[data-theme=dark] .app,body[data-theme=dark] .sidebar,body[data-theme=dark] .ticketsPane,body[data-theme=dark] .chatPane,body[data-theme=dark] .adminPage{color:#e2e8f0;background:#0f172a}body[data-theme=dark] .chatHeader,body[data-theme=dark] .paneHeader,body[data-theme=dark] .adminHeader,body[data-theme=dark] .cannedPanel,body[data-theme=dark] .modalCard,body[data-theme=dark] .adminForm,body[data-theme=dark] .adminList,body[data-theme=dark] .settingsCard,body[data-theme=dark] .whatsappCard,body[data-theme=dark] .reportCard,body[data-theme=dark] .auditItem,body[data-theme=dark] .ticket.selected{color:#e2e8f0;background:#111827;border-color:#334155}body[data-theme=dark] .messages{background:#020617}body[data-theme=dark] .message{color:#e2e8f0;background:#1e293b;border-color:#334155}body[data-theme=dark] .message.outbound{background:#064e3b}body[data-theme=dark] input,body[data-theme=dark] textarea,body[data-theme=dark] select{color:#e2e8f0;background:#0f172a;border-color:#334155}body[data-theme=dark] .contactEditModal>header,body[data-theme=dark] .contactEditForm .modalActions{background:#111827;border-color:#334155}body[data-theme=dark] .ticket,body[data-theme=dark] .filters,body[data-theme=dark] .quickFilters,body[data-theme=dark] .historyPanel{color:#e2e8f0;background:#0f172a;border-color:#334155}.chatBody{flex-direction:column;flex:1;min-height:0;display:flex}.chatMain{flex:1;grid-template-columns:minmax(0,1fr);min-height:0;display:grid}.chatBody.withPanel .chatMain{grid-template-columns:minmax(0,1fr) 220px}.chatMain .messages{flex:unset}.ticketTagsBar{background:#fff;border-bottom:1px solid #d9e2ec;flex-wrap:wrap;gap:6px;padding:8px 18px;display:flex}.ticketTag{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.ticketTag.contactTag{color:#166534;background:#dcfce7}.ticketSidePanel{background:#fff;border-left:1px solid #d9e2ec;padding:12px;font-size:12px;overflow:auto}.ticketSidePanel h4{margin:0 0 10px;font-size:13px}.ticketSideGrid{grid-template-columns:auto 1fr;gap:6px 10px;margin-bottom:12px;display:grid}.ticketSideGrid span{color:#64748b}.ticketSideTags div{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.ticketSideTags span,.ticketSideNote{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px;display:block}.ticketSideNote{margin-top:8px}.ticketSideNote p{color:#475569;margin:4px 0 0}.loadMoreMessages{color:#334155;background:#e2e8f0;border-radius:999px;width:fit-content;margin:0 auto 12px;padding:6px 12px;font-size:12px;font-weight:700;display:block}.message.sending{opacity:.7}.message.failed{background:#fef2f2;outline:1px solid #fca5a5}.messageStatus{color:#64748b;font-size:11px}.messageStatus.failed{color:#dc2626;font-weight:700}.searchResults{background:#fff;border:1px solid #d9e2ec;border-radius:10px;max-height:220px;margin:0 12px 8px;padding:10px;overflow:auto}.searchResultsHeader{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.searchResultsActions{align-items:center;gap:6px;display:flex}.searchResults button{text-align:left;color:#334155;background:#f8fafc;border-radius:8px;gap:2px;width:100%;padding:8px 10px;display:grid}.searchResults button:hover{background:#e2e8f0}.searchResults button small{color:#64748b}.searchHint,.listHint{color:#64748b;padding:8px 14px;font-size:12px}.searchEmpty{color:#64748b;margin:0;font-size:12px}.reportFilters{flex-wrap:wrap;align-items:end;gap:12px;padding:0 18px 16px;display:flex}.reportFilters label{color:#52606d;gap:4px;font-size:12px;display:grid}.reportFilters input,.reportFilters select{background:#fff;border:1px solid #d9e2ec;border-radius:8px;min-height:38px;padding:0 10px}.contactsToolbar{align-items:center;gap:10px;padding:0 18px 14px;display:flex}.contactsToolbar input{border:1px solid #d9e2ec;border-radius:8px;flex:1;min-height:40px;padding:0 12px}.contactsList{max-height:calc(100vh - 260px);overflow:auto}.contactRow{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 0;display:grid}.contactRow .avatar{justify-self:start}.contactRow .contactInfo{text-align:left;justify-items:start;gap:2px;min-width:0;display:grid}.contactInfo strong,.contactInfo small{text-align:left;text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.contactInfo strong{color:#1f2933}.contactRow .rowActions{flex-wrap:nowrap;justify-self:end}.chatActions{flex-wrap:wrap;justify-content:flex-end}.chatMoreMenuWrap{position:relative}.chatMoreDropdown{z-index:12;background:#fff;border:1px solid #d9e2ec;border-radius:10px;gap:4px;min-width:180px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 30px #0f172a1f}.chatMoreDropdown button{color:#334155;background:#f8fafc;border-radius:8px;align-items:center;gap:8px;min-height:36px;padding:0 10px;font-size:13px;font-weight:700;display:flex}.chatMoreDropdown button:hover{background:#e2e8f0}.composerInput{resize:none;background:#fff;border:1px solid #d8e2ec;border-radius:18px;flex:1;min-height:42px;max-height:160px;padding:10px 14px;line-height:1.4}.composerInput:focus{border-color:#60a5fa;outline:2px solid #bfdbfe}.modalForm{gap:12px;display:grid}.botLogsList{gap:10px;max-height:60vh;display:grid;overflow:auto}.botLogItem{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px}.botLogItem.level-error{background:#fef2f2;border-color:#fecaca}.botLogPayload{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-top:8px;padding:8px}.botLogPayload span{color:#64748b;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:700;display:block}.botLogPayload p{white-space:pre-wrap;margin:0}.knowledgeRow>span{gap:6px}.knowledgeThumb{object-fit:cover;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;width:120px;height:80px}.knowledgeRecorder{gap:6px;display:grid}.knowledgeExistingFiles{background:#f8fafc;border:1px solid #dbe7f3;border-radius:12px;gap:8px;padding:10px;display:grid}.knowledgeExistingFiles a{color:#2563eb;font-size:12px;font-weight:800;text-decoration:none}.contactTagsPreview,.contactTagsEditor{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.contactTagsPreview span{color:#166534;background:#ecfdf5;border-radius:999px;padding:2px 8px;font-size:11px}.contactTagsEditor{width:100%}.contactTagsEditor input{flex:1;min-width:180px}body[data-theme=dark] .ticketTagsBar,body[data-theme=dark] .ticketSidePanel{background:#0f172a;border-color:#334155}body[data-theme=dark] .ticketSideNote,body[data-theme=dark] .botLogItem{background:#111827;border-color:#334155}body[data-theme=dark] .message.failed{background:#450a0a;outline-color:#991b1b}body[data-theme=dark] .searchResults,body[data-theme=dark] .chatMoreDropdown,body[data-theme=dark] .composerInput{color:#e2e8f0;background:#111827;border-color:#334155}body[data-theme=dark] .searchResults button,body[data-theme=dark] .chatMoreDropdown button{color:#e2e8f0;background:#1e293b}body[data-theme=dark] .mobileTopbar,body[data-theme=dark] .ollamaStatusCard{color:#e2e8f0;background:#111827;border-color:#334155}body[data-theme=dark] .ollamaStatusCard.online{border-color:#166534}body[data-theme=dark] .ollamaStatusCard.offline{border-color:#7f1d1d}body[data-theme=dark] .ollamaStatusCard p,body[data-theme=dark] .mobileTopbar span{color:#94a3b8}body[data-theme=dark] .ollamaModels button,body[data-theme=dark] .ollamaStatusActions button{color:#e2e8f0;background:#1e293b}body[data-theme=dark] .ollamaModels button.active,body[data-theme=dark] .ollamaStatusActions button:first-child{color:#fff;background:#16a34a}@media (width<=980px){.pendingAlert{max-width:none;top:76px;left:12px;right:12px}.adminHeader,.paneHeader,.chatHeader,.settingsTabs{padding-left:14px;padding-right:14px}.reportsGrid,.scheduleStats,.ticketActionPanel,.quickFilters{grid-template-columns:1fr}.userRow{grid-template-columns:1fr;display:grid}.userActions{justify-content:flex-start;max-width:none}.businessHoursRow,.routingRuleRow,.chatBody.withPanel .chatMain{grid-template-columns:1fr}.ticketSidePanel{border-top:1px solid #d9e2ec;border-left:0}}.aiDraftBar,.agentToolTestPanel,.agentToolTestResult,.agentToolLogsPanel,.aiReportPanel,.aiReportGrid,.botToolLogsSection{background:#f8fafc;border:1px solid #d9e2ec;border-radius:12px;padding:12px}.aiDraftBar{justify-content:space-between;gap:12px;margin:0 12px 8px;display:flex}.aiDraftBar p{white-space:pre-wrap;margin:6px 0 0}.agentToolTestPanel{gap:10px;margin-bottom:16px;display:grid}.agentToolTestResult pre{color:#e2e8f0;background:#0f172a;border-radius:8px;max-height:220px;padding:10px;font-size:12px;overflow:auto}.aiReportGrid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:12px;display:grid}.aiReportGrid article{background:#fff;border-radius:10px;flex-direction:column;gap:4px;padding:10px;display:flex}.aiSetupPanel{background:radial-gradient(circle at 100% 0,#16a34a24,#0000 34%),#f0fdf4;border:1px solid #bbf7d0;border-radius:16px;gap:14px;padding:16px;display:grid}.aiSetupHeader{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.aiSetupHeader h3,.aiSetupHeader p{margin:0}.aiSetupHeader p{color:#166534;margin-top:4px;font-size:13px}.aiSetupHeader .rowActions button:not(.primaryButton),.aiSetupActions button{color:#166534;background:#dcfce7;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 12px;font-weight:900;display:inline-flex}.aiSetupSteps{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.aiSetupSteps article{background:#ffffffdb;border:1px solid #d9e2ec;border-radius:14px;align-items:flex-start;gap:10px;padding:12px;display:flex}.aiSetupSteps article.ready{border-color:#86efac}.aiSetupSteps article>span{color:#f59e0b;margin-top:1px}.aiSetupSteps article.ready>span{color:#16a34a}.aiSetupSteps strong,.aiSetupSteps p{margin:0}.aiSetupSteps p{color:#64748b;margin-top:4px;font-size:12px;line-height:1.35}.aiSetupActions{flex-wrap:wrap;gap:8px;display:flex}.botToolLogsSection{margin-top:16px}body[data-theme=dark] .aiDraftBar,body[data-theme=dark] .agentToolTestPanel,body[data-theme=dark] .agentToolTestResult,body[data-theme=dark] .agentToolLogsPanel,body[data-theme=dark] .aiReportPanel,body[data-theme=dark] .aiSetupPanel,body[data-theme=dark] .botToolLogsSection{background:#111827;border-color:#334155}body[data-theme=dark] .aiReportGrid article{background:#1e293b}body[data-theme=dark] .aiSetupHeader p{color:#bbf7d0}body[data-theme=dark] .aiSetupSteps article{background:#1e293b;border-color:#334155}.resourcesPage{gap:18px;display:grid}.manualPage{align-content:start;display:grid}.manualHero{background:radial-gradient(circle at 100% 0,#2563eb29,#0000 34%),#fff}.manualLayout{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:18px;padding:22px;display:grid}.manualSidebar,.manualContent,.manualCard,.manualTitleCard{background:#fff;border:1px solid #d9e2ec;border-radius:18px;box-shadow:0 16px 38px #0f172a0f}.manualSidebar{align-content:start;gap:12px;max-height:calc(100vh - 126px);padding:16px;display:grid;position:sticky;top:18px;overflow:auto}.manualSidebar>strong{color:#0f172a;letter-spacing:.04em;text-transform:uppercase;font-size:13px}.manualMenuList{gap:8px;display:grid}.manualMenuList button{color:#334155;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:3px;width:100%;min-height:48px;padding:9px 11px;display:grid}.manualMenuList button.active,.manualMenuList button:hover{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.manualMenuList button span{font-weight:900}.manualMenuList button small{color:inherit;opacity:.75}.manualContent{gap:16px;padding:18px;display:grid}.manualTitleCard{background:radial-gradient(circle at 100% 0,#16a34a1f,#0000 36%),#fff;align-items:flex-start;gap:14px;padding:18px;display:flex}.manualIcon{color:#166534;background:#dcfce7;border-radius:16px;flex:none;place-items:center;width:54px;height:54px;display:grid}.manualTitleCard small{color:#16a34a;letter-spacing:.05em;text-transform:uppercase;font-size:12px;font-weight:1000}.manualTitleCard h3{margin:4px 0 6px;font-size:26px}.manualTitleCard p,.manualCard p{color:#64748b;margin:0;line-height:1.55}.manualInfoGrid{grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr);gap:14px;display:grid}.manualCard{box-shadow:none;gap:12px;padding:16px;display:grid}.manualCard h4{color:#0f172a;margin:0;font-size:15px}.manualCard ul,.manualSteps{color:#334155;gap:9px;margin:0;padding-left:20px;line-height:1.45;display:grid}.manualSteps{counter-reset:manual-step;padding-left:0;list-style:none}.manualSteps li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;min-height:34px;padding:8px 10px 8px 46px;position:relative}.manualSteps li:before{content:counter(manual-step);counter-increment:manual-step;color:#fff;background:#16a34a;border-radius:999px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:1000;display:grid;position:absolute;top:7px;left:10px}.manualSubmenuGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.manualSubmenuGrid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:5px;padding:12px;display:grid}.manualSubmenuGrid strong{color:#1f2933}.manualActionsCard .rowActions{justify-content:flex-start}.resourceSummary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.resourceGrid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.resourceCard{background:#fff;border:1px solid #d9e2ec;border-radius:16px;gap:14px;padding:16px;display:grid;box-shadow:0 8px 28px #0f172a0f}.resourceCardWide{grid-column:1/-1}.resourceCard header{align-items:center;gap:10px;display:flex}.resourceCard h3,.resourceCard p{margin:0}.resourceCard p{color:#64748b;font-size:13px}.resourceDetails{gap:8px;margin:0;display:grid}.resourceDetails div{border-bottom:1px solid #edf2f7;justify-content:space-between;gap:12px;padding-bottom:8px;display:flex}.resourceDetails dt{color:#64748b;font-size:13px}.resourceDetails dd{text-align:right;overflow-wrap:anywhere;margin:0;font-weight:800}.resourceBar{background:#e2e8f0;border-radius:999px;height:10px;overflow:hidden}.resourceBar span{border-radius:inherit;background:linear-gradient(90deg,#16a34a,#f59e0b);height:100%;display:block}.resourceServiceList{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.resourceServiceItem,.runningServicesTable div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.runningServicesTable{gap:8px;max-height:420px;display:grid;overflow:auto}.runningServicesTable span{color:#64748b;text-align:right;font-size:13px}.resourceUpdatedAt{color:#64748b}body[data-theme=dark] .resourceCard,body[data-theme=dark] .manualHero,body[data-theme=dark] .manualSidebar,body[data-theme=dark] .manualContent,body[data-theme=dark] .manualCard,body[data-theme=dark] .manualTitleCard{background:#111827;border-color:#334155}body[data-theme=dark] .manualMenuList button,body[data-theme=dark] .manualSteps li,body[data-theme=dark] .manualSubmenuGrid div{color:#e2e8f0;background:#1e293b;border-color:#334155}body[data-theme=dark] .manualMenuList button.active,body[data-theme=dark] .manualMenuList button:hover{background:#1e3a8a;border-color:#60a5fa}body[data-theme=dark] .manualSidebar>strong,body[data-theme=dark] .manualCard h4,body[data-theme=dark] .manualSubmenuGrid strong{color:#e2e8f0}body[data-theme=dark] .resourceDetails div{border-color:#334155}body[data-theme=dark] .resourceServiceItem,body[data-theme=dark] .runningServicesTable div{background:#1e293b;border-color:#334155}.crmPage{background:radial-gradient(circle at 0 0,#2563eb1a,#0000 32%),linear-gradient(#f8fbff 0%,#eef3f9 100%);padding:18px;overflow:auto}.crmHero{color:#fff;background:linear-gradient(135deg,#0f172af5,#1e40afe0),radial-gradient(circle at 85% 15%,#60a5fa59,#0000 28%);border:1px solid #dbeafe;border-radius:24px;align-items:stretch;margin-bottom:16px;padding:22px;overflow:hidden;box-shadow:0 20px 55px #1e40af33}.crmHero h2{color:#fff;letter-spacing:-.04em;margin:4px 0 6px;font-size:clamp(26px,3vw,38px)}.crmHero p{color:#dbeafe;max-width:620px}.crmEyebrow{color:#bfdbfe;letter-spacing:.08em;text-transform:uppercase;background:#ffffff1a;border:1px solid #dbeafe47;border-radius:999px;width:fit-content;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.crmHeroActions{align-content:center;justify-items:end;gap:10px;min-width:min(360px,100%);display:grid}.crmHeroActions label{color:#bfdbfe;gap:6px;width:100%;font-size:12px;font-weight:700;display:grid}.crmHeroActions select{color:#0f172a;background:#fffffff5;border:1px solid #dbeafe47;border-radius:14px;width:100%;min-height:44px;padding:0 12px;font-weight:800}.crmHeroActions .rowActions button{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff24;border:1px solid #dbeafe38;border-radius:14px;min-height:42px}.crmProductsHero{background:linear-gradient(135deg,#14532df5,#15803ddb),radial-gradient(circle at 85% 15%,#86efac4d,#0000 28%);box-shadow:0 20px 55px #15803d2e}.crmProductStats{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.crmProductStats span{color:#dcfce7;background:#ffffff1f;border:1px solid #dcfce73d;border-radius:14px;gap:2px;padding:10px;font-size:12px;display:grid}.crmProductStats strong{color:#fff;font-size:22px}.crmSummary{grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;margin-bottom:16px;display:grid}.crmPage .dashboardMetric{background:#ffffffe0;border:1px solid #dbeafe;border-radius:18px;min-height:108px;box-shadow:0 14px 34px #0f172a12}.crmPage .dashboardMetric strong{letter-spacing:-.03em;font-size:22px}.crmReportGrid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-bottom:16px;display:grid}.crmReportGrid .dashboardCard{background:#ffffffdb;border:1px solid #dbeafe;border-radius:20px;box-shadow:0 14px 34px #0f172a0f}.crmCoachBar{background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #bfdbfe;border-radius:18px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:14px 16px;display:flex;box-shadow:0 14px 32px #2563eb14}.crmCoachBar>div:first-child{gap:3px;display:grid}.crmCoachBar strong{color:#1e3a8a}.crmCoachBar span{color:#475569;font-size:13px}.crmCoachBar>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.crmCoachBar button{color:#fff;background:#2563eb;border-radius:999px;min-height:38px;padding:0 12px;font-weight:800}.crmProductsLayout{grid-template-columns:360px minmax(0,1fr);align-items:start;gap:16px;display:grid}.crmProductForm,.crmProductCatalog{background:#fffffff0;border:1px solid #bbf7d0;border-radius:22px;box-shadow:0 18px 45px #0f172a14}.crmProductForm{position:sticky;top:16px}.crmProductCatalog{overflow:hidden}.crmProductGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding:14px;display:grid}.crmProductCard{background:linear-gradient(#fff,#f7fef9);border:1px solid #dcfce7;border-radius:18px;align-content:space-between;gap:14px;min-height:210px;padding:16px;display:grid;box-shadow:0 12px 26px #0f172a12}.crmProductCard.inactive{opacity:.62;filter:grayscale(.4)}.crmProductCard h3{color:#0f172a;margin:10px 0 6px;font-size:18px}.crmProductCard p{color:#64748b;margin:0;font-size:13px;line-height:1.45}.crmProductMeta{border-top:1px solid #dcfce7;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;display:flex}.crmProductMeta span{color:#64748b;font-size:12px}.crmProductMeta strong{color:#166534;font-size:18px}.crmEmptyState{color:#64748b;text-align:center;place-items:center;gap:8px;padding:36px 20px;display:grid}.crmEmptyState svg{color:#2563eb}.crmEmptyState strong{color:#0f172a;font-size:16px}.crmEmptyState p{max-width:360px;margin:0}.crmBoardEmpty{background:#eff6ff;border:1px dashed #93c5fd;border-radius:18px;align-self:stretch;min-width:min(620px,100%)}.crmWorkspace{grid-template-columns:330px minmax(0,1fr);align-items:start;gap:16px;display:grid}.crmActionPanel{gap:14px;display:grid;position:sticky;top:16px}.crmActionPanel>section,.crmBoardPanel{background:#ffffffeb;border:1px solid #dbeafe;border-radius:22px;box-shadow:0 18px 45px #0f172a14}.crmActionPanel>section{padding:16px}.crmSectionTitle{gap:3px;margin-bottom:12px;display:grid}.crmSectionTitle strong,.crmBoardHeader strong{color:#0f172a;font-size:16px}.crmSectionTitle small,.crmBoardHeader small{color:#64748b}.crmBoardPanel{min-width:0;overflow:hidden}.crmBoardHeader{background:linear-gradient(#fff 0%,#f8fafc 100%);border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.crmBoardHeader span{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.crmPipelineForm,.crmQuickForm,.crmStageForm{background:0 0;border:0;gap:9px;margin:0;padding:0;display:grid}.crmStageForm{grid-template-columns:1fr 52px}.crmPipelineForm{grid-template-columns:1fr;margin-bottom:10px}.crmInlineFields{grid-template-columns:1fr 96px;gap:8px;display:grid}.crmPipelineForm input,.crmQuickForm input,.crmQuickForm select,.crmStageForm input,.crmStageForm select{color:#0f172a;background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;width:100%;min-height:42px;padding:10px 12px}.crmPipelineForm button,.crmStageForm button,.crmQuickForm button{border-radius:12px;min-height:42px;font-weight:800}.crmStageForm button{color:#3730a3;background:#eef2ff;grid-column:1/-1}.crmKanban{scrollbar-width:thin;grid-auto-columns:minmax(286px,316px);grid-auto-flow:column;gap:12px;min-height:520px;padding:14px;display:grid;overflow-x:auto}.crmColumn{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;min-height:500px;display:flex;overflow:hidden}.crmColumn>header{background:#fff;border-top:5px solid #2563eb;border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:10px;padding:14px 14px 12px;display:flex}.crmColumn>header strong{color:#0f172a}.crmColumn>header span{white-space:nowrap;color:#0f172a;font-weight:900}.crmColumn header small,.crmCard small,.crmProductRow small{color:#64748b;display:block}.crmCards{align-content:start;gap:10px;min-height:360px;padding:12px;display:grid}.crmStageEdit{gap:6px;padding:8px 12px 0;display:flex}.crmStageEdit button{color:#3730a3;background:#eef2ff;border-radius:999px;padding:6px 8px;font-size:11px;font-weight:800}.crmCard{background:#fff;border:1px solid #dbeafe;border-radius:16px;gap:8px;padding:14px;transition:transform .16s,box-shadow .16s,border-color .16s;display:grid;box-shadow:0 12px 26px #0f172a14}.crmCard:hover{border-color:#93c5fd;transform:translateY(-2px);box-shadow:0 18px 34px #2563eb24}.crmCard>strong{color:#0f172a;font-size:15px}.crmCard[draggable=true]{cursor:grab}.crmMoveActions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.crmMoveActions button{color:#3730a3;background:#eef2ff;border-radius:999px;padding:7px 9px;font-size:11px;font-weight:800}.crmTicketModal{max-width:680px}.crmCustomerModal{width:min(920px,100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.formInline{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.inputWithButton{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.inputWithButton button{color:#3730a3;white-space:nowrap;background:#eef2ff;border-radius:10px;min-height:40px;padding:0 10px;font-weight:800}.crmCustomerSelectRow{grid-template-columns:1fr 84px}.compactCrmForm{margin-bottom:14px}.crmOpportunityModal{width:min(1120px,100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.crmOpportunityLayout{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr);gap:16px;display:grid}.crmProductPicker{background:#f8fafc;border:1px solid #dbeafe;border-radius:12px;gap:8px;max-height:220px;padding:8px;display:grid;overflow:auto}.crmProductPickerItem{background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:auto 1fr;align-items:center;gap:9px;padding:9px;display:grid}.crmProductPickerItem span{gap:2px;display:grid}.crmProductPickerItem small{color:#64748b}.crmDetailSide{align-content:start;gap:12px;display:grid}.crmDetailCard{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:10px;padding:14px;display:grid}.crmDetailCard h4{margin:0}.crmDetailCardHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.crmDetailCardHeader p{color:#64748b;margin:4px 0 0;font-size:13px}.crmContactActions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.crmContactActions a,.crmContactActions button{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 10px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.crmContactActions a:first-child{color:#15803d;background:#ecfdf5;border-color:#bbf7d0}.crmContactActions a.disabled{pointer-events:none;opacity:.45;filter:grayscale()}.crmDetailLine,.crmTaskList article{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;gap:12px;padding:10px;display:flex}.crmDetailLine span,.crmTaskList small,.crmTimeline small{color:#64748b;font-size:12px}.crmCustomFieldRow,.crmTaskForm{gap:8px;display:grid}.crmCustomFieldRow{grid-template-columns:1fr 1fr}.crmTaskForm input,.crmTaskForm textarea,.crmCustomFieldRow input{border:1px solid #cbd5e1;border-radius:10px;width:100%;padding:9px 10px}.crmTaskMeetToggle{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;align-items:center;gap:8px;padding:9px 10px;font-size:13px;font-weight:700;display:flex}.crmTaskMeetToggle input{width:auto}.crmTaskList{gap:8px;display:grid}.crmTaskList article.done{opacity:.65}.crmTaskList article.done strong{text-decoration:line-through}.crmTimeline{gap:0;max-height:280px;padding-left:4px;display:grid;overflow:auto}.crmTimeline article{grid-template-columns:18px 1fr;gap:10px;padding:0 0 16px;display:grid;position:relative}.crmTimeline article:not(:last-child):before{content:"";background:#dbeafe;width:2px;position:absolute;top:16px;bottom:-2px;left:6px}.crmTimelineDot{z-index:1;background:#2563eb;border:3px solid #bfdbfe;border-radius:999px;width:14px;height:14px;margin-top:3px;position:relative;box-shadow:0 0 0 4px #eff6ff}.crmTimeline article strong{color:#0f172a}.crmTimeline article p{color:#334155;margin:4px 0;font-size:14px}body[data-theme=dark] .crmPipelineForm,body[data-theme=dark] .crmQuickForm,body[data-theme=dark] .crmStageForm,body[data-theme=dark] .crmColumn,body[data-theme=dark] .crmColumn>header,body[data-theme=dark] .crmCard,body[data-theme=dark] .crmDetailCard,body[data-theme=dark] .crmActionPanel>section,body[data-theme=dark] .crmBoardPanel,body[data-theme=dark] .crmProductForm,body[data-theme=dark] .crmProductCatalog,body[data-theme=dark] .crmProductCard{background:#111827;border-color:#374151}body[data-theme=dark] .crmColumn{background:#0f172a}body[data-theme=dark] .crmPipelineForm input,body[data-theme=dark] .crmQuickForm input,body[data-theme=dark] .crmQuickForm select,body[data-theme=dark] .crmStageForm input,body[data-theme=dark] .crmStageForm select,body[data-theme=dark] .crmTaskForm input,body[data-theme=dark] .crmTaskForm textarea,body[data-theme=dark] .crmCustomFieldRow input{color:#e5e7eb;background:#0f172a;border-color:#374151}body[data-theme=dark] .crmMoveActions button{color:#bfdbfe;background:#1e293b}body[data-theme=dark] .crmDetailLine,body[data-theme=dark] .crmTaskList article{background:#0f172a;border-color:#374151}body[data-theme=dark] .crmContactActions a,body[data-theme=dark] .crmContactActions button{color:#bfdbfe;background:#1e293b;border-color:#334155}body[data-theme=dark] .crmContactActions a:first-child{color:#86efac;background:#16653438;border-color:#166534}body[data-theme=dark] .crmTimeline article strong,body[data-theme=dark] .crmTimeline article p{color:#e2e8f0}body[data-theme=dark] .crmTimeline article:not(:last-child):before{background:#334155}body[data-theme=dark] .crmPage{background:radial-gradient(circle at 0 0,#3b82f61f,#0000 32%),linear-gradient(#0f172a 0%,#111827 100%)}body[data-theme=dark] .crmCoachBar,body[data-theme=dark] .crmBoardHeader{background:#111827;border-color:#334155}body[data-theme=dark] .crmCoachBar strong,body[data-theme=dark] .crmBoardHeader strong,body[data-theme=dark] .crmSectionTitle strong,body[data-theme=dark] .crmProductCard h3,body[data-theme=dark] .crmEmptyState strong{color:#e2e8f0}body[data-theme=dark] .crmProductMeta{border-color:#334155}body[data-theme=dark] .crmProductMeta strong{color:#86efac}body[data-theme=dark] .crmBoardEmpty{background:#0f172a;border-color:#334155}.dailyBriefingOverlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.dailyBriefingModal{background:radial-gradient(circle at 0 0,#2563eb1a,#0000 32%),#fff;border:1px solid #dbeafe;border-radius:26px;width:min(1120px,100vw - 28px);max-height:calc(100vh - 28px);overflow:auto;box-shadow:0 28px 80px #0f172a47}.dailyBriefingHeader{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px;display:flex}.dailyBriefingHeader h3{color:#0f172a;letter-spacing:-.04em;margin:8px 0 4px;font-size:clamp(24px,3vw,36px)}.dailyBriefingHeader p{color:#64748b;margin:0}.dailyBriefingStats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 22px 0;display:grid}.dailyBriefingGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px 22px 22px;display:grid}.dailyBriefingCard{background:#ffffffdb;border:1px solid #e2e8f0;border-radius:18px;align-content:start;gap:10px;min-height:220px;padding:16px;display:grid}.dailyBriefingCard h4{color:#0f172a;margin:0}.dailyNotice,.dailyAgendaItem,.dailyTicketButton{text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;gap:4px;padding:12px;display:grid}.dailyNotice.attention{background:#fff7ed;border-color:#fed7aa}.dailyNotice.warning{background:#fef2f2;border-color:#fecaca}.dailyNotice.info{background:#eff6ff;border-color:#bfdbfe}.dailyNotice strong,.dailyAgendaItem strong,.dailyTicketButton strong{color:#0f172a}.dailyNotice p,.dailyAgendaItem p,.dailyTicketButton span,.dailyAgendaItem span{color:#64748b;margin:0;font-size:13px}.dailyTicketButton:hover{background:#eff6ff;border-color:#93c5fd}.dailyBriefingFooter{justify-content:flex-end;gap:10px;padding:0 22px 22px;display:flex}.dailyBriefingFooter button{color:#0f172a;background:#e2e8f0;border-radius:12px;min-height:42px;padding:0 14px;font-weight:800}body[data-theme=dark] .dailyBriefingModal,body[data-theme=dark] .dailyBriefingCard,body[data-theme=dark] .dailyNotice,body[data-theme=dark] .dailyAgendaItem,body[data-theme=dark] .dailyTicketButton{background:#111827;border-color:#334155}body[data-theme=dark] .dailyBriefingHeader,body[data-theme=dark] .dailyBriefingCard h4,body[data-theme=dark] .dailyBriefingHeader h3,body[data-theme=dark] .dailyNotice strong,body[data-theme=dark] .dailyAgendaItem strong,body[data-theme=dark] .dailyTicketButton strong{color:#e2e8f0}body[data-theme=dark] .dailyBriefingHeader{border-color:#334155}.crmCompanyBox{background:#ffffffeb;border:1px solid #94a3b83d;border-radius:24px;margin:18px 0;overflow:hidden;box-shadow:0 18px 45px #0f172a14}.crmCompanyBox summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.crmCompanyBox summary span{gap:4px;display:grid}.crmCompanyBox summary small{color:#64748b}.crmCompanyBox summary img{object-fit:contain;background:#f8fafc;border:1px solid #94a3b847;border-radius:14px;width:74px;height:54px}.crmCompanyBox .settingsGrid{padding:0 20px 20px}.settingsCompanyBox{background:linear-gradient(#f8fafcf2,#fffffffa);border-top:1px solid #94a3b838;margin-top:22px;padding:20px}.companyProfileHeader{justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:0}.companyProfileHeader h3{margin:0 0 6px;font-size:1.15rem}.companyProfileHeader p{color:#64748b;max-width:640px;margin:0}.companyLogoPreview{color:#16a34a;background:#fff;border:1px solid #94a3b847;border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:96px;height:72px;display:flex;overflow:hidden}.companyLogoPreview img{object-fit:contain;width:100%;height:100%;padding:8px}.companyProfileForm{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.companyProfileForm label{background:#fff;border:1px solid #94a3b838;border-radius:14px;gap:8px;margin:0;padding:12px;display:grid;box-shadow:0 8px 24px #0f172a0a}.companyProfileForm label span{color:#334155;letter-spacing:.02em;font-size:.82rem;font-weight:800}.companyProfileForm input,.companyProfileForm textarea{color:#0f172a;width:100%;min-height:42px;font:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px}.companyProfileForm .companyLookupField{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.companyProfileForm .companyLookupField button{color:#166534;white-space:nowrap;background:#dcfce7;border:0;border-radius:12px;min-height:42px;padding:0 14px;font-weight:800}.companyProfileForm .companyLookupField button:disabled{opacity:.55;cursor:not-allowed}.companyProfileForm textarea{resize:vertical;min-height:120px;padding:12px}.companyProfileForm input:focus,.companyProfileForm textarea:focus{background:#fff;border-color:#16a34a;outline:none;box-shadow:0 0 0 3px #22c55e24}.companyProfileForm .span2{grid-column:span 2}.companyProfileForm .fullWidth{grid-column:1/-1}.companyProfileForm .companyFileField input[type=file]{background:0 0;border:0;min-height:auto;padding:10px 0 0}.companyProfileForm .formActions{justify-content:flex-end;padding-top:4px;display:flex}.companyProfileForm .formActions .primaryButton{min-width:220px}.settingsCompanyBox .settingsCardHeader img{object-fit:contain;background:#f8fafc;border:1px solid #94a3b847;border-radius:16px;width:86px;height:62px;padding:8px}body[data-theme=dark] .settingsCompanyBox{background:linear-gradient(#0f172aeb,#111827fa);border-color:#334155}body[data-theme=dark] .companyProfileHeader p{color:#94a3b8}body[data-theme=dark] .companyLogoPreview,body[data-theme=dark] .companyProfileForm label{background:#111827;border-color:#334155}body[data-theme=dark] .companyProfileForm label span{color:#e2e8f0}body[data-theme=dark] .companyProfileForm input,body[data-theme=dark] .companyProfileForm textarea{color:#e2e8f0;background:#0f172a;border-color:#334155}body[data-theme=dark] .companyProfileForm input:focus,body[data-theme=dark] .companyProfileForm textarea:focus{background:#0b1220}.crmProposalList{gap:10px;display:grid}.crmProposalList article{background:linear-gradient(135deg,#f0fdf4e6,#eff6ffe6);border:1px solid #22c55e2e;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.crmProposalList article.proposalStatus-pending{background:linear-gradient(135deg,#fef2f2f2,#fff7ede6);border-color:#dc262638}.crmProposalList article.proposalStatus-viewed{background:linear-gradient(135deg,#fef9c3f2,#fffbebe6);border-color:#d9770640}.crmProposalList article.proposalStatus-accepted{background:linear-gradient(135deg,#dcfce7f2,#f0fdf4e6);border-color:#16a34a42}.crmProposalList article>div:first-child{gap:4px;display:grid}.crmProposalList small,.crmProposalList a{color:#64748b;font-size:.82rem}.proposalStatusPill{border-radius:999px;align-items:center;padding:3px 8px;font-size:.76rem;font-weight:900;display:inline-flex}.proposalStatusPill.pending{color:#b91c1c;background:#fee2e2}.proposalStatusPill.viewed{color:#92400e;background:#fef3c7}.proposalStatusPill.accepted{color:#166534;background:#dcfce7}.proposalStatusPill.draft{color:#334155;background:#e2e8f0}.lostReason{color:#991b1b;white-space:normal;background:#fee2e2;border-radius:12px;padding:7px 10px;font-weight:800;display:inline-flex}.crmProposalFeedback{color:#166534;background:#dcfce7e0;border-radius:12px;flex-basis:100%;margin:0;padding:9px 12px;font-size:.84rem;font-weight:800}.proposalPublicPage{overscroll-behavior:contain;background:radial-gradient(circle at 0 0,#22c55e40,#0000 32%),linear-gradient(135deg,#eff6ff 0%,#f8fafc 46%,#ecfdf5 100%);height:100vh;min-height:100vh;padding:36px 16px;overflow-y:auto}.proposalPublicCard{background:#fffffff5;border:1px solid #94a3b838;border-radius:32px;max-width:980px;margin:0 auto;overflow:hidden;box-shadow:0 30px 80px #0f172a29}.proposalPublicHero{color:#fff;background:linear-gradient(135deg,#0f172a,#166534);justify-content:space-between;gap:24px;padding:34px;display:flex}.proposalPublicHero img{object-fit:contain;background:#fffffff2;border-radius:18px;width:120px;max-height:78px;margin-bottom:18px;padding:10px}.proposalPublicHero span{color:#bbf7d0;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:700;display:inline-flex}.proposalPublicHero h1{margin:8px 0;font-size:clamp(2rem,5vw,3.4rem);line-height:1}.proposalPublicHero p{color:#ffffffd1;max-width:620px}.proposalPublicHero strong{white-space:nowrap;background:#ffffff24;border-radius:18px;align-self:flex-start;padding:14px 18px;font-size:1.5rem}.proposalPublicGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 34px 0;display:grid}.proposalPublicGrid>div,.proposalSection,.proposalSignBox,.proposalAcceptedBox{background:#f8fafc;border:1px solid #94a3b838;border-radius:22px;margin:16px 34px;padding:20px}.proposalPublicGrid h3,.proposalSection h2,.proposalSignBox h2,.proposalAcceptedBox h2{margin:0 0 8px}.proposalPublicGrid small{color:#64748b;margin-top:4px;display:block}.proposalSection strong{color:#15803d;margin:8px 0;font-size:1.35rem;display:inline-flex}.proposalProductList{gap:12px;display:grid}.proposalProductList article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:16px;padding:12px;display:flex}.proposalProductList h3,.proposalProductList p{margin:0}.proposalProductList p{color:#64748b;margin-top:4px}.proposalSignBox{background:linear-gradient(135deg,#f0fdf4,#eff6ff);gap:12px;display:grid}.proposalSignBox input{border:1px solid #94a3b859;border-radius:14px;padding:13px 14px}.proposalCodeButton{color:#fff;background:#0f172a;border-radius:14px;min-height:46px;font-weight:900}.proposalNotice{color:#166534;background:#dcfce7;border:1px solid #22c55e40;border-radius:14px;padding:12px 14px;font-weight:800}.proposalAcceptedBox{text-align:center;color:#166534;background:#f0fdf4}@media (width<=900px){.crmSummary{grid-template-columns:repeat(2,minmax(0,1fr))}.crmWorkspace,.crmProductsLayout{grid-template-columns:1fr}.crmActionPanel,.crmProductForm{position:static}.crmCoachBar{flex-direction:column;align-items:flex-start}.crmQuickForm{grid-template-columns:1fr}.crmStageForm{grid-template-columns:1fr auto}.crmOpportunityLayout,.dailyBriefingStats,.dailyBriefingGrid,.proposalPublicGrid{grid-template-columns:1fr}.proposalPublicHero{flex-direction:column}.companyProfileForm{grid-template-columns:1fr}.companyProfileForm .span2{grid-column:auto}.companyProfileHeader{flex-direction:column;align-items:flex-start}.proposalPublicGrid,.proposalPublicGrid>div,.proposalSection,.proposalSignBox,.proposalAcceptedBox{margin-left:18px;margin-right:18px}}
