/* New isolated TS-only scope. Canonical font bytes are served from this same origin. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('polish-assets/font-0569c822cab6.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('polish-assets/font-9bd8ba39c9d5.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('polish-assets/font-18e69125ce1f.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('polish-assets/font-8257aa2626c3.ttf') format('truetype')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url('polish-assets/font-e7e0cf40cb44.ttf') format('truetype')}
body.employee-spec-polished{font-family:'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif}
.employee-spec-polished :is(.app-header,.employee-nav,.device-notice,.er-entry,.employee-onboarding,.field-safety-assistant,.er-profile){font-family:'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif!important}
.employee-spec-polished #employee-main :is(p,small,label,input,select,textarea,button,summary,dt,dd){font-family:'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif!important}
.employee-spec-polished #employee-main :is(h1,h2,h3,h4){font-family:Manrope,'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif!important}
/* Named helper surfaces only; no blanket font enlargement of charts, PDFs or source artwork. */
.employee-spec-polished :is(.field-note,.field-hint,.fsa-caption,.fsa-talk-privacy,.fsa-talk-status,.fsa-talk-kicker,.fsa-talk-details,.fsa-inline-note,.fsa-development,.fsa-empty,.fsa-private-library,.fsa-private-library small,.fsa-priority p,.fsa-preview-bar p,.fsa-context small,.fsa-form-grid small,.fsa-library-item small,.fsa-library-item p,.fsa-applicability p,.fsa-applicability small,.fsa-citation-location,.fsa-citation-location dt,.fsa-library-stats strong small,.er-entry-description,.signin-note,.wu-demo-entry,.eo-help,.eo-error,.eo-storage-note,.eo-status,.esp-private-access-note,.esp-gate-caption){font-size:13px!important;line-height:1.65!important;overflow-wrap:anywhere}
.employee-spec-polished :is(.field-note,.field-hint,.fsa-caption,.fsa-talk-privacy,.fsa-talk-status,.fsa-talk-details,.fsa-inline-note,.fsa-development,.fsa-preview-bar p,.fsa-context small,.fsa-form-grid small,.fsa-library-item small,.fsa-applicability p,.eo-help,.eo-error,.eo-storage-note,.eo-status) .bilingual>span+span{font-size:13px!important;line-height:1.65!important}
.employee-spec-polished #device-notice{font-size:13px!important;line-height:1.6!important;white-space:normal;overflow-wrap:anywhere;height:auto}
/* Keep existing controls/events. Only the intended source-search submit is orange. */
.employee-spec-polished .field-safety-assistant button[data-esp-action-role=secondary]{background:#fff!important;color:#914218!important;border:1px solid #d8c9bc!important;box-shadow:none!important}
.employee-spec-polished .field-safety-assistant button[data-esp-action-role=secondary]:hover{background:#fff5ed!important;border-color:#b78058!important}
.employee-spec-polished .field-safety-assistant button[data-esp-action-role=primary]{background:#ee8a50!important;color:#56280f!important;border:1px solid #c46a2e!important;box-shadow:none!important}
.employee-spec-polished .field-safety-assistant button[data-esp-action-role=primary]:hover{background:#e97e41!important}
.employee-spec-polished .field-safety-assistant :is(button,input,select,textarea){max-width:100%;min-width:0}
.employee-spec-polished .field-safety-assistant :is(.fsa-actions,.fsa-talk-controls){flex-wrap:wrap}
.employee-spec-polished .fsa-private-library,.esp-private-access-note{white-space:normal;overflow-wrap:anywhere}
.employee-spec-polished .esp-entry-explanation{background:#fff8f1;border:1px solid #f0e3d6;border-radius:12px;padding:16px;margin:16px 0}
.employee-spec-polished .esp-entry-explanation h4{font-size:14px;line-height:1.5;margin:0 0 10px}
.employee-spec-polished .esp-entry-explanation p{font-size:13px;line-height:1.7;margin:0 0 10px}
.employee-spec-polished .esp-entry-explanation p:last-child{margin-bottom:0}
.employee-spec-polished .esp-entry-explanation .bilingual>span+span{font-size:13px!important;line-height:1.7!important}
.employee-spec-polished .esp-fictional-preview{display:flex;justify-content:center;align-items:center;text-align:center;padding:12px 15px;min-height:44px;border:1px solid #ddc4b1;border-radius:11px;background:#fff9f3;color:#914218;line-height:1.6;text-decoration:none;font-size:13px}
.employee-spec-polished .esp-fictional-preview:hover{background:#ffeee0}.employee-spec-polished .esp-gate-caption{margin:8px 0 0;color:#68635d}
.employee-spec-polished .app-header .brand{background:transparent!important;border:0!important;box-shadow:none!important}
/* Static first-paint markup works before JS/IndexedDB; no simulated countdown. */
.esp-boot{font-family:'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif;max-width:960px;margin:12px auto;padding:32px;border:1px solid #eee4dc;border-radius:22px;background:#fff;box-shadow:0 12px 38px #3a292106}
.esp-boot-kicker{font-size:11px;font-weight:700;letter-spacing:.1em;color:#a34708;margin:0 0 20px}.esp-boot h1{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(25px,3vw,38px);line-height:1.25;margin:0 0 20px;color:#282625}.esp-boot h1>span{display:block;font-size:18px;line-height:1.5;font-weight:500;margin-top:7px}.esp-boot p:not(.esp-boot-kicker){font-size:14px;line-height:1.7;color:#68635d;max-width:760px}.esp-boot p>span{display:block;font-size:13px;line-height:1.7;margin-top:5px}.esp-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:28px}.esp-skeleton i{height:110px;background:linear-gradient(120deg,#f5f1ed,#fff8f0);border:1px solid #f2eae3;border-radius:15px}.esp-retry{font:700 14px/1.5 'DM Sans',sans-serif;min-height:44px;border:1px solid #c46a2e;border-radius:11px;padding:11px 18px;background:#ee8a50;color:#56280f;cursor:pointer}.esp-boot :focus-visible,.employee-spec-polished :is(.esp-fictional-preview,.esp-retry):focus-visible{outline:3px solid #a34708;outline-offset:4px}
@media(max-width:700px){.employee-spec-polished .field-safety-assistant .fsa-talk-main{min-width:0;max-width:100%}.employee-spec-polished .field-safety-assistant .fsa-question-top{flex-wrap:wrap;gap:12px}.employee-spec-polished .field-safety-assistant .fsa-question-bottom>label{min-width:0}.employee-spec-polished .field-safety-assistant .fsa-question-bottom .fsa-actions{display:flex;gap:12px;justify-content:space-between}.employee-spec-polished .field-safety-assistant .fsa-context small{border-left:0;padding-left:0;flex-basis:100%}.employee-spec-polished .field-safety-assistant :is(.fsa-source-link,.fsa-text-button){font-size:13px;line-height:1.6}.employee-spec-polished .er-entry-card{min-width:0}.esp-boot{padding:24px 19px;border-radius:17px}.esp-boot h1>span{font-size:17px}.esp-skeleton{gap:10px;grid-template-columns:1fr}.esp-skeleton i{height:66px}}
@media(max-width:420px){.employee-spec-polished .field-safety-assistant .fsa-talk-controls{display:flex;gap:10px}.employee-spec-polished .field-safety-assistant .fsa-talk-controls>div{flex:1 1 100%;min-width:0}.employee-spec-polished .field-safety-assistant .fsa-talk-controls>div>button{width:100%}.employee-spec-polished .field-safety-assistant :is(.fsa-talk-stop,.fsa-talk-read){flex:1 1 120px;min-width:0}.employee-spec-polished .field-safety-assistant #fsa-question-form .fsa-actions{align-items:stretch}.employee-spec-polished .field-safety-assistant #fsa-question-form .fsa-actions>button{flex:1 1 100%;min-height:44px}.employee-spec-polished .esp-entry-explanation{padding:14px}.employee-spec-polished #device-notice{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.esp-boot *,.employee-spec-polished .field-safety-assistant [data-esp-action-role]{animation:none!important;transition:none!important}}
.employee-spec-polished .field-safety-assistant :is(label,summary){font-size:13px!important}
.employee-spec-polished .field-safety-assistant [data-esp-action-role]{font-size:14px!important;line-height:1.5!important}
.employee-spec-polished .field-safety-assistant :is(p,small,label,summary,.fsa-citation-location) .bilingual>span+span{font-size:max(13px,.86em)!important;line-height:1.65!important}
.employee-spec-polished :is(#device-notice,.esp-private-access-note,.esp-gate-caption) .bilingual>span+span{font-size:13px!important;line-height:1.65!important}

/* Hosted QA found these specific assistant and language-panel labels below 13px. */
.employee-spec-polished .field-safety-assistant :is(.fsa-kicker,.fsa-context,.fsa-source-link,.fsa-text-button,.fsa-example,.fsa-small-badge,.fsa-preview-bar>span,.fsa-library-stats span,.fsa-source-locator,.fsa-talk-details p){font-size:13px!important;line-height:1.6!important}
.employee-spec-polished .field-safety-assistant :is(.fsa-kicker,.fsa-context,.fsa-source-link,.fsa-text-button,.fsa-example,.fsa-small-badge,.fsa-preview-bar>span,.fsa-library-stats span,.fsa-source-locator,.fsa-talk-details p) .bilingual>span{font-size:13px!important;line-height:1.6!important}
.employee-spec-polished .language-visibility,.employee-spec-polished .language-visibility :is(summary,p,small,strong,.language-visibility-company,.language-visibility-english,.language-visibility-development,.button.small,.bilingual>span){font-size:13px!important;line-height:1.6!important}

/* Private-v3 measured gaps: exact source control, Documents helpers/actions, QC context labels. */
.employee-spec-polished .field-safety-assistant [data-fsa="clear-source"],.employee-spec-polished .field-safety-assistant [data-fsa="clear-source"] .bilingual>span{font-size:13px!important;line-height:1.6!important}
.employee-spec-polished #employee-main:has(#document-search) :is(.badge,.document-card>small,.document-category>small,.button,.library-search label,.document-add label,.form-language-choice),.employee-spec-polished #employee-main:has(#document-search) :is(.badge,.document-card>small,.document-category>small,.button,.library-search label,.document-add label,.form-language-choice) .bilingual>span{font-size:13px!important;line-height:1.6!important}
.employee-spec-polished .employee-qc-records :is(.eq-eyebrow,.eq-context dt),.employee-spec-polished .employee-qc-records :is(.eq-eyebrow,.eq-context dt) .bilingual>span{font-size:13px!important;line-height:1.6!important}

/* Final independent phone review: compact language tag and source step numbers. */
.employee-spec-polished .er-language-code,.employee-spec-polished .field-safety-assistant :is(.fsa-priority li>span,.fsa-step){font-size:13px!important;line-height:1.6!important}
