/* Targeted corrections for previously tiny utility text. Main type stays intact. */
.footer-bottom,.choice-footer{font-size:12px;line-height:1.8}
.footer-bottom>div,.choice-footer-links{gap:8px 20px;align-items:center}
.footer-bottom>div>a,.choice-footer-links>a{display:inline-flex;align-items:center;min-height:36px;font-size:14px}
.footer-credit{font-size:12px;line-height:1.8}
:is(.footer-main,.footer-grid) p,:is(.footer-main,.footer-grid) li{font-size:13px;line-height:1.9}
:is(.footer-main,.footer-grid) h2{font-size:13px;line-height:1.5}
:is(.footer-main,.footer-grid) .text-link{font-size:13px}
.field label{font-size:13px;line-height:1.6}
.field label span,.field label .optional{font-size:12px}
:is(.field input,.field textarea)::placeholder{font-size:12px}
:is(.form-hint,.privacy-hint,.form-note,.privacy-note,.preview-notice,.dialog-hint){font-size:12px!important;line-height:1.75!important}
:is(.image-caption,.image-note,.panorama-caption,.raster-image figcaption,.horizont-photo-note,.horizont-line-label,.contour-image>figcaption){font-size:12px;line-height:1.6}
.palette-picker,.palette-panel>p:not(.palette-panel-title),.palette-original-link,.palette-choice-line{font-size:12px}
.design-bar>.wrap>span,.design-bar>.wrap>a{font-size:12px}
.palette-panel-title{font-size:14px}
.palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.palette-options>button{font-size:12px;min-height:45px;white-space:normal;line-height:1.4}
.palette-options>button>span:last-child{min-width:0;overflow-wrap:anywhere}
.palette-choice-line{flex-wrap:wrap}
@media(max-width:760px){
 .footer-bottom{gap:10px}
 .footer-credit{flex-basis:100%}
 .palette-panel{position:fixed;top:55px;right:16px;width:calc(100vw - 32px);max-width:425px;max-height:calc(100dvh - 75px);overflow:auto}
}

/* Keep the legal/footer strip on a single readable line at every width. */
body .site-footer .footer-bottom,body .choice-footer{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:24px;white-space:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
body .site-footer .footer-bottom>span,body .choice-footer>span{flex:0 0 auto}
body .site-footer .footer-bottom>div,body .choice-footer-links{display:flex;flex:0 0 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:20px}
.footer-bottom .footer-credit,.choice-footer .footer-credit{flex:0 0 auto;white-space:nowrap}
@media(max-width:760px){body .site-footer .footer-bottom>span,body .choice-footer>span{order:2}body .site-footer .footer-bottom>div,body .choice-footer-links{order:1}}

/* Structure long privacy notices without changing the site's general type scale. */
body :is(.legal-copy,.legal-content)>h3{font-size:20px;line-height:1.4;margin:28px 0 12px}
body :is(.legal-copy,.legal-content)>p{overflow-wrap:anywhere}
