.capture-page{gap:18px;display:grid}.panel.capture-hero{color:#fff;background-color:#173d34;background-image:linear-gradient(125deg,#0f2d27 0%,#1f5144 58%,#2f6b59 100%);border-color:#173d34;justify-content:space-between;align-items:center;gap:28px;display:flex;position:relative;overflow:hidden}.capture-hero:after{content:"";background:var(--brand-overlay);border-radius:50%;width:260px;height:260px;position:absolute;top:-120px;right:-70px}.capture-hero h2{color:inherit;max-width:720px;margin:8px 0 12px;font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.05}.capture-hero p{color:inherit;opacity:.82;max-width:720px;margin:0}.capture-eyebrow{text-transform:uppercase;letter-spacing:.12em;opacity:.78;align-items:center;gap:7px;font-size:.72rem;font-weight:800;display:inline-flex}.capture-trust{z-index:1;border:1px solid color-mix(in srgb, currentColor 35%, transparent);text-align:center;background:var(--brand-overlay);border-radius:22px;min-width:130px;padding:18px;display:grid}.capture-trust>svg{opacity:.85;justify-self:center;margin-bottom:3px}.capture-trust strong{font-family:var(--font-display);font-size:2.2rem}.capture-trust span{opacity:.82;font-size:.76rem}.capture-tabs{margin:0}.capture-tabs button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.capture-composer,.capture-review-panel,.capture-inbox{min-width:0}.capture-kind-switch{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.capture-kind-switch button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:9px 14px;font-weight:750;transition:transform .15s,box-shadow .15s,border-color .15s;display:inline-flex}.capture-kind-switch button:hover{border-color:color-mix(in srgb, var(--forest) 45%, var(--line));transform:translateY(-1px);box-shadow:0 6px 14px #1c362e14}.capture-kind-switch button.active{background:var(--forest);border-color:var(--forest);color:var(--brand-on-primary)}.capture-composer>.field textarea{resize:vertical;min-height:150px;padding:17px;font-size:1rem;line-height:1.65}.capture-composer>.field textarea:focus{border-color:var(--forest);box-shadow:0 0 0 3px color-mix(in srgb, var(--forest) 14%, transparent)}.capture-dropzone{border:1.5px dashed color-mix(in srgb, var(--forest) 34%, var(--line));text-align:left;background:color-mix(in srgb, var(--brand-secondary) 40%, white);border-radius:16px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:112px;padding:17px 18px;transition:all .18s;display:grid}.capture-dropzone.active{border-color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 70%, white);transform:translateY(-2px)}.capture-dropzone>span>strong,.capture-dropzone>span>small{display:block}.capture-dropzone>span>small{color:var(--muted);margin-top:4px}.capture-dropzone-icon{background:var(--surface);width:43px;height:43px;color:var(--forest);border-radius:12px;place-items:center;display:grid;box-shadow:0 4px 12px #1c362e14}.capture-input-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-start;gap:8px;margin-top:3px;display:flex}.capture-input-actions .button{align-items:center;gap:7px;display:inline-flex}.capture-input-actions .recording{color:#9a352c;background:#fff0ee;border-color:#d68c83;animation:1.8s infinite capture-pulse}.capture-input-actions .file-button.disabled{cursor:not-allowed;opacity:.52}@keyframes capture-pulse{50%{box-shadow:0 0 0 7px #ad433814}}.capture-attachment-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.capture-attachment-list>span{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--forest-deep);border-radius:12px;align-items:center;gap:9px;padding:8px 10px;font-size:.8rem;font-weight:700;display:flex}.capture-attachment-list>span>b{color:#2f6b59;background:#e9f2ed;border-radius:9px;flex:none;place-items:center;width:35px;height:35px;display:grid}.capture-attachment-list>span.audio>b{color:#8d5a10;background:#fff0d7}.capture-attachment-list>span.processing,.capture-attachment-list>span.saving{background:#fff9ed;border-color:#d9bb82}.capture-attachment-list>span.ready,.capture-attachment-list>span.saved{background:#f0f9f4;border-color:#aed3c3}.capture-attachment-list>span.error{background:#fff6f4;border-color:#e1b9b4}.capture-attachment-list>span>span{min-width:0;display:grid}.capture-attachment-list>span>span strong,.capture-attachment-list>span>span small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.capture-attachment-list>span small{color:var(--muted);font-size:.66rem;font-weight:500}.capture-attachment-list button{width:30px;height:30px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;margin-left:auto;padding:0;display:grid}.capture-attachment-list button:hover{color:#9a352c;background:#edf1ee}.capture-batch-choice{background:#eef7f2;border:1px solid #bdd6ca;border-radius:14px;grid-template-columns:minmax(230px,1fr) auto;align-items:center;gap:12px 20px;margin-top:14px;padding:14px;display:grid}.capture-batch-choice>div:first-child{gap:3px;display:grid}.capture-batch-choice>div:first-child span,.capture-batch-choice>small{color:var(--muted);font-size:.7rem;line-height:1.45}.capture-batch-choice .filter-switch{margin:0}.capture-batch-choice>small{color:#8b4d1d;grid-column:1/-1}.capture-examples{gap:7px;margin-top:20px;display:grid}.capture-examples>strong{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.78rem}.capture-examples button{border:0;border-left:3px solid color-mix(in srgb, var(--forest) 35%, transparent);text-align:left;color:var(--muted);cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:14px;padding:8px 10px;line-height:1.4;display:flex}.capture-examples button svg{flex:none}.capture-examples button:hover{color:var(--forest);border-color:var(--forest)}.capture-composer-footer{border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-alt) 78%, white);justify-content:space-between;align-items:center;gap:16px;margin:20px -20px -20px;padding:14px 20px;display:flex}.capture-composer-footer .button{flex:none;align-items:center;gap:7px;display:inline-flex}.capture-privacy-strip{color:var(--muted);flex-wrap:wrap;gap:8px 17px;font-size:.7rem;display:flex}.capture-privacy-strip span{align-items:center;gap:5px;display:inline-flex}.capture-privacy-strip svg{color:#398166}.capture-review-panel .panel-heading h2{margin-top:10px}.capture-confidence{text-align:center;background:var(--surface);width:82px;height:82px;color:var(--forest-deep);border:6px solid #d8e8df;border-radius:50%;flex:none;align-content:center;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #cad8d0}.capture-confidence.review{border-color:#f1d39e}.capture-confidence strong{font-family:var(--font-display);font-size:1.7rem}.capture-confidence span{text-transform:uppercase;opacity:.7;font-size:.72rem;font-weight:800}.capture-detection{color:#225b48;background:#eff7f2;border:1px solid #c8ddd2;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:12px 0;padding:12px;display:grid}.capture-detection.warning{color:#7a4b08;background:#fff7e7;border-color:#e9c68d}.capture-detection-icon,.capture-record-icon,.capture-empty-icon{color:#2e6855;background:#e6f1eb;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;display:grid}.capture-detection-icon.client_payment_draft,.capture-record-icon.client_payment_draft{color:#315f8a;background:#e6eef8}.capture-detection-icon.lead_signal_draft,.capture-record-icon.lead_signal_draft{color:#875816;background:#fff0d8}.capture-detection>span:nth-child(2){gap:3px;min-width:0;display:grid}.capture-detection small{opacity:.78}.capture-detection>div{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.capture-detection button{background:var(--surface);color:inherit;cursor:pointer;opacity:.82;border:1px solid;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:.66rem;font-weight:750;display:inline-flex}.capture-detection button:hover{opacity:1}.capture-alert{border:1px solid var(--line);background:var(--surface-alt);color:var(--muted);border-radius:12px;align-items:center;gap:10px;margin:8px 0;padding:11px 13px;font-size:.86rem;display:flex}.capture-alert.warning{color:#7a4b08;background:#fff7e7;border-color:#e9c68d}.capture-alert.success{color:#174f3e;background:#edf8f3;border-color:#acd2c3}.capture-review-grid{margin-top:20px}.capture-inbox-layout{grid-template-columns:minmax(280px,.78fr) minmax(460px,1.5fr);align-items:start;gap:18px;display:grid}.capture-inbox-list{gap:7px;max-height:72vh;padding-right:3px;display:grid;overflow:auto}.capture-inbox-list>button{border:1px solid var(--line);background:var(--surface);text-align:left;color:inherit;cursor:pointer;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.capture-inbox-list>button.active{border-color:var(--forest);box-shadow:0 0 0 2px color-mix(in srgb, var(--forest) 13%, transparent)}.capture-inbox-list>button>span:nth-child(2){gap:6px;min-width:0;display:grid}.capture-inbox-list>button>span:nth-child(2) strong,.capture-inbox-list>button>span:nth-child(2) small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.capture-inbox-list>button small{color:var(--muted)}.capture-inbox-list>button>b{color:var(--forest)}.capture-inbox .empty-state{text-align:center;align-content:center;justify-items:center;gap:8px;min-height:230px;display:grid}.capture-inbox .empty-state small{color:var(--muted)}.capture-field-heading{justify-content:space-between;align-items:center;gap:8px;min-height:21px;display:flex}.capture-source-badge{white-space:nowrap;border-radius:999px;flex:none;padding:3px 6px;font-size:.58rem;font-weight:750}.capture-source-badge.detected,.capture-source-badge.user{color:#236349;background:#e6f2eb}.capture-source-badge.review{color:#815415;background:#fff0d6}.capture-source-badge.missing{color:#8c4a42;background:#f2e7e4}.capture-global-message{z-index:10;box-shadow:var(--shadow);position:sticky;bottom:78px}.capture-context-banner{background:linear-gradient(105deg, color-mix(in srgb, var(--brand-secondary) 72%, white), white);justify-content:space-between;align-items:center;gap:22px;margin-bottom:16px;display:flex}.capture-context-banner h2{margin:9px 0 5px}.capture-context-banner p{color:var(--muted);margin:0}.capture-context-banner .button{flex:none}.capture-settings-flow{background:color-mix(in srgb, var(--brand-secondary) 55%, white);border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:11px;padding:15px;display:flex}.capture-settings-flow span{color:var(--forest-deep);align-items:center;gap:7px;font-weight:750;display:flex}.capture-settings-flow b{background:var(--forest);width:25px;height:25px;color:var(--brand-on-primary);border-radius:50%;place-items:center;font-size:.74rem;display:grid}.capture-settings-flow i{color:var(--muted);font-style:normal}.capture-runtime-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px;display:grid}.capture-runtime-grid>div{border:1px solid var(--line);border-radius:13px;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.capture-runtime-grid>div>span{font-weight:750}.capture-channel-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.capture-channel-grid>section{border:1px solid var(--line);border-radius:16px;align-content:start;gap:12px;padding:16px;display:grid}.capture-channel-grid code{overflow-wrap:anywhere;color:var(--forest-deep);background:#f3f5f2;border-radius:9px;padding:9px}.capture-channel-grid>section>small{color:var(--muted);line-height:1.5}@media (width<=980px){.capture-inbox-layout{grid-template-columns:1fr}.capture-inbox-list{max-height:360px}.capture-detection{grid-template-columns:auto 1fr}.capture-detection>div{grid-column:1/-1;justify-content:flex-start}}@media (width<=680px){.capture-hero{align-items:flex-start;padding:20px}.capture-trust{min-width:86px;padding:11px}.capture-trust strong{font-size:1.55rem}.capture-trust span{font-size:.64rem}.capture-kind-switch{grid-template-columns:1fr 1fr;display:grid}.capture-kind-switch button{border-radius:12px;justify-content:flex-start}.section-tabs.capture-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding:4px;display:grid}.section-tabs.capture-tabs button{text-align:center;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:7px 5px;font-size:.68rem;line-height:1.15}.section-tabs.capture-tabs button span{min-width:20px;min-height:20px}.capture-input-actions{width:100%;display:grid}.capture-input-actions .button{justify-content:center;width:100%}.capture-dropzone{padding:17px 12px}.capture-attachment-list,.capture-batch-choice{grid-template-columns:1fr}.capture-batch-choice .filter-switch{grid-template-columns:1fr;width:100%;display:grid}.capture-composer-footer{flex-direction:column;align-items:stretch}.capture-composer-footer .button{justify-content:center;width:100%}.capture-privacy-strip{justify-content:center}.capture-review-panel .panel-heading{align-items:flex-start}.capture-confidence{min-width:78px}.capture-context-banner{flex-direction:column;align-items:stretch}.capture-context-banner .button{justify-content:center;width:100%}.capture-runtime-grid,.capture-channel-grid{grid-template-columns:1fr}.capture-settings-flow{flex-direction:column;align-items:stretch}.capture-settings-flow i{display:none}}@media (width<=390px){.section-tabs.capture-tabs button{font-size:.64rem}}@media (prefers-reduced-motion:reduce){.capture-input-actions .recording{animation:none}.capture-kind-switch button,.capture-dropzone{transition:none}}.data-import{border-color:color-mix(in srgb, var(--forest) 23%, var(--line));background:linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary) 34%, white), #fffefafa 42%)}.data-import-heading{align-items:center}.data-import-heading h2{margin:5px 0 4px}.data-import-heading p{margin:0}.data-import-kicker{color:var(--forest-deep);letter-spacing:.08em;text-transform:uppercase;font-size:.66rem;font-weight:850;display:block}.data-import-close{border:1px solid var(--line);width:42px;height:42px;color:var(--muted);cursor:pointer;background:#fff;border-radius:12px;flex:none;place-items:center;display:grid}.data-import-close:hover{color:#93443d;background:#fff7f5;border-color:#dfbbb6}.data-import-steps{grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 18px;padding:0;list-style:none;display:grid}.data-import-steps li{color:#7a8984;background:#edf1ee;border-radius:11px;align-items:center;gap:8px;min-width:0;padding:9px 10px;font-size:.72rem;font-weight:750;display:flex}.data-import-steps li b{color:#70807a;background:#fff;border-radius:50%;flex:none;place-items:center;width:25px;height:25px;display:grid}.data-import-steps li.active{color:var(--forest-deep);background:color-mix(in srgb, var(--brand-secondary) 68%, white)}.data-import-steps li.active b{color:var(--brand-on-primary);background:var(--forest)}.data-import-drop{border:1.5px dashed color-mix(in srgb, var(--forest) 35%, var(--line));background:#ffffffb8;border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;min-height:145px;padding:22px;display:grid}.data-import-file-icon{width:54px;height:54px;color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 68%, white);border-radius:16px;place-items:center;display:grid}.data-import-drop strong,.data-import-drop small{display:block}.data-import-drop small{max-width:680px;color:var(--muted);margin-top:5px;font-size:.73rem;line-height:1.5}.data-import-drop .file-button input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.data-import-file-summary{color:var(--forest-deep);background:#edf7f1;border:1px solid #cbdad2;border-radius:13px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 14px;display:flex}.data-import-file-summary>span{gap:2px;min-width:0;display:grid}.data-import-file-summary strong,.data-import-file-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.data-import-file-summary small{color:var(--muted)}.data-import-file-summary button{flex:none;align-items:center;gap:5px;margin-left:auto;display:inline-flex}.data-import-section-heading{justify-content:space-between;align-items:center;gap:14px;margin:18px 0 10px;display:flex}.data-import-section-heading>div{align-items:center;gap:9px;display:flex}.data-import-section-heading>div>span{gap:2px;display:grid}.data-import-section-heading small{color:var(--muted);font-size:.69rem}.mapping-status{border-radius:999px;flex:none;padding:6px 9px;font-size:.64rem;font-weight:800}.mapping-status.warning{color:#7a4b08;background:#fff0d5}.mapping-status.ready{color:#225b48;background:#e4f2eb}.data-import-mapping{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.data-import-mapping>label{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:minmax(0,.85fr) auto minmax(180px,1fr);align-items:center;gap:9px;padding:9px;display:grid}.data-import-mapping>label>span:first-child{gap:2px;min-width:0;display:grid}.data-import-mapping>label strong,.data-import-mapping>label small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.data-import-mapping>label small{color:var(--muted);font-size:.64rem}.data-import-mapping>label>span:nth-child(2){color:#8a9893}.data-import-mapping select{min-width:0}.data-import-preview{border:1px solid var(--line);background:#fff;border-radius:12px;max-height:330px}.data-import-preview th{z-index:1;background:#f2f5f2;position:sticky;top:0}.data-import-preview td{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.data-import-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-top:15px;padding-top:14px;display:flex}.data-import-footer p{max-width:760px;color:var(--muted);margin:0;font-size:.72rem;line-height:1.5}.data-import-footer .button{flex:none}.data-import-result{color:#205844;background:#eaf6f0;border:1px solid #add0c1;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;margin-top:15px;padding:14px;display:grid}.data-import-result>div{gap:3px;display:grid}.data-import-result details{margin-top:6px;font-size:.7rem}.data-import-result summary{cursor:pointer;font-weight:800}.data-import-result ul{margin:7px 0 0;padding-left:18px}.data-import-result li{margin:3px 0}.panel-heading-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (width<=980px){.data-import-mapping{grid-template-columns:1fr}}@media (width<=680px){.panel-heading-actions{width:100%;display:grid}.panel-heading-actions .button{width:100%}.data-import-steps{grid-template-columns:1fr}.data-import-drop{grid-template-columns:auto minmax(0,1fr);padding:16px}.data-import-drop .file-button{grid-column:1/-1;width:100%}.data-import-mapping>label{grid-template-columns:1fr}.data-import-mapping>label>span:nth-child(2){display:none}.data-import-section-heading,.data-import-footer{display:grid}.mapping-status{width:max-content}.data-import-footer .button{width:100%}.data-import-result{grid-template-columns:auto minmax(0,1fr)}.data-import-result .button{grid-column:1/-1;width:100%}.data-import-file-summary{flex-wrap:wrap;align-items:flex-start}.data-import-file-summary button{width:100%;margin-left:30px}}:root{color:#18302a;font-family:var(--font-body);font-synthesis:none;text-rendering:optimizelegibility;--ink:#18302a;--muted:#687a74;--forest:#173d34;--forest-deep:#0f2d27;--brand-on-primary:#fff;--brand-secondary:#e8f1ec;--brand-on-secondary:#18302a;--brand-overlay:#ffffff1f;--font-body:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display:Georgia, "Times New Roman", serif;--cream:#f4f3ed;--line:#dce2dc;--shadow:0 14px 38px #1c362e14;background:#f4f3ed}*{box-sizing:border-box}body{background:radial-gradient(circle at 82% 8%, #c2dccf61, transparent 23rem), var(--cream);min-width:0;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid color-mix(in srgb, var(--forest) 34%, #fff);outline-offset:2px}.login-shell{background:radial-gradient(circle at 18% 12%, #5f968133, transparent 25rem), radial-gradient(circle at 86% 84%, #c2dccf6b, transparent 30rem), var(--cream);place-items:center;min-height:100vh;padding:1.25rem;display:grid}.login-card{background:#fffffff0;border:1px solid #173d3424;border-radius:24px;width:min(100%,470px);padding:clamp(1.5rem,5vw,2.7rem);box-shadow:0 28px 75px #0f2d2726}.login-brand-mark{background:var(--forest);color:#fff;width:52px;height:52px;font-family:var(--font-display);letter-spacing:.08em;border-radius:16px;place-items:center;margin-bottom:1.4rem;display:grid}.login-eyebrow{color:#477264;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.45rem;font-size:.76rem;font-weight:750}.login-card h1{margin-bottom:.7rem;font-size:clamp(2rem,6vw,2.7rem)}.login-description{color:var(--muted);margin-bottom:.9rem;line-height:1.6}.login-edition{color:#17483b;background:#e8f1ec;border-radius:999px;margin-bottom:1.5rem;padding:.38rem .68rem;font-size:.72rem;font-weight:700;display:inline-flex}.login-card form{gap:1rem;display:grid}.login-card form>label:not(.login-remember){color:var(--ink);gap:.4rem;font-size:.82rem;font-weight:700;display:grid}.login-card form .button{min-height:47px;margin-top:.2rem}.login-remember{color:var(--muted);align-items:flex-start;gap:.62rem;font-size:.78rem;line-height:1.45;display:flex}.login-remember input{width:17px;height:17px;accent-color:var(--forest);flex:none;margin:.12rem 0 0}.login-error{color:#8f2f27;background:#fff0ee;border:1px solid #efb8b2;border-radius:10px;margin:0;padding:.72rem .8rem;font-size:.8rem}.login-security-note{color:var(--muted);margin-top:1.25rem;line-height:1.55;display:block}.login-loading{color:var(--forest);font-weight:750}.access-security-panel{margin-bottom:1rem}.security-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem;display:grid}.security-facts>div{border:1px solid var(--line);background:#f8faf8;border-radius:12px;gap:.3rem;min-width:0;padding:.8rem;display:grid}.security-facts span{color:var(--muted);font-size:.72rem}.security-facts strong{overflow-wrap:anywhere;font-size:.85rem}.session-management{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:1rem;margin-top:.8rem;padding-top:.8rem;font-size:.78rem;display:flex}.security-operations{border-top:1px solid var(--line);gap:.85rem;margin-top:1rem;padding-top:1rem;display:grid}.security-posture-card{background:linear-gradient(135deg, color-mix(in srgb, var(--secondary) 72%, white), #fff);border-radius:16px;align-items:center;gap:1rem;padding:1rem;display:flex}.security-posture-card h3{margin:0 0 .25rem;font-size:.95rem}.security-posture-card p{color:var(--muted);margin:0;font-size:.76rem}.security-score{background:var(--primary);min-width:74px;color:var(--primary-contrast);border-radius:14px;justify-content:center;align-items:baseline;padding:.75rem;display:flex}.security-score strong{font:700 1.4rem/1 var(--font-display)}.security-score span{opacity:.78;font-size:.68rem}.security-score.attention{color:#fff;background:#9a4d21}.security-score.protected{color:#fff;background:#516e63}.security-check-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.security-check-grid>div{border:1px solid var(--line);border-radius:12px;align-items:center;gap:.65rem;min-width:0;padding:.72rem;display:flex}.security-check-grid>div>span{color:#155b43;background:#dfeee7;border-radius:50%;flex:0 0 25px;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.security-check-grid>div.failed>span{color:#9a3b21;background:#f8dfd6}.security-check-grid>div.recommended>span{color:#8b5b00;background:#fff0cf}.security-check-grid strong,.security-check-grid small{display:block}.security-check-grid strong{font-size:.76rem}.security-check-grid small{color:var(--muted);margin-top:.15rem;font-size:.66rem}.security-events{border:1px solid var(--line);border-radius:12px;padding:.75rem .9rem}.security-events summary{cursor:pointer;color:var(--primary);font-size:.8rem;font-weight:750}.security-events .mini-list{margin-top:.7rem}.backup-list>div{align-items:center}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #cbd5cf;border-radius:10px;outline:none;padding:.72rem .78rem;transition:border-color .15s,box-shadow .15s,background .15s}input:focus,select:focus,textarea:focus{border-color:#4b8271;box-shadow:0 0 0 3px #4b827126}input:disabled,textarea:disabled{color:#61716b;background:#eef1ed}textarea{resize:vertical;min-height:86px}h1,h2,p{margin-top:0}h1{font-family:var(--font-display);letter-spacing:-.025em;margin-bottom:.22rem;font-size:clamp(1.8rem,3vw,2.55rem);font-weight:500}h2{letter-spacing:-.01em;margin-bottom:.2rem;font-size:1.08rem}.app-shell{grid-template-columns:244px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{height:100vh;color:var(--brand-on-primary);background:var(--forest);flex-direction:column;padding:1.5rem 1rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.8rem;padding:0 .45rem 1.6rem;display:flex}.brand-mark{background:var(--brand-overlay);width:42px;height:42px;font-family:var(--font-display);letter-spacing:.08em;border:1px solid;border-radius:13px;place-items:center;font-size:.9rem;display:grid;overflow:hidden}.brand-mark img{object-fit:contain;background:#ffffffeb;width:100%;height:100%}.brand strong,.brand span{display:block}.brand strong{font-size:.95rem}.brand span{color:currentColor;opacity:.7;margin-top:.2rem;font-size:.72rem}.sidebar nav{gap:.3rem;display:grid}.sidebar nav button{min-height:44px;color:var(--brand-on-primary);opacity:.72;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:.72rem;padding:.72rem .85rem;transition:background .15s,color .15s,transform .15s;display:flex}.nav-icon{flex:none;width:20px;height:20px}.mobile-appbar,.mobile-tabbar,.mobile-nav-backdrop,.mobile-drawer-heading{display:none}.sidebar nav button:hover{color:var(--brand-on-primary);opacity:1;transform:translate(2px)}.sidebar nav button.active{color:var(--brand-on-primary);background:var(--brand-overlay);box-shadow:inset 3px 0 var(--brand-secondary);opacity:1}.sidebar-foot{color:currentColor;opacity:.62;border-top:1px solid;margin-top:auto;padding:1rem .6rem 0;font-size:.72rem;line-height:1.65}.sidebar-logout{width:100%;color:inherit;text-align:left;background:0 0;border:1px solid;border-radius:9px;margin-top:.75rem;padding:.55rem .65rem;display:block}.sidebar-logout:hover{background:var(--brand-overlay);opacity:1}main{min-width:0;padding:2rem clamp(1.2rem,3vw,3.2rem) 4rem}.topbar{justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:1.6rem;display:flex}.topbar p,.panel-heading p{color:var(--muted);margin-bottom:0;font-size:.84rem}.topbar-actions,.export-actions{align-items:center;gap:.7rem;display:flex}.global-search{width:min(310px,34vw);position:relative}.global-search input{min-height:41px}.search-results{z-index:20;background:#fff;border:1px solid #cbd5cf;border-radius:12px;width:min(420px,82vw);display:grid;position:absolute;top:calc(100% + .4rem);right:0;overflow:hidden;box-shadow:0 18px 45px #0f2d272e}.search-results button{text-align:left;background:#fff;border:0;border-bottom:1px solid #e5e9e5;gap:.18rem;padding:.75rem .85rem;display:grid}.search-results button:last-child{border-bottom:0}.search-results button:hover{background:#eef5f1}.search-results small{color:var(--muted)}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;min-height:41px;padding:.66rem .95rem;font-size:.82rem;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{color:var(--brand-on-primary);background:var(--forest);box-shadow:0 8px 18px #173d342e}.button-primary:hover:not(:disabled){background:#205346}.button-secondary{color:var(--forest);background:#fff;border-color:#c9d4ce}.button-secondary:hover:not(:disabled){border-color:#8eaaa0;box-shadow:0 7px 16px #1c362e14}.button-danger{color:#8a302a;background:#fff7f5;border-color:#e3c5c0}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.metric,.panel{box-shadow:var(--shadow);background:#fffefaf0;border:1px solid #cbd5cfd1}.metric{border-radius:14px;min-width:0;padding:1.12rem}.metric span,.metric small,.metric strong{display:block}.metric span{color:var(--muted);font-size:.76rem;font-weight:700}.metric strong{font-family:var(--font-display);white-space:nowrap;margin:.65rem 0 .4rem;font-size:clamp(1.35rem,2.5vw,1.9rem);font-weight:500}.metric small{color:#84938e;font-size:.69rem}.financial-positive{color:#247054!important}.financial-negative{color:#a44840!important}.financial-neutral{color:var(--muted)!important}.metric.metric-positive{background:linear-gradient(145deg,#e8f6eee6,#fffefaf5);border-color:#3f896959}.metric.metric-negative{background:linear-gradient(145deg,#fff1eee0,#fffefaf5);border-color:#b1564c4d}.panel{border-radius:15px;min-width:0;margin-bottom:1rem;padding:1.2rem}.panel-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.split-layout{grid-template-columns:minmax(350px,.9fr) minmax(420px,1.1fr);align-items:start;gap:1rem;display:grid}.products-layout{grid-template-columns:minmax(320px,.75fr) minmax(460px,1.25fr)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.88rem;margin-bottom:1rem;display:grid}.field{color:#43564f;align-content:start;gap:.38rem;min-width:0;font-size:.73rem;font-weight:700;display:grid}.field>span em{color:#b3483f;font-style:normal}.field-hint{color:var(--muted);font-size:.64rem;font-weight:600;line-height:1.35}.field-invalid>input,.field-invalid>select,.field-invalid>textarea{background:#fff8f7;border-color:#cf756d;box-shadow:0 0 0 2px #b3483f14}.field-wide{grid-column:1/-1}.completeness{border:1px solid;border-radius:11px;justify-content:space-between;align-items:flex-start;gap:.8rem;margin:0 0 1rem;padding:.78rem .9rem;font-size:.7rem;line-height:1.45;display:flex}.completeness strong,.completeness span{display:block}.completeness strong{flex:none}.completeness-warning{color:#77531e;background:#fff8eb;border-color:#ecd2a6}.completeness-complete{color:#315f50;background:#eef7f2;border-color:#b9d7ca}.allocation-hint{background:var(--mint);color:#5f716b;border-radius:10px;margin-top:-.2rem;padding:.65rem .75rem;font-weight:600}.form-message{color:#356655;margin:.85rem 0 0;font-size:.8rem;font-weight:700}.notice{border:1px solid;border-radius:11px;margin-bottom:1rem;padding:.82rem 1rem;font-size:.78rem;font-weight:700}.notice-info{color:#315f50;background:#eaf5ef;border-color:#b9d7ca}.notice-warn{color:#77531e;background:#fff6e7;border-color:#ecd2a6}.notice-error{color:#812f28;background:#fff1ef;border-color:#e6c0bc}.status{color:#315e50;white-space:nowrap;background:#e6f1eb;border-radius:999px;align-items:center;width:max-content;padding:.3rem .52rem;font-size:.65rem;font-weight:800;display:inline-flex}.status-warn{color:#77531e;background:#fff0d8}.status-client{color:var(--brand-on-primary);background:var(--forest)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.78rem}th{color:#75847f;letter-spacing:.025em;text-align:left;text-transform:uppercase;font-size:.65rem}th,td{vertical-align:middle;border-bottom:1px solid #e4e8e4;padding:.78rem .62rem}tbody tr:last-child td{border-bottom:0}td strong,td small{display:block}td small{color:#80908a;margin-top:.2rem;font-size:.68rem}.number{text-align:right;white-space:nowrap}.lead-list,.product-list{display:grid}.lead-inbox-panel{margin-bottom:1rem}.lead-workspace{margin-top:0}.lead-signal-list{gap:.65rem;display:grid}.lead-signal-card{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 0;display:flex}.lead-signal-card:first-child{border-top:0}.lead-signal-main{gap:.18rem;min-width:0;display:grid}.lead-signal-main>span,.lead-signal-main>small{color:var(--muted)}.lead-signal-main>span{font-size:.78rem}.lead-signal-main>small{font-size:.7rem}.lead-signal-main .status{margin-top:.25rem}.lead-test-tools{border-top:1px solid var(--line);margin-top:.9rem;padding-top:.8rem}.lead-test-tools summary{cursor:pointer;color:var(--forest);font-size:.78rem;font-weight:800}.lead-test-tools p{color:var(--muted);font-size:.75rem}.lead-row,.product-row{border-bottom:1px solid #e4e8e4;justify-content:space-between;align-items:center;gap:1rem;padding:.92rem 0;display:flex}.lead-row:first-child,.product-row:first-child{padding-top:0}.lead-row:last-child,.product-row:last-child{border-bottom:0;padding-bottom:0}.lead-row strong,.lead-row span,.product-row strong,.product-row span,.product-row small{display:block}.lead-row span,.product-row span,.product-row small{color:var(--muted);margin-top:.25rem;font-size:.72rem}.lead-row-meta,.product-actions{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.85rem;display:flex}.text-button{color:#2e6755;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:.72rem;font-weight:800;-webkit-text-decoration:underline #2e675547;text-decoration:underline #2e675547}.text-button.danger{color:#ad4a42;text-decoration-color:#ad4a424d}a.text-button{display:inline}.filter-switch{background:#eef2ee;border-radius:10px;gap:.25rem;margin-bottom:1rem;padding:.22rem;display:inline-flex}.filter-switch button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:.45rem .72rem;font-size:.72rem;font-weight:800}.filter-switch button.active{color:var(--brand-on-primary);background:var(--forest)}.collection-toolbar{align-items:center;gap:.7rem;margin-bottom:1rem;display:flex}.collection-toolbar .filter-switch{flex:none;margin:0}.collection-toolbar input{flex:260px;min-width:180px}.collection-toolbar>span{color:var(--muted);white-space:nowrap;flex:none;font-size:.68rem;font-weight:750}.billing-details{background:#f7f8f5;border:1px solid #d8dfda;border-radius:12px;margin:0 0 1rem;padding:.85rem}.billing-details summary{cursor:pointer;color:var(--forest);font-size:.8rem;font-weight:800}.billing-details>p{color:var(--muted);margin:.55rem 0 .9rem;font-size:.72rem}.billing-details .form-grid{margin-bottom:0}.language-switch{background:#fff;border:1px solid #cbd5cf;border-radius:9px;display:inline-flex;overflow:hidden}.heading-actions{align-items:center;gap:.85rem;display:flex}.language-switch button{color:#6d7d77;background:0 0;border:0;padding:.48rem .66rem;font-size:.7rem;font-weight:800}.language-switch button.active{color:var(--brand-on-primary);background:var(--forest)}.catalog-adder{background:var(--brand-secondary);border-radius:12px;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:.7rem;margin:.25rem 0 1rem;padding:.8rem;display:grid}.quote-lines{gap:.75rem;display:grid}.quote-line{background:#fff;border:1px solid #dce2dc;border-radius:12px;grid-template-columns:.62fr 1.7fr 2.2fr 1.3fr .9fr;align-items:start;gap:.72rem;padding:.9rem;display:grid}.line-type{padding-top:1.43rem}.line-numbers{grid-template-columns:.7fr 1.3fr;gap:.5rem;display:grid}.line-actions{justify-items:start;gap:.6rem;padding-top:1.52rem;display:grid}.quote-footer{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:2rem;margin:1rem 0;display:grid}.totals{gap:.55rem;padding:.85rem 0;display:grid}.totals div{color:var(--muted);justify-content:space-between;gap:1rem;font-size:.8rem;display:flex}.totals .grand-total{color:var(--ink);border-top:1px solid #cdd6d0;margin-top:.15rem;padding-top:.72rem;font-size:1rem}.empty-state,.loading{color:#71817b;text-align:center;background:#f6f7f3b3;border:1px dashed #c7d0ca;border-radius:12px;place-items:center;min-height:115px;font-size:.8rem;display:grid}.table-actions,.settings-actions{flex-wrap:wrap;gap:.7rem;display:flex}.companies-layout{grid-template-columns:minmax(260px,.58fr) minmax(620px,1.42fr);align-items:start;gap:1rem;display:grid}.company-index{position:sticky;top:1rem}.company-list{gap:.45rem;display:grid}.company-list>button{width:100%;color:var(--ink);text-align:left;background:#f3f5f1;border:1px solid #0000;border-radius:11px;justify-content:space-between;align-items:center;gap:.6rem;padding:.75rem;display:flex}.company-list>button.active{background:#eaf3ee;border-color:#8fb3a5}.company-list strong,.company-list small{display:block}.company-list small{color:var(--muted);margin-top:.22rem;font-size:.67rem}.company-subgrid,.finance-forms,.finance-lists{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.compact-form h3{margin:0 0 .2rem;font-size:1rem}.mini-list{margin-bottom:1rem;display:grid}.mini-list>div{border-bottom:1px solid #e4e8e4;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 0;display:flex}.mini-list>div:last-child{border-bottom:0}.mini-list strong,.mini-list small{display:block}.mini-list small{color:var(--muted);margin-top:.18rem;font-size:.68rem}.mini-list>div>span:last-child{text-align:right}.mini-list .text-button{margin-left:.65rem}.compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-form{background:#eff4ef;border-radius:12px;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:.7rem;margin:1rem 0;padding:.9rem;display:grid}.payment-form .button{margin-bottom:0}.finance-hero{background:linear-gradient(145deg,#e1f0e8b3,#fffefaf5);overflow:hidden}.finance-hero .panel-heading .field{width:190px}.finance-metrics{margin-top:1rem}.period-picker{background:#ffffffb8;border:1px solid #d5e0da;border-radius:12px;grid-template-columns:minmax(210px,1.3fr) minmax(150px,.8fr) minmax(150px,.8fr) auto;align-items:end;gap:.75rem;margin:0 0 1rem;padding:.85rem;display:grid}.comparison-picker{background:#eff6f2;border:1px solid #b8cec3;border-radius:12px;grid-template-columns:minmax(240px,1.3fr) minmax(160px,.8fr) minmax(160px,.8fr);gap:.75rem;margin:-.3rem 0 1rem;padding:.85rem;display:grid}.finance-comparison{background:#ffffffb8;border:1px solid #c2d6cc;border-radius:13px;margin:0 0 1rem;padding:.9rem}.comparison-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.7rem;display:flex}.comparison-heading strong,.comparison-heading span{display:block}.comparison-heading span,.comparison-heading small{color:var(--muted);margin-top:.15rem;font-size:.68rem}.comparison-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;display:grid}.comparison-metric{background:#f5f7f4;border-radius:10px;padding:.75rem}.comparison-metric span,.comparison-metric strong,.comparison-metric small,.comparison-metric em{display:block}.comparison-metric span,.comparison-metric small{color:var(--muted);font-size:.65rem}.comparison-metric strong{font-family:var(--font-display);margin:.22rem 0;font-size:1.05rem;font-weight:500}.comparison-delta{margin-top:.35rem;font-size:.68rem;font-style:normal;font-weight:800}.comparison-delta.positive{color:#2e6755}.comparison-delta.negative{color:#ad4a42}.comparison-delta.neutral{color:var(--muted)}.finance-entry-disclosure{padding:0;overflow:hidden}.finance-entry-disclosure>summary{cursor:pointer;padding:1rem 1.2rem;list-style:none}.finance-entry-disclosure>summary::-webkit-details-marker{display:none}.finance-entry-disclosure>summary:after{float:right;color:var(--forest);content:"+";font-size:1.2rem}.finance-entry-disclosure[open]>summary:after{content:"−"}.finance-entry-disclosure>summary strong,.finance-entry-disclosure>summary small{display:block}.finance-entry-disclosure>summary small{color:var(--muted);margin-top:.2rem;font-size:.68rem}.finance-entry-disclosure .finance-forms{padding:0 1rem 1rem}.archive-toolbar{flex-wrap:wrap;gap:.55rem;display:flex}.archive-toolbar input{min-width:190px}.archive-toolbar select{min-width:150px}.inline-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;display:grid}.financial-line-chart{background:#ffffffc2;border:1px solid #cfdbd4;border-radius:14px;margin-top:1rem;padding:1rem}.chart-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.65rem;display:flex}.chart-heading h3{font-family:var(--font-display);color:var(--forest);margin:0;font-size:1.05rem}.chart-heading p{color:var(--muted);margin:.22rem 0 0;font-size:.68rem}.chart-active-summary{text-align:right;max-width:58%}.chart-active-summary strong,.chart-active-summary span{display:block}.chart-active-summary strong{color:var(--forest);font-size:.76rem}.chart-active-summary span{color:var(--muted);margin-top:.2rem;font-size:.67rem;line-height:1.4}.chart-scroll{width:100%;overflow-x:auto}.line-chart{width:100%;min-width:680px;height:auto;display:block;overflow:visible}.chart-plot{fill:#f9fbf8d1}.chart-grid-line{stroke:#dfe6e1;stroke-width:1px;vector-effect:non-scaling-stroke}.chart-axis-label{fill:#74847e;font-family:var(--font-body);font-size:11px}.chart-line{fill:none;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-point{stroke:#fff;stroke-width:2px;cursor:pointer;vector-effect:non-scaling-stroke}.chart-point:focus{stroke:var(--ink);stroke-width:3px;outline:none}.chart-point.active{stroke:var(--ink);stroke-width:2.5px}.chart-line.chart-invoiced{stroke:#285e50;fill:none}.chart-line.chart-paid{stroke:#78aa93;fill:none}.chart-line.chart-expense{stroke:#d69668;fill:none}.chart-point.chart-invoiced{stroke:#fff;fill:#285e50}.chart-point.chart-paid{stroke:#fff;fill:#78aa93}.chart-point.chart-expense{stroke:#fff;fill:#d69668}.chart-point.active,.chart-point:focus{stroke:var(--ink)}.bar-invoiced,.legend-invoiced:before{background:#285e50}.bar-paid,.legend-paid:before{background:#78aa93}.bar-expense,.legend-expense:before{background:#d69668}.series-legend{color:var(--muted);justify-content:flex-end;gap:1rem;margin-top:.55rem;font-size:.67rem;display:flex}.series-legend span:before{content:"";border-radius:99px;width:8px;height:8px;margin-right:.32rem;display:inline-block}.break-even{background:#ffffffa6;border:1px solid #c7dbd1;border-radius:13px;grid-template-columns:minmax(210px,.8fr) minmax(280px,1.5fr) minmax(190px,.7fr);align-items:center;gap:1rem;padding:1rem;display:grid}.break-even span,.break-even strong,.break-even small{display:block}.break-even span{color:var(--muted);font-size:.75rem}.break-even strong{font-family:var(--font-display);margin:.2rem 0;font-size:1.35rem;font-weight:500}.break-even small{color:#81918a;font-size:.67rem}.progress{background:#dfe8e2;border-radius:99px;height:12px;overflow:hidden}.progress span{border-radius:inherit;background:linear-gradient(90deg,#315f50,#77ab93);height:100%}.break-even-result{text-align:right}.finance-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.finance-summary>div{background:#f2f5f1;border-radius:11px;padding:.9rem}.finance-summary span,.finance-summary strong{display:block}.finance-summary span{color:var(--muted);font-size:.7rem}.finance-summary strong{font-family:var(--font-display);margin-top:.35rem;font-size:1.18rem;font-weight:500}.section-tabs{background:#ffffffc2;border:1px solid #d4ddd7;border-radius:12px;gap:.25rem;max-width:100%;margin-bottom:1rem;padding:.25rem;display:inline-flex}.section-tabs button{min-height:42px;color:var(--muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:.5rem;padding:.58rem .8rem;font-size:.76rem;font-weight:800;display:inline-flex}.section-tabs button span{background:#e7ece8;border-radius:99px;place-items:center;min-width:22px;min-height:22px;font-size:.64rem;display:grid}.section-tabs button.active{color:var(--brand-on-primary);background:var(--forest)}.section-tabs button.active span{color:var(--brand-on-secondary);background:var(--brand-secondary)}.sales-tabs{flex-wrap:wrap;display:flex}.sales-hero{background:linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary) 68%, white), #fffefaf7);overflow:hidden}.sales-hero .panel-heading{margin-bottom:1rem}.sales-hero h2{margin-top:.45rem}.sales-metrics{margin:0}.sales-overview-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:1rem;display:grid}.sales-flow-list{gap:.55rem;display:grid}.sales-flow-list button{min-height:66px;color:var(--ink);text-align:left;background:#fafbf8;border:1px solid #dce3de;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:.78rem .9rem;display:flex}.sales-flow-list button:hover{border-color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 45%, white)}.sales-flow-list strong,.sales-flow-list small{display:block}.sales-flow-list small{color:var(--muted);margin-top:.22rem;font-size:.69rem}.sales-flow-list b{min-width:32px;min-height:32px;color:var(--brand-on-secondary);background:var(--brand-secondary);border-radius:999px;place-items:center;font-size:.72rem;display:grid}.sales-total{text-align:right}.sales-total span,.sales-total strong{display:block}.sales-total span{color:var(--muted);font-size:.68rem}.sales-total strong{font-family:var(--font-display);margin-top:.2rem;font-size:1.2rem;font-weight:500}.sales-clients-intro{margin-bottom:1rem}.field-link{color:var(--forest);text-align:left;background:0 0;border:0;justify-self:start;padding:.15rem 0;font-size:.67rem;font-weight:800}.field-link.secondary-link{color:var(--muted);font-weight:700}.quick-create-panel{background:linear-gradient(145deg,#f1f7f3,#fff);border-color:#9fbaae;box-shadow:0 16px 42px #1d51411a}.duplicate-panel{background:#fffaf0;border:1px solid #e4c978;border-radius:14px;margin-top:1rem;padding:1rem}.duplicate-panel h3{font-family:var(--font-display);color:var(--forest);margin:0;font-size:1rem}.duplicate-panel .mini-list>div:last-child{border-bottom:0}.intake-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.intake-card{flex-direction:column;align-items:flex-start;min-height:240px;display:flex}.intake-card h2{margin-top:.9rem}.intake-card p{color:var(--muted);font-size:.82rem;line-height:1.55}.intake-card small{color:#7c8d87;margin-top:auto;line-height:1.5}.intake-card .button{margin-top:auto}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;width:1px;height:1px;position:absolute}.review-panel{border-color:#9fbaae;box-shadow:0 18px 48px #1d514121}.expense-register-head{background:linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary) 64%, white), #fffefaf7)}.expense-overview-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:.9rem;display:grid}.expense-overview-strip>span{background:#ffffffb8;border:1px solid #cad7cfbf;border-radius:11px;min-width:0;padding:.72rem .8rem}.expense-overview-strip strong,.expense-overview-strip small{display:block}.expense-overview-strip strong{font-family:var(--font-display);white-space:nowrap;font-size:1.12rem;font-weight:500}.expense-overview-strip small{color:var(--muted);margin-top:.18rem;font-size:.66rem}.expense-quick-views{flex-wrap:wrap;gap:.45rem;display:flex}.expense-quick-views button{min-height:36px;color:var(--muted);background:#ffffffbf;border:1px solid #d5dfd9;border-radius:999px;align-items:center;gap:.4rem;padding:.42rem .68rem;font-size:.69rem;font-weight:800;display:inline-flex}.expense-quick-views button.active{border-color:var(--forest);color:var(--brand-on-primary);background:var(--forest)}.expense-quick-views span{background:#ffffff2e;border-radius:99px;place-items:center;min-width:20px;min-height:20px;font-size:.62rem;display:grid}.entry-nature-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-bottom:1rem;display:grid}.entry-nature-switch button{color:var(--ink);text-align:left;background:#fafbf8;border:1px solid #d4ddd7;border-radius:12px;padding:.85rem}.entry-nature-switch button.active{border-color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 48%, white);box-shadow:0 0 0 2px color-mix(in srgb, var(--forest) 12%, transparent)}.entry-nature-switch strong,.entry-nature-switch small{display:block}.entry-nature-switch strong{font-size:.8rem}.entry-nature-switch small{color:var(--muted);margin-top:.28rem;font-size:.68rem;line-height:1.4}.check-row{cursor:pointer;background:#f0f7f3;border:1px solid #cbdcd3;border-radius:11px;align-items:flex-start;gap:.7rem;margin:.2rem 0 1rem;padding:.82rem;display:flex}.check-row input{width:auto;accent-color:var(--forest);margin-top:.15rem}.check-row strong,.check-row small{display:block}.check-row strong{font-size:.76rem}.check-row small{color:var(--muted);margin-top:.2rem;font-size:.68rem;line-height:1.4}.expense-ledger-toolbar{grid-template-columns:repeat(4,minmax(135px,1fr));align-items:end;gap:.65rem;margin-bottom:.9rem;display:grid}.ledger-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:.9rem;display:grid}.ledger-summary span{background:#f2f5f1;border-radius:10px;padding:.7rem}.ledger-summary strong,.ledger-summary small{display:block}.ledger-summary strong{font-family:var(--font-display);font-size:1.08rem;font-weight:500}.ledger-summary small{color:var(--muted);margin-top:.2rem;font-size:.65rem}.expense-ledger-table .status{margin-top:.3rem}.expense-ledger-table .archived-row,.recurring-table .inactive-row{opacity:.78;background:#f5f5f1}.toggle-switch{min-height:34px;color:var(--muted);background:#eef1ee;border:1px solid #c9d3cd;border-radius:999px;align-items:center;gap:.45rem;padding:.25rem .55rem .25rem .28rem;display:inline-flex}.toggle-switch>span{background:#a7b2ad;border-radius:99px;flex:none;width:30px;height:18px;transition:background .15s;position:relative}.toggle-switch>span:after{content:"";background:#fff;border-radius:99px;width:12px;height:12px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #142b2438}.toggle-switch b{font-size:.67rem}.toggle-switch.active{border-color:color-mix(in srgb, var(--forest) 45%, white);color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 70%, white)}.toggle-switch.active>span{background:var(--forest)}.toggle-switch.active>span:after{transform:translate(12px)}.removed-items{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.8rem}.removed-items summary{cursor:pointer;color:var(--muted);font-size:.72rem;font-weight:800}.removed-items .mini-list{background:#f5f5f1;border-radius:10px;margin:.65rem 0 0;padding:0 .75rem}.pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:.75rem;margin-top:1rem;font-size:.7rem;font-weight:700;display:flex}.bank-reconciliation-list{gap:.55rem;display:grid}.bank-reconciliation-row{border-bottom:1px solid #e4e8e4;grid-template-columns:minmax(180px,1fr) auto minmax(170px,.55fr) minmax(220px,.8fr) auto;align-items:center;gap:.75rem;padding:.75rem 0;display:grid}.bank-reconciliation-row:last-child{border-bottom:0}.bank-reconciliation-row span strong,.bank-reconciliation-row span small{display:block}.bank-reconciliation-row span small{color:var(--muted);margin-top:.2rem;font-size:.68rem}.accounting-hero{background:linear-gradient(145deg, color-mix(in srgb, var(--brand-secondary) 72%, white), #fffefaf7);overflow:hidden}.accounting-hero .status{margin-bottom:.6rem}.accounting-toolbar{background:#ffffffb3;border:1px solid #d4dfd9;border-radius:12px;grid-template-columns:minmax(145px,.35fr) minmax(210px,.55fr) minmax(280px,1.1fr);align-items:end;gap:.8rem;margin-bottom:1rem;padding:.9rem;display:grid}.year-closing{background:#ffffffb8;border:1px solid #cadbd2;border-radius:12px;grid-template-columns:minmax(280px,1fr) minmax(220px,.65fr) auto;align-items:end;gap:.8rem;margin-bottom:1rem;padding:.9rem;display:grid}.year-closing.closed{background:#fff8eb;border-color:#e3c792}.year-closing>div>strong,.year-closing>div>span{display:block}.year-closing>div>strong{margin:.45rem 0 .2rem;font-size:.78rem}.year-closing>div>span{color:var(--muted);font-size:.68rem;line-height:1.45}.accounting-basis-note{min-height:44px;color:var(--muted);align-content:center;gap:.24rem;font-size:.69rem;line-height:1.42;display:grid}.accounting-basis-note strong{color:var(--ink);font-size:.76rem}.accounting-metrics{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:1rem;margin-bottom:1rem}.accounting-metrics .metric{padding:1rem}.accounting-metrics .metric strong{font-size:clamp(1.15rem,2vw,1.65rem)}.estimate-net-metric{box-shadow:0 14px 34px #1e5f471f}.accounting-estimate{background:#ffffffb8;border:1px solid #c7dbd1;border-radius:13px;grid-template-columns:minmax(230px,1.2fr) minmax(155px,.62fr) minmax(170px,.72fr) minmax(160px,.62fr) auto;align-items:end;gap:.75rem;margin-bottom:1rem;padding:.9rem;display:grid}.accounting-estimate-intro strong,.accounting-estimate-intro p{display:block}.accounting-estimate-intro>strong{color:var(--forest);margin-top:.4rem;font-size:.8rem}.accounting-estimate-intro p{color:var(--muted);margin:.22rem 0 0;font-size:.67rem;line-height:1.42}.accounting-estimate-result{border-left:1px solid #d2ddd7;min-width:0;padding:.48rem .62rem}.accounting-estimate-result span,.accounting-estimate-result strong,.accounting-estimate-result small{display:block}.accounting-estimate-result span,.accounting-estimate-result small{color:var(--muted);font-size:.64rem}.accounting-estimate-result strong{font-family:var(--font-display);color:#a44840;white-space:nowrap;margin:.2rem 0;font-size:1.05rem;font-weight:500}.accounting-layout{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);align-items:start;gap:1rem;display:grid}.compliance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.compliance-card{background:#fafbf8;border:1px solid #dce3de;border-radius:12px;min-width:0;padding:.92rem}.compliance-card>div{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.compliance-card>div>small{color:var(--muted);text-align:right;font-size:.65rem}.compliance-card h3{margin:.75rem 0 .35rem;font-size:.88rem}.compliance-card p{color:var(--muted);margin-bottom:.65rem;font-size:.72rem;line-height:1.5}.compliance-card a{color:var(--forest);font-size:.7rem;font-weight:800}.check-list{margin-bottom:1rem;display:grid}.check-list>div{color:var(--muted);border-bottom:1px solid #e4e8e4;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 0;font-size:.75rem;display:flex}.check-list>div:last-child{border-bottom:0}.check-list strong{color:var(--ink);font-family:var(--font-display);font-size:1.28rem;font-weight:500}.accounting-previews,.accounting-summaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.accounting-previews .panel,.accounting-summaries .panel{min-width:0}.settings-tab-navigation{background:#ffffffd1;border:1px solid #cedbd4;border-radius:16px;gap:.85rem;margin-bottom:1rem;padding:.9rem;display:grid;box-shadow:0 12px 32px #173d340f}.settings-tab-intro{justify-content:space-between;align-items:end;gap:1rem;padding:0 .2rem;display:flex}.settings-tab-intro>div span,.settings-tab-intro>div strong{display:block}.settings-tab-intro>div span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.18rem;font-size:.63rem;font-weight:800}.settings-tab-intro>div strong{color:var(--forest);font-family:var(--font-display);font-size:1.12rem;font-weight:600}.settings-tab-intro>small{max-width:520px;color:var(--muted);text-align:right;font-size:.69rem;line-height:1.45}.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;display:grid}.settings-tabs button{min-width:0;min-height:68px;color:var(--muted);text-align:left;background:#f3f6f3;border:1px solid #0000;border-radius:11px;align-content:center;gap:.24rem;padding:.7rem .78rem;transition:border-color .16s,background .16s,color .16s,transform .16s;display:grid;position:relative}.settings-tabs button:hover{color:var(--forest);background:#fff;border-color:#c5d4cc;transform:translateY(-1px)}.settings-tabs button:focus-visible{outline:3px solid color-mix(in srgb, var(--forest) 28%, transparent);outline-offset:2px}.settings-tabs button strong,.settings-tabs button small{text-overflow:ellipsis;display:block;overflow:hidden}.settings-tabs button strong{color:inherit;font-size:.75rem;line-height:1.25}.settings-tabs button small{font-size:.62rem;line-height:1.35}.settings-tabs button.active{border-color:var(--forest);color:var(--brand-on-primary);background:var(--forest);box-shadow:0 8px 18px #173d3429}.settings-tabs button.active small{color:color-mix(in srgb, var(--brand-on-primary) 76%, transparent)}.settings-tab-panel{animation:.18s both settings-panel-in}.settings-global-message{margin-top:0}@keyframes settings-panel-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.settings-divider{background:var(--line);height:1px;margin:1.4rem 0}.settings-subheading{margin-bottom:.8rem}.tax-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.tax-mode-options>label{cursor:pointer;background:#fff;border:1px solid #d2dad5;border-radius:12px;gap:.7rem;padding:.9rem;display:flex}.tax-mode-options>label.active{border-color:var(--forest);box-shadow:0 0 0 2px color-mix(in srgb, var(--forest) 18%, transparent)}.tax-mode-options input{width:auto;accent-color:var(--forest);margin:.15rem 0 0}.tax-mode-options strong,.tax-mode-options small{display:block}.tax-mode-options strong{font-size:.82rem}.tax-mode-options small{color:var(--muted);margin-top:.28rem;font-size:.7rem;line-height:1.45}.compact-settings-grid{align-items:end}.settings-help{color:#5c6f68;background:#f4f6f3;border-radius:10px;align-self:stretch;padding:.8rem;font-size:.72rem;line-height:1.55}.settings-help a{color:var(--forest);font-weight:800}.profile-change-guard{background:#fff8ea;border:1px solid #d9a65f;border-radius:14px;gap:.9rem;margin-top:1rem;padding:1rem;display:grid}.profile-change-guard .panel-heading{margin:0}.profile-change-guard .panel-heading p,.profile-change-guard>p{color:#765328;font-size:.72rem;line-height:1.5}.profile-change-confirm{background:#ffffff9e;border:1px solid #96611c40;border-radius:10px;align-items:flex-start;gap:.7rem;padding:.8rem;display:flex}.profile-change-confirm input{width:auto;accent-color:var(--forest);margin-top:.2rem}.profile-change-confirm strong,.profile-change-confirm small{display:block}.profile-change-confirm small{color:#765328;margin-top:.25rem;line-height:1.45}.profile-history-strip{border:1px solid var(--line);background:#f7f9f6;border-radius:12px;grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);gap:1rem;margin-top:1rem;padding:.9rem;display:grid}.profile-history-strip>div>strong,.profile-history-strip>div>small,.profile-version-list b,.profile-version-list small{display:block}.profile-history-strip>div>small,.profile-version-list small{color:var(--muted);margin-top:.25rem;font-size:.67rem;line-height:1.4}.profile-version-list{flex-wrap:wrap;gap:.55rem;display:flex}.profile-version-list>span{background:#fff;border-radius:9px;flex:1;min-width:min(240px,100%);padding:.65rem}.profile-version-list b{color:var(--forest);font-size:.74rem}.automation-lock{background:#f7f9f6;border:1px solid #d7ddd9;border-radius:10px;align-items:flex-start;gap:.65rem;padding:.78rem;display:flex}.automation-lock input{width:auto;accent-color:var(--forest);margin-top:.2rem}.automation-lock strong,.automation-lock small{display:block}.automation-lock small{color:var(--muted);margin-top:.25rem;line-height:1.45}.company-timeline-panel{margin-top:18px}.company-timeline{gap:0;display:grid}.company-timeline article{border-bottom:1px solid var(--line);grid-template-columns:16px minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 0;display:grid;position:relative}.company-timeline article:last-child{border-bottom:0}.company-timeline article:before{content:"";background:var(--line);width:1px;position:absolute;top:28px;bottom:-12px;left:7px}.company-timeline article:last-child:before{display:none}.timeline-dot{z-index:1;background:#91a49d;border-radius:999px;width:10px;height:10px;margin-top:5px;box-shadow:0 0 0 3px #fff}.timeline-dot.proposal{background:#b7791f}.timeline-dot.client,.timeline-dot.paid{background:var(--forest)}.company-timeline strong,.company-timeline span{display:block}.company-timeline span,.company-timeline time{color:var(--muted);margin-top:2px;font-size:.84rem}.company-timeline time{white-space:nowrap}.sequence-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.sequence-card{border:1px solid var(--line);background:#f7f9f6;border-radius:14px;padding:16px}.sequence-card h3{margin:0 0 12px}.sequence-card code{background:var(--forest);color:var(--brand-on-primary);border-radius:8px;margin-top:10px;padding:9px 11px;font:700 .82rem/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;display:block}.readiness-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.readiness-list>div{border:1px solid var(--line);background:#f7f9f6;border-radius:12px;grid-template-columns:28px 1fr;gap:10px;padding:12px;display:grid}.readiness-list>div>span{border-radius:999px;place-items:center;width:25px;height:25px;font-weight:800;display:grid}.readiness-list .ready>span{color:#166534;background:#dcfce7}.readiness-list .pending>span{color:#8a5b00;background:#fff4d6}.readiness-list strong,.readiness-list small,.tax-review-box strong,.tax-review-box small{display:block}.readiness-list small,.tax-review-box small{color:var(--muted);margin-top:3px}.tax-review-box{border:1px solid var(--line);background:#f7f9f6;border-radius:14px;gap:14px;margin-top:14px;padding:16px;display:grid}.tax-review-box>label,.demo-mode-toggle{align-items:flex-start;gap:10px;display:flex}.tax-review-box input[type=checkbox]{width:auto;accent-color:var(--forest);margin-top:3px}.branding-grid{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:1rem;margin-bottom:1.2rem;display:grid}.branding-controls{gap:.9rem;display:grid}.color-control{grid-template-columns:54px minmax(0,1fr);gap:.55rem;display:grid}.color-control input[type=color]{cursor:pointer;height:43px;padding:.24rem}.align-start{justify-self:start}.brand-preview{border:1px solid #d7ddd9;border-radius:14px;align-items:center;gap:.85rem;min-height:210px;padding:1.2rem;display:flex;position:relative;overflow:hidden}.brand-preview-logo{z-index:1;width:58px;height:58px;font-family:var(--font-display);border:1px solid;border-radius:14px;place-items:center;font-size:.85rem;display:grid;overflow:hidden}.brand-preview-logo img{object-fit:contain;background:#fffffff0;width:100%;height:100%}.brand-preview>div{z-index:1}.brand-preview strong,.brand-preview span{display:block}.brand-preview span{opacity:.72;margin-top:.3rem;font-size:.72rem}.brand-preview i{background:var(--preview-secondary);border-radius:50%;width:190px;height:140px;position:absolute;bottom:-55px;right:-30px}.storage-paths{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:.8rem;display:grid}.storage-paths>div,.archive-collection-grid>div{border:1px solid var(--line);background:#f7f9f6;border-radius:11px;min-width:0;padding:.8rem}.storage-paths strong,.storage-paths code,.storage-paths small,.archive-collection-grid span,.archive-collection-grid strong,.archive-collection-grid small{display:block}.storage-paths code{color:var(--forest);text-overflow:ellipsis;white-space:nowrap;margin:.35rem 0;font-size:.66rem;overflow:hidden}.storage-paths small,.archive-collection-grid small{color:var(--muted);overflow-wrap:anywhere;font-size:.65rem;line-height:1.4}.archive-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin-bottom:.9rem;display:grid}.archive-collection-grid span{color:var(--muted);font-size:.67rem}.archive-collection-grid strong{font-family:var(--font-display);margin:.3rem 0;font-size:1.02rem;font-weight:500}.help-launcher{z-index:82;border:1px solid color-mix(in srgb, var(--forest) 82%, black);min-height:52px;color:var(--brand-on-primary);background:var(--forest);cursor:pointer;font:750 .76rem/1 var(--font-body);border-radius:999px;align-items:center;gap:.55rem;padding:.72rem 1rem;transition:transform .16s,box-shadow .16s;display:inline-flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 32px #0f2d273d}.help-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 38px #0f2d274d}.help-launcher:focus-visible,.help-close:focus-visible,.help-topic-list button:focus-visible,.guided-tour-popover:focus-visible{outline:3px solid color-mix(in srgb, var(--forest) 35%, white);outline-offset:3px}.help-launcher svg,.help-close svg,.help-search svg,.help-overview-tour svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:21px;height:21px}.help-launcher.active{color:var(--forest);background:#fff}.help-center-open{overflow:hidden}.help-panel-backdrop{z-index:78;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#1327221f;border:0;position:fixed;inset:0}.help-panel{z-index:81;border:1px solid color-mix(in srgb, var(--forest) 17%, white);width:min(480px,100vw - 32px);max-height:min(760px,100vh - 116px);color:var(--ink);background:#fff;border-radius:20px;flex-direction:column;display:flex;position:fixed;bottom:88px;right:24px;overflow:hidden;box-shadow:0 28px 80px #0f2d2740}.help-panel-header{color:var(--brand-on-primary);background:linear-gradient(145deg, var(--forest-deep), var(--forest));justify-content:space-between;gap:1rem;padding:1.2rem 1.2rem .95rem;display:flex}.help-panel-header span{letter-spacing:.055em;opacity:.76;text-transform:uppercase;margin-bottom:.35rem;font-size:.64rem;font-weight:800;display:block}.help-panel-header h2{color:inherit;font-family:var(--font-display);margin:0;font-size:1.7rem;font-weight:500}.help-panel-header p{max-width:340px;color:inherit;opacity:.8;margin:.35rem 0 0;font-size:.73rem;line-height:1.45}.help-close{width:40px;height:40px;color:inherit;background:var(--brand-overlay);cursor:pointer;border:0;border-radius:12px;flex:none;place-items:center;display:grid}.help-overview-tour{border:1px solid color-mix(in srgb, var(--forest) 24%, white);color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 45%, white);cursor:pointer;text-align:left;border-radius:13px;align-items:center;gap:.75rem;margin:.9rem 1rem 0;padding:.75rem .85rem;display:flex}.help-overview-tour span,.help-overview-tour strong,.help-overview-tour small{display:block}.help-overview-tour span{flex:1}.help-overview-tour strong{font-size:.78rem}.help-overview-tour small{color:var(--muted);margin-top:.18rem;font-size:.64rem}.help-search{border:1px solid var(--line);background:#f8faf8;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;margin:.72rem 1rem;padding:0 .75rem;display:grid}.help-search svg{width:17px;height:17px;color:var(--muted)}.help-search input{min-width:0;box-shadow:none;background:0 0;border:0;padding:.68rem 0}.help-search input:focus{outline:0}.help-panel-body{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-y:auto}.help-topic-detail{border:1px solid var(--line);background:#fffdf8;border-radius:15px;margin:0 1rem .85rem;padding:1rem}.help-eyebrow{color:var(--forest);letter-spacing:.055em;text-transform:uppercase;font-size:.61rem;font-weight:800}.help-topic-detail h3{font-family:var(--font-display);margin:.3rem 0 .45rem;font-size:1.28rem;font-weight:550}.help-topic-detail p{color:var(--muted);margin:0;font-size:.72rem;line-height:1.5}.help-topic-detail ul{gap:.45rem;margin:.8rem 0 0;padding-left:1.1rem;display:grid}.help-topic-detail li{padding-left:.12rem;font-size:.69rem;line-height:1.45}.help-topic-detail li::marker{color:var(--forest)}.help-detail-label{color:var(--forest);letter-spacing:.045em;text-transform:uppercase;margin:.9rem 0 0;font-size:.62rem;font-weight:850}.help-key-points{margin-top:.55rem!important}.help-rich-content{gap:.65rem;margin-top:.9rem;display:grid}.help-rich-content details{border:1px solid var(--line);background:#fff;border-radius:11px;overflow:hidden}.help-rich-content summary{color:var(--forest);cursor:pointer;padding:.72rem 2.2rem .72rem .78rem;font-size:.69rem;font-weight:800;list-style:none;position:relative}.help-rich-content summary::-webkit-details-marker{display:none}.help-rich-content summary:after{content:"+";font-size:1rem;position:absolute;top:50%;right:.8rem;transform:translateY(-50%)}.help-rich-content details[open] summary:after{content:"−"}.help-guide-list{gap:.5rem;padding:0 .7rem .75rem;display:grid}.help-guide-list article{border-left:3px solid color-mix(in srgb, var(--forest) 34%, white);padding:.15rem 0 .15rem .65rem}.help-guide-list strong{font-size:.68rem;display:block}.help-guide-list p{margin-top:.18rem;font-size:.65rem}.help-example{background:#fff8ed;border:1px solid #f1dcca;border-radius:11px;padding:.78rem}.help-example strong{color:#8a5426;margin-bottom:.28rem;font-size:.66rem;display:block}.help-example p{color:#6f5846;font-size:.66rem}.help-rich-content details>ul{margin:0 0 .75rem;padding:0 1rem 0 1.75rem}.help-rich-content dl{gap:0;margin:0;padding:0 .75rem .75rem;display:grid}.help-rich-content dl>div{border-top:1px solid #e7ece8;padding:.52rem 0}.help-rich-content dt{color:var(--ink);font-size:.66rem;font-weight:800}.help-rich-content dd{color:var(--muted);margin:.16rem 0 0;font-size:.63rem;line-height:1.42}.help-topic-actions{flex-wrap:wrap;gap:.55rem;margin-top:.9rem;display:flex}.help-topic-actions .button{flex:1;min-height:38px;padding:.55rem .72rem;font-size:.67rem}.help-tour-length{color:var(--muted);text-align:center;margin-top:.45rem;font-size:.61rem;display:block}.help-topic-list{gap:.42rem;padding:0 1rem 1rem;display:grid}.help-topic-list button{width:100%;color:var(--ink);cursor:pointer;text-align:left;background:#f7f9f6;border:1px solid #0000;border-radius:11px;gap:.2rem;padding:.7rem .8rem;display:grid}.help-topic-list button:hover,.help-topic-list button.active{border-color:color-mix(in srgb, var(--forest) 25%, white);background:color-mix(in srgb, var(--brand-secondary) 42%, white)}.help-topic-list span{font-size:.72rem;font-weight:780}.help-topic-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;line-height:1.35;overflow:hidden}.help-empty{color:var(--muted);text-align:center;margin:0;padding:1rem;font-size:.72rem}.guided-tour{z-index:200;position:fixed;inset:0}.guided-tour.centered:before{content:"";-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a1d19b8;position:absolute;inset:0}.guided-tour-highlight{z-index:201;box-shadow:0 0 0 9999px #0a1d19b8, 0 0 0 5px color-mix(in srgb, var(--brand-secondary) 78%, white);pointer-events:none;border:2px solid #fff;border-radius:14px;transition:inset .22s,width .22s,height .22s;position:fixed}.guided-tour-dismiss{z-index:204;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0a1d19b3;border:1px solid #ffffff6b;border-radius:999px;padding:.58rem .82rem;font-size:.67rem;font-weight:750;position:fixed;top:18px;right:20px}.guided-tour-popover{z-index:203;border:1px solid color-mix(in srgb, var(--forest) 18%, white);width:min(390px,100vw - 32px);color:var(--ink);background:#fff;border-radius:18px;padding:1.15rem;position:fixed;box-shadow:0 22px 65px #06181457}.guided-tour.centered .guided-tour-popover{top:50%;left:50%;transform:translate(-50%,-50%)}.guided-tour-progress{color:var(--forest);letter-spacing:.045em;text-transform:uppercase;justify-content:space-between;align-items:center;margin-bottom:.75rem;font-size:.63rem;font-weight:800;display:flex}.guided-tour-progress strong{background:color-mix(in srgb, var(--brand-secondary) 60%, white);border-radius:999px;padding:.24rem .48rem}.guided-tour-popover h2{font-family:var(--font-display);margin:0;font-size:1.55rem;font-weight:550}.guided-tour-popover p{color:var(--muted);margin:.55rem 0 1rem;font-size:.76rem;line-height:1.55}.guided-tour-actions{justify-content:space-between;gap:.65rem;display:flex}.guided-tour-actions .button{min-width:112px;min-height:42px}@media (width<=1120px){.topbar{flex-wrap:wrap;align-items:flex-start}.topbar-actions{max-width:100%}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.split-layout,.companies-layout{grid-template-columns:1fr}.company-index{position:static}.company-subgrid,.finance-forms,.finance-lists,.accounting-layout,.accounting-previews,.accounting-summaries,.storage-paths{grid-template-columns:1fr}.accounting-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-history-strip{grid-template-columns:1fr}.accounting-estimate{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-estimate-intro{grid-column:1/-1}.archive-collection-grid,.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.year-closing{grid-template-columns:1fr;align-items:stretch}.expense-ledger-toolbar{grid-template-columns:repeat(4,minmax(0,1fr))}.expense-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-reconciliation-row{grid-template-columns:minmax(180px,1fr) auto}.bank-reconciliation-row select,.bank-reconciliation-row .table-actions{grid-column:1/-1}.sales-overview-grid{grid-template-columns:1fr}.payment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.break-even{grid-template-columns:1fr}.break-even-result{text-align:left}.quote-line{grid-template-columns:.8fr 1.3fr 1.8fr}.line-numbers{grid-column:2/3}.line-actions{grid-column:3/4;padding-top:0}.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.app-shell{display:block}body.mobile-nav-active{overflow:hidden}.mobile-appbar{z-index:55;min-height:64px;color:var(--brand-on-primary);background:var(--forest);justify-content:space-between;align-items:center;gap:.8rem;padding:.62rem .8rem;display:flex;position:sticky;top:0;box-shadow:0 7px 22px #0f2d2729}.mobile-appbar-identity{align-items:center;gap:.68rem;min-width:0;display:flex}.mobile-appbar-identity .brand-mark{border-radius:12px;flex:none;width:40px;height:40px}.mobile-appbar-identity strong,.mobile-appbar-identity span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.mobile-appbar-identity strong{max-width:60vw;font-size:.86rem}.mobile-appbar-identity span{opacity:.72;max-width:60vw;margin-top:.14rem;font-size:.7rem}.mobile-menu-button{width:44px;height:44px;color:inherit;background:var(--brand-overlay);border:1px solid;border-radius:13px;flex:none;place-items:center;display:grid}.mobile-menu-button .nav-icon{width:24px;height:24px}.mobile-nav-backdrop{z-index:75;visibility:hidden;opacity:0;background:#0a1c1885;border:0;transition:opacity .18s,visibility .18s;display:block;position:fixed;inset:0}.mobile-nav-backdrop.visible{visibility:visible;opacity:1}.sidebar{z-index:85;width:min(86vw,340px);height:100dvh;padding:max(1rem, env(safe-area-inset-top)) .9rem max(1rem, env(safe-area-inset-bottom));box-shadow:none;transition:transform .19s,box-shadow .19s;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(-105%)}.sidebar.mobile-open{transform:translate(0);box-shadow:18px 0 44px #05161247}.sidebar .brand{gap:.68rem;padding:.2rem .45rem 1rem}.sidebar .brand-mark{border-radius:12px;width:40px;height:40px}.sidebar .brand strong{text-overflow:ellipsis;white-space:nowrap;max-width:210px;font-size:.88rem;overflow:hidden}.sidebar .brand span{display:block}.mobile-drawer-heading{letter-spacing:.045em;opacity:.86;text-transform:uppercase;border-top:1px solid;justify-content:space-between;align-items:center;margin:0 .32rem .45rem;padding-top:.68rem;font-size:.72rem;font-weight:700;display:flex}.mobile-drawer-heading button{width:42px;height:42px;color:inherit;background:var(--brand-overlay);border:0;border-radius:12px;place-items:center;display:grid}.sidebar nav{gap:.3rem;display:grid}.sidebar nav button{min-height:50px;padding:.72rem .85rem;font-size:.86rem}.sidebar nav button.active{box-shadow:inset 3px 0 var(--brand-secondary)}.sidebar-foot{display:block}main{padding:1.05rem .85rem calc(6rem + env(safe-area-inset-bottom))}.topbar{justify-content:stretch;align-items:flex-start;gap:.9rem;margin-bottom:1rem;display:grid}.topbar-title{display:none}.topbar-actions{grid-template-columns:minmax(0,1fr) auto;justify-self:stretch;width:100%;display:grid}.global-search{width:100%}.topbar .button{flex:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.quote-footer,.finance-summary,.payment-form,.period-picker,.comparison-picker,.comparison-grid,.branding-grid,.tax-mode-options,.accounting-toolbar,.compliance-grid,.sequence-settings-grid,.readiness-list,.entry-nature-switch,.security-facts,.security-check-grid{grid-template-columns:1fr}.completeness,.comparison-heading{display:grid}.archive-toolbar{width:100%}.archive-toolbar input,.archive-toolbar select{width:100%;min-width:0}.expense-ledger-toolbar,.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-adder{grid-template-columns:1fr}.catalog-adder .button{width:100%}.quote-line{grid-template-columns:1fr}.line-type,.line-actions{padding-top:0}.line-numbers,.line-actions{grid-column:auto}.lead-row,.product-row,.lead-signal-card{align-items:flex-start}.lead-row-meta,.product-actions{justify-items:end;display:grid}.table-wrap{overscroll-behavior-inline:contain;margin-right:-.35rem;padding-bottom:.3rem}.table-wrap table{min-width:680px}.panel-heading,.collection-toolbar{flex-wrap:wrap}.collection-toolbar input{flex-basis:100%}.session-management{display:grid}.session-management .button{width:100%}.security-posture-card{align-items:flex-start}.panel-heading>.button,.panel-heading>.file-button{width:100%}.intake-card{min-height:190px}.section-tabs{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.sales-tabs{display:grid}.section-tabs button{justify-content:center}.accounting-hero .export-actions{grid-template-columns:1fr;width:100%;display:grid}.accounting-hero .export-actions .button{width:100%}.accounting-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-estimate{grid-template-columns:1fr}.accounting-estimate-intro{grid-column:auto}.accounting-estimate-result{border-top:1px solid #d2ddd7;border-left:0;padding:.7rem 0 0}.chart-heading{display:grid}.chart-active-summary{text-align:left;max-width:none}.financial-line-chart{padding:.8rem}.line-chart{min-width:620px}.settings-tab-navigation{padding:.78rem;overflow:hidden}.settings-tab-intro{align-items:start;gap:.35rem;display:grid}.settings-tab-intro>small{text-align:left;max-width:none}.settings-tabs{scrollbar-width:thin;scroll-snap-type:x proximity;margin:0 -.2rem;padding:.18rem .2rem .4rem;display:flex;overflow-x:auto}.settings-tabs button{scroll-snap-align:start;flex:0 0 184px;min-width:184px}.help-launcher{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));min-height:46px;padding:.64rem .78rem}.help-panel{right:8px;bottom:calc(76px + env(safe-area-inset-bottom));width:calc(100vw - 16px);max-height:calc(100dvh - 94px - env(safe-area-inset-bottom));border-radius:17px}.help-panel-header{padding:1rem 1rem .85rem}.help-panel-header h2{font-size:1.45rem}.help-overview-tour,.help-topic-detail,.help-search{margin-left:.78rem;margin-right:.78rem}.help-topic-list{padding-left:.78rem;padding-right:.78rem}.guided-tour-popover,.guided-tour.centered .guided-tour-popover{right:10px;bottom:calc(74px + env(safe-area-inset-bottom));transform:none;width:auto!important;top:auto!important;left:10px!important}.guided-tour-dismiss{top:max(12px, env(safe-area-inset-top));right:12px}.guided-tour-highlight{border-radius:10px}.mobile-tabbar{z-index:60;padding:.28rem .2rem max(.3rem, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;border-top:1px solid #173d3424;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -9px 28px #0f2d271c}.mobile-tabbar button{min-width:0;min-height:58px;color:var(--muted);background:0 0;border:0;border-radius:11px;align-content:center;place-items:center;gap:.2rem;font-size:.65rem;font-weight:650;line-height:1.05;display:grid}.mobile-tabbar button.active{color:var(--forest);background:color-mix(in srgb, var(--brand-secondary) 58%, white)}.mobile-tabbar .nav-icon{width:21px;height:21px}}@media (width<=480px){.metrics,.intake-grid,.section-tabs{grid-template-columns:1fr}.collection-toolbar{display:grid}.collection-toolbar .filter-switch{width:100%}.collection-toolbar .filter-switch button{flex:1}.expense-ledger-toolbar,.ledger-summary{grid-template-columns:1fr}.expense-overview-strip{grid-template-columns:1fr 1fr}.archive-collection-grid{grid-template-columns:1fr}.expense-ledger-table,.recurring-table{min-width:0!important}.expense-ledger-table thead,.recurring-table thead{display:none}.expense-ledger-table tbody,.recurring-table tbody{gap:.75rem;display:grid}.expense-ledger-table tr,.recurring-table tr{border:1px solid var(--line);background:#fff;border-radius:12px;display:grid;overflow:hidden}.expense-ledger-table td,.recurring-table td{text-align:left;white-space:normal;border-bottom:1px solid #e8ece8;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:.65rem;padding:.62rem .72rem;display:grid}.expense-ledger-table td:last-child,.recurring-table td:last-child{border-bottom:0}.expense-ledger-table td:before,.recurring-table td:before{color:var(--muted);content:attr(data-label);letter-spacing:.035em;text-transform:uppercase;font-size:.61rem;font-weight:800}.expense-ledger-table td>*,.recurring-table td>*{min-width:0}.expense-ledger-table .status{margin-top:0}.expense-ledger-table .table-actions,.recurring-table .table-actions{gap:.9rem}.expense-quick-views{grid-template-columns:1fr;display:grid}.expense-quick-views button,.pagination{justify-content:space-between}.section-tabs button{text-align:left;justify-content:space-between;min-height:48px}.topbar-actions{grid-template-columns:1fr}.topbar .context-action{width:100%}.panel{padding:.95rem}.lead-row,.product-row,.lead-signal-card{display:grid}.lead-signal-card .table-actions{justify-content:flex-start}.lead-row-meta,.product-actions{text-align:left;justify-items:start}.brand-preview{min-height:175px}.settings-tabs button{flex-basis:164px;min-width:164px;min-height:64px;padding:.62rem .68rem}.settings-actions .button{width:100%}.mobile-appbar-identity strong,.mobile-appbar-identity span{max-width:56vw}.company-timeline article{grid-template-columns:16px minmax(0,1fr)}.company-timeline time{grid-column:2;margin-top:0}}@media (prefers-reduced-motion:reduce){.sidebar,.mobile-nav-backdrop,.help-launcher,.guided-tour-highlight,.settings-tabs button{transition:none}.settings-tab-panel{animation:none}}
