#mcpAccessPage {
    --mcp-bg: #151717;
    --mcp-ink: #f6f3eb;
    --mcp-muted: #b7bab0;
    --mcp-line: #494d46;
    --mcp-lime: #d6fa45;
    --mcp-pad: clamp(16px, 3.4%, 52px);
}
.mcp-hub {
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    max-width: 1440px;
    margin-inline: auto;
    padding: 0 var(--mcp-pad) 24px;
    overflow: hidden;
    border-radius: 16px;
    color: var(--mcp-ink);
    background: var(--mcp-bg);
}
.mcp-hub *, .mcp-hub__dialog * { box-sizing: border-box; }
.mcp-hub__hero-image {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto auto;
    width: 73%;
    height: max(365px, 40cqi);
    object-fit: cover;
    object-position: 60% 46%;
    mask-image: linear-gradient(to right, transparent, #000 25%);
}
.mcp-hub__header, .mcp-hub__dialog-heading, .mcp-hub__manage-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.mcp-hub__header { padding-block: 17px 5px; }
.mcp-hub__brand {
    color: var(--mcp-ink);
    font-size: clamp(19px, 2.4cqi, 34px);
    font-weight: 780;
    letter-spacing: -.045em;
    text-decoration: none;
}
.mcp-hub__brand:hover { color: var(--mcp-lime); }
.mcp-hub__hero {
    display: grid;
    align-content: center;
    min-height: max(270px, 32cqi);
    width: 64%;
    padding-block: 26px 36px;
}
.mcp-hub__hero h1 {
    margin: 0;
    color: var(--mcp-ink);
    font-size: clamp(40px, 8cqi, 113px);
    line-height: .99;
    font-weight: 900;
    letter-spacing: -.085em;
    text-wrap: nowrap;
}
.mcp-hub__hero h1 span { display: block; color: var(--mcp-lime); margin-top: .14em; }
.mcp-hub__hero p { margin: 18px 0 0; color: var(--mcp-ink); font-size: clamp(16px, 2.15cqi, 29px); line-height: 1.45; }
.mcp-hub__entries { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); gap: 12px; }
.mcp-hub__entry {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 186px;
    padding: clamp(15px, 2.1cqi, 29px);
    border: 1px solid var(--mcp-ink);
    border-radius: 12px;
    background: #171919;
}
.mcp-hub__entry h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(21px, 3.2cqi, 46px);
    line-height: 1.12;
    font-weight: 790;
    letter-spacing: -.055em;
}
.mcp-hub__entry--market { border-color: var(--mcp-lime); color: #141716; background: var(--mcp-lime); }
.mcp-hub__route-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 10px;
    margin: 16px 0 21px;
    padding: 0;
    list-style: none;
    font-size: clamp(13px, 1.48cqi, 20px);
}
.mcp-hub__route-steps li + li::before { margin-right: 10px; content: "→"; }
.mcp-hub__protocol { margin: 6px 0 13px; color: var(--mcp-muted); font-size: clamp(13px, 1.55cqi, 19px); }
.mcp-hub__endpoint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 5px 6px 5px 10px;
    border: 1px solid #75796e;
    border-radius: 8px;
    background: #242625;
}
.mcp-hub__endpoint code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--mcp-ink);
    font: clamp(11px, 1.16cqi, 16px)/1.35 ui-monospace, Consolas, monospace;
}
.mcp-hub__endpoint .mcp-hub__button { min-height: 31px; padding: 4px 8px; }
.mcp-hub__actions, .mcp-hub__dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; }
.mcp-hub__entry--market .mcp-hub__actions { margin-top: auto; }
.mcp-hub__entry--custom .mcp-hub__actions { margin-top: 9px; }
.mcp-hub__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 37px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.mcp-hub__button--outline { border-color: #989c90; }
.mcp-hub__button--outline:hover { border-color: var(--mcp-ink); background: #353836; }
.mcp-hub__button--pill { padding-inline: 14px; border-radius: 99px; }
.mcp-hub__button--ink { border-color: #171918; color: #f7f3ea; background: #171918; }
.mcp-hub__button--ink:hover { border-color: #343a32; background: #343a32; }
.mcp-hub__button--primary { border-color: var(--mcp-lime); color: #161917; background: var(--mcp-lime); }
.mcp-hub__button--primary:hover { background: #e5ff8b; }
.mcp-hub__button--danger { border-color: #9c605b; color: #ffb5ae; }
.mcp-hub__button--danger:hover { background: #3b2423; }
.mcp-hub__button:disabled { opacity: .55; cursor: default; }
.mcp-hub__link-button {
    padding: 4px 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.mcp-hub__link-button:hover { text-decoration-thickness: 2px; }
.mcp-hub :focus-visible, .mcp-hub__dialog :focus-visible { outline: 2px solid #a1bc44; outline-offset: 3px; }
.mcp-hub__trial { margin-top: 20px; padding-top: 18px; border-top: 1px solid #9fa296; }
.mcp-hub__trial-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px 12px;
    padding: 9px 13px;
    border-radius: 10px;
    color: #171918;
    background: #f0ece1;
}
.mcp-hub__trial-bar > strong { padding-right: 12px; border-right: 1px solid #373831; white-space: nowrap; }
.mcp-hub__trial-bar p { margin: 0; font-size: clamp(13px, 1.55cqi, 19px); line-height: 1.45; }
.mcp-hub__trial-bar > .mcp-hub__feedback { grid-column: 2 / -1; }
.mcp-hub__permission { margin: 9px 0 0; color: var(--mcp-muted); font-size: 12px; }
.mcp-hub__feedback { margin: 0; color: var(--mcp-lime); font-size: 12px; line-height: 1.45; }
.mcp-hub__feedback:empty { display: none; }
.mcp-hub__feedback[data-error] { color: #ffb8b1; }
.mcp-hub__trial-bar .mcp-hub__feedback, .mcp-hub__entry--market .mcp-hub__feedback { color: #214518; }
.mcp-hub__trial-bar .mcp-hub__feedback[data-error], .mcp-hub__entry--market .mcp-hub__feedback[data-error] { color: #822314; }

.mcp-hub__guide {
    margin-top: 14px;
    border: 1px solid var(--mcp-line);
    border-radius: 9px;
    background: #1b1e1c;
    scroll-margin-top: 12px;
}
.mcp-hub__guide > summary { padding: 12px 15px; font-size: 14px; cursor: pointer; }
.mcp-hub__guide-inner { padding: 0 15px 15px; }
.mcp-hub__guide-note { margin: 0 0 10px; color: var(--mcp-muted); font-size: 13px; }
.mcp-hub__guide-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; gap: 12px; }
.mcp-hub__workflow { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: mcp-step; }
.mcp-hub__workflow li { counter-increment: mcp-step; }
.mcp-hub__workflow button {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    gap: 10px;
    padding: 11px;
    border: 1px solid var(--mcp-line);
    border-radius: 7px;
    color: var(--mcp-ink);
    background: #242724;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.mcp-hub__workflow button:hover, .mcp-hub__workflow button[aria-pressed="true"] { border-color: #bed754; }
.mcp-hub__workflow button[aria-pressed="true"] { background: #303723; }
.mcp-hub__workflow button::before {
    flex: 0 0 auto;
    padding: 3px 5px;
    border-radius: 4px;
    color: var(--mcp-lime);
    background: #161b14;
    font: 700 12px/1.3 ui-monospace, Consolas, monospace;
    content: counter(mcp-step, decimal-leading-zero);
}
.mcp-hub__step-copy { display: grid; gap: 3px; min-width: 0; }
.mcp-hub__step-copy strong { font-size: 14px; }
.mcp-hub__step-copy span { color: var(--mcp-muted); font-size: 13px; line-height: 1.55; }
.mcp-hub__guide-stage { display: grid; align-items: center; min-width: 0; padding: clamp(10px, 2cqi, 22px); border: 1px solid var(--mcp-line); border-radius: 8px; background: #252824; }
.mcp-hub__market { min-width: 0; margin: 0; }
.mcp-hub__market[hidden] { display: none; }
.mcp-hub__market-frame {
    display: grid;
    grid-template-rows: auto minmax(125px, 1fr);
    min-height: 170px;
    overflow: hidden;
    border-radius: 8px;
    color: #22251e;
    background: #f8f8f4;
}
.mcp-hub__market-top, .mcp-hub__market-search, .mcp-hub__market-result { display: flex; align-items: center; gap: 8px; }
.mcp-hub__market-top { justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #dfe1d7; font-size: 12px; }
.mcp-hub__market-top span { color: #505649; }
.mcp-hub__market-content { display: grid; align-content: start; gap: 11px; padding: 12px; background: linear-gradient(to right, #eceee6 22%, #fff 22%); }
.mcp-hub__market-search { justify-self: end; min-width: 105px; padding: 5px 8px; border: 1px solid #a5ad97; border-radius: 5px; color: #29331b; background: #f3f7e9; font-size: 12px; }
.mcp-hub__search-icon { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.mcp-hub__market-result { justify-self: start; margin-left: 17%; padding: 6px 9px; border: 1px solid #e1e4d9; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 700; }
.mcp-hub__market-result img { width: 33px; height: 33px; object-fit: contain; }
.mcp-hub__market figcaption { margin-top: 6px; color: var(--mcp-muted); font-size: 11px; }
.mcp-hub__market-navigation, .mcp-hub__market-grant { display: grid; align-content: center; gap: 8px; padding: 13px; font-size: 13px; }
.mcp-hub__market-navigation ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.mcp-hub__market-navigation li, .mcp-hub__market-grant div { width: fit-content; padding: 5px 8px; border: 1px solid #d8dfcc; border-radius: 4px; }
.mcp-hub__market-navigation .is-marked, .mcp-hub__market-grant .is-marked { border-color: #a7b381; background: #e8efcf; }
.mcp-hub__help-title { margin: 16px 0 5px; font-size: 15px; }
.mcp-hub__questions details { border-bottom: 1px solid var(--mcp-line); }
.mcp-hub__questions summary { padding-block: 8px; font-size: 13px; cursor: pointer; }
.mcp-hub__questions p { margin: 0 0 8px; color: var(--mcp-muted); font-size: 13px; }

.mcp-hub__dialog {
    box-sizing: border-box;
    width: min(500px, calc(100% - 28px));
    max-height: calc(100% - 36px);
    padding: 21px;
    margin: auto;
    border: 1px solid #606557;
    border-radius: 12px;
    color: var(--mcp-ink);
    background: #1d1f1d;
    box-shadow: 0 18px 65px #0009;
}
.mcp-hub__dialog--config { width: min(640px, calc(100% - 28px)); }
.mcp-hub__dialog--manage { width: min(840px, calc(100% - 28px)); }
.mcp-hub__dialog::backdrop { background: #060807b5; }
.mcp-hub__dialog h2 { margin: 0; color: inherit; font-size: 21px; }
.mcp-hub__dialog p:not(.mcp-hub__feedback) { margin: 11px 0; color: var(--mcp-muted); font-size: 14px; line-height: 1.55; }
.mcp-hub__dialog-actions { margin-top: 12px; }
.mcp-hub__dialog--confirm .mcp-hub__dialog-actions { justify-content: flex-end; }
.mcp-hub__dialog > .mcp-hub__feedback { margin-top: 8px; }
.mcp-hub__manage-toolbar { margin: 12px 0; }
.mcp-hub__manage-toolbar p { margin: 0; }
.mcp-hub__config {
    margin: 10px 0;
    padding: 12px;
    overflow: auto;
    border: 1px solid var(--mcp-line);
    border-radius: 7px;
    color: #d9efb6;
    background: #111411;
    font: 13px/1.5 ui-monospace, Consolas, monospace;
}
.mcp-hub__config code { color: inherit; font: inherit; }
.mcp-hub__conn-list { overflow-x: auto; border: 1px solid var(--mcp-line); border-radius: 7px; }
.mcp-hub__table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.mcp-hub__table th, .mcp-hub__table td { padding: 9px 10px; color: var(--mcp-ink); }
.mcp-hub__table thead { background: #282c26; }
.mcp-hub__table thead th { white-space: nowrap; }
.mcp-hub__table tbody th, .mcp-hub__table tbody td { border-top: 1px solid var(--mcp-line); }
.mcp-hub__table tbody th, .mcp-hub__workspace { overflow-wrap: anywhere; }
.mcp-hub__table th:last-child, .mcp-hub__table td:last-child { text-align: right; }
.mcp-hub__table .mcp-hub__time { color: var(--mcp-muted); white-space: nowrap; }
.mcp-hub__scope { display: block; color: var(--mcp-lime); font-size: 11px; white-space: nowrap; }
.mcp-hub__table .mcp-hub__revoke { min-height: 29px; padding: 3px 7px; }
.mcp-hub__empty, .mcp-hub__error { padding-inline: 10px; }
.mcp-hub__dialog .mcp-hub__error { color: #ffb8b1; }

@container (max-width: 720px) {
    .mcp-hub__hero-image { width: 83%; opacity: .78; }
    .mcp-hub__hero h1 { font-size: clamp(35px, 8.2cqi, 62px); }
    .mcp-hub__entries { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .mcp-hub__entry { min-height: 0; }
}
@container (max-width: 570px) {
    .mcp-hub__hero-image { inset: 122px 0 auto auto; width: 100%; height: 230px; object-position: 66% 42%; mask-image: linear-gradient(to bottom, transparent, #000 29%, #000 81%, transparent); }
    .mcp-hub__hero { position: relative; width: 100%; min-height: 306px; padding: 15px 0 173px; }
    .mcp-hub__hero h1 { font-size: clamp(33px, 9.1cqi, 48px); }
    .mcp-hub__hero p { margin-top: 10px; font-size: 14px; }
    .mcp-hub__entries, .mcp-hub__guide-grid { grid-template-columns: minmax(0, 1fr); }
    .mcp-hub__trial-bar { grid-template-columns: minmax(0, 1fr) auto; }
    .mcp-hub__trial-bar > strong { grid-column: 1 / -1; padding: 0; border: 0; }
    .mcp-hub__trial-bar > .mcp-hub__feedback { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
    #mcpAccessPage { padding-inline: 11px; }
    .mcp-hub__table, .mcp-hub__table tbody { display: block; }
    .mcp-hub__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .mcp-hub__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 8px; padding: 9px; }
    .mcp-hub__table tbody tr + tr { border-top: 1px solid var(--mcp-line); }
    .mcp-hub__table tbody th, .mcp-hub__table tbody td { padding: 0; border: 0; }
    .mcp-hub__table .mcp-hub__operation { grid-column: 2; grid-row: 1; }
    .mcp-hub__workspace { grid-column: 1 / -1; }
    .mcp-hub__table .mcp-hub__time { font-size: 12px; white-space: normal; }
    .mcp-hub__time::before { display: block; content: attr(data-label); }
}
