/* ee-shell-sunbar.css — see docs/project-shell.md
 * Zone E sun bar (bottom centre of the map, Zieldesign Konfiguration 2026-10-20):
 * markup from assets/js/pv3d/panel.js. Colours/geometry only from --ees-* tokens
 * (light/dark from the system setting, ee-shell-tokens.css).
 * Apple-style capsule (2.25.712): slim, floating, translucent with blur, enough air;
 * effects as icon toggles, details in the "⋯" popover, nothing is ever cut off.
 */
/* Handle to bring the hidden bar back (panel.js peek, A9 20.10.2026): small capsule at the
   bottom edge where the bar sits, shown only while the bar is hidden. */
.ees-sunbar-peek {
    position: absolute;
    z-index: 5;
    bottom: var(--ees-gap);
    /* layout v2.1: free zone F (--ees-f-left/right, map capsule --ees-capsule-w); before: rail + capsule */
    left: var(--ees-f-left, calc(var(--ees-left-w) + var(--ees-gap) * 2));
    right: calc(var(--ees-f-right, var(--ees-gap)) + var(--ees-capsule-w, 204px) + var(--ees-gap));
    width: max-content;
    margin-inline: auto;
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px 0 10px;
    border-radius: 16px;
    border: 1px solid var(--ees-glass-border);
    background: var(--ees-glass-bg);
    box-shadow: var(--ees-glass-shadow), var(--ees-float-shadow);
    -webkit-backdrop-filter: var(--ees-backdrop);
    backdrop-filter: var(--ees-backdrop);
    color: var(--ees-text);
    font: 600 12px/1 var(--ees-font);
    cursor: pointer;
}
.ees-sunbar-peek:hover { background: var(--ees-glass-solid, var(--ees-glass-bg)); }
.ees-sunbar-peek:focus-visible { outline: 2px solid var(--ees-accent); outline-offset: 2px; }
.ees-sunbar-peek[hidden] { display: none !important; }
.ees-sunbar-peek__i { width: 16px; height: 16px; fill: none; stroke: var(--ees-sun, currentColor); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
body[data-ees-module]:not([data-ees-module="config"]) .ees-sunbar-peek,
#mapContainerEntry:not(.active) .ees-sunbar-peek { display: none !important; }
@media (max-width: 900px) {
    .ees-sunbar-peek { right: calc(var(--ees-f-right, var(--ees-gap)) + var(--ees-bar-h) + var(--ees-gap)); }
}

.ees-sunbar {
    /* day track colours (panel.js dayGradient) */
    --ees-sunbar-night: var(--ees-sky-night);
    --ees-sunbar-dusk: var(--ees-sky-dusk);
    --ees-sunbar-day: var(--ees-sky-day);
    --ees-sunbar-edge: calc(var(--ees-f-right) + var(--ees-capsule-w) + var(--ees-gap)); /* map capsule E2 right of it, in F */
    --ees-sunbar-h: var(--ees-bar-h);

    position: absolute;
    z-index: 5;
    bottom: var(--ees-gap);
    left: var(--ees-f-left);
    right: var(--ees-sunbar-edge);
    max-width: 680px;
    /* sits right next to the map capsule (exactly one --ees-gap between them), not centred
       with a varying distance: both bars read as one bottom row */
    margin-left: auto;
    margin-right: 0;
    height: var(--ees-sunbar-h);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 var(--ees-bar-pad);
    border-radius: var(--ees-bar-radius);
    background: var(--ees-glass-bg);
    border: 1px solid var(--ees-glass-border);
    box-shadow: var(--ees-bar-shadow);
    -webkit-backdrop-filter: var(--ees-backdrop);
    backdrop-filter: var(--ees-backdrop);
    color: var(--ees-text);
    font: 12px/1.35 var(--ees-font);
}
.ees-sunbar[hidden],
.ees-sunbar [hidden] { display: none !important; }

/* only in the module "Konfiguration" (without the attribute: as before) and with the map open */
body[data-ees-module]:not([data-ees-module="config"]) .ees-sunbar,
#mapContainerEntry:not(.active) .ees-sunbar { display: none !important; }

/* Layout v2.1: the bar lives only in the free zone F (--ees-f-left/--ees-f-right follow the
   rail and the inspector), so it never runs below a panel. Below 900 px the map capsule
   falls back to its narrow vertical column (ee-shell-map.css, same breakpoint). */
@media (max-width: 900px) {
    .ees-sunbar { --ees-sunbar-edge: calc(var(--ees-f-right) + var(--ees-bar-h) + var(--ees-gap)); }
}

.ees-sunbar button { font: inherit; color: inherit; cursor: pointer; }
.ees-sunbar__icon { width: var(--ees-bar-icon); height: var(--ees-bar-icon); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* date (the live sun line lives in the popover) */
.ees-sunbar__date { position: relative; flex: none; display: flex; align-items: center; gap: 3px; padding: 6px 8px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ees-sunbar__date:hover { background: var(--ees-surface-3); }
.ees-sunbar__caret { width: 14px; height: 14px; color: var(--ees-text-dim); }
/* native date input lies invisibly over the label; panel.js opens its picker (showPicker) */
.ees-sunbar__date-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; }
.ees-sunbar__date:focus-within { outline: 2px solid var(--ees-accent); outline-offset: 2px; }
.ees-sunbar__sun { font-size: 12px; color: var(--ees-text-2); font-variant-numeric: tabular-nums; }

/* play */
.ees-sunbar__play { width: var(--ees-bar-btn); height: var(--ees-bar-btn); flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ees-accent); color: var(--ees-accent-text); }
.ees-sunbar__play .ees-sunbar__icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.ees-sunbar__play:hover { background: var(--ees-accent-strong); }
.ees-sunbar__play:focus-visible { outline: 2px solid var(--ees-accent); outline-offset: 2px; }

/* day slider 0-24 with bubble and scale */
.ees-sunbar__day { position: relative; flex: 1; min-width: 140px; padding-top: 4px; }
.ees-sunbar__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; }
.ees-sunbar__range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: var(--ees-sunbar-track, var(--ees-surface-3)); }
.ees-sunbar__range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--ees-sunbar-track, var(--ees-surface-3)); }
.ees-sunbar__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; box-sizing: border-box; border-radius: 50%; background: var(--ees-knob); border: 0; box-shadow: var(--ees-float-shadow); }
.ees-sunbar__range::-moz-range-thumb { width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; background: var(--ees-knob); border: 0; box-shadow: var(--ees-float-shadow); }
.ees-sunbar__range:focus-visible { outline: 2px solid var(--ees-accent); outline-offset: 3px; border-radius: 99px; }
.ees-sunbar__bubble { position: absolute; bottom: calc(100% + 2px); transform: translateX(-50%); padding: 2px 7px; border-radius: 99px; background: var(--ees-text); color: var(--ees-bg); font-size: 11px; font-weight: 650; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.ees-sunbar__ticks { display: flex; justify-content: space-between; margin-top: 1px; padding: 0 4px; font-size: 9.5px; color: var(--ees-text-dim); }

/* Jetzt */
.ees-sunbar__pill { flex: none; padding: 6px 12px; border-radius: 99px; border: 0; background: var(--ees-surface-3); font-size: 12px; font-weight: 600; color: var(--ees-text-2); white-space: nowrap; }
.ees-sunbar__pill:hover { color: var(--ees-text); }
.ees-sunbar__pill--live { color: var(--ees-accent-strong); background: var(--ees-accent-soft); }

/* icon toggles Schatten / Backtracking / Sturmstellung */
.ees-sunbar__toggles { display: flex; align-items: center; gap: 2px; flex: none; padding: 2px; border-radius: 99px; background: var(--ees-surface-2); }
.ees-sunbar__tgl { width: calc(var(--ees-bar-btn) - 4px); height: calc(var(--ees-bar-btn) - 4px); display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ees-text-dim); transition: background .15s, color .15s; }
.ees-sunbar__tgl:hover { color: var(--ees-text); background: var(--ees-surface-3); }
.ees-sunbar__tgl.is-on { color: var(--ees-accent-text); background: var(--ees-accent); }
.ees-sunbar__tgl[aria-disabled="true"] { color: var(--ees-text-faint); background: transparent; opacity: .55; cursor: not-allowed; }
.ees-sunbar__tgl:focus-visible { outline: 2px solid var(--ees-accent); outline-offset: 1px; }
.ees-sunbar__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* short note above the capsule (panel.js flash) */
.ees-sunbar__flash { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); max-width: min(440px, 90vw); padding: 7px 12px; border-radius: 12px; background: var(--ees-glass-bg); border: 1px solid var(--ees-glass-border); box-shadow: var(--ees-glass-shadow), var(--ees-float-shadow); -webkit-backdrop-filter: var(--ees-backdrop); backdrop-filter: var(--ees-backdrop); font-size: 12px; color: var(--ees-text-2); text-align: center; pointer-events: none; }

