@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@400;500;600;700;800&display=swap');
:root{--navy:#101a2d;--navy2:#182640;--blue:#3978ef;--text:#202b3d;--muted:#8792a5;--line:#edf0f5;--bg:#f6f8fb}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'Noto Sans Armenian',Arial,sans-serif;font-size:13px}.app-shell{min-height:100vh}.sidebar{width:252px;background:var(--navy);color:#d7deeb;position:fixed;inset:0 auto 0 0;padding:25px 16px 15px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;padding:0 10px 29px}.brand-mark{width:37px;height:37px;border-radius:11px;background:linear-gradient(140deg,#4a8bff,#704df2);display:grid;place-items:center;font-size:23px;font-weight:800;box-shadow:0 7px 20px #3978ef55}.brand-copy{display:flex;flex-direction:column;letter-spacing:1.7px}.brand-copy b{font-size:15px}.brand-copy small{font-size:8px;color:#95a7c4;letter-spacing:2.8px;margin-top:2px}.workspace{display:flex;align-items:center;gap:9px;background:#ffffff0d;border:1px solid #ffffff12;border-radius:10px;padding:11px 9px;margin-bottom:27px}.workspace-icon{width:31px;height:31px;border-radius:8px;background:#28436b;color:#a9c8ff;display:grid;place-items:center;font-size:15px;font-weight:700}.workspace span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}.workspace b{font-size:10px;color:#fff}.workspace small{font-size:9px;color:#8fa0ba}.chevron{margin-left:auto;color:#8191aa}.nav-label{font-size:9px;letter-spacing:1.5px;color:#71819b;padding:0 11px 9px}.nav-label-spaced{padding-top:27px}.nav{display:flex;flex-direction:column;gap:4px}.nav-item{height:41px;display:flex;align-items:center;gap:13px;padding:0 12px;border-radius:8px;text-decoration:none;color:#9eacc2;font-size:11px;transition:.18s}.nav-item:hover{background:#ffffff0c;color:#fff}.nav-item.active{background:linear-gradient(90deg,#3978ef33,#3978ef14);color:#fff;box-shadow:inset 3px 0 #4d8aff}.nav-icon{width:17px;text-align:center;font-size:17px;color:#8194b2}.active .nav-icon{color:#75a6ff}.sidebar-bottom{margin-top:auto}.help-card{background:linear-gradient(135deg,#1d3151,#1a2942);border:1px solid #ffffff10;border-radius:10px;padding:13px;margin:15px 2px}.help-bubble{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#31588e;color:#c9dcff;margin-bottom:9px}.help-card b,.help-card small{display:block}.help-card b{font-size:10px;color:#fff}.help-card small{font-size:9px;color:#94a5bf;margin:5px 0 9px}.help-card a{font-size:9px;color:#81adff;text-decoration:none}.user-mini{border-top:1px solid #ffffff14;padding:15px 4px 0;display:flex;align-items:center;gap:9px}.avatar,.top-avatar{width:32px;height:32px;border-radius:50%;background:#dce8ff;color:#355b9b;display:grid;place-items:center;font-size:9px;font-weight:700}.user-mini span:nth-child(2){display:flex;flex-direction:column;gap:3px}.user-mini b{font-size:9px;color:#fff}.user-mini small{font-size:8px;color:#8292aa}.dots{margin-left:auto;color:#8292aa;letter-spacing:2px}.main{margin-left:252px;min-height:100vh}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:3}.breadcrumbs{display:flex;align-items:center;gap:11px;color:#9aa4b4;font-size:11px}.breadcrumbs i{font-style:normal;color:#c5cbd5}.breadcrumbs b{color:#334158;font-weight:600}.top-actions{display:flex;align-items:center;gap:17px}.demo-tag{font-size:9px;color:#75849b;background:#f3f6fb;border:1px solid #e9edf4;padding:7px 10px;border-radius:20px;letter-spacing:.6px}.demo-tag span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e8a23a;margin-right:5px}.icon-btn,.menu-toggle{border:0;background:none;color:#718097;font-size:20px;cursor:pointer;position:relative}.notification em{position:absolute;width:5px;height:5px;background:#f16e72;border-radius:50%;right:1px;top:2px}.top-avatar{width:30px;height:30px}.menu-toggle{display:none}.content{max-width:1500px;margin:0 auto;padding:34px 36px 20px}.welcome-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.2px;color:#9aa5b5;font-weight:600}.welcome-row h1{font-size:25px;letter-spacing:-.7px;margin:8px 0 5px;color:#17243a}.welcome-row h1 span{color:#e9ad45;font-size:19px}.welcome-row p,.panel-heading p{margin:0;color:#929cad;font-size:10px}.primary-btn{border:0;border-radius:8px;background:var(--blue);color:#fff;padding:12px 16px;font-family:inherit;font-size:10px;font-weight:600;box-shadow:0 5px 13px #3978ef30;cursor:pointer}.primary-btn span{font-size:16px;vertical-align:-1px;margin-right:5px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stat-card,.panel{background:#fff;border:1px solid #edf0f5;border-radius:11px;box-shadow:0 3px 12px #1d2e4b05}.stat-card{padding:17px 18px 15px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#78869a;font-size:10px}.stat-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:16px}.blue{background:#edf4ff;color:#3978ef}.green{background:#eaf9f3;color:#20ae80}.orange{background:#fff4e9;color:#e99a42}.violet{background:#f3efff;color:#8868e8}.stat-value{font-size:23px;font-weight:700;letter-spacing:-.6px;margin:13px 0 10px;color:#1d2b42}.stat-value small{font-size:12px;color:#77859a;font-weight:500}.stat-foot{display:flex;align-items:center;gap:7px;color:#a0a9b7;font-size:8px}.trend{font-size:9px;font-weight:700}.trend.up{color:#20ad80}.trend.down{color:#e69b4b}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.9fr);gap:16px;margin-bottom:17px}.panel{padding:19px 20px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between}.panel-heading h2{font-size:13px;margin:0 0 5px;color:#25334a}.select-btn,.more-btn{border:1px solid #e9edf3;background:#fff;border-radius:6px;padding:7px 10px;color:#7f8ca0;font-family:inherit;font-size:9px}.select-btn span{margin-left:9px}.more-btn{border:0;font-size:15px;letter-spacing:2px}.chart-legend{display:flex;gap:17px;margin:20px 0 12px 42px;color:#8c98a9;font-size:9px}.chart-legend span,.breakdown span{display:flex;align-items:center;gap:7px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.income{background:#3978ef}.expense{background:#20b889}.other{background:#e9ad45}.chart-wrap{display:flex;height:200px}.y-labels{display:flex;flex-direction:column;justify-content:space-between;color:#aab3c0;font-size:8px;padding:0 12px 25px 0}.chart-area{position:relative;flex:1}.grid-lines{position:absolute;inset:0 0 24px;display:flex;flex-direction:column;justify-content:space-between}.grid-lines i{border-top:1px dashed #edf0f5}.chart-area svg{position:absolute;inset:0 0 24px;width:100%;height:calc(100% - 24px);overflow:visible}.x-labels{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;color:#aab3c0;font-size:8px}.donut-area{display:grid;place-items:center;padding:19px 0 13px}.donut{width:142px;height:142px;border-radius:50%;background:conic-gradient(#3978ef 0 63%,#20b889 63% 91%,#e9ad45 91% 100%);display:grid;place-items:center;position:relative}.donut:before{content:"";position:absolute;inset:17px;background:#fff;border-radius:50%}.donut-center{z-index:1;display:flex;flex-direction:column;align-items:center;gap:4px}.donut-center b{font-size:19px;color:#24334a}.donut-center small{font-size:8px;color:#9aa5b5}.breakdown{display:flex;flex-direction:column;gap:11px}.breakdown>div{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#8591a3}.breakdown b{color:#3b485c;font-size:9px}.transactions-panel{padding-bottom:5px}.text-link{font-size:9px;color:#3978ef;text-decoration:none;margin-top:3px}.table-scroll{overflow-x:auto;margin-top:17px}table{width:100%;border-collapse:collapse;min-width:650px}th{text-align:left;font-size:8px;letter-spacing:.7px;color:#a1aaba;font-weight:600;padding:10px 8px;border-bottom:1px solid #edf0f5}td{padding:12px 8px;border-bottom:1px solid #f1f3f7;color:#7e8a9c;font-size:9px}tbody tr:last-child td{border-bottom:0}.transaction-name{display:flex;align-items:center;gap:9px;color:#344158}.transaction-name b,.transaction-name small{display:block}.transaction-name b{font-size:9px;font-weight:600}.transaction-name small{font-size:8px;color:#a0a9b7;margin-top:4px}.tx-icon{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;font-size:14px}.income-bg{background:#eaf8f2;color:#20ae80}.expense-bg{background:#fff3e8;color:#e69a42}.status{padding:5px 8px;border-radius:20px;font-size:8px;white-space:nowrap}.status.success{background:#eaf8f2;color:#1da579}.status.pending{background:#fff6e9;color:#d99a3d}.amount{text-align:right;font-weight:600;color:#46546a}.amount.positive{color:#20a579}.footer{display:flex;justify-content:space-between;color:#aab2bf;font-size:8px;padding:18px 2px 0}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#17243a;color:#fff;padding:12px 18px;border-radius:8px;font-size:10px;opacity:0;pointer-events:none;transition:.25s;box-shadow:0 8px 25px #14233a30;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:28px 22px}.topbar{padding:0 22px}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .25s;width:260px}.sidebar.open{transform:translateX(0);box-shadow:15px 0 40px #0b172b44}.main{margin-left:0}.topbar{height:58px;padding:0 15px}.menu-toggle{display:block}.breadcrumbs{margin-right:auto;margin-left:12px}.demo-tag{display:none}.top-actions{gap:10px}.content{padding:24px 15px}.welcome-row{align-items:flex-start;gap:15px;flex-direction:column}.welcome-row h1{font-size:21px}.primary-btn{align-self:stretch}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:19px}.stat-foot{flex-wrap:wrap}.dashboard-grid{grid-template-columns:1fr}.panel{padding:16px}.chart-panel{min-width:0}.chart-wrap{height:180px}.footer{gap:10px;flex-direction:column}.top-avatar{display:none}}
@media(max-width:390px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:12px}.stat-value{font-size:17px}.stat-foot{font-size:7px}.stat-top{font-size:9px}.stat-icon{width:27px;height:27px}}


