/* ─────────────────────────────────────────────────────────────
   sec — macOS Terminal & Interactive Window Styles
   ───────────────────────────────────────────────────────────── */

.mac-window {
    background: #0d1117;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    text-align: left;
}

.mac-header {
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    user-select: none;
}

.traffic-lights {
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 2;
}

.traffic-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.traffic-dot.red { background: #ff5f56; border: 1px solid #e0443e; }
.traffic-dot.yellow { background: #ffbd2e; border: 1px solid #dea123; }
.traffic-dot.green { background: #27c93f; border: 1px solid #1aab29; }

.window-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #8b949e;
    letter-spacing: -0.01em;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.window-title .title-full { display: inline; }
.window-title .title-mobile { display: none; }

.window-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 8px;
    border-radius: 999px;
    z-index: 2;
}

.status-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

/* Terminal Tab Switcher */
.term-tabs {
    display: flex;
    background: rgba(22, 27, 34, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}
.term-tabs::-webkit-scrollbar { display: none; }

.term-tab {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #8b949e;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.term-tab:hover {
    color: #e6edf3;
    background: rgba(255, 255, 255, 0.03);
}

.term-tab.active {
    color: #ffffff;
    background: #0d1117;
    border-bottom: 2px solid #38bdf8;
}

.tab-badge {
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.term-tab .tab-label-full { display: inline; }
.term-tab .tab-label-mobile { display: none; }

.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-info { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }

/* Terminal Body Content */
.term-body {
    padding: 22px 24px;
    font-family: "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.65;
    color: #c9d1d9;
    min-height: 330px;
    overflow-x: auto;
}

.term-pane { display: none; }
.term-pane.active { display: block; animation: termFade 0.3s ease; }

@keyframes termFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.t-prompt { color: #7ee787; font-weight: 600; user-select: none; }
.t-path { color: #8b949e; font-weight: 400; }
.t-dir { color: #79c0ff; font-weight: 500; }
.t-cmd { color: #f0f6fc; font-weight: 600; }
.t-comment { color: #6e7681; font-style: italic; }
.t-key { color: #79c0ff; }
.t-decoy { color: #ffa657; font-weight: 600; }
.t-val { color: #a5d6ff; }
.t-sec-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 1px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}
.t-success { color: #3fb950; font-weight: 500; }
.t-warn { color: #d29922; }

/* Command Line Rows */
.term-cmd-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Vault Status Banner */
.term-vault-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.vault-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
}

/* Code Block Inset */
.term-code-block {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.term-code-line {
    font-family: inherit;
    font-size: 13px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.term-code-line::-webkit-scrollbar { display: none; }

/* Status Alert Callouts */
.term-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.45;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #e6edf3;
}

.term-alert .alert-icon {
    color: #34d399;
    font-weight: 700;
    flex-shrink: 0;
}

.term-alert .alert-text strong {
    color: #34d399;
}

/* Terminal Log Lists */
.term-logs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
    font-size: 12.5px;
}

.term-log-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Terminal Server Status */
.term-server-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #8b949e;
}

.server-badge {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Interactive Touch ID Biometric Modal Simulation */
.touchid-modal {
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    max-width: 420px;
    margin: 16px 0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.touchid-modal:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(56, 189, 248, 0.25);
}

.touchid-modal::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #38bdf8, #10b981);
}

.touchid-icon-pulse {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    flex-shrink: 0;
    animation: touchPulse 2s infinite ease-in-out;
}

@keyframes touchPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.touchid-text h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #f0f6fc;
    margin-bottom: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
.touchid-text p {
    font-size: 12px;
    color: #8b949e;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.touchid-tap-pill {
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    margin-left: auto;
    letter-spacing: 0.02em;
}

/* Finder Context Menu Mockup */
.finder-mockup {
    background: #1e2430;
    border-radius: 12px;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    color: #e6edf3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.finder-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.finder-file-icon {
    width: 32px;
    height: 38px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #38bdf8;
}

.finder-file-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.finder-file-details strong { color: #f0f6fc; font-size: 13px; }
.finder-file-details span { color: #8b949e; font-size: 11.5px; }

.finder-context-menu {
    background: rgba(30, 36, 48, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 6px;
    width: 270px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    margin-left: 24px;
}

.context-item {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9d1d9;
}
.context-item.header-item {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b949e;
    padding: 4px 10px;
}
.context-item.highlight {
    background: #0071e3;
    color: #ffffff;
    font-weight: 500;
}
.context-item i, .context-item svg { width: 14px; height: 14px; }
.context-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 6px;
}

/* ─────────────────────────────────────────────────────────────
   Mobile Terminal Optimization (<=640px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .mac-window {
        border-radius: 14px;
        box-shadow: 0 16px 44px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .mac-header {
        padding: 10px 12px;
    }

    .traffic-lights {
        gap: 6px;
    }

    .traffic-dot {
        width: 10px;
        height: 10px;
    }

    .window-title {
        font-size: 11px;
        gap: 4px;
    }

    .window-title .title-full {
        display: none;
    }

    .window-title .title-mobile {
        display: inline;
    }

    .window-status-pill {
        padding: 1px 6px;
        font-size: 9.5px;
        gap: 4px;
    }

    /* Segmented iOS/macOS Control Tabs */
    .term-tabs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 6px;
        background: rgba(15, 20, 28, 0.95);
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow-x: visible;
    }

    .term-tab {
        padding: 8px 2px;
        font-size: 11.5px;
        font-weight: 500;
        border: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: transparent;
        color: #8b949e;
        white-space: nowrap;
        border-right: none;
    }

    .term-tab:hover {
        background: rgba(255, 255, 255, 0.04);
        color: #e6edf3;
    }

    .term-tab.active {
        background: #1c2433;
        color: #38bdf8;
        border: 1px solid rgba(56, 189, 248, 0.28);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        border-bottom: 1px solid rgba(56, 189, 248, 0.28);
    }

    .term-tab .tab-label-full {
        display: none;
    }

    .term-tab .tab-label-mobile {
        display: inline-block;
        font-weight: 600;
    }

    .term-tab .tab-badge {
        display: none;
    }

    /* Terminal Body on Mobile */
    .term-body {
        padding: 14px 12px 16px;
        font-size: 11.5px;
        min-height: 285px;
        line-height: 1.5;
        white-space: normal;
        word-break: break-word;
    }

    .term-cmd-row {
        font-size: 11.5px;
        margin-bottom: 8px;
        gap: 4px;
    }

    .term-vault-status {
        font-size: 9px;
        padding: 2px 7px;
        margin-bottom: 8px;
    }

    .term-code-block {
        padding: 8px 10px;
        margin-bottom: 10px;
        gap: 4px;
        border-radius: 7px;
    }

    .term-code-line {
        font-size: 11px;
    }

    .term-alert {
        padding: 8px 10px;
        font-size: 11px;
        gap: 8px;
        border-radius: 7px;
    }

    /* Touch ID Modal on Mobile */
    .touchid-modal {
        padding: 10px 12px;
        gap: 10px;
        margin: 10px 0;
        border-radius: 12px;
        max-width: 100%;
        width: 100%;
    }

    .touchid-icon-pulse {
        width: 36px;
        height: 36px;
    }

    .touchid-icon-pulse svg {
        width: 18px;
        height: 18px;
    }

    .touchid-text h4 {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .touchid-text p {
        font-size: 10.5px;
    }

    .touchid-tap-pill {
        font-size: 9.5px;
        padding: 2px 6px;
    }

    .term-logs {
        font-size: 11px;
        gap: 3px;
        margin-top: 10px;
    }

    .term-server-line {
        font-size: 10.5px;
        margin-top: 8px;
        padding-top: 8px;
    }

    /* Finder Mockup on Mobile */
    .finder-mockup {
        padding: 10px;
        gap: 8px;
    }

    .finder-file-row {
        padding: 6px 10px;
        gap: 10px;
    }

    .finder-file-icon {
        width: 28px;
        height: 32px;
        font-size: 9px;
    }

    .finder-file-details strong {
        font-size: 12px;
    }

    .finder-file-details span {
        font-size: 10.5px;
    }

    .finder-context-menu {
        width: 100%;
        margin-left: 0;
        box-sizing: border-box;
        padding: 4px;
        border-radius: 8px;
    }

    .context-item {
        font-size: 11.5px;
        padding: 6px 8px;
        gap: 6px;
    }

    .context-item svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }
}

/* ─────────────────────────────────────────────────────────────
   Secret Manager — Agent Radar Styles
   ───────────────────────────────────────────────────────────── */
.radar-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.radar-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 27, 34, 0.7);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.radar-live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #34d399;
}

.radar-blip-ring {
    position: relative;
    width: 10px;
    height: 10px;
}

.radar-blip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    position: absolute;
}

.radar-blip-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    position: absolute;
    animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.2); opacity: 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 0.8s linear infinite;
}

.radar-stats-summary {
    display: flex;
    gap: 14px;
    font-size: 11.5px;
    color: #8b949e;
}

.radar-stats-summary strong {
    color: #f0f6fc;
}

.radar-feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radar-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 14px;
    border-radius: 9px;
    transition: all 0.25s ease;
}

.radar-feed-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(22, 27, 34, 0.95);
    transform: translateX(2px);
}

.radar-feed-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radar-agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.radar-agent-badge.badge-cursor {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.25);
}

.radar-agent-badge.badge-claude {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    border-color: rgba(249, 115, 22, 0.25);
}

.radar-agent-badge.badge-copilot {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}

.radar-action-text {
    font-size: 12px;
    color: #c9d1d9;
}

.radar-action-text code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 5px;
    border-radius: 4px;
    color: #e6edf3;
    font-size: 11.5px;
}

.radar-feed-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radar-shield-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.radar-time {
    font-size: 11px;
    color: #6e7681;
}

.radar-action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-radar-sim {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-radar-sim:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
}

/* ─────────────────────────────────────────────────────────────
   Secret Manager — Runner Studio Styles
   ───────────────────────────────────────────────────────────── */
.runner-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.runner-control-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(22, 27, 34, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.runner-select-vault {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c9d1d9;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.runner-cmd-input {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #58a6ff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    flex: 1;
    min-width: 140px;
    outline: none;
}

.runner-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.runner-btn-action.run {
    background: #10b981;
    color: #042f1a;
}

.runner-btn-action.run:hover {
    background: #34d399;
}

.runner-btn-action.stop {
    background: #ef4444;
    color: #ffffff;
}

.runner-btn-action.stop:hover {
    background: #f87171;
}

.runner-telemetry-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #8b949e;
    padding: 0 4px;
}

.runner-telemetry-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-weight: 600;
}

.runner-telemetry-badge.stopped {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border-color: rgba(107, 114, 128, 0.25);
}

.runner-console-box {
    background: #090c10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 180px;
    max-height: 220px;
    overflow-y: auto;
    font-size: 11.5px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.runner-console-box::-webkit-scrollbar {
    width: 6px;
}
.runner-console-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.console-line-sec {
    color: #38bdf8;
}

.console-line-app {
    color: #c9d1d9;
}

.console-line-success {
    color: #34d399;
}

.console-line-dim {
    color: #6e7681;
}

/* ─────────────────────────────────────────────────────────────
   Secret Manager — Deep Discovery Scanner Styles
   ───────────────────────────────────────────────────────────── */
.scanner-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scanner-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(22, 27, 34, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 8px;
}

.scanner-path-input {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8b949e;
}

.scanner-path-input code {
    color: #58a6ff;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 5px;
}

.btn-scanner-scan {
    background: #0071e3;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-scanner-scan:hover {
    background: #0077ed;
}

.scanner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.scanner-table th {
    text-align: left;
    color: #8b949e;
    font-size: 11px;
    font-weight: 500;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scanner-table td {
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #c9d1d9;
}

.scanner-badge-unshielded {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.scanner-badge-vaulted {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.scanner-btn-lock {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.scanner-btn-lock:hover {
    background: #10b981;
    color: #042f1a;
}

@media (max-width: 768px) {
    .radar-header-bar, .runner-control-bar, .scanner-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .radar-stats-summary {
        flex-direction: column;
        gap: 4px;
    }
    .radar-feed-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .radar-feed-right {
        width: 100%;
        justify-content: space-between;
    }
    .runner-cmd-input {
        width: 100%;
    }
}
