/* SIAKAD V6 — smaller four buttons, matched colors; keep QR/GPS click handlers untouched */
.office-page.office-simple-mode .office-quick-actions{
 width:min(72%,580px)!important;max-width:580px!important;
 margin-left:auto!important;margin-right:auto!important;
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
}
.office-page.office-simple-mode .office-quick-actions button{
 min-width:0!important;width:100%!important;max-width:100%!important;
 min-height:90px!important;padding:9px 5px!important;gap:5px!important;
 box-sizing:border-box!important;
}
.office-page.office-simple-mode .office-quick-actions .office-check-in,
.office-page.office-simple-mode .office-quick-actions .siakad-permission-arrival{background:#0b9667!important;color:#fff!important}
.office-page.office-simple-mode .office-quick-actions .office-check-out,
.office-page.office-simple-mode .office-quick-actions .siakad-permission-leave{background:#eb9c25!important;color:#fff!important}
.office-page.office-simple-mode .office-quick-actions button strong{font-size:clamp(11px,1.25vw,15px)!important;overflow-wrap:break-word!important}
.office-page.office-simple-mode .office-quick-actions button svg{width:27px!important;height:27px!important}
@media(max-width:600px){
 .office-page.office-simple-mode .office-quick-actions{width:94%!important;gap:7px!important}
 .office-page.office-simple-mode .office-quick-actions button{min-height:86px!important;padding:7px 4px!important}
 .office-page.office-simple-mode .office-quick-actions button strong{font-size:11px!important}
}
#siakad-v5-nav{display:none!important}
#siakad-v6-nav{font-weight:760!important}
#siakad-v6-notice{display:flex;gap:14px;align-items:center;justify-content:space-between;
 background:#fffaf0;border:1px solid #f1c879;border-radius:12px;margin:10px 0;padding:11px 14px;
 color:#5b440a;box-shadow:0 2px 8px #172f5020}
#siakad-v6-notice .siakad-v6-banner-copy{flex:1;min-width:0}
#siakad-v6-notice strong{font-size:14px;line-height:1.35;display:block}
#siakad-v6-notice p{font-size:12px;line-height:1.4;color:#6a5a35;margin:5px 0 0;overflow-wrap:anywhere}
#siakad-v6-notice button{border:0;border-radius:9px;background:#174b88;color:#fff;padding:10px 13px;white-space:nowrap;font-size:12px;font-weight:800;cursor:pointer}
#siakad-v6-overlay[hidden]{display:none!important}
#siakad-v6-overlay{position:fixed;inset:0;background:rgba(10,24,42,.74);z-index:100900;display:flex;align-items:center;justify-content:center;padding:10px}
.siakad-v6-panel{background:#fff;border-radius:14px;overflow:hidden;width:min(1180px,100%);height:min(94vh,990px);display:flex;flex-direction:column;box-shadow:0 22px 70px #08132380}
.siakad-v6-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:#143c6d;color:#fff;font-size:14px}
.siakad-v6-modal-head button{border:0;border-radius:8px;background:#e8eff7;font-size:24px;min-width:38px;height:35px;cursor:pointer;color:#16395c}
#siakad-v6-frame{height:100%;min-height:0;width:100%;border:0;background:#fff}
@media(max-width:540px){#siakad-v6-notice{padding:9px;gap:8px;flex-direction:column;align-items:stretch}#siakad-v6-notice button{width:100%}.siakad-v6-panel{height:96vh}.siakad-v6-modal-head{font-size:12px;padding:8px}}

/* V6.2: empat tombol lebih tipis dan nyaman di HP */
.office-page.office-simple-mode .office-quick-actions button{
 min-height:70px!important;height:70px!important;padding:5px 6px!important;gap:2px!important;
}
.office-page.office-simple-mode .office-quick-actions button svg{
 width:22px!important;height:22px!important;
}
.office-page.office-simple-mode .office-quick-actions .siakad-permission-icon{
 font-size:22px!important;line-height:1!important;
}
@media(max-width:600px){
 .office-page.office-simple-mode .office-quick-actions button{
  min-height:68px!important;height:68px!important;padding:5px 3px!important;gap:2px!important;
 }
 .office-page.office-simple-mode .office-quick-actions button svg{width:19px!important;height:19px!important}
 .office-page.office-simple-mode .office-quick-actions .siakad-permission-icon{font-size:19px!important}
 .office-page.office-simple-mode .office-quick-actions button strong{font-size:11px!important;line-height:1.15!important}
}

/* SIAKAD TOMBOL PENGAJUAN TIPIS V6.2A */
.office-page.office-simple-mode
.office-quick-actions button.siakad-permission-tile{
 height:46px!important;
 min-height:46px!important;
 max-height:46px!important;
 padding:3px 5px!important;
 gap:2px!important;
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 align-items:center!important;
}
.office-page.office-simple-mode
.office-quick-actions button.siakad-permission-tile
.siakad-permission-icon{
 font-size:14px!important;
 line-height:1!important;
}
.office-page.office-simple-mode
.office-quick-actions button.siakad-permission-tile strong{
 font-size:10px!important;
 line-height:1.1!important;
}
