/* Journey refinements: retain the reviewed layouts and facts, improve small-screen use. */
.navigation-v3 .brand{width:max-content;max-width:100%;justify-self:start}
@media(max-width:1366px){
 html{scroll-padding-top:94px}
 .navigation-v3 nav.open{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
 .pair-controls{padding-block:12px 14px}
 .pair-controls>label{margin:0;font-size:11px;line-height:1.5}
 .pair-controls select,.petal-comparison-label select{height:48px;min-height:48px;line-height:1.4;padding:10px;margin-top:8px}
 .astra-study .astra-page-nav a{min-height:44px}
 .specialty-home section[id],.astra-study section[id],.astra-study .adjustment-panel,.astra-study .optional-groups>details,.comparison-page #comparison-root,.support-study section[id],.enquiry-page #enquiry-page-root{scroll-margin-top:0}
 .enquiry-dialog,.support-draft-dialog,.astra-image-dialog{max-height:calc(var(--mm-visible-height,100dvh) - 20px);scroll-padding-top:60px;overscroll-behavior:contain}
 :is(.enquiry-dialog,.support-draft-dialog,.astra-image-dialog)>:is(.enquiry-close,.support-draft-close,.dialog-close){position:sticky;top:-24px;right:auto;display:block;margin:-24px -5px -20px auto;width:44px;height:44px;min-height:44px;z-index:4;background:#f7f5ef;border:0;border-radius:3px}
 .enquiry-dialog .enquiry-panel-heading,.support-draft-dialog>h2,.astra-image-dialog>p.eyebrow{padding-right:35px}
 .enquiry-study .brief-empty .text-link{min-height:44px;display:inline-flex;align-items:center;gap:10px}
 body.mm-keyboard-open .navigation-v3{position:relative;top:auto}
 body.mm-keyboard-open :is(.enquiry-dialog,.support-draft-dialog,.astra-image-dialog)[open]{top:calc(var(--mm-visible-top,0px) + 8px);bottom:auto;margin-block:0}
}
@media(max-width:700px){
 .astra-study .astra-facts{grid-template-columns:1fr;gap:0;padding-block:4px}
 .astra-study .astra-facts>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:19px;align-items:start;padding:17px 0;min-width:0}
 .astra-study .astra-facts>div+div{border-left:0;border-top:1px solid #cdd3c1;padding-left:0}
 .astra-study .astra-facts dt{font-size:11px;line-height:1.6;margin:3px 0 0}
 .astra-study .astra-facts dd{font-size:27px;line-height:1.2;white-space:normal;overflow-wrap:normal}
 .astra-study .astra-facts dd small{font-size:12px;line-height:1.5;white-space:nowrap}
 .astra-study .astra-facts dd>span:not(.neom-output-value){font-size:11px;line-height:1.65;white-space:normal;margin-top:5px;letter-spacing:0}
 .astra-study .astra-facts dd>.neom-output-value{display:inline;font:inherit;color:inherit;letter-spacing:inherit;margin:0}
 .astra-study .feature-caption,.astra-study .height-caption,.astra-study .movement-note,.astra-study .feature-source,.astra-study .stage-source,.astra-study .stage-caption,.astra-study .astra-product-figure figcaption{font-size:11px;line-height:1.7}
 .enquiry-dialog,.support-draft-dialog,.astra-image-dialog{padding:40px 23px 25px;border-top-right-radius:44px}
 .enquiry-dialog .enquiry-panel-heading h2,.support-draft-dialog>h2{font-size:30px}
}
@media(max-width:360px){.astra-study .astra-facts>div{grid-template-columns:84px minmax(0,1fr);gap:16px}.astra-study .astra-facts dd{font-size:25px}}
@media(max-width:1366px) and (max-height:500px){
 html{scroll-padding-top:16px}
 .navigation-v3{position:relative;top:auto}
 .pair-controls{position:static;top:auto}
 .enquiry-dialog,.support-draft-dialog,.astra-image-dialog{max-height:calc(var(--mm-visible-height,100dvh) - 16px);padding:28px 24px 24px}
 :is(.enquiry-dialog,.support-draft-dialog,.astra-image-dialog)>:is(.enquiry-close,.support-draft-close,.dialog-close){top:-12px;margin-top:-12px;margin-bottom:-32px}
 .enquiry-dialog .enquiry-panel-heading,.support-draft-dialog>h2{margin-bottom:18px}
 .enquiry-dialog .enquiry-panel-heading h2,.support-draft-dialog>h2{font-size:29px}
 .enquiry-dialog textarea,.support-draft-dialog textarea{min-height:140px;max-height:calc(var(--mm-visible-height,100dvh) * .55)}
 .astra-image-dialog>img{height:auto;max-height:calc(var(--mm-visible-height,100dvh) - 130px);min-height:100px;object-fit:contain}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(min-width:1025px) and (max-width:1366px) and (min-height:501px){html{scroll-padding-top:102px}}
@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}
