/* mock-website offline overrides */
html, body { overflow: auto !important; pointer-events: auto !important; cursor: auto !important; }
body { padding-right: 0 !important; }
/* Hide cookie consent banner (Shortbread) */
[id*="awsccc"], [class*="awsccc"], [id*="shortbread"], [class*="shortbread"],
#awsccc-cb-content, #awsccc-cb-modal, #awsccc-cs-modal,
.awsccc-cb-container, .awsccc-cs-container,
[data-cookie-consent], [aria-label*="cookie" i] {
display: none !important;
visibility: hidden !important;
}
/* Hide component-library modal dialogs that appear for unauthenticated users
(Welcome / Choose an alias onboarding). These use awsui_root_* class with role=dialog. */
[role="dialog"][class*="awsui_root"],
div[class*="awsui_focus-lock"],
div[class*="awsui_modal-open"]::before,
div[class*="awsui_modal-open"]::after {
display: none !important;
}
/* Body lock release */
body[class*="awsui_modal-open"], body.awsui_modal-open_1d2i7_yoxow_460 {
overflow: auto !important;
padding-right: 0 !important;
position: static !important;
}
/* Hide the "Choose an alias" / Welcome onboarding modal */
[role="dialog"][aria-labelledby*="welcome" i],
[role="dialog"][aria-labelledby*="alias" i],
[data-testid*="welcome" i],
[data-testid*="alias" i],
[data-testid*="onboarding" i],
[class*="welcome-modal" i],
[class*="alias-modal" i],
[class*="onboarding" i] {
display: none !important;
}
/* Generic modal backdrops */
[class*="modal-backdrop" i], [class*="overlay" i][class*="modal" i],
[data-overlay-backdrop], [class*="awsui_overlay"] { display: none !important; }
/* --- Mobile top-navigation collapse (round-4 fix) ---
The top-navigation component is JS-responsive at runtime, but this is a
static build captured at desktop width, so on narrow viewports the
fixed-width utilities (Create/Settings/Explore/Sign in = 306px) + the search
box overflow the row: the brand logo gets clipped by the search box and the
'Sign in' CTA runs off the right edge. Collapse the search box and tighten
the utility spacing so the whole bar fits at mobile widths. Desktop (>700px)
is untouched. */
@media (max-width: 700px) {
header.awsui_top-navigation_k5dlb_1nc9c_145 .awsui_inputs_k5dlb_1nc9c_270 {
display: none !important;
}
header.awsui_top-navigation_k5dlb_1nc9c_145 > .awsui_padding-box_k5dlb_1nc9c_178 {
padding-inline-start: 12px !important;
padding-inline-end: 8px !important;
}
header.awsui_top-navigation_k5dlb_1nc9c_145 .awsui_utility-wrapper_k5dlb_1nc9c_297 {
padding-inline: 6px !important;
}
header.awsui_top-navigation_k5dlb_1nc9c_145 .awsui_utility-type-button-link_k5dlb_1nc9c_318 {
padding-inline: 8px !important;
}
/* keep the brand logo from being compressed */
header.awsui_top-navigation_k5dlb_1nc9c_145 .awsui_identity_k5dlb_1nc9c_215 {
flex-shrink: 0 !important;
}
}
/* --- Article comparison tables (r2 fix) ---
Markdown-rendered tables use `table-layout: fixed; inline-size: 100%` but the
cells have no wrapping, so long unbreakable tokens (e.g. code identifiers like
run_evaluations_async() or AsyncConfig(max_concurrency=8)) overflow the fixed
column width and get clipped by the last column / run off the right edge on
both desktop and mobile. Allow cell content to wrap so every column stays
inside the table bounds at all viewport widths. */
._table_1qkov_1 { table-layout: fixed !important; }
._table_1qkov_1 th,
._table_1qkov_1 td,
._table_1qkov_1 ._cell_1qkov_16,
._table_1qkov_1 ._header-row_1qkov_8 th {
overflow-wrap: anywhere !important;
word-break: break-word !important;
white-space: normal !important;
}
/* --- Short inline-link action labels (e.g. "Join") must not break mid-word
on narrow mobile card action columns (r3g2 fix). Community/Circles listing
cards put the Join CTA in a tight column; without this it wrapped to "Jo/in". */
a.awsui_variant-inline-link_vjswe_1rgx4_380 .awsui_label_1f1d4_ocied_5,
a.awsui_variant-inline-link_vjswe_1rgx4_380 .awsui_content_vjswe_1rgx4_153 {
white-space: nowrap !important;
word-break: keep-all !important;
overflow-wrap: normal !important;
}