:root {
  --purple: #1b0732;
  --purple-deep: #120321;
  --violet: #7c4cf2;
  --violet-deep: #6633d7;
  --violet-wash: #f0eaff;
  --surface: #e4e5ea;
  --card: #ffffff;
  --ink: #2d2e38;
  --muted: #7e808c;
  --muted-deep: #5f616d;
  --line: #d8d8e2;
  --green: #24b485;
  --green-wash: #e5f8f1;
  --coral: #ed6c73;
  --coral-wash: #ffe7e8;
  --blue: #4285f4;
  --naver: #03c75a;
  --nol: #f15b75;
  --page-max-width: 1760px;
  --display: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --card-shadow: 0 14px 34px rgba(42, 35, 65, 0.1);
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .56; }
[hidden] { display: none !important; }

.app-shell { width: 100%; max-width: var(--page-max-width); min-height: 100vh; margin: 0 auto; background: var(--surface); }

.sidebar {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 88px;
  padding: 0 clamp(22px, 4vw, 58px);
  display: flex;
  align-items: center;
  gap: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 81% -100%, rgba(145, 91, 255, .43), transparent 34%),
    linear-gradient(105deg, var(--purple-deep), var(--purple) 58%, #250746);
  overflow: hidden;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: radial-gradient(rgba(255,255,255,.35) .65px, transparent .65px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.brand-lockup, .sidebar-bottom { position: relative; z-index: 1; }
.brand-lockup { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #8e5bff, #6334d4);
  box-shadow: 0 7px 18px rgba(106, 57, 213, .35);
  font-size: 18px;
  line-height: 1;
}
.brand-name { margin: 0; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.brand-caption { margin: 5px 0 0; color: #a998bf; font-size: 12px; letter-spacing: .08em; line-height: 1; }
.product-nav { position: relative; z-index: 1; margin-left: auto; margin-right: auto; padding: 3px; display: flex; align-items: center; gap: 3px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.06); }
.product-nav-link { min-width: 92px; padding: 8px 16px; color: #b8a8c8; border-radius: 9px; font-size: 13px; font-weight: 700; line-height: 1; text-align: center; text-decoration: none; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.product-nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.product-nav-link.is-active { color: #fff; background: linear-gradient(135deg, rgba(142,91,255,.8), rgba(99,52,212,.82)); box-shadow: 0 5px 13px rgba(18,3,33,.2); }
.sidebar-rule { display: none; }

.sidebar-bottom { margin-left: auto; }
.account-card { width: max-content; min-width: 0; max-width: 100%; padding: 7px 12px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.08); }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.account-kicker { color: #a998bf; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.account-state { color: #6ff0bf; font-size: 11px; font-weight: 700; }
.account-content { display: flex; align-items: center; gap: 12px; }
.alert-actions { display: flex; align-items: center; gap: 5px; }
.profile-alert-button { position: relative; width: 38px; min-width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0; overflow: hidden; color: #d9cceb; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 700; transition: width .2s ease, min-width .2s ease, padding .2s ease, gap .2s ease, color .2s ease, background .2s ease; }
.profile-alert-button:hover, .profile-alert-button:focus-visible { width: 106px; min-width: 106px; padding: 0 11px; gap: 6px; color: #fff; background: rgba(255,255,255,.14); }
.profile-alert-button.is-enabled { color: #fff; border-color: rgba(111,240,191,.5); background: rgba(111,240,191,.14); }
.profile-alert-button:disabled { cursor: not-allowed; }
.profile-alert-button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.alert-button-label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .2s ease, opacity .15s ease; }
.profile-alert-button:hover .alert-button-label, .profile-alert-button:focus-visible .alert-button-label { max-width: 64px; opacity: 1; }
.profile-alert-button .notification-indicator { top: 4px; right: 4px; width: 4px; height: 4px; }
.profile-alert-button.is-enabled .notification-indicator { background: #6ff0bf; box-shadow: 0 0 0 3px rgba(111,240,191,.14); }
.kakao-alert-glyph { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; color: #191600; border-radius: 50%; background: #fee500; font-size: 0; }
.kakao-alert-glyph svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.profile-area { min-width: 0; display: flex; align-items: center; gap: 8px; }
.auth-avatar { width: 30px; height: 30px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: linear-gradient(135deg, #8e5bff, #6334d4); font-size: 13px; font-weight: 800; }
.auth-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy { min-width: 0; display: flex; align-items: center; }
.auth-user { max-width: 180px; overflow: hidden; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.auth-controls { min-width: 0; display: flex; align-items: center; gap: 7px; }
.kakao-login-button, .logout-button { min-height: 32px; padding: 0 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.kakao-login-button { color: #191600; border-color: #fee500; background: #fee500; }
.kakao-login-button:hover { background: #ffed3b; }
.kakao-login-button:disabled { color: #b6aec2; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); cursor: not-allowed; }
.logout-button { color: #d6c9e2; background: rgba(255,255,255,.08); }
.logout-button:hover { color: #fff; background: rgba(255,255,255,.15); }

.main-content { position: relative; min-width: 0; min-height: calc(100vh - 88px); background: var(--surface); }
.is-booting .page-view { visibility: hidden; }
.page-view.is-page-entering { animation: page-slide-in .38s cubic-bezier(.22,.61,.36,1) both; }
.topbar {
  position: relative;
  z-index: 2;
  height: 56px;
  padding: 0 clamp(22px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c7b9d3;
  border-top: 1px solid rgba(255,255,255,.08);
  background: var(--purple);
}
.topbar-date { color: #aa9aba; font-size: 12px; letter-spacing: .06em; }
.icon-button { position: relative; width: 30px; height: 30px; padding: 6px; color: #fff; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; background: rgba(255,255,255,.08); }
.icon-button:hover { background: rgba(255,255,255,.15); }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notification-indicator { position: absolute; top: 4px; right: 4px; width: 5px; height: 5px; border-radius: 50%; background: #8d829b; }
.icon-button[aria-pressed="true"] .notification-indicator { background: #6ff0bf; box-shadow: 0 0 0 3px rgba(111,240,191,.14); }

.content-wrap { position: relative; z-index: 1; max-width: var(--page-max-width); min-height: calc(100vh - 144px); padding: 28px clamp(22px, 4vw, 58px) 72px; margin: 0 auto; }
.content-wrap::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 185px; border-radius: 0 0 27px 27px; background: var(--purple); }
.exchange-page { position: relative; isolation: isolate; min-height: calc(100vh - 144px); padding: 28px clamp(22px, 4vw, 58px) 72px; background: var(--surface); overflow: hidden; }
.exchange-page::before { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 270px; content: ""; border-radius: 0 0 28px 28px; background: radial-gradient(circle at 81% -100%, rgba(145,91,255,.43), transparent 34%), linear-gradient(105deg, var(--purple-deep), var(--purple) 58%, #250746); }
.exchange-page::after { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 270px; content: ""; pointer-events: none; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.35) .65px, transparent .65px); background-size: 12px 12px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.exchange-page > * { position: relative; z-index: 1; }
.exchange-watch-composer { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 23px; background: #fff; box-shadow: 0 12px 30px rgba(8,2,22,.16); }
.exchange-watch-composer > * { position: relative; }
.exchange-watch-composer .exchange-page-hero { min-height: 120px; padding: 24px 30px; display: grid; grid-template-columns: minmax(170px, 1fr) minmax(360px, 1.3fr) minmax(280px, 1fr); grid-template-rows: 1fr; align-items: center; gap: 15px; border: 0; border-radius: 22px 22px 0 0; color: #fff; background: linear-gradient(110deg, #332047, #211132 58%, #2b1747); box-shadow: none; overflow: hidden; }
.exchange-page-hero::before { position: absolute; top: -188px; right: 16%; width: 360px; height: 360px; content: ""; border: 1px solid rgba(172,137,255,.22); border-radius: 50%; box-shadow: 0 0 0 22px rgba(172,137,255,.05), 0 0 0 48px rgba(172,137,255,.03); }
.exchange-page-heading { position: relative; z-index: 1; min-width: 0; align-self: start; }
.exchange-page-kicker i { width: 22px; height: 1px; flex: 0 0 22px; background: rgba(195,173,255,.5); }
.exchange-page-kicker span:last-child { color: #6ff0bf; }
.exchange-hero-route { position: relative; z-index: 1; min-width: 0; grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; gap: 11px; color: #c3adff; }
.exchange-hero-route strong { min-width: 0; overflow: hidden; font-size: 13px; letter-spacing: .16em; text-overflow: ellipsis; white-space: nowrap; }
.exchange-hero-route strong:last-child { text-align: right; }
.exchange-hero-route span { color: #a998bf; font-size: 10px; letter-spacing: .18em; white-space: nowrap; }
.exchange-hero-route i { width: 42px; height: 1px; flex: 1 1 70px; background: repeating-linear-gradient(to right, #886ea7 0 4px, transparent 4px 8px); }
.exchange-page-heading h1 { margin: 14px 0 10px; color: #fff; font-size: clamp(36px, 4vw, 56px); letter-spacing: -.065em; }
.exchange-page-heading p { max-width: 520px; margin: 0; color: #c7b8d5; font-size: 15px; line-height: 1.65; }
.exchange-live-card { min-width: 0; grid-column: 3; grid-row: 1; min-height: 72px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: stretch; gap: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.09); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.exchange-live-copy { min-width: 0; align-self: center; }
.exchange-live-top { display: flex; align-items: center; gap: 7px; color: #b9a9c8; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.exchange-live-top .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ff0bf; box-shadow: 0 0 0 4px rgba(111,240,191,.12); }
.exchange-live-card strong { display: block; margin-top: 8px; color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; }
.exchange-refresh-button { min-height: 46px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; align-self: stretch; gap: 5px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; white-space: nowrap; }
.exchange-refresh-button:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.17); }
.exchange-refresh-button:disabled { cursor: wait; opacity: .6; }
.exchange-watch-composer .exchange-monitor-panel { margin-top: 0; padding: 25px 30px 22px; border: 0; border-radius: 0 0 22px 22px; box-shadow: none; }
.exchange-monitor-heading { align-items: center; }
.exchange-monitor-count { padding: 7px 9px; color: #6633d7; border-radius: 999px; background: var(--violet-wash); font-size: 11px; font-weight: 700; white-space: nowrap; }
.exchange-monitor-controls { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, .9fr); gap: 12px; align-items: stretch; }
.exchange-monitor-field { min-width: 0; display: grid; grid-template-rows: auto 46px minmax(17px, auto); gap: 7px; color: #777985; font-size: 12px; font-weight: 700; }
.exchange-monitor-field select, .exchange-interval-input { width: 100%; height: 46px; border: 1px solid #cfced9; border-radius: 12px; background: #fafafd; }
.exchange-monitor-field select { padding: 0 12px; color: var(--ink); font-size: 13px; outline: none; }
.exchange-monitor-field select:focus { border-color: #9a77f0; box-shadow: 0 0 0 4px rgba(124,76,242,.11); }
.exchange-interval-input { display: flex; align-items: center; padding-right: 12px; }
.exchange-interval-input input { width: 100%; min-width: 0; height: 100%; padding: 0 12px; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 13px; }
.exchange-interval-input em { color: #858793; font-size: 12px; font-style: normal; white-space: nowrap; }
.exchange-monitor-field small { color: #9697a2; font-size: 11px; font-weight: 500; }
.exchange-monitor-action-group { min-width: 0; height: 46px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 8px; align-self: start; margin-top: 26px; }
.exchange-monitor-action-group .exchange-monitor-start { margin-top: 0; }
.exchange-monitor-start { width: 100%; min-width: 0; height: 46px; min-height: 46px; margin-top: 0; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.exchange-monitor-start.requires-login { box-shadow: 0 0 0 4px rgba(124,76,242,.12), 0 10px 20px rgba(124,76,242,.22); }
.exchange-monitor-action-group .exchange-monitor-pause { width: 100%; min-width: 0; min-height: 46px; height: 46px; padding: 0 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #777985; border: 1px solid #d8d7df; border-radius: 12px; background: #fff; font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.exchange-monitor-action-group .exchange-monitor-pause > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exchange-monitor-action-group .exchange-monitor-pause:hover { color: var(--ink); border-color: #b9a6ec; background: #f6f2ff; }
.exchange-monitor-action-group .exchange-monitor-refresh { width: 100%; height: 46px; min-height: 46px; margin-top: 0; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--violet-deep); border: 1px solid #d9cef5; border-radius: 13px; background: #fbf9ff; font-size: 12px; white-space: nowrap; }
.exchange-monitor-action-group .exchange-monitor-refresh .refresh-symbol { margin-right: 0; }
.exchange-monitor-cards { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 9px; }
.exchange-monitor-card { position: relative; min-width: 0; padding: 12px 13px 13px; color: var(--ink); border: 1px solid #e7e4ef; border-radius: 13px; background: #fbfaff; }
.exchange-monitor-card.is-selected { border-color: #a987ed; background: linear-gradient(135deg, #fff, #f4efff); box-shadow: 0 7px 16px rgba(124,76,242,.1); }
.exchange-monitor-card-select { width: 100%; padding: 0 26px 0 0; display: block; color: inherit; border: 0; background: transparent; text-align: left; }
.exchange-monitor-card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.exchange-monitor-card-name { min-width: 0; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.exchange-monitor-card-status { flex: 0 0 auto; padding: 4px 6px; color: #1b9d76; border-radius: 999px; background: var(--green-wash); font-size: 10px; font-weight: 700; }
.exchange-monitor-card-status.is-paused { color: #92929e; background: #f0f0f3; }
.exchange-monitor-card-rate { margin-top: 8px; color: var(--violet-deep); font-size: 16px; font-weight: 800; }
.exchange-monitor-card-meta { margin-top: 4px; color: #9697a2; font-size: 10px; }
.exchange-monitor-card-delete { position: absolute; z-index: 1; top: 9px; right: 8px; width: 22px !important; height: 22px; padding: 0; display: grid; place-items: center; color: #aaaab3; border: 0; border-radius: 6px; background: transparent; font-size: 12px; line-height: 1; text-align: center; }
.exchange-monitor-card-delete:hover { color: var(--coral); background: var(--coral-wash); }
.exchange-monitor-card-delete:disabled { cursor: wait; }
.exchange-monitor-card.is-collecting .exchange-monitor-card-delete { color: #b6afc0; }
.monitor-alert-preferences { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(138,116,177,.18); }
.monitor-alert-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #777985; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.monitor-alert-toggle { min-width: 0; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px; color: #8a72b4; border: 0; background: transparent; font-size: 9px; font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap; }
.monitor-alert-toggle:hover { color: var(--violet-deep); }
.monitor-alert-toggle b { position: relative; display: block; width: 11px; height: 11px; flex: 0 0 11px; font-size: 0; }
.monitor-alert-toggle b::before { position: absolute; top: 1px; left: 1px; width: 7px; height: 7px; content: ""; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.monitor-alert-toggle.is-expanded b::before { top: 4px; transform: rotate(225deg); }
.monitor-alert-options { margin-top: 5px; display: none; gap: 5px; }
.monitor-alert-preferences.is-expanded .monitor-alert-options { display: grid; }
.monitor-alert-row { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.monitor-alert-copy { min-width: 0; flex: 1 1 auto; }
.monitor-alert-title-row { min-width: 0; display: flex; align-items: center; gap: 8px; }
.monitor-alert-copy strong, .monitor-alert-copy > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-alert-copy strong { color: #666773; font-size: 10px; font-weight: 700; }
.monitor-alert-copy > span { margin-top: 2px; color: #9697a2; font-size: 9px; }
.monitor-alert-target { max-width: 175px; min-width: 0; margin: 0; display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.monitor-alert-target-input { width: 100%; height: 27px; min-width: 0; padding: 0 7px; color: var(--ink); border: 1px solid #d9d2e8; border-radius: 7px; background: #fff; font-size: 10px; outline: none; }
.monitor-alert-target-input:focus { border-color: #9a77f0; box-shadow: 0 0 0 3px rgba(124,76,242,.1); }
.monitor-alert-target em { color: #858793; font-size: 9px; font-style: normal; white-space: nowrap; }
.monitor-alert-switch { flex: 0 0 auto; width: 30px; height: 17px; margin-top: 1px; }
.monitor-alert-switch span::before { width: 11px; height: 11px; }
.monitor-alert-switch input:checked + span::before { transform: translateX(13px); }
.exchange-monitor-state { margin-top: 15px; color: #777985; font-size: 11px; line-height: 1.5; }
.exchange-monitor-state.is-error { color: var(--coral); }
.exchange-monitor-state.is-success { color: #1b9d76; }
.exchange-history-panel { margin-top: 20px; padding: 28px 30px 21px; }
.exchange-rate-panel { margin-top: 20px; padding: 28px 30px 24px; }
.exchange-rate-heading { align-items: center; }
.exchange-rate-intro { margin: 6px 0 0; color: #777985; font-size: 13px; line-height: 1.5; }
.exchange-base-badge { padding: 8px 11px; color: #6633d7; border-radius: 999px; background: var(--violet-wash); font-size: 11px; font-weight: 700; white-space: nowrap; }
.exchange-state { min-height: 0; margin-top: 14px; color: #777985; font-size: 12px; }
.exchange-state.is-ok { color: #1b9d76; }
.exchange-state.is-stale, .exchange-state.is-not_configured { color: #b97840; }
.exchange-state.is-error { color: var(--coral); }
.exchange-state.is-loading { color: #777985; }
.exchange-rate-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.exchange-rate-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.exchange-rate-table th { padding: 12px 14px; color: #858793; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-align: left; }
.exchange-rate-table th:nth-child(1) { width: 48%; }
.exchange-rate-table th:nth-child(2) { width: 15%; }
.exchange-rate-table th:nth-child(3) { width: 23%; text-align: right; }
.exchange-rate-table th:nth-child(4) { width: 14%; text-align: right; }
.exchange-rate-table td { padding: 13px 14px; color: var(--muted-deep); border-bottom: 1px solid #efedf3; font-size: 13px; vertical-align: middle; }
.exchange-rate-table tbody tr:hover { background: #fcfaff; }
.exchange-currency-identity { display: flex; align-items: center; gap: 10px; }
.exchange-currency-mark { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #fff; border-radius: 11px; background: linear-gradient(135deg, #8e5bff, #6334d4); font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 20px; line-height: 1; }
.exchange-currency-copy { min-width: 0; display: grid; gap: 3px; }
.exchange-currency-copy strong { overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.exchange-currency-copy small { color: #9697a2; font-size: 11px; }
.exchange-currency-code { color: #858793 !important; font-size: 12px !important; font-weight: 700; letter-spacing: .08em; }
.exchange-currency-rate { color: var(--ink) !important; font-size: 17px !important; font-weight: 800; letter-spacing: -.04em; text-align: right; white-space: nowrap; }
.exchange-currency-basis { color: #9697a2 !important; font-size: 11px !important; text-align: right; white-space: nowrap; }
.exchange-rate-empty { padding: 42px 14px !important; color: #9697a2 !important; text-align: center; }
.exchange-more-button { margin: 18px auto 0; padding: 10px 15px; display: block; color: var(--violet-deep); border: 1px solid #d9cef5; border-radius: 10px; background: #fbf9ff; font-size: 12px; font-weight: 700; }
.exchange-more-button:hover { border-color: #b9a4ee; background: var(--violet-wash); }
.exchange-rate-skeleton td { padding: 14px; }
.exchange-rate-skeleton td > span, .exchange-rate-skeleton td > i, .exchange-rate-skeleton td > b { display: block; height: 13px; border-radius: 999px; background: linear-gradient(90deg, #f0eef5, #faf9fc, #f0eef5); background-size: 220% 100%; animation: exchange-skeleton 1.3s ease infinite; }
.exchange-rate-skeleton td > span { width: 34%; }
.exchange-rate-skeleton td > i { width: 18%; margin-top: -13px; margin-left: 50%; }
.exchange-rate-skeleton td > b { width: 16%; margin-top: -13px; margin-left: 82%; }
@keyframes exchange-skeleton { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.eyebrow { display: flex; align-items: center; gap: 8px; color: #b2a4c2; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { width: 17px; height: 2px; border-radius: 2px; background: var(--violet); }
.eyebrow.compact { font-size: 11px; letter-spacing: .18em; }
h1, h2, p { margin-top: 0; }
h1 { margin: 16px 0 13px; color: #fff; font-size: clamp(35px, 4vw, 58px); font-weight: 600; letter-spacing: -.065em; line-height: .99; }
h1 em { color: #a779ff; font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: -.04em; }
.heading-copy { margin: 0; color: #b7a9c5; font-size: 14px; line-height: 1.75; }
.status-ring { position: relative; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #8e6ce4; border-radius: 50%; }
.status-ring::after { content: ""; position: absolute; inset: 3px; border: 1px dashed #9779ec; border-radius: 50%; animation: spin 9s linear infinite; }
.status-ring i { position: relative; z-index: 1; width: 5px; height: 5px; border-radius: 50%; background: #6ff0bf; }
.status-kicker { display: block; color: #a998bf; font-size: 11px; letter-spacing: .15em; }

.monitor-list-section { position: relative; margin-bottom: 18px; padding: 24px 26px 26px; border: 1px solid rgba(80,65,110,.12); border-radius: 20px; background: var(--card); box-shadow: var(--card-shadow); animation: reveal-up .55s .04s ease both; }
.monitor-list-heading { align-items: center; }
.monitor-list-section h2 { margin-top: 7px; }
.monitor-list-intro { margin: 5px 0 0; color: #777985; font-size: 13px; }
.monitor-list-actions { display: flex; align-items: center; gap: 9px; }
.monitor-count { color: #6f717e; font-size: 12px; font-weight: 700; white-space: nowrap; }
.add-monitor-button { padding: 10px 13px; display: inline-flex; align-items: center; gap: 5px; color: var(--violet-deep); border: 1px solid #d9cef5; border-radius: 10px; background: #fbf9ff; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.add-monitor-button span { color: var(--violet); font-size: 14px; line-height: .7; }
.add-monitor-button:hover { border-color: #b9a4ee; background: var(--violet-wash); transform: translateY(-1px); }
.add-monitor-button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.monitor-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 20px; }
.monitor-card { min-width: 0; position: relative; border: 1px solid #e8e6ee; border-radius: 14px; background: #fafafd; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.monitor-card:hover { border-color: #cdbcf3; box-shadow: 0 9px 22px rgba(42,35,65,.08); transform: translateY(-1px); }
.monitor-card.is-selected { border-color: #a987ed; background: linear-gradient(135deg, #fff, #f4efff); box-shadow: 0 8px 20px rgba(124,76,242,.12); }
.monitor-card-select { width: 100%; min-width: 0; padding: 16px 42px 15px 15px; display: block; color: var(--ink); border: 0; background: transparent; text-align: left; }
.monitor-card-select:focus-visible { outline: 2px solid var(--violet); outline-offset: -3px; border-radius: 13px; }
.monitor-card-top { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.monitor-card-label { overflow: hidden; color: #777985; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-overflow: ellipsis; white-space: nowrap; }
.monitor-card-status { flex: 0 0 auto; padding: 4px 6px; color: #1ba579; border-radius: 999px; background: var(--green-wash); font-size: 10px; font-weight: 700; white-space: nowrap; }
.monitor-card-status.is-paused, .monitor-card-status.is-empty { color: #94949f; background: #f0f0f3; }
.monitor-card-status.is-collecting { color: #7041d5; background: var(--violet-wash); }
.monitor-card-route { min-width: 0; margin-top: 10px; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.monitor-card-route span { padding: 0 5px; color: #b0a7bd; font-size: 13px; }
.monitor-card-meta { min-width: 0; margin-top: 6px; display: flex; align-items: center; gap: 6px; overflow: hidden; color: #777985; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.monitor-card-meta i { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: #c7c2d0; }
.monitor-card-price { margin-top: 10px; color: var(--violet-deep); font-size: 16px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.monitor-card-price.is-empty { color: #a4a4ae; }
.monitor-card-delete { position: absolute; z-index: 2; top: 10px; right: 9px; width: 22px; height: 22px; padding: 0; color: #aaaab3; border: 0; border-radius: 7px; background: transparent; font-size: 12px; line-height: 1; }
.monitor-card-delete:hover { color: var(--coral); background: var(--coral-wash); }
.monitor-card-delete:disabled { cursor: wait; }
.monitor-card.is-collecting .monitor-card-delete { color: #b6afc0; }
.monitor-card > .monitor-alert-preferences { margin: 0 15px 15px; }
.monitor-list-empty { margin-top: 14px; padding: 14px; color: #6f717e; border: 1px dashed #d0c9e0; border-radius: 12px; background: #fbfaff; font-size: 10px; line-height: 1.55; }
.new-watch-stage { position: relative; margin: 15px 0; }
.new-watch-stage > .search-panel { width: min(100%, 520px); margin: 0 auto; animation: reveal-up .55s .12s ease both; }
.search-panel-dock { min-width: 0; }
.right-column .search-panel-dock:not(:has(.search-panel)) { display: none; }
.watch-composer { min-width: 0; margin-bottom: 18px; }
.watch-composer.has-new-watch { border: 1px solid rgba(80,65,110,.12); border-radius: 24px; background: #fff; box-shadow: var(--card-shadow); }
.watch-composer.has-new-watch .route-banner { border: 0; border-radius: 23px 23px 0 0; background: linear-gradient(110deg, #332047, #211132 58%, #2b1747); box-shadow: none; }
.watch-composer.has-new-watch .new-watch-stage { margin: 0; padding: 0; }
.watch-composer.has-new-watch .new-watch-stage > .search-panel { width: 100%; max-width: none; margin: 0; padding: 28px clamp(24px, 4vw, 44px) 30px; border: 0; border-radius: 0 0 23px 23px; box-shadow: none; animation: none; }
.watch-composer.has-new-watch .panel-intro { margin-bottom: 20px; }
.watch-composer.has-new-watch #monitorForm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 14px 12px; }
.watch-composer.has-new-watch #monitorForm > .form-group:first-child { grid-column: 1; }
.watch-composer.has-new-watch #monitorForm > .interval-group { grid-column: 2; margin-top: 0; }
.watch-composer.has-new-watch #monitorForm > .location-grid { grid-column: 3 / 5; }
.watch-composer.has-new-watch #monitorForm > .form-divider,
.watch-composer.has-new-watch #monitorForm > .date-grid { grid-column: 1 / -1; }
.watch-composer.has-new-watch #monitorForm > .range-heading { grid-column: 1; align-self: start; }
.watch-composer.has-new-watch #monitorForm > .date-grid { grid-column: 2 / -1; margin-top: 0; }
.watch-composer.has-new-watch #monitorForm > .form-divider { margin-top: 7px; margin-bottom: 0; }
.watch-composer.has-new-watch #monitorForm > .return-divider { margin-top: 4px; }
.watch-composer.has-new-watch #monitorForm > .range-heading { margin-bottom: 0; }
.watch-composer.has-new-watch #monitorForm > .monitor-control-row { grid-column: 1 / 4; margin-top: 0; }
.watch-composer.has-new-watch #monitorForm > .monitor-control-row:has(#pauseButton[hidden]) { grid-template-columns: minmax(0, 1fr); }
.watch-composer.has-new-watch #monitorForm > .monitor-control-row .primary-button,
.watch-composer.has-new-watch #monitorForm > #lookupButton { height: 46px; min-height: 46px; padding-top: 0; padding-bottom: 0; }
.watch-composer.has-new-watch #lookupButton { grid-column: 4; align-self: end; height: 46px; margin-top: 0; }

.route-banner {
  position: relative;
  min-height: 120px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: minmax(125px, .82fr) minmax(150px, 1fr) minmax(145px, .9fr) minmax(190px, 1.25fr) max-content;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 15px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 19px;
  background: linear-gradient(110deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 12px 30px rgba(8,2,22,.1);
  overflow: hidden;
  animation: reveal-up .55s .08s ease both;
}
.route-banner::before { content: ""; position: absolute; top: -180px; right: 20%; width: 310px; height: 310px; border: 1px solid rgba(172,137,255,.22); border-radius: 50%; box-shadow: 0 0 0 20px rgba(172,137,255,.05), 0 0 0 43px rgba(172,137,255,.03); }
.route-flag { position: relative; z-index: 1; grid-column: 1; grid-row: 1 / -1; align-self: start; display: grid; gap: 8px; color: #c9b7ff; font-size: 10px; letter-spacing: .16em; }
.route-flag b { width: max-content; padding: 5px 7px; color: #6ff0bf; border: 1px solid rgba(111,240,191,.28); border-radius: 999px; font-size: 10px; letter-spacing: .12em; }
.route-point { position: relative; z-index: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.route-point:not(.route-point-right) { grid-column: 2; grid-row: 1; }
.route-point-right { grid-column: 4; grid-row: 1; grid-template-columns: auto minmax(0, 1fr); text-align: right; }
.route-label { grid-column: 1 / -1; margin-bottom: 7px; color: #a998bf; font-size: 11px; letter-spacing: .17em; }
.route-point strong { min-width: 0; max-width: none; overflow: hidden; display: -webkit-box; font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.045em; line-height: 1.08; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.route-point:not(.route-point-right) strong { grid-column: 1; }
.route-point small { color: #c3adff; font-size: 12px; letter-spacing: .15em; }
.route-point:not(.route-point-right) small { grid-column: 2; }
.route-point-right strong { grid-column: 2; order: 2; }
.route-point-right small { grid-column: 1; grid-row: 2; order: 1; margin-right: 8px; }
.route-flight-line { position: relative; z-index: 1; grid-column: 3; grid-row: 1; min-width: 0; display: flex; align-self: end; align-items: center; justify-content: center; gap: 9px; margin-bottom: 2px; overflow: hidden; }
.route-plane { display: inline-block; color: #c3a2ff; font-size: 16px; line-height: 1; transform: none; }
.return-plane { color: #6ff0bf; transform: scaleX(-1); }
.route-dash { min-width: 10px; flex: 1; max-width: 65px; height: 1px; background: repeating-linear-gradient(to right, #886ea7 0 4px, transparent 4px 8px); }
.route-roundtrip { color: #a998bf; font-size: 13px; letter-spacing: .14em; line-height: 1; white-space: nowrap; }
.route-meta { grid-column: 5; grid-row: 2; align-self: end; position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: #c4b6d0; font-size: 12px; white-space: nowrap; }
.route-meta-divider { width: 1px; height: 11px; background: #634a7a; }

.metrics-grid { position: relative; display: grid; grid-template-columns: 1.42fr 1fr 1fr 1fr; gap: 17px; margin-top: 18px; animation: reveal-up .55s .16s ease both; }
.ad-slot { display: block; overflow: hidden; border: 1px solid rgba(44,43,56,.06); border-radius: 14px; background: rgba(255,255,255,.8); }
.ad-slot-wide { min-height: 92px; margin-top: 15px; }
.ad-slot-sidebar { min-height: 120px; margin-top: 18px; }
.ad-slot ins { min-height: inherit; }
.metric-card { min-height: 145px; padding: 21px 22px 19px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(80,65,110,.1); border-radius: 19px; background: var(--card); box-shadow: var(--card-shadow); }
.featured-metric { border-color: #cdbcf3; background: linear-gradient(135deg, #fff 0%, #f1eaff 100%); }
.metric-head, .metric-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-head { color: #70727e; font-size: 12px; }
.mini-label { padding: 5px 7px; color: #9b9ca6; border-radius: 999px; background: #f1f1f4; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.mini-label.green { color: #19a878; background: var(--green-wash); }
.metric-icon { color: #b0adb8; font-size: 15px; line-height: 1; }
.metric-value { margin: 8px 0; color: var(--ink); font-size: 27px; font-weight: 700; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.metric-value.small { font-size: 20px; }
.metric-value small { color: #777985; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.metric-foot { color: #20a97d; font-size: 12px; }
.metric-foot.muted { color: #777985; }
.delta { padding: 4px 7px; border-radius: 999px; background: var(--green-wash); color: #1ca579; }
.delta.down { color: #159b73; background: var(--green-wash); }
.delta.up { color: #dc626b; background: var(--coral-wash); }
.delta.neutral { color: #7e7e89; background: #f0f0f3; }
.source-count-value { display: flex; align-items: baseline; gap: 5px; }
.source-mini-list { display: flex; align-items: center; gap: 6px; color: #71737f; font-size: 12px; }
.source-mini { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--source-color, var(--violet)); }
.source-mini.is-disabled { opacity: .35; filter: grayscale(1); }

.dashboard-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 24px; align-items: start; margin-top: 30px; }
.left-column, .right-column { min-width: 0; display: grid; gap: 19px; }
.panel { border: 1px solid rgba(80,65,110,.12); border-radius: 18px; background: var(--card); box-shadow: var(--card-shadow); }
.history-panel { padding: 28px 30px 21px; }
.panel-heading, .section-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
h2 { margin: 8px 0 0; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.chart-tools { min-width: 310px; display: grid; grid-template-columns: minmax(190px, 1fr) max-content; align-items: start; gap: 14px; }
.chart-legend { display: flex; align-items: center; gap: 7px; padding-top: 7px; color: #6f717d; font-size: 11px; white-space: nowrap; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(124,76,242,.12); }
.chart-wrap { position: relative; height: 250px; margin-top: 24px; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: stretch; }
.chart-y-axis-labels { min-width: 0; padding: 20px 10px 26px 0; display: flex; flex-direction: column; justify-content: space-between; color: #777985; font-size: 11px; font-weight: 600; line-height: 1; text-align: right; }
.chart-y-axis-label { display: block; white-space: nowrap; }
.chart-plot { position: relative; min-width: 0; }
.price-chart { width: 100%; height: 100%; overflow: visible; }
.chart-grid-line { stroke: #e7e6eb; stroke-width: 1; stroke-dasharray: 3 5; }
.chart-y-axis-label { fill: #777985; font: 11px var(--sans); font-weight: 600; }
.chart-area { fill: url(#areaFill); }
.chart-line { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 8px 7px rgba(124,76,242,.16)); }
.chart-point { fill: #fff; stroke: var(--violet); stroke-width: 2; cursor: pointer; transition: r .2s ease; }
.chart-point:hover { r: 5.5; }
.chart-axis-label { fill: #858793; font: 12px var(--sans); }
.chart-empty-label { fill: #858793; font: 13px var(--sans); }
.chart-tooltip { position: absolute; z-index: 4; padding: 9px 11px; color: #fff; border-radius: 10px; background: var(--purple); box-shadow: 0 10px 25px rgba(24,6,47,.18); font-size: 12px; pointer-events: none; transform: translate(-50%, -120%); }
.chart-footer { display: flex; justify-content: space-between; padding-top: 12px; color: #858793; border-top: 1px solid var(--line); font-size: 11px; }
.section-heading-row { align-items: flex-end; }
.source-section h2 { margin-top: 8px; }
.source-section-intro { margin: 5px 0 0; color: #777985; font-size: 13px; line-height: 1.5; }
.text-button { padding: 7px 0; color: var(--violet-deep); border: 0; background: transparent; font-size: 12px; font-weight: 600; white-space: nowrap; }
.text-button:hover { color: var(--purple); }
.refresh-symbol { display: inline-block; margin-right: 5px; color: var(--violet); font-size: 16px; vertical-align: -2px; transition: transform .35s ease; }
.source-cards { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 13px; }
.source-card { min-width: 0; padding: 18px 22px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.source-card:hover { border-color: #d3c5f7; box-shadow: 0 13px 28px rgba(42,35,65,.1); transform: translateY(-2px); }
.source-card.is-error { background: #fafafd; }
.source-card.is-error .source-price { color: #a1a1ac; }
.source-card.is-error .airline-label { color: #db7f85; }
.source-card.is-pending { opacity: .88; }
.source-card.is-disabled { opacity: .62; filter: grayscale(.35); background: #f5f5f8; }
.source-card.is-disabled:hover { border-color: var(--line); box-shadow: none; transform: none; }
.source-card.is-disabled .source-mark { filter: grayscale(.8); }
.source-card.is-disabled .source-price, .source-card.is-disabled .source-change, .source-card.is-disabled .airline-label { color: #858793; }
.source-card.is-disabled .open-provider { color: #a4a4ae; cursor: not-allowed; }
.source-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.source-identity { display: flex; align-items: center; gap: 8px; min-width: 0; }
.source-mark, .collector-source-mark { display: grid; place-items: center; flex: 0 0 auto; color: #fff; border-radius: 10px; background: var(--source-color, var(--violet)); font-size: 12px; font-weight: 800; }
.source-mark { width: 36px; height: 36px; }
.source-name { display: block; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.source-description { display: block; margin-top: 4px; overflow: hidden; color: #7d7f8b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-freshness { padding-top: 5px; color: #676a77; font-size: 11px; white-space: nowrap; }
.has-overflow-tooltip { cursor: default; }
.source-price-row { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 7px; padding: 0; border: 0; }
.source-price { color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.065em; white-space: nowrap; }
.source-change { font-size: 11px; white-space: nowrap; }
.source-change.down { color: #1ca579; }.source-change.up { color: #df6870; }.source-change.neutral { color: #a2a2ac; }.source-change.error { color: #dc7e84; }
.flight-route-row { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 0; }
.flight-route-row span { display: block; }
.leg-time-row { display: flex !important; align-items: baseline; gap: 6px; white-space: nowrap; }
.leg-time { color: var(--ink); font-size: 13px; font-weight: 700; }
.leg-label { color: #9698a4; font-size: 10px; font-weight: 600; white-space: nowrap; }
.leg-airport { margin-top: 3px; color: #787a85; font-size: 11px; letter-spacing: .06em; }
.align-right { text-align: right; }
.inbound-leg { display: grid; grid-template-columns: max-content max-content; grid-template-rows: auto auto; justify-content: end; column-gap: 6px; }
.inbound-leg .inbound-time { grid-column: 1; grid-row: 1; }
.inbound-leg .leg-label { grid-column: 2; grid-row: 1; align-self: center; }
.inbound-leg .inbound-airport { grid-column: 1; grid-row: 2; text-align: right; }
.leg-line { min-width: 20px; display: flex; align-items: center; gap: 5px; }
.leg-line::before, .leg-line::after { flex: 1; content: ""; border-top: 1px dashed #d4d2dc; }
.leg-line i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--violet); }
.stop-label { margin-top: 6px; color: #777985; font-size: 11px; text-align: center; white-space: nowrap; }
.source-card-footer { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0; border: 0; }
.airline-label { min-width: 0; overflow: hidden; color: #636571; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-branding { flex: 0 0 auto; color: #7a918f; font-size: 11px; white-space: nowrap; }
.source-branding strong { font-weight: 700; }
.open-provider { padding: 0; color: var(--violet-deep); border: 0; background: transparent; font-size: 11px; white-space: nowrap; }
.open-provider:hover { color: var(--purple); }
.open-provider span { padding-left: 2px; color: var(--violet); font-size: 11px; }
.activity-panel { padding: 26px 30px 17px; }
.activity-heading { align-items: center; }
.log-live { display: inline-flex; align-items: center; gap: 6px; color: #1eac7d; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.log-live i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(36,180,133,.13); }
.activity-list { margin-top: 17px; }
.activity-item { min-height: 48px; display: grid; grid-template-columns: 9px 88px 1fr; align-items: center; gap: 10px; color: #696b77; border-top: 1px solid var(--line); font-size: 12px; }
.activity-item:first-child { border-top: 0; }
.activity-marker { width: 6px; height: 6px; border-radius: 50%; background: #c7c7cf; }
.activity-marker.drop { background: var(--coral); box-shadow: 0 0 0 3px rgba(237,108,115,.14); }
.activity-marker.refresh { background: var(--violet); }
.activity-marker.notification { background: #d9a900; box-shadow: 0 0 0 3px rgba(217,169,0,.14); }
.activity-time { color: #858793; }
.activity-copy strong { display: block; color: #62636d; font-weight: 600; }
.activity-copy span { display: block; margin-top: 3px; color: #858793; }

.search-panel { padding: 26px 26px 23px; background: #fff; }
.search-panel-top { display: flex; align-items: center; justify-content: space-between; }
.search-panel h2 { margin-top: 15px; color: var(--ink); font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.055em; }
.panel-intro { margin: 7px 0 22px; color: #737581; font-size: 12px; }
.panel-intro strong { color: var(--violet-deep); font-weight: 700; }
.form-group { min-width: 0; }
.form-group label { display: block; margin-bottom: 7px; color: #595b68; font-size: 12px; font-weight: 600; }
.required-mark { color: var(--coral); }
.form-group input { width: 100%; height: 48px; padding: 0 14px; color: var(--ink); border: 1px solid #cfced9; border-radius: 13px; outline: none; background: #fafafd; font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-group input:disabled { color: #a4a4ae; border-color: #e5e3eb; background: #f4f3f7; cursor: not-allowed; opacity: .7; }
.form-group input:focus { border-color: #9a77f0; background: #fff; box-shadow: 0 0 0 4px rgba(124,76,242,.11); }
.form-group input::placeholder { color: #9698a4; }
.form-group input.is-locked { color: #777883; border-color: #e3deed; background: #f4f2f8; cursor: not-allowed; }
.form-group input.is-locked:focus { border-color: #e3deed; background: #f4f2f8; box-shadow: none; }
.interval-group { margin-top: 15px; }
.input-help { display: block; margin-top: 6px; color: #777985; font-size: 11px; line-height: 1.5; }
.number-input-wrap { position: relative; }
.number-input-wrap input { padding-right: 30px; }
.number-input-wrap > span { position: absolute; top: 13px; right: 13px; color: #777985; font-size: 12px; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-left: 32px; }
.input-pin { position: absolute; z-index: 1; top: 9px; left: 11px; color: var(--violet); font-size: 12px; }
.location-grid { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: end; gap: 7px; }
.autocomplete-field { position: relative; }
.suggestion-list { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; left: 0; padding: 5px; overflow: hidden; border: 1px solid #e1dced; border-radius: 13px; background: #fff; box-shadow: 0 15px 33px rgba(34, 19, 61, .16); }
.airport-suggestion { width: 100%; padding: 8px 7px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; color: var(--ink); border: 0; border-radius: 9px; background: transparent; text-align: left; }
.airport-suggestion:hover, .airport-suggestion.is-active { background: var(--violet-wash); }
.airport-suggestion-icon { width: 23px; height: 23px; display: grid; place-items: center; color: var(--violet); border-radius: 8px; background: #f0eaff; font-size: 14px; }
.airport-suggestion-copy { min-width: 0; }
.airport-suggestion-copy strong, .airport-suggestion-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airport-suggestion-copy strong { font-size: 12px; font-weight: 700; }
.airport-suggestion-copy small { margin-top: 3px; color: #777985; font-size: 11px; }
.airport-suggestion > b { color: var(--violet-deep); font-size: 11px; letter-spacing: .08em; }
.swap-button { width: 28px; height: 28px; padding: 0; color: var(--violet-deep); border: 1px solid #d8cdf5; border-radius: 50%; background: var(--violet-wash); font-size: 15px; transform: translateY(-3px); transition: transform .2s ease, background .2s ease; }
.swap-button:hover { background: #e4d9ff; transform: translateY(-3px) rotate(180deg); }
.swap-button:disabled { color: #b9b3c7; border-color: #e8e4ef; background: #f3f1f7; cursor: not-allowed; opacity: .72; transform: translateY(-3px); }
.form-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 13px; color: #858793; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.form-divider i { flex: 1; height: 1px; background: #e5e3eb; }
.return-divider { margin-top: 16px; }
.range-heading { min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 7px; }
.range-heading label { margin: 0; color: #595b68; font-size: 12px; font-weight: 600; }
.range-heading small { min-width: 0; overflow: hidden; color: #777985; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.date-grid { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-grid .form-group { min-width: 0; }
.date-grid input { display: block; min-width: 0; max-width: 100%; padding-right: 7px; font-size: 12px; letter-spacing: -.025em; }
.date-grid input[type="hidden"] { display: none; }
input[type="datetime-local"]::-webkit-calendar-picker-indicator { opacity: .46; cursor: pointer; }
.datetime-picker-control { position: relative; min-width: 0; }
.datetime-picker-control::after { display: none; }
.datetime-picker-control.is-native::after { position: absolute; z-index: 1; top: 50%; right: 14px; width: 17px; height: 17px; display: block; content: ""; pointer-events: none; transform: translateY(-50%); background: var(--violet); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 3.5v4M16.5 3.5v4M3.5 10h17' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M7.5 3.5v4M16.5 3.5v4M3.5 10h17' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.datetime-picker-control.is-native:focus-within::after { background: var(--violet-deep); }
.datetime-picker-control > input:not([type="hidden"]) { padding-right: 42px; }
.alert-setting { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 0; border-top: 1px solid #e8e6ed; border-bottom: 1px solid #e8e6ed; }
.alert-setting-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--violet); border: 1px solid #ded1ff; border-radius: 9px; background: var(--violet-wash); font-size: 15px; }
.kakao-alert-setting { margin-top: 0; border-top: 0; }
.kakao-alert-icon { color: #3b3300; border-color: #fee500; background: #fee500; font-size: 10px; font-weight: 800; }
.alert-setting div:nth-child(2) { flex: 1; }
.alert-setting strong, .alert-setting span { display: block; }
.alert-setting strong { color: #666773; font-size: 12px; font-weight: 700; }
.alert-setting div:nth-child(2) span { margin-top: 3px; color: #777985; font-size: 11px; }
.switch { position: relative; display: block; width: 32px; height: 18px; }
.switch input { position: absolute; width: 0; height: 0; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 20px; background: #d2d1d9; transition: .2s; }
.switch span::before { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.14); transition: .2s; }
.switch input:checked + span { background: var(--violet); }
.switch input:checked + span::before { transform: translateX(14px); }
.primary-button { width: 100%; margin-top: 18px; padding: 16px 17px; display: flex; align-items: center; justify-content: space-between; color: #fff; border: 0; border-radius: 13px; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); box-shadow: 0 10px 20px rgba(124,76,242,.2); font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { box-shadow: 0 14px 26px rgba(124,76,242,.28); transform: translateY(-1px); }
.primary-button.requires-login { opacity: 1; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 4px rgba(124,76,242,.15), 0 14px 28px rgba(124,76,242,.3); }
.primary-button.requires-login:hover { box-shadow: 0 0 0 5px rgba(124,76,242,.2), 0 17px 32px rgba(124,76,242,.36); transform: translateY(-2px); }
.primary-button.requires-login:focus-visible { outline: 3px solid #fee500; outline-offset: 4px; }
.primary-button:disabled, .primary-button.is-locked { cursor: not-allowed; opacity: .58; box-shadow: none; transform: none; }
.primary-button.is-auth-disabled, .pause-button.is-auth-disabled, .text-button.is-auth-disabled, .alert-setting.is-auth-disabled { opacity: .48; }
.monitor-control-row { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 8px; margin-top: 15px; }
.monitor-control-row .primary-button { margin-top: 0; }
.monitor-control-row .pause-button { width: 100%; height: auto; min-height: 46px; padding: 0 11px; color: #7f808b; border-color: #d8d7df; background: #fff; }
.monitor-control-row .pause-button:hover { color: var(--ink); border-color: #b9a6ec; background: #f6f2ff; }
.secondary-button { width: 100%; margin-top: 10px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; color: var(--violet-deep); border: 1px solid #d9cef5; border-radius: 13px; background: #fbf9ff; font-size: 13px; font-weight: 700; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.secondary-button:hover { border-color: #b9a4ee; background: var(--violet-wash); transform: translateY(-1px); }
.secondary-button:disabled { cursor: wait; opacity: .62; transform: none; }
.button-arrow { color: #d8c7ff; font-size: 15px; line-height: 1; }
.secondary-button .button-arrow { color: var(--violet); font-size: 16px; }
.form-footnote { margin: 12px 0 0; color: #777985; font-size: 11px; text-align: center; }
.form-footnote.is-locked { color: #8b78b6; }
.secure-dot { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.source-status-panel { padding: 24px 26px 20px; }
.panel-heading.tight { align-items: center; }
.status-count { padding: 6px 8px; color: #1ba579; border-radius: 999px; background: var(--green-wash); font-size: 11px; font-weight: 700; }
.collector-status-list { margin-top: 15px; }
.collector-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--line); }
.collector-row.is-disabled { opacity: .62; }
.collector-row:first-child { border-top: 0; }
.collector-source-mark { width: 24px; height: 24px; border-radius: 8px; }
.collector-row div { flex: 1; min-width: 0; }
.collector-row strong, .collector-row small { display: block; }
.collector-row strong { color: #666773; font-size: 12px; font-weight: 700; }
.collector-row small { margin-top: 4px; overflow: hidden; color: #777985; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.row-status { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(36,180,133,.12); }
.row-status.waiting { background: #c4c4cc; box-shadow: 0 0 0 3px rgba(196,196,204,.14); }
.row-status.disabled { background: #b7b7c0; box-shadow: 0 0 0 3px rgba(183,183,192,.14); }
.row-status.error { background: var(--coral); box-shadow: 0 0 0 3px rgba(237,108,115,.13); }
.live-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; padding: 10px; color: #6f717d; border: 1px solid #d9d8e3; border-radius: 10px; background: #fafafd; }
.live-notice > span { width: 18px; height: 18px; flex: 0 0 auto; color: #fff; border-radius: 50%; background: var(--violet); font-size: 11px; line-height: 18px; text-align: center; }
.live-notice p { margin: 0; font-size: 11px; line-height: 1.55; }
.pause-button { width: 215px; height: 72px; min-height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 9px; color: #d8cceb; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.07); font-size: 12px; text-align: left; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.pause-button:hover { color: #fff; border-color: #b9a6ec; background: rgba(255,255,255,.13); }
.pause-icon { padding-right: 3px; color: var(--coral); font-size: 13px; letter-spacing: -4px; }
.pause-button.is-active .pause-icon { letter-spacing: 0; }

.lookup-overlay { position: fixed; z-index: 60; right: auto; bottom: 24px; left: 24px; width: min(320px, calc(100vw - 48px)); padding: 0; pointer-events: none; }
.lookup-overlay-card { width: 100%; padding: 13px 15px; display: flex; align-items: center; gap: 12px; color: var(--ink); border: 1px solid rgba(255,255,255,.78); border-radius: 17px; background: rgba(255,255,255,.96); box-shadow: 0 16px 36px rgba(18,3,33,.2); text-align: left; }
.lookup-flight-stage { position: relative; width: 52px; height: 40px; flex: 0 0 52px; margin: 0; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #f1eaff, #fbfaff); }
.lookup-flight-stage::before { position: absolute; top: 20px; right: 8px; left: 8px; height: 1px; content: ""; background: repeating-linear-gradient(to right, #c5b2ef 0 4px, transparent 4px 8px); }
.lookup-plane { position: absolute; top: 5px; left: 0; color: var(--violet); font-size: 23px; line-height: 1; animation: lookup-flight 1.15s ease-in-out infinite; }
.lookup-copy { min-width: 0; display: grid; gap: 3px; }
.lookup-overlay-card strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.lookup-copy > span { display: block; color: #777985; font-size: 11px; white-space: nowrap; }

.toast-stack { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: min(340px, calc(100vw - 48px)); display: grid; gap: 8px; }
.toast { padding: 13px 15px; color: #fff; border-left: 3px solid var(--green); border-radius: 12px; background: var(--purple); box-shadow: 0 14px 35px rgba(19,4,34,.22); animation: toast-in .3s ease both; }
.toast.drop { border-left-color: var(--coral); }
.toast strong, .toast span { display: block; }
.toast strong { font-size: 13px; font-weight: 600; }
.toast span { margin-top: 4px; color: #c0b2ce; font-size: 12px; }

@keyframes reveal-up { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-slide-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes lookup-flight { 0% { opacity: .35; transform: translateX(-8px) translateY(6px) rotate(4deg); } 50% { opacity: 1; transform: translateX(16px) translateY(-3px) rotate(-4deg); } 100% { opacity: .35; transform: translateX(40px) translateY(6px) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-view.is-page-entering { animation: none; }
}

@media (min-width: 1121px) {
  .source-price-row { transform: translateX(-10px); }
}

@media (max-width: 1120px) {
  .sidebar { padding-left: 24px; padding-right: 24px; gap: 18px; }
  .nav-item { padding-left: 11px; padding-right: 11px; }
  .content-wrap { padding-left: 28px; padding-right: 28px; }
  .route-banner { grid-template-columns: minmax(100px, .75fr) minmax(125px, 1fr) minmax(110px, .8fr) minmax(155px, 1.2fr) max-content; padding-left: 19px; padding-right: 19px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .source-card { padding-left: 12px; padding-right: 12px; }
  .source-card { grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "header price" "route route" "footer footer"; gap: 12px 18px; padding: 15px 16px; }
  .source-card-header { grid-area: header; }
  .source-price-row { grid-area: price; justify-content: flex-end; }
  .flight-route-row { grid-area: route; }
  .source-card-footer { grid-area: footer; }
  .monitor-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-grid { grid-template-columns: 1fr; gap: 10px; }
  .watch-composer.has-new-watch #monitorForm > .date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

@media (max-width: 900px) {
  .sidebar { height: auto; min-height: 76px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .sidebar-bottom { width: max-content; max-width: 100%; margin-left: auto; }
  .account-card { min-width: 0; }
  .content-wrap::before { height: 210px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-column { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); align-items: start; }
  .search-panel { grid-row: span 2; }
  .pause-button { grid-column: auto; }
}

@media (max-width: 660px) {
  .sidebar { padding: 10px 12px 12px; gap: 10px 12px; align-items: center; }
  .brand-lockup { order: 0; min-width: 0; }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .brand-name { font-size: 14px; }
  .product-nav { order: 2; width: 100%; flex: 0 0 100%; margin: 0; }
  .product-nav-link { flex: 1 1 0; min-width: 0; }
  .sidebar-bottom { order: 0; width: auto; max-width: none; min-width: 0; flex: 0 1 auto; margin-left: auto; }
  .account-card { width: max-content; max-width: 100%; padding: 5px 6px; border-radius: 12px; }
  .account-heading { display: none; }
  .brand-caption { display: none; }
  .account-content { align-items: center; flex-direction: row; justify-content: flex-end; gap: 5px; }
  .alert-actions { width: auto; flex: 0 0 auto; gap: 3px; }
  .profile-alert-button { width: 31px; min-width: 31px; height: 31px; flex: 0 0 31px; border-radius: 9px; }
  .profile-alert-button:hover, .profile-alert-button:focus-visible { width: 31px; min-width: 31px; flex-basis: 31px; padding: 0; gap: 0; }
  .profile-alert-button .alert-button-label { display: none; max-width: 0; }
  .profile-area { width: auto; min-width: 0; flex: 0 1 auto; justify-content: flex-end; gap: 4px; }
  .auth-avatar { width: 27px; height: 27px; }
  .profile-copy { min-width: 0; flex: 0 1 auto; }
  .auth-user { max-width: 96px; font-size: 11px; }
  .auth-controls { min-width: 0; margin-left: 0; gap: 3px; }
  .kakao-login-button, .logout-button { min-height: 29px; padding: 0 6px; border-radius: 8px; font-size: 10px; }
  .nav-item { flex: 0 0 auto; height: 36px; font-size: 10px; }
  .topbar { display: none; }
  .breadcrumbs { font-size: 10px; gap: 6px; }
  .topbar-date { display: none; }
  .content-wrap { padding: 0 15px 48px; }
  .exchange-page { padding: 0 15px 48px; }
  .exchange-page::before, .exchange-page::after { height: 330px; border-radius: 0 0 20px 20px; }
  .exchange-watch-composer { border-radius: 20px; }
  .exchange-watch-composer .exchange-page-hero { min-height: 0; padding: 25px 20px 22px; display: flex; align-items: stretch; flex-direction: column; gap: 16px; border-radius: 20px 20px 0 0; }
  .exchange-page-heading h1 { margin-top: 11px; font-size: 40px; }
  .exchange-page-heading p { font-size: 13px; }
  .exchange-hero-route { width: 100%; gap: 6px; }
  .exchange-hero-route strong { flex: 0 0 auto; font-size: 11px; letter-spacing: .12em; overflow: visible; }
  .exchange-hero-route span { font-size: 9px; letter-spacing: .14em; }
  .exchange-hero-route i { width: auto; min-width: 10px; flex: 1 1 24px; }
  .exchange-live-card { width: 100%; min-height: 64px; grid-template-columns: minmax(0, 1fr) max-content; gap: 9px; }
  .exchange-live-card strong { font-size: 14px; }
  .exchange-refresh-button { min-height: 40px; padding: 0 10px; font-size: 11px; }
  .exchange-watch-composer .exchange-monitor-panel { margin-top: 0; padding: 22px 15px 20px; border-radius: 0 0 20px 20px; }
  .exchange-monitor-heading { align-items: flex-start; }
  .exchange-monitor-controls { grid-template-columns: 1fr; align-items: stretch; }
  .exchange-monitor-action-group { height: auto; display: flex; flex-direction: column; margin-top: 0; }
  .exchange-monitor-action-group > * { width: 100%; flex: 0 0 46px; }
  .exchange-monitor-refresh { flex-basis: 46px; }
  .exchange-monitor-cards { grid-template-columns: 1fr; }
  .exchange-history-panel { margin-top: 18px; padding: 22px 15px 20px; }
  .exchange-rate-panel { padding: 22px 15px 20px; }
  .exchange-rate-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .exchange-rate-table th, .exchange-rate-table td { padding-right: 8px; padding-left: 8px; }
  .exchange-rate-table th:nth-child(1) { width: 48%; }
  .exchange-rate-table th:nth-child(2) { width: 14%; }
  .exchange-rate-table th:nth-child(3) { width: 38%; }
  .exchange-rate-table th:nth-child(4), .exchange-rate-table td:nth-child(4) { display: none; }
  .exchange-currency-rate { font-size: 15px !important; }
  .content-wrap::before { height: 240px; border-radius: 0 0 20px 20px; }
  .page-heading { display: none; }
  h1 { margin-top: 13px; font-size: 40px; }
  .heading-copy { font-size: 10px; }
  .heading-status { width: max-content; margin-top: 0; }
  .monitor-control-row { grid-template-columns: 1fr; }
  .watch-composer.has-new-watch { border-radius: 20px; }
  .watch-composer.has-new-watch .route-banner { border-radius: 19px 19px 0 0; }
  .watch-composer.has-new-watch .new-watch-stage > .search-panel { padding: 24px 18px 22px; border-radius: 0 0 19px 19px; }
  .watch-composer.has-new-watch #monitorForm { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .watch-composer.has-new-watch #monitorForm > .form-group:first-child,
  .watch-composer.has-new-watch #monitorForm > .interval-group,
  .watch-composer.has-new-watch #monitorForm > .location-grid,
  .watch-composer.has-new-watch #monitorForm > .form-divider,
  .watch-composer.has-new-watch #monitorForm > .range-heading,
  .watch-composer.has-new-watch #monitorForm > .date-grid,
  .watch-composer.has-new-watch #monitorForm > .monitor-control-row,
  .watch-composer.has-new-watch #lookupButton { grid-column: 1; }
  .watch-composer.has-new-watch #monitorForm > .date-grid { grid-template-columns: 1fr; gap: 10px; margin-top: -2px; }
  .route-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 14px 12px; padding: 17px 15px; }
  .monitor-list-section { padding: 15px; }
  .monitor-list-heading { align-items: flex-start; }
  .monitor-list-intro { max-width: 220px; line-height: 1.5; }
  .monitor-list-actions { flex-direction: column; align-items: flex-end; gap: 6px; }
  .monitor-cards { grid-template-columns: 1fr; margin-top: 13px; }
  .route-flag { grid-column: 1 / -1; grid-row: 1; }
  .route-point:not(.route-point-right) { grid-column: 1; grid-row: 2; }
  .route-point-right { grid-column: 2; grid-row: 2; }
  .route-flight-line { grid-column: 1 / -1; grid-row: 3; }
  .route-point-right { text-align: right; }
  .route-meta { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; justify-content: space-between; }
  .route-point { min-width: 0; align-self: start; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(52px, auto) auto; align-items: start; }
  .route-point:not(.route-point-right) strong { grid-column: 1; grid-row: 2; text-align: left; }
  .route-point:not(.route-point-right) small { grid-column: 1; grid-row: 3; align-self: start; text-align: left; }
  .route-point strong { display: -webkit-box; max-width: none; max-height: none; overflow: hidden; font-size: 24px; line-height: 1.1; word-break: keep-all; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .route-point small { align-self: start; }
  .route-point-right { grid-template-columns: minmax(0, 1fr); }
  .route-point-right strong { grid-column: 1; grid-row: 2; order: initial; text-align: right; }
  .route-point-right small { grid-column: 1; grid-row: 3; order: initial; margin-right: 0; text-align: right; }
  .new-watch-stage { margin-top: 10px; margin-bottom: 10px; }
  .new-watch-stage > .search-panel { width: 100%; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
  .metric-card { min-height: 112px; padding: 14px; }
  .metric-value { font-size: 22px; }
  .metric-value.small { font-size: 18px; }
  .ad-slot-wide { min-height: 82px; margin-top: 11px; }
  .dashboard-grid { margin-top: 19px; gap: 18px; }
  .history-panel, .activity-panel { padding-right: 15px; padding-left: 15px; }
  .chart-tools { min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chart-legend { justify-content: flex-end; padding-top: 0; }
  .history-slider-mount { min-width: 0; width: 100%; }
  .chart-wrap { height: 190px; grid-template-columns: 62px minmax(0, 1fr); }
  .chart-y-axis-labels { padding-right: 7px; font-size: 10px; }
  .source-cards { grid-template-columns: 1fr; }
  .source-card { display: block; padding: 15px; }
  .source-price-row { padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
  .flight-route-row { padding: 13px 0 11px; }
  .source-card-footer { padding-top: 11px; border-top: 1px solid var(--line); }
  .source-description { display: none; }
  .live-notice { display: none; }
  .right-column { display: block; }
  .search-panel, .source-status-panel, .pause-button { margin-top: 18px; }
  .ad-slot-sidebar { min-height: 90px; margin-top: 18px; }
  .search-panel { margin-top: 0; }
  .lookup-overlay { right: 15px; bottom: 15px; left: 15px; width: auto; }
  .lookup-overlay-card { width: min(300px, 100%); padding: 12px 14px; }
  .toast-stack { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; width: auto; max-width: none; }
  .toast { min-width: 0; overflow-wrap: anywhere; }
  .toast strong, .toast span { white-space: normal; overflow-wrap: anywhere; word-break: keep-all; }
  .pause-button { width: 100%; }
  .location-grid { grid-template-columns: 1fr; gap: 8px; }
  .date-grid { grid-template-columns: 1fr; gap: 10px; }
  .swap-button { justify-self: center; transform: rotate(90deg); }
  .swap-button:hover { transform: rotate(270deg); }
  .activity-item { grid-template-columns: 9px 62px 1fr; }
  .desktop-only { display: none; }
}
