/* Shared small-screen layout for public, member and administrative pages. */
main,.container,.card,form,fieldset,.feature-grid>*,.subscription-grid>*,.auth-grid>*,.catalog-layout>*{min-width:0}
img{max-width:100%;height:auto}input,select,textarea{max-width:100%;min-width:0}fieldset{min-inline-size:0}
.original-content{overflow-wrap:anywhere;max-width:100%}.original-content table{display:block;max-width:100%;overflow-x:auto}
.table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}pre{max-width:100%;overflow:auto}code{overflow-wrap:anywhere}
@media(max-width:1100px){
 .nav-wrap{position:relative;min-height:76px;gap:12px}.header .brand{min-width:0;font-size:15px;letter-spacing:0}.header .brand-logo{width:42px;flex-shrink:0}.header .brand span{min-width:0}.header .brand small{display:block;font-size:10px;line-height:1.4}
 .menu-toggle{display:block;min-width:44px;min-height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink)}
 .header nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;border:1px solid var(--line);border-radius:0 0 10px 10px;padding:16px;max-height:calc(100dvh - 90px);overflow-y:auto;align-items:stretch;flex-direction:column;gap:4px;box-shadow:0 12px 24px #0001}
 .header nav.open{display:flex}.header nav>a,.header .nav-menu>summary{font-size:14px;min-height:44px;padding:12px 8px}.header .nav-dropdown{position:static;box-shadow:none;border:0;border-left:2px solid var(--line);margin:4px 0 8px 8px;min-width:0;max-width:100%;border-radius:0}.header .nav-dropdown::before{display:none}.header .nav-dropdown a{font-size:14px;min-height:44px;white-space:normal}.header-logout button{width:100%;min-height:44px}.header .nav-menu:last-child .nav-dropdown{left:auto;right:auto}
}
@media(max-width:800px){
 .container,.nav-wrap{width:calc(100% - 32px)}.section{padding-top:28px;padding-bottom:28px}.page-heading{margin-bottom:22px}.page-heading h1,.hero h1{font-size:clamp(25px,7vw,36px);overflow-wrap:anywhere}.page-heading p{font-size:14px}.eyebrow{letter-spacing:.08em;flex-wrap:wrap}
 .card{padding:20px}.feature-grid,.subscription-grid,.auth-grid,.admin-plan-grid,.form-grid{grid-template-columns:minmax(0,1fr)}.feature-grid{gap:14px}.subscription-grid aside{position:static}.button{min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:12px 16px}.actions{align-items:stretch}.actions>*{max-width:100%}
 input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{font-size:16px!important;min-height:44px}input[type=checkbox],input[type=radio]{width:20px;height:20px;flex-shrink:0}.check{align-items:flex-start;line-height:1.6}.inline-form{gap:12px}.inline-form label{min-width:0;flex-basis:100%}.inline-form .button{width:100%}
 .searchbar{gap:12px}.searchbar label,.searchbar .search-field{flex:1 1 100%;min-width:0}.searchbar .button{width:100%}.table-wrap:not(.procedure-branch .table-wrap) table{min-width:520px}th,td{padding:12px;font-size:13px}.pagination{flex-wrap:wrap;gap:16px}.tabs{gap:16px;overflow-wrap:anywhere}
 .specialty-sidebar{padding:16px}.specialty-sidebar>nav{max-height:280px}.specialty-tree summary{padding:7px 0;font-size:13px}.specialty-tree a{font-size:13px;min-height:40px;padding:9px 6px}.specialty-tree summary>a{display:inline-block;min-height:32px;padding:4px 6px}.specialty-tree .specialty-all{font-size:12px}.catalog-results .procedure-branch td,.catalog-results .procedure-branch th{font-size:12px;padding:9px 6px}.procedure-branch>summary{min-height:44px;display:list-item;font-size:13px;padding:12px 8px}.procedure-children{padding:0 3px}
 .procedure-heading h1{font-size:22px}.procedure-code{font-size:16px}.procedure-price-dialog{max-height:calc(100dvh - 32px);width:calc(100% - 32px);max-width:460px}.dialog-close{min-height:44px;min-width:44px}.procedure-disclosure summary,.terms summary{min-height:44px;padding-top:10px;padding-bottom:10px}.procedure-dates{grid-template-columns:minmax(0,1fr)}
 .quote-card dl{grid-template-columns:minmax(0,1fr) auto;gap:12px}.quote-card dt{overflow-wrap:anywhere}.profile-list{overflow-wrap:anywhere}.profile-list dd{margin-left:0}.secret{word-break:break-all}.original-content{font-size:14px}.excel-download-panel{align-items:stretch}.excel-download-panel>button{width:100%}.member-home-primary{padding:24px}.footer-grid{gap:20px}.footer-grid .brand{font-size:16px;max-width:100%;overflow-wrap:anywhere}.footer-note{line-height:1.7}
}
@media(max-width:380px){.container,.nav-wrap{width:calc(100% - 24px)}.header .brand{font-size:13px;gap:8px}.header .brand-logo{width:36px}.header .brand small{font-size:9px}.card{padding:16px}.procedure-branch th:first-child{width:72px}.procedure-branch th:last-child{width:42px}.procedure-unit{min-width:0}.admin-stats{grid-template-columns:minmax(0,1fr)}}

