:root{--violet:#6558d3;--violet-soft:#eeecff;--ink:#172033;--muted:#6b7280;--line:#e6e8ef;--bg:#f4f5f8;--green:#16855b;--orange:#dc7626;--navy:#17243e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#eeecff,transparent 45%)}.auth-card{width:min(430px,100%);padding:36px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 60px #27324a1a}.auth-card h1{text-align:center;margin:12px 0 4px}.brand-mark{width:38px;height:38px;border-radius:12px;display:inline-grid;place-items:center;background:var(--violet);color:#fff;font-weight:800}.auth-card>.brand-mark{display:grid;margin:auto;width:52px;height:52px}.auth-card>p{text-align:center}.btn{min-height:44px;border-radius:11px;font-weight:600}.btn-primary{background:var(--violet);border-color:var(--violet)}.btn-primary:hover{background:#5145be}.form-control,.form-select{min-height:44px;border-radius:10px;border-color:#d9dce5}.app-shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:22px 14px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 23px;color:var(--ink);text-decoration:none;font-size:21px;font-weight:800}.sidebar nav{display:grid;gap:4px}.nav-link{border:0;background:transparent;color:#697184;text-align:left;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;min-height:44px;border-radius:10px;text-decoration:none}.nav-link svg,.btn svg{width:18px;height:18px}.nav-link:hover,.nav-link.active{background:var(--violet-soft);color:var(--violet)}.main{min-width:0}.topbar{height:76px;position:sticky;top:0;z-index:20;background:#f4f5f8eF;backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:10px 28px;border-bottom:1px solid #e7e8ed}.topbar h1{font-size:21px;margin:0}.topbar p{font-size:13px;color:var(--muted);margin:2px 0 0}.top-actions{display:flex;gap:9px}.content{padding:26px 28px 90px;max-width:1500px}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cardx{background:white;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:0 5px 18px #27324a08}.cardx h3{font-size:13px;color:var(--muted);font-weight:650;margin:0 0 12px}.money{font-size:27px;font-weight:750;letter-spacing:-.5px}.calculation{border-top:1px solid var(--line);margin-top:14px;padding-top:10px;font-size:12px;color:var(--muted)}.grid-2{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-top:16px}.chart-wrap{height:285px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.section-head h2{font-size:17px;margin:0}.empty{min-height:150px;border:1px dashed #d7dae3;border-radius:13px;display:grid;place-items:center;text-align:center;color:var(--muted);padding:22px}.table-card{padding:0;overflow:hidden}.table-tools{display:flex;gap:10px;flex-wrap:wrap;padding:16px;border-bottom:1px solid var(--line)}.table-tools>*{max-width:220px}.table{margin:0}.table th{font-size:12px;color:var(--muted);font-weight:650;background:#fafbfc;padding:12px 15px}.table td{padding:13px 15px;vertical-align:middle}.merchant{font-weight:650}.meta{font-size:12px;color:var(--muted)}.amount.income{color:var(--green);font-weight:700}.amount.expense{font-weight:700}.tag{display:inline-flex;gap:4px;align-items:center;padding:3px 8px;border-radius:99px;background:var(--violet-soft);color:#5045af;font-size:12px;margin:2px}.pill-status{font-size:12px;padding:4px 9px;border-radius:99px;background:#eef2f7}.progress{height:9px}.segmented{display:flex;background:#f0f1f5;padding:4px;border-radius:12px}.segmented label{flex:1}.segmented .btn-check:checked+.btn{background:white;color:var(--violet);box-shadow:0 2px 8px #00000012}.hint{font-size:12px;color:var(--muted)}.form-msg:empty{display:none}.mobile-nav{display:none}.loading{padding:50px;text-align:center;color:var(--muted)}#notice{position:fixed;right:24px;top:88px;z-index:1100;max-width:360px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.danger{border-color:#efc4c4}.danger h2{color:#b42318}.small-action{min-height:36px;padding:5px 9px}.modal-content{border:0;border-radius:16px}.modal-header,.modal-footer{border-color:var(--line)}
.multi-money{font-size:20px;line-height:1.55}.btn-success{background:#16855b;border-color:#16855b}

/* Compact current-month dashboard */
.content{max-width:none;width:100%}
.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.dashboard-heading h2{font-size:25px;letter-spacing:-.5px;margin:3px 0 2px}
.dashboard-heading p,.section-subtitle{color:var(--muted);font-size:12px;margin:0}
.dashboard-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.3px;color:var(--violet)}
.month-badge{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 13px;font-size:13px;font-weight:700;box-shadow:0 4px 14px #27324a08}
.month-badge svg{width:16px;height:16px;color:var(--violet)}
.dashboard-summary{gap:14px}
.metric-card{position:relative;overflow:hidden;min-height:160px;padding:18px 18px 15px}
.metric-card:after{content:"";position:absolute;right:-28px;bottom:-40px;width:100px;height:100px;border-radius:50%;background:var(--metric-soft,#f3f1ff)}
.metric-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;margin-bottom:12px;background:var(--metric-soft,#eeecff);color:var(--metric,#6558d3)}
.metric-icon svg{width:18px;height:18px}
.metric-card h3{margin-bottom:7px}
.metric-card .money,.metric-card .calculation{position:relative;z-index:1}
.metric-net{--metric:#6558d3;--metric-soft:#eeecff}.metric-income{--metric:#16855b;--metric-soft:#e8f6f0}.metric-spending{--metric:#dc7626;--metric-soft:#fff0e7}.metric-savings{--metric:#3177c8;--metric-soft:#e9f2fd}
.dashboard-chart-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;margin-top:14px}
.dashboard-chart{height:225px}
.dashboard-empty{min-height:225px}
.dashboard-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px;align-items:start}
.action-card{padding:0;overflow:hidden}
.action-card>.section-head{padding:16px 17px 13px;margin:0;border-bottom:1px solid var(--line)}
.action-card .section-head>div{display:flex;align-items:center;gap:8px}
.action-card h2,.dashboard-activity h2{font-size:16px;margin:0}
.count-badge{min-width:23px;height:23px;padding:0 7px;display:inline-grid;place-items:center;border-radius:99px;background:var(--violet-soft);color:var(--violet);font-size:11px;font-weight:800}
.link-button{border:0;background:transparent;color:var(--violet);font-size:12px;font-weight:700;padding:4px;cursor:pointer}
.dashboard-list{height:285px;overflow:auto;padding:0 16px;scrollbar-width:thin;scrollbar-color:#cfd2dc transparent}
.dashboard-list .list-row{padding:11px 0;align-items:center}
.dashboard-list .list-row strong{font-size:13px}
.dashboard-list .meta{line-height:1.35;margin-top:2px}
.dashboard-list .btn{min-height:34px;padding:5px 10px;font-size:11px;border-radius:9px;flex:0 0 auto}
.dashboard-list>.meta,.dashboard-list>.empty{height:100%;min-height:0;display:grid;place-items:center;text-align:center}
.dashboard-activity{margin-top:14px;padding:0;overflow:hidden}
.dashboard-activity>.section-head{padding:16px 18px;margin:0;border-bottom:1px solid var(--line)}
.dashboard-activity .table-responsive{max-height:330px;overflow:auto}

/* Monthly budgets */
.budget-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.budget-toolbar h2{font-size:25px;letter-spacing:-.4px;margin:3px 0 2px}
.budget-toolbar p{color:var(--muted);font-size:13px;margin:0}
.budget-toolbar-actions,.month-switcher{display:flex;align-items:center;gap:8px}
.month-switcher{padding:4px;background:#fff;border:1px solid var(--line);border-radius:13px}
.month-switcher .btn{min-height:36px;border:0;padding:5px 9px}
.month-switcher .budget-current{min-width:145px;background:#f7f7fa}
.budget-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.budget-total-card{display:flex;align-items:stretch;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#fff 55%,#f7f6ff)}
.currency-pill{display:inline-grid;place-items:center;min-width:42px;height:24px;padding:0 8px;border-radius:7px;background:var(--violet-soft);color:var(--violet);font-size:11px;font-weight:800;letter-spacing:.5px}
.budget-total-card h3{margin:12px 0 4px}
.budget-total-stats{min-width:48%;display:grid;grid-template-columns:repeat(3,1fr);border-left:1px solid var(--line)}
.budget-total-stats>div{display:flex;flex-direction:column;justify-content:center;padding:8px 13px;border-right:1px solid var(--line)}
.budget-total-stats>div:last-child{border:0}
.budget-total-stats span,.budget-spend-line span,.budget-card-foot span{font-size:11px;color:var(--muted)}
.budget-total-stats strong{font-size:14px;margin-top:4px}
.budget-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.budget-card{padding:17px;border-top:4px solid var(--green)}
.budget-card.budget-warning{border-top-color:#d99122}.budget-card.budget-over{border-top-color:#cf3f3f}
.budget-card-head,.budget-spend-line,.budget-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}
.budget-card-head>div{display:flex;align-items:center;gap:9px}
.budget-card-head h3{font-size:16px;color:var(--ink);margin:0}
.budget-status{padding:4px 8px;border-radius:99px;background:#e8f6f0;color:var(--green);font-size:11px;font-weight:800}
.budget-status.warning{background:#fff2d9;color:#a96908}.budget-status.over{background:#fde8e8;color:#b62929}
.budget-spend-line{margin-top:22px}
.budget-spend-line>div{display:flex;flex-direction:column}
.budget-spend-line strong{font-size:20px;margin-top:2px}
.budget-progress{height:10px;margin:13px 0;border-radius:99px;background:#eef0f4;overflow:hidden}
.budget-progress span{display:block;height:100%;border-radius:inherit;background:var(--green);transition:width .3s ease}
.budget-progress span.warning{background:#d99122}.budget-progress span.over{background:#cf3f3f}
.budget-card-foot{padding-top:12px;border-top:1px solid var(--line)}
.budget-card-foot>div:first-child{display:flex;flex-direction:column}
.budget-empty{grid-column:1/-1;min-height:260px}
.budget-alert-strip{display:flex;align-items:center;gap:18px;padding:12px 15px;margin-top:14px;background:#fffaf0;border:1px solid #f0d7a8;border-radius:14px}
.budget-alert-title{display:flex;align-items:center;gap:10px;min-width:190px}
.budget-alert-title .metric-icon{width:34px;height:34px;margin:0;background:#fff0d4;color:#b8750b}
.budget-alert-items{display:flex;align-items:center;gap:7px;flex:1;overflow-x:auto}
.budget-alert-chip{white-space:nowrap;padding:6px 9px;border-radius:8px;background:#fff0d4;color:#8a5909;font-size:11px}
.budget-alert-chip.over{background:#fde8e8;color:#a62c2c}
.budget-alert-strip>.btn{min-height:36px;white-space:nowrap}
@media(max-width:1200px){.dashboard-action-grid{grid-template-columns:1fr 1fr}.dashboard-action-grid .action-card:last-child{grid-column:1/-1}.dashboard-chart-grid{grid-template-columns:1fr 1fr}.budget-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-total-card{display:block}.budget-total-stats{margin-top:14px;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:1100px){.summary-grid{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.dashboard-chart-grid{grid-template-columns:1fr}}
@media(max-width:768px){.app-shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:68px;padding:10px 14px}.top-actions .btn-light{display:none}.top-actions .btn{font-size:0;width:44px;padding:0}.top-actions .btn svg{margin:auto}.content{padding:16px 12px 90px}.summary-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:30;background:white;border-top:1px solid var(--line);overflow-x:auto;padding:6px}.mobile-nav .nav-link{flex:0 0 75px;display:grid;justify-items:center;gap:2px;font-size:10px;padding:6px}.mobile-nav svg{width:19px}.table-responsive{font-size:13px}.table td,.table th{padding:10px}.money{font-size:24px}.grid-2{margin-top:12px}.chart-wrap{height:245px}.dashboard-heading{align-items:flex-start}.month-badge{display:none}.dashboard-action-grid{grid-template-columns:1fr}.dashboard-action-grid .action-card:last-child{grid-column:auto}.dashboard-list{height:260px}.dashboard-chart{height:220px}.dashboard-activity>.section-head{align-items:flex-start}.dashboard-activity>.section-head .btn{font-size:11px;min-height:38px}.budget-toolbar{align-items:flex-start;flex-direction:column}.budget-toolbar-actions{width:100%;align-items:stretch;flex-direction:column}.month-switcher{justify-content:space-between}.month-switcher .budget-current{flex:1}.budget-summary-grid,.budget-card-grid{grid-template-columns:1fr}.budget-total-stats{grid-template-columns:1fr}.budget-total-stats>div{border-right:0;border-bottom:1px solid var(--line)}.budget-alert-strip{align-items:flex-start;flex-direction:column}.budget-alert-items{width:100%}.budget-alert-strip>.btn{width:100%}}

/* Currency-filtered smart home dashboard */
.home-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}
.home-dashboard-head h2{font-size:28px;letter-spacing:-.7px;margin:3px 0 2px}.home-dashboard-head h2 span{font-size:22px}
.home-dashboard-head p{margin:0;color:var(--muted);font-size:13px}
.home-dashboard-controls{display:flex;align-items:center;gap:10px}
.currency-switch{display:flex;padding:4px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 14px #27324a08}
.currency-switch button{min-width:76px;height:36px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}
.currency-switch button.active{color:#fff;background:linear-gradient(135deg,#6558d3,#7e72ea);box-shadow:0 4px 10px #6558d344}
.home-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.home-kpi{min-width:0;min-height:118px;display:flex;align-items:flex-start;gap:11px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 18px #27324a08}
.home-kpi-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:var(--kpi-soft);color:var(--kpi)}
.home-kpi-icon svg{width:19px;height:19px}.home-kpi>div{min-width:0;display:flex;flex-direction:column}
.home-kpi small{color:var(--muted);font-size:11px;font-weight:700}.home-kpi strong{font-size:19px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0}
.home-kpi em{color:var(--kpi);font-size:10px;font-style:normal;font-weight:700}
.home-kpi.violet{--kpi:#6658d3;--kpi-soft:#eeecff}.home-kpi.green{--kpi:#159565;--kpi-soft:#e5f7ef}.home-kpi.red{--kpi:#df5060;--kpi-soft:#fdecef}.home-kpi.blue{--kpi:#388ed1;--kpi-soft:#e9f4fc}.home-kpi.indigo{--kpi:#6658d3;--kpi-soft:#eeecff}.home-kpi.amber{--kpi:#db8b18;--kpi-soft:#fff3de}
.kpi-progress{width:100%;height:5px;margin-top:7px;border-radius:99px;background:#ececf3;overflow:hidden}.kpi-progress i{display:block;height:100%;border-radius:inherit;background:#6658d3}
.home-main-grid{display:grid;grid-template-columns:1.45fr 1fr .78fr;gap:12px;margin-top:12px}
.home-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.home-panel{padding:0;overflow:hidden;min-width:0}.home-panel-head{height:64px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid var(--line)}
.home-panel-head h3,.quick-actions-panel h3{font-size:14px;color:var(--ink);margin:0}.home-panel-head span,.quick-actions-panel>div>span{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.home-view{border:0;background:#f4f3ff;color:var(--violet);border-radius:8px;padding:6px 8px;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.home-chart{height:260px;padding:10px}.home-panel-scroll{height:260px;overflow:auto;padding:0 14px;scrollbar-width:thin;scrollbar-color:#d2d5df transparent}
.home-list-row{min-height:62px;display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}.home-list-row:last-child{border:0}
.home-list-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#eef6ff;color:#3988cf}.home-list-icon svg{width:17px;height:17px}.home-list-icon.purple{background:#f0edff;color:#6658d3}.home-list-icon.orange{background:#fff1e3;color:#db7d1f}
.bill-logo{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:#f5f6f9;box-shadow:inset 0 0 0 1px #e9eaf0}
.bill-logo img{display:block;width:100%;height:100%;object-fit:cover}
.icon-picker-field{margin:4px 0 17px;padding:0;border:0}.icon-picker-field legend{font-size:14px;font-weight:600;margin-bottom:8px}
.icon-picker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:250px;overflow:auto;padding:2px;scrollbar-width:thin}
.icon-choice{position:relative;min-width:0;margin:0;cursor:pointer}.icon-choice input{position:absolute;opacity:0;pointer-events:none}
.icon-choice>span{height:58px;display:grid;place-items:center;border:2px solid transparent;border-radius:12px;background:#f5f6f9;transition:.15s ease}.icon-choice>span img{width:42px;height:42px;border-radius:10px}.icon-choice.auto>span svg{width:24px;height:24px;color:#6558d3}
.icon-choice small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.15;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.icon-choice:hover>span{background:#f0eeff}.icon-choice input:checked+span{border-color:#6558d3;background:#eeecff;box-shadow:0 0 0 3px #6558d31a}.icon-choice input:checked~small{color:#5145be;font-weight:800}
.budget-card-head .bill-logo{width:34px;height:34px;flex-basis:34px}.budget-card-head>div{min-width:0}.list-row>.bill-logo{margin-right:2px}
@media(max-width:520px){.icon-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Dynamic shared image picker */
.icon-field{margin-bottom:16px}.choose-icon-button{width:100%;min-height:66px;display:flex;align-items:center;gap:11px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fafbfc;color:var(--ink);text-align:left;cursor:pointer}.choose-icon-button:hover{border-color:#8f86e7;background:#f8f6ff}.choose-icon-button>span:nth-child(2){min-width:0;display:flex;flex:1;flex-direction:column}.choose-icon-button strong{font-size:12px}.choose-icon-button small{color:var(--muted);font-size:10px}.choose-icon-button>svg{width:16px;height:16px;color:#8a91a1}
.chosen-icon-preview{width:45px;height:45px;flex:0 0 45px;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:#eeecff;color:#6558d3}.chosen-icon-preview img{width:100%;height:100%;object-fit:cover}.chosen-icon-preview svg{width:21px;height:21px}
.icon-popup{position:fixed;inset:0;z-index:2000;display:none}.icon-popup.show{display:block}.icon-popup-backdrop{position:absolute;inset:0;background:#17203399;backdrop-filter:blur(3px)}
.icon-popup-window{position:absolute;left:50%;top:50%;width:min(760px,calc(100% - 28px));max-height:min(720px,calc(100vh - 28px));display:flex;flex-direction:column;padding:18px;background:#fff;border-radius:18px;box-shadow:0 28px 80px #1118274d;transform:translate(-50%,-50%)}
.icon-popup-window header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:12px}.icon-popup-window h2{font-size:20px;margin:0}.icon-popup-window p{font-size:11px;color:var(--muted);margin:3px 0 0}.icon-popup-close{width:36px;height:36px;border:0;border-radius:10px;background:#f2f3f6;color:#687084;font-size:24px;line-height:1;cursor:pointer}.icon-popup-search{margin-bottom:12px}
.icon-popup-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;overflow:auto;padding:3px;scrollbar-width:thin}.popup-icon-choice{min-width:0;padding:8px;border:2px solid transparent;border-radius:13px;background:#f7f8fa;cursor:pointer}.popup-icon-choice:hover,.popup-icon-choice.selected{border-color:#6558d3;background:#eeecff}.popup-icon-choice span{height:68px;display:grid;place-items:center}.popup-icon-choice img{width:58px;height:58px;border-radius:13px;object-fit:cover}.popup-icon-choice svg{width:27px;height:27px;color:#6558d3}.popup-icon-choice strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-merchant-wrap{display:flex;align-items:center;gap:9px}.tx-logo-button{border:0;background:transparent;padding:0;border-radius:11px;cursor:pointer}.tx-logo-button:hover{box-shadow:0 0 0 3px #6558d326}.tx-logo-button .bill-logo{width:36px;height:36px;flex-basis:36px}
.budget-category-manager{margin-bottom:14px}.budget-category-manager .section-head{margin-bottom:11px}.category-chip-grid{display:flex;flex-wrap:wrap;gap:8px}.category-manage-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 6px 5px 10px;border:1px solid var(--line);border-radius:99px;background:#f8f9fb}.category-manage-chip strong{font-size:10px}.category-manage-chip button{width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#747c8e;cursor:pointer}.category-manage-chip button:hover{color:#6558d3;background:#eeecff}.category-manage-chip button svg{width:12px;height:12px}
.settings-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.settings-hero h2{font-size:28px;margin:3px 0}.settings-hero p{color:var(--muted);margin:0}.settings-stats{display:flex;gap:8px;flex-wrap:wrap}.settings-stats span{padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);font-size:12px}.settings-stats strong{color:var(--ink);font-size:15px;margin-right:3px}.settings-organized-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.settings-manager{padding:17px}.settings-manager .section-head{margin-bottom:8px}.settings-manager .section-head h2{display:flex;align-items:center;gap:8px;font-size:16px}.settings-manager .section-head h2 svg{width:18px;height:18px;color:var(--violet)}.settings-manager .section-head p{font-size:12px;color:var(--muted);margin:3px 0 0}.settings-list{max-height:370px;overflow:auto;padding-right:4px}.settings-manage-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 2px;border-top:1px solid var(--line)}.settings-manage-row:first-child{border-top:0}.settings-manage-row>div:nth-child(2){min-width:0;display:grid}.settings-manage-row strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-manage-row span{font-size:11px;color:var(--muted)}.settings-row-actions{display:flex!important;grid-auto-flow:column;gap:5px}.settings-row-actions .icon-button{width:34px;height:34px}.settings-row-actions svg{width:15px;height:15px}.settings-mini-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center!important}.settings-mini-icon svg{width:17px;height:17px}.settings-mini-icon.violet{background:#eeecff;color:#6558d3}.settings-mini-icon.green{background:#e6f6ef;color:#16855b}.settings-empty{min-height:70px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px}.settings-short .section-head{margin:0}.settings-short.danger{border-color:#efc4c4}@media(max-width:900px){.settings-organized-grid{grid-template-columns:1fr}.settings-hero{align-items:flex-start;flex-direction:column}.settings-stats{width:100%}}
.module-page{display:grid;gap:16px}.module-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(250px,1fr) minmax(440px,1.15fr);gap:24px;align-items:center;padding:22px 24px;border:1px solid #dedff2;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f7f6ff 58%,#eef3ff 100%);box-shadow:0 8px 28px #28345b0b}.module-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-100px;top:-140px;background:#6558d312}.module-hero-copy{position:relative;z-index:1}.module-hero h2{font-size:25px;margin:3px 0 4px;letter-spacing:-.4px}.module-hero p{margin:0;color:var(--muted);font-size:13px}.module-stat-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.module-stat{min-width:0;display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #e7e8ef;border-radius:14px;background:#ffffffe8}.module-stat>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.module-stat svg{width:17px;height:17px}.module-stat>div{min-width:0;display:grid}.module-stat small{font-size:10px;color:var(--muted);white-space:nowrap}.module-stat strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-stat.violet>span{background:#eeecff;color:#6558d3}.module-stat.green>span{background:#e6f6ef;color:#16855b}.module-stat.red>span{background:#ffebee;color:#d64657}.module-stat.amber>span{background:#fff3df;color:#d77a16}.module-stat.blue>span{background:#eaf3ff;color:#397dc5}.module-page .grid-2{margin-top:0;align-items:start}.module-page .cardx{box-shadow:0 6px 20px #25334f0a}.module-page .section-head h2{font-size:16px}.module-page .list-row{padding:11px 2px}.module-page .list-row:hover{background:#fafaff}.module-page .empty{min-height:110px}.module-page .summary-grid{margin-bottom:0!important}.module-page .summary-grid .cardx{border-top:3px solid #6558d3}.module-transactions .table-card{border-radius:17px}.module-transactions .table-tools{background:#fafbff;position:sticky;top:76px;z-index:4}.module-transactions #txTable{max-height:calc(100vh - 310px);overflow:auto}.module-transactions .table thead{position:sticky;top:0;z-index:3}.module-transactions .table tbody tr{transition:background .15s}.module-transactions .table tbody tr:hover{background:#f9f9ff}.module-rent .grid-2>article,.module-recurring .grid-2>article,.module-subscriptions .grid-2>article,.module-rules .grid-2>article{max-height:620px;overflow:auto}.module-rent #rentDue,.module-recurring #recurringPending,.module-subscriptions #subscriptionPending{display:grid;gap:2px}.module-goals>article,.module-documents>article{margin-top:0!important}.module-goals .progress{background:#ececf4;border-radius:20px;overflow:hidden}.module-goals .progress-bar{background:linear-gradient(90deg,#6558d3,#8e7ff0)}.module-documents .grid-2{grid-template-columns:1.25fr .75fr}.module-documents #docForm{padding:14px;border-radius:13px;background:#f8f9fd;border:1px dashed #d9dbea}.module-rules .grid-2{grid-template-columns:1.35fr .65fr}.module-budgets .budget-card-grid{margin-top:0}.module-bills .bill-layout{align-items:start}.module-bills .bill-calendar{overflow:auto}@media(max-width:1050px){.module-hero{grid-template-columns:1fr}.module-stat-grid{grid-template-columns:repeat(3,1fr)}.module-transactions #txTable{max-height:none}.module-rent .grid-2>article,.module-recurring .grid-2>article,.module-subscriptions .grid-2>article,.module-rules .grid-2>article{max-height:none}}@media(max-width:680px){.module-hero{padding:18px}.module-stat-grid{grid-template-columns:1fr}.module-stat{padding:9px}.module-documents .grid-2,.module-rules .grid-2{grid-template-columns:1fr}.module-transactions .table-tools>*{max-width:none;width:100%}}
.module-page{gap:12px}.module-hero{display:block;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.module-hero:after,.module-hero-copy{display:none}.module-hero .module-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-hero .module-stat{min-height:82px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 5px 16px #25334f08}.module-hero .module-stat>span{width:42px;height:42px}.module-hero .module-stat strong{font-size:18px}.module-recurring .module-hero,.module-subscriptions .module-hero{display:none}.module-recurring>.summary-grid,.module-subscriptions>.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-recurring>.summary-grid .cardx,.module-subscriptions>.summary-grid .cardx{padding:16px 18px;min-height:112px}.module-recurring>.summary-grid .money,.module-subscriptions>.summary-grid .money{font-size:25px}.module-transactions .table-card{min-height:0}.module-transactions .table-tools{position:relative;top:0;padding:13px 15px;background:#fff}.module-transactions #txTable{max-height:calc(100vh - 245px);min-height:0}.module-transactions .table th{top:0}.module-rent .grid-2{grid-template-columns:1.15fr .85fr}.module-rent .grid-2>article{max-height:610px}.module-recurring .grid-2,.module-subscriptions .grid-2{grid-template-columns:1.18fr .82fr}.module-recurring .grid-2>article,.module-subscriptions .grid-2>article{max-height:590px}.module-recurring .list-row,.module-subscriptions .list-row,.module-rent .list-row{padding:10px 2px}.module-bills{gap:12px}.module-bills .bill-toolbar{align-items:center;margin:0}.module-bills .bill-toolbar>div:first-child{display:none}.module-bills .bill-toolbar .month-switcher{margin-left:auto}.module-bills .bill-summary{margin:0;gap:12px}.module-bills .bill-summary .cardx{min-height:105px;padding:15px 17px}.module-bills .bill-summary strong{font-size:19px}.module-bills .bill-layout{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:12px}.module-bills .bill-layout>article{max-height:520px;overflow:auto}.module-bills .bill-day{min-height:72px;padding:5px}.module-bills .bill-dot{font-size:9px;padding:2px 4px}.module-bills>article.mt-3{margin-top:0!important;max-height:270px;overflow:auto}.module-budgets .budget-toolbar{margin-bottom:4px}.module-budgets .budget-summary-grid{gap:12px}.module-goals .module-hero,.module-documents .module-hero,.module-rules .module-hero{margin-bottom:0}@media(max-width:1050px){.module-rent .grid-2,.module-recurring .grid-2,.module-subscriptions .grid-2,.module-bills .bill-layout{grid-template-columns:1fr}.module-rent .grid-2>article,.module-recurring .grid-2>article,.module-subscriptions .grid-2>article,.module-bills .bill-layout>article{max-height:none}}@media(max-width:680px){.module-hero .module-stat-grid,.module-recurring>.summary-grid,.module-subscriptions>.summary-grid{grid-template-columns:1fr}.module-hero .module-stat{min-height:68px}.module-transactions #txTable{max-height:none}.module-bills .bill-toolbar .month-switcher{width:100%;margin:0}.module-bills .bill-toolbar .bill-current{flex:1}}
.account-card-grid.account-grouped-layout{display:grid;grid-template-columns:1fr;gap:18px}.account-currency-section{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#f8f9fd}.account-currency-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.account-currency-heading>div:first-child{display:flex;align-items:center;gap:10px}.account-currency-heading h3{font-size:17px;color:var(--ink);margin:0}.account-currency-heading p{font-size:11px;color:var(--muted);margin:1px 0 0}.account-order-legend{display:flex;gap:6px;flex-wrap:wrap}.account-order-legend span{font-size:10px;font-weight:700;padding:5px 8px;border-radius:99px}.account-order-legend .positive{background:#e7f7ef;color:#16855b}.account-order-legend .negative{background:#ffeaed;color:#c63e50}.account-order-legend .zero{background:#eceff4;color:#697184}.account-balance-section{display:grid;gap:8px}.account-balance-heading{display:flex;align-items:center;gap:7px;padding:0 3px}.account-balance-heading>span{width:8px;height:8px;border-radius:50%}.account-balance-heading strong{font-size:11px;text-transform:uppercase;letter-spacing:.07em}.account-balance-heading small{min-width:20px;text-align:center;padding:1px 6px;border-radius:99px;background:#fff;color:var(--muted);font-size:9px}.account-balance-section.positive .account-balance-heading>span{background:#20a36a}.account-balance-section.negative .account-balance-heading>span{background:#e35261}.account-balance-section.zero .account-balance-heading>span{background:#98a1af}.account-currency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.account-currency-grid .finance-account{min-height:218px;border-top-width:3px}.account-currency-grid .finance-account.balance-positive{border-top-color:#20a36a}.account-currency-grid .finance-account.balance-negative{border-top-color:#e35261}.account-currency-grid .finance-account.balance-zero{border-top-color:#a7aeba;background:#fcfcfd}.account-currency-grid .finance-account-balance{margin:18px 0 13px}.account-currency-grid .finance-account-balance strong{font-size:24px}@media(max-width:1200px){.account-currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.account-currency-heading{align-items:flex-start;flex-direction:column}.account-currency-grid{grid-template-columns:1fr}.account-currency-section{padding:12px}}
@media(max-width:768px){.icon-popup-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.icon-popup-window{padding:14px}.popup-icon-choice span{height:58px}.popup-icon-choice img{width:50px;height:50px}}
@media(max-width:480px){.icon-popup-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.home-list-copy{min-width:0;flex:1;display:flex;flex-direction:column}.home-list-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-list-copy span{color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-list-value{display:flex;align-items:flex-end;flex-direction:column;gap:3px}.home-list-value strong{font-size:10px;white-space:nowrap}.mini-pay{border:0;border-radius:6px;background:#e8f7ef;color:#148155;padding:3px 7px;font-size:9px;font-weight:800;cursor:pointer}
.home-empty{height:100%;min-height:110px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--muted);font-size:11px;text-align:center}.home-empty svg{width:24px;height:24px;color:#aab0bd}.chart-empty{height:260px}
.rent-compact .list-row{min-height:62px;padding:9px 0}.rent-compact .list-row strong{font-size:11px}.rent-compact .meta{font-size:9px}.rent-compact .btn{min-height:30px;padding:4px 8px;font-size:9px;border-radius:7px}.rent-compact>.meta{height:100%;display:grid;place-items:center;text-align:center}
.budget-mini{padding-top:6px}.budget-mini-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:9px 0;border-bottom:1px solid var(--line)}.budget-mini-row>div{display:flex;flex-direction:column}.budget-mini-row strong{font-size:11px}.budget-mini-row span{color:var(--muted);font-size:9px}.budget-mini-row b{font-size:10px;color:var(--green)}.budget-mini-row b.warning{color:#c27b0a}.budget-mini-row b.over{color:#c83f48}.budget-mini-row .bill-logo{width:32px;height:32px;flex-basis:32px}
.budget-mini-track{grid-column:1/-1;height:5px;border-radius:99px;background:#edf0f4;overflow:hidden}.budget-mini-track i{display:block;height:100%;background:var(--green)}.budget-mini-track i.warning{background:#d99122}.budget-mini-track i.over{background:#cf3f3f}
.quick-actions-panel{display:flex;align-items:center;gap:25px;padding:14px 17px;margin-top:12px}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-actions button{min-width:88px;border:0;border-radius:11px;background:#f5f4ff;color:var(--violet);padding:9px 12px;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;cursor:pointer}.quick-actions button svg{width:16px;height:16px}
@media(max-width:1450px){.home-kpi-grid{grid-template-columns:repeat(3,1fr)}.home-main-grid{grid-template-columns:1.35fr 1fr}.bills-panel{grid-column:1/-1}.bills-panel .home-panel-scroll{height:190px;display:grid;grid-template-columns:repeat(2,1fr);column-gap:18px}}
@media(max-width:1050px){.home-main-grid,.home-secondary-grid{grid-template-columns:1fr 1fr}.home-secondary-grid article:last-child{grid-column:1/-1}}
@media(max-width:768px){.home-dashboard-head{align-items:flex-start;flex-direction:column}.home-dashboard-controls{width:100%;justify-content:space-between}.home-dashboard-controls .month-badge{display:flex}.home-kpi-grid{grid-template-columns:1fr 1fr}.home-main-grid,.home-secondary-grid{grid-template-columns:1fr}.bills-panel,.home-secondary-grid article:last-child{grid-column:auto}.bills-panel .home-panel-scroll{height:260px;display:block}.home-chart{height:235px}.quick-actions-panel{align-items:flex-start;flex-direction:column}.quick-actions{width:100%;display:grid;grid-template-columns:repeat(2,1fr)}.quick-actions button{justify-content:center}.home-kpi strong{font-size:17px}}
@media(max-width:480px){.home-kpi-grid{grid-template-columns:1fr}.home-dashboard-controls{align-items:stretch;flex-direction:column}.currency-switch button{flex:1}.home-dashboard-controls .month-badge{justify-content:center}.home-kpi{min-height:105px}.home-chart{height:220px}}

/* Tanshar Home application shell */
.app-shell{grid-template-columns:250px minmax(0,1fr)}
.sidebar{width:250px;padding:20px 13px 14px;transition:width .2s ease;overflow:hidden}
.sidebar .brand{gap:12px;padding:0 9px 22px;font-size:inherit}
.sidebar .brand>.brand-mark{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#f0edff;color:#6558d3}
.sidebar .brand>.brand-mark svg{width:22px;height:22px}
.sidebar .brand>span:last-child{min-width:0;display:flex;flex-direction:column}
.sidebar .brand strong{font-size:17px;line-height:1.2;color:#141b2d;white-space:nowrap}
.sidebar .brand small{font-size:9px;color:#8a91a1;font-weight:600;margin-top:3px;white-space:nowrap}
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:2px;scrollbar-width:thin;scrollbar-color:#d8dae3 transparent}
.sidebar .nav-link{position:relative;gap:11px;padding:10px 11px;font-size:12px;font-weight:650;white-space:nowrap}
.sidebar .nav-link>svg:first-child{width:17px;height:17px;flex:0 0 17px}.sidebar .nav-chevron{width:13px!important;height:13px!important;margin-left:auto;opacity:.45}
.sidebar .nav-link.active{color:#fff;background:linear-gradient(135deg,#6759db,#7f74ef);box-shadow:0 6px 14px #6558d345}
.sidebar .nav-link.active .nav-chevron{opacity:.8}
.sidebar-footer{display:flex;align-items:center;gap:9px;margin-top:12px;padding:11px;border-radius:12px;background:#f7f6ff;border:1px solid #ece9ff}
.sidebar-home-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#e9e5ff;color:#6558d3}.sidebar-home-icon svg{width:16px;height:16px}
.sidebar-footer>div{display:flex;min-width:0;flex-direction:column}.sidebar-footer strong{font-size:10px;white-space:nowrap}.sidebar-footer small{font-size:9px;color:var(--muted);white-space:nowrap}
.topbar{height:78px;padding:10px 25px;background:#f7f8fcef;gap:18px}
.topbar-page{display:flex;align-items:center;gap:12px;min-width:190px}.topbar-page h1{font-size:18px}.topbar-page p{font-size:10px}
.sidebar-toggle,.icon-button{width:38px;height:38px;min-height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;color:#596174;box-shadow:0 4px 12px #27324a0b;cursor:pointer}
.sidebar-toggle svg,.icon-button svg{width:17px;height:17px}
.topbar-search{position:relative;flex:1;max-width:430px;margin-left:auto}.topbar-search svg{position:absolute;left:13px;top:50%;width:16px;height:16px;color:#9299a8;transform:translateY(-50%)}
.topbar-search input{width:100%;height:42px;padding:0 14px 0 39px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-size:12px;outline:0;box-shadow:0 4px 15px #27324a08}.topbar-search input:focus{border-color:#9a91ea;box-shadow:0 0 0 3px #6558d31a}
.top-actions{align-items:center}.top-actions .add-entry-top{display:flex;align-items:center;gap:6px;min-height:40px;padding:8px 12px;font-size:11px}.top-actions .add-entry-top svg{width:15px;height:15px}
.owner-profile{min-width:166px;height:48px;display:flex;align-items:center;gap:9px;padding:4px 8px;border:0;border-left:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.owner-profile>svg{width:14px;height:14px;margin-left:auto;color:#848b99}
.owner-avatar{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#6558d3,#3d94d7);color:#fff;font-size:11px;font-weight:850;box-shadow:0 3px 9px #6558d34a}
.owner-copy{min-width:0;display:flex;flex-direction:column}.owner-copy strong{max-width:105px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.owner-copy small{font-size:9px;color:var(--muted)}
.profile-menu{width:230px;padding:7px;border:1px solid var(--line);border-radius:13px;box-shadow:0 18px 45px #1f293720}.profile-menu-head{display:flex;flex-direction:column;padding:10px;border-bottom:1px solid var(--line);margin-bottom:5px}.profile-menu-head strong{font-size:12px}.profile-menu-head span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.profile-menu .dropdown-item{display:flex;align-items:center;gap:8px;border-radius:8px;font-size:11px;padding:9px}.profile-menu .dropdown-item svg{width:15px;height:15px}
.auth-card .brand-mark svg{width:25px;height:25px}.auth-card .brand-mark{background:#eeecff;color:#6558d3}
body.sidebar-collapsed .app-shell{grid-template-columns:78px minmax(0,1fr)}body.sidebar-collapsed .sidebar{width:78px}body.sidebar-collapsed .sidebar .brand>span:last-child,body.sidebar-collapsed .sidebar .nav-link span,body.sidebar-collapsed .sidebar .nav-chevron,body.sidebar-collapsed .sidebar-footer>div{display:none}body.sidebar-collapsed .sidebar .brand{justify-content:center;padding-inline:0}body.sidebar-collapsed .sidebar .nav-link{justify-content:center;padding-inline:0}body.sidebar-collapsed .sidebar-footer{justify-content:center;padding-inline:0}
@media(max-width:1100px){.topbar-search{max-width:270px}.owner-profile{min-width:auto}.owner-copy{display:none}.home-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.app-shell{display:block}.sidebar{display:none}.topbar{height:auto;min-height:68px;padding:9px 12px;gap:8px}.sidebar-toggle,.topbar-page>div,.topbar-search,.top-actions .icon-button{display:none}.top-actions{margin-left:auto}.owner-profile{border:0;padding:3px;min-width:42px}.owner-profile>svg{display:none}.top-actions .add-entry-top span{display:none}.top-actions .add-entry-top{width:40px;padding:0;justify-content:center}.owner-avatar{width:34px;height:34px;flex-basis:34px}.content{padding-top:14px}}
.bill-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.bill-toolbar h2{margin:4px 0}.bill-toolbar p{margin:0;color:var(--muted)}.bill-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.bill-summary article{display:flex;flex-direction:column;gap:5px}.bill-summary h3{font-size:13px;margin:5px 0 0;color:var(--muted)}.bill-summary strong{font-size:22px}.bill-summary small{color:var(--muted)}.reminder-card{flex-direction:row!important;align-items:center}.reminder-card>svg{width:30px;height:30px;color:#7257dc}.bill-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:14px}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week span{text-align:center;color:var(--muted);font-size:11px;font-weight:700;padding:5px}.bill-day{min-height:94px;border:1px solid #edf0f6;padding:7px;background:#fff;overflow:hidden}.bill-day.blank{background:#fafbfe}.bill-day.today{border:2px solid #7564df;background:#f8f7ff}.bill-day>b{display:block;font-size:12px;margin-bottom:5px}.bill-dot{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;padding:3px 5px;border-radius:5px;margin-top:3px;background:#fff3cf;color:#8c6500}.bill-dot.overdue{background:#ffe3e7;color:#b62e42}.bill-day small{font-size:9px;color:var(--muted)}.bill-filters{display:flex;gap:7px}.bill-filters .form-select{width:130px}.bill-list-row{grid-template-columns:auto minmax(0,1fr) auto auto}.bill-status{text-transform:capitalize;font-size:10px;font-weight:800;padding:5px 8px;border-radius:20px;background:#fff3cf;color:#8c6500}.bill-status.overdue{background:#ffe3e7;color:#b62e42}@media(max-width:1050px){.bill-summary{grid-template-columns:1fr 1fr}.bill-layout{grid-template-columns:1fr}}@media(max-width:700px){.bill-toolbar{flex-direction:column}.bill-summary{grid-template-columns:1fr}.bill-calendar{overflow-x:auto}.calendar-week,.calendar-grid{min-width:650px}.bill-filters{width:100%;margin-top:8px}.bill-filters .form-select{width:50%}.bill-list-row{grid-template-columns:auto minmax(0,1fr) auto}.bill-list-row .bill-status{display:none}}
.account-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.account-toolbar h2{margin:4px 0}.account-toolbar p{margin:0;color:var(--muted)}.account-toolbar>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.account-toolbar .btn{display:inline-flex;align-items:center;gap:6px}.account-toolbar .btn svg{width:15px;height:15px}.account-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.account-summary article{display:grid;grid-template-columns:auto 1fr 1fr 1fr;align-items:center;gap:18px}.account-summary article>div{display:flex;flex-direction:column}.account-summary small{font-size:10px;color:var(--muted)}.account-summary strong{font-size:18px}.account-net{padding-left:18px;border-left:1px solid var(--line)}.account-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.finance-account{min-height:230px;display:flex;flex-direction:column;background:linear-gradient(145deg,#fff,#fbfbff)}.finance-account.inactive{opacity:.58}.finance-account-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.finance-account-head .bill-logo{width:42px;height:42px}.finance-account-head span,.finance-account-head small{font-size:10px;color:var(--muted);text-transform:capitalize}.finance-account-head h3{font-size:15px;margin:2px 0}.finance-account-balance{display:flex;flex-direction:column;margin:24px 0 16px}.finance-account-balance small{font-size:10px;color:var(--muted)}.finance-account-balance strong{font-size:26px;letter-spacing:-.5px}.credit-util>span{display:block;height:7px;border-radius:10px;background:#eceffa;overflow:hidden}.credit-util>span i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#6558d3,#e15e77)}.credit-util small{display:block;margin-top:7px;color:var(--muted);font-size:9px}.finance-account-actions{display:flex;gap:6px;margin-top:auto;padding-top:15px}.finance-account-actions .btn{font-size:10px}.finance-account-actions .btn:last-child{margin-left:auto}.account-empty{grid-column:1/-1}.transfer-note{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:10px;background:#f1efff;color:#5749bd;font-size:11px;margin-bottom:15px}.transfer-note svg{width:17px;height:17px;flex:0 0 auto}.transfer-row{grid-template-columns:auto minmax(0,1fr) auto}.transfer-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eeecff;color:#6558d3}.transfer-icon svg{width:17px;height:17px}@media(max-width:1200px){.account-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-summary article{grid-template-columns:auto 1fr 1fr}.account-net{grid-column:2/-1;border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:10px}}@media(max-width:760px){.account-toolbar{flex-direction:column}.account-toolbar>div:last-child{width:100%}.account-toolbar .btn{flex:1;justify-content:center}.account-summary,.account-card-grid{grid-template-columns:1fr}.account-summary article{grid-template-columns:auto 1fr}.account-summary article>div{grid-column:2}.account-net{grid-column:2}.finance-account-actions{flex-wrap:wrap}}
.import-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px;padding:14px 16px;border-radius:14px;background:#f4f3ff;border:1px solid #dfdcff}.import-summary strong{margin-right:auto}.import-summary span{padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #e2e4ea;color:#596174;font-size:.84rem}.import-table-wrap{max-height:52vh;border:1px solid #e4e6ec;border-radius:14px}.import-table-wrap thead{position:sticky;top:0;z-index:2;background:#f8f9fc}.import-table-wrap td,.import-table-wrap th{padding:11px 12px;vertical-align:middle}.import-table-wrap .form-select{min-width:145px}.statement-review{background:#fffaf0}.import-warning{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:#fff7df;color:#725513;font-size:.88rem}@media(max-width:767px){.import-table-wrap{max-height:58vh}.import-table-wrap table{min-width:760px}}
.mapping-panel{padding:12px 14px;border:1px solid #e4e6ec;border-radius:12px;background:#fafbfe}.mapping-panel summary{cursor:pointer;font-weight:700;color:#4f4a75}.mapping-panel label{display:block;margin-bottom:5px;font-size:.76rem;color:#6f7480}
.pdf-private-note{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #cce9db;border-radius:12px;background:#f0fbf6;color:#226447}.pdf-private-note svg{width:24px;height:24px}.pdf-private-note span{display:flex;flex-direction:column}.pdf-private-note small{color:#527268;margin-top:2px}

/* Tenant security deposits */
.rent-overview{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px;padding:22px 24px;overflow:hidden;border:1px solid #dedbfa;border-radius:20px;background:linear-gradient(125deg,#fff 0%,#f7f5ff 72%,#ece9ff 100%);box-shadow:0 12px 30px #4d438910}.rent-overview:after{content:"";position:absolute;right:-55px;top:-80px;width:220px;height:220px;border-radius:50%;background:#7566df10}.rent-overview>div,.rent-overview .btn{position:relative;z-index:1}.rent-overview h2{margin:4px 0;font-size:24px;letter-spacing:-.4px}.rent-overview p{margin:0;color:var(--muted)}.rent-overview .btn{display:flex;align-items:center;gap:7px;white-space:nowrap}.rent-overview .btn svg{width:16px;height:16px}.deposit-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.deposit-summary-card{display:flex;align-items:center;gap:13px;min-height:94px;border-top:3px solid #6b5ed8}.deposit-summary-card>div{display:flex;flex-direction:column;gap:3px}.deposit-summary-card small{color:var(--muted);font-size:10px;font-weight:700}.deposit-summary-card strong{font-size:20px}.deposit-summary-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eaf8f1;color:#358363}.deposit-summary-icon.inr{background:#fff4df;color:#b87a14}.deposit-summary-icon.neutral{background:#f0edff;color:#6558d3}.deposit-summary-icon svg{width:21px;height:21px}.rent-workspace{display:grid;grid-template-columns:minmax(360px,.72fr) minmax(640px,1.28fr);gap:14px;align-items:start}.rent-due-card{grid-column:1}.tenant-card{grid-column:2;grid-row:1/3}.deposit-history-card{grid-column:1}.rent-count-pill{padding:6px 10px;border-radius:999px;background:#fff4d9;color:#926812;font-size:10px;font-weight:800}.tenant-deposit-list{max-height:650px;overflow:auto;padding-right:5px;scrollbar-width:thin}.tenant-deposit-row{display:grid;grid-template-columns:auto minmax(150px,1fr) minmax(115px,.4fr) auto;align-items:center;gap:12px;padding:14px 3px;border-bottom:1px solid var(--line);transition:background .18s}.tenant-deposit-row:hover{background:#fafaff}.tenant-deposit-row:last-child{border-bottom:0}.tenant-deposit-copy,.tenant-deposit-amount{display:flex;min-width:0;flex-direction:column}.tenant-deposit-copy strong{font-size:12px}.tenant-deposit-copy span,.tenant-deposit-amount small{font-size:9px;color:var(--muted)}.tenant-deposit-amount strong{font-size:12px}.tenant-deposit-amount strong.held{color:#2f825f}.tenant-deposit-amount strong.none{color:#a0a5b0}.tenant-deposit-actions{display:flex;align-items:center;gap:5px}.tenant-deposit-actions .btn{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.tenant-deposit-actions .btn svg{width:13px;height:13px}.btn-refund{border:1px solid #f0d0bf;background:#fff6f0;color:#ad5d32}.btn-refund:hover{border-color:#e7b99f;background:#ffede3;color:#91441c}.tenant-deposit-actions .icon-button{width:32px;height:32px;min-height:32px}.tenant-deposit-actions .icon-button svg{width:14px;height:14px}.deposit-history-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--line)}.deposit-history-row:last-child{border-bottom:0}.deposit-action-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:11px}.deposit-action-icon.opening{background:#eaf8f1;color:#358363}.deposit-action-icon.return{background:#fff0e8;color:#c66b39}.deposit-action-icon svg{width:17px;height:17px}.deposit-history-row>div strong{font-size:11px}.deposit-history-amount{font-size:12px}.deposit-history-amount.opening{color:#358363}.deposit-history-amount.return{color:#c25151}.deposit-modal-note{display:flex;align-items:flex-start;gap:11px;padding:13px;margin-bottom:16px;border-radius:12px;background:#f1efff;color:#5749bd}.deposit-modal-note.refund{background:#fff4ed;color:#a5542a}.deposit-modal-note>svg{width:21px;height:21px;flex:0 0 auto}.deposit-modal-note span{display:flex;flex-direction:column}.deposit-modal-note small{margin-top:3px;color:#6b6599;line-height:1.45}.deposit-modal-note.refund small{color:#8d624d}#itemModal .modal-dialog{max-width:720px}.tenant-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.tenant-form-wide{grid-column:1/-1}.tenant-deposit-form{margin-top:8px;padding:16px;border:1px solid #dedaf8;border-radius:15px;background:linear-gradient(135deg,#faf9ff,#f3f1ff)}.tenant-deposit-form-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.tenant-deposit-form-head>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#e4f5ec;color:#31805e}.tenant-deposit-form-head svg{width:18px;height:18px}.tenant-deposit-form-head>div{display:flex;flex-direction:column}.tenant-deposit-form-head strong{font-size:12px}.tenant-deposit-form-head small{font-size:9px;color:var(--muted)}@media(max-width:1250px){.deposit-summary-grid{grid-template-columns:repeat(2,1fr)}.rent-workspace{grid-template-columns:1fr}.rent-due-card,.tenant-card,.deposit-history-card{grid-column:1;grid-row:auto}.tenant-card{order:-1}}@media(max-width:760px){.rent-overview{align-items:flex-start;flex-direction:column}.rent-overview .btn{width:100%;justify-content:center}.deposit-summary-grid{grid-template-columns:1fr}.tenant-deposit-row{grid-template-columns:auto minmax(0,1fr)}.tenant-deposit-amount{grid-column:2}.tenant-deposit-actions{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}.tenant-deposit-list{max-height:none}.tenant-form-grid{grid-template-columns:1fr}.tenant-form-wide{grid-column:1}.tenant-deposit-form .col-md-4{width:100%}}

/* Family members and permissions */
.family-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px;padding:18px 20px;border:1px solid #dfdff0;border-radius:18px;background:linear-gradient(130deg,#fff 0%,#f8f7ff 68%,#edf1ff 100%);box-shadow:0 8px 24px #27324a0a}.family-head h2{margin:3px 0 2px;font-size:23px}.family-head p{margin:0;color:var(--muted);font-size:10px}.family-head .btn{display:flex;align-items:center;gap:6px;white-space:nowrap}.family-head .btn svg{width:15px;height:15px}.family-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:13px}.family-summary article{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 6px 18px #31394d08}.family-summary article>div{display:flex;flex-direction:column}.family-summary small{font-size:9px;color:var(--muted)}.family-summary strong{font-size:18px}.family-summary-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px}.family-summary-icon svg{width:18px;height:18px}.family-summary-icon.violet{background:#eeecff;color:#6558d3}.family-summary-icon.green{background:#e7f7ef;color:#2e855f}.family-summary-icon.amber{background:#fff4df;color:#b87818}.family-card-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px}.family-member-card{display:flex;min-height:225px;flex-direction:column;padding:16px;border-radius:16px;box-shadow:0 8px 24px #28334c0a}.family-member-card.inactive{opacity:.72;background:#fafafa}.family-card-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.family-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#6b5ed8,#4a8bd4);color:#fff;font-size:12px;font-weight:850;box-shadow:0 7px 16px #6558d329}.family-card-top>div{min-width:0;display:flex;flex-direction:column}.family-card-top strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.family-card-top span:not(.family-avatar){font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.family-status{padding:4px 7px;border-radius:20px;font-size:8px;font-style:normal;font-weight:800}.family-status.active{background:#e6f6ee;color:#2e805e}.family-status.inactive{background:#f1f2f5;color:#747b89}.family-role{display:flex;align-items:center;gap:9px;margin:13px 0 10px;padding:9px 10px;border-radius:11px;background:#f7f7fb}.family-role>svg{width:18px;height:18px;color:#6558d3}.family-role>div{display:flex;flex-direction:column}.family-role small{font-size:8px;color:var(--muted)}.family-role strong{font-size:10px}.family-module-chips{display:flex;align-content:flex-start;flex-wrap:wrap;gap:5px;min-height:46px}.family-module-chips span,.family-module-chips b{padding:4px 7px;border-radius:20px;background:#f0efff;color:#5d51bd;font-size:8px;font-weight:750}.family-module-chips span.none{background:#f3f3f5;color:#8b909a}.family-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:11px;border-top:1px solid var(--line)}.family-card-foot>small{font-size:8px;color:var(--muted)}.family-card-foot>div{display:flex;gap:6px}.family-action{width:30px;height:30px;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;cursor:pointer}.family-action svg{width:14px;height:14px}.family-action.edit{background:#eef1ff;border-color:#dce1ff;color:#5064c7}.family-action.delete{background:#fff0f2;border-color:#f8d9df;color:#c84f61}.owner-lock{display:flex;align-items:center;gap:4px;color:#695cc8;font-size:8px;font-weight:750}.owner-lock svg{width:12px;height:12px}.family-loading{min-height:240px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px}.family-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:15px}.family-form-grid .form-label{font-size:9px}.family-form-grid .form-control,.family-form-grid .form-select{height:39px;font-size:10px;border-radius:10px}.family-permission-box{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:13px;background:#fafbfe}.family-permission-box>div:first-child{display:flex;flex-direction:column;margin-bottom:10px}.family-permission-box strong{font-size:11px}.family-permission-box small{font-size:8px;color:var(--muted)}.family-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.family-permission-grid label{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #e4e6ed;border-radius:9px;background:#fff;font-size:9px;cursor:pointer}.family-permission-grid label:has(input:checked){border-color:#c9c3f5;background:#f2f0ff;color:#5a4bb9}.family-permission-grid input{accent-color:#6558d3}.family-active-toggle{display:flex;align-items:center;gap:9px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#eef8f3}.family-active-toggle>span{display:flex;flex-direction:column}.family-active-toggle strong{font-size:10px}.family-active-toggle small{font-size:8px;color:var(--muted)}.family-active-toggle input{accent-color:#29805a}@media(max-width:1050px){.family-card-grid{grid-template-columns:repeat(2,minmax(250px,1fr))}}@media(max-width:700px){.family-head{align-items:stretch;flex-direction:column}.family-head .btn{justify-content:center}.family-summary,.family-card-grid,.family-form-grid{grid-template-columns:1fr}.family-permission-grid{grid-template-columns:1fr 1fr}}@media(max-width:440px){.family-permission-grid{grid-template-columns:1fr}}

/* Compact Rent page */
.rent-compact-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.rent-compact-head h2{margin:3px 0 0;font-size:22px}.rent-compact-head .btn{display:flex;align-items:center;gap:6px}.rent-compact-head .btn svg{width:15px;height:15px}.rent-compact-grid{display:grid;grid-template-columns:minmax(340px,.72fr) minmax(500px,1.28fr);gap:14px;align-items:start}.rent-compact-grid .cardx{padding:17px;border-radius:17px;box-shadow:0 9px 24px #31394d0b}.rent-compact-grid .section-head{margin-bottom:7px}.rent-compact-grid .section-head h2{font-size:14px}.rent-due-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:57px;padding:8px 2px;border-bottom:1px solid var(--line)}.rent-due-row:last-child{border-bottom:0}.rent-due-row>div:nth-child(2){display:flex;min-width:0;flex-direction:column}.rent-due-row strong{font-size:11px}.rent-due-row span{font-size:10px;color:#37815f;font-weight:750}.rent-due-row .btn{min-width:75px;padding:7px 10px;border-radius:9px;font-size:10px}.tenant-compact-list{max-height:610px;overflow:auto;padding-right:3px;scrollbar-width:thin}.tenant-compact-row{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(105px,.45fr) auto;align-items:center;gap:10px;min-height:57px;padding:8px 2px;border-bottom:1px solid var(--line)}.tenant-compact-row:last-child{border-bottom:0}.tenant-compact-row>strong{font-size:11px}.tenant-compact-row>span{font-size:11px;font-weight:800;color:#38805f;text-align:right}.tenant-icon-actions{display:flex;gap:6px}.tenant-action{width:31px;height:31px;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;cursor:pointer;transition:.16s}.tenant-action svg{width:14px;height:14px}.tenant-action.edit{background:#eef1ff;border-color:#dce1ff;color:#5064c7}.tenant-action.edit:hover{background:#dfe4ff}.tenant-action.refund{background:#fff4e8;border-color:#f8dec3;color:#bb6d21}.tenant-action.refund:hover{background:#ffe8d1}.tenant-action.delete{background:#fff0f2;border-color:#f8d9df;color:#c84f61}.tenant-action.delete:hover{background:#ffe0e5}.tenant-action:disabled{opacity:.3;cursor:not-allowed}.rent-receive-summary{display:flex;align-items:center;gap:11px;margin-bottom:17px;padding:12px;border:1px solid #dcefe5;border-radius:13px;background:#f3fbf7}.rent-receive-summary>div:last-child{display:flex;flex-direction:column}.rent-receive-summary strong{font-size:12px}.rent-receive-summary span{font-size:9px;color:var(--muted)}@media(max-width:1050px){.rent-compact-grid{grid-template-columns:1fr}}@media(max-width:620px){.rent-compact-head{align-items:stretch;flex-direction:column}.rent-compact-head .btn{justify-content:center}.tenant-compact-row{grid-template-columns:auto minmax(0,1fr) auto}.tenant-compact-row>span{grid-column:2;text-align:left}.tenant-icon-actions{grid-column:3;grid-row:1/3}.tenant-compact-list{max-height:none}}

/* Compact Recurring, Subscriptions and Bills */
.module-rent>.module-hero,.module-recurring>.module-hero,.module-subscriptions>.module-hero,.module-transactions>.module-hero{display:none}
.schedule-compact-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.schedule-compact-head h2{margin:3px 0 0;font-size:22px}.schedule-compact-head>.btn{display:flex;align-items:center;gap:6px}.schedule-compact-head>.btn svg{width:15px;height:15px}.schedule-compact-grid,.bill-compact-grid{display:grid;grid-template-columns:minmax(340px,.78fr) minmax(500px,1.22fr);gap:14px;align-items:start}.schedule-compact-grid .cardx,.bill-compact-grid .cardx{padding:17px;border-radius:17px;box-shadow:0 9px 24px #31394d0b}.schedule-compact-grid .section-head,.bill-compact-grid .section-head{margin-bottom:7px}.schedule-compact-grid .section-head h2,.bill-compact-grid .section-head h2{font-size:14px}.schedule-due-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:57px;padding:8px 2px;border-bottom:1px solid var(--line)}.schedule-due-row:last-child{border-bottom:0}.schedule-due-row>div:nth-child(2){display:flex;min-width:0;flex-direction:column}.schedule-due-row strong{font-size:11px}.schedule-due-row span{font-size:9px;color:var(--muted)}.schedule-due-row .btn{min-width:68px;padding:7px 10px;border-radius:9px;font-size:10px}.schedule-directory{max-height:610px;overflow:auto;padding-right:3px;scrollbar-width:thin}.schedule-directory-row{display:grid;grid-template-columns:auto minmax(120px,1fr) minmax(100px,.42fr) auto;align-items:center;gap:10px;min-height:57px;padding:8px 2px;border-bottom:1px solid var(--line)}.schedule-directory-row:last-child{border-bottom:0}.schedule-directory-row>strong{font-size:11px}.schedule-directory-row>span{font-size:11px;font-weight:800;color:#3d4861;text-align:right}.schedule-icon-actions{display:flex;gap:6px}.schedule-action{width:31px;height:31px;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;cursor:pointer}.schedule-action svg{width:14px;height:14px}.schedule-action.edit{background:#eef1ff;border-color:#dce1ff;color:#5064c7}.schedule-action.edit:hover{background:#dfe4ff}.schedule-action.delete{background:#fff0f2;border-color:#f8d9df;color:#c84f61}.schedule-action.delete:hover{background:#ffe0e5}.bill-compact-grid{grid-template-columns:minmax(500px,1.18fr) minmax(360px,.82fr)}.bill-compact-list{max-height:610px;overflow:auto;scrollbar-width:thin}.bill-compact-row{grid-template-columns:auto minmax(0,1fr) auto auto}.bill-compact-row .bill-status{font-size:8px;font-style:normal;padding:4px 7px}.reminder-compact{width:140px;font-size:10px}.mini-calendar-week,.mini-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.mini-calendar-week span{text-align:center;padding:5px;color:var(--muted);font-size:9px;font-weight:800}.mini-bill-day{position:relative;min-height:42px;display:grid;place-items:center;border:1px solid #edf0f5;border-radius:9px;background:#fbfcfe;font-size:10px}.mini-bill-day.blank{visibility:hidden}.mini-bill-day.today{border-color:#7564df;background:#f3f1ff;color:#5949c1}.mini-bill-day i{position:absolute;right:3px;top:3px;min-width:14px;height:14px;display:grid;place-items:center;border-radius:8px;background:#fff0c9;color:#895f00;font-size:7px;font-style:normal;font-weight:800}@media(max-width:1050px){.schedule-compact-grid,.bill-compact-grid{grid-template-columns:1fr}}@media(max-width:650px){.schedule-compact-head{align-items:stretch;flex-direction:column}.schedule-compact-head>.btn{justify-content:center}.schedule-directory-row{grid-template-columns:auto minmax(0,1fr) auto}.schedule-directory-row>span{grid-column:2;text-align:left}.schedule-icon-actions{grid-column:3;grid-row:1/3}.schedule-directory,.bill-compact-list{max-height:none}.bill-compact-row{grid-template-columns:auto minmax(0,1fr) auto}.bill-compact-row .bill-status{display:none}.reminder-compact{width:125px}}

/* Compact Transactions */
.transaction-compact-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:12px}.transaction-compact-head h2{margin:3px 0 0;font-size:22px}.transaction-compact-head>div:last-child{display:flex;gap:8px}.transaction-compact-head .btn{display:flex;align-items:center;gap:6px}.transaction-compact-head .btn svg{width:15px;height:15px}.transaction-mini-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.transaction-mini-summary>span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 6px 18px #31394d08}.transaction-mini-summary small{font-size:9px;color:var(--muted);font-weight:700}.transaction-mini-summary strong{font-size:13px}.transaction-mini-summary .positive{color:#33825e}.transaction-mini-summary .negative{color:#c44d5d}.transaction-card{padding:16px;border-radius:17px}.transaction-filters{display:grid;grid-template-columns:minmax(210px,1.4fr) repeat(4,minmax(120px,.7fr)) minmax(120px,.7fr);gap:8px;margin-bottom:10px}.transaction-filters label{position:relative}.transaction-filters label>svg{position:absolute;left:11px;top:11px;width:15px;height:15px;color:#9096a4}.transaction-filters label input{padding-left:34px}.transaction-filters .form-control,.transaction-filters .form-select{height:38px;font-size:10px;border-radius:10px}.transaction-compact-list{max-height:620px;overflow:auto;scrollbar-width:thin}.transaction-compact-row{display:grid;grid-template-columns:auto minmax(180px,1fr) auto minmax(110px,.35fr) auto;align-items:center;gap:11px;min-height:59px;padding:8px 2px;border-bottom:1px solid var(--line)}.transaction-compact-row:last-child{border-bottom:0}.transaction-compact-row .tx-logo-button{padding:0;border:0;background:transparent}.transaction-main{display:flex;min-width:0;flex-direction:column}.transaction-main strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-main span{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.transaction-type{padding:4px 7px;border-radius:20px;font-size:8px;font-weight:800;text-transform:capitalize}.transaction-type.income{background:#eaf8f1;color:#33825e}.transaction-type.expense{background:#fff0f2;color:#c44d5d}.transaction-amount{font-size:11px;text-align:right}.transaction-amount.income{color:#33825e}.transaction-amount.expense{color:#c44d5d}.transaction-actions{display:flex;gap:6px}.transaction-action{width:31px;height:31px;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;cursor:pointer}.transaction-action svg{width:14px;height:14px}.transaction-action.edit{background:#eef1ff;border-color:#dce1ff;color:#5064c7}.transaction-action.delete{background:#fff0f2;border-color:#f8d9df;color:#c84f61}.transaction-pager{display:flex;align-items:center;justify-content:space-between;padding-top:12px;margin-top:6px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.transaction-pager>div{display:flex;align-items:center;gap:9px}.transaction-pager b{font-size:9px;color:#565d6d}.transaction-page{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;color:#60677a}.transaction-page svg{width:13px;height:13px}.transaction-page:disabled{opacity:.35}.transaction-edit-summary{display:flex;align-items:center;gap:11px;margin-bottom:16px;padding:12px;border:1px solid #dfe3fa;border-radius:13px;background:#f5f6ff}.transaction-edit-summary>div:last-child{display:flex;flex-direction:column}.transaction-edit-summary strong{font-size:12px}.transaction-edit-summary span{font-size:9px;color:var(--muted)}@media(max-width:1150px){.transaction-filters{grid-template-columns:repeat(3,1fr)}.transaction-filters label{grid-column:span 2}}@media(max-width:700px){.transaction-compact-head{align-items:stretch;flex-direction:column}.transaction-compact-head>div:last-child .btn{flex:1;justify-content:center}.transaction-mini-summary{grid-template-columns:1fr}.transaction-filters{grid-template-columns:1fr 1fr}.transaction-filters label{grid-column:1/-1}.transaction-compact-row{grid-template-columns:auto minmax(0,1fr) auto}.transaction-type{display:none}.transaction-amount{grid-column:2;text-align:left}.transaction-actions{grid-column:3;grid-row:1/3}.transaction-compact-list{max-height:none}}
.investment-summary{margin:16px 0 20px}.investment-summary-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:10px}.investment-summary-head h3{font-size:18px;margin:2px 0}.investment-summary-head p{color:var(--muted);font-size:13px;margin:0}.investment-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.investment-summary-grid article{display:flex;align-items:center;gap:13px;padding:17px 18px;border-top:3px solid #7c67df}.investment-summary-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#6656d8;background:#f0edff}.investment-summary-icon svg{width:21px}.investment-summary-grid article div{display:flex;flex-direction:column}.investment-summary-grid small{color:var(--muted);font-weight:700}.investment-summary-grid strong{font-size:20px;color:var(--ink)}.investment-summary-grid article div span{color:var(--muted);font-size:12px;margin-top:2px}

/* Equal, compact Settings cards with independent scrolling. */
.settings-organized-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:330px;align-items:stretch;gap:14px}.settings-organized-grid>.settings-manager{height:330px;min-height:0;padding:15px;display:flex;flex-direction:column;overflow:hidden}.settings-organized-grid>.settings-manager>.section-head{min-height:56px;flex:0 0 auto;margin:0 0 8px;padding-bottom:9px;border-bottom:1px solid var(--line)}.settings-organized-grid>.settings-manager>.section-head>div{min-width:0}.settings-organized-grid>.settings-manager>.section-head h2{margin:0;font-size:15px}.settings-organized-grid>.settings-manager>.section-head p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:4px}.settings-card-body{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;padding-right:6px;scrollbar-width:thin;scrollbar-color:#aaa2d8 transparent}.settings-card-body::-webkit-scrollbar{width:7px}.settings-card-body::-webkit-scrollbar-track{background:transparent}.settings-card-body::-webkit-scrollbar-thumb{background:#b8b2dd;border-radius:10px}.settings-card-body::-webkit-scrollbar-thumb:hover{background:#8175ca}.settings-card-body>.settings-manage-row:first-child{border-top:0}.settings-organized-grid .settings-manage-row{min-height:52px;padding:8px 2px}.settings-organized-grid .settings-empty,.settings-organized-grid .empty{height:100%;min-height:120px}.settings-organized-grid .settings-unit-grid{align-content:start}.settings-organized-grid>.settings-short .settings-card-body{display:grid;align-items:start}.settings-organized-grid>.danger{order:99}
@media(max-width:1450px){.settings-organized-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.settings-organized-grid{grid-template-columns:1fr;grid-auto-rows:350px}.settings-organized-grid>.settings-manager{height:350px}}

/* Unified transaction ledger: transfer and scheduled-transfer rows. */
.transaction-type.transfer{background:#eef1ff;color:#6555c8}
.transaction-amount.transfer.in{color:#33825e}
.transaction-amount.transfer.out{color:#7867d9}
.tx-transfer-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f1efff;color:#6755cc}
.tx-transfer-icon svg{width:16px;height:16px}
.transfer-ledger-row{background:linear-gradient(90deg,rgba(108,88,210,.035),transparent)}
