/* Shared actions for accounts, groups, notes, boards, progress and assignments.
   Material readers and registration retain their scoped study styles. */
#main-content,.settings-modal{--action-ink:#426448;--action-primary:#315b3e;--action-soft:#eef4e9;--action-line:#dfe7d8;--action-hover:#c2d1b7}
.test-shell.test-shell-words{--action-ink:#526f6b;--action-primary:#526f6b;--action-soft:#f2f5f5;--action-line:#e2e9e8;--action-hover:#c4d2d1}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty,.learning-pagination) :is(.button,.site-link-button):not(:where(.test-listening-speed .button)),
.settings-modal .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;box-sizing:border-box;padding:8px 14px;border:1px solid var(--action-line);border-radius:10px;background:#fffefa;color:var(--action-ink);font-family:inherit;font-size:12px;font-weight:700;line-height:1.5;text-decoration:none;vertical-align:middle;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty,.learning-pagination) :is(.button,.site-link-button):not(:where(.test-listening-speed .button)):hover,
.settings-modal .button:hover{background:var(--action-soft);border-color:var(--action-hover);color:var(--action-ink);box-shadow:none}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty) .button.primary,
.settings-modal .button.primary{background:var(--action-primary);border-color:var(--action-primary);color:#fffefa}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty) .button.primary:hover,
.settings-modal .button.primary:hover{background:var(--action-primary);color:#fffefa;filter:brightness(.95)}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty) :is(.button.small,.site-link-compact){min-height:32px;padding:6px 10px;font-size:11px;border-radius:9px}
#main-content :where(.account-panel,.group-list-actions,.group-member-actions,.learning-section,.learning-form,.test-shell) :is(.button.danger,.button.danger-text,.button.danger-button,.site-link-danger){background:#fff5ef;border-color:#e9d3c7;color:#a16d56}
#main-content :where(.account-panel,.group-list-actions,.group-member-actions,.learning-section,.learning-form,.test-shell) :is(.button.danger,.button.danger-text,.button.danger-button,.site-link-danger):hover{background:#f9eae1;border-color:#dbb7a6;color:#915b45}
#main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.learning-pagination) :is(.button,.site-link-button):focus-visible,
.settings-modal .button:focus-visible{outline:2px solid var(--action-hover);outline-offset:3px}
#main-content :where(.auth-layout,.account-panel,.learning-form,.test-shell) button:disabled{cursor:default;opacity:.4;box-shadow:none;filter:none}
#main-content :where(.auth-form,.learning-form,.test-form) input[type=file]{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:9px;border:1px solid var(--action-line);border-radius:11px;background:#fafbf7;color:var(--action-ink);font-size:12px;line-height:1.6}
#main-content :where(.auth-form,.learning-form,.test-form) input[type=file]::file-selector-button{min-height:32px;padding:6px 13px;margin-right:12px;border:1px solid var(--action-line);border-radius:9px;background:var(--action-soft);color:var(--action-ink);font:inherit;font-weight:700;line-height:1.5;cursor:pointer}
#main-content :where(.auth-form,.learning-form,.test-form) input[type=file]::file-selector-button:hover{background:var(--action-soft);border-color:var(--action-hover);color:var(--action-ink)}
#main-content :where(.auth-form,.learning-form,.test-form) select{border:1px solid var(--action-line);border-radius:10px;background-color:#fffefa;color:var(--action-ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2386957b' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:35px;box-shadow:none}
#main-content :where(.auth-form,.learning-form,.test-form) select[multiple]{background-image:none;padding-right:12px;min-height:110px}
#main-content :where(.auth-form,.learning-form,.test-form) :is(input,textarea,select):focus-visible{outline:2px solid var(--action-hover);outline-offset:2px}
.test-shell-words .assignment-tabs{background:#f0f3f3}.test-shell-words .assignment-tab{color:#749996}
.test-shell-words .assignment-tab[aria-selected=true],.test-shell-words .assignment-tab[aria-current=page]{background:#526f6b;color:#fff;box-shadow:0 2px 5px #5f848118}
.test-shell-words .test-card-actions .button.soft{background:#fcfdfd}
.test-shell-words .test-notice{border-color:#e0e7e7;color:#6b8a88}
.test-shell-words .test-form :is(input:not([type=checkbox]):not([type=radio]),textarea):focus{border-color:#afc5c3;box-shadow:0 0 0 3px #b0c5c417}
.learning-word-row .word-complete-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:33px;padding:7px 11px;border:1px solid #dfe7d8;border-radius:9px;background:#fffefa;color:#617857;font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap}
.learning-word-row .word-complete-button small{font-size:9px;font-weight:400;color:#8b9b7d}.learning-word-row .word-complete-button small:empty{display:none}
.learning-word-row .word-complete-button.completed{border-color:#cbdcbe;background:#edf5e7;color:#4b7241}
.group-setting-actions,.group-list-actions,.account-panel-bottom,.group-member-actions{flex-wrap:wrap;gap:8px}
.test-shell .test-card-actions{gap:7px}.test-shell .form-action-row,.test-actions{gap:9px}
@media(max-width:600px){
 #main-content :where(.auth-layout,.account-panel,.group-form-grid,.page-heading,.learning-section,.learning-section-heading,.learning-form,.note-search-panel,.learning-search,.group-list-actions,.group-member-actions,.test-shell,.progress-empty) .button:not(:where(.test-listening-speed .button)){min-height:38px;padding:8px 12px}
 #main-content :where(.auth-layout,.account-panel,.learning-section,.learning-form,.test-shell) :is(.button.small,.site-link-compact){min-height:33px;padding:6px 10px}
 .group-management,.group-key-rotate{flex-wrap:wrap}.learning-section-heading{flex-wrap:wrap}
 .test-shell .test-form>div.test-actions>form{max-width:100%}
 #main-content :where(.auth-form,.learning-form,.test-form) select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){#main-content .button,.settings-modal .button{transition:none}}

#main-content :where(.auth-form,.learning-form,.test-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea){border-radius:10px;border-color:var(--action-line)}

.test-shell-words .test-score{background:#f2f5f5;border-color:#e2e9e8}.test-shell-words .test-score h2{color:#52716e}
