/* Final, scoped home layout: four touch targets on every tablet orientation. */
.screen-card[data-layout="home"] .home-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  left:18px!important;right:18px!important;top:50%!important;bottom:18px!important;gap:14px!important;
}
.screen-card[data-layout="home"] .journey-choice{
  min-width:0!important;min-height:0!important;overflow:hidden;
  grid-template-columns:48px minmax(0,1fr)!important;padding:14px!important;gap:10px!important;
}
.screen-card[data-layout="home"] .journey-choice strong{
  display:block;white-space:normal!important;overflow-wrap:normal!important;
  font-size:clamp(18px,2.7vw,26px)!important;line-height:1.12!important;
}
.screen-card[data-layout="home"] .journey-choice small{white-space:normal;font-size:14px!important}
.screen-card[data-layout="home"] .welcome-screen{padding:15% 24px 54%!important}
.assistance-active .modal-card{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;padding:18px;animation:none}
.assistance-active .modal-guide-logo{height:85px}
.assistance-active .modal-card h2{font-size:32px}
.assistance-active .modal-card .lead{font-size:18px;margin:10px auto}
.guide-pin-pad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(360px,100%);margin:14px auto}
.guide-pin-pad button{min-height:56px;border:2px solid #fff;border-radius:12px;background:#164b34;color:#fff;font:800 23px/1 Arial;touch-action:manipulation;cursor:pointer}
.guide-pin-pad button[data-guide-key="CLEAR"],.guide-pin-pad button[data-guide-key="DELETE"]{font-size:16px}
.guide-pin-pad button:active{background:#c9530b}
#guidePinError{color:#8c2738;font-weight:700;min-height:20px;margin:8px}
.assistance-active .button-row{margin:10px 0}
.idle-screen{touch-action:manipulation}
@media(orientation:landscape){
  .screen-card[data-layout="home"] .welcome-screen{padding:10% 24px 54%!important}
  .screen-card[data-layout="home"] .journey-choice small{display:none}
  .screen-card[data-layout="home"] .journey-choice{padding:8px!important}
}
