/* ==========================================================================
   WARRANTIME - TMAVÝ REŽIM (generováno z style.css a theme-glass.css).
   Zapíná se atributem data-theme-resolved="dark" na <html> (Auto / Světlý / Tmavý v Nastavení).
   Ruční úpravy patří do theme-dark-fixes.css, tento soubor se přegeneruje.
   ========================================================================== */

/* ---- z style.css ---- */
:root[data-theme-resolved="dark"] {
  --bg-color: #2c313a;
  --card-bg: #101217;
  --text-main: #e0e2e4;
  --text-secondary: #9ca1a9;
  --text-tertiary: #7b828c;
  --apple-blue-light: #1c334a;
  --apple-blue-border: #2e4c6b;
  --apple-green-light: #25412c;
  --apple-green-border: #386143;
  --apple-yellow-light: #4a371c;
  --apple-yellow-border: #6b522e;
  --apple-purple-light: #3b2145;
  --apple-purple-border: #523069;
  --apple-cyan-light: #1e3948;
  --apple-cyan-border: #2e576b;
  --apple-coral-light: #4a1f1c;
  --apple-coral-border: #6b312e;
  --timeline-line: #454954;
  --border-subtle: #454c5d;
}
:root[data-theme-resolved="dark"],
:root[data-theme-resolved="dark"] body {
  background-color: #191c24;
}
:root[data-theme-resolved="dark"] .app-container {
  background-color: #101217;
}
:root[data-theme-resolved="dark"] .app-header {
  background-color: #101217;
  border-bottom: 1px solid rgba(255,255,255,0.076);
}
:root[data-theme-resolved="dark"] .header-title {
  color: #f1f2f3;
}:root[data-theme-resolved="dark"] .search-icon {
  color: #9ca1a9;
}:root[data-theme-resolved="dark"] .btn-clear {
  background: #262a36;
  color: #14171f;
}
:root[data-theme-resolved="dark"] .chip {
  border: 1px solid #454c5d;
  background-color: #101217;
  color: #cccfd3;
}
:root[data-theme-resolved="dark"] .chip.active {
  background-color: #1C1C1E;
  color: #FFFFFF;
  border-color: #67728c;
}
:root[data-theme-resolved="dark"] .timeline-container {
  background-color: #12141a;
}:root[data-theme-resolved="dark"] .reminders-item {
  border-bottom: 1px solid #454554;
}
:root[data-theme-resolved="dark"] .reminders-item:hover {
  background-color: #2e2e38;
}
:root[data-theme-resolved="dark"] .reminders-item.selected-desktop,
:root[data-theme-resolved="dark"] .reminders-item.active {
  background-color: #1c2e4a;
}:root[data-theme-resolved="dark"] .today-dot {
  background-color: var(--apple-blue);
  border: 2px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .today-flag {
  background-color: var(--apple-blue);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .today-flag span:first-child {
  background: rgba(16,18,23,0.2);
}
:root[data-theme-resolved="dark"] .timeline-connector-dot {
  background-color: #101217;
  border: 2px solid #4d5568;
}
:root[data-theme-resolved="dark"] .timeline-card.theme-blue {
  background-color: var(--apple-blue-light);
}
:root[data-theme-resolved="dark"] .timeline-card.theme-blue .progress-fill {
  background-color: var(--apple-blue);
}:root[data-theme-resolved="dark"] .fab-btn {
  background-color: var(--apple-blue);
}
:root[data-theme-resolved="dark"] .bottom-nav {
  background-color: rgba(16,18,23,0.88);
  border-top: 1px solid rgba(255,255,255,0.132);
}
:root[data-theme-resolved="dark"] .nav-item {
  color: #9ca1a9;
}
:root[data-theme-resolved="dark"] .modal-overlay {
  background-color: rgba(0, 0, 0, 0.45);
}
:root[data-theme-resolved="dark"] .modal-card {
  background-color: #101217;
}
:root[data-theme-resolved="dark"] .modal-header h2 {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .btn-close-modal {
  background-color: #454554;
  color: #eceef1;
}
:root[data-theme-resolved="dark"] .form-group label {
  color: #c9ccd0;
}
:root[data-theme-resolved="dark"] .form-group input,
:root[data-theme-resolved="dark"] .form-group select,
:root[data-theme-resolved="dark"] .form-group textarea {
  background-color: #14161d;
  border: 1px solid #454c5d;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .form-group input:focus,
:root[data-theme-resolved="dark"] .form-group select:focus,
:root[data-theme-resolved="dark"] .form-group textarea:focus {
  background-color: #101217;
}
:root[data-theme-resolved="dark"] .preset-btn {
  background-color: #14161d;
  border: 1px solid #454c5d;
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .preset-btn.active {
  background-color: var(--apple-blue);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-picker {
  background-color: #14161d;
  border: 1.5px dashed #4a5164;
}
:root[data-theme-resolved="dark"] .receipt-preview-box {
  border: 1px solid #454c5d;
}
:root[data-theme-resolved="dark"] .btn-remove-photo {
  background-color: rgba(0, 0, 0, 0.65);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-cancel {
  background-color: #2e2e38;
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .btn-save {
  background-color: var(--apple-blue);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .detail-category-badge {
  background-color: #2d2d39;
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .detail-hero h2 {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .detail-subtitle {
  color: #acb1b7;
}:root[data-theme-resolved="dark"] .info-row strong {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .detail-progress-bar {
  background-color: #191c24;
}
:root[data-theme-resolved="dark"] .progress-labels {
  color: #9ca1a9;
}
:root[data-theme-resolved="dark"] .detail-info-block {
  background-color: #2e3338;
  border: 1px solid #43495a;
}
:root[data-theme-resolved="dark"] .detail-info-block label {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .serial-copy-box {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .btn-small-action {
  background-color: #1c334a;
}
:root[data-theme-resolved="dark"] .detail-receipt-section label {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .receipt-zoom-container {
  border: 1.5px dashed #424c57;
  background-color: #29333d;
}
:root[data-theme-resolved="dark"] .receipt-overlay-btn {
  background-color: rgba(17, 24, 39, 0.75);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .no-receipt-box {
  background-color: #2e3338;
  border: 1px dashed #484f61;
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .claim-box {
  background-color: #4a411c;
  border: 1px solid #6b5f2e;
}
:root[data-theme-resolved="dark"] .claim-header span {
  color: #eeb18b;
}
:root[data-theme-resolved="dark"] .btn-claim-toggle {
  background-color: #D97706;
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .claim-content {
  color: #ebb08e;
}
:root[data-theme-resolved="dark"] .claim-warning {
  color: #f3b587;
}
:root[data-theme-resolved="dark"] .btn-action-primary {
  background-color: var(--apple-blue);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-action-secondary {
  background-color: #2e2e38;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .btn-action-danger {
  background-color: #4a1c1c;
  color: #e45858;
}
:root[data-theme-resolved="dark"] .modal-overlay-zoom {
  background-color: rgba(0, 0, 0, 0.95);
}
:root[data-theme-resolved="dark"] .btn-close-zoom {
  background: rgba(16,18,23,0.2);
  color: #14171f;
}
:root[data-theme-resolved="dark"] .toast-message {
  background-color: rgba(28, 28, 30, 0.92);
  color: #FFFFFF;
}
@media (min-width: 900px) {
:root[data-theme-resolved="dark"],
:root[data-theme-resolved="dark"] body {
  background: #101217;
}
:root[data-theme-resolved="dark"] .desktop-top-toolbar {
  background: #101217;
  border-bottom: 1px solid #454c5d;
}:root[data-theme-resolved="dark"] .desktop-filter-pills {
  background: #2d2d39;
}
:root[data-theme-resolved="dark"] .filter-pill {
  color: #b6bac0;
}
:root[data-theme-resolved="dark"] .filter-pill:hover {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .filter-pill.active {
  background: #101217;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .filter-pill-badge {
  background: #191c24;
  color: #bec2c7;
}:root[data-theme-resolved="dark"] .filter-pill-badge.warning {
  background: #4a411c;
  color: #f5c184;
}
:root[data-theme-resolved="dark"] .filter-pill-badge.danger {
  background: #4a1c1c;
  color: #e45858;
}
:root[data-theme-resolved="dark"] .desktop-stat-pill {
  background: #2d2d39;
  color: #c9ccd0;
}:root[data-theme-resolved="dark"] .btn-toolbar-secondary {
  background: #2d2d39;
  color: #c9ccd0;
  border: 1px solid #454c5d;
}
:root[data-theme-resolved="dark"] .btn-toolbar-secondary:hover {
  background: #191c24;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .btn-toolbar-danger {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .btn-toolbar-danger:hover {
  background: #4a1c1c;
  color: #e99191;
  border-color: #6b2e2e;
}
:root[data-theme-resolved="dark"] .btn-toolbar-primary {
  background: var(--apple-blue);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-toolbar-primary:hover {
  background: #0062CC;
}
:root[data-theme-resolved="dark"] .icon-btn-round {
  background: #2d2d39;
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .icon-btn-round:hover {
  background: #191c24;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .desktop-center-column {
  border-right: 1px solid #454c5d !important;
  background-color: #12141a !important;
}
:root[data-theme-resolved="dark"] .desktop-center-column .app-header {
  background-color: #12141a !important;
  border-bottom: 1px solid #454c5d !important;
}:root[data-theme-resolved="dark"] .desktop-detail-pane {
  background-color: #101217 !important;
}
:root[data-theme-resolved="dark"] .desktop-empty-state {
  color: #9ca1a9;
}
:root[data-theme-resolved="dark"] .desktop-empty-state h3 {
  color: #c9ccd0;
}
}
:root[data-theme-resolved="dark"] .about-app-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .about-app-subtitle {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .about-version-tag {
  background-color: #2d2d39;
  color: #3d9aff;
}
:root[data-theme-resolved="dark"] .about-info-list {
  background-color: #29333d;
}
:root[data-theme-resolved="dark"] .about-info-item {
  border-bottom: 1px solid #404b59;
}
:root[data-theme-resolved="dark"] .about-info-item .info-label {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .about-info-item .info-val {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .drag-drop-box {
  background: rgba(16,18,23,0.96);
}
:root[data-theme-resolved="dark"] .drag-drop-box h2 {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .drag-drop-box p {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .import-spinner {
  border: 3px solid #404b59;
}
:root[data-theme-resolved="dark"] .import-progress-status {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .import-progress-bar-wrap {
  background-color: #29333d;
}
:root[data-theme-resolved="dark"] .import-progress-bar-fill {
  background: linear-gradient(90deg, #007AFF, #34C759);
}
:root[data-theme-resolved="dark"] .btn-sidebar-import {
  background-color: #2d2d39;
  color: #e0e2e4;
  border: 1px solid #454c5d;
}
:root[data-theme-resolved="dark"] .btn-sidebar-import:hover {
  background-color: #191c24;
  color: #f1f2f3;
}
:root[data-theme-resolved="dark"] .doc-pill {
  background: #29333d;
  border: 1px solid #404b59;
  color: #9fb7db;
}
:root[data-theme-resolved="dark"] .doc-pill:hover,
:root[data-theme-resolved="dark"] .doc-pill.active {
  background: #007AFF;
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-about-action.primary {
  background: #007AFF;
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .btn-about-action.primary:hover {
  background: #0062cc;
}
:root[data-theme-resolved="dark"] .btn-about-action.secondary {
  background: #29333d;
  color: #d7d9dc;
  border: 1px solid #424c57;
}
:root[data-theme-resolved="dark"] .btn-about-action.secondary:hover {
  background: #2b323b;
}
:root[data-theme-resolved="dark"] .btn-about-action.danger {
  background: #491d1d;
  color: #e45858;
  border: 1px solid #6b2e2e;
}
:root[data-theme-resolved="dark"] .btn-about-action.danger:hover {
  background: #4a1c1c;
  color: #e69393;
}
:root[data-theme-resolved="dark"] .btn-sidebar-clear {
  border: 1px dashed #424c57;
}
:root[data-theme-resolved="dark"] .btn-sidebar-clear:hover {
  background-color: #491d1d;
  color: #e45858;
  border-color: #6b2e2e;
}
:root[data-theme-resolved="dark"] {
  --pastel-blue-bg: #1e3048;
  --pastel-blue-txt: #558de7;
  --pastel-coral-bg: #4a1c1c;
  --pastel-amber-bg: #4a351c;
  --pastel-amber-txt: #f5c184;
  --pastel-mint-bg: #273f34;
  --pastel-mint-txt: #8befce;
  --pastel-purple-bg: #321c4a;
  --pastel-gray-bg: #15171e;
  --pastel-gray-txt: #bec2c7;
}
:root[data-theme-resolved="dark"] .tile-blue {
  background: var(--pastel-blue-bg);
  color: var(--pastel-blue-txt);
}
:root[data-theme-resolved="dark"] .expires-row {
  border-bottom: 1px solid rgba(255,255,255,0.076);
}
:root[data-theme-resolved="dark"] .expires-row:hover {
  background: #2e3338;
}
:root[data-theme-resolved="dark"] .expires-row.selected-desktop {
  background: #1c314a;
}
:root[data-theme-resolved="dark"] .er-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .er-meta.active {
  color: #8befce;
}
:root[data-theme-resolved="dark"] .er-meta.soon {
  color: #f5c184;
}
:root[data-theme-resolved="dark"] .er-meta.expired {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .er-price {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .er-chevron {
  color: #747b85;
}
:root[data-theme-resolved="dark"] .detail-card {
  background: #101217;
  border: 1px solid rgba(255,255,255,0.104);
}:root[data-theme-resolved="dark"] .cpc-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-active {
  background: #273f34;
  color: #8befce;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-soon {
  background: #4a351c;
  color: #f5c184;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-expired {
  background: #4a1c1c;
  color: #e45858;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-claimed {
  background: #4a411c;
  color: #f3b587;
}
:root[data-theme-resolved="dark"] .cpc-meta-row {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .cpc-meta-item strong {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .cpc-meta-item strong.alert {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .cpc-sep {
  color: #747b85;
}
:root[data-theme-resolved="dark"] .cpc-expiry-sub {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .cpc-price-tag {
  color: #e1e2e5;
  background: #14161d;
}
:root[data-theme-resolved="dark"] .cpc-price-tag.cpc-price-empty {
  color: #acb1b7;
}:root[data-theme-resolved="dark"] .timeline-box {
  background: #2e3338;
  border: 1px solid rgba(255,255,255,0.104);
}:root[data-theme-resolved="dark"] .receipt-preview-box {
  border: 1px solid rgba(255,255,255,0.104);
  background: #12141a;
}
:root[data-theme-resolved="dark"] .receipt-thumb {
  background: #101217;
  border: 1px solid #454c5d;
  color: #90969e;
}
:root[data-theme-resolved="dark"] .ri-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ri-meta {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .ri-btn {
  background: #101217;
  border: 1px solid #484f61;
  color: #c9ccd0;
}
:root[data-theme-resolved="dark"] .ri-btn:hover {
  background: #14161d;
  border-color: #50586d;
}
:root[data-theme-resolved="dark"] .btn-action.btn-primary {
  background: #007AFF;
  color: #FFF;
}
:root[data-theme-resolved="dark"] .btn-action.btn-primary:hover {
  background: #0062CC;
}
:root[data-theme-resolved="dark"] .btn-action.btn-secondary {
  background: #191c24;
  color: #c9ccd0;
}
:root[data-theme-resolved="dark"] .btn-action.btn-secondary:hover {
  background: #20242f;
}
:root[data-theme-resolved="dark"] .btn-action.btn-danger {
  background: #4a1c1c;
  color: #e45858;
}
:root[data-theme-resolved="dark"] .btn-action.btn-danger:hover {
  background: #4a1c1c;
}
@media (min-width: 900px) {
:root[data-theme-resolved="dark"] .workspace-body.expires-workspace-layout {
  background: #2b313b !important;
}
:root[data-theme-resolved="dark"] .expires-nav-sidebar {
  background: #101217 !important;
  border-right: 1px solid rgba(255,255,255,0.104) !important;
}
:root[data-theme-resolved="dark"] .ens-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ens-icon-btn {
  border: 1px solid rgba(255,255,255,0.104);
  background: #2e3338;
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .ens-icon-btn:hover {
  background: #14161d;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ens-icon-btn.primary {
  background: #007AFF;
  color: #FFF;
}
:root[data-theme-resolved="dark"] .ens-icon-btn.primary:hover {
  background: #0062CC;
}
:root[data-theme-resolved="dark"] .ens-icon-btn.danger {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .ens-icon-btn.danger:hover {
  background: #4a1c1c;
}
:root[data-theme-resolved="dark"] .ens-search-box {
  background: #14161d;
  color: #90969e;
}
:root[data-theme-resolved="dark"] .ens-search-box input {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ens-search-box input::placeholder {
  color: #90969e;
}
:root[data-theme-resolved="dark"] .ens-section-heading {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .ens-footer {
  border-top: 1px solid rgba(255,255,255,0.104);
}
:root[data-theme-resolved="dark"] .ens-footer-label {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .ens-footer-val {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .expires-center-column {
  background: #101217 !important;
  border-right: 1px solid rgba(255,255,255,0.104) !important;
}
:root[data-theme-resolved="dark"] .expires-mid-header {
  border-bottom: 1px solid rgba(255,255,255,0.104) !important;
  background: #101217 !important;
}
:root[data-theme-resolved="dark"] .expires-head-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .expires-head-subtitle {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .expires-head-subtitle strong {
  color: #3d9aff;
}
:root[data-theme-resolved="dark"] .sort-tile-c1 {
  background: #1c284a;
  border: 1px solid #2e456b;
  color: #3d9aff;
}
:root[data-theme-resolved="dark"] .sort-tile-c1:hover {
  background: #1c2f4a;
}
:root[data-theme-resolved="dark"] .sort-menu-dropdown {
  background: #101217;
  border: 1px solid rgba(255,255,255,0.132);
}
:root[data-theme-resolved="dark"] .sort-menu-item {
  color: #c9ccd0;
}
:root[data-theme-resolved="dark"] .sort-menu-item:hover {
  background: #14161d;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .sort-menu-item.active {
  background: #1c334a;
  color: #3d9aff;
}
:root[data-theme-resolved="dark"] .sort-check {
  color: #3d9aff;
}
:root[data-theme-resolved="dark"] .expires-detail-column {
  background: #29333d !important;
}
:root[data-theme-resolved="dark"] .expires-detail-column .receipt-zoom-container {
  border: 1px solid rgba(255,255,255,0.132) !important;
  background: #14161d !important;
}
:root[data-theme-resolved="dark"] .expires-detail-column .desktop-receipt-img {
  background: #101217 !important;
}
}
:root[data-theme-resolved="dark"] .about-lang-select {
  border: 1px solid #484f61;
  background: #101217;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .price-row .currency-select {
  border: 1px solid #484f61;
  background: #101217;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .attention-banner {
  background: #4a411c;
  border: 1px solid #6b5f2e;
  color: #eeb18b;
}
:root[data-theme-resolved="dark"] .rem-settings {
  background: #29333d;
  border: 1px solid #454c5d;
}
:root[data-theme-resolved="dark"] .rem-title {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .rem-row {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .rem-chip {
  background: #101217;
  border: 1px solid #454c5d;
  color: #c9ccd0;
}
:root[data-theme-resolved="dark"] .rem-note {
  color: #acb1b7;
}
:root[data-theme-resolved="dark"] .scan-status.busy {
  background: #1c304a;
  color: #547be8;
}
:root[data-theme-resolved="dark"] .scan-status.ok {
  background: #1e4834;
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .scan-status.warn {
  background: #4a411c;
  color: #f3b587;
}
:root[data-theme-resolved="dark"] .onboarding h3 {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .onboarding p {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .demo-banner {
  background: #1c304a;
  border: 1px solid #2e496b;
  color: #92a6e7;
}
:root[data-theme-resolved="dark"] .demo-remove {
  background: #101217;
  color: #92a6e7;
}
:root[data-theme-resolved="dark"] .paywall-sub {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .paywall-list li {
  color: #e1e2e5;
  border-bottom: 1px solid rgba(255,255,255,0.104);
}
:root[data-theme-resolved="dark"] .paywall-list li::before {
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .paywall-limit {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .ic-dot {
  color: #8befce;
}
:root[data-theme-resolved="dark"] .ens-icon {
  color: #4d80ef;
}
:root[data-theme-resolved="dark"] .onb-icon {
  color: #4d80ef;
}
:root[data-theme-resolved="dark"] .drag-drop-icon {
  color: #4d80ef;
}
:root[data-theme-resolved="dark"] .today-card {
  background: rgba(16,18,23,0.78);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .today-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .today-count {
  background: #4a411c;
  color: #eeb18b;
}
:root[data-theme-resolved="dark"] .td-dot.amber {
  background: #4a411c;
  color: #f3b587;
}
:root[data-theme-resolved="dark"] .td-dot.red {
  background: #4a1c1c;
  color: #e99191;
}
:root[data-theme-resolved="dark"] .td-main b {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .td-main small {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .td-chip.amber {
  background: #4a411c;
  color: #eeb18b;
}
:root[data-theme-resolved="dark"] .td-chip.red {
  background: #4a1c1c;
  color: #e69393;
}
:root[data-theme-resolved="dark"] .today-ok {
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .today-foot {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .ob-overlay {
  background: radial-gradient(700px 480px at 10% 0%, #1c2f4a 0, transparent 60%), radial-gradient(600px 420px at 100% 25%, #2e1c4a 0, transparent 55%), radial-gradient(600px 500px at 50% 100%, #244238 0, transparent 55%), #27303f;
}
@media (min-width: 900px) {
:root[data-theme-resolved="dark"] .ob-card {
  background: rgba(16,18,23,0.6);
  border: 1px solid rgba(255,255,255,0.10);
}
}
:root[data-theme-resolved="dark"] .ob-skip {
  color: #bec1c6;
}
:root[data-theme-resolved="dark"] .ob-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ob-text {
  color: #bec1c6;
}
:root[data-theme-resolved="dark"] .ob-dots i.on {
  background: #2563EB;
}
:root[data-theme-resolved="dark"] .ob-next {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .ob-later {
  color: #bec1c6;
}
:root[data-theme-resolved="dark"] .ob-paper {
  background: #101217;
}
:root[data-theme-resolved="dark"] .ob-paper b {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ob-paper i {
  background: #2b323b;
}
:root[data-theme-resolved="dark"] .ob-paper strong {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ob-scan {
  background: #10B981;
}
:root[data-theme-resolved="dark"] .ob-cam {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .ob-form {
  background: rgba(16,18,23,0.8);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .ob-fld {
  background: #1f472c;
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ob-fld small {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .ob-notif {
  background: rgba(16,18,23,0.9);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .ob-notif b {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .ob-notif span {
  color: #bec1c6;
}
:root[data-theme-resolved="dark"] .ob-notif em {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .confirm-card h2 {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .confirm-card p {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .btn-danger-fill {
  background: #B91C1C !important;
  color: #FFFFFF !important;
}
:root[data-theme-resolved="dark"] .undo-bar {
  background: #0F172A;
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .undo-bar button {
  background: rgba(16,18,23,0.14);
}
:root[data-theme-resolved="dark"] .backup-bar {
  background: #1c484a;
  border: 1px solid #2e656b;
  color: #93d2e6;
}
:root[data-theme-resolved="dark"] #btnBackupNow {
  background: #0E7490;
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] #btnBackupLater {
  background: #101217;
  color: #93d2e6;
}

/* ---- z theme-glass.css ---- */
@media (min-width: 900px) {
:root[data-theme-resolved="dark"],
:root[data-theme-resolved="dark"] body {
  background: radial-gradient(1200px 700px at 15% 10%, #1c2f4a 0, transparent 60%),
      radial-gradient(900px 600px at 90% 20%, #2e1c4a 0, transparent 55%),
      radial-gradient(900px 700px at 60% 100%, #244238 0, transparent 55%),
      #27303f !important;
}
:root[data-theme-resolved="dark"] .expires-nav-sidebar,
:root[data-theme-resolved="dark"] .expires-center-column,
:root[data-theme-resolved="dark"] .expires-detail-column {
  background: rgba(16,18,23,0.58) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}
:root[data-theme-resolved="dark"] .ens-icon-btn {
  background: rgba(16,18,23,0.75);
  border-color: rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .ens-icon-btn.primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
:root[data-theme-resolved="dark"] .ens-search-box {
  background: rgba(16,18,23,0.75);
}
:root[data-theme-resolved="dark"] .pastel-tile {
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .ens-footer {
  background: linear-gradient(135deg, rgba(7,63,155,0.16), rgba(16,20,181,0.16));
}
:root[data-theme-resolved="dark"] .expires-mid-header {
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}
:root[data-theme-resolved="dark"] .sort-tile-c1 {
  background: rgba(16,18,23,0.8);
  border-color: rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .sort-menu-dropdown {
  background: rgba(16,18,23,0.95);
}
:root[data-theme-resolved="dark"] .expires-row {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(16,18,23,0.5);
}
:root[data-theme-resolved="dark"] .expires-row:hover {
  background: rgba(16,18,23,0.8);
}
:root[data-theme-resolved="dark"] .expires-row.selected-desktop {
  background: rgba(16,18,23,0.96);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .desktop-empty-state {
  color: #bec1c6;
}
:root[data-theme-resolved="dark"] .gl-ring-bg {
  fill: rgba(20,23,31,0.9);
  stroke: rgba(225,226,229,0.08);
}
:root[data-theme-resolved="dark"] .gl-ring-in small {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .gl-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .gl-sub {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .gl-actions .btn-action {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(16,18,23,0.85);
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .gl-actions .btn-action.btn-primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .gl-actions .btn-action.btn-danger {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .gl-meta div {
  background: rgba(16,18,23,0.6);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .gl-meta small {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .gl-meta b {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .gl-meta b.alert {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .gl-tl {
  background: rgba(16,18,23,0.6);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .gl-tl-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .gl-tl-bar i {
  background: linear-gradient(90deg, #34D399, #FBBF24, #F97316);
}
:root[data-theme-resolved="dark"] .gl-tl-labels {
  color: #abafb6;
}
:root[data-theme-resolved="dark"] .expires-detail-column .detail-card {
  background: rgba(16,18,23,0.6);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .expires-detail-column .receipt-zoom-container {
  background: rgba(16,18,23,0.5) !important;
}
}
@media (min-width: 900px) {
:root[data-theme-resolved="dark"] .attention-banner {
  background: rgba(74,65,28,0.85);
  border-color: rgba(107,95,46,0.9);
}
:root[data-theme-resolved="dark"] .rem-settings {
  background: rgba(16,18,23,0.6);
}
}
@media (max-width: 899px) {
:root[data-theme-resolved="dark"],
:root[data-theme-resolved="dark"] body {
  background: radial-gradient(700px 480px at 10% 0%, #1c2f4a 0, transparent 60%),
      radial-gradient(600px 420px at 100% 25%, #2e1c4a 0, transparent 55%),
      radial-gradient(600px 500px at 50% 100%, #244238 0, transparent 55%),
      #27303f !important;
}
:root[data-theme-resolved="dark"] .app-header {
  background: rgba(16,18,23,0.55) !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}
:root[data-theme-resolved="dark"] .header-title {
  color: #e1e2e5;
}
:root[data-theme-resolved="dark"] .chip {
  background: rgba(16,18,23,0.72);
  border-color: rgba(255,255,255,0.10);
  color: #9fb7db;
}
:root[data-theme-resolved="dark"] .chip.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #FFFFFF;
}
:root[data-theme-resolved="dark"] .expires-row {
  background: rgba(16,18,23,0.62);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .expires-row.selected-desktop {
  background: rgba(16,18,23,0.62);
  border-left: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .bottom-nav {
  background-color: rgba(16,18,23,0.74);
  border: 1px solid rgba(255,255,255,0.10);
}
:root[data-theme-resolved="dark"] .fab-btn {
  background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
}
:root[data-theme-resolved="dark"] .modal-card {
  background-color: rgba(16,18,23,0.9);
}}
:root[data-theme-resolved="dark"] .progress-fill {
  background: linear-gradient(90deg, #34D399, #FBBF24, #F97316);
}
:root[data-theme-resolved="dark"] {
  --pastel-coral-txt: #de5e5e;
  --pastel-amber-txt: #f3b587;
  --pastel-mint-txt: #cdcfd3;
  --pastel-purple-txt: #8f5ae2;
}
:root[data-theme-resolved="dark"] .er-meta.active {
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .er-meta.soon {
  color: #f4b685;
}
:root[data-theme-resolved="dark"] .er-meta.expired {
  color: #e99191;
}
:root[data-theme-resolved="dark"] .donut-label.lbl-active {
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .donut-label.lbl-soon {
  color: #f4b685;
}
:root[data-theme-resolved="dark"] .donut-label.lbl-expired {
  color: #e99191;
}
:root[data-theme-resolved="dark"] .gl-ring-in b.c-ok {
  color: #85f5d2;
}
:root[data-theme-resolved="dark"] .gl-ring-in b.c-soon {
  color: #f1a788;
}
:root[data-theme-resolved="dark"] .gl-ring-in b.c-exp {
  color: #e45858;
}
:root[data-theme-resolved="dark"] .progress-labels {
  color: #b5b9bf;
}
:root[data-theme-resolved="dark"] .nav-item {
  color: #b5b9bf;
}
:root[data-theme-resolved="dark"] .detail-subtitle,
:root[data-theme-resolved="dark"] .about-app-subtitle {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .about-version-tag {
  color: #86b5f3;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-active {
  color: #cdcfd3;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-soon {
  color: #f3b587;
}
:root[data-theme-resolved="dark"] .cpc-badge.badge-expired {
  color: #e65656;
}
:root[data-theme-resolved="dark"] .ens-section-heading {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .ens-footer-label {
  color: #c6c9ce;
}
:root[data-theme-resolved="dark"] .gl-sub {
  color: #bec2c7;
}
:root[data-theme-resolved="dark"] .demo-banner {
  background: rgba(28,48,74,0.85);
  border-color: rgba(46,73,107,0.9);
}
:root[data-theme-resolved="dark"] .rem-note {
  color: #bec2c7;
}

/* ---- inline barvy z šablon ---- */
:root[data-theme-resolved="dark"] [style*="background:#F8FAFC"],
:root[data-theme-resolved="dark"] [style*="background: #F8FAFC"] {
  background: #29333d !important;
}
:root[data-theme-resolved="dark"] [style*="background:#FFF"],
:root[data-theme-resolved="dark"] [style*="background: #FFF"] {
  background: #101217 !important;
}
:root[data-theme-resolved="dark"] [style*="border:1px solid #E2E8F0"],
:root[data-theme-resolved="dark"] [style*="border: 1px solid #E2E8F0"] {
  border: 1px solid #404b59 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#111827"],
:root[data-theme-resolved="dark"] [style*="color: #111827"] {
  color: #e1e2e5 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#1E293B"],
:root[data-theme-resolved="dark"] [style*="color: #1E293B"] {
  color: #d7d9dc !important;
}
:root[data-theme-resolved="dark"] [style*="color:#374151"],
:root[data-theme-resolved="dark"] [style*="color: #374151"] {
  color: #c9ccd0 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#4B5563"],
:root[data-theme-resolved="dark"] [style*="color: #4B5563"] {
  color: #bec2c7 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#64748B"],
:root[data-theme-resolved="dark"] [style*="color: #64748B"] {
  color: #abafb6 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#6B7280"],
:root[data-theme-resolved="dark"] [style*="color: #6B7280"] {
  color: #acb1b7 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#8E8E93"],
:root[data-theme-resolved="dark"] [style*="color: #8E8E93"] {
  color: #9ca1a9 !important;
}
:root[data-theme-resolved="dark"] [style*="color:#B45309"],
:root[data-theme-resolved="dark"] [style*="color: #B45309"] {
  color: #f3b587 !important;
}
:root[data-theme-resolved="dark"] [style*="color:${daysLeft < 0 ? '#DC2626' : '#B45309'}"],
:root[data-theme-resolved="dark"] [style*="color: ${daysLeft < 0 ? '#DC2626' : '#B45309'}"] {
  color: ${daysLeft < 0 ? '#e45858' : '#f3b587'} !important;
}
