.hsm-question-bank{--qb-border:var(--hsm-border,#dde3eb);--qb-accent:var(--hsm-primary,#3156a3);color:var(--hsm-text,#243249);max-width:1200px;margin-inline:auto}.hsm-question-bank *{box-sizing:border-box}.hsm-question-bank [hidden]{display:none!important}.hsm-qb-head,.hsm-qb-actions,.hsm-qb-pages,.hsm-qb-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hsm-qb-head h2,.hsm-qb-head h3{margin:0}.hsm-qb-head p,.hsm-qb-hint{color:var(--hsm-muted,#67738a)}.hsm-qb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:15px}.hsm-question-bank label{display:flex;flex-direction:column;gap:6px;min-width:0}.hsm-question-bank label:has(>input[type=checkbox]),.hsm-question-bank label:has(>input[type=radio]){flex-direction:row;align-items:center}.hsm-question-bank input:not([type=checkbox]):not([type=radio]):not([type=file]),.hsm-question-bank select,.hsm-question-bank textarea{width:100%;min-width:0;max-width:100%;border:1px solid var(--qb-border);border-radius:9px;padding:10px;font:inherit;background:var(--hsm-card,#fff);color:inherit}.hsm-question-bank textarea{resize:vertical}.hsm-question-bank :focus-visible{outline:3px solid #91b9fa;outline-offset:2px}.hsm-qb-editor,.hsm-qb-card,.hsm-qb-admin,.hsm-qb-chapter,.hsm-qb-template-item{border:1px solid var(--qb-border);border-radius:14px;background:var(--hsm-card,#fff);padding:18px;margin-block:15px}.hsm-qb-editor{border-color:var(--qb-accent)}.hsm-qb-tabs{justify-content:flex-start;margin-block:14px}.hsm-qb-tabs [aria-pressed=true]{background:var(--qb-accent);color:#fff}.hsm-qb-list{display:grid;gap:12px}.hsm-qb-card{margin:0}.hsm-qb-card header{display:flex;justify-content:space-between;gap:10px}.hsm-qb-card p{white-space:pre-wrap;overflow-wrap:anywhere}.hsm-qb-card small{color:var(--hsm-muted,#67738a)}.hsm-qb-card img,.hsm-qb-media img{max-width:100%;max-height:180px;object-fit:contain;border-radius:8px}.hsm-qb-card footer{display:flex;gap:8px;margin-top:12px}.hsm-qb-tags{display:flex;gap:15px;flex-wrap:wrap;margin-block:14px}.hsm-question-bank details{margin-block:14px;border-block-start:1px solid var(--qb-border);padding-block-start:12px}.hsm-question-bank summary{cursor:pointer;font-weight:600;margin-bottom:12px}.hsm-question-bank fieldset{border:1px solid var(--qb-border);border-radius:10px;padding:12px;margin-block:15px}.hsm-qb-option{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}.hsm-qb-option-actions{display:flex;gap:4px}.hsm-qb-option-actions button{min-width:32px;min-height:44px}.hsm-qb-media{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;margin-block:12px}.hsm-qb-media label{position:relative;cursor:pointer;overflow:hidden}.hsm-qb-media input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.hsm-qb-media>div{display:flex;gap:8px;flex-wrap:wrap}.hsm-qb-media figure{margin:0;display:flex;flex-direction:column;gap:4px}.hsm-qb-media figure img{max-width:150px;max-height:110px}.hsm-qb-topic{border-inline-start:3px solid #d8e3f5;margin-block:12px;padding-inline-start:12px}.hsm-qb-drag{cursor:grab}.hsm-qb-chapter.is-dragging,.hsm-qb-topic.is-dragging{opacity:.45}.hsm-qb-topic .hsm-qb-grid{grid-template-columns:1fr 2fr}.hsm-qb-admin>form,.hsm-qb-admin>details{margin-block:24px}.hsm-qb-error{color:#a22828}.hsm-qb-pages{justify-content:center;margin-block:20px}.hsm-question-bank button:disabled{opacity:.5;cursor:wait}.hsm-qb-proposal{display:flex;gap:8px;align-items:center;padding:10px;border-block-end:1px solid var(--qb-border)}.hsm-qb-proposal span{flex:1;overflow-wrap:anywhere}.hsm-qb-source-empty{color:#8a5816}@media(max-width:700px){.hsm-qb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hsm-qb-editor,.hsm-qb-card,.hsm-qb-admin{padding:12px}.hsm-qb-option{grid-template-columns:22px minmax(0,1fr);gap:6px}.hsm-qb-option-actions{grid-column:2;justify-content:flex-end}.hsm-question-bank .hsm-button{white-space:normal}.hsm-qb-topic .hsm-qb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hsm-question-filters{--qb-border:var(--hsm-border,#dde3eb);color:var(--hsm-text,#243249);min-width:0}.hsm-question-filters *{box-sizing:border-box}.hsm-question-filters label{display:flex;flex-direction:column;gap:6px;min-width:0}.hsm-question-filters input,.hsm-question-filters select{font:inherit;width:100%;min-width:0;max-width:100%;min-height:44px;border:1px solid var(--qb-border);border-radius:9px;padding:9px;color:inherit;background:var(--hsm-card,#fff)}.hsm-question-filters small{color:var(--hsm-muted,#67738a);font-size:.78em}.hsm-question-filters details{margin-block:14px;border-block-start:1px solid var(--qb-border);padding-block-start:12px}.hsm-question-filters summary{cursor:pointer;font-weight:600}.hsm-question-filters [hidden]{display:none!important}.hsm-question-filters :focus-visible{outline:3px solid #91b9fa;outline-offset:2px}.hsm-question-bank .hsm-qb-wide{grid-column:1/-1}.hsm-qb-selection{background:var(--hsm-surface-soft,#eef4ff);border-inline-start:3px solid var(--qb-accent);padding:10px 12px;overflow-wrap:anywhere}.hsm-qb-source-tree{border-block-start:1px solid var(--qb-border);margin-block:22px;padding-block-start:15px}.hsm-qb-source-tree h4{margin:0}.hsm-qb-source-files{margin-block:14px}.hsm-qb-source-files p{margin-block:0 8px}.hsm-qb-file-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.hsm-qb-file{display:flex;align-items:center;gap:8px;background:var(--hsm-surface-soft,#f4f6fa);border:1px solid var(--qb-border);border-radius:9px;padding:6px;min-width:0;max-width:100%}.hsm-qb-file a{overflow-wrap:anywhere;min-width:0}.hsm-question-bank .hsm-qb-file-picker{display:inline-flex;position:relative;overflow:hidden;max-width:100%;min-height:44px;justify-content:center;align-items:center}.hsm-qb-file-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.hsm-qb-page-range{border-inline-start:3px solid #dfceaa;background:var(--hsm-surface-soft,#faf8f2);padding:12px;margin-block:12px;border-radius:8px}.hsm-qb-category{border:1px solid var(--qb-border);padding:14px;margin-block:14px;border-radius:10px}.hsm-qb-category-option{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;padding-block:12px;border-block-end:1px solid var(--qb-border)}.hsm-question-bank .hsm-qb-category-option>label:has(input[type=checkbox]){align-self:center}.hsm-question-bank button{min-height:44px}.hsm-question-bank .hsm-qb-admin>header p{line-height:1.9}.hsm-question-bank input[type=file]{max-width:100%}@media(max-width:700px){.hsm-qb-category-option{grid-template-columns:repeat(2,minmax(0,1fr))}.hsm-qb-chapter,.hsm-qb-category{padding:10px}.hsm-qb-topic{padding-inline-start:9px}.hsm-question-filters select[multiple]{min-height:100px}.hsm-qb-file{flex-wrap:wrap}.hsm-question-bank input,.hsm-question-bank select,.hsm-question-bank textarea,.hsm-question-filters input,.hsm-question-filters select{font-size:16px}}
.hsm-question-bank .hsm-qb-file-picker:focus-within{outline:3px solid #91b9fa;outline-offset:2px}@media(max-width:700px){.hsm-question-bank.hsm-question-bank input:not([type=checkbox]):not([type=radio]):not([type=file]),.hsm-question-bank.hsm-question-bank textarea,.hsm-question-bank.hsm-question-bank select,.hsm-question-filters.hsm-question-filters input,.hsm-question-filters.hsm-question-filters select{font-size:16px}}
.hsm-question-bank .hsm-qb-tabs .hsm-button[aria-pressed=true]{background:var(--hsm-primary-soft,#edf3ff);color:var(--hsm-primary-ink,var(--qb-accent));border-color:var(--qb-accent);box-shadow:inset 0 -2px 0 var(--qb-accent)}

.hsm-question-bank .hsm-qb-ai-setup{border-inline-start:4px solid var(--qb-accent)}.hsm-qb-ai-setup>summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-height:44px;margin:0}.hsm-qb-ai-setup>summary small{font-weight:400;color:var(--hsm-muted,#67738a);overflow-wrap:anywhere}.hsm-qb-ai-setup .hsm-qb-grid{align-items:start}.hsm-qb-ai-setup :is(input:not([type=checkbox]),select){min-height:44px}.hsm-qb-ai-setup .hsm-qb-ai-secondary{justify-content:flex-start;margin-block:12px}.hsm-qb-ai-enable{min-height:44px}.hsm-qb-ai-source{border:1px solid var(--qb-border);border-inline-start:3px solid var(--qb-accent);background:var(--hsm-surface-soft,#f4f7fc);padding:12px;border-radius:10px;margin-block:14px;overflow-wrap:anywhere}.hsm-qb-ai-source h4{margin:0 0 8px}.hsm-qb-ai-source p{line-height:1.9;margin-block:8px}.hsm-qb-ai-source ul{margin:10px 0;padding-inline-start:22px}.hsm-qb-ai-source li{padding-block:6px}.hsm-qb-ai-source li :is(strong,small){display:block;overflow-wrap:anywhere}.hsm-qb-ai-source small{color:var(--hsm-muted,#67738a)}.hsm-question-bank [data-qb-ai-settings-status]:empty,.hsm-question-bank [data-qb-ai-generation-status]:empty{display:none}.hsm-question-bank [data-qb-ai-settings-status],.hsm-question-bank [data-qb-ai-generation-status]{padding:10px 12px;border-radius:8px;line-height:1.9;background:var(--hsm-surface-soft,#eef4ff);overflow-wrap:anywhere}.hsm-question-bank [data-qb-generate][aria-busy=true]{border-inline-start:3px solid var(--qb-accent);padding-inline-start:12px}@media(max-width:700px){.hsm-qb-ai-setup>summary small{flex-basis:100%}.hsm-question-bank .hsm-qb-ai-secondary .hsm-button{flex:1;min-width:0}.hsm-qb-ai-source{padding:10px}.hsm-question-bank [data-qb-settings] footer .hsm-button{width:100%}}

.hsm-question-bank .hsm-qb-source-list,.hsm-question-bank .hsm-qb-category-list{display:grid;gap:10px;margin-block:16px}.hsm-question-bank .hsm-qb-source-card,.hsm-question-bank .hsm-qb-category-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid var(--qb-border);border-radius:12px;background:var(--hsm-card,#fff)}.hsm-qb-source-card>div,.hsm-qb-category-card>div{min-width:0;flex:1}.hsm-qb-source-card :is(strong,small),.hsm-qb-category-card :is(strong,small){display:block;overflow-wrap:anywhere;line-height:1.9}.hsm-qb-source-card small,.hsm-qb-category-card small{color:var(--hsm-muted,#67738a)}.hsm-qb-source-card>button,.hsm-qb-category-card>button{flex:0 0 auto}.hsm-qb-source-editor,.hsm-qb-category-editor{border:1px solid var(--qb-accent);border-radius:12px;padding:16px;margin-block:18px;background:var(--hsm-card,#fff)}.hsm-qb-source-editor [data-qb-source-editor-title],.hsm-qb-category-editor [data-qb-category-editor-title]{scroll-margin-block:70px}.hsm-qb-steps{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-block:16px}.hsm-qb-steps [aria-current=step]{color:var(--hsm-primary-ink,var(--qb-accent));background:var(--hsm-primary-soft,#edf3ff);border-color:var(--qb-accent)}.hsm-qb-steps>span{padding:9px 12px;border:1px solid var(--qb-border);border-radius:8px;font-size:.9em}.hsm-question-bank .hsm-qb-node{margin:0;border:0;padding:0}.hsm-qb-node>summary{display:flex;flex-direction:column;gap:5px;min-height:44px;margin:0;line-height:1.9;overflow-wrap:anywhere}.hsm-qb-node>summary small{font-weight:400;color:var(--hsm-muted,#67738a)}.hsm-qb-node[open]>summary{border-block-end:1px solid var(--qb-border);padding-block-end:10px;margin-block-end:12px}.hsm-question-bank .hsm-qb-source-tree{margin-block:16px}.hsm-question-bank .hsm-qb-chapter{margin-block:10px;padding:14px}.hsm-question-bank .hsm-qb-topic{border:1px solid var(--qb-border);border-inline-start:3px solid #d8e3f5;border-radius:10px;padding:12px}.hsm-question-bank .hsm-qb-page-range{padding:12px}.hsm-question-bank .hsm-qb-category-editor .hsm-qb-category-option{display:block;margin-block:10px;padding:12px;border:1px solid var(--qb-border);border-radius:10px}.hsm-qb-category-option>summary{display:flex;flex-direction:column;gap:5px;margin:0;min-height:44px;line-height:1.9}.hsm-qb-category-option>summary small{color:var(--hsm-muted,#67738a);font-weight:400}.hsm-qb-category-option[open]>summary{margin-block-end:10px}.hsm-qb-option-adder{background:var(--hsm-surface-soft,#f5f8fd);padding:12px;border-radius:10px;margin-block:14px}.hsm-qb-source-search{max-width:560px}.hsm-question-bank [data-qb-source-message]:empty,.hsm-question-bank [data-qb-category-message]:empty{display:none}.hsm-question-bank [data-qb-source-message],.hsm-question-bank [data-qb-category-message]{overflow-wrap:anywhere;line-height:1.9}.hsm-question-bank [data-qb-source-draft]{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px;background:var(--hsm-surface-soft,#fff7df);border-radius:9px}.hsm-qb-pending{border-style:dashed!important}.hsm-question-bank [data-qb-source-form]>.hsm-qb-actions,.hsm-question-bank [data-qb-taxonomy-form]>.hsm-qb-actions{justify-content:flex-end;border-block-start:1px solid var(--qb-border);padding-block-start:14px;margin-block-start:16px}@media(max-width:700px){.hsm-qb-source-editor,.hsm-qb-category-editor{padding:10px}.hsm-question-bank .hsm-qb-source-card,.hsm-question-bank .hsm-qb-category-card{padding:10px;gap:8px;flex-wrap:wrap}.hsm-qb-source-card>button,.hsm-qb-category-card>button{margin-inline-start:auto}.hsm-question-bank .hsm-qb-chapter,.hsm-question-bank .hsm-qb-topic{padding:10px}.hsm-qb-steps{gap:6px}.hsm-qb-steps>.hsm-button{flex:1;min-width:0;padding-inline:8px}.hsm-question-bank [data-qb-source-form]>.hsm-qb-actions>.hsm-button,.hsm-question-bank [data-qb-taxonomy-form]>.hsm-qb-actions>.hsm-button{flex:1}}

.hsm-question-bank [data-qb-category-options]{max-height:460px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-inline:2px}.hsm-question-bank [data-qb-category-options]:empty{display:none}.hsm-question-bank [data-qb-options-show-all-label]{min-height:44px}.hsm-question-bank [data-qb-category-options]>details:first-child{margin-block-start:8px}

.hsm-question-bank .hsm-qb-portable{border-inline-start:4px solid var(--qb-accent)}.hsm-qb-portable>summary{min-height:44px;line-height:1.8}.hsm-qb-portable [data-qb-portable-scope]{display:grid;gap:14px}.hsm-qb-portable [data-qb-portable-scope]>.hsm-button{justify-self:start}.hsm-qb-portable [data-qb-portable-output],.hsm-qb-portable-import,.hsm-qb-portable [data-qb-portable-imported]{margin-block-start:22px;padding-block-start:16px;border-block-start:1px solid var(--qb-border)}.hsm-qb-portable :is([data-qb-portable-prompt],[data-qb-portable-json]){width:100%;max-width:100%;box-sizing:border-box;font-family:ui-monospace,monospace;font-size:13px;line-height:1.9;tab-size:2}.hsm-qb-portable [data-qb-portable-prompt]{unicode-bidi:plaintext}.hsm-qb-portable [data-qb-portable-status]:empty{display:none}.hsm-qb-portable [data-qb-portable-status]{padding:10px 12px;background:var(--hsm-surface-soft,#f4f7fc);border-radius:9px;line-height:1.9;overflow-wrap:anywhere}.hsm-question-bank .hsm-qb-portable-question{padding:12px;border:1px solid var(--qb-border);border-radius:10px;margin-block:12px;background:var(--hsm-card,#fff)}.hsm-qb-portable-question>summary{display:flex;flex-direction:column;gap:6px;min-height:44px;margin:0;overflow-wrap:anywhere;line-height:1.9}.hsm-qb-portable-question summary small{font-weight:400;color:var(--hsm-muted,#67738a)}.hsm-qb-portable-question[open]>summary{padding-block-end:10px;margin-block-end:12px;border-block-end:1px solid var(--qb-border)}.hsm-qb-portable-question :is(p,li){line-height:1.9;overflow-wrap:anywhere}.hsm-qb-portable-question>img{display:block;max-width:100%;max-height:300px;object-fit:contain;margin-block:10px;border-radius:8px}.hsm-qb-portable-media{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-block-start:1px solid var(--qb-border);padding-block-start:12px;margin-block-start:14px}.hsm-qb-portable-media>p{flex:0 0 100%;margin-block:0}.hsm-qb-portable-media>p:empty{display:none}.hsm-question-bank .hsm-qb-portable-media .hsm-qb-file-picker{display:inline-flex;align-items:center;justify-content:center;margin:0}.hsm-qb-portable [aria-busy=true]{opacity:.8}@media(max-width:700px){.hsm-qb-portable .hsm-qb-actions>.hsm-button{flex:1;min-width:0}.hsm-qb-portable [data-qb-portable-scope]>.hsm-button{width:100%}.hsm-qb-portable :is([data-qb-portable-prompt],[data-qb-portable-json]){font-size:16px}.hsm-qb-portable-media>.hsm-button{flex:1;min-width:0}.hsm-question-bank .hsm-qb-portable-question{padding:10px}}
.hsm-question-bank .hsm-qb-share-files{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.8}.hsm-qb-share-files input{flex:0 0 auto;width:20px;height:20px}.hsm-qb-blank-fields{border:1px solid var(--qb-border);border-radius:10px;margin-block:14px;padding:12px}.hsm-qb-blank-fields legend{padding-inline:6px;font-weight:700}.hsm-qb-blank-preview{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;line-height:2;white-space:pre-wrap}.hsm-qb-blank-mark{display:inline-block;min-width:80px;text-align:center;border-block-end:2px dashed var(--qb-accent);color:var(--qb-accent)}.hsm-qb-portable [data-qb-portable-source-files]{border:1px solid var(--qb-border);border-radius:10px;padding:12px;line-height:1.9;overflow-wrap:anywhere}.hsm-qb-portable [data-qb-portable-source-files] ul{margin:0;padding-inline-start:22px}.hsm-qb-portable [data-qb-portable-source-files] li{margin-block:8px}
.hsm-qb-portable-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--qb-border);border-radius:12px;padding:12px;margin:0;min-width:0}.hsm-qb-portable-mode>legend{font-weight:700;padding-inline:6px}.hsm-qb-portable-mode>label{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.8;min-width:0}.hsm-qb-portable-mode input{flex:0 0 auto;width:20px;height:20px}.hsm-qb-portable-classification{border:1px solid var(--qb-border);border-radius:10px;margin-top:16px;padding:12px;background:var(--hsm-surface-soft,#f7f9fc);min-width:0}.hsm-qb-portable-classification>summary{min-height:44px;cursor:pointer;font-weight:700;line-height:1.8}.hsm-qb-portable-classification[open]>summary{margin-bottom:12px}.hsm-qb-portable-classification .hsm-qb-grid{margin-block:12px}.hsm-qb-portable-classification .hsm-qb-scope{grid-template-columns:repeat(2,minmax(0,1fr))}.hsm-qb-portable-classification .hsm-question-filters>details{margin-bottom:14px}.hsm-qb-portable-classification .hsm-combobox{min-width:0}@media(max-width:700px){.hsm-qb-portable-mode{gap:8px;padding:10px}.hsm-qb-portable-mode>label{font-size:13px}.hsm-qb-portable-classification{padding:10px}}
.hsm-qb-workflow .hsm-qb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hsm-qb-workflow :is(input:not([type=checkbox]):not([type=radio]),select,button,summary){min-height:44px}.hsm-qb-workflow :is(p,li,small,dd,dt,strong){overflow-wrap:anywhere}.hsm-qb-workflow [data-qb-generation-run]{border-block-start:1px solid var(--qb-border);margin-block-start:18px;padding-block-start:14px}.hsm-qb-workflow [data-qb-generation-progress]{width:100%;accent-color:var(--qb-accent)}.hsm-qb-workflow [data-qb-generation-plan]{padding-inline-start:22px;line-height:1.9}.hsm-qb-workflow .hsm-qb-generation-cost{background:var(--hsm-surface-soft,#f4f7fc);border-radius:10px;padding:12px;line-height:1.9}.hsm-qb-workflow .hsm-qb-generation-cost p{margin-block:4px}.hsm-qb-workflow .hsm-qb-generation-selected{display:flex;align-items:center;gap:8px;min-height:44px;flex-direction:row}.hsm-qb-workflow .hsm-qb-generation-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hsm-qb-workflow .hsm-qb-generation-wide{grid-column:1/-1}.hsm-qb-workflow [data-qb-generation-message]:empty,.hsm-qb-workflow [data-qb-generation-imported]:empty{display:none}.hsm-qb-workflow [data-qb-generation-message]{line-height:1.9}.hsm-question-bank [data-qb-create]{min-height:44px}@media(max-width:700px){.hsm-qb-workflow .hsm-qb-generation-edit{gap:8px}.hsm-qb-workflow :is(input,select,textarea){font-size:16px}.hsm-qb-workflow .hsm-qb-actions>button{min-width:0;flex:1}.hsm-qb-workflow .hsm-qb-portable-mode>label{font-size:13px}}
@media(max-width:700px){.hsm-qb-workflow .hsm-qb-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.hsm-qb-workflow .hsm-qb-actions>.hsm-button--primary,.hsm-qb-workflow .hsm-qb-actions>[data-qb-generation-selection]{grid-column:1/-1}.hsm-qb-workflow .hsm-qb-actions>button{width:100%;min-height:44px}}

/* Private teacher source choices keep the whole row touchable and long filenames local. */
.hsm-question-bank .hsm-qb-personal-source-choice{display:flex;align-items:flex-start;gap:8px;min-height:44px;min-width:0;overflow-wrap:anywhere;padding:8px;border:1px solid #ddd9ec;border-radius:12px;background:#faf9fe;line-height:1.8}
.hsm-question-bank .hsm-qb-personal-source-choice input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:4px 0}
.hsm-question-bank [data-qb-personal-progress],.hsm-question-bank .hsm-qb-source-files>div[role=status]{display:grid;gap:8px;min-width:0;margin-top:8px}

/* Global disabled-input opacity must not reveal the native input over its picker label. */
.hsm-question-bank .hsm-qb-file-picker input[type=file]{opacity:0}
.hsm-question-bank .hsm-qb-file-picker:has(input:disabled){opacity:.6;cursor:wait}
