:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f4f5f2;--surface:#fcfcfb;--surface-2:#f3f3f0;--surface-3:#e9e9e4;--border:#0b0b0b17;--border-strong:#0b0b0b29;--text:#0b0b0b;--text-2:#52514e;--muted:#898781;--grid:#e1e0d9;--axis:#c3c2b7;--accent:#0f766e;--accent-hover:#0b5e57;--accent-soft:#d8f0ec;--accent-ink:#fff;--good:#0ca30c;--good-text:#006300;--good-soft:#e3f5e3;--warning:#fab219;--warning-text:#8a5a00;--warning-soft:#fdf2d6;--serious:#ec835a;--critical:#d03b3b;--critical-text:#b42323;--critical-soft:#fbe4e4;--info:#2a78d6;--info-soft:#e3eefb;--s-receitas:#1baf7a;--s-despesas:#eb6834;--s-fixo:#2a78d6;--s-variavel:#eda100;--s-parcelado:#e87ba4;--s-atual:#2a78d6;--s-anterior:#898781;--radius:14px;--radius-sm:9px;--shadow:0 1px 2px #0b0b0b0a, 0 4px 16px #0b0b0b0a;--shadow-lg:0 20px 60px #0b0b0b2e;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0d0d0d;--surface:#1a1a19;--surface-2:#232321;--surface-3:#2c2c2a;--border:#ffffff17;--border-strong:#ffffff29;--text:#f0efec;--text-2:#c3c2b7;--muted:#898781;--grid:#2c2c2a;--axis:#383835;--accent:#2bb3a3;--accent-hover:#3cc9b8;--accent-soft:#123a36;--accent-ink:#06201d;--good-text:#0ca30c;--good-soft:#13301a;--warning-text:#fab219;--warning-soft:#3a2e10;--critical-text:#f07a7a;--critical-soft:#3a1919;--info-soft:#172a42;--s-receitas:#199e70;--s-despesas:#d95926;--s-fixo:#3987e5;--s-variavel:#c98500;--s-parcelado:#d55181;--s-atual:#3987e5;--shadow:none;--shadow-lg:0 20px 60px #0009}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#0d0d0d;--surface:#1a1a19;--surface-2:#232321;--surface-3:#2c2c2a;--border:#ffffff17;--border-strong:#ffffff29;--text:#f0efec;--text-2:#c3c2b7;--muted:#898781;--grid:#2c2c2a;--axis:#383835;--accent:#2bb3a3;--accent-hover:#3cc9b8;--accent-soft:#123a36;--accent-ink:#06201d;--good-text:#0ca30c;--good-soft:#13301a;--warning-text:#fab219;--warning-soft:#3a2e10;--critical-text:#f07a7a;--critical-soft:#3a1919;--info-soft:#172a42;--s-receitas:#199e70;--s-despesas:#d95926;--s-fixo:#3987e5;--s-variavel:#c98500;--s-parcelado:#d55181;--s-atual:#3987e5;--shadow:none;--shadow-lg:0 20px 60px #0009}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--page);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}a{color:var(--accent)}h1,h2,h3,h4{margin:0;line-height:1.2}h1{letter-spacing:-.01em;font-size:22px;font-weight:650}h2{font-size:15px;font-weight:620}h3{font-size:14px;font-weight:620}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.text-2{color:var(--text-2)}.small{font-size:12.5px}.good{color:var(--good-text)}.bad{color:var(--critical-text)}.nowrap{white-space:nowrap}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.app{grid-template-columns:236px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:4px;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;padding:4px 10px 18px;display:flex}.brand-logo{background:var(--accent);width:34px;height:34px;color:var(--accent-ink);border-radius:10px;place-items:center;font-size:18px;display:grid}.brand b{letter-spacing:-.01em;font-size:17px}.brand small{color:var(--muted);font-size:11.5px;display:block}.nav-item{color:var(--text-2);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;width:100%;padding:9px 12px;font-weight:520;text-decoration:none;display:flex}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--accent-soft);color:var(--accent)}.nav-item svg{flex:none;width:18px;height:18px}.nav-badge{background:var(--good);border-radius:50%;width:8px;height:8px;margin-left:auto}.nav-badge.off{background:var(--muted)}.sidebar-foot{flex-direction:column;gap:4px;margin-top:auto;display:flex}.main{min-width:0;padding:24px 28px 60px}.page{flex-direction:column;gap:18px;max-width:1320px;margin:0 auto;display:flex}.page-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.page-head .spacer{flex:1}.page-head p{color:var(--muted);margin:2px 0 0}.grid{gap:16px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-dash{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}.span-2{grid-column:span 2}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:18px}.card-head{align-items:center;gap:10px;margin-bottom:14px;display:flex}.card-head .spacer{flex:1}.card-head p{color:var(--muted);margin:2px 0 0;font-size:12.5px}.card.flush{padding:0;overflow:hidden}.card.flush>.card-head{padding:16px 18px 0}.stat{flex-direction:column;gap:6px;display:flex}.stat-label{color:var(--text-2);align-items:center;gap:7px;font-size:13px;display:flex}.stat-label .dot{border-radius:3px;width:9px;height:9px}.stat-value{letter-spacing:-.015em;font-size:24px;font-weight:650}.stat-sub{color:var(--muted);font-size:12.5px}.hero{background:linear-gradient(135deg, var(--accent) 0%, #115e59 100%);color:#fff;border:0}.hero .stat-label,.hero .stat-sub{color:#ffffffd1}.hero .stat-value{font-size:40px}.hero.negative{background:linear-gradient(135deg,#b42323 0%,#7f1d1d 100%)}.delta{align-items:center;gap:3px;font-size:12.5px;font-weight:600;display:inline-flex}.btn{border:1px solid var(--border-strong);background:var(--surface);cursor:pointer;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:7px;height:36px;padding:0 14px;font-weight:560;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn svg{width:16px;height:16px}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:hover{background:var(--accent-hover)}.btn.danger{color:var(--critical-text)}.btn.danger.solid{background:var(--critical);border-color:var(--critical);color:#fff}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--surface-2)}.btn.sm{border-radius:8px;height:30px;padding:0 10px;font-size:13px}.btn.icon{width:32px;height:32px;padding:0}.btn:disabled{opacity:.55;cursor:not-allowed}.field{flex-direction:column;gap:5px;min-width:0;display:flex}.field>span{color:var(--text-2);font-size:12.5px;font-weight:560}.field small{color:var(--muted);font-size:12px}.input,.select,.textarea{border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;outline:none;width:100%;min-width:0;height:38px;padding:0 11px}.textarea{resize:vertical;height:auto;min-height:70px;padding:9px 11px}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.input.money{font-variant-numeric:tabular-nums;font-weight:600}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.form-grid .full{grid-column:1/-1}.check{cursor:pointer;align-items:center;gap:8px;display:flex}.check input{width:16px;height:16px;accent-color:var(--accent)}.segmented{background:var(--surface-2);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.segmented button{cursor:pointer;color:var(--text-2);background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-weight:560;display:inline-flex}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0000001a}.segmented.full{display:flex}.segmented.full button{flex:1;justify-content:center}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar .input,.toolbar .select{width:auto;height:34px}.toolbar .grow{flex:1;min-width:180px}.month-picker{background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;align-items:center;gap:2px;padding:2px;display:inline-flex}.month-picker button{cursor:pointer;width:30px;height:30px;color:var(--text-2);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.month-picker button:hover{background:var(--surface-2)}.month-picker .label{text-align:center;text-transform:capitalize;cursor:pointer;min-width:132px;font-weight:600}.chip{background:var(--surface-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;max-width:100%;padding:3px 9px 3px 4px;font-size:12.5px;font-weight:540;display:inline-flex}.chip .emoji{border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;display:grid}.cat-icon{border-radius:11px;flex:none;place-items:center;width:36px;height:36px;font-size:18px;display:grid}.cat-icon.sm{border-radius:9px;width:28px;height:28px;font-size:14px}.badge{background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:1px 7px;font-size:11.5px;font-weight:600;display:inline-flex}.badge svg{width:12px;height:12px}.badge.fixo{background:color-mix(in srgb, var(--s-fixo) 14%, transparent);color:var(--text)}.badge.parcelado{background:color-mix(in srgb, var(--s-parcelado) 18%, transparent);color:var(--text)}.badge.whatsapp{color:#075e54;background:#dcf8c6}.badge.future{background:var(--info-soft);color:var(--text)}.badge.good{background:var(--good-soft);color:var(--good-text)}.badge.warn{background:var(--warning-soft);color:var(--warning-text)}.badge.crit{background:var(--critical-soft);color:var(--critical-text)}:root[data-theme=dark] .badge.whatsapp{color:#9be7c4;background:#0b3b33}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .badge.whatsapp{color:#9be7c4;background:#0b3b33}}.class-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.insights{flex-direction:column;gap:10px;display:flex}.insight{background:var(--surface-2);border-left:4px solid var(--muted);border-radius:12px;grid-template-columns:auto 1fr;gap:4px 12px;padding:12px 14px;display:grid}.insight .ico{grid-row:span 2;font-size:20px;line-height:1.2}.insight b{font-weight:620}.insight p{color:var(--text-2);margin:0;font-size:13px}.insight .lvl{text-transform:uppercase;letter-spacing:.04em;margin-right:6px;font-size:11px;font-weight:700}.insight.critico{border-left-color:var(--critical);background:var(--critical-soft)}.insight.critico .lvl{color:var(--critical-text)}.insight.atencao{border-left-color:var(--warning);background:var(--warning-soft)}.insight.atencao .lvl{color:var(--warning-text)}.insight.dica{border-left-color:var(--info);background:var(--info-soft)}.insight.dica .lvl{color:var(--info)}.insight.positivo{border-left-color:var(--good);background:var(--good-soft)}.insight.positivo .lvl{color:var(--good-text)}.cat-bars{flex-direction:column;gap:12px;display:flex}.cat-bar{cursor:default;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:4px 10px;display:grid}.cat-bar .name{align-items:baseline;gap:6px;min-width:0;display:flex}.cat-bar .name span:first-child{text-overflow:ellipsis;white-space:nowrap;font-weight:540;overflow:hidden}.cat-bar .value{text-align:right;font-weight:620}.cat-bar .track{border-radius:0 4px 4px 0;grid-column:2/4;height:10px;position:relative}.cat-bar .fill{border-radius:0 4px 4px 0;min-width:2px;height:100%;transition:width .4s}.cat-bar .budget-mark{background:var(--text);border-radius:1px;width:2px;position:absolute;top:-3px;bottom:-3px}.cat-bar:hover .fill{filter:brightness(1.08)}.meter{background:var(--surface-3);border-radius:5px;height:10px;position:relative;overflow:hidden}.meter>div{background:var(--accent);border-radius:5px;height:100%;transition:width .4s}.meter.warn>div{background:var(--warning)}.meter.crit>div{background:var(--critical)}.meter.good>div{background:var(--good)}.meter .target{background:var(--text);opacity:.6;width:2px;position:absolute;top:0;bottom:0}.stack-bar{background:var(--surface);border-radius:5px;gap:2px;height:16px;display:flex;overflow:hidden}.stack-bar>div{min-width:3px;height:100%}.legend{color:var(--text-2);flex-wrap:wrap;gap:6px 16px;font-size:12.5px;display:flex}.legend span{align-items:center;gap:6px;display:inline-flex}.legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.legend i.line{border-radius:2px;width:14px;height:3px}.kv{grid-template-columns:1fr auto;align-items:center;gap:8px 12px;display:grid}.kv .k{color:var(--text-2);align-items:center;gap:8px;display:flex}.kv .v{text-align:right;font-weight:600}.list{flex-direction:column;display:flex}.list-row{border-top:1px solid var(--border);align-items:center;gap:12px;padding:10px 0;display:flex}.list-row:first-child{border-top:0}.list-row .grow{flex:1;min-width:0}.list-row .title{text-overflow:ellipsis;white-space:nowrap;font-weight:560;overflow:hidden}.list-row .sub{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;display:flex}.table-wrap{overflow-x:auto}table.table{border-collapse:collapse;width:100%}.table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;padding:10px 14px;font-size:12px;font-weight:600}.table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:10px 14px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover td{background:var(--surface-2)}.table .right{text-align:right}.table .date-row td{background:var(--surface-2);color:var(--text-2);padding:6px 14px;font-size:12px;font-weight:600}.table .actions{white-space:nowrap;text-align:right;width:1%}.row-actions{opacity:.35;transition:opacity .15s}tr:hover .row-actions,.row-actions:focus-within{opacity:1}.desc-cell{align-items:center;gap:10px;min-width:200px;display:flex}.desc-cell .t{font-weight:560}.desc-cell .badges{flex-wrap:wrap;gap:5px;margin-top:2px;display:flex}.empty{text-align:center;color:var(--muted);padding:36px 16px}.empty .big{margin-bottom:6px;font-size:34px}.quick{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:10px;padding:10px 10px 10px 16px;display:flex}.quick .input{border:0;flex:1;width:auto;height:36px;padding:0;font-size:15px;box-shadow:none!important}.quick svg{color:var(--muted);flex:none}.quick-reply{white-space:pre-wrap;background:var(--surface-2);border-radius:12px;padding:12px 14px;font-size:13.5px;position:relative}.overlay{z-index:50;background:#0000006b;place-items:center;padding:16px;animation:.15s fade;display:grid;position:fixed;inset:0}.modal{background:var(--surface);box-shadow:var(--shadow-lg);border-radius:18px;flex-direction:column;width:100%;max-width:560px;max-height:calc(100vh - 32px);animation:.18s pop;display:flex}.modal.wide{max-width:760px}.modal-head{align-items:center;gap:10px;padding:18px 20px 6px;display:flex}.modal-head h2{flex:1;font-size:17px}.modal-body{flex-direction:column;gap:14px;padding:12px 20px;display:flex;overflow-y:auto}.modal-foot{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:12px 20px 18px;display:flex}.modal-foot .spacer{flex:1}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}.toasts{z-index:60;flex-direction:column;gap:8px;max-width:min(420px,100vw - 32px);display:flex;position:fixed;bottom:20px;right:20px}.toast{background:var(--text);color:var(--surface);box-shadow:var(--shadow-lg);white-space:pre-wrap;border-radius:12px;padding:11px 14px;font-size:13.5px;animation:.2s pop}.toast.error{background:var(--critical);color:#fff}.tt{background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-lg);border-radius:10px;min-width:150px;padding:9px 11px;font-size:12.5px}.tt .tt-title{margin-bottom:4px;font-weight:650}.tt .tt-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.tt .tt-row span{color:var(--text-2);align-items:center;gap:6px;display:inline-flex}.tt .tt-row b{font-variant-numeric:tabular-nums}.tt i{border-radius:3px;width:9px;height:9px;display:inline-block}.recharts-cartesian-grid line{stroke:var(--grid)}.recharts-text{fill:var(--muted);font-size:11.5px}.goal-card{flex-direction:column;gap:10px;display:flex}.goal-top{align-items:center;gap:12px;display:flex}.goal-amounts{color:var(--text-2);justify-content:space-between;font-size:12.5px;display:flex}.progress-big{height:12px}.wa-status{background:var(--surface-2);border-radius:12px;align-items:center;gap:10px;padding:12px 14px;display:flex}.wa-status .led{background:var(--muted);border-radius:50%;flex:none;width:10px;height:10px}.wa-status .led.on{background:var(--good);box-shadow:0 0 0 4px var(--good-soft)}.wa-status .led.wait{background:var(--warning);box-shadow:0 0 0 4px var(--warning-soft)}.qr-box{border:1px solid var(--border);background:#fff;border-radius:14px;place-items:center;padding:14px;display:grid}.qr-box img{width:260px;height:260px;image-rendering:pixelated}.steps{color:var(--text-2);flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.chat{border-radius:var(--radius);border:1px solid var(--border);background:#efeae2;flex-direction:column;height:620px;display:flex;overflow:hidden}.chat-head{color:#fff;background:#075e54;align-items:center;gap:10px;padding:10px 14px;display:flex}.chat-head .avatar{background:#25d366;border-radius:50%;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.chat-head small{opacity:.8;font-size:11.5px;display:block}.chat-body{flex-direction:column;flex:1;gap:6px;padding:14px;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;word-wrap:break-word;color:#111b21;border-radius:10px;max-width:85%;padding:7px 10px 6px;font-size:13.5px;line-height:1.4;box-shadow:0 1px .5px #00000021}.bubble.out{background:#d9fdd3;border-top-right-radius:3px;align-self:flex-end}.bubble.in{background:#fff;border-top-left-radius:3px;align-self:flex-start}.bubble .time{text-align:right;color:#667781;margin-top:2px;font-size:10.5px;display:block}.chat-foot{background:#f0f2f5;align-items:center;gap:8px;padding:10px;display:flex}.chat-foot input{color:#111b21;background:#fff;border:0;border-radius:20px;outline:none;flex:1;height:40px;padding:0 16px}.chat-foot button{color:#fff;cursor:pointer;background:#00a884;border:0;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.chat-chips{background:#f0f2f5;flex-wrap:wrap;gap:6px;padding:8px 10px 0;display:flex}.chat-chips button{color:#3b4a54;cursor:pointer;background:#fff;border:1px solid #d1d7db;border-radius:14px;padding:3px 10px;font-size:12px}:root[data-theme=dark] .chat{background:#0b141a}:root[data-theme=dark] .bubble.in{color:#e9edef;background:#202c33}:root[data-theme=dark] .bubble.out{color:#e9edef;background:#005c4b}:root[data-theme=dark] .bubble .time{color:#8696a0}:root[data-theme=dark] .chat-foot,:root[data-theme=dark] .chat-chips{background:#202c33}:root[data-theme=dark] .chat-foot input{color:#e9edef;background:#2a3942}:root[data-theme=dark] .chat-chips button{color:#d1d7db;background:#2a3942;border-color:#3b4a54}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .chat{background:#0b141a}:root:not([data-theme=light]) .bubble.in{color:#e9edef;background:#202c33}:root:not([data-theme=light]) .bubble.out{color:#e9edef;background:#005c4b}:root:not([data-theme=light]) .bubble .time{color:#8696a0}:root:not([data-theme=light]) .chat-foot,:root:not([data-theme=light]) .chat-chips{background:#202c33}:root:not([data-theme=light]) .chat-foot input{color:#e9edef;background:#2a3942}:root:not([data-theme=light]) .chat-chips button{color:#d1d7db;background:#2a3942;border-color:#3b4a54}}.tabs{border-bottom:1px solid var(--border);gap:4px;display:flex}.tabs button{cursor:pointer;color:var(--text-2);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;margin-bottom:-1px;padding:10px 14px;font-weight:580;display:inline-flex}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.swatches{flex-wrap:wrap;gap:6px;display:flex}.swatches button{cursor:pointer;border:2px solid #0000;border-radius:8px;width:26px;height:26px}.swatches button.active{border-color:var(--text)}.emoji-pick{flex-wrap:wrap;gap:4px;display:flex}.emoji-pick button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;width:34px;height:34px;font-size:17px}.emoji-pick button.active{border-color:var(--accent);background:var(--accent-soft)}.callout{background:var(--info-soft);color:var(--text);border-radius:12px;padding:12px 14px;font-size:13px}.callout.warn{background:var(--warning-soft)}.sep{background:var(--border);height:1px;margin:4px 0}.loading{text-align:center;color:var(--muted);padding:60px}.mobile-nav{display:none}.lock{background:var(--page);place-items:center;min-height:100vh;padding:16px;display:grid}.lock-card{background:var(--surface);border:1px solid var(--border);width:100%;max-width:340px;box-shadow:var(--shadow);border-radius:22px;flex-direction:column;align-items:center;padding:28px 24px;display:flex}.lock-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.lock-dots{gap:12px;height:16px;display:flex}.lock-dots i{border:2px solid var(--border-strong);border-radius:50%;width:14px;height:14px}.lock-dots i.on{background:var(--accent);border-color:var(--accent)}.lock-error{min-height:20px;color:var(--critical-text);text-align:center;margin:10px 0 6px;font-size:13px}.keypad{grid-template-columns:repeat(3,72px);gap:12px;display:grid}.keypad button{border:1px solid var(--border);background:var(--surface-2);cursor:pointer;height:60px;color:var(--text);border-radius:16px;place-items:center;font-size:22px;font-weight:600;display:grid}.keypad button:hover{background:var(--surface-3)}.keypad button.ok{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-size:17px}.keypad button:disabled{opacity:.45;cursor:default}.dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius);text-align:center;cursor:pointer;color:var(--text-2);padding:28px 16px;transition:border-color .15s,background .15s}.dropzone:hover,.dropzone.over{border-color:var(--accent);background:var(--accent-soft)}.dropzone b{color:var(--text)}.import-table td{padding:7px 10px}.import-table .input,.import-table .select{height:32px;font-size:13px}.import-table tr.off td{opacity:.5}.import-table .raw{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:11.5px;overflow:hidden}.sticky-bar{z-index:5;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);box-shadow:var(--shadow-lg);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;bottom:12px}.show-sm{display:none!important}@media (width<=1180px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-dash{grid-template-columns:minmax(0,1fr)}}@media (width<=900px){.app{grid-template-columns:1fr}.sidebar{display:none}.main{padding:16px 16px 90px}.grid-3,.grid-2{grid-template-columns:minmax(0,1fr)}.span-2{grid-column:auto}.mobile-nav{z-index:40;background:var(--surface);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 6px;font-size:10.5px;font-weight:560;display:flex}.mobile-nav button.active{color:var(--accent)}.mobile-nav svg{width:21px;height:21px}.hero .stat-value{font-size:32px}.stat-value{font-size:20px}.form-grid{grid-template-columns:minmax(0,1fr)}.toasts{bottom:80px;left:16px;right:16px}.chat{height:520px}.table .hide-sm{display:none}.show-sm{display:inline-flex!important}}@media (width<=520px){.grid-4{grid-template-columns:minmax(0,1fr)}h1{font-size:19px}}button.insight{font:inherit;color:inherit;text-align:left;cursor:pointer;border-top:0;border-bottom:0;border-right:0;width:100%}button.insight:hover{filter:brightness(.97)}.insight .more{color:var(--text-2);grid-column:2;align-items:center;gap:3px;font-size:12px;font-weight:600;display:inline-flex}button.list-row{font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;width:100%}button.list-row:hover{background:var(--surface-2)}.tx-list{max-height:60vh;overflow-y:auto}.tx-list-total{border-bottom:1px solid var(--border);justify-content:space-between;gap:8px;padding:4px 2px 8px;display:flex}.similar-box{background:var(--info-soft);border-radius:10px;align-items:flex-start;padding:10px 12px}.similar-box small{color:var(--text-2);margin-top:2px;display:block}.month-row{border-bottom:1px solid var(--border);grid-template-columns:74px 1fr auto;align-items:center;gap:4px 12px;padding:10px 6px;display:grid}.month-row:last-child{border-bottom:0}.month-row .m{text-transform:capitalize;font-weight:620}.month-row .ends{flex-wrap:wrap;grid-column:2/4;gap:6px;display:flex}.month-row .ends .chip{background:var(--good-soft)}.split-bar{background:var(--surface-2);border-radius:0 4px 4px 0;gap:2px;height:8px;display:flex;overflow:hidden}.split-bar span{height:100%;display:block}.period-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.period-toolbar .segmented{flex-wrap:wrap}.search-row{gap:8px;display:flex}.search-row .input{flex:1}.assistant{flex-direction:column;height:calc(100vh - 170px);min-height:420px;padding:0;display:flex;overflow:hidden}.assistant-body{flex-direction:column;flex:1;gap:10px;padding:16px;display:flex;overflow-y:auto}.assistant-foot{border-top:1px solid var(--border);align-items:flex-end;gap:8px;padding:10px;display:flex}.assistant-foot textarea{resize:none;flex:1;min-height:42px;max-height:140px}.msg{white-space:pre-wrap;word-wrap:break-word;border-radius:14px;max-width:88%;padding:10px 13px;font-size:14px;line-height:1.45}.msg.user{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:4px;align-self:flex-end}.msg.bot{background:var(--surface-2);border-bottom-left-radius:4px;align-self:flex-start}.msg.bot.error{background:var(--critical-soft)}.msg .used{color:var(--muted);margin-top:6px;font-size:11.5px;display:block}.suggestions{flex-wrap:wrap;gap:8px;display:flex}.suggestions button{border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:7px 12px;font-size:13px}.suggestions button:hover{background:var(--surface-2)}.typing{gap:4px;display:inline-flex}.typing i{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1.2s infinite blink}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}@media (width<=760px){.assistant{height:calc(100vh - 210px)}.month-row{grid-template-columns:60px 1fr auto}}.thumbs{flex-wrap:wrap;gap:8px;display:flex}.thumb{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;width:72px;height:128px;position:relative;overflow:hidden}.thumb img{object-fit:cover;object-position:top;width:100%;height:100%;display:block}.thumb button{background:var(--surface);border-radius:50%;width:24px;height:24px;padding:0;position:absolute;top:4px;right:4px}.queue{flex-direction:column;gap:8px;display:flex}.queue-item{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.queue-top{align-items:center;gap:10px;display:flex}.queue-top .title{font-weight:560}.queue-top .sub{color:var(--text-2);font-size:12.5px}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-chips{flex-wrap:wrap;gap:6px;display:flex}.file-chips .chip{padding:2px 4px 2px 10px}.file-chips .chip .btn{width:22px;height:22px;padding:0}@media (width<=760px){.queue-top{flex-wrap:wrap}.queue-top>div:nth-child(3){order:4;width:100%!important}}.actions-done{white-space:normal;flex-direction:column;gap:6px;margin-top:10px;display:flex}.action-done{background:var(--good-soft);border-radius:10px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.action-done svg{color:var(--good-text);flex:none}.action-done.undone{background:var(--surface);opacity:.7}.action-done.undone .grow{text-decoration:line-through}.list-row.off{opacity:.6}button.link-like{font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;min-width:0;padding:0}.attach-row{border-top:1px solid var(--border);flex-wrap:wrap;gap:8px;padding:8px 10px 0;display:flex}.attach-chip{background:var(--surface-2);border-radius:10px;align-items:center;gap:6px;max-width:220px;padding:4px;font-size:12.5px;display:flex}.attach-chip img{object-fit:cover;object-position:top;border-radius:6px;width:34px;height:46px}.attach-chip .btn{width:24px;height:24px;padding:0}.msg-files{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.msg-files img{object-fit:cover;object-position:top;border:1px solid #fff6;border-radius:8px;width:64px;height:96px}.assistant.drop-over{outline:2px dashed var(--accent);outline-offset:-6px}.assistant-foot .btn.icon{flex:none}
