
*{margin:0;padding:0;box-sizing:border-box;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
body{background:linear-gradient(135deg,#1e3a8a,#3b82f6 60%,#60a5fa);min-height:100vh;padding:16px;color:#111}
.tag{display:inline-block;background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.4);
border-radius:8px;padding:6px 14px;font-size:14px;letter-spacing:6px;margin-bottom:14px}
.card{background:#fff;border-radius:16px;max-width:520px;margin:0 auto;padding:22px 20px;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.qhead{display:flex;align-items:flex-start;gap:8px;margin:18px 0 8px}
.qnum{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#eff6ff;color:#2563eb;font-size:12px;display:flex;align-items:center;justify-content:center;margin-top:2px}
.qhead h2{font-size:16px;margin:0;line-height:1.5;flex:1}
.qtype{flex-shrink:0;font-size:11px;color:#6b7280;border:1px solid #e5e7eb;border-radius:6px;padding:2px 6px;margin-top:2px;white-space:nowrap}
h2{font-size:17px;margin:18px 0 10px}.q:first-of-type{margin-top:8px}
.opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;margin:8px 0;cursor:pointer;font-size:15px}
.opt:has(input:checked){border-color:#2563eb;background:#eff6ff}
.opt input{accent-color:#2563eb;width:18px;height:18px}
button{width:100%;margin-top:20px;background:#2563eb;color:#fff;border:none;border-radius:12px;padding:14px;font-size:16px;cursor:pointer}
button:active{transform:scale(.98)}
.note{text-align:center;color:#6b7280;font-size:13px;margin-top:12px}
.footer{color:rgba(255,255,255,.85);text-align:center;font-size:13px;margin:18px 0 8px}
.link{color:#fff;text-decoration:underline;cursor:pointer}
.ok{text-align:center;padding:30px 0}.ok .tick{font-size:44px;color:#16a34a}
.bar{height:10px;background:#e5e7eb;border-radius:6px;margin-top:6px;overflow:hidden}
.bar i{display:block;height:100%;border-radius:6px;background:#2563eb}
.row{margin:12px 0;font-size:14px}.row .lbl{display:flex;justify-content:space-between}

.tag{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;letter-spacing:2px}
h1{font-size:20px;line-height:1.5;margin:4px 0 6px}.lead{text-align:left;line-height:1.6}
fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%}.qhead h2{font-weight:600}
.opt{line-height:1.5}.opt input{flex-shrink:0}.opt:focus-within{outline:2px solid #93c5fd;outline-offset:2px}
button:disabled{opacity:.65;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #fbbf24;outline-offset:4px}
.footer a{color:inherit}.error{color:#b91c1c;background:#fef2f2;border-radius:8px;padding:10px 12px;margin-top:12px;line-height:1.5}
.error[hidden]{display:none}.success{color:#15803d}.sub{font-size:14px;line-height:1.6;margin:8px 0;color:#15803d}
.sub.warn{color:#b45309}.results{max-width:760px}.results .qtitle{font-size:16px;line-height:1.6;margin:22px 0 8px}
.results .lbl{display:flex;justify-content:space-between;gap:14px;line-height:1.5}.stat{white-space:nowrap;font-variant-numeric:tabular-nums}
.bar{height:12px;background:#eef2f7}.bar i{display:block;height:100%;transition:width .4s;border-radius:6px}
.total{color:#4b5563;line-height:1.6;font-size:14px;margin:10px 0}.muted{color:#6b7280;font-size:12px;line-height:1.6}
.results section+section{border-top:1px solid #f1f5f9;margin-top:20px}.question-error{outline:2px solid #ef4444;outline-offset:5px;border-radius:8px}
@media(max-width:600px){body[data-page] #cys-persistent-guide{display:none!important}}
@media(max-width:380px){body{padding:10px}.card{padding:20px 15px}.stat{font-size:12px}.qhead h2{font-size:15px}}

/* Lecture rounds: a calm workspace with room for live discussion. */
[hidden]{display:none!important}
body{color:#15243e;background:linear-gradient(150deg,#142f62 0%,#2454a3 45%,#417ed1 100%);padding:30px 20px 20px}
body[data-page="results"] #cys-persistent-guide{display:none!important}
a{text-underline-offset:3px}
button,input{font:inherit}
button:disabled{cursor:not-allowed}
input[type="text"],input[type="password"],input[type="date"]{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#15243e;padding:11px 12px;font-size:15px;line-height:1.5}
input:focus-visible{outline:3px solid #bfdbfe;outline-offset:1px;border-color:#2563eb}
.workspace{max-width:1020px;margin:0 auto}
.work-header{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#fff;padding:3px 3px 25px}
.work-header .tag{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24);color:#dbeafe;font-size:12px;padding:5px 11px;letter-spacing:1px;margin-bottom:6px}
.work-header h1{font-size:34px;letter-spacing:2px;line-height:1.45;margin:3px 0 4px}
.header-note{font-size:14px;color:#c2d6f5;line-height:1.6}
.home-link{color:#dbeafe;font-size:14px;text-decoration:none;white-space:nowrap;border:1px solid rgba(255,255,255,.3);border-radius:9px;padding:10px 15px}
.panel{background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:18px;padding:26px 30px;margin-bottom:20px;box-shadow:0 10px 28px rgba(10,28,59,.10)}
.panel h2{font-size:19px;margin:0 0 5px;line-height:1.5;font-weight:650}
.session-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:2px;color:#5d7294;display:block;margin-bottom:7px}
.session-top h2{font-size:25px;line-height:1.45;overflow-wrap:anywhere}
.status-pill{font-size:12px;line-height:1.4;white-space:nowrap;border-radius:99px;padding:7px 12px;background:#f1f5f9;color:#536176}
.status-pill.active{color:#0a7755;background:#e6f7ee}
.status-pill.active::before{content:"";display:inline-block;width:6px;height:6px;margin:0 6px 1px 0;background:#16a36e;border-radius:100%}
.session-summary{display:flex;align-items:center;gap:26px;border-top:1px solid #eef2f7;margin-top:20px;padding-top:20px}
.count-block{display:flex;align-items:baseline;gap:10px;flex-shrink:0}
.count-block strong{font-size:48px;font-weight:650;letter-spacing:-2px;color:#2159b5;line-height:1.15;font-variant-numeric:tabular-nums}
.count-block span{font-size:13px;color:#6b7b92}
.session-summary>p{font-size:14px;color:#66768d;line-height:1.7;max-width:490px}
.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;margin:0;border-radius:9px;padding:11px 18px;font-size:14px;line-height:1.5;font-weight:550;text-decoration:none;text-align:center;transition:background .15s,border-color .15s;border:1px solid transparent;cursor:pointer;min-height:44px}
.primary{color:#fff;background:#2563eb;border-color:#2563eb}
.primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.secondary{color:#2456a3;background:#f8fbff;border-color:#c6d6ed}
.secondary:hover{background:#eff6ff;border-color:#95b6e8}
.quiet{color:#64748b;background:transparent;border-color:#dbe3ed}
.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.panel-heading .muted{margin-top:3px}
.text-button{padding:4px 0;margin:0;width:auto;font-size:13px;background:none;border:none;color:#456a9f;white-space:nowrap;min-height:32px;border-radius:4px}
.text-button:hover{color:#174ca1;text-decoration:underline}
.manage-panel>.panel-heading{margin-bottom:16px}
.manage-panel .action-row{margin-top:10px}
.flow-hint{color:#72829a;font-size:12px;line-height:1.7;margin-top:13px}
.editor-form{padding:20px;background:#f6f9fd;border:1px solid #e0e8f3;border-radius:12px;margin-top:18px}
.editor-form h3{font-size:16px;line-height:1.5;margin:0 0 6px}
.form-explain{font-size:13px;line-height:1.7;color:#66768d;margin-bottom:16px}
.field-grid{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px}
.field-label{display:block;color:#41516a;font-weight:550;font-size:13px;margin:0 0 7px}
.login-row{display:flex;gap:10px;margin-bottom:10px;max-width:500px}
.login-row .button{flex-shrink:0;min-width:80px}
.feedback{font-size:13px;color:#126349;line-height:1.7;background:#f0faf4;padding:10px 13px;border:1px solid #d3ebdd;border-radius:9px;margin-top:15px;overflow-wrap:anywhere}
.feedback.is-error{color:#a43727;background:#fff6f3;border-color:#f5d8cf}
#share-fallback{margin-top:15px;max-width:680px}
.stats-caption{font-size:12px;color:#8b97a8;padding-top:5px;white-space:nowrap}
.statistics-panel .sub{margin:8px 0 6px;font-size:12px}
#out.results{max-width:none}
.results .qtitle{font-weight:600;font-size:15px;margin:24px 0 12px;color:#273c5b;line-height:1.7}
.results section+section{padding-top:4px;border-color:#eaf0f7;margin-top:24px}
.results .row{margin:12px 0;font-size:13px}
.results .lbl{gap:18px}
.results .bar{height:9px;margin-top:7px;background:#edf2f8}
.results .bar i{border-radius:6px}
.results .stat{color:#7a8ba3;font-size:12px}
.history-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #ebf0f6;padding:18px 0}
.history-item:first-child{margin-top:18px}
.history-item:last-child{padding-bottom:0}
.history-item h3{font-size:15px;font-weight:550;line-height:1.6;margin:0 0 5px;overflow-wrap:anywhere}
.history-link{color:#245db0;font-size:13px;white-space:nowrap;text-decoration:none;padding:8px 0}
.history-link:hover{text-decoration:underline}
.empty-history{font-size:13px;line-height:1.7;color:#7a8ba3;border:1px dashed #d8e2ef;border-radius:10px;padding:20px;margin-top:18px}
.survey-session{padding:16px 18px;background:#f4f8fe;border:1px solid #d9e7f9;border-radius:12px;margin:20px 0 6px}
.survey-session h2{font-size:16px;line-height:1.6;margin:0 0 4px;overflow-wrap:anywhere}
.survey-session .muted{margin-top:3px}
#answer-fields:disabled{opacity:.6}
.card{border-radius:18px;padding:26px 24px;box-shadow:0 12px 35px rgba(10,28,59,.18)}
.footer{font-size:12px;color:#c6d8f2;margin:24px 0 8px;line-height:1.8}
@media(min-width:900px){#out{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:36px}.results section{border-top:1px solid #eaf0f7;margin-top:18px;padding-top:4px}.results section:first-child,.results section:nth-child(2){border-top:0;margin-top:0}.results section+section{margin-top:18px}.results section:last-child{grid-column:1/-1}}
@media(max-width:600px){body{padding:20px 12px 12px}.work-header{padding:0 5px 20px;align-items:flex-start;gap:12px}.work-header h1{font-size:29px}.header-note{font-size:12px}.home-link{font-size:12px;padding:8px 10px;margin-top:4px}.panel{padding:20px 18px;border-radius:15px;margin-bottom:14px}.session-top h2{font-size:21px}.session-top{gap:10px}.status-pill{font-size:11px;padding:6px 9px}.session-summary{align-items:flex-start;flex-direction:column;gap:11px;margin-top:16px;padding-top:16px}.count-block strong{font-size:43px}.session-summary>p{font-size:13px}.action-row{gap:8px;margin-top:16px}.button{padding:10px 13px;font-size:13px}.panel h2{font-size:17px}.session-top h2{font-size:21px}.field-grid{grid-template-columns:1fr;gap:13px}.editor-form{padding:16px 13px}.flow-hint{font-size:11px}.panel-heading{gap:10px}.stats-caption{font-size:10px}.results .lbl{gap:10px}.results .qtitle{font-size:14px}.results .row{font-size:12px}.results .stat{font-size:11px}.history-item{gap:12px}.history-item h3{font-size:14px}.history-link{font-size:12px}.card{padding:22px 18px}.footer{margin-top:20px}.survey-session{padding:14px}.feedback{font-size:12px}.login-row{gap:8px}.login-row .button{min-width:66px}}
@media(max-width:380px){body{padding:15px 9px 10px}.panel{padding:18px 15px}.home-link{padding:7px 8px;font-size:11px}.header-note{font-size:11px}.work-header h1{font-size:27px}.stats-caption{display:none}.panel-heading h2{font-size:16px}.action-row .button{padding:10px 11px}.history-item{align-items:flex-start}.history-link{flex-shrink:0}}

/* Two stages of one lecture, with a report that can travel with its data. */
body[data-page="effectiveness"] #cys-persistent-guide{display:none!important}
.session-description{font-size:14px;line-height:1.8;color:#64748b;margin:14px 0 20px;max-width:780px}
.phase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.phase-card{background:#f6f9ff;border:1px solid #dae5f4;border-radius:13px;padding:20px}
.phase-card.post-phase{background:#f2faf8;border-color:#d2e9e4}
.phase-card-top{display:flex;align-items:center;gap:9px;min-width:0}
.phase-card-top h3{font-size:16px;font-weight:600;line-height:1.5;flex:1}
.phase-card-top .status-pill{padding:5px 8px;font-size:11px}
.phase-number{font-size:11px;font-weight:700;letter-spacing:1px;color:#8ca6ce}
.post-phase .phase-number{color:#79afa6}
.phase-count{display:flex;align-items:baseline;gap:10px;margin:14px 0 7px}
.phase-count strong{color:#235eb6;font-size:42px;line-height:1.15;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums}
.phase-count span{font-size:12px;color:#75869b}
.post-phase .phase-count strong{color:#108479}
.phase-card .action-row{margin-top:16px;gap:12px}
.phase-card .button{padding:8px 12px;font-size:13px}
.phase-card .text-button{font-size:12px}
.report-action{padding-top:4px}
.selected-lecture{font-weight:600;font-size:14px;line-height:1.7;color:#264d82;padding:6px 0 12px;overflow-wrap:anywhere}
.stat-tabs{display:flex;gap:6px;padding:4px;background:#f0f4fa;border-radius:10px;width:fit-content;margin:19px 0 14px}
.stat-tab{width:auto;margin:0;background:transparent;color:#60738f;border:1px solid transparent;border-radius:7px;padding:9px 20px;font-size:13px;line-height:1.5;min-height:40px}
.stat-tab.active{background:#fff;border-color:#dbe5f1;color:#205eb4;box-shadow:0 2px 5px #193f7410;font-weight:600}
.history-actions{display:flex;align-items:center;flex-shrink:0;gap:15px;flex-wrap:wrap;justify-content:flex-end}
.star-option{gap:12px;padding:12px 14px}
.star-display{font-size:24px;line-height:1;letter-spacing:4px;color:#d99b24;white-space:nowrap}
.star-display span{color:#c6d0dd}
.star-label{font-size:13px;color:#677a92;margin-left:auto;white-space:nowrap}
.star-option:has(input:checked){background:#fffbef;border-color:#e2ad46}
.satisfaction-question{border-top:1px solid #e7edf4;margin-top:24px;padding-top:6px}
.satisfaction-question>.muted{margin-bottom:12px}
.report-workspace{max-width:1080px}
.report-overview{border-top:4px solid #8db7f7}
.report-state{font-size:14px;line-height:1.8;color:#60748e;margin:17px 0 19px}
.report-state.warn{color:#a26316;background:#fff9ea;border-radius:8px;padding:10px 12px}
.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f6f9fd;border:1px solid #e1e9f3;border-radius:13px;padding:22px 4px;margin-bottom:20px}
.report-metrics article{padding:0 24px;border-left:1px solid #dce6f2}
.report-metrics article:first-child{border-left:0}
.report-metrics article>p{display:flex;gap:7px;align-items:baseline;margin:11px 0 8px}
.report-metrics strong{font-size:43px;line-height:1;color:#225ba9;font-weight:650;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.report-metrics article:nth-child(2) strong{color:#10877c}
.report-metrics .rating-metric strong{color:#b47b0c}
.report-metrics article>p>span{font-size:12px;color:#71829b}
.report-metrics small{font-size:11px;color:#7c8ba0;line-height:1.6}
.report-metrics .eyebrow{font-size:12px;letter-spacing:1px;margin:0}
.indicator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.indicator-card{padding:20px;border:1px solid #e0e8f2;border-radius:12px;background:#fcfdff}
.indicator-card:last-child:nth-child(odd){grid-column:1/-1}
.indicator-heading{display:flex;gap:18px;align-items:flex-start;justify-content:space-between}
.indicator-heading h3{font-size:15px;line-height:1.7;font-weight:600;color:#2d4261;max-width:270px}
.indicator-delta{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;gap:3px;min-width:70px}
.indicator-delta strong{font-size:30px;font-weight:650;line-height:1.1;letter-spacing:-.5px;color:#255da8;font-variant-numeric:tabular-nums}
.indicator-delta span{font-size:10px;color:#8998ad}
.indicator-stages{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:550;line-height:1.8;margin:15px 0 8px;color:#386394}
.indicator-stages>span:last-child{color:#0c8479}
.stage-arrow{font-weight:400;color:#a4b4c9}
.indicator-card .muted{font-size:11px;line-height:1.8}
.reading-note{font-size:12px;color:#74849b;line-height:1.9;border-left:3px solid #d3e2f7;padding:3px 0 3px 13px;margin-top:21px}
.compact-note{margin:18px 0 12px}
.satisfaction-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 21px;padding:23px 25px;background:#fffbf1;border:1px solid #f3e5bd;border-radius:12px}
.rating-average{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:9px;row-gap:9px}
.rating-stars{display:block;width:100%;font-size:17px;letter-spacing:5px;color:#dfaa3b;line-height:1}
.rating-average>strong{font-size:37px;font-weight:650;line-height:1.2;letter-spacing:-1px;color:#956d18;font-variant-numeric:tabular-nums}
.rating-positive{display:flex;align-items:flex-end;flex-direction:column;gap:8px;flex-shrink:0}
.rating-positive>strong{font-size:29px;line-height:1.2;color:#956d18;font-weight:600}
.rating-positive .muted{font-size:11px}
.rating-distribution{max-width:760px}
.rating-row{display:grid;grid-template-columns:40px minmax(0,1fr) 105px;align-items:center;gap:15px;margin:13px 0;font-size:12px}
.rating-level{color:#61718a}
.rating-value{text-align:right;white-space:nowrap;color:#7c899b;font-variant-numeric:tabular-nums;font-size:11px}
.rating-row .bar{margin:0;height:10px;background:#f3efe5}
.rating-row .bar i{background:#e1ae47}
.satisfaction-summary.compact{margin-top:21px;padding:18px 20px}
#workbench-satisfaction{border-bottom:1px solid #e6edf6;padding-bottom:20px;margin-bottom:4px}
.chart-legend{display:flex;align-items:center;gap:14px;font-size:12px;color:#6d7d93;white-space:nowrap;padding-top:24px}
.chart-legend>span{display:flex;align-items:center;gap:5px}
.chart-legend i{display:inline-block;width:14px;height:6px;border-radius:2px}
.pre-key,.paired-track .pre-fill{background:#7ca5e7}
.post-key,.paired-track .post-fill{background:#159a8c}
.comparison-question{padding-top:23px;margin-top:23px;border-top:1px solid #e8eef5;break-inside:avoid-page}
.comparison-question:first-child{border-top:0;margin-top:0}
.comparison-question h3{font-size:15px;line-height:1.8;font-weight:600;color:#2d4363;margin-bottom:17px}
.comparison-head,.comparison-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 100px 120px;gap:18px;align-items:center}
.comparison-head{padding:10px 0;font-size:10px;color:#8b9aaf;border-bottom:1px solid #eef2f7}
.comparison-head>span:not(:first-child){text-align:right}
.comparison-row{padding:14px 0;border-bottom:1px solid #f1f4f8}
.comparison-row:last-child{border-bottom:0}
.comparison-choice{font-size:13px;line-height:1.7;color:#4d617f}
.paired-bars{display:flex;flex-direction:column;gap:4px;margin-top:9px;max-width:390px}
.paired-track{height:5px;background:#f0f3f8;border-radius:5px;overflow:hidden}
.paired-track i{display:block;height:100%;border-radius:5px}
.comparison-metric{display:flex;flex-direction:column;gap:4px;align-items:flex-end;text-align:right;line-height:1.4;font-variant-numeric:tabular-nums}
.comparison-metric strong{font-size:14px;font-weight:550;color:#4973a7}
.comparison-metric:nth-child(3) strong{color:#0d8a7e}
.comparison-metric small{font-size:10px;color:#91a0b4}
.comparison-delta strong{font-size:15px;color:#4e6483}
.mobile-label{display:none}
.report-footnote h2{font-size:15px;margin-bottom:10px}
.report-footnote>p{font-size:12px;color:#72829a;line-height:1.9}
.report-footnote>p+p{margin-top:13px}
#report-share-fallback{margin-top:15px}
@media(max-width:700px){
  .phase-card{padding:16px}.phase-card-top{gap:7px;flex-wrap:wrap}.phase-card-top h3{font-size:14px}.phase-number{font-size:10px}.phase-card-top .status-pill{font-size:10px;padding:4px 6px}.phase-count strong{font-size:36px}.phase-card .button{font-size:12px;padding:7px 10px}.phase-card .action-row{gap:8px}.phase-grid{gap:11px}
  .report-metrics article{padding:0 15px}.report-metrics strong{font-size:35px}.report-metrics .eyebrow{font-size:11px}.report-metrics small{font-size:10px}.report-metrics article>p{gap:5px}.report-metrics article>p>span{font-size:10px}
  .indicator-grid{gap:11px}.indicator-card{padding:16px}.indicator-heading{gap:10px}.indicator-heading h3{font-size:14px}.indicator-delta strong{font-size:25px}.indicator-delta{min-width:55px}.indicator-stages{font-size:12px;gap:7px}
  .comparison-head,.comparison-row{grid-template-columns:minmax(0,1fr) 75px 75px 95px;gap:12px}.comparison-metric strong{font-size:13px}.comparison-choice{font-size:12px}.comparison-head{font-size:9px}.chart-legend{font-size:11px;gap:9px}
}
@media(max-width:600px){
  .session-description{font-size:12px;margin:12px 0 16px}.phase-grid{grid-template-columns:1fr}.phase-card{padding:16px 17px}.phase-card-top{flex-wrap:nowrap}.phase-card-top h3{font-size:15px}.phase-card-top .status-pill{font-size:11px}.phase-count{margin:10px 0 6px}.phase-count strong{font-size:36px}.phase-card .action-row{margin-top:12px}.phase-card .button{font-size:12px;padding:8px 11px;min-height:38px}.report-action>.muted{width:100%;padding-top:2px;font-size:10px}.stat-tab{padding:8px 17px}.history-item{flex-direction:column;align-items:flex-start;gap:5px}.history-actions{justify-content:flex-start;gap:20px}.history-link{padding:4px 0}.star-display{font-size:23px;letter-spacing:3px}.star-option{padding:12px}.report-workspace .work-header h1{font-size:27px;letter-spacing:1px}.report-workspace .home-link{font-size:11px;padding:8px}
  .report-metrics{padding:18px 0;gap:0;margin-bottom:15px}.report-metrics article{padding:0 11px}.report-metrics strong{font-size:29px}.report-metrics .eyebrow{font-size:10px;letter-spacing:0}.report-metrics article>p{gap:3px;margin:9px 0 7px;flex-wrap:wrap}.report-metrics article>p>span{font-size:9px}.report-metrics small{font-size:9px}.report-state{font-size:12px;margin:14px 0 17px}
  .indicator-grid{grid-template-columns:1fr;margin-top:17px}.indicator-card{padding:17px}.indicator-heading h3{font-size:14px;max-width:none}.indicator-delta strong{font-size:29px}.indicator-stages{font-size:13px}.indicator-card .muted{font-size:10px}.reading-note{font-size:10px;margin-top:17px;padding-left:11px;line-height:1.9}
  .satisfaction-summary{padding:18px 16px;gap:14px;margin:20px 0}.rating-average>strong{font-size:31px}.rating-average>.muted{font-size:10px}.rating-stars{font-size:15px;letter-spacing:4px}.rating-positive>strong{font-size:24px}.rating-positive .muted{font-size:9px}.rating-row{grid-template-columns:30px minmax(0,1fr) 93px;gap:10px;font-size:11px}.rating-value{font-size:10px}.rating-row .bar{height:8px}.satisfaction-summary.compact{padding:16px}
  .comparison-panel>.panel-heading{flex-direction:column;gap:5px}.chart-legend{padding:0;font-size:11px;gap:15px}.comparison-head{display:none}.comparison-question{padding-top:19px;margin-top:18px}.comparison-question h3{font-size:13px;line-height:1.8;margin-bottom:7px}.comparison-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0}.comparison-choice{grid-column:1/-1;font-size:12px}.paired-bars{max-width:none;margin-top:8px;gap:4px}.paired-track{height:5px}.comparison-metric{align-items:flex-start;text-align:left;gap:3px}.comparison-metric strong{font-size:14px}.comparison-metric small{font-size:10px}.comparison-metric .mobile-label{display:block;color:#8190a4;font-size:9px}.comparison-delta strong{font-size:15px}.report-footnote>p{font-size:11px}
}
@media print{
  @page{size:A4 portrait;margin:15mm 12mm}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body[data-page="effectiveness"]{background:#fff!important;color:#172c48;padding:0;font-size:10pt}
  body[data-page="effectiveness"] .no-print,body[data-page="effectiveness"] .home-link,body[data-page="effectiveness"] #cys-persistent-guide{display:none!important}
  .report-workspace{max-width:none}.report-workspace .work-header{padding:0 0 15px;color:#173560}.report-workspace .work-header h1{font-size:26pt}.report-workspace .header-note{color:#64748b;font-size:10pt}.report-workspace .work-header .tag{color:#426996;border:0;padding:0;margin-bottom:2px;background:none}
  .report-workspace .panel{box-shadow:none;border:1px solid #dce5ef;padding:18px 20px;border-radius:10px;margin-bottom:16px}.report-workspace .panel h2{font-size:15pt}.report-workspace .session-top h2{font-size:18pt}.report-workspace .report-overview{border-top:3px solid #8db7f7;break-inside:avoid}.report-metrics{padding:17px 0;margin-bottom:0;grid-template-columns:repeat(3,minmax(0,1fr))}.report-metrics strong{font-size:30pt}.report-metrics article{padding:0 18px}.report-metrics .eyebrow{font-size:9pt}.report-metrics small{font-size:8pt}.report-metrics article>p{flex-wrap:nowrap}.report-state{font-size:9pt}
  .indicator-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.indicator-card{padding:14px;break-inside:avoid}.indicator-heading h3{font-size:10pt}.indicator-delta strong{font-size:23pt}.indicator-stages{font-size:9pt}.indicator-card .muted{font-size:8pt}.reading-note{font-size:8pt}.report-workspace .panel-heading{flex-direction:row}.satisfaction-summary{margin:16px 0;padding:17px 20px;break-inside:avoid}.rating-distribution{break-inside:avoid}.rating-row{grid-template-columns:35px minmax(0,1fr) 105px;font-size:9pt}.rating-value{font-size:8pt}
  .comparison-head,.comparison-row{display:grid;grid-template-columns:minmax(0,1fr) 67px 67px 83px;gap:14px}.comparison-head{font-size:7pt}.comparison-row{padding:10px 0}.comparison-choice{grid-column:auto;font-size:9pt}.comparison-metric{align-items:flex-end;text-align:right}.comparison-metric strong{font-size:10pt}.comparison-metric small{font-size:7pt}.comparison-metric .mobile-label{display:none}.comparison-question h3{font-size:11pt}.comparison-question{margin-top:18px;padding-top:18px;break-inside:avoid-page}.chart-legend{font-size:8pt;padding-top:16px}.report-footnote{break-inside:avoid}.report-footnote>p{font-size:8pt}.footer{color:#7d8b9d;font-size:8pt;margin:15px 0 0}.footer a{display:none}
}

/* Question content editor, limited to the authenticated workbench. */
#questionnaire-dialog{width:min(880px,calc(100vw - 32px));max-width:none;max-height:92vh;padding:0;border:1px solid #dbe5f1;border-radius:16px;color:#15243e;box-shadow:0 24px 80px #0b203866}
#questionnaire-dialog::backdrop{background:#0a203f99}
#questionnaire-form{display:flex;flex-direction:column;max-height:90vh}
.questionnaire-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 26px;border-bottom:1px solid #e1e8f2;background:#fff}
.questionnaire-top h2{font-size:23px;margin:0}.questionnaire-top .eyebrow{margin:0 0 4px}
.questionnaire-body{padding:22px 26px;overflow:auto;min-height:0;overscroll-behavior:contain}
#questionnaire-dialog input,#questionnaire-dialog textarea,#questionnaire-dialog select{font:inherit;box-sizing:border-box;max-width:100%}
#questionnaire-dialog textarea,#questionnaire-dialog select{display:block;width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;color:#15243e;background:#fff;font-size:15px;line-height:1.6}
#questionnaire-dialog textarea{resize:vertical;min-height:70px}
#questionnaire-dialog select:focus-visible,#questionnaire-dialog textarea:focus-visible{outline:3px solid #bfdbfe;outline-offset:1px;border-color:#2563eb}
#questionnaire-dialog input+.field-label,#questionnaire-dialog textarea+.field-label,#questionnaire-dialog select+.field-label{margin-top:16px}
#questionnaire-dialog .form-explain{margin-top:9px}
.questionnaire-list-heading{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.questionnaire-list-heading h3{font-size:17px;margin:0}
.question-editor-card{border:1px solid #d6e1ef;border-radius:11px;background:#fff;margin:14px 0;overflow:hidden}
.question-editor-card summary{cursor:pointer;padding:14px 16px;font-size:15px;line-height:1.65;color:#263e5b;background:#f6f9fd;overflow-wrap:anywhere}
.question-editor-card summary:focus-visible{outline:3px solid #fbbf24;outline-offset:-3px}
.question-editor-card summary .qtype{margin-left:8px}.question-editor-body{padding:16px}
.question-editor-body .action-row{margin-top:12px}.question-editor-body .button{padding:8px 13px;font-size:13px}
.questionnaire-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 26px;background:#f6f9fd;border-top:1px solid #dce6f3}
.questionnaire-bottom .action-row{margin:0;gap:8px}#questionnaire-dialog fieldset:disabled{opacity:.65}
#survey-description{white-space:pre-line}
@media(max-width:600px){#questionnaire-dialog{width:calc(100vw - 16px);max-height:96vh;border-radius:12px}#questionnaire-form{max-height:94vh}.questionnaire-top,.questionnaire-body{padding:16px}.questionnaire-bottom{padding:12px 16px;display:block}.questionnaire-bottom .action-row{margin-top:8px;display:grid;grid-template-columns:1fr 1fr}.questionnaire-bottom #save-questionnaire{grid-column:1 / -1}.questionnaire-top h2{font-size:20px}.question-editor-body{padding:12px}.questionnaire-top .button{padding:8px 14px}}

.opt{min-width:0;overflow-wrap:anywhere}.opt span{min-width:0}.qtitle,.comparison-question h3{overflow-wrap:anywhere}

/* Recoverable removal of incorrectly published surveys. */
.button.danger-outline{color:#b42332;background:#fff;border-color:#f0c8cd}.button.danger-outline:hover{background:#fff3f4}.button.danger{background:#b42332;color:#fff;border-color:#b42332}.compact-delete{font-size:12px;min-height:38px;padding:7px 12px}
.history-detail{min-width:0;flex:1}.history-actions{max-width:100%}.deleted-panel{margin-top:25px;padding-top:18px;border-top:1px solid #e4ebf3}.deleted-panel>summary{cursor:pointer;font-weight:600;line-height:2;color:#52647e}.deleted-panel>summary span{display:inline-block;font-size:12px;font-weight:400;min-width:24px;text-align:center;background:#edf2f8;border-radius:14px;margin-left:5px}.deleted-panel>p{margin-top:9px}#deleted-list .history-item{padding:16px 0}
#delete-dialog{width:min(530px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #d8e1ed;border-radius:16px;padding:26px;color:#15243e;box-shadow:0 24px 80px #0b203866}#delete-dialog::backdrop{background:#0a203f99}#delete-dialog h2{margin:0 0 16px;font-size:21px}#delete-name{overflow-wrap:anywhere}#delete-dialog .action-row{justify-content:flex-end;margin-top:24px}#delete-data-note{margin-top:10px}
@media(max-width:600px){#delete-dialog{padding:20px}.history-actions{gap:12px}.compact-delete{min-height:40px}#delete-dialog .button{flex:1}}
