	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 1. FONTS ------------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* AppIcons7 : Font Awesome 7.3.1 Free, vendored ( solid=900 / regular=400 teilen sich die Unicode-Codes je Icon ) */
		@font-face { font-family: "AppIcons7";
			src: url("fonts/fa-solid-900.woff2?v=7.3.1") format("woff2");
			font-weight: 900;
			font-style: normal;
		}
		@font-face { font-family: "AppIcons7";
			src: url("fonts/fa-regular-400.woff2?v=7.3.1") format("woff2");
			font-weight: 400;
			font-style: normal;
		}
		@font-face { font-family: "AppIcons7Brands";
			src: url("fonts/fa-brands-400.woff2?v=7.3.1") format("woff2");
			font-weight: 400;
			font-style: normal;
		}

		@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400;
			src: local("Open Sans Regular"), local("OpenSans-Regular"), url("fonts/OpenSans-Regular-webfont.eot") format("embedded-opentype"), url("fonts/OpenSans-Regular-webfont.woff") format("woff"), url("fonts/OpenSans-Regular-webfont.ttf") format("truetype"), url("fonts/OpenSans-Regular-webfont.svg") format("svg");
		}

		@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600;
			src: local("Open Sans Semibold"), local("OpenSans-Semibold"), url("fonts/OpenSans-Semibold-webfont.eot") format("embedded-opentype"), url("fonts/OpenSans-Semibold-webfont.woff") format("woff"), url("fonts/OpenSans-Semibold-webfont.ttf") format("truetype"), url("fonts/OpenSans-Semibold-webfont.svg") format("svg");
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 2. HTML-RESET -------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
		{
			margin: 0px;
			padding: 0px;
			border: 0px;
			outline: 0px;
			vertical-align: baseline;
			background: transparent;
		}
		article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
		ol, ul	{ list-style: none; }
		li		{ display: list-item;/*text-align: match-parent;*/ }
		a		{ text-decoration: none; outline: none; }
		a:hover	{ text-decoration: underline; }
		table 	{ border-collapse: separate; border-spacing: 0; width: 100%; }
		input 	{ box-sizing: border-box; }
		select 	{ font-family: inherit; font-size: inherit; }

		/* Auswahl-Pfeil appweit : System-Pfeil aus, eigener Pfeil ( zwei Verlaufs-Haelften = Dreieck ) mit 16px Abstand zur rechten Feldkante -- gleiche Optik
		   wie das Datumsfeld auf gewicht.php. Seiten-Regeln setzen deshalb nur background-COLOR ( kein background-Kurzform, die loescht den Pfeil ) und
		   lassen padding-right bei 36px. */
		select
		{
			-webkit-appearance: none;
			appearance: none;
			padding-right: 36px;
			background-image: linear-gradient(45deg, transparent 50%, var(--app-Font-Muted-color) 50%), linear-gradient(135deg, var(--app-Font-Muted-color) 50%, transparent 50%);
			background-position: right 21px center, right 16px center;
			background-size: 5px 5px;
			background-repeat: no-repeat;
			cursor: pointer;
		}
		select:disabled { opacity: initial; }

		/* DISABLES STEP BUTTON */
		input[type=number]::-webkit-inner-spin-button,
		input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 3. TOKEN ------------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

				/* Registrierung der JS-getriebenen Aufklapp-Hoehe (expander_SyncHeight in script.js) als <length> -- ohne @property ist es
				   eine unregistrierte Custom Property: eine Transition auf max-height:var(--x) kann dann beim Aendern von --x haengen
				   bleiben und faelschlich bei 0 stehenbleiben, statt zum echten Ziel-Wert zu transitionieren. */
				@property --exp-content-max-height	{ syntax: "<length>"; inherits: false; initial-value: 0px; }

			:root
			{
				/* ---- 3.0  PALETTE : die einzigen Farb-Grundwerte. Ein Preset ( Akzent / Modus ) ueberschreibt NUR diesen Block, alles darunter leitet sich ab.
				        -rgb = Kanal-Tripel fuer rgb(var(--x) / alpha) ; ohne Suffix = fertige Farbe. Seit 2026-10-01 ( Plan app/spec/farbpresets.md ). ---- */

				/* Flaechen ( Seite -> tief -> Panel -> Karte -> Zeile ) */
				--pal-bg-rgb:               3 9 23;        /* Seite */
				--pal-deep-rgb:             5 13 34;       /* tiefste Mulde : Eingabe, Balken-Spur, Kopf-/Fussleiste, Menue */
				--pal-well-rgb:             10 21 48;      /* Panel, Dialog */
				--pal-card-rgb:             14 27 58;      /* Karte */
				--pal-sub-rgb:              23 39 77;      /* Listen-Zeile in der Karte */
				--pal-line-rgb:             29 47 90;      /* Scrollbalken, Rahmen globale Uebung */
				--pal-shade-rgb:            0 6 30;        /* Schatten, Abdunkelung, dunkle Mulde */
				--pal-shadow-k:             1;             /* Schatten-Staerke ( hell : weicher ) */

				/* Text */
				--pal-ink:                  #f2f7ff;
				--pal-ink-strong:           #ffffff;
				--pal-ink-soft:             #d3def2;
				--pal-ink-muted:            #aabfe3;
				--pal-ink-faint:            #8ea5cf;
				--pal-ink-dim:              #6f86b3;

				/* Glas-Tint ( Linien, Karten-, Chip-Flaechen ) */
				--pal-tint-rgb:             150 190 255;
				--pal-tint-hi-rgb:          190 215 255;   /* Lichtkante oben */
				--pal-tint-on-rgb:          90 150 255;    /* aktive Flaeche */

				/* Akzent-Rampe ( 900 dunkel -> 100 hell ; 500 = Akzent ) */
				--pal-accent-900-rgb:       20 51 159;
				--pal-accent-800-rgb:       24 69 163;
				--pal-accent-700-rgb:       28 71 196;
				--pal-accent-600-rgb:       31 85 220;
				--pal-accent-500-rgb:       42 102 232;
				--pal-accent-400-rgb:       59 124 245;
				--pal-accent-300-rgb:       106 168 255;   /* Diagramm-Punkte */
				--pal-accent-200-rgb:       156 194 255;   /* Text / Icon auf Tint, Ringe */
				--pal-accent-100-rgb:       184 212 255;   /* Trendlinie, Tag globale Uebung */
				--pal-accent-dim-rgb:       74 106 163;    /* gedimmt : Diagramm-Tiefstwert */
				--pal-notice-hi-rgb:        43 74 130;     /* Info-Hinweis, Verlauf oben */
				--pal-notice-lo-rgb:        35 63 115;     /* Info-Hinweis, Verlauf unten */

				--app-Font: system-ui, sans-serif;

				--app-Font-color: var(--pal-ink);
				--app-Font-Accent-color: var(--pal-ink-strong);
				--app-Font-OnFill-color: #ffffff;                       /* Schrift auf Akzent- / Verlaufs-Flaechen ( Knopf, Hero, Kachel ) : bleibt in jedem Modus weiss */
				--app-Font-Alert-color: #ff4b4b;
				--app-Font-Valid-color: #20d33b;
				--app-Font-PR-color: #d4af37;   /* PR / Gewichts-PR : Gold, statt blauem Akzent */

				--app-MenuItem-Hover-color: linear-gradient(135deg, rgb(var(--pal-accent-900-rgb)) 0%, rgb(var(--pal-accent-800-rgb)) 100%);
				--app-MenuItem-Transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, font-size 0.5s ease;

				--app-BackgroundBase-Color: rgb(var(--pal-bg-rgb));       /* Haupt-Hintergrund */
				--app-BackgroundCard-Color: rgb(var(--pal-card-rgb));     /* Card-Hintergrund */
				--app-BackgroundSub-Card-Color: rgb(var(--pal-sub-rgb));
				--app-inputBackground-Color: rgb(var(--pal-deep-rgb));    /* Ausgangsfarbe fuer Save/Edit-Keyframes */
				--app-BackgroundSave-Color: #16a34a;
				--app-ShadowSave: 0 0 18px #54f63b4d;

				/* "xxx hinzufuegen" / Erstell-Buttons ( Kachel, Satz, Muskelgruppe, .ex-act.add ) : blau getoente Flaeche + Akzent-Rand ( seit 2026-09-23, vorher volles Gruen #15803d ) */
				--app-BackgroundAdd-Color:    linear-gradient(180deg, rgb(var(--app-Accent-rgb) / .22) 0%, rgb(var(--app-Accent-rgb) / .12) 100%);
				--app-Add-Border-Color:       rgb(var(--app-Accent-rgb) / .45);
				--app-Add-Border-Hover-Color: rgb(var(--app-Accent-rgb) / .75);
				--app-Font-Add-color:         var(--pal-ink-soft);
				--app-Add-Icon-color:         rgb(var(--pal-accent-200-rgb));

				/* "Start"-Optik ( Menue "Session starten", Kachel "Freies Training starten" ) : kraeftigere Variante der Add-Optik + reinweisse Schrift, User 2026-09-30 */
				--app-BackgroundStart-Color:       linear-gradient(135deg, rgb(var(--pal-accent-900-rgb)) 0%, rgb(var(--pal-accent-800-rgb)) 100%);
				--app-BackgroundStart-Hover-Color: linear-gradient(135deg, rgb(var(--pal-accent-700-rgb)) 0%, rgb(var(--pal-accent-600-rgb)) 100%);
				--app-Start-Border-Color:          rgb(255 255 255 / .18);
				--app-Start-Border-Hover-Color:    rgb(255 255 255 / .3);
				--app-Start-Shadow:                0 14px 40px -10px rgb(var(--pal-accent-500-rgb) / .55), inset 0 1px 0 rgb(255 255 255 / .22);
				--app-BackgroundEdit-Color: #c9a410;
				--app-ShadowEdit: 0 0 18px #facc154d;

				--app-Save-Transition:  transform 0.5s ease, box-shadow 2.0s ease, background 1.0s ease;
				--app-Add-Transition:   transform 0.5s ease, border-color 0.7s ease, box-shadow 0.7s ease, color 0.2s ease, background 0.7s ease;

				--app-Gradient: linear-gradient(180deg, rgb(var(--pal-deep-rgb)) 0%, rgb(var(--pal-bg-rgb)) 100%);   /* header/footer chrome */
				--app-Accent-Gradient: linear-gradient(135deg, rgb(var(--pal-accent-500-rgb)) 0%, rgb(var(--pal-accent-600-rgb)) 100%);

				--app-Shadow: 0 10px 30px -12px rgb(var(--pal-shade-rgb) / calc(.75 * var(--pal-shadow-k)));

				--app-TransformGroup-Transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
				--app-TransformBorder-Color: rgb(var(--pal-accent-800-rgb) / .5);
				--app-Transform-Shadow: 0 0 7px rgb(var(--pal-accent-700-rgb) / .75);

				--app-BorderStyle: 1px solid rgb(var(--pal-tint-rgb) / .10);
				--app-Divider-Fade: linear-gradient(90deg, transparent 0%, rgb(var(--pal-tint-rgb) / .16) 20%, rgb(var(--pal-tint-rgb) / .16) 80%, transparent 100%);	/* Trennlinie, nur die aeussersten 6 % laufen leicht aus */
				--app-Border-Radius: 22px;

				--media-musclegroup-image-size: 125px;
				--musclegroup-image-size: 250px;

				--MenuBar-BackdropFilter: blur(8px);

				/* Glas ( Apple-Look ) : Hinweis-Balken + Rueckgaengig-Leiste unten ( §12 / §13 ) -- durchscheinend, stark unscharf, helle Kante oben */
				--app-Glass-Bg:      linear-gradient(180deg, rgb(var(--pal-accent-900-rgb) / .32) 0%, rgb(var(--pal-well-rgb) / .32) 100%);
				--app-Glass-Filter:  blur(28px) saturate(200%);
				--app-Glass-Border:  1px solid rgb(var(--pal-tint-rgb) / .22);
				--app-Glass-Shadow:  0 8px 28px rgb(0 0 0 / .38), inset 0 1px 0 rgb(255 255 255 / .18);

				/* ---- Ergaenzungen der Umbau-Seiten (2026-09; ehemals eigener Override-Block, gemerged 2026-09-16) ---- */
				/* layout */
				--app-Content-MaxWidth: 1280px;
				--accent:               rgb(var(--pal-accent-500-rgb));
				--bg-start:             rgb(var(--pal-deep-rgb));
				--bg-end:               rgb(var(--pal-bg-rgb));
				--app-Glow-Accent:      0 0 18px rgb(var(--pal-accent-400-rgb) / .25);     /* shared hover glow — also used in §6 / §10 / §19.2 / §17 */
				--app-ShadowAlert:      0 0 18px rgba(255,75,75,0.30);                     /* red feedback glow — pairs with §3 --app-ShadowSave / --app-ShadowEdit */

				/* recessed wells : panel -> deep -> context-specific */
				--app-Well-Color:          rgb(var(--pal-well-rgb));   /* inset panel : mg-view, finder, filter-tags, plan input */
				--app-Well-Deep-Color:     rgb(var(--pal-deep-rgb));   /* deepest recess : bar tracks, search field, list items, editor content */
				--app-Well-Editor-Color:   rgb(var(--pal-deep-rgb));   /* plan-editor set-content */
				--app-Edit-Panel-Border:   1px solid rgb(var(--pal-tint-rgb) / .16);

				/* secondary text ramp */
				--app-Font-Muted-color: var(--pal-ink-muted);   /* secondary labels */
				--app-Font-Faint-color: var(--pal-ink-faint);   /* sort numbers, footnotes */
				--app-Font-Dim-color:   var(--pal-ink-dim);     /* placeholders */

				/* danger / delete affordance */
				--app-Danger-Background-Color:       #231620;
				--app-Danger-Background-Hover-Color: #3a1620;
				--app-Danger-Border:                 1px solid #4a2634;

				/* active-session status accents */
				--app-Current-Border-Color:  rgb(var(--pal-accent-500-rgb));
				--app-Font-Saved-color:      #86efac;
				--app-Font-Saved-Soft-color: #dcfce7;
				--app-Font-Editing-color:    #facc15;

				/* shared radii + scrollbar */
				--app-Radius-Field:          14px;
				--app-Radius-Pill:           999px;
				--app-Scrollbar-Thumb-Color: rgb(var(--pal-line-rgb));

				/* ---- Phase-2-Token des CSS-Aufraeumens (2026-09-16) : ehemals Hex-Streuung in den Seiten-Sektionen ---- */
				--app-Accent-rgb:          var(--pal-accent-500-rgb);   /* fuer rgb(var(--app-Accent-rgb) / a) */
				--app-PR-rgb:              212 175 55;   /* == --app-Font-PR-color (Gold) */
				--app-Save-rgb:            22 163 74;    /* == --app-BackgroundSave-Color, gespeichert-Toenung ( Satz, Nummer, erledigte Uebung ) */
				--app-Row-Hover-bg:        rgb(var(--pal-tint-rgb) / .14);      /* Tap-Zeilen-Hover (finder-item, mg-ex-row, stat-drow / stat-brow) */
				--app-Hover-bg:            var(--app-Chip-bg);                          /* Hover von Zeilen-Koepfen, Fussleiste, Segment ( Hell : eigener, schwaecherer Wert ) */
				--app-Hover-bg-strong:     rgb(var(--pal-tint-rgb) / .18);            /* Hover von Filter-Tags, Tabs, Filter-Knopf ( ungefuellt im Ruhezustand ) */
				--app-StageLevel3-color:   #ff4b4b;      /* Muskel-Stufe ( exercisePage Kartenrand .mg-s3 ) : 100 % stark = Rot, wie die Muskelbilder *_3.png ( == Font-Alert ) */
				--app-StageLevel2-color:   #fb923c;      /* 50 % mittel = Orange ( Muskelbilder *_2.png ) */
				--app-StageLevel2-rgb:     251 146 60;   /* == --app-StageLevel2-color, fuer rgb(var(--app-StageLevel2-rgb) / a) -- z.B. Warn-Pille sessions.php */
				--app-StageLevel1-color:   #facc15;      /* 25 % schwach = Gelb ( Muskelbilder *_1.png, == Font-Editing ) */
				--app-Stage3-bd:           rgb(var(--pal-accent-500-rgb));      /* Stufen-Badge s3 : Rand */
				--app-Global-fg:          rgb(var(--pal-accent-100-rgb));      /* globale Uebung : Icon / Tag */
				--app-Global-bd:           rgb(var(--pal-line-rgb));            /* globale Uebung : Kartenrahmen */
				--app-Track-bg:            rgb(var(--pal-deep-rgb));            /* Balken-Spur (mg-bar, session-progress) == Well-Deep */
				--app-Overlay-bg:          #0000006c;    /* Abdunkelung hinter SideMenu / Dialog */
				--app-Font-Soft-color:     var(--pal-ink-soft);      /* Listentext in Wells (mg-row, mg-edit-row) */
				--app-Font-Meta-color:     var(--pal-ink-muted);     /* finder-item Untertitel */

				/* ---- Runde Icon-Buttons (2026-09-20) : exp-btn im exp-header ( Par.14 ), .gw-row-acts, Startseiten-Icons -- eine Stelle fuer alle drei Farben ---- */
				--app-IconBtn-bg:          var(--app-Tint);                     /* Ruhe-Flaeche */
				--app-IconBtn-Hover-bg:    var(--app-Tint-Hover);               /* Hover-Flaeche */
				--app-IconBtn-Hover-fg:    var(--app-Font-color);               /* Glyph im Hover / Offen-Zustand der runden Knoepfe ( Hell : wie in Ruhe, siehe 3.2 ) */
				--app-IconBtn-Hover-bd:    var(--accent);                       /* Hover-Rahmen ( intensives Blau, 2026-09-20 ; vorher --app-Current-Border-Color #2b6cb0 ) */

				--app-SpringPop-Transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1);   /* Feder-Skalierung : Bereiche-Kacheln, exp-btn, SideMenu, Footer */

				--app-Chart-Max-color:     #e8c35a;      /* Diagramm-Bestwert : helles Gold passend zu den PR-Kacheln ( User 2026-10-01, vorher Gruen ) */
				--app-Chart-Trend-color:   rgb(var(--pal-accent-100-rgb));      /* Trendlinie ( gestrichelt ) : helleres Blau statt Grau ( User 2026-09-30 ) */
				--app-Chart-Min-color:     rgb(var(--pal-accent-dim-rgb));      /* Diagramm-Tiefstwert : gedimmtes Blau ( User 2026-10-01, vorher Orange ) */
				--app-Notice-Info-bg:      linear-gradient(135deg, rgb(var(--pal-notice-hi-rgb)) 0%, rgb(var(--pal-notice-lo-rgb)) 100%);   /* Info-Hinweis unten : gedaempftes helleres Blau-Glas, am Handy erkennbar ohne laut zu sein ( User 2026-10-01 ) */
				--app-Notice-Info-Ring:    inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .38), 0 10px 26px -12px rgb(var(--pal-shade-rgb) / calc(.8 * var(--pal-shadow-k)));
				--app-Gutter:              20px;         /* Seitenrand der Inhaltsspalte ( .main-box ) UND der Kopfleiste : Menue-Knopf + Karten enden auf einer Linie ( §32 setzt 16 / 12 px ) */

				/* ---- Nachtglas (2026-10-01) : Glas-, Form- und Knopf-Token des neuen Looks -- Bausteine in §18, Zielbild research/app-look-entwuerfe/ ---- */
				--app-Page-bg:             radial-gradient(90% 42% at 100% 0%, rgb(var(--pal-accent-500-rgb) / .30), transparent 70%), radial-gradient(80% 38% at 0% 38%, rgb(var(--pal-accent-400-rgb) / .16), transparent 70%), radial-gradient(75% 36% at 90% 98%, rgb(var(--pal-accent-600-rgb) / .22), transparent 70%), rgb(var(--pal-bg-rgb));
				--app-Accent-Soft:         rgb(var(--pal-accent-200-rgb));            /* helles Blau : Text/Icons auf Tint */
				--app-Notice-Icon-fg:      var(--pal-ink-soft);                       /* Info-Hinweis : Icon auf hellem Glas */
				--app-Pill-S2-fg:          rgb(var(--pal-accent-200-rgb));            /* Muskelgruppen-Pille Stufe 2 : Schrift */
				--app-Tint:                rgb(var(--pal-tint-on-rgb) / .20);         /* Tint-Flaeche ( aktiv, Knopf-Ruhe, Icon-Kachel ) */
				--app-Tint-Hover:          rgb(var(--pal-tint-on-rgb) / .32);
				--app-Tint-Ring:           inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .35);    /* Ring um aktive Tint-Flaeche */
				--app-Hairline:            rgb(var(--pal-tint-rgb) / .10);            /* feine Trennlinie in Karten */
				--app-Chip-bg:             rgb(var(--pal-tint-rgb) / .08);            /* ruhige Glas-Flaeche ( Chip, Menue-Icon, Pille ) */
				--app-Tile-Soft-bg:        var(--app-Chip-bg);                        /* weiche Icon-Kachel ( Startseiten-Bereiche, Menue, Einstellungen, Hinweis ) */
				--app-Tile-Soft-fg:        var(--app-Accent-Soft);
				--app-Footer-fg:           var(--app-Font-Muted-color);               /* Fussleiste, Ruhezustand : Label + Icon */
				--app-Footer-Icon:         var(--app-Font-Muted-color);
				--app-Icon-Accent:         var(--app-Accent-Soft);                    /* Icon in Akzentfarbe auf Tint / Glas ( runde Kopf-Knoepfe, Footer ) -- nur Glyph, kein Fliesstext */
				--app-Inset:               rgb(var(--pal-shade-rgb) / .50);           /* dunkle Eingabe-/Segment-Mulde */
				--app-Inset-Soft:          rgb(var(--pal-shade-rgb) / .38);           /* dunkle Mulde in Karten ( Aufklapp-Panel, Kennzahlen ) */
				--app-Blur:                blur(22px);
				--app-Menu-Blur:           none;   			/* Menue-Overlay : am Desktop kein Blur ( laggt ), Handy ( Par.32 @520 ) blur(14px ) */
				--app-Glass-Card:          linear-gradient(150deg, rgb(var(--pal-tint-rgb) / .105) 0%, rgb(var(--pal-tint-rgb) / .04) 60%, rgb(var(--pal-tint-rgb) / .03) 100%);
				--app-Glass-Row:           linear-gradient(150deg, rgb(var(--pal-tint-rgb) / .10) 0%, rgb(var(--pal-tint-rgb) / .045) 100%);
				--app-Glass-Ring:          inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .08);
				--app-Glass-Lip:           inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .13), 0 10px 30px -12px rgb(var(--pal-shade-rgb) / calc(.7 * var(--pal-shadow-k)));
				--app-Glass-Lip-Row:       inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .12), inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .07), 0 8px 18px -14px rgb(var(--pal-shade-rgb) / calc(.9 * var(--pal-shadow-k)));

				--app-Radius-Card:         22px;
				--app-Radius-Row:          16px;
				--app-Radius-Btn:          16px;
				--app-Radius-Chip:         14px;
				--app-Glass-Chip:          linear-gradient(160deg, rgb(var(--pal-tint-rgb) / .12), rgb(var(--pal-tint-rgb) / .05));
				--app-Glass-Chip-Lip:      inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .14), inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .08);
				--app-Glass-Chip-On:       linear-gradient(160deg, rgb(var(--pal-tint-on-rgb) / .30), rgb(var(--pal-tint-on-rgb) / .16));
				--app-Glass-Chip-On-Lip:   inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .22), inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .40);
				--app-Pill-Ring:           inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .30), inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .12);
				--app-Btn-H:               46px;
				--app-Btn-H-Dialog:        50px;

				--app-Primary-bg:          linear-gradient(150deg, rgb(var(--pal-accent-700-rgb)) 0%, rgb(var(--pal-accent-800-rgb)) 100%);   /* Haupt-Knopf ( Anmelden, Bestaetigen, Start ) */
				--app-Primary-shadow:      0 6px 14px -8px rgb(var(--pal-accent-900-rgb) / .9), inset 0 1px 0 rgb(255 255 255 / .22);
				--app-Primary-Bright-bg:   linear-gradient(160deg, rgb(var(--pal-accent-400-rgb)) 0%, rgb(var(--pal-accent-600-rgb)) 100%);   /* heller Haupt-Knopf ( .ex-act.primary ) */
				--app-Primary-Bright-shadow: 0 14px 30px -12px rgb(var(--pal-accent-500-rgb) / .85), inset 0 1px 0 rgb(255 255 255 / .30), inset 0 -1px 0 rgb(0 20 90 / .25);
				--app-Tile-Hero-bg:        linear-gradient(150deg, rgb(var(--pal-accent-400-rgb)) 0%, rgb(var(--pal-accent-600-rgb)) 100%);   /* Icon-Kachel mit weissem Glyph */
				--app-Tile-Hero-shadow:    0 8px 18px -8px rgb(var(--pal-accent-500-rgb) / .9), inset 0 1px 0 rgb(255 255 255 / .34);
				--app-Danger-rgb:          255 90 90;
				--app-Danger-fg:           #ff9a9a;
				--app-Btn-Neutral-bg:      rgb(var(--pal-tint-rgb) / .10);                      /* Knopf : ruhig ( Abbrechen, .ex-act ) */
				--app-Btn-Neutral-ring:    inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .16);
				--app-Btn-Add-ring:        inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .30);   /* Knopf : Tint ( hinzufuegen ) */
				--app-Btn-Danger-bg:       rgb(var(--app-Danger-rgb) / .12);                    /* Knopf : Rot-Tint ( loeschen, verwerfen ) */
				--app-Btn-Danger-ring:     inset 0 0 0 1px rgb(255 120 120 / .28);
				--app-Danger-Solid-bg:     linear-gradient(160deg, #f25555 0%, #c92e44 100%);   /* Knopf : kraeftiges Rot ( Dialog loeschen ) */
				--app-Danger-Solid-shadow: 0 6px 14px -8px rgb(150 20 40 / .9), inset 0 1px 0 rgb(255 255 255 / .24);

				--app-Trend-Up-rgb:        64 214 126;                                /* Trend-Kachel : Richtungs-Tint, Staerke ueber --ta */
				--app-Trend-Down-rgb:      255 96 96;
				--app-Trend-Up-fg:         #7ae8ab;
				--app-Trend-Down-fg:       #ff9494;
				--app-Trend-Same-fg:       var(--pal-ink);                            /* "gleich wie zuletzt" : Randbalken neutral ( dunkel : weiss, hell : mittleres Grau, nie Schwarz ) */

				--app-Info-Tip-fg:         var(--pal-ink-soft);                       /* ico.info-tip : "i" in der Glas-Pille */
				--app-Info-Tip-bg:         linear-gradient(160deg, rgb(var(--pal-tint-on-rgb) / .34), rgb(var(--pal-accent-500-rgb) / .18));
				--app-Info-Tip-shadow:     inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .42), inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .30), 0 4px 12px -4px rgb(var(--pal-accent-400-rgb) / .75);
				--app-Chart-Point-color:   rgb(var(--pal-accent-300-rgb));
				--app-Chart-Grid-color:    rgb(var(--pal-tint-rgb) / .08);            /* Canvas braucht eine aufgeloeste Farbe */
				--app-Chart-Tooltip-bd:    rgb(var(--pal-tint-rgb) / .30);

				/* Dialog + Fussleiste ( Nachtglas : dunkles Glas ueber abgedunkelter Seite ) */
				--app-Dialog-bg:           rgb(var(--pal-well-rgb) / .86);
				--app-Dialog-Scrim:        rgb(var(--pal-shade-rgb) / .62);
				--app-Dialog-Shadow:       inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .14), 0 30px 80px -20px rgb(var(--pal-shade-rgb) / calc(.9 * var(--pal-shadow-k)));
				--app-Radius-Dialog:       28px;
				--app-Glow-Icon:           inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .2), 0 0 36px rgb(var(--pal-accent-400-rgb) / .45);
				--app-Footer-bg:           rgb(var(--pal-deep-rgb) / .70);
				--app-Up-fg:               #4fd68a;
				--app-Down-fg:             #ff7a7a;
				--app-Chart-Glow:          drop-shadow(0 4px 14px rgb(var(--pal-accent-400-rgb) / .35));
				--app-Overlay-Menu-bg:     rgb(var(--pal-shade-rgb) / .55);
				--app-Menu-bg:             radial-gradient(120% 40% at 100% 0%, rgb(var(--pal-accent-500-rgb) / .28), transparent 70%), rgb(var(--pal-deep-rgb) / .94);
				--app-Menu-Shadow:         inset 1px 0 0 rgb(var(--pal-tint-hi-rgb) / .14), -24px 0 70px -20px rgb(var(--pal-shade-rgb) / calc(.9 * var(--pal-shadow-k)));
				--app-Footer-Shadow:       inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .12), 0 16px 40px -10px rgb(var(--pal-shade-rgb) / calc(.8 * var(--pal-shadow-k)));

				/* Uebungsanimation ( script/exercise-anim.js liest sie per getComputedStyle, §24.8 ) : Figur, Geraete, Stange, Schatten */
				--anim-fig:                #6f8fc4;
				--anim-fig-dark:           #4d6aa0;
				--anim-fig-light:          #8eaee0;
				--anim-equip:              #2d3f5c;
				--anim-equip-line:         #94a3b8;
				--anim-bar:                #dfe8ff;
				--anim-shadow:             #000000;
		}

		/* --- 3.1  PALETTE-PRESETS ( erzeugt von .claude/tools/farbpreset.py -- NICHT von Hand aendern ; Feintuning in den Tabellen PRESETS / LIGHT dort ) ------------------- */
		/* PRESETS-BEGIN */
			:root[data-accent="nachtblau"],
			.look-swatch[data-accent="nachtblau"]
			{
			--pal-bg-rgb: 3 9 23;
			--pal-deep-rgb: 5 13 34;
			--pal-well-rgb: 10 21 48;
			--pal-card-rgb: 14 27 58;
			--pal-sub-rgb: 23 39 77;
			--pal-line-rgb: 29 47 90;
			--pal-shade-rgb: 0 6 30;
			--pal-ink: #f2f7ff;
			--pal-ink-soft: #d3def2;
			--pal-ink-muted: #aabfe3;
			--pal-ink-faint: #8ea5cf;
			--pal-ink-dim: #6f86b3;
			--pal-tint-rgb: 150 190 255;
			--pal-tint-hi-rgb: 190 215 255;
			--pal-tint-on-rgb: 90 150 255;
			--pal-accent-900-rgb: 20 51 159;
			--pal-accent-800-rgb: 24 69 163;
			--pal-accent-700-rgb: 28 71 196;
			--pal-accent-600-rgb: 31 85 220;
			--pal-accent-500-rgb: 42 102 232;
			--pal-accent-400-rgb: 59 124 245;
			--pal-accent-dim-rgb: 74 106 163;
			--pal-notice-hi-rgb: 43 74 130;
			--pal-notice-lo-rgb: 35 63 115;
			--pal-accent-300-rgb: 106 168 255;
			--pal-accent-200-rgb: 156 194 255;
			--pal-accent-100-rgb: 184 212 255;
			}

			:root[data-accent="eisblau"],
			.look-swatch[data-accent="eisblau"]
			{
			--pal-bg-rgb: 3 17 22;
			--pal-deep-rgb: 6 25 33;
			--pal-well-rgb: 11 36 47;
			--pal-card-rgb: 15 45 57;
			--pal-sub-rgb: 24 61 76;
			--pal-line-rgb: 31 72 88;
			--pal-shade-rgb: 1 18 29;
			--pal-ink: #f2fcff;
			--pal-ink-soft: #d4eaf1;
			--pal-ink-muted: #abd6e2;
			--pal-ink-faint: #90bfcd;
			--pal-ink-dim: #71a1b1;
			--pal-tint-rgb: 158 229 247;
			--pal-tint-hi-rgb: 195 239 250;
			--pal-tint-on-rgb: 102 212 243;
			--pal-accent-900-rgb: 24 85 119;
			--pal-accent-800-rgb: 28 98 122;
			--pal-accent-700-rgb: 32 109 147;
			--pal-accent-600-rgb: 36 126 165;
			--pal-accent-500-rgb: 35 144 185;
			--pal-accent-400-rgb: 28 171 215;
			--pal-accent-dim-rgb: 65 112 125;
			--pal-notice-hi-rgb: 40 85 99;
			--pal-notice-lo-rgb: 33 75 87;
			--pal-accent-300-rgb: 117 223 244;
			--pal-accent-200-rgb: 163 231 248;
			--pal-accent-100-rgb: 189 238 250;
			}

			:root[data-accent="smaragd"],
			.look-swatch[data-accent="smaragd"]
			{
			--pal-bg-rgb: 3 22 21;
			--pal-deep-rgb: 6 33 31;
			--pal-well-rgb: 11 47 44;
			--pal-card-rgb: 15 57 53;
			--pal-sub-rgb: 24 76 71;
			--pal-line-rgb: 31 88 83;
			--pal-shade-rgb: 1 29 29;
			--pal-ink: #f2fffc;
			--pal-ink-soft: #d4f1ed;
			--pal-ink-muted: #abe2d8;
			--pal-ink-faint: #90cdc4;
			--pal-ink-dim: #71b1a8;
			--pal-tint-rgb: 150 255 236;
			--pal-tint-hi-rgb: 190 255 243;
			--pal-tint-on-rgb: 90 255 228;
			--pal-accent-900-rgb: 14 111 109;
			--pal-accent-800-rgb: 17 114 102;
			--pal-accent-700-rgb: 20 137 131;
			--pal-accent-600-rgb: 22 154 143;
			--pal-accent-500-rgb: 19 173 155;
			--pal-accent-400-rgb: 10 202 174;
			--pal-accent-dim-rgb: 52 114 104;
			--pal-notice-hi-rgb: 30 91 81;
			--pal-notice-lo-rgb: 25 80 72;
			--pal-accent-300-rgb: 106 255 223;
			--pal-accent-200-rgb: 156 255 237;
			--pal-accent-100-rgb: 184 255 241;
			}

			:root[data-accent="violett"],
			.look-swatch[data-accent="violett"]
			{
			--pal-bg-rgb: 12 3 23;
			--pal-deep-rgb: 19 5 34;
			--pal-well-rgb: 28 10 48;
			--pal-card-rgb: 35 14 58;
			--pal-sub-rgb: 48 23 77;
			--pal-line-rgb: 58 29 90;
			--pal-shade-rgb: 17 0 30;
			--pal-ink: #f7f2ff;
			--pal-ink-soft: #e0d3f2;
			--pal-ink-muted: #c1aae3;
			--pal-ink-faint: #a98ecf;
			--pal-ink-dim: #8c6fb3;
			--pal-tint-rgb: 190 150 255;
			--pal-tint-hi-rgb: 215 190 255;
			--pal-tint-on-rgb: 157 90 255;
			--pal-accent-900-rgb: 101 21 169;
			--pal-accent-800-rgb: 91 25 173;
			--pal-accent-700-rgb: 121 30 208;
			--pal-accent-600-rgb: 130 41 225;
			--pal-accent-500-rgb: 137 57 234;
			--pal-accent-400-rgb: 147 76 246;
			--pal-accent-dim-rgb: 117 78 173;
			--pal-notice-hi-rgb: 83 46 138;
			--pal-notice-lo-rgb: 72 37 122;
			--pal-accent-300-rgb: 158 106 255;
			--pal-accent-200-rgb: 194 156 255;
			--pal-accent-100-rgb: 210 184 255;
			}

			:root[data-accent="orchidee"],
			.look-swatch[data-accent="orchidee"]
			{
			--pal-bg-rgb: 22 3 21;
			--pal-deep-rgb: 33 6 30;
			--pal-well-rgb: 47 11 44;
			--pal-card-rgb: 57 15 53;
			--pal-sub-rgb: 76 24 71;
			--pal-line-rgb: 88 31 83;
			--pal-shade-rgb: 29 1 24;
			--pal-ink: #fff2ff;
			--pal-ink-soft: #f1d4f0;
			--pal-ink-muted: #e2abe1;
			--pal-ink-faint: #cd90cc;
			--pal-ink-dim: #b171ae;
			--pal-tint-rgb: 246 159 245;
			--pal-tint-hi-rgb: 249 196 249;
			--pal-tint-on-rgb: 240 105 237;
			--pal-accent-900-rgb: 146 33 128;
			--pal-accent-800-rgb: 150 37 144;
			--pal-accent-700-rgb: 181 43 163;
			--pal-accent-600-rgb: 203 48 188;
			--pal-accent-500-rgb: 215 59 204;
			--pal-accent-400-rgb: 228 76 223;
			--pal-accent-dim-rgb: 155 82 153;
			--pal-notice-hi-rgb: 122 51 120;
			--pal-notice-lo-rgb: 108 42 106;
			--pal-accent-300-rgb: 238 119 242;
			--pal-accent-200-rgb: 246 165 246;
			--pal-accent-100-rgb: 248 190 249;
			}

			:root[data-accent="rubin"],
			.look-swatch[data-accent="rubin"]
			{
			--pal-bg-rgb: 23 3 10;
			--pal-deep-rgb: 34 5 14;
			--pal-well-rgb: 48 10 22;
			--pal-card-rgb: 58 14 28;
			--pal-sub-rgb: 77 23 41;
			--pal-line-rgb: 90 29 49;
			--pal-shade-rgb: 30 0 7;
			--pal-ink: #fff2f7;
			--pal-ink-soft: #f2d3df;
			--pal-ink-muted: #e3aac1;
			--pal-ink-faint: #cf8ea7;
			--pal-ink-dim: #b36f88;
			--pal-tint-rgb: 255 150 193;
			--pal-tint-hi-rgb: 255 190 217;
			--pal-tint-on-rgb: 255 90 155;
			--pal-accent-900-rgb: 159 20 56;
			--pal-accent-800-rgb: 163 24 74;
			--pal-accent-700-rgb: 196 28 77;
			--pal-accent-600-rgb: 220 31 91;
			--pal-accent-500-rgb: 232 42 108;
			--pal-accent-400-rgb: 245 59 130;
			--pal-accent-dim-rgb: 163 74 109;
			--pal-notice-hi-rgb: 130 43 77;
			--pal-notice-lo-rgb: 115 35 66;
			--pal-accent-300-rgb: 255 106 173;
			--pal-accent-200-rgb: 255 156 197;
			--pal-accent-100-rgb: 255 184 214;
			}

			:root[data-accent="rosegold"],
			.look-swatch[data-accent="rosegold"]
			{
			--pal-bg-rgb: 21 7 5;
			--pal-deep-rgb: 32 11 7;
			--pal-well-rgb: 45 17 13;
			--pal-card-rgb: 55 22 17;
			--pal-sub-rgb: 73 33 27;
			--pal-line-rgb: 85 41 34;
			--pal-shade-rgb: 28 8 2;
			--pal-ink: #fef4f3;
			--pal-ink-soft: #f0d7d5;
			--pal-ink-muted: #dfb1ae;
			--pal-ink-faint: #ca9793;
			--pal-ink-dim: #ae7a74;
			--pal-tint-rgb: 255 156 150;
			--pal-tint-hi-rgb: 255 193 190;
			--pal-tint-on-rgb: 255 102 90;
			--pal-accent-900-rgb: 138 70 84;
			--pal-accent-800-rgb: 154 80 94;
			--pal-accent-700-rgb: 170 92 104;
			--pal-accent-600-rgb: 184 104 114;
			--pal-accent-500-rgb: 200 118 126;
			--pal-accent-400-rgb: 236 166 166;
			--pal-accent-dim-rgb: 163 81 74;
			--pal-notice-hi-rgb: 130 50 43;
			--pal-notice-lo-rgb: 115 42 35;
			--pal-accent-300-rgb: 242 176 174;
			--pal-accent-200-rgb: 248 204 200;
			--pal-accent-100-rgb: 252 228 224;
			}

			:root[data-accent="kupfer"],
			.look-swatch[data-accent="kupfer"]
			{
			--pal-bg-rgb: 22 10 3;
			--pal-deep-rgb: 33 16 6;
			--pal-well-rgb: 47 23 11;
			--pal-card-rgb: 57 29 15;
			--pal-sub-rgb: 76 42 24;
			--pal-line-rgb: 88 50 31;
			--pal-shade-rgb: 29 13 1;
			--pal-ink: #fff5f2;
			--pal-ink-soft: #f1dcd4;
			--pal-ink-muted: #e2baab;
			--pal-ink-faint: #cda190;
			--pal-ink-dim: #b18471;
			--pal-tint-rgb: 255 176 150;
			--pal-tint-hi-rgb: 255 206 190;
			--pal-tint-on-rgb: 255 135 90;
			--pal-accent-900-rgb: 140 62 24;
			--pal-accent-800-rgb: 158 70 26;
			--pal-accent-700-rgb: 176 80 30;
			--pal-accent-600-rgb: 190 90 34;
			--pal-accent-500-rgb: 208 104 40;
			--pal-accent-400-rgb: 240 144 80;
			--pal-accent-dim-rgb: 139 84 63;
			--pal-notice-hi-rgb: 110 57 37;
			--pal-notice-lo-rgb: 98 49 30;
			--pal-accent-300-rgb: 246 166 114;
			--pal-accent-200-rgb: 250 198 156;
			--pal-accent-100-rgb: 253 224 200;
			}

			:root[data-accent="gold"],
			.look-swatch[data-accent="gold"]
			{
			--pal-bg-rgb: 22 17 4;
			--pal-deep-rgb: 33 25 6;
			--pal-well-rgb: 46 36 12;
			--pal-card-rgb: 56 44 16;
			--pal-sub-rgb: 74 60 26;
			--pal-line-rgb: 87 71 32;
			--pal-shade-rgb: 28 23 2;
			--pal-ink: #fefaf3;
			--pal-ink-soft: #f0e7d5;
			--pal-ink-muted: #e0cdad;
			--pal-ink-faint: #ccb791;
			--pal-ink-dim: #b09b72;
			--pal-tint-rgb: 255 215 150;
			--pal-tint-hi-rgb: 255 230 190;
			--pal-tint-on-rgb: 255 195 90;
			--pal-accent-900-rgb: 122 88 14;
			--pal-accent-800-rgb: 144 104 16;
			--pal-accent-700-rgb: 162 118 20;
			--pal-accent-600-rgb: 178 130 24;
			--pal-accent-500-rgb: 198 148 32;
			--pal-accent-400-rgb: 234 188 76;
			--pal-accent-dim-rgb: 139 111 63;
			--pal-notice-hi-rgb: 110 84 37;
			--pal-notice-lo-rgb: 98 74 30;
			--pal-accent-300-rgb: 240 204 112;
			--pal-accent-200-rgb: 247 224 154;
			--pal-accent-100-rgb: 252 241 205;
			}

			:root[data-accent="platin"],
			.look-swatch[data-accent="platin"]
			{
			--pal-bg-rgb: 11 12 15;
			--pal-deep-rgb: 17 18 22;
			--pal-well-rgb: 25 27 33;
			--pal-card-rgb: 32 34 40;
			--pal-sub-rgb: 45 48 55;
			--pal-line-rgb: 53 57 66;
			--pal-shade-rgb: 12 13 18;
			--pal-ink: #f7f8fa;
			--pal-ink-soft: #dfe2e6;
			--pal-ink-muted: #c1c5cc;
			--pal-ink-faint: #a8adb5;
			--pal-ink-dim: #8a8f98;
			--pal-tint-rgb: 194 201 211;
			--pal-tint-hi-rgb: 217 221 228;
			--pal-tint-on-rgb: 159 169 186;
			--pal-accent-900-rgb: 74 79 96;
			--pal-accent-800-rgb: 78 85 99;
			--pal-accent-700-rgb: 94 100 119;
			--pal-accent-600-rgb: 105 113 134;
			--pal-accent-500-rgb: 114 124 146;
			--pal-accent-400-rgb: 128 140 160;
			--pal-accent-dim-rgb: 106 111 119;
			--pal-notice-hi-rgb: 76 80 89;
			--pal-notice-lo-rgb: 65 69 77;
			--pal-accent-300-rgb: 169 178 192;
			--pal-accent-200-rgb: 198 204 213;
			--pal-accent-100-rgb: 214 218 225;
			}

			:root[data-mode="light"]
			{
			--pal-fill-a-rgb: 42 102 232;
			--pal-fill-b-rgb: 59 124 245;
			--pal-bg-rgb: 236 241 250;
			--pal-deep-rgb: 222 230 244;
			--pal-well-rgb: 246 248 253;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 240 244 251;
			--pal-line-rgb: 196 208 230;
			--pal-shade-rgb: 28 48 100;
			--pal-ink-strong: #060d22;
			--pal-ink: #0f1b38;
			--pal-ink-soft: #26365a;
			--pal-ink-muted: #43537a;
			--pal-ink-faint: #4e5e84;
			--pal-ink-dim: #6f7d9c;
			--pal-tint-rgb: 30 58 128;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 42 102 232;
			--pal-accent-300-rgb: 54 118 240;
			--pal-accent-200-rgb: 31 85 220;
			--pal-accent-100-rgb: 24 60 170;
			--pal-notice-hi-rgb: 214 228 252;
			--pal-notice-lo-rgb: 200 218 250;
			}

			:root[data-mode="light"][data-accent="eisblau"]
			{
			--pal-fill-a-rgb: 36 126 165;
			--pal-fill-b-rgb: 35 144 185;
			--pal-bg-rgb: 236 247 250;
			--pal-deep-rgb: 223 239 243;
			--pal-well-rgb: 246 251 253;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 240 248 251;
			--pal-line-rgb: 197 222 229;
			--pal-shade-rgb: 30 77 98;
			--pal-ink-strong: #071821;
			--pal-ink: #102c37;
			--pal-ink-soft: #274b59;
			--pal-ink-muted: #446979;
			--pal-ink-faint: #4f7483;
			--pal-ink-dim: #708f9b;
			--pal-tint-rgb: 37 96 121;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 56 175 218;
			--pal-accent-300-rgb: 24 126 158;
			--pal-accent-200-rgb: 28 98 128;
			--pal-accent-100-rgb: 22 73 99;
			--pal-notice-hi-rgb: 214 244 252;
			--pal-notice-lo-rgb: 200 239 250;
			}

			:root[data-mode="light"][data-accent="smaragd"]
			{
			--pal-fill-a-rgb: 22 154 143;
			--pal-fill-b-rgb: 19 173 155;
			--pal-bg-rgb: 236 250 248;
			--pal-deep-rgb: 223 243 240;
			--pal-well-rgb: 246 253 252;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 240 251 249;
			--pal-line-rgb: 197 229 224;
			--pal-shade-rgb: 30 98 93;
			--pal-ink-strong: #072120;
			--pal-ink: #103733;
			--pal-ink-soft: #275953;
			--pal-ink-muted: #447974;
			--pal-ink-faint: #4f837e;
			--pal-ink-dim: #709b96;
			--pal-tint-rgb: 30 128 120;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 42 232 210;
			--pal-accent-300-rgb: 11 142 123;
			--pal-accent-200-rgb: 16 114 106;
			--pal-accent-100-rgb: 12 88 85;
			--pal-notice-hi-rgb: 214 252 246;
			--pal-notice-lo-rgb: 200 250 242;
			}

			:root[data-mode="light"][data-accent="violett"]
			{
			--pal-fill-a-rgb: 137 57 234;
			--pal-fill-b-rgb: 147 76 246;
			--pal-bg-rgb: 242 236 250;
			--pal-deep-rgb: 231 222 244;
			--pal-well-rgb: 249 246 253;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 244 240 251;
			--pal-line-rgb: 210 196 230;
			--pal-shade-rgb: 63 28 100;
			--pal-ink-strong: #140622;
			--pal-ink: #220f38;
			--pal-ink-soft: #3e265a;
			--pal-ink-muted: #5d437a;
			--pal-ink-faint: #674e84;
			--pal-ink-dim: #846f9c;
			--pal-tint-rgb: 77 30 128;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 128 42 232;
			--pal-accent-300-rgb: 113 21 238;
			--pal-accent-200-rgb: 107 27 194;
			--pal-accent-100-rgb: 88 21 150;
			--pal-notice-hi-rgb: 229 214 252;
			--pal-notice-lo-rgb: 220 200 250;
			}

			:root[data-mode="light"][data-accent="orchidee"]
			{
			--pal-fill-a-rgb: 215 59 204;
			--pal-fill-b-rgb: 228 76 223;
			--pal-bg-rgb: 250 236 249;
			--pal-deep-rgb: 243 223 243;
			--pal-well-rgb: 253 246 252;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 251 240 251;
			--pal-line-rgb: 229 197 228;
			--pal-shade-rgb: 98 30 91;
			--pal-ink-strong: #21071e;
			--pal-ink: #371033;
			--pal-ink-soft: #592755;
			--pal-ink-muted: #794474;
			--pal-ink-faint: #834f7e;
			--pal-ink-dim: #9b7098;
			--pal-tint-rgb: 119 39 111;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 215 59 204;
			--pal-accent-300-rgb: 201 35 194;
			--pal-accent-200-rgb: 162 38 150;
			--pal-accent-100-rgb: 125 30 112;
			--pal-notice-hi-rgb: 252 214 251;
			--pal-notice-lo-rgb: 250 200 249;
			}

			:root[data-mode="light"][data-accent="rubin"]
			{
			--pal-fill-a-rgb: 232 42 108;
			--pal-fill-b-rgb: 245 59 130;
			--pal-bg-rgb: 250 236 241;
			--pal-deep-rgb: 244 222 231;
			--pal-well-rgb: 253 246 248;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 251 240 244;
			--pal-line-rgb: 230 196 209;
			--pal-shade-rgb: 100 28 50;
			--pal-ink-strong: #22060e;
			--pal-ink: #380f1c;
			--pal-ink-soft: #5a2638;
			--pal-ink-muted: #7a4355;
			--pal-ink-faint: #844e60;
			--pal-ink-dim: #9c6f7e;
			--pal-tint-rgb: 128 30 61;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 232 42 108;
			--pal-accent-300-rgb: 219 16 93;
			--pal-accent-200-rgb: 176 25 73;
			--pal-accent-100-rgb: 136 19 52;
			--pal-notice-hi-rgb: 252 214 229;
			--pal-notice-lo-rgb: 250 200 220;
			}

			:root[data-mode="light"][data-accent="rosegold"]
			{
			--pal-fill-a-rgb: 184 104 114;
			--pal-fill-b-rgb: 200 118 126;
			--pal-bg-rgb: 249 238 237;
			--pal-deep-rgb: 242 225 224;
			--pal-well-rgb: 252 247 247;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 250 241 241;
			--pal-line-rgb: 227 201 199;
			--pal-shade-rgb: 95 43 33;
			--pal-ink-strong: #200c08;
			--pal-ink: #351712;
			--pal-ink-soft: #562f2a;
			--pal-ink-muted: #764e47;
			--pal-ink-faint: #805852;
			--pal-ink-dim: #997772;
			--pal-tint-rgb: 128 44 30;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 232 64 42;
			--pal-accent-300-rgb: 202 32 15;
			--pal-accent-200-rgb: 163 44 23;
			--pal-accent-100-rgb: 126 38 18;
			--pal-notice-hi-rgb: 252 216 214;
			--pal-notice-lo-rgb: 250 204 200;
			}

			:root[data-mode="light"][data-accent="kupfer"]
			{
			--pal-fill-a-rgb: 190 90 34;
			--pal-fill-b-rgb: 208 104 40;
			--pal-bg-rgb: 250 240 236;
			--pal-deep-rgb: 243 228 223;
			--pal-well-rgb: 253 248 246;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 251 243 240;
			--pal-line-rgb: 229 206 197;
			--pal-shade-rgb: 98 54 30;
			--pal-ink-strong: #211107;
			--pal-ink: #371d10;
			--pal-ink-soft: #593727;
			--pal-ink-muted: #795644;
			--pal-ink-faint: #83614f;
			--pal-ink-dim: #9b7e70;
			--pal-tint-rgb: 128 64 30;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 232 102 42;
			--pal-accent-300-rgb: 159 54 12;
			--pal-accent-200-rgb: 128 56 18;
			--pal-accent-100-rgb: 99 47 14;
			--pal-notice-hi-rgb: 252 224 214;
			--pal-notice-lo-rgb: 250 214 200;
			}

			:root[data-mode="light"][data-accent="gold"]
			{
			--pal-fill-a-rgb: 178 130 24;
			--pal-fill-b-rgb: 198 148 32;
			--pal-bg-rgb: 249 245 237;
			--pal-deep-rgb: 243 236 223;
			--pal-well-rgb: 253 251 246;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 250 247 241;
			--pal-line-rgb: 228 218 198;
			--pal-shade-rgb: 96 78 32;
			--pal-ink-strong: #211a07;
			--pal-ink: #362b11;
			--pal-ink-soft: #574929;
			--pal-ink-muted: #776946;
			--pal-ink-faint: #817351;
			--pal-ink-dim: #9a8d71;
			--pal-tint-rgb: 128 100 30;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 232 172 42;
			--pal-accent-300-rgb: 137 93 10;
			--pal-accent-200-rgb: 110 83 16;
			--pal-accent-100-rgb: 85 67 12;
			--pal-notice-hi-rgb: 252 238 214;
			--pal-notice-lo-rgb: 250 232 200;
			}

			:root[data-mode="light"][data-accent="platin"]
			{
			--pal-fill-a-rgb: 114 124 146;
			--pal-fill-b-rgb: 128 140 160;
			--pal-bg-rgb: 242 243 244;
			--pal-deep-rgb: 231 232 235;
			--pal-well-rgb: 249 249 250;
			--pal-card-rgb: 255 255 255;
			--pal-sub-rgb: 244 245 247;
			--pal-line-rgb: 210 212 216;
			--pal-shade-rgb: 57 61 71;
			--pal-ink-strong: #111317;
			--pal-ink: #1f2228;
			--pal-ink-soft: #3b3e45;
			--pal-ink-muted: #595c64;
			--pal-ink-faint: #64676e;
			--pal-ink-dim: #81848a;
			--pal-tint-rgb: 71 76 87;
			--pal-tint-hi-rgb: 255 255 255;
			--pal-tint-on-rgb: 122 131 152;
			--pal-accent-300-rgb: 115 127 149;
			--pal-accent-200-rgb: 99 107 127;
			--pal-accent-100-rgb: 77 82 98;
			--pal-notice-hi-rgb: 214 228 252;
			--pal-notice-lo-rgb: 200 218 250;
			}
		/* PRESETS-END */

		/* --- 3.2  HELL-MODUS : abgeleitete Token + Bedeutungsfarben ( von Hand ; die Palette-Primitive des Modus erzeugt 3.1 ) -------------------------- */

			:root[data-mode="light"]
			{
				color-scheme: light;
				--pal-shadow-k:            .3;

				--app-Page-bg:             radial-gradient(90% 42% at 100% 0%, rgb(var(--pal-accent-500-rgb) / .14), transparent 70%), radial-gradient(80% 38% at 0% 38%, rgb(var(--pal-accent-400-rgb) / .08), transparent 70%), radial-gradient(75% 36% at 90% 98%, rgb(var(--pal-accent-600-rgb) / .10), transparent 70%), rgb(var(--pal-bg-rgb));
				--app-Inset:               rgb(var(--pal-shade-rgb) / .07);
				--app-Inset-Soft:          rgb(var(--pal-shade-rgb) / .05);
				--app-Dialog-Scrim:        rgb(var(--pal-shade-rgb) / .35);
				--app-Overlay-Menu-bg:     rgb(var(--pal-shade-rgb) / .30);
				--app-Overlay-bg:          #00000040;
				--app-Menu-bg:             radial-gradient(120% 40% at 100% 0%, rgb(var(--pal-accent-500-rgb) / .12), transparent 70%), rgb(var(--pal-deep-rgb) / .96);
				--app-Footer-bg:           rgb(var(--pal-card-rgb) / .78);
				--app-Dialog-bg:           rgb(var(--pal-card-rgb) / .92);
				--app-Glass-Shadow:        0 8px 28px rgb(var(--pal-shade-rgb) / .16), inset 0 1px 0 rgb(255 255 255 / .6);

				/* Start-Aktionen ( Hero, Menue, "Freies Training", "Satz starten" ) : im Hellen mittlerer statt tiefer Akzent, Glow weicher ( sonst wuchtig und fast schwarz-blau ) */
				--app-BackgroundStart-Color:       linear-gradient(135deg, rgb(var(--pal-fill-a-rgb)) 0%, rgb(var(--pal-fill-b-rgb)) 100%);
				--app-BackgroundStart-Hover-Color: linear-gradient(135deg, rgb(var(--pal-fill-b-rgb)) 0%, rgb(var(--pal-fill-a-rgb)) 100%);
				--app-Start-Shadow:                0 12px 30px -12px rgb(var(--pal-fill-a-rgb) / .34), inset 0 1px 0 rgb(255 255 255 / .35);

				--app-Accent-Gradient:             linear-gradient(135deg, rgb(var(--pal-fill-a-rgb)) 0%, rgb(var(--pal-fill-b-rgb)) 100%);		/* Session-Balken oben, Fortschrittsbalken */

				/* Haupt-Knopf / runder Start-Knopf : im Hellen mittleres Blau und weicher Schatten ( der dunkle Akzent-900-Schatten sah wie ein schwarzer Rand aus ) */
				--app-Primary-bg:          linear-gradient(150deg, rgb(var(--pal-fill-a-rgb)) 0%, rgb(var(--pal-fill-b-rgb)) 100%);
				--app-Primary-shadow:      0 6px 14px -8px rgb(var(--pal-fill-a-rgb) / .45), inset 0 1px 0 rgb(255 255 255 / .35);

				/* Glas-Pillen / Chips : auf Weiss reicht die Dunkel-Tonung nicht ( Flaeche + Rand kaum sichtbar ) -> kraeftigere Tonung, deutlicher Rand */
				--app-Chip-bg:             rgb(var(--pal-tint-rgb) / .13);
				--app-Glass-Chip:          linear-gradient(160deg, rgb(var(--pal-tint-rgb) / .20), rgb(var(--pal-tint-rgb) / .12));
				--app-Glass-Chip-Lip:      inset 0 1px 0 rgb(255 255 255 / .55), inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .24);
				--app-Glass-Chip-On:       linear-gradient(160deg, rgb(var(--pal-tint-on-rgb) / .28), rgb(var(--pal-tint-on-rgb) / .18));
				--app-Accent-Soft:         rgb(var(--pal-accent-100-rgb));		/* Text / Icon auf Tint : die dunkelste helle Stufe, sonst Kontrast < 3 auf der getoenten Flaeche */
				--app-Tile-Soft-bg:        rgb(var(--pal-fill-a-rgb) / .16);		/* weiche Icon-Kachel im Hellen : Akzent-getoent statt grau, Glyph in Akzent-Stufe 200 ( dunkler als die Fuellfarbe, Kontrast >= 3 auch in Smaragd / Bernstein ) statt fast schwarzem Navy */
				--app-Tile-Soft-fg:        rgb(var(--pal-accent-200-rgb));
				--app-Icon-Accent:         rgb(var(--pal-accent-200-rgb));
				--app-Footer-fg:           var(--app-Font-Soft-color);		/* im Hellen nicht grau : dunkles Label, Icon in Akzent */
				--app-Footer-Icon:         rgb(var(--pal-accent-200-rgb));
				--rel-fg:                  var(--app-Font-color);		/* Neuigkeiten-Gruppenkopf : Schrift dunkel, die Kategorie-Farbe steht in der Pillen-Flaeche */
				--app-StageLevel2-color:   #a84a08;		/* orange "min Pause" / Stufe 2 : dunkleres Orange fuer Kontrast auf Hell */
				--app-StageLevel2-rgb:     168 74 8;
				--app-Glass-Chip-On-Lip:   inset 0 1px 0 rgb(255 255 255 / .45), inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .70);
				--app-Pill-Ring:           inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .50), inset 0 1px 0 rgb(255 255 255 / .35);
				--app-Tint:                rgb(var(--pal-tint-on-rgb) / .24);
				--app-Tint-Hover:          rgb(var(--pal-tint-on-rgb) / .16);		/* Hover der runden Knoepfe : schwaecher als dunkel, sonst faellt der Akzent-Glyph darauf unter 3:1 */
				--app-Row-Hover-bg:        rgb(var(--pal-tint-rgb) / .07);		/* Zeilen-Hover : sehr dezent, sonst rutscht kleine Schrift auf getoenten Karten unter 4,5:1 */
				/* Hover im Hellen : eine Familie, ueberall aehnlich dezent ( Zeilen / Koepfe / Fussleiste / Segment = .07, Filter / Tabs = .11, runde Knoepfe = Akzent .16 ) */
				--app-Hover-bg:            rgb(var(--pal-tint-rgb) / .07);		/* Hover von Expander-Koepfen, Fussleiste, Segment : die Chip-Tonung (.13) war zu dunkel */
				--app-Hover-bg-strong:     rgb(var(--pal-tint-rgb) / .11);		/* Hover von Filter-Tags, Tabs, Filter-Knopf */
				--app-IconBtn-Hover-fg:    var(--app-Icon-Accent);		/* Glyph im Hover / Offen-Zustand der runden Knoepfe : wie in Ruhe ( nur die Flaeche aendert sich ), nie fast schwarz ( die Kreis-Glyphe stand als dunkle Scheibe ) */
				--app-Footer-Shadow:       inset 0 1px 0 rgb(255 255 255 / .6);		/* Fussleiste im Hellen ohne Schlagschatten ( User 2026-10-02 ), nur Glanzrand */

				/* Bedeutungsfarben : auf hellem Grund dunklere Toene ( Kontrast ) */
				--app-Font-Alert-color:    #d92d2d;
				--app-Font-Valid-color:    #0f7a30;
				--app-Font-PR-color:       #85690f;
				--app-Font-Saved-color:    #15803d;
				--app-Font-Saved-Soft-color: #166534;
				--app-Font-Editing-color:  #a16207;
				--app-Chart-Max-color:     #b8860b;
				--app-Up-fg:               #178a4d;
				--app-Down-fg:             #d03a3a;
				--app-Trend-Up-fg:         #178a4d;
				--app-Trend-Down-fg:       #d03a3a;
				--app-Trend-Same-fg:       var(--pal-ink-dim);
				--app-Danger-fg:           #c62828;
				--app-Danger-Background-Color:       #fdeaea;
				--app-Danger-Background-Hover-Color: #fbd5d5;
				--app-Danger-Border:       1px solid #f0b4b4;
			}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 4. KEYFRAMES --------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		@keyframes savedCycle 
		{
			0%   { background: var(--app-inputBackground-Color); }
			100% { background: var(--app-BackgroundSave-Color); }
		}

		/* Start-Intro ( §21.0 ) : Logo blendet aus der Unschaerfe ein, Glanz laeuft darueber, Schriftzug steigt auf, dann Ueberblende in die Seite ( 2,0 s fest ) */
		@keyframes introLogoIn
		{
			0%   { opacity: 0; transform: scale(0.82); filter: blur(10px); box-shadow: 0 0 0 0 rgb(var(--app-Accent-rgb) / 0); }
			60%  { opacity: 1; filter: blur(0); }
			100% { opacity: 1; transform: scale(1); filter: blur(0); box-shadow: 0 20px 70px -10px rgb(var(--app-Accent-rgb) / 0.55); }
		}
		@keyframes introSheen		{ to { left: 130%; } }
		@keyframes introWordIn		{ from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
		@keyframes introStageOut	{ to { opacity: 0; visibility: hidden; transform: scale(1.04); } }

		/* Satz gespeichert ( §23.4 .saveSweep, Variante S2 ) : gruener Lichtstreif laeuft einmal von links nach rechts ueber das Feld */
		@keyframes saveSweep
		{
			from
			{
				background-image: linear-gradient(100deg, transparent 30%, rgb(var(--app-Save-rgb) / .55) 50%, transparent 70%);
				background-size: 300% 100%;
				background-repeat: no-repeat;
				background-position: 100% 0;
			}
			to
			{
				background-image: linear-gradient(100deg, transparent 30%, rgb(var(--app-Save-rgb) / .55) 50%, transparent 70%);
				background-size: 300% 100%;
				background-repeat: no-repeat;
				background-position: 0% 0;
			}
		}

		/* Trend-Pfeile im Wdh-Feld ( §23.4 .set-trend-shot / .trendLand, Variante T2 ) : rauf schiesst hoch, runter sinkt kuerzer + leiser ab */
		@keyframes trendShotUp
		{
			0%   { opacity: 0; transform: translateY(10px); }
			40%  { opacity: 1; }
			100% { opacity: 0; transform: translateY(-12px); }
		}
		@keyframes trendShotDown
		{
			0%   { opacity: 0; transform: translateY(-6px); }
			40%  { opacity: .85; }
			100% { opacity: 0; transform: translateY(6px); }
		}
		@keyframes trendLand		{ from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

		@keyframes noticeLine		{ from { transform: scaleX(1); } to { transform: scaleX(0); } }		/* Restzeit-Balken im Hinweis ( §13 ) */

		/* Differenz zu "zuletzt" ( §23.4 .set-delta, Variante T1 ) : steigt auf bzw. sinkt ab und BLEIBT dann neben dem Wert stehen ( User 2026-10-02 ) */
		@keyframes deltaUp
		{
			0%   { opacity: 0; transform: translateY(5px); }
			100% { opacity: 1; transform: translateY(0); }
		}
		@keyframes deltaDown
		{
			0%   { opacity: 0; transform: translateY(-3px); }
			100% { opacity: .9; transform: translateY(0); }
		}

		@keyframes saveFlashPulse
		{
			0%   { transform: scale(1);    box-shadow: none; }
			35%  { transform: scale(1.10); box-shadow: var(--app-ShadowSave); }
			100% { transform: scale(1);    box-shadow: none; }
		}

		@keyframes clearFlash
		{
			0%   { background: var(--app-inputBackground-Color); }
			18%  { background: var(--app-Danger-Background-Hover-Color); box-shadow: inset 0 0 0 1px var(--app-Font-Alert-color); }
			60%  { background: var(--app-Danger-Background-Hover-Color); }
			100% { background: var(--app-inputBackground-Color); box-shadow: none; }
		}

		/* Tap-Feedback auf dem Clear-Icon selbst ( kein eigener Background wie clearFlash's Ziel-Boxen -> Farbe statt Flaeche blitzt ). */
		@keyframes iconClearFlash
		{
			0%, 100% { color: var(--app-Font-Alert-color); }
			30%      { color: var(--app-Font-Alert-color); transform: scale(1.2); }
		}

		/* Pull-to-Refresh-Indikator ( §20 ) : dreht in der Mitte, ptrVanish blendet ihn aus und schrumpft ihn ( Opacity + scale : Rand/Ring sind in px, font-size liess einen Punkt stehen ). */
		@keyframes ptrSpin
		{
			from { transform: rotate(var(--ptr-rot, 0deg)); }
			to   { transform: rotate(calc(var(--ptr-rot, 0deg) + 360deg)); }
		}
		/* exp-box.loading ( §14 ) : Aufklapp-Pfeil pulsiert, solange der Ajax-Inhalt einer Box noch laedt ( expander_OpenAfterLoad ) */
		@keyframes detailLoadPulse	{ to { opacity: .3; } }
		@keyframes ptrVanish
		{
			from { opacity: 1; scale: 1; }
			to   { opacity: 0; scale: 0.6; }
		}

		/* Trainings-Balken ( §23.5 .trainingBar.alert ) : Zeit blinkt, sobald die "Rot ab"-Schwelle aus den Account-Einstellungen erreicht ist ; .setRunning : der Punkt pulsiert */
		@keyframes restAlertBlink
		{
			0%, 100% { opacity: 1; }
			50%      { opacity: .25; }
		}
		@keyframes trainingDotPulse
		{
			0%, 100% { opacity: 1; }
			50%      { opacity: .35; }
		}

		/* Fortschrittsring der Startseiten-Hero ( §21.2 ) : weicher Atem-Glow + minimal groesser = "hier tippen", Ring-Farbe aus --app-Accent-rgb */
		@keyframes heroRingPulse
		{
			0%, 100% { transform: scale(1);     box-shadow: 0 0 0 0 var(--hero-pulse, rgb(var(--app-Accent-rgb) / .45)); }
			50%      { transform: scale(1.045); box-shadow: 0 0 0 8px transparent; }
		}
		@keyframes trainingReset			/* "Zurücksetzen" : die Zeit springt kurz aus dem Dunkeln auf 0:00 zurück, das Icon dreht sich einmal */
		{
			0%   { opacity: .15; transform: scale(.88); }
			100% { opacity: 1;   transform: scale(1); }
		}
		@keyframes trainingSpin
		{
			to { transform: rotate(-360deg); }
		}
		@keyframes trainingResetTint		/* "Zurücksetzen" : ganzer Knopf kurz hellblau, blendet dann in den Ruhezustand aus */
		{
			0%   { background: rgb(var(--app-Accent-rgb) / .38); border-color: rgb(var(--app-Accent-rgb) / .85); color: var(--app-Font-Accent-color); }
			100% { background: transparent; }
		}

		@keyframes savePillRun			/* ablaufende Linie der Speichern-Pille §13.1b ; als Animation statt Transition, damit sie beim Ausblenden nicht auf voll zurueckspringt */
		{
			from { transform: scaleX(1); }
			to   { transform: scaleX(0); }
		}

		@keyframes loginShake			/* Shake, urspruenglich fuer login.php gedacht -- jetzt vom X in §13.1 .saveFeedback.error + §13.1b .savePill.error mitgenutzt */
		{
			0%, 100% { transform: translateX(0); }
			20%      { transform: translateX(-8px); }
			40%      { transform: translateX(7px); }
			60%      { transform: translateX(-5px); }
			80%      { transform: translateX(3px); }
		}

		@keyframes saveFeedbackDraw 	{ to { stroke-dashoffset: 0; } }									/* §13.1 Kreis + Haken zeichnen */
		@keyframes saveFeedbackPop
		{
			0%   { transform: scale(0); }
			60%  { transform: scale(1.15); }
			100% { transform: scale(1); }
		}

		@keyframes installPulse		{ 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.12); } }		/* Ring um das gemeinte Symbol in der Install-Anleitung ( §11 ) */
		@keyframes installArrowDrop	{ 0%, 55%, 100% { transform: translateY(0); } 70% { transform: translateY(3px); } 82% { transform: translateY(-1.5px); } 92% { transform: translateY(.5px); } }		/* Startseite "App installieren" : Download-Symbol senkt sich kurz, federt zurueck, Pause */
		@keyframes installTileGlow	{ 0%, 55%, 100% { box-shadow: 0 0 0 0 rgb(var(--app-Accent-rgb) / 0); } 70% { box-shadow: 0 0 14px 2px rgb(var(--app-Accent-rgb) / .45); } }		/* Halo der Kachel im Takt des Symbols */
		@keyframes exerciseIconBob	{ from { transform: translateY(-1.5px) rotate(-4deg); } to { transform: translateY(1.5px) rotate(4deg); } }		/* aktive Uebung in der Active Session ( §23 ) : Icon wippt dezent */

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 5. GLOBAL BASE ------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		* {
			-webkit-tap-highlight-color: transparent; /* Chrome, Edge, Samsung, Opera */
		}
		button, a, .touch { -webkit-tap-highlight-color: rgba(0,0,0,0); } /*Safaria Fix*/

		/* Modus-/Akzentwechsel ( look_apply in script.js setzt die Klasse nur fuer den Moment des Wechsels ) : alle Farben springen sofort.
		   Sonst laufen box-shadow ( bis 2 s ) / background / border-color auf hunderten Elementen gleichzeitig, jedes Frame wird neu gemalt -> am Handy Sekunden Stillstand. */
		:root.look-switching *, :root.look-switching *::before, :root.look-switching *::after { transition: none !important; }

		body, html
		{
			min-width: 100%;
			min-height: 100vh;
			min-height: 100svh;			/* mobile: exclude the retractable URL bar -> no bottom gap / scroll jump */

			margin: 0px;
			padding: 0px;

			font-family: var(--app-Font);
			background: transparent;			/* Hintergrund liegt auf body::before ( eigene Ebene ), nicht per background-attachment: fixed ( malt beim Scrollen die ganze Flaeche neu ) */
			color: var(--app-Font-color);
		}
		html { background: var(--bg-end); }

		/* Nachtglas : Nachtblau + drei weiche Lichtflecken ( Token §3 ), fest hinter allem, eigene Compositor-Ebene */
		body::before
		{
			content: "";
			position: fixed;
			inset: 0;
			z-index: -1;
			background: var(--app-Page-bg);
			pointer-events: none;
			transform: translateZ(0);
		}

		ico
		{
			font-family: AppIcons7 !important;
			font-style: normal;
			font-weight: 900;
			text-rendering: auto;
			-webkit-font-smoothing: antialiased;
			text-align: center;
		}

		ico:hover
		{
			cursor: pointer;
		}

		/* ico[data-ic] : Glyphen fuer Icons, die JS erzeugt ( <ico data-ic="edit"></ico> ; Wechsel per ico_set() in script.js ). Codes = ICON_*-Konstanten
		   aus includes/config_icons.php ( PHP nutzt dort die Konstanten direkt ) -- neues JS-Icon : Zeile hier + Konstante dort. */
		ico[data-ic="edit"]:before				{ content: "\f044"; }
		ico[data-ic="delete"]:before			{ content: "\f1f8"; }
		ico[data-ic="close"]:before				{ content: "\f00d"; }
		ico[data-ic="check"]:before				{ content: "\f00c"; }
		ico[data-ic="refresh"]:before			{ content: "\f021"; }
		ico[data-ic="arrow-up"]:before			{ content: "\e098"; }
		ico[data-ic="arrow-down"]:before		{ content: "\e097"; }
		ico[data-ic="chevron-up"]:before		{ content: "\f077"; }
		ico[data-ic="chevron-down"]:before		{ content: "\f078"; }
		ico[data-ic="list-numbered"]:before		{ content: "\f0cb"; }
		ico[data-ic="clock"]:before				{ content: "\f017"; }
		ico[data-ic="start"]:before				{ content: "\f04b"; }
		ico[data-ic="skip"]:before				{ content: "\f04e"; }
		ico[data-ic="unskip"]:before			{ content: "\f04a"; }
		ico[data-ic="info"]:before				{ content: "\f05a"; }
		ico[data-ic="infoTip"]:before			{ content: "\f129"; }
		ico[data-ic="warning"]:before			{ content: "\f071"; }
		ico[data-ic="show"]:before				{ content: "\f06e"; }
		ico[data-ic="hide"]:before				{ content: "\f070"; }

		/* ico7 : Font Awesome 7 Icons ( default = solid/900 ). */
		ico7
		{
			font-family: AppIcons7 !important;
			font-weight: 900;
			font-style: normal;
			text-rendering: auto;
			-webkit-font-smoothing: antialiased;
			text-align: center;
		}

		ico7:hover
		{
			cursor: pointer;
		}

	/* --- 5.1  SCROLLBAR — thin rounded, matched to the dark palette (app-wide) ------------------------------------------------------------------ */

		::-webkit-scrollbar			{ width: 9px; height: 9px; }
		::-webkit-scrollbar-track	{ background: transparent; }

		::-webkit-scrollbar-thumb
		{
			background: var(--app-Scrollbar-Thumb-Color);
			border-radius: var(--app-Radius-Pill);
			border: 3px solid transparent;
			background-clip: padding-box;
		}
		::-webkit-scrollbar-thumb:hover,
		::-webkit-scrollbar-thumb:active
		{
			background: var(--accent);	/* nur Farbe : Breite bleibt gleich, sonst wirkt der Balken beim Anklicken (PWA) viel dicker */
			background-clip: padding-box;
			border: 3px solid transparent;
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 6. SHARED INTERACTIVE ------------------------------------------------------------------------------------------------------------------ */
	/* ---    (gemeinsames Hover-/Transition-Muster für menu-item, entrylist-element, sideMenu-ListEntry, exp-btn, set-content...)                   */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			.menu-item
			{
				border: 1px solid transparent;
				transition: var(--app-MenuItem-Transition);
			}
			@media (hover: hover) and (pointer: fine)		/* am Handy bleibt :hover nach dem Tippen haengen = dunkle Flaeche + Muted-Schrift in der Fussleiste */
			{
				.menu-item:hover
				{
					color: var(--app-Font-OnFill-color);
					background: var(--app-MenuItem-Hover-color);

					box-shadow: var(--app-Glow-Accent);
					border-color: var(--app-TransformBorder-Color);
				}
			}
			.menu-item > ico { transition: inherit }

			.NoHighlight 
			{
				transition: none !important;
				transform: none !important;
				background: var(--app-BackgroundCard-Color) !important;
				box-shadow: var(--app-Shadow) !important;
				border-radius: var(--app-Border-Radius) !important;
				border: 1px solid transparent !important;
			}

			.delete 			{ color: var(--app-Font-Alert-color); }

			.save   			{ color: var(--app-Font-Valid-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 7. PAGE LAYOUT ------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			.main-box
			{
				display: flex;
				flex-direction: column;
				gap: 20px;
				padding: 8px max(var(--app-Gutter), env(safe-area-inset-right, 0px)) 20px max(var(--app-Gutter), env(safe-area-inset-left, 0px));
				-webkit-user-select: none;
				user-select: none;
			}

			main
			{
				display: block;
				/* footer clearance (floating glass bar 68px + 18px gap + safe-area inset, §9 / §20) — padding, not margin : main is the last box in the document with nothing below
				   to stop margin-collapse, so a margin-bottom here silently vanishes from the page's scrollHeight instead of reserving space */
				padding-bottom: calc(112px + var(--sai-bottom, 0px));
			}

		/* zentrierte Content-Spalte, scrollt nie seitlich (alt 16.3) */

		#main-page	{ overflow-x: clip; }

		.main-box
		{
			box-sizing: border-box;
			max-width: var(--app-Content-MaxWidth);
			margin-inline: auto;
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 8. HEADER ------------------------------------------------------------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/*--------------------------------------------------------------------------------------------------------------------------------------------- */

			header				{ position: sticky; top: 0; z-index: 50; }

			.header-container	{ width: 100%; }		/* kein Balken : Titel + Menue-Knopf schweben auf dem Seitenhintergrund */

			.header-overlay
			{
				height: 100%;
				position: absolute;
				top: 0px;
				width: 100%;
				z-index: -1;

				background-position-x: center;
				background-position-y: center;
				background-size: initial;
		
				/*display: none;*/
			}

		/* --- MenuBar ------------------------------------------------------------------------------------------------------------------------- */

			.header-MenuBar
			{
				display: flex;
				align-items: center;
				justify-content: space-between;
				flex-direction: row;

				height: 84px;
				box-sizing: border-box;
			}

			/* Seitenname + Menue-Knopf : Glas-Pille ( Glas-Token wie Baustein Karte, aber volle Rundung ) */
			.header-MenuBar > .header-App-Name,
			.header-MenuBar .menu-left-grid > .menu-item,
			.header-MenuBar .menu-right-grid > .menu-item,
			.sideMenu-Header > ico
			{
				background: var(--app-Glass-Card);
				box-shadow: var(--app-Glass-Lip), var(--app-Glass-Ring);
				-webkit-backdrop-filter: var(--app-Blur);
				backdrop-filter: var(--app-Blur);
			}

			.header-App-Name
			{
				display: inline-flex;
				align-items: center;
				height: var(--app-Btn-H);
				margin-left: 0;
				padding: 0 22px;
				border-radius: var(--app-Radius-Pill);
				flex-shrink: 0;
				box-sizing: border-box;
				white-space: nowrap;
				font-size: 21px;
				font-weight: 700;
				letter-spacing: -.02em;
				user-select: none;
			}

		/* --- MenuBar : box-menu-left -------------------------------------------------------------------------------------------------------- */
		
			.header-MenuBar .box-menu-left
			{
				height: 100%;
				flex-grow: 1;
				align-content: center;
				box-sizing: border-box;
				
				padding: 10px 10px 10px 10px;
			}

			.header-MenuBar .menu-left-grid
			{
				display: flex;
				flex-direction: row;
				flex-wrap: nowrap;
				align-items: center;
				justify-content: flex-start;

				column-gap: 10px;
				height: 100%;
			}

			.header-MenuBar .menu-left-grid > .menu-item
			{
				cursor: pointer;
				display: inline-flex;
				align-items: center;

				height: var(--app-Btn-H);
				box-sizing: border-box;
				padding: 0 18px;
				border-radius: var(--app-Radius-Pill);		/* Glas-Pille wie Seitenname + Menue-Knopf ( Glas-Token oben ) */
				white-space: nowrap;
				transition: var(--app-SpringPop-Transition), background-color .22s ease-out;

				-moz-user-select: none;
				-webkit-user-select: none;
				user-select: none;

				font-size: 18px;
			}
		.header-MenuBar .menu-left-grid > .menu-item:active	{ transform: scale(.97); }		/* Druecken = Feder */
		@media (hover: hover) and (pointer: fine) { .header-MenuBar .menu-left-grid > .menu-item:hover	{ background: var(--app-Row-Hover-bg); } }

		/* --- MenuBar : box-menu-right ------------------------------------------------------------------------------------------------------- */

			.header-MenuBar .box-menu-right
			{
				height: 100%;
				align-content: center;
				box-sizing: border-box;
				
				padding: 0;
			}

			.header-MenuBar .menu-right-grid
			{
				display: flex;
				flex-direction: row;
				flex-wrap: nowrap;
				align-content: center;
				justify-content: flex-start;
				align-items: center;

				height: var(--app-Btn-H);
				column-gap: 14px;
			}

			.header-MenuBar .menu-right-grid > .menu-item
			{
				cursor: pointer;
				display: grid;
				place-items: center;
				text-align: center;

				width: var(--app-Btn-H);
				height: var(--app-Btn-H);
				border-radius: var(--app-Radius-Pill);
				transition: var(--app-SpringPop-Transition), background-color .22s ease-out;

				-moz-user-select: none;
				-webkit-user-select: none;
				user-select: none;
			}
			.header-MenuBar .menu-right-grid > .menu-item ico	{ font-size: 24px; }
			.header-MenuBar .menu-right-grid > .menu-item:active	{ transform: scale(.97); }		/* Druecken = Feder */
			@media (hover: hover) and (pointer: fine) { .header-MenuBar .menu-right-grid > .menu-item:hover		{ background: var(--app-Tint-Hover); } }

		/* --- ActiveSession-Bar : Rueckkehr zur laufenden Session ( page_header.php, gefuellt per activeSession_renderReturn ) ----------------- */

			/* Wie die laufende-Session-Karte der Startseite ( §21.2 .home-hero:has([data-phase]) ) : Glas mit Akzent-Tint, links Fortschrittsring ( .hero-ring ), rechts Name /
			   aktuelle Uebung / Phase + Zeit ( .home-hero-txt ) ; zentrierte Karte im Seitenrand ( User 2026-10-01 ), folgt Farb-Preset + Hell-/Dunkel-Modus ueber --app-Accent-rgb */
			.header-ActiveSession
			{
				display: flex;
				align-items: center;
				gap: 14px;

				box-sizing: border-box;
				margin: 0 var(--app-Gutter) 6px;
				padding: 12px 16px;

				color: var(--app-Font-color);
				border-radius: var(--app-Radius-Card);
				background: linear-gradient(rgb(var(--app-Accent-rgb) / .16), rgb(var(--app-Accent-rgb) / .16)), var(--app-Glass-Card);
				box-shadow: var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Color), var(--app-Glass-Lip);
				-webkit-backdrop-filter: var(--app-Blur);
				backdrop-filter: var(--app-Blur);
				cursor: pointer;

				-moz-user-select: none;
				-webkit-user-select: none;
				user-select: none;
			}
			@media (hover: hover) and (pointer: fine) { .header-ActiveSession:hover				{ filter: brightness(1.08); } }

			.header-ActiveSession .hero-ring						{ width: 54px; height: 54px; }
			.header-ActiveSession .hero-ring > div					{ width: 43px; height: 43px; }
			.header-ActiveSession .hero-ring > div > b				{ font-size: 16px; }
			.header-ActiveSession .line-name						{ display: flex; align-items: baseline; gap: 8px; min-width: 0; }
			.header-ActiveSession .line-name > b				{ min-width: 0; font-size: 18px; color: var(--app-Font-Accent-color); overflow-wrap: anywhere; }		/* langer Name bricht um, Innenabstand der Karte bleibt */
			.header-ActiveSession .line-name > i				{ flex: 0 0 auto; margin-left: auto; font-style: normal; font-size: 12px; font-weight: 400; color: var(--app-Font-Muted-color); }
			.header-ActiveSession .home-hero-txt > .line-exercise	{ margin-top: 2px; font-size: 15px; }

			/* Phase ( Bereit / Ausfuehrung / Pause ) + Zeit : Punkt-Farben und Warn-Schwellen wie der Trainings-Balken ( §23.5 ), Zeit tickt returnBar_tick() ( script.js ) */
			.returnBar-dot
			{
				display: inline-block;
				width: 8px;
				height: 8px;
				margin-right: 6px;
				border-radius: 50%;
				vertical-align: 1px;
				background: rgb(255 255 255 / .55);
			}
			/* Punkt auf Glas : Bereit / Pause ruhig, Ausfuehrung gruen + pulsierend ; Warn / Rot = Punkt + Aussenring am Fortschrittsring ( §21.2 ) ( Hero-Karte hat dieselben Regeln in §21.2 ) */
			.header-ActiveSession .returnBar-dot					{ background: var(--app-Font-Muted-color); }
			.header-ActiveSession.setRunning .returnBar-dot		{ background: var(--app-Font-Valid-color); animation: trainingDotPulse 1.2s ease-in-out infinite; }
			.header-ActiveSession.warn .returnBar-dot,
			.home-hero-main.warn .returnBar-dot						{ background: var(--app-Font-Editing-color); }
			.header-ActiveSession.alert .returnBar-dot,
			.home-hero-main.alert .returnBar-dot					{ background: var(--app-Font-Alert-color); }
			.header-ActiveSession.alert .returnBar-time,
			.home-hero-main.alert .returnBar-time					{ animation: restAlertBlink 1s ease-in-out infinite; }
			.header-ActiveSession.notStarted .returnBar-time,
			.home-hero-main.notStarted .returnBar-time			{ display: none; }
			.returnBar-sep										{ margin: 0 8px; opacity: .6; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 9. FOOTER ------------------------------------------------------------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* schwebende Glas-Leiste : 16px Rand links/rechts, 18px ueber dem unteren Rand ( + Home-Indicator-Inset, §20 ) */
		footer
		{
			position: fixed;
			left: 16px;
			right: 16px;
			bottom: calc(18px + var(--sai-bottom, 0px));
			z-index: 50;
		}

		.footer-container
		{
			box-sizing: border-box;
			padding: 6px;
			border-radius: var(--app-Radius-Card);
			background: var(--app-Footer-bg);
			box-shadow: var(--app-Footer-Shadow);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);
		}

		.footer-MenuBar
		{
			display: flex;
			flex-direction: row;
			flex-wrap: nowrap;
			justify-content: space-around;
			align-items: center;
			gap: 4px;

			height: 56px;
		}

		.footer-MenuBar > .menu-item
		{
			cursor: pointer;

			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			gap: 3px;
			text-align: center;

			width: 100%;
			height: 100%;
			min-width: 44px;
			border-radius: var(--app-Radius-Row);
			color: var(--app-Footer-fg);

			-moz-user-select: none;
			-webkit-user-select: none;
			user-select: none;

			transition: var(--app-SpringPop-Transition), background-color .22s ease-out, color .22s ease-out;
		}

		.footer-MenuBar > .menu-item:active		{ transform: scale(.97); background: var(--app-Chip-bg); color: var(--app-Font-color); }
		.footer-MenuBar > .menu-item:active ico	{ color: var(--app-Icon-Accent); }		/* Druecken = Feder ; Schrift voll hell ( am Handy gibt es kein :hover, vorher blieb sie beim Tippen grau ) */
		.footer-MenuBar > .menu-item:active > b	{ opacity: 1; }
		@media (hover: hover) and (pointer: fine) { .footer-MenuBar > .menu-item:hover		{ background: var(--app-Hover-bg); color: var(--app-Font-color); } }
		@media (hover: hover) and (pointer: fine) { .footer-MenuBar > .menu-item:hover > b	{ opacity: 1; } }		/* Label sonst bei .8 = wirkt grau trotz heller Textfarbe */
		.footer-MenuBar > .menu-item ico 		{ color: var(--app-Footer-Icon); font-size: 22px; transition: var(--app-SpringPop-Transition), filter 0.25s ease; }
		@media (hover: hover) and (pointer: fine) { .footer-MenuBar > .menu-item:hover ico	{ transform: scale(1.15); filter: drop-shadow(0 0 6px rgb(var(--app-Accent-rgb) / .55)); } }	/* Scale-Pop + Glow statt Font-Size-Sprung */
		@media (hover: hover) and (pointer: fine) { :root[data-mode="light"] .footer-MenuBar > .menu-item:not(.active):hover		{ box-shadow: none; border-color: transparent; } }	/* Hell : das globale .menu-item:hover (Glow + Ring, §6) wirkte auf der weissen Leiste wie ein grauer Kasten mit Rand */
		@media (hover: hover) and (pointer: fine) { :root[data-mode="light"] .footer-MenuBar > .menu-item:hover ico	{ filter: none; } }	/* Hell : Akzent-Glow um das dunkle Icon = Schmierfleck, nur der Scale-Pop bleibt */

		/* small text label under each footer icon (a11y : no more icon-only nav) */
		.footer-MenuBar > .menu-item > b
		{
			font-weight: 600;
			font-size: 12px;
			letter-spacing: .02em;
			line-height: 1;
			color: inherit;
			opacity: .9;
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 10. SIDEMENU --------------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		body.menu 						{ overflow-y: hidden; }
		body.menu .sideMenu-Background  { background-color: var(--app-Overlay-Menu-bg); -webkit-backdrop-filter: var(--app-Menu-Blur); backdrop-filter: var(--app-Menu-Blur); visibility: visible; pointer-events: auto; transition: background-color 0.5s ease, -webkit-backdrop-filter 0.35s ease 0.5s, backdrop-filter 0.35s ease 0.5s, visibility 0s; }
		body.menu .sideMenu-Container 	{ transform: translateX(0); visibility: visible; transition-delay: 0s; }

		.sideMenu-Background
		{
			position: fixed;
			top: 0; bottom: 0; left: 0; right: 0;
			z-index: 90;

			background-color: transparent;						/* Abdunkelung blendet ueber die Farbe ein, NICHT ueber opacity */
			-webkit-backdrop-filter: none;					/* Blur kommt erst NACH dem Einschieben des Panels ( body.menu, Verzoegerung 0.5 s ) und geht beim Schliessen sofort : ein Blur unter dem bewegten Panel laggt am Desktop */
			backdrop-filter: none;

			visibility: hidden;					/* geschlossen nicht malen, erst nach dem Ausblenden */
			pointer-events: none;
			transition: background-color 0.5s ease, visibility 0s linear 0.5s;
		}

		/* Panel : dunkles Glas mit Lichtfleck oben rechts ( --app-Menu-bg ), links stark gerundet */
		.sideMenu-Container
		{
			position: fixed;
			top: 0;
			right: 0;
			height: 100vh;
			height: 100dvh;						/* track the visible viewport (URL bar / keyboard) */
			width: min(318px, 86vw);
			z-index: 100;
			overflow: hidden;
			border-radius: 30px 0 0 30px;
			-webkit-user-select: none;
			user-select: none;

			background: var(--app-Menu-bg);
			box-shadow: var(--app-Menu-Shadow);					/* kein backdrop-filter : Hintergrund ist zu 94 % deckend, ein bewegter Blur kostet nur */

			transform: translateX(100%);        /* Start: komplett draußen */
			visibility: hidden;
			transition: transform 0.5s ease, visibility 0s linear 0.5s;   /* Smooth Slide */
		}

	/* --- SideMenu Header  --------------------------------------------------------------------------------------------------------------- */

		.sideMenu-Header
		{
			display: flex;
			flex-direction: row;
			align-items: center;
			padding: 26px 22px 14px 26px;
			padding-top: max(26px, calc(env(safe-area-inset-top, 0px) + 16px));	/* clear the notch / Dynamic Island */
			justify-content: space-between;
		}
		.sideMenu-Header > ico
		{
			display: grid;
			place-items: center;
			width: 44px;
			height: 44px;
			border-radius: var(--app-Radius-Pill);
			font-size: 22px;
			color: var(--app-Font-Soft-color);
		}
		@media (hover: hover) and (pointer: fine) { .sideMenu-Header > ico:hover  	{ color: var(--app-Font-color); background: var(--app-Row-Hover-bg); } }

		.sideMenu-Header > .sideMenu-HeaderText { font-weight: 700; font-size: 30px; letter-spacing: -.03em; }

	/* --- SideMenu Content  -------------------------------------------------------------------------------------------------------------- */

		.sideMenu-Grid
		{
			display: flex;
			flex-direction: column;
			width: 100%;
			height: 100%;
		}

		.sideMenu-SeperatorLine { height: 1px; margin: 0px 26px; background: var(--app-Divider-Fade); }
		.sideMenu-Header + .sideMenu-SeperatorLine { display: none; }		/* direkt unter dem Kopf keine Linie */

		.sideMenu-ScrollBox { overflow-y: auto; }

		.sideMenu-Group
		{
			display: flex;
			flex-direction: column;
			padding: 14px 16px;		/* oben = unten, damit der Abstand zu den Trennlinien ueberall gleich ist */
		}

		.sideMenu-GroupHeader	 		{ padding: 6px 12px 8px; }

		.GroupHeader-Text					{ font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--app-Font-Faint-color); }
		.sideMenu-GroupHeader > ico 		{ padding-right: 10px; font-size: 18px; color: var(--app-Font-Faint-color); }
		.sideMenu-GroupHeader > ico:hover 	{ cursor: auto; }

		.sideMenu-List
		{
			display: flex;
			flex-direction: column;
			gap: 10px;
			font-size: 14px;
			font-weight: 500;
		}

		/* Eintrag : Glas-Zeile mit Icon-Kachel ( Baustein Icon-Kachel, 38px ) ; aktiv = Tint + Hero-Kachel, Start = blaue Karte */
		.sideMenu-ListEntry
		{
			--tile: 38px;
			display: flex;
			align-items: center;
			gap: 14px;
			padding: 7px 12px 7px 8px;
			border: 0;
			border-radius: 18px;
			color: var(--app-Font-Soft-color);
			background: var(--app-Glass-Chip);
			box-shadow: var(--app-Glass-Chip-Lip);
			transition: var(--app-SpringPop-Transition), background-color .22s ease-out, color .22s ease-out;
		}
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry[onclick]:hover		{ cursor: pointer; background: var(--app-Row-Hover-bg); color: var(--app-Font-color); } }
		.sideMenu-ListEntry[onclick]:active		{ transform: scale(.97); }		/* Druecken = Feder */
		.sideMenu-ListEntry > ico 				{ font-size: 18px; }
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry[onclick]:hover > ico	{ background: var(--app-Tint); } }
		.sideMenu-EntryText 					{ font-size: 16px; font-weight: 600; letter-spacing: -.005em; text-align: left; }
		.sideMenu-ListEntry:not([onclick]) 	{ cursor: default; padding: 12px 16px; background: var(--app-Glass-Card); box-shadow: var(--app-Glass-Lip); }
		.sideMenu-EntryText.login				{ display: flex; flex-direction: column; gap: 2px; font-weight: 700; }		/* "Angemeldet als" klein oben, Name darunter */
		.sideMenu-EntryText.login > small		{ font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--app-Font-Muted-color); }
		.sideMenu-EntryText > .rel-chip			{ margin-left: 6px; }

	/* --- SideMenu : aktive Seite  ----------------------------------------------------------------------------------------------------- */

		.sideMenu-ListEntry.active
		{
			background: var(--app-Tint);
			color: var(--app-Font-color);
			box-shadow: var(--app-Tint-Ring);
			cursor: default;
		}
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry.active:hover		{ background: var(--app-Tint); } }
		.sideMenu-ListEntry.active:active		{ transform: none; }

	/* "Session starten" : Haupt-Aktion, immer erster Eintrag -- groesser, weisse fette Schrift auf der Akzent-Karte ( immer gefuellt, sonst ist weisse Schrift im Hell-Modus unlesbar ), Kachel als helle Glasflaeche */
		.sideMenu-ListEntry.start
		{
			margin-bottom: 8px;
			padding: 9px 14px 9px 9px;
			border-radius: 20px;
			color: var(--app-Font-OnFill-color);
			background: var(--app-BackgroundStart-Color);
			box-shadow: var(--app-Start-Shadow);
		}
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry.start[onclick]:hover	{ background: var(--app-BackgroundStart-Hover-Color); } }
		.sideMenu-ListEntry.start > ico						{ background: var(--app-Start-Border-Color); color: var(--app-Font-OnFill-color); }
		.sideMenu-ListEntry.start > .sideMenu-EntryText		{ font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry.start[onclick]:hover			{ color: var(--app-Font-OnFill-color); } }
		.sideMenu-ListEntry.start.active
		{
			background: var(--app-BackgroundStart-Color);
			box-shadow: var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Hover-Color);
		}
		@media (hover: hover) and (pointer: fine) { .sideMenu-ListEntry.start.active:hover				{ background: var(--app-BackgroundStart-Color); } }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 11. DIALOG (Modal) --------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Kleines Bestaetigungs-Fenster – per JS (dialog_open) einmalig an <body> gehaengt. Dunkles Glas ueber abgedunkelter Seite ( Dialog + Feedback-Overlay §13.2 teilen sich die Huelle ). */
		/* Container mittig zentriert. Hinweis-Dialoge ( Icon / ein Knopf ) tragen .centered ( gesetzt in dialog_open ) : Inhalt mittig statt linksbuendig.                           */

		body.dialog 							{ overflow-y: hidden; }
		body.dialog .dialog-Background 			{ opacity: 1; pointer-events: auto; }
		body.dialog .dialog-Container 			{ opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

		.dialog-Background,
		.feedback-Background
		{
			position: fixed;
			top: 0; bottom: 0; left: 0; right: 0;
			z-index: 110;

			background-color: var(--app-Dialog-Scrim);

			-webkit-backdrop-filter: var(--MenuBar-BackdropFilter);
			backdrop-filter: var(--MenuBar-BackdropFilter);

			opacity: 0;
			pointer-events: none;
			transition: opacity 0.5s ease;
		}

		.dialog-Container,
		.feedback-Container
		{
			position: fixed;
			top: 50%;
			left: 50%;

			box-sizing: border-box;
			padding: 26px 22px 22px;

			display: flex;
			flex-direction: column;
			gap: 16px;

			background: var(--app-Dialog-bg);
			border: 0;
			border-radius: var(--app-Radius-Dialog);
			box-shadow: var(--app-Dialog-Shadow);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);

			opacity: 0;
			pointer-events: none;
			transform: translate(-50%, -50%) scale(0.96);
			transition: opacity 0.3s ease, transform 0.3s ease;
		}
		.dialog-Container	{ z-index: 120; width: min(420px, calc(100vw - 48px)); }

		.dialog-Header
		{
			font-size: 24px;
			font-weight: 700;
			line-height: 1.15;
			letter-spacing: -.02em;
			color: var(--app-Font-color);
		}
		.dialog-Sub				{ margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--app-Font-Muted-color); }

		.dialog-Content
		{
			font-size: 14px;
			line-height: 1.55;
			color: var(--app-Font-Soft-color);
			white-space: pre-line;		/* "\n" im Text = Zeilenumbruch ( z.B. Uebungs-Aufzaehlung auf exercisePage.php ) */
			overflow-wrap: anywhere;	/* lange Plan-/Uebungsnamen ohne Leerzeichen sprengen sonst die Box auf dem Handy */
		}

		/* Warnung : Rot-Tint-Karte mit Icon ; Hinweis ( note ) : ruhige Chip-Flaeche */
		.dialog-Warning
		{
			display: flex;
			flex-direction: row;
			align-items: center;
			column-gap: 10px;

			padding: 12px 14px;

			font-size: 13.5px;
			font-weight: 600;
			line-height: 1.4;
			color: var(--app-Danger-fg);
			background: var(--app-Btn-Danger-bg);
			border: 0;
			border-radius: var(--app-Radius-Btn);
			box-shadow: var(--app-Btn-Danger-ring);
		}
		.dialog-Warning > ico		{ font-size: 18px; flex: 0 0 auto; }

		.dialog-Note
		{
			padding: 11px 14px;
			font-size: 13px;
			line-height: 1.45;
			color: var(--app-Font-Muted-color);
			background: var(--app-Chip-bg);
			border-radius: var(--app-Radius-Btn);
		}

		/* Knopf-Reihe : die Knoepfe selbst sind §18 Baustein Knopf ( confirm = Haupt-Knopf, cancel = ruhig, discard = Rot-Tint, .danger = kraeftiges Rot ) */
		.dialog-Actions
		{
			display: flex;
			flex-direction: row;
			justify-content: flex-end;
			gap: 10px;
			margin-top: 14px;
		}

		.dialog-Btn
		{
			--btn-h: var(--app-Btn-H-Dialog);
			display: flex;
			align-items: center;
			justify-content: center;
			flex: 1 1 auto;
			padding: 0 14px;
			font-size: 15px;
			line-height: 1;
			white-space: nowrap;
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
		}
		.dialog-Btn.confirm		{ flex-grow: 1.25; }
		.dialog-Btn[hidden]		{ display: none; }

		/* has-discard : dritter Knopf "Verwerfen" ( dialog_open({ discardText, onDiscard }) ) -- alle drei in EINER Zeile, gleich breite Spalten + Umbruch statt nowrap : */
		/* laengere Kombis ( "Weiter bearbeiten" / "Alle verwerfen" ) liefen sonst ueber den Knopf-Rand hinaus ( Handy-Meldung 2026-09-23 ).                              */
		.dialog-Actions.has-discard				{ gap: 8px; }
		.dialog-Actions.has-discard .dialog-Btn
		{
			flex: 1 1 0;
			min-width: 0;
			padding: 0 8px;
			font-size: 14.5px;
			line-height: 1.2;
			white-space: normal;
			text-align: center;
		}
		.dialog-Actions.has-discard .dialog-Btn.confirm	{ flex-grow: 1.3; }

		/* Hinweis-Dialoge ( .centered ) : Icon / Eyebrow / Titel / Text mittig, Reihe + Warnung + Hinweis ueber die ganze Breite */
		.dialog-Container.centered							{ align-items: center; text-align: center; }
		.dialog-Container.centered .dialog-Actions,
		.dialog-Container.centered .dialog-Warning,
		.dialog-Container.centered .dialog-Note				{ align-self: stretch; }

		/* Icon / Eyebrow / Note sind sonst versteckt ( dialog_open({ icon, eyebrow, note }) ) */
		.dialog-Icon[hidden], .dialog-Eyebrow[hidden], .dialog-Note[hidden]	{ display: none; }

		.dialog-Icon
		{
			cursor: default;						/* Glyph ist Text -> sonst Text-Cursor ( I-Balken ) beim Hover */
			display: flex;
			align-items: center;
			justify-content: center;
			width: 64px;
			height: 64px;
			font-size: 28px;
			color: var(--app-Icon-Accent);
			background: var(--app-Tint);
			border-radius: 50%;
			box-shadow: var(--app-Glow-Icon);
		}

		/* Eyebrow = §18 Baustein Pille ( Version ) ; hier nur Groesse + Leucht-Punkt */
		.dialog-Eyebrow
		{
			gap: 7px;
			padding: 5px 13px 5px 11px;
			font-size: 12px;
			letter-spacing: .05em;
		}
		.dialog-Eyebrow:before		{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--app-Chart-Point-color); box-shadow: 0 0 8px var(--app-Chart-Point-color); }

		/* release : Neuigkeiten-Dialog ( dialog_open({ variant: "release", icon, eyebrow, note }) ) -- Glanz oben, Hero-Icon-Kachel ( §18 Baustein Icon-Kachel ), Version als Pille, */
		/* ein Haupt-Knopf ( Ansehen ) darunter ein stiller Text-Knopf ( Spaeter ) -- nie rot : es ist keine destruktive Aktion.                                                   */
		.dialog-Container.release
		{
			gap: 14px;
			padding: 34px 24px 20px;
			overflow: hidden;
			background: radial-gradient(130% 62% at 50% -6%, rgb(var(--app-Accent-rgb) / .34) 0%, transparent 66%), var(--app-Well-Color);
			-webkit-user-select: none;
			user-select: none;
		}

		.dialog-Container.release > .dialog-Icon	{ --tile: 72px; --tile-radius: 24px; --tile-halo: 0 0 0 8px rgb(var(--app-Accent-rgb) / .14); margin-bottom: 0; font-size: 40px; }
		.dialog-Container.release .dialog-Header	{ margin-top: 2px; font-size: 28px; line-height: 1.12; }
		.dialog-Container.release .dialog-Content	{ padding: 0 4px; font-size: 15px; }

		.dialog-Container.release .dialog-Actions	{ flex-direction: column-reverse; gap: 6px; margin-top: 12px; }
		.dialog-Container.release .dialog-Btn		{ --btn-h: 52px; flex: none; width: 100%; padding: 0 18px; }
		.dialog-Container.release .dialog-Btn.cancel
		{
			--btn-h: 44px;
			--btn-bg: none;
			--btn-fg: var(--app-Font-Muted-color);
			--btn-shadow: none;
			font-weight: 600;
		}

		/* -- Install-Anleitung ( pwa_install, Variante "install" ) : nummerierte Schritte mit nachgebildetem Browser-Ausschnitt, gemeintes Symbol mit Ring -- */
		.dialog-Container.install							{ -webkit-user-select: none; user-select: none; }		/* wie release : nichts markierbar */
		.dialog-Container.install .dialog-Content			{ white-space: normal; text-align: left; }

		/* Kopier-Dialog ( copyDialog_open, script.js ; Uebung / Plan kopieren ) : Namensfeld = .edit-panel-Feld ( §22.2 ), darunter Haekchen-Zeilen */
		.dialog-Container.copy					{ max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }		/* alle Zeilen aufgeklappt : Dialog scrollt, Knoepfe bleiben erreichbar */
		.dialog-Container.copy .dialog-Content	{ white-space: normal; }
		.dialog-Container.copy .copy-panel	{ padding: 0; margin: 4px 0 0; gap: 14px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }		/* der Dialog ist schon die Flaeche ( wie .feedback-Container .edit-panel ) */
		.copy-checks							{ display: flex; flex-direction: column; gap: 8px; }
		/* Zeile = Haekchen + Name | Chevron ; darunter klappt .copy-detail ( die Werte, die uebernommen wuerden ) auf */
		.copy-item
		{
			display: flex;
			flex-wrap: wrap;
			align-items: stretch;
			font-size: 13.5px;
			color: var(--app-Font-color);
			transition: background .15s ease, box-shadow .15s ease;
		}
		.copy-item:has(.copy-check > input:checked)	{ background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }		/* angehakt = Tint wie .finder-item.on ; Glas-Optik sonst : §18 Baustein Zeile */
		.copy-check
		{
			flex: 1 1 0;
			min-width: 0;
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 10px 0 10px 12px;
			cursor: pointer;
			user-select: none;
		}
		.copy-check > input						{ flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
		.copy-more
		{
			flex: none;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 44px;
			color: var(--app-Font-Muted-color);
			cursor: pointer;
		}
		.copy-more > ico						{ font-size: 11px; transition: transform .2s ease; }
		.copy-item.open .copy-more > ico		{ transform: rotate(180deg); }
		.copy-detail
		{
			display: none;
			flex: 1 0 100%;
			box-sizing: border-box;
			min-width: 0;
			padding: 0 12px 11px 38px;
			font-size: 12.5px;
			line-height: 1.5;
			color: var(--app-Font-Soft-color);
			white-space: pre-line;
			overflow-wrap: anywhere;
		}
		.copy-item.open .copy-detail			{ display: block; }

		.install-step										{ display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
		.install-step + .install-step						{ margin-top: 14px; }
		.install-body										{ flex: 1 1 auto; min-width: 0; }
		.install-body > b									{ display: block; margin-bottom: 6px; font-weight: 600; }

		.install-num
		{
			flex: 0 0 auto;
			width: 24px;
			height: 24px;
			margin-top: 1px;

			display: flex;
			align-items: center;
			justify-content: center;

			font-size: 13px;
			font-weight: bold;
			color: var(--app-Font-OnFill-color);
			background: var(--app-BackgroundStart-Color);
			border: 1px solid var(--app-Start-Border-Color);
			border-radius: 50%;
		}

		.install-mock
		{
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 10px;

			padding: 8px 12px;

			font-size: 13px;
			color: var(--app-Font-color);
			background: var(--app-Well-Deep-Color);
			border: var(--app-BorderStyle);
			border-radius: var(--app-Radius-Field);
		}
		.install-mock.hot									{ border-color: var(--app-Start-Border-Color); }
		.install-mock svg									{ flex: 0 0 auto; width: 20px; height: 20px; }
		.install-mock .end									{ margin-left: auto; }
		.install-mock.bar									{ justify-content: space-around; padding: 8px 6px; }
		.install-mock.bar > svg, .install-mock.bar .ring > svg	{ width: 22px; height: 22px; opacity: .45; }
		.install-mock.bar .ring > svg						{ opacity: 1; }
		.install-mock .url									{ flex: 1 1 auto; min-width: 0; padding: 3px 10px; color: var(--app-Font-Muted-color); background: var(--app-Well-Color); border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

		.install-mock .ring									{ position: relative; display: flex; }
		.install-mock .ring:after
		{
			content: "";
			position: absolute;
			inset: -7px;
			border: 2px solid rgb(var(--app-Accent-rgb));
			border-radius: 50%;
			animation: installPulse 1.4s ease-in-out infinite;
		}

		.install-mock .pill
		{
			margin-left: auto;
			padding: 3px 12px;
			font-weight: bold;
			color: var(--app-Font-OnFill-color);
			background: var(--app-BackgroundStart-Color);
			border: 1px solid var(--app-Start-Border-Color);
			border-radius: 999px;
		}

		.install-tip										{ margin-top: 14px; font-size: 12px; color: var(--app-Font-Muted-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 12. UNDO-LEISTE (Rueckgaengig) -------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Leiste ueber dem Footer nach einer Aktion, die sich noch zuruecknehmen laesst — per JS (undo_show, script.js) einmalig an <body>  */
		/* gehaengt ( User 2026-09-27, Variante L5 ). Text links, "Rückgängig" rechts, unten laeuft die Linie in --undo-ms ab ( Zeit bis zum */
		/* endgueltigen Ausfuehren ). Sitzt 8px ueber der Fussleiste ( User 2026-10-01 ), eine Stufe unter dem Hinweis-Balken (§13).        */

		body .undoBar
		{
			position: fixed;
			left: 50%;
			bottom: calc(94px + var(--sai-bottom, 0px));	/* ueber der Fussleiste ( §9 : 18px Rand + 68px Hoehe ) + 8px Abstand ; die Leiste verdeckt sie nicht mehr */
			z-index: 129;

			display: flex;
			align-items: center;
			gap: 12px;

			box-sizing: border-box;
			width: min(480px, calc(100vw - 32px));
			padding: 8px 6px 10px 16px;
			overflow: hidden;

			background: var(--app-Glass-Bg);
			-webkit-backdrop-filter: var(--app-Glass-Filter);
			backdrop-filter: var(--app-Glass-Filter);
			border: var(--app-Glass-Border);
			border-radius: var(--app-Border-Radius);
			box-shadow: var(--app-Glass-Shadow);
			cursor: pointer;

			opacity: 0;
			pointer-events: none;
			transform: translate(-50%, 16px);
			transition: opacity 0.25s ease, transform 0.25s ease;
		}

		body .undoBar.show						{ opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

		.undoBar-Text 							{ flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: bold; color: var(--app-Font-color); }
		.undoBar-Btn
		{
			flex: 0 0 auto;
			padding: 8px 10px;
			border-radius: var(--app-Radius-Field);
			font-size: 14px;
			font-weight: 700;
			color: var(--app-Add-Icon-color);
		}
		.undoBar-Line
		{
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			height: 2px;
			background: var(--app-Add-Icon-color);
			transform-origin: left;
		}
		body .undoBar.show .undoBar-Line 		{ transform: scaleX(0); transition: transform var(--undo-ms, 4000ms) linear; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 13. NOTICE (Hinweis-Balken) ------------------------------------------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Nicht-blockierender Balken unten über dem Footer — per JS (notice_show / notice_error) einmalig an <body> gehängt.   */
		/* Ersetzt window.alert() bei fehlgeschlagenen Ajax-Aktionen. .error = rot (Alert-Glow) · .info = Akzent.                 */
		/* Klick auf den Balken, das X oder der Timer (NOTICE_DURATION) blenden aus. Sitzt über Dialog (§11) und SideMenu (§10). */

		body .notice
		{
			position: fixed;
			left: 50%;
			bottom: calc(18px + var(--sai-bottom, 0px));	/* gleiche Unterkante wie die Fussleiste ( §9 ) : der Hinweis deckt sie vollstaendig ab, statt ihre obere Haelfte zu verdecken */
			z-index: 130;

			display: flex;
			align-items: center;
			gap: 12px;

			box-sizing: border-box;
			width: min(480px, calc(100vw - 32px));
			min-height: 68px;		/* = Hoehe der Fussleiste, auch ein einzeiliger Hinweis deckt sie ganz ab */
			padding: 12px 12px 14px;

			background: var(--app-Dialog-bg);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);
			border: 0;
			border-radius: var(--app-Radius-Card);
			box-shadow: var(--app-Glass-Lip);
			cursor: pointer;

			opacity: 0;
			pointer-events: none;
			transform: translate(-50%, 16px);
			transition: opacity 0.25s ease, transform 0.25s ease;
		}

		body .notice.show						{ opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

		.notice > ico.notice-Icon 				{ font-size: 19px; line-height: 1; }		/* Kachel : §18 Baustein Icon-Kachel */
		.notice-Text 							{ flex: 1 1 auto; min-width: 0; }
		.notice-Message
		{
			font-size: 14px;
			font-weight: 600;
			line-height: 1.45;
			color: var(--app-Font-color);
			overflow-wrap: anywhere;
			white-space: pre-line;
		}		/* pre-line : \n im Text ( z.B. info-tip-Titel ueber notice_infoTap ) wird zum Zeilenumbruch */
		.notice-Reason
		{
			margin-top: 2px;
			font-size: 12px;
			line-height: 1.4;
			color: var(--app-Font-Muted-color);
			overflow-wrap: anywhere;
		}
		.notice-Reason:empty 					{ display: none; }

		/* Restzeit : kleiner Balken unten mittig, schrumpft zur Mitte in der Anzeigedauer ( --notice-ms, gesetzt und neu gestartet in notice_show ) */
		.notice-Line
		{
			position: absolute;
			left: 50%;
			bottom: 5px;
			width: 96px;
			height: 3px;
			margin-left: -48px;
			border-radius: 2px;
			background: var(--app-Accent-Soft);
			opacity: .5;
			transform-origin: center;
			animation: noticeLine var(--notice-ms, 6000ms) linear forwards;
			pointer-events: none;
		}
		.notice.error > .notice-Line 			{ background: var(--app-Danger-fg); }

		.notice > ico.notice-Close
		{
			flex: 0 0 auto;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 30px;
			height: 30px;
			font-size: 14px;
			line-height: 1;
			color: var(--app-Font-Muted-color);
			background: var(--app-Chip-bg);
			border-radius: 50%;
			transition: color 0.15s ease, background-color 0.15s ease;
			-webkit-user-select: none;
			user-select: none;
		}
		@media (hover: hover) and (pointer: fine) { .notice > ico.notice-Close:hover 		{ color: var(--app-Font-color); background: var(--app-Row-Hover-bg); } }
		@media (hover: hover) and (pointer: fine) { .notice.error > ico.notice-Close:hover 	{ color: var(--app-Danger-fg); } }

		.notice.info 							{ background: var(--app-Notice-Info-bg); box-shadow: var(--app-Notice-Info-Ring); }		/* hell statt dunkles Glas : sonst am Handy kaum zu sehen */
		.notice.info > ico.notice-Icon
		{
			border-radius: 50%;
			background: linear-gradient(160deg, rgb(var(--pal-accent-200-rgb) / .34) 0%, rgb(var(--pal-accent-200-rgb) / .12) 100%);
			box-shadow: inset 0 0 0 1px rgb(var(--pal-accent-200-rgb) / .4), inset 0 1px 0 rgb(255 255 255 / .18);
			color: var(--app-Notice-Icon-fg);
			font-size: 18px;
		}		/* ruhiges Glas-Rund : zarter Verlauf + Haarring, helles Glyph ohne Leuchten */
		.notice.info .notice-Message			{ color: var(--app-Font-color); }
		.notice.info .notice-Reason				{ color: var(--app-Font-Soft-color); }
		.notice.info > .notice-Line 			{ background: var(--app-Accent-Soft); opacity: .6; }
		.notice.info > ico.notice-Close			{ color: var(--app-Font-Soft-color); background: rgb(var(--pal-accent-200-rgb) / .16); }
		.notice.error 							{ box-shadow: var(--app-Btn-Danger-ring), var(--app-Glass-Lip); }
		.notice.error > ico.notice-Icon 		{ color: var(--app-Danger-fg); }		/* BAUSTEIN-WUNSCH --tile-bg / --tile-fg : Rot-Tint-Flaeche */

	/* --- 13.1  SAVE-FEEDBACK (Overlay Mitte) ---------------------------------------------------------------------------------------------------- */

		/* Kurzes Overlay in der Bildschirmmitte nach einem Speichern — per JS (save_feedback) einmalig an <body> gehängt.  */
		/* .ok = Kreis + Haken werden gezeichnet · .error = rotes X mit Schütteln. Solange .show, ist die Seite gesperrt   */
		/* (pointer-events: auto), erst danach wieder klickbar — verhindert Doppel-Aktionen waehrend der Animation.       */

		body .saveFeedback
		{
			position: fixed;
			inset: 0;
			z-index: 140;

			display: grid;
			place-items: center;

			background: var(--app-Overlay-bg);
			-webkit-backdrop-filter: blur(3px);
			backdrop-filter: blur(3px);
			pointer-events: none;

			opacity: 0;
			transition: opacity 0.25s ease;
		}

		body .saveFeedback.show 				{ opacity: 1; pointer-events: auto; }

		.saveFeedback-Box
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			gap: 12px;

			box-sizing: border-box;
			width: 180px;
			height: 180px;

			background: var(--app-BackgroundCard-Color);
			border: var(--app-BorderStyle);
			border-radius: var(--app-Border-Radius);
			box-shadow: var(--app-Shadow);
		}

		.saveFeedback-Icon 						{ width: 76px; height: 76px; }
		.saveFeedback-Icon *					{ fill: none; stroke-linecap: round; stroke-linejoin: round; }
		.saveFeedback-Label 					{ font-size: 14px; font-weight: bold; }

		.saveFeedback.ok .saveFeedback-Icon 	{ filter: drop-shadow(var(--app-ShadowSave)); }
		.saveFeedback.ok .saveFeedback-Label 	{ color: var(--app-Font-Valid-color); }
		.saveFeedback.ok circle
		{
			stroke: var(--app-BackgroundSave-Color);
			stroke-width: 3;
			stroke-dasharray: 151;
			stroke-dashoffset: 151;
			animation: saveFeedbackDraw 0.5s ease forwards;
		}
		.saveFeedback.ok path
		{
			stroke: var(--app-Font-Valid-color);
			stroke-width: 4;
			stroke-dasharray: 40;
			stroke-dashoffset: 40;
			animation: saveFeedbackDraw 0.3s ease 0.45s forwards;
		}

		.saveFeedback.error .saveFeedback-Icon 	{ animation: saveFeedbackPop 0.3s ease, loginShake 0.4s ease 0.3s; }
		.saveFeedback.error .saveFeedback-Label { color: var(--app-Font-Alert-color); }
		.saveFeedback.error circle 				{ stroke: var(--app-Font-Alert-color); stroke-width: 3; }
		.saveFeedback.error path 				{ stroke: var(--app-Font-Alert-color); stroke-width: 4; }

	/* --- 13.1b SPEICHERN-PILLE (nur Active Session) -------------------------------------------------------------------------------------------- */

		/* Pille statt Overlay NUR in der Active Session ( User 2026-09-27 : sonst wieder §13.1 ) -- save_feedback zeigt sie, wenn die Seite */
		/* save_feedbackUsePill() gerufen hat ; einmalig an <body> gehaengt. top setzt JS ( Unterkante des Headers + 10px ). .ok = gruener */
		/* Haken, die Linie unten laeuft ab, solange die Pille steht ( --savePill-ms ) · .error = rotes X, schuettelt. Sperrt nichts.       */

		body .savePill
		{
			position: fixed;
			left: 50%;
			top: 10px;
			z-index: 140;

			display: flex;
			align-items: center;
			gap: 10px;

			padding: 12px 24px 14px 18px;		/* groesser ( User 2026-09-27 : war auf Handy + Desktop zu klein ) */
			overflow: hidden;
			white-space: nowrap;

			background: var(--app-BackgroundCard-Color);
			border: 1px solid rgb(var(--app-Save-rgb) / .6);
			border-radius: var(--app-Radius-Pill);
			box-shadow: var(--app-Shadow), var(--app-ShadowSave);
			pointer-events: none;

			opacity: 0;
			transform: translate(-50%, -14px) scale(.96);
			transition: opacity 0.2s ease, transform 0.25s ease-in;
		}

		body .savePill.show 				{ opacity: 1; transform: translate(-50%, 0) scale(1); transition: opacity 0.2s ease, var(--app-SpringPop-Transition); }

		.savePill-Icon 						{ font-size: 20px; line-height: 1; }
		.savePill-Label 					{ font-size: 16px; font-weight: bold; color: var(--app-Font-color); }
		.savePill-Bar
		{
			position: absolute;
			left: 0;
			bottom: 0;
			width: 100%;
			height: 3px;
			transform: scaleX(0);					/* Ruhezustand = leer : beim Ausblenden springt die Linie nicht zurueck */
			transform-origin: left;
		}
		body .savePill.show .savePill-Bar	{ animation: savePillRun var(--savePill-ms, 2000ms) linear 0.2s both; }

		.savePill.ok .savePill-Icon 	{ color: var(--app-Font-Valid-color); }
		.savePill.ok .savePill-Bar 		{ background: var(--app-Font-Valid-color); }

		.savePill.error 					{ border-color: var(--app-Font-Alert-color); box-shadow: var(--app-Shadow), var(--app-ShadowAlert); }
		.savePill.error .savePill-Icon 	{ display: inline-block; color: var(--app-Font-Alert-color); animation: loginShake 0.4s ease 0.25s; }
		.savePill.error .savePill-Bar 	{ background: var(--app-Font-Alert-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 13.2  FEEDBACK-OVERLAY (Formular ueber der Seite) --------------------------------------------------------------------------------------- */

		/* Server-gerendert ( templates/page/feedback_box.php, haengt am Seitenmenue ) ; auf/zu ueber body.feedback ( feedback_open / feedback_close ). */
		/* Rezept = Dialog §11 ( Ueberblendung + mittige Karte ) ; Header + Buttons SIND die .dialog-* Klassen, Felder = .edit-panel §22.2,          */
		/* Art-Chips = .filter-tag §22.2. z-index ueber dem Seitenmenue ( 100 ), unter Notice ( 130 ).                                                */

		body.feedback 								{ overflow-y: hidden; }
		body.feedback .feedback-Background 			{ opacity: 1; pointer-events: auto; }
		body.feedback .feedback-Container 			{ opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

		/* Huelle ( Glas, Radius, Schatten ) + Hintergrund : §11 ; hier nur Breite, Hoehe, Abstaende */
		.feedback-Container
		{
			z-index: 115;
			width: min(460px, calc(100vw - 32px));
			max-height: calc(100vh - 32px);
			overflow-y: auto;
			padding: 28px 22px 22px;
			gap: 20px;
		}

		.feedback-Head	{ display: flex; flex-direction: column; }

		/* die Karte ist schon die Flaeche -- das Panel darin verliert Hintergrund, Rand, Schatten ( sonst Karte in Karte ) */
		.feedback-Container .edit-panel
		{
			display: flex;
			flex-direction: column;
			gap: 18px;
			background: none;
			border: 0;
			box-shadow: none;
			-webkit-backdrop-filter: none;
			backdrop-filter: none;
			padding: 0;
			margin-bottom: 0;
		}

		.feedback-Container .field				{ gap: 10px; }
		.feedback-Container .lbl				{ font-size: 11.5px; letter-spacing: .1em; color: var(--app-Font-Faint-color); }
		.feedback-Container .filter-tags		{ grid-template-columns: repeat(3, 1fr); gap: 10px; }	/* immer drei Chips in einer Reihe, auch bei 400 px */
		.feedback-Container .filter-tag			/* Art = Chip ( §18 ), hier als Kachel mit Icon oben */
		{
			--chip-radius: 18px;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			gap: 8px;
			padding: 14px 4px 12px;
			font-size: 13px;
		}
		.feedback-Container .filter-tag > ico			{ font-size: 22px; color: var(--app-Font-Muted-color); }
		.feedback-Container .filter-tag.active > ico	{ color: var(--app-Accent-Soft); }
		.feedback-Container .field-input > textarea	{ min-height: 130px; max-height: calc(40vh + 12px); padding: 14px 16px; font-size: 15px; border-radius: 18px; background: var(--app-Chip-bg); border: var(--app-Edit-Panel-Border); }	/* Glas-Feld statt dunkler Mulde ( Nachtglas-Golden ) ; Ziehgriff ( resize: vertical ) darf die Karte nicht aus dem Bildschirm schieben */

		.feedback-Container .dialog-Actions		{ gap: 12px; margin-top: 2px; }
		.feedback-Container .dialog-Btn			{ flex: 1 1 0; gap: 8px; }
		.feedback-Container .dialog-Btn.confirm	{ flex-grow: 1.25; }
		.feedback-Container .dialog-Btn > ico	{ font-size: 16px; }

		/* kein Text-Markieren im Overlay ( Chips / Labels / Buttons werden getippt, nicht kopiert ) -- nur das Textfeld bleibt markierbar */
		.feedback-Container						{ -webkit-user-select: none; user-select: none; }
		.feedback-Container textarea			{ -webkit-user-select: text; user-select: text; }
	/* --- 14. EXP-BOX CORE ----------------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			exp-box  			{ display: block; box-sizing: border-box; }

			exp-box.add-btn:hover > exp-header > exp-btn { border-radius: inherit; }

		/* ---- exp-header ---------------------------------------------------------------------------------------------------------------- */

			exp-box > exp-header
			{
				display: flex;
				flex-direction: row;
				flex-wrap: nowrap;
				justify-content: center;
				align-items: center;

				box-sizing: border-box;
				border-radius: inherit;

				height: 40px;
				background: transparent;		/* Karten sind Glas ( §18 ) : kein erneutes Auftragen der Kartenfarbe */
			}
			exp-box > exp-header:has(> exp-btn.toggle)		{ cursor: pointer; }		/* ganze Kopfzeile klappt auf/zu ( Klick-Delegation in script.js, Expandable-Box ) */
			@media (hover: hover) and (pointer: fine) { exp-box.subGroup:not(.add-btn) > exp-header:hover,
			exp-box.mainGroup > exp-header:hover				{ background: var(--app-Hover-bg); box-shadow: inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .13), inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .08); }
			/* offene Karte : unter der Kopfzeile geht der Inhalt weiter -- unten keine Rundung, keine Randlinie, sonst sieht die Kopfzeile wie eine eigene Pille in der Karte aus */
			exp-box.subGroup.open:not(.add-btn) > exp-header:hover,
			exp-box.mainGroup.open > exp-header:hover	{ border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .13), inset 1px 0 0 rgb(var(--pal-tint-rgb) / .08), inset -1px 0 0 rgb(var(--pal-tint-rgb) / .08); } }		/* Hover = leichte Aufhellung der Kopfzeile, kein Anheben ; Kartenrand ( Glas-Lip + -Ring ) erneut innen aufgezeichnet, sonst deckt der Hover-Fuellton ihn zu */

			exp-box > exp-header > exp-cap 
			{
				display: flex;    
				align-items: center;
				box-sizing: border-box;
				height: 100%;

				flex-grow: 1;

				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;

				border-radius: inherit;

				padding: 0px 5px;
			}

			exp-box > exp-header > exp-cap > ico  		{ font-size: 24px;  }
			exp-box > exp-header > exp-cap > ico:hover  { cursor:default; }
			exp-box > exp-header > exp-cap > div  		{ padding-left: 12px; }
			
			exp-box > exp-header > exp-col
			{
				display: inline-flex;
				align-items: center;
				justify-content: flex-end;
				height: 100%;
				white-space: nowrap;
			}

			/* ---- exp-btn --------------------------------------------------------------------------------------------------------------- */
				
				exp-btn ico.edit:before		{ content: "\f044"; }

				exp-box > exp-header > exp-btn						{ border: 1px solid transparent; transition: var(--app-MenuItem-Transition), var(--app-SpringPop-Transition); }
				exp-box > exp-header > exp-btn > ico 				{ transition: var(--app-MenuItem-Transition), var(--app-SpringPop-Transition); }
				exp-box > exp-header > exp-btn
				{
					min-width: 50px;

					display: inline-flex;
					flex-flow: column;
					align-items: center;
					align-content: center;
					justify-content: center;

					height: 100%;
					height: stretch;

					-moz-user-select: none;
					-webkit-user-select: none;
					user-select: none;

					font-size: 14px;
					cursor: pointer;
				}

				exp-box > exp-header > exp-btn:hover
				{
					background: var(--app-MenuItem-Hover-color);
					color: var(--app-Font-OnFill-color);
					box-shadow: var(--app-Transform-Shadow);
					border-color: var(--app-TransformBorder-Color);
				}
				exp-box > exp-header > exp-btn:hover > ico 			{ transform: scale(1.12); }	/* Scale-Pop statt Font-Size-Sprung, Feder-Timing s.o. */

				exp-box.add-btn > exp-header > exp-btn 		 { background: transparent; border: none; }
				exp-box.add-btn > exp-header > exp-btn:hover { box-shadow: none; transition: none; transform: none; }

				exp-box > exp-header > exp-btn:last-child 		{ border-top-right-radius: inherit; border-bottom-right-radius: inherit; }
				exp-box.open > exp-header > exp-btn:last-child 	{ border-bottom-right-radius: 0px; }
				exp-box.open > exp-header > exp-btn:first-child { border-bottom-left-radius: 0px; }

				exp-box > exp-header > exp-btn > ico
				{
					font-family: AppIcons7;
					font-style: normal;
					font-weight: 900;
					text-rendering: auto;
					-webkit-font-smoothing: antialiased;
					text-align: center;

					font-size: 28px;
				}

				exp-box > exp-header > exp-btn > ico.toogle:before		{ content: "\f13a"; }
				exp-box > exp-header > exp-btn > ico.toogle				{ transition: var(--app-SpringPop-Transition); }	/* Feder-Rotation statt Icon-Tausch (f13a/f139 sind punktsymmetrisch) */
				exp-box.open > exp-header > exp-btn > ico.toogle		{ transform: rotate(180deg); }

				/* Erst laden, dann aufklappen (expander_OpenAfterLoad in script.js) : Box bleibt zu, bis der Ajax-Inhalt da ist, der Pfeil pulsiert */
				exp-box.loading > exp-header							{ cursor: progress; }
				exp-box.loading > exp-header > exp-btn > ico.toogle		{ animation: detailLoadPulse 0.8s ease-in-out infinite alternate; }

				/* Style-Konsistenz-Leiter, runde Header-Buttons (Mockup Main.dc.html) -- ab hier fuer ALLE Seiten (§14 = Basis) und
				   ALLE exp-btn im exp-header (toggle, edit/ex-edit, sortUp/-Down, skip, statBtn, session-del, ...), nicht nur
				   toggle -- Ausnahme exp-box.add-btn, dessen ganze Zeile selbst der Button ist (eigene Regeln Zeile ~1179/4198). */
				exp-box:not(.add-btn) > exp-header > exp-btn
				{
					flex: 0 0 auto;
					width: 36px;
					height: 36px;
					min-width: 0px;
					margin-right: 12px;
					border: 1px solid transparent;
					border-radius: 999px;
					background: var(--app-IconBtn-bg);
					color: var(--app-Icon-Accent);
				}
				exp-box:not(.add-btn) > exp-header > exp-btn:not(:last-child)	{ margin-right: 6px; }		/* Abstand zwischen Nachbar-Knoepfen halb so gross wie der Randabstand ( 12px ) */
				exp-box:not(.add-btn) > exp-header > exp-btn:hover
				{
					border-radius: 999px;
					box-shadow: none;
					background: var(--app-IconBtn-Hover-bg);
					color: var(--app-IconBtn-Hover-fg);
				}		/* Hover = Flaeche + Rahmen, kein Scale-Pop ( der ganze Kreis wuerde mitwachsen ) */
				exp-box:not(.add-btn) > exp-header > exp-btn:hover > ico				{ transform: none; }
				/* Direkt nach dem Klick steht der Zeiger noch auf dem Knopf ( expBtn_suppressHover, script.js ) : dann KEIN Hover-Look, bis er den Knopf
				   verlaesst -- sonst wirkt der Knopf nach dem Auf-/Zuklappen "haengengeblieben". Aktive Knoepfe ( .active, z. B. Info-Icon ) behalten ihren Look. */
				exp-box:not(.add-btn) > exp-header > exp-btn.noHover:not(.active),
				exp-box:not(.add-btn) > exp-header > exp-btn.noHover:not(.active):hover
				{
					background: var(--app-IconBtn-bg);
				}
				/* Aktiv-Zustand des Aufklapp-Knopfes ( Box hat .open ) = exakt der Hover-Look, auch direkt nach dem Klick ( steht deshalb nach .noHover ) */
				exp-box.open:not(.add-btn) > exp-header > exp-btn.toggle,
				exp-box.open:not(.add-btn) > exp-header > exp-btn.toggle:hover
				{
					box-shadow: none;
					background: var(--app-IconBtn-Hover-bg);
					color: var(--app-IconBtn-Hover-fg);
				}
				/* Start-/Wiederholen-Knopf ( User 2026-09-27 ) : blauer Kreis mit weissem Dreieck ( ICON_START ), gleiche Groesse wie die
				   Nachbar-Knoepfe -- vorher weisser Kreis-Glyph ohne Flaeche, wirkte neben dem dunklen Aufklapp-Knopf wie dessen Negativ.
				   Hover = heller + Blau-Glow, kein Scale-Pop ( Regel runde Icon-Buttons ).
				   Rahmen transparent + background-origin border-box : sonst kachelt der Verlauf ab der Padding-Box in den 1px-Rahmen
				   ( oben dunkles Verlaufsende, unten helles ) und scheint durch einen halbtransparenten Rahmen als Farbsaum durch. */
				exp-box:not(.add-btn) > exp-header > exp-btn.start
				{
					background: var(--app-Primary-bg);
					background-origin: border-box;
					border-color: transparent;
					box-shadow: var(--app-Primary-shadow);
					color: var(--app-Font-OnFill-color);
				}
				exp-box:not(.add-btn) > exp-header > exp-btn.start:hover
				{
					background: var(--app-Primary-bg);
					background-origin: border-box;
					border-color: transparent;
					color: var(--app-Font-OnFill-color);
					box-shadow: var(--app-Primary-shadow);
					filter: brightness(1.15);
				}
				exp-box:not(.add-btn) > exp-header > exp-btn.start > ico			{ font-size: 14px; padding-left: 2px; }		/* Dreieck optisch mittig ( Schwerpunkt liegt links ) */
				exp-box.live:not(.add-btn) > exp-header > exp-btn.start > ico		{ padding-left: 0px; }		/* laufende Session : ICON_SESSION_RESUME ist symmetrisch, echt mittig */
				exp-box:not(.add-btn) > exp-header > exp-btn.start:hover > ico		{ transform: scale(1.2); }		/* nur das Icon waechst ( User 2026-09-27 ), der Kreis bleibt */
				/* Aktiv-Zustand des Edit-Buttons ( Box hat .edit ) = exakt der Hover-Look, auf allen Seiten ( .edit Plaene / Plan-Editor, .ex-edit Uebungen ) */
				exp-box.edit:not(.add-btn) > exp-header > exp-btn.edit,
				exp-box.edit:not(.add-btn) > exp-header > exp-btn.edit:hover,
				exp-box.edit:not(.add-btn) > exp-header > exp-btn.ex-edit,
				exp-box.edit:not(.add-btn) > exp-header > exp-btn.ex-edit:hover
				{
					box-shadow: none;
					background: var(--app-IconBtn-Hover-bg);
					color: var(--app-IconBtn-Hover-fg);
				}
				/* Loeschen wie .gw-row-acts ( Par.31 ) : in Ruhe gedaempft, im Hover rot. Bearbeiten bleibt weiss wie die uebrigen Header-Buttons. */
				exp-box:not(.add-btn) > exp-header > exp-btn.danger					{ color: var(--app-Font-Muted-color); }
				exp-box:not(.add-btn) > exp-header > exp-btn.danger:hover			{ color: var(--app-Font-Alert-color); }
				exp-box.open:not(.add-btn) > exp-header > exp-btn:hover > ico.toogle	{ transform: rotate(180deg); }		/* offener Zustand behaelt seine Drehung */
				exp-box:not(.add-btn) > exp-header > exp-btn > ico				{ font-size: 19px; }
				exp-box:not(.add-btn) > exp-header > exp-btn.toggle > ico			{ color: var(--app-Icon-Accent); }	/* andere Typen (sortUp/-Down aktiv, skip...) behalten ihre eigene Farblogik weiter unten */
				/* die generischen Eckenrundungs-Regeln oben (Zeile ~1182-1184) sind fuer randstaendige, kastenfuellende Buttons gedacht --
				   der freistehende Kreis braucht in .open bei :last-child/:first-child explizit seine eigene Rundung zurueck. */
				exp-box.open:not(.add-btn) > exp-header > exp-btn:last-child		{ border-bottom-right-radius: 999px; }
				exp-box.open:not(.add-btn) > exp-header > exp-btn:first-child		{ border-bottom-left-radius: 999px; }

		/* ---- exp-content --------------------------------------------------------------------------------------------------------------- */

			exp-box > exp-content
			{
				display: block;
				box-sizing: border-box;
				background: transparent;

				overflow: hidden;
				max-height: 0;
				clip-path: inset(0 0 100% 0);

				transition: none;		/* Aufklappen + Zuklappen = Snap, keine Enthuellung mehr ( User 2026-10-01 : von oben nach unten einblenden wirkte nicht smooth, als waere der Inhalt noch nicht da ; vorher clip-path 0.45s ). Hoehenwechsel ist Snap, weil §16.3 max-height im offenen Zustand auf "none" setzt ( nicht interpolierbar ). Auch KEIN opacity-Fade : Glas-Flaechen darin waeren erst dunkel ( Seite scheint durch ) und dann heller */
			}

			exp-box.open > exp-content
			{
				max-height: var(--exp-content-max-height, 1000px);
				clip-path: inset(0 0 0 0);
				padding: 10px;

				border-bottom-right-radius: inherit;
				border-bottom-left-radius: inherit;

				transition: none;		/* Snap wie oben */
			}

			exp-box.subGroup.open > exp-content,
			exp-box.mainGroup.open > exp-content
			{
				border-top: var(--app-BorderStyle);
				background: transparent;		/* aufgeklappter Inhalt liegt durchsichtig auf der Glas-Karte, nur die feine Linie oben */
				display: flex;
				border-bottom-right-radius: inherit;
				border-bottom-left-radius: inherit;
				flex-direction: column;
				padding: 20px;
			}

			/* subGroup-Listen (Plan-/Uebungs-/Session-Zeilen, gap per Inline-Style) : kein Top-Padding, sonst mehr Abstand vor dem
			   ersten Kind als der Gap dazwischen -- Boxen ohne eigenes Gap (Muskelgruppen-Einzelansicht) behalten 20px. */
			exp-box.subGroup.open > exp-content[style*="gap"]		{ padding-top: 0px; }

			/* mainGroup: NUR die Plangruppen-Kachelliste (plaene.php + sessionStart-Baum, erkennbar an planGroupID bzw. der
			   "ungrouped"-Sammelgruppe) ist reine Kachel-Liste und soll ebenso flush sein -- Monats-Liste (sessions.php) und der
			   Plan-Editor-Rahmen (form+actions, User-Wunsch 2026-09-17: dort soll der Header-Abstand bleiben) behalten 20px. */
			exp-box.mainGroup.open[planGroupID] > exp-content[style*="gap"]		{ padding-top: 0px; }
			exp-box.mainGroup.open.ungrouped > exp-content[style*="gap"]		{ padding-top: 16px; }	/* kein Rename-Form als erstes Kind -> Abstand = Gap */

			/* Steht das Muskelgruppen-Aggregat (mg-toggle-panel / bare .mg-view bei den sessionStart-Vorschauen) als ERSTES Kind
			   einer solchen 0-Padding-Liste, braucht es trotzdem Luft zum Header -- klebt sonst direkt an der Kopfzeile. */
			exp-content[style*="gap"] > .mg-toggle-panel:first-child,
			exp-content[style*="gap"] > .mg-view:first-child		{ margin-top: 20px; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 15. EXP-BOX MAIN GROUP ----------------------------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			exp-box.mainGroup,
			exp-box.mainGroup:hover,
			exp-box.mainGroup.open					{ cursor: pointer; }		/* Optik ( Glas-Karte ) : §18 Baustein Karte */

			exp-box.mainGroup > exp-header 								{ height: 60px; } 
			exp-box.mainGroup > exp-header > exp-col.icon 	 			{ font-size: 34px; padding: 0px 12px 0px 8px; }
			exp-box.mainGroup > exp-header > exp-col.icon > ico	 		{ cursor: default; }
			exp-box.mainGroup > exp-header > exp-cap.name
			{
				font-size: 19px;
				font-weight: 700;
				letter-spacing: -.015em;
				white-space: normal;
				overflow-wrap: anywhere;		/* ueberlanges Wort ( z.B. Gruppenname ohne Leerzeichen ) bricht um statt hinter exp-col.count zu verschwinden */
				-webkit-user-select: text;
				user-select: text;
			}
			exp-box.mainGroup > exp-header > exp-col.count
			{
				font-size: 20px;
				font-weight: 700;
				width: 100px;
				align-content: center;
				text-align: center;
				flex-direction: column;
				justify-content: center;
			}
			exp-box.mainGroup > exp-header > exp-col.count > div		{ font-size: 14px; }

			/* Plangruppen-Kopf ( plaene.php, sessionStart "Aus Plan" ) : bricht der Name um, waechst der Kopf mit -- Abstand oben/unten bleibt
			   derselbe wie einzeilig ( (60px - 1 Zeile) / 2 ), statt dass zwei Zeilen den festen 60px-Kopf ausfuellen */
			exp-box.mainGroup[planGroupID] > exp-header,
			exp-box.mainGroup.ungrouped > exp-header					{ height: auto; min-height: 60px; }
			exp-box.mainGroup[planGroupID] > exp-header > exp-cap.name,
			exp-box.mainGroup.ungrouped > exp-header > exp-cap.name		{ padding-top: calc((60px - 1lh) / 2); padding-bottom: calc((60px - 1lh) / 2); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 16. EXP-BOX SUB GROUP ------------------------------------------------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			exp-box.subGroup
			{
				min-width: 20px;
				cursor: pointer;
				transition: var(--app-TransformGroup-Transition);
			}		/* Optik ( Glas-Zeile ) : §18 Baustein Zeile */

			exp-box.subGroup > exp-header  					{ min-height: 60px;  height: auto; } 

			exp-box.subGroup > exp-header > exp-cap.name
			{
				font-size: 20px;
				white-space: normal;
				padding-left: 15px;
				-webkit-user-select: text;
				user-select: text;
			}

			exp-box.subGroup > exp-header > exp-col.info 			
			{ 
				font-size: 20px;
				font-weight: 700;
				height: 100%;
				align-content: center;
				text-align: center;
				padding-right: 16px;
				display: flex;
				flex-direction: column;
				justify-content: center;
			}
			
			exp-box.subGroup > exp-header > exp-col.info > div	{ font-size: 14px; }
			exp-box.subGroup > exp-header > exp-cap.name > span:first-child	{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; }		/* Zweizeilen-Kopf : Name fett, Untertitel darunter */

		/* ----[ subGroup: Exercise-Add-Button ] ------------------------------------------------------------------------------------------- */

			/* alle "xxx hinzufuegen" / Erstell-Buttons ( diese Kachel, .set-box.add Par.17, .mg-edit-add Par.24, .ex-act.add Par.24.6 ) : blau getoent, Token-Block Par.3 */
			.subGroup.Exercise.add-btn
			{
				background: var(--app-Tint);
				border-color: transparent;
				color: var(--app-Accent-Soft);
				box-shadow: none;
				transition: var(--app-Add-Transition), filter .15s ease;
				font-weight: 700;
			}

			.subGroup.Exercise.add-btn:hover
			{
				filter: brightness(1.08);
			}
			/* Icon waechst, sobald die Kachel gehovert wird -- ein eigener Hover auf dem Icon-Button aendert nichts ( gleicher Wert, Regel 1327 wird uebertrumpft ) */
			.subGroup.Exercise.add-btn > exp-header > exp-btn > ico		{ color: var(--app-Add-Icon-color); transition: transform .15s ease; }
			.subGroup.Exercise.add-btn:hover > exp-header > exp-btn > ico	{ transform: scale(1.15); }

			/* "Freies Training starten" ( sessionStart.php + Startseite "Zuletzt trainiert" ) : Start-Optik wie die Hero-Karte -- Start-Verlauf mit Lichtfleck, weisser Play-Kreis, zweizeilig */
			exp-box.subGroup.Exercise.add-btn.sessionStart-free
			{
				background: radial-gradient(circle 90px at calc(100% - 30px) 8px, var(--app-Start-Border-Color), transparent 65%), var(--app-BackgroundStart-Color);
				box-shadow: var(--app-Start-Shadow);
				color: var(--app-Font-OnFill-color);
				overflow: hidden;
			}
			@media (hover: hover) and (pointer: fine) { exp-box.subGroup.Exercise.add-btn.sessionStart-free:hover	{ filter: brightness(1.06); } }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header							{ min-height: 64px; }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-btn				{ min-width: 0; padding: 0 0 0 14px; }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-btn > ico
			{
				display: grid;
				place-items: center;
				width: 44px;
				height: 44px;
				color: var(--app-Font-OnFill-color);		/* Glyph = weisser Kreis mit ausgespartem Dreieck, sitzt direkt auf dem Blau wie in der Hero-Karte */
				font-size: 34px;
			}
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-cap.name			{ flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding-left: 14px; }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-cap.name > span	{ max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.15; }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-cap.name > span:first-child	{ font-size: 17px; letter-spacing: -.01em; }
			exp-box.subGroup.Exercise.add-btn.sessionStart-free > exp-header > exp-cap.name > span + span		{ font-size: 12.5px; font-weight: 500; opacity: .8; }

			/* variant : add-button that expands its own form panel (Pläne → "Plangruppe hinzufügen"); carries exp-content, no toggle icon */
			.subGroup.Exercise.add-btn.open,
			.subGroup.Exercise.add-btn.open:hover
			{
				color: var(--app-Font-color);
				font-weight: 400;
			}

			/* Suche im Fokus ( appweit, jede .finder-search ) : Erstell-Kacheln ( "Neue Uebung anlegen", "Plan erstellen" ... ) ausblenden, beim Verlassen
			   der Suche kommen sie zurueck ( User 2026-09-29 ). Bleiben : offene Kachel ( Formular in Arbeit ), die Kachel mit der fokussierten Suche selbst
			   ( Picker "Uebung hinzufuegen" ), "Freies Training" ( steht oberhalb der Suche, ausblenden wuerde die Seite springen lassen ). */
			main:has(.finder-search:focus) exp-box.subGroup.add-btn:not(.open):not(.sessionStart-free):not(:has(.finder-search:focus))	{ display: none; }

		/* ----[ subGroup: collapsible muscle panel (Pläne quick-view, Plan-Editor) ] ------------------------------------------------------- */
		/*        opt-in via .mg-toggle; the .mg-toggle-row (exp-content, §23.3) reveals it (toggles .mg-shown) with a slide-open transition  */

			/* same card look as exp-box.subGroup.Exercise (§19.1) -- sits as the first flex-child above that exercise-card list, should read as one of them */
			.mg-toggle-panel
			{
				box-sizing: border-box;
				padding: 8px 16px;
				margin-bottom: 12px;
				background: var(--app-Inset-Soft);
				border-radius: var(--app-Radius-Card);
				/* eingelassene Flaeche in der Karte : Ring statt Rahmen, kein Schatten ( wuerde das Panel herausheben ) ; Blau nur als Zustand --
				   aufgeklappt ( .mg-shown, Regel unten ) mit Tint-Ring wie aktive Chips */
				box-shadow: var(--app-Glass-Ring);
				transition: box-shadow .2s ease;
			}

			/* alle drei per Kind-Selektor auf das EIGENE exp-content beschraenkt -- sonst wuerde z.B. .mg-toggle.mg-shown auf der
			   Plan-/Session-Box auch verschachtelte Uebungs-.mg-views miterfassen. .mg-toggle-panel buendelt Toggle-Zeile + .mg-view
			   zu EINEM Flex-Kind von exp-content (das dort per style="gap:14px" die Zeilen auseinanderhaelt) -- sonst wuerde
			   eingeklapptes .mg-view als eigenes Flex-Kind trotz 0 Hoehe zwei volle Gaps ( davor + danach ) verbrauchen ( sichtbare
			   Luecke, 2026-09-17 ). Exercise hat NICHT ueberall ein .mg-toggle-panel (planPage_Plan.php ja, andere Exercise-Templates
			   noch flach direkt in exp-content) -- darum dort ohne Kind-Combinator zwischen exp-content und .mg-view. */
			exp-box.subGroup.Exercise.mg-toggle > exp-content .mg-view,
			exp-box.subGroup.Plan.mg-toggle > exp-content > .mg-toggle-panel > .mg-view,
			exp-box.subGroup.Session.mg-toggle > exp-content > .mg-toggle-panel .mg-view
			{
				overflow: hidden;
				max-height: 0;
				opacity: 0;
				padding-top: 0;
				padding-bottom: 0;
				margin-bottom: 0;
				border-width: 0;
				transition: opacity 0.5s ease;
			}
			exp-box.subGroup.Exercise.mg-toggle.mg-shown > exp-content .mg-view,
			exp-box.subGroup.Plan.mg-toggle.mg-shown > exp-content > .mg-toggle-panel > .mg-view,
			exp-box.subGroup.Session.mg-toggle.mg-shown > exp-content > .mg-toggle-panel .mg-view
			{
				max-height: 100%;
				opacity: 1;
				/* Bug: die .mg-toggle-Basisregel oben nullt padding-top/-bottom UND margin-bottom fuers Einklappen, .mg-shown
				   stellte sie nie zurueck -- Bild sass ohne Abstand oben/unten am Panelrand, Panel klebte an den Sets darunter (2026-09-17). */
				padding-top: 16px;
				padding-bottom: 16px;
				margin-bottom: 12px;
			}
			/* im .mg-toggle-panel : Abstand Inhalt -> Panel-Unterkante = seitlicher Abstand ( 16px Panel-Padding ) -- .mg-view unten ohne
			   eigenes Padding/Margin, die Luft kommt vom Panel ( vorher 16px + 12px + 8px = 37px unten gegen 17px seitlich, 2026-09-23 ) */
			exp-box.subGroup.mg-toggle.mg-shown > exp-content > .mg-toggle-panel	{ padding-bottom: 16px; box-shadow: var(--app-Tint-Ring); }		/* aufgeklappt = blauer Ring ( wie aktive Chips ) */
			exp-box.subGroup.Exercise.mg-toggle.mg-shown > exp-content > .mg-toggle-panel > .mg-view,
			exp-box.subGroup.Exercise.mg-toggle.mg-shown > exp-content > .mg-toggle-panel > .mg-view-slot > .mg-view,
			exp-box.subGroup.Plan.mg-toggle.mg-shown > exp-content > .mg-toggle-panel > .mg-view,
			exp-box.subGroup.Session.mg-toggle.mg-shown > exp-content > .mg-toggle-panel .mg-view	{ padding-bottom: 0; margin-bottom: 0; }

		/* ---- rebuilt pages (alt 16.3) : Kinder duerfen schrumpfen, Open-Cap aufheben -- muss NACH allen exp-box-Regeln (14-16) stehen (gleiche Spezifitaet, Kaskade) ---- */

		exp-content > *				{ min-width: 0; }			/* long text wraps instead of overflowing */
		exp-box.open > exp-content	{ max-height: none; }		/* lift the §14 1000px cap for tall rebuilt content */

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 17. SET CONTAINER (Reps / Gewicht je Uebung) ------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

			.exercise-Set
			{
				border-bottom-right-radius: inherit;
				border-bottom-left-radius: inherit;
			}

		.set-container
		{
			display: flex;
			flex-direction: column;
			gap: 20px;
			cursor: default;
			-webkit-user-select: none;
			user-select: none;
		}

		.set-box
		{
			display: flex;
			justify-content: space-between;
			align-items: center;
			
			font-size: 20px;
			gap: 20px;
			
			background: inherit;
			box-shadow: none;
			border: none;
			transition: var(--app-Save-Transition);
		}

		.set-content-box	
		{
			display: flex;
			align-items: center;
			justify-content: flex-start;
			
			height: 40px;
		}
		.set-content-box.left 				{ flex-grow: 1; gap: 20px; }
		.set-content-box.right  			{ width: 100px;  }
		
		.set-content
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			text-align: center;
			box-shadow: none;
			border: none;
			background: var(--app-Inset);
			border-radius: var(--app-Radius-Row);
			transition: var(--app-TransformGroup-Transition);

			height: 100%;
		}
		.set-content:hover { box-shadow: var(--app-Transform-Shadow); border-color: var(--app-TransformBorder-Color); }

		.set-content-box.left > .set-content 				{ flex-grow: 0.5; }
		.set-content-box.right > .set-content
		{
			box-shadow: none;
			border: none;
			background: none;
			border-radius: var(--app-Border-Radius);
			transition: var(--app-MenuItem-Transition);

			width: 100%;
			justify-content: center;
		}
		.set-content-box.right > .set-content:hover	{ cursor: pointer; }	/* Farb-/Hintergrund-Feedback sitzt je Icon auf dessen eigenem <ico>-Kreis, s.u. -- kein gemeinsamer Container-Hover mehr */

		.set-content > span { padding: 0px 12px; height: 100%; align-content: center;}
		.set-content > input
		{
			background: transparent;
			border: none;
			border-radius: var(--app-Border-Radius);
			color: var(--app-Font-color);

			text-align: center;
			font-size: inherit;
			height: 100%;
			width: 100%;
		}
		.set-content > input:focus-visible  							{ border: none; outline: none; }

		/* ----[ Save/Edit Styles ]  ( die Buttons Speichern / Bearbeiten / Leeren / Ueberspringen : .set-act, §23.4 ) --------------------------------------- */

			.set-box.saved > .set-content-box.left > .set-content.reps,
			.set-box.saved > .set-content-box.left > .set-content.weight
			{ background: var(--app-BackgroundSave-Color); box-shadow: var(--app-ShadowSave); }

			.set-content.reps,
			.set-content.weight
			{ transition: var(--app-Save-Transition); }

			.iconClear.flash	{ animation: iconClearFlash .4s ease; }

			.set-content > input[readonly]
			{ cursor: default; pointer-events: none; }

			.set-box.saved .set-content.reps > input,
			.set-box.saved .set-content.weight > input
			{ color: var(--app-Font-Accent-color); font-weight: 600; }

			.set-box.saved > .set-content-box.left > .set-content.reps:hover,
			.set-box.saved > .set-content-box.left > .set-content.weight:hover
			{ box-shadow: none; border-color: transparent; }

			.set-box.editing .set-content.reps > input,
			.set-box.editing .set-content.weight > input
			{ color: var(--app-Font-color); }

		/* ----[ Set-Add ] ---------------------------------------------------------------------------------------------------------------- */

				.set-box.add:hover
				{
					cursor: pointer;
				}

				/* Optik + Hover wie die Kachel "xxx hinzufuegen" ( Par.15 subGroup: Exercise-Add-Button ) : blau getoente Flaeche + Akzent-Rand, 14px/600,
				   Hover = heller + Akzent-Glow ( kein Anheben mehr, seit 2026-09-23 app-weit entfernt ). Gilt genauso fuer .mg-edit-add ( Par.24 ).
				   Hoehe 40px = eine Satz-Zeile ( seit 2026-09-23, vorher 60px wie die Kachel -- stand innerhalb der Karte zu wuchtig ) */
				.set-box.add > .set-content-box 							{ flex-grow: 1; height: auto; }

				.set-box.add > .set-content-box > .set-content,
				#planEditor-box .set-box.add > .set-content-box > .set-content
				{
					width: 100%;
					font-size: 14.5px;
					justify-content: center;
					cursor: pointer;
				}		/* Farben + Form : §18 Baustein Knopf ( Variante Tint ) */
				.set-box.add > .set-content-box > .set-content > span 		{ padding-left: 8px; }
				.set-box.add > .set-content-box > .set-content > ico		{ font-size: 18px; color: var(--app-Add-Icon-color); transition: transform .15s ease; }
				.set-box.add > .set-content-box > .set-content:hover > ico	{ transform: scale(1.15); }

		/* ---- gemeinsame Set-Zeilen-Basis ( Plan-Editor 22.4, Active Session 23.4, Recaps 25/26 ) : Spalten, Pillen, Inputs, Mass-Label.
		   Seiten-Spezifisches bleibt dort, per Container gescoped ( #planEditor-box / .activeSession-box ). Stand vor dem Aufraeumen lag das in 23.4
		   und 22.4 hatte eine tote Kopie ( gap 4 / .74em wurden immer ueberschrieben ). ---- */
			.set-box .set-content-box.left					{ flex: 1 1 auto; min-width: 0; gap: 14px; }
			.set-box .set-content-box.left > .set-content	{ flex: 0 1 auto; flex-grow: .5; min-width: 0; }

			.set-content.reps,
			.set-content.weight								{ justify-content: center; gap: 6px; padding: 0 12px; }
			.set-content.reps > input,
			.set-content.weight > input
			{
				flex: 1 1 0;
				width: auto;
				min-width: 0;
				padding: 0;
				text-align: center;
			}
			.set-content.reps > input::placeholder,
			.set-content.weight > input::placeholder			{ color: var(--app-Font-Dim-color); opacity: 1; font-weight: 400; }

			.set-content .set-measure
			{
				font-size: .72em;
				color: var(--app-Font-Muted-color);
				padding-left: 6px;
				white-space: nowrap;
				flex: 0 0 auto;
			}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 18. PRIMITIVE — wiederverwendbare Optik-Klassen ohne Seitenpraefix --------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Regel : vor einer neuen Seiten-Klasse erst hier pruefen. Optik-Klassen ohne Praefix, Layout-Klassen behalten den Seitenpraefix. */

		/* .badge : kleine Pille fuer Text + Icon (Ziel-vs-Ist-Delta, Trend). Farbe / Zustand setzt der Kontext (.badge.hit, .badge.miss ...). */
		.badge
		{
			display: inline-flex;
			align-items: center;
			gap: 4px;
			font-size: 10px;
			font-weight: 700;
			letter-spacing: .03em;
		}
		.badge > ico	{ font-size: 11px; }

		/* .tap : antippbare Zeile / Kachel -- Zeiger + Hover-Flaeche; Ruhe-Hintergrund und Layout setzt der Kontext. */
		.tap			{ cursor: pointer; transition: var(--app-MenuItem-Transition); }
		.tap:hover		{ background: var(--app-Row-Hover-bg); }

		/* .bar : Fortschritts- / Anteils-Balken -- Spur + Fuellung <i style="width:n%">; Hoehe und Fuellfarbe setzt der Kontext (.mg-bar, .session-progress-bar). */
		.bar			{ border-radius: var(--app-Radius-Pill); background: var(--app-Track-bg); overflow: hidden; }
		.bar > i		{ display: block; height: 100%; border-radius: var(--app-Radius-Pill); }

		/* .seg : pill-shaped segmented control (Anzahl-Auswahl 5/10/20/... "Alle") -- one pill-shaped track (§19 .finder-tabs language, scaled down) holding the segments. Layout/Platzierung setzt der Kontext (.home-recent-ctrl, .mg-pick-ctrl). */
		.seg
		{
			display: flex;
			gap: 2px;
			padding: 4px;
			background: var(--app-Inset);
			border-radius: var(--app-Radius-Pill);
		}
		.seg > button
		{
			box-sizing: border-box;
			min-width: 30px;
			padding: 5px 10px;
			font: inherit;
				color: var(--app-Font-Muted-color);
				font-weight: 600;
				background: none;
				border: none;
				border-radius: var(--app-Radius-Pill);
				cursor: pointer;
				transition: background .15s ease, color .15s ease;
		}
		@media (hover: hover) and (pointer: fine) { .seg > button:hover	{ background: var(--app-Hover-bg); color: var(--app-Font-color); } }
		.seg > button.on
		{
				color: var(--app-Accent-Soft);
				background: var(--app-Tint);
			}
			@media (hover: hover) and (pointer: fine) { .seg > button.on:hover	{ background: var(--app-Tint); color: var(--app-Accent-Soft); } }

		/* Baustein KARTE : oberste Ebene, Glas mit Verlauf + Lichtkante. Blur nur hier ( nie auf Zeilen -- Performance auf alten Handys ).
		   Seiten setzen nur Layout ( Padding, Abstand ), nie Hintergrund / Schatten / Rand / Radius dieser Selektoren. */
		exp-box.mainGroup,
		.edit-panel,
		.chart-panel,
		.login-card,
		.home-cat,
		.home-install,
		/* +A */
		/* +B */
		/* +C */
		/* +D */
		.aw-block,
		.stat-empty,
		.gw-empty,
		.gw-consent,
		.finder
		{
			background: var(--app-Glass-Card);
			border: 0;
			border-radius: var(--app-Radius-Card);
			box-shadow: var(--app-Glass-Lip), var(--app-Glass-Ring);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);
		}

		/* Baustein ZEILE : Zeile innerhalb einer Karte, Glas ohne Blur. Add-Kacheln ( .add-btn ) bleiben Tint ( §16 ). */
		exp-box.subGroup:not(.add-btn),
		.gw-entry,
		.statistik-row,
		.statistik-pickbar,
		/* +A */
		.legal-doc p:not(.legal-lead),
		.legal-doc li,
		/* +B */
		/* +C */
		.mg-ex-row,
		/* +D */
		.stat,
		.stat-dbox,
		.aw-table,
		.aw-tester,
		.aw-feedback,
		.finder-item,
		.copy-item,
		.ex-tpl-hit,
		.ex-tpl-none
		{
			background: var(--app-Glass-Row);
			border-radius: var(--app-Radius-Row);
			box-shadow: var(--app-Glass-Lip-Row);
		}
		.gw-entry,
		.statistik-row,
		.statistik-pickbar	{ border-radius: var(--app-Border-Radius); }		/* grosse Zeilen-Karten runder als die Listenzeilen */
		exp-box.subGroup.add-btn { border-radius: var(--app-Radius-Row); }

		/* Baustein KNOPF : eine Basis fuer alle grossen Knoepfe ( Aktion, Dialog, Anmelden, Satz ), Varianten setzen nur --btn-bg / --btn-fg / --btn-shadow.
		   Gestalt der Seite ( Breite, Padding, Schriftgroesse ) bleibt in der Seiten-Regel, Farbe + Rand + Radius + Hover nie. Neuer Knopf = Selektor in die Liste. */
		.ex-act,
		.dialog-Btn,
		.login-submit,
		.set-act,
		.set-box.add > .set-content-box > .set-content,
		/* +A */
		body.legal-page .login-alt,
		.login-alt-box,
		/* +B */
		.home-hero-sub > div,
		.exercise-remove,
		.wd-Btn,
		/* +C */
		/* +D */
		#planEditor-box .set-box.add > .set-content-box > .set-content
		{
			--btn-bg:     var(--app-Btn-Neutral-bg);
			--btn-fg:     var(--app-Font-Soft-color);
			--btn-shadow: var(--app-Btn-Neutral-ring);
			box-sizing: border-box;
			min-height: var(--btn-h, var(--app-Btn-H));
			border: 0;
			border-radius: var(--app-Radius-Btn);
			background: var(--btn-bg);
			color: var(--btn-fg);
			box-shadow: var(--btn-shadow);
			font-weight: 700;
			transition: var(--app-SpringPop-Transition), background-color .22s ease-out, filter .22s ease-out;
		}
		.ex-act:active, .dialog-Btn:active, .login-submit:active, .set-act:active		{ transform: scale(.97); }		/* Druecken = Feder */

		.ex-act.add,
		.set-box.add > .set-content-box > .set-content,
		/* +A */
		body.legal-page .login-alt,
		.login-alt-box,
		/* +B */
		.wd-Btn.confirm,
		/* +C */
		/* +D */
		#planEditor-box .set-box.add > .set-content-box > .set-content
		{ --btn-bg: var(--app-Tint); --btn-fg: var(--app-Accent-Soft); --btn-shadow: var(--app-Btn-Add-ring); }

		.ex-act.primary,
		.dialog-Btn.confirm,
		/* +A */
		/* +B */
		/* +C */
		/* +D */
		.login-submit
		{ --btn-bg: var(--app-Primary-bg); --btn-fg: var(--app-Font-OnFill-color); --btn-shadow: var(--app-Primary-shadow); }

		.ex-act.danger,
		.dialog-Btn.discard,
		/* +A */
		/* +B */
		.exercise-remove,
		/* +C */
		/* +D */
		.set-act.iconClear
		{ --btn-bg: var(--app-Btn-Danger-bg); --btn-fg: var(--app-Danger-fg); --btn-shadow: var(--app-Btn-Danger-ring); }

		.dialog-Actions.danger .dialog-Btn.confirm
		{ --btn-bg: var(--app-Danger-Solid-bg); --btn-fg: var(--app-Font-OnFill-color); --btn-shadow: var(--app-Danger-Solid-shadow); }

		/* Baustein CHIP : Filter-/Tab-/Auswahl-Knopf, Glas; aktiv = Tint mit Ring. Radius ueber --chip-radius ( Standard 14px ). */
		.filter-tag,
		.ex-filter-btn,
		/* +A */
		.login-links > .login-alt,
		/* +B */
		/* +C */
		.finish-rate button,
		/* +D */
		.ex-anim-btn,
		.finder-tabs > span
		{
			box-sizing: border-box;
			border: 0;
			border-radius: var(--chip-radius, var(--app-Radius-Chip));
			background: var(--app-Glass-Chip);
			box-shadow: var(--app-Glass-Chip-Lip);
			color: var(--app-Font-Soft-color);
			font-weight: 600;
			transition: transform .28s cubic-bezier(.2, .9, .3, 1.35), background-color .22s ease-out, color .22s ease-out;
		}
		.filter-tag:active, .ex-filter-btn:active, .finder-tabs > span:active		{ transform: scale(.97); }
		.filter-tag.active,
		.ex-filter-btn.has-sel,
		.ex-filter-btn.open,
		/* +A */
		/* +B */
		/* +C */
		/* +D */
		.ex-anim-btn.on,
		.finder-tabs > span.on
		{
			background: var(--app-Glass-Chip-On);
			box-shadow: var(--app-Glass-Chip-On-Lip);
			color: var(--app-Accent-Soft);
		}

		/* Baustein PILLE : kleine Zahl-/Stufen-Pille. Stufe ueber --pill-rgb ( Tint ), --pill-a ( Deckkraft ), --pill-fg, --pill-ring; Groesse setzt der Kontext. */
		.mg-state,
		/* +A */
		.dialog-Eyebrow,
		.rel-group-head,
		.rel-count,
		.rel-chip,
		/* +B */
		/* +C */
		exp-box.subGroup.Session > exp-header > exp-col.info.logged > b,
		/* +D */
		.statistik-pr-date,
		.ex-used-n
		{
			--pill-rgb:  var(--pal-tint-on-rgb);
			--pill-a:    .16;
			--pill-fg:   var(--app-Accent-Soft);
			--pill-ring: var(--app-Pill-Ring);
			display: inline-flex;
			align-items: center;
			justify-content: center;
			box-sizing: border-box;
			border: 0;
			border-radius: var(--app-Radius-Pill);
			background: rgb(var(--pill-rgb) / var(--pill-a));
			box-shadow: var(--pill-ring);
			color: var(--pill-fg);
			font-weight: 700;
			font-variant-numeric: tabular-nums;
		}
		.mg-state.s3			{ --pill-a: .20; }
		.mg-state.s2			{ --pill-a: .11; --pill-fg: var(--app-Pill-S2-fg); }
		.mg-state.s1,
		.ex-used-n.zero			{ --pill-rgb: var(--pal-tint-rgb); --pill-a: .06; --pill-fg: var(--app-Font-Faint-color); --pill-ring: inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .12); }

		/* Baustein ICON-KACHEL : quadratische Icon-Flaeche mit gerundeter Ecke. Weich ( Menue, Einstellungen, Hinweis ) = Chip-Flaeche + helles Blau;
		   Hero ( Karten-Kopf, Neuigkeiten ) = blauer Verlauf + weisses Glyph. Groesse ueber --tile ( 38 / 44 ), Rundung ueber --tile-radius, optionaler Ring ueber --tile-halo. */
		.sideMenu-ListEntry > ico,
		.settings-head > ico,
		/* +A */
		/* +B */
		.home-cat > ico,
		.home-install-main > ico,
		/* +C */
		/* +D */
		.notice > ico.notice-Icon
		{
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex: 0 0 auto;
			width: var(--tile, 38px);
			height: var(--tile, 38px);
			border: 0;
			border-radius: 13px;
			background: var(--app-Tile-Soft-bg);
			color: var(--app-Tile-Soft-fg);
		}
		exp-box.mainGroup > exp-header > exp-col.icon > ico,
		/* +A */
		.dialog-Container.release .dialog-Icon,
		/* +B */
		.sideMenu-ListEntry.active:not(.start) > ico,
		/* +C */
		/* +D */
		.rel-box > exp-header > exp-col.icon > ico
		{
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: var(--tile, 44px);
			height: var(--tile, 44px);
			border: 0;
			border-radius: var(--tile-radius, 15px);
			background: var(--app-Tile-Hero-bg);
			box-shadow: var(--tile-halo, 0 0 0 0 transparent), var(--app-Tile-Hero-shadow);
			color: var(--app-Font-OnFill-color);
			font-size: 20px;
		}

		/* .save-flash : Erfolgs-Feedback am Speichern-Button selbst -- per JS (button_saveFlash) kurz aufgesetzt, unabhaengig */
		/* von der Optik des Buttons (.ex-act.primary/.add, .menu-item.save, …). Keyframe saveFlashPulse (§4), 0.5s. */
		.save-flash		{ animation: saveFlashPulse 0.5s ease; }

		/* Buttons mit Text + Icon : das Icon waechst beim Hovern leicht ( wie die Icons in Header-/Footer-Leiste, Par.8/14 ) -- alle sind Flex-Container, ico ist dort ein Flex-Item */
		.ex-act > ico,
		.exercise-remove > ico,
		.login-submit > ico,
		.set-skip > ico									{ transition: transform .15s ease; }
		.ex-act:hover > ico,
		.exercise-remove:hover > ico,
		.login-submit:hover > ico,
		.set-skip:hover > ico							{ transform: scale(1.15); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 19. SHARED PANELS — Exercise-Card-Wells · Muskelbilder + .mg-view · .finder · .chart-box · KPI/Detail/Bar (.stat-*) -------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 19.1  EXERCISE CARD — shared recessed panels (Plan-Editor + Active Session; inert on Startseite) --------------------------------------- */

		exp-box.subGroup.Exercise.open > exp-content	{ padding: 16px; border-top: var(--app-BorderStyle); }	/* Karte = Baustein Zeile ( §18 ), Inhalt durchsichtig -- Trennlinie statt Farbunterschied */

		/* gleicher Grund wie oben, nur ohne die Exercise-eigene 16px-Padding-Aenderung : Plan-/Session-Boxen (sessions.php,
		   plaene.php, sessionStart.php) erben exp-content's Hintergrund per background-color:inherit genauso vom Header. */
		exp-box.subGroup.Plan.open > exp-content,
		exp-box.subGroup.Session.open > exp-content	{ border-top: var(--app-BorderStyle); }

		/* kein gelber Rahmen im Edit-Zustand mehr ( 2026-09-20, alle Seiten ) -- der Zustand zeigt sich ueber den Header-Button + das Edit-Panel */

	/* --- 19.2  MUSKELBILDER .muscleGroup-box (Overlay-Slugs baut PHP muscleGroup_getImageInfo zusammen) + MUSCLE-GROUP PANEL · .mg-view --------- */
	/* ---     real body images (3 intensity states) + % bars.  Desktop: FRONT far left | % list centre | BACK far right                          */

			.muscleGroup-box
			{
				display: flex;

				opacity: 0;
				transition: opacity 0.5s ease;

				padding: 10px 0px;
				gap: 150px;

				justify-content: center;
				flex-direction: row;
				align-items: center;
			}

			.muscleGroup-img-stack  { position: relative; cursor: pointer; }
			.muscleGroup-img-base   { width: var(--musclegroup-image-size); display: block; }

			.muscleGroup-img-overlay
			{
				top: 0;
				left: 0;
				width: var(--musclegroup-image-size);

				position: absolute;
				opacity: 0;
				transition: opacity 0.5s ease;
				background-size: contain;
				background-repeat: no-repeat;
			}

			/* ---- Latisimus ---- */

				.muscleGroup-box.latisimus1 > .front > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Front_Latisimus_1.png"); }
				.muscleGroup-box.latisimus2 > .front > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Front_Latisimus_2.png"); }
				.muscleGroup-box.latisimus3 > .front > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Front_Latisimus_3.png"); }

				.muscleGroup-box.latisimus1 > .back > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Back_Latisimus_1.png"); }
				.muscleGroup-box.latisimus2 > .back > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Back_Latisimus_2.png"); }
				.muscleGroup-box.latisimus3 > .back > img.muscleGroup-img-overlay.latisimus[src] { display: block; background-image: url("../img/muscleGroups/Latisimus/Back_Latisimus_3.png"); }

			/* ---- Trapez ---- */

				.muscleGroup-box.trapez1 > .front > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Front_Trapez_1.png"); }
				.muscleGroup-box.trapez2 > .front > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Front_Trapez_2.png"); }
				.muscleGroup-box.trapez3 > .front > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Front_Trapez_3.png"); }

				.muscleGroup-box.trapez1 > .back > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Back_Trapez_1.png"); }
				.muscleGroup-box.trapez2 > .back > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Back_Trapez_2.png"); }
				.muscleGroup-box.trapez3 > .back > img.muscleGroup-img-overlay.trapez[src] { display: block; background-image: url("../img/muscleGroups/Trapez/Back_Trapez_3.png"); }

			/* ---- Chest ---- */

				.muscleGroup-box.chest1 > .front > img.muscleGroup-img-overlay.chest[src] { display: block; background-image: url("../img/muscleGroups/Chest/Front_Chest_1.png"); }
				.muscleGroup-box.chest2 > .front > img.muscleGroup-img-overlay.chest[src] { display: block; background-image: url("../img/muscleGroups/Chest/Front_Chest_2.png"); }
				.muscleGroup-box.chest3 > .front > img.muscleGroup-img-overlay.chest[src] { display: block; background-image: url("../img/muscleGroups/Chest/Front_Chest_3.png"); }

			/* ---- Shoulders ---- */

				.muscleGroup-box.shoulders1 > .front > img.muscleGroup-img-overlay.shoulders[src] { display: block; background-image: url("../img/muscleGroups/Shoulder/Front_Shoulders_1.png"); }
				.muscleGroup-box.shoulders2 > .front > img.muscleGroup-img-overlay.shoulders[src] { display: block; background-image: url("../img/muscleGroups/Shoulder/Front_Shoulders_2.png"); }
				.muscleGroup-box.shoulders3 > .front > img.muscleGroup-img-overlay.shoulders[src] { display: block; background-image: url("../img/muscleGroups/Shoulder/Front_Shoulders_3.png"); }

				.muscleGroup-box.reardelts1 > .back > img.muscleGroup-img-overlay.reardelts[src] { display: block; background-image: url("../img/muscleGroups/Reardelts/Back_RearDelts_1.png?v=2"); }
				.muscleGroup-box.reardelts2 > .back > img.muscleGroup-img-overlay.reardelts[src] { display: block; background-image: url("../img/muscleGroups/Reardelts/Back_RearDelts_2.png?v=2"); }
				.muscleGroup-box.reardelts3 > .back > img.muscleGroup-img-overlay.reardelts[src] { display: block; background-image: url("../img/muscleGroups/Reardelts/Back_RearDelts_3.png?v=2"); }

			/* ---- Bicep ---- */

				.muscleGroup-box.bicep1 > .front > img.muscleGroup-img-overlay.bicep[src] { display: block; background-image: url("../img/muscleGroups/Bicep/Front_Bicep_1.png"); }
				.muscleGroup-box.bicep2 > .front > img.muscleGroup-img-overlay.bicep[src] { display: block; background-image: url("../img/muscleGroups/Bicep/Front_Bicep_2.png"); }
				.muscleGroup-box.bicep3 > .front > img.muscleGroup-img-overlay.bicep[src] { display: block; background-image: url("../img/muscleGroups/Bicep/Front_Bicep_3.png"); }

			/* ---- Triceps ---- */

				.muscleGroup-box.triceps1 > .front > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Front_Triceps_1.png"); }
				.muscleGroup-box.triceps2 > .front > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Front_Triceps_2.png"); }
				.muscleGroup-box.triceps3 > .front > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Front_Triceps_3.png"); }

				.muscleGroup-box.triceps1 > .back > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Back_Tricep_1.png"); }
				.muscleGroup-box.triceps2 > .back > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Back_Tricep_2.png"); }
				.muscleGroup-box.triceps3 > .back > img.muscleGroup-img-overlay.triceps[src] { display: block; background-image: url("../img/muscleGroups/Tricep/Back_Tricep_3.png"); }

			/* ---- Forearms ---- */

				.muscleGroup-box.forearms1 > .front > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Front_Forearms_1.png"); }
				.muscleGroup-box.forearms2 > .front > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Front_Forearms_2.png"); }
				.muscleGroup-box.forearms3 > .front > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Front_Forearms_3.png"); }

				.muscleGroup-box.forearms1 > .back > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Back_Forearms_1.png"); }
				.muscleGroup-box.forearms2 > .back > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Back_Forearms_2.png"); }
				.muscleGroup-box.forearms3 > .back > img.muscleGroup-img-overlay.forearms[src] { display: block; background-image: url("../img/muscleGroups/Forearms/Back_Forearms_3.png"); }

			/* ---- Abs ---- */

				.muscleGroup-box.abs1 > .front > img.muscleGroup-img-overlay.abs[src] { display: block; background-image: url("../img/muscleGroups/Abs/Front_Abs_1.png"); }
				.muscleGroup-box.abs2 > .front > img.muscleGroup-img-overlay.abs[src] { display: block; background-image: url("../img/muscleGroups/Abs/Front_Abs_2.png"); }
				.muscleGroup-box.abs3 > .front > img.muscleGroup-img-overlay.abs[src] { display: block; background-image: url("../img/muscleGroups/Abs/Front_Abs_3.png"); }

			/* ---- Lower Back ( Rueckenstrecker, nur Rueckansicht ) ---- */

				.muscleGroup-box.lowerback1 > .back > img.muscleGroup-img-overlay.lowerback[src] { display: block; background-image: url("../img/muscleGroups/LowerBack/Back_LowerBack_1.png"); }
				.muscleGroup-box.lowerback2 > .back > img.muscleGroup-img-overlay.lowerback[src] { display: block; background-image: url("../img/muscleGroups/LowerBack/Back_LowerBack_2.png"); }
				.muscleGroup-box.lowerback3 > .back > img.muscleGroup-img-overlay.lowerback[src] { display: block; background-image: url("../img/muscleGroups/LowerBack/Back_LowerBack_3.png"); }

			/* ---- Quadriceps ---- */

				.muscleGroup-box.quadriceps1 > .front > img.muscleGroup-img-overlay.quadriceps[src] { display: block; background-image: url("../img/muscleGroups/Quadrizeps/Front_Quadrizeps_1.png"); }
				.muscleGroup-box.quadriceps2 > .front > img.muscleGroup-img-overlay.quadriceps[src] { display: block; background-image: url("../img/muscleGroups/Quadrizeps/Front_Quadrizeps_2.png"); }
				.muscleGroup-box.quadriceps3 > .front > img.muscleGroup-img-overlay.quadriceps[src] { display: block; background-image: url("../img/muscleGroups/Quadrizeps/Front_Quadrizeps_3.png"); }

			/* ---- Hamstrings ---- */

				.muscleGroup-box.hamstrings1 > .back > img.muscleGroup-img-overlay.hamstrings[src] { display: block; background-image: url("../img/muscleGroups/Hamstrings/Back_Hamstrings_1.png"); }
				.muscleGroup-box.hamstrings2 > .back > img.muscleGroup-img-overlay.hamstrings[src] { display: block; background-image: url("../img/muscleGroups/Hamstrings/Back_Hamstrings_2.png"); }
				.muscleGroup-box.hamstrings3 > .back > img.muscleGroup-img-overlay.hamstrings[src] { display: block; background-image: url("../img/muscleGroups/Hamstrings/Back_Hamstrings_3.png"); }

			/* ---- Glutes ---- */

				.muscleGroup-box.glutes1 > .back > img.muscleGroup-img-overlay.glutes[src] { display: block; background-image: url("../img/muscleGroups/Glutes/Back_Glutes_1.png"); }
				.muscleGroup-box.glutes2 > .back > img.muscleGroup-img-overlay.glutes[src] { display: block; background-image: url("../img/muscleGroups/Glutes/Back_Glutes_2.png"); }
				.muscleGroup-box.glutes3 > .back > img.muscleGroup-img-overlay.glutes[src] { display: block; background-image: url("../img/muscleGroups/Glutes/Back_Glutes_3.png"); }

			/* ---- Calves ---- */

				.muscleGroup-box.calves1 > .front > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Front_Calfs_1.png"); }
				.muscleGroup-box.calves2 > .front > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Front_Calfs_2.png"); }
				.muscleGroup-box.calves3 > .front > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Front_Calfs_3.png"); }

				.muscleGroup-box.calves1 > .back > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Back_Calfs_1.png"); }
				.muscleGroup-box.calves2 > .back > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Back_Calfs_2.png"); }
				.muscleGroup-box.calves3 > .back > img.muscleGroup-img-overlay.calves[src] { display: block; background-image: url("../img/muscleGroups/Calfs/Back_Calfs_3.png"); }

			/* ---- Abductoren ---- */

				.muscleGroup-box.abductoren1 > .front > img.muscleGroup-img-overlay.abductoren[src] { display: block; background-image: url("../img/muscleGroups/Abbductoren/Front_Abbductoren_1.png"); }
				.muscleGroup-box.abductoren2 > .front > img.muscleGroup-img-overlay.abductoren[src] { display: block; background-image: url("../img/muscleGroups/Abbductoren/Front_Abbductoren_2.png"); }
				.muscleGroup-box.abductoren3 > .front > img.muscleGroup-img-overlay.abductoren[src] { display: block; background-image: url("../img/muscleGroups/Abbductoren/Front_Abbductoren_3.png"); }

			/* ---- Adductoren ---- */

				.muscleGroup-box.adductoren1 > .front > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Front_Adductoren_1.png"); }
				.muscleGroup-box.adductoren2 > .front > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Front_Adductoren_2.png"); }
				.muscleGroup-box.adductoren3 > .front > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Front_Adductoren_3.png"); }

				.muscleGroup-box.adductoren1 > .back > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Back_Adductoren_1.png"); }
				.muscleGroup-box.adductoren2 > .back > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Back_Adductoren_2.png"); }
				.muscleGroup-box.adductoren3 > .back > img.muscleGroup-img-overlay.adductoren[src] { display: block; background-image: url("../img/muscleGroups/Adductoren/Back_Adductoren_3.png"); }

		.mg-view
		{
			display: flex;
			gap: 24px;
			align-items: center;
			justify-content: space-between;
			background: var(--app-Inset-Soft);
			border-radius: var(--app-Radius-Row);
			padding: 16px 20px;
			margin-bottom: 12px;
			box-sizing: border-box;
			--musclegroup-image-size: 158px;
			--media-musclegroup-image-size: 96px;
		}
		.mg-view.musclegroup { margin-top: 10px; }
		.mg-toggle-panel .mg-view	{ background: transparent; }		/* das Panel ist schon die Mulde -- keine Mulde in der Mulde */

		/* Aufklapp-Panels ( Muskelgruppen, Ausfuehrung, Zeit-Kopf ) : dunkle Mulde ohne Rahmen. Die ID-Selektoren schlagen die Panel-Flaechen aus §16 */
		#sessions-box .mg-toggle-panel,
		#pane-fromSession .mg-toggle-panel,
		#activeSession-box .mg-toggle-panel,
		#activeSession-box .ex-desc-panel,
		#sessions-box .time-summary
		{
			background: var(--app-Inset-Soft);
			border: 0;
			border-radius: var(--app-Radius-Row);
			box-shadow: var(--app-Glass-Ring);
		}

		.mg-view .muscleGroup-box				{ display: contents; opacity: 1; }		/* front / back become mg-view flex items */
		.mg-view .muscleGroup-img-stack			{ opacity: 1; flex: 0 0 auto; }
		.mg-view .muscleGroup-img-stack.front	{ order: 1; }
		.mg-view .mg-bars						{ order: 2; }
		.mg-view .muscleGroup-img-stack.back		{ order: 3; }

		.mg-view .muscleGroup-box[class*="latisimus"] .muscleGroup-img-overlay.latisimus	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="trapez"] .muscleGroup-img-overlay.trapez			{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="chest"] .muscleGroup-img-overlay.chest			{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="shoulders"] .muscleGroup-img-overlay.shoulders	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="reardelts"] .muscleGroup-img-overlay.reardelts	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="bicep"] .muscleGroup-img-overlay.bicep			{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="triceps"] .muscleGroup-img-overlay.triceps		{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="forearms"] .muscleGroup-img-overlay.forearms		{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="abs"] .muscleGroup-img-overlay.abs				{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="lowerback"] .muscleGroup-img-overlay.lowerback	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="quadriceps"] .muscleGroup-img-overlay.quadriceps	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="hamstrings"] .muscleGroup-img-overlay.hamstrings	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="glutes"] .muscleGroup-img-overlay.glutes			{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="calves"] .muscleGroup-img-overlay.calves			{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="abductoren"] .muscleGroup-img-overlay.abductoren	{ opacity: 1; }
		.mg-view .muscleGroup-box[class*="adductoren"] .muscleGroup-img-overlay.adductoren	{ opacity: 1; }

		.mg-bars
		{
			flex: 1 1 auto;
			min-width: 0;
			display: flex;
			flex-direction: column;
			gap: 8px;
			padding: 4px;
		}

		.mg-row
		{
			display: grid;
			grid-template-columns: minmax(56px, 80px) 1fr 34px 58px;
			gap: 9px;
			align-items: center;
			font-size: 12px;
		}
		.mg-row > span:first-child
		{
			color: var(--app-Font-Soft-color);
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.mg-row > b
		{
			text-align: right;
			font-variant-numeric: tabular-nums;
			color: var(--app-Font-Muted-color);
			font-weight: 600;
		}

		.mg-bar			{ height: 8px; }		/* Spur + Fuellung : .bar (Par.18) */
		.mg-bar.s3 > i	{ background: var(--app-Accent-Gradient); }
		.mg-bar.s2 > i	{ background: rgb(var(--app-Accent-rgb) / .8); }
		.mg-bar.s1 > i	{ background: rgb(var(--app-Accent-rgb) / .6); }

		.mg-state
		{
			font-size: 12.5px;
			text-transform: uppercase;
			letter-spacing: .01em;
			text-align: center;
			padding: 3px 0;
		}		/* Farben + Form : §18 Baustein Pille ( Stufe s1 / s2 / s3 ueber --pill-* ) */

	/* --- 19.3  EXERCISE PICKER · .finder -------------------------------------------------------------------------------------------------------- */
	/* ---     search field first + filter tabs + capped scroll result list; filters AND results are equal-column grids                           */

		.finder
		{
			padding: 14px;
			margin-bottom: 12px;
			box-sizing: border-box;
		}
		.finder *	{ box-sizing: border-box; }

		.finder-search
		{
			display: block;
			width: 100%;
			height: 48px;
			padding: 0 16px;
			border-radius: var(--app-Radius-Field);
			border: 0;
			background: var(--app-Inset);
			color: var(--app-Font-color);
			outline: none;
			font-size: 16px;	/* iOS zoomt beim Fokus rein, wenn ein Inputfeld < 16px hat -- nicht wieder verkleinern */
		}
		.finder-search::placeholder	{ color: var(--app-Font-Dim-color); }
		.finder-search:focus		{ box-shadow: var(--app-Tint-Ring); }

		.finder-tabs
		{
			display: grid;
			grid-template-columns: repeat(4, minmax(0, 1fr));
			gap: 6px;
			padding: 12px 0 10px;
		}
		.finder-tabs > span
		{
			--chip-radius: var(--app-Radius-Pill);
			padding: 9px 10px;
			min-height: 34px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 12.5px;
			text-align: center;
			cursor: pointer;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}		/* Farben + Form : §18 Baustein Chip */
		.finder-tabs > span > .tab-n	{ margin-left: 0.35em; }	/* Zahl in Klammern nach dem Tab-Namen ( Uebungsseite ) -- das Span ist flex, ein Leerzeichen kollabiert */
		/* -- Hover der Chips steht im Block @media (hover: hover) and (pointer: fine) ganz unten : am Handy bleibt :hover nach dem Tippen haengen ( abgewaehlter Chip behielt Rahmen + hellere Schrift, User 2026-09-29 ) */
		.finder-tabs.cols-2		{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.finder-tabs.cols-3			{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
		.finder-tabs.cols-4			{ grid-template-columns: repeat(4, minmax(0, 1fr)); }		/* Uebungsseite : Alle / Von mir / Global / Archiviert, Handy 2 Spalten ( §32 @520 ) */
		/* muskelgruppen.php : Tab-Paar Muskelgruppen/Zeitraum im .finder ( Alle/Vernachlaessigt sitzt seit 2026-10-03 als .mg-filter in der .finder-foot-Zeile der Bibliothek ) */
		.mg-tabrow								{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 0 6px; }
		.mg-tabrow > .finder-tabs				{ display: contents; }
		.mg-tabrow > .finder-tabs[hidden]		{ display: none; }
		.mg-tabrow > .finder-tabs > span		{ min-height: 28px; padding: 5px 8px; font-size: 11.5px; }
		.finder-tabs.stations		{ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }	/* 5 Stationen ( page_stationTabs.php ) : breit 1 Reihe, Handy 2 Spalten, "Klimmzug-/Dipstation" passt */
		.finder-tabs.stations > span	{ box-sizing: border-box; }											/* auch ausserhalb .finder ( Bearbeiten-Formular ) 34px hoch */

		.finder-list
		{
			--fi-h: 55px;   /* shared row height w/ .finder-item — matches the two-line (name + .mg) items' real height so the single-line muscle-group items grow to match, not the other way round */
			box-sizing: border-box;
			max-height: calc(10px + 4 * var(--fi-h) + 3 * 8px);   /* 10px = top padding below; 4 rows visible before scroll */
			overflow-y: auto;
			display: grid;
			gap: 8px;
			grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
			border-top: var(--app-BorderStyle);
			padding: 10px 8px 0 0;
		}
		.finder-item
		{
			min-height: var(--fi-h);   /* muscle-group items (single-line, no .mg) match the two-line items in every other tab */
			justify-content: center;
			padding: 9px 12px;
			display: flex;
			flex-direction: column;
			gap: 2px;
			min-width: 0;
		}
		/* Zeiger, Transition + Hover-Flaeche kommen von .tap (Par.18) ; Glas-Zeile : Baustein Zeile (Par.18) */
		.finder-item.on		{ background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); color: var(--app-Accent-Soft); }
		.finder-item.on .mg	{ color: var(--app-Font-Muted-color); }
		.finder-item > b		{ font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
		.finder-item .mg		{ font-size: 11px; color: var(--app-Font-Meta-color); }

		.finder-foot
		{
			padding-top: 10px;
			margin-bottom: 12px;		/* Luft zum naechsten Block ( Liste/Panel ) -- fehlte bisher komplett, User 2026-09-23 */
			font-size: 13px;
			color: var(--app-Font-Faint-color);
			text-align: center;
		}

		/* optional caption inside .finder, e.g. "Muskelgruppen" above a .filter-tags row (exercisePage) -- same look as .edit-panel/.sessions-tools .lbl */
		.finder > .lbl
		{
			display: block;
			margin-top: 12px;
			font-size: 11px;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Muted-color);
		}

		/* Hinzufuegen-Kachel in der Toolbar ( plaene.php "Plan erstellen" ) : Leisten-Mass wie die Tabs statt Karten-Hoehe -- .finder > und
		   .subGroup noetig, sonst gewinnt die gleich spezifische @media-Regel "exp-box.subGroup.add-btn > exp-header > ..." ( Par.32 ) */
		.finder > exp-box.subGroup.add-btn > exp-header					{ min-height: 40px; }
		.finder > exp-box.subGroup.add-btn > exp-header > exp-cap.name	{ font-size: 15px; }
		.finder > exp-box.subGroup.add-btn > exp-header > exp-btn ico		{ font-size: 18px; }

	/* --- 19.4  VOLUME CHART · .chart-box -------------------------------------------------------------------------------------------------------- */
	/* ---     fluid Chart.js host : the box owns the height, canvas fills it (Chart.js runs responsive + maintainAspectRatio:false).              */
	/* ---     colour aliases below are read by script/chart.js at render-time — pure token combinations, no new hex.                              */

		:root
		{
			--chart-up:         var(--app-Font-Saved-color);
			--chart-down:       var(--app-Font-Alert-color);
			--chart-flat:       var(--app-Font-Editing-color);
			--chart-point:      var(--app-Chart-Point-color);
			--chart-pr:         var(--app-Font-PR-color);
			--chart-max:        var(--app-Chart-Max-color);
			--chart-min:        var(--app-Chart-Min-color);
			--chart-trend:      var(--app-Chart-Trend-color);
			--chart-axis:       var(--app-Font-Faint-color);
			--chart-grid:       var(--app-Chart-Grid-color);
			--chart-tooltip-bg: var(--app-Well-Color);
			--chart-tooltip-bd: var(--app-Chart-Tooltip-bd);
			--chart-tooltip-ink: var(--app-Font-color);
		}

		.chart-box
		{
			box-sizing: border-box;
			position: relative;
			width: 100%;
			height: var(--chart-height, 300px);
		}
		.chart-box > canvas		{ display: block; max-width: 100%; filter: var(--app-Chart-Glow); }		/* Kurve leuchtet leicht */
		.chart-axis-fixed > canvas	{ filter: none; }		/* gespiegelte Y-Achse : kein Leuchten auf der Beschriftung */
		.chart-box.compact		{ --chart-height: 150px; }
		.chart-box-noData
		{
			width: 100%;
			height: 100%;
			text-align: center;
			align-content: center;
			color: var(--app-Font-Muted-color);
			font-size: 14px;
		}

		/* too many points (chart.js `denseFrom`) : .chart-axis-fixed (mirrored y-axis, chart_MirrorYAxis) stays put + .chart-scroll-viewport  */
		/* scrolls sideways for the real (wide) canvas in .chart-scroll-inner — the :has() flips .chart-box into a row only once both exist. */
		.chart-box:has(> .chart-scroll-viewport)			{ display: flex; align-items: stretch; }
		.chart-axis-fixed									{ flex: 0 0 auto; height: 100%; }
		.chart-axis-fixed > canvas							{ display: block; width: 100%; height: 100%; }
		.chart-scroll-viewport
		{
			flex: 1 1 auto;
			min-width: 0;
			height: 100%;
			overflow-x: auto;
		}
		.chart-scroll-viewport > .chart-scroll-inner		{ height: 100%; }
		.chart-scroll-viewport > .chart-scroll-inner > canvas	{ display: block; height: 100%; max-width: none; filter: var(--app-Chart-Glow); }

		/* Chart in einem Panel (Leiter-Stufe 3) mit HTML-Legende darunter -- die Chart.js-Legende bleibt aus. gewicht.php + statistik.php ;     */
		/* chart.js (chart_LegendSync) blendet die Eintraege .pr / .up / .down per [hidden] ein/aus und schreibt Min – Max in span.span.         */
		.chart-panel
		{
			padding: 16px 12px 12px;
		}
		.chart-legend
		{
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			gap: 6px 18px;
			margin-top: 10px;
			padding: 10px 6px 0;
			border-top: var(--app-BorderStyle);
			font-size: 11.5px;
			font-weight: 600;
			color: var(--app-Font-Muted-color);
		}
		.chart-legend > span		{ display: inline-flex; align-items: center; gap: 7px; }
		.chart-legend > span.span	{ margin-left: auto; color: var(--app-Font-Faint-color); }
		.chart-legend i.line		{ width: 20px; height: 4px; border-radius: var(--app-Radius-Pill); background: var(--chart-point); box-shadow: 0 0 10px var(--chart-point); }
		.chart-legend i.trend		{ width: 20px; height: 0; border-top: 2px dashed var(--chart-trend); }
		.chart-legend i.dot			{ width: 9px; height: 9px; border-radius: 50%; background: var(--chart-max); box-shadow: 0 0 0 3px rgb(var(--app-PR-rgb) / .22); }

		/* Fehlertext, den ajax_loadHtml() in den Ziel-Container schreibt, wenn der Server kein html_code liefert */
		.ajax-error
		{
			padding: 16px;
			text-align: center;
			color: var(--app-Font-Muted-color);
			font-size: 14px;
		}

	/* --- 19.5  STATISTIK — shared KPI/Detail/Bar-Primitiven, Hauptmetrik Trainingsvolumen über Zeit  (spec 5 · statistik.php nutzt sie via §28) ---- */
	/* ---     read-only. KPI .stat-row → "Verlauf" .chart-box → "Details" table/bars. Page-Shell selbst lebt in §28 (.stat-*).                       */
	/* ---     .stat-row / .stat relocated here from §21.3 (Startseite nutzt .stat-row und .stat direkt, kein Alias.). Rest = token combinations.    */

		/* KPI tiles — shared by Startseite (§21) and Statistik; .home-* stays as the Startseite alias */
		exp-box.open > exp-header > exp-btn.statBtn 		{ display: inline-flex; }
		exp-box > exp-header > exp-btn.statBtn  	{ display: none; }
		exp-box > exp-btn.statBtn > ico 	{ font-size: 18px; }

		/* :active statt nur :hover -- der Klick laedt die Box per Ajax neu ( loadHomeChart ), das Element ist beim Loslassen schon ausgetauscht */
		/* und am Handy gibt es kein echtes Hover -- ohne das hier ist am Touch-Geraet kein Tap-Feedback sichtbar */
		exp-box > exp-header > exp-btn.statBtn:active		{ background: var(--app-MenuItem-Hover-color); color: var(--app-Font-OnFill-color); }
		.stat-row
		{
			box-sizing: border-box;
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
		}
		.stat
		{
			box-sizing: border-box;
			position: relative;			/* Bezug fuer das ⓘ unten rechts */
			flex: 1;
			min-width: 0;
			display: flex;				/* Inhalt vertikal mittig, wenn eine Nachbar-Kachel ( langer Uebungsname ) die Zeile hoeher macht */
			flex-direction: column;
			justify-content: center;
			padding: 12px 10px;
			text-align: center;
			overflow-wrap: anywhere;
		}		/* Optik : Baustein Zeile ( §18 ) ; Trend-Variante unten bei .stat.up / .stat.down ( §28 ) */
		.stat > b
		{
			display: block;
			font-size: 18px;
			font-weight: 700;
			letter-spacing: -.02em;
			color: var(--app-Font-Accent-color);
			font-variant-numeric: tabular-nums;
		}
		.stat > span		{ font-size: 11px; color: var(--app-Font-Muted-color); }

		/* Statistik shows up to 4 tiles — let them wrap to 2×2 on phones (flex-wrap sitzt in der Basisregel; Startseite bleibt 3-up, weil #chartBox_Mainpage .stat bei flex: 1 bleibt) */
		.stat-body .stat-row > .stat	{ flex: 1 1 130px; }		/* nur Statistik; Startseite (#chartBox_Mainpage) bleibt 3-up mit flex: 1 */

		/* eigener Zeitraum : von/bis-Felder, nur sichtbar wenn Tag "Eigener" aktiv ist (script toggelt [hidden]) */
		/* von / bis nebeneinander (2 gleich breite Spalten), Label-Text über dem Feld; am Handy schrumpfen Schrift/Innenabstand, damit das Datum reinpasst (§32 ≤420) */
		.stat-range-custom
		{
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 10px;
			margin-top: 8px;
		}
		.stat-range-custom > label
		{
			display: flex;
			flex-direction: column;
			min-width: 0;
			align-items: stretch;
			gap: 4px;
			font-size: 12px;
			color: var(--app-Font-Muted-color);
		}
		.stat-range-custom input
		{
			width: 100%;
			box-sizing: border-box;
			min-width: 0;
			padding: 8px 14px 8px 12px;
			border-radius: var(--app-Radius-Field);
			border: 0;
			background: var(--app-Inset);
			color: var(--app-Font-color);
			outline: none;
			font-size: 13px;
		}
		.stat-range-custom input:focus	{ box-shadow: var(--app-Tint-Ring); }
		.stat-range-custom input::-webkit-calendar-picker-indicator	{ margin-left: 4px; opacity: .6; cursor: pointer; }

		/* "Verlauf" box : the §19.4 chart-box drops in; page height + a bare-state hint fills it when there is no chart */
		.stat-chart		{ --chart-height: 300px; }
		.stat-chart .chart-hint
		{
			display: flex;
			align-items: center;
			justify-content: center;
			height: 100%;
			padding: 0 24px;
			text-align: center;
			font-size: 13px;
			color: var(--app-Font-Muted-color);
		}

		/* "Details" box : per-session / per-exercise rows — the mandatory text alternative to the chart */
		/* each .stat-drow sits in its own .stat-dbox card so the list reads as framed entries, not a flat stack */
		.stat-detail	{ display: flex; flex-direction: column; gap: 8px; }
		.stat-detail > .stat-divider	{ border-top: var(--app-BorderStyle); margin: 8px 4px 0; }		/* Trennstrich "Personal Records" | "Sessions" */
		.stat-dbox		{ padding: 8px; }		/* Optik : Baustein Zeile ( §18 ) */
		.stat-dbox.pr	{ background: linear-gradient(150deg, rgb(var(--app-PR-rgb) / .16), rgb(var(--app-PR-rgb) / .05)); box-shadow: inset 0 0 0 1px rgb(var(--app-PR-rgb) / .40); }		/* PR-Session : Gold-Glas mit Gold-Ring (statt blauem Akzent) */
		.stat-drow
		{
			display: grid;
			grid-template-columns: minmax(130px, max-content) minmax(0, 1fr) auto minmax(68px, max-content);		/* feste Datums- + Pillen-Spalte : Top-Satz und Werte stehen in jeder Zeile an derselben Stelle (laengstes Datum "30. September 2026" = 127px, Pille "−1.888 kg" = 67px) */
			gap: 12px;
			align-items: baseline;
			padding: 9px 12px;
			border-left: 3px solid transparent;
			border-radius: var(--app-Radius-Field);
			background: var(--app-Inset-Soft);
			font-size: 12px;
			font-variant-numeric: tabular-nums;
		}		/* transparenter linker Rand : Zeile ohne Trend-Schiene (aelteste Session) rueckt sonst 3px nach links */
		.stat-drow.pr			{ border-left: 3px solid var(--app-Font-PR-color); }				/* PR = Gold */
		.stat-drow.pr > .d-val	{ grid-column: -2; }		/* PR-Zeile hat keine Delta-Pille : Wert in die letzte Spalte, ganz rechts */
		/* Trend-Schiene : farbiger linker Rand je nach enthaltener Delta-Pille — PR-Gold sticht (:not(.pr)) */
		.stat-drow:not(.pr):has(> .badge.hit)	{ border-left: 3px solid var(--app-Font-Valid-color); }		/* Up-Trend in der Statistik : kräftigeres Grün als --chart-up */
		.stat-drow:not(.pr):has(> .badge.miss)	{ border-left: 3px solid var(--chart-down); }
		.stat-drow:not(.pr):has(> .badge:not(.hit):not(.miss))	{ border-left: 3px solid var(--app-Trend-Same-fg); }		/* gleich wie Vorsession (±0) : weiss ( hell : grau ) */
		/* einzeilig : Datum | Top-Satz bzw. PR-Marker (kuerzt mit …) | Wert | Delta-Pille ; grid-row fest, sonst setzt die Auto-Platzierung
		   d-sub (steht im DOM nach d-val/badge) in eine zweite Reihe */
		.stat-drow > *			{ grid-row: 1; }
		.stat-drow > .d-name
		{
			grid-column: 1;
			font-size: 14px;
			font-weight: 600;
			white-space: nowrap;
			color: var(--app-Font-color);
		}
		.stat-drow > .d-sub
		{
			grid-column: 2;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			color: var(--app-Font-Faint-color);
		}
		.stat-drow > .d-name > .d-pr	{ color: var(--app-Font-PR-color); font-weight: 700; }			/* PR-Marker : Gold */
		.stat-drow > .d-val				{ grid-column: 3; color: var(--app-Font-Muted-color); text-align: right; white-space: nowrap; }
		.stat-drow > .d-val > b	{ color: var(--app-Font-color); font-weight: 700; }
		.stat-dbox.pr > .stat-drow.pr > .d-val,
		.stat-dbox.pr > .stat-drow.pr > .d-val > b,
		.stat-dbox.pr > .stat-drow.pr > .d-sub	{ color: var(--app-Font-PR-color); }		/* PR-Zeile : ganze Schrift Gold, Hintergrund bleibt der zarte Wash ( User 2026-09-24 ) */

		/* Zeilen-Aufschluesselung (Muskel-Details contributing exercises · Session-Tab volume per exercise) : Name + Wert, kein Balken
		   (ergab als Anteil-vom-Groessten bzw. Anteil-an-Summe keinen belastbaren visuellen Vergleich) */
		.stat-bars	{ display: flex; flex-direction: column; gap: 8px; }
		.stat-brow
		{
			display: flex;
			align-items: center;
			gap: 10px;
			font-size: 12px;
			padding: 8px 11px;
			border-radius: var(--app-Radius-Field);
			background: var(--app-Inset-Soft);
		}
		.stat-brow > span:first-child
		{
			flex: 1 1 38%;
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			color: var(--app-Font-color);
		}
		.stat-brow > b
		{
			flex: 0 0 auto;
			font-variant-numeric: tabular-nums;
			color: var(--app-Font-Muted-color);
			font-weight: 600;
		}

		/* standalone delta pill (§18 .badge on its own inside a details / bar row) */
		.stat-drow > .badge,
		.stat-brow > .badge			{ flex: 0 0 auto; color: var(--app-Font-Muted-color); }
		.stat-drow > .badge			{ grid-column: 4; align-self: center; }		/* Delta-Pille in der letzten Spalte der einzeiligen .stat-drow */
		.badge.hit	{ color: var(--app-Font-Valid-color); }		/* Up-Trend in der Statistik : kräftigeres Grün als --chart-up */
		.badge.miss	{ color: var(--chart-down); }

		/* info-tip : Trend-Erklaerung (title-Attribut) hat am Handy kein Hover — sichtbares Tap-Icon daneben zeigt denselben Text als Notice (notice_infoTap, script.js) */
		ico.info-tip
		{
			position: relative;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			vertical-align: middle;
			flex: 0 0 auto;
			box-sizing: border-box;
			width: 18px;
			height: 18px;
			margin-left: 6px;
			padding: 0 0 1px;				/* das "i" der Icon-Schrift sitzt von Haus aus ~0,6 px zu tief im Kreis : Flex-Zentrierung um die Haelfte nach oben schieben */
			border-radius: 50%;
			font-size: 9px;				/* Glyph = ICON_INFO_TIP, das nackte "i" ( ICON_INFO waere selbst ein Kreis ) */
			color: var(--app-Info-Tip-fg);
			background: var(--app-Info-Tip-bg);
			box-shadow: var(--app-Info-Tip-shadow);
			cursor: pointer;
		}
		ico.info-tip::after		{ content: ""; position: absolute; inset: -9px; }		/* Tap-Flaeche bleibt gross */
		ico.info-tip:active		{ background: var(--app-Tint-Hover); }
		.stat > span > ico.info-tip			{ position: absolute; right: 9px; bottom: 9px; margin: 0; }		/* KPI-Kachel : ⓘ unten rechts in der Ecke */
		.stat-sect > b > ico.info-tip		{ width: 17px; height: 17px; margin-left: 8px; font-size: 8.5px; }		/* Abschnittskopf : etwas kleiner */

		/* context links under a box (Body-Map · Plan öffnen · volle Session-Ansicht …) : reuse §24.6 .ex-act */
		.stat-links
		{
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
			margin-top: 12px;
		}

	/* --- 19.6  ZEIT-AUFTEILUNG — Balken Vorlauf / Ausfuehrung / Pause + Legende + Kennzahlen ( Abschluss-Dialog §23.6, sessions.php Detail §26, spec/satz-zeiten.md ) ---------- */

		.time-split
		{
			display: flex;
			gap: 2px;
			height: 12px;
			border-radius: 6px;
			overflow: hidden;
			background: var(--app-Track-bg);
		}
		.time-split i					{ display: block; height: 100%; }
		.time-split .prep,
		.time-legend .prep::before		{ background: rgb(var(--app-Accent-rgb) / .25); }
		.time-split .exec,
		.time-legend .exec::before		{ background: var(--accent); }
		.time-split .rest,
		.time-legend .rest::before		{ background: var(--app-BackgroundSub-Card-Color); }

		.time-legend
		{
			display: flex;
			flex-wrap: wrap;
			gap: 4px 14px;
			margin-top: 6px;
			font-size: 12px;
			color: var(--app-Font-Muted-color);
			font-variant-numeric: tabular-nums;
		}
		.time-legend b					{ color: var(--app-Font-color); }
		.time-legend span::before		{ content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }

		.time-facts
		{
			display: flex;
			padding: 11px 0;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Chip-bg);
			text-align: center;
			font-size: 9.5px;
			text-transform: uppercase;
			letter-spacing: .06em;
			color: var(--app-Font-Muted-color);
			font-variant-numeric: tabular-nums;
		}
		.time-facts > div				{ flex: 1 1 0; }
		.time-facts > div + div			{ border-left: var(--app-BorderStyle); }
		.time-facts b					{ display: block; margin-bottom: 3px; font-size: 15px; letter-spacing: -.02em; text-transform: none; color: var(--app-Font-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 20. SAFE AREA + PWA STANDALONE — notch / Dynamic Island / home-indicator insets (viewport-fit=cover) ----------------------------------- */
	/* ---   env(safe-area-inset-*) is 0 on devices without a cutout AND in a normal browser tab, so every rule below is inert on the plain site. */
	/* ---   The chrome background bleeds edge-to-edge; only the readable/tappable content is pushed inside the safe area.                         */
	/* ---   script/script.js adds .pwa-standalone to <html> when launched as an installed app — style hook for standalone-only tweaks.           */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		:root
		{
			--sai-top:    env(safe-area-inset-top, 0px);
			--sai-right:  env(safe-area-inset-right, 0px);
			--sai-bottom: env(safe-area-inset-bottom, 0px);
			--sai-left:   env(safe-area-inset-left, 0px);
		}

		/* header : sticky, schwebt ohne Flaeche auf dem Seitenhintergrund — nur der Notch-Streifen wird freigehalten */
		header	{ padding-top: var(--sai-top); }
		.header-container
		{
			box-sizing: border-box;
			padding-inline: var(--sai-left) var(--sai-right);	/* landscape cutout — 0 in portrait */
		}

		/* footer : schwebende Glas-Leiste — der Home-Indicator-Inset steckt in footer { bottom } ( §9 ) */

		/* side menu : list clears the home indicator (header top handled in §10 / §32) */
		.sideMenu-ScrollBox	{ padding-bottom: var(--sai-bottom); }

		/* centred modal : never taller than the space between the insets */
		.dialog-Container
		{
			max-height: calc(100dvh - 24px - var(--sai-top) - var(--sai-bottom));
			overflow-y: auto;
		}

		/* installed app : kill the rubber-band / scroll-chaining that outs a PWA as "just a web page" ;
		   "contain" (not "none") — some WebKit builds drop native body scroll entirely when "none" sits on html/body
		   in standalone display-mode, "contain" still blocks the bounce-past-the-edge/pull-to-refresh chaining */
		html.pwa-standalone,
		html.pwa-standalone body	{ overscroll-behavior-y: contain; }

		/* App installieren / deinstallieren : script.js setzt html.pwa-installed ( als App gestartet oder gerade installiert ) ;
		   Browser = nur .pwa-install ( Startseiten-Kachel + Seitenmenue ), installiert = nur .pwa-uninstall ( Seitenmenue ) */
		html.pwa-installed .pwa-install,
		html:not(.pwa-installed) .pwa-uninstall		{ display: none; }

		/* pull-to-refresh indicator : created by script.js ( standalone only ), parked above the screen edge ;
		   JS moves it down with the finger ( .pulling = no transition ), .ready = release reloads ;
		   .center = released : glides to the screen centre, grows, spins, then ptrVanish fades + shrinks it out -> JS reloads.
		   Glide + grow = transform only ( GPU, no layout per frame — top/font-size transitions stuttered ) ; --ptr-rot = pulled angle.
		   Box sized in em so the circle shrinks together with the icon. */
		.ptr
		{
			position: fixed;
			top: calc(var(--sai-top) - 48px);
			left: 50%;
			z-index: 70;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 2.2em;
			height: 2.2em;
			border-radius: 50%;
			background: var(--app-Glass-Bg);									/* Nachtglas : wie Hinweis-/Rueckgaengig-Leiste ( §12 / §13 ) */
			-webkit-backdrop-filter: var(--app-Glass-Filter);
			backdrop-filter: var(--app-Glass-Filter);
			border: var(--app-Glass-Border);
			box-shadow: var(--app-Glass-Shadow);
			color: var(--app-Font-Muted-color);
			font-size: 18px;
			transform: translate(-50%, 0) scale(1);
			opacity: calc(0.3 + var(--ptr-p, 0) * 0.7);						/* blendet beim Ziehen ein */
			transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
			will-change: transform;
			pointer-events: none;
		}
		/* Fortschrittsring : --ptr-p ( 0..1, JS ) fuellt sich im Uhrzeigersinn bis zur Ausloeseschwelle */
		.ptr::before
		{
			content: "";
			position: absolute;
			inset: 0;
			border-radius: 50%;
			background: conic-gradient(var(--accent) calc(var(--ptr-p, 0) * 360deg), transparent 0);
			-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
			mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
			opacity: 0.9;
		}
		.ptr > ico				{ transform: rotate(var(--ptr-rot, 0deg)); }		/* nur das Icon dreht, Scheibe + Ring stehen */
		.ptr.pulling			{ transition: opacity 0.15s linear, color 0.2s ease, box-shadow 0.25s ease; }		/* Position folgt dem Finger ohne Verzoegerung */
		.ptr.ready,
		.ptr.center
		{
			color: var(--app-Font-color);
			box-shadow: var(--app-Glass-Shadow), 0 0 22px rgb(var(--app-Accent-rgb) / .45);		/* Glas leuchtet auf = loslassen */
		}
		.ptr.center
		{
			--ptr-p: 1;
			transform: translate(-50%, calc(50dvh - 50% + 48px - var(--sai-top))) scale(2);
			transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
			animation: ptrVanish 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;			/* ~0.75 s from release to reload */
		}
		.ptr.center > ico		{ animation: ptrSpin 0.5s linear infinite; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 21. PAGE — STARTSEITE   (mainPage.php : dashboard home screen) ------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 21.0  START-INTRO — Logo-Reveal beim Kaltstart ( einmal je Sitzung ; mainPage.php setzt html.intro-play vor dem ersten Bild, page-mainPage.js raeumt auf ) ---- */

		#intro-stage									{ display: none; }
		html.intro-play #intro-stage					{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; position: fixed; inset: 0; z-index: 99999; background: radial-gradient(120% 80% at 50% 38%, rgb(var(--app-Accent-rgb) / 0.16) 0%, transparent 62%), rgb(var(--pal-bg-rgb)); animation: introStageOut 0.45s ease 1.55s forwards; }
		#intro-stage .intro-logo						{ position: relative; width: 128px; height: 128px; }
		#intro-stage .intro-logo img					{ display: block; width: 128px; height: 128px; border-radius: 28px; opacity: 0; animation: introLogoIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards; }
		#intro-stage .intro-sheen						{ position: absolute; inset: 0; border-radius: 28px; overflow: hidden; pointer-events: none; }
		#intro-stage .intro-sheen::after				{ content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.28), transparent); transform: skewX(-14deg); animation: introSheen 0.8s ease 0.75s forwards; }
		#intro-stage .intro-word						{ font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--app-Font-color); opacity: 0; animation: introWordIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards; }
		#intro-stage .intro-word b						{ color: var(--app-Font-Accent-color); font-weight: 700; }

	/* --- 21.1  ROW CAPTION — two-line (name + subtitle), used in "Zuletzt trainiert" ----------------------------------------------------------- */

		exp-cap.name.stack
		{
			flex-flow: column;
			align-items: flex-start;
			justify-content: center;
			gap: 2px;
			white-space: normal;
			overflow: visible;
			min-width: 0;
		}
		exp-cap.name.stack > span	{ font-weight: 600; overflow-wrap: anywhere; }
		exp-cap.name.stack > div
		{
			padding-left: 0;
			font-size: 12px;
			color: var(--app-Font-Muted-color);
			overflow-wrap: anywhere;
		}

	/* --- 21.1b  BOX-ICONS — Kopf-Icon der Startseiten-Karten = Hero-Kachel ( Baustein Icon-Kachel, §18 ), Seiten-Scope nur fuer Zeiger + Markieren ------------------ */

		#homeRecentBox_Mainpage exp-box.mainGroup > exp-header > exp-col.icon > ico,
		#chartBox_Mainpage exp-box.mainGroup > exp-header > exp-col.icon > ico,
		#bodyWeightBox_Mainpage exp-box.mainGroup > exp-header > exp-col.icon > ico		{ --tile: 48px; cursor: pointer; }		/* 48px-Kachel ; Zeiger ueberstimmt das globale "default" am Header-Icon ( §15 ) */
		#homeRecentBox_Mainpage exp-box.mainGroup > exp-header,
		#chartBox_Mainpage exp-box.mainGroup > exp-header,
		#bodyWeightBox_Mainpage exp-box.mainGroup > exp-header		{ cursor: pointer; }		/* ganze Kopfzeile klappt auf/zu ( onclick expander_Toogle am exp-header ) */
		#homeRecentBox_Mainpage exp-box.mainGroup > exp-header *,
		#chartBox_Mainpage exp-box.mainGroup > exp-header *,
		#bodyWeightBox_Mainpage exp-box.mainGroup > exp-header *		{ -webkit-user-select: none; user-select: none; }		/* kein Text-Markieren beim Klicken ; ueberstimmt user-select:text an exp-cap.name ( §15 ) */
		#home-recent exp-box.subGroup > exp-header *					{ -webkit-user-select: none; user-select: none; }		/* auch die Session-Zeilen in "Zuletzt trainiert" ( User 2026-09-30 ) : Klick oeffnet die Session, kein Markieren */

	/* --- 21.2  SESSION STARTEN · accent CTA ---------------------------------------------------------------------------------------------------- */

		/* Blaue Hero-Karte ( Start-Token Par.3 ) : Lichtfleck oben rechts als zweite Hintergrundebene ( Schleier = Start-Rand-Token ), darunter Titel + zwei Teilknoepfe */
		.home-hero
		{
			position: relative;
			box-sizing: border-box;
			padding: 20px 16px;
			background: radial-gradient(circle 141px at calc(100% - 40px) 30px, var(--app-Start-Border-Color), transparent 65%), var(--app-BackgroundStart-Color);
			border: 0;
			border-radius: var(--app-Radius-Card);
			box-shadow: var(--app-Start-Shadow);		/* Glow dauerhaft, nicht erst beim Hover */
			overflow: hidden;
			transition: var(--app-SpringPop-Transition), filter .22s ease-out;
		}
		@media (hover: hover) and (pointer: fine) { .home-hero:hover	{ filter: brightness(1.1); box-shadow: var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Hover-Color); } }

		.home-hero-main
		{
			box-sizing: border-box;
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 0 0 16px;
			color: var(--app-Font-OnFill-color);
			font-weight: 700;
			cursor: pointer;
		}
		.home-hero-main > ico:not(.chev)
		{
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			width: 34px;
			height: 44px;
			flex: 0 0 auto;
			border-radius: 50%;
			font-size: 34px;
			transition: var(--app-SpringPop-Transition);
		}		/* Icon ohne eigenen Kreis-Hintergrund, sitzt direkt auf dem Blau ( User-Wunsch 2026-09-23 : dunkler Kreis raus ) */

		.home-hero-txt
		{
			display: flex;
			flex-direction: column;
			line-height: 1.15;
			flex-grow: 1;
			min-width: 0;
		}
		.home-hero-txt > b		{ font-size: 24px; letter-spacing: -.01em; overflow-wrap: anywhere; }
		.home-hero-txt > span	{ font-size: 13px; opacity: .85; overflow-wrap: anywhere; }

		/* Laufende Session ( page_activeSessionBar.php layout=hero, User 2026-10-01 ) : Glas-Karte mit Akzent-Tint statt Start-Blau ( hebt sich von "Session starten" ab ),
		   links Fortschrittsring ( --pct = erledigte Saetze in % ), rechts Name / aktuelle Uebung / Phase + Zeit + Gesamt ; kein Knopf, die ganze Karte ist der Tap ; Warn-/Rot-Stufe der Pause = farbiger Aussenring am Ring ( ::after ) */
		.home-hero:has(.home-hero-main[data-phase])
		{
			background: linear-gradient(rgb(var(--app-Accent-rgb) / .16), rgb(var(--app-Accent-rgb) / .16)), var(--app-Glass-Card);
			box-shadow: var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Color), var(--app-Glass-Lip);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);
		}

		.home-hero-main[data-phase]				{ gap: 14px; padding-bottom: 0; color: var(--app-Font-color); }
		.home-hero-main[data-phase] .home-hero-txt > b	{ font-size: 22px; color: var(--app-Font-Accent-color); }
		.home-hero-txt > .line-exercise	{ margin-top: 3px; font-size: 15px; font-weight: 700; opacity: 1; }
		.home-hero-main[data-phase] .returnBar-sep	{ margin: 0 6px; }
		.home-hero-txt > .status		{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; font-size: 13px; font-weight: 400; opacity: 1; color: var(--app-Font-Muted-color); font-variant-numeric: tabular-nums; }
		.home-hero-txt > .status b		{ font-weight: 700; color: var(--app-Font-color); }
		.home-hero-main[data-phase] .returnBar-dot			{ background: var(--app-Font-Muted-color); }		/* Punkt auf Glas : Bereit / Pause ruhig ... */
		.home-hero-main.setRunning .returnBar-dot			{ background: var(--app-Font-Valid-color); }		/* ... Ausfuehrung gruen + pulsierend ( Pulsieren s. §8 ) */
		.home-hero-main.warn .returnBar-dot					{ background: var(--app-Font-Editing-color); }
		.home-hero-main.alert .returnBar-dot				{ background: var(--app-Font-Alert-color); }

		.hero-ring
		{
			position: relative;
			flex: 0 0 auto;
			width: 64px;
			height: 64px;
			border-radius: 50%;
			display: grid;
			place-items: center;
			background: conic-gradient(rgb(var(--app-Accent-rgb)) calc(var(--pct, 0) * 1%), rgb(var(--app-Accent-rgb) / .2) 0);
			animation: heroRingPulse 2.4s ease-in-out infinite;
		}
		.hero-ring > div		{ width: 52px; height: 52px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; background: var(--app-BackgroundBase-Color); }
		.hero-ring > div > b	{ font-size: 18px; }
		.hero-ring > div > small	{ font-size: 10px; color: var(--app-Font-Muted-color); }
		/* Pausen-Stufe = nur die Farbe des Pulses ( Ring bleibt Akzent ; Variable, Puls s. @keyframes heroRingPulse §4 ) : Akzent -> gelb ab Warn-Schwelle -> rot ab Alarm-Schwelle ( Schwellen §23.5 ) */
		.home-hero-main.warn .hero-ring,
		.header-ActiveSession.warn .hero-ring		{ --hero-pulse: var(--app-Font-Editing-color); }
		.home-hero-main.alert .hero-ring,
		.header-ActiveSession.alert .hero-ring		{ --hero-pulse: var(--app-Font-Alert-color); }


		/* "Aus Plan" / "Aus Session" : zwei Teilknoepfe ( Baustein Knopf, §18 ), beide heller Schleier mit weisser Schrift ( User 2026-10-01 : "Aus Plan" nicht mehr weiss, alle Knoepfe der Karte gleichwertig ) */
		.home-hero-sub	{ display: flex; flex-wrap: wrap; gap: 10px; }
		.home-hero-sub > div
		{
			--btn-h: 54px;
			--btn-bg: var(--app-Start-Border-Color);
			--btn-fg: var(--app-Font-OnFill-color);
			--btn-shadow: none;
			flex: 1;
			min-width: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
			padding: 0;
			font-size: 15.5px;
			cursor: pointer;
		}
		@media (hover: hover) and (pointer: fine) { .home-hero-sub > div:hover	{ --btn-bg: var(--app-Start-Border-Hover-Color); --btn-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); } }		/* Hover = staerkerer Schleier + heller Ring ( Aufhellung allein war auf dem Verlauf unsichtbar ) */
		.home-hero-sub > div:active	{ transform: scale(.97); }		/* Druecken = Feder */
		.home-hero-sub > div > ico	{ flex: 0 0 auto; font-size: 18px; color: inherit; }
		/* Drei gleich breite Teilknoepfe : Symbol, Name, darunter eine Halbzeile, was der Knopf tut */
		.home-hero-sub			{ flex-wrap: nowrap; gap: 8px; }
		.home-hero-sub > div
		{
			--btn-h: auto;
			flex-direction: column;
			gap: 2px;
			padding: 7px 4px 8px;
			text-align: center;
			line-height: 1.15;
		}
		.home-hero-sub > div > ico		{ font-size: 15px; }
		.home-hero-sub > div			{ justify-content: flex-start; }		/* Symbol immer oben auf gleicher Hoehe, auch wenn ein Name umbricht */
		.home-hero-sub > div > b		{ display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 12.5px; font-weight: 700; }		/* Name + Halbzeile je eine Zeile -> alle drei Knoepfe gleich hoch */
		.home-hero-sub > div > span		{ font-size: 11px; opacity: .8; overflow-wrap: anywhere; }

	/* --- 21.3  ZULETZT TRAINIERT / FORTSCHRITT — side by side + equal height on desktop -------------------------------------------------------- */

		/* self-adjusting : 2 columns filling the full width whenever there is room (~660px+), 1 column on phones — no media query.
		   Seit 2026-09-20 liegt nur noch "Zuletzt trainiert" darin ( = volle Breite ) ; "Fortschritt" hat per #chartBox_Mainpage eine eigene Zeile. */
		.home-split
		{
			box-sizing: border-box;
			display: grid;
			gap: 20px;
			grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
			align-items: start;
		}
		.home-split > *		{ min-width: 0; }

		/* KPI-Kacheln .stat-row / .stat kommen aus §19.5 (seit 2026-09-16 direkt, kein .home-*-Alias mehr; Startseiten-Overrides in Par.31 per #chartBox_Mainpage) */

		/* "Zuletzt trainiert" — segmented control : how many session rows are loaded (page-mainPage.js reload_recentSessions) */
		.home-recent-ctrl
		{
			box-sizing: border-box;
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 10px 10px 0px;		/* unten 0 : die Liste darunter bringt schon 10px padding-top ( sonst 20px Luft ) */
			font-size: 12px;
			color: var(--app-Font-Muted-color);
		}
		.home-recent-ctrl > .seg	{ margin-left: auto; }		/* Optik = .seg (Par.18), hier nur die Platzierung */

		/* "Zuletzt trainiert" — Leer-State ( noch keine Session ) : zentrierter Hinweis + "Session starten", Optik wie .sessions-empty (§26) */
		.home-recent-empty
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 14px;
			padding: 40px 16px;
			text-align: center;
			color: var(--app-Font-Muted-color);
		}

		/* "Zuletzt trainiert" — session rows : hold the default height (~5 rows), scroll once more rows are shown */
		.home-recent-list
		{
			max-height: 358px;
			overflow-y: auto;
			padding: 10px;
		}

		/* reload_recentSessions (page-mainPage.js) swaps the whole "#home-recent" box via Ajax on segment-click ( count
		   is a server-side LIMIT now, not a client-side filter -- s. homePage_SessionLastDone.php ) -- no collapse
		   transition needed, rows simply aren't in the DOM. margin-bottom (not flex "gap") for a plain row list. */
		.home-recent-list exp-box.subGroup			{ margin-bottom: 12px; }
		.home-recent-list exp-box.subGroup:last-child	{ margin-bottom: 0; }

		/* whole row is tappable (opens "Session wiederholen"), not just the trailing icon (Usability #11) */
		.home-recent-list exp-box.subGroup > exp-header
		{
			cursor: pointer;
			transition: background .15s ease;
		}

		#chartBox_Mainpage .chart-box	{ margin-top: 14px; --chart-height: 240px; }		/* Fortschritt : eigene Zeile, volle Breite ( seit 2026-09-20 nicht mehr im home-split ) */
		.home-bodyweight .chart-box		{ margin-top: 14px; --chart-height: 240px; }		/* Gewichtsverlauf : volle Breite unter dem home-split */

		/* Kennzahlen .home-peek : sitzen zwischen Kopf und exp-content, bleiben also auch zugeklappt sichtbar -- nur Diagramm + Link klappen auf.
		   Darum entfaellt der Header-Count ( dieselben Werte stehen in den Kacheln ). Aufgeklappt : Trennlinie + 10px Luft darunter statt 20px. */
		exp-box:has(> .home-peek) > exp-header > exp-col.count	{ display: none; }
		.home-peek						{ padding: 10px 14px 14px; }
		exp-box.mainGroup.open > .home-peek + exp-content		{ padding-top: 10px; }
		@media (hover: hover) and (pointer: fine) { exp-box.mainGroup:has(> .home-peek) > exp-header:hover	{ border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: inset 0 1px 0 rgb(var(--pal-tint-hi-rgb) / .13), inset 1px 0 0 rgb(var(--pal-tint-rgb) / .08), inset -1px 0 0 rgb(var(--pal-tint-rgb) / .08); } }		/* Kennzahlen liegen auch zugeklappt unter der Kopfzeile -- unten immer eckig, sonst wirkt der Hover wie eine eigene Pille */

		/* Kalender-Knoepfe ( Zeitraum -/+ ) kleiner als der Toggle : "Körpergewicht" bricht am Handy sonst um */
		.home-bodyweight > exp-header > exp-btn:not(:last-child)		{ width: 30px; height: 30px; }
		.home-bodyweight > exp-header > exp-btn:not(:last-child) > ico	{ font-size: 15px; }
		exp-box > exp-header > exp-btn.home-cal-btn						{ color: var(--app-Font-Dim-color); }		/* Zeitraum-Pfeil am Ende des Bereichs ( gesperrt, onclick nur edp() ) : gedaempft */

		.home-legend
		{
			margin-top: 8px;
			font-size: 11px;
			color: var(--app-Font-Muted-color);
			text-align: left;
		}
		.home-legend > span				{ display: block; }
		.home-legend .home-legend-hint	{ margin-top: 2px; color: var(--app-Font-Faint-color); }

		/* Link unten in der Kachel ( Fortschritt -> Statistik, Koerpergewicht -> gewicht.php ) : Glas-Zeile ueber die ganze Breite, Text links, runder Pfeil rechts */
		.home-more
		{
			box-sizing: border-box;
			margin-top: 14px;
			padding: 10px 10px 10px 16px;
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
			background: var(--app-Glass-Row);
			box-shadow: var(--app-Glass-Lip-Row);
			border-radius: var(--app-Radius-Pill);
			font-size: 14px;
			font-weight: 600;
			color: var(--app-Font-color);
			transition: var(--app-SpringPop-Transition), filter .22s ease-out;
		}
		.home-more > ico
		{
			flex: 0 0 auto;
			width: 28px;
			height: 28px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 50%;
			background: var(--app-IconBtn-bg);
			color: var(--app-Icon-Accent);
			font-size: 12px;
		}
		@media (hover: hover) and (pointer: fine) { .home-more:hover	{ filter: brightness(1.18); box-shadow: var(--app-Glass-Lip-Row), 0 0 0 1px var(--app-TransformBorder-Color); } }
		.home-more:active	{ transform: scale(.98); }

	/* --- 21.4  BEREICHE · tile grid ------------------------------------------------------------------------------------------------------------ */

		/* fixed column counts per breakpoint (no auto-fit) — auto-fit re-measures during the expander open
		   transition and briefly paints the wrong count; a fixed count cannot flash. */
		.home-grid
		{
			box-sizing: border-box;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 12px;
			width: 100%;
		}

		/* Kachel : Optik ( Glas ) aus Baustein Karte, Icon aus Baustein Icon-Kachel -- hier nur Raster */
		.home-cat
		{
			box-sizing: border-box;
			padding: 16px 16px;
			display: grid;
			grid-template-columns: 52px 1fr;
			grid-template-rows: auto auto;
			column-gap: 16px;
			row-gap: 2px;
			align-content: center;
			align-items: center;
			cursor: pointer;
			transition: var(--app-SpringPop-Transition);
			min-height: 84px;
			min-width: 0;
			overflow-wrap: anywhere;
		}
		@media (hover: hover) and (pointer: fine) { .home-cat:hover		{ background: linear-gradient(var(--app-Hover-bg-strong), var(--app-Hover-bg-strong)), var(--app-Glass-Card); box-shadow: var(--app-Glass-Lip), 0 0 0 1px var(--app-TransformBorder-Color); } }		/* Hover am PC = Fuellton + Akzent-Ring, KEIN filter/Glow : filter auf einer backdrop-filter-Karte rechnet den Blur je Frame neu = Ruckeln */
		.home-cat:active	{ transform: scale(.97); }			/* Druecken = Feder */
		.home-cat > ico
		{
			--tile: 52px;
			grid-column: 1;
			grid-row: 1 / 3;
			align-self: center;
			justify-self: center;
			font-size: 26px;
			line-height: 1;
		}
		.home-cat > b
		{
			grid-column: 2;
			grid-row: 1;
			align-self: end;
			font-size: 18px;
		}
		.home-cat > span
		{
			grid-column: 2;
			grid-row: 2;
			align-self: start;
			font-size: 13.5px;
			color: var(--app-Font-Muted-color);
			line-height: 1.4;
		}
		/* App installieren : Glas-Karte ( Baustein Karte ) mit Icon-Kachel wie .home-cat, volle Breite ( .pwa-install blendet sie als App aus ), Kreuz blendet sie dauerhaft aus ( html.home-install-gone, page-mainPage.js ) */
		.home-install			{ box-sizing: border-box; display: flex; align-items: center; gap: 4px; padding: 10px 6px 10px 16px; font-size: 13.5px; color: var(--app-Font-Muted-color); }
		.home-install-main		{ flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: filter .22s ease-out; }
		.home-install-main > ico	{ --tile: 40px; font-size: 20px; line-height: 1; }
		.home-install-main > ico	{ animation: installTileGlow 2.8s ease-in-out 3; }		/* 3 Durchlaeufe statt endlos : die Karte hat backdrop-filter, ein dauernd animierter Schatten darin = Dauer-Repaint des Blurs = Ruckeln */
		.home-install-main > ico > i	{ display: block; font-style: normal; animation: installArrowDrop 2.8s ease-in-out 3; }
		.home-install-main > span	{ min-width: 0; line-height: 1.4; }
		.home-install-main b	{ display: block; font-size: 16px; font-weight: 600; color: var(--app-Font-color); }
		.home-install-close		{ flex: 0 0 auto; padding: 10px 12px; cursor: pointer; font-size: 14px; }
		@media (hover: hover) and (pointer: fine) { .home-install-main:hover	{ filter: brightness(1.12); } }		/* Hover = nur Aufhellung */
		.home-install-main:active	{ transform: scale(.98); }		/* Druecken = Feder */
		html.home-install-gone .home-install	{ display: none; }

		/* Willkommen-Dialog ( neue Konten ohne Session, homePage_Welcome.php ) : versteckt, bis page-mainPage.js .show setzt ( localStorage-Flag fehlt ).
		   Look 1:1 wie der Info-Dialog ( Par.11 : .dialog-Background / .dialog-Container.release / .dialog-Icon / .dialog-Eyebrow / .dialog-Btn ),
		   alles zentriert. Eigene .wd-*-Klassen, weil #appDialog per body.dialog laeuft und nur Text traegt. Nur Tokens, kein Hover-Lift. */
		.wd				{ display: none; }
		.wd.show		{ display: block; }
		body.wd-open	{ overflow-y: hidden; }
		.wd-Background
		{
			position: fixed;
			top: 0; bottom: 0; left: 0; right: 0;
			z-index: 110;
			background-color: var(--app-Overlay-bg);
			-webkit-backdrop-filter: var(--MenuBar-BackdropFilter);
			backdrop-filter: var(--MenuBar-BackdropFilter);
		}
		.wd-Container
		{
			position: fixed;
			top: 50%;
			left: 50%;
			z-index: 120;
			transform: translate(-50%, -50%);
			box-sizing: border-box;
			width: min(420px, calc(100vw - 48px));
			max-height: calc(100vh - 48px);
			overflow-y: auto;
			padding: 28px 24px 20px;
			display: flex;
			flex-direction: column;
			align-items: center;
			text-align: center;
			gap: 12px;
			background: radial-gradient(120% 70% at 50% 0%, rgb(var(--app-Accent-rgb) / .20) 0%, transparent 62%), var(--app-Gradient);
			border: 1px solid rgb(var(--app-Accent-rgb) / .35);
			border-radius: var(--app-Border-Radius);
			box-shadow: var(--app-Shadow);
			-webkit-user-select: none;
			user-select: none;
		}
		.wd-Icon
		{
			flex: none;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 56px;
			height: 56px;
			font-size: 24px;
			color: var(--app-Font-Add-color);
			background: var(--app-BackgroundAdd-Color);
			border: 1px solid var(--app-Add-Border-Color);
			border-radius: 50%;
			box-shadow: 0 0 22px rgb(var(--app-Accent-rgb) / .35);
		}
		.wd-Eyebrow
		{
			padding: 2px 10px;
			font-size: 11px;
			font-weight: 700;
			letter-spacing: .04em;
			color: var(--app-Font-Add-color);
			background: rgb(var(--app-Accent-rgb) / .18);
			border-radius: 999px;
		}
		.wd-Header	{ font-size: 22px; font-weight: bold; color: var(--app-Font-color); overflow-wrap: anywhere; }
		.wd-Sub		{ font-size: 13.5px; color: var(--app-Font-Muted-color); }
		.wd-Steps	{ display: flex; flex-direction: column; gap: 14px; align-self: stretch; margin-top: 4px; padding: 16px 0; border-top: var(--app-BorderStyle); border-bottom: var(--app-BorderStyle); }
		.wd-Steps > div	{ display: flex; align-items: center; gap: 14px; text-align: left; }
		.wd-Steps i
		{
			flex: none;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 36px;
			height: 36px;
			border: var(--app-BorderStyle);
			border-radius: 50%;
			background: var(--app-IconBtn-bg);
			color: var(--app-Font-Add-color);
			font-style: normal;
			font-weight: 700;
			font-size: 16px;
		}
		.wd-Steps span		{ min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--app-Font-Muted-color); overflow-wrap: anywhere; }
		.wd-Steps span > b	{ display: block; font-size: 15px; color: var(--app-Font-color); }
		.wd-Actions	{ display: flex; gap: 8px; align-self: stretch; margin-top: 2px; }
		.wd-Btn
		{
			flex: 1 1 0;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 12px 14px;
			font-size: 13px;
			text-align: center;
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
		}		/* Farbe + Form : §18 Baustein Knopf ( confirm = Add-Variante ) */
		.wd-Btn.confirm	{ flex: 1.6 1 0; }
		.wd-Btn:active	{ transform: scale(.97); }		/* Druecken = Feder */
		@media (hover: hover) and (pointer: fine) { .wd-Btn:hover	{ filter: brightness(1.12); } }

		/* "App installieren"-Kachel ( volle Breite ) : kein Scale-Pop -- bei voller Breite waechst sie sichtbar ueber den Rand ; Glow + Rahmen bleiben */

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 22. PAGE — PLAN-EDITOR   (planEditor.php) ---------------------------------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 22.0  PE-ROOT — reiner Scope-/Layout-Container, KEINE Karten-Huelle ----------------------------------------------------------------- */
	/* User-Wunsch 2026-09-17: die aeussere Box (Kopfzeile Planname+Uebungen/Saetze + Karten-Hintergrund/Schatten, zwischenzeitlich als
	   .pe-shell/.pe-head/.pe-body gebaut) faellt komplett weg -- der Planname steht schon editierbar im PLANNAME-Feld (.edit-panel,
	   §22.2), eine zweite Anzeige davor war redundant, der Karten-Look reine Verpackung ohne eigenen Informationswert. .pe-root traegt
	   nur noch das planID-Attribut (JS-Scoping, page-planEditor.js) + die Flex/Gap-Abstaende -- kein Hintergrund/Radius/Schatten mehr,
	   Edit-Panel und Uebungs-Karten haben schon ihre eigenen Hintergruende (§22.2 / §19.1) und tragen sich selbst. */

		#planEditor-box .pe-root
		{
			display: flex;
			flex-direction: column;
			gap: 16px;
		}

	/* --- 22.1  DEEPER WELLS · editor only ------------------------------------------------------------------------------------------------------ */
	/* ---     Karten + Zeilen ( Plan-Editor, Plaene-Liste, sessionStart "Aus Plan" ) tragen ihre Glas-Optik aus §18 Karte / Zeile ; hier nur die eingelassenen Flaechen. */

		.set-content					{ background: var(--app-Well-Editor-Color); }
		#planEditor-box .set-content	{ background: var(--app-Well-Deep-Color); }
		#planEditor-box .set-content .set-measure	{ font-size: .9em; padding-left: 5px; }		/* Wdh / kg groesser lesbar ( User 2026-10-03 ) ; schlaegt die kleineren Handy-Stufen in §32 per ID */

	/* --- 22.1b  FOOTER — Speichern is the primary action, tinted with the save accent --------------------------------------------------------- */

		.footer-MenuBar > .menu-item.save			{ color: var(--app-Accent-Soft); }
		.footer-MenuBar > .menu-item.save ico		{ color: var(--app-Icon-Accent); }
		.footer-MenuBar > .menu-item.save > b		{ font-weight: 700; }
		.footer-MenuBar > .menu-item.sort.active ico	{ color: var(--app-Icon-Accent); }

	/* --- 22.1c  SORT MODE — Griff (.sortHandle) per Drag & Drop verschiebt Zeilen -------------------------------------------------- */
	/* -- shared : selectors key off the generic ".sortMode" + "exp-box.subGroup" pair, not a page-specific ID, so this also drives the -----------
	/* -- Pläne-Liste's Plan-cards (plaene.php, #plaene-box) — see script.js "Sortier-Modus" section for the JS side (sort_moveItem). ------------- */

		.footer-MenuBar > .menu-item.sort.active								{ color: var(--app-Accent-Soft); background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }

		exp-box.subGroup 														{ opacity: 1; }

		/* sortUp/sortDown/sortIcon existieren nur für den Sortier-Modus (Usability #16) — außerhalb unsichtbar */
		exp-box.subGroup > exp-header > exp-btn.sortHandle,
		exp-box.subGroup > exp-header > ico.sortIcon							{ display: none; }

		.sortMode exp-box.subGroup.add-btn										{ display: none; }
		.sortMode exp-box.subGroup												{ opacity: 0.7; }

		/* nur noch Icon + Name + die zwei Pfeil-Buttons zeigen — alles andere im Header ausblenden */
		.sortMode exp-box.subGroup > exp-header > *:not(exp-cap.name):not(.sortHandle):not(.sortIcon)	{ display: none; }

		.sortMode exp-box.subGroup > exp-header > exp-btn.sortHandle			{ display: inline-flex; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
		.sortMode exp-box.subGroup > exp-header > exp-btn.sortHandle > ico		{ pointer-events: none; }		/* der ganze Kreis ist Griff : Glyph faengt keine Klicks ab, Zeiger bleibt ueberall "grab" */

		/* Reihen-Symbol (Uebung/Plan/...) frei vor dem Namen, ohne Kachel : im Plan-Editor immer sichtbar ( ersetzt die frueheren Positions-Zahl ), sonst nur im
		   Sortier-Modus. Welches ICON_* je Zeilentyp steht im Template (itemClass an sort_moveItem). */
		.sortMode exp-box.subGroup > exp-header > ico.sortIcon,
		#planEditor-box exp-box.subGroup.Exercise > exp-header > ico.sortIcon
		{
			display: inline-flex;
			margin: 0 2px 0 14px;
			font-size: 24px;
			color: var(--app-Icon-Accent);
		}
		.sortMode exp-box.subGroup > exp-header > ico.sortIcon ~ exp-cap.name,
		#planEditor-box exp-box.subGroup.Exercise > exp-header > ico.sortIcon ~ exp-cap.name	{ padding-left: 20px; }		/* "~" statt "+" : bei Plan-Karten liegen ausgeblendete Geschwister ( ex-lvl, start ) dazwischen */
		#plaene-box.sortMode exp-box.subGroup.Plan > exp-header > ico.sortIcon ~ exp-cap.name	{ padding-left: 20px; }		/* schlaegt die start-Regel ( padding-left: 0 ) aus §22.1d */

		/* sortUp/sortDown bleiben die freistehenden Kreis-Buttons wie alle exp-btn (§14, Zeile ~1220) -- .sortDown ist im
		/* Sortier-Modus optisch der letzte Button, aber DOM-technisch nicht (.toggle/.edit/… folgen noch, nur unsichtbar),
		/* die generische ":last-child"-Regel greift also nicht -> hier die Rundung explizit nachziehen statt der Box-Ecke. */
		.sortMode exp-box.subGroup > exp-header > exp-btn.sortHandle
		{
			border-top-right-radius: 999px;
			border-bottom-right-radius: 999px;
		}

		/* zuletzt verschobenes Element bleibt markiert, bis ein anderes verschoben wird ( sort_moveItem in script.js pflegt die Klasse ) */
		.sortMode exp-box.subGroup.sortActive									{ opacity: 1; background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }
		.sortMode exp-box.subGroup.sortActive > exp-header > exp-btn.sortHandle	{ color: var(--app-Icon-Accent); }

		/* gezogene Zeile : folgt dem Finger per transform ( sort_dragStart ), ohne Gleiten, ueber den Nachbarn */
		.sortMode exp-box.subGroup.sortDragging									{ opacity: 1; transition: none; z-index: 5; position: relative; background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }
		.sortMode exp-box.subGroup.sortDragging > exp-header > exp-btn.sortHandle	{ cursor: grabbing; }

		/* Umsortieren-Animation: sort_moveItem() in script.js setzt per FLIP-Trick ein Start-transform und haengt diese
		   Klasse an, damit der DOM-Sprung von insertBefore() als Gleiten zur Endposition wirkt ( transitionend entfernt sie wieder ). */
		.sortMode exp-box.subGroup.sortMoving									{ transition: var(--app-SpringPop-Transition); z-index: 1; }

		/* #plaene-box (plaene.php) sitzt zwischen .main-box und den PlanGroup-Boxen -> braucht sein eigenes .main-box-Gap, sonst kleben
		/* Toolbar / PlanGroups aneinander. */
		#plaene-box																{ display: flex; flex-direction: column; gap: 20px; }

		/* #form_planEditor wrappt Edit-Panel + Uebungs-exp-boxen ( planEditor_ExerciseList.php ) -> ohne eigenen Flex/Gap kleben die
		/* Uebungs-Zeilen aneinander, weil exp-content's gap:16px nur zwischen form/ex-actions greift, nicht innerhalb des form. */
		#form_planEditor														{ display: flex; flex-direction: column; gap: 14px; }

	/* --- 22.1d  PLÄNE-ÜBERSICHT — Equipment-Filter sperren im Sortier-Modus · Chip-Variante "Plangruppe erstellen" -------------------------------- */
	/* -- spec/plaene-uebersicht.md (2026-09-23) : reuses .ex-filterbar/-panel (§24.1, Equipment-Panel = Trennlinie wie exercisePage) + .subGroup.Exercise.add-btn (§16), nur die -------------- */
	/* -- Einzelfaelle dieser Seite stehen hier. Die Anlege-Zeile #plaene-addGroup selbst braucht KEIN eigenes CSS mehr -- sieht seit ------------ */
	/* -- User-Feedback 2026-09-23 genauso aus wie jede andere add-btn-Kachel ( "Plan erstellen" etc., §16 ), nur am Listenende statt oben. ------ */

		/* Filter waehrend des Umsortierens gesperrt ( JS setzt vorher zurueck, siehe plaene_sortToggle in page-plaene.js ) */
		.sortMode .plan-tools .ex-filterbar,
		.sortMode .plan-tools .finder-search	{ pointer-events: none; opacity: .5; }

		/* "Plan erstellen" naeher am .finder ( #plaene-box-gap 20px -> 12px ), User-Wunsch 2026-10-03 : Kopf wie vorher, nur weniger Abstand nach unten. */
		#plaene-box exp-box.subGroup.add-btn#plaene-addPlan	{ margin-top: -8px; }
		.plan-tools .finder-foot	{ margin-bottom: 0; }		/* §19.3 gibt .finder-foot 12px Luft nach unten -- als letztes Kind des .finder addiert sich das zum Box-Padding ( zu viel Luft unter dem Zaehler ) */

		/* Plan-Detail, aufgeklappte Uebung : Satz-Tabelle ( .plan-sets : eine Kopfzeile Satz | Wdh. | Gewicht, schmale Zeilen mit Trennlinie in EINER Mulde
		   statt eine Kachel je Satz ), User 2026-10-03. Muskel-Chips mit Prioritaet wurden ausprobiert und verworfen ( passten nicht zum Look ). */
		.plan-sets								{ gap: 0; padding: 2px 12px; border-radius: var(--app-Radius-Field); background: var(--app-Inset-Soft); font-variant-numeric: tabular-nums; }
		.plan-sets > .ps-head,
		.plan-sets > .ps-row					{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: center; }
		.plan-sets > .ps-head					{ padding: 8px 0 4px; font-size: 11px; color: var(--app-Font-Faint-color); }
		.plan-sets > .ps-row					{ padding: 9px 0; border-top: var(--app-BorderStyle); font-size: 13px; }
		.plan-sets > .ps-row > span:first-child	{ font-weight: 600; color: var(--app-Font-color); }
		.plan-sets > .ps-row > span:nth-child(2)	{ color: var(--app-Font-Muted-color); }
		.plan-sets > .ps-head > :last-child,
		.plan-sets > .ps-row > :last-child		{ text-align: right; }
		.plan-sets > .ps-row > b				{ color: var(--app-Font-color); font-weight: 700; }

		/* Chip "Plangruppe erstellen" in der Gruppenwahl von "Plan erstellen" ( planPage_Toolbar.php ) : gleiche Optik wie die anderen add-Symbole
		   ( Add-Farbe statt gestrichelt/gedaempft, User-Feedback 2026-09-23 ) */
		.filter-tag.add-group
		{
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 4px;
			color: var(--app-Font-Add-color);
		}
		.filter-tag.add-group > ico		{ font-size: 12px; }

		/* Start-Knopf steht vorne in der Planzeile ( planPage_Plan.php, ersetzt dort exp-col.ex-lvl ) -- als exp-btn ohne eigene
		   Randluft, User-Feedback 2026-09-23 : sass ohne margin-left zu dicht an der Kartenkante. Groesser als die uebrigen
		   Kopf-Knoepfe ( User-Feedback 2026-09-23 ), da er jetzt die primaere Aktion der Zeile ist -- #plaene-box-Praefix noetig,
		   sonst gewinnt die ≤1000px-Regel "#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn" ( Par.32, 36px ). */
		#plaene-box exp-box.subGroup.Plan > exp-header > exp-btn.start
		{
			width: 44px;
			height: 44px;
			margin-left: 4px;
			margin-right: 14px;		/* wie am Handy ( ≤1000px ) : mehr Luft zum Namen, User 2026-09-30 */
		}
		#plaene-box exp-box.subGroup.Plan > exp-header > exp-btn.start > ico	{ font-size: 17px; }		/* Dreieck im 44px-Kreis ( Par.14 : 14px im 36px-Kreis ) */
		/* sessionStart.php Pane "Aus Plan" : Start-Knopf wie beim Wiederholen-Knopf in "Aus Session" ( Standardgroesse, 6px Abstand
		   links/rechts, kein eigenes padding-left an exp-cap.name, siehe §26 ) -- User-Feedback 2026-09-25. */
		#pane-fromPlan exp-box.subGroup.Plan > exp-header > exp-btn.start	{ margin-left: 4px; margin-right: 14px; }		/* rechts mehr Luft zum Namen ( User-Feedback 2026-09-27, 2026-09-30 : 14px wie am Handy ) */
		#pane-fromPlan exp-box.subGroup.Plan > exp-header > exp-btn.start > ico	{ font-size: 14px; }		/* wie Par.14, sonst gewinnt am Handy die #pane-fromPlan-Regel ( Par.32, 19px ) */
		#pane-fromPlan exp-box.subGroup.Plan > exp-header > exp-btn.start + exp-cap.name	{ padding-left: 0px; }
		#plaene-box exp-box.subGroup.Plan > exp-header > exp-btn.start + exp-cap.name	{ padding-left: 0px; }		/* sonst 15px Namens-Luft zusaetzlich zum Knopf-Abstand : rechts groesser als links */

	/* --- 22.1e  PICKER "ÜBUNG HINZUFÜGEN" ( Plan-Editor + laufende Session ) — Equipment wie §22.1d ------------------------------------------ */
	/* -- Knopf + Panel = die Box aus §22.1d ( Selektor dort mit aufgenommen, User-Entscheidung 2026-09-27 : eine Variante fuer alle Filter mit -- */
	/* -- nur einem Knopf ). Hier nur : keine Linie der Uebungsliste direkt unter dem offenen Panel ( §19.3 border-top ). --------------------- */

		exp-box.Exercise.add-btn .finder-list	{ border-top: none; padding-right: 0; }		/* Treffer-Liste buendig so breit wie die Filterknoepfe in Summe ( die 8px rechts waren Scrollbar-Luft ; User 2026-10-03 ) */

	/* --- 22.2  PLAN EDIT PANEL ----------------------------------------------------------------------------------------------------------------- */

		.edit-panel
		{
			padding: 16px;
			display: flex;
			flex-direction: column;
			gap: 16px;
			box-sizing: border-box;
			margin-bottom: 4px;
		}
		.edit-panel .field	{ display: flex; flex-direction: column; gap: 7px; }
		.edit-panel .lbl
		{
			font-size: 11px;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Muted-color);
		}

		.edit-panel input[type=text],
		.edit-panel input[type=password],
		.edit-panel input[type=number],
		.edit-panel input[type=date]
		{
			font-size: 16px;
			padding: 11px 12px;
			border-radius: var(--app-Radius-Field);
			border: 1px solid transparent;
			background: var(--app-Inset);
			color: var(--app-Font-color);
			outline: none;
			width: 100%;
			box-sizing: border-box;
		}
		/* Kalender-Icon / Dropdown-Pfeil des Datumsfelds klebte an der Feldkante ( zuerst auf gewicht.php aufgefallen, gilt fuer jedes Formular ) */
		.edit-panel input[type=date]	{ padding-right: 20px; }
		.edit-panel input[type=date]::-webkit-calendar-picker-indicator	{ margin-left: 8px; opacity: .7; cursor: pointer; }

		.edit-panel input[type=text]:focus,
		.edit-panel input[type=password]:focus,
		.edit-panel input[type=number]:focus,
		.edit-panel input[type=date]:focus	{ box-shadow: 0 0 0 2px var(--app-Accent-Soft); }
		.edit-panel .field.invalid input	{ animation: clearFlash .5s ease 2; }	/* Pflichtfeld leer -> kurzes rotes Aufblitzen statt stillem Nichtstun */

		.filter-tags	{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
		.filter-tag
		{
			padding: 10px 14px;
			font-size: 13px;
			cursor: pointer;
			text-align: center;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
		/* hover + active = same treatment as .finder-tabs > span(.on) : gradient fill when active, accent text, 600, border kept (no transparent) */

		/* Pläne list : the .rename panel on a PlanGroup is toggle-gated (Plan-Editor keeps its plain .edit-panel always visible) */
		exp-box.mainGroup:not(.edit) .edit-panel.rename,
		exp-box.mainGroup:not(.edit) .edit-panel.groupDelete	{ display: none; }

		/* exp-content hier ist padding-top:0 (Kachel-Liste, s. mainGroup.open[planGroupID] weiter oben) -- ohne eigenen Abstand
		   klebt das Rename-Panel direkt an der Header-Trennlinie; gleicher Wert wie das .mg-toggle-panel:first-child-Rezept. */
		exp-box.mainGroup .edit-panel.rename	{ margin-top: 20px; }

		/* Aktive Plangruppe ( Zyklus, spec/plan-zyklus.md ) : Kreis-Pfeil im Kopf nur bei .cycleActive, Umschalter + Hinweis im Bearbeiten-Panel */
		exp-box.mainGroup > exp-header > exp-col.icon					{ position: relative; }
		exp-box.mainGroup > exp-header > exp-col.icon > ico.cycleBadge	/* kleines Abzeichen unten rechts am Plan-Icon, nur bei aktiver Gruppe ( ueberstimmt die Icon-Kachel §Baustein ICON-KACHEL ) */
		{
			display: none;
			position: absolute;
			right: 10px;
			bottom: -2px;
			width: 17px;
			height: 17px;
			border-radius: 50%;
			background: var(--app-Font-Valid-color);
			box-shadow: none;
			color: #fff;
			font-size: 10px;
			align-items: center;
			justify-content: center;
		}
		exp-box.mainGroup.cycleActive > exp-header > exp-col.icon > ico.cycleBadge	{ display: inline-flex; }
		#plaene-box exp-box.mainGroup > exp-header > exp-col.icon > ico:not(.cycleBadge)	{ font-size: 26px; }		/* Symbol im Plan-Icon der Gruppen groesser, Kachel bleibt 44px ( User 2026-10-03 ) */
		.cycleCard
		{
			box-sizing: border-box;
			display: flex;
			align-items: center;
			gap: 12px;
			margin-top: 0;		/* exp-content hat padding-top 0 : Karte klebt ohne Bearbeiten direkt am Kopf */
			padding: 12px 14px;
			background: var(--app-Well-Color);
			border: 1px solid transparent;
			border-radius: var(--app-Radius-Row);
			cursor: pointer;
			transition: background .18s ease, border-color .18s ease;
		}
		.cycleCard > .cycleTxt	{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.25; }
		.cycleCard > .cycleTxt > b		{ font-size: 15px; }
		.cycleCard > .cycleTxt > span	{ font-size: 12.5px; color: var(--app-Font-Muted-color); }
		.cycleCard > .cycleSwitch		/* Schalter : Spur + Knopf ( ::after ), an = Akzent-Spur, Knopf rechts */
		{
			position: relative;
			flex: 0 0 auto;
			width: 46px;
			height: 26px;
			border-radius: 13px;
			background: rgb(var(--pal-tint-rgb) / .18);
			transition: background .18s ease;
		}
		.cycleCard > .cycleSwitch::after
		{
			content: "";
			position: absolute;
			top: 3px;
			left: 3px;
			width: 20px;
			height: 20px;
			border-radius: 50%;
			background: var(--app-Font-color);
			box-shadow: 0 1px 4px rgb(0 0 0 / .35);
			transition: transform .22s cubic-bezier(.3,1.4,.5,1);
		}
		exp-box.mainGroup.edit > exp-content > .cycleCard		{ margin-top: -8px; }		/* exp-content gap 16px -> 8px zum Namens-Panel */
		exp-box.mainGroup .edit-panel.rename					{ gap: 12px; }		/* Name -> Speichern/Abbrechen naeher */
		exp-box.mainGroup .edit-panel.rename > .ex-actions		{ margin-top: 0; }
		.edit-panel.groupDelete		{ padding: 0; background: none; border: 0; box-shadow: none; }		/* nur der Loeschen-Knopf, ohne eigene Karte */
		exp-box.cycleActive .cycleCard						{ background: rgb(var(--app-Accent-rgb) / .14); border-color: var(--app-Add-Border-Color); }
		exp-box.cycleActive .cycleCard > .cycleSwitch		{ background: var(--app-Font-Valid-color); }
		exp-box.cycleActive .cycleCard > .cycleSwitch::after	{ transform: translateX(20px); background: #fff; }
		.cycleCard:active	{ transform: scale(.985); }

	/* --- 22.3  REMOVE-EXERCISE — full width, only in edit mode ------------------------------------------------------------------------------------ */

		.exercise-remove
		{
			margin-top: 14px;
			padding: 12px;
			font-size: 13px;
			cursor: pointer;
			box-sizing: border-box;
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
		}
		@media (hover: hover) and (pointer: fine) { .exercise-remove:hover									{ filter: brightness(1.12); } }
		.exercise-remove:active									{ transform: scale(.97); }
		exp-box.subGroup.Exercise:not(.edit) .exercise-remove	{ display: none; }


	/* --- 22.3b  SET EDITING — Satz löschen / Satz hinzufügen nur im Edit-Modus der Übung -------------------------------------------------------- */

		#planEditor-box .pe-mg-summary .mg-view					{ background: transparent; padding: 0; }		/* Teil des Bearbeiten-Panels, keine eigene Mulde */
		#planEditor-box .pe-mg-summary[hidden]					{ display: none; }
		#planEditor-box .pe-mg-summary:not(.bars-open) .mg-bars						{ display: none; }		/* Prozent + Namen aufklappbar, Bild immer sichtbar */
		#planEditor-box .pe-mg-summary > .mg-toggle-row								{ margin-top: 4px; cursor: pointer; }
		#planEditor-box .pe-mg-summary.bars-open > .mg-toggle-row > .chev			{ transform: rotate(180deg); }
		#planEditor-box .pe-mg-summary > .lbl					{ display: block; margin-bottom: 8px; font-size: 12px; color: var(--app-Font-Muted-color); }
		#planEditor-box exp-box.subGroup.Exercise:not(.edit) .set-box .set-content-box.right	{ display: none; }
		#planEditor-box exp-box.subGroup.Exercise:not(.edit) .set-box.add					{ display: none; }

	/* --- 22.4  EDITABLE SET ROW · [min]–[max] Reps  ·  [weight] kg  ·  [trash] ------------------------------------------------------------------- */
	/* ---     trash column = fixed (flex:0 0); the two pills share the leftover via flex-grow:.5 each.  "Reps" / "kg" labels always stay.        */

		.set-content .spacer		{ opacity: .5; padding: 0 4px; flex: 0 0 auto; }

		#planEditor-box .set-box .set-content-box.right	{ width: 60px; flex: 0 0 60px; }
		#planEditor-box .set-box .set-content-box.right > .set-content
		{
			cursor: pointer;
			background: var(--app-Btn-Danger-bg);
			box-shadow: var(--app-Btn-Danger-ring);
			--del-ico: 17px;
		}
		@media (hover: hover) and (pointer: fine) { #planEditor-box .set-box .set-content-box.right > .set-content:hover	{ filter: brightness(1.12); --del-ico: 19px; } }
		#planEditor-box .set-box .del ico									{ color: var(--app-Font-Alert-color); font-size: var(--del-ico, 17px); transition: font-size .14s ease; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 23. PAGE — ACTIVE SESSION   (activeSession.php : the live workout) --------------------------------------------------------------------- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 23.1  EXERCISE STACK ------------------------------------------------------------------------------------------------------------------ */

		.activeSession-box
		{
			display: flex;
			flex-direction: column;
			gap: 14px;
		}
		.main-box:has(> .activeSession-box)		{ padding-top: 14px; }		/* Abstand Phasen-Balken -> erste Karte = Abstand der Karten ( vorher 30 px, User 2026-09-30 ) ; "Übung hinzufügen" steht seit 2026-10-02 am Ende des Stapels, Abstand davor = gap */

		#activeSession-box .finder-list	{ margin-top: 14px; }		/* Picker "Übung hinzufügen" : mehr Luft zwischen Equipment-Knopf und Liste ( User 2026-09-28 ) */

		/* Muskelgruppen-Panel : Toggle-Zeile + .mg-view in EINEM .mg-toggle-panel, Mulde siehe §19.2 ( .mg-view kommt lazy in den Slot, session_exercise_mgview_reload ) */

	/* --- 23.2  SESSION HEADER — name + global progress readout, under .header-MenuBar --------------------------------------------------------- */

		.header-MenuBar		{ gap: 14px; padding: 0 var(--app-Gutter); }		/* gleicher Seitenrand wie .main-box : Pille links + Menue-Knopf rechts fluchten mit den Karten */

		/* Header-Box der Active Session waechst mit ihrem Inhalt : Name/Fortschritt + Trainings-Balken ( §23.5 ) liegen in .box-menu-left.session untereinander ( User 2026-09-30 ) */
		/* Nachtglas ( User 2026-10-01 ) : die ganze Header-Box ist EINE Glas-Karte im Seitenrand ( Baustein Karte ), nah an der Oberkante ( Notch-Streifen steckt schon in header { padding-top } ) ; alles darin mittig */
		.header-MenuBar.session
		{
			height: auto;
			max-height: none;
			margin: 0 var(--app-Gutter);
			padding: 14px 18px;
			background: linear-gradient(rgb(var(--app-Accent-rgb) / .16), rgb(var(--app-Accent-rgb) / .16)), var(--app-Glass-Card);		/* Akzent-Tint auf dem Glas : hebt die Box ab wie .header-ActiveSession ( Start-Rand + Start-Schatten ) */
			border-radius: var(--app-Radius-Card);
			box-shadow: var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Color), var(--app-Glass-Lip);
			-webkit-backdrop-filter: var(--app-Blur);
			backdrop-filter: var(--app-Blur);
		}

		header:has(.header-MenuBar.session)				{ padding-top: calc(var(--sai-top) + 14px); }		/* Abstand oben steckt im sticky header : bleibt beim Scrollen stehen, die Box klebt nie am Rand */
		.header-MenuBar .box-menu-left.session			{ height: auto; display: flex; flex-direction: column; padding: 0; min-width: 0; }
		.header-MenuBar.session:has(.trainingBar.warn)	{ box-shadow: inset 0 -2px 0 var(--app-Font-Editing-color), var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Color); }		/* Warn-/Rot-Kante der Pause ( Schwellen §23.5 ) am unteren Rand der Box */
		.header-MenuBar.session:has(.trainingBar.alert)	{ box-shadow: inset 0 -2px 0 var(--app-Font-Alert-color), var(--app-Start-Shadow), inset 0 0 0 1px var(--app-Start-Border-Color); }

		/* Wie die Rueckkehr-Leiste ( §ActiveSession-Bar, User 2026-10-01 ) : links Fortschrittsring ( .hero-ring, Mitte = erledigte / alle Saetze ), rechts Name / Uebung / Gesamtzeit
		   ( .home-hero-txt ) ; darunter der Trainings-Balken ( §23.5 ) mit Trennlinie. Ring-Puls wird gelb / rot wie die Pause ( Schwellen §23.5 ). */
		.header-SessionBar
		{
			flex: 0 0 auto;
			min-width: 0;
			display: flex;
			align-items: center;
			gap: 14px;
			padding: 0;
		}
		.header-SessionBar .hero-ring						{ width: 54px; height: 54px; }
		.header-SessionBar .hero-ring > div					{ width: 43px; height: 43px; }
		.header-SessionBar .hero-ring > div > b				{ font-size: 16px; }
		.header-SessionBar .home-hero-txt					{ min-width: 0; flex: 1 1 auto; }
		.header-SessionBar .line-name > b					{ display: block; font-size: 18px; color: var(--app-Font-Accent-color); overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }		/* langer Name / lange Zeilen brechen um, Innenabstand der Karte bleibt */
		.header-SessionBar .home-hero-txt > .line-exercise	{ margin-top: 3px; font-size: 17px; font-weight: 400; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
		.header-SessionBar .line-exercise b					{ font-weight: 700; }
		.header-SessionBar .line-exercise ico				{ font-size: 14px; color: var(--app-Font-Muted-color); }
		.header-SessionBar .home-hero-txt > .status			{ margin-top: 4px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }		/* Summen Ausfuehrung / Pause */
		.header-MenuBar.session:has(.trainingBar.warn) .hero-ring	{ --hero-pulse: var(--app-Font-Editing-color); }
		.header-MenuBar.session:has(.trainingBar.alert) .hero-ring	{ --hero-pulse: var(--app-Font-Alert-color); }

	/* --- 23.3  EXERCISE ROW CUES — skip button + done / current -------------------------------------------------------------------------------- */

		/* Erledigte Uebung ( alle Saetze geloggt ) : ganze Karte gruen getoent wie ein gespeicherter Satz statt Haken hinter dem Namen
		   ( User 2026-09-24 ). Toenung als oberste background-image-Schicht, darunter bleibt das Glas der Zeile ( §18 ). JS klappt sie beim
		   Erledigen zu ( session_updateProgress ). Wird darin ein Satz bearbeitet ( .editing ), ist sie nicht mehr gruen ( User 2026-09-24 ). */
		#activeSession-box exp-box.subGroup.Exercise.done:not(:has(.set-box.editing))
		{
			background-image: linear-gradient(rgb(var(--app-Save-rgb) / .14), rgb(var(--app-Save-rgb) / .14)), var(--app-Glass-Row);
			border-color: rgb(var(--app-Save-rgb) / .45);
		}
		/* Blauer Rahmen = Uebung mit dem Fokus-Satz ( dort arbeitet man gerade, auch beim Nachbearbeiten einer erledigten Uebung ), nicht mehr
		   exp-box.current ( = erste offene Uebung, steuert weiter Fortschritt + Autosprung ) -- User 2026-09-24. Schlaegt auch den gruenen
		   Rahmen einer erledigten Uebung ( hoehere Spezifitaet ). */
		#activeSession-box exp-box.subGroup.Exercise:has(.set-box.current)	{ border-color: var(--app-Current-Border-Color); }
		/* Info-Icon in der Kopfzeile ( User 2026-09-29, ersetzt den Uebung-ueberspringen-Knopf ) : blendet "Muskelgruppen" + "Ausfuehrung" ein / aus
		   ( activeSessionExercise_toggleInfo ). Aktiv = Panels sichtbar ( blau wie ein geoeffnetes Panel ). */
		exp-box.subGroup.Exercise > exp-header > exp-btn.info-btn		{ transition: var(--app-MenuItem-Transition), background 0.3s ease, color 0.3s ease; }
		/* Aktiv = exakt der Hover-Look der runden Header-Knoepfe ( Flaeche + blauer Rahmen, §14 ; wie der Edit-Knopf bei .edit ). Der Hover-Look direkt
		   nach dem Klick ist ueber .noHover ( §14, expBtn_suppressHover ) unterdrueckt. */
		exp-box.subGroup.Exercise > exp-header > exp-btn.info-btn.active,
		exp-box.subGroup.Exercise > exp-header > exp-btn.info-btn.active:hover
		{
			background: var(--app-IconBtn-Hover-bg);
			border-color: var(--app-IconBtn-Hover-bd);
			color: var(--app-Font-color);
			box-shadow: none;
		}
		/* Kompakte Uebungs-Kopfzeile ( Probe User 2026-09-30 ) : Info- + Klappknopf 30 px statt 36 px, Icon 15 px statt 19 px, Zeile 48 px statt 60 px */
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header				{ min-height: 60px; }
		#activeSession-box exp-box.subGroup.Exercise .set-box.add							{ padding-top: 20px; border-top: var(--app-BorderStyle); }		/* Trennlinie zwischen letztem Satz und den Funktionsknoepfen ( User 2026-10-02 ), 20 px = gap des .set-container */
		#activeSession-box exp-box.subGroup.Exercise .set-box.add:hover						{ cursor: default; }		/* Klickflaeche ist nur die .set-content-box ( onclick dort ), Zeiger nur dort */
		#activeSession-box exp-box.subGroup.Exercise .set-box.add > .set-content-box			{ cursor: pointer; }		/* User 2026-10-02 : wieder hoeher ( Probe 09-30 war 48 px ) */
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header > exp-btn		{ width: 30px; height: 30px; }
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header > exp-btn > ico	{ font-size: 15px; }
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header > exp-btn:last-child	{ margin-right: 10px; }		/* gleicher Randabstand wie links vom Uebungs-Icon */
		/* Uebungs-Icon statt Positionszahl ( User 2026-09-30 ) : steht immer links vom Namen, frei ohne Kachel, im Sortier-Modus bleibt es dort, kein Umschalten Zahl <-> Icon mehr */
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header > ico.sortIcon
		{
			display: inline-flex;
			margin: 0 2px 0 14px;
			font-size: 24px;
			color: var(--app-Icon-Accent);
		}
		#activeSession-box exp-box.subGroup.Exercise:not(.add-btn) > exp-header > ico.sortIcon + exp-cap.name	{ padding-left: 20px; }
		/* Aktive Uebung = die mit dem Fokus-Satz ( gleiche Bedingung wie der blaue Rahmen oben ) : ihr Icon bewegt sich leicht, damit klar ist, welche dran ist */
		#activeSession-box exp-box.subGroup.Exercise:has(.set-box.current) > exp-header > ico.sortIcon	{ animation: exerciseIconBob 1.8s ease-in-out infinite alternate; }
		/* Beide Panels stehen oben in der Karte ueber den Saetzen ( User 2026-09-29 ) und sind von Haus aus zu, bis .info-shown gesetzt ist */
		#activeSession-box exp-box:not(.info-shown) > exp-content > .mg-toggle-panel,
		#activeSession-box exp-box:not(.info-shown) > exp-content > .ex-desc-panel	{ display: none; }
		#activeSession-box exp-box.info-shown > exp-content > .ex-desc-panel	{ margin-bottom: 14px; }
		/* -- "Muskelgruppen" collapsible row, top of exp-content (replaces the old header icon — too many icons up there).      --  */
		/* -- Same open/close look as .statistik-pickbar (statistik.php) : label + a single chevron that rotates via the shared .mg-shown  --  */
		/* -- class on exp-box (toggle_mgView, script.js) -- no separate open/close glyph pair needed.                          --  */
		.mg-toggle-row
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			min-height: 36px;
			padding: 0 4px;
			font-size: 13px;
			font-weight: 600;
			color: var(--app-Font-color);		/* weiss statt Muted ( 2026-09-23, alle Seiten ) */
			cursor: pointer;
		}
		.mg-toggle-row > .chev							{ color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		exp-box.mg-shown .mg-toggle-row > .chev			{ transform: rotate(180deg); }
		exp-box.mg-shown exp-box:not(.mg-shown) .mg-toggle-row > .chev	{ transform: none; }		/* offene Plan-/Session-Ansicht dreht nicht die Chevrons der Uebungskarten darin mit */
		/* erst laden, dann aufklappen ( toggle_mgView / session_toggleMgView, appweit ) -- Kind-Kette auf das EIGENE Panel beschraenkt */
		exp-box.mg-loading > exp-content > .mg-toggle-panel > .mg-toggle-row			{ cursor: progress; }
		exp-box.mg-loading > exp-content > .mg-toggle-panel > .mg-toggle-row > .chev	{ animation: detailLoadPulse 0.8s ease-in-out infinite alternate; }

		/* -- "Ausführung" ( Uebungsbeschreibung, activeSessionExercise_toggleDesc ) : zweites Panel unter "Muskelgruppen", gleiche Optik wie dessen
		   .mg-toggle-panel, eigener Zustand .desc-shown statt des geteilten .mg-shown. Der Text ist
		   .ex-desc ( §24.3 ), hier ohne eigenen Well-Kasten, weil das Panel schon einer ist. */
		#activeSession-box .ex-desc-panel
		{
			box-sizing: border-box;
			padding: 0 12px;
			margin-bottom: 8px;
		}		/* Mulde : §19.2 ( Aufklapp-Panels ) */
		#activeSession-box exp-box.desc-shown .ex-desc-panel						{ padding-bottom: 12px; }
		#activeSession-box exp-box.mg-shown .ex-desc-row > .chev					{ transform: none; }
		#activeSession-box exp-box.desc-shown .ex-desc-row > .chev				{ transform: rotate(180deg); }
		#activeSession-box .ex-desc-panel > .ex-desc
		{
			display: none;
			padding: 4px 4px 0;
			margin: 0;
			background: transparent;
			border: 0;
		}
		#activeSession-box exp-box.desc-shown .ex-desc-panel > .ex-desc			{ display: block; }

		/* Nur Active Session ( User 2026-09-24 "kleiner machen" ) : "Muskelgruppen" + "Ausfuehrung" als flache Zeilen ( ~36px statt ~54px ),
		   damit die Saetze naeher an den Kopf ruecken. */
		#activeSession-box .mg-toggle-panel							{ padding: 0 12px; margin-bottom: 8px; }
		#activeSession-box exp-box.mg-shown > exp-content > .mg-toggle-panel	{ padding-bottom: 12px; }
		#activeSession-box .mg-toggle-row							{ min-height: 38px; padding: 0 2px; font-size: 12px; }
		#activeSession-box .mg-toggle-row > .chev					{ font-size: 11px; }

		/* Panels ( nur bei .info-shown sichtbar ) stehen ueber der Satz-Liste -- keine Trennlinie zwischen beiden */
		#activeSession-box exp-content > .set-container	{ position: relative; }

	/* --- 23.4  ACTIVE-SESSION SET ROW · [ −reps+ ]  [ −weight+ ]  [ save / edit ] ---------------------------------------------------------------- */
	/* ---     reps = ONE value; the plan's min–max target is the greyed placeholder.  right column = Save/Edit toggle + trash (clearSet).        */
	/* ---     +/- steppers (.stp) flank each input — reps ±1, weight ±2,5 (JS stepVal).                                                          */
	/* ---     Fokus-Satz (.set-box.current, JS activeSession_setFocus, 2026-09-24) : nur er zeigt Stepper + Muell, alle anderen Zeilen nur      */
	/* ---     Felder + ein Icon (offen ✓ / gespeichert ✎) -- User-Feedback "Satzzeile zu voll". Antippen einer Zeile macht sie zum Fokus-Satz.  */

		.set-box	{ position: relative; }
		.set-box.saved .set-measure	{ color: var(--app-Font-Saved-Soft-color); }

		.set-box .set-content-box.right						{ width: 52px; flex: 0 0 52px; transition: width .3s ease, flex-basis .3s ease; }
		.set-box .set-content-box.right > .set-content ico	{ font-size: 18px; }

		.set-box .set-content-box.right > .set-content		{ -webkit-tap-highlight-color: transparent; }
		.set-box .set-content-box.right > .set-content:hover	{ box-shadow: none; }	/* Rundes Icon selbst traegt jetzt Rahmen/Hover (§17) -- Container braucht keinen eigenen Transform-Hover (§17 Basis) mehr */


		.set-box.cleared > .set-content-box.left > .set-content.reps,
		.set-box.cleared > .set-content-box.left > .set-content.weight	{ animation: clearFlash .5s ease 2; }
		.set-box.cleared .set-measure									{ color: var(--app-Font-Muted-color); }

	/* ----[ +/- Stepper · active session ] --------------------------------------------------------------------------------------------- */
	/* ---     −/+ are pinned to the box edges (absolute) — the input keeps the state background, the buttons sit on top of it.          */

		.activeSession-box .set-content.reps,
		.activeSession-box .set-content.weight
		{
			position: relative;
			gap: 0;
			padding: 0;
			overflow: hidden;
		}
		.activeSession-box .set-content.reps > input,
		.activeSession-box .set-content.weight > input
		{
			flex: 1 1 0;
			width: auto;
			min-width: 0;
			padding: 0 46px;
		}

	/* ----[ Variante B ( User 2026-09-24 ) : Satznummer · Einheit im Feld · gespeichert getoent statt Vollgruen · Fusszeile nur im Fokus ] ---- */
	/* ---     Nummer = CSS-Zaehler ( stimmt nach Hinzufuegen / Entfernen ohne JS ). Einheit "Wdh" / "kg" nur in Nicht-Fokus-Zeilen : Wert     */
	/* ---     rechtsbuendig bis zur Mitte, Einheit ab der Mitte -- liest sich als "7 WDH". Fokus-Satz : Stepper statt Einheit.               */

		/* Satzzeile ( User 2026-09-29 ) : keine Satznummer mehr ( die Reihenfolge ist die Reihenfolge des Trainings, setBox_moveBeforeOpen ).
		   Zeile 1 = Wdh + Gewicht, teilen sich die ganze Breite 50 / 50, 46px hoch, Schrift 18px ( erst 56 / 22, dem User zu gross ). Zeile 2 = einzeilige
		   "zuletzt"-Leiste. Zeile 3 = drei eckige Buttons ( .set-act : Speichern / Bearbeiten, Leeren, Ueberspringen ). */
		.activeSession-box .set-container						{ gap: 22px; }
		.activeSession-box .set-box:not(.add)					{ gap: 5px; }
		/* leichte Trennlinie zwischen den Saetzen ( User 2026-09-29 ) : mittig im Zeilen-Abstand ueber jeder Zeile ausser der ersten, laeuft zu den Seiten aus */
		.activeSession-box .set-box:not(.add) ~ .set-box:not(.add)::before
		{
			content: "";
			position: absolute;
			top: -12px;
			left: 0;
			right: 0;
			height: 1px;
			background: var(--app-Divider-Fade);
			pointer-events: none;
		}
		.activeSession-box .set-box:not(.add) > .set-content-box.left
		{
			flex: 1 0 100%;		/* Basis 100 % : "zuletzt" + Buttons rutschen in eigene Zeilen */
			height: 50px;		/* Luft zwischen Beschriftung ( WDH / KG ) und Wert, s. padding-top der Eingaben unten */
			gap: 8px;
		}
		.activeSession-box .set-box:not(.add) > .set-content-box.left > .set-content	{ flex: 1 1 0; }
		.activeSession-box .set-content.reps > input,
		.activeSession-box .set-content.weight > input			{ font-size: 18px; font-weight: 600; }
		.activeSession-box .set-content > .stp					{ font-size: 20px; }
		/* Wert, Trend-Pfeil und Differenz rutschen 3px nach unten, weg von der Beschriftung ( User 2026-09-29 : "mehr Abstand zu den Input-Daten" ) ; die Stepper
		   bleiben ohne Versatz mittig im Feld ( User 2026-09-29 ).
		   padding-top als Longhand mit ID : schlaegt alle "padding: 0 Npx"-Kurzformen der Zustaende / Breakpoints. */
		#activeSession-box .set-content > input					{ padding-top: 10px; }
		#activeSession-box .set-content.reps > .set-trend,
		#activeSession-box .set-content.reps > .set-trend-shot,
		#activeSession-box .set-content > .set-delta				{ margin-top: -1px; }		/* Wert sitzt durch padding-top 10px 5px unter der Feldmitte ( vorher 6px / 3px, User 2026-09-30 ) : Pfeil + Differenz gleich weit runter */
		.activeSession-box .set-content > .stp:first-of-type		{ left: 8px; }		/* Abstand zum Feldrand ( User 2026-09-29 ) */
		.activeSession-box .set-content > .stp:last-of-type		{ right: 8px; }

		/* Einheit ( Wdh / kg ) als kleine Beschriftung oben in der Feldmitte, in JEDEM Zustand an derselben Stelle ( User 2026-09-29 : die Felder
		   sprangen beim Antippen, weil die Einheit im Fokus-Satz wegfiel und der Wert dadurch wanderte ). Der Wert steht immer mittig im ganzen Feld,
		   die Stepper liegen nur zusaetzlich ueber den Raendern. */
		.activeSession-box .set-content > .set-measure
		{
			display: block;
			position: absolute;
			top: 5px;
			left: 0;
			right: 0;
			height: auto;		/* die Basisregel .set-content > span ( height 100 %, mittig ) wuerde die Beschriftung in die Feldmitte ruecken */
			align-content: normal;
			padding: 0;
			text-align: center;
			font-size: 8.5px;
			font-weight: 600;
			line-height: 1;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Faint-color);
			pointer-events: none;		/* Tipp auf die Einheit trifft das Feld */
		}

		/* Zustaende als Rahmen / Toenung statt Vollflaeche : Fokus = blauer Rahmen, gespeichert = gruen getoent + gruener Rahmen */
		.activeSession-box .set-box.current:not(.saved) > .set-content-box.left > .set-content	{ box-shadow: var(--app-Tint-Ring), 0 0 18px -4px rgb(var(--app-Accent-rgb) / .45); }
		.activeSession-box .set-box.saved > .set-content-box.left > .set-content.reps,
		.activeSession-box .set-box.saved > .set-content-box.left > .set-content.weight
		{
			background: rgb(var(--app-Save-rgb) / .14);
			box-shadow: none;
			outline: 1px solid rgb(var(--app-Save-rgb) / .45);
			outline-offset: -1px;
		}
		/* Satz wird bearbeitet ( startEdit ) : gelber Rahmen wie ein geaendertes Feld in den Einstellungen ( select.changed ) -- gelb heisst
		   app-weit "geaendert, noch nicht gespeichert" ; der Haken bleibt gruen ( = Aktion ), User 2026-09-24. */
		.activeSession-box .set-box.editing > .set-content-box.left > .set-content.reps,
		.activeSession-box .set-box.editing > .set-content-box.left > .set-content.weight
		{
			box-shadow: var(--app-ShadowEdit);
			outline: 1px solid var(--app-Font-Editing-color);
			outline-offset: -1px;
		}
		/* Trend vs. "zuletzt" ( User 2026-10-02, Nachtglas-Nachschaerfung ) : kein Randstreifen mehr, nur der Kreis-Marker .set-trend ( unten ) bei mehr / weniger ;
		   bei "gleich" gibt es keinen Marker -- .trend-same bleibt als Klasse ( PHP + JS setBox_setTrend ), nur ohne Optik. */

		/* Trend-Marker ( User 2026-09-27, Variante T2 ; Kreis seit 2026-10-02 ) : 22px-Kreis links im Wdh-Feld, wo im Fokus-Satz der Minus-Stepper sitzt
		   ( gespeichert = keine Stepper ). Nur rauf / runter ; Glyph setzt PHP ( ICON_CHEVRON_* ) bzw. JS setBox_setTrend. Beim Speichern
		   schiessen drei .set-trend-shot hoch bzw. sinken ab ( setBox_trendShots ), .trendLand laesst Kreis + Pfeil danach gemeinsam einfedern.
		   Tint + Ring ueber die Trend-rgb-Token ( kein color-mix, iOS vor 16.2 ). */
		.activeSession-box .set-content.reps > .set-trend,
		.activeSession-box .set-content.reps > .set-trend-shot
		{
			position: absolute;
			left: 14px;		/* = Abstand oben / unten ( Feld 50px, Kreis 22px ) : der Kreis sitzt gleich weit von drei Feldraendern */
			top: 50%;
			margin-top: -6px;
			font-size: 11px;
			line-height: 12px;
			pointer-events: none;
		}
		.activeSession-box .set-content.reps > .set-trend-shot										{ left: 19px; }		/* Pfeil-Mitte = Kreis-Mitte ( 14px + 11px ) ; Pfeil ist 11px breit, der Kreis 22px */
		.activeSession-box .set-content.reps > .set-trend											{ display: none; }
		.activeSession-box .set-box.saved.trend-up   > .set-content-box.left > .set-content.reps > .set-trend,
		.activeSession-box .set-box.saved.trend-down > .set-content-box.left > .set-content.reps > .set-trend
		{
			display: flex;
			align-items: center;
			justify-content: center;
			width: 22px;
			height: 22px;
			margin-top: -11px;
			border-radius: 50%;
			font-size: 12px;
			line-height: 1;
		}
		.activeSession-box .set-box.saved.trend-up   > .set-content-box.left > .set-content.reps > .set-trend	{ color: var(--app-Font-Valid-color); background: rgb(var(--app-Trend-Up-rgb) / .22);   box-shadow: inset 0 0 0 1px rgb(var(--app-Trend-Up-rgb) / .55); }
		.activeSession-box .set-box.saved.trend-down > .set-content-box.left > .set-content.reps > .set-trend	{ color: var(--chart-down);           background: rgb(var(--app-Trend-Down-rgb) / .22); box-shadow: inset 0 0 0 1px rgb(var(--app-Trend-Down-rgb) / .55); }
		#activeSession-box .set-content.reps > .set-trend												{ margin-top: -11px; }		/* Kreis mittig im Feld ( User 2026-10-02 ) : die ID-Regel oben ( -1px, Wert-Versatz ) soll hier nicht greifen */
		#activeSession-box .set-content.reps > .set-trend-shot											{ margin-top: -6px; }		/* Pfeile fliegen in die Kreis-Mitte ( 12px hoch ) */
		.activeSession-box .set-box.trendLand.trend-up   .set-content.reps > .set-trend				{ animation: trendLand .32s cubic-bezier(.34, 1.56, .64, 1) .5s both; }
		.activeSession-box .set-box.trendLand.trend-down .set-content.reps > .set-trend				{ animation: trendLand .32s ease-out .55s both; }
		.activeSession-box .set-content.reps > .set-trend-shot.up									{ color: var(--app-Font-Valid-color); animation: trendShotUp .52s ease-out both; }
		.activeSession-box .set-content.reps > .set-trend-shot.down									{ color: var(--chart-down); animation: trendShotDown .62s ease-out both; }

		/* Differenz zu "zuletzt" ( User 2026-09-27, Variante T1 ) : kleine Zahl im geaenderten Feld zwischen Wert und Einheit, max. 22px hinter dem Wert ( setField_placeDelta ),
		   steigt bei mehr auf, sinkt bei weniger leiser ab und blendet aus. */
		.activeSession-box .set-content > .set-delta
		{
			position: absolute;
			top: 50%;
			left: 50%;				/* Ersatz -- setField_delta setzt left direkt hinter die Zahl im Feld ( User 2026-09-27 : nicht ueber WDH / KG ) */
			margin-top: -6px;
			font-size: 11px;
			font-style: normal;
			font-weight: 700;
			line-height: 1;
			font-variant-numeric: tabular-nums;
			pointer-events: none;
			opacity: 0;
		}
		.activeSession-box .set-content > .set-delta.up		{ color: var(--app-Font-Valid-color); animation: deltaUp .5s ease-out .5s both; }		/* .5 s Verzoegerung : kommt mit dem landenden Trend-Pfeil */
		.activeSession-box .set-content > .set-delta.down	{ color: var(--chart-down); animation: deltaDown .5s ease-out .5s both; }
		.activeSession-box .set-content > .set-delta.still	{ animation: none; opacity: 1; }		/* beim Laden / Rueckgaengig : steht einfach da */
		.activeSession-box .set-content > .set-delta.down.still	{ opacity: .9; }

		/* Satz gespeichert ( User 2026-09-27, Variante S2 ) : gruener Lichtstreif laeuft einmal ueber beide Felder ( Gewicht leicht versetzt ),
		   die Satznummer federt. Klasse nur fuer die Dauer der Animation ( setBox_savedFx / setBox_restore ). */
		.activeSession-box .set-box.saveSweep > .set-content-box.left > .set-content.reps		{ animation: saveSweep .7s ease-out; }
		.activeSession-box .set-box.saveSweep > .set-content-box.left > .set-content.weight	{ animation: saveSweep .7s ease-out .08s; }

		/* Leere Zeile wird entfernt ( sessionSet_delete / box_animateOut, Variante L5 ) : Felder kurz rot, dann gleitet die Zeile hinaus.
		   :not(.saved) hebt die Spezifitaet ueber den blauen Fokus-Rahmen ( .current:not(.saved) oben ). */
		.activeSession-box .set-box.removing:not(.saved) > .set-content-box.left > .set-content
		{
			background: var(--app-Danger-Background-Hover-Color);
			outline: 1px solid var(--app-Font-Alert-color);
			outline-offset: -1px;
			transition: background .15s ease, outline-color .15s ease;
		}
		.activeSession-box .set-box.saved .set-content.reps > input,
		.activeSession-box .set-box.saved .set-content.weight > input			{ color: var(--app-Font-Saved-Soft-color); font-weight: 700; }
		.activeSession-box .set-box.saved > .set-content-box > .set-content > .set-measure	{ color: var(--app-Font-Saved-color); }

		/* Fusszeile ( "zuletzt" + Ueberspringen ) steht seit 2026-09-29 auf JEDER Zeile ( Zeile 2, neben den Haken / Muell-Kreisen ) */

		/* Gespeichert : Steppers koennen eh nicht mehr bedient werden ( .stp unten, pointer-events:none ) -- komplett ausblenden statt nur
		   abdunkeln, das gewonnene Padding kommt der rechten Edit/Clear-Spalte zugute ( s. .set-content-box.right oben ). Gleiches fuer jeden
		   Satz ausser dem Fokus-Satz ( §23.4 ) -- Stepper erst nach Antippen der Zeile. */
		.activeSession-box .set-box:not(.current) .set-content > .stp		{ display: none; }
		.activeSession-box .set-box.saved .set-content.reps > input,
		.activeSession-box .set-box.saved .set-content.weight > input,
		.activeSession-box .set-box:not(.current) .set-content.reps > input,
		.activeSession-box .set-box:not(.current) .set-content.weight > input	{ padding: 0 10px; }
		/* Koerpergewichts-Uebung ohne Zusatzgewicht : gespeichertes Feld bleibt leer und zeigt den Platzhalter "BW" -- wie ein Wert lesbar, nicht gedimmt */
		.activeSession-box exp-box.bodyweight .set-box.saved .set-content.weight > input::placeholder	{ color: var(--app-Font-Accent-color); font-weight: 600; }

		.set-content > .stp
		{
			position: absolute;
			top: 0;
			bottom: 0;
			z-index: 1;
			width: 36px;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 18px;
			font-weight: 700;
			color: var(--app-Font-Accent-color);
			background: transparent;		/* gleicher Hintergrund wie das Feld darunter ( User 2026-09-24, vorher --app-Overlay-Strong-bg ) */
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
			transition: color .15s ease, background .15s ease;
		}
		.set-content > .stp:first-of-type	{ left: 0; }
		.set-content > .stp:last-of-type		{ right: 0; }
		.set-content > .stp:hover			{ color: var(--app-Font-Accent-color); }
		.set-box.saved .set-content > .stp	{ display: none; }

	/* ----[ "zuletzt" · previous-session values under each set ] ------------------------------------------------------------------- */
	/* ---     read-only recap — the plan target stays the input placeholder, this line shows what was actually logged last time.    */

		.activeSession-box .set-box						{ flex-wrap: wrap; }

		/* set-foot : Zeile 2 unter den Feldern, nur "zuletzt" ( einzeilig ) -- Aussehen siehe unten */

		/* Pille : [ ↺ ZULETZT  9 × 35 kg · 15.08.  ↗ ] -- Label klein + versal wie .session-progress-meta, Wert hervorgehoben, Datum ( nur
		   aelter als 14 Tage ) und Trend-Pfeil ( gespeicherter Satz ) in derselben Pille. Offen = antippbar ( usePrev ), gespeichert = gedimmt. */
		.set-prev
		{
			display: inline-flex;
			align-items: center;
			gap: 6px;
			height: 24px;
			padding: 0 10px 0 9px;
			border: 1px solid transparent;
			border-radius: var(--app-Radius-Pill);
			background: var(--app-Inset);
			font-size: 12px;
			font-variant-numeric: tabular-nums;
			color: var(--app-Font-color);		/* weiss von Haus aus ( User 2026-09-29 ), Hover-Akzent siehe unten */
			white-space: nowrap;
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
			transition: border-color .15s ease, color .15s ease;
		}
		.set-prev > ico					{ font-size: 10px; opacity: .7; }
		.set-prev-label					{ font-size: 9.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
		.set-prev-value					{ color: var(--app-Font-color); font-weight: 600; }
		.set-prev-value > b				{ color: var(--app-Font-color); font-weight: 700; }
		.set-prev-value > i				{ font-style: normal; opacity: .55; padding: 0 3px; }
		.set-prev-date					{ font-size: 10.5px; }
		.set-prev-date::before			{ content: "·"; padding-right: 6px; }
		.set-box:not(.saved) .set-prev:hover					{ border-color: var(--app-Font-Accent-color); color: var(--app-Font-Accent-color); }
		.set-box:not(.saved) .set-prev:hover .set-prev-value	{ color: var(--app-Font-Accent-color); }
		.set-box.saved .set-prev								{ cursor: default; opacity: .6; }

	/* ----[ Zeile 2 : "zuletzt" einzeilig · Zeile 3 : drei eckige Buttons ( User 2026-09-29 ) ]------------------------------------------------------ */
	/* ---     "zuletzt" = eine Leiste ueber die ganze Breite. Darunter gleich breite Buttons im Look der Leiste : offen Speichern | Leeren | Ueberspringen,      */
	/* ---     gespeichert Bearbeiten | Leeren, uebersprungen nur "Rueckgaengig". Leeren = wie clearSet ( Werte leeren / Zeile entfernen / zuruecksetzen ).       */

		.activeSession-box .set-foot
		{
			flex: 1 0 100%;
			box-sizing: border-box;
			min-width: 0;
			display: flex;
			height: 32px;
			overflow: hidden;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Inset);
		}
		.activeSession-box .set-foot > .set-prev
		{
			flex: 1 1 auto;
			min-width: 0;
			height: 100%;
			justify-content: center;
			border: none;
			border-radius: 0;
			background: none;
		}
		.activeSession-box .set-box.skipped .set-foot						{ display: none; }
		.activeSession-box .set-prev > ico.info-tip						{ width: 17px; height: 17px; font-size: 8.5px; opacity: 1; margin-left: 2px; }	/* ⓘ : Tipp zeigt den Hinweis ( notice_infoTap ), Zeile selbst uebernimmt */
		.activeSession-box .set-box.saved .set-prev > ico.info-tip		{ display: none; }

		.set-actions	{ flex: 1 0 100%; display: flex; gap: 6px; }
		.set-act
		{
			--btn-h: 44px;
			flex: 1 1 0;
			min-width: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 5px;
			padding: 0 6px;
			font-size: 12.5px;
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
			-webkit-tap-highlight-color: transparent;
		}		/* Farben + Form : §18 Baustein Knopf */
		.set-act > ico				{ font-size: 13px; }
		.set-skip					{ flex-grow: 1.45; }		/* "Überspringen" ist der längste Text der drei ( User 2026-09-29 ) */
		.set-act.iconClear			{ flex-grow: .95; }
		.set-act > span				{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
		.set-act.iconSave			{ --btn-bg: rgb(var(--app-Save-rgb) / .24); --btn-fg: var(--app-Font-Saved-Soft-color); --btn-shadow: inset 0 0 0 1px rgb(var(--app-Save-rgb) / .65); }		/* gruen gefuellt, Schrift fast weiss ( hell : dunkelgruen ), auch beim Bearbeiten ( User 2026-10-02, vorher nur gruener Haken ) */
		.set-act.iconEdit			{ --btn-fg: var(--app-Add-Icon-color); display: none; }		/* hellblau ( User 2026-09-29 ) */
		.set-box.saved .set-act.iconSave	{ display: none; }
		.set-box.saved .set-act.iconEdit	{ display: flex; }
		.set-box.saved .set-skip			{ display: none; }

		/* Kompakt ( User 2026-09-29 : "zu gross und bulky" ) : "zuletzt" + Buttons zeigt nur der Fokus-Satz ( antippen macht eine Zeile dazu ) und
		   uebersprungene Zeilen ( "Rueckgaengig" ) -- alle anderen bleiben einzeilig, nur die Felder */
		.activeSession-box .set-box:not(.current):not(.skipped) > .set-foot,
		.activeSession-box .set-box:not(.current):not(.skipped) > .set-actions	{ display: none; }

		/* Uebersprungen : Felder gedimmt, einziger Button = "Rueckgaengig" ueber die ganze Breite */
		.set-box.skipped > .set-content-box.left						{ opacity: .4; pointer-events: none; }
		.set-box.skipped .set-act.iconSave,
		.set-box.skipped .set-act.iconEdit,
		.set-box.skipped .set-act.iconClear								{ display: none; }

	/* --- 23.5  TRAININGS-BALKEN — Phasen-Balken in der Header-Box, unter Name + Fortschritt : Bereit / Ausfuehrung / Pause, ein Knopf je Phase ---------------- */
	/* User 2026-09-30 ( Mockup C ) : 52 px, volle Breite, laufende Zeit links, Knoepfe rechts ; vor dem ersten Satz ohne Text, nur die Knoepfe.            */

		.trainingBar
		{
			box-sizing: border-box;
			display: flex;
			align-items: center;
			gap: 10px;
			min-height: 36px;
			margin-top: 12px;
			padding-top: 12px;
			border-top: 1px solid rgb(var(--app-Accent-rgb) / .22);		/* Trennlinie zwischen Ring-Zeile und Phasen-Zeile ( Glas-Karte, §23.2 ) */
			font-variant-numeric: tabular-nums;
		}

		.trainingBar-dot
		{
			flex: 0 0 auto;
			width: 9px;
			height: 9px;
			border-radius: 50%;
			background: var(--app-Font-Faint-color);
		}
		.trainingBar-label
		{
			flex: 0 0 auto;
			font-size: 15px;
			white-space: nowrap;
			color: var(--app-Font-Muted-color);
		}
		.trainingBar-time	{ flex: 1 1 auto; min-width: 0; font-size: 19px; font-weight: 700; color: var(--app-Font-Accent-color); }

		.trainingBar.notStarted .trainingBar-time	{ display: none; }		/* -- vor dem ersten Satz : Punkt + "Bereit", keine Zeit -- */

		.trainingBar.setRunning .trainingBar-dot	{ background: var(--app-Add-Icon-color); animation: trainingDotPulse 1.2s ease-in-out infinite; }
		.trainingBar.pauseRunning .trainingBar-dot	{ background: var(--app-Font-Valid-color); }

		.trainingBar.warn .trainingBar-dot			{ background: var(--app-Font-Editing-color); }
		.trainingBar.warn .trainingBar-time			{ color: var(--app-Font-Editing-color); }
		.trainingBar.alert .trainingBar-dot			{ background: var(--app-Font-Alert-color); }
		.trainingBar.alert .trainingBar-time		{ color: var(--app-Font-Alert-color); animation: restAlertBlink 1s ease-in-out infinite; }

		.trainingBar-acts	{ flex: 0 0 auto; margin-left: auto; display: flex; gap: 6px; }

		.trainingBar-btn
		{
			box-sizing: border-box;
			display: inline-flex;
			align-items: center;
			gap: 6px;
			height: 30px;
			padding: 0 12px;
			border-radius: 10px;
			border: var(--app-BorderStyle);
			font-size: 13px;
			font-weight: 600;
			white-space: nowrap;
			color: var(--app-Font-Accent-color);
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
			transition: background .2s ease, border-color .2s ease, opacity .2s ease;
		}
		.trainingBar-btn ico	{ font-size: 13px; }

		/* Satz starten = Start-Aktion ( Tokens §3 ), Zuruecksetzen = ruhiger Rahmenknopf ; je Phase ist nur einer sichtbar */
		.trainingBar-btn.start					{ background: var(--app-BackgroundStart-Color); border-color: var(--app-Start-Border-Color); color: var(--app-Font-OnFill-color); }
		@media (hover: hover) and (pointer: fine) { .trainingBar-btn.start:hover			{ background: var(--app-BackgroundStart-Hover-Color); border-color: var(--app-Start-Border-Hover-Color); } }
		.trainingBar-btn.reset					{ background: transparent; color: var(--app-Font-Muted-color); }
		.trainingBar-btn.reset.flash			{ animation: trainingResetTint .9s ease-out; }
		.trainingBar-btn.reset.flash ico		{ animation: trainingSpin .45s ease-out; }
		.trainingBar-time.flash					{ transform-origin: left center; animation: trainingReset .4s ease-out; }		/* je Tipp neu angestossen ( training_flash ) */
		.trainingBar-btn.cooldown				{ opacity: .45; pointer-events: none; }		/* Zurücksetzen : 10 s gesperrt nach dem Tipp ( training_execStart ) */
		.trainingBar-btn.disabled				{ display: none; }

	/* --- 23.6  ABSCHLUSS-DIALOG — "Session abschliessen" mit Zeit-Aufteilung, Kennzahlen, Befinden + Anstrengung ( dialog_open variant "finish", spec/satz-zeiten.md ) - */

		.dialog-Container.finish
		{
			width: min(440px, calc(100vw - 32px));
			gap: 18px;
			overflow-y: auto;
		}
		.dialog-Container.finish .dialog-Header		{ text-align: left; font-size: 22px; }
		.dialog-Container.finish .dialog-Content
		{
			display: flex;
			flex-direction: column;
			gap: 20px;
			white-space: normal;
		}
		.dialog-Container.finish .dialog-Actions	{ margin-top: 14px; }
		.dialog-Container.finish .dialog-Btn		{ flex: 1 1 0; text-align: center; padding: 12px 14px; }		/* Farben : §18 Baustein Knopf ( "Abschliessen" = confirm, "Weiter trainieren" = cancel ) */

		/* Besser / Schlechter / Offen / Uebersprungen : vier Zahlen ohne Kacheln, nur die Zahl hat Farbe, 0 gedaempft */
		.finish-lines
		{
			display: flex;
			justify-content: space-between;
			gap: 6px;
			padding: 0 6px;
			text-align: center;
			font-size: 11.5px;
			color: var(--app-Font-Muted-color);
			font-variant-numeric: tabular-nums;
		}
		.finish-lines > div				{ flex: 1 1 0; min-width: 0; white-space: nowrap; }
		.finish-lines b					{ display: block; margin-bottom: 2px; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--app-Font-color); }
		.finish-lines .up b				{ color: var(--app-Up-fg); }
		.finish-lines .down b			{ color: var(--app-Down-fg); }
		.finish-lines .zero				{ opacity: .55; }
		.finish-lines .zero b			{ color: var(--app-Font-Faint-color); }

		/* Stufen-Reihe : neutral, nur die gewaehlte Stufe leuchtet in ihrer Farbe ( --c setzt finish_rateHtml je Knopf ) */
		.finish-ask						{ display: flex; flex-direction: column; gap: 10px; }
		.finish-ask > span				{ font-size: 15px; font-weight: 700; letter-spacing: -.005em; }
		.finish-ask > small				{ display: flex; justify-content: space-between; padding: 0 2px; font-size: 11.5px; letter-spacing: .02em; color: var(--app-Font-Faint-color); }
		.finish-rate					{ display: flex; gap: 6px; }
		.finish-rate button
		{
			flex: 1 1 0;
			min-width: 0;
			height: 46px;
			padding: 0;
			font: inherit;
			font-size: 16px;
			font-weight: 700;
			cursor: pointer;
		}		/* Optik : §18 Baustein Chip */
		@media (hover: hover) and (pointer: fine) { .finish-rate button:not(.on):hover	{ background: var(--app-Row-Hover-bg); color: var(--app-Font-color); } }
		.finish-rate button.on
		{
			background: linear-gradient(var(--app-Inset-Soft), var(--app-Inset-Soft)), var(--c, var(--accent));		/* Stufenfarbe, leicht abgedunkelt */
			box-shadow: inset 0 0 0 1.5px var(--c, var(--accent)), 0 6px 16px -8px var(--c, var(--accent));
			color: var(--app-Font-OnFill-color);
		}
		@media (hover: hover) and (pointer: fine) { .finish-rate button.on:hover	{ filter: brightness(1.1); } }
		.finish-ask.low .finish-rate button	{ --chip-radius: 11px; height: 38px; font-size: 13.5px; }		/* Anstrengung 1-10 niedriger ( User 2026-09-30 ) */

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 24. PAGE — UEBUNGEN   (exercisePage.php : the exercise library) ------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 24.1  LIST — flat stack of exercise cards + toolbar spacing ------------------------------------------------------------------------- */

		.ex-list	{ display: flex; flex-direction: column; gap: 12px; }
		.ex-list > .exercise-slot	{ content-visibility: auto; contain-intrinsic-size: auto 61px; }		/* 428 Karten : ausserhalb des Sichtfensters kein Layout/Paint ( Handy 6x gedrosselt : Voll-Layout 614 -> 22 ms ) ; 61px = zugeklappte Karte, offene merkt sich "auto" */

		/* filter bar ( Muskelgruppen / Stationen / Gewicht ) : three field-like buttons in one row, each opens its panel below
		   ( toggle_exerciseFilterPanel, only one open ) -- 15 chips would otherwise always eat toolbar space */
		.ex-filterbar		{ display: flex; gap: 8px; margin-top: 12px; }
		.finder-tabs + .ex-filterbar	{ margin-top: -4px; }		/* direkt unter den Tabs ( Uebungsseite ) : deren 10px Innenabstand + 12px war zu viel, jetzt 6px wie der Zeilenabstand der Tabs ( User 2026-09-29 ) */
		.ex-filter-btn
		{
			flex: 1 1 auto;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			min-width: 0;
			min-height: 46px;
			padding: 8px 14px;
			font-size: 13px;
			cursor: pointer;
		}		/* Farben + Form : §18 Baustein Chip */
		.ex-filter-btn > .lbl	{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
		.ex-filter-btn > .cnt												/* Zahl aktiver Tags ( exercise_setFilterCount ), 0 = hidden */
		{
			flex: 0 0 auto;
			min-width: 20px;
			padding: 1px 6px;
			border-radius: var(--app-Radius-Pill);
			background: rgb(var(--pal-tint-on-rgb) / .16);		/* Pillen-Baustein wie .ex-used-n ( §17 ), kein Vollverlauf mehr */
			box-shadow: var(--app-Pill-Ring);
			color: var(--app-Accent-Soft);
			font-size: 11px;
			font-weight: 700;
			font-variant-numeric: tabular-nums;
			text-align: center;
		}
		.ex-filter-btn > .chev			{ flex: 0 0 auto; font-size: 10px; color: var(--app-Accent-Soft); transition: transform .2s ease; }
		.ex-filter-btn.open > .chev		{ transform: rotate(180deg); }

		/* Panel unter der Leiste : KEIN eigener Rahmen/Radius mehr ( User-Feedback 2026-09-23 -- wirkte wie eine zweite, separate Box ) --
		   nur eine Trennlinie, die .finder-Box waechst optisch einfach nach unten. Chips content-sized + wrapping, aktiv = Akzent-Toenung. */
		.ex-filter-panel
		{
			display: none;
			margin-top: 12px;
			padding-top: 12px;
			border-top: var(--app-BorderStyle);
		}
		.ex-filter-panel.open				{ display: block; }
		.ex-toolbar .ex-filter-panel.open	{ padding-bottom: 12px; border-bottom: var(--app-BorderStyle); }		/* Trennlinie auch NACH der Filter-Auswahl ( vor "109 Uebungen · 109 global" ), spiegelt die obere ( User 2026-10-01 ) */
		exp-box.add-btn .ex-filter-panel.open	{ padding-bottom: 12px; border-bottom: var(--app-BorderStyle); }		/* Picker "Uebung hinzufuegen" ( Plan-Editor ) : Trennlinie auch NACH der geoeffneten Filter-Auswahl ( User 2026-10-03 ) */
		exp-box.add-btn .ex-filter-btn				{ position: relative; gap: 4px; padding-left: 4px; padding-right: 4px; }
		exp-box.add-btn .ex-filter-btn > .lbl		{ overflow: visible; text-overflow: clip; white-space: normal; text-align: center; line-height: 1.15; }		/* Label nie mit "..." kappen */
		exp-box.add-btn .ex-filter-btn > .cnt		{ position: absolute; right: -4px; top: -7px; min-width: 18px; padding: 0 5px; font-size: 10px; line-height: 16px; background: var(--app-BackgroundStart-Color); color: var(--app-Font-OnFill-color); }		/* Zahl gewaehlter Tags als Eck-Plakette oben rechts : braucht keine Breite im Knopf ( User 2026-10-03 ) */
		.ex-filter-panel > .finder-tabs		{ display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; }		/* Chips mittig ( User 2026-09-29, gilt appweit fuer jedes Filter-Panel ) */
		.ex-filter-panel > .finder-tabs > span
		{
			flex: 0 0 auto;
			min-height: 30px;
			padding: 6px 14px;
			font-size: 12.5px;
		}
		.ex-filter-reset
		{
			display: none;
			width: fit-content;
			margin: 10px auto 0;
			align-items: center;
			gap: 6px;
			font-size: 12px;
			color: var(--app-Font-Muted-color);
			cursor: pointer;
		}
		.ex-filter-panel.has-sel > .ex-filter-reset	{ display: flex; }
		.ex-toolbar .finder-foot					{ margin-bottom: 0; }		/* §19.3 gibt .finder-foot 12px Luft nach unten -- als letztes Kind der Toolbar addiert sich das zum 14px-Padding ( 26px statt 14px unten ), die Luft zur Liste liefert .finder selbst */

		/* Such-Modus ( Suche im Fokus = Tastatur oben, User 2026-10-02 ) : Tabs, Filter-Knoepfe + Panels weg, Fussleiste weg -- sonst fuellen sie die
		   ganze sichtbare Hoehe und die Treffer darunter sind nicht zu sehen. Bleibt : Suchfeld + live Zaehler ( .finder-foot ). Beim Verlassen
		   der Suche kommt alles zurueck ; aktive Filter zeigt dann wieder die Zaehler-Pille am Knopf. */
		.ex-toolbar:has(.finder-search:focus) > .finder-tabs,
		.ex-toolbar:has(.finder-search:focus) > .ex-filterbar,
		.ex-toolbar:has(.finder-search:focus) > .ex-filter-panel		{ display: none; }
		body:has(.ex-toolbar .finder-search:focus) footer				{ display: none; }

		exp-box.subGroup.Exercise.archived					{ opacity: .5; }
		exp-box.subGroup.Exercise.archived > exp-header		{ font-style: italic; }
		exp-box.subGroup.Exercise.archived.open				{ opacity: 1; }		/* offen : Loesch-Hinweis ( .ex-delete-panel ) voll lesbar, nur der Kopf bleibt gedimmt */
		exp-box.subGroup.Exercise.archived.open > exp-header	{ opacity: .6; }

		/* Gruppen-Trenner "Von dir trainiert" / "Weitere Übungen" ( exercisePage_ListBody.php, Zahl live aus apply_exerciseFilters ) -- Versal-Label
		   ( uppercase, .08em ). Gleicher Stil fuer die Anteils-Abschnitte einer offenen Gruppe ( .mg-ex-section-head, muskelgruppen.php, §27 ). */
		.ex-list > .ex-group-head,
		.mg-ex-section-head
		{
			margin-top: 6px;
			font-size: 11px;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Muted-color);
		}
		.ex-list > .ex-group-head > .n,
		.mg-ex-section-head > .n	{ color: var(--app-Font-Faint-color); }

	/* --- 24.2  HEADER LEAD — global / self-made mark + filter hit in the muscle sub-line (stage number removed 2026-09-23) ----------------- */

		/* Icon oben, darunter ggf. die "12×"-Pille -- feste Mindestbreite ( passt "999×" ), damit alle Namen buendig stehen, mit und ohne Pille.
		   .Plan ( plaene.php, seit 2026-09-23 ) teilt sich dieselbe Klasse -- dort nur das Plan-Icon, keine Pille. .MuscleGroup
		   ( muskelgruppen.php Bibliothek, §27 ) genauso -- kein Icon, nur die Pille ( SessionCount30d ). */
		exp-box.subGroup.Exercise > exp-header > exp-col.ex-lvl,
		exp-box.subGroup.Plan > exp-header > exp-col.ex-lvl,
		exp-box.subGroup.MuscleGroup > exp-header > exp-col.ex-lvl
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			gap: 3px;
			min-width: 32px;
			padding-left: 8px;
		}

		exp-col.ex-lvl > ico		{ font-size: 18px; color: var(--app-Font-Faint-color); }
		exp-col.ex-lvl > ico.global	{ color: var(--app-Global-fg); }

		/* "12×" = so oft protokolliert ( exercisePage_CardBody, SessionLogCount ) : Pille unter dem Personen-/Globus-Icon ( Optik : Baustein Pille, §18 ).
		   .mg-ex-row > .ex-used-n ( muskelgruppen.php, §27 ) : dieselbe Pille inline in der Uebungszeile einer offenen Gruppe. Statistik-Auswahl : §28a. */
		exp-col.ex-lvl > .ex-used-n,
		.mg-ex-row > .ex-used-n
		{
			min-width: 34px;
			height: 22px;
			padding: 0 9px;
			font-size: 12px;
			letter-spacing: .01em;
		}
		exp-box.subGroup.Exercise > exp-header > exp-col.ex-lvl > .ex-used-n		{ min-width: 36px; height: 20px; font-size: 11.5px; }		/* unter dem Icon etwas kleiner */
		exp-box.subGroup.Exercise > exp-header > exp-col.ex-lvl + exp-cap.name,
		exp-box.subGroup.Plan > exp-header > exp-col.ex-lvl + exp-cap.name,
		exp-box.subGroup.MuscleGroup > exp-header > exp-col.ex-lvl + exp-cap.name		{ padding-left: 12px; }		/* statt §16 15px : Name rueckt naeher ans Icon */

		/* Plan-Zeile ( plaene.php ) : gleiche Kopf-Luft wie eine Uebungskarte, kein eigenes exp-col.info mehr ( CountExercises/CountSets
		   stehen in der Unterzeile, spec/plaene-uebersicht.md ) */
		#plaene-box exp-box.subGroup.Plan > exp-header,
		#pane-fromPlan exp-box.subGroup.Plan > exp-header	{ box-sizing: border-box; padding-top: 7px; padding-bottom: 7px; }
		exp-box.subGroup.Plan.empty							{ opacity: .6; }

		/* Kopf waechst bei langer Muskel-Unterzeile ( §16 min-height 60px, height auto ), hatte aber kein Padding -- Text klebte dann am
		   oberen/unteren Rand. Padding = Luft einer normalen 60px-Karte, kurze Karten bleiben gleich hoch : Desktop Name 20px -> Inhalt 45px
		   -> 7px ; ≤1000px ( Name 14px, Inhalt 37px ) -> 10px im @media-Block §31 */
		#ex-list exp-box.subGroup.Exercise > exp-header	{ box-sizing: border-box; padding-top: 7px; padding-bottom: 7px; }

		/* ganzer Kartenkopf klappt auf ( exercisePage_CardBody onclick ) -- der Toggle-Knopf zeigt dabei schon seinen Hover-Look, damit er mitgeht ;
		   nicht aber, solange der Bearbeiten-Knopf gehovert ist ( der hat seinen eigenen Hover, zwei aktive Knoepfe wirkten wie ein Doppel-Ziel ) */
		#ex-list exp-box.subGroup.Exercise > exp-header:hover:not(:has(> exp-btn.ex-edit:hover)) > exp-btn.toggle
		{
			background: var(--app-IconBtn-Hover-bg);
			border-color: var(--app-IconBtn-Hover-bd);
			color: var(--app-IconBtn-Hover-fg);
		}
		exp-cap.name.stack > div > b.mg-hit		{ font-weight: 700; color: var(--app-Font-Accent-color); }		/* gefilterte Muskelgruppe + Anteil ( exercise_markMgLine ), weiss */

		/* staerkster Treffer der gefilterten Muskelgruppen als linker Rand ( wie .stat-drow ) -- #ex-list hebt die Spezifitaet ueber .global / :hover / .open */
		#ex-list exp-box.subGroup.Exercise.mg-s3	{ border-left: 3px solid var(--app-StageLevel3-color); }
		#ex-list exp-box.subGroup.Exercise.mg-s2	{ border-left: 3px solid var(--app-StageLevel2-color); }
		#ex-list exp-box.subGroup.Exercise.mg-s1	{ border-left: 3px solid var(--app-StageLevel1-color); }

	/* --- 24.3  VIEW STATE — description text + meta tag row -------------------------------------------------------------------------------- */

		.ex-desc
		{
			background: var(--app-Inset-Soft);
			border-radius: var(--app-Radius-Row);
			padding: 12px 16px;
			color: var(--app-Font-Muted-color);
			font-size: 13px;
			line-height: 1.55;
			margin-bottom: 12px;
		}
		.ex-desc > p		{ margin: 0; }
		.ex-desc > p + p	{ margin-top: 6px; }										/* Ausführung / Tipp / Fehler / Gerät je eine Zeile */
		.ex-desc > p > b	{ color: var(--app-Font-Soft-color); font-weight: 600; }	/* Label "Tipp:" etwas heller als der Text */

		/* deeper wells, same recipe as #planEditor-box (§22.1) / #sessions-box (§26) — Muskel-Ansicht hier statt einen Ton
		   dunkler ( Well-Editor ) auf der generischen Well-Farbe, gleicher Ton wie .ex-desc / .ex-tag auf dieser Seite. */
		/* die drei Klapp-Panels der Karte ( Ausfuehrung §24.8, Muskelgruppen hier, Statistik §24.7 ) gleich : Padding, Radius, Ring, Abstand -- auch aufgeklappt
		   ( der blaue Tint-Ring aus §16 gilt hier nicht, die anderen beiden Panels haben ihn auch nicht ) */
		#exercisePage-box exp-box.subGroup.Exercise.mg-toggle > exp-content > .mg-toggle-panel,
		#exercisePage-box exp-box.subGroup.Exercise.mg-toggle.mg-shown > exp-content > .mg-toggle-panel
		{
			padding: 2px 12px;
			margin-bottom: 10px;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Inset-Soft);
			box-shadow: inset 0 0 0 1px var(--app-Chip-bg);		/* dezent eingelassen */
		}
		#exercisePage-box exp-box.subGroup.Exercise.mg-toggle.mg-shown > exp-content > .mg-toggle-panel	{ padding-bottom: 12px; }
		#exercisePage-box exp-box.subGroup.Exercise.mg-toggle > exp-content > .mg-toggle-panel > .mg-view	{ background: transparent; }


		.ex-meta	{ display: flex; flex-wrap: wrap; gap: 8px; }
		.ex-history-panel + .ex-meta	{ margin-top: 12px; }		/* Eigenschaften-Chips stehen unter der Statistik */
		.ex-tag
		{
			display: flex;
			align-items: center;
			gap: 6px;
			padding: 7px 12px;
			border-radius: var(--app-Radius-Pill);
			background: var(--app-Chip-bg);
			box-shadow: var(--app-Glass-Chip-Lip);
			font-size: 12.5px;
			color: var(--app-Font-Muted-color);
		}
		.ex-tag > ico	{ flex: none; font-size: 13px; color: var(--app-Font-Faint-color); }
		.ex-tag-text	{ min-width: 0; }

		/* Fusszeile der Karte : Nutzung als ruhiger Text links ( kein Chip ), "Kopieren" als kleiner Knopf rechts ( Optik = §18 Knopf, nur kleiner ) */
		.ex-use			{ display: flex; align-items: stretch; margin-top: 12px; background: var(--app-Inset-Soft); box-shadow: inset 0 0 0 1px var(--app-Chip-bg); border-radius: var(--app-Radius-Row); }		/* wie die Klapp-Panels : dezent eingelassen */
		.ex-use-cell	{ flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px 8px; }
		.ex-use-cell + .ex-use-cell	{ border-left: var(--app-BorderStyle); }		/* Trennlinie zwischen den Zahlen */
		.ex-use-cell > b			{ font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--app-Font-color); }
		.ex-use-cell > span			{ font-size: 11.5px; line-height: 1.2; color: var(--app-Font-Muted-color); }

	/* --- 24.4  EDIT PANEL — reuses §22 .edit-panel ; adds a textarea + the muscle-share editor ------------------------------------------------ */

		.edit-panel textarea
		{
			font-size: 14px;
			font-family: inherit;
			line-height: 1.5;
			padding: 11px 12px;
			border-radius: var(--app-Radius-Field);
			border: 0;
			background: var(--app-Inset);
			color: var(--app-Font-color);
			outline: none;
			width: 100%;
			min-height: 240px;			/* ~12 Zeilen : Beschreibung/Ausfuehrung ohne Scrollen lesbar ( war 84px ) */
			resize: vertical;
			box-sizing: border-box;
		}
		.edit-panel textarea:focus	{ box-shadow: var(--app-Tint-Ring); }

		.mg-edit	{ display: flex; flex-direction: column; gap: 8px; }
		.mg-edit-row
		{
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto 40px;
			gap: 9px;
			align-items: center;
		}
		.mg-edit-row > span
		{
			font-size: 13px;
			color: var(--app-Font-Soft-color);
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.mg-edit-row .mg-level > button	{ font-size: 12px; }		/* Stufen-Auswahl Wenig/Mittel/Stark ( 25/50/100 ) : Optik = .seg ( Par.18 ) */
		.edit-panel .seg.ex-bodyweight, .edit-panel .seg.ex-timed	{ align-self: flex-start; }		/* Gewicht Hantel/Geraet | Koerpergewicht : Optik = .seg ( Par.18 ), nur so breit wie die zwei Knoepfe */
		.edit-panel .seg.ex-bodyweight > button, .edit-panel .seg.ex-timed > button	{ font-size: 12px; }		/* gleiche Groesse wie die Stufen-Auswahl .mg-level darunter */
		.mg-edit-row .mg-del
		{
			display: flex;
			align-items: center;
			justify-content: center;
			height: 32px;
			border-radius: var(--app-Radius-Field);
			background: var(--app-Btn-Danger-bg);
			border: 0;
			cursor: pointer;
			color: var(--app-Font-Alert-color);
			font-size: 16px;
			opacity: .65;
			transition: opacity .14s ease, background-color .14s ease;
		}
		.mg-edit-row .mg-del:hover	{ opacity: 1; background: var(--app-Danger-Background-Hover-Color); }

		.mg-edit-add		/* Optik + Hover wie die Kachel "xxx hinzufuegen" ( Par.15 subGroup: Exercise-Add-Button ) und "Satz hinzufuegen" ( Par.17 Set-Add ) */
		{
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			box-sizing: border-box;
			min-height: 36px;		/* = eine .mg-edit-row ( seit 2026-09-23, vorher 60px wie die Kachel ) */
			margin-top: 2px;
			padding: 0 14px;
			border-radius: var(--app-Border-Radius);
			border: 1px solid var(--app-Add-Border-Color);
			background: var(--app-BackgroundAdd-Color);		/* wie die Kachel */
			box-shadow: none;
			color: var(--app-Font-Add-color);
			font-size: 14px;
			font-weight: 600;
			text-align: center;
			cursor: pointer;
			transition: var(--app-Add-Transition), filter .15s ease;
		}
		.mg-edit-add > ico		{ font-size: 18px; color: var(--app-Add-Icon-color); transition: transform .15s ease; }
		.mg-edit-add:hover > ico	{ transform: scale(1.15); }
		.mg-edit-add:hover
		{
			filter: brightness(1.08);
			border-color: var(--app-Add-Border-Hover-Color);
			box-shadow: var(--app-Glow-Accent);
		}

	/* --- 24.5  GLOBAL MARKER — a global exercise is read-only: no edit / archive, shown by the globe lead icon + .ex-tag.global -------- */
		exp-box.subGroup.Exercise.global .exercise-remove	{ display: none; }
		/* ex-edit auf .global rendert exercisePage_CardBody.php gar nicht erst ( ausser EXERCISE_GLOBAL_EDITABLE + Developer-Konto ) -- darum keine CSS-Regel dafuer */

		/* Globus in der Kartenzeile schwebt leicht auf und ab ( Dauerbewegung, kein Hover-Effekt ) */
		@keyframes globalFloat	{ from { transform: translateY(-1.5px); } to { transform: translateY(1.5px); } }
		exp-col.ex-lvl > ico.global	{ display: inline-block; animation: globalFloat 2.6s ease-in-out infinite alternate; }

		.ex-tag.global			{ color: var(--app-Global-fg); border-color: var(--app-Stage3-bd); }
		.ex-tag.global > ico	{ color: inherit; }

		/* Edit-Zustand des Header-Buttons ( .edit / .ex-edit ) : gemeinsam in Par.14, gleich wie Hover */

	/* --- 24.6  ACTIONS BAR — the header only carries the load/ownership lead mark + name + toggle; ---------------------------------------- */
	/* ---       every other option (bearbeiten / speichern / verlauf …) lives in this row inside the opened card                            */

		.ex-actions
		{
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
			margin-top: 12px;
		}
		.ex-actions:first-child	{ margin-top: 0; margin-bottom: 12px; }

		.ex-act
		{
			flex: 1 1 auto;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			padding: 0 16px;
			font-size: 14.5px;
			cursor: pointer;
			white-space: nowrap;
		}		/* Farben + Form : §18 Baustein Knopf ( .primary, .add, .danger setzen nur die Knopf-Variablen ) */
		.ex-act > ico			{ font-size: 16px; color: inherit; }

		/* .add : the "Anlegen" confirm in an add-panel wears the same blue-tinted add affordance as the add-button itself */

		/* .danger : destruktive Aktion ( z.B. Plan löschen ) — gleiche Optik wie .exercise-remove */

		/* archived own exercise : warning what gets lost + "Endgültig löschen" ( delete_exercise, exercisePage_CardBody.php ) */
		/* Aufbau ( User 2026-09-29 ) : Warn-Zeichen im runden Abzeichen + zentrierter Hinweis, darunter der Loesch-Knopf in voller Breite -- wie
		   "Wiederherstellen" darueber, nur rot. Der Knopf hat kein Extra-Rahmen-Gewicht, damit die Box nicht zweimal "schreit". */
		.ex-delete-panel
		{
			display: flex;
			flex-direction: column;
			align-items: stretch;
			gap: 14px;
			padding: 16px;
			border: var(--app-Danger-Border);
			border-radius: var(--app-Radius-Field);
			background: var(--app-Danger-Background-Color);
		}
		.ex-delete-panel > p
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 10px;
			margin: 0;
			font-size: 13px;
			line-height: 1.5;
			text-align: center;
			color: var(--app-Font-Soft-color);
		}
		.ex-delete-panel > p > ico
		{
			display: flex;
			align-items: center;
			justify-content: center;
			width: 34px;
			height: 34px;
			border-radius: 50%;
			background: rgb(255 75 75 / .14);
			color: var(--app-Font-Alert-color);
			font-size: 16px;
		}
		.ex-delete-panel > .ex-actions	{ margin: 0; }
		.ex-delete-panel > .ex-actions > .ex-act.danger	{ flex: 1 1 auto; margin: 0; }

		/* "Neue Uebung anlegen" mit Vorlage ( spec/kopieren.md ) : Dropdown ( Feld + aufklappendes Panel mit Suche und Liste, im Fluss, kein Overlay ), nach der Wahl steht
		   der Name im Feld + Haekchen-Zeilen = .copy-* ( §11 ). Feld-Optik = .edit-panel input ( §22.2 ), Liste = Baustein Zeile ( §18 ). */
		/* EINE Box ( .ex-tpl-select ) : Feld oben, darunter nach einer Trennlinie das aufgeklappte Panel -- Optik = die eingelassenen Klapp-Panels der Karte
		   ( §24.8 .ex-desc-panel : Inset-Soft + Ring, Radius Row ), kein eigener Rahmen, kein blauer Ring im offenen Zustand */
		.ex-tpl-select
		{
			box-sizing: border-box;
			overflow: hidden;
			background: var(--app-Inset-Soft);
			box-shadow: inset 0 0 0 1px var(--app-Chip-bg);
			border-radius: var(--app-Radius-Row);
		}
		.ex-tpl-trigger
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			min-height: 44px;
			padding: 0 12px;
			font-size: 14px;
			font-weight: 600;
			color: var(--app-Font-Muted-color);		/* "Keine Vorlage" = Platzhalter-Ton, gewaehlter Name = voll ( .set ) */
			cursor: pointer;
		}
		.ex-tpl-select.set > .ex-tpl-trigger		{ color: var(--app-Font-color); }
		.ex-tpl-value								{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
		.ex-tpl-trigger > .chev					{ flex: none; color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		.ex-tpl-select.open > .ex-tpl-trigger > .chev	{ transform: rotate(180deg); }
		.ex-tpl-panel							{ display: none; flex-direction: column; gap: 8px; padding: 8px; border-top: var(--app-BorderStyle); }
		.ex-tpl-select.open > .ex-tpl-panel		{ display: flex; }
		.edit-panel input.ex-tpl-search[type=text]:focus	{ outline: none; box-shadow: none; }		/* kein blauer Fokusring im Dropdown-Suchfeld ( User 2026-10-03 ) */
		.ex-tpl-results							{ display: flex; flex-direction: column; gap: 4px; max-height: 232px; overflow-y: auto; overscroll-behavior: contain; }
		.ex-tpl-results:empty					{ display: none; }
		.ex-tpl-hit.on							{ background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }		/* gewaehlte Vorlage, wie .finder-item.on */
		.ex-tpl-hit, .ex-tpl-none
		{
			padding: 10px 12px;
			font-size: 13.5px;
			color: var(--app-Font-color);
		}
		.ex-tpl-hit								{ cursor: pointer; }
		.ex-tpl-none							{ color: var(--app-Font-Muted-color); }

	/* --- 24.7  VERLAUF — statistik body inline in the card (toggle_exerciseHistory, ajax exercise_history_load, spec/uebung-verlauf.md) ----- */
	/* ---       Panel = same well as the Muskelgruppen panel, last element of the card; row reuses §23.3 .mg-toggle-row, but its chevron      */
	/* ---       follows .hist-shown instead of the shared .mg-shown. Body content = §19.5 / §28 .stat-* unchanged, embed drops the title line. */

		#exercisePage-box .ex-history-panel
		{
			box-sizing: border-box;
			padding: 2px 12px;
			margin-top: 0;			/* Abstand nach oben macht margin-bottom der Panels davor ( 10px ) */
			background: var(--app-Inset-Soft);
			box-shadow: inset 0 0 0 1px var(--app-Chip-bg);
			border-radius: var(--app-Radius-Row);
		}		/* gleich wie Ausfuehrung ( §24.8 ) und Muskelgruppen ( §24 oben ) : dezent eingelassen */
		#exercisePage-box exp-box.mg-shown .ex-history-row > .chev		{ transform: none; }
		#exercisePage-box exp-box.hist-shown .ex-history-row > .chev	{ transform: rotate(180deg); }
		#exercisePage-box exp-box.hist-loading .ex-history-row			{ cursor: progress; }		/* erst laden, dann aufklappen ( toggle_exerciseHistory ) */
		#exercisePage-box exp-box.hist-loading .ex-history-row > .chev	{ animation: detailLoadPulse 0.8s ease-in-out infinite alternate; }

		/* im Panel : Session-Kaesten nur Rahmen ohne eigene Flaeche ( .stat-drow darin ist schon eingelassen ), PR-Kaesten behalten ihren Gold-Wash */
		#exercisePage-box .ex-history .stat-dbox:not(.pr)				{ background: transparent; }

		#exercisePage-box .ex-history-panel > .ex-history					{ display: none; }
		#exercisePage-box exp-box.hist-shown .ex-history-panel > .ex-history	{ display: flex; padding: 6px 0 0; }

		/* erstes Laden ( .hist-loading ) : Body schon im Layout, aber unsichtbar und ohne Hoehe -- der Chart rendert so gleich in der echten
		   Breite ; bei display:none zeichnete er auf 0 px und baute sich nach dem Aufklappen per chart_ObserveResize neu auf ( sichtbares Flackern ) */
		#exercisePage-box exp-box.hist-loading .ex-history-panel > .ex-history,
		#exercisePage-box exp-box.hist-preload .ex-history-panel > .ex-history		/* stilles Vorab-Laden beim Aufklappen der Karte ( exercise_historyPreload ) */
		{
			display: flex;
			height: 0;
			overflow: hidden;
			visibility: hidden;
		}

		/* aufgeklappt : Abstand Inhalt -> Panel-Unterkante = seitlicher Abstand ( Panel-Padding 16px, Handy 10px im @media-Block ) --
		   Verlauf : leere .stat-links-Zeile weg ( kostete Flex-Gap + margin-top ) ; Muskelgruppen-Panel : global in §16 */
		#exercisePage-box .ex-history .stat-links:empty						{ display: none; }

		/* Zeitraum-Chips + von/bis = §19.5 .stat-range / .stat-range-custom ; den Abstand macht das Body-gap ( 12px ), von/bis rueckt naeher an die Chips */
		#exercisePage-box .ex-history .ex-history-range						{ margin-top: 0; }
		#exercisePage-box .ex-history .ex-history-custom					{ margin-top: -4px; }
		#exercisePage-box exp-box.hist-shown .ex-history-panel				{ padding-bottom: 12px; }

		/* kompakte Statistik ( exercisePage_StatCompact.php, seit 2026-10-03 ) : drei Zahlen wie .ex-use ( §24 ), Mini-Balken der letzten Sessions, Knopf zur Statistik-Seite */
		#exercisePage-box .ex-stat-cells		{ display: flex; flex: none; align-items: stretch; width: 100%; }
		#exercisePage-box .ex-stat-cells .ex-use-cell	{ padding: 9px 6px; }
		#exercisePage-box .ex-stat-cells .ex-use-cell > b	{ font-size: 15px; white-space: nowrap; }
		#exercisePage-box .ex-stat-cells .ex-use-cell > span	{ white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 3px; height: 14px; }
		#exercisePage-box .ex-stat-cells .ex-use-cell > span > ico	{ font-size: 11px; line-height: 1; }		/* Icon + Text als Gruppe mittig unter der Zahl */
		#exercisePage-box .ex-stat-trend.up		{ color: var(--app-Font-Valid-color); }
		#exercisePage-box .ex-stat-trend.down	{ color: var(--app-Danger-fg); }
		#exercisePage-box .ex-stat-bars			{ display: flex; flex: none; justify-content: flex-end; align-items: flex-end; gap: 4px; height: 34px; width: 100%; margin-top: 0; }
		#exercisePage-box .ex-stat-bars > i		{ flex: 1 1 0; min-width: 0; max-width: 36px; border-radius: 3px; background: rgb(var(--pal-tint-rgb) / .22); }
		#exercisePage-box .ex-stat-bars > i.last	{ background: rgb(var(--pal-accent-400-rgb)); }
		#exercisePage-box .ex-stat-bars			{ position: relative; margin-top: 30px; }		/* oben Platz fuer die Tipp-Blase */
		#exercisePage-box .ex-stat-bars > i		{ cursor: pointer; }
		#exercisePage-box .ex-stat-bars > i.on	{ background: rgb(var(--pal-accent-400-rgb) / .55); }
		#exercisePage-box .ex-stat-bars > i.last.on	{ background: rgb(var(--pal-accent-400-rgb)); box-shadow: 0 0 0 2px rgb(var(--pal-accent-400-rgb) / .35); }
		#exercisePage-box .ex-stat-tip			{ position: absolute; bottom: calc(100% + 6px); white-space: nowrap; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--app-Font-color); background: var(--app-Inset-Soft); box-shadow: inset 0 0 0 1px var(--app-Chip-bg), 0 4px 14px rgb(0 0 0 / .35); pointer-events: none; }
		#exercisePage-box .ex-stat-tip[hidden]	{ display: none; }
		/* PR-Zelle : Gold wie die PR-Zeilen der Statistik ( .stat-dbox.pr, §19 ) */
		#exercisePage-box .ex-stat-cells .ex-use-cell.pr > b,
		#exercisePage-box .ex-stat-cells .ex-use-cell.pr > span	{ color: var(--app-Font-PR-color); }
		/* alle drei Zellen als Glas-Kacheln ( Bestwert in Gold, Letzte + Trend neutral ), ohne Trennlinien, Abstand ueber gap */
		#exercisePage-box .ex-stat-cells						{ gap: 8px; }
		#exercisePage-box .ex-stat-cells .ex-use-cell		{ border-left: 0; border-radius: var(--app-Radius-Row); background: linear-gradient(150deg, rgb(var(--pal-tint-rgb) / .10), rgb(var(--pal-tint-rgb) / .03)); box-shadow: inset 0 0 0 1px rgb(var(--pal-tint-rgb) / .18); }
		#exercisePage-box .ex-stat-cells .ex-use-cell.pr	{ background: linear-gradient(150deg, rgb(var(--app-PR-rgb) / .16), rgb(var(--app-PR-rgb) / .05)); box-shadow: inset 0 0 0 1px rgb(var(--app-PR-rgb) / .40); }
		#exercisePage-box .ex-stat-more			{ flex: none; width: 100%; height: 40px; margin-top: 0; justify-content: center; }
		#exercisePage-box .ex-stat-empty		{ width: 100%; padding: 6px 0; text-align: center; font-size: 13px; color: var(--app-Font-Muted-color); }

	/* --- 24.8  AUSFUEHRUNG — Klappzeile mit Animation + Beschreibung (exercisePage + activeSession, spec/uebungsanimation.md) ---------------- */
	/* ---       Panel = wie .mg-toggle-panel, Zustand .desc-shown ( toggle_exerciseDesc / activeSessionExercise_toggleDesc ). Slot .ex-anim     */
	/* ---       fuellt script/exercise-anim.js ( Canvas, Phasen-Leiste, Knoepfe ). Handy : Animation, darunter eigene Zeile "Beschreibung"      */
	/* ---       ( .desctext-shown ) ; Desktop ab 1000px : Animation links, Text rechts immer offen ( @media in §32 ). activeSession-Panel = §23.3 */

		#exercisePage-box .ex-desc-panel
		{
			box-sizing: border-box;
			padding: 2px 12px;
			margin-bottom: 10px;
			background: var(--app-Inset-Soft);
			box-shadow: inset 0 0 0 1px var(--app-Chip-bg);
			border-radius: var(--app-Radius-Row);
		}		/* dezent eingelassen */
		#exercisePage-box exp-box.desc-shown .ex-desc-panel			{ padding-bottom: 12px; }
		#exercisePage-box exp-box.mg-shown .ex-desc-row > .chev		{ transform: none; }
		#exercisePage-box exp-box.desc-shown .ex-desc-row > .chev		{ transform: rotate(180deg); }
		#exercisePage-box .ex-desc-panel > .ex-desc					{ display: none; padding: 4px 4px 0; margin: 0; background: transparent; border: 0; }
		#exercisePage-box exp-box.desc-shown .ex-desc-panel > .ex-desc	{ display: block; }

		/* Animation-Slot : zu = nichts, auf = Spalte aus Canvas, Leiste, Knoepfen */
		.ex-anim								{ display: none; }
		exp-box.desc-shown .ex-anim			{ display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin: 0 auto; padding: 4px 0 12px; }
		/* Platzhalter, solange die Animation noch nicht eingehaengt ist ( exercisePage : Klappzeile steht schon vor dem Aufklappen der Karte auf offen,
		   exercise_prepareExecution ) -- Canvas 4:3 + Leiste + Knoepfe, damit die Karte nicht nochmal springt, wenn exerciseAnim_mount fuellt */
		#exercisePage-box exp-box.desc-shown .ex-anim:empty		{ box-sizing: content-box; aspect-ratio: 4 / 3; padding-bottom: 86px; }
		#exercisePage-box exp-box.desc-shown .ex-anim ~ .ex-desc,
		#activeSession-box exp-box.desc-shown .ex-anim ~ .ex-desc	{ border: 0; border-radius: 0; padding-top: 4px; }

		/* Handy : Zeile "Beschreibung" unter der Animation ( mit Trennlinie ), Text erst nach Antippen ( exp-box.desctext-shown ) */
		.ex-desctext-row						{ display: none; }
		exp-box.desc-shown .ex-desctext-row
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			min-height: 36px;
			padding: 0 4px;
			border-top: var(--app-BorderStyle);
			font-size: 13px;
			font-weight: 600;
			color: var(--app-Font-color);
			cursor: pointer;
		}
		.ex-desctext-row > .chev							{ color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		exp-box.desctext-shown .ex-desctext-row > .chev		{ transform: rotate(180deg); }
		#exercisePage-box exp-box.desc-shown:not(.desctext-shown) .ex-desc-panel > .ex-desctext-row + .ex-desc,
		#activeSession-box exp-box.desc-shown:not(.desctext-shown) .ex-desc-panel > .ex-desctext-row + .ex-desc	{ display: none; }

		/* Ausführung / Tipp / Fehler / Gerät : Trennlinie zwischen den Zeilen im Panel */
		.ex-desc-panel .ex-desc > p + p					{ margin-top: 8px; padding-top: 8px; border-top: var(--app-BorderStyle); }

		.ex-anim-stage									{ position: relative; }
		.ex-anim-canvas
		{
			display: block;
			width: 100%;
			aspect-ratio: 4 / 3;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Well-Deep-Color);
			cursor: pointer;
		}

		/* nach 3 Durchlaeufen : Abspiel-Hinweis ueber dem Standbild */
		.ex-anim-replay
		{
			display: none;
			position: absolute;
			inset: 0;
			align-items: center;
			justify-content: center;
			gap: 10px;
			border-radius: var(--app-Radius-Row);
			background: rgb(var(--pal-well-rgb) / .55);
			color: var(--app-Font-color);
			font-size: 14px;
			font-weight: 600;
			cursor: pointer;
		}
		.ex-anim.ended.paused .ex-anim-replay			{ display: flex; }
		.ex-anim-replay-icon
		{
			width: 0; height: 0;
			border-style: solid;
			border-width: 9px 0 9px 15px;
			border-color: transparent transparent transparent var(--app-Font-color);
		}

		/* Phasen-Leiste : aktive Phase blau, Strich = Abspielposition */
		.ex-anim-timeline								{ position: relative; display: flex; gap: 3px; padding-top: 4px; cursor: pointer; user-select: none; touch-action: none; }
		.ex-anim-seg									{ min-width: 0; display: flex; flex-direction: column; gap: 4px; }
		.ex-anim-seg > i								{ display: block; height: 6px; border-radius: 3px; background: rgb(var(--app-Accent-rgb) / .2); }
		.ex-anim-seg > span								{ font-size: 11px; color: var(--app-Font-Muted-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
		.ex-anim-seg.on > i								{ background: var(--accent); }
		.ex-anim-seg.on > span							{ color: var(--app-Font-color); }
		.ex-anim-playhead								{ position: absolute; top: 0; left: 0; width: 2px; height: 14px; border-radius: 1px; background: var(--app-Font-color); }

		/* Knoepfe Pause / Tempo / Hilfslinien */
		.ex-anim-controls								{ display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
		.ex-anim-btn
		{
			--chip-radius: var(--app-Radius-Pill);
			padding: 6px 12px;
			font-size: 13px;
			cursor: pointer;
			user-select: none;
		}		/* Optik : Baustein Chip ( §18 ) */

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 25. PAGE — SESSION-START  (sessionStart.php : "aus Plan" / "aus letzter Session" picker, spec 4a) ------------------------------------- */
	/* ---     pure recombination of §19 finder + §15/13 tree + §17 set-container; additions: Ziel-vs-Ist-Zeilen je Satz (.set-recap =       */
	/* ---     §19.5 .stat-drow, auch sessions.php §26) + start-flash cue                                                        */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		[hidden]							{ display: none !important; }

		/* Umbau 2026-09-23 : Plan-Zeile = Kopf von plaene.php (§22.1d), Session-Zeile = Kopf von sessions.php (§26), Details = deren
		   Templates -- die Seiten-Regeln dort tragen darum #pane-fromPlan bzw. #pane-fromSession mit im Selektor. Hier steht nur,
		   was nur diese Seite hat ( Tabs im .finder, flache Session-Liste, Scope-Container ). */
		#sessionStart-box,
		#pane-fromPlan
		{
			display: flex;
			flex-direction: column;
			gap: 20px;
		}
		#pane-fromSession .sessionStart-list	{ display: flex; flex-direction: column; gap: 14px; }

		/* "Freies Training" (2026-09-27) : eigene Kachel ganz oben in JEDER Pane statt eines eigenen Tabs -- Optik ist reine
		   Wiederverwendung von .subGroup.Exercise.add-btn (§16), hier nur der Abstand je Pane-Kontext (User "weniger Abstand oben",
		   bei "Aus Session" UNTER dem Anzahl-Umschalter statt davor). */
		#pane-fromPlan > .sessionStart-free		{ margin-top: -12px; }		/* verkleinert den #pane-fromPlan-Box-Gap (20px) zum .finder */
		#pane-fromSession > .sessionStart-free	{ margin: 0 0 20px; }			/* direkt unter .home-recent-ctrl ( dessen padding-bottom 12px reicht als Abstand davor ), normaler Abstand zur Liste danach */

		/* "Freies Training starten" : Optik = Add-Kachel ( §16 ), weiche Tint-Flaeche */

		/* Anzahl-Umschalter ( .home-recent-ctrl, §21 ) direkt unter dem .finder : dessen margin-bottom 12px + Box-gap 20px + eigenes
		   Padding 10px ergaben 42px Luft nach oben ( User-Feedback 2026-09-23 "viel zu gross" ) -- negativer Rand hebt den Box-gap auf,
		   uebrig bleiben die 12px des .finder, gleicher Abstand nach unten zur Liste. */
		#pane-fromSession .home-recent-ctrl	{ margin-top: -20px; padding: 0 0 12px; }

		/* Tabs sitzen zwischen Suche und Zaehlerzeile ( dieselbe Reihenfolge wie Filter-Knopf + Zaehler auf plaene.php/sessions.php ) --
		   Tab-Unterkante + finder-foot-padding-top ergaben doppelte Luft, finder-foot-Margin s. .sessions-tools (§26). */
		.session-tools .finder-tabs	{ padding-bottom: 0; }
		.session-tools .finder-foot	{ margin-bottom: 0; }

		/* §14 flushes the first Plan-tile against the PlanGroup header (matches plaene.php's Kachel-Liste) -- on this
		   read-only Vorschau-Baum that reads as a missing gap, so give the first tile the same 16px as the gap between tiles. */
		#pane-fromPlan exp-box.mainGroup.open[planGroupID] > exp-content[style*="gap"],
		#pane-fromPlan exp-box.mainGroup.open.ungrouped > exp-content[style*="gap"]	{ padding-top: 16px; }

		/* Ajax-Zielcontainer fuer den lazy Uebungs-/Saetze-Teil (sessionStart.php : plan_ensureDetailLoaded / session_ensureDetailLoaded) --
		   display:contents haelt sie transparent im exp-content-Flow, damit das eager gerenderte .mg-view (§19.2) als echtes Geschwister-Element
		   sitzt und beim Ajax-Reload nicht mit ueberschrieben wird. .mg-view-slot ist das gleiche Prinzip fuer den ECHT lazy geladenen
		   Muskel-Aggregat-Slot auf sessions.php (session_toggleMgView, §27 ) -- steckt in .mg-toggle-panel statt direkt in exp-content,
		   display:contents haelt es dort ebenfalls transparent. */
		.plan-detail, .session-detail, .mg-view-slot	{ display: contents; }

		/* Ziel-vs-Ist je Satz ( sessionsPage_ExerciseDetail, hier im Pane "Aus Session" + sessions.php §26 ) : Zeilen im Muster der
		   Statistik-Sessionliste ( User-Feedback 2026-09-23 : erst Karte je Satz, dann Tabelle -- beides "passt stilistisch nicht" ) --
		   .stat-detail + .stat-drow aus §19.5 unveraendert : Satz N / Ziel-Unterzeile, Ist fett rechts, Delta-Pille ( .badge hit/miss )
		   faerbt den linken Rand. Uebersprungen = keine Pille, kein Rand. Nur der Abstand zum Muskelgruppen-Panel ist neu. */
		/* Muskelgruppen-Panel steht hier UNTER den Saetzen ( sonst erstes Kind ) : die §16-Luft wandert von unten nach oben */
		/* und passt sich in Hoehe / Radius / Abstand den Satz-Zeilen an ( User 2026-09-23 ) : zu 37px hoch statt 54px ( 8px Panel-Padding
		   oben/unten weg, Zeile 35px + 2px Rand = Hoehe einer einzeiligen .stat-drow ), Text auf Hoehe von "Satz N", 8px Luecke wie
		   .stat-detail. Offen greift weiter das §16-padding-bottom 16px ( hoehere Spezifitaet ) fuer die Muskel-Ansicht. */
		.set-recap + .mg-toggle-panel
		{
			margin-top: 8px;
			margin-bottom: 0;
			padding: 0 11px;
		}
		.set-recap + .mg-toggle-panel > .mg-toggle-row	{ min-height: 35px; }
		/* Zeile ohne Pille ( Plan-Detail : nur Ziel / uebersprungener Satz ) : Wert ganz nach rechts, wie §19.5 .stat-drow.pr */
		.set-recap > .stat-drow:not(:has(> .badge)) > .d-val	{ grid-column: -2; }
		.set-recap > .stat-drow:not(:has(> .d-sub))	{ row-gap: 0; }		/* einzeilig ( Plan ) : Handy-Raster hat sonst eine leere 2. Reihe + 4px Gap = zu viel Luft unten */
		.set-recap > .stat-drow		{ align-items: center; }		/* Satz-Zeilen vertikal mittig ( Baseline liess 14px-Name und 12px-Wert versetzt stehen ) */

		/* animate the read-only sets preview open/close : §16 lifts exp-content's max-height cap to  */
		/* none (which kills the §14 slide), so re-cap it here for the two preview levels of this page  */
		#pane-fromPlan exp-box.subGroup.Exercise.open > exp-content,
		#pane-fromSession exp-box.subGroup.Exercise.open > exp-content	{ max-height: 1400px; }		/* Uebung inkl. offener Muskel-Ansicht, wie §26 */

		#pane-fromPlan exp-box.subGroup.Plan.open > exp-content,
		#pane-fromSession exp-box.subGroup.Session.open > exp-content		{ max-height: 6000px; }

		exp-box.subGroup.Plan.current		{ border-color: var(--app-Tint); }
		exp-box.subGroup.startFlash			{ animation: savedCycle .45s ease 2; }
		exp-box.subGroup.live > exp-header > exp-btn ico	{ color: var(--app-Font-Accent-color); }
		exp-box.subGroup.live > exp-header > exp-btn.start ico	{ color: var(--app-Font-OnFill-color); }		/* Start-Knopf ist eine Akzent-Flaeche : Schrift immer weiss ( im Hellen war das Icon dunkel ) */
		exp-header > exp-btn.is-disabled		{ opacity: .45; pointer-events: none; }

		/* lange Plan-/Session-Namen umbrechen statt ueberlaufen */
		#pane-fromPlan exp-box.subGroup.Plan > exp-header > exp-cap.name > span,
		#pane-fromSession exp-box.subGroup.Session > exp-header > exp-cap.name > span
		{
			overflow-wrap: anywhere;
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 26. PAGE — SESSIONS-VERLAUF   (sessions.php : history list + read-only Ziel-vs-Ist detail, spec/sessions-verlauf.md) ------------------- */
	/* ---     month mainGroups (stack-Unterzeile Volumen) → Session subGroups (name+Datum/Uebungen/Saetze/Dauer stack-Unterzeile, Volumen         */
	/* ---     .count, geloggt-Pille nur bei unvollstaendig) → read-only Exercise cards; Muskelgruppen-Filter = .ex-filterbar/-panel wie            */
	/* ---     exercisePage.php (script.js toggle_filterPanel/reset_filterPanel/filterButton_setCount/parse_mgShares, gleich auf Handy+Desktop).   */
	/* ---     Per-set Ziel-vs-Ist (over / hit / miss / skipped) reuses §19.5 .stat-drow via §25 .set-recap; new here: .ex-lead rail             */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Muskelgruppen-Filter verschmilzt mit dem Knopf zu EINER Box, gleiche Optik wie .plan-tools auf plaene.php (§22.1d, User-Feedback
		   2026-09-23) -- passt hier genauso, weil auch sessions.php nur einen einzigen, volle-Breite-Filter-Knopf hat (kein Mehr-Knopf-Fall
		   wie exercisePage.php, das bleibt bei der einfachen Trennlinie aus §24.1). */
		.sessions-tools .ex-filter-panel
		{
			margin-top: 12px;
			padding: 14px 0 2px;
			border: 0;
			border-top: var(--app-BorderStyle);
			border-radius: 0;
			background: none;
		}

		/* §19.3 gibt .finder-foot ein generisches margin-bottom:12px ( Luft zum naechsten Block ) -- weil .sessions-tools als
		   letztes Kind nur die .finder-foot-Zeile hat, landet dieses Margin VOR dem eigenen padding-bottom der Box ( kein
		   Collapse durch das Padding ) und verdoppelt den Abstand nach "N Sessionen" auf 27px + das aeussere .finder-
		   margin-bottom von 12px = 39px. User-Feedback 2026-09-23 "zu viel Padding nach 266 Sessions" -- hier auf 0, die
		   Box bleibt dadurch oben/unten symmetrisch ( nur das 14px-Padding von .finder ), die 12px Luft zum Monatsblock
		   liefert weiterhin .finder selbst. */
		.sessions-tools .finder-foot	{ margin-bottom: 0; }

		/* Muskel-Ansicht + Zeit-Kopf = Mulde ( §19.2 ), Uebungskarten = Baustein Zeile ( §18 ). #pane-fromSession : sessionStart.php zeigt dasselbe Detail ( sessionsPage_ExerciseDetail, §25 ) */

		/* month list stacks on the .main-box gap like the rest of the app — nothing new on exp-box.mainGroup itself */

		/* Kopfzeile bekommt explizites, oben/unten gleiches Padding statt nur min-height ( User-Feedback 2026-09-23 ) -- so bleibt der
		   Abstand ueber der 4-zeiligen exp-cap.name.stack deterministisch symmetrisch, unabhaengig von der Zeilenhoehe. Wiederholen-
		   Knopf vorne bekommt den gleichen Abstand nach links wie der Start-Knopf auf plaene.php ( planPage_Plan.php, CSS §22.1 ). */
		#sessions-box exp-box.subGroup.Session > exp-header,
		#pane-fromSession exp-box.subGroup.Session > exp-header
		{
			box-sizing: border-box;
			padding-top: 7px;
			padding-bottom: 7px;
		}
		/* Zeit-Kopf im Detail einer Session ( sessionsPage_TimeSummary.php, spec/satz-zeiten.md ) : Kennzahlen = §19.6 */
		#sessions-box .time-summary
		{
			display: flex;
			flex-direction: column;
			gap: 14px;
			padding: 14px;
		}		/* Mulde : §19.2 */
		/* Reihenfolge im Detail : Zeit-Kopf, dann Muskelgruppen-Panel, dann die Uebungen ( User 2026-09-30 ). Das Panel steht im DOM vor dem Kopf ( kommt aus der Liste,
		   der Kopf per Ajax ) -> order:-1 zieht den Kopf davor. Luft zur Kopfzeile ( §15 .mg-toggle-panel:first-child ) wandert dann an den Kopf ; Abstand Kopf -> Panel = Panel -> Uebung ( margin-bottom 12 + gap ). */
		#sessions-box .time-summary										{ order: -1; margin-top: 20px; margin-bottom: 12px; }
		#sessions-box exp-content:has(> .session-detail > .time-summary) > .mg-toggle-panel:first-child	{ margin-top: 0; }
		/* Befinden + Anstrengung : zwei Kacheln mit Beschriftung, Wert, Einheit und Balken ( Farbe --c + Fuellung kommen als Inline-Werte aus dem Template, Skala wie finish_rateHtml ) */
		#sessions-box .time-pills		{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
		#sessions-box .time-pill
		{
			--c: var(--app-Accent-Soft);
			padding: 13px 14px 14px;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Chip-bg);
		}
		#sessions-box .time-pill-label	{ display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--app-Font-Muted-color); }
		#sessions-box .time-pill-value	{ font-size: 28px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: var(--c); }
		#sessions-box .time-pill-unit	{ margin-left: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--app-Font-Faint-color); }
		#sessions-box .time-pill-bar	{ display: block; height: 6px; margin-top: 11px; }
		#sessions-box .time-pill-bar		{ background: var(--app-Row-Hover-bg); }		/* Spur heller als der Standard-Balken : liegt auf der Pillen-Flaeche */
		#sessions-box .time-pill-bar > i	{ background: var(--c); }

		#sessions-box .time-toggle
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			padding-top: 12px;
			border-top: var(--app-BorderStyle);
			font-size: 13px;
			font-weight: 600;
			color: var(--app-Font-Soft-color);
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
		}
		#sessions-box .time-toggle ico			{ font-size: 12px; color: var(--app-Font-Faint-color); transition: transform .2s ease; }
		#sessions-box .time-summary.open .time-toggle ico	{ transform: rotate(180deg); }

		#sessions-box .time-line				{ display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
		#sessions-box .time-line[hidden]		{ display: none; }
		#sessions-box .tl-row
		{
			display: flex;
			align-items: baseline;
			padding: 7px 0 2px;
			font-size: 13px;
		}
		#sessions-box .tl-row:last-child		{ padding-bottom: 7px; }		/* letzte Zeile : gleiche Luft unten wie oben */
		/* Trennlinie leicht vor jedem Satz ( = nach dem Block "Satz + Pause danach" ), Vorlauf/Pause-Zeilen gehoeren zum Satz davor */
		#sessions-box .tl-row:not(.gap)			{ border-top: var(--app-BorderStyle); }
		#sessions-box .tl-row:first-child		{ border-top: 0; }
		#sessions-box .tl-t						{ flex: 0 0 42px; color: var(--app-Font-Faint-color); }
		#sessions-box .tl-n						{ flex: 1 1 auto; min-width: 0; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#sessions-box .tl-d						{ flex: 0 0 auto; align-self: center; font-weight: 600; color: var(--app-Font-color); }		/* Wert rechts mittig zur Zeilenhoehe, auch wenn der Text umbricht */
		#sessions-box .tl-row.gap				{ padding: 0 0 1px; font-size: 12px; }		/* Ausfuehrung / Pause : eng untereinander, gehoeren zum Satz davor */
		#sessions-box .tl-row.gap:first-child	{ padding-top: 7px; }		/* Vorlauf ( keine Zeile davor ) */		#sessions-box .tl-row:not(.gap) + .tl-row.gap	{ margin-top: 1px; }		/* Abstand Satz-Zeile -> Ausfuehrung */
		#sessions-box .tl-row.gap + .tl-row:not(.gap)	{ margin-top: 7px; }		/* Luft vor der Trennlinie des naechsten Satzes */
		#sessions-box .tl-row.gap .tl-n,
		#sessions-box .tl-row.gap .tl-d			{ color: var(--app-Font-Muted-color); font-weight: 400; }

		/* Zeit je Satz ( .d-time, nur mit withTime ) : eigene Zeile unter Satz N / Ziel ueber die ganze Breite ; grid-row auto schlaegt "> * { grid-row: 1 }" ( §19.5 ) und setzt sie in die erste freie Reihe */
		#sessions-box .set-recap > .stat-drow > .d-time	{ grid-column: 1 / -1; grid-row: auto; color: var(--app-Font-Muted-color); font-size: 12px; }

		/* Pause in der Dauerzeile ( "00:48 Std. · 27 min Pause", spec/satz-zeiten.md ) */
		#sessions-box exp-box.subGroup.Session > exp-header > exp-cap.name.stack em,
		#home-recent exp-box.subGroup > exp-header > exp-cap.name.stack em	{ font-style: normal; color: var(--app-StageLevel2-color); }		/* Pause-Angabe orange, auch auf der Startseite */

		/* Aufklapp-Knopf der Session-Zeile als schlichtes Chevron ohne Kreis ( User 2026-09-30, Mockup ) -- nur sessions.php ; ID-Selektor schlaegt Hover-/Open-/noHover-Look aus §14.
		   Die ganze Kopfzeile klappt weiter auf/zu ( script.js ), der Knopf ist nur noch Zeiger + Drehung. */
		#sessions-box exp-box.subGroup.Session > exp-header > exp-btn.toggle
		{
			width: 30px;
			height: 30px;
			margin-right: 10px;
		}		/* Kreis-Look wie alle Aufklapp-Knoepfe ( Nachtglas-Golden ), nur Groesse + Abstand sessions-eigen */
		#sessions-box exp-box.subGroup.Session > exp-header > exp-btn.toggle > ico				{ font-size: 13px; }
		#sessions-box exp-box.subGroup.Session > exp-header > exp-btn.toggle > ico.toogle:before	{ content: "\f078"; }		/* chevron-down ( wie ico[data-ic="chevron-down"] ), Drehung bei .open kommt aus §14 */

		/* User-Feedback 2026-09-23 : Rand- und Nachbar-Abstand des Wiederholen/Start-Knopfs beide auf die kleinere
		   Nachbar-Distanz ( 6px, sonst 12px Rand-Abstand ) -- sitzt enger an Kartenkante und Session-Name. */
		exp-box.subGroup.Session > exp-header > exp-btn.start	{ margin-left: 4px; margin-right: 14px; }		/* 14px Luft zum Namen wie am Handy ( User 2026-09-30 ), Startseite unten ueberschrieben */
		#home-recent exp-box.subGroup > exp-header					{ padding-top: 10px; padding-bottom: 10px; }		/* drei Textzeilen ( Name / Datum / Dauer ) in jeder Zeile : gleiche Hoehe, gleiches Padding wie sessions.php */
		#home-recent exp-box.subGroup > exp-header > exp-btn.start	{ margin-right: 6px; }		/* Startseite "Zuletzt trainiert" : naeher an den Kartenrand */
		#pane-fromSession exp-box.subGroup.Session > exp-header > exp-btn.start	{ margin-right: 14px; }		/* sessionStart.php "Aus Session" : rechts mehr Luft zum Namen ( User-Feedback 2026-09-27, 2026-09-30 : 14px ) */
		/* exp-cap.name hat von Haus aus 5px eigenes padding-left (§14) -- oben drauf auf den 6px Knopf-Abstand wirkte rechts
		   groesser als links (User-Feedback 2026-09-23). Hier auf 0 gesetzt, der Knopf-Abstand traegt allein. */
		exp-box.subGroup.Session > exp-header > exp-btn.start + exp-cap.name	{ padding-left: 0px; }

		/* Session row : Volumen readout borrows the .info column metrics, accent-tinted like a running total */
		exp-box.subGroup.Session > exp-header > exp-col.count
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			height: 100%;
			padding-right: 16px;
			font-size: 20px;
			font-variant-numeric: tabular-nums;
			color: var(--app-Font-Accent-color);
		}
		exp-box.subGroup.Session > exp-header > exp-col.count > div	{ font-size: 14px; color: var(--app-Font-Muted-color); }

		/* geloggt-Anteil : PHP rendert die Pille nur noch bei unvollstaendigen Sessions (vollstaendig faellt sie ganz weg) -- Warnfarbe
		   ist der einzige Orange-Ton der App (--app-StageLevel2-color, sonst nur als Kartenrand fuer 50%-Muskelbeteiligung, §24.2). */
		#sessions-box exp-box.subGroup.Session > exp-header > exp-cap.name > span:first-child	{ font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
		exp-box.subGroup.Session > exp-header > exp-col.info.logged	{ padding-right: 2px; }		/* Pille sitzt dicht am Nachbarn rechts ( User 2026-09-30 ; Basis von exp-col.info : 16px ) */
		exp-box.subGroup.Session > exp-header > exp-col.info.logged > b		/* Optik : §18 Baustein Pille, Warnstufe ueber die Variablen */
		{
			--pill-rgb:  var(--app-StageLevel2-rgb);
			--pill-a:    .18;
			--pill-fg:   var(--app-StageLevel2-color);
			--pill-ring: none;
			padding: 2px 8px;
		}

		/* whole-exercise status : a lead icon in front of the name + a colour rail on the header,            */
		/* same language as the per-set verdict (§25): done = Saved-green · partial = Editing-amber ·       */
		/* skipped = Faint + dashed. State lives on exp-col.ex-lead; the header picks it up via :has().       */
		exp-box.subGroup.Exercise > exp-header > exp-col.ex-lead
		{
			flex: 0 0 auto;
			justify-content: center;
			padding: 0 2px 0 12px;
			font-size: 15px;
		}
		exp-col.ex-lead.done	{ color: var(--app-Font-Saved-color); }
		exp-col.ex-lead.partial	{ color: var(--app-Font-Editing-color); }
		exp-col.ex-lead.skipped	{ color: var(--app-Font-Faint-color); }
		/* kill the §16 name indent when the lead icon already sits in front of it */
		exp-box.subGroup.Exercise > exp-header > exp-col.ex-lead + exp-cap.name	{ padding-left: 4px; }

		exp-box.subGroup.Exercise:has( exp-header > exp-col.ex-lead )			{ border-left: 2px solid var(--app-Font-Faint-color) !important; }
		exp-box.subGroup.Exercise:has( exp-header > exp-col.ex-lead.done)		{ border-left-color: var(--app-Font-Valid-color) !important; }
		exp-box.subGroup.Exercise:has( exp-header > exp-col.ex-lead.partial)	{ border-left-color: var(--app-Font-Editing-color) !important; }
		exp-box.subGroup.Exercise:has( exp-header > exp-col.ex-lead.skipped)	{ border-left-style: dashed !important; }

		exp-box.subGroup.Exercise.skipped > exp-header > exp-cap.name	{ color: var(--app-Font-Muted-color); }

		/* Ziel vs Ist per set : §25 .set-recap = §19.5 .stat-drow rows (Satz N / Ziel, Ist + .badge delta pill colours the rail). */

		/* read-only detail : the §16 uncap kills the §14 slide — re-cap it for this page's two preview levels */
		.sessions-detail exp-box.subGroup.Exercise.open > exp-content	{ max-height: 1400px; }
		.sessions-detail exp-box.subGroup.Session.open > exp-content		{ max-height: 6000px; }

		exp-box.subGroup.Session.current		{ border-color: var(--app-Tint); }

		/* empty / no-match lines reuse .finder-foot centered */
		.sessions-empty
		{
			text-align: center;
			padding: 40px 16px;
			color: var(--app-Font-Muted-color);
		}
		.sessions-empty .ex-act		{ display: inline-flex; margin-top: 14px; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 27. PAGE — MUSKELGRUPPEN   (muskelgruppen.php : Bibliothek (Filter + offene Gruppe) + Tab "Zeitraum" (Volumen), spec/muskelgruppen.md) --- */
	/* ---     read-only. Bibliothek : 15 exp-box.subGroup.MuscleGroup, offen = .mg-view.solo + .mg-ex-list (Abschnitte nach Anteil, %-desc).        */
	/* ---     Zeitraum : ein .mg-view (§19.2) mit dem Volumen-Aggregat + .mg-ex-row-Zeilen (Balken relativ zur staerksten Gruppe). Alle neuen        */
	/* ---     Bits sind Token-Kombinationen bzw. teilen sich Optik mit §24 ( .ex-group-head / .ex-used-n / .ex-lvl, dort erweitert ).                */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* solo body-map : one group at full intensity, no per-% bar list (a single group has no share of itself) */
		.mg-view.solo				{ justify-content: center; }
		.mg-view.solo .mg-bars		{ display: none; }

		/* Vernachlaessigte Gruppe ( Bibliothek ) : Unterzeile in der Warnfarbe statt Muted -- kein neuer Farbton, Token wie .ex-act.danger (§24.6). */
		exp-cap.name > div.mg-neglected	{ color: var(--app-Font-Alert-color); }

		/* Zeilenkopf der Bibliothek ( seit 2026-10-03 ) : links Mini-Vorschau der Gruppe ( .mg-thumb, img/muscleGroups/thumb/<slug>.png, erzeugt .claude/tools/mg-thumbs.py ),
		   dann Name + Unterzeile, rechts buendig die "12x"-Pille ( SessionCount30d, immer sichtbar -- User 2026-09-23 ) vor dem Pfeil. */
		exp-box.subGroup.MuscleGroup > exp-header							{ padding-top: 12px; padding-bottom: 12px; }		/* mehr Luft oben/unten ( User 2026-10-03 ) */
		exp-box.subGroup.MuscleGroup > exp-header > exp-col.ex-lvl		{ min-width: 0; padding-left: 10px; }
		.mg-thumb
		{
			display: block;
			width: 60px;
			height: 80px;
			object-fit: cover;
			border-radius: 14px;
			background: radial-gradient(120% 90% at 50% 40%, rgb(var(--pal-tint-rgb) / .10), var(--app-Well-Deep-Color) 75%);		/* sanft statt harte dunkle Kachel */
			box-shadow: var(--app-Glass-Ring), var(--app-Glass-Lip-Row);
		}
		exp-box.subGroup.MuscleGroup > exp-header > .ex-used-n
		{
			flex: none;
			margin-left: auto;
			margin-right: 6px;
			min-width: 40px;
			height: 28px;
			padding: 0 9px;
			font-size: 13px;
		}		/* Optik : §18 Baustein Pille */
		exp-box.subGroup.MuscleGroup > exp-header > exp-cap.name		{ flex: 1 1 auto; min-width: 0; }

		/* Vernachlaessigte Gruppe : roter Ring + rote Pille ( Token Danger, kein neuer Farbton ) */
		exp-box.subGroup.MuscleGroup.neglected						{ background: linear-gradient(90deg, rgb(var(--app-Danger-rgb) / .10), var(--app-Glass-Row) 70%); box-shadow: inset 0 0 0 1px rgb(var(--app-Danger-rgb) / .38); }
		exp-box.subGroup.MuscleGroup.neglected > exp-header > .ex-used-n	{ --pill-rgb: var(--app-Danger-rgb); --pill-a: .14; --pill-fg: var(--app-Danger-fg); --pill-ring: inset 0 0 0 1px rgb(var(--app-Danger-rgb) / .38); }

		/* Zaehler links, Filter-Pillen ( Alle / Vernachlaessigt ) rechts in der .finder-foot-Zeile der Bibliothek */
		.mg-foot					{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px 0; text-align: left; }
		.mg-filter					{ display: flex; gap: 6px; }
		.mg-filter > span
		{
			padding: 5px 12px;
			border-radius: var(--app-Radius-Pill);
			background: var(--app-Chip-bg);
			box-shadow: var(--app-Glass-Ring);
			font-size: 12px;
			font-weight: 700;
			color: var(--app-Font-Muted-color);
			cursor: pointer;
			white-space: nowrap;
		}
		.mg-filter > span.on		{ background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); color: var(--app-Accent-Soft); }
		.mg-filter > span.warn		{ color: var(--app-Font-Alert-color); }
		.mg-filter > span.warn.on	{ background: rgb(var(--app-Danger-rgb) / .14); box-shadow: inset 0 0 0 1px rgb(var(--app-Danger-rgb) / .38); }

		/* Abschnitts-Trenner einer offenen Gruppe ( Hauptmuskel/Mitbeteiligt/Wenig ) -- Basis-Optik in §24.1 ( .ex-group-head erweitert ).
		   "Wenig" ist zugeklappt : Klick auf die Ueberschrift dreht den Chevron und blendet die folgende .mg-ex-list ein/aus. */
		.mg-ex-section-head.collapsible			{ display: flex; align-items: center; gap: 4px; cursor: pointer; }
		.mg-ex-section-head.collapsible > .chev	{ margin-left: auto; color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		.mg-ex-section-head.collapsible.open > .chev	{ transform: rotate(180deg); }

		/* exercises that hit this group (Bibliothek, %-desc je Abschnitt) ODER Volumen je Gruppe (Zeitraum, Volumen-desc) — je eine .mg-ex-row */
		.mg-ex-list
		{
			display: flex;
			flex-direction: column;
			gap: 6px;
			margin-top: 4px;
		}
		.mg-ex-list:has(> .mg-ex-row),		/* Liste mit direkten Zeilen ( Zeitraum ) */
		.mg-ex-list:has(> .mg-ex-box)		/* Bibliothek : die aeussere Liste traegt das Raster fuer ALLE Abschnitte, damit jeder Balken gleich lang ist ( User 2026-09-25 ) */
		{
			display: grid;
			grid-template-columns: auto minmax(0, max-content) minmax(40px, 1fr) auto auto;		/* Spalten gemeinsam ( Zeilen = subgrid ) : Balken startet direkt hinter dem laengsten Namen, in allen Zeilen gleich ( User 2026-09-25 ) */
			gap: 6px 0;
		}
		/* Bibliothek : Abschnitt = Box ( Farbleiter Stufe 2 ) mit Kopf + Inhalt, darin je Untergruppe eine Box ( Stufe 3 ) mit Kopf + Zeilen ( Stufe 4 ).
		   Alle Ebenen sind subgrid des aeusseren Rasters -> Balken ueberall gleich lang. Inhalt = .mg-ex-inner ( zuklappbar, toggle_mgExSection ). */
		.mg-ex-box
		{
			grid-column: 1 / -1;
			display: grid;
			grid-template-columns: subgrid;
			align-content: start;
			gap: 12px 0;
			padding: 16px 14px 18px;
			border-radius: var(--app-Radius-Row);
			background: var(--app-Inset-Soft);
		}
		.mg-ex-box.sub				{ background: var(--app-Chip-bg); padding: 14px 12px 16px; }
		.mg-ex-inner				{ grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 10px 0; }
		.mg-ex-inner[hidden]		{ display: none; }
		.mg-ex-box > .mg-ex-section-head, .mg-ex-box > .mg-ex-subhead	{ grid-column: 1 / -1; margin-top: 0; }
		.mg-ex-box > .mg-ex-section-head	{ font-size: 13px; }		/* Desktop groesser, Handy-Block setzt eigene Werte */
		.mg-ex-box > .mg-ex-subhead		{ font-size: 12px; }		.mg-ex-subhead	{ grid-column: 1 / -1; margin-top: 4px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--app-Font-Faint-color); }		/* Unterteilung in "Von dir trainiert" / "Noch nicht trainiert" innerhalb eines Anteils-Abschnitts */
		.mg-ex-subhead > .n	{ opacity: .7; }
		.mg-ex-subhead.collapsible			{ display: flex; align-items: center; gap: 4px; cursor: pointer; }
		.mg-ex-subhead.collapsible > .chev	{ margin-left: auto; color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		.mg-ex-subhead.collapsible.open > .chev	{ transform: rotate(180deg); }
		.mg-ex-list[hidden], .mg-ex-list:has(> .mg-ex-row)[hidden]	{ display: none; }
		.mg-ex-row
		{
			display: grid;
			grid-column: 1 / -1;
			grid-template-columns: subgrid;
			column-gap: 9px;
			align-items: center;
			font-size: 14px;
			padding: 13px 14px;		/* Desktop groesser ( User 2026-09-25 ), Handy-Block ueberschreibt */
		}		/* Optik : §18 Baustein Zeile */
		.mg-ex-row.empty	{ opacity: .5; }		/* Zeitraum : Gruppe ohne Volumen im Zeitraum -- "nicht trainiert", ganz unten -- kein .tap ( nicht klickbar ), keine eigene Flaeche */
		.mg-ex-name
		{
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			color: var(--app-Font-color);
		}
		.mg-ex-row > .mg-state		{ min-width: 56px; height: 26px; padding: 0 10px; }		/* Pille breiter ( User 2026-09-25 ) : Spalte ist auto, ohne Padding war sie nur so breit wie "STARK" */
		.mg-ex-row > .ex-used-n		{ min-width: 34px; height: 22px; padding: 0 9px; font-size: 12px; line-height: 22px; }
		.mg-ex-row > b
		{
			text-align: right;
			font-variant-numeric: tabular-nums;
			color: var(--app-Font-Muted-color);
			font-weight: 600;
			white-space: nowrap;		/* "12.345 kg" darf nie in zwei Zeilen umbrechen */
		}

		.mg-ex-empty
		{
			font-size: 12px;
			color: var(--app-Font-Muted-color);
			padding: 12px 10px;
			text-align: center;
		}

		.mg-list exp-content > .ex-act	{ flex: none; height: 44px; margin-top: 12px; }		/* "In Übungen filtern" : schlanke Zeile statt grossem Kasten ( 2026-10-03 ), Abstand zur letzten Liste / "Wenig" ( User 2026-09-25 ) */

		.mg-list
		{
			box-sizing: border-box;
			display: flex;
			flex-direction: column;
			gap: 20px;
			padding: 8px;   /* top/bottom clear the exp-box hover/open shadow glow; symmetric so the list stays centered under .finder */
		}

		/* Tab "Zeitraum" : ein Koerperbild (Overlay-Stufe relativ zur staerksten Gruppe) + Volumen-Zeilen darunter, gleicher Well wie #mg-library.
		   .muscleGroup-box bleibt hier ein ECHTER Flex-Container ( statt der globalen display:contents-Regel, Par.19.2 ) -- sonst werden
		   Front-/Back-Bild und .mg-ex-list im column-Layout zu gleichrangigen Flex-Items und die order-Regeln reissen sie auseinander
		   ( Bug 2026-09-23 : Liste zuerst, dann Front-, dann Back-Bild einzeln volle Breite untereinander statt Front+Back nebeneinander ). */
		#mg-period-content .mg-view		{ flex-direction: column; }
		#mg-period-content .mg-view > *	{ transition: opacity .25s ease; }
		#pane-period.mg-loading .mg-view > *	{ opacity: 0; }		/* erst Bilder laden, dann einblenden ( mgPeriod_reload ) -- Chips + Mulde bleiben sichtbar ( die Mulde selbst faedet nicht mit : sonst erst dunkel, dann heller ) */
		#mg-period-content .muscleGroup-box	{ display: flex; align-items: center; justify-content: center; gap: 24px; }
		/* Legende zum Koerperbild ( Tab Zeitraum ) : Farbe = Stufe s1-s3 relativ zur staerksten Gruppe, Farben = gemessen am gerenderten Koerperbild ( die Overlay-Bilder wirken dort satter als ihr Mittelwert ) */
		.mg-legend					{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--app-Font-Muted-color); }
		.mg-legend > span			{ display: inline-flex; align-items: center; gap: 6px; }
		.mg-legend > span::before	{ content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
		.mg-legend > .s1			{ --dot: rgb(226 196 40); }
		.mg-legend > .s2			{ --dot: rgb(214 104 24); }
		.mg-legend > .s3			{ --dot: rgb(206 28 28); }
		.mg-legend > em			{ flex-basis: 100%; text-align: center; font-style: normal; font-size: 11px; color: var(--app-Font-Faint-color); }
		.mg-period-list		{ display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 12px; }

		/* Zeitraum-Zeile : links Name ( fett ) + Volumen darunter, rechts die Prozent-Pille ueber beide Zeilen, Stufen-Streifen am linken Rand ( s1 / s2 / s3 an der Zeile, kein Balken seit 2026-09-24 ) */
		.mg-ex-row.period
		{
			position: relative;
			grid-template-columns: minmax(0, 1fr) 62px;
			column-gap: 12px;
			min-width: 0;
			padding: 13px 14px 13px 20px;
			overflow: hidden;
		}
		.mg-ex-row.period::before
		{
			content: "";
			position: absolute;
			left: 7px;
			top: 14px;
			bottom: 14px;
			width: 3px;
			border-radius: 3px;
			background: var(--app-Tint);
		}
		.mg-ex-row.period.s2::before	{ background: var(--app-Accent-Soft); opacity: .55; }
		.mg-ex-row.period.s3::before	{ background: linear-gradient(180deg, var(--app-Accent-Soft), var(--accent)); box-shadow: 0 0 10px -1px var(--app-Accent-Soft); }
		.mg-ex-text						{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
		.mg-ex-row.period .mg-ex-name	{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
		.mg-ex-text > .mg-bar			{ margin-top: 1px; }		/* Desktop : Balken = Anteil am Gesamtvolumen ( wie die Pille ) unter Name + Volumen */
		.mg-ex-text > b					{ font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--app-Font-Faint-color); }
		.mg-ex-row.period > .mg-state	{ min-width: 0; height: 34px; padding: 0; font-size: 14px; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 28. PAGE — STATISTIK   (statistik.php : Usability-Umbau 2026-09-13, .stat-* wird in Phase 4.8 zu .stat-*) ------------------------------- */
	/* ---     Hilfsklassen der Statistik-Einbettung ( statistikEmbed, Uebung-Verlauf ) und der V1-Seitenhuelle ; die Seite statistik.php selbst steht in §28a.   */
	/* ---     Body .stat-body : Titelzeile .stat-title → KPI .stat-row → .stat-sect "Verlauf" + §19.4 .chart-panel (.chart-box +        */
	/* ---     .chart-legend, Optik wie gewicht.php) → .stat-sect + Details.                                                                          */
	/* ---     Leerzustand .stat-empty ersetzt KPI/Chart/Detail-Dreifachmeldung. KPI-/Detail-/Balken-Klassen kommen unverändert aus §19.5.          */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Übungs-Liste : Trenner zwischen "trainiert" (zuletzt zuerst) und "noch nie trainiert" (alphabetisch, gedämpft) */
		.finder-sep
		{
			grid-column: 1 / -1;
			padding: 8px 2px 0;
			font-size: 11px;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Faint-color);
		}
		.finder-item.untrained > b			{ color: var(--app-Font-Muted-color); font-weight: 500; }
		.finder-item.untrained.on > b		{ color: inherit; font-weight: 600; }

		/* Übungs-Item (trainiert) : Zähler links, rechts 2 Zeilen -- Name (umbrechend) / Muskel ... zuletzt trainiert (rechtsbündig) */
		.finder-item.ex-item				{ flex-direction: row; align-items: center; gap: 10px; }
		.finder-item.ex-item > .ex-lines
		{
			display: flex;
			flex-direction: column;
			gap: 2px;
			min-width: 0;
			flex: 1 1 auto;
		}
		.finder-item.ex-item > .ex-lines > b	{ font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
		.finder-item.ex-item .mg
		{
			display: flex;
			align-items: baseline;
			justify-content: space-between;
			gap: 8px;
		}
		.finder-item.ex-item .ex-mg
		{
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			min-width: 0;
		}
		.finder-item.ex-item .ex-last			{ flex: 0 0 auto; white-space: nowrap; }

		/* Zeitraum : eine Chip-Zeile (umbrechend; am Handy seitlich scrollbar, §32 ≤1000) — 40px Tipp-Höhe */
		.stat-range
		{
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
			margin-top: 12px;
		}
		.stat-range > .filter-tag
		{
			flex: 1 1 auto;
			display: flex;
			align-items: center;
			justify-content: center;
			min-height: 40px;
			padding: 6px 12px;
			box-sizing: border-box;
			text-align: center;
		}

		/* Body : Ajax-Container; .loading dämpft alten Inhalt bis die Antwort da ist */
		.stat-body
		{
			display: flex;
			flex-direction: column;
			gap: 12px;
			min-width: 0;
			transition: opacity .15s ease;
		}
		.stat-body.loading			{ opacity: .45; pointer-events: none; }

		/* Titelzeile : was wird gerade angezeigt (Subjekt groß, Ebene · Zeitraum klein) */
		.stat-title
		{
			display: flex;
			flex-wrap: wrap;
			align-items: baseline;
			gap: 4px 10px;
			padding: 0 4px;
		}
		.stat-title > b
		{
			font-size: 20px;
			font-weight: 700;
			color: var(--app-Font-color);
			overflow-wrap: anywhere;
		}
		.stat-title > span			{ font-size: 12px; color: var(--app-Font-Muted-color); }

		/* Abschnitts-Überschrift "Verlauf" / "Übungen im Plan" + Meta rechts */
		.stat-sect
		{
			display: flex;
			align-items: baseline;
			justify-content: space-between;
			gap: 10px;
			margin-top: 8px;
			padding: 0 4px;
		}
		.stat-sect > b		{ font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
		.stat-sect > span
		{
			font-size: 11px;
			font-weight: 600;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Muted-color);
		}
		.stat-sect > i
		{
			font-style: normal;
			font-size: 11px;
			color: var(--app-Font-Faint-color);
			text-align: right;
		}

		/* Blaetter-Leiste Tab Training ( 20 Sessions je Ansicht ) : runder Pfeil links = aeltere, rechts = neuere */
		.stat-pager
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
			margin-top: 8px;
			padding: 6px;
			background: var(--app-Glass-Row);
			box-shadow: var(--app-Glass-Lip-Row);
			border-radius: var(--app-Radius-Pill);
		}
		.stat-pager[hidden]		{ display: none; }
		.stat-pager > span		{ font-size: 13px; font-weight: 600; color: var(--app-Font-Muted-color); text-align: center; }
		.stat-pager-btn
		{
			flex: 0 0 auto;
			width: 36px;
			height: 36px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 50%;
			background: var(--app-IconBtn-bg);
			color: var(--app-Icon-Accent);
			font-size: 14px;
		}
		.stat-pager-btn.off		{ opacity: .3; pointer-events: none; }
		@media (hover: hover) and (pointer: fine) { .stat-pager-btn:hover	{ background: var(--app-IconBtn-Hover-bg); } }

		/* Leerzustand : EINE Karte mit Icon, Text und optional Button "Zeitraum : Alle" */
		.stat-empty
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 12px;
			padding: 32px 20px;
			text-align: center;
			color: var(--app-Font-Muted-color);
		}
		.stat-empty > ico			{ font-size: 28px; color: var(--app-Font-Faint-color); }
		.stat-empty > p				{ margin: 0; font-size: 14px; line-height: 1.5; }
		.stat-empty .ex-act			{ flex: 0 0 auto; display: inline-flex; }

		/* KPI-Kachel mit Richtung ( Plan-Trend ) : Glas mit Richtungs-Tint ; Stufe t1 .. t5 = Staerke des Tints ( --ta ), nach Betrag der Prozent :
		   t1 bis 3 % · t2 bis 8 % · t3 bis 15 % · t4 bis 30 % · t5 darueber. Nur die Kachel wird gestuft, Pillen + Zeilen-Raender bleiben einfarbig. */
		.stat.up						{ --trend-rgb: var(--app-Trend-Up-rgb);   --trend-fg: var(--app-Trend-Up-fg); }
		.stat.down						{ --trend-rgb: var(--app-Trend-Down-rgb); --trend-fg: var(--app-Trend-Down-fg); }
		.stat.up,
		.stat.down
		{
			--ta: .14;
			background: linear-gradient(150deg, rgb(var(--trend-rgb) / var(--ta)), rgb(var(--trend-rgb) / .04));
			box-shadow: inset 0 0 0 1px rgb(var(--trend-rgb) / .34), inset 0 1px 0 rgb(var(--trend-rgb) / .22);
		}
		.stat.t1						{ --ta: .11; }
		.stat.t2						{ --ta: .16; }
		.stat.t3						{ --ta: .21; }
		.stat.t4						{ --ta: .27; }
		.stat.t5						{ --ta: .34; }
		.stat.up > b,
		.stat.down > b					{ color: var(--trend-fg); }
		.stat.up > span,
		.stat.down > span				{ color: var(--trend-fg); }
		.stat-brow > ico.chev		{ flex: 0 0 auto; font-size: 11px; color: var(--app-Font-Faint-color); }
		.stat-body .stat-links		{ margin-top: 4px; }

	/* --- 28a. PAGE — STATISTIK V2   (statistik.php : neue Seite neben statistik.php, spec/statistik-v2.md) ------------------------------------- */
	/* ---     Alles unter #statistik-page. Wiederverwendet : Zeitraum-Chips = §19.5 .stat-range (wie gewicht.php), Auswahl = §19.3 .finder, Kennzahlen  */
	/* ---     = §19.5 .stat, Chart = §19.4 .chart-panel + .chart-legend, Abschnittskoepfe = §28 .stat-sect (<b> wie gewicht), Umschalter = §18 .seg,      */
	/* ---     Veraenderung = §18 .badge, Zaehler-Pille = §24 .ex-used-n, Monats-Ueberschrift = §31 .gw-month-Optik. Eigen : Zeilen-Karte .statistik-row,      */
	/* ---     Record-Kacheln .statistik-pr, Kopfzeile .statistik-pickbar. Handy-/PC-Regeln in §32 (≤1000 / ≥1000).                                              */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		#statistik-page							{ display: flex; flex-direction: column; gap: 18px; }
		#statistik-page .statistik-rangebar				{ margin-top: 0; }		/* Chips + von/bis wie gewicht.php ; den Abstand macht das Seiten-gap */
		#statistik-page > .stat-range-custom		{ margin-top: -8px; }
		#statistik-page .statistik-layout				{ display: flex; flex-direction: column; gap: 20px; }
		#statistik-page .statistik-pick					{ min-width: 0; }
		#statistik-page .statistik-pick .finder			{ margin-bottom: 0; }
		#statistik-page .statistik-pick .finder-tabs	{ grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 10px; }
		#statistik-page .statistik-pick .finder-tabs > span:nth-child(3)	{ grid-column: 1 / -1; }		/* dritter Tab ( Session ) ueber die ganze Breite */
		#statistik-page .statistik-subject .finder-search	{ margin-top: 4px; }
		#statistik-page .statistik-subject .finder-list	{ margin-top: 10px; --fi-h: 58px; }		/* feste Zeilenhoehe : Handy zeigt genau 4 Eintraege ganz ( §32 ), nichts wird angeschnitten */
		#statistik-page .statistik-list .finder-item	{ min-height: var(--fi-h); box-sizing: border-box; }		/* Mindesthoehe statt fester Hoehe : gleiches Padding ( 9px 12px ), waechst mit dem Inhalt */
		#statistik-page .statistik-list .finder-item > b,
		#statistik-page .statistik-list .finder-item.ex-item > .ex-lines > b	{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

		/* Kopfzeile ( nur Handy, §32 ) : Name gross, darunter "Uebung · Zeitraum", rechts der Aufklapp-Chevron */
		#statistik-page .statistik-pickbar
		{
			display: none;
			align-items: center;
			gap: 10px;
			min-height: 48px;
			padding: 10px 14px;
			box-sizing: border-box;
			border: var(--app-BorderStyle);
		}
		#statistik-page .statistik-pickbar-text			{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
		#statistik-page .statistik-pickbar-text > b		{ font-size: 18px; font-weight: 700; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#statistik-page .statistik-pickbar-text > span	{ font-size: 12px; color: var(--app-Font-Muted-color); }
		#statistik-page .statistik-pickbar > .chev		{ flex: 0 0 auto; color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		#statistik-page.pick-open .statistik-pickbar > .chev	{ transform: rotate(180deg); }

		/* Liste : "Noch nie trainiert (N)" ist ein zugeklappter Block ; Suche ( .searching ) zeigt Treffer daraus trotzdem */
		#statistik-page .finder-sep > .info-tip				{ margin-left: 0; margin-right: 4px; }		/* ⓘ vor "Von dir trainiert" erklaert die Zahl links in der Liste */
		#statistik-page .statistik-untrained-toggle				{ display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding-bottom: 2px; }
		#statistik-page .statistik-untrained-toggle > .chev		{ font-size: 11px; transition: transform .2s ease; }
		#statistik-page .statistik-list.untrained-open .statistik-untrained-toggle > .chev	{ transform: rotate(180deg); }
		#statistik-page .statistik-list:not(.untrained-open):not(.searching) > .finder-item.untrained	{ display: none; }
		#statistik-page .statistik-list					{ align-content: start; grid-auto-rows: max-content; }		/* Zeilen nach Inhalt : mit fester Listenhoehe ( PC ) stauchte das Grid sonst jede Zeile auf die Mindesthoehe */		/* nichts trainiert : "Noch nie trainiert" steht ganz oben, nicht in der Hoehe der Liste zentriert */
		#statistik-page .finder-item.ex-item > .ex-used-n		{ flex: 0 0 auto; min-width: 40px; height: 28px; padding: 0 9px; font-size: 13px; }		/* Optik : Baustein Pille ; 0× = .zero dort */
		#statistik-page .finder-item.ex-item.on > .ex-used-n	{ --pill-a: .24; --pill-fg: var(--app-Font-Accent-color); }		/* gewaehlte Zeile : Pille heller, Zahl weiss */

		/* Body : Ajax-Container ; .loading daempft den alten Inhalt bis die Antwort da ist */
		#statistik-page .statistik-body					{ display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: opacity .15s ease; }
		#statistik-page .statistik-body.loading			{ opacity: .45; pointer-events: none; }
		#statistik-page .statistik-title				{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0 4px; }
		#statistik-page .statistik-title > b			{ font-size: 20px; font-weight: 700; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#statistik-page .statistik-title > span			{ font-size: 12px; color: var(--app-Font-Muted-color); }
		#statistik-page .statistik-body .stat-sect		{ margin-top: 12px; }
		#statistik-page .stat-sect > b			{ flex: 0 0 auto; white-space: nowrap; }		/* Titel + ⓘ bleiben zusammen, nur die Meta rechts darf umbrechen */
		#statistik-page .stat-sect > span			{ min-width: 0; text-align: right; white-space: nowrap; }

		#statistik-page .stat-sect .chart-note		{ font-size: 9px; letter-spacing: .04em; }		/* "Datenanzeige pro Monat" ( chart_RenderVolume ) kleiner als die Sessions-Anzahl */
		#statistik-page .statistik-chart-tools			{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 12px; }		/* Metrik-Umschalter links, Schnell-Zeitraum rechts */
		#statistik-page .statistik-chart-tools > .statistik-quick	{ margin-left: auto; }
		#statistik-page .chart-legend				{ padding-left: 0; padding-right: 0; }
		#statistik-page .seg					{ padding: 2px; }		/* Umschalter kleiner als der Standard ( §18 ) : Volumen / Top-Gewicht / Wdh, 10 / 20 / Alle */
		#statistik-page .seg > button			{ min-width: 26px; padding: 4px 9px; font-size: 12px; white-space: nowrap; }
		#statistik-page .statistik-body .stat-links		{ margin-top: 4px; }

		/* Kennzahlen : ein Raster, Handy 2 × 2 ( §32 : PC 4 in einer Reihe ), Zusatzwerte laufen im selben Raster weiter */
		#statistik-page .statistik-kpis					{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
		#statistik-page .statistik-kpis > .stat			{ flex: none; }
		#statistik-page .statistik-kpis > .stat.small > b	{ font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }		/* Top-Uebung : einzeilig mit Kuerzung */

		/* Umschalter ( Verlauf : Volumen / Top-Gewicht / Wdh · Sessions : 10 / 20 / Alle ) : Optik = §18 .seg, hier nur Platzierung */
		#statistik-page .statistik-metric				{ display: flex; justify-content: flex-end; margin-top: 6px; }
		#statistik-page .chart-legend i.dot.min	{ background: var(--chart-min); box-shadow: none; }

		/* Personal Records : zwei Gold-Glas-Kacheln ( Gold = --app-PR-rgb ), Wert gross, Datum als Pille ( Baustein Pille, +D ) */
		#statistik-page .statistik-prs					{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
		#statistik-page .statistik-prs > .statistik-pr:only-child	{ grid-column: 1 / -1; }		/* faellt beides auf eine Session : eine breite Kachel */
		#statistik-page .statistik-pr
		{
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: space-between;
			gap: 14px;
			min-width: 0;
			padding: 14px 14px 12px;
			border-radius: var(--app-Radius-Card);
			background:
				radial-gradient(circle 70px at 100% 0, rgb(var(--app-PR-rgb) / .30), transparent 68%),
				linear-gradient(150deg, rgb(var(--app-PR-rgb) / .20) 0%, rgb(var(--app-PR-rgb) / .06) 55%, rgb(var(--app-PR-rgb) / .03) 100%);
			box-shadow: inset 0 0 0 1px rgb(var(--app-PR-rgb) / .28), inset 0 1px 0 rgb(var(--app-PR-rgb) / .30), 0 12px 26px -16px rgb(var(--app-PR-rgb) / .55);
			color: var(--app-Font-PR-color);
		}
		#statistik-page .statistik-pr-main				{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }		/* Zeile 1 : Marker, Zeile 2 : Wert ; das Datum steht darunter als Pille */
		#statistik-page .statistik-pr-tag				{ font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
		#statistik-page .statistik-pr-main > b			{ font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; color: var(--app-Font-Accent-color); text-shadow: 0 0 18px rgb(var(--app-PR-rgb) / .5); }
		#statistik-page .statistik-pr-date
		{
			--pill-rgb:  var(--app-PR-rgb);
			--pill-a:    .14;
			--pill-fg:   var(--app-Font-PR-color);
			--pill-ring: inset 0 0 0 1px rgb(var(--app-PR-rgb) / .28);
			padding: 4px 10px;
			font-size: 11.5px;
			font-weight: 600;
		}

		/* Listenzeilen ( Sessions, Uebungen einer Gruppe ) : eine Karte Stufe 5 wie sessions.php, Kennzahlen als Wert + Beschriftung, Trend-Rand links */
		#statistik-page .statistik-list-rows			{ display: flex; flex-direction: column; gap: 8px; }
		#statistik-page .statistik-row
		{
			display: flex;
			align-items: center;
			gap: 12px;
			min-width: 0;
			padding: 12px 14px;
			border-left: 2px solid var(--app-Font-color);
		}		/* Karten-Optik : §18 Baustein Zeile ; 2px Schiene links = Trend */
		#statistik-page .statistik-row.tap:hover		{ background: var(--app-Row-Hover-bg); }		/* .tap:hover ( §18 ) verliert gegen die ID-Regel oben */
		/* staerkste Uebung einer Muskelgruppe : wie ein PR markiert ( Gold-Glas wie die PR-Kacheln + Gold-Schrift ) */
		#statistik-page .statistik-row.best
		{
			padding: 14px 14px 12px;
			border-left: 0;
			border-radius: var(--app-Radius-Card);
			background:
				radial-gradient(circle 70px at 100% 0, rgb(var(--app-PR-rgb) / .30), transparent 68%),
				linear-gradient(150deg, rgb(var(--app-PR-rgb) / .20) 0%, rgb(var(--app-PR-rgb) / .06) 55%, rgb(var(--app-PR-rgb) / .03) 100%);
			box-shadow: inset 0 0 0 1px rgb(var(--app-PR-rgb) / .28), inset 0 1px 0 rgb(var(--app-PR-rgb) / .30), 0 12px 26px -16px rgb(var(--app-PR-rgb) / .55);
			color: var(--app-Font-PR-color);
		}		/* identisch zu .statistik-pr */
		#statistik-page .statistik-row.best.tap:hover		{ background: radial-gradient(circle 70px at 100% 0, rgb(var(--app-PR-rgb) / .38), transparent 68%), linear-gradient(150deg, rgb(var(--app-PR-rgb) / .26) 0%, rgb(var(--app-PR-rgb) / .09) 55%, rgb(var(--app-PR-rgb) / .05) 100%); }		/* .statistik-row.tap:hover waere sonst grau : Gold bleibt, nur etwas heller */
		#statistik-page .statistik-row.best .statistik-row-val > b,
		#statistik-page .statistik-row.best .statistik-row-val > i,
		#statistik-page .statistik-row.best .statistik-best			{ color: var(--app-Font-PR-color); }
		#statistik-page .statistik-row.best .statistik-best			{ font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }		/* Marker wie .statistik-pr-tag */
		#statistik-page .statistik-row.best .statistik-row-main > b	{ font-size: 20px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--app-Font-Accent-color); text-shadow: 0 0 18px rgb(var(--app-PR-rgb) / .5); }		/* Name wie .statistik-pr-main > b */
		#statistik-page .statistik-row.up				{ border-left-color: var(--app-Font-Valid-color); }
		#statistik-page .statistik-row.down				{ border-left-color: var(--chart-down); }
		#statistik-page .statistik-row.flat				{ border-left-color: var(--app-Trend-Same-fg); }
		/* Top-Uebung : eigenes Raster -- Marker + Name je eine volle Zeile ( Name einzeilig, sonst … ), darunter links das Volumen, rechts der Trend */
		#statistik-page .statistik-row.best				{ display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "val badge"; gap: 8px 12px; align-items: center; position: relative; }
		#statistik-page .statistik-row.best .statistik-row-main	{ grid-area: main; padding-right: 20px; gap: 7px; }		/* mehr Luft zwischen Marker und Name */
		#statistik-page .statistik-row.best .statistik-row-main > b	{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; padding: 14px 20px; margin: -14px -20px; }		/* Luft fuer den Glow : overflow hidden schneidet den text-shadow sonst als Viereck ab ; Margin gleicht aus, Text bleibt an seinem Platz */
		#statistik-page .statistik-row.best .statistik-row-val	{ grid-area: val; flex-direction: row; align-items: baseline; gap: 6px; min-width: 0; }
		#statistik-page .statistik-row.best > .badge		{ grid-area: badge; }
		#statistik-page .statistik-row.best > ico.chev		{ position: absolute; top: 16px; right: 14px; }		/* gleich wie Vorsession ( ±0 ) : weiss, wie activeSession / sessions-Detail */
		#statistik-page .statistik-row-main				{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
		#statistik-page .statistik-row-main > b			{ font-size: 14px; font-weight: 600; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#statistik-page .statistik-row-main > i			{ font-style: normal; font-size: 12px; color: var(--app-Font-Faint-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
		#statistik-page .statistik-row-cell				{ display: none; flex: 0 0 auto; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 6px; white-space: nowrap; }		/* einzeilig : Wert + Beschriftung nebeneinander */
		#statistik-page .statistik-row-cell.topset		{ min-width: 170px; }
		#statistik-page .statistik-row-cell.sets		{ min-width: 78px; }
		#statistik-page .statistik-row-cell > b			{ font-size: 13.5px; font-weight: 600; color: var(--app-Font-Muted-color); white-space: nowrap; font-variant-numeric: tabular-nums; }
		#statistik-page .statistik-row-val				{ flex: 0 0 auto; min-width: 84px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
		#statistik-page .statistik-row-val > b			{ font-size: 15px; font-weight: 700; color: var(--app-Font-color); white-space: nowrap; font-variant-numeric: tabular-nums; }
		#statistik-page .statistik-row-cell > i,
		#statistik-page .statistik-row-val > i			{ font-style: normal; font-size: 11px; color: var(--app-Font-Faint-color); }
		#statistik-page .statistik-row > .badge			{ flex: 0 0 auto; min-width: 66px; justify-content: center; padding: 3px 8px; border-radius: var(--app-Radius-Pill); background: var(--app-Inset-Soft); font-size: 11px; white-space: nowrap; }
		#statistik-page .statistik-row > ico.chev		{ flex: 0 0 auto; font-size: 11px; color: var(--app-Font-Faint-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* --- 28.9  TAB TRAINING — Zeit je Session + Befinden / Anstrengung ( statistikPage_Training.php, spec/satz-zeiten.md ) ------------------------------------------ */

		/* kleine Verlaufs-Charts ( Befinden 1-5, Anstrengung 1-10 ) : niedriger als der Haupt-Chart */
		.stat-chart.small					{ --chart-height: 150px; }

		/* Legende unter dem Zeit-Chart : Farben wie die Datensaetze in chart_RenderTimeBars ( chart.js ) -- Akzent / Achsenfarbe .6 / .28 */
		.statistik-time-legend				{ margin-top: 10px; }
		.statistik-time-legend .tp-exec::before		{ background: var(--chart-point); }
		.statistik-time-legend .tp-rest::before		{ background: var(--chart-axis); opacity: .6; }
		.statistik-time-legend .tp-plain::before	{ background: var(--chart-axis); opacity: .28; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 29. PAGE — LOGIN   (login.php : centered card .login-box) ------------------------------------------------------------------------------ */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		/* Hintergrund : kommt vom globalen body ( §5, Page-Glow ) -- die Seite hat keine eigene Flaeche */
		.login-box
		{
			display: flex;
			justify-content: center;
			align-items: center;
			min-height: 100svh;	/* login.php has no header -> card centers in the full viewport */
			padding: 24px 0;
			box-sizing: border-box;
		}
		.login-wrap
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 22px;
			width: 100%;
			max-width: 380px;
		}
		.login-brand		{ display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 4px; }
		.login-logo			{ width: 72px; height: 72px; border-radius: 22.5%; filter: drop-shadow(0 8px 14px rgb(var(--app-Accent-rgb) / .45)); }	/* Rundung per CSS : das PNG (seit ?v=13) ist randlos quadratisch, drop-shadow folgt der gerundeten Form */
		.login-title		{ font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--app-Font-color); }
		.login-tagline		{ font-size: 14px; color: var(--app-Font-Muted-color); }

		.login-card			/* Huelle : §18 Baustein Karte */
		{
			width: 100%;
			max-width: 380px;
			display: flex;
			flex-direction: column;
			gap: 18px;
			padding: 26px 20px 22px;
			box-sizing: border-box;
		}
		.login-card-title	{ font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--app-Font-color); }

		/* die Karte ist schon die Flaeche -- das Formular-Panel darin verliert Hintergrund, Rand, Schatten ( sonst Karte in Karte ) */
		.login-card .edit-panel
		{
			gap: 16px;
			margin: 0;
			padding: 0;
			background: none;
			border: 0;
			box-shadow: none;
			-webkit-backdrop-filter: none;
			backdrop-filter: none;
		}
		.login-card .lbl	{ font-size: 12px; letter-spacing: .06em; color: var(--app-Font-Muted-color); }

		.login-submit
		{
			--btn-h: 54px;
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 8px;
			margin-top: 6px;
			padding: 0;
			font-size: 16px;
			cursor: pointer;
		}		/* Farben + Form : §18 Baustein Knopf */
		.login-submit.login-ok	{ background: var(--app-Font-Valid-color); box-shadow: var(--app-ShadowSave); pointer-events: none; transition: background .35s ease, box-shadow .35s ease; }	/* Anmeldung geglueckt : sanft gruen statt Puls, Klick gesperrt bis zur Weiterleitung */

		.login-remember
		{
			display: flex;
			align-items: center;
			gap: 8px;
			font-size: 14px;
			color: var(--app-Font-Soft-color);
			cursor: pointer;
			user-select: none;
		}	/* login.php "Angemeldet bleiben" ( spec/angemeldet-bleiben.md ) */
		.login-remember > input	{ width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }

		.login-note			{ font-size: 15px; line-height: 1.55; color: var(--app-Font-Soft-color); }	/* register.php ohne gueltigen Einladungslink */
		.login-alt			{ padding: 4px 0; font-size: 14px; color: var(--app-Font-Muted-color); text-align: center; text-decoration: none; }	/* Wechsel login.php <-> register.php */
		.login-alt:hover	{ color: var(--app-Font-Accent-color); }
		.login-links		{ display: flex; flex-direction: row; gap: 10px; margin-top: -4px; }	/* Testhinweis + Datenschutzinfo : zwei ruhige Pillen ( §18 Baustein Chip ) */
		.login-links > .login-alt	{ flex: 1 1 0; min-width: 0; padding: 12px 8px; font-size: 13.5px; color: var(--app-Font-Muted-color); }
		.login-alt-box		/* Zweit-Aktion als ganze Box ( startplaene.php "Ohne Pläne starten", Gate-Seiten "Abmelden" ) : Optik = §18 Baustein Knopf ( Tint ) */
		{
			display: block;
			padding: 14px;
			font-size: 15px;
			text-align: center;
			cursor: pointer;
		}
		@media (hover: hover) and (pointer: fine) { .login-alt-box:hover	{ color: var(--app-Accent-Soft); filter: brightness(1.12); } }
		.login-hp			{ display: none; }	/* register.php Honeypot-Feld */

		/* startplaene.php ( Schritt nach der Registrierung ) : je Plan-Vorlage eine anhakbare Zeile ( Stufe 1 in der Karte ), angehakt = Akzent-Rahmen */
		.startplans-templates			{ display: flex; flex-direction: column; gap: 8px; }
		.startplans-template
		{
			display: flex;
			align-items: flex-start;
			gap: 10px;
			padding: 10px 12px;
			background: var(--app-Well-Deep-Color);
			border: var(--app-BorderStyle);
			border-radius: var(--app-Border-Radius);
			cursor: pointer;
			user-select: none;
			transition: border-color .15s ease;
		}
		.startplans-template:has(> input:checked)	{ border-color: rgb(var(--app-Accent-rgb) / .6); }
		.startplans-template > input	{ flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
		.startplans-template-text		{ display: flex; flex-direction: column; gap: 3px; min-width: 0; }
		.startplans-template-name		{ font-size: 13.5px; font-weight: 700; color: var(--app-Font-color); }
		.startplans-template-plans	{ font-size: 12px; color: var(--app-Font-Accent-color); }
		.startplans-template-desc		{ font-size: 12px; line-height: 1.45; color: var(--app-Font-Faint-color); white-space: pre-line; }	/* Zeilenumbrueche aus PlanGroup_Description ( CHAR(10) ) */

		/* Rechtstexte ( testhinweis / datenschutz / koerperdaten / terms, templates/legal ) : kein Kasten, Titel auf dem Hintergrund, jeder Absatz = Glas-Zeile ( §18 Baustein Zeile ), Seite scrollt ( Text ist lang ) */
		.legal-card							{ display: flex; flex-direction: column; gap: 18px; width: 100%; }
		.legal-doc							{ display: flex; flex-direction: column; gap: 10px; text-align: left; }
		.legal-doc h2						{ margin: 4px 0 6px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--app-Font-color); }
		.legal-doc h3						{ margin: 16px 0 0; padding-left: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--app-Accent-Soft); }
		.legal-doc p,
		.legal-doc li						{ margin: 0; padding: 14px 16px; font-size: 15px; line-height: 1.6; color: var(--app-Font-Soft-color); }
		.legal-doc p.legal-lead				{ padding: 0 4px; font-size: 16px; }	/* Einleitung unter dem Titel : kein Kasten */
		.legal-doc ul						{ display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
		.legal-doc b,
		.legal-doc strong					{ font-weight: 700; color: var(--app-Font-color); }
		.legal-doc a,
		.legal-card .login-remember > span > a	{ color: var(--app-Accent-Soft); }
		body.legal-page						{ overflow-y: auto; }
		body.legal-page .login-box			{ width: 100%; max-width: none; height: auto; min-height: 100svh; padding: 28px 0 40px; justify-content: flex-start; }	/* lange Texte : oben beginnen, nicht mittig */
		body.legal-page .login-wrap			{ max-width: 640px; padding: 0 16px; box-sizing: border-box; align-items: stretch; }	/* Lesespalte statt 380px-Karte */
		body.legal-page .legal-card > .login-alt	{ display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; margin-top: 4px; font-size: 15px; text-decoration: none; }	/* Zurueck : Optik = §18 Baustein Knopf ( Tint ) */

		/* ueberdich.php ( body.profile-page ) : ein Kasten ( .edit-panel ) mit Titel, Feldern, Weiter und Hinweis -- die aeussere Karte ist nur noch ein schmaler Rahmen, damit die Felder mehr Breite bekommen */
		body.profile-page .login-card						{ max-width: none; padding: 12px; gap: 14px; }
		.login-card .login-remember > span > a	{ color: var(--app-Accent-Soft); }

		body.login-page main		{ padding-bottom: 0; }	/* login.php + offline.html haben keinen Header/Footer/Seitenmenue -> keine Footer-Freiraum-Polsterung, sonst 100svh-Box + 52px = Scrollbalken */
		body.offline-page			{ overflow: hidden; }	/* offline.html : nie scrollen ( login.php bleibt scrollbar, Handy-Tastatur braucht Platz ) */

		.login-box .field-input		{ position: relative; }
		.login-box .field-input > ico
		{
			position: absolute;
			left: 12px;
			top: 50%;
			transform: translateY(-50%);
			font-size: 14px;
			color: var(--app-Font-Faint-color);
			pointer-events: none;
		}
		.login-box .field-input input[type=text],
		.login-box .field-input input[type=password]	{ height: 50px; padding-left: 36px; font-size: 16px; }	/* same specificity as §22.2 .edit-panel input[type=…] -> needs the [type] bump to win regardless of source order */
		.login-box .field-input input[type=password],
		.login-box #login_password	{ padding-right: 36px; }
		.login-box .field-input > ico.pw-toggle
		{
			left: auto;
			right: 10px;
			font-size: 15px;
			pointer-events: auto;
			cursor: pointer;
		}
		.login-box .field-input > ico.pw-toggle:hover	{ color: var(--app-Font-color); }
		.login-box .field-input > input::-ms-reveal,
		.login-box .field-input > input::-ms-clear	{ display: none; }		/* Edge zeigt sonst sein eigenes Auge zusaetzlich */
		.login-box .field-input input.invalid	{ border-color: var(--app-Font-Alert-color); box-shadow: var(--app-ShadowAlert); }	/* onblur validateNotEmpty : Pflichtfeld leer */

		/* .invalid-box : Muster "Formular + Invalid-Boxen" ( script.js setInvalidBoxFocusInput, erste Nutzung login.php ) -- je Fehlerfall eine Box unter dem Feld,
		   ruht auf display:none, JS schaltet per setDisplay block/none, Tipp auf die Box blendet sie aus */
		.invalid-box
		{
			display: none;
			margin-top: 4px;
			padding: 6px 10px;
			border: var(--app-Danger-Border);
			border-radius: var(--app-Radius-Field);
			background: var(--app-Danger-Background-Color);
			color: var(--app-Font-Alert-color);
			font-size: 13px;
			line-height: 1.35;
			cursor: pointer;
		}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 30. PAGE — EINSTELLUNGEN + KONTO   (settings.php + account.php : beide Formulare teilen sich .settings-*, form reuses §22.2 .edit-panel) ----- */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		#settings-form,
		#account-form		{ display: flex; flex-direction: column; gap: 30px; }		/* Gruppen klar voneinander abgesetzt */

		/* je Themenblock eine Ueberschrift ueber dem .edit-panel -- gleiche Rolle wie exp-cap in den Listen-Seiten */
		.settings-group		{ display: flex; flex-direction: column; gap: 12px; }

		/* Farb-Preset-Wahl ( Aussehen ) : jede Kachel traegt data-accent und erbt dadurch die Palette ihres Presets ( Selektor-Liste in § 3.1 ) */
		.look-row			{ display: flex; flex-wrap: wrap; gap: 6px; }
		.look-mode			{ display: flex; flex-wrap: wrap; gap: 8px; }
		.look-swatch
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 8px;
			width: 58px;
			padding: 0;
			background: none;
			border: 0;
			font: inherit;
			color: var(--app-Font-Muted-color);
			cursor: pointer;
		}
		.look-swatch > i
		{
			width: 56px;
			height: 56px;
			border-radius: var(--app-Radius-Row);
			background: radial-gradient(circle at 50% 50%, rgb(var(--pal-accent-500-rgb)) 0 34%, transparent 36%), linear-gradient(150deg, rgb(var(--pal-sub-rgb)), rgb(var(--pal-bg-rgb)));
			box-shadow: var(--app-Glass-Ring);
			transition: box-shadow .2s ease;
		}
		.look-swatch > span	{ font-size: 13px; }
		.look-swatch.on > i	{ box-shadow: 0 0 0 2px rgb(var(--pal-accent-200-rgb)); }
		.look-swatch.on		{ color: var(--app-Font-color); }
		.settings-head
		{
			display: flex;
			align-items: center;
			gap: 12px;
			padding: 0 2px;
			font-size: 19px;						/* bewusst KEINE Versalien mehr : die Feld-Labels ( .lbl ) sind klein + versal, die Gruppe muss sich davon abheben */
			font-weight: 700;
			line-height: 1.2;
			color: var(--app-Font-color);
			letter-spacing: -.015em;
		}

		.settings-head > ico																		/* Kachel : §18 Baustein Icon-Kachel */
		{
			font-size: 16px;
			cursor: default;						/* Glyph ist Text -> sonst Text-Cursor ( I-Balken ) beim Hover */
		}
		/* ungespeicherte Aenderung ( settings_markChanged ) -- nur das geaenderte Feld selbst bekommt Rahmen + Glow im Bearbeiten-Gelb, nicht mehr alle Panels */
		#settings-form input.changed,
		#settings-form select.changed,
		#account-form input.changed	{ border-color: var(--app-Font-Editing-color); box-shadow: var(--app-ShadowEdit); }
		#settings-form .pick.changed	{ box-shadow: inset 0 0 0 1px var(--app-Font-Editing-color), var(--app-ShadowEdit); }		/* geaendertes Dropdown = gelber Ring wie die anderen Felder */
		.edit-panel .field-row > .pick	{ flex: 1 1 auto; min-width: 0; }		/* Dropdown fuellt die Feldbreite statt Inhaltsbreite ( Liste geht in der Box darunter auf ) ; Einstellungen, Einladungen */
		.gw-chart-tools > .pick			{ flex: 1 1 100%; }		/* Kennzahl-Dropdown ueber dem Zeitraum-Schalter, eigene Zeile */

		/* Unterblock im Panel ( Profil -> "Passwort aendern" ) : Trennlinie oben, eigene .settings-head als Zwischentitel ohne Aussen-Padding */
		.settings-panel .settings-sub					{ display: flex; flex-direction: column; gap: 16px; padding-top: 16px; border-top: var(--app-BorderStyle); }
		.settings-panel > .settings-sub:first-child	{ padding-top: 0; border-top: none; }		/* einziger Unterblock ( Konto -> Daten ) : keine Linie ins Leere */
		.settings-panel .settings-sub > .settings-head	{ padding: 0; font-size: 16px; gap: 10px; }		/* Zwischentitel : eine Stufe kleiner als die Gruppe */
		.settings-panel .settings-sub > .settings-head > ico	{ --tile: 32px; font-size: 14px; }

		/* "Passwort aendern" : heller Haupt-Knopf ( §18 Baustein Knopf, nur Variablen ) */
		.settings-sub .ex-act.add:not(.primary)	{ --btn-bg: var(--app-Primary-Bright-bg); --btn-fg: var(--app-Font-OnFill-color); --btn-shadow: var(--app-Primary-Bright-shadow); }

		/* "Passwort aendern" : Hover wie jeder andere .ex-act.add ( §24.6 ) -- der eigene gruene Rand + Glow-Schatten sah auf dem blauen Knopf schraeg aus ( 2026-09-25 entfernt ) */

		/* "Abmelden" ( User 2026-09-30 ) : allein am Seitenende, hoeher als ein normaler .ex-act und in der Warnfarbe ( .ex-act.danger, §24.6 ) */
		.ex-act.danger.account-logout					{ padding: 20px 14px; font-size: 15px; }
		.ex-act.danger.account-logout > ico				{ font-size: 17px; }

		/* Feld-Ueberschrift je Einstellung : auf dieser Seite lesbar statt 11px-Versalien ( die Seite besteht fast nur aus Labels + Hinweistext ) */
		.settings-panel .lbl
		{
			font-size: 15px;
			font-weight: 600;
			letter-spacing: 0;
			text-transform: none;
			color: var(--app-Font-color);
		}
		.settings-panel .field + .field	{ padding-top: 14px; border-top: var(--app-BorderStyle); }		/* jede Einstellung ein eigener Abschnitt */
		.settings-panel .settings-sub .field + .field	{ padding-top: 0; border-top: none; }		/* Passwort-Felder gehoeren zusammen : keine Trennlinien */

		.settings-panel .field > input[type=text],
		.settings-panel .field > input[type=password]	{ max-width: 420px; }	/* am Desktop sonst ueber die volle Panel-Breite gezogen */

		/* Passwort-Felder ( Profil-Passwort + "Passwort aendern" ) : Augen-Icon rechts im Feld blendet den Klartext ein -- password_toggleVisibility() in page-account.js */
		.settings-panel .field-input		{ position: relative; max-width: 420px; }
		.settings-panel .field-input > input[type=text],
		.settings-panel .field-input > input[type=password]	{ max-width: none; width: 100%; padding-right: 36px; }
		.settings-panel .field-input > .pw-toggle
		{
			position: absolute;
			right: 10px;
			top: 50%;
			transform: translateY(-50%);
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 15px;
			color: var(--app-Font-Faint-color);
			cursor: pointer;
		}
		.settings-panel .field-input > .pw-toggle:hover	{ color: var(--app-Font-color); }
		.settings-panel .field-input > input::-ms-reveal,
		.settings-panel .field-input > input::-ms-clear	{ display: none; }		/* Edge zeigt sonst sein eigenes Auge zusaetzlich */
		.settings-panel .field-row						{ display: flex; align-items: center; gap: 10px; }
		.settings-panel .field-row > input[type=number]	{ width: 130px; }
		.settings-panel .field-row.split				{ gap: 20px; flex-wrap: wrap; }
		.settings-panel label.mini						{ display: flex; align-items: center; gap: 8px; }
		.settings-panel label.mini > .cap				{ font-size: 13px; color: var(--app-Font-Muted-color); min-width: 50px; }
		.settings-panel label.mini > input[type=number]	{ width: 92px; }
		.settings-panel .field-row.stack				{ flex-direction: column; align-items: stretch; gap: 10px; }		/* mehrere Eingaben untereinander ( Startseiten-Bereiche ) */
		.settings-panel .field-row.stack > label.mini	{ justify-content: space-between; }
		.settings-panel .field-row.stack > label.mini > .cap	{ min-width: 0; font-size: 14px; }

		/* Eingabehoehe + Schrift : die globalen .edit-panel-Felder ( 16px Schrift, 11px Padding, ~42px ) sind auf dieser Seite mit vielen Feldern zu wuchtig -> 14px / 32px ( User 2026-09-20 ; iOS-Safari zoomt bei < 16px ins Feld, bewusst in Kauf genommen ) */
		.settings-panel input[type=text],
		.settings-panel input[type=password],
		.settings-panel input[type=number],
		.settings-panel select
		{
			font-size: 14px;
			height: 32px;
			padding-top: 0;
			padding-bottom: 0;
		}

		.settings-panel select
		{
			font-size: 14px;
			padding: 0 36px 0 12px;			/* rechts Platz fuer den globalen Auswahl-Pfeil ( Par.5 ) ; Hoehe kommt von der Regel oben */
			border-radius: var(--app-Radius-Field);
			border: var(--app-BorderStyle);
			background-color: var(--app-Well-Color);
			color: var(--app-Font-color);
			outline: none;
			min-width: 180px;
			box-sizing: border-box;
		}
		.settings-panel select:focus					{ border-color: var(--accent); }

		/* Geburtsdatum-Walze : drei Spalten Tag / Monat / Jahr, eine Zeile hoch mit einem Streifen der Nachbarzeilen ( ~ Hoehe eines Auswahlfeldes ), Zeile in der Mitte = Auswahl ( register.php §29 + Profil-Block hier ;
		   templates/profile/profilePage_BirthDate.php, Verhalten script.js birthWheel_* ). Die Liste rastet per scroll-snap ein, oben + unten Polster in Hoehe des Nachbar-Streifens, damit die erste und letzte Zeile in die Mitte kommen. */
		.birth-wheel
		{
			--bw-row: 36px;
			--bw-pad: 18px;			/* sichtbarer Rest der Nachbarzeilen oben + unten ( Hoehe = Zeile + 2 x Rest + Rand ) */
			position: relative;
			display: flex;
			gap: 4px;
			max-width: 420px;
			height: calc(var(--bw-row) + var(--bw-pad) * 2 + 2px);
			padding: 0 6px;
			border: var(--app-BorderStyle);
			border-radius: var(--app-Radius-Field);
			background: var(--app-Well-Color);
			box-sizing: border-box;
			overflow: hidden;
		}
		.birth-wheel::before																/* Band hinter der Mittelzeile */
		{
			content: "";
			position: absolute;
			left: 4px;
			right: 4px;
			top: var(--bw-pad);
			height: var(--bw-row);
			border-radius: 8px;
			background: rgb(var(--app-Accent-rgb) / .16);
			pointer-events: none;
		}
		.birth-wheel .bw-col						{ position: relative; flex: 1 1 0; min-width: 0; }
		.birth-wheel .bw-day						{ flex: 0 0 22%; }
		.birth-wheel .bw-year						{ flex: 0 0 28%; }
		.birth-wheel .bw-list
		{
			height: 100%;
			padding: var(--bw-pad) 0;
			box-sizing: border-box;
			overflow-y: auto;
			scroll-snap-type: y mandatory;
			scrollbar-width: none;
			overscroll-behavior: contain;
			-webkit-mask-image: linear-gradient(rgba(0,0,0,.5), #000 20%, #000 80%, rgba(0,0,0,.5));
			mask-image: linear-gradient(rgba(0,0,0,.5), #000 20%, #000 80%, rgba(0,0,0,.5));
		}
		.birth-wheel .bw-list::-webkit-scrollbar	{ display: none; }
		.birth-wheel .bw-item
		{
			height: var(--bw-row);
			display: flex;
			align-items: center;
			justify-content: center;
			scroll-snap-align: center;
			font-size: 16px;
			color: var(--app-Font-Faint-color);
			white-space: nowrap;
			cursor: pointer;
			-webkit-user-select: none;
			user-select: none;
		}
		.birth-wheel .bw-item.on					{ color: var(--app-Font-color); font-weight: 600; }
		.birth-wheel .bw-item[data-v=""].on			{ color: var(--app-Font-Muted-color); font-weight: 400; }		/* Spalte steht noch auf ihrer Beschriftung */
		.birth-wheel .bw-edit																/* Eintipp-Feld ueber der Mittelzeile ( birthWheel_edit ) ; 16px = Safari zoomt nicht */
		{
			position: absolute;
			left: 0;
			right: 0;

			top: var(--bw-pad);
			width: 100%;
			height: var(--bw-row);
			padding: 0;
			border: 1px solid var(--accent);
			border-radius: 8px;
			background: var(--app-Well-Deep-Color);
			color: var(--app-Font-color);
			font-size: 16px;
			font-weight: 600;
			text-align: center;
			outline: none;
			box-sizing: border-box;
			-webkit-appearance: none;
			appearance: none;
		}
		.birth-wheel .bw-edit::placeholder			{ color: var(--app-Font-Faint-color); font-weight: 400; }
		.lbl-hint												{ font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--app-Font-Faint-color); }		/* Zusatz im Feldtitel ( Geburtsdatum : "zum Waehlen scrollen" ) */
		/* Auswahlfeld mit eigener Liste ( templates/page/pick_select.php, script.js pickSelect_* ) : Ersatz fuer <select> ( Konto / Ueber dich : Land mit Suche, Geschlecht ; Plan-Editor : Plangruppe ; Einstellungen ).
		   Optik 1:1 wie das Vorlage-Dropdown bei "Neue Uebung anlegen" ( .ex-tpl-*, §24 ) : EINE Box ( Inset-Soft + Ring, Radius Row ), Feld oben, darunter nach einer Trennlinie
		   das aufgeklappte Panel mit Zeilen ( Baustein Zeile ), im Fluss ( schiebt den Inhalt, ueberdeckt nichts ), kein blauer Ring im offenen Zustand. */
		.pick
		{
			box-sizing: border-box;
			overflow: hidden;
			background: var(--app-Inset-Soft);
			box-shadow: inset 0 0 0 1px var(--app-Chip-bg);
			border-radius: var(--app-Radius-Row);
		}
		.pick-box
		{
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 10px;
			min-height: 44px;
			padding: 0 12px;
			font-size: 14px;
			font-weight: 600;
			color: var(--app-Font-color);
			cursor: pointer;
		}
		.pick-box > ico													{ flex: 0 0 auto; color: var(--app-Font-Muted-color); transition: transform .2s ease; }
		.pick.open .pick-box > ico										{ transform: rotate(180deg); }
		.pick-text														{ min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
		.pick-pop														{ display: flex; flex-direction: column; gap: 8px; padding: 8px; border-top: var(--app-BorderStyle); }
		.edit-panel input.pick-search[type=text]:focus					{ outline: none; box-shadow: none; }		/* kein blauer Fokusring im Dropdown-Suchfeld, wie bei der Vorlage */
		.pick-list														{ display: flex; flex-direction: column; gap: 4px; max-height: 232px; overflow-y: auto; overscroll-behavior: contain; }
		.pick-opt, .pick-none											{ padding: 10px 12px; font-size: 13.5px; color: var(--app-Font-color); }
		.pick-opt														{ background: var(--app-Glass-Row); border-radius: var(--app-Radius-Row); box-shadow: var(--app-Glass-Lip-Row); cursor: pointer; }
		.pick-opt.on													{ background: var(--app-Tint); box-shadow: var(--app-Tint-Ring); }		/* gewaehlter Eintrag, wie .ex-tpl-hit.on */
		.pick-none														{ color: var(--app-Font-Muted-color); }
		.pick-group													{ padding: 6px 4px 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--app-Font-Muted-color); }		/* Gruppenkopf wie <optgroup> */
		.settings-panel .unit.conv						{ color: var(--app-Font-Faint-color); }		/* "≈ 6 Monate" neben Zahl + "Wochen" ( html_settingsSpan ) */

		.settings-panel .unit							{ font-size: 14px; color: var(--app-Font-Muted-color); }
		.settings-panel .hint,
		.settings-reset .hint
		{
			margin: 0;
			font-size: 13px;
			line-height: 1.45;
			color: var(--app-Font-Faint-color);
		}
		.settings-panel .look-row + .hint	{ margin-top: 12px; }		/* Hinweis unter den Farb-Kacheln : mehr Luft nach oben */
		.settings-panel .dev-note						{ color: var(--app-Font-Muted-color); }
		.settings-panel .dev-note > ico					{ font-size: 12px; padding-right: 5px; color: var(--app-Icon-Accent); }		/* Feature noch in Entwicklung */
		.settings-panel .pwa-note						{ color: var(--app-Font-Muted-color); }
		.settings-panel .pwa-note > ico					{ font-size: 12px; padding-right: 5px; color: var(--app-Font-Alert-color); }
		html.pwa-standalone .settings-panel .pwa-note	{ display: none; }		/* Hinweis nur im Browser, in der PWA ist das Feature aktiv */

		/* "Auf Standardwerte zuruecksetzen" unter der letzten Gruppe : Knopf ( .ex-act, Par.24.6 ) + Hinweis, ohne eigenes Panel */
		.settings-reset		{ display: flex; flex-direction: column; gap: 10px; }

		/* "Einladungen" ( nur Developer, auswertungPage_Invites.php, Tab in auswertung.php ) : eigenes Formular in #pane-invites -> Abstand wie zwischen den Gruppen.
		   Je Link eine Zeile auf Stufe 1 ( Tief ) im Panel : Pfad + Ablauf/Anzahl links, Kopieren/Loeschen rechts ; .new = gerade erstellt, .expired = abgelaufen */
		#form_invite .field-row > input[type=number]	{ width: 90px; }		/* Zahl + Einheit ( Stunden/Tage ) + "gueltig" in einer Zeile, auch bei 400px */
		.invite-list					{ display: flex; flex-direction: column; gap: 8px; }
		.invite-row
		{
			display: flex;
			align-items: center;
			gap: 10px;
			padding: 10px 12px;
			background: var(--app-Well-Deep-Color);
			border: var(--app-BorderStyle);
			border-radius: var(--app-Radius-Field);
		}
		.invite-row.new					{ border-color: var(--accent); }
		.invite-row.expired .invite-main	{ opacity: .55; }
		.invite-main					{ flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
		.invite-link					{ font-size: 13px; font-weight: 600; color: var(--app-Font-color); overflow-wrap: anywhere; }		/* Code ist ein langes Wort -> am Handy umbrechen statt seitlich scrollen */
		.invite-meta					{ font-size: 12px; color: var(--app-Font-Muted-color); }
		.invite-state					{ color: var(--app-Font-Alert-color); }
		.invite-actions					{ flex: 0 0 auto; display: flex; gap: 6px; }
		.invite-actions > .ex-act		{ flex: none; padding: 8px 10px; }
		.invite-qr						{ display: flex; flex-direction: column; align-items: center; gap: 8px; }		/* QR-Dialog : Inhalt kommt per Ajax in den Container im .dialog-Content */
		.invite-qr-img					{ width: 300px; max-width: 100%; height: auto; image-rendering: pixelated; background: #fff; border-radius: var(--app-Radius-Field); }		/* immer weiss hinterlegt -- Scanner brauchen hellen Grund, auch im Dark-Mode */
		.invite-qr .invite-meta			{ overflow-wrap: anywhere; text-align: center; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 31. PAGE — KOERPERGEWICHT   (gewicht.php : Eingabe-Panel, Zeitraum-Chips, Verlauf, Liste der Wiegewerte) ----------------------------- */
	/* ---     Wiederverwendet statt kopiert : Formular = §22.2 .edit-panel, Chips = §22.2 .filter-tag, Kennzahlen = §19.5 .stat-row,             */
	/* ---     Abschnittskoepfe = §28 .stat-sect, Chart = §19.4 .chart-panel > .chart-box + .chart-legend. Eigen : Werte-Liste (.gw-entry > .gw-row), Leerzustand. */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		.gw-page		{ display: flex; flex-direction: column; gap: 18px; }

		.gw-panel		{ gap: 14px; }		/* .edit-panel mit den Feldern untereinander -- etwas luftiger als die dichten Editor-Panels */

		/* Zahlen-Pfeile ( Firefox ) klebten an der Feldkante ; das Datumsfeld ist seit 2026-09-20 appweit in Par.22.2 geregelt */
		.gw-panel input[type=number]	{ padding-right: 20px; }

		.gw-rangebar	{ margin-top: 0; }		/* Chips + von/bis = §19.5 .stat-range / .stat-range-custom ( wie statistik.php ) ; den Abstand macht das Seiten-gap */
		.gw-page > .stat-range-custom	{ margin-top: -8px; }

		/* ---- Verlauf : Panel + HTML-Legende = §19.4 .chart-panel / .chart-legend (shared mit statistik.php) ; eigen ist nur die Chart-Hoehe ---- */

		.gw-chart		{ --chart-height: 260px; }
		.gw-chart-tools			{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 0 0 12px; }		/* Schnell-Zeitraum rechts, wie .statistik-chart-tools auf statistik.php */
		.gw-chart-tools .seg	{ padding: 2px; }
		.gw-chart-tools .seg > button	{ min-width: 26px; padding: 4px 9px; font-size: 12px; white-space: nowrap; }

		/* ---- Liste der Eintraege : Monats-Ueberschrift · Wochentag/Datum · Gewicht · Delta zum Vortag-Eintrag · Notiz · Aktionen ------------- */

		.gw-list		{ display: flex; flex-direction: column; gap: 10px; }
		.gw-month,
		#statistik-page .statistik-month
		{
			margin: 12px 4px 0;
			font-size: 11px;
			font-weight: 600;
			letter-spacing: .08em;
			text-transform: uppercase;
			color: var(--app-Font-Muted-color);
		}
		.gw-month				{ padding-left: 4px; }
		.gw-month:first-child,
		#statistik-page .statistik-month:first-child	{ margin-top: 4px; }

		/* .gw-entry = die Box ( Zeile + beim Bearbeiten das Formular darunter ), Optik : Baustein Zeile ( §18 ), das Formular darin = §22.2 .edit-panel. */
		.gw-entry.editing	{ box-shadow: var(--app-Tint-Ring), var(--app-Glass-Lip-Row); }		/* Bearbeiten : Tint-Ring um die Zeile */
		.gw-entry > form	{ padding: 0 12px 12px; }

		.gw-row
		{
			display: grid;
			grid-template-columns: minmax(124px, auto) 82px 56px 1fr auto;
			grid-template-areas: "date weight delta . acts";
			align-items: center;
			gap: 14px;
			padding: 13px 16px;
		}
		/* kein :hover auf der Zeile -- sie ist nicht anklickbar ( nur die Buttons in .gw-row-acts ), ein Hover wuerde Klickbarkeit vortaeuschen */

		#gw-body > .stat-sect	{ margin-top: 20px; margin-bottom: 8px; }		/* Koepfe liegen im Ajax-Body, nicht direkt unter .gw-page */

		.gw-row-date			{ grid-area: date; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
		.gw-row-date > i		{ font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--app-Font-Faint-color); }
		.gw-row-date > b		{ font-size: 13.5px; font-weight: 600; color: var(--app-Font-Soft-color); }

		.gw-row-weight			{ grid-area: weight; font-size: 17px; font-weight: 700; color: var(--app-Font-color); white-space: nowrap; }

		.gw-row-delta			{ grid-area: delta; }
		.gw-row-delta > .badge	{ padding: 3px 8px; border-radius: var(--app-Radius-Pill); background: var(--app-Inset-Soft); color: var(--app-Font-Muted-color); font-size: 11px; }
		.gw-row-delta > .badge.flat	{ color: var(--app-Font-Faint-color); }

		.gw-row-acts			{ grid-area: acts; display: flex; gap: 6px; }
		.gw-row-acts > exp-btn
		{
			display: flex;
			align-items: center;
			justify-content: center;
			width: 34px;
			height: 34px;
			border: 1px solid transparent;
			border-radius: 50%;
			background: var(--app-Tint);
			color: var(--app-Icon-Accent);
			cursor: pointer;
			transition: var(--app-MenuItem-Transition);
		}
		@media (hover: hover) and (pointer: fine) { .gw-row-acts > exp-btn:hover			{ background: var(--app-Tint-Hover); } }
		/* Aktiv ( Eintrag wird bearbeitet ) = Hover-Look ; direkt nach dem Klick steht der Zeiger noch drauf ( .noHover, expBtn_suppressHover ) -> kein Hover-Look */
		.gw-row-acts > exp-btn.noHover			{ background: var(--app-Tint); }
		.gw-entry.editing .gw-row-acts > exp-btn,
		@media (hover: hover) and (pointer: fine) { .gw-entry.editing .gw-row-acts > exp-btn:hover	{ background: var(--app-Tint-Hover); } }

		/* ---- Koerperfett + Masse ( spec/koerpergewicht.md ) : Umschalter im Chart-Panel, Chips unter der Zeile, aufklappbarer Bereich im Formular -------------- */

		#gw-quick				{ margin-left: auto; }		/* Zeitraum bleibt rechts, auch wenn der Umschalter fehlt */

		.gw-row-measures		{ display: flex; flex-wrap: wrap; gap: 6px; margin: 0 16px; padding: 12px 0 14px; border-top: var(--app-BorderStyle); }		/* eigener Bereich unter dem Gewicht */
		.gw-row-measures > span	{ display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px; border-radius: var(--app-Radius-Pill); background: var(--app-Chip-bg); box-shadow: inset 0 0 0 1px var(--app-Chip-bg); color: var(--app-Font-color); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
		.gw-row-measures > span > i	{ font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--app-Font-Muted-color); }
		.gw-entry.editing > .gw-row-measures	{ display: none; }		/* im Formular stehen die Werte ohnehin */

		.gw-more-toggle			{ display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; font-size: 13.5px; color: var(--app-Font-Muted-color); cursor: pointer; }
		.gw-more-toggle:hover	{ color: var(--app-Font-color); }
		.gw-more-toggle > i		{ font-style: normal; font-size: 11.5px; color: var(--app-Font-Faint-color); }
		.gw-more-toggle.open > ico	{ transform: rotate(45deg); }		/* Plus wird zum Kreuz = zuklappen */
		.gw-more				{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
		.gw-more[hidden]		{ display: none; }
		.gw-more-group			{ grid-column: 1 / -1; padding-top: 4px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--app-Font-Faint-color); }		/* Koerper · Arme · Beine ueber den Feldpaaren */
		.gw-more-group:first-child	{ padding-top: 0; }

		/* ---- Leerzustand : ein einziger Hinweis statt leerer KPI-Kacheln + leerem Chart + leerer Liste ------------------------------------ */

		.gw-empty
		{
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 8px;
			padding: 34px 16px;
			text-align: center;
		}		/* Optik : Baustein Karte ( §18 ) */
		.gw-empty > ico			{ font-size: 26px; color: var(--app-Font-Muted-color); }
		.gw-empty > b			{ font-size: 15px; color: var(--app-Font-color); }
		.gw-empty > span		{ font-size: 13px; color: var(--app-Font-Faint-color); }
		.gw-empty.small			{ padding: 18px 16px; }

		/* Einwilligung Koerpergewicht ( gewichtPage_Consent.php ) : Panel Stufe 3 mit Text + zwei Knoepfen, ohne Einwilligung statt Zeitraum + Body */
		.gw-consent
		{
			display: flex;
			flex-direction: column;
			gap: 14px;
			padding: 20px 16px;
		}		/* Optik : Baustein Karte ( §18 ) */
		.gw-consent > b			{ font-size: 16px; color: var(--app-Font-color); }
		.gw-consent > p			{ margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--app-Font-Soft-color); }
		.gw-consent > ul		{ display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.55; color: var(--app-Font-Soft-color); }
		.gw-consent .ex-actions	{ flex-wrap: wrap; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 31a. PAGE — NEUIGKEITEN   (releaseInfo.php + Badge : Release-Info, .rel-*) --------------------------- */
	/* ---      Wiederverwendet : exp-box.mainGroup + exp-cap.stack (21.1) fuer die Release-Liste. Eigen : Kopf-Text, Zeilen nach Typ, Chip, Punkt. */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
		.rel-list		{ display: flex; flex-direction: column; gap: 14px; }

		/* Kopf der Release-Karte ( exp-cap.name ) : Version gross, Datum klein */
		.rel-box > exp-header > exp-col.icon					{ display: none; }		/* kein Icon : Version steht ganz links, buendig mit dem Seitentitel */
		.rel-box > exp-header > exp-cap.name					{ margin-left: 17px; }		/* Textkante = Textkante des Seitentitels ( .header-App-Name ) */
		.rel-box > exp-header > exp-cap.name > span:first-child	{ font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
		.rel-box > exp-header > exp-cap.name > div				{ font-size: 13px; color: var(--app-Font-Faint-color); }

		.rel-head		{ display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; line-height: 1.2; }
		.rel-head > b	{ font-size: 21px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
		.rel-head > span	{ font-size: 14px; line-height: 1.5; color: var(--app-Font-Soft-color); overflow-wrap: anywhere; }

		.rel-body		{ min-height: 0; }
		.rel-entries	{ display: flex; flex-direction: column; gap: 18px; }

		/* Kategorie-Farbe je Typ ( --rel-rgb ) : Neu = Gruen, Verbessert = Gold, Behoben = Blau -- gilt fuer Liste + Startseiten-Box */
		.rel-type-new		{ --rel-rgb: var(--app-Save-rgb); }
		.rel-type-better	{ --rel-rgb: var(--app-PR-rgb); }
		.rel-type-fix		{ --rel-rgb: var(--app-Accent-rgb); }

		.rel-group		{ display: flex; flex-direction: column; gap: 8px; }

		/* Gruppen-Kopf, Zaehler, "Neu"-Chip = §18 Baustein Pille ( Tint nach Kategorie-Farbe ) ; hier Groesse + Schrift */
		.rel-group-head
		{
			--pill-rgb:  var(--rel-rgb);
			--pill-fg:   var(--rel-fg, rgb(var(--rel-rgb)));		/* hell : --rel-fg dunkel ( § 3.2 ) */
			--pill-ring: none;
			align-self: flex-start;
			gap: 8px;
			padding: 6px 8px 6px 14px;
			font-size: 12px;
			letter-spacing: .08em;
			text-transform: uppercase;
		}
		.rel-group-head > span	{ flex: 0 0 auto; }
		.rel-count
		{
			--pill-rgb:  var(--rel-rgb);
			--pill-a:    .30;
			--pill-fg:   var(--app-Font-color);
			--pill-ring: none;
			min-width: 22px;
			padding: 1px 7px;
			font-size: 12px;
			font-style: normal;
		}

		.rel-entry
		{
			display: flex;
			flex-direction: row;
			align-items: flex-start;
			gap: 14px;
			padding: 12px 0;
			line-height: 1.4;
			overflow-wrap: anywhere;
			border-top: 1px solid var(--app-Hairline);
		}
		.rel-group-head + .rel-entry	{ border-top: 0; }
		/* Typ-Icon vor jeder Zeile ( Farbe = Kategorie ) */
		.rel-entry > ico
		{
			flex: 0 0 auto;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 34px;
			height: 34px;
			font-size: 14px;
			color: rgb(var(--rel-rgb));
			background: rgb(var(--rel-rgb) / .16);
			border-radius: 50%;
		}
		.rel-entry-text		{ display: flex; flex-direction: column; gap: 3px; min-width: 0; }
		.rel-entry-text > b		{ font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--app-Font-color); }
		.rel-entry-text > span	{ font-size: 14px; line-height: 1.5; color: var(--app-Font-Muted-color); }
		.rel-empty		{ padding: 12px 4px; font-size: 13px; color: var(--app-Font-Faint-color); }
		#releaseInfo-box > .rel-empty	{ padding: 48px 16px; font-size: 20px; text-align: center; color: var(--app-Font-Muted-color); }		/* Leerzustand der Seite ( noch kein Release ) */

		/* "Neu"-Chip : ungesehenes Release ( Liste + Startseiten-Box ) -- Optik = §18 Baustein Pille */
		.rel-chip
		{
			margin-left: 6px;
			padding: 1px 8px;
			font-size: 11px;
			font-style: normal;
			vertical-align: 1px;
		}

		/* Punkt : ungesehene Neuigkeiten am Menue-Button ( absolut ) und am Menueeintrag ( inline ) */
		.rel-dot
		{
			display: inline-block;
			flex: 0 0 auto;
			width: 8px;
			height: 8px;
			margin-left: 8px;
			background: var(--app-Font-Alert-color);
			border-radius: 50%;
		}
		.rel-menu-ver	{ margin-left: 6px; font-size: 12px; color: var(--app-Font-Muted-color); }		/* Seitenmenue : "Neuigkeiten  v2.1  Neu" */
		.sideMenu-EntryText > .rel-chip { white-space: nowrap; }
		.menu-item > .rel-dot	{ position: absolute; top: 6px; right: 6px; margin: 0; }
		.header-MenuBar .box-menu-right .menu-item	{ position: relative; }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 31b. PAGE — AUSWERTUNG   (auswertung.php : Developer-Seite, nur lesen, spec/auswertung.md) ---------------------------------------------- */
	/* ---      Wiederverwendet : .stat-title / .stat-sect / .stat-empty (28), .stat-row / .stat (19.5), .chart-panel / .chart-box / .chart-legend  */
	/* ---      (19.4), .badge (18). Eigen : Block-Well, Personen-/Feedback-Karten, Stufen-Farben, Art-Farben. Nur die Feedback-Karte klappt auf (.tap).     */
	/* ---      390 px : Karten statt Tabelle, Kacheln brechen um ; ab 1000 px Karten-Raster (32, min-width 1000).                                   */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

		#auswertung-page .aw-block
		{
			margin-top: 16px;
			padding: 16px;
		}		/* Optik : Baustein Karte ( §18 ) */
		#auswertung-tabs									{ margin-bottom: 0; }	/* .main-box ist Flex mit 20 px Gap : der Abstand zum ersten Block kommt allein vom Gap */
		#auswertung-page .aw-block:first-child				{ margin-top: 0; }
		#auswertung-page .aw-block > .stat-sect:first-child	{ margin-top: 0; }
		#auswertung-page .aw-block > .stat-sect				{ margin-bottom: 10px; }
		#auswertung-page .aw-block > .stat-row + .aw-list,
		#auswertung-page .aw-block > .stat-row + .stat-empty	{ margin-top: 12px; }
		#auswertung-page .aw-block > .aw-meter + .stat-row	{ margin-top: 14px; }		/* Kacheln nicht an die letzte Spur kleben */
		#pane-invites > .stat-row					{ margin-bottom: 20px; }		/* Kennzahlen-Kacheln nicht an der Ueberschrift "Einladungen" kleben lassen */
		/* Tab Koerperdaten : Untertitel je Dimension + Tabelle ( Baustein Zeile auf dem Panel ), 6 Spalten, Gruppenname breiter */
		#auswertung-page .aw-sub				{ margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--app-Font-Faint-color); }
		#auswertung-page .aw-block > :not(.aw-sub):not(.stat-sect) + .aw-sub	{ margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(var(--pal-tint-rgb) / .06); }		/* leichte Trennlinie ueber jedem Untertitel ausser dem ersten */
		#auswertung-page .aw-table				{ overflow: hidden; }
		#auswertung-page .aw-meter				{ display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 5px 12px; padding: 7px 2px; font-size: 13px; color: var(--app-Font-color); }		/* Name + Zahl, darunter die Spur */
		#auswertung-page .aw-meter > b			{ font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--app-Font-Soft-color); }
		#auswertung-page .aw-meter > .bar		{ grid-column: 1 / -1; height: 6px; }
		#auswertung-page .aw-meter > .bar > i	{ background: var(--accent); }
		#auswertung-page .aw-tr					{ display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--aw-cols, 5), 46px); gap: 6px; padding: 9px 12px; font-size: 12.5px; color: var(--app-Font-Soft-color); }
		#auswertung-page .aw-tr + .aw-tr		{ border-top: var(--app-BorderStyle); }
		#auswertung-page .aw-tr > span:not(:first-child)	{ text-align: right; white-space: nowrap; }
		#auswertung-page .aw-tr > span:first-child	{ color: var(--app-Font-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
		#auswertung-page .aw-tr.head			{ font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--app-Font-Faint-color); }
		#auswertung-page .aw-tr.head > span:first-child	{ color: var(--app-Font-Faint-color); }
		#auswertung-page .stat-empty.small		{ padding: 14px 16px; }

		#auswertung-page .aw-block .stat-row > .stat			{ flex: 1 1 96px; }		/* 5 Kacheln brechen am Handy auf 2-3 je Zeile um */

		/* Karten : eine je Person / Meldung, einspaltig ( Raster ab 1000 px ) */
		#auswertung-page .aw-list			{ display: grid; gap: 8px; }
		#auswertung-page .aw-tester,
		#auswertung-page .aw-feedback
		{
			box-sizing: border-box;
			min-width: 0;
			padding: 10px 12px;
		}		/* Optik : Baustein Zeile ( §18 ) */
		#auswertung-page .aw-head
		{
			display: flex;
			align-items: center;
			gap: 8px;
			min-width: 0;
		}
		#auswertung-page .aw-tester > .aw-head > b
		{
			flex: 1 1 auto;
			min-width: 0;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		#auswertung-page .aw-head > .badge	{ flex: 0 0 auto; }
		#auswertung-page .aw-dates				{ display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 12.5px; color: var(--app-Font-Muted-color); }
		#auswertung-page .aw-facts				{ display: grid; gap: 6px; margin-top: 10px; }
		#auswertung-page .aw-facts.n2			{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
		#auswertung-page .aw-facts.n3			{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
		#auswertung-page .aw-facts > div		{ display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: var(--app-Radius-Row); background: var(--app-Inset-Soft); box-shadow: inset 0 0 0 1px var(--app-Chip-bg); }
		#auswertung-page .aw-facts > div > b	{ font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--app-Font-color); }
		#auswertung-page .aw-facts > div > span	{ font-size: 11px; color: var(--app-Font-Muted-color); }
		#auswertung-page .aw-facts > div.zero > b	{ color: var(--app-Font-Faint-color); }
		#auswertung-page .aw-days				{ flex: 0 0 auto; padding: 3px 10px; border-radius: var(--app-Radius-Pill); background: var(--app-Chip-bg); box-shadow: var(--app-Pill-Ring); font-size: 11.5px; font-weight: 600; color: var(--app-Font-Editing-color); }		/* Abgesprungen : Tage inaktiv als Pille */
		#auswertung-page .aw-meta
		{
			margin-top: 4px;
			font-size: 12px;
			color: var(--app-Font-Muted-color);
			overflow-wrap: anywhere;
		}

		/* Stufen-Farben am Badge : registriert -> Plan angelegt -> aktiviert -> wiederkehrend */
		#auswertung-page .badge.s1	{ color: var(--app-Font-Faint-color); }
		#auswertung-page .badge.s2	{ color: var(--app-Font-Muted-color); }
		#auswertung-page .badge.s3	{ color: var(--app-Font-Accent-color); }
		#auswertung-page .badge.s4	{ color: var(--app-Font-Valid-color); }

		/* Feedback : Kopf ( Art-Icon, Datum, Status, Absender ), Text, Seite */
		#auswertung-page .aw-feedback > .aw-head			{ flex-wrap: wrap; font-size: 12px; color: var(--app-Font-Muted-color); }
		#auswertung-page .aw-feedback > .aw-head > ico		{ font-size: 14px; color: var(--app-Font-Faint-color); }
		#auswertung-page .aw-from							{ margin-left: auto; font-weight: 600; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#auswertung-page .badge.st-new						{ color: var(--app-Font-Accent-color); }
		#auswertung-page .badge.st-read,
		#auswertung-page .badge.st-dismissed				{ color: var(--app-Font-Faint-color); }
		#auswertung-page .badge.st-task						{ color: var(--app-Font-Valid-color); }
		#auswertung-page .aw-text
		{
			margin-top: 6px;
			font-size: 14px;
			line-height: 1.45;
			white-space: normal;
			overflow-wrap: anywhere;
		}
		#auswertung-page .aw-page							{ margin-top: 6px; font-size: 12px; color: var(--app-Font-Faint-color); overflow-wrap: anywhere; }

		/* Farbe je Art : Rand links + Art-Icon ( Fehler rot, Idee gelb, Frage blau ) */
		#auswertung-page .aw-feedback.kind-bug				{ border-left: 3px solid var(--app-Font-Alert-color); }
		#auswertung-page .aw-feedback.kind-idea				{ border-left: 3px solid var(--app-Font-Editing-color); }
		#auswertung-page .aw-feedback.kind-question			{ border-left: 3px solid var(--chart-point); }
		#auswertung-page .aw-feedback.kind-bug > .aw-head > ico:first-child			{ color: var(--app-Font-Alert-color); }
		#auswertung-page .aw-feedback.kind-idea > .aw-head > ico:first-child		{ color: var(--app-Font-Editing-color); }
		#auswertung-page .aw-feedback.kind-question > .aw-head > ico:first-child	{ color: var(--chart-point); }

		/* Feedback aufklappen ( auswertung_toggleFeedback ) : zu = Text auf 3 Zeilen, auf = ganzer Text + Details ; Zeiger + Hover-Flaeche von .tap (18) */
		#auswertung-page .aw-head > ico.chev				{ margin-left: auto; font-size: 11px; transition: transform .2s ease; }
		#auswertung-page .aw-head > .aw-from ~ ico.chev	{ margin-left: 0; }
		#auswertung-page .aw-feedback.open > .aw-head > ico.chev	{ transform: rotate(180deg); }
		#auswertung-page .aw-feedback:not(.open) > .aw-text
		{
			display: -webkit-box;
			-webkit-line-clamp: 3;
			-webkit-box-orient: vertical;
			overflow: hidden;
		}
		#auswertung-page .aw-detail							{ display: none; }
		#auswertung-page .aw-feedback.open > .aw-detail
		{
			display: grid;
			gap: 6px;
			margin-top: 10px;
			padding-top: 10px;
			border-top: var(--app-BorderStyle);
			cursor: text;
		}
		#auswertung-page .aw-drow							{ display: flex; gap: 10px; font-size: 12px; min-width: 0; }
		#auswertung-page .aw-drow > span					{ flex: 0 0 88px; color: var(--app-Font-Muted-color); }
		#auswertung-page .aw-drow > b						{ flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--app-Font-color); overflow-wrap: anywhere; }
		#auswertung-page .aw-ua								{ font-size: 11px; line-height: 1.4; color: var(--app-Font-Faint-color); overflow-wrap: anywhere; }

		/* Diagramm ( chart_RenderWeekBars, ein Balken je Woche in --chart-point, ohne Legende ) */
		#auswertung-page .aw-chart							{ --chart-height: 220px; }
		#auswertung-page .aw-note							{ margin: 10px 4px 0; font-size: 12px; color: var(--app-Font-Muted-color); }

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
	/* --- 32. RESPONSIVE — every @media collected here, largest breakpoint first ----------------------------------------------------------------- */
	/* ---     order: 1000 · 520 · 420 · 400 · 380 (max-width)  ·  1000 (min-width)  ·  reduced-motion                                             */
	/* ---     inside each block: global / header -> expandable box -> selection + muscle views -> set container -> exercise panels -> per page    */
	/* -------------------------------------------------------------------------------------------------------------------------------------------- */

	/* ------------------------------------------------------------------------------------------------------------------------------------------- */
	/* ===  @media screen and (max-width: 1000px)   —   primary breakpoint   ===================================================================== */

	@media screen and (max-width: 1000px)
	{
		/* --- global / header --------------------------------------------------------------------------------------------------------- */


			.header-MenuBar										{ max-height: 84px; }
			.header-MenuBar > .box-menu-left > .menu-left-grid	{ display: none; }
			.header-ActiveSession								{ padding: 10px 14px; gap: 12px; }

			:root												{ --app-Gutter: 16px; }
			.main-box											{ padding: 0 max(var(--app-Gutter), env(safe-area-inset-right, 0px)) 20px max(var(--app-Gutter), env(safe-area-inset-left, 0px)); }	/* shared content-column padding + landscape-notch inset */

		/* --- expandable box : groups ----------------------------------------------------------------------------------------------- */

			exp-box.subGroup.add-btn > exp-header > exp-btn			{ min-width: 50px; }
			exp-box.subGroup.add-btn > exp-header > exp-btn ico		{ font-size: 24px; }
			exp-box.subGroup.add-btn > exp-header > exp-cap.name	{ font-size: 16px; }

			exp-box.subGroup.open > exp-content,
			exp-box.mainGroup.open > exp-content					{ padding: 20px 10px; }

			exp-box.subGroup.open > exp-content[style*="gap"]		{ padding-top: 0px; }

			exp-box.mainGroup.open[planGroupID] > exp-content[style*="gap"]		{ padding-top: 0px; }
			exp-box.mainGroup.open.ungrouped > exp-content[style*="gap"]		{ padding-top: 16px; }	/* kein Rename-Form als erstes Kind -> Abstand = Gap */

			exp-box.mainGroup > exp-header > exp-col.icon			{ font-size: 24px; }
			exp-box.mainGroup > exp-header > exp-col.count			{ font-size: 14px; width: 44px; padding-right: 10px; }
			exp-box.mainGroup > exp-header > exp-col.count > div	{ font-size: 10px; }

			exp-box.subGroup > exp-header > exp-col.info				{ font-size: 14px; }
			exp-box.subGroup > exp-header > exp-col.info.exercises		{ display: block; font-size: 14px; }
			exp-box.subGroup > exp-header > exp-col.info.sets			{ display: block; }
			exp-box.subGroup > exp-header > exp-col.info > div			{ font-size: 10px; }
			exp-box.subGroup > exp-header > exp-cap.name				{ font-size: 14px; }
			/* explizite Quadrat-Groesse statt min-width: Basis-Regel (§14, ~Zeile 1215) setzt width/height fix auf 36px --
			   ein bloßes min-width dehnt nur die Breite, aus dem Kreis (border-radius: 999px) wird ein Oval. */
			exp-box.subGroup > exp-header > exp-btn						{ width: 40px; height: 40px; }
			exp-box.subGroup > exp-header > exp-btn ico					{ font-size: 20px; }
			/* Übungen + Pläne ( User 2026-09-23 ) : Karten-Buttons behalten auch am Handy das Kopfzeilen-/Desktop-Maß ( §14 : 36 px + Rahmen, 19 px ) */
			#exercisePage-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn,
			#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn,
			#pane-fromPlan exp-box.subGroup:not(.add-btn) > exp-header > exp-btn			{ width: 36px; height: 36px; }
			#exercisePage-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn ico,
			#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn ico,
			#pane-fromPlan exp-box.subGroup:not(.add-btn) > exp-header > exp-btn ico		{ font-size: 19px; }
			/* Start-/Wiederholen-Knopf ( alles, was eine Session startet ) am Handy kleiner als die Nachbar-Knoepfe -- User 2026-09-28 : "viel zu gross".
			   Id-Praefixe noetig, sonst gewinnen die gleich spezifischen #plaene-box-/#pane-fromPlan-Regeln aus §22.1 ( 44 px / 17 px ). */
			#home-recent exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#pane-fromPlan exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#pane-fromSession exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#sessions-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start			{ width: 30px; height: 30px; }
			#home-recent exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start > ico,
			#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start > ico,
			#pane-fromPlan exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start > ico,
			#pane-fromSession exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start > ico,
			#sessions-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start > ico	{ font-size: 12px; }
			/* Knopf vorne in der Zeile : mehr Luft zum Namen ( User 2026-09-28 ; vorher 4 bzw. 8 px ). #home-recent nicht, dort sitzt er rechts am Rand. */
			#plaene-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#pane-fromPlan exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#pane-fromSession exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start,
			#sessions-box exp-box.subGroup:not(.add-btn) > exp-header > exp-btn.start			{ margin-left: 8px; margin-right: 14px; }
			#ex-list exp-box.subGroup.Exercise > exp-header,
			#plaene-box exp-box.subGroup.Plan > exp-header,
			#pane-fromPlan exp-box.subGroup.Plan > exp-header							{ padding-top: 10px; padding-bottom: 10px; }		/* §24.2 : Luft wie eine normale 60px-Karte bei 14px-Namen */
			exp-box.subGroup.Exercise.open > exp-header > exp-col.info	{ display: none; }

		/* --- selection + muscle-group views ---------------------------------------------------------------------------------------- */


			.muscleGroup-box		{ gap: 40px; }
			.muscleGroup-img-base,
			.muscleGroup-img-overlay	{ width: var(--media-musclegroup-image-size); }

		/* --- set container (base) ------------------------------------------------------------------------------------------------- */

			.set-box				{ font-size: 16px; gap: 10px; }
			.set-content-box.right	{ width: 80px; }
			.set-content-box.left	{ gap: 10px; }

			.set-content-box.right > .set-content:hover						{ font-size: 20px; }
			.set-content > span												{ font-size: 14px; padding: 0px 12px 0px 4px; }

		/* --- exercise card : shared panels (mg-view / finder) --------------------------------------------------------------------- */

			exp-box.subGroup.Exercise.open > exp-content	{ padding: 12px; }

			.mg-view
			{
				--musclegroup-image-size: 104px;
				gap: 16px;
				padding: 14px;
				justify-content: flex-start;
			}
			.mg-list									{ gap: 15px; }
			.mg-view .muscleGroup-box					{ display: flex; opacity: 1; }		/* front + back together, force visible */
			.mg-view .muscleGroup-img-stack.front,
			.mg-view .muscleGroup-img-stack.back		{ order: 0; }
			.mg-bars									{ flex: 1 1 auto; max-width: none; }

			.filter-tag		{ font-size: 11px;}
			.finder-tabs	{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
			.finder-list	{ grid-template-columns: 1fr; max-height: calc(10px + 4 * var(--fi-h) + 3 * 8px); }

		/* --- page : plan-editor — set row compact, trash keeps its fixed size ------------------------------------------------------ */

			.set-box										{ gap: 8px; }
			.set-box .set-content-box.left					{ gap: 8px; }

			.set-content.reps,
			.set-content.weight										{ padding: 0 7px; gap: 2px; }
			.set-content.reps > input								{ flex: 0 0 auto; width: 3.2ch; }
			.set-content.weight > input								{ flex: 0 0 auto; width: 7ch; }

			.set-content .spacer									{ padding: 0 1px; }
			.set-content .set-measure								{ font-size: .62em; padding-left: 3px; }

			.set-box .set-content-box.right							{ width: 52px; flex: 0 0 52px; }
			.set-box .set-content-box.right > .set-content			{ --del-ico: 19px; }
			.set-box .set-content-box.right > .set-content:hover	{ --del-ico: 21px; }

		/* --- page : übungen — slim header (load/ownership lead + name + toggle), actions wrap, editor row drops the state pill ----------- */

			.ex-meta	{ gap: 6px; flex-wrap: nowrap; }											/* eine Reihe, alle Chips gleich breit ; braucht ein Chip mehr Platz, wird er in sich zweizeilig ( alle Chips der Reihe gleich hoch ) */
			.ex-tag
			{
				flex: 1 1 0;
				min-width: 0;
				justify-content: center;
				text-align: center;
				padding: 6px;
				gap: 4px;
				border-radius: var(--app-Radius-Row);		/* Pille wuerde bei zwei Zeilen zur Kapsel */
				font-size: 12px;
				line-height: 1.25;
				overflow-wrap: break-word;		/* Notnagel : nur wenn ein einzelnes Wort gar nicht passt */
			}
			.ex-tag > ico	{ font-size: 12.5px; }
			/* ab vier Chips ( Station + Koerpergewicht + Sekunden bei eigener Uebung ) : Reihe darf umbrechen, Chips nach Inhalt -- sonst bricht "Koerpergewicht" im Wort */
			.ex-meta:has(> .ex-tag:nth-child(4))				{ flex-wrap: wrap; }
			.ex-meta:has(> .ex-tag:nth-child(4)) > .ex-tag		{ flex: 1 1 auto; }

			.ex-act
			{
				flex: 1 1 140px;
				padding: 9px 10px;
				font-size: 12px;
				gap: 6px;
			}
			.ex-act > ico	{ font-size: 14px; }

			.mg-edit-row				{ grid-template-columns: minmax(0, 1fr) auto 44px; gap: 6px; }
			.mg-edit-row .mg-level > button	{ padding: 5px 8px; }

		/* --- page : active session — header session bar + set row ( ACHTUNG : .header-MenuBar unten gilt bis 1000 px fuer ALLE Seiten = kompakter Handy-Header 61 px, gemessen 2026-09-30 ; nicht auf .session einschraenken ) ------------ */

			.header-MenuBar
			{
				max-height: none;
				min-height: 0;
				height: auto;
				padding: 4px var(--app-Gutter);
				gap: 6px;
			}
			.trainingBar-label				{ font-size: 14px; }
			.trainingBar-time				{ font-size: 17px; }
			.trainingBar-btn				{ padding: 0 10px; }
			.header-MenuBar.session			{ padding: 12px 16px; }

			.set-content.reps,
			.set-content.weight				{ padding: 0 8px; gap: 3px; }
			.set-content.reps > input		{ width: 4ch; flex: 0 0 auto; }
			.set-content.weight > input		{ width: 7ch; flex: 0 0 auto; }
			.set-content .set-measure		{ font-size: .6em; padding-left: 3px; }

			.activeSession-box .set-content.reps > input,
			.activeSession-box .set-content.weight > input	{ padding: 0 40px; }
			.set-content > .stp								{ width: 28px; font-size: 16px; }


		/* --- page : sessions-verlauf — Wiederholen-Knopf steht seit 2026-09-23 vorn (Template), Name/Datum/Dauer sind drei eigene  */
		/* --- Zeilen in exp-cap.name.stack. Uebungen/Saetze-Spalten (User-Feedback 2026-09-23 : "am PC neben dem Volumen") bleiben */
		/* --- Desktop-only -- am Handy zu vollgestopft (urspruenglicher Grund fuer den Umbau) -- darum hier ausgeblendet.          */
		/* --- Volumen-Zahl am Handy nochmal kleiner (User-Feedback 2026-09-23). */
			exp-box.subGroup.Session > exp-header > exp-col.info.exercises,
			exp-box.subGroup.Session > exp-header > exp-col.info.sets		{ display: none; }
			exp-box.subGroup.Session > exp-header > exp-col.count
			{
				padding-right: 8px;
				font-size: 14px;
			}
			exp-box.subGroup.Session > exp-header > exp-col.count > div	{ font-size: 11px; }
			#sessions-box exp-box.subGroup.Session > exp-header,
			#pane-fromSession exp-box.subGroup.Session > exp-header		{ padding-top: 10px; padding-bottom: 10px; }

		/* --- page : startseite — chart caption centered under the diagram ------------------------------------------------------- */

			.home-legend	{ text-align: center; }

		/* --- page : statistik — chart shrinks, filter card tightens ---------------------------------------------------------- */

			.stat-chart			{ --chart-height: 220px; }
			#chartBox_Mainpage .stat.sets		{ display: none; }
			.home-bodyweight .stat.max			{ display: none; }		/* wie "Sätze" im Fortschritt : Handy = 3 Kacheln nebeneinander */

		/* --- page : statistik — Titel kleiner ---------------------------------------------------------------------------------------- */

			.stat-title > b								{ font-size: 18px; }

		/* --- page : statistik V2 — Handy : Kopfzeile statt Titel, Auswahl klappt nach der Wahl zu ------------------------------------------- */

			#statistik-page .statistik-title							{ display: none; }		/* Name steht schon gross in der Kopfzeile */
			#statistik-page.picked .statistik-pickbar					{ display: flex; }
			#statistik-page.picked:not(.pick-open) .statistik-pick-body	{ display: none; }
			#statistik-page.picked.pick-open .statistik-pick-body		{ margin-top: 0; }

			/* Kopfzeile + aufgeklappte Auswahl = EINE Glas-Karte ( .statistik-pick ), nicht zwei Boxen untereinander : Kopfzeile und .finder geben ihre eigene Flaeche ab */
			#statistik-page.picked .statistik-pick
			{
				background: var(--app-Glass-Card);
				border-radius: var(--app-Radius-Card);
				box-shadow: var(--app-Glass-Lip), var(--app-Glass-Ring);
				-webkit-backdrop-filter: var(--app-Blur);
				backdrop-filter: var(--app-Blur);
			}
			#statistik-page.picked .statistik-pickbar
			{
				background: none;
				border: 0;
				border-radius: var(--app-Radius-Card);
				box-shadow: none;
				padding: 12px 16px;
			}
			#statistik-page.picked .statistik-pick .finder
			{
				background: none;
				border-radius: 0;
				box-shadow: none;
				-webkit-backdrop-filter: none;
				backdrop-filter: none;
				padding: 0 14px 14px;
			}
			#statistik-page .statistik-list							{ max-height: calc(43px + 4 * var(--fi-h) + 3 * 8px); }		/* 1px Rahmen + 10px Luft + Trenner ( 24px + 8px Abstand ) + 4 Zeilen + 3 Abstaende : die ersten 4 Eintraege stehen ganz da */
			#statistik-page .statistik-row-main > i.statistik-sub			{ white-space: normal; }		/* Datum oben, Top-Satz darunter, bricht statt abzuschneiden */

			.header-MenuBar:not(.session)	{ height: 84px; }		/* wie die Desktop-Leiste ( die Session-Regel oben setzt height: auto fuer ALLE Seiten ) */

	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media screen and (max-width: 520px)   —   muscle-group panel stacks   ============================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media screen and (max-width: 520px)
	{
		:root							{ --app-Menu-Blur: blur(14px); }
		body.menu .sideMenu-Background	{ background-color: rgb(var(--pal-shade-rgb) / .88); }		/* Handy : Abdunkelung hinter dem Menue deutlich staerker ( vorher .55 dunkel / .30 hell ) */
		.sideMenu-Container			{ width: min(268px, 72vw); background-color: rgb(var(--pal-deep-rgb)); }		/* Handy : schmaler, Panel deckend ( Gradient-Lichtfleck bleibt, nur die Durchsicht faellt weg ) */
		.mg-view					{ flex-direction: column; align-items: stretch; padding: 0px; }
		.mg-view .muscleGroup-box	{ align-self: center; gap: 18px; }
		.finder-tabs.cols-4			{ gap: 4px; }		/* Uebungsseite : 4 Tabs in EINER Reihe ( 2026-10-03, vorher 2 x 2 ) -- kleinere Schrift, Zahl als zweite kleine Angabe */
		.finder-tabs.cols-4 > span	{ padding-left: 2px; padding-right: 2px; font-size: 11px; white-space: nowrap; }
		.finder-tabs.cols-4 > span > .tab-n	{ margin-left: 3px; font-size: 10px; opacity: .75; }
		.look-row					{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 6px; }		/* Einstellungen : Farb-Kacheln immer 5 pro Reihe, Breite folgt dem Handy */
		.look-swatch				{ width: auto; min-width: 0; gap: 6px; }
		.look-swatch > i			{ width: 100%; height: auto; aspect-ratio: 1 / 1; }
		.look-swatch > span			{ font-size: 11px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

		/* #mg-library : .mg-view IS the well here (§27, background auf dem Element selbst) statt in einem umgebenden .mg-toggle-panel --
		   das Zuruecksetzen auf padding:0 oben liesse die %-Zeilen sonst an der Well-Kante kleben. */
		#mg-library .mg-view		{ padding: 0px 14px; }

		/* .mg-toggle-panel > .mg-view : die Bodenluft im offenen Zustand gibt seit 2026-09-23 das Panel selbst ( padding-bottom 16px,
		   §16 bei .mg-toggle-panel ) -- das fruehere padding-bottom:12px hier fiel damit weg. */

		#statistik-page .statistik-row				{ gap: 8px; padding: 11px 12px; }
		#statistik-page .statistik-row-main > b		{ font-size: 13px; }
		#statistik-page .statistik-row-val > b		{ font-size: 14px; }

		.mg-row						{ grid-template-columns: 1fr 34px 58px; }
		.mg-row > .mg-bar			{ display: none; }
		.mg-row > .mg-state		{ font-size: 9.5px; padding: 4px 2px; }

		.mg-ex-list:has(> .mg-ex-row), .mg-ex-list:has(> .mg-ex-box)	{ display: flex; flex-direction: column; gap: 6px; }		/* Handy : kein gemeinsames Spalten-Raster ( keine Balken ), Zeile hat wieder ihr eigenes */
		.mg-ex-box, .mg-ex-inner	{ display: flex; flex-direction: column; }
		.mg-ex-row					{ grid-template-columns: auto 1fr auto auto; gap: 6px; padding: 12px 10px; font-size: 12px; }		/* ohne Balken-Spalte, Name bekommt den Platz ; Anzahl-Pille + Stufen-Pille nehmen ihre eigene Breite ( feste 18/40px liessen sie aus der Zeile ragen ) */
		.mg-ex-row > .mg-state		{ min-width: 0; padding: 4px 8px; }		/* Handy : Stufen-Pille wieder schmal ( Desktop min-width 64px ) */
		.mg-ex-row > .mg-ex-name,
		.mg-ex-text > .mg-ex-name	{ white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }		/* Handy : Uebungsname bis zu zwei Zeilen statt "Cable Lat One Arm Pulldo…" ( User 2026-09-25 ) */
		.mg-ex-box					{ padding: 14px 8px 16px; gap: 10px 0; }		/* Handy : Boxen hoeher ( User 2026-09-25 ) */
		.mg-ex-box.sub				{ padding: 12px 6px 14px; gap: 8px 0; }
		.mg-ex-box > .mg-ex-section-head	{ padding: 0 6px; font-size: 12px; }		/* Handy : Kopftexte groesser, passend zu den groesseren Zeilen */
		.mg-ex-box > .mg-ex-subhead		{ font-size: 11px; }
		#mg-library exp-box.subGroup.MuscleGroup > exp-header > exp-cap.name > span	{ font-size: 17px; }		/* Handy : Muskelgruppen-Namen groesser als die Kopftexte darin ( User 2026-09-25 ) */		/* Handy : Abschnittstext ( Hauptmuskel / Mitbeteiligt / Wenig ) startet auf einer Linie mit "Von dir trainiert" ( 6px = Innenabstand der Untergruppen-Box ) */
		.mg-ex-row .mg-bar			{ display: none; }		/* Handy : keine Balken in der Bibliothek ( User 2026-09-24 ), wie .mg-row */
		.mg-ex-row.period .mg-bar		{ display: block; }		/* Zeitraum : Balken auch am Handy ( 2026-10-03 ) -- sonst gibt es nur Streifen + Prozent, keinen Groessenvergleich */
		#mg-period-content .stat-range				{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }		/* Handy : 4 + 3 Chips gleich breit ( 1 Jahr / 2 Jahre / Eigener Zeitraum ueber 2 Spalten ) statt zwei unterschiedlich langer Reihen */
		#mg-period-content .stat-range > .filter-tag	{ padding: 6px 4px; font-size: 12px; }
		#mg-period-content .stat-range > .filter-tag:last-child	{ grid-column: span 2; }

		/* --- page : gewicht.php — Eintrags-Zeile : Notiz rutscht in eine zweite Zeile statt auf "z..." zusammenzuschrumpfen ---------------- */
		#gw-kpis > .stat			{ flex: 1 1 40%; }		/* 2×2 statt 4-up : sonst bricht "Minimum · 6 Monate" mitten im Text um */
		#gw-kpis .stat > b			{ font-size: 16px; }
		#gw-kpis .stat > span		{ font-size: 10.5px; }
		.chart-panel				{ padding: 12px 6px 10px; }
		.chart-legend				{ padding-left: 4px; padding-right: 4px; }
		#statistik-page .chart-legend		{ padding-left: 0; padding-right: 0; }		/* Kopf, Umschalter, Y-Achse und Legende laufen auf einer linken Kante ( Handy ) */
		.gw-row
		{
			grid-template-columns: minmax(0, 1fr) auto auto auto;
			grid-template-areas: "date weight delta acts";
			gap: 6px 10px;
			padding: 12px 12px;
		}
		.gw-row-weight				{ font-size: 16px; }
		.gw-row-acts				{ margin-left: 4px; }

		/* --- page : statistik.php — Detail-Zeile ( §19.5 einzeilig ) : Top-Satz / ★-Marker unter das Datum statt auf "Top-Satz 5..." zu kuerzen */
		.stat-drow					{ grid-template-columns: minmax(0, 1fr) auto minmax(68px, max-content); gap: 4px 12px; align-items: center; }
		.stat-drow > .d-name		{ grid-column: 1; grid-row: 1; }
		.stat-drow > .d-sub			{ grid-column: 1; grid-row: 2; }
		.stat-drow > .d-val			{ grid-column: 2; grid-row: 1 / span 2; }
		.stat-drow > .badge			{ grid-column: 3; grid-row: 1 / span 2; }

		/* weniger Abstand rechts ( statistik.php + Verlauf in der Uebungs-Karte, User 2026-09-23 ) : .stat-dbox / .stat-drow schmaler,
		   kurze Pillen ( "+110 kg" ) buendig an den rechten Rand statt links in der 68px-Spalte */
		.stat-dbox							{ padding: 6px; }
		.stat-drow							{ padding-right: 8px; }
		.stat-drow > .badge					{ justify-self: end; }

		/* --- page : exercisePage.php — Verlauf in der Karte (§24.7) : Panel-Innenabstand schmaler ; Session-Zeile dreizeilig
		       ( Datum / Top-Set / Saetze ) statt "Top-Set 55 kg × 10 · …" zu kuerzen -- Wert + Pille bleiben vertikal zentriert */
		#exercisePage-box .ex-history .stat-drow > .d-sub > span		{ display: block; }
		#exercisePage-box .ex-history .stat-drow > .d-sub > .d-sep		{ display: none; }

	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media screen and (max-width: 420px)   —   exercise-picker filter tabs   ============================================================ */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media screen and (max-width: 420px)
	{
		.finder-tabs			{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

		/* Filter-Leiste : Innenabstand kleiner ( gilt ueberall ). Uebungsseite ( .ex-toolbar ) : drei Knoepfe + Pfeil in eine Reihe, dafuer
		   Schrift 11.5px + engerer Innenabstand ( Pfeil war zeitweise weg, User 2026-09-29 wieder gewuenscht; passt bis 360px ohne Kuerzung ). */
		.ex-filterbar					{ gap: 6px; }
		.ex-filter-btn					{ gap: 5px; padding: 8px 6px; font-size: 12px; }
		.ex-toolbar .ex-filter-btn				{ gap: 3px; padding: 8px 4px; font-size: 11.5px; }		/* drei Knoepfe + Pfeil in einer Reihe */
		.ex-toolbar .ex-filter-btn > .chev		{ font-size: 9px; }

		/* von/bis bleiben nebeneinander, aber Schrift + Innenabstand kleiner, damit "TT.MM.JJJJ" + Kalender-Pfeil in die halbe Breite passen */
		.stat-range-custom				{ gap: 8px; }
		.stat-range-custom input		{ padding: 7px 8px; font-size: 12px; }
		.stat-range-custom input::-webkit-calendar-picker-indicator	{ margin-left: 2px; }

		/* Handy : zwei Spalten, Kachel gestapelt ( Symbol, Name, Halbzeile ) -- spart Hoehe, die Bereiche bleiben direkt unter dem Start sichtbar */
		.home-grid			{ gap: 10px; }
		.home-cat			{ grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 2px; padding: 12px; min-height: 0; align-items: start; align-content: start; }		/* start statt center : bei zwei Zeilen in der Nachbarkachel rutschte das Symbol sonst tiefer */
		.home-cat > ico		{ --tile: 40px; grid-column: 1; grid-row: 1; justify-self: start; font-size: 20px; margin-bottom: 6px; }
		.home-cat > b		{ grid-column: 1; grid-row: 2; font-size: 16px; }
		.home-cat > span	{ grid-column: 1; grid-row: 3; font-size: 12.5px; }
	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media screen and (max-width: 400px)   —   startseite hero   ======================================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media screen and (max-width: 400px)
	{
		#chartBox_Mainpage .stat > b,
		.home-bodyweight .stat > b			{ font-size: 16px; }
		#chartBox_Mainpage .stat > span,
		.home-bodyweight .stat > span		{ font-size: 10.5px; }
	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media screen and (max-width: 380px)   —   tightest phones   ======================================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media screen and (max-width: 380px)
	{
		/* --- global --- */

			:root		{ --app-Gutter: 12px; }
			.main-box	{ padding: 0 max(var(--app-Gutter), env(safe-area-inset-right, 0px)) 16px max(var(--app-Gutter), env(safe-area-inset-left, 0px)); }
			.header-App-Name	{ padding: 0 16px; }	/* Pille bleibt auch am schmalen Handy um den Text geschlossen */

		/* --- page : plan-editor set row --- */

			.set-content .set-measure								{ font-size: .58em; }
			.set-box .set-content-box.right							{ width: 46px; flex: 0 0 46px; }
			.set-box .set-content-box.right > .set-content			{ --del-ico: 17px; }
			.set-box .set-content-box.right > .set-content:hover	{ --del-ico: 19px; }

		/* --- page : active session set row --- */

			.set-content .set-measure		{ font-size: .56em; }
			.set-box .set-content-box.right	{ width: 46px; flex: 0 0 46px; }

			.activeSession-box .set-box.saved .set-content.reps > input,
			.activeSession-box .set-box.saved .set-content.weight > input,
			.activeSession-box .set-box:not(.current) .set-content.reps > input,
			.activeSession-box .set-box:not(.current) .set-content.weight > input	{ padding: 0 6px; }

	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media screen and (min-width: 1000px)   —   desktop-up enhancements   =============================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media screen and (min-width: 1000px)
	{
		.home-grid	{ grid-template-columns: repeat(3, 1fr); }

		/* Speichern-Pille ( §13.1b ) : am Desktop eine Stufe groesser ( User 2026-09-27 ) */
		body .savePill								{ gap: 12px; padding: 14px 30px 16px 22px; }
		.savePill-Icon								{ font-size: 24px; }
		.savePill-Label								{ font-size: 18px; }

		/* Ausführung ( §24.8 ) : Animation links, Text rechts immer offen ( Zeile "Beschreibung" entfaellt ), Trennlinie senkrecht */
		exp-box.desc-shown .ex-desctext-row																			{ display: none; }
		#exercisePage-box exp-box.desc-shown:not(.desctext-shown) .ex-desc-panel > .ex-desctext-row + .ex-desc,
		#activeSession-box exp-box.desc-shown:not(.desctext-shown) .ex-desc-panel > .ex-desctext-row + .ex-desc	{ display: block; }
		#exercisePage-box exp-box.desc-shown .ex-desc-panel:has(> .ex-anim ~ .ex-desc),
		#activeSession-box exp-box.desc-shown .ex-desc-panel:has(> .ex-anim ~ .ex-desc)
		{
			display: grid;
			grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
			column-gap: 20px;
			align-items: start;
		}
		#exercisePage-box exp-box.desc-shown .ex-desc-panel > .mg-toggle-row,
		#activeSession-box exp-box.desc-shown .ex-desc-panel > .mg-toggle-row										{ grid-column: 1 / -1; }
		#exercisePage-box exp-box.desc-shown .ex-anim,
		#activeSession-box exp-box.desc-shown .ex-anim																{ max-width: none; margin: 0; padding-bottom: 0; }
		#exercisePage-box exp-box.desc-shown .ex-anim ~ .ex-desc,
		#activeSession-box exp-box.desc-shown .ex-anim ~ .ex-desc													{ align-self: stretch; border-top: 0; border-left: var(--app-BorderStyle); padding: 4px 0 0 20px; font-size: 18px; line-height: 1.6; }

		/* statistik V2 : zwei Spalten, Auswahl sticky links und nie hoeher als der Bildschirm ( Liste scrollt in sich ), 4 Kennzahlen in einer Reihe, Session-Kennzahlen als Spalten */
		#statistik-page .statistik-layout		{ display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
		#statistik-page .statistik-pick			{ position: sticky; top: 110px; }
		#statistik-page .statistik-list			{ grid-template-columns: 1fr; height: calc(100vh - 314px); min-height: calc(43px + 3 * var(--fi-h) + 2 * 8px); max-height: none; }		/* PC : Box holt sich den Platz bis unten, egal ob "Noch nie trainiert" offen ist. 314px = Sticky-Abstand oben 110 + Kopf der Box ( Tabs + Suche ) 117 + Rand unten 15 + Footer 51 + 21 Luft wie unter dem Body */
		#statistik-page .statistik-body			{ padding: 16px; background: var(--app-Glass-Card); border-radius: var(--app-Radius-Card); box-shadow: var(--app-Glass-Lip), var(--app-Glass-Ring); box-sizing: border-box; }		/* Body als eine Box ( wie die Auswahl links ) */
		#statistik-page .statistik-kpis			{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
		#statistik-page .statistik-row-cell		{ display: flex; }
		#statistik-page .statistik-row-main > i.statistik-sub	{ display: none; }

		/* auswertung ( §31b ) : Personen- und Feedback-Karten als Raster statt einspaltig */
		#auswertung-page .aw-list	{ grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

		/* Desktop : Kopf- und Fussleiste nie breiter als die Inhaltsspalte ( .main-box : max 1280 px, 20 px Innenrand ), mittig ( User 2026-10-01 ) */
		.header-container							{ max-width: var(--app-Content-MaxWidth); margin-inline: auto; }
		footer										{ left: 0; right: 0; width: min(calc(100% - 32px), calc(var(--app-Content-MaxWidth) - 40px)); margin-inline: auto; }

	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media (prefers-reduced-motion: reduce)   ========================================================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media (prefers-reduced-motion: reduce)
	{
		.tap														{ transition: none; }		/* finder-item, mg-ex-row, stat-drow / stat-brow */
		html.intro-play #intro-stage								{ display: none; }		/* §21.0 Start-Intro : bei "Bewegung reduzieren" entfaellt sie ganz */
		.trainingBar-time.flash,
		.trainingBar-btn.reset.flash ico							{ animation: none; }		/* §23.5 Zurücksetzen : kein Effekt */
		#auswertung-page .aw-head > ico.chev						{ transition: none; }		/* §31b Feedback-Karte : Pfeil springt statt zu drehen */

		.saveFeedback .saveFeedback-Icon,
		.saveFeedback .saveFeedback-Icon *							{ animation: none; stroke-dashoffset: 0; }	/* Overlay §13.1 : Endzustand sofort */
		body .savePill,
		body .savePill.show										{ transition: opacity 0.2s ease; transform: translate(-50%, 0); }	/* Pille §13.1b blendet nur ein / aus */
		.savePill.error .savePill-Icon								{ animation: none; }
		body .undoBar												{ transition: opacity 0.2s ease; transform: translate(-50%, 0); }

		.feedback-Background,
		.feedback-Container										{ transition: none; }		/* Feedback-Overlay §13.2 : sofort da / weg */
		.sortMode exp-box.subGroup.sortMoving						{ transition: none; }

		.trainingBar.alert .trainingBar-time						{ animation: none; }
		.trainingBar.setRunning .trainingBar-dot					{ animation: none; }
		.header-ActiveSession.alert .returnBar-time,
		.header-ActiveSession.setRunning .returnBar-dot				{ animation: none; }		/* Rueckkehr-Leiste, gleiche Regel wie der Trainings-Balken */		/* Rot bleibt, nur das Blinken entfaellt */
		.home-hero-main.alert .returnBar-time,
		.home-hero-main.setRunning .returnBar-dot,
		.hero-ring													{ animation: none; }		/* Startseiten-Hero ( §21.2 ) : Blinken / Pulsieren entfaellt */

		exp-box.loading > exp-header > exp-btn > ico.toogle,
		exp-box.mg-loading > exp-content > .mg-toggle-panel > .mg-toggle-row > .chev,
		#exercisePage-box exp-box.hist-loading .ex-history-row > .chev	{ animation: none; opacity: .4; }	/* §14 / §24 Laden : gedimmt statt Pulsieren */

		exp-col.ex-lvl > ico.global								{ animation: none; }		/* Globus in der Uebungszeile steht still */
		.home-install-main > ico,
		.home-install-main > ico > i								{ animation: none; }		/* §21 App installieren : Symbol steht still */
		#activeSession-box exp-box.subGroup.Exercise:has(.set-box.current) > exp-header > ico.sortIcon	{ animation: none; }		/* §23 aktive Uebung : Icon steht still */

		.filter-tag,
		.exercise-remove,
		.set-box .del ico										{ transition: none; }

		.mg-edit-row .mg-del,
		.mg-edit-add,
		.ex-act,
		.finder-tabs > span										{ transition: none; }

		.set-box.cleared > .set-content-box.left > .set-content	{ animation: none; }
		exp-box.subGroup.startFlash								{ animation: none; }

		.home-recent-list exp-box.subGroup							{ transition: none; }

		.activeSession-box .set-box.saveSweep > .set-content-box.left > .set-content,
		.activeSession-box .set-box.trendLand .set-content.reps > .set-trend	{ animation: none; }		/* §23.4 : Endzustand sofort */
		.activeSession-box .set-content.reps > .set-trend-shot		{ display: none; }
		.activeSession-box .set-content > .set-delta.up,
		.activeSession-box .set-content > .set-delta.down			{ animation: none; opacity: 1; }		/* die Differenz bleibt stehen, nur ohne Einblenden */

		.ptr													{ transition: none; }
		.ptr.center,
		.ptr.center > ico										{ animation: none; }

		body .notice											{ transition: none; transform: translate(-50%, 0); }
	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media (hover: hover) and (pointer: fine)   —   real-mouse hover only, keeps touch taps from "sticking"   ======================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media (hover: hover) and (pointer: fine)
	{
		/* Baustein Chip ( §18 ) : Hover = leichte Aufhellung, aktive Chips behalten ihren Look */
		.filter-tag:not(.active):hover, .ex-filter-btn:not(.open):not(.has-sel):hover, .finder-tabs > span:not(.on):hover		{ background: var(--app-Hover-bg-strong); color: var(--app-Font-color); }

		/* Baustein Knopf ( §18 ) : Hover = Aufhellung, nie Anheben */
		.ex-act:hover, .dialog-Btn:hover, .login-submit:hover, .set-act:hover,
		.set-box.add > .set-content-box > .set-content:hover		{ filter: brightness(1.12); }

		/* Buttons der Satzzeile ( .set-act, §23.4 ) : Hover-Farbe folgt der Aktion hinter dem Klick -- Speichern gruen, Bearbeiten gelb, Leeren Danger-Rot */
		.set-act.iconSave:hover			{ background: var(--app-BackgroundSave-Color); border-color: transparent; color: var(--app-Font-OnFill-color); }
		.set-act.iconEdit:hover			{ background: var(--app-BackgroundEdit-Color); border-color: transparent; color: var(--app-Font-OnFill-color); }
		.set-act.iconClear:hover		{ background: var(--app-Danger-Background-Hover-Color); border-color: var(--app-Font-Alert-color); color: var(--app-Font-Alert-color); }
		.set-skip:hover					{ color: var(--app-Font-Accent-color); border-color: var(--app-IconBtn-Hover-bd); }

		/* Filter-Chips + Filter-Knoepfe ( §19, §24.1 ) : Hover nur mit echter Maus, am Handy sonst haengen geblieben nach dem Antippen. Aktiv/offen behaelt seinen Look ( :not(.open), .on:hover unten ) */
		.ex-filter-reset:hover			{ color: var(--app-Font-color); }
	}

	/* ------------------------------------------------------------------------------------------------------------------------------------------ */
	/* ===  @media (pointer: coarse)   —   touch devices   ====================================================================================== */
	/* ------------------------------------------------------------------------------------------------------------------------------------------ */

	@media (pointer: coarse)
	{
		/* Datumsfelder appweit : Android-Chrome malt den Dropdown-Pfeil selbst an die Feldkante und ignoriert padding-right --
		   System-Pfeil aus, eigener Pfeil ( zwei Verlaufs-Haelften = Dreieck ) mit 16px Abstand zum rechten Rand. <select> hat ihn immer ( Par.5 ). */
		.edit-panel input[type=date],
		.stat-range-custom input[type=date]
		{
			-webkit-appearance: none;
			appearance: none;
			padding-right: 36px;
			background-image: linear-gradient(45deg, transparent 50%, var(--app-Font-Muted-color) 50%), linear-gradient(135deg, var(--app-Font-Muted-color) 50%, transparent 50%);
			background-position: right 21px center, right 16px center;
			background-size: 5px 5px;
			background-repeat: no-repeat;
		}
	}

	/* -------------------------------------------------------------------------------------------------------------------------------------------- */
