/* Air Lens / Open skies. Shared visual system for the app and reading pages.
   styles.css retains the existing component contracts; this layer owns presentation. */
@font-face {
  font-family: "Pretendard Variable";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --air-blue: #2563eb;
  --air-blue-hover: #1d4ed8;
  --air-navy: #142d4e;
  --air-sky: #edf5ff;
  --air-surface: #f5f8fc;
  --air-border: #e3eaf3;
  --air-ease: cubic-bezier(.2, .8, .2, 1);
  --air-shadow: 0 8px 32px -12px rgb(35 68 111 / 12%);
  --air-shadow-raised: 0 18px 55px -20px rgb(35 68 111 / 23%);
  --purple: var(--air-navy);
  --purple-deep: #102541;
  --violet: var(--air-blue);
  --violet-deep: var(--air-blue-hover);
  --violet-wash: var(--air-sky);
  --surface: var(--air-surface);
  --ink: #20334b;
  --muted: #596e89;
  --muted-deep: #5c6f87;
  --line: var(--air-border);
  --green: #078469;
  --green-wash: #eaf8f2;
  --coral: #dc5265;
  --coral-wash: #fff1f2;
  --card-shadow: var(--air-shadow);
  --sans: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: var(--sans);
  --page-max-width: 1384px;
}

