:root {

    --registry-blue: #087cf0;

    --registry-blue-hover: #086ed2;

    --registry-green: #16a34a;

    --registry-green-hover: #15803d;

    --registry-red: #ef4444;

    --registry-red-hover: #dc3636;

    --registry-dark: #334155;

    --registry-ink: #111827;

    --registry-label: #26354d;

    --registry-muted: #667085;

    --registry-border: #d6d6d6;

    --registry-gradient: linear-gradient(90deg,

            rgba(220, 218, 248, 0.92) 0%,

            rgba(210, 239, 250, 0.96) 100%);

    --registry-panel: rgba(249, 250, 255, 0.93);

    --registry-shadow: 0 2px 9px rgba(33, 50, 79, 0.18);

}

*,

*::before,

*::after {

    box-sizing: border-box;

}

html,

body {

    min-height: 100%;

    margin: 0;

}

body.registry-page {

    min-height: 100vh;

    min-height: 100dvh;

    display: flex;

    flex-direction: column;

    overflow-x: hidden;

    color: var(--registry-ink);

    background: #f6f8fd;

    font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

}

button,

input,

textarea,

select {

    font: inherit;

}

button {

    cursor: pointer;

}

.d-none {

    display: none !important;

}

.d-flex {

    display: flex;

}

.justify-content-between {

    justify-content: space-between;

}

.registry-main {

    flex: 1 0 auto;

    width: 100%;

    padding-bottom: 28px;

}

/* Hero */

.registry-hero {
    width: 100%;
    min-height: 126px;
    display: flex;
    align-items: center;

}

.registry-hero__content {

    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

}

.registry-hero__badge {

    width: fit-content;

    max-width: 100%;

    margin: 0 auto;

    padding: 7px 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-radius: 999px;

    background: rgba(120, 172, 246, 0.2);

    color: #1761e8;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.35;

}

.registry-hero__description {

    max-width: 880px;

    margin: 9px auto 0;

    color: #101828;

    font-size: 13px;

    line-height: 1.45;

    text-align: center;

}

/* View tabs */

.registry-tabs {

    width: auto;

    max-width: calc(100% - 24px);

    margin: 22px auto 20px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 10px;

}

.registry-tab,

.registry-button,

.btn {

    min-height: 34px;

    padding: 7px 15px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border: 0;

    border-radius: 7px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    line-height: 1.3;

    text-decoration: none;

    box-shadow: none;

    transition:

        background-color 0.16s ease,

        box-shadow 0.16s ease,

        transform 0.16s ease;

}

.registry-tab,

.registry-button--primary,

.btn-primary {

    background: var(--registry-blue);

}

.registry-tab:hover,

.registry-tab:focus-visible,

.registry-button--primary:hover,

.btn-primary:hover {

    background: var(--registry-blue-hover);

    color: #ffffff;

    box-shadow: 0 4px 10px rgba(8, 124, 240, 0.18);

}

.registry-button--success {

    background: var(--registry-green);

}

.registry-button--success:hover {

    background: var(--registry-green-hover);

}

.registry-button--danger,

.btn-danger {

    background: var(--registry-red);

}

.registry-button--danger:hover,

.btn-danger:hover {

    background: var(--registry-red-hover);

}

.registry-button--dark {

    background: var(--registry-dark);

}

.registry-button--dark:hover {

    background: #253245;

}

.registry-form-card,

.registry-tools-card {

    width: 100%;

    padding: 18px 20px;

    border-radius: 11px;

    background: var(--registry-panel);

    box-shadow: 0 4px 12px rgba(58, 68, 92, 0.12);

}

.registry-form-card {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: 10px 24px;

}

.registry-form-header {

    grid-column: 1 / -1;

    margin-bottom: 3px;

    text-align: center;

}

.registry-form-header h2,

.registry-tools-title {

    margin: 0;

    color: #1f2d3d;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.35;

}

.registry-form-header p {

    margin: 3px 0 0;

    color: var(--registry-muted);

    font-size: 12px;

    line-height: 1.4;

}

.registry-field {

    min-width: 0;

    margin: 0;

    padding: 0;

    border: 0;

}

.registry-field--wide {

    grid-column: 1 / -1;

}

.registry-field--center {

    width: min(680px, 100%);

    justify-self: center;

}

.registry-field--center .registry-label {

    text-align: center;

}

