:root{--crm-bg:#f4f6f8;--crm-surface:#fff;--crm-surface-subtle:#f8f9fb;--crm-surface-active:#f1f3f6;--crm-text:#20262e;--crm-text-strong:#111820;--crm-muted:#66717f;--crm-faint:#8b95a3;--crm-line:#d8dde5;--crm-line-strong:#c5ccd6;--crm-primary:#171a1f;--crm-primary-hover:#2b3037;--crm-primary-text:#fff;--crm-accent:#c61f2b;--crm-accent-strong:#a81822;--crm-accent-soft:#fff3f4;--crm-success:#237a4b;--crm-warning:#8b5b12;--crm-danger:#b42318;--crm-focus:#3157a5;--crm-radius:8px;--crm-control-h:44px;--crm-nav-w:216px;--crm-content:1040px;--crm-font:var(--font-utility)}html{background:var(--crm-bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body.crm-body{background:var(--crm-bg);min-height:100vh;color:var(--crm-text);font-family:var(--crm-font);letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:14px;line-height:1.45}body.crm-body:before,body.crm-body:after{display:none!important}.crm-body *,.crm-body :before,.crm-body :after{box-sizing:border-box}.crm-body button,.crm-body input,.crm-body textarea,.crm-body select{font:inherit}.crm-body button,.crm-body a,.crm-body input,.crm-body textarea,.crm-body select{-webkit-tap-highlight-color:transparent}.crm-body a{color:inherit}.crm-body :focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px}[dir=rtl] .tabs button.on{box-shadow:inset -3px 0 0 var(--crm-accent)}.muted{color:var(--crm-muted)!important}.ey{color:var(--crm-accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;font-size:11px;font-weight:760}.flash{color:var(--crm-muted);font-size:13px}.flash:empty{visibility:hidden}.flash--success{color:var(--crm-success)}.flash--error{color:var(--crm-danger)}.crm-body button,.crm-body input,.crm-body textarea,.crm-body select{border-radius:var(--crm-radius)}.crm-body button{cursor:pointer}.btn,.ghost,.text,.row button,.help-fab,.sheet button{min-height:var(--crm-control-h);border:1px solid var(--crm-line-strong);background:var(--crm-surface);color:var(--crm-text-strong);letter-spacing:0;padding:0 14px;font-size:13px;font-weight:620}.crm-body .btn{background:var(--crm-primary);border-color:var(--crm-primary);color:var(--crm-primary-text)}.crm-body .btn:hover{background:var(--crm-primary-hover);border-color:var(--crm-primary-hover)}.crm-body .danger{border-color:color-mix(in srgb, var(--crm-danger) 38%, var(--crm-line));background:var(--crm-surface);color:var(--crm-danger)}.crm-body .danger:hover{border-color:var(--crm-danger);color:#8f1a12;background:#fff5f4}.crm-body button:disabled,.crm-body [aria-disabled=true]{cursor:wait;opacity:.62}.ghost:hover,.row button:hover,.text:hover{background:var(--crm-surface-active);border-color:var(--crm-line-strong)}.text{min-height:36px;color:var(--crm-muted);background:0 0;border-color:#0000;padding-inline:8px}.crm-body input,.crm-body textarea,.crm-body select{width:100%;min-height:var(--crm-control-h);border:1px solid var(--crm-line-strong);background:var(--crm-surface);color:var(--crm-text-strong);margin-top:6px;padding:9px 11px}.crm-body textarea{resize:vertical;min-height:108px}.crm-body input::placeholder,.crm-body textarea::placeholder{color:#98a1ad}.crm-body input:focus-visible,.crm-body textarea:focus-visible,.crm-body select:focus-visible{border-color:var(--crm-focus);box-shadow:none;outline:2px solid var(--crm-focus);outline-offset:2px}.crm-body label{color:#4e5865;font-size:12px;font-weight:630}.crm-body form{gap:14px;display:grid}.card>form{max-width:620px;margin-top:20px}.card{border:1px solid var(--crm-line);border-radius:var(--crm-radius);background:var(--crm-surface);box-shadow:none;padding:clamp(18px,2.5vw,28px)}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.row>h1,.row>h2{margin-inline-end:auto}.stats{border:1px solid var(--crm-line);border-radius:var(--crm-radius);grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:22px 0 24px;display:grid;overflow:hidden}.stats button{border:0;border-inline-end:1px solid var(--crm-line);background:var(--crm-surface);min-width:0;min-height:86px;color:var(--crm-text);text-align:start;border-radius:0;align-content:center;gap:4px;padding:14px 16px;display:grid}.stats button:last-child{border-inline-end:0}.stats button:hover{background:var(--crm-surface-subtle)}.stats b{color:var(--crm-text-strong);font-variant-numeric:tabular-nums;font-size:23px;line-height:1.05}.stats span{color:var(--crm-muted);font-size:12px;font-weight:560}.list{border-top:1px solid var(--crm-line);margin:0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--crm-line);justify-content:space-between;align-items:center;gap:18px;min-height:48px;padding:9px 4px;display:flex}.list li>span{color:var(--crm-muted);text-align:end;font-variant-numeric:tabular-nums;font-size:12px}.list button{min-width:0;color:var(--crm-text-strong);cursor:pointer;text-align:start;background:0 0;border:0;padding:0;font-weight:620}.list button:hover{color:var(--crm-accent-strong);text-underline-offset:3px;text-decoration:underline}.search-row .sr{width:100%;color:var(--crm-muted);letter-spacing:.025em;gap:6px;font-size:11px;font-weight:650;display:grid}.search-row input[type=search]{background:var(--crm-surface);height:42px;margin:0}.gate{border:1px solid var(--crm-line);border-radius:var(--crm-radius);background:var(--crm-surface);width:min(440px,100% - 32px);color:var(--crm-text);box-shadow:none;margin:clamp(72px,12vh,140px) auto 40px;padding:28px}.gate form{margin-top:22px}.gate .btn{width:100%;margin-top:4px}.help-fab{right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));z-index:50;background:var(--crm-primary);border-color:var(--crm-primary);color:#fff;min-width:58px;position:fixed}.help-fab:hover{background:#20262e}.sheet{right:max(18px, env(safe-area-inset-right));z-index:49;border:1px solid var(--crm-line-strong);border-radius:var(--crm-radius);background:var(--crm-surface);width:min(360px,100% - 32px);max-height:min(620px,72vh);color:var(--crm-text);overscroll-behavior:contain;padding:20px;position:fixed;bottom:72px;overflow:auto;box-shadow:0 12px 34px #10182824}.sheet h2{margin-top:0}.sheet ul{color:var(--crm-muted);padding-inline-start:18px}.sheet a{color:var(--crm-accent-strong);font-weight:650}.photos{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.photos img{border:1px solid var(--crm-line);object-fit:cover;background:var(--crm-surface-subtle);border-radius:3px;width:88px;height:88px}@media (max-width:900px){[dir=rtl] .tabs button.on{box-shadow:none}.help-fab{bottom:calc(70px + env(safe-area-inset-bottom))}}@media (max-width:620px){:root{--crm-control-h:48px}body.crm-body{font-size:14px}.card{padding:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats button{border-inline-end:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line);min-height:66px}.stats button:last-child{border-bottom:1px solid var(--crm-line)}.stats button:nth-child(2n){border-inline-end:0}.stats button:nth-last-child(-n+2):nth-child(odd),.stats button:last-child:nth-child(odd){grid-column:1/-1}.list li{flex-direction:column;align-items:flex-start;gap:3px;padding:11px 2px}.list li>span{text-align:start}.row{align-items:stretch}.row>.btn,.row>.ghost,.row>button{flex:auto}.gate{margin-top:36px;padding:20px}.help-fab{right:max(12px, env(safe-area-inset-right))}}@media (max-width:430px){.stats{grid-template-columns:1fr}.stats button{border-inline-end:0;border-bottom:1px solid var(--crm-line)}.stats button:last-child{border-bottom:0}.stats button:nth-child(2n){border-inline-end:0}.stats button:nth-last-child(-n+2):nth-child(odd),.stats button:last-child:nth-child(odd){grid-column:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{.tabs,.search-row,.help-fab,.sheet,.text{display:none!important}}.money-hero{grid-template-columns:1.4fr 1fr;gap:16px;margin:22px 0 20px;display:grid}.money-hero-main{text-align:left;border:1px solid var(--crm-line);border-radius:var(--crm-radius);background:var(--crm-surface);cursor:pointer;flex-direction:column;gap:4px;padding:20px 22px;display:flex}.money-hero-main:hover{border-color:var(--crm-line-strong);background:var(--crm-surface-active)}.mh-label{text-transform:uppercase;letter-spacing:.06em;color:var(--crm-muted);font-size:.78rem;font-weight:600}.mh-value{letter-spacing:-.02em;color:var(--crm-text-strong);font-size:2.4rem;font-weight:700;line-height:1.05}.mh-sub{color:var(--crm-muted);font-size:.85rem}.money-hero-side{border:1px solid var(--crm-line);border-radius:var(--crm-radius);flex-direction:column;display:flex;overflow:hidden}.stat-line{background:var(--crm-surface);border:0;border-bottom:1px solid var(--crm-line);cursor:pointer;text-align:left;justify-content:space-between;align-items:baseline;gap:10px;padding:12px 16px;display:flex}.stat-line:last-child{border-bottom:0}.stat-line:hover{background:var(--crm-surface-active)}.stat-line strong{color:var(--crm-text-strong);font-size:1.1rem;font-weight:700}.stat-line span{color:var(--crm-muted);font-size:.85rem}.quick-secondary{flex-wrap:wrap;gap:10px;display:flex}.quick-secondary .btn.ghost{border:1px solid var(--crm-line);color:var(--crm-text);background:0 0;font-weight:500}.quick-secondary .btn.ghost:hover{border-color:var(--crm-line-strong);background:var(--crm-surface-active)}.row-client{color:var(--crm-muted)}.row-money{font-variant-numeric:tabular-nums;color:var(--crm-text-strong);white-space:nowrap;margin-inline-start:auto;padding-inline-end:14px;font-weight:600}@media (max-width:720px){.money-hero{border:1px solid var(--crm-line);border-radius:var(--crm-radius);grid-template-columns:1fr;gap:0;overflow:hidden}.money-hero-main{border:0;border-bottom:1px solid var(--crm-line);border-radius:0}.money-hero-side{border:0;border-radius:0}.row-money{margin-inline-start:0;padding-inline-end:0}}.pager{justify-content:flex-end;align-items:center;gap:12px;padding:12px 2px;display:flex}.pager-btn{border:1px solid var(--crm-line);background:var(--crm-surface);cursor:pointer;min-width:34px;height:34px;color:var(--crm-text);border-radius:8px;font-size:18px;line-height:1}.pager-btn:hover:not(:disabled){border-color:var(--crm-line-strong);background:var(--crm-surface-active)}.pager-btn:disabled{opacity:.4;cursor:default}.pager-info{color:var(--crm-muted);font-variant-numeric:tabular-nums;font-size:.85rem}.copy-btn{color:var(--crm-faint);cursor:pointer;background:0 0;border:0;border-radius:4px;margin-inline-start:8px;padding:2px 4px;font-size:.9rem}.copy-btn:hover{color:var(--crm-text);background:var(--crm-surface-active)}.row-linkish{cursor:pointer}
