/* App screens on the landing page, drawn after the real app (D:\Digital-Concierge src/pages, src/admin).
   Phone screens are laid out at the app's real width (375px) and scaled with zoom, so sizes match the app. */
.i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.phone { --z: .74; display: inline-block; background: var(--ink); border-radius: 44px; padding: 9px; box-shadow: var(--shadow-stage); text-align: left; }
.phone__screen { position: relative; width: 375px; height: 790px; zoom: var(--z); background: var(--canvas); border-radius: 48px; overflow: hidden; font-size: 15px; line-height: 1.45; color: var(--text); padding-top: 34px; }
.phone--hero { --z: .62; position: absolute; right: max(0px, calc(50% - 570px)); bottom: -70px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; padding-bottom: 8px; background: #fff; box-shadow: 0 -1px 0 rgba(112,115,124,.16); display: grid; grid-template-columns: repeat(4, 1fr); z-index: 2; }
.tabbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tabbar .i { font-size: 24px; stroke-width: 1.75; }
.tabbar .on { color: var(--ink); font-weight: 700; }
.tabbar .on .i { stroke-width: 2.2; }
.pill { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; font-style: normal; white-space: nowrap; }
.pill.ok { background: var(--success-soft); color: var(--success); }
.pill.act { background: #FFE08A; color: var(--warn-ink); }
.pill.wait { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px #C2C4C8; }
.pill.info { background: var(--primary-soft); color: var(--primary-hover); }
.pill .i { font-size: 12px; }

/* participant Home (src/pages/Home.tsx) */
.ah { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.ah-event { align-self: flex-start; height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(112,115,124,.16); display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.ah-me { display: flex; align-items: center; gap: 14px; padding: 0 4px; }
.ah-av { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.ah-av.sm { width: 40px; height: 40px; font-size: 14px; background: #C2D9FE; color: #002A66; }
.ah-me b { display: block; font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.ah-me small { font-size: 14px; font-weight: 500; color: var(--muted); }
.now { position: relative; color: #fff; border-radius: 24px; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, #0047B3 0%, #0066FF 55%, #4A93FF 100%); box-shadow: 0 8px 24px rgba(0,82,204,.22); }
.now__top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.now__top > span:last-child { color: rgba(255,255,255,.8); }
.now__pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--now); color: #08260F; font-weight: 700; }
.now__pill i { width: 6px; height: 6px; border-radius: 50%; background: #08260F; }
.now > b { font-size: 22px; letter-spacing: -.01em; line-height: 1.3; }
.now__place { font-size: 14px; color: rgba(255,255,255,.8); }
.now__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); }
.now__bar i { display: block; height: 4px; border-radius: 4px; background: #fff; }
.ah-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; margin-bottom: -6px; }
.ah-sec b { font-size: 18px; color: var(--ink); }
.ah-sec span { font-size: 14px; font-weight: 600; color: var(--primary); }
.ah-list { background: #fff; border-radius: 20px; overflow: hidden; }
.ah-list p { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; }
.ah-list p + p { box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.ah-list p > b { width: 48px; flex: none; font-size: 14px; color: var(--primary-hover); font-variant-numeric: tabular-nums; }
.ah-list p:nth-child(2) > b { color: var(--ink); }
.ah-list strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.ah-list small { font-size: 13px; color: var(--muted); }
.ah-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ah-tiles span { background: #fff; border-radius: 20px; padding: 14px; min-height: 88px; display: flex; flex-direction: column; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink); }
.ah-tiles .i { font-size: 24px; stroke-width: 1.75; }
.ah-sos { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; border-radius: 20px; background: #fff; }
.ah-sos__i { width: 36px; height: 36px; border-radius: 50%; background: var(--sos); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.ah-sos b { display: block; font-size: 15px; font-weight: 600; color: var(--sos); }
.ah-sos small { font-size: 13px; color: var(--muted); }

/* journey screens */
.scr { position: absolute; inset: 34px 0 84px; overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr--white { background: #fff; }
.pt { padding: 28px 20px 16px; }
.pt b { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.pt small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.pad { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.cap { font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--muted); padding: 4px 4px 0; }
/* My flights (src/pages/Flights.tsx) */
.flight { background: #fff; border-radius: 24px; overflow: hidden; }
.flight__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.flight__top b { font-size: 14px; color: var(--ink); }
.flight__top .pill { height: 26px; }
.flight__route { display: flex; align-items: center; gap: 10px; padding: 12px 20px 14px; }
.flight__route span { display: flex; flex-direction: column; }
.flight__route .r { align-items: flex-end; }
.flight__route b { font-size: 30px; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.flight__route small { font-size: 13px; color: var(--muted); }
.flight__route i { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--primary); font-size: 18px; }
.flight__route i::before, .flight__route i::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.flight__cells { display: flex; box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.flight__cells span { padding: 12px 20px; display: flex; flex-direction: column; }
.flight__cells span + span { box-shadow: -1px 0 0 rgba(112,115,124,.16); }
.flight__cells .w { flex: 1; }
.flight__cells small { font-size: 12px; color: var(--muted); }
.flight__cells b { font-size: 15px; color: var(--ink); }
.trip { background: #fff; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.trip__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.trip__head b { font-size: 18px; color: var(--ink); }
.trip__head small { font-size: 13px; color: var(--muted); }
.trip__head strong { color: var(--ink); }
.trip__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.trip__bar i { height: 5px; border-radius: 999px; background: var(--surface-2); }
.trip__bar i.on { background: var(--primary); }
.trip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trip__grid span { min-height: 84px; border-radius: 16px; padding: 12px; background: var(--canvas); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.trip__grid span.act { background: #FFFBEC; box-shadow: inset 0 0 0 1.5px #F2C744; }
.trip__grid b { font-size: 15px; font-weight: 600; color: var(--ink); }
.trip__grid .pill { align-self: flex-start; padding: 0 9px; }
/* Taxi card (src/pages/KoreanAddress.tsx) */
.topbar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 12px; position: relative; }
.topbar .i { font-size: 24px; color: var(--ink); }
.topbar b { position: absolute; left: 0; right: 0; text-align: center; font-size: 17px; color: var(--ink); }
.seg3 { margin: 0 20px; display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg3 span { flex: 1; height: 44px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg3 .on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(23,23,25,.08); }
.taxi { padding: 36px 24px 0; display: flex; flex-direction: column; gap: 14px; }
.taxi__ask { font-size: 18px; font-weight: 600; color: var(--muted); }
.taxi__name { font-size: 40px; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.taxi__addr { font-size: 28px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.taxi__btns { position: absolute; left: 24px; right: 24px; bottom: 44px; display: flex; gap: 8px; }
.taxi__btns span { flex: 1; height: 56px; border-radius: 999px; background: var(--surface-2); display: grid; place-items: center; font-size: 17px; font-weight: 700; color: var(--ink); }
.taxi__note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 13px; color: var(--muted); }
/* Chat (src/pages/Chat.tsx) */
.scr--chat { background: #ECEEF2; inset: 34px 0 0; display: flex; flex-direction: column; z-index: 3; }
.chathead { background: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 12px; box-shadow: 0 1px 0 rgba(112,115,124,.16); }
.chathead > .i { font-size: 24px; color: var(--ink); }
.chathead b { display: block; font-size: 16px; color: var(--ink); }
.chathead small { font-size: 13px; color: var(--muted); }
.msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msgs .day { align-self: center; font-size: 12px; font-weight: 500; color: var(--muted); }
.m { max-width: 78%; display: flex; flex-direction: column; gap: 4px; align-self: flex-start; align-items: flex-start; }
.m p { padding: 11px 15px; font-size: 15px; line-height: 1.45; background: #fff; color: var(--ink); border-radius: 20px 20px 20px 6px; box-shadow: 0 1px 2px rgba(23,23,25,.08), inset 0 0 0 1px rgba(112,115,124,.16); }
.m small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.m small strong { color: var(--primary); }
.m .spark { color: var(--primary); }
.m.me { align-self: flex-end; align-items: flex-end; }
.m.me p { background: var(--primary); color: #fff; border-radius: 20px 20px 6px 20px; box-shadow: none; }
.composer { background: #fff; box-shadow: 0 -1px 0 rgba(112,115,124,.16); padding: 10px 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.composer .qrs { display: flex; gap: 6px; overflow: hidden; }
.composer .qrs span { flex: none; height: 44px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.inp { display: flex; gap: 8px; align-items: center; }
.inp .b { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; font-size: 20px; flex: none; }
.inp .send { color: var(--subtle); }
.inp .f { flex: 1; height: 48px; border-radius: 24px; background: var(--surface-2); padding: 0 18px; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: var(--subtle); }
/* after the event */
.row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: 20px; background: #fff; }
.ri { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex: none; }
.row b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.row small { font-size: 13px; color: var(--muted); }
.row .chev { font-size: 18px; color: var(--subtle); margin-left: auto; }
.cert { margin-top: 6px; background: #fff; border-radius: 24px; padding: 28px 22px 22px; text-align: center; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #E9E2C9; }
.cert small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #9A8650; }
.cert b { display: block; margin: 14px 0 8px; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.cert span { font-size: 14px; color: var(--text); }
.cert__foot { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cert__qr { width: 44px; height: 44px; border-radius: 6px; background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0/11px 11px; }
.cert__foot em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--primary); }

/* staff console window (src/admin/AdminApp.tsx, pages/Dashboard.tsx, pages/FlightBoard.tsx) */
.cw { display: grid; grid-template-columns: 236px minmax(0, 1fr); background: var(--canvas); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-stage); text-align: left; font-size: 14px; line-height: 1.45; color: var(--text); max-width: 1060px; }
.cw-side { background: #EDEFF2; padding: 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.cw-logo { height: 24px; width: auto; margin: 2px 8px 4px; }
.cw-event { background: #fff; border-radius: 16px; padding: 10px 14px; position: relative; }
.cw-event b { display: block; font-size: 13px; color: var(--ink); }
.cw-event span { font-size: 12px; color: var(--muted); display: block; padding-right: 18px; }
.cw-event .i { position: absolute; right: 12px; top: 50%; translate: 0 -50%; color: var(--muted); }
.cw-nav { display: flex; flex-direction: column; gap: 2px; }
.cw-nav span { height: 40px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.cw-nav .i { font-size: 18px; }
.cw-nav .on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.cw-nav .sub { padding-left: 44px; height: 34px; font-size: 13.5px; }
.cw-nav i { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; background: var(--primary); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; }
.cw-field { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cw-main { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cw-head { display: flex; align-items: center; gap: 10px; }
.cw-head h4 { margin: 0 auto 0 0; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.cw-btn { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; white-space: nowrap; }
.cw-btn--ghost { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.cw-desc { margin-top: -8px; font-size: 13px; color: var(--muted); }
.cw-live { background: var(--ink); border-radius: 24px; padding: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cw-live__sos { flex: 1 1 220px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.07); color: #fff; }
.cw-live__sos .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--now); flex: none; animation: pulse 2s infinite; box-shadow: 0 0 0 4px rgba(0,191,64,.25); }
.cw-live__sos b { display: block; font-size: 15px; }
.cw-live__sos small { font-size: 12px; color: #C2C4C8; }
.cw-live__stats { flex: 2 1 380px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cw-live__stats span { padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.07); color: #fff; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cw-live__stats small { font-size: 12px; font-weight: 600; color: var(--subtle); }
.cw-live__stats b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cw-live__stats em { font-style: normal; font-size: 11.5px; color: #C2C4C8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,191,64,0); } }
.cw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cw-card { background: #fff; border-radius: 24px; padding-bottom: 8px; overflow: hidden; }
.cw-card header { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 20px 6px; }
.cw-card header b { font-size: 16px; color: var(--ink); }
.cw-card header span { font-size: 13px; font-weight: 600; color: var(--primary); }
.cw-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 20px; }
.cw-row + .cw-row { box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.cw-row .t { width: 48px; flex: none; display: flex; flex-direction: column; }
.cw-row .t b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cw-row .t small, .cw-row .ago { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.cw-row .m { flex: 1; min-width: 0; display: flex; flex-direction: column; max-width: none; gap: 0; align-self: auto; align-items: stretch; }
.cw-row .m b { font-size: 14px; font-weight: 600; color: var(--ink); }
.cw-row .m small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cw-row .pill { height: 24px; font-size: 11.5px; padding: 0 9px; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.av--g { background: var(--success-soft); color: var(--success); }
.av--y { background: var(--warn-soft); color: var(--warn-ink); }
.cw--board { grid-template-columns: 220px minmax(0, 1fr); max-width: none; }
.chipsel { margin-left: auto; height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }

@media (max-width: 1100px) { .phone--hero { --z: .54; right: 8px; } }
@media (max-width: 860px) {
  .cw { grid-template-columns: 1fr; }
  .cw-side { display: none; }
  .cw-cards { grid-template-columns: 1fr; }
  .cw-cards .cw-card:nth-child(2) { display: none; }
  .cw-live__stats { grid-template-columns: 1fr 1fr; }
  .phone--hero { --z: .5; position: relative; right: auto; bottom: auto; display: block; width: max-content; margin: -150px 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .scr { transition: none; } }

/* console screens switched by the feature boxes (src/admin/pages: Inbox, ParticipantImport, Lodging, Shuttles, MealRoster, Program, AiEventDraft) */
.cw--board .cw-main { min-height: 480px; }
.cw-nav span[hidden] { display: none; }
.cw-nav span[data-g].on { background: transparent; color: var(--primary); }
.cw-nav span:not([data-g]).on { background: var(--primary-soft); }
.cpane { display: none; flex-direction: column; gap: 14px; animation: paneIn .35s var(--ease); }
.cpane.is-on { display: flex; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cw-nav i.r { background: var(--sos); }
.cw-sos { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: var(--sos); color: #fff; }
.cw-sos__i { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--sos); display: grid; place-items: center; font-size: 20px; flex: none; }
.cw-sos > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cw-sos small { font-size: 11.5px; font-weight: 700; color: #FFE3E3; }
.cw-sos b { font-size: 17px; }
.cw-sos em { font-style: normal; font-size: 12.5px; color: #FFE3E3; }
.cw-sos__btn { height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--sos); font-weight: 700; font-size: 13px; display: grid; place-items: center; white-space: nowrap; }
.ibx { display: grid; grid-template-columns: 230px minmax(0, 1fr) 180px; gap: 12px; }
.ibx > div { background: #fff; border-radius: 20px; }
.ibx__list { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.ibx__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.ibx__chips span { height: 30px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.ibx__chips .on { background: var(--ink); color: #fff; }
.ibx__t { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; }
.ibx__t.on { background: var(--primary-soft); }
.ibx__t > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ibx__t b { font-size: 13.5px; color: var(--ink); }
.ibx__t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibx__t em { font-style: normal; font-size: 11px; color: var(--muted); }
.ibx__chat { display: flex; flex-direction: column; overflow: hidden; }
.ibx__head { padding: 14px 16px; box-shadow: 0 1px 0 rgba(112,115,124,.16); }
.ibx__head b { display: block; font-size: 15px; color: var(--ink); }
.ibx__head small { font-size: 12px; color: var(--muted); }
.ibx__msgs { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #F4F5F7; }
.bub { max-width: 82%; display: flex; flex-direction: column; gap: 3px; }
.bub p { padding: 9px 13px; border-radius: 16px 16px 16px 6px; background: #fff; color: var(--ink); font-size: 13.5px; }
.bub small { font-size: 11px; color: var(--muted); }
.bub.me { align-self: flex-end; align-items: flex-end; }
.bub.me p { background: var(--ink); color: #fff; border-radius: 16px 16px 6px 16px; }
.ibx__saved { display: flex; gap: 6px; padding: 10px 12px; flex-wrap: wrap; }
.ibx__saved span { height: 30px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.ibx__saved span:first-child { box-shadow: none; color: var(--muted); padding-left: 2px; }
.ibx__side { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ibx__side > b { font-size: 14px; color: var(--ink); }
.ibx__side p { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.ibx__side p em { font-style: normal; color: var(--ink); font-weight: 600; font-size: 12.5px; }
.ibx__side .pill { align-self: flex-start; height: 22px; font-size: 11px; padding: 0 8px; }
.imp__files { display: flex; gap: 8px; flex-wrap: wrap; }
.imp__files span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink); }
.imp__files b { font-size: 10px; font-weight: 800; color: #fff; background: #E5252A; border-radius: 6px; padding: 4px 6px; }
.imp__files span:nth-child(2) b { background: var(--primary); }
.imp__files span:nth-child(3) b { background: #1D6F42; }
.tbl { background: #fff; border-radius: 20px; padding: 6px 8px; overflow-x: auto; }
.tbl__r { display: grid; grid-template-columns: 1.1fr 1.6fr .8fr .5fr 1.2fr; gap: 10px; align-items: center; min-height: 46px; padding: 0 10px; min-width: 620px; font-size: 13.5px; }
.tbl__r + .tbl__r { box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.tbl__h { min-height: 36px; font-size: 12px; color: var(--muted); }
.tbl__r > span:first-child { font-weight: 600; color: var(--ink); }
.tbl__h > span:first-child { font-weight: 400; color: var(--muted); }
.tbl .unsure { background: #FFF1C7; border-radius: 6px; padding: 3px 6px; margin-left: -6px; }
.tbl .pill { height: 24px; font-size: 11.5px; padding: 0 9px; justify-self: start; }
.lg { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; }
.lg__rooms, .lg__card { background: #fff; border-radius: 20px; padding: 16px; }
.lg__hotel b { display: block; font-size: 15px; color: var(--ink); }
.lg__hotel small { font-size: 12px; color: var(--muted); }
.lg__grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lg__grid span { background: var(--canvas); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; color: var(--text); line-height: 1.5; }
.lg__grid b { display: block; font-size: 14px; color: var(--ink); }
.lg__grid .empty { background: #FFFBEC; box-shadow: inset 0 0 0 1.5px #F2C744; }
.lg__side { display: flex; flex-direction: column; gap: 12px; }
.lg__card > b { font-size: 14px; color: var(--ink); }
.lg__card p { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding-top: 8px; }
.lg__card em { font-style: normal; color: var(--muted); }
.lg__card em.warn { color: var(--warn-ink); background: #FFE08A; border-radius: 6px; padding: 0 6px; }
.prg { display: flex; flex-direction: column; gap: 12px; }
.prg__day { background: #fff; border-radius: 20px; padding: 16px 18px 8px; }
.prg__day > b { font-size: 15px; color: var(--ink); }
.prg__s { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.prg__s + .prg__s { box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.prg__s > em { width: 44px; flex: none; font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.prg__s > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.prg__s b { font-size: 14px; color: var(--ink); }
.prg__s small { font-size: 12.5px; color: var(--primary-hover); }
.prg__s > .pill { background: var(--surface-2); color: #4B4F58; height: 24px; font-size: 11.5px; font-style: normal; }
.spk { margin-top: 4px; font-size: 12.5px; color: var(--text); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spk i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.prg__note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); padding: 0 4px; }
.prg__note .i { color: var(--primary); font-size: 16px; }
.drf { background: #fff; border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.drf__f small { display: block; font-size: 12px; color: var(--muted); }
.drf__f b { font-size: 15px; color: var(--ink); }
.drf__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drf__days > div { background: var(--canvas); border-radius: 14px; padding: 12px; }
.drf__days b { font-size: 13px; color: var(--ink); }
.drf__days p { font-size: 12.5px; margin-top: 4px; }
.drf__days .est { background: #FFF1C7; border-radius: 6px; padding: 2px 6px; margin-left: -6px; }
.drf__days .est i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--warn-ink); }
@media (max-width: 960px) { .ibx { grid-template-columns: 200px minmax(0, 1fr); } .ibx__side { display: none; } }
@media (max-width: 640px) {
  .ibx, .lg { grid-template-columns: 1fr; }
  .ibx__list { display: none; }
  .lg__grid, .drf__days { grid-template-columns: 1fr 1fr; }
  .cw-sos__btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cpane { animation: none; } }

/* journey carousel: phone with arrows, dots and the screen name */
.pc { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 14px; }
.journey__device .pc { position: sticky; top: calc(50vh - 330px); }
.pc .phone { touch-action: pan-y; user-select: none; }
.pc__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; cursor: pointer; box-shadow: var(--shadow-float); transition: transform .2s var(--ease), background-color .2s; }
.pc__btn:hover { background: var(--primary-soft); color: var(--primary); }
.pc__btn:active { transform: scale(.92); }
.pc__meta { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pc__dots { display: flex; gap: 6px; }
.pc__dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background-color .3s; }
.pc__dots i.on { width: 22px; background: var(--primary); }
.pc__label { font-size: 15px; font-weight: 700; color: var(--ink); min-height: 1.4em; }
.pc--single .pc__btn, .pc--single .pc__dots { visibility: hidden; }
.pc--inline { display: none; margin-top: 20px; }
.pc--inline .phone { --z: .6; }
@media (max-width: 860px) {
  .pc--inline { display: grid; gap: 8px; }
  .pc--inline .pc__btn { width: 38px; height: 38px; }
}
@media (max-width: 400px) { .pc--inline .phone { --z: .54; } }

/* first visit: language and food (pages/Onboarding.tsx) */
.ob { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.ob__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 6px; }
.ob__bar i { height: 4px; border-radius: 999px; background: var(--surface-2); }
.ob__bar i.on { background: var(--primary); }
.ob__h { font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.ob__lg { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--text); }
.chips .on { background: var(--primary); color: #fff; }
.ob__btn { margin-top: auto; margin-bottom: 18px; height: 56px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 700; display: grid; place-items: center; }

/* airport pickup on Home (components/Shuttle.tsx) */
.bus { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bus__top { display: flex; align-items: center; gap: 12px; }
.bus__i { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.bus__top small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.bus__top b { font-size: 17px; color: var(--ink); }
.bus__time { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bus__time b { font-size: 28px; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.bus__time s { color: var(--subtle); font-weight: 600; }
.bus__meet { font-size: 15px; color: var(--text); }
.bus__guide { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.bus__guide b { color: var(--ink); }
.bus__guide span { margin-left: auto; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 700; display: grid; place-items: center; }

/* ID pass (pages/Pass.tsx) */
.idp { color: #fff; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #0047B3 0%, #0066FF 55%, #4A93FF 100%); box-shadow: 0 8px 24px rgba(0,82,204,.22); }
.idp__top { padding: 22px 22px 18px; }
.idp__top small { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.idp__me { margin-top: 10px; display: flex; align-items: center; gap: 14px; }
.idp__me .ah-av { background: #fff; color: var(--primary); }
.idp__me b { display: block; font-size: 24px; letter-spacing: -.02em; }
.idp__me em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.8); }
.idp__cut { position: relative; border-top: 2px dashed rgba(255,255,255,.3); }
.idp__cut::before, .idp__cut::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--canvas); }
.idp__cut::before { left: -11px; } .idp__cut::after { right: -11px; }
.idp__bottom { padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.idp__qr { background: #fff; padding: 14px; border-radius: 16px; width: 168px; height: 168px; }
.idp__qr svg { width: 100%; height: 100%; display: block; }
.idp__code { font-size: 18px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.idp__tags { display: flex; gap: 8px; }
.idp__tags span { height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.idp__tags .ok { background: #fff; color: var(--success); }
.idp__note { text-align: center; font-size: 13px; color: var(--muted); }

/* schedule timeline (pages/Schedule.tsx) */
.pt--row { padding-bottom: 8px; }
.days { display: flex; gap: 8px; padding: 8px 20px 12px; overflow: hidden; }
.days span { flex: none; min-width: 64px; height: 56px; border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--text); }
.days i { font-style: normal; font-size: 11px; font-weight: 600; opacity: .8; }
.days .on { background: var(--primary); color: #fff; }
.tl { list-style: none; margin: 0; padding: 4px 20px 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 83px; top: 0; bottom: 0; width: 2px; background: var(--surface-2); }
.tl li { position: relative; display: flex; gap: 22px; padding: 5px 0; }
.tl em { width: 48px; flex: none; padding-top: 12px; text-align: right; font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.tl .d { position: absolute; left: 58px; top: 16px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #fff; background: #C2C4C8; box-shadow: 0 0 0 1px #E1E2E4; }
.tl p { flex: 1; min-width: 0; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.tl b { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.tl small { font-size: 13px; color: var(--muted); }
.tl .done { opacity: .45; }
.tl .is-now p { background: #fff; box-shadow: var(--shadow-float); }
.tl .is-now .d { background: var(--now); box-shadow: 0 0 0 1px var(--now); }
.tl .mine p { background: var(--primary-soft); }
.tl .mine em { color: var(--primary-hover); }
.tl .mine .d { background: var(--primary); box-shadow: 0 0 0 1px #94BEFD; }
.tag { font-size: 12px; font-weight: 700; color: var(--success); }
.tag--b { color: var(--primary-hover); }

/* SOS (pages/Sos.tsx) */
.scr--sos { inset: 34px 0 0; background: var(--sos); z-index: 3; display: flex; flex-direction: column; }
.sos { padding: 28px 24px 26px; color: #fff; display: flex; flex-direction: column; gap: 14px; }
.sos__i { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--sos); display: grid; place-items: center; font-size: 30px; box-shadow: 0 0 0 10px rgba(255,255,255,.18), 0 0 0 22px rgba(255,255,255,.08); margin: 6px 0 10px 6px; }
.sos__h { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.sos__p { font-size: 15px; color: #FFE3E3; }
.sos__steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sos__steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; opacity: .75; }
.sos__steps li.done { opacity: 1; }
.sos__steps i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.5); flex: none; position: relative; }
.sos__steps .done i { background: #fff; }
.sos__steps .done i::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid var(--sos); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sos__steps em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 500; color: #FFE3E3; }
.sos__sheet { flex: 1; background: #fff; border-radius: 28px 28px 0 0; padding: 22px 16px; display: flex; flex-direction: column; gap: 14px; }
.sos__nums { background: var(--canvas); border-radius: 20px; overflow: hidden; }
.sos__nums p { display: flex; align-items: center; min-height: 56px; padding: 8px 16px; }
.sos__nums p + p { box-shadow: 0 -1px 0 rgba(112,115,124,.16); }
.sos__nums b { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.sos__nums span { font-size: 20px; font-weight: 700; color: var(--sos); }
.sos__ok { height: 56px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--ink); }

/* survey (pages/Survey.tsx) */
.sv { padding: 8px 20px 0; display: flex; flex-direction: column; gap: 14px; height: calc(100% - 56px); }
.sv__h { font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.sv__p { margin-top: -8px; font-size: 14px; color: var(--muted); }
.sv__q { background: var(--canvas); border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sv__q p { font-size: 15px; font-weight: 600; color: var(--ink); }
.stars { display: flex; gap: 6px; }
.stars i { width: 30px; height: 30px; background: #D5D7DC; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: #FFB400; }
.sv__ta { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--text); }

/* full-screen app screens hide the tab bar, as in the app */
.scr--full { inset: 34px 0 0; z-index: 3; }
