:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #18181b;
  --text-soft: #52525b;
  --text-faint: #71717a;
  --line: #e4e4e7;
  --primary: #3f3f46;
  --primary-dark: #27272a;
  --primary-soft: #f4f4f5;
  --success: #16a34a;
  --success-soft: #f0fdf4;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(24,24,27,.07);
  --shadow-soft: 0 4px 18px rgba(24,24,27,.05);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-viewport-height, 100dvh);
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228,228,231,.9);
}
.app-header__inner {
  width: min(var(--container), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.desktop-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 650;
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--primary);
  background: var(--primary-soft);
}
.header-spacer { flex: 1; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.user-chip__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4e4e7;
  color: #3f3f46;
  font-weight: 800;
}
.user-chip__name {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.logout-link {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
}
.app-main {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 96px;
}
.page-heading {
  margin: 0 0 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.page-heading h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.eyebrow {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted { color: var(--text-soft); }
.small { font-size: 13px; }

.notice,
.flash {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.notice { color: #805b09; background: var(--warning-soft); border-color: #fde68a; }
.flash.success { color: #166534; background: var(--success-soft); border-color: #bbf7d0; }
.flash.error { color: #991b1b; background: var(--danger-soft); border-color: #fecaca; }

.ui-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.ui-card__header { padding: 18px 20px 0; }
.ui-card__body { padding: 20px; }
.ui-card__title { margin: 0; font-size: 17px; letter-spacing: -.015em; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 8px 18px rgba(63,63,70,.18); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { color: var(--text); background: var(--surface); border-color: var(--line); }
.btn-danger { color: var(--danger); background: var(--danger-soft); border-color: #fecaca; }
.btn-warning { color: #92400e; background: var(--warning-soft); border-color: #fde68a; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 12px; border-radius: 10px; font-size: 13px; }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.badge-success { color: #166534; background: var(--success-soft); }
.badge-warning { color: #92400e; background: var(--warning-soft); }
.badge-danger { color: #991b1b; background: var(--danger-soft); }
.badge-neutral { color: #52525b; background: #f4f4f5; }
.form-grid { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; min-width: 0; max-width: 100%; }
.form-field label { font-size: 13px; font-weight: 750; color: #3f3f46; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.form-field input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #71717a;
  box-shadow: 0 0 0 4px rgba(63,63,70,.10);
}
.field-error { color: var(--danger); font-size: 12px; }
.field-hint { color: var(--text-soft); font-size: 12px; }

.content-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }

.empty-state { padding: 28px 20px; text-align: center; color: var(--text-soft); }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; }
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 15% 20%, rgba(63,63,70,.10), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(82,82,91,.08), transparent 30%),
    var(--bg);
}
.auth-shell { width: min(440px, 100%); }
.auth-brand { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card {
  padding: 28px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(228,228,231,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.035em; }
.auth-subtitle { margin: 0 0 24px; color: var(--text-soft); }
.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
}
.auth-links a { color: var(--primary); font-weight: 700; text-decoration: none; }
.test-pill {
  width: fit-content;
  margin: 0 auto 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--warning-soft);
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
}
.mobile-nav {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 40;
  grid-template-columns: repeat(4, 1fr);
  padding: 7px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(228,228,231,.95);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(24,24,27,.16);
  backdrop-filter: blur(18px);
  transform: translate3d(0, var(--app-viewport-bottom-fix, 0px), 0);
  -webkit-transform: translate3d(0, var(--app-viewport-bottom-fix, 0px), 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.mobile-nav a {
  min-width: 0;
  padding: 7px 4px 6px;
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 10px;
  font-weight: 750;
  border-radius: 12px;
}
.mobile-nav a.is-active { color: var(--primary); background: var(--primary-soft); }
.mobile-nav svg { width: 21px; height: 21px; stroke-width: 1.9; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .user-chip__name, .logout-link { display: none; }
  .app-header__inner { min-height: 60px; width: min(100% - 28px, var(--container)); }
  .app-main { width: min(100% - 28px, var(--container)); padding-top: 22px; padding-bottom: 104px; }
  .mobile-nav { display: grid; }
  .span-8, .span-6, .span-4 { grid-column: span 12; }
}

@media (max-width: 560px) {
  .app-main { width: min(100% - 20px, var(--container)); }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .auth-card { padding: 24px 20px; border-radius: 18px; }
  .ui-card__header { padding: 16px 16px 0; }
  .ui-card__body { padding: 16px; }
}
.hero-card {
  padding: 22px;
  background: linear-gradient(135deg, #18181b, #27272a 58%, #52525b);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(63,63,70,.22);
}
.hero-card__eyebrow { color: #d4d4d8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-card h2 { margin: 5px 0 8px; font-size: clamp(23px,4vw,32px); letter-spacing: -.035em; }
.hero-card p { margin: 0; color: #e4e4e7; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-actions .btn { background: #fff; color: #27272a; box-shadow: none; }
.hero-actions .btn-secondary { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); }

.reservation-list { display: grid; gap: 12px; }
.reservation-item {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}
.reservation-time strong { display: block; font-size: 16px; }
.reservation-time span { display:block; color: var(--text-soft); font-size: 12px; }
.reservation-time .reservation-weekday { margin-top:2px; color:var(--text-faint); font-size:11px; font-weight:750; }
.reservation-title { font-weight: 800; }
.reservation-meta { margin-top: 3px; color: var(--text-soft); font-size: 12px; }

.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-box { padding: 14px; background: var(--surface-soft); border-radius: 12px; }
.metric-box span { display: block; color: var(--text-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.metric-box strong { display: block; margin-top: 3px; font-size: 21px; letter-spacing: -.03em; }
.progress { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e4e4e7; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#3f3f46,#52525b); }
.week-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 10px; scrollbar-width: none; }
.week-strip::-webkit-scrollbar { display: none; }
.week-pill {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}
.week-pill.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.schedule-day { margin-bottom: 18px; }
.schedule-day__title { margin: 0 0 10px; display:flex; align-items:baseline; gap:8px; font-size:15px; color:#3f3f46; }
.schedule-day__title strong { font-size:13px; font-weight:800; color:var(--text-faint); }
.schedule-list { display: grid; gap: 10px; }
.session-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1.2fr) minmax(0,.8fr) minmax(190px,.8fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}
.session-card__time { font-weight: 850; font-size: 16px; }
.session-card__title { font-weight: 800; }
.session-card__description { margin-top:7px; padding:8px 10px; border-left:3px solid #71717a; border-radius:0 8px 8px 0; background:#f4f4f5; color:#3f3f46; font-size:12px; line-height:1.45; }
.session-card__description span { display:block; margin-bottom:2px; color:#71717a; font-size:10px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.session-card__coach { color: var(--text-soft); }
.session-card__action { display: grid; justify-items: end; gap: 8px; text-align: right; }
.session-status { font-size: 12px; font-weight: 750; color: var(--text-soft); }
.session-status.success { color: var(--success); }
.session-status.warning { color: var(--warning); }
.session-status.danger { color: var(--danger); }
.reservation-disabled { position: relative; cursor: help; }
.reservation-disabled::after {
  content: attr(data-reason);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: min(300px, 80vw);
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #18181b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: .15s ease;
  pointer-events: none;
}
.reservation-disabled:hover::after, .reservation-disabled:focus::after { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 760px) {
  .reservation-item { grid-template-columns: 72px minmax(0,1fr); align-items: start; }
  .reservation-item__action { grid-column: 1 / -1; }
  .reservation-item__action .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .session-card { grid-template-columns: 72px minmax(0,1fr); align-items: start; }
  .session-card__coach { grid-column: 2; }
  .session-card__action { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
  .session-card__action .btn { width: 100%; }
}
.packet-options { display: grid; gap: 10px; }
.packet-option { position: relative; display: block; cursor: pointer; }
.packet-option input { position: absolute; opacity: 0; pointer-events: none; }
.packet-option__box {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: .15s ease;
}
.packet-option input:checked + .packet-option__box, .packet-option__box.is-selected { border-color: #71717a; box-shadow: 0 0 0 3px rgba(63,63,70,.10); background: var(--primary-soft); }
.packet-option__title { display: block; font-weight: 800; }
.packet-option__meta { display: block; color: var(--text-soft); font-size: 12px; margin-top: 3px; }
.packet-option__price { font-size: 20px; font-weight: 850; letter-spacing: -.03em; }
.info-list { display: grid; gap: 0; }
.info-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--text-soft); }
.info-row strong { text-align: right; }
.day-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.day-badge { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f4f4f5; color: var(--text-faint); font-size: 12px; font-weight: 800; }
.day-badge.on { color: #27272a; background: var(--primary-soft); }

@media (max-width: 560px) {
  .packet-option__price { font-size: 18px; }
  .info-row { align-items: flex-start; flex-direction: column; gap: 3px; }
  .info-row strong { text-align: left; }
}

.policy-content { line-height: 1.65; }
.policy-content > p:first-child { margin-top: 0; }
.policy-content h2 { margin: 4px 0 8px; font-size: 17px; }
.policy-content ol { margin: 0; padding-left: 22px; }
.policy-content li { margin-bottom: 18px; }
.policy-content ul li { margin-bottom: 7px; }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.policy-content table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--surface); }
.policy-content th, .policy-content td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-content th { background: var(--surface-soft); font-size: 12px; color: #52525b; }
.policy-consent { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.restriction-list { display: grid; gap: 0; }
.restriction-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.restriction-row:first-child { padding-top: 0; }
.restriction-row:last-child { padding-bottom: 0; border-bottom: 0; }
.restriction-row__status { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .policy-content ol { padding-left: 18px; }
  .policy-content h2 { font-size: 16px; }
  .restriction-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .restriction-row__status { justify-content: flex-start; }
}

/* Mobile polish */
.user-chip { color: inherit; text-decoration: none; border-radius: 12px; }
.user-chip:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.btn:focus-visible,
.week-pill:focus-visible,
.auth-links a:focus-visible {
  outline: 3px solid rgba(63,63,70,.22);
  outline-offset: 2px;
}
.btn:active { transform: translateY(0) scale(.985); }
.account-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.profile-account-card { margin-top:18px; }

@media (max-width: 560px) {
  .page-heading > .btn { width:100%; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }
  .account-actions { align-items:stretch; flex-direction:column; }
  .account-actions .btn { width:100%; }
  .auth-page { align-items:start; padding-top:max(28px, env(safe-area-inset-top)); }
  .brand__mark { width:32px; height:32px; }
}

/* Final client polish */
::selection { background: #d4d4d8; color: #18181b; }
body { min-height: 100vh; min-height: 100dvh; }
button, .btn, a { -webkit-tap-highlight-color: transparent; }
button:disabled, .btn[aria-disabled="true"], input:disabled, select:disabled, textarea:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.ui-card, .session-card, .reservation-item, .packet-option__box { min-width: 0; }
.ui-card p:last-child, .auth-card p:last-child { margin-bottom: 0; }
.ui-card a:not(.btn), .policy-content a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-faint); }
.form-field input[type="checkbox"], .form-field input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.table-wrap, .week-strip { -webkit-overflow-scrolling: touch; }
.brand, .desktop-nav a, .mobile-nav a, .btn { touch-action: manipulation; }
.session-card__title, .reservation-title, .user-chip__name { overflow-wrap: anywhere; }
.auth-card, .hero-card, .ui-card, .session-card, .reservation-item {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
@media (hover:hover) and (pointer:fine) {
  .ui-card:hover, .session-card:hover, .reservation-item:hover { border-color: #d4d4d8; }
  .mobile-nav a:hover { color: var(--primary); background: var(--primary-soft); }
}
@media (hover:none) {
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 900px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .app-header { padding-top: env(safe-area-inset-top); }
  .app-main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .mobile-nav {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
  }
  .mobile-nav a { min-height: 52px; }
  .mobile-nav a.is-active { box-shadow: inset 0 0 0 1px rgba(63,63,70,.08); }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .app-main { width: calc(100% - 18px); padding-top: 16px; }
  .page-heading { margin-bottom: 16px; gap: 10px; }
  .page-heading h1 { font-size: 26px; }
  .notice, .flash { padding: 11px 12px; font-size: 12px; box-shadow: none; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .btn { min-height: 48px; }
}

/* Original Rezervuok login background */
.auth-page--legacy-bg {
  background: url('/assets/images/insidebackground.jpg') no-repeat center center fixed;
  background-size: cover;
}
@media (max-width: 760px) {
  .auth-page--legacy-bg { background-attachment: scroll; }
}


/* Dashboard payment information */
.packet-payment-status { margin-top: 12px; }
.payment-info { max-width: 460px; }
.payment-info > summary { width: fit-content; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; user-select: none; }
.payment-info > summary::-webkit-details-marker { display: none; }
.payment-info__icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #f59e0b; border-radius: 50%; background: var(--warning-soft); color: #92400e; font-size: 13px; font-weight: 850; font-style: normal; }
.payment-info__panel { margin-top: 10px; width: 100%; padding: 13px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: rgba(255,255,255,.96); color: var(--text); font-size: 13px; line-height: 1.45; }
.payment-info__panel > strong { display: block; margin-bottom: 3px; font-size: 14px; }
.payment-info__panel > span { display: block; color: var(--text-soft); }
.payment-info__panel dl { margin: 10px 0 0; display: grid; gap: 7px; }
.payment-info__panel dl > div { display: grid; grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr); gap: 10px; }
.payment-info__panel dt { color: var(--text-faint); }
.payment-info__panel dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .payment-info { max-width: 100%; }
  .payment-info__panel dl > div { grid-template-columns: 1fr; gap: 1px; }
}

/* Reservation calendar export */
.reservation-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.reservation-item__action { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.calendar-all, .reservation-calendar { white-space:nowrap; }
.calendar-icon { width:17px; height:17px; flex:0 0 17px; stroke-width:1.9; }
@media (max-width:760px) {
  .reservation-header { align-items:flex-start; }
  .reservation-item__action { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .reservation-item__action .btn { width:100%; }
}
@media (max-width:560px) {
  .reservation-header { flex-wrap:wrap; }
  .calendar-all { width:100%; }
}

/* Profile app install */
.profile-install-card { margin-top:18px; }
.profile-install { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.profile-install > div { min-width:0; }
.profile-install .muted { margin-top:3px; }
.install-app-help { margin-top:8px; color:var(--text); font-weight:650; }
.install-app-icon { width:20px; height:20px; stroke-width:1.8; flex:0 0 auto; }
.install-ios-guide { margin-top:12px; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.install-ios-guide__title { margin-bottom:10px; font-weight:800; }
.install-ios-step { display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:start; padding:10px 0; }
.install-ios-step + .install-ios-step { border-top:1px solid var(--line); }
.install-ios-step__number { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:var(--primary); color:#fff; font-size:12px; font-weight:850; }
.install-ios-share { width:22px; height:22px; display:inline-grid; place-items:center; vertical-align:middle; margin:0 2px; }
.install-ios-share svg { width:20px; height:20px; stroke-width:1.8; }
@media (max-width:560px) {
  .profile-install { align-items:stretch; flex-direction:column; }
  .profile-install .btn { width:100%; }
}

/* Packet purchase: keep native iOS date control inside the mobile card. */
.packet-purchase-form,
.packet-purchase-form .form-field { min-width: 0; width: 100%; max-width: 100%; }
.packet-purchase-form .packet-start-date { box-sizing: border-box; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
@media (max-width: 560px) {
  .packet-purchase-form { overflow: hidden; }
  .packet-purchase-form .packet-start-date {
    display: block;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
    -webkit-appearance: none;
    appearance: none;
  }
}
