:root{--primary:#3b82f6;--primary-deep:#2563eb;--primary-soft:rgba(59,130,246,0.12);--accent:#f59e0b;--accent-soft:rgba(245,158,11,0.16);--navy:#1e293b;--navy-mid:#334155;--navy-soft:#475569;--bg:#f5f7fb;--bg-glow:#e8eefc;--surface:#ffffff;--surface-2:#f3f6fb;--text:#1e293b;--text-soft:#475569;--muted:#64748b;--border:#e2e8f0;--border-strong:#cbd5e1;--danger:#ef4444;--success:#0ea5e9;--shadow-sm:0 1px 2px rgba(30,41,59,0.04);--shadow:0 8px 24px rgba(30,41,59,0.05);--shadow-lg:0 24px 50px rgba(30,41,59,0.1);--radius:14px;--radius-sm:9px;--sidebar-w:248px;--sidebar-w-collapsed:72px;--topbar-h:52px;--font-sans:var(--font-outfit),"Segoe UI",sans-serif;--font-display:var(--font-bricolage),var(--font-outfit),sans-serif}*{box-sizing:border-box;margin:0;padding:0}html{height:100%}body{min-height:100%;color:var(--text);font-family:var(--font-sans);font-size:14px;line-height:1.45;background:radial-gradient(900px 420px at 90% -8%,rgba(245,158,11,.1),transparent 55%),radial-gradient(1100px 520px at -8% 0,var(--bg-glow),transparent 58%),linear-gradient(180deg,#fbfcfe 0,#f3f6fb 55%,#eef2f8 100%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-w);position:fixed;inset:0 auto 0 0;z-index:30;display:flex;flex-direction:column;color:var(--text);background:linear-gradient(180deg,#ffffff,#f7f9fc);border-right:1px solid var(--border);box-shadow:4px 0 24px rgba(36,53,44,.03);transition:width .2s ease,transform .22s ease,box-shadow .22s ease}.app-shell.sidebar-collapsed .menu,.app-shell.sidebar-collapsed .sidebar,.sidebar{overflow:visible}.app-shell.sidebar-collapsed{--sidebar-w:var(--sidebar-w-collapsed)}.brand{height:var(--topbar-h);gap:0;padding:6px 12px;background:#ffffff;color:var(--navy);border-bottom:1px solid var(--border)}.brand,.brand-logo-link{display:flex;align-items:center;justify-content:center}.brand-logo-link{width:100%;min-width:0}.brand-logo{display:block;width:100%;max-width:168px;height:auto;max-height:34px;object-fit:contain;object-position:left center;transition:max-width .2s ease,max-height .2s ease}.sidebar-toggle-top{flex-shrink:0}.app-shell.sidebar-collapsed .sidebar-toggle-top svg,.sidebar-toggle-top.is-collapsed svg{transform:rotate(180deg)}.sidebar-toggle-top svg{transition:transform .2s ease}.app-shell.sidebar-collapsed .brand{height:var(--topbar-h);min-height:var(--topbar-h);max-height:var(--topbar-h);padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 var(--topbar-h)}.app-shell.sidebar-collapsed .brand-logo-link{width:32px;height:32px;min-width:0;min-height:0;max-width:32px;max-height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;overflow:hidden}.app-shell.sidebar-collapsed .brand-mark-icon{flex:0 0 32px;display:block}.app-shell.sidebar-collapsed .menu-label,.app-shell.sidebar-collapsed .nav-group-title,.app-shell.sidebar-collapsed .sidebar-user{display:none}.app-shell.sidebar-collapsed .logout-btn,.app-shell.sidebar-collapsed .menu a{justify-content:center;padding:11px}.app-shell.sidebar-collapsed .menu a.active:before{top:10px;bottom:10px}.menu-tip{display:none}.app-shell.sidebar-collapsed .menu-tip{display:block;position:absolute;left:calc(100% + 14px);top:50%;transform:translateY(-50%);white-space:nowrap;padding:8px 12px;border-radius:10px;background:#fff;color:#0f172a;font-size:13px;font-weight:600;border:1px solid var(--border);box-shadow:0 12px 28px rgba(15,23,42,.14);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,visibility .15s ease;z-index:80}.app-shell.sidebar-collapsed .menu-tip:before{content:"";position:absolute;left:-6px;top:50%;width:11px;height:11px;background:#fff;border-left:1px solid var(--border);border-bottom:1px solid var(--border);transform:translateY(-50%) rotate(45deg)}.app-shell.sidebar-collapsed .logout-btn:hover .menu-tip,.app-shell.sidebar-collapsed .menu a:hover .menu-tip{opacity:1;visibility:visible}.main{margin-left:var(--sidebar-w);width:calc(100% - var(--sidebar-w));min-height:100vh;min-width:0;max-width:100%;display:flex;flex-direction:column;transition:margin-left .2s ease,width .2s ease}.sidebar-backdrop{display:none}.brand-mark{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#60a5fa,#3b82f6);color:#fff;flex-shrink:0}.brand-mark svg{width:18px;height:18px}.brand-text{display:flex;flex-direction:column;gap:1px;min-width:0}.brand-name{font-family:var(--font-display);font-size:18px;font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--navy)}.brand-sub{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:.02em}.menu{padding:18px 10px;display:flex;flex-direction:column;gap:4px;flex:1 1;overflow:auto}.menu-grouped{gap:14px}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-group-title{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:8px 14px 6px}.logout-btn{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:12px;border:0;background:transparent;color:#dc2626;font-family:inherit;font-weight:600;font-size:14px;line-height:1.2;padding:11px 14px;border-radius:10px;position:relative;text-align:left}.logout-btn .menu-icon{flex:0 0 20px;color:inherit}.logout-btn .menu-label{flex:0 1 auto;width:auto;text-align:left;white-space:nowrap;color:inherit}.logout-btn .menu-tip{display:none}.logout-btn:hover{background:#fef2f2}.app-shell.sidebar-collapsed .logout-btn .menu-tip{display:block}.menu a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;color:var(--text-soft);font-size:14px;font-weight:500;transition:background .18s ease,color .18s ease,transform .18s ease;position:relative}.menu-label{flex:1 1;min-width:0}.menu a:hover{background:var(--surface-2);color:var(--navy)}.menu a.active{background:#eff6ff;color:var(--primary-deep);box-shadow:none;font-weight:600;position:relative}.menu a.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--primary)}.menu-icon{width:20px;height:20px;display:grid;place-items:center;opacity:.9}.menu-icon svg{width:18px;height:18px}.sidebar-foot{padding:12px 10px 18px;border-top:1px solid var(--border)}.sidebar-user{padding:0 8px 10px}.sidebar-user strong{display:block;font-size:13px;color:var(--navy)}.sidebar-user small{color:var(--muted);font-size:11.5px}.sidebar-foot p{font-size:11px;color:var(--muted);line-height:1.4}.topbar{height:var(--topbar-h);position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.topbar-compact .topbar-left-compact{display:flex;align-items:center;gap:12px}.desk-status{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--text-soft)}.desk-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.2)}.page-title-wrap{display:flex;flex-direction:column;gap:2px}.page-title{font-family:var(--font-display);font-size:22px;font-weight:700;letter-spacing:-.03em;color:var(--navy)}.page-subtitle{font-size:12px;color:var(--muted);font-weight:500}.top-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.search-top{width:min(260px,100%);max-width:260px;height:34px;border:1px solid var(--border);border-radius:9px;padding:0 12px 0 36px;background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237a8ba0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") 12px center no-repeat;color:var(--text);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.search-top::placeholder{color:var(--muted)}.search-top:focus{border-color:var(--primary);background-color:#fff;box-shadow:0 0 0 3px var(--primary-soft)}.icon-btn{position:relative;width:34px;height:34px;border:1px solid var(--border);border-radius:9px;background:#fff;display:grid;place-items:center;color:var(--text-soft);transition:background .15s ease,border-color .15s ease;text-decoration:none}.icon-btn.is-open,.icon-btn:hover{background:var(--surface-2);border-color:var(--border-strong);color:var(--navy)}.icon-btn svg{width:16px;height:16px}.badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--danger);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;border:2px solid #fff}.topbar-pop{position:relative}.topbar-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:60;width:min(320px,calc(100vw - 24px));background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 40px rgba(15,23,42,.14);overflow:visible;animation:rise .18s ease}.topbar-dropdown:before{content:"";position:absolute;top:-6px;right:18px;width:12px;height:12px;background:#fff;border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}.topbar-dropdown-help{padding:14px;width:min(280px,calc(100vw - 24px))}.topbar-dropdown-help:before,.topbar-dropdown-profile:before{right:14px}.topbar-dropdown-help strong{display:block;font-size:14px;color:var(--navy);margin-bottom:6px}.topbar-dropdown-help p{font-size:12.5px;color:var(--muted);margin-bottom:12px;line-height:1.45}.topbar-dropdown-foot a,.topbar-dropdown-help a,.topbar-dropdown-profile a{display:block;padding:9px 10px;border-radius:8px;font-size:13px;font-weight:600;color:var(--navy);text-decoration:none}.topbar-dropdown-foot a:hover,.topbar-dropdown-help a:hover,.topbar-dropdown-profile a:hover{background:#eff6ff;color:#1d4ed8}.topbar-dropdown-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border)}.topbar-dropdown-head strong{font-size:13.5px;color:var(--navy)}.topbar-dropdown-head span{font-size:12px;font-weight:600;color:var(--muted)}.topbar-dropdown-notif{width:min(360px,calc(100vw - 24px));padding:0}.notif-panel-head{display:flex;align-items:center;gap:10px;padding:14px 16px 12px;border-bottom:1px solid #eef2f7}.notif-panel-head h3{margin:0;font-size:15px;font-weight:700;color:#1e293b;font-family:var(--font-display)}.notif-new-pill{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:11.5px;font-weight:700}.notif-new-pill.is-clear{background:#f1f5f9;color:#64748b}.notif-panel-list{max-height:340px;overflow-y:auto;padding:6px 0}.notif-row{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;padding:12px 16px;text-decoration:none;transition:background .12s ease}.notif-row:hover{background:#f8fafc}.notif-dot{width:8px;height:8px;margin-top:6px;border-radius:50%;background:transparent;justify-self:center}.notif-row.is-unread .notif-dot{background:#3b82f6}.notif-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.notif-copy strong{font-size:13.5px;font-weight:700;color:#1e293b;line-height:1.3}.notif-copy em{font-style:normal;font-size:12.5px;color:#64748b;line-height:1.35}.notif-copy small{font-size:11.5px;color:#94a3b8}.notif-panel-foot{padding:10px 12px 12px;border-top:1px solid #eef2f7}.notif-show-all{display:flex;align-items:center;justify-content:center;width:100%;height:40px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:13.5px;font-weight:700;text-decoration:none}.notif-show-all:hover{background:#dbeafe}.topbar-empty{padding:18px 14px;text-align:center;font-size:12.5px;color:var(--muted)}.topbar-dropdown-foot{padding:8px;border-top:1px solid var(--border)}.topbar-notif-item,.topbar-notif-list{display:none}.topbar-dropdown-profile{width:min(240px,calc(100vw - 24px));padding:8px}.topbar-profile-card{display:flex;align-items:center;gap:10px;padding:10px;margin-bottom:4px;border-radius:10px;background:#f8fafc}.topbar-profile-card strong{display:block;font-size:13px;color:var(--navy)}.topbar-profile-card span{font-size:11.5px;color:var(--muted)}.topbar-logout{width:100%;text-align:left;border:0;background:transparent;padding:9px 10px;border-radius:8px;font-size:13px;font-weight:600;color:#b91c1c;font-family:inherit;cursor:pointer}.topbar-logout:hover{background:#fef2f2}.profile{display:flex;align-items:center;gap:10px;padding:4px 10px 4px 4px;border:1px solid var(--border);border-radius:999px;background:#fff}.profile-btn{cursor:pointer;font:inherit;color:inherit}.profile-btn.is-open,.profile-btn:hover{border-color:#93c5fd;background:#f8fbff}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#93c5fd,#3b82f6);color:#1e3a8a;display:grid;place-items:center;font-size:12px;font-weight:700}.profile-meta{display:flex;flex-direction:column;line-height:1.15;padding-right:4px}.profile-name{font-size:13px;font-weight:600;color:var(--text)}.profile-role{font-size:11px;color:var(--muted)}.content{padding:26px 24px 40px;flex:1 1;width:100%;max-width:1680px;margin-inline:auto;min-width:0}.content.leads-page{display:flex;flex-direction:column;padding-bottom:24px}.content.leads-page .panel{display:flex;flex-direction:column;margin-bottom:0}.content.leads-page .panel>.table-wrap{flex:0 0 auto;min-height:0}.content.leads-page .panel>.table-empty{min-height:180px}.panel{background:var(--surface);border:1px solid rgba(213,224,236,.95);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:18px;animation:rise-fade .35s ease both}.panel:nth-child(2){animation-delay:.06s}@keyframes rise-fade{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.panel-header{padding:16px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:linear-gradient(180deg,#fff,#fbfdff)}.panel-header h2{font-family:var(--font-display);font-size:17px;font-weight:700;letter-spacing:-.02em;color:var(--navy)}.panel-header .hint{margin-top:2px;font-size:12px;color:var(--muted);font-weight:500}.tabs{display:flex;gap:6px;padding:4px;background:#eef2f7;border-radius:10px}.tab{border:0;background:transparent;color:var(--text-soft);padding:9px 18px;border-radius:8px;font-weight:600;font-size:13px;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.tab:hover{color:var(--text)}.tab.active{background:var(--primary-deep);color:#fff;box-shadow:0 4px 12px rgba(59,130,246,.25)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;padding:16px 18px 20px;width:100%;align-items:start}.lead-form-dnd{width:100%}.lead-form-grid .dnd-field{width:100%;min-width:0}.lead-status-extra{grid-column:1/-1;width:100%;margin:0;padding:14px 16px;border-radius:12px;background:linear-gradient(180deg,#f8fbff,#f1f7ff);border:1px dashed #bfdbfe}.lead-status-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;align-items:start}.lead-meet-link-field{grid-column:1/-1}.radio-group-inline{padding-top:8px;min-height:38px}.form-dnd-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px 4px;flex-wrap:wrap}.form-dnd-bar p{font-size:13px;color:var(--muted);margin:0}.form-dnd-bar strong{letter-spacing:.08em;color:var(--navy)}.dnd-field{position:relative;padding:10px 10px 10px 36px;border:1px dashed transparent;border-radius:10px;background:transparent;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.dnd-field.field-tall{grid-row:span 3}.dnd-field.is-over{border-color:#93c5fd;background:#f8fbff}.dnd-field.is-dragging{opacity:.55;border-color:var(--border-strong)}.dnd-handle{position:absolute;left:8px;top:14px;width:22px;height:28px;border:0;border-radius:6px;background:#eef2f7;cursor:grab;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3px;padding:0}.dnd-handle:active{cursor:grabbing}.dnd-handle-col{display:flex;flex-direction:column;gap:3px}.dnd-handle-col i{display:block;width:3px;height:3px;border-radius:50%;background:#94a3b8}.dnd-handle:hover{background:#e0e7ff}.dnd-handle:hover .dnd-handle-col i{background:#3b82f6}.dnd-field-body{min-width:0}.form-actions .btn,.form-actions .dash-cta{height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 18px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center;justify-content:center}.field label{display:block;margin-bottom:7px;font-size:12.5px;font-weight:600;color:var(--text-soft);letter-spacing:.01em}.required{color:var(--danger)}.field select,.field textarea,.input,textarea.input{width:100%;border:1px solid var(--border-strong);border-radius:var(--radius-sm);height:38px;padding:0 12px;color:var(--text);background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.field textarea,textarea,textarea.input{height:92px;padding:10px 12px;resize:vertical}.input::placeholder,textarea::placeholder{color:var(--muted)}.field select:focus,.field textarea:focus,.input:focus,textarea.input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.phone{display:flex}.mobile-redline{color:#dc2626;font-weight:700}.phone-telephone{color:#b45309;font-weight:700}.field-hint{margin:6px 0 0;font-size:12px;font-weight:600;color:var(--muted)}.field-hint.warn{color:#b91c1c}.phone-prefix{height:38px;padding:0 12px;border:1px solid var(--border-strong);border-right:0;border-radius:var(--radius-sm) 0 0 var(--radius-sm);background:var(--surface-2);color:var(--text-soft);font-weight:600;font-size:13px;display:grid;place-items:center}.phone .input{border-radius:0 var(--radius-sm) var(--radius-sm) 0}.products{border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:12px 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;min-height:210px;background:linear-gradient(180deg,#fff,#fafcfe)}.products label{font-weight:500;margin:0;display:flex;gap:8px;align-items:center;color:var(--text);font-size:13px}.products input[type=checkbox]{width:15px;height:15px;accent-color:var(--primary)}.select-all{text-align:right;color:var(--primary);font-weight:700;margin-top:8px;cursor:pointer;font-size:13px;background:none;border:0;width:100%;padding:0}.select-all:hover{text-decoration:underline}.dynamic{display:none;margin-top:10px;padding:12px;border-radius:10px;background:var(--surface-2);border:1px dashed var(--border-strong)}.dynamic.show{display:block;animation:fade .2s ease}@keyframes fade{0%{opacity:0}to{opacity:1}}.radio-group{display:flex;gap:16px;padding-top:10px}.radio-group label{font-weight:500;margin:0;display:flex;gap:6px;align-items:center;color:var(--text)}.meet-link-box{margin-top:12px}.meet-link-box>label{display:block;margin-bottom:6px}.meet-link-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.meet-link-row .input{flex:1 1;min-width:160px}.meet-link-row .btn{flex-shrink:0}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;align-items:center;padding-top:8px;margin-top:4px;border-top:1px solid var(--border)}.btn{border:0;border-radius:9px;padding:11px 26px;font-weight:700;font-size:13.5px;transition:transform .12s ease,filter .12s ease,box-shadow .12s ease}.btn:active{transform:translateY(1px)}.btn-secondary{background:#eef2f7;color:#3d4f63}.btn-secondary:hover{filter:brightness(.97)}.btn-primary{background:linear-gradient(180deg,#60a5fa,var(--primary-deep));color:#fff;box-shadow:0 6px 16px rgba(59,130,246,.28)}.btn-primary:hover{filter:brightness(1.03)}.import-leads-page .import-leads-panel{width:100%;max-width:none}.import-panel{padding:24px 22px 22px;text-align:center;width:100%;box-sizing:border-box}.import-panel-live{text-align:left;width:100%;max-width:none;margin:0;box-sizing:border-box}.import-panel h3{font-family:var(--font-display);font-size:20px;letter-spacing:-.02em;margin-bottom:8px}.import-panel p{color:var(--muted);margin-bottom:16px;max-width:none}.import-actions-top{margin-bottom:14px}.import-actions-bottom{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;align-items:center}.import-drop{max-width:none;margin:0 0 16px;padding:22px 18px;border:1.5px dashed var(--border-strong);border-radius:14px;background:var(--surface-2)}.import-drop input{max-width:100%}.import-file-name{margin:10px 0 0;font-size:13px;font-weight:600;color:var(--navy)}.import-file-name.muted{color:var(--muted);font-weight:500}.import-preview{margin:8px 0 18px;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff}.import-preview-head{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;margin-bottom:8px;font-size:13px}.import-headers,.import-preview-head span{color:var(--muted)}.import-headers{font-size:12px;margin:0 0 10px}.import-table-wrap{max-height:280px;overflow:auto}.import-panel-live>.btn{margin-top:4px}.list-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;min-width:0;flex:1 1 auto}.list-search{width:200px;max-width:100%;flex:0 1 200px;min-width:140px;height:36px;border:1px solid var(--border);border-radius:9px;padding:0 12px;background:#fff;outline:none}.list-search:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.list-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.form-list-search{width:100%;max-width:100%;margin-bottom:10px}.form-list-empty{font-size:13px;color:var(--muted);padding:8px 0}.search-select{position:relative;width:100%;z-index:1}.search-select.is-open{z-index:90}.search-select-native{position:absolute;opacity:0;pointer-events:none;height:0;width:0}.search-select-trigger{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--muted);font-size:14px;font-family:inherit;text-align:left;cursor:pointer}.search-select-trigger.has-value{color:var(--navy);font-weight:600}.search-select.is-open .search-select-trigger{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(59,130,246,.15)}.search-select-panel{position:absolute;z-index:80;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 28px rgba(15,23,42,.12);overflow:hidden}.search-select-panel-fixed{position:fixed;top:auto;right:auto;z-index:2000;max-height:min(320px,50vh);display:flex;flex-direction:column}.search-select-panel-fixed .search-select-list{flex:1 1;min-height:0;max-height:none}.search-select-query{width:100%;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important}.search-select-list{max-height:220px;overflow:auto;padding:6px}.search-select-option{width:100%;text-align:left;border:0;background:transparent;padding:10px 12px;border-radius:8px;font-size:13.5px;font-family:inherit;color:var(--navy);cursor:pointer}.search-select-option.is-active,.search-select-option:hover{background:#eff6ff;color:#1d4ed8}.search-select-empty{padding:14px 12px;font-size:13px;color:var(--muted)}.search-select-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid var(--border)}.search-select-action{border:0;background:transparent;color:#1d4ed8;font-size:12.5px;font-weight:700;font-family:inherit;cursor:pointer;padding:0}.search-select-action:hover{text-decoration:underline}.search-select-count{font-size:12px;font-weight:600;color:var(--muted)}.search-multi-option{display:flex;align-items:center;gap:10px;cursor:pointer}.search-multi-option input{width:15px;height:15px;accent-color:var(--primary);flex-shrink:0}.toolbar-btn{height:36px;min-height:36px;padding:0 14px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text-soft);font-weight:600;font-size:13px;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;flex:0 0 auto;flex-shrink:0;transition:background .15s ease,border-color .15s ease}.toolbar-btn:hover{background:var(--surface-2);border-color:var(--border-strong)}.toolbar-btn svg{width:15px;height:15px}.table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;font-size:12.5px}.dash-page .table-wrap table,.import-table-wrap table,.leads-page table,.report-page .table-wrap table{min-width:980px}td,th{padding:12px 10px;border-bottom:1px solid #e8eef5;text-align:left;white-space:nowrap}th{background:#f3f7fb;color:#506279;font-weight:700;font-size:11.5px;letter-spacing:.03em;text-transform:uppercase;position:sticky;top:0}tbody tr{transition:background .12s ease}tbody tr:hover{background:#f7faff}.leads-click-row{cursor:pointer}.leads-click-row:focus-visible{outline:2px solid rgba(59,130,246,.35);outline-offset:-2px}.checkbox{width:15px;height:15px;accent-color:var(--primary)}.product-tag{padding:4px 8px;background:#edf2f7;margin-right:4px;color:#44566c;font-weight:600}.product-tag,.status{display:inline-block;border-radius:7px;font-size:11.5px}.status{min-width:78px;text-align:center;padding:5px 10px;font-weight:700}.status.new{background:#dbeafe;color:#1d4ed8}.status.inprocess{background:#fff3c4;color:#8a6200}.status.meeting{background:#fde8c8;color:#b45309}.status.completed{background:#e0f2fe;color:#0369a1}.status.lost{background:#fde2e2;color:#b42318}.actions{display:flex;align-items:center;gap:2px}.actions button{border:0;background:transparent;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;transition:background .12s ease}.actions button:hover{background:#eef3f9}.actions button svg{width:16px;height:16px}.actions .view{color:#536b84}.actions .edit{color:var(--primary)}.actions .delete{color:var(--danger)}.pagination{padding:14px 18px;justify-content:space-between;gap:12px;color:#56677b;font-size:13px;background:#fafcfe}.pages,.pagination{display:flex;align-items:center;flex-wrap:wrap}.pages{gap:8px}.page-btn{border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px 13px;color:#7a8ba0;font-weight:600}.page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.page-btn:disabled{opacity:.45;cursor:not-allowed}.pagination-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.page-size{height:34px;border:1px solid var(--border);border-radius:8px;padding:0 10px;background:#fff;color:#56677b;font-weight:600;font-size:12.5px}.th-sort{border:0;background:transparent;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.th-sort:hover,.toolbar-btn.active{color:var(--primary)}.toolbar-btn.active{background:var(--primary-soft);border-color:var(--primary)}.leads-filter-panel{padding:14px 18px 16px;border-bottom:1px solid #e8eef5;background:#f7fafc}.leads-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;align-items:end}.leads-filter-grid .field{display:flex;flex-direction:column;gap:6px;min-width:0}.leads-filter-grid .field>label:first-child{margin:0;font-size:12px;font-weight:700;color:var(--muted)}.leads-filter-grid .check-control,.leads-filter-grid .field .input,.leads-filter-grid .field select{width:100%;min-height:40px;box-sizing:border-box}.leads-filter-actions{margin-top:12px;display:flex;justify-content:flex-end}.field-check{display:flex;align-items:flex-end}.check-label{color:#506279;cursor:pointer}.check-control,.check-label{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.check-control{padding:0 12px;border:1px solid var(--border);border-radius:10px;background:#fff;color:#334155}.bulk-bar{display:flex;align-items:center;gap:14px;padding:10px 16px;background:#eff6ff;border-bottom:1px solid #dbeafe;color:#1e3a5f;font-size:13px;overflow-x:auto;flex-wrap:nowrap}.bulk-bar-count{display:inline-flex;align-items:baseline;gap:5px;flex:0 0 auto;white-space:nowrap;padding:0 4px;font-weight:600;color:#334155}.bulk-bar-count strong{font-family:var(--font-display);font-size:18px;font-weight:700;color:#1d4ed8;letter-spacing:-.02em}.bulk-bar-groups{display:flex;align-items:center;gap:10px;flex:1 1 auto;min-width:max-content;flex-wrap:nowrap}.bulk-group{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap}.bulk-group-end{margin-left:auto}.bulk-divider{width:1px;height:28px;background:#bfdbfe;flex:0 0 auto}.bulk-bar .bulk-select,.bulk-bar select,.bulk-select{display:inline-block;width:130px!important;max-width:130px!important;min-width:130px!important;height:34px!important;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;background:#fff;color:#334155;font-size:12.5px;font-weight:600;flex:0 0 auto!important;box-sizing:border-box}.bulk-bar select.bulk-select-owner,.bulk-select-owner{width:148px!important;max-width:148px!important;min-width:148px!important}.bulk-bar .bulk-date,.bulk-bar input[type=date],.bulk-date{display:inline-block;width:138px!important;min-width:138px!important;max-width:138px!important;height:34px!important;border:1px solid #cbd5e1;border-radius:8px;padding:0 8px;background:#fff;color:#56677b;font-weight:600;font-size:12.5px;flex:0 0 auto!important;box-sizing:border-box}.bulk-bar .btn,.bulk-bar .bulk-btn,.bulk-btn{display:inline-flex!important;align-items:center;justify-content:center;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 12px!important;white-space:nowrap!important;width:auto!important;min-width:0!important;flex:0 0 auto!important;font-size:12.5px!important;border-radius:8px!important;line-height:1!important}.bulk-clear{height:34px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#64748b;font-weight:600;font-size:12.5px;white-space:nowrap;flex:0 0 auto}.bulk-clear:hover{background:#f8fafc;color:#334155}.bulk-bar .btn:disabled,.bulk-bar button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:1100px){.bulk-group-end{margin-left:0}.bulk-bar-groups{flex-wrap:wrap;min-width:0}.bulk-divider{display:none}}.row-selected{background:#f0f7ff!important}.col-check{width:42px;text-align:center;vertical-align:middle}.col-check .checkbox{margin:0;cursor:pointer}.table-empty{padding:28px 12px;text-align:center}.table-empty h3{margin:0 0 6px;font-size:16px;color:#334155}.table-empty p{margin:0;color:var(--muted);font-size:13px}.empty{text-align:center;padding:36px;color:var(--muted)}@media (max-width:900px){.leads-filter-grid{grid-template-columns:1fr 1fr}}@media (max-width:640px){.leads-filter-grid{grid-template-columns:1fr}}.modal{display:none;position:fixed;inset:0;background:rgba(10,22,38,.45);z-index:50;padding:20px;-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}.modal,.modal.show{align-items:center;justify-content:center}.modal.show{display:flex;animation:fade .18s ease;overflow:hidden;padding:16px}.modal-box{width:min(760px,100%);background:#fff;border-radius:16px;box-shadow:var(--shadow-lg);max-height:90vh;overflow:auto;animation:rise .28s ease}.modal-box-wide{width:min(980px,100%)}.modal-body-split{display:grid;grid-template-columns:1.15fr .85fr;gap:0}.modal-body-split .modal-grid{padding-right:8px;border-right:1px solid #e8eef5}.modal-body-split .activity-panel{padding-left:8px}@media (max-width:820px){.modal-body-split{grid-template-columns:1fr}.modal-body-split .modal-grid{border-right:0;border-bottom:1px solid #e8eef5;padding-right:0;padding-bottom:12px}.modal-body-split .activity-panel{padding-left:0;padding-top:8px}}.modal-head{padding:18px 22px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.modal-head h3{font-family:var(--font-display);font-size:18px;letter-spacing:-.02em}.close{border:0;background:#f1f5f9;width:34px;height:34px;border-radius:8px;font-size:20px;line-height:1;color:var(--text-soft)}.close:hover{background:#e2e8f0}.modal-body{padding:22px}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}.modal-grid b{display:block;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:4px;font-weight:700}.modal-grid p{color:var(--text);font-weight:500;font-size:14px}.modal-footer{padding:16px 22px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;background:#fafcfe}@media (max-width:1100px){.form-grid,.lead-status-extra-grid{grid-template-columns:1fr 1fr}.form-actions{grid-column:1/-1}.search-top{width:min(220px,100%)}}@media (max-width:780px){.form-grid,.lead-status-extra-grid,.modal-grid{grid-template-columns:1fr}.lead-meet-link-field{grid-column:1}.form-actions{grid-column:1/-1}.products{grid-template-columns:1fr}.panel-header{align-items:flex-start;flex-direction:column}.list-toolbar{flex-wrap:wrap}.content{padding:16px 12px 24px}.cal-layout,.dash-grid,.settings-grid,.stats-grid,.users-grid{grid-template-columns:1fr}.profile-meta,.top-actions .search-top{display:none}.profile{padding:4px;border-radius:50%}.dash-page-actions{width:100%}.dash-cta,.dash-page-actions .btn,.dash-page-actions a.btn{flex:0 0 auto!important;min-width:0}.dash-select{flex:1 1 140px;min-width:0}.pagination{flex-direction:column;align-items:stretch}.pages{justify-content:flex-start}.modal-footer{flex-direction:column-reverse;align-items:stretch}.modal-footer .btn{width:100%;justify-content:center}}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{position:relative;overflow:hidden;background:var(--surface);border:1px solid rgba(211,221,232,.95);border-radius:14px;padding:18px 18px 16px;box-shadow:var(--shadow-sm);animation:rise .45s ease both}.stat-card:nth-child(2){animation-delay:.04s}.stat-card:nth-child(3){animation-delay:.08s}.stat-card:nth-child(4){animation-delay:.12s}.stat-label{font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.02em;margin-bottom:8px}.stat-value{font-family:var(--font-display);font-size:28px;font-weight:700;letter-spacing:-.04em;color:var(--navy);line-height:1;margin-bottom:8px}.stat-meta{font-size:12px;color:var(--text-soft);font-weight:500}.stat-meta.up{color:var(--success)}.stat-meta.down{color:var(--danger)}.dash-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-bottom:18px}.panel.flat{margin-bottom:0}.pipeline-list{display:flex;flex-direction:column;gap:14px;padding:18px}.pipeline-row{display:grid;grid-template-columns:110px 1fr 42px;gap:12px;align-items:center}.pipeline-row span{font-size:13px;font-weight:600;color:var(--text-soft)}.pipeline-row strong{font-size:13px;color:var(--navy);text-align:right}.bar-track{height:8px;border-radius:999px;background:#e8eef6;overflow:hidden}.bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#f59e0b)}.activity-list{list-style:none;padding:8px 18px 18px}.activity-list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eef2f7}.activity-list li:last-child{border-bottom:0}.activity-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:var(--primary);flex-shrink:0}.activity-dot.green{background:var(--success)}.activity-dot.amber{background:#d97706}.activity-dot.rose{background:var(--danger)}.activity-list p{font-size:13.5px;font-weight:600;color:var(--text);margin-bottom:2px}.activity-list small{color:var(--muted);font-size:12px}.owner-table{width:100%;min-width:0;font-size:13px}.owner-table td,.owner-table th{white-space:normal}.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:8px;background:#edf2f7;font-size:12px;font-weight:600;color:#44566c}.chip-dot{width:7px;height:7px;border-radius:50%;background:var(--success)}.chip-dot.away{background:#d97706}.dash-page{padding-top:12px}.page-header{margin-bottom:12px}.page-header-row{justify-content:space-between;gap:12px}.page-breadcrumb,.page-header-row{display:flex;align-items:center;flex-wrap:wrap}.page-breadcrumb{gap:2px;padding:4px 10px;border-radius:8px;background:linear-gradient(90deg,#eef5ff,#f7fbff 55%,#ffffff);border:1px solid #e4eef8;min-width:0;flex:1 1}.page-crumb-home{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;color:var(--navy);flex-shrink:0}.page-crumb-home:hover{background:rgba(37,99,235,.08);color:#1d4ed8}.page-crumb-item{display:inline-flex;align-items:center;gap:2px;min-width:0}.page-crumb-sep{display:inline-flex;color:#94a3b8;margin:0 2px}.page-crumb-current,.page-crumb-link{font-size:13px;font-weight:600;color:var(--navy);line-height:1.2;padding:4px 6px;border-radius:6px}.page-crumb-link:hover{background:rgba(37,99,235,.08);color:#1d4ed8}.page-crumb-current{color:#334155}.dash-page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dash-page-head h1{font-family:var(--font-display);font-size:30px;font-weight:700;letter-spacing:-.04em;color:var(--navy);margin-bottom:4px}.dash-page-head p{color:var(--muted);font-size:14px}.dash-page-actions{display:flex;flex-direction:row;gap:10px;align-items:center;flex-shrink:0;align-self:center;flex-wrap:wrap}.dash-cta,.dash-page-actions .btn,.dash-page-actions a.btn{display:inline-flex!important;align-items:center;justify-content:center;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 18px!important;white-space:nowrap!important;width:auto!important;min-width:fit-content;flex:0 0 auto!important;line-height:1!important;text-align:center;box-sizing:border-box;writing-mode:horizontal-tb}.dash-select{height:40px;min-height:40px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:0 12px;color:var(--text);font-weight:600;font-size:13px;outline:none;flex:0 0 auto;width:auto}.dash-select.sm{height:34px;font-size:12px;border-radius:8px}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.kpi-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px 14px 12px;display:flex;align-items:flex-start;gap:12px;min-height:88px;min-width:0;transition:border-color .15s ease,box-shadow .15s ease}.kpi-card>div{min-width:0;flex:1 1}.kpi-card-link{text-decoration:none;color:inherit;cursor:pointer}.kpi-card:hover{border-color:#c7d7ee;box-shadow:0 6px 18px rgba(30,41,59,.05)}.kpi-card-link:hover{border-color:var(--primary)}.kpi-icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex-shrink:0}.kpi-icon svg{width:18px;height:18px}.tone-blue{background:#dbeafe;color:#2563eb}.tone-orange{background:#ffedd5;color:#ea580c}.tone-purple{background:#ede9fe;color:#7c3aed}.tone-pink{background:#fce7f3;color:#db2777}.tone-cyan{background:#cffafe;color:#0891b2}.tone-indigo{background:#e0e7ff;color:#4f46e5}.tone-amber{background:#fef3c7;color:#d97706}.tone-rose{background:#ffe4e6;color:#e11d48}.tone-sky{background:#e0f2fe;color:#0284c7}.tone-violet{background:#f3e8ff;color:#9333ea}.kpi-label{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px;line-height:1.2}.kpi-value{display:block;font-family:var(--font-display);font-size:24px;font-weight:700;letter-spacing:-.03em;color:var(--navy);line-height:1}.chart-grid,.dash-bottom-grid,.dash-mid-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.dash-bottom-grid>:only-child{grid-column:1/-1}.chart-meta{font-size:12px;font-weight:600;color:var(--muted)}.dash-empty{padding:28px 12px;text-align:center}.dash-empty h3{margin:0 0 6px;font-size:15px;color:#334155}.dash-empty p{margin:0;color:var(--muted);font-size:13px}.agenda-list{list-style:none;margin:0;padding:4px 0 0;display:flex;flex-direction:column;gap:8px}.agenda-item{display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid #e8eef5;text-decoration:none;color:inherit;transition:background .12s ease,border-color .12s ease}.agenda-item:hover{background:#f7faff;border-color:#c7d7ee}@media (max-width:640px){.agenda-item{grid-template-columns:1fr;gap:8px}}.agenda-type{font-size:11.5px;font-weight:700;color:#1d4ed8;background:#dbeafe;border-radius:7px;padding:5px 8px;text-align:center}.agenda-type.meeting{color:#9a3412;background:#ffedd5}.agenda-date-hint{margin:2px 0 0;font-size:12px;color:var(--muted);font-weight:600}.agenda-more{margin-top:10px;text-align:right}.fu-agenda-wrap{margin-bottom:18px}.fu-agenda-wrap .chart-card{max-width:none}button.agenda-item{width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff}.edit-lead-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.7fr);gap:16px;align-items:start;width:100%}.lead-form-page{width:100%}.lead-form-page .lead-form-panel{width:100%;overflow:visible}.lead-form-page .panel-header{padding:14px 18px}.lead-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:4px 16px 20px}.lead-view-grid b{display:block;font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.lead-view-grid p{margin:0;font-size:14px;font-weight:600;color:var(--navy);line-height:1.4;word-break:break-word}.lead-view-full{grid-column:1/-1}.activity-side-panel{position:sticky;top:16px;overflow:hidden}.activity-side-panel .activity-panel{display:flex;flex-direction:column;min-height:0}.activity-panel{min-width:0}.activity-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 16px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fff,#fbfdff)}.activity-panel-head h3{margin:0;font-family:var(--font-display);font-size:16px;font-weight:700;letter-spacing:-.02em;color:var(--navy)}.activity-count{min-width:26px;height:26px;padding:0 8px;border-radius:999px;display:grid;place-items:center;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:700;flex-shrink:0}.activity-note-form{display:grid;gap:10px;margin:0;padding:14px 16px 12px;border-bottom:1px solid #eef2f7}.activity-note-form textarea{resize:vertical;min-height:72px}.activity-note-form .btn{justify-self:end}.activity-empty{padding:28px 18px;text-align:center}.activity-empty p{margin:0 0 6px;font-weight:700;color:#334155}.activity-empty small{color:var(--muted);line-height:1.4}.lead-timeline{padding:14px 16px 16px 18px;max-height:460px;overflow:auto}.lead-timeline:before{left:22px}.timeline-badge{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:4px}.activity-panel.compact .activity-note-form,.activity-panel.compact .activity-panel-head{padding:12px 14px}.activity-panel.compact .lead-timeline{max-height:280px;padding:12px 14px 14px}@media (max-width:980px){.edit-lead-layout{grid-template-columns:1fr}.activity-side-panel{position:static}.lead-view-grid{grid-template-columns:1fr}}.agenda-item strong{display:block;font-size:13.5px;color:var(--navy)}.agenda-item small{display:block;margin-top:2px;color:var(--muted);font-size:12px}.funnel-list{display:flex;flex-direction:column;gap:12px;padding-top:6px}.funnel-row{display:block;text-decoration:none;color:inherit}.funnel-row-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:13px;font-weight:600;color:#506279}.funnel-row-top strong{color:var(--navy);font-size:14px}.funnel-track{height:8px;border-radius:999px;background:#eef2f7;overflow:hidden}.funnel-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#60a5fa,#3b82f6);min-width:4px;transition:width .25s ease}.chart-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;overflow:hidden}.chart-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.chart-card-head h2{font-family:var(--font-display);font-size:16px;letter-spacing:-.02em;color:var(--navy)}.text-link{color:var(--primary-deep);font-size:13px;font-weight:600}.text-link:hover{text-decoration:underline}.dash-chart-svg{width:100%;height:auto;display:block}.chart-label{fill:#94a3b8;font-size:11px;font-family:var(--font-sans)}.dash-mini-table{min-width:0}.muted-line{color:var(--muted);font-size:12px;margin-top:2px}.team-perf-list{display:flex;flex-direction:column;gap:4px;padding:4px 0 0}.team-perf-row{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;border:0;background:transparent;text-align:left;padding:10px 8px;border-radius:10px;font:inherit;color:inherit}.dash-scroll-panel{max-height:280px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.dash-scroll-panel::-webkit-scrollbar{width:6px}.dash-scroll-panel::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.dash-click-row{cursor:pointer;transition:background .12s ease}.team-perf-row.dash-click-row:hover,table.dash-mini-table tbody tr.dash-click-row:hover{background:#f8fafc}.team-perf-row.dash-click-row:focus-visible,table.dash-mini-table tbody tr.dash-click-row:focus-visible{outline:2px solid rgba(59,130,246,.35);outline-offset:-2px}.dash-mini-table thead th{position:sticky;top:0;z-index:1;background:#fff}.team-perf-left{display:flex;align-items:center;gap:10px;min-width:0}.team-av{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:700;flex-shrink:0}.team-perf-left strong{display:block;font-size:13.5px;color:var(--navy)}.team-perf-left small{color:var(--muted);font-size:12px}.team-perf-right{width:120px;text-align:right}.team-perf-right strong{display:block;font-size:14px;margin-bottom:6px;color:var(--navy)}@media (max-width:1200px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:900px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chart-grid,.dash-bottom-grid,.dash-mid-grid{grid-template-columns:1fr}.dash-page-head{flex-direction:column;align-items:stretch;gap:12px}.dash-page-actions{width:100%;display:flex;flex-wrap:wrap;gap:8px}.dash-page-actions .dash-select{flex:1 1 140px;min-width:0;width:auto}.dash-cta,.dash-page-actions .btn,.dash-page-actions a.btn{flex:0 0 auto!important;width:auto!important}.desk-status{display:none}}@media (max-width:640px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.kpi-card{min-height:0;padding:10px 10px 9px;gap:8px;border-radius:10px}.kpi-icon{width:32px;height:32px;border-radius:8px}.kpi-icon svg{width:15px;height:15px}.kpi-label{font-size:11px;margin-bottom:4px}.kpi-value{font-size:18px}.pipeline-row{grid-template-columns:72px 1fr 32px;gap:8px}.pipeline-row span{font-size:12px}.chart-card{padding:12px}.chart-card-head h2{font-size:15px}}.dash-hero{position:relative;overflow:hidden;border-radius:20px;margin-bottom:18px;padding:28px 28px 24px;color:var(--navy);background:radial-gradient(700px 280px at 92% 8%,rgba(245,158,11,.14),transparent 55%),radial-gradient(520px 260px at 0 100%,rgba(59,130,246,.14),transparent 50%),linear-gradient(135deg,#ffffff,#f5f8fd 55%,#eef3fb);border:1px solid var(--border);box-shadow:var(--shadow-sm);animation:rise .45s ease both}.dash-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(59,130,246,.05) 1px,transparent 0),linear-gradient(90deg,rgba(59,130,246,.05) 1px,transparent 0);background-size:28px 28px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.35),transparent 85%);mask-image:linear-gradient(180deg,rgba(0,0,0,.35),transparent 85%);pointer-events:none}.dash-hero-top{position:relative;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.dash-kicker{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#ca8a04;margin-bottom:8px}.dash-hero h1{font-family:var(--font-display);font-size:clamp(28px,3.2vw,38px);font-weight:700;letter-spacing:-.04em;line-height:1.05;max-width:14ch;margin-bottom:10px;color:var(--navy)}.dash-hero-copy{max-width:42ch;color:var(--text-soft);font-size:14.5px;line-height:1.5}.dash-hero-actions{display:flex;gap:10px;flex-shrink:0}.btn-ghost{background:#fff;color:var(--text-soft);border:1px solid var(--border);border-radius:10px;padding:11px 18px;font-weight:600;font-size:13px;transition:background .15s ease,border-color .15s ease;text-decoration:none;display:inline-flex;align-items:center}.btn-ghost:hover{background:var(--surface-2);border-color:var(--border-strong)}.btn-hero{background:linear-gradient(180deg,#60a5fa,#2563eb);color:#fff;border:0;border-radius:10px;padding:11px 18px;font-weight:700;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;box-shadow:0 6px 14px rgba(59,130,246,.25)}.dash-metrics{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.75);overflow:hidden}.dash-metric{padding:16px 18px;border-right:1px solid var(--border)}.dash-metric:last-child{border-right:0}.dash-metric span{display:block;font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.dash-metric strong{display:block;font-family:var(--font-display);font-size:30px;letter-spacing:-.04em;line-height:1;margin-bottom:6px;color:var(--navy)}.dash-metric small{color:#b45309;font-size:12px}.dash-stage-board{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px;animation:rise .45s ease both;animation-delay:.05s}.dash-stage{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px 14px;min-height:118px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .15s ease,border-color .15s ease}.dash-stage:hover{transform:translateY(-2px);border-color:var(--border-strong)}.dash-stage-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}.dash-stage-top span{font-size:12px;font-weight:700;color:var(--text-soft)}.dash-stage-top em{font-style:normal;font-size:11px;font-weight:700;color:var(--primary);background:var(--primary-soft);padding:3px 8px;border-radius:6px}.dash-stage strong{font-family:var(--font-display);font-size:34px;letter-spacing:-.05em;color:var(--navy);line-height:1}.dash-stage-bar{margin-top:12px;height:4px;border-radius:999px;background:#e8eef6;overflow:hidden}.dash-stage-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--accent))}.dash-main{display:grid;grid-template-columns:1.35fr .95fr;gap:16px;margin-bottom:18px}.dash-panel{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;animation:rise .45s ease both;animation-delay:.08s}.dash-panel-head{padding:16px 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid #eaf0f6}.dash-panel-head h2{font-family:var(--font-display);font-size:18px;letter-spacing:-.03em;color:var(--navy)}.dash-panel-head p{margin-top:3px;font-size:12.5px;color:var(--muted)}.dash-lead-rows{padding:6px 8px 10px}.dash-lead-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:12px 10px;border-radius:12px;transition:background .12s ease}.dash-lead-row:hover{background:#f5f8fc}.dash-lead-row h3{font-size:14px;font-weight:700;color:var(--text);margin-bottom:2px}.dash-lead-row small{color:var(--muted);font-size:12px}.dash-lead-owner{font-size:12.5px;font-weight:600;color:var(--text-soft);text-align:right}.dash-timeline{list-style:none;padding:8px 18px 18px;position:relative}.dash-timeline:before{content:"";position:absolute;left:26px;top:18px;bottom:24px;width:2px;background:#e8eef6}.dash-timeline li{position:relative;padding:0 0 16px 28px}.dash-timeline li:last-child{padding-bottom:0}.dash-timeline li:before{content:"";position:absolute;left:0;top:5px;width:10px;height:10px;border-radius:50%;background:var(--primary);border:2px solid #fff;box-shadow:0 0 0 2px #dbeafe}.dash-timeline li.won:before{background:var(--accent);box-shadow:0 0 0 2px #e0f2fe}.dash-timeline li.warn:before{background:#d97706;box-shadow:0 0 0 2px #fdecc8}.dash-timeline li.lost:before{background:var(--danger);box-shadow:0 0 0 2px #fadede}.dash-timeline p{font-size:13.5px;font-weight:600;color:var(--text);margin-bottom:3px}.dash-timeline small{color:var(--muted);font-size:12px}.dash-owners{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;animation:rise .45s ease both;animation-delay:.12s}.dash-owner{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}.dash-owner-top{display:flex;align-items:center;gap:10px}.dash-owner-av{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#1e3a8a;font-size:12px;font-weight:700;background:linear-gradient(145deg,#bfdbfe,#93c5fd);flex-shrink:0}.dash-owner h3{font-size:14px;font-weight:700;color:var(--navy)}.dash-owner small{color:var(--muted);font-size:12px}.dash-owner-count{font-family:var(--font-display);font-size:26px;letter-spacing:-.04em;color:var(--navy);line-height:1}.dash-owner-count span{font-family:var(--font-sans);font-size:12px;font-weight:600;color:var(--muted);margin-left:4px}@media (max-width:1100px){.dash-metrics,.dash-owners,.dash-stage-board{grid-template-columns:1fr 1fr}.dash-metric:nth-child(2){border-right:0}.dash-main{grid-template-columns:1fr}}@media (max-width:780px){.dash-hero-actions,.dash-hero-top{flex-direction:column}.dash-lead-row,.dash-metrics,.dash-owners,.dash-stage-board{grid-template-columns:1fr}.dash-metric{border-right:0;border-bottom:1px solid var(--border)}.dash-lead-owner{text-align:left}}.cal-page .dash-page-head h1,.fu-page .dash-page-head h1,.report-page .dash-page-head h1,.settings-page .dash-page-head h1,.users-page .dash-page-head h1{font-size:30px}.fu-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:20px}.fu-kpi-meta{display:block;margin-top:6px;font-size:12px;color:var(--muted);font-weight:500}.fu-kpi-card{border:1px solid var(--border);font:inherit;text-align:left;width:100%}.fu-kpi-card:disabled{cursor:default;opacity:1}.fu-kpi-card.is-active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(59,130,246,.12)}.fu-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;flex-wrap:wrap}.fu-toolbar h2{font-family:var(--font-display);font-size:18px;letter-spacing:-.02em;color:var(--navy)}.fu-toolbar p{margin-top:2px;font-size:13px;color:var(--muted)}.follow-filters{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid var(--border);background:#fff;border-radius:999px;height:36px;padding:0 14px;font-size:13px;font-weight:600;color:var(--text-soft);display:inline-flex;align-items:center;white-space:nowrap}.filter-chip.active{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff}.fu-list-wrap{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:auto}.fu-list-table{width:100%;border-collapse:collapse;min-width:900px}.fu-list-table td,.fu-list-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;font-size:13.5px;color:var(--navy)}.fu-list-table th{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:#f8fafc;white-space:nowrap}.fu-list-table tbody tr:hover{background:#f8fbff}.fu-list-table tbody tr:last-child td{border-bottom:0}.fu-list-row.urgency-overdue{background:#fff8f8}.fu-list-row.urgency-today{background:#fffbeb}.fu-list-entity{font-family:var(--font-display);font-size:14px;letter-spacing:-.01em}.fu-list-actions{display:flex;gap:8px;flex-wrap:wrap}.fu-list-actions .btn,.fu-list-actions a.btn{height:34px!important;min-height:34px!important;padding:0 12px!important;font-size:12.5px!important;white-space:nowrap}.fu-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fu-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;min-height:230px;transition:border-color .15s ease,box-shadow .15s ease}.fu-card:hover{border-color:#c7d7ee;box-shadow:0 8px 22px rgba(30,41,59,.06)}.fu-card.urgency-overdue{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fff8f8)}.fu-card.urgency-today{border-color:#fde68a;background:linear-gradient(180deg,#fff,#fffbeb)}.fu-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.fu-card h3{font-family:var(--font-display);font-size:17px;letter-spacing:-.02em;color:var(--navy);line-height:1.25}.fu-contact{color:var(--muted);font-size:13px;margin-top:-4px}.fu-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border-radius:10px;background:var(--surface-2);margin-top:auto}.fu-details div:last-child{grid-column:1/-1}.fu-details span{display:block;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}.fu-details strong{font-size:13px;color:var(--navy);font-weight:600}.fu-card-actions{display:flex;gap:8px;margin-top:4px}.fu-card-actions .btn,.fu-card-actions a.btn{flex:1 1;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 12px!important;font-size:13px;white-space:nowrap!important;display:inline-flex!important;align-items:center;justify-content:center}.fu-empty{background:#fff;border:1px dashed var(--border-strong);border-radius:14px;padding:48px 24px;text-align:center}.fu-empty h3{font-family:var(--font-display);font-size:18px;margin-bottom:6px;color:var(--navy)}.fu-empty p{color:var(--muted);margin-bottom:16px}.fu-empty .btn{margin:0 auto}.urgency{font-size:11.5px;font-weight:700;padding:5px 10px;border-radius:7px;white-space:nowrap}.urgency.today{background:#fef3c7;color:#b45309}.urgency.overdue{background:#fee2e2;color:#b91c1c}.urgency.upcoming{background:#dbeafe;color:#1d4ed8}@media (max-width:1100px){.fu-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fu-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.fu-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fu-cards{grid-template-columns:1fr}.fu-card-actions{flex-direction:column}}.cal-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:16px;align-items:start}.cal-board,.cal-side{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}.cal-board-head,.cal-side-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.cal-board-head h2,.cal-side-head h2{font-family:var(--font-display);font-size:18px;letter-spacing:-.02em;color:var(--navy)}.cal-board-head p,.cal-side-head p{margin-top:3px;font-size:13px;color:var(--muted)}.cal-legend{display:flex;gap:8px;flex-wrap:wrap}.cal-legend-item{font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px}.cal-legend-item.meeting{background:#dbeafe;color:#1d4ed8}.cal-legend-item.follow{background:#ffedd5;color:#c2410c}.cal-legend-item.google{background:#e8f5e9;color:#2e7d32}.cal-google-bar{gap:16px;padding:14px 16px;margin-bottom:12px;background:linear-gradient(135deg,#f8fafc,#eef6ff 55%,#f0fdf4)}.cal-google-bar,.cal-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--border);border-radius:14px}.cal-nav{gap:12px;padding:10px 12px;margin-bottom:16px;background:#fff}.cal-nav-left,.cal-nav-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cal-nav-arrow{width:36px;height:36px;border-radius:10px;border:1px solid var(--border);background:#fff;color:var(--navy);font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .15s ease,border-color .15s ease}.cal-nav-arrow:hover{background:#f1f5f9;border-color:#cbd5e1}.cal-nav-select-wrap{position:relative;display:inline-flex}.cal-nav-select{appearance:none;-webkit-appearance:none;height:36px;min-width:132px;width:auto;padding:0 34px 0 12px;border:1px solid var(--border);border-radius:10px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23475569' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E") right 12px center /12px no-repeat;color:var(--navy);font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}.cal-nav-select.year{min-width:92px}.cal-nav-select:focus{outline:none;border-color:#93c5fd;box-shadow:0 0 0 3px rgba(59,130,246,.15)}.cal-nav-meta{font-size:12.5px;font-weight:600;color:var(--muted)}.cal-nav-today{height:36px;padding:0 14px;border-radius:10px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}.cal-nav-today:hover{background:#dbeafe}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cal-side-empty{gap:10px}.cal-google-brand{display:flex;align-items:flex-start;gap:12px;min-width:0}.cal-google-icon{width:40px;height:40px;border-radius:10px;background:#fff;border:1px solid var(--border);display:grid;place-items:center;flex-shrink:0}.cal-google-brand strong{display:block;font-size:14px;color:var(--navy)}.cal-google-brand p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}.cal-google-actions{display:flex;gap:8px;flex-wrap:wrap}.cal-flash{margin-bottom:12px;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:600}.cal-flash.ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.cal-flash.err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.cal-pill.google{background:#e8f5e9;color:#2e7d32}.cal-side-item.google{border-left:3px solid #34a853}.cal-side-item.google .cal-side-badge{background:#e8f5e9;color:#2e7d32}.cal-side-links{display:flex;flex-wrap:wrap;gap:12px}.cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:12px 14px 0}.cal-weekdays div{text-align:center;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:4px 0}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:10px 14px 16px}.cal-cell{min-width:0;width:100%;min-height:96px;max-height:112px;border:1px solid var(--border);border-radius:10px;padding:8px;background:#fff;display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;color:inherit;overflow:hidden;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.cal-cell.is-empty{background:#f8fafc;border-style:dashed;border-color:#e2e8f0;pointer-events:none;min-height:96px}.cal-cell:hover:not(.is-empty){border-color:#93c5fd;background:#f8fbff}.cal-cell.is-today{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.cal-cell.is-selected:not(.is-today){border-color:#60a5fa;background:#eff6ff}.cal-cell-num{font-size:12px;font-weight:700;color:var(--text-soft);line-height:1}.cal-cell.is-selected .cal-cell-num,.cal-cell.is-today .cal-cell-num{color:var(--primary-deep)}.cal-cell-events{display:flex;flex-direction:column;gap:3px}.cal-cell-events,.cal-pill{min-width:0;overflow:hidden}.cal-pill{display:block;max-width:100%;font-size:10px;font-weight:700;padding:3px 6px;border-radius:5px;white-space:nowrap;text-overflow:ellipsis;line-height:1.2}.cal-pill.meeting{background:#dbeafe;color:#1d4ed8}.cal-pill.follow{background:#ffedd5;color:#c2410c}.cal-pill.more{background:#f1f5f9;color:#64748b}.cal-side{min-height:420px;display:flex;flex-direction:column}.cal-side-empty{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 20px;gap:8px}.cal-side-empty-icon{width:52px;height:52px;border-radius:14px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;margin-bottom:6px}.cal-side-empty-icon svg{width:24px;height:24px}.cal-side-empty h3{font-family:var(--font-display);font-size:17px;color:var(--navy)}.cal-side-empty p{color:var(--muted);font-size:13px;margin-bottom:8px}.cal-side-list{padding:12px 14px 16px;display:flex;flex-direction:column;gap:10px}.cal-side-item{border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:#fff}.cal-side-item.meeting{border-left:3px solid #3b82f6}.cal-side-item.follow{border-left:3px solid #f59e0b}.cal-side-badge{display:inline-flex;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;margin-bottom:8px;background:#eff6ff;color:#1d4ed8}.cal-side-item.follow .cal-side-badge{background:#ffedd5;color:#c2410c}.cal-side-item h4{font-size:14px;color:var(--navy);margin-bottom:4px}.cal-side-item p{font-size:12.5px;color:var(--muted);margin-bottom:8px}@media (max-width:1100px){.cal-layout{grid-template-columns:1fr}.cal-cell{min-height:84px;max-height:96px}}@media (max-width:700px){.cal-cell{min-height:64px;max-height:72px;padding:6px}.cal-pill{display:none}.cal-cell.has-events .cal-cell-num:after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#3b82f6;margin-left:4px;vertical-align:middle}}.report-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.report-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-bottom:14px}.report-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.report-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;min-width:0}.report-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px 8px}.report-card-head h2{font-family:var(--font-display);font-size:17px;letter-spacing:-.02em;color:var(--navy)}.report-card-head p{margin-top:3px;font-size:12.5px;color:var(--muted)}.report-svg{width:100%;height:auto;display:block;padding:0 8px 8px}.report-svg-label,.report-svg-value{fill:#94a3b8;font-size:11px;font-family:var(--font-sans)}.report-svg-value{fill:#475569;font-weight:700;font-size:11px}.report-funnel{padding:8px 18px 18px;display:flex;flex-direction:column;gap:14px}.report-funnel-item span{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}.report-funnel-item strong{display:block;font-family:var(--font-display);font-size:22px;letter-spacing:-.03em;color:var(--navy);margin-bottom:8px;line-height:1}.report-product-list,.report-status-list{padding:6px 16px 16px;display:flex;flex-direction:column;gap:10px}.report-product-row,.report-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:var(--surface-2)}.report-status-left{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;color:var(--text)}.report-status-left i{width:8px;height:8px;border-radius:50%;display:block}.report-status-right{display:flex;align-items:center;gap:10px}.report-status-right strong{font-size:14px;color:var(--navy)}.report-status-right em{font-style:normal;font-size:12px;font-weight:700;color:var(--muted);min-width:34px;text-align:right}.report-product-row{background:transparent;padding:8px 0;border-bottom:1px solid #eef2f7;border-radius:0}.report-product-row:last-child{border-bottom:0}.report-product-rank{width:24px;height:24px;border-radius:8px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.report-product-main{flex:1 1;min-width:0}.report-product-main strong{display:block;font-size:13px;margin-bottom:6px;color:var(--navy)}.report-product-row>span{font-size:13px;font-weight:700;color:var(--text-soft);min-width:20px;text-align:right}.report-card .team-perf-list{padding:8px 16px 16px}@media (max-width:1100px){.report-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-grid,.report-grid.three{grid-template-columns:1fr}}@media (max-width:700px){.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}.users-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.users-list-wrap{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:auto}.users-list-table{width:100%;border-collapse:collapse;min-width:980px}.users-list-table td,.users-list-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;font-size:13.5px;color:var(--navy)}.users-list-table th{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:#f8fafc;white-space:nowrap}.users-list-table tbody tr:hover{background:#f8fbff}.users-list-table tbody tr:last-child td{border-bottom:0}.users-list-user{display:flex;align-items:center;gap:10px;min-width:160px}.users-list-user .user-avatar{width:34px;height:34px;font-size:12px;flex-shrink:0}.users-list-user strong{font-family:var(--font-display);font-size:14px;letter-spacing:-.01em}.users-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.user-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:14px;min-width:0;transition:border-color .15s ease,box-shadow .15s ease}.user-card:hover{border-color:#c7d7ee;box-shadow:0 8px 22px rgba(30,41,59,.06)}.user-card-top{display:flex;gap:12px;align-items:flex-start}.user-avatar{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:700;flex-shrink:0}.user-avatar,.user-avatar.tone-blue{background:#dbeafe;color:#1d4ed8}.user-avatar.tone-purple{background:#ede9fe;color:#7c3aed}.user-avatar.tone-orange{background:#ffedd5;color:#ea580c}.user-avatar.tone-cyan{background:#cffafe;color:#0891b2}.user-card-title{flex:1 1;min-width:0}.user-name-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}.user-card h3{font-family:var(--font-display);font-size:17px;letter-spacing:-.02em;color:var(--navy)}.user-card .role{color:var(--muted);font-size:13px}.chip.is-active{background:#eff6ff;color:#1d4ed8}.chip.is-away{background:#fff7ed;color:#c2410c}.user-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border-radius:12px;background:var(--surface-2)}.user-meta-grid span{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:3px}.user-meta-grid strong{font-size:13px;color:var(--navy);font-weight:600;word-break:break-word}.user-card-actions{display:flex;gap:8px}.user-card-actions .btn,.user-card-actions a.btn{flex:1 1;height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 12px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:13px}@media (max-width:1100px){.users-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:800px){.users-grid{grid-template-columns:1fr}.users-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.user-card-actions{flex-direction:column}}.user-form{display:flex;flex-direction:column;gap:20px;overflow:visible}.role-picker{overflow:visible;position:relative;z-index:3}.role-perm-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;overflow:visible;margin-bottom:8px}.role-perm-row .perm-box,.role-perm-row .role-picker{margin:0;min-width:0;overflow:visible}.role-perm-row .role-picker{z-index:2}.role-perm-row .perm-box{z-index:1}.role-perm-row .role-dropdown-field{max-width:none;overflow:visible}.role-perm-row .search-select-list{max-height:200px}@media (max-width:900px){.role-perm-row{grid-template-columns:1fr}}.user-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.user-form-grid .full{grid-column:1/-1}.role-picker-head h3{font-family:var(--font-display);font-size:16px;color:var(--navy);margin-bottom:4px}.role-picker-head p{font-size:13px;color:var(--muted);margin-bottom:12px}.role-dropdown-field{max-width:420px;overflow:visible}.role-dropdown-hint{margin:8px 0 0;font-size:12.5px;color:var(--muted);line-height:1.4}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.role-card{text-align:left;border:1px solid var(--border);background:#fff;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px;min-height:118px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.role-card:hover{border-color:#93c5fd;background:#f8fbff}.role-card.active{border-color:var(--primary);background:#eff6ff;box-shadow:0 0 0 3px var(--primary-soft)}.role-card strong{font-size:14px;color:var(--navy)}.role-card span{font-size:12px;color:var(--muted);line-height:1.4;flex:1 1}.role-card em{font-style:normal;font-size:11px;font-weight:700;color:var(--primary-deep)}.perm-box{border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--surface-2);overflow:visible;position:relative;z-index:2}.perm-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.perm-group h4{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:8px}.perm-list{display:flex;flex-direction:column;gap:8px}.perm-list label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--text);margin:0}.perm-list input{accent-color:var(--primary);width:15px;height:15px}.user-form-actions{display:flex;justify-content:flex-end;gap:10px}.user-form-actions .btn{height:40px!important;min-height:40px!important;max-height:40px!important;padding:0 18px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center;justify-content:center}@media (max-width:900px){.perm-groups,.role-grid,.user-form-grid{grid-template-columns:1fr}}.settings-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}.settings-nav{background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;height:fit-content}.settings-nav-head{display:flex;align-items:center;gap:10px;padding:10px 10px 14px;margin-bottom:8px;border-bottom:1px solid var(--border)}.settings-nav-avatar{width:42px;height:42px;border-radius:12px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}.settings-nav-avatar.lg{width:56px;height:56px;border-radius:16px;font-size:16px}.settings-nav-head strong{display:block;font-size:14px;color:var(--navy)}.settings-nav-head span{font-size:12px;color:var(--muted)}.settings-nav>button{width:100%;display:flex;align-items:flex-start;gap:10px;text-align:left;border:0;background:transparent;padding:11px 10px;border-radius:11px;color:var(--text-soft);margin-bottom:4px}.settings-nav>button:hover{background:var(--surface-2)}.settings-nav>button.active{background:#eff6ff;color:var(--primary-deep)}.settings-nav-icon{width:34px;height:34px;border-radius:10px;background:#f1f5f9;display:grid;place-items:center;flex-shrink:0;color:#64748b}.settings-nav>button.active .settings-nav-icon{background:#dbeafe;color:#2563eb}.settings-nav-icon svg{width:16px;height:16px}.settings-nav>button em{display:block;font-style:normal;font-size:13.5px;font-weight:700;margin-bottom:2px}.settings-nav>button small{display:block;font-size:11.5px;color:var(--muted);line-height:1.3;font-weight:500}.settings-panel{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:visible;min-width:0}.settings-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.settings-panel-head h2{font-family:var(--font-display);font-size:18px;letter-spacing:-.02em;color:var(--navy)}.settings-panel-head p{margin-top:3px;font-size:13px;color:var(--muted)}.settings-body{padding:18px;overflow:visible}.settings-profile-banner{display:flex;align-items:center;gap:14px;padding:14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border);margin-bottom:16px}.settings-profile-banner h3{font-family:var(--font-display);font-size:16px;color:var(--navy);margin-bottom:2px}.settings-profile-banner p{font-size:13px;color:var(--muted)}.settings-profile-banner .btn{margin-left:auto}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-form .full{grid-column:1/-1}.settings-source-block{padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:#f8fafc;margin-bottom:8px}.settings-source-head h3{margin:0 0 4px;font-family:var(--font-display);font-size:16px;color:var(--navy)}.settings-source-head p{margin:0 0 14px;font-size:13px;color:var(--muted)}.settings-source-add{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.settings-source-add .input{flex:1 1 220px;min-width:0}.settings-source-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.settings-source-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid var(--border);font-weight:600;color:var(--navy)}.settings-source-remove{border:0;background:#fef2f2;color:#dc2626;font-weight:600;font-size:12px;padding:6px 10px;border-radius:8px;cursor:pointer}.settings-source-remove:hover:not(:disabled){background:#fee2e2}.settings-source-remove:disabled{opacity:.45;cursor:not-allowed}.settings-toggle-list{display:flex;flex-direction:column;gap:0}.settings-toggle-row,.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #eef2f7}.settings-toggle-row:last-child,.toggle-row:last-child{border-bottom:0}.toggle-row h4{font-size:14px;margin-bottom:3px;color:var(--navy)}.toggle-row p{font-size:12.5px;color:var(--muted)}.switch{width:44px;height:24px;border-radius:999px;background:#c9d5e3;border:0;position:relative;flex-shrink:0}.switch.on{background:var(--primary-deep)}.switch i{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s ease}.switch.on i{left:23px}.settings-secure-note{padding:12px 14px;border-radius:10px;background:#eff6ff;border:1px solid #dbeafe;color:#1e40af;font-size:13px;margin-bottom:16px;line-height:1.45}@media (max-width:900px){.settings-layout{grid-template-columns:1fr}.settings-profile-banner{flex-wrap:wrap}.settings-profile-banner .btn{margin-left:0;width:100%}.settings-form{grid-template-columns:1fr}}@media (max-width:1100px){.stats-grid{grid-template-columns:1fr 1fr}.cal-layout,.dash-grid{grid-template-columns:1fr}}.auth-boot,.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(900px 420px at 90% -8%,rgba(59,130,246,.16),transparent 55%),radial-gradient(1100px 520px at -8% 0,rgba(245,158,11,.1),transparent 58%),linear-gradient(180deg,#fbfcfe,#eef2f8)}.auth-boot-card,.login-panel{width:min(440px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);padding:28px}.auth-boot-card strong{font-family:var(--font-display);font-size:22px;color:var(--navy)}.auth-boot-card p{margin-top:6px;color:var(--muted)}.login-brand{display:flex;flex-direction:column;align-items:center;gap:6px;margin:-28px -28px 18px;padding:14px 16px 12px;background:#ffffff;border-bottom:1px solid var(--border);border-radius:18px 18px 0 0;text-align:center}.login-logo{display:block;width:auto;max-width:168px;height:auto;max-height:42px;object-fit:contain}.login-brand p{margin:0;color:var(--muted);font-size:11.5px;font-weight:500;letter-spacing:.01em}.login-form h2{margin:0 0 4px;font-size:20px;color:var(--navy)}.login-hint{margin:0 0 16px;color:var(--muted);font-size:13px}.login-error{margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:13px;font-weight:600}.login-password-wrap{position:relative}.login-password-wrap .input{padding-right:44px}.login-password-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:pointer;padding:0}.login-password-toggle:hover{color:var(--navy);background:#f1f5f9}.login-password-toggle svg{width:18px;height:18px}.login-submit{width:100%!important;margin-top:8px;height:42px!important}.login-demo{margin-top:14px;font-size:12px;color:var(--muted);text-align:center}.login-demo code{font-size:11.5px;background:#f1f5f9;padding:2px 6px;border-radius:6px}.advanced-filter-chipbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px;background:#eff6ff;border-bottom:1px solid #dbeafe;font-size:12.5px;font-weight:600;color:#1e40af}.filter-modal,.saved-filters-panel{background:#fff;border-radius:18px;box-shadow:0 24px 48px rgba(15,23,42,.18),0 0 0 1px rgba(15,23,42,.04);overflow:hidden;display:grid;align-self:center;animation:rise .28s ease}.filter-modal{width:min(640px,calc(100vw - 48px));height:auto;max-height:min(78vh,640px);min-height:0;grid-template-rows:auto minmax(0,1fr) auto}.filter-modal-root.modal.show{z-index:200;padding:24px}.saved-filters-panel{width:min(460px,calc(100vw - 32px));max-height:min(78vh,600px);min-height:min(420px,calc(100vh - 48px));grid-template-rows:auto auto minmax(0,1fr) auto}.filter-modal-v2 .filter-modal-head{padding:20px 24px 16px;background:linear-gradient(180deg,#f8fbff,#ffffff);border-bottom:1px solid #e8eef5;position:sticky;top:0;z-index:3}.filter-modal-head,.saved-filters-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px 12px;border-bottom:1px solid var(--border);min-height:0}.filter-kicker{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.filter-modal-head h3{display:block;margin:0;font-family:var(--font-display);font-size:22px;letter-spacing:-.03em;color:var(--navy)}.filter-modal-head p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4;max-width:36ch}.filter-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:#fff;color:#64748b;font-size:20px;line-height:1;cursor:pointer;flex-shrink:0}.filter-close:hover{background:#f1f5f9;color:var(--navy)}.filter-modal-icon{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#eff6ff;color:#2563eb}.filter-modal-icon svg{width:13px;height:13px}.filter-modal-body{padding:20px 22px 22px;overflow-x:hidden;overflow-y:auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fcfdff}.filter-setup{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;padding:14px;margin-bottom:14px;border:1px solid #e8eef5;border-radius:14px;background:#fff}.filter-setup .field label{margin-bottom:6px;font-size:12px;font-weight:700;color:#64748b}.filter-setup .input{height:40px;border-radius:10px}.vis-segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:10px;background:#f1f5f9;border:1px solid #e2e8f0}.vis-seg{height:32px;border:0;border-radius:8px;background:transparent;color:#64748b;font-size:12.5px;font-weight:700;font-family:inherit;cursor:pointer}.vis-seg.active{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(15,23,42,.08)}.vis-seg:disabled{opacity:.4;cursor:not-allowed}.vis-hint{display:block;margin-top:6px;color:var(--muted);font-size:11.5px}.filter-error{margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:12.5px;font-weight:600;border:1px solid #fecaca}.filter-rules-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.filter-rules-head h4{margin:0;font-family:var(--font-display);font-size:15px;color:var(--navy);letter-spacing:-.02em}.filter-rules-head span{font-size:12px;font-weight:600;color:#94a3b8}.filter-conditions{gap:0}.filter-conditions,.filter-rule-block{display:flex;flex-direction:column}.filter-condition-card{border:1px solid #e2e8f0;border-radius:14px;padding:12px 12px 14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}.filter-condition-top{display:flex;align-items:center;gap:8px;margin-bottom:10px}.cond-label{font-size:12.5px;font-weight:700;color:var(--navy)}.cond-badge{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:800}.cond-remove{margin-left:auto;border:0;background:transparent;color:#94a3b8;font-weight:600;font-size:12px;cursor:pointer}.cond-remove:hover{color:#dc2626}.filter-condition-grid{display:grid;grid-template-columns:1.15fr 1fr 1.15fr;gap:10px}.filter-condition-grid .field label{margin-bottom:5px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}.filter-condition-grid .input,.filter-condition-grid select{height:38px;font-size:13px;border-radius:10px}.filter-join{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:10px 6px}.filter-join-line{height:1px;background:#e2e8f0}.join-toggle{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0}.join-btn{height:28px;padding:0 12px;border:0;border-radius:999px;background:transparent;font-size:11px;font-weight:800;letter-spacing:.04em;color:#64748b;cursor:pointer;font-family:inherit}.join-btn.active{background:#1e293b;color:#fff}.join-btn.or.active{background:#0f766e;color:#fff}.add-condition-btn{margin-top:12px;height:42px;border:1.5px dashed #cbd5e1;border-radius:12px;background:#fff;color:#334155;font-weight:700;font-size:13px;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.add-condition-btn span{width:22px;height:22px;border-radius:7px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:16px;line-height:1}.add-condition-btn:hover{border-color:#93c5fd;color:#1d4ed8;background:#f8fbff}.filter-modal-footer,.saved-filters-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 24px;border-top:1px solid #e8eef5;background:#fff;min-height:0;position:sticky;bottom:0;z-index:3}.filter-modal-footer-right{display:flex;gap:8px;flex-wrap:wrap}.filter-modal-footer .dash-cta,.filter-modal-footer .toolbar-btn,.saved-filters-foot .toolbar-btn,.saved-filters-head .dash-cta{height:36px!important;min-height:36px!important;max-height:36px!important;padding:0 14px!important;font-size:13px!important;border-radius:10px!important}.filter-name-row{display:grid;grid-template-columns:1.3fr 1fr;gap:10px;margin-bottom:12px}.visibility-toggle{display:flex;gap:6px}.vis-btn{flex:1 1;height:34px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#64748b;font-weight:600;font-size:12px}.vis-btn.active{background:#2563eb;border-color:#2563eb;color:#fff}.vis-btn:disabled{opacity:.45;cursor:not-allowed}.saved-tabs{display:flex;gap:2px}.saved-tab{border:0;background:transparent;padding:6px 10px;font-weight:700;font-size:12.5px;color:#64748b;border-bottom:2px solid transparent}.saved-tab.active{color:#2563eb;border-bottom-color:#2563eb}.saved-search-wrap{padding:10px 16px 0;flex:0 0 auto}.saved-search-wrap .input{height:34px;font-size:12.5px}.saved-filters-list{padding:8px 16px 12px;display:flex;flex-direction:column;gap:6px;overflow:auto;min-height:0}.saved-empty{padding:18px 12px;text-align:center;color:var(--muted);font-size:12.5px}.saved-filter-row{padding:8px 10px;border:1px solid #e8eef5;border-radius:9px;background:#fff}.saved-filter-name,.saved-filter-row{display:flex;align-items:center;gap:8px}.saved-filter-name{flex:1 1;border:0;background:transparent;text-align:left;min-width:0;cursor:pointer}.saved-filter-name span{font-weight:600;color:var(--navy);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vis-pill{font-style:normal;font-size:10.5px;font-weight:700;text-transform:capitalize;padding:2px 7px;border-radius:999px;background:#eff6ff;color:#1d4ed8}.vis-pill.private{background:#f1f5f9;color:#475569}.saved-filter-actions{display:flex;gap:2px}.saved-filter-actions button{width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:#64748b}.saved-filter-actions button:hover{background:#f1f5f9}.saved-filter-actions button.danger{color:#dc2626}@media (max-width:700px){.modal.show{padding:8px}.filter-modal{width:calc(100vw - 24px);height:auto;min-height:0;max-height:calc(100vh - 24px);border-radius:14px}.filter-modal-root.modal.show{padding:8px}.filter-condition-grid,.filter-name-row,.filter-setup{grid-template-columns:1fr}.filter-modal-footer{flex-direction:column;align-items:stretch}.filter-modal-footer-right{justify-content:stretch}}canvas,img,video{max-width:100%}.brand-logo,.icon-btn svg,.login-logo,.menu-icon svg{max-width:none}.app-shell.sidebar-collapsed .brand-mark-icon{width:32px;height:32px;min-width:0;min-height:0;max-width:32px;max-height:32px;object-fit:contain;object-position:center}.btn,.input,input,select,textarea{max-width:100%}.topbar{min-width:0;padding:0 16px}.top-actions{gap:10px;min-width:0}@media (max-width:900px){.app-shell,.app-shell.sidebar-collapsed,:root{--sidebar-w:0px}.sidebar-backdrop{display:block;position:fixed;inset:0;z-index:35;border:0;padding:0;margin:0;background:rgba(15,23,42,.42);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease;cursor:pointer}.app-shell:not(.sidebar-collapsed) .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}.sidebar{width:min(280px,88vw);max-width:280px;transform:translateX(-105%);transition:transform .22s ease,box-shadow .22s ease;z-index:40;box-shadow:none;overflow:hidden}.app-shell:not(.sidebar-collapsed) .sidebar{transform:translateX(0);box-shadow:12px 0 36px rgba(15,23,42,.18);overflow:visible}.app-shell.sidebar-collapsed .sidebar{width:min(280px,88vw);overflow:hidden}.app-shell:not(.sidebar-collapsed) .menu-label,.app-shell:not(.sidebar-collapsed) .nav-group-title,.app-shell:not(.sidebar-collapsed) .sidebar-foot .menu-label,.app-shell:not(.sidebar-collapsed) .sidebar-user{display:revert}.app-shell:not(.sidebar-collapsed) .logout-btn,.app-shell:not(.sidebar-collapsed) .menu a{justify-content:flex-start;padding:11px 14px}.app-shell:not(.sidebar-collapsed) .brand{justify-content:center;padding:6px 12px;overflow:visible}.app-shell:not(.sidebar-collapsed) .brand-logo{max-width:168px;width:auto;height:40px;object-fit:contain}.app-shell.sidebar-collapsed .menu-tip{display:none!important}.main{margin-left:0;width:100%}.topbar{padding:0 12px;gap:10px}.dash-page-head{align-items:flex-start}.dash-page-actions{width:100%;justify-content:flex-start}.page-header-row{align-items:flex-start}.cal-nav,.fu-toolbar,.import-actions-top,.list-toolbar,.panel-header{flex-wrap:wrap}.pipeline-row{grid-template-columns:88px 1fr 36px;gap:8px}.modal.show{padding:12px;align-items:flex-end}.modal-box,.modal-box-wide{width:100%;max-height:min(92vh,920px);border-radius:16px 16px 12px 12px}.saved-filters-panel{width:min(460px,calc(100vw - 24px))}}@media (max-width:640px){.topbar{padding:0 10px}.list-toolbar{width:100%;justify-content:stretch}.list-toolbar .list-search{flex:1 1 100%;width:100%;max-width:none}.list-toolbar .toolbar-btn{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 8px);min-width:calc(50% - 8px)}.content{padding:14px 10px 22px}.dash-page-head h1,.page-title{font-size:clamp(22px,6vw,28px);word-break:break-word}.panel{border-radius:12px}.cal-nav,.cal-nav-left,.cal-nav-right,.fu-toolbar,.import-actions-top,.list-toolbar,.list-toolbar-right{width:100%}.list-search{width:100%;max-width:none}.bulk-bar{padding-inline:10px}.pipeline-row{grid-template-columns:72px 1fr 32px;gap:8px}.agenda-item{grid-template-columns:1fr}.modal.show{padding:0;align-items:stretch}.modal-box,.modal-box-wide{max-height:100vh;height:100%;border-radius:0}.modal-body,.modal-footer,.modal-head{padding-left:14px;padding-right:14px}.topbar-dropdown,.topbar-dropdown-help,.topbar-dropdown-notif,.topbar-dropdown-profile{position:fixed;top:calc(var(--topbar-h) + 8px);right:8px;left:8px;width:auto;max-width:none}.auth-boot,.login-page{padding:16px}.auth-boot-card,.login-panel{padding:22px 18px}}@media (max-width:380px){.top-actions{gap:6px}.icon-btn{width:32px;height:32px}.content.leads-page .panel>.table-wrap{min-height:0}.content.leads-page .panel>.table-empty{min-height:140px}.dash-page .table-wrap table,.import-table-wrap table,.leads-page table,.report-page .table-wrap table{min-width:860px}}@media (min-width:1600px){.content{padding-left:28px;padding-right:28px}}@media (max-width:900px){.follow-filters,.radio-group,.tabs{flex-wrap:wrap}.field input,.field select,.field textarea,.input{width:100%}}@media (max-width:640px){.radio-group{flex-direction:column;align-items:flex-start;gap:10px}.btn{min-height:40px}}.email-meta,.email-page .email-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.email-block-editor label,.email-meta label,.email-send-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--navy)}.email-tabs,.email-toolbar{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.email-palette-grid button,.email-tabs button,.email-toolbar button,.email-vars button{border:1px solid var(--border);background:#fff;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer}.email-tabs button.active,.email-toolbar button.active{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.email-toolbar button.danger{color:#be123c}.email-studio{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;align-items:start}.email-canvas{background:#fff;border:1px solid var(--border);border-radius:14px;min-height:420px;padding:16px}.email-canvas.is-mobile{max-width:420px;margin:0 auto}.email-drop{min-height:320px;border:1px dashed #cbd5e1;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px}.email-empty{margin:auto;text-align:center;color:var(--muted);padding:48px 12px}.email-canvas-block{text-align:left;border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;cursor:pointer}.email-canvas-block.is-selected{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.15)}.email-canvas-block small{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:11px}.email-palette{background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px}.email-palette h3{margin:0 0 8px;font-size:13px}.email-palette-grid,.email-vars{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.email-preview{width:100%;min-height:480px;border:0;background:#f8fafc}.email-block-editor{margin-top:12px;display:grid;gap:8px}.email-block-editor textarea,.email-page textarea,.email-send-card textarea{width:100%;min-height:90px;border:1px solid var(--border);border-radius:10px;padding:10px;font:inherit}.email-html-code{display:flex;flex-direction:column;gap:8px;margin-top:14px;font-size:13px;font-weight:700;color:var(--navy)}.email-html-code textarea,.email-page textarea.email-html-input{min-height:280px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:500;line-height:1.5;white-space:pre}.email-block-editor-head,.email-student-tools{display:flex;justify-content:space-between;gap:8px;align-items:center}.email-student-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;margin:12px 0}.email-student-list label{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid var(--border)}.email-student-list small{display:block;color:var(--muted)}.email-user-role{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-style:normal;font-weight:700}.email-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.email-progress div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}.email-progress span{display:block;color:var(--muted);font-size:12px}.email-progress strong{font-size:22px}.email-view-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.email-view-meta div{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 14px}.email-view-meta span{display:block;color:var(--muted);font-size:12px}.email-view-desc{margin:0 0 14px;color:var(--muted)}@media (max-width:900px){.email-meta,.email-progress,.email-studio,.email-view-meta{grid-template-columns:1fr}}