/* G1434 WMD shared five-screen design system. UI ONLY. No backend/business changes.
   Reference: Owner-approved 5-screen mock. Real /customer routes remain authoritative. */
:root{
 --wmd1434-navy:#07324e;--wmd1434-deep:#07263f;--wmd1434-gold:#d59a16;
 --wmd1434-cream:#fff4d8;--wmd1434-paper:#f7f9fc;--wmd1434-line:#d8e4ee;
}
body[data-g1434-screen]{background:var(--wmd1434-paper)!important;color:#0b2e4c!important}
body[data-g1434-screen]>header,
body[data-g1430-role="sopir"]>header{
 background:linear-gradient(105deg,#052c46,#073952)!important;color:#fff!important;
 min-height:54px!important;padding:6px 9px!important;box-shadow:0 2px 8px #09264016!important
}
body[data-g1434-screen]>header .brand-copy h1{font-size:12px!important;line-height:14px!important}
body[data-g1434-screen]>header .brand-copy small{font-size:9px!important;line-height:12px!important}
body[data-g1434-screen] main{padding:5px 7px calc(66px + env(safe-area-inset-bottom))!important}
body[data-g1434-screen] #portalView>.g1430-role-bar{
 display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;
 align-items:center!important;column-gap:9px!important;row-gap:1px!important;
 padding:7px 9px!important;min-height:54px!important;margin:0 0 5px!important;
 border:1px solid #c99628!important;border-radius:12px!important;
 background:linear-gradient(105deg,#052e4b,#03405d)!important;
 box-shadow:0 2px 7px #09263c20!important;box-sizing:border-box!important;
}
body[data-g1434-screen] #portalView>.g1430-role-bar>.g1430-role-icon{
 width:36px!important;height:36px!important;flex:0 0 36px!important;
 background:linear-gradient(145deg,#f8c75f,#e5a82d)!important;
 color:#07334e!important;border-radius:9px!important;grid-column:1!important;
}
body[data-g1434-screen] #portalView>.g1430-role-bar>.g1430-role-icon svg{width:21px!important;height:21px!important}
body[data-g1434-screen] #portalView>.g1430-role-bar>span:nth-child(2){
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 min-width:0!important;gap:1px!important;grid-column:2!important
}
body[data-g1434-screen] #portalView>.g1430-role-bar strong{
 font-size:12.4px!important;line-height:15px!important;color:#fff!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
body[data-g1434-screen] #portalView>.g1430-role-bar small{
 font-size:12px!important;line-height:15px!important;font-weight:800!important;
 color:#f4c353!important;white-space:nowrap!important
}
body[data-g1434-screen] #portalView>.g1430-role-bar .g1430-active-pill{display:none!important}
body[data-g1434-screen] #portalView>.g1430-role-bar #g1032HomeWarning:not(.hide){
 grid-column:1/-1!important;position:static!important;font-size:9px!important;
 margin:1px 0 0!important;line-height:12px!important;max-width:100%!important;
 overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important
}
body.g1020-office[data-g1434-screen] .g1020-banner{display:none!important}
body.g1020-office[data-g1434-screen] .g1020-screen{
 min-height:0!important;gap:5px!important;padding:7px 8px 9px!important;
 border:1px solid #e6edf3!important;border-radius:12px!important;
 background:#fff!important
}
body.g1020-office[data-g1434-screen] .g1020-list-card{padding:4px!important;gap:3px!important}
body.g1020-office[data-g1434-screen] .g1020-subnav{
 min-height:34px!important;border-radius:8px!important;overflow:hidden!important;
 border:1px solid #d7e1ec!important
}
body.g1020-office[data-g1434-screen] .g1020-subnav button.g1020-sub{
 min-height:34px!important;padding:5px 3px!important;font-size:10px!important
}
body.g1020-office[data-g1434-screen] .g1020-subnav button.g1020-sub.active{
 background:var(--wmd1434-cream)!important;box-shadow:inset 0 -3px #c78a0d!important;
 color:#8a5804!important
}
body.g1020-office[data-g1434-screen] .g1020-primary{
 min-height:38px!important;padding:7px 9px!important;margin:2px 0!important;
 background:linear-gradient(100deg,#bc800b,#dfa91d)!important;
 font-size:12px!important;border-radius:8px!important
}
body.g1020-office[data-g1434-screen] .g1020-chips{gap:4px!important}
body.g1020-office[data-g1434-screen] .g1020-chip{
 min-height:29px!important;padding:4px 7px!important;font-size:10px!important
}
body.g1020-office[data-g1434-screen] .g1020-searchrow{
 gap:5px!important;margin:2px 0 3px!important;grid-template-columns:minmax(0,1fr) 36px!important
}
body.g1020-office[data-g1434-screen] .g1020-search{
 min-height:33px!important;height:33px!important;padding:0 7px!important;
 background:#f4f8fb!important;border-color:var(--wmd1434-line)!important
}
body.g1020-office[data-g1434-screen] .g1020-search input{
 min-height:31px!important;height:31px!important;font-size:11.8px!important
}
body.g1020-office[data-g1434-screen] .g1020-filter-btn{
 min-height:33px!important;height:33px!important;min-width:36px!important;width:36px!important
}
body.g1020-office[data-g1434-screen] .g1020-section-heading{
 padding:1px 0 0!important;min-height:19px!important;height:19px!important
}
body.g1020-office[data-g1434-screen] .g1020-section-heading h3{
 font-size:12px!important;line-height:17px!important
}
body.g1020-office[data-g1434-screen] .g1020-section-heading .g1020-text-link{
 min-height:19px!important;height:19px!important;font-size:10px!important
}
body.g1020-office[data-g1434-screen] .g1020-kpis{
 gap:5px!important;margin:0!important
}
body.g1020-office[data-g1434-screen] .g1020-kpi{
 min-height:45px!important;max-height:45px!important;height:45px!important;
 border-radius:8px!important;padding:4px 6px!important
}
body.g1020-office[data-g1434-screen] .g1020-kpi-copy strong{
 font-size:16px!important;line-height:17px!important
}
body.g1020-office[data-g1434-screen] .g1020-kpi-copy small{
 font-size:9px!important;line-height:10px!important
}
body.g1020-office[data-g1434-screen] .g1027-actions{
 gap:3px!important;margin:0!important;padding:0!important
}
body.g1020-office[data-g1434-screen] .g1027-actions-title{
 font-size:10px!important;height:12px!important;min-height:12px!important;line-height:12px!important
}
body.g1020-office[data-g1434-screen] .g1027-quick{
 min-height:35px!important;max-height:35px!important;height:35px!important;
 font-size:11px!important;border-radius:8px!important
}
/* Five API-sourced Bon items, compact readable 3x2 fields and large Detail target. */
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1029-bon-list{
 display:block!important;max-height:none!important;overflow:visible!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-item{
 box-sizing:border-box!important;height:var(--g1434-row,51px)!important;
 min-height:var(--g1434-row,51px)!important;max-height:var(--g1434-row,51px)!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) 53px!important;
 align-items:center!important;gap:4px!important;overflow:hidden!important;padding:3px 4px!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-grid{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 grid-template-rows:repeat(2,calc((var(--g1434-row,51px) - 9px)/2))!important;
 height:calc(var(--g1434-row,51px) - 7px)!important;
 max-height:calc(var(--g1434-row,51px) - 7px)!important;
 gap:2px 4px!important;overflow:hidden!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-grid>.g1029-bon-field{
 min-width:0!important;overflow:hidden!important;
 height:calc((var(--g1434-row,51px) - 9px)/2)!important;
 max-height:calc((var(--g1434-row,51px) - 9px)/2)!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-grid>.g1029-bon-field small{
 display:block!important;font-size:9px!important;line-height:10px!important;
 height:10px!important;color:#506b82!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;overflow:hidden!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-grid>.g1029-bon-field>span{
 display:block!important;font-size:10.4px!important;font-weight:750!important;
 line-height:12px!important;height:12px!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;overflow:hidden!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1122-bon-footer{
 min-width:53px!important;width:53px!important
}
body.g1020-office.g1121-bon-page[data-g1434-screen] #portalView .g1029-detail-btn{
 min-height:41px!important;height:41px!important;min-width:53px!important;
 width:53px!important;border-radius:7px!important;font-size:10px!important
}
body.g1020-office[data-g1434-screen] #g1020Paging{
 display:block!important;min-height:30px!important;height:30px!important;
 padding:0!important;margin:2px 0 0!important
}
body.g1020-office[data-g1434-screen] .g1020-pagination{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 min-height:30px!important;height:30px!important;margin:0!important;padding:0!important
}
body.g1020-office[data-g1434-screen] .g1020-pagination button{
 min-height:29px!important;height:29px!important;min-width:28px!important;
 padding:3px!important;font-size:11px!important
}
body.g1020-office[data-g1434-screen] .g1020-pagination small{
 font-size:10px!important;white-space:nowrap!important
}
body.g1020-office[data-g1434-screen] #portalTabs.g1020-bottom-nav{
 min-height:52px!important;padding-bottom:env(safe-area-inset-bottom)!important;
 background:#fff!important;box-shadow:0 -2px 9px #18374d13!important
}
body.g1020-office[data-g1434-screen] #portalTabs.g1020-bottom-nav button{
 min-height:49px!important;touch-action:manipulation
}
body.g1020-office[data-g1434-screen] #portalTabs.g1020-bottom-nav button.active{
 background:#fff3d5!important;color:#965d04!important
}
/* Five true /customer Master categories, styled as compact two-row clickable tiles. */
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-tabs{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
 overflow:visible!important;max-height:none!important
}
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-tab{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:3px!important;min-height:52px!important;
 padding:5px 2px!important;border-radius:9px!important;font-size:10px!important;
 white-space:normal!important;border:1px solid #d6e3ed!important;background:#f8fbfd!important
}
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-tab.active{
 border-color:#cd9423!important;background:#fff1ce!important;color:#815109!important
}
.g1434-master-icon{display:flex;align-items:center;justify-content:center;color:#167bb6}
.g1434-master-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-heading{
 margin:2px 0!important;gap:5px!important
}
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-heading strong{
 font-size:12px!important
}
/* Real reporting types: GPS, Bon Uang Jalan and Transaksi Kas. No fake reports. */
body.g1020-office[data-g1434-screen="laporan"] .g1055-report-nav{
 background:#fff!important;border:1px solid #dbe6ef!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1020-dates{
 gap:5px!important;margin:0!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1020-dates input{
 min-height:38px!important;font-size:12px!important
}
body.g1020-office[data-g1434-screen="laporan"] .g1020-report-note{
 font-size:10px!important;line-height:1.3!important
}
/* Real account/session/access: keep original secured form and its actions. */
body.g1020-office[data-g1434-screen="account"] .g1050-account{
 gap:6px!important;background:#fff!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-title strong{
 font-size:15px!important;color:#082c49!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-card{
 background:#fff!important;border:1px solid #dce6ef!important;
 border-radius:12px!important;box-shadow:0 2px 6px #1533480c!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-tabs button.active{
 background:#073956!important;color:#fff!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-action{
 min-height:38px!important;border-radius:8px!important
}
/* Non-office original routes: style existing cards/tabs ONLY when permitted. */
body[data-g1434-screen]:not(.g1020-office) #portalView>.g1430-group,
body[data-g1434-screen]:not(.g1020-office) #portalView .g1430-group{
 max-width:650px;margin-inline:auto
}
body[data-g1434-screen]:not(.g1020-office) #portalView .g1430-section-header h2{
 display:none!important
}
body[data-g1434-screen]:not(.g1020-office) .g1430-tile{
 min-height:62px!important;border-radius:11px!important;
 border-color:#dfebf2!important;background:#fff!important
}
body[data-g1434-screen]:not(.g1020-office) #portalTabs.g1430-bottom-nav{
 background:#fff!important;box-shadow:0 -2px 9px #14384b14!important
}
body[data-g1434-screen]:not(.g1020-office) #portalTabs.g1430-bottom-nav .g1430-tab.active{
 background:#fff1cf!important;color:#8b5906!important
}
/* SOPIR: preserve original task APIs/IDs and the five original G1430 tab handlers. */
body[data-g1430-role="sopir"] #g1434DriverBar{
 display:flex;align-items:center;gap:9px;margin:5px 0;
 background:linear-gradient(110deg,#062d4b,#06435e);
 border:1px solid #c9911a;border-radius:12px;color:#fff;padding:9px;
}
#g1434DriverBar .g1434-driver-icon{
 width:35px;height:35px;display:grid;place-items:center;border-radius:9px;
 background:#edb93c;color:#062941;font-size:21px
}
#g1434DriverBar .g1434-driver-copy{
 display:flex;flex-direction:column;gap:2px;min-width:0
}
#g1434DriverBar strong{
 font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#g1434DriverBar small{font-size:12px;color:#f4c45c;font-weight:800}
body[data-g1430-role="sopir"] .g1430-driver-hello{display:none!important}
body[data-g1430-role="sopir"] #tabs.g1430-bottom-nav .g1430-tab.active{
 color:#925d05!important;background:#fff1d0!important
}
@media(max-width:375px){
 body.g1020-office[data-g1434-screen] .g1020-screen{padding:5px 6px 6px!important;gap:4px!important}
 body.g1020-office[data-g1434-screen] .g1020-kpi{
  min-height:41px!important;height:41px!important;max-height:41px!important
 }
 body.g1020-office[data-g1434-screen] .g1027-quick{
  min-height:32px!important;height:32px!important;max-height:32px!important
 }
 body.g1020-office[data-g1434-screen] .g1020-primary{
  min-height:35px!important;padding:5px!important
 }
}
@media(prefers-reduced-motion:reduce){
 body[data-g1434-screen] .g1430-tile,
 body[data-g1434-screen] button{transition:none!important}
}