:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: #0b1015;
  --panel-2: #0f151b;
  --line: #1d2a34;
  --text: #d8e1e8;
  --muted: #78909c;
  --cyan: #2ad4ff;
  --green: #2dff9a;
  --amber: #ffbe45;
  --red: #ff4d5f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

* {
  scrollbar-color: #243744 #06090d;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #06090d;
}

::-webkit-scrollbar-thumb {
  background: #243744;
  border: 1px solid #0b1015;
}

.terminal-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 112px 1fr;
  grid-template-rows: 108px 1fr;
}

.topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px minmax(260px, 1fr) 520px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #070b0f;
}

.brand strong,
.brand span {
  display: block;
  white-space: nowrap;
}

.brand span,
.panel-title span,
.panel-head p,
.metric-block span {
  color: var(--muted);
  font-size: 11px;
}

.command-line {
  border: 1px solid var(--line);
  background: #040608;
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 38px;
  position: relative;
}

.prompt {
  color: var(--cyan);
  margin-right: 8px;
}

.command-line input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.search-results {
  display: none;
  position: absolute;
  z-index: 20;
  top: 42px;
  left: 0;
  right: 0;
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #05080b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.search-results.visible {
  display: block;
}

.search-results button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #14212a;
  background: transparent;
  color: var(--text);
  padding: 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.search-results button:hover {
  background: #0c141b;
}

.search-results strong,
.search-results span {
  display: block;
}

.search-results span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.status-strip {
  justify-self: end;
  display: grid;
  grid-template-columns: 120px 145px 1fr;
  gap: 6px;
  font-size: 12px;
  width: 100%;
}

.status-strip span {
  border: 1px solid var(--line);
  padding: 6px 8px;
  background:
    linear-gradient(180deg, rgba(42, 212, 255, 0.045), transparent 72%),
    #05080b;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-strip .space-time-label {
  grid-row: span 2;
  display: grid;
  align-content: center;
  color: var(--cyan);
  border-color: rgba(42, 212, 255, 0.32);
  background:
    radial-gradient(circle at 18% 18%, rgba(42, 212, 255, 0.14), transparent 32%),
    #05080b;
  font-size: 10px;
  font-weight: 900;
}

.status-strip #utcClock {
  color: var(--green);
  border-color: rgba(45, 255, 154, 0.32);
  font-size: 13px;
  font-weight: 900;
}

.status-strip #localDate,
.status-strip #julianDate,
.status-strip #orbitDay {
  color: var(--muted);
}

.status-strip .warn {
  color: var(--amber);
  border-color: rgba(255, 190, 69, 0.32);
}

.sidebar {
  grid-row: 2;
  border-right: 1px solid var(--line);
  background: #06090d;
  padding: 10px 8px;
}

.sidebar a,
.sidebar-button {
  display: block;
  width: 100%;
  height: 34px;
  margin-bottom: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  text-align: left;
  padding-left: 10px;
  line-height: 32px;
  cursor: pointer;
  text-decoration: none;
}

.sidebar a.active,
.sidebar a:hover,
.sidebar-button:hover {
  color: var(--cyan);
  border-color: var(--line);
  background: #0b1117;
}

.sidebar-button {
  text-transform: uppercase;
}

