/* www polish @3 — Owner palette: vanta black + cobalt + uranium yellow + frosted glass
   Algorithms only — not sentience. NO copper/orange primary. */
#hector-learn-loop {
  --vanta: #050508;
  --cobalt: #1e4fd6;
  --cobalt-bright: #3d6fff;
  --uranium: #d4ff00;
  --uranium-dim: #a8c800;
  --frost: rgba(12, 16, 28, 0.55);
  --ink: #e8eefc;
  --muted: rgba(232, 238, 252, 0.65);
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9998;
  width: min(340px, calc(100vw - 24px));
  font-family: "Sora", system-ui, sans-serif;
  color: var(--ink);
  pointer-events: none;
}
#hector-learn-loop * { box-sizing: border-box; }
#hector-learn-loop .hll-panel {
  pointer-events: auto;
  background: var(--frost);
  border: 1px solid rgba(61, 111, 255, 0.45);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(212, 255, 0, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(30, 79, 214, 0.25);
  padding: 0.75rem 0.85rem 0.85rem;
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}
#hector-learn-loop.collapsed .hll-body { display: none; }
#hector-learn-loop .hll-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
#hector-learn-loop .hll-title {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--uranium);
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(212, 255, 0, 0.35);
}
#hector-learn-loop .hll-toggle {
  background: rgba(30, 79, 214, 0.2);
  border: 1px solid rgba(61, 111, 255, 0.5);
  color: var(--cobalt-bright);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  font-size: 0.75rem;
}
#hector-learn-loop .hll-lede {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
  margin: 0 0 0.55rem;
}
#hector-learn-loop .hll-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
#hector-learn-loop button.hll-btn {
  background: rgba(30, 79, 214, 0.22);
  border: 1px solid rgba(61, 111, 255, 0.55);
  color: #c5d4ff;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: inherit;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
#hector-learn-loop button.hll-btn:hover:not(:disabled) {
  background: rgba(30, 79, 214, 0.4);
  box-shadow: 0 0 12px rgba(61, 111, 255, 0.35);
}
#hector-learn-loop button.hll-btn:disabled {
  opacity: 0.45;
  cursor: wait;
}
#hector-learn-loop button.hll-btn.primary {
  background: linear-gradient(135deg, rgba(212, 255, 0, 0.92), rgba(168, 200, 0, 0.85));
  border-color: var(--uranium);
  color: var(--vanta);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(212, 255, 0, 0.35);
}
#hector-learn-loop .hll-lattice {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin: 0.4rem 0 0.5rem;
}
#hector-learn-loop .hll-cell {
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  padding: 0.25rem 0.1rem;
  border-radius: 4px;
  background: rgba(5, 5, 8, 0.55);
  border: 1px solid rgba(61, 111, 255, 0.25);
  color: var(--muted);
}
#hector-learn-loop .hll-cell strong {
  display: block;
  color: var(--uranium);
  font-size: 0.65rem;
  text-shadow: 0 0 8px rgba(212, 255, 0, 0.25);
}
#hector-learn-loop .hll-meta,
#hector-learn-loop .hll-note,
#hector-learn-loop .hll-plan {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
  margin: 0.25rem 0 0;
}
#hector-learn-loop .hll-plan ol {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}
#hector-learn-loop .hll-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: var(--cobalt-bright);
}
