.tgu-app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  background:
    linear-gradient(180deg, rgba(104, 195, 189, 0.06), transparent 22rem),
    var(--bg-base);
}

.tgu-toolbar {
  border-bottom: 1px solid var(--line);
  background: rgba(23, 26, 28, 0.96);
  box-shadow: var(--shadow);
  z-index: 2;
}

.tgu-toolbar__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 0.75rem 1rem 0.65rem;
  overflow-x: auto;
}

.tgu-toolbar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 13.5rem;
  padding-right: 0.5rem;
}

.tgu-toolbar__mark {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(104, 195, 189, 0.42);
}

.tgu-toolbar__title {
  font-size: 0.96rem;
  font-weight: 700;
}

.tgu-toolbar__subtitle {
  margin-top: 0.1rem;
  color: var(--text-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.tgu-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.tgu-field input,
.tgu-search input {
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #101214;
  color: var(--text);
  outline: none;
}

.tgu-field input {
  width: 12.8rem;
  padding: 0.38rem 0.55rem;
}

.tgu-field input:focus,
.tgu-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(104, 195, 189, 0.16);
}

.tgu-button {
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.38rem 0.72rem;
  background: var(--bg-panel-2);
  color: var(--text);
  white-space: nowrap;
}

.tgu-button:hover:not(:disabled) {
  border-color: #4e5a5d;
  background: var(--bg-elevated);
}

.tgu-button--primary {
  border-color: rgba(104, 195, 189, 0.58);
  background: #214341;
  color: #eafffd;
}

.tgu-button--accept {
  border-color: rgba(47, 158, 68, 0.65);
  background: rgba(47, 158, 68, 0.16);
}

.tgu-button--reject {
  border-color: rgba(214, 69, 69, 0.7);
  background: rgba(214, 69, 69, 0.14);
}

.tgu-tabs {
  display: inline-flex;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.18rem;
  background: #101214;
}

.tgu-tabs button {
  min-height: 1.85rem;
  border: 0;
  border-radius: 5px;
  padding: 0.28rem 0.75rem;
  background: transparent;
  color: var(--text-muted);
}

.tgu-tabs button.is-active {
  background: var(--bg-elevated);
  color: var(--accent-strong);
}

.tgu-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.48rem 0.82rem;
  padding: 0 1rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.tgu-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.tgu-legend__swatch {
  width: 1.05rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #79828d;
}

.tgu-legend__note {
  color: var(--accent-strong);
}

.status-accepted {
  background-color: #2f9e44;
}

.status-rejected {
  background-color: #d64545;
}

.status-waiting {
  background-color: #f0ad2e;
}

.status-planned {
  background-color: #8d99a6;
}

.status-issuing {
  background-color: #2f80ed;
}

.status-expired {
  background-color: #495057;
}

.status-superseded {
  background-color: #c7ced6;
}

.status-ambiguous {
  background-color: #b42318;
  outline: 1px dashed #ffd1d1;
}

.status-unknown {
  background-color: #79828d;
}

.tgu-workspace {
  display: grid;
  grid-template-columns: 18.5rem minmax(0, 1fr) 22rem;
  min-width: 0;
  min-height: 0;
}

.tgu-sidebar,
.tgu-details {
  min-height: 0;
  background: var(--bg-panel);
}

.tgu-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.tgu-sidebar__legend {
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.tgu-sidebar__legend .tgu-legend {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
}

.tgu-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tgu-link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 0.78rem;
}

.tgu-search {
  padding: 0.75rem 0.8rem;
}

.tgu-search input {
  width: 100%;
  padding: 0.42rem 0.65rem;
}

.tgu-spacecraft-list {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 0;
  overflow: auto;
  padding: 0 0.55rem 0.9rem;
}

.tgu-spacecraft {
  display: grid;
  grid-template-columns: 0.58rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  min-height: 4.35rem;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.55rem 0.62rem;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.tgu-spacecraft:hover,
.tgu-spacecraft.is-selected {
  border-color: var(--line);
  background: var(--bg-panel-2);
}

.tgu-spacecraft.is-selected {
  border-color: rgba(104, 195, 189, 0.6);
}

.tgu-spacecraft__problem {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #465154;
}

.tgu-spacecraft__problem.is-problem {
  background: var(--danger);
  box-shadow: 0 0 12px rgba(214, 69, 69, 0.55);
}

.tgu-spacecraft__body {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.tgu-spacecraft__name {
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgu-spacecraft__meta,
.tgu-spacecraft__status {
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgu-spacecraft__count {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.5rem;
  border-radius: 5px;
  background: #101214;
  color: var(--accent-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.tgu-center {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: #121516;
}

.tgu-timeline-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem 0;
}

.tgu-timeline-controls__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted, #9aa4ad);
  cursor: pointer;
  user-select: none;
}

.tgu-timeline-controls__toggle input {
  cursor: pointer;
}

.tgu-timeline {
  min-width: 48rem;
  min-height: 100%;
  padding: 0.85rem;
}

.tgu-timeline__svg {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151819;
}

.tgu-timeline__background {
  fill: #151819;
}

.tgu-timeline__labels-background {
  fill: #181c1e;
}

.tgu-timeline__axis,
.tgu-timeline__grid {
  stroke: #343c3f;
  stroke-width: 1;
}

.tgu-timeline__grid {
  stroke-dasharray: 3 5;
}

.tgu-timeline__tick-date {
  fill: #d2dddd;
  font-size: 12px;
  font-weight: 650;
}

.tgu-timeline__tick-time,
.tgu-timeline__row-meta {
  fill: #79878a;
  font-size: 11px;
}

.tgu-timeline__now {
  stroke: #f46e4f;
  stroke-width: 1.7;
  stroke-dasharray: 5 5;
}

.tgu-timeline__now-label {
  fill: #f46e4f;
  font-size: 12px;
  font-weight: 700;
}

.tgu-timeline__row {
  fill: #151819;
  stroke: #22282a;
  stroke-width: 1;
}

.tgu-timeline__row--alt {
  fill: #171b1d;
}

.tgu-timeline__row-title {
  fill: #e2e9e9;
  font-size: 13px;
  font-weight: 700;
}

.tgu-timeline__arrow {
  fill: none;
  stroke: #8aa2a6;
  stroke-width: 1.5;
  opacity: 0.8;
}

.tgu-timeline-plan {
  cursor: pointer;
}

.tgu-timeline-plan__bar {
  stroke-linecap: round;
  stroke-width: 13;
}

.tgu-timeline-plan__selection {
  stroke: #efffff;
  stroke-linecap: round;
  stroke-width: 19;
  opacity: 0.85;
}

.tgu-timeline-plan__label {
  fill: #101214;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.tgu-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: auto;
  border-left: 1px solid var(--line);
  padding: 1rem;
}

.tgu-details--empty {
  align-items: center;
  justify-content: center;
}

.tgu-details__placeholder {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.tgu-details__placeholder-icon {
  width: 2.2rem;
  height: 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.tgu-details__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.tgu-details__eyebrow {
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.tgu-details h2 {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.25;
}

.tgu-icon-button {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-panel-2);
  color: var(--text-muted);
}

.tgu-status-pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  color: #101214;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.tgu-details-grid {
  display: grid;
  gap: 0.72rem;
  margin: 0;
}

.tgu-details-grid dt {
  margin-bottom: 0.18rem;
  color: var(--text-dim);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.tgu-details-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.84rem;
}

.tgu-details__actions {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.35rem;
}

.tgu-alert {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.62rem 0.72rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.tgu-toolbar > .tgu-alert {
  margin: 0 1rem 0.75rem;
}

.tgu-alert--danger {
  border-color: rgba(214, 69, 69, 0.48);
  background: rgba(214, 69, 69, 0.12);
  color: #ffd9d9;
}

.tgu-alert--warning {
  border-color: rgba(240, 173, 46, 0.48);
  background: rgba(240, 173, 46, 0.12);
  color: #ffe7b5;
}

.tgu-alert--success {
  border-color: rgba(47, 158, 68, 0.48);
  background: rgba(47, 158, 68, 0.12);
  color: #c9f7d2;
}

.tgu-empty {
  display: grid;
  place-items: center;
  min-height: 18rem;
  padding: 2rem;
  color: var(--text-dim);
  text-align: center;
}

.tgu-empty--compact {
  min-height: 5rem;
  padding: 1rem;
  font-size: 0.82rem;
}

.tgu-map-workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-width: 0;
  min-height: 0;
  background: #121516;
}

.tgu-map-toolbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-panel);
}

.tgu-map-toolbar__title {
  font-size: 0.92rem;
  font-weight: 700;
}

.tgu-map-toolbar__subtitle {
  margin-top: 0.12rem;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.tgu-map-toolbar__toggles {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tgu-map-toolbar__toggles button {
  min-height: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: #101214;
  color: var(--text-muted);
}

.tgu-map-toolbar__toggles button.is-active {
  border-color: rgba(104, 195, 189, 0.58);
  background: rgba(104, 195, 189, 0.16);
  color: var(--accent-strong);
}

.tgu-map-content {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
}

.tgu-map-panel {
  min-height: 0;
  overflow: auto;
  border-right: 1px solid var(--line);
  background: var(--bg-panel);
}

.tgu-map-panel__section {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.tgu-map-panel__label {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tgu-map-panel__value {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.84rem;
}

.tgu-map-layer-list {
  display: grid;
  gap: 0.45rem;
}

.tgu-map-layer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #111416;
}

.tgu-map-layer input {
  margin-top: 0.18rem;
  accent-color: var(--accent);
}

.tgu-map-layer__title,
.tgu-map-layer__description {
  display: block;
}

.tgu-map-layer__title {
  font-size: 0.82rem;
  font-weight: 650;
}

.tgu-map-layer__description {
  margin-top: 0.14rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.3;
}

.tgu-map-layer__warning {
  display: block;
  margin-top: 0.24rem;
  color: #ffe0a3;
  font-size: 0.7rem;
  line-height: 1.3;
}

.tgu-map-spacecraft-list {
  display: grid;
  gap: 0.35rem;
  max-height: 18rem;
  overflow: auto;
  padding-top: 0.55rem;
}

.tgu-map-spacecraft {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 0.5rem 0.55rem;
  background: #111416;
  color: var(--text-muted);
  cursor: pointer;
  transition: opacity 0.15s;
}

.tgu-map-spacecraft input {
  accent-color: var(--accent);
  flex-shrink: 0;
}

.tgu-map-spacecraft.is-hidden {
  opacity: 0.4;
}

.tgu-map-spacecraft__name,
.tgu-map-spacecraft__meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgu-map-spacecraft__name {
  font-size: 0.8rem;
  font-weight: 650;
}

.tgu-map-spacecraft__meta {
  margin-top: 0.12rem;
  color: var(--text-dim);
  font-size: 0.68rem;
}

.tgu-map-status-legend {
  display: grid;
  gap: 0.32rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.tgu-map-status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tgu-map-status-legend i {
  display: inline-block;
  width: 1rem;
  height: 0.42rem;
  border-radius: 999px;
}

.tgu-map-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #0b0d0e;
}

.tgu-2d-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 28rem;
  cursor: grab;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.tgu-2d-map:active {
  cursor: grabbing;
}

.tgu-2d-map__canvas,
.tgu-2d-map__overlay {
  position: absolute;
  inset: 0;
}

.tgu-2d-map__canvas {
  width: 100%;
  height: 100%;
}

.tgu-2d-map__overlay {
  overflow: visible;
  pointer-events: none;
}

.tgu-2d-map__overlay polygon {
  fill: rgba(104, 195, 189, 0.16);
  stroke: rgba(130, 222, 216, 0.9);
  stroke-width: 1.6;
}

.tgu-2d-map__overlay polygon.is-selected {
  fill: rgba(240, 173, 46, 0.2);
  stroke: #f0ad2e;
  stroke-width: 2;
}

.tgu-2d-map__overlay circle {
  fill: rgba(104, 195, 189, 0.12);
  stroke: rgba(130, 222, 216, 0.9);
  stroke-width: 2;
}

.tgu-2d-map__overlay circle.is-selected {
  fill: rgba(240, 173, 46, 0.15);
  stroke: #f0ad2e;
  stroke-width: 2.5;
}

.tgu-2d-map__tooltip {
  position: absolute;
  z-index: 8;
  max-width: 15rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  background: rgba(16, 18, 20, 0.94);
  box-shadow: var(--shadow);
  color: var(--text);
  pointer-events: none;
}

.tgu-2d-map__tooltip div {
  font-size: 0.78rem;
  font-weight: 700;
}

.tgu-2d-map__tooltip span {
  display: block;
  margin-top: 0.14rem;
  color: var(--text-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.tgu-2d-map__attribution {
  position: absolute;
  left: 0.55rem;
  bottom: 0.5rem;
  border-radius: 4px;
  padding: 0.18rem 0.4rem;
  background: rgba(8, 16, 15, 0.68);
  color: var(--text-dim);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  pointer-events: none;
}

.tgu-2d-map__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.25rem;
}

.tgu-2d-map__zoom button {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-panel);
  color: var(--text);
  font-weight: 700;
}

.tgu-map-overlay {
  position: absolute;
  z-index: 5;
  top: 0.85rem;
  left: 0.85rem;
  max-width: 23rem;
  border: 1px solid rgba(240, 173, 46, 0.42);
  border-radius: 7px;
  padding: 0.65rem 0.75rem;
  background: rgba(17, 19, 21, 0.88);
  color: #ffe7b5;
  font-size: 0.82rem;
  backdrop-filter: blur(6px);
}

.tgu-map-errors {
  display: grid;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem 0;
}

.tgu-map-errors:empty {
  display: none;
}

.tgu-map-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 1fr 0.8fr;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
  background: var(--bg-panel);
}

.tgu-map-details__label {
  margin-bottom: 0.18rem;
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tgu-map-details__value {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.82rem;
}

.tgu-map-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tgu-map-status-pill i {
  width: 0.95rem;
  height: 0.42rem;
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .tgu-workspace {
    grid-template-columns: 16rem minmax(0, 1fr);
  }

  .tgu-details {
    grid-column: 1 / -1;
    max-height: 18rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tgu-map-content {
    grid-template-columns: 1fr;
  }

  .tgu-map-panel {
    max-height: 18rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tgu-map-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Requests filter panel ─────────────────────────────── */

.tgu-button--sm {
  min-height: 1.75rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}

.tgu-alert--compact {
  padding: 0.42rem 0.58rem;
  font-size: 0.76rem;
}

.tgu-map-requests-filter {
  display: grid;
  gap: 0.55rem;
}

.tgu-map-requests-filter .tgu-field {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
}

.tgu-map-requests-filter .tgu-field input {
  width: 100%;
}

.tgu-map-requests-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tgu-map-requests-filter__status {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tgu-map-requests-filter__truncated {
  color: #ffe0a3;
}

.tgu-map-requests-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  padding-top: 0.2rem;
  color: var(--text-dim);
  font-size: 0.74rem;
}

.tgu-map-requests-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.tgu-map-requests-legend i {
  display: inline-block;
  width: 1.1rem;
  height: 0.42rem;
  border-radius: 3px;
  border: 1.5px dashed;
}

.req-optics {
  background: rgba(255, 160, 64, 0.25);
  border-color: rgba(255, 160, 64, 0.85);
}

.req-rsa {
  background: rgba(64, 175, 255, 0.25);
  border-color: rgba(64, 175, 255, 0.85);
}

.req-combined {
  background: rgba(192, 128, 255, 0.25);
  border-color: rgba(192, 128, 255, 0.85);
}

/* ── Requests-at-point panel ───────────────────────────── */

.tgu-map-content.has-requests-panel {
  grid-template-columns: 19rem minmax(0, 1fr) 20rem;
}

.tgu-map-requests-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--bg-panel);
}

.tgu-map-requests-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
  background: var(--line-soft);
}

.tgu-map-request-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: none;
  background: var(--bg-panel);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.tgu-map-request-row:hover {
  background: var(--bg-hover);
}

.tgu-map-request-row.is-selected {
  background: rgba(240, 173, 46, 0.1);
  outline: 1px solid rgba(240, 173, 46, 0.4);
  outline-offset: -1px;
}

.tgu-map-request-row__type {
  flex-shrink: 0;
  align-self: center;
  width: 1rem;
  height: 0.4rem;
  border-radius: 3px;
  border: 1.5px dashed;
}

.tgu-map-request-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tgu-map-request-row__name {
  overflow: hidden;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgu-map-request-row__meta {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.4;
}

.tgu-map-request-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
}

.tgu-map-request-details .tgu-map-panel__label {
  margin-bottom: 0.1rem;
}

.tgu-map-request-details__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.8rem;
  margin: 0;
}

.tgu-map-request-details__grid dt {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.5;
}

.tgu-map-request-details__grid dd {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .tgu-map-content.has-requests-panel {
    grid-template-columns: 1fr;
  }

  .tgu-map-requests-panel {
    max-height: 18rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ── Вкладка «Заявки» ───────────────────────────────────── */

.tgu-map-content.has-side-panel {
  grid-template-columns: 19rem minmax(0, 1fr) 24rem;
}

.tgu-map-overlay--hint {
  border-color: rgba(104, 195, 189, 0.5);
  color: #bdeee9;
}

/* Черновой полигон при рисовании заявки */
.tgu-2d-map__overlay .tgu-2d-map__draft-fill {
  fill: rgba(240, 173, 46, 0.16);
  stroke: #f0ad2e;
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.tgu-2d-map__overlay .tgu-2d-map__draft-line {
  fill: none;
  stroke: #f0ad2e;
  stroke-width: 2;
  stroke-dasharray: 6 4;
}

.tgu-2d-map__overlay .tgu-2d-map__draft-vertex {
  fill: #f0ad2e;
  stroke: #1a1c1e;
  stroke-width: 1.5;
}

/* Панель-форма создания заявки */
.tgu-requests-form__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
}

.tgu-requests-form__section {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.tgu-requests-field {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.tgu-requests-field > span {
  color: var(--text-dim);
  font-size: 0.74rem;
}

.tgu-requests-field input,
.tgu-requests-field select {
  width: 100%;
  min-height: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
  background: #101214;
  color: var(--text);
  font-size: 0.8rem;
}

.tgu-requests-field input:focus,
.tgu-requests-field select:focus {
  outline: none;
  border-color: rgba(104, 195, 189, 0.6);
}

.tgu-requests-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--text);
  font-size: 0.8rem;
}

.tgu-requests-checkbox input {
  accent-color: var(--accent);
}

.tgu-requests-form__block-toggle {
  font-weight: 650;
}

.tgu-requests-form__block {
  display: grid;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #111416;
}

.tgu-requests-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tgu-requests-confirm {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.6rem;
  border: 1px solid rgba(229, 115, 115, 0.45);
  border-radius: 6px;
  background: rgba(229, 115, 115, 0.08);
}

.tgu-requests-confirm__title {
  font-weight: 600;
  color: var(--text);
}

.tgu-requests-confirm__subtitle {
  color: var(--text-dim);
  font-size: 0.8rem;
  word-break: break-word;
}

.tgu-requests-form__hint {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tgu-requests-form__geo-status {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 650;
}

.tgu-requests-form__footer {
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
}

.tgu-requests-form__footer .tgu-button {
  width: 100%;
}

@media (max-width: 1100px) {
  .tgu-map-content.has-side-panel {
    grid-template-columns: 1fr;
  }
}
