/* The Tap In for Business front door: two boxes, Staff and Admin. */
.start{max-width:760px;padding-top:28px;padding-bottom:40px}
.start h1{font-size:clamp(28px,6vw,40px);margin-top:6px}
.start .lede{color:var(--muted);margin-top:8px}
.roles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
.role{display:flex;flex-direction:column;gap:8px;min-height:230px;padding:22px;border-radius:22px;border:1px solid var(--line);background:var(--card);color:var(--fg);text-decoration:none;transition:transform .12s,border-color .12s,background .12s}
.role:hover{border-color:var(--signal);background:var(--card-on)}
.role:active{transform:scale(.985)}
.role:focus-visible{outline:2px solid var(--signal);outline-offset:3px}
.role .ic{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--card-on);border:1px solid var(--line)}
.role .ic svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.role h2{font-size:28px;margin-top:6px}
.role p{color:var(--muted);flex:1}
.role .go{font-weight:700;color:var(--signal)}
.role .go i{font-style:normal;display:inline-block;transition:transform .12s}
.role:hover .go i{transform:translateX(3px)}
.events-link{margin-top:22px;text-align:center}
html.is-native .events-link{display:none}
@media (max-width:620px){.roles{grid-template-columns:1fr}.role{min-height:0}}

/* On the "Tap to enter" screen of the Business app: Staff and Admin replace the single tap button. */
.intro-roles{display:none}
html.is-bizenter .tapbtn{display:none}
html.is-bizenter .intro-roles{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(520px,92vw);margin-top:26px;position:relative;z-index:3}
.intro-roles .role{min-height:0;padding:16px;text-align:left;font:inherit;cursor:pointer}
.intro-roles .role h2{font-size:22px;margin-top:4px}
.intro-roles .role p{font-size:13px;flex:0}
@media (max-width:420px){.intro-roles .role{padding:14px}.intro-roles .role h2{font-size:20px}}

/* Tap In for Residence: three boxes (Resident, Security, Manager). Side by side when there is room, compact rows on a phone. */
html.is-resenter .intro-roles{grid-template-columns:repeat(3,1fr);width:min(720px,94vw)}
.intro-roles .role .rt{display:block}
.roles.three{grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){.roles.three{grid-template-columns:1fr}.roles.three .role{min-height:0}}
@media (max-width:640px){
  html.is-resenter .intro-roles{grid-template-columns:1fr;gap:10px;width:min(420px,92vw)}
  html.is-resenter .intro-roles .role{flex-direction:row;align-items:center;gap:14px;padding:12px 14px}
  html.is-resenter .intro-roles .role .ic{flex:none}
}
