/* Readable, compact type scale. Load after feature and brand styles.
   Metadata 12px · secondary UI 13px · main UI 14px · conversation text 15px.
   Headings and layout density retain the established workspace hierarchy. */
:root{--text-meta:12px;--text-small:13px;--text-ui:14px;--text-message:15px;--muted:#617186}
body.dark{--muted:#a8b8c7}

.eyebrow,
.brand small,
.workspace-card small,
.nav-heading h2,
.count,
.profile small,
.avatar.small,
.search-button kbd,
.stage-label,
.notification-count,
.conversation-header .eyebrow,
.visibility-badge,
.message-heading time,
.message-heading .you-label,
.composer-footer>span,
.composer-footer kbd,
.composer-note,
.mention-choice small,
.notification-item time,
.person-choice small,
.search-result small,
.login-footer{font-size:var(--text-meta)}

.button.small,
.side-empty,
.avatar,
.conversation-header p,
.external-notice,
.notification-context,
.form-field small,
.callout,
.search-summary,
.login-stage,
.login-help,
.composer-footer .button,
.page-heading .button,
.hashtag-help p,
.hashtag-results-heading p{font-size:var(--text-small)}

.button,
.workspace-card strong,
.sidebar-nav,
.conversation-item,
.profile strong,
.search-button,
.status-strip,
.empty-state p,
.message-heading strong,
.message-body,
.mention-choice strong,
.suggestions-empty,
.page-heading p,
.notification-title,
.notification-excerpt,
.toast,
.modal-intro,
.form-field label,
.form-error,
.person-choice strong,
.search-result strong,
.search-result p,
.notice,
.login-form-wrap>.muted,
.login-form label,
.picker-label,
.hashtag-help strong,
.hashtag-pill,
.hashtag-empty{font-size:var(--text-ui)}

body,
.composer textarea,
.hashtag-scope{font-size:var(--text-message)}

/* Conversation reading size and controls stay consistent across screen sizes. */
body{font-size:var(--text-ui)}
.sidebar-nav,.conversation-item{font-size:var(--text-ui)}
.message-body,.search-result p,.hashtag-result p{font-size:var(--text-message);line-height:1.7}
.message-heading strong{font-size:var(--text-ui)}
.message-body .hashtag-token,.message-body .mention-token{font-size:inherit}
.composer textarea{font-size:var(--text-message);line-height:1.65}
.form-field input,.form-field textarea,.form-field select,.search-field,.hashtag-scope,.login-form input{font-size:var(--text-ui)}
.button,.composer-footer .button,.page-heading .button{font-size:var(--text-small)}
.visibility-badge,.stage-label{font-size:11px}
.count{min-height:20px;line-height:1.45}
.notification-count{min-height:20px;height:auto;line-height:1.4}
.eyebrow,.nav-heading h2{letter-spacing:1px}
.composer-footer{flex-wrap:wrap}
.composer-footer>span{min-width:0;flex:1;line-height:1.6}
.composer-footer .button{flex:none}
.composer-note{line-height:1.6}
.conversation-header>div{min-width:0}
.notification-title,.notification-excerpt{overflow-wrap:anywhere}
.login-form-wrap>.muted{font-size:var(--text-ui);line-height:1.7}
.login-help,.login-stage{font-size:var(--text-small)}

@media(max-width:760px){
 .form-field input,.form-field textarea,.form-field select,.search-field,.hashtag-scope,
 .composer textarea,.login-form input{font-size:16px}
 .composer-footer>span{font-size:var(--text-meta)}
 .composer-footer .button{min-height:38px}
 .conversation-header p{font-size:var(--text-meta);line-height:1.6}
 .message-heading strong{font-size:var(--text-ui)}
 .message-heading time{font-size:var(--text-meta)}
 .notification-title{font-size:var(--text-ui)}
 .notification-excerpt{font-size:var(--text-small)}
 .hashtag-help p,.hashtag-results-heading p{font-size:var(--text-small)}
 .search-button{font-size:var(--text-small)}
 .form-field label,.login-form label{font-size:var(--text-ui)}
 .composer-note{font-size:var(--text-meta)}
}
