:root{--sage:#5E8271;--sage-dark:#304e40;--sage-soft:#edf3ef;--terra:#E6A06F;--ink:#283c32;--muted:#748078;--line:#e3e9e4;--paper:#f6f7f3;--white:#fff;--red:#b3483a;--red-soft:#faeeea;--gold:#9b6b20;--shadow:0 12px 36px #2841300a;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}a{color:var(--sage-dark)}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button svg,a svg{width:18px;height:18px;flex-shrink:0}svg{vertical-align:middle}.skip{position:fixed;top:-100px;left:12px;background:#fff;z-index:100;padding:12px}.skip:focus{top:10px}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#334f42;color:#ecf3ee;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 17px 22px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 14px 37px;color:#fff;text-decoration:none;font-family:Georgia,serif;font-size:28px;letter-spacing:.2px}.brand small{display:block;font:9px "Segoe UI",sans-serif;letter-spacing:3.6px;margin:5px 0 0 2px;color:#d6e0d9}.brand-mark{font-family:Georgia,serif;font-size:53px;line-height:48px;font-style:italic;position:relative}.brand-mark>span{position:absolute;top:-9px;right:-10px;font-size:16px;color:var(--terra)}.nav-label{font-size:8px;letter-spacing:1.9px;color:#bdcdc1;padding:0 15px 16px}nav{display:grid;gap:5px}.nav-item{display:flex;gap:13px;align-items:center;border-radius:9px;padding:12px 15px;text-decoration:none;color:#dce7e0;font-weight:500;font-size:13px;border:1px solid transparent}.nav-item svg{opacity:.8}.nav-item:hover{background:#ffffff0b}.nav-item.active{background:#ffffff14;border-color:#ffffff10;color:#fff}.nav-item.active svg{color:var(--terra);opacity:1}.nav-item .nav-count{margin-left:auto;min-width:21px;padding:2px 5px;border-radius:5px;text-align:center;background:#E6A06F;color:#304e40;font-size:10px;font-weight:700}.nav-separator{height:1px;background:#ffffff14;margin:15px 13px}.sidebar-bottom{margin-top:auto;display:flex;gap:9px;align-items:flex-start;padding:25px 14px 0;font-size:11px;color:#e0e9e2}.sidebar-bottom small{display:block;font-size:9px;color:#b6c8bc;line-height:1.7;margin-top:4px}.offline-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:100%;background:#a6c9ab;vertical-align:middle;margin-top:4px}.workspace{margin-left:238px;width:calc(100% - 238px);min-width:0}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#fbfcf9}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 11px;color:#bcc6bf}.breadcrumb strong{color:var(--ink);font-weight:500}.topbar-right{display:flex;align-items:center;gap:23px}.local-badge{font-size:10px;color:var(--sage);display:flex;align-items:center;gap:7px}.local-badge .offline-dot{background:var(--sage);width:5px;height:5px;margin:0}.avatar{height:32px;width:32px;border-radius:50%;background:#e8ede5;display:grid;place-items:center;color:var(--sage-dark);font-size:10px;font-weight:600}main{padding:33px 38px 20px;max-width:1600px;margin:auto;min-height:calc(100vh - 118px)}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:31px;letter-spacing:-.7px;font-weight:400;margin-bottom:8px}h2{font-size:15px;font-weight:600;margin-bottom:6px}h3{font-size:14px;font-weight:600}.subtitle{color:var(--muted);font-size:12px;line-height:1.6;margin-bottom:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.heading-actions{display:flex;align-items:center;gap:10px}.btn{border:1px solid var(--line);background:white;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:10px 15px;line-height:1.2;text-decoration:none;font-size:12px;white-space:nowrap;min-height:37px}.btn:hover{border-color:#9aafa1;background:#fbfdfb}.btn.primary{background:var(--sage);border-color:var(--sage);color:#fff;box-shadow:0 3px 7px #5e82711a}.btn.primary:hover{background:#4d7060}.btn.danger{color:var(--red);border-color:#ecd2cc}.btn.danger:hover{background:var(--red-soft)}.btn.small{padding:7px 10px;min-height:31px;font-size:11px}.btn.icon-only{width:32px;height:32px;padding:5px;background:transparent;border-color:transparent}.btn.icon-only:hover{background:var(--sage-soft)}.btn.icon-only.danger:hover{background:var(--red-soft)}.btn svg{height:16px;width:16px}.text-link{background:transparent;border:0;color:var(--sage);padding:0;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}.text-link:hover{text-decoration:underline}.month-picker{padding:8px 11px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:12px;min-height:37px;max-width:180px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:9px;font-weight:600;color:var(--muted);margin-bottom:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat{border:1px solid var(--line);border-radius:10px;background:#fff;padding:19px 20px 17px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;gap:5px}.stat-icon{height:29px;width:29px;background:var(--sage-soft);color:var(--sage);display:grid;place-items:center;border-radius:8px}.stat-icon svg{width:15px;height:15px}.stat.terra .stat-icon{background:#fcf0e6;color:#c28556}.stat.red .stat-icon{background:var(--red-soft);color:var(--red)}.stat-value{font-size:25px;letter-spacing:-.6px;font-weight:600;margin:15px 0 8px;white-space:nowrap}.stat-note{font-size:10px;color:var(--muted);line-height:1.5}.stat-value.negative,.negative{color:var(--red)}.positive{color:var(--sage)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:21px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);min-width:0}.panel-head{padding:22px 22px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.panel-head p{color:var(--muted);font-size:10px;line-height:1.6;margin:0}.panel-body{padding:22px}.chart-legend{display:flex;gap:14px;color:var(--muted);font-size:9px;white-space:nowrap}.chart-legend span{display:flex;align-items:center;gap:5px}.dot{width:7px;height:7px;background:var(--sage);border-radius:2px;display:inline-block}.dot.terra{background:var(--terra)}.chart{height:212px;padding:22px 21px 0;display:flex;gap:13px;align-items:stretch}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:var(--muted);padding-bottom:31px;width:45px;flex-shrink:0}.chart-plot{position:relative;display:flex;flex:1;align-items:end;gap:8px;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#e9ede9 calc(25% - 1px),#e9ede9 25%);margin-bottom:31px}.chart-group{flex:1;display:flex;gap:5px;justify-content:center;align-items:end;height:100%;position:relative;padding:0 5px}.bar{width:22px;max-width:36%;border-radius:3px 3px 0 0;min-height:2px;background:var(--sage);opacity:.9}.bar.out{background:var(--terra)}.chart-label{position:absolute;bottom:-23px;font-size:9px;color:var(--muted);text-transform:capitalize}.chart-caption{padding:11px 22px 19px;color:var(--muted);font-size:9px}.accounts-panel{background:#f0f4ee}.accounts-panel .panel-head{padding-bottom:8px}.account-row{margin:0 21px;padding:18px 0;border-bottom:1px solid #dce5dc;display:flex;align-items:center;justify-content:space-between}.account-icon{height:35px;width:35px;border-radius:50%;background:white;border:1px solid var(--line);display:grid;place-items:center;font-size:12px;color:var(--sage);font-weight:600}.account-info{display:flex;align-items:center;gap:10px}.account-info strong{font-weight:600;font-size:12px}.account-info small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.account-value{font-size:17px;letter-spacing:-.3px;font-weight:600}.account-total{display:flex;justify-content:space-between;padding:18px 22px 20px;font-size:11px;align-items:center}.account-total strong{font-size:19px}.account-actions{display:flex;gap:7px;padding:0 21px 20px;flex-wrap:wrap}.account-actions .btn{flex:1;background:#ffffff80}.table-wrap{overflow:auto;border-radius:9px}.table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.table th{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);background:#fafbf9;padding:13px 18px;border-bottom:1px solid var(--line);font-weight:600;white-space:nowrap}.table td{padding:15px 18px;border-bottom:1px solid #edf0ec;vertical-align:middle;line-height:1.5}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fdfefc}.table .money{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right;font-weight:500}.table th.money{text-align:right}.table .cell-main{font-weight:500}.table .cell-sub{display:block;color:var(--muted);font-size:10px;margin-top:3px}.table .actions{display:flex;gap:3px;justify-content:end;white-space:nowrap}.badge{display:inline-block;padding:4px 8px;border-radius:5px;font-size:9px;font-weight:600;white-space:nowrap;background:#f2f1e8;color:#857c46}.badge.Quitada,.badge.receipt,.badge.income{background:#edf4ee;color:#527c61}.badge.Atrasada{background:var(--red-soft);color:var(--red)}.badge.Parcial{background:#f9f0e4;color:#9f7233}.badge.transfer,.badge.opening{background:#eff0f5;color:#727c93}.badge.expense,.badge.factory,.badge.manual_expense{background:#fcf0e6;color:#a57047}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px;flex-wrap:wrap}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search-field{position:relative}.search-field svg{position:absolute;top:11px;left:12px;width:16px;height:16px;color:var(--muted)}.search-field input{padding-left:35px;width:255px}.input,input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #dce3dd;border-radius:7px;background:white;color:var(--ink);padding:10px 11px;min-height:38px;font-size:12px;max-width:100%}.search-field input:not([type=checkbox]){padding-left:35px}.filters select{min-width:135px}.filter-date{width:145px}.toolbar .count{font-size:10px;color:var(--muted)}.empty{padding:51px 25px;text-align:center}.empty-symbol{width:47px;height:47px;display:grid;place-items:center;border-radius:13px;background:var(--sage-soft);color:var(--sage);margin:0 auto 15px}.empty-symbol svg{width:22px;height:22px}.empty h3{font-size:14px;margin-bottom:7px}.empty p{font-size:12px;line-height:1.7;color:var(--muted);max-width:440px;margin:0 auto 17px}.notice{padding:13px 16px;background:#edf3ef;border:1px solid #d8e4dc;border-radius:8px;font-size:11px;line-height:1.7;color:#52695b;margin-bottom:20px}.notice.terra{background:#fcf3e9;border-color:#f0dfca;color:#977345}.report-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.report-controls input{width:100px}.report-controls select{min-width:170px}.summary-strip{display:flex;gap:20px;padding:16px 20px;background:#f9fbf7;border-bottom:1px solid var(--line);flex-wrap:wrap}.summary-strip span{font-size:11px;color:var(--muted)}.summary-strip strong{font-size:13px;color:var(--ink);margin-left:7px}.section-gap{margin-top:25px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{padding:24px}.settings-card p{font-size:12px;color:var(--muted);line-height:1.8}.settings-card .btn{margin:4px 6px 4px 0}.category-list{list-style:none;padding:0;margin:16px 0 0}.category-list li{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.category-list li small{color:var(--muted);font-size:9px;display:block;margin-top:3px}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.history-item{padding:12px 14px;background:var(--paper);border-radius:6px;font-size:11px}.history-item small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.history-item strong{font-size:16px;font-weight:600}.details-info{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:11px;margin-bottom:18px}.details-info span{color:var(--muted)}.details-info strong{color:var(--ink);font-weight:500}.details-section{margin:22px 0 10px;font-size:13px}.dialog-body .table th,.dialog-body .table td{padding:11px}.dialog-body .table{font-size:11px}dialog{border:0;border-radius:13px;padding:0;width:680px;max-width:calc(100vw - 34px);max-height:calc(100vh - 42px);color:var(--ink);box-shadow:0 24px 100px #19352533;overflow:auto}dialog::backdrop{background:#1d332d66;backdrop-filter:blur(3px)}dialog.wide{width:940px}.dialog-header{padding:24px 26px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dialog-header h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0}.dialog-header p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.dialog-body{padding:23px 26px}.dialog-footer{display:flex;gap:9px;justify-content:end;align-items:center;padding:17px 26px;border-top:1px solid var(--line);background:#fafbf9;position:sticky;bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;min-width:0}.field input,.field select,.field textarea{width:100%}.field small{font-size:10px;font-weight:400;color:var(--muted);line-height:1.5}.field.full{grid-column:1/-1}textarea{resize:vertical;min-height:70px}.check-field{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.5;font-weight:400}.check-field input{accent-color:var(--sage);width:16px;height:16px}.form-error{background:var(--red-soft);border:1px solid #f0d3cc;color:var(--red);padding:12px 14px;font-size:12px;border-radius:6px;margin-bottom:18px;line-height:1.7}.form-error:empty{display:none}.form-section{grid-column:1/-1;border-top:1px solid var(--line);padding-top:17px;font-size:12px;font-weight:600;margin-bottom:-3px}.form-preview{grid-column:1/-1;background:var(--sage-soft);padding:12px;border-radius:6px;font-size:11px;line-height:1.7}.required{color:#b56f47}.toast{position:fixed;right:26px;bottom:25px;background:var(--sage-dark);border:1px solid #ffffff20;color:#fff;border-radius:8px;padding:13px 19px;z-index:100;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(20px);transition:.2s;pointer-events:none;max-width:min(440px,calc(100vw - 30px));line-height:1.6}.toast.visible{opacity:1;transform:translateY(0)}.toast.error{background:#914a3e}.loading{padding:100px 0;text-align:center;font-size:13px;color:var(--muted)}.spinner{display:inline-block;width:15px;height:15px;border-radius:50%;border:2px solid #d5e0d8;border-top-color:var(--sage);animation:spin .8s linear infinite;vertical-align:middle;margin-right:8px}@keyframes spin{to{transform:rotate(360deg)}}footer{height:45px;padding:15px 38px;color:#8b968d;font-size:9px;display:flex;justify-content:space-between;max-width:1600px;margin:auto}.print-only{display:none}.view-error{padding:45px;background:white;border:1px solid var(--line);border-radius:10px}.view-error p{color:var(--muted);font-size:13px;line-height:1.8}.chart-summary{padding:0 22px 10px;font-size:10px;color:var(--muted)}
.sidebar{overflow-y:auto}
@media(min-width:1450px){.sidebar{width:260px;padding-left:22px;padding-right:22px}.workspace{margin-left:260px;width:calc(100% - 260px)}main{padding-top:39px}.stat-value{font-size:29px}.chart{height:240px}}
@media(max-width:1150px){main{padding:28px 24px 18px}.topbar{padding:0 24px}.sidebar{width:208px;padding-left:12px;padding-right:12px}.workspace{margin-left:208px;width:calc(100% - 208px)}.brand{font-size:24px;padding-left:10px}.stat{padding:16px 15px}.stat-value{font-size:22px}.stats{gap:12px}.chart-legend{gap:8px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:16px}.panel-head{padding:19px 18px 0}.account-row{margin:0 18px}.account-value{font-size:15px}.heading-actions{gap:7px}.page-heading{gap:13px}.btn{padding:9px 12px}.table td,.table th{padding-left:13px;padding-right:13px}.settings-grid{gap:16px}}
@media(max-width:900px){.sidebar{width:74px;padding:24px 9px}.brand{padding:0 10px 28px;gap:0}.brand>span:last-child,.nav-label,.nav-item span,.sidebar-bottom{display:none}.brand-mark{font-size:43px}.nav-item{padding:13px;justify-content:center}.nav-item svg{height:21px;width:21px}.nav-separator{margin:12px 5px}.workspace{margin-left:74px;width:calc(100% - 74px)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(235px,1fr)}.settings-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}h1{font-size:28px}.heading-actions{flex-wrap:wrap;justify-content:end}.table{min-width:650px}.dialog-body .table{min-width:570px}.panel-head{gap:8px}.chart-legend{flex-direction:column;gap:5px}.chart{gap:4px;padding-left:12px;padding-right:12px}.account-actions{padding-left:15px;padding-right:15px}}
@media(max-width:650px){main{padding:23px 15px 15px}.topbar{height:61px;padding:0 16px}.topbar-right{gap:10px}.breadcrumb{font-size:10px}.local-badge{font-size:9px}.avatar{width:27px;height:27px;font-size:8px}.sidebar{width:60px;padding:22px 6px}.workspace{margin-left:60px;width:calc(100% - 60px)}.brand{padding-left:7px}.brand-mark{font-size:37px}.brand-mark>span{font-size:12px;right:-6px}.nav-item{padding:12px 9px}.nav-item svg{width:19px;height:19px}.page-heading{flex-direction:column;margin-bottom:23px;gap:16px}.heading-actions{justify-content:start;width:100%}h1{font-size:27px}.subtitle{font-size:11px}.stats{gap:10px}.stat{padding:14px 12px}.stat-top{font-size:10px;line-height:1.5}.stat-icon{width:25px;height:25px}.stat-value{font-size:19px;margin-top:12px}.stat-note{font-size:9px}.dashboard-grid{grid-template-columns:1fr}.chart-legend{flex-direction:row;gap:10px}.chart{height:205px}.account-value{font-size:18px}.toolbar{align-items:start}.filters{width:100%;gap:8px}.search-field{width:100%}.search-field input{width:100%}.filters select{min-width:0;flex:1}.filters .filter-date{width:135px}.table{font-size:11px}.form-grid{grid-template-columns:1fr}.field.full,.form-section,.form-preview{grid-column:auto}dialog{max-width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.dialog-header{padding:21px 19px 17px}.dialog-body{padding:20px 19px}.dialog-footer{padding:16px 19px}.dialog-header h2{font-size:22px}.history-grid{gap:9px}.history-item strong{font-size:14px}.settings-card{padding:20px}.settings-card .btn{white-space:normal;text-align:left}.summary-strip{gap:11px}.summary-strip span{font-size:10px}.summary-strip strong{font-size:11px}.empty{padding:35px 18px}.empty p{font-size:11px}footer{height:auto;padding:15px;gap:10px;line-height:1.6;font-size:8px;flex-wrap:wrap}.report-controls{gap:7px}.report-controls select{min-width:140px}.chart-caption{font-size:8px}.account-total strong{font-size:20px}.toast{right:15px;bottom:15px}.panel-head{padding:19px 17px 0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{body{background:#fff;font-size:11px}.sidebar,.topbar,footer,.heading-actions,.toolbar,.btn,.report-controls,.notice,.toast,dialog{display:none!important}.workspace{margin:0;width:100%}main{padding:0;min-height:0}.stats{gap:10px}.stat{box-shadow:none;padding:13px}.stat-value{font-size:20px}.panel{box-shadow:none;break-inside:avoid}.table{min-width:0;font-size:10px}.table td,.table th{padding:8px}.table-wrap{overflow:visible}.page-heading{margin-bottom:20px}.print-only{display:block}.chart{height:180px}.settings-grid{display:block}.positive,.negative{color:#000}}

/* Online: readable type, company identity, authentication and account management. */
:root{font-size:16px;--button-text:#fff}
.sidebar{width:264px;background:var(--sage-dark);padding-top:28px}
.workspace{margin-left:264px;width:calc(100% - 264px)}
.brand{font-size:24px;gap:10px;padding-left:9px;padding-right:9px}
.brand-name{font:500 20px "Segoe UI",Arial,sans-serif;overflow-wrap:anywhere;line-height:1.25;min-width:0}
.brand-name small{font-size:9px;letter-spacing:2px;line-height:1.5}
.company-logo{width:46px;height:46px;object-fit:contain;border-radius:8px;background:#fff;flex-shrink:0}
.company-monogram{font:italic 49px/1 Georgia,serif;position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:48px;color:var(--sage);flex-shrink:0}
.company-monogram>span{font-size:15px;position:absolute;right:0;top:0;color:var(--terra)}
.brand .company-monogram{color:white}
.nav-label{font-size:10px;letter-spacing:1.1px;padding-left:10px;padding-right:10px}
.nav-item{font-size:14px;gap:11px;padding:12px}
.nav-item .nav-count{font-size:12px}
.sidebar-bottom{font-size:13px;padding-left:10px;padding-right:10px}
.sidebar-bottom small{font-size:11px}
.breadcrumb{font-size:13px;display:flex;align-items:center;min-width:0}
.breadcrumb #header-company{padding:0;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.breadcrumb strong{white-space:nowrap}
.session-username{font-size:13px;color:var(--muted);max-width:170px;overflow:hidden;text-overflow:ellipsis}
.topbar-right{gap:12px}
h1{font-size:34px}.subtitle{font-size:14px;line-height:1.7}h2{font-size:17px}h3{font-size:16px}
.btn{font-size:14px;min-height:42px;padding:11px 15px;line-height:1.3}
.btn.small{font-size:13px;min-height:36px}
.btn.primary{color:var(--button-text)}
.btn.primary:hover{background:var(--sage-dark)}
.text-link{font-size:14px}
.stat-top{font-size:13px}.stat-note{font-size:12px}.stat-value{font-size:27px}
.stats{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}
.eyebrow{font-size:11px;letter-spacing:1.3px}
.panel-head p{font-size:12px}.chart-legend{font-size:11px}.chart-axis{font-size:10px}.chart-label{font-size:11px}.chart-caption{font-size:11px;line-height:1.6}
.account-info strong{font-size:14px;overflow-wrap:anywhere}.account-info small{font-size:12px}.account-info{max-width:55%}.account-value{font-size:18px}.account-total{font-size:14px}.account-total strong{font-size:22px}
.table{font-size:14px}.table th{font-size:11px;letter-spacing:.4px}.table .cell-sub{font-size:12px}.table td{line-height:1.6}.table .actions{align-items:center}
.badge{font-size:12px;padding:4px 9px}.toolbar .count{font-size:12px}.filter-date{width:155px}
.input,input:not([type=checkbox]):not([type=file]),select,textarea{font-size:15px;min-height:43px;padding:10px 12px}
.month-picker{font-size:14px;min-height:42px}
.field{font-size:14px;line-height:1.5;gap:8px}.field small{font-size:12px}.check-field{font-size:14px}.check-field input{min-width:18px;width:18px;height:18px}
.field input[type=color]{height:45px;width:100%;padding:4px;cursor:pointer}
.field input[type=file]{padding:10px;border:1px solid var(--line);border-radius:7px;font-size:13px;background:#fff;width:100%}
.field input[type=file]::file-selector-button{background:var(--sage-soft);border:0;border-radius:4px;padding:7px;color:var(--sage-dark);margin-right:8px;cursor:pointer}
.check-field.field{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:start}.check-field.field small{width:100%;padding-left:27px}
.form-section{font-size:14px}.form-preview{font-size:13px}.form-error{font-size:14px}.notice{font-size:14px;line-height:1.7}.summary-strip span{font-size:13px}.summary-strip strong{font-size:14px}
.empty h3{font-size:17px}.empty p{font-size:14px}.dialog-header p{font-size:13px}.dialog-body .table{font-size:13px}.details-info{font-size:13px;line-height:1.7}.details-section{font-size:16px}
.history-item{font-size:13px}.history-item small{font-size:12px}.history-item strong{font-size:19px}.toast{font-size:14px}
.settings-card p{font-size:14px}.category-list li{font-size:14px}.category-list li small{font-size:12px}
.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.section-header p{margin-bottom:0}.company-preview{display:flex;align-items:center;gap:15px;margin:23px 0 15px}.company-preview strong{display:block;font-size:18px;font-weight:600}.company-preview small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.company-preview .company-logo{height:62px;width:62px;border:1px solid var(--line)}
footer{font-size:11px;height:auto;padding-top:17px;padding-bottom:17px;line-height:1.6}
.subscription-warning{background:#fcf0e5;color:#825f3d;border-color:#eed6be}.subscription-warning a{color:inherit;font-weight:600}
.billing-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:22px}.plan-name{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:9px 0 22px}.plan-price{font-size:30px;font-weight:600;letter-spacing:-.7px}.plan-price span{font-size:14px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:8px}.plan-status{margin:18px 0}.plan-status .badge{font-size:13px}.billing-grid .details-info{display:grid;gap:9px}
.auth-screen .sidebar,.auth-screen .topbar,.auth-screen footer,.auth-screen .skip{display:none}
.auth-screen .workspace{width:100%;margin:0}.auth-screen main{padding:0;max-width:none;min-height:100vh}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fafbf8}
.auth-intro{background:var(--sage-dark);padding:49px 12%;color:white;display:flex;flex-direction:column;justify-content:space-between;gap:75px;min-height:100vh;position:relative;overflow:hidden}
.auth-intro::after{content:"";width:410px;height:410px;position:absolute;border:1px solid #ffffff12;border-radius:50%;bottom:-175px;right:-200px;box-shadow:0 0 0 75px #ffffff04,0 0 0 150px #ffffff03;pointer-events:none}
.auth-brand{display:flex;gap:14px;text-decoration:none;color:white;font:32px Georgia,serif;align-items:center;position:relative;z-index:1}.auth-brand .company-monogram{color:white;font-size:58px;width:40px;height:56px}.auth-brand small{font:10px "Segoe UI",Arial,sans-serif;display:block;letter-spacing:3.7px;margin-top:7px}.auth-eyebrow{font-size:11px;letter-spacing:2.1px;color:#d1ded4}.auth-intro h1{font-family:Georgia,serif;font-size:clamp(45px,4.6vw,72px);font-weight:400;line-height:1.12;letter-spacing:-1.2px;margin:23px 0}.auth-intro p{font-size:16px;line-height:1.8;max-width:310px;color:#d4e1d7}.auth-intro-footer{font-size:12px;color:#c4d4c9;position:relative;z-index:1}
.auth-card{display:grid;place-items:center;padding:50px 12%}.auth-card-inner{width:100%;max-width:420px}.auth-card h2{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.25;margin:14px 0}.auth-card .subtitle{font-size:15px}.auth-card form{margin-top:30px;display:grid;gap:19px}.auth-submit{width:100%;margin-top:8px;justify-content:space-between;min-height:48px}.auth-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:22px}.auth-links .btn{font-size:13px;background:transparent;border-color:transparent;color:var(--sage)}.auth-links .btn:hover{background:var(--sage-soft)}.auth-help{margin:36px auto 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.8;max-width:300px}
.company-choice{max-width:620px;padding:60px 25px;margin:auto}.auth-choice-brand{display:flex;gap:13px;align-items:center;margin-bottom:50px;font:23px Georgia,serif}.company-choice h1{font-size:32px}.company-choice form{margin-top:29px}.company-options{display:grid;gap:12px;margin-bottom:22px}.company-option{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:white;padding:21px;border-radius:10px;cursor:pointer;transition:border-color .1s,background .1s}.company-option:hover{border-color:var(--sage);background:var(--sage-soft)}.company-option input{accent-color:var(--sage);width:18px;height:18px;flex-shrink:0}.company-option span{flex:1}.company-option strong{display:block;font-size:17px;font-weight:600}.company-option small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.company-option svg{width:18px;height:18px;color:var(--sage)}
@media(min-width:1600px){.sidebar{width:280px}.workspace{margin-left:280px;width:calc(100% - 280px)}}
@media(max-width:1200px){main{padding:28px 24px 20px}.dashboard-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.accounts-panel{display:grid;grid-template-columns:1fr 1fr}.accounts-panel .panel-head{grid-column:1/-1}.account-total{grid-column:1/-1}.account-actions{grid-column:1/-1}.auth-intro{padding:45px 10%}.auth-card{padding:45px 10%}.billing-grid{grid-template-columns:1fr 1fr}.table{min-width:760px}.table th,.table td{padding:13px}.account-info{max-width:none}.account-row{gap:14px}.account-value{font-size:20px}}
@media(max-width:1000px){.sidebar{width:225px;padding-left:9px;padding-right:9px}.workspace{margin-left:225px;width:calc(100% - 225px)}.nav-item{font-size:13px;gap:10px;padding:11px}.brand-name{font-size:17px}.brand-name small{font-size:8px}.brand{gap:8px}.company-logo{width:37px;height:37px}.brand .company-monogram{font-size:43px;width:31px;min-width:31px}.settings-grid,.billing-grid{grid-template-columns:1fr}.session-username{display:none}.page-heading{flex-direction:column;align-items:start}.heading-actions{justify-content:start;flex-wrap:wrap}.auth-intro{padding-left:11%;padding-right:9%}.auth-card{padding-left:9%;padding-right:9%}.auth-intro h1{font-size:50px}.breadcrumb #header-company{max-width:160px}.topbar{padding-left:24px;padding-right:24px}}
@media(max-width:800px){.sidebar{width:72px;padding:24px 8px}.workspace{margin-left:72px;width:calc(100% - 72px)}.brand{padding:0 4px 28px;justify-content:center}.brand-name,.nav-label,.nav-item>span,.sidebar-bottom{display:none}.brand .company-monogram{height:43px;width:38px;min-width:38px;font-size:43px}.brand .company-logo{width:42px;height:42px}.nav-item{padding:13px;justify-content:center}.nav-item svg{width:21px;height:21px}.nav-separator{margin:12px 4px}.topbar{padding:0 18px}.breadcrumb #header-company{max-width:190px}.auth-layout{grid-template-columns:.8fr 1fr}.auth-intro{padding:38px 11%;gap:50px}.auth-brand{font-size:25px;gap:9px}.auth-brand .company-monogram{font-size:48px;width:34px;min-width:34px}.auth-brand small{font-size:8px;letter-spacing:2.3px}.auth-intro h1{font-size:44px}.auth-intro p{font-size:14px}.auth-eyebrow{font-size:9px;letter-spacing:1.4px}.auth-card{padding:35px 10%}.auth-card h2{font-size:28px}.auth-card .subtitle{font-size:14px}.auth-intro-footer{font-size:11px}}
@media(max-width:650px){.sidebar{width:62px;padding:21px 6px}.workspace{margin-left:62px;width:calc(100% - 62px)}.brand .company-logo{width:36px;height:36px}.nav-item{padding:12px 9px}.nav-item svg{width:19px;height:19px}.brand .company-monogram{font-size:37px;min-width:33px;width:33px}.topbar{height:auto;min-height:63px;padding:11px 15px;gap:10px;align-items:flex-start}.topbar-right{gap:5px;flex-wrap:wrap;justify-content:end}.topbar-right .btn.small{padding:7px;font-size:12px;min-height:34px}.topbar-right .btn span{display:none}.breadcrumb{font-size:12px;line-height:34px}.breadcrumb #header-company{max-width:95px}.breadcrumb>span:not(#header-company){padding:0 7px}.breadcrumb strong{max-width:105px;overflow:hidden;text-overflow:ellipsis}main{padding:24px 15px 17px}h1{font-size:30px}.page-heading{gap:16px}.subtitle{font-size:14px}.heading-actions{gap:8px}.btn{white-space:normal;font-size:14px;min-height:43px}.btn.small{font-size:13px;min-height:36px}.stats{grid-template-columns:1fr;gap:12px}.stat{padding:19px}.stat-top{font-size:14px}.stat-value{font-size:29px}.stat-note{font-size:12px}.account-value{font-size:19px}.accounts-panel{display:block}.account-info strong{font-size:14px}.account-info small{font-size:12px}.account-total{font-size:14px}.account-total strong{font-size:22px}.account-row{gap:12px}.account-info{max-width:58%}.account-info strong{overflow-wrap:anywhere}.panel-head{padding:20px 18px 0}.panel-head p{font-size:12px}.chart{height:230px}.chart-legend{font-size:11px;flex-wrap:wrap;gap:8px}.chart-caption{font-size:11px;padding-left:18px;padding-right:18px}.chart-label{font-size:10px}.chart-axis{font-size:10px}.table{font-size:14px}.table th{font-size:11px}.filters label{width:calc(50% - 4px)}.filters label input{width:100%;min-width:0}.filters select{min-width:100px}.notice{font-size:14px}.form-grid{gap:20px}.field{font-size:14px}.field small{font-size:12px}.field input,.field select,.field textarea{font-size:16px}.dialog-body .table{font-size:13px}.dialog-header h2{font-size:25px}.dialog-header p{font-size:13px}.dialog-footer .btn{font-size:13px}.history-item strong{font-size:18px}.history-item small{font-size:12px}.empty p{font-size:14px}.empty h3{font-size:17px}.settings-card p{font-size:14px}.section-header{flex-wrap:wrap}.section-header .btn{white-space:nowrap}.summary-strip span{font-size:12px}.summary-strip strong{font-size:13px}.report-controls select{min-width:140px}.auth-layout{display:block;min-height:100vh}.auth-intro{min-height:0;padding:27px 26px 30px;gap:24px}.auth-intro>div:not(.auth-brand){display:none}.auth-intro .auth-intro-footer{display:none}.auth-intro::after{display:none}.auth-brand{font-size:28px}.auth-brand .company-monogram{font-size:52px}.auth-brand small{font-size:9px;letter-spacing:3.2px}.auth-card{display:block;padding:34px 25px 45px}.auth-card-inner{max-width:420px;margin:auto}.auth-card h2{font-size:30px}.auth-card .subtitle{font-size:15px}.auth-card form{gap:21px;margin-top:28px}.auth-card .field{font-size:14px}.auth-card .field input{font-size:16px;min-height:47px}.auth-submit{font-size:15px;min-height:49px}.auth-links .btn{font-size:14px}.auth-help{font-size:13px}.company-choice{padding:35px 24px}.auth-choice-brand{font-size:20px;margin-bottom:36px}.company-choice h1{font-size:30px}.company-choice .subtitle{font-size:14px}.company-option{padding:18px 15px;gap:12px}.company-option strong{font-size:16px}.company-option small{font-size:13px}.plan-price{font-size:29px}.plan-name{font-size:32px}.toast{font-size:14px}footer{font-size:11px;padding:17px 15px}}
@media print{.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{width:100%;margin:0}.stat-value{font-size:21px}.stat-top,.stat-note{font-size:11px}.table{font-size:10px;min-width:0}.table th{font-size:9px}.table .cell-sub{font-size:9px}.heading-actions,.session-controls{display:none!important}main{padding:0}.sidebar,.topbar,footer{display:none!important}}
.panel-head>svg{width:22px;height:22px;flex-shrink:0;color:var(--sage)}
.chart,.chart-plot,.chart-group{min-width:0}
.chart-plot,.chart-group{flex:1 1 0}
.chart-group .bar{min-width:0}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.form-grid>*,.field input,.field select,.field textarea,.filters,.search-field{min-width:0}
@media(max-width:650px){
  .chart{gap:6px;padding-left:12px;padding-right:12px}
  .chart-axis{width:38px}
  .chart-plot{gap:4px}
  .chart-group{gap:2px;padding-left:1px;padding-right:1px}
  .chart-group .bar{flex:1 1 0;width:auto;max-width:none}
  .form-grid{grid-template-columns:minmax(0,1fr)}
}