.registry-label {

    display: block;

    width: 100%;

    margin: 0 0 4px;

    padding: 0;

    color: var(--registry-label);

    font-size: 12px;

    font-weight: 500;

    line-height: 1.3;

}

.registry-control {

    display: block;

    width: 100%;

    min-width: 0;

    height: 34px;

    padding: 6px 10px;

    border: 1px solid var(--registry-border);

    border-radius: 7px;

    outline: 0;

    background: #ffffff;

    color: #111827;

    font-size: 12px;

    line-height: 1.35;

    box-shadow: none;

    transition:

        border-color 0.16s ease,

        box-shadow 0.16s ease;

}

.registry-control::placeholder {

    color: #8a94a5;

}

.registry-control:focus {

    border-color: #6daff0;

    box-shadow: 0 0 0 3px rgba(8, 124, 240, 0.11);

}

input:-webkit-autofill,

input:-webkit-autofill:hover,

input:-webkit-autofill:focus {

    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;

    -webkit-text-fill-color: #111827 !important;

}

.field-error {

    display: none;

    margin: 4px 0 0;

    color: #dc2626;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.3;

}

.registry-choice-field {

    flex-direction: column;

}

.registry-choice-group {

    width: 100%;

    min-height: 34px;

    padding: 4px 10px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 8px 28px;

    border: 1px solid #e1e4e8;

    border-radius: 7px;

    background: #ffffff;

}

.registry-choice {

    min-height: 23px;

    margin: 0;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #344054;

    font-size: 12px;

    font-weight: 500;

    cursor: pointer;

}

.registry-choice input {

    width: 15px;

    height: 15px;

    margin: 0;

    accent-color: var(--registry-blue);

}

.registry-form-actions {

    grid-column: 1 / -1;

    margin-top: 8px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 10px;

}

.status-box {

    grid-column: 1 / -1;

    margin-top: 2px;

    padding: 10px 12px;

    border-radius: 7px;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.45;

}

.success-status {

    border: 1px solid #a7e4bd;

    background: #ecfdf3;

    color: #027a48;

}

.error-status {

    border: 1px solid #f7c1bd;

    background: #fef3f2;

    color: #b42318;

}

/* Loaded tools */

.registry-tools-card {

    margin-top: 16px;

}

.registry-tools-title {

    margin-bottom: 14px;

    text-align: center;

}

.registry-tools-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

}

.tool-card {

    margin: 0;

    padding: 14px;

    border-radius: 9px;

    background: #ffffff;

    box-shadow: 0 3px 9px rgba(55, 65, 81, 0.1);

}

.tool-card>.d-flex {

    align-items: flex-start;

    gap: 14px;

}

.tool-name {

    color: var(--registry-label);

    font-size: 12px;

    font-weight: 600;

}

.tool-description {

    margin-top: 4px;

    color: var(--registry-muted);

    font-size: 11px;

    line-height: 1.5;

}

.tool-checkbox {

    width: 16px;

    height: 16px;

    margin: 0;

    accent-color: var(--registry-blue);

}

/* Saved configurations */

.configuration-list {

    width: 90%;

    max-width: none;

    margin: 0 auto 30px;

    padding: 24px;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: 16px;

    border-radius: 10px;

    background: var(--registry-gradient);

    box-shadow: var(--registry-shadow);

    overflow: visible;

}

.configuration-list::before {

    content: "Saved Server Configurations";

    grid-column: 1 / -1;

    margin-bottom: 2px;

    color: #1f2d3d;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.4;

    text-align: center;

}

.config-card {

    width: 100%;

    min-width: 0;

    margin: 0;

    padding: 17px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 3px 9px rgba(55, 65, 81, 0.12);

}

.config-field {

    width: 100%;

    margin-bottom: 9px;

}

.config-field label {

    display: block;

    width: 100%;

    margin: 0 0 5px;

    color: var(--registry-label);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.35;

}

.config-field input,

.config-field select,

.config-field textarea {

    display: block;

    width: 100%;

    min-width: 0;

    min-height: 29px;

    height: 29px;

    margin: 0;

    padding: 6px 9px;

    border: 1px solid #e3e3e3;

    border-radius: 6px;

    outline: 0;

    background: #f8f8f8;

    color: #5d616b;

    font-size: 12px;

    line-height: 1.35;

}

.config-field textarea {

    min-height: 52px;

    height: 52px;

    resize: vertical;

}

.card-actions {

    margin-top: 15px;

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 9px;

}

