/* FORM interface hierarchy. Reference: 대지분석; never target drawing/graph text. */
:root{--form-family-size:13px;--form-program-size:13.67px;--form-nav-size:13px;--form-section-size:13px;--form-subsection-size:12px;--form-control-size:11px;--form-caption-size:10px;--form-ui-leading:1.4}
body>header.form-unified-header{font-family:Pretendard,sans-serif;font-synthesis:none;line-height:var(--form-ui-leading)}
body>header.form-unified-header :is(.system-family,.brand-family,.workspace-brand>span){font-size:var(--form-family-size)!important;font-weight:500!important;line-height:20px!important;letter-spacing:0!important}
body>header.form-unified-header :is(.system-service,.brand-name,.brand-service,.mw-brand-service){font-size:var(--form-program-size)!important;font-weight:650!important;line-height:20px!important;letter-spacing:0!important}
body>header.form-unified-header :is(button,.workspace-menu>summary,.cad-tool-menu>summary,.form-account-button,.program-project-account,.mw-home-link){font-family:Pretendard,sans-serif!important;font-size:var(--fh-control-size)!important;font-weight:400!important;line-height:1.35!important;letter-spacing:0!important}
body.cad-system>header.form-unified-header :is(#draftingOptions,#exportBtn){font:400 var(--fh-control-size)/1.35 Pretendard,sans-serif!important;padding:0 var(--fh-control-inset)!important}
body>header.form-unified-header :is(.workspace-tabs,.cad-workspace-tabs) button{font-size:var(--form-nav-size)!important;font-weight:600!important;line-height:20px!important}
body>header.form-unified-header :is(.edition,.header-caption,#saveStatus){font-size:var(--form-caption-size)!important;font-weight:400!important;line-height:var(--form-ui-leading)!important;color:var(--fh-muted);letter-spacing:0!important}
body>header.form-unified-header #projectName{font-family:Pretendard,sans-serif;font-size:var(--form-control-size)!important;font-weight:500;line-height:1.4}
/* Section > subsection > controls > supporting copy, without changing panel geometry. */
body.workspace-system.form-tool-workspace :is(.tool-panel,.production-settings-card,.production-piece-review) h2,
body.workspace-system.folder-system :is(.left-memo-head,.right-head) h2,
body.cad-system :is(.palette,.cad-programs) h2{font-size:var(--form-section-size)!important;font-weight:700!important;line-height:1.4!important;letter-spacing:0!important}
body.workspace-system.form-tool-workspace :is(.tool-panel,.production-settings-card,.production-piece-review) h3,
body.workspace-system.folder-system :is(.rule-title,.section-title,.graph-pane-heading>strong),
body.cad-system .palette h3{font-size:var(--form-subsection-size)!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important}
body.workspace-system.form-tool-workspace :is(.canvas-tabs,.model-canvas-header,.guided-viewport-header) button{font-size:var(--form-control-size)!important;font-weight:500;line-height:1.4!important}
body.workspace-system.folder-system :is(.tabs,.scenario-bar,.memo-toolbar) button,
body.cad-system :is(.left-tabs,.cad-color-tabs) button{font-size:var(--form-control-size)!important;line-height:1.4!important;letter-spacing:0}
body.workspace-system.folder-system :is(.preset-desc,.section-desc,.left-graph-status,.graph-pane-heading>span,.memo-footer),
body.workspace-system.form-tool-workspace :is(#workspaceIntro,.panel-workspace-title p,.hint,.upload-note,.preparation-file-note),
body.cad-system .palette :is(.note,.hint,small){font-size:var(--form-caption-size)!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0}
/* CAD retains its document name and controls, with the same brand column. */
body.cad-system>header.form-unified-header{padding:0;gap:4px}
body.cad-system>header.form-unified-header .brand.context-brand{flex:0 0 260px;min-width:260px}
body.cad-system>header.form-unified-header .brand-service{min-width:0}
@media(max-width:900px){body.cad-system>header.form-unified-header .brand.context-brand{min-width:0;flex-basis:260px}body.cad-system>header.form-unified-header .drawing-file-heading{max-width:100%;min-width:0}body.cad-system>header.form-unified-header #projectName{min-width:0;max-width:160px}}
