@font-face {
  font-family: OclumInter;
  src: url("/oclum-inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --asset-panel-width: 318px;
  --detail-panel-width: 310px;
  --drawer-height: 235px;
  --resize-rail: 18px;
  --app-height: 100vh;
  --navy: #061b2a;
  --blue: #1e7ec2;
  --sky: #55cee3;
  --ink: #0b1d2a;
  --muted: #667382;
  --line: #d8e0e7;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --good: #16794c;
  --asleep: #4f6f86;
  --warn: #9a6700;
  --off: #8b97a3;
  --danger: #b3261e;
  --shadow: 0 12px 34px rgba(6, 27, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: var(--app-height);
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--soft);
  color: var(--ink);
  font-family: OclumInter, Inter, Roboto, Arial, sans-serif;
  font-size: 12px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  position: relative;
  width: 100vw;
  height: var(--app-height);
  min-height: 0;
  display: grid;
  grid-template-columns: var(--asset-panel-width) var(--resize-rail) minmax(0, 1fr) var(--resize-rail) var(--detail-panel-width);
  grid-template-rows: 54px minmax(0, 1fr) var(--drawer-height);
  background: #eef3f7;
}

body.is-studio-embed .support-button,
body.is-studio-embed #layoutSettingsButton,
body.is-studio-embed #logoutButton,
body.is-studio-embed #returnPretrpButton {
  display: none !important;
}

body.is-studio-embed.studio-embed-no-share #shareLocationButton {
  display: none !important;
}

body.is-studio-embed.studio-embed-no-history .app {
  grid-template-rows: 54px minmax(0, 1fr) 0;
}

body.is-studio-embed.studio-embed-no-history #historyDrawer,
body.is-studio-embed.studio-embed-no-history #drawerResizeHandle {
  display: none !important;
}

@supports (height: 100dvh) {
  :root {
    --app-height: 100dvh;
  }
}

.topbar {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.brand img {
  width: 210px;
  max-height: 48px;
  height: auto;
  display: block;
}

.brand span {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: #314252;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.range-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475766;
  font-weight: 700;
}

.range-label select {
  height: 32px;
  min-width: 116px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
}

.date-field input {
  height: 32px;
  min-width: 122px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
}

.button,
.icon-button {
  height: 32px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.button[hidden],
.icon-button[hidden],
.street-view-status-overlay a[hidden] {
  display: none !important;
}

.mobile-label {
  display: none;
}

.button {
  gap: 8px;
  padding: 0 11px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.secondary,
.icon-button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
}

.button.secondary.active {
  border-color: rgba(30, 126, 194, 0.55);
  background: var(--blue);
  color: #ffffff;
}

.button.secondary.is-busy {
  animation: fit-button-pulse 0.75s ease-in-out infinite alternate;
}

.layout-debug {
  position: fixed;
  right: 8px;
  bottom: 8px;
  z-index: 1000;
  max-width: calc(100vw - 16px);
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(6, 27, 42, 0.86);
  color: #ffffff;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
  pointer-events: none;
}

.button.secondary:disabled,
.button.primary:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@keyframes fit-button-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(30, 126, 194, 0.18);
  }
  to {
    box-shadow: 0 0 0 5px rgba(30, 126, 194, 0.18);
  }
}

.pretrp-return-button {
  border-color: rgba(30, 126, 194, 0.42);
  background: rgba(30, 126, 194, 0.1);
  color: var(--blue);
}

.pretrp-return-button:hover,
.pretrp-return-button:focus-visible {
  background: var(--blue);
  color: #ffffff;
  outline: none;
}

.pretrp-return-button[hidden] {
  display: none;
}

.icon-button {
  width: 32px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.asset-panel {
  grid-column: 1;
  grid-row: 2;
  z-index: 18;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.asset-resize-handle,
.detail-resize-handle {
  position: relative;
  grid-row: 2;
  z-index: 20;
  width: var(--resize-rail);
  min-width: var(--resize-rail);
  background:
    linear-gradient(90deg, transparent 0 3px, rgba(6, 27, 42, 0.24) 3px 4px, transparent 4px 7px, rgba(6, 27, 42, 0.24) 7px 8px, transparent 8px),
    #f7fafc;
  cursor: col-resize;
}

.asset-resize-handle {
  grid-column: 2;
  border-right: 1px solid #cbd6df;
  border-left: 1px solid #edf2f5;
}

.detail-resize-handle {
  grid-column: 4;
  border-right: 1px solid #edf2f5;
  border-left: 1px solid #cbd6df;
}

.asset-resize-handle:hover,
.detail-resize-handle:hover,
.app.resizing-panel .asset-resize-handle,
.app.resizing-detail .detail-resize-handle {
  background-color: #e8f4fb;
}

.asset-resize-handle::after,
.detail-resize-handle::after,
.drawer-resize-handle::after {
  content: "";
}

.resize-toggle {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.asset-toggle,
.detail-toggle {
  top: 50%;
  left: 1px;
  width: calc(var(--resize-rail) - 2px);
  height: 40px;
  transform: translateY(-50%);
}

.drawer-toggle {
  top: 1px;
  left: 50%;
  width: 40px;
  height: calc(var(--resize-rail) - 2px);
  transform: translateX(-50%);
}

.app.panel-collapsed .asset-panel {
  overflow: hidden;
}

.app.panel-collapsed .asset-panel > * {
  display: none;
}

.app.panel-collapsed .asset-resize-handle {
  background-color: #f7fafc;
}

.app.detail-collapsed .detail-panel {
  overflow: hidden;
}

.app.detail-collapsed .detail-panel > * {
  display: none;
}

.panel-head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
}

.panel-head h1 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 750;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 11px;
}

.filters {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.search svg {
  position: absolute;
  top: 9px;
  left: 10px;
  width: 16px;
  height: 16px;
  color: #758392;
}

.segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fafc;
}

.segments button {
  height: 27px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #425160;
  font-size: 11px;
  font-weight: 700;
}

.segments button.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(6, 27, 42, 0.1);
}

