/* AUTOGENERERT av tools/build-dark.js — ikke rediger for hånd.
 * Mørkt tema for GeoTask. Aktiveres av <html data-theme="dark"> (se assets/js/theme.js). */

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2330;
  --line: #2a3342;
  --line-strong: #3b475a;
  --text: #e6edf3;
  --text-2: #b6c2cf;
  --text-3: #8b98a9;
  --brand: #3b82f6;
  --brand-600: #2563eb;
  --brand-50: #172742;
  --brand-100: #21406f;
  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Kart (Leaflet) */
:root[data-theme="dark"] .leaflet-container { background: #0d1117; }
:root[data-theme="dark"] .leaflet-tile-pane { filter: brightness(0.82) contrast(1.05) saturate(0.9); }
:root[data-theme="dark"] .leaflet-bar a, :root[data-theme="dark"] .leaflet-bar a:hover, :root[data-theme="dark"] .leaflet-control-layers, :root[data-theme="dark"] .leaflet-control-rotate,
:root[data-theme="dark"] .leaflet-control-layers-expanded { background: var(--surface); color: var(--text); border-color: var(--line); }
:root[data-theme="dark"] .leaflet-bar a:hover { background: var(--surface-2); }
:root[data-theme="dark"] .leaflet-bar { border-color: var(--line); box-shadow: var(--shadow-2); }
:root[data-theme="dark"] .leaflet-popup-content-wrapper, :root[data-theme="dark"] .leaflet-popup-tip { background: var(--surface); color: var(--text); }
:root[data-theme="dark"] .leaflet-container a.leaflet-popup-close-button { color: var(--text-3); }
:root[data-theme="dark"] .leaflet-container .leaflet-control-attribution { background: rgba(22, 27, 34, 0.85); color: var(--text-3); }
:root[data-theme="dark"] .leaflet-container .leaflet-control-attribution a { color: var(--brand); }
:root[data-theme="dark"] .leaflet-control-layers-separator { border-top-color: var(--line); }
:root[data-theme="dark"] img.leaflet-tile { image-rendering: auto; }
:root[data-theme="dark"] .marker-cluster span { color: #111827; }
:root[data-theme="dark"] input, :root[data-theme="dark"] select, :root[data-theme="dark"] textarea { color: var(--text); }
:root[data-theme="dark"] input::placeholder, :root[data-theme="dark"] textarea::placeholder { color: var(--text-3); }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background-color: #3b475a; }
:root[data-theme="dark"] ::selection { background: rgba(59, 130, 246, 0.4); color: #fff; }
:root[data-theme="dark"] .brand-icon, :root[data-theme="dark"] .fab-circle { --brand-pin-hole: #1d4ed8; }
:root[data-theme="dark"] .map-topbar-chips .chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ----- Generert fra style.css og theme.css ----- */
/* assets/css/style.css */
:root[data-theme="dark"],
:root[data-theme="dark"] body {
  background: #212328;
  color: #e1e2e4;
}
:root[data-theme="dark"] .input-icon {
  color: #8b8f97;
}
:root[data-theme="dark"] .input-icon-row:focus-within .input-icon {
  color: #7097ea;
}
:root[data-theme="dark"] .input-toggle-btn {
  color: #8b8f97;
}
:root[data-theme="dark"] .input-toggle-btn:hover {
  background: #212328;
  color: #bdc1c6;
}
:root[data-theme="dark"] .password-strength-track {
  background: #242629;
}
:root[data-theme="dark"] .password-strength-bar {
  background: #383c41;
}
:root[data-theme="dark"] .password-strength-label {
  color: #8b8f97;
}
:root[data-theme="dark"] .password-strength[data-level="weak"] .password-strength-label {
  color: #e27878;
}
:root[data-theme="dark"] .password-strength[data-level="medium"] .password-strength-label {
  color: #f3b268;
}
:root[data-theme="dark"] .password-strength[data-level="strong"] .password-strength-label {
  color: #75e59f;
}
:root[data-theme="dark"] .btn-dark {
  background: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .btn-dark:hover {
  background: #bcc4cf;
}
:root[data-theme="dark"] .btn-ghost {
  color: #bdc1c6;
}
:root[data-theme="dark"] .btn-ghost:hover {
  background: #2b2d32;
}
:root[data-theme="dark"] .btn-danger-ghost {
  color: #e27878;
}
:root[data-theme="dark"] .btn-danger-ghost:hover {
  background: #351515;
  border-color: #511c1c;
}
:root[data-theme="dark"] .link-btn {
  color: #7097ea;
}
:root[data-theme="dark"] .link-btn:hover {
  color: #7593e5;
}
:root[data-theme="dark"] .app-header {
  background: #181b21;
  border-bottom: 1px solid #292b2f;
}
:root[data-theme="dark"] .brand-icon {
  background: #c7cedc;
}
:root[data-theme="dark"] .brand-name {
  color: #e1e4eb;
}
:root[data-theme="dark"] .icon-btn {
  background: #212328;
  color: #bdc1c6;
}
:root[data-theme="dark"] .icon-btn:hover {
  background: #2b2d32;
}
:root[data-theme="dark"] .icon-btn.primary {
  background: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .icon-btn.primary:hover {
  background: #bcc4cf;
}
:root[data-theme="dark"] .icon-btn.danger {
  color: #8b8f97;
}
:root[data-theme="dark"] .icon-btn.danger:hover {
  background: #351515;
  color: #e27878;
}
:root[data-theme="dark"] .icon-btn.floating {
  background: rgba(24, 27, 33, 0.95);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .view-switch {
  background: #212328;
}
:root[data-theme="dark"] .view-btn {
  color: #8b8f97;
}
:root[data-theme="dark"] .view-btn.active {
  background: #181b21;
  color: #e1e4eb;
}
:root[data-theme="dark"] .user-menu-btn {
  background: #212328;
  color: #bdc1c6;
}
:root[data-theme="dark"] .user-menu-btn:hover {
  background: #2b2d32;
  color: #e1e4eb;
}
:root[data-theme="dark"] .user-menu-btn-name {
  color: #e1e4eb;
}
:root[data-theme="dark"] .user-menu-chevron {
  color: #8b8f97;
}
:root[data-theme="dark"] .user-menu-panel {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .user-menu-info {
  border-bottom: 1px solid #212328;
}
:root[data-theme="dark"] .user-menu-name {
  color: #e1e4eb;
}
:root[data-theme="dark"] .user-menu-role {
  color: #8b8f97;
}
:root[data-theme="dark"] .user-menu-item {
  color: #c8ccd2;
}
:root[data-theme="dark"] .user-menu-item:hover {
  background: #202327;
}
:root[data-theme="dark"] .user-menu-logout {
  border-top: 1px solid #212328;
  color: #e27878;
}
:root[data-theme="dark"] .user-menu-logout:hover {
  background: #351515;
}
:root[data-theme="dark"] .sidebar {
  background: #181b21;
  border-right: 1px solid #292b2f;
}
:root[data-theme="dark"] .sidebar-top {
  border-bottom: 1px solid #242629;
}
:root[data-theme="dark"] .new-project-panel {
  background: #202327;
  border: 1px solid #242629;
}
:root[data-theme="dark"] .new-project-panel h4 {
  color: #abadb2;
}
:root[data-theme="dark"] .input-row input,
:root[data-theme="dark"] .input-row select {
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .search-icon {
  color: #e1e4eb;
}
:root[data-theme="dark"] .search-box input {
  background: #202327;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .search-box input:focus {
  background: #181b21;
  border-color: #c7cedc;
}
:root[data-theme="dark"] .chip-toggle {
  background: #181b21;
  border: 1px solid #2b2d32;
  color: #abadb2;
}
:root[data-theme="dark"] .chip-toggle:hover {
  border-color: #383c41;
}
:root[data-theme="dark"] .chip-toggle.active {
  background: #c7cedc;
  border-color: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .sort-select {
  background: #181b21;
  border: 1px solid #2b2d32;
  color: #bdc1c6;
}
:root[data-theme="dark"] .filter-label {
  color: #8b8f97;
}
:root[data-theme="dark"] .chip {
  background: #181b21;
  border: 1px solid #2b2d32;
  color: #abadb2;
}
:root[data-theme="dark"] .chip:hover:not(.active) {
  background: #202327;
  border-color: #383c41;
}
:root[data-theme="dark"] .chip.active {
  background: #c7cedc;
  border-color: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .project-picker-btn {
  background: #181b21;
  border: 1px solid #2b2d32;
  color: #d8dce1;
}
:root[data-theme="dark"] .project-picker-btn:hover {
  background: #1e1e24;
  border-color: #333c47;
}
:root[data-theme="dark"] .project-picker:has(.project-picker-panel:not(.hidden)) .project-picker-btn {
  border-color: #c7cedc;
}
:root[data-theme="dark"] .project-picker-count {
  background: #212328;
  color: #abadb2;
}
:root[data-theme="dark"] .project-picker-chevron {
  color: #8b8f97;
}
:root[data-theme="dark"] .project-picker:has(.project-picker-panel:not(.hidden)) .project-picker-chevron {
  color: #e1e4eb;
}
:root[data-theme="dark"] .proj-dot {
  background: #c7cedc;
}
:root[data-theme="dark"] .project-picker-panel {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .filter-group-project {
  background: linear-gradient(180deg, #111d34 0%, #132139 100%);
  border: 1px solid #1e2d48;
}
:root[data-theme="dark"] .filter-group-project .filter-label {
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-main .project-picker-btn {
  background: #181b21;
  border-color: #27385a;
  color: #e0e3ec;
}
:root[data-theme="dark"] .project-picker-main .project-picker-btn:hover {
  background: #181b21;
}
:root[data-theme="dark"] .project-picker-main .project-picker-count {
  background: #19253d;
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-main .project-picker-chevron {
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-main:has(.project-picker-panel:not(.hidden)) .project-picker-chevron {
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-main .project-picker-panel {
  border-color: #27385a;
}
:root[data-theme="dark"] .project-picker-search {
  background: #181b21;
  border-bottom: 1px solid #232529;
}
:root[data-theme="dark"] .project-picker-search::placeholder {
  color: #8b8f97;
}
:root[data-theme="dark"] .project-picker-item {
  color: #c8ccd2;
}
:root[data-theme="dark"] .project-picker-item:hover {
  background: #212328;
}
:root[data-theme="dark"] .project-picker-item.active {
  background: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .project-picker-item-count {
  color: #8b8f97;
}
:root[data-theme="dark"] .project-picker-item-pin,
:root[data-theme="dark"] .project-picker-item-members,
:root[data-theme="dark"] .project-picker-item-rename,
:root[data-theme="dark"] .project-picker-item-move {
  color: #8b8f97;
}
:root[data-theme="dark"] .project-picker-item-pin.set {
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-item-del:hover {
  background: #351515;
  color: #e27878;
}
:root[data-theme="dark"] .project-picker-item-pin:hover,
:root[data-theme="dark"] .project-picker-item-rename:hover {
  background: #132339;
  color: #7097ea;
}
:root[data-theme="dark"] .project-picker-item-members:hover,
:root[data-theme="dark"] .project-picker-item-move:hover:not(:disabled) {
  background: #212328;
  color: #e1e4eb;
}
:root[data-theme="dark"] .project-picker-empty {
  color: #8b8f97;
}
:root[data-theme="dark"] .project-picker-sort-row {
  background: #1e1e22;
  border-bottom: 1px solid #232529;
}
:root[data-theme="dark"] .project-picker-sort-row .link-btn:hover:not(:disabled) {
  background: #132339;
}
:root[data-theme="dark"] .type-picker-create {
  background: #1e1e22;
  border-top: 1px solid #232529;
}
:root[data-theme="dark"] .type-picker-create input {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .type-picker-create input:focus {
  border-color: #c7cedc;
}
:root[data-theme="dark"] .sidebar-filter-summary span {
  color: #8b8f97;
}
:root[data-theme="dark"] .task-list {
  background: #1b1f25;
}
:root[data-theme="dark"] .task-card {
  background: #181b21;
  border: 1px solid #292b2f;
}
:root[data-theme="dark"] .task-card:hover {
  border-color: #383c41;
}
:root[data-theme="dark"] .task-card.selected {
  border-color: #c7cedc;
}
:root[data-theme="dark"] .task-card-id {
  color: #8b8f97;
}
:root[data-theme="dark"] .task-card-priority {
  background: #212328;
  color: #abadb2;
}
:root[data-theme="dark"] .task-card-priority.urgent {
  background: #411818;
  color: #e27878;
}
:root[data-theme="dark"] .task-card-project {
  background: #132339;
  color: #7097ea;
}
:root[data-theme="dark"] .task-card-title {
  color: #e1e4eb;
}
:root[data-theme="dark"] .task-card-desc {
  color: #abadb2;
}
:root[data-theme="dark"] .task-card-footer {
  border-top: 1px solid #212328;
  color: #8b8f97;
}
:root[data-theme="dark"] .map-filter-panel {
  background: rgba(24, 27, 33, 0.98);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .map-filter-header {
  background: #1b1f25;
  border-bottom: 1px solid #212328;
  color: #abadb2;
}
:root[data-theme="dark"] .map-filter-footer {
  background: #1b1f25;
  border-top: 1px solid #212328;
}
:root[data-theme="dark"] .map-filter-footer span {
  color: #8b8f97;
}
:root[data-theme="dark"] .map-instructions {
  background: rgba(24, 27, 33, 0.92);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .duplicate-banner {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .street-view-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .locate-me-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .locate-me-btn:hover {
  background: #212328;
}
:root[data-theme="dark"] .gps-status {
  background: rgba(24, 27, 33, 0.97);
  border: 1px solid #2b2d32;
  color: #c8ccd2;
}
:root[data-theme="dark"] .gps-status[data-tone="good"] {
  background: #183521;
  border-color: #275a39;
  color: #79e2a0;
}
:root[data-theme="dark"] .gps-status[data-tone="warn"] {
  background: #3b3314;
  color: #f0a46b;
}
:root[data-theme="dark"] .gps-status[data-tone="bad"] {
  background: #351515;
  border-color: #511c1c;
  color: #e47777;
}
:root[data-theme="dark"] .move-mode-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .move-mode-btn:hover {
  background: #212328;
}
:root[data-theme="dark"] .my-location-dot {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .cable-draw-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .cable-draw-btn:hover:not(:disabled) {
  background: #212328;
}
:root[data-theme="dark"] .cable-draw-toolbar {
  background: rgba(24, 27, 33, 0.98);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] #cable-draw-hint {
  color: #c8ccd2;
}
:root[data-theme="dark"] .bulk-select-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .bulk-select-btn:hover {
  background: #212328;
}
:root[data-theme="dark"] .bulk-action-bar {
  background: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .bulk-action-buttons .btn-ghost {
  color: #6c717a;
}
:root[data-theme="dark"] .bulk-action-buttons .btn-ghost:hover {
  background: rgba(24, 27, 33, 0.1);
}
:root[data-theme="dark"] .overlay-manage-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .overlay-manage-btn:hover {
  background: #212328;
}
:root[data-theme="dark"] .overlay-reposition-btn {
  background: #181b21;
  border: 1px solid #2b2d32;
  color: #c8ccd2;
}
:root[data-theme="dark"] .overlay-reposition-btn:hover {
  background: #132339;
  border-color: #1f3959;
  color: #7097ea;
}
:root[data-theme="dark"] .overlay-editor-toolbar {
  background: rgba(24, 27, 33, 0.98);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .overlay-editor-heading strong {
  color: #e1e4eb;
}
:root[data-theme="dark"] .overlay-editor-readout {
  color: #abadb2;
}
:root[data-theme="dark"] .overlay-editor-tools {
  border-top: 1px solid #242629;
}
:root[data-theme="dark"] .overlay-editor-opacity {
  color: #abadb2;
}
:root[data-theme="dark"] .overlay-editor-hint {
  color: #abadb2;
}
:root[data-theme="dark"] .segmented {
  background: #212328;
}
:root[data-theme="dark"] .segmented-btn {
  color: #abadb2;
}
:root[data-theme="dark"] .segmented-btn.active {
  background: #181b21;
  color: #e1e4eb;
}
:root[data-theme="dark"] .backup-manage-btn {
  background: #181b21;
  color: #bdc1c6;
}
:root[data-theme="dark"] .backup-manage-btn:hover {
  background: #212328;
}
:root[data-theme="dark"] .backup-radio {
  color: #c8ccd2;
}
:root[data-theme="dark"] #backup-import-result {
  color: #75e59f;
}
:root[data-theme="dark"] .overlay-handle-dot {
  border: 3px solid #181b21;
}
:root[data-theme="dark"] .cable-vertex-handle {
  border: 3px solid #181b21;
}
:root[data-theme="dark"] .saved-flash {
  color: #75e59f !important;
}
:root[data-theme="dark"] .map-search {
  background: rgba(24, 27, 33, 0.97);
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .map-search-toggle {
  color: #e1e4eb;
}
:root[data-theme="dark"] .map-search-toggle:active {
  background: #212328;
}
:root[data-theme="dark"] .map-search-clear {
  color: #8b8f97;
}
:root[data-theme="dark"] .map-search-clear:hover {
  background: #212328;
  color: #e1e4eb;
}
:root[data-theme="dark"] .map-search-results {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .map-search-result:hover,
:root[data-theme="dark"] .map-search-result:active {
  background: #132339;
}
:root[data-theme="dark"] .map-search-result-sub {
  color: #8b8f97;
}
:root[data-theme="dark"] .map-search-message {
  color: #abadb2;
}
:root[data-theme="dark"] .geotask-marker-body {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .geotask-marker-check {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .leaflet-container .geotask-info-popup a.leaflet-popup-close-button {
  color: #8b8f97;
}
:root[data-theme="dark"] .leaflet-container .geotask-info-popup a.leaflet-popup-close-button:hover {
  background: #212328;
  color: #e1e4eb;
}
:root[data-theme="dark"] .geotask-info-popup .popup-pill {
  background: #212328;
  color: #c8ccd2;
}
:root[data-theme="dark"] .geotask-info-popup .popup-id {
  color: #8b8f97;
}
:root[data-theme="dark"] .geotask-info-popup .popup-title {
  color: #e1e4eb;
}
:root[data-theme="dark"] .geotask-info-popup .popup-desc {
  color: #abadb2;
}
:root[data-theme="dark"] .geotask-info-popup .popup-meta {
  border-top: 1px solid #242629;
}
:root[data-theme="dark"] .geotask-info-popup .popup-meta-label {
  color: #8b8f97;
}
:root[data-theme="dark"] .geotask-info-popup .popup-meta-value {
  color: #d8dce1;
}
:root[data-theme="dark"] .geotask-info-popup .popup-address {
  color: #abadb2;
}
:root[data-theme="dark"] .geotask-info-popup .popup-address svg {
  color: #8b8f97;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-primary {
  background: #c7cedc;
  color: #131820;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-primary:hover {
  background: #bcc4cf;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-icon {
  background: #181b21;
  border-color: #2b2d32;
  color: #bdc1c6;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-icon:hover {
  background: #212328;
  color: #e1e4eb;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-icon.active {
  background: #351515;
  border-color: #511c1c;
  color: #e27878;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-danger {
  color: #e27878;
}
:root[data-theme="dark"] .geotask-info-popup .popup-btn-danger:hover {
  background: #351515;
  border-color: #511c1c;
  color: #e27878;
}
:root[data-theme="dark"] .geotask-move-confirm-title {
  color: #e1e4eb;
}
:root[data-theme="dark"] .table-toolbar {
  background: #1b1f25;
  border-bottom: 1px solid #242629;
}
:root[data-theme="dark"] .task-table {
  background: #181b21;
}
:root[data-theme="dark"] .task-table thead th {
  background: #1b1f25;
  border-bottom: 1px solid #242629;
  color: #8b8f97;
}
:root[data-theme="dark"] .task-table tbody td {
  border-bottom: 1px solid #212328;
}
:root[data-theme="dark"] .task-table tbody tr:hover {
  background: #1b1f25;
}
:root[data-theme="dark"] .task-table tbody tr.row-selected {
  background: #132339;
}
:root[data-theme="dark"] .table-actions button {
  color: #8b8f97;
}
:root[data-theme="dark"] .table-actions button:hover {
  background: #212328;
  color: #7097ea;
}
:root[data-theme="dark"] .table-actions .del:hover {
  background: #351515;
  color: #e27878;
}
:root[data-theme="dark"] .badge-priority {
  background: #212328;
  color: #abadb2;
}
:root[data-theme="dark"] .badge-priority.urgent {
  background: #351515;
  color: #e27878;
}
:root[data-theme="dark"] .modal-card {
  background: #181b21;
}
:root[data-theme="dark"] .modal-header {
  background: #1b1f25;
  border-bottom: 1px solid #242629;
}
:root[data-theme="dark"] .modal-header h2 {
  color: #e1e4eb;
}
:root[data-theme="dark"] .modal-header-icon {
  background: #132339;
  color: #7097ea;
}
:root[data-theme="dark"] .field label {
  color: #abadb2;
}
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea {
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .field-tint-box {
  background: var(--tint-bg, #202327);
  border: 1px solid var(--tint-border, #2b2d32);
}
:root[data-theme="dark"] .field.field-tint-box select {
  color: var(--tint-text, #e1e4eb);
}
:root[data-theme="dark"] .type-select-row select:disabled {
  background: #202327;
  color: #8b8f97;
}
:root[data-theme="dark"] .field-checkbox {
  color: #abadb2;
}
:root[data-theme="dark"] .color-row input[type=color] {
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .location-banner {
  background: #132339;
  color: #7593e5;
}
:root[data-theme="dark"] .task-meta-info {
  color: #8b8f97;
}
:root[data-theme="dark"] .form-section-title {
  color: #8b8f97;
}
:root[data-theme="dark"] .form-section-title::after {
  background: #25282b;
}
:root[data-theme="dark"] .form-section-count {
  background: #131c39;
}
:root[data-theme="dark"] .task-form .field input,
:root[data-theme="dark"] .task-form .field select,
:root[data-theme="dark"] .task-form .field textarea {
  background: #181b21;
}
:root[data-theme="dark"] .field-hint {
  color: #8b8f97;
}
:root[data-theme="dark"] .location-card {
  background: #122035;
  border: 1px solid #192c46;
}
:root[data-theme="dark"] .location-card .location-icon {
  background: #192c46;
  color: #7097ea;
}
:root[data-theme="dark"] .location-label {
  color: #abadb2;
}
:root[data-theme="dark"] .location-value {
  color: #7593e5;
}
:root[data-theme="dark"] .location-card .location-pick-btn {
  background: #181b21;
  border: 1px solid #1f3959;
  color: #7097ea;
}
:root[data-theme="dark"] .location-card .location-pick-btn:hover {
  background: #132339;
}
:root[data-theme="dark"] .task-form .color-swatch-btn {
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .color-field.is-empty .color-swatch-btn::after {
  background: linear-gradient(to top right, transparent calc(50% - 1px), #ef4444 calc(50% - 1px), #ef4444 calc(50% + 1px), transparent calc(50% + 1px)), #181b21;
}
:root[data-theme="dark"] .color-preset {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .dropzone {
  background: #1c232a;
  border: 2px dashed #333c47;
}
:root[data-theme="dark"] .dropzone:hover {
  background: #181236;
}
:root[data-theme="dark"] .dropzone.dragover {
  background: #131c39;
}
:root[data-theme="dark"] .dropzone-icon {
  background: #162043;
}
:root[data-theme="dark"] .dropzone-title {
  color: #bdc1c6;
}
:root[data-theme="dark"] .dropzone-title strong {
  color: #e1e4eb;
}
:root[data-theme="dark"] .dropzone-sub {
  color: #8b8f97;
}
:root[data-theme="dark"] .attachment-item {
  background: #202327;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .attachment-file {
  background: linear-gradient(180deg, #181b21, #1c232a);
}
:root[data-theme="dark"] .attachment-file-badge {
  background: #411818;
  color: #e27878;
}
:root[data-theme="dark"] .attachment-file-name {
  color: #c8ccd2;
}
:root[data-theme="dark"] .attachment-file-size {
  color: #8b8f97;
}
:root[data-theme="dark"] .attachment-spinner {
  border: 2px solid #1d2853;
}
:root[data-theme="dark"] .attachment-spinner-overlay {
  background: rgba(24, 27, 33, 0.85);
}
:root[data-theme="dark"] .attachments-error {
  background: #351515;
  color: #e47777;
}
:root[data-theme="dark"] .attachments-locked {
  background: #1c232a;
  border: 1px dashed #333c47;
  color: #abadb2;
}
:root[data-theme="dark"] .attachments-locked svg {
  color: #8b8f97;
}
@media (max-width: 640px) {
:root[data-theme="dark"] .modal-sheet .modal-header::before {
  background: #383c41;
}
}
:root[data-theme="dark"] .modal-footer {
  background: #1b1f25;
  border-top: 1px solid #212328;
}
:root[data-theme="dark"] .member-row {
  background: #1b1f25;
  border: 1px solid #242629;
}
:root[data-theme="dark"] .member-row-name {
  color: #e1e4eb;
}
:root[data-theme="dark"] .member-row-email {
  color: #8b8f97;
}
:root[data-theme="dark"] .member-row select {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .member-row-remove:hover {
  background: #351515;
  color: #e27878;
}
:root[data-theme="dark"] .members-add-row select {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .members-empty-hint {
  color: #8b8f97;
}
:root[data-theme="dark"] .apikeys-hint {
  color: #abadb2;
}
:root[data-theme="dark"] .apikeys-hint code {
  background: #212328;
}
:root[data-theme="dark"] .apikeys-new {
  background: #183521;
  border: 1px solid #275a39;
}
:root[data-theme="dark"] .apikeys-new-label {
  color: #7edda2;
}
:root[data-theme="dark"] .apikeys-new-row input {
  background: #181b21;
  border: 1px solid #2b2d32;
}
:root[data-theme="dark"] .members-add-row input[type="text"] {
  background: #181b21;
  border: 1px solid #2b2d32;
}
@media (hover: hover) and (pointer: fine) {
:root[data-theme="dark"] .sidebar::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .sidebar-top::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .task-list::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .project-picker-list::-webkit-scrollbar-thumb {
  background: #36393e;
}
:root[data-theme="dark"] .sidebar::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .sidebar-top::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .task-list::-webkit-scrollbar-thumb:hover,
:root[data-theme="dark"] .project-picker-list::-webkit-scrollbar-thumb:hover {
  background: #54585f;
}
}

/* assets/css/theme.css */
:root[data-theme="dark"] .btn-dark {
  color: #131820;
}
:root[data-theme="dark"] .btn-dark:hover {
  background: #b9c2d0;
}
:root[data-theme="dark"] .btn-ghost:hover {
  background: #212731;
}
:root[data-theme="dark"] .btn-danger-ghost:hover {
  background: #351515;
  border-color: #511c1c;
}
:root[data-theme="dark"] .icon-btn:hover {
  background: #212731;
}
:root[data-theme="dark"] .icon-btn.floating {
  background: rgba(24, 27, 33, 0.96);
}
:root[data-theme="dark"] .app-header {
  background: rgba(24, 27, 33, 0.92);
}
:root[data-theme="dark"] .view-switch {
  background: #1f252e;
}
:root[data-theme="dark"] .view-btn.active {
  background: #181b21;
}
:root[data-theme="dark"] .user-menu-btn:hover {
  background: #181b21;
}
:root[data-theme="dark"] .search-box input:focus {
  background: #181b21;
}
:root[data-theme="dark"] .chip-toggle.active {
  color: #131820;
}
:root[data-theme="dark"] .chip.active {
  color: #131820;
}
:root[data-theme="dark"] .bulk-select-btn,
:root[data-theme="dark"] .overlay-manage-btn,
:root[data-theme="dark"] .backup-manage-btn,
:root[data-theme="dark"] .cable-draw-btn,
:root[data-theme="dark"] .street-view-btn,
:root[data-theme="dark"] .locate-me-btn,
:root[data-theme="dark"] .move-mode-btn {
  background: #181b21;
}
:root[data-theme="dark"] .tone-blue {
  background: #192c46;
  color: #7593e5;
}
:root[data-theme="dark"] .tone-amber {
  background: #53491d;
  color: #f0a46b;
}
:root[data-theme="dark"] .tone-orange {
  background: #4a3519;
  color: #ee926d;
}
:root[data-theme="dark"] .tone-red {
  background: #411818;
  color: #e47777;
}
:root[data-theme="dark"] .tone-green {
  background: #1c4429;
  color: #79e2a0;
}
:root[data-theme="dark"] .tone-teal {
  background: #204f45;
  color: #75e6dd;
}
:root[data-theme="dark"] .tone-violet {
  background: #1d163c;
  color: #a27ae1;
}
:root[data-theme="dark"] .tone-slate {
  background: #252c36;
  color: #bbc0c7;
}
:root[data-theme="dark"] .segmented-icons {
  background: #1f252e;
}
:root[data-theme="dark"] .segmented-icons button.active {
  background: #181b21;
}
:root[data-theme="dark"] .filter-chip.active {
  color: #131820;
}
:root[data-theme="dark"] .pin-btn {
  color: #737c8c;
}
:root[data-theme="dark"] .pin-btn:hover {
  background: #1b242d;
  color: #f1bf6a;
}
:root[data-theme="dark"] .pin-btn.on {
  color: #f1bf6a;
}
:root[data-theme="dark"] .statusbar {
  background: #232932;
}
:root[data-theme="dark"] .stat-warn {
  color: #f0a46b;
}
:root[data-theme="dark"] .role-chip {
  background: #1f252e;
  color: #bbc0c7;
}
:root[data-theme="dark"] .role-owner {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .role-admin {
  background: #1d163c;
  color: #a27be0;
}
:root[data-theme="dark"] .role-editor {
  background: #192c46;
  color: #7992e1;
}
:root[data-theme="dark"] .role-viewer {
  background: #252c36;
  color: #bbc0c7;
}
:root[data-theme="dark"] .ring-track {
  stroke: #566272;
}
:root[data-theme="dark"] .card-attention {
  background: linear-gradient(180deg, #352312, var(--surface) 70%);
  border-color: #52381e;
}
:root[data-theme="dark"] .bar {
  background: #232932;
}
:root[data-theme="dark"] .tabs {
  background: #1f252e;
}
:root[data-theme="dark"] .tab.active {
  background: #181b21;
}
:root[data-theme="dark"] .lg-created {
  background: #2a4e77;
}
:root[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #1f252e 25%, #1d232b 50%, #1f252e 75%);
}
:root[data-theme="dark"] .admin-danger {
  border-color: #511c1c;
}
:root[data-theme="dark"] .admin-danger:hover {
  background: #351515;
}
:root[data-theme="dark"] .cell-empty {
  color: #737c8c;
}
:root[data-theme="dark"] .entity-chip {
  color: color-mix(in srgb, var(--c) 80%, #f7f7f7);
}
:root[data-theme="dark"] .status-pill {
  color: color-mix(in srgb, var(--c) 72%, #f7f7f7);
}
:root[data-theme="dark"] .prio-pill {
  background: #1f252e;
  color: #bbc0c7;
}
:root[data-theme="dark"] .prio-medium {
  background: #192c46;
  color: #7992e1;
}
:root[data-theme="dark"] .prio-high {
  background: #4a3519;
  color: #e79073;
}
:root[data-theme="dark"] .prio-urgent {
  background: #411818;
  color: #e47777;
}
:root[data-theme="dark"] .table-actions .del:hover {
  background: #351515;
}
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .modal-body input[type="text"],
:root[data-theme="dark"] .modal-body input[type="email"],
:root[data-theme="dark"] .modal-body input[type="password"],
:root[data-theme="dark"] .modal-body select,
:root[data-theme="dark"] .modal-body textarea {
  background: #181b21;
}
:root[data-theme="dark"] .member-row-remove:hover {
  background: #351515;
}
:root[data-theme="dark"] .profile-message.ok {
  background: #183521;
  border: 1px solid #275a39;
  color: #7edda2;
}
:root[data-theme="dark"] .profile-message.bad {
  background: #351515;
  border: 1px solid #511c1c;
  color: #e17a7a;
}
@media (max-width: 1024px) {
:root[data-theme="dark"] .bottom-nav {
  background: rgba(24, 27, 33, 0.96);
}
:root[data-theme="dark"] .bottom-nav-btn.has-dot::after {
  border: 2px solid #181b21;
}
}
:root[data-theme="dark"] .map-chip {
  background: #181b21;
}
:root[data-theme="dark"] .map-icon-btn {
  background: #181b21;
}
:root[data-theme="dark"] .map-icon-badge {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .map-topbar-chips .chip {
  background: rgba(24, 27, 33, 0.97);
}
:root[data-theme="dark"] .map-tools-right > button {
  background: #181b21;
}
:root[data-theme="dark"] .map-tools-right .cables-visible-btn:not(.active) {
  background: #1b242d;
}
:root[data-theme="dark"] .icon-choice {
  background: #181b21;
}
:root[data-theme="dark"] .kind-badge {
  background: #204f45;
  color: #75e6dd;
}
:root[data-theme="dark"] .switch-row:active {
  background: #212731;
}
:root[data-theme="dark"] .switch-main strong .gt-icon {
  color: #f1bf6a;
  fill: #f1bf6a;
}
:root[data-theme="dark"] .switch-count {
  background: #1f252e;
}
:root[data-theme="dark"] .menu-row:active {
  background: #212731;
}
:root[data-theme="dark"] .danger-box {
  background: #351515;
  border: 1px solid #511c1c;
  color: #dc7f7f;
}
:root[data-theme="dark"] .danger-box a {
  color: #e17a7a;
}
:root[data-theme="dark"] code {
  background: #1f252e;
}
:root[data-theme="dark"] .toast {
  color: #131820;
}
:root[data-theme="dark"] .info-banner {
  color: #7e97dd;
}
:root[data-theme="dark"] .info-banner-archive {
  background: #1b242d;
}
:root[data-theme="dark"] .role-archived {
  background: #252c36;
  color: #bbc0c7;
}
:root[data-theme="dark"] .role-org {
  background: #14393b;
  color: #7ac8e0;
}
:root[data-theme="dark"] .project-card.is-archived {
  background: #1c232a;
}
:root[data-theme="dark"] .count-pill {
  background: #1f252e;
}
:root[data-theme="dark"] .role-org-owner {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .role-org-admin {
  background: #1d163c;
  color: #a27be0;
}
:root[data-theme="dark"] .role-org-member {
  background: #252c36;
  color: #bbc0c7;
}
:root[data-theme="dark"] .toast-action {
  background: #181b21;
  color: #e1e4eb;
}
:root[data-theme="dark"] .conn-banner {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .conn-banner[data-tone="ok"] {
  background: #1c4429;
  border-color: #275a39;
  color: #7edda2;
}
:root[data-theme="dark"] .address-marker-dot {
  border: 2.5px solid #181b21;
}
:root[data-theme="dark"] .cable-draw-crosshair span {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .cable-vertex span {
  border: 3px solid #181b21;
}
:root[data-theme="dark"] .form-collapse-value .collapse-swatch {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .geotask-marker-extra {
  border: 2px solid #181b21;
}
@media (max-width: 1024px) {
:root[data-theme="dark"] .bulk-action-bar #bulk-extras-btn {
  background: rgba(24, 27, 33, 0.14);
  color: #131820;
}
}
:root[data-theme="dark"] .glp-knob {
  background: var(--line-strong, #333c47);
}
:root[data-theme="dark"] .glp-knob::after {
  background: #181b21;
}
:root[data-theme="dark"] .glp-zoomhint {
  color: var(--warn, #f0a46b);
}
:root[data-theme="dark"] .glp-thumb-google.g-g-road {
  background: linear-gradient(135deg, #292c30 0 45%, #6a5c27 45% 55%, #224967 55%);
}
:root[data-theme="dark"] .glp-thumb-google.g-g-sat {
  background: linear-gradient(135deg, #2f4a2a, #4b6b3c 55%, #b8c4cf);
}
:root[data-theme="dark"] .glp-thumb-google.g-g-hybrid {
  background: linear-gradient(135deg, #2f4a2a, #4b6b3c 55%, #b8c4cf);
}
:root[data-theme="dark"] .glp-thumb-google.g-g-terrain {
  background: linear-gradient(135deg, #3e5235, #5b5438 55%, #b9a77a);
}
:root[data-theme="dark"] .glp-thumb-google.g-g-terrain .glp-g {
  color: #87d49b;
}
:root[data-theme="dark"] .notif-badge {
  border: 2px solid var(--surface, #181b21);
}
:root[data-theme="dark"] .n-ico.tone-blue {
  background: #192c46;
  color: #7593e5;
}
:root[data-theme="dark"] .n-ico.tone-green {
  background: #1c4429;
  color: #79e2a0;
}
:root[data-theme="dark"] .n-ico.tone-amber {
  background: #53491d;
  color: #f0a46b;
}
:root[data-theme="dark"] .n-ico.tone-violet {
  background: #1d163c;
  color: #a27ae1;
}
:root[data-theme="dark"] .n-ico.tone-slate {
  background: #252c36;
  color: #bbc0c7;
}
:root[data-theme="dark"] .c-act-danger:hover {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .c-mention {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .c-mention-me {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .c-error {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .due-chip.due-overdue {
  background: #411818;
  border-color: #511c1c;
  color: #e47777;
}
:root[data-theme="dark"] .due-chip.due-today {
  background: #4a3519;
  border-color: #674823;
  color: #ee926d;
}
:root[data-theme="dark"] .due-chip.due-soon {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .n-ico.tone-red {
  background: #411818;
  color: #e47777;
}
:root[data-theme="dark"] .report-overlay {
  background: #2b2d32;
}
:root[data-theme="dark"] .report-frame {
  background: #181b21;
  border: 1px solid #333c47;
}
:root[data-theme="dark"] .report-loading {
  color: #bbc0c7;
}
:root[data-theme="dark"] .offline-pill {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .offline-pill.is-offline {
  background: #bcc4cf;
  border-color: #bcc4cf;
  color: #131820;
}
:root[data-theme="dark"] .offline-status {
  background: #1c4429;
  color: #7edda2;
}
:root[data-theme="dark"] .offline-status.is-offline {
  background: #bcc4cf;
  color: #131820;
}
:root[data-theme="dark"] .due-chip.pending-chip {
  background: #162043;
  border-color: #1d2853;
  color: #8a85d5;
}
:root[data-theme="dark"] .cl-pill {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .cl-pill.warn {
  background: #53491d;
  color: #ea9f71;
}
:root[data-theme="dark"] .cl-dev-pill {
  background: #411818;
  border: 1px solid #511c1c;
  color: #e47777;
}
:root[data-theme="dark"] .due-chip.cl-chip {
  background: #183142;
  border-color: #21485c;
  color: #6bc1ef;
}
:root[data-theme="dark"] .due-chip.cl-chip.ok {
  background: #1c4429;
  border-color: #275a39;
  color: #7edda2;
}
:root[data-theme="dark"] .cl-card.complete {
  border-color: #275a39;
}
:root[data-theme="dark"] .cl-card-ico {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .cl-card.complete .cl-card-ico {
  background: #1c4429;
  color: #79e2a0;
}
:root[data-theme="dark"] .cl-card-foot .link-btn {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .cl-saved.bad {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .cl-req {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .cl-input.bad {
  background: #351515;
}
:root[data-theme="dark"] .cl-warn {
  color: #e47777;
}
:root[data-theme="dark"] .cl-check input:checked + .cl-check-box::after {
  border: solid #181b21;
}
:root[data-theme="dark"] .cl-seg-btn.seg-IR.on {
  background: #7d8694;
  color: #131820;
}
:root[data-theme="dark"] .cl-comment.needs {
  background: #351515;
}
:root[data-theme="dark"] .cl-sign {
  background: #183521;
  border: 1px solid #275a39;
  color: #7edda2;
}
:root[data-theme="dark"] .cld-tpl-ico {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .icon-btn.danger:hover:not(:disabled) {
  color: var(--danger, #e27878);
}
:root[data-theme="dark"] .cld-mode.on {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .cld-add-btn:hover {
  background: var(--brand-50, #132339);
}
:root[data-theme="dark"] .cld-errors {
  background: #351515;
  border: 1px solid #511c1c;
  color: #e47777;
}
:root[data-theme="dark"] .report-panel {
  background: #2f353e;
}
:root[data-theme="dark"] .report-panel .report-body {
  background: #2f353e;
}
:root[data-theme="dark"] .report-chip-toggle input:checked + .rct-box::after {
  border: solid #181b21;
}
:root[data-theme="dark"] .leaflet-tooltip.task-annot {
  background: rgba(24, 27, 33, 0.94);
}
:root[data-theme="dark"] .cl-photo-img {
  background: var(--surface-2, #1b242d);
}
:root[data-theme="dark"] .cl-photo-tag {
  background: #97a0ac;
  color: #131820;
}
:root[data-theme="dark"] .field-hint.warn {
  color: #f0a46b;
}
:root[data-theme="dark"] .md-vertex span {
  background: #181b21;
}
:root[data-theme="dark"] .md-seg span {
  background: rgba(24, 27, 33, 0.95);
  color: #e0e3ec;
}
:root[data-theme="dark"] .zone-chip-wrap span.zone-chip {
  background: rgba(24, 27, 33, 0.95);
  color: #e0e3ec;
}
:root[data-theme="dark"] .zone-chip small {
  color: #bbc0c7;
}
:root[data-theme="dark"] .map-tools-fab .mt-dot {
  border: 2px solid #181b21;
}
:root[data-theme="dark"] .mt-row[data-kind="toggle"] .mt-sw::after {
  background: #181b21;
}
:root[data-theme="dark"] .map-tools-left > button {
  background: #181b21;
}
:root[data-theme="dark"] .sig-ok {
  color: #79e2a0;
}
:root[data-theme="dark"] .sig-del {
  color: #e27878;
}
:root[data-theme="dark"] .sign-pad-wrap {
  background: #181b21;
}
:root[data-theme="dark"] .sign-baseline {
  color: #858f9c;
}
:root[data-theme="dark"] .sign-pad-wrap::after {
  border-bottom: 1px solid #333c47;
}
:root[data-theme="dark"] .sign-hint {
  color: #858f9c;
}
:root[data-theme="dark"] .act-warn {
  color: #e27878;
}
:root[data-theme="dark"] .pe-overlay {
  background: #cbd3e3;
  color: #131820;
}
:root[data-theme="dark"] .pe-bar {
  background: #c4ccde;
  border-bottom: 1px solid rgba(24, 27, 33, 0.1);
}
:root[data-theme="dark"] .pe-tool {
  border: 1px solid rgba(24, 27, 33, 0.18);
  color: #576577;
}
:root[data-theme="dark"] .pe-color {
  border: 2px solid rgba(24, 27, 33, 0.35);
}
:root[data-theme="dark"] .pe-color.on {
  border-color: #181b21;
}
:root[data-theme="dark"] .pe-size {
  border: 1px solid rgba(24, 27, 33, 0.18);
  color: #576577;
}
:root[data-theme="dark"] .pe-size.on {
  background: #181b21;
  color: #e0e3ec;
}
:root[data-theme="dark"] .pe-actions .btn-ghost {
  color: #576577;
}
:root[data-theme="dark"] .pe-stage canvas {
  background: #e4e7ec;
}
:root[data-theme="dark"] .pe-msg {
  color: #637182;
}
:root[data-theme="dark"] .pe-hint {
  color: #858f9c;
}
:root[data-theme="dark"] .ns-switch::after {
  background: #181b21;
}
:root[data-theme="dark"] .ns-seg-btn.on.mode-OFF {
  color: #e27878;
}
:root[data-theme="dark"] .ns-saved.bad {
  color: #e27878;
}
:root[data-theme="dark"] .act-tip {
  background: #c4ccde;
  color: #131820;
}
:root[data-theme="dark"] .doc-up.bad small {
  color: #e27878;
}
:root[data-theme="dark"] .doc-badge {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 82%, #181b21), var(--c));
  color: #131820;
}
:root[data-theme="dark"] .doc-badge::before {
  background: rgba(24, 27, 33, 0.45);
}
:root[data-theme="dark"] .doc-viewer {
  background: #cbd3e3;
  color: #131820;
}
:root[data-theme="dark"] .dv-bar {
  background: #c4ccde;
  border-bottom: 1px solid rgba(24, 27, 33, 0.1);
}
:root[data-theme="dark"] .dv-bar .icon-btn,
:root[data-theme="dark"] .dv-bar .btn-ghost {
  color: #576577;
}
:root[data-theme="dark"] .dv-bar .icon-btn:hover,
:root[data-theme="dark"] .dv-bar .btn-ghost:hover {
  background: rgba(24, 27, 33, 0.1);
}
:root[data-theme="dark"] .dv-title .muted {
  color: #858f9c;
}
:root[data-theme="dark"] .dv-frame {
  background: #181b21;
}
:root[data-theme="dark"] .dv-text {
  background: #181b21;
  color: #e0e3ec;
}
:root[data-theme="dark"] .dv-none .muted {
  color: #858f9c;
}

