/* ============================================ Troubleshooting UI Styles ============================================ */ /* Troubleshoot section inside node panel */ #troubleshoot-section { margin-top: 12px; border-top: 1px solid var(--bg-hover); padding-top: 12px; } /* Offline troubleshooting card */ .troubleshoot-card { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: var(--radius-control); padding: 10px; margin-bottom: 8px; font-size: var(--text-xs); animation: troubleshoot-fade-in 0.3s ease-out; } @keyframes troubleshoot-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .troubleshoot-card-header { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--warn); font-weight: 600; } .troubleshoot-card-icon { font-size: var(--text-sm); flex-shrink: 0; } .troubleshoot-dismiss { background: none; border: none; color: var(--text-muted); font-size: var(--text-base); cursor: pointer; padding: 0 2px; line-height: 1; margin-left: auto; flex-shrink: 0; } .troubleshoot-dismiss:hover { color: var(--slate-12); } /* Timeline steps */ .troubleshoot-timeline { display: flex; flex-direction: column; gap: 6px; } .troubleshoot-step { display: flex; gap: 8px; align-items: flex-start; } .troubleshoot-step-num { width: 18px; height: 18px; border-radius: 50%; background: var(--warn-muted); color: var(--warn); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; } .troubleshoot-step-text { color: var(--text-muted); line-height: 1.5; } .troubleshoot-step-text strong { color: var(--slate-12); } /* More options expander */ .troubleshoot-more { margin-top: 4px; } .troubleshoot-more summary { color: var(--text-muted); font-size: 11px; cursor: pointer; padding: 2px 0; } .troubleshoot-more summary:hover { color: var(--text-muted); } .troubleshoot-more[open] .troubleshoot-step { animation: troubleshoot-fade-in 0.2s ease-out; } /* Reset button inside card */ .troubleshoot-reset-btn { background: var(--alert-bg); border: 1px solid var(--alert-border); color: var(--alert); font-size: 11px; padding: 2px 8px; border-radius: var(--radius-control); cursor: pointer; } .troubleshoot-reset-btn:hover { background: var(--alert-border); } /* Quality banner (fixed at top, below status bar) */ .troubleshoot-quality-banner { position: fixed; top: 44px; left: 50%; transform: translateX(-50%); background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: var(--radius-control); padding: 8px 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--warn); z-index: 150; max-width: 600px; animation: troubleshoot-slide-down 0.3s ease-out; white-space: nowrap; } @keyframes troubleshoot-slide-down { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } .troubleshoot-quality-icon { font-size: var(--text-sm); flex-shrink: 0; } .troubleshoot-quality-banner .troubleshoot-dismiss { color: var(--warn); } .troubleshoot-quality-banner .troubleshoot-dismiss:hover { color: var(--slate-12); } /* Factory reset modal */ .troubleshoot-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--overlay-strong); display: flex; align-items: center; justify-content: center; z-index: 2000; } .troubleshoot-modal { background: var(--bg-card); border-radius: var(--radius-card); padding: 24px 28px; max-width: 480px; width: 90%; box-shadow: 0 8px 32px var(--shadow-xl); } .troubleshoot-modal h3 { font-size: var(--text-base); color: var(--slate-12); margin-bottom: 16px; } .troubleshoot-list { color: var(--text-muted); font-size: 13px; line-height: 1.8; padding-left: 20px; margin-bottom: 16px; } .troubleshoot-list li { margin-bottom: 4px; } .troubleshoot-modal-close { margin-top: 8px; } /* ============================================ Tooltip Styles ============================================ */ .spaxel-tooltip { position: fixed; z-index: 2000; background: var(--bg-card); border: 1px solid var(--blue-border); border-radius: var(--radius-control); padding: 8px 12px; max-width: 260px; box-shadow: 0 4px 16px var(--shadow-lg); animation: spaxel-tooltip-appear 0.3s ease-out; pointer-events: none; } @keyframes spaxel-tooltip-appear { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .spaxel-tooltip-text { color: var(--slate-12); font-size: 13px; line-height: 1.4; } /* Arrows */ .spaxel-tooltip-arrow { position: absolute; width: 0; height: 0; } .spaxel-tooltip-arrow-top { bottom: -6px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--blue-border); } .spaxel-tooltip-arrow-bottom { top: -6px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid var(--blue-border); } .spaxel-tooltip-arrow-left { right: -6px; top: 50%; transform: translateY(-50%); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid var(--blue-border); } .spaxel-tooltip-arrow-right { left: -6px; top: 50%; transform: translateY(-50%); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 6px solid var(--blue-border); } /* Dismiss all button */ .spaxel-dismiss-all { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--bg-hover); border: 1px solid var(--border-strong); color: var(--text-secondary); font-size: var(--text-xs); padding: 6px 16px; border-radius: var(--radius-control); cursor: pointer; z-index: 2001; transition: background 0.2s, color 0.2s; } .spaxel-dismiss-all:hover { background: var(--border-strong); color: var(--slate-12); } /* Safe area support for dismiss button */ @supports (padding: max(0px)) { .spaxel-dismiss-all { /* Adjust bottom position to account for safe area */ bottom: calc(20px + env(safe-area-inset-bottom)); } } /* ============================================ Post-Calibration Card (inside wizard) ============================================ */ .post-cal-card { text-align: center; padding: 12px 0; } .post-cal-card .wizard-icon-large { margin-bottom: 8px; } .post-cal-card h3 { font-size: 18px; color: var(--slate-12); margin-bottom: 8px; } .post-cal-summary { color: var(--ok) !important; font-size: var(--text-sm); font-weight: 500; margin-bottom: 8px; } .post-cal-expect { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 16px; } .post-cal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }