
/* =========================================================
   Familien Cloud V40.77
   Blue Theme – unified visual system
   ========================================================= */

/*
   Grundidee:
   - Keine weissen Modulflächen mehr.
   - Keine fast-schwarzen Einzelmodule mehr.
   - Alle Module verwenden dieselben Blue-Surfaces.
   - Tabellen, Karten, Filter, Sidebars, Chips und Controls
     folgen derselben Hierarchie.
*/

body.theme-blue{
  --bt-page:#1682d4;
  --bt-surface:#0a67a6;
  --bt-surface-2:#095b93;
  --bt-surface-3:#084d7d;
  --bt-item:#106eaa;
  --bt-item-hover:#177fbe;
  --bt-control:#084f81;
  --bt-control-hover:#0a5f98;
  --bt-active:#168cff;
  --bt-border:rgba(228,247,255,.20);
  --bt-border-strong:rgba(232,249,255,.32);
  --bt-text:#f5fbff;
  --bt-muted:#bdd6e6;
  --bt-faint:#9ebed2;
  --bt-danger:#ff6b6b;
  --bt-warning:#ffc45c;
  --bt-success:#5bd09c;
}

/* ---------- Global header/search ---------- */
body.theme-blue .app-global-header{
  background:transparent!important;
}
body.theme-blue .app-global-search{
  background:var(--bt-surface-2)!important;
  border:1px solid var(--bt-border-strong)!important;
  box-shadow:none!important;
}
body.theme-blue .app-global-search input{
  background:transparent!important;
  color:var(--bt-text)!important;
  border:0!important;
  box-shadow:none!important;
}
body.theme-blue .app-global-search input::placeholder{
  color:var(--bt-muted)!important;
  opacity:1!important;
}
body.theme-blue .app-global-search-icon{
  color:#e9f7ff!important;
}

/* ---------- Generic module hierarchy ---------- */
body.theme-blue .module-shell{
  color:var(--bt-text)!important;
}

body.theme-blue .module-shell .glass-panel,
body.theme-blue .module-shell section[class*="panel"],
body.theme-blue .module-shell aside[class*="panel"],
body.theme-blue .module-shell div[class*="panel"]:not(.modal-panel),
body.theme-blue .module-shell [class$="-toolbar"],
body.theme-blue .module-shell [class*="-toolbar "],
body.theme-blue .module-shell [class$="-filterbar"],
body.theme-blue .module-shell [class*="-filterbar "],
body.theme-blue .module-shell [class*="side-panel"]{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
  color:var(--bt-text)!important;
  box-shadow:none!important;
}

body.theme-blue .module-shell [class*="summary-card"],
body.theme-blue .module-shell [class$="-stat"],
body.theme-blue .module-shell [class*="-stat "],
body.theme-blue .module-shell [class*="side-stats"] > *,
body.theme-blue .module-shell [class*="summary-stat"]{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
  color:var(--bt-text)!important;
  box-shadow:none!important;
}

body.theme-blue .module-shell [class*="summary-card"] span,
body.theme-blue .module-shell [class$="-stat"] span,
body.theme-blue .module-shell [class*="summary-stat"] span,
body.theme-blue .module-shell [class*="summary-card"] small{
  color:var(--bt-muted)!important;
}

/* ---------- Forms ---------- */
body.theme-blue .module-shell input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=reset]),
body.theme-blue .module-shell textarea,
body.theme-blue .module-shell select,
body.theme-blue .notes32-main input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]),
body.theme-blue .notes32-main textarea,
body.theme-blue .notes32-main select{
  background:var(--bt-control)!important;
  border-color:var(--bt-border)!important;
  color:var(--bt-text)!important;
  box-shadow:none!important;
}
body.theme-blue .module-shell input::placeholder,
body.theme-blue .module-shell textarea::placeholder,
body.theme-blue .notes32-main input::placeholder,
body.theme-blue .notes32-main textarea::placeholder{
  color:var(--bt-muted)!important;
  opacity:1!important;
}
body.theme-blue .module-shell input:focus,
body.theme-blue .module-shell textarea:focus,
body.theme-blue .module-shell select:focus,
body.theme-blue .notes32-main input:focus,
body.theme-blue .notes32-main textarea:focus,
body.theme-blue .notes32-main select:focus{
  background:var(--bt-control-hover)!important;
  border-color:#54adf0!important;
  outline:none!important;
}
body.theme-blue select option{
  background:#084b78!important;
  color:#fff!important;
}