/* compact capsule (panel.js, narrower than COMPACT_W): date, Jetzt and toggles sit in the popover */
.ees-sunbar__slot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ees-border); }

/* "⋯" menu */
.ees-sunbar__morewrap { position: relative; flex: none; }
.ees-sunbar__more { position: relative; width: var(--ees-bar-btn); height: var(--ees-bar-btn); border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--ees-text-dim); }
.ees-sunbar__more:hover { background: var(--ees-surface-3); color: var(--ees-text); }
.ees-sunbar__more .ees-sunbar__icon { stroke-width: 3.2; }
.ees-sunbar__more[aria-expanded="true"] { background: var(--ees-surface-3); color: var(--ees-text); }
.ees-sunbar__more.is-on, .ees-sunbar__more.is-on:hover { color: var(--ees-accent-text); background: var(--ees-accent); }
.ees-sunbar__more--hints::after { content: ""; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ees-warn); }
.ees-sunbar__menu { position: absolute; right: 0; bottom: calc(100% + 12px); width: 300px; max-height: 60vh; overflow-y: auto; box-sizing: border-box; padding: 12px; display: grid; gap: 8px; border-radius: var(--ees-radius); background: var(--ees-glass-bg); border: 1px solid var(--ees-glass-border); box-shadow: var(--ees-glass-shadow), var(--ees-float-shadow); -webkit-backdrop-filter: var(--ees-backdrop); backdrop-filter: var(--ees-backdrop); }
.ees-sunbar__level { padding-top: 8px; border-top: 1px solid var(--ees-border); font-size: 11px; font-weight: 600; color: var(--ees-text-dim); }
.ees-sunbar__level[data-level="today"] { color: var(--ees-warn); }
/* own glass card above the capsule (addSheet, e.g. Bewirtschaftung): wide enough for the values, scrolls when low */
.ees-sunbar__sheet { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(360px, calc(100vw - 2 * var(--ees-gap))); max-height: min(72vh, calc(100vh - var(--ees-top) - var(--ees-sunbar-h) - 2 * var(--ees-gap))); overflow-y: auto; box-sizing: border-box; padding: 14px 14px 12px; border-radius: var(--ees-radius-panel); background: var(--ees-glass-bg); border: 1px solid var(--ees-glass-border); box-shadow: var(--ees-glass-shadow), var(--ees-float-shadow); -webkit-backdrop-filter: var(--ees-backdrop); backdrop-filter: var(--ees-backdrop); color: var(--ees-text); z-index: 2; }
.ees-sunbar__sheetclose { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--ees-surface-3); color: var(--ees-text-dim); font-size: 16px; line-height: 1; cursor: pointer; }
.ees-sunbar__sheetclose:hover { color: var(--ees-text); }
.ees-sunbar__sheet .ees-sim__head { padding-right: 34px; }
.ees-sunbar__detail, .ees-sunbar__faint, .ees-sunbar__note { color: var(--ees-text-dim); font-size: 11px; }
.ees-sunbar__hints { margin: 0; padding: 6px 8px 6px 22px; border-radius: var(--ees-radius-sm); background: color-mix(in srgb, var(--ees-warn) 14%, transparent); color: var(--ees-text); }
.ees-sunbar__item { text-align: left; padding: 7px 9px; border-radius: var(--ees-radius-sm); border: 1px solid var(--ees-border); background: var(--ees-surface-2); }
.ees-sunbar__item:hover { border-color: var(--ees-accent); }
.ees-sunbar__item:disabled { opacity: .5; cursor: not-allowed; }
.ees-sunbar__choice { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 4px 2px; font-size: 12px; }
.ees-sunbar__choice > span { opacity: .75; margin-right: 3px; }
.ees-sunbar__chip { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ees-border); background: var(--ees-surface-2); color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
.ees-sunbar__chip:hover { border-color: var(--ees-accent); }
.ees-sunbar__chip[aria-pressed="true"] { background: var(--ees-step-2); border-color: var(--ees-step-2); color: var(--ees-accent-text); }

