.ge-profile-shell { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: clamp(2rem, 5vw, 4rem); }
.ge-profile-summary { padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid rgb(255 255 255 / 9%); border-radius: 18px; background: rgb(7 10 32 / 68%); box-shadow: 0 20px 55px rgb(0 0 0 / 24%); }
.ge-profile-avatar { display: grid; width: 116px; height: 116px; margin-bottom: 1.2rem; place-items: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 14%); border-radius: 18px; background: #101535; color: var(--ge-cyan); font-size: 2.3rem; }
.ge-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ge-profile-summary h1 { margin: .2rem 0 .75rem; color: #fff; font-size: clamp(1.55rem, 2.4vw, 2.15rem); line-height: 1.18; }
.ge-profile-summary p:not(.ge-eyebrow) { margin: 0; color: #aeb5ce; font-size: .82rem; line-height: 1.65; }
.ge-profile-summary dl { display: grid; gap: .65rem; margin: 1.4rem 0 0; }
.ge-profile-summary dl div { display: grid; gap: .15rem; padding-top: .65rem; border-top: 1px solid rgb(255 255 255 / 8%); }
.ge-profile-summary dt { color: #7780a0; font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ge-profile-summary dd { margin: 0; color: #f4f6ff; overflow-wrap: anywhere; font-size: .78rem; }
.ge-profile-card { max-width: none; margin: 0; border-radius: 18px; }
.ge-profile-tabs, .ge-api-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: .4rem; padding: .35rem; border: 1px solid rgb(255 255 255 / 8%); border-radius: 12px; background: #0c102c; }
.ge-profile-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border: 0; border-radius: 8px; color: #a4acc9; background: transparent; font-size: .72rem; font-weight: 800; }
.ge-profile-tabs button[aria-selected="true"] { color: #fff; background: #6a4bec; box-shadow: 0 8px 22px rgb(106 75 236 / 24%); }
.ge-profile-avatar-field { margin-bottom: 1rem; padding: 1rem; border: 1px dashed rgb(255 255 255 / 14%); border-radius: 12px; background: rgb(255 255 255 / 3%); }
.ge-profile-avatar-field label { display: block; margin-bottom: .5rem; color: #fff; font-size: .78rem; font-weight: 800; }
.ge-profile-avatar-field input { width: 100%; color: #c6cbe0; font-size: .74rem; }
.ge-profile-avatar-field p { margin: .5rem 0 0; color: #8f97b6; font-size: .68rem; }
.ge-profile-preferences { display: grid; gap: .8rem; }
.ge-profile-preferences label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: start; padding: .95rem; border: 1px solid rgb(255 255 255 / 9%); border-radius: 12px; background: #0d102b; cursor: pointer; }
.ge-profile-preferences input { width: 20px; height: 20px; margin-top: .15rem; accent-color: #6a4bec; }
.ge-profile-preferences strong, .ge-profile-preferences small { display: block; }
.ge-profile-preferences strong { color: #fff; font-size: .82rem; }
.ge-profile-preferences small { margin-top: .25rem; color: #8f97b6; font-size: .68rem; line-height: 1.5; }
.ge-profile-page .ge-auth-message.alert-success { border-color: rgb(76 221 174 / 32%); color: #c8ffee; background: rgb(76 221 174 / 9%); }
.ge-profile-link { margin-right: .4rem; }
.ge-api-key-panel { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: 1rem; padding: 1rem; border: 1px solid rgb(255 255 255 / 9%); border-radius: 12px; background: #0d102b; }
.ge-api-key-panel h3 { margin: 0 0 .4rem; color: #fff; font-size: 1rem; }
.ge-api-key-panel p { max-width: 36rem; margin: 0; color: #9fa6c3; font-size: .72rem; line-height: 1.6; }
.ge-api-key-panel code, .ge-api-key-reveal code { color: #9af4ff; }
.ge-api-key-panel a { flex: 0 0 auto; color: var(--ge-cyan); font-size: .74rem; font-weight: 800; text-decoration: none; }
.ge-api-key-reveal { margin-bottom: 1rem; padding: 1rem; border: 1px solid rgb(76 221 174 / 30%); border-radius: 12px; background: rgb(76 221 174 / 8%); }
.ge-api-key-reveal label { display: block; margin-bottom: .45rem; color: #fff; font-size: .75rem; font-weight: 800; }
.ge-api-key-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.ge-api-key-reveal input { min-width: 0; height: 44px; padding: 0 .8rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 8px; color: #fff; background: #070a1e; font-size: .72rem; }
.ge-api-key-reveal button, .ge-api-key-list button { min-height: 40px; padding: 0 .85rem; border: 0; border-radius: 8px; color: #fff; background: #6a4bec; font-size: .7rem; font-weight: 800; }
.ge-api-key-reveal p { margin: .5rem 0 0; color: #bfeedd; font-size: .68rem; }
.ge-api-key-list { display: grid; gap: .7rem; margin-bottom: 1rem; }
.ge-api-key-list > p { margin: 0; color: #9fa6c3; font-size: .75rem; }
.ge-api-key-list article { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .9rem; border: 1px solid rgb(255 255 255 / 9%); border-radius: 12px; background: #0d102b; }
.ge-api-key-list strong, .ge-api-key-list small, .ge-api-key-list span { display: block; }
.ge-api-key-list strong { color: #fff; font-size: .78rem; }
.ge-api-key-list span { color: #f4f6ff; font-size: .74rem; }
.ge-api-key-list small { margin-top: .2rem; color: #8f97b6; font-size: .64rem; overflow-wrap: anywhere; }
.ge-api-key-list button { background: rgb(255 99 132 / 20%); color: #ffd7df; }

.ge-api-docs { min-height: 70vh; color: #dfe3f6; background: #0b0e29; }
.ge-api-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #0a0c26, #101432); }
.ge-api-hero h1 { max-width: 46rem; margin: .25rem 0 1rem; color: #fff; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.05; }
.ge-api-hero p:not(.ge-eyebrow) { max-width: 48rem; color: #bcc2d9; font-size: 1rem; line-height: 1.75; }
.ge-api-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.ge-api-body { padding: clamp(2.6rem, 6vw, 5rem) 0; background: #0e112f; }
.ge-api-layout { display: grid; grid-template-columns: minmax(230px, 320px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ge-api-rules, .ge-api-reference { border: 1px solid rgb(255 255 255 / 9%); border-radius: 18px; background: rgb(18 22 51 / 82%); }
.ge-api-rules { padding: 1.4rem; }
.ge-api-rules h2, .ge-api-reference h2 { margin: 0 0 1rem; color: #fff; font-size: 1.25rem; }
.ge-api-rules ul { display: grid; gap: .65rem; margin: 0; padding-left: 1.1rem; color: #c4cae0; font-size: .78rem; line-height: 1.55; }
.ge-api-rules p { margin: 1rem 0 0; color: #8f97b6; font-size: .72rem; line-height: 1.6; }
.ge-api-reference { padding: clamp(1rem, 3vw, 1.6rem); overflow: hidden; }
.ge-api-reference section { margin-top: 1.4rem; }
.ge-api-endpoint { margin-bottom: .8rem; padding: .9rem; border: 1px solid rgb(255 255 255 / 8%); border-radius: 10px; background: #0b0e29; }
.ge-api-endpoint code { color: #9af4ff; font-size: .8rem; }
.ge-api-endpoint p { margin: .35rem 0 0; color: #aab1cc; font-size: .74rem; line-height: 1.5; }
.ge-api-note { margin: .75rem 0 0; color: #aab1cc; font-size: .74rem; line-height: 1.6; }
.ge-api-note code { color: #9af4ff; }
.ge-api-reference h3 { margin: 1.4rem 0 .8rem; color: #fff; font-size: 1rem; }
.ge-api-reference table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 10px; font-size: .74rem; }
.ge-api-reference th, .ge-api-reference td { padding: .75rem; border-bottom: 1px solid rgb(255 255 255 / 8%); text-align: left; vertical-align: top; }
.ge-api-reference th { color: #fff; background: #0b0e29; }
.ge-api-reference td { color: #b8bfd8; }
.ge-api-reference pre { margin: 0; padding: 1rem; overflow: auto; border: 1px solid rgb(255 255 255 / 9%); border-radius: 10px; color: #e5e8f7; background: #070a1e; font-size: .76rem; line-height: 1.65; }
.ge-api-example-select { display: flex; gap: .7rem; align-items: center; margin-bottom: 1rem; }
.ge-api-example-select label { color: #fff; font-size: .75rem; font-weight: 800; }
.ge-api-example-select select { min-height: 42px; padding: 0 .8rem; border: 1px solid rgb(255 255 255 / 12%); border-radius: 8px; color: #fff; background: #0b0e29; }

@media (max-width: 991.98px) {
    .ge-profile-shell, .ge-api-layout { grid-template-columns: 1fr; }
    .ge-profile-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1rem; align-items: center; }
    .ge-profile-summary .ge-eyebrow, .ge-profile-summary h1, .ge-profile-summary p, .ge-profile-summary dl { grid-column: 2; }
    .ge-profile-avatar { grid-row: 1 / span 4; margin: 0; }
}

@media (max-width: 575.98px) {
    .ge-profile-summary { display: block; }
    .ge-profile-avatar { width: 88px; height: 88px; margin-bottom: 1rem; border-radius: 14px; }
    .ge-profile-tabs, .ge-api-tabs { grid-template-columns: 1fr; }
    .ge-profile-tabs button { justify-content: flex-start; padding-inline: .9rem; }
    .ge-api-key-panel { flex-direction: column; }
    .ge-api-key-copy-row, .ge-api-key-list article { grid-template-columns: 1fr; }
    .ge-api-reference table { display: block; overflow-x: auto; white-space: nowrap; }
}