.configuration-list>.config-card:only-child {

    grid-column: 1 / -1;

}

.configuration-list>.config-card:only-child>p:only-child {

    margin: 0;

    padding: 32px 20px;

    color: var(--registry-muted);

    font-size: 13px;

    line-height: 1.6;

    text-align: center;

}

/* Permission state */

.disabled-btn {

    position: relative;

    opacity: 0.55;

    cursor: not-allowed !important;

    pointer-events: auto !important;

}

.disabled-btn::after {

    content: attr(data-tooltip);

    position: absolute;

    top: calc(100% + 10px);

    left: 50%;

    z-index: 100;

    width: max-content;

    max-width: min(320px, calc(100vw - 30px));

    padding: 8px 11px;

    border-radius: 7px;

    background: rgba(52, 64, 84, 0.96);

    color: #ffffff;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.4;

    text-align: left;

    white-space: normal;

    opacity: 0;

    visibility: hidden;

    transform: translateX(-50%) translateY(-4px);

    transition:

        opacity 0.16s ease,

        transform 0.16s ease,

        visibility 0.16s ease;

}

.disabled-btn:hover::after {

    opacity: 1;

    visibility: visible;

    transform: translateX(-50%) translateY(0);

}

/* Toast message */

.message-box {

    position: fixed;

    top: 90px;

    right: 24px;

    z-index: 9999;

    min-width: min(350px, calc(100vw - 48px));

    max-width: min(500px, calc(100vw - 48px));

    padding: 14px 17px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.5;

    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);

}

.message-success {

    border-left: 5px solid #12b76a;

    background: #ecfdf3;

    color: #027a48;

}

.message-error {

    border-left: 5px solid #f04438;

    background: #fef3f2;

    color: #b42318;

}

/* Modal */

.mcp-modal {

    display: none;

    position: fixed;

    inset: 0;

    z-index: 10000;

    padding: 14px;

    align-items: center;

    justify-content: center;

    background: rgba(15, 23, 42, 0.48);

}

.mcp-modal.hidden {

    display: none;

}

.mcp-modal.show {

    display: flex;

}

.mcp-modal-dialog {

    width: min(440px, 100%);

    padding: 20px;

    border-radius: 10px;

    background: #ffffff;

    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);

}

.mcp-modal-header {

    padding-bottom: 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid #e7ebf0;

}

.mcp-modal-header h2 {

    margin: 0;

    color: #1f2d3d;

    font-size: 17px;

    font-weight: 600;

}

.mcp-modal-close {

    width: 30px;

    height: 30px;

    padding: 0;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 6px;

    background: var(--registry-red);

    color: #ffffff;

    font-size: 15px;

}

.mcp-modal-body {

    padding: 18px 0;

    color: #475467;

    font-size: 12px;

    line-height: 1.6;

}

.mcp-modal-footer {

    text-align: center;

}

button:focus-visible,

input:focus-visible,

select:focus-visible,

textarea:focus-visible {

    outline: 3px solid rgba(8, 124, 240, 0.2);

    outline-offset: 2px;

}

@media (max-width: 900px) {

    .registry-main {

        margin-top: 68px;

    }

    .registry-form-panel,

    .configuration-list {

        width: calc(100% - 28px);

    }

    .registry-form-card,

    .registry-tools-grid,

    .configuration-list {

        grid-template-columns: minmax(0, 1fr);

    }

    .registry-field--wide,

    .registry-form-header,

    .registry-form-actions,

    .status-box,

    .configuration-list::before {

        grid-column: 1;

    }

}

@media (max-width: 560px) {

    .registry-hero {

        min-height: 0;

        padding: 24px 16px;

    }

    .registry-hero__badge {

        padding: 7px 13px;

        font-size: 15px;

    }

    .registry-hero__description {

        font-size: 12px;

    }

    .registry-tabs {

        width: calc(100% - 20px);

        max-width: none;

        margin: 18px auto;

        gap: 8px;

    }

    .registry-tab {

        flex: 1 1 100%;

        width: 100%;

    }

    .registry-form-panel,

    .configuration-list {

        width: calc(100% - 20px);

        padding: 12px;

    }

    .registry-form-card,

    .registry-tools-card {

        padding: 16px 12px;

    }

    .registry-choice-group {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;

    }

    .registry-form-actions {

        gap: 8px;

    }

    .message-box {

        right: 10px;

        min-width: 0;

        width: calc(100vw - 20px);

        max-width: none;

    }

}

