:root{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:17px;color:#20242a;background:#f5f6f8;--red:#b60016;--red-dark:#8e0011;--red-soft:#fff0f2;--black:#15171b;--muted:#69717d;--line:#e2e5ea;--panel:#fff;--soft:#f8f9fb;--shadow:0 10px 28px rgba(35,38,45,.055)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#f5f6f8;color:var(--black)}a{color:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:270px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;padding:25px 18px 20px;background:linear-gradient(180deg,#17191e 0%,#202329 100%);color:white;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;padding:0 8px 24px;border-bottom:1px solid rgba(255,255,255,.18)}.brand-badge{width:54px;height:54px;min-width:54px;border-radius:50%;display:grid;place-items:center;background:#090a0c;border:4px solid #fff;box-shadow:0 0 0 3px rgba(0,0,0,.16);position:relative}.brand-badge:before,.brand-badge:after{content:"";position:absolute;background:#fff;border-radius:50%}.brand-badge:before{width:20px;height:15px;bottom:10px;left:14px}.brand-badge:after{width:7px;height:7px;bottom:14px;left:20px;background:#b60016}.bull-dot{width:10px;height:10px;border-radius:50%;background:#b60016;position:absolute;top:10px;left:10px}.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{font-size:14px;letter-spacing:.035em}.brand-copy small{font-size:12px;opacity:.82;margin-top:4px}.nav-menu{display:flex;flex-direction:column;gap:7px;padding-top:24px}.nav-menu a{min-height:50px;border-radius:12px;text-decoration:none;color:#d9dde3;display:flex;align-items:center;gap:13px;padding:10px 13px;font-weight:700;font-size:14px;border:1px solid transparent}.nav-menu a:hover{background:rgba(255,255,255,.1)}.nav-menu a.active{background:#fff;color:var(--red-dark);box-shadow:0 8px 24px rgba(60,0,10,.18)}.nav-icon{width:30px;height:30px;min-width:30px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:14px;font-weight:900}.nav-menu a.active .nav-icon{background:var(--red-soft);color:var(--red)}.sidebar-foot{margin-top:auto;border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:13px;display:flex;gap:10px;align-items:center;background:rgba(0,0,0,.08)}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:12px}.sidebar-foot small{font-size:10px;opacity:.74;margin-top:3px}.live-dot{width:9px;height:9px;min-width:9px;border-radius:50%;background:#57d68d;box-shadow:0 0 0 4px rgba(87,214,141,.15)}.main-area{min-width:0;display:flex;min-height:100vh;flex-direction:column}.topbar{height:76px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:8}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}.icon-button{width:42px;height:42px;border-radius:11px;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}.search-box{height:42px;width:min(510px,46vw);display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#f8f9fb;border-radius:11px;padding:0 12px;color:#8b929c}.search-box input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:14px;color:#252931}.period-box{text-align:right;border-right:1px solid var(--line);padding-right:15px}.period-box span,.period-box strong{display:block}.period-box span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.period-box strong{font-size:13px;margin-top:3px}.user-chip{display:flex;align-items:center;gap:9px}.user-chip>span{width:40px;height:40px;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900}.user-chip strong,.user-chip small{display:block}.user-chip strong{font-size:13px}.user-chip small{font-size:10px;color:var(--red);font-weight:800;margin-top:2px}.content{width:100%;max-width:1550px;margin:0 auto;padding:32px 34px 44px}.main-area>footer{margin-top:auto;padding:16px 34px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:11px;color:#7b828c;background:#fff}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.page-heading h1{font-size:32px;letter-spacing:-.025em;margin:4px 0 7px}.page-heading p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.eyebrow{display:block;color:var(--red);font-size:10px;font-weight:900;letter-spacing:.12em}.heading-actions{display:flex;align-items:center;gap:10px}.primary,.secondary,.quiet,.link-action{border:0;border-radius:10px;padding:11px 16px;font-weight:800;font-size:13px;cursor:pointer}.primary{background:var(--red);color:#fff}.primary:hover{background:var(--red-dark)}.secondary{background:var(--red-soft);color:var(--red-dark)}.quiet{background:#fff;border:1px solid var(--line);color:#4c535d}.button-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.hero-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.8fr);gap:20px;margin-bottom:27px}.hero-card,.status-card,.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.hero-card{padding:30px}.red-hero{background:linear-gradient(135deg,#ffffff,#f4f5f7);color:var(--black);border-color:var(--line);position:relative;overflow:hidden}.red-hero:after{content:"";position:absolute;width:300px;height:300px;border:1px solid #e4e7eb;border-radius:50%;right:-100px;top:-145px}.hero-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;opacity:.8}.red-hero h2{font-size:29px;line-height:1.2;max-width:720px;margin:12px 0 13px;letter-spacing:-.02em}.red-hero p{max-width:780px;line-height:1.6;color:var(--muted);margin:0}.hero-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.hero-badges span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.13);font-size:11px;font-weight:750}.status-card{padding:24px}.card-title,.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.card-title h2,.section-heading h2{font-size:20px;margin:4px 0 0}.section-heading{align-items:end;margin-bottom:14px}.section-heading a{font-size:12px;color:var(--red);font-weight:800;text-decoration:none}.status-good,.status-warn{margin:20px 0 15px;padding:10px 12px;border-radius:10px;font-weight:800;font-size:13px}.status-good{background:#eaf8ef;color:#1d7640}.status-warn{background:#fff5e5;color:#8b5a00}.status-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.status-metrics div{background:#f8f9fb;border-radius:11px;padding:11px}.status-metrics span,.status-metrics strong{display:block}.status-metrics span{font-size:10px;color:var(--muted)}.status-metrics strong{font-size:14px;margin-top:3px}.shortcut-section{margin-bottom:24px}.shortcut-grid{display:grid;gap:14px}.shortcut-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.shortcut-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.shortcut-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:12px;align-items:center;text-decoration:none;box-shadow:0 5px 18px rgba(35,38,45,.035);transition:.15s ease}.shortcut-card:hover{transform:translateY(-2px);border-color:#efb6bd;box-shadow:0 12px 28px rgba(104,0,14,.08)}.shortcut-icon{grid-row:1/3;width:48px;height:48px;border-radius:13px;background:var(--red-soft);display:grid;place-items:center;color:var(--red);font-size:14px;font-weight:900}.shortcut-card strong{font-size:14px}.shortcut-card small{font-size:11px;color:var(--muted);margin-top:4px}.shortcut-card.compact{padding:15px}.dashboard-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:23px;margin-bottom:20px}.menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.menu-card{min-height:138px;display:grid;grid-template-columns:55px minmax(0,1fr) 20px;gap:14px;align-items:center;padding:21px;background:#fff;border:1px solid var(--line);border-radius:17px;text-decoration:none;box-shadow:var(--shadow);position:relative;overflow:hidden;transition:.15s ease}.menu-card:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:4px;border-radius:0 5px 5px 0;background:var(--red)}.menu-card:hover{transform:translateY(-2px);border-color:#e8a9b1}.menu-icon{width:53px;height:53px;border-radius:14px;display:grid;place-items:center;background:var(--red-soft);color:var(--red);font-weight:900}.menu-copy strong,.menu-copy small{display:block}.menu-copy strong{font-size:15px;margin-bottom:6px}.menu-copy small{font-size:11px;line-height:1.5;color:var(--muted)}.menu-arrow{font-size:24px;color:#a4a9b0}.scope-note{display:flex;gap:10px;margin-top:18px;border:1px solid #f0ccd1;border-radius:12px;background:#fff7f8;padding:12px 14px;color:#6b3b41}.scope-note>span{width:24px;height:24px;min-width:24px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--red);font-weight:900}.scope-note p{margin:2px 0;font-size:11px;line-height:1.5}.feature-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.feature-main p{line-height:1.6;color:var(--muted)}.status-pill,.view-badge{padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.06em}.status-pill.work{background:#fff1df;color:#8a5200}.view-badge{background:var(--red-soft);color:var(--red)}.placeholder-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px}.placeholder-form label:last-child{grid-column:1/-1}.placeholder-form label,label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:800;color:#4a5059}.placeholder-form input,.placeholder-form textarea,.help-body input{width:100%;border:1px solid #d8dce2;border-radius:10px;background:#fafbfc;padding:11px 12px;font:inherit;font-size:13px}.placeholder-form textarea{min-height:90px}.button-row{display:flex;gap:9px;margin-top:17px}.button-row button:disabled{opacity:.5;cursor:not-allowed}.dependency-card hr{border:0;border-top:1px solid var(--line);margin:20px 0}.dependency-card h2{font-size:18px;margin:5px 0 14px}.chip-list{display:flex;flex-wrap:wrap;gap:7px}.chip-list span{background:#f5f6f8;border:1px solid #e2e5e9;border-radius:8px;padding:6px 8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.small-note,.muted{font-size:12px;line-height:1.55;color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;margin-top:16px}table{border-collapse:collapse;width:100%;min-width:760px;background:#fff}th,td{padding:12px 13px;border-bottom:1px solid #eceef1;text-align:left;font-size:12px}th{background:#f7f8fa;color:#59606a;font-size:10px;text-transform:uppercase;letter-spacing:.05em}tr:last-child td{border-bottom:0}.right{text-align:right}.code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.alert{margin:14px 0;background:#fff0f2;border:1px solid #f0c8ce;color:#7f1421;padding:11px 13px;border-radius:10px;font-size:12px}.help-root{position:fixed;right:22px;bottom:22px;z-index:50}.help-fab{min-width:165px;border:0;background:#111318;color:#fff;border-radius:16px;padding:10px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 15px 38px rgba(20,22,27,.25);cursor:pointer}.help-fab>span{width:36px;height:36px;border-radius:11px;background:var(--red);display:grid;place-items:center;font-size:17px}.help-fab strong,.help-fab small{display:block;text-align:left}.help-fab strong{font-size:12px}.help-fab small{font-size:9px;opacity:.65;margin-top:2px}.help-panel{position:absolute;right:0;bottom:66px;width:min(410px,calc(100vw - 30px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 70px rgba(25,28,33,.25);overflow:hidden}.help-panel>header{padding:17px 18px;background:#111318;color:#fff;display:flex;justify-content:space-between;align-items:center}.help-panel header strong,.help-panel header small{display:block}.help-panel header strong{font-size:14px}.help-panel header small{font-size:10px;opacity:.65;margin-top:3px}.help-panel header button{border:0;background:transparent;color:#fff;font-size:23px;cursor:pointer}.help-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}.help-tabs button{border:0;background:#fff;padding:12px;font-weight:800;font-size:11px;cursor:pointer}.help-tabs button.active{color:var(--red);box-shadow:inset 0 -3px 0 var(--red);background:#fff8f9}.help-body{padding:18px}.help-body p{font-size:12px;line-height:1.55;color:var(--muted)}.help-body .primary,.help-body .secondary{margin-top:10px}.answer{margin-top:14px;padding:12px;background:#f8f9fb;border-radius:11px;border-left:4px solid var(--red)}.answer strong{font-size:13px}.answer p{margin:5px 0 0}.link-action{padding:7px 0;background:transparent;color:var(--red)}.support-status{display:flex;align-items:center;gap:10px}.support-status strong,.support-status small{display:block}.support-status strong{font-size:13px}.support-status small{font-size:10px;color:var(--muted);margin-top:3px}.calculator{max-width:460px}.calc-display{height:70px;border:1px solid var(--line);border-radius:12px;background:#fafbfc;display:flex;align-items:center;justify-content:flex-end;padding:0 18px;font-size:26px;font-variant-numeric:tabular-nums;margin:15px 0}.calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.calc-grid button{height:50px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:15px;cursor:pointer}.calc-grid button:hover{background:var(--red-soft);color:var(--red)}.collapsed{grid-template-columns:86px minmax(0,1fr)}.collapsed .brand-copy,.collapsed .nav-menu a>span:last-child,.collapsed .sidebar-foot div{display:none}.collapsed .brand{justify-content:center;padding-inline:0}.collapsed .brand-badge{width:48px;height:48px;min-width:48px}.collapsed .nav-menu a{justify-content:center;padding-inline:6px}.collapsed .sidebar-foot{justify-content:center}
@media(max-width:1150px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shortcut-grid.four{grid-template-columns:repeat(2,1fr)}.dashboard-two-col,.hero-grid{grid-template-columns:1fr}.feature-layout{grid-template-columns:1fr}.dependency-card{order:-1}}
@media(max-width:800px){.app-shell,.collapsed{display:block}.sidebar{position:static;height:auto;padding:14px}.brand{padding-bottom:14px}.nav-menu{display:grid;grid-template-columns:repeat(2,1fr);padding-top:14px}.sidebar-foot{display:none}.collapsed .brand-copy,.collapsed .nav-menu a>span:last-child{display:block}.collapsed .nav-menu a{justify-content:flex-start}.topbar{height:auto;min-height:66px;padding:10px 14px}.period-box{display:none}.content{padding:22px 14px 90px}.page-heading{display:block}.heading-actions{margin-top:14px}.menu-grid,.shortcut-grid.three{grid-template-columns:1fr}.main-area>footer{display:none}.help-root{right:14px;bottom:14px}}
@media(max-width:520px){.nav-menu{grid-template-columns:1fr}.shortcut-grid.four{grid-template-columns:1fr}.search-box{width:58vw}.user-chip div{display:none}.red-hero h2{font-size:24px}.page-heading h1{font-size:27px}.placeholder-form{grid-template-columns:1fr}.placeholder-form label:last-child{grid-column:auto}}

/* ===== Executive neutral theme; red is identity accent only ===== */
:root{
  --red:#b20d22;
  --red-dark:#8f0b1b;
  --red-soft:#fff3f5;
  --black:#181b20;
  --muted:#69717c;
  --line:#e4e7eb;
  --panel:#ffffff;
  --soft:#f7f8fa;
  --canvas:#f3f4f6;
  --sidebar:#17191e;
  --sidebar-2:#202329;
  --shadow:0 12px 34px rgba(25,29,35,.055);
}

html,body{background:var(--canvas)}
.app-shell{grid-template-columns:280px minmax(0,1fr)}
.sidebar{background:linear-gradient(180deg,var(--sidebar),var(--sidebar-2));color:#fff;border-right:1px solid rgba(255,255,255,.06);padding:26px 18px 20px}
.brand{border-bottom:1px solid rgba(255,255,255,.09)}
.brand-badge{background:#0d0f12;border:3px solid #fff;box-shadow:none}
.brand-copy strong{font-size:14px;letter-spacing:.055em}
.brand-copy small{color:#b8bdc6;opacity:1}
.nav-menu a{color:#d9dde3;border-radius:11px;position:relative}
.nav-menu a:hover{background:rgba(255,255,255,.055);color:#fff}
.nav-menu a.active{background:rgba(255,255,255,.075);color:#fff;box-shadow:none}
.nav-menu a.active:before{content:"";position:absolute;left:-18px;top:11px;bottom:11px;width:3px;background:var(--red);border-radius:0 4px 4px 0}
.nav-icon{background:rgba(255,255,255,.07);color:#cdd2da}
.nav-menu a.active .nav-icon{background:var(--red);color:#fff}
.sidebar-foot{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08)}
.topbar{height:78px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e7e9ec}
.content{padding:36px 38px 48px}
.page-heading h1{font-size:34px;font-weight:760;letter-spacing:-.035em}
.page-heading p{max-width:840px;font-size:14px}
.primary{background:var(--black);color:#fff}
.primary:hover{background:#2b2f36}
.secondary{background:#fff;color:#343942;border:1px solid var(--line)}
.secondary:hover,.quiet:hover{border-color:#c6cbd2;background:#fafafa}
.eyebrow{color:var(--red);letter-spacing:.14em}
.hero-card,.status-card,.panel,.menu-card,.shortcut-card{box-shadow:var(--shadow)}
.executive-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#fafafb 65%,#f2f3f5 100%);color:var(--black);border-color:#dedfe3;padding:34px}
.executive-hero:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--red) 0 18%,#24272d 18% 31%,transparent 31%)}
.executive-hero:after{content:"";position:absolute;width:280px;height:280px;border:1px solid #e6e8eb;border-radius:50%;right:-80px;bottom:-170px;box-shadow:0 0 0 38px rgba(233,235,238,.45),0 0 0 76px rgba(240,241,243,.55)}
.executive-topline{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.13em;color:#626975}
.executive-topline span{width:28px;height:3px;border-radius:999px;background:var(--red)}
.executive-copy{position:relative;z-index:1;margin-top:30px;max-width:850px}
.executive-hero .hero-kicker{color:#5a6069;opacity:1}
.executive-hero h2{font-size:31px;line-height:1.18;max-width:820px;margin:10px 0 14px;letter-spacing:-.035em}
.executive-hero p{max-width:780px;line-height:1.65;color:#656c76;margin:0}
.executive-hero .hero-badges{position:relative;z-index:1}
.executive-hero .hero-badges span{background:#fff;border:1px solid #e2e4e8;color:#4e555f}
.menu-card:before{top:22px;bottom:22px;width:3px}
.menu-card:hover,.shortcut-card:hover{border-color:#cfd3d9;box-shadow:0 14px 34px rgba(29,33,40,.085)}
.menu-icon,.shortcut-icon{background:#f2f3f5;color:#343941}
.menu-card:hover .menu-icon,.shortcut-card:hover .shortcut-icon{background:var(--red-soft);color:var(--red)}
.scope-note{border-color:#e4e6e9;background:#fafafa;color:#616873}
.scope-note>span{color:var(--red)}
.view-badge{background:#f1f2f4;color:#5b616b;border:1px solid #e0e2e5}
.status-pill.ready{background:#edf7f0;color:#267442}
.feature-ready-shell{min-height:250px}
.workspace-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.safe-state{margin-top:22px;display:flex;gap:12px;align-items:flex-start;background:#f7f8fa;border:1px solid var(--line);border-radius:13px;padding:14px}
.safe-state>span{width:28px;height:28px;min-width:28px;border-radius:9px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--red);font-weight:900}
.safe-state strong,.safe-state small{display:block}.safe-state strong{font-size:13px}.safe-state small{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}
.version-card{margin-top:20px;border:1px solid var(--line);border-radius:16px;padding:20px;background:#fafafa;display:grid;gap:6px;max-width:560px}.version-card strong{font-size:18px}.version-card span{color:var(--red);font-size:12px;font-weight:800}.version-card small{color:var(--muted)}

/* Reports */
.report-panel{padding:0;overflow:hidden}
.report-toolbar{padding:24px 26px 20px;display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-bottom:1px solid var(--line)}
.report-title-block h2{font-size:23px;margin:5px 0 6px}.report-title-block p{margin:0;color:var(--muted);font-size:13px}
.report-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.report-actions button:disabled{opacity:.42;cursor:not-allowed}
.report-filter{padding:18px 26px;background:#fafbfc;border-bottom:1px solid var(--line);display:grid;grid-template-columns:190px 190px minmax(250px,1fr);gap:14px;align-items:end}
.report-filter label{font-size:11px;color:#5d646e;font-weight:800}.report-filter input{height:42px;border:1px solid #d8dce1;border-radius:10px;background:#fff;padding:0 12px;font:inherit;font-size:12px;outline:none}.report-filter input:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(30,34,40,.04)}
.snapshot-note{grid-column:1/-1;display:flex;align-items:center;gap:11px}.snapshot-note>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:var(--red);font-weight:900}.snapshot-note strong,.snapshot-note small{display:block}.snapshot-note strong{font-size:12px}.snapshot-note small{font-size:10px;color:var(--muted);margin-top:3px}
.report-meta{padding:12px 26px;display:flex;gap:18px;flex-wrap:wrap;border-bottom:1px solid var(--line);font-size:10px;color:#747b85}.report-meta b{color:#4d535c;margin-right:4px}
.report-empty{min-height:250px;display:grid;place-items:center;align-content:center;text-align:center;padding:34px;color:#747b85}.report-empty>span{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#f2f3f5;color:#616872;font-size:21px;margin-bottom:12px}.report-empty strong{color:#343941;font-size:15px}.report-empty p{font-size:11px;max-width:520px;line-height:1.6}
.report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.report-summary div{background:#fff;padding:16px 22px}.report-summary span,.report-summary strong{display:block}.report-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#7a818a}.report-summary strong{font-size:17px;margin-top:5px}
.report-table-wrap{border:0;border-radius:0;margin:0;max-height:58vh}.report-table{min-width:980px}.report-table th{position:sticky;top:0;z-index:2;background:#f5f6f8;color:#555c66}.report-table td{font-size:11px}.report-table tr:hover td{background:#fafafa}
.report-catalog{padding:25px}.report-list-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.report-list-card{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:13px;align-items:center;text-decoration:none;border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;transition:.15s ease}.report-list-card:hover{border-color:#cfd3d9;box-shadow:0 10px 25px rgba(30,34,40,.06);transform:translateY(-1px)}.report-mark{width:42px;height:42px;border-radius:11px;background:#f2f3f5;color:#353a42;display:grid;place-items:center}.report-list-card strong,.report-list-card small,.report-list-card em{display:block}.report-list-card strong{font-size:13px}.report-list-card small{font-size:10px;color:var(--muted);line-height:1.45;margin-top:4px}.report-list-card em{font-size:9px;color:#8a9098;margin-top:5px;font-style:normal}.report-list-card b{font-size:22px;color:#a5aab1}
.route-error{max-width:700px}
.help-feature{max-width:900px}

@media(max-width:1150px){.report-list-grid{grid-template-columns:1fr}.report-filter{grid-template-columns:1fr 1fr}.report-search{grid-column:1/-1}}
@media(max-width:800px){.report-toolbar{display:block}.report-actions{justify-content:flex-start;margin-top:16px}.report-filter{grid-template-columns:1fr}.report-search{grid-column:auto}.report-summary{grid-template-columns:1fr}.executive-hero h2{font-size:27px}}
@media print{
  .sidebar,.topbar,.main-area>footer,.help-root,.no-print,.page-heading .heading-actions{display:none!important}
  .app-shell{display:block}.content{max-width:none;padding:0}.page-heading{margin-bottom:14px}.panel{box-shadow:none;border:0}.report-panel{overflow:visible}.report-table-wrap{max-height:none;overflow:visible}.report-table th{position:static}.report-meta{padding-left:0;padding-right:0}.report-summary{border:1px solid #ddd}.report-summary div{padding:10px 12px}
}

/* ===== Functional workspaces ===== */
.workspace-grid{display:grid;grid-template-columns:minmax(360px,.82fr) minmax(520px,1.38fr);gap:20px;align-items:start}
.workspace-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-panel,.list-panel{min-width:0}
.form-panel{position:sticky;top:102px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:18px}
.form-grid label,.filter-row label,.lookup-bar label,.journal-head label{display:grid;gap:7px;font-size:11px;font-weight:800;color:#545b65}
.form-grid input,.form-grid select,.form-grid textarea,.filter-row input,.filter-row select,.lookup-bar input,.lookup-bar select,.journal-head input,.journal-head select,.journal-row input,.journal-row select,.help-panel input,.help-panel textarea{width:100%;min-height:43px;border:1px solid #d8dce1;border-radius:10px;background:#fff;padding:9px 11px;color:#20242a;font:inherit;font-size:12px;outline:none;transition:.15s ease}
.form-grid textarea,.help-panel textarea{min-height:92px;resize:vertical;line-height:1.5}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.filter-row input:focus,.filter-row select:focus,.lookup-bar input:focus,.lookup-bar select:focus,.journal-head input:focus,.journal-head select:focus,.journal-row input:focus,.journal-row select:focus,.help-panel input:focus,.help-panel textarea:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(27,31,37,.045)}
.span-2{grid-column:span 2}.span-3{grid-column:span 3}.wide-form{grid-template-columns:repeat(3,minmax(0,1fr))}.max-form{max-width:1100px}
.form-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:4px}
.feedback{grid-column:1/-1;padding:11px 13px;border-radius:10px;background:#edf7f0;color:#276b40;font-size:11px;font-weight:800;border:1px solid #d9ebde}
.feedback.error{background:#fff2f3;color:#9a2131;border-color:#f0d5d9}
.filter-row,.lookup-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}
.filter-row>*{min-width:150px}.lookup-bar>*{min-width:180px}.filter-row button,.lookup-bar button{min-height:43px}
.detail-card{border:1px solid var(--line);border-radius:14px;background:#fafbfc;padding:16px;margin-top:14px}.detail-card h3{margin:0 0 10px;font-size:15px}.detail-card p{font-size:12px;color:var(--muted);line-height:1.55}
.table-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:8px;min-height:31px;padding:6px 9px;font-size:10px;font-weight:800;color:#3d444d;cursor:pointer}.table-action:hover{border-color:#bbc0c7;background:#f7f8fa}
.soft-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;background:#f1f2f4;border:1px solid #e3e5e8;font-size:9px;font-weight:850;color:#5b626c}.soft-badge.warning{background:#fff7e9;color:#8b5a00;border-color:#f0dfbb}
.warning-box{display:flex;gap:12px;align-items:flex-start;border:1px solid #ead9b6;background:#fffaf0;border-radius:13px;padding:14px;color:#6d561e;margin:14px 0}.warning-box strong,.warning-box small{display:block}.warning-box small{font-size:10px;line-height:1.55;margin-top:4px;color:#7b6840}
.danger-soft{background:#fff2f3!important;color:#9b2635!important;border:1px solid #efd5d9!important}
.muted{color:var(--muted)}.right{text-align:right}.small-note{font-size:10px;color:var(--muted);line-height:1.55}

/* journal / posting */
.journal-head{display:grid;grid-template-columns:180px 180px minmax(260px,1fr);gap:12px;margin:16px 0}
.journal-lines{display:grid;gap:8px;margin-top:12px}.journal-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(180px,1fr) 145px 145px minmax(180px,1fr) 42px;gap:8px;align-items:center}.journal-row .quiet{padding:9px;min-height:43px}
.journal-total{display:grid;grid-template-columns:1fr 145px 145px minmax(180px,1fr) 42px;gap:8px;align-items:center;margin-top:10px;padding:13px 0;border-top:1px solid var(--line);font-size:12px}.journal-total strong{text-align:right}.journal-total .balance-ok{color:#277445}.journal-total .balance-bad{color:#a12636}
.posting-preview{border:1px solid var(--line);border-radius:14px;background:#fafbfc;padding:15px;margin-top:15px}.posting-preview strong{font-size:12px}.posting-preview ul{margin:10px 0 0;padding-left:19px;font-size:11px;color:#606772;line-height:1.6}

/* period / maintenance / imports */
.period-grid,.health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.period-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:15px}.period-card strong,.period-card span,.period-card small{display:block}.period-card strong{font-size:14px}.period-card span{font-size:10px;color:var(--muted);margin-top:4px}.period-card small{font-size:9px;margin-top:8px}.period-card.locked{background:#fff7f8;border-color:#ead3d7}.period-card.open{background:#f6fbf7;border-color:#dceadf}
.health-grid>div{border:1px solid var(--line);background:#fafbfc;border-radius:13px;padding:15px}.health-grid strong,.health-grid span{display:block}.health-grid strong{font-size:13px}.health-grid span{font-size:10px;color:var(--muted);margin-top:5px}
.import-drop{border:1px dashed #bcc2ca;border-radius:15px;background:#fafbfc;padding:22px;text-align:center;margin:14px 0}.import-drop input{max-width:100%}.import-drop strong,.import-drop small{display:block}.import-drop small{font-size:10px;color:var(--muted);margin-top:5px}.import-preview{margin-top:14px;border:1px solid var(--line);border-radius:13px;overflow:auto;max-height:420px}

/* templates / support */
.template-list{display:grid;gap:10px;margin-top:14px}.template-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:14px}.template-card h3{font-size:13px;margin:0 0 5px}.template-card p{font-size:10px;color:var(--muted);margin:0}.template-card ul{font-size:10px;color:#555c65;padding-left:18px;line-height:1.55}
.ticket-mini-list{display:grid;gap:8px;margin-top:13px}.ticket-mini-list>div{border:1px solid var(--line);background:#fafbfc;border-radius:11px;padding:11px}.ticket-mini-list strong,.ticket-mini-list small{display:block}.ticket-mini-list strong{font-size:11px}.ticket-mini-list small{font-size:9px;color:var(--muted);margin-top:4px;line-height:1.45}.support-status{margin-top:9px;font-size:10px;font-weight:800;color:#327348}
.statement-result{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:13px;overflow:hidden;margin:14px 0}.statement-result>div{background:#fff;padding:14px}.statement-result span,.statement-result strong{display:block}.statement-result span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.statement-result strong{font-size:17px;margin-top:5px}.statement-result>div:last-child{border-top:2px solid var(--red)}

@media(max-width:1200px){.workspace-grid{grid-template-columns:1fr}.form-panel{position:static}.wide-form{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-row{grid-template-columns:minmax(160px,1fr) 120px 120px minmax(180px,1fr) 42px}.journal-row>*:nth-child(2){display:none}.period-grid,.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.form-grid,.wide-form,.journal-head{grid-template-columns:1fr}.span-2,.span-3{grid-column:auto}.journal-row{grid-template-columns:1fr 1fr}.journal-row>*:nth-child(2){display:block}.journal-row>*:nth-child(1),.journal-row>*:nth-child(2),.journal-row>*:nth-child(5){grid-column:1/-1}.journal-total{grid-template-columns:1fr 1fr}.journal-total>*:first-child{grid-column:1/-1}.period-grid,.health-grid,.statement-result{grid-template-columns:1fr}.form-actions{align-items:stretch}.form-actions button,.form-actions a{flex:1}}

/* Brand mark reference taken from the official PDI Perjuangan website screenshot supplied by the user. */
.brand-badge:before,.brand-badge:after,.bull-dot{display:none!important}
.brand-badge{overflow:hidden;background:#fff!important;border:2px solid rgba(255,255,255,.92)!important;padding:2px}
.brand-logo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.collapsed .brand-badge{width:48px;height:48px;min-width:48px}


/* ===== MASTER DATA 004 ===== */
.master-list-panel,.master-form-card,.detail-sheet{border-color:#e1e4e8}
.master-toolbar,.master-subhead,.master-form-head,.detail-title{display:flex;align-items:center;justify-content:space-between;gap:18px}
.master-toolbar{padding-bottom:16px;border-bottom:1px solid var(--line)}
.master-toolbar h2,.master-subhead strong,.master-form-head h2,.detail-title h2{margin:0;font-size:18px;letter-spacing:-.02em}
.master-toolbar small,.master-subhead small,.master-form-head small{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.45}
.master-search{display:flex;align-items:center;gap:8px;min-width:min(440px,46vw)}
.master-search input{width:100%;min-height:42px;border:1px solid #d8dce1;border-radius:10px;background:#fff;padding:9px 12px;font:inherit;font-size:12px;outline:none}
.master-search input:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(27,31,37,.045)}
.master-table{min-width:900px}.master-table td{vertical-align:middle}.master-table tbody tr:hover{background:#fafbfc}
.master-actions{display:flex;justify-content:flex-end;gap:6px;white-space:nowrap}.master-actions .table-action{min-width:52px}
.master-form-card{max-width:1120px}.master-form-head{padding-bottom:16px;border-bottom:1px solid var(--line)}
.checkbox-field{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;min-height:43px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafbfc;align-self:end}.checkbox-field input{width:17px!important;min-height:17px!important;margin:0}.checkbox-field span{font-size:11px}
.field-help{font-size:9px;color:var(--muted);font-weight:500;line-height:1.45}
.integrity-note{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;margin-top:16px;padding:13px 15px;border:1px solid #e2e5e9;border-radius:12px;background:#fafbfc}.integrity-note strong{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#353a42}.integrity-note span{font-size:10px;line-height:1.55;color:#69717c}
.detail-sheet{max-width:1100px}.detail-title{padding-bottom:18px;border-bottom:1px solid var(--line)}.detail-title .code{display:block;color:var(--red);font-size:11px;font-weight:850;margin-bottom:5px}.detail-title h2{font-size:23px}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-top:18px;background:var(--line)}.detail-grid>div{min-height:82px;background:#fff;padding:14px 15px}.detail-grid span,.detail-grid strong{display:block}.detail-grid span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.detail-grid strong{font-size:12px;margin-top:6px;line-height:1.45}.muted-status{background:#f0f1f3!important;color:#69717c!important}.empty-state{padding:28px 18px;text-align:center;color:var(--muted);font-size:12px}
.master-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 14px}.master-tab{border:1px solid var(--line);border-radius:999px;background:#fff;color:#505760;min-height:36px;padding:7px 13px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.master-tab:hover{border-color:#c7ccd2}.master-tab.active{border-color:#2a2e35;background:#22262c;color:#fff;box-shadow:inset 3px 0 0 var(--red)}
.master-subhead{padding:14px 0 3px}.master-subhead>div{min-width:0}.master-subhead small{max-width:780px}
@media(max-width:900px){.master-toolbar,.master-subhead,.master-form-head,.detail-title{align-items:flex-start;flex-direction:column}.master-search{min-width:0;width:100%}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integrity-note{grid-template-columns:1fr}}
@media(max-width:620px){.detail-grid{grid-template-columns:1fr}.master-search{display:grid;grid-template-columns:1fr auto}}
.detail-grid .wide{grid-column:span 2}
@media(max-width:620px){.detail-grid .wide{grid-column:auto}}

/* ===== Kas & Bank workspace ===== */
.transaction-list-panel,.transaction-form-card,.cashbank-browse-panel,.voucher-sheet{border-color:#e0e3e7}
.transaction-toolbar,.transaction-form-head,.voucher-head,.voucher-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.transaction-toolbar,.transaction-form-head{padding-bottom:17px;border-bottom:1px solid var(--line)}
.transaction-toolbar h2,.transaction-form-head h2{margin:0;font-size:19px;letter-spacing:-.025em}.transaction-toolbar small,.transaction-form-head small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:5px;max-width:760px}
.transaction-filter-grid{display:grid;grid-template-columns:170px 170px minmax(280px,1fr) auto;gap:11px;align-items:end;padding:17px 0}.transaction-filter-grid label,.transaction-form-grid label,.voucher-search-bar label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#59616b}.transaction-filter-grid input,.transaction-form-grid input,.transaction-form-grid select,.transaction-form-grid textarea,.voucher-search-bar input,.cashbank-filter select{width:100%;border:1px solid #d7dbe0;border-radius:10px;background:#fff;padding:10px 12px;font:inherit;font-size:12px;outline:none}.transaction-filter-grid input,.transaction-form-grid input,.transaction-form-grid select,.voucher-search-bar input,.cashbank-filter select{min-height:43px}.transaction-form-grid textarea{min-height:88px;resize:vertical}.transaction-filter-grid input:focus,.transaction-form-grid input:focus,.transaction-form-grid select:focus,.transaction-form-grid textarea:focus,.voucher-search-bar input:focus,.cashbank-filter select:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(29,33,40,.045)}
.transaction-summary-strip{display:grid;grid-template-columns:170px 220px 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:15px}.transaction-summary-strip>div{background:#fafbfc;padding:12px 14px}.transaction-summary-strip span,.transaction-summary-strip strong{display:block}.transaction-summary-strip span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.transaction-summary-strip strong{font-size:13px;margin-top:4px;color:#333941}.transaction-table{min-width:1060px}.transaction-table td{vertical-align:middle}.transaction-table td small,.voucher-table td small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.transaction-table tbody tr:hover{background:#fafbfc}
.transaction-form-card{max-width:1120px}.transaction-form-head>div{display:flex;align-items:center;gap:12px}.transaction-symbol{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f2f3f5;border:1px solid #e2e4e7;color:var(--red);font-size:15px;font-weight:900}.transaction-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.posting-card{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;margin-top:18px;border:1px solid #dfe3e7;border-radius:13px;background:#fafbfc;padding:15px 17px}.posting-card strong,.posting-card small{display:block}.posting-card>div:first-child strong{font-size:12px;margin-top:5px}.posting-card>div:first-child small{font-size:10px;color:var(--muted);line-height:1.5;margin-top:4px}.posting-money{text-align:right;min-width:150px}.posting-money span,.posting-money strong{display:block}.posting-money span{font-size:9px;text-transform:uppercase;color:var(--muted);letter-spacing:.06em}.posting-money strong{font-size:20px;margin-top:4px}
.voucher-sheet{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 8px 26px rgba(29,33,40,.035)}.voucher-head{padding-bottom:18px;border-bottom:1px solid var(--line)}.voucher-head h2{font-size:24px;margin:5px 0 4px;letter-spacing:-.03em}.voucher-head p{margin:0;color:#606873;font-size:12px}.voucher-head-meta{text-align:right}.voucher-head-meta span,.voucher-head-meta strong,.voucher-head-meta small{display:block}.voucher-head-meta span{font-size:10px;color:var(--muted)}.voucher-head-meta strong{font-size:22px;margin:5px 0}.voucher-head-meta small{font-size:9px;color:var(--red);font-weight:850;letter-spacing:.08em}.voucher-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:17px 0}.voucher-facts>div{background:#fafbfc;padding:13px}.voucher-facts span,.voucher-facts strong,.voucher-facts small{display:block}.voucher-facts span{font-size:8px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.voucher-facts strong{font-size:11px;margin-top:5px}.voucher-facts small{font-size:9px;color:var(--muted);margin-top:2px}.balance-ok{color:#277445!important}.balance-bad{color:#a12636!important}.voucher-section-head{margin:21px 0 9px}.voucher-section-head h3{margin:3px 0 0;font-size:15px}.voucher-totals{display:flex;gap:16px;font-size:9px;color:var(--muted)}.voucher-totals b{color:#353b43;margin-left:4px}.voucher-table{min-width:860px}.voucher-integrity{margin-top:16px;border:1px solid;border-radius:12px;padding:13px 14px;display:flex;gap:11px;align-items:flex-start}.voucher-integrity>span{width:28px;height:28px;min-width:28px;border-radius:9px;display:grid;place-items:center;font-weight:900}.voucher-integrity strong,.voucher-integrity small{display:block}.voucher-integrity strong{font-size:11px}.voucher-integrity small{font-size:9px;margin-top:4px;line-height:1.5}.voucher-integrity.ok{background:#f4faf6;border-color:#d5e8da;color:#286e41}.voucher-integrity.ok>span{background:#fff;border:1px solid #d5e8da}.voucher-integrity.bad{background:#fff5f6;border-color:#efd4d8;color:#9a2634}.voucher-integrity.bad>span{background:#fff;border:1px solid #efd4d8}
.voucher-search-bar{display:grid;grid-template-columns:minmax(320px,620px) auto;gap:10px;align-items:end;padding:20px 24px;border-bottom:1px solid var(--line);background:#fafbfc}.browse-feedback{margin:18px 24px}.cashbank-filter{grid-template-columns:170px 170px minmax(250px,.8fr) minmax(300px,1.2fr) auto}.cashbank-summary strong{font-size:16px}.cashbank-report-toolbar{padding-bottom:18px}
@media(max-width:1050px){.transaction-filter-grid,.cashbank-filter{grid-template-columns:1fr 1fr}.transaction-search,.cashbank-filter .report-search{grid-column:1/-1}.transaction-summary-strip{grid-template-columns:1fr 1fr}.transaction-summary-strip>div:last-child{grid-column:1/-1}.voucher-facts{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.transaction-filter-grid,.cashbank-filter,.transaction-form-grid,.transaction-summary-strip,.voucher-facts,.voucher-search-bar{grid-template-columns:1fr}.transaction-search,.cashbank-filter .report-search,.transaction-summary-strip>div:last-child{grid-column:auto}.transaction-toolbar,.transaction-form-head,.voucher-head,.voucher-section-head{align-items:flex-start;flex-direction:column}.voucher-head-meta{text-align:left}.posting-card{grid-template-columns:1fr}.posting-money{text-align:left}.voucher-totals{flex-wrap:wrap}}
@media print{.sidebar,.topbar,.page-heading,.floating-help,.no-print,.report-actions,.voucher-search-bar,.cashbank-filter{display:none!important}.app-shell,.main-content,.content{display:block!important;margin:0!important;padding:0!important}.voucher-sheet,.cashbank-browse-panel{box-shadow:none!important;border:0!important}.voucher-sheet{padding:0!important}.table-wrap{overflow:visible!important;max-height:none!important}body{background:#fff!important}}

/* ===== Buku Besar — neutral executive ledger workspace ===== */
.ledger-workspace{grid-template-columns:minmax(0,1.55fr) minmax(330px,.65fr);align-items:start;gap:22px}
.ledger-workspace .wide-form{min-width:0}.ledger-workspace .list-panel{min-width:0;position:sticky;top:100px}
.ledger-header-grid{align-items:end}.inline-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.inline-control button{margin:0;white-space:nowrap}
.journal-lines{margin-top:20px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.journal-head.ledger,.journal-row.ledger{display:grid;grid-template-columns:48px minmax(220px,1.4fr) minmax(190px,1.1fr) 150px 150px 48px;gap:10px;align-items:center;padding:10px 12px}
.journal-head.ledger{background:#f3f4f6;border-bottom:1px solid var(--line);font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#68707b;font-weight:850}
.journal-row.ledger{border-bottom:1px solid #eceef1}.journal-row.ledger:last-child{border-bottom:0}.journal-row.ledger:hover{background:#fafafa}
.journal-row.ledger input,.journal-row.ledger select{width:100%;height:40px;border:1px solid #dfe2e6;border-radius:9px;background:#fff;padding:0 10px;font:inherit;font-size:12px;outline:none}
.journal-row.ledger input:focus,.journal-row.ledger select:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(30,34,40,.04)}
.journal-row.ledger small{display:block;color:var(--muted);font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.line-number{font-size:12px;color:#777f89;text-align:center;font-variant-numeric:tabular-nums}
.danger-soft{color:#8f0b1b;background:#fff;border-color:#ead8dc}.danger-soft:hover{background:var(--red-soft);border-color:#e3bfc7}.danger-soft:disabled{opacity:.35;cursor:not-allowed}
.journal-total.ledger-total{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}.journal-total.ledger-total>button{margin-right:auto}.journal-total.ledger-total>div{min-width:145px;border:1px solid var(--line);background:#fafafa;border-radius:11px;padding:10px 13px}.journal-total.ledger-total span,.journal-total.ledger-total strong{display:block}.journal-total.ledger-total span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#777f89}.journal-total.ledger-total strong{font-size:14px;margin-top:3px;font-variant-numeric:tabular-nums}
.balance-ok{color:#267442}.balance-bad{color:#9b2638}.journal-total .balance-ok{background:#f2f8f4!important;border-color:#d7e8dc!important}.journal-total .balance-bad{background:#fff7f8!important;border-color:#efd9de!important}
.compact-filters{grid-template-columns:1fr 1fr}.compact-filters label:last-of-type{grid-column:1/-1}.compact-filters button{grid-column:1/-1}
.template-list{display:grid;gap:10px;margin-top:12px}.template-card{appearance:none;width:100%;text-align:left;display:grid;grid-template-columns:1fr auto;gap:5px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px 14px;color:var(--black);cursor:pointer;font:inherit}.template-card strong{font-size:12px}.template-card span{font-size:10px;color:#606873}.template-card small{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.45}.template-card:hover{border-color:#cbd0d6;background:#fafafa}.template-card.selected{border-color:#d8aab3;box-shadow:inset 3px 0 0 var(--red);background:#fffafb}
.ledger-inquiry{padding:0;overflow:hidden}.ledger-inquiry>.card-title{padding:22px 24px;border-bottom:1px solid var(--line)}.ledger-filters,.ledger-voucher-search{padding:16px 24px;background:#fafafa;border-bottom:1px solid var(--line)}.ledger-summary{margin:18px 24px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.ledger-summary>div{padding:12px 14px;border-right:1px solid var(--line)}.ledger-summary>div:last-child{border-right:0}.ledger-summary span,.ledger-summary strong{display:block}.ledger-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#777f89}.ledger-summary strong{font-size:12px;margin-top:4px;word-break:break-word}.ledger-inquiry .table-wrap{margin:18px 24px 24px}.ledger-inquiry .empty-state{margin:0 24px 24px}
@media(max-width:1300px){.ledger-workspace{grid-template-columns:1fr}.ledger-workspace .list-panel{position:static}.journal-head.ledger,.journal-row.ledger{grid-template-columns:42px minmax(190px,1.2fr) minmax(170px,1fr) 125px 125px 44px}.ledger-summary{grid-template-columns:repeat(3,1fr)}.ledger-summary>div:nth-child(3){border-right:0}}
@media(max-width:850px){.journal-head.ledger{display:none}.journal-row.ledger{grid-template-columns:34px 1fr 1fr}.journal-row.ledger>div:nth-child(2){grid-column:2/-1}.journal-row.ledger>input:nth-child(3){grid-column:2/-1}.journal-row.ledger>input:nth-child(4),.journal-row.ledger>input:nth-child(5){grid-column:auto}.ledger-summary{grid-template-columns:1fr 1fr}.ledger-summary>div{border-bottom:1px solid var(--line)}.ledger-summary>div:nth-child(odd){border-right:1px solid var(--line)}.ledger-summary>div:nth-child(even){border-right:0}}

/* Aktiva Tetap */
.table-subtext{display:block;margin-top:.2rem;font-size:.78rem;color:var(--muted,#6b7280);font-weight:400}.report-summary.asset-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.detail-grid.compact{margin-top:1rem}.detail-grid.compact>div{min-height:76px}@media(max-width:1100px){.report-summary.asset-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.report-summary.asset-summary{grid-template-columns:1fr}}

/* Laporan */
.report-filter select{height:42px;border:1px solid #d8dce1;border-radius:10px;background:#fff;padding:0 12px;font:inherit;font-size:12px;outline:none;min-width:0}.report-filter select:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(30,34,40,.04)}
.report-filter{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.report-search{min-width:260px}
.report-print-head{display:none}.report-group td{background:#f2f3f5!important;font-weight:800;color:#252a31;border-top:1px solid #dfe2e6}.report-subgroup td{background:#fafafa!important;font-weight:700;color:#555c66}.statement-result{box-shadow:inset 3px 0 0 var(--red)}
.report-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.report-table td.right{font-variant-numeric:tabular-nums;white-space:nowrap}.report-table th{white-space:nowrap}
@media print{
  @page{size:A4 landscape;margin:12mm}
  .report-print-head{display:flex;align-items:center;gap:14px;padding:0 0 12px;border-bottom:2px solid #222;margin-bottom:12px}.report-print-head img{width:52px;height:52px;object-fit:contain}.report-print-head strong,.report-print-head span,.report-print-head h2,.report-print-head small{display:block}.report-print-head strong{font-size:14px}.report-print-head span{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.report-print-head h2{font-size:18px;margin:3px 0}.report-print-head small{font-size:9px;color:#555}
  .report-table{min-width:0;width:100%;font-size:8px}.report-table td,.report-table th{font-size:8px;padding:4px 5px}.report-summary strong{font-size:12px}.report-summary span{font-size:7px}.report-meta{font-size:7px}.report-panel{border:0!important}.report-toolbar,.report-filter{display:none!important}
}


/* ===== PDI PERJUANGAN OFFICIAL-SITE VISUAL REFERENCE — SAHAD 014 ===== */
:root{
  --pdip-red:#ca0000;
  --pdip-red-dark:#a60000;
  --pdip-red-soft:#fff1f1;
  --pdip-charcoal:#1f1f1f;
  --pdip-charcoal-2:#282828;
  --pdip-page:#f4f5f7;
  --red:var(--pdip-red);
  --red-dark:var(--pdip-red-dark);
  --red-soft:var(--pdip-red-soft);
  --black:#202124;
  --muted:#6d737c;
  --line:#e3e5e8;
  --soft:#f8f9fa;
  --shadow:0 8px 26px rgba(25,28,33,.055);
}
html,body{background:var(--pdip-page);color:#202124}
.sidebar{background:var(--pdip-charcoal);padding:22px 17px 18px;border-right:1px solid #2e2e2e;box-shadow:8px 0 28px rgba(0,0,0,.06)}
.brand{min-height:78px;padding:2px 7px 20px;border-bottom:1px solid rgba(255,255,255,.11)}
.brand-badge{width:60px;height:60px;min-width:60px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important}
.brand-logo{border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.28)}
.brand-copy strong{font-size:14px;letter-spacing:.055em;font-weight:800}.brand-copy small{font-size:11px;opacity:.72}
.nav-menu{gap:5px;padding-top:19px}.nav-menu a{min-height:48px;border-radius:9px;color:#e4e4e4;padding:9px 12px;font-weight:700}
.nav-menu a:hover{background:#2a2a2a}.nav-menu a.active{background:#2a2a2a;color:#fff;box-shadow:inset 4px 0 0 var(--pdip-red)}
.nav-icon{background:#343434;color:#eee;border-radius:8px}.nav-menu a.active .nav-icon{background:var(--pdip-red);color:#fff}
.sidebar-foot{border-color:#373737;background:#242424;border-radius:10px}.sidebar-foot small{color:#bbb}
.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 12px rgba(24,26,29,.025);position:sticky}
.topbar:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--pdip-red)}
.icon-button,.search-box{border-radius:8px}.icon-button:hover{border-color:#c8cbd0;background:#fafafa}.search-box{background:#f7f7f8}
.user-chip>span{background:var(--pdip-red);border-radius:50%}.user-chip small{color:var(--pdip-red-dark)}
.content{padding:34px 36px 48px}.main-area>footer{background:#fff;color:#777;border-top:1px solid #e7e7e7}
.page-heading h1{font-size:31px;font-weight:760;color:#202124}.eyebrow{color:var(--pdip-red);font-weight:850}
.primary{background:var(--pdip-red);border-radius:8px;box-shadow:0 5px 14px rgba(202,0,0,.12)}.primary:hover{background:var(--pdip-red-dark)}
.secondary{background:#fff;color:var(--pdip-red-dark);border:1px solid #efcaca}.secondary:hover{background:var(--pdip-red-soft)}
.quiet{border-radius:8px}.hero-card,.status-card,.panel{border-radius:14px;border-color:#e1e3e6;box-shadow:var(--shadow)}
.executive-hero{background:#fff;position:relative;overflow:hidden;border-top:4px solid var(--pdip-red)}
.executive-hero:before{content:"";position:absolute;right:-55px;top:-85px;width:250px;height:250px;border-radius:50%;border:36px solid rgba(202,0,0,.035)}
.executive-topline{display:flex;align-items:center;gap:9px;color:#4d5156;font-size:10px;letter-spacing:.11em}.executive-topline span{width:28px;height:3px;background:var(--pdip-red);border-radius:2px}
.executive-copy{position:relative;z-index:1}.executive-copy h2{max-width:780px;font-size:30px;line-height:1.22;margin:13px 0 12px;color:#1f1f1f}.executive-copy p{max-width:780px;color:#686d75;line-height:1.65}
.hero-badges span{background:#f5f5f5;border:1px solid #e8e8e8;color:#565b63}
.status-good{border-left:3px solid #2f8b57}.status-warn{border-left:3px solid #c88900}
.shortcut-card,.menu-card{border-radius:12px;box-shadow:0 5px 18px rgba(25,28,33,.035)}.shortcut-card:hover,.menu-card:hover{border-color:#e7b4b4;box-shadow:0 10px 22px rgba(38,26,26,.07)}
.shortcut-icon,.menu-icon{background:#fff4f4;color:var(--pdip-red);border:1px solid #f1d8d8;border-radius:10px}.menu-card:before{background:var(--pdip-red);top:18px;bottom:18px;width:3px}
.master-tab.active{background:var(--pdip-charcoal);box-shadow:inset 3px 0 0 var(--pdip-red)}
.help-fab{background:var(--pdip-charcoal)!important;border:1px solid #333!important}.help-fab>span{background:var(--pdip-red)!important}.help-tabs button.active{color:var(--pdip-red)!important;border-color:var(--pdip-red)!important}
@media(max-width:900px){.content{padding:26px 20px 38px}.sidebar{box-shadow:none}}


/* ===== AUTH LOCK — SAHAD 015 ===== */
.locked-nav{position:relative}.nav-lock{margin-left:auto;font-size:11px;opacity:.7}.locked-nav:hover .nav-lock{opacity:1}
.auth-user-area{display:flex;align-items:center;gap:9px}.logout-button{min-height:34px;padding:6px 10px;border:1px solid #e1e3e6;border-radius:8px;background:#fff;color:#5e636b;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.logout-button:hover{border-color:#efcaca;color:var(--pdip-red-dark);background:var(--pdip-red-soft)}
.login-top-button{display:flex;align-items:center;gap:9px;min-height:44px;padding:7px 12px;border:1px solid #e3e5e8;border-radius:10px;background:#fff;color:#30343a;text-decoration:none}.login-top-button>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--pdip-red-soft);font-size:12px}.login-top-button strong,.login-top-button small{display:block}.login-top-button strong{font-size:11px}.login-top-button small{font-size:9px;color:var(--pdip-red-dark);margin-top:2px}.login-top-button:hover{border-color:#edc2c2;background:#fffafa}
.locked-action{position:relative}.lock-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #edd2d2;background:#fff6f6;color:var(--pdip-red-dark);border-radius:999px;padding:6px 10px;font-size:9px;font-weight:850;letter-spacing:.04em}
.locked-status{min-height:230px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:18px 6px}.locked-status strong{font-size:15px;margin-top:12px}.locked-status p{max-width:480px;color:var(--muted);font-size:11px;line-height:1.6;margin:7px 0 15px}.auth-lock-mark{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:var(--pdip-red-soft);border:1px solid #f0d3d3;font-size:22px}
.auth-redirect-panel{max-width:680px;margin:40px auto;text-align:center;display:grid;justify-items:center;padding:40px}.auth-redirect-panel h1{margin:16px 0 6px}.auth-redirect-panel p{color:var(--muted);margin:0}
.login-page{min-height:calc(100vh - 210px);display:grid;place-items:center;padding:26px 0 50px}.login-card{width:min(100%,560px);background:#fff;border:1px solid #e1e3e6;border-radius:18px;box-shadow:0 18px 50px rgba(25,28,33,.08);padding:30px;position:relative;overflow:hidden}.login-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--pdip-red)}
.login-brand-row{display:flex;align-items:center;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--line)}.login-brand-row img{width:58px;height:58px;border-radius:50%;object-fit:cover}.login-brand-row span,.login-brand-row strong,.login-brand-row small{display:block}.login-brand-row span{font-size:9px;color:var(--pdip-red);font-weight:900;letter-spacing:.1em}.login-brand-row strong{font-size:17px;margin-top:3px}.login-brand-row small{font-size:10px;color:var(--muted);margin-top:2px}.login-heading{padding:24px 0 8px}.login-heading h1{font-size:25px;line-height:1.25;margin:6px 0 8px}.login-heading p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}
.login-form{display:grid;gap:14px;margin-top:18px}.login-form label{display:grid;gap:6px;font-size:10px;font-weight:850;color:#555c65}.login-form input{min-height:46px;width:100%;border:1px solid #d8dce1;border-radius:10px;background:#fff;padding:10px 12px;font:inherit;font-size:12px;outline:none}.login-form input:focus{border-color:#d29393;box-shadow:0 0 0 3px rgba(202,0,0,.06)}.login-submit{min-height:47px;border:0;font:inherit;font-size:11px;font-weight:850;cursor:pointer;margin-top:3px}
.login-error{display:grid;gap:3px;border:1px solid #efcfd3;background:#fff6f7;color:#98283a;border-radius:10px;padding:11px 13px;margin-top:14px}.login-error strong{font-size:11px}.login-error span{font-size:10px}.login-security-note{display:flex;gap:9px;align-items:flex-start;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted)}.login-security-note span{font-size:13px}.login-security-note p{font-size:9px;line-height:1.55;margin:0}.auth-success-box{display:flex;align-items:center;gap:12px;margin-top:24px;border:1px solid #d6e8dc;background:#f4faf6;border-radius:12px;padding:14px}.auth-success-box>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#247041;border:1px solid #d6e8dc;font-weight:900}.auth-success-box strong,.auth-success-box small{display:block}.auth-success-box strong{font-size:12px}.auth-success-box small{font-size:10px;color:#5f6b64;margin-top:3px}.login-actions{display:flex;gap:9px;margin-top:16px}
@media(max-width:760px){.auth-user-area{gap:4px}.logout-button{display:none}.login-card{padding:24px 20px}.login-page{padding-top:10px}.login-heading h1{font-size:22px}.nav-lock{margin-left:auto}}

/* ===== Cash & Bank transaction cockpit — SAHAD 016 ===== */
.cb-entry-shell{display:grid;gap:14px;margin-top:-8px}.cb-entry-shell button,.cb-entry-shell input,.cb-entry-shell select,.cb-entry-shell textarea{font-family:inherit}
.cb-actionbar,.cb-search-title,.cb-header-card,.cb-journal-card{background:#fff;border:1px solid #e3e6ea;border-radius:15px;box-shadow:0 5px 20px rgba(26,30,36,.045)}
.cb-actionbar{display:flex;align-items:stretch;justify-content:space-between;gap:18px;padding:14px 18px}.cb-action-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cb-btn{height:42px;border:1px solid #dfe2e6;border-radius:8px;background:#fff;color:#24282e;padding:0 14px;display:inline-flex;align-items:center;gap:7px;font-weight:750;font-size:12px;cursor:pointer}.cb-btn:hover:not(:disabled){background:#f8f9fa;border-color:#c8cdd3}.cb-btn.primary{background:#ca0000;border-color:#ca0000;color:#fff}.cb-btn.primary:hover:not(:disabled){background:#a90000}.cb-btn:disabled{opacity:.4;cursor:not-allowed}.cb-btn.danger-soft{background:#fff!important;color:#ca0000!important;border-color:#eadadd!important}.cb-print-options{min-width:250px;border-left:1px solid #e4e6e9;padding-left:20px;display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:8px 18px}.cb-print-options strong{grid-column:1/-1;font-size:11px;color:#282d34}.cb-print-options label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;font-weight:650}.cb-print-options input{width:15px;height:15px;accent-color:#ca0000}
.cb-search-title{min-height:66px;display:grid;grid-template-columns:minmax(420px,1fr) auto minmax(420px,1fr);align-items:center;padding:11px 18px}.cb-search-title h1{margin:0;text-align:center;font-size:24px;letter-spacing:-.03em}.cb-voucher-search{display:flex;align-items:center;gap:9px}.cb-voucher-search strong{font-size:11px;white-space:nowrap}.cb-voucher-search input{width:min(300px,45vw);height:38px;border:1px solid #dfe2e7;border-radius:8px;padding:0 11px;font-size:12px;outline:none}.cb-voucher-search input:focus{border-color:#aaafb6;box-shadow:0 0 0 3px rgba(28,32,38,.04)}.cb-search-btn{height:38px;border:0;border-radius:8px;background:#ca0000;color:#fff;padding:0 14px;font-weight:800;font-size:11px;cursor:pointer}
.cb-header-card{padding:18px 20px}.cb-header-grid{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(250px,1fr) minmax(340px,1.2fr);gap:14px 28px;align-items:start}.cb-header-grid label{display:grid;grid-template-columns:155px minmax(0,1fr);align-items:center;gap:10px;font-size:11px;font-weight:750;color:#2f343b}.cb-header-grid input,.cb-header-grid select,.cb-header-grid textarea{width:100%;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#24282e;padding:9px 10px;font-size:12px;outline:none}.cb-header-grid input,.cb-header-grid select{height:39px}.cb-header-grid input[readonly]{background:#f4f5f7;color:#737b85}.cb-header-grid input:focus,.cb-header-grid select:focus,.cb-header-grid textarea:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(30,34,40,.04)}.cb-description-field{grid-row:span 2;align-items:start!important}.cb-description-field textarea{min-height:94px;resize:vertical;line-height:1.45}.cb-description-field small{grid-column:2;color:#8a919a;font-size:9px;text-align:left}.money-input{text-align:right;font-variant-numeric:tabular-nums}.cb-field-note{min-height:39px;border:1px dashed #d8dce1;border-radius:8px;background:#fafbfc;padding:8px 10px;display:flex;justify-content:space-between;gap:12px;align-items:center}.cb-field-note strong{font-size:10px}.cb-field-note span{font-size:10px;color:#6f7781;text-align:right}
.cb-journal-card{padding:17px 18px 14px}.cb-journal-top{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:13px}.cb-journal-top h2{margin:0 0 10px;font-size:17px}.cb-account-tools,.cb-line-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cb-account-tools>span{font-size:9px;color:#7b838e}.cb-tool-btn{height:36px;border:1px solid #dfe2e6;border-radius:7px;background:#fff;padding:0 12px;font-size:10px;font-weight:750;color:#2f343a;cursor:pointer}.cb-tool-btn:hover:not(:disabled){background:#f7f8fa}.cb-tool-btn.danger{color:#ca0000}.cb-tool-btn:disabled{opacity:.4;cursor:not-allowed}
.cb-journal-scroll{overflow:auto;border:1px solid #dfe3e7;border-radius:10px}.cb-journal-table{width:100%;min-width:1120px;border-collapse:collapse;background:#fff}.cb-journal-table th,.cb-journal-table td{border-right:1px solid #e4e7eb;border-bottom:1px solid #e7e9ed;padding:7px 8px;vertical-align:middle}.cb-journal-table th:last-child,.cb-journal-table td:last-child{border-right:0}.cb-journal-table thead th{height:42px;background:#f7f8f9;font-size:9.5px;color:#2c3137;text-align:left;white-space:nowrap}.cb-journal-table thead th:nth-child(1),.cb-journal-table thead th:nth-child(8){text-align:center}.cb-journal-table tbody td{font-size:10px}.cb-journal-table input,.cb-journal-table select{width:100%;height:36px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;padding:0 9px;color:#262b31;font-size:10px;outline:none}.cb-journal-table input:focus,.cb-journal-table select:focus{border-color:#b6bbc1;box-shadow:0 0 0 2px rgba(30,34,40,.035)}.cb-journal-table tfoot td{background:#f8f9fa;border-bottom:0;height:44px}.cb-journal-table tfoot td:first-child{text-align:center}.cb-journal-table th:nth-child(1){width:42px}.cb-journal-table th:nth-child(2){width:190px}.cb-journal-table th:nth-child(3){width:180px}.cb-journal-table th:nth-child(4){width:270px}.cb-journal-table th:nth-child(5){width:135px}.cb-journal-table th:nth-child(6),.cb-journal-table th:nth-child(7){width:145px}.cb-journal-table th:nth-child(8){width:80px}.line-no{text-align:center;color:#68717c;font-variant-numeric:tabular-nums}.cb-code-picker{display:grid;grid-template-columns:minmax(0,1fr) 34px}.cb-code-picker input{border-radius:7px 0 0 7px!important;background:#fafbfc}.cb-code-picker button{border:1px solid #dfe3e8;border-left:0;border-radius:0 7px 7px 0;background:#fff;cursor:pointer;font-size:13px}.cb-account-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.readonly-money{background:#f7f8fa!important;color:#808791!important}.cb-row-actions{display:flex;justify-content:center;gap:5px}.cb-row-actions button{width:30px;height:30px;border:1px solid #dfe3e8;border-radius:6px;background:#fff;cursor:pointer}.cb-row-actions button.delete{color:#ca0000}.cb-source-row{background:#fbfbfc}.cb-source-row td{color:#555d67}.auto-chip{display:inline-flex;align-items:center;height:22px;padding:0 6px;border-radius:999px;background:#edf6ef;color:#2c7043;font-size:8px;font-weight:900;margin-right:6px}.lock-mark{display:block;text-align:center;font-size:11px}.money-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.balance-caption{margin-left:12px;font-size:9px;font-weight:800}.balance-caption.ok{color:#277445}.balance-caption.bad{color:#a12636}.cb-journal-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 4px 0;color:#737b86;font-size:9px}.cb-allocation-progress{white-space:nowrap;color:#4c535c}.cb-feedback{margin:0}
.cb-modal-backdrop{position:fixed;inset:0;background:rgba(9,11,14,.48);backdrop-filter:blur(2px);display:grid;place-items:center;z-index:1000;padding:28px}.cb-account-modal{width:min(900px,94vw);max-height:82vh;background:#fff;border:1px solid #dfe2e6;border-radius:17px;box-shadow:0 28px 80px rgba(0,0,0,.24);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.cb-modal-head{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid #e4e6ea}.cb-modal-head h2{margin:3px 0 0;font-size:19px}.cb-modal-head button{width:34px;height:34px;border:1px solid #e1e4e8;border-radius:8px;background:#fff;cursor:pointer}.cb-modal-search{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px 18px;background:#fafbfc;border-bottom:1px solid #e5e7ea}.cb-modal-search input{height:39px;border:1px solid #dce0e5;border-radius:8px;padding:0 10px;font-size:11px}.cb-modal-search strong{font-size:9px;color:#757d87}.cb-account-list{overflow:auto;padding:8px}.cb-account-option{display:grid;grid-template-columns:24px 145px minmax(0,1fr) 100px;align-items:center;gap:10px;min-height:45px;padding:6px 10px;border-radius:8px;cursor:pointer}.cb-account-option:hover{background:#f6f7f8}.cb-account-option.selected{background:#fff2f3}.cb-account-option input{accent-color:#ca0000}.cb-account-option .account-code{font-size:10px;font-weight:850;color:#252a30}.cb-account-option .account-name{font-size:10px;color:#343a42}.cb-account-option .account-extra{font-size:9px;color:#89909a;text-align:right}.cb-modal-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 18px;border-top:1px solid #e3e6ea;background:#fafbfc}.cb-modal-foot>span{font-size:10px;color:#6c747e}.cb-modal-foot>div{display:flex;gap:8px}
@media(max-width:1250px){.cb-actionbar{display:block}.cb-print-options{border-left:0;border-top:1px solid #e4e6e9;margin-top:12px;padding:12px 0 0;grid-template-columns:auto auto auto;justify-content:start;align-items:center}.cb-print-options strong{grid-column:auto}.cb-search-title{grid-template-columns:1fr auto}.cb-search-title>span{display:none}.cb-header-grid{grid-template-columns:1fr 1fr}.cb-description-field{grid-row:auto}.cb-header-grid label{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:800px){.cb-search-title{grid-template-columns:1fr;gap:12px}.cb-search-title h1{text-align:left;order:-1}.cb-voucher-search{flex-wrap:wrap}.cb-voucher-search input{width:100%;flex:1}.cb-header-grid{grid-template-columns:1fr}.cb-header-grid label{grid-template-columns:1fr}.cb-description-field small{grid-column:1}.cb-journal-top,.cb-journal-foot{align-items:flex-start;flex-direction:column}.cb-account-option{grid-template-columns:24px 110px 1fr}.cb-account-option .account-extra{display:none}.cb-action-buttons{gap:6px}.cb-btn{height:38px;padding:0 10px;font-size:10px}}
@media print{.cb-actionbar,.cb-search-title,.cb-account-tools,.cb-line-actions,.cb-journal-foot,.cb-modal-backdrop,.cb-feedback{display:none!important}.cb-entry-shell{gap:8px}.cb-header-card,.cb-journal-card{box-shadow:none;border-color:#ddd}.cb-journal-scroll{overflow:visible}.cb-journal-table{min-width:0;font-size:9px}}

/* ===== Jurnal Memorial cockpit — SAHAD 017 ===== */
.jm-entry-shell{margin-top:0}.jm-header-card{padding:19px 20px}.jm-header-grid{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(250px,.9fr) minmax(280px,1fr);gap:14px 28px;align-items:start}.jm-header-grid>label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:10px;font-size:11px;font-weight:750;color:#2f343b}.jm-header-grid input,.jm-header-grid select,.jm-header-grid textarea{width:100%;border:1px solid #dfe3e8;border-radius:8px;background:#fff;color:#24282e;padding:9px 10px;font-size:12px;outline:none}.jm-header-grid input,.jm-header-grid select{height:39px}.jm-header-grid input[readonly]{background:#f4f5f7;color:#737b85}.jm-header-grid input:focus,.jm-header-grid select:focus,.jm-header-grid textarea:focus{border-color:#aeb4bc;box-shadow:0 0 0 3px rgba(30,34,40,.04)}.jm-template-field{grid-column:1/-1;max-width:760px}.jm-inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.jm-description-field{grid-column:1/3;align-items:start!important}.jm-description-field textarea{min-height:92px;resize:vertical;line-height:1.45}.jm-description-field small{grid-column:2;color:#8a919a;font-size:9px}.jm-status-note .ok,.cb-allocation-progress .ok{color:#277445;font-weight:850}.jm-status-note .bad,.cb-allocation-progress .bad{color:#a12636;font-weight:850}.jm-journal-table{min-width:1180px}.jm-last-voucher{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f4faf6;border:1px solid #d6e8dc;border-radius:12px;padding:12px 14px;font-size:11px}.jm-last-voucher strong{color:#276d41}.jm-last-voucher a{white-space:nowrap}
@media(max-width:1250px){.jm-header-grid{grid-template-columns:1fr 1fr}.jm-template-field{grid-column:1/-1}.jm-description-field{grid-column:1/-1}.jm-description-field small{grid-column:2}}
@media(max-width:800px){.jm-header-grid{grid-template-columns:1fr}.jm-header-grid>label{grid-template-columns:1fr}.jm-template-field,.jm-description-field{grid-column:auto}.jm-description-field small{grid-column:1}.jm-last-voucher{align-items:flex-start;flex-direction:column}}
@media print{.jm-last-voucher{display:none!important}}

/* ===== Report options 019: simple surface, full capability ===== */
.report-options-shell{display:grid;gap:18px;max-width:1180px;margin:0 auto}.report-group-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}.report-group-banner h2{margin:5px 0 7px;font-size:30px;line-height:1.15;color:#1f2937}.report-group-banner p{margin:0;max-width:720px;color:#667085;font-size:16px;line-height:1.6}.fund-chip{display:inline-flex;align-items:center;justify-content:center;min-width:104px;padding:10px 14px;border-radius:999px;background:#fff1f2;color:#b42318;border:1px solid #fecdd3;font-weight:800;letter-spacing:.06em}.report-options-card{padding:28px 30px}.report-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.report-options-grid label{display:grid;gap:8px;font-size:15px;font-weight:700;color:#344054}.report-options-grid label small{font-weight:400;color:#667085;line-height:1.45}.report-options-grid .span-2{grid-column:1/-1}.report-scope-explain{display:flex;align-items:flex-start;gap:12px;margin-top:22px;padding:15px 17px;border-radius:13px;background:#f8fafc;border:1px solid #e5e7eb}.report-scope-explain strong{white-space:nowrap;color:#1f2937}.report-scope-explain span{color:#667085;line-height:1.5}.report-option-actions{justify-content:flex-end;margin-top:22px}.report-context-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:16px 0 18px;border:1px solid #e5e7eb;border-radius:13px;overflow:hidden;background:#e5e7eb}.report-context-strip>div{display:grid;gap:5px;padding:13px 15px;background:#fff}.report-context-strip span{font-size:12px;color:#667085;text-transform:uppercase;letter-spacing:.05em}.report-context-strip strong{font-size:14px;color:#1f2937}.report-view-page .report-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media (max-width:850px){.report-group-banner{align-items:flex-start;flex-direction:column}.report-options-grid{grid-template-columns:1fr}.report-options-grid .span-2{grid-column:auto}.report-context-strip{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.report-options-card,.report-group-banner{padding:20px}.report-context-strip{grid-template-columns:1fr}.report-option-actions .primary{width:100%}}

/* ===== Canonical readability 019: simple, spacious, glasses-friendly ===== */
:root{font-size:18px}
body{line-height:1.5}
.content{padding:36px 40px 52px}
.nav-menu a{min-height:54px;font-size:15px;padding:11px 14px}
.brand-copy strong{font-size:15px}.brand-copy small{font-size:13px}
.page-heading{margin-bottom:28px}.page-heading h1{font-size:34px}.page-heading p{font-size:16px;max-width:900px}.eyebrow{font-size:11px}
.primary,.secondary,.quiet,.link-action{min-height:44px;padding:12px 17px;font-size:14px}
.menu-grid{gap:18px}.menu-card{min-height:150px;padding:24px}.menu-copy strong{font-size:17px}.menu-copy small{font-size:13px;line-height:1.55}
.shortcut-card strong{font-size:15px}.shortcut-card small{font-size:13px;line-height:1.45}
.panel{padding:26px;margin-bottom:24px}
label,.placeholder-form label{font-size:14px;line-height:1.4}
input,select,textarea,.placeholder-form input,.placeholder-form textarea,.help-body input{font-size:15px;min-height:44px}
.master-table,.transaction-table,.voucher-table,.report-table{font-size:14px}
.master-table th,.transaction-table th,.voucher-table th,.report-table th{font-size:13px;padding:12px 13px}
.master-table td,.transaction-table td,.voucher-table td,.report-table td{font-size:14px;padding:12px 13px}
.transaction-table td small,.voucher-table td small,.table-subtext{font-size:12px;line-height:1.4}
.transaction-summary-strip span{font-size:11px}.transaction-summary-strip strong{font-size:15px}.transaction-summary-strip>div{padding:15px 16px}
.transaction-form-grid{gap:20px}.posting-card>div:first-child strong{font-size:14px}.posting-card>div:first-child small{font-size:12px}.posting-money span{font-size:11px}
.cb-btn{height:46px;padding:0 16px;font-size:13px}.cb-print-options strong,.cb-print-options label{font-size:13px}
.cb-header-card,.jm-header-card{padding:22px 24px}.cb-header-grid label,.jm-header-grid>label{font-size:13px}.cb-header-grid input,.cb-header-grid select,.cb-header-grid textarea,.jm-header-grid input,.jm-header-grid select,.jm-header-grid textarea{font-size:14px;min-height:44px}
.cb-description-field small,.jm-description-field small{font-size:11px}.cb-field-note strong,.cb-field-note span{font-size:12px}
.cb-journal-table thead th{height:48px;font-size:12px;padding:9px 10px}.cb-journal-table tbody td{font-size:13px;padding:9px 10px}.cb-journal-table input,.cb-journal-table select{height:42px;font-size:13px}
.cb-account-name{max-width:220px}.auto-chip{font-size:10px}.balance-caption,.cb-journal-foot{font-size:11px}
.report-options-grid label{font-size:15px}.report-context-strip span{font-size:12px}.report-context-strip strong{font-size:15px}
@media(max-width:800px){.content{padding:24px 18px 38px}.page-heading h1{font-size:29px}.menu-card{min-height:130px}.cb-btn{height:42px;font-size:12px}}

/* SAHAD 020 — login, role/scope dashboard, user management */
.dashboard-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.dashboard-identity-card h2,.dashboard-scope-card h2{margin:8px 0 14px}.identity-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.identity-facts>div{padding:14px 16px;background:#f7f7f8;border:1px solid #e7e7e9;border-radius:12px}.identity-facts span{display:block;font-size:.82rem;color:#6b6b70;margin-bottom:5px}.identity-facts strong{font-size:1rem}.dashboard-scope-card p,.technical-dashboard-card>p{max-width:820px;line-height:1.65;color:#5d5d63}.dashboard-admin-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px}.dashboard-admin-strip h2{margin:6px 0}.dashboard-admin-strip p{margin:0;color:#666;max-width:760px}.technical-dashboard-card{margin-top:22px}.user-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}.user-stat-card{border:1px solid #e4e4e6;background:#fff;border-radius:14px;padding:18px;text-align:left;min-height:112px;cursor:pointer}.user-stat-card:hover{border-color:#c6c6ca;box-shadow:0 5px 18px rgba(0,0,0,.05)}.user-stat-card span{display:block;color:#6d6d73;font-size:.8rem;margin-bottom:8px}.user-stat-card strong{font-size:1.65rem}.user-stat-card small{display:block;margin-top:6px;color:#85858b}.user-management-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:20px;margin-bottom:22px}.license-meter{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.license-meter>div{padding:16px;background:#f7f7f8;border-radius:12px}.license-meter span{display:block;color:#737379;font-size:.82rem}.license-meter strong{font-size:1.5rem}.unit-user-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.unit-user-card{border:1px solid #e4e4e6;border-radius:12px;background:#fff;text-align:left;padding:15px;cursor:pointer}.unit-user-card span,.unit-user-card small{display:block;color:#777}.unit-user-card strong{display:block;margin:5px 0}.compact-filter-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}.compact-filter-row label{min-width:220px}.row-action-stack{display:flex;gap:6px;flex-wrap:wrap}.inline-editor td{background:#fafafa}.checkbox-line{display:flex!important;flex-direction:row!important;gap:9px;align-items:center}.checkbox-line input{width:auto!important}.feedback.success{border-color:#b8d9c4;background:#f1faf4;color:#1c6636}.feedback.error{border-color:#efc0c0;background:#fff5f5;color:#8e2525}@media(max-width:1100px){.user-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.user-management-grid,.dashboard-identity-grid{grid-template-columns:1fr}.unit-user-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.user-stat-grid,.unit-user-grid,.identity-facts{grid-template-columns:1fr}.dashboard-admin-strip{align-items:flex-start;flex-direction:column}}

/* SAHAD 021 - source fund + permission matrix */
.permission-panel .table-wrap{overflow:auto}
.permission-matrix{min-width:980px}
.permission-matrix th:not(:first-child),.permission-matrix td:not(:first-child){text-align:center;vertical-align:middle}
.permission-matrix th:first-child,.permission-matrix td:first-child{text-align:left;min-width:280px}
.permission-matrix input[type="checkbox"]{width:20px;height:20px;cursor:pointer}
.permission-matrix input[type="checkbox"]:disabled{cursor:not-allowed;opacity:.42}
.permission-route{display:block;margin-top:4px;color:var(--text-soft);font-size:.78rem;font-weight:500}

/* SAHAD 025 — AI Asisten base contextual knowledge UI */
.ai-help-panel{width:min(520px,calc(100vw - 30px));max-height:min(780px,calc(100vh - 110px));overflow:auto}.ai-help-body textarea{min-height:86px}.ai-safety-note{display:grid;gap:4px;padding:12px 13px;border:1px solid #e2e5e9;border-radius:12px;background:#fafbfc;margin-bottom:12px}.ai-safety-note strong{font-size:12px}.ai-safety-note span{font-size:10px;line-height:1.5;color:var(--muted)}.ai-context-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0 10px;font-size:10px;color:var(--muted)}.ai-context-row strong{font-size:11px;color:#2c3138;text-align:right}.ai-quick-actions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.ai-quick-actions button,.ai-followups button{border:1px solid #dde1e6;background:#fff;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800;color:#4f5660;cursor:pointer}.ai-quick-actions button:hover,.ai-followups button:hover{border-color:#e7aab2;color:var(--red);background:#fff8f9}.ai-answer{padding:14px}.ai-answer-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.ai-answer-meta span{font-size:9px;font-weight:800;color:#646c76;border:1px solid #e0e3e7;background:#fff;border-radius:999px;padding:4px 7px}.ai-answer>strong{display:block;font-size:14px;line-height:1.4}.ai-answer ol{margin:10px 0 4px;padding-left:21px}.ai-answer li{font-size:11px;line-height:1.55;color:#454c55;margin:5px 0}.ai-warning{margin-top:10px;padding:9px 10px;border-radius:9px;background:#fff5e5;color:#7b5100;font-size:10px;line-height:1.45}.ai-followups{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px;padding-top:10px;border-top:1px solid #e5e8ec}.ai-followups small{flex-basis:100%;font-size:9px;color:var(--muted);font-weight:800;margin-bottom:2px}

/* SAHAD 025 — AI Asisten conversational UI */
.ai-chat{display:flex;flex-direction:column;gap:11px;max-height:390px;overflow:auto;padding:4px 3px 12px;margin-bottom:10px;scrollbar-width:thin}.ai-chat-row{display:flex;align-items:flex-start;gap:8px}.ai-chat-row.user{flex-direction:row-reverse}.ai-chat-avatar{width:28px;height:28px;min-width:28px;border-radius:9px;display:grid;place-items:center;background:#17191e;color:#fff;font-size:10px;font-weight:900}.ai-chat-row.user .ai-chat-avatar{background:#eceff2;color:#4c535d}.ai-chat-bubble{max-width:88%;border:1px solid #e1e4e8;border-radius:14px 14px 14px 4px;background:#fafbfc;padding:10px 12px;box-shadow:0 4px 14px rgba(23,25,30,.035)}.ai-chat-row.user .ai-chat-bubble{background:#fff4f5;border-color:#f0ccd1;border-radius:14px 14px 4px 14px}.ai-chat-text{margin:0!important;color:#343a42!important;font-size:11.5px!important;line-height:1.65!important;white-space:pre-wrap}.ai-chat-bubble ol{margin:10px 0 4px;padding-left:20px}.ai-chat-bubble li{font-size:10.8px;line-height:1.55;color:#454c55;margin:4px 0}.ai-typing{display:flex;align-items:center;gap:5px;min-height:38px}.ai-typing span{width:6px;height:6px;border-radius:50%;background:#8b929c;animation:pdipTyping 1.15s infinite ease-in-out}.ai-typing span:nth-child(2){animation-delay:.15s}.ai-typing span:nth-child(3){animation-delay:.3s}@keyframes pdipTyping{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}.ai-caret{display:none;width:2px;height:1.05em;background:var(--red);vertical-align:-2px;margin-left:2px;animation:pdipCaret .8s step-end infinite}.ai-caret.show{display:inline-block}@keyframes pdipCaret{50%{opacity:0}}.ai-question-box{margin-top:4px}.ai-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-send-row small{font-size:9px;color:var(--muted);font-weight:650}.ai-send-row .primary{margin-top:8px!important;min-width:88px}.ai-quick-actions button:disabled,.ai-followups button:disabled{opacity:.55;cursor:not-allowed}

/* SAHAD 035 - public installer download */
.nav-public-download{margin-top:auto;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}.nav-public-download>span{display:block;font-size:9px;letter-spacing:.14em;color:#90949b;padding:0 13px 5px}.sidebar-foot{margin-top:10px}.installer-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.installer-download-card{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);border-radius:14px;padding:18px;text-decoration:none;background:#fff}.installer-download-card:hover{border-color:#d99aa3;box-shadow:var(--shadow)}.installer-download-card strong{font-size:16px}.installer-download-card small{color:var(--muted)}.installer-download-card em{font-style:normal;color:var(--red);font-size:12px;font-weight:800}.installer-os{font-size:9px;font-weight:900;letter-spacing:.12em;color:var(--red)}.login-installer-link{margin-top:12px;width:100%}@media(max-width:900px){.installer-download-grid{grid-template-columns:1fr}.nav-public-download{margin-top:10px}}
/* SAHAD 035 — AI Mentor source/version metadata */
.ai-answer-source{margin-top:.55rem;color:var(--text-muted,#6f7479);font-size:.78rem;line-height:1.35}

/* ===== Guest locked navigation + database schema guard (SAHAD 030) ===== */
.nav-menu a.nav-locked{position:relative;color:#c9cdd3;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.045)}
.nav-menu a.nav-locked:hover{background:rgba(255,255,255,.075);color:#fff}
.nav-menu a.nav-locked .nav-icon{opacity:.72}
.nav-lock{margin-left:auto;font-size:11px;opacity:.72;filter:grayscale(1)}
.nav-public-download{margin-top:10px;padding-top:16px;border-top:1px solid rgba(255,255,255,.13)}
.nav-public-download>span{display:block;padding:0 13px 6px;font-size:9px;letter-spacing:.12em;color:#8f959e}
.nav-public-download a{position:relative}
.nav-public-badge{margin-left:auto;padding:3px 6px;border-radius:999px;background:rgba(87,214,141,.14);color:#76e7a3;font-size:8px;letter-spacing:.06em}
.schema-block-panel{max-width:900px;margin:0 auto}
.schema-version-row{display:grid;grid-template-columns:110px 1fr 110px 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:18px 0}
.schema-version-row span,.schema-version-row strong{background:#fff;padding:12px 14px}.schema-version-row span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.schema-version-row strong{font-size:12px}
.schema-missing-list{border:1px solid #efd4d8;background:#fff6f7;border-radius:12px;padding:14px 16px;margin:14px 0;color:#892837}.schema-missing-list>strong{font-size:11px}.schema-missing-list ul{margin:9px 0 0;padding-left:20px}.schema-missing-list li{font-size:10px;line-height:1.55}
@media(max-width:720px){.schema-version-row{grid-template-columns:1fr 1fr}}

/* ===== SAHAD 035 — readability / manual-QC hardening ===== */
/* Admin finance users often work long sessions; keep text comfortably readable without making forms dense. */
.brand-copy strong{font-size:16px}.brand-copy small{font-size:13px}
.nav-menu a{min-height:54px;font-size:15px}.sidebar-foot strong{font-size:13px}.sidebar-foot small{font-size:11px}
.search-box input{font-size:15px;line-height:1.3}.search-box input::placeholder{color:#747b85;opacity:1}
.period-box span{font-size:11px}.period-box strong,.user-chip strong{font-size:14px}.user-chip small{font-size:11px}
.main-area>footer{font-size:12px}.eyebrow{font-size:11px}.primary,.secondary,.quiet,.link-action{font-size:14px}
.menu-copy strong{font-size:16px}.menu-copy small,.shortcut-card small,.scope-note p{font-size:13px}
.placeholder-form label,label{font-size:14px}.small-note,.muted{font-size:13px}
th,td{font-size:14px;line-height:1.45}th{font-size:12px}
.alert{font-size:13px}.status-metrics span{font-size:12px}.status-metrics strong{font-size:15px}
.help-fab strong{font-size:14px}.help-fab small{font-size:11px}.help-panel header strong{font-size:15px}.help-panel header small{font-size:12px}
.help-tabs button{font-size:13px}.help-body p{font-size:14px}.answer strong{font-size:14px}.support-status small{font-size:12px}
.ai-safety-note strong{font-size:14px}.ai-safety-note span,.ai-context-row{font-size:12px}.ai-context-row strong{font-size:13px}
.ai-quick-actions button,.ai-followups button{font-size:12px;padding:8px 11px}.ai-answer-meta span{font-size:11px}
.ai-answer>strong{font-size:15px}.ai-answer li{font-size:13.5px}.ai-warning{font-size:12.5px}.ai-followups small{font-size:11px}
.ai-chat-avatar{font-size:11px}.ai-chat-text{font-size:14px!important;line-height:1.65!important}.ai-chat-bubble li{font-size:13.5px;line-height:1.6}
.ai-send-row small{font-size:11px}.nav-public-download>span{font-size:10px}.installer-os{font-size:11px}.nav-public-badge{font-size:10px}
.schema-version-row span{font-size:12px}.schema-version-row strong{font-size:14px}.schema-missing-list>strong{font-size:13px}.schema-missing-list li{font-size:12.5px;line-height:1.6}
@media(max-width:800px){.nav-menu a{font-size:14px}.ai-chat-text{font-size:13.5px!important}th,td{font-size:13px}}

/* ===== SAHAD 036 — approved login/sidebar UI ===== */
.nav-menu-final{gap:6px}.nav-menu-final .nav-lock{margin-left:auto;font-size:12px;opacity:.9}.nav-menu-final .nav-public-zone{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.16);display:grid;gap:8px}.nav-menu-final .nav-public-help,.nav-menu-final .nav-public-download-link{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.14)}.nav-menu-final .nav-public-help:hover,.nav-menu-final .nav-public-download-link:hover{background:rgba(182,0,22,.24);border-color:rgba(255,255,255,.2)}.nav-menu-final .nav-public-badge{margin-left:auto;padding:3px 6px;border-radius:6px;background:#b60016;color:#fff;font-size:8px;letter-spacing:.05em}.nav-menu-final .nav-public-help .nav-public-badge{background:#1f7a42}.nav-menu-final .nav-public-zone a{min-height:48px}
.login-page-final{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:28px 18px}.login-card-final{width:min(610px,100%);padding:34px 36px 30px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(20,24,30,.08)}.login-brand-final{text-align:center;display:grid;justify-items:center}.login-brand-final>img{width:86px;height:86px;object-fit:contain;margin-bottom:11px}.login-brand-final>strong{font-size:28px;letter-spacing:.015em}.login-brand-final>span{font-size:21px;color:#30343a;margin-top:1px}.login-levels{margin-top:14px;min-width:270px;height:40px;border:1px solid #df1a2e;border-radius:13px;display:flex;align-items:center;justify-content:space-evenly;font-size:13px}.login-levels i{height:17px;width:1px;background:#cfd3d9}.login-heading-final{text-align:center;margin:24px 0 22px}.login-heading-final h1{font-size:25px;margin:0 0 5px}.login-heading-final p{margin:0;color:var(--muted);font-size:14px}.login-form-final{display:grid;gap:16px}.login-form-final label{display:grid;gap:7px;font-weight:750;font-size:13px}.login-form-final input[type=text],.login-form-final input[type=email],.login-form-final input[type=password]{width:100%;height:48px;border:1px solid #d8dde4;border-radius:9px;padding:0 13px;font:inherit;font-size:14px;outline:none}.login-form-final input:focus{border-color:#b60016;box-shadow:0 0 0 3px rgba(182,0,22,.07)}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.login-options .remember-me{display:flex;align-items:center;gap:7px;font-weight:500}.login-options .remember-me input{min-height:0;width:16px;height:16px}.login-options>a{color:var(--red);font-weight:750;text-decoration:none}.login-card-final .login-submit{width:100%;height:50px;margin-top:0;font-size:15px}.login-card-final .login-security-note{margin-top:18px;display:flex;gap:9px;justify-content:center;color:#6d747e;font-size:11px}.login-card-final .login-security-note p{margin:0;max-width:430px;line-height:1.45}.public-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.public-help-grid .panel{margin:0}.public-help-grid h2,.public-help-download h2{margin:5px 0 8px;font-size:20px}.public-help-grid p,.public-help-download p{margin:0;color:var(--muted);line-height:1.55;font-size:14px}.public-help-download{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}
@media(max-width:900px){.public-help-grid{grid-template-columns:1fr}.public-help-download{align-items:flex-start;flex-direction:column}.login-card-final{padding:28px 22px}.login-brand-final>strong{font-size:24px}}


/* SAHAD 035 R3 — Kas & Bank card menu hub (1366 baseline) */
.cashbank-hub-heading{margin-bottom:20px}
.kb-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:stretch}
.kb-card{min-height:232px;background:#fff;border:1px solid #e6e8ec;border-radius:18px;box-shadow:0 8px 22px rgba(24,28,33,.045);padding:18px 18px 16px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.kb-card:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 6px 6px 0;background:var(--pdip-red,var(--red))}
.kb-card.disabled{background:#fcfcfd}
.kb-card-icon{width:72px;height:72px;border-radius:18px;background:#fff4f4;border:1px solid #f2dada;color:var(--pdip-red,var(--red));display:grid;place-items:center;margin-bottom:16px}
.kb-card-icon svg{width:36px;height:36px}
.kb-card-copy{display:grid;gap:10px;min-height:92px}
.kb-card-copy h3{margin:0;font-size:16px;line-height:1.4;color:#17191e}
.kb-card-copy p{margin:0;color:#626a75;font-size:12px;line-height:1.65}
.kb-card-button{margin-top:auto;align-self:flex-end;min-width:104px;height:42px;padding:0 16px;border-radius:11px;border:1px solid #ef9090;background:#fff;color:var(--pdip-red,var(--red));font-weight:850;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.15s ease}
.kb-card-button:hover{background:#fff6f6;border-color:#df6262}
.kb-card-button.disabled,.kb-card-button:disabled{cursor:not-allowed;opacity:.65;background:#fafbfc;border-color:#dfe3e8;color:#7d8794}
@media(max-width:1500px){.kb-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.kb-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.kb-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-card{min-height:214px}}
@media(max-width:640px){.kb-card-grid{grid-template-columns:1fr}}


/* SAHAD 035 R8 — Bantuan Pengguna card menu */
.help-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.help-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.help-card-grid{grid-template-columns:1fr}}

/* SAHAD 035 R10 — Dashboard modern baseline 1366x768 */
.dashboard-modern-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.dashboard-modern-heading h1{margin:4px 0 5px;font-size:34px;letter-spacing:-.025em}.dashboard-modern-heading p{margin:0;color:var(--muted);font-size:13px}.dashboard-period-card{min-width:172px;height:58px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:11px;padding:8px 12px;box-shadow:0 4px 14px rgba(25,28,33,.035)}.dashboard-period-icon{width:38px;height:38px;border-radius:10px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-size:17px}.dashboard-period-card small,.dashboard-period-card strong{display:block}.dashboard-period-card small{font-size:10px;color:var(--muted)}.dashboard-period-card strong{font-size:13px;margin-top:2px}.dashboard-load-error{margin:-6px 0 15px}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.dashboard-kpi-card{min-height:102px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;box-shadow:0 5px 18px rgba(25,28,33,.035)}.dashboard-kpi-icon{width:48px;height:48px;border:1px solid #f2d8dc;border-radius:12px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-weight:900;font-size:13px}.dashboard-kpi-copy{min-width:0}.dashboard-kpi-copy span,.dashboard-kpi-copy strong,.dashboard-kpi-copy small{display:block}.dashboard-kpi-copy span{font-size:10px;font-weight:800;color:#4d535c}.dashboard-kpi-copy strong{font-size:17px;margin:4px 0;white-space:nowrap}.dashboard-kpi-copy small{font-size:9px;color:var(--muted);line-height:1.35}.dashboard-kpi-trend{align-self:end;font-size:9px;font-weight:900;white-space:nowrap}.dashboard-kpi-trend.up{color:#168a46}.dashboard-kpi-trend.down{color:#c70018}.dashboard-kpi-link{align-self:end;font-size:10px;font-weight:900;color:var(--red);text-decoration:none}.dashboard-insight-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);gap:14px;margin-bottom:14px}.dashboard-insight-grid>.panel,.dashboard-bottom-grid>.panel{margin-bottom:0}.dashboard-chart-panel,.dashboard-fund-panel,.dashboard-transactions-panel,.dashboard-reminder-panel{padding:16px;border-radius:13px}.dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.dashboard-panel-head h2{font-size:14px;margin:0}.dashboard-panel-head small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.dashboard-panel-head>a{font-size:9px;font-weight:900;color:var(--red);text-decoration:none}.dashboard-filter-pill{border:1px solid var(--line);border-radius:8px;padding:6px 9px;font-size:9px;font-weight:800}.dashboard-chart-legend{display:flex;gap:14px;font-size:9px;color:#5f6670;margin-bottom:8px}.dashboard-chart-legend span{display:flex;align-items:center;gap:5px}.dashboard-chart-legend i{display:block;width:10px;height:6px;border-radius:2px}.dashboard-chart-legend i.in{background:#18a558}.dashboard-chart-legend i.out{background:#df2638}.dashboard-bar-chart{height:164px;border-top:1px solid #eef0f2;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;align-items:end;padding:10px 2px 0}.dashboard-bar-column{height:100%;display:grid;grid-template-rows:minmax(0,1fr) 18px;gap:3px;min-width:0}.dashboard-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;min-height:0}.dashboard-bar{width:min(13px,38%);min-height:2px;border-radius:3px 3px 1px 1px}.dashboard-bar.in{background:#18a558}.dashboard-bar.out{background:#df2638}.dashboard-bar-column small{text-align:center;font-size:7px;color:#747b84;white-space:nowrap;overflow:hidden}.dashboard-fund-body{display:grid;grid-template-columns:145px minmax(0,1fr);gap:17px;align-items:center;min-height:174px}.dashboard-donut{width:138px;height:138px;border-radius:50%;background:conic-gradient(var(--red) 0 var(--partai),#193a69 var(--partai) 100%);display:grid;place-items:center}.dashboard-donut:before{content:"";position:absolute}.dashboard-donut>div{width:82px;height:82px;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center;padding:6px}.dashboard-donut small,.dashboard-donut strong{display:block}.dashboard-donut small{font-size:8px;color:var(--muted)}.dashboard-donut strong{font-size:10px;margin-top:3px}.dashboard-fund-legend{display:grid;gap:12px}.dashboard-fund-legend>div{display:flex;align-items:flex-start;gap:8px}.dashboard-fund-legend strong,.dashboard-fund-legend small{display:block}.dashboard-fund-legend strong{font-size:10px}.dashboard-fund-legend small{font-size:9px;color:var(--muted);margin-top:3px}.fund-dot{width:9px;height:9px;border-radius:50%;margin-top:2px;min-width:9px}.fund-dot.partai{background:var(--red)}.fund-dot.banpol{background:#193a69}.dashboard-fund-total{border-top:1px solid var(--line);padding-top:10px;justify-content:space-between}.dashboard-fund-total span{font-size:9px;color:var(--muted)}.dashboard-fund-total strong{font-size:11px}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);gap:14px}.dashboard-recent-table-wrap{overflow:hidden;border:1px solid #eceef1;border-radius:9px}.dashboard-recent-table{min-width:0;width:100%}.dashboard-recent-table th,.dashboard-recent-table td{padding:7px 9px;font-size:9px}.dashboard-recent-table th{font-size:8px}.dashboard-type-pill{display:inline-block;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:900}.dashboard-type-pill.in{background:#eaf8ef;color:#18713d}.dashboard-type-pill.out{background:#fff0f1;color:#b00018}.dashboard-empty{min-height:124px;display:grid;place-items:center;color:var(--muted);font-size:11px}.dashboard-reminder-list{display:grid}.dashboard-reminder-list>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #eceef1}.dashboard-reminder-list>div:last-child{border-bottom:0}.dashboard-reminder-icon{width:34px;height:34px;border-radius:9px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;font-weight:900}.dashboard-reminder-list strong,.dashboard-reminder-list small{display:block}.dashboard-reminder-list strong{font-size:10px}.dashboard-reminder-list small{font-size:8.5px;color:var(--muted);margin-top:3px;line-height:1.35}.dashboard-reminder-list a{border:1px solid #ef9aa5;border-radius:7px;padding:6px 8px;color:var(--red);font-size:8px;font-weight:900;text-decoration:none}.dashboard-heading{margin-bottom:18px}
@media(max-width:1180px){.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-insight-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-fund-body{grid-template-columns:160px 1fr}}
@media(max-width:800px){.dashboard-modern-heading{display:block}.dashboard-period-card{margin-top:12px;width:max-content}.dashboard-kpi-grid{grid-template-columns:1fr}.dashboard-bar-chart{overflow-x:auto;grid-template-columns:repeat(12,44px)}.dashboard-fund-body{grid-template-columns:1fr;justify-items:center}.dashboard-fund-legend{width:100%}}

/* SAHAD 035 R12 — compact Cash/Bank transaction input, density active on all desktop widths */
.cb-unit-scope-note{grid-column:2;color:#8a919a;font-size:9px;font-weight:550;line-height:1.3;margin-top:-4px}
.cb-modal-head p{margin:4px 0 0;color:#747c86;font-size:10px;line-height:1.45}
.cb-modal-tabs{display:flex;gap:0;padding:0 18px;border-bottom:1px solid #e5e7ea;background:#fff}
.cb-modal-tabs button{height:40px;border:0;border-bottom:3px solid transparent;background:transparent;padding:0 12px;color:#626a75;font-size:10px;font-weight:800;cursor:pointer}
.cb-modal-tabs button.active{color:#c60000;border-bottom-color:#c60000}
.cb-picker-multi-toggle{display:flex;flex-direction:row!important;align-items:center;gap:8px;padding:9px 18px 5px;font-size:10px!important;font-weight:700!important;color:#555e69}
.cb-picker-multi-toggle input{width:14px;height:14px;min-height:0;accent-color:#ca0000}
.cb-history-list{overflow:auto;padding:8px 10px;display:grid;align-content:start;gap:4px}
.cb-history-row{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(280px,1.25fr) auto;gap:14px;align-items:center;padding:9px 10px;border:1px solid #eceef1;border-radius:9px;background:#fff}
.cb-history-row:hover{background:#fafbfc;border-color:#dde1e6}
.cb-history-row>div{min-width:0;display:grid;gap:3px}.cb-history-row strong{font-size:10px;color:#252a30}.cb-history-row span{font-size:10px;color:#454c55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-history-row small{font-size:9px;color:#858d97}
.cb-history-empty{padding:34px 18px;text-align:center;color:#7c848e;font-size:11px}

@media (min-width:801px){
  .cb-entry-shell.cb-compact-1366{gap:10px;margin-top:-6px}
  .cb-compact-1366 .cb-actionbar{gap:14px;padding:9px 14px;border-radius:12px}
  .cb-compact-1366 .cb-action-buttons{gap:6px;flex-wrap:nowrap}
  .cb-compact-1366 .cb-btn{height:32px;min-height:32px;padding:0 11px;font-size:10px;border-radius:7px;gap:5px}
  .cb-compact-1366 .cb-print-options{min-width:220px;padding-left:14px;gap:5px 14px}
  .cb-compact-1366 .cb-print-options strong,.cb-compact-1366 .cb-print-options label{font-size:10px}
  .cb-compact-1366 .cb-print-options input{width:13px;height:13px;min-height:0}
  .cb-compact-1366 .cb-search-title{min-height:52px;padding:7px 14px;border-radius:12px;grid-template-columns:minmax(340px,1fr) auto minmax(340px,1fr)}
  .cb-compact-1366 .cb-search-title h1{font-size:20px}
  .cb-compact-1366 .cb-voucher-search{gap:7px}.cb-compact-1366 .cb-voucher-search strong{font-size:10px}
  .cb-compact-1366 .cb-voucher-search input,.cb-compact-1366 .cb-search-btn{height:32px;min-height:32px;font-size:10px}
  .cb-compact-1366 .cb-header-card{padding:13px 17px;border-radius:12px}
  .cb-compact-1366 .cb-header-grid{grid-template-columns:minmax(210px,.82fr) minmax(255px,1.02fr) minmax(320px,1.18fr);gap:10px 28px}
  .cb-compact-1366 .cb-header-grid label{grid-template-columns:132px minmax(0,1fr);gap:9px;font-size:10px}
  .cb-compact-1366 .cb-header-grid input,.cb-compact-1366 .cb-header-grid select{height:33px;min-height:33px;padding:6px 9px;font-size:10px}
  .cb-compact-1366 .cb-header-grid textarea{min-height:64px;padding:7px 9px;font-size:10px}
  .cb-compact-1366 .cb-description-field small{font-size:8px}.cb-compact-1366 .cb-unit-scope-note{font-size:8px}
  .cb-compact-1366 .cb-field-note{min-height:33px;padding:6px 9px}.cb-compact-1366 .cb-field-note strong,.cb-compact-1366 .cb-field-note span{font-size:9px}
  .cb-compact-1366 .cb-journal-card{padding:11px 14px 10px;border-radius:12px}
  .cb-compact-1366 .cb-journal-top{gap:14px;margin-bottom:8px}.cb-compact-1366 .cb-journal-top h2{margin:0 0 6px;font-size:15px}
  .cb-compact-1366 .cb-account-tools,.cb-compact-1366 .cb-line-actions{gap:6px}.cb-compact-1366 .cb-account-tools>span{font-size:8px}
  .cb-compact-1366 .cb-tool-btn{height:30px;min-height:30px;padding:0 9px;font-size:9px}
  .cb-compact-1366 .cb-journal-table thead th{height:34px;padding:5px 7px;font-size:9px}
  .cb-compact-1366 .cb-journal-table tbody td{padding:5px 7px;font-size:10px}
  .cb-compact-1366 .cb-journal-table input,.cb-compact-1366 .cb-journal-table select{height:31px;min-height:31px;font-size:10px;padding:5px 7px}
  .cb-compact-1366 .cb-journal-table tfoot td{padding:6px 7px;font-size:10px}
  .cb-compact-1366 .cb-journal-foot{margin-top:7px;font-size:8px}
  .cb-account-modal-unified{width:min(760px,92vw);max-height:74vh;border-radius:13px;display:flex;flex-direction:column}.cb-account-modal-unified .cb-account-list,.cb-account-modal-unified .cb-history-list{flex:1;min-height:0}
  .cb-account-modal-unified .cb-modal-head{padding:11px 15px}.cb-account-modal-unified .cb-modal-head h2{font-size:16px}.cb-account-modal-unified .cb-modal-head p{font-size:9px}.cb-account-modal-unified .cb-modal-head button{width:29px;height:29px}
  .cb-account-modal-unified .cb-modal-tabs{padding:0 14px}.cb-account-modal-unified .cb-modal-tabs button{height:35px;font-size:9px}
  .cb-account-modal-unified .cb-modal-search{padding:8px 13px}.cb-account-modal-unified .cb-modal-search input{height:32px;min-height:32px;font-size:9px}.cb-account-modal-unified .cb-modal-search strong{font-size:8px}
  .cb-account-modal-unified .cb-picker-multi-toggle{padding:7px 14px 3px;font-size:9px!important}
  .cb-account-modal-unified .cb-account-option{min-height:35px;grid-template-columns:20px 125px minmax(0,1fr) 90px;padding:4px 8px}.cb-account-modal-unified .cb-account-option .account-code,.cb-account-modal-unified .cb-account-option .account-name{font-size:9px}.cb-account-modal-unified .cb-account-option .account-extra{font-size:8px}
  .cb-account-modal-unified .cb-history-row{grid-template-columns:minmax(180px,.9fr) minmax(230px,1.2fr) auto;gap:10px;padding:7px 8px}.cb-account-modal-unified .cb-history-row strong,.cb-account-modal-unified .cb-history-row span{font-size:9px}.cb-account-modal-unified .cb-history-row small{font-size:8px}
  .cb-account-modal-unified .cb-modal-foot{padding:9px 13px}.cb-account-modal-unified .cb-modal-foot>span{font-size:8px}
}
@media(max-width:800px){.cb-unit-scope-note{grid-column:1}.cb-history-row{grid-template-columns:1fr}.cb-modal-tabs{overflow:auto}}


/* SAHAD 035 R13 — canonical desktop sizing: 1366x768 for every page/view
   Desktop UI no longer grows with a larger developer monitor. 1366x768 is the
   single sizing baseline; mobile <=800px keeps the existing responsive rules. */
@media (min-width:801px){
  :root{font-size:14px}
  body{line-height:1.4}
  .app-shell.ui-1366-standard{grid-template-columns:248px minmax(0,1fr)}
  .ui-1366-standard .sidebar{padding:14px 14px 12px}
  .ui-1366-standard .brand{min-height:62px;padding:0 5px 12px;gap:10px}
  .ui-1366-standard .brand-badge{width:46px;height:46px;min-width:46px}
  .ui-1366-standard .brand-copy strong{font-size:12px}.ui-1366-standard .brand-copy small{font-size:10px;margin-top:2px}
  .ui-1366-standard .nav-menu{gap:4px;padding-top:12px}
  .ui-1366-standard .nav-menu a,.ui-1366-standard .nav-menu-final .nav-public-zone a{min-height:40px;padding:6px 9px;border-radius:8px;font-size:11px;gap:9px}
  .ui-1366-standard .nav-icon{width:26px;height:26px;min-width:26px;border-radius:7px;font-size:11px}
  .ui-1366-standard .nav-menu-final .nav-public-zone{margin-top:6px;padding-top:7px;gap:5px}
  .ui-1366-standard .nav-menu-final .nav-public-badge{font-size:7px;padding:2px 5px}
  .ui-1366-standard .sidebar-foot{padding:8px 9px;border-radius:9px;gap:7px}.ui-1366-standard .sidebar-foot strong{font-size:10px}.ui-1366-standard .sidebar-foot small{font-size:8px;margin-top:2px}

  .ui-1366-standard .topbar{height:60px;padding:0 18px}
  .ui-1366-standard .topbar-left,.ui-1366-standard .topbar-right{gap:10px}
  .ui-1366-standard .icon-button{width:34px;height:34px;border-radius:8px;font-size:15px}
  .ui-1366-standard .search-box{height:34px;width:min(500px,45vw);padding:0 10px;border-radius:8px}
  .ui-1366-standard .search-box input{font-size:11px}
  .ui-1366-standard .period-box{padding-right:11px}.ui-1366-standard .period-box span{font-size:8px}.ui-1366-standard .period-box strong{font-size:10px;margin-top:2px}
  .ui-1366-standard .auth-user-area{gap:7px}.ui-1366-standard .user-chip{gap:7px}.ui-1366-standard .user-chip>span{width:34px;height:34px;font-size:10px}
  .ui-1366-standard .user-chip strong{font-size:11px}.ui-1366-standard .user-chip small{font-size:8.5px;margin-top:1px}
  .ui-1366-standard .logout-button{min-height:30px;padding:4px 9px;font-size:9px;border-radius:7px}

  .ui-1366-standard .content{max-width:none;margin:0;padding:14px 18px 20px;font-size:11.5px}
  .ui-1366-standard .main-area>footer{padding:9px 18px;font-size:9px}
  .ui-1366-standard .page-heading{gap:14px;margin-bottom:13px}
  .ui-1366-standard .page-heading h1{font-size:26px;margin:2px 0 4px;line-height:1.12}
  .ui-1366-standard .page-heading p{font-size:11px;line-height:1.4;max-width:820px}
  .ui-1366-standard .eyebrow{font-size:8px;letter-spacing:.1em}
  .ui-1366-standard .heading-actions{gap:7px}
  .ui-1366-standard .primary,.ui-1366-standard .secondary,.ui-1366-standard .quiet,.ui-1366-standard .link-action{min-height:32px;padding:6px 11px;border-radius:7px;font-size:10px}

  .ui-1366-standard .hero-grid,.ui-1366-standard .dashboard-two-col,.ui-1366-standard .workspace-grid,.ui-1366-standard .user-management-grid,.ui-1366-standard .dashboard-identity-grid{gap:12px}
  .ui-1366-standard .hero-card,.ui-1366-standard .status-card,.ui-1366-standard .panel{border-radius:11px}
  .ui-1366-standard .hero-card,.ui-1366-standard .status-card,.ui-1366-standard .panel{padding:13px;margin-bottom:12px}
  .ui-1366-standard .card-title,.ui-1366-standard .section-heading{gap:9px}.ui-1366-standard .card-title h2,.ui-1366-standard .section-heading h2{font-size:15px}
  .ui-1366-standard .section-heading{margin-bottom:9px}.ui-1366-standard .section-heading a{font-size:9px}
  .ui-1366-standard .status-good,.ui-1366-standard .status-warn{margin:10px 0 8px;padding:7px 9px;font-size:10px}
  .ui-1366-standard .status-metrics{gap:7px}.ui-1366-standard .status-metrics div{padding:8px}.ui-1366-standard .status-metrics span{font-size:9px}.ui-1366-standard .status-metrics strong{font-size:11px}

  .ui-1366-standard label,.ui-1366-standard .placeholder-form label,.ui-1366-standard .form-grid label,.ui-1366-standard .filter-row label,.ui-1366-standard .lookup-bar label,.ui-1366-standard .journal-head label,.ui-1366-standard .transaction-filter-grid label,.ui-1366-standard .transaction-form-grid label,.ui-1366-standard .voucher-search-bar label{font-size:10px;gap:5px;line-height:1.3}
  .ui-1366-standard .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.ui-1366-standard .content select{min-height:33px;height:33px;padding:5px 8px;border-radius:7px;font-size:10.5px}
  .ui-1366-standard .content textarea{min-height:58px;padding:6px 8px;border-radius:7px;font-size:10.5px}
  .ui-1366-standard .form-grid,.ui-1366-standard .placeholder-form,.ui-1366-standard .transaction-form-grid{gap:9px 11px;margin-top:11px}
  .ui-1366-standard .filter-row,.ui-1366-standard .lookup-bar,.ui-1366-standard .compact-filter-row{gap:7px;margin:9px 0 10px}
  .ui-1366-standard .filter-row button,.ui-1366-standard .lookup-bar button{min-height:33px}
  .ui-1366-standard .form-actions,.ui-1366-standard .button-row,.ui-1366-standard .row-action-stack{gap:6px;margin-top:10px}
  .ui-1366-standard .small-note,.ui-1366-standard .muted,.ui-1366-standard .field-help,.ui-1366-standard .table-subtext{font-size:9px;line-height:1.35}
  .ui-1366-standard .feedback,.ui-1366-standard .alert,.ui-1366-standard .integrity-note,.ui-1366-standard .scope-note{padding:8px 10px;font-size:9.5px;border-radius:8px;margin-top:9px}

  .ui-1366-standard .table-wrap{margin-top:9px;border-radius:8px}
  .ui-1366-standard table{font-size:10px}
  .ui-1366-standard th,.ui-1366-standard td{padding:6px 8px;font-size:10px;line-height:1.3}
  .ui-1366-standard th{font-size:9px}
  .ui-1366-standard .master-table,.ui-1366-standard .transaction-table,.ui-1366-standard .voucher-table,.ui-1366-standard .report-table{font-size:10px}
  .ui-1366-standard .master-table th,.ui-1366-standard .transaction-table th,.ui-1366-standard .voucher-table th,.ui-1366-standard .report-table th{font-size:9px;padding:6px 8px}
  .ui-1366-standard .master-table td,.ui-1366-standard .transaction-table td,.ui-1366-standard .voucher-table td,.ui-1366-standard .report-table td{font-size:10px;padding:6px 8px}

  .ui-1366-standard .menu-grid{gap:10px}.ui-1366-standard .menu-card{min-height:106px;padding:13px;grid-template-columns:42px minmax(0,1fr) 14px;gap:9px;border-radius:10px}
  .ui-1366-standard .menu-icon{width:40px;height:40px;border-radius:9px;font-size:11px}.ui-1366-standard .menu-copy strong{font-size:12px;margin-bottom:3px}.ui-1366-standard .menu-copy small{font-size:9px;line-height:1.35}.ui-1366-standard .menu-arrow{font-size:18px}
  .ui-1366-standard .shortcut-grid{gap:9px}.ui-1366-standard .shortcut-card{padding:11px;grid-template-columns:38px minmax(0,1fr);column-gap:9px;border-radius:10px}.ui-1366-standard .shortcut-icon{width:38px;height:38px;border-radius:9px;font-size:11px}.ui-1366-standard .shortcut-card strong{font-size:11px}.ui-1366-standard .shortcut-card small{font-size:9px}

  .ui-1366-standard .cashbank-hub-heading{margin-bottom:12px}.ui-1366-standard .kb-card-grid{gap:10px}
  .ui-1366-standard .kb-card{min-height:150px;padding:12px 12px 10px;border-radius:11px}.ui-1366-standard .kb-card:before{top:12px;bottom:12px;width:3px}
  .ui-1366-standard .kb-card-icon{width:50px;height:50px;border-radius:12px;margin-bottom:9px}.ui-1366-standard .kb-card-icon svg{width:27px;height:27px}
  .ui-1366-standard .kb-card-copy{gap:5px;min-height:54px}.ui-1366-standard .kb-card-copy h3{font-size:12px;line-height:1.25}.ui-1366-standard .kb-card-copy p{font-size:9px;line-height:1.35}
  .ui-1366-standard .kb-card-button{min-width:74px;height:30px;padding:0 10px;border-radius:7px;font-size:9px;gap:5px}

  .ui-1366-standard .master-toolbar,.ui-1366-standard .master-subhead,.ui-1366-standard .master-form-head,.ui-1366-standard .detail-title{gap:10px}
  .ui-1366-standard .master-toolbar,.ui-1366-standard .master-form-head{padding-bottom:9px}.ui-1366-standard .master-toolbar h2,.ui-1366-standard .master-subhead strong,.ui-1366-standard .master-form-head h2,.ui-1366-standard .detail-title h2{font-size:14px}
  .ui-1366-standard .master-toolbar small,.ui-1366-standard .master-subhead small,.ui-1366-standard .master-form-head small{font-size:8.5px;margin-top:3px}
  .ui-1366-standard .detail-title{padding-bottom:10px}.ui-1366-standard .detail-title .code{font-size:9px;margin-bottom:3px}.ui-1366-standard .detail-grid{gap:8px}.ui-1366-standard .detail-grid>div{padding:9px 10px;min-height:56px}

  .ui-1366-standard .transaction-filter-grid{gap:8px;padding:10px 0}.ui-1366-standard .transaction-summary-strip{margin-bottom:9px;border-radius:8px}.ui-1366-standard .transaction-summary-strip>div{padding:8px 9px}.ui-1366-standard .transaction-summary-strip span{font-size:8px}.ui-1366-standard .transaction-summary-strip strong{font-size:10px;margin-top:2px}
  .ui-1366-standard .posting-card{gap:12px;margin-top:10px;padding:9px 11px;border-radius:9px}.ui-1366-standard .posting-card>div:first-child strong{font-size:10px}.ui-1366-standard .posting-card>div:first-child small{font-size:8.5px}.ui-1366-standard .posting-money span{font-size:8px}.ui-1366-standard .posting-money strong{font-size:15px}

  .ui-1366-standard .report-options-shell{gap:10px;max-width:none}.ui-1366-standard .report-group-banner{gap:14px;padding:14px 16px;border-radius:11px}.ui-1366-standard .report-group-banner h2{font-size:22px;margin:2px 0 4px}.ui-1366-standard .report-group-banner p{font-size:10.5px;line-height:1.4}.ui-1366-standard .fund-chip{min-width:78px;padding:6px 9px;font-size:9px}
  .ui-1366-standard .report-options-card{padding:14px 16px}.ui-1366-standard .report-options-grid{gap:10px 12px}.ui-1366-standard .report-options-grid label{font-size:10px;gap:5px}.ui-1366-standard .report-options-grid label small{font-size:8.5px}.ui-1366-standard .report-scope-explain{gap:8px;margin-top:10px;padding:8px 10px;border-radius:8px;font-size:9px}.ui-1366-standard .report-option-actions{margin-top:10px}.ui-1366-standard .report-context-strip{margin:9px 0 10px;border-radius:8px}.ui-1366-standard .report-context-strip>div{gap:2px;padding:7px 9px}.ui-1366-standard .report-context-strip span{font-size:8px}.ui-1366-standard .report-context-strip strong{font-size:10px}

  .ui-1366-standard .user-stat-grid{gap:8px;margin-bottom:12px}.ui-1366-standard .user-stat-card{min-height:76px;padding:10px;border-radius:9px}.ui-1366-standard .user-stat-card span{font-size:9px;margin-bottom:4px}.ui-1366-standard .user-stat-card strong{font-size:18px}.ui-1366-standard .user-stat-card small{font-size:8px;margin-top:3px}.ui-1366-standard .license-meter{gap:8px;margin:9px 0}.ui-1366-standard .license-meter>div{padding:9px;border-radius:8px}.ui-1366-standard .license-meter span{font-size:9px}.ui-1366-standard .license-meter strong{font-size:16px}.ui-1366-standard .unit-user-grid{gap:8px}.ui-1366-standard .unit-user-card{padding:9px;border-radius:8px}
  .ui-1366-standard .dashboard-admin-strip{gap:12px;margin-top:12px}.ui-1366-standard .technical-dashboard-card{margin-top:12px}

  .ui-1366-standard .login-page-final{min-height:calc(100vh - 100px);padding:10px 12px}.ui-1366-standard .login-card-final{width:min(480px,100%);padding:18px 20px 16px;border-radius:13px}.ui-1366-standard .login-brand-final>img{width:58px;height:58px;margin-bottom:5px}.ui-1366-standard .login-brand-final>strong{font-size:19px}.ui-1366-standard .login-brand-final>span{font-size:14px}.ui-1366-standard .login-levels{margin-top:8px;min-width:220px;height:30px;border-radius:9px;font-size:10px}.ui-1366-standard .login-heading-final{margin:12px 0 10px}.ui-1366-standard .login-heading-final h1{font-size:18px;margin-bottom:3px}.ui-1366-standard .login-heading-final p{font-size:10px}.ui-1366-standard .login-form-final{gap:9px}.ui-1366-standard .login-form-final label{gap:4px;font-size:10px}.ui-1366-standard .login-form-final input[type=text],.ui-1366-standard .login-form-final input[type=email],.ui-1366-standard .login-form-final input[type=password]{height:36px;padding:0 9px;font-size:10.5px;border-radius:7px}.ui-1366-standard .login-options{font-size:9px}.ui-1366-standard .login-card-final .login-submit{height:36px;font-size:11px}.ui-1366-standard .login-card-final .login-security-note{margin-top:10px;font-size:8.5px}.ui-1366-standard .login-card-final .login-security-note p{font-size:8.5px}
  .ui-1366-standard .public-help-grid{gap:10px}.ui-1366-standard .public-help-grid h2,.ui-1366-standard .public-help-download h2{font-size:15px;margin:3px 0 5px}.ui-1366-standard .public-help-grid p,.ui-1366-standard .public-help-download p{font-size:10px}.ui-1366-standard .public-help-download{margin-top:10px;gap:12px}

  .ui-1366-standard .auth-redirect-panel{max-width:620px;margin:18px auto;padding:20px}.ui-1366-standard .auth-lock-mark{width:40px;height:40px;border-radius:10px;font-size:17px}.ui-1366-standard .schema-version-row{margin:10px 0;border-radius:8px}.ui-1366-standard .schema-version-row span,.ui-1366-standard .schema-version-row strong{padding:7px 9px;font-size:9px}.ui-1366-standard .schema-missing-list{padding:8px 10px;margin:8px 0;border-radius:8px}.ui-1366-standard .schema-missing-list>strong{font-size:9px}.ui-1366-standard .schema-missing-list li{font-size:8.5px}

  .help-root{right:14px;bottom:14px}.help-fab{min-width:138px;padding:7px 10px;border-radius:11px;gap:7px}.help-fab>span{width:30px;height:30px;border-radius:8px;font-size:14px}.help-fab strong{font-size:10px}.help-fab small{font-size:8px}.help-panel,.ai-help-panel{width:min(440px,calc(100vw - 24px));max-height:calc(100vh - 88px);border-radius:12px}.help-panel>header{padding:10px 12px}.help-panel header strong{font-size:11px}.help-panel header small{font-size:8.5px}.help-tabs button{padding:8px;font-size:9px}.help-body{padding:11px}.help-body p{font-size:10px}.ai-chat-text{font-size:10.5px!important;line-height:1.45!important}.ai-chat-bubble li{font-size:10px}.ai-quick-actions button,.ai-followups button{font-size:9px;padding:6px 8px}
}

/* SAHAD 035 R13 — 1366x768 coverage for specialized views */
@media (min-width:801px){
  .ui-1366-standard .dashboard-modern-heading{gap:12px;margin-bottom:10px}.ui-1366-standard .dashboard-modern-heading h1{font-size:26px;margin:2px 0 3px}.ui-1366-standard .dashboard-modern-heading p{font-size:10px}.ui-1366-standard .dashboard-period-card{min-width:140px;height:44px;padding:6px 8px;border-radius:9px;gap:8px}.ui-1366-standard .dashboard-period-icon{width:30px;height:30px;border-radius:8px;font-size:13px}.ui-1366-standard .dashboard-period-card small{font-size:8px}.ui-1366-standard .dashboard-period-card strong{font-size:10px}
  .ui-1366-standard .dashboard-kpi-grid{gap:8px;margin-bottom:9px}.ui-1366-standard .dashboard-kpi-card{min-height:74px;padding:9px;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;border-radius:9px}.ui-1366-standard .dashboard-kpi-icon{width:36px;height:36px;border-radius:9px;font-size:10px}.ui-1366-standard .dashboard-kpi-copy span{font-size:8px}.ui-1366-standard .dashboard-kpi-copy strong{font-size:13px;margin:2px 0}.ui-1366-standard .dashboard-kpi-copy small,.ui-1366-standard .dashboard-kpi-trend,.ui-1366-standard .dashboard-kpi-link{font-size:7.5px}
  .ui-1366-standard .dashboard-insight-grid,.ui-1366-standard .dashboard-bottom-grid{gap:8px;margin-bottom:8px}.ui-1366-standard .dashboard-chart-panel,.ui-1366-standard .dashboard-fund-panel,.ui-1366-standard .dashboard-transactions-panel,.ui-1366-standard .dashboard-reminder-panel{padding:10px;border-radius:9px}.ui-1366-standard .dashboard-panel-head{gap:8px;margin-bottom:6px}.ui-1366-standard .dashboard-panel-head h2{font-size:11px}.ui-1366-standard .dashboard-panel-head small,.ui-1366-standard .dashboard-panel-head>a,.ui-1366-standard .dashboard-filter-pill{font-size:7.5px}.ui-1366-standard .dashboard-filter-pill{padding:4px 6px;border-radius:6px}.ui-1366-standard .dashboard-chart-legend{gap:10px;font-size:7.5px;margin-bottom:5px}.ui-1366-standard .dashboard-bar-chart{height:118px;padding-top:7px}.ui-1366-standard .dashboard-fund-body{grid-template-columns:104px minmax(0,1fr);gap:10px;min-height:124px}.ui-1366-standard .dashboard-donut{width:98px;height:98px}.ui-1366-standard .dashboard-donut>div{width:60px;height:60px}.ui-1366-standard .dashboard-donut small{font-size:6.5px}.ui-1366-standard .dashboard-donut strong{font-size:8px}.ui-1366-standard .dashboard-fund-legend{gap:7px}.ui-1366-standard .dashboard-fund-legend strong{font-size:8px}.ui-1366-standard .dashboard-fund-legend small{font-size:7px}.ui-1366-standard .dashboard-fund-total{padding-top:6px}.ui-1366-standard .dashboard-fund-total span{font-size:7px}.ui-1366-standard .dashboard-fund-total strong{font-size:8px}.ui-1366-standard .dashboard-reminder-list>div{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;padding:6px 0}.ui-1366-standard .dashboard-reminder-icon{width:28px;height:28px;border-radius:7px}.ui-1366-standard .dashboard-reminder-list strong{font-size:8px}.ui-1366-standard .dashboard-reminder-list small{font-size:7px}.ui-1366-standard .dashboard-reminder-list a{font-size:7px;padding:4px 6px}

  .ui-1366-standard .voucher-sheet{padding:13px;border-radius:10px}.ui-1366-standard .voucher-head{padding-bottom:9px}.ui-1366-standard .voucher-head h2{font-size:17px;margin:2px 0}.ui-1366-standard .voucher-head p{font-size:9px}.ui-1366-standard .voucher-head-meta span{font-size:8px}.ui-1366-standard .voucher-head-meta strong{font-size:15px;margin:2px 0}.ui-1366-standard .voucher-head-meta small{font-size:7.5px}.ui-1366-standard .voucher-facts{margin:9px 0;border-radius:8px}.ui-1366-standard .voucher-facts>div{padding:7px 8px}.ui-1366-standard .voucher-facts span{font-size:7px}.ui-1366-standard .voucher-facts strong{font-size:9px;margin-top:2px}.ui-1366-standard .voucher-facts small{font-size:7.5px}.ui-1366-standard .voucher-section-head{margin:11px 0 6px}.ui-1366-standard .voucher-section-head h3{font-size:11px}.ui-1366-standard .voucher-totals{gap:9px;font-size:7.5px}.ui-1366-standard .voucher-integrity{margin-top:8px;padding:7px 8px;border-radius:8px;gap:7px}.ui-1366-standard .voucher-integrity>span{width:22px;height:22px;min-width:22px;border-radius:6px}.ui-1366-standard .voucher-integrity strong{font-size:9px}.ui-1366-standard .voucher-integrity small{font-size:7.5px;margin-top:2px}.ui-1366-standard .voucher-search-bar{grid-template-columns:minmax(260px,520px) auto;gap:7px;padding:10px 12px}.ui-1366-standard .browse-feedback{margin:9px 12px}

  .ui-1366-standard .ledger-workspace{gap:12px}.ui-1366-standard .journal-lines{margin-top:10px;border-radius:9px}.ui-1366-standard .journal-head.ledger,.ui-1366-standard .journal-row.ledger{gap:6px;padding:6px 8px}.ui-1366-standard .journal-head.ledger{font-size:8px}.ui-1366-standard .journal-row.ledger input,.ui-1366-standard .journal-row.ledger select{height:32px;padding:0 7px;border-radius:7px;font-size:10px}.ui-1366-standard .journal-row.ledger small{font-size:8px;margin-top:2px}.ui-1366-standard .journal-total.ledger-total{gap:6px;margin-top:8px}.ui-1366-standard .journal-total.ledger-total>div{min-width:112px;padding:6px 8px;border-radius:7px}.ui-1366-standard .journal-total.ledger-total span{font-size:7px}.ui-1366-standard .journal-total.ledger-total strong{font-size:10px}.ui-1366-standard .template-list{gap:6px;margin-top:7px}.ui-1366-standard .template-card{gap:3px 7px;padding:7px 8px;border-radius:8px}.ui-1366-standard .template-card strong{font-size:9px}.ui-1366-standard .template-card span,.ui-1366-standard .template-card small{font-size:8px}.ui-1366-standard .ledger-inquiry>.card-title{padding:11px 13px}.ui-1366-standard .ledger-filters,.ui-1366-standard .ledger-voucher-search{padding:8px 13px}.ui-1366-standard .ledger-summary{margin:9px 13px 0;border-radius:8px}.ui-1366-standard .ledger-summary>div{padding:6px 8px}.ui-1366-standard .ledger-summary span{font-size:7px}.ui-1366-standard .ledger-summary strong{font-size:9px}.ui-1366-standard .ledger-inquiry .table-wrap{margin:9px 13px 13px}.ui-1366-standard .ledger-inquiry .empty-state{margin:0 13px 13px}

  .ui-1366-standard .report-summary{margin:0}.ui-1366-standard .report-summary div{padding:7px 9px}.ui-1366-standard .report-summary span{font-size:7.5px}.ui-1366-standard .report-summary strong{font-size:11px;margin-top:2px}.ui-1366-standard .report-summary.asset-summary{gap:1px}.ui-1366-standard .detail-grid.compact{margin-top:8px}.ui-1366-standard .detail-grid.compact>div{min-height:52px}
  .ui-1366-standard .master-tabs{gap:5px;margin:9px 0 8px}.ui-1366-standard .master-tab{min-height:29px;padding:5px 9px;font-size:8.5px}.ui-1366-standard .master-subhead{padding:8px 0 2px}.ui-1366-standard .checkbox-field{min-height:33px;padding:6px 8px;border-radius:7px}.ui-1366-standard .checkbox-field input{width:14px!important;min-height:14px!important}.ui-1366-standard .checkbox-field span{font-size:9px}.ui-1366-standard .empty-state{padding:14px 10px;font-size:9px}
}


/* SAHAD 035 R14 — FINAL desktop density baseline 1366x768
   Reference: runtime Kas Kecil Keluar screenshot approved by user.
   Scope: sizing only. No zoom/transform and no business-logic changes. */
@media (min-width:801px){
  .app-shell.ui-1366-standard{
    --ui1366-sidebar:236px;
    --ui1366-topbar:54px;
    --ui1366-control:32px;
    --ui1366-btn:30px;
    --ui1366-radius:9px;
    grid-template-columns:var(--ui1366-sidebar) minmax(0,1fr);
  }
  .app-shell.ui-1366-standard.collapsed{grid-template-columns:72px minmax(0,1fr)}
  .ui-1366-standard .sidebar{padding:12px 12px 10px}
  .ui-1366-standard .brand{min-height:56px;padding:0 4px 10px;gap:9px}
  .ui-1366-standard .brand-badge{width:40px;height:40px;min-width:40px;border-width:2px;box-shadow:0 0 0 1px rgba(255,255,255,.32)}
  .ui-1366-standard .brand-logo{width:100%;height:100%;object-fit:contain}
  .ui-1366-standard .brand-copy strong{font-size:11px;line-height:1.15}.ui-1366-standard .brand-copy small{font-size:8.5px;margin-top:2px}
  .ui-1366-standard .nav-menu{gap:4px;padding-top:10px}
  .ui-1366-standard .nav-menu a,.ui-1366-standard .nav-menu-final .nav-public-zone a{min-height:38px;padding:5px 8px;border-radius:8px;font-size:10.5px;gap:8px}
  .ui-1366-standard .nav-icon{width:25px;height:25px;min-width:25px;border-radius:7px;font-size:10px}
  .ui-1366-standard .nav-menu-final .nav-public-zone{margin-top:6px;padding-top:7px;gap:4px}
  .ui-1366-standard .sidebar-foot{padding:7px 8px;border-radius:8px;gap:6px}.ui-1366-standard .sidebar-foot strong{font-size:9.5px}.ui-1366-standard .sidebar-foot small{font-size:7.5px}

  .ui-1366-standard .topbar{height:var(--ui1366-topbar);padding:0 16px}
  .ui-1366-standard .topbar-left,.ui-1366-standard .topbar-right{gap:9px}
  .ui-1366-standard .icon-button{width:32px;height:32px;border-radius:8px;font-size:14px}
  .ui-1366-standard .search-box{height:32px;width:min(500px,48vw);padding:0 9px;border-radius:8px}
  .ui-1366-standard .search-box input{font-size:10px}
  .ui-1366-standard .period-box{padding-right:10px}.ui-1366-standard .period-box span{font-size:7.5px}.ui-1366-standard .period-box strong{font-size:9.5px;margin-top:1px}
  .ui-1366-standard .auth-user-area{gap:6px}.ui-1366-standard .user-chip{gap:6px}.ui-1366-standard .user-chip>span{width:32px;height:32px;border-radius:50%;font-size:9px}
  .ui-1366-standard .user-chip strong{font-size:10px}.ui-1366-standard .user-chip small{font-size:8px;margin-top:1px}
  .ui-1366-standard .logout-button{min-height:28px;padding:3px 8px;font-size:8.5px;border-radius:7px}

  .ui-1366-standard .content{max-width:none;width:100%;margin:0;padding:10px 16px 14px;font-size:10.5px}
  .ui-1366-standard .content>*{max-width:none}
  .ui-1366-standard .main-area>footer{min-height:28px;padding:7px 16px;font-size:8px}
  .ui-1366-standard .page-heading{gap:12px;margin-bottom:10px}
  .ui-1366-standard .page-heading h1{font-size:23px;margin:1px 0 3px;line-height:1.1}
  .ui-1366-standard .page-heading p{font-size:10px;line-height:1.35;max-width:780px}
  .ui-1366-standard .eyebrow{font-size:7.5px;letter-spacing:.09em}
  .ui-1366-standard .heading-actions{gap:6px}

  .ui-1366-standard .primary,.ui-1366-standard .secondary,.ui-1366-standard .quiet,.ui-1366-standard .link-action,
  .ui-1366-standard .content button:not(.icon-button):not(.help-fab):not(.ai-send):not(.ai-followup-pill){min-height:var(--ui1366-btn);padding:5px 10px;border-radius:7px;font-size:9px}
  .ui-1366-standard .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
  .ui-1366-standard .content select{height:var(--ui1366-control);min-height:var(--ui1366-control);padding:5px 8px;border-radius:7px;font-size:10px}
  .ui-1366-standard .content textarea{min-height:54px;padding:6px 8px;border-radius:7px;font-size:10px}
  .ui-1366-standard label,.ui-1366-standard .placeholder-form label,.ui-1366-standard .form-grid label,.ui-1366-standard .filter-row label,.ui-1366-standard .lookup-bar label,.ui-1366-standard .transaction-filter-grid label,.ui-1366-standard .transaction-form-grid label{font-size:9.5px;gap:4px;line-height:1.25}

  .ui-1366-standard .hero-card,.ui-1366-standard .status-card,.ui-1366-standard .panel{padding:11px 12px;margin-bottom:10px;border-radius:10px}
  .ui-1366-standard .hero-grid,.ui-1366-standard .dashboard-two-col,.ui-1366-standard .workspace-grid,.ui-1366-standard .user-management-grid,.ui-1366-standard .dashboard-identity-grid{gap:10px}
  .ui-1366-standard .card-title,.ui-1366-standard .section-heading{gap:8px}.ui-1366-standard .card-title h2,.ui-1366-standard .section-heading h2{font-size:14px}
  .ui-1366-standard .section-heading{margin-bottom:8px}
  .ui-1366-standard .form-grid,.ui-1366-standard .placeholder-form,.ui-1366-standard .transaction-form-grid{gap:8px 10px;margin-top:9px}
  .ui-1366-standard .filter-row,.ui-1366-standard .lookup-bar,.ui-1366-standard .compact-filter-row{gap:6px;margin:7px 0 8px}
  .ui-1366-standard .form-actions,.ui-1366-standard .button-row,.ui-1366-standard .row-action-stack{gap:5px;margin-top:8px}
  .ui-1366-standard .small-note,.ui-1366-standard .muted,.ui-1366-standard .field-help,.ui-1366-standard .table-subtext{font-size:8px;line-height:1.3}
  .ui-1366-standard .feedback,.ui-1366-standard .alert,.ui-1366-standard .integrity-note,.ui-1366-standard .scope-note{padding:7px 9px;font-size:8.5px;border-radius:8px;margin-top:7px}

  .ui-1366-standard .table-wrap{margin-top:7px;border-radius:8px}
  .ui-1366-standard table{font-size:9px}
  .ui-1366-standard th,.ui-1366-standard td{padding:5px 7px;font-size:9px;line-height:1.25}
  .ui-1366-standard th{font-size:8px}
  .ui-1366-standard .master-table,.ui-1366-standard .transaction-table,.ui-1366-standard .voucher-table,.ui-1366-standard .report-table{font-size:9px}
  .ui-1366-standard .master-table th,.ui-1366-standard .transaction-table th,.ui-1366-standard .voucher-table th,.ui-1366-standard .report-table th{font-size:8px;padding:5px 7px}
  .ui-1366-standard .master-table td,.ui-1366-standard .transaction-table td,.ui-1366-standard .voucher-table td,.ui-1366-standard .report-table td{font-size:9px;padding:5px 7px}

  /* Canonical menu/card density */
  .ui-1366-standard .menu-grid{gap:9px}.ui-1366-standard .menu-card{min-height:100px;padding:11px;grid-template-columns:39px minmax(0,1fr) 13px;gap:8px;border-radius:10px}
  .ui-1366-standard .menu-icon{width:38px;height:38px;border-radius:9px;font-size:10px}.ui-1366-standard .menu-copy strong{font-size:11px;margin-bottom:3px}.ui-1366-standard .menu-copy small{font-size:8px;line-height:1.3}.ui-1366-standard .menu-arrow{font-size:17px}
  .ui-1366-standard .shortcut-grid{gap:8px}.ui-1366-standard .shortcut-card{padding:10px;grid-template-columns:36px minmax(0,1fr);column-gap:8px;border-radius:9px}.ui-1366-standard .shortcut-icon{width:36px;height:36px;border-radius:8px;font-size:10px}.ui-1366-standard .shortcut-card strong{font-size:10px}.ui-1366-standard .shortcut-card small{font-size:8px}
  .ui-1366-standard .kb-card-grid{gap:9px}.ui-1366-standard .kb-card{min-height:142px;padding:11px 11px 9px;border-radius:10px}.ui-1366-standard .kb-card:before{top:11px;bottom:11px;width:3px}
  .ui-1366-standard .kb-card-icon{width:46px;height:46px;border-radius:11px;margin-bottom:8px}.ui-1366-standard .kb-card-icon svg{width:25px;height:25px}
  .ui-1366-standard .kb-card-copy{gap:4px;min-height:50px}.ui-1366-standard .kb-card-copy h3{font-size:11px;line-height:1.2}.ui-1366-standard .kb-card-copy p{font-size:8px;line-height:1.3}.ui-1366-standard .kb-card-button{min-width:70px;height:28px;min-height:28px;padding:0 9px;font-size:8.5px}

  /* Transaction pages follow the approved Kas Kecil Keluar density */
  .ui-1366-standard .cb-entry-shell.cb-compact-1366{gap:9px;margin-top:0}
  .ui-1366-standard .cb-compact-1366 .cb-actionbar{gap:10px;padding:7px 12px;border-radius:10px}
  .ui-1366-standard .cb-compact-1366 .cb-btn{height:30px;min-height:30px;padding:0 10px;font-size:9px;border-radius:7px}
  .ui-1366-standard .cb-compact-1366 .cb-print-options{min-width:205px;padding-left:12px;gap:4px 12px}.ui-1366-standard .cb-compact-1366 .cb-print-options strong,.ui-1366-standard .cb-compact-1366 .cb-print-options label{font-size:9px}
  .ui-1366-standard .cb-compact-1366 .cb-search-title{min-height:48px;padding:6px 12px;border-radius:10px;grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr)}
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1{font-size:18px}.ui-1366-standard .cb-compact-1366 .cb-voucher-search strong{font-size:9px}
  .ui-1366-standard .cb-compact-1366 .cb-header-card{padding:11px 15px;border-radius:10px}.ui-1366-standard .cb-compact-1366 .cb-header-grid{grid-template-columns:minmax(200px,.82fr) minmax(245px,1.02fr) minmax(300px,1.18fr);gap:8px 24px}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label{grid-template-columns:125px minmax(0,1fr);gap:8px;font-size:9px}.ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{min-height:54px}
  .ui-1366-standard .cb-compact-1366 .cb-field-note{min-height:30px;padding:5px 8px}.ui-1366-standard .cb-compact-1366 .cb-field-note strong,.ui-1366-standard .cb-compact-1366 .cb-field-note span{font-size:8px}
  .ui-1366-standard .cb-compact-1366 .cb-journal-card{padding:9px 12px 8px;border-radius:10px}.ui-1366-standard .cb-compact-1366 .cb-journal-top{gap:12px;margin-bottom:6px}.ui-1366-standard .cb-compact-1366 .cb-journal-top h2{margin:0 0 5px;font-size:14px}
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn{height:28px;min-height:28px;padding:0 8px;font-size:8.5px}.ui-1366-standard .cb-compact-1366 .cb-account-tools>span{font-size:7.5px}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{height:31px;padding:4px 6px;font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td{padding:4px 6px;font-size:9px}.ui-1366-standard .cb-compact-1366 .cb-journal-table input,.ui-1366-standard .cb-compact-1366 .cb-journal-table select{height:29px;min-height:29px;font-size:9px;padding:4px 6px}.ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{padding:5px 6px;font-size:9px}.ui-1366-standard .cb-compact-1366 .cb-journal-foot{margin-top:5px;font-size:7.5px}

  /* Specialized views use the same 1366 rhythm */
  .ui-1366-standard .master-toolbar,.ui-1366-standard .master-form-head,.ui-1366-standard .detail-title{gap:8px;padding-bottom:7px}.ui-1366-standard .master-toolbar h2,.ui-1366-standard .master-form-head h2,.ui-1366-standard .detail-title h2{font-size:13px}.ui-1366-standard .master-toolbar small,.ui-1366-standard .master-form-head small{font-size:8px}
  .ui-1366-standard .detail-grid{gap:7px}.ui-1366-standard .detail-grid>div{padding:8px 9px;min-height:50px}
  .ui-1366-standard .transaction-filter-grid{gap:7px;padding:8px 0}.ui-1366-standard .transaction-summary-strip{margin-bottom:7px}.ui-1366-standard .transaction-summary-strip>div{padding:7px 8px}
  .ui-1366-standard .report-options-shell{gap:8px}.ui-1366-standard .report-group-banner{gap:12px;padding:12px 14px}.ui-1366-standard .report-group-banner h2{font-size:19px}.ui-1366-standard .report-options-card{padding:12px 14px}.ui-1366-standard .report-options-grid{gap:8px 10px}
  .ui-1366-standard .user-stat-grid{gap:7px;margin-bottom:9px}.ui-1366-standard .user-stat-card{min-height:68px;padding:9px}.ui-1366-standard .user-stat-card strong{font-size:16px}
  .ui-1366-standard .dashboard-modern-heading h1{font-size:23px}.ui-1366-standard .dashboard-kpi-grid{gap:7px;margin-bottom:7px}.ui-1366-standard .dashboard-kpi-card{min-height:68px;padding:8px;grid-template-columns:33px minmax(0,1fr) auto;gap:7px}.ui-1366-standard .dashboard-kpi-icon{width:33px;height:33px}.ui-1366-standard .dashboard-insight-grid,.ui-1366-standard .dashboard-bottom-grid{gap:7px;margin-bottom:7px}.ui-1366-standard .dashboard-chart-panel,.ui-1366-standard .dashboard-fund-panel,.ui-1366-standard .dashboard-transactions-panel,.ui-1366-standard .dashboard-reminder-panel{padding:9px}

  .help-root{right:12px;bottom:12px}.help-fab{min-width:128px;padding:6px 9px;border-radius:10px;gap:6px}.help-fab>span{width:28px;height:28px;border-radius:8px;font-size:13px}.help-fab strong{font-size:9.5px}.help-fab small{font-size:7.5px}
}


/* SAHAD 035 R15 — CashBank popup-only account picker + tighter 1366 layout */
.cb-account-search-row{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px 10px;align-items:center;margin:0 0 8px}.cb-account-search-row>label{font-size:10px;font-weight:800;color:#2d3138}.cb-account-search-row>small{grid-column:2;color:#7b838e;font-size:8px;line-height:1.35}.cb-account-search-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.cb-account-search-bar input{width:100%;height:28px;min-height:28px;border:1px solid #dfe3e8;border-radius:7px;background:#fafbfc;padding:0 9px;color:#616a75;font-size:9px}
.cb-code-display{width:100%;height:26px;display:flex;align-items:center;justify-content:flex-start;border:1px solid #dfe3e8;border-radius:7px;background:#fafbfc;padding:0 8px;color:#39414a;font-size:9px;cursor:pointer}.cb-code-display:hover{background:#f4f6f8}.cb-code-display span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ui-1366-standard .cb-compact-1366 .cb-actionbar{gap:8px;padding:6px 10px;border-radius:10px}
.ui-1366-standard .cb-compact-1366 .cb-btn{height:24px;min-height:24px;padding:0 8px;font-size:8px;border-radius:6px;gap:4px}
.ui-1366-standard .cb-compact-1366 .cb-print-options{min-width:190px;padding-left:10px;gap:3px 10px}.ui-1366-standard .cb-compact-1366 .cb-print-options strong,.ui-1366-standard .cb-compact-1366 .cb-print-options label{font-size:8px}
.ui-1366-standard .cb-compact-1366 .cb-search-title{min-height:42px;padding:5px 10px;border-radius:10px;grid-template-columns:minmax(280px,1fr) auto minmax(260px,1fr)}
.ui-1366-standard .cb-compact-1366 .cb-search-title h1{font-size:15px}.ui-1366-standard .cb-compact-1366 .cb-voucher-search{gap:6px}.ui-1366-standard .cb-compact-1366 .cb-voucher-search strong{font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-voucher-search input,.ui-1366-standard .cb-compact-1366 .cb-search-btn{height:26px;min-height:26px;font-size:8px;padding:0 8px}
.ui-1366-standard .cb-compact-1366 .cb-header-card{padding:9px 12px;border-radius:10px}.ui-1366-standard .cb-compact-1366 .cb-header-grid{grid-template-columns:minmax(190px,.82fr) minmax(225px,1.02fr) minmax(275px,1.18fr);gap:7px 18px}
.ui-1366-standard .cb-compact-1366 .cb-header-grid label{grid-template-columns:115px minmax(0,1fr);gap:7px;font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-header-grid input,.ui-1366-standard .cb-compact-1366 .cb-header-grid select{height:26px;min-height:26px;padding:4px 7px;font-size:8px;border-radius:7px}.ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{min-height:44px;padding:5px 7px;font-size:8px;border-radius:7px}.ui-1366-standard .cb-compact-1366 .cb-description-field small,.ui-1366-standard .cb-compact-1366 .cb-unit-scope-note{font-size:7px}
.ui-1366-standard .cb-compact-1366 .cb-field-note{min-height:26px;padding:4px 7px;border-radius:7px}.ui-1366-standard .cb-compact-1366 .cb-field-note strong,.ui-1366-standard .cb-compact-1366 .cb-field-note span{font-size:7.5px}
.ui-1366-standard .cb-compact-1366 .cb-journal-card{padding:8px 10px 7px;border-radius:10px}.ui-1366-standard .cb-compact-1366 .cb-journal-top{gap:10px;margin-bottom:4px}.ui-1366-standard .cb-compact-1366 .cb-journal-top h2{margin:0 0 2px;font-size:12px}
.ui-1366-standard .cb-compact-1366 .cb-account-search-row{grid-template-columns:115px minmax(0,1fr);gap:6px 8px;margin:0 0 6px}.ui-1366-standard .cb-compact-1366 .cb-account-search-row>label{font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-account-search-row>small{font-size:7px}.ui-1366-standard .cb-compact-1366 .cb-account-search-bar{gap:6px}.ui-1366-standard .cb-compact-1366 .cb-account-search-bar input{height:24px;min-height:24px;font-size:8px;padding:0 7px}.ui-1366-standard .cb-compact-1366 .cb-tool-btn{height:24px;min-height:24px;padding:0 7px;font-size:8px;border-radius:6px}.ui-1366-standard .cb-compact-1366 .cb-account-tools>span{font-size:7px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table{min-width:1000px}.ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{height:26px;padding:3px 5px;font-size:7.5px}.ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td{padding:3px 5px;font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-journal-table input,.ui-1366-standard .cb-compact-1366 .cb-journal-table select{height:24px;min-height:24px;font-size:8px;padding:3px 5px;border-radius:6px}.ui-1366-standard .cb-compact-1366 .cb-code-display{height:24px;font-size:8px;padding:0 6px;border-radius:6px}.ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{padding:4px 5px;font-size:8px}.ui-1366-standard .cb-compact-1366 .cb-row-actions{gap:4px}.ui-1366-standard .cb-compact-1366 .cb-row-actions button{width:24px;height:24px;border-radius:5px;font-size:10px}.ui-1366-standard .cb-compact-1366 .auto-chip{height:18px;padding:0 5px;font-size:7px}.ui-1366-standard .cb-compact-1366 .lock-mark{font-size:9px}.ui-1366-standard .cb-compact-1366 .cb-journal-foot{margin-top:4px;font-size:7px}
.ui-1366-standard .cb-compact-1366 .cb-modal-head h2{font-size:17px}.ui-1366-standard .cb-compact-1366 .cb-modal-head p,.ui-1366-standard .cb-compact-1366 .cb-modal-search strong,.ui-1366-standard .cb-compact-1366 .cb-history-empty,.ui-1366-standard .cb-compact-1366 .cb-history-row small,.ui-1366-standard .cb-compact-1366 .cb-history-row span{font-size:8px}


/* SAHAD 035 R16 — final compact cash/bank transaction layout */
.ui-1366-standard .cb-compact-1366 .cb-account-search-button-only{grid-template-columns:115px auto minmax(0,1fr);align-items:center;gap:6px 10px;margin-bottom:6px}
.ui-1366-standard .cb-compact-1366 .cb-account-search-button-only>small{grid-column:auto;font-size:7px}
.ui-1366-standard .cb-compact-1366 .cb-voucher-search input,.ui-1366-standard .cb-compact-1366 .cb-search-btn{height:21px;min-height:21px;padding:0 7px;font-size:8px}
.ui-1366-standard .cb-compact-1366 .cb-header-grid input,.ui-1366-standard .cb-compact-1366 .cb-header-grid select{height:21px;min-height:21px;padding:2px 6px;font-size:8px}
.ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{min-height:35px;padding:4px 6px;font-size:8px;line-height:1.25}
.ui-1366-standard .cb-compact-1366 .cb-field-note{min-height:21px;padding:3px 6px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table input,.ui-1366-standard .cb-compact-1366 .cb-journal-table select{height:20px;min-height:20px;padding:2px 5px;font-size:8px}
.ui-1366-standard .cb-compact-1366 .cb-code-display{height:20px;min-height:20px;font-size:8px;padding:0 6px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{height:24px;padding:3px 5px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td{padding:3px 5px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{height:26px;padding:3px 5px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:34px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:155px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:170px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:360px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:125px}
.ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(7){width:54px;text-align:center}
.ui-1366-standard .cb-compact-1366 .cb-journal-table td:nth-child(7){text-align:center}
.ui-1366-standard .cb-compact-1366 .cb-row-actions button{width:20px;height:20px;font-size:9px}

/* SAHAD 035 R17 — Jurnal Memorial compact 1366x768 */
@media (min-width:801px){
  .ui-1366-standard .jm-entry-shell.jm-compact-1366{gap:9px;margin-top:0}
  .ui-1366-standard .jm-compact-1366 .cb-actionbar{padding:6px 10px;border-radius:10px;gap:8px}
  .ui-1366-standard .jm-compact-1366 .cb-action-buttons{gap:5px;flex-wrap:nowrap}
  .ui-1366-standard .jm-compact-1366 .cb-btn{height:24px;min-height:24px;padding:0 8px;font-size:8px;border-radius:6px;gap:4px}
  .ui-1366-standard .jm-compact-1366 .cb-search-title{min-height:42px;padding:5px 10px;border-radius:10px;grid-template-columns:minmax(280px,1fr) auto minmax(260px,1fr)}
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1{font-size:15px}
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search{gap:6px}
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong{font-size:8px}
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,.ui-1366-standard .jm-compact-1366 .cb-search-btn{height:26px;min-height:26px;font-size:8px;padding:0 8px}
  .ui-1366-standard .jm-compact-1366 .jm-header-card{padding:9px 12px;border-radius:10px}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid{grid-template-columns:minmax(210px,.95fr) minmax(230px,1fr) minmax(250px,1.05fr);gap:7px 18px}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{grid-template-columns:105px minmax(0,1fr);gap:7px;font-size:8px}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,.ui-1366-standard .jm-compact-1366 .jm-header-grid select{height:24px;min-height:24px;padding:3px 7px;font-size:8px;border-radius:6px}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea{min-height:44px;padding:5px 7px;font-size:8px;border-radius:6px}
  .ui-1366-standard .jm-compact-1366 .jm-template-field{grid-column:1/2;max-width:none}
  .ui-1366-standard .jm-compact-1366 .jm-inline-field{gap:5px}
  .ui-1366-standard .jm-compact-1366 .jm-inline-field .cb-tool-btn{height:24px;min-height:24px;padding:0 7px;font-size:8px}
  .ui-1366-standard .jm-compact-1366 .jm-description-field{grid-column:1/3}
  .ui-1366-standard .jm-compact-1366 .jm-description-field small,.ui-1366-standard .jm-compact-1366 .jm-unit-scope-note{font-size:7px}
  .ui-1366-standard .jm-compact-1366 .cb-field-note{min-height:24px;padding:3px 7px;border-radius:6px}
  .ui-1366-standard .jm-compact-1366 .cb-field-note strong,.ui-1366-standard .jm-compact-1366 .cb-field-note span{font-size:7.5px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{padding:8px 10px 7px;border-radius:10px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-top{gap:10px;margin-bottom:5px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{margin:0 0 3px;font-size:12px}
  .ui-1366-standard .jm-compact-1366 .cb-account-tools,.ui-1366-standard .jm-compact-1366 .cb-line-actions{gap:5px}
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn{height:24px;min-height:24px;padding:0 7px;font-size:8px;border-radius:6px}
  .ui-1366-standard .jm-compact-1366 .cb-account-tools>span{font-size:7px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table{min-width:1000px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{height:25px;padding:3px 5px;font-size:7.5px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td{padding:3px 5px;font-size:8px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,.ui-1366-standard .jm-compact-1366 .cb-journal-table select{height:22px;min-height:22px;font-size:8px;padding:2px 5px;border-radius:5px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{height:25px;padding:3px 5px;font-size:8px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(1){width:34px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(2){width:155px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(3){width:165px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(4){width:370px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(5),.ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(6){width:120px}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table th:nth-child(7){width:52px;text-align:center}
  .ui-1366-standard .jm-compact-1366 .jm-journal-table td:nth-child(7){text-align:center}
  .ui-1366-standard .jm-compact-1366 .cb-code-picker{grid-template-columns:minmax(0,1fr) 24px}
  .ui-1366-standard .jm-compact-1366 .cb-code-picker button{font-size:10px}
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button{width:22px;height:22px;border-radius:5px;font-size:9px}
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot{padding-top:5px;font-size:7px}
  .ui-1366-standard .jm-compact-1366 .jm-last-voucher{padding:6px 8px;border-radius:8px;font-size:8px}
}

/* SAHAD 035 R21 — canonical Indonesian date UI: dd/mm/yyyy */
input[aria-invalid="true"][placeholder="dd/mm/yyyy"]{border-color:#b60016!important;box-shadow:0 0 0 1px rgba(182,0,22,.08)}
@media print{input[placeholder="dd/mm/yyyy"]{font-variant-numeric:tabular-nums}}

/* SAHAD 035 R22 — Cash/Bank transaction lookup popup + 80% button height */
.cb-voucher-modal{width:min(1080px,94vw);max-height:78vh;display:flex;flex-direction:column}
.cb-voucher-modal .cb-modal-head{flex:0 0 auto}
.cb-voucher-modal .cb-voucher-modal-search{flex:0 0 auto;grid-template-columns:24px minmax(0,1fr) auto}
.cb-voucher-list{flex:1 1 auto;min-height:0;overflow:auto;padding:8px 10px;background:#fff}
.cb-voucher-picker-table{width:100%;border-collapse:collapse;table-layout:fixed}
.cb-voucher-picker-table th,.cb-voucher-picker-table td{border-bottom:1px solid #e6e8eb;padding:7px 8px;text-align:left;vertical-align:middle;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cb-voucher-picker-table th{position:sticky;top:0;background:#f7f8f9;z-index:1;font-size:8px;color:#4a515a}
.cb-voucher-picker-table th:nth-child(1){width:145px}.cb-voucher-picker-table th:nth-child(2){width:90px}.cb-voucher-picker-table th:nth-child(3){width:72px}.cb-voucher-picker-table th:nth-child(4){width:220px}.cb-voucher-picker-table th:nth-child(6){width:115px}.cb-voucher-picker-table th:nth-child(7){width:58px}
.cb-voucher-picker-table tbody tr:hover{background:#fafbfc}

@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-btn{height:20px;min-height:20px;padding:0 6px;font-size:7.5px;border-radius:5px;gap:3px}
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons{gap:4px}
  .ui-1366-standard .cb-compact-1366 .cb-search-btn{height:17px;min-height:17px;padding:0 6px;font-size:7.5px;border-radius:5px}
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn{height:19px;min-height:19px;padding:0 6px;font-size:7.5px;border-radius:5px}
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button{width:18px;height:18px;min-height:18px;font-size:8px}
  .ui-1366-standard .cb-voucher-modal{width:min(1020px,92vw);max-height:72vh;border-radius:12px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head{padding:10px 13px}.ui-1366-standard .cb-voucher-modal .cb-modal-head h2{font-size:15px}.ui-1366-standard .cb-voucher-modal .cb-modal-head p{font-size:8px;margin:2px 0 0}.ui-1366-standard .cb-voucher-modal .cb-modal-head button{width:25px;height:25px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-search{padding:6px 10px}.ui-1366-standard .cb-voucher-modal .cb-modal-search input{height:24px;min-height:24px;font-size:8px}.ui-1366-standard .cb-voucher-modal .cb-tool-btn{height:20px;min-height:20px;padding:0 7px;font-size:7.5px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th,.ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table td{padding:5px 6px;font-size:8px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot{padding:7px 10px}.ui-1366-standard .cb-voucher-modal .cb-modal-foot>span{font-size:7.5px}.ui-1366-standard .cb-voucher-modal .cb-btn{height:20px;min-height:20px;padding:0 7px;font-size:7.5px}
}

/* SAHAD 035 R23 — Cash/Bank transaction readability +5px, controls keep R22 dimensions. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-btn{font-size:12.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1{font-size:20px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong{font-size:13px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-search-btn{font-size:13px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label{font-size:13px;line-height:1.05}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{font-size:13px;line-height:1.05}
  .ui-1366-standard .cb-compact-1366 .cb-description-field small,
  .ui-1366-standard .cb-compact-1366 .cb-unit-scope-note{font-size:12px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-field-note strong,
  .ui-1366-standard .cb-compact-1366 .cb-field-note span{font-size:12.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2{font-size:17px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label{font-size:13px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>small{font-size:12px;line-height:1.05}
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn{font-size:12.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{font-size:12.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{font-size:13px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display{font-size:13px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .auto-chip{font-size:12px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .lock-mark{font-size:14px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot{font-size:12px;line-height:1.05}
  .ui-1366-standard .cb-compact-1366 .cb-feedback{font-size:13px;line-height:1.15}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head h2{font-size:20px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head p,
  .ui-1366-standard .cb-voucher-modal .cb-modal-search input,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table td,
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot>span{font-size:13px}
  .ui-1366-standard .cb-voucher-modal .cb-tool-btn,
  .ui-1366-standard .cb-voucher-modal .cb-btn{font-size:12.5px;line-height:1}
}

/* SAHAD R26 PAGECODE permission matrix */
.pagecode-matrix{min-width:1500px}.pagecode-matrix th:not(:first-child),.pagecode-matrix td:not(:first-child){text-align:center;white-space:nowrap}.pagecode-matrix th:first-child{min-width:285px}.permission-route b{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}

/* R28 fix: robust GUID/string read for sync profile + tighten Kas/Bank header layout */
.cb-name-account-field{align-self:end}
.cb-description-under-bank{margin-top:-6px;align-self:start}
.cb-description-under-bank textarea{min-height:108px}
.cb-description-under-bank small{margin-top:2px}
.ui-1366-standard .cb-compact-1366 .cb-description-under-bank{margin-top:-5px}
.ui-1366-standard .cb-compact-1366 .cb-description-under-bank textarea{min-height:56px}

/* SAHAD R30 — transaction success popup, print-after-save, Indonesian money mask, +3px transaction fonts */
.cb-print-after-save{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap;font-weight:750;color:#30343a;margin:0 2px}
.cb-print-after-save input{width:13px!important;height:13px!important;min-height:0!important;margin:0!important;accent-color:#c90000}
.cb-success-backdrop{z-index:1200}
.cb-success-modal{width:min(420px,calc(100vw - 28px));background:#fff;border:1px solid #e1e5e9;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.2);padding:24px;text-align:center;display:grid;justify-items:center;gap:8px}
.cb-success-modal .cb-success-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e9f7ee;color:#087a37;font-size:28px;font-weight:900}
.cb-success-modal h2{margin:2px 0 0;font-size:20px}.cb-success-modal p{margin:0;color:#68717b}.cb-success-modal>strong{font-size:18px;letter-spacing:.3px}.cb-success-modal button{min-width:110px;margin-top:8px}.cb-success-modal small{color:#7c858f}
@media print{.cb-success-backdrop{display:none!important}}

/* R30 readability: +3px from R23 fonts. Control heights/widths are intentionally unchanged. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-btn{font-size:15.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save{font-size:15.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1{font-size:23px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-search-btn{font-size:16px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{font-size:16px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-description-field small,
  .ui-1366-standard .cb-compact-1366 .cb-unit-scope-note{font-size:15px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-field-note strong,
  .ui-1366-standard .cb-compact-1366 .cb-field-note span{font-size:15.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2{font-size:20px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label{font-size:16px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>small{font-size:15px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn{font-size:15.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{font-size:15.5px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display{font-size:16px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .auto-chip{font-size:15px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .lock-mark{font-size:17px;line-height:1}
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .cb-compact-1366 .cb-feedback{font-size:15px;line-height:1.05}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head h2{font-size:23px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head p,
  .ui-1366-standard .cb-voucher-modal .cb-modal-search input,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table td,
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot>span{font-size:16px}
  .ui-1366-standard .cb-voucher-modal .cb-tool-btn,
  .ui-1366-standard .cb-voucher-modal .cb-btn{font-size:15.5px;line-height:1}
}

/* SAHAD R35 — standard transaksi 1366x768.
   Authority visual: tinggi semua single-line control mengikuti field Tgl Transaksi.
   Caption dan isi field memakai skala font yang sama agar layout rapi/konsisten. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366{
    --tx-control-h:32px;
    --tx-font:16px;
    --tx-note-font:12px;
    --tx-radius:7px;
  }

  /* Toolbar + pencarian: satu tinggi standar. */
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .jm-compact-1366 .cb-btn,
  .ui-1366-standard .cb-compact-1366 .cb-search-btn,
  .ui-1366-standard .jm-compact-1366 .cb-search-btn,
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn,
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn{
    height:var(--tx-control-h);min-height:var(--tx-control-h);padding:0 10px;
    border-radius:var(--tx-radius);font-size:14px;line-height:1;align-items:center;
  }
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons,
  .ui-1366-standard .jm-compact-1366 .cb-action-buttons{align-items:center;gap:5px}
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save,
  .ui-1366-standard .jm-compact-1366 .cb-print-after-save{
    height:var(--tx-control-h);min-height:var(--tx-control-h);display:inline-flex!important;
    flex-direction:row!important;align-items:center!important;justify-content:center;gap:6px!important;
    margin:0 2px!important;padding:0 4px!important;white-space:nowrap!important;
    font-size:14px!important;line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save input,
  .ui-1366-standard .jm-compact-1366 .cb-print-after-save input{width:15px!important;height:15px!important;min-height:15px!important;padding:0!important;margin:0!important}

  .ui-1366-standard .cb-compact-1366 .cb-voucher-search,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search{align-items:center}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong{font-size:var(--tx-font);line-height:1.1}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input{
    height:var(--tx-control-h);min-height:var(--tx-control-h);padding:0 10px;
    border-radius:var(--tx-radius);font-size:var(--tx-font);line-height:1.1;
  }

  /* Header: Tgl Transaksi menjadi referensi tinggi dan ukuran font semua field. */
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    font-size:var(--tx-font);line-height:1.1;font-weight:750;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select{
    height:var(--tx-control-h);min-height:var(--tx-control-h);padding:0 10px;
    border-radius:var(--tx-radius);font-size:var(--tx-font);line-height:1.1;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea{
    min-height:68px;padding:8px 10px;border-radius:var(--tx-radius);
    font-size:var(--tx-font);line-height:1.25;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank{margin-top:0}
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank textarea{min-height:68px}
  .ui-1366-standard .cb-compact-1366 .cb-description-field small,
  .ui-1366-standard .cb-compact-1366 .cb-unit-scope-note,
  .ui-1366-standard .jm-compact-1366 .jm-unit-scope-note,
  .ui-1366-standard .jm-compact-1366 .jm-description-field small{font-size:var(--tx-note-font);line-height:1.15}
  .ui-1366-standard .cb-compact-1366 .cb-field-note,
  .ui-1366-standard .jm-compact-1366 .cb-field-note{min-height:var(--tx-control-h);padding:5px 9px;align-items:center}
  .ui-1366-standard .cb-compact-1366 .cb-field-note strong,
  .ui-1366-standard .cb-compact-1366 .cb-field-note span,
  .ui-1366-standard .jm-compact-1366 .cb-field-note strong,
  .ui-1366-standard .jm-compact-1366 .cb-field-note span{font-size:14px;line-height:1.1}

  /* Jurnal: single-line input/data mengikuti Tgl Transaksi. */
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools span{font-size:var(--tx-font);line-height:1.1}
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>small,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools span{font-size:var(--tx-note-font)}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{height:34px;font-size:15px;line-height:1.1;padding:4px 7px}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{font-size:var(--tx-font);line-height:1.1;padding:4px 7px}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    height:var(--tx-control-h);min-height:var(--tx-control-h);padding:0 8px;
    border-radius:var(--tx-radius);font-size:var(--tx-font);line-height:1.1;
  }
  .ui-1366-standard .jm-compact-1366 .cb-code-picker{grid-template-columns:minmax(0,1fr) var(--tx-control-h)}
  .ui-1366-standard .jm-compact-1366 .cb-code-picker button,
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button{
    width:var(--tx-control-h);height:var(--tx-control-h);min-height:var(--tx-control-h);font-size:13px;border-radius:var(--tx-radius)
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot{font-size:var(--tx-note-font);line-height:1.15}

  /* Judul/caption utama tetap hierarkis, tetapi baseline isi tetap 16px. */
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1{font-size:22px;line-height:1.05}
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{font-size:19px;line-height:1.05}
}

/* R35 extension — Transfer Antar Rekening memakai standar kontrol yang sama. */
@media (min-width:801px){
  .ui-1366-standard .transaction-form-card .transaction-form-grid label{font-size:16px;line-height:1.1;gap:6px}
  .ui-1366-standard .transaction-form-card .transaction-form-grid input,
  .ui-1366-standard .transaction-form-card .transaction-form-grid select{
    height:32px;min-height:32px;padding:0 10px;border-radius:7px;font-size:16px;line-height:1.1
  }
  .ui-1366-standard .transaction-form-card .transaction-form-grid textarea{
    min-height:68px;padding:8px 10px;border-radius:7px;font-size:16px;line-height:1.25
  }
  .ui-1366-standard .transaction-form-card .form-actions button,
  .ui-1366-standard .transaction-form-card .cb-print-after-save{height:32px;min-height:32px;font-size:14px;line-height:1}
}


/* R37 — approved transaction header geometry, applied consistently at 1366×768. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-header-card{
    padding:10px 14px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:minmax(305px,.95fr) minmax(365px,1.08fr) minmax(405px,1.18fr);
    column-gap:16px;
    row-gap:6px;
    align-items:start;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label{
    grid-template-columns:130px minmax(0,1fr);
    gap:6px;
    margin:0;
    align-items:center;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select{
    height:32px;
    min-height:32px;
    width:100%;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field{
    grid-row:span 2;
    align-items:start!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field textarea,
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank textarea{
    min-height:92px;
    resize:vertical;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank{
    margin-top:0;
  }
  .ui-1366-standard .cb-compact-1366 .cb-name-account-field{
    align-self:start;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    display:grid;
    grid-template-columns:130px minmax(0,1fr);
    column-gap:6px;
    row-gap:5px;
    align-items:center;
    min-height:32px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    grid-column:1 / -1;
    min-height:32px;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:8px;
    margin:0;
    font-size:16px;
    font-weight:750;
    color:#2f343b;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line input{
    width:16px!important;
    height:16px!important;
    min-height:16px!important;
    padding:0!important;
    margin:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    grid-column:1 / -1;
    height:32px;
    min-height:32px;
    width:100%;
    padding:0 10px;
    border:1px solid #dfe3e8;
    border-radius:7px;
    background:#fff;
    font-size:16px;
  }

  /* Transfer Antar Rekening: layout header mengikuti standard tiga kolom transaksi. */
  .ui-1366-standard .transaction-form-card{
    max-width:none;
  }
  .ui-1366-standard .transaction-form-card .transaction-form-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:16px;
    row-gap:6px;
    margin-top:10px;
  }
  .ui-1366-standard .transaction-form-card .transaction-form-grid label{
    gap:5px;
  }
  .ui-1366-standard .transaction-form-card .transaction-form-grid input,
  .ui-1366-standard .transaction-form-card .transaction-form-grid select{
    height:32px;
    min-height:32px;
  }
  .ui-1366-standard .transaction-form-card .transaction-form-grid textarea{
    min-height:92px;
  }

  /* Jurnal Memorial: rapatkan antar-komponen dan samakan tinggi single-line control. */
  .ui-1366-standard .jm-compact-1366 .jm-header-card{
    padding:10px 14px;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid{
    column-gap:16px;
    row-gap:6px;
    align-items:start;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    grid-template-columns:130px minmax(0,1fr);
    gap:6px;
    margin:0;
    align-items:center;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select{
    height:32px;
    min-height:32px;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea{
    min-height:92px;
  }
}

/* R38 — tighten header vertical rhythm and equalize page text with journal row baseline */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    row-gap:2px;
    column-gap:14px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display{
    font-size:17px;
    line-height:1.05;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    font-size:17px;
    line-height:1.05;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label{
    gap:4px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    row-gap:2px;
    column-gap:4px;
    min-height:32px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-name-account-field,
  .ui-1366-standard .cb-compact-1366 .cb-description-field,
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank{
    margin-top:0;
  }
}

/* R39 — standardize typography and spacing for 1366×768 transaction UI */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card{
    --tx-std-font:16px;
    --tx-std-line:1.15;
    --tx-std-gap-x:12px;
    --tx-std-gap-y:4px;
    --tx-std-control-h:32px;
    --tx-std-radius:7px;
    font-size:var(--tx-std-font);
    line-height:var(--tx-std-line);
  }

  /* section titles only slightly larger */
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1,
  .ui-1366-standard .transaction-form-card .page-title,
  .ui-1366-standard .transaction-form-card .card-title{
    font-size:22px;
    line-height:1.08;
    font-weight:800;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .transaction-form-card h2{
    font-size:18px;
    line-height:1.1;
    font-weight:800;
  }

  /* header/search/action typography consistency */
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line,
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools,
  .ui-1366-standard .transaction-form-card label,
  .ui-1366-standard .transaction-form-card .form-label{
    font-size:var(--tx-std-font);
    line-height:var(--tx-std-line);
    font-weight:700;
  }

  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display,
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-form-card button{
    font-size:var(--tx-std-font);
    line-height:var(--tx-std-line);
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid,
  .ui-1366-standard .transaction-form-card .transaction-form-grid{
    column-gap:var(--tx-std-gap-x);
    row-gap:var(--tx-std-gap-y);
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .transaction-form-card .transaction-form-grid label{
    gap:5px;
    margin:0;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display,
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select{
    height:var(--tx-std-control-h);
    min-height:var(--tx-std-control-h);
    padding:0 10px;
    border-radius:var(--tx-std-radius);
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .transaction-form-card textarea{
    min-height:92px;
    padding:8px 10px;
    border-radius:var(--tx-std-radius);
    resize:vertical;
  }

  /* keep keterangan height and align fields */
  .ui-1366-standard .cb-compact-1366 .cb-description-field,
  .ui-1366-standard .cb-compact-1366 .cb-description-under-bank,
  .ui-1366-standard .jm-compact-1366 .jm-description-field,
  .ui-1366-standard .transaction-form-card .description-field{
    align-self:start;
    margin-top:0;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid label>small,
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>small,
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid label>small,
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot,
  .ui-1366-standard .transaction-form-card small{
    font-size:14px;
    line-height:1.15;
  }

  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    font-size:16px;
    line-height:1.1;
    height:34px;
    padding:4px 7px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{
    font-size:16px;
    line-height:1.15;
    padding:4px 7px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-code-picker button,
  .ui-1366-standard .transaction-form-card .form-actions button{
    height:var(--tx-std-control-h);
    min-height:var(--tx-std-control-h);
    font-size:14px;
    line-height:1;
    border-radius:var(--tx-std-radius);
  }

  /* precise header geometry for cash/bank pages */
  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card,
  .ui-1366-standard .transaction-form-card{
    padding:10px 14px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:minmax(300px,.95fr) minmax(360px,1.06fr) minmax(370px,1.08fr);
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    grid-template-columns:145px minmax(0,1fr);
    align-items:center;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    display:grid;
    grid-template-columns:145px minmax(0,1fr);
    column-gap:5px;
    row-gap:4px;
    align-items:start;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    grid-column:1 / -1;
    min-height:var(--tx-std-control-h);
    gap:8px;
    margin:0;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    grid-column:1 / -1;
  }

  /* normalize top toolbars/search bar appearance */
  .ui-1366-standard .cb-compact-1366 .cb-topbar button,
  .ui-1366-standard .jm-compact-1366 .cb-topbar button,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search button{
    height:var(--tx-std-control-h);
    min-height:var(--tx-std-control-h);
  }
}

/* R40 — GLOBAL VISUAL CONSISTENCY STANDARD
   Authority: 1366x768 desktop baseline. Browser zoom remains native; no transform/zoom scaling.
   One typography/control/spacing system across sidebar, topbar, menu hub, forms, details, tables,
   reports, dialogs, and transaction pages. Only titles use a larger hierarchy. */
@media (min-width:801px){
  .app-shell.ui-1366-standard{
    --ui41-font:13px;
    --ui41-note:11px;
    --ui41-title:21px;
    --ui41-section:17px;
    --ui41-control-h:32px;
    --ui41-btn-h:32px;
    --ui41-gap-xs:4px;
    --ui41-gap-sm:6px;
    --ui41-gap-md:10px;
    --ui41-gap-lg:14px;
    --ui41-radius:8px;
    --ui41-panel-radius:10px;
    --ui41-panel-pad:12px;
    --ui41-sidebar:236px;
    --ui41-topbar:54px;
    grid-template-columns:var(--ui41-sidebar) minmax(0,1fr);
  }

  /* Global ordinary text baseline. */
  .ui-1366-standard .sidebar,
  .ui-1366-standard .topbar,
  .ui-1366-standard .content,
  .ui-1366-standard .main-area>footer,
  .ui-1366-standard .panel,
  .ui-1366-standard .hero-card,
  .ui-1366-standard .status-card,
  .ui-1366-standard .menu-card,
  .ui-1366-standard .shortcut-card,
  .ui-1366-standard .kb-card,
  .ui-1366-standard .help-panel,
  .ui-1366-standard .ai-help-panel,
  .ui-1366-standard .cb-modal-backdrop,
  .ui-1366-standard .modal-backdrop{
    font-size:var(--ui41-font);
    line-height:1.2;
  }

  /* Sidebar: same menu height, type size, gap and radius. */
  .ui-1366-standard .sidebar{padding:12px 12px 10px}
  .ui-1366-standard .brand{min-height:54px;padding:0 4px 9px;gap:9px}
  .ui-1366-standard .brand-copy strong{font-size:var(--ui41-font);line-height:1.1}
  .ui-1366-standard .brand-copy small{font-size:var(--ui41-note);line-height:1.1;margin-top:2px}
  .ui-1366-standard .nav-menu{gap:var(--ui41-gap-xs);padding-top:9px}
  .ui-1366-standard .nav-menu a,
  .ui-1366-standard .nav-menu-final .nav-public-zone a{
    min-height:38px;padding:5px 8px;border-radius:var(--ui41-radius);
    font-size:var(--ui41-font);line-height:1.05;gap:8px;
  }
  .ui-1366-standard .nav-icon{width:25px;height:25px;min-width:25px;border-radius:7px;font-size:13px}
  .ui-1366-standard .nav-menu-final .nav-public-zone{margin-top:6px;padding-top:7px;gap:var(--ui41-gap-xs)}
  .ui-1366-standard .sidebar-foot{padding:7px 8px;border-radius:var(--ui41-radius);gap:7px}
  .ui-1366-standard .sidebar-foot strong{font-size:var(--ui41-font);line-height:1.05}
  .ui-1366-standard .sidebar-foot small{font-size:var(--ui41-note);line-height:1.05;margin-top:2px}

  /* Topbar: controls and text share one rhythm. */
  .ui-1366-standard .topbar{height:var(--ui41-topbar);padding:0 16px}
  .ui-1366-standard .topbar-left,.ui-1366-standard .topbar-right{gap:var(--ui41-gap-md)}
  .ui-1366-standard .icon-button{width:var(--ui41-control-h);height:var(--ui41-control-h);border-radius:var(--ui41-radius);font-size:var(--ui41-font)}
  .ui-1366-standard .search-box{height:var(--ui41-control-h);width:min(500px,48vw);padding:0 9px;border-radius:var(--ui41-radius)}
  .ui-1366-standard .search-box input{font-size:var(--ui41-font);line-height:1.1}
  .ui-1366-standard .period-box{padding-right:10px}
  .ui-1366-standard .period-box span{font-size:var(--ui41-note);line-height:1.05}
  .ui-1366-standard .period-box strong{font-size:var(--ui41-font);line-height:1.05;margin-top:1px}
  .ui-1366-standard .user-chip{gap:7px}
  .ui-1366-standard .user-chip>span{width:32px;height:32px;font-size:var(--ui41-font)}
  .ui-1366-standard .user-chip strong{font-size:var(--ui41-font);line-height:1.05}
  .ui-1366-standard .user-chip small{font-size:var(--ui41-note);line-height:1.05;margin-top:1px}
  .ui-1366-standard .logout-button{height:var(--ui41-btn-h);min-height:var(--ui41-btn-h);padding:0 10px;font-size:var(--ui41-font);border-radius:var(--ui41-radius)}

  /* Main content spacing and title hierarchy. */
  .ui-1366-standard .content{max-width:none;width:100%;margin:0;padding:10px 16px 14px;font-size:var(--ui41-font)}
  .ui-1366-standard .main-area>footer{min-height:28px;padding:7px 16px;font-size:var(--ui41-note)}
  .ui-1366-standard .page-heading{gap:var(--ui41-gap-lg);margin-bottom:var(--ui41-gap-md)}
  .ui-1366-standard .page-heading h1,
  .ui-1366-standard .dashboard-modern-heading h1{font-size:var(--ui41-title);line-height:1.08;margin:1px 0 3px}
  .ui-1366-standard .page-heading p{font-size:var(--ui41-font);line-height:1.3;max-width:850px}
  .ui-1366-standard .eyebrow{font-size:var(--ui41-note);line-height:1.05;letter-spacing:.08em}
  .ui-1366-standard .heading-actions{gap:var(--ui41-gap-sm)}
  .ui-1366-standard h2,
  .ui-1366-standard .card-title h2,
  .ui-1366-standard .section-heading h2,
  .ui-1366-standard .master-toolbar h2,
  .ui-1366-standard .master-form-head h2,
  .ui-1366-standard .detail-title h2,
  .ui-1366-standard .dashboard-panel-head h2{font-size:var(--ui41-section);line-height:1.1}

  /* One standard for ordinary buttons and controls. */
  .ui-1366-standard .primary,
  .ui-1366-standard .secondary,
  .ui-1366-standard .quiet,
  .ui-1366-standard .link-action,
  .ui-1366-standard .content button:not(.icon-button):not(.help-fab):not(.ai-send):not(.ai-followup-pill),
  .ui-1366-standard .button-link{
    min-height:var(--ui41-btn-h);height:auto;padding:5px 10px;
    border-radius:var(--ui41-radius);font-size:var(--ui41-font);line-height:1.05;
  }
  .ui-1366-standard .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
  .ui-1366-standard .content select,
  .ui-1366-standard .help-body input{
    height:var(--ui41-control-h);min-height:var(--ui41-control-h);
    padding:5px 8px;border-radius:var(--ui41-radius);font-size:var(--ui41-font);line-height:1.1;
  }
  .ui-1366-standard .content textarea,
  .ui-1366-standard .help-body textarea{
    min-height:68px;padding:7px 8px;border-radius:var(--ui41-radius);
    font-size:var(--ui41-font);line-height:1.2;
  }
  .ui-1366-standard label,
  .ui-1366-standard .placeholder-form label,
  .ui-1366-standard .form-grid label,
  .ui-1366-standard .filter-row label,
  .ui-1366-standard .lookup-bar label,
  .ui-1366-standard .transaction-filter-grid label,
  .ui-1366-standard .transaction-form-grid label{
    font-size:var(--ui41-font);line-height:1.15;gap:var(--ui41-gap-xs);
  }
  .ui-1366-standard .small-note,
  .ui-1366-standard .muted,
  .ui-1366-standard .field-help,
  .ui-1366-standard .table-subtext,
  .ui-1366-standard small{font-size:var(--ui41-note);line-height:1.2}

  /* Panels/forms/detail: one spacing system. */
  .ui-1366-standard .hero-card,
  .ui-1366-standard .status-card,
  .ui-1366-standard .panel,
  .ui-1366-standard .report-options-card,
  .ui-1366-standard .master-list-panel,
  .ui-1366-standard .master-form-card{
    padding:var(--ui41-panel-pad);margin-bottom:var(--ui41-gap-md);border-radius:var(--ui41-panel-radius);
  }
  .ui-1366-standard .hero-grid,
  .ui-1366-standard .dashboard-two-col,
  .ui-1366-standard .workspace-grid,
  .ui-1366-standard .user-management-grid,
  .ui-1366-standard .dashboard-identity-grid,
  .ui-1366-standard .dashboard-insight-grid,
  .ui-1366-standard .dashboard-bottom-grid{gap:var(--ui41-gap-md)}
  .ui-1366-standard .form-grid,
  .ui-1366-standard .placeholder-form,
  .ui-1366-standard .transaction-form-grid,
  .ui-1366-standard .report-options-grid{gap:var(--ui41-gap-sm) var(--ui41-gap-md);margin-top:var(--ui41-gap-sm)}
  .ui-1366-standard .filter-row,
  .ui-1366-standard .lookup-bar,
  .ui-1366-standard .compact-filter-row,
  .ui-1366-standard .form-actions,
  .ui-1366-standard .button-row,
  .ui-1366-standard .row-action-stack{gap:var(--ui41-gap-sm)}
  .ui-1366-standard .master-toolbar,
  .ui-1366-standard .master-form-head,
  .ui-1366-standard .detail-title{gap:var(--ui41-gap-md);padding-bottom:var(--ui41-gap-sm)}
  .ui-1366-standard .master-toolbar small,
  .ui-1366-standard .master-form-head small{font-size:var(--ui41-note)}
  .ui-1366-standard .detail-grid{gap:var(--ui41-gap-sm)}
  .ui-1366-standard .detail-grid>div{padding:8px 9px;min-height:50px;border-radius:var(--ui41-radius)}
  .ui-1366-standard .detail-grid span,
  .ui-1366-standard .detail-grid strong{font-size:var(--ui41-font);line-height:1.15}

  /* Menu hub/cards use ordinary text size; title only slightly larger. */
  .ui-1366-standard .menu-grid{gap:var(--ui41-gap-md)}
  .ui-1366-standard .menu-card{
    min-height:98px;padding:11px;grid-template-columns:40px minmax(0,1fr) 16px;
    gap:var(--ui41-gap-md);border-radius:var(--ui41-panel-radius);
  }
  .ui-1366-standard .menu-icon{width:40px;height:40px;border-radius:var(--ui41-radius);font-size:var(--ui41-font)}
  .ui-1366-standard .menu-copy strong{font-size:var(--ui41-font);line-height:1.1;margin-bottom:3px}
  .ui-1366-standard .menu-copy small{font-size:var(--ui41-note);line-height:1.25}
  .ui-1366-standard .menu-arrow{font-size:18px}
  .ui-1366-standard .shortcut-grid,.ui-1366-standard .kb-card-grid{gap:var(--ui41-gap-md)}
  .ui-1366-standard .shortcut-card{padding:10px;grid-template-columns:38px minmax(0,1fr);column-gap:var(--ui41-gap-md);border-radius:var(--ui41-panel-radius)}
  .ui-1366-standard .shortcut-icon{width:38px;height:38px;border-radius:var(--ui41-radius);font-size:var(--ui41-font)}
  .ui-1366-standard .shortcut-card strong,.ui-1366-standard .kb-card-copy h3{font-size:var(--ui41-font);line-height:1.15}
  .ui-1366-standard .shortcut-card small,.ui-1366-standard .kb-card-copy p{font-size:var(--ui41-note);line-height:1.25}
  .ui-1366-standard .kb-card{padding:11px;border-radius:var(--ui41-panel-radius)}
  .ui-1366-standard .kb-card-button{height:var(--ui41-btn-h);min-height:var(--ui41-btn-h);font-size:var(--ui41-font);padding:0 10px}

  /* Tables: headers and data share the same readable baseline. */
  .ui-1366-standard table,
  .ui-1366-standard .master-table,
  .ui-1366-standard .transaction-table,
  .ui-1366-standard .voucher-table,
  .ui-1366-standard .report-table{font-size:var(--ui41-font);line-height:1.15}
  .ui-1366-standard th,
  .ui-1366-standard td,
  .ui-1366-standard .master-table th,
  .ui-1366-standard .master-table td,
  .ui-1366-standard .transaction-table th,
  .ui-1366-standard .transaction-table td,
  .ui-1366-standard .voucher-table th,
  .ui-1366-standard .voucher-table td,
  .ui-1366-standard .report-table th,
  .ui-1366-standard .report-table td{
    font-size:var(--ui41-font);line-height:1.15;padding:6px 8px;
  }
  .ui-1366-standard th{font-weight:800}
  .ui-1366-standard .table-wrap{margin-top:var(--ui41-gap-sm);border-radius:var(--ui41-radius)}

  /* Reports and summaries. */
  .ui-1366-standard .report-group-banner{gap:var(--ui41-gap-md);padding:12px 14px}
  .ui-1366-standard .report-group-banner h2{font-size:var(--ui41-section)}
  .ui-1366-standard .report-summary span,
  .ui-1366-standard .report-summary strong,
  .ui-1366-standard .transaction-summary-strip span,
  .ui-1366-standard .transaction-summary-strip strong{font-size:var(--ui41-font);line-height:1.15}

  /* Dialogs/popups follow the same typography/control sizing. */
  .ui-1366-standard .cb-modal-head h2,
  .ui-1366-standard .modal-head h2{font-size:var(--ui41-section);line-height:1.1}
  .ui-1366-standard .cb-modal-head p,
  .ui-1366-standard .modal-head p,
  .ui-1366-standard .cb-modal-foot,
  .ui-1366-standard .modal-foot{font-size:var(--ui41-font);line-height:1.2}
  .ui-1366-standard .cb-modal-search input,
  .ui-1366-standard .cb-modal-search button,
  .ui-1366-standard .modal-search input,
  .ui-1366-standard .modal-search button{height:var(--ui41-control-h);min-height:var(--ui41-control-h);font-size:var(--ui41-font)}

  /* Transaction pages: preserve R39 geometry, align typography to global baseline. */
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card{
    --tx-std-font:var(--ui41-font);
    --tx-std-line:1.15;
    --tx-std-control-h:var(--ui41-control-h);
    --tx-std-gap-x:var(--ui41-gap-md);
    --tx-std-gap-y:var(--ui41-gap-xs);
    --tx-std-radius:var(--ui41-radius);
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    font-size:var(--ui41-font);line-height:1.15;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1{font-size:var(--ui41-title)}
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{font-size:var(--ui41-section)}

  /* Checkbox/radio: uniform visual size. */
  .ui-1366-standard input[type=checkbox],
  .ui-1366-standard input[type=radio]{width:16px;height:16px;min-height:16px;margin:0;vertical-align:middle}

  /* Native browser zoom is the scaling mechanism. Do not use CSS zoom/transform on main UI. */
  .ui-1366-standard .main-area,
  .ui-1366-standard .content{transform:none}
}

/* R42 — compact transaction layout like desktop legacy reference */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card{
    --tx-std-font:12px;
    --tx-std-line:1.1;
    --tx-std-control-h:23px; /* ~70% of previous 32px */
    --tx-std-gap-x:8px;
    --tx-std-gap-y:2px;
    --tx-std-radius:6px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .cb-compact-1366 .cb-journal-card,
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{
    padding:8px 10px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-voucher-search,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search,
  .ui-1366-standard .cb-compact-1366 .cb-topbar,
  .ui-1366-standard .jm-compact-1366 .cb-topbar{
    gap:8px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid,
  .ui-1366-standard .transaction-form-card .transaction-form-grid{
    column-gap:8px;
    row-gap:2px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .transaction-form-card .transaction-form-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    font-size:12px;
    line-height:1.1;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .cb-compact-1366 .cb-topbar button,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .jm-compact-1366 .cb-topbar button,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button,
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-form-card button{
    font-size:12px;
    line-height:1.1;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .cb-compact-1366 .cb-topbar button,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-topbar button,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button,
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card button{
    height:23px;
    min-height:23px;
    padding:0 8px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .transaction-form-card textarea{
    min-height:64px;
    padding:5px 8px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1,
  .ui-1366-standard .transaction-form-card .page-title{
    font-size:18px;
    line-height:1.05;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .transaction-form-card h2{
    font-size:15px;
    line-height:1.05;
  }

  /* shrink table header to ~60% of previous size */
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    font-size:8px;
    line-height:1.0;
    letter-spacing:.02em;
    height:20px;
    padding:2px 5px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{
    font-size:12px;
    line-height:1.1;
    padding:3px 5px;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    grid-template-columns:120px minmax(0,1fr);
    gap:4px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    grid-template-columns:120px minmax(0,1fr);
    column-gap:4px;
    row-gap:2px;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    min-height:23px;
    gap:6px;
  }

  .ui-1366-standard input[type=checkbox],
  .ui-1366-standard input[type=radio]{width:14px;height:14px;min-height:14px}
}

/* R43 — final transaction component standard for 1366x768.
   Authority: user-approved PARTAI/BANPOL select height becomes the standard
   single-line control height for every transaction page. */
@media (min-width:801px){
  .ui-1366-standard{
    --tx43-font:12px;
    --tx43-help:11px;
    --tx43-title:18px;
    --tx43-section:15px;
    --tx43-control-h:24px;
    --tx43-table-head:11px;
    --tx43-gap-x:8px;
    --tx43-gap-y:3px;
    --tx43-radius:6px;
  }

  /* Cash/Bank, Transfer, Jurnal Memorial, Fixed Asset mutation & depreciation. */
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard{
    font-size:var(--tx43-font)!important;
    line-height:1.1!important;
  }

  /* Only page/section titles are larger. */
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1,
  .ui-1366-standard .transaction-form-card .page-heading h1,
  .ui-1366-standard .transaction-standard .page-heading h1{
    font-size:var(--tx43-title)!important;
    line-height:1.05!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .transaction-form-card h2,
  .ui-1366-standard .transaction-standard h2{
    font-size:var(--tx43-section)!important;
    line-height:1.05!important;
  }

  /* Captions/data use one consistent font. */
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line,
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>label,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .jm-compact-1366 .cb-account-tools,
  .ui-1366-standard .transaction-form-card label,
  .ui-1366-standard .transaction-standard label,
  .ui-1366-standard .transaction-standard .detail-grid span,
  .ui-1366-standard .transaction-standard .detail-grid strong{
    font-size:var(--tx43-font)!important;
    line-height:1.1!important;
  }

  /* Force all single-line transaction controls to the exact same height. */
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .cb-compact-1366 .cb-search-btn,
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-btn,
  .ui-1366-standard .jm-compact-1366 .cb-search-btn,
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-code-picker button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button,
  .ui-1366-standard .transaction-form-card input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card button,
  .ui-1366-standard .transaction-standard input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-standard select,
  .ui-1366-standard .transaction-standard button,
  .ui-1366-standard .transaction-standard .button-link{
    height:var(--tx43-control-h)!important;
    min-height:var(--tx43-control-h)!important;
    max-height:var(--tx43-control-h)!important;
    box-sizing:border-box!important;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:7px!important;
    padding-right:7px!important;
    font-size:var(--tx43-font)!important;
    line-height:calc(var(--tx43-control-h) - 2px)!important;
    border-radius:var(--tx43-radius)!important;
  }

  /* Checkboxes remain square and vertically centered. */
  .ui-1366-standard .cb-compact-1366 input[type=checkbox],
  .ui-1366-standard .cb-compact-1366 input[type=radio],
  .ui-1366-standard .jm-compact-1366 input[type=checkbox],
  .ui-1366-standard .jm-compact-1366 input[type=radio],
  .ui-1366-standard .transaction-form-card input[type=checkbox],
  .ui-1366-standard .transaction-form-card input[type=radio],
  .ui-1366-standard .transaction-standard input[type=checkbox],
  .ui-1366-standard .transaction-standard input[type=radio]{
    width:14px!important;height:14px!important;min-height:14px!important;max-height:14px!important;
    padding:0!important;margin:0!important;
  }

  /* Multi-line fields are the only controls intentionally taller. */
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-standard textarea{
    min-height:64px!important;
    height:64px!important;
    max-height:none!important;
    box-sizing:border-box!important;
    padding:5px 7px!important;
    font-size:var(--tx43-font)!important;
    line-height:1.15!important;
    border-radius:var(--tx43-radius)!important;
  }

  /* Grid rhythm follows one spacing system. */
  .ui-1366-standard .cb-compact-1366 .cb-header-grid,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid,
  .ui-1366-standard .transaction-form-card .transaction-form-grid,
  .ui-1366-standard .transaction-standard .form-grid,
  .ui-1366-standard .transaction-standard .filter-row{
    column-gap:var(--tx43-gap-x)!important;
    row-gap:var(--tx43-gap-y)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:4px!important;
    margin:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    grid-template-columns:120px minmax(0,1fr)!important;
    column-gap:4px!important;
    row-gap:2px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    min-height:var(--tx43-control-h)!important;
    height:var(--tx43-control-h)!important;
    gap:6px!important;
    margin:0!important;
  }

  /* Table header: +3px from R42 (8px -> 11px) as requested. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .transaction-standard table thead th{
    font-size:var(--tx43-table-head)!important;
    line-height:1.05!important;
    height:23px!important;
    padding:2px 5px!important;
    font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .transaction-standard table tbody td,
  .ui-1366-standard .transaction-standard table tfoot td{
    font-size:var(--tx43-font)!important;
    line-height:1.1!important;
    padding:3px 5px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card,
  .ui-1366-standard .cb-compact-1366 .cb-journal-card,
  .ui-1366-standard .jm-compact-1366 .cb-journal-card,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard .panel{
    padding:8px 10px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-account-search-row>small,
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .jm-compact-1366 .jm-unit-scope-note,
  .ui-1366-standard .jm-compact-1366 .jm-description-field small,
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot,
  .ui-1366-standard .transaction-form-card small,
  .ui-1366-standard .transaction-standard small{
    font-size:var(--tx43-help)!important;
    line-height:1.1!important;
  }
}


/* R44 — compact voucher lookup: remove Kas/Bank column and keep all key data visible */
@media (min-width:801px){
  .ui-1366-standard .cb-voucher-modal{
    width:min(980px,92vw);
    max-height:74vh;
  }
  .ui-1366-standard .cb-voucher-modal .cb-modal-head{padding:9px 12px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head .eyebrow{font-size:10px;line-height:1.05}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head h2{font-size:18px;line-height:1.08;margin:2px 0}
  .ui-1366-standard .cb-voucher-modal .cb-modal-head p{font-size:11px;line-height:1.15;margin:2px 0 0}
  .ui-1366-standard .cb-voucher-modal .cb-modal-search{padding:6px 10px;gap:7px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-search input{height:26px;min-height:26px;font-size:11px;line-height:1.1}
  .ui-1366-standard .cb-voucher-modal .cb-modal-search .cb-tool-btn{height:26px;min-height:26px;font-size:11px;padding:0 9px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-list{padding:6px 10px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table{table-layout:fixed;width:100%}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table td{
    font-size:11px;
    line-height:1.15;
    padding:6px 7px;
    vertical-align:middle;
  }
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th{font-size:10px;font-weight:800}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(1){width:190px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(2){width:100px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(3){width:80px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(4){width:auto}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(5){width:125px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table th:nth-child(6){width:62px}
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-number,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-date,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-unit,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-amount,
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-action{
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
  }
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-description{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    word-break:break-word;
  }
  .ui-1366-standard .cb-voucher-modal .cb-voucher-picker-table .voucher-action .cb-tool-btn{
    height:24px;min-height:24px;font-size:10px;padding:0 8px
  }
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot{padding:7px 10px;gap:10px}
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot>span{font-size:10.5px;line-height:1.15}
  .ui-1366-standard .cb-voucher-modal .cb-modal-foot .cb-btn{height:24px;min-height:24px;font-size:10px;padding:0 8px}
}

/* R45 — global visual authority = Kas Kecil Keluar (1366x768). */
@media (min-width:801px){
  .ui-1366-standard{
    --ui45-font:12px;
    --ui45-help:11px;
    --ui45-title:18px;
    --ui45-section:15px;
    --ui45-control:24px;
    --ui45-table-head:11px;
    --ui45-gap-x:8px;
    --ui45-gap-y:3px;
    --ui45-radius:6px;
    --ui45-panel-radius:8px;
  }

  .ui-1366-standard .content{font-size:var(--ui45-font);line-height:1.15;padding:10px 14px 16px}

  /* Sidebar + topbar follow the same typography/radius rhythm. */
  .ui-1366-standard .nav-menu a,
  .ui-1366-standard .nav-menu-final .nav-public-zone a{font-size:var(--ui45-font);line-height:1.1;border-radius:var(--ui45-radius);min-height:36px;padding:5px 8px;gap:8px}
  .ui-1366-standard .nav-icon{width:24px;height:24px;min-width:24px;border-radius:var(--ui45-radius);font-size:11px}
  .ui-1366-standard .brand-copy strong{font-size:12px}.ui-1366-standard .brand-copy small{font-size:11px}
  .ui-1366-standard .sidebar-foot strong{font-size:12px}.ui-1366-standard .sidebar-foot small{font-size:10px}
  .ui-1366-standard .topbar{height:52px;padding:0 14px}
  .ui-1366-standard .search-box{height:28px;border-radius:var(--ui45-radius)}
  .ui-1366-standard .search-box input,
  .ui-1366-standard .user-chip strong,
  .ui-1366-standard .logout-button{font-size:var(--ui45-font)}
  .ui-1366-standard .user-chip small,.ui-1366-standard .period-box span{font-size:10px}
  .ui-1366-standard .period-box strong{font-size:11px}
  .ui-1366-standard .icon-button{width:28px;height:28px;border-radius:var(--ui45-radius)}
  .ui-1366-standard .logout-button{min-height:24px;height:24px;padding:0 8px;border-radius:var(--ui45-radius)}

  /* Page hierarchy matches Kas Kecil Keluar: only titles are larger. */
  .ui-1366-standard .page-heading{gap:8px;margin-bottom:8px}
  .ui-1366-standard .page-heading h1{font-size:var(--ui45-title);line-height:1.05;margin:1px 0 2px}
  .ui-1366-standard .page-heading p{font-size:var(--ui45-help);line-height:1.2;margin:0;max-width:850px}
  .ui-1366-standard .eyebrow{font-size:10px;line-height:1.05;letter-spacing:.05em}
  .ui-1366-standard .card-title h2,
  .ui-1366-standard .section-heading h2,
  .ui-1366-standard .master-toolbar h2,
  .ui-1366-standard .master-form-head h2,
  .ui-1366-standard .detail-title h2,
  .ui-1366-standard .report-group-banner h2,
  .ui-1366-standard .dashboard-panel-head h2{font-size:var(--ui45-section);line-height:1.08}

  /* Panels/cards use one padding/radius/spacing system. */
  .ui-1366-standard .panel,
  .ui-1366-standard .hero-card,
  .ui-1366-standard .status-card,
  .ui-1366-standard .master-list-panel,
  .ui-1366-standard .master-form-card,
  .ui-1366-standard .detail-sheet,
  .ui-1366-standard .report-options-card,
  .ui-1366-standard .report-panel,
  .ui-1366-standard .report-group-banner{
    padding:8px 10px;
    border-radius:var(--ui45-panel-radius);
    margin-bottom:8px;
  }
  .ui-1366-standard .master-toolbar,
  .ui-1366-standard .master-form-head,
  .ui-1366-standard .detail-title{gap:8px;padding-bottom:6px}
  .ui-1366-standard .master-toolbar small,
  .ui-1366-standard .master-form-head small,
  .ui-1366-standard .master-subhead small{font-size:var(--ui45-help);line-height:1.15;margin-top:2px}

  /* All ordinary controls share KKK 24px height. */
  .ui-1366-standard label,
  .ui-1366-standard .form-grid label,
  .ui-1366-standard .filter-row label,
  .ui-1366-standard .lookup-bar label,
  .ui-1366-standard .transaction-filter-grid label,
  .ui-1366-standard .transaction-form-grid label,
  .ui-1366-standard .voucher-search-bar label,
  .ui-1366-standard .report-options-grid label{font-size:var(--ui45-font);line-height:1.1;gap:4px}

  .ui-1366-standard .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
  .ui-1366-standard .content select,
  .ui-1366-standard .primary,
  .ui-1366-standard .secondary,
  .ui-1366-standard .quiet,
  .ui-1366-standard .link-action,
  .ui-1366-standard .button-link,
  .ui-1366-standard .table-action,
  .ui-1366-standard .filter-row button,
  .ui-1366-standard .lookup-bar button,
  .ui-1366-standard .form-actions button{
    height:var(--ui45-control);
    min-height:var(--ui45-control);
    max-height:var(--ui45-control);
    box-sizing:border-box;
    padding:0 7px;
    border-radius:var(--ui45-radius);
    font-size:var(--ui45-font);
    line-height:22px;
  }
  .ui-1366-standard .content textarea{min-height:64px;padding:5px 7px;border-radius:var(--ui45-radius);font-size:var(--ui45-font);line-height:1.15}
  .ui-1366-standard input[type=checkbox],.ui-1366-standard input[type=radio]{width:14px;height:14px;min-height:14px}

  .ui-1366-standard .form-grid,
  .ui-1366-standard .placeholder-form,
  .ui-1366-standard .transaction-form-grid,
  .ui-1366-standard .report-options-grid{gap:var(--ui45-gap-y) var(--ui45-gap-x);margin-top:6px}
  .ui-1366-standard .filter-row,
  .ui-1366-standard .lookup-bar,
  .ui-1366-standard .compact-filter-row,
  .ui-1366-standard .form-actions,
  .ui-1366-standard .button-row{gap:6px;margin-top:6px}

  /* Menu hubs use the same visual language. */
  .ui-1366-standard .menu-grid{gap:8px}
  .ui-1366-standard .menu-card{min-height:88px;padding:9px 10px;grid-template-columns:34px minmax(0,1fr) 12px;gap:8px;border-radius:var(--ui45-panel-radius)}
  .ui-1366-standard .menu-card .menu-icon{width:32px;height:32px;border-radius:var(--ui45-radius)}
  .ui-1366-standard .menu-card .menu-copy strong{font-size:var(--ui45-font);line-height:1.1}
  .ui-1366-standard .menu-card .menu-copy small{font-size:var(--ui45-help);line-height:1.15;margin-top:3px}
  .ui-1366-standard .menu-card .menu-arrow{font-size:14px}

  /* Master/detail pages. */
  .ui-1366-standard .detail-grid{gap:3px;margin-top:6px;border-radius:var(--ui45-panel-radius)}
  .ui-1366-standard .detail-grid>div{padding:6px 8px;min-height:44px}
  .ui-1366-standard .detail-grid span{font-size:10px;line-height:1.1}
  .ui-1366-standard .detail-grid strong{font-size:var(--ui45-font);line-height:1.15;margin-top:3px}
  .ui-1366-standard .empty-state{padding:16px 12px;font-size:var(--ui45-font)}

  /* Every ordinary table follows KKK journal table typography. */
  .ui-1366-standard table,
  .ui-1366-standard .master-table,
  .ui-1366-standard .transaction-table,
  .ui-1366-standard .voucher-table,
  .ui-1366-standard .report-table{font-size:var(--ui45-font);line-height:1.1}
  .ui-1366-standard th,
  .ui-1366-standard .master-table th,
  .ui-1366-standard .transaction-table th,
  .ui-1366-standard .voucher-table th,
  .ui-1366-standard .report-table th{font-size:var(--ui45-table-head);line-height:1.05;padding:3px 5px;font-weight:800}
  .ui-1366-standard td,
  .ui-1366-standard .master-table td,
  .ui-1366-standard .transaction-table td,
  .ui-1366-standard .voucher-table td,
  .ui-1366-standard .report-table td{font-size:var(--ui45-font);line-height:1.1;padding:3px 5px}
  .ui-1366-standard .table-wrap{margin-top:6px;border-radius:var(--ui45-panel-radius)}
  .ui-1366-standard .table-subtext{font-size:var(--ui45-help);line-height:1.1}

  /* Reports use the same controls/panels as form pages. */
  .ui-1366-standard .report-options-shell{gap:8px;max-width:none}
  .ui-1366-standard .report-group-banner{gap:8px}
  .ui-1366-standard .report-group-banner p,
  .ui-1366-standard .report-scope-explain,
  .ui-1366-standard .report-context-strip span{font-size:var(--ui45-help);line-height:1.15}
  .ui-1366-standard .report-context-strip{margin:6px 0;border-radius:var(--ui45-panel-radius)}
  .ui-1366-standard .report-context-strip>div{gap:2px;padding:5px 7px}
  .ui-1366-standard .report-context-strip strong{font-size:var(--ui45-font)}
  .ui-1366-standard .report-summary div{padding:5px 7px}
  .ui-1366-standard .report-summary span{font-size:var(--ui45-help)}
  .ui-1366-standard .report-summary strong{font-size:var(--ui45-font);margin-top:2px}

  /* Popup/modal typography follows KKK popup controls. */
  .ui-1366-standard .cb-account-modal,
  .ui-1366-standard .cb-success-modal{border-radius:var(--ui45-panel-radius)}
  .ui-1366-standard .cb-modal-head{padding:8px 10px}
  .ui-1366-standard .cb-modal-head h2{font-size:var(--ui45-section);line-height:1.08}
  .ui-1366-standard .cb-modal-head p,
  .ui-1366-standard .cb-modal-foot{font-size:var(--ui45-help);line-height:1.15}
  .ui-1366-standard .cb-modal-search{padding:6px 8px;gap:6px}
  .ui-1366-standard .cb-modal-search input,
  .ui-1366-standard .cb-modal-search button{height:var(--ui45-control);min-height:var(--ui45-control);font-size:var(--ui45-font);border-radius:var(--ui45-radius)}

  /* Dashboard typography aligned without flattening KPI hierarchy. */
  .ui-1366-standard .dashboard-panel-head h2{font-size:var(--ui45-section)}
  .ui-1366-standard .dashboard-panel-head small,
  .ui-1366-standard .dashboard-panel-head>a,
  .ui-1366-standard .dashboard-chart-legend,
  .ui-1366-standard .dashboard-fund-legend small,
  .ui-1366-standard .dashboard-reminder-list small{font-size:var(--ui45-help);line-height:1.15}
  .ui-1366-standard .dashboard-kpi-copy span,
  .ui-1366-standard .dashboard-fund-legend strong,
  .ui-1366-standard .dashboard-reminder-list strong,
  .ui-1366-standard .dashboard-recent-table td{font-size:var(--ui45-font);line-height:1.15}
  .ui-1366-standard .dashboard-kpi-copy strong{font-size:var(--ui45-section)}
  .ui-1366-standard .dashboard-recent-table th{font-size:var(--ui45-table-head)}
}

/* R47 — pixel-oriented transaction visual authority based on approved Kas Kecil Keluar reference.
   Desktop baseline: 1366x768. Native browser zoom remains supported. */
@media (min-width:1000px){
  .app-shell.ui-1366-standard{grid-template-columns:248px minmax(0,1fr)}
  .ui-1366-standard .sidebar{padding:14px 14px 12px}
  .ui-1366-standard .brand-copy strong{font-size:13px!important}
  .ui-1366-standard .brand-copy small{font-size:10px!important}
  .ui-1366-standard .nav-menu a,
  .ui-1366-standard .nav-menu-final .nav-public-zone a{
    min-height:42px!important;padding:6px 9px!important;font-size:13px!important;gap:9px!important;border-radius:8px!important
  }
  .ui-1366-standard .nav-icon{width:28px!important;height:28px!important;min-width:28px!important;font-size:12px!important}
  .ui-1366-standard .topbar{height:60px!important;padding:0 18px!important}
  /* Desktop presentation only: search remains available in the mobile drawer. */
  .ui-1366-standard .sidebar>.mobile-drawer-search{display:none!important}
  .ui-1366-standard .topbar-left>.search-box{display:none!important}
  .ui-1366-standard .search-box{height:34px!important;border-radius:8px!important}
  .ui-1366-standard .search-box input{font-size:12px!important}
  .ui-1366-standard .content{padding:10px 14px 16px!important}

  .ui-1366-standard .cb-entry-shell.cb-compact-1366,
  .ui-1366-standard .cb-entry-shell.jm-compact-1366{
    gap:8px!important;margin-top:0!important;font-size:13px!important;line-height:1.15!important
  }

  /* Toolbar — same height, spacing, and print checkbox position as the reference. */
  .ui-1366-standard .cb-compact-1366 .cb-actionbar,
  .ui-1366-standard .jm-compact-1366 .cb-actionbar{
    min-height:54px!important;padding:9px 12px!important;border-radius:10px!important;gap:10px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons,
  .ui-1366-standard .jm-compact-1366 .cb-action-buttons{
    gap:6px!important;align-items:center!important;flex-wrap:nowrap!important;min-width:0
  }
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .jm-compact-1366 .cb-btn{
    height:34px!important;min-height:34px!important;max-height:34px!important;
    padding:0 11px!important;border-radius:7px!important;font-size:13px!important;line-height:1!important;gap:5px!important;white-space:nowrap
  }
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save-right{
    height:34px!important;min-height:34px!important;display:flex!important;align-items:center!important;
    justify-content:flex-end!important;gap:7px!important;margin-left:auto!important;padding:0 5px!important;
    font-size:13px!important;font-weight:750!important;white-space:nowrap!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save-right input{
    width:15px!important;height:15px!important;min-height:15px!important;margin:0!important
  }

  /* Search + title row. */
  .ui-1366-standard .cb-compact-1366 .cb-search-title,
  .ui-1366-standard .jm-compact-1366 .cb-search-title{
    min-height:52px!important;padding:8px 12px!important;border-radius:10px!important;
    grid-template-columns:minmax(430px,.95fr) minmax(240px,.7fr) minmax(180px,.55fr)!important;gap:12px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search{gap:8px!important;align-items:center!important}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong{font-size:13px!important;line-height:1!important;min-width:92px}
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input{
    width:100%!important;max-width:360px!important;height:34px!important;min-height:34px!important;
    padding:0 10px!important;border-radius:7px!important;font-size:13px!important;line-height:1!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-btn,
  .ui-1366-standard .jm-compact-1366 .cb-search-btn{
    height:34px!important;min-height:34px!important;padding:0 13px!important;border-radius:7px!important;font-size:13px!important;line-height:1!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title h1,
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1{
    font-size:20px!important;line-height:1.05!important;font-weight:850!important;letter-spacing:-.015em!important;text-align:center!important
  }

  /* Header card — three clean columns and uniform controls. */
  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card{
    padding:12px 14px!important;border-radius:10px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:minmax(300px,.92fr) minmax(330px,1fr) minmax(360px,1.08fr)!important;
    column-gap:22px!important;row-gap:8px!important;align-items:start!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label{
    grid-template-columns:145px minmax(0,1fr)!important;gap:7px!important;margin:0!important;
    align-items:center!important;font-size:13px!important;line-height:1.1!important;font-weight:750!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    height:34px!important;min-height:34px!important;max-height:34px!important;width:100%!important;
    padding:0 10px!important;border-radius:7px!important;font-size:13px!important;line-height:1!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea{
    height:88px!important;min-height:88px!important;max-height:none!important;padding:8px 10px!important;
    border-radius:7px!important;font-size:13px!important;line-height:1.25!important;resize:vertical!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field{grid-row:span 2!important;align-items:start!important;margin:0!important}
  .ui-1366-standard .cb-compact-1366 .cb-description-field small{font-size:11px!important;line-height:1!important;margin-top:2px!important}
  .ui-1366-standard .cb-compact-1366 .cb-name-account-field{align-self:start!important}
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;column-gap:7px!important;row-gap:5px!important;
    align-items:center!important;min-height:34px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    grid-column:1/-1!important;height:34px!important;min-height:34px!important;margin:0!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;
    font-size:13px!important;line-height:1!important;font-weight:750!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line input{
    width:15px!important;height:15px!important;min-height:15px!important;max-height:15px!important;margin:0!important;padding:0!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{grid-column:1/-1!important}

  /* Journal card: title on left, search/delete actions on right, then table immediately. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-card,
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{
    padding:12px 14px 10px!important;border-radius:10px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top{
    min-height:40px!important;margin:0 0 8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{
    margin:0!important;font-size:18px!important;line-height:1.05!important;font-weight:850!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-line-actions,
  .ui-1366-standard .jm-compact-1366 .cb-line-actions{display:flex!important;align-items:center!important;gap:8px!important}
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn,
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn{
    height:32px!important;min-height:32px!important;max-height:32px!important;padding:0 10px!important;
    border-radius:7px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-account-search-row{display:none!important}

  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll,
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{border-radius:8px!important;overflow:auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table{
    min-width:0!important;width:100%!important;table-layout:fixed!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    height:34px!important;padding:5px 7px!important;font-size:11px!important;line-height:1.05!important;font-weight:850!important;white-space:nowrap!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{
    padding:5px 7px!important;font-size:13px!important;line-height:1.1!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 9px!important;
    border-radius:7px!important;font-size:13px!important;line-height:1!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:4%!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:16%!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:15%!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:30%!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:13%!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(7){width:9%!important;text-align:center!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table td:nth-child(7){text-align:center!important}
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button{
    width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;
    border-radius:7px!important;font-size:12px!important;line-height:1!important
  }
  .ui-1366-standard .cb-compact-1366 .auto-chip,
  .ui-1366-standard .jm-compact-1366 .auto-chip{height:20px!important;padding:0 6px!important;font-size:11px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot{
    margin-top:8px!important;padding:8px 2px 0!important;font-size:11px!important;line-height:1.2!important
  }

  /* Apply the same control language to Transfer and other transaction-standard pages. */
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard{font-size:13px!important;line-height:1.15!important}
  .ui-1366-standard .transaction-form-card .transaction-form-grid,
  .ui-1366-standard .transaction-standard .form-grid{gap:8px 12px!important}
  .ui-1366-standard .transaction-form-card label,
  .ui-1366-standard .transaction-standard label{font-size:13px!important;line-height:1.1!important;gap:6px!important}
  .ui-1366-standard .transaction-form-card input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card button,
  .ui-1366-standard .transaction-standard input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-standard select,
  .ui-1366-standard .transaction-standard button,
  .ui-1366-standard .transaction-standard .button-link{
    height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 10px!important;
    border-radius:7px!important;font-size:13px!important;line-height:1!important
  }
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-standard textarea{min-height:88px!important;font-size:13px!important;border-radius:7px!important;padding:8px 10px!important}
}

/* Keep the transaction layout usable when desktop width is below the 1366 baseline or browser zoom is increased. */
@media (min-width:801px) and (max-width:1150px){
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons{flex-wrap:wrap!important}
  .ui-1366-standard .cb-compact-1366 .cb-search-title{grid-template-columns:1fr auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-search-title>span{display:none!important}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{grid-template-columns:1fr 1fr!important}
  .ui-1366-standard .cb-compact-1366 .cb-description-field{grid-row:auto!important}
}

/* R48 — compact data-entry authority.
   User reference: login-style textbox/combobox + legacy desktop transaction density.
   Scope: all transaction-standard pages. Desktop baseline 1366x768; native browser zoom supported. */
@media (min-width:1000px){
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard{
    --r48-field-h:28px;
    --r48-row-h:28px;
    --r48-font:11px;
    --r48-label:11px;
    --r48-helper:9.5px;
    --r48-radius:7px;
    --r48-border:#d8dde4;
    --r48-gap-x:14px;
    --r48-gap-y:3px;
  }

  /* Input/combobox language follows Login: clean border, compact height, small consistent font. */
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input,
  .ui-1366-standard .transaction-form-card input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-standard input:not([type=checkbox]):not([type=radio]),
  .ui-1366-standard .transaction-standard select{
    height:var(--r48-field-h)!important;
    min-height:var(--r48-field-h)!important;
    max-height:var(--r48-field-h)!important;
    border:1px solid var(--r48-border)!important;
    border-radius:var(--r48-radius)!important;
    background:#fff!important;
    color:#24282e!important;
    padding:0 8px!important;
    font-size:var(--r48-font)!important;
    line-height:1!important;
    outline:none!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input:focus,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select:focus,
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search input:focus,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input:focus,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select:focus,
  .ui-1366-standard .transaction-form-card input:focus,
  .ui-1366-standard .transaction-form-card select:focus,
  .ui-1366-standard .transaction-standard input:focus,
  .ui-1366-standard .transaction-standard select:focus{
    border-color:#d29393!important;
    box-shadow:0 0 0 2px rgba(202,0,0,.05)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input[readonly]{background:#f4f5f7!important;color:#737b85!important}

  /* Header fields are tight and visually aligned like the legacy desktop form. */
  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card{
    padding:9px 12px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:minmax(285px,.9fr) minmax(315px,.98fr) minmax(350px,1.05fr)!important;
    column-gap:var(--r48-gap-x)!important;
    row-gap:var(--r48-gap-y)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    grid-template-columns:128px minmax(0,1fr)!important;
    gap:5px!important;
    margin:0!important;
    font-size:var(--r48-label)!important;
    line-height:1.05!important;
    font-weight:750!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid textarea,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-standard textarea{
    min-height:72px!important;
    padding:6px 8px!important;
    border:1px solid var(--r48-border)!important;
    border-radius:var(--r48-radius)!important;
    font-size:var(--r48-font)!important;
    line-height:1.25!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field small,
  .ui-1366-standard .jm-compact-1366 .jm-description-field small,
  .ui-1366-standard .cb-compact-1366 .cb-unit-scope-note,
  .ui-1366-standard .jm-compact-1366 .jm-unit-scope-note{
    font-size:var(--r48-helper)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    grid-template-columns:128px minmax(0,1fr)!important;
    column-gap:5px!important;
    row-gap:2px!important;
    min-height:var(--r48-field-h)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    height:var(--r48-field-h)!important;
    min-height:var(--r48-field-h)!important;
    font-size:var(--r48-label)!important;
    gap:6px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line input{
    width:13px!important;height:13px!important;min-height:13px!important;max-height:13px!important
  }

  /* Search row stays compact too. */
  .ui-1366-standard .cb-compact-1366 .cb-search-title,
  .ui-1366-standard .jm-compact-1366 .cb-search-title{
    min-height:44px!important;
    padding:6px 10px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-voucher-search strong,
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong{
    min-width:82px!important;
    font-size:var(--r48-label)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-btn,
  .ui-1366-standard .jm-compact-1366 .cb-search-btn{
    height:var(--r48-field-h)!important;
    min-height:var(--r48-field-h)!important;
    padding:0 10px!important;
    border-radius:var(--r48-radius)!important;
    font-size:var(--r48-font)!important;
  }

  /* Journal workspace is deliberately large while row inputs stay compact. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-card,
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{
    padding:9px 12px 9px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top{
    min-height:32px!important;
    margin:0 0 5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{
    font-size:15px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-tool-btn,
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn{
    height:var(--r48-field-h)!important;
    min-height:var(--r48-field-h)!important;
    max-height:var(--r48-field-h)!important;
    padding:0 8px!important;
    font-size:10.5px!important;
    border-radius:var(--r48-radius)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll,
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{
    min-height:230px!important;
    width:100%!important;
    background:#fbfbf7!important;
    border:1px solid #dfe3e7!important;
    border-radius:6px!important;
    overflow:auto!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table{
    width:100%!important;
    min-width:100%!important;
    table-layout:fixed!important;
    background:#fff!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    height:25px!important;
    padding:3px 5px!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{
    height:31px!important;
    padding:2px 5px!important;
    font-size:10.5px!important;
    line-height:1.05!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    height:26px!important;
    min-height:26px!important;
    max-height:26px!important;
    padding:0 7px!important;
    border:1px solid var(--r48-border)!important;
    border-radius:6px!important;
    font-size:10.5px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button{
    width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;
    font-size:10px!important;border-radius:6px!important
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot,
  .ui-1366-standard .jm-compact-1366 .cb-journal-foot{
    margin-top:5px!important;
    padding:5px 2px 0!important;
    font-size:9.5px!important;
  }

  /* Transfer and other transaction-standard forms share the same compact input language. */
  .ui-1366-standard .transaction-form-card .transaction-form-grid,
  .ui-1366-standard .transaction-standard .form-grid{
    gap:4px 10px!important;
  }
  .ui-1366-standard .transaction-form-card label,
  .ui-1366-standard .transaction-standard label{
    font-size:var(--r48-label)!important;
    gap:4px!important;
  }
}

/* At increased browser zoom, preserve compact fields but allow columns to wrap. */
@media (min-width:801px) and (max-width:1150px){
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{grid-template-columns:1fr 1fr!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll,
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{min-height:210px!important}
}

/* R49 — compact 10-row transaction workspace, sidebar unchanged. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366{
    --r49-control-h:28px;
    --r49-font:11px;
    --r49-label:11px;
    --r49-border:#d8dde4;
    --r49-radius:5px;
    gap:4px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-actionbar{
    padding:6px 8px!important;
    min-height:40px!important;
    border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons{gap:5px!important}
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save{
    height:28px!important;min-height:28px!important;padding:0 9px!important;
    font-size:10.5px!important;border-radius:5px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-transaction-title{
    background:#fff;border:1px solid #e0e4e9;border-radius:7px;
    min-height:34px;display:flex;align-items:center;justify-content:center;
    padding:3px 10px;margin:0;
  }
  .ui-1366-standard .cb-compact-1366 .cb-transaction-title h1{
    margin:0;font-size:17px!important;line-height:1;font-weight:800;color:#111;
  }

  .ui-1366-standard .cb-compact-1366 .cb-header-card{
    padding:7px 10px!important;border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    display:grid!important;
    grid-template-columns:minmax(330px,.95fr) minmax(330px,.92fr) minmax(430px,1.15fr)!important;
    grid-template-areas:
      "voucher fund account"
      "date unit description"
      "amount method description"
      "employee reference description"!important;
    column-gap:18px!important;row-gap:3px!important;align-items:start!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-field-voucher{grid-area:voucher}
  .ui-1366-standard .cb-compact-1366 .cb-field-date{grid-area:date}
  .ui-1366-standard .cb-compact-1366 .cb-field-amount{grid-area:amount}
  .ui-1366-standard .cb-compact-1366 .cb-field-employee{grid-area:employee}
  .ui-1366-standard .cb-compact-1366 .cb-field-fund{grid-area:fund}
  .ui-1366-standard .cb-compact-1366 .cb-field-unit{grid-area:unit}
  .ui-1366-standard .cb-compact-1366 .cb-field-method{grid-area:method}
  .ui-1366-standard .cb-compact-1366 .cb-field-reference{grid-area:reference}
  .ui-1366-standard .cb-compact-1366 .cb-field-account{grid-area:account}
  .ui-1366-standard .cb-compact-1366 .cb-field-description{grid-area:description}

  .ui-1366-standard .cb-compact-1366 .cb-header-grid>label{
    display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
    gap:5px!important;align-items:center!important;margin:0!important;
    font-size:var(--r49-label)!important;line-height:1.05!important;font-weight:700!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    height:var(--r49-control-h)!important;min-height:var(--r49-control-h)!important;max-height:var(--r49-control-h)!important;
    padding:0 8px!important;border:1px solid var(--r49-border)!important;border-radius:var(--r49-radius)!important;
    font-size:var(--r49-font)!important;line-height:1!important;background:#fff!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input[readonly]{background:#f6f7f8!important}
  .ui-1366-standard .cb-compact-1366 .cb-description-field{
    display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
    align-items:start!important;gap:5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field textarea{
    min-height:94px!important;height:94px!important;padding:6px 8px!important;
    border:1px solid var(--r49-border)!important;border-radius:var(--r49-radius)!important;
    font-size:var(--r49-font)!important;line-height:1.25!important;resize:vertical!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field small{
    grid-column:2!important;font-size:9px!important;line-height:1!important;margin-top:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    display:grid!important;grid-template-columns:120px minmax(0,1fr)!important;
    gap:3px 5px!important;align-items:center!important;min-height:28px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    grid-column:1 / -1!important;display:flex!important;align-items:center!important;gap:6px!important;
    min-height:28px!important;margin:0!important;font-size:var(--r49-label)!important;font-weight:700!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line span{order:-1;width:114px;flex:0 0 114px}
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line input{width:13px!important;height:13px!important;min-height:13px!important}
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch>select{grid-column:2!important}

  .ui-1366-standard .cb-compact-1366 .cb-journal-card{
    padding:6px 10px 7px!important;border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top-r49{
    min-height:32px!important;padding:0 0 5px!important;display:flex!important;align-items:center!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-title-line{
    display:flex!important;align-items:center!important;gap:12px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-title-line h2{
    margin:0!important;font-size:14px!important;line-height:1!important;font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-account-picker-button{
    height:28px!important;min-height:28px!important;padding:0 12px!important;font-size:10.5px!important;
    background:#fff!important;color:#d40000!important;border:1px solid #efb5b5!important;border-radius:5px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll{
    min-height:332px!important;height:auto!important;overflow:auto!important;border-radius:5px!important;background:#fff!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table{
    width:100%!important;min-width:100%!important;table-layout:fixed!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{
    height:24px!important;padding:2px 5px!important;font-size:9px!important;line-height:1!important;font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td{
    height:28px!important;padding:1px 4px!important;font-size:10px!important;line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{
    height:27px!important;padding:2px 5px!important;font-size:10px!important;line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display{
    height:24px!important;min-height:24px!important;max-height:24px!important;padding:0 7px!important;
    font-size:10px!important;line-height:1!important;border-radius:4px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button{
    width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;font-size:10px!important;border-radius:4px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:34px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:175px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:180px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:140px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(7){width:60px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot{
    padding:6px 2px 0!important;margin:0!important;font-size:9px!important;line-height:1.1!important;
  }

  /* Simple account popup used by the Cari Kode Akun button. */
  .cb-account-modal-r49{width:min(560px,92vw)!important;max-width:560px!important;border-radius:8px!important;overflow:hidden!important}
  .cb-modal-head-r49{padding:10px 14px!important}
  .cb-modal-head-r49 h2{font-size:16px!important;margin:0!important}
  .cb-modal-search-r49{margin:0 14px 8px!important;height:32px!important;display:flex!important;align-items:center!important;position:relative!important}
  .cb-modal-search-r49 input{height:30px!important;min-height:30px!important;padding:0 34px 0 9px!important;font-size:11px!important;width:100%!important}
  .cb-modal-search-r49 span{position:absolute!important;right:10px!important;font-size:12px!important}
  .cb-account-table-wrap{margin:0 14px!important;border:1px solid #dfe3e8!important;border-radius:5px!important;overflow:hidden!important}
  .cb-account-picker-table{width:100%!important;border-collapse:collapse!important;font-size:10.5px!important}
  .cb-account-picker-table th{background:#f5f6f7!important;height:26px!important;padding:4px 8px!important;text-align:left!important;font-size:9.5px!important}
  .cb-account-picker-table td{height:28px!important;padding:4px 8px!important;border-top:1px solid #e7eaee!important;cursor:pointer!important}
  .cb-account-picker-table tr:hover,.cb-account-picker-table tr.selected{background:#fff2f2!important}
  .cb-account-picker-table th:first-child,.cb-account-picker-table td:first-child{width:150px!important}
  .cb-account-pagination{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:8px 14px 2px!important;font-size:10px!important}
  .cb-account-pagination>div{display:flex!important;align-items:center!important;gap:6px!important}
  .cb-page-btn{width:26px!important;height:26px!important;border:1px solid #dfe3e8!important;border-radius:4px!important;background:#fff!important}
  .cb-modal-foot-r49{padding:8px 14px 10px!important}
}

@media (min-width:801px) and (max-width:1150px){
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:"voucher fund" "date unit" "amount account" "employee description" "method description" "reference description"!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll{min-height:300px!important}
}

/* R49 shared compact transaction treatment for Jurnal Memorial / transfer forms. */
@media (min-width:801px){
  .ui-1366-standard .jm-compact-1366 .jm-header-card{padding:7px 10px!important}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid{column-gap:12px!important;row-gap:3px!important}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{grid-template-columns:120px minmax(0,1fr)!important;gap:5px!important;font-size:11px!important}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select{height:28px!important;min-height:28px!important;font-size:11px!important;padding:0 8px!important}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid textarea{min-height:94px!important;height:94px!important;font-size:11px!important;padding:6px 8px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{padding:6px 10px 7px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{min-height:332px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{height:24px!important;font-size:9px!important;padding:2px 5px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td{height:28px!important;font-size:10px!important;padding:1px 4px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tfoot td{height:27px!important;font-size:10px!important;padding:2px 5px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{height:24px!important;min-height:24px!important;font-size:10px!important;padding:0 7px!important}
  .ui-1366-standard .transaction-form-card{padding:8px 10px!important}
  .ui-1366-standard .transaction-form-card .transaction-form-grid{gap:3px 10px!important}
  .ui-1366-standard .transaction-form-card label{font-size:11px!important;gap:4px!important}
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-form-card button{height:28px!important;min-height:28px!important;font-size:11px!important}
  .ui-1366-standard .transaction-form-card textarea{min-height:94px!important;font-size:11px!important}
}

/* R52 — Kas Kecil Keluar authority layout: compact header + 10-row journal workspace. Sidebar/topbar shell unchanged. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366{
    gap:5px!important;
  }

  .ui-1366-standard .cb-compact-1366 .cb-actionbar{
    padding:6px 8px!important;
    min-height:42px!important;
    border-radius:7px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-action-buttons{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    flex-wrap:nowrap!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save{
    height:30px!important;
    min-height:30px!important;
    padding:0 10px!important;
    border-radius:5px!important;
    font-size:10.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save-right{
    margin-left:auto!important;
  }

  /* Cari bukti + title use one compact row like approved reference. */
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52{
    min-height:42px!important;
    padding:5px 10px!important;
    display:grid!important;
    grid-template-columns:minmax(430px,.85fr) minmax(280px,.65fr) minmax(120px,.45fr)!important;
    align-items:center!important;
    gap:12px!important;
    border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52 .cb-voucher-search{
    display:grid!important;
    grid-template-columns:100px minmax(220px,1fr) 56px!important;
    align-items:center!important;
    gap:6px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52 .cb-voucher-search strong{
    font-size:11px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52 .cb-voucher-search input,
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52 .cb-search-btn{
    height:28px!important;
    min-height:28px!important;
    font-size:10.5px!important;
    border-radius:5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52 h1{
    margin:0!important;
    text-align:center!important;
    font-size:17px!important;
    line-height:1!important;
    font-weight:800!important;
  }

  /* Three header zones: left, centre, right. Centre remains Sumber Dana + Unit/Struktur. */
  .ui-1366-standard .cb-compact-1366 .cb-header-card{
    padding:8px 10px!important;
    border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    display:grid!important;
    grid-template-columns:minmax(335px,.95fr) minmax(335px,.92fr) minmax(420px,1.14fr)!important;
    grid-template-areas:
      "voucher fund account"
      "date unit description"
      "amount employee description"
      "method reference description"!important;
    column-gap:18px!important;
    row-gap:3px!important;
    align-items:start!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-field-voucher{grid-area:voucher!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-date{grid-area:date!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-amount{grid-area:amount!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-employee{grid-area:employee!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-fund{grid-area:fund!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-unit{grid-area:unit!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-account{grid-area:account!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-description{grid-area:description!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-method{grid-area:method!important}
  .ui-1366-standard .cb-compact-1366 .cb-field-reference{grid-area:reference!important}

  .ui-1366-standard .cb-compact-1366 .cb-header-grid>label{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    align-items:center!important;
    gap:5px!important;
    margin:0!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:700!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select{
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
    padding:0 8px!important;
    border-radius:5px!important;
    font-size:10.5px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:5px!important;
    align-items:start!important;
    margin:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field textarea{
    min-height:92px!important;
    height:92px!important;
    padding:6px 8px!important;
    border-radius:5px!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    resize:vertical!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field small{
    grid-column:2!important;
    margin:0!important;
    font-size:9px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch{
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr)!important;
    gap:3px 5px!important;
    align-items:center!important;
    min-height:28px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line{
    grid-column:1 / -1!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:28px!important;
    margin:0!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:700!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line span{
    order:-1!important;
    width:114px!important;
    flex:0 0 114px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch .cb-checkbox-line input{
    width:13px!important;
    height:13px!important;
    min-height:13px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch>select{grid-column:2!important}

  /* Large journal workspace: exactly ten initial rows; next row is added only when needed. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-card{
    padding:7px 10px 8px!important;
    border-radius:7px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top-r49{
    min-height:34px!important;
    padding:0 0 5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-title-line{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-title-line h2{
    margin:0!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-account-picker-button{
    height:28px!important;
    min-height:28px!important;
    padding:0 12px!important;
    border:1px solid #efb5b5!important;
    border-radius:5px!important;
    background:#fff!important;
    color:#d40000!important;
    font-size:10.5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll{
    min-height:315px!important;
    height:auto!important;
    overflow:auto!important;
    border-radius:5px!important;
    background:#fff!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table{
    width:100%!important;
    min-width:100%!important;
    table-layout:fixed!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{
    height:24px!important;
    padding:2px 5px!important;
    font-size:9px!important;
    line-height:1!important;
    font-weight:800!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td{
    height:27px!important;
    padding:1px 4px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tfoot td{
    height:27px!important;
    padding:2px 5px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display{
    height:23px!important;
    min-height:23px!important;
    max-height:23px!important;
    padding:0 7px!important;
    border-radius:4px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-row-actions button{
    width:23px!important;
    height:23px!important;
    min-height:23px!important;
    max-height:23px!important;
    border-radius:4px!important;
    font-size:10px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:34px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:165px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:175px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:140px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(7){width:58px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-foot{
    padding:6px 2px 0!important;
    margin:0!important;
    font-size:9px!important;
    line-height:1.1!important;
  }

  /* Popup account selection remains a button-driven modal. */
  .cb-account-modal-r49{width:min(560px,92vw)!important;max-width:560px!important}
}

@media (min-width:801px) and (max-width:1150px){
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52{
    grid-template-columns:1fr auto!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-search-title-r52>span{display:none!important}
  .ui-1366-standard .cb-compact-1366 .cb-header-grid{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "voucher fund"
      "date unit"
      "amount account"
      "employee description"
      "method description"
      "reference description"!important;
  }
}

/* R53 — approved compact transaction standard, authority: Kas Kecil Keluar 1366×768. */
@media (min-width:801px){
  /* Keep sidebar/topbar shell unchanged. Standardize only transaction workspace. */
  .ui-1366-standard .cb-compact-1366,
  .ui-1366-standard .jm-compact-1366,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard{
    --r53-control-h:28px;
    --r53-table-control-h:21px;
    --r53-font:10.5px;
    --r53-table-font:10px;
    --r53-gap-x:18px;
    --r53-gap-y:2px;
    --r53-radius:5px;
  }

  /* Header is locked/approved: preserve geometry while removing wasted vertical space. */
  .ui-1366-standard .cb-compact-1366 .cb-header-card,
  .ui-1366-standard .jm-compact-1366 .jm-header-card,
  .ui-1366-standard .transaction-form-card,
  .ui-1366-standard .transaction-standard .panel,
  .ui-1366-standard .transaction-standard.panel{
    padding:7px 10px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid,
  .ui-1366-standard .transaction-form-card .transaction-form-grid,
  .ui-1366-standard .transaction-standard .form-grid{
    row-gap:var(--r53-gap-y)!important;
    column-gap:var(--r53-gap-x)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid input,
  .ui-1366-standard .cb-compact-1366 .cb-header-grid select,
  .ui-1366-standard .cb-compact-1366 .cb-employee-switch select,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid input,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid select,
  .ui-1366-standard .transaction-form-card input,
  .ui-1366-standard .transaction-form-card select,
  .ui-1366-standard .transaction-standard input,
  .ui-1366-standard .transaction-standard select{
    height:var(--r53-control-h)!important;
    min-height:var(--r53-control-h)!important;
    max-height:var(--r53-control-h)!important;
    padding:0 8px!important;
    font-size:var(--r53-font)!important;
    line-height:1!important;
    border-radius:var(--r53-radius)!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-header-grid>label,
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label,
  .ui-1366-standard .transaction-form-card label,
  .ui-1366-standard .transaction-standard label{
    font-size:var(--r53-font)!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-description-field textarea,
  .ui-1366-standard .jm-compact-1366 .jm-description-field textarea,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-standard textarea{
    min-height:92px!important;
    padding:6px 8px!important;
    font-size:var(--r53-font)!important;
    line-height:1.18!important;
    border-radius:var(--r53-radius)!important;
  }

  /* Journal card: tight rows, 7 visible initial rows, generous workspace below. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-card,
  .ui-1366-standard .jm-compact-1366 .cb-journal-card{
    padding:6px 10px 8px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-top,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top{
    min-height:30px!important;
    padding:0 0 4px!important;
    margin:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-title-line h2,
  .ui-1366-standard .jm-compact-1366 .cb-journal-top h2{
    font-size:14px!important;
    line-height:1!important;
    margin:0!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-account-picker-button,
  .ui-1366-standard .jm-compact-1366 .cb-tool-btn{
    height:26px!important;
    min-height:26px!important;
    padding:0 10px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll,
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{
    min-height:300px!important;
    height:auto!important;
    overflow:auto!important;
    background:#fff!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table{
    width:100%!important;
    min-width:100%!important;
    table-layout:fixed!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    height:22px!important;
    padding:1px 4px!important;
    font-size:9px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td{
    height:24px!important;
    padding:0 3px!important;
    font-size:var(--r53-table-font)!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    height:var(--r53-table-control-h)!important;
    min-height:var(--r53-table-control-h)!important;
    max-height:var(--r53-table-control-h)!important;
    padding:0 6px!important;
    border-radius:4px!important;
    font-size:var(--r53-table-font)!important;
    line-height:1!important;
  }

  /* Cash/Bank target has six journal columns; no action column. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:34px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:175px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:185px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:165px!important}

  /* Jurnal Memorial retains action column but follows the same row density. */
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(1){width:34px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(2){width:165px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(3){width:175px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(4){width:auto!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(6){width:140px!important}
  .ui-1366-standard .jm-compact-1366 .cb-journal-table th:nth-child(7){width:58px!important}

  /* Compact top buttons without touching sidebar. */
  .ui-1366-standard .cb-compact-1366 .cb-actionbar{
    padding:5px 10px!important;
    min-height:38px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-btn,
  .ui-1366-standard .cb-compact-1366 .cb-print-after-save,
  .ui-1366-standard .jm-compact-1366 .cb-btn,
  .ui-1366-standard .transaction-form-card button,
  .ui-1366-standard .transaction-standard button{
    height:26px!important;
    min-height:26px!important;
    padding:0 8px!important;
    font-size:10px!important;
    line-height:1!important;
  }
}

/* R54 — final approved 1366x768 transaction density and journal row actions. */
@media (min-width:801px){
  /* Header stays approved/compact; shorten description to free vertical space. */
  .ui-1366-standard .cb-compact-1366 .cb-description-field textarea,
  .ui-1366-standard .jm-compact-1366 .jm-description-field textarea,
  .ui-1366-standard .transaction-form-card textarea,
  .ui-1366-standard .transaction-standard textarea{
    min-height:72px!important;
    height:72px!important;
    max-height:72px!important;
    padding:5px 8px!important;
  }

  /* Seven visible journal rows: compact but comfortable, matching approved reference. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll,
  .ui-1366-standard .jm-compact-1366 .cb-journal-scroll{
    min-height:278px!important;
    height:auto!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table thead th{
    height:25px!important;
    padding:2px 5px!important;
    font-size:9.5px!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table tbody td,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table tbody td{
    height:33px!important;
    padding:2px 4px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table input,
  .ui-1366-standard .cb-compact-1366 .cb-journal-table select,
  .ui-1366-standard .cb-compact-1366 .cb-code-display,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table input,
  .ui-1366-standard .jm-compact-1366 .cb-journal-table select,
  .ui-1366-standard .jm-compact-1366 .cb-code-display{
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
    padding:0 7px!important;
    font-size:10px!important;
  }

  /* Cash/Bank keeps a small action column with per-row delete button. */
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(1){width:34px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(2){width:175px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(3){width:185px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(4){width:auto!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(5),
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(6){width:150px!important}
  .ui-1366-standard .cb-compact-1366 .cb-journal-table th:nth-child(7){width:42px!important;text-align:center!important}
  .ui-1366-standard .cb-compact-1366 .cb-row-delete-cell{text-align:center!important;padding-left:2px!important;padding-right:2px!important}
  .ui-1366-standard .cb-compact-1366 .cb-row-delete-compact{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
    max-width:20px!important;
    max-height:20px!important;
    padding:0!important;
    border:1px solid #ffd0d0!important;
    border-radius:4px!important;
    background:#fff!important;
    color:#e00000!important;
    font-size:9px!important;
    line-height:18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    cursor:pointer!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-row-delete-compact:hover{background:#fff4f4!important;border-color:#ffaaaa!important}
}

/* R55 — Cash/Bank list workflow filters; transaction visual standard R54 remains locked. */
@media (min-width:801px){
  .ui-1366-standard .cb-list-filter-r55{
    grid-template-columns:150px 150px 130px 220px minmax(260px,1fr) auto;
    gap:7px;
    padding:7px 0;
    align-items:end;
  }
  .ui-1366-standard .cb-list-filter-r55 select,
  .ui-1366-standard .cb-list-filter-r55 input{
    width:100%;
    height:28px;
    min-height:28px;
    border:1px solid #d7dbe0;
    border-radius:6px;
    background:#fff;
    padding:3px 8px;
    font-size:12px;
    line-height:1.1;
  }
  .ui-1366-standard .cb-list-filter-r55 select:disabled{
    background:#f4f5f7;
    color:#6b7280;
  }
  .ui-1366-standard .cb-list-filter-r55 button{
    height:28px;
    min-height:28px;
    padding:0 10px;
  }
}

/* R56 — list column proportions + source-first account workflow + multi-select account popup. */
@media (min-width:801px){
  /* Cash/Bank list: make metadata columns compact and give Keterangan the free width. */
  .ui-1366-standard .cb-list-table-r56{
    width:100%!important;
    min-width:1040px!important;
    table-layout:fixed!important;
  }
  .ui-1366-standard .cb-list-table-r56 th:nth-child(1){width:88px!important}   /* Tanggal */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(2){width:158px!important}  /* No Bukti */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(3){width:170px!important}  /* Kas/Bank */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(4){width:76px!important}   /* Unit */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(5){width:auto!important}   /* Keterangan */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(6){width:100px!important}  /* Nilai */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(7){width:132px!important}  /* User */
  .ui-1366-standard .cb-list-table-r56 th:nth-child(8){width:56px!important}   /* Buka */
  .ui-1366-standard .cb-list-table-r56 td:nth-child(1),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(2),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(3),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(4),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(6),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(7),
  .ui-1366-standard .cb-list-table-r56 td:nth-child(8){white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .ui-1366-standard .cb-list-table-r56 td:nth-child(5){white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important}

  /* Account popup: visible scroll area, sticky header, multi-select checkbox, source-fund column. */
  .ui-1366-standard .cb-account-modal-r49{
    width:min(690px,92vw)!important;
    max-width:690px!important;
    max-height:82vh!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .ui-1366-standard .cb-account-table-scroll-r56{
    margin:0 14px!important;
    max-height:390px!important;
    min-height:250px!important;
    overflow-y:auto!important;
    border:1px solid #dfe3e8!important;
    border-radius:5px!important;
  }
  .ui-1366-standard .cb-account-picker-table-r56{
    width:100%!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
  }
  .ui-1366-standard .cb-account-picker-table-r56 thead th{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:#f5f6f7!important;
  }
  .ui-1366-standard .cb-account-picker-table-r56 th:nth-child(1),
  .ui-1366-standard .cb-account-picker-table-r56 td:nth-child(1){width:38px!important;text-align:center!important}
  .ui-1366-standard .cb-account-picker-table-r56 th:nth-child(2),
  .ui-1366-standard .cb-account-picker-table-r56 td:nth-child(2){width:155px!important}
  .ui-1366-standard .cb-account-picker-table-r56 th:nth-child(3),
  .ui-1366-standard .cb-account-picker-table-r56 td:nth-child(3){width:auto!important}
  .ui-1366-standard .cb-account-picker-table-r56 th:nth-child(4),
  .ui-1366-standard .cb-account-picker-table-r56 td:nth-child(4){width:105px!important}
  .ui-1366-standard .cb-account-picker-table-r56 .picker-check input{
    width:15px!important;
    height:15px!important;
    min-height:15px!important;
    margin:0!important;
    cursor:pointer!important;
  }
  .ui-1366-standard .cb-account-picker-table-r56 td{cursor:default!important}
  .ui-1366-standard .cb-account-picker-table-r56 tr.selected{background:#fff2f2!important}
  .ui-1366-standard .cb-account-selection-summary-r56{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:10px!important;
    padding:7px 14px 3px!important;
    font-size:10px!important;
    color:#606872!important;
  }
  .ui-1366-standard .cb-account-selection-summary-r56 strong{color:#252a31!important}
  .ui-1366-standard .cb-modal-foot-sticky-r56{
    margin-top:0!important;
    background:#fff!important;
    border-top:1px solid #eceff2!important;
    flex:0 0 auto!important;
  }
}

/* R57 — Report workspace & print preview authority. Transaction CSS is intentionally untouched. */
@media (min-width:801px){
  .ui-1366-standard .legacy-report-hub-heading{margin-bottom:8px}
  .ui-1366-standard .legacy-report-hub{padding:10px 12px;border-radius:8px}
  .ui-1366-standard .legacy-report-ribbon{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
  .ui-1366-standard .legacy-report-ribbon-item{min-height:58px;display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid #dfe2e6;border-radius:6px;background:#fff;color:#20242a;text-decoration:none}
  .ui-1366-standard .legacy-report-ribbon-item:hover{border-color:#ef9a9a;background:#fffafa}
  .ui-1366-standard .legacy-report-ribbon-item.disabled{opacity:.45;cursor:not-allowed}
  .ui-1366-standard .legacy-report-ribbon-icon{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;color:#c90000}
  .ui-1366-standard .legacy-report-ribbon-icon svg{width:24px;height:24px}
  .ui-1366-standard .legacy-report-ribbon-item strong{font-size:10px;line-height:1.15}
  .ui-1366-standard .legacy-report-hub-note{display:flex;gap:7px;margin-top:8px;padding:6px 8px;border-top:1px solid #e6e8eb;font-size:9px;color:#5d6470}

  .ui-1366-standard .legacy-report-options{display:grid;gap:7px;max-width:none;margin:0}
  .ui-1366-standard .legacy-report-commandbar{height:34px;display:flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #e0e3e7;border-radius:7px;background:#fff}
  .ui-1366-standard .legacy-report-commandbar button,
  .ui-1366-standard .legacy-report-commandbar .button-link{height:25px;min-height:25px;padding:0 9px;font-size:10px;border-radius:5px}
  .ui-1366-standard .legacy-report-caption{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border:1px solid #e0e3e7;border-radius:7px;background:#fff}
  .ui-1366-standard .legacy-report-caption span{font-size:8px;font-weight:800;color:#c40000;letter-spacing:.07em}
  .ui-1366-standard .legacy-report-caption h1{font-size:17px;line-height:1.05;margin:1px 0 2px}
  .ui-1366-standard .legacy-report-caption p{font-size:9px;color:#6a717d;margin:0}
  .ui-1366-standard .legacy-report-caption>strong{font-size:10px;border:1px solid #efb5b5;color:#b30000;border-radius:999px;padding:4px 8px}

  .ui-1366-standard .legacy-report-selector{padding:0;overflow:hidden;border-radius:7px}
  .ui-1366-standard .legacy-report-choice-table{width:100%;border-collapse:collapse;table-layout:fixed}
  .ui-1366-standard .legacy-report-choice-table th{background:#f1f2f4;color:#4c535d;font-size:9px;text-align:left;padding:5px 7px;border-bottom:1px solid #dfe2e6}
  .ui-1366-standard .legacy-report-choice-table th:nth-child(1){width:52px;text-align:center}.ui-1366-standard .legacy-report-choice-table th:nth-child(3){width:100px}.ui-1366-standard .legacy-report-choice-table th:nth-child(4){width:110px}
  .ui-1366-standard .legacy-report-choice-table td{font-size:10px;padding:5px 7px;border-bottom:1px solid #eceef0;vertical-align:middle}
  .ui-1366-standard .legacy-report-choice-table td:first-child{text-align:center}
  .ui-1366-standard .legacy-report-choice-table td small{display:block;margin-top:1px;font-size:8px;color:#707783;font-weight:400}
  .ui-1366-standard .legacy-report-choice-table tr{cursor:pointer}.ui-1366-standard .legacy-report-choice-table tr.selected td{background:#fff1f1}.ui-1366-standard .legacy-report-choice-table tr:hover td{background:#fafafa}
  .ui-1366-standard .legacy-report-choice-table input[type=radio]{width:13px;height:13px;min-height:13px}

  .ui-1366-standard .legacy-report-filter-card{padding:9px 10px;border-radius:7px}
  .ui-1366-standard .legacy-report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px 8px;align-items:end}
  .ui-1366-standard .legacy-report-filter-grid label{display:grid;gap:2px;font-size:9px;font-weight:700;color:#343941}
  .ui-1366-standard .legacy-report-filter-grid input,
  .ui-1366-standard .legacy-report-filter-grid select{height:27px;min-height:27px;padding:0 7px;font-size:10px;border-radius:5px}
  .ui-1366-standard .legacy-report-search{grid-column:span 2}
  .ui-1366-standard .legacy-report-scope-note{display:flex;gap:7px;align-items:center;margin-top:6px;padding:5px 7px;border:1px solid #e4e6e9;border-radius:5px;background:#fafafa;font-size:8px;color:#616975}
  .ui-1366-standard .legacy-report-scope-note strong{color:#252a31;white-space:nowrap}
  .ui-1366-standard .legacy-report-bottom-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:6px}
  .ui-1366-standard .legacy-report-bottom-actions button{height:26px;min-height:26px;padding:0 11px;font-size:10px}

  .ui-1366-standard .legacy-report-viewer{display:grid;gap:6px;min-width:0}
  .ui-1366-standard .legacy-report-viewer-toolbar{height:36px;display:flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #d8dce1;border-radius:7px;background:#fff}
  .ui-1366-standard .legacy-report-viewer-toolbar button,
  .ui-1366-standard .legacy-report-viewer-toolbar .button-link,
  .ui-1366-standard .legacy-report-viewer-toolbar select{height:26px;min-height:26px;font-size:10px;padding:0 8px;border-radius:5px}
  .ui-1366-standard .legacy-report-preview-label{font-size:10px;font-weight:800;color:#b40000;padding:0 5px}
  .ui-1366-standard .legacy-report-viewer-info{margin-left:auto;font-size:9px;color:#6a717c}
  .ui-1366-standard .legacy-report-zoom{display:flex;align-items:center;gap:4px;font-size:9px;color:#555c66}
  .ui-1366-standard .legacy-report-zoom select{width:72px}

  .ui-1366-standard .legacy-report-canvas{min-height:calc(100vh - 190px);padding:12px;overflow:auto;background:#777c82;border:1px solid #656b72;border-radius:4px;text-align:center}
  .ui-1366-standard .legacy-report-paper{--preview-scale:1;display:inline-block;vertical-align:top;text-align:left;background:#fff;color:#111;box-shadow:0 2px 12px rgba(0,0,0,.32);padding:27px 31px 30px;transform:scale(var(--preview-scale));transform-origin:top center;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .legacy-report-paper.paper-landscape{width:1050px;min-height:742px}
  .ui-1366-standard .legacy-report-paper.paper-portrait{width:760px;min-height:1075px}
  .ui-1366-standard .legacy-report-doc-head{display:grid;grid-template-columns:1fr 2fr .7fr;gap:12px;align-items:start;padding-bottom:7px;border-bottom:1.5px solid #202020}
  .ui-1366-standard .legacy-report-doc-brand strong{display:block;font-size:10px;color:#132f83}.ui-1366-standard .legacy-report-doc-brand span{display:block;font-size:7px;color:#555;margin-top:2px}
  .ui-1366-standard .legacy-report-doc-title{text-align:center}.ui-1366-standard .legacy-report-doc-title h1{font-size:14px;line-height:1.05;margin:0 0 2px;color:#b00000}.ui-1366-standard .legacy-report-doc-title strong{display:block;font-size:9px}.ui-1366-standard .legacy-report-doc-title span{display:block;font-size:8px;margin-top:2px}
  .ui-1366-standard .legacy-report-doc-page{text-align:right;font-size:7px}.ui-1366-standard .legacy-report-doc-page span,.ui-1366-standard .legacy-report-doc-page strong{display:block}
  .ui-1366-standard .legacy-report-doc-filter{display:flex;flex-wrap:wrap;gap:10px;padding:4px 0;font-size:7px;color:#444}

  .ui-1366-standard .legacy-report-paper .report-table-wrap{margin:0;max-height:none;overflow:visible;border:0;border-radius:0}
  .ui-1366-standard .legacy-report-paper .report-table{width:100%;min-width:0;border-collapse:collapse;font-size:8px;table-layout:auto}
  .ui-1366-standard .legacy-report-paper .report-table th{position:static;background:#f1f1f1;color:#111;font-size:7px;padding:3px 4px;border:1px solid #bfc2c6;font-weight:700;white-space:nowrap}
  .ui-1366-standard .legacy-report-paper .report-table td{font-size:7.5px;line-height:1.15;padding:3px 4px;border:1px solid #d1d3d6;vertical-align:top}
  .ui-1366-standard .legacy-report-paper .report-table td.right{text-align:right;white-space:nowrap}
  .ui-1366-standard .legacy-report-paper .report-table tr:hover td{background:transparent}
  .ui-1366-standard .legacy-report-paper .report-group td{background:#ececec!important;font-weight:800;border-top:1px solid #999}
  .ui-1366-standard .legacy-report-paper .report-summary{display:flex;justify-content:flex-end;gap:0;margin-top:6px;border:1px solid #c9ccd0;border-radius:0;background:#fff}
  .ui-1366-standard .legacy-report-paper .report-summary>div{min-width:125px;display:grid;grid-template-columns:1fr auto;gap:8px;padding:4px 6px;border-left:1px solid #d7d9dc}
  .ui-1366-standard .legacy-report-paper .report-summary>div:first-child{border-left:0}.ui-1366-standard .legacy-report-paper .report-summary span{font-size:7px}.ui-1366-standard .legacy-report-paper .report-summary strong{font-size:8px;text-align:right}
  .ui-1366-standard .legacy-report-doc-footer{display:flex;justify-content:space-between;margin-top:8px;padding-top:5px;border-top:1px solid #777;font-size:6.5px;color:#555}
}

@media print{
  .legacy-report-viewer-toolbar,.legacy-report-viewer>.scope-note{display:none!important}
  .legacy-report-viewer,.legacy-report-canvas{display:block!important;background:#fff!important;border:0!important;padding:0!important;margin:0!important;min-height:0!important;overflow:visible!important}
  .legacy-report-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;font-family:Arial,Helvetica,sans-serif!important}
  .legacy-report-paper .report-table-wrap{overflow:visible!important;max-height:none!important}
  .legacy-report-paper .report-table{width:100%!important;min-width:0!important;page-break-inside:auto!important}
  .legacy-report-paper .report-table thead{display:table-header-group!important}
  .legacy-report-paper .report-table tfoot{display:table-footer-group!important}
  .legacy-report-paper .report-table tr{page-break-inside:avoid!important;page-break-after:auto!important}
  .legacy-report-paper .report-table th{font-size:7pt!important;padding:2.5pt 3pt!important;background:#eee!important;color:#111!important}
  .legacy-report-paper .report-table td{font-size:7pt!important;padding:2.5pt 3pt!important;color:#111!important}
  .legacy-report-doc-head{break-inside:avoid!important}
  .legacy-report-doc-footer{break-inside:avoid!important}
}
.ui-1366-standard .report-feature-heading{display:none}

/* R130 — Shared physical report paper safe area. The reserve is inside the
   fixed A4 page box so Preview, Printer and PDF keep one page boundary. */
.ui-1366-standard .legacy-report-paper{
  --report-safe-top:7mm;
  --report-safe-bottom:7mm;
  box-sizing:border-box!important;
  padding:var(--report-safe-top) 7mm var(--report-safe-bottom) 7mm!important;
}
@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper{
    --report-safe-top:7mm;
    --report-safe-bottom:7mm;
    box-sizing:border-box!important;
    height:210mm!important;
    min-height:210mm!important;
    padding:var(--report-safe-top) 7mm var(--report-safe-bottom) 7mm!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait{
    height:297mm!important;
    min-height:297mm!important;
  }
}

/* SAHAD R58 — Buku Kas Bank legacy print authority (reference 2026-08-19). */
.ui-1366-standard .cashbook-book-canvas{display:block;text-align:center}
.ui-1366-standard .cashbook-book-paper{width:1050px;min-height:742px;padding:34px 42px 32px;text-align:left;color:#111;background:#fff}
.ui-1366-standard .cashbook-book-paper+.cashbook-book-paper{margin-top:18px}
.ui-1366-standard .cashbook-book-head{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:start}
.ui-1366-standard .cashbook-book-brand h2{margin:0;font-size:20px;line-height:1.15;font-weight:800;letter-spacing:.01em}
.ui-1366-standard .cashbook-book-brand strong{display:block;margin-top:28px;font-size:15px;line-height:1.2}
.ui-1366-standard .cashbook-book-title h1{margin:17px 0 14px;text-align:center;font-size:20px;line-height:1;color:#0000d9;text-decoration:underline;font-weight:800}
.ui-1366-standard .cashbook-book-title dl{display:grid;grid-template-columns:92px 1fr;gap:5px 8px;margin:0;font-size:13px;line-height:1.15}
.ui-1366-standard .cashbook-book-title dt,.ui-1366-standard .cashbook-book-title dd{margin:0}
.ui-1366-standard .cashbook-book-title dd{font-weight:700}
.ui-1366-standard .cashbook-book-currency{display:flex;align-items:center;gap:54px;margin:55px 0 10px;font-size:13px}
.ui-1366-standard .cashbook-book-currency strong{font-weight:500}
.ui-1366-standard .cashbook-book-table-wrap{margin:0;overflow:visible;border:0;border-radius:0;max-height:none}
.ui-1366-standard .cashbook-book-table{width:100%;max-width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;font-size:11.5px;line-height:1.25}
.ui-1366-standard .cashbook-book-table th{padding:7px 5px 6px;border-top:1.4px solid #111;border-bottom:1.4px solid #111;background:#fff;color:#111;text-align:left;font-size:11px;font-weight:800;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.15}
.ui-1366-standard .cashbook-book-table td{padding:7px 5px;border:0;background:#fff;color:#111;vertical-align:top;font-size:11.5px;white-space:normal;word-break:normal;overflow-wrap:break-word}
.ui-1366-standard .cashbook-book-table th:nth-child(1),.ui-1366-standard .cashbook-book-table td:nth-child(1){width:5%;text-align:center}
.ui-1366-standard .cashbook-book-table th:nth-child(2),.ui-1366-standard .cashbook-book-table td:nth-child(2){width:16%}
.ui-1366-standard .cashbook-book-table th:nth-child(3),.ui-1366-standard .cashbook-book-table td:nth-child(3){width:15%}
.ui-1366-standard .cashbook-book-table th:nth-child(4),.ui-1366-standard .cashbook-book-table td:nth-child(4){width:31%}
.ui-1366-standard .cashbook-book-table th:nth-child(5),.ui-1366-standard .cashbook-book-table td:nth-child(5),.ui-1366-standard .cashbook-book-table th:nth-child(6),.ui-1366-standard .cashbook-book-table td:nth-child(6),.ui-1366-standard .cashbook-book-table th:nth-child(7),.ui-1366-standard .cashbook-book-table td:nth-child(7){width:11%;text-align:right;white-space:nowrap}
.ui-1366-standard .cashbook-opening-row td{padding-top:11px;padding-bottom:4px}
.ui-1366-standard .cashbook-opening-row td:nth-child(4){text-align:right;font-weight:700}
.ui-1366-standard .cashbook-book-table tfoot td{padding-top:7px;padding-bottom:7px;border-top:1.3px solid #111;border-bottom:1.3px solid #111;font-weight:800}
.ui-1366-standard .cashbook-book-table td.right{text-align:right}.ui-1366-standard .cashbook-book-table td.center{text-align:center}
.ui-1366-standard .cashbook-book-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:75px;margin-top:42px;text-align:center;font-size:12px}
.ui-1366-standard .cashbook-book-signatures>div{display:flex;min-height:155px;flex-direction:column;justify-content:space-between;align-items:center}
.ui-1366-standard .cashbook-book-signatures strong{font-weight:500}.ui-1366-standard .cashbook-book-signatures span{font-size:12px;letter-spacing:.02em}

@media print{
  .cashbook-book-canvas{display:block!important}
  .cashbook-book-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important}
  .cashbook-book-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .cashbook-book-paper+.cashbook-book-paper{margin-top:0!important}
  .cashbook-book-head{display:grid!important;grid-template-columns:1fr 88mm!important;gap:10mm!important;align-items:start!important}
  .cashbook-book-brand h2{font-size:15pt!important}.cashbook-book-brand strong{margin-top:16pt!important;font-size:11pt!important}
  .cashbook-book-title h1{margin:12pt 0 10pt!important;font-size:15pt!important;color:#0000d9!important;text-decoration:underline!important}
  .cashbook-book-title dl{grid-template-columns:25mm 1fr!important;gap:3pt 6pt!important;font-size:9.5pt!important}
  .cashbook-book-currency{gap:30mm!important;margin:32pt 0 7pt!important;font-size:9.5pt!important}
  .cashbook-book-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;font-size:8.5pt!important}
  .cashbook-book-table thead{display:table-header-group!important}.cashbook-book-table tfoot{display:table-footer-group!important}
  .cashbook-book-table tr{page-break-inside:avoid!important}
  .cashbook-book-table th{padding:4pt 3pt!important;border-top:1pt solid #111!important;border-bottom:1pt solid #111!important;background:#fff!important;color:#111!important;font-size:8.5pt!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.1!important}
  .cashbook-book-table td{padding:4pt 3pt!important;border:0!important;background:#fff!important;color:#111!important;font-size:9pt!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  .cashbook-book-table td.right{white-space:nowrap!important}
  .cashbook-book-table tfoot td{border-top:1pt solid #111!important;border-bottom:1pt solid #111!important;font-weight:700!important}
  .cashbook-book-signatures{grid-template-columns:repeat(3,1fr)!important;gap:20mm!important;margin-top:26pt!important;font-size:9pt!important}
  .cashbook-book-signatures>div{min-height:92pt!important}
}

/* SAHAD R59 — legacy Buku Besar + Mutasi Sumber Dana print authority (reference 2026-08-19). */
.ui-1366-standard .ledger-book-canvas,.ui-1366-standard .fund-mutation-canvas{display:block;text-align:center}
.ui-1366-standard .ledger-book-paper,.ui-1366-standard .fund-mutation-paper{width:1050px;min-height:742px;padding:28px 31px 32px;text-align:left;color:#111;background:#fff;font-family:"Times New Roman",Times,serif}
.ui-1366-standard .ledger-book-paper+.ledger-book-paper,.ui-1366-standard .fund-mutation-paper+.fund-mutation-paper{margin-top:18px}
.ui-1366-standard .ledger-book-head h2{margin:0 0 5px 7px;font-family:Arial,Helvetica,sans-serif;font-size:20px;line-height:1.1;font-weight:800;color:#0000d9}
.ui-1366-standard .ledger-book-double-rule{height:5px;border-top:1.4px solid #111;border-bottom:1.4px solid #111}
.ui-1366-standard .ledger-book-head h1{margin:7px 0 8px 7px;font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.1;color:#8b0000;font-weight:800}
.ui-1366-standard .ledger-book-report-meta{display:flex;justify-content:space-between;align-items:center;padding:0 8px 5px;font-size:12px;line-height:1.2}
.ui-1366-standard .ledger-book-single-rule{border-top:1.3px solid #111}
.ui-1366-standard .ledger-book-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px 70px;padding:15px 8px 3px;font-size:12px}
.ui-1366-standard .ledger-book-filters>div{display:grid;grid-template-columns:115px 10px 110px 34px 120px;align-items:center;min-height:18px}
.ui-1366-standard .ledger-book-filters>div:nth-child(1),.ui-1366-standard .ledger-book-filters>div:nth-child(2){grid-column:1}
.ui-1366-standard .ledger-book-filters .ledger-book-structure-filter{grid-column:2;grid-row:2;grid-template-columns:135px 10px 90px 34px 100px}
.ui-1366-standard .ledger-book-filters span{white-space:nowrap}.ui-1366-standard .ledger-book-filters b{font-weight:400}.ui-1366-standard .ledger-book-filters em{font-style:normal;text-align:center}.ui-1366-standard .ledger-book-filters strong{font-weight:500;min-height:1em}
.ui-1366-standard .ledger-account-section{margin-top:13px;break-inside:avoid;page-break-inside:avoid}
.ui-1366-standard .ledger-account-section+.ledger-account-section{margin-top:42px}
.ui-1366-standard .ledger-book-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.18}
.ui-1366-standard .ledger-book-table th{padding:6px 5px;border-top:1.3px solid #111;border-bottom:1.3px solid #111;background:#fff;color:#111;text-align:left;font-size:11px;font-weight:800;white-space:nowrap}
.ui-1366-standard .ledger-book-table td{padding:6px 5px;border:0;background:#fff;color:#111;vertical-align:top;font-size:11px}
.ui-1366-standard .ledger-book-table th:nth-child(1),.ui-1366-standard .ledger-book-table td:nth-child(1){width:35px;text-align:center}
.ui-1366-standard .ledger-book-table th:nth-child(2),.ui-1366-standard .ledger-book-table td:nth-child(2){width:95px}.ui-1366-standard .ledger-book-table th:nth-child(3),.ui-1366-standard .ledger-book-table td:nth-child(3){width:145px}.ui-1366-standard .ledger-book-table th:nth-child(4),.ui-1366-standard .ledger-book-table td:nth-child(4){width:72px}.ui-1366-standard .ledger-book-table th:nth-child(5),.ui-1366-standard .ledger-book-table td:nth-child(5){width:120px}.ui-1366-standard .ledger-book-table th:nth-child(6),.ui-1366-standard .ledger-book-table td:nth-child(6){width:82px}.ui-1366-standard .ledger-book-table th:nth-child(8),.ui-1366-standard .ledger-book-table td:nth-child(8),.ui-1366-standard .ledger-book-table th:nth-child(9),.ui-1366-standard .ledger-book-table td:nth-child(9),.ui-1366-standard .ledger-book-table th:nth-child(10),.ui-1366-standard .ledger-book-table td:nth-child(10){width:112px;text-align:right;white-space:nowrap}
.ui-1366-standard .ledger-book-table td.right{text-align:right}.ui-1366-standard .ledger-book-table td.center{text-align:center}
.ui-1366-standard .ledger-opening-row td{padding-top:10px;padding-bottom:3px}.ui-1366-standard .ledger-opening-row td:nth-child(8){font-weight:700;text-align:left}.ui-1366-standard .ledger-opening-row td:nth-child(10){font-weight:700}
.ui-1366-standard .ledger-book-table tfoot td{padding-top:7px;padding-bottom:7px;font-weight:700}
.ui-1366-standard .ledger-book-table tfoot td:nth-last-child(-n+3){border-top:1.2px solid #111;border-bottom:1.2px solid #111}

.ui-1366-standard .fund-mutation-head{font-family:"Times New Roman",Times,serif}
.ui-1366-standard .fund-mutation-top-meta{display:flex;justify-content:space-between;padding:0 5px 6px;font-size:12px;font-weight:700}
.ui-1366-standard .fund-mutation-rule{border-top:1.4px solid #111}
.ui-1366-standard .fund-mutation-head h2{margin:12px 0 1px;text-align:center;font-size:22px;line-height:1.05;font-weight:800}
.ui-1366-standard .fund-mutation-head h1{margin:1px 0;text-align:center;font-size:20px;line-height:1.08;font-weight:800}
.ui-1366-standard .fund-mutation-head h3{margin:2px 0 20px;text-align:center;font-size:17px;line-height:1.08;font-weight:800}
.ui-1366-standard .fund-mutation-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:"Times New Roman",Times,serif;font-size:12px;line-height:1.15}
.ui-1366-standard .fund-mutation-table th{padding:7px 6px;border-top:4px double #111;border-bottom:4px double #111;background:#fff;color:#111;text-align:left;font-size:12px;font-weight:800;white-space:nowrap}
.ui-1366-standard .fund-mutation-table td{padding:6px 6px;border:0;background:#fff;color:#111;vertical-align:top;font-size:12px}
.ui-1366-standard .fund-mutation-table th:nth-child(1),.ui-1366-standard .fund-mutation-table td:nth-child(1){width:40px;text-align:center}.ui-1366-standard .fund-mutation-table th:nth-child(2),.ui-1366-standard .fund-mutation-table td:nth-child(2){width:190px}.ui-1366-standard .fund-mutation-table th:nth-child(3),.ui-1366-standard .fund-mutation-table td:nth-child(3){width:95px}.ui-1366-standard .fund-mutation-table th:nth-child(5),.ui-1366-standard .fund-mutation-table td:nth-child(5),.ui-1366-standard .fund-mutation-table th:nth-child(6),.ui-1366-standard .fund-mutation-table td:nth-child(6),.ui-1366-standard .fund-mutation-table th:nth-child(7),.ui-1366-standard .fund-mutation-table td:nth-child(7){width:135px;text-align:right;white-space:nowrap}
.ui-1366-standard .fund-mutation-table td.right{text-align:right}.ui-1366-standard .fund-mutation-table td.center{text-align:center}
.ui-1366-standard .fund-mutation-source-row td{padding-top:17px;padding-bottom:9px;font-size:16px;font-weight:800;letter-spacing:.01em}
.ui-1366-standard .fund-mutation-source-row td:first-child{text-align:left}
.ui-1366-standard .fund-mutation-account-row td{padding-top:7px;padding-bottom:5px;font-size:13px;font-weight:700}.ui-1366-standard .fund-mutation-account-row td:last-child{font-weight:500}
.ui-1366-standard .fund-mutation-subtotal-row td{padding-top:7px;padding-bottom:7px;border-top:1.2px solid #111;border-bottom:1.2px solid #111;font-weight:800}
.ui-1366-standard .fund-mutation-subtotal-row td:nth-child(2){text-align:center}
.ui-1366-standard .fund-mutation-spacer td{height:24px;padding:0;border:0}

@media print{
  .ledger-book-canvas,.fund-mutation-canvas{display:block!important}
  .ledger-book-paper,.fund-mutation-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important}
  .ledger-book-paper:last-child,.fund-mutation-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .ledger-book-paper+.ledger-book-paper,.fund-mutation-paper+.fund-mutation-paper{margin-top:0!important}
  .ledger-book-head h2{margin:0 0 4pt 2pt!important;font-size:14pt!important;color:#0000d9!important}.ledger-book-double-rule{height:3pt!important;border-top:1pt solid #111!important;border-bottom:1pt solid #111!important}.ledger-book-head h1{margin:5pt 0 6pt 2pt!important;font-size:13pt!important;color:#8b0000!important}
  .ledger-book-report-meta{padding:0 2pt 4pt!important;font-size:8.5pt!important}.ledger-book-single-rule{border-top:1pt solid #111!important}.ledger-book-filters{gap:5pt 16mm!important;padding:9pt 2pt 2pt!important;font-size:8.5pt!important}.ledger-book-filters>div{grid-template-columns:29mm 3mm 28mm 9mm 31mm!important}.ledger-book-filters .ledger-book-structure-filter{grid-template-columns:34mm 3mm 23mm 9mm 25mm!important}
  .ledger-account-section{margin-top:8pt!important;break-inside:avoid!important;page-break-inside:avoid!important}.ledger-account-section+.ledger-account-section{margin-top:25pt!important}
  .ledger-book-table{font-size:7.5pt!important}.ledger-book-table th{padding:4pt 3pt!important;border-top:1pt solid #111!important;border-bottom:1pt solid #111!important;font-size:7.5pt!important;background:#fff!important;color:#111!important}.ledger-book-table td{padding:4pt 3pt!important;font-size:7.5pt!important;background:#fff!important;color:#111!important}.ledger-book-table tfoot td:nth-last-child(-n+3){border-top:1pt solid #111!important;border-bottom:1pt solid #111!important}
  .fund-mutation-top-meta{padding:0 2pt 4pt!important;font-size:9pt!important}.fund-mutation-rule{border-top:1pt solid #111!important}.fund-mutation-head h2{margin:8pt 0 1pt!important;font-size:16pt!important}.fund-mutation-head h1{margin:1pt 0!important;font-size:14pt!important}.fund-mutation-head h3{margin:2pt 0 14pt!important;font-size:12.5pt!important}
  .fund-mutation-table{font-size:8.5pt!important}.fund-mutation-table th{padding:4pt 3pt!important;border-top:3pt double #111!important;border-bottom:3pt double #111!important;font-size:8.5pt!important;background:#fff!important;color:#111!important}.fund-mutation-table td{padding:4pt 3pt!important;font-size:8.5pt!important;background:#fff!important;color:#111!important}.fund-mutation-source-row td{padding-top:11pt!important;padding-bottom:6pt!important;font-size:11.5pt!important}.fund-mutation-account-row td{padding-top:5pt!important;padding-bottom:4pt!important;font-size:9.5pt!important}.fund-mutation-subtotal-row td{border-top:1pt solid #111!important;border-bottom:1pt solid #111!important}.fund-mutation-spacer td{height:16pt!important}
}


/* R60 — Neraca Saldo Bulanan/Periode legacy print authority. No transaction layout changes. */
@media (min-width:801px){
  .ui-1366-standard .legacy-trial-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-trial-options .legacy-report-commandbar{margin-bottom:70px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-trial-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-trial-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-trial-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-trial-options .legacy-report-commandbar .button-link:hover{background:#eceff2}
  .ui-1366-standard .trial-balance-selector{width:680px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .trial-balance-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .trial-balance-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .trial-balance-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .trial-balance-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .trial-balance-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .trial-balance-choice-table td:first-child{text-align:left}
  .ui-1366-standard .trial-balance-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .trial-balance-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .trial-balance-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}
  .ui-1366-standard .trial-balance-filter-card{width:520px;margin:14px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .trial-balance-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .trial-balance-filter-grid>label:not(.trial-checkbox){display:grid;grid-template-columns:118px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .trial-balance-filter-grid input,
  .ui-1366-standard .trial-balance-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .trial-balance-filter-grid>label:not(.trial-checkbox) select,
  .ui-1366-standard .trial-balance-filter-grid>label:not(.trial-checkbox) input{width:180px}
  .ui-1366-standard .trial-checkbox{display:grid;grid-template-columns:118px 18px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .trial-checkbox input[type=checkbox]{width:14px;height:14px;min-height:14px;margin:0;padding:0}
  .ui-1366-standard .trial-range-row{display:grid;grid-template-columns:118px 180px 34px 180px;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .trial-range-row>em{font-style:normal;text-align:center}
  .ui-1366-standard .trial-range-row input,
  .ui-1366-standard .trial-range-row select{width:180px}

  .ui-1366-standard .trial-balance-canvas{display:block;text-align:center}
  .ui-1366-standard .trial-balance-paper{width:1050px;min-height:742px;padding:28px 28px 32px;text-align:left;color:#111;background:#fff;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .trial-balance-paper+.trial-balance-paper{margin-top:18px}
  .ui-1366-standard .trial-balance-head h2{margin:0 0 7px 0;font-size:20px;line-height:1.05;font-weight:800;color:#0000d9}
  .ui-1366-standard .trial-balance-double-rule{height:5px;border-top:1.3px solid #111;border-bottom:1.3px solid #111}
  .ui-1366-standard .trial-balance-head h1{margin:9px 0 8px 0;font-size:19px;line-height:1.05;font-weight:800;color:#8b0000}
  .ui-1366-standard .trial-balance-report-meta{display:flex;justify-content:space-between;align-items:center;padding:0 0 5px;font-size:12px;line-height:1.15}
  .ui-1366-standard .trial-balance-report-meta span:last-child{padding-right:2px}
  .ui-1366-standard .trial-balance-single-rule{border-top:1.2px solid #111}
  .ui-1366-standard .trial-balance-filters{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;column-gap:40px;row-gap:10px;padding:16px 8px 11px;font-size:12px;line-height:1.15}
  .ui-1366-standard .trial-balance-filters>div{display:grid;grid-template-columns:120px 12px 120px 40px 145px;align-items:center;min-height:18px}
  .ui-1366-standard .trial-balance-filters>div:first-child{grid-column:1 / 3;grid-template-columns:120px 12px auto}
  .ui-1366-standard .trial-balance-filters .trial-balance-structure-filter{grid-column:2;grid-row:2;grid-template-columns:145px 12px 120px}
  .ui-1366-standard .trial-balance-filters span{white-space:nowrap}
  .ui-1366-standard .trial-balance-filters b{font-weight:400}
  .ui-1366-standard .trial-balance-filters em{font-style:normal;text-align:center}
  .ui-1366-standard .trial-balance-filters strong{font-weight:500;white-space:nowrap}
  .ui-1366-standard .trial-balance-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.18}
  .ui-1366-standard .trial-balance-table th{padding:7px 4px;border-top:1.3px solid #111;border-bottom:1.3px solid #111;background:#fff;color:#111;text-align:left;font-size:11px;font-weight:800;white-space:nowrap}
  .ui-1366-standard .trial-balance-table td{padding:5px 4px;border:0;background:#fff;color:#111;vertical-align:top;font-size:11px;line-height:1.2}
  .ui-1366-standard .trial-balance-table th:nth-child(1),.ui-1366-standard .trial-balance-table td:nth-child(1){width:34px;text-align:center}
  .ui-1366-standard .trial-balance-table th:nth-child(2),.ui-1366-standard .trial-balance-table td:nth-child(2){width:118px}
  .ui-1366-standard .trial-balance-table th:nth-child(3),.ui-1366-standard .trial-balance-table td:nth-child(3){width:auto}
  .ui-1366-standard .trial-balance-table th:nth-child(4),.ui-1366-standard .trial-balance-table td:nth-child(4),
  .ui-1366-standard .trial-balance-table th:nth-child(5),.ui-1366-standard .trial-balance-table td:nth-child(5),
  .ui-1366-standard .trial-balance-table th:nth-child(6),.ui-1366-standard .trial-balance-table td:nth-child(6),
  .ui-1366-standard .trial-balance-table th:nth-child(7),.ui-1366-standard .trial-balance-table td:nth-child(7){width:145px;text-align:right;white-space:nowrap}
  .ui-1366-standard .trial-balance-table td.right{text-align:right}.ui-1366-standard .trial-balance-table td.center{text-align:center}
  .ui-1366-standard .trial-balance-table tfoot td{padding:6px 4px;font-weight:800;white-space:nowrap}
  .ui-1366-standard .trial-balance-table tfoot td:nth-child(n+4){border-top:1.1px solid #111}
  .ui-1366-standard .trial-balance-table tfoot .trial-grand-total td:nth-child(n+4){border-bottom:4px double #111}
  .ui-1366-standard .trial-total-label{text-align:right;padding-right:28px!important}
}

@media print{
  .trial-balance-canvas{display:block!important}
  .trial-balance-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important}
  .trial-balance-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .trial-balance-paper+.trial-balance-paper{margin-top:0!important}
  .trial-balance-head h2{margin:0 0 4pt!important;font-size:14.5pt!important;color:#0000d9!important}
  .trial-balance-double-rule{height:3pt!important;border-top:1pt solid #111!important;border-bottom:1pt solid #111!important}
  .trial-balance-head h1{margin:6pt 0 6pt!important;font-size:13.5pt!important;color:#8b0000!important}
  .trial-balance-report-meta{padding:0 0 4pt!important;font-size:8.4pt!important}
  .trial-balance-single-rule{border-top:1pt solid #111!important}
  .trial-balance-filters{column-gap:10mm!important;row-gap:6pt!important;padding:10pt 2pt 7pt!important;font-size:8.4pt!important}
  .trial-balance-filters>div{grid-template-columns:30mm 3mm 30mm 10mm 37mm!important}
  .trial-balance-filters>div:first-child{grid-template-columns:30mm 3mm auto!important}
  .trial-balance-filters .trial-balance-structure-filter{grid-template-columns:37mm 3mm 30mm!important}
  .trial-balance-table{font-size:7.7pt!important}
  .trial-balance-table th{padding:4pt 2.5pt!important;border-top:1pt solid #111!important;border-bottom:1pt solid #111!important;font-size:7.7pt!important;background:#fff!important;color:#111!important}
  .trial-balance-table td{padding:3.5pt 2.5pt!important;font-size:7.7pt!important;background:#fff!important;color:#111!important}
  .trial-balance-table tfoot td{padding:4pt 2.5pt!important}
  .trial-balance-table tfoot td:nth-child(n+4){border-top:.8pt solid #111!important}
  .trial-balance-table tfoot .trial-grand-total td:nth-child(n+4){border-bottom:3pt double #111!important}
}

/* R61 — Laporan Posisi Keuangan legacy selector + print authority. */
@media (min-width:801px){
  .ui-1366-standard .legacy-position-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-position-options .legacy-report-commandbar{margin-bottom:58px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-position-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-position-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-position-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-position-options .legacy-report-commandbar .button-link:hover{background:#eceff2}

  .ui-1366-standard .financial-position-selector{width:650px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .financial-position-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .financial-position-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .financial-position-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .financial-position-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .financial-position-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .financial-position-choice-table td:first-child{text-align:left}
  .ui-1366-standard .financial-position-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .financial-position-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .financial-position-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}

  .ui-1366-standard .financial-position-filter-card{width:520px;margin:8px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .financial-position-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .financial-position-filter-grid>label{display:grid;grid-template-columns:108px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .financial-position-filter-grid input,
  .ui-1366-standard .financial-position-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .financial-position-filter-grid>label select,
  .ui-1366-standard .financial-position-filter-grid>label input{width:180px}
  .ui-1366-standard .financial-position-range-row{display:grid;grid-template-columns:108px 180px 34px 180px;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .financial-position-range-row>em{font-style:normal;text-align:center}
  .ui-1366-standard .financial-position-range-row input{width:180px}
  .ui-1366-standard .financial-position-check-grid{display:grid;grid-template-columns:150px 150px;grid-template-rows:auto auto;column-gap:20px;row-gap:4px;margin-top:1px}
  .ui-1366-standard .financial-position-check-grid label{display:grid;grid-template-columns:108px 18px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .financial-position-check-grid input[type=checkbox]{width:14px;height:14px;min-height:14px;margin:0;padding:0}

  .ui-1366-standard .financial-position-canvas{display:block;text-align:center}
  .ui-1366-standard .financial-position-paper{width:1020px;min-height:720px;padding:14px 22px 20px;text-align:left;color:#111;background:#fff;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .financial-position-topline{display:flex;justify-content:space-between;align-items:center;padding:0 5px 3px;border-bottom:1px solid #111;font-size:12px;line-height:1.1}
  .ui-1366-standard .financial-position-title{text-align:center;padding:12px 0 8px}
  .ui-1366-standard .financial-position-title h2{margin:0 0 2px;font-size:19px;line-height:1.05;font-weight:800;color:#0000d9}
  .ui-1366-standard .financial-position-title h1{margin:0 0 2px;font-size:18px;line-height:1.05;font-weight:800;color:#8b0000}
  .ui-1366-standard .financial-position-title>strong{font-size:16px;line-height:1.05;font-weight:800;color:#111}
  .ui-1366-standard .financial-position-columns{display:grid;grid-template-columns:1fr 1fr;border-top:1.2px solid #111;border-bottom:1.2px solid #111}
  .ui-1366-standard .financial-position-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;line-height:1.18}
  .ui-1366-standard .financial-position-left{border-right:1.2px solid #111}
  .ui-1366-standard .financial-position-table th{padding:5px 8px 4px;border-bottom:4px double #111;background:#fff;color:#111;font-size:11px;font-weight:800;text-align:left}
  .ui-1366-standard .financial-position-table th:last-child{width:138px;text-align:right}
  .ui-1366-standard .financial-position-table td{padding:2px 8px;border:0;background:#fff;color:#111;vertical-align:top;font-size:11px;line-height:1.2}
  .ui-1366-standard .financial-position-table td.right{text-align:right;white-space:nowrap}
  .ui-1366-standard .financial-position-table td.negative{color:#ff0000}
  .ui-1366-standard .financial-position-table .position-section-title td{padding-top:22px;padding-bottom:12px;font-weight:800;text-align:center}
  .ui-1366-standard .financial-position-right .position-section-title td{text-align:center}
  .ui-1366-standard .financial-position-table .position-subtitle td{padding-top:3px;padding-bottom:4px;font-weight:800}
  .ui-1366-standard .financial-position-table .position-line td:first-child{padding-left:10px}
  .ui-1366-standard .financial-position-table .position-subledger td{padding-top:1px;padding-bottom:1px;font-size:10px;color:#444}
  .ui-1366-standard .financial-position-table .position-subledger td:first-child{padding-left:28px}
  .ui-1366-standard .financial-position-table .position-total td{padding-top:4px;padding-bottom:4px;font-weight:800}
  .ui-1366-standard .financial-position-table .position-spacer td{height:18px;padding:0}
  .ui-1366-standard .financial-position-table .position-fill td{height:28px;padding:0}
  .ui-1366-standard .financial-position-table .position-grand-total td{padding-top:5px;padding-bottom:5px;border-bottom:4px double #111;font-weight:800;text-align:center}
  .ui-1366-standard .financial-position-table .position-grand-total td:last-child{text-align:right}
}

@media print{
  .financial-position-canvas{display:block!important}
  .financial-position-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important}
  .financial-position-topline{padding:0 1mm 2pt!important;border-bottom:.8pt solid #111!important;font-size:8.5pt!important}
  .financial-position-title{padding:7pt 0 5pt!important}
  .financial-position-title h2{margin:0 0 1pt!important;font-size:14pt!important;color:#0000d9!important}
  .financial-position-title h1{margin:0 0 1pt!important;font-size:13pt!important;color:#8b0000!important}
  .financial-position-title>strong{font-size:11.5pt!important}
  .financial-position-columns{border-top:.8pt solid #111!important;border-bottom:.8pt solid #111!important}
  .financial-position-left{border-right:.8pt solid #111!important}
  .financial-position-table{font-size:8pt!important;line-height:1.18!important}
  .financial-position-table th{padding:3.5pt 5pt!important;border-bottom:2.4pt double #111!important;background:#fff!important;color:#111!important;font-size:8.2pt!important}
  .financial-position-table th:last-child{width:35mm!important}
  .financial-position-table td{padding:1.4pt 5pt!important;background:#fff!important;color:#111!important;font-size:8pt!important;line-height:1.16!important}
  .financial-position-table td.negative{color:#ff0000!important}
  .financial-position-table .position-section-title td{padding-top:15pt!important;padding-bottom:8pt!important}
  .financial-position-table .position-subtitle td{padding-top:2pt!important;padding-bottom:2pt!important}
  .financial-position-table .position-subledger td{padding-top:.8pt!important;padding-bottom:.8pt!important;font-size:7pt!important}
  .financial-position-table .position-total td{padding-top:2.5pt!important;padding-bottom:2.5pt!important}
  .financial-position-table .position-spacer td{height:9pt!important;padding:0!important}
  .financial-position-table .position-fill td{height:14pt!important;padding:0!important}
  .financial-position-table .position-grand-total td{padding-top:3pt!important;padding-bottom:3pt!important;border-bottom:2.4pt double #111!important}
}

/* R62 — Laporan Penghasilan legacy selector + 3-page portrait print authority. */
@media (min-width:801px){
  .ui-1366-standard .legacy-income-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-income-options .legacy-report-commandbar{margin-bottom:38px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-income-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-income-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-income-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-income-options .legacy-report-commandbar .button-link:hover{background:#eceff2}

  .ui-1366-standard .income-statement-selector{width:650px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .income-statement-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .income-statement-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .income-statement-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .income-statement-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .income-statement-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .income-statement-choice-table td:first-child{text-align:left}
  .ui-1366-standard .income-statement-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .income-statement-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .income-statement-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}

  .ui-1366-standard .income-statement-filter-card{width:720px;margin:8px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .income-statement-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .income-statement-filter-grid>label{display:grid;grid-template-columns:108px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .income-statement-filter-grid input,
  .ui-1366-standard .income-statement-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .income-statement-filter-grid>label select,
  .ui-1366-standard .income-statement-filter-grid>label input{width:180px}
  .ui-1366-standard .income-statement-range-row{display:grid;grid-template-columns:108px 180px 34px 180px auto;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .income-statement-range-row>em{font-style:normal;text-align:center}
  .ui-1366-standard .income-statement-range-row input{width:180px}
  .ui-1366-standard .income-statement-range-row>strong{font-size:11px;white-space:nowrap;color:#111}
  .ui-1366-standard .income-statement-check-grid{display:grid;grid-template-columns:150px 150px;grid-template-rows:auto auto;column-gap:20px;row-gap:4px;margin-top:1px}
  .ui-1366-standard .income-statement-check-grid label{display:grid;grid-template-columns:108px 18px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .income-statement-check-grid input[type=checkbox]{width:14px;height:14px;min-height:14px;margin:0;padding:0}

  .ui-1366-standard .income-statement-canvas{display:block;text-align:center}
  .ui-1366-standard .income-statement-paper{width:790px;min-height:1117px;padding:26px 38px 34px;text-align:left;color:#111;background:#fff;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .income-statement-paper+.income-statement-paper{margin-top:18px}
  .ui-1366-standard .income-statement-topline{display:flex;justify-content:space-between;align-items:center;padding:0 0 5px;border-bottom:1px solid #111;font-size:12px;line-height:1.1}
  .ui-1366-standard .income-statement-title{text-align:center;padding:11px 0 9px}
  .ui-1366-standard .income-statement-title h2{margin:0 0 3px;font-size:20px;line-height:1.05;font-weight:800;color:#0000d9;letter-spacing:.7px}
  .ui-1366-standard .income-statement-title h1{margin:0 0 5px;font-size:18px;line-height:1.05;font-weight:800;color:#8b0000}
  .ui-1366-standard .income-statement-title>strong{font-size:15px;line-height:1.05;font-weight:800;color:#111;letter-spacing:.6px}
  .ui-1366-standard .income-statement-body{font-size:11px;line-height:1.12;padding-top:1px}
  .ui-1366-standard .income-line{display:grid;grid-template-columns:118px 315px minmax(0,1fr) 165px;align-items:start;min-height:20px;padding:2px 0}
  .ui-1366-standard .income-code{white-space:nowrap}
  .ui-1366-standard .income-label{padding-left:8px;overflow:hidden;text-overflow:clip;white-space:nowrap}
  .ui-1366-standard .income-amount{grid-column:4;text-align:right;white-space:nowrap}
  .ui-1366-standard .income-amount.negative{color:#111}
  .ui-1366-standard .income-section{font-weight:800;margin-top:5px}
  .ui-1366-standard .income-section .income-label{padding-left:8px}
  .ui-1366-standard .income-type-total{font-weight:800}
  .ui-1366-standard .income-type-total .income-label{padding-left:28px}
  .ui-1366-standard .income-group-total{font-weight:800}
  .ui-1366-standard .income-group-total .income-label{padding-left:52px}
  .ui-1366-standard .income-grand{font-weight:800;margin-top:3px}
  .ui-1366-standard .income-grand .income-label{padding-left:64px}
  .ui-1366-standard .income-spacer{min-height:24px;padding:0}
}

@media print{
  .income-statement-canvas{display:block!important}
  .income-statement-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important}
  .income-statement-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .income-statement-paper+.income-statement-paper{margin-top:0!important}
  .income-statement-topline{padding:0 0 3pt!important;border-bottom:.8pt solid #111!important;font-size:8.5pt!important}
  .income-statement-title{padding:7pt 0 6pt!important}
  .income-statement-title h2{margin:0 0 2pt!important;font-size:14pt!important;color:#0000d9!important;letter-spacing:.5pt!important}
  .income-statement-title h1{margin:0 0 3pt!important;font-size:13pt!important;color:#8b0000!important}
  .income-statement-title>strong{font-size:10.5pt!important;letter-spacing:.4pt!important}
  .income-statement-body{padding-top:0!important;font-size:8pt!important;line-height:1.08!important}
  .income-line{grid-template-columns:28mm 82mm minmax(0,1fr) 38mm!important;min-height:10.6pt!important;padding:.7pt 0!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .income-label{padding-left:4mm!important}
  .income-type-total .income-label{padding-left:10mm!important}
  .income-group-total .income-label{padding-left:16mm!important}
  .income-grand .income-label{padding-left:20mm!important}
  .income-section{margin-top:2.5pt!important}
  .income-spacer{min-height:9pt!important;padding:0!important}
  .income-amount{grid-column:4!important}
  .income-amount.negative{color:#111!important}
}

/* R63 — Laporan Posisi Keuangan Gabungan, authority Legal-landscape 4-page matrix. */
@media (min-width:801px){
  .ui-1366-standard .legacy-consolidated-position-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-consolidated-position-options .legacy-report-commandbar{margin-bottom:58px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-consolidated-position-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-consolidated-position-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-consolidated-position-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-consolidated-position-options .legacy-report-commandbar .button-link:hover{background:#eceff2}

  .ui-1366-standard .consolidated-position-selector{width:650px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .consolidated-position-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-position-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .consolidated-position-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .consolidated-position-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .consolidated-position-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .consolidated-position-choice-table td:first-child{text-align:left}
  .ui-1366-standard .consolidated-position-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .consolidated-position-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .consolidated-position-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}

  .ui-1366-standard .consolidated-position-filter-card{width:520px;margin:8px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .consolidated-position-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-position-filter-grid>label{display:grid;grid-template-columns:108px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .consolidated-position-filter-grid input,
  .ui-1366-standard .consolidated-position-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .consolidated-position-filter-grid>label select,
  .ui-1366-standard .consolidated-position-filter-grid>label input{width:180px}
  .ui-1366-standard .consolidated-position-range-row{display:grid;grid-template-columns:108px 135px 34px 135px;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .consolidated-position-range-row>em{font-style:normal;text-align:center}
  .ui-1366-standard .consolidated-position-range-row input{width:135px}
  .ui-1366-standard .consolidated-position-check-grid{display:grid;grid-template-columns:150px 150px;grid-template-rows:auto auto;column-gap:20px;row-gap:4px;margin-top:1px}
  .ui-1366-standard .consolidated-position-check-grid label{display:grid;grid-template-columns:108px 18px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .consolidated-position-check-grid input[type=checkbox]{width:14px;height:14px;min-height:14px;margin:0;padding:0}

  .ui-1366-standard .consolidated-position-canvas{display:block;text-align:center;overflow-x:auto;padding-bottom:16px}
  .ui-1366-standard .consolidated-position-paper{width:1400px;min-height:850px;padding:17px 22px 24px;text-align:left;color:#111;background:#fff;font-family:Tahoma,Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-position-paper+.consolidated-position-paper{margin-top:18px}
  .ui-1366-standard .consolidated-position-topline{display:flex;justify-content:space-between;align-items:center;padding:0 4px 5px;border-bottom:1px solid #111;font-size:10px;line-height:1.05}
  .ui-1366-standard .consolidated-position-title{text-align:center;padding:8px 0 6px}
  .ui-1366-standard .consolidated-position-title h2{margin:0 0 2px;font-size:15px;line-height:1.05;font-weight:700;color:#0000d9}
  .ui-1366-standard .consolidated-position-title h1{margin:0 0 2px;font-size:13px;line-height:1.05;font-weight:700;color:#8b0000}
  .ui-1366-standard .consolidated-position-title>strong{font-size:10px;line-height:1.05;font-weight:700;color:#111}
  .ui-1366-standard .consolidated-position-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:5.8px;line-height:1.03}
  .ui-1366-standard .consolidated-position-table thead th{height:18px;padding:2px 1px;border-top:1px solid #111;border-bottom:3px double #111;background:#fff;color:#111;font-size:5.8px;font-weight:700;white-space:nowrap;overflow:hidden;text-align:right}
  .ui-1366-standard .consolidated-position-table thead th:nth-child(1),
  .ui-1366-standard .consolidated-position-table thead th:nth-child(2){text-align:left}
  .ui-1366-standard .consolidated-position-table td{height:12px;padding:1px 1px;border:0;background:#fff;color:#111;vertical-align:top;font-size:5.8px;line-height:1.03;white-space:nowrap;overflow:hidden;text-overflow:clip}
  .ui-1366-standard .consolidated-code-col{width:76px}
  .ui-1366-standard .consolidated-label-col{width:118px}
  .ui-1366-standard .consolidated-unit-col{width:27px}
  .ui-1366-standard .consolidated-total-col{width:91px}
  .ui-1366-standard .consolidated-percent-col{width:26px}
  .ui-1366-standard .consolidated-percent-sign-col{width:10px}
  .ui-1366-standard .consolidated-position-table td.right{text-align:right}
  .ui-1366-standard .consolidated-position-table .consolidated-total-value{font-size:6.1px}
  .ui-1366-standard .consolidated-section-row td,.ui-1366-standard .consolidated-group-row td{font-weight:700}
  .ui-1366-standard .consolidated-type-total-row td,.ui-1366-standard .consolidated-group-total-row td,.ui-1366-standard .consolidated-grand-row td{font-weight:700}
  .ui-1366-standard .consolidated-spacer-row td{height:12px;padding:0}
  .ui-1366-standard .consolidated-percent-value,.ui-1366-standard .consolidated-percent-sign{font-size:5.6px}
}

@media print{
  .consolidated-position-canvas{display:block!important;overflow:visible!important;padding:0!important;text-align:left!important}
  .consolidated-position-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important}
  .consolidated-position-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .consolidated-position-paper+.consolidated-position-paper{margin-top:0!important}
  .consolidated-position-topline{padding:0 1pt 3pt!important;border-bottom:.7pt solid #111!important;font-size:6.7pt!important;line-height:1.02!important}
  .consolidated-position-title{padding:4.5pt 0 3.5pt!important}
  .consolidated-position-title h2{margin:0 0 1.2pt!important;font-size:10.2pt!important;color:#0000d9!important}
  .consolidated-position-title h1{margin:0 0 1.2pt!important;font-size:8.9pt!important;color:#8b0000!important}
  .consolidated-position-title>strong{font-size:6.9pt!important}
  .consolidated-position-table{width:100%!important;table-layout:fixed!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important;font-size:3.95pt!important;line-height:1.01!important}
  .consolidated-position-table thead{display:table-header-group!important}
  .consolidated-position-table thead th{height:8.5pt!important;padding:.7pt .25pt!important;border-top:.65pt solid #111!important;border-bottom:1.8pt double #111!important;font-size:3.95pt!important;line-height:1!important;background:#fff!important;color:#111!important}
  .consolidated-position-table td{height:5.75pt!important;padding:.25pt .25pt!important;font-size:3.95pt!important;line-height:1!important;background:#fff!important;color:#111!important}
  .consolidated-code-col{width:13mm!important}
  .consolidated-label-col{width:22mm!important}
  .consolidated-unit-col{width:5.45mm!important}
  .consolidated-total-col{width:17mm!important}
  .consolidated-percent-col{width:4.7mm!important}
  .consolidated-percent-sign-col{width:2.5mm!important}
  .consolidated-position-table .consolidated-total-value{font-size:4.05pt!important}
  .consolidated-position-table .consolidated-percent-value,.consolidated-position-table .consolidated-percent-sign{font-size:3.8pt!important}
  .consolidated-spacer-row td{height:5.75pt!important;padding:0!important}
  .consolidated-position-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
}


/* R64 — Laporan Penghasilan Gabungan, authority Legal-landscape 4-page matrix. */
@media (min-width:801px){
  .ui-1366-standard .legacy-consolidated-income-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-consolidated-income-options .legacy-report-commandbar{margin-bottom:58px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-consolidated-income-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-consolidated-income-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-consolidated-income-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-consolidated-income-options .legacy-report-commandbar .button-link:hover{background:#eceff2}

  .ui-1366-standard .consolidated-income-selector{width:650px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .consolidated-income-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-income-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .consolidated-income-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .consolidated-income-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .consolidated-income-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .consolidated-income-choice-table td:first-child{text-align:left}
  .ui-1366-standard .consolidated-income-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .consolidated-income-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .consolidated-income-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}

  .ui-1366-standard .consolidated-income-filter-card{width:560px;margin:8px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .consolidated-income-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-income-filter-grid>label{display:grid;grid-template-columns:108px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .consolidated-income-filter-grid input,
  .ui-1366-standard .consolidated-income-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .consolidated-income-filter-grid>label select,
  .ui-1366-standard .consolidated-income-filter-grid>label input{width:180px}
  .ui-1366-standard .consolidated-income-range-row{display:grid;grid-template-columns:108px 135px 34px 135px auto;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .consolidated-income-range-row>em{font-style:normal;text-align:center}
  .ui-1366-standard .consolidated-income-range-row input{width:135px}
  .ui-1366-standard .consolidated-income-range-row>strong{white-space:nowrap;font-size:11px;color:#111}
  .ui-1366-standard .consolidated-income-check-grid{display:grid;grid-template-columns:150px 150px;grid-template-rows:auto auto;column-gap:20px;row-gap:4px;margin-top:1px}
  .ui-1366-standard .consolidated-income-check-grid label{display:grid;grid-template-columns:108px 18px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .consolidated-income-check-grid input[type=checkbox]{width:14px;height:14px;min-height:14px;margin:0;padding:0}

  .ui-1366-standard .consolidated-income-canvas{display:block;text-align:center;overflow-x:auto;padding-bottom:16px}
  .ui-1366-standard .consolidated-income-paper{width:1400px;min-height:850px;padding:17px 22px 24px;text-align:left;color:#111;background:#fff;font-family:Tahoma,Arial,Helvetica,sans-serif}
  .ui-1366-standard .consolidated-income-paper+.consolidated-income-paper{margin-top:18px}
  .ui-1366-standard .consolidated-income-topline{display:flex;justify-content:space-between;align-items:center;padding:0 4px 5px;border-bottom:1px solid #111;font-size:10px;line-height:1.05}
  .ui-1366-standard .consolidated-income-title{text-align:center;padding:8px 0 6px}
  .ui-1366-standard .consolidated-income-title h2{margin:0 0 2px;font-size:15px;line-height:1.05;font-weight:700;color:#0000d9}
  .ui-1366-standard .consolidated-income-title h1{margin:0 0 2px;font-size:13px;line-height:1.05;font-weight:700;color:#8b0000}
  .ui-1366-standard .consolidated-income-title>strong{font-size:10px;line-height:1.05;font-weight:700;color:#111}
  .ui-1366-standard .consolidated-income-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:5.8px;line-height:1.03}
  .ui-1366-standard .consolidated-income-table thead th{height:18px;padding:2px 1px;border-top:1px solid #111;border-bottom:3px double #111;background:#fff;color:#111;font-size:5.8px;font-weight:700;white-space:nowrap;overflow:hidden;text-align:right}
  .ui-1366-standard .consolidated-income-table thead th:nth-child(1),
  .ui-1366-standard .consolidated-income-table thead th:nth-child(2){text-align:left}
  .ui-1366-standard .consolidated-income-table td{height:12px;padding:1px 1px;border:0;background:#fff;color:#111;vertical-align:top;font-size:5.8px;line-height:1.03;white-space:nowrap;overflow:hidden;text-overflow:clip}
  .ui-1366-standard .consolidated-income-code-col{width:76px}
  .ui-1366-standard .consolidated-income-label-col{width:118px}
  .ui-1366-standard .consolidated-income-unit-col{width:27px}
  .ui-1366-standard .consolidated-income-total-col{width:91px}
  .ui-1366-standard .consolidated-income-percent-col{width:26px}
  .ui-1366-standard .consolidated-income-percent-sign-col{width:10px}
  .ui-1366-standard .consolidated-income-table td.right{text-align:right}
  .ui-1366-standard .consolidated-income-table .consolidated-income-total-value{font-size:6.1px}
  .ui-1366-standard .consolidated-income-section-row td,.ui-1366-standard .consolidated-income-group-row td{font-weight:700}
  .ui-1366-standard .consolidated-income-type-total-row td,.ui-1366-standard .consolidated-income-group-total-row td,.ui-1366-standard .consolidated-income-grand-row td{font-weight:700}
  .ui-1366-standard .consolidated-income-spacer-row td{height:12px;padding:0}
  .ui-1366-standard .consolidated-income-percent-value,.ui-1366-standard .consolidated-income-percent-sign{font-size:5.6px}
}

@media print{
  .consolidated-income-canvas{display:block!important;overflow:visible!important;padding:0!important;text-align:left!important}
  .consolidated-income-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;break-after:page!important;page-break-after:always!important;color:#111!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important}
  .consolidated-income-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  .consolidated-income-paper+.consolidated-income-paper{margin-top:0!important}
  .consolidated-income-topline{padding:0 1pt 3pt!important;border-bottom:.7pt solid #111!important;font-size:6.7pt!important;line-height:1.02!important}
  .consolidated-income-title{padding:4.5pt 0 3.5pt!important}
  .consolidated-income-title h2{margin:0 0 1.2pt!important;font-size:10.2pt!important;color:#0000d9!important}
  .consolidated-income-title h1{margin:0 0 1.2pt!important;font-size:8.9pt!important;color:#8b0000!important}
  .consolidated-income-title>strong{font-size:6.9pt!important}
  .consolidated-income-table{width:100%!important;table-layout:fixed!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important;font-size:3.95pt!important;line-height:1.01!important}
  .consolidated-income-table thead{display:table-header-group!important}
  .consolidated-income-table thead th{height:8.5pt!important;padding:.7pt .25pt!important;border-top:.65pt solid #111!important;border-bottom:1.8pt double #111!important;font-size:3.95pt!important;line-height:1!important;background:#fff!important;color:#111!important}
  .consolidated-income-table td{height:5.75pt!important;padding:.25pt .25pt!important;font-size:3.95pt!important;line-height:1!important;background:#fff!important;color:#111!important}
  .consolidated-income-code-col{width:13mm!important}
  .consolidated-income-label-col{width:22mm!important}
  .consolidated-income-unit-col{width:5.45mm!important}
  .consolidated-income-total-col{width:17mm!important}
  .consolidated-income-percent-col{width:4.7mm!important}
  .consolidated-income-percent-sign-col{width:2.5mm!important}
  .consolidated-income-table .consolidated-income-total-value{font-size:4.05pt!important}
  .consolidated-income-table .consolidated-income-percent-value,.consolidated-income-table .consolidated-income-percent-sign{font-size:3.8pt!important}
  .consolidated-income-spacer-row td{height:5.75pt!important;padding:0!important}
  .consolidated-income-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
}


/* R65 legacy Arus Kas - Metode Langsung authority */
@media (min-width: 900px){
  .ui-1366-standard .legacy-cash-flow-options{display:block;min-height:calc(100vh - 150px)}
  .ui-1366-standard .legacy-cash-flow-options .legacy-report-commandbar{margin-bottom:58px;border-radius:0;border-left:0;border-right:0;background:#f7f7f7}
  .ui-1366-standard .legacy-cash-flow-options .legacy-report-commandbar button,
  .ui-1366-standard .legacy-cash-flow-options .legacy-report-commandbar .button-link{border:0;background:transparent;box-shadow:none;color:#1e2732;padding:0 10px;font-size:11px}
  .ui-1366-standard .legacy-cash-flow-options .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-cash-flow-options .legacy-report-commandbar .button-link:hover{background:#eceff2}
  .ui-1366-standard .cash-flow-selector{width:650px;margin-left:26px;border:1px solid #9ca3aa;border-radius:0;background:#fff}
  .ui-1366-standard .cash-flow-choice-table{font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .cash-flow-choice-table th{height:22px;padding:2px 5px;background:#efefef;border-right:1px solid #9ca3aa;border-bottom:1px solid #8f969e;color:#111;font-size:11px;font-weight:400}
  .ui-1366-standard .cash-flow-choice-table th:nth-child(1){width:58px;text-align:left}
  .ui-1366-standard .cash-flow-choice-table th:nth-child(3){width:108px}
  .ui-1366-standard .cash-flow-choice-table td{height:22px;padding:2px 5px;border-right:1px solid #e2e4e6;border-bottom:1px solid #eceeef;color:#111;font-size:11px;line-height:1.05}
  .ui-1366-standard .cash-flow-choice-table td:first-child{text-align:left}
  .ui-1366-standard .cash-flow-choice-table tr.selected td{background:#0b86d1;color:#fff}
  .ui-1366-standard .cash-flow-choice-table tr:hover td{background:#dbefff;color:#111}
  .ui-1366-standard .cash-flow-choice-table tr.selected:hover td{background:#0b86d1;color:#fff}
  .ui-1366-standard .cash-flow-filter-card{width:510px;margin:8px 0 0 26px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
  .ui-1366-standard .cash-flow-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-family:Arial,Helvetica,sans-serif}
  .ui-1366-standard .cash-flow-filter-grid>label{display:grid;grid-template-columns:108px 180px;align-items:center;gap:7px;font-size:11px;font-weight:400;color:#111}
  .ui-1366-standard .cash-flow-filter-grid input,.ui-1366-standard .cash-flow-filter-grid select{height:24px;min-height:24px;border:1px solid #aeb4ba;border-radius:0;background:#fff;padding:1px 5px;font-size:11px;color:#111}
  .ui-1366-standard .cash-flow-filter-grid>label select,.ui-1366-standard .cash-flow-filter-grid>label input{width:180px}
  .ui-1366-standard .cash-flow-range-row{display:grid;grid-template-columns:108px 180px 34px 180px;gap:7px;align-items:center;font-size:11px;color:#111}
  .ui-1366-standard .cash-flow-range-row>em{font-style:normal;text-align:center}.ui-1366-standard .cash-flow-range-row input{width:180px}

  .ui-1366-standard .cash-flow-canvas{display:block;text-align:center}
  .ui-1366-standard .cash-flow-paper{width:1120px;min-height:790px;padding:34px 38px 44px;text-align:left;color:#111;background:#fff;font-family:Tahoma,Arial,Helvetica,sans-serif}
  .ui-1366-standard .cash-flow-head h2{margin:0 0 7px;font-size:24px;line-height:1.05;font-weight:800;color:#0000ee}
  .ui-1366-standard .cash-flow-rule{border-top:4px double #111;margin:0 0 19px}
  .ui-1366-standard .cash-flow-head h1{margin:0 0 10px;font-size:24px;line-height:1.05;font-weight:800;color:#8b0000}
  .ui-1366-standard .cash-flow-period{display:block;font-size:18px;line-height:1.1;margin-bottom:19px}
  .ui-1366-standard .cash-flow-meta{display:flex;justify-content:space-between;align-items:flex-end;padding:0 7px 10px 0;border-bottom:1px solid #111;font-size:14px;line-height:1.1}
  .ui-1366-standard .cash-flow-meta strong{font-weight:400}
  .ui-1366-standard .cash-flow-body{padding:19px 7px 0;font-size:15px;line-height:1.18}
  .ui-1366-standard .cash-flow-activity{margin-bottom:18px}.ui-1366-standard .cash-flow-activity h3{margin:0 0 16px;font-size:21px;font-weight:800}.ui-1366-standard .cash-flow-activity h4{margin:4px 0 8px 40px;font-size:18px;font-weight:800}
  .ui-1366-standard .cash-flow-columns{display:grid;align-items:baseline;column-gap:18px}.ui-1366-standard .cash-flow-main-columns{grid-template-columns:160px 540px 160px}.ui-1366-standard .cash-flow-compare-columns{grid-template-columns:160px 500px 150px 150px}
  .ui-1366-standard .cash-flow-columns>span,.ui-1366-standard .cash-flow-columns>strong{min-width:0}.ui-1366-standard .cash-flow-columns .right{text-align:right;white-space:nowrap}
  .ui-1366-standard .cash-flow-line{min-height:26px;padding:2px 0}.ui-1366-standard .cash-flow-total{padding:6px 0 8px;font-size:17px;font-weight:800}.ui-1366-standard .cash-flow-total strong:nth-child(2){text-align:center}
  .ui-1366-standard .cash-flow-activity-total{display:grid;grid-template-columns:1fr 180px;gap:20px;margin:8px 0 0 175px;font-size:18px;font-weight:800}.ui-1366-standard .cash-flow-activity-total strong:last-child{text-align:right}
  .ui-1366-standard .cash-flow-final-summary{display:grid;gap:22px;margin:55px 0 0 175px;font-size:18px}.ui-1366-standard .cash-flow-final-summary>div{display:grid;grid-template-columns:1fr 180px;gap:20px}.ui-1366-standard .cash-flow-final-summary>div strong:last-child{text-align:right;white-space:nowrap}.ui-1366-standard .cash-flow-final-summary>div:has(strong:nth-child(3)){grid-template-columns:1fr 180px 180px}
}

@media print{
  .cash-flow-canvas{display:block!important}.cash-flow-paper{display:block!important;width:auto!important;min-height:0!important;padding:0!important;margin:0!important;box-shadow:none!important;transform:none!important;color:#111!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important}
  .cash-flow-head h2{margin:0 0 4pt!important;font-size:17pt!important;color:#0000ee!important}.cash-flow-rule{border-top:2.4pt double #111!important;margin:0 0 11pt!important}.cash-flow-head h1{margin:0 0 6pt!important;font-size:17pt!important;color:#8b0000!important}.cash-flow-period{font-size:13pt!important;margin-bottom:12pt!important}.cash-flow-meta{padding:0 4pt 6pt 0!important;border-bottom:.8pt solid #111!important;font-size:10pt!important}.cash-flow-body{padding:11pt 4pt 0!important;font-size:10pt!important;line-height:1.16!important}.cash-flow-activity{margin-bottom:11pt!important}.cash-flow-activity h3{margin:0 0 9pt!important;font-size:14pt!important}.cash-flow-activity h4{margin:2pt 0 5pt 25pt!important;font-size:12.5pt!important}.cash-flow-main-columns{grid-template-columns:32mm 104mm 34mm!important}.cash-flow-compare-columns{grid-template-columns:30mm 92mm 32mm 32mm!important}.cash-flow-line{min-height:15pt!important;padding:1pt 0!important}.cash-flow-total{padding:3.5pt 0 5pt!important;font-size:12pt!important}.cash-flow-activity-total{grid-template-columns:1fr 38mm!important;margin:5pt 0 0 37mm!important;font-size:12.5pt!important}.cash-flow-final-summary{gap:13pt!important;margin:32pt 0 0 37mm!important;font-size:12.5pt!important}.cash-flow-final-summary>div{grid-template-columns:1fr 38mm!important}.cash-flow-final-summary>div:has(strong:nth-child(3)){grid-template-columns:1fr 38mm 38mm!important}
}


/* R66 - Legacy Laporan Aktiva Tetap authority 2026-08-19 */
.legacy-fixed-asset-options .legacy-report-commandbar{margin-bottom:70px}
.fixed-asset-selector{width:790px;max-width:calc(100vw - 60px);margin-left:38px;padding:0}
.fixed-asset-choice-table{width:100%;border-collapse:collapse;font-size:13px}
.fixed-asset-choice-table th,.fixed-asset-choice-table td{height:23px;padding:2px 7px;border:1px solid #c8c8c8;text-align:left}
.fixed-asset-choice-table th:first-child,.fixed-asset-choice-table td:first-child{width:66px}.fixed-asset-choice-table th:last-child,.fixed-asset-choice-table td:last-child{width:122px}
.fixed-asset-choice-table tr.selected td{background:#0877c9;color:#fff}
.fixed-asset-filter-card{width:620px;max-width:calc(100vw - 60px);margin:12px 0 0 35px;padding:0;border:0;background:transparent;box-shadow:none}
.fixed-asset-filter-grid{display:grid;grid-template-columns:1fr;gap:6px;font-size:12px}
.fixed-asset-filter-grid>label{display:grid;grid-template-columns:125px 465px;align-items:center;font-weight:400}.fixed-asset-filter-grid>label>select,.fixed-asset-filter-grid>label>input{width:210px;height:25px;font-size:12px;padding:2px 5px}
.fixed-asset-range-row{display:grid;grid-template-columns:125px 210px 28px 210px;align-items:center}.fixed-asset-range-row input,.fixed-asset-range-row select{height:25px;font-size:12px}.fixed-asset-range-row em{text-align:center;font-style:normal}.fixed-asset-user-filter input{width:465px!important}
.fixed-asset-report-canvas{min-width:100%}.ui-1366-standard .legacy-report-paper.fixed-asset-report-paper{width:14in;min-height:8.5in;padding:.28in .38in .34in;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;color:#111}
.fixed-asset-report-head{height:1.42in;border-bottom:1px solid #111;display:flex;justify-content:space-between;align-items:flex-start;padding-top:.03in;font-size:11px;font-weight:700}
.fixed-asset-detail-table,.fixed-asset-opening-list-table,.fixed-asset-opening-detail-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:7.2px;margin-top:.05in}
.fixed-asset-detail-table thead{border-top:2px double #111;border-bottom:1px solid #111}.fixed-asset-detail-table th{padding:4px 2px 3px;line-height:1.03;text-align:center;vertical-align:bottom;font-weight:700;white-space:normal}.fixed-asset-detail-table td{padding:3px 2px;line-height:1.08;vertical-align:top;white-space:nowrap;overflow:hidden;text-overflow:clip}
.fixed-asset-detail-table th:nth-child(1){width:2.5%}.fixed-asset-detail-table th:nth-child(2){width:4.2%}.fixed-asset-detail-table th:nth-child(3){width:8.8%}.fixed-asset-detail-table th:nth-child(4){width:2.6%}.fixed-asset-detail-table th:nth-child(5){width:4.4%}.fixed-asset-detail-table th:nth-child(6){width:4.1%}.fixed-asset-detail-table th:nth-child(7){width:5.4%}.fixed-asset-detail-table th:nth-child(8){width:5.1%}.fixed-asset-detail-table th:nth-child(9){width:5.1%}
.fixed-asset-type-label td{font-weight:700;padding-top:8px}.fixed-asset-type-value td{padding-top:1px;padding-bottom:4px}.fixed-asset-subtotal td{border-top:1px solid #222;border-bottom:1px solid #222;font-weight:700;padding-top:4px;padding-bottom:4px}.fixed-asset-grand-total td{border-top:1px solid #222;border-bottom:3px double #111;font-weight:700;padding-top:6px;padding-bottom:6px}
.fixed-asset-opening-list-table,.fixed-asset-opening-detail-table{font-size:9px}.fixed-asset-opening-list-table th,.fixed-asset-opening-detail-table th{border-top:2px double #111;border-bottom:1px solid #111;padding:5px}.fixed-asset-opening-list-table td,.fixed-asset-opening-detail-table td{padding:4px 5px}.fixed-asset-opening-list-table tfoot td,.fixed-asset-opening-detail-table tfoot td{border-top:1px solid #111;border-bottom:3px double #111;font-weight:700}
@media print{.fixed-asset-report-paper{width:auto!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important;page-break-after:always}.fixed-asset-report-page:last-child{page-break-after:auto}.fixed-asset-report-head{height:1.42in}}

/* R72 — Saldo awal per struktur: compact tab workspace for 1366x768 */
.opening-balance-shell{display:flex;flex-direction:column;gap:10px}
.opening-balance-compact .panel{border-radius:10px}
.opening-balance-tabs-panel{padding:10px 12px 0}
.opening-balance-topbar{display:flex;align-items:flex-end;gap:12px;justify-content:space-between}
.opening-unit-field{display:grid;gap:4px;width:min(330px,100%);font-size:11px;font-weight:800}
.opening-unit-field select{height:34px;font-size:12px}
.opening-unit-summary{min-width:210px;padding:5px 9px 6px;border:1px solid var(--line);border-radius:8px;background:#fafbfc;text-align:right}
.opening-unit-summary span,.opening-unit-summary strong,.opening-unit-summary small{display:block}
.opening-unit-summary span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.opening-unit-summary strong{font-size:11px;margin-top:1px}.opening-unit-summary small{font-size:8px;color:var(--muted);margin-top:1px}
.opening-tabs{display:flex;align-items:flex-end;gap:2px;margin-top:8px;border-bottom:1px solid var(--line);min-height:39px}
.opening-tab{min-width:150px;height:39px;border:0;border-bottom:3px solid transparent;background:transparent;color:#565e68;padding:0 14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;font:inherit}
.opening-tab>span{width:24px;height:24px;border-radius:6px;display:grid;place-items:center;background:#eef0f3;color:#6d7480;font-size:9px;font-weight:900}
.opening-tab>strong{font-size:11px;white-space:nowrap}.opening-tab:hover{background:#fafafa;color:#222}
.opening-tab.active{color:var(--red);border-bottom-color:var(--red);background:#fff8f8}.opening-tab.active>span{background:var(--red);color:#fff}
.opening-balance-workspace-grid{grid-template-columns:minmax(0,1.55fr) minmax(360px,.85fr);gap:10px;align-items:start}
.opening-balance-compact .opening-list-panel,.opening-balance-compact .opening-entry-panel{padding:11px 12px}
.opening-toolbar-compact{min-height:38px;margin-bottom:4px}.opening-toolbar-compact h2,.opening-form-head-compact h2{font-size:14px;margin:0}.opening-toolbar-compact small,.opening-form-head-compact small{font-size:9px;color:var(--muted)}
.opening-filter-grid{display:grid;grid-template-columns:minmax(135px,.45fr) minmax(220px,1fr) auto;gap:8px;align-items:end;margin-top:6px;margin-bottom:7px}
.opening-filter-grid label{font-size:10px;gap:3px}.opening-filter-grid select,.opening-filter-grid input{height:31px;font-size:11px;padding:4px 8px}
.opening-filter-button{height:31px;min-width:78px;padding:0 11px;margin:0}
.opening-list-scroll{max-height:calc(100vh - 330px);min-height:250px;overflow:auto;border:1px solid var(--line);border-radius:7px}
.opening-balance-table{font-size:10px}.opening-balance-table th{font-size:9px;white-space:nowrap}.opening-balance-table th,.opening-balance-table td{padding:5px 7px;vertical-align:middle}.opening-balance-table td.code{white-space:nowrap}.opening-balance-table .status-pill{font-size:8px;padding:3px 7px}.opening-balance-table .table-action{font-size:9px;padding:4px 8px;white-space:nowrap}
.opening-entry-panel{position:sticky;top:78px;min-height:265px}.opening-form-head-compact{min-height:34px;align-items:flex-start}.opening-entry-empty{min-height:185px;display:grid;place-items:center;text-align:center}
.opening-selected-card{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:8px 0}
.opening-selected-card>div{padding:7px 9px;border-bottom:1px solid var(--line)}.opening-selected-card>div:nth-child(odd){border-right:1px solid var(--line)}
.opening-selected-card .opening-selected-wide{grid-column:1/-1;border-right:0;border-bottom:0}.opening-selected-card-compact>div:nth-child(2){border-right:0}.opening-selected-card-compact>div:nth-child(1),.opening-selected-card-compact>div:nth-child(2){border-bottom:1px solid var(--line)}
.opening-selected-card span,.opening-selected-card strong{display:block}.opening-selected-card span{font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.opening-selected-card strong{font-size:10.5px;margin-top:2px;line-height:1.2}
.opening-single-entry{grid-template-columns:1fr;margin-top:5px}.opening-single-entry label,.opening-asset-form label{font-size:10px;gap:3px}.opening-single-entry input,.opening-asset-form input,.opening-asset-form select{height:32px;font-size:11px}.opening-amount-input{font-size:15px!important;font-weight:900;text-align:right}
.opening-asset-form{margin-top:5px;gap:7px 8px}.opening-asset-form small,.opening-single-entry small{font-size:8px;margin-top:2px}.opening-book-value input{font-weight:900;background:#f3f5f8}
.opening-compact-note{margin-top:7px;padding:7px 9px;border:1px solid #e4e6ea;border-left:3px solid var(--red);border-radius:7px;background:#fafbfc;color:#59616c;font-size:9px;line-height:1.35}.opening-compact-note strong{color:#252a31}
.opening-actions-compact{margin-top:8px;gap:6px}.opening-actions-compact button,.opening-actions-compact .button-link{min-height:31px;padding:6px 10px;font-size:10px}
.table-subline{display:block;color:var(--muted);font-size:8px;margin-top:1px}.status-pill.warning{background:#fff3d6;color:#8b5b00;border-color:#f1d183}
@media(max-width:1180px){.opening-balance-workspace-grid{grid-template-columns:minmax(0,1.35fr) minmax(330px,.8fr)}.opening-tab{min-width:130px}.opening-list-scroll{max-height:calc(100vh - 320px)}}
@media(max-width:980px){.opening-balance-workspace-grid{grid-template-columns:1fr}.opening-entry-panel{position:static}.opening-list-scroll{max-height:380px}.opening-balance-topbar{align-items:stretch}.opening-unit-summary{min-width:180px}}
@media(max-width:680px){.opening-balance-topbar{flex-direction:column}.opening-unit-field,.opening-unit-summary{width:100%;min-width:0}.opening-unit-summary{text-align:left}.opening-tabs{overflow-x:auto}.opening-tab{min-width:125px;flex:1}.opening-filter-grid{grid-template-columns:1fr}.opening-filter-button{width:100%}.opening-selected-card,.opening-asset-form{grid-template-columns:1fr}.opening-selected-card>div{grid-column:1!important;border-right:0!important;border-bottom:1px solid var(--line)!important}.opening-selected-card>div:last-child{border-bottom:0!important}.opening-asset-form .span-2{grid-column:1}}

/* R73 — Saldo awal: satu baris struktur + tabs, daftar tanpa horizontal scroll, 1366x768 */
.opening-balance-compact{gap:8px}
.opening-balance-compact .opening-balance-tabs-panel{padding:7px 10px 0}
.opening-balance-topbar-tabs{align-items:flex-end;gap:14px}
.opening-balance-topbar-tabs .opening-unit-field{width:290px;min-width:250px;gap:3px}
.opening-balance-topbar-tabs .opening-unit-field select{height:32px;font-size:11px;padding-block:3px}
.opening-balance-topbar-tabs .opening-tabs{flex:1;justify-content:flex-end;margin-top:0;min-height:35px}
.opening-balance-topbar-tabs .opening-tab{height:35px;min-width:126px;padding:0 11px;gap:6px}
.opening-balance-topbar-tabs .opening-tab>span{width:22px;height:22px;font-size:8px}
.opening-balance-topbar-tabs .opening-tab>strong{font-size:10px}
.opening-balance-workspace-grid{grid-template-columns:minmax(0,1.7fr) minmax(330px,.72fr);gap:8px}
.opening-balance-compact .opening-list-panel,.opening-balance-compact .opening-entry-panel{padding:9px 10px;margin-bottom:0}
.opening-toolbar-compact{min-height:32px;margin-bottom:2px}
.opening-toolbar-compact h2,.opening-form-head-compact h2{font-size:13px}
.opening-filter-grid{grid-template-columns:minmax(125px,.42fr) minmax(190px,1fr) auto;gap:6px;margin-top:4px;margin-bottom:5px}
.opening-filter-grid select,.opening-filter-grid input{height:29px;font-size:10px;padding:3px 7px}
.opening-filter-button{height:29px;min-width:72px;padding:0 9px;font-size:10px}
.opening-list-scroll{max-height:calc(100vh - 282px);min-height:0;overflow-y:auto;overflow-x:hidden;margin-top:0!important}
.opening-balance-table{width:100%;min-width:0!important;table-layout:fixed;font-size:9.5px}
.opening-balance-table th,.opening-balance-table td{padding:5px 6px;overflow:hidden;text-overflow:ellipsis}
.opening-balance-table th{font-size:8.5px}
.opening-balance-table th:nth-child(1),.opening-balance-table td:nth-child(1){width:21%}
.opening-balance-table th:nth-child(2),.opening-balance-table td:nth-child(2){width:39%}
.opening-balance-table th:nth-child(3),.opening-balance-table td:nth-child(3){width:15%}
.opening-balance-table th:nth-child(4),.opening-balance-table td:nth-child(4){width:17%}
.opening-balance-table th:nth-child(5),.opening-balance-table td:nth-child(5){width:8%;text-align:center}
.opening-balance-table td:nth-child(2){white-space:normal;line-height:1.18}
.opening-balance-table .table-action{font-size:8.5px;padding:4px 7px;max-width:100%}
.opening-entry-panel{top:70px;min-height:235px}
.opening-form-head-compact{min-height:29px}
.opening-selected-card{margin:6px 0}
.opening-selected-card>div{padding:6px 8px}
.opening-single-entry,.opening-asset-form{margin-top:4px}
.opening-asset-form{gap:5px 7px}
.opening-single-entry input,.opening-asset-form input,.opening-asset-form select{height:30px;font-size:10.5px}
.opening-compact-note{margin-top:5px;padding:6px 8px;font-size:8.5px}
.opening-actions-compact{margin-top:6px}
.opening-actions-compact button,.opening-actions-compact .button-link{min-height:29px;padding:5px 9px;font-size:9.5px}
@media(max-width:1180px){.opening-balance-topbar-tabs .opening-unit-field{width:270px}.opening-balance-topbar-tabs .opening-tab{min-width:116px}.opening-balance-workspace-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,.7fr)}.opening-list-scroll{max-height:calc(100vh - 275px)}}
@media(max-width:980px){.opening-balance-topbar-tabs{align-items:stretch;flex-direction:column;gap:4px}.opening-balance-topbar-tabs .opening-unit-field{width:100%;min-width:0}.opening-balance-topbar-tabs .opening-tabs{justify-content:flex-start}.opening-balance-workspace-grid{grid-template-columns:1fr}.opening-list-scroll{max-height:350px}.opening-entry-panel{position:static}}

/* R74 — Saldo awal 1366x768: batas bawah daftar sejajar area Unduh Aplikasi & Installer */
@media(min-width:981px){
  .opening-balance-compact .opening-list-scroll{
    height:clamp(225px,calc(100vh - 535px),320px);
    max-height:clamp(225px,calc(100vh - 535px),320px);
    min-height:225px;
    overflow-y:auto;
    overflow-x:hidden;
  }
  .opening-balance-compact .opening-balance-table thead th{
    position:sticky;
    top:0;
    z-index:2;
    background:#f7f8fa;
  }
}

/* R77 password recovery / one-time admin password info */
.password-recovery-card{max-width:560px}.password-reset-feedback{margin-top:14px}.local-password-info{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.local-password-info code{font-size:1rem;font-weight:800;padding:7px 10px;background:#fff;border:1px solid #b8d9c4;border-radius:8px}.local-password-info small{flex-basis:100%}

/* R79 — single User home with role-scoped tabs */
.user-chip-link{text-decoration:none;color:inherit;border-radius:12px;padding:3px 5px;transition:.15s ease}.user-chip-link:hover{background:#f7f7f8}.user-page-heading{margin-bottom:12px}.user-home-tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);margin:0 0 12px}.user-home-tabs button{min-width:150px;border:0;background:transparent;padding:9px 14px;display:flex;align-items:center;gap:8px;color:#6b7078;font:inherit;cursor:pointer;border-bottom:3px solid transparent}.user-home-tabs button span{font-size:9px;font-weight:900;color:#9b9fa6}.user-home-tabs button strong{font-size:12px}.user-home-tabs button.active{color:var(--red-dark);border-bottom-color:var(--red);background:#fff8f9}.user-self-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:12px}.user-self-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.user-self-facts>div{padding:10px 12px;background:#f7f8fa;border:1px solid var(--line);border-radius:9px}.user-self-facts span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.user-self-facts strong{display:block;margin-top:4px;font-size:12px}.user-filter-row{display:grid;grid-template-columns:180px minmax(240px,380px) 1fr;align-items:end;gap:10px;margin-top:12px}.user-list-scope-note{font-size:10px;line-height:1.4;color:var(--muted);padding:9px 11px;background:#f7f8fa;border-radius:9px}.user-list-scroll{max-height:calc(100vh - 300px);min-height:420px;overflow:auto}.user-home-table{min-width:980px}.user-login-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:290px}.user-license-inline{display:flex;align-items:baseline;gap:5px;padding:7px 10px;border-radius:9px;background:#f7f8fa}.user-license-inline span{font-size:9px;color:var(--muted)}.user-license-inline strong{font-size:16px}.user-license-meter-large{grid-template-columns:repeat(3,1fr);max-width:720px}.user-license-add{max-width:720px}.user-add-panel{max-width:980px}.user-add-grid{margin-top:12px}@media(max-width:900px){.user-self-grid{grid-template-columns:1fr}.user-filter-row{grid-template-columns:1fr}.user-home-tabs{overflow-x:auto}.user-home-tabs button{min-width:135px}.user-self-facts{grid-template-columns:1fr}.user-license-meter-large{grid-template-columns:1fr}}
@media(min-width:1100px) and (max-height:820px){.ui-1366-standard .user-page-heading{margin-bottom:8px}.ui-1366-standard .user-home-tabs{margin-bottom:8px}.ui-1366-standard .user-home-tabs button{padding:6px 11px;min-width:135px}.ui-1366-standard .user-self-card,.ui-1366-standard .user-password-card,.ui-1366-standard .user-list-panel,.ui-1366-standard .user-add-panel,.ui-1366-standard .user-license-panel{padding:13px;margin-bottom:10px}.ui-1366-standard .user-list-scroll{max-height:calc(100vh - 260px);min-height:430px}.ui-1366-standard .user-self-facts>div{padding:8px 10px}.ui-1366-standard .user-filter-row{margin-top:8px}}


/* R84 — user management + permission layout simplification for 1366x768 */
.sticky-page-heading{position:sticky;top:0;z-index:20;background:var(--bg,#f5f6f8);padding-top:2px}
.ui-1366-standard .sticky-page-heading{top:-1px;padding-bottom:6px}
.user-home-table-compact{min-width:940px}
.user-home-table-compact .actions-col{min-width:270px;width:270px}
.action-grid-2x{display:grid;grid-template-columns:repeat(2,minmax(118px,1fr));gap:8px;align-items:start}
.action-grid-2x .quiet,.action-grid-2x .button-link{min-height:34px;white-space:normal;line-height:1.2;text-align:center;justify-content:center}
.user-list-scroll{max-height:calc(100vh - 250px);min-height:calc(100vh - 350px)}
.ui-1366-standard .user-list-scroll{max-height:calc(100vh - 242px);min-height:calc(100vh - 352px)}
.permission-header-panel{margin-bottom:10px}
.permission-tabs-panel{padding-top:10px}
.permission-section-tabs{position:sticky;top:72px;z-index:15;background:#fff;padding-bottom:8px;margin-bottom:8px;overflow:auto}
.permission-section-tabs button{min-width:150px;justify-content:space-between}
.permission-scroll-wrap{max-height:calc(100vh - 340px);min-height:calc(100vh - 420px);overflow:auto}
.compact-permission-matrix{min-width:1120px}
.compact-permission-matrix th:first-child,.compact-permission-matrix td:first-child{min-width:320px;max-width:320px}
.compact-permission-matrix th:not(:first-child),.compact-permission-matrix td:not(:first-child){min-width:72px}
.compact-permission-matrix input[type=checkbox]{width:18px;height:18px}
.sticky-action-row{position:sticky;top:72px;z-index:16;background:#fff;padding-top:8px;padding-bottom:2px}
@media(min-width:1100px) and (max-height:820px){
  .ui-1366-standard .sticky-page-heading{padding-bottom:4px;margin-bottom:8px}
  .ui-1366-standard .user-home-table-compact .actions-col{min-width:250px;width:250px}
  .ui-1366-standard .action-grid-2x{grid-template-columns:repeat(2,minmax(104px,1fr));gap:6px}
  .ui-1366-standard .action-grid-2x .quiet,.ui-1366-standard .action-grid-2x .button-link{min-height:30px;font-size:9px;padding:5px 8px}
  .ui-1366-standard .user-list-scroll{max-height:calc(100vh - 235px);min-height:calc(100vh - 342px)}
  .ui-1366-standard .permission-section-tabs{top:62px;padding-bottom:6px;margin-bottom:6px}
  .ui-1366-standard .permission-section-tabs button{min-width:132px;padding:5px 9px}
  .ui-1366-standard .sticky-action-row{top:62px;padding-top:6px}
  .ui-1366-standard .permission-scroll-wrap{max-height:calc(100vh - 300px);min-height:calc(100vh - 382px)}
  .ui-1366-standard .compact-permission-matrix{min-width:1040px}
  .ui-1366-standard .compact-permission-matrix th:first-child,.ui-1366-standard .compact-permission-matrix td:first-child{min-width:280px;max-width:280px}
  .ui-1366-standard .compact-permission-matrix th:not(:first-child),.ui-1366-standard .compact-permission-matrix td:not(:first-child){min-width:64px}
}

/* R85 — Excel import / popup / reset-sample UX */
.master-excel-import{max-width:1180px}.import-unit-row{align-items:end;margin-top:8px}.import-unit-row .scope-note{margin:0}.import-master-tabs{margin-top:10px}.import-master-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0}.import-master-toolbar>div{display:grid;gap:3px}.import-master-toolbar small{font-size:10px;color:var(--muted)}.import-xlsx-preview{max-height:300px;overflow:auto}.import-xlsx-preview thead th{position:sticky;top:0;background:#f7f8fa;z-index:2}.danger-action{background:#a40000!important}.user-reset-sample-panel{max-width:860px}.opening-amount-input{font-weight:800;text-align:right}
@media(min-width:1100px) and (max-height:820px){.ui-1366-standard .master-excel-import{padding:12px}.ui-1366-standard .import-master-tabs{margin-top:6px}.ui-1366-standard .import-master-toolbar{margin:6px 0}.ui-1366-standard .import-xlsx-preview{max-height:260px}}


/* R88 — setting user sederhana: modul + page saja */
.user-setting-heading{margin-bottom:10px}
.user-setting-summary{padding:14px 16px;margin-bottom:10px}
.user-setting-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.user-setting-note{margin-top:8px}
.user-setting-actions{margin-top:8px;white-space:nowrap}
.user-setting-panel{padding:12px 14px}
.user-setting-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;margin-bottom:8px}
.user-setting-tabs button{min-width:0;justify-content:space-between;width:100%}
.user-setting-tabs button span{margin-left:auto}
.user-setting-modulebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 4px;border-bottom:1px solid var(--line)}
.user-setting-modulebar h2{font-size:15px;margin:2px 0 0}
.user-setting-all{flex-direction:row!important;align-items:center;gap:7px!important;font-size:10px!important;font-weight:800}
.user-setting-all input{width:16px!important;height:16px!important;min-height:16px!important}
.user-setting-page-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;max-height:calc(100vh - 390px);overflow:auto;padding-right:3px}
.user-setting-page{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px!important;min-height:54px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer}
.user-setting-page:hover{border-color:#e4aab1;background:#fffafb}
.user-setting-page.disabled{opacity:.5;cursor:not-allowed}
.user-setting-page>input{width:16px!important;height:16px!important;min-height:16px!important;margin:0}
.user-setting-page-copy{display:block;min-width:0}
.user-setting-page-copy strong,.user-setting-page-copy small{display:block}
.user-setting-page-copy strong{font-size:11px;color:#252931}
.user-setting-page-copy small{margin-top:3px;font-size:8.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1100px) and (max-height:820px){
  .ui-1366-standard .user-setting-summary{padding:10px 12px;margin-bottom:8px}
  .ui-1366-standard .user-setting-note{margin-top:5px;padding:6px 8px}
  .ui-1366-standard .user-setting-actions{margin-top:5px}
  .ui-1366-standard .user-setting-panel{padding:9px 11px}
  .ui-1366-standard .user-setting-tabs{margin-bottom:5px}
  .ui-1366-standard .user-setting-tabs button{min-width:0;padding:5px 8px}
  .ui-1366-standard .user-setting-modulebar{padding:5px 3px}
  .ui-1366-standard .user-setting-modulebar h2{font-size:12px}
  .ui-1366-standard .user-setting-page-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:calc(100vh - 330px);margin-top:6px}
  .ui-1366-standard .user-setting-page{min-height:45px;padding:5px 7px;grid-template-columns:18px minmax(0,1fr) auto;gap:6px!important}
  .ui-1366-standard .user-setting-page-copy strong{font-size:9.5px}
  .ui-1366-standard .user-setting-page-copy small{font-size:7.5px}
}

/* R90 — saldo balance proof, in-app confirmation, report card descriptions */
.opening-balance-proof{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:7px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fafbfc}
.opening-balance-proof>div span,.opening-balance-proof>div small{display:block}.opening-balance-proof>div span{font-size:10px;font-weight:900}.opening-balance-proof>div small{font-size:8.5px;color:var(--muted);margin-top:2px}.opening-balance-proof>strong{font-size:13px;font-variant-numeric:tabular-nums}.opening-balance-proof.balanced{border-color:#b9dfc7;background:#f4fbf6}.opening-balance-proof.unbalanced{border-color:#efc4c4;background:#fff7f7}.opening-balance-proof.unbalanced>strong{color:#b00020}
.opening-modal-backdrop{z-index:120}.opening-confirm-modal,.opening-success-modal{width:min(450px,calc(100vw - 28px));padding:22px}.opening-warning-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:#fff2d8;color:#9a5a00;font-size:26px;font-weight:900;border:1px solid #f1d39b}.opening-confirm-facts{display:grid;gap:6px;width:100%;margin:12px 0;padding:9px;border-radius:9px;background:#f7f8fa;border:1px solid var(--line);text-align:left}.opening-confirm-facts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px}.opening-confirm-facts span{font-size:9px;color:var(--muted);text-transform:uppercase}.opening-confirm-facts strong{font-size:11px;overflow-wrap:anywhere}.opening-modal-actions{display:flex;justify-content:center;gap:8px;margin:4px 0 6px}.opening-success-modal p{max-width:360px;line-height:1.45}
.legacy-report-ribbon-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.legacy-report-ribbon-copy strong,.legacy-report-ribbon-copy small{display:block}.legacy-report-ribbon-copy small{font-size:9px;line-height:1.25;color:#69717b;font-weight:500}
.ui-1366-standard .legacy-report-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ui-1366-standard .legacy-report-ribbon-item{min-height:68px}.ui-1366-standard .legacy-report-ribbon-copy strong{font-size:10px;line-height:1.15}.ui-1366-standard .legacy-report-ribbon-copy small{font-size:8px;line-height:1.2}
@media(min-width:1100px) and (max-height:820px){.ui-1366-standard .opening-balance-proof{padding:5px 7px;margin-top:5px}.ui-1366-standard .opening-balance-proof>div span{font-size:9px}.ui-1366-standard .opening-balance-proof>div small{font-size:7.5px}.ui-1366-standard .opening-balance-proof>strong{font-size:11px}.ui-1366-standard .legacy-report-ribbon-item{min-height:63px;padding:6px 7px}.ui-1366-standard .legacy-report-ribbon-copy small{font-size:7.5px}}

/* R91 — financial position preview fit + national structure selection stability */
@media(min-width:1100px) and (max-height:900px){
  .ui-1366-standard .financial-position-canvas{padding:10px;overflow:auto}
  .ui-1366-standard .financial-position-paper{max-width:calc(100vw - 330px)}
}

/* R92 — clearer combo arrow, taller work tables, totals, logo upload, compact user actions */
.content select:not([multiple]),.topbar select:not([multiple]){
  -webkit-appearance:none;appearance:none;cursor:pointer;padding-right:32px!important;
  background-color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232a2f36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:14px 14px;
}
.content select:not([multiple]):disabled{cursor:not-allowed;background-color:#f3f4f6;opacity:.78}
.opening-balance-topbar-tabs .opening-tabs{gap:1px}
.opening-balance-topbar-tabs .opening-tab{min-width:112px;padding:0 8px}
.opening-filter-grid-simple{grid-template-columns:minmax(280px,1fr) auto}
.opening-employee-balance-table th:nth-child(1),.opening-employee-balance-table td:nth-child(1){width:18%}
.opening-employee-balance-table th:nth-child(2),.opening-employee-balance-table td:nth-child(2){width:31%}
.opening-employee-balance-table th:nth-child(3),.opening-employee-balance-table td:nth-child(3){width:27%}
.opening-employee-balance-table th:nth-child(4),.opening-employee-balance-table td:nth-child(4){width:16%}
.opening-employee-balance-table th:nth-child(5),.opening-employee-balance-table td:nth-child(5){width:8%}
.opening-total-only{background:#f7faf8}
.logo-upload-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fafbfc}
.profile-logo-preview{width:100px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px}
.logo-upload-controls{display:grid;gap:6px;min-width:0}.logo-upload-controls input[type=file]{width:100%;font-size:10px}.logo-upload-controls code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#656d77}
.user-home-table-compact tbody td{padding-top:5px!important;padding-bottom:5px!important}
.action-grid-2x{gap:4px 6px!important}
.action-grid-2x .quiet,.action-grid-2x .button-link{min-height:26px!important;height:26px;padding:3px 7px!important;font-size:8.5px!important;line-height:1.05!important;border-radius:6px!important;white-space:nowrap!important}
.page-heading-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
@media(min-width:981px){
  .opening-balance-compact .opening-list-scroll{
    height:clamp(280px,calc(100vh - 500px),380px)!important;
    max-height:clamp(280px,calc(100vh - 500px),380px)!important;
    min-height:280px!important;
  }
}
@media(min-width:1100px) and (max-height:820px){
  .ui-1366-standard .opening-balance-topbar-tabs .opening-tab{min-width:104px;padding:0 6px}
  .ui-1366-standard .opening-balance-topbar-tabs .opening-tab>strong{font-size:9px}
  .ui-1366-standard .opening-balance-compact .opening-list-scroll{height:300px!important;max-height:300px!important;min-height:300px!important}
  .ui-1366-standard .action-grid-2x .quiet,.ui-1366-standard .action-grid-2x .button-link{min-height:24px!important;height:24px!important;padding:2px 6px!important;font-size:8px!important}
  .ui-1366-standard .user-home-table-compact tbody td{padding-top:4px!important;padding-bottom:4px!important}
  .ui-1366-standard .logo-upload-row{grid-template-columns:90px minmax(0,1fr);gap:9px;padding:7px}
  .ui-1366-standard .profile-logo-preview{width:82px;height:58px;padding:4px}
}
@media(max-width:760px){.logo-upload-row{grid-template-columns:1fr}.profile-logo-preview{width:120px}}

/* R93 — report menu, report-parameter workspace, and 1366x768 preview viewport.
   Scope is visual only: report queries, filters, print/PDF/Excel logic, and database are unchanged. */
@media screen and (min-width:1100px){
  /* Report hub: 4 x 3 informative cards with a stronger visual hierarchy. */
  .ui-1366-standard .legacy-report-hub-heading{margin-bottom:9px}
  .ui-1366-standard .legacy-report-hub-heading p{max-width:930px}
  .ui-1366-standard .legacy-report-hub{padding:12px 13px 10px;border:1px solid #dfe3e8;border-radius:10px;background:linear-gradient(180deg,#fff 0%,#fcfcfd 100%)}
  .ui-1366-standard .legacy-report-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .ui-1366-standard .legacy-report-ribbon-item{position:relative;min-height:79px;padding:9px 30px 9px 10px;gap:9px;border:1px solid #dce1e6;border-radius:9px;background:#fff;box-shadow:0 2px 8px rgba(28,31,36,.035);transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
  .ui-1366-standard .legacy-report-ribbon-item::after{content:'›';position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:20px;line-height:1;color:#b5bac1;font-weight:700}
  .ui-1366-standard .legacy-report-ribbon-item:hover{transform:translateY(-1px);border-color:#e5a4aa;background:#fffafa;box-shadow:0 6px 14px rgba(118,0,12,.07)}
  .ui-1366-standard .legacy-report-ribbon-item:hover::after{color:#c60012}
  .ui-1366-standard .legacy-report-ribbon-item.disabled::after{display:none}
  .ui-1366-standard .legacy-report-ribbon-icon{width:36px;height:36px;flex:0 0 36px;border:1px solid #f0d1d4;border-radius:9px;background:#fff5f6;color:#cf0015}
  .ui-1366-standard .legacy-report-ribbon-icon svg{width:23px;height:23px}
  .ui-1366-standard .legacy-report-ribbon-copy{gap:4px;padding-right:1px}
  .ui-1366-standard .legacy-report-ribbon-copy strong{font-size:11px;line-height:1.16;color:#20242a}
  .ui-1366-standard .legacy-report-ribbon-copy small{font-size:9px;line-height:1.28;color:#66707b;font-weight:500}
  .ui-1366-standard .legacy-report-hub-note{margin-top:9px;padding:7px 8px 0;border-top:1px solid #e6e9ed;font-size:9px;line-height:1.25}

  /* All report option pages: compact two-column setup workspace. */
  .ui-1366-standard .legacy-report-options{display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:10px 12px;align-items:start;min-height:0!important}
  .ui-1366-standard .legacy-report-commandbar,
  .ui-1366-standard .legacy-report-setup-head,
  .ui-1366-standard .legacy-report-caption{grid-column:1/-1}
  .ui-1366-standard .legacy-report-commandbar{height:38px!important;margin:0!important;padding:4px 7px!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 8px rgba(28,31,36,.025)!important}
  .ui-1366-standard .legacy-report-commandbar button,
  .ui-1366-standard .legacy-report-commandbar .button-link{height:28px!important;min-height:28px!important;padding:0 11px!important;border:1px solid #efc8cc!important;border-radius:7px!important;background:#fff8f8!important;color:#a90012!important;font-size:10px!important;font-weight:800!important}
  .ui-1366-standard .legacy-report-commandbar button:hover,
  .ui-1366-standard .legacy-report-commandbar .button-link:hover{background:#fff0f1!important;border-color:#e89ba4!important}
  .ui-1366-standard .legacy-print-info{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;margin:-2px 0 0;padding:8px 11px;border:1px solid #ead9a9;border-left:4px solid #d09a00;border-radius:8px;background:#fffdf4;color:#4c4430;box-shadow:0 2px 8px rgba(28,31,36,.025)}
  .ui-1366-standard .legacy-print-info strong{flex:0 0 auto;font-size:9px;line-height:1.3;color:#8a5d00;white-space:nowrap}
  .ui-1366-standard .legacy-print-info span{font-size:9px;line-height:1.35;color:#5f5745}
  .ui-1366-standard .legacy-print-info b{font-weight:800;color:#3f382a}
  .ui-1366-standard .legacy-report-setup-head,
  .ui-1366-standard .legacy-report-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px;border:1px solid #e0e4e8;border-left:4px solid #c90014;border-radius:9px;background:linear-gradient(90deg,#fff8f9 0%,#fff 46%);box-shadow:0 2px 8px rgba(28,31,36,.025)}
  .ui-1366-standard .legacy-report-setup-head>div,.ui-1366-standard .legacy-report-caption>div{min-width:0}
  .ui-1366-standard .legacy-report-setup-head span,.ui-1366-standard .legacy-report-caption span{display:block;margin-bottom:2px;font-size:8px!important;line-height:1.1;font-weight:900;color:#b30012;letter-spacing:.09em}
  .ui-1366-standard .legacy-report-setup-head strong{display:block;font-size:15px;line-height:1.12;color:#1f242a}
  .ui-1366-standard .legacy-report-setup-head small{display:block;margin-top:3px;font-size:9px;line-height:1.25;color:#69717b}
  .ui-1366-standard .legacy-report-setup-head em{font-style:normal;white-space:nowrap;padding:5px 8px;border:1px solid #efd5d8;border-radius:999px;background:#fff;color:#8e3039;font-size:8px;font-weight:800}
  .ui-1366-standard .legacy-report-caption h1{font-size:15px!important;line-height:1.12!important;margin:0!important;color:#1f242a}
  .ui-1366-standard .legacy-report-caption p{margin-top:3px!important;font-size:9px!important;line-height:1.25!important;color:#69717b!important}
  .ui-1366-standard .legacy-report-caption>strong{font-size:9px!important;padding:5px 8px!important}

  .ui-1366-standard .legacy-report-selector,
  .ui-1366-standard .trial-balance-selector,
  .ui-1366-standard .financial-position-selector,
  .ui-1366-standard .consolidated-position-selector,
  .ui-1366-standard .income-statement-selector,
  .ui-1366-standard .consolidated-income-selector,
  .ui-1366-standard .cash-flow-selector,
  .ui-1366-standard .fixed-asset-selector{grid-column:1;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 3px 10px rgba(28,31,36,.035)!important;overflow:hidden!important}
  .ui-1366-standard .legacy-report-selector::before{content:'1  PILIH JENIS LAPORAN';display:block;padding:8px 10px;border-bottom:1px solid #e4e7eb;background:#f7f8fa;color:#4f5761;font-size:8px;font-weight:900;letter-spacing:.07em}
  .ui-1366-standard .legacy-report-choice-table{width:100%!important;min-width:0!important;table-layout:fixed!important;font-family:Arial,Helvetica,sans-serif!important}
  .ui-1366-standard .legacy-report-choice-table th{height:28px!important;padding:5px 8px!important;background:#fff!important;border:0!important;border-bottom:1px solid #dfe3e7!important;color:#6a727d!important;font-size:8px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important}
  .ui-1366-standard .legacy-report-choice-table td{height:34px!important;padding:6px 8px!important;border:0!important;border-bottom:1px solid #eceff2!important;background:#fff!important;color:#252a31!important;font-size:10px!important;line-height:1.18!important}
  .ui-1366-standard .legacy-report-choice-table tbody tr:last-child td{border-bottom:0!important}
  .ui-1366-standard .legacy-report-choice-table th:nth-child(1),
  .ui-1366-standard .legacy-report-choice-table td:nth-child(1){width:58px!important;text-align:center!important}
  .ui-1366-standard .legacy-report-choice-table th:nth-child(3),
  .ui-1366-standard .legacy-report-choice-table td:nth-child(3){width:82px!important}
  .ui-1366-standard .legacy-report-choice-table th:nth-child(4),
  .ui-1366-standard .legacy-report-choice-table td:nth-child(4){width:92px!important}
  .ui-1366-standard .legacy-report-choice-table tr:hover td{background:#fafbfc!important;color:#252a31!important}
  .ui-1366-standard .legacy-report-choice-table tr.selected td{background:#fff1f2!important;color:#22272e!important;font-weight:700!important}
  .ui-1366-standard .legacy-report-choice-table tr.selected td:first-child{box-shadow:inset 4px 0 0 #cf0015;color:#b90014!important;font-weight:900!important}
  .ui-1366-standard .legacy-report-choice-table tr.selected:hover td{background:#fff1f2!important;color:#22272e!important}
  .ui-1366-standard .legacy-report-choice-table td small{margin-top:2px!important;font-size:8px!important;line-height:1.2!important;color:#747c86!important}

  .ui-1366-standard :is(.legacy-report-filter-card,.trial-balance-filter-card,.financial-position-filter-card,.consolidated-position-filter-card,.income-statement-filter-card,.consolidated-income-filter-card,.cash-flow-filter-card,.fixed-asset-filter-card){grid-column:2;width:auto!important;max-width:none!important;margin:0!important;padding:0 11px 11px!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 3px 10px rgba(28,31,36,.035)!important;overflow:hidden!important}
  .ui-1366-standard :is(.legacy-report-filter-card,.trial-balance-filter-card,.financial-position-filter-card,.consolidated-position-filter-card,.income-statement-filter-card,.consolidated-income-filter-card,.cash-flow-filter-card,.fixed-asset-filter-card)::before{content:'2  ATUR PARAMETER';display:block;margin:0 -11px 10px;padding:8px 10px;border-bottom:1px solid #e4e7eb;background:#f7f8fa;color:#4f5761;font-size:8px;font-weight:900;letter-spacing:.07em}

  .ui-1366-standard .legacy-report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 10px!important;align-items:end!important}
  .ui-1366-standard .legacy-report-search{grid-column:1/-1!important}
  .ui-1366-standard .legacy-report-scope-note{margin-top:9px!important;padding:7px 8px!important;border-radius:7px!important;font-size:8px!important}
  .ui-1366-standard .legacy-report-bottom-actions{margin-top:8px!important}

  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid){display:grid!important;grid-template-columns:1fr!important;gap:7px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:10px!important}
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid)>label:not(.trial-checkbox){display:grid!important;grid-template-columns:122px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;font-size:10px!important;font-weight:600!important;color:#363c44!important}
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) input:not([type=checkbox]),
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) select{width:100%!important;height:30px!important;min-height:30px!important;padding:4px 30px 4px 8px!important;border:1px solid #cfd5db!important;border-radius:7px!important;background-color:#fff!important;font-size:10px!important;color:#22272e!important}
  .ui-1366-standard :is(.trial-range-row,.financial-position-range-row,.consolidated-position-range-row,.income-statement-range-row,.consolidated-income-range-row,.cash-flow-range-row,.fixed-asset-range-row){display:grid!important;grid-template-columns:122px minmax(0,1fr) 30px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;font-size:10px!important;color:#363c44!important}
  .ui-1366-standard :is(.trial-range-row,.financial-position-range-row,.consolidated-position-range-row,.income-statement-range-row,.consolidated-income-range-row,.cash-flow-range-row,.fixed-asset-range-row)>span{font-weight:600!important}
  .ui-1366-standard :is(.trial-range-row,.financial-position-range-row,.consolidated-position-range-row,.income-statement-range-row,.consolidated-income-range-row,.cash-flow-range-row,.fixed-asset-range-row)>em{font-style:normal!important;text-align:center!important;color:#69717b!important;font-size:9px!important}
  .ui-1366-standard :is(.income-statement-range-row,.consolidated-income-range-row)>strong{grid-column:2/-1!important;white-space:normal!important;margin-top:-2px!important;font-size:8px!important;line-height:1.2!important;color:#8a5a00!important;font-weight:700!important}
  .ui-1366-standard .trial-checkbox{display:grid!important;grid-template-columns:122px 18px!important;align-items:center!important;gap:8px!important;font-size:10px!important;font-weight:600!important;color:#363c44!important}
  .ui-1366-standard :is(.trial-checkbox,.financial-position-check-grid label,.consolidated-position-check-grid label,.income-statement-check-grid label,.consolidated-income-check-grid label) input[type=checkbox]{width:15px!important;height:15px!important;min-height:15px!important;margin:0!important;padding:0!important;accent-color:#c90014}
  .ui-1366-standard :is(.financial-position-check-grid,.consolidated-position-check-grid,.income-statement-check-grid,.consolidated-income-check-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 12px!important;margin-top:2px!important;padding:8px!important;border:1px solid #e5e8ec!important;border-radius:7px!important;background:#fafbfc!important}
  .ui-1366-standard :is(.financial-position-check-grid,.consolidated-position-check-grid,.income-statement-check-grid,.consolidated-income-check-grid) label{display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;gap:6px!important;align-items:center!important;font-size:9px!important;font-weight:600!important;color:#4c535d!important}
  .ui-1366-standard .fixed-asset-user-filter input{width:100%!important}
}

/* Keep the report viewer itself inside the 1366x768 workspace.
   100% remains the default paper zoom; only the gray preview viewport becomes internally scrollable. */
@media screen and (min-width:1100px) and (max-height:820px){
  .ui-1366-standard .legacy-report-viewer{display:flex!important;flex-direction:column!important;gap:6px!important;height:calc(100vh - var(--ui41-topbar,54px) - 52px)!important;min-height:0!important;overflow:hidden!important}
  .ui-1366-standard .legacy-report-viewer-toolbar{flex:0 0 36px!important;height:36px!important;margin:0!important}
  .ui-1366-standard .legacy-report-viewer>.scope-note{flex:0 0 auto!important;margin:0!important}
  .ui-1366-standard .legacy-report-canvas{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:auto!important;overscroll-behavior:contain}
  .ui-1366-standard .legacy-report-paper{margin-bottom:10px}
  .ui-1366-standard .legacy-report-paper:last-child{margin-bottom:0}
  .ui-1366-standard .legacy-report-zoom select{width:76px!important}
}

@media screen and (min-width:1100px) and (max-height:820px){
  .ui-1366-standard .legacy-report-ribbon-item{min-height:73px;padding-top:7px;padding-bottom:7px}
  .ui-1366-standard .legacy-report-ribbon-copy small{font-size:8.5px}
  .ui-1366-standard .legacy-report-hub-note{margin-top:7px;padding-top:6px}
}


/* R94 — canonical report authority: source fund is locked by report family, while
   organization scope is explicit and never inferred as consolidated from a selected unit. */
@media screen and (min-width:1100px){
  .ui-1366-standard .report-scope-authority-card{grid-column:1/-1;margin:0!important;padding:8px 10px!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 2px 8px rgba(28,31,36,.025)!important}
  .ui-1366-standard .report-scope-authority-grid{display:grid;grid-template-columns:128px 180px minmax(220px,.9fr) minmax(260px,1.1fr);gap:9px 10px;align-items:end}
  .ui-1366-standard .report-fund-lock{position:relative;min-height:48px;padding:7px 54px 7px 9px;border:1px solid #f0c8cc;border-radius:8px;background:#fff7f8}
  .ui-1366-standard .report-fund-lock span{display:block;font-size:8px;line-height:1.1;font-weight:800;color:#6d737b;text-transform:uppercase;letter-spacing:.04em}
  .ui-1366-standard .report-fund-lock strong{display:block;margin-top:4px;font-size:13px;line-height:1.1;color:#b50013}
  .ui-1366-standard .report-fund-lock em{position:absolute;right:7px;top:8px;padding:3px 5px;border-radius:999px;background:#b50013;color:#fff;font-size:7px;line-height:1;font-style:normal;font-weight:900;letter-spacing:.04em}
  .ui-1366-standard .report-scope-authority-grid>label{display:grid;gap:4px;font-size:8px;font-weight:800;color:#555d67;text-transform:uppercase;letter-spacing:.03em}
  .ui-1366-standard .report-scope-authority-grid>label input,
  .ui-1366-standard .report-scope-authority-grid>label select{width:100%!important;height:30px!important;min-height:30px!important;padding:4px 28px 4px 8px!important;border:1px solid #cfd5db!important;border-radius:7px!important;background:#fff!important;color:#23282e!important;font-size:10px!important;text-transform:none!important;letter-spacing:0!important}
  .ui-1366-standard .report-scope-authority-grid>label input[readonly]{background:#f7f8fa!important;color:#4c535c!important}
  .ui-1366-standard .report-scope-authority-note{min-height:48px;padding:7px 9px;border:1px solid #e4e7eb;border-radius:8px;background:#fafbfc;display:flex;flex-direction:column;justify-content:center}
  .ui-1366-standard .report-scope-authority-note strong{font-size:9px;line-height:1.15;color:#242a31}
  .ui-1366-standard .report-scope-authority-note span{margin-top:3px;font-size:8px;line-height:1.25;color:#68717b}
}
@media screen and (min-width:1100px) and (max-height:820px){
  .ui-1366-standard .report-scope-authority-card{padding-top:6px!important;padding-bottom:6px!important}
  .ui-1366-standard .report-fund-lock,.ui-1366-standard .report-scope-authority-note{min-height:44px}
}

/* R95 — report parameter calming, fiscal month note, and 1366x768 preview fit refinements. */
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-selector::before,
  .ui-1366-standard :is(.legacy-report-filter-card,.trial-balance-filter-card,.financial-position-filter-card,.consolidated-position-filter-card,.income-statement-filter-card,.consolidated-income-filter-card,.cash-flow-filter-card,.fixed-asset-filter-card)::before{background:#fafbfc!important;color:#59626d!important}
  .ui-1366-standard .legacy-report-choice-table td{height:38px!important;padding:7px 9px!important}
  .ui-1366-standard .legacy-report-choice-table tr.selected td{background:#fff7f7!important;color:#20262d!important}
  .ui-1366-standard .legacy-report-choice-table tr.selected td:first-child{box-shadow:inset 3px 0 0 #cf0015!important}
  .ui-1366-standard .legacy-report-choice-table tr:hover td{background:#fcfcfd!important}
  .ui-1366-standard .report-fiscal-note{display:grid!important;grid-template-columns:122px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;padding:7px 8px!important;border:1px solid #e6eaee!important;border-radius:7px!important;background:#fafbfc!important}
  .ui-1366-standard .report-fiscal-note strong{font-size:8px!important;line-height:1.25!important;font-weight:900!important;color:#606a75!important;letter-spacing:.05em!important}
  .ui-1366-standard .report-fiscal-note span{font-size:9px!important;line-height:1.35!important;color:#28303a!important}
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) input:disabled,
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) select:disabled,
  .ui-1366-standard .report-scope-authority-grid>label input[disabled],
  .ui-1366-standard .report-scope-authority-grid>label select[disabled]{background:#f5f7f8!important;color:#5c6470!important;border-color:#d8dde2!important;cursor:not-allowed!important}
}

@media screen and (min-width:1100px) and (max-height:820px){
  .ui-1366-standard .legacy-report-options{gap:8px 10px!important}
  .ui-1366-standard .legacy-report-viewer{height:calc(100vh - var(--ui41-topbar,54px) - 68px)!important}
  .ui-1366-standard .legacy-report-viewer-toolbar{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;padding:4px 7px!important}
  .ui-1366-standard .legacy-report-viewer-info{margin-left:auto!important;max-width:280px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:10px!important;color:#69717b!important}
  .ui-1366-standard .legacy-report-canvas{display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;padding:8px!important;background:#747a81!important}
  .ui-1366-standard .legacy-report-paper{box-sizing:border-box!important;margin:0 auto 10px!important}
  .ui-1366-standard .legacy-report-paper.paper-landscape{width:960px!important;min-height:678px!important;padding:22px 26px 24px!important}
  .ui-1366-standard .legacy-report-paper.paper-portrait{width:700px!important;min-height:990px!important;padding:22px 24px 26px!important}
  .ui-1366-standard .legacy-report-paper.fixed-asset-report-paper{width:960px!important;min-height:678px!important;padding:22px 26px 24px!important}
}

/* R96 — Posisi Keuangan: selector A/B/C and screen preview fitted to the 1366x768 workspace.
   Print data/formula are untouched; these rules only control report presentation. */
@media screen and (min-width:1100px){
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table th:nth-child(1),
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table td:nth-child(1){width:54px!important;text-align:center!important}
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table th:nth-child(3),
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table td:nth-child(3){width:76px!important;text-align:center!important}
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table td:first-child{font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important}
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table tr.selected td{background:#fff5f6!important}
  .ui-1366-standard .financial-position-selector .legacy-report-choice-table tr.selected td:first-child{color:#b60014!important;box-shadow:inset 3px 0 0 #cf0015!important}

  .ui-1366-standard .financial-position-canvas{overflow-x:hidden!important;overflow-y:auto!important;text-align:center!important}
  .ui-1366-standard .financial-position-paper{box-sizing:border-box!important;width:min(1020px,calc(100% - 12px))!important;max-width:calc(100% - 12px)!important;min-width:0!important;margin:0 auto 10px!important;overflow:hidden!important}
  .ui-1366-standard .financial-position-columns{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;min-width:0!important;max-width:100%!important}
  .ui-1366-standard .financial-position-left,
  .ui-1366-standard .financial-position-right{width:100%!important;min-width:0!important;max-width:100%!important}
  .ui-1366-standard .financial-position-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
  .ui-1366-standard .financial-position-table th:first-child,
  .ui-1366-standard .financial-position-table td:first-child{min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important}
  .ui-1366-standard .financial-position-table th:last-child{width:120px!important}
  .ui-1366-standard .financial-position-title{padding:9px 0 7px!important;text-align:center!important}
  .ui-1366-standard .financial-position-title h2{font-size:17px!important;letter-spacing:.02em!important}
  .ui-1366-standard .financial-position-title h1{font-size:15px!important;letter-spacing:.01em!important}
  .ui-1366-standard .financial-position-title>strong{font-size:13px!important}
}

@media screen and (min-width:1100px) and (max-height:820px){
  .ui-1366-standard .legacy-report-viewer{height:calc(100vh - 190px)!important;max-height:590px!important}
  .ui-1366-standard .financial-position-canvas{padding:8px!important}
  .ui-1366-standard .financial-position-paper.paper-landscape{width:min(960px,calc(100% - 8px))!important;max-width:calc(100% - 8px)!important;min-height:0!important;padding:16px 20px 20px!important}
  .ui-1366-standard .financial-position-table{font-size:9.5px!important;line-height:1.16!important}
  .ui-1366-standard .financial-position-table th{font-size:9.5px!important;padding:4px 7px 3px!important}
  .ui-1366-standard .financial-position-table td{font-size:9.5px!important;padding:1.7px 7px!important;line-height:1.16!important}
  .ui-1366-standard .financial-position-table th:last-child{width:112px!important}
  .ui-1366-standard .financial-position-table .position-section-title td{padding-top:16px!important;padding-bottom:8px!important}
  .ui-1366-standard .financial-position-table .position-spacer td{height:12px!important}
  .ui-1366-standard .financial-position-table .position-fill td{height:18px!important}
}

@media print{
  .financial-position-title h2{font-size:12pt!important;letter-spacing:.02em!important}
  .financial-position-title h1{font-size:11pt!important;letter-spacing:.01em!important}
  .financial-position-title>strong{font-size:9.5pt!important}
  .financial-position-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important}
  .financial-position-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
  .financial-position-table th:last-child{width:31mm!important}
  .financial-position-table th:first-child,.financial-position-table td:first-child{white-space:normal!important;overflow-wrap:break-word!important}
}

/* R97 — prevent the Posisi Keuangan paper from shrinking inside the fixed 1366x768 preview viewport.
   The viewport height/bottom boundary stays unchanged; overflow is handled by its own vertical scrollbar. */
@media screen and (min-width:1100px){
  .ui-1366-standard .financial-position-canvas{
    overflow-x:hidden!important;
    overflow-y:scroll!important;
    scrollbar-gutter:stable!important;
  }
  .ui-1366-standard .financial-position-canvas > .financial-position-paper{
    flex:0 0 auto!important;
    height:auto!important;
    overflow:visible!important;
  }
}

/* R98 — Posisi Keuangan output parity.
   Printer/PDF use the same two-column visual structure as the 100% screen preview. */
@media print{
  .financial-position-canvas{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    overflow:visible!important;
    background:#fff!important;
  }
  .financial-position-canvas > .financial-position-paper{
    display:block!important;
    box-sizing:border-box!important;
    width:960px!important;
    max-width:960px!important;
    min-width:960px!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:16px 20px 20px!important;
    overflow:visible!important;
    box-shadow:none!important;
    transform:none!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .financial-position-topline{
    padding:0 5px 3px!important;
    border-bottom:1px solid #111!important;
    font-size:11px!important;
    line-height:1.1!important;
  }
  .financial-position-title{padding:9px 0 7px!important;text-align:center!important}
  .financial-position-title h2{margin:0 0 2px!important;font-size:17px!important;line-height:1.05!important;letter-spacing:.02em!important;color:#0000d9!important}
  .financial-position-title h1{margin:0 0 2px!important;font-size:15px!important;line-height:1.05!important;letter-spacing:.01em!important;color:#8b0000!important}
  .financial-position-title>strong{font-size:13px!important;line-height:1.05!important;color:#111!important}
  .financial-position-columns{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    border-top:1.2px solid #111!important;
    border-bottom:1.2px solid #111!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .financial-position-left,
  .financial-position-right{
    display:table!important;
    flex:0 0 50%!important;
    width:50%!important;
    max-width:50%!important;
    min-width:0!important;
    table-layout:fixed!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .financial-position-left{border-right:1.2px solid #111!important}
  .financial-position-table{font-size:9.5px!important;line-height:1.16!important}
  .financial-position-table thead{display:table-header-group!important}
  .financial-position-table tbody{display:table-row-group!important}
  .financial-position-table tr{break-inside:avoid!important;page-break-inside:avoid!important}
  .financial-position-table th{padding:4px 7px 3px!important;border-bottom:4px double #111!important;background:#fff!important;color:#111!important;font-size:9.5px!important;font-weight:800!important}
  .financial-position-table th:last-child{width:112px!important;text-align:right!important}
  .financial-position-table td{padding:1.7px 7px!important;border:0!important;background:#fff!important;color:#111!important;font-size:9.5px!important;line-height:1.16!important}
  .financial-position-table td.right{text-align:right!important;white-space:nowrap!important}
  .financial-position-table td.negative{color:#ff0000!important}
  .financial-position-table .position-section-title td{padding-top:16px!important;padding-bottom:8px!important;font-weight:800!important;text-align:center!important}
  .financial-position-table .position-subtitle td{padding-top:3px!important;padding-bottom:4px!important;font-weight:800!important}
  .financial-position-table .position-line td:first-child{padding-left:10px!important}
  .financial-position-table .position-subledger td{padding-top:1px!important;padding-bottom:1px!important;font-size:8.5px!important;color:#444!important}
  .financial-position-table .position-subledger td:first-child{padding-left:28px!important}
  .financial-position-table .position-total td{padding-top:4px!important;padding-bottom:4px!important;font-weight:800!important}
  .financial-position-table .position-spacer td{height:12px!important;padding:0!important}
  .financial-position-table .position-fill td{height:18px!important;padding:0!important}
  .financial-position-table .position-grand-total td{padding-top:5px!important;padding-bottom:5px!important;border-bottom:4px double #111!important;font-weight:800!important;text-align:center!important}
  .financial-position-table .position-grand-total td:last-child{text-align:right!important}
}


/* R99 cash/bank dedicated options */
.ui-1366-standard .cash-bank-selector,
.ui-1366-standard .cash-bank-filter-card{border:1px solid #dce1e6!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px rgba(28,31,36,.025)!important}
.ui-1366-standard .cash-bank-selector{width:650px;margin-left:0!important;overflow:hidden}
.ui-1366-standard .cash-bank-filter-card{padding:12px 14px!important}
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table th:nth-child(1),
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table td:nth-child(1){width:54px!important;text-align:center!important}
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table th:nth-child(3),
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table td:nth-child(3){width:76px!important;text-align:center!important}
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table td:first-child{font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important}
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table tr.selected td{background:#fff5f6!important}
.ui-1366-standard .cash-bank-selector .legacy-report-choice-table tr.selected td:first-child{color:#b60014!important;box-shadow:inset 3px 0 0 #cf0015!important}
.ui-1366-standard .cash-bank-filter-card::before{content:'2  ATUR PARAMETER';display:block;margin:-12px -14px 10px;padding:8px 12px;border-bottom:1px solid #e4e7eb;background:#f7f8fa;color:#4f5761;font-size:8px;font-weight:900;letter-spacing:.07em}
.ui-1366-standard .cash-bank-filter-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px 14px;align-items:start}
.ui-1366-standard .cash-bank-range-row{display:grid;grid-template-columns:130px 1fr 46px 1fr;gap:10px;align-items:center}
.ui-1366-standard .cash-bank-range-row>span{font-size:12px;font-weight:700;color:#39424e}
.ui-1366-standard .cash-bank-range-row>em{font-style:normal;font-size:12px;font-weight:700;color:#66707c;text-align:center}
.ui-1366-standard .cash-bank-filter-grid label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#39424e}
.ui-1366-standard .cash-bank-filter-grid .cash-bank-search{grid-column:1/-1}
.ui-1366-standard .cash-bank-filter-grid .report-fiscal-note{margin:0!important;min-height:50px}
.ui-1366-standard .legacy-cash-bank-options .legacy-report-setup-head{margin-bottom:12px!important}
.ui-1366-standard .legacy-cash-bank-options .report-scope-authority-card{margin-bottom:12px!important}
.ui-1366-standard .legacy-cash-bank-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:12px 14px}
.ui-1366-standard .legacy-cash-bank-options>.legacy-report-commandbar,
.ui-1366-standard .legacy-cash-bank-options>.legacy-print-info,
.ui-1366-standard .legacy-cash-bank-options>.legacy-report-setup-head,
.ui-1366-standard .legacy-cash-bank-options>.report-scope-authority-card{grid-column:1/-1}
@media (max-width:1400px){
  .ui-1366-standard .legacy-cash-bank-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .ui-1366-standard .cash-bank-range-row{grid-template-columns:120px 1fr 38px 1fr}
}

/* R100 — Cash/Bank transaction detail: exactly five visible journal rows.
   Additional rows remain in the same grid and scroll vertically; header stays visible. */
@media (min-width:801px){
  .ui-1366-standard .cb-compact-1366 .cb-journal-scroll{
    min-height:192px!important;
    height:192px!important;
    max-height:192px!important;
    overflow-x:auto!important;
    overflow-y:auto!important;
    scroll-behavior:auto!important;
  }
  .ui-1366-standard .cb-compact-1366 .cb-journal-table thead th{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    background:#f7f8f9!important;
  }
}

/* R100 — universal report option template for single-report entry pages. */
@media screen and (min-width:1100px){
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table th:nth-child(1),
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table td:nth-child(1){width:58px!important;text-align:center!important}
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table th:nth-child(3),
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table td:nth-child(3){width:82px!important;text-align:center!important}
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table td:first-child{font-size:11px!important;font-weight:900!important;color:#b60014!important}
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table tr.selected td{background:#fff5f6!important}
  .ui-1366-standard .generic-dedicated-report-selector .legacy-report-choice-table tr.selected td:first-child{box-shadow:inset 3px 0 0 #cf0015!important}
  .ui-1366-standard .generic-dedicated-report-filter .report-fiscal-note{grid-column:1/-1!important}
}

/* R101 — PARTAI/BANPOL shortcut hubs and selectable source fund on standalone reports. */
@media screen and (min-width:1100px){
  .ui-1366-standard .report-fund-selector{display:grid;gap:4px;font-size:8px;font-weight:800;color:#555d67;text-transform:uppercase;letter-spacing:.03em}
  .ui-1366-standard .report-fund-selector select{width:100%!important;height:30px!important;min-height:30px!important;padding:4px 28px 4px 8px!important;border:1px solid #d8a9ae!important;border-radius:7px!important;background:#fff8f9!important;color:#b50013!important;font-size:10px!important;font-weight:900!important;text-transform:none!important;letter-spacing:0!important}
  .ui-1366-standard .fund-shortcut-selector{grid-column:1;width:auto!important;max-width:none!important;margin:0!important}
  .ui-1366-standard .fund-shortcut-selector .legacy-report-choice-table td:first-child{font-weight:900;color:#b50013}
  .ui-1366-standard .fund-shortcut-selector .legacy-report-choice-table tr:hover td{background:#fff7f8!important}
  .ui-1366-standard .fund-shortcut-help{grid-column:2;margin:0!important;padding:0 12px 12px!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 3px 10px rgba(28,31,36,.035)!important;overflow:hidden!important}
  .ui-1366-standard .fund-shortcut-help::before{content:'2  PILIH DAN LANJUTKAN';display:block;margin:0 -12px 10px;padding:8px 10px;border-bottom:1px solid #e4e7eb;background:#f7f8fa;color:#4f5761;font-size:8px;font-weight:900;letter-spacing:.07em}
  .ui-1366-standard .fund-shortcut-help-copy{display:grid;gap:3px;padding:2px 2px 9px;border-bottom:1px solid #edf0f2}
  .ui-1366-standard .fund-shortcut-help-copy strong{font-size:12px;color:#20262d}
  .ui-1366-standard .fund-shortcut-help-copy span{font-size:9px;line-height:1.35;color:#68717b}
  .ui-1366-standard .fund-shortcut-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px;margin-top:9px}
  .ui-1366-standard .fund-shortcut-help-grid>div{display:grid;gap:2px;padding:7px 8px;border:1px solid #e5e8eb;border-radius:7px;background:#fafbfc}
  .ui-1366-standard .fund-shortcut-help-grid span{font-size:9px;font-weight:800;color:#303740}
  .ui-1366-standard .fund-shortcut-help-grid small{font-size:8px;line-height:1.25;color:#707985}
}

/* R102 — one visual authority for Preview / Printer / PDF / Excel.
   Preview remains the source of truth. Orientation is user-selectable and the same value is
   passed to Printer, PDF and Excel export. */
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-output-orientation{display:grid;gap:2px;align-items:center;font-size:8px;font-weight:800;color:#4f5761}
  .ui-1366-standard .legacy-report-output-orientation select{width:96px!important;height:30px!important;min-height:30px!important;padding:3px 24px 3px 7px!important;border:1px solid #cfd5db!important;border-radius:7px!important;background:#fff!important;color:#22272e!important;font-size:10px!important;font-weight:700!important}

  /* Landscape keeps each report's established 1366x768 authority dimensions. */
  .ui-1366-standard .legacy-report-viewer.output-orientation-landscape .legacy-report-paper{transform-origin:top center!important}

  /* Portrait is an explicit alternative preview, not a print-only transformation. */
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-canvas{overflow-x:hidden!important;max-width:100%!important}
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper{
    box-sizing:border-box!important;
    width:min(760px,calc(100% - 16px))!important;
    max-width:760px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .income-statement-paper{width:min(790px,calc(100% - 16px))!important;max-width:790px!important}
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait :is(.consolidated-position-paper,.consolidated-income-paper,.fixed-asset-report-paper){width:960px!important;max-width:none!important}

  /* Landscape option can also expand reports whose default is portrait. */
  .ui-1366-standard .legacy-report-viewer.output-orientation-landscape .income-statement-paper{
    box-sizing:border-box!important;
    width:min(1020px,calc(100% - 16px))!important;
    max-width:1020px!important;
    min-height:720px!important;
  }

  /* R129.15.14 — every A4 Portrait report must fit its printable width without horizontal scroll.
     Keep titles/header hierarchy intact; compact only tabular data. Landscape authority is untouched. */
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper :is(.table-wrap,.report-table-wrap,.cashbook-book-table-wrap){
    width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:visible!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper :is(.report-table,.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table){
    width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) th{
    min-width:0!important;max-width:none!important;padding:3px 3px!important;font-size:10px!important;line-height:1.15!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) td{
    min-width:0!important;max-width:none!important;padding:3px 3px!important;font-size:10px!important;line-height:1.2!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper :is(td.right,td.money-cell,th.right){white-space:nowrap!important;overflow-wrap:normal!important}
}


@media print{
  html,body{background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body.pdip-report-output-print .legacy-report-viewer,
  body.pdip-report-output-print .legacy-report-canvas{display:block!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important}
  body.pdip-report-output-print .legacy-report-paper{
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
    overflow:visible!important;
    box-shadow:none!important;
    transform:none!important;
    background:#fff!important;
    -webkit-print-color-adjust:exact!important;
    print-color-adjust:exact!important;
  }
  body.pdip-report-output-print .legacy-report-paper + .legacy-report-paper{margin-top:0!important}
  body.pdip-report-output-print .legacy-report-paper:last-child{break-after:auto!important;page-break-after:auto!important}
  body.pdip-report-output-print :is(.cashbook-book-paper,.ledger-book-paper,.fund-mutation-paper,.trial-balance-paper,.income-statement-paper,.consolidated-position-paper,.consolidated-income-paper,.cash-flow-paper,.fixed-asset-report-paper){width:100%!important;max-width:100%!important;min-width:0!important}

  /* Preserve the same left/right structure used by Preview, independent of chosen page orientation. */
  body.pdip-report-output-print .financial-position-columns{display:flex!important;flex-flow:row nowrap!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.pdip-report-output-print .financial-position-left,
  body.pdip-report-output-print .financial-position-right{flex:0 0 50%!important;width:50%!important;max-width:50%!important;min-width:0!important}

  /* Wide matrix/table reports remain one visual table; browser scales to selected page orientation. */
  body.pdip-report-output-print :is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table){width:100%!important;max-width:100%!important;min-width:0!important}
  body.pdip-report-output-print table{page-break-inside:auto!important}
  body.pdip-report-output-print thead{display:table-header-group!important}
  body.pdip-report-output-print tfoot{display:table-footer-group!important}
  body.pdip-report-output-print tr{page-break-inside:avoid!important}

  /* Page class communicates the user's explicit selection to all output CSS. */
  body.pdip-report-output-print.pdip-report-print-portrait .legacy-report-paper{font-size:inherit!important}
  body.pdip-report-output-print.pdip-report-print-landscape .legacy-report-paper{font-size:inherit!important}
}
.ui-1366-standard .cashbook-account-name{display:block;margin-top:4px;font-size:10px;line-height:1.2;color:#5f6670;font-weight:500}
@media print{body.pdip-report-output-print .cashbook-account-name{display:block!important;margin-top:3pt!important;font-size:7.5pt!important;color:#444!important}}

/* R104 — Desktop-clean visual authority.
   Purpose: keep the Blazor Server application visually close to a clean desktop accounting
   application without changing page logic, report formulas, database access, or print CSS. */
@media screen and (min-width:1100px){
  .ui-1366-standard{
    --r104-workspace:#f4f5f7;
    --r104-panel:#ffffff;
    --r104-panel-soft:#fafbfc;
    --r104-border:#dde2e7;
    --r104-border-strong:#cfd5dc;
    --r104-text:#242a31;
    --r104-muted:#69727d;
    --r104-shadow:0 2px 8px rgba(30,35,42,.035);
  }

  .ui-1366-standard .main-area,
  .ui-1366-standard .content{background:var(--r104-workspace)}

  .ui-1366-standard :is(.panel,.hero-card,.status-card,.menu-card,.shortcut-card,.voucher-sheet,.transaction-list-panel,.transaction-form-card,.master-form-card,.master-list-panel){
    border-color:var(--r104-border)!important;
    box-shadow:var(--r104-shadow)!important;
  }

  .ui-1366-standard :is(.panel,.transaction-list-panel,.transaction-form-card,.master-form-card,.master-list-panel){
    background:var(--r104-panel)!important;
  }

  .ui-1366-standard :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
    border-color:var(--r104-border-strong);
    background:#fff;
    color:var(--r104-text);
  }

  .ui-1366-standard :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{
    border-color:#aeb5bd!important;
    box-shadow:0 0 0 2px rgba(36,42,49,.055)!important;
    outline:0!important;
  }

  .ui-1366-standard :is(input,select,textarea):disabled,
  .ui-1366-standard :is(input,select,textarea)[readonly]{
    background:#f5f7f8!important;
    color:#626b76!important;
  }

  .ui-1366-standard :is(.master-table,.transaction-table,.report-table) thead th{
    background:#f6f7f9;
    color:#4b5561;
    border-color:var(--r104-border);
  }

  .ui-1366-standard :is(.master-table,.transaction-table,.report-table) tbody tr:hover{
    background:#fafbfc!important;
  }

  .ui-1366-standard :is(.menu-card,.shortcut-card){transition:border-color .12s ease,box-shadow .12s ease,background .12s ease}
  .ui-1366-standard :is(.menu-card,.shortcut-card):hover{
    transform:none!important;
    border-color:#cfd5dc!important;
    box-shadow:0 3px 10px rgba(30,35,42,.045)!important;
  }

  .ui-1366-standard .page-heading h1{color:var(--r104-text)}
  .ui-1366-standard :is(.page-heading p,.field-help,.table-subtext,.menu-copy small,.shortcut-card small){color:var(--r104-muted)}

  /* Report viewer remains a document workspace: neutral canvas + white paper. */
  .ui-1366-standard .legacy-report-viewer-toolbar{
    border-color:var(--r104-border)!important;
    background:#fff!important;
    box-shadow:var(--r104-shadow)!important;
  }
  .ui-1366-standard .legacy-report-canvas{
    background:#737980!important;
    border-color:#666c73!important;
  }
  .ui-1366-standard .legacy-report-paper{
    background:#fff!important;
    color:#111!important;
  }
}

/* R105 — Crystal-style isolated voucher and journal documents.
   Hidden in the Blazor workspace; copied into an isolated print frame by reports.js. */
.cb-print-document{display:none;box-sizing:border-box;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:10pt;line-height:1.25}
.cb-print-document *{box-sizing:border-box}
.cb-print-document .right{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.cb-voucher-print-document{width:297mm;min-height:210mm;padding:7mm}
.cb-journal-print-document{width:210mm;min-height:297mm;padding:7mm}
.cb-print-top{display:grid;grid-template-columns:minmax(0,1fr) 92mm;gap:16mm;align-items:end}
.cb-print-heading>strong,.cb-print-journal-head>strong{display:block;font-size:15pt;font-weight:800;margin:0 0 4mm}
.cb-print-heading h1{margin:0;font-size:15pt;line-height:1.1;font-weight:800}
.cb-print-meta{display:grid;grid-template-columns:30mm 1fr;gap:2mm 2mm;margin:0;font-size:10pt}
.cb-print-meta dt,.cb-print-meta dd{margin:0}.cb-print-meta dd{font-weight:500}
.cb-print-account-line{display:grid;grid-template-columns:30mm 4mm 1fr;gap:0;margin:13mm 0 2mm;font-size:10pt}
.cb-print-account-line strong{font-weight:700}
.cb-print-voucher-table,.cb-print-journal-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#000}
.cb-print-voucher-table thead th,.cb-print-journal-table thead th{padding:2mm 2.2mm 1.8mm;border-top:.35mm solid #111;border-bottom:1mm double #111;text-align:left;font-size:9.5pt;font-weight:800;white-space:nowrap}
.cb-print-voucher-table td,.cb-print-journal-table td{padding:2mm 2.2mm;vertical-align:top;font-size:9.3pt;border:0}
.cb-print-voucher-table th:nth-child(1),.cb-print-voucher-table td:nth-child(1){width:7%;text-align:center}
.cb-print-voucher-table th:nth-child(2),.cb-print-voucher-table td:nth-child(2){width:17%}
.cb-print-voucher-table th:nth-child(3),.cb-print-voucher-table td:nth-child(3){width:23%}
.cb-print-voucher-table th:nth-child(4),.cb-print-voucher-table td:nth-child(4){width:37%}
.cb-print-voucher-table th:nth-child(5),.cb-print-voucher-table td:nth-child(5){width:16%;text-align:right}
.cb-print-voucher-total{display:grid;grid-template-columns:minmax(0,1fr) 105mm;gap:12mm;margin-top:9mm;padding:3mm 2mm 0;border-top:.35mm solid #111;font-size:10pt}
.cb-print-voucher-total>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:4mm;align-items:start}
.cb-print-voucher-total>div:first-child span{padding-left:6mm;line-height:1.45}
.cb-print-voucher-total>div:last-child{display:grid;grid-template-columns:28mm 5mm 1fr;gap:0;align-items:start;font-size:11pt}
.cb-print-voucher-total>div:last-child b{text-align:right;font-size:11.5pt}
.cb-print-signatures{display:grid;gap:7mm;margin-top:14mm;text-align:center;break-inside:avoid;page-break-inside:avoid}
.cb-print-signatures-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.cb-print-signatures-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18mm;margin-top:8mm}
.cb-print-signatures>div{display:grid;grid-template-rows:auto 22mm auto;align-items:start;min-width:0}
.cb-print-signatures span{font-size:9.5pt}.cb-print-signatures i{align-self:end;display:block;width:84%;margin:0 auto;border-bottom:.35mm solid #111}
.cb-print-journal-head{display:grid;grid-template-columns:minmax(0,1fr) 76mm;gap:12mm;align-items:start;margin-bottom:8mm}
.cb-print-journal-head>div h1{margin:0 0 5mm;text-align:center;font-size:15pt;font-weight:800}
.cb-print-journal-head .cb-print-meta{grid-template-columns:27mm 1fr;font-size:9.5pt}
.cb-print-journal-table th:nth-child(1),.cb-print-journal-table td:nth-child(1){width:7%;text-align:center}
.cb-print-journal-table th:nth-child(2),.cb-print-journal-table td:nth-child(2){width:18%}
.cb-print-journal-table th:nth-child(3),.cb-print-journal-table td:nth-child(3){width:22%}
.cb-print-journal-table th:nth-child(4),.cb-print-journal-table td:nth-child(4){width:29%}
.cb-print-journal-table th:nth-child(5),.cb-print-journal-table td:nth-child(5),.cb-print-journal-table th:nth-child(6),.cb-print-journal-table td:nth-child(6){width:12%;text-align:right}
.cb-print-journal-table tfoot td{padding-top:3mm;padding-bottom:3mm;border-top:.35mm solid #111;border-bottom:.35mm solid #111;font-weight:800}
.cb-print-journal-table tfoot td:first-child{text-align:right;letter-spacing:.15em}
.pdip-isolated-document-print .cb-print-document{display:block!important}
.pdip-isolated-document-print .cb-voucher-print-document,.pdip-isolated-document-print .cb-journal-print-document{margin:0 auto!important;box-shadow:none!important}

/* R106 — Report option state + in-place PARTAI/BANPOL report hub. */
.ui-1366-standard .fund-shortcut-selector .legacy-report-choice-table tr.selected td{background:#fff5f6!important;font-weight:800!important}
.ui-1366-standard .fund-shortcut-selector .legacy-report-choice-table tr.selected td:first-child{color:#b60014!important;box-shadow:inset 3px 0 0 #cf0015!important}
.ui-1366-standard .fund-hub-filter-card{grid-column:2;margin:0!important;padding:0 12px 12px!important;border:1px solid #dce1e6!important;border-radius:9px!important;background:#fff!important;box-shadow:0 3px 10px rgba(28,31,36,.035)!important;overflow:hidden!important}
.ui-1366-standard .fund-hub-filter-card::before{content:'2  ATUR PARAMETER';display:block;margin:0 -12px 10px;padding:8px 10px;border-bottom:1px solid #e4e7eb;background:#f7f8fa;color:#4f5761;font-size:8px;font-weight:900;letter-spacing:.07em}
.ui-1366-standard .fund-hub-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;align-items:start}
.ui-1366-standard .fund-hub-filter-grid>label{display:grid;gap:5px;font-size:10px;font-weight:800;color:#3d4650}
.ui-1366-standard .fund-hub-filter-grid .fund-hub-wide{grid-column:1/-1}
.ui-1366-standard .fund-hub-filter-grid .report-fiscal-note{margin:0!important;min-height:48px}
.ui-1366-standard .fund-hub-filter-grid .cash-bank-range-row,
.ui-1366-standard .fund-hub-filter-grid .financial-position-range-row,
.ui-1366-standard .fund-hub-filter-grid .income-statement-range-row,
.ui-1366-standard .fund-hub-filter-grid .cash-flow-range-row{grid-column:1/-1}
.ui-1366-standard .fund-hub-filter-card .financial-position-check-grid,
.ui-1366-standard .fund-hub-filter-card .income-statement-check-grid{margin-top:0!important}

/* R109 — Professional report fit rules.
   Goal: preserve full report content on A4/Legal in Portrait/Landscape. If a wide report is
   forced into a narrower page, reduce document/table typography rather than clipping columns. */
:root{
  --r109-report-normal:7.5px;
  --r109-report-compact:6.8px;
  --r109-report-dense:5.9px;
  --r109-report-ultra:5.1px;
}

.ui-1366-standard .legacy-report-paper.report-fit-normal{--r109-body-font:var(--r109-report-normal);--r109-head-font:7px;--r109-pad-y:3px;--r109-pad-x:4px}
.ui-1366-standard .legacy-report-paper.report-fit-compact{--r109-body-font:var(--r109-report-compact);--r109-head-font:6.4px;--r109-pad-y:2.6px;--r109-pad-x:3.2px}
.ui-1366-standard .legacy-report-paper.report-fit-dense{--r109-body-font:var(--r109-report-dense);--r109-head-font:5.6px;--r109-pad-y:2.2px;--r109-pad-x:2.7px}
.ui-1366-standard .legacy-report-paper.report-fit-ultra{--r109-body-font:var(--r109-report-ultra);--r109-head-font:4.9px;--r109-pad-y:1.8px;--r109-pad-x:2.2px}

.ui-1366-standard .legacy-report-paper:is(.report-fit-normal,.report-fit-compact,.report-fit-dense,.report-fit-ultra)
:is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.financial-position-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.ui-1366-standard .legacy-report-paper:is(.report-fit-normal,.report-fit-compact,.report-fit-dense,.report-fit-ultra)
:is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.financial-position-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table) th{
  font-size:var(--r109-head-font)!important;
  line-height:1.08!important;
  padding:var(--r109-pad-y) var(--r109-pad-x)!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.ui-1366-standard .legacy-report-paper:is(.report-fit-normal,.report-fit-compact,.report-fit-dense,.report-fit-ultra)
:is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.financial-position-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table) td{
  font-size:var(--r109-body-font)!important;
  line-height:1.12!important;
  padding:var(--r109-pad-y) var(--r109-pad-x)!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.ui-1366-standard .legacy-report-paper:is(.report-fit-compact,.report-fit-dense,.report-fit-ultra) td.right,
.ui-1366-standard .legacy-report-paper:is(.report-fit-compact,.report-fit-dense,.report-fit-ultra) td.negative{
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}

/* Portrait is intentionally narrower. Keep the page dimension truthful, then compact typography. */
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper:not(.fixed-asset-report-paper):not(.consolidated-position-paper):not(.consolidated-income-paper){
    width:min(700px,calc(100% - 16px))!important;
    max-width:700px!important;
  }
  .ui-1366-standard .legacy-report-viewer.output-orientation-landscape .legacy-report-paper:not(.fixed-asset-report-paper){
    width:min(960px,calc(100% - 16px))!important;
    max-width:960px!important;
  }
  /* Legal/wide reports retain a wide preview canvas; output engine scales them to selected paper. */
  .ui-1366-standard .legacy-report-viewer.output-orientation-portrait :is(.consolidated-position-paper,.consolidated-income-paper,.fixed-asset-report-paper){
    width:900px!important;
    max-width:900px!important;
  }
}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.report-fit-normal{--r109-body-font:7pt;--r109-head-font:6.6pt;--r109-pad-y:2.4pt;--r109-pad-x:2.8pt}
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.report-fit-compact{--r109-body-font:6.2pt;--r109-head-font:5.9pt;--r109-pad-y:2pt;--r109-pad-x:2.4pt}
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.report-fit-dense{--r109-body-font:5.3pt;--r109-head-font:5.1pt;--r109-pad-y:1.7pt;--r109-pad-x:2pt}
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.report-fit-ultra{--r109-body-font:4.5pt;--r109-head-font:4.4pt;--r109-pad-y:1.4pt;--r109-pad-x:1.6pt}

  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper:is(.report-fit-normal,.report-fit-compact,.report-fit-dense,.report-fit-ultra)
  :is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.financial-position-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table) th{
    font-size:var(--r109-head-font)!important;
    line-height:1.05!important;
    padding:var(--r109-pad-y) var(--r109-pad-x)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper:is(.report-fit-normal,.report-fit-compact,.report-fit-dense,.report-fit-ultra)
  :is(.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.consolidated-position-table,.consolidated-income-table,.financial-position-table,.income-statement-table,.cash-flow-table,.fixed-asset-report-table,.report-table) td{
    font-size:var(--r109-body-font)!important;
    line-height:1.08!important;
    padding:var(--r109-pad-y) var(--r109-pad-x)!important;
  }

  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .legacy-report-paper.report-fit-dense,
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .legacy-report-paper.report-fit-ultra{
    padding-left:3.5mm!important;
    padding-right:3.5mm!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.report-fit-dense,
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.report-fit-ultra{
    padding-left:3mm!important;
    padding-right:3mm!important;
  }
}

/* Buku Kas / Buku Bank: portrait A4 explicit seven-column width budget after NOGIRO removal.
   Keterangan receives the widest share; numeric columns stay right-aligned and readable. */
@media screen and (min-width:1100px){
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th,
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td{white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(1),
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(1){width:5%!important}
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(2),
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(2){width:16%!important}
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(3),
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(3){width:15%!important}
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(4),
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(4){width:31%!important}
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(n+5),
  .ui-1366-standard .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(n+5){width:11%!important;text-align:right;white-space:nowrap!important}
}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th,
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td{white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(1),
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(1){width:5%!important}
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(2),
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(2){width:16%!important}
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(3),
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(3){width:15%!important}
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(4),
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(4){width:31%!important}
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table th:nth-child(n+5),
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-portrait .cashbook-book-paper.paper-portrait .cashbook-book-table td:nth-child(n+5){width:11%!important;text-align:right;white-space:nowrap!important}
}

/* R112 - Jurnal Memorial mengikuti standar transaksi: 5 baris terlihat, sisanya scroll internal. */
.ui-1366-standard .jm-journal-scroll-five{
  min-height:192px!important;
  height:192px!important;
  max-height:192px!important;
  overflow-x:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.ui-1366-standard .jm-journal-scroll-five .jm-journal-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f7f8fa;
}

/* R115 — A4-only report authority + monthly income matrix. */
.ui-1366-standard .income-monthly-detail-paper{width:min(1120px,calc(100% - 16px))!important;max-width:1120px!important;min-height:760px!important}
.ui-1366-standard .income-monthly-table-wrap{width:100%;overflow:hidden}
.ui-1366-standard .income-monthly-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif;font-size:5.2px;line-height:1.05}
.ui-1366-standard .income-monthly-table th,.ui-1366-standard .income-monthly-table td{padding:1.7px 2px;border-bottom:1px solid #d5d7da;vertical-align:top}
.ui-1366-standard .income-monthly-table th{font-size:4.9px;font-weight:800;text-align:center;border-top:1px solid #111;border-bottom:1px solid #111;white-space:normal}
.ui-1366-standard .income-monthly-table th:first-child,.ui-1366-standard .income-monthly-table td:first-child{width:31%;text-align:left}
.ui-1366-standard .income-monthly-table th:not(:first-child),.ui-1366-standard .income-monthly-table td:not(:first-child){width:5.75%;text-align:right;white-space:nowrap}
.ui-1366-standard .income-monthly-table .negative{color:#d00000}
.ui-1366-standard .income-monthly-section td:first-child,.ui-1366-standard .income-monthly-group-header td:first-child{font-weight:800;text-transform:uppercase}
.ui-1366-standard .income-monthly-type-total td,.ui-1366-standard .income-monthly-group-total td,.ui-1366-standard .income-monthly-grand td{font-weight:800;border-top:1px solid #888}
.ui-1366-standard .income-monthly-spacer td{height:6px;padding:0;border:0}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-detail-paper{width:100%!important;max-width:100%!important;min-height:0!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table{width:100%!important;table-layout:fixed!important;font-size:4.5pt!important;line-height:1.03!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table th,
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table td{padding:1pt 1.2pt!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table th{font-size:4.3pt!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table th:first-child,
  body:is(.pdip-report-output-print,.pdip-professional-print) .income-monthly-table td:first-child{width:31%!important}
}

/* R116 — Mutasi Kas/Bank: debit-kredit-saldo + professional A4 export. */
.cash-bank-movement-print{display:none;width:100%;box-sizing:border-box;padding:14mm 12mm 12mm;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif}
.cash-bank-movement-print-head{display:grid;grid-template-columns:1fr 1.15fr;gap:20mm;align-items:start;margin-bottom:10mm}
.cash-bank-movement-print-head>div{display:flex;flex-direction:column;gap:3px}
.cash-bank-movement-print-head>div:last-child{text-align:right;align-items:flex-end}
.cash-bank-movement-print-head strong{font-size:14pt}.cash-bank-movement-print-head h1{margin:0;font-size:15pt}.cash-bank-movement-print-head span{font-size:9pt}
.cash-bank-movement-print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8.5pt}
.cash-bank-movement-print-table th{padding:5px 4px;border-top:1px solid #111;border-bottom:1px solid #111;text-align:left;font-weight:700}
.cash-bank-movement-print-table td{padding:4px;border:0;vertical-align:top}
.cash-bank-movement-print-table th:nth-child(1),.cash-bank-movement-print-table td:nth-child(1){width:5%;text-align:center}
.cash-bank-movement-print-table th:nth-child(2),.cash-bank-movement-print-table td:nth-child(2){width:9%}
.cash-bank-movement-print-table th:nth-child(3),.cash-bank-movement-print-table td:nth-child(3){width:15%}
.cash-bank-movement-print-table th:nth-child(4),.cash-bank-movement-print-table td:nth-child(4){width:13%}
.cash-bank-movement-print-table th:nth-child(5),.cash-bank-movement-print-table td:nth-child(5){width:24%}
.cash-bank-movement-print-table th:nth-child(6),.cash-bank-movement-print-table td:nth-child(6),
.cash-bank-movement-print-table th:nth-child(7),.cash-bank-movement-print-table td:nth-child(7),
.cash-bank-movement-print-table th:nth-child(8),.cash-bank-movement-print-table td:nth-child(8){width:11.3%;text-align:right;white-space:nowrap}
.cash-bank-movement-print-table .movement-opening td{padding-top:7px;padding-bottom:7px;font-weight:700}
.cash-bank-movement-print-table tfoot td{padding-top:6px;padding-bottom:6px;border-top:1px solid #111;border-bottom:3px double #111;font-weight:800}
.movement-table th.right,.movement-table td.right{text-align:right;white-space:nowrap}
.movement-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1400px){.movement-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* R122 — Posisi Keuangan Tahun Ini: matrix Jan-Des seperti laporan legacy. */
.ui-1366-standard .financial-position-year-page{width:min(1120px,calc(100% - 16px))!important;max-width:1120px!important;min-height:720px!important}
.ui-1366-standard .financial-position-year-table-wrap{width:100%;overflow:hidden;border-top:1px solid #111;border-bottom:1px solid #111}
.ui-1366-standard .financial-position-year-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif;font-size:6px;line-height:1.08}
.ui-1366-standard .financial-position-year-table th,.ui-1366-standard .financial-position-year-table td{padding:2px 2.5px;border:0;vertical-align:top}
.ui-1366-standard .financial-position-year-table th{font-size:5.8px;font-weight:800;text-align:center;border-bottom:1px solid #111;white-space:nowrap}
.ui-1366-standard .financial-position-year-table th:first-child,.ui-1366-standard .financial-position-year-table td:first-child{width:25%;text-align:left}
.ui-1366-standard .financial-position-year-table th:not(:first-child),.ui-1366-standard .financial-position-year-table td:not(:first-child){width:6.25%;text-align:right;white-space:nowrap}
.ui-1366-standard .financial-position-year-table .negative{color:#d00000}
.ui-1366-standard .position-year-section td:first-child{padding-top:9px;font-weight:900;text-align:center}
.ui-1366-standard .position-year-subtitle td:first-child{padding-top:6px;font-weight:850}
.ui-1366-standard .position-year-total td{padding-top:4px;font-weight:850;border-top:1px solid #999}
.ui-1366-standard .position-year-grand td{padding-top:6px;padding-bottom:4px;font-weight:900;border-top:1px solid #111;border-bottom:3px double #111}
.ui-1366-standard .position-year-spacer td{height:9px;padding:0}
@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-page{width:100%!important;max-width:100%!important;min-height:0!important;break-after:page;page-break-after:always}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-page:last-child{break-after:auto;page-break-after:auto}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table{width:100%!important;table-layout:fixed!important;font-size:5.2pt!important;line-height:1.05!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th,
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table td{padding:1.3pt 1.5pt!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th{font-size:5pt!important}
}
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-viewer.output-orientation-landscape .financial-position-year-page{width:min(1120px,calc(100% - 16px))!important;max-width:1120px!important}
}

/* R129 accounting-period authority: active year + all unlocked months */
.period-authority-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}.period-authority-summary>div{border:1px solid var(--line);border-radius:9px;background:#fafbfc;padding:8px 10px}.period-authority-summary span,.period-authority-summary strong{display:block}.period-authority-summary span{font-size:8.5px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.03em}.period-authority-summary strong{font-size:11px;margin-top:3px}.period-status-legend{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 2px;font-size:8.5px;color:var(--muted);font-weight:800}.period-status-legend span{display:flex;align-items:center;gap:4px}.period-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.period-dot.locked{background:#b00020}.period-dot.active{background:#168a46}.period-dot.future{background:#9ca3ad}.period-dot.before{background:#d5d8dc}.period-card.active{background:#f0faf3;border-color:#9ed1ae;box-shadow:inset 0 0 0 1px #b9dfc7}.period-card.active strong{color:#13723b}.period-card.future{background:#f7f8fa;border-color:#e3e6ea}.period-card.future strong{color:#747b84}.period-card.before-system{background:#f5f5f5;border-color:#e4e4e4;opacity:.72}.period-card.before-system strong{color:#777}.period-card.attention{background:#fffaf0;border-color:#ead9b6}.period-card.attention strong{color:#8a6516}@media(max-width:760px){.period-authority-summary{grid-template-columns:1fr}}

/* R128 opening balance authority */
.opening-authority-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-left:4px solid #c60000}
.opening-authority-panel h2{margin:2px 0 4px;font-size:18px}.opening-authority-panel p{margin:0;color:var(--muted,#687385);font-size:12px}
.opening-authority-panel.locked{border-left-color:#b7791f;background:#fffaf0}.opening-authority-panel.editable{background:#f7fff9}
.opening-authority-meta{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;font-size:11px}.opening-authority-meta span{display:flex;flex-direction:column;gap:2px}.opening-authority-meta .status-pill{display:inline-flex;flex-direction:row}
@media(max-width:900px){.opening-authority-panel{align-items:flex-start;flex-direction:column}.opening-authority-meta{justify-content:flex-start}}


/* R129.7 — journal range, account-card layout, yearly position readability. */
.ui-1366-standard .journal-daily-filters{grid-template-columns:minmax(210px,1.25fr) 145px 145px minmax(220px,1fr) 130px;align-items:end}
.ui-1366-standard .journal-daily-filters button{width:100%;margin:0}
.ui-1366-standard .ledger-account-card-filters{padding:10px 13px;background:#fafafa;border-bottom:1px solid var(--line);display:grid;gap:8px}
.ui-1366-standard .ledger-account-card-main{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(420px,1.6fr);gap:8px}
.ui-1366-standard .ledger-account-card-period{display:grid;grid-template-columns:200px 200px 150px;gap:8px;align-items:end}
.ui-1366-standard .ledger-account-card-filters label{display:grid;gap:4px;font-size:9px;font-weight:800;color:#4c535d}
.ui-1366-standard .ledger-account-card-filters select,.ui-1366-standard .ledger-account-card-filters input{width:100%;height:31px;min-height:31px;border:1px solid #cfd5db;border-radius:7px;background:#fff;padding:4px 8px;font-size:10px}
.ui-1366-standard .ledger-account-card-period button{height:31px;min-height:31px;margin:0}
.ui-1366-standard .financial-position-year-table{font-size:5px!important;line-height:1.02!important;font-variant-numeric:tabular-nums}
.ui-1366-standard .financial-position-year-table th,.ui-1366-standard .financial-position-year-table td{padding:1.2px 1.2px!important;letter-spacing:-.08px}
.ui-1366-standard .financial-position-year-table th{font-size:4.7px!important}
.ui-1366-standard .financial-position-year-table th:first-child,.ui-1366-standard .financial-position-year-table td:first-child{width:27%!important}
.ui-1366-standard .financial-position-year-table th:not(:first-child),.ui-1366-standard .financial-position-year-table td:not(:first-child){width:6.0833%!important}
@media(max-width:1100px){
  .ui-1366-standard .journal-daily-filters{grid-template-columns:1fr 1fr}
  .ui-1366-standard .journal-daily-filters label:first-child,.ui-1366-standard .journal-daily-filters label:nth-child(4),.ui-1366-standard .journal-daily-filters button{grid-column:1/-1}
  .ui-1366-standard .ledger-account-card-main{grid-template-columns:1fr}
  .ui-1366-standard .ledger-account-card-period{grid-template-columns:1fr 1fr}
  .ui-1366-standard .ledger-account-card-period button{grid-column:1/-1}
}
@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table{font-size:4.7pt!important;line-height:1.02!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th{font-size:4.5pt!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th,
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table td{padding:1pt 1.1pt!important}
}

/* R129.8 — journal inquiry standard + yearly matrix hard fit + transaction save confirmation. */
.financial-position-year-table-wrap{width:100%;overflow:hidden;border-top:1px solid #111;border-bottom:1px solid #111}
.financial-position-year-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;font-family:Arial,Helvetica,sans-serif!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
.financial-position-year-table th,.financial-position-year-table td{border:0!important;vertical-align:top!important;padding:1px .6px!important}
.financial-position-year-table th{font-size:4.6px!important;font-weight:800!important;text-align:center!important;white-space:nowrap!important;border-bottom:1px solid #111!important;letter-spacing:-.12px!important}
.financial-position-year-table th:first-child,.financial-position-year-table td:first-child{width:29%!important;text-align:left!important;font-size:6.6px!important;line-height:1.03!important;white-space:normal!important;overflow-wrap:break-word!important;letter-spacing:-.08px!important}
.financial-position-year-table th:not(:first-child),.financial-position-year-table td:not(:first-child){width:5.9167%!important;text-align:right!important;white-space:nowrap!important;font-size:4.8px!important;line-height:1!important;letter-spacing:-.16px!important;overflow:visible!important}
.financial-position-year-table .negative{color:#d00000!important}
.financial-position-year-table .position-year-section td:first-child{padding-top:6px!important;font-weight:900!important;text-align:center!important}
.financial-position-year-table .position-year-subtitle td:first-child{padding-top:4px!important;font-weight:850!important}
.financial-position-year-table .position-year-total td{padding-top:2px!important;font-weight:850!important;border-top:1px solid #999!important}
.financial-position-year-table .position-year-grand td{padding-top:3px!important;padding-bottom:2px!important;font-weight:900!important;border-top:1px solid #111!important;border-bottom:3px double #111!important}
.financial-position-year-table .position-year-spacer td{height:5px!important;padding:0!important}

.ui-1366-standard .journal-daily-filters-r1298{display:grid!important;grid-template-columns:minmax(190px,1.15fr) 105px 128px 128px minmax(330px,1.7fr)!important;gap:8px!important;align-items:end!important}
.ui-1366-standard .journal-daily-filters-r1298 label{min-width:0!important}
.ui-1366-standard .journal-search-inline>span{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;align-items:center}
.ui-1366-standard .journal-search-inline button{width:76px!important;height:31px!important;min-height:31px!important;margin:0!important;padding:0 10px!important}
.ui-1366-standard .journal-daily-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
.ui-1366-standard .journal-daily-table-wrap{overflow:auto;max-height:510px}
.ui-1366-standard .journal-daily-table{min-width:1280px;font-size:9px}
.ui-1366-standard .journal-daily-table th{font-size:8.5px;white-space:nowrap}
.ui-1366-standard .journal-daily-table td{vertical-align:top}
.ui-1366-standard .journal-daily-table .journal-counterpart{min-width:210px;max-width:280px;white-space:normal;line-height:1.2}

.ui-1366-standard .ledger-account-card-main-r1298{grid-template-columns:minmax(230px,.9fr) 120px minmax(380px,1.6fr)!important}
.ui-1366-standard .ledger-voucher-search-r1298{grid-template-columns:minmax(230px,1fr) 120px minmax(320px,1.45fr) 130px;align-items:end}
.ui-1366-standard .ledger-voucher-search-r1298 .span-2{grid-column:auto!important}
.ui-1366-standard .ledger-account-card-table{min-width:1120px}
.ui-1366-standard .ledger-account-card-table .journal-counterpart{min-width:240px;max-width:320px;white-space:normal;line-height:1.2}

.transaction-print-check{display:inline-flex!important;align-items:center!important;gap:6px!important;font-weight:800!important;font-size:11px!important;white-space:nowrap}
.transaction-print-check input{width:16px!important;height:16px!important;margin:0!important}
.jm-voucher-print-document,.fa-movement-voucher-print{display:none;width:190mm;min-height:130mm;padding:12mm;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif}
.fa-movement-voucher-print .cb-print-journal-table th{width:34%;text-align:left}

@media(max-width:1100px){
  .ui-1366-standard .journal-daily-filters-r1298{grid-template-columns:1fr 1fr!important}
  .ui-1366-standard .journal-daily-filters-r1298 .journal-search-inline{grid-column:1/-1!important}
  .ui-1366-standard .ledger-account-card-main-r1298{grid-template-columns:1fr!important}
  .ui-1366-standard .ledger-voucher-search-r1298{grid-template-columns:1fr 1fr!important}
  .ui-1366-standard .ledger-voucher-search-r1298 label:nth-child(3),.ui-1366-standard .ledger-voucher-search-r1298 button{grid-column:1/-1!important}
}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th:first-child,
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table td:first-child{font-size:5.4pt!important;width:29%!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th:not(:first-child),
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table td:not(:first-child){font-size:4.2pt!important;width:5.9167%!important;letter-spacing:-.12pt!important;white-space:nowrap!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th{font-size:3.9pt!important}
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table th,
  body:is(.pdip-report-output-print,.pdip-professional-print) .financial-position-year-table td{padding:.7pt .45pt!important}
}
.depreciation-voucher-print{display:none;width:277mm;min-height:130mm;padding:12mm;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif}

/* R129.9 — account search fund filter + posting-safe picker */
.cb-account-search-with-fund{grid-template-columns:150px minmax(0,1fr) auto!important;gap:9px!important;align-items:end!important}
.cb-account-fund-filter{display:grid;gap:3px;font-size:8.5px;font-weight:850;color:#626b76;text-transform:uppercase;letter-spacing:.03em}
.cb-account-fund-filter select{height:39px;min-height:39px;border:1px solid #dce0e5;border-radius:8px;background:#fff;padding:0 9px;font-size:10px;color:#252a30}
.cb-account-search-input{position:relative;display:flex;align-items:center;min-width:0}
.cb-account-search-input input{width:100%!important;padding-right:32px!important}
.cb-account-search-input>span{position:absolute;right:10px;z-index:1;color:#777f88;pointer-events:none}
.cb-account-option.fund-incompatible,.cb-account-picker-table tr.fund-incompatible{opacity:.48;background:#f5f6f7!important;cursor:not-allowed}
.cb-account-option.fund-incompatible:hover,.cb-account-picker-table tr.fund-incompatible:hover{background:#f5f6f7!important}
.cb-picker-loading{text-align:center;padding:18px!important;color:#6f7882;font-size:10px;font-weight:750}
.account-master-search{display:grid!important;grid-template-columns:120px minmax(220px,1fr) auto!important;gap:7px!important;align-items:center!important}
.account-master-search select{height:36px;border:1px solid #dce0e5;border-radius:8px;background:#fff;padding:0 9px;font-size:10px;font-weight:800}

/* Cash/Bank picker R49 had a one-line legacy override; R129.9 needs fund + search. */
.cb-modal-search-r49.cb-account-search-with-fund{margin:0 14px 8px!important;height:auto!important;min-height:42px!important;display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;position:relative!important;padding:4px 0!important;background:#fff!important;border-bottom:0!important}
.cb-modal-search-r49.cb-account-search-with-fund .cb-account-fund-filter select{height:30px!important;min-height:30px!important;font-size:10px!important}
.cb-modal-search-r49.cb-account-search-with-fund .cb-account-search-input input{height:30px!important;min-height:30px!important;padding:0 34px 0 9px!important;font-size:11px!important;width:100%!important}
.cb-modal-search-r49.cb-account-search-with-fund>span{position:static!important}
.cb-modal-search-r49.cb-account-search-with-fund .cb-account-search-input>span{position:absolute!important;right:10px!important;font-size:12px!important}

@media(max-width:800px){
  .cb-account-search-with-fund{grid-template-columns:1fr!important;align-items:stretch!important}
  .cb-modal-search-r49.cb-account-search-with-fund{grid-template-columns:1fr!important}
  .account-master-search{grid-template-columns:1fr!important;width:100%!important}
}
.cashbank-master-search-r1299{display:grid!important;grid-template-columns:minmax(160px,1fr) 110px minmax(220px,1fr) auto!important;gap:7px!important;align-items:center!important}
.cashbank-master-search-r1299 select{height:36px;border:1px solid #dce0e5;border-radius:8px;background:#fff;padding:0 8px;font-size:10px}
@media(max-width:800px){.cashbank-master-search-r1299{grid-template-columns:1fr!important;width:100%!important}}


/* R129.15.4 - shared Excel export for printable data-table pages. */
.page-data-export-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 8px;padding:6px 8px;border:1px solid #e3e5e8;border-radius:8px;background:#fff}
.page-data-export-toolbar>span{font-size:10px;font-weight:800;color:#73777f;text-transform:uppercase;letter-spacing:.04em}
.page-data-export-toolbar>small{font-size:10px;color:#8a1f1f}

/* R129.15.8 — compact dashboard penerimaan/pengeluaran summary */
.dashboard-financial-summary{padding:14px 16px;border-radius:13px;margin-bottom:14px}.dashboard-financial-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-financial-summary-group{border:1px solid #eceef1;border-radius:10px;padding:10px 12px;background:#fff}.dashboard-financial-summary-group h3{font-size:10px;margin:0 0 6px;color:#5a6068;text-transform:uppercase;letter-spacing:.03em}.dashboard-financial-summary-group>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;border-top:1px solid #f2f3f4}.dashboard-financial-summary-group span{font-size:9px;color:#555c65}.dashboard-financial-summary-group strong{font-size:10px;white-space:nowrap}.ui-1366-standard .dashboard-financial-summary{padding:9px 10px;border-radius:9px;margin-bottom:8px}.ui-1366-standard .dashboard-financial-summary-grid{gap:8px}.ui-1366-standard .dashboard-financial-summary-group{padding:6px 8px;border-radius:7px}.ui-1366-standard .dashboard-financial-summary-group h3{font-size:7.5px;margin-bottom:3px}.ui-1366-standard .dashboard-financial-summary-group>div{padding:3px 0}.ui-1366-standard .dashboard-financial-summary-group span{font-size:7.5px}.ui-1366-standard .dashboard-financial-summary-group strong{font-size:8px}@media(max-width:800px){.dashboard-financial-summary-grid{grid-template-columns:1fr}}

/* R129.15.9 — Dashboard calm/compact 1366x768 + four Opening Balance report choices. */
.dashboard-modern-heading{align-items:center;margin-bottom:12px;padding:0 2px}.dashboard-modern-heading h1{font-size:28px;margin:2px 0 3px}.dashboard-modern-heading p{font-size:11px;line-height:1.35}.dashboard-unit-caption{display:block;margin-top:3px;color:#8a9099;font-size:9px;font-weight:700}.dashboard-period-card{min-width:184px;height:54px;border-color:#e7e9ec;border-radius:11px;box-shadow:0 3px 12px rgba(25,28,33,.025);background:#fff}.dashboard-period-card em{display:block;margin-top:1px;color:#8a9099;font-size:8px;font-style:normal}.dashboard-period-icon{width:34px;height:34px;border-radius:9px;font-size:14px}
.dashboard-kpi-grid{gap:10px;margin-bottom:10px}.dashboard-kpi-card{min-height:84px;padding:11px 12px;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;border-color:#e8eaed;border-radius:11px;box-shadow:0 3px 13px rgba(25,28,33,.025)}.dashboard-kpi-icon{width:40px;height:40px;border-radius:10px;border-color:#f3dfe2;background:#fff7f7;font-size:11px}.dashboard-kpi-copy span{font-size:9px;color:#5f6670}.dashboard-kpi-copy strong{font-size:16px;margin:2px 0 3px;letter-spacing:-.015em}.dashboard-kpi-copy small{font-size:8px;line-height:1.3}.dashboard-kpi-trend,.dashboard-kpi-link{font-size:8px;padding:3px 6px;border-radius:999px;background:#f7f8f9}.dashboard-kpi-trend.up{color:#247448}.dashboard-kpi-trend.down{color:#a92b38}.dashboard-kpi-link{color:#9d1425;background:#fff5f6}
.dashboard-financial-summary{padding:11px 12px;margin-bottom:10px;border:1px solid #e8eaed;background:#fbfcfd;box-shadow:none}.dashboard-panel-head{margin-bottom:7px}.dashboard-panel-head h2{font-size:13px;letter-spacing:-.01em}.dashboard-panel-head small{font-size:8px}.dashboard-filter-pill{background:#fff;border-color:#e3e6e9;color:#636a73;padding:5px 8px}.dashboard-financial-summary-grid{gap:10px}.dashboard-financial-summary-group{padding:8px 10px;border-color:#e7e9ec;background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.018)}.dashboard-financial-summary-group h3{font-size:9px;margin-bottom:4px;color:#555d67}.dashboard-financial-summary-group>div{position:relative;padding:4px 0 4px 9px;border-top:1px solid #f0f2f4}.dashboard-financial-summary-group>div:before{content:"";position:absolute;left:0;top:50%;width:3px;height:11px;border-radius:3px;transform:translateY(-50%);background:#d5d9de}.dashboard-financial-summary-group>div.income:before{background:#9fd3b3}.dashboard-financial-summary-group>div.expense:before{background:#e9b1b7}.dashboard-financial-summary-group span{font-size:8.5px}.dashboard-financial-summary-group strong{font-size:9.5px;color:#22272d;font-variant-numeric:tabular-nums}
.dashboard-insight-grid,.dashboard-bottom-grid{gap:10px;margin-bottom:10px}.dashboard-chart-panel,.dashboard-fund-panel,.dashboard-transactions-panel,.dashboard-reminder-panel{padding:12px;border-color:#e8eaed;border-radius:11px;box-shadow:0 3px 12px rgba(25,28,33,.02)}.dashboard-bar-chart{height:138px;padding-top:8px;gap:5px;border-top-color:#eef0f2}.dashboard-chart-legend{margin-bottom:5px;font-size:8px}.dashboard-fund-body{grid-template-columns:124px minmax(0,1fr);gap:14px;min-height:146px}.dashboard-donut{width:116px;height:116px}.dashboard-donut>div{width:70px;height:70px}.dashboard-fund-legend{gap:9px}.dashboard-fund-legend strong{font-size:9px}.dashboard-fund-legend small{font-size:8px}.dashboard-fund-total{padding-top:7px}
.dashboard-recent-table th,.dashboard-recent-table td{padding:6px 8px;font-size:8.5px}.dashboard-recent-table th{font-size:7.5px;color:#6f7680}.dashboard-recent-table-wrap{border-color:#eceef1}.dashboard-type-pill{font-size:7px;padding:2px 6px}.dashboard-reminder-list>div{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:8px 0}.dashboard-reminder-icon{width:30px;height:30px;border-radius:8px}.dashboard-reminder-list strong{font-size:9px}.dashboard-reminder-list small{font-size:7.5px}.dashboard-reminder-list a{font-size:7.5px;padding:5px 7px;border-color:#efc3c8;background:#fff}
.opening-balance-report-description{display:grid;gap:2px;margin-top:8px;padding:8px 10px;border:1px solid #e6e9ec;border-radius:8px;background:#fafbfc}.opening-balance-report-description strong{font-size:10px;color:#2c3138}.opening-balance-report-description span{font-size:8.5px;line-height:1.4;color:#6e7680}.opening-balance-parameter-grid{grid-template-columns:minmax(260px,1.5fr) minmax(150px,.7fr) minmax(190px,.9fr)!important}.opening-balance-choice-table td:nth-child(2){font-weight:700}

@media (min-width:801px){
  .ui-1366-standard .dashboard-modern-heading{min-height:38px;margin-bottom:6px}.ui-1366-standard .dashboard-modern-heading h1{font-size:22px!important;margin:0 0 1px}.ui-1366-standard .dashboard-modern-heading p{font-size:9px}.ui-1366-standard .dashboard-unit-caption{font-size:8px;margin-top:1px}.ui-1366-standard .dashboard-period-card{min-width:154px;height:42px;padding:5px 8px;gap:7px;border-radius:8px}.ui-1366-standard .dashboard-period-icon{width:28px;height:28px;border-radius:7px;font-size:11px}.ui-1366-standard .dashboard-period-card small{font-size:8px}.ui-1366-standard .dashboard-period-card strong{font-size:10px;margin-top:0}.ui-1366-standard .dashboard-period-card em{font-size:7.5px}
  .ui-1366-standard .dashboard-kpi-grid{gap:6px;margin-bottom:6px}.ui-1366-standard .dashboard-kpi-card{min-height:58px!important;padding:6px 7px!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:6px!important;border-radius:8px}.ui-1366-standard .dashboard-kpi-icon{width:28px!important;height:28px!important;border-radius:7px!important;font-size:8px!important}.ui-1366-standard .dashboard-kpi-copy span{font-size:8px!important}.ui-1366-standard .dashboard-kpi-copy strong{font-size:13px!important;margin:1px 0!important}.ui-1366-standard .dashboard-kpi-copy small{font-size:7.5px!important}.ui-1366-standard .dashboard-kpi-trend,.ui-1366-standard .dashboard-kpi-link{font-size:7.5px!important;padding:2px 4px}
  .ui-1366-standard .dashboard-financial-summary{padding:7px 8px!important;margin-bottom:6px!important;border-radius:8px!important}.ui-1366-standard .dashboard-panel-head{margin-bottom:4px}.ui-1366-standard .dashboard-panel-head h2{font-size:11px!important}.ui-1366-standard .dashboard-panel-head small{font-size:7.5px!important;margin-top:1px}.ui-1366-standard .dashboard-filter-pill{font-size:7.5px!important;padding:3px 5px;border-radius:6px}.ui-1366-standard .dashboard-financial-summary-grid{gap:6px!important}.ui-1366-standard .dashboard-financial-summary-group{padding:4px 6px!important;border-radius:6px!important}.ui-1366-standard .dashboard-financial-summary-group h3{font-size:8px!important;margin-bottom:2px!important}.ui-1366-standard .dashboard-financial-summary-group>div{padding:2px 0 2px 7px!important}.ui-1366-standard .dashboard-financial-summary-group>div:before{height:8px;width:2px}.ui-1366-standard .dashboard-financial-summary-group span{font-size:8px!important}.ui-1366-standard .dashboard-financial-summary-group strong{font-size:9px!important}
  .ui-1366-standard .dashboard-insight-grid,.ui-1366-standard .dashboard-bottom-grid{gap:6px!important;margin-bottom:6px!important}.ui-1366-standard .dashboard-chart-panel,.ui-1366-standard .dashboard-fund-panel,.ui-1366-standard .dashboard-transactions-panel,.ui-1366-standard .dashboard-reminder-panel{padding:7px!important;border-radius:8px!important}.ui-1366-standard .dashboard-bar-chart{height:102px!important;padding-top:5px!important;gap:4px}.ui-1366-standard .dashboard-bar-column{grid-template-rows:minmax(0,1fr) 13px}.ui-1366-standard .dashboard-bar-column small{font-size:7px}.ui-1366-standard .dashboard-chart-legend{font-size:7.5px;margin-bottom:3px;gap:10px}.ui-1366-standard .dashboard-fund-body{grid-template-columns:92px minmax(0,1fr)!important;gap:9px!important;min-height:108px!important}.ui-1366-standard .dashboard-donut{width:86px;height:86px}.ui-1366-standard .dashboard-donut>div{width:52px;height:52px}.ui-1366-standard .dashboard-donut small{font-size:7px}.ui-1366-standard .dashboard-donut strong{font-size:8.5px}.ui-1366-standard .dashboard-fund-legend{gap:5px}.ui-1366-standard .dashboard-fund-legend strong{font-size:8px}.ui-1366-standard .dashboard-fund-legend small{font-size:7px}.ui-1366-standard .dashboard-fund-total{padding-top:4px}.ui-1366-standard .dashboard-fund-total span{font-size:7px}.ui-1366-standard .dashboard-fund-total strong{font-size:8px}
  .ui-1366-standard .dashboard-recent-table th,.ui-1366-standard .dashboard-recent-table td{padding:4px 5px!important;font-size:8px!important}.ui-1366-standard .dashboard-recent-table th{font-size:7px!important}.ui-1366-standard .dashboard-type-pill{font-size:7px!important;padding:2px 4px}.ui-1366-standard .dashboard-reminder-list>div{grid-template-columns:25px minmax(0,1fr) auto;gap:5px;padding:5px 0}.ui-1366-standard .dashboard-reminder-icon{width:25px;height:25px;border-radius:6px;font-size:8px}.ui-1366-standard .dashboard-reminder-list strong{font-size:8px}.ui-1366-standard .dashboard-reminder-list small{font-size:7px;margin-top:1px}.ui-1366-standard .dashboard-reminder-list a{font-size:7px;padding:3px 5px;border-radius:5px}
  .ui-1366-standard .opening-balance-parameter-grid{grid-template-columns:minmax(250px,1.35fr) minmax(145px,.7fr) minmax(185px,.9fr)!important}.ui-1366-standard .opening-balance-report-description{margin-top:5px;padding:5px 7px}.ui-1366-standard .opening-balance-report-description strong{font-size:9px}.ui-1366-standard .opening-balance-report-description span{font-size:8px}.ui-1366-standard .opening-balance-choice-table td{height:30px!important;padding:5px 8px!important}
}

@media(max-width:800px){.opening-balance-parameter-grid{grid-template-columns:1fr!important}.dashboard-unit-caption{font-size:8px}}

/* Opening Balance report parameters follow the same compact rhythm as the
   Financial Position report without changing any report bindings. */
@media screen and (min-width:1100px){
  .ui-1366-standard .opening-balance-report-filter .opening-balance-parameter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px 12px!important;
    align-items:end!important;
  }
  .ui-1366-standard .opening-balance-report-filter .opening-balance-parameter-grid>label{
    display:grid!important;
    grid-template-columns:122px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  .ui-1366-standard .opening-balance-report-filter .opening-balance-parameter-grid>label input,
  .ui-1366-standard .opening-balance-report-filter .opening-balance-parameter-grid>label select{
    width:100%!important;
  }
  .ui-1366-standard .opening-balance-report-filter .opening-balance-position-check-grid{
    grid-column:1/-1!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px 12px!important;
    margin-top:1px!important;
  }
  .ui-1366-standard .opening-balance-report-filter .opening-balance-position-check-grid label{
    grid-template-columns:minmax(0,1fr) 18px!important;
    white-space:nowrap!important;
  }
}

/* R129.15.14 — A4 Portrait printable-width authority shared by Preview, Printer and PDF clone.
   Landscape pages are intentionally excluded. */
.legacy-report-paper.paper-portrait :is(.table-wrap,.report-table-wrap,.cashbook-book-table-wrap){width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:visible!important}
.legacy-report-paper.paper-portrait :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table){width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
.legacy-report-paper.paper-portrait :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) th{min-width:0!important;max-width:none!important;padding:2.5pt 3pt!important;font-size:7.5pt!important;line-height:1.15!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) td{min-width:0!important;max-width:none!important;padding:2.5pt 3pt!important;font-size:7.5pt!important;line-height:1.2!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait :is(td.right,td.money-cell,th.right){white-space:nowrap!important;overflow-wrap:normal!important}
.legacy-report-paper.paper-portrait .cashbook-book-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
.legacy-report-paper.paper-portrait .cashbook-book-table th{font-size:8.5pt!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait .cashbook-book-table td{font-size:9pt!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait .cashbook-book-table td.right{white-space:nowrap!important}

/* R129.15.14 FINAL — Portrait column budgets. These selectors intentionally live
   after legacy pixel widths so Preview, Printer and PDF clone share one A4 portrait authority. */
.legacy-report-paper.paper-portrait :is(.report-table,.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table),
.legacy-report-paper.paper-portrait :is(.report-table,.cashbook-book-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) :is(th,td){box-sizing:border-box!important}
.legacy-report-paper.paper-portrait :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.financial-position-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) :is(th,td){width:auto!important}
.legacy-report-paper.paper-portrait :is(.report-table,.ledger-book-table,.fund-mutation-table,.trial-balance-table,.income-statement-table,.cash-flow-table,.net-asset-changes-table) :is(td.right,td.money-cell,th.right){font-size:7pt!important;padding-left:2pt!important;padding-right:2pt!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.08pt!important}

/* Buku Besar — 10 columns, total budget = 100%. */
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(1){width:4%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(2){width:10%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(3){width:13%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(4){width:7%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(5){width:11%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(6){width:9%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(7){width:16%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(8),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(9),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(10){width:10%!important}

/* Mutasi Sumber Dana — 7 columns, description receives the flexible budget. */
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(1){width:5%!important}
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(2){width:15%!important}
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(3){width:12%!important}
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(4){width:29%!important}
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(5),
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(6),
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td):nth-child(7){width:13%!important}

/* Neraca Saldo — 7 columns. */
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(1){width:5%!important}
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(2){width:12%!important}
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(3){width:23%!important}
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(4),
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(5),
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(6),
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td):nth-child(7){width:15%!important}

/* Buku Kas/Buku Bank — readable portrait data after NOGIRO removal. */
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td){padding-left:2.2pt!important;padding-right:2.2pt!important}
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(1){width:5%!important}
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(2){width:15%!important}
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(3){width:15%!important}
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(4){width:32%!important}
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(5),
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(6),
.legacy-report-paper.paper-portrait .cashbook-book-table :is(th,td):nth-child(7){width:11%!important;font-size:8pt!important;letter-spacing:-.08pt!important}
.legacy-report-paper.paper-portrait .cashbook-book-table th{font-size:8pt!important}
.legacy-report-paper.paper-portrait .cashbook-book-table td{font-size:8.6pt!important;line-height:1.18!important}

/* Generic portrait table numeric cells may be numerous. Keep values one line without
   allowing legacy content width to expand the table past the A4 print box. */
.legacy-report-paper.paper-portrait .report-table :is(td.right,td.money-cell){font-size:6.9pt!important;padding-left:1.5pt!important;padding-right:1.5pt!important;letter-spacing:-.12pt!important}

/* Portrait generic/export tables (including Opening Balance variants) have no legacy
   report-table class. Constrain them here without affecting Landscape pages. */
.legacy-report-paper.paper-portrait table.report-export-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;box-sizing:border-box!important}
.legacy-report-paper.paper-portrait table.report-export-table :is(th,td){box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:auto!important;padding-left:2pt!important;padding-right:2pt!important;font-size:7.4pt!important;line-height:1.17!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait table.report-export-table :is(td.right,td.money-cell,th.right){text-align:right!important;white-space:nowrap!important;font-size:7pt!important;padding-left:1.5pt!important;padding-right:1.5pt!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.1pt!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td){padding-left:1.5pt!important;padding-right:1.5pt!important}
.legacy-report-paper.paper-portrait .ledger-book-table th{font-size:7pt!important}
.legacy-report-paper.paper-portrait .fund-mutation-table :is(th,td),
.legacy-report-paper.paper-portrait .trial-balance-table :is(th,td){padding-left:2pt!important;padding-right:2pt!important}
.legacy-report-paper.paper-portrait .fund-mutation-table th,
.legacy-report-paper.paper-portrait .trial-balance-table th{font-size:7.2pt!important}

/* Numeric one-line fit must win after the generic report-export-table rule. */
.legacy-report-paper.paper-portrait .ledger-book-table td:nth-child(8),
.legacy-report-paper.paper-portrait .ledger-book-table td:nth-child(9),
.legacy-report-paper.paper-portrait .ledger-book-table td:nth-child(10){font-size:6.5pt!important;padding-left:1pt!important;padding-right:1pt!important;letter-spacing:-.14pt!important;white-space:nowrap!important}
.legacy-report-paper.paper-portrait .cashbook-book-table th:nth-child(5),
.legacy-report-paper.paper-portrait .cashbook-book-table th:nth-child(6),
.legacy-report-paper.paper-portrait .cashbook-book-table th:nth-child(7){white-space:normal!important;font-size:7.4pt!important;letter-spacing:0!important}
.legacy-report-paper.paper-portrait .cashbook-book-table td:nth-child(5),
.legacy-report-paper.paper-portrait .cashbook-book-table td:nth-child(6),
.legacy-report-paper.paper-portrait .cashbook-book-table td:nth-child(7){font-size:7pt!important;padding-left:1pt!important;padding-right:1pt!important;letter-spacing:-.12pt!important;white-space:nowrap!important}

/* Ledger final proportional rebalance: preserve readable numeric values without overflow. */
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(1){width:4%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(2){width:9%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(3){width:11%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(4){width:6%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(5){width:10%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(6){width:8%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(7){width:16%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(8),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(9),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(10){width:12%!important}

/* R129.15.15 — Report correction authority.
   Preview is also the Printer/PDF tree; keep all sizing here so output paths stay identical. */
.legacy-report-paper,
.legacy-report-paper :is(table,thead,tbody,tfoot,tr,th,td,div,span,strong,em,p,h1,h2,h3,h4){
  font-family:Arial,Helvetica,sans-serif!important;
}

/* Shared report typography tokens: internal detail remains one size per renderer;
   hierarchy is expressed by weight/title roles, not unrelated font families. */
.legacy-report-paper{--report-detail-size:7.5pt;--report-header-size:7.5pt;--report-group-size:7.8pt;--report-total-size:7.8pt}
.legacy-report-paper :is(.report-detail-row,.report-detail){font-size:var(--report-detail-size)!important}
.legacy-report-paper :is(.report-table,.report-export-table) th{font-size:var(--report-header-size)!important;font-weight:800}
.legacy-report-paper :is(.report-group-row,.ledger-book-group-row,.net-asset-type-row){font-size:var(--report-group-size)!important;font-weight:800}
.legacy-report-paper :is(.report-subtotal,.report-grand-total,.ledger-book-group-total,.net-asset-type-total,.net-asset-grand-total){font-size:var(--report-total-size)!important;font-weight:800}

/* Buku Besar grouping shares the same 10-column print tree. */
.ledger-book-group-row td{padding-top:4pt!important;padding-bottom:2.5pt!important;border-top:.6pt solid #777!important;background:#fff!important;white-space:normal!important}
.ledger-book-group-total td{padding-top:2.5pt!important;padding-bottom:3pt!important;border-top:.5pt solid #999!important;border-bottom:.8pt solid #333!important}

/* Laporan Penghasilan Portrait — 3-column authority. Legacy 4-column grid was wider
   than printable A4 because the unused third track still consumed space. */
.legacy-report-paper.paper-portrait .income-statement-body{min-width:0!important;max-width:100%!important;font-size:8pt!important;line-height:1.18!important}
.legacy-report-paper.paper-portrait .income-line{
  display:grid!important;
  grid-template-columns:20% minmax(0,1fr) 24%!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  column-gap:0!important;box-sizing:border-box!important;
  font-size:8pt!important;line-height:1.18!important;
}
.legacy-report-paper.paper-portrait .income-code{grid-column:1!important;min-width:0!important;white-space:nowrap!important}
.legacy-report-paper.paper-portrait .income-label{grid-column:2!important;min-width:0!important;padding-left:5pt!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
.legacy-report-paper.paper-portrait .income-amount{grid-column:3!important;min-width:0!important;padding-left:3pt!important;text-align:right!important;white-space:nowrap!important;font-size:8pt!important;font-variant-numeric:tabular-nums!important}
.legacy-report-paper.paper-portrait .income-line :is(.income-code,.income-label,.income-amount){font-family:Arial,Helvetica,sans-serif!important;font-size:8pt!important}

/* R129.15.20 — Checkbox layout authority. Kode Akun OFF is a real two-column
   report tree (Keterangan | Nilai), not a hidden code string inside a reserved column.
   Weight is driven only by semantic row kind: detail regular, hierarchy/totals bold. */
.legacy-report-paper.income-statement-paper .income-account :is(.income-code,.income-label,.income-amount){font-weight:400!important}
.legacy-report-paper.income-statement-paper :is(.income-section,.income-type-total,.income-group-total,.income-grand,.income-summary) :is(.income-code,.income-label,.income-amount){font-weight:800!important}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-line{
  grid-template-columns:minmax(0,1fr) 24%!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-label{
  grid-column:1!important;min-width:0!important;padding-left:0!important;text-align:left!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-amount{
  grid-column:2!important;min-width:0!important;padding-left:3pt!important;text-align:right!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-account .income-label{padding-left:10pt!important;font-weight:400!important}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-section .income-label{padding-left:0!important;font-weight:800!important}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-type-total .income-label{padding-left:10pt!important;font-weight:800!important}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-group-total .income-label{padding-left:15pt!important;font-weight:800!important}
.legacy-report-paper.income-statement-paper.income-account-code-disabled :is(.income-grand,.income-summary) .income-label{padding-left:15pt!important;font-weight:800!important}

/* Penghasilan Detail Per Bulan — one readable type scale across heading/data/month columns. */
.legacy-report-paper.paper-landscape .income-detail-month-table{
  width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.4pt!important;line-height:1.12!important;
}
.legacy-report-paper.paper-landscape .income-detail-month-table :is(th,td){
  box-sizing:border-box!important;min-width:0!important;padding:1.3pt 1.5pt!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.4pt!important;line-height:1.12!important;
}
.legacy-report-paper.paper-landscape .income-detail-month-table th{font-weight:800!important;white-space:normal!important}
.legacy-report-paper.paper-landscape .income-detail-month-table td{white-space:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-landscape .income-detail-month-table td.right{white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.legacy-report-paper.paper-landscape .income-detail-month-table :is(.income-detail-group-row,.income-detail-total-row) td{font-size:6.4pt!important;font-weight:800!important}

/* Penghasilan Gabungan — Landscape must fit the physical page, not a screen-wide canvas. */
.legacy-report-viewer.output-orientation-landscape .consolidated-income-paper{
  width:min(1120px,calc(100% - 16px))!important;max-width:1120px!important;min-width:0!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
.consolidated-income-paper .consolidated-income-table{
  width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:4.7pt!important;line-height:1.08!important;
}
.consolidated-income-paper .consolidated-income-table :is(th,td){
  min-width:0!important;max-width:none!important;padding:.7pt .7pt!important;box-sizing:border-box!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:4.7pt!important;line-height:1.08!important;
}
.consolidated-income-paper .consolidated-income-table th{white-space:normal!important;overflow-wrap:break-word!important}
.consolidated-income-paper .consolidated-income-table td{white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-variant-numeric:tabular-nums!important}
.consolidated-income-paper.income-account-code-enabled .consolidated-income-table :is(th,td):nth-child(1){width:7%!important}
.consolidated-income-paper.income-account-code-enabled .consolidated-income-table :is(th,td):nth-child(2){width:15%!important}
.consolidated-income-paper .consolidated-income-code-col{width:7%!important}
.consolidated-income-paper .consolidated-income-label-col{width:15%!important}
.consolidated-income-paper.income-account-code-disabled .consolidated-income-label-col{width:22%!important}
.consolidated-income-paper.income-account-code-disabled .consolidated-income-table :is(th,td):nth-child(1){width:22%!important}
.consolidated-income-paper .consolidated-income-unit-col{width:auto!important}
.consolidated-income-paper .consolidated-income-total-col{width:7%!important}
.consolidated-income-paper .consolidated-income-percent-col{width:3%!important}
.consolidated-income-paper .consolidated-income-sign-col{width:1.5%!important}

/* Arus Kas — true three-column Portrait grid, including the Nilai column. */
.legacy-report-paper.paper-portrait .cash-flow-body{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;font-size:8pt!important;line-height:1.18!important}
.legacy-report-paper.paper-portrait .cash-flow-columns,
.legacy-report-paper.paper-portrait .cash-flow-row{
  display:grid!important;grid-template-columns:20% minmax(0,1fr) 24%!important;
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
.legacy-report-paper.paper-portrait .cash-flow-columns>* ,
.legacy-report-paper.paper-portrait .cash-flow-row>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.legacy-report-paper.paper-portrait .cash-flow-code{grid-column:1!important;white-space:nowrap!important}
.legacy-report-paper.paper-portrait .cash-flow-description{grid-column:2!important;white-space:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait .cash-flow-amount{grid-column:3!important;text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.legacy-report-paper.paper-portrait .cash-flow-row :is(.cash-flow-code,.cash-flow-description,.cash-flow-amount){font-family:Arial,Helvetica,sans-serif!important;font-size:8pt!important}

/* Net asset hierarchy is an audit table, not a four-row dashboard summary. */
.net-asset-changes-table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
.net-asset-changes-table :is(th,td):nth-child(1){width:18%!important}
.net-asset-changes-table :is(th,td):nth-child(2){width:58%!important}
.net-asset-changes-table :is(th,td):nth-child(3){width:24%!important}
.net-asset-type-row td{padding-top:5pt!important;border-top:.7pt solid #777!important}
.net-asset-type-total td{border-top:.5pt solid #aaa!important}
.net-asset-grand-total td{border-top:1.2pt double #111!important;border-bottom:1.2pt double #111!important}

/* Fixed asset reports remain Landscape and use the same typography on every variant. */
.fixed-asset-report-paper{--report-detail-size:6.2pt;--report-header-size:6.2pt;--report-group-size:6.5pt;--report-total-size:6.5pt}
.fixed-asset-report-paper .fixed-asset-report-table,
.fixed-asset-report-paper .report-export-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
.fixed-asset-report-paper :is(.fixed-asset-report-table,.report-export-table) :is(th,td){
  min-width:0!important;box-sizing:border-box!important;padding:1.6pt 2pt!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.2pt!important;line-height:1.12!important;
}
.fixed-asset-report-paper :is(.fixed-asset-report-table,.report-export-table) th{font-weight:800!important;white-space:normal!important}
.fixed-asset-report-paper :is(.fixed-asset-report-table,.report-export-table) td{white-space:normal!important;overflow-wrap:break-word!important}
.fixed-asset-report-paper :is(.fixed-asset-report-table,.report-export-table) td.right{white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.fixed-asset-report-paper .fixed-asset-type-row td,
.fixed-asset-report-paper .fixed-asset-subtotal-row td,
.fixed-asset-report-paper .fixed-asset-grand-total-row td{font-size:6.2pt!important;font-weight:800!important}

@media print{
  /* Printer/PDF clones inherit these exact physical-page rules. */
  .income-statement-paper .income-line{grid-template-columns:20% minmax(0,1fr) 24%!important;width:100%!important;max-width:100%!important}
  .income-statement-paper .income-amount{grid-column:3!important}
  .income-statement-paper.income-account-code-disabled .income-line{grid-template-columns:minmax(0,1fr) 24%!important}
  .income-statement-paper.income-account-code-disabled .income-label{grid-column:1!important}
  .income-statement-paper.income-account-code-disabled .income-amount{grid-column:2!important}
  .cash-flow-paper .cash-flow-columns,.cash-flow-paper .cash-flow-row{grid-template-columns:20% minmax(0,1fr) 24%!important;width:100%!important;max-width:100%!important}
  .cash-flow-paper .cash-flow-amount{grid-column:3!important}
  .consolidated-income-paper{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  .consolidated-income-paper .consolidated-income-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
}

/* R129.15.15 selector corrections against actual renderer classes. */
.legacy-report-paper .ledger-group-row td{padding-top:4pt!important;padding-bottom:2.5pt!important;border-top:.6pt solid #777!important;background:#fff!important;white-space:normal!important;font-weight:800!important}
.legacy-report-paper .ledger-group-total td{padding-top:2.5pt!important;padding-bottom:3pt!important;border-top:.5pt solid #999!important;border-bottom:.8pt solid #333!important;font-weight:800!important}

.legacy-report-paper.paper-landscape .income-monthly-table{
  width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.4pt!important;line-height:1.12!important;
}
.legacy-report-paper.paper-landscape .income-monthly-table :is(th,td){
  box-sizing:border-box!important;min-width:0!important;padding:1.3pt 1.5pt!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.4pt!important;line-height:1.12!important;
}
.legacy-report-paper.paper-landscape .income-monthly-table th{font-weight:800!important;white-space:normal!important}
.legacy-report-paper.paper-landscape .income-monthly-table td{white-space:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-landscape .income-monthly-table td.right{white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.legacy-report-paper.paper-landscape .income-monthly-table tr[class^="income-monthly-"] td{font-size:6.4pt!important}
.legacy-report-paper.paper-landscape .income-monthly-table :is(.income-monthly-section,.income-monthly-type-total,.income-monthly-group-total,.income-monthly-grand) td{font-weight:800!important}

/* Cash Flow current report = 3 columns; compare-year remains a 4-column report. */
.legacy-report-paper.paper-portrait .cash-flow-main-columns{
  display:grid!important;grid-template-columns:20% minmax(0,1fr) 24%!important;
  width:100%!important;max-width:100%!important;min-width:0!important;column-gap:0!important;box-sizing:border-box!important;
}
.legacy-report-paper.paper-portrait .cash-flow-compare-columns{
  display:grid!important;grid-template-columns:18% minmax(0,1fr) 22% 22%!important;
  width:100%!important;max-width:100%!important;min-width:0!important;column-gap:0!important;box-sizing:border-box!important;
}
.legacy-report-paper.paper-portrait :is(.cash-flow-main-columns,.cash-flow-compare-columns)>*{
  min-width:0!important;box-sizing:border-box!important;padding-left:2pt!important;padding-right:2pt!important;
  font-family:Arial,Helvetica,sans-serif!important;font-size:8pt!important;line-height:1.18!important;
}
.legacy-report-paper.paper-portrait :is(.cash-flow-main-columns,.cash-flow-compare-columns)>*:nth-child(2){white-space:normal!important;overflow-wrap:break-word!important}
.legacy-report-paper.paper-portrait :is(.cash-flow-main-columns,.cash-flow-compare-columns)>.right{white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums!important}
.legacy-report-paper.paper-portrait .cash-flow-activity-total,
.legacy-report-paper.paper-portrait .cash-flow-final-summary{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.legacy-report-paper.paper-portrait .cash-flow-activity-total{grid-template-columns:minmax(0,1fr) 24%!important;margin-left:20%!important;gap:0!important}
.legacy-report-paper.paper-portrait .cash-flow-final-summary{margin-left:20%!important;gap:10pt!important}
.legacy-report-paper.paper-portrait .cash-flow-final-summary>div{grid-template-columns:minmax(0,1fr) 24%!important;gap:0!important}
.legacy-report-paper.paper-portrait .cash-flow-final-summary>div:has(strong:nth-child(3)){grid-template-columns:minmax(0,1fr) 22% 22%!important}
.legacy-report-paper.paper-portrait .cash-flow-final-summary strong{min-width:0!important;font-size:8pt!important;line-height:1.18!important}
.legacy-report-paper.paper-portrait .cash-flow-final-summary strong:not(:first-child){text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}

.fixed-asset-report-paper :is(.fixed-asset-type-label,.fixed-asset-type-value,.fixed-asset-subtotal,.fixed-asset-grand-total) td{
  font-family:Arial,Helvetica,sans-serif!important;font-size:6.2pt!important;
}
.fixed-asset-report-paper :is(.fixed-asset-type-label,.fixed-asset-subtotal,.fixed-asset-grand-total) td{font-weight:800!important}

@media print{
  .cash-flow-paper .cash-flow-main-columns{grid-template-columns:20% minmax(0,1fr) 24%!important}
  .cash-flow-paper .cash-flow-compare-columns{grid-template-columns:18% minmax(0,1fr) 22% 22%!important}
  .cash-flow-paper .cash-flow-activity-total{grid-template-columns:minmax(0,1fr) 24%!important;margin-left:20%!important}
  .cash-flow-paper .cash-flow-final-summary{margin-left:20%!important}
  .cash-flow-paper .cash-flow-final-summary>div{grid-template-columns:minmax(0,1fr) 24%!important}
  .cash-flow-paper .cash-flow-final-summary>div:has(strong:nth-child(3)){grid-template-columns:minmax(0,1fr) 22% 22%!important}
}

/* R129.15.15 A4 Landscape visual width authority for the two widest report families. */
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-viewer.output-orientation-landscape :is(.fixed-asset-report-paper,.consolidated-income-paper){
    box-sizing:border-box!important;
    width:min(1120px,calc(100% - 16px))!important;
    max-width:1120px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}
@media print{
  body.pdip-report-output-print.pdip-report-print-landscape :is(.fixed-asset-report-paper,.consolidated-income-paper){
    width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;
  }
}

/* R129.15.15 measured column rebalance after Chromium fit QC. */
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(1){width:4%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(2){width:8%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(3){width:10%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(4){width:6%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(5){width:9%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(6){width:8%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(7){width:13%!important}
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(8),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(9),
.legacy-report-paper.paper-portrait .ledger-book-table :is(th,td):nth-child(10){width:14%!important;font-size:5.8pt!important;letter-spacing:-.16pt!important}

.income-monthly-table col.income-monthly-label-col{width:28%!important}
.income-monthly-table col.income-monthly-value-col{width:6%!important}
.legacy-report-paper.paper-landscape .income-monthly-table,
.legacy-report-paper.paper-landscape .income-monthly-table :is(th,td){font-size:5.4pt!important;line-height:1.1!important}
.legacy-report-paper.paper-landscape .income-monthly-table td.right{font-size:5.2pt!important;letter-spacing:-.08pt!important}

.consolidated-income-paper .consolidated-income-table,
.consolidated-income-paper .consolidated-income-table :is(th,td),
.consolidated-income-paper .consolidated-income-table .consolidated-income-total-value,
.consolidated-income-paper .consolidated-income-table :is(.consolidated-income-percent-value,.consolidated-income-percent-sign){font-size:3.5pt!important;line-height:1.02!important;letter-spacing:-.04pt!important}

/* 24-column depreciation report requires explicit A4 Landscape column authority. */
.fixed-asset-detail-table col.fa-col-no{width:2%!important}
.fixed-asset-detail-table col.fa-col-code{width:4%!important}
.fixed-asset-detail-table col.fa-col-name{width:8%!important}
.fixed-asset-detail-table col.fa-col-qty{width:2%!important}
.fixed-asset-detail-table col.fa-col-voucher{width:4%!important}
.fixed-asset-detail-table col.fa-col-user{width:3%!important}
.fixed-asset-detail-table col.fa-col-date{width:5%!important}
.fixed-asset-detail-table col.fa-col-price{width:5%!important}
.fixed-asset-detail-table col.fa-col-book{width:5%!important}
.fixed-asset-detail-table col.fa-col-life{width:3%!important}
.fixed-asset-detail-table col.fa-col-rate{width:3%!important}
.fixed-asset-detail-table col.fa-col-month{width:3.5%!important}
.fixed-asset-detail-table col.fa-col-ending{width:8%!important}
.fixed-asset-report-paper .fixed-asset-detail-table,
.fixed-asset-report-paper .fixed-asset-detail-table :is(th,td){font-size:4.4pt!important;line-height:1.05!important}
.fixed-asset-report-paper .fixed-asset-detail-table td.right{font-size:4.2pt!important;letter-spacing:-.08pt!important;white-space:nowrap!important}
.fixed-asset-report-paper .fixed-asset-detail-table :is(.fixed-asset-type-label,.fixed-asset-type-value,.fixed-asset-subtotal,.fixed-asset-grand-total) td{font-size:4.4pt!important}
/* Dense consolidated matrix: 30+ organization columns require a uniform micro type size to
   keep full numeric values on one A4 Landscape page without dropping columns. */
.consolidated-income-paper .consolidated-income-table,
.consolidated-income-paper .consolidated-income-table :is(th,td),
.consolidated-income-paper .consolidated-income-table .consolidated-income-total-value,
.consolidated-income-paper .consolidated-income-table :is(.consolidated-income-percent-value,.consolidated-income-percent-sign){font-size:2.8pt!important;line-height:1.02!important;letter-spacing:-.08pt!important}

/* R129.15.16 — Shared report option/workspace polish from USER QC 2026-08-31.
   UI/layout only. Business logic, query authority, orientation and export paths stay unchanged. */
@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-options{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:11px 13px!important;
    align-items:start!important;
  }
  .ui-1366-standard .legacy-report-commandbar{
    min-height:40px!important;
    height:40px!important;
    gap:7px!important;
    padding:5px 8px!important;
  }
  .ui-1366-standard .legacy-report-commandbar button,
  .ui-1366-standard .legacy-report-commandbar .button-link{
    height:29px!important;
    min-height:29px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
  }
  .ui-1366-standard :is(.legacy-report-selector,.trial-balance-selector,.financial-position-selector,.income-statement-selector,.consolidated-income-selector,.cash-flow-selector,.cash-bank-selector,.fixed-asset-selector){
    align-self:start!important;
    min-height:0!important;
  }
  .ui-1366-standard :is(.legacy-report-filter-card,.trial-balance-filter-card,.financial-position-filter-card,.income-statement-filter-card,.consolidated-income-filter-card,.cash-flow-filter-card,.cash-bank-filter-card,.fixed-asset-filter-card){
    align-self:start!important;
    min-height:0!important;
  }
  .ui-1366-standard .legacy-report-filter-grid{
    gap:9px 12px!important;
    align-items:start!important;
  }
  .ui-1366-standard .legacy-report-filter-grid label{
    gap:4px!important;
    line-height:1.15!important;
  }
  .ui-1366-standard .legacy-report-filter-grid input,
  .ui-1366-standard .legacy-report-filter-grid select,
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) input:not([type=checkbox]),
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) select{
    height:31px!important;
    min-height:31px!important;
    box-sizing:border-box!important;
  }
  .ui-1366-standard .report-fiscal-note{
    box-sizing:border-box!important;
    min-height:50px!important;
    height:auto!important;
  }

  /* Dedicated Buku Kas / Buku Bank parameter grid: date range gets a full row,
     so Kode Kas/Bank can no longer collide with the S/D control. */
  .ui-1366-standard .legacy-cash-bank-options{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;
    gap:11px 13px!important;
  }
  .ui-1366-standard .cash-bank-filter-card{
    padding:0 12px 12px!important;
    overflow:visible!important;
  }
  .ui-1366-standard .cash-bank-filter-card::before{
    margin:0 -12px 11px!important;
    padding:8px 11px!important;
  }
  .ui-1366-standard .cash-bank-filter-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px 12px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .ui-1366-standard .cash-bank-range-row.cash-bank-date-range{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr) 34px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:center!important;
    min-width:0!important;
  }
  .ui-1366-standard .cash-bank-range-row.cash-bank-date-range>span{
    min-width:0!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .ui-1366-standard .cash-bank-range-row.cash-bank-date-range>em{
    font-size:9px!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  .ui-1366-standard .cash-bank-range-row.cash-bank-date-range input{
    width:100%!important;
    min-width:0!important;
    height:31px!important;
    min-height:31px!important;
    box-sizing:border-box!important;
  }
  .ui-1366-standard .cash-bank-filter-grid>label{
    display:grid!important;
    gap:4px!important;
    min-width:0!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.15!important;
  }
  .ui-1366-standard .cash-bank-filter-grid>label select,
  .ui-1366-standard .cash-bank-filter-grid>label input{
    width:100%!important;
    min-width:0!important;
    height:31px!important;
    min-height:31px!important;
    box-sizing:border-box!important;
    padding:4px 8px!important;
    font-size:10px!important;
  }
  .ui-1366-standard .cash-bank-code-field{grid-column:1!important}
  .ui-1366-standard .cash-bank-fiscal-note{grid-column:2!important;margin:0!important;align-self:end!important}
  .ui-1366-standard .cash-bank-search{grid-column:1/-1!important}
  .ui-1366-standard .cash-bank-search input{width:100%!important}
}

/* R129.15.16 — Buku Kas / Buku Bank visual authority. The same report DOM is used
   by Preview, Printer and PDF, so spacing is compacted on the tree itself. */
.ui-1366-standard .cashbook-book-paper{
  font-family:Arial,Helvetica,sans-serif!important;
}
.ui-1366-standard .cashbook-book-head{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:24px!important;
  align-items:start!important;
}
.ui-1366-standard .cashbook-book-brand h2{
  margin:0!important;
  font-size:18px!important;
  line-height:1.12!important;
}
.ui-1366-standard .cashbook-book-brand strong{
  margin-top:14px!important;
  font-size:13px!important;
  line-height:1.15!important;
}
.ui-1366-standard .cashbook-account-name{
  margin-top:3px!important;
  font-size:10px!important;
  line-height:1.18!important;
}
.ui-1366-standard .cashbook-book-title h1{
  margin:5px 0 9px!important;
  font-size:18px!important;
  line-height:1.05!important;
}
.ui-1366-standard .cashbook-book-title dl{
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:3px 6px!important;
  font-size:11px!important;
  line-height:1.18!important;
}
.ui-1366-standard .cashbook-book-currency{
  gap:36px!important;
  margin:22px 0 6px!important;
  font-size:11px!important;
  line-height:1.1!important;
}
.ui-1366-standard .cashbook-book-table{
  font-size:8.9pt!important;
  line-height:1.16!important;
}
.ui-1366-standard .cashbook-book-table th{
  padding:3.5px 3px!important;
  font-size:8.3pt!important;
  line-height:1.1!important;
  vertical-align:bottom!important;
}
.ui-1366-standard .cashbook-book-table td{
  padding:3.5px 3px!important;
  font-size:8.8pt!important;
  line-height:1.16!important;
}
.ui-1366-standard .cashbook-book-table td.right{
  font-size:8.3pt!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:-.04pt!important;
}
.ui-1366-standard .cashbook-opening-row td{
  padding-top:5px!important;
  padding-bottom:3px!important;
}
.ui-1366-standard .cashbook-opening-row td:nth-child(4){
  text-align:right!important;
  font-weight:700!important;
}
.ui-1366-standard .cashbook-book-table tfoot td{
  padding-top:4px!important;
  padding-bottom:4px!important;
}
.ui-1366-standard .cashbook-book-signatures{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:48px!important;
  margin-top:26px!important;
  font-size:10px!important;
}
.ui-1366-standard .cashbook-book-signatures>div{
  min-height:96px!important;
}
.ui-1366-standard .cashbook-book-signatures span{
  font-size:10px!important;
}

@media print{
  .cashbook-book-head{
    grid-template-columns:minmax(0,1fr) 76mm!important;
    gap:7mm!important;
  }
  .cashbook-book-brand h2{font-size:13pt!important}
  .cashbook-book-brand strong{margin-top:9pt!important;font-size:9.5pt!important}
  .cashbook-account-name{margin-top:2pt!important;font-size:7.5pt!important}
  .cashbook-book-title h1{margin:4pt 0 6pt!important;font-size:13pt!important}
  .cashbook-book-title dl{grid-template-columns:21mm minmax(0,1fr)!important;gap:2pt 4pt!important;font-size:8.5pt!important;line-height:1.16!important}
  .cashbook-book-currency{gap:18mm!important;margin:14pt 0 4pt!important;font-size:8.5pt!important}
  .cashbook-book-table{font-size:8pt!important;line-height:1.15!important}
  .cashbook-book-table th{padding:2.5pt 2pt!important;font-size:7.6pt!important;line-height:1.08!important}
  .cashbook-book-table td{padding:2.5pt 2pt!important;font-size:8pt!important;line-height:1.14!important}
  .cashbook-book-table td.right{font-size:7.6pt!important;font-variant-numeric:tabular-nums!important}
  .cashbook-opening-row td{padding-top:3pt!important;padding-bottom:2pt!important}
  .cashbook-book-table tfoot td{padding-top:3pt!important;padding-bottom:3pt!important}
  .cashbook-book-signatures{gap:14mm!important;margin-top:18pt!important;font-size:8.5pt!important}
  .cashbook-book-signatures>div{min-height:68pt!important}
  .cashbook-book-signatures span{font-size:8.5pt!important}
}


/* R129.15.17 — Buku Kas / Buku Bank final typography authority.
   Resolve legacy column-specific font overrides so the left descriptive columns and
   right Debit/Kredit/Saldo columns render as one table at one body/header scale.
   Preview is the same DOM consumed by Printer/PDF; the print rule mirrors the scale. */
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table{
  --cashbook-table-font-size:7.5pt;
  --cashbook-table-line-height:1.16;
}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td){
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:var(--cashbook-table-font-size)!important;
  line-height:var(--cashbook-table-line-height)!important;
}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(1){width:4%!important}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(2){width:13%!important}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(3){width:11%!important}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(4){width:30%!important}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(5),
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(6),
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td):nth-child(7){width:14%!important}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(td.right,td:nth-child(5),td:nth-child(6),td:nth-child(7)){
  font-size:var(--cashbook-table-font-size)!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:-.06pt!important;
  white-space:nowrap!important;
}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table thead th{
  font-size:var(--cashbook-table-font-size)!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.ui-1366-standard .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table tfoot td{
  font-size:var(--cashbook-table-font-size)!important;
  font-weight:800!important;
}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table{
    --cashbook-table-font-size:7.5pt;
    --cashbook-table-line-height:1.16;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(th,td),
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table :is(td.right,td:nth-child(5),td:nth-child(6),td:nth-child(7)),
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table thead th,
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.cashbook-book-paper .cashbook-book-table tfoot td{
    font-size:var(--cashbook-table-font-size)!important;
    line-height:var(--cashbook-table-line-height)!important;
  }
}

/* R129.15.18 — Buku Besar A4 Landscape authority.
   All four Buku Besar grouping modes share this same 10-column renderer. The wider A4
   landscape page is used for readability instead of portrait-only font compression. */
.ui-1366-standard .legacy-report-viewer.output-orientation-landscape .legacy-report-paper.paper-landscape.ledger-book-paper{
  width:min(960px,calc(100% - 16px))!important;
  max-width:960px!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper{
  --ledger-landscape-body-size:8pt;
  --ledger-landscape-head-size:7.8pt;
  --ledger-landscape-group-size:8pt;
  font-family:Arial,Helvetica,sans-serif!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:var(--ledger-landscape-body-size)!important;
  line-height:1.18!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td){
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:none!important;
  padding:3.3pt 3.2pt!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:var(--ledger-landscape-body-size)!important;
  line-height:1.18!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table thead th{
  font-size:var(--ledger-landscape-head-size)!important;
  line-height:1.12!important;
  font-weight:800!important;
  white-space:normal!important;
  letter-spacing:0!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(1){width:3%!important;text-align:center!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(2){width:9%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(3){width:10%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(4){width:7%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(5){width:12%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(6){width:8%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(7){width:17%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(8),
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(9){width:11%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(10){width:12%!important}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(2),
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(4),
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(5),
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td):nth-child(6){
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(td.right,td:nth-child(8),td:nth-child(9),td:nth-child(10)){
  font-size:var(--ledger-landscape-body-size)!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:-.03pt!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(.ledger-group-row,.ledger-book-group-row) td,
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(.ledger-group-total,.ledger-book-group-total) td{
  font-size:var(--ledger-landscape-group-size)!important;
}
.ui-1366-standard .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-filters{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:38px!important;
}

@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.paper-landscape.ledger-book-paper{
    --ledger-landscape-body-size:8pt;
    --ledger-landscape-head-size:7.8pt;
    --ledger-landscape-group-size:8pt;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table,
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(th,td){
    font-size:var(--ledger-landscape-body-size)!important;
    line-height:1.18!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table thead th{
    font-size:var(--ledger-landscape-head-size)!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print).pdip-report-print-landscape .legacy-report-paper.paper-landscape.ledger-book-paper .ledger-book-table :is(td.right,td:nth-child(8),td:nth-child(9),td:nth-child(10)){
    font-size:var(--ledger-landscape-body-size)!important;
  }
}


/* R129.15.21 — Income hierarchy weight authority.
   Checkbox visibility never controls font weight. Detail and category summary rows stay
   regular; section headings use only light emphasis; JUMLAH/subtotal/grand-total rows are bold. */
.legacy-report-paper.income-statement-paper .income-account :is(.income-code,.income-label,.income-amount),
.legacy-report-paper.income-statement-paper .income-type-total :is(.income-code,.income-label,.income-amount){
  font-weight:400!important;
}
.legacy-report-paper.income-statement-paper .income-section :is(.income-code,.income-label,.income-amount){
  font-weight:600!important;
}
.legacy-report-paper.income-statement-paper :is(.income-group-total,.income-grand,.income-summary) :is(.income-code,.income-label,.income-amount){
  font-weight:800!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-account .income-label,
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-type-total .income-label{
  font-weight:400!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled .income-section .income-label{
  font-weight:600!important;
}
.legacy-report-paper.income-statement-paper.income-account-code-disabled :is(.income-group-total,.income-grand,.income-summary) .income-label{
  font-weight:800!important;
}

/* Apply the same semantic hierarchy to the monthly and consolidated Penghasilan renderers.
   This prevents SubLedger OFF from turning every remaining summary/category row bold. */
.legacy-report-paper.income-monthly-detail-paper :is(.income-monthly-account,.income-monthly-type-total) td{
  font-weight:400!important;
}
.legacy-report-paper.income-monthly-detail-paper :is(.income-monthly-section,.income-monthly-group-header) td{
  font-weight:600!important;
}
.legacy-report-paper.income-monthly-detail-paper :is(.income-monthly-group-total,.income-monthly-grand) td{
  font-weight:800!important;
}
.consolidated-income-paper :is(.consolidated-income-account-row,.consolidated-income-type-total-row) td{
  font-weight:400!important;
}
.consolidated-income-paper :is(.consolidated-income-section-row,.consolidated-income-group-row) td{
  font-weight:600!important;
}
.consolidated-income-paper :is(.consolidated-income-group-total-row,.consolidated-income-grand-row) td{
  font-weight:800!important;
}

/* R129.15.24 — Piutang Karyawan grouped report authority.
   Both grouping modes share one A4 Portrait renderer; only group/order and the first
   two descriptive columns change. Numeric columns remain true report values and right-aligned. */
.ui-1366-standard .legacy-report-paper.paper-portrait.employee-receivable-paper{
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:8pt!important;
  line-height:1.18!important;
}
.ui-1366-standard .employee-receivable-paper .employee-receivable-head{
  margin-bottom:8pt!important;
}
.ui-1366-standard .employee-receivable-paper .employee-receivable-group{
  margin:0 0 9pt!important;
  break-inside:avoid!important;
  page-break-inside:avoid!important;
}
.ui-1366-standard .employee-receivable-paper .employee-receivable-group-head{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:4pt 14pt!important;
  padding:3pt 4pt!important;
  border-top:1px solid #555!important;
  background:#f4f5f7!important;
  font-size:8pt!important;
  line-height:1.15!important;
}
.ui-1366-standard .employee-receivable-paper .employee-receivable-group-head strong{
  font-weight:800!important;
}
.ui-1366-standard .employee-receivable-paper .employee-receivable-group-head span{
  font-weight:600!important;
}
.ui-1366-standard .employee-receivable-table,
.ui-1366-standard .employee-receivable-grand-total{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:8pt!important;
  line-height:1.18!important;
}
.ui-1366-standard .employee-receivable-table .emp-rec-code{width:17%!important}
.ui-1366-standard .employee-receivable-table .emp-rec-name{width:31%!important}
.ui-1366-standard .employee-receivable-table .emp-rec-money{width:13%!important}
.ui-1366-standard .employee-receivable-table :is(th,td),
.ui-1366-standard .employee-receivable-grand-total :is(th,td){
  box-sizing:border-box!important;
  padding:3.2pt 3.5pt!important;
  border-bottom:1px solid #d8dce1!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:8pt!important;
  line-height:1.18!important;
  vertical-align:top!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.ui-1366-standard .employee-receivable-table thead th{
  background:#f1f2f4!important;
  font-size:7.6pt!important;
  font-weight:800!important;
  text-align:left!important;
}
.ui-1366-standard .employee-receivable-table :is(th,td):first-child{
  white-space:nowrap!important;
  overflow-wrap:normal!important;
}
.ui-1366-standard .employee-receivable-table td.right,
.ui-1366-standard .employee-receivable-grand-total td.right{
  text-align:right!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  font-variant-numeric:tabular-nums!important;
}
.ui-1366-standard .employee-receivable-table .employee-receivable-subtotal td{
  border-top:1.5px solid #555!important;
  font-weight:800!important;
}
.ui-1366-standard .employee-receivable-table .employee-receivable-unassigned td:first-child,
.ui-1366-standard .employee-receivable-table .employee-receivable-unassigned td:nth-child(2){
  font-style:italic!important;
}
.ui-1366-standard .employee-receivable-grand-total{
  margin-top:8pt!important;
  border-top:2px solid #333!important;
  border-bottom:2px solid #333!important;
}
.ui-1366-standard .employee-receivable-grand-total th{
  width:48%!important;
  text-align:left!important;
  font-weight:800!important;
}
.ui-1366-standard .employee-receivable-grand-total td{
  width:13%!important;
  font-weight:800!important;
}
@media print{
  body:is(.pdip-report-output-print,.pdip-professional-print) .legacy-report-paper.paper-portrait.employee-receivable-paper{
    font-family:Arial,Helvetica,sans-serif!important;
    font-size:8pt!important;
    line-height:1.18!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print) .employee-receivable-table,
  body:is(.pdip-report-output-print,.pdip-professional-print) .employee-receivable-grand-total,
  body:is(.pdip-report-output-print,.pdip-professional-print) .employee-receivable-table :is(th,td),
  body:is(.pdip-report-output-print,.pdip-professional-print) .employee-receivable-grand-total :is(th,td){
    font-size:8pt!important;
    line-height:1.18!important;
  }
  body:is(.pdip-report-output-print,.pdip-professional-print) .employee-receivable-table thead th{font-size:7.6pt!important}
}

/* R1291526 — Jurnal Memorial voucher lookup reuses shared Cash/Bank modal authority. */
@media (min-width:801px){
  .ui-1366-standard .jm-voucher-modal{width:min(1120px,94vw)}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(1){width:175px}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(2){width:105px}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(3){width:105px}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(4){width:105px}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(5){width:auto}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(6){width:80px}
  .ui-1366-standard .jm-voucher-picker-table th:nth-child(7){width:72px}
  .ui-1366-standard .jm-voucher-picker-table .voucher-fund,
  .ui-1366-standard .jm-voucher-picker-table .voucher-status{white-space:nowrap;overflow:visible;text-overflow:clip}
  .ui-1366-standard .jm-voucher-picker-table tbody tr{cursor:pointer}
}

/* R1291527 — per-transaksi No Manual: state aktif tanpa mengubah ukuran toolbar. */
.cb-btn.manual-number-active,.secondary.manual-number-active{background:#fff1f2!important;border-color:#d40019!important;color:#a90013!important;box-shadow:inset 0 0 0 1px rgba(212,0,25,.08)}

/* R1291528 — Mutasi Kas & Bank mengikuti shared Cash/Bank transaction family. */
.ui-1366-standard .cb-compact-1366 .cb-transfer-description{
  grid-column:2 / 4!important;
  grid-row:auto!important;
}
.ui-1366-standard .cb-compact-1366 .cb-transfer-description textarea{
  min-height:44px!important;
}
.ui-1366-standard .cb-transfer-journal-table{
  min-width:0!important;
  table-layout:fixed!important;
}
.ui-1366-standard .cb-transfer-journal-table th:nth-child(1){width:4%!important;text-align:center!important}
.ui-1366-standard .cb-transfer-journal-table th:nth-child(2){width:17%!important}
.ui-1366-standard .cb-transfer-journal-table th:nth-child(3){width:21%!important}
.ui-1366-standard .cb-transfer-journal-table th:nth-child(4){width:32%!important}
.ui-1366-standard .cb-transfer-journal-table th:nth-child(5),
.ui-1366-standard .cb-transfer-journal-table th:nth-child(6){width:13%!important;text-align:right!important}
.ui-1366-standard .cb-transfer-journal-table td:nth-child(5),
.ui-1366-standard .cb-transfer-journal-table td:nth-child(6){text-align:right!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important}
.ui-1366-standard .cb-transfer-journal-table .cb-transfer-code{white-space:nowrap!important}
.ui-1366-standard .cb-transfer-journal-table .cb-transfer-account-name,
.ui-1366-standard .cb-transfer-journal-table .cb-transfer-description-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-1366-standard .cb-transfer-journal-table tfoot td{font-weight:800!important}
@media(max-width:1250px){
  .ui-1366-standard .cb-compact-1366 .cb-transfer-description{grid-column:auto!important}
}

/* R1291529 — transaction-based Bank Reconciliation, compact at 1366x768. */
.ui-1366-standard .bank-recon-shell{display:grid;gap:10px;padding:12px!important}
.ui-1366-standard .bank-recon-heading{margin-bottom:8px!important}
.ui-1366-standard .bank-recon-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ui-1366-standard .bank-recon-toolbar button,
.ui-1366-standard .bank-recon-toolbar .button-link{min-height:30px;padding:5px 10px!important;white-space:nowrap}
.ui-1366-standard .bank-recon-toolbar-spacer{flex:1 1 20px}
.ui-1366-standard .bank-recon-filter{display:grid;grid-template-columns:minmax(150px,.9fr) minmax(135px,.7fr) minmax(280px,1.5fr) minmax(145px,.75fr) minmax(145px,.75fr);gap:8px 10px;align-items:end}
.ui-1366-standard .bank-recon-filter label,
.ui-1366-standard .bank-import-source-row label,
.ui-1366-standard .bank-import-mapping label,
.ui-1366-standard .bank-connection-form label,
.ui-1366-standard .bank-recon-reason label{display:grid;gap:4px;font-weight:700;font-size:12px;color:#31343a}
.ui-1366-standard .bank-recon-filter :is(input,select),
.ui-1366-standard .bank-import-source-row :is(input,select),
.ui-1366-standard .bank-import-mapping :is(input,select),
.ui-1366-standard .bank-connection-form :is(input,select),
.ui-1366-standard .bank-recon-reason textarea{min-height:32px;box-sizing:border-box}
.ui-1366-standard .bank-recon-filter .span-2{grid-column:auto}
.ui-1366-standard .bank-recon-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:7px}
.ui-1366-standard .bank-recon-summary>div{border:1px solid #e0e3e8;border-radius:7px;padding:7px 9px;background:#fff;min-width:0}
.ui-1366-standard .bank-recon-summary span{display:block;color:#737982;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.ui-1366-standard .bank-recon-summary strong{display:block;margin-top:2px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.ui-1366-standard .bank-recon-summary .good{color:#177245}.ui-1366-standard .bank-recon-summary .bad{color:#b42318}
.ui-1366-standard .bank-recon-status-strip{display:flex;gap:7px;flex-wrap:wrap;font-size:11px}
.ui-1366-standard .bank-recon-status-strip span,.ui-1366-standard .bank-match-pill{border:1px solid #dce0e5;border-radius:999px;padding:3px 7px;background:#fafafa;white-space:nowrap}
.ui-1366-standard .bank-recon-grid-wrap{max-height:355px;overflow:auto}
.ui-1366-standard .bank-recon-grid{min-width:1120px;font-size:11px}
.ui-1366-standard .bank-recon-grid :is(th,td){padding:5px 6px!important;vertical-align:top}
.ui-1366-standard .bank-recon-grid th:nth-child(1){width:80px}.ui-1366-standard .bank-recon-grid th:nth-child(2){width:130px}.ui-1366-standard .bank-recon-grid th:nth-child(3){width:220px}.ui-1366-standard .bank-recon-grid th:nth-child(4){width:135px}.ui-1366-standard .bank-recon-grid th:nth-child(5){width:230px}.ui-1366-standard .bank-recon-grid th:nth-child(6),.ui-1366-standard .bank-recon-grid th:nth-child(7){width:105px}.ui-1366-standard .bank-recon-grid th:nth-child(8){width:110px}.ui-1366-standard .bank-recon-grid th:nth-child(9){width:230px}
.ui-1366-standard .bank-recon-grid td.right{white-space:nowrap;font-variant-numeric:tabular-nums}
.ui-1366-standard .bank-recon-actions{display:flex;gap:4px;flex-wrap:wrap;align-items:flex-start}
.ui-1366-standard .bank-recon-actions :is(button,.button-link){padding:3px 6px!important;min-height:24px;font-size:10px;white-space:nowrap}
.ui-1366-standard .bank-recon-batches{border-top:1px solid #e1e4e8;padding-top:7px}
.ui-1366-standard .bank-recon-modal{width:min(1120px,94vw);max-height:88vh;overflow:auto}
.ui-1366-standard .bank-import-source-row{display:grid;grid-template-columns:220px 1fr;gap:10px;margin-bottom:9px}
.ui-1366-standard .bank-import-mapping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px}
.ui-1366-standard .bank-import-actions{display:flex;justify-content:flex-end;margin-top:8px}
.ui-1366-standard .bank-import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}
.ui-1366-standard .bank-import-summary>div{border:1px solid #e2e5e9;border-radius:6px;padding:6px 8px}.ui-1366-standard .bank-import-summary span{display:block;font-size:10px;color:#737982}.ui-1366-standard .bank-import-summary b{font-size:12px;font-variant-numeric:tabular-nums}
.ui-1366-standard .bank-import-preview{max-height:250px;overflow:auto}
.ui-1366-standard .bank-connection-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.ui-1366-standard .bank-connection-form .span-2{grid-column:1/-1}.ui-1366-standard .bank-connection-form .check-label{display:flex;align-items:center;gap:7px}
.ui-1366-standard .bank-recon-reason-modal{width:min(620px,92vw)}
@media(max-width:1100px){.ui-1366-standard .bank-recon-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-1366-standard .bank-recon-filter .span-2{grid-column:1/-1}.ui-1366-standard .bank-recon-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ui-1366-standard .bank-import-mapping{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ui-1366-standard .bank-recon-filter label{min-width:0}
.ui-1366-standard .bank-recon-filter :is(input,select){width:100%;min-width:0}

/* Responsive final pass: keep desktop sidebar stable and make the mobile menu a drawer. */
.mobile-drawer-backdrop{display:none}
.report-share-menu{position:relative;display:flex;flex-direction:column;gap:4px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 28px rgba(25,29,35,.14);z-index:4}
.report-share-menu button{border:0;border-radius:6px;background:#fff;color:#343942;padding:8px 10px;text-align:left;white-space:nowrap;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.report-share-menu button:hover{background:var(--red-soft);color:var(--red-dark)}
.legacy-report-viewer-toolbar{position:relative;flex-wrap:wrap}
@media(min-width:1101px){.login-page-final{transform:translateY(-22px)}}
@media(max-width:768px){
  html,body{overflow-x:hidden}
  .app-shell,.app-shell.collapsed{display:block;min-height:100vh}
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(310px,86vw);height:100vh;padding:18px 14px 16px;transform:translateX(-105%);transition:transform .2s ease;box-shadow:16px 0 40px rgba(0,0,0,.22);z-index:30;overflow-y:auto}
  .mobile-drawer-open .sidebar{transform:translateX(0)}
  .mobile-drawer-backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(0,0,0,.42);z-index:20;cursor:pointer}
  .collapsed .brand-copy,.collapsed .nav-menu a>span:last-child,.collapsed .sidebar-foot div{display:block}
  .collapsed .brand{justify-content:flex-start;padding-inline:8px}
  .collapsed .nav-menu a{justify-content:flex-start;padding-inline:13px}
  .main-area{min-width:0;width:100%}
  .topbar{position:sticky;z-index:12;min-height:64px;padding:9px 12px;gap:8px}
  .topbar-left{min-width:0;flex:1}.topbar-right{min-width:0}.search-box{width:auto;min-width:0;flex:1}.search-box input{min-width:0}
  .auth-user-area{gap:5px}.logout-button{min-height:38px;padding-inline:8px}.user-chip>span{width:36px;height:36px}
  .content{width:100%;padding:20px 12px 80px;overflow-x:hidden}.main-area>footer{display:none}
  .page-heading{display:flex;flex-direction:column;gap:12px}.page-heading h1{font-size:27px}.heading-actions{margin-top:0;flex-wrap:wrap}
  .login-page-final{min-height:calc(100vh - 64px);padding:18px 12px;transform:none}.login-card-final{padding:24px 18px 22px;border-radius:16px}.login-brand-final>img{width:72px;height:72px}.login-brand-final>strong{font-size:22px}.login-brand-final>span{font-size:17px}.login-heading-final{margin:20px 0 18px}.login-options{align-items:flex-start;flex-direction:column}
  .kb-card-grid{grid-template-columns:1fr}.kb-card{min-height:0}.kb-card-button{align-self:stretch;width:100%;min-height:44px}
  .cb-action-buttons,.legacy-report-commandbar,.legacy-report-viewer-toolbar{display:flex;flex-wrap:wrap;gap:7px;height:auto!important;min-height:0!important}
  .cb-action-buttons .cb-btn,.legacy-report-commandbar :is(button,.button-link),.legacy-report-viewer-toolbar :is(button,.button-link){min-height:42px!important;height:auto!important;padding:9px 11px!important}
  .legacy-report-viewer-toolbar{align-items:stretch!important;padding:8px!important}.legacy-report-viewer-toolbar .legacy-report-output-orientation,.legacy-report-viewer-toolbar .legacy-report-zoom{flex:1 1 100%}.legacy-report-viewer-info{order:10;margin-left:0!important;flex:1 1 100%;white-space:normal!important}
  .report-share-menu{flex:1 1 100%;position:static}.report-share-menu button{min-height:40px;text-align:center}
  .legacy-report-options{display:flex!important;flex-direction:column!important;gap:10px!important}.legacy-report-selector,.legacy-report-filter-card,.report-scope-authority-card{width:100%;min-width:0}.legacy-report-choice-table{min-width:0;width:100%}.legacy-report-choice-table th,.legacy-report-choice-table td{padding:10px 8px}
  .legacy-report-canvas{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}.legacy-report-paper{margin-left:auto!important;margin-right:auto!important}
  .legacy-report-paper .table-wrap,.legacy-report-paper .report-table-wrap{max-width:100%;overflow-x:auto}
  .legacy-report-paper table{min-width:640px}
  :is(input,select,textarea,button,.button-link){max-width:100%}
}
@media(max-width:420px){.topbar-left{gap:7px}.search-box{width:auto}.topbar-right .user-chip{display:none}.content{padding-inline:10px}.login-brand-final>strong{font-size:20px}.login-levels{min-width:0;width:100%}.cb-actionbar{padding:8px!important}.cb-action-buttons .cb-btn{flex:1 1 auto}.legacy-report-viewer-toolbar>:is(button,.button-link){flex:1 1 auto}.legacy-report-viewer-toolbar .legacy-report-output-orientation,.legacy-report-viewer-toolbar .legacy-report-zoom{flex:1 1 100%}}

/* Report viewer controls: presentation layer only; report paper and print authority stay unchanged. */
.legacy-report-viewer{display:grid;gap:12px;min-width:0}
.legacy-report-viewer-toolbar{position:relative;display:flex;align-items:center;gap:8px;min-height:58px;padding:9px 12px;border:1px solid #e4e7eb;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(29,35,42,.06);z-index:5}
.legacy-report-action{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap;text-decoration:none}
.legacy-report-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.legacy-report-share-trigger{margin-left:auto}
.legacy-report-chevron{font-size:16px;line-height:1;margin-left:2px}
.legacy-report-viewer-meta{display:flex;justify-content:space-between;gap:12px;color:#6d7480;font-size:11px;padding:0 4px}
.legacy-report-viewer-meta span:last-child{font-weight:700;color:#4e5661}
.report-share-menu{position:absolute;right:12px;top:calc(100% + 8px);display:grid;min-width:280px;padding:6px;border:1px solid #e1e5ea;border-radius:12px;background:#fff;box-shadow:0 16px 35px rgba(27,34,42,.15);z-index:20}
.report-share-menu button{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;padding:10px 12px;border:0;border-bottom:1px solid #eef0f2;background:#fff;color:#303740;font:inherit;font-size:12px;font-weight:700;text-align:left;cursor:pointer}
.report-share-menu button:last-child{border-bottom:0}.report-share-menu button:hover{background:#f8fafb}
.whatsapp-icon{width:22px;height:22px;flex:0 0 22px;fill:#25d366}.whatsapp-icon .whatsapp-mark{fill:#fff}
.legacy-report-viewer-controls{display:flex;align-items:center;justify-content:center;gap:22px;padding:10px 0 2px}
.legacy-report-pagination,.legacy-report-zoom-controls{display:flex;align-items:center;gap:6px}
.legacy-report-control{display:inline-grid;place-items:center;min-width:38px;height:36px;padding:0 10px;border:1px solid #e0e4e8;border-radius:9px;background:#fff;color:#3f4751;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 2px 5px rgba(29,35,42,.04)}
.legacy-report-control:hover:not(:disabled){border-color:#c8cfd7;background:#f8fafb}.legacy-report-control:disabled{cursor:not-allowed;opacity:.38}
.legacy-report-page-status{display:flex;align-items:center;gap:8px;min-width:62px;justify-content:center;color:#68717c;font-size:14px}.legacy-report-page-status b{color:#20262d}
.legacy-report-zoom-controls{padding-left:12px;border-left:1px solid #e2e5e8}.legacy-report-zoom-controls>span{min-width:52px;text-align:center;color:#404852;font-size:13px;font-weight:800}
.legacy-report-fullscreen{margin-left:6px;font-size:20px;font-weight:500}
.legacy-report-page-hidden{display:none!important}
.legacy-report-canvas{min-height:0!important;max-height:calc(100vh - 290px);overflow:auto!important;padding:22px!important;background:#f0f2f4!important;border:1px solid #e0e4e8!important;border-radius:14px!important}
.legacy-report-canvas .legacy-report-paper{margin:0 auto 18px!important}.legacy-report-canvas .legacy-report-paper:last-child{margin-bottom:0!important}
@media(max-width:768px){
  .legacy-report-viewer-toolbar{align-items:stretch;flex-wrap:wrap;gap:7px;padding:8px}.legacy-report-action{flex:1 1 calc(50% - 7px)!important}.legacy-report-share-trigger{margin-left:0}.report-share-menu{left:8px;right:8px;min-width:0}.legacy-report-viewer-controls{justify-content:space-between;gap:10px;flex-wrap:wrap}.legacy-report-pagination,.legacy-report-zoom-controls{flex:1 1 auto;justify-content:center}.legacy-report-zoom-controls{padding-left:0;border-left:0}.legacy-report-canvas{max-height:calc(100vh - 330px);padding:12px!important}.legacy-report-canvas .legacy-report-paper{transform-origin:top left!important}
}
@media print{
  .legacy-report-page-hidden{display:block!important}
  .legacy-report-viewer-controls,.legacy-report-viewer-meta{display:none!important}
}

/* Handset responsive authority: portrait and short landscape phone viewports. */
.menu-icon,.shortcut-icon,.legacy-report-ribbon-icon{
  flex:0 0 auto;
  width:48px;
  height:48px;
  max-width:48px;
  max-height:48px;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.menu-icon svg,.menu-icon img,.shortcut-icon svg,.shortcut-icon img,
.legacy-report-ribbon-icon svg,.legacy-report-ribbon-icon img{
  width:28px;
  height:28px;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

@media (orientation:landscape) and (max-height:600px) and (max-width:1024px){
  html,body{overflow-x:hidden}
  .app-shell,.app-shell.collapsed{display:block;min-height:100vh}
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(310px,86vw);height:100vh;padding:18px 14px 16px;transform:translateX(-105%);transition:transform .2s ease;box-shadow:16px 0 40px rgba(0,0,0,.22);z-index:30;overflow-y:auto}
  .mobile-drawer-open .sidebar{transform:translateX(0)}
  .mobile-drawer-backdrop{display:block;position:fixed;inset:0;border:0;background:rgba(0,0,0,.42);z-index:20;cursor:pointer}
  .collapsed .brand-copy,.collapsed .nav-menu a>span:last-child,.collapsed .sidebar-foot div{display:block}
  .collapsed .brand{justify-content:flex-start;padding-inline:8px}
  .collapsed .nav-menu a{justify-content:flex-start;padding-inline:13px}
  .main-area{width:100%;min-width:0}
  .topbar{position:sticky;z-index:12;height:auto;min-height:56px;padding:7px 10px;gap:8px}
  .topbar-left{min-width:0;flex:1;gap:7px}.topbar-right{min-width:0}
  .search-box{width:auto;min-width:0;flex:1;height:40px}.search-box input{min-width:0;font-size:13px}
  .period-box,.user-chip div,.logout-button{display:none}
  .user-chip>span{width:36px;height:36px;border-radius:50%}
  .content{width:100%;padding:12px 10px 52px;overflow-x:hidden}
  .main-area>footer{display:none}
  .page-heading{gap:8px;margin-bottom:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}
  .menu-grid,.shortcut-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .menu-card{min-height:76px;padding:10px;grid-template-columns:40px minmax(0,1fr) 14px;gap:9px;border-radius:11px}
  .menu-card:before{top:12px;bottom:12px;width:3px}
  .menu-icon,.shortcut-icon,.legacy-report-ribbon-icon{width:40px;height:40px;max-width:40px;max-height:40px;border-radius:10px}
  .menu-icon svg,.menu-icon img,.shortcut-icon svg,.shortcut-icon img,
  .legacy-report-ribbon-icon svg,.legacy-report-ribbon-icon img{width:24px;height:24px}
  .menu-copy strong{font-size:12px;margin-bottom:2px}.menu-copy small{font-size:9px;line-height:1.25}
  .menu-arrow{font-size:18px}

  .cb-actionbar{display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:7px!important;padding:8px!important}
  .cb-action-buttons{display:flex!important;flex:1 1 100%!important;flex-wrap:wrap!important;gap:6px!important;min-width:0}
  .cb-action-buttons .cb-btn{height:38px!important;min-height:38px!important;flex:0 1 auto!important;padding:0 10px!important;font-size:11px!important;white-space:nowrap}
  .cb-print-after-save-right{order:2;flex:0 1 auto;min-height:32px;gap:6px;font-size:11px;white-space:nowrap}
  .cb-print-after-save-right input{width:15px;height:15px;min-height:15px}
  .cb-search-title-r52{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-height:48px!important;padding:7px 10px!important}
  .cb-search-title-r52 .cb-voucher-search{min-width:0;display:flex;flex-wrap:nowrap;gap:6px}
  .cb-search-title-r52 .cb-voucher-search strong{font-size:10px;white-space:nowrap}
  .cb-search-title-r52 .cb-voucher-search input{width:auto;min-width:0;flex:1;height:34px;min-height:34px;font-size:11px}
  .cb-search-title-r52 .cb-search-btn{height:34px;min-height:34px;padding:0 10px;font-size:10px}
  .cb-search-title-r52 h1{order:2;text-align:right;font-size:16px;line-height:1.1;white-space:normal}

  .cb-header-card{padding:10px!important;border-radius:10px!important}
  .cb-header-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"voucher fund" "date unit" "amount account" "employee employee" "description description"!important;gap:8px 10px!important}
  .cb-field-voucher{grid-area:voucher!important}.cb-field-date{grid-area:date!important}.cb-field-amount{grid-area:amount!important}.cb-field-employee{grid-area:employee!important}.cb-field-fund{grid-area:fund!important}.cb-field-unit{grid-area:unit!important}.cb-field-account,.cb-field-target{grid-area:account!important}.cb-field-description{grid-area:description!important}
  .cb-header-grid>label{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;font-size:10px!important;line-height:1.1!important}
  .cb-header-grid input,.cb-header-grid select,.cb-employee-switch select{height:36px!important;min-height:36px!important;font-size:11px!important;padding:0 8px!important}
  .cb-description-field{display:grid!important;grid-template-columns:1fr!important;gap:4px!important}.cb-description-field textarea{min-height:64px!important;height:64px!important;font-size:11px!important}
  .cb-description-field small{grid-column:1!important}
  .cb-employee-switch{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;min-width:0}
  .cb-employee-switch .cb-checkbox-line{min-height:32px;display:flex;align-items:center;gap:6px}
  .cb-employee-switch>select{grid-column:1!important}
  .cb-journal-card{padding:9px!important}.cb-journal-top{align-items:flex-start!important;flex-direction:row!important;gap:8px!important;margin-bottom:7px!important}.cb-journal-top h2{font-size:14px!important;margin:0!important}.cb-tool-btn{height:34px;min-height:34px;font-size:10px;padding:0 9px}
  .cb-journal-scroll{max-width:100%;overflow-x:auto!important;overflow-y:auto!important}.cb-journal-table{min-width:760px!important;width:max-content!important}

  .transaction-toolbar{align-items:flex-start;flex-wrap:wrap;gap:8px}.transaction-toolbar>div{min-width:0}.transaction-filter-grid{grid-template-columns:1fr 1fr;gap:8px}.transaction-filter-grid .transaction-search{grid-column:1/-1}.table-wrap{max-width:100%;overflow-x:auto}
  .legacy-report-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.legacy-report-ribbon-item{min-height:64px!important;padding:8px!important;gap:8px!important}.legacy-report-ribbon-copy strong{font-size:11px!important}.legacy-report-ribbon-copy small{font-size:9px!important}
  .legacy-report-viewer-toolbar{align-items:stretch;flex-wrap:wrap;gap:6px;padding:7px}.legacy-report-action{flex:1 1 calc(33.333% - 6px)!important}.legacy-report-share-trigger{margin-left:0}.legacy-report-viewer-controls{gap:8px}.legacy-report-canvas{max-height:calc(100vh - 250px);padding:8px!important}
  .help-root{right:10px;bottom:calc(10px + env(safe-area-inset-bottom));}.help-fab{min-width:0;width:44px;height:44px;padding:4px;justify-content:center;border-radius:12px}.help-fab>span{width:34px;height:34px}.help-fab>div{display:none}.help-panel{right:0;bottom:52px;width:min(360px,calc(100vw - 20px));max-height:calc(100vh - 70px);overflow:auto}
  :is(input,select,textarea,button,.button-link){max-width:100%}
}


/* R-MOBILE-WORK — handset-only work mode.
   Desktop/laptop remains protected. No report print/PDF/Excel authority is changed. */
.mobile-user-unit{display:none!important}

@media screen and (max-width:768px){
  /* Mobile topbar: menu + authenticated identity/unit + one-tap logout stay visible. */
  .topbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    min-height:58px!important;
    height:auto!important;
    padding:7px 9px!important;
    gap:7px!important;
  }
  .topbar-left{flex:0 0 auto!important;min-width:0!important;gap:0!important}
  .topbar-left .search-box{display:none!important}
  .topbar-right{display:block!important;min-width:0!important;width:100%!important}
  .topbar-right .period-box{display:none!important}
  .auth-user-area{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
  }
  .topbar-right .user-chip{
    display:flex!important;
    min-width:0!important;
    max-width:100%!important;
    gap:7px!important;
    padding:3px 5px!important;
    overflow:hidden!important;
  }
  .user-chip>span{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }
  .user-chip div{display:block!important;min-width:0!important;overflow:hidden!important}
  .user-chip strong,.mobile-user-unit{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .user-chip strong{font-size:11px!important;line-height:1.2!important}
  .user-role-label{display:none!important}
  .mobile-user-unit{font-size:9px!important;line-height:1.25!important;color:#69717b!important;margin-top:2px!important}
  .logout-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:54px!important;
    min-height:44px!important;
    height:44px!important;
    padding:0 8px!important;
    white-space:nowrap!important;
    font-size:10px!important;
  }

  /* Login: touch-sized controls, compact spacing and dynamic viewport safety. */
  .login-page-final{
    min-height:calc(100dvh - 58px)!important;
    padding:12px 10px max(20px,env(safe-area-inset-bottom))!important;
    align-items:flex-start!important;
    overflow-x:hidden!important;
  }
  .login-card-final{
    width:min(100%,430px)!important;
    margin:0 auto!important;
    padding:18px 14px 18px!important;
  }
  .login-brand-final>img{width:64px!important;height:64px!important}
  .login-brand-final>strong{font-size:20px!important}
  .login-brand-final>span{font-size:14px!important}
  .login-levels{max-width:100%!important;pointer-events:none!important}
  .login-heading-final{margin:14px 0 12px!important}
  .login-heading-final h1{font-size:22px!important}
  .login-form-final{gap:12px!important}
  .login-form-final input[type=text],
  .login-form-final input[type=email],
  .login-form-final input[type=password]{
    width:100%!important;
    min-height:48px!important;
    height:48px!important;
    font-size:16px!important;
  }
  .login-submit{width:100%!important;min-height:48px!important;height:48px!important}
  .login-security-note{margin-top:12px!important}

  /* Dashboard: compact heading/KPI and mobile-card presentation for recent transactions. */
  .dashboard-modern-heading{margin-bottom:12px!important}
  .dashboard-modern-heading h1{font-size:25px!important;margin-bottom:3px!important}
  .dashboard-modern-heading p{font-size:11px!important}
  .dashboard-unit-caption{font-size:10px!important}
  .dashboard-period-card{width:100%!important;min-width:0!important;height:auto!important;min-height:54px!important}
  .dashboard-kpi-grid{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:10px!important}
  .dashboard-kpi-card{
    min-height:78px!important;
    padding:10px!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;
    gap:9px!important;
  }
  .dashboard-kpi-icon{width:40px!important;height:40px!important}
  .dashboard-kpi-copy strong{font-size:16px!important;white-space:normal!important}
  .dashboard-chart-panel,.dashboard-fund-panel,.dashboard-transactions-panel,.dashboard-reminder-panel{padding:11px!important}
  .dashboard-bar-chart{overflow-x:auto!important;grid-template-columns:repeat(12,44px)!important;overscroll-behavior-x:contain}
  .dashboard-recent-table-wrap{border:0!important;overflow:visible!important;background:transparent!important}
  .dashboard-recent-table,.dashboard-recent-table tbody{display:block!important;width:100%!important}
  .dashboard-recent-table thead{display:none!important}
  .dashboard-recent-table tr{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:
      "description type"
      "amount amount"
      "date voucher"!important;
    gap:5px 9px!important;
    margin:0 0 8px!important;
    padding:10px!important;
    border:1px solid #e5e8ec!important;
    border-radius:11px!important;
    background:#fff!important;
  }
  .dashboard-recent-table td{
    display:block!important;
    width:auto!important;
    padding:0!important;
    border:0!important;
    min-width:0!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:10px!important;
  }
  .dashboard-recent-table td:nth-child(1){grid-area:date;color:#707985!important;font-size:9px!important}
  .dashboard-recent-table td:nth-child(2){grid-area:voucher;text-align:right!important;color:#4f5864!important;font-size:9px!important}
  .dashboard-recent-table td:nth-child(3){grid-area:description;font-size:11px!important;font-weight:800!important;color:#262c33!important}
  .dashboard-recent-table td:nth-child(4){grid-area:type;justify-self:end}
  .dashboard-recent-table td:nth-child(5){grid-area:amount;font-size:15px!important;font-weight:900!important;color:#1f252c!important}
  .dashboard-type-pill{font-size:9px!important;padding:3px 7px!important}

  /* Menu hubs: compact one-row work cards instead of tall desktop cards. */
  .kb-card-grid{grid-template-columns:1fr!important;gap:8px!important}
  .kb-card{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
    min-height:72px!important;
    padding:10px!important;
    border-radius:12px!important;
  }
  .kb-card-icon{
    width:44px!important;
    height:44px!important;
    margin:0!important;
    border-radius:11px!important;
  }
  .kb-card-icon svg{width:25px!important;height:25px!important}
  .kb-card-copy{display:block!important;min-height:0!important;min-width:0!important}
  .kb-card-copy h3{
    margin:0 0 3px!important;
    font-size:12px!important;
    line-height:1.2!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .kb-card-copy p{
    margin:0!important;
    font-size:9px!important;
    line-height:1.3!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .kb-card-button{
    align-self:center!important;
    width:auto!important;
    min-width:64px!important;
    min-height:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0 9px!important;
    font-size:10px!important;
  }

  /* Report hub: never retain the desktop 4-column authority on a phone. */
  .ui-1366-standard .legacy-report-ribbon{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .ui-1366-standard .legacy-report-ribbon-item{
    min-height:68px!important;
    padding:9px 28px 9px 9px!important;
    gap:9px!important;
  }
  .ui-1366-standard .legacy-report-ribbon-copy strong{font-size:11px!important}
  .ui-1366-standard .legacy-report-ribbon-copy small{
    font-size:9px!important;
    line-height:1.25!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }

  /* Report options: one-column touch workflow; data/query/commands remain unchanged. */
  .legacy-report-options{display:flex!important;flex-direction:column!important;gap:9px!important}
  .legacy-report-commandbar{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    padding:8px!important;
  }
  .legacy-report-commandbar :is(button,.button-link){
    width:100%!important;
    min-height:44px!important;
    justify-content:center!important;
  }
  .legacy-report-selector{overflow:visible!important;padding:0!important}
  .legacy-report-choice-table,.legacy-report-choice-table tbody{display:block!important;width:100%!important}
  .legacy-report-choice-table thead{display:none!important}
  .legacy-report-choice-table tr{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:2px 8px!important;
    margin:0 0 7px!important;
    padding:9px!important;
    border:1px solid #e4e7eb!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .legacy-report-choice-table tr.selected{border-color:#e89ca5!important;background:#fff5f6!important}
  .legacy-report-choice-table td{
    display:block!important;
    width:auto!important;
    padding:0!important;
    border:0!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    font-size:11px!important;
  }
  .legacy-report-choice-table td:first-child{
    grid-row:1 / span 3!important;
    align-self:center!important;
    text-align:center!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  .legacy-report-choice-table td:nth-child(2){font-weight:800!important;color:#252b32!important}
  .legacy-report-choice-table td:nth-child(n+3){grid-column:2!important;color:#6b7480!important;font-size:9px!important}

  .legacy-report-options :is(
    .legacy-report-filter-grid,
    .trial-balance-filter-grid,
    .financial-position-filter-grid,
    .income-statement-filter-grid,
    .consolidated-income-filter-grid,
    .cash-flow-filter-grid,
    .cash-bank-filter-grid,
    .fixed-asset-filter-grid,
    .fund-hub-filter-grid
  ){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  .legacy-report-options :is(
    .trial-range-row,
    .financial-position-range-row,
    .income-statement-range-row,
    .consolidated-income-range-row,
    .cash-flow-range-row,
    .cash-bank-range-row,
    .fixed-asset-range-row
  ){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
  }
  .legacy-report-options :is(
    .financial-position-check-grid,
    .income-statement-check-grid,
    .consolidated-income-check-grid
  ){
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .legacy-report-options label{min-width:0!important}
  .legacy-report-options :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
    width:100%!important;
    max-width:100%!important;
    min-height:44px!important;
    font-size:14px!important;
  }

  /* Report viewer: toolbar remains complete; paper authority stays unchanged. */
  .legacy-report-viewer-toolbar{gap:6px!important}
  .legacy-report-action{min-height:44px!important}
  .legacy-report-viewer-controls{gap:8px!important;padding-bottom:max(4px,env(safe-area-inset-bottom))!important}
  .legacy-report-control{min-width:42px!important;height:42px!important}
  .legacy-report-canvas{max-width:100%!important;overflow:auto!important;overscroll-behavior:contain!important}
  .legacy-report-canvas .legacy-report-paper{zoom:var(--preview-scale)!important;transform:none!important;transform-origin:top left!important}
}

/* Portrait phones with enough width may use two report cards; 360px remains one column. */
@media screen and (min-width:390px) and (max-width:768px) and (orientation:portrait){
  .ui-1366-standard .legacy-report-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Existing short-landscape handset authority: explicitly undo desktop-only hiding and
   desktop report-option grids that otherwise activate above 800px. */
@media screen and (orientation:landscape) and (max-height:600px) and (max-width:1024px){
  .topbar{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    min-height:54px!important;
    height:auto!important;
    padding:5px 9px!important;
    gap:7px!important;
  }
  .topbar-left{flex:0 0 auto!important;min-width:0!important;gap:0!important}
  .topbar-left .search-box{display:none!important}
  .topbar-right{display:block!important;min-width:0!important;width:100%!important}
  .period-box{display:none!important}
  .auth-user-area{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
  }
  .topbar-right .user-chip{display:flex!important;min-width:0!important;max-width:100%!important;gap:7px!important;padding:2px 5px!important;overflow:hidden!important}
  .user-chip>span{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;font-size:12px!important}
  .user-chip div{display:block!important;min-width:0!important;overflow:hidden!important}
  .user-chip strong,.mobile-user-unit{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .user-chip strong{font-size:10px!important;line-height:1.15!important}
  .user-role-label{display:none!important}
  .mobile-user-unit{font-size:8px!important;line-height:1.15!important;color:#69717b!important;margin-top:1px!important}
  .logout-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:54px!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 8px!important;
    white-space:nowrap!important;
    font-size:10px!important;
  }

  .login-page-final{
    min-height:calc(100dvh - 54px)!important;
    padding:8px 10px max(10px,env(safe-area-inset-bottom))!important;
    align-items:flex-start!important;
    overflow-x:hidden!important;
  }
  .login-card-final{
    width:min(100%,520px)!important;
    margin:0 auto!important;
    padding:12px 16px!important;
    border-radius:14px!important;
  }
  .login-brand-final{gap:4px!important}
  .login-brand-final>img{width:48px!important;height:48px!important}
  .login-brand-final>strong{font-size:17px!important}
  .login-brand-final>span{font-size:12px!important}
  .login-levels{margin-top:5px!important;pointer-events:none!important}
  .login-heading-final{margin:8px 0!important}
  .login-heading-final h1{font-size:19px!important}
  .login-heading-final p,.login-security-note{font-size:9px!important}
  .login-form-final{gap:7px!important}
  .login-form-final input[type=text],
  .login-form-final input[type=email],
  .login-form-final input[type=password]{min-height:42px!important;height:42px!important;font-size:15px!important}
  .login-submit{width:100%!important;min-height:42px!important;height:42px!important}

  .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .dashboard-kpi-card{min-height:68px!important;padding:8px!important}
  .dashboard-recent-table-wrap{border:0!important;overflow:visible!important;background:transparent!important}
  .dashboard-recent-table,.dashboard-recent-table tbody{display:block!important;width:100%!important}
  .dashboard-recent-table thead{display:none!important}
  .dashboard-recent-table tr{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"description type" "amount amount" "date voucher"!important;
    gap:4px 8px!important;
    margin:0 0 7px!important;
    padding:8px 9px!important;
    border:1px solid #e5e8ec!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .dashboard-recent-table td{display:block!important;width:auto!important;padding:0!important;border:0!important;min-width:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important}
  .dashboard-recent-table td:nth-child(1){grid-area:date;color:#707985!important}
  .dashboard-recent-table td:nth-child(2){grid-area:voucher;text-align:right!important}
  .dashboard-recent-table td:nth-child(3){grid-area:description;font-size:10px!important;font-weight:800!important}
  .dashboard-recent-table td:nth-child(4){grid-area:type;justify-self:end}
  .dashboard-recent-table td:nth-child(5){grid-area:amount;font-size:13px!important;font-weight:900!important}

  .kb-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .kb-card{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    min-height:64px!important;
    padding:8px!important;
    border-radius:10px!important;
  }
  .kb-card-icon{width:40px!important;height:40px!important;margin:0!important;border-radius:10px!important}
  .kb-card-icon svg{width:23px!important;height:23px!important}
  .kb-card-copy{display:block!important;min-height:0!important;min-width:0!important}
  .kb-card-copy h3{margin:0 0 2px!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .kb-card-copy p{margin:0!important;font-size:8px!important;line-height:1.2!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
  .kb-card-button{width:auto!important;min-width:58px!important;min-height:40px!important;height:40px!important;margin:0!important;padding:0 8px!important;font-size:9px!important}

  .ui-1366-standard .legacy-report-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .legacy-report-options{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    min-height:0!important;
  }
  .legacy-report-commandbar{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
    height:auto!important;
    min-height:0!important;
    padding:6px!important;
  }
  .legacy-report-commandbar :is(button,.button-link){width:100%!important;min-height:40px!important;height:40px!important;padding:0 7px!important;font-size:9px!important;justify-content:center!important}
  .legacy-report-selector{overflow:visible!important;padding:0!important}
  .legacy-report-choice-table,.legacy-report-choice-table tbody{display:block!important;width:100%!important}
  .legacy-report-choice-table thead{display:none!important}
  .legacy-report-choice-table tr{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:2px 7px!important;margin:0 0 5px!important;padding:7px 8px!important;border:1px solid #e4e7eb!important;border-radius:9px!important;background:#fff!important}
  .legacy-report-choice-table td{display:block!important;width:auto!important;padding:0!important;border:0!important;min-width:0!important;white-space:normal!important;font-size:9px!important}
  .legacy-report-choice-table td:first-child{grid-row:1 / span 3!important;align-self:center!important;text-align:center!important;font-size:11px!important;font-weight:900!important}
  .legacy-report-choice-table td:nth-child(2){font-weight:800!important}
  .legacy-report-choice-table td:nth-child(n+3){grid-column:2!important;color:#6b7480!important;font-size:8px!important}

  .legacy-report-options :is(
    .legacy-report-filter-grid,
    .trial-balance-filter-grid,
    .financial-position-filter-grid,
    .income-statement-filter-grid,
    .consolidated-income-filter-grid,
    .cash-flow-filter-grid,
    .cash-bank-filter-grid,
    .fixed-asset-filter-grid,
    .fund-hub-filter-grid
  ){display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .legacy-report-options :is(
    .trial-range-row,
    .financial-position-range-row,
    .income-statement-range-row,
    .consolidated-income-range-row,
    .cash-flow-range-row,
    .cash-bank-range-row,
    .fixed-asset-range-row
  ){display:grid!important;grid-template-columns:1fr!important;gap:4px!important}
  .legacy-report-options :is(
    .financial-position-check-grid,
    .income-statement-check-grid,
    .consolidated-income-check-grid
  ){display:grid!important;grid-template-columns:1fr!important;gap:5px!important}
  .legacy-report-options :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%!important;max-width:100%!important;min-height:40px!important;font-size:12px!important}

  .legacy-report-viewer-toolbar{gap:6px!important;padding:6px!important}
  .legacy-report-action{min-height:40px!important}
  .legacy-report-control{min-width:40px!important;height:40px!important}
  .legacy-report-canvas{max-width:100%!important;overflow:auto!important;overscroll-behavior:contain!important}
  .legacy-report-canvas .legacy-report-paper{zoom:var(--preview-scale)!important;transform:none!important;transform-origin:top left!important}
}

/* R-DESKTOP-READABILITY-1366 — desktop/laptop presentation refinement only.
   Scope: 1366-class desktop widths. Mobile Work Mode and report document authority stay untouched. */
@media screen and (min-width:1025px){
  /* Shell authority: preserve the current cascade winner (248px sidebar / 60px topbar) explicitly. */
  .app-shell.ui-1366-standard{grid-template-columns:248px minmax(0,1fr)}
  .ui-1366-standard .topbar{height:60px!important;padding:0 18px!important}
  .ui-1366-standard .brand-copy small{font-size:9.25px}
  .ui-1366-standard .nav-menu a,
  .ui-1366-standard .nav-menu-final .nav-public-zone a{font-size:13px!important}
  .ui-1366-standard .nav-menu-final .nav-public-badge{font-size:8.5px}
  .ui-1366-standard .sidebar-foot strong{font-size:10px}
  .ui-1366-standard .sidebar-foot small{font-size:9px}

  .ui-1366-standard .search-box input{font-size:12px!important}
  .ui-1366-standard .period-box span{font-size:9px}
  .ui-1366-standard .period-box strong{font-size:10.75px}
  .ui-1366-standard .user-chip strong{font-size:11.25px}
  .ui-1366-standard .user-chip small{font-size:9.25px}
  .ui-1366-standard .logout-button{min-height:30px;padding:4px 9px;font-size:10.25px}

  /* Shared desktop typography. Geometry stays compact. */
  .ui-1366-standard .content{font-size:11px}
  .ui-1366-standard .main-area>footer{font-size:9px}
  .ui-1366-standard .page-heading h1{font-size:24px}
  .ui-1366-standard .page-heading p{font-size:10.75px;line-height:1.4}
  .ui-1366-standard .eyebrow{font-size:9px}
  .ui-1366-standard .primary,
  .ui-1366-standard .secondary,
  .ui-1366-standard .quiet,
  .ui-1366-standard .link-action,
  .ui-1366-standard .content button:not(.icon-button):not(.help-fab):not(.ai-send):not(.ai-followup-pill){font-size:10.25px}
  .ui-1366-standard label,
  .ui-1366-standard .placeholder-form label,
  .ui-1366-standard .form-grid label,
  .ui-1366-standard .filter-row label,
  .ui-1366-standard .lookup-bar label,
  .ui-1366-standard .transaction-filter-grid label,
  .ui-1366-standard .transaction-form-grid label{font-size:10.5px}
  .ui-1366-standard .content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),
  .ui-1366-standard .content select,
  .ui-1366-standard .content textarea{font-size:10.75px}
  .ui-1366-standard .small-note,
  .ui-1366-standard .muted,
  .ui-1366-standard .field-help,
  .ui-1366-standard .table-subtext{font-size:9.25px;line-height:1.35}
  .ui-1366-standard .feedback,
  .ui-1366-standard .alert,
  .ui-1366-standard .integrity-note,
  .ui-1366-standard .scope-note{font-size:9.5px}

  /* Functional helpers still overridden by historical compact desktop rules. */
  .ui-1366-standard .user-setting-page-copy small{font-size:9.25px}
  .ui-1366-standard .action-grid-2x .quiet,
  .ui-1366-standard .action-grid-2x .button-link{font-size:10px!important}
  .ui-1366-standard .opening-balance-proof>div small,
  .ui-1366-standard .opening-balance-report-description span,
  .ui-1366-standard .fund-shortcut-help::before,
  .ui-1366-standard .fund-shortcut-help-grid small,
  .ui-1366-standard .cash-bank-filter-card::before,
  .ui-1366-standard .fund-hub-filter-card::before{font-size:9px}
  .ui-1366-standard .journal-daily-table th{font-size:9.5px}

  /* Work tables only. Report paper/document tables are deliberately excluded. */
  .ui-1366-standard :is(.master-table,.transaction-table,.voucher-table,.dashboard-recent-table) th{font-size:9.5px}
  .ui-1366-standard :is(.master-table,.transaction-table,.voucher-table,.dashboard-recent-table) td{font-size:10px}

  /* Menu hubs: keep the existing grid/route/interaction structure. */
  .ui-1366-standard .menu-copy strong{font-size:12.25px}
  .ui-1366-standard .menu-copy small{font-size:9.75px;line-height:1.35}
  .ui-1366-standard .shortcut-card strong{font-size:11px}
  .ui-1366-standard .shortcut-card small{font-size:9.5px}
  .ui-1366-standard .kb-card-copy h3{font-size:12.25px;line-height:1.25}
  .ui-1366-standard .kb-card-copy p{font-size:9.75px;line-height:1.35}
  .ui-1366-standard .kb-card-button{font-size:10px}

  /* Dashboard: increase functional text only; card/panel geometry and datasets stay unchanged. */
  .ui-1366-standard .dashboard-modern-heading h1{font-size:24px!important}
  .ui-1366-standard .dashboard-modern-heading p{font-size:10.5px}
  .ui-1366-standard .dashboard-unit-caption{font-size:9.25px}
  .ui-1366-standard .dashboard-period-card small{font-size:9px}
  .ui-1366-standard .dashboard-period-card strong{font-size:10.75px}
  .ui-1366-standard .dashboard-period-card em{font-size:9px}
  .ui-1366-standard .dashboard-kpi-copy span{font-size:9.25px!important}
  .ui-1366-standard .dashboard-kpi-copy strong{font-size:14.5px!important}
  .ui-1366-standard .dashboard-kpi-copy small{font-size:9px!important;line-height:1.3!important}
  .ui-1366-standard .dashboard-kpi-trend,
  .ui-1366-standard .dashboard-kpi-link{font-size:9px!important}
  .ui-1366-standard .dashboard-panel-head h2{font-size:12.5px!important}
  .ui-1366-standard .dashboard-panel-head small{font-size:9px!important}
  .ui-1366-standard .dashboard-filter-pill{font-size:9px!important}
  .ui-1366-standard .dashboard-financial-summary-group h3{font-size:9.25px!important}
  .ui-1366-standard .dashboard-financial-summary-group span{font-size:9.25px!important}
  .ui-1366-standard .dashboard-financial-summary-group strong{font-size:10.25px!important}
  .ui-1366-standard .dashboard-bar-column small{font-size:9px}
  .ui-1366-standard .dashboard-chart-legend{font-size:9px}
  .ui-1366-standard .dashboard-donut small{font-size:9px}
  .ui-1366-standard .dashboard-donut strong{font-size:10px}
  .ui-1366-standard .dashboard-fund-legend strong{font-size:9.5px}
  .ui-1366-standard .dashboard-fund-legend small{font-size:9px}
  .ui-1366-standard .dashboard-fund-total span{font-size:9px}
  .ui-1366-standard .dashboard-fund-total strong{font-size:10px}
  .ui-1366-standard .dashboard-recent-table th{font-size:9.5px!important}
  .ui-1366-standard .dashboard-recent-table td{font-size:10px!important}
  .ui-1366-standard .dashboard-type-pill{font-size:9px!important}
  .ui-1366-standard .dashboard-reminder-list strong{font-size:9.5px}
  .ui-1366-standard .dashboard-reminder-list small{font-size:9px}
  .ui-1366-standard .dashboard-reminder-list a{font-size:9px}

  /* Report hub: screen menu cards only; report paper/output typography is untouched. */
  .ui-1366-standard .legacy-report-ribbon-copy strong{font-size:12px}
  .ui-1366-standard .legacy-report-ribbon-copy small{font-size:9.5px;line-height:1.3}
  .ui-1366-standard .legacy-report-hub-note{font-size:9.5px;line-height:1.3}

  /* Report options: preserve the two-column desktop workflow and all bindings/actions. */
  .ui-1366-standard .legacy-report-commandbar button,
  .ui-1366-standard .legacy-report-commandbar .button-link{font-size:10.75px!important}
  .ui-1366-standard .legacy-print-info strong,
  .ui-1366-standard .legacy-print-info span{font-size:9.5px}
  .ui-1366-standard .legacy-report-setup-head span,
  .ui-1366-standard .legacy-report-caption span{font-size:9.25px!important}
  .ui-1366-standard .legacy-report-setup-head small{font-size:9.5px}
  .ui-1366-standard .legacy-report-setup-head em{font-size:9px}
  .ui-1366-standard .legacy-report-caption p{font-size:9.5px!important}
  .ui-1366-standard .legacy-report-caption>strong{font-size:9.5px!important}
  .ui-1366-standard .legacy-report-selector::before,
  .ui-1366-standard :is(.legacy-report-filter-card,.trial-balance-filter-card,.financial-position-filter-card,.consolidated-position-filter-card,.income-statement-filter-card,.consolidated-income-filter-card,.cash-flow-filter-card,.fixed-asset-filter-card)::before{font-size:9.25px}
  .ui-1366-standard .legacy-report-choice-table th{font-size:9.5px!important}
  .ui-1366-standard .legacy-report-choice-table td{font-size:10.5px!important}
  .ui-1366-standard .legacy-report-choice-table td small{font-size:9.25px!important}
  .ui-1366-standard .legacy-report-scope-note{font-size:9.25px!important}
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid)>label:not(.trial-checkbox){font-size:10.5px!important}
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) input:not([type=checkbox]),
  .ui-1366-standard :is(.trial-balance-filter-grid,.financial-position-filter-grid,.consolidated-position-filter-grid,.income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,.fixed-asset-filter-grid) select{font-size:10.5px!important}
  .ui-1366-standard :is(.trial-range-row,.financial-position-range-row,.consolidated-position-range-row,.income-statement-range-row,.consolidated-income-range-row,.cash-flow-range-row,.fixed-asset-range-row){font-size:10.5px!important}
  .ui-1366-standard :is(.income-statement-range-row,.consolidated-income-range-row)>strong{font-size:9px!important}
  .ui-1366-standard :is(.financial-position-check-grid,.consolidated-position-check-grid,.income-statement-check-grid,.consolidated-income-check-grid) label{font-size:10px!important}
  .ui-1366-standard .report-fund-lock span,
  .ui-1366-standard .report-scope-authority-grid>label{font-size:9.25px}
  .ui-1366-standard .report-fund-lock em{font-size:9px}
  .ui-1366-standard .report-scope-authority-note strong{font-size:10px}
  .ui-1366-standard .report-scope-authority-note span{font-size:9px}
  .ui-1366-standard .report-fiscal-note strong{font-size:9.25px!important}
  .ui-1366-standard .report-fiscal-note span{font-size:9.75px!important}
  .ui-1366-standard .report-fund-selector,
  .ui-1366-standard .legacy-report-output-orientation{font-size:9.25px}

  /* Viewer chrome only. Paper width/orientation, print, PDF and Excel remain authority-owned. */
  .ui-1366-standard .legacy-report-viewer-toolbar .legacy-report-action,
  .ui-1366-standard .legacy-report-viewer-toolbar .legacy-report-control{font-size:10.75px!important}
  .ui-1366-standard .legacy-report-viewer-info{font-size:10px!important}
}

/* R130 final print override after all legacy output rules. */
@media print{
  .legacy-report-paper.paper-landscape,
  .legacy-report-paper.paper-portrait{
    box-sizing:border-box!important;
    width:297mm!important;
    height:210mm!important;
    min-height:210mm!important;
    padding:7mm!important;
  }
  .legacy-report-paper.paper-portrait{
    width:210mm!important;
    height:297mm!important;
    min-height:297mm!important;
  }
}

@media screen and (min-width:1100px){
  .ui-1366-standard .legacy-report-paper.paper-landscape{
    width:297mm!important;
    height:210mm!important;
    min-height:210mm!important;
    padding:7mm!important;
  }
  .ui-1366-standard .legacy-report-paper.paper-portrait{
    width:210mm!important;
    height:297mm!important;
    min-height:297mm!important;
    padding:7mm!important;
  }
}

/* R130.1 — Buku Besar preview uses the physical A4 box at every viewport.
   The viewer may scale this box for presentation, but it must not reflow the
   document into a 960px/viewport-width paper whose height grows with content. */
.ui-1366-standard .legacy-report-viewer.output-orientation-landscape .legacy-report-paper.paper-landscape.ledger-book-paper{
  box-sizing:border-box!important;
  width:297mm!important;
  max-width:297mm!important;
  min-width:297mm!important;
  height:210mm!important;
  min-height:210mm!important;
  padding:7mm!important;
  overflow:visible!important;
}
.ui-1366-standard .legacy-report-viewer.output-orientation-portrait .legacy-report-paper.paper-portrait.ledger-book-paper{
  box-sizing:border-box!important;
  width:210mm!important;
  max-width:210mm!important;
  min-width:210mm!important;
  height:297mm!important;
  min-height:297mm!important;
  padding:7mm!important;
  overflow:visible!important;
}

/* R-MOBILE-PORTRAIT-FINAL — webbase baseline for the future Android WebView.
   Presentation only. Desktop, report paper/pagination, export/share and accounting logic stay untouched. */
@media screen and (max-width:768px) and (orientation:portrait){
  /* App-like shell: compact visual chrome while every interactive target remains finger-safe. */
  .ui-1366-standard .topbar{
    min-height:52px!important;
    height:auto!important;
    padding:4px 8px!important;
    gap:6px!important;
  }
  .ui-1366-standard .icon-button{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border-radius:10px!important;
    font-size:18px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .auth-user-area{gap:5px!important}
  .ui-1366-standard .topbar-right .user-chip{
    min-height:44px!important;
    padding:3px 4px!important;
    gap:6px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .user-chip>span{
    width:36px!important;height:36px!important;min-width:36px!important;
    border-radius:10px!important;font-size:13px!important;
  }
  .ui-1366-standard .user-chip strong{font-size:12px!important;line-height:1.15!important}
  .ui-1366-standard .mobile-user-unit{font-size:10.5px!important;line-height:1.15!important;margin-top:2px!important}
  .ui-1366-standard .logout-button{
    min-width:58px!important;min-height:44px!important;height:44px!important;
    padding:0 9px!important;border-radius:9px!important;font-size:12px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .content{
    width:100%!important;
    padding:10px 10px max(20px,calc(12px + env(safe-area-inset-bottom)))!important;
    overflow-x:hidden!important;
  }
  .ui-1366-standard .page-heading{gap:6px!important;margin-bottom:10px!important}
  .ui-1366-standard .page-heading h1{font-size:22px!important;line-height:1.15!important;margin:2px 0 3px!important}
  .ui-1366-standard .page-heading p{font-size:12.5px!important;line-height:1.4!important}
  .ui-1366-standard .eyebrow{font-size:10.5px!important}

  /* Drawer: search remains available; rows are compact visually but >=44px high. */
  .ui-1366-standard .sidebar{
    width:min(310px,88vw)!important;
    padding:12px 12px max(14px,calc(8px + env(safe-area-inset-bottom)))!important;
  }
  .ui-1366-standard .sidebar .brand{
    gap:10px!important;padding:0 4px 11px!important;margin:0!important;
  }
  .ui-1366-standard .sidebar .brand-badge{width:44px!important;height:44px!important;min-width:44px!important}
  .ui-1366-standard .sidebar .brand-copy strong{font-size:13px!important}
  .ui-1366-standard .sidebar .brand-copy small{font-size:11px!important;margin-top:2px!important}
  .ui-1366-standard .sidebar>.mobile-drawer-search{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    width:100%!important;
    min-height:44px!important;
    margin:9px 0 7px!important;
    padding:0 10px!important;
    gap:7px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.08)!important;
    color:#dfe3e8!important;
  }
  .ui-1366-standard .mobile-drawer-search input{
    width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;
    padding:0!important;border:0!important;outline:0!important;background:transparent!important;
    color:#fff!important;font:inherit!important;font-size:14px!important;
  }
  .ui-1366-standard .mobile-drawer-search input::placeholder{color:#bdc3cb!important;opacity:1!important}
  .ui-1366-standard .nav-menu{gap:4px!important;padding-top:2px!important}
  .ui-1366-standard .nav-menu a,
  .ui-1366-standard .nav-menu-final .nav-public-zone a{
    min-height:46px!important;
    padding:6px 9px!important;
    gap:9px!important;
    border-radius:9px!important;
    font-size:13px!important;
    line-height:1.2!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .nav-icon{
    width:32px!important;height:32px!important;min-width:32px!important;
    border-radius:8px!important;font-size:13px!important;
  }
  .ui-1366-standard .nav-menu-final .nav-public-zone{margin-top:7px!important;padding-top:7px!important;gap:4px!important}
  .ui-1366-standard .nav-menu-final .nav-public-badge{font-size:9px!important}
  .ui-1366-standard .sidebar-foot{padding:9px!important;border-radius:10px!important}
  .ui-1366-standard .sidebar-foot strong{font-size:11px!important}
  .ui-1366-standard .sidebar-foot small{font-size:10px!important}

  /* General menu/card hubs: full-row thumb targets, not miniature desktop cards. */
  .ui-1366-standard .menu-grid,
  .ui-1366-standard .shortcut-grid.three,
  .ui-1366-standard .shortcut-grid.four,
  .ui-1366-standard .kb-card-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .ui-1366-standard .menu-card{
    min-height:72px!important;
    padding:9px 10px!important;
    grid-template-columns:44px minmax(0,1fr) 18px!important;
    gap:10px!important;
    border-radius:12px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .menu-card:before{top:12px!important;bottom:12px!important;width:3px!important}
  .ui-1366-standard .menu-icon,
  .ui-1366-standard .shortcut-icon{
    width:44px!important;height:44px!important;min-width:44px!important;
    border-radius:11px!important;
  }
  .ui-1366-standard .menu-copy strong{font-size:13px!important;line-height:1.2!important;margin-bottom:3px!important}
  .ui-1366-standard .menu-copy small{font-size:11px!important;line-height:1.3!important}
  .ui-1366-standard .menu-arrow{font-size:20px!important}
  .ui-1366-standard .shortcut-card{min-height:68px!important;padding:9px 10px!important;gap:9px!important;border-radius:12px!important}
  .ui-1366-standard .shortcut-card strong{font-size:13px!important}
  .ui-1366-standard .shortcut-card small{font-size:10.5px!important;line-height:1.3!important}

  .ui-1366-standard .kb-card{
    min-height:76px!important;
    padding:9px 10px!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    gap:9px!important;
    border-radius:12px!important;
  }
  .ui-1366-standard .kb-card-icon{width:44px!important;height:44px!important;min-width:44px!important;border-radius:11px!important}
  .ui-1366-standard .kb-card-icon svg{width:24px!important;height:24px!important}
  .ui-1366-standard .kb-card-copy h3{font-size:13px!important;line-height:1.2!important;margin:0 0 3px!important;white-space:normal!important}
  .ui-1366-standard .kb-card-copy p{font-size:10.5px!important;line-height:1.3!important;-webkit-line-clamp:2!important}
  .ui-1366-standard .kb-card-button{
    min-width:68px!important;min-height:44px!important;height:44px!important;
    padding:0 9px!important;font-size:12px!important;border-radius:9px!important;
    touch-action:manipulation;
  }

  /* Reports menu: every report is a distinct thumb-safe action row, not one large nested card. */
  .ui-1366-standard .legacy-report-hub{
    padding:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  .ui-1366-standard .legacy-report-ribbon{grid-template-columns:1fr!important;gap:7px!important}
  .ui-1366-standard .legacy-report-ribbon-item{
    position:relative!important;display:flex!important;align-items:center!important;
    min-height:64px!important;padding:8px 30px 8px 9px!important;gap:9px!important;
    border:1px solid #dfe3e8!important;border-radius:11px!important;background:#fff!important;
    color:#20242a!important;text-decoration:none!important;
    box-shadow:0 2px 7px rgba(28,31,36,.045)!important;touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-ribbon-item::after{
    content:'›'!important;position:absolute!important;right:10px!important;top:50%!important;
    transform:translateY(-50%)!important;font-size:20px!important;line-height:1!important;
    color:#aeb5bd!important;font-weight:700!important;
  }
  .ui-1366-standard .legacy-report-ribbon-item.disabled::after{display:none!important}
  .ui-1366-standard .legacy-report-ribbon-icon{
    display:grid!important;place-items:center!important;flex:0 0 44px!important;
    width:44px!important;height:44px!important;min-width:44px!important;
    border:1px solid #f0d1d4!important;border-radius:10px!important;background:#fff5f6!important;color:#cf0015!important;
  }
  .ui-1366-standard .legacy-report-ribbon-copy{gap:2px!important;min-width:0!important}
  .ui-1366-standard .legacy-report-ribbon-copy strong{font-size:13px!important;line-height:1.2!important}
  .ui-1366-standard .legacy-report-ribbon-copy small{font-size:10.75px!important;line-height:1.28!important;-webkit-line-clamp:1!important}
  .ui-1366-standard .legacy-report-hub-note{margin-top:8px!important;padding:8px 2px 0!important;font-size:11px!important;line-height:1.35!important}

  /* Cash/Bank transaction entry: one-column data flow with deterministic thumb-safe actions. */
  .ui-1366-standard .cb-entry-shell:is(.cb-compact-1366,.jm-compact-1366){
    width:100%!important;max-width:100%!important;min-width:0!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;font-size:13px!important;line-height:1.25!important;
  }
  .ui-1366-standard .cb-entry-shell:is(.cb-compact-1366,.jm-compact-1366) > :is(.cb-actionbar,.cb-search-title-r52,.cb-search-title,.cb-header-card,.jm-header-card,.cb-journal-card){
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  .ui-1366-standard .cb-actionbar{padding:8px!important;border-radius:10px!important;gap:7px!important}
  .ui-1366-standard .cb-action-buttons{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
    width:100%!important;
    flex:1 1 100%!important;
  }
  .ui-1366-standard .cb-action-buttons .cb-btn{
    width:100%!important;min-width:0!important;
    height:44px!important;min-height:44px!important;max-height:none!important;
    padding:0 5px!important;border-radius:8px!important;
    font-size:11.5px!important;line-height:1.1!important;justify-content:center!important;gap:4px!important;
    white-space:nowrap!important;touch-action:manipulation;
  }
  /* On mobile, Save is the primary transaction action; New remains available but visually secondary. */
  .ui-1366-standard .cb-action-buttons .cb-btn.primary:first-child{
    background:#fff!important;color:#353b43!important;border-color:#d5dae0!important;box-shadow:none!important;
  }
  .ui-1366-standard .cb-action-buttons .cb-btn:last-child{
    background:#f7f8fa!important;color:#4c545e!important;border-color:#dfe3e7!important;
  }
  .ui-1366-standard .cb-print-after-save-right{
    width:100%!important;min-height:44px!important;
    display:flex!important;align-items:center!important;
    gap:8px!important;margin:0!important;padding:0 4px!important;
    font-size:12px!important;white-space:normal!important;
  }
  .ui-1366-standard .cb-print-after-save-right input{width:20px!important;height:20px!important;min-height:20px!important}

  .ui-1366-standard .cb-search-title-r52{
    display:flex!important;flex-direction:column!important;
    min-height:0!important;padding:8px 10px!important;gap:7px!important;
  }
  .ui-1366-standard .cb-search-title-r52 h1{
    order:-1!important;text-align:left!important;margin:0!important;
    font-size:18px!important;line-height:1.2!important;white-space:normal!important;
  }
  .ui-1366-standard .cb-search-title-r52 .cb-voucher-search{
    display:grid!important;grid-template-columns:minmax(0,1fr) 72px!important;
    width:100%!important;gap:6px!important;align-items:end!important;
  }
  .ui-1366-standard .cb-search-title-r52 .cb-voucher-search strong{
    grid-column:1/-1!important;font-size:12.5px!important;line-height:1.2!important;
  }
  .ui-1366-standard .cb-search-title-r52 .cb-voucher-search input{
    width:100%!important;height:44px!important;min-height:44px!important;
    padding:0 10px!important;font-size:14px!important;border-radius:8px!important;
  }
  .ui-1366-standard .cb-search-title-r52 .cb-search-btn{
    width:72px!important;height:44px!important;min-height:44px!important;
    padding:0 10px!important;font-size:12px!important;border-radius:8px!important;
    touch-action:manipulation;
  }

  /* Jurnal Memorial uses the older cb-search-title/jm-header-grid markup; keep the same portrait interaction standard. */
  .ui-1366-standard .jm-compact-1366 .cb-search-title{
    display:flex!important;flex-direction:column!important;
    width:100%!important;min-width:0!important;min-height:0!important;
    padding:8px 10px!important;gap:7px!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-search-title h1{
    order:-1!important;text-align:left!important;margin:0!important;
    font-size:18px!important;line-height:1.2!important;white-space:normal!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search{
    display:grid!important;grid-template-columns:minmax(0,1fr) 72px!important;
    width:100%!important;min-width:0!important;gap:6px!important;align-items:end!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search strong{
    grid-column:1/-1!important;font-size:12.5px!important;line-height:1.2!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-voucher-search input{
    width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:none!important;
    padding:0 10px!important;font-size:14px!important;border-radius:8px!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-search-btn{
    width:72px!important;height:44px!important;min-height:44px!important;max-height:none!important;
    padding:0 10px!important;font-size:12px!important;border-radius:8px!important;
    touch-action:manipulation;
  }

  .ui-1366-standard .cb-header-card{padding:10px!important;border-radius:10px!important}
  .ui-1366-standard .cb-header-grid{
    display:grid!important;grid-template-columns:1fr!important;grid-template-areas:none!important;
    gap:9px!important;
  }
  .ui-1366-standard .cb-header-grid :is(
    .cb-field-voucher,.cb-field-date,.cb-field-amount,.cb-field-employee,.cb-field-fund,
    .cb-field-unit,.cb-field-account,.cb-field-target,.cb-field-description
  ){grid-area:auto!important}
  .ui-1366-standard .cb-header-grid>label{
    display:grid!important;grid-template-columns:1fr!important;gap:5px!important;
    font-size:12.5px!important;line-height:1.2!important;
  }
  .ui-1366-standard .cb-header-grid :is(input,select),
  .ui-1366-standard .cb-employee-switch select{
    width:100%!important;height:44px!important;min-height:44px!important;max-height:none!important;
    padding:0 10px!important;border-radius:8px!important;font-size:14px!important;line-height:1.2!important;
  }
  .ui-1366-standard .cb-description-field{display:grid!important;grid-template-columns:1fr!important;gap:5px!important}
  .ui-1366-standard .cb-description-field textarea{
    width:100%!important;min-height:84px!important;height:84px!important;max-height:none!important;
    padding:9px 10px!important;border-radius:8px!important;font-size:14px!important;line-height:1.35!important;
  }
  .ui-1366-standard .cb-description-field small{grid-column:1!important;font-size:10.5px!important;line-height:1.3!important}
  .ui-1366-standard .cb-employee-switch{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  .ui-1366-standard .cb-employee-switch .cb-checkbox-line{min-height:44px!important;font-size:12px!important;gap:8px!important}
  .ui-1366-standard .cb-employee-switch .cb-checkbox-line input{width:20px!important;height:20px!important;min-height:20px!important}

  .ui-1366-standard .jm-header-card{padding:10px!important;border-radius:10px!important}
  .ui-1366-standard .jm-compact-1366 .jm-header-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:9px!important;
    width:100%!important;min-width:0!important;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid>label{
    display:grid!important;grid-template-columns:1fr!important;grid-column:auto!important;
    gap:5px!important;font-size:12.5px!important;line-height:1.2!important;
  }
  .ui-1366-standard .jm-compact-1366 .jm-header-grid :is(input,select){
    width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;max-height:none!important;
    padding:0 10px!important;border-radius:8px!important;font-size:14px!important;line-height:1.2!important;
  }
  .ui-1366-standard .jm-compact-1366 .jm-description-field{grid-column:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:5px!important}
  .ui-1366-standard .jm-compact-1366 .jm-description-field textarea{
    width:100%!important;min-width:0!important;min-height:84px!important;height:84px!important;max-height:none!important;
    padding:9px 10px!important;border-radius:8px!important;font-size:14px!important;line-height:1.35!important;
  }
  .ui-1366-standard .jm-compact-1366 .jm-description-field small{grid-column:1!important;font-size:10.5px!important;line-height:1.3!important}
  .ui-1366-standard .jm-compact-1366 .cb-field-note{
    min-height:44px!important;padding:8px 10px!important;border-radius:8px!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-field-note :is(strong,span){font-size:12px!important;line-height:1.25!important}

  .ui-1366-standard .cb-journal-card{padding:9px!important;border-radius:10px!important}
  .ui-1366-standard .cb-journal-top{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}
  .ui-1366-standard .cb-journal-top h2{font-size:15px!important;line-height:1.2!important;margin:0!important}
  .ui-1366-standard .cb-tool-btn{
    min-height:44px!important;height:44px!important;max-height:none!important;
    padding:0 10px!important;border-radius:8px!important;font-size:12px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .cb-journal-scroll{
    max-width:100%!important;overflow-x:auto!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;overscroll-behavior:contain!important;
  }
  .ui-1366-standard .cb-journal-table{min-width:760px!important;width:max-content!important}
  .ui-1366-standard .cb-journal-table th,
  .ui-1366-standard .cb-journal-table td{font-size:12px!important;line-height:1.3!important}
  .ui-1366-standard .cb-journal-table :is(input,select){min-height:40px!important;height:40px!important;font-size:13px!important}
  .ui-1366-standard .cb-row-delete-compact,
  .ui-1366-standard .cb-row-delete-cell button{min-width:44px!important;min-height:44px!important;touch-action:manipulation}

  .ui-1366-standard .jm-compact-1366 .cb-journal-top{
    flex-direction:column!important;align-items:stretch!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-line-actions{
    display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important;
  }
  .ui-1366-standard .jm-compact-1366 .cb-line-actions .cb-tool-btn{width:100%!important;min-width:0!important}
  .ui-1366-standard .jm-compact-1366 .cb-code-picker{grid-template-columns:minmax(0,1fr) 44px!important;gap:6px!important}
  .ui-1366-standard .jm-compact-1366 .cb-code-picker button,
  .ui-1366-standard .jm-compact-1366 .cb-row-actions button{
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    padding:0!important;border-radius:8px!important;font-size:14px!important;touch-action:manipulation;
  }
  .ui-1366-standard .jm-last-voucher{gap:8px!important;padding:9px 10px!important;font-size:11px!important}
  .ui-1366-standard .jm-last-voucher .button-link{min-height:44px!important;display:inline-flex!important;align-items:center!important}

  /* Transaction pickers/modals: fit the dynamic viewport and keep primary controls reachable above the keyboard. */
  .ui-1366-standard .cb-modal-backdrop{padding:10px!important;align-items:center!important}
  .ui-1366-standard .cb-account-modal,
  .ui-1366-standard .cb-voucher-modal{
    width:min(100%,calc(100vw - 20px))!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:12px!important;
  }
  .ui-1366-standard .cb-modal-head{padding:9px 10px!important;gap:8px!important}
  .ui-1366-standard .cb-modal-head h2{font-size:16px!important;line-height:1.2!important}
  .ui-1366-standard .cb-modal-head p{font-size:11px!important;line-height:1.35!important}
  .ui-1366-standard .cb-modal-head>button{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
  .ui-1366-standard .cb-modal-search{padding:8px 10px!important;gap:7px!important}
  .ui-1366-standard .cb-modal-search :is(input,select){height:44px!important;min-height:44px!important;font-size:14px!important}
  .ui-1366-standard .cb-modal-foot{
    min-height:52px!important;padding:7px 10px max(7px,env(safe-area-inset-bottom))!important;
    gap:8px!important;font-size:10.5px!important;
  }
  .ui-1366-standard .cb-modal-foot .cb-btn{min-height:44px!important;height:44px!important;font-size:12px!important}
  .ui-1366-standard .cb-success-modal{width:min(100%,calc(100vw - 24px))!important;padding:18px 14px!important}
  .ui-1366-standard .cb-success-modal .primary{min-width:96px!important;min-height:44px!important}
  .ui-1366-standard .cb-account-table-wrap,
  .ui-1366-standard .cb-voucher-list{max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch}

  /* Report options: explicit mobile hierarchy; desktop-only setup styles do not apply below 1100px. */
  .ui-1366-standard .legacy-report-setup-head{
    display:grid!important;grid-template-columns:1fr!important;align-items:start!important;
    gap:7px!important;margin:0!important;padding:10px 11px!important;
    border:1px solid #e0e4e8!important;border-left:3px solid #c90014!important;
    border-radius:10px!important;background:linear-gradient(90deg,#fff8f9 0%,#fff 65%)!important;
    box-shadow:0 2px 7px rgba(28,31,36,.035)!important;
  }
  .ui-1366-standard .legacy-report-setup-head>div{display:grid!important;gap:3px!important;min-width:0!important}
  .ui-1366-standard .legacy-report-setup-head span{
    display:block!important;margin:0!important;font-size:10px!important;line-height:1.15!important;
    font-weight:900!important;color:#b30012!important;letter-spacing:.08em!important;
  }
  .ui-1366-standard .legacy-report-setup-head strong{
    display:block!important;margin:0!important;font-size:16px!important;line-height:1.2!important;color:#20262d!important;
  }
  .ui-1366-standard .legacy-report-setup-head small{display:none!important}
  .ui-1366-standard .legacy-report-setup-head em{
    justify-self:start!important;margin:0!important;padding:4px 7px!important;
    border:1px solid #efd5d8!important;border-radius:999px!important;background:#fff!important;
    color:#8e3039!important;font-size:9.5px!important;line-height:1.2!important;font-style:normal!important;font-weight:800!important;
    white-space:normal!important;
  }

  /* Fiscal metadata was inline on phones; make label/value/helper separate scan lines. */
  .ui-1366-standard .report-fiscal-note{
    display:grid!important;grid-template-columns:1fr!important;gap:4px!important;
    min-height:0!important;height:auto!important;margin:0!important;padding:9px 10px!important;
    border:1px solid #e4e8ec!important;border-radius:9px!important;background:#fafbfc!important;
  }
  .ui-1366-standard .report-fiscal-note strong{
    display:block!important;margin:0!important;font-size:10px!important;line-height:1.25!important;
    font-weight:900!important;color:#5c6570!important;letter-spacing:.045em!important;
  }
  .ui-1366-standard .report-fiscal-note span{
    display:block!important;margin:0!important;font-size:11.5px!important;line-height:1.35!important;color:#28303a!important;
  }

  /* Report options: logical one-column flow, readable metadata and 44px controls. */
  .ui-1366-standard .legacy-report-options{gap:8px!important}
  .ui-1366-standard .legacy-report-commandbar{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;padding:7px!important;
  }
  .ui-1366-standard .legacy-report-commandbar :is(button,.button-link){
    width:100%!important;min-height:44px!important;height:44px!important;
    padding:0 8px!important;border-radius:8px!important;
    font-size:12.5px!important;line-height:1.1!important;justify-content:center!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-selector,
  .ui-1366-standard .legacy-report-filter-card,
  .ui-1366-standard .report-scope-authority-card{
    width:100%!important;min-width:0!important;margin:0!important;border-radius:10px!important;
  }
  .ui-1366-standard .legacy-report-choice-table tr{
    min-height:64px!important;margin:0 0 7px!important;padding:10px!important;
    grid-template-columns:40px minmax(0,1fr)!important;gap:3px 9px!important;
    border-radius:10px!important;touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-choice-table td:first-child{font-size:13px!important}
  .ui-1366-standard .legacy-report-choice-table td:nth-child(2){font-size:12.5px!important;line-height:1.3!important}
  .ui-1366-standard .legacy-report-choice-table td:nth-child(n+3){font-size:10.5px!important;line-height:1.3!important}
  .ui-1366-standard .legacy-report-options :is(
    .legacy-report-filter-grid,.trial-balance-filter-grid,.financial-position-filter-grid,
    .income-statement-filter-grid,.consolidated-income-filter-grid,.cash-flow-filter-grid,
    .cash-bank-filter-grid,.fixed-asset-filter-grid,.fund-hub-filter-grid
  ){grid-template-columns:1fr!important;gap:8px!important}
  .ui-1366-standard .legacy-report-options :is(
    .trial-range-row,.financial-position-range-row,.income-statement-range-row,
    .consolidated-income-range-row,.cash-flow-range-row,.cash-bank-range-row,.fixed-asset-range-row
  ){grid-template-columns:1fr!important;gap:5px!important}
  .ui-1366-standard .legacy-report-options label{font-size:12.5px!important;line-height:1.25!important;gap:5px!important}
  .ui-1366-standard .legacy-report-options :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
    width:100%!important;min-height:44px!important;height:44px!important;max-height:none!important;
    padding:0 10px!important;font-size:14px!important;border-radius:8px!important;
  }
  .ui-1366-standard .legacy-report-options textarea{height:auto!important;min-height:76px!important;padding:9px 10px!important}
  .ui-1366-standard .legacy-report-options :is(input[type=checkbox],input[type=radio]){width:20px!important;height:20px!important;min-height:20px!important}
  .ui-1366-standard .legacy-report-options :is(.trial-checkbox,.financial-position-check-grid label,.income-statement-check-grid label,.consolidated-income-check-grid label){min-height:44px!important;align-items:center!important}

  /* Viewer chrome only. A4/document orientation/pagination/zoom authority is not changed. */
  .ui-1366-standard .legacy-report-viewer-toolbar{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;padding:7px!important;
    align-items:stretch!important;
  }
  .ui-1366-standard .legacy-report-viewer-toolbar .legacy-report-action{
    width:100%!important;min-width:0!important;
    min-height:44px!important;height:44px!important;
    padding:0 6px!important;border-radius:8px!important;
    font-size:12px!important;line-height:1!important;gap:5px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-viewer-toolbar .legacy-report-action svg{width:17px!important;height:17px!important;min-width:17px!important}
  .ui-1366-standard .report-share-menu{
    grid-column:1/-1!important;
    position:static!important;left:auto!important;right:auto!important;
    width:100%!important;min-width:0!important;
    padding:5px!important;border-radius:10px!important;
  }
  .ui-1366-standard .report-share-menu button{
    width:100%!important;min-height:48px!important;
    padding:8px 10px!important;font-size:12.5px!important;text-align:left!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-viewer-controls{
    gap:7px!important;padding:7px 0 max(7px,env(safe-area-inset-bottom))!important;
    flex-wrap:wrap!important;
  }
  .ui-1366-standard .legacy-report-control{
    min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;
    padding:0!important;border-radius:9px!important;font-size:13px!important;
    touch-action:manipulation;
  }
  .ui-1366-standard .legacy-report-viewer-info,
  .ui-1366-standard .legacy-report-page-status{font-size:11.5px!important;line-height:1.3!important}

  /* Generic phone safety. Does not alter intrinsic report paper geometry. */
  .ui-1366-standard .content :is(button,.button-link,a.menu-card,a.shortcut-card,.legacy-report-ribbon-item){touch-action:manipulation}
  .ui-1366-standard :is(.table-wrap,.transaction-table-wrap,.cb-account-table-wrap){max-width:100%!important}
}

/* 320px is only a safety fallback; primary acceptance remains 360-430px. */
@media screen and (max-width:340px) and (orientation:portrait){
  .ui-1366-standard .legacy-report-viewer-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ui-1366-standard .cb-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ui-1366-standard .topbar{padding-inline:6px!important}
  .ui-1366-standard .logout-button{min-width:54px!important;padding-inline:7px!important}
}
