/* Lot Play local: one pane frame, defined once (lot.pane_style; same values as the files version play/dev_files/current/index.html).
   Pane (stage pane, corner panes): border petrol blue #084C61, one shadow, radius 10px. Frame parts: no border, own colour and shadow, top layer. Boxes inside a pane: light border, softer shadow. */
:root{--pane-rand:1px solid #084C61;--pane-schatten:0 1px 2px rgba(8,76,97,.12),0 10px 28px -12px rgba(8,76,97,.35);--pane-radius:10px;--box-rand:1px solid #C9DEE8;
  --box-schatten:0 1px 2px rgba(8,76,97,.14),0 6px 14px -6px rgba(8,76,97,.28);
  --frame-farbe:#EFF6F9;--frame-schatten:0 1px 3px rgba(8,76,97,.18),0 6px 16px -6px rgba(8,76,97,.30);--frame-schicht:100;--hover-zeile:rgba(201,222,232,.38)}
.grund-seite{--schatten:0 1px 2px rgba(8,76,97,.12),0 6px 14px -8px rgba(8,76,97,.35)}
.lr-gezeigt[data-anker^=corner_]{border:var(--pane-rand)!important;box-shadow:var(--pane-schatten)!important;border-radius:var(--pane-radius)!important;outline:0!important}
/* main panes on the stage (pages and tool pages Catalogs, Metrics, Values): colour, border, radius and shadow of the KPI tiles, no dark border (lot.c2551, c2593; as the files version) */
.lr-gezeigt[data-anker=stage]{border:var(--box-rand)!important;box-shadow:var(--box-schatten)!important;border-radius:calc(var(--fo-u,.88px)*14)!important;outline:0!important}
.ort[data-ort^="frame_"],.ort[data-ort^="corner_"]{z-index:var(--frame-schicht)!important}
.ort[data-ort^="frame_"]>.pane{border:0!important;background:var(--frame-farbe)!important;box-shadow:var(--frame-schatten)!important}
.ort[data-ort^="corner_"]>.pane[data-form="button"]{border:0!important;background:none!important;box-shadow:none!important}
.ort[data-ort^="corner_"]>.pane[data-form="button"] .knopf{border:0!important;box-shadow:var(--frame-schatten)!important;background:var(--frame-farbe)}
.ort[data-ort^="corner_"]>.pane[data-form="button"] .knopf[aria-pressed="true"]{background:#084C61!important;border:0!important;color:#fff!important}
.pane[data-form="rail"] .knopf.aktiv,.pane[data-form="rail"] .knopf[aria-pressed="true"],.grund-seite .knopf.aktiv,.grund-seite .knopf[aria-pressed="true"]{background:#084C61!important;border-color:#084C61!important;color:#fff!important}
/* boxes inside a pane: tiles, cards */
.sp-kachel,.lr-detail,.tool-pane .karte,.grund-form .karte{border:var(--box-rand)!important;box-shadow:var(--box-schatten)!important;position:relative;z-index:1}
.listenform-zeile:hover,.reiter-zeile:hover,.zeilen-tabelle tbody tr:hover>td,.zeilen-tabelle tbody tr:hover>th{background:var(--hover-zeile)!important}
.listenform-zeile[aria-selected="true"]{box-shadow:none!important}
/* Page Income statement like the files version: question small in the accent colour, statement large with the figures in the accent colour, tiles white with the question in the accent colour; unused tiles stay empty without a box. */
.sp-frage{font-size:13px!important;font-weight:400!important;color:#2D9D9F!important}
.sp-aussage{font-size:26px!important;font-weight:600!important;line-height:1.25!important;color:#082D38!important;margin-top:6px!important}
.sp-aussage .zahl{color:#2DB5C9}
.sp-kachel:not(:empty){background:#fff!important}
.sp-kachel-frage{font-size:13px!important;color:#2D9D9F!important}
.sp-kachel-antwort{font-size:15px!important;font-weight:700!important;line-height:1.3}
.sp-kachel:empty{visibility:hidden}
/* Page Cockpit like the files version: key figures in 3 columns, large value, caption below, the target year to the right (CSS only on the markup of form key_figure_tile). */
.key-figures{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
.key-figure{display:flex!important;flex-direction:column-reverse;justify-content:space-between;height:110px;padding:14px 12px 10px!important;background:#fff!important;border:var(--box-rand)!important;border-radius:8px!important;box-shadow:var(--box-schatten)!important}
.key-figure-name{font-size:12px!important;color:#082D38!important}
.key-figure-werte{justify-content:space-between;align-items:baseline!important}
.key-figure-wert:first-child .key-figure-jahr{display:none}
.key-figure-wert:first-child .key-figure-zahl{font-size:28px!important;font-weight:800!important}
.key-figure-wert:not(:first-child) .key-figure-jahr::before{content:"Target "}
.key-figure-wert:not(:first-child) .key-figure-jahr::after{content:":"}
.key-figure-wert:not(:first-child) .key-figure-zahl{font-size:13px!important;font-weight:400!important;color:#5A7A88!important}
.key-figure-wert:not(:first-child) .key-figure-jahr{font-size:13px!important}
/* Page Intro: large headline and subline (declared sizes of the files version) */
.pane-intro .intro-name,.intro-name{font-size:64px!important;font-weight:800;letter-spacing:-.02em;line-height:1.02}
.intro-text{font-size:24px!important;max-width:40ch!important}
/* Corner panes like the files version: no tab header (one pane each), role list top left, list entries plain. */
.lr-gezeigt[data-anker^="corner_"] .reiter-liste{display:none}
.lr-gezeigt[data-anker^="corner_"] .lr-reiter-pane{padding-top:14px}
.lr-rollen{display:grid;gap:4px;padding:8px}
.lr-rollen button{height:36px;text-align:left;border:0;border-radius:6px;background:none;padding:0 11px;font:500 13px "Public Sans","Segoe UI",sans-serif;color:#082D38;cursor:pointer}
.lr-rollen button:hover{background:var(--hover-zeile)}
.lr-rollen button[aria-pressed="true"]{background:#084C61;color:#fff}
/* Top bar like the files version (lot.c2378, c2395): instance name 13/700 caps, version 11/500 .33px, page name 15/700 -.15px with the dot #5D7A85 before it. */
.pane[data-form="bar"] .kopfleiste{padding-left:17px}
.pane[data-form="bar"] .kopfleiste-version{font:500 11px/1 "Public Sans","Segoe UI",Helvetica,Arial,sans-serif;letter-spacing:.33px;color:#082D38}
.lr-seitentitel{display:flex;align-items:center;flex:none;font:700 15px/1.2 "Public Sans","Segoe UI",Helvetica,Arial,sans-serif;letter-spacing:-.15px;color:#082D38;margin:0 0 0 -1px;white-space:nowrap;overflow:visible}
.lr-seitentitel::before{content:"";width:4px;height:4px;border-radius:50%;background:#5D7A85;margin-right:10px;flex:none}
/* Year buttons in the top bar like the files version (lot.c2377, c2385): same height as the rail buttons (36 px), border, white, radius 6, 13/500; selected petrol #084C61. */
.lr-unterseiten{gap:4px;margin-left:auto;padding-right:15px!important}
.lr-unterseiten .reiter-tab{height:36px!important;line-height:normal!important;box-sizing:border-box;border:1px solid #D5DADD;background:#fff;color:#082D38;border-radius:6px;padding:4px 12px!important;font:500 13px "Public Sans","Segoe UI",sans-serif}
.lr-unterseiten .reiter-tab[aria-selected="true"]{background:#084C61;border-color:#084C61;color:#fff}
/* Tool page Catalogs like the files version: no question line, title 26.7/700 with the count, list left with the first catalog selected. */
.lr-gezeigt[data-lens="catalogs"] .lr-frage{display:none}
.lr-gezeigt[data-lens="catalogs"] .lr-titel{font:700 26.7px/1.2 "Public Sans","Segoe UI",sans-serif;color:#082D38;margin:0 0 9px;padding-top:36px}
.lr-gezeigt[data-lens="catalogs"] .listenform-zeile[aria-selected="true"]{background:#EFF6F9}
/* 16:9 pane in the middle of the stage, also vertically, scaled to the stage, never touching the frame (lot.c2361): the stage centres it; the size rule of the pane (ratio, margin) stays. */
.ort[data-ort="stage"]:has(>.lr-gezeigt[data-verhaeltnis]){display:flex;align-items:center;justify-content:center}
.ort[data-ort="stage"]>.lr-gezeigt[data-verhaeltnis][data-anker="stage"]{margin:auto!important;flex:none}
/* Income statement tiles like the files version (lot.c2364, c2386, c2416): white box with border #D5DADD, even padding 16px, question top left, text below in the colour of the figure, box floats above the pane with a shadow. */
.sp-kachel:not(:empty){display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;padding:16px!important;border-color:#D5DADD!important;box-shadow:var(--box-schatten)!important;position:relative;z-index:2;overflow:hidden}
.sp-kachel-antwort{color:#082D38!important;margin-top:0!important}
/* Sankey labels like the files version (lot.c2453): names bold in Archivo, figures extra bold, share text in Public Sans; labels are not cut at the edge of the picture. */
.sankey-svg{overflow:visible}
.sankey-name{font-family:Archivo,'Arial Narrow',Arial,sans-serif;font-weight:700;fill:#082D38}
.sankey-zahl{font-family:Archivo,'Arial Narrow',Arial,sans-serif;font-weight:800;fill:#082D38;font-variant-numeric:tabular-nums}
.sankey-anteil{font-family:'Public Sans','Segoe UI',sans-serif;font-weight:400;fill:#3E5C68}
/* Intro page like the files version (lot.c2446): headline left, subline and card with four steps right, both centred in the pane. */
.pane[data-form="intro"] .intro-seite{padding:0 38px;box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;column-gap:2.6vw;align-items:center;height:100%;min-height:60vh}
.pane[data-form="intro"] .intro-satz{margin:0;font:800 clamp(30px,2.9vw,56px)/1.02 Archivo,"Public Sans",sans-serif;letter-spacing:-.02em;color:#082D38}
.pane[data-form="intro"] .intro-rechts{display:flex;flex-direction:column;gap:14px}
.pane[data-form="intro"] .intro-unterzeile{margin:0;font-size:clamp(15px,1.5vw,22px);line-height:1.25;color:#2C4A55}
.pane[data-form="intro"] .intro-karte{border:1px solid #C9DEE8;border-radius:10px;padding:16px 18px;box-shadow:0 2px 8px rgba(8,45,56,.08);font-size:12px}
.pane[data-form="intro"] .intro-karte-wer{color:#2D9D9F;font-weight:600;font-size:13px}
.pane[data-form="intro"] .intro-karte-frage{font:800 22px/1.15 Archivo,"Public Sans",sans-serif;color:#082D38;margin:3px 0 10px}
.pane[data-form="intro"] .intro-schritt{display:grid;grid-template-columns:73px 1fr;gap:6px;padding:4px 0 4px 10px;border-left:2px solid #2D9D9F}
.pane[data-form="intro"] .intro-schritt span:first-child{color:#5D7A85}
.pane[data-form="intro"] .intro-schritt span:last-child{font-weight:600;color:#082D38}
.pane[data-form="intro"] .intro-schritt-system span:first-child{color:#2D9D9F}
/* Tiles of the pages like the files version (lot.c2465): question top left, figure left, addition right, name bottom in the colour of the figure. */
.sp-kachel-mitte{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%}
.sp-kachel-zahl{font:800 24px/1.1 Archivo,"Public Sans",sans-serif;color:#0B6E99;white-space:nowrap}
.sp-kachel-zusatz{font-size:11px;line-height:1.25;color:#2C4A55;text-align:right}
.sp-kachel-name{font-size:11px;font-weight:600;color:#0B6E99}
.sp-kachel:not(:empty){padding:8px 12px!important;overflow:hidden;gap:2px}
.sp-kachel-frage{font-size:11px!important;line-height:1.2}
.sp-kachel-zahl{font-size:19px}
.sp-kachel-zusatz{font-size:10px}
.sp-kachel-name{font-size:10px;line-height:1.1}
.lr-inhalt[hidden],.lr-kind [hidden]{display:none!important}

/* c2403: corners questions and settings show one list, no tab row (only one tab has content) */
[data-pane=questions_corner]>.lr-inhalt>.reiter-liste,[data-pane=admin_corner]>.lr-inhalt>.reiter-liste{display:none!important}
.lr-swatch{display:inline-block;width:14px;height:14px;border-radius:3px;border:1px solid #C9DEE8;margin-right:8px;vertical-align:-2px}
/* c2444: the year buttons live in the top bar only; no strip inside the Income statement pane */
[data-pane=income_statement_tabs]>.lr-inhalt>.reiter-liste{display:none!important}
/* Inner spacing, font sizes and box style of the pages as in the files version (lot.c2364, c2416, c2429), measured at 1470: pane padding 40px all round, question 12.4px accent, statement 22.8px, tile question 12.4px, figure 22.8px/800, addition 12.4px grey-blue, name 10.5px ink, tile 285x100 with padding 10px. */
.lr-gezeigt:has(.page-format){padding:40px!important}
.lr-gezeigt:has(.page-format) .lr-reiter-pane{padding:0!important}
.sp-frage{font-size:12.4px!important;color:#1DC7D1!important}
.sp-aussage{font-size:22.8px!important;margin-top:4px!important}
.sp-kachel:not(:empty){padding:11px!important;gap:0}
.sp-kachel-frage{font-size:12.4px!important;color:#1DC7D1!important}
.sp-kachel-zahl{font:800 22.8px/1.1 Archivo,"Public Sans",sans-serif;color:#082D38}
.sp-kachel-zusatz{font-size:12.4px;color:#6F9BB0}
.sp-kachel-name{font-size:10.5px;font-weight:400;color:#082D38}
/* Tab Controls of the income statement (lot.c2454): top right in the pane, hides the layer of the controls. */
.lr-gezeigt{position:relative}
.ctl-reiter{position:absolute;top:0;right:16px;z-index:6;height:24px;padding:0 14px;border:0;border-radius:0 0 6px 6px;background:#084C61;color:#fff;font:600 12px "Public Sans","Segoe UI",sans-serif;cursor:pointer}
.ctl-reiter[aria-pressed="false"]{background:#fff;color:#084C61;border:1px solid #D5DADD;border-top:0}
.ctl-aus .sankey-regler-ort{display:none!important}
/* Sankey labels as the files version (lot.c2453): measured at 1470 name 10.5px, figure 12.4px, share 10.5px on screen (viewBox 1124 wide scaled to 872px: 13.5 / 16 / 13.5 units). */
.sankey-svg .sankey-name,.sankey-svg .sankey-anteil,.sankey-svg .sankey-zahl{font-family:"Public Sans","Segoe UI",Helvetica,Arial,sans-serif}
/* Cockpit as the files version (lot.c2416, c2429, c2497): pane padding 40px, statement 22.8px, tiles white with the box shadow, figure 22.8px/800, target 12.4px grey-blue, name 10.5px ink, tile 285x100. */
.lr-gezeigt:has(.cockpit){padding:40px!important}
.lr-gezeigt:has(.cockpit) .lr-reiter-pane{padding:0!important}
.cockpit-aussage{font-size:22.8px!important;margin:4px 0 24px!important}
.cockpit-kachel{background:#fff!important;border:var(--box-rand)!important;box-shadow:var(--box-schatten)!important;padding:11px!important;min-height:100px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-evenly;position:relative;z-index:1}
.cockpit-ist{font:800 22.8px/1.1 Archivo,"Public Sans",sans-serif!important;color:#082D38!important}
.cockpit-ziel{font-size:12.4px!important;font-weight:400!important;color:#6F9BB0!important}
.cockpit-name{font-size:10.5px!important;font-weight:400!important;color:#082D38!important;margin-top:0!important}

/* Additions of Lot to the pane frame (moved here from rahmen/panes.css so that the shared Grund file stays unchanged; lot.o_play_local_same_components) */
/* die Kacheln der Kennzahlen stehen in der rechten Haelfte des oberen Rahmens, neben der Kopfleiste */
.ort[data-ort="frame_top"] > .pane[data-form="key_figure_tile"] { left: auto; width: 68%; padding: 6px 0; box-sizing: border-box; z-index: 5; }
/* Reiter und ihr Koerper fuellen die Hoehe des Panes, auch Reiter in Reitern; ein Pane im Koerper hat dann eine feste Hoehe (Prozentangaben der Formen gelten) */
.lr-reiter-kopf { display: flex; flex-direction: column; }
.lr-reiter-kopf > .reiter-liste { flex: 0 0 auto; }
.lr-reiter-kopf > .lr-reiter-koerper { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.lr-reiter-koerper > .lr-reiter-pane { flex: 1 1 auto; min-height: 0; box-sizing: border-box; }
.ort[data-ort="frame_top"] > .pane[data-form="bar"] .kopfleiste { flex: none; }
.lr-seitentitel { flex: 1; min-width: 0; font: 600 19px/1 "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif; color: var(--tiefe); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Unterseite (Teil subpage) in der Seite: sie nimmt den Platz des Inhalts der Seite ein, ohne eigene Karte (Auftrag o_is_top_bar). */
.lr-gezeigt > .lr-unterseite { flex: 1 1 0; min-height: 0; min-width: 0; display: flex; flex-direction: column; padding: 0; border: 0; background: none; box-shadow: none; overflow: hidden; }