@media (prefers-reduced-motion: reduce) {

    *,

    *::before,

    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}

.registry-form-card {

    position: relative;

    gap: 4px 24px;

    padding: 22px 26px 20px;

    overflow: hidden;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    width: 75%;

    margin-left: 12%;

    background: linear-gradient(90deg, rgb(205 201 237 / 62%), rgb(191 228 245 / 77%));

    box-shadow:

        0 12px 30px rgba(44, 62, 94, 0.11),

        inset 0 1px 0 rgba(255, 255, 255, 0.9);

}

.registry-form-card::before {

    content: "";

    position: absolute;

    inset: 0 0 auto;

    height: 4px;

}

.registry-form-header {

    margin: 0 0 3px;

    padding: 2px 0 15px;

}

.registry-form-header h2 {

    color: #17243b;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: -0.025em;

}

.registry-form-header p {

    margin-top: 5px;

    color: #66758b;

    font-size: 12.5px;

}

/* Keep every field on one uniform form surface (no individual field tiles). */

.registry-form-card>.registry-field:not(.registry-choice-field) {

    padding: 5px 10px 6px;

    border: 0;

    border-radius: 0;

    background: transparent;

    box-shadow: none;

}

.registry-form-card>.registry-field:not(.registry-choice-field):hover {

    border-color: transparent;

    background: transparent;

    box-shadow: none;

}

.registry-form-card>.registry-field:not(.registry-choice-field):focus-within {

    border-color: transparent;

    background: transparent;

    box-shadow: none;

}

.registry-label {

    margin-bottom: 6px;

    color: #30415c;

    font-size: 11.5px;

    font-weight: 600;

    letter-spacing: 0.015em;

}

.registry-control {

    height: 39px;

    padding: 8px 11px;

    border-color: #cdd6e2;

    border-radius: 7px;

    background: #fbfdff;

    color: #172033;

    font-size: 12.5px;

    box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.025);

}

.registry-control:hover {

    border-color: #aebccc;

    background: #ffffff;

}

.registry-control:focus {

    border-color: #2386e8;

    background: #ffffff;

    box-shadow:

        0 0 0 3px rgba(8, 124, 240, 0.11),

        0 2px 7px rgba(8, 124, 240, 0.07);

}

.registry-control::placeholder {

    color: #94a0b2;

}

/* Server Type and Load Type use polished segmented selectors. */

.registry-choice-field,

#server_type {

    padding: 6px 10px 7px;

    border-radius: 11px;

}

/* Display Server Type and Load Type beside each other. */

#server_type {

    grid-column: 1;

    grid-row: 2;

    width: 100%;

}

#loadTypeSection {

    grid-column: 2;

    grid-row: 2;

    width: 100%;

}

.registry-choice-field .registry-label,

#server_type .registry-label {

    margin-bottom: 7px;

    color: #263957;

    font-size: 11.5px;

    font-weight: 600;

}

.registry-choice-group {

    min-height: 40px;

    padding: 4px;

    gap: 6px;

    border-color: #dce4ee;

    border-radius: 9px;

    background: #edf3fa;

    box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.035);

}

.registry-choice {

    position: relative;

    min-width: 132px;

    min-height: 30px;

    padding: 6px 14px;

    justify-content: center;

    border: 1px solid transparent;

    border-radius: 7px;

    background: transparent;

    color: #526077;

    font-size: 12px;

    font-weight: 600;

    transition:

        color 0.17s ease,

        background-color 0.17s ease,

        border-color 0.17s ease,

        box-shadow 0.17s ease;

}

.registry-choice:hover {

    background: rgba(255, 255, 255, 0.74);

    color: #1f4f86;

}

.registry-choice input {

    position: absolute;

    width: 1px;

    height: 1px;

    margin: -1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    clip-path: inset(50%);

    white-space: nowrap;

}

.registry-choice span {

    display: inline-flex;

    align-items: center;

    gap: 8px;

}

.registry-choice span::before {

    content: "";

    width: 12px;

    height: 12px;

    border: 2px solid #9ba9bc;

    border-radius: 50%;

    background: #ffffff;

    transition:

        border-color 0.17s ease,

        box-shadow 0.17s ease;

}