/* phone: full width at the bottom; panel.js switches to the compact capsule (play + slider + ⋯) */
@media (max-width: 767px) {
    .ees-sunbar,
    body.ees-inspector-open .ees-sunbar { left: var(--ees-gap); right: var(--ees-gap); max-width: none; }
    .ees-sunbar__menu { width: min(300px, calc(100vw - 2 * var(--ees-gap))); }
}

/* Load fix: "3D wird geladen …" while today's boxes stay hidden and only flat
 * module outlines show (project-init.js pv3dBootHint). Glass capsule like the
 * sun bar, top centre of the map, gone with the first 3D frame. */
.ees-pv3d-loading {
    position: absolute;
    z-index: 5;
    top: calc(var(--ees-top) + var(--ees-toolbar-h) + 12px); /* hint row: centred in F, below the toolbar */
    left: calc((var(--ees-f-left) + 100% - var(--ees-f-right)) / 2);
    transform: translateX(-50%);
    padding: 6px 14px 6px 32px;
    border-radius: 999px;
    background: var(--ees-glass-bg);
    border: 1px solid var(--ees-glass-border);
    box-shadow: var(--ees-glass-shadow), var(--ees-float-shadow);
    -webkit-backdrop-filter: var(--ees-backdrop);
    backdrop-filter: var(--ees-backdrop);
    color: var(--ees-text-2);
    font: 12px/1.35 var(--ees-font);
    pointer-events: none;
    white-space: nowrap;
}
.ees-pv3d-loading::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--ees-text-faint);
    border-top-color: var(--ees-accent);
    animation: ees-pv3d-spin 0.9s linear infinite;
}
@keyframes ees-pv3d-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .ees-pv3d-loading::before { animation: none; }
}

