/* Public website typography. Scopes keep the native workspace unaffected. */
:root{--site-font-body:15px;--site-font-control:14px;--site-font-small:13px;--site-font-label:12px;--site-font-card:18px;--site-font-section:40px;--site-font-subsection:24px}
@media(max-width:640px){:root{--site-font-section:30px;--site-font-subsection:22px}}
html.site-public-type body,html.site-gallery-type body,html.site-login-type body{font-size:var(--site-font-body);line-height:1.75}
/* Public sections and navigation. */
html.site-public-type .site-nav .nav-links a,html.site-public-type [data-progress] span,html.site-public-type .site-tool#langToggle{font-size:var(--site-font-control);line-height:1.5}
html.site-public-type .section-tag{font-size:var(--site-font-label);line-height:1.5}
html.site-public-type #journey h2,html.site-public-type #contact h2,html.site-public-type #faq h2{font-size:var(--site-font-section);line-height:1.25}
html.site-public-type #journey h3,html.site-public-type #contact h3{font-size:var(--site-font-card);line-height:1.5}
html.site-public-type #journey .section-head p,html.site-public-type .journey-step>p,html.site-public-type #contact .contact-intro,html.site-public-type #contact .contact-channel-note,html.site-public-type #faq .product-faq-heading p,html.site-public-type #faq .product-faq-answer{font-size:var(--site-font-body);line-height:1.8}
html.site-public-type #faq summary{font-size:16px;line-height:1.6}
html.site-public-type #contact .contact-action,html.site-public-type #journeyStart{font-size:var(--site-font-control);line-height:1.5}
html.site-public-type .journey-output,html.site-public-type .journey-feedback p,html.site-public-type #contact .contact-support-note p,html.site-public-type #contactCopyStatus,html.site-public-type .footer{font-size:var(--site-font-small);line-height:1.75}
html.site-public-type #contact .contact-value{font-size:20px;line-height:1.5}
/* Hosted home: retain the product's illustrations, type scale for text only. */
html.site-home-type #homeWelcome,html.site-home-type #homeWelcome #opcBrandBtn{font-size:var(--site-font-section)!important;line-height:1.25!important}
html.site-home-type #siteHomeIntro{font-size:var(--site-font-body)!important;line-height:1.8!important}
html.site-home-type #page-home .hi-entry-title{font-size:16px!important;line-height:1.5!important}
html.site-home-type #page-home .hi-entry-sub{font-size:var(--site-font-small)!important;line-height:1.6!important}
html.site-home-type #heroInput{font-size:16px!important;line-height:1.75!important}
html.site-home-type #heroBtn,html.site-home-type #page-home .hi-idea,html.site-home-type #homePhotoWallHelp{font-size:var(--site-font-control)!important;line-height:1.5!important}
html.site-home-type #homeProjectsTitle{font-size:var(--site-font-card)!important;line-height:1.5!important}
html.site-home-type #homeProjectsEmpty{font-size:var(--site-font-body)!important;line-height:1.8!important}
/* Discover: consistent titles, readable descriptions and controls. */
html.site-gallery-type #discoveryPage h1{font-size:var(--site-font-section)!important;line-height:1.25!important}
html.site-gallery-type #discoveryPage h2{font-size:var(--site-font-subsection)!important;line-height:1.4!important}
html.site-gallery-type #discoveryPage h3,html.site-gallery-type .dp-legacy-card strong{font-size:var(--site-font-card)!important;line-height:1.5!important}
html.site-gallery-type #discoveryPage p{font-size:var(--site-font-body)!important;line-height:1.8!important}
html.site-gallery-type #discoveryPage button,html.site-gallery-type #discoveryPage select{font-size:var(--site-font-control);line-height:1.5}
html.site-gallery-type #discoveryPage input,html.site-gallery-type #discoveryPage textarea{font-size:16px;line-height:1.5}
html.site-gallery-type #discoveryPage small,html.site-gallery-type #discoveryPage .dp-card-author,html.site-gallery-type #discoverCount{font-size:var(--site-font-small)!important;line-height:1.6!important}
html.site-gallery-type #discoveryPage .dp-eyebrow{font-size:var(--site-font-label)!important;line-height:1.5!important}
/* Login: keep the language control and a readable form on narrow screens. */
html.site-login-type .tagline{font-size:var(--site-font-section)!important;line-height:1.25!important}
html.site-login-type .card h2{font-size:var(--site-font-subsection)!important;line-height:1.4!important}
html.site-login-type .vision,html.site-login-type .card .sub{font-size:var(--site-font-body)!important;line-height:1.8!important}
html.site-login-type .field label,html.site-login-type .remember-row,html.site-login-type .card-terms,html.site-login-type .wall-cap{font-size:var(--site-font-small)!important;line-height:1.7!important}
html.site-login-type .eyebrow,html.site-login-type .card-kicker{font-size:var(--site-font-label)!important;line-height:1.5!important}
html.site-login-type .card input:not([type=checkbox]){font-size:16px!important;line-height:1.5!important}
html.site-login-type .code-btn,html.site-login-type body.mode-code #submitBtn,html.site-login-type body.mode-password #submitBtn,html.site-login-type .submit,html.site-login-type .clear-remember,html.site-login-type #loginLanguageCycle{font-size:var(--site-font-control)!important;line-height:1.5!important}
html.site-login-type #loginLanguageCycle{min-width:40px;min-height:40px}

/* Embedded sign-in: keep the language hit area clear of the parent close button. */
html.site-login-type.site-login-embedded .appearance-controls{position:fixed!important;top:8px!important;right:68px!important;z-index:50}
html.site-login-type.site-login-embedded #loginLanguageCycle{width:40px;height:40px;min-width:40px;min-height:40px}
