*{box-sizing:border-box} :root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light;--bg:#f6f8fa;--surface:#fff;--surface2:#f3f6f7;--hover:#eef3f4;--border:#e3e8eb;--text:#1b2835;--muted:#657585;--subtle:#8794a0;--primary:#14685C;--primary-hover:#115348;--primary-soft:#e8f4f0;--primary-text:#14685C;--shadow:0 3px 12px #172c3c08;--danger:#c74444;--danger-soft:#fcebed;--amber:#a66719;--amber-soft:#fff2db;--blue:#3868aa;--blue-soft:#eaf1fb;--purple:#7859a8;--purple-soft:#f0eafb;--sidebar:240px;--radius:14px}
html[data-theme=dark]{color-scheme:dark;--bg:#101517;--surface:#191f22;--surface2:#20272b;--hover:#262f33;--border:#303b40;--text:#edf1f2;--muted:#a0aeb5;--subtle:#84949d;--primary:#55c9ad;--primary-hover:#78d8c0;--primary-soft:#193b35;--primary-text:#7addc5;--shadow:0 3px 12px #0002;--danger:#fa8989;--danger-soft:#48282d;--amber:#ebbd72;--amber-soft:#443521;--blue:#a0c6ff;--blue-soft:#243a55;--purple:#c9b2ff;--purple-soft:#382d50}
html{min-height:100%;background:var(--bg);scrollbar-color:var(--border) transparent} body{margin:0;color:var(--text);font-size:15px;line-height:1.5} button,input,select,textarea{font:inherit;color:inherit} button{cursor:pointer} button:disabled{opacity:.5;cursor:not-allowed} button,a,input,select,textarea{-webkit-tap-highlight-color:transparent} button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 55%,transparent);outline-offset:2px} button{border:0;background:none} a{color:inherit;text-decoration:none} svg{display:block;flex-shrink:0} .icon{width:20px;height:20px;stroke-width:1.8;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round} .icon.small{width:16px;height:16px}.app{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);align-items:start}.sidebar{position:sticky;height:100dvh;top:0;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border);padding:24px 14px 14px;z-index:6}.brand{display:flex;align-items:center;gap:10px;padding:0 13px 26px}.brandmark{width:34px;height:34px;border-radius:11px;background:var(--primary);color:white;display:grid;place-items:center;box-shadow:0 3px 7px #14685C30}.brandmark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5}.brand-name{font-size:23px;font-weight:760;letter-spacing:-1.1px;line-height:1.1}.brand-name span{color:var(--primary-text)}.workspace{margin:0 2px 24px;padding:10px;border:1px solid var(--border);border-radius:10px;display:flex;gap:10px;align-items:center;min-width:0}.workspace-logo{border-radius:8px;width:34px;height:34px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:800}.workspace-main{min-width:0;flex:1}.workspace-main strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-main small{display:block;color:var(--muted);font-size:12px}.nav{display:grid;gap:3px;margin-bottom:22px}.nav-btn{border-radius:8px;width:100%;display:flex;align-items:center;gap:11px;padding:10px 12px;text-align:left;font-size:14px;font-weight:550;color:var(--muted);transition:background .15s,color .15s;min-height:42px}.nav-btn:hover{background:var(--hover);color:var(--text)}.nav-btn.active{background:var(--primary-soft);color:var(--primary-text);font-weight:700}.nav-btn .nav-count{margin-left:auto;font-size:11px;font-weight:750;background:var(--surface2);padding:1px 7px;border-radius:6px}.nav-btn.active .nav-count{background:var(--surface)}.sidebar-bottom{margin-top:auto}.demo-card{border:1px solid var(--border);background:var(--surface2);padding:12px;border-radius:12px;margin:8px 2px 12px;display:flex;gap:9px;align-items:flex-start}.demo-card .icon{color:var(--primary-text);width:18px;height:18px;margin-top:2px}.demo-card strong{display:block;font-size:12px}.demo-card span{display:block;font-size:12px;color:var(--muted);line-height:1.45}.profile{width:100%;display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:13px 8px 0;text-align:left}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:750;flex-shrink:0}.avatar.big{width:54px;height:54px;font-size:19px}.avatar.green{background:var(--primary-soft);color:var(--primary-text)}.avatar.amber{background:var(--amber-soft);color:var(--amber)}.avatar.purple{background:var(--purple-soft);color:var(--purple)}.avatar.blue{background:var(--blue-soft);color:var(--blue)}.profile-info{flex:1;min-width:0}.profile-info strong{font-size:13px;display:block}.profile-info span{font-size:12px;display:block;color:var(--muted)}.main{min-width:0}.topbar{height:68px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:16px;position:sticky;top:0;z-index:5}.breadcrumb{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:14px}.breadcrumb strong{color:var(--text);font-weight:650}.breadcrumb .slash{color:var(--subtle)}.top-actions{display:flex;align-items:center;gap:10px}.search-trigger{display:flex;align-items:center;gap:9px;color:var(--muted);padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface2);font-size:13px;min-width:175px;text-align:left}.search-trigger kbd{margin-left:auto;font:inherit;font-size:11px;color:var(--subtle);border:1px solid var(--border);background:var(--surface);border-radius:4px;padding:0 4px}.icon-btn{position:relative;width:38px;height:38px;border:1px solid var(--border);border-radius:9px;display:grid;place-items:center;color:var(--muted);background:var(--surface);flex-shrink:0;transition:background .15s,color .15s}.icon-btn:hover{background:var(--hover);color:var(--text)}.icon-btn.bare{border-color:transparent;background:transparent}.notification-dot{position:absolute;width:7px;height:7px;border:1.5px solid var(--surface);background:var(--primary);border-radius:50%;top:6px;right:6px}.btn{min-height:37px;padding:8px 13px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:650;border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;transition:background .15s,transform .15s,border-color .15s}.btn:hover{background:var(--hover)}.btn:active{transform:scale(.98)}.btn .icon{width:16px;height:16px}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}html[data-theme=dark] .btn.primary{color:#10241e}.btn.danger{color:var(--danger)}.btn.link{border:0;padding:5px 0;background:transparent;color:var(--primary-text);min-height:auto}.btn.link:hover{text-decoration:underline}.content{max-width:1550px;margin:auto;padding:28px 30px 36px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:24px}.page-header h1{font-size:28px;line-height:1.2;margin:0 0 6px;letter-spacing:-.9px;font-weight:750}.page-header p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.date-pill{font-size:12px;font-weight:550;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.date-pill .icon{width:16px;height:16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);padding:16px 17px;text-align:left;box-shadow:var(--shadow);min-width:0;transition:transform .16s,border .16s}.stat:hover{border-color:color-mix(in srgb,var(--primary) 32%,var(--border));transform:translateY(-2px)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.stat-label{color:var(--muted);font-size:13px;font-weight:580}.stat-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-text)}.stat-icon .icon{width:18px;height:18px}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon.amber{background:var(--amber-soft);color:var(--amber)}.stat-icon.purple{background:var(--purple-soft);color:var(--purple)}.stat-value{font-size:29px;font-weight:760;letter-spacing:-.9px;margin:9px 0 3px;line-height:1.15;white-space:nowrap}.stat-caption{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.stat-caption .positive{color:var(--primary-text);font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;margin-bottom:16px;align-items:stretch}.card{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-pad{padding:18px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.card-head h2{font-size:16px;font-weight:700;letter-spacing:-.2px;margin:0}.card-head p{font-size:12px;color:var(--muted);margin:3px 0 0}.card-head .btn{font-size:12px}.pipeline-summary{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;margin-bottom:14px}.pipeline-summary b{font-size:28px;line-height:1.1;letter-spacing:-.8px}.pipeline-summary span{font-size:12px;color:var(--muted)}.chart{display:flex;gap:14px;height:166px;align-items:flex-end;padding:4px 1px 0}.chart-col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;height:100%;justify-content:flex-end}.bar-track{width:100%;display:flex;align-items:flex-end;justify-content:center;flex:1;border-bottom:1px solid var(--border);background:repeating-linear-gradient(to top,transparent 0,transparent calc(33.33% - 1px),var(--border) calc(33.33% - 1px),var(--border) 33.33%);border-radius:5px 5px 0 0}.bar{width:64%;max-width:68px;border-radius:5px 5px 0 0;background:#8ABFAF;min-height:8px;transition:height .3s ease}.bar.current{background:var(--primary)}.chart-col button{width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;padding:0}.chart-col button:hover .bar{filter:brightness(1.07)}.bar-label{font-size:11px;color:var(--muted);text-align:center;overflow-wrap:anywhere}.bar-num{font-size:11px;color:var(--muted);font-weight:650}.divider{height:1px;background:var(--border);margin:16px 0}.task-list{display:grid;gap:2px}.task-row{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border)}.task-row:last-child{border-bottom:0;padding-bottom:0}.check{width:20px;height:20px;flex-shrink:0;border:1.5px solid var(--border);border-radius:6px;background:var(--surface);display:grid;place-items:center;color:var(--primary-text);margin-top:2px}.check:hover{border-color:var(--primary)}.check.done{background:var(--primary-soft);border-color:var(--primary)}.check .icon{width:13px;height:13px}.task-main{flex:1;min-width:0;text-align:left;padding:0}.task-title{font-size:13px;font-weight:650;display:block;line-height:1.4}.task-main small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.task-row.completed .task-title{text-decoration:line-through;color:var(--muted)}.task-time{font-size:11px;font-weight:650;color:var(--muted);white-space:nowrap;margin-top:2px}.task-time.overdue{color:var(--danger)}.dash-bottom{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px}.activity-row{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--border)}.activity-row:last-child{border-bottom:0;padding-bottom:0}.activity-icon{width:31px;height:31px;border-radius:9px;background:var(--surface2);color:var(--muted);display:grid;place-items:center;flex-shrink:0}.activity-icon .icon{width:16px;height:16px}.activity-icon.green{background:var(--primary-soft);color:var(--primary-text)}.activity-icon.blue{background:var(--blue-soft);color:var(--blue)}.activity-icon.purple{background:var(--purple-soft);color:var(--purple)}.activity-main{min-width:0;flex:1}.activity-main strong{font-size:13px;font-weight:650;display:block;line-height:1.4}.activity-main span{color:var(--muted);font-size:12px;display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-when{white-space:nowrap;font-size:11px;color:var(--subtle);padding-top:1px}.upcoming-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--border);width:100%;text-align:left}.upcoming-row:last-child{border-bottom:0}.calendar-badge{width:37px;height:42px;border:1px solid var(--border);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}.calendar-badge small{font-size:9px;text-transform:uppercase;color:var(--muted);font-weight:700;line-height:1.2}.calendar-badge strong{font-size:17px;line-height:1.15}.upcoming-info{flex:1;min-width:0}.upcoming-info strong,.upcoming-info span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upcoming-info strong{font-size:13px}.upcoming-info span{font-size:12px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:650;line-height:1.2;white-space:nowrap;background:var(--surface2);color:var(--muted)}.badge.green{background:var(--primary-soft);color:var(--primary-text)}.badge.blue{background:var(--blue-soft);color:var(--blue)}.badge.amber{background:var(--amber-soft);color:var(--amber)}.badge.purple{background:var(--purple-soft);color:var(--purple)}.badge.red{background:var(--danger-soft);color:var(--danger)}.badge .dot{width:6px;height:6px;border-radius:50%;background:currentColor}.section-tabs{display:flex;gap:5px;border-bottom:1px solid var(--border);margin-bottom:15px;overflow:auto;scrollbar-width:none}.tab{padding:10px 12px;border-bottom:2px solid transparent;color:var(--muted);font-weight:600;font-size:13px;white-space:nowrap}.tab.active{color:var(--primary-text);border-color:var(--primary)}.tab:hover{color:var(--text)}.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border);flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.field-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);background:var(--surface);padding:0 10px;border-radius:8px;min-width:165px;color:var(--muted)}.field-search input{border:0;outline:none!important;background:transparent;font:inherit;font-size:13px;padding:9px 0;width:100%;color:var(--text)}.field-search .icon{width:16px;height:16px}.filter-select{max-width:160px;width:auto;font-size:13px;padding:8px 32px 8px 10px;min-height:37px;background-color:var(--surface);border-radius:8px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.data-table th{font-size:12px;font-weight:650;color:var(--muted);background:var(--surface2);padding:11px 14px;border-bottom:1px solid var(--border)}.data-table td{padding:13px 14px;font-size:13px;border-bottom:1px solid var(--border);vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background .12s}.data-table tbody tr:hover{background:var(--hover)}.data-table tbody tr[data-action]{cursor:pointer}.name-cell{display:flex;align-items:center;gap:10px}.name-cell strong{font-weight:680;display:block;font-size:13px}.name-cell small{display:block;color:var(--muted);font-size:12px}.tags{display:flex;gap:4px;flex-wrap:wrap}.tag{font-size:11px;font-weight:550;color:var(--muted);padding:3px 6px;border:1px solid var(--border);border-radius:6px}.table-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--border);padding:12px 16px;font-size:12px;color:var(--muted)}.table-footer .btn{font-size:12px;min-height:29px;padding:5px 9px}.empty{padding:40px 18px;text-align:center;color:var(--muted)}.empty .icon{margin:0 auto 10px;width:34px;height:34px;color:var(--subtle)}.empty strong{display:block;color:var(--text);font-size:15px;margin-bottom:3px}.empty p{margin:0 0 12px;font-size:13px}.grid-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.tile{padding:16px;display:flex;flex-direction:column;gap:10px;min-height:130px}.tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.tile h3{margin:0;font-size:15px;line-height:1.4}.tile p{margin:0;font-size:13px;color:var(--muted)}.tile-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto}.board{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;overflow-x:auto;padding-bottom:10px;align-items:start}.board-col{background:var(--surface2);border:1px solid var(--border);border-radius:12px;padding:10px;min-height:320px}.board-head{display:flex;align-items:center;justify-content:space-between;margin:2px 2px 10px}.board-head strong{font-size:13px}.board-head small{color:var(--muted);font-size:12px}.deal{display:block;text-align:left;margin-bottom:8px;padding:13px;width:100%;border:1px solid var(--border);background:var(--surface);border-radius:10px;box-shadow:var(--shadow);transition:transform .12s}.deal:hover{transform:translateY(-1px)}.deal strong{display:block;font-size:14px;line-height:1.4}.deal small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.deal-value{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-weight:700;font-size:14px}.deal-value .avatar{width:26px;height:26px;font-size:10px}.board-add{width:100%;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;border:1px dashed var(--border);border-radius:8px;padding:9px}.board-add:hover{background:var(--hover)}.task-panel{max-width:900px}.task-panel .task-row{padding:14px 16px;align-items:center}.task-panel .task-row .task-title{font-size:14px}.task-panel .task-row .task-time{font-size:12px}.task-panel .task-main small{font-size:12px}.task-group{color:var(--muted);font-weight:650;font-size:12px;padding:11px 16px;background:var(--surface2);border-bottom:1px solid var(--border)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.setting-row{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border)}.setting-row:last-child{border-bottom:0}.setting-row strong{font-size:13px;display:block}.setting-row span{font-size:12px;color:var(--muted);display:block}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.theme-choice{border:1px solid var(--border);padding:12px 8px;border-radius:10px;color:var(--muted);display:grid;justify-items:center;gap:7px;font-weight:650;font-size:13px}.theme-choice.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-text)}.theme-choice:hover{background:var(--hover)}.overlay{position:fixed;inset:0;background:#101b2460;z-index:20;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px);padding:16px;animation:fade .15s}.modal{width:min(520px,100%);max-height:90dvh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 18px 60px #0003;animation:modalIn .2s ease-out}.modal.wide{width:min(670px,100%)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 20px;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:19px;letter-spacing:-.35px}.modal-head p{font-size:13px;color:var(--muted);margin:3px 0 0}.modal-body{padding:18px 20px}.modal-footer{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.drawer{margin-left:auto;height:100dvh;width:min(530px,100%);background:var(--surface);box-shadow:-10px 0 50px #0002;overflow:auto;animation:slideIn .2s ease-out}.overlay.drawer-overlay{padding:0;align-items:stretch}.drawer .modal-head{position:sticky;top:0;z-index:2;background:var(--surface)}.contact-hero{display:flex;align-items:center;gap:13px;margin-bottom:17px}.contact-hero h2{font-size:22px;letter-spacing:-.5px;margin:0}.contact-hero p{margin:1px 0;color:var(--muted);font-size:13px}.contact-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0}.detail-grid label{color:var(--muted);font-size:12px;display:block}.detail-grid strong{font-weight:600;font-size:13px;overflow-wrap:anywhere}.drawer h3{font-size:15px;margin:18px 0 9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-field{display:flex;flex-direction:column;gap:5px;min-width:0}.form-field.full{grid-column:1/-1}.form-field label{font-size:13px;color:var(--text);font-weight:650}.form-field small{font-size:12px;color:var(--muted)}input:not([type=checkbox]):not([type=radio]),select,textarea{min-width:0;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:9px 11px;outline:none;font-size:14px}input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:var(--primary)}select{appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238795a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}textarea{min-height:100px;resize:vertical}.field-search input:not([type=checkbox]){padding:9px 0;border:0;background:transparent;font-size:13px}.form-note{padding:10px 12px;border-radius:8px;background:var(--primary-soft);color:var(--primary-text);font-size:12px;line-height:1.5;margin-top:10px;display:flex;gap:8px;align-items:flex-start}.form-note .icon{width:16px;height:16px;margin-top:1px}.toast{position:fixed;bottom:24px;right:24px;z-index:30;display:flex;align-items:center;gap:10px;pointer-events:none;background:var(--text);color:var(--surface);border-radius:10px;padding:12px 16px;box-shadow:0 9px 24px #0003;font-size:13px;font-weight:600;opacity:0;transform:translateY(10px);transition:opacity .18s,transform .18s;max-width:calc(100% - 48px)}.toast.show{opacity:1;transform:none}.toast .icon{color:#6fddbd;width:17px;height:17px}.mobile-nav,.mobile-menu,.mobile-brand{display:none}.search-results{display:grid;gap:4px;margin-top:12px}.search-result{width:100%;text-align:left;padding:10px;display:flex;align-items:center;gap:11px;border-radius:8px}.search-result:hover{background:var(--hover)}.search-result strong{display:block;font-size:13px}.search-result small{color:var(--muted);font-size:12px;display:block}.contact-row-main{cursor:pointer}.muted{color:var(--muted)}.stack{display:grid;gap:12px}.subheading{font-size:13px;color:var(--muted);margin:0 0 6px}.progress-track{height:8px;background:var(--surface2);border-radius:6px;overflow:hidden}.progress-track span{height:100%;background:var(--primary);display:block;border-radius:6px}.segment-card{width:100%;text-align:left}.segment-card:hover{outline:1px solid var(--primary)}.pill-count{font-size:12px;color:var(--muted)}.checkbox-label{font-size:13px;display:flex;gap:7px;align-items:center}.checkbox-label input{accent-color:var(--primary);width:16px;height:16px}.menu-list{display:grid;gap:5px}.menu-item{display:flex;align-items:center;gap:10px;text-align:left;border-radius:8px;padding:11px 10px;font-size:14px;font-weight:600}.menu-item:hover{background:var(--hover)}.menu-item .icon{color:var(--muted)}.email-preview{padding:15px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.email-preview strong{display:block;margin-bottom:7px}.report-bars{display:grid;gap:13px}.report-line{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px}.notice{padding:10px 12px;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:15px;background:var(--surface)}.notice .icon{color:var(--primary-text);width:17px;height:17px}
@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes modalIn{from{opacity:0;transform:translateY(9px) scale(.99)}to{opacity:1;transform:none}}@keyframes slideIn{from{transform:translateX(20px);opacity:.5}to{transform:none;opacity:1}}
@media(max-width:1100px){:root{--sidebar:210px}.content{padding:23px 22px}.topbar{padding:0 22px}.stats{gap:10px}.stat{padding:13px}.stat-value{font-size:25px}.dashboard-grid,.dash-bottom{gap:12px}.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){:root{--sidebar:76px}.sidebar{padding:19px 10px 12px;align-items:center}.brand{padding:0 0 23px}.brand-name,.workspace-main,.workspace>.icon,.nav-btn span:not(.nav-count),.nav-count,.profile-info,.profile>.icon,.demo-card{display:none!important}.workspace{margin-bottom:20px;padding:5px;border:0}.nav{width:100%;gap:7px}.nav-btn{justify-content:center;padding:12px}.sidebar-bottom{width:100%}.profile{justify-content:center;padding:12px 0 0}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dash-bottom{grid-template-columns:1fr 1fr}.search-trigger{min-width:auto}.search-trigger kbd{display:none}}
@media(max-width:660px){:root{--sidebar:0px}.app{display:block}.sidebar{display:none}.topbar{height:59px;padding:0 15px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:7px;font-weight:750;font-size:20px;letter-spacing:-.6px}.mobile-brand .brandmark{width:29px;height:29px;border-radius:9px}.mobile-brand .brandmark svg{width:21px;height:21px}.top-actions{gap:7px}.search-trigger{padding:0;width:36px;height:36px;justify-content:center;border-color:var(--border);background:var(--surface)}.search-trigger span{display:none}.top-actions .icon-btn{width:36px;height:36px}.top-actions>.btn.primary{font-size:0;padding:8px 10px;min-height:36px}.top-actions>.btn.primary .icon{width:20px;height:20px}.content{padding:20px 14px 95px}.page-header{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:17px}.page-header h1{font-size:25px;line-height:1.2}.page-header p{font-size:14px}.header-actions{width:100%}.date-pill{margin-right:auto}.stats{gap:9px;margin-bottom:12px}.stat{padding:12px}.stat-icon{width:29px;height:29px}.stat-icon .icon{width:16px;height:16px}.stat-label{font-size:12px}.stat-value{font-size:24px;margin:8px 0 4px}.stat-caption{font-size:11px;gap:4px;flex-wrap:wrap}.dashboard-grid,.dash-bottom,.settings-grid{grid-template-columns:1fr;gap:12px;margin-bottom:12px}.card-pad{padding:15px}.card-head{margin-bottom:12px}.chart{height:145px}.grid-cards{grid-template-columns:1fr}.mobile-nav{position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(5,1fr);z-index:8;padding:6px 3px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -3px 18px #00000008}.mobile-nav button{display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;font-weight:650;color:var(--muted);padding:6px 2px;border-radius:8px}.mobile-nav .icon{width:21px;height:21px}.mobile-nav button.active{color:var(--primary-text);background:var(--primary-soft)}.toolbar{padding:11px;gap:8px}.toolbar-left,.toolbar-right{width:100%;gap:7px}.field-search{flex:1;min-width:115px}.filter-select{max-width:145px}.table-footer{font-size:11px;padding:10px}.data-table th,.data-table td{padding:11px}.data-table .hide-mobile{display:none}.data-table .name-cell .avatar{width:30px;height:30px}.data-table .name-cell small{font-size:11px;max-width:160px;overflow:hidden;text-overflow:ellipsis}.form-grid{grid-template-columns:1fr}.modal{max-height:92dvh}.modal-head,.modal-body{padding:15px}.modal-footer{padding:12px 15px}.drawer{width:100%}.toast{bottom:82px;right:14px;max-width:calc(100% - 28px)}.board{grid-template-columns:repeat(4,240px)}.contact-hero h2{font-size:21px}.task-row .task-time{font-size:10px}.task-panel .task-row{padding:12px}.task-panel .task-row .task-title{font-size:13px}.task-panel .task-row .task-time{font-size:11px}.activity-when{font-size:10px}.modal input,.modal select,.modal textarea{font-size:16px} }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}.sort-label{padding:0;display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:650}.sort-label:hover{color:var(--text)}.board{grid-template-columns:repeat(5,minmax(205px,1fr))}.data-table input[type=checkbox]{accent-color:var(--primary);width:15px;height:15px;cursor:pointer}.data-table td:first-child,.data-table th:first-child{width:42px}.card-head h2{font-size:17px}.data-table td,.name-cell strong,.task-title,.activity-main strong,.upcoming-info strong{font-size:14px}.stat-label{font-size:14px}.btn,.tab,.filter-select{font-size:14px}.field-search input:not([type=checkbox]){font-size:14px}.page-header p{font-size:15px}.badge{font-size:12px}.task-time,.activity-when,.stat-caption{font-size:12px}.modal-body .form-note{line-height:1.55}body{font-size:16px}.form-field label{font-size:14px}.board-col{min-width:0}.board-col:has(.deal:hover){border-color:color-mix(in srgb,var(--primary) 30%,var(--border))}.data-table .icon-btn{width:32px;height:32px}.data-table td:last-child{width:44px}.name-cell{min-width:0}.name-cell>div{min-width:0}.card,.stat{box-shadow:0 2px 5px #172c3c06}@media(max-width:660px){.board{grid-template-columns:repeat(5,240px)}.data-table .name-cell small{max-width:130px}.data-table td,.data-table th{padding:10px 8px}.data-table td:first-child,.data-table th:first-child{width:30px}.data-table .name-cell{gap:6px}.data-table .name-cell .avatar{width:29px;height:29px}.data-table .badge{font-size:11px}.data-table .icon-btn{width:29px;height:29px}.toolbar-right .btn{font-size:12px}.stat-label{font-size:12px}.stat-caption{font-size:11px}.btn{font-size:13px;min-height:40px}.mobile-nav button{min-height:46px;font-size:11px}.modal-body .form-field{gap:6px}.page-header p{font-size:14px}.email-preview{font-size:14px}.task-title{font-size:13px}.activity-when,.task-time{font-size:11px}.top-actions>.btn.primary{font-size:0;min-height:36px}}
@media(min-width:901px){.stats:has(.stat:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.stats:has(.stat:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.board{grid-template-columns:repeat(5,minmax(184px,1fr))}}.contact-name{max-width:100%;overflow:hidden;text-overflow:ellipsis}.contact-name strong{overflow:hidden;text-overflow:ellipsis}.board-col .board-head{gap:5px}.board-head .icon-btn{width:28px;height:28px}.board{scroll-snap-type:x proximity}.board-col{scroll-snap-align:start}.board-col .deal:last-of-type{margin-bottom:8px}.sidebar .nav-btn{font-size:14px}.topbar .btn{min-height:38px}@media(max-width:660px){.contacts-card .table-wrap,.email-card .table-wrap{overflow:visible}.contacts-card .data-table,.contacts-card .data-table tbody,.contacts-card .data-table thead,.email-card .data-table,.email-card .data-table tbody,.email-card .data-table thead{display:block;width:100%}.contacts-card .data-table tr{display:grid;grid-template-columns:22px minmax(0,1fr) 70px 30px;align-items:center;gap:7px;padding:10px 10px;border-bottom:1px solid var(--border)}.email-card .data-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;align-items:center;gap:7px;padding:10px 8px;border-bottom:1px solid var(--border)}.contacts-card .data-table th,.contacts-card .data-table td,.email-card .data-table th,.email-card .data-table td{width:auto;border:0;padding:0;min-width:0;white-space:normal}.contacts-card .data-table tr:last-child,.email-card .data-table tr:last-child{border-bottom:0}.contacts-card .data-table .name-cell small,.email-card .data-table .name-cell small{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.contacts-card .data-table .name-cell strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-card .data-table .name-cell strong{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.email-card .data-table .activity-icon{display:none}.mobile-nav button.active{font-weight:750}.toolbar-right .btn{flex:1}.page-header .header-actions .btn{flex:1}.board .board-col{min-height:290px}.stat-value{font-size:23px}.stats:has(.stat:nth-child(3):last-child) .stat:last-child{grid-column:1/-1}}
/* Audience-first navigation and dashboard */
:root{--sidebar:214px}.sidebar{padding-top:25px}.brand{padding-bottom:39px}.sidebar .nav{gap:6px}.sidebar .nav-btn{min-height:44px}.topbar{gap:24px}.global-search{flex:1;max-width:650px;min-width:0;height:41px;font-size:14px;padding:0 13px}.global-search .icon{width:19px;height:19px}.global-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search kbd{font-size:12px;white-space:nowrap}.top-actions{margin-left:auto}.email-metrics{display:grid;gap:12px}.metric-row{display:flex;align-items:center;gap:11px}.metric-row>div{flex:1;min-width:0}.metric-row>div>strong{font-size:14px;display:block;margin-bottom:5px}.metric-row>b{font-size:16px;min-width:22px;text-align:right}.metric-row .progress-track{height:6px}.metric-footer{margin-top:17px;padding-top:13px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--muted)}.metric-footer strong{color:var(--text);font-size:15px;margin-left:5px}.activity-button{width:100%;text-align:left;align-items:center;background:none;border-radius:0}.activity-button:hover{background:var(--hover)}.source-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.sources-card{margin-top:16px}.source-item{border:1px solid var(--border);border-radius:10px;text-align:left;padding:12px;transition:background .15s;display:grid;gap:5px}.source-item:hover{background:var(--hover)}.source-item span{font-size:13px;color:var(--muted)}.source-item strong{font-size:21px}.source-item .progress-track{height:5px}.source-label{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--muted)}.source-label .icon{width:14px;height:14px}.contact-tools .toolbar-left{flex:1}.contact-tools .field-search{max-width:230px;min-width:150px}.contact-tools .filter-select{max-width:150px}.data-table .name-cell small{max-width:235px;overflow:hidden;text-overflow:ellipsis}.data-table input[type=checkbox],.checkbox-label input[type=checkbox],input[type=checkbox]{appearance:none;-webkit-appearance:none;width:19px;height:19px;display:inline-grid;place-items:center;position:relative;background:var(--surface);border:1.5px solid color-mix(in srgb,var(--muted) 34%,var(--border));border-radius:6px;vertical-align:middle;flex-shrink:0;margin:0;cursor:pointer;transition:background .15s,border-color .15s,transform .15s;color:var(--surface)}input[type=checkbox]:hover{border-color:var(--primary)}input[type=checkbox]:checked{background:var(--primary);border-color:var(--primary);color:white}html[data-theme=dark] input[type=checkbox]:checked{color:#10241e}input[type=checkbox]:checked::after{content:'';width:9px;height:5px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translate(1px,-1px)}input[type=checkbox]:indeterminate::after{content:'';width:9px;height:2px;background:currentColor}input[type=checkbox]:active{transform:scale(.93)}.contact-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 17px}.contact-mini-stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.contact-mini-stats>div{background:var(--surface2);border-radius:10px;padding:12px;text-align:center}.contact-mini-stats b{display:block;font-size:23px;letter-spacing:-.6px;line-height:1.2}.contact-mini-stats span{font-size:12px;color:var(--muted)}.timeline-row{display:flex;gap:12px;position:relative;padding:0 0 19px}.timeline-row:not(:last-child)::before{content:'';position:absolute;left:16px;top:32px;bottom:0;width:1px;background:var(--border)}.timeline-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--primary-soft);color:var(--primary-text);border-radius:50%;flex-shrink:0;position:relative}.timeline-icon.blue{color:var(--blue);background:var(--blue-soft)}.timeline-icon.purple{color:var(--purple);background:var(--purple-soft)}.timeline-icon .icon{width:17px;height:17px}.timeline-main{flex:1;min-width:0;padding-top:3px}.timeline-title{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.timeline-title strong{font-size:14px}.timeline-title span{font-size:12px;color:var(--muted);white-space:nowrap}.timeline-sub{padding:0;font-size:14px;color:var(--primary-text);text-align:left;font-weight:650;overflow-wrap:anywhere}.timeline-sub:disabled{opacity:1;color:var(--text);cursor:default}.timeline-main p{font-size:13px;color:var(--muted);margin:3px 0 0;overflow-wrap:anywhere}.connection-summary{display:flex;align-items:center;gap:16px;margin-bottom:20px}.connection-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--primary-soft);color:var(--primary-text);flex-shrink:0}.connection-icon .icon{width:27px;height:27px}.connection-summary>div:nth-child(2){flex:1}.connection-summary h2{font-size:17px;margin:0 0 3px}.connection-summary p{font-size:14px;color:var(--muted);margin:0;max-width:660px}.forms-grid{margin-bottom:22px}.form-tile-meta{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--muted)}.form-tile-meta strong{font-size:14px;color:var(--text)}.form-tile .tile-bottom{margin-top:12px;gap:6px}.form-tile .tile-bottom .btn{font-size:12px}.submissions-card .card-head{margin:0}.mapping-panel{padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);margin:7px 0}.mapping-panel strong{font-size:14px}.mapping-panel p{font-size:13px;color:var(--muted);margin:3px 0 9px}.mapping-panel>div{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--border);font-size:13px}.mapping-panel>div:last-child{border:0}.mapping-key,.mapping-panel code{font-family:ui-monospace,monospace;color:var(--primary-text);font-size:12px;overflow-wrap:anywhere}.mapping-panel code{display:block;margin:8px 0}.guide-steps{display:grid;gap:15px;margin-bottom:16px}.guide-steps>div{display:flex;gap:12px}.guide-steps>div>span{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary-text);font-weight:750;flex-shrink:0}.guide-steps strong{display:block;font-size:14px}.guide-steps p{margin:3px 0 0;color:var(--muted);font-size:14px}.command-modal{width:min(760px,100%);align-self:flex-start;margin-top:9vh}.command-modal .modal-head{padding-bottom:11px}.command-modal .modal-body{padding:14px}.command-input{display:flex;align-items:center;gap:12px;border:1px solid var(--border);background:var(--surface2);padding:0 12px;border-radius:10px;min-height:54px;color:var(--muted)}.command-input input:not([type=checkbox]){width:100%;border:0;background:transparent;padding:14px 0;font-size:16px;outline:none}.command-input kbd{font-size:12px;border:1px solid var(--border);border-radius:5px;padding:3px 6px}.command-results{margin-top:10px;max-height:55vh;overflow:auto}.command-group-title{font-size:12px;color:var(--muted);font-weight:700;padding:8px 10px 5px}.command-item{gap:11px}.command-item>div{flex:1;min-width:0}.command-item>div>strong{font-size:14px}.command-item>.icon{color:var(--subtle)}.command-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--surface2);color:var(--muted);flex-shrink:0}.command-icon .icon{width:18px;height:18px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{overflow:hidden;display:flex;flex-direction:column}.template-thumbnail{display:flex;width:100%;height:180px;padding:20px 22px 0;align-items:flex-start;justify-content:center;overflow:hidden;background:linear-gradient(135deg,var(--surface2),var(--primary-soft));border-bottom:1px solid var(--border)}.template-mini{width:100%;max-width:240px;min-height:220px;background:#fff;border:1px solid #dce5e2;border-radius:8px;padding:16px;box-shadow:0 4px 16px #18342f14;overflow:hidden;text-align:left;color:#233630;transform:translateY(0);transition:transform .15s}.template-thumbnail:hover .template-mini{transform:translateY(-4px)}.template-mini strong{font-size:16px;line-height:1.25;display:block;margin-bottom:9px}.template-mini p{font-size:10px;line-height:1.5;max-height:65px;overflow:hidden;white-space:pre-line;color:#53635f;margin:0 0 11px}.template-mini span{display:inline-block;color:#fff;background:#14685C;padding:5px 9px;font-size:10px;border-radius:4px}.template-mini hr{border:0;border-top:1px solid #ddd}.mini-placeholder{height:35px;background:#e9eeec;text-align:center;font-size:10px;padding:9px}.template-meta{padding:15px;display:flex;flex-direction:column;gap:14px;flex:1}.template-meta h3{font-size:15px;margin:0;line-height:1.4}.template-meta p{font-size:13px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.template-new{min-height:250px;display:grid;place-content:center;justify-items:center;gap:8px;border-style:dashed;color:var(--text);text-align:center}.template-new:hover{background:var(--hover);border-color:var(--primary)}.template-new h3,.template-new p{margin:0;font-size:15px}.template-new p{font-size:13px;color:var(--muted)}.builder-modal{width:min(1120px,100%)!important;max-height:94dvh}.builder-modal .modal-body{padding:16px}.builder-modal .modal-head{position:sticky;top:0;background:var(--surface);z-index:3}.builder-top{display:grid;grid-template-columns:1fr 1.2fr 118px;gap:12px;padding:0 0 16px}.builder-color input{width:100%;height:42px;padding:4px!important}.builder-layout{display:grid;grid-template-columns:182px minmax(260px,1fr) 225px;gap:12px;min-height:390px;align-items:start}.builder-palette,.builder-inspector{background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:12px}.builder-label{font-weight:750;font-size:14px}.builder-palette p,.builder-inspector p{font-size:12px;line-height:1.5;margin:4px 0 12px;color:var(--muted)}.block-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.block-tile{min-height:67px;display:grid;justify-items:center;place-content:center;gap:5px;border:1px solid var(--border);background:var(--surface);border-radius:8px;color:var(--muted);cursor:grab;font-size:12px;font-weight:650}.block-tile:hover{border-color:var(--primary);color:var(--primary-text)}.block-tile:active{cursor:grabbing}.token-list{display:grid;gap:6px}.token{background:var(--surface);border:1px solid var(--border);padding:5px;border-radius:5px;color:var(--primary-text);font-size:11px;text-align:left;overflow-wrap:anywhere}.token:hover{border-color:var(--primary)}.builder-canvas-region{min-width:0;background:var(--surface2);border:1px solid var(--border);border-radius:10px;overflow:hidden}.builder-canvas-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;border-bottom:1px solid var(--border);font-size:13px}.builder-canvas-head span{font-size:12px;color:var(--muted)}.builder-canvas{padding:13px;min-height:360px}.canvas-paper{background:#fff;padding:18px 13px 13px;border:1px solid #dce5e2;border-radius:9px;min-height:330px;color:#203831;box-shadow:0 3px 12px #00000008}.canvas-block{border:1px dashed transparent;position:relative;padding:10px 9px;border-radius:5px;cursor:grab;min-height:36px}.canvas-block:hover{border-color:#b3c8c0}.canvas-block.selected{border:1px solid #289e86;background:#f6fffc}.canvas-block h2{font:700 22px/1.3 Arial,sans-serif;color:#18342f;margin:0;overflow-wrap:anywhere}.canvas-block p{font:14px/1.6 Arial,sans-serif;color:#334155;margin:0;overflow-wrap:anywhere}.canvas-button{display:inline-block;color:#fff;padding:9px 15px;border-radius:5px;font:700 13px Arial}.canvas-image{display:block;max-width:100%;height:auto}.canvas-image-placeholder{display:grid;justify-items:center;gap:5px;background:#eef3f1;border-radius:4px;padding:20px;color:#63736b;font-size:12px}.canvas-block hr{border:0;border-top:1px solid #d5dfdb}.block-handle{position:absolute;right:3px;top:2px;opacity:.35;color:#36514a}.block-actions{display:none;position:absolute;top:-16px;right:2px;z-index:1;background:#14685C;color:white;border-radius:5px;padding:1px;box-shadow:0 2px 6px #0002}.canvas-block.selected .block-actions,.canvas-block:hover .block-actions{display:flex}.block-actions button{display:grid;place-items:center;width:26px;height:25px;color:inherit;font-size:15px}.block-actions button:hover{background:#ffffff24;border-radius:4px}.drop-zone{height:7px;transition:height .15s,background .15s}.drop-zone.drag-over{height:26px;border:2px dashed #289e86;background:#e2f9f2;border-radius:5px}.last-drop{height:auto;min-height:45px;border:1px dashed #b3c8c0;border-radius:6px;color:#789088;text-align:center;font-size:11px;padding:12px 4px;margin-top:12px}.last-drop.drag-over{height:auto;min-height:45px}.inspector-title{font-weight:650;font-size:14px;margin:10px 0 14px}.builder-inspector .form-field{margin:8px 0 12px}.builder-inspector textarea{min-height:86px;width:100%;font-size:13px}.builder-inspector input{width:100%;font-size:13px}.inspector-actions{margin-top:15px}.inspector-actions .btn{width:100%;font-size:12px}.email-frame{width:100%;border:1px solid var(--border);border-radius:8px;background:#f1f5f4;display:block;min-height:260px;color-scheme:light}.compose-frame{height:265px}.detail-frame{height:350px}.full-preview{height:470px;transition:width .2s;margin:auto}.full-preview.mobile-preview{max-width:365px}.preview-switch{display:flex;justify-content:center;gap:8px;margin-bottom:12px}.selected-template{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:8px}.selected-template>.icon{color:var(--primary-text)}.selected-template>div{flex:1;min-width:0}.selected-template strong,.selected-template span{display:block}.selected-template strong{font-size:14px}.selected-template span{font-size:12px;color:var(--muted)}
@media(max-width:1100px){:root{--sidebar:190px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.builder-layout{grid-template-columns:155px minmax(230px,1fr) 195px}.builder-top{grid-template-columns:1fr 1fr 100px}.contact-tools .toolbar-left{flex-wrap:wrap}}@media(max-width:900px){:root{--sidebar:76px}.sidebar .brand{padding-bottom:35px}.global-search{max-width:none;height:39px}.global-search kbd{display:none}.topbar{gap:12px}.builder-layout{grid-template-columns:150px minmax(0,1fr)}.builder-inspector{grid-column:1/-1}.builder-inspector #block-inspector{display:grid;grid-template-columns:1fr 1fr;gap:10px}.builder-inspector .inspector-title{grid-column:1/-1;margin:0}.builder-inspector .inspector-actions{grid-column:1/-1;margin:0}.builder-inspector .inspector-actions .btn{width:auto}.builder-inspector .form-field{margin:0}.builder-inspector .form-field:first-of-type:last-of-type{grid-column:1/-1}.forms-grid{grid-template-columns:1fr 1fr}}@media(max-width:660px){:root{--sidebar:0px}.topbar{gap:8px}.mobile-brand{font-size:0}.mobile-brand .brandmark{width:32px;height:32px}.global-search{display:flex;flex:1;min-width:0;max-width:100%;width:auto;justify-content:flex-start;padding:0 9px;height:37px}.global-search span{display:block;font-size:12px}.global-search .icon{width:17px;height:17px}.top-actions{gap:6px;margin:0}.topbar .btn{min-height:37px}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sources-card{margin-top:12px}.source-item{padding:10px}.source-item span{font-size:12px}.connection-summary{align-items:flex-start;flex-wrap:wrap;padding:15px;gap:10px}.connection-summary>div:nth-child(2){min-width:180px}.connection-summary>.btn{width:100%}.connection-summary p{font-size:13px}.forms-grid,.template-grid{grid-template-columns:1fr}.form-tile .tile-bottom .btn{flex:1}.template-thumbnail{height:175px}.template-new{min-height:160px}.contact-tools .toolbar-left{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}.contact-tools .field-search{grid-column:1/-1;min-width:0;max-width:none}.contact-tools .filter-select{max-width:none;width:100%;font-size:12px}.contact-tools .btn{font-size:12px}.contacts-card .data-table tr{grid-template-columns:21px minmax(0,1fr) 90px 28px;gap:5px;padding:12px 8px}.contacts-card .data-table td:nth-child(4){padding:0}.contacts-card .badge{font-size:10px;padding:5px 5px;white-space:normal;text-align:center}.contacts-card .data-table .avatar{display:none}.contact-mini-stats b{font-size:20px}.contact-mini-stats>div{padding:10px 5px}.contact-mini-stats span{font-size:11px}.timeline-title span{font-size:11px}.timeline-title strong{font-size:13px}.timeline-sub{font-size:13px}.timeline-main p{font-size:12px}.timeline-icon{width:31px;height:31px}.timeline-row:not(:last-child)::before{left:15px}.command-modal{margin-top:3vh}.command-input{gap:8px}.command-input input:not([type=checkbox]){font-size:14px}.command-item{padding:9px 6px}.builder-modal{max-height:95dvh}.builder-modal .modal-body{padding:12px}.builder-top{grid-template-columns:1fr 75px;gap:8px}.builder-top>.form-field:nth-child(1){grid-column:1/-1}.builder-layout{grid-template-columns:1fr;gap:10px}.builder-palette{padding:10px}.block-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.block-tile{min-height:48px;display:flex;justify-content:center;align-items:center;gap:5px;font-size:12px}.block-tile .icon{width:16px;height:16px}.builder-palette .builder-label:nth-of-type(2){margin-top:10px!important}.token-list{display:flex;flex-wrap:wrap}.token{font-size:10px}.builder-palette p{margin:2px 0 6px}.builder-canvas{padding:8px;min-height:220px}.canvas-paper{min-height:200px}.builder-inspector #block-inspector{display:block}.builder-inspector .form-field{margin:8px 0}.builder-modal .modal-footer{position:sticky;bottom:0;background:var(--surface);z-index:3;display:grid;grid-template-columns:1fr 1fr}.builder-modal .modal-footer .btn{font-size:12px}.builder-modal .modal-head p{font-size:12px}.full-preview{height:390px}.email-frame{min-height:200px}.detail-frame{height:310px}.selected-template .btn{font-size:12px}.submissions-card .data-table .name-cell small{max-width:145px}.submissions-card .data-table td{font-size:12px}.submissions-card .data-table .avatar{display:none}.submissions-card .table-wrap{overflow:auto}.submissions-card .data-table td,.submissions-card .data-table th{padding:10px 8px}.submissions-card .data-table{min-width:400px}.badge{line-height:1.3}}
.timeline-sub.static{color:var(--text);display:block}.data-table input[type=checkbox]:indeterminate{background:var(--primary);border-color:var(--primary);color:var(--surface)}.builder-modal .modal-footer>.danger{margin-right:auto}.builder-modal .modal-footer{gap:7px}@media(max-width:660px){.builder-modal .modal-footer>.danger{margin:0}.builder-modal .modal-footer>.primary{grid-column:auto}.builder-modal .modal-footer .btn{white-space:normal}.builder-modal .modal-footer{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-value{font-size:24px}.chart.growth-chart{gap:7px}.growth-chart .bar-label{font-size:10px}}
/* Command dropdown: one entry point for navigation, search and creation. */
.topbar{display:grid;grid-template-columns:minmax(95px,1fr) minmax(0,760px) minmax(95px,1fr);gap:16px;overflow:visible;height:68px;z-index:10}.breadcrumb{grid-column:1;min-width:0}.search-shell{grid-column:2;position:relative;width:100%;min-width:0;align-self:center}.search-field{display:flex;align-items:center;gap:10px;background:var(--surface2);border:1px solid var(--border);border-radius:10px;min-height:42px;padding:0 12px;color:var(--muted);transition:border-color .15s,box-shadow .15s,background .15s;cursor:text}.search-field>.icon{width:19px;height:19px}.search-field:hover{border-color:color-mix(in srgb,var(--muted) 38%,var(--border))}.search-shell.open .search-field{border-color:var(--primary);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}.search-field input[type=search]{flex:1;width:100%;min-width:0;border:0;padding:10px 0;background:transparent;font-size:14px;line-height:20px;outline:0!important;color:var(--text)}.search-field input[type=search]::-webkit-search-cancel-button{display:none}.search-field input::placeholder{color:var(--muted);opacity:1}.search-field kbd,.command-foot kbd{font:600 11px/1.3 ui-sans-serif,system-ui,sans-serif;color:var(--muted);white-space:nowrap;padding:3px 5px;border:1px solid var(--border);background:var(--surface);border-radius:5px}.search-clear{width:26px;height:26px;border-radius:6px;margin-right:-4px}.search-clear .icon{width:15px;height:15px}.search-dropdown{position:absolute;top:calc(100% + 9px);left:0;right:0;border:1px solid var(--border);background:var(--surface);border-radius:14px;box-shadow:0 16px 40px #18342f20,0 3px 9px #1827350e;z-index:11;overflow:hidden;animation:dropdown-in .14s ease-out;transform-origin:top}.search-dropdown .command-results{margin:0;padding:9px;max-height:min(56dvh,455px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.command-group{margin-bottom:7px}.command-group:last-child{margin-bottom:0}.command-group-title{font-size:12px;letter-spacing:.035em;font-weight:700;padding:8px 10px 5px}.quick-action-group .command-group-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}.command-item{min-height:45px;color:var(--text);cursor:pointer;gap:9px;display:flex;align-items:center;padding:7px 9px;border-radius:8px}.command-item>div{flex:1;min-width:0}.command-item strong,.command-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-item strong{font-size:14px;font-weight:650}.command-item small{font-size:12px}.command-icon{width:32px;height:32px;border:1px solid var(--border);border-radius:8px;background:var(--surface2)}.command-icon .icon{width:17px;height:17px}.command-item:hover,.command-item.keyboard-active{background:var(--primary-soft);color:var(--primary-text)}.command-item:hover .command-icon,.command-item.keyboard-active .command-icon{background:var(--surface);color:var(--primary-text);border-color:color-mix(in srgb,var(--primary) 26%,var(--border))}.command-item:active{transform:scale(.99)}.command-foot{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);background:var(--surface2);font-size:12px;color:var(--muted)}.command-keys{white-space:nowrap;display:flex;gap:6px;align-items:center;font-size:14px}.command-foot kbd{background:var(--surface)}.search-dropdown .empty{padding:25px 12px}.search-dropdown .empty strong{font-size:15px}.search-dropdown .empty p{margin-bottom:0}.search-dropdown .empty .icon{width:26px;height:26px}@keyframes dropdown-in{from{opacity:0;transform:translateY(-4px) scale(.995)}to{opacity:1;transform:none}}
/* A consistent leading icon on labelled controls. */
.btn{gap:7px}.btn span{line-height:1.3}.btn .icon{width:17px;height:17px;flex-shrink:0}.btn.link .icon{width:15px;height:15px}.tab{display:flex;align-items:center;gap:7px;flex-shrink:0}.tab .icon{width:16px;height:16px}.tab.active .icon{color:var(--primary-text)}.stat-top{justify-content:flex-start;gap:10px}.stat-label{min-width:0;line-height:1.3}.stat-icon{flex-shrink:0}.source-caption{display:flex;gap:6px;align-items:center;min-width:0}.source-caption>.icon{width:15px;height:15px;flex-shrink:0}.theme-choice{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-height:49px}.theme-choice .icon{width:19px;height:19px}.token{display:flex;align-items:center;gap:5px;line-height:1.4}.token .icon{width:12px;height:12px}.block-tile{gap:6px}.preview-switch .selected-size{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-text)}.sort-label{gap:6px}.block-actions .icon{width:16px;height:16px}.mobile-nav button .icon{flex-shrink:0}.btn.danger:hover{background:var(--danger-soft)}
/* Dialogs use independent content scrolling and a stable action bar. */
.overlay>.modal,.overlay>.drawer{display:flex;flex-direction:column;overflow:hidden;min-height:0}.overlay>.modal{max-height:90dvh}.overlay>.drawer{max-height:100dvh}.sheet-grip{display:none}.modal-head{flex:0 0 auto;position:relative!important;top:auto!important;min-width:0;z-index:2;background:var(--surface)}.modal-head>div{min-width:0}.modal-head h2{overflow-wrap:anywhere}.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.modal-footer{flex:0 0 auto;position:relative!important;bottom:auto!important;z-index:2;background:var(--surface);gap:8px}.modal-body:empty{display:none}.drawer .modal-body{padding-top:20px}.drawer .contact-hero{margin-bottom:15px}.drawer .modal-footer{justify-content:space-between}.drawer .modal-footer .btn{flex:1}.builder-modal{max-height:94dvh!important}.builder-modal .modal-head{position:relative!important}.builder-modal .modal-footer{position:relative!important}.drawer .modal-footer .btn.primary{flex:1.2}.toast{z-index:35}.overlay .modal .form-field input,.overlay .modal .form-field textarea,.overlay .drawer .form-field input,.overlay .drawer .form-field textarea{max-width:100%}
@keyframes sheet-in{from{transform:translateY(36px);opacity:.55}to{transform:translateY(0);opacity:1}}
@media(max-width:1100px){.topbar{grid-template-columns:minmax(90px,auto) minmax(0,1fr);padding-right:22px;gap:18px}.search-shell{grid-column:2;max-width:760px}.stat-top{gap:7px}.stat-label{font-size:13px}.theme-choice{flex-direction:column;gap:5px}}
@media(max-width:900px){.topbar{grid-template-columns:max-content minmax(0,1fr);gap:16px}.search-shell{max-width:none}.search-field{min-height:40px}.theme-choice{flex-direction:row}}
@media(max-width:660px){.topbar{grid-template-columns:32px minmax(0,1fr);height:60px;gap:10px;padding:0 14px;align-items:center}.mobile-brand{grid-column:1}.breadcrumb{display:none}.search-shell{grid-column:2;position:static}.search-field{min-height:38px;padding:0 10px;gap:7px;border-radius:9px}.search-field input[type=search]{font-size:16px;padding:8px 0;line-height:20px}.search-field>.icon{width:17px;height:17px}.search-field>kbd{display:none}.search-dropdown{top:calc(100% + 4px);left:9px;right:9px;border-radius:12px;max-height:calc(100dvh - 75px)}.search-dropdown .command-results{max-height:calc(100dvh - 135px);padding:7px}.quick-action-group .command-group-items{grid-template-columns:1fr 1fr;gap:2px}.command-item{min-height:47px;padding:7px 5px;gap:7px}.command-item strong{font-size:13px;white-space:normal;line-height:1.25}.command-item small{font-size:11px}.command-icon{width:29px;height:29px}.command-icon .icon{width:16px;height:16px}.command-foot{font-size:11px;padding:9px 13px}.command-keys{display:none}.stat-top{gap:7px;align-items:center}.stat-label{font-size:12px;line-height:1.25}.stat-icon{width:27px;height:27px}.stat-icon .icon{width:16px;height:16px}.tab{padding:10px 9px;gap:5px;font-size:13px}.tab .icon{width:15px;height:15px}.section-tabs{gap:0}.btn .icon{width:16px;height:16px}.theme-choice{flex-direction:column;gap:5px}.source-caption{gap:5px}.source-caption>.icon{width:13px;height:13px}.overlay,.overlay.drawer-overlay{align-items:flex-end;justify-content:center;padding:0;backdrop-filter:blur(1px)}.overlay>.modal,.overlay>.drawer,.overlay>.modal.wide,.overlay>.modal.builder-modal{width:100%!important;max-width:none;height:auto;max-height:94dvh!important;margin:0;border:1px solid var(--border);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -8px 40px #0002;animation:sheet-in .22s cubic-bezier(.2,.75,.25,1);overflow:hidden}.overlay>.drawer{min-height:70dvh}.sheet-grip{display:block;flex-shrink:0;width:36px;height:4px;border-radius:10px;background:color-mix(in srgb,var(--muted) 45%,transparent);margin:9px auto 0}.modal-head{padding:11px 16px 14px;align-items:flex-start;position:relative!important}.modal-head h2{font-size:19px}.modal-head p{font-size:13px;line-height:1.45}.modal-head .icon-btn{width:36px;height:36px}.modal-body{padding:16px;overflow-y:auto;min-height:0}.modal-footer,.builder-modal .modal-footer{padding:11px 14px calc(11px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;align-items:stretch;justify-content:stretch;gap:8px;border-top:1px solid var(--border);position:relative!important;bottom:auto!important}.modal-footer>.btn{flex:1;min-height:44px;font-size:14px;min-width:0;white-space:normal;line-height:1.25}.modal-footer>.btn.primary{flex:1.25}.modal-footer:has(> .btn:nth-child(4)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.modal-footer:has(> .btn:nth-child(5)){grid-template-columns:repeat(6,minmax(0,1fr))}.modal-footer:has(> .btn:nth-child(5))>.btn{grid-column:span 2;font-size:12px}.modal-footer:has(> .btn:nth-child(5))>.btn:nth-last-child(-n+2){grid-column:span 3;font-size:14px}.modal-footer>.btn.danger{margin:0}.drawer .modal-body{padding:16px}.drawer .modal-footer{padding:11px 14px calc(11px + env(safe-area-inset-bottom))}.drawer .modal-footer>.btn{font-size:13px}.modal-body input:not([type=hidden]):not([type=checkbox]):not([type=color]),.modal-body textarea,.modal-body select{font-size:16px}.builder-modal .modal-body{padding:12px}.builder-modal .modal-footer .btn{white-space:normal}.builder-modal .modal-footer .btn .icon{width:16px;height:16px}.builder-inspector #block-inspector input,.builder-inspector #block-inspector textarea{font-size:16px}.builder-top .form-field input{font-size:16px}.modal .full-preview{height:340px}.toast{bottom:calc(76px + env(safe-area-inset-bottom))}.overlay:has(.builder-modal)~.toast{bottom:110px}.source-grid{gap:8px}}
.active-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 16px;border-bottom:1px solid var(--border)}.active-filter-label{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:650;margin-right:2px}.active-filter-label .icon{width:14px;height:14px}.filter-chip{min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid color-mix(in srgb,var(--primary) 20%,var(--border));border-radius:7px;background:var(--primary-soft);color:var(--primary-text);font-size:12px;font-weight:650}.filter-chip:hover{border-color:var(--primary)}.filter-chip .icon{width:13px;height:13px}.active-filters .btn.link{margin-left:auto;font-size:12px}.touch-hint,.mobile-builder-back{display:none!important}.builder-inspector .form-field textarea{resize:vertical}.builder-top .builder-color label{white-space:nowrap}.builder-canvas-head .touch-hint{color:var(--muted);font-size:12px}.builder-modal .modal-body{scroll-padding-top:12px}.contact-name:hover,.timeline-sub:not(.static):hover{text-decoration:underline;text-underline-offset:3px}.activity-button .activity-main{min-width:0}.activity-button .activity-main strong{overflow-wrap:anywhere}
@media(max-width:660px){.active-filters{padding:10px 11px;gap:6px}.active-filter-label{font-size:12px}.filter-chip{min-height:33px}.active-filters .btn.link{min-height:33px;margin-left:0}.contact-tools .filter-select{font-size:13px;min-height:41px}.toolbar-right .btn{font-size:13px;min-height:41px}.contacts-card .data-table .sort-label{font-size:13px}.touch-hint{display:inline!important}.desktop-hint{display:none!important}.mobile-builder-back{display:flex!important;width:100%;margin-top:10px}.builder-color input{height:44px}.mobile-nav button{font-size:11px}.modal-footer .btn.danger{min-height:44px}.body .command-item:hover{transform:none}.builder-modal .modal-body{scroll-padding-bottom:12px}.builder-modal .block-inspector{scroll-margin-top:12px}body:has(.overlay) .toast{top:12px;bottom:auto;left:12px;right:12px;max-width:none;width:auto;font-size:13px;justify-content:center}.filter-chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}}

/* Contacts identity: the new vector artwork and bundled brand typeface. */
:root{font-family:"Open Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}.brand{padding-left:13px;gap:0;align-items:center;min-height:70px}.brand-lockup{display:block;width:128px;max-width:100%;height:auto;flex-shrink:0}.brand-lockup img{display:block;width:100%;height:auto}.brand .brandmark{display:none}.brandmark{background:none!important;border-radius:0!important;box-shadow:none!important;width:36px;height:36px;flex-shrink:0}.brandmark img{width:100%;height:100%;display:block}.brand-dark{display:none!important}html[data-theme=dark] .brand-dark{display:block!important}html[data-theme=dark] .brand-light{display:none!important}.btn.primary,html[data-theme=dark] .btn.primary{color:var(--on-primary,#fff)}.brandmark .brand-dark{background:none}.canvas-block.selected{border-color:var(--brand-evergreen);background:#f6fffc}.block-actions{background:var(--brand-evergreen)}.template-mini span{background:var(--brand-evergreen)}.canvas-button{font-family:Arial,Helvetica,sans-serif}.stat-value{font-weight:800}.page-header h1{font-weight:800;letter-spacing:-.8px}.brand-lockup img{image-rendering:auto}
@media(max-width:900px){.sidebar .brand{padding-left:0;min-height:66px}.brand .brand-lockup{display:none}.brand .brandmark{display:grid;width:36px;height:36px}}@media(max-width:660px){.mobile-brand .brandmark{width:32px;height:32px;border-radius:0}.page-header h1{letter-spacing:-.75px}}

/* Mobile uses the standalone mark, preserving the full desktop lockup and more search space. */
.brand-lockup{width:156px}.brand{padding-left:12px}.mobile-brand{min-width:0}
@media(max-width:660px){.topbar{grid-template-columns:36px minmax(0,1fr);gap:12px}.mobile-brand{width:36px}.mobile-brand .brandmark{width:36px;height:36px}}
@media(max-width:355px){.topbar{grid-template-columns:34px minmax(0,1fr);gap:9px;padding-inline:11px}.mobile-brand,.mobile-brand .brandmark{width:34px}.mobile-brand .brandmark{height:34px}}

/* Keep recent searches compact so matching results fit beneath them. */
.recent-search-group .command-item{min-height:34px;padding-block:4px}
.recent-search-group .command-icon{width:25px;height:25px}
.recent-search-group .command-icon .icon{width:14px;height:14px}
.recent-search-group .command-item strong{font-weight:600;white-space:nowrap}
.command-clear-history{color:var(--primary-text);font-size:inherit;font-weight:650;white-space:nowrap;padding:4px 0;margin-left:auto}
.command-clear-history:hover{text-decoration:underline}
.search-status{font-size:13px;color:var(--muted);padding:9px 10px;margin:0}
