:root {
  color-scheme: dark;
  --nav-h: clamp(86px, 11vh, 118px);
  --navy-950: #020a13;
  --navy-900: #0f2b43;
  --navy-850: #0c2338;
  --navy-800: #113e4c;
  --glass: rgba(15, 43, 67, 0.9);
  --glass-soft: rgba(13, 89, 101, 0.42);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f7fbfc;
  --muted: rgba(231, 241, 244, 0.66);
  --faint: rgba(231, 241, 244, 0.42);
  --teal: #167b85;
  --teal-soft: #7fd0d6;
  --teal-dark: #0d5965;
  --amber: #e96b30;
  --danger: #f18a78;
  --shadow: 0 28px 80px rgba(0, 7, 14, 0.42);
  font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--text);
}

body { touch-action: manipulation; }

button,
input { font: inherit; color: inherit; }

button { cursor: pointer; }

.signage {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-width: 320px;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.media-stage,
.media-backdrop,
.media-layer,
.media-shade,
.media-scan,
.atmosphere,
.film-grain {
  position: absolute;
  inset: 0;
}

.media-stage { z-index: -4; overflow: hidden; background: #0f2b43; transition: right .6s cubic-bezier(.22,1,.36,1), bottom .6s cubic-bezier(.22,1,.36,1); }
.view-home .media-stage { right: 38%; }

.media-backdrop {
  z-index: 0;
  background-position: center;
  background-size: cover;
  filter: blur(30px) saturate(.88);
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 2.4s cubic-bezier(.22,1,.36,1);
}
.media-backdrop.is-active { opacity: .72; }

.media-layer {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.005);
  transition: opacity 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.view-home .media-layer {
  inset: 2%;
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: center;
}

.media-layer.is-active {
  opacity: 1;
  animation: cinema-drift 14s cubic-bezier(0.2, 0.66, 0.28, 1) both;
}

.is-motion-paused .media-layer,
.is-motion-paused .media-scan,
.is-motion-paused .atmosphere,
.is-motion-paused .sea-motion path { animation-play-state: paused !important; }

.media-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 25, 39, 0.27) 0%, rgba(6, 25, 39, 0.02) 72%),
    linear-gradient(0deg, rgba(8, 27, 42, 0.74) 0%, rgba(8, 27, 42, 0.03) 56%);
  pointer-events: none;
}

.media-scan {
  z-index: 3;
  left: -50%;
  width: 42%;
  background: linear-gradient(106deg, transparent 0%, rgba(210, 255, 248, 0.02) 38%, rgba(210, 255, 248, 0.14) 50%, transparent 62%);
  animation: light-scan 12s ease-in-out infinite;
  pointer-events: none;
}

.atmosphere {
  z-index: 4;
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 32%, rgba(160,244,235,.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 74%, rgba(255,255,255,.4) 0 1px, transparent 1.4px);
  background-size: 190px 170px, 240px 210px, 160px 230px;
  animation: atmosphere-drift 28s linear infinite;
  pointer-events: none;
}

.film-grain {
  z-index: 5;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.sea-motion {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: var(--nav-h);
  width: 62%;
  height: 24vh;
  opacity: 0.36;
  pointer-events: none;
}

.sea-motion path {
  fill: none;
  stroke: rgba(43, 168, 181, 0.48);
  stroke-width: 1;
  stroke-dasharray: 7 11;
  animation: sea-flow 18s linear infinite;
}

.sea-motion path:nth-child(2) { opacity: .56; animation-duration: 24s; }
.sea-motion path:nth-child(3) { opacity: .32; animation-duration: 31s; }

.topbar {
  position: absolute;
  z-index: 30;
  top: max(28px, env(safe-area-inset-top));
  right: max(40px, env(safe-area-inset-right));
  left: max(40px, env(safe-area-inset-left));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.brand-plate {
  position: relative;
  isolation: isolate;
  display: block;
}

.brand-plate::before {
  position: absolute;
  z-index: -1;
  inset: -18px -30px;
  content: "";
  background: radial-gradient(ellipse at left, rgba(255,255,255,.45), rgba(255,255,255,.1) 46%, transparent 74%);
  filter: blur(13px);
}

.brand-plate img {
  display: block;
  width: clamp(215px, 16vw, 320px);
  height: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 10, 18, .48));
}

.header-telemetry {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(10px, 1.2vw, 22px);
  min-width: 0;
}

.weather-strip {
  display: flex;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.17);
  background: linear-gradient(135deg, rgba(15,43,67,.88), rgba(13,89,101,.58));
  box-shadow: 0 12px 32px rgba(0, 8, 15, .18);
  backdrop-filter: blur(18px);
}

.weather-place {
  display: grid;
  grid-template-columns: 28px auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  min-width: clamp(152px, 12vw, 206px);
  padding: 9px 13px;
}

