*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; background: #f4f6f8; color: #0e1a26; font-size: 9.5px; }
.util-nav { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; padding: .45rem 1.5rem; background: rgba(255,255,255,.85); box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: .75rem; }
.util-nav .cust-portal { background: #0a4f7a; color: #fff; padding: .35rem .95rem; border-radius: 999px; font-weight: 600; }
.container { max-width: 52rem; margin: 0 auto; padding: .9rem 1.5rem; }
.header { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; }
.logo-row { display: flex; gap: .55rem; align-items: center; }
a.logo-row { color: inherit; text-decoration: none; }
.logo-mark { display: grid; grid-template-columns: 1fr 1fr; gap: .18rem; }
.logo-mark span { width: .75rem; height: .75rem; border: 3px solid #0a4f7a; display: block; }
.brand-name { font-size: 1.15rem; font-weight: 700; line-height: 1; margin: 0; }
.brand-tag { font-family: serif; font-style: italic; color: #51606b; font-size: .7rem; margin: 0; }
.header-meta { display: flex; gap: 1.25rem; font-weight: 600; font-size: .75rem; }
.notice { display: flex; gap: .75rem; background: #e6f1f8; padding: .75rem 1rem; border-radius: .375rem; margin-top: .7rem; }
.notice-icon { font-weight: 700; color: #0a4f7a; font-size: 1.1rem; line-height: 1; }
.notice h2 { margin: 0; font-weight: 600; font-size: .8rem; }
.notice p { margin: .25rem 0 0; max-width: 48rem; font-size: .78rem; line-height: 1.25; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; margin-top: 1rem; background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 48%, #cfe5f3 100%); border: 1px solid #d6dfe6; border-radius: 1rem; padding: 2rem; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hero-kicker { margin: 0 0 .45rem; color: #0a4f7a; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 25rem; font-size: 2.6rem; line-height: .95; letter-spacing: -.04em; font-weight: 300; }
.hero p { margin: .8rem 0 0; max-width: 28rem; color: #51606b; line-height: 1.45; font-size: .9rem; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; max-width: 27rem; }
.hero-action { display: flex; flex-direction: column; gap: .2rem; min-height: 5.5rem; padding: .85rem; border: 1px solid #d6dfe6; border-radius: .75rem; background: rgba(255,255,255,.86); color: #0e1a26; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hero-action.primary { background: #0a4f7a; border-color: #0a4f7a; color: #fff; }
.hero-action strong { font-size: .95rem; }
.hero-action span { font-size: .72rem; line-height: 1.25; opacity: .82; }
.ship-scene { position: relative; min-height: 18rem; display: flex; align-items: center; justify-content: center; }
.ship-card { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background: #d6dfe6; border: 1px solid rgba(10,79,122,.15); box-shadow: 0 1.3rem 1.6rem rgba(14,26,38,.18); }
.ship-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.title { font-size: 2rem; font-weight: 300; letter-spacing: -.02em; margin: .75rem 0 0; }
.search { display: flex; align-items: flex-start; gap: 3rem; margin-top: 1.25rem; }
.search-input { width: 100%; max-width: 34rem; }
.search-input input { width: 100%; border: 0; border-bottom: 2px solid #0e1a26; background: transparent; padding: .45rem .4rem; font-size: .9rem; font-weight: 600; outline: none; }
.search-help { display: block; margin-top: .35rem; color: #6b7783; font-style: italic; font-size: .68rem; }
.search-button { background: #0a4f7a; color: #fff; padding: .65rem 2.75rem; border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; }
.results { margin-top: 1.7rem; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.results-header h2 { font-weight: 300; 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 #0e1a26; font-weight: 600; }
.ship-item { background: #fff; border: 1px solid #d6dfe6; border-radius: .5rem; padding: .9rem; 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: 600; letter-spacing: -.02em; margin: 0; }
.ship-head .pcs { font-size: .82rem; color: #404a55; margin: .3rem 0 0; }
.ship-status { text-align: right; font-size: .72rem; padding-top: 0; min-width: 9rem; }
.ship-status .status-time { margin: 0; }
.ship-status .status-label { font-size: .85rem; margin: .25rem 0 0; }
.ship-status .delay-pill { display: inline-block; margin-top: .35rem; padding: .15rem .5rem; border-radius: 999px; background: #fde2e2; color: #9a1f1f; font-weight: 700; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.ship-status .delay-pill.ontime { background: #e2f4e7; color: #1f7a36; }
.timeline { margin-top: .9rem; }
.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: #0a4f7a; }
.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: #0a4f7a; color: #fff; font-weight: 600; font-size: .65rem; display: flex; align-items: center; justify-content: center; }
.voyage-strip { margin-top: .35rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 7.5rem; text-align: center; color: #0a4f7a; }
.voyage-label { font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; margin: 0; }
.voyage-num { margin: .15rem 0 0; font-weight: 500; font-size: .74rem; }
.details { display: grid; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #d6dfe6; grid-template-columns: 1fr 1fr; }
.detail { background: #f7fafc; padding: .55rem .7rem; border-radius: .375rem; }
.detail h3 { margin: 0; font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #6b7783; }
.detail p { margin: .25rem 0 0; font-size: .82rem; line-height: 1.25; }
.detail .delayed { color: #9a1f1f; font-weight: 700; }
.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: #f7fafc; padding: .35rem .5rem; border-radius: .375rem; font-size: .72rem; }
.events li.delay-event { background: #fde2e2; color: #9a1f1f; }
.empty { background: #fff; border: 1px solid #d6dfe6; border-radius: .5rem; padding: 1rem; }
.empty h2 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.empty p { margin: .35rem 0 0; color: #51606b; }
footer.app-footer { max-width: 52rem; margin: 1rem auto 0; padding: 0 1.5rem 1rem; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .68rem; color: #51606b; }
.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; }
