/* 항공 개편(2026-11): 공항 · 스케줄 · 지도 · 항공사 공개 화면과 관리 보조 내비.
   화면 크롬은 Horizon 토큰을 따르고, 전광판(클래식·모던)과 탑승권은 실물 재질이라 테마와 무관한 고정 색을 쓴다. */

.ax-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) { .ax-wrap { padding: 16px 16px 48px; gap: 16px; } }
.ax-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ax-between { justify-content: space-between; }
.ax-mono { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-variant-numeric: tabular-nums; }
.ax-muted { color: var(--muted-foreground); }
.ax-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-h1 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.ax-h2 { margin: 0; font-size: 16px; font-weight: 600; }
.ax-sub { margin: 0; color: var(--muted-foreground); font-size: 14px; }
.ax-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; min-width: 0; }
.ax-status { min-height: 20px; font-size: 13px; color: var(--muted-foreground); }

/* 세그먼트·칩·버튼 */
.ax-seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--muted); }
.ax-seg button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted-foreground); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ax-seg button[aria-pressed="true"] { background: var(--card); color: var(--foreground); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ax-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted-foreground); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.ax-chip:hover { color: var(--foreground); }
.ax-chip[aria-pressed="true"] { background: var(--foreground); border-color: var(--foreground); color: var(--background); font-weight: 600; }
.ax-chip b { font-family: var(--font-mono, monospace); font-size: 11px; }
.ax-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border-strong, var(--border)); border-radius: 6px; background: var(--card); color: var(--foreground); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ax-btn:hover { background: var(--muted); color: var(--foreground); }
.ax-btn--primary { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground, #fff); }
.ax-btn--primary:hover { background: var(--primary-hover, var(--primary)); color: var(--primary-foreground, #fff); }
.ax-select { height: 32px; padding: 0 28px 0 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--muted); color: var(--foreground); font: inherit; font-size: 13px; }

/* 공항 머리 */
.ax-ap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 28px; }
.ax-ap-id { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.ax-ap-code { font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted-foreground); border: 1px solid var(--border-strong, var(--border)); border-radius: 4px; padding: 2px 6px; line-height: 1.2; }
.ax-ap-name { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.ax-stats { display: flex; max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; background: var(--card); scrollbar-width: none; }
.ax-stat { display: flex; flex-direction: column; gap: 3px; flex: none; padding: 6px 14px; border-left: 1px solid var(--border); }
.ax-stat:first-child { border-left: 0; }
.ax-stat span { font-size: 11px; line-height: 1; color: var(--muted-foreground); white-space: nowrap; }
.ax-stat b { font-family: var(--font-mono, monospace); font-size: 17px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.ax-stat b.is-warn { color: var(--warning); }
.ax-stat b.is-bad { color: var(--destructive); }

/* 클래식(플립) 전광판 */
.ax-board-scroll { overflow-x: auto; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.bc { width: fit-content; min-width: 720px; max-width: none; padding: 12px 14px 10px; border-radius: 12px; background: #0c0c0c; color: #f5c518; box-shadow: inset 0 0 0 1px #1d1d1d; font-size: 11.5px; }
.bc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid #222; }
.bc-title { font-family: var(--font-mono, monospace); font-size: 18px; font-weight: 700; letter-spacing: .12em; }
.bc-title-ko { font-size: 16px; font-weight: 700; }
.bc-clock { margin-left: auto; padding: 2px 8px; border-radius: 4px; background: #161616; font-family: var(--font-mono, monospace); font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.bc-cols, .bc-row { display: flex; align-items: center; gap: 10px; }
.bc-cols { padding: 2px 0 4px; color: #8c7a2c; font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .12em; }
.bc-row { width: 100%; padding: 1px 0; border: 0; border-radius: 3px; background: none; color: inherit; text-align: left; cursor: pointer; }
.bc-row:hover { background: #151515; }
.bc-row:focus-visible { outline: 2px solid #f5c518; outline-offset: 1px; }
.fld { display: flex; flex: none; gap: 2px; overflow: hidden; }
.flap { position: relative; isolation: isolate; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 1.06em; height: 1.55em; border-radius: 2px; background: #1a1a1a; color: #f5c518; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; line-height: 1; animation: ax-flap 520ms cubic-bezier(.3, .7, .2, 1) both; backface-visibility: hidden; }
.flap::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: rgba(0, 0, 0, .5); transform: scaleY(.6); }
.flap-w { width: 1.62em; font-family: 'Noto Sans KR', 'Noto Sans', sans-serif; }
@keyframes ax-flap {
  0% { transform: perspective(200px) rotateX(88deg); color: #5a4a08; }
  55% { transform: perspective(200px) rotateX(-14deg); }
  80% { transform: perspective(200px) rotateX(6deg); }
  100% { transform: perspective(200px) rotateX(0); color: #f5c518; }
}
.led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #262626; box-shadow: 0 0 0 2px #1a1a1a; }
.led.is-blink { animation: ax-blink 1.1s steps(2, start) infinite; }
@keyframes ax-blink { to { visibility: hidden; } }
.bc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #222; color: #8c7a2c; font-family: var(--font-mono, monospace); font-size: 10px; letter-spacing: .1em; }

/* 모던(인천형 패널) 전광판 */
.ib { overflow: hidden; border-radius: 12px; background: #0b1730; color: #fff; font-family: 'Instrument Sans', 'Noto Sans KR', 'Noto Sans', sans-serif; }
.ib-head { display: flex; align-items: center; gap: 14px; padding: 12px 16px 10px; }
.ib-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid #fff; border-radius: 8px; }
.ib-ko { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.ib-multi { display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); line-height: 1.1; }
.ib-cjk { font-size: 13px; font-weight: 600; letter-spacing: .2em; }
.ib-en { font-size: 18px; font-weight: 600; }
.ib-apt { margin-left: auto; color: #c9d6f2; font-size: 12px; text-align: right; }
.ib-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px; padding: 0 4px 4px; }
.ib-panel { display: flex; flex-direction: column; min-width: 0; background: #0c1d45; }
.ib-row { display: grid; grid-template-columns: 34px 74px minmax(0, 1fr) 34px 30px 46px; column-gap: 5px; align-items: center; height: 19px; padding: 0 5px; font-size: 10.5px; line-height: 1; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.ib-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ib-cols { background: #0c1d45; color: #c9d6f2; font-size: 9.5px; font-weight: 600; }
.ib-r { width: 100%; border: 0; border-top: 1px solid #163c97; background: #1d48b3; color: #fff; text-align: left; cursor: pointer; font: inherit; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.ib-r:nth-of-type(even) { background: #1a42a4; }
.ib-r:hover { background: #2856c6; }
.ib-r:focus-visible { outline: 2px solid #ffd400; outline-offset: -2px; }
.ib-blank { cursor: default; }
.ib-blank:hover { background: #1d48b3; }
.ib-f { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.ib-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 12px; border-radius: 2px; background: #fff; color: #1a42a4; font-family: 'JetBrains Mono', monospace; font-size: 8px; font-weight: 700; }
.ib-p { font-weight: 500; }
.ib-g { font-weight: 700; text-align: center; }
.ib-s { display: inline-flex; align-items: center; justify-content: center; height: 15px; border-radius: 2px; font-weight: 700; text-align: center; }
.ib-s.is-delay { background: #e0702a; }
.ib-s.is-bad { background: #c8322e; }
.ib-s.is-go { color: #a8ffc4; }
.ib-s.is-closing { color: #ffd27a; }
.ib-s.is-ready { color: #bfe0ff; }
.ib-s.is-done { color: #c9d6f2; font-weight: 500; }
.ib-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 3px 8px; background: #0b1730; color: #c9d6f2; font-size: 11px; }
.ib-clock { justify-self: end; color: #ffd400; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ax-board-empty { padding: 40px 24px; border-radius: 12px; text-align: center; }
.ax-board-empty.is-classic { background: #0c0c0c; color: #f5c518; }
.ax-board-empty.is-modern { background: #0b1730; color: #fff; }
.ax-board-empty p { margin: 4px 0 0; opacity: .75; font-size: 14px; }

/* 공항 하단 카드 */
.ax-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ax-slots { position: relative; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); align-items: end; gap: 2px; height: 110px; padding-top: 6px; }
.ax-slots i { display: block; min-height: 2px; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--primary) 45%, transparent); }
.ax-slots i.is-now { background: var(--foreground); }
.ax-slot-cap { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--destructive); }
.ax-slot-axis { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; color: var(--muted-foreground); font-family: var(--font-mono, monospace); font-size: 9px; text-align: center; }
.ax-kv { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.ax-kv:last-child { border-bottom: 0; }
.ax-kv > span:first-child { color: var(--muted-foreground); font-size: 13px; }

/* 탑승권 서랍 */
.ax-scrim { position: fixed; inset: 0; z-index: 90; width: 100%; border: 0; background: rgba(9, 9, 11, .42); cursor: pointer; }
.ax-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column; width: min(440px, 100%); overflow-y: auto; background: #ebe8e1; color: #1c1b19; box-shadow: -12px 0 40px rgba(15, 23, 42, .18); animation: ax-slide 200ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ax-slide { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.ax-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 0; font-weight: 600; }
.ax-drawer-head button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; font-size: 18px; }
.ax-drawer-head button:hover { background: rgba(0, 0, 0, .06); }
.ax-drawer-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 24px; }
.ax-drawer-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid #c8c2b4; border-radius: 6px; color: #1c1b19; font-size: 13px; font-weight: 600; text-decoration: none; }
.ax-drawer-links a:hover { background: rgba(0, 0, 0, .05); }
.tk { margin: 8px 16px 20px; color: #1c1b19; filter: drop-shadow(0 1px 1px rgba(40, 34, 20, .14)) drop-shadow(0 8px 16px rgba(40, 34, 20, .10)); }
.tk-paper { background: #fbfaf5; }
.tk-top { overflow: hidden; border-radius: 5px 5px 0 0; }
.tk-band { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 9px 16px 8px; background: #1d2a44; color: #fbfaf5; }
.tk-air { font-size: 15px; font-weight: 700; }
.tk-air small { margin-left: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .12em; opacity: .8; }
.tk-kind { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: .2em; white-space: nowrap; }
.tk-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 12px; }
.tk-l { display: block; margin-bottom: 2px; color: #77736a; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.tk-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #d8d3c7; }
.tk-code { display: block; font-family: 'JetBrains Mono', monospace; font-size: 36px; font-weight: 700; line-height: .95; }
.tk-city { display: block; margin-top: 4px; color: #4a473f; font-size: 12px; }
.tk-arrow { padding-bottom: 16px; }
.tk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tk-v { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.tk-v.is-ko { font-family: 'Noto Sans KR', sans-serif; font-size: 13px; }
.tk-v.is-big { font-size: 20px; line-height: 1.1; }
.tk-bar { display: flex; align-items: stretch; height: 30px; margin-top: 2px; overflow: hidden; }
.tk-bar i { display: block; flex: none; background: #1c1b19; }
.tk-bar i.s { background: transparent; }
.tk-fine { display: flex; justify-content: space-between; gap: 8px; color: #77736a; font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .08em; }
.tk-cut { position: relative; height: 14px; background: #fbfaf5; }
.tk-cut::before, .tk-cut::after { content: ''; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #ebe8e1; }
.tk-cut::before { left: -7px; }
.tk-cut::after { right: -7px; }
.tk-cut span { position: absolute; left: 12px; right: 12px; top: 6px; border-top: 1.5px dashed #c8c2b4; }
.tk-stub { display: grid; grid-template-columns: auto auto auto 1fr; align-items: end; column-gap: 18px; padding: 6px 16px 14px; border-radius: 0 0 5px 5px; }
.tk-stamp { justify-self: end; display: inline-block; padding: 2px 8px; border: 2px solid currentColor; border-radius: 3px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; transform: rotate(-7deg); opacity: .88; }
.tk-stamp small { display: block; font-family: 'Noto Sans KR', sans-serif; font-size: 10px; letter-spacing: .08em; text-align: center; }

/* 스케줄 시간표 */
.ax-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ax-week button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 10px 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--foreground); font: inherit; cursor: pointer; }
.ax-week button[aria-pressed="true"] { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.ax-week-bar { width: 100%; height: 4px; overflow: hidden; border-radius: 2px; background: var(--border); }
.ax-week-bar i { display: block; height: 100%; background: var(--primary); }
.ax-week button[aria-pressed="true"] .ax-week-bar i { background: var(--background); }
@media (max-width: 640px) { .ax-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-grid { display: grid; grid-template-columns: 46px 64px minmax(100px, 1.1fr) minmax(120px, 1.5fr) 74px 92px 140px; column-gap: 10px; align-items: center; padding: 0 12px; }
.sc-grid > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.sc-table { min-width: 820px; }
.bc.sc-table { width: auto; }
.sc-c { padding: 12px 0 10px; }
.sc-c .sc-grid { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.sc-row { width: 100%; height: 24px; border: 0; background: none; color: inherit; text-align: left; font: inherit; font-size: 12px; line-height: 1; cursor: pointer; }
.sc-c .sc-row { border-bottom: 1px solid #1c1c1c; }
.sc-c .sc-row:hover { background: #151515; }
.sc-m .sc-row { border-top: 1px solid #163c97; background: #1d48b3; color: #fff; }
.sc-m .sc-row:nth-child(even) { background: #1a42a4; }
.sc-m .sc-row:hover { background: #2856c6; }
.sc-m .bm-cols { padding-top: 5px; padding-bottom: 5px; background: #0c1d45; color: #c9d6f2; font-size: 11px; font-weight: 600; }
.sc-m .ib-mark { margin-right: 6px; }
.sc-place small { margin-left: 6px; color: #8c7a2c; font-size: 11px; }
.sc-m .sc-place small { color: #c9d6f2; }
.days { display: flex; gap: 2px; }
.day { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 2px; font-family: 'Noto Sans KR', sans-serif; font-size: 9px; font-weight: 700; }
.sc-c .day.y { background: #f5c518; color: #0c0c0c; }
.sc-c .day.n { background: #1a1a1a; color: #5f5320; }
.sc-m .day.y { background: #fff; color: #1a42a4; }
.sc-m .day.n { background: #163c97; color: #8fa8e0; }
.sc-empty { padding: 32px 16px; text-align: center; }

/* 지도(뷰포트 전체) */
.ax-mapfull { position: relative; flex: 1 1 auto; width: 100%; min-width: 0; height: calc(100vh - var(--header-height, 56px)); min-height: 520px; overflow: hidden; background: #0a0e16; color: rgba(255, 255, 255, .96); }
.ax-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.ax-map-svg.is-dragging { cursor: grabbing; }
.ax-map-svg .g-line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.ax-map-svg .g-label { fill: rgba(255, 255, 255, .34); font-family: 'JetBrains Mono', monospace; }
.ax-map-svg .r-line { stroke: rgba(255, 255, 255, .14); stroke-dasharray: 3 3; stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
.ax-map-svg .r-line.is-sel { stroke: #f5c518; stroke-dasharray: none; stroke-width: 1.6; }
.ax-map-svg .r-done { stroke: #f5c518; stroke-width: 1.6; opacity: .5; vector-effect: non-scaling-stroke; fill: none; }
.ax-map-svg .a-dot { fill: rgba(255, 255, 255, .5); }
.ax-map-svg .a-dot.is-block { fill: #3b8eff; }
.ax-map-svg .a-label { fill: rgba(255, 255, 255, .62); font-family: 'JetBrains Mono', monospace; }
.ax-map-svg .a-label.is-block { fill: #fff; font-family: 'Noto Sans KR', sans-serif; font-weight: 700; }
.ax-map-svg .p { fill: #f5c518; cursor: pointer; }
.ax-map-svg .p.is-sel { fill: #fff; }
.ax-map-svg .p-hit { fill: transparent; cursor: pointer; }
.ax-glass { position: absolute; z-index: 5; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(9, 9, 11, .8); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.ax-side { top: 12px; bottom: 64px; left: 12px; display: flex; flex-direction: column; width: 300px; max-width: calc(100% - 24px); overflow: hidden; }
.ax-side-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ax-dseg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.ax-dseg button { height: 26px; padding: 0 9px; border: 0; border-radius: 6px; background: none; color: rgba(255, 255, 255, .72); font: inherit; font-size: 12px; cursor: pointer; }
.ax-dseg button[aria-pressed="true"] { background: rgba(255, 255, 255, .18); color: #fff; font-weight: 600; }
.ax-sel { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ax-sel-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; }
.ax-pbar { height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.ax-pbar i { display: block; height: 100%; background: #f5c518; }
.ax-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; }
.ax-facts span { display: block; color: rgba(255, 255, 255, .6); font-size: 10px; }
.ax-facts b { font-family: 'JetBrains Mono', monospace; font-size: 12px; white-space: nowrap; }
.ax-dmuted { color: rgba(255, 255, 255, .7); font-size: 12px; }
.ax-flist { display: flex; flex: 1 1 auto; flex-direction: column; overflow-y: auto; }
.ax-fitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); background: none; color: inherit; text-align: left; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.ax-fitem:hover { background: rgba(255, 255, 255, .06); }
.ax-fitem[aria-pressed="true"] { background: rgba(255, 255, 255, .14); }
.ax-fitem > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ax-zoom { top: 12px; right: 12px; display: flex; flex-direction: column; overflow: hidden; }
.ax-zoom button { width: 36px; height: 36px; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.ax-zoom button + button { border-top: 1px solid rgba(255, 255, 255, .12); }
.ax-zoom button:hover { background: rgba(255, 255, 255, .1); }
.ax-totals { left: 324px; right: 12px; bottom: 12px; display: flex; gap: 20px; padding: 8px 14px; overflow-x: auto; font-size: 11px; white-space: nowrap; scrollbar-width: none; }
.ax-totals div { display: flex; flex-direction: column; gap: 2px; }
.ax-totals b { font-family: 'JetBrains Mono', monospace; font-size: 15px; }
@media (max-width: 720px) {
  .ax-side { top: auto; bottom: 64px; left: 8px; right: 8px; width: auto; height: 42%; }
  .ax-totals { left: 8px; right: 8px; bottom: 8px; }
  .ax-zoom { top: 8px; right: 8px; }
}

/* 항공사 */
.ax-al-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.ax-al-list { flex: 999 1 560px; min-width: 0; padding: 0; overflow: hidden; }
.ax-al-detail { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ax-al-row { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) 64px minmax(0, 1.4fr) 72px 72px; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--border); background: none; color: var(--foreground); text-align: left; font: inherit; font-size: 14px; cursor: pointer; }
.ax-al-row:hover { background: var(--hover-overlay, var(--muted)); }
.ax-al-row[aria-pressed="true"] { background: var(--muted); }
.ax-al-row.is-head { cursor: default; background: var(--muted); color: var(--muted-foreground); font-size: 12px; font-weight: 600; }
.ax-al-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; background: var(--foreground); color: var(--background); font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 700; }
.ax-mark.is-lg { width: 56px; height: 56px; border-radius: 12px; font-size: 17px; }
.ax-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 4px; background: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ax-tag.is-mono { font-family: var(--font-mono, monospace); }
.ax-mine { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border-radius: 12px; background: #0a1c3a; color: #fff; }
.ax-mine .ax-mark { background: #fff; color: #0a1c3a; }
.ax-mine-info { flex: 1 1 240px; min-width: 0; }
.ax-mine-info span { display: block; color: #a9c1e6; font-size: 13px; }
.ax-mine-info b { display: block; font-size: 20px; }
.ax-mine .ax-btn { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.ax-mine .ax-btn:hover { background: rgba(255, 255, 255, .1); }
.ax-mine .ax-btn--primary { background: #fff; border-color: #fff; color: #0a1c3a; }
@media (max-width: 640px) {
  .ax-al-row { grid-template-columns: 36px minmax(0, 1fr) 40px 48px 48px; gap: 8px; padding: 10px 12px; font-size: 13px; }
  .ax-al-row .ax-mark { width: 36px; height: 36px; font-size: 12px; }
  .ax-al-row .ax-al-hide { display: none; }
}

/* 항공사 관리 보조 내비 */
.air-subnav { position: relative; z-index: 2; margin-top: var(--header-height, 56px); border-bottom: 1px solid var(--border); background: var(--background); }
.air-subnav + .main-layout .air-layout, .air-subnav + .main-layout { padding-top: 0; }
.air-subnav-inner { display: flex; align-items: center; gap: 4px; max-width: 1320px; margin: 0 auto; padding: 6px 24px; overflow-x: auto; scrollbar-width: none; }
.air-subnav-back { color: var(--muted-foreground); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.air-subnav-back:hover { color: var(--foreground); }
.air-subnav-sep { color: var(--border-strong, var(--border)); margin: 0 4px; }
.air-subnav-link { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 999px; color: var(--muted-foreground); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.air-subnav-link:hover { color: var(--foreground); background: var(--hover-overlay, var(--muted)); }
.air-subnav-link.is-active { background: var(--muted); color: var(--foreground); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .flap, .ax-drawer, .led.is-blink { animation: none; }
}

/* 공개 화면 헤더: 페이지 테마를 따르고, "항공" 문맥 글자에 신호 점을 두지 않는다. */
.air-next-page .block-app-header .block-app-context-link { color: var(--foreground); font-weight: 600; letter-spacing: 0; text-transform: none; }
.air-next-page .block-app-header .block-app-context-link::after { content: none; }
@media (max-width: 1024px) { .air-next-page .block-app-header .block-app-header-context { display: inline-flex; } }
