/* styles/console.css: Console lip, desk, Dymo label, CRT monitor, teletype answer box, and console switch bank */
/* SI-assisted code (Claude, Antigravity), reviewed by La Shara Cordero. See AI_DISCLOSURE.md. */
/* Console Lip & Desk */
.console-lip {
  position: absolute;
  left: -20px;
  right: -20px;
  top: 512px;
  height: 30px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, #C3CFCF 0%, #8C988F 60%, #6E7A72 100%);
  box-shadow: 0 -6px 24px rgba(150, 200, 210, 0.12);
}

.console-desk {
  position: absolute;
  left: 0;
  right: 0;
  top: 532px;
  bottom: 0;
  border-radius: 50% 50% 0 0 / 14px 14px 0 0;
  background: linear-gradient(180deg, #7D8981 0%, #6A766E 22px, #4E5852 24px, #56615A 60%, #4A544E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rivet {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #B9C3BC, #59625C);
}

.rivet--1 {
  left: 14px;
  top: 10px;
}

.rivet--2 {
  left: 1256px;
  top: 10px;
}

.rivet--3 {
  left: 14px;
  top: 246px;
}

.rivet--4 {
  left: 1256px;
  top: 246px;
}

.rivet--5 {
  left: 690px;
  top: 10px;
}

.rivet--6 {
  left: 690px;
  top: 246px;
}

.dymo-wrap {
  position: absolute;
  left: 520px;
  top: -22px;
  z-index: 6;
}

.dymo-tape {
  display: inline-block;
  background: #9E2B25;
  color: #F4F4F0;
  font: 700 13px var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9), 0 -1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: rotate(-0.8deg);
  white-space: nowrap;
}

/* Console CRT Monitor (Clean background, no CRT scan lines) */
.console-monitor-bezel {
  position: absolute;
  left: 40px;
  top: 8px;
  width: 630px;
  height: 254px;
  background: #2A2F2C;
  border-radius: 16px;
  padding: 7px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.18);
}

.console-monitor {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 42%, #18201C 0%, #070908 75%);
  border-radius: 22px / 30px;
  padding: 5px 14px 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  color: #EDF3EE;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}

.monitor-idle {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.monitor-ready-title {
  margin: 18px 0 0;
  font: 400 32px var(--font-vt);
  text-shadow: 0 0 8px rgba(237, 243, 238, 0.5);
}

.monitor-ready-sub {
  margin: 0;
  font: 400 24px var(--font-vt);
  color: #C9D3CC;
}

.monitor-ready-hint {
  margin: 0;
  font-size: 14px;
  color: #B9C4BD;
}

.monitor-warn {
  margin: 6px 0 0;
  font: 400 24px var(--font-vt);
  color: #F2A08F;
}

.monitor-file {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.monitor-file-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 2px;
}

.file-links-pinned {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(201, 221, 224, 0.22);
}

.file-header {
  margin: 0;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: 0.12em;
  color: #B9C4BD;
  flex-shrink: 0;
}

.file-mission {
  margin: 0;
  font-size: 12px;
  line-height: 1.22;
  color: #C9D6CE;
  flex-shrink: 0;
}

.file-mission-label {
  color: #FFE9B0;
  letter-spacing: 0.1em;
}

.file-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.22;
  flex-shrink: 0;
}

/* Distinct Answer Box with 2px Bright Amber border, warmer tint, 16px text, and 44px clear button */
.file-answer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 4px 3px 8px;
  background: rgba(255, 224, 140, 0.16);
  border: 2px solid #FFE9B0;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(255, 233, 176, 0.18);
  flex-shrink: 0;
  cursor: pointer;
}

.file-answer-content {
  font-size: 16px;
  line-height: 1.24;
  color: #FFF8E4;
}

.file-answer-label {
  font-weight: 600;
  color: #FFE9B0;
  letter-spacing: 0.08em;
}

