/* G1435 - one visual token system: existing routes and business handlers remain untouched. */
:root{
 --wmd145-navy:#083451; --wmd145-navy2:#0d4567; --wmd145-gold:#d99f24;
 --wmd145-goldlight:#fff3d8; --wmd145-border:#d7e3ee; --wmd145-ink:#153a56;
 --wmd145-focus:#b8811e; --wmd145-radius:9px;
}
.g1435-icon{
 display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;
 flex:0 0 auto;width:14px;height:14px;color:currentColor;pointer-events:none;
}
.g1435-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-g1434-screen] :is(#portalView,#content) button{font-family:inherit;touch-action:manipulation}
body[data-g1434-screen] :is(#portalView,#content) button:focus-visible,
body[data-g1434-screen] :is(#portalTabs,#tabs) button:focus-visible{
 outline:2px solid var(--wmd145-focus)!important;outline-offset:2px!important
}
/* Bottom five menu entries: single height, baseline icon scale, active indicator. */
body[data-g1434-screen] :is(#portalTabs,#tabs).g1020-bottom-nav,
body[data-g1434-screen] :is(#portalTabs,#tabs).g1430-bottom-nav{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:1px!important;align-items:stretch!important;background:#fff!important
}
body[data-g1434-screen] :is(#portalTabs,#tabs) :is(.g1020-tab,.g1430-tab){
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:3px!important;min-width:0!important;
 min-height:52px!important;padding:6px 2px 5px!important;border-radius:9px 9px 0 0!important;
 font-size:9.2px!important;line-height:1.1!important;font-weight:600!important;
 color:#526c81!important;box-shadow:none!important
}
body[data-g1434-screen] :is(#portalTabs,#tabs) :is(.g1020-tab-icon,.g1430-tab-mark){
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:19px!important;height:19px!important;color:inherit!important
}
body[data-g1434-screen] :is(#portalTabs,#tabs) :is(.g1020-tab-icon,.g1430-tab-mark) svg{
 width:19px!important;height:19px!important;stroke-width:1.8!important
}
body[data-g1434-screen] :is(#portalTabs,#tabs) :is(.g1020-tab,.g1430-tab).active{
 background:var(--wmd145-goldlight)!important;color:#9b6009!important;
 box-shadow:inset 0 3px var(--wmd145-gold)!important;font-weight:750!important
}
/* All official subnavigation: no extra route, uniform tab button. */
body.g1020-office[data-g1434-screen] .g1020-subnav{
 display:flex!important;align-items:stretch!important;gap:0!important;
 border:1px solid var(--wmd145-border)!important;border-radius:9px!important;
 background:#f8fbfd!important;overflow:hidden!important
}
body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
 flex:1 1 0!important;min-width:0!important;min-height:36px!important;height:auto!important;
 padding:5px 3px!important;border-radius:0!important;border:0!important;
 border-right:1px solid var(--wmd145-border)!important;background:transparent!important;
 color:#244d68!important;font-size:10px!important;line-height:1.15!important;
 font-weight:650!important;white-space:normal!important;text-align:center!important
}
body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub:last-child{border-right:0!important}
body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub.active{
 background:var(--wmd145-goldlight)!important;color:#875400!important;
 box-shadow:inset 0 -3px var(--wmd145-gold)!important;font-weight:800!important
}
body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub .g1435-icon{
 width:14px;height:14px
}
/* Main actions preserve their individual API and click handlers, only style changes. */
body.g1020-office[data-g1434-screen] :is(.g1020-primary,.g1027-quick,.g1050-action,.g1055-settings-save){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;border-radius:9px!important;font-weight:750!important;
 line-height:1.2!important;text-align:center!important
}
body.g1020-office[data-g1434-screen] .g1020-primary{
 background:linear-gradient(100deg,#c58a16,#e2ac30)!important;color:#fff!important;
 min-height:38px!important;padding:7px 9px!important
}
body.g1020-office[data-g1434-screen] :is(.g1027-quick-navy,.g1050-action){
 background:var(--wmd145-navy)!important;color:#fff!important
}
body.g1020-office[data-g1434-screen] :is(.g1027-quick-gold,.g1050-gold){
 background:linear-gradient(100deg,#bf8210,#dfa82c)!important;color:#fff!important
}
body.g1020-office[data-g1434-screen] .g1027-quick{min-width:0!important;padding:6px 4px!important}
body.g1020-office[data-g1434-screen] :is(.g1020-primary,.g1027-quick) .g1435-icon{
 width:16px;height:16px
}
body.g1020-office[data-g1434-screen] :is(.g1020-primary,.g1027-quick) > svg{
 width:16px!important;height:16px!important
}
/* Detail remains usable in 5-row list; do not expand row heights or move pager. */
body.g1020-office[data-g1434-screen] .g1029-detail-btn{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:3px!important;min-width:53px!important;width:53px!important;
 padding:3px 2px!important;border:1px solid #164b70!important;
 border-radius:8px!important;background:#103a59!important;color:#fff!important;
 font-size:9.4px!important;font-weight:750!important
}
body.g1020-office[data-g1434-screen] .g1029-detail-btn .g1435-icon{width:12px;height:12px}
/* Filter/chips/pager are secondary actions, predictable hover and active states. */
body.g1020-office[data-g1434-screen] .g1020-filter-btn{
 border:1px solid var(--wmd145-border)!important;border-radius:8px!important;
 background:#f4f8fc!important;color:#244965!important
}
body.g1020-office[data-g1434-screen] .g1020-chip{
 border:1px solid #e1e9f0!important;border-radius:8px!important;
 background:#f5f8fb!important;color:#2b4e66!important
}
body.g1020-office[data-g1434-screen] .g1020-chip.active{
 background:var(--wmd145-navy)!important;color:#fff!important;border-color:var(--wmd145-navy)!important
}
body.g1020-office[data-g1434-screen] .g1020-pagination button{
 border:1px solid var(--wmd145-border)!important;border-radius:7px!important;color:#2a526c!important;
 background:#fff!important;min-height:29px!important
}
body.g1020-office[data-g1434-screen] .g1020-pagination button.active{
 background:var(--wmd145-gold)!important;color:#fff!important;
 border-color:var(--wmd145-gold)!important
}
/* Account: tabs and buttons share the same icon system. */
body.g1020-office[data-g1434-screen="account"] .g1050-tabs{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-tab{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:6px!important;min-width:0!important;min-height:39px!important;
 padding:7px 5px!important;border:1px solid var(--wmd145-border)!important;
 border-radius:9px!important;background:#f6f9fc!important;color:var(--wmd145-ink)!important;
 font-size:10px!important;line-height:1.15!important;font-weight:650!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-tab.active{
 background:var(--wmd145-goldlight)!important;color:#885709!important;
 border-color:#e9c781!important;font-weight:750!important
}
body.g1020-office[data-g1434-screen="account"] .g1050-action{
 min-height:40px!important;padding:8px 12px!important;font-size:11px!important
}
body.g1020-office[data-g1434-screen="account"] .g1020-logout{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;border-radius:9px!important;min-height:40px!important
}
/* Master official tabs: same spacing, consistent icon size and active state. */
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-tab{
 border-radius:9px!important;min-height:54px!important;border:1px solid var(--wmd145-border)!important;
 background:#f8fbfd!important;color:#184b69!important;font-size:10px!important;font-weight:650!important
}
body.g1020-office[data-g1434-screen="data-access"] .g1046-master-tab.active{
 background:var(--wmd145-goldlight)!important;border-color:#e3b85e!important;
 color:#845200!important;font-weight:800!important
}
body.g1020-office[data-g1434-screen="data-access"] .g1434-master-icon svg{
 width:19px!important;height:19px!important
}
/* Reports keep original API report types and download/share behavior. */
body.g1020-office[data-g1434-screen="laporan"] :is(.g1020-export,.g1055-play-button){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
 min-height:37px!important;border-radius:9px!important;font-weight:750!important
}
body.g1020-office[data-g1434-screen] :is(.g1020-text-link,.g1055-play-button) .g1435-icon{
 width:13px;height:13px
}
/* Other roles: tile buttons already have icons. Normalize tile and active group styling only. */
body[data-g1434-screen]:not(.g1020-office) .g1430-tile{
 border-radius:10px!important;border:1px solid var(--wmd145-border)!important;
 background:#fff!important;min-height:60px!important
}
body[data-g1434-screen]:not(.g1020-office) .g1430-tile-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:39px!important;height:39px!important;border-radius:10px!important
}
body[data-g1434-screen]:not(.g1020-office) .g1430-tile-icon svg{
 width:19px!important;height:19px!important
}
@media(max-width:360px){
 body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub{gap:3px!important;font-size:9.2px!important}
 body.g1020-office[data-g1434-screen] .g1020-subnav .g1020-sub .g1435-icon{width:12px;height:12px}
 body.g1020-office[data-g1434-screen="account"] .g1050-tab{font-size:9px!important;gap:3px!important}
}
@media(prefers-reduced-motion:reduce){
 body[data-g1434-screen] button{transition:none!important}
}