/* =============================================================
   DEV TOOLS — internal debug panel + test button
   These widgets are hidden by default in modern-terminal.css /
   hub.css (see "HIDE RESTING-STATE LEGACY FLOATING BUTTONS").
   When a developer toggles them on (via the dock or a console
   command) the styles below give them a usable appearance.
   ============================================================= */

#uDebugPanel {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 950;
    width: 320px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 12px 14px;
    background: var(--t-bg-panel, #15151b);
    border: 1px solid var(--t-border, #23232c);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    color: var(--t-text, #e7e7ee);
    font-family: var(--mono, monospace);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.04em;
}
#uDebugPanel pre,
#uDebugPanel code {
    margin: 0;
    color: var(--t-text-dim, #8a8a96);
    white-space: pre-wrap;
    word-break: break-word;
}
#uDebugPanel hr {
    border: 0;
    border-top: 1px dashed var(--t-border, #23232c);
    margin: 10px 0;
}

#testButton {
    position: fixed;
    bottom: 16px;
    right: 76px; /* leave space for the util-dock rail (56px) plus margin */
    z-index: 950;
    padding: 8px 14px;
    background: var(--t-accent, #ff2e63);
    color: #fff;
    border: 1px solid var(--t-accent, #ff2e63);
    border-radius: 4px;
    font-family: var(--mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
#testButton:hover {
    background: var(--t-accent-hot, #ff4d7d);
    border-color: var(--t-accent-hot, #ff4d7d);
}
