/* Use the workbench palette without changing any global theme variables. */
.humanize-task{margin:18px 0 20px;padding:18px 20px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(125deg,var(--ps),var(--card));color:var(--text)}
.humanize-heading{display:flex;gap:12px;align-items:center}.humanize-heading h2,.humanize-heading h3{margin:3px 0;font-size:19px;color:var(--text)}
.humanize-symbol{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--p);color:#fff;font-size:23px}
.humanize-eyebrow{font-size:11px;font-weight:650;color:var(--p)}.humanize-badge{margin-left:auto;font-size:11px;color:var(--p);white-space:nowrap}
.humanize-description{font-size:13px;line-height:1.8;margin:14px 0!important;max-width:780px}.humanize-actions{margin:12px 0 0!important}
.humanize-actions .btn{min-height:43px}.humanize-note,.humanize-error{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.humanize-error{color:var(--pd);padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.humanize-detail{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.humanize-detail summary{cursor:pointer;font-size:12px;color:var(--p);min-height:28px}
.humanize-script{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;max-height:65svh;overflow:auto;margin-top:12px}
.humanize-detail ul{padding-left:20px;font-size:12px;line-height:1.8}.humanize-page{margin-top:0}
.humanize-steps{display:flex;list-style:none;padding:0;margin:0 0 24px;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px}
.humanize-steps li{display:flex;align-items:center;gap:7px;flex:1;font-size:12px;line-height:1.5;color:var(--muted)}
.humanize-steps li span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:var(--bg);color:var(--muted);flex:none}
.humanize-steps [aria-current],.humanize-steps .is-done{color:var(--p)}.humanize-steps [aria-current] span{background:var(--p);color:#fff}
.humanize-results{margin-top:26px}.humanize-results>h3{font-size:17px}.humanize-assessment{font-size:13px;line-height:1.8;color:var(--muted)}
.humanize-change{padding:16px;margin:14px 0;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.humanize-change-title{display:flex;justify-content:space-between;gap:10px;font-size:13px}.humanize-change-title span{font-size:11px;color:var(--muted)}
.humanize-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.humanize-comparison>div{min-width:0;background:var(--bg);padding:12px;border-radius:10px}
.humanize-comparison small{display:block;color:var(--muted);font-weight:600;margin-bottom:6px}.humanize-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.8;margin:0}
.humanize-change-reason{font-size:12px;line-height:1.7;margin:12px 0 0;color:var(--muted)}.humanize-change-reason b{color:var(--text)}
.humanize-warning{font-size:13px;line-height:1.8;padding:12px;border:1px solid var(--line);border-radius:12px}
.prepare-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.prepare-settings>label{margin:0!important;min-width:0}.prepare-settings>p{grid-column:1/-1;margin:0}
@media(max-width:600px){.humanize-task{padding:16px;border-radius:15px}.humanize-heading{gap:10px}.humanize-heading h3{font-size:18px}.humanize-badge{font-size:10px}.humanize-actions .btn{width:100%}}
@media(max-width:600px){.humanize-heading h2{font-size:18px}.humanize-comparison,.prepare-settings{grid-template-columns:1fr}.humanize-steps{gap:6px}.humanize-steps li{font-size:11px;gap:5px}.humanize-badge{white-space:normal;text-align:right}}

.humanize-result-state{padding:12px 14px;border-radius:10px;background:var(--bg);color:var(--text);font-weight:650;font-size:13px;line-height:1.6}.humanize-production-link{margin-top:22px;padding-top:14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.humanize-attempts{margin-top:20px;font-size:12px}.humanize-attempts h3{font-size:14px}.humanize-attempts ol{padding-left:20px}.humanize-attempts li{padding:5px 0}.humanize-attempts span{margin-left:10px}.humanize-attempts small{display:block;color:var(--muted)}
.humanize-scope{border:0;padding:0;margin:16px 0;display:flex;gap:8px;flex-wrap:wrap}.humanize-scope legend{font-size:12px;color:var(--muted);margin-bottom:8px}.humanize-scope .btn,.humanize-reader-tabs .btn{min-height:40px;flex:1}.humanize-scope .is-selected,.humanize-reader-tabs .is-selected{background:var(--p);color:#fff;border-color:var(--p)}
.humanize-manuscript{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--card);margin-bottom:24px}.humanize-manuscript h3{font-size:16px;margin:0 0 12px}.humanize-reader-tabs{display:flex;gap:8px}.humanize-legend{font-size:12px;line-height:1.7;color:var(--muted)}.humanize-annotated{margin:0;max-height:70svh;padding:12px;background:var(--bg);border-radius:10px}.humanize-annotated mark{color:inherit;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.humanize-mark-before{background:#fff0b3;color:#594408!important}.humanize-mark-after{background:#c9f0d5;color:#174d2b!important}
.humanize-refine-open{margin-top:12px;font-size:12px}.humanize-refine{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.humanize-refine label{font-size:13px;font-weight:600}.humanize-refine small{display:block;font-weight:400;color:var(--muted);line-height:1.6;margin:4px 0 8px}.humanize-refine textarea{box-sizing:border-box;width:100%;resize:vertical;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit}.humanize-refine p{font-size:12px;line-height:1.7;color:var(--muted)}
.humanize-coverage{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--card);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.humanize-coverage h3{font-size:16px;margin:0 0 9px}.humanize-coverage p{margin:8px 0}.humanize-coverage-counts{display:flex;flex-wrap:wrap;gap:6px 14px}.humanize-coverage-counts span{white-space:nowrap}.humanize-coverage-note,.humanize-coverage-limitations,.humanize-coverage-range,.humanize-coverage-hash{color:var(--muted)}.humanize-coverage-limitations,.humanize-coverage-issues{padding-left:20px;margin:10px 0}.humanize-coverage-detail summary{display:flex;align-items:center;min-height:44px;font-size:13px}.humanize-coverage-units{list-style:none;padding:0;margin:8px 0 0;max-height:62svh;overflow:auto;overscroll-behavior:contain}.humanize-coverage-unit{padding:14px 0;border-top:1px solid var(--line)}.humanize-coverage-unit:first-child{border-top:0}.humanize-coverage-unit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}.humanize-coverage-unit-heading>b{font-size:13px;min-width:0;flex:1 1 170px}.humanize-coverage-unit-heading>span{padding:2px 8px;border-radius:6px;background:var(--bg);font-size:11px;white-space:nowrap}.humanize-coverage-unit [data-review-status="needs_review"],.humanize-coverage-unit [data-review-status="unreviewed"]{border:1px solid var(--line);color:var(--pd)}.humanize-coverage-hash code{font-size:10px;word-break:break-all}.humanize-coverage-reported{color:var(--pd)}
.humanize-coverage-detail summary::after{content:"⌄";margin-left:auto;padding-left:10px;font-size:17px}.humanize-coverage-detail[open]>summary::after{content:"⌃"}