.asset-list {
  min-height: 0;
  overflow: auto;
  padding: 6px;
}

.asset-row {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
}

.asset-row + .asset-row {
  margin-top: 4px;
}

.asset-row:hover,
.asset-row.active {
  border-color: #c7d7e4;
  background: #f5f9fc;
}

.asset-row.active {
  box-shadow: inset 3px 0 0 var(--blue);
}

.asset-row.status-online {
  border-color: rgba(22, 121, 76, 0.08);
  background: #fbfefc;
}

.asset-row.status-offline {
  border-color: rgba(139, 151, 163, 0.1);
  background: #fbfcfd;
}

.asset-row.status-unknown {
  border-color: rgba(154, 103, 0, 0.09);
  background: #fffdf7;
}

.asset-row.status-asleep {
  border-color: rgba(79, 111, 134, 0.1);
  background: #fbfdff;
}

.asset-row.active {
  box-shadow: inset 3px 0 0 var(--blue);
  background: #f4f9fd;
}

.asset-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e7f4fb;
  color: var(--blue);
}

.asset-main {
  min-width: 0;
}

.asset-main strong,
.asset-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-main strong {
  color: #0b1d2a;
  font-size: 12px;
  font-weight: 700;
}

.asset-main span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.status-online {
  background: var(--good);
}

.status-asleep,
.status-idle {
  background: var(--asleep);
}

.status-unknown {
  background: var(--warn);
}

.status-offline {
  background: var(--off);
}

.asset-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 66px;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.asset-badges {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
}

.battery-indicator {
  min-width: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 5px;
  border: 1px solid rgba(102, 115, 130, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #415262;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  text-transform: none;
}

.battery-indicator.in-status {
  margin-left: 2px;
  padding: 1px 3px;
  border-color: rgba(102, 115, 130, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

.battery-shell {
  position: relative;
  width: 18px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 2px;
  overflow: visible;
}

.battery-shell::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -3px;
  width: 2px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: currentColor;
}

.battery-fill {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: 1px;
  background: #6aaed6;
}

.battery-charge {
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
}

.battery-none {
  color: #8a98a5;
  background: #fafbfc;
}

.battery-none .battery-fill {
  display: none;
}

.battery-charging {
  color: #246f52;
  border-color: rgba(22, 121, 76, 0.18);
  background: #f7fcf9;
}

.battery-charging .battery-fill {
  background: #4da86e;
}

.battery-stale {
  color: #667382;
  border-color: rgba(139, 151, 163, 0.16);
  background: #fbfcfd;
}

.battery-stale .battery-fill {
  background: #9fb0bf;
}

.asset-status-badge.status-online {
  border-color: rgba(22, 121, 76, 0.14);
  background: #f7fcf9;
  color: #2f7255;
}

.asset-status-badge.status-offline {
  border-color: rgba(139, 151, 163, 0.16);
  background: #fafbfc;
  color: #64717c;
}

.asset-status-badge.status-unknown {
  border-color: rgba(154, 103, 0, 0.14);
  background: #fffaf0;
  color: #765f22;
}

.asset-status-badge.status-asleep,
.asset-status-badge.status-idle {
  border-color: rgba(79, 111, 134, 0.15);
  background: #f8fbfd;
  color: #536879;
}

.state-panel {
  min-height: 0;
  border-top: 1px solid var(--line);
  background: #fbfdfe;
  overflow: hidden;
}

.state-panel header {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.state-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: #edf4f8;
  color: #2d4051;
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}

.state-grid {
  height: calc(100% - 38px);
  overflow: auto;
  padding: 7px 12px 10px;
}

.state-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 9px;
  padding: 5px 0;
  border-bottom: 1px solid #e8eef3;
}

.state-row span:first-child {
  color: #687687;
  font-size: 10.5px;
  font-weight: 650;
}

.state-row span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #112635;
  font-size: 10.5px;
  font-weight: 550;
}

.workspace {
  grid-column: 3;
  grid-row: 2;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dce7ed;
  cursor: grab;
  touch-action: none;
}

.map.dragging,
.map.pinching {
  cursor: grabbing;
}

.tile-layer,
.geofence-layer,
.pin-layer,
.marker-layer,
.route-layer {
  position: absolute;
  inset: 0;
}

.tile {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  touch-action: none;
}

.route-layer {
  pointer-events: none;
  z-index: 3;
}

.geofence-layer {
  z-index: 2;
  pointer-events: none;
}

.pin-layer {
  z-index: 4;
  pointer-events: none;
}

.geofence-shape,
.geofence-line {
  fill: rgba(30, 126, 194, 0.14);
  stroke: #1e7ec2;
  stroke-width: 2.5;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 4px 10px rgba(6, 27, 42, 0.14));
  pointer-events: auto;
  cursor: pointer;
}

.geofence-line {
  fill: none;
  stroke-dasharray: 7 5;
}

.geofence-group.is-draft .geofence-shape,
.geofence-group.is-draft .geofence-line {
  stroke-dasharray: 8 5;
  fill-opacity: 0.18;
}

.geofence-blue {
  fill: rgba(30, 126, 194, 0.14);
  stroke: #1e7ec2;
}

.geofence-green {
  fill: rgba(22, 121, 76, 0.14);
  stroke: #16794c;
}

.geofence-yellow {
  fill: rgba(154, 103, 0, 0.14);
  stroke: #9a6700;
}

.geofence-orange {
  fill: rgba(201, 104, 16, 0.14);
  stroke: #c96810;
}

.geofence-red {
  fill: rgba(179, 38, 30, 0.13);
  stroke: #b3261e;
}

.geofence-purple {
  fill: rgba(113, 86, 184, 0.14);
  stroke: #7156b8;
}

.geofence-vertex {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  pointer-events: auto;
  cursor: grab;
  filter: drop-shadow(0 3px 7px rgba(6, 27, 42, 0.2));
}

.geofence-center {
  fill: var(--blue);
  stroke: #ffffff;
}

