/* API commercial sections. Responsive rules belong in api-media-page-style.css. */
.smb-api-volume {
    background: var(--smb-burgundy);
    color: #fff;
}

.smb-volume-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.smb-volume-intro .smb-eyebrow {
    color: #f2b8bf;
}

.smb-volume-intro h2 {
    max-width: 540px;
}

.smb-volume-intro > p:not(.smb-eyebrow) {
    color: #e8c9d0;
    margin-top: 26px;
    max-width: 540px;
}

.smb-volume-card {
    padding: 38px;
    background: #fff9f6;
    color: var(--smb-navy);
    border: 1px solid #ead9d7;
    border-radius: 14px;
}

.smb-volume-card label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #65565a;
}

.smb-volume-card output {
    display: block;
    font-size: clamp(38px, 3.7vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    margin-top: 18px;
}

.smb-volume-card .smb-volume-unit {
    color: #71676a;
    font-size: 13px;
    margin-top: 7px;
}

.smb-volume-card input[type="range"] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    margin: 22px 0 0;
    accent-color: var(--smb-red);
    cursor: pointer;
}

.smb-volume-limits {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #76616a;
    font-size: 12px;
}

.smb-volume-presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 22px 0 28px;
}

.smb-volume-presets button {
    background: transparent;
    color: #6b4c56;
    border: 1px solid #d8c4c9;
    border-radius: 5px;
    min-height: 44px;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
}

.smb-volume-presets button[aria-pressed="true"] {
    background: var(--smb-navy);
    color: #fff;
    border-color: var(--smb-navy);
}

.smb-volume-card h3 {
    font-size: 20px;
    letter-spacing: -0.025em;
    line-height: 1.45;
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid #e4d4d7;
}

.smb-volume-card .smb-button {
    width: 100%;
}

.smb-site a.smb-volume-email {
    display: block;
    color: #6f2435;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-align: center;
    margin-top: 18px;
    overflow-wrap: anywhere;
}

.smb-volume-card .smb-volume-email-note {
    font-size: 13px;
    color: #73656a;
    line-height: 1.65;
    margin-top: 22px;
}

.smb-volume-card input:focus-visible,
.smb-volume-presets button:focus-visible {
    outline: 2px solid var(--smb-red);
    outline-offset: 4px;
}

/* Sandbox request examples. */
.smb-request-environment {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 28px;
    padding: 20px 0;
    margin-bottom: 24px;
    border-block: 1px solid #34415a;
    font-size: 14px;
}

.smb-request-environment-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #fff;
}

.smb-request-environment-label > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a9e4c9;
}

.smb-request-environment > code {
    color: #bfd3f0;
    overflow-wrap: anywhere;
}

.smb-request-environment > a {
    margin-left: auto;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.smb-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.smb-request-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    background: #142037;
    border-color: #39465e;
}

.smb-request-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 24px;
}

.smb-request-number {
    color: #f3b8bf;
    font: 14px Consolas, monospace;
}

.smb-request-heading h3 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.smb-request-toolbar {
    background: #1c2a43;
    padding: 12px 20px;
    border-block: 1px solid #39465e;
    letter-spacing: 0;
}

.smb-request-toolbar > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.smb-request-toolbar code {
    font: 12px/1.5 Consolas, monospace;
    overflow-wrap: anywhere;
}

.smb-request-method {
    background: #263f4b;
    color: #bcebd0;
    border: 1px solid #49616c;
    border-radius: 4px;
    padding: 4px 7px;
    font-size: 11px;
    font-weight: 700;
}

.smb-request-toolbar button {
    flex-shrink: 0;
    font-size: 12px;
    cursor: pointer;
}

.smb-request-toolbar button:hover {
    background: #fff;
    color: #142037;
}

.smb-site .smb-request-card pre {
    padding: 28px 24px;
    font: 13px/1.95 Consolas, monospace;
    scrollbar-width: thin;
    scrollbar-color: #62718c #142037;
}

.smb-request-card pre::-webkit-scrollbar {
    height: 6px;
}

.smb-request-card pre::-webkit-scrollbar-track {
    background: #142037;
}

.smb-request-card pre::-webkit-scrollbar-thumb {
    background: #62718c;
    border-radius: 4px;
}

.smb-request-note {
    padding: 22px 24px;
    border-top: 1px solid #39465e;
    background: #19263d;
}

.smb-site .smb-request-note p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1dbea;
}

.smb-request-note > span {
    display: block;
    font: 12px/1.7 Consolas, monospace;
    color: #a9e4c9;
    margin-top: 12px;
}

.smb-request-production {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 20px;
    margin-top: 32px;
    padding: 26px 0 0;
    border-top: 1px solid #34415a;
}

.smb-request-production > span {
    color: #f3b8bf;
}

.smb-request-production h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.smb-site .smb-request-production p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 720px;
}

.smb-request-production code {
    color: #fff;
    overflow-wrap: anywhere;
}

.smb-request-production > a {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 5px;
    padding-block: 8px;
}

.smb-request-lab :focus-visible {
    outline: 2px solid #a9e4c9;
    outline-offset: 4px;
}
