.cctx-workspace{--primary:var(--accent);--text:var(--ink);--border:var(--line);--surface-soft:var(--surface2);--primary-soft:var(--accent2)}
.cctx-workspace{max-width:900px;margin:0 auto}.cctx-workspace .cctx-counts{display:flex;gap:32px;margin:24px 0}.cctx-counts>div{display:flex;flex-direction:column;gap:4px}.cctx-counts strong{font-size:1.8rem}.cctx-counts span{font-size:.85rem;color:var(--muted)}.cctx-workspace .cctx-sentence{font-size:1.2rem;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0}.cctx-blank{display:inline-block;min-width:100px;letter-spacing:2px;color:var(--primary);text-align:center}.cctx-context{padding:16px 20px;border-radius:12px;background:var(--surface-soft,var(--bg));line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.cctx-context p{margin:8px 0}.cctx-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.cctx-option{display:flex;align-items:center;gap:16px;min-height:52px;padding:14px 18px;border:1px solid var(--border);border-radius:10px;background:var(--surface,#fff);color:var(--text);font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.cctx-option.selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:var(--primary-soft,var(--bg))}.cctx-option:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.cctx-letter{color:var(--muted);font-size:.9rem;flex-shrink:0}.cctx-option:disabled{opacity:.65;cursor:wait}.cctx-material{padding-top:20px;margin-top:20px;border-top:1px solid var(--border);line-height:1.75;overflow-wrap:anywhere}.cctx-material h3{font-size:.9rem;color:var(--muted);margin:0 0 12px}.cctx-material p{white-space:pre-wrap}.cctx-result{font-size:1.15rem;font-weight:600}.cctx-result.correct{color:var(--success,#168256)}.cctx-result.wrong{color:var(--warning,#a9691c)}.cctx-actions{margin-top:24px;flex-wrap:wrap}.cctx-actions label{display:flex;align-items:center;gap:8px}.cctx-report{margin:20px 0;padding:16px;border-radius:10px;background:var(--bg)}.cctx-report label{display:block;margin-top:16px}.cctx-report textarea{display:block;width:100%;box-sizing:border-box;margin:12px 0;min-height:88px}.cctx-workspace button{min-height:44px}.cctx-workspace .page-head{flex-wrap:wrap;gap:16px}.cctx-workspace p{overflow-wrap:anywhere}@media(max-width:600px){.cctx-options{grid-template-columns:1fr}.cctx-workspace .cctx-sentence{font-size:1.15rem}.cctx-context{padding:14px}.cctx-actions{align-items:stretch}.cctx-actions>.btn{flex:1 1 160px}}
.cctx-admin-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-top:1px solid var(--border)}.cctx-admin-row>div{min-width:0;overflow-wrap:anywhere}.cctx-admin-filters{flex-wrap:wrap;align-items:flex-end;gap:16px}.cctx-admin-filters label{display:flex;flex-direction:column;gap:6px;flex:1 1 120px;min-width:0}.cctx-admin-filters input,.cctx-admin-filters select{width:100%;box-sizing:border-box}.cctx-audit{font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere;max-height:600px;overflow-y:auto}.cctx-admin-detail .notice{line-height:1.7}@media(max-width:600px){.cctx-admin-row{align-items:flex-start;flex-direction:column}}

.cctx-workspace .cctx-head{align-items:center;gap:12px;margin-bottom:12px}
.cctx-heading-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;min-width:0}
.cctx-heading-title .eyebrow{margin:0;white-space:nowrap}
.cctx-session-status{flex:1;text-align:center;font-size:13px;color:var(--muted);white-space:nowrap}
.cctx-head>.btn{margin-left:auto}
.cctx-workspace .cctx-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;overflow-wrap:anywhere}
.cctx-feedback-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
.cctx-feedback .cctx-feedback-head h2,.cctx-feedback .cctx-feedback-head .cctx-result{margin:0}
.cctx-overview .cctx-overview-start{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px}
.cctx-workspace .cctx-overview-start .cctx-counts{display:flex;flex-wrap:wrap;gap:12px 20px;margin:0}
.cctx-overview-start .cctx-counts>div{flex-direction:row;align-items:baseline;gap:7px}
.cctx-overview-start .cctx-counts strong{font-size:26px;line-height:1.3}
.cctx-overview-start .cctx-counts span{white-space:nowrap}
.cctx-overview .cctx-actions{align-items:center;gap:8px;margin:0}
.cctx-overview .cctx-actions label{flex-direction:row;margin:0;white-space:nowrap;font-size:13px}
.cctx-overview .cctx-actions select{width:auto;min-width:68px;min-height:44px;margin:0}
.cctx-overview .cctx-overview-help{margin:12px 0 0}
@media(max-width:600px){
 .cctx-workspace .cctx-head{gap:10px}
 .cctx-session-status{flex:0 1 auto;text-align:left}
 .cctx-overview .cctx-actions{width:100%}
 .cctx-overview .cctx-actions label{flex:1 1 100%}
 .cctx-overview .cctx-actions select{flex:1}
 .cctx-overview-start .cctx-counts strong{font-size:24px}
}