.geofence-vertex:active {
  cursor: grabbing;
}

.geofence-label {
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 4px;
  fill: #0b1d2a;
  font-size: 11px;
  font-weight: 850;
  pointer-events: none;
}

.geofence-drawing-tools {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 36;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(760px, calc(100% - 28px));
  padding: 8px;
  border: 1px solid rgba(216, 224, 231, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

.geofence-drawing-tools[hidden] {
  display: none;
}

.geofence-drawing-tools div {
  min-width: 180px;
  display: grid;
  gap: 2px;
}

.geofence-drawing-tools strong {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.geofence-drawing-tools span {
  color: #526272;
  font-size: 10.5px;
  font-weight: 650;
}

.danger-button {
  border-color: rgba(179, 38, 30, 0.22) !important;
  background: #fff7f6 !important;
  color: #b3261e !important;
}

.danger-button:hover,
.danger-button:focus-visible {
  background: #b3261e !important;
  color: #ffffff !important;
}

.route-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 6px rgba(6, 27, 42, 0.25));
}

.route-line.base {
  stroke: rgba(22, 128, 240, 0.22);
  stroke-width: 6;
  filter: none;
}

.route-line.breadcrumb {
  stroke: #ff8c1a;
  stroke-width: 4;
}

.route-segment {
  stroke-width: 4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 3px 6px rgba(6, 27, 42, 0.18));
}

.marker-layer {
  z-index: 5;
  touch-action: none;
}

.saved-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 180px;
  padding: 4px 7px 4px 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #1e7ec2;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(6, 27, 42, 0.2);
  transform: translate(-50%, -100%);
  pointer-events: auto;
}

.saved-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.saved-pin-symbol {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
}

.saved-pin-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-pin-blue {
  background: #1e7ec2;
}

.saved-pin-red {
  background: #b3261e;
}

.saved-pin-green {
  background: #16794c;
}

.saved-pin-yellow {
  background: #9a6700;
}

.saved-pin-purple {
  background: #7156b8;
}

.saved-pin-orange {
  background: #c96810;
}

.saved-pin-shape-circle {
  border-radius: 999px;
}

.saved-pin-shape-square {
  border-radius: 6px;
}

.saved-pin-shape-star {
  border-radius: 8px;
}

.marker {
  position: absolute;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  touch-action: none;
}

.marker.offline {
  background: #64717e;
}

.marker.unknown {
  background: var(--warn);
}

.marker.asleep,
.marker.idle {
  background: var(--asleep);
}

.marker.active {
  width: 34px;
  height: 34px;
  background: var(--navy);
  z-index: 6;
}

.marker-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  min-width: 96px;
  max-width: 180px;
  transform: translateX(-50%);
  padding: 4px 7px;
  border-radius: 6px;
  background: #ffffff;
  color: #0c1d2b;
  box-shadow: 0 8px 22px rgba(6, 27, 42, 0.16);
  text-align: center;
}

.marker-label strong,
.marker-label em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marker-label strong {
  font-size: 10px;
  line-height: 1.15;
  font-weight: 750;
}

.marker-label em {
  margin-top: 1px;
  color: var(--blue);
  font-size: 9px;
  line-height: 1.1;
  font-style: normal;
  font-weight: 800;
}

.route-point {
  position: absolute;
  z-index: 7;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 8px 22px rgba(6, 27, 42, 0.28);
  transform: translate(-50%, -50%);
}

.street-view-panel {
  position: absolute;
  inset: 0;
  z-index: 14;
  background: #111b22;
}

.street-view-panel.is-pending {
  opacity: 0;
  pointer-events: none;
}

.street-view-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.street-view-panel iframe[hidden] {
  display: none;
}

.street-view-panel iframe.preloading {
  opacity: 0;
  pointer-events: none;
}

.street-view-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.street-view-panel .button {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(6, 27, 42, 0.16);
}

.street-view-message {
  position: absolute;
  left: 50%;
  z-index: 15;
  max-width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 7px;
  background: rgba(30, 126, 194, 0.95);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(6, 27, 42, 0.2);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
  text-align: center;
}

.street-view-message {
  bottom: 18px;
}

