/* 老师号群发：照 TG 客服工作台 desk.css 中的 .teacher-* 规则（2026-10-29 复制），用于 WS 客服端 teacher-ui.js。 */
.teacher-page { max-width: 1480px; margin: 0 auto; padding: 28px; color: #25324a; }
.teacher-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.teacher-heading h1 { font-size: 28px; margin: 5px 0 10px; }
.teacher-heading p, .teacher-card small { color: #7f8da6; }
.teacher-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.teacher-layout > .teacher-card { min-width: 0; margin-bottom: 0; }
.teacher-layout { margin-bottom: 20px; }
.teacher-targets { grid-column: 1; grid-row: 1; }
.teacher-script-card { grid-column: 1 / -1; grid-row: 2; }
.teacher-wide-card { grid-column: 1 / -1; }
.teacher-card { background: #fff; border: 1px solid #e6ebf3; border-radius: 16px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 5px 18px #24375904; }
.teacher-card > h2, .teacher-card > summary { padding: 20px 24px; margin: 0; font-size: 17px; font-weight: 700; border-bottom: 1px solid #edf0f5; }
.teacher-card > summary { cursor: pointer; }
.teacher-card summary small { font-weight: 400; margin-left: 10px; }
.teacher-body { padding: 22px 24px; }
.teacher-page label { display: grid; gap: 8px; font-size: 13px; color: #5c6980; margin: 10px 0; }
.teacher-page input:not([type=checkbox]):not([type=file]), .teacher-page select, .teacher-page textarea { width: 100%; padding: 10px 12px; border: 1px solid #dfe5f0; border-radius: 8px; background: #fff; color: #26344e; font: inherit; box-sizing: border-box; }
.teacher-page textarea { line-height: 1.65; resize: vertical; }
.teacher-page input:focus, .teacher-page textarea:focus, .teacher-page select:focus { outline: 2px solid #8075ee; outline-offset: 1px; }
.teacher-page textarea[readonly] { background: #f6f8fc; }
.teacher-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.teacher-inline select { flex: 1; min-width: 120px; }
.teacher-inline label { flex: 1; min-width: 130px; }
.teacher-inline button, .teacher-page .teacher-saved button { margin: 2px; white-space: normal; }
.teacher-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 18px; }
.teacher-note, .teacher-warning { padding: 10px 12px; background: #f3f6fc; border-radius: 8px; font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.teacher-warning { color: #975323; background: #fff6e9; }
.teacher-warning:empty { display: none; }
.teacher-good { color: #16865e; }
.teacher-queue { padding: 0; list-style: none; }
.teacher-queue li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; border: 1px solid #e3e8f1; border-radius: 9px; margin: 8px 0; cursor: grab; }
.teacher-queue strong { flex: 1; overflow-wrap: anywhere; font-size: 13px; }
.teacher-position { padding: 6px 9px; background: #f0edff; color: #6959dd; border-radius: 6px; }
.teacher-paste { min-height: 290px; }
.teacher-part { border: 1px solid #e4e8f2; padding: 14px; border-radius: 10px; margin: 14px 0; }
.teacher-part .teacher-inline { margin-top: 0; }
.teacher-part .teacher-inline span { flex: 1; color: #8290a5; }
.teacher-part > label { display: flex; align-items: center; flex-wrap: wrap; }
.teacher-part input { max-width: 90px; }
.teacher-script-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; }
.teacher-source, .teacher-english-preview { min-width: 0; border: 1px solid #e4e8f2; border-radius: 9px; padding: 14px; }
.teacher-source > h3, .teacher-english-preview > h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #35425b; }
.teacher-source h3 small, .teacher-english-preview h3 small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: #697790; }
.teacher-source .teacher-paste { min-height: 420px; }
.teacher-script-workspace { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; align-items: start; scroll-margin-top: 100px; }
.teacher-outline { min-width: 0; max-height: 240px; overflow-y: auto; border: 1px solid #e4e8f2; border-radius: 10px; background: #fff; }
.teacher-outline-heading { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 10px 12px; color: #44516b; background: #f8f9fc; }
.teacher-outline-heading small { font-size: 12px; color: #697790; }
.teacher-outline-row { width: 100%; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; text-align: left; background: #fff; border: 0; border-top: 1px solid #e4e8f2; border-radius: 0; padding: 11px 12px; font: inherit; cursor: pointer; color: #33415b; }
.teacher-outline-row[aria-pressed="true"] { background: #f0edff; box-shadow: inset 3px 0 #7562e6; }
.teacher-outline-row:hover { background: #f7f5ff; }
.teacher-outline-number { font-size: 12px; color: #65718c; font-variant-numeric: tabular-nums; }
.teacher-outline-content { min-width: 0; }
.teacher-outline-content strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.teacher-outline-content small { display: block; color: #697790; margin-top: 4px; font-size: 12px; }
.teacher-outline-row > span:last-child { font-size: 12px; }
.teacher-outline-error { color: #975323; }
.teacher-part-editor { min-width: 0; }
.teacher-part-editor .teacher-part { margin: 0; }
.teacher-part-editor textarea { font-weight: 700; min-height: 210px; }
.teacher-part-editor .teacher-inline span { color: #697790; overflow-wrap: anywhere; }
.teacher-part-editor .teacher-part > label[for] { display: block; }
.teacher-part-actions { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #edf0f5; padding-top: 12px; margin-top: 12px; }
.teacher-preview-part > h3 { font-size: 13px; color: #52617b; margin: 0 0 8px; }
@media(max-width:900px) { .teacher-script-columns { grid-template-columns: minmax(0,1fr); } }
.teacher-page blockquote { border-left: 3px solid #7965e7; background: #f7f5ff; margin: 16px 0; padding: 15px; font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; }
.teacher-confirm { grid-column: 1 / -1; grid-row: auto; border: 2px solid #bcb2fb; }
.teacher-confirm > h2 { background: #f4f1ff; color: #5140b9; }
.teacher-start-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.teacher-start-actions button { flex: 1 1 240px; min-height: 54px; margin: 0; font-size: 16px; font-weight: 700; }
.teacher-confirm .teacher-check { display: flex; align-items: flex-start; }
.teacher-check input { accent-color: #7662eb; flex: none; }
.teacher-preview-part { padding: 12px 0; border-top: 1px solid #e6ebf3; overflow-wrap: anywhere; }
.teacher-group-list { max-height: 340px; overflow-y: auto; }
.teacher-group-count { color: #6554d9; background: #f0edff; border: 1px solid #ddd5ff; border-radius: 8px; padding: 10px 12px; margin: 8px 0; font-size: 15px; font-weight: 700; }
.teacher-group-list .teacher-check { display: flex; align-items: center; padding: 8px; background: #f8f9fd; }
.teacher-group-list small { display: block; margin-top: 3px; }
.teacher-saved { padding: 14px 0; border-bottom: 1px solid #e8ecf4; }
.teacher-saved p { font-size: 13px; overflow-wrap: anywhere; }
.teacher-progress-bar { display: flex; height: 12px; overflow: hidden; border-radius: 8px; background: #e8edf5; }
.teacher-bar-success { background: #50bd99; }.teacher-bar-failed { background: #ef7c7c; }.teacher-bar-unknown { background: #e9b64c; }.teacher-bar-pending { background: #cad3e2; }
@media(max-width:1100px) { .teacher-layout { grid-template-columns: minmax(0,1fr); }.teacher-confirm { grid-column: 1; grid-row: auto; }.teacher-page { padding: 16px; } }
@media(max-width:650px) { .teacher-grid { grid-template-columns: minmax(0,1fr); }.teacher-body { padding: 16px; }.teacher-heading { align-items: flex-start; flex-direction: column; } }
.teacher-preview-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.teacher-page .teacher-queue button{min-height:30px;padding:4px 10px}
.teacher-page .teacher-part-image{font-size:12px;color:#5c6980;margin-top:6px}
.teacher-page .teacher-cjk{color:#b5402b;font-weight:600}
body.portal-desk #content:has(.teacher-page){max-width:none}

/* 水军分类群发（岗位制）：照 TG desk.css 的 .role-* 规则，用于 role-ui.js */
.role-head,.role-chips{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 20px}
.role-head{border-bottom:1px solid #e5e8f1}.role-head>span,.role-muted{color:#6b7487;font-size:13px}
#roleRoot .role-head>label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-weight:600}
.role-label{font-weight:600;margin:12px 0}.role-chip{display:inline-flex;align-items:center;border:1px solid #e3e7ef;background:#f8f9fc;border-radius:20px;padding:5px 10px;gap:5px}
#roleRoot .role-chip label{display:flex;align-items:center;gap:7px;margin:0}#roleRoot input[type=checkbox]{width:16px;height:16px;flex:none;accent-color:#7161e7}
.role-blocked{border-color:#e6bcc0}.role-error{color:#aa3648}.role-unassigned{border:1px dashed #dbb763;background:#fff9ed;padding:18px;border-radius:12px;margin:18px 0}
.role-settings{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.role-script{border-top:1px solid #e3e7ef;padding:14px 0}.role-script input[type=file]{max-width:100%}
.role-pair{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,2fr) minmax(90px,.6fr);gap:12px;padding:12px 0;border-bottom:1px solid #e5e8ef}.role-pair span{white-space:pre-wrap;overflow-wrap:anywhere}
.role-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border-bottom:1px solid #e5e8ef;padding:15px 0}.role-stats div{display:flex;flex-direction:column;color:#697587}.role-stats strong{font-size:22px;color:#26324a}
.role-example{padding:12px 0;border-bottom:1px solid #e5e8ef}.role-example p,#roleStatus,#roleJob{white-space:pre-wrap;overflow-wrap:anywhere}#roleRoot details summary{cursor:pointer;padding:14px 0;color:#6955d2}
@media(max-width:750px){.role-settings,.role-pair{grid-template-columns:minmax(0,1fr)}.role-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.category-image { display:block; max-width:100%; max-height:180px; object-fit:contain; margin:12px 0; }
.role-picker-row{display:flex!important;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #eef1f6}
.role-chip .btn{min-height:24px;padding:0 8px}
/* 03 消息配图卡片（2026-10-30，照 TG 老师号群发图片卡片 + WS 草图）。 */
.teacher-image-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end}
.teacher-image-toolbar label{margin:0}
.teacher-image-toolbar .btn.primary{min-height:42px;padding:0 18px;white-space:nowrap}
.teacher-image-hint,.teacher-image-foot{font-size:12px;color:#7f8da6;margin:10px 0 0;line-height:1.6}
.teacher-image-foot{border-top:1px solid #edf0f5;padding-top:14px;margin-top:18px}
.teacher-page blockquote.teacher-image-quote{display:grid;gap:6px;border-left:3px solid #2f7be0;background:#f2f7ff;border-radius:0 10px 10px 0;font-weight:400;white-space:normal}
.teacher-image-quote small{color:#4f6a91;font-size:12px}
.teacher-image-quote span{white-space:pre-wrap;color:#25324a;font-size:14px;line-height:1.6;max-height:6.4em;overflow:auto}
.teacher-image-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;border-radius:10px;font-size:13px;line-height:1.6;margin:0 0 14px;background:#f3f6fc;color:#3d4a62;overflow-wrap:anywhere}
.teacher-image-notice[hidden]{display:none}
.teacher-image-notice.is-ok{background:#eaf7f0;color:#17704c}
.teacher-image-notice.is-warn{background:#fff6e9;color:#8a4b17}
.teacher-image-notice.is-error{background:#fff0f1;color:#b03045}
.teacher-image-notice .btn{flex:none}
.teacher-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:4px 0 0}
.teacher-media-placeholder{grid-column:1/-1}
.teacher-media-card{min-width:0;border:1px solid #e2e7f2;border-radius:14px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.teacher-media-card [hidden]{display:none!important}
.teacher-media-card.is-uploading{border-color:#b9d3f7;box-shadow:0 0 0 3px #e6f0fd}
.teacher-media-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #edf0f6;min-height:26px}
.teacher-media-head strong{font-size:14px}
.teacher-media-remove{border:0;background:#fff1f2;color:#bd3548;border-radius:7px;font-size:13px;padding:6px 10px;cursor:pointer}
.teacher-media-remove:hover:not(:disabled){background:#ffe3e6}
.teacher-media-delete{margin-left:auto;color:#bd3548!important;border-color:#f3c6cc!important;background:#fff!important}
.teacher-media-delete:hover:not(:disabled){background:#fff1f2!important}
.teacher-media-state{font-size:12px;color:#7f8da6}
.teacher-media-card.is-uploading .teacher-media-state{color:#2b73d5}
.teacher-media-frame,.teacher-media-empty{display:flex;position:relative;width:100%;aspect-ratio:16/10;min-height:160px;border:0;margin:0;padding:14px;background:#f4f6fb;overflow:hidden;font:inherit;box-sizing:border-box}
.teacher-media-frame{align-items:center;justify-content:center;cursor:zoom-in}
.teacher-media-frame:disabled{cursor:progress}
.teacher-media-frame img{display:block;width:100%;height:100%;object-fit:contain;border-radius:6px}
.teacher-media-pending{position:absolute;left:12px;top:12px;background:#fff6df;color:#805a14;border:1px solid #f0dfa8;border-radius:7px;padding:5px 9px;font-size:12px}
.teacher-media-zoom{position:absolute;right:12px;bottom:12px;background:rgba(34,44,65,.82);border-radius:6px;padding:5px 8px;color:#fff;font-size:12px;opacity:0;transition:opacity .15s}
.teacher-media-frame:hover:not(:disabled) .teacher-media-zoom,.teacher-media-frame:focus-visible .teacher-media-zoom{opacity:1}
.teacher-media-loading,.teacher-media-error{display:none;color:#73819a;font-size:13px;text-align:center;line-height:1.6}
.teacher-media-frame.is-loading .teacher-media-loading{display:block}
.teacher-media-frame.is-loading img,.teacher-media-frame.is-error img,.teacher-media-frame.is-error .teacher-media-zoom,.teacher-media-frame.is-loading .teacher-media-zoom{display:none}
.teacher-media-frame.is-error{cursor:default}
.teacher-media-frame.is-error .teacher-media-error{display:block}
.teacher-media-empty{flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;color:#2b73d5;text-align:center}
.teacher-media-empty:hover:not(:disabled){background:#eaf2fe}
.teacher-media-empty:disabled{cursor:wait;opacity:.6}
.teacher-media-empty:focus-visible,.teacher-media-frame:focus-visible{outline:2px solid #2f7be0;outline-offset:-3px}
.teacher-media-plus{font-size:40px;line-height:1;font-weight:300}
.teacher-media-empty strong{font-size:14px}
.teacher-media-empty small{color:#7f8da6;font-size:12px}
.teacher-media-body{display:grid;gap:8px;padding:14px 16px 16px;flex:1;align-content:start}
.teacher-media-filename{margin:0;font-size:12px;color:#7f8da6;overflow-wrap:anywhere}
.teacher-media-excerpt{margin:0;font-size:13px;line-height:1.65;color:#25324a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;min-height:3.3em}
.teacher-media-progress{display:grid;gap:6px;padding:10px 12px;border:1px solid #d6e5fb;border-radius:9px;background:#f3f8ff}
.teacher-media-progress progress{width:100%;height:7px;accent-color:#2f7be0}
.teacher-media-progress-label{font-size:13px;font-weight:600;color:#245fc8}
.teacher-media-progress-meta{font-size:12px;color:#5c6980}
.teacher-media-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.teacher-media-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:16px;box-shadow:0 24px 90px rgba(21,32,56,.28);color:#25324a}
.teacher-media-dialog::backdrop{background:rgba(20,29,48,.68)}
.teacher-media-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #edf0f6}
.teacher-media-dialog-frame{display:flex;align-items:center;justify-content:center;background:#f4f6fb;padding:16px;min-height:200px}
.teacher-media-dialog-frame img{max-width:100%;max-height:calc(100dvh - 210px);object-fit:contain}
.teacher-media-dialog-frame img[hidden],.teacher-media-dialog-frame p[hidden]{display:none}
.teacher-media-dialog>.teacher-media-filename{padding:10px 18px 14px}
@media(max-width:760px){.teacher-media-grid{grid-template-columns:minmax(0,1fr)}.teacher-image-toolbar{grid-template-columns:minmax(0,1fr)}}

/* 02 任务话术 · 原稿格式示例（2026-10-30） */
.teacher-format-guide{margin-top:16px;padding-top:14px;border-top:1px dashed #dfe5f0}
.teacher-format-guide h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#35425b}
.teacher-format-guide h4 small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:#697790}
.tfg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.tfg-card{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid #e4e8f2;border-radius:9px;padding:12px;background:#fbfcff}
.tfg-card header{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tfg-card header strong{font-size:13px;color:#24324b}
.tfg-tag{font-size:11px;padding:1px 7px;border-radius:10px;background:#e8f1ff;color:#2b73d5}
.tfg-count{margin-left:auto;font-size:12px;color:#17704c;background:#eaf7f0;padding:1px 8px;border-radius:10px}
.tfg-doc{display:flex;flex-direction:column;gap:3px;padding:12px 12px 12px 14px;background:#fff;border:1px solid #edf0f6;border-left:3px solid #4b8ef0;border-radius:6px;font-size:12px;line-height:1.55;color:#24324b;box-shadow:0 1px 2px rgba(30,60,120,.05)}
.tfg-doc span{position:relative;overflow-wrap:anywhere}
.tfg-doc em{font-style:normal;font-size:10.5px;margin-left:6px;padding:0 5px;border-radius:4px;white-space:nowrap}
.tfg-num{font-weight:700;color:#2b73d5;margin-top:4px}
.tfg-num:first-child{margin-top:0}
.tfg-num em{background:#e8f1ff;color:#2b73d5;font-weight:500}
.tfg-zh{color:#a3acbd;text-decoration:line-through;text-decoration-color:#c9cfdb}
.tfg-zh em{display:inline-block;text-decoration:none;background:#f2f4f8;color:#8792a6}
.tfg-en{color:#24324b;font-weight:600}
.tfg-gap{display:flex;align-items:center;gap:8px;margin:5px 0;font-size:10.5px;color:#4b8ef0}
.tfg-gap::before,.tfg-gap::after{content:"";flex:1;border-top:1px dashed #b9d3fb}
.tfg-card ul{margin:0;padding-left:18px;font-size:12px;line-height:1.7;color:#4d5a72}
.tfg-card .btn{align-self:flex-start;margin-top:auto}

/* 2026-12-03 分类群发：每个岗位自己选群、自己说几句（role-ui.js） */
.role-targets{display:grid;gap:10px;padding:0 0 4px}
.role-seg{display:inline-flex;border:1px solid #d5deeb;border-radius:10px;overflow:hidden;width:max-content;max-width:100%}
#roleRoot .role-seg label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;padding:7px 14px;font-weight:500;cursor:pointer}
#roleRoot .role-seg label:has(input:checked){background:#eaf2ff;color:#245fc8}
#roleRoot .role-seg input{width:15px;height:15px;accent-color:#2563eb}
.role-picked-groups{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.role-group{border:1px solid #e3e7ef;background:#f8f9fc;border-radius:16px;padding:3px 10px;font-size:13px}
.role-sentence-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0}
.role-estimate{margin:10px 0;padding:9px 12px;border-radius:10px;background:#f3f7ff;color:#33507f;font-size:13px}
.role-settings.role-speed{grid-template-columns:1fr 1fr}
.role-group-picker{max-height:60vh;overflow:auto}
.role-group-picker [hidden]{display:none!important}
/* 2026-12-04 选群入口改醒目：蓝色大按钮 + 已选数量；弹窗顶部固定显示已选几个 */
.role-pick{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
#roleRoot .role-pick .btn.primary{min-height:40px;padding:0 18px;font-size:14px;font-weight:600;background:#2563eb;border-color:#2563eb;color:#fff}
#roleRoot .role-pick .btn.primary:hover{background:#1d4fd0;border-color:#1d4fd0}
.role-pick-count{font-size:14px;color:#245fc8}
.role-pick.unset{padding:14px 16px;border:1px dashed #9db9ec;border-radius:12px;background:#f5f9ff}
.role-pick.unset .role-pick-count{color:#b4690e}
.role-picker-top{position:sticky;top:0;z-index:1;background:#f3f4f6;padding-bottom:8px;border-bottom:1px solid #e3e7ef}
.role-picker-count{margin:8px 0 0;font-size:14px;color:#33507f}.role-picker-count strong{font-size:16px;color:#2563eb}
@media(max-width:750px){.role-sentence-settings,.role-settings.role-speed{grid-template-columns:minmax(0,1fr)}}

/* 2026-12-04 老师号群发 01 重排：三小步（选号、选群、主号出问题时），选群用蓝色按钮 + 已选数量（teacher-ui.js） */
.teacher-targets [hidden]{display:none!important}
.teacher-step-top{display:flex;gap:12px;align-items:flex-end}.teacher-page .teacher-step-top label{flex:1;margin:0}
.teacher-step{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin:22px 0 12px;padding-top:18px;border-top:1px solid #edf0f5}
.teacher-step span{width:22px;height:22px;border-radius:50%;background:#eaf2ff;color:#245fc8;font-size:12px;display:inline-flex;align-items:center;justify-content:center}
.teacher-step-hint{margin:8px 0 0;font-size:13px;color:#7f8da6}
.teacher-accounts{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.teacher-accounts .teacher-queue{display:contents}
.teacher-accounts .teacher-queue li{margin:0;padding:4px 6px 4px 4px;border-radius:22px;gap:8px;flex-wrap:nowrap;background:#f8f9fc}
.teacher-accounts .teacher-queue li.teacher-queue-empty{cursor:default;border-style:dashed;padding:8px 14px;color:#7f8da6;font-size:13px}
.teacher-accounts .teacher-queue strong{flex:none;font-weight:600}
.teacher-accounts .teacher-position{border-radius:16px;font-size:12px;padding:4px 9px}
.teacher-page .teacher-accounts .teacher-queue button{min-height:26px;padding:2px 9px;border-radius:14px}
.teacher-page #teacherAccountPicker{width:auto;min-width:230px;max-width:100%;border-style:dashed;border-color:#9db9ec;color:#245fc8;border-radius:22px;padding:8px 12px}
.teacher-seg{display:inline-flex;border:1px solid #d5deeb;border-radius:10px;overflow:hidden;margin-bottom:12px}
.teacher-page .teacher-seg label{display:flex;align-items:center;gap:6px;margin:0;padding:7px 14px;font-size:14px;color:#25324a;cursor:pointer;white-space:nowrap}
.teacher-page .teacher-seg label:has(input:checked){background:#eaf2ff;color:#245fc8}
.teacher-page .teacher-seg input[type=radio]{width:15px;height:15px;padding:0;border:0;margin:0;flex:none;accent-color:#2563eb}
.teacher-page #teacherPickButton{min-height:40px;padding:0 18px;font-size:14px;font-weight:600;background:#2563eb;border-color:#2563eb;color:#fff}
.teacher-page #teacherPickButton:hover{background:#1d4fd0;border-color:#1d4fd0}
.teacher-pick-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 0}
.teacher-pick-row .teacher-group-count{margin:0;padding:0;border:0;background:none;color:#245fc8;font-size:14px}
.teacher-pick-row .teacher-group-count.unset{color:#b4690e}
.teacher-pick-links{margin-left:auto;display:flex;gap:6px}
.teacher-group-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px}.teacher-group-chips:empty{display:none}
.teacher-more{font-size:13px;color:#7f8da6}
#teacherGroupStatus:empty{display:none}#teacherGroupStatus,#teacherGroupErrors{margin:10px 0 0}
.teacher-membership{display:grid;gap:6px;margin-top:10px;font-size:13px;white-space:pre-wrap}.teacher-membership:empty{display:none}
.teacher-member{margin:0;padding:8px 12px;border-radius:8px}
.teacher-member.ok{background:#e9f7f0;color:#16704f}.teacher-member.warn{background:#fff6e9;color:#975323}
.teacher-options{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.teacher-option{flex:1;min-width:200px;text-align:left;padding:12px 14px;border:1px solid #d5deeb;border-radius:10px;background:#fff;color:#25324a;font:inherit;font-weight:600;cursor:pointer}
.teacher-option[aria-checked=true]{border:2px solid #2563eb;padding:11px 13px;background:#f5f9ff;color:#1d4fd0}
.teacher-step-summary{margin:20px 0 0;padding:10px 12px;border-radius:8px;background:#e9f7f0;color:#16704f;font-size:13px}
.teacher-step-summary.todo{background:#f3f6fc;color:#5c6980}
