html.task-bank-page, body.task-bank-page { scrollbar-width: none; -ms-overflow-style: none; }
html.task-bank-page::-webkit-scrollbar, body.task-bank-page::-webkit-scrollbar { display: none; width: 0; height: 0; }
.bank-main { padding-bottom: 48px; font-family: TTFirsNeue-Regular, sans-serif; color: #282828; }
.bank-main .train { margin-bottom: 32px; }
.bank-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr) 276px; gap: 22px; align-items: start; max-width: 1500px; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.bank-island { background: #fff; border: 1px solid #ededed; border-radius: 18px; box-sizing: border-box; }
.bank-side { position: sticky; top: calc(var(--site-header-height, 80px) + 20px); min-width: 0; }
.bank-side--left { display: grid; gap: 14px; }
.bank-menu { padding: 10px; display: grid; gap: 4px; }
.bank-menu-link { display: flex; align-items: center; gap: 10px; padding: 13px 10px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 14px; line-height: 1.3; }
.bank-menu-link.is-active { background: #fff1df; color: #3d2b19; font-family: TTFirsNeue-Medium, sans-serif; }
.bank-menu-link:hover { background: #f8f8f8; }
.bank-menu-link.is-active:hover { background: #ffead0; }
.bank-count { margin-left: auto; font-size: 12px; min-width: 22px; text-align: center; color: #777; }
.bank-feed { min-width: 0; scroll-margin-top: calc(var(--site-header-height, 80px) + 20px); }
.bank-toolbar-row { margin-bottom: 18px; }
.bank-mobile-filter-toggle, .bank-mobile-filters { display: none; }
.bank-toolbar { padding: 0 11px; }
.bank-toolbar:focus-within { border-color: #ff8c42; }
.bank-search { display: flex; gap: 8px; align-items: center; }
.bank-search-icon { display: flex; align-items: center; flex: 0 0 20px; width: 20px; height: 20px; color: #929292; cursor: text; }
.bank-search input { border: none; padding: 8px 0; min-width: 0; width: 100%; box-sizing: border-box; height: 42px; font: inherit; font-size: 13px; line-height: 22px; color: #282828; background: transparent; outline: none; }
.bank-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.bank-button { border: 1px solid #ededed; background: #fff; border-radius: 10px; padding: 11px 16px; font: inherit; font-size: 13px; color: #282828; cursor: pointer; text-decoration: none; line-height: 1.35; display: inline-flex; justify-content: center; align-items: center; white-space: nowrap; }
.bank-button:hover { background: #f7f7f7; }
.bank-button--primary { background: rgb(255, 176, 92); border-color: rgb(255, 176, 92); color: #fff; }
.bank-button--primary:hover { background: #ffa346; border-color: #ffa346; }
.bank-task-actions .bank-button { transition: background-color .22s ease, border-color .22s ease, color .22s ease, opacity .22s ease, transform .15s ease; }
.bank-task-actions .bank-button:active:not(:disabled) { transform: scale(.96); }
.bank-text-button { border: 0; padding: 0; background: none; font: inherit; font-size: 12px; color: #858585; cursor: pointer; text-decoration: none; }
.bank-text-button:hover { color: #282828; }
.bank-cards { display: grid; gap: 18px; }
.bank-task { padding: 24px; min-width: 0; }
.bank-task-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bank-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.bank-task-top .bank-tags { align-self: flex-start; }
.bank-task-tools { display: flex; gap: 6px; align-self: flex-start; flex-shrink: 0; }
.bank-report-popover { position: absolute; z-index: 9998; box-sizing: border-box; width: 320px; padding: 16px; border: 1px solid #ededed; border-radius: 16px; background: #fff; box-shadow: 0 8px 32px #00000016; font-family: TTFirsNeue-Regular, sans-serif; font-size: 13px; color: #282828; overflow: auto; visibility: hidden; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.bank-report-popover.is-open { visibility: visible; opacity: 1; transform: none; }
.bank-report-caption { display: block; color: #888; margin-bottom: 8px; }
.bank-report-popover textarea { box-sizing: border-box; display: block; width: 100%; min-height: 90px; max-height: 180px; padding: 10px 12px; border: 1px solid #ededed; border-radius: 10px; background: #fafafa; color: inherit; font: inherit; line-height: 1.5; resize: none; transition: border-color .2s ease; }
.bank-report-popover textarea:focus { border-color: #ff8c42; outline: none; box-shadow: none; }
.bank-report-popover, .bank-report-popover textarea { scrollbar-width: none; }
.bank-report-popover::-webkit-scrollbar, .bank-report-popover textarea::-webkit-scrollbar { display: none; width: 0; height: 0; }
.bank-report-status { margin: 10px 0; font: inherit; line-height: 1.45; }
.bank-report-status:empty { display: none; }
.bank-report-popover .bank-button { margin-top: 10px; width: 100%; justify-content: center; transition: background-color .22s ease, border-color .22s ease, color .22s ease; }
.bank-report-popover .bank-button.is-correct { background: #e2f3e8; border-color: #68a780; color: #2f8250; opacity: 1; }
.bank-report-popover .bank-button.is-error { background: #fde2e2; border-color: #e36b65; color: #922e29; opacity: 1; }
@media (max-width: 700px) { .bank-report-popover { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .bank-report-popover { transition: none; } }
.bank-tags span { background: #f6f6f6; border-radius: 7px; padding: 5px 9px; font-size: 11px; line-height: 1.3; }
.bank-tags span:first-child { background: #fff1df; color: #915418; }
.bank-favorite { --bank-favorite-size: calc(13px * 1.35 + 24px); box-sizing: border-box; padding: 8px; width: var(--bank-favorite-size); height: var(--bank-favorite-size); flex-shrink: 0; font: inherit; font-size: 12px; border: 1px solid #ededed; border-radius: 10px; background: #fff; color: #9b9b9b; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bank-favorite { transition: background-color .22s ease, border-color .22s ease, color .22s ease, opacity .22s ease, transform .15s ease; }
.bank-favorite svg { fill: transparent; transition: fill .22s ease; }
.bank-favorite:active { transform: scale(.96); }
.bank-favorite:hover { border-color: rgb(255, 176, 92); color: #cb812e; }
.bank-favorite.is-active svg { fill: currentColor; }
.bank-favorite:focus-visible { outline: 2px solid #ff8c42; outline-offset: 2px; }
.bank-favorite.is-active { color: #fff; background: rgb(255, 176, 92); border-color: rgb(255, 176, 92); }
.bank-favorite.is-active:hover { background: #ffa346; border-color: #ffa346; color: #fff; }
.bank-task-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin: 14px 0 18px; }
.bank-task-meta h2 { font: 20px TTFirsNeue-Medium, sans-serif; margin: 0; }
.bank-task-meta > span { color: #929292; font-size: 12px; }
.bank-tags .bank-solved { background: #2f8250; color: #fff; }
.bank-passage { min-width: 0; margin: 0 0 20px; padding: 18px; background: #f7f7f7; border: 1px solid #ededed; border-radius: 12px; }
.bank-passage-title { margin: 0 0 10px; font-family: TTFirsNeue-Medium, sans-serif; font-size: 14px; line-height: 1.4; }
.bank-task-text { white-space: pre-wrap; overflow-wrap: anywhere; font-family: TTFirsNeue-Regular, sans-serif; font-weight: normal; font-size: 15px; line-height: 1.7; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.bank-task-text[data-bank-rendered] { white-space: normal; }
.bank-task-text .tg-math-wrap { max-width: 100%; white-space: normal; box-sizing: border-box; }
/* KaTeX table borders extend slightly beyond the formula's measured width. */
.bank-task-text .tg-math-wrap--inline { display: inline-block; vertical-align: middle; overflow-x: auto; padding: 3px 2px; }
.bank-task-text .tg-math-wrap--block { display: block; overflow: clip; overflow-clip-margin: 2px; margin: 12px 0; padding: 4px 2px; }
.bank-task-text .tg-math-wrap--block .katex-display > .katex { display: inline-block; }
.bank-task-text .katex-display { margin: 0; }
.bank-task-text .katex { font-size: 1.1em; text-align: initial; }
.bank-task-text .tg-math-fallback, .bank-task-text .katex-error { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Markdown introduces paragraphs/lists; keep site-wide p/li typography out of task content.
   Do not reset every descendant: KaTeX and explicit emphasis have their own typography. */
.bank-task-text :is(.tg-md-p, .tg-md-ul, .tg-md-ul > li) { font: inherit; letter-spacing: inherit; }
.bank-task-text :is(strong, em, a) { font-size: inherit; line-height: inherit; }
.bank-task-text .tg-md-p { margin: 0 0 6px; }
.bank-task-text .tg-md-p:last-child { margin-bottom: 0; }
.bank-task-text .tg-md-h { margin: 0 0 6px; font-size: inherit; line-height: inherit; }
.bank-task-text .tg-md-ul { margin: 0 0 6px 18px; padding: 0; }
.bank-task-text .tg-md-code { font-family: monospace; font-size: inherit; line-height: inherit; }
.bank-task-image { display: block; width: fit-content; max-width: 100%; margin: 20px auto 0; cursor: zoom-in; }
.bank-task-image img { display: block; margin-inline: auto; width: auto; height: auto; max-width: min(100%, 480px); max-height: 480px; object-fit: contain; border-radius: 8px; }
.bank-task-image + .bank-task-text { margin-top: 20px; }
.bank-task-actions { border-top: 1px solid #ededed; padding-top: 20px; margin-top: 24px; }
.bank-answer-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-width: 0; }
.bank-answer-form .bank-answer-field { grid-column: 1 / -1; }
.bank-answer-form > .bank-button--primary { justify-self: start; }
.bank-answer-form > [data-solution-url] { justify-self: end; }
.bank-answer-field { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.bank-answer-feedback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden; visibility: hidden; pointer-events: none; color: #fff; font-size: 13px; text-align: center; }
.bank-answer-feedback::before { content: ''; position: absolute; inset: 0; background: #922e29; }
.bank-answer-field.is-correct .bank-answer-feedback::before { background: #2f8250; }
.bank-answer-feedback > span { position: relative; padding: 0 8px; }
.bank-answer-field.is-feedback { animation: bank-answer-shake .36s ease; }
.bank-answer-field.is-feedback.is-correct { animation: bank-answer-success-pulse .42s ease-out; }
.bank-answer-field.is-feedback .bank-answer-feedback { visibility: visible; }
.bank-answer-field.is-feedback .bank-answer-feedback::before { animation: bank-answer-fill 2.4s ease both; }
.bank-answer-field.is-feedback .bank-answer-feedback > span { animation: bank-answer-message 2.4s ease both; }
@keyframes bank-answer-success-pulse {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.018); }
}
@keyframes bank-answer-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}
@keyframes bank-answer-fill {
    0%, 15% { clip-path: inset(0 100% 0 0); opacity: 1; }
    35%, 80% { clip-path: inset(0); opacity: 1; }
    100% { clip-path: inset(0); opacity: 0; }
}
@keyframes bank-answer-message {
    0%, 35%, 100% { opacity: 0; }
    45%, 80% { opacity: 1; }
}
@keyframes bank-answer-fade {
    0%, 100% { opacity: 0; }
    35%, 80% { opacity: 1; }
}
.bank-answer-form :is(input, textarea) { box-sizing: border-box; border: 1px solid #e5e5e5; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 13px; line-height: 1.35; background: #fafafa; min-width: 0; width: 100%; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.bank-answer-form textarea { display: block; max-height: 132px; resize: none; overflow-x: hidden; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
    .bank-answer-form :is(input, textarea) { transition: none; }
    .bank-answer-field.is-feedback, .bank-answer-field.is-feedback.is-correct { animation: none; }
    .bank-answer-field.is-feedback .bank-answer-feedback::before { animation-name: bank-answer-fade; }
}
.bank-answer-result { font-size: 12px; color: #ae493e; margin-top: 12px; }
.bank-answer-result:empty { display: none; }
.bank-answer-result.is-correct { color: #2f8250; }
.bank-answer-result.is-error, .bank-answer-result.is-correct { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bank-solution { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .3s ease, opacity .25s ease, margin-top .3s ease; }
.bank-solution.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 18px; }
.bank-solution-body { min-height: 0; overflow: hidden; }
.bank-solution-content { border-top: 1px solid #ededed; padding-top: 20px; }
@media (prefers-reduced-motion: reduce) {
    .bank-favorite, .bank-favorite svg, .bank-solution, .bank-task-actions .bank-button { transition: none; }
    .bank-favorite:active, .bank-task-actions .bank-button:active:not(:disabled) { transform: none; }
}
.bank-solution-answer { font-family: TTFirsNeue-Medium, sans-serif; font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.bank-solution-content > .bank-task-text + .bank-solution-part,
.bank-solution-part > .bank-task-text + .bank-solution-answer { margin-top: 16px; }
.bank-empty { padding: 42px 26px; text-align: center; }
.bank-empty h2 { font-size: 20px; margin: 0 0 10px; }
.bank-empty p { font-size: 14px; color: #888; line-height: 1.6; max-width: 420px; margin: 0 auto 22px; }
.bank-side--right { padding: 22px 18px; z-index: 3; }
.bank-filters { --bank-filter-control-height: calc(13px * 1.35 + 24px); }
.bank-filters-title { font-family: TTFirsNeue-Medium, sans-serif; font-size: 16px; font-weight: normal; margin: 0 0 20px; }
.bank-filters .catalog-filters-bar::after { display: none; }
.bank-filters .catalog-filters-bar { padding-bottom: 0; }
.bank-filters .catalog-filter__toggle { height: var(--bank-filter-control-height); min-height: var(--bank-filter-control-height); padding: 11px 38px 11px 13px; font-size: 13px; line-height: 1.35; }
.bank-filters .catalog-filters-bar__inner--sidebar { display: flex; }
.bank-filters .filter-options-wrap { overflow: auto; min-height: 0; overscroll-behavior: contain; }
.bank-filters .filter-section.opens-up .filter-dropdown { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 6px; }
.bank-checkbox input { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 16px; height: 16px; flex-shrink: 0; border: 1px solid #ddd; border-radius: 3px; padding: 0; background: #fff; display: grid; place-content: center; cursor: pointer; }
.bank-checkbox input::after { content: ''; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); opacity: 0; }
.bank-checkbox input:checked { background-color: #efa349; border-color: #efa349; }
.bank-checkbox input:checked::after { opacity: 1; }
.bank-filters .filter-option { position: relative; padding: 5px; }
.bank-filters .filter-option input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bank-filters .filter-option:has(input:focus-visible) { outline: 1px solid #ff8c42; outline-offset: -1px; }
.bank-filters .filter-option[hidden] { display: none; }
.bank-filters .filter-label { white-space: normal; overflow-wrap: anywhere; }
.bank-filters .catalog-filter-search { min-width: 0; box-sizing: border-box; flex-shrink: 0; }
.bank-checkbox { display: flex; align-items: center; gap: 9px; font: inherit; font-size: 13px; line-height: 1.35; padding: 8px 0; cursor: pointer; }
.bank-checkbox--mobile { display: none; }
.bank-filter-reset { text-align: center; margin-top: 5px; }
.bank-muted { font-size: 12px; color: #929292; padding: 10px 0; }
.bank-load-more { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: 13px; color: #888; }
.bank-load-more [hidden] { display: none; }
.bank-notice { max-width: 700px; margin: 0 auto 20px; padding: 12px 18px; background: #fff1df; border: 1px solid #ffdeb3; border-radius: 10px; font-size: 13px; }
.bank-main button:disabled { opacity: .5; cursor: default; }
.bank-main button:disabled[aria-busy="true"] { cursor: wait; }
.bank-main :focus-visible { outline: 2px solid #ffb05c; outline-offset: 3px; }
.bank-main .bank-search input:focus, .bank-main .bank-search input:focus-visible { outline: none; box-shadow: none; }
.bank-main .bank-answer-form :is(input, textarea):focus, .bank-main .bank-answer-form :is(input, textarea):focus-visible { border-color: #ff8c42; outline: none; box-shadow: none; }
.bank-main .bank-answer-form :is(input, textarea).is-error { background-color: #fde2e2; border-color: #e36b65; color: #922e29; }
.bank-main .bank-answer-form :is(input, textarea).is-correct { background-color: #e2f3e8; border-color: #68a780; color: #2f8250; }
#bank-workspace.is-loading .bank-cards > .bank-island { position: relative; height: var(--bank-loading-height); overflow: hidden; background: #fff; }
#bank-workspace.is-loading .bank-cards > .bank-island > * { visibility: hidden; }
#bank-workspace.is-loading .bank-cards > .bank-island::after { content: ''; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; box-sizing: border-box; border: 3px solid #ededed; border-top-color: #ff8c42; border-radius: 50%; animation: bank-loading-spin .8s linear infinite; }
#bank-workspace.is-loading .bank-load-more { visibility: hidden; }
@keyframes bank-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    #bank-workspace.is-loading .bank-cards > .bank-island::after { animation-duration: 2s; }
}
@media (max-width: 1180px) {
    .bank-layout { grid-template-columns: 180px minmax(0, 1fr) 236px; gap: 16px; padding: 0 20px; }
    .bank-menu-link { font-size: 12px; gap: 7px; padding: 12px 7px; }
    .bank-task { padding: 20px; }
}
@media (max-width: 980px) {
    .bank-layout { grid-template-columns: minmax(0, 1fr) 250px; }
    .bank-side--left { grid-column: 1 / -1; position: static; display: flex; align-items: stretch; }
    .bank-menu { display: flex; flex: 1; }
    .bank-menu-link { font-size: 14px; padding: 10px 15px; }
    .bank-count { margin-left: 5px; }
}
@media (max-width: 700px) {
    .bank-main .train { margin-bottom: 24px; }
    .bank-layout { display: flex; flex-direction: column; padding: 0 12px; gap: 14px; }
    .bank-side, .bank-feed { width: 100%; position: static; }
    .bank-side--left { display: none; }
    .bank-side--right { display: block; padding: 17px; margin-bottom: 0; }
    .bank-mobile-filters { display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; transition: grid-template-rows .3s ease, opacity .25s ease, margin-bottom .3s ease; }
    .bank-mobile-filters.is-open { grid-template-rows: 1fr; opacity: 1; margin-bottom: 14px; }
    .bank-mobile-filters-body { min-height: 0; overflow: hidden; }
    .bank-mobile-filters.is-expanded > .bank-mobile-filters-body { overflow: visible; }
    .bank-checkbox { font-size: 12px; padding: 0; }
    .bank-checkbox--mobile { display: flex; }
    .bank-feed { order: 2; }
    .bank-menu { gap: 4px; padding: 7px; }
    .bank-menu-link { flex: 1; justify-content: center; padding: 10px 6px; font-size: 12px; }
    .bank-filters-title { font-size: 14px; }
    .bank-island { border-radius: 14px; }
    .bank-task { padding: 17px; }
    .bank-task-top .bank-favorite { --bank-favorite-size: calc(12px * 1.35 + 22px); align-self: flex-start; margin: 0; }
    .bank-toolbar-row { display: flex; align-items: stretch; gap: 10px; margin-bottom: 14px; }
    .bank-toolbar { flex: 1; min-width: 0; }
    .bank-mobile-filter-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; color: #282828; cursor: pointer; transition: border-color .22s ease, background-color .22s ease; }
    .bank-mobile-filter-toggle:hover, .bank-mobile-filter-toggle[aria-expanded="true"] { border-color: #ff8c42; background: #fff1df; }
    .bank-cards { gap: 14px; }
    .bank-search { gap: 8px; }
    .bank-button { padding: 10px 12px; font-size: 12px; }
    .bank-search input, .bank-answer-form :is(input, textarea) { font-size: 12px; }
    .bank-answer-form :is(input, textarea) { padding: 10px 13px; }
    .bank-filters .catalog-filter__toggle { padding-top: 10px; padding-bottom: 10px; font-size: 12px; }
    .bank-task-text, .bank-solution-answer { font-size: 12px; }
    .bank-passage { padding: 12px; margin-bottom: 16px; }
    .bank-passage-title { font-size: 12px; }
    .bank-task-meta h2 { font-size: 18px; }
    .bank-task-actions { margin-top: 20px; padding-top: 17px; }
    .bank-answer-form { gap: 10px; }
    .bank-text-button { font-size: 11px; }
}
/* Редактор использует общие кнопки и карточки панели управления. */
.bank-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bank-admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.bank-admin-toolbar input { flex: 1; min-width: 180px; }
.bank-admin-table-wrap { overflow-x: auto; }
.bank-admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 13px; }
.bank-admin-table td, .bank-admin-table th { padding: 16px 12px; text-align: left; border-bottom: 1px solid #ededed; vertical-align: top; }
.bank-admin-table th { color: #888; font-size: 12px; font-weight: normal; }
.bank-admin-table small { display: block; color: #888; margin-top: 7px; overflow-wrap: anywhere; }
.bank-admin-excerpt { min-width: 200px; max-width: 450px; overflow-wrap: anywhere; line-height: 1.6; }
.bank-admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 28px; }
.bank-admin-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bank-admin-field--wide { grid-column: 1 / -1; }
.bank-admin-field > label { font-size: 13px; }
.bank-admin-field > label > span { color: #cb812e; }
.bank-admin-field .muted { font-size: 12px; line-height: 1.5; margin: 0; }
.bank-admin-field input:not([type=checkbox]), .bank-admin-field select, .bank-admin-field textarea { box-sizing: border-box; width: 100%; max-width: 100%; }
.bank-admin-field input[type=checkbox] { align-self: start; }
.bank-admin-field textarea { resize: none; overflow-y: hidden; min-height: 40px; line-height: 1.65; }
.bank-admin-errors { background: #fff1ec; border: 1px solid #edb5a1; padding: 15px; border-radius: 10px; color: #983d2b; margin: 12px 0; font-size: 13px; }
.bank-admin-errors ul { padding-left: 18px; margin: 0; }
.bank-admin-errors li { margin: 5px 0; }
/* Изображение в верхней части редактора. Полный файл открывается по нажатию. */
.bank-admin-upload { margin-bottom: 20px; }
.bank-admin-upload [hidden] { display: none !important; }
.bank-admin-upload__frame { position: relative; height: 240px; overflow: hidden; border: 1px solid #ededed; border-radius: 10px; background: #f5f5f5; }
.bank-admin-upload__preview { display: block; width: 100%; height: 100%; }
.bank-admin-upload__preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bank-admin-upload__empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding-bottom: 36px; box-sizing: border-box; color: #888; }
.bank-admin-upload__empty small { font-size: 12px; }
.bank-admin-upload__actions { position: absolute; bottom: 16px; left: 12px; right: 12px; display: flex; gap: 8px; justify-content: center; }
.bank-admin-upload__actions .btn--ghost { background: #fff; }
.bank-admin-upload__status { margin: 8px 0 0; font-size: 12px; color: #983d2b; }
@media (max-width: 700px) {
    .bank-admin-upload__frame { height: 180px; }
}
.bank-admin-import { max-width: 960px; }
.bank-admin-import p { font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.bank-admin-import-help { margin-top: 24px; color: #777; }
.bank-admin-import-help code { color: #444; overflow-wrap: anywhere; }
.bank-admin-import-form { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 25px; }
.bank-admin-check { display: flex; align-items: center; gap: 9px; font-size: 13px; }
@media (max-width: 700px) {
    .bank-admin-fields { grid-template-columns: 1fr; }
    .bank-admin-toolbar { flex-direction: column; align-items: stretch; }
    .bank-admin-import-form input[type=file] { max-width: 100%; }
}

/* Компактная последовательность выбора для справочника ФИПИ. */
.bank-admin-selector-row { display: grid; grid-template-columns: minmax(80px, .65fr) minmax(0, 1.3fr) 100px minmax(0, 2fr); gap: 12px; margin-bottom: 12px; }
.bank-admin-selector-row > div { min-width: 0; }
.bank-admin-number .admin-select__option[data-value=""] { display: none; }
.bank-admin-selector-row .admin-select { display: block; width: 100%; min-width: 0; }
.bank-admin-selector-row .admin-select__button { box-sizing: border-box; min-width: 0; min-height: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.bank-admin-selector-row .bank-admin-part .admin-select__button,
.bank-admin-selector-row .bank-admin-number .admin-select__button { white-space: normal; overflow-wrap: anywhere; }
.bank-admin-selector-row select { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 10px 30px 10px 12px; font: inherit; font-size: 14px; text-overflow: ellipsis; }
.bank-admin-form .bank-admin-selector-row select:disabled,
.bank-admin-form .bank-admin-selector-row .admin-select__button:disabled { color: #999; background-color: #f3f3f3; cursor: not-allowed; opacity: 1; }
.bank-admin-form .bank-admin-fields { gap: 16px; }
@media (max-width: 700px) {
    .bank-admin-selector-row { grid-template-columns: 56px minmax(0, 1fr) 86px; gap: 6px; }
    .bank-admin-selector-row .bank-admin-number { grid-column: 1 / -1; }
    .bank-admin-selector-row select,
    .bank-admin-selector-row .admin-select__button { font-size: 12px; padding-left: 8px; padding-right: 22px; }
    .bank-admin-selector-row .admin-select__button::after { right: 9px; width: 5px; height: 5px; }
}

/* Image viewer: same presentation and controls as the course schedule. */
.bank-image-modal[hidden] { display: none; }
.bank-image-modal { position: fixed; inset: 0; z-index: 99999; width: 100%; height: 100%; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); overflow: hidden; animation: bank-image-fade-in .3s ease; touch-action: pinch-zoom; overscroll-behavior: contain; }
.bank-image-modal .image-modal-content { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; margin: 0; padding: 0; box-sizing: border-box; }
.bank-image-modal .modal-image { display: block; width: auto; height: auto; max-width: 80vw; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: bank-image-zoom-in .3s ease; touch-action: pinch-zoom; }
.bank-image-modal .image-modal-buttons { position: fixed; top: 20px; right: 30px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.bank-image-modal .image-modal-download, .bank-image-modal .image-modal-close { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0; box-sizing: border-box; color: #fff; cursor: pointer; background: linear-gradient(135deg,rgba(0,0,0,.7),rgba(0,0,0,.6)); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.3); backdrop-filter: blur(10px); transition: all .4s cubic-bezier(.4,0,.2,1); appearance: none; text-decoration: none; flex-shrink: 0; }
.bank-image-modal .image-modal-buttons svg { display: block; width: 20px; height: 20px; stroke: currentColor; }
.bank-image-modal .image-modal-download:hover, .bank-image-modal .image-modal-close:hover { color: #fff; background: linear-gradient(135deg,rgba(0,0,0,.8),rgba(0,0,0,.7)); transform: scale(1.05); border-color: rgba(255,255,255,.3); box-shadow: 0 8px 25px rgba(0,0,0,.4); }
.bank-image-modal .image-modal-buttons :focus-visible { outline: 2px solid #ffb05c; outline-offset: 3px; }
.bank-image-modal.is-closing { animation: bank-image-fade-out .2s ease forwards; pointer-events: none; }
.bank-image-status { position: absolute; top: 50%; left: 20px; right: 20px; text-align: center; color: #fff; }
.bank-image-modal .modal-image[hidden], .bank-image-status[hidden] { display: none; }
@keyframes bank-image-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bank-image-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes bank-image-zoom-in { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
    .bank-image-modal .image-modal-buttons > :active { transform: scale(.98); }
}
@media (max-width: 768px) {
    .bank-task-image img { max-width: min(100%, 320px); max-height: 320px; }
    .bank-image-modal .image-modal-buttons { top: max(15px, env(safe-area-inset-top, 0px)); right: 20px; gap: 8px; }
    .bank-image-modal .image-modal-buttons > * { width: 40px; height: 40px; }
    .bank-image-modal .image-modal-buttons svg { width: 18px; height: 18px; }
    .bank-image-modal .image-modal-content { justify-content: center; padding-top: max(68px, calc(env(safe-area-inset-top, 0px) + 60px)); padding-bottom: 10vh; padding-inline: 10px; }
    .bank-image-modal .modal-image { max-width: 100%; max-height: calc(100dvh - max(68px, calc(env(safe-area-inset-top, 0px) + 60px)) - 10vh - env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
    .bank-image-modal .image-modal-buttons { top: max(10px, env(safe-area-inset-top, 0px)); right: 15px; gap: 6px; }
    .bank-image-modal .image-modal-buttons > * { width: 35px; height: 35px; border-radius: 17.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .bank-image-modal, .bank-image-modal .modal-image { animation: none; }
    .bank-image-modal .image-modal-buttons > * { transition: none; }
}

.bank-part-questions { list-style: decimal; padding-left: 21px; margin: 18px 0 0; }
.bank-main .bank-part-questions li { padding-left: 3px; margin-bottom: 10px; font-size: 15px; line-height: 1.65; }
.bank-solution-part + .bank-solution-part { margin-top: 18px; }
.bank-solution-part + .bank-task-text { margin-top: 18px; }
.bank-answer-form:has([name="answers"]) { row-gap: 15px; }
.bank-admin-answer-parts { display: grid; gap: 14px; }
.bank-admin-answer-part { border: 1px solid #ededed; border-radius: 12px; padding: 16px; display: grid; gap: 8px; min-width: 0; }
.bank-admin-answer-part label { font-size: 13px; }
.bank-admin-answer-part-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.bank-admin-answer-part-head strong { font-size: 14px; }
.bank-admin-multi-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.bank-admin-multi-switch input { width: auto !important; }
.bank-admin-form [hidden] { display: none !important; }
@media(max-width:700px) {
    .bank-main .bank-part-questions li { font-size: 12px; }
    .bank-answer-form:has([name="answers"]) { row-gap: 13px; }
}

.bank-task-text + .bank-passage, .bank-task-image + .bank-passage { margin-top: 12px; }
@media (max-width: 700px) {
    .bank-task-text + .bank-passage, .bank-task-image + .bank-passage { margin-top: 12px; }
}

.bank-task-text .bank-task-emphasis { font-family: TTFirsNeue-Medium, sans-serif; font-weight: normal; font-size: inherit; line-height: inherit; color: inherit; }
.bank-task-text :is(.bank-task-italic, i, em) { font-style: normal; }
.bank-task-text .bank-task-underline { text-decoration: underline; text-underline-offset: .16em; text-decoration-skip-ink: auto; }
.bank-task-text.bank-task-instruction { font-family: TTFirsNeue-Medium, sans-serif; font-weight: normal; }
.bank-task--reading-typography .bank-task-text:not(.bank-task-instruction) :is(.bank-task-emphasis, b, strong) { font-family: inherit; font-weight: inherit; }

/* Russian EGE 2: mark the contextual words, not the instruction or solution.
   An inline background stays behind the glyphs and follows wrapped lines. */
.bank-passage--word-highlight .bank-task-text :is(.bank-task-emphasis, strong, b),
.bank-task--word-highlight .bank-task-text .bank-task-underline {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
    background-color: #ffe2bf;
    text-decoration: none;
    border-radius: .2em;
    padding: .04em .14em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@media (prefers-reduced-motion: reduce) {
    .bank-mobile-filters { transition: none; }
}

/* The partial last line and soft edge hint that the passage continues. */
.bank-passage-content { position: relative; display: flow-root; overflow: hidden; transition: max-height .3s ease; }
.bank-passage-content > .bank-task-text { display: flow-root; }
.bank-passage.is-collapsible .bank-passage-content { max-height: var(--bank-passage-preview-height); }
.bank-passage.is-collapsible.is-expanded .bank-passage-content { max-height: var(--bank-passage-full-height); }
.bank-passage-toggle { display: block; margin: 10px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1.5; color: #777; cursor: pointer; transition: color .2s ease; }
.bank-passage-toggle[hidden] { display: none; }
.bank-passage-toggle:hover { color: #282828; }
.bank-passage-toggle:focus-visible { outline: 1px solid #ff8c42; outline-offset: 3px; }
@media (max-width: 700px) { .bank-passage-toggle { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .bank-passage-content, .bank-passage-toggle { transition: none; } }

.bank-table-wrap { display: block; max-width: 100%; margin: 12px 0; padding: 1px; box-sizing: border-box; overflow-x: auto; white-space: normal; -webkit-overflow-scrolling: touch; }
.bank-table-wrap:focus-visible { outline: 1px solid #ff8c42; outline-offset: 2px; }
.bank-table { width: 100%; border-collapse: collapse; font: inherit; color: inherit; }
.bank-table th, .bank-table td { min-width: 90px; padding: 8px 10px; border: 1px solid #ddd; text-align: center; vertical-align: middle; white-space: pre-wrap; overflow-wrap: break-word; }
.bank-table th { font-family: TTFirsNeue-Medium, sans-serif; font-weight: normal; background: #f7f7f7; }
@media (max-width: 700px) { .bank-table th, .bank-table td { padding: 6px 8px; } }

/* A background-colour overlay fades upward from the measured half-line cut. */
.bank-passage-content::after { content: ""; position: absolute; inset: auto 0 -1px; height: calc(var(--bank-passage-fade-height, 10px) + 1px); pointer-events: none; opacity: 0; background: linear-gradient(to bottom, rgba(247, 247, 247, 0) 0%, #f7f7f7 100%); -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; transition: opacity .2s ease; }
.bank-passage.is-collapsible:not(.is-expanded) .bank-passage-content::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bank-passage-content::after { transition: none; } }

/* Number/theme browsing shares the site's neutral controls and orange selection. */
.bank-selection { min-width: 0; width: 100%; font-size: 13px; }
.bank-selection fieldset { min-width: 0; padding: 0; margin: 0; border: 0; display: flex; gap: 4px; }
.bank-selection .bank-selection-modes { padding: 0; border: 0; border-radius: 10px; background: #f7f7f7; }
.bank-selection .bank-selection-parts { margin-top: 10px; }
.bank-segment { position: relative; flex: 1; min-width: 0; cursor: pointer; }
.bank-segment input, .bank-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bank-segment > span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: var(--bank-filter-control-height); min-height: var(--bank-filter-control-height); padding: 0 4px; border: 1px solid transparent; border-radius: 7px; color: #777; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.bank-segment input:checked + span { background: #fff; color: #282828; border-color: #ededed; font-family: TTFirsNeue-Medium, sans-serif; }
.bank-selection-parts .bank-segment > span { background: #fafafa; border-color: #ededed; }
.bank-selection-parts .bank-segment input:checked + span { background: #fff1df; border-color: #ffb05c; color: #915418; }
.bank-selection-modes:disabled .bank-segment { cursor: default; }
.bank-selection-modes:disabled .bank-segment > span { color: #bbb; }
.bank-segment input:focus-visible + span, .bank-choice input:focus-visible + span { outline: 2px solid #ff8c42; outline-offset: 2px; }
.bank-selection-summary { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin: 12px 0 9px; min-height: 18px; color: #888; font-size: 11px; }
.bank-selection-summary:has([data-bank-selection-count]:empty) { min-height: 0; margin: 10px 0 0; }
.bank-selection-summary .bank-text-button { font-size: 11px; white-space: nowrap; }
.bank-selection [hidden] { display: none !important; }
.bank-number-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bank-choice { position: relative; cursor: pointer; min-width: 0; }
.bank-number-choice > span { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: var(--bank-filter-control-height); min-height: var(--bank-filter-control-height); border: 1px solid #ddd; border-radius: 8px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.bank-number-choice > span.is-empty { color: #999; }
.bank-choice input:checked + span { background: #fff1df; border-color: #ffb05c; color: #915418; }
.bank-choice:hover > span { border-color: #ffb05c; }
.bank-topic-search { width: 100%; box-sizing: border-box; height: 40px; border: 1px solid #ddd; border-radius: 9px; background: #fafafa; padding: 9px 11px; font: inherit; color: inherit; outline: none; box-shadow: none; margin: 0 0 8px; }
.bank-topic-search:focus { border-color: #ff8c42; outline: none; box-shadow: none; }
.bank-topic-search::-webkit-search-cancel-button { display: none; }
.bank-topics-list { display: grid; gap: 6px; box-sizing: border-box; max-height: 320px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: none; padding: 8px; margin: 0; border: 1px solid #ededed; border-radius: 10px; background: #f7f7f7; scrollbar-width: none; -ms-overflow-style: none; }
.bank-topics-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.bank-topic-choice-body { background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px; border: 1px solid #ededed; border-radius: 8px; line-height: 1.45; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.bank-topic-choice-body > span { min-width: 0; overflow-wrap: anywhere; }
.bank-topic-choice-body small { color: #999; flex-shrink: 0; font-size: 10px; }
.bank-selection-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #888; }
@media (max-width: 700px) {
    .bank-selection { font-size: 12px; }
    .bank-filters { --bank-filter-control-height: calc(12px * 1.35 + 22px); }
    .bank-number-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .bank-segment > span, .bank-number-choice > span, .bank-topic-choice-body { transition: none; } }

/* Keep long lists stable and leave room around the loader for short lists. */
.bank-selection-options { position: relative; }
.bank-selection-options.is-loading { min-height: 112px; }
.bank-selection-options-body { display: flow-root; }
.bank-selection-options.is-loading .bank-selection-options-body { visibility: hidden; pointer-events: none; }
.bank-selection-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #888; font-size: 12px; }
.bank-selection-loading::before { content: ''; width: 24px; height: 24px; box-sizing: border-box; border: 2px solid #ededed; border-top-color: #ff8c42; border-radius: 50%; animation: bank-loading-spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .bank-selection-loading::before { animation: none; } }

/* Photos belong to their table cells and keep their original proportions. */
.bank-table .bank-task-image { margin: 6px auto; max-width: 100%; }
.bank-table .bank-task-image img { max-width: 100%; max-height: 180px; width: auto; height: auto; border-radius: 4px; object-fit: contain; }
.bank-table:has(.bank-task-image) { table-layout: fixed; }
.bank-table:has(.bank-task-image) th, .bank-table:has(.bank-task-image) td { min-width: 0; overflow-wrap: anywhere; }
.bank-image-missing { color: #888; font-size: inherit; }
@media (max-width: 700px) { .bank-table .bank-task-image img { max-height: 140px; } }

.bank-audio-player {
    --bank-audio-accent: #c25308;
    --bank-audio-soft: #ffe8cf;
    --bank-audio-surface: #f6f6f6;
    --bank-audio-target: 32px;
    display: block;
    container-type: inline-size;
    box-sizing: border-box;
    margin: 10px 0;
    width: 100%;
    padding: 4px;
    border-radius: 12px;
    background: var(--bank-audio-surface);
    color: #262626;
    accent-color: var(--bank-audio-accent);
}
.bank-audio-player audio { display: block; width: 100%; min-height: 44px; accent-color: inherit; }
.bank-audio-player audio::-webkit-media-controls-panel { background-color: var(--bank-audio-surface); }
.bank-audio-player [hidden] { display: none; }
.bank-audio-controls {
    display: grid;
    grid-template-columns: var(--bank-audio-target) auto minmax(0, 1fr) var(--bank-audio-target) var(--bank-audio-target);
    grid-template-areas: "play time seek mute speed" "error error error error error";
    align-items: center;
    column-gap: 8px;
    font: 12px/1.4 TTFirsNeue-Medium, sans-serif;
    font-variant-numeric: tabular-nums;
}
.bank-audio-controls :is(button, .bank-audio-rate) {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: var(--bank-audio-target);
    width: var(--bank-audio-target);
    height: var(--bank-audio-target);
    aspect-ratio: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--bank-audio-soft);
    box-shadow: none;
    color: #a14200;
    font: inherit;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.bank-audio-controls button:hover { background: #ffdbb5; }
.bank-audio-controls button:active { transform: scale(.96); }
.bank-audio-player :is(audio, button, input, select):focus-visible {
    outline: 2px solid var(--bank-audio-accent);
    outline-offset: 2px;
}
.bank-audio-controls .bank-audio-play {
    grid-area: play;
    background: var(--bank-audio-soft);
    color: #a14200;
}
.bank-audio-controls .bank-audio-play:hover { background: #ffdbb5; }
.bank-audio-controls svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bank-audio-pause-icon, .bank-audio-sound-on, .bank-audio-sound-off { fill: none; }
.bank-audio-play:not(.is-playing) .bank-audio-pause-icon, .bank-audio-play.is-playing .bank-audio-play-icon,
.bank-audio-mute[aria-pressed="false"] .bank-audio-sound-off, .bank-audio-mute[aria-pressed="true"] .bank-audio-sound-on { display: none; }
.bank-audio-time { grid-area: time; min-width: 9ch; white-space: nowrap; }
.bank-audio-seek {
    grid-area: seek;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: var(--bank-audio-target);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    --bank-audio-track: linear-gradient(to right, var(--bank-audio-accent) var(--bank-audio-progress, 0%), #d6d6d6 0);
}
.bank-audio-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 4px; background: var(--bank-audio-track); }
.bank-audio-seek::-moz-range-track { height: 3px; border-radius: 4px; background: var(--bank-audio-track); }
.bank-audio-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    margin-top: -3.5px;
    border: 0;
    border-radius: 50%;
    background: var(--bank-audio-accent);
}
.bank-audio-seek::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--bank-audio-accent); }
.bank-audio-seek:disabled { cursor: default; }
.bank-audio-controls .bank-audio-mute { grid-area: mute; }
.bank-audio-controls .bank-audio-rate {
    grid-area: speed;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
}
.bank-audio-error { grid-area: error; margin: 4px 0; color: #952c13; }
@media (pointer: coarse) {
    .bank-audio-player { --bank-audio-target: 36px; }
}
@container (max-width: 380px) {
    .bank-audio-controls { column-gap: 6px; }
}
@container (max-width: 285px) {
    .bank-audio-controls {
        grid-template-columns: var(--bank-audio-target) minmax(0, 1fr) var(--bank-audio-target) var(--bank-audio-target);
        grid-template-areas: "play time mute speed" "seek seek seek seek" "error error error error";
    }
    .bank-audio-seek { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .bank-audio-controls :is(button, .bank-audio-rate) { transition: none; }
    .bank-audio-controls button:active { transform: none; }
}
.bank-audio-note { margin: 8px 0; color: #744316; }
.bank-audio-upload { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