.dashboard {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
  gap: 12px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.hero-panel {
  grid-column: 1 / -1;
  grid-row: span 2;
  min-height: 0;
  padding: 16px;
}

.hero-commerce-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-commerce-grid div,
.hero-commerce-grid button {
  min-width: 0;
  border: 1px solid #172630;
  background:
    linear-gradient(180deg, rgba(42, 212, 255, 0.045), transparent 70%),
    #05080b;
  padding: 8px 9px;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-commerce-grid span,
.hero-commerce-grid strong,
.hero-commerce-grid em,
.hero-commerce-grid button span,
.hero-commerce-grid button strong,
.hero-commerce-grid button em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-commerce-grid button:hover {
  border-color: rgba(42, 212, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(42, 212, 255, 0.08), rgba(45, 255, 154, 0.045)),
    #05080b;
}

.hero-commerce-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-commerce-grid strong {
  margin-top: 4px;
  color: var(--green);
  font-size: 12px;
}

.hero-commerce-grid em {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
}

.seo-panel {
  grid-row: span 4;
  padding: 14px;
  border-color: rgba(45, 255, 154, 0.24);
  background:
    radial-gradient(circle at 18% 16%, rgba(45, 255, 154, 0.08), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(42, 212, 255, 0.07), transparent 32%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
}

.seo-panel .panel-title {
  align-items: end;
}

.seo-panel .panel-title span {
  text-align: right;
}

.seo-grid,
.faq-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-card {
  min-width: 0;
  height: 100%;
  border: 1px solid #172630;
  background:
    linear-gradient(145deg, rgba(42, 212, 255, 0.045), transparent 52%),
    #05080b;
  padding: 14px;
  display: flex;
  min-height: 172px;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.seo-grid .seo-card {
  border-left: 3px solid rgba(45, 255, 154, 0.58);
}

.faq-grid .seo-card {
  min-height: 138px;
  border-left: 3px solid rgba(42, 212, 255, 0.46);
}

.seo-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  text-wrap: pretty;
}

.seo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  max-width: 68ch;
  text-wrap: pretty;
}

.seo-card h3 + p {
  margin-top: 10px;
}

.site-footer {
  grid-column: 1 / -1;
  grid-row: span 1;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(45, 255, 154, 0.075), transparent 44%),
    #05080b;
  min-height: 92px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 16px;
  align-items: center;
}

.site-footer strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer strong {
  color: var(--text);
  font-size: 15px;
}

.site-footer span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.signals-panel {
  grid-column: span 4;
  grid-row: span 3;
  padding: 12px;
  min-height: 0;
}

.mission-brief-panel {
  grid-row: span 3;
  padding: 12px;
  background:
    radial-gradient(circle at 12% 10%, rgba(42, 212, 255, 0.11), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(45, 255, 154, 0.08), transparent 28%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
}

.mission-brief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
  min-height: 0;
  overflow: auto;
}

.mission-brief-item {
  display: grid;
  grid-template-columns: 30px minmax(120px, 0.76fr) minmax(72px, auto);
  grid-template-rows: auto auto;
  gap: 6px 10px;
  align-items: center;
  min-height: 86px;
  border: 1px solid #172630;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #05080b;
  padding: 10px 12px;
  overflow: hidden;
}

.mission-brief-item strong {
  grid-row: span 2;
  color: var(--muted);
  font-size: 13px;
}

.mission-brief-item span {
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-brief-item b {
  justify-self: end;
  color: var(--text);
  font-size: 13px;
}

.mission-brief-item em {
  grid-column: 2 / -1;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
}

.mission-brief-item.red {
  border-left: 3px solid var(--red);
  background:
    linear-gradient(90deg, rgba(255, 77, 95, 0.16), transparent 46%),
    #05080b;
}

.mission-brief-item.amber {
  border-left: 3px solid var(--amber);
  background:
    linear-gradient(90deg, rgba(255, 190, 69, 0.14), transparent 46%),
    #05080b;
}

.mission-brief-item.green {
  border-left: 3px solid var(--green);
}

.mission-brief-item.cyan {
  border-left: 3px solid var(--cyan);
}

.mission-brief-item.red span,
.mission-brief-item.red b {
  color: var(--red);
}

.mission-brief-item.amber span,
.mission-brief-item.amber b {
  color: var(--amber);
}

.mission-brief-item.green b {
  color: var(--green);
}

.mission-brief-item.cyan b {
  color: var(--cyan);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  margin-top: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.signal-item {
  min-height: 92px;
  border: 1px solid #172630;
  background: #05080b;
  color: var(--text);
  padding: 10px;
  text-align: left;
  font: inherit;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color 160ms ease, background 160ms ease;
}

.signal-item:hover {
  border-color: rgba(42, 212, 255, 0.42);
  background: #071018;
}

.signal-item strong,
.signal-item span {
  display: block;
}

.signal-item strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
}

.signal-source {
  color: var(--cyan);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signal-body {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.signal-item.red {
  border-left: 2px solid var(--red);
}

.signal-item.amber {
  border-left: 2px solid var(--amber);
}

.signal-item.green {
  border-left: 2px solid var(--green);
}

.signal-item.cyan {
  border-left: 2px solid var(--cyan);
}

.mini-chart {
  display: grid;
  gap: 6px;
  margin: 10px 0 12px;
  padding: 8px;
  border: 1px solid #15242e;
  background:
    linear-gradient(145deg, rgba(42, 212, 255, 0.045), transparent 42%),
    linear-gradient(180deg, rgba(9, 18, 24, 0.94), rgba(4, 8, 11, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), inset 0 -18px 30px rgba(0, 0, 0, 0.15);
}

.mini-chart-empty {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.mini-bar {
  display: grid;
  grid-template-columns: minmax(92px, 0.9fr) minmax(80px, 1.4fr) minmax(54px, auto);
  gap: 8px;
  align-items: center;
  min-width: 0;
  font-size: 10px;
}

.mini-bar span {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-bar i {
  height: 9px;
  border: 1px solid #172630;
  background: linear-gradient(180deg, #091017, #030608);
  overflow: hidden;
  transform: skewX(-10deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.mini-bar b {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--cyan);
  box-shadow: 0 0 12px currentColor;
}

.mini-bar strong {
  justify-self: end;
  font-size: 10px;
}

.mini-bar.red b {
  background: var(--red);
}

.mini-bar.red {
  color: var(--red);
}

.mini-bar.red strong {
  color: var(--red);
}

.mini-bar.amber b {
  background: var(--amber);
}

.mini-bar.amber {
  color: var(--amber);
}

.mini-bar.amber strong {
  color: var(--amber);
}

.mini-bar.green b {
  background: var(--green);
}

.mini-bar.green {
  color: var(--green);
}

.mini-bar.green strong {
  color: var(--green);
}

.mini-bar.cyan b {
  background: var(--cyan);
}

.mini-bar.cyan {
  color: var(--cyan);
}

.mini-bar.cyan strong {
  color: var(--cyan);
}

.chart-orbits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-orbits .mini-bar {
  grid-template-columns: minmax(96px, 1fr) 44px auto;
}

.chart-orbits .mini-bar i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: none;
  background: conic-gradient(currentColor var(--angle), rgba(255, 255, 255, 0.055) 0);
  border-color: rgba(216, 225, 232, 0.12);
  box-shadow: inset 0 0 0 7px #04080c, 0 0 16px rgba(42, 212, 255, 0.12);
}

.chart-orbits .mini-bar i b {
  display: none;
}

.chart-waves .mini-bar i {
  height: 18px;
  transform: none;
  border-radius: 2px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.1) 0 2px, transparent 3px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 8px),
    #030608;
}

.chart-waves .mini-bar i b {
  clip-path: polygon(0 58%, 8% 42%, 17% 62%, 27% 36%, 40% 68%, 53% 34%, 66% 61%, 79% 45%, 91% 64%, 100% 50%, 100% 100%, 0 100%);
}

.chart-dots {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-dots .mini-bar {
  grid-template-columns: minmax(100px, 1fr) minmax(54px, auto);
}

.chart-dots .mini-bar i {
  display: none;
}

.chart-dots .mini-bar span::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.chart-dots .mini-bar.red span::before {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.chart-dots .mini-bar.amber span::before {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

.chart-dots .mini-bar.green span::before {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.chart-columns,
.chart-histogram,
.chart-bubble,
.chart-radar,
.chart-area,
.chart-waterfall,
.chart-heatmap {
  min-height: 132px;
}

.chart-column.red,
.histogram-bin.red,
.waterfall-step.red,
.heat-cell.red,
.bubble-point.red,
.radar-legend .red,
.area-legend .red {
  color: var(--red);
}

.chart-column.amber,
.histogram-bin.amber,
.waterfall-step.amber,
.heat-cell.amber,
.bubble-point.amber,
.radar-legend .amber,
.area-legend .amber {
  color: var(--amber);
}

.chart-column.green,
.histogram-bin.green,
.waterfall-step.green,
.heat-cell.green,
.bubble-point.green,
.radar-legend .green,
.area-legend .green {
  color: var(--green);
}

.chart-column.cyan,
.histogram-bin.cyan,
.waterfall-step.cyan,
.heat-cell.cyan,
.bubble-point.cyan,
.radar-legend .cyan,
.area-legend .cyan {
  color: var(--cyan);
}

.chart-column-stage,
.histogram-stage,
.waterfall-stage {
  min-height: 136px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
  gap: 8px;
  align-items: end;
  padding: 8px 4px 2px;
  perspective: 800px;
}

.chart-column,
.histogram-bin,
.waterfall-step {
  display: grid;
  grid-template-rows: minmax(82px, 1fr) auto auto;
  gap: 5px;
  min-width: 0;
  text-align: center;
  font-size: 9px;
}

.chart-column i,
.histogram-bin i,
.waterfall-step i {
  align-self: end;
  justify-self: center;
  width: min(32px, 70%);
  height: var(--h);
  min-height: 10px;
  border: 1px solid rgba(216, 225, 232, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(180deg, currentColor, rgba(255, 255, 255, 0.08));
  transform: rotateX(10deg) skewX(-5deg);
  box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.22), 0 0 18px color-mix(in srgb, currentColor 35%, transparent);
}

.chart-column strong,
.histogram-bin strong,
.waterfall-step strong {
  color: currentColor;
}

.chart-column span,
.histogram-bin span,
.waterfall-step span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-heatmap {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.heat-cell {
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(216, 225, 232, 0.11);
  background:
    linear-gradient(135deg, color-mix(in srgb, currentColor var(--heat), transparent), rgba(3, 6, 8, 0.9)),
    #030608;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 20px rgba(0, 0, 0, 0.16);
}

.heat-cell span,
.heat-cell strong {
  display: block;
}

.heat-cell span {
  color: var(--text);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.heat-cell strong {
  margin-top: 7px;
  color: currentColor;
}

.bubble-stage {
  position: relative;
  min-height: 180px;
  border: 1px solid rgba(216, 225, 232, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #030608;
  background-size: 28px 28px;
  overflow: hidden;
}

.bubble-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin-left: calc(var(--s) / -2);
  margin-top: calc(var(--s) / -2);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 16%),
    radial-gradient(circle at 50% 58%, currentColor, rgba(255, 255, 255, 0.05) 68%);
  box-shadow: 0 0 20px color-mix(in srgb, currentColor 36%, transparent), 0 12px 26px rgba(0, 0, 0, 0.28);
}

.bubble-point b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #020406;
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.bubble-point span {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  max-width: 90px;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radar-stage {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.radar-stage svg {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

.radar-stage line,
.radar-grid,
.radar-ring {
  fill: none;
  stroke: rgba(216, 225, 232, 0.16);
  stroke-width: 1;
}

.radar-fill {
  fill: rgba(42, 212, 255, 0.18);
  stroke: rgba(45, 255, 154, 0.42);
  stroke-width: 1;
}

.radar-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.radar-legend,
.area-legend {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.radar-legend span,
.area-legend span {
  color: var(--muted);
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-legend b,
.area-legend b {
  color: currentColor;
}

.area-stage {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(120px, 0.8fr);
  gap: 10px;
  align-items: center;
}

.area-stage svg {
  width: 100%;
  min-height: 132px;
  border: 1px solid rgba(216, 225, 232, 0.09);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #030608;
  background-size: 30px 30px;
}

.area-fill {
  fill: rgba(42, 212, 255, 0.2);
}

.area-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  filter: drop-shadow(0 0 8px rgba(42, 212, 255, 0.42));
}

.waterfall-step {
  position: relative;
  grid-template-rows: minmax(88px, 1fr) auto auto;
}

.waterfall-step i {
  transform: translateY(var(--y)) rotateX(10deg) skewX(-5deg);
}

.panel-head,
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  letter-spacing: 0;
}

h2 {
  font-size: 14px;
  font-weight: 700;
}

.metric-block {
  min-width: 160px;
  text-align: right;
}

.metric-block strong {
  display: block;
  font-size: 28px;
  color: var(--green);
}

.ticker-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  font-size: 12px;
}

.ticker-row span {
  padding: 9px 10px;
  background: #05080b;
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.globe-panel {
  grid-column: span 8;
  grid-row: span 5;
  padding: 12px;
  position: relative;
  min-height: 0;
}

.globe-panel canvas {
  width: 100%;
  aspect-ratio: 920 / 500;
  height: auto;
  flex: 0 0 auto;
  min-height: 380px;
  display: block;
  margin-top: 8px;
  background: #020305;
  border: 1px solid #111c25;
  box-shadow: inset 0 0 90px rgba(42, 212, 255, 0.08), 0 0 28px rgba(0, 0, 0, 0.3);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.orbit-tooltip {
  position: absolute;
  z-index: 12;
  width: min(280px, calc(100% - 24px));
  border: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.96);
  padding: 10px;
  pointer-events: none;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.orbit-tooltip strong,
.orbit-tooltip span {
  display: block;
}

.orbit-tooltip strong {
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.orbit-tooltip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.trajectory-status {
  position: absolute;
  right: 18px;
  bottom: 48px;
  z-index: 8;
  max-width: min(360px, calc(100% - 36px));
  border: 1px solid rgba(42, 212, 255, 0.32);
  background: rgba(5, 8, 11, 0.86);
  color: var(--cyan);
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  pointer-events: none;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
}

.green-dot {
  background: var(--green);
}

.amber-dot {
  background: var(--amber);
}

.red-dot {
  background: var(--red);
}

.cyan-dot {
  background: var(--cyan);
}

.table-panel,
.data-panel,
.market-panel,
.news-panel,
.weather-panel {
  padding: 12px;
  grid-column: span 4;
  grid-row: span 3;
  height: auto;
  min-height: 0;
}

.wide-panel {
  grid-column: span 8;
}

.full-panel {
  grid-column: 1 / -1;
}

.airtime-panel {
  grid-row: span 4;
  padding: 12px;
  border-color: rgba(45, 255, 154, 0.35);
  background:
    linear-gradient(180deg, rgba(45, 255, 154, 0.045), transparent 34%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: inset 0 0 0 1px rgba(42, 212, 255, 0.035), 0 0 28px rgba(45, 255, 154, 0.035);
}

.tall-panel {
  grid-row: span 4;
  height: auto;
  min-height: 0;
}

.split-panel .risk-list,
.split-panel .watch-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-panel .risk-row {
  grid-template-columns: 28px minmax(150px, 0.9fr) minmax(180px, 1.25fr) minmax(70px, auto);
}

.decision-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1.55fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px 12px;
}

.decision-panel .panel-title {
  grid-column: 1 / -1;
}

.decision-panel .mini-chart {
  margin: 0;
  min-height: 0;
  height: 100%;
}

.decision-panel .risk-list,
.decision-panel .watch-list {
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(66px, 1fr);
}

.decision-panel .risk-row {
  grid-template-columns: 26px minmax(130px, 0.85fr) minmax(190px, 1.35fr) minmax(66px, auto);
}

#alerts,
#deorb,
#launches,
#ops,
#city-pass,
#iss,
#launch-impact {
  grid-row: span 4;
}

#markets,
#launches {
  grid-column: 1 / -1;
  grid-row: span 4;
}

#markets {
  grid-row: span 3;
}

#rf-blackout {
  grid-row: span 4;
}

#earth,
#live-desk {
  grid-column: 1 / -1;
  grid-row: span 5;
}

.live-desk-panel {
  grid-column: 1 / -1;
  grid-row: span 4;
  padding: 12px;
  border-color: rgba(42, 212, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(42, 212, 255, 0.045), transparent 38%),
    linear-gradient(180deg, var(--panel), var(--panel-2));
}

.live-desk-grid {
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(420px, 0.85fr);
  gap: 10px;
  min-height: 0;
  flex: 1;
}

.live-monitor,
.live-source-card {
  border: 1px solid #172630;
  background: #030507;
  overflow: hidden;
  position: relative;
}

.live-monitor {
  min-height: 340px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(42, 212, 255, 0.16), transparent 27%),
    radial-gradient(circle at 50% 50%, rgba(45, 255, 154, 0.08), transparent 34%),
    linear-gradient(180deg, #05090d, #020406);
}

.live-monitor::before {
  content: "LIVE MISSION MONITOR";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 6px;
  border: 1px solid rgba(45, 255, 154, 0.5);
  background: rgba(5, 8, 11, 0.82);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.live-monitor::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 13px),
    linear-gradient(90deg, transparent, rgba(42, 212, 255, 0.08), transparent);
  opacity: 0.45;
  pointer-events: none;
}

.live-monitor-orbit {
  position: relative;
  width: min(330px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(42, 212, 255, 0.2);
  box-shadow: inset 0 0 42px rgba(42, 212, 255, 0.08), 0 0 48px rgba(45, 255, 154, 0.06);
  animation: monitorPulse 5s ease-in-out infinite;
}

.live-monitor-orbit::before {
  content: "";
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.88), transparent 12%),
    radial-gradient(circle at 50% 50%, #164b67, #071722 67%, #020406 68%);
  box-shadow: 0 0 32px rgba(42, 212, 255, 0.22);
}

.live-monitor-orbit span {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(42, 212, 255, 0.28);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(12deg);
}

.live-monitor-orbit span:nth-child(2) {
  inset: 20%;
  border-color: rgba(255, 190, 69, 0.28);
  transform: rotateX(58deg) rotateZ(112deg);
  animation: orbitSweep 7s linear infinite;
}

.live-monitor-orbit span:nth-child(3) {
  inset: 3%;
  border-color: rgba(255, 77, 95, 0.23);
  transform: rotateX(68deg) rotateZ(224deg);
  animation: orbitSweep 10s linear infinite reverse;
}

.live-monitor-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 58px;
  z-index: 1;
}

.live-monitor-copy strong,
.live-monitor-copy span {
  display: block;
}

.live-monitor-copy strong {
  color: var(--text);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.1;
}

.live-monitor-copy span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.live-monitor-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.live-monitor-strip b {
  border: 1px solid #1d3541;
  background: rgba(5, 8, 11, 0.86);
  color: var(--cyan);
  padding: 7px;
  text-align: center;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes monitorPulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes orbitSweep {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

.live-side {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
}

.live-side .mini-chart {
  margin: 0;
}

.live-side .risk-list {
  min-height: 0;
  overflow: auto;
}

.live-source-card {
  min-height: 135px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 9px;
}

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

.live-source-card strong {
  color: var(--cyan);
  font-size: 13px;
}

.live-source-card span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.live-source-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.live-source-links a {
  border: 1px solid #1d3541;
  background: #05080b;
  color: var(--text);
  padding: 7px 6px;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
}

.live-source-links a:hover {
  border-color: rgba(42, 212, 255, 0.55);
  color: var(--cyan);
}

#connectivity,
#objects,
#country,
#weather,
#company-intel {
  grid-row: span 3;
}

.data-panel {
  grid-row: span 4;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 12px;
  table-layout: fixed;
}

th,
td {
  border-bottom: 1px solid #15212a;
  padding: 9px 8px;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  line-height: 1.35;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0b1015;
}

.table-panel table,
.data-panel .group-list,
.market-panel .market-grid,
.news-panel .news-list,
.table-panel .watch-list,
.table-panel .risk-list,
.table-panel .health-grid,
.table-panel .profile-grid,
.weather-panel .weather-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.table-panel table {
  display: block;
  max-width: 100%;
}

.table-panel thead,
.table-panel tbody,
.table-panel tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.table-panel tbody {
  display: table-row-group;
}

td:first-child,
th:first-child {
  width: 34%;
}

td:not(:first-child),
th:not(:first-child) {
  width: auto;
}

td.green,
td.amber,
td.red,
td.cyan {
  font-weight: 700;
  border-radius: 3px;
}

td.green {
  color: var(--green);
  background: rgba(45, 255, 154, 0.06);
}

td.amber {
  color: var(--amber);
  background: rgba(255, 190, 69, 0.07);
}

td.red {
  color: var(--red);
  background: rgba(255, 77, 95, 0.08);
}

td.cyan {
  color: var(--cyan);
  background: rgba(42, 212, 255, 0.06);
}

.panel-title {
  flex: 0 0 auto;
  min-height: 28px;
}

.panel-title span {
  max-width: 48%;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  grid-auto-rows: minmax(78px, 1fr);
  gap: 8px;
}

#markets .market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  grid-auto-rows: minmax(68px, auto);
  overflow-y: auto;
}

#markets .market-tile {
  min-height: 68px;
  padding: 10px;
}

#markets .market-tile strong {
  font-size: 16px;
}

#launches {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1.48fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px 12px;
}

#launches .panel-title {
  grid-column: 1 / -1;
}

#launches .mini-chart {
  margin: 0;
  height: 100%;
  min-height: 0;
}

#launches .news-list {
  margin-top: 0;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(70px, 1fr);
}

#launches .news-item {
  min-height: 70px;
}

.market-tile {
  border: 1px solid #172630;
  background: #05080b;
  padding: 9px;
  min-height: 82px;
  min-width: 0;
  text-align: left;
}

.market-tile span {
  color: var(--muted);
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-tile strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-tile small {
  font-size: 11px;
  font-weight: 700;
}

.market-tape b {
  font-weight: 800;
}

.market-tile strong.up,
.market-tile .up {
  color: var(--green);
}

.market-tile strong.down,
.market-tile .down {
  color: var(--red);
}

.watch-list {
  margin-top: 10px;
  display: grid;
  align-content: stretch;
  grid-auto-rows: minmax(78px, 1fr);
  gap: 8px;
}

.watch-list div {
  border: 1px solid #172630;
  background: #05080b;
  padding: 9px;
  min-height: 0;
  min-width: 0;
  text-align: left;
}

.watch-list strong,
.watch-list span,
.watch-list em {
  display: block;
}

.watch-list strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-list span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.watch-list em {
  margin-top: 7px;
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
}

.watch-list a {
  color: var(--cyan);
  text-decoration: none;
}

.thuraya-cta-panel {
  grid-row: span 2;
  grid-row-end: span 2;
  min-height: 250px;
  border-color: rgba(45, 255, 154, 0.28);
  background:
    radial-gradient(circle at 14% 18%, rgba(45, 255, 154, 0.14), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(42, 212, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #0a1116, #05080b);
  box-shadow:
    inset 0 0 0 1px rgba(45, 255, 154, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.18);
}

.thuraya-cta-grid {
  height: 100%;
  min-height: 218px;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(620px, 1.12fr);
  gap: 12px;
  align-items: stretch;
}

.thuraya-cta-copy,
.thuraya-cta-guide {
  min-width: 0;
  border: 1px solid #172630;
  background: rgba(3, 5, 7, 0.72);
}

.thuraya-cta-copy {
  padding: 20px 22px;
  border-left: 3px solid var(--green);
  display: grid;
  align-content: center;
}

.thuraya-cta-copy h2 {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--text);
  font-size: 31px;
  line-height: 1.08;
}

.thuraya-cta-copy p {
  margin: 12px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.thuraya-cta-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thuraya-cta-actions a,
.thuraya-cta-actions button {
  border: 1px solid #1d3541;
  background: rgba(42, 212, 255, 0.06);
  color: var(--cyan);
  padding: 11px 14px;
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.thuraya-cta-actions a.primary,
.thuraya-cta-actions button.primary {
  border-color: rgba(45, 255, 154, 0.48);
  background: rgba(45, 255, 154, 0.12);
  color: var(--green);
}

.thuraya-cta-actions a:hover,
.thuraya-cta-actions button:hover {
  border-color: rgba(42, 212, 255, 0.7);
  background: rgba(42, 212, 255, 0.11);
}

.thuraya-cta-guide,
.thuraya-service-grid {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.thuraya-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thuraya-service-card {
  min-width: 0;
  border: 1px solid #172630;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 14, 18, 0.96), rgba(3, 5, 7, 0.96));
  color: var(--text);
  padding: 12px;
  text-decoration: none;
  font: inherit;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-content: center;
  cursor: pointer;
  text-align: left;
}

.thuraya-service-card.green {
  border-left: 3px solid var(--green);
}

.thuraya-service-card.amber {
  border-left: 3px solid var(--amber);
}

.thuraya-service-card.cyan {
  border-left: 3px solid var(--cyan);
}

.thuraya-service-card.blue {
  border-left: 3px solid #7aa2ff;
}

.service-icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(42, 212, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(42, 212, 255, 0.16), rgba(45, 255, 154, 0.07)),
    #071016;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(42, 212, 255, 0.08);
}

.thuraya-service-card strong,
.thuraya-service-card em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thuraya-service-card strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.12;
}

.thuraya-service-card em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.thuraya-service-card:hover {
  border-color: rgba(42, 212, 255, 0.72);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(42, 212, 255, 0.08), rgba(3, 5, 7, 0.96));
}

.thuraya-buy-strip {
  grid-column: 1 / -1;
  border: 1px solid rgba(45, 255, 154, 0.38);
  background: linear-gradient(90deg, rgba(45, 255, 154, 0.12), rgba(42, 212, 255, 0.08));
  color: var(--text);
  padding: 13px;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  cursor: pointer;
  text-align: left;
}

.thuraya-buy-strip strong {
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
}

.thuraya-buy-strip span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
  line-height: 1.35;
  overflow-wrap: anywhere;
  flex: 1 1 340px;
}

.thuraya-buy-strip:hover {
  border-color: rgba(45, 255, 154, 0.72);
  background: linear-gradient(90deg, rgba(45, 255, 154, 0.18), rgba(42, 212, 255, 0.12));
}

.airtime-terminal {
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(480px, 1.35fr) minmax(220px, 0.65fr);
  gap: 10px;
}

.airtime-copy,
.airtime-shop,
.airtime-secure {
  border: 1px solid #172630;
  background: #05080b;
  min-width: 0;
}

.airtime-copy {
  border-left: 3px solid var(--green);
}

.airtime-shop {
  border-top: 2px solid rgba(42, 212, 255, 0.36);
}

.airtime-copy,
.airtime-secure {
  padding: 14px;
}

.airtime-kicker,
.airtime-secure span,
.airtime-shop-head span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.airtime-copy h2 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.15;
}

.airtime-copy p,
.airtime-secure p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.airtime-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.airtime-status-bar span {
  border: 1px solid #1d3541;
  background: rgba(45, 255, 154, 0.055);
  color: var(--green);
  padding: 8px;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.airtime-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.airtime-actions a,
.airtime-actions button {
  border: 1px solid #1d3541;
  background: rgba(42, 212, 255, 0.055);
  color: var(--cyan);
  padding: 10px;
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.airtime-actions button {
  border-color: rgba(45, 255, 154, 0.42);
  background: rgba(45, 255, 154, 0.09);
  color: var(--green);
}

.airtime-shop {
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.airtime-shop-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.airtime-shop-head strong,
.airtime-secure strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.airtime-shop-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.airtime-tabs {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.airtime-tabs button {
  border: 1px solid #1d3541;
  background: #030507;
  color: var(--muted);
  padding: 8px 10px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.airtime-tabs button.active,
.airtime-tabs button:hover {
  color: var(--green);
  border-color: rgba(45, 255, 154, 0.42);
  background: rgba(45, 255, 154, 0.06);
}

.airtime-products {
  flex: 1;
  min-height: 0;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(74px, 1fr);
  gap: 8px;
}

.airtime-product {
  border: 1px solid #172630;
  background: linear-gradient(180deg, #061016, #030507);
  color: var(--text);
  text-decoration: none;
  padding: 10px;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
}

.airtime-product.featured {
  border-color: rgba(45, 255, 154, 0.38);
  background: linear-gradient(180deg, rgba(45, 255, 154, 0.08), #030507 70%);
}

.airtime-product:hover {
  border-color: rgba(42, 212, 255, 0.55);
}

.airtime-product span,
.airtime-product strong,
.airtime-product em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.airtime-product span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.airtime-product strong {
  color: var(--green);
  font-size: 19px;
}

.airtime-product em {
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
  justify-self: start;
  margin-top: 4px;
  padding: 5px 7px;
  border: 1px solid rgba(42, 212, 255, 0.38);
  background: rgba(42, 212, 255, 0.055);
}

.airtime-card-preview {
  margin-top: 16px;
  border: 1px solid #1d3541;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #111923, #071119 52%, #031014);
  min-height: 154px;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  box-shadow: inset 0 0 42px rgba(42, 212, 255, 0.07);
}

.card-chip {
  width: 42px;
  height: 28px;
  border: 1px solid rgba(255, 190, 69, 0.65);
  background:
    linear-gradient(90deg, rgba(255, 190, 69, 0.12), rgba(255, 190, 69, 0.32)),
    repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(255, 255, 255, 0.16) 7px);
  border-radius: 5px;
}

.card-network {
  align-self: start;
  justify-self: end;
  text-align: right;
}

.card-network b,
.card-network span,
.card-number,
.card-footer span,
.card-footer em {
  display: block;
}

.card-network b {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.card-network span,
.card-footer span,
.card-footer em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.card-number {
  align-self: end;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
}

.card-footer span {
  color: var(--green);
  font-weight: 800;
}

.health-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  grid-auto-rows: minmax(78px, 1fr);
  gap: 8px;
}

.health-tile {
  border: 1px solid #172630;
  background: #05080b;
  padding: 9px;
  min-width: 0;
  min-height: 0;
  text-align: left;
}

.health-tile span,
.health-tile strong,
.health-tile em {
  display: block;
}

.health-tile span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.health-tile strong {
  margin-top: 5px;
  font-size: 15px;
  color: var(--text);
}

.health-tile em {
  margin-top: 5px;
  font-size: 10px;
  font-style: normal;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.health-tile.green {
  border-left: 2px solid var(--green);
}

.health-tile.amber {
  border-left: 2px solid var(--amber);
}

.health-tile.red {
  border-left: 2px solid var(--red);
}

.risk-list {
  margin-top: 10px;
  display: grid;
  align-content: stretch;
  grid-auto-rows: minmax(52px, 1fr);
  gap: 7px;
}

.risk-row {
  display: grid;
  grid-template-columns: 30px minmax(160px, 1fr) minmax(220px, 1.4fr) minmax(70px, auto);
  gap: 10px;
  align-items: center;
  border: 1px solid #172630;
  background: #05080b;
  padding: 10px;
  font-size: 11px;
  min-height: 54px;
  min-width: 0;
  text-align: left;
}

.table-panel:not(.wide-panel) .risk-row,
.compact-risk-list .risk-row {
  grid-template-columns: 24px minmax(104px, 0.92fr) minmax(120px, 1.2fr) minmax(54px, auto);
  gap: 7px;
  padding: 9px;
}

.risk-row strong,
.risk-row b {
  color: var(--text);
}

.risk-row span {
  font-weight: 700;
}

.risk-row em {
  color: var(--muted);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.risk-row.red {
  border-left: 2px solid var(--red);
  background: linear-gradient(90deg, rgba(255, 77, 95, 0.08), #05080b 26%);
}

.risk-row.amber {
  border-left: 2px solid var(--amber);
  background: linear-gradient(90deg, rgba(255, 190, 69, 0.08), #05080b 26%);
}

.risk-row.green {
  border-left: 2px solid var(--green);
  background: linear-gradient(90deg, rgba(45, 255, 154, 0.07), #05080b 26%);
}

.risk-row.cyan {
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(73, 211, 255, 0.07), #05080b 26%);
}

.risk-row b {
  justify-self: end;
  padding: 4px 6px;
  border-radius: 3px;
  background: rgba(216, 225, 232, 0.05);
}

.risk-row.red strong,
.risk-row.red span,
.risk-row.red b {
  color: var(--red);
}

.risk-row.amber strong,
.risk-row.amber span,
.risk-row.amber b {
  color: var(--amber);
}

.risk-row.green strong,
.risk-row.green span,
.risk-row.green b {
  color: var(--green);
}

.risk-row.cyan strong,
.risk-row.cyan span,
.risk-row.cyan b {
  color: var(--cyan);
}

.risk-row.red b {
  background: rgba(255, 77, 95, 0.12);
}

.risk-row.amber b {
  background: rgba(255, 190, 69, 0.12);
}

.risk-row.green b {
  background: rgba(45, 255, 154, 0.1);
}

.risk-row.cyan b {
  background: rgba(73, 211, 255, 0.1);
}

.profile-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  grid-auto-rows: minmax(74px, 1fr);
  gap: 8px;
}

.profile-grid div {
  border: 1px solid #172630;
  background: #05080b;
  padding: 9px;
  min-height: 0;
  min-width: 0;
  text-align: left;
}

.profile-tile.green,
.profile-grid div.green {
  border-left: 3px solid var(--green);
}

.profile-tile.amber,
.profile-grid div.amber {
  border-left: 3px solid var(--amber);
}

.profile-tile.red,
.profile-grid div.red {
  border-left: 3px solid var(--red);
}

.profile-tile.cyan,
.profile-grid div.cyan {
  border-left: 3px solid var(--cyan);
}

.profile-grid span,
.profile-grid strong {
  display: block;
}

.profile-grid span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.profile-grid strong {
  margin-top: 5px;
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.market-tape {
  height: 42px;
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #172630;
  background: #030507;
  display: flex;
  align-items: center;
}

.market-tape-track {
  display: flex;
  width: max-content;
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  animation: tickerMove 70s linear infinite;
  will-change: transform;
}

.market-tape:hover .market-tape-track {
  animation-play-state: paused;
}

.market-tape-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.market-tape-group span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-right: 1px solid #172630;
  color: var(--text);
}

.market-tape-group em {
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
  text-transform: uppercase;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.news-list {
  margin-top: 10px;
  display: grid;
  align-content: stretch;
  grid-auto-rows: minmax(78px, 1fr);
  gap: 8px;
  font-size: 11px;
}

.group-list {
  margin-top: 10px;
  display: grid;
  align-content: stretch;
  grid-auto-rows: minmax(38px, 1fr);
  gap: 7px;
  font-size: 11px;
  padding-right: 2px;
}

.group-row {
  display: grid;
  grid-template-columns: 1fr auto 34px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #172630;
  background: #05080b;
}

.group-row span {
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-row em {
  font-style: normal;
  font-size: 10px;
  text-align: right;
}

.news-item {
  padding: 9px;
  border-left: 2px solid var(--cyan);
  background: #05080b;
  min-height: 92px;
  overflow: hidden;
  text-align: left;
}

.weather-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
}

.weather-grid div {
  border: 1px solid #172630;
  background: #05080b;
  padding: 10px;
  min-height: 86px;
}

.weather-panel .mini-chart {
  margin-bottom: 0;
}

.earth-panel {
  grid-column: 1 / -1;
  padding: 12px;
}

.earth-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 1fr);
  gap: 10px;
  min-height: 310px;
}

.earth-events {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  min-height: 0;
}

.earth-events .mini-chart {
  margin: 0;
}

.earth-image {
  border: 1px solid #172630;
  background: #05080b;
  min-height: 300px;
  overflow: auto;
  position: relative;
  padding: 10px;
}

.earth-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.earth-image span,
.earth-image strong {
  display: block;
}

.earth-image span {
  position: static;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: var(--text);
  font-size: 11px;
  line-height: 1.35;
  text-shadow: 0 2px 12px #000;
}

.earth-image strong {
  color: var(--green);
  font-size: 10px;
  text-transform: uppercase;
}

.earth-data-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  grid-auto-rows: minmax(86px, 1fr);
  gap: 8px;
}

.earth-data-row {
  border: 1px solid #172630;
  background: #030507;
  padding: 10px;
  min-width: 0;
}

.earth-data-row.green {
  border-left: 3px solid var(--green);
}

.earth-data-row.amber {
  border-left: 3px solid var(--amber);
}

.earth-data-row.red {
  border-left: 3px solid var(--red);
}

.earth-data-row.cyan {
  border-left: 3px solid var(--cyan);
}

.earth-data-row span,
.earth-data-row strong {
  display: block;
}

.earth-data-row span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.earth-data-row strong {
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-transform: none;
}

.earth-events {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.imagery-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.imagery-card {
  border: 1px solid #172630;
  background: #05080b;
  min-width: 0;
  overflow: hidden;
}

.imagery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #030507;
}

.imagery-card div {
  padding: 9px;
}

.imagery-card strong,
.imagery-card span,
.imagery-card em,
.imagery-card a {
  display: block;
}

.imagery-card strong {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imagery-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.imagery-card em,
.imagery-card a {
  margin-top: 7px;
  color: var(--cyan);
  font-size: 10px;
  font-style: normal;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.weather-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.weather-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.green {
  color: var(--green);
}

.amber {
  color: var(--amber);
}

.red {
  color: var(--red);
}

.cyan {
  color: var(--cyan);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

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

.modal-panel {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  background: #080d12;
  padding: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: #05080b;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.airtime-modal-panel {
  width: min(1180px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border-color: rgba(45, 255, 154, 0.32);
  background:
    linear-gradient(135deg, rgba(45, 255, 154, 0.065), transparent 38%),
    linear-gradient(180deg, #0b1218, #05080b);
  box-shadow:
    inset 0 0 0 1px rgba(42, 212, 255, 0.05),
    0 30px 100px rgba(0, 0, 0, 0.72);
}

.airtime-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 14px;
  align-items: stretch;
  padding-right: 34px;
}

.airtime-modal-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
}

.airtime-modal-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.airtime-modal-card {
  border: 1px solid rgba(42, 212, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(145deg, #182330, #071119 62%, #031014);
  min-height: 156px;
  padding: 16px;
  display: grid;
  align-content: space-between;
  box-shadow:
    inset 0 0 48px rgba(42, 212, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.32);
}

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

.airtime-modal-card strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1.1;
}

.airtime-modal-card span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.airtime-modal-toolbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #172630;
  background: rgba(3, 5, 7, 0.74);
  padding: 10px;
}

.airtime-modal-toolbar a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.airtime-modal-products {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.airtime-modal-product {
  min-width: 0;
  border: 1px solid #172630;
  background:
    linear-gradient(180deg, rgba(42, 212, 255, 0.055), transparent 35%),
    #05080b;
  color: var(--text);
  padding: 13px;
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  min-height: 96px;
}

.airtime-modal-product.featured {
  border-color: rgba(45, 255, 154, 0.44);
  background:
    linear-gradient(180deg, rgba(45, 255, 154, 0.11), transparent 52%),
    #05080b;
}

.airtime-modal-product:hover {
  border-color: rgba(42, 212, 255, 0.72);
  transform: translateY(-1px);
}

.airtime-modal-product span,
.airtime-modal-product strong,
.airtime-modal-product em {
  display: block;
}

.airtime-modal-product span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.airtime-modal-product strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.airtime-modal-product em {
  grid-row: 1 / 3;
  grid-column: 2;
  border: 1px solid rgba(42, 212, 255, 0.38);
  background: rgba(42, 212, 255, 0.065);
  color: var(--cyan);
  padding: 8px 10px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.airtime-service-desk {
  margin-top: 12px;
  border: 1px solid #172630;
  background:
    linear-gradient(90deg, rgba(42, 212, 255, 0.055), transparent 45%),
    rgba(3, 5, 7, 0.72);
  padding: 12px;
}

.airtime-service-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.airtime-service-head span,
.airtime-service-head strong {
  display: block;
}

.airtime-service-head span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.airtime-service-head strong {
  color: var(--text);
  font-size: 16px;
}

.airtime-service-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.airtime-service-grid a,
.airtime-service-grid button {
  min-width: 0;
  border: 1px solid #172630;
  background: linear-gradient(180deg, rgba(45, 255, 154, 0.055), rgba(3, 5, 7, 0.92));
  color: var(--text);
  text-decoration: none;
  font: inherit;
  padding: 11px;
  text-align: left;
  cursor: pointer;
}

.airtime-service-grid a:hover,
.airtime-service-grid button:hover {
  border-color: rgba(45, 255, 154, 0.58);
}

.airtime-service-grid span,
.airtime-service-grid strong,
.airtime-service-grid em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.airtime-service-grid span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.airtime-service-grid strong {
  margin-top: 7px;
  color: var(--green);
  font-size: 15px;
  line-height: 1.1;
}

.airtime-service-grid em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
}

.airtime-modal-foot {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.airtime-modal-foot span {
  border: 1px solid #172630;
  background: rgba(45, 255, 154, 0.055);
  color: var(--muted);
  padding: 10px;
  font-size: 11px;
  font-weight: 800;
}

.service-modal-panel {
  width: min(1120px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border-color: rgba(42, 212, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(42, 212, 255, 0.07), transparent 42%),
    linear-gradient(180deg, #0b1218, #05080b);
}

.service-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 14px;
  padding-right: 34px;
}

.service-modal-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
}

.service-modal-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-modal-signal {
  border: 1px solid rgba(42, 212, 255, 0.28);
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(145deg, #101b24, #05090d);
  min-height: 142px;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.service-modal-signal span,
.service-modal-signal strong,
.service-modal-signal em {
  display: block;
}

.service-modal-signal span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-modal-signal strong {
  color: var(--green);
  font-size: 22px;
  line-height: 1.05;
}

.service-modal-signal em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.service-modal-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.service-modal-card,
.service-modal-table {
  min-width: 0;
  border: 1px solid #172630;
  background: rgba(3, 5, 7, 0.76);
  padding: 12px;
}

.service-modal-card h3,
.service-modal-table h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
}

.service-modal-card p,
.service-modal-card li {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.service-modal-card p {
  margin: 0 0 10px;
}

.service-modal-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-modal-table table {
  width: 100%;
  border-collapse: collapse;
}

.service-modal-table th,
.service-modal-table td {
  border-bottom: 1px solid #172630;
  padding: 8px;
  color: var(--muted);
  font-size: 10px;
  text-align: left;
  vertical-align: top;
}

.service-modal-table th {
  color: var(--cyan);
  text-transform: uppercase;
}

.service-modal-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-modal-actions a {
  border: 1px solid rgba(42, 212, 255, 0.38);
  background: rgba(42, 212, 255, 0.065);
  color: var(--cyan);
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-modal-actions a:first-child {
  border-color: rgba(45, 255, 154, 0.42);
  background: rgba(45, 255, 154, 0.095);
  color: var(--green);
}

.contact-modal-panel {
  width: min(720px, 100%);
  border-color: rgba(45, 255, 154, 0.34);
  background:
    radial-gradient(circle at 18% 12%, rgba(45, 255, 154, 0.1), transparent 30%),
    linear-gradient(180deg, #0b1218, #05080b);
}

.contact-modal-head {
  padding-right: 38px;
}

.contact-modal-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
}

.contact-modal-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form span {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #172630;
  background: #030507;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  padding: 11px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(42, 212, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(42, 212, 255, 0.12);
}

.contact-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-actions button,
.contact-actions a {
  border: 1px solid rgba(42, 212, 255, 0.38);
  background: rgba(42, 212, 255, 0.065);
  color: var(--cyan);
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-actions button {
  border-color: rgba(45, 255, 154, 0.46);
  background: rgba(45, 255, 154, 0.095);
  color: var(--green);
}

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

.detail-grid div {
  border: 1px solid #172630;
  background: #05080b;
  padding: 10px;
  min-width: 0;
}

.detail-grid span,
.detail-grid strong {
  display: block;
}

.detail-grid span {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}

.detail-grid strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .terminal-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .status-strip {
    justify-self: stretch;
  }

  .sidebar {
    grid-row: auto;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar a,
  .sidebar-button {
    width: auto;
    min-width: 86px;
  }

  .dashboard {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .hero-panel,
  .globe-panel,
  .signals-panel,
  .earth-panel,
  .live-desk-panel,
  .wide-panel,
  .table-panel,
  .data-panel,
  .market-panel,
  .news-panel,
  .weather-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-panel {
    min-height: 220px;
  }

  .globe-panel {
    min-height: 620px;
  }

  .signals-panel,
  .table-panel,
  .data-panel,
  .market-panel,
  .news-panel,
  .weather-panel {
    min-height: 360px;
  }

  .ticker-row,
  .weather-grid,
  .signal-list,
  .live-desk-grid,
  .split-panel .risk-list,
  .split-panel .watch-list,
  .detail-grid,
  .earth-grid,
  .thuraya-cta-grid,
  .airtime-terminal,
  .seo-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thuraya-cta-guide {
    grid-template-columns: 1fr;
  }

  .thuraya-service-grid,
  .airtime-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .airtime-modal-head,
  .airtime-modal-products,
  .airtime-modal-foot,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .airtime-modal-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .airtime-shop {
    grid-column: 1 / -1;
  }

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

  .live-desk-grid {
    grid-template-columns: 1fr;
  }

  .live-monitor {
    order: 2;
  }

  .live-side {
    order: 1;
    grid-template-rows: auto auto;
  }
}

@media (max-width: 720px) {
  .earth-grid,
  .live-desk-grid,
  .health-grid,
  .market-grid,
  .imagery-grid,
  .signal-list,
  .hero-commerce-grid,
  .thuraya-cta-grid,
  .thuraya-cta-guide,
  .thuraya-service-grid,
  .airtime-service-grid,
  .airtime-terminal,
  .airtime-products,
  .seo-grid,
  .faq-grid,
  .contact-form,
  .contact-actions,
  .site-footer,
  .split-panel .risk-list,
  .split-panel .watch-list {
    grid-template-columns: 1fr;
  }

  .thuraya-cta-copy h2 {
    font-size: 24px;
  }

  .thuraya-buy-strip {
    display: grid;
    text-align: left;
  }

  .thuraya-buy-strip span {
    text-align: left;
  }

  .airtime-modal-panel {
    padding: 12px;
  }

  .airtime-modal-head {
    padding-right: 34px;
  }

  .airtime-modal-head h2 {
    font-size: 24px;
  }

  .airtime-modal-product {
    grid-template-columns: 1fr;
  }

  .airtime-modal-product em {
    grid-row: auto;
    grid-column: auto;
    justify-self: start;
  }
}
