:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0}button,input,select{font:inherit}#root{min-height:100vh}.auth-shell{color:#0f172a;background:radial-gradient(circle at 0 0,#60a5fa2e,#0000 30%),radial-gradient(circle at 100% 100%,#8b5cf62e,#0000 30%),linear-gradient(135deg,#f8fbff 0%,#eef4ff 45%,#f8fafc 100%);place-items:center;min-height:100vh;padding:2rem 1rem;display:grid}.auth-layout{grid-template-columns:1.25fr .9fr;align-items:stretch;gap:1.5rem;width:min(1200px,100%);display:grid}.auth-showcase,.auth-panel{position:relative}.auth-showcase{background:#0f172ab8;border:1px solid #94a3b82e;border-radius:28px;padding:1.7rem;overflow:hidden;box-shadow:0 30px 70px #0f172a2e}.auth-showcase:before{content:"";pointer-events:none;background:radial-gradient(circle,#60a5fa52,#0000 60%);width:260px;height:260px;position:absolute;inset:-20% auto auto -10%}.logo-block{z-index:1;align-items:center;gap:.8rem;margin-bottom:1.25rem;display:inline-flex;position:relative}.logo-badge{border:1px solid #ffffff2e;border-radius:18px;place-items:center;width:54px;height:54px;display:grid;box-shadow:0 18px 28px #60a5fa40}.logo-badge svg{width:100%;height:100%}.logo-name{letter-spacing:-.06em;color:#f8fafc;letter-spacing:-.03em;font-size:1.25rem;font-weight:800}.logo-block small{color:#e2e8f0cc;font-size:.7rem;display:block}.auth-showcase h1{z-index:1;color:#f8fafc;letter-spacing:-.06em;margin:1rem 0 .75rem;font-size:clamp(2.2rem,4vw,4rem);line-height:1.02;position:relative}.auth-lead{z-index:1;color:#e2e8f0d1;max-width:560px;margin:0;font-size:1rem;line-height:1.7;position:relative}.showcase-pills{z-index:1;flex-wrap:wrap;gap:.7rem;margin-top:1.3rem;display:flex;position:relative}.showcase-pills span{color:#e2e8f0;background:#ffffff0f;border:1px solid #94a3b838;border-radius:999px;padding:.5rem .8rem;font-size:.74rem;font-weight:600}.showcase-preview{z-index:1;max-width:500px;margin-top:1.5rem;margin-left:auto;margin-right:auto;position:relative}.preview-window{transform-origin:50%;background:#0a101fd1;border:1px solid #94a3b824;border-radius:22px;padding:.9rem;transform:scale(.94);box-shadow:0 24px 60px #0f172a42}.preview-header{border-bottom:1px solid #94a3b833;align-items:center;gap:.5rem;padding-bottom:.8rem;display:flex}.preview-dot{border-radius:50%;width:10px;height:10px;display:inline-block}.dot-blue{background:#60a5fa}.dot-violet{background:#a78bfa}.dot-emerald{background:#34d399}.preview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;padding-top:.9rem;display:grid}.metric-pill{border:1px solid #94a3b826;border-radius:14px;flex-direction:column;gap:.2rem;padding:.7rem .8rem;display:flex}.metric-pill span{color:#e2e8f0bf;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem}.metric-pill strong{color:#f8fafc;letter-spacing:-.04em;font-size:1rem}.metric-income{background:#10b9811f}.metric-expense{background:#6366f11a}.preview-chart{background:linear-gradient(#1e293bbf,#0f172ae6);border:1px solid #94a3b826;border-radius:16px;justify-content:space-between;align-items:flex-end;gap:.5rem;height:110px;margin-top:.9rem;padding:.8rem .75rem .6rem;display:flex}.preview-chart span{background:linear-gradient(#7dd3fc 0%,#60a5fa 40%,#8b5cf6 100%);border-radius:999px 999px 8px 8px;flex:1;box-shadow:inset 0 1px #ffffff40}.feature-grid{z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-top:1.6rem;display:grid;position:relative}.feature-card{background:#0f172a61;border:1px solid #94a3b82e;border-radius:18px;padding:1rem .85rem}.feature-icon{background:linear-gradient(135deg,#60a5fa3d,#8b5cf63d);border-radius:12px;place-items:center;width:2.3rem;height:2.3rem;font-size:1.2rem;display:grid}.feature-card h3{color:#f8fafc;margin:.8rem 0 .45rem;font-size:.88rem}.feature-card p{color:#e2e8f0c2;margin:0;font-size:.75rem;line-height:1.6}.auth-panel{justify-content:center;align-items:center;display:flex}.auth-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffdb;border:1px solid #94a3b833;border-radius:24px;flex-direction:column;gap:1rem;width:min(100%,440px);padding:1.5rem;display:flex;box-shadow:0 22px 50px #0f172a17}.auth-card-header{margin-bottom:.25rem}.auth-card-kicker{color:#2563eb;letter-spacing:.1em;text-transform:uppercase;margin-bottom:.35rem;font-size:.7rem;font-weight:800;display:inline-block}.auth-card-header h2{color:#0f172a;letter-spacing:-.04em;margin:0;font-size:1.7rem}.auth-card label{color:#334155;flex-direction:column;gap:.5rem;font-size:.82rem;font-weight:700;display:flex}.auth-card input{font:inherit;color:#0f172a;background:#fff;border:1px solid #dbe3f0;border-radius:12px;padding:.8rem .9rem;transition:border-color .2s,box-shadow .2s}.auth-card input:focus{border-color:#60a5fa;outline:none;box-shadow:0 0 0 4px #60a5fa24}.auth-error{color:#b91c1c;background:#fee2e2cc;border:1px solid #ef44442e;border-radius:12px;padding:.75rem .8rem;font-size:.8rem;font-weight:600}.auth-submit{width:100%;margin-top:.2rem;padding:.9rem 1rem;font-size:.9rem}.auth-note{color:#334155;background:#eff6ffe6;border:1px solid #93c5fd80;border-radius:12px;padding:.75rem .8rem;font-size:.74rem;line-height:1.6}.auth-note strong{color:#0f172a}.app-shell{color:#1f2937;background:linear-gradient(#f8fafc 0%,#eef4ff 100%);min-height:100vh}@media (width<=980px){.auth-shell{padding:1rem .75rem}.auth-layout{grid-template-columns:1fr;gap:.9rem}.auth-showcase{border-radius:22px;padding:1rem .9rem 1.1rem}.auth-showcase h1{margin-top:.7rem;font-size:clamp(1.7rem,7vw,2.4rem)}.auth-lead{font-size:.82rem;line-height:1.55}.showcase-pills{gap:.45rem;margin-top:.9rem}.showcase-pills span{padding:.38rem .55rem;font-size:.68rem}.showcase-preview{max-width:420px;margin-top:1rem}.preview-window{transform-origin:50%;padding:.7rem;transform:scale(.9)}.preview-metrics{gap:.55rem}.metric-pill{padding:.55rem .6rem}.feature-grid{grid-template-columns:1fr;gap:.7rem;margin-top:1.1rem}.feature-card{padding:.8rem .7rem}.feature-card p{font-size:.7rem}.auth-card{border-radius:18px;gap:.7rem;padding:1rem .9rem}.auth-card-header h2{font-size:1.3rem}.auth-card label{font-size:.74rem}.auth-card input{padding:.7rem .75rem;font-size:.8rem}.auth-submit{padding:.75rem .9rem;font-size:.8rem}.auth-note{font-size:.68rem;line-height:1.45}}@media (width<=640px){.auth-shell{padding:.45rem .35rem .8rem}.auth-layout{gap:.5rem}.logo-block{gap:.55rem;margin-bottom:.8rem}.logo-badge{border-radius:14px;width:42px;height:42px}.logo-name{font-size:1rem}.logo-block small{font-size:.62rem}.auth-showcase h1{margin:.5rem 0 .45rem;font-size:clamp(1.35rem,7vw,1.8rem);line-height:1.08}.auth-lead{font-size:.72rem;line-height:1.45}.showcase-pills{gap:.35rem;margin-top:.7rem}.showcase-pills span{padding:.32rem .48rem;font-size:.62rem}.showcase-preview{max-width:310px;margin-top:.8rem}.preview-window{border-radius:16px;padding:.55rem;transform:scale(.8)}.preview-chart{height:76px;padding:.6rem .4rem .45rem}.metric-pill strong{font-size:.82rem}.feature-grid{gap:.55rem;margin-top:.8rem}.feature-card{border-radius:12px;padding:.65rem .6rem}.feature-icon{width:1.9rem;height:1.9rem;font-size:1rem}.feature-card h3{margin:.5rem 0 .28rem;font-size:.75rem}.feature-card p{font-size:.62rem;line-height:1.4}.auth-card{border-radius:16px;gap:.55rem;width:100%;max-width:100%;padding:.8rem .7rem}.auth-card-kicker{margin-bottom:.2rem;font-size:.62rem}.auth-card-header h2{font-size:1.15rem}.auth-card label{gap:.35rem;font-size:.68rem}.auth-card input{border-radius:10px;padding:.62rem .7rem;font-size:.75rem}.auth-error{padding:.55rem .6rem;font-size:.7rem}.auth-submit{padding:.7rem .8rem;font-size:.75rem}.auth-note{padding:.55rem .6rem;font-size:.62rem;line-height:1.35}}.topbar{z-index:10;background:#0f172ad1;border-bottom:1px solid #94a3b81f;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem .8rem;display:flex;position:sticky;top:0;box-shadow:0 8px 22px #0f172a1f}.brand-wrap{flex-shrink:0;align-items:center;gap:.55rem;min-width:180px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#60a5fa,#8b5cf6);border-radius:10px;place-items:center;width:30px;height:30px;font-size:.95rem;font-weight:800;display:grid;box-shadow:0 10px 22px #60a5fa4d}.brand-name{color:#fff;font-size:.92rem;font-weight:700}.brand-wrap small{color:#e2e8f0b3;font-size:.64rem}.main-nav{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:.35rem;min-width:0;display:flex;overflow:hidden}.nav-button{color:#e2e8f0;cursor:pointer;white-space:nowrap;background:#1e293bb3;border:1px solid #94a3b840;border-radius:10px;justify-content:center;align-items:center;width:2.2rem;height:2.2rem;padding:0;font-size:.9rem;font-weight:600;line-height:1;transition:all .2s;display:inline-flex;box-shadow:inset 0 1px #ffffff0f}.nav-button svg{stroke:currentColor;fill:none;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;width:.94rem;height:.94rem}.nav-button:hover,.nav-button.active{background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-color:#0000;transform:translateY(-1px);box-shadow:0 8px 18px #3b82f647}.topbar-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.user-badge{background:#94a3b81f;border:1px solid #94a3b82e;border-radius:10px;flex-direction:column;align-items:flex-start;min-width:90px;padding:.25rem .45rem;display:flex}.user-badge-label,.year-selector-label{color:#e2e8f0b3;letter-spacing:.08em;text-transform:uppercase;font-size:.56rem}.user-badge strong{color:#f8fafc;word-break:break-word;font-size:.72rem;line-height:1.2}.year-selector-wrap{background:#94a3b81f;border:1px solid #94a3b82e;border-radius:12px;align-items:center;gap:.35rem;padding:.28rem .42rem;display:flex}.year-selector{color:#e2e8f0;align-items:center;gap:.35rem;font-size:.68rem;display:flex}.year-selector select{color:#0f172a;background:linear-gradient(#f8fafc,#e2e8f0);border:1px solid #94a3b840;border-radius:8px;min-width:72px;padding:.35rem .7rem .35rem .5rem;font-size:.74rem;font-weight:700;box-shadow:inset 0 1px #ffffffb3}.logout-button{color:#f8fafc;cursor:pointer;background:#0f172ab3;border:1px solid #94a3b82e;border-radius:10px;place-items:center;width:32px;height:32px;font-size:1rem;line-height:1;display:grid;box-shadow:inset 0 1px #ffffff0d}.logout-button:hover{background:linear-gradient(135deg,#ef4444,#b91c1c);border-color:#0000}.year-selector select,.config-form input,.config-form select,.add-subitem-form input,.add-subitem-form select,.card-header select,.subitem-row-config select,input[type=number]{font:inherit;color:#1f2937;background:#fff;border:1px solid #dbe3f0;border-radius:9px;padding:.5rem .7rem;font-size:.83rem}.content{padding:1rem}.panel{background:#ffffffb8;border:1px solid #94a3b82e;border-radius:16px;max-width:1400px;margin:0 auto;padding:.8rem;box-shadow:0 12px 30px #1e293b0d}.panel-header{justify-content:space-between;align-items:center;gap:.9rem;margin-bottom:1rem;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#64748b;margin:0 0 .35rem;font-size:.65rem}.panel-header h1{color:#0f172a;margin:0;font-size:clamp(1.4rem,1.8vw,2rem)}.summary-card-group{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.summary-card{color:#1d4ed8;background:#f8fafce6;border:1px solid #bfdbfecc;border-radius:12px;flex-direction:column;flex:1 1 0;gap:.12rem;min-width:170px;padding:.5rem .7rem;display:flex;box-shadow:0 5px 12px #3b82f60a}.summary-card-label{text-transform:uppercase;letter-spacing:.08em;color:#475569;font-size:.58rem;font-weight:700}.summary-card-value{color:#0f172a;font-size:.9rem;line-height:1.2}.summary-card-budget{color:#475569;background:#ffffff8c;border-radius:999px;align-items:center;gap:.2rem;width:fit-content;padding:.2rem .42rem;font-size:.64rem;font-weight:600;display:inline-flex}.summary-card-budget strong{color:#7c3aed;font-size:.82rem}.summary-card-budget.over-budget{background:#fee2e2e6;border:1px solid #ef44442e}.summary-card-budget.over-budget strong{color:#b91c1c}.summary-card-budget.under-budget{background:#dcfce7e6;border:1px solid #22c55e2e}.summary-card-budget.under-budget strong{color:#15803d}.table-wrapper{width:100%;overflow-x:auto}.section-box{background:#ffffffc2;border:1px solid #94a3b838;border-radius:16px;margin-top:.75rem;padding:.75rem;box-shadow:0 12px 28px #0f172a0d}.section-expense{background:linear-gradient(#fef2f2b3,#fffc);border-color:#ef44442e}.section-income{background:linear-gradient(#f0fdf4b3,#fffc);border-color:#22c55e2e}.section-bank{background:linear-gradient(#faf5ffb3,#fffc);border-color:#a855f738}.table-section-title{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;gap:.5rem;margin:.7rem 0 .55rem;padding:.4rem .75rem;font-size:.72rem;font-weight:800;display:inline-flex;box-shadow:inset 0 0 0 1px #0f172a0a}.expense-title{color:#b91c1c;background:#ef444414;border:1px solid #ef444426}.income-title{color:#15803d;background:#22c55e14;border:1px solid #22c55e26}.budget-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1100px}.budget-table th,.budget-table td{text-align:center;border-bottom:1px solid #e2e8f0;padding:.5rem .35rem;font-size:.8rem}.budget-table thead th{color:#334155;text-transform:uppercase;letter-spacing:.04em;z-index:1;background:#f8fafc;font-size:.72rem;position:sticky;top:0}.sticky-column{z-index:2;background:#f8fafc;position:sticky;left:0;text-align:left!important}.item-cell{color:#0f172a;font-weight:600;text-align:left!important}.main-item{background:#dbeafe59}.sub-item{background:#f8fafce6}.tag{text-transform:uppercase;letter-spacing:.04em;border-radius:8px;align-items:center;margin-right:.5rem;padding:.25rem .45rem;font-size:.66rem;font-weight:700;display:inline-flex}.tag.fixed{color:#1d4ed8;background:#dbeafe}.tag.extra{color:#92400e;background:#fef3c7}.read-only-cell,.read-only-total,.summary-cell{font-variant-numeric:tabular-nums;color:#0f172a}.cell-stack{flex-direction:column;justify-content:center;align-items:center;gap:.1rem;display:flex}.parent-row td{background:#eff6ffb3;font-weight:700}.editable-cell{padding:.45rem .35rem}.cell-button{color:#0f172a;cursor:pointer;font-variant-numeric:tabular-nums;background:linear-gradient(#f8fbff 0%,#edf3ff 100%);border:1px solid #dbe3f0;border-radius:10px;flex-direction:column;align-items:center;gap:.12rem;width:100%;padding:.42rem .45rem;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex}.cell-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #94a3b81f}.cell-amount{color:#0f172a;font-size:.85rem}.parent-row .cell-amount,.parent-row .cell-budget,.parent-row .sticky-column,.parent-row .totals-column,.parent-row .read-only-cell{color:#fff}.parent-row .cell-budget{color:#ffffffeb}.cell-budget{color:#4f46e5;opacity:.9;font-size:.62rem;font-weight:700}.totals-column{background:#f8fafc;font-weight:700}.comparison-column{letter-spacing:.01em;background:#94a3b814;width:126px;min-width:126px;font-size:.72rem}.comparison-column .cell-stack{gap:.08rem}.current-month-header,.current-month-column{background-image:linear-gradient(#60a5fa52,#3b82f626);position:relative}.current-month-header{color:#1d4ed8;background:#bfdbfef2}.summary-row td{color:#fff;background:#0f172a;font-weight:700}.summary-row .sticky-column{color:#fff;background:#0f172a}.summary-row .current-month-column{background-image:linear-gradient(#3b82f63d,#0f172a99)}.cashflow-cell{font-variant-numeric:tabular-nums;color:#fff}.cashflow-row td,.cashflow-row .sticky-column{color:#fff}.config-panel{flex-direction:column;gap:1.5rem;display:flex}.config-subnav{flex-wrap:wrap;gap:.75rem;display:flex}.config-tab{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #dbe3f0;border-radius:999px;padding:.5rem .8rem;font-size:.8rem;font-weight:700}.config-tab.active{color:#fff;background:linear-gradient(135deg,#2563eb,#8b5cf6);border-color:#0000}.config-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:minmax(250px,2fr) minmax(160px,1fr) auto;align-items:end;gap:.65rem;padding:.7rem;display:grid}.config-form label{color:#334155;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:600;display:flex}.modal-actions.split-actions{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.modal-actions-inline{align-items:center;gap:.75rem;display:flex}.primary-button,.add-subitem-form button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#8b5cf6);border:none;border-radius:12px;padding:.75rem 1rem;font-weight:700;box-shadow:0 10px 18px #4f46e533}.danger-button{color:#b91c1c;cursor:pointer;background:#fef2f2;border:1px solid #ef444440;border-radius:12px;padding:.7rem 1rem;font-weight:700}.icon-submit-button{border-radius:10px;justify-content:center;align-items:center;min-width:2.8rem;min-height:2.8rem;padding:.55rem;font-size:1.3rem;line-height:1;display:inline-flex;box-shadow:0 8px 16px #4f46e52e}.icon-submit-button span{display:inline-block;transform:translateY(-1px)}.items-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.config-card{background:#ffffffd1;border:1px solid #e2e8f0e6;border-radius:12px;padding:.5rem;box-shadow:0 6px 16px #94a3b814}.card-header{border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;margin-bottom:.6rem;padding:.3rem .4rem;display:grid}.card-header .inline-edit-input{width:100%;min-width:0}.color-picker{cursor:pointer;background:0 0;border:none;width:42px;height:36px;padding:0}.card-header h2{color:#0f172a;margin:0;font-size:1.2rem}.subitem-list{flex-direction:column;gap:.6rem;margin-bottom:1rem;display:flex}.subitem-row-config{border-bottom:1px solid #edf2f7;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;padding:.22rem .15rem;display:grid}.subitem-input{min-width:0}.card-actions,.subitem-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.38rem;display:flex}.lock-toggle{color:#334155;align-items:center;gap:.4rem;font-size:.72rem;font-weight:700;display:inline-flex}.lock-toggle.small{font-size:.68rem}.lock-toggle input{accent-color:#2563eb}.inline-edit-input{color:#0f172a;background:#f8fafc;border:1px solid #dbe3f0;border-radius:8px;width:100%;padding:.45rem .55rem;font-size:.9rem;font-weight:600}.subitem-input{flex:1}.delete-button{color:#be123c;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;padding:.42rem .6rem;font-size:.76rem;font-weight:700}.icon-button{justify-content:center;align-items:center;min-width:2.2rem;min-height:2.2rem;padding:.42rem;font-size:1rem;line-height:1;display:inline-flex}.icon-button span{display:inline-block;transform:translateY(-1px)}.delete-button.small{width:auto;height:auto;padding:.28rem .45rem;font-size:.7rem;line-height:1.2}.add-button{color:#1d4ed8;box-shadow:none;background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:1px solid #bfdbfe;border-radius:8px}.entry-actions{align-items:center;gap:.5rem;display:flex}.add-subitem-form{grid-template-columns:minmax(140px,2fr) minmax(110px,1fr) auto;gap:.4rem;display:grid}.budget-panel{flex-direction:column;gap:1rem;display:flex}.budget-toolbar{justify-content:flex-end;display:flex}.budget-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;padding:1rem;display:grid}.budget-form label{color:#334155;flex-direction:column;gap:.4rem;font-weight:600;display:flex}.budget-submit{align-self:end}.budget-list{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1rem}.budget-list h3{color:#0f172a;margin:0 0 .8rem}.budget-list ul{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.budget-list li{color:#334155;border-bottom:1px solid #edf2f7;justify-content:space-between;gap:.75rem;padding-bottom:.45rem;display:flex}.budget-list li:last-child{border-bottom:none;padding-bottom:0}.admin-panel{flex-direction:column;gap:1rem;display:flex}.admin-create-panel{background:linear-gradient(#f8fafcf2,#ffffffd9);border:1px solid #94a3b833;border-radius:14px;padding:.8rem}.admin-create-header h2{color:#0f172a;margin:0 0 .7rem;font-size:1rem}.admin-create-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:.7rem;display:grid}.admin-create-form label{color:#334155;flex-direction:column;gap:.38rem;font-size:.78rem;font-weight:700;display:flex}.admin-create-form input,.admin-create-form select,.admin-user-actions select{color:#0f172a;font:inherit;background:#fff;border:1px solid #dbe3f0;border-radius:10px;padding:.54rem .65rem;font-size:.8rem}.admin-create-actions{justify-content:flex-end;gap:.65rem;margin-top:.3rem;display:flex}.admin-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.7rem;display:grid}.admin-user-card{background:#ffffffd1;border:1px solid #e2e8f0e6;border-radius:12px;padding:.75rem;box-shadow:0 8px 18px #94a3b814}.admin-user-main{justify-content:space-between;align-items:center;gap:.7rem;display:flex}.admin-user-info{flex-direction:column;gap:.38rem;min-width:0;display:flex}.admin-user-info strong{color:#0f172a;word-break:break-word;font-size:.9rem}.admin-user-meta{flex-wrap:wrap;gap:.35rem;display:flex}.admin-user-role,.admin-user-status{letter-spacing:.03em;border-radius:999px;justify-content:center;align-items:center;padding:.22rem .45rem;font-size:.62rem;font-weight:800;display:inline-flex}.admin-user-role.admin{color:#4338ca;background:#4f46e51f}.admin-user-role.user{color:#1d4ed8;background:#3b82f61f}.admin-user-status.enabled{color:#15803d;background:#22c55e1f}.admin-user-status.disabled{color:#475569;background:#94a3b81f}.admin-user-actions{flex-direction:column;align-items:stretch;gap:.45rem;min-width:130px;display:flex}.toggle-button,.delete-button{cursor:pointer;border:1px solid #0000;border-radius:10px;padding:.45rem .6rem;font-size:.7rem;font-weight:700}.toggle-button.enabled{color:#b91c1c;background:#ef444414;border-color:#ef444433}.toggle-button.disabled{color:#15803d;background:#22c55e1f;border-color:#22c55e33}.delete-button{color:#be123c;background:#fff1f2;border-color:#ef444433}@media (width<=640px){.admin-panel{gap:.7rem}.panel-header{flex-direction:column;align-items:flex-start}.panel-header .primary-button{width:100%}.admin-create-panel{padding:.7rem}.admin-create-form{grid-template-columns:1fr}.admin-create-actions{flex-direction:column;justify-content:stretch}.admin-create-actions button{width:100%}.admin-list{grid-template-columns:1fr}.admin-user-card{padding:.7rem}.admin-user-main{flex-direction:column;align-items:stretch}.admin-user-actions{width:100%;min-width:0}.admin-user-actions select,.toggle-button,.delete-button{width:100%}}.report-panel{flex-direction:column;gap:1rem;display:flex}.report-header{margin-bottom:.25rem}.report-tabs{background:#94a3b81f;border:1px solid #94a3b82e;border-radius:12px;gap:.5rem;width:fit-content;padding:.35rem;display:inline-flex}.report-tab{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:10px;padding:.55rem .9rem;font-weight:700;transition:all .2s}.report-tab.active{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 8px 20px #60a5fa2e}.stats-stack{flex-direction:column;gap:.9rem;display:flex}.stats-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;display:grid}.stat-card{background:linear-gradient(135deg,#f8fafc,#eef2ff);border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;gap:.5rem;padding:1.2rem;display:flex}.stat-card span{color:#475569;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem}.stat-card strong{color:#0f172a;font-size:1.8rem}.stat-card small{color:#6b7280;margin-top:-.1rem;font-size:.68rem;display:block}.chart-panel{grid-template-columns:repeat(3,minmax(220px,1fr));gap:.9rem;display:grid}@media (width<=1100px){.chart-panel{grid-template-columns:repeat(2,minmax(220px,1fr))}}@media (width<=760px){.chart-panel{grid-template-columns:1fr}}.report-chart-group{background:linear-gradient(#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.55rem;min-width:0;padding:.7rem;display:flex}.report-chart-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.report-chart-header h2{color:#0f172a;margin:0;font-size:1rem}.report-chart-summary{color:#475569;flex-wrap:wrap;align-items:center;gap:1rem;font-size:.72rem;display:inline-flex}.report-chart-summary strong{color:#0f172a}.report-category-chart{flex-direction:column;gap:.6rem;display:flex}.report-chart-svg{background:linear-gradient(#94a3b80d,#94a3b81f);border:1px solid #94a3b826;border-radius:10px;width:100%;height:140px}.chart-line{fill:none;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.chart-budget-line{stroke:#a78bfa;stroke-dasharray:6 6}.chart-actual-line{stroke:#2563eb}.chart-legend{color:#475569;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:1rem;font-size:.72rem;display:flex}.legend-item{align-items:center;gap:.35rem;display:inline-flex}.legend-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.legend-dot-actual{background:#2563eb}.legend-dot-budget{background:#a78bfa}.report-main-items{flex-direction:column;gap:.35rem;margin-top:.1rem;display:flex}.report-main-item{color:#334155;background:#94a3b80f;border:1px solid #94a3b824;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.35rem .45rem;font-size:.68rem;display:flex}.report-main-item-name{align-items:center;gap:.45rem;font-weight:600;display:inline-flex}.report-main-item-values{color:#0f172a;font-weight:700}.modal-backdrop{z-index:30;background:#0f172a85;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:20px;width:min(100%,430px);padding:1.25rem;box-shadow:0 25px 60px #0f172a4d}.modal-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.modal-header h2{color:#0f172a;margin:0}.close-button{cursor:pointer;color:#64748b;background:0 0;border:none;font-size:1.8rem}.modal-form{flex-direction:column;gap:1rem;display:flex}.modal-form label{color:#334155;flex-direction:column;gap:.45rem;font-weight:600;display:flex}.modal-info{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:.8rem;padding:.7rem .85rem;font-size:.82rem;display:flex}.modal-total-box{color:#1d4ed8;background:linear-gradient(135deg,#eff6ff,#eef2ff);border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;padding:.9rem .8rem;display:flex}.modal-total-box span{text-transform:uppercase;letter-spacing:.05em;font-size:.8rem}.modal-total-box strong{color:#1e3a8a;font-size:1.2rem}.entries-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.9rem}.entries-summary h3{color:#334155;margin:0 0 .6rem;font-size:.9rem}.entries-summary ul{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.entries-summary li{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:.75rem;padding:.38rem 0;font-size:.82rem;display:flex}.entries-summary li:last-child{border-bottom:none}.entries-summary p{color:#64748b;margin:0;font-size:.82rem}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:.3rem;display:flex}.secondary-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe3f0;border-radius:12px;padding:.75rem 1rem;font-weight:600}@media (width<=900px){.topbar{flex-wrap:wrap;justify-content:center;padding:.55rem .7rem}.brand-wrap,.main-nav,.topbar-actions{justify-content:center}.topbar-actions{width:100%}.panel-header{flex-direction:column;align-items:stretch}.summary-card-group{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.summary-card{min-width:0}.config-form,.add-subitem-form{grid-template-columns:1fr}}@media (width<=640px){.panel-header{gap:.6rem}.summary-card-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem}.summary-card{border-radius:8px;min-height:64px;padding:.28rem .3rem}.summary-card-label{letter-spacing:.04em;font-size:.4rem}.summary-card-value{font-size:.64rem;line-height:1.1}.summary-card-budget{gap:.1rem;padding:.12rem .18rem;font-size:.38rem;line-height:1.1}.summary-card-budget strong{font-size:.46rem}.topbar{align-items:center;gap:.18rem;padding:.3rem .36rem}.brand-wrap{justify-content:flex-start;gap:.26rem;width:auto;min-width:0}.brand-mark{border-radius:6px;width:18px;height:18px;font-size:.62rem}.brand-name{font-size:.7rem}.brand-wrap small{display:none}.main-nav{scrollbar-width:none;-ms-overflow-style:none;flex:1;justify-content:flex-start;gap:.14rem;width:auto;overflow-x:auto}.main-nav::-webkit-scrollbar{display:none}.nav-button{border-radius:7px;width:1.7rem;height:1.7rem;font-size:.6rem}.nav-button svg{width:.72rem;height:.72rem}.topbar-actions{flex-shrink:0;justify-content:flex-end;align-items:center;gap:.18rem;width:auto;display:flex}.user-badge{display:none}.year-selector-wrap{border-radius:7px;padding:.12rem .16rem}.year-selector-label{display:none}.year-selector select{width:100%;min-width:48px;padding:.18rem .26rem .18rem .2rem;font-size:.56rem}.logout-button{border-radius:6px;width:24px;height:24px;font-size:.72rem}.primary-button,.secondary-button,.ghost-button,.toggle-button,.delete-button{border-radius:8px;min-height:2rem;padding:.34rem .5rem;font-size:.62rem}.section-box{border-radius:12px;padding:.5rem}.table-section-title{letter-spacing:.05em;margin:.4rem 0 .3rem;padding:.24rem .5rem;font-size:.56rem}.budget-table{min-width:760px}.budget-table th,.budget-table td{padding:.24rem .18rem;font-size:.54rem}.budget-table thead th{font-size:.5rem}.tag{margin-right:.2rem;padding:.14rem .22rem;font-size:.46rem}.editable-cell{padding:.2rem .15rem}.cell-button{border-radius:7px;padding:.24rem .18rem}.cell-amount{font-size:.56rem}.cell-budget{font-size:.42rem}.comparison-column{width:84px;min-width:84px}}
