/* TAP preparation: quiet reading surfaces, compact choices, explicit inclusion.
   Local component ownership. Shared semantic colours remain in the studio shell. */
.tc-workspace{max-width:1248px;margin-inline:auto;min-width:0;color:var(--text);font-size:1.0625rem;line-height:1.7}
.tc-workspace *,.tc-workspace *::before,.tc-workspace *::after{box-sizing:border-box}
.tc-workspace [hidden]{display:none!important}
.tc-workspace :is(button,summary,input,select,textarea){font:inherit}
.tc-workspace :is(button,summary){min-height:44px}
.tc-workspace :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--vc-focus,var(--accent));outline-offset:4px}
.tc-workspace :is(h1,h2,h3,p,span){overflow-wrap:anywhere}
.tc-workspace .tc-heading{max-width:none;margin-bottom:20px}
.tc-workspace .tc-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tc-workspace .tc-heading h1{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:650;letter-spacing:-.035em;line-height:1.12;margin:0}
.tc-workspace .tc-heading-row button{font-size:.9375rem;padding:9px 14px;min-height:44px}
.tc-workspace .tc-heading>p{max-width:68ch;font-size:1rem;line-height:1.55;margin:12px 0 0}
.tc-workspace #br-status:empty{margin:0}
.tc-workspace #br-status:not(:empty){padding:12px 16px;margin-block:12px;border-inline-start:3px solid var(--vc-emerald,var(--accent));background:var(--panel)}
.tc-workspace .tc-composer-layout{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:32px;align-items:start}
.tc-workspace .tc-composer-content{grid-column:1;grid-row:1;min-width:0}
.tc-workspace .tc-composer-rail{grid-column:2;grid-row:1;position:sticky;top:calc(var(--studio-header-height,96px) + 20px);min-width:0}
.tc-workspace .tc-session-tray{padding:20px;border:1px solid var(--border);border-top:3px solid var(--vc-emerald,var(--accent));border-radius:14px;background:var(--panel);box-shadow:none}
.tc-workspace .tc-session-tray h2{font-size:1.375rem;line-height:1.3;font-weight:650;margin:0 0 16px;letter-spacing:-.02em}
.tc-workspace .tc-tray-summary{display:grid;gap:4px;min-width:0}
.tc-workspace .tc-tray-summary strong{font-size:1rem;line-height:1.4}
.tc-workspace .tc-tray-summary>span{font-size:.9375rem;color:var(--muted);line-height:1.55}
.tc-workspace .tc-live-points{margin:16px 0;padding:0 0 0 22px;border-top:1px solid var(--border)}
.tc-workspace .tc-live-points li{padding:9px 0 0 3px;font-size:.9375rem;line-height:1.5;color:var(--text)}
.tc-workspace .tc-live-points li::marker{color:var(--muted)}
.tc-workspace :is(.tc-more-points,.tc-local-note){font-size:.875rem;line-height:1.55;color:var(--muted);margin:12px 0}
.tc-workspace .tc-local-note{padding-top:12px;margin-bottom:0;border-top:1px solid var(--border)}
.tc-workspace .tc-session-tray .br-actions{display:flex;flex-direction:column;align-items:stretch;margin:0;gap:8px}
.tc-workspace .tc-session-tray button{padding:11px 14px;line-height:1.35;font-size:.9375rem;min-height:44px}
.tc-workspace .tc-session-tray .tc-review-action{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px;gap:8px}
.tc-workspace .tc-review-action :is([data-br="open-outputs"],[data-br="review-selection"]),.tc-workspace .tc-end-review button{background:var(--vc-emerald,var(--accent));color:var(--ink);border-color:var(--vc-emerald,var(--accent));font-weight:650;min-height:48px}
.tc-workspace .tc-review-action [data-br="save"]{background:var(--panel);color:var(--text);border-color:var(--vc-control-border,var(--border));font-weight:550;min-height:48px}
.tc-workspace .tc-output-options{margin-top:8px}
.tc-workspace .tc-output-options>summary{padding:10px 0;cursor:pointer;font-size:.9375rem;min-height:44px}
.tc-workspace .tc-output-options>p{font-size:.875rem;color:var(--muted);line-height:1.55}
.tc-workspace .tc-end-review{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}
.tc-workspace .tc-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.tc-workspace .tc-section-heading>div{min-width:0;flex:1}
.tc-workspace .tc-topic-heading>button{order:1;flex:none;white-space:nowrap;max-width:100%}
.tc-workspace .tc-topic-intro{max-width:68ch;margin:0 0 16px;font-size:1rem;line-height:1.55;color:var(--muted)}
.tc-workspace .tc-section-heading h2{font-size:clamp(1.25rem,2.5vw,1.5rem);font-weight:650;line-height:1.3;letter-spacing:-.02em;margin:0}
.tc-workspace .tc-eyebrow{font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 6px}
.tc-workspace .tc-browser>p,.tc-workspace .tc-selection>p{max-width:68ch;margin:0 0 16px}
.tc-workspace .tc-search-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;max-width:560px;margin:0 0 16px}
.tc-workspace .tc-search{display:block;min-width:0;margin:0;font-size:.9375rem;line-height:1.55}
.tc-workspace .tc-search input{display:block;margin-top:6px;min-height:48px;width:100%;min-width:0}
.tc-workspace .tc-search-controls>button{min-width:44px;min-height:48px;max-width:100%;padding:10px 12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.tc-workspace .tc-search-controls>[data-br="search-all-topics"]{grid-column:1/-1;justify-self:start}
.tc-workspace .tc-search-status{font-size:1rem;line-height:1.5;color:var(--muted);margin:0 0 16px}
/* Topics are a readable index, not an oversized illustration gallery. */
.tc-workspace .tc-topic-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--border)}
.tc-workspace button.tc-topic-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-content:start;min-width:0;min-height:0;padding:16px 4px;text-align:start;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);box-shadow:none;transition:background-color 160ms ease,color 160ms ease}
.tc-workspace button.tc-topic-card:hover{background:var(--panel2);color:var(--text);box-shadow:none}
.tc-workspace button.tc-topic-card:active{background:var(--panel)}
.tc-workspace button.tc-topic-card[data-has-included=true]{border-inline-start:3px solid var(--vc-emerald,var(--accent));padding-inline-start:12px}
.tc-workspace .tc-topic-title{grid-column:1;grid-row:1;font-size:1.125rem;font-weight:600;letter-spacing:-.012em;line-height:1.4}
.tc-workspace .tc-topic-outcome{grid-column:1/-1;grid-row:2;font-size:.9375rem;font-weight:400;line-height:1.55;color:var(--muted)}
.tc-workspace .tc-topic-meta{grid-column:1/-1;grid-row:3;display:flex;justify-content:space-between;gap:12px;font-size:.875rem;line-height:1.5;color:var(--muted);font-weight:550}
.tc-workspace .tc-topic-meta>span{font-size:1.125rem;line-height:1.2;color:var(--vc-emerald,var(--accent))}
.tc-workspace .tc-point-list{border-block:1px solid var(--border)}
.tc-workspace .br-library-point{padding:20px 0;margin:0;border:0;border-bottom:1px solid var(--border)}
.tc-workspace .br-library-point[data-included=true]{border-inline-start:3px solid var(--vc-emerald,var(--accent));padding-inline-start:16px}
.tc-workspace .br-library-point:last-child{border-bottom:0}
.tc-workspace .tc-point-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:start}
.tc-workspace .tc-point-heading .tc-search-topic{font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 6px}
.tc-workspace .tc-point-heading h3{font-size:1.125rem;font-weight:600;line-height:1.4;margin:0 0 8px;letter-spacing:-.012em}
.tc-workspace .tc-point-heading p{max-width:68ch;margin:0 0 8px;font-size:1.0625rem;line-height:1.7;color:var(--text)}
.tc-workspace .tc-point-duration{display:block;font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 8px}
.tc-workspace .tc-point-heading>button{min-width:104px;min-height:48px;padding:10px 16px;white-space:normal}
.tc-workspace .tc-point-heading>button[aria-pressed=true]{border-color:var(--vc-emerald,var(--accent));background:var(--panel2);color:var(--text)}
.tc-workspace .tc-point-heading>button[aria-busy=true]{cursor:progress}
.tc-workspace .br-library-point>details{max-width:84ch;border:0;border-radius:0;padding:0;margin:4px 0;background:none}
.tc-workspace .br-library-point>details>summary{display:list-item;width:fit-content;padding:8px 0;font-size:.9375rem;color:var(--accent);cursor:pointer;border:0;border-radius:0;background:none;min-height:44px}
.tc-workspace .br-library-point>details[open]{margin-top:8px;padding:16px 20px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}
/* Sustained reading in previews uses the base reading scale; surrounding controls retain their scale. */
.tc-workspace .br-library-point>details .br-teaching-point{font-size:1.0625rem}
@media screen{
 .tc-workspace :is(.br-library-point>details,.br-module-outline) .br-script{font-size:1rem;line-height:1.65;max-width:var(--vc-reading,68ch)}
 .tc-workspace :is(.br-library-point>details,.br-module-outline) .br-script p{font-size:inherit;line-height:inherit;max-width:none}
 .tc-workspace :is(.br-library-point>details,.br-module-outline) .br-qualifications{font-size:1rem;line-height:1.65}
 .tc-workspace :is(.br-library-point>details,.br-module-outline) .br-qualifications ul{max-width:var(--vc-reading,68ch)}
}
.tc-workspace .tc-session-budget{min-width:0;margin:0 0 12px;padding:0;border:0;background:none}
.tc-workspace .tc-session-budget legend{margin:0 0 6px;padding:0;font-size:.9375rem;font-weight:600;line-height:1.5}
.tc-workspace .tc-budget-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;max-width:480px}
.tc-workspace .tc-budget-fields label{display:grid;gap:6px;min-width:0;font-size:.875rem;line-height:1.5}
.tc-workspace .tc-budget-fields input{width:100%;min-width:0;min-height:48px;font-size:1.0625rem}
.tc-workspace .tc-selection-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.tc-workspace .tc-selection-actions button{min-height:44px;padding:8px 12px;font-size:.9375rem;line-height:1.45}
.tc-workspace[data-composer-view="selection"] .tc-composer-layout{grid-template-columns:minmax(0,1fr)}
.tc-workspace .tc-review-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:0 0 8px}
.tc-workspace .tc-review-feedback:empty{display:none}
.tc-workspace .tc-review-feedback #br-status:not(:empty){max-width:68ch;margin-block:0 12px}
.tc-workspace .tc-review-toolbar button{min-height:44px;padding:9px 14px;font-size:.9375rem;line-height:1.45}
.tc-workspace .tc-review-toolbar [data-br="open-outputs"]{background:var(--vc-emerald,var(--accent));color:var(--ink);border-color:var(--vc-emerald,var(--accent));font-weight:650}
.tc-workspace .tc-selection>.tc-local-note{border:0;padding:0;margin:0 0 12px;max-width:68ch}
.tc-workspace .tc-outline-time-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;max-width:68ch;margin:0;padding:10px 0;border-block:1px solid var(--border);font-size:.9375rem;line-height:1.5}
.tc-workspace .tc-outline-time-summary strong{font-size:1.0625rem;font-weight:650}
.tc-workspace .tc-outline-time-summary>span{color:var(--muted)}
.tc-workspace .tc-outline-time-summary>p{flex-basis:100%;margin:0}
.tc-workspace .tc-time-settings{max-width:68ch;margin:0 0 12px;padding:0;border:0;border-radius:0;background:none}
.tc-workspace .tc-time-settings>summary{min-height:44px;padding:9px 0;font-size:.9375rem;line-height:1.5;cursor:pointer}
.tc-workspace .tc-time-settings[open]{padding-bottom:12px}
.tc-workspace .tc-time-settings .br-timing{margin:12px 0 0;padding:0;border:0;background:none;border-radius:0;font-size:1rem}
.tc-workspace .tc-time-overview{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;padding:8px 0;border-block:1px solid var(--border)}
.tc-workspace .tc-time-overview strong{font-size:1.125rem;line-height:1.45;font-weight:650}
.tc-workspace .tc-time-overview>span{font-size:.9375rem;line-height:1.5;color:var(--muted)}
.tc-workspace .tc-time-overview>p{flex-basis:100%;margin:0;font-size:.9375rem;line-height:1.5}
.tc-workspace .tc-time-over{font-weight:600;color:var(--text)}
.tc-workspace .tc-time-details{margin:0;padding:0;border:0;border-radius:0;background:none}
.tc-workspace .tc-time-details>summary{min-height:44px;padding:9px 0;font-size:.9375rem;line-height:1.5;cursor:pointer}
.tc-workspace .tc-time-details p,.tc-workspace .tc-time-details li{font-size:1rem;line-height:1.6}
.tc-workspace .tc-time-details p{max-width:68ch;margin:8px 0 12px}
.tc-workspace .tc-time-details h3{font-size:1.0625rem;line-height:1.5}
.tc-workspace .tc-selection>.br-covered{margin:0 0 12px;padding:0;border:0;border-radius:0;background:none}
.tc-workspace .tc-selection>.br-covered>summary{padding:9px 0;min-height:44px;font-size:.9375rem;line-height:1.5}
.tc-workspace .tc-selection>.br-covered>p{font-size:1rem;max-width:68ch}
.tc-workspace .br-module-outline{margin:0;padding:0;list-style:none}
.tc-workspace .br-module-outline>li{margin:0;padding:20px 0;border:0;border-top:1px solid var(--border);border-radius:0;background:none}
.tc-workspace .br-module-title{display:flex;gap:12px;align-items:start}
.tc-workspace .br-module-title h3{font-size:1.125rem;line-height:1.4;letter-spacing:-.012em;margin:0 0 6px}
.tc-workspace .br-module-title .tc-outline-duration{font-size:.875rem;line-height:1.5;margin:0;color:var(--muted)}
.tc-workspace .tc-module-outcome{max-width:68ch;margin:12px 0 8px;font-size:1rem;line-height:1.6;color:var(--muted)}
.tc-workspace .tc-selection-title{margin:0 0 8px;font-size:1.125rem;line-height:1.45;font-weight:650}
.tc-workspace[data-composer-view="selection"] .tc-heading{margin-bottom:12px}
.tc-workspace .br-order{flex:none;min-width:28px;height:28px;border-radius:50%;background:var(--panel2);font-size:.875rem;line-height:28px;text-align:center;color:var(--muted)}
.tc-workspace .br-module-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:8px 12px;margin:10px 0 8px;padding-inline-start:40px}
.tc-workspace .br-module-controls>label{display:block;font-size:.875rem;line-height:1.5;flex:1 1 18rem;min-width:0;max-width:100%}
.tc-workspace .br-module-controls select{width:100%;min-width:0;min-height:48px;height:max(48px,calc(1.5em + 26px));line-height:1.5;margin-top:4px;padding-inline:12px;font-size:.9375rem;max-width:100%}
.tc-workspace .br-module-controls .br-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.tc-workspace .br-module-controls button{min-height:44px;min-width:44px;padding:8px 12px;font-size:.9375rem}
.tc-workspace .br-module-outline>li>.br-check{font-size:.9375rem;line-height:1.55;margin:12px 0;min-height:44px}
.tc-workspace .br-module-outline>li>details{margin:8px 0 0;padding:0;border:0;background:none;border-radius:0}
.tc-workspace .br-module-outline>li>details>summary{font-size:.9375rem;line-height:1.55;padding:10px 0;min-height:44px}
/* Review controls share the reading flow; the wide agenda keeps native actions together. */
@media screen { .tc-workspace[data-composer-view="selection"] .br-module-controls {
  justify-content:flex-start;column-gap:12px;row-gap:8px;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-controls > label {
  flex:0 1 18rem;inline-size:min(18rem,100%);max-inline-size:18rem;min-inline-size:0;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-controls select {
  inline-size:100%;max-inline-size:100%;min-block-size:48px;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-controls .br-actions {
  flex:0 1 auto;justify-content:flex-start;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-title > div {min-inline-size:0;}
 .tc-workspace[data-composer-view="selection"] .br-module-title h3,
 .tc-workspace[data-composer-view="selection"] .tc-outline-duration,
 .tc-workspace[data-composer-view="selection"] .tc-module-outcome {overflow-wrap:anywhere;}
}
@media screen and (min-width:1101px) {
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,22rem);
  column-gap:24px;row-gap:8px;align-items:start;padding-block:20px;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li > .br-module-title {
  grid-column:1;grid-row:1;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li > .br-module-controls {
  grid-column:2;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:stretch;
  padding-inline-start:0;margin:0;gap:8px;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-controls > label {
  flex:0 1 auto;inline-size:100%;max-inline-size:18rem;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li > .tc-module-outcome {
  grid-column:1;grid-row:2;margin:0 0 0 40px;max-inline-size:68ch;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li > .br-check {
  grid-column:1;grid-row:3;margin:0 0 0 40px;
 }
 .tc-workspace[data-composer-view="selection"] .br-module-outline > li > details {
  grid-column:1 / -1;grid-row:4;margin:0 0 0 40px;
 }
}
.tc-workspace .tc-preparation-scope{max-width:85ch;margin:20px 0 28px;color:var(--muted);font-size:.9375rem;line-height:1.55}
.tc-workspace .tc-preparation-scope:empty{display:none}
.tc-workspace .tc-settings,.tc-workspace .tc-saved{border-block-start:1px solid var(--border);margin-top:24px;padding-top:4px}
.tc-workspace>.tc-settings[open],.tc-workspace>.tc-saved[open]{margin:0 0 20px;padding:0 16px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.tc-workspace .tc-panel-return{margin:16px 0 0}
.tc-workspace .tc-panel-return button{min-height:44px}
.tc-workspace .tc-point-time-scope{max-width:68ch;font-size:.9375rem;line-height:1.55;color:var(--muted)}
.tc-workspace :is(.tc-settings,.tc-saved)>summary{padding:16px 4px;font-size:1.125rem;font-weight:600;line-height:1.4;cursor:pointer}
.tc-workspace :is(.tc-settings,.tc-saved)>summary>span{display:inline-block;font-size:.9375rem;font-weight:400;color:var(--muted);margin-inline-start:12px}
.tc-workspace .tc-settings .br-setup{border:0;border-radius:0;padding:16px 4px 24px;margin:0;background:transparent}
.tc-workspace .tc-settings .br-setup>p>a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding-block:8px;font-size:1rem;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.tc-workspace .tc-composer-content>.tc-point-removals{margin:0 0 20px;padding:0 16px 16px;border:1px solid var(--border);border-radius:12px;background:var(--panel);min-width:0}
.tc-workspace .tc-point-removals>summary{padding:12px 0;min-height:44px;font-size:1rem}
.tc-workspace .tc-point-removals>p{max-width:68ch;margin:4px 0 12px;font-size:.9375rem;line-height:1.55}
.tc-workspace .tc-point-removals>ul{margin:0;padding:0;list-style:none}
.tc-workspace .tc-alternatives{padding:16px 4px 24px;max-width:82ch}
.tc-workspace .tc-alternatives h3{font-size:1.125rem;line-height:1.4}
.tc-workspace .tc-alternatives .br-actions{margin-top:20px}
.tc-workspace .tc-alternatives .br-actions>button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.tc-workspace .tc-saved .br-saved{padding:16px 4px;margin:0}
.tc-workspace .tc-saved .br-saved h2{font-size:1.5rem;line-height:1.3}
.tc-workspace .tc-selection{min-width:0}
.tc-workspace .br-trust{margin-top:16px;font-size:.9375rem;line-height:1.55}
/* Closed Review utilities remain reachable without competing with the agenda. */
@media screen {
 .tc-workspace[data-composer-view="selection"] > :is(.tc-settings,.tc-saved,.br-trust):not([open]) {
  border:0;border-block-start:1px solid var(--border);border-radius:0;
  background:none;padding:0;margin-block:16px 0;
 }
 .tc-workspace[data-composer-view="selection"] > :is(.tc-settings,.tc-saved,.br-trust):not([open]) > summary {
  min-block-size:44px;padding:10px 0;font-size:1rem;line-height:1.5;
 }
 .tc-workspace[data-composer-view="selection"] > :is(.tc-settings,.tc-saved):not([open]) > summary > span {
  margin-inline-start:8px;font-size:.9375rem;line-height:1.5;
 }
}
/* One measured header offset. Do not add header-sized margin to the existing scroll padding. */
.tc-workspace :is(#br-library-title,#br-outline-title,#br-setup-title,#br-saved-title){scroll-margin-top:calc(var(--studio-header-height,96px) + 24px)}
@supports selector(html:has(.tc-workspace)){
 html:has(.tc-workspace){scroll-padding-top:calc(var(--studio-header-height,96px) + 16px)}
 .tc-workspace :is(#br-library-title,#br-outline-title,#br-setup-title,#br-saved-title){scroll-margin-top:0}
}
@media(max-width:1023px){
 .tc-workspace .tc-composer-layout{grid-template-columns:1fr;gap:24px}
 .tc-workspace .tc-composer-rail,.tc-workspace .tc-composer-content{grid-column:1;grid-row:auto;position:static}
 .tc-workspace .tc-composer-rail[data-empty=true]{display:none}
 .tc-workspace .tc-session-tray{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 16px}
 .tc-workspace .tc-session-tray>.tc-eyebrow,.tc-workspace .tc-session-tray h2,.tc-workspace .tc-live-points,.tc-workspace .tc-more-points{display:none}
 .tc-workspace .tc-local-note{margin:0;padding:0;border:0}
 .tc-workspace .tc-session-tray .tc-review-action{grid-column:1;grid-row:auto;margin-top:0;align-self:center;width:100%}
 .tc-workspace .tc-output-options{grid-column:1;margin:0}
 .tc-workspace .tc-output-options .br-actions{flex-direction:row;flex-wrap:wrap}
 .tc-workspace .tc-output-options button{flex:1}
}
@media(max-width:599px){
 .tc-workspace .tc-heading{margin-bottom:16px}
 .tc-workspace .tc-heading h1{font-size:1.75rem}
 .tc-workspace .tc-heading-row{gap:12px}
 .tc-workspace .tc-heading-row>.br-actions{gap:8px;margin:0;width:100%}
 .tc-workspace .tc-heading-row>.br-actions>button{flex:1;font-size:.875rem}
 .tc-workspace .tc-session-tray{gap:8px 12px;padding:12px;border-radius:10px}
 .tc-workspace .tc-session-tray button{padding:9px 12px;font-size:.875rem}
 .tc-workspace .tc-tray-summary strong{font-size:.9375rem}
 .tc-workspace .tc-tray-summary>span{font-size:.875rem;line-height:1.5}
 .tc-workspace .tc-tray-topics{display:block}
 .tc-workspace .tc-session-tray .tc-review-action{max-width:none;gap:8px}
 .tc-workspace .tc-output-options{margin:0}
 .tc-workspace .tc-output-options>summary{font-size:.875rem;padding-block:8px}
 .tc-workspace .tc-output-options .br-actions{display:grid;grid-template-columns:1fr}
 .tc-workspace .tc-section-heading{align-items:flex-start;gap:12px}
 .tc-workspace .tc-section-heading>button{font-size:.875rem;min-width:90px;padding:8px}
 .tc-workspace .tc-topic-heading{flex-direction:column;align-items:flex-start;gap:8px}
 .tc-workspace .tc-topic-heading>button{order:0}
 .tc-workspace .tc-topic-heading>div{order:1;width:100%}
 .tc-workspace .tc-topic-grid{grid-template-columns:1fr;gap:0}
 .tc-workspace button.tc-topic-card{padding:14px 4px;gap:5px 10px}
 .tc-workspace .tc-topic-title{font-size:1.125rem}
 .tc-workspace .tc-search-controls{margin-bottom:12px}
 .tc-workspace .tc-point-heading{grid-template-columns:minmax(0,1fr);gap:8px}
 .tc-workspace .tc-point-heading>button{justify-self:start;min-width:132px;margin-bottom:4px}
 .tc-workspace .br-library-point>details[open]{padding:12px}
 @media screen{
  .tc-workspace :is(.br-library-point>details[open],.br-module-outline .br-teaching-point){padding-inline:8px}
  .tc-workspace :is(.br-library-point>details,.br-module-outline) .br-qualifications{padding-inline:12px}
 }
 .tc-workspace .tc-session-budget{padding:0;margin:0 0 10px}
 .tc-workspace .tc-time-overview{gap:2px 12px;padding-block:6px}
 .tc-workspace .tc-time-overview strong{font-size:1rem}
 .tc-workspace .tc-selection-actions button{font-size:.875rem;padding:8px 10px}
 .tc-workspace .tc-budget-fields{gap:12px}
 .tc-workspace .br-module-controls{display:grid;grid-template-columns:minmax(0,1fr);padding-inline-start:0;align-items:start}
 .tc-workspace .br-module-controls>label{width:100%;min-width:0;max-width:none}
 .tc-workspace .br-module-controls .br-actions{justify-content:flex-start}
 .tc-workspace .br-module-controls select{width:100%}
 .tc-workspace :is(.tc-settings,.tc-saved)>summary>span{display:block;margin:4px 0 0}
}
/* Review controls return to the full-width touch flow at the existing compact breakpoint. */
@media screen and (max-width:600px) {
 .tc-workspace[data-composer-view="selection"] .br-module-controls {padding-inline-start:0;}
 .tc-workspace[data-composer-view="selection"] .br-module-controls > label {
  flex:1 1 100%;inline-size:100%;max-inline-size:none;
 }
 .tc-workspace[data-composer-view="selection"] > :is(.tc-settings,.tc-saved):not([open]) > summary > span {
  display:block;margin-inline-start:0;margin-block-start:4px;
 }
}
@media(max-width:359px){.tc-workspace .tc-session-tray .tc-review-action{grid-template-columns:1fr}.tc-workspace .tc-budget-fields{gap:8px}.tc-workspace .br-module-controls .br-actions{justify-content:flex-start}}
@media(min-width:1024px) and (max-height:900px){.tc-workspace .tc-composer-rail{position:static}}
@media(prefers-reduced-motion:reduce){.tc-workspace *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active){.tc-workspace button.tc-topic-card{border:1px solid ButtonText}.tc-workspace button.tc-topic-card[data-has-included=true],.tc-workspace .tc-point-heading>button[aria-pressed=true]{border:3px solid Highlight}.tc-workspace .tc-topic-meta,.tc-workspace .tc-topic-meta>span{color:ButtonText}}
@media print{.tc-workspace .tc-composer-layout{display:block}.tc-workspace .tc-composer-rail,.tc-workspace .tc-end-review,.tc-workspace .tc-browser,.tc-workspace .tc-settings,.tc-workspace .tc-saved{display:none!important}.tc-workspace .tc-selection{display:block}.tc-workspace .br-module-outline>li{break-inside:avoid}}
.br-delivery-output h2{scroll-margin-top:calc(var(--studio-header-height,96px) + 24px)}

/* An explicit Motion off choice is independent of the operating-system setting. */
body[data-motion="off"] .tc-workspace button.tc-topic-card { transition: none; }
