/* Shared account-access composition from the approved 6 Nov review. */
.ddwc-register-page .ddwc-auth-layout,
body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) {
	display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
	border: 1px solid #c6dbe6; border-radius: 20px; overflow: hidden; background: #fff;
}
.ddwc-register-page .ddwc-auth-main { min-width: 0; padding: clamp(24px, 3.5vw, 52px); }
.ddwc-register-page .ddwc-auth-main .ddwc-form { margin: 0; padding: 0; border: 0; box-shadow: none; max-width: none; }
.ddwc-register-page .ddwc-auth-main .ddwc-register-intro { padding: 0; margin: 0 0 28px; }
.ddwc-register-page .ddwc-auth-main h1 { font-size: clamp(30px, 3.1vw, 42px); line-height: 1.15; }
.ddwc-register-page .ddwc-role-grid { grid-template-columns: 1fr; gap: 10px; }
.ddwc-register-page .ddwc-role-card { min-height: 0; padding: 16px 18px 16px 48px; text-align: left; }
.ddwc-register-page .ddwc-role-card__icon { display: none; }
.ddwc-register-page .ddwc-role-card input { top: 20px; left: 18px; right: auto; }
.ddwc-register-page .ddwc-role-card strong { font-size: 17px; }
.ddwc-register-page .ddwc-role-card > span:not(.ddwc-role-card__icon), .ddwc-register-page .ddwc-role-card small { font-size: 13px; line-height: 1.5; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-choices legend { font-size: 18px; line-height: 1.4; flex-wrap: wrap; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-choices__hint { position: static; display: block; margin: 8px 0 16px; font-size: 13px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-grid { gap: 12px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card { min-height: 0; padding: 16px 16px 16px 48px; gap: 6px; border-radius: 12px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card input { top: 17px; left: 16px; right: auto; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card__icon { display: none; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card strong { margin: 0; font-size: 17px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card > span:not(.ddwc-role-card__icon) { flex: none; font-size: 13px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card small { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-credentials { border: 0; border-top: 1px solid #c6dbe6; border-radius: 0; padding: 24px 0 0; margin: 24px 0 0; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-submit { display: flex; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-submit .ddwc-button { width: 100%; }
.ddwc-role-context { display: none; }
.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card { justify-content: center; min-height: 88px; padding: 16px 12px 16px 40px; }
.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card :is(span,small) { display: none; }
.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card strong { font-size: 15px; line-height: 1.4; }
.ddwc-js .ddwc-role-context { display: block; margin: 16px 0 0; color: #526d7c; font-size: 14px; line-height: 1.6; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-security { border: 0; padding: 0; background: transparent; font-size: 13px; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-security strong { display: none; }
body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-register-verification { display: none; }
.ddwc-register-page .ddwc-register-intro > p:last-child { font-size: 16px; }
.ddwc-register-page .ddwc-register-credentials { padding: 24px 0 0; margin-top: 24px; }
.ddwc-register-page .ddwc-register-credentials .ddwc-grid--two { grid-template-columns: 1fr; }
.ddwc-auth-photo { display: flex; flex-direction: column; min-width: 0; background: #f5fafc; }
.ddwc-auth-photo > img { display: block; width: 100%; height: 0; min-height: 360px; flex: 1 1 auto; object-fit: cover; object-position: center; }
.ddwc-auth-photo > div { padding: 28px; border-top: 1px solid #c6dbe6; }
.ddwc-auth-photo h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; color: #0a3553; }
.ddwc-auth-photo p { margin: 0; color: #526d7c; font-size: 15px; }
.ddwc-code-page .ddwc-verification-card { border: 0; border-radius: 0; margin: 0; display: block; }
.ddwc-code-page .ddwc-verification-form { margin: 28px 0 0; padding: 0; }
.ddwc-code-page .ddwc-verification-form > label { display: block; font-weight: 700; margin-bottom: 10px; }
.ddwc-code-entry { position: relative; margin-top: 10px; }
.ddwc-code-digits { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.ddwc-code-digits span { display: grid; place-items: center; height: 60px; background: #f5fafc; border: 1px solid #c6dbe6; border-radius: 10px; font-size: 26px; font-weight: 700; }
.ddwc-code-entry:focus-within .ddwc-code-digits span[data-active] { background: #e2f0f7; border-color: #0877a6; }
.ddwc-code-entry input#ddwc-email-code { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: text; font-size: 20px; padding: 0; }
.ddwc-code-entry:has(input[aria-invalid]) .ddwc-code-digits span { border-color: #b42318; background: #fff5f3; }
.ddwc-code-page #ddwc-code-help, .ddwc-code-security { font-size: 13px; color: #526d7c; line-height: 1.6; }
.ddwc-code-page .ddwc-verification-form > .ddwc-button { width: 100%; min-height: 48px; }
.ddwc-code-page .ddwc-code-notice { padding: 14px 16px; background: #fff3f0; color: #9c251c; border-radius: 10px; font-size: 15px; }
body .ddwc-code-text-button { border: 0; background: transparent; color: #0877a6; padding: 8px 0; min-height: 44px; font-size: 15px; font-weight: 600; box-shadow: none; }
body .ddwc-code-text-button:hover { background: transparent; color: #07567a; text-decoration: underline; }
body .ddwc-code-text-button:disabled { opacity: 1; color: #526d7c; cursor: default; text-decoration: none; }
.ddwc-code-page .ddwc-code-resend { margin: 18px 0 0; }
.ddwc-code-change { margin: 0; }
.ddwc-code-signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; margin-top: 12px; }
.ddwc-code-security { border-top: 1px solid #c6dbe6; padding-top: 20px; margin-top: 24px; }
.ddwc-filter-group { margin: 0; border: 0; border-bottom: 1px solid #c6dbe6; padding: 16px 0; }
.ddwc-filter-group > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; min-height: 44px; color: #0a3553; }
.ddwc-filter-group > summary::-webkit-details-marker { display: none; }
.ddwc-filter-group > summary::after { content: '›'; display: grid; place-items: center; overflow: hidden; flex: 0 0 24px; width: 24px; height: 24px; line-height: 24px; font-size: 23px; margin-left: auto; transform: rotate(0); }
.ddwc-filter-group[open] > summary::after { transform: rotate(90deg); }
.ddwc-filter-group [data-ddwc-group-count] { border-radius: 20px; padding: 1px 7px; background: #e6f2f8; color: #0877a6; font-size: 12px; }
.ddwc-filter-group [data-ddwc-group-count][hidden] { display: none; }
.ddwc-filter-group .ddwc-filter-options { margin: 8px 0 0; padding: 0; border: 0; }
.ddwc-filter-group .ddwc-filter-options__grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.ddwc-filter-group .ddwc-filter-options__grid label { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border: 0; border-radius: 0; background: transparent; }
.ddwc-filter-group .ddwc-filter-options__grid label[hidden] { display: none; }
.ddwc-filter-group .ddwc-filter-search { margin: 8px 0; font-size: 16px; min-height: 44px; }
.ddwc-group-more { display: none; }
.ddwc-js .ddwc-group-more:not([hidden]) { display: inline-block; }
.ddwc-filter-group .ddwc-field { margin: 10px 0 0; }
.ddwc-filter-active--results { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 12px; border: 1px solid #c6dbe6; border-radius: 12px; background: #fff; }
.ddwc-filter-active--results > span { font-size: 13px; font-weight: 600; }
.ddwc-filter-active--results a.ddwc-filter-active__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 8px 12px; border: 0; border-radius: 20px; background: #e6f2f8; color: #07567a; font-size: 14px; }
.ddwc-filter-active--results > a:last-child { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
@media (max-width: 1023px) {
	.ddwc-register-page .ddwc-auth-layout, body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { grid-template-columns: minmax(0,1fr); }
	.ddwc-auth-photo { display: none; }
}
@media (max-width: 600px) {
	.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-grid { grid-template-columns: minmax(0,1fr); }
	.ddwc-js body.ddwc-register-view .ddwc-register-page .ddwc-auth-layout .ddwc-role-card { min-height: 56px; }
	.ddwc-register-page .ddwc-auth-main { padding: 24px 18px; }
	.ddwc-code-digits { gap: 6px; }
	.ddwc-code-digits span { height: 48px; font-size: 23px; }
	.ddwc-code-page .ddwc-verification-form input { font-size: 16px; }
}

/* Release 1 rails: the hero content and both columns share one outer container. */
.ddwc-detail-page--instructor .ddwc-instructor-hero { display: block; position: relative; width: 100%; min-height: 0; margin: 0; padding: 36px 0 42px; border: 0; border-radius: 0; background: #0a3553; overflow: hidden; }
.ddwc-detail-page--instructor .ddwc-instructor-hero .ddwc-detail-hero__inner { position: relative; z-index: 1; width: min(1200px,calc(100% - 64px)); margin: auto; padding: 0; background: transparent; color: #fff; }
.ddwc-detail-page--instructor .ddwc-instructor-hero :is(h1,.ddwc-detail-breadcrumb a,.ddwc-detail-breadcrumb,.ddwc-detail-hero__eyebrow) { color: #fff; }
.ddwc-detail-page--instructor .ddwc-instructor-hero :is(.ddwc-detail-hero__location,.ddwc-detail-hero__subtitle,.ddwc-detail-hero__status) { color: #d9e7ef; }
.ddwc-instructor-hero__photo { position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.ddwc-instructor-hero__photo > img { width: 100%; height: 100%; min-height: 0; max-height: none; padding: 0; object-fit: cover; object-position: center 35%; }
/* Square/portrait media stays intact in the right side of the approved hero.
   A landscape can fill the quiet background; never enlarge a headshot across the title. */
.ddwc-instructor-hero__photo--portrait { inset: 0 0 0 55%; opacity: .22; }
.ddwc-instructor-hero__photo--portrait > img { object-fit: contain; object-position: center; }
.ddwc-detail-page--instructor .ddwc-detail-grid { width: min(1200px,calc(100% - 64px)); padding: 0; margin: 48px auto 80px; align-items: start; }
.entry-content .ddwc-detail-page--instructor :is(.ddwc-detail-card,.ddwc-contact-panel) h2 { margin: 0 0 20px; }
.entry-content .ddwc-detail-page--instructor :is(.ddwc-detail-chips,.ddwc-language-cards,.ddwc-credential-list,.ddwc-gallery) { margin-inline: 0; padding-inline: 0; }
.entry-content .ddwc-detail-page--instructor .ddwc-detail-prose > :last-child { margin-bottom: 0; }
/* Theme paragraph margins must not add a second spacing system inside flex cards. */
.entry-content .ddwc-directory-page--instructor .ddwc-card__body { gap: 12px; min-height: 0; padding: 16px; }
.entry-content .ddwc-directory-page--instructor .ddwc-card__body > :is(h3,p) { margin: 0; }
.entry-content .ddwc-directory-page--instructor .ddwc-card__image { aspect-ratio: 4 / 3; overflow: hidden; }
.entry-content .ddwc-directory-page--instructor .ddwc-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry-content .ddwc-directory-page--instructor .ddwc-card__action { margin: auto 0 0; }
/* Six comfortable option rows; search and actions remain outside the scroll area. */
.ddwc-filter-group .ddwc-filter-options__grid { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.ddwc-select__group-label { padding: 8px 10px 4px; color: #526d7c; font-size: 12px; font-weight: 700; line-height: 1.5; }
.ddwc-select__empty, .ddwc-filter-empty { margin: 8px 0; padding: 8px 10px; color: #526d7c; font-size: 14px; }
@media (max-width:767px) {
 .ddwc-detail-page--instructor .ddwc-instructor-hero { display: flex; flex-direction: column-reverse; width: calc(100% - 32px); margin: 16px auto 0; padding: 0; border: 1px solid #c6dbe6; border-radius: 12px; background: #fff; }
 .ddwc-detail-page--instructor .ddwc-instructor-hero .ddwc-detail-hero__inner { width: 100%; padding: 20px 16px; color: #0a3553; }
 .ddwc-detail-page--instructor .ddwc-instructor-hero :is(h1,.ddwc-detail-breadcrumb a,.ddwc-detail-breadcrumb,.ddwc-detail-hero__eyebrow) { color: #0a3553; }
 .ddwc-detail-page--instructor .ddwc-instructor-hero :is(.ddwc-detail-hero__location,.ddwc-detail-hero__subtitle,.ddwc-detail-hero__status) { color: #526d7c; }
 .ddwc-instructor-hero__photo { position: static; inset: auto; height: 140px; opacity: 1; }
 .ddwc-instructor-hero__photo > img { height: 140px; max-height: 140px; }
 .ddwc-instructor-hero__photo--portrait { background: #e8f3f8; }
 .ddwc-instructor-hero__photo--portrait > img { object-fit: contain; object-position: center; }
 .ddwc-detail-page--instructor .ddwc-detail-grid { width: calc(100% - 32px); margin: 16px auto 48px; }
 .ddwc-detail-page--instructor .ddwc-instructor-hero .ddwc-detail-hero__illustration-label { top: 104px; bottom: auto; }
}

.ddwc-detail-page--instructor .ddwc-gallery a { position: relative; }
.ddwc-detail-page--instructor .ddwc-gallery a > img { position: absolute; inset: 0; }

/* Astra mobile container padding must not add another gutter to Release 1. */
body.single-ddwc_instructor.ddwc-detail-view .site-content > .ast-container { padding-inline: 0 !important; }

/* The real photo replaces the legacy mobile pseudo-element placeholder. */
.ddwc-detail-page--instructor .ddwc-instructor-hero::before { display: none; }
.ddwc-detail-page--instructor .ddwc-instructor-hero .ddwc-detail-hero__status { margin: 20px 0 0; }

/* Stable role summaries and bounded filter choices, per owner review. */
.ddwc-js .ddwc-register-page .ddwc-role-context { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; }
.ddwc-role-context > [data-ddwc-role-summary] { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.ddwc-role-context > [data-ddwc-role-summary][data-active] { visibility: visible; }

.ddwc-filter-group :is(summary, .ddwc-filter-options__grid label, .ddwc-field > span) { -webkit-user-select: none; user-select: none; }
.ddwc-field[data-ddwc-course-detail-field][hidden] { display: none !important; }

/* Query feedback lives inside the existing results layout. */
[data-ddwc-directory-results] { overflow-anchor: none; }
[data-ddwc-loading] [data-ddwc-directory-results] { opacity: .55; }
.ddwc-directory-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; padding: 10px 14px; background: #fff1f0; color: #9c251c; border-radius: 10px; font-size: 14px; }
.ddwc-directory-error[hidden] { display: none; }
body .ddwc-directory-error button { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: #0877a6; font: inherit; font-weight: 700; }
body .ddwc-directory-error button:hover { background: transparent; color: #07567a; }

/* R1 8 Nov reference: centered registration/verification and login copy on photo. */
body.ddwc-register-view .ddwc-register-page.ddwc-auth-single { max-width: 800px; margin: 0 auto; }
body.ddwc-register-view .ddwc-register-page.ddwc-code-page { max-width: 600px; }
body.ddwc-register-view .ddwc-auth-single .ddwc-auth-layout { display: block; }
body.ddwc-register-view .ddwc-auth-single .ddwc-auth-main { padding: 40px 48px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro h1 { font-size: 40px; letter-spacing: -.025em; margin: 0 0 36px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro { margin: 0 0 24px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro > p:last-child { margin: 0; font-size: 16px; line-height: 1.55; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-choices legend { font-size: 16px; margin-bottom: 12px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-step-number,
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-role-choices__hint,
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-role-context,
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials > h2 { display: none !important; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-grid { gap: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; min-height: 114px; padding: 14px 12px 14px 40px; border-radius: 10px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card strong { font-size: 14px; line-height: 20px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card > span:not(.ddwc-role-card__icon) { display: block; font-size: 13px; line-height: 21px; min-height: 42px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card small { display: none; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-credentials { border: 0; padding: 0; margin-top: 24px; }
.ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ddwc-auth-register-r1 .ddwc-register-security { margin: 0; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-submit { border-top: 1px solid #c6dbe6; padding-top: 22px; margin-top: 12px; align-items: stretch; text-align: left; gap: 14px; font-size: 14px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-submit .ddwc-button { min-height: 48px; }
body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { max-width: 1200px; margin: 0 auto; }
body.ddwc-login-view .ddwc-auth-main { padding: 48px; }
body.ddwc-login-view .ddwc-auth-main h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.025em; }
body.ddwc-login-view .ddwc-auth-signup { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; }
body.ddwc-login-view .ddwc-auth-signup small { display: none; }
.ddwc-auth-photo.ddwc-auth-photo--overlay { display: flex; position: relative; isolation: isolate; justify-content: flex-end; min-height: 640px; overflow: hidden; }
.ddwc-auth-photo--overlay > img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; z-index: -2; }
.ddwc-auth-photo--overlay::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(8,28,42,0) 18%,rgba(8,28,42,.82) 100%); }
.ddwc-auth-photo--overlay > div { padding: 40px; border: 0; }
.ddwc-auth-photo--overlay h2 { color: #fff; font-size: 32px; line-height: 1.22; letter-spacing: -.02em; max-width: 16ch; margin-bottom: 20px; }
.ddwc-auth-photo--overlay p { color: #fff; font-size: 16px; line-height: 1.55; max-width: 29ch; }
.ddwc-shop-languages .ddwc-fixed-options { margin: 16px 0 0; padding: 0; border: 0; }
.ddwc-shop-languages .ddwc-fixed-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ddwc-shop-languages .ddwc-fixed-options__grid { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; margin-bottom: 12px; }
@media (min-width: 768px) and (max-width: 1023px) {
 body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { grid-template-columns: minmax(0,58fr) minmax(0,42fr); }
 body.ddwc-login-view .ddwc-auth-main { padding: 32px; }
 body.ddwc-login-view .ddwc-auth-main h1 { font-size: 34px; }
 .ddwc-auth-photo--overlay > div { padding: 28px; }
 .ddwc-auth-photo--overlay h2 { font-size: 28px; }
}
@media (max-width: 767px) {
 body.ddwc-register-view .ddwc-auth-single .ddwc-auth-main { padding: 24px 20px; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro h1 { font-size: 30px; margin-bottom: 24px; }
 .ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-grid--two { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-grid { grid-template-columns: minmax(0,1fr); }
 .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card { min-height: 88px; padding: 12px 12px 12px 40px; }
 body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { display: block; }
 body.ddwc-login-view .ddwc-auth-main { padding: 28px 22px; }
 body.ddwc-login-view .ddwc-auth-main h1 { font-size: 31px; }
 .ddwc-auth-photo.ddwc-auth-photo--overlay { display: none; }
}
body.ddwc-register-view .ddwc-register-page.ddwc-auth-single { position: static; left: auto; transform: none; width: 100%; margin-bottom: 64px; }
body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { position: static; left: auto; transform: none; width: 100%; min-height: 640px; margin-bottom: 64px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-choices legend { border: 0; padding: 0; }
.ddwc-auth-register-r1 .ddwc-auth-eyebrow { display: block; border: 0; border-radius: 0; padding: 0; margin-bottom: 12px; background: transparent; color: #0877a6; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ddwc-auth-register-r1 .ddwc-register-security span::before { display: none; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card:has(input:checked) { background: #e8f3f8; border-color: #0877a6; }
body.ddwc-login-view .ddwc-auth-main .ddwc-form, body.ddwc-login-view .ddwc-auth-signup { max-width: none; }
body.ddwc-login-view .ddwc-auth-intro { font-size: 16px; }
body.ddwc-login-view .ddwc-auth-eyebrow::before { display: none; }
body.ddwc-login-view .ddwc-auth-main .ddwc-field input { height: 48px; min-height: 48px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-main .ddwc-register-intro { position: relative; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-main .ddwc-auth-eyebrow { display: block; width: auto; border: 0; border-radius: 0; padding: 0; margin: 0 0 12px; background: transparent; color: #0877a6; font-size: 12px; line-height: 19px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ddwc-register-step { position: absolute; top: 30px; right: 0; padding: 6px 12px; border-radius: 30px; color: #0877a6; background: #e8f3f8; font-size: 13px; line-height: 20px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card > span:not(.ddwc-role-card__icon) { width: 100%; color: #526d7c; font-weight: 400; letter-spacing: 0; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card input { appearance: auto; width: 20px; height: 20px; margin: 0; top: 18px; left: 12px; accent-color: #0877a6; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card input::before, .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card input::after { display: none; }
@media(max-width:767px){.ddwc-register-step{top:30px;right:0;font-size:11px;padding:5px 9px}.ddwc-auth-register-r1 .ddwc-register-intro h1{max-width:80%}}
.ddwc-auth-photo--overlay h2 { font-family: Roboto,"DM Sans",Arial,sans-serif; font-weight: 700; }
body.ddwc-login-view .ddwc-auth-main .ddwc-form > .ddwc-button { min-height: 48px; height: 48px; }
.ddwc-auth-single .ddwc-r1-eyebrow { display: block; padding: 0; margin: 0 0 12px; border: 0; background: transparent; color: #0877a6; font: 700 12px/19px "DM Sans",Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ddwc-auth-register-r1 .ddwc-register-credentials input:not([type=checkbox]):not([type=radio]) { height: 48px; min-height: 48px; box-sizing: border-box; }
body.ddwc-register-view .ddwc-auth-single.ddwc-code-page .ddwc-auth-main h1 { font-size: 40px; line-height: 46px; }
body.ddwc-login-view .ddwc-auth-main .ddwc-form > button.ddwc-button--large { height: 48px !important; min-height: 48px !important; }
body.ddwc-login-view .ddwc-auth-main .ddwc-form { gap: 20px; margin-bottom: 24px; }
body.ddwc-login-view .ddwc-auth-main .ddwc-field { gap: 8px; }
body.ddwc-login-view .ddwc-auth-main .ddwc-field small { font-size: 14px; line-height: 1.55; }
body.ddwc-login-view .ddwc-auth-main .ddwc-field > label { font-size: 16px; font-weight: 600; }
body.ddwc-login-view .ddwc-auth-main h1 { margin-bottom: 16px; }
body.ddwc-login-view .ddwc-auth-intro { margin-bottom: 26px; }
body.ddwc-login-view .ddwc-auth-eyebrow { line-height: 19px; margin-bottom: 12px; letter-spacing: .12em; }
@media(max-width:767px){body.ddwc-register-view .ddwc-auth-single.ddwc-code-page .ddwc-auth-main h1 {font-size:30px;line-height:1.15;}}
.ddwc-auth-single .ddwc-r1-eyebrow { line-height: 18.6px; }
body.ddwc-login-view .ddwc-auth-eyebrow { line-height: 18.6px; margin-bottom: 26px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-credentials { margin-top: 12px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-field > label { font-size: 16px; line-height: 24.8px; font-weight: 600; }
.ddwc-auth-register-r1 .ddwc-register-credentials > .ddwc-checkbox { align-items: flex-start; }
.ddwc-auth-register-r1 .ddwc-register-credentials > .ddwc-checkbox input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { min-height: 665px; }
body.ddwc-login-view .ddwc-login-options { min-height: 44px; }
@media(max-width:767px){body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in){min-height:0}}

/* Restore the approved R1 field rhythm instead of compensating with fixed heights. */
body:is(.ddwc-register-view,.ddwc-login-view) .site-content > .ast-container { width:100%;max-width:none;padding-left:32px;padding-right:32px; }
body.ddwc-register-view .ddwc-auth-single .ddwc-auth-main,
body.ddwc-login-view .ddwc-auth-main { font-size:16px;line-height:1.55; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro h1 { margin-bottom:40px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro { margin-bottom:16px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-choices legend { line-height:1.55; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card { display:grid;grid-template-columns:20px minmax(0,1fr);gap:0 8px;padding:14px 12px;min-height:0; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card input { position:static;grid-column:1;grid-row:1;margin-top:3px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card strong { grid-column:2;grid-row:1;font-size:14px;line-height:24.8px; }
.ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card > span:not(.ddwc-role-card__icon) { grid-column:2;grid-row:2;min-height:60px;font-size:13px;line-height:20px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-credentials { margin-top:8px;gap:20px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-field { gap:8px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-field small { font-size:14px;line-height:1.55; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-security { display:block;font-size:14px;line-height:1.55; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials .ddwc-register-security { font-size:14px; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-security span { display:inline; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-security span+span::before { content:' ';display:inline; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-credentials > .ddwc-checkbox { min-height:44px;gap:10px;line-height:1.55; }
body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-submit { margin-top:4px;line-height:1.55; }
body.ddwc-login-view .ddwc-auth-eyebrow { font-size:12px; }
body.ddwc-login-view .ddwc-auth-intro { line-height:1.55; }
body.ddwc-login-view .ddwc-login-options { margin:0;gap:12px; }
body.ddwc-login-view .ddwc-auth-signup { gap:10px;line-height:1.55; }
@media(max-width:767px){
 body:is(.ddwc-register-view,.ddwc-login-view) .site-content > .ast-container { padding-left:16px;padding-right:16px; }
 body.ddwc-register-view .ddwc-auth-single .ddwc-auth-layout,
 body.ddwc-login-view .ddwc-auth-shell:not(.ddwc-auth-shell--signed-in) { border-radius:16px; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro h1 { margin-bottom:36px; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro { display:grid;grid-template-columns:minmax(0,1fr) max-content;column-gap:10px; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro .ddwc-r1-eyebrow { grid-column:1;grid-row:1; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro h1 { grid-column:1;grid-row:2;max-width:none; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro .ddwc-register-step { position:static;grid-column:2;grid-row:1 / span 2;align-self:start;line-height:1.55; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-register-intro > p:last-child { grid-column:1 / -1;grid-row:3; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-submit { margin-top:0; }
 body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-register-credentials { margin-top:6px; }
 body.ddwc-login-view .ddwc-auth-eyebrow,body.ddwc-login-view .ddwc-auth-intro { margin-bottom:24px; }
 body.ddwc-login-view .ddwc-login-options,body.ddwc-login-view .ddwc-login-options .ddwc-checkbox { font-size:14px;line-height:1.55; }
 body.ddwc-login-view .ddwc-login-options .ddwc-checkbox { min-height:44px;gap:10px; }
 body.ddwc-login-view .ddwc-auth-signup { display:grid;grid-template-columns:minmax(0,1fr);gap:8px; }
 .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card { padding:12px;column-gap:10px; }
 .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card strong { font-size:16px; }
 .ddwc-js body.ddwc-register-view .ddwc-auth-register-r1 .ddwc-auth-layout .ddwc-role-card > span:not(.ddwc-role-card__icon) { min-height:42px;line-height:1.55;max-width:25ch; }
}

/* F1F: the common drawer scrolls only its fields, retaining top clearance. */
.ddwc-filter-sheet-body { display:contents; }
@media (max-width: 820px) {
 .ddwc-directory-filters[data-open="true"] .ddwc-filter-sheet-body { display:grid; align-content:start; min-height:0; gap:18px; overflow-y:auto; overscroll-behavior:contain; padding:16px 0; scroll-padding-block:16px; }
 .ddwc-directory-filters[data-open="true"] .ddwc-directory-filters__heading { min-width:0; margin:0; padding-bottom:16px; border-bottom:1px solid #c6dbe6; }
 .ddwc-directory-filters[data-open="true"] .ddwc-filter-sheet-actions .ddwc-button { min-height:44px; font-size:14px; }
 .ddwc-directory-filters[data-open="true"] .ddwc-filter-sheet-actions > :first-child { min-height:48px; border-radius:12px; font-size:16px; }
}
@media (max-width:820px) {
 .ddwc-directory-filters[data-open="true"] .ddwc-filter-options__grid label { box-sizing:border-box; }
}