/* Accounting module */
.module-view[hidden],.tab-panel[hidden]{display:none!important}.module-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.module-heading h1{font-size:25px;margin:8px 0 5px;color:#17243a}.module-heading p{font-size:10px;color:#929cad;margin:0}.accounting-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.accounting-panel{padding:0;overflow:hidden}.accounting-toolbar{padding:17px 19px 0;border-bottom:1px solid #edf0f5}.accounting-tabs{display:flex;gap:22px;overflow-x:auto;white-space:nowrap}.accounting-tab{border:0;background:none;padding:9px 1px 13px;color:#8793a5;font:600 10px inherit;font-family:inherit;font-size:10px;cursor:pointer;border-bottom:2px solid transparent}.accounting-tab.active{color:#3978ef;border-bottom-color:#3978ef}.accounting-tools{display:flex;justify-content:space-between;gap:12px;padding:14px 0}.search-field{height:34px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #e9edf3;border-radius:7px;color:#9aa5b5;min-width:220px}.search-field input{border:0;outline:0;width:100%;font:10px inherit;font-family:inherit;font-size:10px;color:#344158}.search-field input::placeholder{color:#aab3c0}.table-intro{display:flex;justify-content:space-between;align-items:center;padding:19px 20px 0}.table-intro h2{font-size:13px;margin:0 0 5px;color:#25334a}.table-intro p{font-size:9px;color:#929cad;margin:0}.record-count{font-size:9px;color:#8995a7;background:#f5f7fa;padding:6px 9px;border-radius:20px}.module-table{min-width:790px}.module-table th{padding-top:13px;padding-bottom:11px}.module-table td{padding-top:12px;padding-bottom:12px}.module-table td b,.module-table td small{display:block}.module-table td b{font-size:9px;color:#344158;font-weight:600}.module-table td small{font-size:8px;color:#a0a9b7;margin-top:4px}.account-code{font-weight:700;color:#3978ef!important}.table-bottom{display:flex;justify-content:space-between;align-items:center;padding:13px 20px 17px;color:#9aa5b5;font-size:8px}.pagination{display:flex;gap:5px}.pagination button{width:25px;height:25px;border:1px solid #edf0f5;border-radius:5px;background:#fff;color:#78869a;font:10px inherit;cursor:pointer}.pagination button.current{background:#3978ef;color:#fff;border-color:#3978ef}.pagination button:disabled{opacity:.4}.compact-btn{padding:9px 12px;font-size:9px}.tab-panel{padding-bottom:3px}.empty-state{margin:22px 20px 25px;padding:35px 20px;text-align:center;border:1px dashed #e2e8f0;border-radius:10px;background:#fbfcfe}.empty-icon{width:42px;height:42px;margin:0 auto 12px;display:grid;place-items:center;border-radius:12px;background:#edf4ff;color:#3978ef;font-size:20px}.empty-state b{display:block;font-size:11px;color:#344158}.empty-state p{max-width:390px;margin:7px auto 14px;font-size:9px;line-height:1.7;color:#929cad}.outline-btn{border:1px solid #dce5f4;background:#fff;border-radius:7px;padding:8px 12px;color:#3978ef;font:10px inherit;font-family:inherit;cursor:pointer}.trial-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px}.trial-summary>div{padding:14px;border:1px solid #edf0f5;border-radius:8px;display:flex;flex-direction:column;gap:8px}.trial-summary span{font-size:9px;color:#929cad}.trial-summary b{font-size:14px;color:#344158}.trial-summary .balanced{font-size:11px;color:#20a579}.compact-empty{margin-top:0}
@media(max-width:1100px){.accounting-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.module-heading{align-items:flex-start;flex-direction:column;gap:15px}.module-heading .primary-btn{align-self:stretch}.accounting-toolbar{padding:12px 13px 0}.accounting-tabs{gap:17px}.accounting-tools{flex-direction:column}.search-field{min-width:0;width:100%}.table-intro{padding:16px 14px 0}.table-bottom{padding:12px 14px}.trial-summary{grid-template-columns:1fr;margin:14px}.empty-state{margin:15px 14px 18px}.accounting-stats{gap:10px}}

/* Demo chart-of-accounts CRUD */
.account-actions{display:flex;gap:6px;justify-content:flex-end;white-space:nowrap}.row-action{border:1px solid #e7ecf3;background:#fff;border-radius:6px;padding:5px 8px;font:inherit;font-size:9px;color:#64748b;cursor:pointer}.row-action:hover{border-color:#3978ef;color:#3978ef}.row-action.danger:hover{border-color:#e58a8a;color:#c34b4b}.status.inactive{background:#f1f3f6;color:#8b95a5}.modal-backdrop{position:fixed;inset:0;background:rgba(13,25,44,.48);z-index:50;display:flex;align-items:center;justify-content:center;padding:18px}.account-modal{width:min(520px,100%);background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(15,30,55,.22);padding:24px}.account-modal h2{font-size:17px;color:#1e2c42;margin:0 0 6px}.account-modal .modal-subtitle{font-size:10px;color:#929cad;margin:0 0 20px}.account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.account-form-field{display:flex;flex-direction:column;gap:6px}.account-form-field.full{grid-column:1/-1}.account-form-field label{font-size:10px;color:#58667a;font-weight:600}.account-form-field input,.account-form-field select{height:38px;border:1px solid #e2e8f0;border-radius:7px;padding:0 10px;font:inherit;font-size:11px;color:#344158;background:#fff;min-width:0}.account-form-field input:focus,.account-form-field select:focus{outline:2px solid #dce8ff;border-color:#3978ef}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.secondary-btn{border:1px solid #e2e8f0;background:#fff;color:#64748b;border-radius:7px;padding:9px 14px;font:inherit;font-size:10px;cursor:pointer}.account-modal .primary-btn{padding:9px 15px;font-size:10px}.table-bottom .record-summary{font-size:8px;color:#929cad}
@media(max-width:600px){.account-form-grid{grid-template-columns:1fr}.account-form-field.full{grid-column:auto}.account-modal{padding:18px}.account-actions{gap:4px}.row-action{padding:5px 6px}}

/* v4 modal layout correction */
.modal-backdrop{overflow-y:auto;align-items:center}
.account-modal{max-height:calc(100vh - 36px);overflow-y:auto;overscroll-behavior:contain;width:min(560px,100%)}
.account-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.account-modal-header h2{margin:0 0 6px}
.account-modal .modal-subtitle{margin:0}
.modal-close{flex:0 0 28px;width:28px;height:28px;border:0;border-radius:7px;background:#f3f6fa;color:#64748b;font-size:20px;line-height:1;cursor:pointer}
.account-modal form{display:block}
.account-modal .account-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 13px}
.account-modal .account-form-field{min-width:0}
.account-modal .account-form-field.full{grid-column:1/-1}
.account-modal .modal-actions{position:sticky;bottom:-1px;background:#fff;padding-top:14px;margin-top:18px;border-top:1px solid #edf0f5}
@media(max-width:600px){.modal-backdrop{align-items:flex-start;padding:12px}.account-modal{max-height:calc(100vh - 24px);padding:18px}.account-modal .account-form-grid{grid-template-columns:1fr}.account-modal .account-form-field.full{grid-column:auto}}

/* v5 journal entry workflow */
.journal-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px 0}
.journal-tools .search-field{max-width:360px}
.journal-empty{text-align:center!important;padding:28px!important;color:#929cad!important}
.entry-modal{width:min(620px,100%)}
.entry-balance-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px 14px;border:1px solid #e5edf9;border-radius:8px;background:#f7faff;color:#3978ef;font-size:10px}
.entry-balance-note b{font-size:9px;font-weight:500;color:#8290a5;text-align:right}
.entry-actions{flex-wrap:wrap}
.entry-actions .outline-btn{font-family:inherit;font-size:10px;cursor:pointer}
.entry-actions .primary-btn{padding:9px 15px;font-size:10px}
@media(max-width:600px){.journal-tools{padding:13px 14px 0;align-items:stretch;flex-direction:column}.journal-tools .search-field{max-width:none;width:100%}.entry-balance-note{align-items:flex-start;flex-direction:column}.entry-balance-note b{text-align:left}.entry-actions>*{flex:1 1 auto}}


/* v6 general ledger */
.ledger-filters{display:flex;align-items:flex-end;gap:12px;padding:16px 20px;border-bottom:1px solid #edf0f5;flex-wrap:wrap}.ledger-field{display:flex;flex-direction:column;gap:6px;min-width:170px;flex:1}.ledger-field span{font-size:9px;color:#7d899b;font-weight:600}.ledger-field select,.ledger-field input{height:35px;border:1px solid #e5eaf1;border-radius:7px;background:#fff;padding:0 10px;color:#344158;font:inherit;font-size:10px;min-width:0}.ledger-filters .primary-btn{height:35px;align-self:flex-end}.ledger-account-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 8px}.ledger-account-heading>div{display:flex;flex-direction:column;gap:4px}.ledger-account-heading b{font-size:12px;color:#26364d}.ledger-account-heading span,.ledger-account-heading>small{font-size:9px;color:#929cad}.ledger-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:10px 20px 16px}.ledger-summary>div{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #edf0f5;border-radius:8px;min-width:0}.ledger-summary span{font-size:9px;color:#929cad}.ledger-summary b{font-size:12px;color:#344158;overflow-wrap:anywhere}.ledger-table{min-width:900px}.ledger-table .ledger-opening td,.ledger-table .ledger-closing td{background:#f7f9fc;font-weight:600}.ledger-table .ledger-closing td{border-top:1px solid #e3e9f2}.ledger-footnote{padding:12px 20px 16px;color:#929cad;font-size:9px}.balance-negative{color:#c45a5a;font-size:8px}
@media(max-width:760px){.ledger-filters{padding:13px 14px}.ledger-field{min-width:calc(50% - 8px)}.ledger-filters .primary-btn{width:100%}.ledger-account-heading{padding:14px}.ledger-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 14px 14px}.ledger-footnote{padding:10px 14px}}


.trial-filters{display:grid;grid-template-columns:1fr 1fr minmax(180px,1.3fr) auto;gap:12px;align-items:end;padding:18px 20px 0}.trial-filters .ledger-field,.trial-search{display:flex;flex-direction:column;gap:6px;font-size:9px;color:#7f8b9d}.trial-filters input{height:35px;width:100%;min-width:0;border:1px solid #e8edf4;border-radius:7px;padding:0 10px;background:#fff;color:#344158;font:10px inherit;font-family:inherit}.trial-search input::placeholder{color:#aab3c0}.trial-summary .unbalanced{font-size:10px;color:#c47b25}.trial-opening-note{margin:0 20px 14px;padding:10px 12px;border-radius:7px;font-size:9px;line-height:1.6}.trial-opening-note.balanced-note{background:#effaf6;color:#16845f}.trial-opening-note.warning-note{background:#fff8eb;color:#9b681c}.trial-table{min-width:1000px}.trial-table thead tr:first-child th{text-align:center}.trial-table thead .group-head{background:#f8fafd;color:#78869a}.trial-table tfoot th{padding:13px 10px;background:#f5f8fc;border-top:1px solid #e8edf4;color:#344158;font-size:9px;text-align:right}.trial-table tfoot th:first-child{text-align:left}.trial-table td.amount,.trial-table th.amount{white-space:nowrap}
@media(max-width:760px){.trial-filters{grid-template-columns:1fr 1fr;padding:14px}.trial-filters .trial-search{grid-column:1/-1}.trial-filters .primary-btn{width:100%}.trial-opening-note{margin:0 14px 12px}.trial-summary{grid-template-columns:1fr;margin:14px}}

/* GRONOS Accounting — polished professional visual refresh */
:root{
  --bg:#e9edf3;
  --line:#dfe5ee;
  --text:#1d293b;
}
body{background:linear-gradient(135deg,#e8edf4 0%,#eef1f6 48%,#e5eaf1 100%);font-size:14px;color:#1d293b}
.main{background:transparent}
.topbar{background:linear-gradient(180deg,#ffffff 0%,#f9fbfe 100%);border-bottom:1px solid #dce3ed;box-shadow:0 3px 14px rgba(25,43,70,.045)}
.content{padding-top:36px}
.welcome-row{margin-bottom:27px}
.eyebrow{font-size:11px;letter-spacing:1.35px;color:#77859a}
.welcome-row h1{font-size:29px;letter-spacing:-.8px;color:#17243a}
.welcome-row p,.panel-heading p{font-size:13px;line-height:1.65;color:#69778c}
.primary-btn{font-size:13px;padding:13px 18px;border-radius:9px;background:linear-gradient(135deg,#4388ff 0%,#326ce0 100%);box-shadow:0 5px 14px rgba(48,108,224,.24),inset 0 1px 0 rgba(255,255,255,.28)}
.primary-btn:hover{filter:brightness(1.04);box-shadow:0 7px 18px rgba(48,108,224,.29),inset 0 1px 0 rgba(255,255,255,.32)}
.stat-card,.panel{background:linear-gradient(145deg,#fff 0%,#fbfcfe 72%,#f6f8fb 100%);border:1px solid #dfe5ee;border-radius:13px;box-shadow:0 7px 22px rgba(27,43,67,.065),inset 0 1px 0 rgba(255,255,255,.98)}
.stat-card{padding:19px 20px 17px}
.stat-top{font-size:12px;color:#65748a}
.stat-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.stat-value{font-size:26px;color:#17263d}
.stat-value small{font-size:14px}
.stat-foot{font-size:10px;color:#7c899b;line-height:1.5}
.panel-heading h2,.table-intro h2,.section-title,.dashboard-card h2{font-size:17px;color:#1d2b40}
.panel-heading p,.table-intro p{font-size:12px;line-height:1.65;color:#748197}
.accounting-stats .stat-card{box-shadow:0 7px 22px rgba(27,43,67,.065),inset 0 1px 0 #fff}
.accounting-toolbar,.journal-tools,.ledger-filters,.trial-filters{background:linear-gradient(180deg,#fff 0%,#fafbfd 100%)}
.accounting-tabs{border-bottom-color:#e1e6ee}
.accounting-tab{font-size:12px;color:#64738a;padding-bottom:13px}
.accounting-tab[aria-selected="true"]{color:#285fca}
.search-field input,.ledger-field select,.ledger-field input,.trial-filters input{font-size:12px;color:#26364d;background:#fff;border-color:#d7e0eb;box-shadow:inset 0 1px 2px rgba(28,45,70,.035)}
.ledger-field span,.trial-filters .ledger-field,.trial-search{font-size:11px;color:#64738a}
.table-intro{padding-top:20px}
.table-intro h2{font-size:17px}
.table-intro p{font-size:12px}
.record-count{font-size:11px}
.module-table{font-size:12px}
.module-table thead th{font-size:10px;letter-spacing:.35px;color:#65748a;background:#f1f4f8}
.module-table tbody td{font-size:12px;color:#344258}
.module-table tbody tr:hover td{background:#f5f8fc}
.module-table tfoot th{font-size:11px}
.status{font-size:10px}
.row-action{font-size:11px;padding:6px 9px}
.table-bottom .record-summary{font-size:10px}
.ledger-account-heading b{font-size:14px}
.ledger-account-heading span,.ledger-account-heading>small{font-size:11px}
.ledger-summary span{font-size:11px;color:#718097}
.ledger-summary b{font-size:14px}
.ledger-footnote{font-size:11px;line-height:1.6;color:#718097}
.trial-summary span{font-size:11px;color:#718097}
.trial-summary b{font-size:16px}
.trial-summary .balanced{font-size:12px}
.trial-opening-note{font-size:11px;line-height:1.7}
.trial-table tfoot th{font-size:11px}
.empty-state b{font-size:14px}
.empty-state p{font-size:12px;line-height:1.7}
.outline-btn,.secondary-btn{font-size:12px}
.account-modal{background:linear-gradient(145deg,#fff 0%,#fbfcfe 100%);border:1px solid #e0e6ef;box-shadow:0 24px 70px rgba(13,25,44,.25),inset 0 1px 0 #fff}
.account-modal h2{font-size:19px}
.account-modal .modal-subtitle{font-size:12px;line-height:1.6}
.account-form-field label{font-size:12px}
.account-form-field input,.account-form-field select{font-size:13px;height:41px}
.account-modal .primary-btn,.account-modal .secondary-btn{font-size:12px}
.entry-balance-note{font-size:12px;background:linear-gradient(135deg,#f5f9ff,#edf4ff);border-color:#dce8fa}
.entry-balance-note b{font-size:11px}
.footer{font-size:10px;color:#7c899b}
.demo-tag{font-size:11px}
.breadcrumbs{font-size:12px}
.nav-label{font-size:10px}
.nav-item{font-size:12px}
.workspace b{font-size:11px}
.workspace small{font-size:10px}
.help-card b{font-size:11px}
.help-card small,.help-card a{font-size:10px}
.user-mini b{font-size:10px}
.user-mini small{font-size:9px}
@media(max-width:760px){
  .content{padding:22px 16px 18px}
  .welcome-row h1{font-size:25px}
  .welcome-row p,.panel-heading p{font-size:12px}
  .stat-value{font-size:23px}
  .table-intro h2{font-size:16px}
  .module-table tbody td{font-size:11px}
}