* { font-family: inherit; }
html { scroll-padding-top: 104px; }
body { background: var(--air-surface); font-family: var(--sans); font-size: 14px; letter-spacing: -.015em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a, input, select { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 220ms var(--air-ease); }
button:disabled { cursor: not-allowed; opacity: .55; }
button:not(:disabled):active, a:not(.profile-link):active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #79affb; outline-offset: 4px; }
::selection { color: #163f88; background: #dbeafe; }
.ui-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 11000; padding: 12px 18px; border-radius: 12px; color: #fff; background: var(--air-navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { width: 100%; max-width: none; background: var(--air-surface); }
.main-content { min-height: calc(100vh - 180px); background: none; }
.main-content::before, .main-content::after { display: none; }
.content-wrap::before, .exchange-page::before, .exchange-page::after { display: none; }
.main-content:focus { outline: none; }
.content-wrap, .exchange-page, .mypage-content { width: 100%; max-width: var(--page-max-width); margin: 0 auto; padding: 0 40px 64px; }
.page-view.is-page-entering { animation: none; }
.sidebar { position: sticky; top: 0; z-index: 40; height: 88px; padding: 0 max(32px, calc((100vw - 1304px) / 2)); gap: 28px; overflow: visible; color: var(--ink); border-bottom: 1px solid rgb(227 234 243 / 80%); background: rgb(255 255 255 / 94%); backdrop-filter: blur(18px); }
.sidebar::after, .sidebar-rule { display: none; }
.brand-lockup { gap: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; box-shadow: none; border: 1px solid var(--line); }
.brand-name { color: var(--air-navy); font-size: 20px; font-weight: 850; letter-spacing: -.065em; }
.brand-caption { margin-top: 5px; color: #5b6d85; font-size: 10px; letter-spacing: -.01em; }
.product-nav { flex-shrink: 0; gap: 3px; padding: 5px; border: 0; border-radius: 15px; background: #f0f4f9; }
.product-nav-link { min-width: 116px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border-radius: 11px; color: #5a6d84; font-size: 14px; font-weight: 650; background: transparent; }
.product-nav-link .ui-icon { width: 17px; height: 17px; }
.product-nav-link:first-child .ui-icon { transform: rotate(40deg); }
.product-nav-link:hover { color: var(--air-blue); background: #e8effa; }
.product-nav-link.is-active { color: var(--air-blue); background: #fff; box-shadow: 0 2px 6px rgb(25 53 90 / 8%); }
.public-nav { display: flex; gap: 18px; margin: 0; font-size: 12px; }
.public-nav a { color: #5c6d84; text-decoration: none; }
.public-nav a:hover { color: var(--air-blue); }
.public-nav a:last-child { display: none; }
.sidebar-bottom { margin-left: auto; min-width: 0; }
.account-card, .account-content { padding: 0; border: 0; background: none; box-shadow: none; }
.account-card { width: auto; }
.profile-area { gap: 12px; }
.auth-user { max-width: 126px; color: var(--air-navy); font-size: 12px; font-weight: 600; }
.profile-area:has(#kakaoLoginButton:not([hidden])) .profile-link { display: none; }
.auth-avatar { width: 34px; height: 34px; border: 2px solid #fff; background: #e7f0ff; box-shadow: 0 0 0 1px var(--line); }
.profile-link:hover { background: var(--air-sky); }
.kakao-login-button, .logout-button { min-height: 40px; border-radius: 12px; padding: 0 15px; font-size: 12px; }
.kakao-login-button { background: #fee500; border: 1px solid #eed700; color: #302b13; }
.kakao-login-button:disabled { background: #f0f4f8; color: #5c6d85; border-color: var(--line); }
.logout-button { color: #5b6d84; background: #fff; border: 1px solid var(--line); }
.logout-button:hover { color: var(--air-blue); background: var(--air-sky); }
.topbar { display: flex; width: 100%; max-width: var(--page-max-width); min-height: 62px; height: 62px; margin: auto; padding: 0 44px; color: var(--muted-deep); background: none; border: 0; }
.topbar-greeting { display: inline-flex; align-items: center; gap: 9px; color: #596d87; font-size: 12px; }
.topbar-greeting .ui-icon { color: #7e684b; width: 16px; height: 16px; }
.topbar-date { color: #5b6d85; font-size: 11px; letter-spacing: .01em; }

/* First impression: an original sky photograph with a usable search desk. */
.public-intro.travel-hero { position: relative; isolation: isolate; min-height: 376px; margin: 0; padding: 48px 48px 65px; overflow: hidden; border: 1px solid #dce9f6; border-radius: 28px; background: #dbeffd; }
.travel-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.travel-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(241 248 255 / 72%), rgb(241 248 255 / 30%) 45%, transparent 70%); }
.travel-hero-content { position: relative; max-width: 650px; }
.public-intro p.hero-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #34628c; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.hero-kicker > span { width: 5px; height: 5px; background: var(--air-blue); border-radius: 50%; box-shadow: 0 0 0 4px rgb(37 99 235 / 8%); }
.public-intro h1 { margin: 0; color: #183958; font-size: clamp(30px, 3.4vw, 48px); font-weight: 760; line-height: 1.27; letter-spacing: -.055em; }
.public-intro h1 em { color: #2563ae; font-style: normal; }
.public-intro p.hero-description { margin: 18px 0 0; color: #4b6b87; font-size: 14px; font-weight: 460; line-height: 1.85; }
.public-intro .hero-guide-link { display: inline-flex; align-items: center; gap: 15px; margin-top: 22px; color: #244c72; font-size: 12px; font-weight: 650; text-decoration: none; }
.hero-guide-link .ui-icon { width: 16px; height: 16px; transition: transform 220ms var(--air-ease); }
.hero-guide-link:hover .ui-icon { transform: translate(2px, -2px); }
.hero-flight-note { position: absolute; right: 30px; bottom: 49px; display: flex; align-items: center; gap: 10px; color: #416b8a; font-size: 8px; letter-spacing: .16em; }
.hero-flight-note .ui-icon { width: 13px; height: 13px; transform: rotate(35deg); }
.watch-composer { position: relative; margin: 22px 0 30px; overflow: visible; border: 1px solid var(--air-border); border-radius: 22px; background: #fff; box-shadow: var(--air-shadow-raised); }
.air-awaiting-search .watch-composer { margin: -30px 22px 32px; }
.air-awaiting-search #watchComposer .route-banner { display: none; }
.watch-composer.has-new-watch .new-watch-stage { margin: 0; }
#watchComposer .new-watch-stage > .search-panel { position: relative; width: 100%; margin: 0; padding: 28px 30px 18px; border: 0; border-radius: 22px; background: #fff; box-shadow: none; }
.search-panel-top { align-items: center; gap: 15px; }
.eyebrow, .eyebrow.compact { color: #596d87; font-size: 9px; font-weight: 650; line-height: 1.5; letter-spacing: .16em; }
.eyebrow-line { width: 16px; height: 2px; background: #729de5; }
.search-panel-top .eyebrow { display: flex; align-items: center; gap: 8px; color: #516d91; }
.search-panel-top .ui-icon { width: 15px; height: 15px; transform: rotate(35deg); }
.guide-shortcut { color: #546d8c; font-size: 11px; font-weight: 500; }
.guide-shortcut:hover { color: var(--air-blue); }
.search-panel h2 { margin: 12px 0 0; color: var(--air-navy); font-size: 24px; font-weight: 730; letter-spacing: -.045em; }
.search-panel .panel-intro { margin: 7px 0 0; color: #5b6d84; font-size: 12px; line-height: 1.6; }
.search-panel .panel-intro strong { color: #406797; font-weight: 600; }
.search-quick-routes { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.search-quick-routes > span { margin-right: 6px; color: #5a6d86; font-size: 11px; }
.search-quick-routes button { min-height: 30px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: #596d87; background: #fff; font-size: 11px; }
.search-quick-routes button:hover { color: var(--air-blue); border-color: #b6d0fa; background: var(--air-sky); }
.search-quick-routes button[aria-pressed="true"] { color: #265fbd; border-color: #bfd6f9; background: #f0f6ff; }
.search-quick-routes:has(button:disabled) { display: none; }
#watchComposer #monitorForm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 16px; margin-top: 23px; }
#watchComposer #monitorForm > .form-group { min-width: 0; margin: 0; grid-column: 1 / span 2; grid-row: 2; align-self: start; }
#watchComposer #monitorForm > .interval-group { grid-column: 3 / span 3; grid-row: 2; }
#watchComposer #monitorForm > .location-grid { grid-column: 1 / span 6; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); align-items: end; gap: 6px; margin: 0; }
#watchComposer #monitorForm > .range-control { grid-column: 7 / span 3; grid-row: 1; min-width: 0; margin: 0; align-self: end; }
#watchComposer #monitorForm > .range-control[data-range-picker="return"] { grid-column: 10 / span 3; }
#watchComposer #monitorForm > .range-heading, #watchComposer #monitorForm > .form-divider { display: none; }
#watchComposer #monitorForm > .monitor-control-row { grid-column: 7 / span 3; grid-row: 2; display: flex; flex-wrap: wrap; align-self: start; gap: 8px; margin: 22px 0 0; }
#watchComposer #monitorForm > #lookupButton { grid-column: 10 / span 3; grid-row: 2; margin: 22px 0 0; align-self: start; }
.form-group label, .exchange-monitor-field > span { margin: 0 0 8px; color: #5b6d84; font-size: 11px; font-weight: 600; }
.required-mark { color: #546d8e; font-size: 9px; }
.number-input-wrap input, .input-with-icon input, .exchange-monitor-field input, .exchange-monitor-field select { min-height: 50px; height: 50px; color: var(--air-navy); border: 1px solid #e1e8f0; border-radius: 11px; background: #f8fafd; font-size: 13px; font-weight: 550; }
.number-input-wrap > span, .input-pin { color: #576d88; }
.input-with-icon input { padding-left: 34px; }
.input-pin { left: 12px; font-size: 16px; }
.input-with-icon input::placeholder { color: #596d87; font-weight: 400; }
.number-input-wrap input:focus, .input-with-icon input:focus, .exchange-monitor-field select:focus, .exchange-monitor-field input:focus { border-color: #88b5f4; outline: none; box-shadow: 0 0 0 4px rgb(37 99 235 / 7%); background: #fff; }
.input-help { margin-top: 7px; color: #5a6d85; font-size: 10px; line-height: 1.55; }
.swap-button { position: static; width: 32px; height: 44px; margin: 0 0 3px; padding: 7px; color: #526e90; border: 0; border-radius: 9px; background: transparent; transform: none; }
.swap-button:hover { color: var(--air-blue); background: #edf4ff; transform: none; }
.swap-button.is-swapping .ui-icon { animation: swap-turn 340ms var(--air-ease); }
@keyframes swap-turn { to { transform: rotate(180deg); } }
.swap-button .ui-icon { width: 18px; height: 18px; }
.range-summary { min-height: 72px; padding: 8px 13px 10px; border: 1px solid #e1e8f0; border-radius: 11px; background: #f8fafd; gap: 8px; align-items: center; }
.range-summary:hover { border-color: #aecaf0; background: #f2f7ff; }
.range-summary[aria-expanded="true"], .range-summary:focus-visible { border-color: #80adf4; background: #fff; box-shadow: 0 0 0 4px rgb(37 99 235 / 7%); }
.range-summary-copy { gap: 7px; }
.range-summary-copy small { color: #596d89; font-size: 10px; font-weight: 500; }
.range-summary-copy strong { color: #2e4969; font-size: 12px; font-weight: 600; letter-spacing: -.025em; line-height: 1.6; white-space: normal; }
.range-summary-chevron { color: #576d8a; font-size: 17px; transition: transform 240ms var(--air-ease); }
.range-summary[aria-expanded="true"] .range-summary-chevron { transform: rotate(180deg); }
.range-popover { z-index: 55; min-width: min(450px, calc(100vw - 32px)); padding: 22px; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 60px rgb(25 53 90 / 18%); animation: popover-appear 200ms var(--air-ease); }
.range-popover-heading { margin-bottom: 16px; }
.range-popover-heading strong { color: var(--air-navy); font-size: 16px; }
.range-popover-heading > span { color: #596d87; }
.range-popover-kicker { color: #4d6d97; font-size: 9px; letter-spacing: .15em; }
.range-popover .date-grid { gap: 14px; }
.range-popover-close { min-height: 40px; padding: 10px 16px; color: #fff; border: 0; border-radius: 10px; background: var(--air-blue); font-weight: 600; }
.range-popover-close:hover { background: var(--air-blue-hover); }
.suggestion-list { z-index: 56; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--air-shadow-raised); animation: popover-appear 160ms var(--air-ease); }
.airport-suggestion { min-height: 48px; padding: 10px 12px; border: 0; border-radius: 8px; }
.airport-suggestion:hover, .airport-suggestion.is-active, .airport-suggestion[aria-selected="true"] { color: var(--air-blue); background: #eef5ff; }
.primary-button, .secondary-button, .pause-button, .exchange-refresh-button { min-height: 50px; margin: 0; padding: 13px 18px; border-radius: 11px; font-size: 13px; font-weight: 650; letter-spacing: -.02em; box-shadow: none; }
.primary-button { color: #fff; border: 1px solid var(--air-blue); background: var(--air-blue); }
.button-arrow, .secondary-button .button-arrow { color: inherit; opacity: .7; transition: transform 200ms var(--air-ease); }
button:not(:disabled):hover .button-arrow { transform: translate(2px, -2px); }
.primary-button:hover { background: var(--air-blue-hover); box-shadow: 0 5px 15px rgb(37 99 235 / 18%); }
.primary-button.requires-login, .primary-button.requires-login:hover, .exchange-monitor-start.requires-login { box-shadow: none; transform: none; }
#monitorForm .primary-button { color: var(--air-blue); border: 1px solid #d1e0f5; background: #f0f6ff; }
#monitorForm .primary-button:hover { background: #e5efff; border-color: #a6c7f5; }
#lookupButton { display: flex; align-items: center; justify-content: center; gap: 9px; color: #fff; border: 1px solid var(--air-blue); background: var(--air-blue); box-shadow: 0 5px 14px rgb(37 99 235 / 13%); }
#lookupButton:hover { color: #fff; background: var(--air-blue-hover); box-shadow: 0 7px 20px rgb(37 99 235 / 24%); }
#lookupButton .button-label { flex: 1; text-align: left; }
#lookupButton .ui-icon { width: 17px; height: 17px; }
.pause-button { color: #546d8c; border: 1px solid var(--line); background: #f7f9fc; }
.pause-button:hover, .secondary-button:hover { color: var(--air-blue); background: var(--air-sky); }
.secondary-button { color: var(--air-blue); border: 1px solid #d5e3f5; background: #f2f7ff; }
.search-assurance { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef2f7; color: #5b6d86; font-size: 10px; }
.search-assurance > span:first-child { display: flex; align-items: center; gap: 5px; color: #54716f; }
.search-assurance .ui-icon { width: 13px; height: 13px; }
.search-assurance a { margin-left: auto; color: #556d8d; text-decoration: none; }

/* The selected route and saved watches borrow the proportions of a boarding pass. */
#watchComposer .route-banner { min-height: 118px; padding: 24px 30px; gap: 18px; color: var(--air-navy); border: 0; border-bottom: 1px dashed #ccdaeb; border-radius: 22px 22px 0 0; background: #edf4ff; box-shadow: none; }
.route-banner::before, .route-banner::after { display: none; }
.route-flag span { color: #516d90; font-size: 8px; letter-spacing: .14em; }
.route-flag b { color: #456d9f; border: 1px solid #cbddf4; border-radius: 6px; background: transparent; font-size: 10px; letter-spacing: .02em; }
.route-label { color: #566d8a; font-size: 9px; letter-spacing: .16em; }
.route-point strong { color: #294a73; font-weight: 680; letter-spacing: -.045em; }
.route-point small { color: #4a6e98; letter-spacing: .12em; font-weight: 600; }
.route-roundtrip, .route-meta { color: #546e8c; }
.route-roundtrip { font-size: 8px; letter-spacing: .16em; }
.route-dash { opacity: .45; border-color: #6d9bd5; }
.route-plane { display: inline-flex; color: #426da6; }
.route-plane .ui-icon { width: 17px; height: 17px; transform: rotate(90deg); }
.return-plane .ui-icon { transform: none; width: 13px; height: 13px; }
.route-meta-divider { background: #c1d5ee; }
.monitor-list-section { margin-top: 28px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: none; }
.section-heading-row h2, .panel h2, .exchange-page h2 { color: var(--air-navy); font-weight: 720; letter-spacing: -.035em; }
.section-heading-row h2, .panel-heading h2 { font-size: 20px; }
.monitor-list-intro, .exchange-rate-intro, .source-section-intro { color: #5a6d86; font-size: 12px; line-height: 1.7; }
.monitor-count, .exchange-monitor-count { padding: 5px 10px; color: #596d87; border: 1px solid #e7edf5; border-radius: 7px; background: #f8fafd; font-size: 11px; }
.add-monitor-button { min-height: 40px; padding: 10px 14px; color: var(--air-blue); border: 1px solid #d8e4f6; border-radius: 10px; background: #f5f9ff; font-size: 12px; }
.add-monitor-button:hover { border-color: #adccf5; background: #edf4ff; }
.monitor-cards { gap: 14px; margin-top: 20px; }
.monitor-card, .exchange-monitor-card { position: relative; overflow: hidden; border: 1px solid #e2eaf4; border-radius: 16px; background: #fff; box-shadow: none; transition: border-color 200ms, box-shadow 200ms, transform 200ms var(--air-ease); }
.monitor-card:hover, .exchange-monitor-card:hover { border-color: #b8d0f1; box-shadow: var(--air-shadow); }
.monitor-card.is-selected, .exchange-monitor-card.is-selected { border-color: #81aff0; background: #f8fbff; box-shadow: 0 0 0 1px rgb(37 99 235 / 8%); }
.monitor-card-select { padding: 19px 18px 15px; }
.monitor-card-label { color: #576d8b; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.monitor-card-status, .exchange-monitor-card-status { border-radius: 5px; font-size: 9px; }
.monitor-card-route { margin-top: 16px; color: #24456d; font-size: 17px; font-weight: 680; letter-spacing: -.035em; }
.monitor-card-route > span { color: #4e6d96; }
.monitor-card-meta { margin-top: 10px; color: #5a6d85; font-size: 11px; }
.monitor-card-price { margin-top: 16px; color: var(--air-blue); font-size: 24px; font-weight: 740; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.monitor-card-price.is-empty { color: #5a6d86; font-size: 14px; font-weight: 500; }
.monitor-card-delete, .exchange-monitor-card-delete { width: 30px; height: 30px; color: #596d88; border: 0; border-radius: 8px; background: transparent; }
.monitor-card-delete:hover, .exchange-monitor-card-delete:hover { color: #b24760; background: #fff0f2; }
.monitor-alert-preferences { padding: 13px 18px; border-top: 1px dashed #dce5f1; background: #fafcff; }
.monitor-alert-heading > span, .monitor-alert-toggle { color: #516d90; }
.monitor-alert-toggle { min-height: 32px; border-radius: 7px; }
.monitor-alert-toggle:hover { color: var(--air-blue); background: #edf4ff; }
.monitor-alert-channels { border-color: #e1eaf6; }
.monitor-alert-copy strong { color: #506e91; font-size: 11px; }
.monitor-alert-copy > span, .monitor-alert-channel-label { color: #566d8a; font-size: 10px; }
.monitor-alert-target-input { min-height: 32px; height: 32px; color: #406792; border-color: #d4e2f5; background: #fff; font-size: 11px; }
.monitor-alert-target-input:focus { border-color: #8eb4ea; box-shadow: 0 0 0 3px rgb(37 99 235 / 8%); }
.monitor-alert-target em { color: #566d8a; }
.monitor-alert-switch { width: 34px; height: 20px; }
.monitor-alert-switch > span { background: #cad7e7; }
.monitor-alert-switch > span::before { top: 3px; left: 3px; width: 14px; height: 14px; }
.monitor-alert-switch input:checked + span { background: #528ee0; }
.monitor-alert-switch input:checked + span::before { transform: translateX(14px); }
.monitor-alert-switch input:focus-visible + span { outline: 3px solid #9ec2f3; outline-offset: 3px; }
.monitor-alert-options:not([hidden]) { animation: popover-appear 220ms var(--air-ease); }
.alert-channel-button { transition: background 200ms, border-color 200ms, transform 200ms; }
.alert-channel-button[aria-pressed="true"] { box-shadow: 0 0 0 3px rgb(37 99 235 / 6%); }
.alert-channel-button { width: 40px; height: 40px; min-width: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; line-height: 1; }
.alert-channel-button.needs-setup { border-color: #c9993f; background: #fff8e8; box-shadow: none; }
.alert-channel-button.needs-setup .alert-channel-dot { background: #b47c16; box-shadow: none; }
.alert-device-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; color: #566d8a; font-size: 11px; line-height: 1.6; }
.alert-device-connect { min-height: 36px; padding: 5px 10px; border: 1px solid #cbdcf2; border-radius: 9px; color: #235faa; background: #fff; font-size: 11px; font-weight: 700; }
.alert-device-connect:disabled { opacity: .5; cursor: wait; }
.monitor-alert-preferences[aria-busy="true"] .monitor-alert-switch { opacity: .6; }
.alert-rules-note { margin: 8px 0; color: #805c23; font-size: 11px; line-height: 1.6; }
.monitor-list-empty { padding: 24px; color: #596d87; border: 1px dashed #d9e4f1; border-radius: 13px; background: #f8fbff; font-size: 12px; text-align: center; line-height: 1.8; }

/* Calm data surfaces; real values retain their source-specific colours. */
.metrics-grid { gap: 16px; margin-top: 24px; }
.metric-card { min-height: 146px; padding: 23px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: none; }
.metric-card.featured-metric { border: 1px solid #cddffc; background: #f0f6ff; }
.metric-head { color: #576d89; font-size: 12px; }
.metric-value { color: #2359a6; font-size: 31px; font-weight: 740; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric-value.small { color: #29496e; font-size: 25px; }
.metric-foot { color: #5b6d86; font-size: 11px; }
.mini-label { color: #566d8a; border-radius: 5px; background: #f0f5fb; font-size: 8px; }
.mini-label.green { color: #2a719f; background: #e1effc; }
.metric-icon { color: #536d8e; }
.source-mini-list span { background: #f2f6fb; color: #556d8c; }
.dashboard-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; margin-top: 24px; }
.panel { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: none; }
.history-panel, .activity-panel, .source-status-panel { padding: 25px; }
.panel-heading { margin-bottom: 24px; }
.chart-wrap { height: 245px; grid-template-rows: minmax(0, 1fr); }
.chart-plot { min-height: 0; }
.price-chart { display: block; max-height: 100%; }
.chart-axis-label, .chart-empty-label { fill: #5e728c; }
.chart-interaction-layer:focus-visible { fill: rgb(37 99 235 / 4%); stroke: #5288d7; }
.metric-foot, .metric-foot > span, .metric-value small, .exchange-monitor-card-meta,
.profile-refresh-status, .profile-zone-preview div > span,
.mypage-setting-row div > span, .activity-time { color: var(--muted); }
.monitor-card-status, .exchange-monitor-card-status, .source-change.down { color: #087658; background: #eaf8f2; }
.monitor-control-row .pause-button, .exchange-monitor-pause, .metric-foot.muted, .collector-row small { color: var(--muted); }
#exchangeMonitorPauseLabel { color: var(--muted); }
.delta.down, #sourceStatusCount { color: #087658; }
.delta.up { color: #b54154; }
.delta.neutral { color: #5b6b80; }
.exchange-currency-code, .exchange-currency-basis { color: var(--muted) !important; }
.exchange-page-kicker > span:last-child { color: #087658; }
.chart-line { stroke: #4285df; stroke-width: 2.5; filter: none; }
.chart-point { stroke: #4285df; fill: #fff; }
.chart-grid-line { stroke: #e7eef7; }
.chart-y-axis-labels { color: #5a6d87; font-size: 10px; font-variant-numeric: tabular-nums; }
.chart-footer { color: #586d88; font-size: 10px; }
.chart-legend { color: #546e8d; font-size: 10px; }
.legend-dot { background: #4186ea; box-shadow: none; }
.source-section { margin-top: 30px; }
.text-button { min-height: 40px; padding: 8px 13px; color: #516d94; border: 1px solid #e0e9f5; border-radius: 9px; background: #fff; font-size: 11px; }
.text-button:hover { color: var(--air-blue); border-color: #adc9f1; background: #f5f9ff; }
.source-cards { gap: 14px; margin-top: 18px; }
.source-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: none; transition: border-color 200ms, box-shadow 200ms; }
.source-card:hover { border-color: #c5d6ed; box-shadow: var(--air-shadow); }
.source-card.is-best, .source-card.is-lowest { border-color: #a9c9f8; background: #fbfdff; }
.source-name { color: #2e496a; font-weight: 650; }
.source-description { color: #5b6d85; font-size: 10px; }
.source-mark { border-radius: 10px; }
.source-price { color: #24476f; font-size: 26px; font-weight: 750; letter-spacing: -.04em; }
.source-price-row { border-color: #edf2f8; }
.source-change { border-radius: 6px; font-size: 10px; }
.leg-time { color: #3c5979; font-weight: 650; }
.leg-label, .leg-airport, .stop-label { color: #576d89; }
.source-card-footer { border-color: #eaf0f7; }
.open-provider { color: #466da2; font-weight: 650; border-radius: 8px; }
.open-provider:hover { color: var(--air-blue); background: #eef5ff; }
.source-freshness { color: #586d86; }
.source-info { color: #576c88; border-color: #cfdbeb; background: #fff; }
.collector-status-list { color: #546d8d; }
.collector-status-item { border-color: #edf2f8; }
.live-notice { color: #596d87; background: #f4f8fd; border-radius: 10px; }
.activity-panel { margin-top: 24px; }
.activity-item { border-color: #edf2f8; }
.activity-message, .activity-copy strong { color: #466180; }
.log-live { color: #467378; font-size: 9px; }
.log-live i { background: #5a9e92; box-shadow: none; }

/* A light editorial introduction remains useful before the first search. */
.first-visit-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 42px 0 32px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.journey-step { position: relative; min-width: 0; padding: 0 32px; border-right: 1px solid #e1e9f3; }
.journey-step:first-child { padding-left: 12px; }
.journey-step:nth-child(3) { border-right: 0; }
.journey-step-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; color: #3c6bb2; border: 1px solid #e0eaf9; border-radius: 12px; background: #fff; }
.journey-step:nth-child(2) .journey-step-icon { color: #2c7676; border-color: #d7ece6; }
.journey-step:nth-child(3) .journey-step-icon { color: #796855; border-color: #eee5d9; }
.journey-step > small { display: block; color: #596d88; font-size: 8px; letter-spacing: .16em; font-weight: 600; }
.journey-step > strong { display: block; margin-top: 8px; color: #314d70; font-size: 17px; font-weight: 650; letter-spacing: -.035em; }
.first-visit-guide .journey-step p { margin: 9px 0 0; color: #586d88; font-size: 12px; line-height: 1.85; }
.journey-step a { display: inline-block; margin-top: 8px; color: #496d9b; font-size: 11px; text-decoration: none; }
.public-practice { margin-top: 42px; padding: 28px 0 0; border-top: 1px solid #e0e8f3; }
.editorial-kicker { display: block; margin-bottom: 9px; color: #546d8e; font-size: 9px; letter-spacing: .18em; font-weight: 650; }
.public-practice h2 { color: #244362; font-size: 22px; font-weight: 690; letter-spacing: -.04em; }
.public-practice > p { margin: 9px 0 19px; color: #5a6d88; font-size: 11px; }
.public-practice-links { gap: 16px; }
.public-practice-links a { position: relative; padding: 22px 25px; border: 1px solid #e0e9f5; border-radius: 16px; background: #fff; text-decoration: none; box-shadow: none; }
.public-practice-links a::before { content: "FIELD NOTES / 01"; display: block; margin-bottom: 8px; color: #556d8e; font-size: 9px; letter-spacing: .14em; }
.public-practice-links a:nth-child(2)::before { content: "PRICE JOURNAL / 02"; }
.public-practice-links a:hover { border-color: #bad2f3; background: #fff; box-shadow: var(--air-shadow); transform: translateY(-2px); }
.public-practice-links a strong { color: #43658f; font-size: 14px; font-weight: 620; }
.public-practice-links a span { color: #596d88; font-size: 11px; }

/* Exchange and account pages belong to the same travel experience. */
.exchange-page { padding-top: 0; }
.service-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 230px; padding: 26px 10px 36px; }
.service-intro h1 { margin: 14px 0 0; color: #234665; font-size: clamp(28px, 3.5vw, 40px); font-weight: 720; letter-spacing: -.055em; line-height: 1.3; }
.service-intro p:not(.eyebrow) { margin: 13px 0 0; color: #566d88; font-size: 14px; line-height: 1.8; }
.service-intro .public-intro-links { margin-top: 18px; gap: 20px; }
.public-intro-links a { color: #4e6d94; font-size: 11px; font-weight: 550; text-decoration: none; }
.exchange-pass { position: relative; width: 306px; padding: 25px 26px 21px; flex-shrink: 0; overflow: hidden; border: 1px solid #d5e4f7; border-radius: 18px; background: #eaf3ff; transform: rotate(-4deg); box-shadow: 0 14px 28px -15px rgb(43 90 155 / 20%); }
.exchange-pass > .ui-icon { position: absolute; right: -22px; top: -22px; width: 150px; height: 150px; color: #d0e1f7; stroke-width: .7; }
.exchange-pass > span { display: block; position: relative; color: #4f6d93; font-size: 8px; letter-spacing: .2em; }
.exchange-pass strong { display: block; position: relative; margin: 19px 0 17px; color: #3b6ea8; font-size: 35px; font-weight: 550; letter-spacing: .03em; }
.exchange-pass strong i { margin: 0 8px; color: #526d90; font-style: normal; font-weight: 300; }
.exchange-pass small { display: block; position: relative; padding-top: 12px; color: #526d90; border-top: 1px dashed #b8cfea; font-size: 7px; letter-spacing: .13em; }
.mobile-break { display: none; }
.exchange-watch-composer { overflow: visible; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--air-shadow); }
.exchange-watch-composer .exchange-page-hero { min-height: 116px; padding: 24px 28px; border: 0; border-bottom: 1px dashed #c9dbee; border-radius: 22px 22px 0 0; background: #eef5ff; box-shadow: none; }
.exchange-page-hero::before, .exchange-page-hero::after { display: none; }
.exchange-page-kicker, .exchange-hero-route > span { color: #526d8e; }
.exchange-page-kicker i { background: #acc7e8; }
.exchange-hero-route strong { color: #3a6496; font-size: 21px; font-weight: 690; }
.exchange-hero-route i { background: #b5cde9; }
.exchange-live-card { color: #506e90; }
.exchange-live-copy strong, .exchange-live-top { color: #516d90; }
.exchange-live-top .live-dot { background: #6b9cab; box-shadow: none; }
.exchange-refresh-button { color: #446da0; border: 1px solid #cddff5; border-radius: 11px; background: rgb(255 255 255 / 70%); }
.exchange-refresh-button:hover { color: var(--air-blue); background: #fff; }
.exchange-watch-composer .exchange-monitor-panel { padding: 27px 28px; border: 0; border-radius: 0 0 22px 22px; background: #fff; }
.exchange-live-card { border-color: #d6e4f6; background: rgb(255 255 255 / 70%); box-shadow: none; }
.exchange-live-card strong { color: #476889; }
.exchange-currency-mark { border: 1px solid #e1eaf6; background: #f5f9ff; }
.exchange-monitor-action-group .secondary-button { color: var(--air-blue); border-color: #d5e3f5; background: #f2f7ff; }
.exchange-interval-input { height: 50px; border-color: #e1e8f0; border-radius: 11px; background: #f8fafd; }
.exchange-interval-input:focus-within { border-color: #88b5f4; box-shadow: 0 0 0 4px rgb(37 99 235 / 7%); background: #fff; }
.exchange-monitor-field .exchange-interval-input input { height: 48px; min-height: 0; border: 0; background: transparent; box-shadow: none; }
.exchange-interval-input em { color: var(--muted); }
.exchange-monitor-controls { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr) minmax(430px, 1.35fr); gap: 20px; }
.exchange-monitor-field small { color: #596d87; font-size: 10px; }
.exchange-monitor-state, .exchange-state { padding: 15px 18px; color: #566d8b; border: 1px solid #e0eaf7; border-radius: 11px; background: #f6faff; font-size: 12px; line-height: 1.7; }
.exchange-state.error { color: #9e5564; border-color: #f2d8df; background: #fff7f8; }
.exchange-monitor-card { padding: 16px; }
.exchange-monitor-card-title { color: #3d628e; }
.exchange-monitor-card-rate { color: #326cae; font-variant-numeric: tabular-nums; }
.exchange-history-panel, .exchange-rate-panel { margin-top: 24px; padding: 27px 28px; }
.exchange-base-badge { color: #4f6d94; border: 1px solid #dbe7f7; border-radius: 8px; background: #f3f8ff; font-size: 10px; }
.exchange-rate-table th { padding: 16px 18px; color: #566d8a; border-bottom: 1px solid var(--line); background: #f8fafd; font-size: 11px; font-weight: 550; }
.exchange-rate-table td { padding: 19px 18px; color: #506e8f; border-bottom: 1px solid #edf2f8; font-size: 13px; }
.exchange-rate-table tbody tr { transition: background-color 180ms; }
.exchange-rate-table tbody tr:hover { background: #f8fbff; }
.exchange-rate-table td strong { color: #315b8b; font-weight: 650; }
.exchange-rate-value { color: #315e98; font-weight: 700; font-variant-numeric: tabular-nums; }
.exchange-currency-meta, .exchange-rate-table small { color: #596d88; }
.exchange-more-button { min-height: 46px; color: #4d6d96; border: 1px solid #e0e9f6; border-radius: 10px; background: #f9fbfe; font-size: 12px; }
.exchange-more-button:hover { color: var(--air-blue); background: #f0f6ff; }
.mypage-page { background: none; }
.mypage-hero { min-height: 230px; padding: 30px 10px 40px; color: var(--air-navy); }
.mypage-hero h1 { margin-top: 14px; color: #234665; font-size: clamp(32px, 3.5vw, 43px); font-weight: 720; letter-spacing: -.05em; }
.mypage-hero p { margin-top: 13px; color: #576d88; font-size: 14px; line-height: 1.8; }
.mypage-kicker { color: #556d8d; font-size: 9px; letter-spacing: .15em; }
.mypage-kicker > span { background: #85aade; }
.mypage-hero-index { gap: 23px; padding-right: 45px; color: #536d8f; }
.mypage-hero-index > .ui-icon { width: 88px; height: 88px; stroke-width: .8; }
.mypage-hero-index > span { color: #546d8e; font-size: 10px; letter-spacing: .16em; line-height: 1.8; }
.mypage-profile-zone, .mypage-tools-zone, .mypage-guide-zone, .mypage-notification-help, .mypage-danger-zone { margin-top: 22px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: none; }
.mypage-page h2 { color: #35587f; font-weight: 700; letter-spacing: -.03em; }
.mypage-page h3 { color: #4b6d95; }
.mypage-page p, .mypage-page li, .mypage-tools-intro, .mypage-setting-copy span { color: #586d89; }
.mypage-tools-badge, .profile-zone-badge, .danger-zone-badge { color: #536d8e; border-color: #dce7f5; background: #f6faff; border-radius: 6px; }
.mypage-setting-icon { color: #476da1; border: 1px solid #deebfa; border-radius: 10px; background: #f3f8ff; }
.mypage-setting-row { border-color: #e8eef7; }
.mypage-setting-button, .profile-refresh-button { color: #3b6dab; border: 1px solid #d5e3f7; border-radius: 10px; background: #f2f7ff; box-shadow: none; }
.mypage-setting-button:hover, .profile-refresh-button:hover { background: #e7f0ff; }
.guide-topic-card { border: 1px solid #e1eaf6; border-radius: 12px; background: #fbfcff; box-shadow: none; }
.guide-topic-card:hover { border-color: #b2ccf1; background: #f3f8ff; transform: translateY(-2px); }
.guide-topic-number, .guide-topic-arrow, .guide-topic-copy > span { color: #546d8d; }
.guide-topic-copy > strong { color: #46668f; }
.mypage-danger-zone { border-color: #eedfe4; }
.mypage-danger-zone .mypage-kicker { color: #78667c; }
.mypage-danger-zone h2 { color: #915d6d; }
.danger-zone-badge { color: #7e637b; border-color: #f0dce4; background: #fff8fa; }
.danger-zone-button { min-height: 44px; color: #9e556f; border: 1px solid #edd5df; border-radius: 10px; background: #fff5f8; box-shadow: none; }
.danger-zone-button:hover { color: #a23e5b; background: #fcebf1; }

/* Tooltips, feedback and dialogs share one motion and focus language. */
@keyframes popover-appear { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
@keyframes feedback-appear { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ui-tooltip, .source-info-tooltip, .chart-tooltip { z-index: 10020; max-width: min(300px, calc(100vw - 24px)); padding: 10px 13px; color: #f4f8ff; border: 1px solid #284971; border-radius: 10px; background: #244163; box-shadow: 0 8px 22px rgb(25 53 90 / 16%); font-family: var(--sans); font-size: 11px; font-weight: 450; line-height: 1.7; overflow-wrap: anywhere; animation: popover-appear 140ms var(--air-ease); pointer-events: none; }
.ui-tooltip { position: fixed; width: max-content; }
.source-info-tooltip::before { display: none; }
.chart-tooltip { z-index: 4; }
.toast-stack { z-index: 10050; gap: 10px; padding: 24px max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)); justify-content: flex-end; overflow-y: auto; }
.air-lens-toast { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 28px; gap: 12px; width: min(400px, 100%); padding: 16px 14px 18px 16px; overflow: auto; color: var(--air-navy); border: 1px solid #dde8f5; border-radius: 15px; background: #fff; box-shadow: 0 12px 40px rgb(25 53 90 / 16%); animation: feedback-appear 280ms var(--air-ease); }
.air-lens-toast.drop { border-color: #eddce1; }
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; color: #317670; border-radius: 10px; background: #eef9f4; }
.air-lens-toast.drop .toast-icon { color: #99586d; background: #fff0f3; }
.toast-icon .ui-icon { width: 17px; height: 17px; }
.toast-copy { min-width: 0; padding-top: 1px; }
.air-lens-toast strong { color: #355574; font-size: 12px; font-weight: 680; line-height: 1.6; }
.air-lens-toast .toast-copy > span { margin-top: 4px; color: #586d88; font-size: 11px; line-height: 1.65; }
.toast-dismiss { display: grid; place-items: center; width: 28px; height: 28px; padding: 6px; color: #596d86; border: 0; border-radius: 7px; background: transparent; }
.toast-dismiss:hover { color: #40628d; background: #f0f5fc; }
.toast-dismiss .ui-icon { width: 15px; height: 15px; }
.toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #83b6ac; transform-origin: left; }
.air-lens-toast.drop .toast-progress { background: #dea1af; }
.has-confirm-dialog { overflow: hidden; }
.confirm-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 30px; overflow: auto; color: var(--air-navy); border: 1px solid rgb(255 255 255 / 60%); border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgb(19 44 76 / 22%); }
.confirm-dialog[open] { animation: feedback-appear 260ms var(--air-ease); }
.confirm-dialog::backdrop, .user-guide-dialog::backdrop { background: rgb(24 47 77 / 28%); backdrop-filter: blur(5px); }
.confirm-dialog-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 21px; color: #466d9e; border: 1px solid #e1ebf8; border-radius: 15px; background: #f1f7ff; }
.is-destructive .confirm-dialog-icon { color: #945a74; border-color: #f3e0e7; background: #fff3f7; }
.confirm-dialog h2 { margin: 0; color: #2a4668; font-size: 21px; font-weight: 720; letter-spacing: -.035em; line-height: 1.4; }
.confirm-dialog p { margin: 12px 0 25px; color: #586d87; font-size: 13px; line-height: 1.8; word-break: keep-all; }
.confirm-dialog-actions { display: flex; gap: 10px; }
.confirm-dialog-actions button { flex: 1; min-height: 46px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; font-size: 13px; font-weight: 600; }
.confirm-cancel { color: #556d8c; background: #f7f9fc; }
.confirm-accept { color: #fff; border-color: var(--air-blue) !important; background: var(--air-blue); }
.is-destructive .confirm-accept { border-color: #b14d69 !important; background: #b14d69; }
.confirm-cancel:hover { background: #edf3fb; }
.confirm-accept:hover { filter: brightness(.95); }
.lookup-overlay { z-index: 65; right: 25px; bottom: 25px; }
.lookup-overlay-card { width: min(350px, 100%); padding: 20px; color: #446b9a; border: 1px solid #d9e7f8; border-radius: 18px; background: #fff; box-shadow: var(--air-shadow-raised); animation: feedback-appear 260ms var(--air-ease); }
.lookup-flight-stage { border-radius: 12px; background: #eef5ff; }
.lookup-plane { display: block; color: #406da9; }
.lookup-plane .ui-icon { width: 25px; height: 25px; transform: rotate(35deg); }
.lookup-copy strong { color: #365b87; font-size: 13px; }
.lookup-copy > span { color: #556d8c; font-size: 11px; }
.welcome-guide { color: #486587; border: 1px solid #d8e6f8; border-radius: 20px; background: #fff; box-shadow: var(--air-shadow-raised); }
.welcome-guide h2 { color: #355b8c; }
.welcome-guide p { color: #586d88; }
.welcome-guide-kicker { color: #526d91; }
.welcome-guide-close, .user-guide-close, .pwa-guide-close { color: #586d8a; border-color: #e0e9f6; border-radius: 9px; background: #f6f9fe; }
.welcome-guide-action { color: #fff; border-radius: 10px; background: var(--air-blue); }
.user-guide-dialog, .pwa-guide-dialog { color: #436486; border: 1px solid #dfebf9; border-radius: 22px; background: #fff; box-shadow: var(--air-shadow-raised); }
.user-guide-dialog[open] { animation: guide-fade 240ms var(--air-ease); }
@keyframes guide-fade { from { opacity: 0; } to { opacity: 1; } }
.user-guide-dialog::backdrop { background: rgb(24 47 77 / 30%); backdrop-filter: blur(5px); }
.user-guide-header h2, .user-guide-step h3, .pwa-guide-dialog h2 { color: #365c8b; }
.user-guide-header > div > span, .user-guide-step > span { color: #536c8d; }
.user-guide-summary, .user-guide-step > p { color: #566d8a; }
.user-guide-figure { border: 1px solid #e1ebf8; border-radius: 14px; background: #f6f9fd; }
.user-guide-progress button, .user-guide-progress span { border-radius: 4px; }
.user-guide-actions { border-color: #e1ebf8; }
.user-guide-actions button { color: #506d92; border-color: #d9e7f9; border-radius: 9px; background: #f5f9ff; }
.user-guide-actions #userGuideTry, .user-guide-actions #userGuideNext { color: #fff; border-color: var(--air-blue); background: var(--air-blue); }
.pwa-guide-overlay { inset: 0; width: min(450px, calc(100% - 30px)); height: fit-content; max-height: calc(100dvh - 30px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 22px; background: transparent; }
.pwa-guide-overlay::backdrop { background: rgb(24 47 77 / 28%); backdrop-filter: blur(5px); }
.pwa-guide-overlay .pwa-guide-dialog { max-height: calc(100dvh - 30px); }
#pwaGuideCopyButton { margin-top: 16px; }
.pwa-guide-dialog { animation: feedback-appear 220ms var(--air-ease); }
.pwa-guide-steps li, .pwa-guide-note { color: #556d8c; }

/* HeroUI islands inherit the same tokens as the surrounding native controls. */
.air-lens-field-group { color: #42648c; border-color: #dce7f5; border-radius: 10px; background: #f8fafd; }
.air-lens-field-group[data-focus-within="true"] { border-color: #8bb4ed; box-shadow: 0 0 0 3px rgb(37 99 235 / 8%); }
.air-lens-field-group [data-slot="date-input-group-segment"][data-focused="true"] { background: var(--air-blue); }
.air-lens-picker-trigger { color: #4a6d9c; }
.air-lens-picker-trigger:hover, .air-lens-picker-trigger[data-hovered="true"] { background: #eaf3ff; }
.air-lens-picker-popover { --accent: #2563eb; --accent-foreground: #fff; --focus: #93b8f4; color: #365982; border: 1px solid #d9e6f8; border-radius: 16px; background: #fff; box-shadow: var(--air-shadow-raised); }
.air-lens-history-slider { --accent: #6c9fe7; --focus: #a5c4ef; }
.air-lens-history-slider-label, .air-lens-history-slider-output { color: #576d8a; }

/* Public guides and policy pages retain their semantic content and navigation. */
.policy-body { color: #426182; background: var(--air-surface); }
.policy-shell { width: min(calc(100% - 64px), 1100px); padding: 28px 0 50px; }
.policy-header { padding: 19px 24px; color: #3d5d84; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: none; }
.policy-brand { color: #355576; }
.policy-brand-mark { border: 1px solid var(--line); border-radius: 11px; box-shadow: none; }
.policy-brand-copy strong { color: #2c4a6e; }
.policy-brand-copy small { color: #576d89; letter-spacing: .015em; }
.policy-home-link { color: #4c6d98; border: 1px solid #dae7f8; border-radius: 9px; background: #f7faff; }
.policy-home-link:hover { color: var(--air-blue); background: #edf5ff; }
.policy-content { margin-top: 24px; padding: clamp(26px, 5vw, 60px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: none; }
.policy-content h1 { color: #244666; font-weight: 750; letter-spacing: -.045em; }
.policy-content h2 { color: #375c87; font-weight: 700; letter-spacing: -.03em; }
.policy-content p, .policy-content li { color: #566d8a; line-height: 1.95; }
.policy-kicker, .guide-directory small { color: #4d6d98; }
.policy-updated, .guide-byline { color: #576d89; }
.guide-directory { gap: 16px; }
.guide-directory a { padding: 23px; border-color: #e1eaf6; border-radius: 14px; background: #fbfcff; }
.guide-directory a:hover { border-color: #accbf4; background: #f2f7ff; transform: translateY(-2px); }
.guide-directory strong { color: #496c97; font-weight: 650; }
.guide-directory span { color: #566d89; }
.guide-table th, .guide-table td { border-color: #e4ecf7; }
.guide-table th { color: #4f6d92; background: #f5f9ff; }
.site-footer { max-width: var(--page-max-width); min-height: 120px; margin: 0 auto; padding: 27px 42px 35px; gap: 30px; color: #596d88; border-top: 1px solid #e0e8f3; background: none; }
.footer-brand { display: flex; align-items: center; gap: 23px; }
.footer-brand > strong { color: #395c89; font-size: 25px; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.footer-brand > span { color: #596d89; font-size: 10px; line-height: 1.9; }
.footer-brand small { display: block; color: #596c87; font-size: 9px; }
.site-footer nav { gap: 10px 20px; justify-content: flex-end; }
.site-footer a { color: #586d88; font-size: 10px; font-weight: 450; }
.site-footer a:hover { color: var(--air-blue); }

@media (min-width: 1400px) {
  .travel-hero { min-height: 394px; }
}
@media (min-width: 1200px) {
  .search-quick-routes { position: absolute; top: 72px; right: 30px; margin: 0; }
}
@media (max-width: 1199px) {
  .exchange-monitor-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .exchange-monitor-action-group { grid-column: 1 / -1; }
  .sidebar { padding: 0 28px; gap: 18px; }
  .public-nav { display: none; }
  .content-wrap, .exchange-page, .mypage-content { padding-right: 28px; padding-left: 28px; }
  .topbar { padding-right: 32px; padding-left: 32px; }
  .public-intro.travel-hero { padding: 40px 36px 62px; min-height: 352px; }
  .public-intro h1 { font-size: 39px; }
  .hero-flight-note { display: none; }
  #watchComposer #monitorForm > .location-grid { grid-column: 1 / span 12; grid-row: 1; }
  #watchComposer #monitorForm > .range-control { grid-column: 1 / span 6; grid-row: 2; }
  #watchComposer #monitorForm > .range-control[data-range-picker="return"] { grid-column: 7 / span 6; }
  #watchComposer #monitorForm > .form-group { grid-column: 1 / span 2; grid-row: 3; }
  #watchComposer #monitorForm > .interval-group { grid-column: 3 / span 3; grid-row: 3; }
  #watchComposer #monitorForm > .monitor-control-row { grid-column: 6 / span 4; grid-row: 3; }
  #watchComposer #monitorForm > #lookupButton { grid-column: 10 / span 3; grid-row: 3; }
  .range-summary { min-height: 67px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
  .metric-card { padding: 20px; }
  .metric-value { font-size: 27px; }
  .metric-value.small { font-size: 22px; }
  .exchange-watch-composer .exchange-page-hero { padding: 22px; }
  .exchange-hero-route strong { font-size: 18px; }
  .exchange-live-card { gap: 12px; }
}
@media (max-width: 899px) {
  .sidebar { height: 78px; padding: 0 24px; gap: 18px; }
  .brand-caption { display: none; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-name { font-size: 18px; }
  .product-nav { margin-right: 0; margin-left: auto; }
  .product-nav-link { min-width: 100px; min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .auth-user { max-width: 85px; font-size: 11px; }
  .kakao-login-button, .logout-button { padding: 0 11px; }
  .profile-area { gap: 8px; }
  .content-wrap, .exchange-page, .mypage-content { padding: 0 24px 48px; }
  .air-awaiting-search .watch-composer { margin-right: 12px; margin-left: 12px; }
  #watchComposer .new-watch-stage > .search-panel { padding: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-column { display: block; }
  .source-status-panel { margin-top: 0; }
  .search-panel-dock:empty { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .source-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step { padding: 0 20px; }
  .journey-step > strong { font-size: 15px; }
  .journey-step p br { display: none; }
  .exchange-pass { width: 230px; padding: 23px; }
  .exchange-pass strong { font-size: 29px; }
  .exchange-watch-composer .exchange-page-hero { grid-template-columns: 1fr 1fr; gap: 20px; }
  .exchange-page-heading { grid-column: 1 / -1; }
  .exchange-hero-route { justify-content: flex-start; }
  .exchange-live-card { justify-self: end; }
  .exchange-monitor-controls { grid-template-columns: 1fr 1fr; }
  .exchange-monitor-action-group { grid-column: 1 / -1; }
  .site-footer { padding: 26px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 660px) {
  html { scroll-padding-top: 136px; }
  .sidebar { height: auto; min-height: 120px; padding: 16px 18px 10px; display: grid; grid-template-columns: 1fr auto; gap: 14px; }
  .brand-lockup { grid-column: 1; grid-row: 1; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .brand-name { font-size: 17px; }
  .sidebar-bottom { grid-column: 2; grid-row: 1; }
  .profile-area { gap: 6px; }
  .profile-link { gap: 6px; }
  .auth-avatar { width: 28px; height: 28px; }
  .auth-user { max-width: 85px; font-size: 11px; }
  .auth-controls { gap: 0; }
  .kakao-login-button, .logout-button { min-height: 34px; padding: 0 10px; border-radius: 9px; font-size: 10px; }
  .product-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; padding: 4px; border-radius: 12px; }
  .product-nav-link { width: 50%; min-height: 36px; padding: 8px; border-radius: 9px; font-size: 12px; }
  .product-nav-link .ui-icon { width: 16px; height: 16px; }
  .topbar { height: 43px; min-height: 43px; padding: 0 20px; }
  .topbar-greeting { gap: 6px; font-size: 10px; }
  .topbar-greeting .ui-icon { width: 13px; height: 13px; }
  .topbar-date { font-size: 9px; }
  .content-wrap, .exchange-page, .mypage-content { padding: 0 14px 36px; }
  .public-intro.travel-hero { min-height: 292px; padding: 29px 24px 42px; border-radius: 20px; }
  .travel-hero-image { object-position: 66% center; }
  .travel-hero::before { background: linear-gradient(90deg, rgb(236 247 255 / 94%), rgb(236 247 255 / 76%) 58%, rgb(236 247 255 / 30%)); }
  .public-intro p.hero-kicker { margin-bottom: 19px; font-size: 7px; letter-spacing: .17em; }
  .public-intro h1 { font-size: clamp(26px, 6.8vw, 36px); line-height: 1.32; letter-spacing: -.055em; }
  .public-intro p.hero-description { margin-top: 15px; font-size: 11px; line-height: 1.85; }
  .public-intro .hero-guide-link { margin-top: 19px; gap: 9px; font-size: 10px; }
  .hero-guide-link .ui-icon { width: 13px; height: 13px; }
  .air-awaiting-search .watch-composer { margin: -20px 6px 26px; }
  .watch-composer { margin: 15px 0 25px; border-radius: 17px; }
  #watchComposer .new-watch-stage > .search-panel { padding: 20px 17px 14px; border-radius: 17px; }
  .search-panel-top .eyebrow { gap: 5px; font-size: 7px; letter-spacing: .1em; }
  .search-panel-top .ui-icon { width: 12px; height: 12px; }
  .guide-shortcut { font-size: 9px; }
  .search-panel h2 { margin-top: 11px; font-size: 21px; }
  .search-panel .panel-intro { margin-top: 5px; font-size: 10px; line-height: 1.7; }
  .search-quick-routes { margin-top: 14px; gap: 5px; }
  .search-quick-routes > span { margin-right: 2px; font-size: 9px; }
  .search-quick-routes button { padding: 5px 9px; min-height: 30px; font-size: 10px; border-radius: 7px; }
  #watchComposer #monitorForm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; margin-top: 18px; }
  #watchComposer #monitorForm > .location-grid { grid-column: 1 / -1; grid-row: 1; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); gap: 3px; }
  .form-group label { margin-bottom: 7px; font-size: 10px; }
  .number-input-wrap input, .input-with-icon input { height: 48px; min-height: 48px; padding-right: 10px; border-radius: 9px; font-size: 12px; }
  .input-with-icon input { padding-left: 27px; text-overflow: ellipsis; }
  .input-pin { left: 9px; font-size: 13px; }
  .swap-button { width: 26px; min-width: 26px; height: 44px; padding: 5px; margin: 0 0 2px; }
  .swap-button .ui-icon { width: 16px; height: 16px; }
  #watchComposer #monitorForm > .range-control { grid-column: 1; grid-row: 2; }
  #watchComposer #monitorForm > .range-control[data-range-picker="return"] { grid-column: 2; }
  .range-summary { min-height: 83px; padding: 10px; gap: 2px; border-radius: 10px; }
  .range-summary-copy { gap: 6px; }
  .range-summary-copy small { font-size: 9px; }
  .range-summary-copy strong { font-size: 11px; line-height: 1.65; }
  .range-summary-chevron { font-size: 14px; }
  #watchComposer #monitorForm > .form-group { grid-column: 1; grid-row: 3; }
  #watchComposer #monitorForm > .interval-group { grid-column: 2; grid-row: 3; }
  .input-help { font-size: 9px; line-height: 1.7; }
  #watchComposer #monitorForm > .monitor-control-row { grid-column: 1; grid-row: 4; margin: 0; }
  #watchComposer #monitorForm > #lookupButton { grid-column: 2; grid-row: 4; margin: 0; }
  .primary-button, .secondary-button, .pause-button { min-height: 48px; padding: 11px 12px; font-size: 11px; border-radius: 10px; }
  #lookupButton { gap: 7px; }
  #lookupButton .button-arrow { display: none; }
  #lookupButton .ui-icon { width: 15px; height: 15px; }
  #lookupButton .button-label { text-align: center; }
  .search-assurance { gap: 6px 12px; margin-top: 14px; padding-top: 12px; font-size: 8px; }
  .search-assurance > span:nth-child(2) { display: none; }
  .search-assurance a { font-size: 8px; }
  .range-popover { position: fixed; top: auto; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: auto; min-width: 0; max-height: calc(100dvh - 145px); padding: 22px 18px 18px; border-radius: 20px; transform: none; box-shadow: 0 -10px 60px rgb(25 53 90 / 20%), 0 0 0 100vmax rgb(22 45 73 / 20%); }
  .range-popover .date-grid { grid-template-columns: 1fr; gap: 15px; }
  .range-popover-close { width: 100%; min-height: 44px; }
  #watchComposer .route-banner { padding: 20px; grid-template-columns: 1fr 1fr; gap: 15px; border-radius: 17px 17px 0 0; }
  .route-flag { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .route-flag b { margin: 0; }
  .route-point { grid-template-rows: auto minmax(56px, auto) auto; gap: 7px; }
  .route-point strong { font-size: 22px; }
  .route-point small { font-size: 11px; }
  .route-flight-line { margin: 0; }
  .route-meta { margin-top: 0; font-size: 10px; }
  .monitor-list-section { margin-top: 25px; padding: 20px 17px; border-radius: 17px; }
  .section-heading-row h2, .panel-heading h2 { font-size: 18px; }
  .eyebrow, .eyebrow.compact { font-size: 8px; }
  .monitor-list-intro, .source-section-intro { font-size: 11px; }
  .monitor-list-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
  .add-monitor-button { min-height: 36px; padding: 8px 10px; font-size: 10px; }
  .monitor-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .monitor-card-select { padding: 20px; }
  .monitor-card-route { font-size: 20px; }
  .monitor-alert-preferences { padding: 14px 20px; }
  .monitor-list-empty { padding: 19px 14px; font-size: 11px; }
  .metrics-grid { gap: 10px; margin-top: 18px; }
  .metric-card { min-height: 124px; padding: 17px 15px; border-radius: 14px; }
  .metric-head { font-size: 10px; }
  .metric-value { font-size: 23px; }
  .metric-value.small { font-size: 20px; }
  .metric-foot { font-size: 9px; }
  .dashboard-grid { gap: 18px; margin-top: 18px; }
  .history-panel, .activity-panel, .source-status-panel { padding: 21px 17px; border-radius: 17px; }
  .panel-heading { margin-bottom: 19px; }
  .history-panel .panel-heading, .exchange-history-panel .panel-heading { flex-direction: column; gap: 20px; }
  .chart-tools { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
  .history-slider-mount { width: auto; min-width: 0; }
  .chart-legend { white-space: nowrap; font-size: 9px; }
  .chart-wrap { height: 210px; grid-template-columns: 52px minmax(0, 1fr); }
  .chart-y-axis-labels, .chart-footer { font-size: 9px; }
  .source-section { margin-top: 25px; }
  .source-cards { grid-template-columns: 1fr; gap: 12px; }
  .source-card { padding: 20px; border-radius: 16px; }
  .source-price { font-size: 28px; }
  .text-button { min-height: 38px; padding: 8px 10px; font-size: 10px; }
  .source-info { min-width: 30px; min-height: 30px; }
  .first-visit-guide { grid-template-columns: 1fr; gap: 0; margin: 30px 6px; }
  .journey-step, .journey-step:first-child { display: grid; grid-template-columns: 40px 1fr; gap: 0 15px; padding: 21px 5px; border: 0; border-bottom: 1px solid var(--line); }
  .journey-step-icon { grid-row: 1 / span 4; margin: 0; }
  .journey-step > small { align-self: start; padding-top: 1px; font-size: 7px; }
  .journey-step > strong { margin-top: 7px; font-size: 15px; }
  .first-visit-guide .journey-step p { margin-top: 7px; font-size: 11px; }
  .journey-step a { grid-column: 2; margin-top: 6px; font-size: 10px; }
  .public-practice { margin-top: 25px; padding-top: 0; border: 0; }
  .public-practice h2 { font-size: 20px; }
  .public-practice > p { font-size: 10px; }
  .public-practice-links { grid-template-columns: 1fr; gap: 10px; }
  .public-practice-links a { padding: 20px; }
  .public-practice-links a strong { font-size: 13px; }
  .public-practice-links a span { font-size: 10px; }
  .service-intro { min-height: 0; padding: 20px 10px 28px; }
  .service-intro h1 { margin-top: 10px; font-size: 29px; }
  .service-intro p:not(.eyebrow) { margin-top: 11px; font-size: 12px; }
  .mobile-break { display: initial; }
  .exchange-pass { display: none; }
  .service-intro .public-intro-links { margin-top: 14px; gap: 8px 18px; }
  .public-intro-links a { font-size: 10px; }
  .exchange-watch-composer { border-radius: 17px; }
  .exchange-watch-composer .exchange-page-hero { grid-template-columns: 1fr; padding: 20px; gap: 18px; border-radius: 17px 17px 0 0; }
  .exchange-page-heading { grid-column: 1; }
  .exchange-page-kicker { font-size: 8px; }
  .exchange-hero-route { width: 100%; justify-content: center; gap: 14px; }
  .exchange-hero-route strong { font-size: 20px; }
  .exchange-live-card { display: flex; flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
  .exchange-live-copy { min-width: 0; }
  .exchange-live-copy strong { font-size: 10px; }
  .exchange-live-top { font-size: 9px; }
  .exchange-refresh-button { min-height: 41px; padding: 9px 13px; font-size: 10px; }
  .exchange-watch-composer .exchange-monitor-panel { padding: 22px 18px; border-radius: 0 0 17px 17px; }
  .exchange-monitor-heading { gap: 12px; }
  .exchange-monitor-heading h2 { font-size: 19px; }
  .exchange-rate-intro { font-size: 11px; }
  .exchange-monitor-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 12px; }
  .exchange-monitor-field { min-width: 0; }
  .exchange-monitor-field select, .exchange-monitor-field input { width: 100%; font-size: 12px; }
  .exchange-monitor-action-group { grid-column: 1 / -1; }
  .exchange-monitor-state, .exchange-state { padding: 14px; font-size: 10px; }
  .exchange-monitor-cards { grid-template-columns: 1fr; }
  .exchange-monitor-card { padding: 16px; }
  .exchange-history-panel, .exchange-rate-panel { margin-top: 18px; padding: 23px 18px; border-radius: 17px; }
  .exchange-rate-heading { gap: 14px; }
  .exchange-rate-heading h2 { font-size: 19px; }
  .exchange-base-badge { padding: 6px 8px; font-size: 8px; }
  .exchange-rate-table th, .exchange-rate-table td { padding: 16px 9px; font-size: 11px; }
  .exchange-rate-table td strong { font-size: 12px; }
  .exchange-rate-table-wrap { margin-right: -5px; margin-left: -5px; }
  .exchange-more-button { font-size: 11px; }
  .mypage-hero { min-height: 0; padding: 24px 10px 30px; }
  .mypage-hero h1 { margin-top: 13px; font-size: 32px; }
  .mypage-hero p { font-size: 12px; line-height: 1.8; }
  .mypage-hero-index { display: none; }
  .mypage-profile-zone, .mypage-tools-zone, .mypage-guide-zone, .mypage-notification-help, .mypage-danger-zone { margin-top: 18px; padding: 23px 20px; border-radius: 17px; }
  .guide-topic-list { gap: 10px; }
  .guide-topic-card { padding: 16px; }
  .mypage-setting-row { gap: 12px; }
  .mypage-setting-button { grid-column: 2; justify-self: start; margin-top: 7px; }
  .toast-stack { padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
  .air-lens-toast { width: 100%; grid-template-columns: 28px minmax(0, 1fr) 26px; gap: 9px; padding: 14px 11px 16px 14px; border-radius: 13px; }
  .toast-icon { width: 28px; height: 28px; border-radius: 8px; }
  .air-lens-toast strong { font-size: 11px; }
  .air-lens-toast .toast-copy > span { font-size: 10px; }
  .confirm-dialog { padding: 26px; border-radius: 20px; }
  .confirm-dialog h2 { font-size: 20px; }
  .lookup-overlay { right: 14px; bottom: max(16px, env(safe-area-inset-bottom)); left: 14px; }
  .lookup-overlay-card { width: 100%; padding: 17px; }
  .welcome-guide { border-radius: 17px; }
  .user-guide-dialog { border-radius: 18px; }
  .policy-shell { width: calc(100% - 28px); padding: 14px 0 35px; }
  .policy-header { padding: 16px; gap: 12px; border-radius: 14px; }
  .policy-home-link { font-size: 10px; }
  .policy-content { margin-top: 17px; padding: 25px 22px; border-radius: 17px; }
  .policy-content h1 { font-size: 27px; }
  .policy-content p, .policy-content li { font-size: 13px; }
  .guide-directory { grid-template-columns: 1fr; gap: 12px; }
  .guide-directory a { padding: 20px; }
  .site-footer { min-height: 160px; padding: 25px 23px 30px; gap: 23px; }
  .footer-brand { gap: 20px; }
  .footer-brand > strong { font-size: 23px; }
  .footer-brand > span { font-size: 9px; }
  .site-footer nav { gap: 12px 18px; }
  .site-footer a { font-size: 9px; }
}
@media (max-width: 359px) {
  .sidebar { padding-right: 14px; padding-left: 14px; }
  .auth-user { max-width: 60px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 15px; }
  .content-wrap, .exchange-page, .mypage-content { padding-right: 10px; padding-left: 10px; }
  .public-intro.travel-hero { padding-right: 20px; padding-left: 20px; }
  .public-intro h1 { font-size: 25px; }
  #watchComposer .new-watch-stage > .search-panel { padding-right: 13px; padding-left: 13px; }
  .guide-shortcut { font-size: 8px; }
  .search-quick-routes { gap: 4px; }
  .search-quick-routes button { padding-right: 7px; padding-left: 7px; }
  .primary-button, .secondary-button, .pause-button { padding: 10px 8px; font-size: 10px; }
  .range-summary { padding: 9px; }
  .range-summary-copy strong { font-size: 10px; }
  .input-with-icon input { padding-left: 23px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .toast-progress { display: none; }
  .public-practice-links a:hover, .guide-topic-card:hover, .guide-directory a:hover { transform: none; }
}
