:root {
  --bg: #000;
  --panel: #101010;
  --panel-2: #171717;
  --panel-3: #222;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.09);
  --muted: #8d8d8d;
  --text: rgba(255, 255, 255, 0.88);
  --strong: #fff;
  --green: #cfff04;
  --mint: #35d07f;
  --red: #ff5365;
  --amber: #e6c24c;
  --danger-bg: rgba(76, 12, 20, 0.28);
  --green-bg: rgba(48, 92, 25, 0.22);
  --shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 220px),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 14px;
}

body :where(h1,h2,h3,h4,p,span,div,button,a,td,th,label,input,select,small,strong,em) {
  font-weight: 500 !important;
}

body :where(.kicker,.label,.metric-sub span,.metric-sub em,.row-status,.api-status p) {
  font-weight: 400 !important;
}

button,
a,
table {
  font: inherit;
}

.shell {
  width: 100%;
  margin: 0;
  padding: 0 0 30px;
}

.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  margin-bottom: 6px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.masthead .kicker {
  margin-bottom: 0;
}

.kicker,
.label {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.label {
  color: #777;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.05;
  font-weight: 650;
  color: var(--strong);
  text-transform: none;
}

h2 {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--strong);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.actions button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 17px;
  color: var(--text);
  background: #202020;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.actions .primary,
.action-link.primary {
  color: #111;
  border-color: var(--green);
  background: var(--green);
}

.actions .clock-highlight {
  color: var(--text);
  border-color: var(--line);
  background: #202020;
}

.metric-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.9fr;
  gap: 10px;
  margin-top: 10px;
}

.metric,
.panel,
.signal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric {
  position: relative;
  min-height: 220px;
  padding: 14px 14px;
  background: var(--panel);
}

.metric::before,
.panel::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  position: absolute;
  inset: 0 0 auto;
}

.metric > .label {
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.metric-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.metric-card-head .label {
  margin: 0;
}

.current-block-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: #202020;
  font-family: inherit;
  font-size: 14px;
  font-weight: 650 !important;
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

.current-block-module {
  width: 100%;
  min-height: 70px;
  border: 1px solid rgba(207, 255, 4, 0.52);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0 10px;
  background: #0f0f0f;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  line-height: 1.05;
}

.current-block-module:hover,
.current-block-module:focus-visible {
  border-color: var(--green);
  background: #151515;
  outline: none;
}

.current-block-module #bestBlock {
  display: block;
  width: auto;
  min-height: 0;
  margin: 0;
  color: var(--green);
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 650 !important;
  line-height: 1.05;
}

.current-block-module #bestBlockMeta {
  display: block;
  max-width: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric.live {
  border-color: rgba(255, 83, 101, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 83, 101, 0.08), rgba(255, 83, 101, 0.02)),
    var(--panel);
}

.metric.wide {
  border-color: var(--line);
  background: var(--panel-2);
}

.metric.signal-strong {
  border-color: rgba(207, 255, 4, 0.78);
  background: linear-gradient(180deg, rgba(207, 255, 4, 0.12), rgba(207, 255, 4, 0.025)), var(--panel);
}

.metric.signal-small {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(227, 189, 77, 0.1), rgba(227, 189, 77, 0.025)), var(--panel);
}

.metric.signal-watch {
  border-color: rgba(141, 141, 141, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)), var(--panel);
}

.metric.signal-wait {
  border-color: rgba(255, 83, 101, 0.66);
  background: linear-gradient(180deg, rgba(255, 83, 101, 0.11), rgba(255, 83, 101, 0.02)), var(--panel);
}

.metric.signal-strong strong {
  color: var(--green);
}

.metric.signal-small strong {
  color: var(--amber);
}

.metric.signal-watch strong {
  color: var(--muted);
}

.metric.signal-wait strong {
  color: var(--red);
}

