/* Word probes use a complete document, without scroll boxes or truncated questions. */
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes{max-width:1060px;margin:auto;color:var(--ink,#292b36);font-size:16px;line-height:1.85;overflow:visible;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes *{box-sizing:border-box;min-width:0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(p,span,li,h2,h3,h4,legend,code,label,button){overflow-wrap:anywhere;white-space:normal;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes h2{font-size:27px;line-height:1.6;margin:22px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes h3{font-size:20px;line-height:1.7;margin:18px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes h4{font-size:18px;line-height:1.8;margin:12px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(p,li,label,textarea,select,input){font-size:17px;line-height:1.9;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes p{margin:12px 0;white-space:pre-wrap;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-pinyin,.word-probe-english){font-size:18px;color:var(--blue,#506c9d);line-height:1.95;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-pinyin{font-family:Inter,"Segoe UI","Noto Sans",sans-serif;color:#7a6576;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-target-word{font-size:28px;font-weight:500;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-meta{font-size:15px;color:var(--muted,#777785);}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-note,.word-probe-warning){padding:18px 20px;border:1px solid #dce5f5;border-radius:10px;background:#f8faff;font-size:16px;line-height:1.9;margin:18px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-warning{background:#fbf5f7;border-color:#ead4dd;color:#8c4762;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-toolbar,.word-probe-actions){display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:18px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-card,.word-probe-phase,.word-probe-question,.word-probe-feedback,.word-probe-history){padding:24px;margin:20px 0;border:1px solid var(--line,#e6e4e9);border-radius:12px;background:#fff;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-question{border-color:#cddaf0;box-shadow:0 4px 20px #56719908;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-targets{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:18px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-targets li{display:grid;gap:4px;padding:12px 18px;border:1px solid #e7e3ec;border-radius:9px;background:#fdfbfc;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(form,fieldset){display:grid;gap:16px;max-height:none;overflow:visible;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes form{margin:22px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes fieldset{padding:20px;border:1px solid var(--line,#e6e4e9);border-radius:10px;margin:14px 0;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes legend{padding:0 8px;font-size:17px;color:#5b7199;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes label{display:grid;gap:9px;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;max-width:100%;padding:12px 14px;border:1px solid var(--line,#e6e4e9);border-radius:8px;background:#fff;color:inherit;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes textarea{resize:none;overflow:hidden;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-option,.word-probe-checkbox){display:flex;align-items:flex-start;gap:12px;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-option{border:1px solid #e0e5ef;border-radius:9px;padding:16px;cursor:pointer;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-option:has(input:checked){border-color:#7e97be;background:#f7f9fe;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(input[type=radio],input[type=checkbox]){flex:0 0 20px;width:20px;height:20px;margin-top:6px;accent-color:#577ba9;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .admin-button{font-size:16px;line-height:1.7;min-height:46px;padding:10px 18px;max-width:100%;white-space:normal;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes details{border:1px solid var(--line,#e6e4e9);border-radius:9px;padding:16px;margin:20px 0;overflow:visible;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes summary{font-size:16px;line-height:1.9;cursor:pointer;min-height:44px;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .hb-select-trigger{font-size:17px;height:auto;min-height:47px;line-height:1.8;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .hb-select-value{white-space:normal;overflow:visible;text-overflow:clip;}
html.atelier-theme body:has(.word-probes) .hb-select-menu .hb-select-option{font-size:17px;line-height:1.8;white-space:normal;}
html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(button,input,textarea,select,summary):focus-visible{outline:2px solid #577ba9;outline-offset:3px;}
html.atelier-theme body .shell.workspace-shell .main[class].page-words .vocab-card :is(.pinyin-line,p:not(.vocab-example)){font-size:17px;line-height:1.95;}
html.atelier-theme body .shell.workspace-shell .main[class] :is(.word-probe-entry,.admin-word-probe-entry){margin:22px 0;padding:20px;border:1px solid #dce5f5;border-radius:10px;background:#f8faff;}
html.atelier-theme body .shell.workspace-shell .main[class] :is(.word-probe-entry,.admin-word-probe-entry) p{font-size:16px;line-height:1.9;}
html.atelier-theme body .shell.workspace-shell .main[class] .admin-evaluation-word-probes article{padding:20px;border:1px solid var(--line,#e6e4e9);border-radius:10px;margin:18px 0;overflow-wrap:anywhere;}
html.atelier-theme body .shell.workspace-shell .main[class] .admin-evaluation-word-probes dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:16px;}
html.atelier-theme body .shell.workspace-shell .main[class] .admin-evaluation-word-probes :is(p,dt,dd){font-size:16px;line-height:1.8;}
@media(max-width:650px){
 html.atelier-theme body .shell.workspace-shell .main[class] .word-probes h2{font-size:24px;}
 html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(.word-probe-card,.word-probe-phase,.word-probe-question,.word-probe-feedback,.word-probe-history,fieldset){padding:17px;}
 html.atelier-theme body .shell.workspace-shell .main[class] .word-probes :is(p,li,label,textarea,select,input,.word-probe-pinyin,.word-probe-english){font-size:16px;}
 html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-targets li{flex:1 1 135px;}
}
@media(prefers-reduced-motion:reduce){.word-probes *{animation:none!important;transition:none!important;}}
body.reduce-motion .word-probes *{animation:none!important;transition:none!important;}

html.atelier-theme body .shell.workspace-shell .main[class] .word-probes .word-probe-paired-summary{padding:20px;border:1px solid #d5dfef;border-radius:10px;background:#f8faff;margin:20px 0;}
