*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; background: #eef2f3; color: #0c1b1f; 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: #0d5b6e; 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: .6rem; align-items: center; }
a.logo-row { color: inherit; text-decoration: none; }
.logo-mark { width: 2.2rem; height: 2.2rem; border-radius: .5rem; background: #0d5b6e; display: grid; grid-template-columns: 1fr 1fr; gap: .14rem; padding: .35rem; }
.logo-mark span { background: #5fc6c0; display: block; border-radius: 1px; }
.brand-name { font-size: 1.1rem; font-weight: 700; line-height: 1; margin: 0; letter-spacing: -.01em; }
.brand-tag { color: #51606b; font-size: .68rem; margin: .15rem 0 0; }
.header-meta { display: flex; gap: 1.25rem; font-weight: 600; font-size: .75rem; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; margin-top: 1rem; background: linear-gradient(135deg, #ffffff 0%, #eef2f3 50%, #cfe7e6 100%); border: 1px solid #d4e0e0; border-radius: 1rem; padding: 2rem; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hero-kicker { margin: 0 0 .45rem; color: #0d5b6e; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 26rem; font-size: 2.5rem; line-height: .98; 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: 5rem; padding: .85rem; border: 1px solid #d4e0e0; border-radius: .75rem; background: rgba(255,255,255,.88); color: #0c1b1f; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hero-action.primary { background: #0d5b6e; border-color: #0d5b6e; color: #fff; }
.hero-action strong { font-size: .95rem; }
.hero-action span { font-size: .72rem; line-height: 1.25; opacity: .82; }
.scene { position: relative; min-height: 16rem; display: flex; align-items: center; justify-content: center; }
.scene-card { width: 100%; aspect-ratio: 16 / 10; border-radius: 1rem; background: linear-gradient(160deg, #0d5b6e 0%, #0a3f4d 100%); border: 1px solid rgba(13,91,110,.2); box-shadow: 0 1.3rem 1.6rem rgba(12,27,31,.22); position: relative; overflow: hidden; }
.scene-card .stack { position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; display: grid; grid-template-columns: repeat(6, 1fr); gap: .3rem; }
.scene-card .stack i { height: 1.1rem; border-radius: 2px; display: block; opacity: .92; }
.scene-card .crane { position: absolute; top: 1rem; left: 1.2rem; right: 1.2rem; height: 3px; background: rgba(255,255,255,.5); }
.scene-card .crane::after { content: ""; position: absolute; right: 30%; top: 0; width: 3px; height: 3.2rem; background: rgba(255,255,255,.5); }
.title { font-size: 2rem; font-weight: 300; letter-spacing: -.02em; margin: .75rem 0 0; }
.subtitle { color: #51606b; font-size: .85rem; margin: .35rem 0 0; }
.search { display: flex; align-items: flex-start; gap: 2rem; margin-top: 1.25rem; }
.search-input { width: 100%; max-width: 34rem; }
.search-input input { width: 100%; border: 0; border-bottom: 2px solid #0c1b1f; 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: #0d5b6e; 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.5rem; margin: 0; }
.results-meta { display: flex; gap: .6rem; font-size: .85rem; align-items: center; }
.results-meta .active { border-bottom: 2px solid #0c1b1f; font-weight: 600; }
.box { background: #fff; border: 1px solid #d4e0e0; border-radius: .5rem; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.box-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.box-head h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.box-head .sub { font-size: .82rem; color: #404a55; margin: .3rem 0 0; }
.status-pill { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-weight: 700; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.status-pill.ok { background: #e2f4ef; color: #156c52; }
.status-pill.warn { background: #fdf0db; color: #8a5a09; }
.status-pill.over { background: #fde2e2; color: #9a1f1f; }
.grid { display: grid; gap: .5rem; margin-top: .9rem; grid-template-columns: 1fr 1fr 1fr; }
.cell { background: #f5f9f9; padding: .55rem .7rem; border-radius: .375rem; }
.cell h3 { margin: 0; font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #6b7783; }
.cell p { margin: .25rem 0 0; font-size: .82rem; line-height: 1.25; }
.cell p.strong { font-weight: 700; }
.cell.alert { background: #fde2e2; }
.cell.alert p { color: #9a1f1f; font-weight: 700; }
.cell.lfd-warn { background: #fdf0db; }
.cell.lfd-warn p { color: #8a5a09; font-weight: 700; }
.events { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid #d4e0e0; }
.events h3 { margin: 0 0 .4rem; font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: #6b7783; }
.events ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.events li { background: #f5f9f9; padding: .35rem .55rem; border-radius: .375rem; font-size: .75rem; }
.events li.over { background: #fde2e2; color: #9a1f1f; }
.empty { background: #fff; border: 1px solid #d4e0e0; border-radius: .5rem; padding: 1rem; }
.empty h2 { margin: 0; font-size: 1.1rem; 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; }
