@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.block{display:block}.table{display:table}.table-row{display:table-row}.rotate-180{rotate:180deg}.rotate-270{rotate:270deg}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--canvas:#f4f6f8;--panel:#fff;--sidebar:#20282f;--sidebar-muted:#93a0aa;--text:#1f2b33;--muted:#72808a;--line:#e3e8ec;--accent:#2f8f83;--accent-dark:#246f67;--accent-soft:#e6f3f0;--danger:#d35f5f;--warning:#d59a34;--shadow:0 8px 28px #1f2b330f}*{box-sizing:border-box}html,body{background:var(--canvas);min-height:100%;color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:8px;outline:none;padding:10px 11px;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#86bdb4;box-shadow:0 0 0 3px #2f8f831f}textarea{resize:vertical}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--sidebar);color:#f7fafb;flex-direction:column;flex:0 0 246px;width:246px;padding:23px 14px 15px;display:flex}.brand{align-items:center;gap:10px;padding:0 10px;display:flex}.brand-mark{background:var(--accent);color:#fff;letter-spacing:-.05em;border-radius:9px;place-items:center;width:31px;height:31px;font-size:18px;font-weight:800;display:grid}.brand strong{letter-spacing:-.02em;font-size:15px;display:block}.brand span{color:#aeb9c0;letter-spacing:.2em;margin-top:2px;font-size:10px;display:block}.workspace-pill{color:#a6b2ba;border:1px solid #ffffff17;border-radius:7px;align-items:center;gap:8px;margin:31px 6px 19px;padding:9px 10px;font-size:11px;display:flex}.workspace-dot,.status-dot,.live-dot{background:#71c2a8;border-radius:50%;width:7px;height:7px;display:inline-block;box-shadow:0 0 0 3px #71c2a81f}.nav-list{flex-direction:column;gap:3px;display:flex}.nav-item{color:#aeb9c0;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;width:100%;padding:10px 12px;font-size:13px;display:flex}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item.active{color:#fff;box-shadow:inset 3px 0 var(--accent);background:#2f8f8338}.nav-count{color:#fff;background:#cf6a67;border-radius:6px;place-items:center;min-width:19px;height:19px;margin-left:auto;font-size:10px;display:grid}.sidebar-footer{border-top:1px solid #ffffff14;margin-top:auto;padding-top:15px}.system-status{align-items:center;gap:10px;margin-bottom:8px;padding:10px;display:flex}.system-status strong,.system-status small{display:block}.system-status strong{font-size:12px}.system-status small{color:#89959e;margin-top:2px;font-size:10px}.status-dot.green{background:#6dc4a3}.status-dot.amber{background:#dba34a}.logout-button{color:#84919a}.main-area{flex:1;min-width:0}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:68px;padding:0 32px;display:flex}.topbar-search{color:#97a2aa;align-items:center;gap:9px;width:min(330px,40vw);display:flex}.topbar-search input{box-shadow:none;background:0 0;border:none;padding:8px 0;font-size:13px}.topbar-search input:focus{box-shadow:none}.topbar-actions{align-items:center;gap:10px;display:flex}.icon-button{border:1px solid var(--line);color:#70808a;background:#fff;border-radius:8px;place-items:center;width:33px;height:33px;display:grid}.icon-button:hover{color:var(--accent-dark);background:#f9fbfb;border-color:#b9d9d3}.notification-button{position:relative}.notification-button span{background:#d46767;border-radius:50%;width:5px;height:5px;position:absolute;top:6px;right:7px}.user-chip{border-left:1px solid var(--line);align-items:center;gap:9px;margin-left:4px;padding-left:10px;display:flex}.user-chip strong,.user-chip small{display:block}.user-chip strong{font-size:12px}.user-chip small{color:var(--muted);margin-top:2px;font-size:10px}.avatar,.client-avatar{background:var(--accent-soft);color:var(--accent-dark);place-items:center;font-weight:700;display:grid}.avatar{border-radius:50%;width:30px;height:30px;font-size:12px}.content-area{max-width:1600px;margin:0 auto;padding:31px 34px 60px}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px;display:flex}.eyebrow{color:#80909a;letter-spacing:.15em;font-size:10px;font-weight:700}h1,h2,h3,p{margin:0}.section-heading h1{letter-spacing:-.035em;margin:5px 0;font-size:27px}.section-heading p{color:var(--muted);font-size:13px}h2{letter-spacing:-.015em;font-size:15px}.panel-heading h2{align-items:center;gap:7px;display:flex}.panel-heading p{color:var(--muted);margin-top:5px;font-size:12px}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 13px;font-size:12px;font-weight:650;transition:all .15s;display:inline-flex}.button-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button-secondary{color:#45555f;border-color:var(--line);background:#fff}.button-secondary:hover{color:var(--accent-dark);border-color:#b6d6d0}.button-ghost{color:#65757e;background:0 0;border-color:#0000}.button-ghost:hover{color:var(--accent-dark);background:#f1f5f5}.button-small{min-height:30px;padding:0 9px;font-size:11px}.button:focus-visible,.nav-item:focus-visible,.icon-button:focus-visible{outline-offset:1px;outline:3px solid #2f8f833d}.metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.metric-card{border:1px solid var(--line);min-height:136px;box-shadow:var(--shadow);background:#fff;border-radius:10px;padding:15px}.metric-icon{border-radius:8px;place-items:center;width:32px;height:32px;margin-bottom:17px;display:grid}.metric-icon.blue,.quick-icon.blue{color:#4682b7;background:#e9f2fb}.metric-icon.amber,.quick-icon.amber{color:#b7812b;background:#fff3dc}.metric-icon.red{color:#bf6262;background:#fbeceb}.metric-icon.green,.quick-icon.green{color:#4c9b84;background:#e5f4ef}.metric-icon.violet{color:#7c68b1;background:#efebfb}.metric-icon.cyan{color:#4e8e99;background:#e5f3f5}.metric-label{color:var(--muted);font-size:11px}.metric-value{letter-spacing:-.04em;margin-top:3px;font-size:21px;display:block}.metric-detail{color:#95a0a6;margin-top:4px;font-size:10px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:18px;display:grid}.panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:10px}.attention-panel,.quick-panel,.table-panel,.detail-panel,.task-panel,.settings-card{padding:20px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.text-link{color:var(--accent-dark);align-items:center;gap:5px;font-size:12px;display:inline-flex}.attention-list{flex-direction:column;display:flex}.attention-item{border-top:1px solid #edf0f1;align-items:center;gap:11px;min-height:63px;padding:10px 0;display:flex}.attention-item:hover strong{color:var(--accent-dark)}.attention-marker{background:#74b9ad;border-radius:4px;width:6px;height:30px}.attention-main{flex:1;min-width:0}.attention-main strong,.attention-main span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.attention-main strong{font-size:12px}.attention-main span{color:var(--muted);margin-top:4px;font-size:11px}.attention-score{color:#54646e;text-align:right;font-size:11px}.attention-score small{color:#9ba6ac;margin-top:3px;font-size:10px;display:block}.quick-action{text-align:left;color:#71818a;background:0 0;border:0;border-top:1px solid #edf0f1;align-items:center;gap:11px;width:100%;padding:12px 0;display:flex}.quick-action:first-of-type{border-top:0}.quick-action>div:nth-child(2){flex:1}.quick-action strong,.quick-action span{display:block}.quick-action strong{color:var(--text);font-size:12px}.quick-action span{margin-top:4px;font-size:10px}.quick-icon{border-radius:8px;place-items:center;width:31px;height:31px;display:grid}.quick-action>svg{color:#b1bbc0}.notice{border-radius:8px;align-items:center;gap:9px;margin:-9px 0 20px;padding:10px 13px;font-size:12px;display:flex}.notice.success{color:#317d6e;background:#e9f5f1;border:1px solid #bce2d7}.notice.error{color:#b65050;background:#fff0ee;border:1px solid #f1c7c4}.notice span{font-weight:750}.notice-close{color:inherit;background:0 0;border:0;margin-left:auto}.toolbar{align-items:center;gap:9px;margin-bottom:15px;display:flex}.search-field{border:1px solid var(--line);color:#95a2a8;background:#fff;border-radius:7px;align-items:center;gap:8px;min-width:280px;padding:0 10px;display:flex}.search-field input{box-shadow:none;border:0;padding:9px 0}.search-field input:focus{box-shadow:none}.toolbar select{width:auto;min-width:145px;padding:9px 30px 9px 10px}.toolbar-info{color:#8b979d;align-items:center;gap:8px;font-size:11px;display:flex}.live-dot{width:6px;height:6px}.view-switch{border:1px solid var(--line);background:#fff;border-radius:7px;gap:2px;margin-left:auto;padding:3px;display:flex}.view-switch button,.filter-tabs button{color:#859198;background:0 0;border:0;border-radius:5px;align-items:center;gap:5px;padding:7px 10px;font-size:11px;display:inline-flex}.view-switch button.active,.filter-tabs button.active{color:var(--accent-dark);background:#eef5f3;font-weight:650}.split-layout{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:16px;display:grid}.count-badge{color:#7d898f;background:#f0f3f4;border-radius:5px;padding:3px 6px;font-size:10px;font-weight:500}.lead-list{border-top:1px solid #edf0f1}.lead-row{text-align:left;background:#fff;border:0;border-bottom:1px solid #edf0f1;align-items:center;gap:10px;width:100%;padding:13px 4px;display:flex}.lead-row:hover,.lead-row.selected{background:#f9fbfb}.lead-source-dot{background:#5aa99b;border-radius:50%;flex:0 0 7px;width:7px;height:7px}.lead-row-main{flex:1;min-width:0}.lead-row-main strong,.lead-row-main span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.lead-row-main strong{font-size:12px}.lead-row-main span{color:var(--muted);margin-top:5px;font-size:10px}.lead-row-meta{text-align:right}.lead-row-meta small{color:#87939a;margin-top:5px;font-size:10px;display:block}.status-pill{color:#758189;background:#f0f2f3;border-radius:5px;align-items:center;padding:3px 6px;font-size:10px;display:inline-flex}.status-pill.new{color:#4c86b7;background:#eaf3fb}.status-pill.in_review{color:#ae7d2c;background:#fff4df}.status-pill.draft{color:#77868f;background:#f0f3f4}.status-pill.approved{color:#3d8d76;background:#e7f5ef}.rotate-270{color:#acb5b9;transform:rotate(-90deg)}.detail-panel{min-height:520px}.detail-placeholder{color:#9aa6aa;text-align:center;border:1px dashed #ccd7da;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:520px;display:flex}.detail-placeholder strong{color:#60717a;font-size:13px}.detail-placeholder span{font-size:11px}.detail-header{border-bottom:1px solid var(--line);justify-content:space-between;gap:14px;padding-bottom:16px;display:flex}.detail-header h2{margin:6px 0 5px;font-size:17px}.detail-header p{color:var(--muted);font-size:12px}.detail-body{padding-top:18px}.detail-section label{color:#859299;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:10px;font-weight:700;display:block}.preserve{white-space:pre-wrap;color:#4c5b64;font-size:12px;line-height:1.6}.detail-facts{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.detail-facts div{background:#f7f9f9;border-radius:7px;padding:10px}.detail-facts span,.detail-facts strong{display:block}.detail-facts span{color:#8d999f;font-size:10px}.detail-facts strong{margin-top:5px;font-size:12px}.ai-actions{gap:8px;margin-bottom:14px;display:flex}.ai-summary{background:#f1f8f6;border:1px solid #cbe5dd;border-radius:8px;margin-bottom:14px;padding:13px}.ai-summary-head{justify-content:space-between;align-items:center;display:flex}.ai-summary-head strong{color:var(--accent-dark);font-size:17px}.ai-badge{color:var(--accent-dark);align-items:center;gap:4px;font-size:10px;font-weight:700;display:flex}.ai-summary p{color:#49635f;margin:10px 0;font-size:12px;line-height:1.5}.ai-summary small{color:#77918a;font-size:10px}.tag-row{flex-wrap:wrap;gap:5px;margin-bottom:9px;display:flex}.tag{color:#36786c;background:#dff0eb;border-radius:5px;padding:4px 7px;font-size:10px}.draft-card{border:1px solid #dce6e7;border-radius:8px;margin-top:12px;overflow:hidden}.draft-head,.draft-footer{color:#63757b;background:#f8faf9;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;font-size:10px;display:flex}.draft-head span:first-child{align-items:center;gap:5px;display:flex}.draft-card textarea{min-height:120px;box-shadow:none;border:0;border-radius:0;font-size:12px;line-height:1.5}.draft-footer{border-top:1px solid #e8eded;flex-wrap:wrap}.draft-footer>div{gap:3px;display:flex}.detail-actions{gap:7px;margin-top:14px;display:flex}.empty-state{text-align:center;background:#fff;border:1px dashed #cad6d9;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:34px;display:flex}.empty-icon{width:46px;height:46px;color:var(--accent);background:#eef5f3;border-radius:12px;place-items:center;margin-bottom:13px;display:grid}.empty-state h2{font-size:16px}.empty-state p{color:var(--muted);max-width:410px;margin-top:7px;font-size:12px;line-height:1.55}.empty-actions{gap:8px;margin-top:18px;display:flex}.kanban-board{grid-template-columns:repeat(8,minmax(190px,1fr));gap:11px;padding-bottom:8px;display:grid;overflow-x:auto}.kanban-column{background:#edf1f2;border:1px solid #e2e8e9;border-radius:8px;min-width:190px;min-height:320px;padding:10px}.kanban-column-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.kanban-column-head>div{align-items:center;gap:6px;display:flex}.kanban-column-head strong{font-size:11px}.stage-dot{background:#8c9aa0;border-radius:50%;width:7px;height:7px;display:inline-block}.stage-dot.blue{background:#6da4ce}.stage-dot.amber,.stage-dot.orange{background:#d8a04a}.stage-dot.cyan{background:#63a8b4}.stage-dot.violet{background:#9a86ca}.stage-dot.green{background:#6caf8e}.stage-dot.red{background:#cf7777}.kanban-cards{flex-direction:column;gap:8px;display:flex}.deal-card{background:#fff;border:1px solid #e0e7e8;border-radius:7px;padding:10px;box-shadow:0 2px 8px #2234390a}.deal-card>strong{margin:8px 0 4px;font-size:11px;line-height:1.4;display:block}.deal-source{color:#819098;font-size:9px}.deal-company{color:#87959b;font-size:10px;display:block}.deal-card-top{justify-content:space-between;gap:5px;display:flex}.deal-card-bottom{justify-content:space-between;align-items:center;gap:5px;margin-top:12px;display:flex}.deal-card-bottom strong{font-size:11px}.deal-card-bottom select{width:104px;padding:5px 4px;font-size:9px}.overdue-badge{color:#bc6360;background:#fff0ef;border-radius:4px;padding:3px 5px;font-size:9px}.project-link{color:#378073;background:#eef6f3;border:0;border-radius:5px;justify-content:center;align-items:center;gap:4px;width:100%;margin-top:9px;padding:7px 5px;font-size:10px;display:flex}.add-column{color:#8b999d;background:0 0;border:1px dashed #bfcdcf;border-radius:6px;justify-content:center;gap:4px;width:100%;margin-top:9px;padding:8px;font-size:10px;display:flex}.table-panel{overflow:auto}.data-table{min-width:720px}.table-row{border-top:1px solid #edf0f1;grid-template-columns:1.4fr 1fr 1.05fr .7fr .9fr;align-items:center;gap:10px;padding:12px 2px;font-size:11px;display:grid}.table-head{color:#8a969b;border-top:0;padding-top:0;font-size:10px}.table-row strong,.table-row small{display:block}.table-row small{color:var(--muted);margin-top:3px;font-size:10px}.table-row select{padding:6px;font-size:10px}.client-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.client-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;padding:16px}.client-card-head{align-items:center;gap:10px;display:flex}.client-card-head>div:nth-child(2){flex:1;min-width:0}.client-avatar{border-radius:9px;width:34px;height:34px;font-size:13px}.client-card-head strong,.client-card-head span{display:block}.client-card-head strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.client-card-head span{color:var(--muted);margin-top:4px;font-size:10px}.client-card-head .icon-button{background:0 0;border:0}.client-card p{color:#65747b;min-height:51px;margin:15px 0 13px;font-size:11px;line-height:1.5}.client-card-footer{color:#96a1a6;border-top:1px solid #edf0f1;justify-content:space-between;padding-top:10px;font-size:10px;display:flex}.client-card-footer a{color:var(--accent-dark);align-items:center;gap:4px;display:flex}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.project-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;padding:17px}.project-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.project-head h3{margin-top:5px;font-size:15px}.project-head select{width:auto;padding:6px 25px 6px 7px;font-size:10px}.project-card p{color:#65747b;min-height:35px;margin:14px 0;font-size:11px;line-height:1.5}.progress-track{background:#eaf0ef;border-radius:4px;height:6px;overflow:hidden}.progress-track span{background:var(--accent);border-radius:4px;height:100%;display:block}.project-money{grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0;display:grid}.project-money span,.project-money strong{display:block}.project-money span{color:#8b989e;font-size:10px}.project-money strong{margin-top:4px;font-size:12px}.project-footer{color:#839098;border-top:1px solid #edf0f1;justify-content:space-between;align-items:center;padding-top:11px;font-size:10px;display:flex}.filter-tabs{border:1px solid var(--line);background:#fff;border-radius:7px;gap:3px;padding:3px;display:flex}.task-panel{padding:0 18px}.task-row{border-bottom:1px solid #edf0f1;align-items:center;gap:11px;min-height:66px;display:flex}.task-row:last-child{border-bottom:0}.task-row.is-overdue{border-left:3px solid #d26d69;padding-left:8px}.task-check{color:#fff;background:#fff;border:1px solid #bdcacc;border-radius:6px;place-items:center;width:20px;height:20px;display:grid}.task-check.done{background:var(--accent);border-color:var(--accent)}.task-content{flex:1;min-width:0}.task-content strong,.task-content span{display:block}.task-content strong{font-size:12px}.task-content span{color:var(--muted);margin-top:4px;font-size:10px}.priority{border-radius:4px;padding:3px 6px;font-size:9px}.priority.high{color:#b65b57;background:#fff0ee}.priority.medium{color:#a57c36;background:#fff4df}.priority.low{color:#73828a;background:#eef3f4}.task-row time{color:#849198;text-align:right;min-width:115px;font-size:10px}.source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:17px;display:grid}.source-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:9px;padding:16px}.source-card-top{align-items:center;gap:10px;display:flex}.source-icon{color:#7d8c93;background:#f0f3f4;border-radius:9px;place-items:center;width:35px;height:35px;font-size:11px;font-weight:750;display:grid}.source-icon.ready{color:#418977;background:#e7f4f0}.source-icon.fl{color:#4e81ac;background:#eaf2fb}.source-card-top strong,.source-card-top span{display:block}.source-card-top strong{font-size:12px}.connection-status{margin-top:4px;font-size:10px}.connection-status.ready{color:#4b947f}.connection-status.not_connected{color:#9aa5aa}.source-card p{color:#697981;min-height:72px;margin:15px 0;font-size:11px;line-height:1.5}.source-meta{color:#91a0a5;border-top:1px solid #edf0f1;justify-content:space-between;gap:5px;padding:10px 0;font-size:10px;display:flex}.contract-panel{justify-content:space-between;align-items:center;gap:20px;padding:19px;display:flex}.contract-panel h2{margin:5px 0 6px}.contract-panel p{color:#68777e;max-width:730px;font-size:11px;line-height:1.55}.code-input{font-family:SFMono-Regular,Consolas,monospace;font-size:11px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.settings-card:last-child{grid-column:span 2}.settings-card .panel-heading>svg{color:var(--accent)}.settings-row{border-top:1px solid #edf0f1;justify-content:space-between;align-items:flex-start;gap:20px;padding:12px 0;font-size:11px;display:flex}.settings-row span{color:#849199}.settings-row strong{text-align:right;font-weight:650}.integration-callout{background:#f8f6ef;border:1px solid #eee3bf;border-radius:7px;gap:10px;margin-bottom:10px;padding:11px;display:flex}.integration-callout strong{font-size:11px}.integration-callout p{color:#7e755d;margin-top:4px;font-size:10px;line-height:1.45}.muted-text{color:#718087;margin-bottom:15px;font-size:12px;line-height:1.55}.modal-backdrop{z-index:30;background:#1a232961;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:min(560px,100%);max-height:calc(100vh - 40px);padding:20px;overflow:auto;box-shadow:0 25px 80px #16212740}.modal-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-head h2{font-size:18px}.form-stack{flex-direction:column;gap:12px;display:flex}.form-stack label{color:#66757d;font-size:11px;font-weight:650}.form-stack input,.form-stack select,.form-stack textarea{margin-top:6px;font-weight:400;display:block}.form-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.form-submit{width:100%;margin-top:5px}.form-hint{color:#87949b;font-size:10px;line-height:1.5}.import-shortcut{color:var(--muted);font-size:12px;line-height:1.6}.import-shortcut .button{margin-top:15px}.form-error{color:#b65050;background:#fff0ee;border:1px solid #f1c7c4;border-radius:7px;padding:9px;font-size:11px}.loading-state{color:#8d999f;justify-content:center;align-items:center;gap:9px;min-height:220px;font-size:12px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.mobile-menu,.mobile-close,.mobile-overlay{display:none}.login-page{background:#f5f7f7;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.login-aside{background:var(--sidebar);color:#f8fbfb;flex-direction:column;padding:36px 8vw 29px;display:flex}.login-brand{padding:0}.login-quote{max-width:470px;margin:auto 0}.login-quote .eyebrow{color:#80b8ad}.login-quote h1{letter-spacing:-.05em;margin:17px 0;font-size:40px;line-height:1.12}.login-quote p{color:#a8b6bc;max-width:400px;font-size:14px;line-height:1.6}.login-aside-foot{color:#819099;align-items:center;gap:7px;font-size:11px;display:flex}.login-card-wrap{place-items:center;padding:28px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:15px;width:min(410px,100%);padding:31px;display:flex;box-shadow:0 20px 60px #26343a14}.login-card label{color:#5c6b73;font-size:11px;font-weight:650}.login-card label input{margin-top:6px}.login-card-head{align-items:center;gap:11px;margin-bottom:7px;display:flex}.login-icon{background:var(--accent-soft);width:39px;height:39px;color:var(--accent-dark);border-radius:10px;place-items:center;display:grid}.login-card-head h2{font-size:18px}.login-card-head p{color:var(--muted);margin-top:4px;font-size:11px}.login-submit{width:100%;min-height:42px;margin-top:4px}.login-demo{border-top:1px solid #edf0f1;justify-content:space-between;gap:10px;padding-top:17px;display:flex}.login-demo strong,.login-demo span{display:block}.login-demo strong{font-size:11px}.login-demo span{color:#87939a;margin-top:4px;font-size:10px;line-height:1.4}.login-demo a{color:var(--accent-dark);align-items:center;gap:4px;font-size:11px;display:flex}.mobile-login-brand{display:none}.demo-page{background:var(--canvas);min-height:100vh}.demo-topbar{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:22px;height:66px;padding:0 31px;display:flex}.demo-brand{align-items:center;gap:9px;margin-right:auto;display:flex}.demo-brand span{background:var(--accent);color:#fff;border-radius:8px;place-items:center;width:29px;height:29px;font-weight:800;display:grid}.demo-brand strong{font-size:14px}.demo-badge{color:#92782f;background:#fff8df;border:1px solid #efdfaa;border-radius:6px;align-items:center;gap:7px;padding:7px 9px;font-size:11px;display:flex}.demo-badge span{background:#d7a33c;border-radius:50%;width:6px;height:6px}.demo-layout{max-width:1500px;margin:0 auto;display:flex}.demo-sidebar{border-right:1px solid var(--line);flex:0 0 220px;width:220px;min-height:calc(100vh - 66px);padding:29px 15px}.demo-side-title{color:#8b989f;text-transform:uppercase;letter-spacing:.12em;padding:0 10px 14px;font-size:10px;font-weight:700}.demo-nav{color:#718087;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;width:100%;padding:10px;font-size:12px;display:flex}.demo-nav.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:650}.demo-side-note{color:#4e8278;background:#edf5f3;border-radius:8px;gap:7px;margin:30px 4px 0;padding:11px;font-size:10px;line-height:1.5;display:flex}.demo-content{flex:1;min-width:0;padding:35px 39px 60px}.demo-content h1{letter-spacing:-.04em;margin:6px 0;font-size:27px}.demo-subtitle{color:var(--muted);margin-bottom:22px;font-size:12px}.demo-metrics{grid-template-columns:repeat(4,1fr)}.demo-callout{color:#398074;background:#e9f5f1;border:1px solid #c4e1d8;border-radius:9px;align-items:center;gap:12px;margin-bottom:17px;padding:14px;display:flex}.demo-callout>div{flex:1}.demo-callout strong{font-size:12px}.demo-callout p{color:#5d8b83;margin-top:4px;font-size:10px}.demo-kanban{grid-template-columns:repeat(7,minmax(190px,1fr))}@media (max-width:1180px){.metrics-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.split-layout{grid-template-columns:1fr}.detail-placeholder{min-height:260px}.source-grid,.client-grid{grid-template-columns:repeat(2,1fr)}.kanban-board{grid-template-columns:repeat(8,200px)}}@media (max-width:760px){.sidebar{z-index:40;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%);box-shadow:15px 0 40px #141e232e}.sidebar-open{transform:translate(0)}.mobile-close,.mobile-menu{display:grid}.mobile-close{color:#aab7bd;background:0 0;border-color:#ffffff24;margin-left:auto}.mobile-menu{margin-right:9px}.mobile-overlay{z-index:35;background:#141e2357;border:0;display:block;position:fixed;inset:0}.topbar{height:60px;padding:0 16px}.topbar-search{flex:1;width:auto}.topbar-actions .icon-button:first-child{display:none}.user-chip{padding-left:8px}.user-chip>div:nth-child(2),.user-chip>svg{display:none}.content-area{padding:23px 15px 42px}.section-heading{flex-direction:column;align-items:flex-start;margin-bottom:20px}.section-heading h1{font-size:24px}.section-heading .button{width:100%}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:8px}.metric-card{min-height:124px;padding:12px}.metric-icon{margin-bottom:13px}.metric-value{font-size:18px}.toolbar{flex-wrap:wrap}.search-field{flex:100%;min-width:0}.toolbar select{flex:1;min-width:0}.split-layout{gap:12px}.table-panel,.detail-panel,.attention-panel,.quick-panel,.settings-card{padding:14px}.detail-facts{grid-template-columns:1fr 1fr}.detail-facts div:last-child{grid-column:span 2}.ai-actions{flex-direction:column}.draft-footer{flex-direction:column;align-items:flex-start}.draft-footer>div{width:100%}.draft-footer button{flex:1}.client-grid,.project-grid,.source-grid,.settings-grid{grid-template-columns:1fr}.settings-card:last-child{grid-column:span 1}.contract-panel{flex-direction:column;align-items:flex-start}.task-row{gap:8px}.task-row time{min-width:76px;font-size:9px}.priority{display:none}.filter-tabs{width:100%;overflow:auto}.filter-tabs button{white-space:nowrap}.modal-backdrop{padding:9px}.modal{max-height:calc(100vh - 18px);padding:16px}.form-grid,.login-page{grid-template-columns:1fr}.login-aside{display:none}.login-card-wrap{min-height:100vh;padding:16px}.login-card{padding:24px 19px}.mobile-login-brand{align-items:center;gap:9px;margin-bottom:16px;display:flex}.demo-topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:62px;padding:10px 14px}.demo-brand{margin-right:0}.demo-brand strong{font-size:12px}.demo-topbar .text-link{order:3;width:100%}.demo-badge{margin-left:auto;font-size:10px}.demo-layout{display:block}.demo-sidebar{border-right:0;border-bottom:1px solid var(--line);gap:4px;width:auto;min-height:auto;padding:9px 12px;display:flex;overflow:auto}.demo-side-title,.demo-side-note{display:none}.demo-nav{white-space:nowrap;width:auto;padding:8px 9px}.demo-content{padding:24px 15px 40px}.demo-content h1{font-size:24px}.demo-metrics{grid-template-columns:repeat(2,1fr)}.demo-callout{flex-wrap:wrap;align-items:flex-start}.demo-callout .button{margin-left:32px}.demo-kanban{grid-template-columns:repeat(7,200px)}}.metric-card[href]{text-decoration:none}.workflow-strip{grid-template-columns:1fr 1fr;gap:9px;margin:14px 0;display:grid}.workflow-strip>div{background:#f7f9f9;border:1px solid #edf0f1;border-radius:7px;padding:9px}.workflow-strip span,.workflow-strip a,.workflow-strip button{font-size:11px;display:block}.workflow-strip span{color:#8d999f;margin-bottom:5px}.text-button{color:var(--accent-dark);cursor:pointer;background:0 0;border:0;padding:0}.skip-reason-input{flex:1;min-width:150px}.detail-actions{flex-wrap:wrap}.deal-next-action{color:#788990;margin-top:8px;font-size:10px;display:block}.deal-card-links{gap:8px;margin-top:7px;display:flex}.deal-card-links a{color:var(--accent-dark);font-size:10px}.kanban-board{grid-template-columns:repeat(8,minmax(220px,1fr))}.kanban-column{min-width:220px}.form-stack label:has(input[name=externalId]){display:none}.source-error{color:#b65050}.local-business-page{max-width:1380px}.local-business-search-panel,.local-business-job-panel,.local-business-history,.local-business-results-panel{padding:20px}.local-business-search-form{align-items:end}.local-business-search-form label{color:#66757d;font-size:11px;font-weight:650}.local-business-search-form input,.local-business-search-form select{margin-top:6px;display:block}.territory-autocomplete{position:relative}.territory-autocomplete>input{width:100%}.territory-suggestions{z-index:20;background:#fff;border:1px solid #d9e2e3;border-radius:8px;max-height:230px;padding:5px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 8px 22px #162a2d1f}.territory-suggestions button{color:#24343a;text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0;border:0;border-radius:6px;padding:8px 9px;font-size:12px;display:block}.territory-suggestions button:hover,.territory-suggestions button:focus-visible{background:#eef7f5}.territory-suggestions button small{color:#7b8a90;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:10px;display:block;overflow:hidden}.source-picker{border:0;min-width:220px;margin:0;padding:0}.source-picker legend{color:#66757d;margin-bottom:6px;font-size:11px;font-weight:650}.checkbox-label{align-items:center;gap:7px;color:#4c5c64!important;font-weight:500!important;display:flex!important}.checkbox-label input{width:auto;margin:0!important}.heading-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.local-business-scale-note{color:#54736c;background:#f7fbfa;border:1px solid #dbe8e5;border-radius:7px;margin-top:10px;padding:9px 11px;font-size:10px}.local-business-search-action{align-items:end;height:100%;display:flex}.local-business-search-action .button{width:100%}.source-note{color:#74838a;align-items:flex-start;gap:8px;margin-top:12px;font-size:10px;line-height:1.5;display:flex}.source-note svg{color:var(--accent);flex:none;margin-top:1px}.source-note code{color:#456e67;background:#f0f4f3;border-radius:4px;padding:2px 4px}.local-business-job-panel{margin-top:15px}.local-business-job-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.local-business-job-head>div:first-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.local-business-job-head strong{font-size:12px}.local-business-job-head small{color:var(--muted);font-size:10px}.local-business-progress-value{color:var(--accent-dark);font-size:18px;font-weight:750}.progress-fill{background:var(--accent);border-radius:4px;height:100%;transition:width .25s;display:block}.local-business-job-panel .progress-track{margin-top:13px}.local-business-job-meta{color:#849198;flex-wrap:wrap;gap:14px;margin-top:9px;font-size:10px;display:flex}.local-business-content{grid-template-columns:minmax(230px,.36fr) minmax(0,1fr);align-items:start;gap:15px;margin-top:15px;display:grid}.local-business-job-list{flex-direction:column;gap:5px;display:flex}.local-business-job-item{text-align:left;width:100%;color:var(--text);background:#fff;border:1px solid #0000;border-radius:7px;align-items:flex-start;gap:9px;padding:10px;display:flex}.local-business-job-item:hover,.local-business-job-item.selected{background:#f7faf9;border-color:#cfe4df}.local-business-job-item>span:last-child{min-width:0}.local-business-job-item strong,.local-business-job-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.local-business-job-item strong{font-size:11px}.local-business-job-item small{color:var(--muted);margin-top:4px;font-size:10px}.empty-state.compact{min-height:200px;box-shadow:none;background:0 0;border:0;padding:24px 12px}.empty-state.compact h3{margin-top:10px;font-size:13px}.empty-state.compact p{font-size:11px}.local-business-result-grid{grid-template-columns:minmax(180px,.42fr) minmax(0,1fr);gap:15px;display:grid}.local-business-result-list{border-right:1px solid #edf0f1;flex-direction:column;gap:5px;max-height:620px;padding-right:10px;display:flex;overflow:auto}.local-business-result-controls{background:#fbfdfc;border:1px solid #e5eded;border-radius:8px;flex-wrap:wrap;gap:10px;margin:0 0 14px;padding:10px;display:flex}.local-business-result-controls label{color:#718087;font-size:10px;font-weight:650}.local-business-result-controls select{min-width:180px;margin-top:5px;padding:7px 9px;font-size:11px;display:block}.local-business-result-item{text-align:left;background:#fff;border:1px solid #0000;border-radius:7px;width:100%;padding:10px}.local-business-result-item:hover,.local-business-result-item.selected{background:#f7faf9;border-color:#cfe4df}.local-business-result-item strong,.local-business-result-item span,.local-business-result-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.local-business-result-item strong{font-size:11px}.local-business-result-item span{color:#75848b;margin-top:4px;font-size:10px}.local-business-result-item small{color:#9aa5aa;margin-top:5px;font-size:9px}.local-business-result-card{min-width:0}.score-card{background:#fbfdfc;border:1px solid #dbe8e5;border-radius:8px;margin:14px 0;padding:12px}.score-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;display:grid}.score-grid span{color:#718087;border:1px solid #e5eded;border-radius:6px;padding:8px;font-size:10px}.score-grid strong{color:#203c3b;margin-top:3px;font-size:15px;display:block}.score-reasons{color:#58716f;gap:3px;padding-left:18px;font-size:10px;display:grid}.score-reasons .negative{color:#9a5c5c}.score-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.scoring-config textarea{width:100%;margin:6px 0 8px;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.local-business-result-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;display:flex}.local-business-result-title h3{margin-top:6px;font-size:18px}.local-business-result-title>svg{color:var(--accent)}.potential-client-note{color:#806c39;background:#fff8e6;border:1px solid #efe0b1;border-radius:7px;margin:13px 0;padding:10px;font-size:11px;line-height:1.5}.local-business-details{grid-template-columns:1fr 1fr;gap:9px 15px;margin:0;display:grid}.local-business-details div{min-width:0}.local-business-details dt{color:#8b989e;font-size:10px}.local-business-details dd{color:#4c5c64;overflow-wrap:anywhere;margin:4px 0 0;font-size:11px}.local-business-details a{color:var(--accent-dark);align-items:center;gap:4px;display:inline-flex}.contact-stack{flex-direction:column;gap:4px;display:flex}.contact-stack span{align-items:center;gap:4px;display:flex}.website-check-card{background:#f7f9f9;border:1px solid #e8eeee;border-radius:8px;margin-top:15px;padding:11px}.website-check-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.website-check-head strong{font-size:11px}.website-check-facts{color:#718188;flex-wrap:wrap;gap:6px 12px;margin-top:8px;font-size:10px;line-height:1.5;display:flex}.local-business-result-actions{flex-wrap:wrap;gap:7px;margin-top:15px;display:flex}.local-business-contact-actions{border-top:1px solid #edf1f1;flex-wrap:wrap;align-items:center;gap:7px;margin-top:14px;padding-top:12px;display:flex}.local-business-entity-actions{border-top:1px solid #edf1f1;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;padding:9px 0;display:flex}.local-business-contact-actions select{width:auto;min-width:110px;padding:7px 9px;font-size:11px}.local-business-niche-analysis,.local-business-diagnostics,.niche-research-panel{margin-top:15px;padding:20px}.niche-research-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.niche-research-form label,.niche-research-territory{color:#53656c;flex-direction:column;gap:6px;font-size:11px;display:flex}.niche-research-territory{background:#fafcfc;border:1px solid #e1e9e8;border-radius:8px;padding:10px}.niche-research-territory strong{color:#19292e}.niche-research-niches{border:1px solid #e1e9e8;border-radius:8px;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:7px;padding:12px;display:grid}.niche-research-niches legend{padding:0 5px;font-size:11px;font-weight:700}.niche-research-options{flex-wrap:wrap;grid-column:1/-1;gap:14px;display:flex}.niche-provider-status{flex-wrap:wrap;gap:7px;margin:10px 0;display:flex}.niche-provider-status span{border:1px solid #dce5e4;border-radius:999px;padding:4px 8px;font-size:10px}.niche-provider-status .provider-ready{color:#176548;background:#eef8f4;border-color:#cce8dd}.niche-provider-status .provider-missing{color:#98590b;background:#fff7e9;border-color:#f0ddbb}.niche-research-run-head{justify-content:space-between;align-items:flex-start;gap:15px;margin:18px 0 8px;display:flex}.niche-research-run-head div{flex-direction:column;gap:4px;display:flex}.niche-research-run-head small{color:#66767d}.niche-stage-list{gap:6px;padding:9px 0 14px;display:flex;overflow-x:auto}.niche-stage-list span{white-space:nowrap;color:#78868b;border:1px solid #e1e8e7;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:10px;display:inline-flex}.niche-stage-list span.done{color:#176548;background:#eef8f4;border-color:#cce8dd}.niche-stage-list span.current{color:#704d00;background:#fff9e8;border-color:#ead69b}.niche-score-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:12px 0;display:grid}.niche-score-grid article,.niche-research-report{background:#fbfcfc;border:1px solid #e1e8e7;border-radius:9px;padding:13px}.niche-score-grid article>strong{color:#146c58;margin:4px 0;font-size:20px;display:block}.niche-score-grid details{color:#596a70;margin-top:7px;font-size:10px}.niche-score-grid details p{margin:4px 0}.niche-research-report{margin-top:10px}.niche-research-report p{color:#53656c;font-size:11px;line-height:1.55}.niche-research-report a{color:#116b78;margin-left:5px}.niche-source-table{margin-top:15px}.niche-source-table>div{border-bottom:1px solid #edf1f0;justify-content:space-between;gap:12px;padding:7px 0;font-size:10px;display:flex}.niche-source-table a{color:#126b78;overflow-wrap:anywhere}.niche-research-history{border-top:1px solid #e8eeee;margin-top:18px;padding-top:12px}.niche-research-history>button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:flex-start;gap:8px;width:100%;padding:8px;display:flex}.niche-research-history>button.selected{background:#eef6f4}.niche-research-history button span{flex-direction:column;gap:3px;display:flex}.niche-research-history small{color:#75848a}.worker-status-note small{color:#718087;margin-top:2px;display:block}.worker-status-note.success{color:#176548}.worker-status-note.warning{color:#98590b}.worker-status-note.error{color:#a23a3a}.niche-direction-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.niche-direction{background:#fbfcfc;border:1px solid #e4eceb;border-radius:8px;padding:12px}.niche-direction h3{margin-bottom:9px;font-size:13px}.niche-direction p{color:#586971;font-size:11px;line-height:1.5}.niche-facts{color:#6c7c82;flex-wrap:wrap;gap:5px 10px;margin-bottom:9px;font-size:10px;display:flex}.diagnostic-row{color:#63757b;border-top:1px solid #edf1f1;grid-template-columns:1fr 1.4fr 2fr;gap:10px;padding:8px 0;font-size:10px;display:grid}.local-business-diagnostics h3{margin:14px 0 6px;font-size:12px}.action-confirmed{color:#3e8d77;align-items:center;gap:5px;padding:0 6px;font-size:11px;display:inline-flex}.ai-draft-edit-modal small{color:var(--muted)}.ai-draft-warning{color:#8b6a26;background:#fff7e5;border:1px solid #eed9a4;border-radius:7px;margin-bottom:12px;padding:9px}.ai-draft-proposal{border:1px solid #cbe5dd;border-radius:8px;margin-top:14px;overflow:hidden}.ai-draft-proposal textarea{min-height:130px;box-shadow:none;border:0;border-radius:0;line-height:1.5}.ai-draft-proposal .draft-footer{align-items:flex-start}.ai-draft-history{border:1px solid #dce6e7;border-radius:8px;margin-top:14px;overflow:hidden}.ai-draft-history-row{color:#63757b;border-top:1px solid #edf1f1;justify-content:space-between;align-items:center;gap:8px;padding:8px 11px;font-size:10px;display:flex}.modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.local-business-inbox-draft{margin:14px 0}@media (max-width:760px){.niche-research-form{grid-template-columns:1fr}.niche-research-niches,.niche-research-options{grid-column:1}.niche-source-table>div{flex-direction:column}.local-business-search-panel,.local-business-job-panel,.local-business-history,.local-business-results-panel{padding:14px}.local-business-content,.local-business-result-grid{grid-template-columns:1fr}.local-business-result-list{border-bottom:1px solid #edf0f1;border-right:0;max-height:260px;padding:0 0 10px}.local-business-details,.score-grid{grid-template-columns:1fr}.local-business-job-head{flex-direction:column}.local-business-progress-value{align-self:flex-end;margin-top:-28px}.heading-actions{width:100%}.heading-actions .button{flex:1}.diagnostic-row{grid-template-columns:1fr;gap:3px}.ai-draft-history-row{flex-direction:column;align-items:flex-start}}.brand-wordmark{gap:2px;line-height:1;display:grid}.brand-wordmark strong{letter-spacing:.04em;font-size:18px}.brand-wordmark span{color:inherit;letter-spacing:.04em;margin-top:0;font-size:10px;font-weight:650}.brand-caption{font-weight:750;color:var(--accent)!important;letter-spacing:.14em!important;margin-top:0!important;font-size:10px!important}.demo-brand-mark{letter-spacing:.04em;place-items:center;font-size:11px;font-weight:800;border:1px solid var(--accent)!important;width:38px!important;height:29px!important;color:var(--accent)!important;background:0 0!important;border-radius:7px!important;display:grid!important}.demo-brand-copy{gap:2px;line-height:1;display:grid}.demo-brand-copy strong{letter-spacing:.04em;font-size:14px}.demo-brand-copy span{letter-spacing:.04em;font-size:10px;font-weight:650;width:auto!important;height:auto!important;color:var(--muted)!important;background:0 0!important;border:0!important;border-radius:0!important;display:block!important}.demo-brand-caption{letter-spacing:.14em;font-size:10px;font-weight:750;width:auto!important;height:auto!important;color:var(--accent-dark)!important;background:0 0!important;border:0!important;border-radius:0!important;display:block!important}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
.crm-section-dashboard,.crm-section-local-business{--crm-canvas:#f3f4f6;--crm-sidebar:#252a31;--crm-sidebar-muted:#a8afb7;--crm-surface:#fff;--crm-surface-muted:#f8f9fa;--crm-text:#20252b;--crm-muted:#68727c;--crm-line:#dfe3e7;--crm-accent:#3d667a;--crm-accent-strong:#2d4f60;--crm-accent-soft:#edf2f4;--crm-success:#477862;--crm-warning:#996d2e;--crm-danger:#a65050;--crm-focus:0 0 0 3px #3d667a2e;background:var(--crm-canvas);color:var(--crm-text)}.crm-section-dashboard .sidebar,.crm-section-local-business .sidebar{background:var(--crm-sidebar);border-right:1px solid #343a42;flex-basis:232px;width:232px;padding:22px 12px 16px}.crm-section-dashboard .brand,.crm-section-local-business .brand{padding:0 10px}.crm-section-dashboard .brand-mark,.crm-section-local-business .brand-mark{color:#f5f7f8;background:0 0;border:1px solid #77828b;border-radius:7px;width:30px;height:30px}.crm-section-dashboard .brand strong,.crm-section-local-business .brand strong{color:#f5f7f8;font-size:14px;font-weight:700}.crm-section-dashboard .brand span,.crm-section-local-business .brand span{color:#9aa3ab}.crm-section-dashboard .workspace-pill,.crm-section-local-business .workspace-pill{color:var(--crm-sidebar-muted);border:0;margin:28px 6px 18px;padding:8px 10px}.crm-section-dashboard .workspace-dot,.crm-section-local-business .workspace-dot{box-shadow:none;background:#95a0a8}.crm-section-dashboard .nav-list,.crm-section-local-business .nav-list{gap:2px}.crm-section-dashboard .nav-item,.crm-section-local-business .nav-item{min-height:40px;color:var(--crm-sidebar-muted);border-radius:6px;font-size:13px}.crm-section-dashboard .nav-item:hover,.crm-section-local-business .nav-item:hover{color:#fff;background:#30363e}.crm-section-dashboard .nav-item.active,.crm-section-local-business .nav-item.active{color:#fff;background:#35434c;box-shadow:inset 2px 0 #d5dde1}.crm-section-dashboard .nav-count,.crm-section-local-business .nav-count{background:#52616b;border-radius:4px}.crm-section-dashboard .sidebar-footer,.crm-section-local-business .sidebar-footer{border-top-color:#3a4148}.crm-section-dashboard .system-status,.crm-section-local-business .system-status{color:var(--crm-sidebar-muted)}.crm-section-dashboard .system-status strong,.crm-section-local-business .system-status strong{color:#eef1f3}.crm-section-dashboard .status-dot,.crm-section-local-business .status-dot{box-shadow:none}.crm-section-dashboard .main-area,.crm-section-local-business .main-area{background:var(--crm-canvas);min-width:0}.crm-section-dashboard .topbar,.crm-section-local-business .topbar{background:var(--crm-surface);border-bottom:1px solid var(--crm-line);height:62px;padding:0 30px}.crm-section-dashboard .topbar-section,.crm-section-local-business .topbar-section{gap:2px}.crm-section-dashboard .topbar-section span,.crm-section-local-business .topbar-section span{color:#8b949c;letter-spacing:.12em;font-size:9px}.crm-section-dashboard .topbar-section strong,.crm-section-local-business .topbar-section strong{color:var(--crm-text);font-size:14px;font-weight:700}.crm-section-dashboard .topbar-search,.crm-section-local-business .topbar-search{color:#89939b}.crm-section-dashboard .topbar-search input,.crm-section-local-business .topbar-search input{color:var(--crm-text)}.crm-section-dashboard .icon-button,.crm-section-local-business .icon-button{border-color:var(--crm-line);background:var(--crm-surface);color:#65717a;border-radius:6px}.crm-section-dashboard .icon-button:hover,.crm-section-local-business .icon-button:hover{background:var(--crm-surface-muted);color:var(--crm-accent-strong);border-color:#b8c3ca}.crm-section-dashboard .user-chip,.crm-section-local-business .user-chip{border-left-color:var(--crm-line)}.crm-section-dashboard .user-chip strong,.crm-section-local-business .user-chip strong{color:var(--crm-text)}.crm-section-dashboard .user-chip small,.crm-section-local-business .user-chip small{color:var(--crm-muted)}.crm-section-dashboard .avatar,.crm-section-local-business .avatar{background:var(--crm-accent-soft);color:var(--crm-accent-strong)}.crm-section-dashboard .content-area,.crm-section-local-business .content-area{width:100%;max-width:1360px;margin-inline:auto;padding:28px 32px 56px}.crm-section-dashboard .section-heading,.crm-section-local-business .section-heading{margin-bottom:22px}.crm-section-dashboard .section-context,.crm-section-local-business .section-context{color:var(--crm-muted)}.crm-section-dashboard h1,.crm-section-local-business h1,.crm-section-dashboard h2,.crm-section-local-business h2,.crm-section-dashboard h3,.crm-section-local-business h3{color:var(--crm-text)}.crm-section-dashboard .button,.crm-section-local-business .button{border-radius:6px;min-height:36px;transition:background-color .15s,border-color .15s,color .15s}.crm-section-dashboard .button-primary,.crm-section-local-business .button-primary{background:var(--crm-accent);border-color:var(--crm-accent)}.crm-section-dashboard .button-primary:hover,.crm-section-local-business .button-primary:hover{background:var(--crm-accent-strong);border-color:var(--crm-accent-strong)}.crm-section-dashboard .button-secondary,.crm-section-local-business .button-secondary{color:var(--crm-accent-strong);border-color:var(--crm-line);background:var(--crm-surface)}.crm-section-dashboard .button-secondary:hover,.crm-section-local-business .button-secondary:hover{background:var(--crm-surface-muted);border-color:#b4c1c8}.crm-section-dashboard .button-ghost,.crm-section-local-business .button-ghost{color:var(--crm-muted)}.crm-section-dashboard .button-ghost:hover,.crm-section-local-business .button-ghost:hover{color:var(--crm-accent-strong);background:var(--crm-accent-soft)}.crm-section-dashboard .button:focus-visible,.crm-section-local-business .button:focus-visible,.crm-section-dashboard .nav-item:focus-visible,.crm-section-local-business .nav-item:focus-visible,.crm-section-dashboard .icon-button:focus-visible,.crm-section-local-business .icon-button:focus-visible,.crm-section-dashboard a:focus-visible,.crm-section-local-business a:focus-visible,.crm-section-dashboard .disclosure-button:focus-visible,.crm-section-local-business .disclosure-button:focus-visible{box-shadow:var(--crm-focus);outline:none}.crm-section-dashboard .panel,.crm-section-dashboard .metric-card,.crm-section-local-business .panel,.crm-section-local-business .metric-card{border:1px solid var(--crm-line);background:var(--crm-surface);box-shadow:none;border-radius:8px}.crm-section-dashboard .metric-card{min-height:118px;padding:16px}.crm-section-dashboard .metric-icon,.crm-section-dashboard .quick-icon{border:1px solid var(--crm-line);border-radius:6px;width:30px;height:30px;margin-bottom:14px;background:var(--crm-surface-muted)!important;color:var(--crm-accent-strong)!important}.crm-section-dashboard .metric-label,.crm-section-dashboard .metric-detail,.crm-section-dashboard .attention-main span,.crm-section-dashboard .quick-action span{color:var(--crm-muted)}.crm-section-dashboard .metric-value{color:var(--crm-text);font-size:22px}.crm-section-dashboard .dashboard-grid{gap:16px}.crm-section-dashboard .attention-panel,.crm-section-dashboard .quick-panel{padding:18px}.crm-section-dashboard .attention-item,.crm-section-dashboard .quick-action{border-color:var(--crm-line)}.crm-section-dashboard .attention-marker{background:var(--crm-accent)}.crm-section-dashboard .attention-item:hover strong,.crm-section-dashboard .quick-action:hover strong{color:var(--crm-accent-strong)}.crm-section-local-business .local-business-page{max-width:none}.crm-section-local-business .local-business-page>.section-heading{align-items:flex-end}.crm-section-local-business .local-business-page>.section-heading h1{margin-top:4px;font-size:28px}.crm-section-local-business .local-business-page>.section-heading p{color:var(--crm-muted)}.crm-section-local-business .local-business-tabs,.crm-section-local-business .segmented-control{border:1px solid var(--crm-line);background:var(--crm-surface);border-radius:6px;gap:2px;width:fit-content;margin-bottom:18px;padding:3px}.crm-section-local-business .local-business-tabs button,.crm-section-local-business .segmented-control button{min-height:33px;color:var(--crm-muted);border-radius:4px}.crm-section-local-business .local-business-tabs button.active,.crm-section-local-business .segmented-control button.active{color:var(--crm-text);background:var(--crm-accent-soft)}.crm-section-local-business .local-business-search-panel,.crm-section-local-business .local-business-job-panel,.crm-section-local-business .local-business-history,.crm-section-local-business .local-business-results-panel,.crm-section-local-business .niche-research-panel{padding:18px}.crm-section-local-business .panel-heading{border-bottom:1px solid var(--crm-line);padding-bottom:14px}.crm-section-local-business .panel-heading p,.crm-section-local-business .source-note,.crm-section-local-business .form-hint,.crm-section-local-business .source-meta,.crm-section-local-business .local-business-details dd{color:var(--crm-muted)}.crm-section-local-business input,.crm-section-local-business select,.crm-section-local-business textarea{border-color:var(--crm-line);background:var(--crm-surface);color:var(--crm-text);border-radius:6px}.crm-section-local-business input:focus,.crm-section-local-business select:focus,.crm-section-local-business textarea:focus{box-shadow:var(--crm-focus);border-color:#8da7b4}.crm-section-local-business .territory-suggestions{border-color:var(--crm-line);background:var(--crm-surface);border-radius:6px;box-shadow:0 12px 26px #20252b1f}.crm-section-local-business .territory-suggestions button:hover,.crm-section-local-business .territory-suggestions button:focus-visible{background:var(--crm-accent-soft)}.crm-section-local-business .local-business-scale-note,.crm-section-local-business .potential-client-note,.crm-section-local-business .ai-draft-warning{border-color:var(--crm-line);background:var(--crm-surface-muted);color:var(--crm-muted);border-radius:6px}.crm-section-local-business .local-business-job-item,.crm-section-local-business .local-business-result-item{border-color:var(--crm-line);background:0 0}.crm-section-local-business .local-business-job-item:hover,.crm-section-local-business .local-business-job-item.selected,.crm-section-local-business .local-business-result-item:hover,.crm-section-local-business .local-business-result-item.selected{background:var(--crm-accent-soft);border-color:#b8c7ce}.crm-section-local-business .local-business-result-list{border-right-color:var(--crm-line)}.crm-section-local-business .local-business-result-title{border-bottom-color:var(--crm-line)}.crm-section-local-business .local-business-details a,.crm-section-local-business .text-link,.crm-section-local-business .source-list a{color:var(--crm-accent-strong)}.crm-section-local-business .score-grid span{border-color:var(--crm-line);background:var(--crm-surface-muted);border-radius:6px}.crm-section-local-business .status-pill,.crm-section-local-business .connection-status,.crm-section-local-business .count-badge{box-shadow:none;border-radius:999px}.crm-section-local-business .progress-track{background:#e7eaed;height:5px}.crm-section-local-business .progress-fill{background:var(--crm-accent)}.crm-section-local-business .niche-research-panel .research-estimate,.crm-section-local-business .niche-research-panel>.form-help{display:none}.crm-section-local-business .niche-research-panel .rank-index{background:var(--crm-accent-soft);color:var(--crm-accent-strong);border-radius:5px}.crm-section-local-business .niche-research-panel .rank-title strong{color:var(--crm-accent-strong)}.crm-section-local-business .niche-research-panel .niche-rank-row,.crm-section-local-business .niche-research-panel .research-results,.crm-section-local-business .niche-research-panel .rank-details{border-color:var(--crm-line)}.crm-section-local-business .niche-research-panel .provider-summary{color:var(--crm-muted)}@media (max-width:1180px){.crm-section-dashboard .metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-section-local-business .local-business-content{grid-template-columns:minmax(190px,.35fr) minmax(0,1fr)}}@media (max-width:760px){.crm-section-dashboard .content-area,.crm-section-local-business .content-area{padding:22px 16px 42px}.crm-section-dashboard .topbar,.crm-section-local-business .topbar{padding:0 16px}.crm-section-dashboard .metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-section-local-business .local-business-page>.section-heading{align-items:flex-start}.crm-section-local-business .local-business-page>.section-heading .heading-actions{width:100%}.crm-section-local-business .local-business-page>.section-heading .heading-actions .button{flex:1}.crm-section-local-business .local-business-tabs,.crm-section-local-business .segmented-control{width:100%;overflow-x:auto}.crm-section-local-business .local-business-tabs button,.crm-section-local-business .segmented-control button{white-space:nowrap}.crm-section-local-business .local-business-content,.crm-section-local-business .local-business-result-grid{grid-template-columns:1fr}.crm-section-local-business .local-business-result-list{border-right:0;border-bottom:1px solid var(--crm-line)}.crm-section-local-business .niche-scout-form{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.crm-section-dashboard *,.crm-section-local-business *{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--canvas:#0e1316;--panel:#151c20;--sidebar:#11171b;--sidebar-muted:#9aa8a4;--text:#e6ece9;--muted:#8c9a96;--line:#adc1b924;--accent:#8fcea8;--accent-dark:#6eaf89;--accent-soft:#6fb98e24;--danger:#e27b78;--warning:#d7ad62;--shadow:0 20px 55px #00000038;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body,.app-shell,.demo-page,.login-page{background:var(--canvas);color:var(--text)}.app-shell .sidebar{background:var(--sidebar);border-right:1px solid #adc1b914;flex-basis:228px;width:228px;padding:22px 12px 16px}.app-shell .brand{padding:0 10px}.app-shell .brand-mark{width:31px;height:31px;color:var(--accent);background:0 0;border:1px solid #8fcea8ad;border-radius:9px}.app-shell .brand strong{color:var(--text)}.app-shell .brand span{color:#75827e}.app-shell .workspace-pill{color:#788681;border:0;margin:29px 6px 18px;padding:8px 10px}.app-shell .workspace-dot{background:var(--accent);box-shadow:none}.app-shell .nav-list{gap:3px}.app-shell .nav-item{min-height:40px;color:var(--sidebar-muted);border-radius:7px}.app-shell .nav-item:hover{color:var(--text);background:#8fcea814}.app-shell .nav-item.active{color:var(--accent);box-shadow:inset 2px 0 var(--accent);background:#8fcea824}.app-shell .nav-count{color:#b8e3c8;background:#31513f;border-radius:999px}.app-shell .sidebar-footer{border-top-color:#adc1b91a}.app-shell .system-status{color:#788681}.app-shell .system-status strong{color:#d8e2de}.app-shell .status-dot{box-shadow:none}.app-shell .logout-button{color:#788681}.app-shell .main-area{background:var(--canvas)}.app-shell .topbar{background:#0e1316e0;border-bottom:1px solid #adc1b91c;height:64px;padding:0 31px}.app-shell .topbar-section span{color:#72807b}.app-shell .topbar-section strong{color:var(--text)}.app-shell .topbar-search{color:#72807b}.app-shell .topbar-search input{color:var(--text)}.app-shell .icon-button{border-color:var(--line);color:#95a39e;background:0 0}.app-shell .icon-button:hover{background:var(--accent-soft);color:var(--accent);border-color:#8fcea875}.app-shell .user-chip{border-left-color:var(--line)}.app-shell .user-chip strong{color:var(--text)}.app-shell .user-chip small{color:var(--muted)}.app-shell .avatar,.app-shell .client-avatar{background:var(--accent-soft);color:var(--accent)}.app-shell .content-area{width:100%;max-width:1600px;margin-inline:auto;padding:32px 36px 64px}.app-shell .section-heading{margin-bottom:25px}.app-shell .section-heading h1{color:var(--text);font-size:29px}.app-shell .section-heading p,.app-shell .section-context{color:var(--muted)}.app-shell h1,.app-shell h2,.app-shell h3{color:var(--text)}.app-shell .eyebrow{color:#769286}.app-shell .panel,.app-shell .metric-card,.app-shell .client-card,.app-shell .project-card,.app-shell .source-card{background:var(--panel);box-shadow:none;border:1px solid #adc1b91f;border-radius:10px}.app-shell .panel-heading{margin-bottom:18px}.app-shell .panel-heading p,.app-shell .metric-label,.app-shell .metric-detail,.app-shell .toolbar-info,.app-shell .muted-text{color:var(--muted)}.app-shell .button{border-radius:6px;min-height:36px}.app-shell .button-primary{background:var(--accent);border-color:var(--accent);color:#102018}.app-shell .button-primary:hover{background:#a5dcb9;border-color:#a5dcb9}.app-shell .button-secondary{color:#cad5d0;background:0 0;border-color:#adc1b938}.app-shell .button-secondary:hover{background:var(--accent-soft);color:var(--accent);border-color:#8fcea87a}.app-shell .button-ghost{color:#9aa8a4}.app-shell .button-ghost:hover{background:var(--accent-soft);color:var(--accent)}.app-shell .button:focus-visible,.app-shell .nav-item:focus-visible,.app-shell .icon-button:focus-visible,.app-shell a:focus-visible{outline-offset:2px;box-shadow:none;outline:2px solid #8fcea894}.app-shell input,.app-shell select,.app-shell textarea,.app-shell[class*=crm-section-] input,.app-shell[class*=crm-section-] select,.app-shell[class*=crm-section-] textarea{color:var(--text);background:#11181c;border-color:#adc1b92e;border-radius:6px}.app-shell input::placeholder,.app-shell textarea::placeholder{color:#63716d}.app-shell input:focus,.app-shell select:focus,.app-shell textarea:focus{border-color:#8fcea8ad;box-shadow:0 0 0 3px #8fcea81f}.app-shell option{color:var(--text);background:#151c20}.app-shell .metrics-grid{gap:13px}.app-shell .metric-card{min-height:126px;padding:17px}.app-shell .metric-icon,.app-shell .quick-icon{border:1px solid #8fcea829;color:var(--accent)!important;background:#8fcea81a!important}.app-shell .metric-value{color:var(--text)}.app-shell .dashboard-grid{gap:18px}.app-shell .attention-panel,.app-shell .quick-panel,.app-shell .table-panel,.app-shell .detail-panel,.app-shell .task-panel,.app-shell .settings-card{padding:21px}.app-shell .attention-item,.app-shell .quick-action,.app-shell .table-row,.app-shell .task-row,.app-shell .client-card-footer,.app-shell .project-footer,.app-shell .source-meta,.app-shell .settings-row{border-color:#adc1b91c}.app-shell .attention-main span,.app-shell .quick-action span,.app-shell .attention-score,.app-shell .attention-score small{color:var(--muted)}.app-shell .attention-item:hover strong,.app-shell .quick-action:hover strong{color:var(--accent)}.app-shell .attention-marker{background:var(--accent)}.app-shell .toolbar{gap:10px;margin-bottom:17px}.app-shell .search-field,.app-shell .view-switch,.app-shell .filter-tabs{background:0 0;border-color:#adc1b929}.app-shell .search-field{color:#71817a}.app-shell .search-field input{background:0 0;border:0}.app-shell .view-switch button,.app-shell .filter-tabs button{color:#83918c}.app-shell .view-switch button.active,.app-shell .filter-tabs button.active{background:var(--accent-soft);color:var(--accent)}.app-shell .count-badge{color:#9fbaa9;background:#8fcea81a}.app-shell .split-layout{gap:0}.app-shell .split-layout>.panel{border-radius:0}.app-shell .split-layout>.panel:first-child{border-right:0;border-radius:10px 0 0 10px}.app-shell .split-layout>.panel:last-child{border-radius:0 10px 10px 0}.app-shell .lead-list{border-top-color:#adc1b91c}.app-shell .lead-row{background:0 0;border-bottom-color:#adc1b91c}.app-shell .lead-row:hover,.app-shell .lead-row.selected{background:#8fcea81a}.app-shell .lead-row-main span,.app-shell .lead-row-meta small{color:var(--muted)}.app-shell .lead-source-dot{background:var(--accent)}.app-shell .status-pill{color:#aebbb6;background:#adc1b91a;border:1px solid #0000}.app-shell .status-pill.new{color:#91c6f2;background:#5c99d429}.app-shell .status-pill.in_review{color:#e3c17d;background:#d7ad6229}.app-shell .status-pill.draft{color:#aebbb6;background:#adc1b91a}.app-shell .status-pill.approved{color:var(--accent);background:#8fcea829}.app-shell .detail-placeholder{color:#6f7e79;border-color:#adc1b933}.app-shell .detail-placeholder strong{color:#b1c0ba}.app-shell .detail-header{border-bottom-color:var(--line)}.app-shell .detail-header p,.app-shell .detail-section label,.app-shell .preserve,.app-shell .detail-facts span{color:var(--muted)}.app-shell .detail-facts div,.app-shell .workflow-strip>div,.app-shell .draft-head,.app-shell .draft-footer{background:#ffffff06}.app-shell .detail-facts div{border:1px solid #adc1b914}.app-shell .ai-summary,.app-shell .ai-draft-proposal{background:#8fcea814;border-color:#8fcea833}.app-shell .ai-summary p,.app-shell .ai-summary small{color:#a4bcb0}.app-shell .ai-summary-head strong,.app-shell .ai-badge,.app-shell .text-link,.app-shell .text-button,.app-shell .client-card-footer a,.app-shell .deal-card-links a{color:var(--accent)}.app-shell .draft-card{border-color:#adc1b926}.app-shell .draft-footer{border-top-color:#adc1b91c}.app-shell .empty-state{background:0 0;border-color:#adc1b933}.app-shell .empty-icon{background:var(--accent-soft);color:var(--accent)}.app-shell .empty-state p{color:var(--muted)}.app-shell .kanban-board{gap:12px}.app-shell .kanban-column{background:#11181c;border-color:#adc1b91f;border-radius:8px}.app-shell .deal-card{box-shadow:none;background:#182126;border-color:#adc1b924}.app-shell .deal-source,.app-shell .deal-company,.app-shell .deal-next-action{color:var(--muted)}.app-shell .overdue-badge{color:#ef9a96;background:#e27b7824}.app-shell .project-link{background:var(--accent-soft);color:var(--accent)}.app-shell .add-column{color:#82908b;border-color:#adc1b938}.app-shell .stage-dot.green{background:var(--accent)}.app-shell .progress-track{background:#adc1b921}.app-shell .progress-track span,.app-shell .progress-fill{background:var(--accent)}.app-shell .client-card,.app-shell .project-card,.app-shell .source-card{padding:18px}.app-shell .client-card p,.app-shell .project-card p,.app-shell .source-card p,.app-shell .project-money span,.app-shell .source-meta{color:var(--muted)}.app-shell .source-icon,.app-shell .source-icon.ready,.app-shell .source-icon.fl{background:var(--accent-soft);color:var(--accent)}.app-shell .connection-status.ready{color:var(--accent)}.app-shell .connection-status.not_connected{color:#7d8a85}.app-shell .integration-callout,.app-shell .local-business-scale-note,.app-shell .potential-client-note,.app-shell .ai-draft-warning{color:#d8bd83;background:#d7ad6217;border-color:#d7ad6238}.app-shell .task-check{background:0 0;border-color:#adc1b947}.app-shell .task-check.done{background:var(--accent);border-color:var(--accent);color:#102018}.app-shell .task-content span,.app-shell .task-row time{color:var(--muted)}.app-shell .priority.high{color:#ef9a96;background:#e27b7824}.app-shell .priority.medium{color:#e2c17e;background:#d7ad6224}.app-shell .priority.low{color:#a1afa9;background:#adc1b91a}.app-shell .task-row.is-overdue{border-left-color:var(--danger)}.app-shell .modal-backdrop{background:#04080ac2}.app-shell .modal{box-shadow:var(--shadow);background:#161e22;border:1px solid #adc1b929}.app-shell .form-stack label{color:#b2c0ba}.app-shell .form-hint{color:var(--muted)}.app-shell .form-error{color:#ef9a96;background:#e27b781f;border-color:#e27b7842}.app-shell .notice.success{color:var(--accent);background:#8fcea81f;border-color:#8fcea847}.app-shell .notice.error{color:#ef9a96;background:#e27b781f;border-color:#e27b7842}.app-shell .local-business-tabs,.app-shell .segmented-control{background:0 0;border-color:#adc1b929}.app-shell .local-business-tabs button,.app-shell .segmented-control button{color:#83918c}.app-shell .local-business-tabs button.active,.app-shell .segmented-control button.active{color:var(--accent);background:var(--accent-soft)}.app-shell .local-business-search-panel,.app-shell .local-business-job-panel,.app-shell .local-business-history,.app-shell .local-business-results-panel,.app-shell .niche-research-panel{background:var(--panel);border-color:#adc1b91f}.app-shell .local-business-job-item,.app-shell .local-business-result-item{background:0 0;border-color:#0000}.app-shell .local-business-job-item:hover,.app-shell .local-business-job-item.selected,.app-shell .local-business-result-item:hover,.app-shell .local-business-result-item.selected{background:var(--accent-soft);border-color:#8fcea833}.app-shell .local-business-result-list{border-right-color:var(--line)}.app-shell .local-business-result-title,.app-shell .local-business-contact-actions,.app-shell .local-business-entity-actions,.app-shell .panel-heading{border-color:var(--line)}.app-shell .local-business-details dd,.app-shell .local-business-details dt,.app-shell .source-meta,.app-shell .source-note,.app-shell .form-hint{color:var(--muted)}.app-shell .local-business-details a,.app-shell .source-list a,.app-shell .source-note code{color:var(--accent)}.app-shell .score-card,.app-shell .website-check-card,.app-shell .local-business-result-controls,.app-shell .niche-score-grid article,.app-shell .niche-research-report,.app-shell .niche-direction{background:#ffffff05;border-color:#adc1b921}.app-shell .score-grid span{background:0 0;border-color:#adc1b921}.app-shell .score-grid strong,.app-shell .niche-score-grid article>strong{color:var(--accent)}.app-shell .score-reasons,.app-shell .niche-research-report p,.app-shell .niche-direction p,.app-shell .niche-facts{color:var(--muted)}.app-shell .territory-suggestions{border-color:var(--line);box-shadow:var(--shadow);background:#172126}.app-shell .territory-suggestions button{color:var(--text)}.app-shell .territory-suggestions button:hover{background:var(--accent-soft)}.app-shell .niche-provider-status span,.app-shell .niche-stage-list span{border-color:#adc1b92e}.app-shell .niche-provider-status .provider-ready,.app-shell .niche-stage-list span.done{background:var(--accent-soft);color:var(--accent);border-color:#8fcea842}.app-shell .niche-provider-status .provider-missing,.app-shell .niche-stage-list span.current{color:#e2c17e;background:#d7ad621f;border-color:#d7ad623d}.demo-page{background:var(--canvas)}.demo-topbar{background:#11171b;border-color:#adc1b91c}.demo-brand span{color:var(--accent);background:0 0;border:1px solid #8fcea8ad}.demo-brand strong{color:var(--text)}.demo-badge{color:#e2c17e;background:#d7ad621f;border-color:#d7ad6238}.demo-sidebar{border-color:#adc1b91c}.demo-nav{color:var(--muted)}.demo-nav.active{background:var(--accent-soft);color:var(--accent)}.demo-page .button-secondary{color:#cad5d0;background:0 0;border-color:#adc1b938}.demo-page .button-secondary:hover{background:var(--accent-soft);color:var(--accent);border-color:#8fcea87a}.demo-page .metric-card,.demo-page .panel{background:var(--panel);box-shadow:none;border-color:#adc1b91f}.demo-page .metric-label,.demo-page .metric-detail,.demo-page .panel-heading p,.demo-page .lead-row-main span,.demo-page .lead-row-meta small{color:var(--muted)}.demo-page .metric-value,.demo-page .lead-row-main strong,.demo-page .panel-heading h2{color:var(--text)}.demo-page .lead-list{border-top-color:#adc1b91c}.demo-page .lead-row{background:0 0;border-bottom-color:#adc1b91c}.demo-page .lead-row:hover{background:#8fcea81a}.demo-page .lead-source-dot{background:var(--accent)}.demo-page .status-pill{color:#aebbb6;background:#adc1b91a}.demo-page .status-pill.new{color:#91c6f2;background:#5c99d429}.demo-page .status-pill.in_review{color:#e3c17d;background:#d7ad6229}.demo-page .kanban-column{background:#11181c;border-color:#adc1b91f}.demo-page .deal-card{box-shadow:none;background:#182126;border-color:#adc1b924}.demo-page .deal-source,.demo-page .deal-company{color:var(--muted)}.demo-page .task-row{border-bottom-color:#adc1b91c}.demo-page .task-content span,.demo-page .task-row time{color:var(--muted)}.demo-callout{background:var(--accent-soft);color:var(--accent);border-color:#8fcea838}.demo-callout p{color:#a4bcb0}.demo-subtitle{color:var(--muted)}.login-page{background:var(--canvas)}.login-aside{background:var(--sidebar)}.login-quote p,.login-aside-foot{color:#94a39e}.login-card-wrap{background:var(--canvas)}.login-card{background:var(--panel);box-shadow:var(--shadow);border-color:#adc1b924}.login-card label{color:#b2c0ba}.login-card-head h2{color:var(--text)}.login-card-head p,.login-demo span{color:var(--muted)}.login-icon{background:var(--accent-soft);color:var(--accent)}.login-demo{border-color:var(--line)}.login-demo a{color:var(--accent)}.login-card input{color:var(--text);background:#11181c;border-color:#adc1b92e}.login-card input::placeholder{color:#63716d}@media (max-width:760px){.app-shell .content-area{padding:24px 16px 46px}.app-shell .topbar{padding:0 16px}.app-shell .section-heading h1{font-size:25px}.app-shell .split-layout{gap:12px}.app-shell .split-layout>.panel:first-child,.app-shell .split-layout>.panel:last-child{border-right:1px solid #adc1b91f;border-radius:10px}.app-shell .panel,.app-shell .metric-card,.app-shell .client-card,.app-shell .project-card,.app-shell .source-card{border-radius:8px}}.app-shell .brand{align-items:flex-end;gap:9px}.app-shell .brand-wordmark{gap:2px;line-height:1;display:grid}.app-shell .brand-wordmark strong{color:var(--text);letter-spacing:.04em;font-size:18px;font-weight:760}.app-shell .brand-wordmark span{color:#75827e;letter-spacing:.04em;margin-top:0;font-size:10px;font-weight:650}.app-shell .brand-caption{font-weight:750;color:var(--accent)!important;letter-spacing:.14em!important;margin-top:0!important;font-size:10px!important}.login-brand{align-items:flex-end;gap:9px}.login-brand .brand-wordmark strong{color:var(--text)}.login-brand .brand-wordmark span{color:#75827e}.mobile-login-brand{align-items:flex-end;gap:9px}.mobile-login-brand .brand-wordmark strong{color:var(--text)}.mobile-login-brand .brand-wordmark span{color:#75827e}.demo-brand-mark{color:var(--accent)!important;background:0 0!important;border-color:#8fcea8ad!important}.demo-brand-copy strong{color:var(--text)}.demo-brand-copy span{color:var(--muted)!important}.demo-brand-caption{color:var(--accent)!important}
.production-shell{--crm-accent:#2f63d8;--crm-accent-hover:#2857c3;--crm-accent-soft:#edf3ff;--crm-text:#22252b;--crm-muted:#656b76;--crm-subtle:#8a909a;--crm-border:#e4e6ea;--crm-surface:#fff;--crm-canvas:#f7f7f8;--text:#22252b;--muted:#656b76;--canvas:#f7f7f8;--surface:#fff;--line:#e4e6ea;--accent:#2f63d8;--accent-soft:#edf3ff;--panel:#fff;--sidebar:#f1f2f4;--sidebar-muted:#555b65;background:var(--crm-canvas);min-height:100dvh;color:var(--crm-text);grid-template-columns:236px minmax(0,1fr);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.45;display:grid}.production-shell,.production-shell *{box-sizing:border-box}.production-shell button,.production-shell input,.production-shell select,.production-shell textarea{font:inherit}.production-shell :focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.production-shell .sidebar{border-right:1px solid var(--crm-border);width:auto;height:100dvh;color:var(--crm-text);box-shadow:none;background:#f1f2f4;flex-direction:column;padding:22px 14px 16px;display:flex;position:sticky;inset:0 auto auto 0}.production-shell .brand{border:0;align-items:baseline;gap:8px;min-height:42px;padding:3px 10px 20px;display:flex}.production-shell .brand>div{align-items:baseline;gap:8px;display:flex}.production-shell .brand strong{color:#1f2329;letter-spacing:.12em;font-size:14px;font-weight:720}.production-shell .brand span{color:var(--crm-accent);letter-spacing:.14em;font-size:10px;font-weight:750}.production-shell .nav-caption{color:var(--crm-subtle);letter-spacing:.05em;text-transform:uppercase;margin:12px 10px 8px;font-size:11px;font-weight:650}.production-shell .nav-list{gap:3px;padding:0;display:grid}.production-shell .nav-item{color:#555b65;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;min-height:38px;padding:8px 10px;font-weight:510;text-decoration:none;transition:background-color .12s,color .12s;display:flex}.production-shell .nav-item:hover{color:var(--crm-text);background:#ffffffb8}.production-shell .nav-item.active{color:#224fae;box-shadow:inset 2px 0 0 var(--crm-accent);background:#e1e9f9}.production-shell .nav-item svg{stroke-width:1.8px;width:17px;height:17px}.production-shell .nav-count{color:#315eb8;background:#fff;border-radius:999px;place-items:center;min-width:22px;height:20px;margin-left:auto;padding:0 6px;font-size:11px;display:grid}.production-shell .sidebar-footer{border:0;margin-top:auto;padding:0}.production-shell .sidebar-profile{border-top:1px solid #dfe1e5;align-items:center;gap:10px;padding:14px 10px 10px;display:flex}.production-shell .sidebar-profile>div:last-child{min-width:0;display:grid}.production-shell .sidebar-profile strong{font-size:13px}.production-shell .sidebar-profile small{color:var(--crm-muted);font-size:11px}.production-shell .avatar{color:#244f9f;background:#dfe7f7;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:10px;font-weight:700;display:grid}.production-shell .logout-button{cursor:pointer;width:100%}.production-shell .main-area{background:var(--crm-canvas);min-width:0;margin:0}.production-shell .topbar{z-index:30;border-bottom:1px solid var(--crm-border);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fffffff5;grid-template-columns:minmax(150px,1fr) minmax(260px,420px) minmax(150px,1fr);align-items:center;gap:20px;height:58px;padding:0 28px;display:grid;position:sticky;top:0}.production-shell .topbar-section{align-items:center;gap:8px;min-width:0;display:flex}.production-shell .topbar-section span,.production-shell .topbar-section strong{font-size:13px}.production-shell .topbar-section span{color:var(--crm-muted)}.production-shell .topbar-section strong{color:var(--crm-text)}.production-shell .topbar-search{width:100%;height:36px;color:var(--crm-muted);background:#fff;border:1px solid #d9dce1;border-radius:6px;align-items:center;padding:0 10px;display:flex}.production-shell .topbar-search:focus-within{border-color:var(--crm-accent);box-shadow:0 0 0 2px var(--crm-accent-soft)}.production-shell .topbar-search input{width:100%;min-width:0;color:var(--crm-text);background:0 0;border:0;outline:0}.production-shell .topbar-search svg{flex:none;margin-right:8px}.production-shell .topbar-actions{justify-self:end;align-items:center;gap:8px;display:flex}.production-shell .mobile-menu,.production-shell .mobile-close{display:none!important}.production-shell .user-chip{border:0;align-items:center;gap:8px;min-width:0;padding-left:8px;display:flex}.production-shell .user-chip>div:nth-child(2){display:grid}.production-shell .user-chip strong{font-size:13px}.production-shell .user-chip small{color:var(--crm-muted);font-size:11px}.production-shell .content-area{width:100%;max-width:1680px;margin:0 auto;padding:28px}.production-shell .section-heading{border:0;justify-content:space-between;align-items:flex-start;gap:24px;min-height:74px;margin:0 0 22px;padding:0;display:flex}.production-shell .section-eyebrow{color:var(--crm-accent);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.production-shell .section-heading h1{letter-spacing:-.025em;margin:2px 0 3px;font-size:26px;font-weight:680;line-height:1.2}.production-shell h1,.production-shell h2,.production-shell h3{color:var(--crm-text)}.production-shell .section-context{color:var(--crm-muted);margin:0;font-size:14px}.production-shell .button{min-height:36px;box-shadow:none;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:620;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}.production-shell .button-primary{border:1px solid var(--crm-accent);background:var(--crm-accent);color:#fff;box-shadow:0 1px 2px #102d6c26}.production-shell .button-primary:hover{background:var(--crm-accent-hover)}.production-shell .button-secondary{color:#3d424b;background:#fff;border:1px solid #d9dce1}.production-shell .button-secondary:hover{background:#f8f9fa;border-color:#c4c9d1}.production-shell .button-small{min-height:32px;padding:0 10px;font-size:12px}.production-shell .icon-button{color:#626873;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:none;place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.production-shell .icon-button:hover{background:#f2f3f5}.production-shell .toolbar{background:0 0;border:0;align-items:center;gap:8px;margin-bottom:12px;padding:0;display:flex}.production-shell .search-field{width:min(410px,42vw);min-height:36px;color:var(--crm-muted);background:#fff;border:1px solid #d9dce1;border-radius:6px;align-items:center;padding:0 10px;display:flex}.production-shell .search-field:focus-within{border-color:var(--crm-accent);box-shadow:0 0 0 2px var(--crm-accent-soft)}.production-shell .search-field input{background:0 0;border:0;outline:0;width:100%;min-width:0}.production-shell .search-field svg{margin-right:8px}.production-shell select,.production-shell input,.production-shell textarea{color:var(--crm-text);background:#fff;border:1px solid #d9dce1;border-radius:6px}.production-shell select{min-height:36px;padding:0 30px 0 10px}.production-shell input,.production-shell textarea{padding:8px 10px}.production-shell textarea{resize:vertical;line-height:1.5}.production-shell[class*=crm-section-] input,.production-shell[class*=crm-section-] select,.production-shell[class*=crm-section-] textarea{color:var(--crm-text);background-color:#fff;border-color:#d9dce1}.production-shell option{color:var(--crm-text);background:#fff}.production-shell .toolbar-info{color:var(--crm-muted);margin-left:auto;font-size:12px}.production-shell .panel,.production-shell .table-panel{border:1px solid var(--crm-border);box-shadow:none;background:#fff;border-radius:8px}.production-shell .table-panel{max-width:100%;overflow-x:auto}.production-shell .data-table{min-width:880px}.production-shell .table-row{color:#4f555f;border-bottom:1px solid #eceef1;align-items:center;gap:12px;min-height:58px;padding:9px 12px;display:grid}.production-shell .table-row:last-child{border-bottom:0}.production-shell .table-row:hover{background:#f8faff}.production-shell .table-head{color:#767c86;letter-spacing:.025em;background:#fafafa;min-height:38px;font-size:11px;font-weight:650}.production-shell .data-table>.table-head:hover{background:#fafafa}.production-shell .clickable-table-row{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border-width:0 0 1px;border-radius:0}.production-shell .client-data-table{min-width:1280px}.production-shell .client-data-table .table-row{grid-template-columns:180px 170px 110px 110px 185px 115px 150px 240px}.production-shell .client-primary{color:var(--crm-text);align-items:center;gap:9px;display:flex}.production-shell .client-avatar{background:var(--crm-accent-soft);color:#2d59b6;border-radius:6px;flex:none;place-items:center;width:30px;height:30px;font-size:10px;font-weight:720;display:inline-grid}.production-shell .table-row small{color:var(--crm-muted);margin-top:2px;font-size:11px;display:block}.production-shell .payments-table .table-row{grid-template-columns:1fr 1.2fr 1.2fr 110px 130px 1.5fr}.production-shell .status-pill,.production-shell .priority,.production-shell .connection-status{color:#666d78;white-space:nowrap;background:#f0f1f3;border:0;border-radius:999px;width:max-content;padding:3px 8px;font-size:11px;font-weight:620;display:inline-flex}.production-shell .status-pill.new,.production-shell .status-pill.in_review{background:var(--crm-accent-soft);color:#315eb8}.production-shell .status-pill.converted,.production-shell .status-pill.responded,.production-shell .status-pill.done{color:#277348;background:#e8f5ed}.production-shell .status-pill.skipped{color:#666d78;background:#f0f1f3}.production-shell .kanban-board{border:1px solid var(--crm-border);background:#fff;border-radius:8px;grid-template-columns:repeat(8,minmax(210px,1fr));gap:0;width:max-content;min-width:100%;display:grid;overflow:hidden}.production-shell .kanban-column{border-right:1px solid var(--crm-border);background:#fbfbfc;min-height:calc(100dvh - 208px);padding:0}.production-shell .kanban-column:last-child{border-right:0}.production-shell .kanban-column-head{border-bottom:1px solid var(--crm-border);background:#fff;min-height:58px;padding:11px 12px}.production-shell .kanban-column-head>div{align-items:center;gap:7px;display:flex}.production-shell .stage-dot{box-shadow:0 0 0 3px var(--crm-accent-soft);background:var(--crm-accent)!important}.production-shell .kanban-cards{gap:8px;padding:9px;display:grid}.production-shell .deal-card{cursor:pointer;background:#fff;border:1px solid #e0e3e8;border-radius:7px;gap:7px;padding:11px;transition:border-color .1s,box-shadow .1s,transform .1s;display:grid;box-shadow:0 1px 2px #1d232f09}.production-shell .deal-card:hover{border-color:#bbc9e7;transform:translateY(-1px);box-shadow:0 3px 8px #22386414}.production-shell .deal-card>strong{color:var(--crm-text);font-size:13px}.production-shell .deal-source,.production-shell .deal-company,.production-shell .deal-next-action{color:var(--crm-muted);font-size:11px}.production-shell .deal-card-links a,.production-shell .project-link,.production-shell .text-link{color:var(--crm-accent)}.production-shell .add-column{min-height:34px;color:var(--crm-muted);background:0 0;border:1px dashed #d4d7dd;border-radius:6px;margin:9px}.production-shell .view-switch{background:#fff;border:1px solid #d9dce1;border-radius:6px}.production-shell .view-switch button{min-height:34px;color:var(--crm-muted);background:0 0;border:0}.production-shell .view-switch button.active{background:var(--crm-accent-soft);color:#315eb8}.production-shell .metrics-grid{border:1px solid var(--crm-border);background:#fff;border-radius:8px;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-bottom:18px;overflow:hidden}.production-shell .metric-card{border:0;border-right:1px solid var(--crm-border);min-height:112px;box-shadow:none;border-radius:0;padding:16px}.production-shell .metric-card:last-child{border-right:0}.production-shell .metric-icon{color:var(--crm-accent)!important;background:var(--crm-accent-soft)!important}.production-shell .metric-label,.production-shell .metric-detail{color:var(--crm-muted)}.production-shell .metric-value{color:var(--crm-text);font-size:20px}.production-shell .dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:16px}.production-shell .panel-heading{border-bottom:1px solid var(--crm-border);padding:16px 18px}.production-shell .panel-heading h2{font-size:14px}.production-shell .panel-heading p{color:var(--crm-muted);font-size:12px}.production-shell .attention-item,.production-shell .quick-action{border-color:#eceef1}.production-shell .attention-marker{background:var(--crm-accent)}.production-shell .split-layout{grid-template-columns:minmax(420px,.9fr) minmax(480px,1.1fr);gap:16px}.production-shell .lead-row.selected{background:var(--crm-accent-soft);box-shadow:inset 2px 0 0 var(--crm-accent)}.production-shell .lead-source-dot,.production-shell .live-dot{background:var(--crm-accent)}.production-shell .detail-panel{max-height:calc(100dvh - 102px);position:sticky;top:74px;overflow-y:auto}.production-shell .project-grid,.production-shell .source-grid,.production-shell .settings-grid{gap:12px}.production-shell .project-card,.production-shell .source-card,.production-shell .settings-card{border:1px solid var(--crm-border);box-shadow:none;background:#fff;border-radius:8px}.production-shell .progress-track span{background:var(--crm-accent)}.production-shell .task-panel{overflow:hidden}.production-shell .task-row{border-color:#eceef1;min-height:58px}.production-shell .task-check.done{border-color:var(--crm-accent);background:var(--crm-accent)}.production-shell .notice{z-index:110;max-width:430px;color:var(--crm-text);background:#fff;border-radius:7px;position:fixed;bottom:20px;right:20px;box-shadow:0 8px 24px #1a1f2a2e}.production-shell .notice.success{border-color:#badbc7}.production-shell .notice.error{border-color:#e3b7b7}.production-shell .modal-backdrop{z-index:90;background:#181c2352;justify-content:flex-end;padding:0;display:flex}.production-shell .modal{border:0;border-left:1px solid var(--crm-border);background:#fff;border-radius:0;width:min(520px,100vw - 24px);max-width:none;height:100dvh;max-height:none;margin:0;overflow-y:auto;box-shadow:-12px 0 36px #1a1f2a24}.production-shell .modal-head{z-index:2;border-bottom:1px solid var(--crm-border);background:#fff;min-height:72px;padding:18px 20px 15px 22px;position:sticky;top:0}.production-shell .modal-head h2{letter-spacing:-.015em;font-size:20px}.production-shell .form-stack{padding:20px 22px 28px}.production-shell .form-stack label{color:#4d535d;font-size:12px;font-weight:600}.production-shell .detail-stack{display:grid}.production-shell .detail-actions{gap:8px;padding:16px 22px;display:flex}.production-shell .detail-section{border-top:1px solid #eceef1;padding:19px 22px}.production-shell .detail-section h3{color:#353940;letter-spacing:.045em;text-transform:uppercase;margin:0 0 13px;font-size:12px;font-weight:700}.production-shell .detail-section p{color:#4f5661;line-height:1.55}.production-shell .detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.production-shell .detail-facts span{color:var(--crm-muted);font-size:11px}.production-shell .contact-row,.production-shell .related-row{color:var(--crm-text);border-bottom:1px solid #eceef1;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;text-decoration:none;display:flex}.production-shell .contact-row:last-child,.production-shell .related-row:last-child{border-bottom:0}.production-shell .contact-row span,.production-shell .related-row small{color:var(--crm-muted);font-size:11px;display:block}.production-shell .activity-timeline>div{grid-template-columns:22px 1fr;gap:8px;padding-bottom:16px;display:grid;position:relative}.production-shell .activity-timeline>div>span{background:var(--crm-accent);width:9px;height:9px;box-shadow:0 0 0 3px var(--crm-accent-soft);border-radius:50%;margin:5px 0 0 5px}.production-shell .activity-timeline p{margin:0}.production-shell .activity-timeline time{color:var(--crm-subtle);font-size:11px;display:block}.production-shell .loading-state,.production-shell .empty-state{border:1px solid var(--crm-border);min-height:260px;color:var(--crm-muted);background:#fff;border-radius:8px}.production-shell .spin{color:var(--crm-accent)}.production-shell .skip-link{z-index:140;background:var(--crm-text);color:#fff;border-radius:6px;padding:8px 12px;text-decoration:none;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.production-shell .skip-link:focus{transform:translateY(0)}.production-shell .modal{overscroll-behavior:contain}.production-shell button,.production-shell a,.production-shell select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.production-shell .card-title-button,.production-shell .table-title-button,.production-shell .task-open{color:var(--crm-text);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650}.production-shell .card-title-button:hover,.production-shell .table-title-button:hover,.production-shell .task-open:hover strong{color:var(--crm-accent)}.production-shell .task-open{min-width:0;display:grid}.production-shell .task-open span{color:var(--crm-muted);font-size:12px;font-weight:400}.production-shell .metric-card{background:#fff}.production-shell .attention-panel,.production-shell .quick-panel,.production-shell .table-panel,.production-shell .detail-panel,.production-shell .task-panel{padding:0}.production-shell .kanban-viewport{width:100%;max-width:100%;padding-bottom:8px;overflow-x:auto}.production-shell .project-stage-row{width:100%;color:var(--crm-text);text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eceef1;align-items:center;gap:10px;padding:10px 0;display:flex}.production-shell .project-stage-row:last-child{border-bottom:0}.production-shell .project-stage-row>span:last-child{display:grid}.production-shell .project-stage-row small{color:var(--crm-muted);font-size:11px}@media (max-width:1200px){.production-shell .metrics-grid{grid-template-columns:repeat(3,1fr)}.production-shell .metric-card:nth-child(3){border-right:0}.production-shell .metric-card:nth-child(-n+3){border-bottom:1px solid var(--crm-border)}.production-shell .split-layout{grid-template-columns:1fr}.production-shell .detail-panel{max-height:none;position:static}}@media (max-width:900px){.production-shell{display:block}.production-shell .sidebar{z-index:80;width:min(286px,100vw - 48px);transition:transform .18s;position:fixed;transform:translate(-102%)}.production-shell .sidebar.sidebar-open{transform:translate(0)}.production-shell .mobile-overlay{z-index:70;background:#181c2352}.production-shell .mobile-close,.production-shell .mobile-menu{display:inline-grid!important}.production-shell .mobile-close{margin-left:auto}.production-shell .topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;height:54px;padding:0 16px}.production-shell .topbar-section{display:none}.production-shell .topbar-search{max-width:none}.production-shell .user-chip>div:nth-child(2),.production-shell .user-chip>svg{display:none}.production-shell .content-area{padding:22px 16px}.production-shell .section-heading{min-height:0;margin-bottom:18px}.production-shell .dashboard-grid{grid-template-columns:1fr}.production-shell .kanban-board{min-width:1680px}.production-shell .kanban-board,.production-shell .client-table-panel{overflow-x:auto}.production-shell.crm-section-inbox .detail-panel{z-index:90;border-radius:0;width:min(100vw,520px);max-height:100dvh;position:fixed;inset:0 0 0 auto;overflow-y:auto;box-shadow:-12px 0 36px #1a1f2a24}}@media (max-width:620px){.production-shell .content-area{padding:20px 12px;overflow:hidden}.production-shell .section-heading{align-items:start;gap:12px;display:grid}.production-shell .section-heading>div,.production-shell .section-heading>.button{width:100%}.production-shell .section-heading h1{font-size:23px}.production-shell .section-context{max-width:100%;font-size:12px}.production-shell .button{min-height:34px;padding:0 10px;font-size:12px}.production-shell .toolbar{grid-template-columns:1fr 1fr;display:grid}.production-shell .search-field{grid-column:1/-1;width:100%}.production-shell .toolbar select{width:100%;min-width:0}.production-shell .toolbar-info{grid-column:1/-1;margin:2px 0 0}.production-shell .metrics-grid{grid-template-columns:repeat(2,1fr)}.production-shell .metric-card{border-bottom:1px solid var(--crm-border)}.production-shell .metric-card:nth-child(2n){border-right:0}.production-shell .metric-card:nth-last-child(-n+2){border-bottom:0}.production-shell .modal{width:100vw}.production-shell .detail-facts,.production-shell .form-grid,.production-shell .settings-grid,.production-shell .source-grid,.production-shell .project-grid{grid-template-columns:1fr}.production-shell .task-row{min-width:620px}.production-shell .task-panel{overflow-x:auto}.production-shell .topbar-search input::placeholder{font-size:12px}}@media (prefers-reduced-motion:reduce){.production-shell *,.production-shell :before,.production-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.production-shell .brand{align-items:flex-end;gap:9px}.production-shell .brand>.brand-wordmark{align-items:baseline;gap:2px;line-height:1;display:grid}.production-shell .brand-wordmark strong{color:#1f2329;letter-spacing:.04em;font-size:18px;font-weight:760}.production-shell .brand-wordmark span{color:#555b65;letter-spacing:.04em;margin-top:0;font-size:10px;font-weight:650}.production-shell .brand-caption{color:var(--crm-accent);letter-spacing:.14em;font-size:10px;font-weight:750}