.street-view-status-overlay {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 13;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 10px 13px;
  border-radius: 7px;
  background: rgba(30, 126, 194, 0.96);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(6, 27, 42, 0.22);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

.street-view-status-overlay[hidden] {
  display: none;
}

.street-view-status-overlay.is-notice {
  background: rgba(30, 126, 194, 0.98);
}

.street-view-spinner {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: street-view-spin 0.85s linear infinite;
}

.street-view-status-overlay.is-notice .street-view-spinner {
  display: none;
}

.street-view-status-overlay a {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes street-view-spin {
  to {
    transform: rotate(360deg);
  }
}

.map-tools {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(720px, calc(100% - 36px));
}

.map-tools > .button,
.map-tools > .street-tool-button,
.map-type-control,
.map-asset-control {
  height: 32px;
  min-height: 32px;
  box-sizing: border-box;
}

.map-tools .button,
.map-tools .icon-button,
.map-tools .street-tool-button,
.info-card {
  background: rgba(255, 255, 255, 0.97);
}

.map-zoom-control {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.map-zoom-control .icon-button {
  width: 38px;
  height: 38px;
  border-color: rgba(216, 224, 231, 0.92);
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(6, 27, 42, 0.12);
}

.map-type-control,
.map-asset-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 16px rgba(6, 27, 42, 0.1);
}

.state-toggle-button {
  gap: 6px;
  padding: 0 8px 0 10px;
}

.state-toggle-button .toggle-label {
  line-height: 1;
}

.state-toggle-button .toggle-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e8eef3;
  color: #3f5160;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.state-toggle-button.active .toggle-state {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.map-type-control button,
.map-asset-control button {
  height: 26px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #3f5160;
  font-size: 11px;
  font-weight: 700;
}

.map-type-control button.active,
.map-asset-control button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.street-tool-button {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  box-shadow: 0 6px 16px rgba(6, 27, 42, 0.1);
}

.street-tool-button:hover {
  border-color: rgba(30, 126, 194, 0.35);
}

.street-tool-button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.street-tool-button.active::after {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.info-card {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9;
  max-width: 360px;
  padding: 9px 11px;
  border: 1px solid rgba(216, 224, 231, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-card strong,
.info-card span {
  display: block;
}

.info-card strong {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.info-card span {
  color: var(--muted);
  line-height: 1.4;
}

.detail-panel {
  grid-column: 5;
  grid-row: 2;
  z-index: 18;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 750;
}

.detail-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.vehicle-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #eef3f7;
  overflow: hidden;
}

.vehicle-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vehicle-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #567184;
}

.vehicle-photo-placeholder span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dff0f8;
  color: var(--blue);
}

.vehicle-photo-placeholder strong {
  font-size: 11px;
  font-weight: 800;
}

.detail-section {
  padding: 11px 12px;
  border-bottom: 1px solid #e8eef3;
}

.detail-section h3,
.detail-state h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-metric {
  min-width: 0;
  padding: 8px;
  border: 1px solid #e2e9ef;
  border-radius: 6px;
  background: #fbfdfe;
}

.detail-metric span,
.detail-row span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-metric strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #102535;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
}

.location-metric strong {
  margin-bottom: 7px;
}

.location-street-view {
  width: 100%;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border: 1px solid rgba(30, 126, 194, 0.24);
  border-radius: 5px;
  background: #edf7fd;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.location-street-view:hover {
  background: #e0f1fb;
}

.detail-list {
  display: grid;
  gap: 6px;
}

.detail-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.detail-row strong {
  overflow-wrap: anywhere;
  color: #102535;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
}

.vehicle-notes {
  min-height: 62px;
  padding: 9px;
  border: 1px solid #e2e9ef;
  border-radius: 6px;
  background: #fbfdfe;
  color: #2f4050;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.detail-state {
  padding-bottom: 0;
}

.detail-state header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.detail-state .state-grid {
  height: auto;
  max-height: 230px;
  padding: 0 0 10px;
}

.pretrip-link {
  display: block;
  margin: 8px 12px 10px;
  padding: 9px 10px;
  border: 1px solid #d7e8f2;
  border-radius: 6px;
  background: #f4fbff;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  box-shadow: 0 4px 14px rgba(6, 27, 42, 0.08);
}

.pretrip-link[hidden] {
  display: none;
}

.drawer {
  grid-column: 1 / -1;
  grid-row: 3;
  z-index: 22;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: var(--resize-rail) minmax(0, 1fr);
  border-top: 1px solid rgba(191, 205, 216, 0.95);
  background: #ffffff;
  box-shadow: 0 -12px 28px rgba(6, 27, 42, 0.12);
}

.drawer-resize-handle {
  position: relative;
  overflow: visible;
  min-height: max(var(--resize-rail), 24px);
  border-bottom: 1px solid #edf2f5;
  background:
    linear-gradient(0deg, transparent 0 4px, rgba(6, 27, 42, 0.25) 4px 5px, transparent 5px 7px, rgba(6, 27, 42, 0.25) 7px 8px, transparent 8px),
    #f7fafc;
  cursor: row-resize;
}

.drawer-resize-handle:hover,
.app.resizing-drawer .drawer-resize-handle {
  background-color: #e8f4fb;
}

.drawer.is-collapsed {
  grid-template-rows: var(--resize-rail) 0;
}

.drawer.is-collapsed .drawer-body {
  display: none;
}

.drawer-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.drawer-tabs button {
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4e5d6d;
  font-size: 10.5px;
  font-weight: 700;
}

.drawer-tabs button.active {
  background: #e8f4fb;
  color: var(--blue);
}

.timeline-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.date-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.range-summary {
  align-self: center;
  max-width: 220px;
  overflow: hidden;
  color: #536575;
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 12px 12px;
}

.timeline {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 34px auto minmax(0, 1fr);
  gap: 8px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.metric {
  padding: 7px 9px;
  border: 1px solid #e2e9ef;
  border-radius: 6px;
  background: #fbfdfe;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 3px;
  color: #0d2231;
  font-size: 13px;
  font-weight: 700;
}

.scrubber {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.scrubber input {
  width: 100%;
  accent-color: var(--blue);
}

.point-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(72px, 0.5fr) minmax(82px, 0.5fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #1f3140;
}

.point-detail div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-table {
  min-height: 0;
  overflow: auto;
  border: 1px solid #e2e9ef;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 6px 8px;
  border-bottom: 1px solid #edf2f5;
  text-align: left;
  white-space: nowrap;
  font-size: 11px;
}

th {
  position: sticky;
  top: 0;
  background: #f6f9fb;
  color: #425160;
  font-size: 10px;
  font-weight: 700;
}

td {
  color: #1b2c3b;
}

.table-action {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(30, 126, 194, 0.28);
  border-radius: 5px;
  background: #f4fbff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.table-action:hover,
.table-action:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  outline: none;
}

.record-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 8px;
  padding-right: 10px;
  border-right: 1px solid #e8eef3;
}

.record-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
}

.side-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 6px;
}

.side-row {
  width: 100%;
  display: block;
  padding: 7px 9px;
  border: 1px solid #e2e9ef;
  border-radius: 6px;
  background: #fbfdfe;
  text-align: left;
}

button.side-row {
  cursor: pointer;
}

button.side-row:hover {
  border-color: #b8d7ea;
  background: #eef8fd;
}

.side-row strong {
  display: block;
  margin-bottom: 4px;
  color: #122b3d;
  font-size: 11px;
  font-weight: 700;
}

.side-row span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 10.5px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 27, 42, 0.44);
}

.modal-backdrop[hidden] {
  display: none;
}

.range-modal {
  width: min(760px, calc(100vw - 32px));
  border: 1px solid rgba(216, 224, 231, 0.96);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(6, 27, 42, 0.28);
}