.metric.time-window.time-strong {
  border-color: rgba(207, 255, 4, 0.78);
  background: linear-gradient(180deg, rgba(207, 255, 4, 0.12), rgba(207, 255, 4, 0.02)), var(--panel);
}

.metric.time-window.time-good {
  border-color: rgba(53, 208, 127, 0.68);
  background: linear-gradient(180deg, rgba(53, 208, 127, 0.1), rgba(53, 208, 127, 0.02)), var(--panel);
}

.metric.time-window.time-neutral {
  border-color: var(--line);
  background: var(--panel);
}

.metric.time-window.time-risk {
  border-color: rgba(255, 83, 101, 0.66);
  background: linear-gradient(180deg, rgba(255, 83, 101, 0.11), rgba(255, 83, 101, 0.02)), var(--panel);
}

.metric.time-window.time-strong strong,
.metric.time-window.time-good strong {
  color: var(--green);
}

.metric.time-window.time-risk strong {
  color: var(--red);
}

.metric strong {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.12;
  font-weight: 650;
  color: var(--strong);
}

.metric p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.32;
  font-weight: 500;
}

.metric-sub {
  margin-top: 14px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.metric-sub span,
.metric-sub em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
}

.metric-sub strong {
  margin-top: 4px;
  font-size: 22px;
  color: var(--strong);
}

.current-clockin {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(207, 255, 4, 0.035), rgba(255, 83, 101, 0.025)),
    #0b0b0b;
}

.current-clockin.open {
  border-color: rgba(207, 255, 4, 0.62);
  background:
    linear-gradient(180deg, rgba(207, 255, 4, 0.1), rgba(53, 208, 127, 0.035)),
    #0b0b0b;
}

.current-clockin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.current-clockin-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.current-clockin-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.current-clockin.open .current-clockin-status {
  color: var(--green);
}

.current-clockin-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.current-clockin-refresh {
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.current-clockin-refresh:hover,
.current-clockin-refresh:focus-visible {
  color: var(--green);
  outline: none;
}

.current-clockin-refresh:disabled {
  cursor: wait;
  opacity: 0.55;
}

.clock-send-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 3px 10px 3px 5px;
  color: var(--green);
  background: rgba(207, 255, 4, 0.1);
  box-shadow: 0 0 16px rgba(207, 255, 4, 0.16);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.clock-send-logo:hover,
.clock-send-logo:focus-visible,
.clock-send-logo.ready {
  border-color: var(--green);
  color: var(--green);
  background: rgba(207, 255, 4, 0.1);
  box-shadow: 0 0 16px rgba(207, 255, 4, 0.16);
  outline: none;
}

.clock-send-logo.ready {
  animation: clockSendPulse 1.4s ease-in-out infinite;
}

.clock-send-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #111;
  background: var(--green);
  box-shadow: 0 0 12px rgba(207, 255, 4, 0.28);
  font-size: 16px;
  line-height: 1;
}

.clock-send-logo span:last-child {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

@keyframes clockSendPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(207, 255, 4, 0.14); }
  50% { box-shadow: 0 0 22px rgba(207, 255, 4, 0.34); }
}

.current-clockin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.current-clockin-grid div {
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  padding-left: 12px;
}

.current-clockin-grid div:first-child {
  border-left: 0;
  padding-left: 0;
}

.current-clockin-grid span {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.current-clockin-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--strong);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.05;
  white-space: nowrap;
}

.signal-card-head {
  align-items: flex-start;
  margin-bottom: 10px;
}

.opsat-card-link,
.damned-card-link {
  flex: 0 0 auto;
  min-width: 118px;
  min-height: 54px;
  border-radius: 10px;
  padding: 0 22px;
  font-size: 18px;
  font-weight: 650 !important;
}

.damned-card-link {
  min-width: 142px;
}

.price-strong,
.metric strong.price-strong,
.metric-sub strong.price-strong {
  color: var(--mint);
}

