/* Shared three-size UI typography. User decision 2026-10-05. */
:root{--heep-type-text:18px;--heep-type-section:24px;--heep-type-title:36px}
html:root body.heep-typography[data-type-scale],html:root body.heep-typography[data-type-scale] *:not(:is(.doc-area,.preview-subheader,.diff-panel,.sidebar-preview,.qc-panel) *){font-family:'DM Sans',sans-serif!important;font-size:var(--heep-type-text)!important;letter-spacing:normal;line-height:1.55}
/* Preview document and compact controls retain their component typography.
   Arthur confirmed the current appearance on 2026-10-05; inactive overrides removed. */
/* Shared compact navigation: keep every action reachable on narrow phones. */
@media(max-width:380px){html:root body.heep-typography[data-type-scale] .navbar-top .navbar-inner>a img{width:56px;max-width:56px;height:auto!important}html:root body.heep-typography[data-type-scale] .navbar-right{gap:4px}html:root body.heep-typography[data-type-scale] .navbar-login-btn{padding:8px 6px}html:root body.heep-typography[data-type-scale] .hamburger{flex-shrink:0}}

@media(max-width:380px){html:root body.heep-typography[data-type-scale] .navbar{padding-left:8px;padding-right:8px}html:root body.heep-typography[data-type-scale] .navbar-right{gap:2px}}

.ce-scope {max-width:1120px;margin:48px auto;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--bg);}.ce-scope p{max-width:80ch;}.ce-scope a{color:var(--accent);}

#fieldList .field-row[hidden],#fieldList .field-section-header[hidden]{display:none!important}
