.assessment-toolbar { position:sticky;top:0;z-index:1100;background:rgba(250,250,247,.97);border-bottom:1px solid #e6e3da;backdrop-filter:blur(14px);color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; }
.assessment-toolbar-inner { max-width:1040px;margin:0 auto;padding:14px 24px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap; }
.assessment-heading { display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;font-size:14px; }
.assessment-home { color:#2a4d7a;text-decoration:none;font-size:13px; }
.assessment-title { font-size:16px; }
.assessment-meta { color:#686873;font-size:12px; }
.assessment-actions { display:flex;gap:8px;flex-wrap:wrap; }
.assessment-actions button { font:inherit;font-size:13px;padding:9px 16px;border:1px solid #dad8ce;border-radius:20px;background:white;color:#2a4d7a;cursor:pointer;min-height:38px; }
.assessment-actions .assessment-primary { background:#2a4d7a;border-color:#2a4d7a;color:white; }
.assessment-actions button[hidden] { display:none; }
.assessment-actions button:disabled { opacity:.5;cursor:wait; }
#assessment-status { flex-basis:100%;font-size:12px;line-height:1.5;color:#686873;margin:0; }
#assessment-status.assessment-error { color:#a04141; }
body[data-assessment-mode="view"] #quiz, body[data-assessment-mode="view"] #qform { opacity:.92; }
body[data-assessment-mode="view"] #quiz input:disabled, body[data-assessment-mode="view"] #qform input:disabled,
body[data-assessment-mode="view"] textarea:disabled,body[data-assessment-mode="view"] select:disabled { color:#1c1c1e;-webkit-text-fill-color:#1c1c1e;opacity:1; }
body[data-assessment-mode="view"] #genBtn { display:none; }
/* 历史及后台回放完整展开答案，不显示问卷分页或提交区。 */
body[data-assessment-mode="view"] .step-page { display:block !important; }
body[data-assessment-mode="view"] .step-nav,body[data-assessment-mode="view"] .progress { display:none !important; }
.assessment-admin-links { max-width:1040px;margin:14px auto;padding:0 24px;box-sizing:border-box;display:flex;justify-content:flex-end;font-size:13px; }
.assessment-admin-links a { color:#2a4d7a; }
@media print { .assessment-admin-links { display:none; } }
body[data-assessment-mode="edit"] #results, body[data-assessment-mode="new"] #results, body[data-assessment-mode="draft"] #results { display:none !important; }
#results, #quiz, #qform { scroll-margin-top:130px; }
@media(max-width:600px) { .assessment-toolbar-inner { padding:10px 16px;gap:8px; }.assessment-heading{width:100%;gap:6px 12px}.assessment-meta{margin-left:auto}.assessment-actions{width:100%}.assessment-actions button{flex:1;padding:10px 12px}#results,#quiz,#qform{scroll-margin-top:170px} }
@media print { .assessment-toolbar { display:none; } }
body[data-assessment-locked="true"] #quiz,body[data-assessment-locked="true"] #qform{display:none}
.profile-form,.assessment-draft-choice:not(:empty){box-sizing:border-box;background:#fff;border:1px solid #e6e3da;border-radius:16px;padding:24px;margin:24px auto;color:#1c1c1e;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;max-width:1040px}
.profile-form-heading{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin-bottom:14px}.profile-form-heading h2,.assessment-draft-choice h2{margin:0;font-size:18px;color:#2a4d7a}.profile-form-phone{font-size:13px;color:#686873;overflow-wrap:anywhere}
.profile-form button,.assessment-draft-choice button{font:inherit;font-size:13px;border:1px solid #cdd6e1;border-radius:18px;padding:9px 14px;background:#fff;color:#2a4d7a;cursor:pointer;min-height:38px}.profile-form button:disabled{opacity:.5;cursor:wait}.profile-form-heading button{margin-left:auto}.profile-form-toggle{margin:0 0 16px}.profile-form-save{margin-top:16px;background:#2a4d7a!important;color:white!important}
.profile-form-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px 20px;margin:12px 0 16px}.profile-form-summary div{min-width:0}.profile-form-summary dt{font-size:12px;color:#686873}.profile-form-summary dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}
.profile-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px}.profile-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#4a4a52;min-width:0}.profile-form input,.profile-form select{box-sizing:border-box;width:100%;min-width:0;height:42px;padding:8px 10px;font:inherit;font-size:14px;color:#1c1c1e;border:1px solid #d9d9d2;background:#fafaf7;border-radius:8px}.profile-form input:focus,.profile-form select:focus{outline:2px solid #2a4d7a;outline-offset:1px}.profile-form input:disabled,.profile-form select:disabled{color:#686873;background:#f1f1ed}.profile-form [data-profile-form="identify"]{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.profile-form [data-profile-form="identify"] label{flex:1 1 180px}.profile-form [data-profile-form="identify"] button{flex:0 0 auto}.profile-form-hint,.profile-form-status,.assessment-draft-choice p{font-size:13px;line-height:1.65;color:#686873}.profile-form-status{margin-bottom:0}.profile-form-status:empty{display:none}.assessment-draft-choice button{margin-right:10px}
@media(max-width:620px){.profile-form,.assessment-draft-choice:not(:empty){padding:18px;margin:18px auto}.profile-form-grid,#center-profile-host .profile-form-grid{grid-template-columns:1fr}.profile-form-summary,#center-profile-host .profile-form-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-form-heading h2{font-size:17px}.profile-form-phone{min-width:0;max-width:100%}}
@media(max-width:339px){.profile-form-summary,#center-profile-host .profile-form-summary{grid-template-columns:1fr}}
@media print{.profile-form form,.profile-form button,.profile-form-hint,.profile-form-status,.assessment-draft-choice{display:none}.profile-form{border:0;padding:0}}
