#weAssessment{width:min(1180px,calc(100vw - 32px));max-width:none;max-height:94vh;max-height:94dvh;margin:auto;padding:0;border:1px solid #dbe3ef;border-radius:24px;background:#fff;color:#24344d;overflow:auto;box-shadow:0 24px 80px #142b4c44}
#weAssessment::backdrop{background:#17284199}
.we-assessment-header{position:sticky;top:0;z-index:2;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 28px;border-bottom:1px solid #e4eaf3}
.we-assessment-header h2{font-size:25px;margin:0}.we-assessment-header button,.we-assessment-footer button,.we-tabs button{font:inherit;padding:12px 18px;border:1px solid #c7d4e8;border-radius:12px;background:#f4f7fc;color:#24344d;cursor:pointer;min-height:46px}
.we-assessment-content{padding:24px 28px}.we-score-overview{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:center;margin:16px 0 22px}
.we-score-ring{--we-score-angle:0deg;width:180px;height:180px;border-radius:50%;background:conic-gradient(#476cf0 var(--we-score-angle),#edf1fa 0);display:grid;place-items:center}
.we-score-ring>div{width:150px;height:150px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:25px;color:#69758b}.we-score-ring strong{font-size:60px;color:#315ce5}
.we-score-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.we-metric{background:#f4f6fb;border-radius:16px;padding:18px;min-width:0}.we-metric-heading{display:flex;justify-content:space-between;gap:8px;font-size:18px;margin-bottom:12px}.we-metric strong{white-space:nowrap}.we-metric progress{width:100%;height:9px;accent-color:#446aec;border:0}
#weAIStatus{margin:14px 0;line-height:1.7;font-size:18px}.we-ai-error{color:#b62039}#weScoreStats{font-size:16px;color:#63728a;margin:12px 0;line-height:1.8}#weGateNote{background:#fff1d5;padding:14px;border-radius:12px;line-height:1.8;color:#775218}
.we-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.we-tabs button.active{background:#3864e7;color:#fff;border-color:#3864e7}.we-feedback-card{padding:20px;border:1px solid #dce5f1;border-radius:15px;margin:14px 0;background:#fafcff}.we-feedback-card h3{font-size:20px;margin:0 0 10px;color:#3154bd}.we-feedback-card p,.we-coverage{line-height:1.9;font-size:18px}.we-coverage{border-top:1px solid #dce5f1;margin-top:15px;padding-top:15px}.we-coverage strong{display:block}.we-coverage span{font-weight:700}.we-coverage-covered{color:#087345}.we-coverage-partial{color:#966000}.we-coverage-missing{color:#b3213e}.we-coverage blockquote{padding:10px 14px;background:#edf2fa;border-radius:8px;font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}
.we-marked,#weCorrected{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;font-size:20px;padding:18px;border:1px solid #dce5f1;border-radius:12px;background:#fbfdff}.we-marked mark{background:#ffe4e9;color:#a41430;border-bottom:2px solid #cf3551}.we-marked mark.we-suggestion{background:#fff0bb;color:#785400;border-color:#b08b22}.we-feedback-card del{color:#aa223b;white-space:pre-wrap}.we-feedback-card ins{color:#087345;white-space:pre-wrap}
.we-assessment-footer{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.we-assessment-footer button:first-child{background:#3864e7;color:#fff;border-color:#3864e7}#weAssessment button:disabled{opacity:.5;cursor:default}#weAssessment [hidden]{display:none!important}.we-ai-settings{margin-top:20px;border-top:1px solid #dce5f1;padding-top:15px}.we-ai-settings summary{cursor:pointer;font-size:17px}.we-ai-settings input{display:block;width:100%;font:inherit;padding:12px;margin:12px 0;border:1px solid #abbdd7;border-radius:10px}.we-ai-note{color:#63728a;font-size:15px;line-height:1.8;margin:12px 0}
@media(max-width:760px){#weAssessment{width:calc(100vw - 12px);border-radius:16px}.we-assessment-header,.we-assessment-content{padding:18px}.we-assessment-header h2{font-size:21px}.we-score-overview{grid-template-columns:1fr;justify-items:center;gap:20px}.we-score-metrics{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.we-metric{padding:14px}.we-metric-heading{font-size:17px}.we-score-ring{width:145px;height:145px}.we-score-ring>div{width:120px;height:120px}.we-score-ring strong{font-size:48px}.we-feedback-card{padding:16px}.we-feedback-card p{font-size:18px}}

#weHistoryList { max-height: 280px; overflow:auto; display:grid; gap:10px; margin:16px 0; }
.we-history-entry { text-align:left; width:100%; white-space:normal; }

.we-history-section { margin:24px 0; padding:20px 24px; background:#fff; border:1px solid #d5dfef; border-radius:18px; }
.we-history-section > summary { cursor:pointer; font-size:20px; font-weight:700; color:#183452; }
