/* Coincroco layout safeguards: no palette, typography, or component redesign. */
.coincroco-shell, .coincroco-content, .coincroco-content .container-modern { min-width: 0; }
.coincroco-content :where(.grid, .flex) > :where(div, section, article, form) { min-width: 0; }
.coincroco-content :where(img, video, iframe, object, embed) { max-width: 100%; }
.coincroco-content :where(img:not([height]), video) { height: auto; }
.coincroco-content :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-width: 0; max-width: 100%; }
.coincroco-content :where(form, fieldset) { min-width: 0; }
.coincroco-content :where(label, .validation-error, [role="alert"], .break-words) { overflow-wrap: anywhere; }
.coincroco-content pre { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.coincroco-content :not(pre) > code, .coincroco-content .cc-identifier { overflow-wrap: anywhere; word-break: break-word; }
.coincroco-content :where(.prose, .cc-rich-content) :where(p, a, li, td) { overflow-wrap: anywhere; }
.coincroco-content :where(.overflow-x-auto, .cc-table-scroll) { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.cc-table-scroll { width: 100%; }
.cc-table-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.cc-table-scroll > table { width: 100%; }
.coincroco-shell :where([role="dialog"], .cc-modal-panel) { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.coincroco-shell .cc-bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0px); }
.coincroco-shell .cc-bottom-nav > div { min-height: 4rem; height: auto; }
.coincroco-shell .cc-bottom-nav a, .coincroco-shell .cc-bottom-nav button { min-width: 0; min-height: 4rem; padding: .35rem .15rem; }
.coincroco-shell .cc-bottom-nav :where(a, button) span { overflow-wrap: anywhere; text-align: center; }
@media (max-width: 1023px) {
    .coincroco-shell { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
    .coincroco-shell .cc-mobile-sheet { max-height: calc(100dvh - 1rem); padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (max-width: 639px) {
    .coincroco-content form :where(button:not([role="switch"]), [type="submit"]) { min-height: 2.75rem; white-space: normal; }
    .coincroco-content :where(h1, h2, h3) { overflow-wrap: anywhere; }
    .coincroco-content .cc-input-group { flex-wrap: wrap; }
    .cc-table-scroll > table { min-width: 36rem; }
}
