/* v1.4.87 — ADMIN PREVIEW dark palette.
   Restricted to the new admin screens and their overlays; leave legacy 管理 and
   A4 contract/invoice document canvases unchanged. */
html[data-ayukone-mode="dark"] {
  --admin-dark-bg:#11171c;--admin-dark-panel:#1d262d;--admin-dark-raised:#25313a;
  --admin-dark-soft:#28353d;--admin-dark-border:#394851;
  --admin-dark-ink:#e9f0f2;--admin-dark-sub:#bdcbd2;--admin-dark-accent:#91dfb3;
  color-scheme:dark;
}
/* Root pages + primary white cards */
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-page,.v1400-admin-results-page,.v1482-page),
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-main,.v1400-admin-results-main,.v1482-main){background:var(--admin-dark-bg)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-title,.v1482-heading,.v1400-results-head,.v1401-entry-copy strong,.v1409-summary-item strong,.v1402-recorded-project,.v1412-entry-text strong){color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-card,.v1401-entry-card,.v1409-summary,.v1402-recorded,.v1402-recorded-row,.v1403-picker-block,.v1404-totals-table,.v1482-directory,.v1482-person,.v1482-status){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important;box-shadow:0 7px 18px #05090c44!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-card-icon,.v1412-entry-number,.v1409-quota,.v1404-totals-head,.v1402-recorded-head,.v1404-all-values-btn,.v1400-select-shell,.v1403-picker-stack,.v1482-columns,.v1482-month){background:var(--admin-dark-soft)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-accent)!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1422-card small,.v1401-entry-copy small,.v1409-summary-item small,.v1400-field-label,.v1403-picker-help,.v1404-totals-row>span,.v1482-info,.v1482-foot){color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1404-totals-row,.v1402-recorded-cols,.v1482-columns,.v1482-person){border-color:var(--admin-dark-border)!important}
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(.v1404-totals-row>span:first-child,.v1402-recorded-value,.v1482-person-name,.v1482-check,.v1401-entry-control em){color:var(--admin-dark-ink)!important}
/* All admin bottom sheets, stacked editors and pop-up dialogs. */
html[data-ayukone-mode="dark"] :is(.v1422-sheet,.v1426-nested-sheet,.v1438-panel,.v1443-editor-overlay .v1438-panel,.v1476-pop,.v1471-popup,.v1423-contract-card,.v1417-alert-pop,.v1470-editor,.v1483-viewer,.v1485-modal){background:var(--admin-dark-panel)!important;color:var(--admin-dark-ink)!important;border-color:var(--admin-dark-border)!important}
html[data-ayukone-mode="dark"] :is(.v1422-sheet-body,.v1426-nested-body,.v1438-content,.v1476-sheet .v1422-sheet-body,.v1478-profit-sheet .v1422-sheet-body){background:var(--admin-dark-panel)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1422-sheet-head,.v1426-nested-head,.v1438-head,.v1476-pop-head,.v1471-pop-head,.v1483-viewer-head){border-color:var(--admin-dark-border)!important}
html[data-ayukone-mode="dark"] :is(.v1422-sheet-head strong,.v1423-contract-head strong,.v1426-nested-head strong,.v1438-head strong,.v1476-pop-head strong,.v1471-pop-head strong,.v1483-viewer-head strong){color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1422-sheet-head small,.v1423-contract-sub,.v1426-cont-note,.v1438-note,.v1476-pop-note,.v1471-pop-note,.v1483-archive-label){color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] :is(.v1422-grab,.v1426-nested-grab){background:#768892!important}
html[data-ayukone-mode="dark"] :is(.v1422-sheet-close,.v1426-nested-close,.v1438-close,.v1423-contract-close,.v1476-icon-btn,.v1476-small-btn,.v1471-pop-close,.v1483-viewer-close,.v1483-viewer-control,.v1484-zoom-bar button){background:var(--admin-dark-raised)!important;color:var(--admin-dark-ink)!important;border-color:var(--admin-dark-border)!important}
/* Secondary surfaces and lists across register/settings, projects, clients, wages,
   incentives, payroll, expenses and P/L. Preserve intentionally colored status rows. */
html[data-ayukone-mode="dark"] :is(
  .v1422-field,.v1423-inline-item,.v1423-contract-row,.v1425-delivery-card,.v1425-section,.v1425-row,
  .v1426-continuation,.v1426-delivery-summary,.v1426-summary-row,.v1429-item,.v1429-table,
  .v1438-card,.v1438-row--client,.v1438-row--header,.v1438-select,.v1438-fields,
  .v1465-heading,.v1465-row,.v1465-rate-summary,.v1465-history-row,.v1466-group,
  .v1470-grid,.v1470-head,.v1470-detail,.v1470-details,.v1470-editor,.v1470-form,.v1470-field,
  .v1471-grid,.v1471-columns,.v1471-group,.v1471-group-head,.v1471-period,.v1472-incentives,.v1472-pay-total,.v1471-pop-note,
  .v1476-summary,.v1476-total,.v1476-summary-btn,.v1476-form,.v1476-item,.v1476-legacy,.v1476-edit-form,
  .v1478-stats,.v1478-stat,.v1478-profit-grand,.v1417-alert-pop-head,.v1417-alert-pop-row
){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(
  .v1422-field-head,.v1422-form-note,.v1422-sheet-body small,.v1423-contract-row span,
  .v1425-note,.v1429-hint,.v1438-note,.v1465-help,.v1465-section-title,.v1465-rate-summary span,
  .v1466-group-subtitle,.v1470-help,.v1470-note,.v1471-helper,.v1471-pop-head small,
  .v1474-pay-picker,.v1474-pay-total,.v1474-pay-caveat,.v1476-month,.v1476-pop-note,.v1478-month,.v1478-note
){color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] :is(
  .v1422-field label,.v1423-inline-item label,.v1423-contract-row strong,.v1425-head,.v1425-row-name,
  .v1426-delivery-name,.v1426-cont-name,.v1429-period,.v1438-row,.v1438-card strong,
  .v1465-heading,.v1465-row-name,.v1465-row-wage,.v1465-rate-summary strong,.v1465-history-head,
  .v1465-fields label,.v1465-history-row,.v1470-name,.v1470-amount,.v1470-date,
  .v1471-person-name,.v1471-amount,.v1471-period-main,.v1471-period-main strong,
  .v1471-period-hours,.v1471-period-money,.v1472-incentive-heading,.v1472-incentive-item span,.v1472-incentive-item b,
  .v1472-pay-total .v1472-grand,.v1471-popup-total,.v1474-pay-total strong,
  .v1476-section-title,.v1476-field,.v1476-total strong,.v1476-summary-btn strong,.v1476-item strong,
  .v1478-name,.v1478-money,.v1478-profit-grand .v1478-name
){color:var(--admin-dark-ink)!important}
/* Slightly raised treatment for the highlighted totals, section headers, and hints */
html[data-ayukone-mode="dark"] :is(.v1476-total,.v1471-group-head,.v1472-pay-total,.v1478-profit-grand,.v1465-heading,.v1404-totals-head,.v1470-head,.v1426-delivery-summary,.v1429-tabs){background:var(--admin-dark-raised)!important}
html[data-ayukone-mode="dark"] :is(.v1478-profit-grand .v1478-money){color:var(--admin-dark-accent)!important}
html[data-ayukone-mode="dark"] :is(.v1478-profit-grand.v1478-negative .v1478-money){color:#ff8f9a!important}
html[data-ayukone-mode="dark"] :is(.v1476-summary-btn,.v1476-item,.v1471-period,.v1472-incentive-item,.v1425-row,.v1423-contract-row,.v1471-group,.v1438-row,.v1470-detail){border-color:var(--admin-dark-border)!important}
/* Controls including date/month, number and search fields. Do not recolor checkboxes. */
html[data-ayukone-mode="dark"] body.v1250-home-preview-active :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
html[data-ayukone-mode="dark"] :is(.v1422-sheet,.v1426-nested-sheet,.v1438-panel,.v1471-popup,.v1476-pop,.v1483-viewer) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:var(--admin-dark-raised)!important;color:var(--admin-dark-ink)!important;border-color:#52626b!important;color-scheme:dark}
html[data-ayukone-mode="dark"] :is(.v1422-sheet,.v1426-nested-sheet,.v1438-panel,.v1471-popup,.v1476-pop) :is(input,textarea)::placeholder{color:#a0b0b8!important}
html[data-ayukone-mode="dark"] :is(.v1476-danger,.v1440-delete){background:#462c34!important;color:#ffabb6!important;border-color:#9b5360!important}
html[data-ayukone-mode="dark"] :is(.v1476-error,.v1471-error,.v1482-error){background:#482b30!important;color:#ffb1ba!important;border-color:#90505d!important}
html[data-ayukone-mode="dark"] :is(.v1485-primary,.v1476-save,.v1422-save,.v1438-primary,.v1470-save,.v1465-save){color:#fff!important}
/* Submitted PDFs/contracts are intentionally white paper. Keep their typography and fixed print colors. */
html[data-ayukone-mode="dark"] :is(.v094-paper,.v095-contract-paper,.v095-paper,.v1484-document-paper){background:#fff!important;color:#172018!important;color-scheme:light}
/* Prevent generic document HTML within the A4 iframe from inheriting dark controls. */
@media print {html[data-ayukone-mode="dark"] :is(.v094-paper,.v095-contract-paper,.v095-paper){background:white!important;color:#172018!important}}
/* Additional nested surfaces found in v1.4.x admin modules */
html[data-ayukone-mode="dark"] :is(.v1422-fixed,.v1422-actions,.v1402-recorded-table,.v1413-results-shell,.v1413-section-divider,.v1465-history-current,.v1466-item,.v1466-admin-item,.v1466-ghost,.v1470-table,.v1425-list,.v1426-next,.v1426-actions,.v1429-scroll,.v1429-edit,.v1435-invoice-toggle,.v1435-select-note,.v1481-receipt-info,.v1464-pdf-load-error,.v1483-viewer-content){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1422-no,.v1466-group-head,.v1470-monthline,.v1438-row--header,.v1429-table thead th,.v1402-recorded-head,.v1404-totals-head){background:var(--admin-dark-raised)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] :is(.v1466-item-wage,.v1468-wage-heading strong,.v1470-row strong,.v1429-period,.v1429-table thead th,.v1470-monthline,.v1481-receipt-info){color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1423-client-msg.warn,.v1402-recorded-warning){background:#403427!important;border-color:#806e4a!important;color:#e8cea2!important}
html[data-ayukone-mode="dark"] :is(.v1423-client-msg.ok){background:#23392e!important;color:#98d9b6!important}
html[data-ayukone-mode="dark"] :is(.v1417-alert-btn){background:#432f32!important;border-color:#85585c!important;color:#ffd2d3!important}
html[data-ayukone-mode="dark"] :is(.v1417-alert-btn.deadline){background:#423622!important;color:#e9c89a!important;border-color:#80623d!important}
html[data-ayukone-mode="dark"] :is(.v1470-error,.v1478-error,.v1464-pdf-load-error){background:#422b30!important;color:#ffb0b5!important;border-color:#80535c!important}
/* Keep the user-defined invoice payment status colors including deep-green received/active.
   Only records without a defined payment state adopt the dark sheet palette. */
html[data-ayukone-mode="dark"] .v1429-table .v1429-item:not(.v1431-status-0):not(.v1431-status-1):not(.v1431-status-2):not(.v1431-status-3):not(.v1431-status-4){--v1431-bg:#25313a;--v1431-fg:#e9f0f2}
html[data-ayukone-mode="dark"] :is(.v1429-table thead th,.v1438-row--header){background:var(--admin-dark-raised)!important;color:var(--admin-dark-sub)!important}
/* Management invoice composer contains a real white paper that must stay printable.
   Darken toolbar controls, but never the document paper itself. */
html[data-ayukone-mode="dark"] :is(.invoice-toolbar,.invoice-pdf-confirm,.font-control,.v1443-editor-overlay){border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
/* Settings secondary actions share the same dark palette; keep destructive controls distinct. */
html[data-ayukone-mode="dark"] body.v1485-settings-active :is(.v1485-secondary,.v1485-logout,.v1485-modal-close){background:#30292f!important;color:#f3bac6!important;border-color:#60434d!important}
html[data-ayukone-mode="dark"] body.v1485-settings-active :is(.v1485-accordion-body,.v1486-version-history){border-color:var(--admin-dark-border)!important}

/* v1.4.88: Admin Home / 日次・月次 bottom sheets - complete dark treatment.
   The legacy injected CSS defines hard-coded white backgrounds. Every rule here uses
   the actual home component classes and !important to override that later style tag. */
html[data-ayukone-mode="dark"] :is(.v1331-history-tabs,.v1331-history-shell,.v1354-metrics-table,.v1354-metrics-row,.v1331-history-table,.v1333-detail-wrap){background:var(--admin-dark-panel)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] .v1331-history-tabs{border-radius:12px 12px 0 0;box-shadow:none!important}
html[data-ayukone-mode="dark"] .v1331-history-tabs button:not(.active){background:var(--admin-dark-raised)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-sub)!important;box-shadow:none!important}
html[data-ayukone-mode="dark"] .v1331-history-tabs button.active{color:#fff!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-date,.v1350-daily-summary-card,.v1351-project-card,.v1352-staff-card,.v1358-month-summary-card,.v1358-month-project-card,.v1358-month-staff-card,.v1333-detail-inner,.v1354-detail-shell,.v1354-nested-grid,.v1339-month-card,.v1343-editor-card){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;box-shadow:none!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-date-head,.v1350-daily-summary-card .v1331-history-date-head,.v1351-project-head,.v1352-staff-head,.v1358-month-head,.v1339-month-title,.v1343-editor-summary,.v1343-hours-preview){background:var(--admin-dark-raised)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-total div,.v1331-history-role,.v1333-detail-table th,.v1331-history-table th,.v1350-daily-list-table th,.v1354-metrics-head .v1354-metrics-cell,.v1358-month-table .v1354-metrics-head .v1354-metrics-cell,.v1339-week-head,.v1339-day,.v1339-calendar-grid,.v1341-day,.v1343-field input,.v1343-field select){background:var(--admin-dark-raised)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-table td,.v1333-detail-table td,.v1350-daily-list-table td,.v1351-project-detail .v1333-detail-table td,.v1352-staff-detail .v1333-detail-table td,.v1354-metrics-cell,.v1354-nested-grid .v1354-metrics-cell,.v1354-detail-row,.v1354-nested-grid,.v1333-detail-row>td){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-total b,.v1331-history-date-title strong,.v1331-history-table td:first-child,.v1333-detail-table td:first-child,.v1350-daily-list-table td:first-child,.v1351-project-head strong,.v1352-staff-head strong,.v1358-month-head strong,.v1354-metrics-cell:first-child,.v1354-nested-grid .v1354-metrics-cell:first-child,.v1339-month-title strong){color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1331-history-total small,.v1331-history-note,.v1331-history-date-title span,.v1331-history-table th,.v1350-daily-list-table th,.v1354-metrics-head .v1354-metrics-cell,.v1358-month-head span,.v1351-project-head span,.v1352-staff-head span,.v1333-detail-table th,.v1331-history-empty,.v1331-history-loading){color:var(--admin-dark-sub)!important}
/* Keep the expanded row visually distinct without the old bright-yellow strip. */
html[data-ayukone-mode="dark"] :is(.v1333-summary-row.v1333-open td,.v1351-project-table .v1333-summary-row.v1333-open td,.v1352-staff-table .v1333-summary-row.v1333-open td,.v1354-summary-row.v1333-open .v1354-metrics-cell){background:#3c3b32!important;border-color:#575342!important;color:#f0e4c4!important}
html[data-ayukone-mode="dark"] :is(.v1354-summary-row.v1333-open .v1354-metrics-cell:first-child,.v1354-summary-row.v1333-open .v1333-chevron){color:#f0e4c4!important}
html[data-ayukone-mode="dark"] :is(.v1333-detail-inner,.v1354-detail-shell,.v1354-nested-grid,.v1354-detail-row){background:#282f32!important}
html[data-ayukone-mode="dark"] .v1354-nested-grid .v1354-metrics-cell{background:#282f32!important;color:#cfd9dc!important}
/* Monthly and shift cards retain meaningful purple and gold accents, no white holes. */
html[data-ayukone-mode="dark"] :is(.v1338-shift-card,.v1338-shift-grid,.v1338-shift-day,.v1338-shift-day-head,.v1339-week-head,.v1339-day,.v1341-day,.v1343-editor-sheet,.v1346-shift-pop,.v1347-special-panel){background:var(--admin-dark-panel)!important;border-color:var(--admin-dark-border)!important;color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1338-shift-head,.v1339-month-title,.v1339-week-head,.v1338-shift-day-head){background:var(--admin-dark-raised)!important;border-color:var(--admin-dark-border)!important}
html[data-ayukone-mode="dark"] :is(.v1338-shift-head strong,.v1338-shift-name,.v1338-shift-day-head b,.v1346-shift-pop strong){color:var(--admin-dark-ink)!important}
html[data-ayukone-mode="dark"] :is(.v1338-shift-time,.v1338-shift-head small,.v1339-calendar-note){color:var(--admin-dark-sub)!important}


/* v1.4.95: tighten dark-mode visual consistency for Results and Invoice pages.
   These screens still had pale header strips and floating input shells in dark mode.
   Use more specific selectors than the injected page CSS so the dark palette wins cleanly. */
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1413-results-shell{
  background:linear-gradient(180deg,#1b242b 0%,#182126 100%)!important;
  border-color:#33424b!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1413-section-divider{
  background:#2c3942!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active :is(.v1402-recorded,.v1402-recorded-head){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1402-recorded-table{
  background:#1f2a31!important;
  border-color:#3a4952!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1402-recorded-cols{
  background:#26323a!important;
  color:#c5d2d7!important;
  border-bottom-color:#3b4a53!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1402-recorded-row{
  background:#1f2a31!important;
  color:var(--admin-dark-ink)!important;
  border-bottom-color:#33424b!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active :is(.v1402-recorded-head strong,.v1402-recorded-project,.v1402-recorded-value){
  color:var(--admin-dark-ink)!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1402-recorded-empty{
  background:#1f2a31!important;
  color:var(--admin-dark-sub)!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1402-recorded-warning{
  background:#352d21!important;
  border-top:1px solid #6f6041!important;
  color:#e5cf9f!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1404-all-values-btn{
  background:#223038!important;
  border-color:#3a4952!important;
  color:#9de0ba!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1404-all-values-btn:active{background:#263640!important}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-field-label{color:var(--admin-dark-sub)!important}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-block{
  background:transparent!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell{
  background:transparent!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell select{
  background:#22303a!important;
  border-color:#4d5d67!important;
  color:#edf4f6!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell select:disabled{
  background:#1d282f!important;
  color:#94a4ac!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell span{color:#9de0ba!important}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1409-summary{
  background:#1f2a31!important;
  border-color:#33424b!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1409-quota{
  background:#26323a!important;
  color:#d7e4e8!important;
}

html[data-ayukone-mode="dark"] body.v1482-admin-invoices-active .v1482-heading{
  align-items:flex-start!important;
}
html[data-ayukone-mode="dark"] body.v1482-admin-invoices-active .v1482-month{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:4px 6px 4px 10px!important;
  background:#1e2931!important;
  border:1px solid #3a4952!important;
  border-radius:14px!important;
  box-shadow:none!important;
  color:#9fe1ba!important;
}
html[data-ayukone-mode="dark"] body.v1482-admin-invoices-active .v1482-month input{
  background:#24313a!important;
  border-color:#51616b!important;
  color:#edf4f6!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1482-admin-invoices-active :is(.v1482-directory,.v1482-person,.v1482-columns){box-shadow:none!important}
html[data-ayukone-mode="dark"] body.v1482-admin-invoices-active .v1482-columns{
  background:#26323a!important;
  color:#c5d2d7!important;
}

html[data-ayukone-mode="dark"] .v1483-viewer{
  background:#182126!important;
  border:1px solid #33424b!important;
}
html[data-ayukone-mode="dark"] .v1483-viewer-head{
  background:#1f2a31!important;
  border-bottom-color:#33424b!important;
}
html[data-ayukone-mode="dark"] .v1483-viewer-head strong{color:#eef3f5!important}
html[data-ayukone-mode="dark"] .v1483-viewer-head small{color:#c1ced4!important}
html[data-ayukone-mode="dark"] .v1483-viewer-control{
  background:#1c262d!important;
  border-bottom-color:#33424b!important;
}
html[data-ayukone-mode="dark"] .v1483-viewer-control label{color:#d5e2e6!important}
html[data-ayukone-mode="dark"] .v1483-viewer-control select{
  background:#24313a!important;
  border-color:#52626b!important;
  color:#edf4f6!important;
}
html[data-ayukone-mode="dark"] .v1483-archive-label{color:#c1ced4!important}
html[data-ayukone-mode="dark"] .v1484-zoom-bar{
  background:#1f2a31!important;
  border-bottom-color:#33424b!important;
}
html[data-ayukone-mode="dark"] .v1484-zoom-label{color:#d2dde1!important}
html[data-ayukone-mode="dark"] :is(.v1484-zoom-bar button,.v1483-viewer-close){
  background:#24313a!important;
  border-color:#52626b!important;
  color:#edf4f6!important;
}
html[data-ayukone-mode="dark"] .v1483-viewer-content{background:#11181d!important}
html[data-ayukone-mode="dark"] .v1483-viewer-message{color:#c1ced4!important}


/* v1.4.96: remove remaining blocky dark-mode floating backgrounds around the
   recent-project and all-project selectors on the admin results page. */
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-stack,
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-block,
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-block > label,
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-stack{
  border:0!important;
  padding:0!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-block{
  border:0!important;
  padding:0!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1403-picker-block > label{
  display:block!important;
  margin:0 0 7px!important;
  padding:0!important;
}
html[data-ayukone-mode="dark"] body.v1400-admin-results-active .v1400-select-shell{
  border:0!important;
}
