@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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid}}}@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;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}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{color:#26332f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#fafbf9;--panel:#fff;--sidebar:#f4f6f3;--text:#26332f;--muted:#64736b;--border:#e5e9e4;--accent:#0e7565;--accent-soft:#eaf4ee;--hover:#f5f7f4;--danger:#bb5742;--danger-soft:#fcf1eb;--input:#fff;--shadow:0 3px 12px #20332b05;color-scheme:light;--type-bump:2px;--type-lift:1px;background:#fafbf9;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root.compact-type{--type-bump:0px;--type-lift:0px}.dark{--bg:#151b19;--panel:#1b2220;--sidebar:#171e1b;--text:#e0e8e2;--muted:#93a299;--border:#303a34;--accent:#70c9ad;--accent-soft:#223b30;--hover:#242d28;--danger:#ef9b82;--danger-soft:#3b2923;--input:#1c2520;--shadow:none;color-scheme:dark}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);font-size:calc(13px + var(--type-bump));margin:0;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.05px;font-size:30px;font-weight:600;line-height:1.25}h2{font-size:calc(14px + var(--type-bump));letter-spacing:-.15px;font-weight:600}h3{font-size:calc(14px + var(--type-bump));font-weight:600}p{line-height:1.7}small{font-size:calc(11px + var(--type-bump))}svg{flex-shrink:0}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){input:focus,select:focus,textarea:focus{outline:2px solid color-mix(in srgb,var(--accent) 45%,transparent)}}input:focus,select:focus,textarea:focus{outline-offset:1px;border-color:var(--accent)}input,select,textarea{border:1px solid var(--border);background:var(--input);width:100%;color:var(--text);border-radius:6px;min-height:39px;padding:10px 11px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}textarea{resize:vertical}select{cursor:pointer}label{font-size:calc(12px + var(--type-bump));flex-direction:column;gap:7px;font-weight:500;display:flex}label .muted{font-weight:400}.muted{color:var(--muted)}.accent-text{color:var(--accent)!important}.danger-text,.error-text{color:var(--danger)!important}.error-text{font-size:calc(12px + var(--type-bump))}.tabular{font-variant-numeric:tabular-nums}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--panel);padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:10px}.btn{white-space:nowrap;min-height:36px;font-size:calc(12px + var(--type-bump));border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:8px 13px;font-weight:500;line-height:1.4;transition:background .15s;display:inline-flex}.btn-primary{color:#fff;background:#0e7565;border-color:#0e7565;box-shadow:0 1px 2px #001d1412}.btn-primary:hover{background:#0a6255}.btn-outline{background:var(--panel);border-color:var(--border);box-shadow:0 1px 2px #001d1404}.btn-outline:hover,.btn-ghost:hover{background:var(--hover)}.btn-ghost{background:0 0}.btn-danger{color:#fff;background:#b84935}.btn-danger:hover{background:#983924}.btn-sm{min-height:30px;font-size:calc(11px + var(--type-bump));padding:5px 9px}.btn-icon{width:34px;height:34px;min-height:34px;padding:0}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);z-index:30;overscroll-behavior:contain;flex-direction:column;width:224px;padding:28px 16px 16px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.sidebar>*,.mobile-drawer>*{flex-shrink:0}.brand{font-size:calc(21px + var(--type-lift));letter-spacing:-.8px;align-items:center;gap:10px;padding:0 11px;font-weight:650;display:flex}.brand img{width:30px;height:30px}.brand-dot{background:var(--accent);border-radius:50%;width:5px;height:5px;margin-left:auto}.workspace-label{font-size:calc(11px + var(--type-bump));align-items:center;gap:9px;margin:31px 6px 29px;font-weight:500;display:flex}.workspace-label small{color:var(--muted);font-size:calc(10px + var(--type-bump));margin-top:2px;font-weight:400;display:block}.workspace-label>div{overflow-wrap:anywhere;min-width:0}.workspace-avatar{border:1px solid var(--border);background:var(--panel);width:29px;height:31px;font-family:Georgia,serif;font-size:calc(16px + var(--type-lift));color:var(--accent);border-radius:6px;flex-shrink:0;place-items:center;display:grid}.nav-label{font-size:calc(9px + var(--type-bump));letter-spacing:1.4px;color:var(--muted);margin:0 12px 11px}.nav-item{color:var(--muted);font-size:calc(12px + var(--type-lift));text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;width:100%;margin:3px 0;padding:10px 12px;display:flex}.dark .nav-item{color:var(--muted)}.nav-item:hover{background:var(--hover);color:var(--text)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-item.active:after{content:"";background:var(--accent);border-radius:50%;width:4px;height:4px;margin-left:auto}.sidebar-note{font-size:calc(10px + var(--type-bump));color:var(--muted);margin:45px 12px 20px}.sidebar-note .tiny-dot{background:var(--accent);margin-right:5px;display:inline-block}.sidebar-note p{font-size:calc(11px + var(--type-bump));margin:8px 0 0 12px;line-height:1.8}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid var(--border);font-size:calc(11px + var(--type-bump));align-items:center;gap:10px;margin:18px 6px 0;padding-top:18px;font-weight:500;display:flex}.profile small{font-size:calc(9px + var(--type-bump));color:var(--muted);text-overflow:ellipsis;max-width:135px;font-weight:400;display:block;overflow:hidden}.profile .avatar{width:30px;height:30px;font-size:calc(10px + var(--type-bump))}.avatar{border:1px solid var(--border);width:34px;height:34px;font-size:calc(11px + var(--type-bump));letter-spacing:-.3px;color:var(--accent);background:var(--accent-soft);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.app-main{flex-direction:column;width:calc(100% - 224px);min-width:0;margin-left:224px;display:flex}.topbar{border-bottom:1px solid var(--border);background:var(--panel);justify-content:space-between;align-items:center;gap:20px;height:65px;padding:0 34px;display:flex}.breadcrumb{color:var(--muted);font-size:calc(11px + var(--type-bump));align-items:center;gap:14px;display:flex}.breadcrumb strong{color:var(--text);font-weight:500}.breadcrumb>span{opacity:.5}.topbar-right{align-items:center;gap:22px;display:flex}.global-search{color:var(--muted);font-size:calc(11px + var(--type-bump));background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:6px 8px;display:flex}.global-search:hover{background:var(--hover);color:var(--text)}.global-search kbd{font-family:inherit;font-size:calc(9px + var(--type-bump));border:1px solid var(--border);border-radius:4px;margin-left:50px;padding:1px 5px}.topbar-divider{background:var(--border);width:1px;height:20px}.personal-tag{font-size:calc(10px + var(--type-bump));align-items:center;gap:6px;display:flex}.personal-tag span{background:var(--accent);border-radius:50%;width:5px;height:5px}.mobile-menu{display:none}main{flex:1;min-width:0;padding:34px}.app-footer{font-size:calc(9px + var(--type-bump));color:var(--muted);border-top:1px solid var(--border);justify-content:space-between;padding:18px 34px;display:flex}.app-footer>span:first-child{letter-spacing:-.1px;font-weight:600}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px;display:flex}.page-heading>div:first-child{overflow-wrap:anywhere;min-width:0}.eyebrow{font-size:calc(9px + var(--type-bump));letter-spacing:1.4px;color:var(--muted);text-transform:uppercase;margin-bottom:12px;font-weight:500}.page-heading p{color:var(--muted);font-size:calc(12px + var(--type-bump));margin-top:9px}.heading-actions{flex-shrink:0}.metrics{border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow);border-radius:8px;grid-template-columns:repeat(6,minmax(0,1fr));margin:0 0 28px;display:grid}.metric{padding:19px 17px 17px;position:relative}.metric:not(:last-child):after{content:"";background:var(--border);width:1px;position:absolute;top:19px;bottom:19px;right:0}.metric-label{font-size:calc(10px + var(--type-bump));color:var(--muted);justify-content:space-between;align-items:center;gap:5px;display:flex}.metric-label svg{opacity:.8}.metric-value{font-size:calc(25px + var(--type-lift));letter-spacing:-.8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-height:36px;margin-top:12px;font-weight:550;line-height:1.4}.metric-value .money-line{font-size:calc(17px + var(--type-lift));letter-spacing:-.6px;line-height:1.8}.money-line{overflow-wrap:normal;display:block}.metric small{font-size:calc(9px + var(--type-bump));color:var(--muted);margin-top:6px;display:block}.metric-alert .metric-value,.metric-alert .metric-label svg{color:var(--danger)}.dashboard-grid{grid-template-columns:minmax(0,1fr) 292px;align-items:start;gap:22px;display:grid}.dashboard-primary,.dashboard-secondary,.lead-info,.lead-work{flex-direction:column;gap:22px;min-width:0;display:flex}.panel{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:8px;min-width:0;overflow:hidden}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:20px 20px 12px;display:flex}.section-heading>div{align-items:center;gap:8px;min-width:0;display:flex}.section-heading h2{overflow-wrap:anywhere}.section-heading .heading-actions{flex-wrap:wrap;flex-shrink:1}.section-icon{color:var(--accent);place-items:center;display:grid}.section-description{font-size:calc(10px + var(--type-bump));color:var(--muted);padding:0 20px 16px}.count-badge{font-size:calc(10px + var(--type-bump));color:var(--muted);text-align:center;border:1px solid var(--border);border-radius:4px;min-width:19px;padding:1px 6px;font-weight:400;line-height:1.5}.text-link{font-size:calc(10px + var(--type-bump));color:var(--muted);white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.text-link:hover,.business-link:hover{color:var(--accent)}.business-link{font-size:calc(12px + var(--type-bump));font-weight:550}.followup-row,.stale-row{border-top:1px solid var(--border);align-items:center;gap:11px;padding:15px 17px;display:flex}.invoice-attention-row{flex-wrap:wrap}.attention-tabs{flex-wrap:wrap;padding:0 17px}.attention-tabs button{align-items:center;gap:6px;display:inline-flex}.invoice-attention-row .row-main{flex:1;min-width:160px}.invoice-attention-row .row-actions{flex-wrap:wrap}.invoice-attention-row .row-main>.muted{white-space:normal;max-width:none;overflow:visible}@media(max-width:600px){.invoice-attention-row .row-actions{justify-content:flex-end;width:100%}}.followup-row>.done-button{min-height:28px;font-size:calc(11px + var(--type-bump));color:var(--accent);border-color:var(--accent);background:var(--panel);flex-shrink:0;gap:5px;padding:4px 9px 4px 7px;font-weight:550}.followup-row>.done-button:hover:not(:disabled){background:var(--accent-soft)}.followup-row>.done-button:disabled{cursor:default;color:var(--muted);border-color:var(--border);background:0 0}.followup-row>.avatar{display:none}.row-main{flex:1;min-width:95px}.row-main>.muted{font-size:calc(10px + var(--type-bump));text-overflow:ellipsis;white-space:nowrap;max-width:330px;margin-top:3px;display:block;overflow:hidden}.row-value{font-size:calc(11px + var(--type-bump));text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:500}.row-date{font-size:calc(9px + var(--type-bump));color:var(--muted);margin-top:4px;font-weight:400;display:block}.overdue{color:var(--danger)!important}.row-actions{align-items:center;gap:3px;display:flex}.row-actions .btn:not(.btn-primary){box-shadow:none;background:0 0;border:0}.invoice-status-mobile{display:none}.document-customer-options{border:0;min-width:0;max-height:300px;margin:0;padding:0;overflow-y:auto}.document-customer-options legend{font-size:calc(12px + var(--type-bump));margin-bottom:8px;font-weight:600}.document-customer-options .document-customer-option{border:1px solid var(--border);cursor:pointer;border-radius:6px;flex-direction:row;align-items:center;gap:10px;margin-bottom:6px;padding:10px;display:flex}.document-customer-option:has(input:checked){background:var(--hover);border-color:var(--accent)}.document-customer-option input{flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0}.document-customer-option span{overflow-wrap:anywhere;min-width:0}.document-customer-option small{color:var(--muted);font-size:calc(11px + var(--type-bump));margin-top:3px;display:block}@media(max-width:600px){.tabs.invoice-status-tabs{display:none}.invoice-status-mobile{font-size:calc(12px + var(--type-bump));gap:6px;padding:12px 14px;display:grid}.invoice-status-mobile select{width:100%;min-height:44px}}.followup-row.is-completed .row-main{opacity:.65}.stage-badge{font-size:calc(10px + var(--type-bump));white-space:nowrap;color:var(--muted);background:var(--hover);border-radius:4px;align-items:center;gap:5px;padding:3px 6px;font-weight:500;line-height:1.5;display:inline-flex}.stage-badge>span{background:currentColor;border-radius:50%;width:5px;height:5px}.stage-new{color:#7b8580}.stage-contacted{color:#6888a9;background:#edf2f7}.stage-interested{color:#9c8652;background:#f7f3e9}.stage-demo{color:#667bb6;background:#eff1f9}.stage-proposal{color:#b48453;background:#f9f1e9}.stage-negotiation{color:#9a7b79;background:#f6eeed}.stage-won{color:var(--accent);background:var(--accent-soft)}.stage-lost{color:var(--danger);background:var(--danger-soft)}.dark .stage-badge{background:var(--hover)}.priority{font-size:calc(9px + var(--type-bump));color:var(--muted);white-space:nowrap;align-items:center;gap:2px;display:inline-flex}.priority i{background:#c7cec9;width:2px;display:inline-block}.priority i:first-child{height:4px}.priority i:nth-child(2){height:7px}.priority i:nth-child(3){height:10px;margin-right:4px}.priority-high i{background:#c48e55}.priority-medium i:nth-child(-n+2){background:#969d7c}.priority-low i:first-child{background:#779b8b}.quiet-state{color:var(--muted);font-size:calc(11px + var(--type-bump));border-top:1px solid var(--border);align-items:center;gap:10px;padding:22px;display:flex}.quiet-state svg{color:var(--accent)}.stale-row .avatar{width:30px;height:30px;font-size:calc(9px + var(--type-bump))}.pipeline-summary{grid-template-columns:repeat(6,minmax(0,1fr));padding:6px 8px 20px;display:grid}.summary-stage{border-right:1px solid var(--border);padding:8px 12px}.summary-stage:last-child{border:0}.summary-stage .stage-badge{font-size:calc(9px + var(--type-bump));background:0 0;padding:0}.summary-stage strong{font-size:calc(22px + var(--type-lift));margin:9px 0 2px;font-weight:500;display:block}.summary-stage small{font-size:calc(9px + var(--type-bump));color:var(--muted);overflow-wrap:anywhere}.timeline{padding:10px 22px 18px}.timeline-item{gap:14px;padding:0 0 23px;display:flex;position:relative}.timeline-item:last-child{padding-bottom:4px}.timeline-item:not(:last-child):before{content:"";background:var(--border);width:1px;position:absolute;top:12px;bottom:0;left:4px}.timeline-dot{border:2px solid var(--panel);outline:1px solid var(--border);z-index:1;background:#a6b3aa;border-radius:50%;flex-shrink:0;width:9px;height:9px;margin-top:4px;position:relative}.timeline-dot.success{background:var(--accent)}.timeline-item .business-link{font-size:calc(11px + var(--type-bump))}.timeline-item p{font-size:calc(10px + var(--type-bump));color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}.timeline-item time{font-size:calc(9px + var(--type-bump));color:var(--muted);opacity:.75;margin-top:6px;display:block}.thought-card{background:var(--accent-soft);border:1px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){.thought-card{border:1px solid color-mix(in srgb,var(--accent) 15%,var(--border))}}.thought-card{color:var(--accent);border-radius:8px;padding:22px}.thought-card h3{font-size:calc(14px + var(--type-bump));margin:13px 0 8px}.thought-card p{color:var(--muted);font-size:calc(11px + var(--type-bump));margin-bottom:19px}.thought-card .btn{font-size:calc(10px + var(--type-bump));background:var(--panel)}.tiny-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:195px;padding:46px 25px;display:flex}.empty h3{font-size:calc(14px + var(--type-bump));font-weight:500}.empty p{color:var(--muted);font-size:calc(11px + var(--type-bump));max-width:310px}.empty .btn{margin-top:8px}.empty-icon{background:var(--hover);border:1px solid var(--border);width:46px;height:46px;color:var(--muted);border-radius:10px;place-items:center;margin-bottom:5px;display:grid}.loading-state{padding:22px}.skeleton{background:linear-gradient(90deg,var(--border),var(--hover),var(--border));background-size:200% 100%;border-radius:6px;margin-bottom:16px;animation:1.6s infinite shimmer}.skeleton-title{width:40%;height:25px}.skeleton-banner{height:110px}.skeleton-row{height:45px}.more-link{color:var(--accent);font-size:calc(11px + var(--type-bump));border-top:1px solid var(--border);align-items:center;gap:6px;padding:14px 20px;display:flex}.footnote{font-size:calc(10px + var(--type-bump));color:var(--muted);margin:15px 2px}.table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 17px;display:flex}.search-input{color:var(--muted);align-items:center;gap:8px;display:flex}.search-input input{background:0 0;border:0;min-width:130px;min-height:32px;padding:5px 3px}.table-toolbar .search-input{flex:1;max-width:245px}.filters{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;display:flex}.filters select{width:auto;min-height:31px;font-size:calc(10px + var(--type-bump));background:var(--panel);padding:5px 8px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:calc(11px + var(--type-bump));white-space:nowrap}th{color:var(--muted);font-weight:400;font-size:calc(10px + var(--type-bump));background:var(--hover);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:11px 12px}td{border-bottom:1px solid var(--border);font-size:calc(11px + var(--type-bump));padding:16px 12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--hover)}.table-business{align-items:center;gap:10px;max-width:195px;display:flex}.table-business>div{min-width:0}.table-business strong,.table-business small{text-overflow:ellipsis;display:block;overflow:hidden}.table-business strong{font-weight:550;font-size:calc(11px + var(--type-bump))}.table-business small{color:var(--muted);font-size:calc(9px + var(--type-bump));margin-top:3px}.table-contact{text-overflow:ellipsis;max-width:150px;overflow:hidden}.table-business .avatar{width:31px;height:31px;font-size:calc(9px + var(--type-bump))}.overdue-label{font-size:calc(9px + var(--type-bump));margin-top:3px;display:block}.pagination{border-top:1px solid var(--border);font-size:calc(10px + var(--type-bump));color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;display:flex}.pagination>div{align-items:center;gap:10px;display:flex}.tabs{border-bottom:1px solid var(--border);gap:23px;padding:0 20px;display:flex}.tabs button{color:var(--muted);font-size:calc(12px + var(--type-bump));background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:16px 2px;display:flex}.tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.pipeline-metrics{border-bottom:1px solid var(--border);gap:36px;margin-bottom:18px;padding-bottom:25px;display:flex}.pipeline-metrics>div{border-right:1px solid var(--border);padding-right:36px}.pipeline-metrics>div:last-child{border:0}.pipeline-metrics span{font-size:calc(10px + var(--type-bump));color:var(--muted);display:block}.pipeline-metrics strong{font-weight:500;font-size:calc(23px + var(--type-lift));letter-spacing:-.5px;margin-top:5px;display:block}.pipeline-metrics strong .money-line{color:inherit;font-size:calc(19px + var(--type-lift))}.board-toolbar{justify-content:space-between;align-items:center;gap:14px;margin:0 0 14px;display:flex}.board-hint{font-size:calc(10px + var(--type-bump));color:var(--muted);margin:0}.board-scroll{flex-shrink:0;align-items:center;gap:4px;display:flex}.board-scroll-button{border:1px solid var(--border);background:var(--panel);width:30px;height:30px;color:inherit;border-radius:6px;justify-content:center;align-items:center;transition:background .15s;display:inline-flex;box-shadow:0 1px 2px #001d1404}.board-scroll-button:hover:not(:disabled){background:var(--hover)}.board-scroll-button:disabled{opacity:.35}.kanban{min-height:calc(var(--card-tallest,300px) + 170px);max-height:max(360px,calc(100dvh - var(--board-top,420px) - 26px));align-items:stretch;gap:14px;padding:0 0 22px;display:flex;overflow-x:auto}.kanban-column{background:var(--sidebar);border:1px solid #0000;border-radius:7px;flex-direction:column;flex-shrink:0;width:240px;min-height:0;padding:14px 10px;transition:border-color .15s;display:flex}.kanban-column.is-over{border-color:var(--accent);background:var(--accent-soft)}.column-heading{align-items:center;gap:7px;padding:0 3px;display:flex}.column-heading .stage-badge{font-size:calc(11px + var(--type-bump));background:0 0}.column-heading .count-badge{border:0}.column-total{font-size:calc(10px + var(--type-bump));color:var(--muted);min-height:15px;margin:8px 9px 15px}.column-cards{overscroll-behavior-y:contain;scroll-snap-type:y proximity;scrollbar-width:thin;flex-direction:column;flex:1;gap:10px;min-height:100px;margin:0 -4px;padding:1px 4px;display:flex;overflow-y:auto}.column-cards>.kanban-card{scroll-snap-align:start}.kanban-card,.drag-overlay-card{border:1px solid var(--border);background:var(--panel);border-radius:7px;padding:16px;position:relative;box-shadow:0 1px 3px #1b302207}.kanban-card:hover{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.kanban-card:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--border))}}.kanban-card.is-dragging{opacity:.25}.drag-handle{color:var(--muted);cursor:grab;touch-action:none;background:0 0;border:0;padding:4px;position:absolute;top:12px;right:9px}.drag-handle:active{cursor:grabbing}.kanban-card .avatar,.drag-overlay-card .avatar{width:31px;height:31px;font-size:calc(10px + var(--type-bump));margin-bottom:13px}.card-business{font-weight:550;font-size:calc(12px + var(--type-bump));margin-bottom:3px;line-height:1.4;display:block}.card-business:hover{color:var(--accent)}.kanban-card p,.drag-overlay-card p{font-size:calc(10px + var(--type-bump));color:var(--muted)}.card-value{font-size:calc(13px + var(--type-bump));font-variant-numeric:tabular-nums;margin:17px 0 10px;font-weight:550;display:block}.card-meta{margin-bottom:12px}.card-followup{border-top:1px solid var(--border);color:var(--muted);font-size:calc(9px + var(--type-bump));align-items:center;gap:6px;padding-top:11px;display:flex}.card-followup .tiny-dot{margin-left:auto}.column-empty{font-size:calc(10px + var(--type-bump));text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:6px;padding:34px 10px}.column-more{font-size:calc(9px + var(--type-bump));color:var(--muted);text-align:center;padding:8px 4px 2px}.column-add{color:var(--muted);font-size:calc(10px + var(--type-bump));background:0 0;border:0;align-items:center;gap:6px;width:100%;padding:13px 6px;display:flex}.drag-overlay-card{transform:rotate(2deg);box-shadow:0 6px 28px #142b2026}.back-link{color:var(--muted);font-size:calc(11px + var(--type-bump));align-items:center;gap:7px;margin-bottom:24px;display:inline-flex}.lead-heading{align-items:center;gap:15px;margin-bottom:25px;display:flex}.lead-heading>.avatar{width:49px;height:49px;font-size:calc(16px + var(--type-lift));border-radius:10px}.lead-heading h1{font-size:28px}.lead-heading>.btn{margin-left:auto}.lead-heading-meta{font-size:calc(12px + var(--type-bump));align-items:center;gap:14px;margin-top:8px;display:flex}.lead-actions{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:25px;padding-bottom:25px;display:flex}.stage-select{width:auto;font-size:calc(11px + var(--type-bump));min-height:36px;padding:7px 10px}.lead-grid{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:24px;display:grid}.detail-fields{flex-direction:column;gap:20px;padding:5px 20px 23px;display:flex}.detail-fields>div>span,.detail-pair>div>span{color:var(--muted);font-size:calc(10px + var(--type-bump));align-items:center;gap:5px;margin-bottom:6px;display:flex}.detail-fields strong{font-size:calc(11px + var(--type-bump));font-weight:500}.detail-fields a{font-size:calc(11px + var(--type-bump));overflow-wrap:anywhere}.detail-fields a:hover{color:var(--accent)}.detail-fields p{font-size:calc(11px + var(--type-bump));white-space:pre-wrap;overflow-wrap:anywhere}.detail-pair{justify-content:space-between;gap:18px;display:flex}.detail-fields .priority{font-size:calc(10px + var(--type-bump))}.phone-row{justify-content:space-between;align-items:center;gap:5px;display:flex}.phone-row .btn{width:24px;height:24px;min-height:24px}.lead-record-info{font-size:calc(9px + var(--type-bump));color:var(--muted);flex-direction:column;gap:7px;padding:0 8px;display:flex}.lead-record-info .btn{align-self:flex-start;margin:4px 0 0 -8px}.note-composer{border:1px solid var(--border);border-radius:6px;margin:0 20px 20px;overflow:hidden}.note-composer textarea{resize:vertical;font-size:calc(11px + var(--type-bump));border:0;border-radius:0;min-height:75px;padding:13px}.note-composer>div{background:var(--hover);justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.note-composer small{font-size:calc(9px + var(--type-bump));color:var(--muted)}.note{border-top:1px solid var(--border);padding:16px 20px}.note-top{font-size:calc(9px + var(--type-bump));color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.note-top>div{display:flex}.note-top .btn{font-size:calc(9px + var(--type-bump));min-height:25px;padding:3px 6px}.note>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:calc(12px + var(--type-bump));line-height:1.8}.subsection-label{font-size:calc(9px + var(--type-bump));color:var(--muted);text-transform:uppercase;letter-spacing:1px;background:var(--hover);border-top:1px solid var(--border);padding:12px 20px}.stale-banner{border:1px solid var(--danger);padding:12px 16px}@supports (color:color-mix(in lab,red,red)){.stale-banner{border:1px solid color-mix(in srgb,var(--danger) 20%,var(--border))}}.stale-banner{background:var(--danger-soft);font-size:calc(11px + var(--type-bump));color:var(--danger);border-radius:6px;margin:0 0 24px}.activity-page{max-width:900px;padding-top:20px}.activity-page .timeline{padding:12px 30px 24px}.activity-page .timeline-item{padding-bottom:27px}.activity-page .timeline-item .business-link{font-size:calc(13px + var(--type-bump))}.activity-page .timeline-item p{font-size:calc(12px + var(--type-bump))}.settings-panel section{border-bottom:1px solid var(--border);padding:26px}.settings-panel section>p{font-size:calc(11px + var(--type-bump));margin:5px 0 22px}.settings-panel label{max-width:260px;font-size:calc(11px + var(--type-bump))}.settings-panel section>small{font-size:calc(10px + var(--type-bump));color:var(--muted);margin-top:12px;display:block}.suffix-input{align-items:center;display:flex;position:relative}.suffix-input span{color:var(--muted);font-size:calc(11px + var(--type-bump));pointer-events:none;position:absolute;right:14px}.suffix-input input{padding-right:65px}.theme-options{gap:13px;display:flex}.theme-options button{border:1px solid var(--border);background:var(--panel);font-size:calc(11px + var(--type-bump));border-radius:6px;flex:1;align-items:center;gap:10px;padding:20px 17px;display:flex}.theme-options button.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.theme-options button svg:last-child:not(:first-child){margin-left:auto}.settings-subsection{border-top:1px solid var(--border);margin-top:22px;padding-top:20px}.settings-subsection h3{font-size:calc(11px + var(--type-bump));font-weight:600}.settings-subsection>p{font-size:calc(9px + var(--type-bump));margin:5px 0 16px}.type-sample{text-align:center;width:21px;color:var(--muted);font-weight:600}.type-sample-default{font-size:16px}.type-sample-compact{font-size:11px}.theme-options button.selected .type-sample{color:var(--accent)}.settings-footer{justify-content:space-between;align-items:center;gap:16px;padding:20px 26px;display:flex}.settings-footer>span{font-size:calc(10px + var(--type-bump));color:var(--muted)}.dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d201773;position:fixed;inset:0}.dialog-content{overscroll-behavior:contain;background:var(--panel);border:1px solid var(--border);z-index:61;border-radius:10px;width:calc(100% - 32px);max-width:470px;max-height:90dvh;padding:28px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 20px 90px #0003}.dialog-wide{max-width:690px}.dialog-heading{margin-bottom:24px;padding-right:22px}.dialog-heading h2{font-size:calc(21px + var(--type-lift));letter-spacing:-.5px;font-weight:550;line-height:1.3}.dialog-heading p{font-size:calc(11px + var(--type-bump));color:var(--muted);margin-top:8px}.dialog-close{color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;min-width:36px;min-height:36px;padding:5px;display:grid;position:absolute;top:15px;right:15px}.dialog-close:hover,.drawer-close:hover{color:var(--text);background:var(--hover)}.dialog-footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:5px;padding-top:20px;display:flex}.dialog-footer .btn{white-space:normal}.form-stack{flex-direction:column;gap:18px;display:flex}.form-stack .btn-primary:only-child{align-self:flex-end}.customer-name-field{min-width:0;position:relative}.customer-name-field>input{width:100%;margin-top:7px}.customer-contact-hint{font-size:calc(11px + var(--type-bump));color:var(--muted);margin-top:6px;line-height:1.5;display:block}.customer-suggestions{z-index:5;border:1px solid var(--border);background:var(--panel);border-radius:10px;max-height:280px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #20332b18}.customer-suggestions [role=option]{cursor:pointer;overflow-wrap:anywhere;padding:10px 12px}.customer-suggestions [role=option]:hover,.customer-suggestions [aria-selected=true]{background:var(--accent-soft)}.customer-suggestions strong,.customer-suggestions span{font-size:calc(12px + var(--type-bump));display:block}.customer-suggestions span{color:var(--muted);font-size:calc(11px + var(--type-bump));margin-top:3px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-grid>*{min-width:0}.form-section{border-top:1px solid var(--border);flex-direction:column;gap:16px;padding-top:20px;display:flex}.form-section:first-child{border:0;padding-top:0}.form-section>h3{font-size:calc(11px + var(--type-bump));color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin-bottom:1px;font-weight:500}.form-stack label{font-size:calc(11px + var(--type-bump))}.form-stack input,.form-stack textarea,.form-stack select{font-size:calc(12px + var(--type-bump))}.datetime{flex-direction:column;gap:8px;font-weight:400;display:flex}.datetime-row{align-items:center;gap:6px;display:flex}.datetime-row input{flex:1;min-width:0}.datetime-row input::-webkit-calendar-picker-indicator{display:none}.datetime-row .btn-icon{width:39px;height:39px;min-height:39px}.datetime-panel{border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow);border-radius:8px;flex-direction:column;gap:10px;padding:12px;display:flex}.datetime-head{font-size:calc(12px + var(--type-bump));justify-content:space-between;align-items:center;display:flex}.datetime-head .btn-icon{width:28px;height:28px;min-height:28px}.datetime-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.datetime-weekday{font-size:calc(10px + var(--type-bump));color:var(--muted);padding:4px 0}.datetime-day{height:30px;font-size:calc(12px + var(--type-bump));background:0 0;border:0;border-radius:6px;transition:background .15s}.datetime-day:hover{background:var(--hover)}.datetime-day[data-outside]{color:var(--muted);opacity:.6}.datetime-day[data-today]{box-shadow:inset 0 0 0 1px var(--border);font-weight:600}.datetime-day[aria-pressed=true]{background:var(--accent);color:#fff;opacity:1}.datetime-time{font-size:calc(12px + var(--type-bump));border-top:1px solid var(--border);align-items:center;gap:6px;padding-top:10px;display:flex}.datetime-time span{color:var(--muted);margin-right:auto}.datetime-time select{width:auto;min-height:32px;padding:4px 8px}.datetime-foot{justify-content:flex-end;gap:8px;display:flex}.checkbox-label{font-size:calc(12px + var(--type-bump));flex-direction:row;align-items:center;gap:9px;display:flex}.checkbox-label input{width:15px;height:15px;min-height:0;accent-color:var(--accent)}.copy-row{background:var(--hover);border:1px solid var(--border);font-size:calc(12px + var(--type-bump));border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.copy-row>span:first-child{text-overflow:ellipsis;min-width:0;overflow:hidden}.copy-row-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.phone-edit{align-items:center;gap:8px;display:flex}.phone-edit input{flex:1;min-width:0}.phone-edit .btn{flex-shrink:0}@media(max-width:540px){.copy-row,.phone-edit{flex-wrap:wrap}.phone-edit input{flex-basis:100%}.phone-edit .btn{flex:1}}.search-results{margin-top:15px}.search-result{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:13px 0;display:flex}.search-result:last-child{border:0}.search-result:hover{color:var(--accent)}.search-result>div{flex:1;min-width:0}.search-result strong{font-size:calc(12px + var(--type-bump));font-weight:500}.search-result small{color:var(--muted);font-size:calc(10px + var(--type-bump));text-overflow:ellipsis;white-space:nowrap;max-width:220px;display:block;overflow:hidden}.mobile-drawer{background:var(--sidebar);z-index:65;overscroll-behavior:contain;flex-direction:column;width:270px;max-width:100vw;padding:30px 17px 20px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.drawer-close{color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;width:44px;height:44px;padding:7px;display:grid;position:absolute;top:8px;right:10px}@media(max-height:760px){.sidebar-note{display:none}.workspace-label{margin-block:20px}}.login-page{background:var(--panel);grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-story{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;justify-content:space-between;min-height:100dvh;padding:45px 55px;display:flex}.login-story .brand{padding:0}.login-story>div{max-width:430px;padding:65px 0}.login-story h1{letter-spacing:-1.4px;font-family:Georgia,Times New Roman,serif;font-size:48px;font-weight:400;line-height:1.2}.login-story h1 span{color:var(--accent)}.login-story p{font-size:calc(13px + var(--type-bump));color:var(--muted);max-width:340px;margin-top:25px;line-height:1.9}.login-line{background:var(--accent);width:42px;height:1px;margin:35px 0 18px}.login-caption,.login-bottom{font-size:calc(10px + var(--type-bump));color:var(--muted)}.login-panel{justify-content:center;align-items:center;padding:35px;display:flex}.login-form{width:100%;max-width:345px}.login-mark{width:38px;height:38px;margin-bottom:30px;display:none}.login-form .eyebrow{font-size:calc(9px + var(--type-bump));color:var(--accent)}.login-form h2{font-size:calc(25px + var(--type-lift));letter-spacing:-.8px;font-weight:550;line-height:1.35}.login-form>.muted{font-size:calc(12px + var(--type-bump));margin:10px 0 31px}.login-form .form-stack{gap:22px}.login-form input{min-height:43px}.login-form .btn{justify-content:space-between;width:100%;min-height:42px;margin-top:4px;padding:11px 16px}.login-demo{gap:22px;margin-bottom:22px;display:grid}.login-divider{color:var(--muted);font-size:calc(11px + var(--type-bump));align-items:center;gap:12px;display:flex}.login-divider:before,.login-divider:after{content:"";border-top:1px solid var(--border);flex:1}.password-input{position:relative}.password-input input{padding-right:40px}.password-input button{color:var(--muted);background:0 0;border:0;padding:0;position:absolute;top:13px;right:11px}.login-security{color:var(--muted);font-size:calc(10px + var(--type-bump));justify-content:center;align-items:center;gap:7px;margin-top:28px;display:flex}@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:1600px){main{padding:40px 46px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 330px}.metric{padding:22px}.metric-value .money-line{font-size:calc(21px + var(--type-lift))}.followup-row>.avatar{display:flex}.followup-row,.stale-row{padding:18px 20px}.row-main>.muted{max-width:430px}}@media(max-width:1350px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 255px;gap:17px}.dashboard-primary,.dashboard-secondary{gap:17px}.metric{padding:16px 12px}.metric-value .money-line{font-size:calc(14px + var(--type-bump))}.metric-label{font-size:calc(9px + var(--type-bump))}.metric-label svg{display:none}.metric small{font-size:calc(8px + var(--type-bump))}.dashboard-primary .followup-row{flex-wrap:wrap;gap:8px}.dashboard-primary .followup-row .row-main{min-width:120px}.dashboard-primary .followup-row .row-actions,.dashboard-primary .followup-row .row-value{margin-left:auto}.dashboard-primary .stale-row{flex-wrap:wrap}.dashboard-primary .stale-row .row-value{display:none}.pipeline-summary{grid-template-columns:repeat(3,1fr);gap:12px}.summary-stage:nth-child(3){border:0}.lead-grid{grid-template-columns:250px minmax(0,1fr);gap:18px}.lead-work .followup-row{flex-wrap:wrap}.lead-work .followup-row .row-actions{margin-left:auto}}@media(max-width:1100px){.sidebar{width:200px;padding:25px 12px 14px}.app-main{width:calc(100% - 200px);margin-left:200px}main{padding:28px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:1fr}.dashboard-secondary{grid-template-columns:1fr 1fr;align-items:start;display:grid}.metrics{grid-template-columns:repeat(3,1fr)}.metric:nth-child(3):after{display:none}.metric:nth-child(-n+3){border-bottom:1px solid var(--border)}.metric-value .money-line{font-size:calc(18px + var(--type-lift))}.metric small{font-size:calc(9px + var(--type-bump))}.metric-label{font-size:calc(10px + var(--type-bump))}.metric-label svg{display:block}.pipeline-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.summary-stage:nth-child(3){border-right:1px solid var(--border)}.summary-stage{padding:8px}.row-actions .btn-sm{font-size:calc(10px + var(--type-bump));padding:5px}.lead-grid{grid-template-columns:1fr}.lead-info{grid-template-columns:1fr 1fr;gap:18px;display:grid}.lead-record-info{flex-flow:wrap;grid-column:1/-1;align-items:center;gap:15px}.lead-record-info .btn{margin:0}.page-heading h1{font-size:27px}.followup-row{flex-wrap:wrap}.followup-row .row-actions{margin-left:auto}}@media(max-width:800px){.sidebar{display:none}.app-main{width:100%;margin-left:0}.mobile-menu{display:inline-flex}.topbar{gap:12px;height:58px;padding:0 20px}.breadcrumb{font-size:calc(10px + var(--type-bump));gap:9px;margin-right:auto}.topbar-right{gap:12px}.mobile-menu,.global-search{flex-shrink:0;justify-content:center;min-width:44px;min-height:44px}.breadcrumb{min-width:0}.breadcrumb strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.global-search kbd,.topbar-divider,.personal-tag{display:none}.global-search span{font-size:calc(10px + var(--type-bump))}.page-heading{margin-bottom:23px}.app-footer{padding:15px 23px}.login-story{padding:35px}.login-story h1{font-size:36px}.login-panel{padding:30px}.login-form h2{font-size:calc(22px + var(--type-lift))}.lead-actions{gap:6px}.lead-actions .btn{font-size:calc(10px + var(--type-bump));padding:8px 10px}.lead-heading h1{font-size:calc(24px + var(--type-lift))}}@media(max-width:540px){main{padding:24px 16px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:13px}.page-heading h1{font-size:calc(25px + var(--type-lift));letter-spacing:-.7px}.page-heading p{font-size:calc(11px + var(--type-bump));max-width:310px}.eyebrow{font-size:calc(8px + var(--type-bump))}.heading-actions{margin-top:3px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.metric:nth-child(-n+4){border-bottom:1px solid var(--border)}.metric:nth-child(3):after{display:block}.metric:nth-child(2n):after{display:none}.metric{padding:14px 10px}.metric-value{font-size:calc(23px + var(--type-lift))}.metric-value .money-line{font-size:calc(12px + var(--type-lift));letter-spacing:-.3px;overflow-wrap:anywhere;line-height:2.3}.metric-label{font-size:calc(9px + var(--type-bump))}.metric-label svg{display:none}.metric small{font-size:calc(8px + var(--type-bump));line-height:1.5}.dashboard-secondary{flex-direction:column;display:flex}.dashboard-secondary>.panel,.thought-card{width:100%}.section-heading{padding:18px 15px 11px}.section-heading h2{font-size:calc(13px + var(--type-bump))}.section-description{padding:0 15px 14px}.followup-row,.stale-row{gap:9px;padding:14px 12px}.followup-row .row-main{flex:1;min-width:130px}.followup-row>.stage-badge{order:2}.followup-row .row-value{font-size:calc(10px + var(--type-bump));order:3;margin-left:auto!important}.followup-row .row-actions{order:4;justify-content:flex-end;width:100%;margin-left:0}.followup-row .row-actions .btn{min-width:36px;min-height:36px}.row-main>.muted{max-width:210px}.row-date{font-size:calc(9px + var(--type-bump))}.stale-row .row-actions{margin-left:auto}.stale-row>.stage-badge{display:none}.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px;padding:0 8px 18px}.summary-stage:nth-child(3):not(:last-child){border-right:1px solid var(--border)}.summary-stage:nth-child(2n){border:0}.summary-stage{min-width:0;padding:8px 11px}.summary-stage .money-line{overflow-wrap:anywhere}.summary-stage .stage-badge{font-size:calc(9px + var(--type-bump));white-space:normal;overflow-wrap:anywhere}.topbar{padding:0 13px}.global-search span{display:none}.app-footer span:last-child{font-size:calc(8px + var(--type-bump))}.table-toolbar{padding:12px}.table-toolbar .search-input{flex:auto;width:100%;max-width:none}.filters{gap:6px}.filters>svg{display:none}.filters select{font-size:calc(10px + var(--type-bump));min-height:35px}.table-business strong{font-size:calc(12px + var(--type-bump))}.tabs{gap:18px;padding:0 14px}.tabs button{font-size:calc(11px + var(--type-bump))}.tabs .count-badge{font-size:calc(9px + var(--type-bump))}.pipeline-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.pipeline-metrics>div{overflow-wrap:anywhere;min-width:0;padding-right:10px}.pipeline-metrics span{font-size:calc(9px + var(--type-bump))}.pipeline-metrics strong{font-size:calc(21px + var(--type-lift))}.pipeline-metrics strong .money-line{font-size:calc(12px + var(--type-bump));overflow-wrap:anywhere}.pipeline-metrics>div:last-child{padding:0}.kanban{margin-right:-16px}.kanban-column{width:255px}.board-hint{font-size:calc(9px + var(--type-bump))}.board-toolbar{align-items:flex-start}.lead-heading{flex-wrap:wrap;gap:12px}.lead-heading>.avatar{width:42px;height:42px;font-size:calc(14px + var(--type-bump))}.lead-heading>div{flex:1;min-width:200px}.lead-heading>.btn{margin-left:54px}.lead-heading h1{font-size:calc(24px + var(--type-lift));overflow-wrap:anywhere}.lead-heading-meta{font-size:calc(10px + var(--type-bump));gap:9px}.lead-info{flex-direction:column;display:flex}.lead-record-info{font-size:calc(9px + var(--type-bump))}.note-composer{margin:0 15px 16px}.note-composer small{display:none}.note-composer>div{justify-content:flex-end}.note{padding:14px 15px}.note-top{font-size:calc(9px + var(--type-bump));align-items:flex-start}.form-grid{grid-template-columns:1fr}.dialog-content{width:calc(100% - 20px);max-height:93dvh;padding:24px 20px}.dialog-heading h2{font-size:calc(21px + var(--type-lift))}.dialog-content input,.dialog-content textarea,.dialog-content select,.login-form input,.app-main input,.app-main select,.app-main textarea{font-size:calc(16px + var(--type-lift))}.dialog-footer .btn{min-height:44px}.dialog-close{min-width:44px;min-height:44px;top:8px;right:8px}.app-footer{flex-wrap:wrap;gap:8px 16px}.dialog-heading p{font-size:calc(11px + var(--type-bump))}.settings-panel section{padding:22px 18px}.theme-options{gap:8px}.theme-options button{gap:7px;padding:17px 10px}.theme-options button>svg:first-child{width:17px}.settings-footer{flex-direction:column;align-items:flex-start;padding:18px}.settings-footer .btn{width:100%}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100dvh;padding:32px}.login-mark{display:block}.login-form h2{font-size:27px}.login-form>.muted,.login-form label{font-size:calc(12px + var(--type-bump))}.login-form input{min-height:47px}.password-input button{top:15px}.search-result .stage-badge{display:none}.search-result small{max-width:200px}}.sequence-explainer{border:1px solid var(--border);background:var(--accent-soft);color:var(--accent);font-size:calc(11px + var(--type-bump));border-radius:7px;align-items:center;gap:12px;margin-bottom:24px;padding:16px 18px;display:flex}.sequence-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.sequence-template-steps{margin:0;padding:7px 20px 20px;list-style:none}.sequence-template-steps li{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:11px 0;display:flex}.sequence-template-steps li:last-child{border:0}.sequence-template-steps li>div{flex:1}.sequence-template-steps strong{font-size:calc(12px + var(--type-bump));font-weight:500}.sequence-template-steps small{font-size:calc(10px + var(--type-bump));color:var(--muted);margin-top:3px;display:block}.sequence-template-steps svg{color:var(--muted)}.step-number{border:1px solid var(--border);width:24px;height:24px;color:var(--muted);font-size:calc(10px + var(--type-bump));background:var(--panel);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sequence-template-footer{border-top:1px solid var(--border);background:var(--hover);justify-content:space-between;align-items:center;padding:13px 20px;display:flex}.sequence-editor-step{border:1px solid var(--border);border-radius:7px;flex-direction:column;gap:15px;min-width:0;padding:37px 16px 17px;display:flex;position:relative}.sequence-editor-step legend{font-size:calc(11px + var(--type-bump));color:var(--accent);padding:0 7px}.step-editor-actions{display:flex;position:absolute;top:0;right:8px}.step-editor-actions .btn{width:27px;height:27px;min-height:27px}.sequence-status{border:1px solid var(--border);font-size:calc(9px + var(--type-bump));color:var(--muted);border-radius:4px;padding:2px 6px;display:inline-block}.sequence-status.status-active,.sequence-status.status-completed{color:var(--accent);background:var(--accent-soft)}.sequence-status.status-paused{color:var(--danger);background:var(--danger-soft)}.sequence-run{padding:5px 20px 20px}.sequence-run-heading{font-size:calc(12px + var(--type-bump));justify-content:space-between;align-items:center;gap:10px;display:flex}.sequence-run-heading>.muted{font-size:calc(10px + var(--type-bump))}.sequence-progress{gap:10px;margin:17px 0;padding:0;list-style:none;display:flex;overflow:auto}.sequence-progress li{min-width:90px;max-width:140px;font-size:calc(10px + var(--type-bump));color:var(--muted);flex-shrink:0;align-items:center;gap:7px;display:flex}.sequence-progress .current{color:var(--accent)}.sequence-progress .current .step-number,.sequence-progress .finished .step-number{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.sequence-next{border-top:1px solid var(--border);font-size:calc(11px + var(--type-bump));flex-wrap:wrap;align-items:center;gap:12px;padding-top:13px;display:flex}.sequence-next>span{font-size:calc(10px + var(--type-bump));color:var(--muted)}.sequence-next>strong{font-weight:500}.sequence-next .btn{margin-left:auto}.sequence-message{background:var(--hover);border:1px solid var(--border);border-radius:6px;margin:13px 0;padding:13px 15px}.sequence-message>span{font-size:calc(9px + var(--type-bump));color:var(--muted)}.sequence-message p{font-size:calc(12px + var(--type-bump));white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px}.sequence-run-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.sequence-run-actions>.muted{font-size:calc(10px + var(--type-bump))}.sequence-controls{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:10px;display:flex}.sequence-preview{margin:0;padding:0;list-style:none}.sequence-preview li{border-bottom:1px solid var(--border);padding:9px 0}.sequence-preview strong{font-size:calc(12px + var(--type-bump));font-weight:500;display:block}.sequence-preview span{color:var(--muted);font-size:calc(10px + var(--type-bump))}.sequence-task-label{font-size:calc(9px + var(--type-bump));color:var(--accent);margin-top:4px;display:block}.message-preview{text-overflow:ellipsis;white-space:nowrap;max-width:300px;color:var(--muted);font-size:calc(10px + var(--type-bump));margin-top:4px;display:block;overflow:hidden}.tabs button{white-space:nowrap;flex-shrink:0}@media(max-width:800px){.sequence-grid{grid-template-columns:1fr}.sequence-run-actions .btn,.sequence-controls .btn{min-height:40px}.message-preview{max-width:200px}.sequence-run{padding:5px 15px 18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.security-panel{max-width:760px;margin-top:24px;padding:28px}.security-panel h3{margin:20px 0 8px}.password-form{max-width:460px;margin-top:24px}.password-form .password-input{margin-top:8px}.set-password-page{place-items:center;min-height:100dvh;padding:24px;display:grid}.set-password-page .security-panel{width:100%;max-width:540px;margin:0}.set-password-page .brand{margin-bottom:28px}.stage-discovery{color:#6f9a8d;background:#ecf4f1}.stage-quotation{color:#a3783d;background:#f9f2e6}.stage-order_confirmed{color:#4f8a7a;background:#e9f4f0}.type-tag{font-size:calc(9px + var(--type-bump));white-space:nowrap;color:var(--muted);background:var(--hover);border-radius:4px;align-items:center;gap:4px;margin-right:6px;padding:2px 6px;font-weight:500;line-height:1.5;display:inline-flex}.type-product{color:#6888a9;background:#edf2f7}.type-service{color:#8a7a4f;background:#f7f3e9}.dark .type-tag{background:var(--hover)}.items-editor{flex-direction:column;gap:14px;display:flex}.catalog-picker{position:relative}.catalog-picker .search-input{border:1px solid var(--border);background:var(--input);border-radius:6px;padding:0 11px}.catalog-picker .search-input input{width:100%;min-height:37px}.catalog-picker .search-input input:focus{border:0;outline:none}.picker-toggle{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:6px;place-items:center;margin-right:-4px;transition:transform .15s,background .15s;display:grid}.picker-toggle:hover{background:var(--hover);color:var(--text)}.picker-toggle.is-open{transform:rotate(180deg)}.picker-check{border:1px solid var(--border);background:var(--input);color:#fff;border-radius:4px;flex-shrink:0;place-items:center;width:16px;height:16px;display:grid}.picker-results li.is-selected .picker-check{background:var(--accent);border-color:var(--accent)}.picker-results li.is-selected strong{color:var(--accent)}.catalog-picker .search-input:focus-within{border-color:var(--accent);outline:2px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){.catalog-picker .search-input:focus-within{outline:2px solid color-mix(in srgb,var(--accent) 45%,transparent)}}.catalog-picker .search-input:focus-within{outline-offset:1px}.picker-panel{z-index:5;background:var(--panel);border:1px solid var(--border);border-radius:8px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 12px 30px #20332b1a}.picker-results{max-height:280px;margin:0;padding:4px;list-style:none;overflow:auto}.picker-footer{border-top:1px solid var(--border);background:var(--hover);font-size:calc(10px + var(--type-bump));color:var(--muted);justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.picker-results li{cursor:pointer;font-size:calc(12px + var(--type-bump));border-radius:6px;align-items:center;gap:10px;padding:9px 10px;display:flex}.picker-results li.is-active{background:var(--hover)}.picker-results li>div{flex-direction:column;flex:1;min-width:0;display:flex}.picker-results li strong{font-weight:550}.picker-results li small{font-size:calc(10px + var(--type-bump));color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-results li .type-tag{margin:0}.picker-results .picker-empty{cursor:default;color:var(--muted);font-size:calc(11px + var(--type-bump))}.item-rows{flex-direction:column;gap:10px;display:flex}.item-row{border:1px solid var(--border);background:var(--panel);border-radius:8px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.item-row-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.item-row-head>div{flex-direction:column;gap:3px;min-width:0;display:flex}.item-row-head strong{font-size:calc(13px + var(--type-bump));font-weight:550}.item-row-head small{font-size:calc(10px + var(--type-bump));color:var(--muted);align-items:center;gap:4px;display:flex}.item-row-head .btn-icon{color:var(--muted);width:30px;height:30px}.item-row-head .btn-icon:hover{color:var(--danger)}.item-row-fields{grid-template-columns:1fr 1.3fr 1.6fr 1.3fr;align-items:end;gap:12px;display:grid}.item-row-fields label{font-size:calc(10px + var(--type-bump));color:var(--muted)}.item-row-fields input,.item-row-fields select{min-height:35px;padding:7px 9px}.discount-input{gap:6px;display:flex}.discount-input select{flex-shrink:0;width:auto;max-width:110px}.item-line-total{text-align:right;flex-direction:column;justify-content:center;align-items:flex-end;gap:2px;min-height:35px;display:flex}.item-line-total span{font-size:calc(10px + var(--type-bump));color:var(--muted)}.item-line-total strong{font-size:calc(13px + var(--type-bump))}.item-line-total small{font-size:calc(9px + var(--type-bump));color:var(--muted)}.items-summary{background:var(--hover);font-size:calc(11px + var(--type-bump));border-radius:8px;grid-template-columns:1fr auto;gap:6px 20px;margin:0;padding:12px 14px;display:grid}.items-summary dt{color:var(--muted)}.items-summary dd{text-align:right;margin:0}.items-summary .items-summary-total{color:var(--text);font-weight:600;font-size:calc(13px + var(--type-bump))}.items-editor .footnote,.items-hint{font-size:calc(10px + var(--type-bump));color:var(--muted);margin:0}.items-empty{border:1px dashed var(--border);color:var(--muted);border-radius:8px;flex-wrap:wrap;align-items:center;gap:14px;padding:16px;display:flex}.items-empty>div{flex:1;min-width:180px}.items-empty strong{color:var(--text);font-size:calc(12px + var(--type-bump));display:block}.items-empty p{font-size:calc(11px + var(--type-bump));line-height:1.5}.derived-value{font-size:calc(11px + var(--type-bump));flex-direction:column;gap:4px;font-weight:500;display:flex}.derived-value strong{font-size:calc(18px + var(--type-lift));letter-spacing:-.3px;color:var(--accent)}.derived-value small{color:var(--muted);font-weight:400}.items-breakdown{padding:0 20px 18px}.items-breakdown .subsection-label{padding-left:0;padding-right:0}.breakdown-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.breakdown-row>div{flex-direction:column;gap:2px;min-width:0;display:flex}.breakdown-row strong{font-size:calc(12px + var(--type-bump));font-weight:550}.breakdown-row small{font-size:calc(10px + var(--type-bump));color:var(--muted)}.breakdown-discount{color:var(--accent);margin-left:8px}.breakdown-deal-discount>strong{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.breakdown-deal-discount>strong small{color:var(--accent)}.derived-value .error-text,.form-grid>.error-text{grid-column:1/-1;margin:0}.breakdown-total{background:var(--accent-soft);color:var(--accent);font-size:calc(12px + var(--type-bump));border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding:12px 14px;display:flex}.breakdown-total strong{font-size:calc(14px + var(--type-bump))}.detail-fields .muted{font-size:calc(10px + var(--type-bump));margin-top:2px;display:block}.insight-row{border-top:1px solid var(--border);align-items:center;gap:14px;padding:13px 20px;display:flex}.insight-row .row-main strong{font-size:calc(12px + var(--type-bump));font-weight:550}.insight-values{gap:22px;display:flex}.insight-values>span{font-size:calc(11px + var(--type-bump));font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;font-weight:500;display:flex}.insight-values small{font-size:calc(9px + var(--type-bump));color:var(--muted);font-weight:400}.settings-nav{border-bottom:1px solid var(--border);gap:4px;margin:-8px 0 20px;display:flex;overflow-x:auto}.settings-nav a{font-size:calc(11px + var(--type-bump));color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:7px;margin-bottom:-1px;padding:9px 12px;font-weight:500;display:inline-flex}.settings-nav a:hover{color:var(--text)}.settings-nav a.active{color:var(--accent);border-bottom-color:var(--accent)}.sales-type-options{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.sales-type-option{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:8px;flex-direction:column;gap:12px;max-width:none;padding:18px 16px;transition:border-color .15s,background .15s;display:flex;position:relative}.sales-type-option:hover{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.sales-type-option:hover{border-color:color-mix(in srgb,var(--accent) 50%,var(--border))}}.sales-type-option.selected{border-color:var(--accent);background:var(--accent-soft)}.sales-type-option input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.sales-type-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.sales-type-icon{width:34px;height:34px;color:var(--accent);background:var(--panel);border:1px solid var(--border);border-radius:8px;place-items:center;display:grid}.sales-type-text{flex-direction:column;gap:4px;display:flex}.sales-type-text strong{font-size:calc(13px + var(--type-bump))}.sales-type-text small{font-size:calc(10px + var(--type-bump));color:var(--muted);font-weight:400;line-height:1.5}.sales-type-check{color:var(--accent);position:absolute;top:14px;right:14px}.stage-options{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-bottom:14px;display:grid}.stage-option{border:1px solid var(--border);background:var(--panel);cursor:pointer;border-radius:6px;flex-direction:row;align-items:center;gap:10px;max-width:none;padding:10px 12px;display:flex}.stage-option.selected{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.stage-option.selected{border-color:color-mix(in srgb,var(--accent) 45%,var(--border))}}.stage-option input{width:15px;height:15px;min-height:0;accent-color:var(--accent);flex-shrink:0;margin:0;padding:0}.stage-option small{font-size:calc(9px + var(--type-bump));color:var(--muted);text-align:right;margin-left:auto;font-weight:400}.setup-page{place-items:center;min-height:100dvh;padding:24px;display:grid}.setup-panel{flex-direction:column;gap:14px;width:100%;max-width:760px;padding:32px;display:flex}.setup-panel .brand{margin-bottom:14px}.setup-panel h1{font-size:26px}.setup-panel>.muted{margin-bottom:10px}.setup-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:10px;display:flex}.catalog-row{border-top:1px solid var(--border);align-items:center;gap:14px;padding:14px 17px;display:flex}.catalog-row.is-archived .row-main{opacity:.6}.catalog-row .row-main strong{font-size:calc(12px + var(--type-bump));align-items:center;gap:8px;font-weight:550;display:flex}.catalog-row .row-main>.muted{max-width:none}.archived-tag{font-size:calc(9px + var(--type-bump));color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:1px 6px;font-weight:500}.catalog-description{opacity:.8;margin-left:6px}.catalog-row .row-value{font-size:calc(12px + var(--type-bump))}.catalog-row .row-actions .btn{color:var(--muted)}.catalog-row .row-actions .btn:hover{color:var(--text)}.filters .checkbox-label{font-size:calc(10px + var(--type-bump));margin-left:4px}@media(max-width:800px){.item-row-fields{grid-template-columns:1fr 1fr}.item-line-total{text-align:left;align-items:flex-start}.sales-type-options{grid-template-columns:1fr}.sales-type-option{flex-direction:row;align-items:center}.sales-type-check{margin-left:auto;position:static}.insight-row{flex-wrap:wrap}.insight-values{justify-content:space-between;width:100%}.insight-values>span{align-items:flex-start}}@media(max-width:540px){.item-row-fields{grid-template-columns:1fr}.catalog-row{flex-wrap:wrap}.catalog-row .row-actions{justify-content:flex-end;width:100%}.setup-panel{padding:22px}.setup-panel h1{font-size:calc(22px + var(--type-lift))}.items-summary{grid-template-columns:1fr auto}}.doc-status{font-size:calc(10px + var(--type-bump));white-space:nowrap;color:var(--muted);background:var(--hover);border-radius:4px;align-items:center;gap:5px;padding:3px 6px;font-weight:500;line-height:1.5;display:inline-flex}.doc-status>span{background:currentColor;border-radius:50%;width:5px;height:5px}.doc-status-finalized{color:#6888a9;background:#edf2f7}.doc-status-accepted,.doc-status-paid{color:var(--accent);background:var(--accent-soft)}.doc-status-rejected,.doc-status-cancelled{color:var(--danger);background:var(--danger-soft)}.doc-status-expired{color:#9c8652;background:#f7f3e9}.dark .doc-status{background:var(--hover)}.doc-avatar{width:32px;height:32px;color:var(--accent);background:var(--accent-soft);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.document-row{border-top:1px solid var(--border);align-items:center;gap:11px;padding:13px 17px;display:flex}.document-heading .document-icon{background:var(--accent-soft);border-radius:10px;flex-shrink:0;width:44px;height:44px}.document-heading>div{min-width:0}.document-heading .lead-heading-meta{flex-wrap:wrap;gap:8px 14px}.segmented{border:1px solid var(--border);background:var(--panel);border-radius:6px;display:inline-flex;overflow:hidden}.segmented button{font-size:calc(11px + var(--type-bump));color:var(--muted);background:0 0;border:0;align-items:center;gap:6px;padding:8px 12px;font-weight:500;display:inline-flex}.segmented button.active{color:var(--accent);background:var(--accent-soft)}.document-editor{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:18px;display:grid}.document-editor-main,.document-editor-side{flex-direction:column;gap:18px;min-width:0;display:flex}.panel-body{padding:0 20px 20px}.doc-line-name{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.doc-line-name input:first-child{font-weight:550}.doc-line-name input{min-height:34px;padding:6px 9px}.doc-line-fields{grid-template-columns:1fr 1fr 1.4fr 1.6fr 1.2fr}.catalog-pick-list{flex-direction:column;gap:4px;max-height:60vh;display:flex;overflow:auto}.catalog-pick{border:1px solid var(--border);background:var(--panel);text-align:left;font-size:calc(12px + var(--type-bump));border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.catalog-pick:hover{background:var(--hover)}.catalog-pick span:first-child{flex-direction:column;display:flex}.catalog-pick small{color:var(--muted);font-size:calc(10px + var(--type-bump))}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));max-width:none}.settings-panel .settings-grid label,.settings-panel .settings-wide{max-width:none}.settings-panel .settings-wide{max-width:760px;margin-top:16px}.settings-panel .checkbox-label{margin-bottom:14px}@media(min-width:1100px){.settings-panel{background-image:linear-gradient(var(--border),var(--border));background-position:50% 0;background-repeat:no-repeat;background-size:1px 100%;grid-template-columns:1fr 1fr;align-content:start;display:grid}.settings-panel>.settings-span,.settings-panel>.settings-footer{background:var(--panel);grid-column:1/-1}.settings-panel .theme-options{gap:9px}.settings-panel .theme-options button{padding:18px 12px}}.logo-row{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.logo-preview{border:1px dashed var(--border);background:#fff;border-radius:8px;place-items:center;width:220px;height:90px;display:grid;overflow:hidden}.logo-preview img{object-fit:contain;max-width:200px;max-height:70px}.logo-actions{flex-wrap:wrap;gap:8px;display:flex}.paper-stage{justify-content:center;padding:8px 0 24px;display:flex;overflow-x:auto}.paper{--paper-ink:#1f2a26;--paper-muted:#6b7570;--paper-rule:#d9dfda;--paper-soft:#f3f6f4;width:100%;max-width:794px;min-height:900px;color:var(--paper-ink);border:1px solid var(--border);background:#fff;flex-direction:column;gap:22px;padding:52px 56px 40px;font-size:12.5px;line-height:1.5;display:flex;box-shadow:0 10px 40px #20332b1f}.paper *{color-scheme:light}.paper-header{border-bottom:1px solid var(--paper-rule);justify-content:space-between;gap:24px;padding-bottom:18px;display:flex}.paper-identity{color:var(--paper-muted);flex-direction:column;gap:2px;max-width:58%;font-size:11.5px;display:flex}.paper-identity strong{color:var(--paper-ink);font-size:13px}.paper-logo{object-fit:contain;align-self:flex-start;max-width:180px;max-height:76px;margin-bottom:10px}.paper-meta{text-align:right}.paper-meta h1{letter-spacing:-.5px;margin-bottom:14px;font-size:28px}.paper-meta dl{grid-template-columns:auto auto;justify-content:end;gap:4px 18px;margin:0;display:grid}.paper-meta dt{text-transform:uppercase;letter-spacing:.4px;color:var(--paper-muted);text-align:left;font-size:9.5px;font-weight:600}.paper-meta dd{font-variant-numeric:tabular-nums;margin:0}.paper-label{text-transform:uppercase;letter-spacing:.5px;color:var(--paper-muted);margin-bottom:4px;font-size:9.5px;font-weight:600;display:block}.paper-customer{color:var(--paper-muted);flex-direction:column;gap:2px;font-size:11.5px;display:flex}.paper-customer strong{color:var(--paper-ink);font-size:13px}.paper-multiline{white-space:pre-line}.paper-items{border-collapse:collapse;white-space:normal;width:100%;font-size:inherit}.paper-items th{text-align:left;text-transform:uppercase;letter-spacing:.4px;color:var(--paper-muted);border-top:0;border-bottom:1.5px solid var(--paper-ink);background:0 0;padding:6px 0 8px;font-size:9.5px;font-weight:600}.paper-items td{border-bottom:1px solid var(--paper-rule);vertical-align:top;font-size:inherit;color:var(--paper-ink);padding:10px 0}.paper-items tbody tr:hover{background:0 0}.paper-items tbody tr:last-child td{border-bottom:1px solid var(--paper-rule)}.paper-items td:not(:first-child),.paper-items th:not(:first-child){padding-left:12px}.paper-items .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.paper-items td strong{font-weight:600;display:block}.paper-items td small{color:var(--paper-muted);font-size:11px;display:block}.paper-items .paper-empty{text-align:center;color:var(--paper-muted);padding:18px 0}.paper-totals{font-variant-numeric:tabular-nums;grid-template-columns:1fr auto;gap:6px 24px;min-width:300px;margin:0 0 0 auto;display:grid}.paper-totals dt{color:var(--paper-muted);text-align:right;font-size:11.5px}.paper-totals dd{text-align:right;margin:0}.paper-totals .paper-grand{color:var(--paper-ink);border-top:1.5px solid var(--paper-ink);margin-top:4px;padding-top:8px;font-size:14px;font-weight:700}.paper-totals dd.paper-grand{color:#0e7565}.paper-block p{margin:0;font-size:12px}.paper-terms{color:var(--paper-muted);font-size:11.5px}.paper-footer{color:var(--paper-muted);margin-top:auto;padding-top:24px;font-size:10px}.dark .paper{border-color:#0000}@media(max-width:1100px){.document-editor{grid-template-columns:1fr}}@media(max-width:800px){.doc-line-fields{grid-template-columns:1fr 1fr}.paper{min-height:0;padding:28px 22px;font-size:12px}.paper-header{flex-direction:column}.paper-identity{max-width:none}.paper-meta{text-align:left}.paper-meta dl{justify-content:start}.paper-totals{width:100%;min-width:0}.document-row{flex-wrap:wrap}.document-row .row-main{flex:140px;min-width:0}.document-row .row-main>.muted{white-space:normal;max-width:100%}.document-row .row-actions{justify-content:flex-end;width:100%}.document-panel .section-heading,.document-panel .heading-actions{flex-wrap:wrap}}@media(max-width:540px){.doc-line-fields{grid-template-columns:1fr}.paper-items th:not(:first-child):not(:last-child),.paper-items td:not(:first-child):not(:last-child){display:none}.paper-items td:first-child small:after{content:""}}@media print{.sidebar,.topbar,.app-footer,.lead-actions,.back-link,.lead-heading,.footnote{display:none!important}.app-main,main{width:100%!important;margin:0!important;padding:0!important}.paper-stage{padding:0}.paper{box-shadow:none;border:0;max-width:none;padding:0}}.search-input{background:var(--hover);border:1px solid var(--border);border-radius:8px;padding:0 10px;transition:border-color .12s,box-shadow .12s}.search-input input{box-shadow:none;background:0 0;border:0}.search-input:hover{border-color:var(--muted)}.search-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.search-input input:focus{box-shadow:none;outline:none}.followup-row>.done-button{min-height:36px;margin-left:auto}.followup-row.attention-row{grid-template-columns:minmax(0,1fr) auto auto auto;display:grid}.followup-row.attention-row>.done-button{order:5;grid-area:1/4}.followup-row.attention-row>.avatar{display:none}.action-tooltip{z-index:1000;background:var(--text);max-width:230px;color:var(--panel);font-size:calc(12px + var(--type-bump));pointer-events:none;border-radius:6px;padding:7px 10px;line-height:1.4;position:fixed;transform:translate(-50%);box-shadow:0 3px 14px #0002}.pipeline-filters{flex-wrap:wrap;gap:12px;margin:18px 0 8px;padding:12px;display:flex;overflow:visible}.pipeline-filters .search-input{flex:180px}.pipeline-filters .filters{flex-wrap:wrap}.pipeline-stage-row{border-top:1px solid var(--border);align-items:center;gap:12px;padding:12px 18px;display:flex}.pipeline-stage-row .row-main small{margin-top:3px;display:block}.pipeline-stage-row.is-hidden{background:var(--hover)}.stage-order-controls{display:flex}.pipeline-settings>.section-description{padding-top:18px}.datetime-day:disabled{opacity:.3;cursor:not-allowed}.tabs{overflow-x:auto}.tabs>button{white-space:nowrap}@media(max-width:800px){.followup-row.attention-row{grid-template-columns:minmax(0,1fr) auto}.followup-row.attention-row>.done-button{grid-area:1/2/span 3;min-height:44px}.followup-row.attention-row .row-main{grid-column:1;min-width:0}.followup-row.attention-row>.stage-badge{grid-column:1;justify-self:start}.followup-row.attention-row .row-value{text-align:left;grid-column:1;margin-left:0!important}.pipeline-filters .filters{width:100%}.pipeline-filters select{flex:130px;min-width:0;max-width:100%}.pipeline-stage-row{flex-wrap:wrap;gap:6px;padding:12px}.pipeline-stage-row .row-actions{margin-left:auto}.pipeline-stage-row .btn,.catalog-row .btn{min-height:44px}}.clickable-lead-row{cursor:pointer}.clickable-lead-row:hover,.clickable-lead-row:focus-within{background:var(--hover)}.stage-drag-handle{touch-action:none;cursor:grab}.stage-drop-target{box-shadow:inset 0 2px var(--accent)}@media(max-width:540px){.pipeline-stage-row{gap:3px}.pipeline-stage-row .stage-order-controls{flex-direction:column}.pipeline-stage-row>.row-main{min-width:100px}}.stage-selection{justify-content:center;align-items:center;min-width:32px;min-height:44px;display:flex}.stage-selection input{width:18px;height:18px;accent-color:var(--accent)}.stage-filter{min-width:0;max-width:100%;position:relative}.stage-filter>.btn{white-space:normal;overflow-wrap:anywhere;text-align:left;max-width:100%;min-height:36px}.stage-filter-panel{width:240px;max-width:calc(100vw - 48px);padding:8px}.stage-filter-options{max-height:280px;overflow-y:auto}.stage-filter-options .checkbox-label{cursor:pointer;white-space:normal;overflow-wrap:anywhere;border-radius:4px;width:100%;min-height:44px;margin-left:0;padding:8px}.stage-filter-options .checkbox-label:hover{background:var(--hover)}.stage-filter-options input{accent-color:var(--accent);flex-shrink:0}.pipeline-stage-row.is-selectable{cursor:pointer}.pipeline-stage-row.is-selectable:hover{background:var(--hover)}.pipeline-stage-row.is-selectable .stage-selection{cursor:pointer}.saved-views{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.login-error{border:1px solid var(--danger);background:var(--danger-soft);border-radius:6px;padding:12px 14px}.kanban-card.is-moved{border-color:var(--accent);outline:2px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){.kanban-card.is-moved{outline:2px solid color-mix(in srgb,var(--accent) 45%,transparent)}}.kanban-card.is-moved{animation:3s ease-out card-move-glow}.card-move-feedback{font-size:calc(11px + var(--type-bump));color:var(--accent);align-items:center;gap:4px;display:flex;position:absolute;top:18px;right:34px}@keyframes card-move-glow{0%{box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 22%,transparent)}to{box-shadow:0 0 #0000}}@media(prefers-reduced-motion:reduce){.kanban-card.is-moved{animation:none}}.saved-views select{width:auto;max-width:100%;min-height:36px}.card-next-note{color:var(--text);font-size:calc(11px + var(--type-bump));-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:8px 0;display:-webkit-box;overflow:hidden}.column-empty .btn{margin-top:8px}.kanban-card>.btn{white-space:normal;margin-top:6px}@media(max-width:540px){.saved-views{flex-wrap:nowrap}.saved-views select{flex:1;width:0;min-width:0;min-height:44px}.saved-views .btn{white-space:nowrap;min-height:44px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
