/* Vorlage: helle Oberfläche, dunkelblaue Seitenleiste, blaue Akzente */
:root{color-scheme:light;
--rf-bg:#f3f6fb;--rf-bg-soft:#eef2f9;--rf-surface:#fff;--rf-surface-2:#f6f8fc;--rf-surface-3:#e9eef7;
--rf-border:#dbe3ef;--rf-border-light:#c8d3e4;
--rf-primary:#1d5fe0;--rf-primary-dark:#1448b0;--rf-primary-soft:rgba(29,95,224,.10);
--rf-success:#12945a;--rf-success-soft:rgba(18,148,90,.12);
--rf-warning:#c77a05;--rf-warning-soft:rgba(245,158,11,.15);
--rf-danger:#d9304c;--rf-danger-soft:rgba(217,48,76,.10);
--rf-text:#12233f;--rf-text-soft:#33476a;--rf-muted:#6479a0;
--rf-shadow:0 6px 24px rgba(18,35,63,.08);--rf-sidebar:#0e2347;--rf-sidebar-width:232px}
body{background:var(--rf-bg);color:var(--rf-text)}
.rf-sidebar{background:linear-gradient(180deg,#112a55,#0b1c3b);border-right:0;--rf-text:#e8efff;--rf-text-soft:#c3d1ee;--rf-muted:#8ea5d1;--rf-border:#24407a;color:#e8efff}
.rf-sidebar *{color:inherit}
.rf-sidebar button:hover,.rf-sidebar a:hover{background:rgba(255,255,255,.08)}
.rf-sidebar .active,.rf-sidebar [aria-current],.rf-sidebar .is-active{background:#1d5fe0!important;color:#fff!important}
input,select,textarea{background:#fff;color:var(--rf-text);border-color:var(--rf-border)}
.rf-sidebar input,.rf-sidebar select{background:rgba(255,255,255,.08);color:#fff}
.bf-kpi,.sup-kpi,.rf-card,.rf-panel{background:#fff;border:1px solid var(--rf-border);box-shadow:0 2px 10px rgba(18,35,63,.05)}
.bf-kpi strong{color:#1d5fe0}
table th{background:var(--rf-surface-2);color:var(--rf-text-soft)}
table td{border-color:var(--rf-border)}
.rf-primary,button.primary,.rf-btn-primary{background:#1d5fe0;color:#fff;border-color:#1d5fe0}
/* helle Flächen */
.rf-ops-kpi,.rf-ops-section,.rf-ops-quick,.rf-choice-card,.rf-ops-task,.rf-ops-vehicle-card,.rf-input,.rf-search-input,.rf-select,.rf-textarea,.rf-media-preview{background:#fff!important;color:var(--rf-text)!important;border-color:var(--rf-border)!important}
.rf-ops-hero{background:linear-gradient(120deg,#1d5fe0,#0e2347)!important;color:#fff}
.rf-ops-hero *{color:#fff!important}
.rf-ops-kpi strong{color:#1d5fe0}
.rf-ops-vehicle-image{background:#e9eef7!important}
.rf-ops-kpi *,.rf-ops-section *,.rf-ops-quick *,.rf-ops-task *{color:inherit}
.rf-ops-kpi span,.rf-ops-section small,.rf-ops-quick small{color:var(--rf-muted)!important}
.rf-topbar input,.rf-search,.rf-search *,[class*=search]{background:#fff!important;color:var(--rf-text)!important;border-color:var(--rf-border)!important}
.rf-search kbd,.rf-search span:last-child{background:#eef2f9!important}
.rf-ops-donut,.rf-donut,[class*=donut] *{color:var(--rf-text)!important}
[class*=donut]>div,[class*=donut]>span{background:#fff!important}
.rf-toast{background:#0e2347!important;color:#fff!important}
h1,h2,h3,.rf-page-title,.rf-title,[class*=page-title],[class*=-title]{color:var(--rf-text)}
.rf-sidebar [class*=title],.rf-ops-hero h1,.rf-ops-hero h2{color:#fff}
.rf-button.primary,button.primary,.bf-btn,.sup-btn{background:#1d5fe0!important;color:#fff!important;border-color:#1d5fe0!important}
.vm-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:18px}
.vm-tile{background:#fff;border:1px solid var(--rf-border);border-radius:12px;padding:14px 16px;box-shadow:0 2px 10px rgba(18,35,63,.05)}
.vm-tile span{display:block;font-size:12px;color:var(--rf-muted)}.vm-tile strong{font-size:26px;color:var(--rf-text)}
.vm .bf-chart{background:#fff}.vm .bf-col i{background:#1d5fe0}
.vm-gantt{background:#fff;border:1px solid var(--rf-border);border-radius:12px;padding:10px 12px;overflow-x:auto}
.vm-row{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:10px;padding:4px 0;border-bottom:1px solid #eef2f9}
.vm-name small{display:block;color:var(--rf-muted);font-size:11px}.vm-name b{font-size:13px}
.vm-track{position:relative;height:22px;background:repeating-linear-gradient(90deg,#f3f6fb 0 calc(100%/14 - 1px),#e3eaf5 calc(100%/14 - 1px) calc(100%/14));border-radius:4px}
.vm-head .vm-track{height:16px;background:none}.vm-head span{position:absolute;font-size:10px;color:var(--rf-muted);transform:translateX(0)}
.vm-bar{position:absolute;top:3px;bottom:3px;border-radius:4px;display:block}
.vm-legend{display:flex;gap:16px;margin-top:8px;font-size:12px;color:var(--rf-muted)}.vm-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px}
