/* Shared activation-safe fallback surfaces: sharp geometry, one clear reading column, no decorative fields. */
.wedx-fallback-list,.wedx-status-page{padding:clamp(72px,10vw,144px) max(clamp(20px,6vw,96px),calc((100% - var(--wedx-max))/2));background:var(--wedx-canvas)}
.wedx-fallback-list__inner,.wedx-status-page>div,.wedx-fallback-singular__inner{max-width:var(--wedx-max);margin-inline:auto}
.wedx-fallback-list h1,.wedx-status-page h1,.wedx-fallback-singular h1{max-width:16ch;margin:0 0 32px;font-size:clamp(42px,5vw,68px);font-weight:var(--wedx-weight-bold);letter-spacing:var(--wedx-track-hero);line-height:1.02;text-wrap:balance}
.wedx-fallback-list h1{margin-block-end:56px}
.wedx-fallback-list .button,.wedx-status-page .button,.wedx-fallback-singular .button{border-radius:0}
/* Core pagination markup, styled conservatively so the index does not end abruptly. */
.wedx-fallback-list .navigation.pagination{margin-block-start:56px;padding-block-start:24px;border-block-start:1px solid currentColor;border-block-start-color:color-mix(in srgb,currentColor 30%,transparent)}
.wedx-fallback-list .nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.wedx-fallback-list .page-numbers{min-width:44px;min-height:44px;padding-inline:12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 30%,transparent);text-decoration:none}
.wedx-fallback-list .page-numbers:hover{text-decoration:underline;text-underline-offset:4px}
.wedx-fallback-list .page-numbers.current{color:var(--wedx-canvas);background:var(--wedx-text);border-color:var(--wedx-text)}
.wedx-fallback-list .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Index rows, not a repeated pastel card grid. The column count still follows the result count. */
.wedx-fallback-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));column-gap:64px;border-block-start:2px solid currentColor}
.wedx-fallback-card{min-height:0;padding-block:32px;display:flex;flex-direction:column;align-items:flex-start;border-block-end:1px solid currentColor;border-block-end-color:color-mix(in srgb,currentColor 30%,transparent)}
.wedx-fallback-card h2{margin:0 0 12px;font-size:clamp(22px,2vw,30px);font-weight:var(--wedx-weight-bold);letter-spacing:var(--wedx-track-subtitle);line-height:1.14}
.wedx-fallback-card h2 a{text-decoration:none}
.wedx-fallback-card h2 a:hover,.wedx-fallback-card h2 a:focus-visible{text-decoration:underline;text-underline-offset:5px}
.wedx-fallback-card p{max-width:52ch;margin:0 0 16px;line-height:1.6}
.wedx-fallback-card .text-link{margin-block-start:auto;min-height:44px;display:inline-flex;align-items:center;font-weight:var(--wedx-weight-bold);letter-spacing:normal;text-underline-offset:4px}
.wedx-fallback-singular{padding:clamp(72px,10vw,144px) max(clamp(20px,6vw,96px),calc((100% - var(--wedx-max))/2));background:var(--wedx-canvas)}
.wedx-fallback-kicker{margin:0 0 20px;font-size:13px;font-weight:var(--wedx-weight-bold);letter-spacing:var(--wedx-track-label);text-transform:uppercase}
.wedx-fallback-lead{max-width:58ch;font-size:clamp(19px,1.7vw,24px);line-height:1.5}
.wedx-fallback-body{max-width:70ch;margin-block-start:56px;font-size:18px;line-height:1.65}
.wedx-fallback-body :where(h2,h3,h4){font-weight:var(--wedx-weight-bold);letter-spacing:var(--wedx-track-subtitle);line-height:1.18}
.wedx-fallback-body h2{margin-block:2.2em .6em;font-size:clamp(26px,2.4vw,36px)}
.wedx-fallback-body h3{margin-block:1.8em .5em;font-size:clamp(21px,1.8vw,26px)}
.wedx-fallback-body :where(ul,ol){margin-block:1.2em;padding-inline-start:1.3em}
.wedx-fallback-body a{text-decoration-thickness:2px;text-underline-offset:4px}
.wedx-fallback-empty{margin-block-start:8px;padding:40px 0 0;border-block-start:2px solid currentColor}
.wedx-fallback-empty h2{margin-block-start:0;font-weight:var(--wedx-weight-bold);letter-spacing:var(--wedx-track-subtitle)}
.wedx-status-page{min-height:60vh;display:grid;align-items:center}
.wedx-status-page p:not(.wedx-fallback-kicker){max-width:44ch;font-size:20px;line-height:1.55}
.wedx-status-page .button{margin-block-start:40px}
/* Arabic and RTL fallback text never inherits Latin tracking or Latin case treatment. */
html[dir="rtl"] :where(.wedx-fallback-list,.wedx-status-page,.wedx-fallback-singular) :where(h1,h2,h3,h4,p,a,.button){letter-spacing:normal}
html[dir="rtl"] .wedx-fallback-kicker{letter-spacing:normal;text-transform:none}
html[dir="rtl"] :where(.wedx-fallback-list,.wedx-status-page,.wedx-fallback-singular) h1{line-height:1.2;text-wrap:pretty}
@media (max-width:767px){.wedx-fallback-list h1,.wedx-status-page h1,.wedx-fallback-singular h1{font-size:clamp(38px,10.5vw,48px)}.wedx-fallback-list h1{margin-block-end:40px}.wedx-fallback-card{padding-block:26px}.wedx-fallback-body{margin-block-start:36px;font-size:17px}.wedx-fallback-empty{padding-block-start:32px}.wedx-status-page .button{width:100%}}
@media (max-width:359px){.wedx-fallback-list h1,.wedx-status-page h1,.wedx-fallback-singular h1{font-size:34px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
