* { box-sizing: border-box; }
[hidden] { display: none !important; }
.ops-body { margin: 0; min-height: 100dvh; background: #071827; color: #eaf8ff; font-family: system-ui, sans-serif; }
.ops-topbar { display: flex; align-items: center; gap: 15px; min-height: 62px; padding: 7px 17px; border-bottom: 1px solid #2f5f7b; background: #0a253a; }
.ops-topbar .tappa-logo-link { display: inline-flex; align-items: center; gap: 7px; flex: none; color: #fff; text-decoration: none; font-weight: 800; }
.ops-topbar .tappa-logo-link img { width: 39px; height: 39px; }
.ops-topbar > div { display: grid; gap: 2px; }
.ops-topbar > div strong { font-size: .92rem; }
.ops-topbar > div small { color: #a6d4e8; font-size: .7rem; }
.ops-topbar nav { display: flex; gap: 14px; margin-left: auto; white-space: nowrap; }
.ops-topbar nav a { color: #aeeaff; font-size: .78rem; font-weight: 800; text-decoration: none; }
.ops-topbar nav a:hover { text-decoration: underline; }
.ops-access { width: min(640px, calc(100% - 28px)); margin: 45px auto; padding: 23px; border: 1px solid #386884; border-radius: 17px; background: #0b2940; }
.ops-access h1 { margin: 0 0 9px; font-size: 1.4rem; }
.ops-access p { color: #bad9e7; line-height: 1.5; }
.ops-access a { color: #74dcff; }
.ops-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); height: calc(100dvh - 62px); min-height: 500px; }
.ops-map-panel { position: relative; min-width: 0; background: #17374e; }
.ops-map { width: 100%; height: 100%; }
.ops-map-status { position: absolute; top: 12px; left: 12px; z-index: 2; max-width: calc(100% - 24px); margin: 0; padding: 9px 12px; border: 1px solid #679db9; border-radius: 10px; background: #09273eea; color: #eefaff; font-size: .8rem; }
.ops-sidebar { overflow-y: auto; padding: 15px; border-left: 1px solid #32637c; background: #09243a; }
.ops-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.ops-heading h1 { margin: 0; font-size: 1.18rem; }
.ops-heading p { margin: 5px 0 0; color: #a9d4e7; font-size: .78rem; }
.ops-heading button { flex: none; min-height: 36px; padding: 7px 10px; border: 1px solid #70b9d9; border-radius: 9px; background: #17415d; color: #fff; font-weight: 800; cursor: pointer; }
.ops-heading button:disabled { opacity: .55; cursor: wait; }
.ops-status { min-height: 20px; margin: 12px 0; color: #aee8fb; font-size: .78rem; }
.ops-status.is-error { color: #ffd0d0; }
.ops-driver-list { display: grid; gap: 7px; }
.ops-driver-list button { width: 100%; padding: 10px 12px; border: 1px solid #3f7895; border-radius: 11px; background: #10344d; color: #eaf8ff; text-align: left; cursor: pointer; }
.ops-driver-list button[aria-pressed="true"] { border-color: #70dfff; background: #155474; box-shadow: inset 0 0 0 1px #70dfff77; }
.ops-driver-list button strong, .ops-driver-list button span { display: block; }
.ops-driver-list button strong { font-size: .9rem; }
.ops-driver-list button span { margin-top: 3px; color: #b6dce9; font-size: .76rem; }
.ops-empty { margin: 10px 0; color: #b7d5e5; font-size: .85rem; }
.ops-detail { margin-top: 15px; padding: 14px; border: 1px solid #3e7591; border-radius: 13px; background: #0d2b42; }
.ops-detail h2 { margin: 0 0 5px; font-size: 1.07rem; }
.ops-detail h3 { margin: 18px 0 8px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.ops-detail p { margin: 5px 0; color: #bedce9; font-size: .81rem; line-height: 1.45; }
.ops-metrics { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ops-metrics span { padding: 6px 8px; border: 1px solid #397998; border-radius: 8px; background: #153c55; color: #e4f7ff; font-size: .73rem; font-weight: 700; }
.ops-ride-card { margin: 7px 0; padding: 10px; border: 1px solid #2c6481; border-radius: 10px; background: #10354e; }
.ops-ride-card strong { display: block; font-size: .84rem; }
.ops-ride-card p { margin: 4px 0 0; }
.ops-ride-card .ops-boarded { color: #aef4d0; font-weight: 800; }
.ops-note { margin: 17px 0 0; color: #a9c8d7; font-size: .72rem; line-height: 1.5; }
.ops-driver-marker { min-width: 40px; height: 40px; padding: 5px 7px; border: 2px solid #fff; border-radius: 999px; background: #087a9b; color: #fff; font: 800 .85rem system-ui, sans-serif; box-shadow: 0 5px 14px #00152177; cursor: pointer; }
.ops-driver-marker.is-selected { background: #e78a2e; }
@media (max-width: 800px) {
  .ops-topbar { flex-wrap: wrap; padding: 7px 10px; }
  .ops-topbar nav { gap: 9px; }
  .ops-workspace { display: block; height: auto; min-height: 0; }
  .ops-map-panel { height: 43dvh; min-height: 270px; }
  .ops-sidebar { overflow: visible; border-left: 0; border-top: 1px solid #32637c; }
}
