.live-shell { width: min(100% - 32px, 760px); margin-inline: auto; }
.live-skip { position: fixed; z-index: 5; top: 8px; inset-inline-start: 8px; padding: 10px; background: white; transform: translateY(-160%); }
.live-skip:focus { transform: translateY(0); }
.live-header { background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.live-header-content { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.live-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.live-brand img { flex: none; }
.live-header .button { min-height: 44px; }
#logout[hidden] { display: none; }
#main-content { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.live-account { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin-top: 16px; }
.live-account p { font-size: 13px; color: #4e635a; overflow-wrap: anywhere; }
.live-account .button { min-height: 44px; }
.live-status { margin-block: 28px; color: #4e635a; }
.live-problem { margin-top: 24px; padding: 20px; }
.live-problem h1 { font-size: 22px; }
.live-problem p { margin-block: 8px 16px; color: #4e635a; }
.live-auth { max-width: 420px; margin: clamp(28px, 8vh, 80px) auto 0; padding: clamp(20px, 5vw, 32px); }
.live-auth h1 { font-size: clamp(26px, 6vw, 34px); }
.live-auth .subtitle { margin: 4px 0 18px; }
.live-auth form { display: grid; gap: 14px; }
.live-auth label { display: grid; gap: 5px; font-size: 14px; }
.live-auth input { display: block; width: 100%; min-height: 46px; border: 1px solid #cddbd2; border-radius: 10px; padding: 10px 12px; font-size: 16px; color: var(--ink); background: #fff; }
.live-auth .button { width: 100%; justify-content: center; min-height: 46px; }
.live-auth .text-button { justify-self: center; min-height: 44px; }
.live-auth .live-google { margin-bottom: 14px; }
.live-auth-message { color: #235d4b; font-size: 14px; margin-top: 12px; }
.live-notice:empty { display: none; }
.live-notice { position: fixed; z-index: 4; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline: 16px; max-width: 480px; margin-inline: auto; padding: 12px 15px; border-radius: 12px; background: #193c34; color: white; font-size: 14px; box-shadow: 0 5px 18px #17362a30; overflow-wrap: anywhere; }
#tuition-dialog { position: fixed; inset: 0; max-width: min(100% - 24px, 550px); max-height: calc(100dvh - 32px); width: 100%; margin: auto; padding: 20px; border: 1px solid #dce8d9; border-radius: 18px; color: var(--ink); background: #fff; }
#tuition-dialog::backdrop { background: #15362cac; }
.live-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.live-dialog-heading h2 { font-size: 20px; }
.live-dialog-heading .button { min-height: 44px; }
.live-payment-detail dt { color: #53655e; font-size: 14px; }
.live-payment-detail dd { margin: 0 0 10px; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .live-shell { width: calc(100% - 24px); }
  .live-header-content { min-height: 62px; }
  #tuition-dialog { padding: 16px; }
}
