@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap";html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{color:#14110f;background:#fafaf9;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--rose: #f43f5e;--rose-dark: #be123c;--stone: #292524;--muted: #78716c;--line: #e7e5e4;--paper: #ffffff;--soft: #f8f4f6;--green: #059669;--amber: #b45309;--blue: #2563eb}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#fafaf9}button,input,select,textarea{font:inherit}button{cursor:pointer}.crm-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;background:linear-gradient(135deg,#f43f5e14,#fff0 34%),#fafaf9}.crm-shell.nav-closed{grid-template-columns:0 minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:22px 18px;background:#14110f;color:#fff;display:flex;flex-direction:column;gap:24px;z-index:30;overflow:hidden;transition:transform .18s ease,width .18s ease,padding .18s ease}.nav-closed .sidebar{width:0;padding-left:0;padding-right:0;transform:translate(-100%)}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-lockup img{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#fff}.brand-lockup strong{display:block;font-family:Playfair Display,serif;font-size:25px;line-height:1}.brand-lockup span,.sidebar-summary span,.sidebar-summary small{color:#ffffffa8;font-size:12px}.nav-list{display:grid;gap:7px}.nav-list button{min-height:44px;border:0;border-radius:8px;background:transparent;color:#ffffffbd;display:flex;align-items:center;gap:11px;padding:0 12px;text-align:left}.nav-list button:hover,.nav-list button.active{background:#ffffff1c;color:#fff}.sidebar-summary{margin-top:auto;border-radius:8px;padding:16px;background:linear-gradient(135deg,#f43f5efa,#44403ceb);display:grid;gap:5px}.sidebar-summary strong{font-size:22px}.workspace{min-width:0;padding:22px}.topbar{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.topbar h1{margin:0;font-family:Playfair Display,serif;font-size:38px;line-height:1}.topbar-actions,.toolbar,.modal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.mobile-menu{display:inline-flex;flex:0 0 auto}.mobile-menu.active{background:var(--stone);color:#fff}.screen-grid{display:grid;gap:18px}.sync-notice{min-height:42px;display:flex;align-items:center;margin-bottom:18px;border:1px solid var(--line);border-radius:8px;padding:0 14px;background:#fffbeb;color:#92400e;font-size:13px;font-weight:800}.sync-notice.saving,.sync-notice.checking{background:#eff6ff;color:#1d4ed8}.sync-notice.warning{background:#fffbeb;color:#92400e}.sync-notice.error{background:#fff1f2;color:#be123c}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card,.panel,.lead-card,.task-column,.table-panel,.empty-state{border:1px solid var(--line);border-radius:8px;background:#ffffffeb;box-shadow:0 12px 36px #2925240f}.metric-card{padding:16px;display:grid;gap:6px;min-height:142px}.metric-card div{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:#f5f5f4}.metric-card.rose div{color:var(--rose);background:#fff1f2}.metric-card.green div{color:var(--green);background:#ecfdf5}.metric-card.amber div{color:var(--amber);background:#fffbeb}.metric-card.ink div{color:var(--stone);background:#f5f5f4}.metric-card span{color:var(--muted);font-size:13px;font-weight:700}.metric-card strong{font-size:27px;line-height:1.1}.metric-card small{color:var(--muted);font-size:12px}.empty-state{min-height:160px;padding:18px;display:grid;align-content:center;gap:8px;color:var(--muted)}.empty-state strong{color:var(--stone);font-size:18px}.empty-state span{line-height:1.45}.dashboard-layout,.reports-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);align-items:start;gap:18px}.reports-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.three-column{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.panel{padding:18px;min-width:0}.panel.large{min-height:0}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-title span{display:block;color:var(--rose);font-size:12px;font-weight:800;text-transform:uppercase}.panel-title h2{margin:4px 0 0;font-size:20px;line-height:1.2}.panel-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.primary-button,.ghost-button,.icon-button{min-height:40px;border-radius:8px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;white-space:nowrap;text-decoration:none}.primary-button{padding:0 15px;background:var(--stone);color:#fff}.primary-button:hover{background:#44403c}.ghost-button{padding:0 13px;background:#fff;color:var(--stone);border-color:var(--line)}.ghost-button:hover{border-color:#d6d3d1;background:#fafaf9}.compact{min-height:34px;padding:0 11px;font-size:13px}.icon-button{width:40px;padding:0;background:#fff;color:var(--stone);border-color:var(--line)}.bar-chart{height:250px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:14px}.bar-column{min-width:0;display:grid;gap:8px;text-align:center}.bar-track{height:180px;border-radius:8px;background:#f5f5f4;display:flex;align-items:end;overflow:hidden}.bar-fill{width:100%;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#fb7185,#881337)}.bar-column strong,.bar-column span{overflow:hidden;text-overflow:ellipsis}.bar-column strong{font-size:13px}.bar-column span{color:var(--muted);font-size:12px}.funnel-list,.stack-list,.report-list,.source-list,.program-mix,.question-list,.line-bars{display:grid;gap:12px}.funnel-row,.mini-row,.report-list div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.funnel-row strong,.mini-row strong{display:block;font-size:14px}.funnel-row span,.mini-row span,.program-mix span,.source-list span{color:var(--muted);font-size:12px}.funnel-meter{width:96px;height:8px;border-radius:999px;background:#f1f5f9;overflow:hidden}.funnel-meter i,.program-mix i,.source-list i,.line-bars i{display:block;height:100%;border-radius:inherit;background:var(--rose)}.mini-row{min-height:58px;padding:12px;border-radius:8px;background:#fafaf9}.program-mix>div,.source-list>div,.line-bars>div{display:grid;gap:7px}.program-mix>div>div,.source-list>div>div,.line-bars>div{min-width:0}.program-mix>div>div,.line-bars>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.program-mix i,.source-list i,.line-bars i{height:8px;background:linear-gradient(90deg,#f43f5e,#14b8a6)}.line-bars>div{grid-template-columns:50px minmax(0,1fr) 100px}.line-bars strong{text-align:right;font-size:13px}.toolbar{justify-content:flex-start}.toolbar.align-end{justify-content:flex-end}.search-box,.select-shell{min-height:42px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 12px}.search-box{width:min(380px,100%)}.search-box input,.select-shell select{min-width:0;border:0;outline:0;background:transparent;color:var(--stone)}.search-box input{width:100%}.select-shell select{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:150px}.lead-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.client-board{display:grid;grid-template-columns:repeat(5,minmax(240px,1fr));gap:14px;align-items:start}.client-panel{min-height:420px;border:1px solid var(--line);border-radius:8px;background:#ffffffb8;padding:14px;display:grid;align-content:start;gap:12px}.lead-card{padding:16px;display:grid;gap:12px;min-width:0}.lead-card-top,.task-card-top,.lead-footer,.task-meta,.client-progress{display:flex;align-items:center;justify-content:space-between;gap:10px}.lead-card-top span:first-child,.lead-footer,.task-meta{color:var(--muted);font-size:12px}.card-actions,.task-card-top{min-width:0}.card-actions{display:inline-flex;align-items:center;gap:8px}.task-card-top{justify-content:space-between;gap:10px}.task-card-top>div{min-width:0}.delete-button{width:31px;height:31px;border:1px solid #fecdd3;border-radius:8px;background:#fff1f2;color:#be123c;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.delete-button:hover{background:#ffe4e6;border-color:#fb7185}.inline-money-field{display:inline-flex;align-items:center;gap:6px;min-width:150px;color:var(--stone);font-size:12px;font-weight:800}.inline-money-field input{width:96px;min-height:32px;border:1px solid var(--line);border-radius:8px;padding:0 8px;font-weight:800}.lead-card h2{margin:0;font-size:19px;line-height:1.25}.lead-card p{margin:0;color:var(--muted);line-height:1.4}.lead-facts{display:flex;flex-wrap:wrap;gap:7px}.lead-facts span{min-height:28px;border-radius:8px;background:#f5f5f4;color:#57534e;display:inline-flex;align-items:center;padding:0 9px;font-size:12px;font-weight:700}.lead-note{min-height:66px;border-radius:8px;background:#fff7ed;color:#7c2d12;padding:10px;line-height:1.45;font-size:13px}.lead-controls{display:grid;grid-template-columns:1fr 105px;gap:8px}.lead-controls select,.task-card select,.field input,.field select,.field textarea{min-width:0;width:100%;min-height:39px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--stone);padding:0 10px;outline:0}.field textarea,.lead-note{resize:vertical}.status-pill,.priority-pill{min-height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 9px;font-size:11px;font-weight:800;white-space:nowrap}.status-pill{background:#f5f5f4;color:#57534e}.priority-pill.hot,.status-pill.overdue,.status-pill.lost,.status-pill.pending{background:#ffe4e6;color:#be123c}.priority-pill.warm,.status-pill.part-paid,.status-pill.due-today,.status-pill.proposal-sent,.status-pill.draft{background:#ffedd5;color:#c2410c}.priority-pill.cold,.status-pill.new,.status-pill.upcoming{background:#dbeafe;color:#1d4ed8}.status-pill.converted,.status-pill.paid,.status-pill.completed,.status-pill.active-client{background:#dcfce7;color:#166534}.status-pill.consultation-booked,.status-pill.contacted{background:#ccfbf1;color:#0f766e}.task-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.task-column{padding:12px;display:grid;align-content:start;gap:12px;min-height:460px;background:#f8f4f6}.column-title{display:flex;align-items:center;justify-content:space-between;min-height:34px}.column-title span{min-width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#fff;font-weight:800}.task-card{display:grid;gap:12px;padding:13px;border-radius:8px;background:#fff;border:1px solid var(--line)}.task-card strong,.task-card span{display:block}.task-card span{margin-top:3px;color:var(--muted);font-size:12px}.table-panel{overflow:hidden}.table-row,.expense-row,.reminder-row{display:grid;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid var(--line)}.table-row{grid-template-columns:110px minmax(150px,1fr) minmax(150px,1fr) 120px 120px 110px 86px;min-width:930px}.expense-row{grid-template-columns:110px 150px minmax(210px,1fr) 120px 80px 110px 100px;min-width:980px}.reminder-row{grid-template-columns:minmax(240px,1fr) 150px 120px 112px 112px;min-width:760px}.table-row:first-child,.expense-row:first-child,.reminder-row:first-child{border-top:0}.table-head{background:#f5f5f4;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase}.empty-row{color:var(--muted);font-weight:700}.empty-row span{grid-column:1 / -1}.inline-edit-field,.inline-select-field{width:100%;min-height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--stone);font-weight:800}.inline-edit-field{display:inline-flex;align-items:center;gap:5px;padding:0 8px}.inline-edit-field input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-weight:800}.inline-edit-field span{color:var(--muted);font-size:12px}.inline-select-field{padding:0 9px}.inline-link{color:#be123c;font-weight:900;text-decoration:none}.inline-link:hover{text-decoration:underline}.muted-cell{color:var(--muted);font-size:12px;font-weight:800}.error-cell{color:#be123c}.client-progress{padding:12px;border-radius:8px;background:#f5f5f4}.client-progress div{display:grid;gap:4px}.client-progress span{color:var(--muted);font-size:12px}.full{width:100%}.wide-copy{max-width:900px}.question-list article{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:8px;background:#fafaf9;line-height:1.45}.question-list svg{color:var(--green);flex:0 0 auto;margin-top:2px}.sheet-columns,.crm-sheet-list{display:flex;flex-wrap:wrap;gap:8px}.sheet-columns span{min-height:30px;display:inline-flex;align-items:center;border-radius:8px;border:1px solid var(--line);background:#fafaf9;padding:0 10px;color:#57534e;font-size:12px;font-weight:800}.integration-card{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:10px}.integration-card div,.crm-sheet-list article{min-width:0;border-radius:8px;border:1px solid var(--line);background:#fafaf9;padding:12px}.integration-card div span,.crm-sheet-list article span{display:block;color:var(--muted);font-size:12px}.integration-card div strong,.crm-sheet-list article strong{display:block;margin-top:4px;overflow-wrap:anywhere}.integration-card .full{grid-column:1 / -1}.crm-sheet-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;z-index:50}.modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#14110fa3}.modal-card{position:relative;width:min(780px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:8px;background:#fff;box-shadow:0 24px 80px #14110f47}.modal-head{position:sticky;top:0;z-index:2;min-height:68px;padding:14px 16px;background:linear-gradient(90deg,#14110f,#9f1239);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h2{margin:0}.modal-head .icon-button{background:#ffffff24;color:#fff;border-color:#fff3}.modal-form{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:grid;gap:7px}.field span{color:#57534e;font-size:12px;font-weight:900;text-transform:uppercase}.field textarea{padding:10px}.upload-field .ant-upload-wrapper{min-width:0}.upload-field .ant-btn{width:100%;min-height:42px;border-radius:8px;font:inherit;font-weight:800}.upload-field .ant-upload{width:100%}.upload-field .ant-upload-list{margin-top:8px}.full-field,.modal-actions{grid-column:1 / -1}.modal-actions{justify-content:flex-end;padding-top:6px}@media (max-width: 1180px){.metric-grid,.three-column,.lead-grid,.client-board,.task-board,.reports-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}}@media (max-width: 860px){.crm-shell,.crm-shell.nav-open,.crm-shell.nav-closed{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;transform:translate(-102%);width:280px;max-width:calc(100vw - 56px);transition:transform .18s ease}.nav-open .sidebar{transform:translate(0)}.mobile-menu{position:fixed;top:16px;left:16px;z-index:45}.mobile-menu.active{background:var(--stone);color:#fff;left:min(296px,calc(100vw - 56px))}.workspace{padding:76px 16px 16px}.topbar{align-items:flex-start}.topbar h1{font-size:31px}.topbar-actions{justify-content:flex-end}.metric-grid,.three-column,.lead-grid,.client-board,.task-board,.reports-grid,.modal-form{grid-template-columns:1fr}.table-panel{overflow-x:auto}}@media (max-width: 560px){.topbar{display:grid;grid-template-columns:40px minmax(0,1fr)}.topbar-actions{grid-column:1 / -1;justify-content:stretch}.topbar-actions .ghost-button,.topbar-actions .primary-button,.toolbar .ghost-button,.toolbar .primary-button,.search-box,.select-shell,.select-shell select{width:100%}.bar-chart{gap:8px}.lead-controls{grid-template-columns:1fr}.line-bars>div{grid-template-columns:40px minmax(0,1fr)}.line-bars strong{grid-column:2;text-align:left}}