.registry-choice:has(input:checked) {

    border-color: #8ebff1;

    background: #ffffff;

    color: #0867c7;

    box-shadow: 0 2px 7px rgba(8, 124, 240, 0.12);

}

.registry-choice:has(input:checked) span::before {

    border-color: #087cf0;

    box-shadow: inset 0 0 0 3px #ffffff;

    background: #087cf0;

}

.registry-choice:has(input:focus-visible) {

    outline: 3px solid rgba(8, 124, 240, 0.2);

    outline-offset: 2px;

}

/* The actions read as one purposeful footer instead of floating buttons. */

.registry-form-actions {

    margin-top: 2px;

    padding: 17px 0 0;

    gap: 10px;

}

.registry-form-actions .registry-button {

    min-height: 39px;

    padding: 9px 17px;

    border-radius: 8px;

    font-size: 12px;

    box-shadow: 0 4px 10px rgba(31, 45, 70, 0.1);

}

.registry-form-actions .registry-button:hover {

    box-shadow: 0 7px 15px rgba(31, 45, 70, 0.15);

    transform: translateY(-1px);

}

.registry-form-actions .registry-button:active {

    box-shadow: 0 2px 6px rgba(31, 45, 70, 0.11);

    transform: translateY(0);

}

.registry-form-card .status-box {

    border-radius: 9px;

    box-shadow: 0 3px 9px rgba(31, 45, 70, 0.05);

}

@media (max-width: 900px) {

    .registry-form-panel {

        width: 94%;

    }

    .registry-form-card {

        gap: 5px 16px;

        padding: 20px 18px 18px;

    }

    .registry-form-card>.registry-field:not(.registry-choice-field) {

        padding: 5px 8px 6px;

    }

    #server_type {

        grid-column: 1 / -1;

        grid-row: 2;

    }

    #loadTypeSection {

        grid-column: 1 / -1;

        grid-row: 3;

    }

}

@media (max-width: 560px) {

    .registry-form-panel {

        width: 100%;

        padding: 12px;

    }

    .registry-form-card {

        padding: 21px 12px 17px;

        border-radius: 11px;

    }

    .registry-form-header h2 {

        font-size: 18px;

    }

    .registry-choice {

        width: 100%;

        min-width: 0;

        justify-content: flex-start;

    }

    .registry-form-actions .registry-button {

        flex: 1 1 150px;

    }

}

/* Saved server configurations: alternate card backgrounds */

/* First, third, fifth cards — light blue */

#configurationListContainer>.config-card:nth-child(odd) {

    background: #edf4ff;

    border: 1px solid #ceddf3;

}

/* Second, fourth, sixth cards — light lavender */

#configurationListContainer>.config-card:nth-child(even) {

    background: #f3edfa;

    border: 1px solid #dfd2ed;

}

