/* G1431 production comfort â€” additive layout only, no extra menu, handler, or data. */
/* Light page canvas. Navy/gold used for identity and actionable elements. */
:root { --g1431-paper:#f5f7fa;--g1431-ink:#19334d;--g1431-line:#dbe5ee;--g1431-gold:#dfb54f; }
html{ -webkit-text-size-adjust:100%; }
body[data-g1430-role]{ background:var(--g1431-paper);color:var(--g1431-ink); }
body[data-g1430-role] :is(#portalView,#content){ min-width:0; }
body[data-g1430-role]:not(.g1121-bon-page) main{ scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom)); padding-bottom:calc(98px + env(safe-area-inset-bottom)); }
body[data-g1430-role] :is(#portalView,#content) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
  font-size:16px;line-height:1.4;min-height:44px;max-width:100%;border-radius:11px;box-sizing:border-box;
}
body[data-g1430-role] :is(#portalView,#content) :is(input,select,textarea):focus-visible{
  outline:2px solid #a8711e;outline-offset:2px;box-shadow:0 0 0 3px #f3e3c0;
}
body[data-g1430-role]:not(.g1121-bon-page) :is(#portalView,#content) button:not(.g1020-bottom-nav button):not(.g1430-tab){
  touch-action:manipulation;
}
body[data-g1430-role] .g1430-group { margin-inline:auto;max-width:660px; }
body[data-g1430-role] .g1430-tile { min-height:72px;border-radius:15px;box-shadow:0 2px 10px #153b600b; }
body[data-g1430-role] .g1430-tile-copy strong { font-size:14px;letter-spacing:0; }
body[data-g1430-role] .g1430-tile-copy small { font-size:12px;line-height:1.4; }
body[data-g1430-role] .g1430-section-header h2 { font-size:21px;line-height:1.22; }
body[data-g1430-role] .g1430-role-bar { gap:9px; }
body[data-g1430-role] .g1430-active-pill { background:#fbefcf;color:#64460d; }
body[data-g1430-role] .g1430-active-pill i { background:#b48525; }
body[data-g1430-role] .g1430-tile:focus-visible { outline:3px solid #ad7a25;outline-offset:2px; }
body[data-g1430-role] .g1430-tile:active { background:#fdf8e9; }
body[data-g1430-role] :is(.g1430-bottom-nav,.g1020-bottom-nav) button{
  min-width:0!important;min-height:54px;touch-action:manipulation;
}
body[data-g1430-role] :is(.g1430-bottom-nav,.g1020-bottom-nav) button :is(.g1430-tab-text,.g1020-tab-label){
  line-height:1.17;overflow-wrap:normal;word-break:normal;text-align:center;
}
body[data-g1430-role] :is(.g1430-bottom-nav,.g1020-bottom-nav) button:focus-visible{
 outline:2px solid #f6d785;outline-offset:-3px;
}
body[data-g1430-role] :is(.g1430-bottom-nav,.g1020-bottom-nav) .active{ font-weight:800; }
body[data-g1430-role] :is(#portalView,#content) :is(.card,.g1020-card,.g1430-empty){
  border-radius:15px;
}
body[data-g1430-role] :is(#portalView,#content) :is(p,small,span,td,th,button){
  overflow-wrap:break-word;
}
body.g1020-office.g1121-bon-page :is(.g1020-bon-grid,.g1029-bon-item){
  overflow-wrap:anywhere;
}
/* Keep native 5-row Bon UJ compact mode and existing tab/transaction handlers. */
@media(max-width:375px){
 body[data-g1430-role] .g1430-tile{padding:11px 10px;gap:9px;}
 body[data-g1430-role] .g1430-tile-icon{flex-basis:40px;width:40px;height:40px;}
 body[data-g1430-role] .g1430-tile-copy small{font-size:11px;}
 body[data-g1430-role] .g1430-active-pill{font-size:8px;padding:5px;}
 #portalTabs.g1430-bottom-nav .g1430-tab-text,
 body[data-g1430-role="sopir"] #tabs.g1430-bottom-nav .g1430-tab-text{font-size:9px;}
}
@media(prefers-reduced-motion:reduce){
 body[data-g1430-role] .g1430-tile{transition:none!important;transform:none!important;}
}