/* A scanned invitation leads straight to the colleague's entry form. */
.ko-invite-entry .office-masthead { display: none; }
.ko-invite-entry .office-brand { display: block; margin-right: auto; }
.ko-invite-entry .home-grid { grid-template-columns: minmax(0, 1fr); max-width: 35rem; }
.ko-invite-entry .home-join { background: var(--white); }
#join-pin { max-width: 9rem; font: 700 1.25rem/1.25 var(--mono); letter-spacing: .24em; font-variant-numeric: tabular-nums; }
.ko-form-notice { margin: .2rem 0 .5rem; }
#office-post-form textarea { scroll-margin-block: 2rem; }
.ko-compose-toggle { justify-self: start; background: var(--coral); box-shadow: 2px 2px var(--ink); }
.ko-compose-toggle[aria-expanded="true"] { background: var(--white); }
.ko-compose-toggle::before { content: '+'; font: 700 1.3rem/1 var(--body); }
.ko-compose-toggle[aria-expanded="true"]::before { content: '−'; }
.ko-invite-entry .figure-details > summary, .close-dialog { min-height: 44px; }
@media (max-width: 730px) {
  .figure-details summary, .badge-settings, .question-controls .button, .question-controls .quiet-link,
  .filters button, .reaction, .wall .quiet-link, #owner-settings button, .settings-inner > button { min-height: 44px; }
  .office-dialog .dialog-bar { position: sticky; z-index: 2; top: 0; background: var(--paper); }
  .ko-compose-toggle { width: 100%; }
}
@media (min-width: 396px) and (max-width: 550px) {
  .wall .note-grid { grid-template-columns: 1fr; }
}

.ko-remember-room { display:flex; align-items:center; gap:.5rem; min-height:44px; cursor:pointer; font-size:1rem; }
.ko-remember-room input { width:1.15rem; height:1.15rem; }
.home-join .ko-resume-room { margin:.6rem 0 .8rem; background:var(--mint); }

/* Keep the physical pass, with a one-line closed pin collection on a phone. */
@media screen and (max-width: 730px) {
  .room-bar .room-identity { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.5rem; max-width:none; padding:.35rem .45rem; }
  .room-identity .badge-laminate { margin-top:.3rem; }
  .room-identity #office-pins { grid-column:auto; max-width:8.1rem; }
  .room-identity:has(.ko-pin-album[open]) #office-pins { grid-column:1/-1; max-width:none; }
  .room-identity .ko-pin-album:not([open]) .ko-pin-row .ko-pin-token:nth-child(n+2) { display:none; }
  .room-heading h1 { margin-bottom:.2rem; }
  .room-heading .room-stamp { padding:.25rem .45rem; }
  .question.panel { padding:.65rem .8rem; }
  .question .office-icon-label img { width:22px; height:22px; }
  .question h3 { margin-top:.25rem; font-size:1.25rem; }
  .question-controls { margin-top:.35rem; }
}

.ko-pause { display:flex; align-items:center; gap:clamp(.6rem,3vw,1.6rem); margin:.8rem 0; }
.ko-pause h2,.ko-pause p { margin:0 0 .4rem; }
.ko-pause > img { width:clamp(62px,12vw,105px); height:auto; flex:none; }
.friday-stage::after { content:none; }
.friday-stage { padding-right:clamp(1rem,4.65vw,3.1rem); }
.ko-card-box { float:right; width:clamp(60px,13vw,128px); height:auto; margin:0 0 .5rem .7rem; }
#panel-games [aria-pressed="true"] { background:var(--ink); color:white; }
#panel-games .office-game-link img { object-fit:contain; }
