/* ===========================================================================
   Aditu: gai iluna (tema oscuro), ajustes a mano. Se carga después de elh_theme.css (lo común de las cuatro webs)
   y de theme_dark.auto.css (generado con tts_api/scripts/theme_dark_gen.py a partir de los colores fijos de Aditu).
   Solo con html.theme-dark (js/elh_theme.js).
   =========================================================================== */

/* "Ordenatu" (asr_web_view_mode.css .order_select_btn): como los botones Zerrenda / Lauki-sarea de al lado (theme_dark.auto.css .view_toggle) */
html.theme-dark .order_select_btn { border-color: #2e3a60; background-color: #1d2233; color: #a9bcff; }
html.theme-dark .order_select_btn:hover, html.theme-dark .order_select.show .order_select_btn { background-color: #21293b; }

/* Leihoak: adituDialog (js/asr_web_dialog.js: abisuak, berrespenak, "Arazoa jakinarazi" botoiduna) eta
   "Arazo bat jakinarazi" (js/asr_web_problem_report.js, "Jakinarazi taldeari" estekatik). Biek estilo argiak txertatzen
   dituzte JSan; hemen, gai ilunerako kolore berak (elh_theme.css-ko --dk-*). */
html.theme-dark .aditu-dialog-backdrop, html.theme-dark .aditu-report-backdrop { background: rgba(0, 0, 0, .6); }
html.theme-dark .aditu-dialog, html.theme-dark .aditu-report { background: var(--dk-surface); box-shadow: 0 12px 40px rgba(0, 0, 0, .6); border: 1px solid var(--elh-line); }
html.theme-dark .aditu-dialog-header, html.theme-dark .aditu-report-header {
	background: linear-gradient(90deg, rgba(95, 224, 213, .12) 0%, rgba(95, 224, 213, .04) 45%, var(--dk-surface) 80%);
	color: var(--dk-accent); border-bottom-color: var(--elh-line);
}
html.theme-dark .aditu-dialog-header::before { background: var(--dk-teal); }
html.theme-dark .aditu-dialog-body { color: var(--elh-ink); }
html.theme-dark .aditu-dialog-footer, html.theme-dark .aditu-report-footer { border-top-color: var(--elh-line); }
html.theme-dark .aditu-dialog-btn.primary, html.theme-dark .aditu-report-btn.primary { background: var(--dk-fill); }
html.theme-dark .aditu-dialog-btn.primary:hover { background: var(--dk-fill-dark); }
html.theme-dark .aditu-dialog-btn:not(.primary):not(.danger), html.theme-dark .aditu-report-btn:not(.primary) { background: var(--dk-raised); color: var(--elh-ink); box-shadow: none; }
html.theme-dark .aditu-dialog-btn:not(.primary):not(.danger):hover, html.theme-dark .aditu-report-btn:not(.primary):hover { background: #303858; }
html.theme-dark .aditu-dialog-btn:focus-visible { outline-color: var(--dk-teal); }

html.theme-dark .aditu-report-header i { color: var(--dk-teal); }
html.theme-dark .aditu-report-header button { color: var(--elh-muted); }
html.theme-dark .aditu-report-header button:hover { background: var(--dk-raised); color: var(--elh-ink); }
html.theme-dark .aditu-report-body { color: var(--elh-ink); }
html.theme-dark .aditu-report-body label { color: var(--dk-accent); }
html.theme-dark .aditu-report-body textarea { background: var(--dk-input); border-color: var(--elh-line); color: var(--elh-ink); }
html.theme-dark .aditu-report-body textarea::placeholder { color: var(--elh-faint); }
html.theme-dark .aditu-report-body textarea:focus { border-color: var(--dk-teal); box-shadow: 0 0 0 3px rgba(95, 224, 213, .18); }
html.theme-dark .aditu-report-intro { background: rgba(95, 224, 213, .08); border-color: rgba(95, 224, 213, .28); color: #9fe9e2; }
html.theme-dark .aditu-report-meta { border-bottom-color: var(--elh-line); }
html.theme-dark .aditu-report-meta span { color: var(--elh-faint); }
html.theme-dark .aditu-report-meta b, html.theme-dark .aditu-report-context b, html.theme-dark .aditu-report-tech summary { color: var(--dk-accent); }
html.theme-dark .aditu-report-meta small, html.theme-dark .aditu_report_hint { color: var(--elh-muted); }
html.theme-dark .aditu-report-context { background: var(--dk-soft); border-color: var(--elh-line); color: var(--elh-muted); }
html.theme-dark .aditu-report-tech { color: var(--elh-muted); }
html.theme-dark .aditu-report-tech dt { color: var(--elh-faint); }

/* "Jakinarazi taldeari" esteka erroreen ondoan (erroreen kutxetan, haien kolorea) */
html.theme-dark .aditu_report_link { color: var(--dk-accent) !important; }
html.theme-dark .aditu_report_link:hover { color: var(--dk-teal) !important; }
html.theme-dark .alert-danger .aditu_report_link, html.theme-dark .project-chat-msg-error .aditu_report_link { color: inherit !important; }

/* Alboko barrak: ekintzak (dashboard/detail_view/add_content_section.html, #task_sidebar) eta hizlariak
   (speakers/actions/speakers_sidebar.html, #hizlari_sidebar). theme_dark.auto.css-k ertz osoa ordezkatzen du (goiko marra
   urdina galtzen zen), eta ikonoen hondoa eta hover-a ez ziren ia ikusten. */
html.theme-dark #task_sidebar, html.theme-dark #hizlari_sidebar { border-top: 4px solid var(--dk-fill); box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
html.theme-dark #task_sidebar_head, html.theme-dark #hizlari_sidebar_head { background-color: rgba(169, 188, 255, .05); border-bottom-color: var(--elh-line); }
html.theme-dark #task_sidebar_toggle:hover, html.theme-dark #hizlari_sidebar_toggle:hover { background-color: rgba(169, 188, 255, .12); color: var(--dk-accent); }
html.theme-dark .task_sidebar_icon, html.theme-dark .hizlari_sidebar_icon { background-color: rgba(169, 188, 255, .13); color: var(--dk-accent); }
html.theme-dark .task_sidebar_option:hover, html.theme-dark .hizlari_sidebar_option:hover { background-color: rgba(169, 188, 255, .08); border-color: transparent; box-shadow: none; }
html.theme-dark .task_sidebar_option:hover .task_sidebar_icon, html.theme-dark .hizlari_sidebar_option:hover .hizlari_sidebar_icon { background-color: var(--dk-fill); color: #fff; }
html.theme-dark .task_sidebar_buy_credit:hover, html.theme-dark .hizlari_sidebar_buy_credit:hover { background-color: rgba(95, 224, 213, .14); color: var(--dk-teal) !important; }
html.theme-dark #task_sidebar_credit, html.theme-dark #hizlari_sidebar_credit { border-top-color: var(--elh-line); }
html.theme-dark .task_sidebar_icon--credit, html.theme-dark .hizlari_sidebar_icon--credit { background-color: rgba(95, 224, 213, .14); color: var(--dk-teal); }
html.theme-dark .task_sidebar_buy_credit, html.theme-dark .hizlari_sidebar_buy_credit { color: var(--dk-teal) !important; }

/* Proiektu barruan: bidea (Hasiera / proiektua...; Bootstrap-en .breadcrumb hondo argia zuen), proiektuaren ikonoa eta
   ertz-botoiak (btn-outline-elhuyar: ertz urdin iluna ez zen ikusten) */
html.theme-dark .breadcrumb { background-color: var(--dk-surface); border: 1px solid var(--elh-line); }
html.theme-dark .breadcrumb-item + .breadcrumb-item::before { color: var(--elh-faint); }
html.theme-dark .breadcrumb-item.active, html.theme-dark .breadcrumb-item.active .breadcrumb-item { color: var(--elh-ink); }
html.theme-dark .breadcrumb-item a:hover { color: var(--dk-teal) !important; }
html.theme-dark .current_project_header .current_project_icon { background-color: rgba(169, 188, 255, .13); }
html.theme-dark .btn-outline-elhuyar { border-color: rgba(169, 188, 255, .55) !important; }
html.theme-dark .btn-outline-elhuyar:hover, html.theme-dark .btn-outline-elhuyar:focus { border-color: var(--dk-accent) !important; background-color: rgba(169, 188, 255, .1) !important; }

/* DataTables taulak (hizlarien estatistikak eta beste): errenkada zuriak testu argiarekin ez ziren irakurtzen, eta
   "Erakutsi / Bilatu / orrikatzea" testu ilunak hondo ilunean */
html.theme-dark table.dataTable tbody tr,
html.theme-dark table.dataTable tbody tr.odd,
html.theme-dark table.dataTable tbody tr.even { background-color: var(--dk-surface) !important; }
html.theme-dark table.dataTable.stripe tbody tr.odd, html.theme-dark table.dataTable.display tbody tr.odd { background-color: rgba(169, 188, 255, .04) !important; }
html.theme-dark table.dataTable tbody tr:hover { background-color: var(--dk-raised) !important; }
html.theme-dark table.dataTable tbody td { color: var(--elh-ink); border-top-color: var(--elh-line); }
html.theme-dark table.dataTable tbody td.sorting_1 { background-color: rgba(169, 188, 255, .05) !important; }
html.theme-dark table.dataTable thead th, html.theme-dark table.dataTable thead td,
html.theme-dark table.dataTable tfoot th, html.theme-dark table.dataTable tfoot td { color: var(--elh-ink); border-color: var(--elh-line) !important; }
html.theme-dark table.dataTable.no-footer { border-bottom-color: var(--elh-line); }
html.theme-dark .dataTables_wrapper .dataTables_length, html.theme-dark .dataTables_wrapper .dataTables_filter,
html.theme-dark .dataTables_wrapper .dataTables_info, html.theme-dark .dataTables_wrapper .dataTables_processing,
html.theme-dark .dataTables_wrapper .dataTables_paginate { color: var(--elh-muted) !important; }
html.theme-dark .dataTables_wrapper .dataTables_length select, html.theme-dark .dataTables_wrapper .dataTables_filter input {
	background-color: var(--dk-input); color: var(--elh-ink); border: 1px solid var(--elh-line);
}
html.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--dk-accent) !important; border: 1px solid transparent; }
html.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { background: var(--dk-fill) !important; color: #fff !important; border-color: transparent !important; }
html.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.disabled):not(.current) { background: rgba(169, 188, 255, .12) !important; color: var(--elh-ink) !important; border-color: transparent !important; }
html.theme-dark .dataTables_wrapper .dataTables_paginate .paginate_button.disabled { color: var(--elh-faint) !important; }

/* Glosarioak (terminology/): bidea kutxarik gabe (argian bezala), izenburuko ikonoa, eta txip / bilatzaile / termino berriaren
   barruko testu-eremuak gardenak (eremuen arau orokorrak beste hondo bat ematen zien: bi laukizuzen ikusten ziren) */
html.theme-dark .breadcrumb.glossary_breadcrumb { background-color: transparent; border: 0; }
html.theme-dark .terminology_icon { background-color: rgba(169, 188, 255, .13); }
html.theme-dark .term_row .term_value,
html.theme-dark .glossary_filter_field input,
html.theme-dark .glossary_quick_add_field input { background-color: transparent !important; }

/* Estatistiken taulen kontrolak (css/asr_stats_tables.css): esportatzeko botoiak, "Erakutsi N sarrera" eta bilatzailea */
html.theme-dark .dataTables_wrapper .dt-buttons { background: var(--dk-surface); border-color: var(--elh-line); }
html.theme-dark .dataTables_wrapper .dt-buttons .aditu-dt__btn { color: var(--dk-accent) !important; }
html.theme-dark .dataTables_wrapper .dt-buttons .aditu-dt__btn + .aditu-dt__btn,
html.theme-dark .dataTables_wrapper .dt-buttons button.dt-button.aditu-dt__btn + button.dt-button.aditu-dt__btn { border-left-color: var(--elh-line); }
html.theme-dark .dataTables_wrapper .dt-buttons .aditu-dt__btn:hover,
html.theme-dark .dataTables_wrapper .dt-buttons button.dt-button.aditu-dt__btn:hover:not(.disabled) { background: rgba(169, 188, 255, .1) !important; }
html.theme-dark .dataTables_wrapper .dataTables_length select {
	background: var(--dk-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23a9bcff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right .55rem center / 12px;
}
html.theme-dark .dataTables_wrapper .dataTables_filter input {
	background: var(--dk-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.5' fill='none' stroke='%23949cb3' stroke-width='1.6'/%3E%3Cpath stroke='%23949cb3' stroke-linecap='round' stroke-width='1.6' d='m10.5 10.5 3 3'/%3E%3C/svg%3E") no-repeat .6rem center / 14px;
}
html.theme-dark .dataTables_wrapper .dataTables_filter input::placeholder { color: var(--elh-faint); }
html.theme-dark table.dataTable thead th, html.theme-dark table.dataTable thead td { color: var(--dk-accent); }

/* Leihoetako eremuak (asr_web_modal_forms.css): etiketak eta hizkuntza-zerrendako aukerak aldagai hauekin margotzen dira;
   gai argiko kolore ilunekin ez ziren ia ikusten (hizlariak, txostenak, igoera, azpitituluak inportatu...) */
html.theme-dark .modal { --modal-field-text: var(--elh-ink); --modal-field-label: var(--dk-accent); }
html.theme-dark .modal .language_selector .options_view ul li.selected { background-color: var(--dk-fill); }

/* Igoera-leihoa (dashboard/actions/upload_modal.html): aukeratutako fitxategiaren txartela */
html.theme-dark #upload_modal .um_file_card { background: var(--dk-soft); border-color: var(--elh-line); }
html.theme-dark #upload_modal .um_file_name { color: var(--dk-accent); }

/* Txosten motak (js/asr_web_report_type_groups.js, estiloak JSan txertatuta): "Ohikoak" kutxa, txipak eta kontagailuak */
html.theme-dark .report_type_common { background: var(--dk-soft); border-color: var(--elh-line); }
html.theme-dark .report_type_common_title { color: var(--dk-accent); }
html.theme-dark .report_type_chip { background: var(--dk-raised); border-color: var(--elh-line); color: var(--elh-ink); }
html.theme-dark .report_type_chip:hover { border-color: var(--dk-accent); }
html.theme-dark .report_type_chip.active { background: var(--dk-fill); border-color: var(--dk-fill); color: #fff; }
html.theme-dark .report_type_group_count { background: var(--dk-raised); color: var(--elh-muted); }
html.theme-dark .report_type_group_chevron { color: var(--elh-muted); }

/* Analisi mota aukeratzeko leihoa (dashboard/actions/analysis_type_modal.html): baldintzaren oharra */
html.theme-dark .analysis_type_condition { color: var(--dk-teal); }

/* Orairen blokea: botoi zuria bere degradatuaren gainean, gai ilunean ere (theme_dark.auto.css-k ilun bihur ez dezan) */
html:where(.theme-dark) .lp-orai__cta { background-color: #fff !important; color: #0045e7 !important; }
html:where(.theme-dark) .lp-orai__cta:hover, html:where(.theme-dark) .lp-orai__cta:focus { background-color: #eef2ff !important; }

/* Txostenen editorea (editor/txostena_interface.html, Quill "snow"): tresna-barrako ikonoak, hautatzaileak (izenburua,
   kolorea, tamaina), estekaren leihoa eta "AAk sortua" etiketa. Quill-ek bere kolore argiak ditu (#444, #fff, #06c). */
html.theme-dark .ql-snow .ql-stroke { stroke: var(--elh-muted); }
html.theme-dark .ql-snow .ql-fill, html.theme-dark .ql-snow .ql-stroke.ql-fill { fill: var(--elh-muted); }
html.theme-dark .ql-snow .ql-picker { color: var(--elh-muted); }
html.theme-dark .ql-snow.ql-toolbar button:hover, html.theme-dark .ql-snow.ql-toolbar button:focus, html.theme-dark .ql-snow.ql-toolbar button.ql-active,
html.theme-dark .ql-snow.ql-toolbar .ql-picker-label:hover, html.theme-dark .ql-snow.ql-toolbar .ql-picker-label.ql-active,
html.theme-dark .ql-snow.ql-toolbar .ql-picker-item:hover, html.theme-dark .ql-snow.ql-toolbar .ql-picker-item.ql-selected { color: var(--dk-accent); }
html.theme-dark .ql-snow.ql-toolbar button:hover .ql-stroke, html.theme-dark .ql-snow.ql-toolbar button:focus .ql-stroke, html.theme-dark .ql-snow.ql-toolbar button.ql-active .ql-stroke,
html.theme-dark .ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, html.theme-dark .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,
html.theme-dark .ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, html.theme-dark .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke { stroke: var(--dk-accent); }
html.theme-dark .ql-snow.ql-toolbar button:hover .ql-fill, html.theme-dark .ql-snow.ql-toolbar button:focus .ql-fill, html.theme-dark .ql-snow.ql-toolbar button.ql-active .ql-fill,
html.theme-dark .ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, html.theme-dark .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill { fill: var(--dk-accent); }
html.theme-dark .ql-snow .ql-picker-options { background-color: var(--dk-surface); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
html.theme-dark .ql-snow .ql-picker.ql-expanded .ql-picker-label { background-color: var(--dk-surface); color: var(--elh-ink); border-color: var(--elh-line); }
html.theme-dark .ql-snow .ql-picker.ql-expanded .ql-picker-options { border-color: var(--elh-line); }
html.theme-dark .ql-snow .ql-color-picker .ql-picker-item { border-color: var(--elh-line); }
html.theme-dark .ql-snow .ql-tooltip { background-color: var(--dk-surface); border-color: var(--elh-line); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); color: var(--elh-ink); }
html.theme-dark .ql-snow .ql-tooltip input[type=text] { background-color: var(--dk-input); border-color: var(--elh-line); color: var(--elh-ink); }
html.theme-dark .ql-snow .ql-tooltip a, html.theme-dark .ql-snow .ql-editor a { color: var(--dk-accent); }
html.theme-dark .badge-light { background-color: var(--dk-raised) !important; color: var(--elh-muted) !important; border-color: var(--elh-line) !important; }

/* Azpitituluen editorea: Bootstrap 5eko taulak (laguntza-leihoko lasterbideak: --bs-table-bg zuria lehenetsita) */
html.theme-dark .table { --bs-table-bg: transparent; --bs-table-color: inherit; --bs-table-border-color: var(--elh-line); }

/* Segmentuak berrikusita markatzeko botoia (js/asr_web_segment_review.js, estiloak JSan txertatuta) */
html.theme-dark .review_toggle { background: var(--dk-input); border-color: #5a6583; }
html.theme-dark .review_toggle:hover { border-color: #4cc27f; color: #4cc27f; }
html.theme-dark .review_toggle.is_reviewed { background: #2e9e5b; border-color: #2e9e5b; color: #fff; }
html.theme-dark .review_counter { color: #6fd39a; }
html.theme-dark .review_progress { background: var(--dk-raised); }

/* Glosarioekin zuzentzeko leihoa (js/asr_web_glossary_editor.js, estiloak JSan txertatuta) */
html.theme-dark .ge-backdrop { background: rgba(0, 0, 0, .6); }
html.theme-dark .ge-dialog { background: var(--dk-surface); border: 1px solid var(--elh-line); box-shadow: 0 12px 40px rgba(0, 0, 0, .6); }
html.theme-dark .ge-header { background: linear-gradient(90deg, rgba(95, 224, 213, .12) 0%, rgba(95, 224, 213, .04) 45%, var(--dk-surface) 80%); color: var(--dk-accent); border-bottom-color: var(--elh-line); }
html.theme-dark .ge-header i { color: var(--dk-teal); }
html.theme-dark .ge-header button { color: var(--elh-muted); }
html.theme-dark .ge-header button:hover { background: var(--dk-raised); color: var(--elh-ink); }
html.theme-dark .ge-body { color: var(--elh-ink); }
html.theme-dark .ge-footer { border-top-color: var(--elh-line); }
html.theme-dark .ge-footer .ge-summary, html.theme-dark .ge-loading { color: var(--elh-muted); }
html.theme-dark .ge-btn { background: var(--dk-raised); border-color: var(--elh-line); color: var(--elh-ink); }
html.theme-dark .ge-btn.primary, html.theme-dark .ge-footer .ge-btn.primary { background: var(--dk-fill); border-color: var(--dk-fill); color: #fff; }
html.theme-dark .ge-glossaries label { background: var(--dk-raised); border-color: var(--elh-line); color: var(--elh-ink); }
html.theme-dark .ge-glossaries label:hover { border-color: var(--dk-accent); }
html.theme-dark .ge-glossaries label .text-muted { color: var(--elh-faint) !important; }
html.theme-dark .ge-glossaries .ge-other { color: var(--elh-muted); }
html.theme-dark .ge-glossaries label.ge-autocorrect { border-color: var(--dk-teal); color: var(--dk-teal); }
html.theme-dark .ge-glossaries label.ge-selected, html.theme-dark .ge-glossaries label.ge-autocorrect.ge-selected { background: var(--dk-fill); border-color: var(--dk-fill); color: #fff; }
html.theme-dark .ge-glossaries label.ge-selected .text-muted { color: rgba(255, 255, 255, .8) !important; }
html.theme-dark .ge-preview { background: var(--dk-fill) !important; }
html.theme-dark .ge-preview:disabled { background: var(--dk-raised) !important; color: var(--elh-muted) !important; }
html.theme-dark .ge-manage { color: var(--dk-accent); }
html.theme-dark .ge-section-title, html.theme-dark .ge-empty, html.theme-dark .ge-change .ge-num { color: var(--elh-faint); }
html.theme-dark .ge-changes { border-color: var(--elh-line); }
html.theme-dark .ge-change { border-bottom-color: var(--elh-line); }
html.theme-dark .ge-change del { color: #ff9aa5; background: rgba(255, 143, 156, .14); }
html.theme-dark .ge-change ins { color: var(--dk-teal); background: rgba(95, 224, 213, .14); }

/* Erosketa (orders/base.html eta urratsak): urratsen izenak (MDB stepper: testu beltza) eta "Guztira" errenkada (style="background-color: #EDECEB") */
html.theme-dark ul.stepper li a .label { color: var(--elh-faint); }
html.theme-dark ul.stepper li.active a .label, html.theme-dark ul.stepper li.completed a .label { color: var(--elh-ink); }
html.theme-dark tr[style*="#EDECEB"], html.theme-dark tr[style*="#edeceb"] { background-color: var(--dk-raised) !important; }

/* Eskaeren historia (profile/orders.html): "Itxaron eskaera prozesatu bitartean" leihoaren mezua */
html.theme-dark #success_modal .message { color: var(--elh-muted); }

/* Portada, formatuak (Elian bezala): mota bakoitzaren kolorea, argiago atzealde ilunean */
html:where(.theme-dark) .lp-fmt__icon { background: color-mix(in srgb, var(--c) 22%, transparent); color: color-mix(in srgb, var(--c) 45%, #fff); }

/* Vista del fichero, barra "Ekintzak": el botón bajo el ratón se levanta con un tono más claro que la barra (el generado
   lo dejaba del color de la tarjeta) */
html.theme-dark .action_card .icon-btn-plain:hover,
html.theme-dark .action_card .icon-btn-plain:focus-visible,
html.theme-dark .action_card .icon-btn-plain[aria-expanded="true"] { background-color: #323c58 !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .4) !important; }
html.theme-dark .action_card .dropdown-menu { background-color: var(--dk-raised); box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }
html.theme-dark .action_card .dropdown-menu .dropdown-item:hover,
html.theme-dark .action_card .dropdown-menu .dropdown-item:focus { background-color: #323c58; }

/* Vista del fichero: el hover de las filas (transcripción, traducción, análisis) se veía apenas (#21283b sobre #1d2233) */
html.theme-dark .transcription_item:hover:not(:has(.akta_list:hover)),
html.theme-dark .akta_list > div:hover { background-color: #262f47 !important; }
/* "Ikusi gehiago": pastilla con el mismo tono que la barra de Ekintzak */
html.theme-dark .akta_list_toggle { background-color: #2a3350; color: var(--dk-accent) !important; }
html.theme-dark .akta_list_toggle:hover, html.theme-dark .akta_list_toggle:focus-visible { background-color: #36416a; color: #fff !important; }

/* Hizlariak: etengailua (itzalita, gris iluna; botoia beti argia), ekintza-barrako botoia sagua gainean (fitxategiaren "Ekintzak" bezala)
   eta hautapen anitzeko zerrendaren itzala */
html.theme-dark .sg_switch_track { background-color: #3a4462; }
html.theme-dark .sg_switch_track::after { background-color: #e8ecf5; }
html.theme-dark .sg_switch_input:checked + .sg_switch_track { background-color: #00807e; }
html.theme-dark .sg_btn:hover, html.theme-dark .sg_btn:focus-visible { background-color: #323c58; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
html.theme-dark .multiselect-wrapper .multiselect-list { background-color: var(--dk-raised); box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }
html.theme-dark .multiselect-wrapper .multiselect-list > span label:hover, html.theme-dark .multiselect-wrapper ul li label:hover, html.theme-dark .multiselect-wrapper ul li.active label { background-color: #323c58; }
