/* Shared compact controls and explicit read/edit presentation. */
.main-content input.input:not([type=checkbox]):not([type=radio]):not([type=file]),.main-content select,
.admin-content input.input:not([type=checkbox]):not([type=radio]):not([type=file]),.admin-content select,
.modal input.input,.modal select,.drawer input.input,.drawer select,.login input.input{height:36px;min-height:36px;padding-top:5px;padding-bottom:5px}
.icon-btn,.icon-btn.bordered{width:36px;height:36px;min-height:36px;flex-shrink:0}
.icon-btn svg{width:17px;height:17px;stroke-width:1.6}
.readonly-control-hidden{display:none!important}
.readonly-value{display:block;min-width:0;color:var(--ink);font:inherit;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;padding:0;border:0;background:transparent}
.readonly-value[hidden]{display:none!important}
.field:has(>.readonly-value:not([hidden])){gap:4px}
.learning-logout-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-right:5px;vertical-align:middle}
.learning-mark-switch{display:inline-flex;align-items:center;gap:10px;min-height:32px;padding:3px 0 3px 8px;border:0;border-radius:6px;background:transparent;color:var(--ink);font:inherit;font-size:13px}
.learning-mark-track{position:relative;display:inline-block;flex-shrink:0;width:40px;height:23px;border:1px solid #cbd5cf;border-radius:12px;background:#dce3df;transition:background .16s,border-color .16s}
.learning-mark-thumb{position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1d392d26;transition:transform .16s}
.learning-mark-switch[aria-checked=true] .learning-mark-track{background:var(--green);border-color:var(--green)}
.learning-mark-switch[aria-checked=true] .learning-mark-thumb{transform:translateX(17px)}
.learning-mark-active{border-radius:8px;box-shadow:0 0 0 2px #07543f21,0 4px 16px #07543f08}
.word-board{min-height:230px;max-height:440px;overflow:auto;border:1px solid #80ab98;border-radius:10px;background:white;padding:12px 14px 40px;font:inherit;line-height:1.95;user-select:none;-webkit-user-select:none;touch-action:pan-y}
.word-board[hidden]{display:none}
.word-mode #material,.word-mode #markLayer{display:none!important}
.word-sentence{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}
.word-sentence:last-child{margin-bottom:0}
.word-unit{cursor:pointer;border-radius:1px;outline-offset:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.word-unit:hover{background:#eaf0e9;box-shadow:0 1px 0 #b1bfb2}
.word-unit.is-marked,.word-unit.is-preview{background:#f7df72;color:inherit;box-shadow:0 0 0 2px #f7df72}
.word-unit:focus-visible{outline:2px solid var(--green)}
.library-filter-groups{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap}
.library-filter-left{flex:1;min-width:0;gap:9px;flex-wrap:wrap}
.library-filter-right{gap:9px;flex-shrink:0;margin-left:auto}
.library-filter-left #libPicker{width:180px}
.library-filter-left #noteSearch{width:180px;flex:1 1 160px;min-width:120px;max-width:320px}
.library-filter-left #levelFilter{width:136px}
.library-tools .input,.library-tools select{height:36px}
.note-batch-dates{flex-wrap:nowrap!important;gap:5px;max-width:100%;flex-shrink:0}
.note-batch-datebox{position:relative;display:block;min-width:0;flex:0 1 134px}
.note-batch-date{width:134px;min-width:0;padding-left:9px;padding-right:9px}
.note-batch-date:not(.has-date),.note-batch-date:not(.has-date)::-webkit-datetime-edit{color:#98a59e}
.note-batch-date:not(.has-date)::-webkit-calendar-picker-indicator{opacity:.55}
.note-batch-date-clear{position:absolute;right:28px;top:50%;transform:translateY(-50%);width:24px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:4px;background:var(--paper,#fff);color:var(--secondary);font:inherit;font-size:18px;line-height:1;opacity:0;visibility:hidden;pointer-events:none}
.note-batch-date-clear[hidden]{display:none!important}
.note-batch-datebox:hover .note-batch-date-clear:not([hidden]),.note-batch-datebox:focus-within .note-batch-date-clear:not([hidden]){opacity:1;visibility:visible;pointer-events:auto}
.library-action-bar{gap:12px;flex-wrap:nowrap;margin:12px 0 8px}
.library-action-info{gap:9px;min-width:0;white-space:nowrap}
.library-action-info #noteBatchSelection{font-size:12px;color:var(--secondary)}
.library-action-info #noteBatchSelection:empty{display:none}
.batch-toggle-zone{display:grid;place-items:center;width:24px;height:32px;flex-shrink:0;cursor:pointer}
.batch-toggle-zone #noteBatchAll{width:14px;height:14px;margin:0;accent-color:var(--green);opacity:0;transition:opacity .12s}
.batch-toggle-zone:hover #noteBatchAll,.batch-toggle-zone:focus-within #noteBatchAll,.batch-toggle-zone.has-selection #noteBatchAll{opacity:1}
.library-action-buttons{gap:9px;flex-shrink:0}
.library-action-buttons>.btn{height:32px;min-height:32px;padding:4px 12px;font-size:13px}
.note-batch-card{position:relative;min-width:0}
.note-batch-card>.note-tile{width:100%;height:100%;min-height:104px;padding:14px 42px 14px 16px;gap:7px}
.note-batch-choice-zone{position:absolute;right:3px;top:3px;width:40px;height:40px;display:grid;place-items:center;cursor:pointer}
.note-batch-checkbox{width:16px;height:16px;margin:0;accent-color:var(--green);opacity:0;transition:opacity .12s}
.note-batch-choice-zone:hover .note-batch-checkbox,.note-batch-card:focus-within .note-batch-checkbox,.note-batch-checkbox:checked{opacity:1}
.note-batch-select-col{width:42px;padding-left:12px!important;padding-right:12px!important;text-align:center!important}
.note-batch-select-col input{width:16px;height:16px;accent-color:var(--green)}
.note-batch-error{color:var(--danger);font-size:12px;margin-top:8px}
.library-table-wrap{overflow-x:auto;margin-top:20px}
.library-table-wrap tbody tr{cursor:pointer}
.article-search-tools{margin-left:auto;gap:14px}
.article-search-tools input{width:260px;max-width:100%}
.material-list-card{position:relative;cursor:pointer}
.material-list-card:hover{border-color:#b9cfc0}
.material-list-card:focus-visible{outline:3px solid #a2d2b5;outline-offset:2px}
.material-meta{margin-top:10px;gap:12px}
.material-meta time{margin-left:auto;white-space:nowrap}
.material-preview{margin-top:15px;line-height:1.8}
.material-reader{position:relative;max-width:1060px;margin:0 auto}
.material-reader>h2{padding-right:112px}
.material-type{position:absolute;right:24px;top:24px}
.material-body{font-size:16px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.material-inline{display:inline;border:0;border-bottom:1px solid #8baa7f;background:#edf4e6;color:var(--green);padding:0 2px;border-radius:2px;font:inherit;line-height:inherit;text-align:left}
.material-inline:hover{background:#dfeccd}
.material-note-links{border-top:1px solid var(--border);padding-top:20px}
.material-note-link{display:flex;justify-content:space-between;text-align:left;white-space:normal}
.material-note-link>.hint{flex-shrink:0;margin-left:10px}
.material-job-status{margin-bottom:18px}
.material-job-status[hidden],.question-update-status[hidden]{display:none}
.question-update-status{margin-top:16px}
.setup-review #reviewLibrary,.setup-review #reviewLevel{height:36px;min-height:36px;max-height:36px;padding:5px 34px 5px 12px;font-size:14px;border-radius:10px}
.setup-review .count-option{height:36px;min-width:70px;border-radius:10px;padding:5px 16px;font-size:14px}
.setup-review .custom-count{height:36px!important;min-height:36px!important;border-radius:10px!important;font-size:14px!important;padding:5px 12px!important}
.setup-review .review-actions{justify-content:flex-end}
.answer-review{padding-bottom:76px}
.answer-review .report-question{position:absolute;right:24px;bottom:20px;align-self:auto;margin:0;color:var(--secondary)}
@media(hover:none),(pointer:coarse){.batch-toggle-zone #noteBatchAll,.note-batch-checkbox{opacity:1}.note-batch-date-clear:not([hidden]){opacity:1;visibility:visible;pointer-events:auto}}
@media(max-width:1000px){.library-filter-groups{align-items:flex-start}.library-filter-left #libPicker{width:170px}.library-filter-left #noteSearch{max-width:none}}
@media(max-width:650px){.library-filter-groups{flex-wrap:wrap;gap:8px}.library-filter-left{flex-basis:100%;gap:8px}.library-filter-right{margin-left:auto}.library-action-bar{flex-wrap:wrap;gap:8px}.library-action-buttons{margin-left:auto;gap:7px}.library-action-info{gap:7px}.article-search-tools{width:100%;margin-left:0}.article-search-tools input{flex:1;min-width:100px}.material-reader{padding:54px 20px 20px}.material-reader>h2{padding-right:0}.material-type{right:20px;top:20px}.material-body{font-size:15px}.answer-review .report-question{right:14px;bottom:14px}}
