:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#18231d;background:#f4f5ef;font-synthesis:none;--ink:#18231d;--muted:#6d766f;--line:#dfe3da;--soft:#f4f5ef;--paper:#fff;--green:#163c2e;--green-soft:#e8f2ed;--shadow:0 16px 48px #17211b1f}*{box-sizing:border-box}html,body{min-height:100%}body{margin:0}button,input{font:inherit}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #1d6b4f38;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 18px 20px;color:#ecf3ef;background:#163c2e;z-index:5}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px;color:inherit;text-decoration:none}.brand:focus-visible{outline:3px solid #8db6a3;outline-offset:3px;border-radius:11px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;color:#173c2e;background:#dff0e6;font-weight:800;letter-spacing:-.03em;flex:none}.brand strong,.brand span{display:block}.brand strong{font-size:16px}.brand span{margin-top:1px;color:#a8beb4;font-size:11px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:11px 12px;border:0;border-radius:9px;color:#bdcec6;background:transparent;cursor:pointer;text-align:left}.sidebar nav button:hover{color:#fff;background:#ffffff12}.sidebar nav button.active{color:#14392c;background:#e8f2ed;font-weight:700}.sidebar nav b{min-width:28px;padding:1px 7px;border-radius:999px;background:#ffffff1a;font-size:11px;text-align:center}.sidebar nav button.active b{background:#d2e7db}.sidebar-divider{display:block;height:1px;border:0;background:#ffffff1f}.nav-section-divider{margin:5px 0}.sidebar-bottom{margin-top:auto}.coverage{padding:14px;border:1px solid #ffffff1f;border-radius:11px;background:#00000017}.settings-nav{margin-top:12px;padding-top:12px;border-top:1px solid #ffffff1f}.sidebar-footer-divider{margin-top:12px}.metric{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;color:#d6e3dd}.metric:first-child{margin-top:0}.metric strong{order:2}.metric span{color:#a8beb4}.read-only-note{margin:16px 8px 0;color:#9bb1a7;font-size:11px}.read-only-note span{color:#6f8d80}
.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:4;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 30px;border-bottom:1px solid var(--line);background:#fcfdfbf0;backdrop-filter:blur(12px)}.eyebrow{margin:0;color:#1d6b4f;text-transform:uppercase;letter-spacing:.13em;font-weight:800;font-size:10px}.workspace-title{margin:2px 0 0;font-size:18px;font-weight:750}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;flex:1}.star-filter{position:relative;display:flex;align-items:center;gap:6px;white-space:nowrap;padding:0;border:0;background:transparent;color:#425149;font-size:12px;font-weight:700;cursor:pointer}.star-filter[hidden]{display:none}.star-filter input{position:absolute;width:1px;height:1px;margin:-1px;opacity:0;pointer-events:none}.star-filter-icon{display:grid;place-items:center;width:22px;height:22px;color:#77837b;font-size:19px;line-height:1}.star-filter-icon::before{content:"☆"}.star-filter input:checked+.star-filter-icon{color:#aa7400}.star-filter input:checked+.star-filter-icon::before{content:"★"}.star-filter input:focus-visible+.star-filter-icon{outline:1px solid #d8ba69;outline-offset:2px;border-radius:4px}.search{position:relative;display:block;width:min(580px,58vw)}.search input{width:100%;height:44px;padding:0 48px 0 16px;border:1px solid #ccd5ce;border-radius:10px;background:#fff;color:var(--ink)}.search kbd{position:absolute;top:11px;right:12px;padding:2px 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;color:var(--muted);background:var(--soft);font-size:11px}main{padding:30px;min-width:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e7e9e3}.panel-head h2{margin:0;font-size:27px;letter-spacing:-.03em}.note{color:var(--muted);font-size:13px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:780px;table-layout:fixed}th,td{text-align:left;padding:11px 14px;border-bottom:1px solid #edf0ea;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#68736c;background:#f7f8f6}td{height:56px;white-space:nowrap}tbody tr{cursor:pointer}tbody tr:hover{background:#fafbf9}.identity{display:flex;align-items:center;gap:10px;font-weight:700;min-width:0}.identity>span:last-child{overflow:hidden;text-overflow:ellipsis}.identity small{display:block;font-weight:400}.avatar{width:34px;height:34px;border-radius:9px;object-fit:cover;background:#dfe9e2;display:grid;place-items:center;color:#355746;font-weight:700;flex:0 0 auto}.avatar.large{width:74px;height:74px;border-radius:16px;font-size:22px}.muted{color:#7a837c}.links{display:flex;gap:6px;flex-wrap:wrap}.rel{border:1px solid #cfe0d6;background:#f4faf6;color:#1d6b4f;border-radius:7px;padding:4px 8px;cursor:pointer}.rel:hover{background:var(--green-soft)}
.pipeline{display:grid;grid-auto-flow:column;grid-auto-columns:280px;gap:12px;overflow:auto;padding:0 0 14px;scroll-behavior:auto}.pipeline+.panel-head{border:0}.column{background:#eef1ed;border:1px solid var(--line);border-radius:11px;padding:10px;min-height:540px;transition:border-color .15s,background .15s}.column h3{font-size:13px;margin:0 0 10px;padding:4px 3px;display:flex;justify-content:space-between}.column h3 b{color:var(--muted);font-size:11px}.card{position:relative;background:#fff;border:1px solid #dce3dd;border-radius:9px;padding:12px;margin-bottom:8px;cursor:pointer;box-shadow:0 1px 2px #17211b0a;transition:border-color .15s,transform .15s}.card:hover{border-color:#9bb9aa;transform:translateY(-1px)}.card strong,.card span{display:block}.card span{font-size:12px;color:#68736b;margin-top:4px}.card .created{margin-top:8px;color:#78827b;font-size:10px}.card-title{padding-right:66px}.card-actions{position:absolute;top:7px;right:7px;display:flex;align-items:center;gap:3px;z-index:2}.card .drag-handle{position:static;display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:7px;color:#75827a;background:transparent;font-weight:800;cursor:grab;touch-action:none}.card .drag-handle:hover,.card .drag-handle:focus-visible{color:#1d6b4f;background:#edf5f0;outline:2px solid #89b6a1;outline-offset:1px}.card .drag-handle:active{cursor:grabbing}.drag-source{display:none}.keyboard-picked{opacity:.42}.deal-placeholder{box-sizing:border-box;margin-bottom:8px;border:2px dashed #4f8c70;border-radius:9px;background:#e5f1e9;transition:transform .15s}.deal-ghost{position:fixed;left:0;top:0;z-index:1000;margin:0;pointer-events:none;opacity:.78;overflow:hidden;background:#fff;border:1px solid #91b7a3;border-radius:9px;box-shadow:0 16px 36px #173c2e33}.deal-ghost .card-actions{display:none}.empty{padding:28px;color:#747e77}
dialog{margin:0 0 0 auto;height:100%;width:min(680px,96vw);max-height:100%;border:0;padding:0;background:#fcfdfb;box-shadow:-12px 0 40px #10251a33}dialog::backdrop{background:#10251a55}.close{position:sticky;float:right;top:14px;right:16px;border:1px solid var(--line);background:#fff;border-radius:9px;width:36px;height:36px;font-size:23px;cursor:pointer;z-index:2}#drawer-content{padding:34px}.record-head{display:flex;gap:18px;align-items:center;padding-right:45px}.record-head h2{margin:0 0 5px;font-size:26px}.record-section{margin-top:24px;padding:17px;border:1px solid var(--line);border-radius:10px;background:#fff}.record-section h3{margin:0 0 13px;font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#6a756d;border-bottom:1px solid #e5e8e2;padding-bottom:8px}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fact{background:#f7f8f5;border-radius:8px;padding:10px}.fact b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#758078;margin-bottom:4px}.channel{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0ea}.channel:last-child{border-bottom:0}.channel a{color:#176640;overflow-wrap:anywhere}.timeline{border-left:2px solid #ccdacf;margin-left:8px;padding-left:18px}.event{margin:0 0 16px}.event p{margin:2px 0}.event time{font-size:12px;color:#7b847e}details{margin-top:24px;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}summary{cursor:pointer;font-weight:700;color:#1d6b4f}.search-results{display:grid;gap:8px;padding:12px}.search-hit{display:flex;justify-content:space-between;align-items:center;border:1px solid #e2e6df;border-radius:9px;background:#fff;padding:12px;cursor:pointer}.search-hit:hover{background:#f7f9f6}.badge{text-transform:capitalize;color:#627068;font-size:12px}.pager{display:flex;gap:8px;align-items:center}.pager button{border:1px solid #ced5cc;background:#fff;border-radius:7px;padding:6px 10px}.pager button:disabled{opacity:.45}.warning{color:#855b20}
.record-blocks{display:grid;gap:16px;margin-top:24px}.record-blocks .record-section,.record-blocks details{margin-top:0}.about-section{border-left:4px solid #8eb9a3}.contact-section,.client-section{border-left:4px solid #4c8a6c}.entity-previews{display:grid;gap:10px}.entity-preview{padding:12px;border:1px solid #dfe7e1;border-radius:9px;background:#f8faf7}.entity-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-channels{margin-top:8px;padding-top:5px;border-top:1px solid #e3e8e4}.preview-channels .channel{padding:6px 0;font-size:12px}.relation-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start;padding:8px 0}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere}.channel-icons{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.channel-icon{display:inline-grid;place-items:center;width:27px;height:27px;border:1px solid #d3dfd7;border-radius:7px;color:#1d6b4f;background:#f4faf6;font-size:13px;font-weight:800;text-decoration:none}.channel-icon:hover{background:#dfeee5}.channel-icon.facebook{font-family:Arial,sans-serif}.channel-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;color:#5f6c64;background:#edf1ed;font-size:10px;font-weight:800}.no-channels{color:#929b95;font-size:11px;font-style:italic}.contact-table th:nth-child(1){width:22%}.contact-table th:nth-child(2){width:15%}.company-table th:nth-child(1){width:22%}.company-table th:nth-child(2){width:15%}.lead-table th:nth-child(1){width:20%}.lead-table th:nth-child(2){width:14%}.loading-state{display:grid;place-items:center;min-height:55vh;color:var(--muted)}.drawer-loading{display:grid;align-content:center;gap:14px;min-height:45vh;padding:32px;color:var(--muted)}.drawer-loading strong{color:var(--ink);font-size:16px}.loading-progress{position:relative;width:100%;height:5px;overflow:hidden;border-radius:999px;background:#dfe8e2}.loading-progress::after{content:"";position:absolute;inset:0 auto 0 0;width:42%;border-radius:inherit;background:#1d6b4f;animation:drawer-progress 1.15s ease-in-out infinite}.error-panel{max-width:620px;margin:70px auto;padding:24px;border:1px solid #efc7c7;border-radius:12px;color:#873d3d;background:#fff7f7}.error-panel h2{margin-top:0}.retry-button{padding:9px 14px;border:1px solid #1d6b4f;border-radius:8px;color:#fff;background:#1d6b4f;cursor:pointer}.drawer-error .error-panel{margin:80px 22px}.provenance-section .facts{margin-top:14px}@keyframes drawer-progress{0%{transform:translateX(-110%)}50%{transform:translateX(85%)}100%{transform:translateX(240%)}}@media(prefers-reduced-motion:reduce){.loading-progress::after{width:100%;animation:none}}
.record-blocks{display:grid;gap:16px;margin-top:24px}.record-blocks .record-section,.record-blocks details{margin-top:0}.about-section{border-left:4px solid #8eb9a3}.contact-section,.client-section{border-left:4px solid #4c8a6c}.stage-editor{border-left:4px solid #d39a42}.stage-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:13px}.stage-controls label{font-size:12px;font-weight:700}.stage-controls select,.stage-controls button{height:38px;border:1px solid #cdd7cf;border-radius:8px;background:#fff;padding:0 10px}.stage-controls button{border-color:#1d6b4f;color:#fff;background:#1d6b4f;cursor:pointer}.entity-previews{display:grid;gap:10px}.entity-preview{padding:12px;border:1px solid #dfe7e1;border-radius:9px;background:#f8faf7}.entity-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-channels{margin-top:8px;padding-top:5px;border-top:1px solid #e3e8e4}.preview-channels .channel{padding:6px 0;font-size:12px}.relation-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start;padding:8px 0}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere}.channel-icons{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.channel-icon{display:inline-grid;place-items:center;width:27px;height:27px;border:1px solid #d3dfd7;border-radius:7px;color:#1d6b4f;background:#f4faf6;font-size:13px;font-weight:800;text-decoration:none}.channel-icon:hover{background:#dfeee5}.channel-icon.facebook{font-family:Arial,sans-serif}.channel-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;color:#5f6c64;background:#edf1ed;font-size:10px;font-weight:800}.no-channels{color:#929b95;font-size:11px;font-style:italic}.contact-table th:nth-child(1){width:22%}.contact-table th:nth-child(2){width:15%}.company-table th:nth-child(1){width:22%}.company-table th:nth-child(2){width:15%}.lead-table th:nth-child(1){width:20%}.lead-table th:nth-child(2){width:14%}.loading-state{display:grid;place-items:center;min-height:55vh;color:var(--muted);text-align:center}.error-panel{max-width:620px;margin:70px auto;padding:24px;border:1px solid #efc7c7;border-radius:12px;color:#873d3d;background:#fff7f7}.error-panel h2{margin-top:0}.retry-button{padding:9px 14px;border:1px solid #1d6b4f;border-radius:8px;color:#fff;background:#1d6b4f;cursor:pointer}.drawer-error .error-panel{margin:80px 22px}.provenance-section .facts{margin-top:14px}.toast{position:fixed;right:24px;bottom:24px;z-index:20;display:none;align-items:center;gap:14px;max-width:min(460px,calc(100vw - 48px));padding:13px 15px;border-radius:10px;color:#fff;background:#173c2e;box-shadow:var(--shadow)}.toast.show{display:flex}.toast.error{background:#873d3d}.toast button{border:1px solid #ffffff66;border-radius:7px;padding:6px 10px;color:#fff;background:#ffffff18;cursor:pointer}
.card-title{display:flex;align-items:flex-start;gap:6px}.card-title strong{flex:1}.card .drag-handle{display:inline;color:#8a958e;margin:0;font-weight:800}.card .card-field-label{display:inline;color:#4f5d54;font-size:11px}.section-title{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.section-title h3{flex:1}.stage-editor>label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#59665e}.stage-editor select{height:38px;border:1px solid #c9d5cd;border-radius:8px;background:#fff;padding:0 10px}.channel-value{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.copy-channel{display:inline-grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid #cbd8cf;border-radius:7px;color:#1d6b4f;background:#f5faf7;cursor:pointer;flex:none}.copy-channel:hover,.copy-channel.copied{background:#dfeee5}.copy-feedback{min-width:0;color:#367455;font-size:10px}.copy-buffer{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}
.entity-form{display:grid;gap:16px}.entity-form>label,.form-grid label,.form-section label{display:grid;gap:6px;color:#4f5d54;font-size:12px;font-weight:700}.entity-form input,.entity-form select,.entity-form textarea{width:100%;border:1px solid #cbd5ce;border-radius:8px;padding:9px 10px;color:var(--ink);background:#fff;font:inherit}.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus{border-color:#4f8c70;outline:3px solid #1d6b4f24}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-section{display:grid;gap:12px;margin:0;padding:15px;border:1px solid var(--line);border-radius:10px}.form-section legend{padding:0 6px;color:#425149;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.field-help,.required-note{margin:0;color:var(--muted);font-size:11px;font-weight:400}.required-marker{color:#b24a3d;font-weight:900}.select-label{margin-top:2px}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.form-actions button{padding:9px 14px;border:1px solid #cbd5ce;border-radius:8px;background:#fff;cursor:pointer}.form-actions .primary-button{border-color:#1d6b4f;color:#fff;background:#1d6b4f}
.settings-surface{max-width:760px;margin:0 auto;padding:24px 0}.settings-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}.settings-heading h2{margin:2px 0 0;font-size:28px}.settings-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;color:#fff;background:#1d6b4f;font-size:13px;font-weight:800}.settings-card{padding:24px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 2px 8px #17211b0a}.settings-card h3{margin:18px 0 7px;font-size:18px}.settings-card p{max-width:620px;margin:0;color:var(--muted);line-height:1.55}.settings-status{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;color:#655b45;background:#f2eee5;font-size:11px;font-weight:800}.settings-status i{width:7px;height:7px;border-radius:50%;background:#8e846e}.client-groups{display:grid;gap:16px}.client-group+ .client-group{padding-top:16px;border-top:1px solid #dfe7e1}.client-group h4{margin:0 0 9px;color:#425149;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.client-empty{margin:0;padding:12px;border:1px dashed #d7dfda;border-radius:9px;color:#7c8780;background:#fafbf9;font-size:12px}.record-nav{min-height:34px;margin:0 54px 4px 0}.record-back{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d1dbd4;border-radius:9px;color:#1d6b4f;background:#fff;font-size:19px;cursor:pointer}.record-back:hover,.record-back:focus-visible{background:#eaf3ed;outline:2px solid #89b6a1;outline-offset:1px}
@media(max-width:850px){.app-shell{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:20px 10px}.brand{padding:0 9px 24px}.brand-copy,.sidebar nav button span,.coverage,.read-only-note{display:none}.sidebar nav button{justify-content:center;padding:10px 4px;font-size:0}.sidebar nav button::before{content:attr(data-short);font-size:13px;font-weight:800}.sidebar nav b{display:none}.topbar{padding:12px 16px}.topbar>div{display:none}.search{width:100%}main{padding:20px 16px}.facts{grid-template-columns:1fr}.relation-row{grid-template-columns:1fr}.entity-preview-head{align-items:flex-start;flex-direction:column}.settings-surface{padding-top:8px}.settings-card{padding:18px}}
@media(max-width:520px){.app-shell{grid-template-columns:58px minmax(0,1fr)}.sidebar{padding:16px 7px}.brand{padding:0 3px 20px}.brand-mark{width:38px;height:38px}.topbar{min-height:64px}.sync-actions button{padding:0 6px}main{padding:14px 10px}.panel-head{align-items:flex-start;gap:10px}.panel-head h2{font-size:23px}.pager{font-size:11px}.pipeline{grid-auto-columns:250px}#drawer-content{padding:24px 18px}.record-head{align-items:flex-start}.form-grid{grid-template-columns:1fr}.toast{right:14px;bottom:14px;max-width:calc(100vw - 28px)}}
.search-hit:hover,.search-hit:focus-visible{background:#f7f9f6}.search-hit .identity{min-width:0}.search-hit-copy{display:grid;min-width:0;gap:3px}.search-hit-copy strong,.search-hit-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-hit-copy small{color:#758078;font-size:11px;font-weight:400}

/* v0.4.13 P1 cosmetic system */
.sidebar nav button{min-height:44px}.nav-item{display:flex;align-items:center;gap:10px;min-width:0}.nav-icon{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-wrap{scrollbar-gutter:stable}.company-table,.contact-table{min-width:760px}.lead-table{min-width:940px}.col-star{width:46px;padding-right:4px;padding-left:10px}.col-identity{min-width:180px}.company-table .col-identity,.contact-table .col-identity{width:25%}.company-table .col-availability,.contact-table .col-availability{width:126px;text-align:right}.company-table .col-updated,.contact-table .col-updated{width:130px}.lead-table .col-identity{width:21%}.lead-table .col-channels{width:120px}.lead-table .col-status{width:110px}.lead-table .col-updated{width:130px}.links{min-width:0;flex-wrap:nowrap;overflow:hidden}.links .rel{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pipeline-shell{position:relative;min-width:0}.pipeline-scroll-cue{display:none;position:absolute;z-index:3;right:12px;top:8px;margin:0;padding:5px 8px;border:1px solid #d5dfd8;border-radius:999px;color:#526158;background:#ffffffed;box-shadow:0 2px 8px #17211b12;font-size:10px;font-weight:800;pointer-events:none}.pipeline-scroll-cue span{margin-left:4px}.pipeline{scrollbar-color:#8aa397 #e5ebe7;scrollbar-width:thin}.pipeline::-webkit-scrollbar{height:10px}.pipeline::-webkit-scrollbar-track{border-radius:999px;background:#e5ebe7}.pipeline::-webkit-scrollbar-thumb{border:2px solid #e5ebe7;border-radius:999px;background:#8aa397}
.card{--deal-card-rail:106px;padding-right:calc(12px + var(--deal-card-rail))}.card-copy{min-width:0}.card-copy>span,.card-title strong,.exact-stage{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-title{padding-right:0}.card-actions{width:var(--deal-card-rail);justify-content:flex-end}.card .channel-indicators.card-bottom{right:10px;width:var(--deal-card-rail)}.card .created{padding-right:0}.deal-ghost .card-copy{padding-right:0}
.record-head{padding-right:45px}.record-actions{min-height:40px}.record-actions .drawer-star{display:grid;width:36px;height:36px;margin:0;padding:0;border:1px solid #d7ded9;border-radius:8px;background:#fff;opacity:1}.record-actions .drawer-star:hover{border-color:#d8ba69;background:#fffaf0}.record-actions .drawer-star:focus-visible{border-radius:8px}.record-actions .icon-danger{display:grid;place-items:center;padding:0}.record-blocks{margin-top:18px}
@media(max-width:1100px){.company-table .col-leads,.company-table .col-updated,.contact-table .col-leads,.contact-table .col-updated,.lead-table .col-source,.lead-table .col-responsible,.lead-table .col-updated{display:none}.company-table,.contact-table{min-width:620px}.lead-table{min-width:720px}.pipeline-scroll-cue{display:block}}
@media(max-width:850px){.brand-copy,.coverage,.read-only-note{display:none}.sidebar nav button span{display:initial}.sidebar nav button{justify-content:center;width:44px;margin-inline:auto;padding:0;font-size:inherit}.sidebar nav button::before{content:none}.sidebar nav button .nav-item{display:flex}.sidebar nav button .nav-label,.sidebar nav b{display:none}.nav-icon{width:21px;height:21px}.company-table .col-deals,.contact-table .col-deals,.lead-table .col-channels{display:none}.company-table,.contact-table{min-width:490px}.lead-table{min-width:610px}.panel-head{gap:14px}.panel-head .note{display:block}.pipeline-scroll-cue{right:8px}.record-head{gap:13px}.avatar.large{width:62px;height:62px}}
@media(max-width:520px){.sidebar nav button{width:42px;height:42px}.nav-icon{width:20px;height:20px}.company-table,.contact-table{min-width:440px}.lead-table{min-width:560px}.company-table .col-contacts,.contact-table .col-companies,.lead-table .col-contact{display:none}.panel-head{flex-wrap:wrap}.panel-actions{width:100%}.pipeline-scroll-cue{top:6px}.card{--deal-card-rail:102px}.record-head{padding-right:36px}.record-head h2{font-size:22px}}

/* v0.4.13 visual QA corrective pass */
table.company-table th.col-star,table.contact-table th.col-star{width:46px}table.company-table th.col-identity,table.contact-table th.col-identity{width:38%}.lead-table{min-width:1200px}.lead-table th.col-identity{width:230px}.lead-table th.col-channels{width:120px}.lead-table th.col-status{width:150px}.lead-table th.col-source{width:150px}.lead-table th.col-company,.lead-table th.col-contact{width:180px}.lead-table th.col-responsible{width:150px}.lead-table th.col-updated{width:130px}
.pipeline-shell::after{content:"";position:absolute;z-index:3;top:0;right:0;bottom:14px;width:28px;background:linear-gradient(90deg,transparent,#f4f5efcc);pointer-events:none}.pipeline-scroll-cue{display:none!important}
@media(max-width:1100px){.company-table{min-width:560px}.contact-table{min-width:640px}.lead-table{min-width:880px}}
@media(max-width:850px){table.company-table th.col-identity,table.contact-table th.col-identity{width:44%}.company-table{min-width:520px}.contact-table{min-width:620px}.lead-table{min-width:760px}}
@media(max-width:700px){.company-table .col-contacts{display:none}table.company-table th.col-identity{width:auto}.company-table{min-width:430px}.contact-table{min-width:620px}}
@media(max-width:520px){.contact-table .col-companies{display:none}table.contact-table th.col-identity{width:auto}.contact-table{min-width:430px}.lead-table{min-width:680px}}

/* Product scope */
.product-filter{position:relative;flex:0 0 auto}.product-filter-menu{margin:0;padding:0;border:0;background:transparent}.product-filter-menu>summary{display:flex;align-items:center;gap:7px;min-height:40px;margin:0;padding:6px 10px;border:1px solid #ccd5ce;border-radius:9px;background:#fff;color:#425149;font-size:12px;list-style:none;cursor:pointer;white-space:nowrap}.product-filter-menu>summary::-webkit-details-marker{display:none}.product-filter-menu>summary::after{content:"▾";color:#718078}.product-filter-menu>summary strong{max-width:150px;overflow:hidden;text-overflow:ellipsis}.product-filter-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:20;display:grid;gap:3px;width:260px;max-height:320px;padding:8px;border:1px solid #ced8d0;border-radius:10px;background:#fff;box-shadow:var(--shadow);overflow:auto}.product-filter-popover label{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border-radius:7px;color:#34463c;font-size:12px;cursor:pointer}.product-filter-popover label:hover{background:#f0f5f1}.product-filter-popover input{flex:none}.product-filter-all{font-weight:800;border-bottom:1px solid #e4e9e5}.product-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 7px;border:1px solid color-mix(in srgb,var(--product-color) 35%,#d8dfda);border-radius:999px;color:#34463c;background:color-mix(in srgb,var(--product-color) 9%,#fff);font-size:10px;font-weight:800;white-space:nowrap}.product-badge>span{overflow:hidden;text-overflow:ellipsis}.product-badge i,.product-swatch{width:8px;height:8px;border-radius:50%;background:var(--product-color);flex:none}.product-badge.archived,.product-line.archived{filter:grayscale(1);opacity:.68}.product-badges{display:flex;gap:4px;min-width:0;overflow:hidden}.product-line{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#77827b;font-size:10px;font-weight:600}.product-table{min-width:800px}.product-table .col-identity{width:28%}.product-table .col-status{width:14%}.product-title{display:flex;align-items:center;gap:8px}.record-product select{width:100%;height:40px;padding:0 10px;border:1px solid #cbd5ce;border-radius:8px;background:#fff}.col-products{width:150px}.lead-table col.col-product{width:180px}.lead-table .col-product{width:180px}.identity .lead-product-inline{display:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#77827b;font-size:10px;font-weight:500}.company-table,.contact-table{min-width:900px}.lead-table{min-width:1470px}
@media(max-width:1100px){.product-filter-menu>summary strong{max-width:95px}.company-table .col-products,.contact-table .col-products,.lead-table .col-product{display:none}.identity .lead-product-inline{display:block}.company-table,.contact-table{min-width:620px}.lead-table{min-width:900px}.product-table .col-updated{display:none}.product-table{min-width:720px}}
@media(max-width:850px){.topbar{align-items:flex-start;flex-wrap:wrap}.topbar>.workspace-heading{display:none}.topbar-actions{display:flex;width:100%;justify-content:flex-start;flex-wrap:wrap}.product-filter{order:-1}.product-filter-popover{left:0;right:auto}.search{flex:1;min-width:220px}.product-table{min-width:660px}}
@media(max-width:520px){.topbar-actions{gap:8px}.product-filter{width:100%}.product-filter-menu>summary{justify-content:space-between;width:100%}.product-filter-popover{width:min(300px,calc(100vw - 88px))}.search{min-width:0}.product-table{min-width:580px}}
.card-meta-line{display:flex!important;align-items:center;gap:5px;min-width:0;max-width:100%;color:#77827b;font-size:10px;font-weight:600}.card-meta-line.archived{filter:grayscale(1);opacity:.68}.card-meta-line svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.card-meta-line>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-color-display{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.product-color-display b{color:var(--ink)}.product-color-preview{display:inline-block;width:20px;height:20px;flex:none;border:1px solid #9eaaa2;border-radius:6px;background:var(--product-color)}.product-color-preview.empty{background:repeating-linear-gradient(135deg,#eef1ef 0 4px,#d7ddd9 4px 8px)}.product-color-field{display:grid;gap:6px}.product-color-control{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:center}.product-color-control .product-color-preview{width:40px;height:40px}.product-color-picker{position:absolute!important;left:0;top:0;width:40px!important;height:40px!important;margin:0;padding:0!important;opacity:0;cursor:pointer}.field-error{min-height:16px;color:#9e2f2f;font-size:11px;font-weight:600}
@media(max-width:850px){.topbar>.topbar-actions{display:flex}}
.product-current{display:flex;align-items:center;gap:8px;margin-bottom:8px}
