/* Employee-only help. No calendar, authentication or print layout changes. */
body.employee-portal .employee-account-actions button {
  align-self: stretch;
  padding: 8px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.home-screen-guide-open { overflow: hidden; }
.home-screen-guide-dialog {
  width: min(760px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #c8d4db;
  border-radius: 14px;
  background: #fff;
  color: #174d68;
  box-shadow: 0 20px 75px #0d233c42;
}
.home-screen-guide-dialog[open] { display: flex; flex-direction: column; gap: 10px; }
.home-screen-guide-dialog::backdrop { background: rgb(15 36 47 / .5); }
.home-screen-guide-header { display: flex; flex: 0 0 auto; align-items: stretch; gap: 10px; }
.home-screen-guide-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1; min-width: 0; gap: 6px; }
.home-screen-guide-header button,
.home-screen-guide-footer button {
  min-width: 0;
  min-height: 44px;
  align-self: stretch;
  padding: 8px;
  font-size: 15px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #174d68;
  border-color: #6e9bb1;
  background: #fff;
}
.home-screen-guide-footer { display: flex; flex: 0 0 auto; }
.home-screen-guide-footer [data-home-screen-close] { width: 100%; }
.home-screen-guide-tabs [aria-selected="true"] { color: #fff; background: #246a82; border-color: #246a82; }
.home-screen-guide-dialog button:focus-visible { outline: 3px solid #b77c13; outline-offset: 2px; }
.home-screen-guide-body:focus-visible { outline: 2px solid #6e9bb1; outline-offset: -2px; }
.home-screen-guide-body { min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.home-screen-guide-body [role="tabpanel"] { min-width: 0; }
.home-screen-guide-body img { display: block; width: 100%; max-width: 100%; height: auto; }
.home-screen-guide-body p { padding: 12px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  body.employee-portal .employee-account-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-screen-guide-dialog { padding: 8px; }
  .home-screen-guide-header { gap: 6px; }
}
@media print {
  .home-screen-guide-dialog { display: none !important; }
}