/* ---------- Buttons ---------- */
body.theme-blue .module-shell .primary-btn{
  background:var(--bt-active)!important;
  border-color:var(--bt-active)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.theme-blue .module-shell .secondary-btn,
body.theme-blue .module-shell .soft-full-btn{
  background:var(--bt-surface-2)!important;
  border-color:var(--bt-border)!important;
  color:#eef9ff!important;
  box-shadow:none!important;
}
body.theme-blue .module-shell .secondary-btn:hover,
body.theme-blue .module-shell .soft-full-btn:hover{
  background:#0c6aa7!important;
  border-color:var(--bt-border-strong)!important;
}
body.theme-blue .module-shell .icon-action{
  color:#dceef8!important;
}
body.theme-blue .module-shell .icon-action:hover{
  background:rgba(255,255,255,.08)!important;
}

/* ---------- Tabs / chips / category clouds ---------- */
body.theme-blue .module-shell [class*="tabs"] a,
body.theme-blue .module-shell [class*="tabs"] button,
body.theme-blue .module-shell .category-cloud a,
body.theme-blue .module-shell [class*="category-pill"],
body.theme-blue .module-shell [class*="category-chip"]{
  background:var(--bt-surface-2)!important;
  color:#d9edf8!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .module-shell [class*="tabs"] a.active,
body.theme-blue .module-shell [class*="tabs"] button.active{
  background:var(--bt-active)!important;
  color:#fff!important;
  border-color:#64b5ff!important;
}

/* ---------- Generic tables ---------- */
body.theme-blue .module-shell table{
  background:transparent!important;
  color:var(--bt-text)!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .module-shell table thead th{
  background:var(--bt-surface-3)!important;
  color:#d8ecf7!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .module-shell table tbody td{
  background:var(--bt-item)!important;
  color:var(--bt-text)!important;
  border-color:rgba(228,247,255,.12)!important;
}
body.theme-blue .module-shell table tbody tr:hover td{
  background:var(--bt-item-hover)!important;
}
body.theme-blue .module-shell table td strong,
body.theme-blue .module-shell table td h2,
body.theme-blue .module-shell table td h3{
  color:#fff!important;
}
body.theme-blue .module-shell table td small,
body.theme-blue .module-shell table td p{
  color:var(--bt-muted)!important;
}

/* =========================================================
   FILES
   ========================================================= */
body.theme-blue .files-v14 .storage-scope-tabs a{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
  color:var(--bt-text)!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a small{
  color:var(--bt-muted)!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a.active{
  background:#197fbe!important;
  border-color:#62b7f3!important;
  color:#fff!important;
}
body.theme-blue .files-v14 .files-toolbar,
body.theme-blue .files-v14 .files-panel,
body.theme-blue .files-v14 .file-side-card,
body.theme-blue .files-v14 .files-list-head{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
  color:#fff!important;
}
body.theme-blue .files-v14 .folder-card,
body.theme-blue .files-v14 .file-card-grid-item{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .files-v14 .folder-card:hover,
body.theme-blue .files-v14 .file-card-grid-item:hover{
  background:var(--bt-item-hover)!important;
}
body.theme-blue .files-v14 .explorer-name strong{color:#fff!important}
body.theme-blue .files-v14 .explorer-name small{color:var(--bt-muted)!important}

/* =========================================================
   NOTES
   ========================================================= */
body.theme-blue .notes32-main{
  color:var(--bt-text)!important;
}
body.theme-blue .notes32-main .notes32-workspace{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-nav{
  background:var(--bt-surface-2)!important;
  color:var(--bt-text)!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-nav a{
  color:#d8edf8!important;
}
body.theme-blue .notes32-main .notes32-nav a.active{
  background:#187dbd!important;
  color:#fff!important;
}
body.theme-blue .notes32-main .nav-label{
  color:#9fc3d8!important;
}
body.theme-blue .notes32-main .notes32-list{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-list-head{
  background:var(--bt-surface-3)!important;
  color:#dceef8!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-item{
  color:#eef9ff!important;
  border-color:rgba(228,247,255,.12)!important;
}
body.theme-blue .notes32-main .notes32-item span,
body.theme-blue .notes32-main .notes32-item small{
  color:var(--bt-muted)!important;
}
body.theme-blue .notes32-main .notes32-item.active{
  background:#177dbc!important;
  color:#fff!important;
}
body.theme-blue .notes32-main .notes32-editor{
  background:#0f6ba7!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-editor-head,
body.theme-blue .notes32-main .notes32-toolbar{
  background:var(--bt-surface-2)!important;
  color:#effaff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-toolbar button{
  color:#e8f6ff!important;
  background:transparent!important;
}
body.theme-blue .notes32-main .notes32-canvas{
  background:#0c5e94!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .notes32-main .notes32-canvas p,
body.theme-blue .notes32-main .notes32-canvas div{
  color:inherit;
}
body.theme-blue .notes32-main .note-callout{
  background:#1778b4!important;
  color:#fff!important;
  border-color:rgba(228,247,255,.22)!important;
}
body.theme-blue .notes32-main .note-callout *{
  color:#fff!important;
}
body.theme-blue .notes32-main .notes32-panel{
  background:var(--bt-surface-2)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}

/* =========================================================
   TO-DOS
   ========================================================= */
body.theme-blue .todo-v13 .todo-summary-card{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .todo-v13 .todo-summary-card span{
  color:var(--bt-muted)!important;
}
body.theme-blue .todo-v13 .todo-main-panel,
body.theme-blue .todo-v13 .todo-side-panel{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .todo-v13 .todo-card{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .todo-v13 .todo-card-content > p,
body.theme-blue .todo-v13 .todo-meta,
body.theme-blue .todo-v13 .todo67-compact-meta{
  color:var(--bt-muted)!important;
}
body.theme-blue .todo-v13 .todo64-checklist,
body.theme-blue .todo-v13 .todo64-files{
  background:var(--bt-surface-2)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .todo-v13 .todo-side-stats > div,
body.theme-blue .todo-v13 .todo-people a{
  background:var(--bt-item)!important;
  color:#fff!important;
}

/* =========================================================
   SHOPPING
   ========================================================= */
body.theme-blue .shopping-v10 .shopping-primary-panel,
body.theme-blue .shopping-v10 .shopping-info-panel{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .shopping-v10 .shopping-composer,
body.theme-blue .shopping-v10 .shopping-filterbar{
  background:transparent!important;
}
body.theme-blue .shopping-v10 .shopping-item-card{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .shopping-v10 .item-meta,
body.theme-blue .shopping-v10 .item-history,
body.theme-blue .shopping-v10 .item-notes{
  color:var(--bt-muted)!important;
}
body.theme-blue .shopping-v10 .shopping-empty{
  color:var(--bt-muted)!important;
}
body.theme-blue .shopping-v10 .shopping-info-panel .category-cloud a{
  background:var(--bt-item)!important;
  color:#fff!important;
}

/* =========================================================
   CONTRACTS
   ========================================================= */
body.theme-blue .contracts-v16 .contract-summary-card{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .contracts-v16 .contract-summary-card span{
  color:var(--bt-muted)!important;
}
body.theme-blue .contracts-v16 .contracts-panel,
body.theme-blue .contracts-v16 .contract-categories{
  background:var(--bt-surface)!important;
  border-color:var(--bt-border)!important;
  color:#fff!important;
}
body.theme-blue .contracts-v16 .contract-open-link{
  color:#fff!important;
}
body.theme-blue .contracts-v16 .contract-open-link small{
  color:var(--bt-muted)!important;
}

/* =========================================================
   WARRANTIES
   ========================================================= */
body.theme-blue .warranty-v11 .summary-card{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .warranty-v11 .summary-card span{
  color:var(--bt-muted)!important;
}
body.theme-blue .warranty-v11 .warranty-panel,
body.theme-blue .warranty-v11 .warranty-category-panel{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}

/* =========================================================
   INVENTORY
   ========================================================= */
body.theme-blue .inventory-module .inventory-stat,
body.theme-blue .inventory-module .inventory-toolbar,
body.theme-blue .inventory-module .inventory-list-panel{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .inventory-module .inventory-card{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .inventory-module .inventory-card-meta,
body.theme-blue .inventory-module .inventory-card-value{
  color:var(--bt-muted)!important;
}

/* =========================================================
   CARDS / IDS
   ========================================================= */
body.theme-blue .cards-v18 .cards-toolbar,
body.theme-blue .cards-v18 .card-category-panel{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .cards-v18 .id-card{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .cards-v18 .id-card-data,
body.theme-blue .cards-v18 .id-card-footer{
  color:var(--bt-muted)!important;
}

/* =========================================================
   VEHICLES
   ========================================================= */
body.theme-blue .vehicles-v20 .vehicles-toolbar,
body.theme-blue .vehicles-v20 .vehicle-category-panel{
  background:var(--bt-surface)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .vehicles-v20 .vehicle-card{
  background:var(--bt-item)!important;
  color:#fff!important;
  border-color:var(--bt-border)!important;
}
body.theme-blue .vehicles-v20 .vehicle-card strong,
body.theme-blue .vehicles-v20 .vehicle-identity,
body.theme-blue .vehicles-v20 .vehicle-facts{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicle-footer,
body.theme-blue .vehicles-v20 .vehicle-next,
body.theme-blue .vehicles-v20 .vehicle-identity p{
  color:var(--bt-muted)!important;
}

/* ---------- Status badges remain readable ---------- */
body.theme-blue .status-pill,
body.theme-blue .todo-priority,
body.theme-blue .todo-due,
body.theme-blue .vehicle-status,
body.theme-blue .urgent-badge{
  box-shadow:none!important;
}

/* ---------- Modals ---------- */
body.theme-blue .modal-card{
  background:var(--bt-surface-2)!important;
  border-color:var(--bt-border)!important;
  color:#fff!important;
}
body.theme-blue .modal-card .modal-head{
  border-color:var(--bt-border)!important;
}


/* =========================================================
   V40.78 – Contracts Blue Theme correction
   Fixes the washed-out light table + white-text combination.
   ========================================================= */
body.theme-blue .contracts-v16 .contract-summary-card{
  background:#0b67a5!important;
  border:1px solid rgba(229,247,255,.24)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .contracts-v16 .contract-summary-card strong,
body.theme-blue .contracts-v16 .contract-summary-card b{
  color:#ffffff!important;
}
body.theme-blue .contracts-v16 .contract-summary-card span,
body.theme-blue .contracts-v16 .contract-summary-card small{
  color:#bad6e7!important;
}

body.theme-blue .contracts-v16 .contracts-panel{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .contracts-v16 .contracts-filterbar{
  background:transparent!important;
  border-color:rgba(229,247,255,.15)!important;
}
body.theme-blue .contracts-v16 .contracts-filterbar input,
body.theme-blue .contracts-v16 .contracts-filterbar select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .contracts-v16 .contracts-filterbar input::placeholder{
  color:#bdd6e6!important;
}
body.theme-blue .contracts-v16 .contracts-filterbar button{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Table header */
body.theme-blue .contracts-v16 .contracts-table{
  background:transparent!important;
}
body.theme-blue .contracts-v16 .contracts-table thead th{
  background:#084c7a!important;
  color:#d8edf8!important;
  border-color:rgba(229,247,255,.17)!important;
}

/* Table body: medium blue rows, never pale/white */
body.theme-blue .contracts-v16 .contracts-table tbody td{
  background:#126da9!important;
  color:#f7fbff!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .contracts-v16 .contracts-table tbody tr:nth-child(even) td{
  background:#1066a0!important;
}
body.theme-blue .contracts-v16 .contracts-table tbody tr:hover td{
  background:#177ebd!important;
}

/* Text hierarchy */
body.theme-blue .contracts-v16 .contracts-table td strong,
body.theme-blue .contracts-v16 .contract-open-link,
body.theme-blue .contracts-v16 .contract-open-link strong{
  color:#ffffff!important;
}
body.theme-blue .contracts-v16 .contracts-table td small,
body.theme-blue .contracts-v16 .contract-open-link small{
  color:#b9d5e6!important;
}
body.theme-blue .contracts-v16 .contracts-table td,
body.theme-blue .contracts-v16 .contracts-table td a{
  color:#f5fbff!important;
}

/* Category / owner pills: slightly lighter, but still blue */
body.theme-blue .contracts-v16 .contract-category-pill,
body.theme-blue .contracts-v16 .contract-owner-pill,
body.theme-blue .contracts-v16 .contracts-table .owner-pill{
  background:#2b86c2!important;
  color:#ffffff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Status badges keep semantic meaning */
body.theme-blue .contracts-v16 .status-pill{
  background:rgba(255,255,255,.14)!important;
  color:#f5fbff!important;
}
body.theme-blue .contracts-v16 .status-pill.active{
  background:rgba(91,208,156,.20)!important;
  color:#d9fff0!important;
}
body.theme-blue .contracts-v16 .status-pill.warning{
  background:rgba(255,196,92,.18)!important;
  color:#fff1c8!important;
}

/* Action icons */
body.theme-blue .contracts-v16 .contracts-table .icon-action{
  color:#dceff9!important;
}
body.theme-blue .contracts-v16 .contracts-table .icon-action:hover{
  background:rgba(255,255,255,.09)!important;
  color:#ffffff!important;
}

/* Category panel */
body.theme-blue .contracts-v16 .contract-categories{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .contracts-v16 .contract-categories .category-chip,
body.theme-blue .contracts-v16 .contract-categories a{
  background:#126da9!important;
  color:#f5fbff!important;
  border-color:rgba(229,247,255,.17)!important;
}


/* =========================================================
   V40.79 – Warranties Blue Theme correction
   Aligns Garantien with the corrected Verträge visual language.
   ========================================================= */

/* Summary cards */
body.theme-blue .warranty-v11 .summary-card{
  background:#0b67a5!important;
  border:1px solid rgba(229,247,255,.24)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .warranty-v11 .summary-card strong{
  color:#ffffff!important;
}
body.theme-blue .warranty-v11 .summary-card span,
body.theme-blue .warranty-v11 .summary-card small{
  color:#bad6e7!important;
}

/* Main panel + filters */
body.theme-blue .warranty-v11 .warranty-panel{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .warranty-v11 .warranty-filterbar{
  background:transparent!important;
  border-color:rgba(229,247,255,.15)!important;
}
body.theme-blue .warranty-v11 .warranty-filterbar input,
body.theme-blue .warranty-v11 .warranty-filterbar select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .warranty-v11 .warranty-filterbar input::placeholder{
  color:#bdd6e6!important;
}
body.theme-blue .warranty-v11 .warranty-filterbar button{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Table */
body.theme-blue .warranty-v11 .warranty-table{
  background:transparent!important;
}
body.theme-blue .warranty-v11 .warranty-table thead th{
  background:#084c7a!important;
  color:#d8edf8!important;
  border-color:rgba(229,247,255,.17)!important;
}
body.theme-blue .warranty-v11 .warranty-table tbody td{
  background:#126da9!important;
  color:#f7fbff!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .warranty-v11 .warranty-table tbody tr:nth-child(even) td{
  background:#1066a0!important;
}
body.theme-blue .warranty-v11 .warranty-table tbody tr:hover td{
  background:#177ebd!important;
}

/* Empty state inside table */
body.theme-blue .warranty-v11 .warranty-table .shopping-empty{
  min-height:280px!important;
  background:#126da9!important;
  color:#f6fbff!important;
}
body.theme-blue .warranty-v11 .warranty-table .shopping-empty strong{
  color:#ffffff!important;
}
body.theme-blue .warranty-v11 .warranty-table .shopping-empty span{
  color:#bad6e7!important;
}

/* Table content hierarchy */
body.theme-blue .warranty-v11 .warranty-open-link,
body.theme-blue .warranty-v11 .warranty-open-link strong,
body.theme-blue .warranty-v11 .warranty-table td a{
  color:#ffffff!important;
}
body.theme-blue .warranty-v11 .warranty-open-link small,
body.theme-blue .warranty-v11 .file-count{
  color:#bad6e7!important;
}

/* Status badges */
body.theme-blue .warranty-v11 .warranty-status{
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;
}
body.theme-blue .warranty-v11 .warranty-status.active{
  background:rgba(91,208,156,.20)!important;
  color:#d9fff0!important;
}
body.theme-blue .warranty-v11 .warranty-status.soon{
  background:rgba(255,196,92,.20)!important;
  color:#fff0c1!important;
}
body.theme-blue .warranty-v11 .warranty-status.expired{
  background:rgba(255,107,107,.20)!important;
  color:#ffd9d9!important;
}
body.theme-blue .warranty-v11 .warranty-status.unknown{
  background:rgba(255,255,255,.10)!important;
  color:#e5f3fa!important;
}

/* Actions */
body.theme-blue .warranty-v11 .warranty-actions .icon-action{
  color:#dceff9!important;
}
body.theme-blue .warranty-v11 .warranty-actions .icon-action:hover{
  background:rgba(255,255,255,.09)!important;
  color:#ffffff!important;
}

/* Category panel */
body.theme-blue .warranty-v11 .warranty-category-panel{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .warranty-v11 .warranty-category-panel .side-panel-head h2{
  color:#ffffff!important;
}
body.theme-blue .warranty-v11 .warranty-category-panel .side-panel-head span{
  color:#bad6e7!important;
}
body.theme-blue .warranty-v11 .warranty-category-panel .category-cloud a{
  background:#126da9!important;
  color:#f5fbff!important;
  border-color:rgba(229,247,255,.17)!important;
}
body.theme-blue .warranty-v11 .warranty-category-panel .category-cloud a:hover{
  background:#177ebd!important;
}
body.theme-blue .warranty-v11 .warranty-category-panel .soft-full-btn{
  background:#0b69a8!important;
  color:#ffffff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Warranty detail modal */
body.theme-blue .warranty-detail-card{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .warranty-detail-grid>div,
body.theme-blue .warranty-note,
body.theme-blue .warranty-file-row{
  background:#126da9!important;
  border-color:rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .warranty-detail-grid small,
body.theme-blue .warranty-note small,
body.theme-blue .warranty-file-row small{
  color:#bad6e7!important;
}
body.theme-blue .warranty-detail-grid strong,
body.theme-blue .warranty-note p,
body.theme-blue .warranty-file-row strong{
  color:#ffffff!important;
}


/* =========================================================
   V40.80 – Karten / Ausweise Blue Theme correction
   Same visual language as corrected Verträge / Garantien.
   ========================================================= */
body.theme-blue .cards-v18 .cards-scope-tabs{gap:10px!important}
body.theme-blue .cards-v18 .cards-scope-tabs a{
  background:#0b67a5!important;color:#dcedf7!important;
  border:1px solid rgba(229,247,255,.22)!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .cards-scope-tabs a:hover{background:#126fae!important;color:#fff!important}
body.theme-blue .cards-v18 .cards-scope-tabs a.active{
  background:#168cff!important;color:#fff!important;border-color:#66b8ff!important
}

body.theme-blue .cards-v18 .cards-toolbar{
  background:#095b92!important;border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .cards-toolbar form{background:transparent!important}
body.theme-blue .cards-v18 .cards-search input,
body.theme-blue .cards-v18 .cards-toolbar select{
  background:#084f80!important;border-color:rgba(229,247,255,.22)!important;color:#f6fbff!important
}
body.theme-blue .cards-v18 .cards-search input::placeholder{color:#bdd6e6!important}
body.theme-blue .cards-v18 .cards-search>span{color:#b9d5e6!important}
body.theme-blue .cards-v18 .cards-toolbar .secondary-btn{
  background:#0b69a8!important;color:#fff!important;border-color:rgba(229,247,255,.20)!important
}

body.theme-blue .cards-v18 .cards-empty{
  background:#095b92!important;border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .cards-empty>strong{color:#fff!important}
body.theme-blue .cards-v18 .cards-empty>small{color:#bad6e7!important}
body.theme-blue .cards-v18 .cards-empty .soft-full-btn{
  background:#0b69a8!important;color:#fff!important;border-color:rgba(229,247,255,.20)!important
}

body.theme-blue .cards-v18 .id-card{
  background:#126da9!important;border:1px solid rgba(229,247,255,.20)!important;
  color:#f7fbff!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .id-card:hover{
  background:#177ebd!important;border-color:rgba(229,247,255,.30)!important
}
body.theme-blue .cards-v18 .id-card-head{border-color:rgba(229,247,255,.13)!important}
body.theme-blue .cards-v18 .id-card-category{color:#d7ebf6!important}
body.theme-blue .cards-v18 .id-card-open{color:#fff!important}
body.theme-blue .cards-v18 .id-card-person strong{color:#fff!important}
body.theme-blue .cards-v18 .id-card-person small,
body.theme-blue .cards-v18 .id-card-open>p{color:#bad6e7!important}

body.theme-blue .cards-v18 .id-card-data{color:#fff!important}
body.theme-blue .cards-v18 .id-card-data>span{
  background:#0e6199!important;border:1px solid rgba(229,247,255,.12)!important
}
body.theme-blue .cards-v18 .id-card-data small{color:#aecdde!important}
body.theme-blue .cards-v18 .id-card-data strong{color:#fff!important}

body.theme-blue .cards-v18 .id-card-footer{
  color:#bad6e7!important;border-color:rgba(229,247,255,.13)!important
}
body.theme-blue .cards-v18 .id-card-actions .icon-action{color:#dceff9!important}
body.theme-blue .cards-v18 .id-card-actions .icon-action:hover{
  background:rgba(255,255,255,.09)!important;color:#fff!important
}

body.theme-blue .cards-v18 .id-card-state{
  border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .id-card-state.ok{
  background:rgba(91,208,156,.20)!important;color:#d9fff0!important
}
body.theme-blue .cards-v18 .id-card-state.soon{
  background:rgba(255,196,92,.20)!important;color:#fff0c1!important
}
body.theme-blue .cards-v18 .id-card-state.expired{
  background:rgba(255,107,107,.20)!important;color:#ffd9d9!important
}
body.theme-blue .cards-v18 .id-card-state.unknown{
  background:rgba(255,255,255,.10)!important;color:#e5f3fa!important
}

body.theme-blue .cards-v18 .card-category-panel{
  background:#095b92!important;border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;box-shadow:none!important
}
body.theme-blue .cards-v18 .card-category-panel .side-panel-head h2{color:#fff!important}
body.theme-blue .cards-v18 .card-category-panel .side-panel-head span{color:#bad6e7!important}
body.theme-blue .cards-v18 .card-category-panel .category-cloud a{
  background:#126da9!important;color:#f5fbff!important;border-color:rgba(229,247,255,.17)!important
}
body.theme-blue .cards-v18 .card-category-panel .category-cloud a:hover{background:#177ebd!important}
body.theme-blue .cards-v18 .card-category-panel .soft-full-btn{
  background:#0b69a8!important;color:#fff!important;border-color:rgba(229,247,255,.20)!important
}

body.theme-blue .card-modal-card{
  background:#095b92!important;border-color:rgba(229,247,255,.22)!important;color:#f6fbff!important
}
body.theme-blue .card-modal-card input,
body.theme-blue .card-modal-card textarea,
body.theme-blue .card-modal-card select{
  background:#084f80!important;border-color:rgba(229,247,255,.22)!important;color:#f6fbff!important
}
body.theme-blue .card-modal-card label{color:#dceef8!important}
body.theme-blue .card-upload-choice,
body.theme-blue .card-more-files-upload{
  background:#0e6199!important;border-color:rgba(229,247,255,.15)!important;color:#f6fbff!important
}
body.theme-blue .card-upload-choice small,
body.theme-blue .card-more-files-upload small{color:#bad6e7!important}

body.theme-blue .card-detail-card{
  background:#095b92!important;border-color:rgba(229,247,255,.22)!important;color:#f6fbff!important
}
body.theme-blue .card-detail-hero{
  background:#0e6199!important;border-color:rgba(229,247,255,.15)!important;color:#fff!important
}
body.theme-blue .card-detail-hero h3{color:#fff!important}
body.theme-blue .card-detail-hero p{color:#bad6e7!important}
body.theme-blue .card-detail-card .contract-detail-grid>div{
  background:#126da9!important;border-color:rgba(229,247,255,.14)!important;color:#f6fbff!important
}
body.theme-blue .card-detail-card .contract-detail-grid small{color:#bad6e7!important}
body.theme-blue .card-detail-card .contract-detail-grid strong{color:#fff!important}
body.theme-blue .card-detail-card .card-linked-files,
body.theme-blue .card-detail-card .card-attachment-preview{
  background:#0e6199!important;border-color:rgba(229,247,255,.14)!important;color:#f6fbff!important
}


/* =========================================================
   V40.81 – Fahrzeuge Blue Theme correction
   Farblich analog zu Garantien / Verträge.
   ========================================================= */

/* Filter toolbar */
body.theme-blue .vehicles-v20 .vehicles-toolbar{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .vehicles-v20 .vehicles-toolbar form{
  background:transparent!important;
}
body.theme-blue .vehicles-v20 .vehicle-search input,
body.theme-blue .vehicles-v20 .vehicles-toolbar select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicles-v20 .vehicle-search input::placeholder{
  color:#bdd6e6!important;
}
body.theme-blue .vehicles-v20 .vehicle-search>span{
  color:#b9d5e6!important;
}
body.theme-blue .vehicles-v20 .vehicles-toolbar .secondary-btn{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Empty state */
body.theme-blue .vehicles-v20 .vehicles-empty{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .vehicles-v20 .vehicles-empty>strong{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicles-empty>small{
  color:#bad6e7!important;
}
body.theme-blue .vehicles-v20 .vehicles-empty .soft-full-btn{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Vehicle cards */
body.theme-blue .vehicles-v20 .vehicle-card{
  background:#126da9!important;
  border:1px solid rgba(229,247,255,.20)!important;
  color:#f7fbff!important;
  box-shadow:none!important;
}
body.theme-blue .vehicles-v20 .vehicle-card:hover{
  background:#177ebd!important;
  border-color:rgba(229,247,255,.30)!important;
}
body.theme-blue .vehicles-v20 .vehicle-card-head{
  border-color:rgba(229,247,255,.13)!important;
  color:#d7ebf6!important;
}
body.theme-blue .vehicles-v20 .vehicle-open{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicle-identity h2,
body.theme-blue .vehicles-v20 .vehicle-identity strong{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicle-identity p{
  color:#bad6e7!important;
}

/* Vehicle facts */
body.theme-blue .vehicles-v20 .vehicle-facts>span{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.12)!important;
}
body.theme-blue .vehicles-v20 .vehicle-facts small{
  color:#aecdde!important;
}
body.theme-blue .vehicles-v20 .vehicle-facts strong{
  color:#fff!important;
}

/* Next-event area */
body.theme-blue .vehicles-v20 .vehicle-next{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.12)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicles-v20 .vehicle-next small{
  color:#bad6e7!important;
}
body.theme-blue .vehicles-v20 .vehicle-next strong{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicle-next.warning{
  background:rgba(255,196,92,.16)!important;
  border-color:rgba(255,196,92,.28)!important;
}
body.theme-blue .vehicles-v20 .vehicle-next.danger{
  background:rgba(255,107,107,.16)!important;
  border-color:rgba(255,107,107,.28)!important;
}
body.theme-blue .vehicles-v20 .vehicle-next.ok{
  background:rgba(91,208,156,.14)!important;
  border-color:rgba(91,208,156,.24)!important;
}

/* Footer/actions */
body.theme-blue .vehicles-v20 .vehicle-footer{
  color:#bad6e7!important;
  border-color:rgba(229,247,255,.13)!important;
}
body.theme-blue .vehicles-v20 .vehicle-actions .icon-action{
  color:#dceff9!important;
}
body.theme-blue .vehicles-v20 .vehicle-actions .icon-action:hover{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
}

/* Vehicle status badges */
body.theme-blue .vehicles-v20 .vehicle-status{
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;
}
body.theme-blue .vehicles-v20 .vehicle-status.active{
  background:rgba(91,208,156,.20)!important;
  color:#d9fff0!important;
}
body.theme-blue .vehicles-v20 .vehicle-status.stored{
  background:rgba(255,196,92,.18)!important;
  color:#fff0c1!important;
}
body.theme-blue .vehicles-v20 .vehicle-status.sold{
  background:rgba(255,255,255,.10)!important;
  color:#e5f3fa!important;
}

/* Category panel */
body.theme-blue .vehicles-v20 .vehicle-category-panel{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .vehicles-v20 .vehicle-category-panel .side-panel-head h2{
  color:#fff!important;
}
body.theme-blue .vehicles-v20 .vehicle-category-panel .side-panel-head span{
  color:#bad6e7!important;
}
body.theme-blue .vehicles-v20 .vehicle-category-panel .category-cloud a{
  background:#126da9!important;
  color:#f5fbff!important;
  border-color:rgba(229,247,255,.17)!important;
}
body.theme-blue .vehicles-v20 .vehicle-category-panel .category-cloud a:hover{
  background:#177ebd!important;
}
body.theme-blue .vehicles-v20 .vehicle-category-panel .soft-full-btn{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Edit modal */
body.theme-blue .vehicle-modal-card{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-modal-card input,
body.theme-blue .vehicle-modal-card textarea,
body.theme-blue .vehicle-modal-card select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-modal-card label,
body.theme-blue .vehicle-modal-card .vehicle-section-title{
  color:#dceef8!important;
}
body.theme-blue .vehicle-modal-card .contract-file-upload{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.15)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-modal-card .contract-file-upload small{
  color:#bad6e7!important;
}

/* Detail modal */
body.theme-blue .vehicle-detail-card{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-detail-hero{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.15)!important;
  color:#fff!important;
}
body.theme-blue .vehicle-detail-hero h3{
  color:#fff!important;
}
body.theme-blue .vehicle-detail-hero p{
  color:#bad6e7!important;
}
body.theme-blue .vehicle-detail-card .contract-detail-grid>div{
  background:#126da9!important;
  border-color:rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-detail-card .contract-detail-grid small{
  color:#bad6e7!important;
}
body.theme-blue .vehicle-detail-card .contract-detail-grid strong{
  color:#fff!important;
}
body.theme-blue .vehicle-detail-card .contract-note,
body.theme-blue .vehicle-detail-card .contract-linked-files{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-detail-card .contract-note small,
body.theme-blue .vehicle-detail-card .contract-linked-files .side-panel-head span{
  color:#bad6e7!important;
}
body.theme-blue .vehicle-detail-card .contract-note p,
body.theme-blue .vehicle-detail-card .contract-linked-files .side-panel-head h2{
  color:#fff!important;
}
body.theme-blue .vehicle-detail-card .contract-file-row{
  background:#126da9!important;
  border-color:rgba(229,247,255,.12)!important;
  color:#f6fbff!important;
}
body.theme-blue .vehicle-detail-card .contract-file-row strong{
  color:#fff!important;
}
body.theme-blue .vehicle-detail-card .contract-file-row small{
  color:#bad6e7!important;
}


/* =========================================================
   V40.82 – Einstellungen Blue Theme correction
   Farblich analog Garantien / Verträge / Fahrzeuge.
   ========================================================= */

/* Main settings cards */
body.theme-blue .settings-card{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .settings-card-head{
  border-color:rgba(229,247,255,.14)!important;
}
body.theme-blue .settings-card-head h3{
  color:#ffffff!important;
}
body.theme-blue .settings-card-head p{
  color:#bad6e7!important;
}
body.theme-blue .settings-icon{
  background:#126da9!important;
  border-color:rgba(229,247,255,.16)!important;
  color:#ffffff!important;
}

/* Generic settings forms */
body.theme-blue .settings-form label,
body.theme-blue .theme-form label{
  color:#dceef8!important;
}
body.theme-blue .settings-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.theme-blue .settings-form textarea,
body.theme-blue .settings-form select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .settings-form input:disabled{
  background:#0a568a!important;
  color:#9fc1d5!important;
  opacity:1!important;
}
body.theme-blue .settings-form input::placeholder,
body.theme-blue .settings-form textarea::placeholder{
  color:#bdd6e6!important;
}
body.theme-blue .settings-help,
body.theme-blue .settings-hint{
  color:#bad6e7!important;
}

/* Profile image */
body.theme-blue .profile-picture-layout{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
}
body.theme-blue .profile-picture-actions strong{
  color:#ffffff!important;
}
body.theme-blue .profile-picture-actions small{
  color:#bad6e7!important;
}
body.theme-blue .avatar-upload-form{
  background:transparent!important;
}

/* Security */
body.theme-blue .security-badge{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .security-badge strong{
  color:#ffffff!important;
}
body.theme-blue .security-badge small{
  color:#bad6e7!important;
}
body.theme-blue .security-badge.good .status-dot{
  background:#5bd09c!important;
}
body.theme-blue .security-badge.warn .status-dot{
  background:#ffc45c!important;
}

body.theme-blue .passkey-settings-block{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .passkey-settings-head h4,
body.theme-blue .passkey-row strong{
  color:#ffffff!important;
}
body.theme-blue .passkey-settings-head p,
body.theme-blue .passkey-row small{
  color:#bad6e7!important;
}
body.theme-blue .passkey-settings-head .pill{
  background:#126da9!important;
  color:#ffffff!important;
  border-color:rgba(229,247,255,.17)!important;
}
body.theme-blue .passkey-row{
  background:#126da9!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .passkey-key-icon{
  background:#0a568a!important;
  color:#e8f7ff!important;
}
body.theme-blue .passkey-register-row{
  border-color:rgba(229,247,255,.14)!important;
}
body.theme-blue .passkey-register-row input{
  background:#084f80!important;
  color:#f6fbff!important;
  border-color:rgba(229,247,255,.22)!important;
}

/* Appearance */
body.theme-blue .appearance-options{
  gap:12px!important;
}
body.theme-blue .appearance-choice{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.16)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .appearance-choice:hover{
  background:#126da9!important;
  border-color:rgba(229,247,255,.26)!important;
}
body.theme-blue .appearance-choice.selected{
  background:#126da9!important;
  border-color:#66b8ff!important;
  box-shadow:0 0 0 1px rgba(102,184,255,.18)!important;
}
body.theme-blue .appearance-choice strong{
  color:#ffffff!important;
}
body.theme-blue .appearance-choice small{
  color:#bad6e7!important;
}

/* CalDAV / calendar sync */
body.theme-blue .calendar-sync-grid{
  gap:12px!important;
}
body.theme-blue .calendar-sync-info,
body.theme-blue .calendar-sync-howto,
body.theme-blue .calendar-password-once,
body.theme-blue .calendar-app-password-list,
body.theme-blue .caldav-diagnostics{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .calendar-sync-info>div,
body.theme-blue .calendar-app-password-row,
body.theme-blue .caldav-log-row{
  background:#126da9!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .calendar-sync-info small,
body.theme-blue .calendar-app-password-row small,
body.theme-blue .caldav-log-row small,
body.theme-blue .calendar-sync-howto small{
  color:#bad6e7!important;
}
body.theme-blue .calendar-sync-info strong,
body.theme-blue .calendar-app-password-row strong,
body.theme-blue .caldav-log-row strong,
body.theme-blue .calendar-sync-howto strong{
  color:#ffffff!important;
}
body.theme-blue .calendar-sync-howto li{
  color:#dceef8!important;
}
body.theme-blue .calendar-password-once strong{
  color:#ffffff!important;
}
body.theme-blue .calendar-password-once span,
body.theme-blue .calendar-password-once small{
  color:#bad6e7!important;
}
body.theme-blue .caldav-diagnostics summary{
  color:#ffffff!important;
}
body.theme-blue .caldav-diagnostics p{
  color:#bad6e7!important;
}
body.theme-blue .caldav-method{
  background:#084f80!important;
  color:#ffffff!important;
  border-color:rgba(229,247,255,.14)!important;
}

/* Navigation & favourites */
body.theme-blue .favorite-module-grid{
  gap:10px!important;
}
body.theme-blue .favorite-module-option{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .favorite-module-option:hover{
  background:#126da9!important;
  border-color:rgba(229,247,255,.24)!important;
}
body.theme-blue .favorite-module-option:has(input:checked){
  background:#126da9!important;
  border-color:#66b8ff!important;
}
body.theme-blue .favorite-module-copy strong{
  color:#ffffff!important;
}
body.theme-blue .favorite-module-copy small{
  color:#bad6e7!important;
}
body.theme-blue .favorite-module-icon{
  background:#084f80!important;
  color:#ffffff!important;
}

/* Start views / row-based settings */
body.theme-blue .default-view-settings,
body.theme-blue .future-setting,
body.theme-blue .settings-row-list{
  background:transparent!important;
}
body.theme-blue .default-view-row,
body.theme-blue .future-setting,
body.theme-blue .settings-row,
body.theme-blue .sync-device-row,
body.theme-blue .onedrive-mount-row{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .default-view-label strong,
body.theme-blue .future-setting strong,
body.theme-blue .settings-row strong,
body.theme-blue .sync-device-row strong,
body.theme-blue .onedrive-mount-row strong{
  color:#ffffff!important;
}
body.theme-blue .default-view-label small,
body.theme-blue .future-setting small,
body.theme-blue .settings-row small,
body.theme-blue .sync-device-row small,
body.theme-blue .onedrive-mount-row small{
  color:#bad6e7!important;
}

/* Notifications / toggles */
body.theme-blue .notification-setting,
body.theme-blue .notification-row,
body.theme-blue .toggle-row{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .notification-setting strong,
body.theme-blue .notification-row strong,
body.theme-blue .toggle-row strong{
  color:#ffffff!important;
}
body.theme-blue .notification-setting small,
body.theme-blue .notification-row small,
body.theme-blue .toggle-row small{
  color:#bad6e7!important;
}

/* OneDrive / Sync / storage blocks */
body.theme-blue .onedrive-settings-block,
body.theme-blue .sync-settings-block,
body.theme-blue .storage-settings-block,
body.theme-blue .storage-status-card,
body.theme-blue .storage-config-card{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .onedrive-settings-block h4,
body.theme-blue .sync-settings-block h4,
body.theme-blue .storage-settings-block h4,
body.theme-blue .storage-status-card strong,
body.theme-blue .storage-config-card strong{
  color:#ffffff!important;
}
body.theme-blue .onedrive-settings-block p,
body.theme-blue .sync-settings-block p,
body.theme-blue .storage-settings-block p,
body.theme-blue .storage-status-card small,
body.theme-blue .storage-config-card small{
  color:#bad6e7!important;
}

/* Root / admin / environment blocks */
body.theme-blue .environment-grid>div,
body.theme-blue .admin-module-row,
body.theme-blue .user-admin-row,
body.theme-blue .permission-row{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .environment-grid strong,
body.theme-blue .admin-module-row strong,
body.theme-blue .user-admin-row strong,
body.theme-blue .permission-row strong{
  color:#ffffff!important;
}
body.theme-blue .environment-grid small,
body.theme-blue .admin-module-row small,
body.theme-blue .user-admin-row small,
body.theme-blue .permission-row small{
  color:#bad6e7!important;
}

/* Buttons in settings */
body.theme-blue .settings-card .primary-btn{
  background:#168cff!important;
  border-color:#168cff!important;
  color:#ffffff!important;
}
body.theme-blue .settings-card .secondary-btn{
  background:#126da9!important;
  border-color:rgba(229,247,255,.18)!important;
  color:#ffffff!important;
}
body.theme-blue .settings-card .secondary-btn:hover{
  background:#177ebd!important;
  border-color:rgba(229,247,255,.28)!important;
}
body.theme-blue .settings-card .danger-btn{
  background:rgba(255,107,107,.18)!important;
  border-color:rgba(255,107,107,.30)!important;
  color:#ffd9d9!important;
}

/* Dividers / headings */
body.theme-blue .settings-card h4{
  color:#ffffff!important;
}
body.theme-blue .settings-card hr{
  border-color:rgba(229,247,255,.14)!important;
}
body.theme-blue .settings-card .side-panel-head h2{
  color:#ffffff!important;
}
body.theme-blue .settings-card .side-panel-head span{
  color:#bad6e7!important;
}


/* =========================================================
   V40.83 – Dateien Blue Theme correction
   Farblich analog Garantien / Verträge / Fahrzeuge.
   ========================================================= */

/* Header actions */
body.theme-blue .files-v14 .files-header-actions .primary-btn{
  background:#168cff!important;
  color:#fff!important;
  border-color:#168cff!important;
}
body.theme-blue .files-v14 .files-header-actions .secondary-btn{
  background:#0b69a8!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.20)!important;
}

/* Scope tabs */
body.theme-blue .files-v14 .storage-scope-tabs{
  gap:10px!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a{
  background:#0b67a5!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#dceef8!important;
  box-shadow:none!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a:hover{
  background:#126fae!important;
  color:#fff!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a.active{
  background:#168cff!important;
  color:#fff!important;
  border-color:#66b8ff!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a strong{
  color:#fff!important;
}
body.theme-blue .files-v14 .storage-scope-tabs a small{
  color:#bad6e7!important;
}

/* Toolbar / breadcrumbs / search / view buttons */
body.theme-blue .files-v14 .files-toolbar,
body.theme-blue .files-v14 .files-list-head{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .files-v14 .breadcrumbs,
body.theme-blue .files-v14 .breadcrumbs a{
  color:#dceef8!important;
}
body.theme-blue .files-v14 .files-search input{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .files-v14 .files-search input::placeholder{
  color:#bdd6e6!important;
}
body.theme-blue .files-v14 .files-search>span{
  color:#b9d5e6!important;
}
body.theme-blue .files-v14 .files-view-switch{
  background:#084f80!important;
  border:1px solid rgba(229,247,255,.18)!important;
}
body.theme-blue .files-v14 .files-view-switch button{
  color:#bcd7e8!important;
  background:transparent!important;
}
body.theme-blue .files-v14 .files-view-switch button.active{
  background:#168cff!important;
  color:#fff!important;
}

/* Main panel / side storage panel */
body.theme-blue .files-v14 .files-panel,
body.theme-blue .files-v14 .file-side-card{
  background:#095b92!important;
  border:1px solid rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
  box-shadow:none!important;
}
body.theme-blue .files-v14 .file-side-card h2,
body.theme-blue .files-v14 .file-side-card strong{
  color:#fff!important;
}
body.theme-blue .files-v14 .file-side-card p,
body.theme-blue .files-v14 .file-side-card small{
  color:#bad6e7!important;
}
body.theme-blue .files-v14 .storage-big-number{
  color:#7fc4ff!important;
}

/* List table */
body.theme-blue .files-v14 .explorer-list-table{
  background:transparent!important;
}
body.theme-blue .files-v14 .explorer-list-table thead th{
  background:#084c7a!important;
  color:#d8edf8!important;
  border-color:rgba(229,247,255,.17)!important;
}
body.theme-blue .files-v14 .explorer-list-table tbody td{
  background:#126da9!important;
  color:#f7fbff!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .files-v14 .explorer-list-table tbody tr:nth-child(even) td{
  background:#1066a0!important;
}
body.theme-blue .files-v14 .explorer-list-table tbody tr:hover td{
  background:#177ebd!important;
}
body.theme-blue .files-v14 .explorer-name strong,
body.theme-blue .files-v14 .folder-open strong,
body.theme-blue .files-v14 .file-card-open strong{
  color:#fff!important;
}
body.theme-blue .files-v14 .explorer-name small,
body.theme-blue .files-v14 .folder-open small,
body.theme-blue .files-v14 .file-card-open small{
  color:#bad6e7!important;
}
body.theme-blue .files-v14 .explorer-folder-icon,
body.theme-blue .files-v14 .explorer-file-icon{
  background:#0e6199!important;
  color:#fff!important;
}

/* Grid cards */
body.theme-blue .files-v14 .folder-card,
body.theme-blue .files-v14 .file-card-grid-item{
  background:#126da9!important;
  border:1px solid rgba(229,247,255,.18)!important;
  color:#f7fbff!important;
  box-shadow:none!important;
}
body.theme-blue .files-v14 .folder-card:hover,
body.theme-blue .files-v14 .file-card-grid-item:hover{
  background:#177ebd!important;
  border-color:rgba(229,247,255,.28)!important;
}
body.theme-blue .files-v14 .folder-glyph,
body.theme-blue .files-v14 .file-card-icon{
  background:#0e6199!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.12)!important;
}
body.theme-blue .files-v14 .file-card-actions .icon-action,
body.theme-blue .files-v14 .folder-actions .icon-action{
  color:#dceff9!important;
}
body.theme-blue .files-v14 .file-card-actions .icon-action:hover,
body.theme-blue .files-v14 .folder-actions .icon-action:hover{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
}

/* Empty state */
body.theme-blue .files-v14 .files-empty{
  background:#0e6199!important;
  border:1px solid rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .files-v14 .files-empty strong{
  color:#fff!important;
}
body.theme-blue .files-v14 .files-empty small,
body.theme-blue .files-v14 .files-empty p{
  color:#bad6e7!important;
}

/* Privacy badge / labels */
body.theme-blue .files-v14 .scope-privacy{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.14)!important;
  color:#e8f6ff!important;
}

/* Upload / move / folder picker / file detail modals */
body.theme-blue .file-detail-card,
body.theme-blue .folder-info-modal-card,
body.theme-blue .local-move-modal-card,
body.theme-blue .files-v14 .modal-card,
body.theme-blue .upload-progress-card{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .file-detail-top,
body.theme-blue .folder-info-body,
body.theme-blue .move-folder-tree,
body.theme-blue .folder-picker,
body.theme-blue .duplicate-upload-choice,
body.theme-blue .upload-progress-current,
body.theme-blue .upload-progress-list{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.14)!important;
  color:#f6fbff!important;
}
body.theme-blue .file-detail-meta>div,
body.theme-blue .folder-info-result,
body.theme-blue .move-folder-tree-node,
body.theme-blue .upload-progress-list>div{
  background:#126da9!important;
  border-color:rgba(229,247,255,.12)!important;
  color:#f6fbff!important;
}
body.theme-blue .file-detail-meta small,
body.theme-blue .folder-info-result small,
body.theme-blue .move-folder-tree-caption,
body.theme-blue .upload-progress-note{
  color:#bad6e7!important;
}
body.theme-blue .file-detail-meta strong,
body.theme-blue .folder-info-result strong{
  color:#fff!important;
}
body.theme-blue .files-v14 .modal-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.theme-blue .files-v14 .modal-card textarea,
body.theme-blue .files-v14 .modal-card select{
  background:#084f80!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .files-v14 .modal-card label{
  color:#dceef8!important;
}

/* Drop overlay / progress */
body.theme-blue .files-global-drop-overlay{
  background:rgba(5,67,108,.90)!important;
  color:#fff!important;
}
body.theme-blue .upload-progress-track{
  background:#084f80!important;
}
body.theme-blue .upload-progress-track>span{
  background:#168cff!important;
}


/* =========================================================
   V40.85 – Kontakte Blue Theme
   ========================================================= */
body.theme-blue .contacts85-bookbar,
body.theme-blue .contacts85-list-panel,
body.theme-blue .contacts85-detail{
  background:#095b92!important;
  border-color:rgba(229,247,255,.22)!important;
  color:#f6fbff!important;
}
body.theme-blue .contacts85-list-row:hover{background:#126da9!important}
body.theme-blue .contacts85-list-row.active{background:#177ebd!important}
body.theme-blue .contacts85-list-row strong,
body.theme-blue .contacts85-detail-person h2,
body.theme-blue .contacts85-detail-grid strong,
body.theme-blue .contacts85-detail-grid a{color:#fff!important}
body.theme-blue .contacts85-list-row small,
body.theme-blue .contacts85-detail-person p,
body.theme-blue .contacts85-detail-person small,
body.theme-blue .contacts85-detail-grid h3,
body.theme-blue .contacts85-detail-row>span,
body.theme-blue .contacts85-address>span,
body.theme-blue .contacts85-address small,
body.theme-blue .contacts85-facts span,
body.theme-blue .contacts85-import-note{color:#bad6e7!important}
body.theme-blue .contacts85-detail-grid>section{
  background:#126da9!important;
  border-color:rgba(229,247,255,.14)!important;
}
body.theme-blue .contacts85-form-section,
body.theme-blue .contacts85-repeat-row.address{
  background:#0e6199!important;
  border-color:rgba(229,247,255,.14)!important;
}
body.theme-blue .contacts85-form input:not([type=checkbox]):not([type=file]),
body.theme-blue .contacts85-form textarea,
body.theme-blue .contacts85-form select,
body.theme-blue .contacts85-search input{
  background:#084f80!important;
  color:#f6fbff!important;
  border-color:rgba(229,247,255,.22)!important;
}
body.theme-blue .contacts85-modal{
  background:#095b92!important;
  color:#fff!important;
  border-color:rgba(229,247,255,.22)!important;
}


/* V40.87 – Geräte & DAV */
body.theme-blue .dav-device-card{background:#095b92!important;border-color:rgba(229,247,255,.22)!important;color:#f6fbff!important}
body.theme-blue .dav-device-card input:not([type=checkbox]),body.theme-blue .dav-device-card select{
  background:#084f80!important;color:#f6fbff!important;border-color:rgba(229,247,255,.22)!important
}
body.theme-blue .dav-device-row{border-color:rgba(229,247,255,.11)!important}