.settings-modal {
  width: min(620px, calc(100vw - 32px));
  border: 1px solid rgba(216, 224, 231, 0.96);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(6, 27, 42, 0.28);
}

.range-modal header,
.settings-modal header,
.range-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.range-modal header,
.settings-modal header {
  border-bottom: 1px solid #e8eef3;
}

.range-modal footer {
  justify-content: flex-end;
  border-top: 1px solid #e8eef3;
}

.range-modal h2,
.settings-modal h2 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.settings-section {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.settings-section h3 {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.layout-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.layout-mode-options button {
  min-height: 76px;
  padding: 10px;
  border: 1px solid #d9e4ec;
  border-radius: 7px;
  background: #fbfdfe;
  color: #243746;
  text-align: left;
}

.layout-mode-options button strong,
.layout-mode-options button span {
  display: block;
}

.layout-mode-options button strong {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.layout-mode-options button span {
  color: #617283;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 650;
  white-space: normal;
}

.layout-mode-options button.active {
  border-color: rgba(30, 126, 194, 0.55);
  background: #e8f4fb;
  box-shadow: inset 0 0 0 1px rgba(30, 126, 194, 0.18);
}

.settings-summary {
  margin: 0;
  color: #596979;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.range-grid label {
  display: grid;
  gap: 4px;
  color: #4c5b6a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.range-grid input,
.range-grid select {
  height: 34px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
}

.modal-subtitle {
  margin: 4px 0 0;
  color: #596979;
  font-size: 11px;
  font-weight: 650;
}

.geofence-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.geofence-grid {
  padding: 0;
}

.pin-modal {
  width: min(620px, calc(100vw - 32px));
}

.pin-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.pin-form label {
  display: grid;
  gap: 4px;
  color: #4c5b6a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.pin-form input,
.pin-form select,
.pin-form textarea {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
  resize: vertical;
}

.pin-form input,
.pin-form select {
  height: 34px;
}

.pin-grid {
  padding: 0;
}

.share-modal {
  width: min(680px, calc(100vw - 32px));
}

.share-form {
  display: grid;
  gap: 12px;
  padding: 14px 0 0;
}

.share-selected {
  margin: 0 14px;
  padding: 10px 12px;
  border: 1px solid #d7e8f2;
  border-radius: 7px;
  background: #f4fbff;
  color: #25394a;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 650;
}

.share-grid {
  padding-bottom: 0;
}

.share-field {
  display: grid;
  gap: 4px;
  margin: 0 14px;
  color: #4c5b6a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.share-field input,
.share-field textarea,
.share-result input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
  resize: vertical;
}

.share-field input,
.share-result input {
  height: 34px;
}

.share-result {
  display: grid;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 12px;
  border: 1px solid rgba(30, 126, 194, 0.22);
  border-radius: 8px;
  background: #f4fbff;
}

.share-result[hidden] {
  display: none;
}

.share-result label {
  display: grid;
  gap: 4px;
  color: #4c5b6a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.share-result input {
  color: #102535;
  font-size: 11px;
  font-weight: 650;
}

.share-send-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-send-actions .button {
  height: 30px;
}

.geofence-form label {
  display: grid;
  gap: 4px;
  color: #4c5b6a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.geofence-form input,
.geofence-form select,
.geofence-form textarea {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #263646;
  resize: vertical;
}

.geofence-form input,
.geofence-form select {
  height: 34px;
}

.range-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 14px 10px;
}

.range-presets button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #344656;
  font-size: 10.5px;
  font-weight: 800;
}

.range-presets button.active {
  border-color: var(--blue);
  background: #e8f4fb;
  color: var(--blue);
}

.custom-calendars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 12px;
}

.calendar-picker {
  min-width: 0;
  border: 1px solid #e2e9ef;
  border-radius: 8px;
  background: #fbfdfe;
  overflow: hidden;
}

.calendar-picker header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid #e8eef3;
}

.calendar-picker header strong {
  color: var(--navy);
  font-size: 12px;
  text-align: center;
}

.calendar-picker .icon-button {
  width: 26px;
  height: 26px;
  font-size: 17px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding: 7px 8px 4px;
  color: #607080;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 3px;
  padding: 0 8px 8px;
}

.calendar-day {
  height: 30px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #253544;
  font-size: 10.5px;
  font-weight: 750;
}

.calendar-day:hover {
  border-color: #b8d7ea;
  background: #eef8fd;
}

.calendar-day.is-muted {
  color: #a1acb6;
}

.calendar-day.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.calendar-day.is-today:not(.is-selected) {
  border-color: #9ccce8;
  color: var(--blue);
}

@media (max-width: 720px) {
  .custom-calendars,
  .range-grid {
    grid-template-columns: 1fr;
  }

  .share-modal {
    width: min(94vw, 680px);
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  .share-send-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-send-actions .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .app {
    grid-template-columns: 1fr;
    grid-template-rows: 58px minmax(0, 1fr) var(--drawer-height);
    height: var(--app-height);
  }

  .topbar {
    padding: 0 12px;
  }

  .brand img {
    width: 178px;
  }

  .brand span,
  .range-label {
    display: none;
  }

  .asset-resize-handle,
  .detail-resize-handle {
    display: none;
  }

  .asset-panel {
    grid-column: 1;
    grid-row: 2;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: min(42dvh, 390px);
    min-height: min(230px, calc(100% - 20px));
    max-height: calc(100% - 20px);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    z-index: 18;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .detail-panel,
  .state-panel {
    display: none;
  }

  .workspace {
    grid-column: 1;
    grid-row: 2;
  }

  .drawer {
    grid-column: 1;
    grid-row: 3;
    min-height: var(--resize-rail);
  }

  .drawer-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .record-panel {
    min-height: 105px;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid #e8eef3;
  }

  .info-card {
    top: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .map-tools {
    top: 92px;
    left: 12px;
  }

  .map-type-control button {
    padding: 0 8px;
  }

  .street-tool-button {
    padding: 0 8px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    height: var(--app-height);
  }

  body {
    background: #dce7ed;
    overscroll-behavior: none;
  }

  .app {
    height: var(--app-height);
    display: block;
    background: #dce7ed;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    z-index: 45;
    padding: 6px 8px;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
    box-shadow: 0 8px 22px rgba(6, 27, 42, 0.12);
    backdrop-filter: blur(6px);
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .brand img {
    width: min(46vw, 166px);
    max-height: 42px;
  }

  .brand span,
  .range-label,
  .support-button {
    display: none !important;
  }

  .top-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .top-actions .button {
    height: 30px;
    padding: 0 9px;
    border-color: rgba(6, 27, 42, 0.14);
    background: rgba(255, 255, 255, 0.82);
    font-size: 10px;
  }

  .pretrp-return-button[hidden] {
    display: none !important;
  }

  .workspace {
    position: fixed;
    inset: 0;
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    min-height: 0;
  }

  .map {
    inset: 0;
  }

  .map-tools {
    top: 62px;
    left: 8px;
    right: 8px;
    z-index: 35;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    max-width: none;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .map-tools::-webkit-scrollbar {
    display: none;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .map-type-control,
  .map-asset-control {
    height: 30px;
    flex: 0 0 auto;
    gap: 2px;
    padding: 2px;
    box-shadow: 0 6px 18px rgba(6, 27, 42, 0.14);
  }

  .map-type-control button,
  .map-asset-control button {
    height: 24px;
    min-width: 42px;
    padding: 0 7px;
    font-size: 10px;
  }

  .map-tools .button,
  .street-tool-button {
    height: 30px;
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 10px;
    box-shadow: 0 6px 18px rgba(6, 27, 42, 0.14);
  }

  .info-card,
  .detail-panel,
  .detail-resize-handle,
  .drawer,
  .drawer-resize-handle {
    display: none !important;
  }

  .map-zoom-control {
    right: 9px;
    bottom: 44px;
    z-index: 36;
  }

  .app:not(.panel-collapsed) .map-zoom-control {
    bottom: calc(min(62dvh, 520px) + 42px);
  }

  .map-zoom-control .icon-button {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .asset-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 40;
    height: min(62dvh, 520px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    border: 0;
    border-top: 1px solid rgba(216, 224, 231, 0.96);
    border-radius: 14px 14px 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -14px 34px rgba(6, 27, 42, 0.18);
    transform: translateY(0);
    transition: transform 180ms ease;
  }

  .app.panel-collapsed .asset-panel {
    transform: translateY(calc(100% + 2px));
    pointer-events: none;
  }

  .panel-head {
    padding: 13px 14px 9px;
  }

  .panel-head h1 {
    font-size: 14px;
  }

  .filters {
    gap: 8px;
    padding: 9px 12px;
  }

  .asset-list {
    padding: 6px 8px max(16px, env(safe-area-inset-bottom));
  }

  .asset-row {
    grid-template-columns: 23px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 7px 8px;
  }

  .asset-main strong {
    font-size: 11.5px;
  }

  .asset-main span {
    font-size: 10px;
  }

  .asset-status-badge {
    min-width: 58px;
    padding: 4px 6px;
    font-size: 8.5px;
  }

  .battery-indicator {
    min-width: 42px;
    padding: 3px 4px;
    font-size: 8.5px;
  }

  .asset-resize-handle {
    position: fixed;
    left: 0;
    right: 0;
    bottom: min(62dvh, 520px);
    z-index: 46;
    width: auto;
    min-width: 0;
    height: 30px;
    min-height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    border-top: 1px solid rgba(216, 224, 231, 0.82);
    border-bottom: 1px solid rgba(216, 224, 231, 0.82);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -8px 20px rgba(6, 27, 42, 0.12);
    cursor: pointer;
    transition: bottom 180ms ease;
  }

  .app.panel-collapsed .asset-resize-handle {
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
  }

  .asset-toggle {
    position: static;
    width: 52px;
    height: 22px;
    transform: none;
    border-radius: 999px;
    background: #e7f4fb;
    color: var(--blue);
    font-size: 15px;
  }

  .street-view-actions {
    top: 62px;
    right: 8px;
  }

  .street-view-message,
  .street-view-status-overlay {
    bottom: 42px;
    max-width: calc(100% - 20px);
    font-size: 10px;
  }
}

.app.layout-mode-tablet {
  width: 100vw;
  height: var(--app-height);
  display: grid !important;
  grid-template-columns: 1fr;
  grid-template-rows: 58px minmax(0, 1fr) var(--drawer-height);
  background: #eef3f7;
}

.app.layout-mode-tablet .topbar {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  height: auto;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.app.layout-mode-tablet .brand img {
  width: 178px;
  max-height: 48px;
}

.app.layout-mode-tablet .brand span,
.app.layout-mode-tablet .range-label {
  display: none;
}

.app.layout-mode-tablet .workspace {
  position: relative !important;
  inset: auto !important;
  grid-column: 1;
  grid-row: 2;
}

.app.layout-mode-tablet .asset-panel {
  grid-column: 1;
  grid-row: 2;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: min(42dvh, 390px);
  min-height: min(230px, calc(100% - 20px));
  max-height: calc(100% - 20px);
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transform: none;
  pointer-events: auto;
}

.app.layout-mode-tablet.panel-collapsed .asset-panel {
  transform: translateY(calc(100% + 14px));
  pointer-events: none;
}

.app.layout-mode-tablet .asset-resize-handle {
  display: none !important;
}

.app.layout-mode-tablet .detail-panel,
.app.layout-mode-tablet .detail-resize-handle,
.app.layout-mode-tablet .state-panel {
  display: none !important;
}

.app.layout-mode-tablet .drawer {
  grid-column: 1;
  grid-row: 3;
  display: grid !important;
  min-height: var(--resize-rail);
}

.app.layout-mode-tablet .drawer-resize-handle {
  display: block !important;
}

.app.layout-mode-phone {
  height: var(--app-height);
  display: block !important;
  background: #dce7ed;
}

.app.layout-mode-phone .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 45;
  padding: 6px 8px;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
  box-shadow: 0 8px 22px rgba(6, 27, 42, 0.12);
  backdrop-filter: blur(6px);
}

.app.layout-mode-phone .brand {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.app.layout-mode-phone .brand img {
  width: min(46vw, 166px);
  max-height: 42px;
}

.app.layout-mode-phone .brand span,
.app.layout-mode-phone .range-label,
.app.layout-mode-phone .support-button {
  display: none !important;
}

.app.layout-mode-phone .top-actions .button {
  height: 30px;
  padding: 0 9px;
  border-color: rgba(6, 27, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
  font-size: 10px;
}

.app.layout-mode-phone .workspace {
  position: fixed !important;
  inset: 0 !important;
  min-width: 0;
  min-height: 0;
}

.app.layout-mode-phone .map {
  inset: 0;
}

.app.layout-mode-phone .map-tools {
  top: 62px;
  left: 8px;
  right: 8px;
  z-index: 35;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  max-width: none;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app.layout-mode-phone .map-tools::-webkit-scrollbar {
  display: none;
}

.app.layout-mode-phone .desktop-label {
  display: none;
}

.app.layout-mode-phone .mobile-label {
  display: inline;
}

.app.layout-mode-phone .map-type-control,
.app.layout-mode-phone .map-asset-control,
.app.layout-mode-phone .map-tools .button,
.app.layout-mode-phone .street-tool-button {
  height: 30px;
  flex: 0 0 auto;
  font-size: 10px;
  box-shadow: 0 6px 18px rgba(6, 27, 42, 0.14);
}

.app.layout-mode-phone .map-type-control button,
.app.layout-mode-phone .map-asset-control button {
  height: 24px;
  min-width: 42px;
  padding: 0 7px;
  font-size: 10px;
}

.app.layout-mode-phone .info-card,
.app.layout-mode-phone .detail-panel,
.app.layout-mode-phone .detail-resize-handle,
.app.layout-mode-phone .drawer,
.app.layout-mode-phone .drawer-resize-handle {
  display: none !important;
}

.app.layout-mode-phone .asset-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 40;
  height: min(58dvh, 460px);
  max-height: calc(var(--app-height) - 126px);
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr);
  border: 0;
  border-top: 1px solid rgba(216, 224, 231, 0.96);
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -14px 34px rgba(6, 27, 42, 0.18);
  transform: translateY(0);
  transition: transform 180ms ease;
}

.app.layout-mode-phone.panel-collapsed .asset-panel {
  transform: translateY(calc(100% + 2px));
  pointer-events: none;
}

.app.layout-mode-phone .asset-resize-handle {
  position: fixed;
  left: 0;
  right: 0;
  bottom: min(58dvh, 460px);
  z-index: 46;
  width: auto;
  min-width: 0;
  height: 30px;
  min-height: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 1px solid rgba(216, 224, 231, 0.82);
  border-bottom: 1px solid rgba(216, 224, 231, 0.82);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -8px 20px rgba(6, 27, 42, 0.12);
  cursor: pointer;
  transition: bottom 180ms ease;
}

.app.layout-mode-phone.panel-collapsed .asset-resize-handle {
  bottom: max(8px, env(safe-area-inset-bottom));
  height: 34px;
  min-height: 34px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -10px 26px rgba(6, 27, 42, 0.18);
}

.app.layout-mode-phone .asset-toggle {
  position: static;
  width: 52px;
  height: 22px;
  transform: none;
  border-radius: 999px;
  background: #e7f4fb;
  color: var(--blue);
  font-size: 15px;
}

html.layout-force-desktop,
body.layout-force-desktop {
  overflow: hidden;
}

.app.layout-mode-desktop {
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  height: var(--app-height);
  display: grid !important;
  grid-template-columns: var(--asset-panel-width) var(--resize-rail) minmax(0, 1fr) var(--resize-rail) var(--detail-panel-width);
  grid-template-rows: 54px minmax(0, 1fr) var(--drawer-height);
  background: #eef3f7;
}

.app.layout-mode-desktop .topbar {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  height: auto;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
  min-width: 0;
}

.app.layout-mode-desktop .brand {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.app.layout-mode-desktop .brand img {
  width: 210px;
  max-height: 48px;
}

.app.layout-mode-desktop .brand span,
.app.layout-mode-desktop .range-label,
.app.layout-mode-desktop .support-button {
  display: inline-flex !important;
}

.app.layout-mode-desktop .top-actions {
  flex: 0 1 auto;
}

.app.layout-mode-desktop .workspace {
  position: relative !important;
  inset: auto !important;
  grid-column: 3;
  grid-row: 2;
}

.app.layout-mode-desktop .asset-panel {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  left: auto;
  right: auto;
  bottom: auto;
  height: auto;
  max-height: none;
  display: grid !important;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  pointer-events: auto;
}

.app.layout-mode-desktop .asset-resize-handle,
.app.layout-mode-desktop .detail-resize-handle {
  position: relative;
  display: block !important;
  grid-row: 2;
  width: var(--resize-rail);
  min-width: var(--resize-rail);
}

.app.layout-mode-desktop .asset-resize-handle {
  grid-column: 2;
}

.app.layout-mode-desktop .detail-resize-handle {
  grid-column: 4;
}

.app.layout-mode-desktop .detail-panel {
  grid-column: 5;
  grid-row: 2;
  display: block !important;
}

.app.layout-mode-desktop .drawer {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid !important;
}

.app.layout-mode-desktop .drawer-resize-handle {
  display: block !important;
}

.app.layout-mode-desktop .map-tools {
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(720px, calc(100% - 36px));
  overflow: visible;
  padding-bottom: 0;
}

.app.layout-mode-desktop .desktop-label {
  display: inline;
}

.app.layout-mode-desktop .mobile-label {
  display: none;
}

.app.layout-mode-desktop .map-zoom-control {
  right: 12px;
  bottom: 12px;
}

.app.layout-mode-desktop .info-card {
  display: none !important;
}

.app.layout-mode-desktop.layout-desktop-narrow {
  grid-template-columns: var(--asset-panel-width) var(--resize-rail) minmax(0, 1fr);
}

.app.layout-mode-desktop.layout-desktop-narrow .workspace {
  grid-column: 3;
}

.app.layout-mode-desktop.layout-desktop-narrow .detail-panel,
.app.layout-mode-desktop.layout-desktop-narrow .detail-resize-handle {
  display: none !important;
}

.app.layout-mode-desktop.layout-desktop-narrow .drawer {
  grid-column: 1 / -1;
}

.app.layout-mode-desktop.layout-desktop-narrow .drawer.is-collapsed {
  grid-template-rows: 34px 0;
}

.app.layout-mode-desktop.layout-desktop-narrow .drawer.is-collapsed .drawer-resize-handle {
  min-height: 34px;
}

.app.layout-mode-desktop.layout-desktop-narrow .map-tools {
  gap: 5px;
  max-width: calc(100% - 18px);
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.app.layout-mode-desktop.layout-desktop-narrow .map-tools::-webkit-scrollbar {
  display: none;
}

.app.layout-mode-desktop.layout-desktop-narrow .map-tools .button,
.app.layout-mode-desktop.layout-desktop-narrow .street-tool-button,
.app.layout-mode-desktop.layout-desktop-narrow .map-type-control,
.app.layout-mode-desktop.layout-desktop-narrow .map-asset-control {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .app.layout-mode-desktop .topbar {
    gap: 8px;
    padding: 0 8px;
  }

  .app.layout-mode-desktop .brand img {
    width: 178px;
  }

  .app.layout-mode-desktop .brand span,
  .app.layout-mode-desktop .support-button {
    display: none !important;
  }

  .app.layout-mode-desktop .top-actions {
    gap: 5px;
  }

  .app.layout-mode-desktop .top-actions .button,
  .app.layout-mode-desktop .range-label select {
    height: 30px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 10.5px;
  }

  .app.layout-mode-desktop .range-label {
    gap: 5px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  .app.layout-mode-desktop .topbar {
    padding: 0 6px;
  }

  .app.layout-mode-desktop .brand img {
    width: 142px;
  }

  .app.layout-mode-desktop .range-label {
    display: none !important;
  }

  .app.layout-mode-desktop .top-actions .button {
    height: 29px;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 10px;
  }

  .app.layout-mode-desktop .asset-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .app.layout-mode-desktop .asset-row .asset-status-badge,
  .app.layout-mode-desktop .asset-row .battery-indicator {
    grid-column: 2;
    justify-self: start;
  }
}

body.is-studio-embed.studio-embed-map-only {
  background: #eef3f7;
  overflow: hidden;
}

body.is-studio-embed.studio-embed-map-only .app,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop.layout-desktop-narrow,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-phone {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100vw;
  height: var(--app-height);
  background: #eef3f7;
}

body.is-studio-embed.studio-embed-map-only .topbar,
body.is-studio-embed.studio-embed-map-only .asset-panel,
body.is-studio-embed.studio-embed-map-only .asset-resize-handle,
body.is-studio-embed.studio-embed-map-only .detail-panel,
body.is-studio-embed.studio-embed-map-only .detail-resize-handle,
body.is-studio-embed.studio-embed-map-only .drawer,
body.is-studio-embed.studio-embed-map-only #historyDrawer,
body.is-studio-embed.studio-embed-map-only #drawerResizeHandle,
body.is-studio-embed.studio-embed-map-only .info-card,
body.is-studio-embed.studio-embed-map-only #shareLocationButton {
  display: none !important;
}

body.is-studio-embed.studio-embed-map-only .workspace,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop .workspace,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop.layout-desktop-narrow .workspace,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-phone .workspace {
  grid-column: 1;
  grid-row: 1;
  width: 100vw;
  height: var(--app-height);
  min-width: 0;
  min-height: 0;
}

body.is-studio-embed.studio-embed-map-only .map {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 0;
}

body.is-studio-embed.studio-embed-map-only .map-tools,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop .map-tools,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop.layout-desktop-narrow .map-tools,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-phone .map-tools {
  top: 10px;
  left: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
}

body.is-studio-embed.studio-embed-map-only .map-tools::-webkit-scrollbar {
  display: none;
}

body.is-studio-embed.studio-embed-map-only .map-tools .button,
body.is-studio-embed.studio-embed-map-only .map-tools .street-tool-button,
body.is-studio-embed.studio-embed-map-only .map-type-control,
body.is-studio-embed.studio-embed-map-only .map-asset-control {
  flex: 0 0 auto;
}

body.is-studio-embed.studio-embed-map-only .map-zoom-control,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-desktop .map-zoom-control,
body.is-studio-embed.studio-embed-map-only .app.layout-mode-phone .map-zoom-control {
  right: 12px;
  bottom: 12px;
}

body.is-studio-embed.studio-embed-no-map-controls .map-tools,
body.is-studio-embed.studio-embed-no-map-controls .map-zoom-control,
body.is-studio-embed.studio-embed-no-satellite .map-type-control,
body.is-studio-embed.studio-embed-no-street-view #streetViewButton,
body.is-studio-embed.studio-embed-no-pins #pinLayer,
body.is-studio-embed.studio-embed-no-pins #geofenceLayer,
body.is-studio-embed.studio-embed-no-pins #geofenceDrawingTools,
body.is-studio-embed.studio-embed-no-trail #trailToggleButton,
body.is-studio-embed.studio-embed-no-trail #speedPathToggleButton,
body.is-studio-embed.studio-embed-no-trail #clearTrailButton {
  display: none !important;
}

.studio-embed-expired {
  width: 100vw;
  height: var(--app-height);
  display: grid;
  place-items: center;
  padding: 18px;
  background: #eef3f7;
}

.studio-embed-expired section {
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.studio-embed-expired h1 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.studio-embed-expired p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
