@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,system-ui,sans-serif;color:#0f172a;background:#f5f7fb;font-synthesis:none;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-soft: #dbeafe;--navy: #0b1633;--navy-deep: #070f25;--background: #f5f7fb;--panel: #fff;--text: #0f172a;--muted: #64748b;--border: #e2e8f0;--success: #10b981;--danger: #ef4444}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,select{font:inherit}button{cursor:pointer}svg{width:20px;height:20px}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#dbeafe,#f5f7fb 52%)}.login-card{width:min(100%,440px);padding:44px;background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 24px 70px #1e40af1f}.eyebrow{color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}h1{margin:9px 0 12px;font-size:clamp(30px,4vw,42px);letter-spacing:-.045em}.login-card p{color:var(--muted);line-height:1.65}.login-card button{width:100%;margin:18px 0;padding:14px 18px;border:0;border-radius:11px;color:#fff;background:var(--primary);font-weight:700;box-shadow:0 8px 20px #2563eb38}.login-card button:hover{background:var(--primary-hover);transform:translateY(-1px)}.login-card small{display:block;color:#78879a;line-height:1.5}.error{color:#b42318!important;background:#fff1f0;border:1px solid #ffd5d2;border-radius:10px;padding:12px}.crm-layout{display:flex;min-height:100vh;background:var(--background);overflow-x:hidden}.crm-sidebar{position:relative;z-index:30;display:flex;flex:0 0 248px;min-height:100vh;flex-direction:column;padding:22px 14px;color:#fff;background:linear-gradient(180deg,var(--navy),var(--navy-deep));transition:flex-basis .24s,padding .24s,transform .24s}.sidebar-brand{display:flex;align-items:center;gap:10px;min-height:34px;padding:0 8px;white-space:nowrap}.sidebar-brand strong{font-size:20px;letter-spacing:-.04em}.brand-symbol{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:10px;background:linear-gradient(135deg,#60a5fa,var(--primary));box-shadow:0 8px 20px #2563eb6b;font-size:17px;font-weight:800}.sidebar-collapse,.sidebar-mobile-close{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:8px;color:#9eacc7;background:transparent}.sidebar-collapse{margin-left:auto}.sidebar-collapse:hover,.sidebar-mobile-close:hover{color:#fff;background:#ffffff17}.sidebar-collapse svg{width:17px}.sidebar-mobile-close{display:none;margin-left:auto;font-size:22px}.sidebar-label{margin:40px 10px 11px;color:#8090ad;font-size:10px;font-weight:800;letter-spacing:.09em}.sidebar-navigation{display:flex;flex-direction:column;gap:4px}.sidebar-navigation button{display:flex;width:100%;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:9px;color:#aebbd0;background:transparent;font-size:13px;font-weight:600;text-align:left;transition:.18s}.sidebar-navigation button svg{width:18px;height:18px;flex:0 0 auto}.sidebar-navigation button:hover{color:#fff;background:#ffffff12;transform:translate(2px)}.sidebar-navigation button.active{color:#fff;background:linear-gradient(90deg,#2563ebd1,#2563eb47);box-shadow:inset 0 0 0 1px #60a5fa29,0 5px 15px #0000001a}.sidebar-spacer{flex:1;min-height:24px}.sidebar-organization{display:flex;position:relative;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#ffffff0e}.organization-icon{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border-radius:9px;color:#fff;background:#2563ebad}.organization-icon svg{width:16px}.organization-copy{min-width:0;flex:1}.organization-copy small{display:block;margin-bottom:3px;color:#8f9eb7;font-size:10px}.organization-copy select{width:100%;padding:0;border:0;outline:0;color:#fff;background:transparent;font-size:11px;font-weight:700;-webkit-appearance:none;-moz-appearance:none;appearance:none}.organization-copy option{color:#fff;background:var(--navy)}.sidebar-organization>svg{width:14px;color:#95a5be;pointer-events:none}.crm-sidebar.is-collapsed{flex-basis:76px;padding-right:10px;padding-left:10px}.crm-sidebar.is-collapsed .sidebar-brand{justify-content:center;padding:0}.crm-sidebar.is-collapsed .sidebar-brand strong,.crm-sidebar.is-collapsed .sidebar-label,.crm-sidebar.is-collapsed .sidebar-navigation span,.crm-sidebar.is-collapsed .organization-copy,.crm-sidebar.is-collapsed .sidebar-organization>svg{display:none}.crm-sidebar.is-collapsed .sidebar-collapse{position:absolute;top:24px;right:-13px;border:1px solid #1f315a;color:#fff;background:#10214a;box-shadow:0 4px 12px #0f172a33}.crm-sidebar.is-collapsed .sidebar-navigation:first-of-type{margin-top:76px}.crm-sidebar.is-collapsed .sidebar-navigation button{justify-content:center;padding:11px}.crm-sidebar.is-collapsed .sidebar-organization{justify-content:center;padding:10px}.crm-main{display:flex;min-width:0;flex:1;flex-direction:column}.crm-header{position:relative;z-index:10;display:flex;height:76px;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid rgba(226,232,240,.82);background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-context{display:flex;align-items:center;gap:8px;color:#94a3b8;font-size:13px}.header-context b{color:#cbd5e1}.header-context strong{color:#334155}.mobile-menu{display:none;width:36px;height:36px;place-items:center;margin-left:-8px;border:0;border-radius:9px;color:#475569;background:transparent}.header-profile{position:relative}.profile-trigger{display:flex;align-items:center;gap:9px;padding:4px 7px 4px 4px;border:0;border-radius:11px;background:transparent;text-align:left}.profile-trigger:hover{background:#f1f5f9}.profile-avatar{display:grid;width:35px;height:35px;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#60a5fa,var(--primary-hover));font-size:11px;font-weight:800;box-shadow:0 4px 12px #2563eb33}.profile-copy{display:flex;max-width:180px;flex-direction:column}.profile-copy strong,.profile-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-copy strong{color:#334155;font-size:12px}.profile-copy small{margin-top:2px;color:#94a3b8;font-size:10px}.profile-trigger>svg{width:14px;color:#94a3b8}.profile-menu{position:absolute;top:48px;right:0;z-index:40;min-width:224px;padding:7px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 16px 35px #0f172a21;animation:menu-in .15s ease-out}@keyframes menu-in{0%{opacity:0;transform:translateY(-5px)}}.profile-menu-head{padding:9px 9px 11px;border-bottom:1px solid #edf0f5}.profile-menu-head span,.profile-menu-head small{display:block}.profile-menu-head span{color:#24304a;font-size:13px;font-weight:700}.profile-menu-head small{margin-top:3px;color:var(--primary);font-size:10px;text-transform:capitalize}.profile-language{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;margin-top:3px;padding:9px;color:#475569;font-size:10px;font-weight:600}.profile-language svg{width:15px}.profile-language select{padding:5px 7px;border:1px solid #dbe2ec;border-radius:7px;color:#334155;background:#fff;font:9px Inter,sans-serif}.profile-menu a,.profile-menu>button{display:flex;width:100%;align-items:center;gap:9px;margin-top:3px;padding:9px;border:0;border-radius:8px;color:#475569;background:transparent;font-size:12px;font-weight:600;text-decoration:none}.profile-menu a:hover,.profile-menu>button:hover{color:var(--primary);background:#f8fafc}.profile-menu svg{width:16px}.crm-content{min-width:0;padding:36px 32px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:26px}.page-heading h1{margin:5px 0 7px;font-size:29px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metric-card{display:flex;gap:13px;padding:19px;border:1px solid #e5e9f2;border-radius:15px;background:#fff;box-shadow:0 5px 15px #0f172a06;transition:transform .18s,border-color .18s,box-shadow .18s}.metric-card:hover{border-color:#bfdbfe;box-shadow:0 12px 25px #2563eb14;transform:translateY(-2px)}.metric-card>span{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border-radius:12px;color:var(--primary);background:var(--primary-soft)}.metric-card>span svg{width:20px}.metric-card small,.metric-card p{display:block;margin:0;color:var(--muted);font-size:10px}.metric-card strong{display:block;margin:3px 0;font-size:24px}.welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px;padding:23px;border:1px solid #e5e9f2;border-radius:15px;background:#fff}.welcome-panel>div{display:flex;align-items:center;gap:14px}.welcome-icon{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#60a5fa,var(--primary))}.welcome-panel h2,.welcome-panel p{margin:0}.welcome-panel h2{font-size:15px}.welcome-panel p{max-width:620px;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.5}.access-badge{display:flex;flex:0 0 auto;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;color:#047857;background:#ecfdf5;font-size:10px;font-weight:700;text-transform:capitalize}.access-badge i{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px #d1fae5}.mobile-overlay{display:none}.module-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:25px}.module-heading h1{margin:5px 0 7px;font-size:29px}.module-heading p{margin:0;color:var(--muted);font-size:13px}.primary-action,.secondary-action,.delete-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:0 14px;border-radius:9px;font-size:12px;font-weight:700}.primary-action{border:0;color:#fff;background:var(--primary);box-shadow:0 6px 15px #2563eb2e}.primary-action:hover{background:var(--primary-hover);transform:translateY(-1px)}.primary-action:disabled{cursor:not-allowed;opacity:.55;transform:none}.primary-action svg{width:17px}.secondary-action{border:1px solid #dbe2ea;color:#475569;background:#fff}.secondary-action:hover{background:#f8fafc}.delete-action{border:0;color:#fff;background:#dc2626}.delete-action:hover{background:#b91c1c}.module-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.module-toolbar>span{color:#94a3b8;font-size:11px;font-weight:600}.module-search{display:flex;width:min(390px,100%);align-items:center;gap:9px;padding:10px 12px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;transition:border-color .18s,box-shadow .18s}.module-search:focus-within{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb17}.module-search svg{width:17px;color:#94a3b8}.module-search input{width:100%;border:0;outline:0;color:#334155;background:transparent;font-size:12px}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.account-card{min-width:0;overflow:hidden;border:1px solid #e5e9f2;border-radius:15px;background:#fff;box-shadow:0 5px 15px #0f172a06;transition:transform .18s,border-color .18s,box-shadow .18s}.account-card:hover{border-color:#bfdbfe;box-shadow:0 12px 28px #2563eb17;transform:translateY(-2px)}.account-card>header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 0}.account-logo{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;color:var(--primary-hover);background:var(--primary-soft);font-size:11px;font-weight:800;letter-spacing:.03em}.card-actions{display:flex;gap:3px;opacity:0;transition:opacity .18s}.account-card:hover .card-actions,.account-card:focus-within .card-actions{opacity:1}.card-actions button{display:grid;width:31px;height:31px;place-items:center;border:0;border-radius:8px;color:#64748b;background:transparent}.card-actions button:hover{color:var(--primary);background:#eff6ff}.card-actions .danger-action:hover{color:#dc2626;background:#fef2f2}.card-actions svg{width:15px}.account-card-copy{min-height:132px;padding:16px 18px}.account-card-copy>span{color:var(--primary);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.account-card-copy h2{margin:6px 0 13px;overflow:hidden;color:#172033;font-size:17px;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}.account-card-copy a,.account-card-copy small{display:flex;align-items:center;gap:6px;overflow:hidden;color:#64748b;font-size:11px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.account-card-copy a:hover{color:var(--primary)}.account-card-copy svg{width:14px;flex:0 0 auto}.account-card>footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #edf0f5;background:#fbfcfe}.account-card>footer span{color:#94a3b8;font-size:9px}.account-card>footer button{padding:0;border:0;color:var(--primary);background:transparent;font-size:10px;font-weight:700}.empty-state{display:grid;min-height:330px;place-items:center;align-content:center;padding:40px;border:1px dashed #cfd8e6;border-radius:16px;background:#ffffff8c;text-align:center}.empty-state>span{display:grid;width:54px;height:54px;place-items:center;border-radius:15px;color:var(--primary);background:var(--primary-soft)}.empty-state h2{margin:15px 0 6px;font-size:17px}.empty-state p{max-width:390px;margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.55}.cards-loading{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.cards-loading span{height:235px;border-radius:15px;background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);background-size:200% 100%;animation:shimmer 1.2s infinite}@keyframes shimmer{to{background-position:-200% 0}}.drawer-overlay{position:fixed;z-index:49;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a59;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.account-drawer{position:fixed;z-index:50;top:0;right:0;display:flex;width:min(480px,100%);height:100dvh;flex-direction:column;background:#fff;box-shadow:-20px 0 50px #0f172a24;animation:drawer-in .22s ease-out}@keyframes drawer-in{0%{transform:translate(100%)}}.account-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;padding:27px 28px 22px;border-bottom:1px solid var(--border)}.account-drawer h2{margin:5px 0 0;font-size:21px}.account-drawer>header>button{display:grid;width:33px;height:33px;place-items:center;border:0;border-radius:9px;color:#64748b;background:#f8fafc}.account-drawer>header svg{width:17px}.account-drawer form{display:flex;min-height:0;flex:1;flex-direction:column;gap:18px;padding:26px 28px;overflow-y:auto}.account-drawer label{display:flex;flex-direction:column;gap:7px;color:#334155;font-size:11px;font-weight:700}.account-drawer input,.account-drawer textarea{width:100%;padding:11px 12px;border:1px solid #dbe2ec;border-radius:9px;outline:0;color:#334155;background:#fff;font:12px Inter,sans-serif;resize:vertical}.account-drawer input:focus,.account-drawer textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb17}.account-drawer form>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:auto;padding-top:22px;border-top:1px solid #edf0f5}.confirm-layer{position:fixed;z-index:60;display:grid;top:0;right:0;bottom:0;left:0;place-items:center;padding:20px;background:#0f172a75;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.confirm-dialog{width:min(390px,100%);padding:27px;border-radius:16px;background:#fff;box-shadow:0 24px 60px #0f172a33;text-align:center;animation:menu-in .16s ease-out}.confirm-icon{display:grid;width:47px;height:47px;margin:0 auto;place-items:center;border-radius:13px;color:#dc2626;background:#fef2f2}.confirm-dialog h2{margin:15px 0 7px;font-size:18px}.confirm-dialog p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.confirm-dialog footer{display:flex;justify-content:center;gap:9px;margin-top:21px}.toast{position:fixed;right:25px;bottom:25px;z-index:70;display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid #bbf7d0;border-radius:11px;color:#166534;background:#f0fdf4;box-shadow:0 14px 32px #0f172a21;font-size:11px;font-weight:700;animation:toast-in .22s ease-out}.toast i{width:8px;height:8px;border-radius:50%;background:#22c55e}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}.contacts-toolbar{display:grid;grid-template-columns:minmax(250px,390px) 210px 1fr;align-items:center;gap:12px;margin-bottom:17px}.contacts-toolbar>select{height:39px;padding:0 30px 0 11px;border:1px solid #dfe5ee;border-radius:10px;outline:0;color:#475569;background:#fff;font-size:11px}.contacts-toolbar>select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb17}.contacts-toolbar>span{justify-self:end;color:#94a3b8;font-size:11px;font-weight:600}.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.contact-card{overflow:hidden;border:1px solid #e5e9f2;border-radius:15px;background:#fff;box-shadow:0 5px 15px #0f172a06;transition:transform .18s,border-color .18s,box-shadow .18s}.contact-card:hover{border-color:#bfdbfe;box-shadow:0 12px 28px #2563eb17;transform:translateY(-2px)}.contact-card>header{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 0}.contact-avatar{display:grid;width:43px;height:43px;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#60a5fa,var(--primary-hover));box-shadow:0 5px 13px #2563eb33;font-size:11px;font-weight:800}.contact-card:hover .card-actions,.contact-card:focus-within .card-actions{opacity:1}.contact-copy{min-height:165px;padding:14px 18px}.contact-copy>span{color:var(--primary);font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.contact-copy h2{margin:5px 0 3px;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.contact-copy>p{margin:0 0 17px;color:#64748b;font-size:10px}.contact-copy>div{display:grid;gap:6px}.contact-copy a,.contact-copy small{overflow:hidden;color:#64748b;font-size:10px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.contact-copy a:hover{color:var(--primary)}.contact-card>footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid #edf0f5;background:#fbfcfe}.contact-card>footer span{color:#94a3b8;font-size:9px}.contact-card>footer button{padding:0;border:0;color:var(--primary);background:transparent;font-size:10px;font-weight:700}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.account-drawer select{width:100%;padding:11px 12px;border:1px solid #dbe2ec;border-radius:9px;outline:0;color:#334155;background:#fff;font:12px Inter,sans-serif}.account-drawer select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb17}.lead-board{display:grid;grid-template-columns:repeat(4,minmax(245px,1fr));gap:13px;align-items:start;overflow-x:auto;padding-bottom:8px}.lead-column{min-width:245px;padding:11px;border:1px solid #e5e9f2;border-radius:14px;background:#eef2f7}.lead-column>header{display:flex;align-items:center;justify-content:space-between;padding:3px 4px 12px}.lead-column>header div{display:flex;align-items:center;gap:7px}.lead-column>header i{width:8px;height:8px;border-radius:50%}.lead-column>header i.blue{background:#3b82f6}.lead-column>header i.amber{background:#f59e0b}.lead-column>header i.green{background:#10b981}.lead-column>header i.gray{background:#94a3b8}.lead-column>header strong{font-size:11px}.lead-column>header>span{display:grid;min-width:23px;height:23px;place-items:center;border-radius:8px;color:#64748b;background:#fff;font-size:9px;font-weight:800}.lead-column-cards{display:grid;gap:9px}.lead-card{padding:13px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;box-shadow:0 3px 9px #0f172a09;transition:transform .16s,box-shadow .16s,border-color .16s}.lead-card:hover{border-color:#bfdbfe;box-shadow:0 8px 20px #2563eb14;transform:translateY(-1px)}.lead-card-top{display:flex;align-items:center;justify-content:space-between}.lead-card:hover .card-actions,.lead-card:focus-within .card-actions{opacity:1}.lead-avatar{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;color:var(--primary-hover);background:var(--primary-soft);font-size:9px;font-weight:800}.lead-card h3{margin:11px 0 3px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.lead-card>p{margin:0;overflow:hidden;color:#64748b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.lead-details{display:grid;min-height:45px;gap:4px;margin-top:12px}.lead-details a{overflow:hidden;color:#64748b;font-size:9px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.lead-details a:hover{color:var(--primary)}.lead-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:11px -13px -13px;padding:9px 13px;border-top:1px solid #edf0f5;border-radius:0 0 11px 11px;background:#fbfcfe}.lead-card>footer span{overflow:hidden;color:#94a3b8;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.lead-card>footer select{max-width:105px;padding:4px 22px 4px 6px;border:1px solid #dce3ed;border-radius:7px;outline:0;color:#475569;background:#fff;font-size:8px;font-weight:700}.lead-column-empty{padding:24px 8px;border:1px dashed #cbd5e1;border-radius:9px;color:#94a3b8;text-align:center;font-size:10px}.lead-board-loading{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.lead-board-loading span{height:390px;border-radius:14px;background:linear-gradient(90deg,#e8edf4,#f5f7fa,#e8edf4);background-size:200% 100%;animation:shimmer 1.2s infinite}.conversion-dialog{width:min(700px,100%);overflow:hidden;border-radius:17px;background:#fff;box-shadow:0 24px 65px #0f172a38;animation:menu-in .18s ease-out}.conversion-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 26px 19px;border-bottom:1px solid var(--border)}.conversion-dialog>header h2{margin:5px 0;font-size:20px}.conversion-dialog>header p{margin:0;color:var(--muted);font-size:11px}.conversion-dialog>header>button{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:8px;color:#64748b;background:#f8fafc}.conversion-dialog>header svg{width:16px}.conversion-body{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:23px 26px}.conversion-body>section{min-width:0}.conversion-body h3{margin:0 0 14px;font-size:13px}.conversion-body label{display:flex;flex-direction:column;gap:6px;margin-top:13px;color:#334155;font-size:10px;font-weight:700}.conversion-body input,.conversion-body select{width:100%;padding:10px 11px;border:1px solid #dbe2ec;border-radius:9px;outline:0;color:#334155;background:#fff;font:11px Inter,sans-serif}.conversion-body input:focus,.conversion-body select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb17}.segmented-control{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;border-radius:9px;background:#f1f5f9}.segmented-control button{padding:7px 5px;border:0;border-radius:7px;color:#64748b;background:transparent;font-size:9px;font-weight:700}.segmented-control button.active{color:var(--primary-hover);background:#fff;box-shadow:0 2px 6px #0f172a14}.conversion-note{margin:14px 0 0;padding:11px;border-radius:9px;color:#64748b;background:#f8fafc;font-size:10px;line-height:1.5}.conversion-preview{display:grid;gap:6px;margin-top:14px;padding:11px;border-radius:9px;background:#f8fafc}.conversion-preview span{overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.conversion-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 26px;border-top:1px solid var(--border);background:#fbfcfe}.conversion-dialog>footer>span{color:#94a3b8;font-size:9px}.conversion-dialog>footer>div{display:flex;gap:8px}.opportunity-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}.opportunity-metrics article{padding:15px 17px;border:1px solid #e5e9f2;border-radius:12px;background:#fff}.opportunity-metrics small{display:block;color:#64748b;font-size:9px}.opportunity-metrics strong{display:block;margin-top:5px;font-size:20px;letter-spacing:-.03em}.opportunity-board{display:grid;grid-template-columns:repeat(5,minmax(235px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:10px}.opportunity-column{min-width:235px;padding:10px;border:1px solid #e5e9f2;border-radius:13px;background:#eef2f7}.opportunity-column>header{display:flex;align-items:center;justify-content:space-between;padding:3px 4px 11px}.opportunity-column>header div{display:flex;align-items:center;gap:7px}.opportunity-column>header i{width:8px;height:8px;border-radius:50%;background:var(--stage-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--stage-color) 18%,transparent)}.opportunity-column>header strong{font-size:10px}.opportunity-column>header>span{display:grid;min-width:22px;height:22px;place-items:center;border-radius:7px;color:#64748b;background:#fff;font-size:9px;font-weight:800}.opportunity-column>div{display:grid;gap:8px}.opportunity-card{padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 3px 9px #0f172a09;transition:.16s}.opportunity-card:hover{border-color:#bfdbfe;box-shadow:0 8px 20px #2563eb14;transform:translateY(-1px)}.opportunity-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.opportunity-card-head>span{overflow:hidden;color:var(--primary);font-size:8px;font-weight:800;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.opportunity-card-head button{display:grid;width:26px;height:26px;place-items:center;border:0;border-radius:7px;color:#64748b;background:transparent;opacity:0}.opportunity-card:hover .opportunity-card-head button{opacity:1}.opportunity-card-head svg{width:14px}.opportunity-card h3{margin:8px 0 5px;font-size:12px;line-height:1.35}.opportunity-card>strong{display:block;font-size:17px}.opportunity-card>p{margin:4px 0 12px;overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.probability{position:relative;height:5px;border-radius:99px;background:#e2e8f0}.probability>span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#60a5fa,var(--primary))}.probability small{position:absolute;top:-14px;right:0;color:#94a3b8;font-size:7px}.opportunity-card>footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:12px -13px -13px;padding:9px 13px;border-top:1px solid #edf0f5;background:#fbfcfe}.opportunity-card>footer>span{color:#94a3b8;font-size:8px}.opportunity-card>footer select{max-width:105px;padding:4px 20px 4px 5px;border:1px solid #dce3ed;border-radius:6px;color:#475569;background:#fff;font-size:8px}.lost-reason{display:flex;flex-direction:column;gap:6px;margin-top:16px;color:#334155;font-size:10px;font-weight:700;text-align:left}.lost-reason textarea{min-height:85px;padding:10px;border:1px solid #dbe2ec;border-radius:9px;outline:0;font:11px Inter,sans-serif;resize:vertical}.won-dialog .confirm-icon{color:#047857;background:#ecfdf5}.heading-actions{display:flex;gap:9px}.tracking-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.tracking-summary article{padding:15px 17px;border:1px solid #e5e9f2;border-radius:12px;background:#fff}.tracking-summary small{display:block;color:#64748b;font-size:9px}.tracking-summary strong{display:block;margin-top:4px;font-size:20px}.tracking-summary .attention{border-color:#fecaca;background:snow}.tracking-summary .attention strong{color:#dc2626}.tracking-tabs{display:flex;gap:4px;width:max-content;margin-bottom:18px;padding:4px;border-radius:10px;background:#e9eef5}.tracking-tabs button{padding:8px 16px;border:0;border-radius:8px;color:#64748b;background:transparent;font-size:10px;font-weight:700}.tracking-tabs button.active{color:var(--primary-hover);background:#fff;box-shadow:0 2px 7px #0f172a14}.activity-timeline{position:relative;display:grid;gap:11px;max-width:900px}.activity-timeline>article{display:grid;grid-template-columns:42px 1fr;gap:13px}.timeline-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:11px;color:var(--primary);background:var(--primary-soft)}.timeline-icon.meeting{color:#7c3aed;background:#ede9fe}.timeline-icon.email{color:#d97706;background:#fef3c7}.timeline-icon.note{color:#475569;background:#e2e8f0}.timeline-icon svg{width:18px}.activity-timeline article>div{padding:15px 17px;border:1px solid #e5e9f2;border-radius:12px;background:#fff}.activity-timeline article header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.activity-timeline article header div{display:flex;align-items:center;gap:8px}.activity-timeline article header strong{font-size:12px}.activity-timeline article header span{padding:3px 6px;border-radius:6px;color:#64748b;background:#f1f5f9;font-size:8px;font-weight:700}.activity-timeline time{color:#94a3b8;font-size:9px}.activity-timeline article p{margin:9px 0;color:#64748b;font-size:10px;line-height:1.5}.activity-timeline article footer{display:flex;gap:6px;flex-wrap:wrap}.activity-timeline article footer span{padding:4px 7px;border-radius:6px;color:var(--primary);background:#eff6ff;font-size:8px;font-weight:700}.offer-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.offer-card{display:flex;min-height:245px;flex-direction:column;padding:17px;border:1px solid #e5e9f2;border-radius:14px;background:#fff;box-shadow:0 5px 15px #0f172a06;transition:.18s}.offer-card:hover{border-color:#bfdbfe;box-shadow:0 12px 26px #2563eb14;transform:translateY(-2px)}.offer-card>header{display:flex;align-items:center;justify-content:space-between}.offer-card>header>div{display:flex;align-items:center;gap:8px}.offer-card>header small{color:#64748b;font-size:9px;font-weight:700}.offer-card>header button,.offer-lines article>button{display:grid;width:27px;height:27px;place-items:center;border:0;border-radius:7px;color:#64748b;background:#f8fafc}.offer-card>header svg,.offer-lines article>button svg{width:14px}.offer-status{padding:4px 7px;border-radius:7px;color:#475569;background:#f1f5f9;font-size:8px;font-weight:800;text-transform:uppercase}.offer-status.sent{color:#1d4ed8;background:#dbeafe}.offer-status.accepted{color:#047857;background:#d1fae5}.offer-status.rejected{color:#b91c1c;background:#fee2e2}.offer-status.expired{color:#92400e;background:#fef3c7}.offer-card h3{margin:18px 0 5px;font-size:14px}.offer-card>p{margin:0;color:#64748b;font-size:10px}.offer-card>strong{margin-top:18px;font-size:24px;letter-spacing:-.04em}.offer-meta{display:flex;gap:10px;margin-top:10px;color:#94a3b8;font-size:8px}.offer-card>footer{display:flex;align-items:center;gap:7px;margin:auto -17px -17px;padding:11px 17px;border-top:1px solid #edf0f5;background:#fbfcfe}.text-action,.success-action{padding:7px 10px;border:0;border-radius:7px;color:#1d4ed8;background:#dbeafe;font-size:9px;font-weight:800}.success-action{color:#047857;background:#d1fae5}.danger-text{display:grid;width:27px;height:27px;margin-left:auto;place-items:center;border:0;color:#dc2626;background:transparent}.danger-text svg{width:14px}.compact{padding:7px 10px!important;font-size:9px!important}.offer-drawer{width:min(780px,100%)}.offer-drawer form{gap:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid .span-2{grid-column:span 2}.offer-lines{padding:14px;border:1px solid #e5e9f2;border-radius:12px;background:#f8fafc}.offer-lines>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.offer-lines>header div{display:flex;flex-direction:column;gap:2px}.offer-lines>header strong{font-size:11px}.offer-lines>header small{color:#64748b;font-size:8px}.offer-lines article{display:grid;grid-template-columns:minmax(160px,2fr) repeat(4,minmax(65px,.7fr)) 90px 27px;gap:7px;align-items:end;padding:10px 0;border-top:1px solid #e5e9f2}.offer-lines article:first-of-type{border-top:0}.offer-lines article label{font-size:8px}.offer-lines article input{padding:8px}.offer-lines article>strong{padding-bottom:9px;text-align:right;font-size:10px}.offer-summary{display:grid;gap:6px;margin-left:auto;width:min(310px,100%);padding:13px 16px;border-radius:11px;background:#f8fafc}.offer-summary span,.offer-summary>strong{display:flex;justify-content:space-between;color:#64748b;font-size:9px}.offer-summary>strong{padding-top:8px;border-top:1px solid #dbe2ec;color:#0f172a;font-size:13px}.task-list{display:grid;gap:8px;max-width:900px}.task-list>article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid #e5e9f2;border-radius:11px;background:#fff}.task-list>article.overdue{border-left:3px solid #ef4444}.task-list>article.completed{opacity:.62}.task-list>article.completed strong{text-decoration:line-through}.task-check{display:grid;width:24px;height:24px;place-items:center;border:1px solid #cbd5e1;border-radius:7px;color:#fff;background:#fff;font-size:12px;font-weight:800}.completed .task-check{border-color:#10b981;background:#10b981}.task-list strong{display:block;font-size:11px}.task-list p{margin:3px 0 0;color:#64748b;font-size:9px}.task-list>article>span{color:#64748b;font-size:9px}.overdue>span{color:#dc2626;font-weight:700}@media(max-width:1050px){.metric-grid,.account-grid,.cards-loading,.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-board{grid-template-columns:repeat(4,270px)}.opportunity-board{grid-template-columns:repeat(5,250px)}.offer-list{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-lines article{grid-template-columns:1fr 1fr 1fr}.offer-lines .line-description{grid-column:span 3}}@media(max-width:760px){.crm-sidebar{position:fixed;inset:0 auto 0 0;width:272px;min-height:100dvh;flex-basis:auto;transform:translate(-100%);box-shadow:18px 0 45px #0f172a40}.crm-sidebar.is-mobile-open{transform:translate(0)}.crm-sidebar.is-collapsed{width:272px;padding:22px 14px}.crm-sidebar.is-collapsed .sidebar-brand{justify-content:flex-start;padding:0 8px}.crm-sidebar.is-collapsed .sidebar-brand strong,.crm-sidebar.is-collapsed .sidebar-label,.crm-sidebar.is-collapsed .sidebar-navigation span,.crm-sidebar.is-collapsed .organization-copy,.crm-sidebar.is-collapsed .sidebar-organization>svg{display:block}.crm-sidebar.is-collapsed .sidebar-navigation:first-of-type{margin-top:0}.crm-sidebar.is-collapsed .sidebar-navigation button{justify-content:flex-start;padding:10px 12px}.crm-sidebar.is-collapsed .sidebar-organization{justify-content:flex-start;padding:11px}.sidebar-collapse{display:none}.sidebar-mobile-close{display:grid}.mobile-overlay{display:block;position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a70}.crm-header{height:64px;padding:0 18px}.mobile-menu{display:grid}.header-context>span,.header-context>b,.profile-copy{display:none}.crm-content{padding:25px 20px}.metric-grid{grid-template-columns:1fr}.welcome-panel,.module-heading,.module-toolbar{align-items:flex-start;flex-direction:column}.account-grid,.cards-loading,.contact-grid,.contacts-toolbar{grid-template-columns:1fr}.contacts-toolbar>select{width:100%}.contacts-toolbar>span{justify-self:start}.form-row,.lead-board-loading{grid-template-columns:1fr}.conversion-body{grid-template-columns:1fr;max-height:62vh;overflow-y:auto}.conversion-dialog>footer{align-items:flex-start;flex-direction:column}.conversion-dialog>footer>div{width:100%;justify-content:flex-end}.opportunity-metrics,.offer-list,.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.offer-lines article{grid-template-columns:1fr 1fr}.offer-lines .line-description{grid-column:span 2}.tracking-summary{grid-template-columns:1fr}.heading-actions{width:100%;flex-wrap:wrap}.task-list>article{grid-template-columns:30px minmax(0,1fr)}.task-list>article>span{grid-column:2}.card-actions{opacity:1}.toast{right:15px;bottom:15px;left:15px}}