/* Excel and API overview */
.integration-overview{max-width:1080px}.integration-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.integration-option{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.integration-option h2,.integration-option p{margin:0}.integration-option .button{margin-top:auto}.integration-option .muted{padding-bottom:12px}.integration-label{font-size:12px;font-weight:700;letter-spacing:.08em;color:#52657a}.integration-guide{font-size:14px}.integration-account-note{margin-top:24px;color:#52657a;line-height:1.7}@media(max-width:680px){.integration-options{grid-template-columns:minmax(0,1fr);gap:16px}.integration-option .button{width:100%;text-align:center}}

.integration-option{gap:16px}.integration-option .muted{padding-bottom:24px}.integration-option .integration-guide{margin-top:8px}.integration-account-note{margin-top:32px}

.download-animation{position:relative;width:88px;height:88px;margin:0 auto 24px;display:grid;place-items:center}.download-animation .download-spinner{position:absolute;inset:0;width:88px;height:88px;box-sizing:border-box;border-width:5px;border-top-color:#247663;border-right-color:#86b7a7}.download-file-icon{font-size:13px;font-weight:700;color:#246451;background:#edf7f2;border:1px solid #b6d9c8;border-radius:8px;padding:14px 7px}.download-progress{height:5px;max-width:240px;margin:0 auto 24px;border-radius:8px;background:#e4efea;overflow:hidden}.download-progress span{display:block;height:100%;width:40%;border-radius:inherit;background:#36866d;animation:excel-progress 1.4s ease-in-out infinite}@keyframes excel-progress{from{transform:translateX(-110%)}to{transform:translateX(360%)}}@media(prefers-reduced-motion:reduce){.download-progress span{animation:none;margin:auto}}

/* Explicitly requested loading motion, scoped to the Excel dialog. */
#excel-download-dialog[open] .download-spinner{animation:download-spin 1.2s linear infinite!important}#excel-download-dialog[open] .download-progress span{animation:excel-progress 1.8s ease-in-out infinite!important}

.subscription-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;border-left:4px solid #36866d}.subscription-notice h2{font-size:18px;margin:0 0 10px}.subscription-notice p{margin:6px 0;line-height:1.6}.subscription-notice-attention{border-left-color:#b77a20;background:#fffaf0}.subscription-notice .actions{flex-wrap:wrap;gap:12px}@media(max-width:720px){.subscription-notice{align-items:stretch;flex-direction:column}.subscription-notice .actions{display:flex;flex-direction:column}}

.member-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.member-access-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.member-access-card h2{font-size:19px;margin:0}.member-access-card p{margin:0;line-height:1.6}.member-access-card .section-title{width:100%;gap:12px;flex-wrap:wrap;margin:0}.member-access-card .button{margin-top:auto}.member-access-card .muted{font-size:13px}#excel-access{scroll-margin-top:100px}@media(max-width:720px){.member-access-grid{grid-template-columns:minmax(0,1fr)}}

.member-access-grid .excel-download-panel{margin-bottom:0;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap;padding:24px}.member-access-grid .excel-download-panel>div{width:100%}.member-access-grid .excel-download-panel .pill{display:inline-block;margin:8px 0 14px}.member-access-grid .excel-download-panel [role=status]{flex-basis:auto}.member-access-grid .excel-download-panel #excel-download{margin-top:auto}

.header .brand small{font-size:16px;line-height:1.4;font-weight:650}@media(max-width:600px){.header .brand small{font-size:13px}}

.header .brand{font-weight:400;flex-shrink:0}.header .brand>span{white-space:nowrap}.header .brand small{white-space:nowrap;max-width:none;font-size:15px;letter-spacing:0;line-height:1.4}@media(max-width:600px){.header .brand{flex-shrink:1}.header .brand small{font-size:clamp(8.5px,2.55vw,13px)}}

@media(max-width:1100px){.header .nav-wrap{display:flex;flex-wrap:wrap;gap:10px}.header .brand{flex:1 1 0;min-width:0;gap:10px;font-weight:400}.header .brand>span{display:block;flex:1 1 0;min-width:0;white-space:nowrap;font-size:clamp(13px,3vw,20px)}.header .brand-logo{width:42px;height:42px;flex:0 0 42px}.header .brand small{font-size:clamp(8px,2.5vw,15px);white-space:nowrap;max-width:none;letter-spacing:0;line-height:1.5}.header .menu-toggle{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;margin-left:0}.header .nav-wrap>nav{flex-basis:100%;min-width:0}}
@media(max-width:360px){.header .brand{gap:7px}.header .brand-logo{width:34px;height:34px;flex-basis:34px}.header .nav-wrap{gap:7px}.header .brand small{font-size:8px}}

.footer-grid .brand{font-weight:400;min-width:0}.footer-grid .brand>span{min-width:0;white-space:nowrap}.footer-grid .brand small{font-size:15px;font-weight:650;white-space:nowrap;max-width:none;letter-spacing:0}.hero .institution-title{font-weight:400;font-size:clamp(23px,2.7vw,38px);line-height:1.5}.institution-title>span,.institution-title>em{display:block;white-space:nowrap}.hero .institution-title em{font-size:clamp(12px,1.8vw,24px);font-weight:650;font-style:normal}@media(max-width:600px){.footer-grid .brand{gap:8px}.footer-grid .brand-logo{width:38px;height:38px}.footer-grid .brand small{font-size:clamp(10px,2.7vw,13px)}.hero .institution-title em{font-size:clamp(12px,3.6vw,20px)}}

/* Vertical page sections: grid children keep their existing gap-based layout. */
main .container.section{--section-stack-space:20px}
main .container.section > .card + .card,
main .container.section > .card + .table-wrap,
main .container.section > .table-wrap + .card,
main .container.section > .notice + .card,
main .container.section > .card + .notice{margin-top:var(--section-stack-space)}
main .container.section > .card + h2,
main .container.section > .table-wrap + h2,
main .container.section > .pagination + h2{margin-top:28px;margin-bottom:12px}
main .container.section > .card > h2:first-child{margin-top:0}
main .container.section > .card > p:last-child{margin-bottom:0}
#option-history > article + article{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
#option-history > article h3{margin-bottom:8px;line-height:1.5}
@media(max-width:600px){
 main .container.section{--section-stack-space:14px}
 main .container.section > .card + h2,
 main .container.section > .table-wrap + h2,
 main .container.section > .pagination + h2{margin-top:22px;margin-bottom:10px}
 #option-history > article + article{margin-top:14px;padding-top:12px}
}

@media(max-width:600px){.hero-visual:before{inset:-10px}}

/* Shared content action spacing: excludes navigation, editor toolbars and table cells. */
main :is(.card,article,section)>:is(.table-wrap,.form-grid,fieldset)+:is(button,a.button,form,.actions){margin-top:16px}
main :is(.card,article,section)>:is(button,a.button)+:is(p,form,.table-wrap,.form-grid){margin-top:16px}
main form:not(.toolbar):not(.header-logout)>:is(label,.form-grid,fieldset,textarea,input:not([type=hidden]),select)+:is(button,a.button){margin-top:12px}
main :is(.card,article,section)>form+form{margin-top:20px}
main :is(.card,article,section)>form+:is(p,.table-wrap){margin-top:16px}
main :is(.actions,.addon-form-actions){gap:12px;row-gap:12px;flex-wrap:wrap}
main .actions>form{margin:0}
main .toolbar{gap:12px;row-gap:14px;align-items:end}
main .toolbar>label{margin-bottom:0}
main .toolbar>button{flex-shrink:0}
main :is(.card,article,section)>button+button,main form>button+button{margin-inline-start:8px}
@media(max-width:600px){
 main :is(.actions,.addon-form-actions){gap:10px}
 main .toolbar>label{flex:1 1 180px;min-width:0}
 main .toolbar>label :is(input,select){width:100%}
 main :is(.card,article,section)>:is(.table-wrap,.form-grid,fieldset)+:is(button,a.button,form,.actions){margin-top:14px}
}

/* Totals and standalone text must not touch the following action form. */
main .card > :is(strong,dl,ul,ol) + form { margin-top: 16px; }
main .subscription-quote-total { margin: 16px 0 0; }
main .subscription-quote-actions { margin-top: 16px; }

/* Amount summaries and their actions share one vertical rhythm. */
main .card > :is(p,dl,output,strong,.quote-total,.subscription-quote-total) + :is(form,button,a.button,.actions) { margin-top:16px; }
main :is(form.card,.card > form):not(.toolbar) > button { margin-block-start:16px; }
main :is(form.card,.card > form):not(.toolbar) > button + button { margin-inline-start:8px; }
main .quote-card > :is(strong,output) { display:block; margin-block:12px 16px; }
main .subscription-quote-actions { margin-block-start:16px; }
@media(max-width:600px){
 main .card > :is(p,dl,output,strong,.quote-total,.subscription-quote-total) + :is(form,button,a.button,.actions) { margin-top:16px; }
}

/* Keep API selection, request and response in reading order on every screen. */
.api-examples .api-example-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
.api-examples .api-example-grid > .card { min-width:0; margin:0; }
.api-examples .api-example-selection .form-grid { grid-template-columns:minmax(0,1fr); }
.api-examples .api-example-grid pre { max-width:100%; overflow:auto; }

.api-live-result { margin-top:20px; padding-top:16px; border-top:1px solid #dbe3ec; scroll-margin-top:110px; }
.api-live-loading:not([hidden]) { display:inline-block; width:22px; height:22px; border:3px solid #dbe3ec; border-top-color:#176c75; border-radius:50%; animation:api-result-spin .8s linear infinite; }
@keyframes api-result-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce){.api-live-loading:not([hidden]){animation:none;}}

/* Three coordinated API example panels; retain reading order on small screens. */
.api-examples .api-workbench { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; align-items:stretch; }
.api-examples .api-workbench > .card { margin:0; min-width:0; }
.api-examples .api-workbench .api-example-grid { display:contents; }
.api-examples .api-workbench .card { padding:20px; }
.api-examples .api-workbench .section-title { gap:12px; flex-wrap:wrap; }
.api-examples .api-workbench pre { max-height:420px; overflow:auto; font-size:12px; line-height:1.6; }
.api-examples .api-workbench label { margin-bottom:14px; }
.api-examples .api-workbench small { display:block; line-height:1.5; margin-top:6px; }
.api-examples .api-workbench code { overflow-wrap:anywhere; }
@media(min-width:1150px){
 .api-examples .api-workbench { grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1.1fr); }
 .api-examples .api-workbench pre { height:360px; max-height:360px; }
}

.api-examples .api-workbench { width:100%; min-width:0; }
.api-examples .api-workbench .section-title { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; min-height:44px; margin:0 0 16px; gap:10px; }
.api-examples .api-workbench .section-title h2 { margin:0; min-width:0; font-size:18px; line-height:1.35; overflow-wrap:anywhere; }
.api-examples .api-workbench .section-title button { flex:0 0 auto; margin:0; }
.api-examples .api-workbench .card { min-width:0; max-width:100%; }
.api-examples .api-workbench pre { box-sizing:border-box; width:100%; min-width:0; max-width:100%; margin:0; white-space:pre; overflow:auto; }
.api-examples .api-workbench :is(input,select) { min-width:0; max-width:100%; }
@media(max-width:600px){
 .api-examples .api-workbench .card { padding:16px; }
 .api-examples .api-workbench .section-title h2 { font-size:16px; }
 .api-examples .api-workbench pre { max-height:320px; }
}

.api-live-result { background:#f0f6fa; border:1px solid #c6dbe7; border-radius:12px; padding:20px; margin-top:20px; }
.api-live-result h3 { margin:0 0 12px; }
.api-live-result #api-live-status:not(:empty) { margin:0 0 12px; font-size:15px; font-weight:600; line-height:1.6; }
.api-live-result.has-error { background:#fff5e5; border-color:#e5ae52; border-inline-start:5px solid #bd790d; }
.api-live-result.has-error #api-live-status { color:#784b08; }
.api-live-result pre { min-width:0; max-width:100%; overflow:auto; }
@media(max-width:600px){.api-live-result{padding:16px;}}

/* API code stays readable without horizontal panning or empty card bottoms. */
.api-examples .api-workbench .api-example-grid > .card { display:flex; flex-direction:column; }
.api-examples .api-workbench pre { white-space:pre-wrap; overflow-wrap:anywhere; word-break:normal; tab-size:2; }
@media(min-width:1150px){
 .api-examples .api-workbench .api-example-grid > .card { position:relative; min-height:440px; }
 .api-examples .api-workbench .api-example-grid > .card > pre { position:absolute; inset:80px 20px 20px; width:auto; height:auto; max-height:none; }
}
@media(max-width:1149px){
 .api-examples .api-workbench pre { height:auto; max-height:360px; }
}

.api-examples .api-workbench .api-search-help { margin:8px 0 12px; padding:0; border:0; }
.api-examples .api-workbench .api-search-help summary { cursor:pointer; padding:6px 0; font-size:13px; color:#426779; }
.api-examples .api-workbench .api-search-help p { font-size:12px; line-height:1.6; margin:8px 0; }
.api-examples .api-workbench #api-example-description { font-size:13px; line-height:1.5; margin:12px 0; }
@media(min-width:1150px){.api-examples .api-workbench .api-example-grid > .card { min-height:380px; }}

.api-live-fields { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,2fr); gap:16px; align-items:start; }
.api-live-fields > label,.api-live-fields #api-live-paging label { margin:0; min-width:0; }
.api-live-fields #api-live-paging { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
.api-live-fields #api-live-paging[hidden] { display:none; }
.api-live-fields :is(input,select) { width:100%; min-width:0; }
@media(max-width:700px){
 .api-live-fields,.api-live-fields #api-live-paging { grid-template-columns:minmax(0,1fr); gap:12px; }
}

.api-key-create-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(130px,.65fr) minmax(0,1.4fr); gap:16px; align-items:start; }
.api-key-create-fields > label { margin:0; min-width:0; }
.api-key-create-fields :is(input,textarea) { width:100%; min-width:0; }
.api-key-create-fields textarea { min-height:76px; resize:vertical; }
.api-key-create-fields small { display:block; font-size:12px; line-height:1.5; margin-top:6px; }
#api-create-key > button { margin-top:16px; }
@media(max-width:700px){.api-key-create-fields{grid-template-columns:minmax(0,1fr);gap:12px;}}
/* Compact API key list and collapsible IP editor. */
#api-key-list table { width:100%; table-layout:fixed; }
#api-key-list :is(th,td) { padding:10px 12px; font-size:13px; vertical-align:top; overflow-wrap:anywhere; }
#api-key-list th { white-space:normal; line-height:1.4; vertical-align:middle; }
#api-key-list th:last-child { width:240px; }
#api-key-list .api-key-actions > button { margin:0 6px 6px 0; padding:7px 10px; }
#api-key-list .api-key-ip-editor { margin-top:8px; padding:10px; background:#f0f6fa; border:1px solid #cfdee7; border-radius:8px; }
#api-key-list .api-key-ip-editor p { margin:0 0 8px; font-size:12px; }
#api-key-list .api-key-ip-editor p:empty { display:none; }
#api-key-list .api-key-ip-editor textarea { box-sizing:border-box; width:100%; min-width:0; min-height:68px; margin:0 0 10px; resize:vertical; }
#api-key-list .api-key-ip-editor button { margin:0 6px 6px 0; }
@media(max-width:900px){
 #api-key-list .table-wrap { overflow:visible; border:0; }
 #api-key-list table,#api-key-list tbody { display:block; min-width:0; }
 #api-key-list thead { display:none; }
 #api-key-list tr { display:block; margin-bottom:12px; border:1px solid #d6e1e8; border-radius:8px; padding:8px; }
 #api-key-list td { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:10px; padding:6px; border:0; }
 #api-key-list td[data-label]::before { content:attr(data-label); font-weight:600; }
 #api-key-list td.api-key-actions,#api-key-list td[colspan] { display:block; }
}
.api-key-test-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; margin:20px 0; }
.api-key-test-grid > .card { min-width:0; margin:0; }
.api-key-test-grid .api-key-create-fields { grid-template-columns:minmax(0,1fr) minmax(90px,.6fr); gap:12px; }
.api-key-test-grid .api-key-create-fields > label:last-child { grid-column:1/-1; }
.api-key-test-grid .api-live-fields { grid-template-columns:minmax(0,1fr); gap:12px; }
.api-key-test-grid .actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.api-key-test-grid .actions > button { margin:0; }
#api-key-list .api-key-ip-editor { max-width:100%; box-sizing:border-box; }
@media(max-width:1000px){ .api-key-test-grid { grid-template-columns:minmax(0,1fr); } }
@media(max-width:600px){ .api-key-test-grid .api-key-create-fields { grid-template-columns:minmax(0,1fr); } }

/* Independent card flow, including the newly-created-key notification. */
.api-key-test-grid > .card { display:block; align-self:start; height:auto; }
.api-key-test-grid #api-create-key { display:block; margin-bottom:0; }
.api-key-test-grid .api-key-create-fields { margin-bottom:20px; }
.api-key-test-grid #api-create-key > button { margin:0; min-height:44px; }
.api-key-test-grid #api-create-status:empty { display:none; }
.api-key-test-grid .actions { margin:16px 0 0; padding:0; gap:12px; align-items:center; }
.api-key-test-grid .actions > button { min-height:44px; margin:0; }
.api-key-test-grid #api-live-result { margin:20px 0 0; }
#api-new-key { margin:20px 0 0; }
#api-new-key > input { display:block; width:100%; min-width:0; }
#api-new-key > button { display:inline-flex; margin:12px 0 0; }
@media(max-width:600px){
 .api-key-test-grid .actions { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
 .api-key-test-grid .actions > button, .api-key-test-grid #api-create-key > button { width:100%; }
}
/* Equal desktop cards without pushing their actions to the bottom. */
@media(min-width:1001px){
 .api-key-test-grid { align-items:stretch; }
 .api-key-test-grid > .card { align-self:stretch; }
}
.api-key-test-grid #api-live-response { box-sizing:border-box; width:100%; min-width:0; max-width:100%; max-height:320px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; overscroll-behavior:contain; }
.api-key-test-grid #api-live-status { overflow-wrap:anywhere; }
@media(max-width:600px){
 .api-key-test-grid #api-live-response { max-height:260px; max-height:min(260px,45dvh); padding:12px; }
}
.api-sent-request { margin-top:20px; padding:16px; border:1px solid var(--line); border-radius:10px; min-width:0; }
.api-sent-request .section-title { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 12px; }
.api-sent-request h3 { margin:0; font-size:16px; }
.api-sent-request p { font-size:12px; }
.api-sent-request pre { max-height:180px; white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto; }

#api-full-status:not(:empty) { background:#eef5f6; border-inline-start:4px solid #287080; border-radius:6px; padding:12px 16px; margin:14px 0 8px; font-weight:600; }

.member-access-grid .member-access-card .section-title{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px 12px}
.member-access-grid .member-access-card .section-title :is(h2,.pill){margin:0}
.member-access-grid .member-access-card{padding:24px}
