/* Layout */
.sidebar {
  width: 310px;
  height: 100vh;
  background-color: var(--background);
  color: var(--primary);
  padding: 20px;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  border-right: 2px solid var(--primary);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.sidebar:hover,
.sidebar:focus-within {
  border-color: var(--accent);
  box-shadow: 6px 0 0 rgba(255, 171, 7, 0.14);
}

.sidebar p {
  text-align: justify;
}

.main {
  margin-left: 310px;
  padding: 20px;
  background-color: var(--background);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0 0 0;
  margin-top: auto;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  color: var(--primary);
  gap: 10px;
}

.line {
  flex: 1;
  height: 2px;
  background: var(--primary);
}

.footer-secret-mark {
  color: var(--accent);
  font-family: monospace;
  font-size: 18px;
  opacity: 0.7;
  transition: transform 180ms ease, opacity 180ms ease;
}

footer:hover .footer-secret-mark,
footer:focus-visible .footer-secret-mark {
  opacity: 1;
  transform: rotate(90deg) scale(1.3);
}

footer:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.footer-secret-message {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 10px 14px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: var(--background);
  font: 12px monospace;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 220ms ease, transform 220ms ease;
}

.footer-secret-message.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .sidebar {
    transition: none;
  }

  .footer-secret-mark,
  .footer-secret-message {
    transition: none;
  }
}

/* Mobile Layout */
@media (max-width: 885px) {
  .sidebar {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    position: static;
    border-right: none;
  }

  .main {
    margin-left: 0;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 0;
    min-height: auto;
  }

  footer {
    left: 0;
    margin-top: 20px;
  }

  .footer-secret-message {
    margin-left: 16px;
    margin-right: 16px;
    text-align: center;
  }
}
/* 𝕲 // 𝕭 Typography & Haptic Cleanups */
.gb {
  margin: 0 10px;
  font-size: 24px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: url('../cursors/handpointing.svg') 10 5, pointer; /* Direct blueprint cursor link */
  transition: transform 100ms ease;
}

.gb:active {
  transform: scale(0.95);
}

/* Telemetry Dashboard - Strict Minimalist System Dump */
.nerdy-dashboard {
  padding: 25px 0 10px 0;
  background-color: var(--background);
  color: var(--primary);
}

.nerdy-dashboard h3 {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  margin: 0 0 25px 0;
  letter-spacing: 1.5px;
  color: var(--primary); /* Removed orange accent highlight entirely */
}

.nerdy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.nerdy-card {
  /* Removed layout box borders to make it look like a continuous console report stream */
  background: transparent; 
}

.nerdy-card h4 {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  margin: 0 0 8px 0;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--primary);
  opacity: 0.5;
}

.nerdy-card p {
  margin: 0;
  font-family: monospace; /* Pure unformatted system monospace string outputs */
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--primary);
}

.nerdy-clear-btn {
  margin-top: 25px;
  padding: 10px 18px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nerdy-clear-btn:hover {
  background: var(--primary);
  color: var(--background);
}

.nerdy-clear-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}