:root{--bg:#f7f7f8;--panel:#fff;--subtle:#f1f1f2;--line:#dedee1;--line-soft:#ececef;--text:#242426;--muted:#737378;--accent:#5e6ad2;--accent-hover:#505bbb;--danger:#b94a4a;--success:#357a4a;--radius:6px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--text);margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{color:inherit}.kicker{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:700}.muted{color:var(--muted)}.brand-mark{background:var(--accent);color:#fff;border-radius:8px;place-items:center;width:34px;height:34px;font-weight:800;display:grid;box-shadow:inset 0 1px #ffffff3d}.brand-mark.small{border-radius:6px;width:26px;height:26px;font-size:12px}.button{border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;white-space:nowrap;background:#fff;min-height:34px;padding:0 13px;font-weight:600;transition:background .12s,border-color .12s,transform .12s}.button:hover{background:#f6f6f7}.button:active{transform:translateY(1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.button.primary:hover{background:var(--accent-hover)}.button.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.button.success{color:#fff;background:var(--success);border-color:var(--success)}.button.wide{width:100%;min-height:42px}.login-page{grid-template-columns:minmax(420px,1.1fr) minmax(420px,.9fr);min-height:100dvh;display:grid}.login-brand{color:#fff;background:#202124;flex-direction:column;justify-content:space-between;padding:52px;display:flex;position:relative;overflow:hidden}.login-brand:after{content:"";border:1px solid #ffffff1a;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-260px;right:-220px;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.login-brand h1{letter-spacing:-.045em;max-width:720px;margin:0 0 24px;font-size:clamp(42px,5vw,70px);line-height:1.02}.login-brand>div>p:last-child{color:#b9b9bd;max-width:480px;font-size:16px;line-height:1.6}.login-proof{z-index:1;gap:8px;display:flex}.login-proof span{color:#c8c8cb;border:1px solid #3c3d41;border-radius:999px;padding:7px 10px;font-size:12px}.login-panel{background:#fff;place-items:center;padding:40px;display:grid}.login-form{gap:22px;width:min(380px,100%);display:grid}.login-form h2{letter-spacing:-.025em;margin:0 0 7px;font-size:28px}.login-form .muted{margin:0}.login-form label,.form-stack label,.outcome-dialog label,.detail-properties label{gap:7px;display:grid}.login-form label span,.form-stack label span,.outcome-dialog label span,.detail-properties label span{color:#505056;font-size:12px;font-weight:650}.login-form input,.form-stack input,.form-stack select,.outcome-dialog select,.outcome-dialog textarea,.detail-properties select{border-radius:var(--radius);background:#fff;border:1px solid #cfcfd4;outline:none;width:100%;min-height:40px;padding:9px 11px}.login-form input:focus,.form-stack input:focus,.form-stack select:focus,.outcome-dialog select:focus,.outcome-dialog textarea:focus,.detail-properties select:focus,.note-composer textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #5e6ad21f}.form-error{border-radius:var(--radius);color:#923e3e;background:#fff5f5;border:1px solid #e4b9b9;margin:0;padding:9px 11px;font-size:12px}.security-note{color:#85858a;text-align:center;font-size:11px;line-height:1.5}.app-shell{grid-template-columns:220px minmax(0,1fr);height:100dvh;display:grid;overflow:hidden}.sidebar{border-right:1px solid var(--line);background:#f5f5f6;flex-direction:column;padding:12px 10px;display:flex}.workspace{align-items:center;gap:9px;padding:4px 7px 16px;display:flex}.workspace div{gap:1px;min-width:0;display:grid}.workspace strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.workspace span:not(.brand-mark){color:var(--muted);font-size:10px}.sidebar nav{gap:2px;display:grid}.nav-item{border-radius:var(--radius);color:#646469;padding:8px 10px;font-size:13px;text-decoration:none;display:block}.nav-item:hover{color:var(--text);background:#ebebed}.nav-item.active{color:var(--text);background:#e5e5e8;font-weight:650}.sidebar-spacer{flex:1}.profile{border:0;border-top:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:8px;padding:12px 7px 2px;display:flex}.profile>span:last-child{gap:1px;min-width:0;display:grid}.profile strong{font-size:12px}.profile small{color:var(--muted);text-transform:capitalize;font-size:10px}.avatar{color:#5c5c62;background:#e1e1e4;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:9px;font-weight:750;display:inline-grid}.avatar.tiny{width:22px;height:22px;font-size:8px}.workspace-main{background:#fff;flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;height:78px;padding:0 22px;display:flex}.topbar h1{letter-spacing:-.02em;margin:3px 0 0;font-size:20px}.breadcrumb{color:var(--muted);margin:0;font-size:11px}.top-actions{align-items:center;gap:8px;display:flex}.icon-button{border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;background:#fff;width:34px;height:34px;font-size:19px}.toolbar{border-bottom:1px solid var(--line-soft);align-items:center;gap:7px;min-height:50px;padding:8px 16px;display:flex}.view-chip,.filter-button{border:1px solid var(--line);border-radius:var(--radius);color:#5b5b61;background:#fff;min-height:30px;padding:0 10px;font-size:12px}.view-chip{color:var(--text);background:#f0f0f2;align-items:center;font-weight:650;display:flex}.filter-button{cursor:pointer}.search{border:1px solid var(--line);border-radius:var(--radius);background:#fff;align-items:center;gap:6px;min-width:260px;height:30px;padding:0 8px;display:flex}.search span{color:var(--muted);font-size:16px}.search input{background:0 0;border:0;outline:0;width:100%;font-size:12px}.result-count{color:var(--muted);margin-left:auto;font-size:11px}.inline-error{color:#8b551d;background:#fff7ed;border-bottom:1px solid #eed2ac;justify-content:space-between;align-items:center;padding:9px 16px;font-size:12px;display:flex}.inline-error button{color:inherit;cursor:pointer;background:0 0;border:0;font-weight:700}.board{background:#f8f8f9;flex:1;grid-auto-columns:minmax(260px,1fr);grid-auto-flow:column;gap:10px;min-height:0;padding:12px;display:grid;overflow:auto}.board-column{flex-direction:column;min-width:260px;min-height:0;display:flex}.column-header{padding:3px 5px 9px}.column-header>div{align-items:center;gap:7px;display:flex}.column-header strong{font-size:12px}.column-header>div>span:last-child{color:var(--muted);font-size:10px}.column-header p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:5px 0 0 16px;font-size:10px;overflow:hidden}.stage-dot{border-radius:50%;width:7px;height:7px}.column-cards{flex-direction:column;gap:7px;min-height:80px;display:flex}.opportunity-card{border-radius:var(--radius);cursor:pointer;background:#fff;border:1px solid #dadadd;outline:none;padding:11px;transition:border-color .12s,box-shadow .12s,transform .12s;box-shadow:0 1px 2px #1e1e230a}.opportunity-card:hover,.opportunity-card:focus{border-color:#b7b7bd;transform:translateY(-1px);box-shadow:0 2px 5px #1e1e2314}.opportunity-card:active{transform:translateY(0)}.card-title{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.card-title strong{font-size:12px;line-height:1.4}.card-title button{color:#8a8a90;cursor:pointer;background:0 0;border:0;padding:0}.person-name{color:var(--muted);margin:4px 0 9px;font-size:11px}.card-tags{flex-wrap:wrap;gap:4px;min-height:20px;display:flex}.badge{color:#606066;background:#f0f0f2;border-radius:4px;align-items:center;gap:4px;padding:3px 6px;font-size:9px;display:inline-flex}.badge.source{color:#505aa1;background:#eef0ff}.badge i{border-radius:50%;width:5px;height:5px}.card-value{color:#444449;margin:10px 0;font-size:11px;font-weight:650}.opportunity-card footer{color:#85858a;border-top:1px solid #f0f0f1;justify-content:space-between;align-items:center;padding-top:8px;font-size:9px;display:flex}.column-empty{border-radius:var(--radius);color:#99999e;text-align:center;border:1px dashed #d4d4d8;padding:18px 10px;font-size:10px}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#1a1a1d5c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-backdrop.elevated{z-index:50;background:#1a1a1d80}.modal{background:#fff;border:1px solid #cfcfd3;border-radius:8px;width:min(860px,100vw - 48px);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 20px 60px #19191e33}.compact-modal{width:min(540px,100vw - 32px)}.modal-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;gap:16px;padding:20px 22px;display:flex}.modal-header h2,.outcome-dialog h2{letter-spacing:-.02em;margin:0;font-size:19px}.modal-header .muted{margin:5px 0 0;font-size:12px}.close-button{border:1px solid var(--line);border-radius:var(--radius);color:#666;cursor:pointer;background:#fff;width:30px;height:30px;font-size:20px}.form-stack{gap:16px;padding:20px 22px;display:grid}.form-grid{grid-template-columns:150px 1fr;gap:10px;display:grid}.modal-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.detail-grid{grid-template-columns:minmax(0,1fr) 230px;min-height:430px;display:grid}.detail-grid>section{padding:20px 22px}.detail-grid h3{margin:0 0 12px;font-size:13px}.detail-properties{border-left:1px solid var(--line-soft);background:#fafafa;align-content:start;gap:18px;padding:20px;display:grid}.property{gap:5px;display:grid}.property span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:10px}.property strong{font-size:12px}.note-composer{gap:8px;display:grid}.note-composer textarea,.outcome-dialog textarea{resize:vertical;border-radius:var(--radius);border:1px solid #cfcfd4;outline:none;min-height:80px;padding:9px}.note-composer .button{justify-self:end}.activity-list{margin-top:18px;display:grid}.activity-list article{border-top:1px solid var(--line-soft);gap:9px;padding:12px 0;display:flex}.activity-list article>div{min-width:0}.activity-list strong{font-size:11px}.activity-list p{color:#4f4f54;white-space:pre-wrap;margin:5px 0;font-size:12px;line-height:1.5}.activity-list time{color:var(--muted);font-size:9px}.empty-copy{color:var(--muted);font-size:12px}.outcome-dialog{background:#fff;border:1px solid #cfcfd3;border-radius:8px;gap:16px;width:min(420px,100vw - 32px);padding:22px;display:grid;box-shadow:0 20px 60px #19191e40}.outcome-dialog .muted{margin:-8px 0 0}.skeleton{background:linear-gradient(90deg,#ececee 25%,#f5f5f6 50%,#ececee 75%) 0 0/200% 100%;animation:1.4s infinite shimmer}.top-skeleton{height:76px}.line{border-radius:var(--radius);height:30px;margin-bottom:10px}.card-skeleton{border-radius:var(--radius);height:130px;margin-bottom:8px}@keyframes shimmer{to{background-position:-200% 0}}@media (max-width:800px){.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-panel{min-height:100dvh;padding:24px}.app-shell{grid-template-columns:58px 1fr}.sidebar{padding:10px 6px}.workspace{padding:4px 10px 16px}.workspace>div,.workspace .brand-mark+div,.nav-item:not(.active),.profile>span:last-child{display:none}.nav-item.active{text-align:center;font-size:0}.nav-item.active:after{content:"CRM";font-size:10px}.profile{justify-content:center}.topbar{height:68px;padding:0 14px}.topbar h1{font-size:17px}.breadcrumb,.icon-button{display:none}.toolbar{overflow-x:auto}.search{min-width:210px}.result-count{display:none}.board{grid-auto-columns:270px}.modal-backdrop{padding:0}.opportunity-modal{border:0;border-radius:0;width:100vw;height:100dvh;max-height:none}.detail-grid{grid-template-columns:1fr}.detail-properties{border-left:0;border-top:1px solid var(--line-soft)}.form-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.theme-toggle{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:6px 10px;font-size:11px;display:flex}.theme-toggle:hover{background:var(--subtle);color:var(--text)}.theme-toggle.compact{z-index:5;border:1px solid var(--line);background:var(--panel);justify-content:center;width:36px;font-size:16px;position:fixed;top:18px;right:18px}html[data-theme=dark]{--bg:#171719;--panel:#202023;--subtle:#2a2a2e;--line:#3a3a3f;--line-soft:#303034;--text:#f0f0f2;--muted:#9b9ba2;--accent:#7c88ef;--accent-hover:#6d78dc;--danger:#d06060;--success:#54a46a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] body,html[data-theme=dark] .workspace-main,html[data-theme=dark] .login-panel{background:var(--panel);color:var(--text)}html[data-theme=dark] .sidebar{border-color:var(--line);background:#1b1b1e}html[data-theme=dark] .nav-item.active{color:var(--text);background:#303035}html[data-theme=dark] .nav-item:hover{color:var(--text);background:#28282c}html[data-theme=dark] .topbar,html[data-theme=dark] .toolbar,html[data-theme=dark] .modal,html[data-theme=dark] .outcome-dialog,html[data-theme=dark] .opportunity-card,html[data-theme=dark] .data-table,html[data-theme=dark] .settings-card{background:var(--panel);border-color:var(--line)}html[data-theme=dark] .board{background:var(--bg)}html[data-theme=dark] .opportunity-card{box-shadow:0 1px 2px #0006}html[data-theme=dark] .column-empty{color:#777780;border-color:#44444a}html[data-theme=dark] .card-value,html[data-theme=dark] .property strong,html[data-theme=dark] .activity-list p{color:var(--text)}html[data-theme=dark] .person-name,html[data-theme=dark] .opportunity-card footer{color:var(--muted)}html[data-theme=dark] .button,html[data-theme=dark] .icon-button,html[data-theme=dark] .filter-button,html[data-theme=dark] .search,html[data-theme=dark] .view-chip,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:var(--text);background:#252529;border-color:#424249}html[data-theme=dark] .button.primary{background:var(--accent);border-color:var(--accent);color:#fff}html[data-theme=dark] .detail-properties,html[data-theme=dark] .data-head{background:#252529}html[data-theme=dark] .badge{color:#c7c7cc;background:#303036}html[data-theme=dark] .badge.source{color:#c7ccff;background:#2d3150}html[data-theme=dark] .status-pill{color:#8ed19d;background:#26382c}html[data-theme=dark] .login-brand{background:#111113}html[data-theme=dark] .form-error{color:#f2b6b9;background:#3a2224;border-color:#704044}html[data-theme=dark] .modal-backdrop{background:#0009}@media (max-width:800px){.theme-toggle span:last-child{display:none}.theme-toggle{justify-content:center}}
