﻿@charset "utf-8";
/* ===== Memory Panel ===== */
.memory-section {
  margin-bottom: 25px;
}
.memory-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 6px;
}
.memory-item {
  background: var(--muted-card-bg);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  border-left: 4px solid var(--btn-memory);
}
.memory-item:hover {
  opacity: 0.9;
}
.empty-memory {
  opacity: 0.6;
  font-size: 0.9rem;
}
.memory-item {
  display: flex;
  justify-content: space-between;
  background: var(--panel-bg);
  padding: 6px 10px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: pointer;
}
.memory-item:hover {
  background: var(--panel-hover);
}
.mem-value {
  flex: 1;
  font-size: 1rem;
}
.mem-del {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #e74c3c;
}
.mem-del:hover {
  color: #c0392b;
}
.table th {
  background-color: var(--card-bg);
  font-size: 0.875rem;
}
.table td {
  font-size: 0.875rem;
}
.at270-top-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 4px 8px;
}
.button-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.button-cluster button {
  padding: 2px 6px;
  font-size: 0.65rem;
  line-height: 1;
  border-radius: 4px;
  min-width: 28px;
  height: 24px;
}
.solar-cell {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #ddd;
  border: 2px solid #555;
  border-radius: 4px;
  box-shadow: inset 0 0 4px #000;
  width: 80px;
  height: 26px;
  justify-content: center;
  align-items: center;
}
.solar-window {
  width: 14px;
  height: 18px;
  background: linear-gradient(135deg, #444, #111);
  border: 1px solid #333;
  box-shadow: inset 0 0 2px #000;
}
.mode-cluster {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 1rem;
}
.mode-btn {
  font-size: 0.65rem;
  min-width: 28px;
  height: 24px;
  border-radius: 4px;
  background-color: #222;
  color: #eee;
  border: 1px solid #444;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.mode-btn.active {
  background-color: var(--btn-active-bg, lime);
  color: var(--btn-active-text, #000);
}
.angle-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 0.8em;
  background-color: #444;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
  width: auto; /* prevent full-width stretch */
  max-width: fit-content; /* optional: keep it snug */
}
button.active {
  background: #007bff !important;
  color: white !important;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
  border-radius: 8px;
  font-weight: bold;
}