/* 2D-Rueckfall (3D laedt nicht): derselbe Glas-Hinweis, ohne Kreisel, mit "Erneut versuchen" (project-init.js pv3dFallbackNotice) */
.ees-pv3d-loading.ees-pv3d-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 4px 14px;
    pointer-events: auto;
}
.ees-pv3d-loading.ees-pv3d-notice::before { content: none; }
.ees-pv3d-notice button {
    border: 0;
    border-radius: 999px;
    padding: 3px 10px;
    background: transparent;
    color: var(--ee-accent-green); /* text green: AA in both modes (the button-fill accent is 3:1 on light glass) */
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.ees-pv3d-notice button:hover,
.ees-pv3d-notice button:focus-visible { background: var(--ees-glass-border); outline: none; }
.ees-pv3d-notice .ees-pv3d-notice-close { color: var(--ees-text-dim); font-weight: 400; padding: 3px 7px; }

/* Nera, the company dog: paw marker above her while the map is zoomed out (pv3d/nera/controller.js) */
.ees-nera-marker { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: var(--ees-accent-text); background: var(--ees-accent); box-shadow: var(--ees-tip-shadow); }
.ees-nera-marker .ees-sunbar__icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
/* Nera summon: ring filling under the pointer while it is held still (nera/controller.js) */
.ees-nera-hold { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; pointer-events: none; z-index: 4; color: var(--ees-step-1); filter: drop-shadow(var(--ees-tip-shadow)); }
.ees-nera-hold[data-phase="1"] { color: var(--ees-step-2); }
.ees-nera-hold[data-phase="2"] { color: var(--ees-step-3); }
.ees-nera-hold svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ees-nera-hold circle { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.ees-nera-hold__track { opacity: 0.25; }

/* Tour of the plant (pv3d/tour/controller.js): caption chip with the progress bar (yellow → blue → green)
   at the top centre of the map while a tour runs; "×" ends it. */
/* ── Tour (pv3d/tour/controller.js): floating control bottom centre, captions at the components,
      cinema mode body.ees-cinema (the shell's chrome fades out, comes back exactly at the end) ── */
.ees-tour { position: absolute; z-index: 7; bottom: calc(var(--ees-gap, 12px) + 6px); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; border-radius: 20px; color: var(--ees-text); font: 600 13px/1 var(--ees-font); white-space: nowrap; pointer-events: auto; animation: ees-tour-in .18s ease-out; }
@keyframes ees-tour-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.ees-tour__icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ees-tour.is-paused .ees-tour__icon { opacity: .5; }
.ees-tour { transition: opacity .3s ease; }
.ees-tour.is-idle { opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.ees-tour__bar { position: relative; width: 120px; height: 5px; border-radius: 3px; background: var(--ees-surface-3); overflow: hidden; }
.ees-tour__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--ees-warn), var(--ees-info), var(--ees-accent)); background-repeat: no-repeat; }
.ees-tour__btn { height: 28px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--ees-surface-3); color: var(--ees-text); font: 600 12px/1 var(--ees-font); cursor: pointer; }
.ees-tour__btn:hover { background: var(--ees-surface-4, var(--ees-surface-3)); }
.ees-tour__btn:focus-visible { outline: 2px solid var(--ees-accent); outline-offset: 1px; }
.ees-tour__btn--end { background: transparent; color: var(--ees-text-dim); }
.ees-tour__btn--end:hover { color: var(--ees-text); }
.ees-tour-clock { position: absolute; z-index: 7; top: var(--ees-gap, 12px); right: var(--ees-gap, 12px); padding: 8px 14px; border-radius: 16px; color: var(--ees-text); font: 600 16px/1 var(--ees-font); font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.ees-tour-clock { background: var(--ees-tour-glass); -webkit-backdrop-filter: var(--ees-backdrop); backdrop-filter: var(--ees-backdrop); border: 1px solid var(--ees-tour-border); color: var(--ees-tour-text); font-size: 14px; padding: 7px 12px; border-radius: 14px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--ees-font, system-ui), sans-serif; }
.ees-tour-clock.is-on { opacity: 1; }
/* Tour logo badge: the light word mark top left, straight on the scene with a soft shadow (no plate, Till 01.11.2026) */
.ees-tour-logo { position: absolute; z-index: 7; top: var(--ees-gap, 12px); left: var(--ees-gap, 12px); display: flex; align-items: center; height: 36px; padding: 0 2px; background: none; border: 0; pointer-events: none; animation: ees-tour-fade .4s ease both; }
@keyframes ees-tour-fade { from { opacity: 0; } to { opacity: 1; } }
.ees-tour-logo img { display: block; height: 26px; width: auto; max-width: 150px; object-fit: contain; padding: 0; border-radius: 0; background: none; filter: drop-shadow(0 2px 6px var(--ees-tour-shade-45)) drop-shadow(0 0 1px var(--ees-tour-shade-35)); }
/* Tour cards (Till 01.11.2026, Apple-like): deep dark glass, 20 px radius, 1 px inner highlight, the brand accent on the
   left edge; eyebrow (category) in small caps, the model as the bold title, values in tabular figures, hairlines <= 8 %.
   Side cards fade and scale in from their edge (260 ms), a thin accent leader runs from a dot at the card to the object. */