.file-answer-clear {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(15, 18, 16, 0.65);
  border: 1px solid rgba(255, 233, 176, 0.55);
  border-radius: 3px;
  color: #FFE9B0;
  font: 600 20px var(--font-mono);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-answer-clear:hover {
  background: #FFE9B0;
  color: #070908;
}

.file-actions {
  display: flex;
  gap: 2px 5px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
  flex-shrink: 0;
}

.ask-label {
  font-size: 11px;
  color: #B9C4BD;
  letter-spacing: 0.06em;
}

.q-btn {
  min-height: 44px;
  padding: 0 5px;
  border: 1px solid rgba(237, 243, 238, 0.5);
  background: transparent;
  color: #EDF3EE;
  font: 400 10.5px var(--font-mono);
  cursor: pointer;
}

.q-btn--open {
  background: #FFE9B0;
  border-color: #FFE9B0;
  color: #070908;
  font-weight: 600;
}

.read-btn {
  min-height: 44px;
  padding: 0 6px;
  border-radius: 3px;
  border: 1px solid #C9B871;
  background: rgba(201, 184, 113, 0.14);
  color: #FFE9B0;
  font: 600 10.5px var(--font-mono);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.read-btn[aria-pressed="true"] {
  background: #FFE9B0;
  color: #070908;
}

.nasa-link {
  font-size: 11px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  white-space: nowrap;
}

/* Console Switch Panel (Right side of desk) */
.console-panel {
  position: absolute;
  left: 700px;
  top: 10px;
  width: 546px;
  padding: 8px 10px 10px;
  border-radius: 16px;
  background: rgba(20, 24, 22, 0.28);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.18);
}

.indicator-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.ind-lamp {
  width: 36px;
  height: 18px;
  border-radius: 2px;
  background: #2B302D;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #9BA79F;
  font: 600 8px var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ind-lamp--on {
  background: #C9B871;
  box-shadow: 0 0 8px rgba(233, 214, 120, 0.7);
  color: #1A1A12;
}

.ghost-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ghost-btn {
  min-height: 56px;
  padding: 4px 10px;
  text-align: left;
  border-radius: 3px;
  border: 2px solid #1A1D1B;
  background: #2C312E;
  color: #D5DDD7;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.ghost-btn--answers {
  background: #2F4A36;
  color: #D7F5DE;
  box-shadow: inset 0 0 14px rgba(140, 230, 160, 0.5);
}

.ghost-btn--selected {
  background: #F6F2E2;
  color: #151816;
  box-shadow: 0 0 18px rgba(246, 242, 226, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.ghost-btn-code {
  font: 600 10px var(--font-mono);
  letter-spacing: 0.08em;
  color: #C5CFC8;
}

.ghost-btn--answers .ghost-btn-code {
  color: #CBEFD3;
}

.ghost-btn--selected .ghost-btn-code {
  color: #1F2421;
}

.ghost-btn-name {
  font: 700 16px var(--font-sans);
  text-transform: uppercase;
  line-height: 1.1;
}

.call-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.call-btn {
  min-height: 54px;
  min-width: 210px;
  padding: 0 18px;
  border-radius: 4px;
  border: 3px solid #2A0E0C;
  background: #C8382D;
  color: #FFFFFF;
  font: 700 20px var(--font-sans);
  letter-spacing: 0.08em;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25), 0 2px 0 rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.lamp-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.round-lamp {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2B302D;
  border: 2px solid #1A1D1B;
}

.round-lamp--signal-on {
  background: #7BE495;
  box-shadow: 0 0 14px rgba(123, 228, 149, 0.9);
}

.round-lamp--nosignal-on {
  background: #E8735C;
  box-shadow: 0 0 14px rgba(232, 115, 92, 0.9);
}

.lamp-caption {
  font: 600 10px var(--font-mono);
  color: #F2F5F3;
}

.reset-btn {
  margin-left: auto;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 3px;
  border: 2px solid #1A1D1B;
  background: #2C312E;
  color: #D5DDD7;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.06);
  font: 600 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.reset-btn:hover {
  background: #3A403C;
  color: #FFFFFF;
}
