@font-face { font-family: "Albert Sans"; src: url("../assets/fonts/albert-sans-regular.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../assets/fonts/albert-sans-semibold.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../assets/fonts/albert-sans-bold.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../assets/fonts/albert-sans-italic.ttf") format("truetype"); font-style: italic; font-weight: 400; font-display: swap; }
:root { color-scheme: light; --ink: #17354a; --blue: #075b8f; --blue-dark: #043f64; --sky: #e7f4fb; --warm: #6e6455; --line: #d8e1e6; --success: #167344; --danger: #ad2930; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: linear-gradient(145deg, #f7fafb 0%, #edf5f8 48%, #fffdf8 100%); font-family: "Albert Sans", Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.site-shell { width: min(100%, 680px); min-height: 100dvh; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom)); }
.site-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(34px, 8vh, 74px); }
.brand { width: 180px; max-width: 58vw; height: auto; }
.logout-button, .back-link { border: 0; background: transparent; color: var(--blue); font-weight: 700; padding: 10px 0; }
.logout-button { padding: 9px 12px; border: 1px solid #a7c3d2; border-radius: 7px; white-space: nowrap; }
.auth-card, .action-panel, .detail-panel { background: #fff; border: 1px solid rgba(116, 147, 162, .25); border-radius: 16px; box-shadow: 0 18px 55px rgba(21, 67, 92, .10); }
.auth-card { padding: clamp(25px, 7vw, 44px); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 9px; font-size: clamp(30px, 7vw, 42px); letter-spacing: -.04em; color: var(--blue-dark); }
h2 { margin-bottom: 10px; font-size: clamp(24px, 5vw, 30px); color: var(--blue-dark); }
.eyebrow { margin-bottom: 9px; color: var(--warm); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
label { display: block; margin: 21px 0 7px; color: #365568; font-size: 14px; font-weight: 700; }
input { width: 100%; min-height: 50px; border: 1px solid #9db6c3; border-radius: 7px; padding: 11px 13px; color: var(--ink); background: #fff; }
input:focus { outline: 3px solid rgba(40, 165, 220, .24); border-color: var(--blue); }
.primary-button { width: 100%; min-height: 52px; margin-top: 22px; border: 0; border-radius: 7px; color: #fff; background: var(--blue); font-weight: 800; box-shadow: 0 5px 0 var(--blue-dark); }
.primary-button:hover { background: #0870ad; }
.primary-button:disabled, .action-card:disabled, .action-card.is-disabled { cursor: not-allowed; opacity: .52; box-shadow: none; }
.help-copy, .minor-copy { margin: 24px 0 0; color: #5d727d; font-size: 13px; line-height: 1.5; }
a { color: var(--blue); font-weight: 700; }
.form-message { min-height: 20px; margin: 16px 0 0; color: var(--danger); font-size: 14px; font-weight: 700; line-height: 1.4; }
.form-message.success { color: var(--success); }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 25px; }
.welcome-row h1 { margin: 0; }
.online-status { padding: 6px 9px; border-radius: 99px; color: #126b40; background: #e5f5eb; font-size: 12px; font-weight: 800; white-space: nowrap; }
.action-panel, .detail-panel { padding: clamp(23px, 6vw, 36px); }
.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.action-card { min-height: 194px; display: flex; align-items: flex-start; flex-direction: column; border: 0; border-radius: 12px; padding: 20px; text-align: left; color: #fff; font-size: 20px; font-weight: 800; box-shadow: inset 0 -4px rgba(0, 0, 0, .14); }
.action-card small { margin-top: 10px; font-size: 13px; font-weight: 400; line-height: 1.35; }
.checkin-card { background: linear-gradient(135deg, #0b79b8, #075b8f); }
.checkout-card { background: linear-gradient(135deg, #c04448, #8f242d); }
.action-icon { display: block; width: 42px; height: 42px; margin-bottom: auto; filter: brightness(0) invert(1); }
.back-link { margin: -4px 0 24px; }
.qr-frame { width: min(100%, 320px); margin: 28px auto 15px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
#qr-canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qr-text { overflow-wrap: anywhere; text-align: center; color: var(--warm); font-family: "Courier New", monospace; font-size: 14px; font-weight: 700; }
.checkout-session-summary { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 6px; color: #6d4b00; background: #fff3cf; line-height: 1.55; }
.checkout-session-summary img { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; opacity: .82; }
.checkout-session-summary p { margin: 0; }
.detail-panel .minor-copy { border-top: 1px solid var(--line); padding-top: 16px; }
.is-hidden { display: none !important; }
@media (max-width: 420px) { .site-shell { padding-left: 15px; padding-right: 15px; } .site-header { margin-bottom: 38px; } .action-grid { grid-template-columns: 1fr; } .action-card { min-height: 145px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
