/* OccupantLink: centered brand signature at the very bottom of every page. */
.ol-townhall-ribbon { width:100%; min-width:0; height:42px; overflow:hidden; display:flex; align-items:center; color:#002b50; background:#ffc42e; border-bottom:1px solid #d99b09; }
.ol-townhall-track { display:flex; width:max-content; flex-shrink:0; will-change:transform; backface-visibility:hidden; animation:ol-townhall-scroll 53.333333s linear infinite; }
.ol-townhall-track span { flex-shrink:0; padding-right:100px; white-space:nowrap; font-size:20px; font-weight:700; line-height:42px; }
@keyframes ol-townhall-scroll { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
/* Keep the ticker continuous when a pointer rests over the display. */
@media (prefers-reduced-motion:reduce) { .ol-townhall-ribbon { height:auto; } .ol-townhall-track { animation:none; width:100%; } .ol-townhall-track span { white-space:normal; padding:8px 16px; font-size:16px; line-height:1.4; flex-shrink:1; } .ol-townhall-track span+span { display:none; } }
body::after { content: ""; display: block; width: 100%; height: 48px; flex: 0 0 48px; background: #fff url("/assets/occupantlink-logo.svg") center / 156px 25px no-repeat; }
body:has(.tv-updates)::after { display: none; }
.tv-footer::after { content: ""; position: absolute; width: 138px; height: 22px; bottom: 2px; left: 50%; transform: translateX(-50%); background: #fff url("/assets/occupantlink-logo.svg") center / 124px 20px no-repeat; border-radius: 3px; }

/* Kiosk signature stays inside the blue footer, never below the page. */
body:has(.partner-footer)::after { display: none; }
.partner-footer { position: relative; padding-bottom: 38px; }
.partner-footer::after { content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); width: 156px; height: 25px; background: transparent url("/assets/occupantlink-logo-light.svg") center / contain no-repeat; }
.tv-footer::after { background-color: transparent; background-image: url("/assets/occupantlink-logo-light.svg"); }

/* Compact signup keeps the portrait kiosk home within its original footprint. */
.signup-launch { height: 60px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 28px; color: #002b50; background: #f2f6fa; border-top: 1px solid #d4dfe9; }
.signup-launch > span { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.signup-launch > span svg { width: 22px; height: 22px; }
.signup-launch > a, .signup-launch > button, .signup-dialog-heading button { border: 0; border-radius: 7px; background: #002b50; color: #fff; font: inherit; font-size: 16px; font-weight: 700; padding: 10px 18px; cursor: pointer; }
.signup-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; border-radius: 12px; width: min(760px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); color: #002b50; background: #fff; }
.signup-dialog::backdrop { background: rgb(0 24 48 / 70%); }
.signup-dialog-heading { height: 60px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 18px; }
.signup-dialog iframe { display: block; width: 100%; height: min(690px,calc(100dvh - 100px)); border: 0; }
@media(max-width:600px) { .signup-launch { padding: 8px 14px; } .signup-launch > span { font-size: 14px; gap: 5px; } .signup-launch > a, .signup-launch > button { font-size: 14px; padding: 10px 12px; } }

.signup-launch > a { text-decoration: none; white-space: nowrap; }

/* Portrait kiosk: fixed screen frame with scroll contained in the content panel. */
html:has(.kiosk-display), body:has(.kiosk-display) { height: 100%; overflow: hidden; }
.site-shell.kiosk-display { width: 100%; max-width: none; height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.partner-footer::after { width: 39px; height: 6.25px; }
.tv-footer::after { width: 34.5px; height: 5.5px; background-size: 31px 5px; }
body::after { background-size: 39px 6.25px; }
.kiosk-display > .project-hero { flex: 0 0 auto; height: clamp(250px,22dvh,430px); }
.kiosk-display > .page-content, .kiosk-display > main.card { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.kiosk-display > .signup-launch, .kiosk-display > .partner-footer { flex: 0 0 auto; }

/* A phone must never inherit the TV's 720px minimum canvas or clipped slide. */
.tv-logo-tile, .tv-jk-logo { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.tv-logo-tile img, .tv-jk-logo img { min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; }
@media (min-width: 701px) {
  .tv-updates .tv-slide-copy h1 { font-size: clamp(32px,3vw,58px); line-height: 1.05; }
  .tv-updates .tv-date { font-size: clamp(20px,1.55vw,30px); line-height: 1.2; }
  .tv-updates .tv-slide { padding-top: 2.5vh; padding-bottom: 2.5vh; }
}
@media (min-width: 701px) and (orientation: portrait) {
  .portrait-signage .tv-slide { grid-template-rows: auto minmax(0,1fr); align-items: start; gap: 1.5vh; }
  .portrait-signage .tv-slide-icon { width: 8vh; }
  .portrait-signage .tv-slide-copy h1 { font-size: clamp(34px,4.5vw,50px); }
}
@media (max-width: 700px) {
  html:has(.tv-updates), body:has(.tv-updates) { height: auto; overflow-x: hidden; overflow-y: auto; }
  .tv-updates, .tv-updates.portrait-signage { width: 100%; min-width: 0; height: auto; min-height: 100dvh; display: flex; flex-direction: column; gap: 14px; }
  .tv-updates .tv-header { position: relative; inset: auto; display: flex; flex-direction: column; gap: 12px; width: 100%; height: auto; min-height: 0; padding: 16px; background: #fff; }
  .tv-updates .tv-header { order: 0; }
  .tv-updates .tv-slide { order: 1; }
  .tv-updates .tv-progress { order: 2; }
  .tv-updates .tv-ticker { order: 3; }
  .tv-updates .tv-footer { order: 4; }
  .tv-updates .tv-brand { min-width: 0; width: 100%; gap: 12px; }
  .tv-updates .tv-jk-logo { flex: 0 0 82px; width: 82px; height: 82px; min-width: 0; padding: 4px; }
  .tv-updates .tv-project-title { flex: 1; min-width: 0; }
  .tv-updates .tv-project-title strong { width: auto; max-width: 100%; white-space: normal; font-size: 21px; line-height: 1.1; border-bottom-width: 3px; }
  .tv-updates .tv-project-title span { font-size: 14px; line-height: 1.25; }
  .tv-updates .tv-project-title small { font-size: 10px; line-height: 1.3; letter-spacing: .12em; }
  .tv-updates .tv-clock { position: static; align-self: stretch; min-width: 0; padding: 9px 12px; gap: 10px; color: #fff; background: #002b50; border-left-width: 3px; }
  .tv-updates .tv-clock > svg { width: 28px; height: 28px; }
  .tv-updates .tv-clock strong { font-size: 22px; }
  .tv-updates .tv-clock span { font-size: 12px; }
  .tv-updates .tv-slide { position: relative; inset: auto; display: block; margin: 0 14px; padding: 20px; overflow: visible; border-left-width: 6px; border-radius: 14px; }
  .tv-updates .tv-slide-icon { width: 48px; max-width: none; margin: 0 0 14px; }
  .tv-updates .tv-slide-copy { width: 100%; min-width: 0; }
  .tv-updates .tv-eyebrow { font-size: 12px; text-align: left; letter-spacing: .12em; }
  .tv-updates .tv-slide-copy h1 { font-size: 28px; line-height: 1.08; text-align: left; overflow-wrap: break-word; }
  .tv-updates .tv-date { display: block; width: auto; margin: 14px 0; padding: 9px 12px; font-size: 16px; line-height: 1.35; text-align: left; }
  .tv-updates .tv-slide-copy ul { gap: 10px; }
  .tv-updates .tv-slide-copy li { padding-left: 18px; font-size: 16px; line-height: 1.4; }
  .tv-updates .tv-slide-copy li::before { width: 7px; height: 7px; top: .5em; }
  .tv-updates .tv-progress { position: relative; inset: auto; display: flex; flex-wrap: nowrap; margin: 0 14px; gap: 5px; }
  .tv-updates .tv-progress button { flex: 1 1 0; min-width: 0; width: auto; height: 6px; }
  .tv-updates .tv-ticker { position: relative; inset: auto; height: 42px; min-height: 42px; grid-template-columns: 42px minmax(0,1fr); }
  .tv-updates .tv-ticker > svg { width: 22px; height: 22px; }
  .tv-updates .tv-ticker p { font-size: 14px; }
  .tv-updates .tv-footer { position: relative; inset: auto; height: auto; min-height: 150px; margin-top: auto; padding: 14px 14px 32px; gap: 12px; grid-template-columns: minmax(0,1fr) auto; }
  .tv-updates .tv-team-logos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .tv-updates .tv-logo-tile { width: 100%; height: 42px; min-height: 0; }
  .tv-updates .tv-qr { gap: 8px; padding-left: 10px; }
  .tv-updates .tv-qr > div { max-width: 80px; }
  .tv-updates .tv-qr strong { font-size: 11px; }
  .tv-updates .tv-qr span { font-size: 10px; }
  .tv-updates .tv-qr svg { width: 66px; height: 66px; }
  .tv-updates .tv-updated { right: 14px; bottom: 15px; font-size: 10px; }
}

/* Give occupants twice as long to read the bottom announcement ticker. */
.tv-updates .tv-ticker p { animation-duration: 68s; }

/* Compact first-week shutdown rotation leaves all six touch options accessible. */
.kiosk-display .notification-grid.ol-shutdown-carousel {
  display: block;
  min-height: 0;
  height: 260px;
  padding: 18px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ol-shutdown-notice h3 { margin: 0 0 10px; font-size: 23px; }
.ol-shutdown-notice p { margin: 8px 0; font-size: 20px; line-height: 1.4; }
.ol-shutdown-notice .ol-shutdown-dates { font-weight: 700; }
.ol-shutdown-notice .ol-shutdown-count { font-size: 14px; opacity: .8; }

/* Management notice remains readable without displacing touch navigation. */
.ol-resident-update { margin-top: 18px; border: 2px solid #d9e2e8; border-radius: 10px; overflow: hidden; background: #fff; }
.ol-resident-update header { background: #063b60; color: white; padding: 12px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ol-resident-update h2 { margin: 0; font-size: 25px; }
.ol-resident-update header span { font-size: 16px; }
.ol-resident-update-body { max-height: 400px; overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px; font-size: 21px; line-height: 1.45; }
.ol-resident-update-body h3 { font-size: 22px; color: #063b60; margin: 20px 0 10px; }
.ol-resident-update-body h3:first-child { margin-top: 0; }
.ol-resident-update-body p { margin: 10px 0; }
.ol-resident-update-body ul { padding-left: 25px; list-style: disc; }
.ol-resident-update-body li { display: list-item; margin: 8px 0; }
.ol-resident-update-body li::marker { color: #efb526; }
.ol-resident-update-body table { width: 100%; border-collapse: collapse; }
.ol-resident-update-body th, .ol-resident-update-body td { border: 1px solid #d9e2e8; padding: 10px; text-align: left; }
.ol-resident-update-body th { background: #063b60; color: #fff; }


.ol-resident-update .ol-notice-date {
  background: #ffe082;
  color: #063b60;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Temporarily unavailable JK features retain their places in the approved grid. */
.ol-jk .signup-launch, .ol-jk a[href*="/text-alerts/"] { display: none !important; }
.ol-jk [data-coming-soon] { position: relative; overflow: hidden; cursor: default; }
.ol-jk [data-coming-soon]:hover { transform: none; outline: none; }
.ol-jk [data-coming-soon] > svg, .ol-jk [data-coming-soon] > span:not(.ol-coming-soon) { opacity: .5; }
.ol-jk .ol-coming-soon {
  position: absolute; left: -10%; top: 50%; width: 120%;
  transform: translateY(-50%) rotate(-17deg);
  background: #f4bd3b; color: #063b60; text-align: center;
  padding: 6px 0; font-size: 17px; font-weight: 800; letter-spacing: .08em;
  box-shadow: 0 1px 4px #002b5030; pointer-events: none;
}
.ol-jk .kiosk-display .project-title-block {
  width: 80%; min-width: 0; padding: 24px 28px 20px; box-sizing: border-box;
}
.ol-jk .kiosk-display .project-title-block p,
.ol-jk .kiosk-display .project-title-block h1 { max-width: 88%; width: fit-content; line-height: 1.25; }
.ol-jk .kiosk-display .project-name { font-size: clamp(22px,2.8vw,30px); }
.ol-jk .kiosk-display .project-phase { font-size: clamp(20px,2.4vw,26px); }
.ol-jk .kiosk-display .project-title-block h1 { font-size: clamp(20px,2.4vw,26px); margin-top: 10px; }

.ol-shutdown-tier { background: #ffe082; color: #063b60; font-weight: 800; padding: 2px 6px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Detail pages occupy the lower kiosk area; shutdowns remain above them. */
.kiosk-display > .page-content.ol-detail-open { display: flex; flex-direction: column; overflow: hidden; }
.ol-detail-open > .notifications-panel { flex: 0 0 auto; }
.ol-detail-open > :not(.notifications-panel):not(.ol-kiosk-detail) { display: none !important; }
.ol-kiosk-detail { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; border: 2px solid #d9e2e8; border-radius: 10px; overflow: hidden; background: #fff; }
.ol-detail-bar { display: flex; align-items: center; gap: 24px; padding: 12px 18px; background: #063b60; color: #fff; }
.ol-detail-bar h2 { font-size: 23px; margin: 0; }
.ol-detail-bar button { min-height: 48px; padding: 10px 20px; background: #f4bd3b; color: #063b60; border: 0; border-radius: 6px; font-size: 20px; font-weight: 700; cursor: pointer; }
.ol-kiosk-detail iframe { flex: 1 1 0; width: 100%; min-height: 0; border: 0; background: white; }
.ol-detail-embedded .project-hero, .ol-detail-embedded .partner-footer, .ol-detail-embedded .signup-launch { display: none !important; }
.ol-detail-embedded .site-shell { width: 100%; min-height: 100dvh; height: 100dvh; max-width: none; }
.ol-detail-embedded .page-content { min-height: 0; overflow-y: auto; flex: 1 1 0; }

/* Home tile order follows the latest requested positions. */
.ol-jk .home-tile-grid > :nth-child(1) { order: 1; }
.ol-jk .home-tile-grid > :nth-child(2) { order: 2; }
.ol-jk .home-tile-grid > :nth-child(3) { order: 6; }
.ol-jk .home-tile-grid > :nth-child(4) { order: 4; }
.ol-jk .home-tile-grid > :nth-child(5) { order: 5; }
.ol-jk .home-tile-grid > :nth-child(6) { order: 3; }

/* Half-height kiosk footer: approximately 108px instead of 215px at 1080×1920. */
.ol-jk .kiosk-display > .partner-footer {
  height: 108px; min-height: 0; box-sizing: border-box;
  grid-template-columns: minmax(0,1fr) 140px; padding: 6px 18px 14px 28px;
}
.ol-jk .kiosk-display .footer-logos { min-height: 0; }
.ol-jk .kiosk-display .footer-logo { height: 58px; }
.ol-jk .kiosk-display .footer-logo.light-card { height: 50px; padding: 4px; }
.ol-jk .kiosk-display .footer-logo img { max-height: 54px; }
.ol-jk .kiosk-display .footer-logo.light-card img { height: 44px; }
.ol-jk .kiosk-display .footer-divider { height: 46px; }
.ol-jk .kiosk-display .footer-qr { min-height: 0; padding-left: 12px; }
.ol-jk .kiosk-display .footer-qr > span { font-size: 10px; line-height: 1.1; margin-bottom: 2px; }
.ol-jk .kiosk-display .qr-frame { width: 64px; height: 64px; padding: 4px; }
.ol-jk .kiosk-display .qr-frame svg, .ol-jk .kiosk-display .qr-frame img { width: 56px; height: 56px; }
.ol-jk .kiosk-display > .partner-footer::after { bottom: 3px; }

/* Keep the clean JK mark above a lighter, translucent title panel. */
.ol-jk .kiosk-display > .project-hero { height: clamp(300px,22dvh,430px); }
.ol-jk .kiosk-display .jk-mark {
  z-index: 3; top: 12px; width: clamp(170px,26vw,280px);
  height: clamp(88px,8dvh,144px); box-sizing: border-box;
  background: #fff; padding: 8px 16px; row-gap: 4px;
}
.ol-jk .kiosk-display .jk-mark img { mix-blend-mode: normal; object-fit: contain; }
.ol-jk .kiosk-display .jk-mark span { font-size: clamp(9px,1.1vw,12px); }
.ol-jk .kiosk-display .project-title-block {
  z-index: 2; background: linear-gradient(105deg,rgba(0,43,80,.68) 0 78%,rgba(0,43,80,.45) 95%,transparent 95%);
}
.ol-jk .kiosk-display .project-title-block p,
.ol-jk .kiosk-display .project-title-block h1 { text-shadow: 0 1px 3px rgba(0,20,40,.75); }

.ol-jk .ol-coming-soon { opacity: .5; }

/* Allow room for browser chrome on portrait kiosk installations. */
.ol-jk .kiosk-display .ol-resident-update-body { max-height: clamp(160px,calc(78dvh - 1060px),400px); }

/* Compact header: two-thirds of the previous kiosk height. */
.ol-jk .kiosk-display > .project-hero { height: clamp(200px,14.6667dvh,286.667px); }
.ol-jk .kiosk-display .jk-mark { top: 8px; width: clamp(150px,22vw,235px); height: clamp(58.667px,5.3333dvh,96px); padding: 5px 12px; row-gap: 2px; }
.ol-jk .kiosk-display .jk-mark span { font-size: 9px; }
.ol-jk .kiosk-display .project-title-block { padding: 8px 28px 10px; }
.ol-jk .kiosk-display .project-name { font-size: 24px; padding-bottom: 4px; border-bottom-width: 2px; }
.ol-jk .kiosk-display .project-phase { font-size: 21px; margin-top: 5px !important; padding-bottom: 4px; border-bottom-width: 2px; }
.ol-jk .kiosk-display .project-title-block h1 { font-size: 21px; margin-top: 5px; }
.ol-jk .kiosk-display .weather-clock { transform: scale(.8); transform-origin: top right; }

/* Each rotating shutdown fits its fixed window without a scrollbar. */
.kiosk-display .notification-grid.ol-shutdown-carousel { overflow: hidden; }
.ol-shutdown-carousel .ol-shutdown-notice h3 { font-size: calc(23px * var(--shutdown-text-scale,1)); }
.ol-shutdown-carousel .ol-shutdown-notice p { font-size: calc(20px * var(--shutdown-text-scale,1)); margin: calc(8px * var(--shutdown-text-scale,1)) 0; }
.ol-shutdown-carousel .ol-shutdown-notice .ol-shutdown-count { font-size: calc(14px * var(--shutdown-text-scale,1)); }

/* Give the resident update one-third more height and compact the touch controls. */
.ol-jk .kiosk-display .ol-resident-update-body { max-height: clamp(234px,calc(104dvh - 1392.75px),554px); }
.ol-jk .kiosk-display .touch-options > h2 { font-size: 18px; letter-spacing: .08em; margin: 0 30px 8px; gap: 16px; }
.ol-jk .kiosk-display .home-tile-grid { gap: 10px 14px; }
.ol-jk .kiosk-display .home-tile { min-height: 88px; grid-template-columns: 52px 1fr 22px; padding: 10px; font-size: 16px; }
.ol-jk .kiosk-display .home-tile > svg:first-child { width: 42px; height: 42px; }
.ol-jk .kiosk-display .home-tile > svg:last-child { width: 22px; height: 22px; }
.ol-jk .kiosk-display .home-tile .ol-coming-soon { font-size: 15px; padding: 4px 0; }

/* Transfer one-third of the shutdown panel height to the project update. */
.ol-jk .kiosk-display .notifications-panel > h2 { height: 44px; font-size: 24px; }
.ol-jk .kiosk-display .notification-grid.ol-shutdown-carousel { height: 171.333px; padding: 10px 24px; }
.ol-jk .kiosk-display .ol-resident-update-body { max-height: clamp(344px,calc(104dvh - 1282.75px),664px); }

/* Requested 25% reduction, shared by the touch and landscape resident displays. */
.ol-jk .ol-resident-update h2 { font-size: 18.75px; }
.ol-jk .ol-resident-update header span { font-size: 12px; }
.ol-jk .ol-resident-update-body { font-size: 15.75px; }
.ol-jk .ol-resident-update-body h3 { font-size: 16.5px; }

/* Same kiosk sections, composed for a landscape screen with no touch controls. */
.ol-jk .ol-landscape-display { height: 100dvh; }
.ol-jk .ol-landscape-display > .project-hero { height: 18dvh; min-height: 0; flex: 0 0 18dvh; }
.ol-jk .ol-landscape-display .jk-mark { left: 28px; top: 18px; width: 190px; height: calc(18dvh - 36px); max-height: 150px; }
.ol-jk .ol-landscape-display .project-title-block { inset: 0 0 0 246px; width: auto; display: flex; flex-direction: column; justify-content: center; padding: 16px 32px; }
.ol-jk .ol-landscape-display .project-title-block p,
.ol-jk .ol-landscape-display .project-title-block h1 { max-width: 100%; }
.ol-jk .ol-landscape-display .project-name { font-size: clamp(24px,2.2vw,42px); }
.ol-jk .ol-landscape-display .project-phase { font-size: clamp(18px,1.55vw,30px); }
.ol-jk .ol-landscape-display .project-title-block h1 { font-size: clamp(16px,1.25vw,24px); }
.ol-jk .ol-landscape-display > .page-content { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr); gap: 14px; padding: 18px 32px; }
.ol-jk .ol-landscape-display .notifications-panel { margin: 0; min-height: 0; }
.ol-jk .ol-landscape-display .notifications-panel > h2 { height: 40px; font-size: 23px; }
.ol-jk .ol-landscape-display .notification-grid.ol-shutdown-carousel { height: 170px; padding: 10px 24px; }
.ol-jk .ol-landscape-display .ol-resident-update { display: flex; flex-direction: column; margin: 0; min-height: 0; }
.ol-jk .ol-landscape-display .ol-resident-update header { flex: 0 0 auto; padding: 10px 22px; }
.ol-jk .ol-landscape-display .ol-resident-update-body { flex: 1; min-height: 0; max-height: none; scrollbar-width: none; }
.ol-jk .ol-landscape-display .ol-resident-update-body::-webkit-scrollbar { display: none; }
.ol-jk .ol-landscape-display > .partner-footer { flex: 0 0 108px; height: 108px; min-height: 0; }
.ol-jk .ol-landscape-display .update-line { display: none; }
.ol-jk .ol-landscape-display .footer-qr { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 12px; flex: 0 0 auto; min-width: 240px; padding: 0 12px; }
.ol-jk .ol-landscape-display .footer-qr > span { display: block !important; color: #ffd04a; font-size: clamp(14px,1.15vw,20px); font-weight: 700; line-height: 1.25; margin: 0; text-align: center; }
.ol-jk .ol-landscape-display .footer-qr > span::after { content: '→'; display: block; font-size: 34px; line-height: .85; }
.ol-jk .ol-landscape-display .footer-qr .qr-frame { flex: 0 0 88px; width: 88px; height: 88px; padding: 4px; }
.ol-jk .ol-landscape-display .footer-qr .qr-frame svg, .ol-jk .ol-landscape-display .footer-qr .qr-frame img { width: 80px; height: 80px; }
@media (max-height: 800px) {
  .ol-jk .ol-landscape-display > .page-content { gap: 8px; padding: 10px 22px; }
  .ol-jk .ol-landscape-display .notification-grid.ol-shutdown-carousel { height: 148px; }
  .ol-jk .ol-landscape-display .jk-mark { top: 8px; height: calc(18dvh - 16px); }
}
/* Phone home uses the same resident notices as the project kiosk. */
.ol-jk .ol-resident-home .notification-grid.ol-shutdown-carousel { display:block; padding:18px; height:auto; overflow:visible; }
.ol-jk .ol-resident-home .notifications-panel > h2,
.ol-jk .ol-resident-home .ol-resident-update h2 { font-size:28px; line-height:1.2; font-weight:700; }
.ol-jk .ol-resident-home .notifications-panel > h2 { height:auto; padding:14px 18px; margin:0; }
.ol-jk .ol-resident-home .ol-shutdown-notice h3,
.ol-jk .ol-resident-home .ol-shutdown-notice p,
.ol-jk .ol-resident-home .ol-resident-update-body,
.ol-jk .ol-resident-home .ol-resident-update-body td,
.ol-jk .ol-resident-home .ol-resident-update-body th { font-size:21px; line-height:1.4; }
.ol-jk .ol-resident-home .ol-shutdown-notice .ol-shutdown-count { font-size:14px; }
.ol-jk .ol-resident-home .ol-resident-update header { flex-direction:column; align-items:flex-start; gap:6px; padding:14px 18px; }
.ol-jk .ol-resident-home .ol-resident-update header span { font-size:14px; line-height:1.5; }
.ol-jk .ol-resident-home .ol-resident-update-body { max-height:640px; padding:16px; }
.ol-jk .ol-resident-home .ol-resident-update-body h3 { font-size:22px; }
.ol-jk .ol-resident-home .ol-resident-update-body table { table-layout:fixed; }
.ol-jk .ol-resident-home .ol-resident-update-body td,
.ol-jk .ol-resident-home .ol-resident-update-body th { padding:8px; overflow-wrap:anywhere; }
@media(max-width:700px) {
  .ol-jk .ol-resident-home { width:100%; min-width:0; }
  .ol-jk .ol-resident-home .page-content { padding:12px; }
  .ol-jk .ol-resident-home .project-title-block { padding:16px; background:rgb(0 43 80 / 72%); }
  .ol-jk .ol-resident-home .project-name { font-size:22px; }
  .ol-jk .ol-resident-home .project-phase { font-size:18px; }
  .ol-jk .ol-resident-home .project-title-block h1 { font-size:17px; }
  .ol-jk .ol-resident-home .home-tile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .ol-jk .ol-resident-home .home-tile { min-width:0; min-height:100px; padding:10px; font-size:16px; grid-template-columns:30px minmax(0,1fr); gap:8px; }
  .ol-jk .ol-resident-home .home-tile > svg:first-child { width:28px; height:28px; }
  .ol-jk .ol-resident-home .home-tile > svg:last-child { display:none; }
  .ol-jk .ol-resident-home .home-tile .ol-coming-soon { font-size:12px; }
  .ol-jk .ol-resident-home .touch-options > h2 { font-size:16px; margin:18px 0 12px; }
  .ol-jk .ol-resident-home .partner-footer { min-height:160px; height:auto; padding-bottom:38px; }
  .ol-jk .ol-resident-home .partner-footer::after { width:90px; height:15px; bottom:10px; }
}
.ol-shutdown-carousel { touch-action: pan-y pinch-zoom; user-select: none; }
.ol-swipe-hint { color: #063b60; background: #ffe18a; padding: 2px 6px; border-radius: 4px; display: inline-block; }
.ol-scroll-hint { display: block; color: #ffe18a; font-size: 14px; line-height: 1.35; }

/* Full-height touch kiosk: spend available space on resident information. */
.ol-jk .kiosk-display:not(.ol-landscape-display) > .page-content:has(.touch-options) {
  display: flex; flex-direction: column; gap: clamp(10px, .8dvh, 18px);
  padding: 14px 20px; overflow: hidden;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .notifications-panel {
  flex: 0 0 auto; margin: 0;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .notifications-panel > h2 {
  height: clamp(48px, 3.3dvh, 64px); font-size: clamp(24px, 3vw, 34px); padding: 0 24px;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .notification-grid.ol-shutdown-carousel {
  box-sizing: border-box; height: clamp(300px, 21dvh, 430px); padding: 16px 24px;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-shutdown-notice h3 {
  font-size: calc(clamp(26px, 3vw, 34px) * var(--shutdown-text-scale, 1));
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-shutdown-notice p {
  font-size: calc(clamp(24px, 2.8vw, 32px) * var(--shutdown-text-scale, 1)); line-height: 1.3;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-shutdown-notice .ol-shutdown-count {
  font-size: calc(18px * var(--shutdown-text-scale, 1));
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .touch-options { flex: 0 0 auto; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .touch-options > h2 { font-size: 22px; margin: 0 20px 10px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .home-tile-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .home-tile {
  box-sizing: border-box; min-width: 0; min-height: clamp(112px, 7.5dvh, 152px);
  grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 16px;
  font-size: clamp(22px,2.4vw,28px); line-height: 1.2;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .home-tile > svg:first-child { width: 46px; height: 46px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .home-tile > svg:last-child { display: none; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .home-tile .ol-coming-soon { font-size: 20px; padding: 7px 0; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update {
  flex: 1 1 0; min-height: 0; margin: 0; display: flex; flex-direction: column;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update header { flex: 0 0 auto; flex-wrap: wrap; padding: 14px 22px; gap: 6px 16px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update h2 { font-size: 30px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update header span { font-size: 18px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update-body {
  flex: 1 1 0; min-height: 0; max-height: none; padding: 20px 26px;
  font-size: clamp(24px,2.8vw,32px); line-height: 1.45;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update-body h3 { font-size: clamp(26px,3vw,34px); }
.ol-jk .kiosk-display:not(.ol-landscape-display) .update-line { flex: 0 0 auto; margin: 0; }

/* Larger QR retains a white scanning margin and the bottom-right position. */
.ol-jk .kiosk-display:not(.ol-landscape-display) > .partner-footer {
  height: clamp(164px,10dvh,196px); grid-template-columns: minmax(0,1fr) 180px; padding: 8px 20px 24px 28px;
}
.ol-jk .kiosk-display:not(.ol-landscape-display) .footer-qr > span { font-size: 15px; margin-bottom: 5px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .qr-frame { box-sizing: border-box; width: 128px; height: 128px; padding: 6px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) .qr-frame svg,
.ol-jk .kiosk-display:not(.ol-landscape-display) .qr-frame img { display:block; width: 116px; height: 116px; }
.ol-jk .kiosk-display:not(.ol-landscape-display) > .partner-footer::after { width: 94px; height: 15px; bottom: 5px; }
.ol-jk .ol-landscape-display > .partner-footer { height: 148px; flex-basis: 148px; }
.ol-jk .ol-landscape-display .footer-qr .qr-frame { box-sizing:border-box; flex-basis:128px; width:128px; height:128px; padding:6px; }
.ol-jk .ol-landscape-display .footer-qr .qr-frame svg,
.ol-jk .ol-landscape-display .footer-qr .qr-frame img { width:116px; height:116px; }

/* Short browser windows keep all content reachable rather than clipping it. */
@media (max-height: 1100px) {
  .ol-jk .kiosk-display:not(.ol-landscape-display) > .page-content:has(.touch-options) { overflow-y:auto; }
  .ol-jk .kiosk-display:not(.ol-landscape-display) .ol-resident-update { flex: 0 0 360px; }
}

/* Reserve the full width of the enlarged landscape QR and its caption. */
.ol-jk .ol-landscape-display > .partner-footer { grid-template-columns: minmax(0,1fr) 320px; }
.ol-jk .ol-landscape-display .footer-qr { min-width: 0; width: 100%; box-sizing: border-box; }
.ol-jk .ol-landscape-display .footer-qr > span { flex: 1 1 0; min-width: 0; }

/* Example only: the actual resident unit field starts empty. */
.unit-search input::placeholder { color: currentColor; opacity: .5; }
.ol-lookahead-heading { padding: 16px 20px; border-left: 5px solid #efb526; border-radius: 8px; background: #eef5fa; color: #002b50; }
.ol-lookahead-heading h2 { margin: 0 0 8px; font-size: clamp(22px, 2.5vw, 30px); }
.ol-lookahead-dates { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: clamp(14px, 1.6vw, 20px); line-height: 1.5; }
.ol-lookahead-dates > span { display: block; }
.ol-lookahead-dates time { font-weight: 700; }
.unit-lookahead-heading .ol-lookahead-dates { margin-top: 6px; }
