:root{--bg: #fbf6f9;--text: #3d3547;--heading: #2f2739;--muted: #8d8399;--muted-strong: #7c7087;--surface-solid: #ffffff;--surface: #fffdfe;--surface-soft: #fdf9fc;--surface-muted: #faf6f9;--input-bg: #ffffff;--border: rgba(236, 226, 234, .95);--border-strong: rgba(222, 210, 222, .95);--danger-soft: #fdeef2;--positive-soft: #eef7f2;--info-soft: #eef3fb;--lavender-soft: #f3edf6;--mint-soft: #e3f6ec;--pink: #fbe3ee;--pink-strong: #e08bad;--rose: #c96a92;--rose-ink: #4a2b3b;--mint: #e2f6ea;--mint-strong: #7fc9a5;--sky: #e6f1fc;--sky-strong: #8fb8e4;--lavender: #efe7fa;--positive: #2f7d63;--negative: #b04a63;--glass-blur: 20px;--glass-bg: linear-gradient(150deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .3));--glass-bg-strong: linear-gradient(150deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));--glass-border: rgba(255, 255, 255, .68);--glass-edge: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(160, 110, 140, .07);--glass-shadow: 0 26px 60px -34px rgba(150, 95, 125, .55);--radius: 24px;--radius-sm: 14px;--font: "SF Pro Rounded", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;color-scheme:light}*{box-sizing:border-box}html,body{height:100%}body{margin:0;min-height:100%;color:var(--text);font-family:var(--font);font-feature-settings:"ss01" on,"cv01" on;background-color:var(--bg);background-image:radial-gradient(1100px 620px at 6% -12%,#ffe1ee,#ffe1ee00 62%),radial-gradient(950px 600px at 106% 2%,#dcf7e8,#dcf7e800 58%),radial-gradient(1000px 700px at 48% 118%,#dfeefc,#dfeefc00 62%);background-attachment:fixed;overflow-x:hidden;-webkit-font-smoothing:antialiased}body:before{content:"";position:fixed;inset:-28%;z-index:0;pointer-events:none;background:radial-gradient(38% 38% at 32% 30%,#ffcde28c,#ffcde200 70%),radial-gradient(34% 34% at 70% 36%,#c6f0da80,#c6f0da00 70%),radial-gradient(40% 40% at 58% 76%,#c8e0fa80,#c8e0fa00 72%),radial-gradient(26% 26% at 46% 48%,#ffbeda80,#ffbeda00 70%);filter:blur(38px) saturate(115%);animation:drift 28s ease-in-out infinite alternate}@keyframes drift{0%{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(2%,2%,0) scale(1.06)}}app-root{display:block;position:relative;z-index:1}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}h1,h2,h3{color:var(--heading);letter-spacing:-.02em}::selection{background:#f9c7dcb3;color:#4a2b3b}:focus-visible{outline:3px solid rgba(224,139,173,.45);outline-offset:2px;border-radius:8px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#dcbecdb3;border-radius:999px;border:3px solid transparent;background-clip:content-box}::-webkit-scrollbar-track{background:transparent}@media(max-width:1024px){:root{--glass-blur: 14px}}.nav-wrap{width:100%;min-width:0}.tabs-wrap{min-width:0}nav{width:100%}.scroll-fade-left{mask-image:linear-gradient(to right,transparent 0,#000 44px,#000 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 44px,#000 100%)}.scroll-fade-right{mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 44px),transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 44px),transparent 100%)}.scroll-fade-left.scroll-fade-right{mask-image:linear-gradient(to right,transparent 0,#000 44px,#000 calc(100% - 44px),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 44px,#000 calc(100% - 44px),transparent 100%)}@media(max-width:640px){.tabs-wrap .tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-right:0}input,select,textarea{font-size:16px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrap>table{min-width:640px}.main{padding-left:0;padding-right:0}::-webkit-scrollbar{width:6px;height:6px}}@media(prefers-reduced-motion:reduce){body:before{animation:none}}.app-select-backdrop{background:transparent}.app-dialog-backdrop{background:#3723323d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.app-select-panel{max-height:min(320px,60vh);overflow-y:auto;padding:5px;border-radius:14px;border:1px solid rgba(236,226,234,.95);background:#fff;box-shadow:0 24px 60px -28px #5032468c,inset 0 1px #fff}.app-select-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:var(--text);text-align:left;font:inherit;font-size:13.5px}.app-select-option:hover,.app-select-option.active{background:#faf1f6}.app-select-option.selected{color:#8a3f5e;background:#fbe3ee;font-weight:600}.app-select-option.disabled{opacity:.45;cursor:default}.app-select-option .check{color:#a34e70;font-size:12px}.app-dialog-panel{border-radius:20px}@media(max-width:640px){.app-select-option{min-height:44px;font-size:16px}}.row-icon-btn{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(160deg,#fff,#f8eff5 55%,#f1e5ee);border:1px solid rgba(255,255,255,.95);box-shadow:inset 0 1px #fff,inset 0 -1px #b0849c24,0 10px 20px -14px #966482a6;color:#8a6478;padding:0;transition:transform .12s ease,box-shadow .12s ease,color .12s ease}.row-icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.row-icon-btn:hover{transform:translateY(-1px);box-shadow:inset 0 1px #fff,0 14px 24px -14px #966482b3}.row-icon-btn.danger{color:#a04a5f}.row-icon-btn.danger:hover{color:#8b3349}html[data-theme=dark]{--bg: #202024;--text: #e7e2ea;--heading: #f3eef5;--muted: #a79eae;--muted-strong: #c1b7c8;--surface-solid: #2b2b30;--surface: #29292e;--surface-soft: #303035;--surface-muted: #34343a;--input-bg: #303036;--border: rgba(255, 255, 255, .09);--border-strong: rgba(255, 255, 255, .16);--pink: #3b2b35;--pink-strong: #d98bad;--rose: #e3a0bb;--rose-ink: #402330;--mint: #21372e;--mint-strong: #7fd0ac;--sky: #202e3d;--sky-strong: #91b9e5;--lavender: #2c2638;--positive: #82d0ac;--negative: #e58ba4;--glass-blur: 18px;--glass-bg: linear-gradient(150deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));--glass-bg-strong: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));--glass-border: rgba(255, 255, 255, .11);--glass-edge: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .16);--glass-shadow: 0 26px 60px -34px rgba(0, 0, 0, .75);--danger-soft: #3c252d;--positive-soft: #21352d;--info-soft: #263141;--lavender-soft: #30283b;--mint-soft: #21372e;color-scheme:dark}html[data-theme=dark] body{background-color:var(--bg)!important;background-image:radial-gradient(1100px 620px at 6% -12%,#5f324652,#5f324600 62%),radial-gradient(950px 600px at 106% 2%,#23554138,#23554100 58%),radial-gradient(1000px 700px at 48% 118%,#1e3c5f40,#1e3c5f00 62%)!important}html[data-theme=dark] body:before{opacity:.2;filter:blur(42px) saturate(120%)}html[data-theme=dark] ::selection{background:#be6e9180;color:#fff}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#96789173}html[data-theme=dark] .panel,html[data-theme=dark] .card,html[data-theme=dark] .editor,html[data-theme=dark] .dialog-card,html[data-theme=dark] .app-select-panel,html[data-theme=dark] .payment,html[data-theme=dark] .supplier,html[data-theme=dark] .total-panel,html[data-theme=dark] .rule-form,html[data-theme=dark] .rule-row,html[data-theme=dark] .telegram-invite,html[data-theme=dark] .suggestion,html[data-theme=dark] .allocation,html[data-theme=dark] .search,html[data-theme=dark] .table-wrap,html[data-theme=dark] .filters,html[data-theme=dark] .filter-panel,html[data-theme=dark] .upload-panel,html[data-theme=dark] .detail{background:var(--surface-solid)!important;border-color:var(--border)!important;box-shadow:0 18px 44px -34px #000c!important;color:var(--text)!important}html[data-theme=dark] .side{background:linear-gradient(160deg,#2b2b30fa,#232327f2)!important;border-color:var(--border)!important;box-shadow:var(--glass-edge),0 18px 44px -34px #000000e6!important}html[data-theme=dark] .user,html[data-theme=dark] .logout,html[data-theme=dark] .theme-toggle{background:var(--surface-solid)!important;border-color:var(--border)!important;color:var(--muted-strong)!important}html[data-theme=dark] nav a{color:var(--muted-strong)!important}html[data-theme=dark] nav a:hover{background:#ffffff0f!important;color:var(--heading)!important}html[data-theme=dark] nav a.active{background:#ffffff14!important;border-color:var(--border-strong)!important;color:var(--heading)!important}html[data-theme=dark] .avatar{background:#274138!important;color:#a9e3c8!important}html[data-theme=dark] .tabs{background:#ffffff09!important;border-color:var(--border)!important}html[data-theme=dark] .filters-toggle{background:var(--surface-solid)!important;border-color:var(--border-strong)!important;color:var(--muted-strong)!important}html[data-theme=dark] .tabs button{color:var(--muted)!important}html[data-theme=dark] .tabs button:hover{background:#ffffff0f!important}html[data-theme=dark] tbody tr:hover,html[data-theme=dark] .row:hover{background:#ffffff0e!important}html[data-theme=dark] .aging-card{background:var(--surface-solid)!important;border-color:var(--border)!important;color:var(--text)!important}html[data-theme=dark] .card.tone-income{background:linear-gradient(150deg,#243b31,#1e2e28)!important;border-color:#6cbe9738!important}html[data-theme=dark] .card.tone-expense{background:linear-gradient(150deg,#3b2930,#2e2228)!important;border-color:#d5809738!important}html[data-theme=dark] .card.tone-info{background:linear-gradient(150deg,#26313c,#20272f)!important;border-color:#7ea3cb33!important}html[data-theme=dark] .tabs button.active{background:var(--surface-muted)!important;color:var(--heading)!important;border-color:var(--border-strong)!important;box-shadow:none!important}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] .select-trigger,html[data-theme=dark] .pager-btn{background:var(--input-bg)!important;color:var(--text)!important;border-color:var(--border-strong)!important;box-shadow:inset 0 1px 2px #0003!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#857c8c!important}html[data-theme=dark] .select-trigger.placeholder .select-label{color:#857c8c!important}html[data-theme=dark] .app-select-option{color:var(--text)!important}html[data-theme=dark] .app-select-option:hover,html[data-theme=dark] .app-select-option.active{background:#ffffff12!important}html[data-theme=dark] .app-select-option.selected{background:#d98bad2e!important;color:#f0b9d0!important}html[data-theme=dark] table{color:var(--text)!important}html[data-theme=dark] th{background:var(--surface-soft)!important;color:var(--muted)!important;border-color:var(--border)!important}html[data-theme=dark] td{border-color:var(--border)!important;color:var(--text)!important}html[data-theme=dark] .table-wrap{background:var(--surface-solid)!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] strong,html[data-theme=dark] .value{color:var(--heading)!important}html[data-theme=dark] .hint,html[data-theme=dark] .sub,html[data-theme=dark] .eyebrow,html[data-theme=dark] .meta,html[data-theme=dark] .label,html[data-theme=dark] .muted-cell,html[data-theme=dark] .empty,html[data-theme=dark] .email,html[data-theme=dark] .rule-pattern,html[data-theme=dark] .field>span,html[data-theme=dark] .filter-field>span{color:var(--muted)!important}html[data-theme=dark] .ghost,html[data-theme=dark] .icon-btn,html[data-theme=dark] .row-icon-btn{background:var(--surface-solid)!important;border-color:var(--border)!important;color:var(--muted-strong)!important;box-shadow:none!important}html[data-theme=dark] .row-icon-btn{background:var(--surface-muted)!important}html[data-theme=dark] .row-icon-btn.danger,html[data-theme=dark] .icon-text.danger-text,html[data-theme=dark] .danger-text{color:#e58ba4!important}html[data-theme=dark] .primary{color:var(--rose-ink)!important}html[data-theme=dark] .pill{background:var(--surface-muted)!important;color:var(--muted-strong)!important}html[data-theme=dark] .pill.off{opacity:.55}html[data-theme=dark] .pill[data-status=confirmed],html[data-theme=dark] .status-confirmed{background:#20362c!important;color:#8ed8b2!important}html[data-theme=dark] .pill[data-status=pending],html[data-theme=dark] .status-needs_review{background:#3b3324!important;color:#e8c87e!important}html[data-theme=dark] .pill[data-status=void],html[data-theme=dark] .status-rejected,html[data-theme=dark] .status-failed{background:#3b252d!important;color:#e58ba4!important}html[data-theme=dark] .status-uploaded{background:#253141!important;color:#9fc2e8!important}html[data-theme=dark] .badge{background:#3b332c!important;color:#e8c887!important}html[data-theme=dark] .count{background:#d98bad33!important;color:#f0b9d0!important}html[data-theme=dark] .error{background:var(--danger-soft)!important;border-color:#5b303c!important;color:#f1a8b8!important}html[data-theme=dark] .notice{background:var(--positive-soft)!important;border-color:#2d5444!important;color:#9ad8ba!important}html[data-theme=dark] .app-dialog-backdrop{background:#00000080}html[data-theme=dark] .app-select-backdrop{background:transparent}html[data-theme=dark] .app-select-panel{background:var(--surface-solid)!important}.filter-actions{padding-bottom:5px}.status-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;border:1px solid transparent;font-size:11.5px;line-height:1.1;white-space:nowrap}.status-pill[data-tone=positive]{background:#e3f6ec;border-color:#cfe9dc;color:#2f7a58}.status-pill[data-tone=warning]{background:#fff2d9;border-color:#f0dfb5;color:#8a6413}.status-pill[data-tone=danger]{background:#fdeef2;border-color:#f6cdd9;color:#a43f5c}.status-pill[data-tone=info]{background:#eef3fb;border-color:#d5e3f4;color:#4a6787}.status-pill[data-tone=neutral]{background:#f3edf6;border-color:#e5dce9;color:#7a6f85}.status-pill.off{opacity:.55}html[data-theme=dark] .status-pill[data-tone=positive]{background:#20362c;border-color:#2f5a45;color:#8ed8b2}html[data-theme=dark] .status-pill[data-tone=warning]{background:#3b3324;border-color:#5d4d2c;color:#e8c87e}html[data-theme=dark] .status-pill[data-tone=danger]{background:#3b252d;border-color:#63313f;color:#e58ba4}html[data-theme=dark] .status-pill[data-tone=info]{background:#253141;border-color:#354c65;color:#9fc2e8}html[data-theme=dark] .status-pill[data-tone=neutral]{background:#343038;border-color:#4a424f;color:#c1b7c8}
