/* G1438 /customer read-only report parity. Prior passed pages unaffected. */
.g1438-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:4px 0 8px}
.g1438-menu button{font-size:10px;line-height:1.2;font-weight:750;min-height:35px;padding:5px 3px;border:1px solid #d7e3ef;border-radius:8px;color:#134364;background:#f8fbfe}
.g1438-menu button.active,.g1438-tabs button.active{background:#fff0d0;border-color:#d69e2b;color:#8b5713;box-shadow:inset 0 -2px #dca42c}
.g1438-panel{border-radius:9px;border:1px solid #dbe5ee;background:#fff;padding:8px;margin:5px 0}
.g1438-panel[hidden],.g1438-hide{display:none!important}
.g1438-panel h3{color:#0c3756;font-weight:800;margin:0 0 7px;font-size:13px}
.g1438-panel p{font-size:10.5px;line-height:1.4;color:#587288}
.g1438-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0}
.g1438-tabs button{min-height:34px;padding:4px 2px;font-size:9px;font-weight:750;border:1px solid #dbe6ef;border-radius:7px;background:#f7fafd;color:#204969}
.g1438-dates{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:7px 0}
.g1438-dates label{font-size:9px;min-width:0;color:#456a85}
.g1438-dates input{width:100%;min-width:0;height:33px;padding:4px 5px;border:1px solid #d6e3ed;border-radius:7px;font-size:10px;box-sizing:border-box}
.g1438-search{width:100%;height:34px;padding:5px 8px;font-size:10px;border:1px solid #dbe6ef;border-radius:8px;background:#f9fbfd;box-sizing:border-box;margin:5px 0}
.g1438-list{display:flex;flex-direction:column;gap:5px}
.g1438-record{min-height:46px;border:1px solid #e0e8f0;border-radius:8px;padding:6px;background:#fff}
.g1438-record strong{color:#183e59;font-size:11px;display:block}
.g1438-record small{font-size:9.2px;color:#5d7588;line-height:1.35;display:block;margin-top:3px}
.g1438-page{display:flex;gap:7px;align-items:center;justify-content:center;margin-top:7px;font-size:10px;color:#5c7588}
.g1438-page button{min-width:30px;min-height:29px;border:1px solid #dbe6ef;border-radius:7px;background:#fff}
.g1438-page button:disabled{opacity:.4}
.g1438-actions{display:flex;gap:5px;flex-wrap:wrap;margin:7px 0}
.g1438-actions button{min-height:34px;border:0;border-radius:8px;padding:6px 11px;font-size:10px;font-weight:750;color:#fff;background:#0a3655}
.g1438-error{padding:10px;border-radius:8px;background:#fff2ef;color:#9a3838;font-size:11px}
.g1438-note{font-size:9px!important;color:#6c8497!important}
.g1438-menu button:focus-visible,.g1438-tabs button:focus-visible{outline:2px solid #c58a15;outline-offset:1px}
/* G1438R2 hide legacy reporting controls in website mode: source G1438 screenshot failure.
   Existing elements are hidden only while the new report panel is active.
   All legacy handlers and APIs remain intact when Laporan APK is selected. */
body.g1020-office[data-g1434-screen="laporan"] #portalView .g1020-screen > .g1438-hide{
 display:none!important;visibility:hidden!important;max-height:0!important;min-height:0!important;
 overflow:hidden!important;margin:0!important;padding:0!important
}
/* Prefer one monitor height: 2 rows of menu actions and 5 readable result rows. */
body.g1020-office[data-g1434-screen="laporan"] .g1438-menu{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:3px!important;margin:3px 0 5px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-menu button{
 min-height:33px!important;padding:3px 2px!important;font-size:9.1px!important;
 line-height:1.12!important;white-space:normal!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-panel{
 padding:6px!important;margin:3px 0!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-panel h3{
 font-size:11.5px!important;margin:0 0 3px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-panel p{
 margin:4px 0!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-tabs{
 gap:3px!important;margin:3px 0 4px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-tabs button{
 min-height:29px!important;padding:3px 2px!important;font-size:9px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-dates{
 gap:4px!important;margin:4px 0!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-dates input{
 height:30px!important;padding:3px 5px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-search{
 height:30px!important;margin:3px 0 4px!important;padding:4px 7px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-list{gap:3px!important}
body.g1020-office[data-g1434-screen="laporan"] .g1438-record{
 min-height:36px!important;padding:4px 6px!important;box-sizing:border-box!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-record strong{
 font-size:10px!important;line-height:1.2!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-record small{
 font-size:9px!important;line-height:1.2!important;margin-top:2px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-page{
 margin:4px 0 0!important;gap:5px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1438-page button{
 min-height:26px!important
}
@media(max-width:345px){
 body.g1020-office[data-g1434-screen="laporan"] .g1438-menu button{font-size:8.4px!important}
}