/* Unified Apple website font order. Fonts are resolved from the visitor's device. */
html:root {
  --studio-apple-font: "SF Pro SC", "SF Pro Text", "SF Pro Display", "HanHei SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  --cs-font: var(--studio-apple-font);
  --ui-font: var(--studio-apple-font);
}
html body,html body *,html body #root,html body #root *,html body button,html body input,html body textarea,html body select,html body option,html body [contenteditable] {
  font-family: var(--studio-apple-font) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html body ::placeholder { font-family:var(--studio-apple-font)!important; }
html body ::file-selector-button { font-family:var(--studio-apple-font)!important; }
/* Readable typography scale; preserve headings and icon sizing. */
html:root { --type-body:#303640; --type-secondary:#505a68; --type-placeholder:#626c7a; }
html body { font-size:14px; text-rendering:optimizeLegibility; }
html body #root :is(.cw-v3,.img-studio,.video-workbench,.admin-dashboard-screen,.cw-library-dialog) { font-size:14px; }
html body #root :is(.cw-v3,.img-studio,.video-workbench,.admin-dashboard-screen,.cw-library-dialog) :is(p,label) { text-shadow:none!important; }
html body #root#root :is(.cw-v3,.img-studio,.video-workbench,.admin-dashboard-screen,.cw-library-dialog,.media-node,.seedance-v3-node) :is(textarea,input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),select) {
 font-size:16px!important;font-weight:400!important;line-height:1.75!important;letter-spacing:0!important;color:var(--type-body)!important;text-shadow:none!important;font-style:normal!important;
}
html body #root#root :is(textarea,input)::placeholder { color:var(--type-placeholder)!important;opacity:1!important;font-weight:400!important;letter-spacing:0!important;text-shadow:none!important; }
html body #root#root :is(.img-field>span,.cw-v3-field>span,.img-section-label,.video-workbench-field>span) { font-size:14px!important;font-weight:500!important;line-height:1.65;color:var(--type-body)!important;text-shadow:none!important; }
html body #root#root .studio-disclosure-copy strong { font-size:15px!important;font-weight:600!important;color:var(--type-body)!important;line-height:1.5;letter-spacing:0;text-shadow:none!important; }
html body #root#root :is(.studio-disclosure-copy small,.model-portrait-description,.cw-v3-intro,.img-hero p,.as-person small) { font-size:13px!important;font-weight:400!important;color:var(--type-secondary)!important;opacity:1!important;line-height:1.7!important;letter-spacing:0!important;text-shadow:none!important; }
html body #root#root :is(.model-portrait strong,.studio-choice-card strong) { font-weight:600!important;text-shadow:none!important;letter-spacing:0!important; }
html body #root#root :is(.studio-disclosure-hint,.studio-global-topbar button,.cw-v3-actions button,.img-submit button,.video-workbench-actions button) { font-weight:500!important;letter-spacing:0!important;text-shadow:none!important; }
@media(max-width:760px){html body #root#root :is(.cw-v3,.img-studio,.video-workbench) textarea{font-size:16px!important;line-height:1.8!important}}
