*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; background: #f5f6f8; color: #172033; font-size: 10px; }
.util-nav { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; padding: .5rem 1.5rem; background: rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: .75rem; }
.util-nav .portal { background: #d40511; color: #fff; padding: .35rem .95rem; border-radius: 999px; font-weight: 700; }
.container { max-width: 56rem; margin: 0 auto; padding: 1rem 1.5rem; }
.header { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; }
.logo-row { display: flex; gap: .6rem; align-items: center; color: inherit; text-decoration: none; }
.logo-mark { width: 2rem; height: 2rem; border-radius: .5rem; background: #ffcc00; border: 3px solid #d40511; box-shadow: inset 0 0 0 3px #fff; }
.brand-name { font-size: 1.2rem; font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.02em; }
.brand-tag { color: #5f6675; font-size: .72rem; margin: .15rem 0 0; }
.header-meta { display: flex; gap: 1.25rem; font-weight: 700; font-size: .75rem; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; margin-top: 1rem; background: linear-gradient(135deg, #fff 0%, #f7f8fb 50%, #fff0b8 100%); border: 1px solid #e1e5eb; border-radius: 1rem; padding: 2rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hero-kicker { margin: 0 0 .45rem; color: #d40511; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 28rem; font-size: 2.5rem; line-height: .98; letter-spacing: -.04em; font-weight: 350; }
.hero p { margin: .85rem 0 0; max-width: 31rem; color: #5f6675; line-height: 1.45; font-size: .95rem; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; max-width: 29rem; }
.hero-action { display: flex; flex-direction: column; gap: .2rem; min-height: 5.4rem; padding: .85rem; border: 1px solid #e1e5eb; border-radius: .75rem; background: rgba(255,255,255,.9); color: #172033; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hero-action.primary { background: #d40511; border-color: #d40511; color: #fff; }
.hero-action strong { font-size: .95rem; }
.hero-action span { font-size: .72rem; line-height: 1.25; opacity: .82; }
.air-card { min-height: 18rem; border-radius: 1rem; border: 1px solid rgba(212,5,17,.18); background: radial-gradient(circle at 55% 35%, #fff 0, #fff 38%, #fff2ba 72%, #ffd9dc 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.airplane { font-size: 8rem; transform: rotate(-10deg); filter: drop-shadow(0 1.2rem 1.1rem rgba(23,32,51,.18)); }
.title { font-size: 2rem; font-weight: 350; letter-spacing: -.02em; margin: .8rem 0 0; }
.search { display: flex; align-items: flex-start; gap: 3rem; margin-top: 1.25rem; }
.search-input { width: 100%; max-width: 36rem; }
.search-input input { width: 100%; border: 0; border-bottom: 2px solid #172033; background: transparent; padding: .5rem .4rem; font-size: .95rem; font-weight: 700; outline: none; }
.search-help { display: block; margin-top: .35rem; color: #717889; font-style: italic; font-size: .7rem; }
.search-button { background: #d40511; color: #fff; padding: .7rem 2.8rem; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; }
.results { margin-top: 1.75rem; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.results-header h2 { font-weight: 350; font-size: 1.55rem; margin: 0; }
.results-meta { display: flex; gap: .6rem; font-size: .9rem; align-items: center; }
.results-meta .active { border-bottom: 2px solid #172033; font-weight: 700; }
.ship-card { background: #fff; border: 1px solid #e1e5eb; border-radius: .5rem; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ship-head { display: flex; justify-content: space-between; gap: 1rem; }
.ship-head h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.ship-head .pcs { font-size: .82rem; color: #444b5a; margin: .3rem 0 0; }
.ship-status { text-align: right; font-size: .72rem; min-width: 11rem; }
.ship-status .status-time { margin: 0; }
.ship-status .status-label { font-size: .85rem; margin: .25rem 0 0; font-weight: 700; }
.hint { display: inline-block; margin-top: .45rem; max-width: 15rem; padding: .25rem .55rem; border-radius: .55rem; background: #fff7cf; color: #704b00; font-size: .68rem; line-height: 1.25; text-align: left; }
.timeline { margin-top: 1rem; }
.timeline-row { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 2rem; }
.timeline-row::before { content: ""; position: absolute; left: 3rem; right: 3rem; top: 1rem; height: 3px; background: #d40511; }
.stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.stop-circle { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: #d40511; color: #fff; font-weight: 700; font-size: .72rem; display: flex; align-items: center; justify-content: center; }
.flight-strip { margin-top: .35rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 7.5rem; text-align: center; color: #d40511; }
.flight-label { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; margin: 0; }
.flight-num { margin: .15rem 0 0; font-weight: 600; font-size: .74rem; }
.details { display: grid; gap: .5rem; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid #e1e5eb; grid-template-columns: 1fr 1fr; }
.detail { background: #f8fafc; padding: .6rem .7rem; border-radius: .375rem; }
.detail h3 { margin: 0; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #717889; }
.detail p { margin: .25rem 0 0; font-size: .82rem; line-height: 1.25; }
.events { grid-column: 1 / -1; }
.events ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.events li { background: #f8fafc; padding: .4rem .5rem; border-radius: .375rem; font-size: .72rem; }
.events li.warning { background: #fff7cf; color: #704b00; }
.events li.success { background: #e7f7ed; color: #176b35; }
.empty { background: #fff; border: 1px solid #e1e5eb; border-radius: .5rem; padding: 1rem; }
.empty h2 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.empty p { margin: .35rem 0 0; color: #5f6675; }
footer.app-footer { max-width: 56rem; margin: 1rem auto 0; padding: 0 1.5rem 1rem; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .68rem; color: #5f6675; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