/* MicroClips appearance layer. Existing layout, font sizes and interaction rules remain intact. */
body.registry-page {
    --registry-blue: #5264d9;
    --registry-blue-hover: #4051bd;
    --registry-dark: #5264d9;
    --registry-ink: #30364b;
    --registry-label: #30364b;
    --registry-muted: #69738b;
    --registry-border: #d6dded;
    --registry-gradient: linear-gradient(115deg, #f4f1fc, #eaf5fc);
    --registry-panel: #fafaff;
    --registry-shadow: 0 12px 32px rgba(85, 95, 148, .07);
    background: #f6f8fd;
    color: var(--registry-ink);
}

.registry-page .registry-hero__badge {
    background: rgba(255, 255, 255, .85);
    color: var(--registry-blue);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(85, 95, 148, .06);
}

.registry-page .registry-hero__description {
    color: #596176;
}

.registry-page :is(.registry-tab, .registry-button, .btn) {
    border-radius: 999px;
}

.registry-page .registry-tab {
    background: var(--registry-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(85, 95, 148, .05);
}

.registry-page .registry-tab:hover,
.registry-page .registry-tab:focus-visible {
    background: #e4dff8;
    color: var(--registry-blue-hover);
    box-shadow: 0 6px 18px rgba(85, 95, 148, .08);
}

.registry-page :is(.registry-button--primary, .btn-primary, .registry-button--dark) {
    background: var(--registry-blue);
    color: #fff;
    box-shadow: 0 6px 16px rgba(82, 100, 217, .14);
}

.registry-page :is(.registry-button--primary, .btn-primary, .registry-button--dark):hover:not(:disabled) {
    background: var(--registry-blue-hover);
    color: #fff;
    box-shadow: 0 8px 20px rgba(82, 100, 217, .18);
}

.registry-page .registry-button--success {
    background: #e7f5ed;
    color: #28734c;
    box-shadow: 0 3px 12px rgba(85, 95, 148, .04);
}

.registry-page .registry-button--success:hover:not(:disabled) {
    background: #d8eee2;
    color: #22653f;
}

.registry-page :is(.registry-button--danger, .btn-danger) {
    background: #fcebed;
    color: #ab3c4f;
    box-shadow: none;
}

.registry-page :is(.registry-button--danger, .btn-danger):hover:not(:disabled) {
    background: #f8dde3;
    color: #932c3e;
}

.registry-page .registry-form-card {
    background: #ffffff;
    border-color: #fff;
    border-radius: 24px;
    box-shadow: 0 14px 38px rgba(85, 95, 148, .08);
}

.registry-page .registry-tools-card {
    background: #fafaff;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(85, 95, 148, .06);
}

.registry-page :is(.registry-form-header h2, .registry-tools-title, .configuration-list::before) {
    color: var(--registry-ink);
}

.registry-page .registry-form-header p {
    color: var(--registry-muted);
}

.registry-page .registry-label,
.registry-page .registry-choice-field .registry-label,
.registry-page #server_type .registry-label {
    color: var(--registry-label);
}

.registry-page .registry-control {
    background: #fff;
    color: var(--registry-ink);
    border-color: var(--registry-border);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(85, 95, 148, .025);
}

.registry-page .registry-control:hover {
    background: #fff;
    border-color: #aab6e1;
}

.registry-page .registry-control:focus {
    background: #fff;
    border-color: #8e9bdd;
    box-shadow: 0 0 0 3px rgba(82, 100, 217, .12);
}

.registry-page .registry-control::placeholder {
    color: #747d93;
}

.registry-page .registry-choice-group {
    background: #f0eef9;
    border-color: #dedaf0;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(85, 95, 148, .035);
}

.registry-page .registry-choice {
    color: #69738b;
    border-radius: 10px;
}

.registry-page .registry-choice:hover {
    background: #fff;
    color: var(--registry-blue);
}

.registry-page .registry-choice:has(input:checked) {
    background: #fff;
    color: var(--registry-blue);
    border-color: #b7c1e5;
    box-shadow: 0 3px 10px rgba(82, 100, 217, .09);
}

.registry-page .registry-choice:has(input:checked) span::before {
    background: var(--registry-blue);
    border-color: var(--registry-blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.registry-page .registry-choice:has(input:focus-visible) {
    outline-color: #919edf;
}

.registry-page .registry-form-actions .registry-button {
    border-radius: 999px;
}

.registry-page .configuration-list {
    background: linear-gradient(120deg, #f4f1fc, #eaf5fc);
    border-radius: 24px;
    box-shadow: var(--registry-shadow);
}

.registry-page #configurationListContainer>.config-card:nth-child(odd) {
    background: linear-gradient(145deg, #fff, #edf7fc);
    border-color: #dce8f1;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(85, 95, 148, .06);
}

.registry-page #configurationListContainer>.config-card:nth-child(even) {
    background: linear-gradient(145deg, #fff, #f4f1fc);
    border-color: #dedaf0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(85, 95, 148, .06);
}

.registry-page .config-field :is(input, select, textarea) {
    background: #f8f8fd;
    color: #596176;
    border-color: #e0e4f1;
    border-radius: 10px;
}

.registry-page .tool-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(85, 95, 148, .05);
}

.registry-page .tool-name {
    color: var(--registry-ink);
}

.registry-page .tool-description {
    color: var(--registry-muted);
}

.registry-page .mcp-modal-dialog {
    background: #fff;
    color: var(--registry-ink);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(61, 70, 110, .2);
}

.registry-page .mcp-modal-header {
    border-color: #e0e4f1;
}

.registry-page .mcp-modal-header h2 {
    color: var(--registry-ink);
}

.registry-page .mcp-modal-body {
    color: #596176;
}

.registry-page .mcp-modal-close {
    background: #efedfc;
    color: var(--registry-blue);
    border-radius: 10px;
}

.registry-page .mcp-modal-close:hover {
    background: #e4dff8;
    color: var(--registry-blue-hover);
}

.registry-page :is(button, input, select, textarea):focus-visible {
    outline-color: #919edf;
}