.ees-tour-card { --ees-tour-line: var(--ees-tour-white-08); --ees-tour-line-strong: var(--ees-tour-white-08); --ees-tour-hl: var(--ees-tour-white-10); position: absolute; z-index: 6; top: 50%; width: min(300px, calc(100vw - 48px)); padding: 16px 18px 14px 20px; border-radius: 20px; box-sizing: border-box; overflow: hidden; color: var(--ees-tour-text); background: var(--ees-tour-glass-58); -webkit-backdrop-filter: var(--ees-backdrop-tour); backdrop-filter: var(--ees-backdrop-tour); border: 1px solid var(--ees-tour-white-14); box-shadow: inset 0 1px 0 var(--ees-tour-white-18), 0 24px 60px var(--ees-tour-shade-45), 0 2px 8px var(--ees-tour-shade-25); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--ees-font, system-ui), sans-serif; -webkit-font-smoothing: antialiased; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .26s ease, transform .26s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .26s; }
.ees-tour-card.is-left { left: 24px; transform: translate(-20px, -50%) scale(.96); }
.ees-tour-card.is-right { right: 24px; transform: translate(20px, -50%) scale(.96); }
.ees-tour-card.is-on { opacity: 1; visibility: visible; transform: translate(0, -50%) scale(1); transition: opacity .26s ease, transform .26s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.ees-tour-card__accent { position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--ees-step-1), var(--ees-step-2), var(--ees-step-3)); }
.ees-tour-card__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--ees-tour-text-dim); margin-bottom: 4px; }
.ees-tour-card__title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 10px; }
.ees-tour-card__count { font-weight: 500; color: var(--ees-tour-text-dim); }
.ees-tour-card__row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--ees-tour-line); font-size: 13px; line-height: 1.35; }
.ees-tour-card__label { color: var(--ees-tour-text-dim); flex: 0 0 auto; font-weight: 400; }
.ees-tour-card__value { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
/* mixed models: one row per model, the one the leader points at highlighted, the sum row set off */
.ees-tour-card__row.is-hl { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 8px; border-top-color: transparent; background: var(--ees-tour-hl); }
.ees-tour-card__row.is-hl .ees-tour-card__label { color: var(--ees-tour-text); }
.ees-tour-card__row.is-hl + .ees-tour-card__row { border-top-color: transparent; }
.ees-tour-card__row.is-sum { border-top: 1px solid var(--ees-tour-line-strong); font-weight: 600; }
.ees-tour-card__row.is-sum .ees-tour-card__label { color: var(--ees-tour-text-2); }
.ees-tour-leader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.ees-tour-leader line { stroke: var(--ees-step-3); stroke-width: 1.2; opacity: 0; transition: opacity .26s ease; }
.ees-tour-leader circle { fill: var(--ees-step-3); stroke: none; opacity: 0; transition: opacity .26s ease; }
.ees-tour-leader line.is-on, .ees-tour-leader circle.is-on { opacity: 1; }
/* Opening card: the word mark, the brand bar, "Eckdaten" as the eyebrow and the project name big, then the facts */
.ees-tour-card.is-facts { left: 50%; right: auto; top: 18%; width: min(380px, calc(100vw - 48px)); padding-top: 20px; transform: translate(-50%, -12px) scale(.96); }
.ees-tour-card.is-facts.is-on { transform: translate(-50%, 0) scale(1); }
.ees-tour-card.is-facts .ees-tour-card__eyebrow, .ees-tour-card.is-facts .ees-tour-card__title { text-align: center; }
.ees-tour-card.is-facts .ees-tour-card__title { font-size: 22px; margin-bottom: 12px; }
/* Closing recap: the brand over the plant's five numbers */
.ees-tour-card.is-recap { top: 50%; width: min(400px, calc(100vw - 48px)); transform: translate(-50%, calc(-50% + 12px)) scale(.96); }
.ees-tour-card.is-recap.is-on { transform: translate(-50%, -50%) scale(1); }
.ees-tour-card.is-recap .ees-tour-card__title { font-size: 20px; }
.ees-tour-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.ees-tour-brand img { display: block; height: 34px; width: auto; max-width: 240px; padding: 0; border-radius: 0; background: none; filter: drop-shadow(0 2px 6px var(--ees-tour-shade-35)); }
.ees-tour-brand__bar { display: block; width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--ees-step-1), var(--ees-step-2), var(--ees-step-3)); }
/* End frame: the light word mark, the bar and doppelernte.de centred on dark glass over the last wide shot; fades in and out */
.ees-tour-end { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--ees-tour-veil-66); -webkit-backdrop-filter: var(--ees-backdrop-tour-end); backdrop-filter: var(--ees-backdrop-tour-end); color: var(--ees-tour-text); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--ees-font, system-ui), sans-serif; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.ees-tour-end.is-on { opacity: 1; }
.ees-tour-end img { display: block; height: 64px; width: auto; max-width: min(360px, 70vw); padding: 0; border-radius: 0; background: none; filter: drop-shadow(0 4px 14px var(--ees-tour-shade-45)); }
.ees-tour-end__bar { display: block; width: 96px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--ees-step-1), var(--ees-step-2), var(--ees-step-3)); }
.ees-tour-end__site { font-size: 17px; font-weight: 500; letter-spacing: .02em; color: var(--ees-tour-white-85); }
@media (max-width: 600px) { .ees-tour-card { top: auto; bottom: 96px; transform: translate(0, 0); } .ees-tour-card.is-left, .ees-tour-card.is-right { left: 16px; right: 16px; width: auto; transform: translate(0, 24px); } .ees-tour-card.is-on { transform: translate(0, 0); } .ees-tour-card.is-facts { top: 72px; bottom: auto; width: min(360px, calc(100vw - 32px)); } .ees-tour-card.is-recap { top: 50%; width: min(400px, calc(100vw - 32px)); } .ees-tour-brand img { height: 32px; } }
body.ees-cinema :is(#ee-toast-container, .ee-toast-statusbar, .ee-toast-sb-expanded, .ee-work-bar, .ee-work-pill, .ee-work-lock, .ees-hist-toast, .ees-coedit-banner, .topNavigationBar.ees-header, .ees-left, .ees-inspector, .ees-toolbar-wrap, .ees-mapedge, .ees-sunbar, .ees-sunbar-peek, #layerLegendContainer, #nearbyCompanyPanel, .ees-maplabel, .mapboxgl-ctrl-group, #mapControlsTopRight, #turnTiltContainer, .blueprintMapPopup, .ee-floating-widgets, .ee-agent-bubble, #analyse-container.dashboardView-container, .ees-nera-marker) { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .35s ease, visibility 0s linear .35s; }
/* EverHold spec bullets and weather chips on the tour cards (Till 01.11.2026): small line icons, dim text, unit chips */
.ees-tour-card.has-specs { width: min(340px, calc(100vw - 48px)); }
.ees-tour-ico { width: 14px; height: 14px; flex: 0 0 14px; display: inline-block; vertical-align: -2px; }
.ees-tour-card__list { margin-top: 4px; border-top: 1px solid var(--ees-tour-line); padding-top: 4px; }
.ees-tour-card__bullet { display: flex; align-items: flex-start; gap: 9px; padding: 4px 0; font-size: 12px; line-height: 1.3; color: var(--ees-tour-text-2, var(--ees-tour-white-86)); }
.ees-tour-card__bullet .ees-tour-ico { margin-top: 1px; color: var(--ees-step-3); }
.ees-tour-card__bullet-text { flex: 1 1 auto; min-width: 0; }
.ees-tour-card__chips-title { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--ees-tour-line); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ees-tour-text-dim); line-height: 1.3; }
.ees-tour-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ees-tour-card__chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px; border-radius: 12px; background: var(--ees-tour-white-10); font-size: 12px; line-height: 24px; color: var(--ees-tour-text); white-space: nowrap; }
.ees-tour-card__chip .ees-tour-ico { width: 13px; height: 13px; flex-basis: 13px; color: var(--ees-step-1); }
.ees-tour-card__chip-unit { color: var(--ees-tour-text-dim); font-variant-numeric: tabular-nums; }
.ees-tour-card__note { margin-top: 8px; font-size: 11px; line-height: 1.3; color: var(--ees-tour-text-dim); }
/* small or short screens: the card must never scroll - four bullets, no note */
@media (max-width: 600px), (max-height: 560px) { .ees-tour-card__bullet:nth-child(n+5), .ees-tour-card__note { display: none; } .ees-tour-card__bullet { font-size: 11.5px; } }
@media (max-width: 600px) { .ees-tour__bar { width: 60px; } .ees-tour { gap: 8px; padding-left: 10px; } }