.price-small,
.metric strong.price-small,
.metric-sub strong.price-small {
  color: var(--amber);
}

.price-watch,
.metric strong.price-watch,
.metric-sub strong.price-watch,
.neutral {
  color: var(--muted);
}

.price-wait,
.metric strong.price-wait,
.metric-sub strong.price-wait {
  color: var(--red);
}

.next-block-top {
  display: block;
  width: fit-content;
  min-height: 0;
  border-radius: 0;
  padding: 0;
  color: var(--green);
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 650 !important;
  line-height: 1.05;
}

.next-block-top {
  margin: 0 0 8px;
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chips span,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: 3px 7px;
  background: #262626;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 950;
}

.metric .range {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 10px;
  border: 2px dashed rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.035);
  font-weight: 950;
}

.signal-guide {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.time-guide {
  margin-top: 16px;
}

.time-window-chips span {
  min-width: 88px;
}

.signal-guide span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-guide b {
  color: var(--strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 950;
}

.signal-strip {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.05fr 1.05fr 1.05fr;
  gap: 12px;
  margin: 18px 0;
}

.source-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.block-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.block-strip article {
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  background: #101010;
  box-shadow: var(--shadow);
}

.block-strip strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.block-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 850;
}

.decision-card.strong {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(186, 255, 0, 0.16), rgba(16, 16, 16, 0.94));
}

.decision-card.small {
  border-color: var(--amber);
  background: linear-gradient(135deg, rgba(246, 193, 66, 0.13), rgba(16, 16, 16, 0.94));
}

.decision-card.wait {
  border-color: rgba(239, 80, 100, 0.55);
  background: linear-gradient(135deg, rgba(239, 80, 100, 0.1), rgba(16, 16, 16, 0.94));
}

.model-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.model-strip article {
  min-height: 150px;
  border: 1px solid rgba(186, 255, 0, 0.28);
  border-radius: 7px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(186, 255, 0, 0.08), rgba(22, 22, 22, 0.96));
}

.model-strip strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.model-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 850;
}

.api-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: var(--panel);
}

.bottom-status {
  margin-top: 16px;
}

.bottom-sources {
  margin-bottom: 0;
}

.api-status p {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(246, 193, 66, 0.6);
}

.status-dot.ok {
  background: var(--green);
  box-shadow: 0 0 18px rgba(186, 255, 0, 0.7);
}

.status-dot.fail {
  background: var(--red);
  box-shadow: 0 0 18px rgba(239, 80, 100, 0.7);
}

.source-strip a {
  display: block;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #111;
  color: var(--text);
  text-decoration: none;
}

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

.source-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.source-strip strong {
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

.signal {
  min-height: 90px;
  padding: 16px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

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

.signal strong {
  font-size: 24px;
  margin-bottom: 10px;
}

.signal span {
  color: var(--muted);
  font-weight: 900;
}

.signal.strong,
.signal.small {
  background: linear-gradient(90deg, rgba(38, 213, 120, 0.09), rgba(246, 193, 66, 0.07));
  border-color: rgba(186, 255, 0, 0.45);
}

.signal.wait {
  background: rgba(45, 18, 23, 0.78);
  border-color: rgba(239, 80, 100, 0.55);
}

.signal.is-active {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.execution-panel {
  display: none;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.execution-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.execution-grid strong {
  display: block;
  color: var(--strong);
  font-size: 18px;
  font-weight: 650;
  margin: 4px 0 4px;
}

.execution-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.opsat-checklist {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 420px;
}

.opsat-checklist > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 600;
}

.execution-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.execution-actions .ghost {
  min-height: 40px;
}

.execution-panel.ready {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(227, 189, 77, 0.12), rgba(227, 189, 77, 0.02)), #121212;
}

.execution-panel.fire {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(207, 255, 4, 0.14), rgba(207, 255, 4, 0.02)), #121212;
}

.execution-panel.watch {
  border-color: rgba(141, 141, 141, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)), #121212;
}

