:root{font-family:DM Sans,system-ui,sans-serif;color:var(--theme-text, #20334b);background:var(--theme-canvas, #f7f9fb);font-synthesis:none;font-weight:400;line-height:1.6;font-size:14px;--navy: var(--theme-info-ink, #152e49);--teal: var(--theme-info-ink, #167c78);--muted: var(--theme-muted, #697b8e);--border: var(--theme-line, #e2e8ee)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}a{color:var(--teal)}button{border:1px solid var(--border);background:var(--theme-surface, white);color:var(--navy);padding:9px 14px;border-radius:7px}button:hover{background:var(--theme-surface-alt, #f1f6f7)}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--theme-focus, #248d89)}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:36px;font-weight:700;letter-spacing:-1.3px;line-height:1.25;margin:9px 0 12px}h2{font-size:21px;letter-spacing:-.6px;color:var(--navy)}p{margin:0 0 15px}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--theme-surface, #fff);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:29px 19px 22px;overflow-y:auto}.brand{display:flex;gap:11px;align-items:center;padding:0 12px}.brand-mark{display:block;background:transparent;flex-shrink:0;object-fit:contain;width:36px;height:36px}.brand strong{font-size:21px;letter-spacing:-.6px}.brand small{display:block;font:9px DM Sans,sans-serif;letter-spacing:2px;color:var(--muted);margin-top:-3px}.collapse-button{margin:26px 6px 19px;display:flex;gap:12px;align-items:center;border:0;background:transparent;color:var(--theme-muted, #6e7e90);font-size:12px;padding:5px 9px}.workspace{border:1px solid var(--border);background:var(--theme-canvas, #f9fbfc);border-radius:8px;padding:12px 13px;margin:0 5px 28px}.workspace small,.workspace label{display:block;letter-spacing:1.3px;font-size:9px;color:var(--muted);margin-bottom:4px}.workspace strong{font-size:12px;font-weight:600}.workspace select{width:100%;border:none;background:transparent;color:var(--navy);font-size:12px;padding:5px 0}.nav-label{font-size:9px;letter-spacing:1.5px;color:var(--theme-muted, #8490a0);margin:0 14px 12px}.nav-item{display:flex;align-items:center;gap:13px;padding:11px 14px;margin-bottom:6px;border-radius:7px;color:var(--theme-muted, #5c6c7e);text-decoration:none;font-size:13px;font-weight:500}.nav-item:hover{background:var(--theme-canvas, #f5f8fa)}.nav-item.active{background:var(--theme-success-soft, #eaf5f2);color:var(--theme-info-ink, #14756e);font-weight:700}.nav-icon{font-size:19px;width:23px;text-align:center;line-height:1}.sidebar-footer{font-size:10px;color:var(--theme-muted, #7f8c9b);margin-top:auto;padding:25px 10px 0;white-space:nowrap}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--theme-success-solid, #509c8e);margin-right:7px}.main-column{container-type:inline-size;container-name:workspace;display:flex;flex-direction:column;min-width:0}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:var(--theme-surface, #fff);padding:0 44px;font-size:12px;color:var(--muted);gap:16px}.account{display:flex;align-items:center;gap:12px;font-size:12px}.account button{font-size:11px;padding:6px 10px}.preview-label{padding:4px 10px;border:1px solid var(--border);border-radius:99px;font-size:10px;color:var(--theme-muted, #677a8d)}main{padding:43px 48px;width:100%;margin:0;min-width:0;flex:1}.eyebrow{color:var(--teal);font-size:10px;font-weight:700;letter-spacing:1.8px;margin:0}.page-heading>p:last-child{font-size:13px;color:var(--muted);margin-bottom:31px}.empty-card{border:1px solid var(--border);border-radius:12px;background:var(--theme-surface, #fff);min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-icon{width:62px;height:62px;border-radius:18px;background:var(--theme-success-soft, #eff7f5);color:var(--theme-muted, #408980);display:grid;place-items:center;font-size:30px;margin-bottom:22px}.pill{font-size:8px;letter-spacing:1.7px;font-weight:700;color:var(--theme-muted, #648278);border:1px solid var(--theme-line, #dcebe5);padding:4px 9px;border-radius:4px;background:var(--theme-success-soft, #f7fbf9)}.empty-card h2{margin:17px 0 10px}.empty-card p{font-size:12px;color:var(--theme-muted, #7d8b99);max-width:400px;line-height:1.9}.page-footer{display:flex;justify-content:space-between;padding:20px 48px;color:var(--theme-muted, #9aa6b3);font-size:9px;letter-spacing:1.5px}.page-footer span{letter-spacing:0;font-size:11px}.is-collapsed{grid-template-columns:78px minmax(0,1fr)}.is-collapsed .expanded{display:none}.is-collapsed .sidebar{padding-left:10px;padding-right:10px}.is-collapsed .brand{padding:0;justify-content:center}.is-collapsed .nav-item{justify-content:center;padding:14px 8px}.is-collapsed .collapse-button{justify-content:center;margin:26px 0}.today-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.today-card{min-height:400px}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:18px 23px;background:var(--theme-surface, #fff);border-radius:12px 12px 0 0}.section-title h2{font-size:14px;margin:0}.section-title span{font-size:10px;color:var(--theme-muted, #8996a4)}.action-panel{border:1px solid var(--border);border-radius:12px;background:var(--theme-surface, white);overflow:hidden}.action-panel .empty-card{border:none;border-radius:0;min-height:325px}.note-card{padding:26px 24px;background:var(--theme-success-soft, #eef5f3);border:1px solid var(--theme-line, #dfebe6);border-radius:12px;align-self:start}.note-card .eyebrow{font-size:9px}.note-card h2{font-size:21px;line-height:1.5;margin:14px 0}.note-card p{color:var(--theme-muted, #647c79);font-size:12px;line-height:1.9}.note-line{width:30px;height:2px;background:var(--theme-surface-alt, #8cb5a8);margin:23px 0}.foundation-note{font-size:11px;color:var(--theme-muted, #8693a1);margin:24px 0}.settings-card{border:1px solid var(--border);background:var(--theme-surface, white);border-radius:12px;padding:27px;width:100%;min-width:0}.settings-card h2{margin-top:0}.settings-card input{display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;margin:7px 0 13px}.primary{background:var(--teal);color:var(--theme-on-strong, white);border-color:var(--teal);text-decoration:none;display:inline-block;border-radius:7px;padding:9px 14px}.primary:hover{background:var(--theme-header, #126c69)}.error{background:var(--theme-danger-soft, #fff3ef);color:var(--theme-warning-ink, #994d31);padding:12px;border-radius:6px}.settings-card p{color:var(--muted);font-size:13px}.settings-card label{font-size:12px}.settings-card form{margin-top:20px;border-top:1px solid var(--border);padding-top:20px}.skip-link{position:absolute;left:10px;top:-100px;z-index:20;background:var(--theme-surface, white);padding:12px}.skip-link:focus{top:10px}.tenant-list{list-style:none;padding:0}.tenant-list li{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:14px 0}@media(min-width:1600px){main{padding-top:60px}}@media(max-width:1100px){.today-grid{grid-template-columns:1fr}.note-card{max-width:none}.topbar{padding:0 28px}main{padding:32px 28px}}@media(max-width:700px){.shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{padding:25px 10px}.sidebar .expanded{display:none}.sidebar .brand{padding:0;justify-content:center}.nav-item{padding:14px 8px;justify-content:center}.collapse-button{display:none}.topbar{padding:0 16px;height:66px}.topbar>span{display:none}.account{flex-wrap:wrap;gap:5px}.account>span{font-size:10px}main{padding:28px 18px}h1{font-size:28px}.empty-card{padding:25px 15px}.page-footer{padding:20px 18px}.page-footer span{display:none}.section-title{padding:15px}.note-card{padding:20px}}.settings-card form{max-width:42rem}.settings-card p{max-width:80ch}.account,.topbar{min-width:0;overflow-wrap:anywhere}button[aria-busy=true]{cursor:wait}.custom-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.custom-fields-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px 24px;margin:8px 0 0}.custom-fields-list dt{color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.custom-fields-list dd{margin:2px 0 0;overflow-wrap:anywhere}.custom-fields-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px 18px}.custom-fields-form>.heading-actions,.custom-fields-form>.error,.custom-fields-form>button{grid-column:1 / -1}.custom-fields-form label,.custom-fields-editor label,.custom-field-input label{display:block;font-size:12px;font-weight:600}.custom-fields-form input,.custom-fields-form select,.custom-fields-editor input:not([type=checkbox]),.custom-fields-editor select{display:block;width:100%;margin-top:4px;padding:7px 9px;border:1px solid var(--theme-line, #ccd7e2);border-radius:6px;background:var(--theme-surface, #fff);font:inherit;font-weight:400}.custom-fields-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.custom-fields-tabs button{border-radius:99px;padding:5px 14px;font-size:12px}.custom-fields-tabs button[aria-selected=true]{border-color:var(--teal);background:var(--teal);color:var(--theme-on-strong, #fff)}.custom-field-rows{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}.custom-field-rows li{display:grid;grid-template-columns:minmax(160px,2fr) minmax(120px,1fr) 16.5rem;gap:10px;align-items:end;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--theme-surface, #fff)}.custom-field-rows li>label,.custom-field-rows li>div,.custom-field-rows label{margin:0}.custom-field-rows li.is-off{opacity:.6}.custom-field-rows .custom-field-options{grid-column:1 / -1;grid-row:2}.custom-field-row-actions{display:flex;align-items:center;gap:6px}.custom-field-row-actions button{padding:6px 10px}@media(max-width:700px){.custom-field-rows li{grid-template-columns:1fr}.custom-field-rows .custom-field-options{grid-row:auto}}.custom-field-required{color:var(--theme-danger-ink, #b42318)}.custom-field-missing{color:var(--theme-warning-ink, #9a5b00);font-size:12px;font-weight:600}.custom-fields-form-section .custom-fields-form{margin-top:4px}.crm-page.contracts-page{max-width:none;width:100%}.contract-tabs,.contract-filters,.contract-metrics,.contract-overview,.contract-action{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:20px 0}.contract-tabs button[aria-pressed=true]{color:var(--theme-info-ink, #285ca0);background:var(--theme-info-soft, #e6efff);border-color:var(--theme-info-line, #6390c8)}.contract-filters label{min-width:140px;flex:1}.contract-metrics,.contract-overview{border-block:1px solid var(--theme-line, #e6e7eb);padding:16px 0}.contract-metrics span,.contract-overview span{font-size:13px}.contract-metrics b,.contract-overview b{display:block;font-size:16px}.contract-scroll{overflow:auto;max-width:100%}.contract-table{border-collapse:collapse;width:100%;font-size:14px}.contract-table th{color:var(--theme-muted, #65727a);font-weight:600;text-align:left;white-space:nowrap}.contract-table th,.contract-table td{padding:10px 12px;border-bottom:1px solid var(--theme-line, #e6e7eb);vertical-align:top}.contract-table small{display:block;margin-top:4px}.contract-expiry{color:var(--theme-warning-ink, #916016)}.contract-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:16px 0}.contract-form label{display:block;margin:10px 0}.contract-form fieldset{border:0;padding:0;min-width:0}.contract-check{display:flex!important;gap:8px;align-items:center;margin:16px 0}.contract-check input{width:auto!important;flex:none}.contract-section{border-top:1px solid var(--theme-line, #e6e7eb);margin-top:28px;padding-top:20px}.contract-section pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.contract-section details{padding:10px 0;border-bottom:1px solid var(--theme-line, #e6e7eb)}.contract-notes{white-space:pre-wrap}.contract-line{border-bottom:1px solid var(--theme-line, #e6e7eb)}.contract-cancelled{color:var(--theme-muted, #73808a);background:var(--theme-canvas, #f8f8fa)}.contract-table input[type=date]{min-width:145px}.contract-table input[type=number]{min-width:110px}@media(max-width:600px){.contract-fields{grid-template-columns:1fr}.contract-tabs{gap:8px}}.crm-page.today-stream{max-width:none;width:100%}.today-stream .crm-heading{margin-bottom:20px}.today-heading-actions,.today-counters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.today-total{font-size:13px;color:var(--theme-muted, #65727a)}.today-counters{margin:0 0 22px}.today-counter{border-radius:20px;padding:5px 12px;font-size:13px;font-weight:600}.today-stalled{margin-left:auto;font-size:13px}.today-counter.overdue,.today-date.overdue{background:var(--theme-danger-soft, #fce8e8);color:var(--theme-danger-ink, #b32330)}.today-counter.today,.today-date.today{background:var(--theme-success-soft, #e1f3e8);color:var(--theme-success-ink, #146c3b)}.today-counter.tomorrow,.today-date.tomorrow{background:var(--theme-warning-soft, #fff0d5);color:var(--theme-warning-ink, #925300)}.today-date.week{background:var(--theme-info-soft, #e5efff);color:var(--theme-info-ink, #285da5)}.today-date.later,.today-date.undated{background:var(--theme-surface-alt, #eceff2);color:var(--theme-muted, #52616c)}.today-action-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--theme-line, #e2e6eb)}.today-action-row{display:grid;grid-template-columns:106px minmax(160px,.8fr) minmax(220px,1.7fr) 85px 36px 32px;align-items:center;gap:18px;min-height:76px;padding:9px 8px;border-bottom:1px solid var(--theme-line, #e2e6eb);background:transparent}.today-action-row:hover{background:var(--theme-surface-alt, #f0f4f9)}.today-date{width:106px;min-height:52px;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;font-size:12px}.today-date strong{font-size:11px;letter-spacing:.35px}.today-person{min-width:0}.today-person>a{display:block;font-weight:650;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-person>span{display:block;font-size:13px;color:var(--theme-muted, #72808a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.today-stream .today-description{border:0;background:none;padding:0;text-align:left;color:inherit;min-width:0;border-radius:0;font-weight:400}.today-description>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.35}.today-description>small{display:block;color:var(--theme-muted, #72808a);font-size:11px;margin-top:3px}.today-time{font-size:12px;color:var(--theme-muted, #65727a);text-align:right;white-space:nowrap}.today-stream .today-complete{padding:0;width:32px;height:32px;border:1px solid var(--theme-line, #a3b1ba);border-radius:50%;background:transparent;color:var(--theme-muted, #59716a);font-size:17px}.today-stream .today-complete:hover{border-color:var(--theme-success-line, #146c3b);background:var(--theme-success-soft, #e1f3e8);color:var(--theme-success-ink, #146c3b)}.today-more{position:relative}.today-more>summary{cursor:pointer;list-style:none;font-size:24px;text-align:center;border-radius:4px;line-height:32px}.today-more>summary::-webkit-details-marker{display:none}.today-more[open]>div{position:absolute;right:0;top:34px;z-index:5;min-width:235px;padding:6px;background:var(--theme-surface, white);border:1px solid var(--theme-line, #dce2e7);border-radius:6px;box-shadow:0 4px 12px #1f33421a}.today-more button{width:100%;text-align:left;border:0;background:var(--theme-surface, white);border-radius:3px;font-size:13px}.today-more button:hover{background:var(--theme-surface-alt, #f0f4f9)}.today-more summary:focus-visible,.today-description:focus-visible{outline:2px solid var(--theme-focus, #3977bb);outline-offset:3px}.today-load{display:flex;justify-content:space-between;align-items:center;padding-top:18px;font-size:13px;color:var(--theme-muted, #65727a)}.today-empty{padding:16px 0;color:var(--theme-muted, #65727a)}.today-undo-stack{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;flex-direction:column;gap:8px;max-width:min(520px,calc(100vw - 32px))}.today-undo{display:flex;align-items:center;gap:16px;background:var(--theme-header, #203844);color:var(--theme-on-strong, white);padding:10px 16px;border-radius:6px;box-shadow:0 4px 14px #0002}.today-undo span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.today-stream .today-undo button{color:var(--theme-on-strong, white);border-color:var(--theme-line, #91abb7);background:transparent;font-size:13px;padding:4px 12px}@media(min-width:1700px){.today-action-row{grid-template-columns:106px minmax(240px,.8fr) minmax(300px,2fr) 90px 36px 32px}}@media(max-width:1000px){.today-action-row{grid-template-columns:96px minmax(130px,.8fr) minmax(160px,1.5fr) 36px 28px;gap:12px}.today-date{width:96px}.today-time{grid-column:2;grid-row:2;text-align:left}.today-action-row{position:relative}.today-time{display:block}.today-date{grid-row:1 / 3}.today-person{grid-column:2;grid-row:1}.today-description{grid-column:3;grid-row:1 / 3}.today-complete{grid-column:4;grid-row:1 / 3}.today-more{grid-column:5;grid-row:1 / 3}}@media(max-width:650px){.today-action-row{grid-template-columns:88px minmax(0,1fr) 32px 28px;gap:6px 10px;padding:12px 0}.today-date{width:88px;grid-row:1 / 3}.today-person{grid-column:2;grid-row:1}.today-description{grid-column:2;grid-row:2}.today-description>small{display:none}.today-complete{grid-column:3;grid-row:1 / 3}.today-more{grid-column:4;grid-row:1 / 3}.today-time{display:block;grid-column:2;grid-row:3;font-size:11px}.today-person>a{font-size:14px}.today-person>span{font-size:12px}.today-stalled{margin-left:0}.today-undo-stack{right:16px;bottom:16px}}.mail-provider-pill{display:inline-block;padding:3px 9px;border-radius:999px;font-size:.78rem;font-weight:650;line-height:1.5;white-space:normal}.mail-provider-pill.microsoft{background:var(--theme-success-soft, #dcfce7);color:var(--theme-success-ink, #166534)}.mail-provider-pill.google{background:var(--theme-danger-soft, #fee2e2);color:var(--theme-danger-ink, #991b1b)}.mail-provider-pill.unknown{background:var(--theme-canvas, #f1f5f9);color:var(--theme-text, #475569)}.mail-provider-pill.correspondence-provider{background:var(--theme-surface-alt, #f1f5f9);color:var(--muted);font-size:11px;font-weight:400;padding:2px 8px}.email-page{max-width:none}.email-toolbar,.email-tabs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.email-tabs button[aria-pressed=true]{background:var(--theme-info-soft, #e6efff);color:var(--theme-info-ink, #285ca0);border-color:var(--theme-info-line, #6390c8)}.email-list{margin:20px 0;border-top:1px solid var(--theme-line, #e6e7eb)}.email-list .email-row{display:flex;width:100%;justify-content:space-between;gap:20px;text-align:left;border:0;border-bottom:1px solid var(--theme-line, #e6e7eb);border-radius:0;padding:18px 12px;background:var(--theme-surface, white);color:var(--theme-text, #23343d)}.email-row>.email-row-content{min-width:0;flex:1}.email-row small{display:block;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--theme-muted, #67757e);margin-top:5px}.email-row time{font-size:13px}.email-row:hover{background:var(--theme-info-soft, #f2f6fd)}.email-page label,.email-compose>label,.email-recipient-grid label,.email-account label,.email-associations>label{display:block;margin:14px 0}.email-recipient-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.email-editor{min-height:200px;max-height:400px;overflow:auto;border:1px solid var(--theme-line, #b8c6d4);border-radius:8px;padding:16px;background:var(--theme-surface, white);color:var(--theme-text, #23343d)}.email-check{display:flex!important;align-items:center;gap:9px}.email-check input{width:auto!important;flex:none}.email-message iframe{width:100%;min-height:320px;border:1px solid var(--theme-line, #e6e7eb);border-radius:8px;background:var(--theme-surface, white)}.email-message>p{overflow-wrap:anywhere}.email-account{margin-top:24px}.email-associations{border-top:1px solid var(--theme-line, #e6e7eb);margin-top:20px;padding-top:12px}@media(max-width:600px){.email-recipient-grid{grid-template-columns:1fr}.email-row small{max-width:25ch}.email-list .email-row{gap:8px}}.email-toolbar button[aria-pressed=true]{background:var(--theme-info-soft, #e6efff);color:var(--theme-info-ink, #285ca0);border-color:var(--theme-info-line, #6390c8)}.email-editor{overflow-wrap:anywhere;line-height:1.6}.email-editor:focus{outline:2px solid var(--theme-focus, #6390c8);outline-offset:2px}.email-editor p{margin:0 0 .75em}.email-editor ul{list-style:disc;padding-left:1.5em}.email-editor ol{list-style:decimal;padding-left:1.5em}.email-editor blockquote{border-left:3px solid var(--theme-line, #b8c6d4);margin:.75em 0;padding-left:1em}.email-editor[contenteditable=false]{opacity:.7}.personalized-recipients{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.personalized-fields span{font-size:12px;color:var(--muted)}.personalized-fields button{padding:4px 10px;font-size:12px;border-radius:99px}.personalized-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.personalized-headers{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:0 0 10px;font-size:13px}.personalized-headers dt{color:var(--muted)}.personalized-headers dd{margin:0;overflow-wrap:anywhere}.personalized-warning{padding:8px 12px;border-radius:8px;background:var(--theme-warning-soft, #fff7e0);color:var(--theme-warning-ink, #6b4b00);font-size:13px}.personalized-skipped{margin:8px 0 4px;font-size:13px}.personalized-review .email-message iframe{min-height:260px}.email-signature-preview{display:block;width:100%;min-height:240px;border:1px solid var(--border, var(--theme-line, #dce2e8));border-radius:8px;background:var(--theme-surface, white);margin:12px 0}.email-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.email-page .email-filters label{margin:0}.email-filters select{width:100%}@media(max-width:600px){.email-filters{grid-template-columns:1fr;gap:10px}}.campaign-summary,.campaign-card,.sending-mailbox{border:1px solid var(--theme-line, #e6e7eb);border-radius:16px;background:var(--theme-surface, white);color:var(--theme-text, #23343d);padding:20px 24px;margin:16px 0}.campaign-summary header,.campaign-card header,.sending-mailbox header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.campaign-summary h3,.campaign-card h3{margin:0;font-size:1.15rem}.campaign-badge,.campaign-status{border-radius:999px;padding:4px 12px;font-size:.85rem;font-weight:600;white-space:nowrap}.campaign-badge.ok,.campaign-status.status-active,.campaign-status.status-completed{background:var(--theme-success-soft, #e3f4e5);color:var(--theme-success-ink, #23743a)}.campaign-badge.warn,.campaign-status.status-paused{background:var(--theme-warning-soft, #fdf3dc);color:var(--theme-warning-ink, #8a5a00)}.campaign-status.status-cancelled{background:var(--theme-surface-alt, #f2f3f5);color:var(--theme-muted, #5f6b74)}.campaign-from{margin:8px 0 0}.campaign-stats,.campaign-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px 24px;margin:20px 0}.campaign-stats dt,.campaign-counts dt{color:var(--theme-muted, #5f6b74);font-size:.9rem}.campaign-stats dd,.campaign-counts dd{margin:0}.campaign-stats dd:nth-of-type(1){font-size:1.8rem;font-weight:700;line-height:1.3}.campaign-stats dd:nth-of-type(2){color:var(--theme-muted, #5f6b74)}.campaign-counts dd{font-size:1.25rem;font-weight:600}.campaign-plan-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.campaign-plan-head span{color:var(--theme-muted, #5f6b74)}.campaign-bar{display:flex;height:12px;border-radius:999px;overflow:hidden;background:var(--theme-surface-alt, #f2f3f5)}.campaign-bar span{height:100%}.campaign-bar .tone-0,.campaign-legend .tone-0{background:var(--theme-success-solid, #43a047)}.campaign-bar .tone-1,.campaign-legend .tone-1{background:var(--theme-warning-solid, #d4a642)}.campaign-bar .tone-2,.campaign-legend .tone-2{background:var(--theme-info-solid, #3b78c3)}.campaign-bar .tone-3,.campaign-legend .tone-3{background:var(--theme-purple-solid, #7d5bbe)}.campaign-bar .tone-fail{background:var(--theme-danger-solid, #c94a4a)}.campaign-legend{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;list-style:none;padding:0;margin:8px 0 0}.campaign-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.campaign-check span{color:var(--theme-success-ink, #23743a);font-weight:700}.campaign-warnings{background:var(--theme-warning-soft, #fdf3dc);color:var(--theme-warning-ink, #8a5a00);border-radius:10px;padding:10px 14px 10px 30px}p.campaign-warnings{padding-left:14px}.sending-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px 20px;margin:12px 0}.sending-grid label small{display:block}.campaign-check{margin:14px 0 4px}.open-status,.email-row .open-status{display:inline-flex;justify-content:flex-end;align-items:center;gap:5px;color:var(--theme-muted, #5f6b74)}.open-status.opened{color:var(--theme-success-ink, #23743a)}.open-status svg{flex:none}.email-direction{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;align-self:center}.email-direction svg{width:23px;height:23px}.email-status{display:inline-block;border-radius:20px;padding:3px 9px;font-size:12px;font-weight:500;white-space:nowrap}.email-direction.sent,.email-status.sent{color:var(--theme-success-ink, #187046);background:var(--theme-success-soft, #e6f3eb)}.email-direction.received,.email-status.received{color:var(--theme-info-ink, #2967bb);background:var(--theme-info-soft, #e8f0fe)}.email-direction.failure,.email-status.failure{color:var(--theme-danger-ink, #b42332);background:var(--theme-danger-soft, #fce8e8)}.email-direction.draft,.email-status.draft{color:var(--theme-muted, #67757e);background:var(--theme-surface-alt, #f1f3f5)}.email-subject{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:7px}.email-subject strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.email-correspondent{display:block;color:var(--theme-muted, #67757e);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-failure .email-preview{color:var(--theme-danger-ink, #b42332)}.contact-email-warning{margin:16px 0;padding:16px 20px;border:1px solid var(--theme-danger-line, #efbdc1);border-left:4px solid var(--theme-danger-ink, #b42332);border-radius:8px;background:var(--theme-surface, white)}.contact-email-warning .email-status{margin-left:12px}.contact-email-warning p{margin:8px 0 0;overflow-wrap:anywhere}@media(max-width:600px){.email-list .email-row{gap:12px;padding:16px 4px}.email-direction{flex-basis:34px;width:34px;height:34px}}:root[data-theme=sepia] .email-direction.received,:root[data-theme=sepia] .email-status.received{color:#285b93;background:#dae5eb}.past-emails{display:inline-flex;align-items:center;gap:8px}.past-emails small{color:var(--theme-muted, #5f6b74)}:root[data-theme=dark]{--theme-canvas: #111c26;--theme-surface: #1c2936;--theme-surface-alt: #263544;--theme-header: #14212c;--theme-text: #e5edf4;--theme-muted: #a7b7c5;--theme-line: #3a4b5d;--theme-on-strong: #fff;--theme-focus: #8bbdff;--theme-info-ink: #9ac5ff;--theme-info-soft: #233b54;--theme-info-solid: #365f8b;--theme-info-line: #557fa8;--theme-success-ink: #9ae0b8;--theme-success-soft: #1c4034;--theme-success-solid: #276449;--theme-success-line: #4f9a75;--theme-danger-ink: #ffb0b8;--theme-danger-soft: #4a2831;--theme-danger-solid: #993f50;--theme-danger-line: #b86a78;--theme-warning-ink: #ffd39a;--theme-warning-soft: #453724;--theme-warning-solid: #9a642c;--theme-warning-line: #af8654;--theme-purple-ink: #d4baff;--theme-purple-soft: #38304f;--theme-purple-solid: #66518b;--theme-purple-line: #9480ba;--navy: var(--theme-text);--teal: var(--theme-info-ink);--muted: var(--theme-muted);--border: var(--theme-line)}:root[data-theme=sepia]{--theme-canvas: #dfc89f;--theme-surface: #f0dfbd;--theme-surface-alt: #d5b98a;--theme-header: #49321f;--theme-text: #44301e;--theme-muted: #6e5033;--theme-line: #b18c59;--theme-on-strong: #f0dfbd;--theme-focus: #84602e;--theme-info-ink: #6a4824;--theme-info-soft: #e4d0aa;--theme-info-solid: #78532e;--theme-info-line: #ab8756;--theme-success-ink: #2d6544;--theme-success-soft: #e3ead2;--theme-success-solid: #406949;--theme-success-line: #8fa47d;--theme-danger-ink: #913c38;--theme-danger-soft: #f3ded0;--theme-danger-solid: #a34b42;--theme-danger-line: #c38d7a;--theme-warning-ink: #81531e;--theme-warning-soft: #e5c48c;--theme-warning-solid: #99652e;--theme-warning-line: #bb985e;--theme-purple-ink: #735078;--theme-purple-soft: #e9dedf;--theme-purple-solid: #805a7d;--theme-purple-line: #ac8da6;--navy: var(--theme-text);--teal: var(--theme-info-ink);--muted: var(--theme-muted);--border: var(--theme-line)}:root[data-theme=dark] .primary,:root[data-theme=sepia] .primary{background:var(--theme-warning-solid);border-color:var(--theme-warning-solid);color:var(--theme-on-strong)}:root[data-theme=dark] .primary:hover,:root[data-theme=sepia] .primary:hover{background:var(--theme-header);border-color:var(--theme-warning-line)}:root[data-theme=dark] :is(input,select,textarea),:root[data-theme=sepia] :is(input,select,textarea){color:var(--theme-text)}:root[data-theme=dark] ::placeholder,:root[data-theme=sepia] ::placeholder{color:var(--theme-muted);opacity:1}.theme-switcher{position:relative;display:inline-flex;flex:0 0 auto}.topbar .theme-toggle{display:grid;place-items:center;width:34px;height:34px;padding:6px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit}.topbar .theme-toggle:hover{background:#ffffff18}.theme-options{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;width:210px;max-width:calc(100vw - 24px);margin:0;padding:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #203541);border:1px solid var(--theme-line, #dbe2ea);border-radius:12px;box-shadow:0 8px 28px #0003}.theme-options legend{float:left;width:100%;font-weight:700;padding:0 8px 8px}.topbar .theme-options .theme-option{width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;min-height:42px;clear:both;display:flex;gap:10px;align-items:center;padding:9px 8px;cursor:pointer;border-radius:7px}.topbar .theme-options .theme-option:hover,.topbar .theme-options .theme-option[aria-checked=true]{background:var(--theme-surface-alt, #edf2f7)}.theme-selection{width:16px;height:16px;flex:0 0 16px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center}.theme-option[aria-checked=true] .theme-selection:after{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.theme-options p{margin:9px 8px 0;font-size:11px;color:var(--theme-muted, #697b8e)}@media(max-width:600px){.topbar .account{gap:7px}.topbar .theme-toggle{width:32px;height:32px}}:root[data-theme=dark] .crm-table tbody tr:nth-child(2n),:root[data-theme=sepia] .crm-table tbody tr:nth-child(2n){background:var(--theme-surface-alt)}:root[data-theme=dark] .crm-table tbody tr:hover,:root[data-theme=sepia] .crm-table tbody tr:hover{background:var(--theme-info-soft)}:root[data-theme=dark] dialog,:root[data-theme=sepia] dialog{background:var(--theme-canvas);color:var(--theme-text)}.import-page{max-width:1400px}.import-types,.import-steps,.import-summary{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.import-steps{list-style:none;padding:0}.import-steps li{padding:.7rem 1rem;border-bottom:3px solid var(--theme-line, #ccd5db)}.import-steps [aria-current]{border-color:var(--theme-info-line, #246b70);font-weight:700}.import-mapping{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1rem 0}.import-page label{display:block;margin:.8rem 0}.import-mapping select,.association-picker select,.association-picker input{display:block;width:100%;max-width:100%;margin:.4rem 0}.import-page small{display:block;overflow-wrap:anywhere}.import-page td{vertical-align:top;max-width:380px;overflow-wrap:anywhere}.import-page dd,.import-page details p,.historical-comments{white-space:pre-wrap;overflow-wrap:anywhere;margin:.2rem 0 .7rem}.import-page button{margin:.4rem}.import-page .detail-panel{margin:1rem 0}.import-page label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:.6rem;cursor:pointer;line-height:1.5}.import-page input[type=checkbox]{display:inline-block;flex:0 0 1.125rem;width:1.125rem;height:1.125rem;margin:.15rem 0 0;padding:0;accent-color:var(--teal)}.import-confirmation{max-width:44rem;padding:1rem;margin:1rem 0;border:1px solid var(--theme-line, #ccd7e2);border-radius:8px;background:var(--theme-info-soft, #f1f6fa)}.import-confirmation label{margin-top:0}.import-confirmation button{margin-left:0}.import-preview-status{border:1px solid var(--theme-line, #ccd7e2);border-radius:8px;background:var(--theme-info-soft, #f1f6fa);margin-top:1rem;padding:1rem}.import-preview-status progress{display:block;width:100%;margin:.75rem 0;accent-color:var(--teal)}.import-tag-input{position:relative;max-width:640px}.import-tag-input label{display:block;margin-bottom:6px}.import-tag-input input{width:100%}.import-tag-input [role=listbox]{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:220px;overflow:auto;margin:4px 0 0;padding:4px;list-style:none;border:1px solid var(--theme-line, #d9dfe3);border-radius:6px;background:var(--theme-surface, white);box-shadow:0 5px 14px #0002}.import-tag-input [role=option]{padding:8px 12px;cursor:pointer;border-radius:4px}.import-tag-input [role=option]:hover,.import-tag-input [role=option][aria-selected=true]{background:var(--theme-info-soft, #e6efff)}.toolbar.contact-directory-filters{align-items:flex-start;flex-wrap:wrap;gap:16px}.contact-directory-filters .search-box{flex:1 1 320px;min-width:0;max-width:none}.contact-tag-filter{position:relative;flex:1 1 320px;min-width:0}.contact-tag-input{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:36px;padding:2px 8px;background:var(--theme-surface, white);border:1px solid var(--border, var(--theme-line, #d7dce2));border-radius:6px}.contact-tag-input:focus-within{outline:2px solid var(--theme-focus, #3974b5);outline-offset:1px}.crm-page .contact-tag-input input{flex:1 1 130px;width:130px;min-width:80px;border:0;box-shadow:none;outline:none;padding:5px;margin:0}.contact-tag-input button{padding:2px 5px;border:0;background:transparent;min-height:24px}.filter-tag{display:inline-flex;align-items:center;gap:3px;background:var(--theme-surface-alt, #edf2f7);color:var(--theme-text, #365778);border-radius:12px;padding:1px 5px 1px 9px;font-size:13px}.contact-tag-options{position:absolute;top:auto;left:0;right:0;z-index:20;background:var(--theme-surface, white);border:1px solid var(--theme-line, #d7dce2);box-shadow:0 4px 12px #20374618;border-radius:6px;max-height:280px;overflow:auto}.contact-tag-options ul{list-style:none;margin:0;padding:4px}.contact-tag-options li{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;cursor:pointer}.contact-tag-options li[aria-selected=true],.contact-tag-options li:hover{background:var(--theme-info-soft, #eef5fc)}.contact-tag-options small{color:var(--theme-muted, #637180);white-space:nowrap}.contact-tag-options p{padding:8px 12px;margin:0;font-size:13px}.contact-tag-filter .tag-match-all{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:13px;margin-top:6px}.contact-tag-filter .tag-match-all input{width:auto;margin:0}.contact-filter-count{margin:0 0 12px;color:var(--theme-muted, #637180);font-size:14px}@media(max-width:650px){.toolbar.contact-directory-filters{flex-direction:column}.contact-directory-filters .search-box,.contact-tag-filter{flex:auto;width:100%}}.contact-tag-filter>label:first-child{display:block;font-size:11px;font-weight:600}.cf-list-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 12px}.cf-popover-anchor{position:relative}.cf-popover{position:absolute;z-index:20;top:calc(100% + 4px);left:0;min-width:240px;max-height:60vh;overflow:auto;margin:0;padding:12px;border:1px solid var(--theme-line, #ccd7e2);border-radius:8px;background:var(--theme-surface, #fff);box-shadow:0 8px 24px #00000024;display:grid;gap:6px}.cf-popover legend{font-weight:600;padding:0;margin-bottom:4px}.cf-check{display:flex;align-items:center;gap:8px;font-weight:400}.cf-filter-form label{font-size:.85em;font-weight:600}.cf-choices{border:0;margin:0;padding:0;display:grid;gap:4px}.cf-popover-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.cf-chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}.cf-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 10px;border:1px solid var(--theme-line, #ccd7e2);border-radius:999px;background:var(--theme-surface, #fff);font-size:.9em}.cf-chip button{border:0;background:transparent;padding:0 6px;line-height:1.4;cursor:pointer;color:inherit}.cf-sort{border:0;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left}.cf-sort:hover,.cf-sort:focus-visible{text-decoration:underline}.cf-column{white-space:nowrap}@media(max-width:640px){.cf-popover{position:fixed;inset:auto 16px 16px;min-width:0}}.crm-page.opportunity-page{max-width:none;--kpi-blue: #2f6fdb;--kpi-teal: #0e8a7e;--kpi-purple: #7a52cc;--kpi-amber: #c27a0a;--kpi-red: #c8372d;--kpi-green: #23874d;--attention: #b46b00;--attention-bg: #fff6e6;--stalled: #b8322a;--stalled-bg: #fdeeed;--panel: #fff}.opportunity-page .crm-heading{margin-bottom:14px}.opportunity-page .crm-heading h1{margin:0}.opportunity-overview{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px 14px 14px;margin-bottom:14px}.overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.overview-head h2{font-size:13px;font-weight:700;letter-spacing:0;color:var(--theme-muted, #5f6d75);margin:0}.overview-error{display:flex;gap:10px;align-items:center}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.crm-page .kpi-card{--tone: var(--kpi-blue);display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;text-align:left;padding:9px 12px 10px;background:var(--theme-surface, #fff);color:var(--theme-text, #263b47);border:1px solid var(--border);border-top:3px solid var(--tone);border-radius:8px}.crm-page button.kpi-card:hover{background:color-mix(in srgb,var(--tone) 5%,var(--theme-surface, white))}.crm-page .kpi-card[aria-pressed=true]{background:color-mix(in srgb,var(--tone) 9%,var(--theme-surface, white));border-color:color-mix(in srgb,var(--tone) 45%,var(--theme-line, white));border-top-color:var(--tone);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone) 35%,white)}.kpi-card.tone-blue{--tone: var(--kpi-blue)}.kpi-card.tone-teal{--tone: var(--kpi-teal)}.kpi-card.tone-purple{--tone: var(--kpi-purple)}.kpi-card.tone-amber{--tone: var(--kpi-amber)}.kpi-card.tone-red{--tone: var(--kpi-red)}.kpi-card.tone-green{--tone: var(--kpi-green)}.kpi-label{font-size:11px;font-weight:600;color:var(--theme-muted, #5f6d75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.kpi-value{font-family:Manrope,system-ui,sans-serif;font-size:21px;line-height:1.25;font-weight:750;color:var(--theme-text, #1f3340);font-variant-numeric:tabular-nums;white-space:nowrap}.kpi-card.tone-amber .kpi-value{color:var(--theme-warning-ink, #8f5a06)}.kpi-card.tone-red .kpi-value{color:var(--theme-danger-ink, #a02c24)}.kpi-extra,.kpi-sub{font-size:11px;color:var(--theme-muted, #77848b);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.kpi-extra{color:var(--theme-text, #4d5b63)}.kpi-card.is-loading .kpi-value{color:var(--theme-muted, #c5ccd1)}.pipeline-breakdown{margin-top:12px;display:grid;gap:8px}.breakdown-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--theme-surface-alt, #eef0f4);gap:2px}.breakdown-bar span{display:block;min-width:3px}.breakdown-rows{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:4px 12px}.crm-page .breakdown-rows button{width:100%;display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;grid-template-areas:"dot name value value" ". count weighted weighted";column-gap:8px;align-items:center;text-align:left;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--theme-text, #263b47);font-size:12px;line-height:1.35}.crm-page .breakdown-rows button:hover{background:var(--theme-canvas, #f5f6f9)}.crm-page .breakdown-rows button[aria-pressed=true]{background:color-mix(in srgb,var(--pipeline) 8%,var(--theme-surface, white));border-color:color-mix(in srgb,var(--pipeline) 40%,var(--theme-line, white))}.breakdown-rows .is-quiet{opacity:.6}.breakdown-rows .pipeline-dot{grid-area:dot}.breakdown-name{grid-area:name;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breakdown-count{grid-area:count;color:var(--theme-muted, #77848b)}.breakdown-value{grid-area:value;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.breakdown-weighted{grid-area:weighted;color:var(--theme-muted, #77848b);text-align:right;font-variant-numeric:tabular-nums}.pipeline-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--pipeline, var(--theme-surface-alt, #9aa5ad));flex:0 0 8px}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:8px;background:var(--theme-canvas, #f3f4f7);padding:2px;gap:2px}.crm-page .segmented button{border:0;border-radius:6px;background:transparent;color:var(--theme-text, #4d5b63);padding:4px 11px;font-size:12px;font-weight:600;white-space:nowrap}.crm-page .segmented button[aria-pressed=true]{background:var(--theme-surface, #fff);color:var(--theme-text, #203541);box-shadow:0 1px 2px #2035411f}.pipeline-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 10px;margin:0 0 10px}.pipeline-toolbar label{display:grid;gap:2px;font-size:11px;color:var(--theme-muted, #5f6d75);flex:0 1 190px;min-width:140px}.pipeline-toolbar .toolbar-search{flex:1 1 240px}.pipeline-toolbar select,.pipeline-toolbar input,.pipeline-filters select,.pipeline-filters input{width:100%;min-width:0;padding:6px 8px;font-size:13px}.crm-page .filters-toggle{padding:6px 12px;font-size:13px;display:inline-flex;gap:6px;align-items:center}.filter-count{background:var(--theme-info-solid, #326ba9);color:var(--theme-on-strong, #fff);border-radius:9px;font-size:10px;padding:0 6px;line-height:16px}.view-switch{margin-left:auto;align-self:flex-end}.pipeline-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 10px;padding:10px 12px;margin:0 0 10px;background:var(--theme-surface, #fff);border:1px solid var(--border);border-radius:10px}.pipeline-filters label{flex:0 1 170px;font-size:11px;color:var(--theme-muted, #5f6d75)}.crm-page .link-button{border:0;background:none;padding:6px 4px;font-size:12px}.focus-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px 8px 6px 12px;margin:0 0 10px;background:var(--theme-info-soft, #eef4fd);border:1px solid var(--theme-line, #d8e5f8);border-radius:8px;font-size:13px}.crm-page .focus-bar button{padding:3px 10px;font-size:12px;background:var(--theme-surface, #fff)}.board-lanes{display:grid;gap:14px}.board-lane{min-width:0}.lane-head{display:flex;align-items:center;gap:8px;margin:0 0 6px}.lane-head h2{font-size:14px;margin:0}.lane-head .totals-line{font-size:12px}.pipeline-board{display:flex;align-items:flex-start;gap:8px;overflow-x:auto;padding:0 0 6px}.pipeline-column{flex:1 1 250px;min-width:230px;max-width:340px;background:var(--theme-surface-alt, #efeff4);border:1px solid transparent;border-radius:10px;padding:8px}.pipeline-column.is-empty{flex:0 0 150px;min-width:150px;background:transparent;border:1px dashed var(--theme-line, #d9dbe3)}.pipeline-column.is-inactive{opacity:.75}.pipeline-column.is-over{border-color:var(--theme-info-line, #326ba9);background:var(--theme-info-soft, #e8f0fb)}.column-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:6px;padding:0 2px 6px}.column-head h2{font-size:13px;font-weight:700;letter-spacing:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pipeline-column.is-empty .column-head h2{color:var(--theme-muted, #8a959b);font-weight:600}.column-count{font-size:11px;font-weight:700;color:var(--theme-muted, #5f6d75);background:var(--theme-surface, #fff);border-radius:9px;padding:0 7px}.pipeline-column.is-empty .column-count{background:transparent;color:var(--theme-muted, #9aa4aa)}.column-head .totals-line{grid-column:1 / -1}.totals-line{font-size:11px;font-weight:650;color:var(--theme-text, #34474f);font-variant-numeric:tabular-nums}.totals-line .weighted{font-weight:400;color:var(--theme-muted, #77848b)}.column-empty{margin:4px 0 2px;padding:10px 0;text-align:center;font-size:11px;color:var(--theme-muted, #a1aab0)}.column-loading{font-size:12px;margin:4px 2px}.opportunity-card{position:relative;background:var(--theme-surface, white);padding:8px 10px 7px;border:1px solid var(--theme-line, #e3e5ec);border-radius:8px;margin-top:6px;font-size:12px;line-height:1.4}.opportunity-card:first-of-type{margin-top:0}.opportunity-card.has-pipeline{border-left:3px solid var(--pipeline);padding-left:8px}.opportunity-card.is-stalled{border-color:var(--theme-line, #efc9c5)}.opportunity-card.has-pipeline.is-stalled{border-left-color:var(--pipeline)}.opportunity-card[draggable=true]{cursor:grab}.card-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.card-name{font-weight:700;font-size:13px;color:var(--theme-text, #203541);overflow-wrap:anywhere;min-width:0}.card-amount{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--theme-text, #203541)}.card-meta{display:flex;flex-wrap:wrap;gap:0 6px;color:var(--theme-muted, #6c7a81);margin-top:1px}.card-meta>*+*:before{content:"·";margin-right:6px;color:var(--theme-muted, #b9c0c5)}.card-meta a{color:var(--theme-text, #4d5b63)}.card-next{display:flex;justify-content:space-between;gap:6px;margin-top:5px;padding:3px 6px;border-radius:5px;background:var(--theme-canvas, #f5f6f9);color:var(--theme-text, #34474f)}.card-next-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-next small{white-space:nowrap;color:var(--theme-muted, #6c7a81)}.card-next.tone-missing,.card-next.tone-overdue{background:var(--attention-bg);color:var(--attention);box-shadow:inset 2px 0 var(--kpi-amber)}.card-next.tone-overdue small{color:var(--attention);font-weight:650}.card-foot{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:5px}.card-inactive{font-size:11px;color:var(--theme-muted, #8a959b)}.card-inactive.is-stalled{color:var(--stalled);font-weight:650}.stage-menu{position:relative}.crm-page .stage-menu-button{display:inline-flex;gap:4px;align-items:center;padding:1px 8px;font-size:11px;border-radius:6px;color:var(--theme-text, #4d5b63);background:var(--theme-surface, #fff)}.stage-menu-list{position:absolute;right:0;top:calc(100% + 4px);z-index:20;min-width:190px;max-height:280px;overflow-y:auto;background:var(--theme-surface, #fff);border:1px solid var(--theme-line, #dde0e7);border-radius:8px;box-shadow:0 6px 20px #2035412a;padding:4px}.crm-page .stage-menu-list button{display:flex;width:100%;justify-content:space-between;gap:10px;border:0;border-radius:5px;background:transparent;color:var(--theme-text, #263b47);padding:5px 8px;font-size:12px;text-align:left}.crm-page .stage-menu-list button:hover,.crm-page .stage-menu-list button:focus-visible{background:var(--theme-info-soft, #eef4fd)}.crm-page .stage-menu-list button[aria-checked=true]{font-weight:700;background:var(--theme-surface-alt, #f0f2f6)}.crm-page .stage-menu-list button[aria-checked=true]:before{content:"✓";margin-right:-4px}.stage-menu-list small{color:var(--theme-muted, #8a959b)}.opportunity-table td,.opportunity-table th{padding:8px 10px}.opportunity-table .num{text-align:right;font-variant-numeric:tabular-nums}.crm-table .pipeline-tag{display:flex;align-items:center;gap:5px}.next-cell.tone-missing,.next-cell.tone-overdue{color:var(--attention)}.next-cell.tone-overdue small{color:var(--attention);font-weight:650}.attention-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;margin:0 0 8px}.attention-summary>strong{font-size:15px}.attention-summary>strong+*{margin-left:6px}.reasons{display:flex;flex-wrap:wrap;gap:3px}.reason{display:inline-block;font-size:11px;line-height:1.5;padding:0 7px;border-radius:9px;white-space:nowrap}.reason.tone-amber{background:var(--attention-bg);color:var(--attention)}.reason.tone-red{background:var(--stalled-bg);color:var(--stalled)}.reason.tone-neutral{background:var(--theme-surface-alt, #f0f2f6);color:var(--theme-text, #4d5b63)}.row-actions{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.crm-page .row-actions .small{padding:2px 9px;font-size:11px;border-radius:6px}.small-link{font-size:12px}.attention-table th:nth-child(1){width:22%}.attention-table th:nth-child(3){width:10%}.attention-table th:nth-child(5){width:15%}.attention-table th:nth-child(7){width:210px}.empty-state{padding:18px;text-align:center;color:var(--theme-muted, #6c7a81);background:var(--theme-surface, #fff);border:1px dashed var(--theme-line, #d9dbe3);border-radius:10px}.opportunity-form .pipeline-color{margin:12px 0}.pipeline-color legend{font-size:13px;margin-bottom:4px}.swatches{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.crm-modal .swatch{width:26px;height:26px;padding:0;border-radius:50%;border:2px solid var(--theme-line, #fff);box-shadow:0 0 0 1px #cfd4da}.crm-modal .swatch[aria-pressed=true]{box-shadow:0 0 0 2px #203541}.crm-modal .swatch-auto{width:auto;border-radius:13px;padding:0 9px;font-size:11px}.opportunity-form .swatch-custom{margin:0;display:inline-flex}.swatch-custom input{width:34px;height:28px;padding:0 2px;border-radius:6px}.stalled-badge{display:inline-block;background:var(--theme-warning-soft, #fff3d8);color:var(--theme-warning-ink, #805307);border:1px solid var(--theme-line, #efdaa6);border-radius:6px;padding:3px 7px;margin:8px 0;font-size:12px}.stalled-explanation{border-left:4px solid var(--theme-warning-line, #d5a347)}.overdue-action{color:var(--theme-danger-ink, #9d2924)}.pipeline-forecasts{margin:20px 0;padding:18px;background:var(--theme-surface, white);border:1px solid var(--border);border-radius:12px}.pipeline-forecasts h2{font-size:15px}.stalled-today{margin-top:30px}.stalled-today-row,.opportunity-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--border)}.stalled-today-row>a,.opportunity-action>div{flex:1;min-width:160px}.opportunity-form fieldset{border:0;margin:0;padding:0;min-width:0}.opportunity-form label{display:block;margin:12px 0}.opportunity-form .opportunity-check{display:flex;align-items:center;gap:8px}.opportunity-form .opportunity-check input{width:18px;height:18px;flex:0 0 18px;margin:0}.stage-settings{border-top:1px solid var(--border);padding:8px 0}.opportunity-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.opportunity-info dt{font-size:12px;color:var(--muted)}.opportunity-info dd{margin:0;overflow-wrap:anywhere}@media(max-width:1200px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.view-switch{margin-left:0}.attention-table th{width:auto!important}}@media(max-width:700px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi-value{font-size:18px}.kpi-label,.kpi-sub{white-space:normal}.overview-head{flex-wrap:wrap}.pipeline-toolbar label{flex:1 1 140px}.view-switch{width:100%}.crm-page .view-switch button{flex:1}.pipeline-board{display:block;overflow:visible}.pipeline-column,.pipeline-column.is-empty{max-width:none;min-width:0;margin:0 0 8px}.pipeline-column.is-empty .column-empty{display:none}}.search-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 18px}.search-tabs a{padding:5px 12px;border:1px solid var(--border);border-radius:99px;background:var(--theme-surface, #fff);color:var(--theme-text, #20334b);font-size:12px;text-decoration:none}.search-tabs a[aria-current=page]{border-color:var(--teal);background:var(--teal);color:var(--theme-on-strong, #fff)}.search-group{margin-bottom:22px}.search-group h2{margin:0 0 8px;font-size:15px}.search-group h2 .muted{margin-left:4px;font-weight:400}.search-list{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--theme-surface, #fff)}.search-hit+.search-hit{border-top:1px solid var(--border)}.search-hit a{display:grid;gap:2px;padding:10px 14px;color:inherit;text-decoration:none}.search-hit a:hover,.search-hit a:focus-visible{background:var(--theme-surface-alt, #f2f7f7)}.search-hit strong{color:var(--navy)}.search-hit small{color:var(--muted);font-size:11px}.search-snippet{color:var(--theme-text, #44576b);font-size:13px;overflow-wrap:anywhere}.search-hit mark{background:var(--theme-warning-soft, #fdf0b8);color:inherit;border-radius:2px}.search-more{display:inline-block;margin-top:6px;font-size:12px}.header-search{flex:1;max-width:380px;margin:0 24px}.header-search input{width:100%;border:1px solid var(--theme-line, #ccd7e2);border-radius:99px;padding:7px 14px;background:var(--theme-canvas, #f7f9fb);color:var(--theme-text, #20334b);font:inherit;font-size:12px}.header-search input:focus{background:var(--theme-surface, #fff);outline:2px solid var(--teal);outline-offset:1px}@media(max-width:700px){.header-search{margin:0 8px 0 0}}:root{--navy: var(--theme-info-ink, #0d2c5f);--teal: var(--theme-success-ink, #1a998c)}main{padding:26px 30px}.topbar{height:58px;padding:0 30px}.crm-page h1{font-size:27px;letter-spacing:-.7px;margin:0 0 5px;color:var(--navy)}.crm-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}.crm-heading p{margin:0;color:var(--theme-muted, #64758a);font-size:13px}.crm-heading .tags{margin-top:8px}.heading-actions{display:flex;gap:8px;flex-shrink:0}.toolbar{display:flex;align-items:center;gap:18px;margin-bottom:14px}.search-box{display:grid;gap:10px;font-size:11px;font-weight:600;flex:1;max-width:460px}.crm-page input,.crm-page select,.crm-page textarea,.crm-modal input,.crm-modal select,.crm-modal textarea{display:block;width:100%;background:var(--theme-surface, white);border:1px solid var(--theme-line, #ccd7e2);border-radius:6px;padding:8px 10px;color:var(--theme-text, #20334b);font:inherit}.crm-page textarea,.crm-modal textarea{min-height:75px;resize:vertical}.muted{color:var(--theme-muted, #6c7c8e);font-size:12px}.table-wrap{overflow:auto;background:var(--theme-surface, white);border:1px solid var(--border);border-radius:8px}.crm-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.crm-table th{font-weight:600;font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--theme-muted, #66788e);background:var(--theme-surface-alt, #f0f4f8);padding:11px 14px;white-space:nowrap}.crm-table td{border-top:1px solid var(--theme-line, #edf0f4);padding:12px 14px;vertical-align:middle}.crm-table tr:hover{background:var(--theme-info-soft, #f9fbfd)}.crm-table small{display:block;color:var(--theme-muted, #748396)}.record-link{color:var(--navy);font-weight:650;text-decoration:none}.record-link:hover{text-decoration:underline}.tags{display:inline-flex;flex-wrap:wrap;gap:4px}.tags span{background:var(--theme-success-soft, #edf6f4);color:var(--theme-success-ink, #22796f);font-size:10px;padding:2px 7px;border-radius:4px;overflow-wrap:anywhere}.pagination{display:flex;align-items:center;gap:8px;margin:12px 0 20px;font-size:11px;color:var(--theme-muted, #64758a)}.pagination span{margin-right:auto}.pagination button{font-size:11px;padding:5px 10px}.list-message{color:var(--theme-muted, #6c7c8e);padding:15px;margin:0;font-size:12px}.crm-modal{width:min(650px,calc(100vw - 24px));max-height:90vh;overflow-y:auto;padding:22px;border:1px solid var(--theme-line, #dae2eb);border-radius:12px;color:var(--theme-text, #20334b);box-shadow:0 20px 70px #0d2c5f35}.crm-modal::backdrop{background:#10294066}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.modal-heading h2{font-size:18px;margin:0}.modal-heading button{padding:3px 9px;font-size:22px}.form-grid{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid label{display:block;font-size:12px;font-weight:500}.form-grid input,.form-grid select,.form-grid textarea{margin-top:5px;font-size:13px}.wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:18px}.company-picker{display:grid;gap:8px;min-width:0}.company-options{border:1px solid var(--line, var(--theme-line, #d7e0eb));border-radius:6px;padding:8px;min-width:0;margin:0}.company-options legend{font-size:13px;font-weight:600;padding:0 4px}.company-options-scroll{max-height:130px;overflow-y:auto}.company-option{display:flex!important;align-items:center;gap:8px;padding:7px 8px;border-radius:4px;cursor:pointer}.company-option:has(input:checked){background:var(--theme-surface-alt, #eaf6f4);color:var(--theme-info-ink, #0d2c5f)}.company-option:focus-within{outline:2px solid var(--theme-focus, #1a998c);outline-offset:-2px}.company-option input[type=radio]{width:16px;height:16px;min-height:0;padding:0;margin:0;flex:0 0 auto;accent-color:var(--theme-success-ink, #1a998c)}.company-option span{overflow-wrap:anywhere}.company-picker .error{grid-column:1/-1}.checkbox-label{display:flex;align-items:center;gap:8px;padding:10px 0 16px}.checkbox-label input{width:auto}.completion-context{font-size:13px;background:var(--theme-info-soft, #f1f6fa);padding:10px;border-radius:6px}.stream-section{background:var(--theme-surface, white);border:1px solid var(--border);border-radius:8px;margin-bottom:18px;overflow:hidden}.stream-heading{background:var(--theme-canvas, #f2f6f9);padding:10px 15px;border-bottom:1px solid var(--border)}.stream-heading h2{margin:0;font-size:13px}.stream-heading h2 span{font-size:11px;font-weight:500;border:1px solid var(--theme-line, #d7e2ea);background:var(--theme-surface, white);border-radius:20px;padding:1px 7px;margin-left:6px}.overdue .stream-heading{background:var(--theme-warning-soft, #fff5f1)}.overdue .stream-heading h2,.overdue .action-side time{color:var(--theme-warning-ink, #9e4f32)}.action-list{list-style:none;margin:0;padding:0}.action-list li{display:flex;align-items:center;padding:13px 15px;gap:14px;border-bottom:1px solid var(--theme-line, #edf0f4)}.action-list li:last-child{border:0}.complete-icon{width:30px;height:30px;padding:0;border:1px solid var(--theme-line, #acbfc9);border-radius:50%;color:var(--teal);flex-shrink:0}.complete-icon:hover{background:var(--theme-success-soft, #dff5ef);border-color:var(--teal)}.action-main{min-width:0;flex:1}.action-main a{color:var(--navy);font-weight:650;text-decoration:none;margin-right:10px}.action-main p{font-size:13px;margin:2px 0;overflow-wrap:anywhere}.action-main small{font-size:10px;color:var(--theme-muted, #6d8192)}.action-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.action-side time{font-size:11px;font-weight:600}.action-side button{font-size:10px;padding:4px 8px}.back-link{display:inline-block;margin-bottom:12px;font-size:12px;text-decoration:none}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.detail-panel,.timeline-panel{background:var(--theme-surface, white);border:1px solid var(--border);border-radius:8px;padding:17px;margin-bottom:16px}.detail-panel h2,.timeline-panel h2{font-size:14px;margin:0 0 15px}.record-info{margin:0}.record-info>div{margin:0 0 15px}.record-info dt{font-size:10px;color:var(--theme-muted, #758596);margin-bottom:3px}.record-info dd{font-size:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.activity-types{display:flex;gap:6px;margin-bottom:8px}.activity-types button{padding:5px 10px;font-size:11px}.activity-types button[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:var(--theme-on-strong, white)}.activity-save{display:flex;gap:8px;align-items:center;margin:9px 0}.activity-save label{font-size:10px}.activity-save input{font-size:11px;padding:5px}.activity-save .primary{margin-left:auto;font-size:11px}.timeline{padding:0;margin:20px 0 0;list-style:none}.timeline li{border-left:2px solid var(--theme-line, #d7e5e8);padding:0 0 20px 15px}.timeline li>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:11px}.timeline time{margin-left:auto;color:var(--theme-muted, #7d8b99)}.timeline p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:6px 0 0}.timeline strong{color:var(--teal)}.related-list{padding:0;margin:0;list-style:none}.related-list li{display:flex;flex-wrap:wrap;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);font-size:12px}.related-list li a{font-weight:600}.related-list span{color:var(--theme-muted, #6c7c8e)}.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}@media(max-width:1050px){.action-main>.muted{display:block}.crm-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}@media(max-width:700px){main{padding:20px 14px}.topbar{padding:0 14px}.crm-heading{flex-direction:column;gap:10px}.crm-page h1{font-size:24px}.toolbar{flex-direction:column;align-items:stretch;gap:6px}.table-wrap{max-width:100%}.detail-layout{grid-template-columns:1fr;gap:0}.action-list li{flex-wrap:wrap;padding:12px;gap:9px}.action-side{padding-left:39px;flex-basis:100%;flex-direction:row;align-items:center;justify-content:space-between}.form-grid,.company-picker{grid-template-columns:1fr}.crm-modal{padding:16px}.activity-save{flex-wrap:wrap}.timeline li>div{align-items:flex-start}.timeline time{width:100%;margin:0}.activity-types,.pagination{flex-wrap:wrap}.pagination span{width:100%}.heading-actions{justify-content:flex-start}.action-main{flex-basis:70%}}.crm-page,.detail-main,.detail-panel,.timeline-panel,.detail-layout>*,.form-grid>*,.crm-heading>div{min-width:0}.crm-heading h1,.crm-heading p,.action-main a,.action-main small{overflow-wrap:anywhere}.crm-table{table-layout:fixed}.crm-table td,.crm-table th{overflow-wrap:anywhere}.crm-table th{white-space:normal}.detail-layout--contact>.detail-main{display:contents}.activity-types,.activity-save{flex-wrap:wrap}.activity-save input{max-width:100%}.timeline-panel textarea{max-width:50rem}.detail-layout .action-list li{flex-wrap:wrap}.detail-layout .action-side{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap}.detail-layout .action-main{flex-basis:calc(100% - 48px)}@container workspace (min-width: 850px){.detail-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,2fr)}.detail-layout--contact>.detail-panel{grid-column:1;grid-row:1 / span 2}.detail-layout--contact .stream-section,.detail-layout--contact .timeline-panel{grid-column:2}}@container workspace (min-width: 1450px){.detail-layout--contact{grid-template-columns:minmax(0,.85fr) minmax(0,1.1fr) minmax(0,1.4fr)}.detail-layout--contact>.detail-panel{grid-row:1}.detail-layout--contact .stream-section{grid-column:2}.detail-layout--contact .timeline-panel{grid-column:3}}@container workspace (max-width: 849px){.crm-table,.crm-table tbody,.crm-table tr,.crm-table td{display:block;width:100%}.crm-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.crm-table tr{padding:10px 12px;border-bottom:1px solid var(--border)}.crm-table td{display:grid;grid-template-columns:minmax(75px,.6fr) minmax(0,1.4fr);gap:4px 12px;padding:5px 0;border:0}.crm-table td:before{content:attr(data-label);color:var(--theme-muted, #66788e);font-size:10px;font-weight:600;grid-column:1;grid-row:1 / span 3}.crm-table td>*{grid-column:2;min-width:0}.crm-heading,.toolbar{flex-wrap:wrap}.activity-save .primary{margin-left:0}}.crm-page button.danger{color:var(--theme-danger-ink, #a12622);border-color:var(--theme-danger-line, #a12622)}.tag-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}.tag-suggestions button{padding:5px 12px;font-size:.9rem}.suggested-tags-field{grid-column:1 / -1}.settings-card textarea{display:block;width:100%;margin-top:8px}.crm-table tbody>tr:nth-child(2n):not(:hover),.contract-table tbody>tr:nth-child(2n):not(:hover),.related-list>.record-row:nth-child(2n):not(:hover){background-color:var(--theme-warning-soft, #fffbea)}.record-row{cursor:pointer}.record-row:focus-within{outline:2px solid var(--theme-focus, #3974b5);outline-offset:-2px}.import-menu{position:relative}.import-menu>button{border-radius:24px;font-weight:600;padding-inline:18px}.import-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:20;min-width:210px;display:grid;padding:6px;background:var(--theme-surface, #fff);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #20354124}.import-menu-panel a{padding:8px 10px;border-radius:6px;color:var(--navy);text-decoration:none;font-size:13px}.import-menu-panel a:hover,.import-menu-panel a:focus-visible{background:var(--theme-surface-alt, #f2f7f7)}.import-menu-label{margin:4px 10px 2px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.import-menu-panel hr{width:100%;margin:6px 0;border:0;border-top:1px solid var(--border)}@media(max-width:700px){.import-menu-panel{left:0;right:auto}}.crm-table .select-cell{width:36px;padding-right:0}.select-cell input{width:16px;height:16px;margin:0;cursor:pointer}.bulk-bar{position:sticky;top:8px;z-index:15;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--theme-line, #b9d7d5);border-radius:12px;background:var(--theme-surface-alt, #eef7f6);box-shadow:0 4px 14px #20354114}.bulk-bar .primary{margin-left:auto}.bulk-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;background:var(--theme-success-soft, #eef7ee);color:var(--theme-success-ink, #24502c)}@media(max-width:700px){.crm-table .select-cell{width:auto}.bulk-bar .primary{margin-left:0}}.record-picker-results{display:flex;flex-direction:column;gap:.35rem;margin:.4rem 0;max-height:14rem;overflow-y:auto}.record-picker-results>button{text-align:left;border-radius:.35rem;padding:.5rem .75rem}.record-picker-results>[role=status]{font-size:.85rem}:root{color:var(--theme-text, #263b47);background:var(--theme-canvas, #f7f7fa);--navy: var(--theme-text, #203541);--teal: var(--theme-info-ink, #326ba9);--muted: var(--theme-muted, #738087);--border: var(--theme-line, #e9e9ee)}.crm-page{max-width:1440px;margin-inline:auto}.crm-page a{text-decoration:none}.crm-page a:hover{text-decoration:underline}.crm-page h1{color:var(--theme-text, #203541);letter-spacing:-.45px;font-size:28px}.crm-page h2{color:var(--theme-text, #203541);letter-spacing:-.25px}.sidebar{background:var(--theme-canvas, #f7f7fa);border-right-color:var(--theme-line, #e5e5ec)}.topbar{background:var(--theme-header, #203541);color:var(--theme-on-strong, #edf3f6);border-bottom:3px solid var(--theme-warning-line, #ff9600)}.topbar .preview-label{color:var(--theme-on-strong, #edf3f6);border-color:var(--theme-line, #657781)}.topbar a{color:var(--theme-on-strong, #fff)}.nav-item.active{background:var(--theme-warning-soft, #fff0d9);color:var(--theme-warning-ink, #8b4c00);box-shadow:inset 3px 0 #ff9600}.nav-item:hover{background:var(--theme-surface-alt, #eeeef3)}.crm-page button,.crm-modal button{border-radius:20px;color:var(--theme-info-ink, #326ba9)}.crm-page .primary,.crm-modal .primary{background:var(--theme-warning-solid, #ff9600);border-color:var(--theme-warning-line, #ff9600);color:var(--theme-text, #203541);border-radius:24px;font-weight:700;padding-inline:20px}.crm-page .primary:hover,.crm-modal .primary:hover{background:var(--theme-warning-solid, #ed8900);border-color:var(--theme-warning-line, #ed8900)}.crm-page button:focus-visible,.crm-page a:focus-visible{outline-color:var(--theme-focus, #326ba9)}.heading-actions{flex-wrap:wrap}.record-profile{background:var(--theme-surface, white);border:1px solid var(--border);border-radius:16px;padding:30px 32px 24px;margin-bottom:24px;box-shadow:0 1px 2px #20354106}.record-profile .crm-heading{align-items:flex-start;margin-bottom:24px;flex-wrap:wrap}.profile-identity{display:flex;align-items:center;gap:22px;min-width:0}.profile-identity>div{min-width:0;overflow-wrap:anywhere}.profile-avatar{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;border-radius:22px;background:var(--theme-info-soft, #e7edf8);color:var(--theme-info-ink, #326ba9);font-size:25px;font-weight:700}.record-profile .crm-heading p{font-size:15px;color:var(--theme-muted, #68757b)}.profile-information{border-top:1px solid var(--theme-line, #f0f0f4);padding-top:20px}.profile-information h2{font-size:13px;font-weight:600;margin:0 0 16px;color:var(--theme-muted, #738087)}.profile-information .record-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px 28px}.profile-information .record-info>div{margin:0;min-width:0}.profile-information dt{font-size:11px;color:var(--theme-muted, #77848b)}.profile-information dd{font-size:14px}.record-info>div:has(dd a) dd{color:var(--theme-info-ink, #326ba9)}.tags span{background:var(--theme-info-soft, #f0f5fc);color:var(--theme-info-ink, #326ba9);border-color:var(--theme-line, #e8eff9);border-radius:12px}.detail-layout,.detail-layout--contact{display:block}.detail-layout--contact>.detail-main{display:block}.detail-panel,.timeline-panel,.stream-section{border-color:var(--border);border-radius:16px;box-shadow:0 1px 2px #20354104;margin-bottom:24px}.detail-panel,.timeline-panel{padding:26px 30px}.detail-panel h2,.timeline-panel h2{font-size:19px;margin-bottom:22px}.stream-heading,.overdue .stream-heading{background:var(--theme-surface, white);padding:22px 26px;border-bottom:0}.stream-heading h2{font-size:19px}.action-list{padding:0 18px 12px}.action-list li{background:var(--theme-surface, #fff);border:1px solid var(--theme-line, #efeff3);border-radius:8px;margin-bottom:7px;padding:16px;gap:16px}.action-list li:last-child{border:1px solid var(--theme-line, #efeff3)}.action-list li:hover{background:var(--theme-info-soft, #f4f8ff)}.detail-main .action-list li:first-child{background:var(--theme-info-soft, #e8f0ff);border-color:var(--theme-line, #e8f0ff)}.action-main p{font-size:14px}.action-main a{font-size:15px}.complete-icon{border-radius:6px!important;width:26px;height:26px;background:var(--theme-surface, white)}.action-side time{color:var(--theme-warning-ink, #725114);background:var(--theme-warning-soft, #fff0d6);padding:3px 10px;border-radius:4px;font-weight:600}.overdue .action-side time{background:var(--theme-danger-soft, #fff0ef);color:var(--theme-danger-ink, #a52320)}.activity-types button{padding:6px 20px;border-color:var(--theme-line, #90afd0)}.activity-types button[aria-pressed=true]{background:var(--theme-info-soft, #e8f0ff);color:var(--theme-info-ink, #245a98);border-color:var(--theme-info-line, #326ba9)}.related-list li{padding-block:14px}.detail-panel article{border-top:1px solid var(--border);padding:22px 0}.detail-panel article h3{font-size:16px;margin:0 0 10px}.detail-panel article small{color:var(--theme-muted, #77848b)}.historical-comments{line-height:1.8}.table-wrap{border-radius:12px}.crm-table th{background:var(--theme-canvas, #f4f4f8);color:var(--theme-muted, #6b777e)}.crm-table td{padding-block:15px}.crm-table tr:hover{background:var(--theme-info-soft, #f0f6ff)}@media(max-width:700px){.record-profile{padding:20px 16px}.profile-avatar{width:52px;height:52px;flex-basis:52px;font-size:20px;border-radius:16px}.profile-identity{gap:12px}.record-profile .crm-heading{gap:20px}.crm-page h1{font-size:23px}.detail-panel,.timeline-panel{padding:20px 16px}.stream-heading{padding:18px 16px}.action-list{padding-inline:10px}.heading-actions{flex-shrink:1}}.crm-heading{flex-wrap:wrap}.heading-actions{min-width:0;max-width:100%;flex-shrink:1;align-items:center}@container workspace (min-width: 850px){.detail-layout .action-main{flex-basis:0}.detail-layout .action-side{flex:0 1 auto}}
