:root{color:#0f172a;background:#f1f5f9;font-family:Inter,system-ui,sans-serif}body{margin:0}.shell{flex-wrap:wrap;min-height:100vh;display:flex}.sidebar{color:#e2e8f0;background:#0f172a;flex-direction:column;flex:240px;justify-content:space-between;min-width:220px;max-width:260px;display:flex}.brand{letter-spacing:.02em;border-bottom:1px solid #1e293b;padding:24px 24px 20px;font-size:20px;font-weight:700}.brand-accent{color:#60a5fa}.nav-list{flex-direction:column;gap:2px;margin:16px 0 0;padding:0;list-style:none;display:flex}.nav-item{box-sizing:border-box;color:#e2e8f0;justify-content:space-between;align-items:center;min-height:44px;padding:12px 24px;text-decoration:none;display:flex}.nav-item--active{color:#fff;background:#2563eb;font-weight:600}.nav-item--disabled{color:#94a3b8}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.badge{border:1px solid #334155;border-radius:999px;padding:2px 8px;font-size:11px}.sidebar-footer{color:#94a3b8;border-top:1px solid #1e293b;padding:20px 24px;font-size:12px}.content{flex-direction:column;flex:999 560px;min-width:0;display:flex}.topbar{background:#fff;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:14px 32px;display:flex}.topbar-user{align-items:center;gap:16px;display:flex}.user-name{font-weight:600}.user-role{color:#475569;font-weight:400}.button:disabled{cursor:progress;background:#64748b}.topbar h1{margin:0;font-size:18px;font-weight:600}.main{max-width:880px;padding:32px}.muted{color:#475569;margin:0}.button{font:inherit;color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;min-height:44px;padding:12px 20px;font-weight:600}.button:focus-visible,.nav-item:focus-visible{outline-offset:2px;outline:3px solid #93c5fd}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}[data-test-mode="1"] *{transition:none!important;animation:none!important}.auth-page{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:24px;min-height:100vh;padding:24px;display:flex}.auth-brand{letter-spacing:.04em;font-size:20px;font-weight:800}.brand-accent-dark{color:#1d4ed8}.auth-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:18px;width:100%;max-width:420px;padding:32px;display:flex}.auth-card h1{margin:0;font-size:22px}.auth-card .button{width:100%}.form-alert{color:#991b1b;background:#fee2e2;border-radius:8px;padding:12px 14px}.field{flex-direction:column;gap:6px;display:flex}.field label{font-size:14px;font-weight:600}.input{font:inherit;box-sizing:border-box;border:1px solid #94a3b8;border-radius:8px;min-height:44px;padding:10px 12px}.input:focus-visible{outline-offset:1px;outline:3px solid #93c5fd}.input--error{border-color:#b91c1c}.field-hint{color:#475569;font-size:13px}.field-error{color:#b91c1c;font-size:13px}.auth-footer{color:#475569;text-align:center;margin:0}.auth-footer a{color:#1d4ed8;font-weight:600}.page-loading{color:#475569;padding:32px}.team{flex-direction:column;gap:24px;display:flex}.card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:16px;padding:24px;display:flex}.card h2{margin:0;font-size:18px}.invite-form{flex-wrap:wrap;align-items:flex-start;gap:16px;display:flex}.invite-form .field{flex:220px}.invite-form .button{margin-top:26px}.link-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;flex-direction:column;gap:10px;padding:16px;display:flex}.link-row{flex-wrap:wrap;gap:12px;display:flex}.link-row .input{flex:320px}.form-ok{color:#166534;background:#dcfce7;border-radius:8px;padding:12px 14px}.table-box{position:relative;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{text-align:left;color:#475569;border-bottom:1px solid #e2e8f0;padding:10px 8px;font-weight:600}.table td{border-bottom:1px solid #f1f5f9;padding:6px 8px}.table .actions{text-align:right;white-space:nowrap}.table .actions .button+.button{margin-left:8px}.input--compact{background:#fff;padding:8px 10px}.muted-inline{color:#475569}.button--danger{color:#b91c1c;background:#fff;border:1px solid #cbd5e1;padding:8px 12px}.button--danger-solid{color:#fff;background:#b91c1c;padding:8px 16px}.confirm-row{background:#fef2f2}.confirm{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-weight:600;display:flex}.confirm-actions{gap:8px;display:flex}.customers,.customer-form,.customer-form form{flex-direction:column;gap:16px;display:flex}.customer-form-page{max-width:720px}.customer-history{margin-top:16px}.customer-history>p{margin:0}.customer-history>.button{align-self:flex-start}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.card-head h2{margin:0}.customers-toolbar{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.customers-search{flex:320px}.toggle{border:1px solid #cbd5e1;border-radius:8px;display:flex;overflow:hidden}.toggle-button{font:inherit;color:#0f172a;cursor:pointer;background:#fff;border:0;min-height:44px;padding:8px 16px}.toggle-button[aria-pressed=true]{color:#fff;background:#2563eb;font-weight:600}.toggle-button:focus-visible,.tag-remove:focus-visible{outline-offset:2px;outline:3px solid #1d4ed8}.strong-link{font-weight:600}.tag{color:#1e3a8a;background:#e0e7ff;border-radius:999px;align-items:center;gap:4px;margin:2px 4px 2px 0;padding:2px 10px;font-size:12px;display:inline-flex}.tag-box{box-sizing:border-box;border:1px solid #94a3b8;border-radius:8px;flex-wrap:wrap;align-items:center;gap:4px;min-height:44px;padding:6px 8px;display:flex}.tag-input{font:inherit;border:0;outline:none;flex:120px;min-height:32px}.tag-remove{font:inherit;color:#1e3a8a;cursor:pointer;background:0 0;border:0;min-width:24px;min-height:24px}.field-label{font-size:14px;font-weight:600}.field-row{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.form-actions{gap:12px;display:flex}.archived-note{color:#78350f;background:#fef3c7;border-radius:8px;margin:0;padding:12px 16px}.tag-box:focus-within{outline-offset:1px;outline:3px solid #2563eb}a.button{box-sizing:border-box;justify-content:center;align-items:center;min-height:44px;text-decoration:none;display:inline-flex}.input[readonly]{background:#f1f5f9;border-style:dashed}.button--secondary{color:#0f172a;background:#fff;border:1px solid #94a3b8}.button--secondary:disabled{color:#475569;cursor:not-allowed;background:#f1f5f9}.tag-box--readonly{background:#f1f5f9;border-style:dashed}.tag-box.input--error{border-color:#b91c1c}.pipeline{flex-direction:column;gap:16px;display:flex}.pipeline-summary{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.table .amount,.input.amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.status-badge{white-space:nowrap;color:#334155;background:#f1f5f9;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:600;display:inline-block}.status-badge--sent{color:#1e40af;background:#dbeafe}.status-badge--in_revision{color:#92400e;background:#fef3c7}.status-badge--lost{color:#991b1b;background:#fee2e2}.status-badge--abandoned{color:#334155;background:#e2e8f0}.quote-detail{flex-direction:column;gap:16px;display:flex}.quote-detail h2:focus{outline:none}.quote-customer{color:#334155;margin:0}.quote-amount{font-variant-numeric:tabular-nums;margin:0;font-size:20px;font-weight:700}.form-ok-inline{color:#166534;margin:0;font-weight:600}.form-ok-inline:empty{display:none}.revision-form{border-top:1px solid #e2e8f0;flex-direction:column;gap:16px;padding-top:16px;display:flex}.revision-form h3{margin:0;font-size:16px}textarea.input{font:inherit;resize:vertical}.note-cell{white-space:pre-line}.picker{position:relative}.picker-status:empty{margin-top:-6px}.picker-list{background:#fff;border:1px solid #cbd5e1;border-radius:8px;max-height:240px;margin:4px 0 0;padding:4px 0;list-style:none;overflow-y:auto}.picker-option,.picker-empty{box-sizing:border-box;min-height:44px;padding:10px 12px}.picker-option{cursor:pointer}.picker-option--active,.picker-option:hover{background:#dbeafe}.picker-empty{color:#475569}.dialog-backdrop{background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{width:min(480px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.dialog form{flex-direction:column;gap:16px;display:flex}.dialog-warning{color:#991b1b;margin:0;font-weight:600}.reason-group{border:0;margin:0;padding:0}.reason-group legend{margin-bottom:8px;font-weight:600}.radio{align-items:center;gap:8px;min-height:44px;display:flex}.status-badge--won,.status-badge--active{color:#14532d;background:#dcfce7}.status-badge--completed{color:#1e40af;background:#dbeafe}.status-badge--cancelled{color:#991b1b;background:#fee2e2}.facts{max-width:560px;margin:0}.facts>div{border-top:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.facts dt{color:#475569}.facts dd{text-align:right;margin:0;font-weight:600}.dialog-lead{margin:0;font-weight:600}.status-badge--pending{color:#0c4a6e;background:#e0f2fe}.plan-table tbody th,.plan-table tfoot th{text-align:left;font-weight:400}.plan-total{background:#f8fafc;border-top:2px solid #cbd5e1}.plan-total th,.plan-total td{font-weight:700}.plan-distribution{margin:0 0 8px;font-weight:600}.radio-row{flex-wrap:wrap;gap:0 24px;display:flex}.manual-lines{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.manual-line{grid-template-columns:minmax(180px,220px) minmax(180px,220px) auto;justify-content:start;align-items:end}.running-total{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.plan-preview h3{margin:16px 0 8px;font-size:15px}.replace-warning{color:#92400e;background:#fef3c7;border-radius:8px;margin:16px 0 0;padding:10px 14px}.status-badge--collected{color:#14532d;background:#dcfce7}.status-badge--overdue{color:#7f1d1d;background:#fee2e2}.plan-table .actions{padding-top:4px;padding-bottom:4px}.button--row{white-space:nowrap;padding:6px 12px;font-size:14px}.collection-cell{white-space:nowrap;color:#334155}.plan-table tbody th{white-space:nowrap}.plan-total .collected-summary{color:#334155;font-weight:400}.jobs-page{flex-direction:column;gap:24px;display:flex}.overdue h2{margin:0;font-size:18px}.overdue .table tbody th{text-align:left}.partial-note,.keeps-collected{margin:0}.expenses-page{flex-direction:column;gap:24px;display:flex}.expenses{flex-direction:column;gap:16px;display:flex}.expenses h3{margin:0;font-size:16px}.head-actions{flex-wrap:wrap;gap:12px;display:flex}.month-nav{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.month-field{flex:0 220px}.table .wrap{overflow-wrap:anywhere}.table .nowrap{white-space:nowrap}.expenses-table .actions,.categories-table .actions{white-space:normal}.expenses-table .button--row,.categories-table .button--row{white-space:normal;overflow-wrap:anywhere;text-align:left;margin:2px 0}.status-badge--waiting{color:#78350f;background:#fef3c7}.status-badge--future{color:#581c87;background:#f3e8ff}.category-totals{max-width:640px}.category-totals tbody th,.categories-table tbody th{text-align:left;overflow-wrap:anywhere;font-weight:400}.recurrence{border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:12px;margin:0;padding:16px;display:flex}.recurrence .month-field{flex:none;width:260px;max-width:100%}.recurrence legend{padding:0 6px;font-weight:600}.check-row{align-items:center;gap:10px;min-height:44px;display:flex}.add-row,.customer-form form.add-row{flex-flow:wrap;align-items:flex-end;gap:12px;display:flex}.add-row .field{flex:280px}.rename-row{flex-direction:column;gap:8px;display:flex}.targets-page{flex-direction:column;gap:24px;display:flex}.targets{flex-direction:column;gap:16px;display:flex}.targets h3{margin:0;font-size:16px}.targets p{margin:0}.year-nav{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.year-nav__year{text-align:center;min-width:64px;font-size:18px;font-weight:600}.targets-table{max-width:760px}.targets-table th,.targets-table td{border-bottom:1px solid #e2e8f0;padding:10px 8px}.targets-table tbody th{color:#0f172a;white-space:nowrap;font-weight:400}.target-quarter{background:#f8fafc}.target-quarter td,.targets-table tbody .target-quarter th{font-weight:600}.target-year{background:#f1f5f9;border-top:2px solid #cbd5e1}.target-year td,.targets-table tbody .target-year th{font-weight:700}.target-history{margin:0;padding:0;font-size:14px;list-style:none}.target-history li{border-top:1px solid #e2e8f0;padding:8px 0}.targets-form-page{max-width:760px}.targets-form,.targets-form form{flex-direction:column;gap:16px;display:flex}.targets-form h2,.targets-form p{margin:0}.target-fields{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;display:grid}.target-total{font-variant-numeric:tabular-nums;font-weight:600}.target-quarter-group{border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:12px;min-width:0;margin:0;padding:16px;display:flex}.target-quarter-group legend{padding:0 6px;font-weight:700}.target-quarter-field{max-width:320px}.field-help{color:#475569;font-size:14px}.target-quarter-live{flex-direction:column;gap:8px;display:flex}.target-months-sum{font-variant-numeric:tabular-nums;font-weight:600}.target-warning,.target-warning-row td{color:#7c2d12;overflow-wrap:anywhere;background:#fff7ed;border:1px solid #fdba74;border-radius:8px;padding:10px 12px}.target-warning-row td{white-space:normal;border-radius:0}.target-typed{color:#475569;font-size:13px;font-weight:400;display:block}.target-spread{align-self:flex-start}.target-spread-note{overflow-wrap:anywhere}.targets-table-box{container-type:inline-size}.target-warning-text{overflow-wrap:anywhere;max-width:calc(100cqi - 24px);display:block;position:sticky;left:12px}.main:has(>.karne){max-width:1100px}.karne{flex-direction:column;gap:24px;display:flex}.karne-status{color:#334155;margin:0;font-weight:600}.karne-status:empty{display:none}.karne-failed{flex-direction:column;gap:12px;display:flex}.karne-head h2{margin:0;font-size:24px}.karne-head .muted{margin-top:4px}.karne-cards{flex-wrap:wrap;gap:16px;display:flex}.karne-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;flex:200px;gap:8px;padding:20px;display:flex}.karne-card__title{letter-spacing:.02em;margin:0;font-size:13px;font-weight:600}.karne a{color:#1d4ed8}.karne-card__title a,.karne-panel h3 a{text-decoration:none}.karne-card__title a:hover,.karne-panel h3 a:hover{text-decoration:underline}.karne .karne-card__title a{color:#475569}.karne-card__value{font-variant-numeric:tabular-nums;margin:0;font-size:24px;font-weight:700}.karne-card__detail{color:#1e3a8a;margin:0;font-size:14px}.karne-late{color:#b91c1c}.karne-late+.karne-card__detail{color:#991b1b}.karne-card--dark{color:#fff;background:#0f172a;border-color:#0f172a}.karne .karne-card--dark .karne-card__title a{color:#cbd5e1}.karne-card--dark .karne-card__detail{color:#93c5fd}.karne .karne-card__action{color:#93c5fd;font-weight:600}.karne-card__warning{color:#fdba74;margin:0;font-size:14px}.karne-bar{background:#1e293b;border-radius:999px;height:10px}.karne-bar__fill{background:#60a5fa;border-radius:999px;height:10px}.karne-body{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.karne-chart{flex:2 480px;min-width:0}.karne-chart h3,.karne-panel h3{margin:0;font-size:15px}.karne .karne-panel h3 a{color:inherit}.karne-side{flex-direction:column;flex:300px;gap:24px;min-width:0;display:flex}.karne-bars{width:100%;height:auto;display:block}.karne-bars__axis{stroke:#e2e8f0}.karne-bars__target{fill:#cbd5e1}.karne-bars__actual{fill:#2563eb}.karne-bars__label{fill:#334155;font-size:13px}.karne-chart__foot{color:#334155;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:13px;display:flex}.karne-legend{align-items:center;gap:6px;display:inline-flex}.karne-swatch{border-radius:2px;width:10px;height:10px;display:inline-block}.karne-swatch--target{background:#cbd5e1}.karne-swatch--actual{background:#2563eb;margin-left:10px}.link-button{font:inherit;color:#1d4ed8;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;text-decoration:underline}.karne-table .amount-cell,.karne-table td.amount-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.karne-table tbody th{text-align:left;font-weight:400}.karne-overdue{margin:0;padding:0;font-size:14px;list-style:none}.karne-overdue li{border-top:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.karne-overdue__when{color:#475569;font-size:13px;display:block}.karne-overdue__amount{white-space:nowrap;font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;gap:4px;font-weight:600;display:flex}.main:has(>.import-page){max-width:1100px}.import-page{flex-direction:column;gap:24px;display:flex}.import-page>p{margin:0}.card h2.import-title{font-size:20px}.import-note{color:#334155;margin:0}.import-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.import-file{flex:320px}.import-file .input{width:100%}.import-template{color:#1d4ed8;align-items:center;min-height:44px;display:inline-flex}.import-template:hover{color:#1e3a8a}.import-preview--empty{display:contents}.import-summary{margin:0;font-weight:600}.import-preview h2:focus{outline:none}.import-table th,.import-table td{vertical-align:top;overflow-wrap:anywhere}.import-table tbody td,.import-table tbody th{border-top:1px solid #e2e8f0;border-bottom:0;padding:12px 8px}.import-table tbody th{color:#0f172a;font-weight:400}.import-table thead th,.import-table td:first-child{overflow-wrap:normal;white-space:nowrap}.import-note-line{color:#475569;margin-top:4px;font-size:13px;display:block}.import-note-line.error{color:#7f1d1d}.import-status--new{color:#14532d;background:#dcfce7;border:1px solid #86efac}.import-status--exists{color:#334155;background:#f1f5f9;border:1px solid #94a3b8}.import-status--duplicate{color:#78350f;background:#fef3c7;border:1px solid #fcd34d}.import-status--invalid{color:#7f1d1d;background:#fee2e2;border:1px solid #fca5a5}.import-none{margin:0;font-weight:600}.import-total{color:#334155;margin:0}.import-table .import-amount{text-align:right}.import-whole{white-space:nowrap}.import-new-category{color:#475569;font-size:12px}.import-actions{flex-wrap:wrap;gap:12px;display:flex}.import-actions .button{box-sizing:border-box;align-items:center;text-decoration:none;display:inline-flex}.card-actions{flex-wrap:wrap;gap:12px;display:flex}.topbar-link{color:#1d4ed8;align-items:center;min-height:44px;font-weight:600;display:inline-flex}.topbar-link:hover{color:#1e3a8a}.topbar-link:focus-visible{outline-offset:2px;outline:3px solid #93c5fd}.notifications{gap:12px}.notifications-switch{align-items:center;gap:12px;min-height:44px;font-weight:600;display:flex}.notifications-switch input{width:22px;height:22px;margin:0}.notifications-help{color:#334155;margin:0}.notifications-status p{margin:0}.notifications-state{font-weight:600}.notifications-notice{color:#334155;margin-top:4px}.email-link{gap:16px;max-width:600px}.email-link h1{font-size:20px}.email-link p{margin:0}.open-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:0;padding:12px}.open-note:empty{border:0;padding:0}.plan-open-text{color:#475569;margin:0 0 8px}.radio-hint{color:#475569;font-size:14px;font-weight:400;display:block}.plan-actions{margin:0 0 12px}.auth-forgot{margin:-4px 0 0}.auth-forgot a{color:#1d4ed8;font-weight:600}.auth-done{margin:0}.auth-done:focus,.email-link-status:focus{outline:none}.verification-strip{color:#78350f;background:#fffbeb;border-bottom:1px solid #fcd34d;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 32px;display:flex}.verification-strip-text{flex:320px;margin:0}.verification-strip-status{flex-basis:100%;margin:0;font-weight:600}.verification-strip-status--failed{color:#991b1b}@media (width<=600px){.verification-strip{padding:12px 16px}}.invite-check{flex:100%;align-items:center;gap:10px;min-height:44px;font-weight:600;display:flex}.invite-check input{width:20px;height:20px;margin:0}.invite-form .invite-check+.button{margin-top:0}.invite-hint{flex:100%;margin:0}.invite-result:empty{margin-top:-16px}.notice-region:empty{margin-top:-24px}.mail-result{flex-direction:column;gap:4px;display:flex}.form-warning{color:#7c2d12;background:#ffedd5;border:1px solid #fdba74;border-radius:8px;padding:12px 14px}.delivery-warning{color:#9a3412;font-weight:600}.my-account{flex-direction:column;gap:24px;display:flex}.account-card{gap:12px}.account-facts{flex-direction:column;gap:8px;margin:0;display:flex}.account-facts>div{flex-wrap:wrap;gap:4px 16px;display:flex}.account-facts dt{min-width:120px;font-weight:600}.account-facts dd{overflow-wrap:anywhere;margin:0}.verified-badge{color:#14532d;background:#dcfce7;border:1px solid #86efac;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;display:inline-block}.verified-badge--unverified{color:#78350f;background:#fef3c7;border-color:#fcd34d}.account-form{flex-direction:column;gap:16px;max-width:420px;display:flex}.pending-change{background:#eff6ff;border:1px solid #93c5fd;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:12px 14px;display:flex}.pending-change-text{overflow-wrap:anywhere;flex-direction:column;gap:2px;display:flex}.form-success{color:#14532d;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;margin:0;padding:12px 14px}.card-result p{margin:0}.card-result:empty{margin-top:-12px}.button--link{box-sizing:border-box;align-items:center;text-decoration:none;display:inline-flex}@media (width<=480px){.topbar-user{flex-wrap:wrap;flex:100%;gap:8px 16px;min-width:0}.user-name{overflow-wrap:anywhere;min-width:0}}