.dashboard {
  display: block;
}

.panel {
  position: relative;
  overflow: hidden;
  background: #101010;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 18px;
  background: #101010;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.table-wrap {
  overflow: auto;
  max-width: 100%;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-top: 1px solid var(--line-soft);
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  font-weight: 850;
}

th {
  background: var(--panel-3);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 950;
}

tbody tr {
  background: #030303;
}

tbody tr:nth-child(even) {
  background: #141414;
}

tbody tr:hover {
  background: #181818;
}

tbody tr.match {
  background: rgba(210, 249, 10, 0.08);
  box-shadow: inset 3px 0 0 var(--green);
}

tbody tr.next-block-row {
  background: linear-gradient(90deg, rgba(207, 255, 4, 0.16), rgba(207, 255, 4, 0.025));
  box-shadow: inset 3px 0 0 var(--green);
}

tbody tr.next-block-row td {
  border-top-color: rgba(210, 249, 10, 0.22);
}

.next-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 8px;
  color: #111;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
}

a,
.positive {
  color: var(--mint);
  font-weight: 950;
}

.negative {
  color: var(--red);
  font-weight: 950;
}

.amber {
  color: var(--amber);
  font-weight: 950;
}

.height {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-main,
.row-status {
  display: block;
}

.row-status {
  margin-top: 5px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.pool-flag.blocked {
  color: var(--red);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 48px;
  min-height: 34px;
  border-radius: 6px;
  border: 1px solid currentColor;
  padding: 5px 9px;
  color: var(--red);
  background: rgba(239, 80, 100, 0.08);
  line-height: 1.1;
  white-space: normal;
  font-weight: 950;
}

.badge.strong {
  color: var(--green);
  border-color: var(--green);
  background: rgba(207, 255, 4, 0.08);
  box-shadow: 0 0 16px rgba(207, 255, 4, 0.22);
}

.badge.small {
  color: var(--amber);
  background: rgba(246, 193, 66, 0.08);
}

.badge.watch {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.badge.wait {
  color: var(--red);
  background: rgba(239, 80, 100, 0.08);
}

.status {
  color: #d8d9d2;
}

.notes {
  padding: 16px;
}

.notes ol {
  margin: 18px 0 0;
  padding-left: 24px;
  color: #e9e9e4;
  line-height: 1.55;
  font-size: 13px;
  font-weight: 500;
}

.notes li + li {
  margin-top: 10px;
}

.callout {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
  font-weight: 500;
}

.mint-panel {
  margin-top: 16px;
}

.status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #1f1f1f;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.status-pill.activity {
  border-color: rgba(214, 255, 50, 0.18);
  background: rgba(214, 255, 50, 0.08);
  color: #d6ff32;
}

.mint-panel table {
  min-width: 760px;
}

@media (max-width: 1180px) {
  .metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric.wide {
    grid-column: span 2;
  }

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

@media (max-width: 760px) {
  .shell {
    width: 100%;
  }

  .masthead,
  .panel-head {
    display: block;
  }

  .actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .actions button {
    min-height: 36px;
  }

  .metric-grid,
  .block-strip,
  .model-strip,
  .source-strip,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .api-status {
    display: block;
  }

  .api-status p {
    margin-top: 8px;
  }

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

  .opsat-checklist {
    justify-content: flex-start;
    max-width: none;
  }

  .execution-actions {
    justify-content: flex-start;
  }

  .metric,
  .signal {
    min-height: auto;
  }

  .current-clockin-head,
  .current-clockin-grid {
    grid-template-columns: 1fr;
  }

  .current-clockin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .current-clockin-grid div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-left: 0;
    padding-top: 10px;
  }

  .current-clockin-grid div:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .metric.wide {
    grid-column: auto;
  }

  th,
  td {
    padding: 14px;
  }
}
