/* Admin Command Center — shared shell (War Room visual language, lightweight) */

* {
    box-sizing: border-box;
}

body.admin-shell {
    margin: 0;
    min-height: 100vh;
    padding: 0 !important;
    font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
    background: #0c0f14 !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(120, 136, 154, 0.12), transparent),
        linear-gradient(180deg, #0c0f14 0%, #12161e 50%, #0a0d12 100%) !important;
    color: #d4d4d8;
    line-height: 1.5;
}

.admin-shell-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.94);
    border-bottom: 1px solid rgba(232, 201, 135, 0.15);
    backdrop-filter: blur(10px);
}

.admin-shell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px 8px;
}

.admin-shell-brand {
    text-decoration: none;
    color: inherit;
}

.admin-shell-eyebrow {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #78889a;
}

.admin-shell-title {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #e8c987;
}

.admin-shell-back {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a3c7ff;
    text-decoration: none;
    white-space: nowrap;
}

.admin-shell-back:hover {
    color: #c8deff;
}

.admin-nav-tabs {
    display: flex;
    gap: 4px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.admin-nav-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 6px 6px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #9ca3af;
    background: transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.admin-nav-tab:hover {
    color: #e8c987;
    background: rgba(232, 201, 135, 0.06);
}

.admin-nav-tab.is-active {
    color: #e8c987;
    border-color: rgba(232, 201, 135, 0.35);
    border-bottom-color: transparent;
    background: rgba(232, 201, 135, 0.1);
}

.admin-page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.admin-page-header {
    margin-bottom: 24px;
}

.admin-page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e8c987;
    margin: 0 0 6px;
}

.admin-page-subtitle {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0 0 16px;
}

.admin-page-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0;
}

.admin-subtab {
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 16px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: #9ca3af;
    cursor: pointer;
    margin-bottom: -1px;
}

.admin-subtab:hover {
    color: #e8c987;
}

.admin-subtab.is-active {
    color: #e8c987;
    border-bottom-color: #e8c987;
}

.admin-growth-panel[hidden] {
    display: none !important;
}

.admin-panel-card {
    background: rgba(22, 26, 34, 0.92);
    border: 1px solid rgba(232, 201, 135, 0.12);
    border-radius: 10px;
    padding: 20px;
}

.admin-gate-loading,
.admin-gate-message {
    padding: 48px 24px;
    text-align: center;
    max-width: 480px;
    margin: 80px auto;
}

.admin-gate-message {
    color: #e07a7a;
}

.admin-gate-message a {
    color: #a3c7ff;
}

body.signal-corps-page .admin-shell-header {
    border-bottom-color: rgba(120, 136, 154, 0.25);
}

@media (max-width: 640px) {
    .admin-shell-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-page-wrap {
        padding: 16px 12px 32px;
    }
}
