/* =========================================================================
   Chronos · Dial-Tagesansicht (Port des 24h-Dials aus ReAssign Pro, Stil "Modern").
   Alle Regeln sind auf .rp-dial-scope beschränkt, damit sie Chronos/Tailwind nicht berühren.
   ========================================================================= */
.rp-dial-scope {
  /* Basis-Token (ReAssign) … */
  --now-indicator: #7c3aed; --cycle-drop: #d24b54;
  --weather-clear: #f4bf3f; --weather-cloud: #a2acb7; --weather-rain: #1a89c5; --weather-snow: #99dfe3;
  --weather-night-ink: #26324d; --weather-moon: #e0e5eb;
  --weather-temp-cold: #5aa3ec; --weather-temp-cool: #5fc9db; --weather-temp-mild: #89da9b; --weather-temp-warm: #feb354; --weather-temp-hot: #f45246;
  --weather-uv-low: #95d7a2; --weather-uv-moderate: #e8cd62; --weather-uv-high: #fd923e; --weather-uv-very-high: #e9622e; --weather-uv-extreme: #a059b1;
  --weather-pressure-low: #f5519f; --weather-pressure-normal: #e87cc7; --weather-pressure-high: #d0a4e4;
  --cal-fill: rgba(255, 255, 255, .55);
  /* … überschrieben vom Stil "Modern" */
  --background: #fafafa; --foreground: #09090b;
  --card: #ffffff; --popover: #ffffff;
  --secondary: #f1f1f3; --muted-foreground: #71717a;
  --primary: #7c3aed; --primary-foreground: #ffffff; --primary-ink: #6d28d9;
  --border: #e4e4e7; --ring-strong: #09090b;
  --dot-grid: rgba(9, 9, 11, .045);
  --shadow-card: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow-popup: 0 1px 2px rgba(9, 9, 11, .06), 0 12px 32px -8px rgba(9, 9, 11, .16);
  color: var(--foreground);
  font-family: Geist, Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
.dark .rp-dial-scope {
  --weather-clear: #f9c635; --weather-cloud: #95a0ab; --weather-rain: #2ea2e5; --weather-snow: #83d4d8; --weather-night-ink: #0f1932; --weather-moon: #d0d8e1;
  --weather-temp-cold: #4d97de; --weather-temp-cool: #51bcce; --weather-temp-mild: #7ccd8e; --weather-temp-warm: #f7ac4d; --weather-temp-hot: #e6443a;
  --weather-uv-low: #88ca95; --weather-uv-moderate: #dbc054; --weather-uv-high: #ef852e; --weather-uv-very-high: #db551d; --weather-uv-extreme: #944da4;
  --weather-pressure-low: #ff61ab; --weather-pressure-normal: #fa85d6; --weather-pressure-high: #dfaef5;
  --cycle-drop: #ea6a6a; --cal-fill: rgba(255, 255, 255, .06);
  --background: #09090b; --foreground: #fafafa;
  --card: #141416; --popover: #18181b;
  --secondary: #1f1f23; --muted-foreground: #a1a1aa;
  --primary: #8b5cf6; --primary-foreground: #ffffff; --primary-ink: #a78bfa;
  --border: #27272a; --ring-strong: #fafafa;
  --now-indicator: #a78bfa; --dot-grid: rgba(255, 255, 255, .04);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-popup: 0 1px 2px rgba(0, 0, 0, .5), 0 16px 40px -8px rgba(0, 0, 0, .7);
}

/* ---------- Dial-Fläche in der Tagesansicht ---------- */
.rp-dial-scope.rp-dial-host {
  position: relative; width: 100%;
  flex: 1 1 auto; height: 100%; min-height: 440px;
  border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--background);
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.rp-dial-scope .dial-wrap { position: absolute; inset: 0 0 52px 0; }
.rp-dial-scope .dial { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; overflow: visible; }
.rp-dial-scope .dial svg { display: inline; }

/* ---------- Dial (aus ReAssign Pro, inkl. Modern-Overrides) ---------- */
.rp-dial-scope .ring-fill { fill: var(--secondary); }
.rp-dial-scope .ring-bg { fill: rgba(0, 0, 0, 0); stroke: var(--border); stroke-width: 1px; cursor: crosshair; }
.rp-dial-scope .now-fill { fill: color-mix(in srgb, var(--foreground) 4%, transparent); pointer-events: none; }
.rp-dial-scope .mid-guide { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 4; }
.rp-dial-scope .coil-shadow { fill: rgb(107, 93, 74); }
.dark .rp-dial-scope .coil-shadow { fill: #000; }
.rp-dial-scope .coil-lift { fill: #fff; }
.dark .rp-dial-scope .coil-lift { fill: #fff; opacity: .04 !important; }
.rp-dial-scope .coil-seam-rim { stroke-width: 1.25px; stroke-linecap: round; opacity: .8; }
.dark .rp-dial-scope .coil-seam-rim { opacity: .55; }
.rp-dial-scope .hour-tick { stroke: var(--muted-foreground); stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 3 4; opacity: .25; }
.rp-dial-scope .hour-tick.emphasized { stroke-width: 1.2px; opacity: .45; }
.rp-dial-scope .quarter-tick { stroke: var(--muted-foreground); stroke-width: .7px; stroke-linecap: round; opacity: .45; }
.rp-dial-scope .quarter-tick.half { opacity: .85; }
.rp-dial-scope .hour-label { fill: var(--muted-foreground); font-family: 'Geist Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.rp-dial-scope .hour-label:not(.hour-label-minor) { fill: var(--foreground); }
.rp-dial-scope .hour-label-num { font-size: 15px; font-weight: 500; }
.rp-dial-scope .hour-label-suffix { letter-spacing: .04em; opacity: .75; font-size: 10px; font-weight: 500; }
.rp-dial-scope .hour-label-minor { opacity: .5; }
.rp-dial-scope .hour-label-minor .hour-label-num { font-size: 9px; font-weight: 400; }
.rp-dial-scope .sun-ic { stroke: var(--muted-foreground); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.rp-dial-scope .temp-bar { stroke-width: 3; stroke-linecap: round; opacity: .92; }
.rp-dial-scope .uv-bar { stroke-width: 3; stroke-linecap: round; opacity: .9; }
.rp-dial-scope .wx-glyph { opacity: .95; }
.rp-dial-scope .wedge { transition: opacity .12s; }
.rp-dial-scope .wedge.past { opacity: .45; }
.rp-dial-scope .wedge.dim { opacity: .15; }
.rp-dial-scope .section { cursor: grab; outline: none; stroke-width: 1px; transition: stroke-width .12s, filter .12s; }
.rp-dial-scope .section.virtual { stroke-dasharray: none; stroke-opacity: .7; }
.rp-dial-scope .wedge:not(.past):hover .section, .rp-dial-scope .wedge.hover:not(.past) .section { filter: brightness(1.05) drop-shadow(0 1px 2px color-mix(in oklab, var(--foreground) 12%, transparent)); }
.rp-dial-scope .wedge.selected .section { filter: drop-shadow(0 1px 4px color-mix(in oklab, var(--foreground) 28%, transparent)); stroke-dasharray: 0; stroke: var(--ring-strong) !important; stroke-width: 2px; }
.rp-dial-scope .wedge.static .section { cursor: pointer; }
.rp-dial-scope .section-shade, .rp-dial-scope .section-light { stroke: none; pointer-events: none; }
.rp-dial-scope .section-glass { stroke: none; opacity: .7; mix-blend-mode: plus-lighter; pointer-events: none; }
.rp-dial-scope .section-contact { fill: rgb(11, 18, 32); opacity: .16; filter: url(#wedgeContact); pointer-events: none; }
.dark .rp-dial-scope .section-contact { fill: #000; opacity: .5; }
.rp-dial-scope .wedge.cal .section { stroke-width: 1.4px; }
.rp-dial-scope .dial.dragging .section { cursor: grabbing; }
.rp-dial-scope .section-handle { fill: var(--background); stroke-width: 2px; cursor: ew-resize; filter: drop-shadow(0 1px 2px #0003); }
.rp-dial-scope .handle { cursor: ew-resize; }
.rp-dial-scope .energy-seg { fill: none; stroke-width: 3; stroke-linecap: round; }
.rp-dial-scope .energy-arrow { stroke: none; }
.rp-dial-scope .now-line { stroke: var(--primary); stroke-width: 2.5px; stroke-linecap: round; }
.rp-dial-scope .now-dot { fill: var(--primary); filter: drop-shadow(0 0 3px color-mix(in oklab, var(--now-indicator) 55%, transparent)); transform-box: fill-box; transform-origin: center; animation: rp-now-pulse 2.4s ease-in-out infinite; }
.rp-dial-scope .now-ripple { fill: none; stroke: var(--now-indicator); stroke-width: 1.5px; transform-box: fill-box; transform-origin: center; animation: rp-now-ripple 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes rp-now-ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes rp-now-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.rp-dial-scope .allday-ring { cursor: pointer; outline: none; transition: opacity .12s; }
.rp-dial-scope .allday-ring circle { stroke-width: 3.2px; stroke-opacity: .95; transition: stroke-width .12s; }
.rp-dial-scope .allday-ring.past { opacity: .45; }
.rp-dial-scope .allday-ring.hover circle, .rp-dial-scope .allday-ring:focus-visible circle { stroke-width: 4.2px; }
.rp-dial-scope .callout { cursor: pointer; }
.rp-dial-scope .section-leader { fill: none; stroke-width: 1px; stroke-dasharray: 3 3; }
.rp-dial-scope .callout.hover .section-leader, .rp-dial-scope .callout.selected .section-leader { stroke-opacity: 1; }
.rp-dial-scope .co-title { font-size: 12.8px; font-weight: 600; fill: var(--foreground); }
.rp-dial-scope .co-time { font-size: 10.9px; fill: var(--muted-foreground); }
.rp-dial-scope .co-time .rep { fill: var(--muted-foreground); }
.rp-dial-scope .co-note { font-size: 10px; fill: color-mix(in srgb, var(--muted-foreground) 85%, transparent); }
.rp-dial-scope .callout.selected .co-title, .rp-dial-scope .callout.hover .co-title { font-weight: 700; }
.rp-dial-scope .center-date { font-size: 9.1px; letter-spacing: 1.2px; fill: var(--muted-foreground); font-family: 'Geist Mono', ui-monospace, monospace; }
.rp-dial-scope .center-day { font-family: Geist, Inter, sans-serif !important; font-weight: 700; letter-spacing: -1.5px; font-size: 34px !important; fill: var(--foreground); }
.rp-dial-scope .center-temps { font-size: 20px; font-weight: 500; fill: var(--foreground); }
.rp-dial-scope .center-sub { font-size: 10px; fill: var(--muted-foreground); }
.rp-dial-scope .center-pill { cursor: pointer; }
.rp-dial-scope .center-pill rect { fill: var(--card); stroke: var(--border); stroke-width: 1; }
.rp-dial-scope .center-pill:hover rect { fill: var(--secondary); }
.rp-dial-scope .pill-ic { stroke: var(--muted-foreground); stroke-width: 1.1; stroke-linecap: round; fill: none; }
.rp-dial-scope .weather-pill { cursor: pointer; }
.rp-dial-scope .weather-pill rect { fill: var(--card); stroke: var(--border); stroke-width: 1; }
.rp-dial-scope .weather-pill text { font-size: 9.1px; fill: var(--foreground); font-weight: 500; }
.rp-dial-scope .nav-btn { cursor: pointer; }
.rp-dial-scope .nav-btn circle { fill: var(--card); stroke: var(--border); stroke-width: 1; transition: fill .15s; }
.rp-dial-scope .nav-btn:hover circle { fill: var(--secondary); }
.rp-dial-scope .nav-btn path { stroke: var(--foreground); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rp-dial-scope .half-toggle { cursor: pointer; }
.rp-dial-scope .half-toggle rect { fill: var(--card); stroke: var(--border); }
.rp-dial-scope .half-toggle text { font-size: 10px; font-weight: 600; fill: var(--foreground); }
.rp-dial-scope .ghost { fill: color-mix(in srgb, var(--c) 30%, transparent); stroke: var(--c); stroke-width: 1.6; stroke-dasharray: 5 3; }
.rp-dial-scope .drag-tip { position: absolute; z-index: 30; pointer-events: none; background: #1d1b18; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; padding: 4px 8px; border-radius: 8px; opacity: 0; transition: opacity .1s; white-space: nowrap; }
.rp-dial-scope .drag-tip.in { opacity: 1; }
.rp-dial-scope .dial-data-focus:focus-visible circle { stroke: var(--primary); stroke-width: 2px; stroke-dasharray: 3 5; }
.rp-dial-scope .wx-hover { fill: var(--background); stroke: var(--foreground); stroke-width: 1.5; }
.rp-dial-scope :focus-visible { outline: 2px solid color-mix(in srgb, var(--primary) 70%, transparent); outline-offset: 2px; }
.rp-dial-scope .dial :focus { outline: none; }

/* ---------- untere Leiste: Ebenen + Kalender-Legende ---------- */
.rp-dial-scope .bottom-bar { position: absolute; left: 0; right: 0; bottom: 12px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; z-index: 10; overflow-x: auto; scrollbar-width: none; pointer-events: none; }
.rp-dial-scope .bottom-bar > * { pointer-events: auto; }
.rp-dial-scope .bottom-bar::-webkit-scrollbar { display: none; }
.rp-dial-scope .icon-btn { display: inline-grid; place-items: center; position: relative; color: var(--foreground); flex: none; }
.rp-dial-scope .icon-btn.round { width: 36px; height: 36px; border-radius: 26px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.rp-dial-scope .icon-btn.round:hover, .rp-dial-scope .icon-btn.round.open { background: var(--secondary); }
.rp-dial-scope .lg-group { display: flex; align-items: center; gap: 4px; }
.rp-dial-scope .lg-sep { width: 1px; height: 16px; background: var(--border); margin: 0 6px; flex: none; }
.rp-dial-scope .lg-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 2px 6px; border-radius: 22px; background: transparent; color: var(--muted-foreground); font-size: 12px; white-space: nowrap; }
.rp-dial-scope .lg-chip .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.rp-dial-scope .lg-chip i { font-family: Geist, Inter, sans-serif; font-style: normal; font-size: 12px; opacity: .8; }
.rp-dial-scope .lg-chip:hover, .rp-dial-scope .lg-chip.on { background: var(--secondary); color: var(--foreground); }
.rp-dial-scope .lg-hint { font-size: 11.5px; color: var(--muted-foreground); white-space: nowrap; margin-left: auto; padding-left: 12px; }
@media (max-width: 1500px) { .rp-dial-scope .lg-hint { display: none; } }

/* ---------- Ebenen-Menü (Popover) ---------- */
.rp-dial-scope.rp-dial-portal { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 70; }
.rp-dial-scope .rp-popover { position: fixed; z-index: 75; background: var(--popover); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-popup); padding: 6px; min-width: 250px; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.rp-dial-scope .rp-popover.in { opacity: 1; transform: none; }
.rp-dial-scope .menu-header { font-size: 12px; color: var(--muted-foreground); padding: 8px 10px 4px; }
.rp-dial-scope .menu-sep { height: 1px; background: var(--border); margin: 6px 4px; }
.rp-dial-scope .menu-item { width: 100%; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 10px; text-align: left; font-size: 13.5px; white-space: nowrap; color: var(--foreground); }
.rp-dial-scope .menu-item:hover { background: var(--secondary); }
.rp-dial-scope .menu-item:disabled { opacity: .6; cursor: default; background: transparent; }
.rp-dial-scope .menu-item .mi-ic { width: 18px; display: grid; place-items: center; color: var(--muted-foreground); }
.rp-dial-scope .menu-item .mi-label { flex: 1; }
.rp-dial-scope .menu-item .mi-right { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-foreground); font-size: 12px; }
.rp-dial-scope .menu-item .mi-check { color: var(--foreground); display: grid; }
.rp-dial-scope .menu-item .mi-check.off { opacity: 0; }
.rp-dial-scope .mi-btn { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--muted-foreground); }
.rp-dial-scope .mi-btn:hover { background: var(--border); color: var(--foreground); }

/* ---------- Hover-Karten am Dial ---------- */
.rp-dial-scope .dial-tooltip { position: fixed; z-index: 70; pointer-events: none; width: max-content; max-width: min(300px, calc(100vw - 16px)); color: var(--foreground); font-size: 14px; line-height: 1.45; }
.rp-dial-scope .dial-tooltip[hidden] { display: none; }
.rp-dial-scope .dt-card, .rp-dial-scope .dt-pill { background: var(--card); border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-popup); }
.dark .rp-dial-scope .dt-card, .dark .rp-dial-scope .dt-pill { background: var(--popover); }
.rp-dial-scope .dt-pill { background-color: var(--card); box-shadow: var(--shadow-card); }
.rp-dial-scope .dt-weather { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; min-width: 190px; }
.rp-dial-scope .dtw-top { display: flex; justify-content: space-between; gap: 20px; }
.rp-dial-scope .dtw-left { display: flex; flex-direction: column; gap: 2px; }
.rp-dial-scope .dtw-temp { font-family: 'Geist Mono', Geist, monospace; font-size: 24px; font-weight: 600; letter-spacing: -.6px; line-height: 44px; font-variant-numeric: tabular-nums; }
.rp-dial-scope .dtw-sub { font-size: 11px; color: var(--muted-foreground); white-space: nowrap; }
.rp-dial-scope .dtw-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rp-dial-scope .dtw-time { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-foreground); }
.rp-dial-scope .dtw-row { display: flex; justify-content: space-between; gap: 24px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 11px; }
.rp-dial-scope .dtw-row + .dtw-row { padding-top: 6px; border-top: 0; }
.rp-dial-scope .dtw-key { color: var(--muted-foreground); }
.rp-dial-scope .dtw-val { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; }
.rp-dial-scope .dt-energy { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; min-width: 184px; }
.rp-dial-scope .dte-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rp-dial-scope .dte-title { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.rp-dial-scope .dte-time { font-size: 10px; color: var(--muted-foreground); }
.rp-dial-scope .dte-sub, .rp-dial-scope .dte-note { font-size: 12px; color: var(--muted-foreground); }
.rp-dial-scope .dte-value { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; }
.rp-dial-scope .dte-num { font-family: 'Geist Mono', Geist, monospace; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rp-dial-scope .dte-gauge { display: flex; flex-direction: column; gap: 2px; }
.rp-dial-scope .dte-bar { display: flex; gap: 1px; }
.rp-dial-scope .dte-bar span { width: 4.4px; height: 12px; border-radius: 1px; }
.rp-dial-scope .dte-peak { font-size: 10px; color: var(--muted-foreground); }
.rp-dial-scope .dte-factors { display: flex; flex-direction: column; gap: 2px; }
.rp-dial-scope .dte-factor { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.rp-dial-scope .dt-pill { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }

/* ---------- Einstellungen-Modal: Steuerelemente ---------- */
.cx-set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.dark .cx-set-row { border-bottom-color: rgba(51, 65, 85, .6); }
.cx-set-row:last-child { border-bottom: 0; }
.cx-set-l { font-size: 12.5px; font-weight: 600; color: #1e293b; }
.dark .cx-set-l { color: #e2e8f0; }
.cx-set-d { font-size: 11px; color: #64748b; margin-top: 2px; line-height: 1.4; }
.dark .cx-set-d { color: #94a3b8; }
.cx-card { padding: 4px 16px; border-radius: 14px; border: 1px solid #e2e8f0; background: rgba(248, 250, 252, .6); }
.dark .cx-card { border-color: #334155; background: rgba(30, 41, 59, .4); }
.cx-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #334155; margin: 18px 0 8px; display: flex; align-items: center; gap: 6px; }
.cx-h:first-child { margin-top: 0; }
.dark .cx-h { color: #cbd5e1; }
.cx-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #e2e8f0; gap: 2px; flex: none; }
.dark .cx-seg { background: #0f172a; }
.cx-seg button { height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #64748b; white-space: nowrap; }
.dark .cx-seg button { color: #94a3b8; }
.cx-seg button.active { background: #ffffff; color: #0f172a; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.dark .cx-seg button.active { background: #334155; color: #f8fafc; }
.cx-toggle { width: 36px; height: 20px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; flex: none; }
.dark .cx-toggle { background: #475569; }
.cx-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cx-toggle.on { background: #7c3aed; }
.cx-toggle.on::after { transform: translateX(16px); }
.cx-input { height: 32px; padding: 0 10px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; color: #0f172a; outline: none; }
.cx-input:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
.dark .cx-input { background: #1e293b; border-color: #334155; color: #f1f5f9; }
.cx-input.time { width: 112px; font-variant-numeric: tabular-nums; text-align: center; }
.cx-range { -webkit-appearance: none; appearance: none; width: 150px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #7c3aed var(--p, 50%), #cbd5e1 var(--p, 50%)); outline: none; }
.dark .cx-range { background: linear-gradient(90deg, #8b5cf6 var(--p, 50%), #475569 var(--p, 50%)); }
.cx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid #cbd5e1; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); cursor: pointer; }
.cx-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 1px solid #cbd5e1; }
.cx-btn { height: 30px; padding: 0 12px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; background: #fff; color: #334155; display: inline-flex; align-items: center; gap: 6px; }
.cx-btn:hover { border-color: #a78bfa; color: #6d28d9; }
.dark .cx-btn { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.cx-btn.primary { background: #7c3aed; border-color: transparent; color: #fff; }
.cx-btn.primary:hover { background: #6d28d9; color: #fff; }
.cx-city { position: relative; }
.cx-city-results { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 12px 32px -8px rgba(15, 23, 42, .25); padding: 4px; max-height: 240px; overflow-y: auto; }
.dark .cx-city-results { background: #0f172a; border-color: #334155; }
.cx-city-results button { width: 100%; text-align: left; display: block; padding: 7px 10px; border-radius: 8px; font-size: 12px; color: #0f172a; }
.dark .cx-city-results button { color: #f1f5f9; }
.cx-city-results button:hover { background: #f1f5f9; }
.dark .cx-city-results button:hover { background: #1e293b; }
.cx-city-results small { color: #64748b; margin-left: 6px; }
.cx-phase { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.dark .cx-phase { border-bottom-color: rgba(51, 65, 85, .6); }
.cx-phase:last-child { border-bottom: 0; }
.cx-phase-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cx-phase-row .cx-input.grow { flex: 1; min-width: 120px; }
.cx-icon-sel { width: 40px; padding: 0 2px; }

/* ---------- Aktivitätstypen ---------- */
.rp-dial-scope .lg-chip.none { opacity: .55; }
.rp-dial-scope .lg-chip .ic { flex: none; }
.cx-type-row { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.dark .cx-type-row { border-bottom-color: rgba(51, 65, 85, .6); }
.cx-type-row:last-child { border-bottom: 0; }
.cx-type-swatch { display: inline-grid; place-items: center; flex: none; }
.cx-type-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-type-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 6px; border-radius: 999px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 12px; font-weight: 500; color: #334155; transition: border-color .12s, background .12s; }
.cx-type-chip:hover { border-color: #a78bfa; }
.cx-type-chip.on { border-color: #7c3aed; background: rgba(124, 58, 237, .08); color: #5b21b6; box-shadow: 0 0 0 2px rgba(124, 58, 237, .18); }
.cx-type-chip.manage { padding: 0 10px; background: transparent; border-style: dashed; color: #64748b; }
.cx-type-chip svg { flex: none; }
.cx-type-none { display: inline-grid; place-items: center; width: 16px; height: 16px; color: #94a3b8; }
.dark .cx-type-chip { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.dark .cx-type-chip.on { border-color: #8b5cf6; background: rgba(139, 92, 246, .16); color: #ddd6fe; }
.dark .cx-type-chip.manage { background: transparent; color: #94a3b8; }
