/* Mesob financial workspace: the sign-in identity, adapted for working with data. */
body.erp{color-scheme:light}
body.erp.dark{color-scheme:dark}
body.erp{--bg:#f5f4ef;--surface:#fff;--surface-2:#f7f7f1;--surface-3:#eef1e8;--line:#dfe5da;--line-strong:#bccabd;--ink:#193d30;--ink-2:#405e4d;--muted:#627367;--faint:#86978b;--brand:#124d38;--brand-2:#0a3928;--brand-soft:#e8f1e8;--brand-ink:#124d38;--gold:#b48a37;--gold-soft:#fbf2db;--nav:#0d3d2f;--nav-ink:#d0e1d5;--nav-active:#225740;--top:#fff;--top-ink:#204736;--top-h:76px;--nav-w:268px;--row-h:47px;--radius:10px;--shadow:0 2px 7px #203b2510;--shadow-lg:0 16px 48px #102a2525;font-size:16px;line-height:1.6}
body.erp.comfortable{--row-h:58px}
body.erp.dark{--bg:#10271f;--surface:#16352a;--surface-2:#1c3c2f;--surface-3:#244635;--line:#355342;--line-strong:#557360;--ink:#ecf3e9;--ink-2:#c6d9cb;--muted:#adc2b1;--faint:#7f9c89;--brand:#8ed2a9;--brand-2:#67ba8c;--brand-soft:#274f39;--brand-ink:#bce7cb;--gold:#e4c57e;--gold-soft:#4b4026;--nav:#092d22;--top:#123326;--top-ink:#e1efdf}
.erp-app{grid-template-rows:var(--top-h) minmax(0,1fr)}
.erp-main{scrollbar-color:#bdcbbd transparent;scrollbar-width:thin}
.erp-topbar{background:var(--top);color:var(--top-ink);box-shadow:none;border-bottom:1px solid var(--line);gap:15px;padding:0 24px 0 14px}
.erp-topbar .brand{min-width:226px;padding:0;color:var(--ink);gap:11px}
.erp-topbar .brand:hover{color:var(--brand)}
.erp-topbar .brand b{font-size:19px;font-weight:750;letter-spacing:-.7px;color:var(--ink);line-height:1.2}
.erp-topbar .brand b em{font-style:normal;font-weight:450}
.erp-topbar .brand small{color:var(--muted);font-size:9px;letter-spacing:2px;line-height:1.6;margin-top:4px;font-weight:600}
.erp-brand-logo{width:48px;height:42px;position:relative;overflow:hidden;flex:none;background:#fff;border:1px solid #edf0e6;border-radius:8px}
.erp-brand-logo img{position:absolute;max-width:none;width:104px;height:auto;left:-28px;top:-10px}
.erp-topbar .top-sep{background:var(--line);height:29px}
.erp-topbar .top-module{color:var(--muted);font-size:13px;font-weight:600}
.erp-topbar .top-search{min-width:150px;max-width:430px;height:42px;padding:0 13px;gap:10px;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);border-radius:8px}
.erp-topbar .top-search:hover{border-color:var(--line-strong);background:var(--surface-3)}
.erp-topbar .top-search span{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.erp-topbar .top-search kbd{color:var(--muted);background:var(--surface);border:1px solid var(--line);font-size:11px}
.erp-topbar .top-right{gap:8px}
.erp-topbar .top-chip{color:var(--muted);font-size:11px;font-weight:500;gap:7px;padding:0 9px}
.erp-topbar .top-chip.entity{background:var(--surface-2);border:1px solid var(--line);border-radius:6px;color:var(--brand);font-size:10px}
.erp-topbar .top-btn{width:38px;height:38px;color:var(--ink-2);border-radius:8px}
.erp-topbar .top-btn:hover{background:var(--surface-3);color:var(--brand)}
.erp-topbar .top-btn .count{background:#d9bb71;color:#153b2a;top:-1px;right:-2px;font-size:10px}
.erp-topbar .user-chip{color:var(--ink);border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;padding-left:15px;height:40px;gap:9px}
.erp-topbar .user-chip .avatar{background:var(--gold-soft);color:#6f541d;border:1px solid #e6d5aa;width:35px;height:35px;font-size:12px}
.erp-topbar .user-chip b{font-size:12px;line-height:1.4;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.erp-topbar .user-chip small{color:var(--muted);font-size:10px}
.erp-navigator{background:var(--nav);border-right:1px solid #143f2f;scrollbar-color:#496c53 transparent;scrollbar-width:thin}
.nav-top{padding:23px 17px 15px 22px;font-size:10px;letter-spacing:2.2px;font-weight:600;color:#c1d3c4}
.nav-toggle{color:#b2c8b9;width:30px;height:30px}
.nav-module{border-top:1px solid #c7d8c413;margin:0 10px}
.nav-module summary{min-height:49px;padding:12px 12px;gap:12px;font-size:14px;font-weight:600;line-height:1.5;color:#d8e6d9;border-radius:6px}
.nav-module summary>.ic:first-child{color:#a8c1ad;width:18px;height:18px}
.nav-module.active>summary{color:#f1e0ad;background:transparent}
.nav-module.active>summary>.ic:first-child{color:#e0c47c}
.nav-module summary:hover{background:#ffffff09;color:#fff}
.nav-items{padding:0 0 12px}
.nav-item{min-height:40px;padding:9px 12px 9px 43px;border-left:3px solid transparent;border-radius:6px;font-size:13.5px;line-height:1.6;color:#b9cfbf;gap:8px}
.nav-item:hover{background:#ffffff0b;color:#fff}
.nav-item.active,.nav-item.active:hover{background:#e5eddf;color:#143f2d;border-left-color:#d7b65c;font-weight:650}
.nav-item .cnt{font-size:10px;background:#ffffff15;color:inherit;min-width:20px;padding:2px 5px}
.nav-item.active .cnt{background:#ceddca;color:#234e36}
.nav-foot{color:#bdd0bd;font-size:10px;line-height:1.8;padding:20px 22px;border-top:1px solid #ffffff12}
.erp-app.nav-collapsed{--nav-w:68px}
.nav-collapsed .nav-module{margin:0 7px}
.nav-collapsed .nav-module summary{padding:12px 0;min-height:52px}
.erp .crumbs{padding:23px 30px 0;font-size:12px;color:var(--muted);gap:9px}
.erp .crumbs a{color:var(--muted)}
.erp .page-head{padding:12px 30px 26px;gap:20px;align-items:center}
.erp .page-head h1{font-size:32px;line-height:1.25;letter-spacing:-1px;font-weight:650;color:var(--ink)}
.erp .page-head .sub{font-size:14px;line-height:1.7;margin-top:9px;max-width:880px;color:var(--muted)}
.erp .body{padding:0 30px}
.erp .actionbar{gap:9px;flex-wrap:wrap}
.erp .cmdbar{padding:13px 30px;background:var(--surface);gap:9px;box-shadow:none}
.erp .btn{min-height:41px;height:auto;padding:10px 15px;line-height:1.35;font-size:13px;font-weight:600;border-radius:7px;border-color:var(--line-strong);color:var(--ink-2);background:var(--surface);gap:8px}
.erp .btn:hover{background:var(--surface-2);border-color:#95ad97;color:var(--brand)}
.erp .btn.primary{color:#fff;background:#124d38;border-color:#124d38;box-shadow:0 2px 3px #17432b0d}
.erp .btn.primary:hover{background:#093d29;border-color:#093d29;color:#fff}
.erp.dark .btn.primary{background:#2c7050;border-color:#488b68}
.erp .btn.ghost{background:transparent;border-color:transparent}
.erp .btn.ghost:hover{background:var(--surface-3);border-color:transparent}
.erp .btn.danger{color:var(--bad);border-color:#dbb7aa}
.erp .btn.sm{min-height:33px;padding:7px 10px;font-size:12px}
.erp .btn.xs{min-height:29px;padding:5px 9px;font-size:11px}
.erp .btn.on{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-ink)}
.erp .btn-group .btn{border-radius:0}.erp .btn-group .btn:first-child{border-radius:7px 0 0 7px}.erp .btn-group .btn:last-child{border-radius:0 7px 7px 0}
.erp .tiles{gap:16px;margin-bottom:24px;grid-template-columns:repeat(auto-fit,minmax(195px,1fr))}
.erp .tile{padding:21px 20px;min-height:151px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);gap:10px}
.erp a.tile:hover{border-color:#7e9e82;box-shadow:0 5px 15px #193c2610}
.erp .tile-top{align-items:flex-start;gap:12px}
.erp .tile-label{font-size:12px;line-height:1.55;font-weight:600;letter-spacing:.1px;text-transform:none;color:var(--muted)}
.erp .tile-ic{color:#79947d}.erp .tile-ic .ic{width:19px;height:19px}
.erp .tile-value{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.85px;color:var(--ink)}
.erp .tile-value.tone-ok{color:var(--ok)}.erp .tile-value.tone-bad{color:var(--bad)}.erp .tile-value.tone-warn{color:var(--warn)}
.erp .tile-value small{font-size:10px;letter-spacing:1px;font-weight:600;margin-top:5px;color:var(--muted)}
.erp .tile-sub{font-size:12px;line-height:1.5}
.erp :is(.cols-21,.cols-12,.cols-2,.cols-3){gap:22px}
.erp .cols-21{grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr)}
.erp .card{border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);background:var(--surface)}
.erp .card-head{padding:19px 21px;min-height:65px;gap:16px;border-bottom:1px solid var(--line)}
.erp .card-head h3{font-size:16px;line-height:1.5;font-weight:650;letter-spacing:-.25px;color:var(--ink)}
.erp .card-head .meta{font-size:12px;color:var(--muted)}
.erp .card-body{padding:21px}.erp .card-body.flush{padding:0}
.erp .card-foot{padding:15px 21px;font-size:12px;gap:12px;background:var(--surface-2);border-top:1px solid var(--line);border-radius:0 0 10px 10px}
.erp .card-foot a{font-weight:600}
.erp .section-head h2{font-size:20px;font-weight:650}
.erp .grid{font-size:15px;font-variant-numeric:tabular-nums;line-height:1.5}
.erp .grid th{height:47px;padding:11px 17px;background:var(--surface-2);color:var(--ink-2);font-size:12px;font-weight:650;letter-spacing:.1px;border-bottom:1px solid var(--line-strong)}
.erp .grid th button{min-height:25px;gap:7px;line-height:1.4}
.erp .grid td{padding:10px 17px;height:var(--row-h);border-bottom-color:var(--line);line-height:1.5}
.erp .grid td a:not(.btn){font-weight:550}
.erp .grid td .id,.erp .grid td code{font-size:12px;color:var(--muted)}
.erp .grid tbody tr:nth-child(even):not(.selected) td{background:color-mix(in srgb,var(--surface-2) 45%,var(--surface))}
.erp .grid tbody tr:hover td{background:var(--brand-soft)!important}
.erp .grid tbody tr.selected td{background:var(--brand-soft)}
.erp .grid tfoot td{padding:12px 17px;font-size:13px;background:var(--surface-2)}
.erp .grid .sel{padding:0 10px;width:38px}
.erp .grid input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand)}
.erp .grid td.wrap{min-width:240px;max-width:420px}
.erp .grid td[data-column=reference] .txt{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.erp .grid td:is([data-column=circle_name],[data-column=equb_name]){min-width:210px;max-width:250px;white-space:normal}
.erp .grid td[data-column=member_name]{min-width:140px}
.erp .grid .row-actions{gap:7px;align-items:center}
.erp .grid-wrap{scrollbar-color:#b8c8b8 var(--surface-2);scrollbar-width:thin;outline-offset:-3px}
.erp .register>.grid-wrap{max-height:65vh;border-bottom:0}
.erp .register{overflow:hidden}
.erp .register-filters{background:var(--surface-2);border-bottom:1px solid var(--line);padding:18px 21px}
.erp .register-filters .toolbar{background:transparent;padding:0;border:0;gap:15px;align-items:flex-end}
.erp .toolbar .filter-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;flex:1 1 155px;min-width:130px;max-width:260px;color:var(--ink-2);font-size:12px;font-weight:600}
.erp .toolbar .filter-field.filter-search{flex:2 1 240px;max-width:380px}
.erp .toolbar .search{height:43px;min-height:43px;min-width:0;width:100%;max-width:none;padding:0 12px;gap:9px;font-size:14px;border-radius:7px;border:1px solid var(--line-strong);background:var(--surface)}
.erp .toolbar .search:focus-within{outline:3px solid #b28c3240;outline-offset:1px;border-color:var(--brand)}
.erp .toolbar .search input{font-size:14px;font-weight:400;min-height:38px}
.erp .toolbar select,.erp .toolbar input[type=date],.erp .toolbar input[type=number]{height:43px;max-width:none;width:100%;font-size:14px;font-weight:400;padding:0 11px;border:1px solid var(--line-strong);border-radius:7px;background:var(--surface);color:var(--ink)}
.erp .filter-tools{display:flex;align-items:flex-end;gap:8px;min-height:43px}
.erp .filter-tools .btn{min-height:43px}
.erp .register-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding:14px 21px;border-bottom:1px solid var(--line);background:var(--surface)}
.erp .register-tools .spacer{flex:1}
.erp .register-tools{justify-content:space-between}
.erp .register-heading{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--ink)}
.erp .register-heading>.ic{color:var(--muted)}
.erp .register-tools-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.erp .toolbar.register-filters{padding:18px 21px;gap:15px;align-items:flex-end;background:var(--surface-2)}
.erp .filter-search>label{font-size:12px;font-weight:600;color:var(--ink-2)}
.erp .search-submit{display:grid;place-items:center;flex:none;width:29px;height:29px;border:0;border-radius:5px;background:var(--brand-soft);color:var(--brand);cursor:pointer}
.erp .search-submit:hover{background:var(--brand);color:var(--surface)}
.erp .filter-summary{font-size:12px;font-weight:600;color:var(--muted);margin-right:auto}
.erp .chips{background:var(--surface-2);padding:11px 21px;gap:8px;border-bottom:1px solid var(--line)}
.erp .chips[hidden]{display:none}
.erp .chip{min-height:30px;height:auto;font-size:12px;line-height:1.5;border-radius:6px;padding:3px 5px 3px 10px;background:var(--surface);border-color:var(--line-strong);color:var(--ink-2);gap:7px}
.erp .chip button{width:23px;height:23px;border-radius:4px}
.erp .statusbar{padding:16px 21px;gap:12px;font-size:12px;background:var(--surface);border-top:1px solid var(--line)}
.erp .statusbar select{height:35px;padding:0 8px;border-color:var(--line-strong);border-radius:6px}
.erp .pagination-controls{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap}
.erp .register-count{font-size:12px;color:var(--muted)}
.erp .empty-row{padding:36px 20px;color:var(--muted);font-size:14px;line-height:1.7}
.erp .pill{min-height:27px;height:auto;padding:4px 9px;border-radius:5px;font-size:11px;line-height:1.5;font-weight:600;gap:6px}
.erp .queue li{padding:16px 20px;gap:13px;min-height:66px}
.erp .queue .q-title{font-size:14px;font-weight:600;line-height:1.5}
.erp .queue .q-sub{font-size:12px;line-height:1.7;margin-top:4px}
.erp .queue .q-ic{width:35px;height:35px;border-radius:8px;background:var(--surface-2);color:var(--brand)}
.erp .queue .q-ic.warn{background:var(--warn-soft);color:var(--warn)}.erp .queue .q-ic.bad{background:var(--bad-soft);color:var(--bad)}.erp .queue .q-ic.ok{background:var(--ok-soft);color:var(--ok)}
.erp .queue .q-count{font-size:20px;font-weight:650}.erp .queue .q-amt{font-size:14px;font-weight:600}
.erp .quick{gap:10px}.erp .quick .btn{min-height:46px;font-size:13px;padding:12px 14px;text-align:left;line-height:1.5;white-space:normal}
.erp .timeline .t-time{font-size:12px;line-height:1.6}.erp .timeline .t-title{font-size:14px;font-weight:550;margin-top:4px}
.erp .cash-summary{gap:24px;padding-bottom:20px}.erp .cash-summary span{font-size:12px;gap:8px}.erp .cash-summary b{font-size:26px;color:var(--ink)}
.erp .cash-summary>span:last-child b{font-size:13px;line-height:1.6;font-weight:550}
.erp .chart-source summary,.erp .chart details summary{font-size:13px}
.erp .legend{font-size:12px}.erp .chart .axis{font-size:12px}
.erp .empty-chart{padding:28px 20px;background:var(--surface-2);border:1px dashed var(--line-strong);border-radius:8px;font-size:14px;color:var(--muted);line-height:1.6}
.erp .input,.erp .select,.erp .textarea{font-size:15px;border-color:var(--line-strong);border-radius:7px;height:44px;padding-left:12px;padding-right:12px}
.erp .textarea{height:auto;min-height:110px;padding-top:10px;padding-bottom:10px}
.erp .field>span{font-size:13px;line-height:1.5;color:var(--ink-2)}
.erp .form-grid{gap:19px}.erp .form-help{font-size:12px!important;line-height:1.7}.erp .form-error{font-size:14px}
.erp .facts,.erp .tabs{margin-left:30px;margin-right:30px}.erp .fact dd{font-size:20px}.erp .fact dt,.erp .kv dt{font-size:12px}.erp .kv dd{font-size:15px}
.erp .tabs{gap:7px}.erp .tab{font-size:14px;min-height:46px}
.erp .modal{border-radius:11px;border:1px solid var(--line)}.erp .modal-head{padding:23px 25px}.erp .modal-head h2{font-size:24px;color:var(--ink)}.erp .modal-head p{font-size:14px;line-height:1.7}.erp .modal-body{padding:25px}.erp .modal-foot{padding:18px 25px}
.erp .pop{border-radius:9px;padding:8px;box-shadow:var(--shadow-lg)}.erp .pop label,.erp .pop .pop-item{padding:11px 12px;font-size:14px}.erp .pop .pop-head{font-size:11px;padding:10px 12px}
.erp .note,.erp .callout{font-size:14px;line-height:1.7;border-radius:8px}
.erp .pal-item .pi-title{font-size:14px}.erp .pal-item .pi-sub{font-size:12px}
.erp :is(.recon-filter-grid,.desk-filters) .field>span{font-size:13px}
.erp .recon-line{padding:18px 20px}.erp .recon-line b{font-size:15px}.erp .recon-line p{font-size:13px}.erp .recon-line strong{font-size:21px}
@media(min-width:901px) and (max-width:1500px){.erp-topbar .top-chip.date{display:none}.erp-topbar .top-module,.erp-topbar .top-sep{display:none}.erp-topbar .brand{min-width:226px}.erp-topbar .top-search{max-width:340px}.erp-topbar .user-chip>span:not(.avatar){display:none}.erp-topbar .user-chip>.ic{display:none}.erp .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1250px){body.erp{--nav-w:244px}.erp .cols-21,.erp .cols-12{grid-template-columns:minmax(0,1fr)}.erp .page-head{align-items:flex-start;flex-direction:column}.erp .page-head,.erp .crumbs,.erp .body,.erp .cmdbar{padding-left:24px;padding-right:24px}.erp .facts,.erp .tabs{margin-left:24px;margin-right:24px}.erp-topbar .top-chip.entity{display:none}.erp .nav-module summary{font-size:13px}}
@media(max-width:900px){body.erp{--top-h:68px}.erp-topbar{padding:0 14px;gap:10px}.erp-topbar .brand{min-width:0}.erp-topbar .brand b{display:block;font-size:17px}.erp-topbar .brand small{display:block;font-size:8px}.erp-topbar .top-search{min-width:38px;max-width:38px;width:38px;flex:0 0 38px;padding:0;border:0;background:transparent;color:var(--ink-2)}.erp-topbar .top-search span,.erp-topbar .top-search kbd{display:none}.erp-topbar .user-chip{padding:0 0 0 7px}.erp-topbar .top-right{gap:3px}.erp .cols-2,.erp .cols-3{grid-template-columns:minmax(0,1fr)}.erp .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.erp-app.nav-collapsed .nav-module{margin:0 10px}.erp-app.nav-collapsed .nav-module summary{padding:12px}.erp .nav-module summary{font-size:14px}.erp .page-head h1{font-size:30px}.erp .toolbar .filter-field{max-width:none}.erp .toolbar .filter-field.filter-search{max-width:none;flex-basis:100%}.erp .toolbar .search{min-width:0}}
@media(max-width:600px){body.erp{--top-h:64px;font-size:15px;--row-h:49px}body.erp.comfortable{--row-h:58px}.erp-topbar{padding:0 9px;gap:7px}.erp-topbar .brand{gap:8px}.erp-topbar .brand b{font-size:14px}.erp-topbar .brand small{font-size:7px;letter-spacing:1.5px}.erp-brand-logo{width:34px;height:33px}.erp-brand-logo img{width:80px;left:-22px;top:-7px}.erp-topbar .top-btn{width:31px;height:36px}.erp-topbar .top-right{gap:0}.erp-topbar .top-search{min-width:30px;max-width:30px;width:30px;flex-basis:30px}.erp-topbar .user-chip{border:0;padding:0}.erp-topbar .user-chip .avatar{width:29px;height:29px;font-size:10px}.erp .page-head,.erp .body,.erp .crumbs,.erp .cmdbar{padding-left:17px;padding-right:17px}.erp .crumbs{padding-top:19px;font-size:11px}.erp .page-head{padding-top:10px;padding-bottom:23px;gap:16px}.erp .page-head h1{font-size:28px}.erp .page-head .sub{font-size:13px}.erp .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:19px}.erp .tile{padding:16px 14px;min-height:143px;gap:9px}.erp .tile-label{font-size:12px;line-height:1.5}.erp .tile-ic{display:none}.erp .tile-value{font-size:26px}.erp .tile-value small{font-size:10px}.erp .tile-sub{font-size:11px}.erp .card-head{padding:16px;gap:12px;flex-wrap:wrap}.erp .card-head h3{font-size:16px}.erp .card-body{padding:16px}.erp .card-body.flush{padding:0}.erp .card-foot{padding:13px 16px}.erp .queue li{padding:15px 16px;gap:10px}.erp .queue .q-title{font-size:13px}.erp .queue .q-sub{font-size:12px}.erp .queue .q-amt{font-size:13px}.erp .quick .btn{font-size:13px}.erp .register-filters{padding:16px}.erp .register-filters .toolbar{gap:12px}.erp .toolbar .filter-field{flex:1 1 calc(50% - 12px);min-width:0}.erp .toolbar .filter-field.filter-search{flex-basis:100%}.erp .toolbar .search{min-width:0}.erp .toolbar input[type=date]{min-width:0;max-width:100%}.erp .toolbar select,.erp .toolbar input,.erp .input,.erp .select,.erp .textarea{font-size:16px}.erp .register-tools{padding:13px 16px;gap:8px;justify-content:flex-start}.erp .register-tools .spacer{display:none}.erp .filter-summary{flex-basis:100%;font-size:12px}.erp .filter-tools{width:100%}.erp .grid{font-size:14px}.erp .grid td,.erp .grid th{padding-left:14px;padding-right:14px}.erp .grid th{font-size:12px}.erp .chips{padding:11px 16px}.erp .statusbar{padding:14px 16px}.erp .pagination-controls{margin-left:0;gap:10px}.erp .statusbar .spacer{display:none}.erp .facts,.erp .tabs{margin-left:17px;margin-right:17px}.erp .cash-summary{gap:20px}.erp .cash-summary b{font-size:24px}.erp .modal-head,.erp .modal-body{padding:20px}.erp .modal-foot{padding:16px 20px}.erp .modal-head h2{font-size:22px}}
@media(max-width:360px){.erp-topbar .brand small{display:none}.erp-topbar .brand b{font-size:12px}.erp-topbar .top-right .top-btn[data-act=theme]{display:none}.erp .tiles{grid-template-columns:minmax(0,1fr)}.erp .toolbar .filter-field{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.erp-app *{scroll-behavior:auto;transition:none!important}}
@media print{.erp .page-head,.erp .body,.erp .crumbs{padding-left:0;padding-right:0}.erp .card,.erp .tile{box-shadow:none}.erp .grid-wrap,.erp .register>.grid-wrap{overflow:visible;max-height:none}.erp .register-filters,.erp .register-tools,.erp .statusbar{display:none}}

/* Shared detail, journal, governance and administration surfaces. */
.erp .toolbar:not(.register-filters){padding:18px 21px;gap:15px;align-items:flex-end;background:var(--surface-2)}
.erp .toolbar>label:not(.filter-field):not(.desk-filter-field){display:flex;flex-direction:column;align-items:stretch;gap:7px;flex:1 1 160px;min-width:0;max-width:380px;font-size:13px;font-weight:600;color:var(--ink-2)}
.erp .toolbar>label:not(.filter-field):not(.desk-filter-field) :is(input,select){min-width:0!important;width:100%;font-weight:400}
.erp .toolbar .btn{min-height:43px}
.erp .grid-wrap:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.erp .grid td.wrap{white-space:normal;overflow-wrap:anywhere}
.erp .grid-more{padding:14px 18px;font-size:13px;background:var(--surface-2);color:var(--muted)}
.erp .timeline .t-body{font-size:14px;line-height:1.7;overflow-wrap:anywhere;margin-top:6px}
.erp .timeline .t-body code{white-space:pre-wrap;word-break:break-word;font-size:12px}
.erp .check{font-size:14px;line-height:1.6;gap:10px}
.erp .check input{width:18px;height:18px;accent-color:var(--brand)}
.erp .je-lines{min-width:900px}
.erp .je-lines td{padding:9px 10px}
.erp .je-lines :is(.input,.select){height:43px;font-size:14px;min-width:100px}
.erp .je-total{font-size:14px;line-height:1.7}.erp .je-total b{font-size:17px}
.erp .ledger-account-description{font-size:13px;line-height:1.65;white-space:normal;max-width:450px;margin-top:5px}
.erp .months{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.erp .month{padding:17px;border-radius:9px;line-height:1.7;box-shadow:var(--shadow)}
.erp .month b{font-size:16px;margin-bottom:9px;font-weight:650}
.erp .month small{display:block;font-size:13px;margin-top:9px;line-height:1.8}
.erp .lanes{gap:17px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.erp .lane{border-radius:10px;max-height:620px}
.erp .lane-head{padding:17px;font-size:13px;letter-spacing:0;text-transform:none;color:var(--ink-2)}
.erp .lane-body{padding:10px;gap:10px}
.erp .lane-card{padding:15px;font-size:14px;line-height:1.7;border-radius:7px}
.erp .lane-card b{font-weight:650;white-space:normal;overflow-wrap:anywhere}
.erp .lane-card small{font-size:12px}
.erp .legal-step{padding:15px 4px;gap:14px}
.erp .legal-step-n{width:31px;height:31px;font-size:13px}
.erp .legal-step-title{font-size:15px;line-height:1.6}
.erp .legal-step-detail{font-size:14px;line-height:1.7}
.erp .legal-step-who{font-size:12px;line-height:1.7}
.erp .legal-clause{padding:21px;gap:14px}.erp .legal-clauses{gap:18px}
.erp .legal-clause-head h4{font-size:17px;font-weight:650;line-height:1.6}
.erp .legal-clause-head h4 code.id{font-size:11px;opacity:1;color:var(--muted)}
.erp .legal-clause-body{font-size:16px;line-height:1.85;overflow-wrap:anywhere}
.erp .legal-review-item{padding:13px 15px;font-size:14px;line-height:1.7;gap:8px}
.erp .legal-diff{gap:14px}.erp .legal-diff>div{padding:13px 15px}
.erp .legal-diff-label{font-size:12px;line-height:1.6;margin-bottom:8px}
.erp :is(.legal-blockers,.legal-confirm-list,.legal-blockers-list){font-size:14px;line-height:1.8}
.erp .legal-section-title{font-size:18px;font-weight:650;margin-top:26px}
.erp .clr-strip{gap:8px}.erp .clr-strip li{padding:7px 11px;font-size:12px;line-height:1.5;border-radius:6px}
.erp .toast{background:#123e2e;color:#f3f6ef;font-size:14px;line-height:1.7;padding:15px 19px;border-radius:9px}
.erp .toast.error{background:#572d27}.erp .toast.info{background:#203f43}
@media(max-width:600px){
 .erp .toolbar:not(.register-filters){padding:16px;gap:14px}
 .erp .toolbar>label:not(.filter-field):not(.desk-filter-field){flex-basis:100%;max-width:none}
 .erp .toolbar>label:not(.filter-field):not(.desk-filter-field) :is(input,select){font-size:16px}
 .erp .months{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .erp .month{padding:14px}.erp .month b{font-size:14px}.erp .month small{font-size:12px}
 .erp .lanes{grid-template-columns:minmax(0,1fr)}
 .erp .legal-clause{padding:17px}.erp .legal-clause-head h4{font-size:16px}
 .erp .toast{font-size:13px;max-width:calc(100vw - 32px)}
}
