/* Visible only when /api/config reports DEBUG=true. */
.debug-console {
  flex-shrink: 0;
  margin: 10px auto 0;
  width: min(calc(100% - 32px), var(--content-max));
  padding: 10px 12px;
  border: 1px solid rgba(114, 214, 172, .25);
  border-radius: 11px;
  background: linear-gradient(110deg, rgba(26, 87, 68, .13), rgba(13, 23, 33, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.debug-console[hidden] { display: none; }
.debug-console-head { display: flex; align-items: center; gap: 8px; color: #82d9b4; font-size: 9px; letter-spacing: .1em; }
.debug-console-head strong { font-weight: 750; }
.debug-console-head #debugToolState { margin-left: auto; color: var(--faint); letter-spacing: .03em; text-transform: lowercase; }
.debug-live-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(114,214,172,.7); }
.debug-tool-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.debug-tool-chip { padding: 3px 7px; border: 1px solid rgba(159,178,204,.13); border-radius: 999px; color: #8291a4; background: rgba(255,255,255,.025); font-size: 9px; }
.debug-tool-log { display: flex; gap: 6px; margin-top: 7px; overflow-x: auto; scrollbar-width: thin; }
.debug-tool-log:empty { display: none; }
.debug-tool-event { flex: 0 0 auto; padding: 4px 7px; border-left: 2px solid var(--ok); border-radius: 3px 7px 7px 3px; color: #a7dfc7; background: rgba(65,150,113,.09); font-size: 9px; }
.tools-used { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 12px; padding-top: 9px; border-top: 1px dashed rgba(114,214,172,.2); }
.tools-used > span { margin-right: 2px; color: #6e8b7f; font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.tools-used b { padding: 3px 7px; border: 1px solid rgba(114,214,172,.18); border-radius: 999px; color: #8fd3b6; background: rgba(65,150,113,.07); font-size: 9px; font-weight: 550; letter-spacing: 0; }
@media(max-width:720px){.debug-console{width:calc(100% - 20px);margin-top:7px}.debug-console-head #debugToolState{display:none}.debug-tool-chips{flex-wrap:nowrap;overflow-x:auto}}
