/* G1017 — owner-approved Android administrator/mobile five bottom tabs.
 * Presentation only, never changes source field names, API logic or access rules. */
body.g1017-office #portalView{max-width:680px;margin:auto;min-width:0}
body.g1017-office .g1017-shell{display:grid;gap:10px;padding-bottom:9px}
body.g1017-office .g1017-heading{padding:9px 3px 4px}
body.g1017-office .g1017-heading h2{font-size:21px!important;color:#102f4c;margin:0 0 4px;line-height:1.3}
body.g1017-office .g1017-heading p{font-size:12px;color:#375d77;margin:0 0 3px}
body.g1017-office .g1017-heading small{color:#577086;font-size:11px}
body.g1017-office .g1017-card{
 min-width:0;max-width:100%;background:#fff;border:1px solid #dce6ee;
 border-radius:13px;padding:12px!important;margin:0!important;
 box-shadow:0 2px 8px rgba(10,38,65,.035);
}
body.g1017-office .g1017-card h2,body.g1017-office .g1017-card h3{
 margin:0 0 10px!important;color:#123b5c;font-size:14px!important;line-height:1.4
}
body.g1017-office .g1017-card p{margin:7px 0;font-size:12px;line-height:1.45}
body.g1017-office .g1017-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.g1017-office .g1017-stat{
 border:1px solid #e0e9f1;border-radius:12px;background:#fff;padding:12px 10px;
 display:flex;gap:9px;align-items:center;min-height:76px;box-sizing:border-box;min-width:0}
body.g1017-office .g1017-stat svg{width:24px;height:24px;flex:none;color:#b58a31}
body.g1017-office .g1017-stat div{display:flex;flex-direction:column;gap:3px;min-width:0}
body.g1017-office .g1017-stat span{color:#526a80;font-size:11px;line-height:1.28;overflow-wrap:anywhere}
body.g1017-office .g1017-stat strong{color:#143450;font-size:21px;line-height:1.1}
body.g1017-office .g1017-subtabs{
 display:flex;align-items:stretch;overflow-x:auto;max-width:100%;
 border:1px solid #dee6ef;background:#fff;border-radius:10px;
 scrollbar-width:none;overscroll-behavior-x:contain}
body.g1017-office .g1017-subtabs::-webkit-scrollbar{display:none}
body.g1017-office .g1017-subtabs button{
 flex:1 0 auto;min-width:0;min-height:44px;max-width:unset;
 padding:10px 8px!important;margin:0!important;border:0!important;
 border-right:1px solid #eff2f6!important;border-radius:0!important;
 background:#fff!important;color:#294b67!important;
 font:700 12px/16px Roboto,Arial,sans-serif!important;white-space:nowrap;
}
body.g1017-office .g1017-subtabs button.active{
 color:#ad7920!important;border-bottom:3px solid #c69b39!important;background:#fffaf1!important
}
body.g1017-office .g1017-gold{
 display:block;background:#bd902d!important;color:#fff!important;border:0!important;
 border-radius:10px!important;min-height:46px!important;font-weight:700!important;
 padding:9px 15px!important;box-shadow:none!important;max-width:100%;width:100%;
 font-size:13px!important;
}
body.g1017-office .g1017-light{
 background:#f7fafc!important;color:#173c5a!important;
 border:1px solid #cadbe7!important;border-radius:9px!important;
 min-height:44px!important;padding:9px 12px!important;font-weight:700!important;
}
body.g1017-office .g1017-note{font-size:11px!important;color:#62778a}
body.g1017-office .g1017-filter{display:flex;gap:7px;align-items:center;margin:8px 0 8px}
body.g1017-office .g1017-filter input{
 width:100%;min-width:0;flex:1 1 auto;font-size:13px!important;
 min-height:43px;border:1px solid #d2e0ea;border-radius:9px;background:#f8fafc;
 padding:9px 10px;box-sizing:border-box}
body.g1017-office .g1017-filter select{
 width:auto!important;max-width:135px;min-width:92px;flex:0 0 auto;
 min-height:43px;padding:5px;font-size:12px!important;border-radius:9px;
 border:1px solid #d5e0ec;color:#36546b;background:#f9fafc}
body.g1017-office .g1017-list-head{display:flex;justify-content:flex-end;margin-top:-30px;height:28px}
body.g1017-office .g1017-list-head span{color:#6a7e90;font-size:10px}
body.g1017-office .g1017-row{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;
 border-bottom:1px solid #e8edf2;padding:9px 3px;min-height:65px;box-sizing:border-box;
}
body.g1017-office .g1017-row-main{min-width:0;display:flex;flex-direction:column;gap:3px}
body.g1017-office .g1017-row-main b{font-size:12px;color:#123753;overflow-wrap:anywhere}
body.g1017-office .g1017-row-main small{font-size:10px;color:#577086;overflow-wrap:anywhere;line-height:1.33}
body.g1017-office .g1017-status{
 display:inline-block;max-width:100px;border-radius:8px;padding:7px 8px;text-align:center;
 font-size:10px;font-weight:700;white-space:normal;overflow-wrap:anywhere;
}
body.g1017-office .g1017-status.info{background:#e6f3fd;color:#1161ac}
body.g1017-office .g1017-status.wait{background:#fff3de;color:#a66a13}
body.g1017-office .g1017-status.ok{background:#e1f6ea;color:#16754d}
body.g1017-office .g1017-status.err{background:#fbe8eb;color:#9d2c45}
body.g1017-office .g1017-empty{padding:26px 4px;text-align:center;font-size:12px;color:#57718b}
body.g1017-office .g1017-pagination{
 display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:11px}
body.g1017-office .g1017-pages{display:flex;align-items:center;gap:3px}
body.g1017-office .g1017-pages button{
 min-width:28px!important;width:28px!important;min-height:33px!important;height:33px!important;
 padding:4px!important;background:#f8fafc!important;border:1px solid #e1e9ef!important;
 color:#31526d!important;border-radius:7px!important;font-size:12px!important;font-weight:700!important;
}
body.g1017-office .g1017-pages button.active{background:#be9135!important;color:#fff!important}
body.g1017-office .g1017-pages button:disabled{opacity:.4!important}
body.g1017-office .g1017-pagination small{font-size:10px;color:#5e7489;text-align:right}
body.g1017-office .g1017-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.g1017-office .g1017-dates label{font-size:11px!important;min-width:0}
body.g1017-office .g1017-dates input{max-width:100%;width:100%;box-sizing:border-box;min-width:0;font-size:12px!important}
body.g1017-office .g1017-export{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.g1017-office .g1017-account-menu{margin-bottom:9px!important}
body.g1017-office .g1017-account-actions{display:grid;gap:0}
body.g1017-office .g1017-account-actions button{
 width:100%;min-height:51px!important;margin:0!important;padding:11px 8px!important;
 display:flex;align-items:center;gap:10px;justify-content:flex-start;
 background:#fff!important;border:0!important;border-bottom:1px solid #e7edf3!important;
 color:#244762!important;border-radius:0!important;font-size:13px;font-weight:600
}
body.g1017-office .g1017-account-actions svg{width:19px;height:19px;color:#b58931}
body.g1017-office #portalTabs.g1017-five-nav{scrollbar-width:none!important}
body.g1017-office #portalTabs.g1017-five-nav .g1017-nav-btn{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 gap:3px!important;white-space:normal!important;min-width:0!important;padding:4px 0!important;
 font-size:9px!important;line-height:12px!important;
}
body.g1017-office #portalTabs.g1017-five-nav .g1017-nav-icon{
 display:flex;align-items:center;justify-content:center;height:22px;
}
body.g1017-office #portalTabs.g1017-five-nav .g1017-nav-icon svg{
 width:20px!important;height:20px!important;color:inherit;
}
body.g1017-office #portalTabs.g1017-five-nav .g1017-nav-btn.active{
 background:#fff6e3!important;color:#9d6f1f!important;
 box-shadow:inset 0 3px #bb8b2a!important;
}
@media(max-width:355px){
 body.g1017-office .g1017-filter select{max-width:108px;min-width:82px}
 body.g1017-office .g1017-subtabs button{font-size:11px!important;padding:9px 5px!important}
}
@media(prefers-reduced-motion:reduce){body.g1017-office *{scroll-behavior:auto!important}}