.weather-place + .weather-place { border-left: 1px solid var(--line); }
.weather-emoji { grid-row: 1 / 3; width: 28px; font-size: 22px; line-height: 1; filter: saturate(.86); }
.weather-place > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.weather-place > div > span { color: var(--muted); font-size: 9px; font-weight: 760; letter-spacing: .04em; }
.weather-place > div > strong { font-size: clamp(20px, 1.45vw, 29px); font-weight: 390; line-height: 1; }
.weather-place > div > strong b { font: inherit; }
.weather-place > p { display: flex; justify-content: space-between; gap: 10px; margin: 0; color: var(--faint); font-size: 9px; }
.weather-place > p em { color: var(--muted); font-style: normal; white-space: nowrap; }
.weather-place > p b { color: #e6fbfb; font-weight: 700; }
.weather-place.is-waiting { opacity: .62; }

.language-toggle {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  min-height: 62px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(15,43,67,.78);
  pointer-events: auto;
  backdrop-filter: blur(18px);
}
.language-toggle button { border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.language-toggle button.is-current { background: #f8fbfc; color: #0f2b43; box-shadow: 0 5px 16px rgba(0,0,0,.18); }

.clock-block {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
  text-shadow: 0 2px 22px rgba(0,0,0,.48);
}

.clock-block strong { font-size: clamp(48px, 4vw, 78px); font-weight: 240; letter-spacing: -.065em; line-height: .82; }
.clock-block span { color: var(--muted); font-size: clamp(11px, .78vw, 15px); font-weight: 620; letter-spacing: .03em; }

.screen-view {
  position: absolute;
  z-index: 5;
  inset: 0 0 var(--nav-h);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .48s ease, visibility .48s ease, transform .48s ease;
}

.screen-view.is-visible { opacity: 1; visibility: visible; transform: none; }

.home-view { display: grid; grid-template-columns: minmax(0, 62%) minmax(430px, 38%); }

.hero-pane { position: relative; min-width: 0; overflow: hidden; }

.campaign-copy {
  position: absolute;
  left: max(54px, 4.4vw);
  bottom: clamp(104px, 15vh, 174px);
  width: min(760px, 53vw);
  text-shadow: 0 5px 38px rgba(0,0,0,.6);
}

.campaign-copy::before {
  position: absolute;
  top: 3px;
  bottom: 2px;
  left: -24px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, #2ba8b5, rgba(43,168,181,0));
}

.eyebrow,
.section-index {
  display: block;
  margin: 0 0 14px;
  color: #d5f5f7;
  font-size: clamp(10px, .73vw, 14px);
  font-weight: 800;
  letter-spacing: .27em;
  line-height: 1.4;
  text-transform: uppercase;
}

.campaign-copy h1,
.campaign-copy h2 { margin: 0; font-size: clamp(46px, 4.05vw, 80px); letter-spacing: -.055em; line-height: 1.06; }
.campaign-copy h1 { font-weight: 320; }
.campaign-copy h2 { font-weight: 780; }
.campaign-subtitle { margin: 22px 0 0; color: var(--muted); font-size: clamp(16px, 1.18vw, 22px); font-weight: 520; }

.frame-caption {
  position: absolute;
  right: 24px;
  top: 48%;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .25em;
  writing-mode: vertical-rl;
}

.hero-controls {
  position: absolute;
  right: max(32px, 3vw);
  bottom: 38px;
  left: max(54px, 4.4vw);
  display: flex;
  align-items: center;
  gap: 16px;
}

.scene-progress { display: flex; flex: 1; gap: 8px; max-width: 390px; }
.scene-progress button { width: 100%; height: 24px; padding: 0; border: 0; background: transparent; }
.scene-progress button::before { display: block; width: 100%; height: 3px; content: ""; background: rgba(255,255,255,.28); transition: background .3s, transform .3s; }
.scene-progress button.is-current::before { background: #2ba8b5; transform: scaleY(1.8); }

.motion-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(3,16,28,.36);
  backdrop-filter: blur(12px);
}
.motion-toggle svg { grid-area: 1/1; width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle .icon-play { display: none; }
.is-motion-paused .motion-toggle .icon-pause { display: none; }
.is-motion-paused .motion-toggle .icon-play { display: block; }
.hero-controls small { min-width: 58px; color: rgba(255,255,255,.67); font-size: 10px; font-weight: 750; letter-spacing: .14em; }

.lobby-panel {
  position: relative;
  z-index: 9;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1.02fr) minmax(0, 1fr) auto;
  gap: clamp(10px, 1.3vh, 16px);
  min-width: 0;
  padding: clamp(86px, 11vh, 122px) clamp(28px, 2.8vw, 52px) clamp(22px, 3vh, 36px);
  border-left: 1px solid rgba(255,255,255,.2);
  background:
    linear-gradient(148deg, rgba(15,43,67,.975), rgba(12,35,56,.985)),
    #0f2b43;
  box-shadow: -24px 0 80px rgba(1,8,14,.24);
  overflow: hidden;
}

.lobby-panel::after {
  position: absolute;
  top: -30%;
  right: -60%;
  width: 120%;
  height: 42%;
  content: "";
  background: linear-gradient(108deg, transparent, rgba(43,168,181,.1), transparent);
  animation: panel-scan 11s ease-in-out infinite;
  pointer-events: none;
}

.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.panel-heading .section-index { margin-bottom: 6px; }
.panel-heading h2 { margin: 0; font-size: clamp(27px, 2vw, 39px); font-weight: 740; letter-spacing: -.045em; }

.live-source { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.live-source i { width: 7px; height: 7px; border-radius: 50%; background: #71828d; }
.live-source.is-live i { background: #2ba8b5; box-shadow: 0 0 14px rgba(43,168,181,.72); }
.live-source small { color: var(--faint); }

.today-stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.today-stats > div { display: flex; align-items: center; justify-content: space-between; min-height: clamp(62px, 8vh, 86px); padding: 12px clamp(14px, 1.4vw, 24px); }
.today-stats > div + div { border-left: 1px solid var(--line-strong); }
.today-stats span { color: var(--muted); font-size: clamp(11px, .78vw, 14px); font-weight: 650; }
.today-stats strong { color: #fff; font-size: clamp(26px, 2.15vw, 42px); font-weight: 400; letter-spacing: -.04em; }
.today-stats small { margin-left: 4px; color: var(--muted); font-size: 11px; font-weight: 620; }

.panel-section { min-height: 0; overflow: hidden; }
.panel-section > header { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 7px; }
.panel-section h3 { margin: 0; font-size: clamp(13px, .95vw, 17px); font-weight: 700; }
.panel-section header button,
.panel-section header span { padding: 0; border: 0; background: none; color: var(--teal-soft); font-size: 10px; font-weight: 700; }

.compact-list { border: 1px solid var(--line); }
.compact-row {
  display: grid;
  grid-template-columns: 36px minmax(78px,.7fr) 64px minmax(0,1.25fr) 18px;
  align-items: center;
  width: 100%;
  min-height: clamp(42px, 5.4vh, 56px);
  padding: 5px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.compact-row:hover,
.compact-row:focus-visible { background: rgba(28,136,143,.18); outline: 1px solid rgba(103,235,224,.5); outline-offset: -1px; }
.compact-row:disabled { cursor: default; }
.compact-row:last-child { border-bottom: 0; }
.compact-icon { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.035); color: var(--teal-soft); font-size:13px; }
.compact-row strong { font-size: clamp(12px, .92vw, 16px); }
.compact-row .status-label { color: var(--teal-soft); font-size: 11px; font-weight: 750; }
.compact-row p { margin: 0; overflow: hidden; color: var(--faint); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.compact-row svg { width: 15px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.compact-placeholder,
.present-placeholder,
.agenda-placeholder { display:grid; place-items:center; min-height:clamp(48px,5.4vh,58px); padding:10px 14px; border:1px solid var(--line); color:var(--faint); font-size:10px; text-align:center; }

.agenda-list { display:grid; min-height:0; border:1px solid var(--line); }
.agenda-row { display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center; gap:10px; min-height:clamp(42px,5vh,52px); padding:6px 11px; border-bottom:1px solid var(--line); }
.agenda-row:last-child { border-bottom:0; }
.agenda-icon { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:rgba(233,107,48,.13); color:#f5946a; font-size:13px; }
.agenda-copy { min-width:0; }
.agenda-copy strong { display:block; overflow:hidden; font-size:clamp(11px,.8vw,14px); text-overflow:ellipsis; white-space:nowrap; }
.agenda-copy span { display:block; margin-top:2px; color:var(--faint); font-size:9px; letter-spacing:.03em; }

.present-list { display: flex; gap: 8px; min-height: 0; overflow: hidden; }
.present-person {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  text-align: left;
}
.present-person:hover,
.present-person:focus-visible { border-color:var(--teal); background:rgba(25,140,143,.18); outline:0; }
.present-person strong { display: block; overflow: hidden; font-size: clamp(12px,.85vw,15px); text-overflow: ellipsis; white-space: nowrap; }
.present-person span { display: block; margin-top: 4px; overflow: hidden; color: var(--faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.panel-primary {
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  align-items: center;
  gap: 14px;
  min-height: clamp(50px, 6.2vh, 62px);
  padding: 0 18px;
  border: 1px solid #2ba8b5;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(22,123,133,.72), rgba(13,89,101,.55));
  font-size: clamp(14px, 1.02vw, 18px);
  font-weight: 720;
  transition: background .25s, transform .25s;
}
.panel-primary:hover,
.panel-primary:focus-visible { background: linear-gradient(90deg, rgba(24,156,158,.58), rgba(8,53,67,.78)); transform: translateY(-1px); outline: 2px solid rgba(135,245,235,.75); outline-offset: 3px; }
.panel-primary svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.panel-primary svg:last-child { justify-self: end; }

.content-view { background: rgba(3,14,24,.78); backdrop-filter: blur(13px) saturate(.78); }
.content-shell { height: 100%; padding: clamp(88px, 11vh, 126px) max(44px, 4.4vw) 26px; }
.content-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(20px, 2.8vh, 34px); }
.content-heading .section-index { margin-bottom: 6px; }
.content-heading h1,
.staff-heading h1,
.fleet-heading h1 { margin: 0; font-size: clamp(42px, 3.5vw, 70px); font-weight: 720; letter-spacing: -.06em; line-height: 1; }
.content-heading > p { margin: 0 0 4px; color: var(--muted); font-size: clamp(14px, 1.05vw, 20px); }

.today-layout { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(340px,.9fr); gap: 18px; height: calc(100% - clamp(98px, 12vh, 132px)); padding-bottom: 36px; }
.data-panel { display: grid; grid-template-rows: auto minmax(0,1fr); border: 1px solid var(--line-strong); background: rgba(4,18,31,.7); box-shadow: var(--shadow); overflow: hidden; }
.data-panel > header { display: flex; align-items: center; justify-content: space-between; min-height: 80px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.data-panel header small { color: var(--teal-soft); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.data-panel header h2 { margin: 5px 0 0; font-size: clamp(18px,1.35vw,26px); }
.data-panel > header > strong { color: var(--teal-soft); font-size: 38px; font-weight: 300; }

.travel-list,
.event-list { min-height: 0; overflow: hidden; }
.travel-row { display: grid; grid-template-columns: 9px minmax(120px,.72fr) 72px minmax(0,1.25fr); align-items: center; gap: 14px; width:100%; min-height: 70px; padding: 10px 20px; border:0; border-bottom: 1px solid var(--line); background:transparent; text-align:left; }
.travel-row:hover:not(:disabled),
.travel-row:focus-visible:not(:disabled) { background:rgba(25,140,143,.15); outline:1px solid rgba(103,235,224,.45); outline-offset:-1px; }
.travel-row:disabled { cursor:default; }
.kind-dot { width: 6px; height: 28px; background: var(--teal); }
.kind-trip { background: #61b7ff; }.kind-visit { background: var(--teal); }.kind-training { background: var(--amber); }.kind-field { background: #9e8cff; }
.person strong { display: block; font-size: 15px; }.person small { display: block; margin-top: 3px; color: var(--faint); font-size: 10px; }
.kind-label { justify-self: start; padding: 4px 8px; border: 1px solid var(--line-strong); color: var(--teal-soft); font-size: 10px; font-weight: 750; }
.travel-row p { margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.event-row { display: grid; grid-template-columns: 68px 1fr; align-items: center; min-height: 86px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.event-row time { display: grid; justify-items: center; padding-right: 16px; border-right: 1px solid var(--line); }
.event-row time small { color: var(--faint); font-size: 10px; }.event-row time strong { font-size: 26px; font-weight: 350; }
.event-copy { padding-left: 18px; }.event-copy span { color: var(--teal-soft); font-size: 9px; font-weight: 750; }.event-copy h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.4; }
.empty-state { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 100%; padding: 24px; text-align: center; }
.empty-state i { width: 36px; height: 36px; border: 1px solid rgba(78,222,211,.35); transform: rotate(45deg); }
.empty-state strong { font-size: 14px; }.empty-state span { color: var(--faint); font-size: 11px; }
.content-footer { position: absolute; right: max(44px,4.4vw); bottom: 20px; left: max(44px,4.4vw); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement { display: flex; align-items: center; gap: 12px; min-width: 0; }.announcement span { color: var(--teal-soft); font-size: 9px; font-weight: 800; letter-spacing: .15em; }.announcement p { margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.staff-shell { padding-top: clamp(92px, 11vh, 130px); }
.staff-heading { display: grid; grid-template-columns: minmax(250px,.36fr) minmax(420px,.64fr); align-items: end; gap: 26px; margin-bottom: 18px; }
.staff-heading .section-index { margin-bottom: 6px; }
.staff-search { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px; border: 1px solid var(--line-strong); background: rgba(9,31,47,.62); }
.staff-search svg { width: 24px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.staff-search input { width: 100%; height: 54px; border: 0; outline: 0; background: transparent; font-size: clamp(16px,1.25vw,22px); }
.staff-search input::placeholder { color: rgba(255,255,255,.38); }
.staff-workspace { display: grid; grid-template-columns: minmax(170px,.2fr) minmax(390px,.45fr) minmax(340px,.35fr); gap: 16px; height: calc(100% - 102px); min-height: 0; }
.department-rail,
.directory-panel,
.staff-detail { min-height: 0; border: 1px solid var(--line-strong); background: rgba(4,18,31,.78); overflow: hidden; }
.department-rail { display: grid; align-content: start; overflow-y: auto; }
.department-rail button { min-height: 52px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 12px; font-weight: 650; }
.department-rail button.is-current { border-left: 3px solid var(--teal); background: linear-gradient(90deg, rgba(25,143,146,.28), transparent); color: var(--teal-soft); }
.directory-panel { display: grid; grid-template-rows: 42px minmax(0,1fr); }
.directory-head,
.staff-row { display: grid; grid-template-columns: .72fr 1.2fr .62fr; align-items: center; gap: 10px; }
.directory-head { padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.staff-list { min-height: 0; overflow-y: auto; }
.staff-row { width: 100%; min-height: 60px; padding: 8px 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.staff-row:hover,
.staff-row.is-current { background: linear-gradient(90deg, rgba(21,123,132,.32), rgba(16,69,84,.12)); }
.staff-row.is-current { box-shadow: inset 3px 0 var(--teal); }
.staff-row strong { font-size: 14px; }.staff-row .staff-meta { min-width: 0; }.staff-row .staff-meta span { display: block; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.staff-row .staff-meta small { display: block; margin-top: 3px; color: var(--faint); font-size: 9px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }.status::before { width: 7px; height: 7px; border-radius: 50%; background: #70818d; content: ""; }.status-present::before { background: var(--teal); box-shadow: 0 0 10px rgba(50,214,202,.65); }.status-trip::before,.status-field::before { background: #61b7ff; }.status-visit::before { background: #8ee8dc; }.status-training::before { background: var(--amber); }

.staff-detail { position: relative; padding: clamp(14px,1.35vw,21px); overflow-y: auto; }
.detail-empty { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; text-align: center; }.detail-empty i { width: 52px; height: 52px; border: 1px solid rgba(75,225,213,.4); border-radius: 50%; }.detail-empty span { color: var(--faint); font-size: 11px; }
.detail-person { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 12px; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.initial-avatar { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--teal); border-radius: 50%; background: rgba(31,132,137,.2); color: #d9fffa; font-size: 21px; font-weight: 500; }
.detail-person h2 { margin: 0; font-size: clamp(24px,1.8vw,34px); }.detail-person p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }.detail-person .status { margin-top: 7px; }
.contact-toggle { min-width: 96px; min-height: 44px; padding: 0 13px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); color: var(--muted); font-size: 10px; font-weight: 720; white-space: nowrap; }
.contact-toggle.is-current { border-color: var(--teal); background: rgba(27,135,140,.2); color: var(--teal-soft); }
.office-contact { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: 12px; margin: 9px 0 0; padding: 9px 12px; border: 1px solid rgba(75,225,213,.3); background: linear-gradient(90deg,rgba(24,111,119,.2),rgba(255,255,255,.02)); }
.office-contact div { display: grid; gap: 3px; }.office-contact span { color: var(--teal-soft); font-size: 9px; font-weight: 760; letter-spacing: .08em; }.office-contact strong { font-size: 15px; letter-spacing: .01em; white-space: nowrap; }
.call-form h3 { margin: 13px 0 4px; font-size: 18px; }.call-form > p { margin: 0 0 9px; color: var(--faint); font-size: 10px; }
.purpose-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }.purpose-options button { min-height: 49px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); font-size: 11px; font-weight: 680; }.purpose-options button.is-current { border-color: var(--teal); background: rgba(27,135,140,.28); color: var(--teal-soft); }
.visitor-field { display: grid; gap: 5px; margin: 8px 0; color: var(--muted); font-size: 9px; font-weight: 700; }.visitor-field input { height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); outline: 0; cursor: pointer; }.visitor-field input:focus { border-color: var(--teal); }
.send-call { width: 100%; min-height: 48px; border: 1px solid var(--teal); background: linear-gradient(90deg,#167d85,#249ca0); font-size: 13px; font-weight: 760; }.send-call:disabled { opacity: .55; cursor: wait; }
.call-success { display: grid; place-items: center; align-content: center; gap: 12px; height: 100%; text-align: center; }.call-success i { width: 64px; height: 64px; border: 1px solid var(--teal); border-radius: 50%; position: relative; }.call-success i::after { position:absolute; left:21px; top:15px; width:18px; height:30px; border-right:2px solid var(--teal-soft); border-bottom:2px solid var(--teal-soft); content:""; transform:rotate(42deg); }.call-success strong { font-size: 22px; }.call-success p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.fleet-view { background: linear-gradient(90deg,rgba(2,13,23,.86),rgba(2,13,23,.12) 58%,rgba(2,13,23,.36)); }
.fleet-shell { position: relative; }
.fleet-heading { position: absolute; top: clamp(98px,12vh,142px); left: max(50px,4.4vw); }.fleet-heading .section-index { margin-bottom: 6px; }
.fleet-data-plate { position: absolute; top: clamp(216px,25vh,290px); left: max(50px,4.4vw); width: min(430px,34vw); }
.fleet-data-plate > strong { display: block; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--teal); font-size: clamp(36px,3.2vw,64px); letter-spacing: -.05em; }
.fleet-data-plate dl { margin: 0; border-top: 1px solid var(--line); }.fleet-data-plate dl > div { display: grid; grid-template-columns: 115px 1fr; min-height: 46px; align-items: center; border-bottom: 1px solid var(--line); }.fleet-data-plate dt { color: var(--muted); font-size: 11px; }.fleet-data-plate dd { margin: 0; font-size: 16px; font-weight: 720; }
.fleet-rail-wrap { position: absolute; right: max(50px,4.4vw); bottom: 58px; left: max(50px,4.4vw); display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 8px; min-height: 76px; border: 1px solid var(--line-strong); background: rgba(3,16,28,.72); backdrop-filter: blur(16px); }
.rail-arrow { display: grid; place-items:center; width:48px; height:74px; padding:0; border:0; background:transparent; }.rail-arrow svg { width:26px; fill:none; stroke:currentColor; stroke-width:1.8; }
.fleet-rail { display:flex; min-width:0; overflow-x:auto; scrollbar-width:none; scroll-behavior:smooth; }.fleet-rail::-webkit-scrollbar{display:none}.fleet-rail button { flex:0 0 auto; min-width:112px; height:60px; padding:0 12px; border:0; border-right:1px solid var(--line); background:transparent; color:var(--muted); font-size:10px; font-weight:720; white-space:nowrap; }.fleet-rail button.is-current { color:var(--teal-soft); box-shadow:inset 0 -2px var(--teal); background:rgba(26,130,137,.16); }
.fleet-counter { position:absolute; right:50%; bottom:28px; margin:0; transform:translateX(50%); color:var(--teal-soft); font-size:12px; font-weight:800; letter-spacing:.16em; }

.company-view { background: linear-gradient(135deg,rgba(2,12,21,.93),rgba(5,27,41,.82)); }
.company-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(520px,1.15fr); gap:42px; height:calc(100% - 178px); }
.company-statement { align-self:center; max-width:560px; }.company-statement > strong { font-size:clamp(34px,3.2vw,62px); letter-spacing:-.06em; }.company-statement > p { max-width:520px; margin:22px 0 30px; color:var(--muted); font-size:clamp(14px,1.05vw,19px); line-height:1.8; }
.company-numbers { display:flex; border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }.company-numbers div { flex:1; padding:16px 12px; }.company-numbers div+div{border-left:1px solid var(--line)}.company-numbers b{display:block;color:var(--teal-soft);font-size:32px;font-weight:360}.company-numbers span{color:var(--faint);font-size:10px}
.service-list { display:grid; grid-template-rows:repeat(4,1fr); border-top:1px solid var(--line-strong); }.service-list article { display:grid; grid-template-columns:60px 1fr; align-items:center; border-bottom:1px solid var(--line-strong); }.service-list article>span{color:var(--teal-soft);font-size:11px;font-weight:800}.service-list h2{margin:0;font-size:clamp(19px,1.35vw,26px)}.service-list p{margin:5px 0 0;color:var(--muted);font-size:11px}
.organization-strip { position:absolute; right:max(44px,4.4vw); bottom:24px; left:max(44px,4.4vw); display:flex; align-items:center; gap:20px; min-height:52px; padding:0 18px; border:1px solid var(--line); color:var(--muted); font-size:10px; }.organization-strip>span{color:var(--teal-soft);font-weight:800}.organization-strip>i{height:24px;width:1px;background:var(--line-strong)}.organization-strip strong{font-weight:650}

.virtual-keyboard {
  position: absolute;
  z-index: 70;
  right: max(18px, 3vw);
  bottom: calc(var(--nav-h) + 12px);
  left: max(18px, 3vw);
  display: grid;
  gap: 8px;
  max-width: 1100px;
  max-height: calc(100% - var(--nav-h) - 26px);
  margin: auto;
  padding: 14px 18px 16px;
  border: 1px solid rgba(108, 229, 221, .56);
  background: linear-gradient(150deg, rgba(4, 20, 33, .985), rgba(8, 39, 51, .98));
  box-shadow: 0 -20px 80px rgba(0, 5, 12, .62), inset 0 1px rgba(255,255,255,.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  backdrop-filter: blur(22px);
}

.virtual-keyboard.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.virtual-keyboard > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.virtual-keyboard > header > div { display: flex; align-items: baseline; min-width: 0; gap: 18px; }
.virtual-keyboard > header span { color: var(--teal-soft); font-size: 9px; font-weight: 820; letter-spacing: .13em; }
.virtual-keyboard > header strong { overflow: hidden; font-size: clamp(15px,1.25vw,21px); text-overflow: ellipsis; white-space: nowrap; }
.virtual-keyboard > header button { min-width: 72px; min-height: 42px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.035); color: var(--muted); font-size: 11px; font-weight: 720; }
.keyboard-suggestions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.keyboard-suggestion { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 9px; min-height: 43px; padding: 6px 11px; border: 1px solid var(--line); background: rgba(24,91,104,.17); text-align: left; }
.keyboard-suggestion strong { color: #f4ffff; font-size: 12px; }.keyboard-suggestion span { overflow: hidden; color: var(--faint); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.keyboard-keys { display: grid; gap: 6px; }
.keyboard-row { display: flex; justify-content: center; gap: 6px; }
.keyboard-row button { flex: 0 1 76px; min-width: 47px; min-height: clamp(46px,5.4vh,61px); padding: 0; border: 1px solid rgba(158,210,218,.3); background: linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); color: #f3ffff; box-shadow: inset 0 1px rgba(255,255,255,.04); font-size: clamp(16px,1.3vw,22px); font-weight: 560; }
.keyboard-row button:active { border-color: var(--teal); background: rgba(36,156,160,.35); transform: translateY(1px); }
.keyboard-row .key-control { flex-basis: 92px; color: var(--teal-soft); }.keyboard-row .key-control.is-current { border-color: var(--teal); background: rgba(36,156,160,.28); }
.keyboard-controls button { min-height: 48px; font-size: 11px; font-weight: 720; }.keyboard-controls .key-mode { flex-basis: 150px; }.keyboard-controls .key-space { flex-basis: 390px; }.keyboard-controls .key-clear { flex-basis: 120px; color: var(--muted); }.keyboard-controls .key-done { flex-basis: 160px; border-color: var(--teal); background: linear-gradient(90deg,#167d85,#249ca0); }

.kiosk-nav {
  position: absolute;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: repeat(5,1fr);
  border-top: 1px solid rgba(179,221,229,.48);
  background: linear-gradient(180deg,rgba(14,35,51,.95),rgba(3,14,25,.98));
  box-shadow: 0 -20px 60px rgba(0,7,14,.2);
}
.kiosk-nav button { position:relative; display:flex; align-items:center; justify-content:center; gap:14px; border:0; border-right:1px solid var(--line-strong); background:transparent; color:rgba(255,255,255,.78); font-size:clamp(15px,1.25vw,23px); font-weight:580; transition:background .28s,color .28s; }.kiosk-nav button:last-child{border-right:0}.kiosk-nav button::after{position:absolute;right:12%;bottom:0;left:12%;height:2px;content:"";background:transparent;box-shadow:none}.kiosk-nav button.is-current{background:linear-gradient(180deg,rgba(25,119,127,.42),rgba(7,42,57,.34));color:#fff}.kiosk-nav button.is-current::after{background:var(--teal);box-shadow:0 0 18px var(--teal)}.kiosk-nav svg{width:clamp(24px,1.8vw,34px);fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.kiosk-nav button:focus-visible{outline:2px solid var(--teal-soft);outline-offset:-4px}

.toast { position:absolute; z-index:80; top:110px; left:50%; min-width:280px; max-width:min(640px,80vw); padding:14px 20px; border:1px solid var(--teal); background:rgba(3,24,34,.95); box-shadow:var(--shadow); opacity:0; transform:translate(-50%,-12px); pointer-events:none; transition:opacity .25s,transform .25s; text-align:center; font-size:13px; }.toast.is-visible{opacity:1;transform:translate(-50%,0)}
.loading-screen { position:absolute; z-index:100; inset:0; display:grid; place-items:center; align-content:center; gap:24px; background:#061523; transition:opacity .65s,visibility .65s; }.loading-screen img{width:min(340px,42vw)}.loading-screen span{position:relative;width:190px;height:2px;overflow:hidden;background:rgba(255,255,255,.12)}.loading-screen span::after{position:absolute;inset:0;width:45%;content:"";background:var(--teal);animation:loading-line 1.2s ease-in-out infinite}.signage:not(.is-loading) .loading-screen{opacity:0;visibility:hidden}

@keyframes cinema-drift { from { transform: scale(1.005) translate3d(var(--from-x,0),var(--from-y,0),0); } to { transform:scale(1.038) translate3d(var(--to-x,-1.2%),var(--to-y,-.6%),0); } }
@keyframes light-scan { 0%,18%{transform:translateX(-45%) skewX(-8deg);opacity:0} 42%{opacity:1} 68%,100%{transform:translateX(360%) skewX(-8deg);opacity:0} }
@keyframes atmosphere-drift { to { background-position:190px -120px,-240px 180px,160px -230px; } }
@keyframes sea-flow { to { stroke-dashoffset:-360; } }
@keyframes panel-scan { 0%,35%{transform:translateX(-80%) rotate(12deg)} 70%,100%{transform:translateX(85%) rotate(12deg)} }
@keyframes loading-line { from{transform:translateX(-100%)} to{transform:translateX(320%)} }

@media (max-aspect-ratio: 4 / 5) {
  :root { --nav-h: clamp(96px,8vh,126px); }
  .topbar { left:30px; right:30px; }
  .brand-plate img { width:min(300px,48vw); }
  .header-telemetry { gap: 14px; }
  .weather-place { min-width: 132px; padding-right: 10px; padding-left: 10px; }
  .weather-emoji { width:23px; font-size:19px; }
  .clock-block strong { font-size: clamp(47px,7vw,68px); }
  .screen-view { bottom:var(--nav-h); }
  .home-view { grid-template-columns:1fr; grid-template-rows:40% 60%; }
  .view-home .media-stage { right:0; bottom:60%; }
  .hero-pane { grid-row:1; }
  .lobby-panel { grid-row:2; grid-template-rows:auto auto minmax(120px,1fr) minmax(118px,1fr) auto; gap:8px; padding:18px max(34px,5vw) 14px; border-top:1px solid var(--line-strong); border-left:0; }
  .campaign-copy { left:max(42px,6vw); bottom:90px; width:72vw; }.campaign-copy .eyebrow{display:none}.campaign-copy h1,.campaign-copy h2{font-size:clamp(48px,8vw,78px)}
  .hero-controls { left:max(42px,6vw); right:max(42px,6vw); bottom:24px; }.frame-caption{display:none}.sea-motion{width:100%;bottom:54%}
  .compact-row { grid-template-columns:36px minmax(100px,.7fr) 70px minmax(0,1.4fr) 18px; }
  .content-shell { padding:110px 34px 24px; }.today-layout{grid-template-columns:1fr;grid-template-rows:1fr .82fr;height:calc(100% - 130px)}
  .staff-heading{grid-template-columns:1fr;gap:14px}.staff-workspace{grid-template-columns:180px minmax(0,1fr);grid-template-areas:"depart list" "detail detail";grid-template-rows:minmax(360px,1fr) minmax(360px,.9fr);height:calc(100% - 152px)}.department-rail{grid-area:depart}.directory-panel{grid-area:list}.staff-detail{grid-area:detail}.call-form{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.detail-person{grid-column:1/-1;grid-row:1}.office-contact{grid-column:2;grid-row:2/4;margin:0}.call-form h3{grid-column:1;grid-row:2;margin-top:2px}.call-form>p{grid-column:1;grid-row:3;margin-bottom:0}.purpose-options{grid-column:1;grid-row:4}.visitor-field{grid-column:2;grid-row:4;margin:0}.send-call{grid-column:1/-1;grid-row:5;align-self:end}
  .virtual-keyboard { right: 16px; bottom: calc(var(--nav-h) + 10px); left: 16px; padding-right: 12px; padding-left: 12px; }
  .keyboard-row button { flex-basis: 68px; min-width: 43px; }
  .fleet-data-plate{width:min(470px,60vw)}.fleet-rail-wrap{bottom:72px}.company-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr;height:calc(100% - 210px)}.company-statement{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:none}.company-statement>strong,.company-statement>p{grid-column:1}.company-numbers{grid-column:2;grid-row:1/3;align-self:center}.organization-strip{flex-wrap:wrap;height:auto;padding:12px 18px}
}

@media (max-width: 760px) {
  .topbar{top:20px;left:22px;right:22px}.brand-plate img{width:170px}.header-telemetry{gap:7px}.weather-place{grid-template-columns:auto;min-width:92px;padding:7px 8px}.weather-emoji,.weather-place>p>span{display:none}.weather-place>div{gap:5px}.weather-place>div>span{font-size:8px}.weather-place>div>strong{font-size:20px}.weather-place>p{justify-content:flex-end}.language-toggle{grid-template-columns:repeat(2,34px);min-height:54px;padding:4px}.clock-block strong{font-size:43px}.clock-block span{display:none}
  .lobby-panel{padding-right:22px;padding-left:22px}.today-stats strong{font-size:24px}.compact-row{grid-template-columns:30px 1fr 60px 18px;min-height:42px}.compact-row p{display:none}.present-list .present-person:nth-child(n+4){display:none}
  .kiosk-nav button{gap:6px;font-size:11px;flex-direction:column}.kiosk-nav svg{width:22px}.content-heading>p{display:none}.content-shell{padding-right:22px;padding-left:22px}
  .staff-workspace{grid-template-columns:130px 1fr}.directory-head,.staff-row{grid-template-columns:.8fr 1.1fr}.directory-head span:last-child,.staff-row .status{display:none}.purpose-options{grid-template-columns:1fr}.company-layout{gap:18px}.organization-strip{display:none}
  .virtual-keyboard{right:8px;left:8px;padding:10px 8px}.keyboard-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}.keyboard-row{gap:4px}.keyboard-row button{min-width:34px;min-height:45px;font-size:15px}.keyboard-controls .key-space{flex-basis:190px}.keyboard-controls button{font-size:9px}.office-contact{grid-template-columns:1fr}
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
