/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, reset, astryx-base, astryx-theme, base, components, utilities;
@layer theme {
  :root, :host {
    --spacing: 0.25rem;
    --container-md: 28rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --font-weight-semibold: 600;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@layer utilities {
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .sticky {
    position: sticky;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .min-w-0 {
    min-width: 0px;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  @media (width >= 48rem) {
    .md\:gap-6 {
      gap: calc(var(--spacing) * 6);
    }
  }
}
@layer base {
  :root {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
    --bg: #f5f7fb;
    --paper: #fff;
    --ink: #1d2433;
    --muted: #657186;
    --accent: #007aff;
    --primary: #0071e3;
    --link: #0066cc;
    --soft: #eaf4ff;
    --line: #e5e9f0;
    --active-line: #90caf9;
    --hover: #edf6ff;
    --red: #a82020;
    --danger-bg: #fff1ec;
    --shadow: 0 2px 8px rgb(19 48 83 / 3%), 0 16px 40px rgb(19 48 83 / 3%);
    --success: #18745c;
    --success-bg: #e6f5ee;
    --warning: #976614;
    --warning-bg: #fff5df;
    color: var(--ink);
    background: var(--bg);
    color-scheme: light;
  }
  :root[data-theme="dark"] {
    --bg: #0d1420;
    --paper: #151f2f;
    --ink: #eaf3ff;
    --muted: #abc0da;
    --accent: #64b5f6;
    --primary: #1976d2;
    --link: #90caf9;
    --soft: #16304e;
    --line: #29415f;
    --active-line: #64b5f6;
    --hover: #193653;
    --red: #ff9e9e;
    --danger-bg: #4c273c;
    --shadow: 0 8px 30px rgb(0 7 24 / 12%);
    --success: #75d6ad;
    --success-bg: #17382f;
    --warning: #efc976;
    --warning-bg: #3b321c;
    color-scheme: dark;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    background: radial-gradient(ellipse at 0 0, var(--accent), transparent 55%), var(--bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: radial-gradient(ellipse at 0 0, color-mix(in srgb, var(--accent) 7%, transparent), transparent 55%), var(--bg);
    }
    -webkit-font-smoothing: antialiased;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button, input, select {
    font: inherit;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    opacity: .45;
    cursor: not-allowed;
  }
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  h1, h2, h3, p {
    margin-top: 0;
  }
  h1 {
    margin-bottom: 12px;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1.1px;
  }
  h2 {
    margin-bottom: 22px;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.4px;
  }
  p {
    margin-bottom: 18px;
  }
}
@layer components {
  .muted {
    color: var(--muted);
  }
  .small, small {
    font-size: 12px;
  }
  .center {
    text-align: center;
  }
  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--link);
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
  }
  .app-shell {
    display: grid;
    min-height: 100dvh;
    grid-template-columns: 244px minmax(0, 1fr);
  }
  .app-content {
    min-width: 0px;
  }
  .site-sidebar {
    position: sticky;
    display: flex;
    flex-direction: column;
    top: 16px;
    height: calc(100dvh - 32px);
    margin: 16px 0 16px 16px;
    padding: 26px 14px 20px;
    border: 1px solid var(--paper);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--paper) 80%, var(--line));
    }
    border-radius: 24px;
    background: var(--paper);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--paper) 72%, transparent);
    }
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    padding: 0 10px;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.7px;
  }
  .brand small {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1px;
  }
  .brand-symbol {
    display: block;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    object-fit: contain;
  }
  .nav-section-label {
    margin: 44px 14px 12px;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1.6px;
    font-weight: 700;
  }
  .site-sidebar nav {
    display: grid;
    gap: 7px;
  }
  .site-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
  }
  .icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .site-sidebar nav .icon {
    width: 19px;
    height: 19px;
  }
  .site-sidebar nav a:hover {
    background: var(--hover);
    color: var(--link);
  }
  .site-sidebar nav a[aria-current] {
    color: white;
    background: var(--primary);
    box-shadow: 0 3px 9px rgb(0 113 227 / 14%);
  }
  .sidebar-foot {
    margin-top: auto;
    padding: 20px 14px 0;
    border-top: 1px solid var(--line);
  }
  .sidebar-foot small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 11px;
  }
  .private {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--link);
    background: var(--soft);
    font-size: 10px;
    font-weight: 650;
  }
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 5);
    min-height: 78px;
    padding: 16px 36px;
    background: transparent;
  }
  .header-context {
    font-size: 13px;
    color: var(--muted);
  }
  .header-context>span {
    margin: 0 12px;
    color: var(--line);
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 5);
  }
  .header-actions form {
    margin: 0;
  }
  .user-name {
    font-size: 12px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-note {
    font-size: 12px;
    color: var(--muted);
  }
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--muted);
  }
  main {
    max-width: 1220px;
    margin: 0 auto;
    padding: 28px 36px 70px;
    min-height: calc(100dvh - 148px);
  }
  .site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 0 34px;
    padding: 20px 0 max(20px,env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted);
  }
  .site-footer>span:first-child {
    font-weight: 700;
    color: var(--link);
  }
  .guest-shell {
    display: block;
  }
  .guest-shell .site-header {
    max-width: 1220px;
    margin: auto;
    background: transparent;
    border-bottom: 0;
    padding-top: 25px;
  }
  .guest-shell .site-header .brand {
    padding: 0;
  }
  .guest-shell main {
    max-width: 1100px;
  }
  .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
  }
  .page-heading p {
    margin: 0;
    font-size: 13px;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2.5);
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
  }
  .button.primary {
    background: var(--primary);
    color: white;
  }
  .button.primary:hover {
    filter: brightness(1.08);
  }
  .button.secondary {
    background: var(--paper);
    border-color: var(--line);
    color: var(--ink);
  }
  .button.subtle {
    background: var(--soft);
    color: var(--link);
  }
  .button.full {
    width: 100%;
  }
  .button.compact {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .text-button {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 3px 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 12px;
  }
  .text-button:hover, .text-link {
    color: var(--link);
  }
  .text-button.danger {
    color: var(--red);
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
  }
  .panel {
    min-width: 0px;
    background-color: var(--paper);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .stack {
    display: flex;
    min-width: 0px;
    flex-direction: column;
    gap: calc(var(--spacing) * 6);
  }
  .stack>h2 {
    margin-bottom: 0;
  }
  .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 4);
    margin-bottom: 24px;
  }
  .section-heading>h2 {
    margin: 0;
  }
  .summary-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 24px;
    margin-bottom: 32px;
    padding: 23px 27px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
  }
  .summary-strip>div {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
  }
  .summary-strip>div+div {
    border-left: 1px solid var(--line);
    padding-left: 26px;
  }
  .big-number {
    color: var(--link);
    font-size: 31px;
    font-weight: 700;
    line-height: 1;
  }
  .summary-strip>.strip-note {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  .strip-note>.text-button {
    width: 100%;
    justify-content: flex-end;
    font-size: 11px;
  }
  .status-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: var(--accent);
  }
  .journey-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
  }
  .journey-card {
    padding: 23px 24px 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .card-top,.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    background: var(--bg);
    color: var(--muted);
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
  }
  .badge.running,.badge.reserving,.badge.paying,.badge.reserved_pending_payment,.badge.reconciling {
    background: var(--soft);
    color: var(--link);
  }
  .badge.paid {
    background: var(--success-bg);
    color: var(--success);
  }
  .badge.reserved {
    background: var(--warning-bg);
    color: var(--warning);
  }
  .badge.failed,.badge.payment_uncertain,.badge.reservation_uncertain {
    background: var(--danger-bg);
    color: var(--red);
  }
  .badge.large {
    padding: 8px 13px;
    font-size: 12px;
  }
  .journey-route {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin: 25px 0 10px;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -.6px;
  }
  .route-arrow {
    color: var(--muted);
    font-weight: 400;
    font-size: 19px;
  }
  .journey-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
  }
  .journey-meta span+span {
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }
  .card-progress,.ticket-snippet {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 23px 0;
    color: var(--muted);
    font-size: 12px;
  }
  .card-progress>b {
    color: var(--link);
    font-size: 24px;
    font-weight: 600;
  }
  .card-progress>b>small {
    margin-left: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
  }
  .ticket-snippet>b {
    color: var(--link);
    font-size: 18px;
  }
  .card-bottom {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .card-bottom>.text-link {
    font-size: 12px;
  }
  .empty-state {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 16px;
    padding: 55px 26px;
    text-align: center;
  }
  .empty-symbol {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-radius: 19px;
    font-size: 32px;
    color: var(--link);
    background: var(--soft);
  }
  .empty-state>h2 {
    margin-bottom: 12px;
  }
  .empty-state>p {
    font-size: 13px;
  }
  .auth-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 25px auto 40px;
  }
  .auth-story {
    padding: 30px 10px;
  }
  .auth-story h1 {
    font-size: 44px;
    line-height: 1.3;
    letter-spacing: -2px;
    margin-bottom: 26px;
  }
  .auth-story p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
  }
  .auth-form {
    padding: 38px;
  }
  .auth-form h2 {
    font-size: 25px;
    margin-bottom: 10px;
  }
  .auth-form>.muted {
    font-size: 13px;
    margin-bottom: 28px;
  }
  .auth-form .stack {
    gap: 19px;
  }
  .auth-form .form-note {
    text-align: center;
  }
  .rail-graphic {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 38px 0;
    color: var(--muted);
    font-size: 11px;
  }
  .track {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    height: 1px;
    background: var(--active-line);
  }
  .track::before,.track::after {
    content: "";
    height: 7px;
    width: 7px;
    border-radius: 50%;
    background: var(--accent);
  }
  .track i {
    height: 1px;
    width: 18px;
    background: var(--bg);
    transform: rotate(-45deg);
  }
  .story-foot {
    color: var(--muted);
    font-size: 11px;
  }
  label:not(.astryx-field-label) {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
  }
  label>input:not([type="checkbox"]):not([type="radio"]),label>select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
  }
  label>input:focus {
    outline: 2px solid var(--active-line);
    border-color: var(--accent);
  }
  input::placeholder {
    color: var(--muted);
    font-weight: 400;
  }
  label>small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
  }
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    margin-bottom: 23px;
  }
  .form-grid.thirds {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .booking-layout {
    display: grid;
    align-items: flex-start;
    gap: calc(var(--spacing) * 6);
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  }
  .step {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--link);
    font-size: 11px;
  }
  .sticky {
    position: sticky;
    top: 24px;
  }
  .divider {
    height: 1px;
    margin: 24px 0;
    background: var(--line);
  }
  .check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
  }
  .check input {
    appearance: auto;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 2px 0;
    accent-color: var(--primary);
  }
  .check strong,.check small {
    display: block;
  }
  .check small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
  }
  .form-note {
    margin: 16px 0 0;
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.8;
  }
  .form-note a {
    color: var(--link);
    text-decoration: underline;
  }
  details {
    padding-top: 17px;
    border-top: 1px solid var(--line);
  }
  summary {
    cursor: pointer;
    font-size: 12px;
    color: var(--link);
    margin-bottom: 12px;
  }
  details[open]>summary {
    margin-bottom: 20px;
  }
  .notice {
    padding: 14px 18px;
    margin-bottom: 25px;
    border: 1px solid var(--active-line);
    border-radius: 10px;
    background: var(--soft);
    font-size: 13px;
  }
  .notice.error {
    border-color: var(--red);
    color: var(--red);
    background: var(--danger-bg);
  }
  .notice a {
    text-decoration: underline;
  }
  .narrow {
    max-width: 510px;
    padding: 35px;
    margin: 35px auto;
  }
  .narrow .stack {
    margin-top: 24px;
    gap: 19px;
  }
  .message-panel {
    text-align: center;
  }
  .message-panel label {
    margin: 22px 0;
  }
  .message-panel .button {
    margin: 7px 0;
  }
  .message-panel>p {
    color: var(--muted);
  }
  .round-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 20px auto 24px;
    border-radius: 50%;
    font-size: 30px;
    color: var(--link);
    background: var(--soft);
  }
  .settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--spacing) * 6);
  }
  .saved-items {
    margin-bottom: 24px;
  }
  .saved-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
  }
  .saved-item+.saved-item {
    border-top: 1px solid var(--line);
  }
  .item-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--link);
    background: var(--soft);
    font-size: 22px;
  }
  .saved-item>div {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .saved-item strong,.saved-item small {
    display: block;
  }
  .saved-item strong {
    font-size: 13px;
  }
  .saved-item small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
  }
  .note-panel {
    box-shadow: none;
    background: var(--soft);
  }
  .note-panel p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
  }
  .detail-layout,.admin-layout {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr);
    gap: 24px;
    align-items: start;
  }
  .back-link {
    margin-bottom: 27px;
  }
  .ticket-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 0 38px;
  }
  .ticket-main>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
  }
  .ticket-main strong {
    color: var(--link);
    font-size: 36px;
    line-height: 1.5;
    font-weight: 650;
    letter-spacing: -1px;
  }
  .ticket-track {
    color: var(--muted);
    font-size: 12px !important;
    white-space: nowrap;
  }
  .ticket-track small {
    margin-top: 8px;
    font-size: 10px;
  }
  .data-list {
    margin: 0;
  }
  .data-list>div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .data-list dt {
    color: var(--muted);
    flex-shrink: 0;
  }
  .data-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-weight: 550;
  }
  .row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }
  .timeline {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .timeline li {
    position: relative;
    padding: 0 0 20px 16px;
    border-left: 1px solid var(--line);
    font-size: 12px;
  }
  .timeline li::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
  }
  .timeline li:last-child {
    padding-bottom: 0;
  }
  .timeline time {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
  }
  .waiting-orbit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 145px;
    height: 145px;
    margin: 35px auto 20px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .waiting-orbit strong {
    font-size: 37px;
    font-weight: 500;
  }
  .waiting-orbit>span:last-child {
    font-size: 11px;
    color: var(--muted);
  }
  .orbit-dot {
    position: absolute;
    top: -4px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
  }
  .snapshot-panel {
    margin-top: 25px;
  }
  .table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
  }
  th {
    padding: 12px 13px;
    color: var(--muted);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 10px;
    font-weight: 500;
  }
  td {
    padding: 16px 13px;
    border-bottom: 1px solid var(--line);
  }
  tr:last-child td {
    border-bottom: 0;
  }
  .available {
    color: var(--success);
    font-weight: 600;
  }
  .approval-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .approval-item:last-child {
    border: 0;
  }
  .approval-item>div,.invite-item>div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .approval-item strong,.approval-item small {
    display: block;
  }
  .approval-item small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
  }
  .approval-item .row-actions {
    margin: 0;
  }
  .mini-empty {
    padding: 35px 0;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
  }
  .invite-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .invite-item strong,.invite-item small {
    display: block;
    font-size: 12px;
  }
  .invite-item small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
  }
  .invite-item:last-child {
    border: 0;
  }
  #toast-region {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
  }
  .toast {
    padding: 16px 22px;
    border-radius: 12px;
    border: 1px solid var(--active-line);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    font-size: 13px;
  }
  [hidden] {
    display: none !important;
  }
  .install-steps {
    margin: 0;
    padding-left: 23px;
  }
  .install-steps li {
    padding: 0 0 20px 8px;
    font-size: 13px;
  }
  .install-steps li:last-child {
    padding-bottom: 0;
  }
  .install-steps strong,.install-steps span {
    display: block;
  }
  .install-steps span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
  }
  .route-fields {
    display: grid;
    grid-template-columns: minmax(0,1fr) 36px minmax(0,1fr);
    gap: 14px;
    align-items: start;
  }
  .station-field,.destination-fields {
    min-width: 0;
  }
  .destination-fields {
    display: grid;
    gap: 16px;
  }
  .destination-row {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing) * 2);
  }
  .destination-row>.station-field {
    flex: 1;
  }
  .swap-stations,.remove-destination {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: var(--paper);
  }
  .swap-stations {
    margin-top: 29px;
    font-size: 20px;
  }
  .remove-destination {
    margin-top: 31px;
    font-size: 20px;
  }
  .add-destination {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 1.5);
    justify-self: flex-start;
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    border: 0;
    padding: 3px 0;
    min-height: 36px;
    background: none;
    color: var(--link);
    font-size: 12px;
  }
  .departure-date {
    min-width: 0;
    margin-bottom: 24px;
  }
  .departure-date-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }
  .date-shortcuts {
    display: inline-flex;
    gap: 4px;
  }
  .date-shortcuts>button {
    min-width: 44px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }
  .date-shortcuts>button:hover {
    background: var(--hover);
    color: var(--link);
  }
  .date-shortcuts>button[aria-pressed="true"] {
    background: var(--soft);
    color: var(--link);
  }
  .departure-date-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
  }
  .departure-date-control>.icon {
    width: 18px;
    height: 18px;
    color: var(--muted);
  }
  .departure-date-control>span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
  }
  .date-chevron {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--muted);
  }
  .departure-date-control>input {
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    font-size: 16px;
    cursor: pointer;
  }
  .departure-date-control:focus-within {
    outline: 2px solid var(--active-line);
    border-color: var(--accent);
  }
  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 2);
  }
  .segmented {
    display: flex;
    gap: 5px;
    padding: 4px;
    margin: 0 0 23px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--bg);
  }
  .segmented>label {
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
  }
  .segmented>label:has(input:checked) {
    background: var(--paper);
    color: var(--link);
    box-shadow: 0 1px 4px rgb(13 71 161 / 10%);
  }
  .segmented>label:has(input:disabled) {
    cursor: not-allowed;
    opacity: .4;
  }
  .segmented input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  .segmented>label:has(input:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .time-boundary {
    min-width: 0;
  }
  .now-boundary {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 0;
  }
  .now-boundary>span {
    font-size: 12px;
    font-weight: 600;
  }
  .now-boundary>strong {
    color: var(--link);
    font-size: 17px;
  }
  .now-boundary>small {
    color: var(--muted);
    font-size: 11px;
  }
  .time-chip {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--link);
    font-size: 12px;
  }
  .time-chip:hover {
    background: var(--soft);
  }
  .advanced-times {
    margin-top: 24px;
  }
  .time-summary {
    display: grid;
    gap: calc(var(--spacing) * 2);
    padding: 17px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--link);
    font-size: 13px;
  }
  .time-summary>strong {
    font-size: 12px;
  }
  .reservation-summary>h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .field-error {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    color: var(--red);
    margin: 12px 0 0;
  }
  @media (max-width:1200px) {
    .app-shell {
      grid-template-columns: 220px minmax(0,1fr);
    }
    .journey-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .detail-layout,.admin-layout {
      grid-template-columns: minmax(0,1fr);
    }
    .sticky {
      position: static;
    }
    .auth-layout {
      gap: 40px;
    }
  }
  @media (max-width:1020px) {
    .booking-layout {
      grid-template-columns: minmax(0,1fr);
    }
    .booking-layout .sticky {
      position: static;
    }
  }
  @media (max-width:760px) {
    .departure-date-control>span {
      font-size: 16px;
    }
    .app-shell {
      display: block;
      padding-bottom: 78px;
    }
    .site-sidebar {
      position: fixed;
      top: auto;
      bottom: 0;
      width: 100%;
      height: auto;
      margin: 0;
      border-radius: 0;
      z-index: 30;
      padding: 7px 8px max(7px,env(safe-area-inset-bottom));
      border: 0;
      border-top: 1px solid var(--line);
    }
    .site-sidebar>.brand,.nav-section-label,.sidebar-foot {
      display: none;
    }
    .site-sidebar nav {
      display: flex;
      gap: 3px;
    }
    .site-sidebar nav>a {
      flex: 1;
      flex-direction: column;
      min-width: 0;
      min-height: 51px;
      gap: 2px;
      padding: 5px 3px;
      font-size: 10px;
      white-space: nowrap;
    }
    .site-sidebar nav .icon {
      width: 19px;
      height: 19px;
    }
    .site-header {
      min-height: 67px;
      padding: 12px 20px;
      gap: 12px;
    }
    .header-context {
      font-size: 13px;
    }
    .header-context>span,.header-context {
      white-space: nowrap;
    }
    .header-actions {
      gap: 12px;
    }
    .user-name {
      display: none;
    }
    .header-note {
      display: none;
    }
    main {
      padding: 28px 20px 45px;
    }
    h1 {
      font-size: 28px;
    }
    .page-heading {
      align-items: flex-start;
      margin-bottom: 25px;
      gap: 16px;
    }
    .page-heading p {
      font-size: 12px;
    }
    .page-heading>.button {
      padding: 10px 13px;
      font-size: 11px;
    }
    .summary-strip {
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      padding: 20px;
    }
    .summary-strip>div {
      gap: 12px;
    }
    .summary-strip>div+div {
      padding-left: 18px;
    }
    .summary-strip>.strip-note {
      grid-column: 1/-1;
      justify-content: flex-start;
      border-left: 0;
      border-top: 1px solid var(--line);
      padding: 12px 0 0;
    }
    .strip-note>.text-button {
      width: auto;
      margin-left: auto;
    }
    .journey-grid,.settings-grid,.auth-layout {
      grid-template-columns: minmax(0,1fr);
    }
    .auth-layout {
      gap: 20px;
      margin: 0;
    }
    .auth-story {
      padding: 10px 0;
    }
    .auth-story h1 {
      font-size: 38px;
    }
    .auth-story p {
      font-size: 13px;
    }
    .rail-graphic {
      margin: 24px 0;
    }
    .story-foot {
      display: none;
    }
    .auth-form,.panel {
      padding: 23px;
      border-radius: 14px;
    }
    .site-footer {
      margin: 0 20px;
      flex-direction: column;
      gap: 8px;
    }
    .narrow {
      margin: 10px auto;
    }
    .ticket-main strong {
      font-size: clamp(26px,7vw,35px);
    }
    .approval-item,.invite-item {
      flex-wrap: wrap;
    }
    .approval-item .row-actions {
      width: 100%;
    }
    .saved-item {
      flex-wrap: wrap;
    }
    input,select,[role="combobox"] {
      font-size: 16px !important;
    }
    #toast-region {
      bottom: 92px;
      left: 16px;
      right: 16px;
      max-width: none;
    }
    .guest-shell {
      padding-bottom: 0;
    }
  }
  @media (max-width:440px) {
    main {
      padding-left: 16px;
      padding-right: 16px;
    }
    .site-header {
      padding-left: 16px;
      padding-right: 16px;
    }
    .header-context {
      font-size: 0;
    }
    .header-context::before {
      content: "Railwatch";
      font-size: 17px;
      font-weight: 700;
      color: var(--ink);
    }
    .header-context>span {
      display: none;
    }
    .panel,.auth-form {
      padding: 21px 18px;
    }
    .form-grid:not(.thirds) {
      grid-template-columns: minmax(0,1fr);
      gap: 16px;
    }
    .form-grid.thirds {
      gap: 10px;
    }
    .page-heading {
      flex-direction: column;
      align-items: stretch;
    }
    .page-heading>.button {
      align-self: flex-start;
    }
    .auth-story h1 {
      font-size: 33px;
    }
    .route-fields {
      grid-template-columns: minmax(0,1fr);
    }
    .swap-stations {
      margin: -5px 0;
      justify-self: center;
      transform: rotate(90deg);
    }
    .ticket-main {
      gap: 7px;
    }
    .ticket-track {
      font-size: 10px !important;
    }
  }
  @media (prefers-reduced-motion:reduce) {
    *,*::before,*::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
  .setup-panel {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .setup-panel .section-heading {
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 3);
  }
  .setup-panel h2 {
    margin-bottom: 6px;
  }
  .setup-panel .section-heading p {
    margin: 0;
  }
  .setup-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(var(--spacing) * 3);
  }
  .setup-step {
    display: flex;
    min-width: 0px;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--line);
    background-color: var(--paper);
    padding: calc(var(--spacing) * 3);
    text-align: left;
    color: var(--ink);
  }
  .setup-step:hover {
    background: var(--hover);
  }
  .setup-step[data-complete="true"] {
    border-color: var(--active-line);
    background: var(--soft);
  }
  .setup-step .step {
    margin: 0px;
    flex-shrink: 0;
  }
  .setup-step>div {
    min-width: 0px;
    flex: 1;
  }
  .setup-step strong,.setup-step small {
    display: block;
  }
  .setup-step strong {
    font-size: 12px;
  }
  .setup-step small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
  }
  .setup-step>.icon {
    width: 15px;
    height: 15px;
  }
  .test-push-panel {
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--line);
    padding: calc(var(--spacing) * 4);
  }
  .test-push-panel h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .test-push-panel button+button {
    margin-top: 10px;
  }
  .notification-history {
    grid-column: 1 / -1;
  }
  .notification-history .icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
  }
  .connection-banner {
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--line);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    color: var(--muted);
    background: var(--paper);
  }
  .connection-banner[data-failed="true"] {
    color: var(--red);
    background: var(--danger-bg);
  }
  .install-dialog {
    width: 100%;
    max-width: var(--container-md);
    border-radius: var(--radius-2xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--line);
    background-color: var(--paper);
    padding: calc(var(--spacing) * 6);
    color: var(--ink);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
  .install-dialog::backdrop {
    background: rgb(8 20 40 / 38%);
    backdrop-filter: blur(5px);
  }
  .install-dialog .section-heading h2 {
    margin: 0;
  }
  .install-dialog .install-steps {
    margin-bottom: 20px;
  }
  @media (max-width:1200px) {
    .setup-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
    }
  }
  @media (max-width:600px) {
    .setup-grid {
      grid-template-columns: minmax(0,1fr);
    }
    .setup-step strong {
      font-size: 13px;
    }
    .setup-step small {
      font-size: 11px;
    }
    .install-dialog {
      width: calc(100% - 28px);
      padding: 22px;
    }
  }
  .activity-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
  }
  .activity-status[data-state="searching"] {
    color: var(--link);
  }
  .activity-status[data-state="resting"] .status-dot {
    background: var(--warning);
  }
  .activity-status[data-state="waiting"] .status-dot {
    background: var(--muted);
  }
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-font-weight: initial;
      --tw-border-style: solid;
    }
  }
}