/* tour as a video (pv3d/tour/video.js): quality dialog + progress; render mode: no CSS fades, the frame paints them */
body.ees-tour-render .ees-tour-card, body.ees-tour-render .ees-tour-end, body.ees-tour-render .ees-tour-logo, body.ees-tour-render .ees-tour-clock, body.ees-tour-render .ees-tour { transition: none !important; animation: none !important; }
.ees-tour-export { position: fixed; z-index: 10050; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 32px)); padding: 18px 20px 16px; border-radius: 16px; box-sizing: border-box; color: var(--ees-tour-text); background: var(--ees-tour-glass-80); -webkit-backdrop-filter: var(--ees-backdrop, blur(14px)); backdrop-filter: var(--ees-backdrop, blur(14px)); border: 1px solid var(--ees-tour-white-16); box-shadow: 0 18px 50px var(--ees-tour-shade-40); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", var(--ees-font, system-ui), sans-serif; outline: none; }
.ees-tour-export__title { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.ees-tour-export__row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ees-tour-export__label { width: 90px; font-size: 12px; opacity: .75; }
.ees-tour-export__chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ees-tour-white-22); background: var(--ees-tour-white-06); color: var(--ees-tour-text); font: inherit; font-size: 13px; cursor: pointer; transition: background .12s ease; }
.ees-tour-export__chip:hover { background: var(--ees-tour-white-14); }
.ees-tour-export__chip.is-on { background: var(--ees-step-2); border-color: var(--ees-step-2); font-weight: 600; }
.ees-tour-export__est { margin-top: 10px; font-size: 12.5px; opacity: .88; min-height: 1.2em; }
.ees-tour-export__note { margin-top: 4px; font-size: 12px; opacity: .65; min-height: 1.2em; }
.ees-tour-export__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ees-tour-export__btn { padding: 7px 14px; border-radius: 10px; border: 1px solid var(--ees-tour-white-22); background: var(--ees-tour-white-08); color: var(--ees-tour-text); font: inherit; font-size: 13px; cursor: pointer; }
.ees-tour-export__btn.is-primary { background: var(--ees-step-3); border-color: var(--ees-step-3); font-weight: 600; }
.ees-tour-export__btn:disabled { opacity: .5; cursor: not-allowed; }
.ees-tour-export__bar { height: 8px; border-radius: 4px; background: var(--ees-tour-white-14); overflow: hidden; margin: 6px 0 8px; }
.ees-tour-export__fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--ees-step-1) 0%, var(--ees-step-2) 50%, var(--ees-step-3) 100%); background-size: 100% 100%; transition: width .2s linear; }
.ees-tour-export__pct { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
