
.tr-page-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.tr-page-title h1{font-family:Prompt,sans-serif;font-size:26px;font-weight:700;color:#342044;margin:5px 0}.tr-page-title p,.tr-hint{font-size:14px;color:#6a6177;line-height:1.7}.tr-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#8b679e}.tr-card{background:#fff;border:1px solid #e7e2ee;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 3px 14px #32155004}.tr-card h2{font-family:Prompt,sans-serif;font-size:18px;font-weight:600;margin-bottom:16px;color:#352246}.tr-card h3{font-weight:700;font-size:16px;margin-bottom:8px}.tr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tr-field{display:flex;flex-direction:column;gap:7px;font-size:14px;min-width:0}.tr-field>span{font-weight:600;color:#50405e}.tr-field input,.tr-field select,.tr-field textarea,.tr-answer textarea{width:100%;min-height:46px;border:1px solid #d9d1e4;border-radius:10px;background:#fcfbfe;padding:10px 12px;font:inherit;color:#30213f}.tr-field textarea{min-height:100px;resize:vertical}.tr-field select[multiple]{min-height:170px}.tr-field input:focus,.tr-field select:focus,.tr-field textarea:focus{outline:3px solid #e9dcf6;border-color:#835aa0}.tr-check{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px}.tr-check input{width:19px;height:19px;accent-color:#71399c;flex-shrink:0}.tr-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:10px;background:#64348b;color:#fff;font-size:14px;font-weight:600;cursor:pointer;text-align:center;transition:background .15s}.tr-button:hover{background:#492067}.tr-button:disabled{opacity:.5;cursor:not-allowed}.tr-secondary{color:#56326f;background:#f2ecf7;border-color:#e2d7ec}.tr-secondary:hover{background:#e7dcf0}.tr-danger{background:#fff0f1;color:#a32842;border-color:#f1c5ce}.tr-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}.tr-course-picker{display:flex;gap:12px;align-items:end;padding:16px;background:#eee9f5;border-radius:14px;margin-bottom:22px}.tr-course-picker .tr-field{flex:1}.tr-table-wrap{overflow:auto;border:1px solid #e7e2ee;border-radius:14px;background:#fff;margin:16px 0}.tr-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;white-space:normal}.tr-table th{background:#f6f2fa;color:#67477e;padding:14px 16px;font-size:12px;white-space:nowrap}.tr-table td{padding:14px 16px;border-top:1px solid #eee9f3;vertical-align:top;min-width:105px}.tr-table small{display:block;color:#80728a;font-size:12px;margin-top:4px}.tr-badge{display:inline-flex;align-items:center;border-radius:30px;padding:4px 10px;background:#efe8f6;color:#593471;font-size:12px;font-weight:600;white-space:nowrap}.tr-empty{text-align:center;padding:38px 20px;border:1px dashed #d9cce5;border-radius:16px;background:#fff;color:#7e6a8c}.tr-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tr-stats .tr-card{display:flex;flex-direction:column;gap:10px}.tr-stats small{color:#7e6a8c}.tr-stats strong{font-family:Prompt,sans-serif;font-size:24px;color:#583173}.tr-reasons{list-style:disc;padding-left:20px;line-height:1.9}.tr-document{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.tr-document>div{flex:1;min-width:180px}.tr-document h2{margin-bottom:4px}.tr-document p{color:#7e6a8c;font-size:13px}.tr-document-icon{display:grid;place-items:center;background:#f2eaf8;color:#754494;width:48px;height:48px;border-radius:14px}.tr-form-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tr-question{border:1px solid #e7e2ee;border-radius:14px;padding:20px;margin:16px 0;background:#fff}.tr-question legend{padding:0 6px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.tr-answer{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;border:1px solid #e7e2ee;border-radius:10px;margin:8px 0;cursor:pointer}.tr-answer input{accent-color:#71399c;width:18px;height:18px;flex-shrink:0}.tr-answer:has(input:checked){background:#f4edf9;border-color:#9c74b8}.tr-answer span{overflow-wrap:anywhere}.tr-question-editor{border:1px solid #ded1e8;background:#fbf9fd;border-radius:14px;padding:18px;margin:16px 0}.tr-editor-actions{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:15px}.tr-timer{position:sticky;top:80px;z-index:10;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:15px 20px;background:#fff6da;border:1px solid #efdaa0;border-radius:12px;color:#6b4b13;margin-bottom:18px}.tr-save-status{font-size:13px;color:#66506f}.tr-distribution{display:grid;grid-template-columns:minmax(90px,1fr) 2fr 40px;gap:12px;align-items:center;margin:10px 0;font-size:14px}.tr-distribution meter{width:100%;height:18px}.tr-quote{background:#f8f5fb;border-left:3px solid #b495ca;padding:12px 16px;margin:10px 0;font-size:14px;overflow-wrap:anywhere}.tr-qr-sheet{text-align:center;background:#fff;padding:38px;border:1px solid #ddd;border-radius:20px;margin:24px auto;max-width:650px;break-inside:avoid}.tr-qr-sheet h2{font-family:Prompt,sans-serif;font-size:28px;font-weight:700;margin-bottom:12px}.tr-qr-sheet svg{max-width:100%;height:auto;display:block;margin:20px auto}.tr-qr-time{font-size:26px;font-weight:700;color:#4f246c}.tr-qr-sheet p{margin:10px 0;overflow-wrap:anywhere}.tr-inline{display:inline-flex;gap:8px;align-items:center}.tr-stack{display:flex;flex-direction:column;gap:14px}.tr-banner{padding:16px 20px;background:#f0e9f7;color:#5b3675;border-radius:12px;margin-bottom:20px;line-height:1.7}.tr-form-list .tr-card{margin-bottom:0}.tr-full{grid-column:1/-1}
@media(max-width:767px){.tr-grid,.tr-stats,.tr-form-list{grid-template-columns:1fr}.tr-card{padding:18px}.tr-page-title h1{font-size:22px}.tr-course-picker{align-items:stretch;flex-direction:column}.tr-timer{top:72px}.tr-qr-sheet{padding:20px}.tr-qr-sheet h2{font-size:22px}}
@media print{.tr-no-print{display:none!important}.tr-qr-sheet{border:0;box-shadow:none;margin:0 auto;page-break-after:always}.tr-qr-sheet:last-child{page-break-after:auto}.workspace>main{max-width:none;padding:0}.workspace>footer{display:none}.tr-page-title,.tr-course-picker{display:none}}
@media(prefers-reduced-motion:reduce){.tr-button{transition:none}}
/* UX pass 2026-10-17: readable labels, semantic status, mobile cards, accessible disclosure */
.tr-eyebrow{font-size:12px;letter-spacing:.12em}
.tr-button,.tr-steps a,.tr-pick-item{-webkit-tap-highlight-color:transparent}
.tr-button:focus-visible,.tr-steps a:focus-visible,.tr-card>summary:focus-visible,.tr-stat-note:focus-visible{outline:3px solid #bf8bfa;outline-offset:2px}
.tr-button>i{font-size:15px}
.tr-tone-success{background:#e5f6ec;color:#17643a}
.tr-tone-warning{background:#fff3d6;color:#7a4b00}
.tr-tone-danger{background:#fde8eb;color:#a1233c}
.tr-tone-info{background:#e6f0fb;color:#1d4f86}
.tr-tone-active{background:#efe5fb;color:#5a2b86;box-shadow:inset 0 0 0 1px #c9aee6}
.tr-tone-muted{background:#f1eff4;color:#5f566a}
.tr-card>p>.tr-badge{white-space:normal;line-height:1.5}
.tr-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#4c3d5a;margin-bottom:4px}
.tr-meta i,.tr-hint>i{color:#8b679e}
.tr-stat{gap:6px!important;min-width:0}
.tr-stat strong{line-height:1.2;overflow-wrap:anywhere}
.tr-stat strong span{font-size:15px;font-weight:600;color:#7e6a8c}
.tr-stat .tr-stat-text{font-size:20px}
.tr-stat-success{background:#f1faf4;border-color:#bfe5cc}
.tr-stat-success strong{color:#17643a}
.tr-stat-pending strong{color:#7a4b00}
.tr-stat-note{display:inline-flex;align-items:center;align-self:flex-start;min-height:36px;font-size:13px;font-weight:600;color:#7a4b00;background:#fff3d6;border-radius:30px;padding:4px 12px;text-decoration:none}
.tr-stat-note:hover{background:#ffe9b3}
.tr-meter{display:block;height:6px;border-radius:6px;background:#eee8f4;overflow:hidden}
.tr-meter>span{display:block;height:100%;background:#7c4aa3;border-radius:inherit}
.tr-pending{background:#fffaf0;border-color:#f1dfb5}
.tr-pending h2{color:#6b4b13}
.tr-steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:6px}
.tr-steps a{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;border:1px solid #e7e2ee;border-radius:14px;background:#fcfbfe;color:#352246;font-weight:600;font-size:14px;line-height:1.4;transition:border-color .15s,background .15s}
.tr-steps a:hover{border-color:#b495ca;background:#f6f0fb}
.tr-steps small{display:block;font-size:12px;font-weight:500;color:#80728a}
.tr-step-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:#f2eaf8;color:#64348b}
.tr-card>summary{display:flex;align-items:center;gap:10px;min-height:48px;margin:-12px -4px;padding:12px 4px;cursor:pointer;list-style:none;font-family:Prompt,sans-serif;font-size:17px;font-weight:600;color:#352246;border-radius:10px}
.tr-card>summary::-webkit-details-marker{display:none}
.tr-card>summary::after{content:"";margin-left:auto;flex-shrink:0;width:10px;height:10px;border-right:2px solid #835aa0;border-bottom:2px solid #835aa0;transform:rotate(45deg) translateY(-3px);transition:transform .15s}
.tr-card[open]>summary{margin-bottom:12px}
.tr-card[open]>summary::after{transform:rotate(-135deg) translateY(-3px)}
.tr-empty-row td{text-align:center;color:#7e6a8c;padding:28px 16px}
.tr-table .tr-toolbar{margin:0;gap:8px}
.tr-table .tr-toolbar .tr-button{min-height:40px;padding:8px 12px;font-size:13px}
.tr-course-picker{padding:12px 16px}
.tr-course-picker[data-enhanced] .tr-button{display:none}
/* Searchable checklist that replaces <select multiple> when JS is available */
.tr-pick{border:1px solid #d9d1e4;border-radius:12px;background:#fff;overflow:hidden}
.tr-pick-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px;border-bottom:1px solid #eee9f3;background:#faf8fc}
.tr-pick-tools input[type=search]{flex:1 1 180px;min-width:0;min-height:44px;border:1px solid #d9d1e4;border-radius:10px;padding:8px 12px;font:inherit;background:#fff}
.tr-pick-tools button{min-height:40px;padding:6px 12px;border-radius:10px;border:1px solid #e2d7ec;background:#f2ecf7;color:#56326f;font-size:13px;font-weight:600;cursor:pointer}
.tr-pick-count{font-size:13px;color:#66506f;font-weight:600;margin-left:auto}
.tr-pick-list{max-height:280px;overflow:auto;overscroll-behavior:contain;padding:6px}
.tr-pick-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:14px;line-height:1.45}
.tr-pick-item:hover{background:#f6f2fa}
.tr-pick-item:has(input:checked){background:#f4edf9}
.tr-pick-item input{width:19px;height:19px;flex-shrink:0;accent-color:#71399c}
.tr-pick-item span{overflow-wrap:anywhere}
.tr-pick-empty{padding:16px;text-align:center;color:#7e6a8c;font-size:14px}
@media(max-width:767px){
 .tr-page-title{margin-bottom:16px}
 .tr-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
 .tr-stats .tr-card{margin-bottom:0;padding:14px 16px}
 .tr-stats .tr-card:last-child:nth-child(odd){grid-column:1/-1}
 .tr-stats strong{font-size:22px}
 .tr-stat .tr-stat-text{font-size:17px}
 .tr-card{margin-bottom:16px;border-radius:16px}
 .tr-card h2{font-size:17px;margin-bottom:12px}
 .tr-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tr-steps a{flex-direction:column;align-items:flex-start;gap:8px;min-height:96px;padding:12px}
 .tr-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tr-quick .tr-button{padding:10px 8px;font-size:13px}
 .tr-toolbar>.tr-button,.tr-toolbar>form,.tr-toolbar>form .tr-button,.tr-card>form>.tr-button{width:100%}
 .tr-table-wrap:has(.is-stacked){overflow:visible;border:0;background:transparent}
 .tr-table.is-stacked,.tr-table.is-stacked tbody{display:block}
 .tr-table.is-stacked thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .tr-table.is-stacked tr{display:block;background:#fff;border:1px solid #e7e2ee;border-radius:14px;padding:6px 14px;margin-bottom:12px}
 .tr-table.is-stacked td{display:block;position:relative;min-width:0;min-height:40px;padding:9px 0 9px calc(34% + 12px);border-top:1px solid #f1edf5;overflow-wrap:anywhere}
 .tr-table.is-stacked td:first-child{border-top:0;font-weight:600;color:#30213f}
 .tr-table.is-stacked td::before{content:attr(data-label);position:absolute;left:0;top:10px;width:34%;font-size:12px;font-weight:600;color:#80728a;line-height:1.5}
 .tr-table.is-stacked td[data-label=""]{padding-left:0}
 .tr-table.is-stacked td[data-label=""]::before,.tr-table.is-stacked td:empty{display:none}
 .tr-table.is-stacked .tr-empty-row td{padding-left:0;text-align:center}
 .tr-table.is-stacked .tr-empty-row td::before{display:none}
 .tr-table.is-stacked .tr-toolbar{display:grid;grid-template-columns:1fr;width:100%}
 .tr-table.is-stacked .tr-toolbar .tr-button,.tr-table.is-stacked .tr-toolbar form{width:100%}
 .tr-table.is-stacked td:has(.tr-toolbar),.tr-table.is-stacked td:has(>.tr-button){padding-left:0}
 .tr-table.is-stacked td:has(.tr-toolbar)::before,.tr-table.is-stacked td:has(>.tr-button)::before{display:none}
 .tr-table.is-stacked td>.tr-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.tr-steps a,.tr-card>summary::after{transition:none}}
@media print{.tr-pick-tools{display:none}}

/* Native question authoring: clear steps, explicit answer keys, touch-safe controls. */
.te-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.te-intro h2{margin:6px 0 8px}.te-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 26px}.te-steps button{display:flex;align-items:center;gap:10px;min-height:56px;padding:12px;border:1px solid #e1d6eb;border-radius:12px;color:#62536f;background:#faf8fc;text-align:left;font-weight:600;cursor:pointer}.te-steps button span{display:grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:#ece4f3;color:#684280}.te-steps button[aria-current]{background:#f2eaf9;border-color:#9160b1;color:#4b216b}.te-steps button[aria-current] span{background:#64348b;color:white}.te-shell [data-editor-panel]>h3,.te-section-heading h3{font-family:Prompt,sans-serif;font-size:18px;font-weight:600;margin:0 0 18px;scroll-margin-top:110px}.te-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.te-section-heading output{display:inline-flex;padding:9px 14px;border-radius:10px;background:#f2eaf9;color:#5b3178;font-weight:600;font-size:14px}.te-question-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.te-question-tools{display:flex;gap:8px;flex-wrap:wrap}.te-question-tools .tr-button{min-height:44px;padding:8px 12px;font-size:13px}.tr-editor-actions h4{font-family:Prompt,sans-serif;font-size:16px;font-weight:600;color:#452555}.te-question-key{border:0;margin-top:18px;padding:0;min-width:0}.te-question-key legend{font-size:14px;font-weight:600;margin-bottom:12px}.te-option{display:grid;grid-template-columns:44px minmax(0,1fr) 64px;align-items:end;gap:10px;padding:12px 10px;margin:10px 0;border:1px solid #ded5e8;border-radius:12px;background:white}.te-option:not(:has(.te-correct)){grid-template-columns:minmax(0,1fr) 64px}.te-option:has(input[type=radio]:checked){background:#f4edf9;border-color:#8c5aad}.te-correct{display:flex;justify-content:center;align-items:center;min-width:44px;min-height:48px;cursor:pointer}.te-correct input{width:21px;height:21px;accent-color:#6e3896;cursor:pointer}.te-option>.tr-button{min-height:48px;padding:8px 10px}.te-option .tr-field{min-width:0}.te-field-error{color:#a82442;font-size:14px;line-height:1.6;margin-top:6px;grid-column:1/-1}.te-error-summary{background:#fff0f2;border:1px solid #e3a3b2;border-radius:12px;color:#94213a;padding:14px 16px;line-height:1.7;margin-bottom:20px}.te-question-key[aria-invalid=true]{outline:2px solid #bb3a57;outline-offset:5px;border-radius:10px}.te-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:20px;margin-top:22px;border-top:1px solid #e7e2ee}.te-footer #te-back{margin-right:auto}.te-preview-key{margin:16px 0 0;background:#f2eaf9;padding:12px 16px;border-radius:10px;color:#573271;overflow-wrap:anywhere}.te-response-progress{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px;background:white;border:1px solid #e4dbea;border-radius:12px;margin-bottom:18px;font-size:14px;color:#5c3e70}.te-response-progress progress{flex:1;min-width:100px;height:10px;accent-color:#754299}.te-shell input[readonly],.te-shell textarea[readonly]{background:#f3f0f6;color:#73647e}.te-shell :disabled{cursor:not-allowed}.te-shell input,.te-shell select,.te-shell textarea{scroll-margin-top:125px}
@media(max-width:767px){.te-intro{flex-direction:column;gap:8px}.te-steps{gap:6px}.te-steps button{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 8px;font-size:13px}.tr-editor-actions{align-items:flex-start;flex-direction:column;gap:12px}.te-question-tools{width:100%}.te-question-tools .tr-button{flex:1}.te-option{grid-template-columns:40px minmax(0,1fr) 48px;gap:6px;padding:10px 6px}.te-option:not(:has(.te-correct)){grid-template-columns:minmax(0,1fr) 48px}.te-option input[type=text]{font-size:16px;padding:10px}.te-correct{min-width:40px}.te-footer{position:sticky;bottom:0;z-index:15;display:grid;grid-template-columns:1fr 1fr;background:rgba(255,255,255,.98);padding:14px 0 max(14px,env(safe-area-inset-bottom))}.te-footer #te-step-status{grid-column:1/-1;grid-row:1;text-align:center;margin:0}.te-footer #te-back{margin:0}.te-footer #te-next,.te-footer #te-save{grid-column:2}.te-footer .tr-button{width:100%;min-height:48px}.te-question-actions>.tr-button{flex:1}.te-shell .tr-field input,.te-shell .tr-field select,.te-shell .tr-field textarea{font-size:16px}}
@media print{.te-steps,.te-footer,.te-question-actions,.te-question-tools{display:none!important}}

/* Cohort dashboard: shared scales, typed metrics, and readable mobile chart labels. */
.td-dashboard{--td-purple:#7746a1;--td-teal:#087f74;--td-gold:#bd8300;--td-rose:#c34b68;--td-muted:#a89ab5}.td-heading,.td-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:18px 0}.td-heading h2{font-family:Prompt,Tahoma,sans-serif;font-size:26px;font-weight:700;color:#38204d;margin:12px 0 6px}.td-heading p,.td-updated{font-size:13px;color:#73627f}.td-updated{margin:0 0 22px}.td-updated a{text-decoration:underline;text-underline-offset:3px}.td-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.td-kpi{min-width:0;background:#fff;border:1px solid #e7dfef;border-radius:18px;padding:22px 20px;box-shadow:0 4px 18px #32104e04;transition:border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.td-kpi:before{content:'';position:absolute;top:0;left:20px;width:36px;height:4px;border-radius:0 0 4px 4px;background:var(--td-purple)}.td-kpi.td-accent-teal:before{background:var(--td-teal)}.td-kpi.td-accent-gold:before{background:var(--td-gold)}.td-kpi:hover{border-color:#b99acc;box-shadow:0 6px 20px #32104e0d}.td-kpi:focus-visible{outline:3px solid #b99acc;outline-offset:3px}.td-kpi>span{display:block;font-size:14px;color:#6c597a}.td-kpi>strong{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:12px 0 8px;font-size:30px;line-height:1.2;color:#40244f;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.td-kpi small{font-size:12px;font-weight:400;color:#776184}.td-kpi p{font-size:12px;line-height:1.6;color:#7a6886;margin:0}.td-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.td-grid>.tr-card{min-width:0;margin-bottom:0}.td-grid{margin-bottom:24px}.td-chart h2{font-size:18px}.td-chart h3{font-size:14px;font-weight:600;margin:20px 0 12px;color:#4f375f;overflow-wrap:anywhere}.td-chart h3 small{font-weight:400;font-size:12px;margin-left:8px;color:#766580}.td-bar-row{display:grid;grid-template-columns:minmax(65px,.8fr) minmax(50px,2fr) minmax(44px,auto);align-items:center;gap:12px;margin:12px 0;font-size:13px}.td-bar-row>span{overflow-wrap:anywhere;line-height:1.5}.td-bar-row strong{font-variant-numeric:tabular-nums;text-align:right;font-size:13px;white-space:nowrap;color:#4d365e}.td-track{background:#f0ecf5;border-radius:6px;height:12px;overflow:hidden}.td-fill{display:block;height:100%;min-width:0;border-radius:6px}.td-purple{background:var(--td-purple)}.td-teal{background:var(--td-teal)}.td-gold{background:var(--td-gold)}.td-rose{background:var(--td-rose)}.td-muted{background:var(--td-muted)}.td-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#6f5c7e;margin:18px 0}.td-legend span{display:flex;align-items:center;gap:6px}.td-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.td-caption{font-size:12px;color:#766580;line-height:1.7;margin:8px 0}.td-pair+.td-pair{border-top:1px solid #ece6f2;padding-top:8px;margin-top:20px}.td-delta{font-weight:600;font-size:13px;color:#523368;margin-top:12px}.td-distribution{border-bottom:1px solid #f0eaf4;padding-bottom:12px}.td-distribution h3{margin-top:14px;margin-bottom:10px}.td-payment-note{font-size:14px;font-weight:600;padding:14px 0;border-top:1px solid #eee7f3;margin-top:22px}.td-stacked{height:22px;background:#f1edf5;border-radius:6px;overflow:hidden;display:flex}.td-stacked>span{display:block;height:100%}.td-day{margin:22px 0}.td-day h3{margin:0 0 12px}.td-surveys h2,.td-section-heading h2{font-size:20px;font-weight:600;color:#40244f}.td-response{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin:16px 0}.td-response>strong{font-size:28px;color:#583173;font-variant-numeric:tabular-nums}.td-response small{font-size:14px;font-weight:400;color:#7c6889}.td-response>span{font-size:12px;color:#6e587f}.td-survey h3{font-size:17px;font-weight:600;overflow-wrap:anywhere}.td-survey .tr-meter{display:block;margin-bottom:20px}.td-rating{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:16px 0;border-top:1px solid #f0eaf5}.td-rating>span{font-size:14px;overflow-wrap:anywhere}.td-rating small{font-size:12px;color:#7e698c;font-weight:400}.td-rating>span small{display:block;margin-top:5px}.td-rating>strong{font-size:24px;color:#613580}.td-rating meter{grid-column:1/-1;width:100%;height:12px;accent-color:var(--td-purple)}.td-survey summary{font-size:14px;min-height:44px;padding:12px 0;cursor:pointer;font-weight:600;color:#654080}.td-survey-question{padding:16px 0;border-top:1px solid #eee7f3}.td-survey-question h4{font-size:14px;font-weight:600;overflow-wrap:anywhere}.td-survey-question .td-bar-row{grid-template-columns:minmax(80px,1fr) minmax(35px,1fr) 32px}.td-definitions dl{margin-top:20px;font-size:14px;line-height:1.8}.td-definitions dt{font-weight:600;margin-top:16px}.td-definitions dd{color:#72607d;overflow-wrap:anywhere}.td-survey summary:focus-visible{outline:3px solid #b99acc;outline-offset:2px}
@media(max-width:1199px){.td-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.td-grid{grid-template-columns:1fr}}
@media(max-width:599px){.td-kpis{gap:10px}.td-kpi{padding:18px 14px;border-radius:14px}.td-kpi>strong{font-size:26px}.td-kpi>span{font-size:13px}.td-kpi p{font-size:12px}.td-heading h2{font-size:22px}.td-heading .tr-toolbar{width:100%}.td-heading .tr-button{flex:1;justify-content:center}.td-bar-row{gap:8px;grid-template-columns:minmax(64px,.8fr) minmax(35px,1.2fr) auto}.td-bar-row strong{font-size:12px}.td-section-heading{align-items:stretch}.td-section-heading>a{width:100%;justify-content:center}}
@media print{.td-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.td-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.td-kpi,.td-chart,.td-survey{break-inside:avoid}.td-dashboard{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
@media(prefers-reduced-motion:reduce){.td-kpi{transition:none}}
/* Survey authoring: feedback scales and optional response settings. */
.te-survey-guide{padding:18px 20px;margin:16px 0;border-inline-start:4px solid #683c91;background:#f7f3fb;border-radius:12px;line-height:1.6}.te-survey-guide p{margin:6px 0 0}.te-survey-advanced{margin:18px 0;padding:16px;border:1px solid #ded4e9;border-radius:12px}.te-survey-advanced summary{cursor:pointer;min-height:44px;font-weight:600;line-height:1.6}.te-survey-advanced .tr-grid{margin-top:12px}.te-survey-scale{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.te-survey-scale span{flex:1;min-width:100px;padding:12px 8px;text-align:center;background:#f7f3fb;border:1px solid #ded4e9;border-radius:10px;font-size:14px}
@media(max-width:600px){.te-survey-guide,.te-survey-advanced{padding:14px}.te-survey-scale span{min-width:80px}.te-survey-advanced input,.te-survey-advanced select{font-size:16px}}
