:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--brand-navy:#344779;--brand-navy-deep:#26395f;--brand-ink:#18294f;--brand-coral:#ef5b50;--brand-coral-soft:#fff0ed;--brand-blue-soft:#cbd1e7;--page:#f2eee8;--surface:#f7f4ef;--surface-muted:#ebe7e1;--line:#d7d3cf;--text:#1e2e53;--text-muted:#566483;--green:#83a952;--amber:#efa226;--topbar-height:88px;--sidebar-width:199px}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--page);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Arial,Helvetica,sans-serif;font-size:15px}a{color:inherit;text-decoration:none}.crm-app{background:var(--page);min-height:100vh}.topbar{background:var(--page);height:var(--topbar-height);z-index:10;border-bottom:1px solid #d5d1cd;align-items:center;padding:0 28px;display:flex;position:relative}.mobile-menu-toggle,.mobile-sidebar-header,.mobile-nav-backdrop{display:none}.mobile-topbar-main{display:contents}.topbar-divider{order:1}.ai-ask-widget{order:2}.topbar-tools{order:3}.brand-lockup{color:var(--brand-ink);letter-spacing:-1.1px;white-space:nowrap;flex:0 0 254px;align-items:center;font-size:29px;display:flex}.brand-lockup strong{color:var(--brand-coral);font-weight:700}.brand-mark{color:var(--brand-navy);width:42px;height:42px;margin-right:13px}.topbar-divider{background:#b7bfd6;align-self:center;width:1px;height:42px}.ai-ask-widget{z-index:5;flex:420px;min-width:120px;margin:0 28px;position:relative}.ai-ask-form{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;min-height:44px;padding:0 10px 0 14px;display:flex}.ai-ask-sparkle{color:var(--brand-coral);font-size:19px}.ai-ask-form input{color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;min-width:0}.ai-ask-form input::placeholder{color:var(--text-muted)}.ai-ask-form button{color:var(--brand-navy);cursor:pointer;font:inherit;background:0 0;border:0;padding:7px;font-size:13px;font-weight:700}.ai-ask-form button:disabled{cursor:default;opacity:.5}.ai-ask-form .ai-ask-close{color:var(--text-muted);padding:2px 5px;font-size:21px}.ai-ask-popover{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:12px;max-height:min(60vh,460px);padding:18px 20px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 34px #0f1c352e}.ai-ask-popover-title{margin-bottom:10px;font-size:14px;font-weight:700}.ai-ask-popover p{white-space:pre-wrap;margin:0 0 12px;line-height:1.55}.ai-ask-popover small{color:var(--text-muted);font-size:11px}.ai-ask-answer{overflow-wrap:anywhere}.topbar-module{color:var(--brand-ink);align-items:center;gap:10px;padding:0 22px;font-size:18px;display:flex;position:relative}.topbar-module svg{width:24px;height:24px}.topbar-module.active{color:var(--brand-coral);font-weight:700}.topbar-module.active:after{background:var(--brand-coral);content:"";height:4px;position:absolute;bottom:9px;left:16px;right:16px}.topbar-spacer{flex:1}.topbar-tools{color:var(--brand-navy);border-left:1px solid #d2cfd1;align-items:center;gap:26px;padding-left:28px;display:flex}.ai-settings-page{max-width:1120px}.ai-page-heading{min-width:0}.ai-view-actions{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.ai-view-actions .record-filter-button[aria-selected=true]{background:#263f70}.ai-privacy-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;gap:16px;max-width:1000px;margin-top:28px;padding:24px;display:grid}.ai-privacy-card h2{color:var(--brand-ink);margin:0;font-size:18px}.ai-privacy-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-field-filters{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ai-field-filters .record-filter-button{min-height:32px;padding:6px 11px}.ai-field-filters .record-filter-button[aria-pressed=true]{background:#263f70}.ai-privacy-card>p{color:var(--text-muted);margin:0;line-height:1.55}.paginated-list{width:100%;min-width:0}.list-pagination{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding:14px 0;display:flex}.list-pagination label,.pagination-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.list-pagination label,.pagination-count{color:var(--text-muted);font-size:13px}.list-pagination select{background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:6px;min-height:36px;padding:6px 9px}.pagination-controls .pagination-link{appearance:none;color:var(--brand-ink);cursor:pointer;font:inherit;text-underline-offset:3px;background:0 0;border:0;padding:4px 2px;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.pagination-controls .pagination-link:hover:not(:disabled),.pagination-controls .pagination-link:focus-visible{text-decoration-color:currentColor}.pagination-controls .pagination-link:focus-visible{outline:2px solid var(--brand-ink);outline-offset:3px;border-radius:3px}.pagination-controls .pagination-link:disabled{color:var(--text-muted);cursor:default;opacity:.55;text-decoration:none}@media (max-width:640px){.list-pagination{flex-direction:column;align-items:flex-start}.pagination-controls{width:100%}}.ai-privacy-list{border:1px solid var(--line);border-radius:10px;overflow:hidden}.ai-privacy-row{background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:minmax(140px,.7fr) minmax(180px,1fr) minmax(250px,2fr);align-items:center;gap:16px;padding:13px 16px;display:grid}.ai-privacy-row:last-child{border-bottom:0}.ai-privacy-row strong{color:var(--brand-ink)}.ai-privacy-row strong small{color:var(--text-muted);overflow-wrap:anywhere;margin-top:3px;font-size:10px;font-weight:500;display:block}.ai-privacy-row>span:last-child{color:var(--text-muted);font-size:13px}.ai-privacy-entity{color:var(--text-muted);font-size:12px;font-weight:700}.ai-privacy-warning{background:color-mix(in srgb, #e8a52a 12%, var(--surface));border-left:3px solid #e8a52a;padding:13px 16px}.ai-privacy-warning strong{color:var(--brand-ink)}.ai-privacy-select{cursor:pointer}.ai-privacy-select>span:last-child{align-items:center;gap:8px;display:inline-flex}.ai-hard-locked-checkbox:disabled{appearance:none;cursor:not-allowed;opacity:1;background:#31558f;border:1px solid #31558f;border-radius:3px;width:16px;height:16px;margin:0;position:relative}.ai-hard-locked-checkbox:disabled:after{color:#fff;content:"✓";text-align:center;font-size:12px;font-weight:800;line-height:14px;position:absolute;inset:0}.ai-hard-locked-label{color:var(--brand-navy);font-size:12px}.sales-page-heading{min-width:0}.sales-record-list{gap:10px;margin-top:28px;display:grid}.sales-record-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.sales-record-card h2{color:var(--brand-ink);margin:0;font-size:16px}.sales-record-title .sales-opportunity-title{font-size:21px}.sales-opportunity-location{color:var(--text-muted);font-size:14px;font-weight:500}.sales-lead-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sales-lead-card p,.sales-record-date{color:var(--text-muted);margin:7px 0 0;font-size:12px}.sales-record-main{min-width:0}.sales-record-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sales-status-badge{background:color-mix(in srgb, var(--brand-navy) 10%, var(--surface));color:var(--brand-navy);border-radius:999px;padding:4px 9px;font-size:11px;font-weight:700}.sales-status-badge.won{color:#28633a;background:#e4f3e8}.sales-status-badge.lost{color:#a34035;background:#f8e5e2}.sales-record-meta{color:var(--text-muted);flex-wrap:wrap;gap:7px 14px;margin-top:8px;font-size:12px;display:flex}.sales-dialog{flex-direction:column;max-width:820px;max-height:calc(100vh - 36px);display:flex;overflow:hidden}.sales-form{min-height:0;padding-right:4px;overflow:auto}.sales-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.sales-form-grid label{gap:5px;display:grid}.sales-extra-fields{border-top:1px solid var(--line);gap:12px;margin-top:4px;padding-top:12px;display:grid}.sales-extra-fields summary{color:var(--brand-navy);cursor:pointer;font-size:13px;font-weight:700}.sales-form input[readonly]{background:var(--surface-muted);color:var(--text-muted)}.sales-form input,.sales-form select,.sales-form textarea{background:var(--page);border:1px solid var(--line);box-sizing:border-box;color:var(--text);font:inherit;border-radius:6px;width:100%;min-height:37px;padding:7px 9px}.sales-form textarea{resize:vertical}.sales-contact-select>div{align-items:center;gap:8px;display:flex}.sales-contact-select select{flex:1;min-width:0}.sales-new-person{border:1px solid var(--line);border-radius:8px;gap:12px;padding:14px;display:grid}.sales-new-person legend{color:var(--brand-ink);padding:0 5px;font-size:12px;font-weight:700}.empty-state{color:var(--text-muted);padding:24px 0}.ai-settings-form{gap:18px;max-width:850px;margin-top:28px;display:grid}.ai-settings-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;gap:14px;padding:24px;display:grid}.ai-settings-card h2{color:var(--brand-ink);margin:0;font-size:18px}.ai-settings-card p,.ai-settings-card small{color:var(--text-muted);margin:0;line-height:1.5}.ai-settings-card small{font-size:12px}.ai-settings-card .field-label{gap:7px;display:grid}.ai-settings-card .text-input{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:8px;width:100%;padding:11px 12px}.ai-settings-card textarea{resize:vertical}.ai-check{color:var(--text);align-items:flex-start;gap:10px;line-height:1.45;display:flex}.ai-check input{accent-color:var(--brand-coral);flex:none;width:16px;height:16px;margin-top:2px}.ai-settings-actions{flex-wrap:wrap;gap:12px;display:flex}.success-notice{color:var(--green);margin:0}.topbar-icon{width:25px;height:25px;display:inline-flex;position:relative}.topbar-icon svg{width:100%;height:100%}.notification-icon i{background:var(--amber);border:2px solid var(--page);border-radius:50%;width:11px;height:11px;position:absolute;top:-1px;right:-1px}.profile-avatar{color:var(--brand-navy);background:#d8dced;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:15px;display:inline-flex}.profile-chevron{border-bottom:2px solid var(--brand-navy);border-right:2px solid var(--brand-navy);width:9px;height:9px;margin-left:-18px;transform:rotate(45deg)translateY(-3px)}.app-body{min-height:calc(100vh - var(--topbar-height));display:flex}.sidebar{--sidebar-label:#e1e8f652;color:var(--sidebar-label);flex:0 0 var(--sidebar-width);min-height:calc(100vh - var(--topbar-height));background:linear-gradient(#374b79 0%,#304571 100%);flex-direction:column;padding:26px 8px 14px;display:flex}.sidebar-menu-control{appearance:none;box-shadow:none;color:var(--sidebar-label);background:0 0;border:0;border-bottom:1px solid #a9b1c1;border-radius:0;text-decoration:none}.sidebar-menu-control:focus-visible{box-shadow:inset 0 -2px 0 var(--brand-coral);outline:none}.sidebar-section-label{cursor:pointer;text-align:left;background:0 0;border-bottom:0;border-radius:0;justify-content:flex-start;align-items:center;gap:9px;width:100%;min-height:46px;margin:0 0 15px;padding:0 8px;font-size:16px;font-weight:700;display:flex;position:relative}.sidebar-section-label:hover{color:var(--sidebar-label);background:0 0}.sidebar-section-label.has-active-submenu .sidebar-section-name{color:var(--sidebar-label)}.sidebar-section-name{flex:0 auto}.sidebar-section-label:after{background:var(--sidebar-label);content:"";height:1px;position:absolute;bottom:-5px;left:-8px;right:-8px}.sidebar-section-chevron{border-bottom:2px solid;border-right:2px solid;flex:0 0 8px;width:8px;height:8px;margin:0 2px 4px auto;transition:transform .14s;transform:rotate(45deg)}.sidebar-section-chevron.expanded{margin-bottom:-4px;transform:rotate(225deg)}.sidebar-section-label svg{width:24px;height:24px}.team-nav{flex-direction:column;gap:1px;margin-bottom:22px;display:flex}.team-nav-link{border-bottom:0;align-items:center;gap:12px;min-height:38px;padding:0 7px;font-size:13px;transition:background-color .14s,color .14s;display:flex;position:relative}.team-nav-link:focus-visible{box-shadow:none;outline-offset:-2px;outline:2px solid #fff}.team-nav-link:hover{background:#ffffff1a}.team-nav-link svg{color:#f0f2f8;flex:0 0 21px;width:21px;height:21px}.team-nav-link.selected{background:var(--brand-coral);color:var(--sidebar-label);font-weight:700}.nav-indicator{display:none}.sidebar-footer{color:var(--sidebar-label);border-top:1px solid #e6ebf840;flex-direction:column;gap:4px;margin:auto 10px 0;padding:14px 12px 2px;display:flex}.pwa-install-control{display:none}.version-caption{color:var(--sidebar-label);letter-spacing:.06em;text-transform:uppercase;font-size:11px}.version-number{font-variant-numeric:tabular-nums;font-size:13px;font-weight:700}.workspace{background:var(--page);flex:1;min-width:0}.workspace-content{max-width:1600px;min-height:calc(100vh - var(--topbar-height));margin:0 auto;padding:37px 34px 40px;position:relative}.page-heading-row{z-index:1;justify-content:space-between;align-items:flex-start;display:flex;position:relative}.page-title-line{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.page-title-line .primary-button,.page-title-line .secondary-button,.page-title-line .record-filter-button{margin-top:4px}.filter-trigger-slot{align-items:center;gap:10px;display:inline-flex}.eyebrow{color:#667493;letter-spacing:.12em;margin:0 0 13px;font-size:10px;font-weight:700}h1{color:var(--brand-ink);letter-spacing:-1.2px;margin:0;font-size:clamp(30px,3vw,43px);line-height:1.12}.page-subtitle{color:var(--text-muted);margin:10px 0 0;font-size:18px}.page-subtitle-row{flex-wrap:wrap;align-items:baseline;gap:12px;margin-top:10px;display:flex}.page-subtitle-row .page-subtitle{margin:0}.account-count{color:var(--text-muted);white-space:nowrap;font-size:13px}.text-action{color:var(--brand-coral);white-space:nowrap;margin:57px 2px 0 20px;font-size:17px;font-weight:700}.building-wrap{pointer-events:none;width:min(34vw,405px);height:143px;position:absolute;top:5px;right:32px}.building-illustration{stroke:#52658e;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25px;width:100%;height:100%}.building-illustration .building-accent{stroke:var(--brand-coral);stroke-width:2.3px}.preview-notice{color:#78839a;z-index:1;align-items:center;gap:8px;margin-top:24px;font-size:11px;display:flex;position:relative}.notice-dot{background:#929bb0;border-radius:50%;width:6px;height:6px}.list-toolbar{justify-content:space-between;align-items:center;max-width:950px;margin:20px 0 11px;display:flex}.search-control{color:#78839a;border-bottom:1px solid #a9b0bf;align-items:center;gap:12px;width:100%;max-width:540px;padding:9px 1px 11px;font-size:14px;display:flex}.search-control svg{color:var(--brand-navy);width:20px;height:20px}.result-count{color:#77839e;white-space:nowrap;margin-left:16px;font-size:12px}.user-list{max-width:1500px;overflow-x:auto}.user-row{border-bottom:1px solid var(--line);white-space:nowrap;grid-template-columns:minmax(230px,1.2fr) minmax(220px,1.3fr) minmax(145px,.8fr) minmax(170px,1fr) minmax(115px,.65fr);align-items:center;gap:14px;min-height:59px;padding:5px 14px;display:grid}.user-row:nth-child(2n){background:#34477909;border-radius:5px}.user-row-header{color:#43567e;letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid #c6c5c7;min-height:44px;font-size:11px;font-weight:700}.user-person{align-items:center;gap:12px;min-width:0;display:flex}.user-avatar{color:#304471;border-radius:50%;flex:0 0 39px;justify-content:center;align-items:center;width:39px;height:39px;font-size:12px;font-weight:700;display:inline-flex}.user-avatar.coral{background:#f6d8d2}.user-avatar.blue{background:#d5dcef}.user-avatar.lavender{background:#dcd9ed}.user-avatar.amber{background:#f5e3c6}.user-avatar.green{background:#dce6d3}.user-name{color:#192a50;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.user-email{color:#596783;text-overflow:ellipsis;font-size:12px;overflow:hidden}.user-row>span:not(.user-email):not(.status-label){color:#35476d;text-overflow:ellipsis;font-size:12px;overflow:hidden}.status-label{color:#344365;align-items:center;gap:8px;font-size:12px;display:inline-flex}.status-label i{border-radius:50%;width:9px;height:9px}.status-active{background:var(--brand-coral)}.status-away{background:var(--amber)}.auth-page{background:radial-gradient(ellipse at 82% 12%, #ef5b501f, transparent 36%), linear-gradient(135deg, var(--page), var(--surface-muted));justify-content:center;align-items:center;min-height:100vh;padding:28px 16px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;width:100%;max-width:460px;padding:34px 38px}.auth-brand{color:var(--brand-ink);letter-spacing:-.7px;align-items:center;gap:10px;margin-bottom:38px;font-size:24px;font-weight:500;display:flex}.auth-brand strong{color:var(--brand-coral)}.auth-brand-symbol{width:32px;height:32px;display:inline-flex;position:relative}.auth-brand-symbol i,.auth-brand-symbol b{clip-path:polygon(0 32%,100% 0,100% 68%,0 100%);width:18px;height:27px;display:block;position:absolute;top:2px}.auth-brand-symbol i{background:var(--brand-navy);left:0}.auth-brand-symbol b{background:var(--brand-coral);right:0;transform:rotate(180deg)}.auth-card .eyebrow{margin-bottom:9px}.auth-card h1{margin:0;font-size:34px}.auth-intro{color:var(--text-muted);margin:10px 0 25px;line-height:1.55}.auth-form{flex-direction:column;gap:10px;display:flex}.auth-form label,.user-form label{color:var(--text);margin-top:7px;font-size:13px;font-weight:700}.auth-form .auth-remember{align-items:center;gap:9px;margin-top:2px;font-weight:500;display:flex}.auth-form .auth-remember input{accent-color:var(--brand-coral);width:18px;min-height:18px;padding:0}.auth-form input,.user-form input,.user-form select{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:7px;width:100%;min-height:44px;padding:10px 12px}.auth-form input:focus,.user-form input:focus,.user-form select:focus{border-color:var(--brand-coral);outline:3px solid #ef5b5033}.primary-button,.secondary-button,.danger-button{cursor:pointer;font:inherit;text-align:center;border:0;border-radius:7px;justify-content:center;align-items:center;min-height:40px;padding:9px 15px;font-size:13px;font-weight:700;display:inline-flex}.primary-button{background:var(--brand-coral);color:#fff}.primary-button:hover{background:#d94c43}.secondary-button{background:var(--surface-muted);color:var(--text)}.danger-button{background:var(--brand-coral-soft);color:var(--brand-coral)}.mail-connection-row{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 12px;display:flex}.mail-connection-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mail-connection-status{color:var(--green);background:#83a95224;border:1px solid #83a95247;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;line-height:1.3}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{cursor:wait;opacity:.65}.auth-submit{width:100%;min-height:46px;margin-top:12px}.auth-footnote,.password-hint{color:var(--text-muted);font-size:12px;line-height:1.5}.auth-footnote{border-top:1px solid var(--line);margin:25px 0 0;padding-top:16px}.password-hint{margin:0}.form-error{background:var(--brand-coral-soft);color:var(--brand-coral);border-radius:6px;margin:5px 0;padding:10px 12px;font-size:13px;line-height:1.5}.form-success{color:var(--green);background:#25875c1a;border-radius:6px;margin:5px 0;padding:10px 12px;font-size:13px;line-height:1.5}.invite-success{gap:14px;margin-top:18px;line-height:1.5;display:grid}.invite-success p{margin:0}.auth-loading{color:var(--text-muted);justify-content:center;align-items:center;min-height:100vh;display:flex}.user-management{max-width:1500px;margin-top:27px}.user-management-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.user-management-heading h2{color:var(--brand-ink);margin:0;font-size:17px}.user-management-heading p{color:var(--text-muted);margin:5px 0 0;font-size:12px}.user-management-table{overflow-x:auto}.managed-user-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,1.3fr) minmax(115px,.7fr) minmax(150px,.9fr) minmax(105px,.65fr) minmax(145px,.8fr) minmax(140px,auto);align-items:center;gap:14px;min-height:58px;padding:7px 12px;display:grid}.managed-user-row:nth-child(2n){background:#34477909}.managed-user-row:not(.managed-user-header){background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:8px;position:relative}.managed-user-header{color:#43567e;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap;min-height:40px;margin-bottom:8px;font-size:11px;font-weight:700}.managed-user-name{color:var(--brand-ink);font-size:15px;font-weight:700}.managed-user-row:not(.managed-user-header) .managed-user-name{background:var(--surface);border:1px solid var(--text-muted);border-radius:999px;padding:2px 9px;position:absolute;top:0;left:12px;transform:translateY(-50%)}.managed-user-email{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}.managed-user-identity-value{text-align:left}.managed-user-meta{color:var(--text-muted);font-size:12px}.managed-user-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.managed-user-actions .danger-button{min-height:34px;padding:6px 10px}.managed-user-actions .secondary-button{white-space:nowrap;min-height:34px;padding:6px 10px;font-size:11px}.managed-status{align-items:center;gap:7px;font-size:12px;display:inline-flex}.managed-status:before{background:var(--green);content:"";border-radius:50%;width:8px;height:8px}.managed-status.invited:before{background:var(--amber)}.managed-status.blocked:before{background:#8a93a6}.user-list-state{color:var(--text-muted);padding:18px 12px;font-size:13px}.invite-link-panel{background:var(--surface-muted);border-left:3px solid var(--green);margin-top:15px;padding:14px}.invite-link-panel p{color:var(--text-muted);margin:0 0 9px;font-size:12px;line-height:1.5}.invite-link-row{gap:8px;display:flex}.invite-link-row input{background:var(--page);border:1px solid var(--line);color:var(--text);border-radius:6px;flex:1;min-width:0;padding:8px}.dialog-backdrop{z-index:20;background:#0c142694;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.user-dialog{background:var(--surface);border:1px solid var(--line);border-radius:12px;width:100%;max-width:480px;padding:26px}.user-dialog h2{color:var(--brand-ink);margin:0;font-size:21px}.user-dialog>p{color:var(--text-muted);margin:8px 0 18px;font-size:13px;line-height:1.5}.user-form{flex-direction:column;gap:9px;display:flex}.user-form-actions{justify-content:flex-end;gap:9px;margin-top:10px;display:flex}.contacts-heading{align-items:flex-start}.record-list-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;max-width:none;margin:0 0 14px;display:flex}.record-list-toolbar>span{color:var(--text-muted);white-space:nowrap;font-size:11px}.record-filter-count{color:var(--text-muted);white-space:nowrap;font-size:11px;font-weight:400}.record-filter-wrap{flex:0 auto;min-width:0}.record-filter-wrap.open{flex-basis:100%}.record-filter-button{color:#fff;cursor:pointer;font:inherit;background:#31558f;border:0;border-radius:7px;align-items:center;gap:8px;min-height:38px;padding:8px 14px;font-size:13px;font-weight:700;display:inline-flex}.record-filter-button:hover{background:#263f70}.record-filter-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8px;width:17px;height:17px}.record-filter-panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;width:100%;min-width:0;max-height:min(70vh,560px);margin-top:8px;padding:16px;position:static;overflow:auto;box-shadow:0 12px 34px #0c19342e}.record-filter-panel-heading{color:var(--brand-ink);justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.record-filter-grid{grid-template-columns:repeat(auto-fill,minmax(220px,240px));gap:11px 16px;display:grid}.record-filter-grid label{color:var(--text-muted);gap:5px;font-size:11px;font-weight:700;display:grid}.record-filter-grid input,.record-filter-grid select{background:var(--page);border:1px solid var(--line);box-sizing:border-box;color:var(--text);font:inherit;border-radius:6px;width:100%;min-height:36px;padding:6px 9px;font-size:13px}.custom-field-flags{flex-wrap:wrap;align-items:center;gap:10px 18px;display:flex}.custom-field-flags label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.custom-field-flags input{accent-color:var(--brand-coral);width:15px;height:15px}.custom-field-card-flags{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.custom-field-flag-help{color:var(--text-muted);max-width:850px;margin:7px 0 0;font-size:11px;line-height:1.6}.contact-custom-table{border-top:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 18px;margin:12px 0 0;padding-top:10px;display:grid}.contact-custom-table>div{min-width:0}.contact-custom-table dt{color:var(--text-muted);font-size:10px;font-weight:700}.contact-custom-table dd{color:var(--brand-ink);overflow-wrap:anywhere;margin:3px 0 0;font-size:12px}.contacts-list{gap:19px;max-width:1100px;display:grid}.contact-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;grid-template-columns:minmax(0,1fr) minmax(210px,.45fr);align-items:center;gap:20px;margin-top:8px;padding:15px 18px;display:grid;position:relative}.contact-card.has-job-title{padding-top:36px}.contact-card:nth-child(2n){background:color-mix(in srgb, var(--surface) 94%, var(--brand-navy))}.contact-card-title{background:inherit;text-align:left;max-width:calc(100% - 26px);padding:0 5px;position:absolute;top:0;left:13px;transform:translateY(-50%)}.contact-card-title h2{border:1px solid var(--text-muted);color:var(--brand-ink);background:0 0;border-radius:999px;margin:0;padding:2px 9px;font-size:17px;line-height:1.15;display:inline-block}.contact-card-job-title{background:inherit;color:var(--text-muted);font-size:12px;line-height:1.25;position:absolute;top:13px;left:18px}.contact-card-details{color:var(--text-muted);flex-wrap:wrap;gap:5px 13px;margin-top:8px;display:flex}.contact-card-details>*{overflow-wrap:anywhere;font-size:12px}.contact-card-details>*+:before{color:var(--line);content:"|";margin-right:13px}.contact-card-details a{color:var(--brand-navy)}.contact-card-meta{color:var(--text-muted);text-align:right;flex-direction:column;align-items:flex-end;gap:7px;font-size:11px;display:flex}.contact-visibility{border-radius:99px;padding:4px 9px;font-size:10px;font-weight:700}.contact-visibility.company{color:var(--green);background:#83a95224}.contact-visibility.structure{background:var(--brand-coral-soft);color:var(--brand-coral)}.contact-card-actions{gap:7px;display:flex}.contact-card-actions button{min-height:32px;padding:6px 10px}.contact-shared-badge{color:var(--text-muted);padding:6px 4px;font-size:12px}.contact-shares-dialog{max-width:520px}.contact-shares-dialog .dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.contact-shares-dialog .dialog-heading h2{margin:0}.contact-shares-dialog .dialog-heading p{color:var(--text-muted);margin:6px 0 14px}.contact-shares-list{margin:0;padding:0;list-style:none}.contact-shares-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;display:flex}.contact-shares-list li>span{gap:4px;min-width:0;display:grid}.contact-shares-list small{color:var(--text-muted);overflow-wrap:anywhere}.contact-share-candidate{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;gap:4px;width:100%;min-width:0;padding:0;display:grid}.contact-share-candidate:disabled{cursor:wait;opacity:.65}.contact-share-revoke{border-radius:50%;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.contacts-dialog.contact-shares-dialog{position:relative;overflow:visible}.contact-shares-dialog .contact-shares-list{max-height:170px;overflow-y:auto}.contact-share-search{margin-top:10px;position:relative}.contact-share-search input{background:var(--page);border:1px solid var(--line);box-sizing:border-box;color:var(--text);font:inherit;border-radius:7px;width:100%;min-height:40px;padding:8px 10px}.contact-share-search>small{color:var(--text-muted);margin-top:4px;font-size:11px;display:block}.contact-share-suggestions{background:var(--surface);border:1px solid var(--line);z-index:30;border-radius:8px;max-height:min(32vh,220px);position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 22px #0c193433}.contact-share-suggestions>p{color:var(--text-muted);margin:0;padding:10px 12px;font-size:12px}.contact-share-suggestions .contact-share-candidate{border-bottom:1px solid var(--line);padding:9px 12px}.contact-share-suggestions .contact-share-candidate:last-child{border-bottom:0}.contact-share-suggestions .contact-share-candidate:hover{background:var(--surface-muted)}.contact-card-actions .contact-call-button{display:none}.contact-card-actions .contact-share-button.has-shares{color:var(--green);background:#83a95224;border:1px solid #83a95247}.contact-create-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.business-card-scan-actions{display:none}.contact-gallery-button{min-height:40px;margin:0}.business-card-ocr-details{background:var(--surface-muted);color:var(--text);border-radius:8px;gap:8px;padding:10px 12px;display:grid}.business-card-ocr-details summary{cursor:pointer;font-size:12px;font-weight:700}.business-card-ocr-details pre{font:inherit;white-space:pre-wrap;max-height:180px;margin:0;font-size:12px;line-height:1.5;overflow:auto}.business-card-ocr-details p{color:var(--text-muted);margin:0;font-size:12px}.business-card-ocr-details .text-button{justify-self:start}.contacts-dialog{flex-direction:column;max-width:760px;max-height:calc(100vh - 36px);display:flex;overflow:hidden}.contacts-form{padding:0 5px 6px 0;overflow-y:auto}.custom-fields-dialog{flex-direction:column;max-height:calc(100vh - 36px);display:flex;overflow:hidden}.custom-fields-dialog>.user-form{padding:0 5px 6px 0;overflow-y:auto}.custom-values-editor{border-top:1px solid var(--line);gap:12px;margin-top:7px;padding-top:14px;display:grid}.custom-values-editor>h3{color:var(--brand-ink);margin:0;font-size:15px}.custom-values-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.custom-value-field{gap:6px;min-width:0;display:grid}.custom-value-field>label,.custom-value-options legend{color:var(--text-muted);font-size:12px;font-weight:700}.custom-value-field>input,.custom-value-field>select,.custom-value-list-row>input{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:7px;width:100%;min-width:0;min-height:40px;padding:8px 11px}.custom-value-options{border:1px solid var(--line);border-radius:7px;gap:7px;min-width:0;margin:0;padding:9px 11px;display:grid}.custom-value-options legend{padding:0 4px}.custom-value-choice{color:var(--text);align-items:center;gap:7px;font-size:12px;display:flex}.custom-value-choice input{accent-color:var(--brand-coral)}.custom-value-list-row{align-items:center;gap:8px;display:flex}.custom-value-list-row>input{flex:1}.custom-value-options>.text-button{justify-self:start}.custom-value-description,.custom-value-required-hint{color:var(--text-muted);margin:0;font-size:10px;line-height:1.4}.contacts-form textarea{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;resize:vertical;border-radius:7px;width:100%;padding:10px 12px}.contacts-form>select{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:7px;width:100%;min-height:44px;padding:8px 12px}.contacts-form input:focus,.contacts-form select:focus,.contacts-form textarea:focus{border-color:var(--brand-coral);outline:3px solid #ef5b5033}.field-hint{color:var(--text-muted);margin-top:-5px;font-size:11px;line-height:1.4}.owner-picker{position:relative}.owner-picker>input{width:100%}.owner-search-state{color:var(--text-muted);margin:7px 2px 0;font-size:11px}.owner-suggestions{background:var(--surface);border:1px solid var(--line);z-index:5;border-radius:7px;max-height:220px;margin:4px 0 0;padding:4px;list-style:none;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 8px 20px #0f182c29}.owner-suggestions button{color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;flex-direction:column;gap:3px;width:100%;padding:9px;display:flex}.owner-suggestions button:hover{background:var(--surface-muted)}.owner-suggestions small{color:var(--text-muted);font-size:11px}.contact-method-group{border:1px solid var(--line);border-radius:8px;gap:9px;min-width:0;margin:8px 0 2px;padding:12px;display:grid}.contact-method-group legend{color:var(--brand-ink);padding:0 5px;font-size:13px;font-weight:700}.contact-method-row{grid-template-columns:minmax(0,1fr) minmax(100px,.5fr) auto;align-items:center;gap:7px;display:grid}.contact-method-row input:not([type=radio]){background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:6px;min-width:0;min-height:38px;padding:7px 9px}.phone-method-row{grid-template-columns:minmax(0,1fr) minmax(100px,.5fr) auto auto}.default-phone-label{white-space:nowrap;align-items:center;gap:4px;display:flex;margin:0!important;font-size:11px!important}.default-phone-label input{accent-color:var(--brand-coral)}.contacts-form input[type=radio]{width:auto;min-height:0;padding:0}.contact-method-group>.text-button{justify-self:start}.address-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.address-grid label{flex-direction:column;gap:5px;display:flex}.topbar-logout{color:var(--brand-navy);cursor:pointer;font:inherit;background:0 0;border:0;padding:5px;font-size:12px}.access-denied{color:var(--text-muted);margin-top:24px;font-size:14px}.role-assignment-select{background:var(--surface);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:5px;max-width:100%;padding:5px 6px;font-size:12px}.team-admin-page{padding-top:37px}.team-admin-page>.page-heading-row{margin-bottom:24px}.success-message{border-left:3px solid var(--green);color:var(--text);background:#83a95226;margin:12px 0;padding:10px 12px;font-size:13px}.department-create-form,.department-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:17px}.department-create-form{grid-template-columns:minmax(150px,1fr) minmax(220px,1fr) auto;align-items:end;gap:12px;max-width:900px;margin:0 0 26px;display:grid}.department-create-form h2{color:var(--brand-ink);grid-column:1/-1;margin:0;font-size:15px}.department-create-form label,.department-card label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:11px;display:flex}.department-create-form input,.department-create-form select,.department-card input,.department-card select{background:var(--page);border:1px solid var(--line);color:var(--text);border-radius:6px;min-width:0;min-height:37px;padding:7px 9px}.department-create-form button{white-space:nowrap}.department-list-heading{align-items:center;gap:12px;margin:0 0 12px;display:flex}.department-list-heading h2{color:var(--brand-ink);margin:0;font-size:16px}.department-list-heading span{color:var(--text-muted);font-size:11px}.department-list{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;display:grid}.department-card{flex-direction:column;gap:13px;display:flex}.department-root{border-color:color-mix(in srgb, var(--brand-coral) 48%, var(--line))}.department-card-heading,.department-card-heading>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.department-card-heading h3{color:var(--brand-ink);margin:0;font-size:14px}.department-state{color:var(--text-muted);font-size:10px}.department-state.active{color:var(--green)}.department-card .secondary-button{align-self:flex-start}.organization-tree{background:var(--surface);border:1px solid var(--line);border-radius:10px;max-width:1000px;padding:18px;overflow-x:auto}.organization-tree-branch{min-width:570px}.organization-tree-node{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:46px;padding:8px 10px;display:flex}.organization-tree-node strong{color:var(--brand-ink);font-size:13px}.organization-node-content{white-space:nowrap;flex-wrap:nowrap;align-items:baseline;gap:8px;min-width:0;display:flex}.organization-node-separator,.organization-node-contact{color:var(--text-muted);font-size:11px;line-height:1.35}.organization-node-contact{overflow-wrap:normal}.organization-tree-toggle{background:var(--brand-coral-soft);border:1px solid color-mix(in srgb, var(--brand-coral) 50%, var(--line));color:var(--brand-coral);cursor:pointer;border-radius:50%;flex:0 0 24px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:17px;line-height:1;display:inline-flex}.organization-tree-spacer{flex:0 0 24px}.organization-node-icon{color:var(--brand-navy);width:17px;font-size:12px}.organization-node-company .organization-node-icon,.organization-node-company strong{color:var(--brand-coral)}.organization-node-type{color:var(--text-muted);margin-left:auto;font-size:10px}.role-create-form,.role-editor,.goal-config-panel,.goal-create-details,.custom-field-form,.custom-field-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:20px}.custom-fields-page{max-width:1320px}.custom-field-form{gap:16px;max-width:850px;margin-bottom:20px;display:grid}.custom-field-form>h2{color:var(--brand-ink);margin:0;font-size:18px}.custom-field-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.custom-field-form label,.custom-fields-toolbar label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.custom-field-form label>span{color:var(--text-muted);font-size:10px;font-weight:400}.custom-field-form input:not([type=checkbox]),.custom-field-form select,.custom-field-form textarea,.custom-fields-toolbar select{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:6px;min-width:0;padding:9px 10px}.custom-field-form textarea{resize:vertical}.custom-field-description,.custom-field-options{grid-column:1/-1}.custom-field-required{align-items:center;flex-direction:row!important;gap:8px!important}.custom-field-required input{accent-color:var(--brand-coral)}.custom-field-form-actions{flex-wrap:wrap;gap:9px;display:flex}.custom-field-hint,.custom-fields-future-note{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5}.custom-fields-toolbar{justify-content:space-between;align-items:end;gap:16px;max-width:850px;margin:0 0 8px;display:flex}.custom-field-filter{gap:6px;min-width:0;display:grid}.custom-field-filter-label{color:var(--text-muted);font-size:12px}.custom-field-filter-buttons{flex-wrap:wrap;gap:5px;display:flex}.custom-field-filter-button{border:1px solid var(--line);color:var(--text-muted);cursor:pointer;font:inherit;background:0 0;border-radius:6px;min-height:34px;padding:6px 11px;font-size:12px;transition:background-color .12s,color .12s,border-color .12s}.custom-field-filter-button:hover{background:var(--surface-muted);color:var(--brand-ink)}.custom-field-filter-button.active{color:var(--brand-ink);background:#e2e6f1;border-color:#c7cfe3;font-weight:700}.custom-fields-toolbar>span{color:var(--text-muted);flex:none;padding:0 2px 9px;font-size:11px}.custom-fields-future-note{margin:0 0 14px}.custom-field-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.custom-field-card{min-width:0;padding:15px 16px}.custom-field-card-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.custom-field-card-heading h2{color:var(--brand-ink);margin:0 0 5px;font-size:15px}.custom-field-card-heading p,.custom-field-card-description,.custom-field-card-options{color:var(--text-muted);margin:0;font-size:11px;line-height:1.5}.custom-field-required-badge{background:var(--brand-coral-soft);color:var(--brand-coral);border-radius:999px;flex:none;padding:4px 7px;font-size:9px}.custom-field-card-description,.custom-field-card-options{margin-top:9px}.custom-field-card code{color:var(--text-muted);overflow-wrap:anywhere;margin-top:10px;font-size:10px;display:inline-block}.role-create-form{gap:12px;max-width:720px;margin:0 0 20px;display:grid}.role-create-form h2,.goal-config-panel h2{color:var(--brand-ink);margin:0;font-size:18px}.role-create-form p{color:var(--text-muted);margin:0;font-size:12px}.role-create-form label,.role-fields label,.goal-form label,.compact-form label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.role-create-form input,.role-fields input,.goal-form input,.goal-form select,.goal-form textarea,.compact-form input{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:6px;min-width:0;padding:9px 10px}.role-workspace{grid-template-columns:minmax(210px,270px) minmax(0,1fr);align-items:flex-start;gap:20px;display:grid}.role-list{flex-direction:column;gap:7px;display:flex}.role-list-item{background:var(--surface);border:1px solid var(--line);color:var(--text);cursor:pointer;text-align:left;border-radius:8px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}.role-list-item.selected{border-color:var(--brand-coral);box-shadow:inset 3px 0 var(--brand-coral)}.role-list-name{color:var(--brand-ink);font-size:14px;font-weight:700}.role-list-meta,.role-editor-heading p,.role-help{color:var(--text-muted);margin:0;font-size:11px}.role-editor{min-width:0}.role-editor-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.role-editor-heading h2{color:var(--brand-ink);margin:0 0 4px;font-size:20px}.role-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.role-editor h3,.goal-config-grid h3{color:var(--brand-ink);margin:18px 0 7px;font-size:15px}.role-help{margin-bottom:12px}.permission-groups{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px;margin-bottom:18px;display:grid}.permission-group{border:1px solid var(--line);border-radius:7px;min-width:0;margin:0;padding:10px}.permission-group legend{color:var(--brand-ink);padding:0 5px;font-size:12px;font-weight:700}.permission-option{color:var(--text);align-items:center;gap:8px;min-height:28px;font-size:12px;display:flex}.permission-option input{accent-color:var(--brand-coral)}.role-protected-note{background:var(--surface-muted);border-left:3px solid var(--brand-coral);color:var(--text-muted);padding:12px;font-size:13px;line-height:1.5}.goals-page{max-width:1500px}.goal-create-details{margin-bottom:20px}.goal-create-details summary{color:var(--brand-ink);cursor:pointer;font-size:16px;font-weight:700}.goal-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.goal-form textarea{resize:vertical}.goal-form-wide{grid-column:1/-1}.goal-form-actions{grid-column:1/-1;justify-content:flex-end;display:flex}.goal-config-panel{margin-bottom:20px}.goal-config-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.compact-form{gap:9px;display:grid}.compact-form button{justify-self:start}.config-list{margin:12px 0 0;padding:0;list-style:none}.config-list li{border-bottom:1px solid var(--line);color:var(--text);justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:12px;display:flex}.config-list small{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.text-button{color:var(--brand-navy);cursor:pointer;font:inherit;background:0 0;border:0;padding:5px;font-size:12px}.danger-text{color:var(--brand-coral)}.goals-list-heading{align-items:baseline;gap:12px;margin:28px 0 12px;display:flex}.goals-list-heading h2{color:var(--brand-ink);margin:0;font-size:20px}.goals-list-heading span{color:var(--text-muted);font-size:12px}.goals-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;display:grid}.goal-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0;padding:17px}.goal-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.goal-card-heading h3{color:var(--brand-ink);margin:0;font-size:16px}.goal-card-heading p{color:var(--text-muted);margin:5px 0 0;font-size:11px}.goal-status{color:var(--text-muted);border-radius:20px;flex:none;padding:5px 9px;font-size:10px}.goal-status.active{color:#98600c;background:#efa22626}.goal-status.completed{color:#537d26;background:#83a9522e}.goal-description,.goal-plan p{color:var(--text-muted);margin:12px 0 0;font-size:12px;line-height:1.5}.goal-plan{background:var(--surface-muted);border-radius:6px;margin-top:10px;padding:10px}.goal-plan strong{color:var(--brand-ink);font-size:11px}.goal-plan p{white-space:pre-wrap;margin-top:4px}.goal-edit-details{border-top:1px solid var(--line);margin-top:11px;padding-top:9px}.goal-edit-details summary{color:var(--brand-navy);cursor:pointer;font-size:11px}.goal-edit-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.goal-edit-form label{color:var(--text-muted);flex-direction:column;gap:5px;font-size:10px;display:flex}.goal-edit-form input,.goal-edit-form textarea{background:var(--page);border:1px solid var(--line);color:var(--text);border-radius:5px;min-width:0;padding:7px}.goal-edit-form textarea,.goal-edit-form label:nth-of-type(3),.goal-edit-form label:nth-of-type(4){grid-column:1/-1}.goal-edit-form textarea{resize:vertical}.goal-edit-form button{justify-self:end}.goal-progress-labels{color:var(--text-muted);justify-content:space-between;gap:8px;margin-top:15px;font-size:11px;display:flex}.goal-progress-track{background:var(--surface-muted);border-radius:99px;height:8px;margin-top:7px;overflow:hidden}.goal-progress-track span{background:var(--brand-coral);border-radius:inherit;height:100%;transition:width .18s;display:block}.goal-card-meta{color:var(--text-muted);flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:11px;display:flex}.goal-progress-form{border-top:1px solid var(--line);grid-template-columns:120px minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:14px;padding-top:12px;display:grid}.goal-progress-form label{color:var(--text-muted);flex-direction:column;gap:5px;font-size:10px;display:flex}.goal-progress-form input{background:var(--page);border:1px solid var(--line);color:var(--text);border-radius:5px;min-width:0;padding:7px}.goal-progress-form .secondary-button{white-space:nowrap;padding:7px 9px;font-size:11px}.goal-card-actions{border-top:1px solid var(--line);justify-content:space-between;margin-top:11px;padding-top:7px;display:flex}.goal-history{border-top:1px solid var(--line);margin:8px 0 0;padding:8px 0 0;list-style:none}.goal-history li{border-left:2px solid var(--brand-coral);color:var(--text-muted);flex-wrap:wrap;gap:5px 8px;margin-top:8px;padding-left:9px;font-size:11px;display:flex}.goal-history-date{flex-basis:100%;font-size:10px}.goal-history strong{color:var(--brand-ink)}.goal-history p{flex-basis:100%;margin:0}@media (prefers-color-scheme:dark){:root:not([data-theme]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--brand-navy:#263653;--brand-navy-deep:#0c1426;--brand-ink:#f3f1ec;--brand-coral:#ff6b5f;--brand-coral-soft:#382b38;--brand-blue-soft:#263653;--page:#111a2e;--surface:#1a2740;--surface-muted:#202f4b;--line:#35435e;--text:#f3f1ec;--text-muted:#b8c1d2;--green:#8dbb67;--amber:#f4ae3d}:root:not([data-theme]) .topbar,:root:not([data-theme]) .crm-app,:root:not([data-theme]) .workspace{background:var(--page)}:root:not([data-theme]) .topbar{border-bottom-color:var(--line)}:root:not([data-theme]) .topbar-divider,:root:not([data-theme]) .topbar-tools{border-color:var(--line)}:root:not([data-theme]) .topbar-module,:root:not([data-theme]) .topbar-tools{color:#e5e9f2}:root:not([data-theme]) .topbar-module.active{color:var(--brand-coral)}:root:not([data-theme]) .profile-avatar{color:#f3f1ec;background:#354563}:root:not([data-theme]) .profile-chevron{border-color:#e5e9f2}:root:not([data-theme]) .notification-icon i{border-color:var(--page)}:root:not([data-theme]) .sidebar{background:linear-gradient(#0c1426 0%,#101a30 100%)}:root:not([data-theme]) .eyebrow{color:#a5b1ca}:root:not([data-theme]) .page-subtitle{color:var(--text-muted)}:root:not([data-theme]) .building-illustration{stroke:#9ba9c5}:root:not([data-theme]) .preview-notice{color:#a6b2c9}:root:not([data-theme]) .notice-dot{background:#8493ae}:root:not([data-theme]) .search-control{color:#b8c1d2;border-bottom-color:#667590}:root:not([data-theme]) .search-control svg{color:#d8deeb}:root:not([data-theme]) .result-count{color:#a8b5cf}:root:not([data-theme]) .user-row{border-bottom-color:var(--line);color:#e5e9f2}:root:not([data-theme]) .user-row:nth-child(2n){background:#202f4bcc}:root:not([data-theme]) .user-row-header{color:#c7d0e1;border-bottom-color:#465674}:root:not([data-theme]) .user-avatar{color:#f4f2ee}:root:not([data-theme]) .user-avatar.coral{background:#6e3e49}:root:not([data-theme]) .user-avatar.blue{background:#354d77}:root:not([data-theme]) .user-avatar.lavender{background:#4b456b}:root:not([data-theme]) .user-avatar.amber{background:#695536}:root:not([data-theme]) .user-avatar.green{background:#405b4b}:root:not([data-theme]) .user-name,:root:not([data-theme]) .user-row>span:not(.user-email):not(.status-label),:root:not([data-theme]) .status-label{color:#eef0f6}:root:not([data-theme]) .user-email{color:#b8c1d2}:root:not([data-theme]) .module-placeholder{background:#263653d1}:root:not([data-theme]) .placeholder-icon,:root:not([data-theme]) .module-placeholder h2{color:#eef0f6}:root:not([data-theme]) .module-placeholder p{color:#b8c1d2}:root:not([data-theme]) .auth-card{background:var(--surface);border-color:var(--line)}:root:not([data-theme]) .managed-user-row{border-bottom-color:var(--line)}:root:not([data-theme]) .managed-user-row:nth-child(2n){background:#202f4bcc}:root:not([data-theme]) .managed-user-header{color:#c7d0e1}:root:not([data-theme]) .managed-user-name{color:#eef0f6}:root:not([data-theme]) .managed-user-email,:root:not([data-theme]) .managed-user-meta,:root:not([data-theme]) .user-management-heading p,:root:not([data-theme]) .user-list-state{color:#b8c1d2}:root:not([data-theme]) .user-management-heading h2,:root:not([data-theme]) .user-dialog h2,:root:not([data-theme]) .contact-card-title h2,:root:not([data-theme]) .contact-method-group legend{color:#eef0f6}:root:not([data-theme]) .contact-card-details a{color:#bac8e5}:root:not([data-theme]) .role-list-item,:root:not([data-theme]) .role-editor,:root:not([data-theme]) .role-create-form,:root:not([data-theme]) .goal-config-panel,:root:not([data-theme]) .goal-create-details,:root:not([data-theme]) .custom-field-form,:root:not([data-theme]) .custom-field-card,:root:not([data-theme]) .goal-card{background:var(--surface)}:root:not([data-theme]) .custom-field-required-badge{background:#6f38418c}:root:not([data-theme]) .custom-field-filter-button.active{color:#eef0f6;background:#cdd6ec33;border-color:#cdd6ec5c}:root:not([data-theme]) .custom-field-filter-button:hover{color:#eef0f6;background:#cdd6ec1f}:root:not([data-theme]) .custom-values-editor>h3{color:#eef0f6}:root:not([data-theme]) .custom-value-options legend{color:#c7d0e1}:root:not([data-theme]) .custom-value-choice{color:#eef0f6}:root:not([data-theme]) .role-protected-note,:root:not([data-theme]) .goal-plan{background:var(--surface-muted)}:root:not([data-theme]) .text-button,:root:not([data-theme]) .goal-edit-details summary{color:#cbd6ea}:root:not([data-theme]) .danger-text{color:var(--brand-coral)}:root:not([data-theme]) .goal-status.active{color:#f4c36e}:root:not([data-theme]) .goal-status.completed{color:#a7d07a}:root:not([data-theme]) .success-message{color:#dce9cd}:root:not([data-theme]) .role-assignment-select{background:var(--surface);color:var(--text)}:root:not([data-theme]) .department-create-form,:root:not([data-theme]) .department-card,:root:not([data-theme]) .record-list-toolbar,:root:not([data-theme]) .contact-card,:root:not([data-theme]) .contact-method-group,:root:not([data-theme]) .organization-tree{background:var(--surface)}:root:not([data-theme]) .contact-card:nth-child(2n){background:#202f4bcc}:root:not([data-theme]) .organization-node-icon{color:#b6c3da}:root:not([data-theme]) .topbar-logout{color:#e5e9f2}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--brand-navy:#263653;--brand-navy-deep:#0c1426;--brand-ink:#f3f1ec;--brand-coral:#ff6b5f;--brand-coral-soft:#382b38;--brand-blue-soft:#263653;--page:#111a2e;--surface:#1a2740;--surface-muted:#202f4b;--line:#35435e;--text:#f3f1ec;--text-muted:#b8c1d2;--green:#8dbb67;--amber:#f4ae3d}:root[data-theme=dark] .topbar,:root[data-theme=dark] .crm-app,:root[data-theme=dark] .workspace{background:var(--page)}:root[data-theme=dark] .topbar{border-bottom-color:var(--line)}:root[data-theme=dark] .topbar-divider,:root[data-theme=dark] .topbar-tools{border-color:var(--line)}:root[data-theme=dark] .topbar-module,:root[data-theme=dark] .topbar-tools{color:#e5e9f2}:root[data-theme=dark] .topbar-module.active{color:var(--brand-coral)}:root[data-theme=dark] .profile-avatar{color:#f3f1ec;background:#354563}:root[data-theme=dark] .profile-chevron{border-color:#e5e9f2}:root[data-theme=dark] .notification-icon i{border-color:var(--page)}:root[data-theme=dark] .sidebar{background:linear-gradient(#0c1426 0%,#101a30 100%)}:root[data-theme=dark] .eyebrow{color:#a5b1ca}:root[data-theme=dark] .page-subtitle{color:var(--text-muted)}:root[data-theme=dark] .building-illustration{stroke:#9ba9c5}:root[data-theme=dark] .preview-notice{color:#a6b2c9}:root[data-theme=dark] .notice-dot{background:#8493ae}:root[data-theme=dark] .search-control{color:#b8c1d2;border-bottom-color:#667590}:root[data-theme=dark] .search-control svg{color:#d8deeb}:root[data-theme=dark] .result-count{color:#a8b5cf}:root[data-theme=dark] .user-row{border-bottom-color:var(--line);color:#e5e9f2}:root[data-theme=dark] .user-row:nth-child(2n){background:#202f4bcc}:root[data-theme=dark] .user-row-header{color:#c7d0e1;border-bottom-color:#465674}:root[data-theme=dark] .user-avatar{color:#f4f2ee}:root[data-theme=dark] .user-avatar.coral{background:#6e3e49}:root[data-theme=dark] .user-avatar.blue{background:#354d77}:root[data-theme=dark] .user-avatar.lavender{background:#4b456b}:root[data-theme=dark] .user-avatar.amber{background:#695536}:root[data-theme=dark] .user-avatar.green{background:#405b4b}:root[data-theme=dark] .user-name,:root[data-theme=dark] .user-row>span:not(.user-email):not(.status-label),:root[data-theme=dark] .status-label{color:#eef0f6}:root[data-theme=dark] .user-email{color:#b8c1d2}:root[data-theme=dark] .module-placeholder{background:#263653d1}:root[data-theme=dark] .placeholder-icon,:root[data-theme=dark] .module-placeholder h2{color:#eef0f6}:root[data-theme=dark] .module-placeholder p{color:#b8c1d2}:root[data-theme=dark] .auth-card{background:var(--surface);border-color:var(--line)}:root[data-theme=dark] .managed-user-row{border-bottom-color:var(--line)}:root[data-theme=dark] .managed-user-row:nth-child(2n){background:#202f4bcc}:root[data-theme=dark] .managed-user-header{color:#c7d0e1}:root[data-theme=dark] .managed-user-name{color:#eef0f6}:root[data-theme=dark] .managed-user-email,:root[data-theme=dark] .managed-user-meta,:root[data-theme=dark] .user-management-heading p,:root[data-theme=dark] .user-list-state{color:#b8c1d2}:root[data-theme=dark] .user-management-heading h2,:root[data-theme=dark] .user-dialog h2,:root[data-theme=dark] .contact-card-title h2,:root[data-theme=dark] .contact-method-group legend{color:#eef0f6}:root[data-theme=dark] .contact-card-details a{color:#bac8e5}:root[data-theme=dark] .role-list-item,:root[data-theme=dark] .role-editor,:root[data-theme=dark] .role-create-form,:root[data-theme=dark] .goal-config-panel,:root[data-theme=dark] .goal-create-details,:root[data-theme=dark] .custom-field-form,:root[data-theme=dark] .custom-field-card,:root[data-theme=dark] .goal-card{background:var(--surface)}:root[data-theme=dark] .custom-field-required-badge{background:#6f38418c}:root[data-theme=dark] .custom-field-filter-button.active{color:#eef0f6;background:#cdd6ec33;border-color:#cdd6ec5c}:root[data-theme=dark] .custom-field-filter-button:hover{color:#eef0f6;background:#cdd6ec1f}:root[data-theme=dark] .custom-values-editor>h3{color:#eef0f6}:root[data-theme=dark] .custom-value-options legend{color:#c7d0e1}:root[data-theme=dark] .custom-value-choice{color:#eef0f6}:root[data-theme=dark] .role-protected-note,:root[data-theme=dark] .goal-plan{background:var(--surface-muted)}:root[data-theme=dark] .text-button,:root[data-theme=dark] .goal-edit-details summary{color:#cbd6ea}:root[data-theme=dark] .danger-text{color:var(--brand-coral)}:root[data-theme=dark] .goal-status.active{color:#f4c36e}:root[data-theme=dark] .goal-status.completed{color:#a7d07a}:root[data-theme=dark] .success-message{color:#dce9cd}:root[data-theme=dark] .role-assignment-select{background:var(--surface);color:var(--text)}:root[data-theme=dark] .department-create-form,:root[data-theme=dark] .department-card,:root[data-theme=dark] .record-list-toolbar,:root[data-theme=dark] .contact-card,:root[data-theme=dark] .contact-method-group,:root[data-theme=dark] .organization-tree{background:var(--surface)}:root[data-theme=dark] .contact-card:nth-child(2n){background:#202f4bcc}:root[data-theme=dark] .organization-node-icon{color:#b6c3da}:root[data-theme=dark] .topbar-logout{color:#e5e9f2}.placeholder-page{padding-top:37px}.module-placeholder{border-left:3px solid var(--brand-coral);background:#cbd1e752;grid-template-columns:45px minmax(0,1fr);align-items:center;max-width:760px;margin-top:62px;padding:22px;display:grid}.placeholder-icon{color:var(--brand-navy);grid-row:span 2}.placeholder-icon svg{width:28px;height:28px}.module-placeholder h2{color:var(--brand-ink);margin:0;font-size:17px}.module-placeholder p{color:var(--text-muted);margin:6px 0 0;font-size:13px;line-height:1.6}.integration-setup-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;max-width:860px;margin-top:24px;overflow:hidden;box-shadow:0 8px 28px #1c294814}.integration-setup-header{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:22px 24px;display:flex}.integration-setup-mark{color:#344779;background:#eef2fb;border:1px solid #dce4f5;border-radius:12px;flex:0 0 54px;justify-content:center;align-items:center;height:54px;font-size:12px;font-weight:700;display:flex}.integration-setup-header h2{margin:0;font-size:19px}.integration-setup-header p{color:var(--text-muted);margin:5px 0 0;font-size:13px;line-height:1.5}.integration-setup-status{color:var(--text);white-space:nowrap;background:#efa22621;border:1px solid #efa2264d;border-radius:999px;margin-left:auto;padding:7px 11px;font-size:11px;font-weight:700}.integration-setup-status.is-configured{color:#167044;background:#228b541f;border-color:#228b5459}.integration-setup-status.is-unconfigured{color:#a21f2b;background:#be2a341a;border-color:#be2a3459}.integration-setup-status.is-checking{background:var(--surface-muted);border-color:var(--line);color:var(--text-muted)}:root[data-theme=dark] .integration-setup-status.is-configured{color:#a8ddb8}:root[data-theme=dark] .integration-setup-status.is-unconfigured{color:#ff9b9b}@media (prefers-color-scheme:dark){:root:not([data-theme]) .integration-setup-status.is-configured{color:#a8ddb8}:root:not([data-theme]) .integration-setup-status.is-unconfigured{color:#ff9b9b}}.integration-setup-body{padding:22px 24px 24px}.integration-setup-body h3{margin:0 0 8px;font-size:15px}.integration-setup-body>p{color:var(--text-muted);margin:0 0 14px;font-size:13px;line-height:1.55}.integration-setup-body ol{color:var(--text);margin:0;padding-left:22px;font-size:13px;line-height:1.6}.integration-setup-body li{margin:8px 0;padding-left:3px}.integration-setup-body li code,.integration-redirect-row code{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:5px;padding:3px 5px;font-size:12px}.integration-redirect-row{background:var(--page);border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding:10px 12px;display:flex}.integration-redirect-row code{background:0 0;min-width:0}.integration-redirect-row button{flex:none}.integration-setup-actions{margin-top:18px}.integration-setup-actions .primary-button{display:inline-flex}.integration-setup-body .integration-setup-note{border-top:1px solid var(--line);margin:20px 0 0;padding-top:14px;font-size:12px}.m365-settings-form{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:22px;padding-top:20px;display:grid}.m365-settings-form h3,.m365-settings-form>p,.m365-settings-actions,.m365-settings-message{grid-column:1/-1}.m365-settings-form h3{margin:0;font-size:15px}.m365-settings-form>p,.m365-settings-actions span,.m365-settings-message{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5}.m365-settings-form label{color:var(--text-muted);gap:6px;min-width:0;font-size:12px;font-weight:650;display:grid}.m365-settings-form input,.m365-settings-form select{background:var(--page);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:8px;min-width:0;min-height:42px;padding:9px 11px;font-size:14px}.system-mail-panel{border-top:1px solid var(--line);grid-column:1/-1;gap:12px;margin-top:4px;padding-top:18px;display:grid}.system-mail-panel h3,.system-mail-panel p{margin:0}.system-mail-connected{color:var(--green);font-size:13px}.responsible-people-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;gap:14px;max-width:820px;padding:22px;display:grid}.responsible-people-tabs{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.responsible-people-tabs button{background:var(--surface-muted);border:1px solid var(--line);color:var(--text-muted);cursor:pointer;font:inherit;border-radius:999px;min-height:38px;padding:7px 15px;font-size:13px;font-weight:650}.responsible-people-tabs button.active{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}.responsible-people-empty-view{margin-top:18px}.responsible-opportunity-fields{border-top:1px solid var(--line);gap:8px;margin-top:8px;padding-top:16px;display:grid}.responsible-opportunity-fields h3,.responsible-opportunity-fields p{margin:0}.responsible-opportunity-fields h3{font-size:15px}.responsible-opportunity-field{background:var(--surface-muted);border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.responsible-opportunity-field input{accent-color:var(--green);flex:0 0 18px;height:18px;margin:0}.responsible-opportunity-field>span{gap:2px;display:grid}.responsible-opportunity-field small{color:var(--text-muted);font-size:11px}.responsible-people-card h2,.responsible-people-card p{margin:0}.responsible-people-list{gap:8px;display:grid}.responsible-person-row{background:var(--surface-muted);border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.responsible-person-row>span,.responsible-people-suggestions button>span{gap:3px;min-width:0;display:grid}.responsible-person-row small,.responsible-people-suggestions small{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}.responsible-people-search{gap:6px;font-weight:600;display:grid}.responsible-people-search input{background:var(--page);border:1px solid var(--line);color:var(--text);border-radius:10px;width:100%;min-height:42px;padding:9px 12px}.responsible-people-suggestions{border:1px solid var(--line);border-radius:12px;max-height:260px;display:grid;overflow-y:auto}.responsible-people-suggestions button{background:var(--surface);border:0;border-bottom:1px solid var(--line);color:var(--text);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.responsible-people-suggestions button:last-of-type{border-bottom:0}.responsible-people-suggestions button:hover{background:var(--surface-muted)}.m365-settings-form .checkbox-label{align-items:center;gap:10px;display:flex}.m365-settings-form .checkbox-label input{accent-color:var(--green);flex:none;width:18px;min-height:18px}.integration-tabs{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;display:flex}.m365-settings-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.m365-expiry-notice{border:1px solid;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:18px 28px 0;padding:11px 14px;display:flex}.m365-expiry-notice.is-ok{color:#167044;background:#228b5417;border-color:#228b5459}.m365-expiry-notice.is-warning{color:#8a5b00;background:#d597161f;border-color:#d5971666}.m365-expiry-notice.is-urgent{color:#a21f2b;background:#be2a3417;border-color:#be2a3466}.m365-expiry-notice span{font-size:12px}.m365-expiry-notice a{color:inherit;margin-left:auto;font-size:12px;font-weight:700}:root[data-theme=dark] .m365-expiry-notice.is-ok{color:#a8ddb8}:root[data-theme=dark] .m365-expiry-notice.is-warning{color:#ffd36b}:root[data-theme=dark] .m365-expiry-notice.is-urgent{color:#ff9b9b}@media (prefers-color-scheme:dark){:root:not([data-theme]) .m365-expiry-notice.is-ok{color:#a8ddb8}:root:not([data-theme]) .m365-expiry-notice.is-warning{color:#ffd36b}:root:not([data-theme]) .m365-expiry-notice.is-urgent{color:#ff9b9b}}@media (min-width:1700px){.workspace-content{padding-left:48px;padding-right:48px}.user-row{gap:20px;min-height:65px}}@media (max-width:1050px){:root{--sidebar-width:186px}.brand-lockup{flex-basis:220px;font-size:25px}.topbar-module{padding:0 15px}.workspace-content{padding-left:24px;padding-right:24px}.building-wrap{opacity:.42;width:34vw;right:20px}.user-row{grid-template-columns:minmax(210px,1.2fr) minmax(190px,1fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(105px,.65fr);min-width:900px}}@media (max-width:900px){.role-workspace{grid-template-columns:1fr}.role-list{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:grid}.goal-form{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-config-grid{grid-template-columns:1fr}}@media (max-width:720px){.contact-share-suggestions{top:auto;bottom:calc(100% + 6px)}:root{--topbar-height:68px;--sidebar-width:68px}.topbar{padding:0 14px}.brand-lockup{letter-spacing:-.7px;flex:none;font-size:21px}.brand-mark{width:33px;height:33px;margin-right:7px}.topbar-divider{margin-left:14px}.ai-ask-widget{flex:auto;min-width:0;margin:0 8px}.ai-ask-form{gap:5px;min-height:38px;padding:0 5px 0 8px}.ai-ask-form input{font-size:12px}.ai-ask-form button{padding:5px 3px;font-size:11px}.ai-ask-sparkle{font-size:15px}.ai-ask-popover{width:min(90vw,420px);max-height:65vh;left:auto;right:-86px}.topbar-tools{border:0;flex:none;gap:10px;padding-left:3px}.notification-icon{display:none}.profile-avatar{width:34px;height:34px}.profile-chevron{display:none}.sidebar{padding:16px 6px 10px}.sidebar-section-label{justify-content:center;gap:0;width:calc(100% - 2px);min-height:44px;margin:0 1px 10px;padding:0;font-size:0}.sidebar-section-label:after,.sidebar-section-name,.sidebar-section-chevron{display:none}.team-nav{gap:1px}.team-nav-link{border-radius:7px;justify-content:center;min-height:38px;padding:0;font-size:0}.team-nav-link svg{flex-basis:23px;width:23px;height:23px}.team-nav-link.selected{background:var(--brand-coral)}.sidebar-footer{text-align:center;align-items:center;margin:auto 0 0;padding:11px 0 1px}.version-caption{font-size:0}.version-number{overflow-wrap:anywhere;font-size:9px;line-height:1.2}.workspace-content{min-height:calc(100vh - var(--topbar-height));padding:26px 16px 32px}.page-heading-row{flex-wrap:wrap;gap:12px}.page-title-line{gap:10px}.page-title-line .primary-button,.page-title-line .secondary-button,.page-title-line .record-filter-button{padding:4px 10px;font-size:11px}.eyebrow{margin-bottom:9px;font-size:9px}h1{font-size:31px}.page-subtitle{font-size:15px}.text-action{margin-top:48px;font-size:0}.text-action:first-letter{font-size:21px}.building-wrap{display:none}.preview-notice{align-items:flex-start;margin-top:22px;font-size:10px;line-height:1.4}.notice-dot{flex:0 0 6px;margin-top:4px}.list-toolbar{margin-top:18px}.search-control{font-size:12px}.result-count{font-size:11px}.user-row{min-width:830px}.module-placeholder{grid-template-columns:35px minmax(0,1fr);margin-top:38px;padding:17px}.module-placeholder h2{font-size:15px}.module-placeholder p{font-size:12px}.integration-setup-header{flex-wrap:wrap;align-items:flex-start;padding:18px}.integration-setup-status{margin-left:70px}.integration-setup-body{padding:18px}.m365-settings-form{grid-template-columns:minmax(0,1fr)}.m365-expiry-notice{flex-direction:column;align-items:flex-start;margin:12px 14px 0}.m365-expiry-notice a{margin-left:0}.integration-redirect-row{flex-direction:column;align-items:stretch}.ai-settings-card{padding:16px}.ai-settings-actions{flex-direction:column;align-items:stretch}.ai-view-actions{gap:6px}.ai-view-actions .record-filter-button{padding:8px 10px;font-size:11px}.ai-privacy-card{padding:16px}.sales-form-grid{grid-template-columns:1fr}.sales-record-card{flex-direction:column;align-items:flex-start}.ai-privacy-row{grid-template-columns:1fr;align-items:start;gap:6px;padding:12px}.auth-card{padding:27px 22px}.auth-brand{margin-bottom:30px}.auth-card h1{font-size:30px}.user-management-heading{align-items:flex-start}.user-management-heading .primary-button{flex:none;padding:8px 10px}.managed-user-row{grid-template-columns:minmax(195px,1fr) 95px minmax(130px,.8fr) 95px 130px 145px;min-width:890px}.managed-user-header{min-width:890px}.contacts-heading{align-items:flex-start}.record-list-toolbar{flex-direction:column;align-items:stretch}.record-filter-panel{min-width:min(500px,100vw - 32px)}.record-filter-grid{grid-template-columns:1fr}.contact-card{grid-template-columns:1fr;align-items:stretch}.contact-card-meta{text-align:left;align-items:flex-start}.contact-method-row,.phone-method-row{grid-template-columns:1fr}.default-phone-label{min-height:30px}.address-grid,.department-create-form{grid-template-columns:1fr}.department-create-form h2{grid-column:auto}.role-fields,.custom-field-form-grid,.goal-form,.goal-edit-form{grid-template-columns:1fr}.custom-field-description,.custom-field-options,.goal-form-wide,.goal-edit-form textarea,.goal-edit-form label:nth-of-type(3),.goal-edit-form label:nth-of-type(4){grid-column:auto}.goal-progress-form{grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr)}.goal-progress-form .secondary-button{grid-column:1/-1;justify-self:end}.goal-card{padding:13px}.goal-card-meta,.invite-link-row{flex-direction:column}.topbar-logout{font-size:0}.topbar-logout:after{content:"Wyloguj";font-size:11px}}.profile-trigger{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:30px;align-items:center;gap:12px;padding:4px;display:inline-flex}.profile-trigger:focus-visible{outline:2px solid var(--brand-coral);outline-offset:3px}.profile-trigger .profile-chevron{display:block}.profile-overlay{padding:calc(var(--topbar-height) + 12px) 24px 24px;z-index:2000;background:#00000052;justify-content:flex-end;align-items:flex-start;display:flex;position:fixed;inset:0}.profile-panel{background:var(--surface);border:1px solid var(--line);color:var(--text);overscroll-behavior:contain;border-radius:16px;width:min(440px,100%);max-height:100%;padding:24px;overflow-y:auto;box-shadow:0 16px 64px #00000040}.profile-panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.profile-panel h2{margin:0;font-size:20px}.profile-full-name{color:var(--brand-ink);margin:20px 0;font-size:18px;font-weight:650}.profile-fields{gap:8px;display:grid}.profile-fields label{margin-top:8px;font-size:14px;font-weight:600}.profile-fields input,.profile-fields select{background:var(--surface);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:8px;width:100%;min-height:42px;padding:10px 12px}.profile-fields input:focus,.profile-fields select:focus{outline:2px solid var(--brand-coral);outline-offset:1px}.profile-fields input[aria-invalid=true]{border-color:var(--brand-coral)}.profile-fields small,.profile-section>p{color:var(--text-muted);font-size:12px;line-height:1.5}.profile-fields .form-error{color:var(--brand-coral)}.profile-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.profile-section h3{margin:0 0 10px;font-size:15px}.profile-consent{align-items:flex-start;gap:10px;margin:16px 0;font-size:13px;line-height:1.55;display:flex}.profile-consent input{accent-color:var(--brand-coral);flex-shrink:0;width:18px;height:18px;margin-top:2px}.profile-save-status{color:var(--text-muted);font-size:12px;display:block}.profile-passkey-add{gap:8px;margin-top:12px;display:grid}.profile-passkey-add label{font-size:14px;font-weight:600}.profile-passkey-add input{background:var(--surface);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:8px;width:100%;min-height:42px;padding:10px 12px}.profile-passkey-list{margin:12px 0 0;padding:0;list-style:none}.profile-passkey-list li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.profile-passkey-list li>span{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.profile-passkey-list small{color:var(--text-muted);font-size:12px}@media (max-width:640px){.profile-overlay{padding:80px 12px 12px}.profile-panel{padding:20px}}@media (max-width:720px){:root{--topbar-height:112px}html,body{max-width:100%;overflow-x:clip}.crm-app,.app-body,.workspace,.workspace-content{width:100%;min-width:0}.topbar{height:auto;min-height:var(--topbar-height);flex-direction:column;align-items:stretch;gap:8px;padding:9px 14px 10px;display:flex;position:sticky;top:0}.mobile-topbar-main{grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px 12px;width:100%;display:grid}.mobile-menu-toggle{border:1px solid var(--line);color:var(--brand-ink);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;width:42px;height:42px;padding:8px;display:inline-flex}.mobile-menu-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2px;width:24px;height:24px}.mobile-menu-toggle:focus-visible,.mobile-sidebar-close:focus-visible{outline:2px solid var(--brand-coral);outline-offset:2px}.brand-lockup{flex:initial;grid-area:1/2;min-width:0;font-size:21px}.brand-mark{flex:0 0 33px;width:33px;height:33px;margin-right:7px}.topbar-divider{display:none}.ai-ask-widget{flex:none;grid-area:2/1/auto/-1;width:100%;min-width:0;margin:0}.topbar-tools{border:0;grid-area:1/3;justify-content:flex-end;gap:10px;padding:0}.profile-trigger{gap:7px}.profile-trigger .profile-chevron{margin-left:0;display:block}.topbar-logout{min-height:40px;padding:8px}.app-body{min-height:calc(100vh - var(--topbar-height));flex-direction:column;display:flex}.mobile-nav-backdrop{z-index:29;background:#0810228f;border:0;padding:0;display:block;position:fixed;inset:0}.sidebar{overscroll-behavior:contain;min-height:0;max-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));scrollbar-width:thin;visibility:hidden;z-index:30;flex-direction:column;flex:none;align-items:stretch;gap:0;width:min(280px,100vw - 56px);transition:transform .18s,visibility .18s;position:fixed;top:0;bottom:0;left:0;overflow:hidden auto;transform:translate(-105%);box-shadow:16px 0 48px #0810223d}.sidebar.mobile-open{visibility:visible;transform:translate(0)}.mobile-sidebar-header{color:#fff;border-bottom:1px solid #e1e8f63d;justify-content:space-between;align-items:center;margin:0 0 12px;padding:2px 2px 14px;font-size:16px;display:flex}.mobile-sidebar-close{color:#fff;cursor:pointer;background:#ffffff1a;border:0;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-size:25px;line-height:1;display:inline-flex}.sidebar-section-label{border-radius:7px;flex:none;justify-content:flex-start;gap:9px;width:100%;min-height:44px;margin:2px 0 8px;padding:0 10px;font-size:14px}.sidebar-section-label:after{display:none}.sidebar-section-name,.sidebar-section-chevron{display:inline-block}.sidebar-section-name{flex:0 auto}.sidebar-section-chevron{flex:0 0 8px;width:8px;height:8px;margin:0 2px 4px auto}.team-nav{flex-direction:column;flex:none;gap:3px;margin:0 0 14px 8px}.team-nav-link{text-align:left;border-radius:7px;flex:none;grid-template-columns:21px minmax(0,1fr);justify-content:stretch;gap:10px;width:auto;min-height:44px;padding:0 10px;font-size:14px;display:grid}.team-nav-link svg{flex:0 0 21px;width:21px;height:21px}.team-nav-link.selected{color:#fff}.pwa-install-control{gap:8px;margin:12px 0;display:grid}.pwa-install-button{color:#fff;cursor:pointer;font:inherit;text-align:left;background:#ffffff1a;border:1px solid #ffffff40;border-radius:8px;grid-template-columns:21px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;font-size:13px;font-weight:700;display:grid}.pwa-install-button:focus-visible{outline-offset:2px;outline:2px solid #fff}.pwa-install-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:21px;height:21px}.pwa-install-instructions{color:#fff;background:#ffffff14;border-radius:8px;padding:10px;font-size:12px;line-height:1.5}.sidebar-footer{display:flex}.workspace-content{min-height:calc(100vh - var(--topbar-height));padding:24px 16px 40px}.team-admin-page{padding-top:24px}.team-admin-page>.page-heading-row{margin-bottom:18px}.page-heading-row,.user-management-heading,.role-editor-heading{flex-direction:column;align-items:flex-start;gap:12px}.page-title-line{align-items:flex-start;gap:10px}.page-title-line h1,h1{font-size:clamp(25px,7vw,31px);line-height:1.15}.page-title-line>button,.page-title-line .record-filter-button{min-height:38px}.contact-create-actions{gap:7px}.business-card-scan-actions{display:contents}.contact-create-actions>button{min-height:38px}.page-subtitle{font-size:14px;line-height:1.45}.sales-record-card,.contact-card,.department-card,.goal-card,.ai-settings-card,.ai-privacy-card{min-width:0}.sales-record-card{gap:12px;padding:15px}.sales-record-title{align-items:flex-start}.sales-record-title .sales-opportunity-title{overflow-wrap:anywhere;font-size:19px}.sales-opportunity-location{font-size:13px}.sales-record-main,.sales-record-meta,.contact-card-main{width:100%;max-width:100%}.sales-record-meta{overflow-wrap:anywhere;gap:7px 10px}.sales-record-card>button,.sales-lead-actions,.sales-lead-actions button{width:100%;max-width:100%}.sales-lead-actions{flex-direction:column;align-items:stretch}.contact-card{gap:12px;padding:14px}.contact-card-title{flex-direction:column;align-items:flex-start;gap:0;max-width:calc(100% - 18px);left:9px}.contact-card.has-job-title{padding-top:36px}.contact-card-meta{overflow-wrap:anywhere;min-width:0}.contact-card-actions{flex-wrap:wrap;width:100%}.contact-card-actions button,.user-form-actions button,.ai-settings-actions button{min-height:44px}.contact-card-actions .contact-call-button{color:#fff;background:#218838;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;min-height:44px;padding:0;text-decoration:none;display:inline-flex}.contact-card-actions .contact-call-button:hover{background:#1b7130}.contact-call-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.contact-custom-table{grid-template-columns:1fr}.record-list-toolbar,.record-filter-panel,.record-filter-grid{width:100%;min-width:0}.record-list-toolbar>span,.record-filter-count{white-space:normal}.record-filter-grid{grid-template-columns:minmax(0,1fr)}.list-pagination{flex-direction:column;align-items:flex-start;gap:10px}.pagination-controls{align-items:center;gap:8px 12px;width:100%}.pagination-controls label{flex-wrap:wrap}.pagination-controls .pagination-link{min-height:40px}.list-pagination select{min-height:42px}.user-management{margin-top:20px}.user-management-table{gap:10px;display:grid;overflow:visible}.managed-user-header{display:none}.managed-user-row:not(.managed-user-header){background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:0;min-width:0;padding:6px 13px;display:grid;grid-template-columns:minmax(0,1fr)!important}.managed-user-row:not(.managed-user-header)>span{border-bottom:1px solid var(--line);grid-template-columns:minmax(100px,.38fr) minmax(0,1fr);align-items:start;gap:10px;min-width:0;padding:9px 0;display:grid}.managed-user-row:not(.managed-user-header)>.managed-user-identity{grid-template-columns:minmax(0,1fr);padding-top:9px}.managed-user-row:not(.managed-user-header)>.managed-user-identity:before{display:none}.managed-user-row:not(.managed-user-header)>span:last-child{border-bottom:0}.managed-user-row:not(.managed-user-header)>span:before{color:var(--text-muted);content:attr(data-label);font-size:11px;font-weight:700;line-height:1.4}.managed-user-identity-value{text-align:center;gap:3px;min-width:0;display:grid}.managed-user-row .role-assignment-select{width:100%;min-height:40px}.managed-user-actions{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.managed-user-row:not(.managed-user-header)>.managed-user-actions{display:grid}.managed-user-action-buttons{flex-wrap:wrap;gap:6px;display:flex}.managed-user-actions button{min-height:40px}.user-dialog,.sales-dialog,.contacts-dialog{max-width:none;max-height:92dvh;padding:22px 16px max(18px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;width:100%;overflow:hidden auto}.dialog-backdrop{align-items:flex-end;padding:0}.user-dialog h2{font-size:19px}.user-form-actions{flex-wrap:wrap}.user-form-actions button{flex:120px}.sales-form-grid,.sales-form-grid>*,.address-grid,.contact-method-row,.phone-method-row{min-width:0}.goal-form,.goal-edit-form,.role-fields,.goal-config-grid,.department-create-form{grid-template-columns:minmax(0,1fr)}.goal-progress-form{grid-template-columns:minmax(0,1fr);align-items:stretch}.goal-progress-form .secondary-button{grid-column:auto;justify-self:stretch;min-height:42px}.goal-form-wide,.goal-edit-form textarea,.goal-edit-form label:nth-of-type(3),.goal-edit-form label:nth-of-type(4),.department-create-form h2{grid-column:auto}.department-create-form button{min-height:42px}.department-list{grid-template-columns:minmax(0,1fr)}.organization-tree{max-width:100%;padding:12px}.organization-tree-branch{min-width:0}.organization-tree-node{flex-wrap:wrap;align-items:flex-start;gap:7px;padding:9px 4px}.organization-node-content{white-space:normal;flex-direction:column;flex:calc(100% - 44px);align-items:flex-start;gap:2px;min-width:0}.organization-node-separator{display:none}.organization-node-contact{overflow-wrap:anywhere}.organization-node-type{margin-left:34px}.ai-privacy-card,.ai-settings-card{padding:16px}.ai-privacy-row{grid-template-columns:minmax(0,1fr);align-items:start;gap:7px;padding:12px}.ai-privacy-select>span:last-child{flex-wrap:wrap;align-items:flex-start;display:flex}.profile-overlay{align-items:flex-end;padding:0}.profile-panel{max-height:92dvh;padding:22px 16px max(18px, env(safe-area-inset-bottom));border-radius:18px 18px 0 0;width:100%}.profile-fields input,.profile-fields select,.sales-form input,.sales-form select,.sales-form textarea,.contacts-form input,.contacts-form select,.contacts-form textarea{font-size:16px}button,select,input[type=checkbox],input[type=radio]{touch-action:manipulation}}@media (max-width:380px){.topbar{gap:7px 8px;padding-left:10px;padding-right:10px}.brand-lockup{font-size:19px}.workspace-content{padding-left:12px;padding-right:12px}.profile-trigger{gap:5px}.profile-avatar{width:36px;height:36px}.sidebar{padding-left:7px;padding-right:7px}.sidebar-section-label,.team-nav-link{padding-left:8px;padding-right:8px}.pagination-controls{gap:5px 8px}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}
