/* Forge typography and interaction polish */
:root{--forge-font-ui:Inter,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--forge-font-display:Georgia,"Times New Roman",serif;--forge-text-body:1rem;--forge-text-small:.875rem;--forge-text-caption:.75rem;--forge-text-micro:.6875rem}
body{font-family:var(--forge-font-ui)}
button,input,select,textarea{font-family:inherit}
button:disabled,.upload[aria-disabled="true"]{cursor:not-allowed!important;filter:saturate(.55);opacity:.5}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role="button"]:focus-visible{outline:3px solid #74e7b6;outline-offset:3px}
.authAccessWrap,.forgeAppShell{font-family:var(--forge-font-ui)}
.studioAuthCard p{font-size:16px;line-height:1.6}.studioAuthCard input{font-size:16px}.studioAuthCard .policyChecks label{font-size:14px;line-height:1.45}.studioAuthCard button{font-size:14px;min-height:44px}.studioAuthCard .forgePasswordToggle{font-size:14px;min-height:0}
.forgeAppShell h1,.forgeAppShell h2,.forgeAppShell h3,.forgeAppShell h4{font-family:var(--forge-font-ui)}
.forgeSideNav .navGroupLabel{font-size:11px;line-height:1.2;letter-spacing:.16em}.forgeSideNav button{min-height:40px;font-size:13px;line-height:1.25}.forgeSideNav button span{font-size:14px}.forgeBrandName{font-size:14px}.forgeBrandSub,.forgeBrandTag{font-size:11px;line-height:1.35}.forgeSidebarFoot b{font-size:12px}.forgeSidebarFoot span{font-size:11px}
.forgeTopbar input{font-size:14px}.forgeTopbar button,.forgeTopbar .creditPill{font-size:13px;line-height:1.2}.creditPill span{font-size:11px}.operatorPill{color:inherit;text-align:left}.operatorPillCopy{display:block;min-width:0}.operatorPill b{font-size:12px}.operatorPill div span,.operatorPillCopy>span{display:block;margin-top:2px;color:#758292;font-size:11px}.topAction,.paidCreditsAction{min-height:40px}
.forgeMain>.view>.title small,.projectHubHero>div>small,.characterVaultHead>div>small,.forgeStageHeader>div>small{font-size:12px;line-height:1.25;letter-spacing:.15em}.forgeMain>.view>.title h2,.projectHubHero h2,.characterVaultHead h2,.forgeStageHeader h2{font-family:var(--forge-font-ui);font-size:clamp(30px,3vw,42px);font-weight:720;line-height:1.05;letter-spacing:-.025em}.forgeMain>.view>.title button{min-height:40px;font-size:13px}
.forgeMain .panel p,.forgeMain .cards article p{font-size:14px;line-height:1.55}.forgeMain .panel>small,.forgeMain .cards article>small,.forgeMain .micro{font-size:12px;line-height:1.4}.forgeMain .panel h3,.forgeMain .cards article h3{font-size:18px;line-height:1.2}.forgeMain label{font-size:13px;line-height:1.4}.forgeMain input,.forgeMain textarea,.forgeMain select{font-size:15px;line-height:1.45}.forgeMain .statusRow,.forgeMain .metric{font-size:13px;line-height:1.4}.forgeMain .statusRow b,.forgeMain .metric b{font-size:13px}.forgeMain .lock{font-size:12px;line-height:1.45}.forgeMain .tags span{font-size:11px}
.dashHeroCopy small,.dashSectionHead small,.dashPromoCopy small,.dashComposerPreview small{font-size:11px}.dashHeroCopy p,.dashPromoCopy p{font-size:15px;line-height:1.55}.dashActionGrid button b,.dashToolGrid article b{font-size:14px}.dashActionGrid button small,.dashToolGrid article small,.dashStatusList em,.dashStatusList b{font-size:12px}.dashSectionHead h3,.dashComposerPreview h3{font-size:20px}
.composerHead small,.statusHead small,.preflightCopy small,.forgeStatusPanel>small{font-size:11px}.composerHead h3,.statusHead h3{font-size:19px}.cinematicChips button{font-size:13px}.modeContext{font-size:13px}.forgeControls label{font-size:12px}.forgeControls select{font-size:14px}.preflightCopy strong{font-size:15px}.preflightCopy em{font-size:12px;line-height:1.4}.composerFooter button{min-height:44px;font-size:13px}
.projectHubHero p{font-size:15px;line-height:1.55}.projectFilterPills button,.projectFilterBar input{font-size:13px}.projectGenesisPanel{font-family:var(--forge-font-ui)}.projectGenesisHeader small,.projectDirectorHead small,.projectDNAHeader small,.projectDNASection>small,.projectBlueprintDeck>small,.projectGenesisFootSignal small{font-size:11px}.projectGenesisHeader h3{font-size:20px}.genesisField>small,.genesisBriefMeta,.projectTypeCards small,.projectChoiceGrid b,.aspectChoiceGrid b,.projectDurationChoices small,.styleChoiceGrid button,.workflowCards small{font-size:11px}.genesisField input,.genesisField textarea{font-size:15px}.projectTypeCards b,.workflowCards b{font-size:13px}.projectBlueprintDeck h4{font-size:18px}.projectBlueprintNote{font-size:12px;line-height:1.45}
#characters .characterVaultHead small{font-size:11px;line-height:1.25}#characters .characterVaultHead h2{font-family:var(--forge-font-ui);font-size:clamp(28px,2.4vw,38px);font-weight:720}#characters .characterVaultHead p{font-size:14px;line-height:1.5}#characters .characterHeadActions button,#characters .characterTabs button{font-size:11px;line-height:1.2}.characterLabTelemetry{height:auto;min-height:32px;font-size:11px;line-height:1.25}.characterMobileRail button{font-size:11px}.characterPaneHead small{font-size:11px}.characterPaneHead h3{font-size:15px}.characterSearchShell input,#characterSearch{font-size:11px}.characterFilterRail button{font-size:11px}#characterCastStatus{font-size:11px;line-height:1.35}#characters .characterCardBody h3{font-size:13px}#characters .characterCardBody p{font-size:11px;line-height:1.4}.characterBadge{font-size:11px}.characterFlowRail button span,.characterFlowRail button b{font-size:11px}.characterStep>label,.characterInlineFields label,.characterFieldGroup>span{font-size:11px!important}.characterTypeCards button b{font-size:11px}.characterTypeCards button small{font-size:11px}.characterInstructionCard p,.characterReferenceHelp{font-size:11px;line-height:1.45}.characterReferenceMatrix b{font-size:11px}.characterReferenceMatrix span{font-size:11px;line-height:1.4}.characterDnaLocks b{font-size:11px}.characterDnaLocks small{font-size:11px}.characterModeRail button,.characterWorkspaceFoot button,.characterEntityActions button,.characterVoiceActions button{font-size:11px}.characterPromptSignal b,.characterPromptSignal small{font-size:11px}#characterCreationPrompt{font-size:14px;line-height:1.5}.characterBlueprintHead small,.characterBlueprintGrid small{font-size:11px}.characterBlueprintHead b,.characterBlueprintGrid b{font-size:11px}.characterDraftGuardCard small{font-size:11px}.characterDraftGuardCard p{font-size:12px;line-height:1.5}
.forgeAudioTitle small,.audioPanelHead small,.audioEditHead small,.audioMixHeader small,.audioPluginHead small,.audioBottom small{font-size:11px}.forgeAudioTitle h2{font-size:clamp(30px,3vw,42px)}.forgeAudioTitle p{font-size:14px;line-height:1.5}.audioTopActions button,.audioTopActions .upload{font-size:12px}.audioTransport button,.audioWindowTabs button,.audioCommandStrip button,.audioClipToolbar button,.audioBottom button{font-size:11px}.audioTimeDisplay small,.audioTransport label,.audioEngineReadout,.audioWindowTabs span,.audioToolGroup small,.audioEditStatus,.audioMixLegend{font-size:11px}.audioGeneratorHead small{font-size:11px}.audioGeneratorHead b{font-size:16px}.audioGeneratorHead p,.audioGeneratorMessage{font-size:12px;line-height:1.5}.audioGeneratorTabs button{font-size:12px}.audioGeneratorPane label{font-size:12px}.audioGeneratorPane input,.audioGeneratorPane textarea,.audioGeneratorPane select{font-size:14px}.audioInspector label{font-size:11px}.audioEmpty,.audioPluginStatus{font-size:12px;line-height:1.45}.audioConsoleTrackHead small,.audioConsoleSection small,.audioConsoleName,.audioInsertSlot,.audioIoPlate{font-size:11px}.audioBottom b{font-size:13px}
.forgeStageHeader p{font-size:14px;line-height:1.5}.forgeStageProject small,.forgeStageRail small,.stagePanelHead small,.exodusTelemetry small,.exodusSignal small,.revelationSignal>small,.revelationDeliveryHead small,.revelationLaunch small{font-size:11px}.forgeStageProject b,.stageNode b{font-size:12px}.stagePanelHead h3,.exodusSide h3,.revelationSignal h3{font-size:18px}.exodusTelemetry b,.revelationScore b{font-size:20px}.exodusTelemetry span{font-size:11px}.exodusLane b,.exodusSide button b,.revelationSystems button b,.revelationChecklist button b,.revelationPresets b{font-size:13px}.exodusLane p,.exodusLane small,.exodusSide button small,.revelationSystems button small,.revelationChecklist button small,.revelationPresets small{font-size:11px;line-height:1.4}.revelationSignal>div{font-size:12px}.revelationDeliveryHead b,.revelationLaunch b{font-size:14px}
.exportLiveState{font-size:11px}.exportSectionHead small,.exportActionBar small{font-size:11px}.exportSectionHead h3{font-size:18px}.exportSectionHead>span{font-size:11px}.exportNameField{font-size:12px}.exportNameField input{font-size:14px}.exportOptionGroup legend{font-size:11px}.exportOptionRail button b{font-size:12px}.exportOptionRail button small{font-size:11px;line-height:1.3}.exportTwinGrid button{font-size:12px}.exportActionBar b{font-size:11px}.exportActionBar button{font-size:12px;min-height:44px}
#runwayPreflight>.panel>h3,#runwayPreflight .runwayPanel h3,#billing .billingHero h3{font-size:19px}#runwayPreflight>.panel>p,#runwayPreflight .runwayPanel p,#billing .billingHero p{font-size:14px;line-height:1.55}.runwayPanel label,.runwayPanel .runwayCheck{font-size:13px}.runwayPanel button,#paidGenerationPurchases button,#billing .billingHero button{min-height:44px;font-size:13px}.paidGenerationBalance{margin:14px 0;padding:16px;border:1px solid rgba(105,226,176,.25);border-radius:12px;background:rgba(15,62,48,.2)}.paidGenerationBalance .statusRow{font-size:14px}.paidCreditPacks{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:16px}.paidCreditPacks>h4,.paidCreditPacks>p{grid-column:1/-1}.paidCreditPacks h4,#paidGenerationPurchases>h4{font-size:19px}.paidCreditPacks .billingPlan{margin:0}.billingPlan h3{font-size:18px}.billingPlan small{font-size:11px}.billingPlan p,.billingPlan .statusRow{font-size:13px}
.nanoAcademyLaunch b{font-size:11px}.nanoAcademyLaunch small,.nanoAcademyLaunch em{font-size:11px}.nanoHudKicker,.nanoEyebrow{font-size:11px}.nanoHudTitle{font-size:14px}.nanoHudCounter{font-size:11px}.nanoHud button,.nanoTipCard button{font-size:11px}.nanoLibrarySummary h3{font-size:15px}.nanoLibrarySummary p{font-size:12px}.nanoSearch>span{font-size:11px}.nanoModuleTop b{font-size:12px}.nanoModuleTop i{font-size:11px}.nanoModuleCard strong{font-size:13px}.nanoModuleCard>small{font-size:11px}.nanoLessonLine>span{font-size:11px}.nanoPractice b,.nanoActionState{font-size:11px}.nanoPractice span,.nanoAvailability,.nanoTargetUnavailable{font-size:11px}.nanoTemplateConfirm p,.nanoTipCard p{font-size:12px}
@media(max-width:900px){.forgeSideNav button{font-size:12px}.forgeMain>.view>.title h2,.projectHubHero h2,.characterVaultHead h2,.forgeStageHeader h2{font-size:30px}.forgeTopbar button,.forgeTopbar .creditPill{font-size:12px}.paidCreditPacks{grid-template-columns:1fr}.characterLabTelemetry{font-size:11px}}
@media(max-width:600px){.studioAuthCard p{font-size:15px}.forgeMain .panel p,.forgeMain .cards article p{font-size:13px}.forgeMain input,.forgeMain textarea,.forgeMain select{font-size:16px}.characterModeRail button,.characterWorkspaceFoot button{font-size:11px}.forgeStageHeader p{font-size:13px}}
@media(forced-colors:active){button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role="button"]:focus-visible{outline-color:Highlight}}

/* Readable floor for the dense professional workspaces. */
:is(#characters,#audioStudio,#exodus,#revelation,#exports) :is(small,legend){font-size:11px!important;line-height:1.35!important}
:is(#characters,#audioStudio,#exodus,#revelation,#exports) label{font-size:12px!important;line-height:1.4!important}
:is(#characters,#audioStudio,#exodus,#revelation,#exports) button{font-size:12px!important;line-height:1.25!important}
:is(#characters,#audioStudio,#exodus,#revelation,#exports) button b{font-size:12px!important;line-height:1.25!important}
:is(#characters,#audioStudio,#exodus,#revelation,#exports) button :is(small,span,em){font-size:11px!important;line-height:1.3!important}
:is(#characters,#audioStudio,#exodus,#revelation,#exports) :is(input,select,textarea){font-size:14px!important;line-height:1.45!important}
#characters :is(.characterCardBody p,.characterInstructionCard p,.characterReferenceHelp,.characterDraftGuardCard p),#audioStudio :is(.audioGeneratorMessage,.audioEmpty,.audioPluginStatus),#exodus .exodusLane p,#revelation .revelationSignal span,#exports .exportLiveState{font-size:12px!important;line-height:1.45!important}
:is(#characters .characterVaultHead,#audioStudio .forgeAudioTitle,#exodus .forgeStageHeader,#revelation .forgeStageHeader) p{font-size:14px!important;line-height:1.5!important}
.nanoAcademyLaunch :is(b,small,em),.nanoAcademyRoot :is(small,label),.nanoTipCard small{font-size:11px!important;line-height:1.35!important}
.nanoAcademyRoot button,.nanoTipCard button{font-size:11px!important;line-height:1.25!important;min-height:40px}
.nanoAcademyRoot :is(.nanoWelcome p,.nanoFinish p,.nanoConfirm p,.nanoLessonBody,.nanoLibrarySummary p,.nanoPractice span,.nanoAvailability,.nanoTargetUnavailable),.nanoTipCard p{font-size:12px!important;line-height:1.5!important}

@media(max-width:600px){
  :is(#characters,#audioStudio,#exodus,#revelation,#exports) :is(input,select,textarea){font-size:16px!important}
  body.studioActive .forgeTopActions{width:100%;min-width:0;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin}
  body.studioActive .forgeTopActions>*{flex:0 0 auto}
}
