.v8-vault-launch {
    border-color: color-mix(in srgb, var(--accent, #e33b42) 65%, transparent) !important;
    color: var(--accent, #ff646b) !important;
    box-shadow: 0 0 18px color-mix(in srgb, var(--accent, #e33b42) 16%, transparent);
}

.gev-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 5, 8, .88);
    backdrop-filter: blur(16px);
}

.gev-modal.hidden { display: none; }

.gev-shell {
    width: min(1540px, 100%);
    height: min(920px, calc(100vh - 40px));
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent, #e33b42) 42%, #2d303a);
    border-radius: 18px;
    color: #edf0f5;
    background:
        radial-gradient(circle at 84% -8%, color-mix(in srgb, var(--accent, #e33b42) 22%, transparent), transparent 34%),
        linear-gradient(145deg, #101217, #08090d 72%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .72), 0 0 34px color-mix(in srgb, var(--accent, #e33b42) 13%, transparent);
}

.gev-head {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid #282c35;
    background: rgba(11, 12, 17, .85);
}

.gev-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gev-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--accent, #e33b42) 55%, #333);
    background: color-mix(in srgb, var(--accent, #e33b42) 15%, #111318);
    color: var(--accent, #ff5a62);
    font-size: 25px;
    box-shadow: inset 0 0 18px rgba(0,0,0,.5), 0 0 20px color-mix(in srgb, var(--accent, #e33b42) 16%, transparent);
}
.gev-title h2 { margin: 2px 0 0; font-size: clamp(19px, 2vw, 27px); letter-spacing: -.02em; }
.gev-kicker { display: block; color: var(--accent, #ff5a62); font: 700 10px/1.2 monospace; letter-spacing: .19em; }
.gev-sub { margin: 5px 0 0; color: #979eaa; font-size: 12px; }
.gev-close { width: 42px; height: 42px; border-radius: 10px; font-size: 24px; }

.gev-body {
    min-height: 0;
    overflow: auto;
    padding: 18px;
}

.gev-alert {
    margin-bottom: 14px;
    padding: 11px 13px;
    border: 1px solid #3a3f49;
    border-radius: 9px;
    color: #cbd0d8;
    background: #151820;
    font-size: 13px;
}
.gev-alert.success { border-color: #267a55; color: #7ce5ad; }
.gev-alert.error { border-color: #843238; color: #ff8c91; }
.gev-alert.warning { border-color: #7a602a; color: #eecb75; }

.gev-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}
.gev-stat,
.gev-panel {
    border: 1px solid #292d36;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(26,29,36,.92), rgba(15,17,22,.94));
}
.gev-stat { padding: 12px; }
.gev-stat span { color: #7f8793; font: 700 9px/1.2 monospace; letter-spacing: .14em; }
.gev-stat strong { display: block; margin-top: 7px; color: #f2f4f7; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.gev-stat.live { border-color: color-mix(in srgb, var(--accent, #e33b42) 45%, #30343d); }
.gev-stat.live strong { color: var(--accent, #ff656d); }

.gev-workspace {
    min-height: 560px;
    display: grid;
    grid-template-columns: 245px minmax(360px, .9fr) minmax(420px, 1.35fr);
    gap: 12px;
}
.gev-panel { min-width: 0; overflow: hidden; }
.gev-panel-head {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #292d36;
}
.gev-panel-head strong { font: 800 11px/1.2 monospace; letter-spacing: .11em; }
.gev-panel-content { padding: 12px; }
.gev-scroll { height: 490px; overflow: auto; }

.gev-button,
.gev-close {
    border: 1px solid #3a3f49;
    color: #e8ebef;
    background: #1a1d24;
    font: 800 10px/1 monospace;
    letter-spacing: .08em;
    cursor: pointer;
}
.gev-button { min-height: 36px; padding: 0 12px; border-radius: 8px; }
.gev-button:hover { border-color: var(--accent, #e33b42); color: #fff; }
.gev-button.primary { border-color: var(--accent, #e33b42); background: color-mix(in srgb, var(--accent, #e33b42) 22%, #15171d); }
.gev-button.danger { border-color: #7d3036; color: #ff8b91; }
.gev-button:disabled { opacity: .45; cursor: not-allowed; }
.gev-actions { display: flex; flex-wrap: wrap; gap: 7px; }

.gev-shortcuts { display: grid; gap: 6px; margin-bottom: 12px; }
.gev-shortcut,
.gev-file-row {
    width: 100%;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 9px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #c7ccd4;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.gev-shortcut:hover,
.gev-file-row:hover { border-color: #363b45; background: #1b1e25; color: #fff; }
.gev-file-row.active { border-color: var(--accent, #e33b42); color: #fff; background: color-mix(in srgb, var(--accent, #e33b42) 12%, #16181e); }
.gev-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px/1.3 monospace; }
.gev-breadcrumb { color: #9097a3; font: 600 11px/1.3 monospace; overflow-wrap: anywhere; }
.gev-hidden-note { margin: 9px 0 0; color: #6f7783; font-size: 11px; }

.gev-editor {
    width: 100%;
    height: 446px;
    resize: none;
    border: 0;
    outline: 0;
    padding: 14px;
    color: #d9f2e1;
    background: #080a0d;
    font: 13px/1.55 Consolas, Monaco, monospace;
    tab-size: 4;
}
.gev-editor:disabled { color: #737a84; }
.gev-editor-meta { color: #7e8692; font: 600 10px/1.2 monospace; }

.gev-create {
    max-width: 760px;
    margin: 54px auto;
    padding: 24px;
}
.gev-create h3 { margin: 0 0 8px; font-size: 24px; }
.gev-create p { color: #949ca8; line-height: 1.6; }
.gev-form-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin: 18px 0; }
.gev-field span { display: block; margin-bottom: 6px; color: #858d99; font: 700 9px/1 monospace; letter-spacing: .12em; }
.gev-field input,
.gev-field select {
    width: 100%;
    height: 42px;
    border: 1px solid #363b45;
    border-radius: 8px;
    padding: 0 11px;
    color: #edf0f5;
    background: #0c0e12;
}

.gev-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.gev-credential { display: grid; grid-template-columns: 95px minmax(0,1fr) auto; align-items: center; gap: 8px; margin-bottom: 7px; }
.gev-credential span { color: #808894; font-size: 11px; }
.gev-credential code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eef1f5; }
.gev-release { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #282c34; }
.gev-release:last-child { border-bottom: 0; }
.gev-release small { display: block; margin-top: 4px; color: #7c8490; }
.gev-badge { display: inline-block; margin-left: 6px; padding: 3px 6px; border-radius: 999px; color: var(--accent, #ff646b); background: color-mix(in srgb, var(--accent, #e33b42) 14%, #111); font: 800 9px/1 monospace; }

@media (max-width: 1120px) {
    .gev-workspace { grid-template-columns: 210px minmax(300px, .85fr) minmax(330px, 1.2fr); }
    .gev-status-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .gev-modal { padding: 0; }
    .gev-shell { width: 100%; height: 100%; border-radius: 0; border-left: 0; border-right: 0; }
    .gev-head { padding: 12px; }
    .gev-sub { display: none; }
    .gev-body { padding: 10px; }
    .gev-workspace { display: block; }
    .gev-panel { margin-bottom: 10px; }
    .gev-scroll { height: 250px; }
    .gev-editor { height: 390px; }
    .gev-lower-grid { grid-template-columns: 1fr; }
    .gev-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .gev-status-grid { grid-template-columns: 1fr 1fr; }
    .gev-stat { padding: 10px; }
    .gev-head { min-height: 70px; }
    .gev-mark { width: 40px; height: 40px; }
    .gev-title h2 { font-size: 18px; }
    .gev-credential { grid-template-columns: 70px minmax(0,1fr); }
    .gev-credential .gev-button { grid-column: 1 / -1; }
}
