:root {
    --corp-bg: #0b0f1a;
    --corp-panel: #111827;
    --corp-panel-2: #0f172a;
    --corp-line: #233045;
    --corp-text: #e5eef9;
    --corp-muted: #8fa0b8;
    --corp-teal: #00e6c8;
    --corp-coral: #ff6b4a;
    --corp-grey: #8892a4;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--corp-bg);
    color: var(--corp-text);
    font-family: "Geist", "Segoe UI", Arial, sans-serif;
}

.corp-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top, rgba(0,230,200,0.08), transparent 38%),
        linear-gradient(180deg, #0b0f1a 0%, #090d16 100%);
}

.corp-banner {
    background: rgba(8, 12, 22, 0.96);
    border-bottom: 1px solid rgba(0,230,200,0.18);
    padding: 12px 24px;
    text-align: center;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--corp-teal);
    font-size: 0.72rem;
}

.corp-main {
    flex: 1;
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 40px;
}

.corp-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.corp-kicker {
    color: var(--corp-teal);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-family: "JetBrains Mono", monospace;
    margin: 0 0 8px;
}

.corp-title {
    margin: 0;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.02;
    font-weight: 700;
}

.corp-subtitle {
    margin: 8px 0 0;
    color: var(--corp-muted);
    font-size: 0.92rem;
    font-family: "Geist", sans-serif;
}

.corp-status {
    text-align: right;
    color: var(--corp-muted);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.corp-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.94), rgba(15,23,42,0.96));
    border: 1px solid rgba(136,146,164,0.22);
    border-radius: 18px;
    padding: 20px;
    min-height: 132px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.corp-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,230,200,0.55);
    box-shadow: 0 22px 44px rgba(0,0,0,0.32);
}

.corp-card--active {
    background: rgba(15,23,42,0.92);
}

.corp-card-icon {
    font-size: 1.65rem;
    color: var(--corp-teal);
}

.corp-card-index {
    color: var(--corp-grey);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-family: "JetBrains Mono", monospace;
    margin-top: 4px;
}

.corp-card-title {
    margin: 14px 0 4px;
    font-size: 1rem;
    font-weight: 700;
}

.corp-card-text {
    margin: 0;
    color: var(--corp-muted);
    font-size: 0.82rem;
    font-family: "JetBrains Mono", monospace;
}

.corp-panel {
    background: rgba(12, 18, 32, 0.9);
    border: 1px solid rgba(136,146,164,0.18);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.corp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(8, 12, 22, 0.9);
    border-bottom: 1px solid rgba(136,146,164,0.16);
}

.corp-panel-list {
    display: grid;
    gap: 1px;
    background: rgba(35, 48, 69, 0.8);
}

.corp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(12, 18, 32, 0.9);
    padding: 14px 18px;
    cursor: pointer;
    transition: background .15s ease;
}

.corp-row:hover {
    background: rgba(20, 29, 47, 0.94);
}

.corp-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.corp-row-title {
    min-width: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.corp-row-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--corp-muted);
    font-size: 0.76rem;
    font-family: "JetBrains Mono", monospace;
}

.corp-footer {
    border-top: 1px solid rgba(35,48,69,0.9);
    padding: 16px 24px;
    text-align: center;
    color: var(--corp-muted);
    font-size: 0.75rem;
    font-family: "JetBrains Mono", monospace;
}

.corp-vault {
    min-height: 100vh;
    padding: 24px;
}

.corp-vault-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,230,200,0.18);
    margin-bottom: 18px;
}

.corp-vault-stage {
    background: rgba(12, 18, 32, 0.92);
    border: 1px solid rgba(136,146,164,0.18);
    border-radius: 18px;
    overflow: hidden;
}

.corp-vault-stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(8, 12, 22, 0.9);
    border-bottom: 1px solid rgba(136,146,164,0.16);
    font-family: "JetBrains Mono", monospace;
    color: var(--corp-muted);
}

.corp-vault-frame {
    background: #05070c;
    padding: 0;
}

.corp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,230,200,0.08);
    color: var(--corp-teal);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
}

.corp-note {
    color: var(--corp-muted);
    font-size: 0.85rem;
    font-family: "Geist", sans-serif;
}
