.api-sandbox {
    color: #253f35;
    max-width: 1320px;
    padding-top: 28px;
    padding-bottom: 56px;
}
.api-sandbox > .text-center {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 60px);
    background: #173f3b;
    border-radius: 24px;
    text-align: left;
}
.api-sandbox > .text-center::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    right: -105px;
    top: -145px;
    border: 1px solid rgba(232, 243, 227, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(232, 243, 227, .045), 0 0 0 120px rgba(232, 243, 227, .025);
    pointer-events: none;
}
.api-sandbox .sandbox-eyebrow,
.api-login-card .portal-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #d3e89e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.api-sandbox > .text-center h1 {
    max-width: 700px;
    color: #fffefa;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.05em;
}
.api-sandbox > .text-center p { color: #d9e8df; }
.api-sandbox > .text-center span.bg-green-100 {
    color: #173f3b;
    background: #d3e89e;
    font-size: 12px;
    font-weight: 800;
}
.api-sandbox .sandbox-jump-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.api-sandbox .sandbox-jump-links a {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid rgba(239, 248, 231, .36);
    border-radius: 999px;
    color: #f2f8ef;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}
.api-sandbox .sandbox-jump-links a:hover { background: rgba(255,255,255,.12); }
.api-sandbox > .bg-blue-50 {
    padding: 20px 24px;
    border: 1px solid #dce7d3;
    border-left: 4px solid #9ab565;
    border-radius: 14px;
    background: #eef2e7;
}
.api-sandbox > .bg-blue-50 svg,
.api-sandbox > .bg-blue-50 p { color: #31574a; }
.api-sandbox > .bg-white,
.api-sandbox > .bg-gray-50 {
    border: 1px solid #dfe5dc;
    border-radius: 20px;
    background: #fffefa;
    box-shadow: 0 12px 28px rgba(25, 55, 47, .035);
    scroll-margin-top: calc(var(--api-header-height) + 20px);
}
.api-sandbox > .bg-white h2,
.api-sandbox > .bg-gray-50 h2 { color: #173f3b; letter-spacing: -.04em; }
.api-sandbox > .bg-white .bg-gray-50 { background: #f2f3ed; border: 1px solid #e6e9e0; border-radius: 13px; }
.api-sandbox .bg-gray-900 { background: #173f3b; color: #d3e89e; border-radius: 12px; }
.api-sandbox input:not([type='checkbox']),
.api-sandbox select,
.api-sandbox textarea {
    border-radius: 10px;
    border-color: #cbd8cd;
    background: #fff;
}
.api-sandbox :is(input, select, textarea):focus { border-color: #315e51; --tw-ring-color: #315e51; }
.api-sandbox form button[type='submit'] {
    border-radius: 999px;
    background: #173f3b;
    font-weight: 700;
    padding: 11px 22px;
}
.api-sandbox form button[type='submit']:hover { background: #285b55; }
.api-sandbox #clearDataBtn { border-radius: 999px; background: #a94734; padding: 11px 22px; font-weight: 700; }
.api-sandbox #clearDataBtn:hover { background: #8c3829; }
.api-sandbox :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #d94d2c; outline-offset: 3px; }

.api-login-page { background: #f6f5f1; }
.api-login-card { padding: clamp(28px, 4vw, 44px); background: #fffefa; }
.api-login-card .portal-eyebrow { color: #31594a; }
.api-login-card h1 {
    color: #173f3b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.12;
}
.api-login-card input:not([type='checkbox']):focus { border-color: #315e51; --tw-ring-color: #315e51; }
.api-login-card input[type='checkbox'] { color: #173f3b; --tw-ring-color: #315e51; }
.api-login-card :is(input, button):focus-visible { outline: 3px solid #d94d2c; outline-offset: 3px; }

@media (max-width: 640px) {
    .api-sandbox { padding: 14px 10px 36px; }
    .api-sandbox > .text-center { padding: 32px 24px; }
    .api-sandbox > .text-center h1 { font-size: 40px; }
    .api-sandbox > .bg-white,
    .api-sandbox > .bg-gray-50 { padding: 22px 18px; }
}
