/* =====================================================================
   GESP Coach Mitgliederbereich – Design-System 2.0
   Farbrollen (streng):
     Gold  (--signal)  = Handlung & „du bist hier“ (Hauptbutton, aktive Navigation, aktueller Satz)
     Grün  (--ok)      = geschafft (erledigt, Ziel erreicht, Verbesserung)
     Hell  (--select)  = ausgewählt (Chips, Tabs) – invertiert
     Koralle (--warn)  = Achtung (Defizit, Überschreitung, Löschen)
   ===================================================================== */

.gesp-app, .gesp-gate {
	--bg: #1B252F;
	--surface: #222E3A;
	--raised: #2C3A48;
	--line: #3A4B5A;
	--text: #EEF2F5;
	--muted: #9DAAB6;
	--signal: #D4B96A;
	--signal-hover: #E6CF8C;
	--signal-soft: rgba(212,185,106,.14);
	--ink: #1B252F;
	--ok: #61CE70;
	--warn: #FF8A7A;
	--select: #EEF2F5;
	--track: #2C3A48;
	--fill: #C7D2DB;
	--r-s: 8px;
	--r-m: 12px;
	--r-l: 18px;
	--nav-h: 66px;
	--tap: 48px;
	color: var(--text);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-tap-highlight-color: transparent;
	font-variant-numeric: tabular-nums;
}
.gesp-app *, .gesp-gate * { box-sizing: border-box; }

.gesp-app {
	background: var(--bg);
	border-radius: var(--r-l);
	max-width: 720px;
	margin: 0 auto;
	padding: 20px 16px calc(var(--nav-h) + 32px);
	min-height: 70vh;
	position: relative;
}

/* ---------- Typografie ---------- */
.gesp-app h1, .gesp-app h2, .gesp-app h3 { color: var(--text); margin: 0 0 .4em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; font-family: 'Archivo', 'Inter', system-ui, sans-serif; text-transform: none; }
.gesp-app h1 { font-size: 1.6rem; }
.gesp-app h2, .gesp-app .g-h2 { font-size: 1.15rem; }
.gesp-app h3 { font-size: 1rem; }
.g-h2 { margin: 28px 0 10px !important; }
.gesp-app p { margin: 0 0 .75em; }
.gesp-app a { color: var(--text); }
.g-muted { color: var(--muted); }
.g-small { font-size: .85rem; }
.g-fine { color: var(--muted); font-size: .78rem; margin-top: 10px; }
.g-hint { color: var(--muted); font-size: .88rem; margin: 8px 2px 0; }
.g-center { text-align: center; }
.g-good, .g-up { color: var(--ok); }
.g-warn, .g-down { color: var(--warn); }
.g-same { color: var(--muted); }

/* ---------- Layout-Helfer ---------- */
.g-row { display: flex; gap: 10px; align-items: center; }
.g-row--wrap { flex-wrap: wrap; }
.g-row--between { justify-content: space-between; }
.g-grow { flex: 1; min-width: 0; }
.g-stack > * + * { margin-top: 12px; }
.g-hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.g-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* ---------- Flächen ---------- */
.g-card { background: var(--surface); border-radius: var(--r-l); padding: 16px; }
.g-card + .g-card { margin-top: 12px; }
.g-card--tap { display: block; text-decoration: none; color: inherit; transition: background .15s; }
.g-card--tap:hover { background: var(--raised); }
.g-card__title { font-weight: 700; font-size: 1.05rem; margin: 0; }

/* ---------- Buttons: Primär / Sekundär / Text / Gefahr ---------- */
.gesp-app button { font: inherit; }
.g-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--tap); padding: 0 18px;
	border-radius: var(--r-m); border: 1.5px solid var(--line);
	background: transparent; color: var(--text) !important;
	font-weight: 600; cursor: pointer; text-decoration: none !important; line-height: 1.2;
	transition: background .15s, border-color .15s, color .15s;
}
.g-btn:hover { border-color: var(--text); }
.g-btn:disabled { opacity: .4; cursor: not-allowed; }
.g-btn--secondary { }
.g-btn--primary { background: var(--signal); border-color: var(--signal); color: var(--ink) !important; font-weight: 700; }
.g-btn--primary:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.g-btn--ghost, .g-btn--text { border-color: transparent; color: var(--muted) !important; }
.g-btn--ghost:hover, .g-btn--text:hover { color: var(--text) !important; border-color: transparent; text-decoration: underline !important; }
.g-btn--text { min-height: 40px; padding: 0 8px; font-weight: 500; font-size: .9rem; }
.g-btn--danger { border-color: transparent; color: var(--warn) !important; }
.g-btn--danger:hover { border-color: var(--warn); text-decoration: none !important; }
.g-btn--block { width: 100%; }
.g-btn--lg { min-height: 56px; font-size: 1.08rem; border-radius: 14px; }
.g-btn--sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.g-icon-btn {
	width: var(--tap); height: var(--tap); border-radius: var(--r-m); border: 1.5px solid var(--line);
	background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; font-size: 1.15rem; flex: 0 0 auto; text-decoration: none;
}
.g-icon-btn:hover { border-color: var(--text); }
.g-icon-btn:disabled { opacity: .3; cursor: default; }
.gesp-app :focus-visible, .gesp-gate :focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ---------- Formulare ---------- */
.g-field { display: block; margin-bottom: 12px; }
.g-field > span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 5px; }
.gesp-app input[type=text], .gesp-app input[type=number], .gesp-app input[type=search], .gesp-app input[type=date], .gesp-app select, .gesp-app textarea {
	width: 100%; min-height: var(--tap); padding: 10px 12px;
	background: var(--bg); color: var(--text);
	border: 1.5px solid var(--line); border-radius: var(--r-m); font: inherit; font-size: 16px;
}
.gesp-app input:focus, .gesp-app select:focus, .gesp-app textarea:focus { outline: none; border-color: var(--text); }
.gesp-app input[type=date] { color-scheme: dark; }
.g-check { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; cursor: pointer; }
.g-check input { width: 22px; height: 22px; accent-color: var(--ok); flex: 0 0 auto; margin-top: 1px; }
.g-fieldset { border: 0; padding: 0; margin: 0 0 6px; }
.g-fieldset legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.g-field--locked { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.g-locked-input { display: flex; align-items: center; min-height: var(--tap); padding: 0 12px; border: 1.5px dashed var(--line); border-radius: var(--r-m); color: var(--muted); font-size: .9rem; }

/* ---------- Auswahl: Chips & Tabs (ausgewählt = hell invertiert) ---------- */
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.g-chips--scroll::-webkit-scrollbar { display: none; }
.g-chip {
	min-height: 40px; padding: 0 16px; border-radius: 999px; flex: 0 0 auto;
	background: transparent; border: 1.5px solid var(--line); color: var(--text) !important;
	display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .92rem; text-decoration: none !important; white-space: nowrap;
}
.g-chip:hover { border-color: var(--text); }
.g-chip.is-on { background: var(--select); border-color: var(--select); color: var(--ink) !important; font-weight: 600; }
.g-chip.is-locked { color: var(--muted) !important; border-style: dashed; }
.g-chip input { display: none; }
.g-range { margin: 12px 0 4px; }

.g-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface); padding: 4px; border-radius: var(--r-m); margin-bottom: 18px; }
.g-seg a, .g-seg button { text-align: center; padding: 10px 4px; border-radius: 9px; color: var(--muted) !important; text-decoration: none !important; font-weight: 600; font-size: .92rem; background: none; border: 0; cursor: pointer; font-family: inherit; }
.g-seg a:hover, .g-seg button:hover { color: var(--text) !important; }
.g-seg .is-on { background: var(--select); color: var(--ink) !important; }
.g-seg--small a, .g-seg--small button { font-size: .85rem; padding: 8px 2px; }

/* ---------- Fortschrittsbalken ---------- */
.g-bar, .g-meter { display: block; height: 8px; background: var(--track); border-radius: 99px; overflow: hidden; }
.g-bar > i, .g-meter > i { display: block; height: 100%; background: var(--fill); border-radius: 99px; }
.g-bar.is-over > i { background: var(--warn); }
.g-bar--thin { height: 5px; margin-top: 5px; }

/* ---------- Kennzahlen ---------- */
.g-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g-kpi { background: var(--surface); border-radius: var(--r-m); padding: 14px; }
.g-kpi__label { color: var(--muted); font-size: .82rem; }
.g-kpi__value { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.g-kpi__delta { font-size: .85rem; font-weight: 600; }
@media (min-width: 560px) { .g-kpis { grid-template-columns: repeat(4, 1fr); } }

.g-badge { display: inline-block; font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: var(--raised); color: var(--muted); font-weight: 600; }
.g-badge--ok { background: rgba(97,206,112,.15); color: var(--ok); }
.g-badge--accent { background: transparent; border: 1px solid rgba(212,185,106,.5); color: var(--signal); }

/* ---------- Kopf & Navigation ---------- */
.g-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.g-top h1 { margin: 0; flex: 1; }
.g-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
	height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: #151E27; border-top: 1px solid var(--line);
	display: flex; justify-content: center;
}
.g-nav__inner { display: flex; width: 100%; max-width: 720px; }
.g-nav a { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; }
.g-nav a svg { width: 24px; height: 24px; }
.g-nav a:hover { color: var(--text); }
.g-nav a.is-active { color: var(--signal); }
.g-nav a.is-active::before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--signal); }

/* ---------- Start-Dashboard ---------- */
.g-hello { margin-bottom: 18px; }
.g-hello h1 { font-size: 1.75rem; margin-bottom: 2px; }
.g-hello p { margin: 0; }
.g-freebar { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--r-l); padding: 12px 14px; margin-bottom: 16px; }

.g-stampcard { background: var(--surface); border-radius: var(--r-l); padding: 16px 14px 12px; margin-bottom: 16px; }
.g-stampcard__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.g-stampcard__head h2 { margin: 0; font-size: 1.05rem; }
.g-stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.g-stamp { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.g-stamp__day { font-size: .78rem; color: var(--muted); font-weight: 600; }
.g-stamp__seal {
	width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	border: 2px dashed var(--line); color: var(--muted); font-weight: 700; font-size: .9rem;
}
.g-stamp.is-trained .g-stamp__seal { border: 0; background: var(--ok); color: var(--ink); transform: rotate(-8deg); box-shadow: inset 0 0 0 3px rgba(27,37,47,.18); }
.g-stamp.is-trained .g-stamp__seal svg { width: 22px; height: 22px; }
.g-stamp.is-today .g-stamp__day { color: var(--signal); }
.g-stamp.is-today .g-stamp__seal { border-style: solid; border-color: var(--signal); color: var(--text); }
.g-stamp.is-today.is-trained .g-stamp__seal { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--signal); }
.g-stamp.is-future { opacity: .45; }
.g-stamp__dots { display: flex; gap: 4px; height: 6px; }
.g-stamp__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--track); }
.g-stamp__dots i.is-on { background: var(--fill); }
.g-stamp__dots i + i { border-radius: 1px; }
.g-stamp__dots i + i.is-on { background: var(--ok); }
.g-stampcard__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 12px 0 0; }
.g-legend-seal, .g-legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-left: 6px; }
.g-legend-seal { margin-left: 0; }
.g-legend-dot { width: 6px; height: 6px; background: var(--fill); }
.g-legend-dot.is-second { border-radius: 1px; background: var(--ok); }

.g-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.g-tile { background: var(--surface); border-radius: var(--r-l); padding: 14px; display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: var(--text) !important; min-height: 160px; transition: background .15s; }
.g-tile:hover { background: var(--raised); }
.g-tile__label { color: var(--muted); font-size: .85rem; }
.g-tile__value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.g-tile__value small { font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.g-tile__value--text { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.g-tile__sub { color: var(--muted); font-size: .82rem; }
.g-tile__action { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--text); }
.g-tile__action::after { content: ' ›'; color: var(--muted); }
.g-spark { width: 100%; height: 34px; color: var(--fill); }
.g-spark__dot { fill: var(--signal); }
@media (max-width: 360px) { .g-tiles { grid-template-columns: 1fr; } }

.g-row-link { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px; background: var(--surface); border-radius: var(--r-l); text-decoration: none !important; color: var(--text) !important; }
.g-row-link:hover { background: var(--raised); }
.g-row-link > span > span { display: block; }
.g-row-link__title { font-weight: 700; }
.g-chevron { color: var(--muted); font-size: 1.4rem; }

/* ---------- Fortschritt / Körperwerte ---------- */
.g-metric-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.g-metric-hero__value { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; margin: 4px 0; }
.g-metric-hero__value small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.g-chart { margin: 14px 0 0; background: var(--surface); border-radius: var(--r-l); padding: 12px 8px 4px; }
.g-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-chart__grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.g-chart__axis { fill: var(--muted); font-size: 10px; font-family: inherit; }
.g-chart__line { fill: none; stroke: var(--fill); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.g-chart__area { fill: rgba(199,210,219,.08); }
.g-chart__dot { fill: var(--bg); stroke: var(--fill); stroke-width: 1.5; }
.g-chart__last { fill: var(--signal); stroke: var(--bg); stroke-width: 2; }
.g-chart--empty { padding: 40px 16px; text-align: center; }
.g-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; margin: 0; }
.g-values > div { background: var(--surface); padding: 12px 14px; }
.g-values dt { color: var(--muted); font-size: .82rem; }
.g-values dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; }
.g-list { list-style: none; margin: 0; padding: 0; }
.g-list li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.g-list li > span > span { display: block; }
.g-list__title { font-weight: 600; }
.g-empty-state { text-align: left; padding: 24px 4px; }
.g-empty-state .g-btn { margin-top: 12px; }

/* ---------- Planeditor ---------- */
.g-ex { background: var(--surface); border-radius: var(--r-l); padding: 14px; }
.g-ex__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.g-ex__name { font-weight: 700; flex: 1; min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.g-ex__head .g-icon-btn { width: 38px; height: 38px; font-size: 1rem; }
.g-ex__fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.g-ex__fields label span { font-size: .75rem; color: var(--muted); display: block; margin-bottom: 3px; }
.g-ex__fields input { min-height: 44px !important; padding: 6px 4px !important; text-align: center; }

/* ---------- Bottom-Sheets ---------- */
.g-sheet { position: fixed; inset: 0; z-index: 10000; background: rgba(8,12,16,.7); display: flex; align-items: flex-end; justify-content: center; }
.g-sheet__body {
	background: var(--bg); width: 100%; max-width: 720px; max-height: 90vh;
	border-radius: 22px 22px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
	overflow-y: auto; color: var(--text); border-top: 1px solid var(--line);
}
.g-sheet__body::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.g-sheet__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.g-sheet__head h2 { margin: 0; flex: 1; font-size: 1.15rem; }
.g-pick { display: flex; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.g-pick:hover { background: var(--surface); }
.g-group-title { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 18px 0 6px; }

/* ---------- Live-Training ---------- */
.g-live-progress { height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.g-live-progress > i { display: block; height: 100%; background: var(--ok); transition: width .3s; }
.g-current { background: var(--surface); border: 2px solid var(--signal); border-radius: 20px; padding: 18px 16px; }
.g-current__ex { font-size: 1.45rem; font-weight: 800; margin: 2px 0 4px; line-height: 1.2; }
.g-current__set { color: var(--signal); font-weight: 700; font-size: .92rem; }
.g-target { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.g-stepper { background: var(--raised); border-radius: 14px; padding: 10px; text-align: center; }
.g-stepper__label { color: var(--muted); font-size: .82rem; }
.g-stepper__row { display: flex; gap: 8px; margin-top: 6px; }
.g-stepper__row .g-icon-btn { flex: 1; width: auto; height: 44px; font-size: 1.4rem; background: var(--bg); }
.g-stepper__val { min-width: 0; }
.g-stepper__val input { width: 100% !important; background: transparent !important; border: 0 !important; text-align: center; font-size: 2.2rem !important; font-weight: 800; padding: 0 !important; min-height: 50px !important; color: var(--text); -moz-appearance: textfield; }
.g-stepper__val input::-webkit-outer-spin-button, .g-stepper__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.g-last { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.g-last--locked { display: block; width: 100%; background: none; border: 1.5px dashed var(--line); border-radius: var(--r-m); color: var(--muted); padding: 8px 10px; text-align: left; cursor: pointer; font: inherit; font-size: .85rem; }
.g-last--locked .g-blur { display: inline; margin: 0; filter: blur(4px); }
.g-next { background: var(--surface); border-radius: var(--r-m); padding: 12px 14px; margin-top: 12px; display: flex; gap: 10px; align-items: center; }
.g-next__label { font-size: .82rem; color: var(--muted); }
.g-overview .g-ov-ex { padding: 12px 0; border-bottom: 1px solid var(--line); }
.g-overview .g-ov-ex:last-child { border-bottom: 0; }
.g-ov-ex.is-current .g-ov-name > span:first-child { color: var(--signal); }
.g-ov-name { font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.g-sets { display: flex; flex-wrap: wrap; gap: 6px; }
.g-set { min-width: 64px; min-height: 40px; padding: 4px 10px; border-radius: var(--r-s); background: transparent; border: 1.5px solid var(--line); color: var(--text); font-size: .82rem; cursor: pointer; line-height: 1.15; text-align: center; }
.g-set.is-done { background: rgba(97,206,112,.14); border-color: var(--ok); color: var(--ok); }
.g-set.is-current { border-color: var(--signal); }

.g-rest { position: fixed; inset: 0; z-index: 10001; background: rgba(15,21,27,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--text); padding: 24px; text-align: center; }
.g-rest__time { font-size: 3.6rem; font-weight: 800; color: var(--text); line-height: 1; }
.g-rest__ring { width: 220px; height: 220px; position: relative; display: flex; align-items: center; justify-content: center; }
.g-rest__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.g-rest__next { color: var(--muted); max-width: 320px; }
.g-rest__next strong { color: var(--text); display: block; font-size: 1.1rem; }

/* ---------- Zusammenfassung ---------- */
.g-hero { text-align: center; padding: 18px 8px 10px; }
.g-hero__icon { font-size: 2.6rem; }
.g-sum-line { margin-top: 6px; font-size: .92rem; display: flex; gap: 8px; }
.g-sum-line span { flex: 0 0 96px; color: var(--muted); font-size: .85rem; }
.g-macros { display: flex; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.g-macros b { color: var(--text); }

/* ---------- Ernährung ---------- */
.g-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-bottom: 14px; }
.g-day { min-width: 0; min-height: 44px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: transparent; color: var(--text); font-weight: 700; cursor: pointer; padding: 0; }
.g-day.is-on { background: var(--select); border-color: var(--select); color: var(--ink); }
.g-day.is-locked { color: var(--muted); border-style: dashed; font-size: .85rem; }
.g-meal { display: flex; gap: 12px; align-items: center; }
.g-meal__img { width: 60px; height: 60px; border-radius: var(--r-m); background: var(--raised) center/cover no-repeat; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.g-meal__img.is-locked { opacity: .6; font-size: 1.1rem; }
.g-meal__type { font-size: .82rem; color: var(--muted); font-weight: 600; }
.g-meal__title { font-weight: 700; line-height: 1.3; }
.g-recipe-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-l); margin-bottom: 12px; }
.g-ingredients { list-style: none; margin: 0; padding: 0; }
.g-ingredients li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.g-note { border-left: 3px solid var(--fill); background: var(--surface); padding: 12px 14px; border-radius: 0 var(--r-m) var(--r-m) 0; }

.g-datebar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.g-datebar__label { flex: 1; text-align: center; display: flex; flex-direction: column; }
.g-macro-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-macro-grid .g-small { white-space: nowrap; }
@media (max-width: 420px) { .g-macro-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 16px; } }
.g-meal-sec { margin-top: 12px; padding: 12px 16px; }
.g-meal-sec h3 { font-size: 1.02rem; }
.g-meal-sec .g-icon-btn { width: 40px; height: 40px; font-size: 1.3rem; }
.g-entry { display: flex; width: 100%; gap: 10px; align-items: center; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 11px 0 9px; color: var(--text); font: inherit; cursor: pointer; }
.g-entry:first-of-type { margin-top: 10px; }
.g-entry:hover .g-entry__name { text-decoration: underline; }
.g-entry > span > span { display: block; }
.g-entry__name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.g-entry__kcal { font-weight: 800; white-space: nowrap; }
.g-entry__kcal::after { content: ' kcal'; font-weight: 400; color: var(--muted); font-size: .8rem; }
.g-plan-hint { display: flex; gap: 10px; align-items: center; border: 1.5px dashed var(--line); border-radius: var(--r-m); padding: 10px 12px; margin-top: 10px; }
.g-plan-hint .g-small, .g-plan-hint .g-entry__name { display: block; }
.g-micro { margin: 10px 0 12px; font-size: .92rem; }
.g-micro.is-good .g-bar i { background: var(--ok); }
.g-micro.is-mid .g-bar i { background: var(--fill); }
.g-micro.is-low .g-bar i, .g-micro.is-bad .g-bar i { background: var(--warn); }
.g-food-sheet { min-height: 72vh; }
.g-food { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.g-food__main { flex: 1; text-align: left; background: none; border: 0; color: var(--text); padding: 12px 4px; cursor: pointer; font: inherit; }
.g-food__main:hover .g-entry__name { text-decoration: underline; }
.g-food__main .g-small { display: block; margin-top: 2px; }
.g-food__fav { background: none; border: 0; color: var(--muted); font-size: 1.35rem; width: 48px; cursor: pointer; }
.g-food__fav.is-on { color: var(--text); }
.g-icon-btn--lg { width: var(--tap); height: var(--tap); }

/* Scanner */
.g-scan { position: relative; border-radius: var(--r-l); overflow: hidden; background: #000; aspect-ratio: 4/3; }
.g-scan video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-scan__frame { position: absolute; left: 12%; right: 12%; top: 32%; bottom: 32%; border: 3px solid var(--signal); border-radius: 12px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
#g-scan-manual { margin-top: 12px; }

/* ---------- Premium-Hinweise ---------- */
.g-upsell { background: var(--surface); border: 1.5px solid rgba(212,185,106,.4); border-radius: var(--r-l); padding: 16px; margin-top: 12px; }
.g-upsell__badge { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--signal); }
.g-upsell__title { font-weight: 800; font-size: 1.1rem; margin: 4px 0; }
.g-upsell__text { color: var(--muted); font-size: .92rem; }
.g-benefits { display: grid; gap: 14px; margin: 18px 0 20px; }
.g-benefit { display: flex; gap: 12px; align-items: flex-start; }
.g-benefit__icon { width: 40px; height: 40px; border-radius: var(--r-m); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: 0 0 auto; }
.g-blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .75; margin: 8px 0 14px; line-height: 1.8; }
.g-teaser__big { font-size: 1.1rem; }
.g-teaser__big strong { color: var(--ok); }

/* ---------- Meldungen & Zustände ---------- */
.g-toast {
	position: fixed; left: 50%; bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
	background: var(--select); color: var(--ink); padding: 12px 18px; border-radius: var(--r-m); z-index: 10002; max-width: 90vw; font-size: .95rem; font-weight: 600;
	box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.g-toast.is-error { background: var(--warn); color: var(--ink); }
.g-empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.g-loading { text-align: center; padding: 48px 0; color: var(--muted); }
.g-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--text); border-radius: 50%; animation: gspin .8s linear infinite; vertical-align: -3px; }
@keyframes gspin { to { transform: rotate(360deg); } }
.g-banner { background: var(--surface); border: 1.5px solid var(--signal); border-radius: var(--r-l); padding: 12px 14px; display: flex; gap: 10px; align-items: center; }

body.gesp-live-mode .g-nav { display: none; }
body.gesp-live-mode .gesp-app { padding-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
	.gesp-app *, .gesp-app *::before { transition: none !important; animation-duration: 0s !important; }
	.g-stamp.is-trained .g-stamp__seal { transform: none; }
}

/* ---------- Login-Seite ---------- */
.gesp-gate { display: flex; justify-content: center; padding: 24px 12px; }
.gesp-gate__card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; width: 100%; max-width: 420px; }
.gesp-gate__title { color: var(--text); margin: 0 0 8px; font-size: 1.6rem; }
.gesp-gate__text { color: var(--muted); margin-bottom: 18px; }
.gesp-gate form p { margin: 0 0 14px; }
.gesp-gate label { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 5px; }
.gesp-gate input[type=text], .gesp-gate input[type=password], .gesp-gate input[type=email] {
	width: 100%; min-height: 50px; padding: 10px 12px; font-size: 16px;
	background: var(--surface); color: var(--text); border: 1.5px solid var(--line); border-radius: var(--r-m);
}
.gesp-gate input:focus { outline: none; border-color: var(--text); }
.gesp-gate .login-remember label { display: flex; align-items: center; gap: 8px; color: var(--text); }
.gesp-gate .login-remember input, .gesp-gate__check input { width: 20px; height: 20px; accent-color: var(--ok); }
.gesp-gate input[type=submit], .gesp-gate__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
	background: var(--signal); color: var(--ink) !important; border: 0; border-radius: var(--r-m);
	font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none !important;
}
.gesp-gate input[type=submit]:hover, .gesp-gate__btn:hover { background: var(--signal-hover); }
.gesp-gate__links { text-align: center; margin-top: 12px; }
.gesp-gate__links a { color: var(--muted); }
.gesp-gate__buy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.gesp-gate__buy .gesp-gate__btn { background: transparent; color: var(--text) !important; border: 1.5px solid var(--line); }
.gesp-gate__buy .gesp-gate__btn:hover { border-color: var(--text); background: transparent; }
.gesp-gate__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface); padding: 4px; border-radius: var(--r-m); margin-bottom: 18px; }
.gesp-gate__tabs a { text-align: center; padding: 11px 6px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.gesp-gate__tabs a.is-on { background: var(--select); color: var(--ink); }
.gesp-gate__form button.gesp-gate__btn { border: 0; }
.gesp-gate__check label { display: flex !important; gap: 10px; align-items: flex-start; color: var(--text) !important; font-size: .85rem !important; }
.gesp-gate__check input { flex: 0 0 auto; margin-top: 2px; }
.gesp-gate__check a { color: var(--text); }
.gesp-gate__fine { color: var(--muted); font-size: .8rem; text-align: center; }
.gesp-gate__error { background: rgba(255,138,122,.12); border: 1px solid var(--warn); color: var(--text); padding: 10px 12px; border-radius: var(--r-m); font-size: .9rem; }
.gesp-gate__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gesp-gate [hidden] { display: none !important; }

/* Feinschliff 2.0 */
.g-nowrap { white-space: nowrap; }
.g-row > .g-btn--primary.g-grow, .g-row > .g-btn--secondary.g-grow { flex: 2; white-space: nowrap; }
.g-stampcard__legend > span { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; white-space: nowrap; }
.g-stampcard__legend i { margin-left: 0 !important; }
.g-freebar { flex-wrap: wrap; }
.g-freebar > .g-grow { flex-basis: 100%; }
.g-values > div:last-child:nth-child(odd) { grid-column: span 2; }
.g-stepper__val input[type=text] { min-height: 50px !important; }

/* ---------- Rezept 2.1: Zeiten & Zutaten mit Nährwerten ---------- */
.g-times { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.g-times > div { flex: 1 1 0; min-width: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 9px 11px; }
.g-times span { display: block; margin-bottom: 2px; }
.g-times b { font-size: .98rem; white-space: nowrap; }
.g-ings { list-style: none; margin: 10px 0 0; padding: 0; }
.g-ing { border-bottom: 1px solid var(--line); }
.g-ing:last-child { border-bottom: 0; }
.gesp-app .g-ing__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; padding: 11px 0; background: none; border: 0; color: var(--text); text-align: left; font: inherit; cursor: default; }
.gesp-app button.g-ing__head { cursor: pointer; }
.gesp-app button.g-ing__head:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.g-ing__line { flex: 1 1 100%; font-weight: 600; line-height: 1.35; }
.g-ing__meta { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.g-ing__chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1 1 100%; }
.g-ing__chip { font-size: .76rem; padding: 3px 8px; border-radius: 999px; background: var(--raised); color: var(--muted); white-space: nowrap; }
.g-ing__chip.is-high { color: var(--ok); }
.g-ing__more { display: grid; grid-template-columns: 1fr auto 4.2em; gap: 6px 10px; padding: 2px 0 14px; font-size: .86rem; align-items: center; }
.g-ing__more[hidden] { display: none; }
.g-ing__more > div { display: contents; }
.g-ing__more > div > span:first-child { color: var(--muted); }
.g-ing__more > div > span:nth-child(2) { text-align: right; white-space: nowrap; }
.g-ing__pct { text-align: right; font-weight: 600; white-space: nowrap; }
.g-ing__bar { grid-column: 1 / -1; display: block; height: 3px; background: var(--track); border-radius: 2px; margin-top: -3px; overflow: hidden; }
.g-ing__bar > i { display: block; height: 100%; background: var(--fill); }
.g-ing.is-open .g-ing__line::after { content: ""; }
.g-ing__lock { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 10px 12px; background: var(--raised); border-radius: var(--r-m); font-size: .86rem; color: var(--muted); }

/* ---------- App (PWA) 2.2 ---------- */
.gesp-app .g-install { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 10px 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.gesp-app .g-install__close { flex: none; }
.gesp-app .g-ok { color: var(--ok); font-weight: 700; }
.gesp-app .g-steps { margin: 6px 0 0; padding-left: 22px; line-height: 1.5; }
.gesp-app .g-steps li { margin-bottom: 6px; }
.gesp-app #g-reminder .g-check { margin: 4px 0 8px; }
.gesp-netbar { position: sticky; top: 0; z-index: 60; margin: 0 0 10px; padding: 9px 14px; border-radius: 12px; background: #2C3A48; color: #EEF2F5; font: 500 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.gesp-netbar.is-off { background: #FF8A7A; color: #1B252F; }
.gesp-netbar[hidden] { display: none; }


/* =====================================================================
   Version 2.3 – Gold-Design & Theme-feste Buttons
   Elementor/Theme setzen eigene Button-Stile (z. B. „.elementor-kit-xx button“),
   die stärker sind als „.g-btn“. Die folgenden Regeln sind bewusst spezifischer
   und mit !important abgesichert, damit die App überall gleich aussieht.
   ===================================================================== */
.gesp-app .g-btn, .gesp-gate .g-btn {
	min-height: var(--tap); padding: 0 18px !important; margin: 0;
	border-radius: var(--r-m) !important; border: 1.5px solid rgba(212,185,106,.6) !important;
	background: transparent !important; color: var(--text) !important;
	font-family: 'Inter', system-ui, sans-serif !important; font-size: 1rem !important; font-weight: 600 !important;
	font-style: normal !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.2 !important;
	text-decoration: none !important; box-shadow: none !important; text-shadow: none !important;
}
.gesp-app .g-btn:hover, .gesp-app .g-btn:focus-visible { border-color: var(--signal) !important; color: var(--signal) !important; background: var(--signal-soft) !important; }
.gesp-app .g-btn:active { transform: scale(.98); }
.gesp-app .g-btn:disabled { opacity: .4; transform: none; }
.gesp-app .g-btn--primary {
	background: var(--signal) !important; border-color: var(--signal) !important; color: var(--ink) !important;
	font-weight: 700 !important; box-shadow: 0 8px 20px -10px rgba(212,185,106,.8) !important;
}
.gesp-app .g-btn--primary:hover, .gesp-app .g-btn--primary:focus-visible { background: var(--signal-hover) !important; border-color: var(--signal-hover) !important; color: var(--ink) !important; }
.gesp-app .g-btn--ghost, .gesp-app .g-btn--text { border-color: transparent !important; color: var(--muted) !important; background: transparent !important; box-shadow: none !important; }
.gesp-app .g-btn--ghost:hover, .gesp-app .g-btn--text:hover { color: var(--text) !important; background: rgba(255,255,255,.05) !important; border-color: transparent !important; }
.gesp-app .g-btn--sm.g-btn--ghost { border-color: var(--line) !important; }
.gesp-app .g-btn--danger, .gesp-app .g-btn--text.g-btn--danger { color: var(--warn) !important; border-color: rgba(255,138,122,.45) !important; background: transparent !important; }
.gesp-app .g-btn--text.g-btn--danger { border-color: transparent !important; }
.gesp-app .g-btn--danger:hover { background: rgba(255,138,122,.1) !important; border-color: var(--warn) !important; color: var(--warn) !important; }
.gesp-app .g-btn--lg { min-height: 56px; font-size: 1.08rem !important; border-radius: 14px !important; }
.gesp-app .g-btn--sm { min-height: 40px; padding: 0 14px !important; font-size: .9rem !important; }
.gesp-app .g-btn--text { min-height: 40px; padding: 0 8px !important; font-weight: 500 !important; font-size: .92rem !important; }
.gesp-app .g-icon-btn {
	background: var(--bg) !important; border: 1.5px solid #4A5C6C !important; color: var(--text) !important; border-radius: var(--r-m) !important;
	padding: 0 !important; box-shadow: none !important; text-transform: none !important; text-decoration: none !important; font-style: normal !important;
	font-family: 'Inter', system-ui, sans-serif !important; line-height: 1 !important;
}
.gesp-app .g-icon-btn:hover { border-color: var(--signal) !important; color: var(--signal) !important; }
.gesp-app .g-chip { background: transparent !important; color: var(--text) !important; border: 1.5px solid #4A5C6C !important; text-transform: none !important; font-style: normal !important; box-shadow: none !important; padding: 0 16px !important; border-radius: 999px !important; }
.gesp-app .g-chip:hover { border-color: var(--text) !important; }
.gesp-app .g-chip.is-on { background: var(--select) !important; border-color: var(--select) !important; color: var(--ink) !important; }
.gesp-app .g-set { text-transform: none !important; font-style: normal !important; text-decoration: none !important; box-shadow: none !important; font-family: 'Inter', system-ui, sans-serif !important; }
.gesp-app :focus-visible, .gesp-gate :focus-visible { outline: 3px solid var(--signal-hover) !important; outline-offset: 2px; }

/* Zähler: Plus/Minus füllen die Breite wie in 2.2 vorgesehen */
.gesp-app .g-stepper__row .g-icon-btn { flex: 1; width: auto; height: 46px; font-size: 1.4rem; font-weight: 700; }

/* Live-Training: Pause & Beenden */
.g-live-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.gesp-app .g-btn--end { border-color: rgba(255,138,122,.5) !important; color: #FFB3A8 !important; }
.gesp-app .g-btn--end:hover { border-color: var(--warn) !important; color: var(--warn) !important; background: rgba(255,138,122,.08) !important; }
.g-end-sheet p { margin-bottom: 16px; }

/* Übungsauswahl */
.g-pick-wrap { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.g-pick-wrap .g-pick { border-bottom: 0; }
.g-pick__add { width: 34px; height: 34px; border-radius: 50%; background: var(--signal-soft); color: var(--signal); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; flex: 0 0 auto; }
.g-pick-wrap .g-guide { margin: 0 4px 6px; }

/* ---------- Aufklappbare Übungsanleitung ---------- */
.gesp-app .g-guide { margin: 10px 0 4px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.gesp-app .g-guide[open] { border-color: rgba(212,185,106,.45); }
.gesp-app .g-guide > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; font-weight: 600; font-size: .95rem; color: var(--signal); user-select: none; }
.gesp-app .g-guide > summary::-webkit-details-marker { display: none; }
.g-guide__icon { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--signal); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; font-family: Georgia, serif; font-style: italic; flex: 0 0 auto; }
.g-guide__chev { width: 22px; height: 22px; position: relative; flex: 0 0 auto; transition: transform .2s; }
.g-guide__chev::before, .g-guide__chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--signal); border-radius: 2px; transform: translate(-50%, -50%); }
.g-guide__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.g-guide[open] .g-guide__chev { transform: rotate(45deg); }
.g-guide__body { padding: 2px 14px 14px; font-size: .93rem; }
.g-guide__body p { margin: 0 0 8px; color: #D7DEE6; }
.g-guide__h { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 12px 0 4px; }
.g-guide__steps { margin: 0 0 6px; padding-left: 22px; }
.g-guide__steps li { margin: 4px 0; color: #D7DEE6; }
.g-guide__steps li::marker { color: var(--signal); font-weight: 700; }
.g-guide__bad { list-style: none; margin: 0 0 6px; padding: 0; }
.g-guide__bad li { position: relative; padding-left: 22px; margin: 4px 0; color: #D7DEE6; }
.g-guide__bad li::before { content: "✕"; position: absolute; left: 2px; top: 0; color: var(--warn); font-weight: 700; font-size: .85rem; }
.g-guide__tip { margin-top: 12px; background: var(--signal-soft); border-left: 3px solid var(--signal); border-radius: 0 10px 10px 0; padding: 10px 12px; color: #E8EDF2; }
.g-guide__tip strong { color: var(--signal); }
.g-current .g-guide { margin-top: 12px; text-align: left; }

/* Login-Seite: Buttons theme-fest */
.gesp-gate input[type=submit], .gesp-gate .gesp-gate__btn { background: var(--signal) !important; color: var(--ink) !important; border: 0 !important; border-radius: 12px !important; text-transform: none !important; font-style: normal !important; text-decoration: none !important; font-family: 'Inter', system-ui, sans-serif !important; box-shadow: none !important; }
.gesp-gate input[type=submit]:hover, .gesp-gate .gesp-gate__btn:hover { background: var(--signal-hover) !important; }

.gesp-gate .gesp-gate__buy .gesp-gate__btn { background: transparent !important; color: var(--text) !important; border: 1.5px solid rgba(212,185,106,.6) !important; }
.gesp-gate .gesp-gate__buy .gesp-gate__btn:hover { border-color: var(--signal) !important; color: var(--signal) !important; background: var(--signal-soft) !important; }

/* =====================================================================
   Version 2.7 – Smartes Training, Rekorde, Teilen, Einstiegs-Quiz
   ===================================================================== */
.gesp-app .g-ico { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; }

/* Vorschlag im Live-Training */
.gesp-app .g-sug { display: block; width: 100%; text-align: left; margin: 12px 0 4px; padding: 14px; border-radius: var(--r-m); background: var(--signal-soft); border: 1px solid rgba(212,185,106,.45); color: var(--text); font-family: inherit; font-size: inherit; }
.gesp-app .g-sug__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.gesp-app .g-sug__title { font-family: 'Archivo', 'Inter', sans-serif; font-size: 1.35rem; font-weight: 800; margin-top: 2px; }
.gesp-app .g-sug--hold, .gesp-app .g-sug--declined { background: var(--surface); border-color: var(--line); }
.gesp-app .g-sug--deload { background: rgba(255,138,122,.08); border-color: rgba(255,138,122,.45); }
.gesp-app .g-sug--deload .g-sug__kicker { color: var(--warn); }
.gesp-app .g-sug--check { background: linear-gradient(135deg, rgba(212,185,106,.20), rgba(212,185,106,.06)); }
.gesp-app .g-sug--locked { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; background: var(--surface); border-style: dashed; font-size: .9rem; color: var(--muted); }
.gesp-app .g-sug--locked strong { color: var(--text); }
.gesp-app .g-sug .g-row { flex-wrap: wrap; }
.gesp-app .g-sug .g-row > .g-btn { flex: 1 1 100%; }

/* Satzbewertung im Pausentimer */
.gesp-app .g-rate { width: 100%; max-width: 340px; }
.gesp-app .g-rate__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.gesp-app .g-rate__btn { min-height: 44px; padding: 0 8px !important; border-radius: 999px !important; border: 1px solid var(--line) !important; background: transparent !important; color: var(--text) !important; font: 600 .95rem 'Inter', sans-serif !important; text-transform: none !important; text-decoration: none !important; font-style: normal !important; cursor: pointer; }
.gesp-app .g-rate__btn:hover { border-color: var(--signal) !important; }
.gesp-app .g-rate__btn.is-on { background: var(--select) !important; color: var(--ink) !important; border-color: var(--select) !important; }
.gesp-app .g-qopt, .gesp-app .g-sug--locked { text-transform: none !important; text-decoration: none !important; font-style: normal !important; }

/* Kraftcheck */
.gesp-app .g-kc-list { display: grid; gap: 6px; margin: 4px 0 14px; }
.gesp-app .g-kc-item { padding: 10px 12px; background: var(--surface); border-radius: var(--r-s); font-size: .95rem; }
.gesp-app .g-kc-item b { color: var(--signal); margin-right: 4px; }
.gesp-app .g-kc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 12px; }
.gesp-app .g-kpi--gold { background: var(--signal-soft); border: 1px solid rgba(212,185,106,.5); }
.gesp-app .g-kpi--gold .g-kpi__value { color: var(--signal); }

/* Rekorde & Meilenstein */
.gesp-app .g-milestone { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px; border-radius: var(--r-m); background: linear-gradient(135deg, rgba(212,185,106,.22), rgba(212,185,106,.05)); border: 1px solid rgba(212,185,106,.5); }
.gesp-app .g-milestone__n { min-width: 56px; height: 56px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--signal); color: var(--ink); font: 800 1.3rem 'Archivo', 'Inter', sans-serif; }
.gesp-app .g-records { border: 1px solid rgba(212,185,106,.35); }
.gesp-app .g-records h3 { margin-top: 0; }
.gesp-app .g-record { display: flex; gap: 12px; align-items: flex-start; text-decoration: none !important; color: var(--text) !important; }
.gesp-app .g-record__badge { flex: none; font: 800 .72rem 'Archivo', 'Inter', sans-serif; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; background: var(--signal); color: var(--ink); margin-top: 2px; }
.gesp-app .g-rec-row { display: flex !important; align-items: center; gap: 10px; text-decoration: none !important; color: inherit !important; }
.gesp-app .g-linechart { width: 100%; height: auto; display: block; margin-top: 6px; }

/* Teilen */
.gesp-app .g-btn.g-btn--share { background: transparent !important; color: var(--signal) !important; border: 1.5px solid var(--signal) !important; }
.gesp-app .g-btn.g-btn--share:hover { background: var(--signal-soft) !important; }
.gesp-app .g-share-preview { margin-top: 12px; display: grid; place-items: center; min-height: 240px; background: var(--surface); border-radius: var(--r-m); padding: 10px; }
.gesp-app .g-share-preview img { display: block; max-height: 52vh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* Einstiegs-Quiz */
.gesp-app .g-quiz__q { font-size: 1.5rem; margin: 18px 0 6px; }
.gesp-app .g-quiz__body { display: grid; gap: 10px; margin: 16px 0 18px; }
.gesp-app .g-qopt { display: block; width: 100%; text-align: left; padding: 14px 16px; min-height: 60px; border-radius: var(--r-m); background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font-family: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.gesp-app .g-qopt:hover { border-color: var(--signal); }
.gesp-app .g-qopt.is-on { border-color: var(--signal); background: var(--signal-soft); box-shadow: inset 4px 0 0 var(--signal); }
.gesp-app .g-qopt__title { display: block; font-weight: 700; font-size: 1.02rem; }
.gesp-app .g-qopt__sub { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.gesp-app .g-quiz__nav { display: flex; gap: 10px; position: sticky; bottom: 10px; padding-top: 6px; }
.gesp-app .g-quiz-cta { padding: 18px; border-radius: var(--r-l); background: linear-gradient(135deg, rgba(212,185,106,.22), rgba(212,185,106,.05)); border: 1px solid rgba(212,185,106,.5); }
.gesp-app .g-quiz-cta__title { font: 800 1.4rem 'Archivo', 'Inter', sans-serif; margin-top: 2px; }
.gesp-app .g-tipcard { border-left: 4px solid var(--signal); }

/* Planeditor: Wiederholungsbereich */
.gesp-app .g-ex__range { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: .85rem; color: var(--muted); }
.gesp-app .g-ex__range input { width: 74px !important; min-height: 40px !important; text-align: center; padding: 6px !important; }
.gesp-app .g-ex__range .g-small { flex-basis: 100%; }
@media (max-width: 380px) { .gesp-app .g-kc-result { grid-template-columns: 1fr; } }

/* =====================================================================
   Version 2.8 – Selbstverteidigung & Coach
   ===================================================================== */
.gesp-app .g-sv-hero { padding: 18px; border-radius: var(--r-l); background: radial-gradient(120% 140% at 100% 0%, rgba(212,185,106,.28), rgba(212,185,106,.04) 60%), var(--surface); border: 1px solid rgba(212,185,106,.45); }

/* Reaktionstrainer (Vollbild) */
.gesp-app .g-rt { position: fixed; inset: 0; z-index: 10002; background: #0F151B; color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 18px 28px; text-align: center; }
.gesp-app .g-rt__top { width: 100%; display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); font-size: 1rem; }
.gesp-app .g-rt__top #g-rt-time { color: var(--text); font-variant-numeric: tabular-nums; font-size: 1.3rem; }
.gesp-app .g-rt__cmd { font: 800 clamp(2.4rem, 11vw, 4.6rem)/1.05 'Archivo', 'Inter', sans-serif; color: var(--signal); max-width: 14ch; word-break: break-word; }
.gesp-app .g-rt.is-rest .g-rt__cmd { color: var(--text); }
.gesp-app .g-rt__cmd.is-flash { animation: g-flash .35s ease-out; }
@keyframes g-flash { from { transform: scale(1.12); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.gesp-app .g-rt__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.gesp-app .g-rt__sub { color: var(--muted); min-height: 1.5em; }
.gesp-app .g-rt__bar { margin-bottom: 22px; }
.gesp-app .g-rt__bar { width: 100%; height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; }
.gesp-app .g-rt__bar i { display: block; height: 100%; background: var(--signal); transition: width .9s linear; }
.gesp-app .g-rt.is-rest .g-rt__bar i { background: var(--ok); }
.gesp-app .g-rt .g-row { gap: 10px; }

/* Reaktionstest im Wehrhaft-Test */
.gesp-app .g-rx { position: fixed; inset: 0; z-index: 10002; background: #0F151B; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.gesp-app .g-rx__pad { flex: 1; border: 0 !important; border-radius: 22px !important; background: var(--surface) !important; color: var(--text) !important; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font: 800 2.2rem 'Archivo', 'Inter', sans-serif !important; touch-action: manipulation; user-select: none; -webkit-user-select: none; text-transform: none !important; text-decoration: none !important; }
.gesp-app .g-rx__pad small { font: 500 1rem 'Inter', sans-serif; color: var(--muted); }
.gesp-app .g-rx__pad.is-wait { background: #3A2326 !important; }
.gesp-app .g-rx__pad.is-go { background: var(--signal) !important; color: var(--ink) !important; }
.gesp-app .g-rx__pad.is-go small { color: var(--ink); }
.gesp-app .g-rx__pad.is-early { background: rgba(255,138,122,.25) !important; }

/* Wehrhaft-Test */
.gesp-app .g-wt-res { border: 1px solid rgba(212,185,106,.4); }
.gesp-app .g-ring { flex: none; }

/* Kursbegleiter */
.gesp-app .g-unit { background: var(--surface); border-radius: var(--r-m); border: 1px solid transparent; }
.gesp-app .g-unit.is-next { border-color: rgba(212,185,106,.6); }
.gesp-app .g-unit > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.gesp-app .g-unit > summary::-webkit-details-marker { display: none; }
.gesp-app .g-unit > summary .g-grow > span, .gesp-app .g-unit > summary strong { display: block; }
.gesp-app .g-unit__check { flex: none; width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: var(--raised); font-weight: 800; }
.gesp-app .g-unit.is-done .g-unit__check { background: var(--ok); color: var(--ink); }
.gesp-app .g-unit.is-next .g-unit__check { background: var(--signal); color: var(--ink); }
.gesp-app .g-unit__body { padding: 0 14px 14px; }
.gesp-app .g-unit__body .g-row { gap: 8px; }
.gesp-app .g-tech__group { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }

/* Sicher im Alltag */
.gesp-app .g-scard--big { border: 1px solid rgba(212,185,106,.45); background: linear-gradient(160deg, rgba(212,185,106,.12), rgba(212,185,106,0) 60%), var(--surface); }
.gesp-app .g-scard__task { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-s); background: var(--raised); font-size: .92rem; border-left: 3px solid var(--signal); }

/* Nachrichten */
.gesp-app .g-hello { position: relative; padding-right: 54px; }
.gesp-app .g-bell { position: absolute; right: 0; top: 4px; width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; background: var(--surface); color: var(--text) !important; text-decoration: none !important; }
.gesp-app .g-bell svg { width: 22px; height: 22px; }
.gesp-app .g-bell__n { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--signal); color: var(--ink); font: 800 .75rem/20px 'Inter', sans-serif; text-align: center; display: inline-block; }
.gesp-app .g-msg.is-new { border-left: 4px solid var(--signal); }

/* Technik-Check Upload */
.gesp-app .g-upload { margin: 10px 0; }
.gesp-app .g-badge--ok { background: rgba(97,206,112,.15); color: var(--ok); border: 1px solid rgba(97,206,112,.4); }

/* Eiweiß-Coach */
.gesp-app .g-pcoach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 380px) { .gesp-app .g-pcoach__grid { grid-template-columns: repeat(2, 1fr); } }

.gesp-app .g-tech > summary strong { color: var(--text); }
.gesp-app input[type=file] { width: 100%; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-m); background: var(--raised); color: var(--text); font: inherit; }
.gesp-app input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--signal); color: var(--ink); font: 700 .9rem 'Inter', sans-serif; cursor: pointer; }

/* =====================================================================
   Version 2.9 – Übungsbilder, Übungsauswahl, Plan-Detailansicht
   ===================================================================== */
/* Übungsbilder (Piktogramme) */
.gesp-app .g-exfig { flex: none; display: inline-grid; place-items: center; width: 96px; aspect-ratio: 160 / 112; border-radius: 10px; background: #1A232D; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.gesp-app .g-exfig img, .gesp-app .g-exfig .g-fig { width: 100%; height: 100%; object-fit: cover; display: block; }
.gesp-app .g-exfig--xs { width: 54px; border-radius: 8px; }
.gesp-app .g-exfig--sm { width: 72px; }
.gesp-app .g-exfig--md { width: 116px; }
.gesp-app .g-exfig__ph { font: 800 1.4rem 'Archivo', 'Inter', sans-serif; color: var(--signal); }
.gesp-app .g-fig .f-ground { stroke: #33404D; stroke-width: 2; stroke-linecap: round; }
.gesp-app .g-fig .f-limb { fill: none; stroke: #F4F1EA; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.gesp-app .g-fig .f-torso { stroke-width: 9; }
.gesp-app .g-fig .f-head { fill: #F4F1EA; stroke: none; }
.gesp-app .g-fig .f-far { stroke: #9AA3AD; }
.gesp-app .g-fig .f-chest { fill: #F4F1EA; stroke: #F4F1EA; stroke-width: 3; stroke-linejoin: round; }
.gesp-app .g-fig .f-ghost { opacity: .22; }
.gesp-app .g-fig .f-bar { stroke: #D4B96A; stroke-width: 3; stroke-linecap: round; }
.gesp-app .g-fig .f-plate, .gesp-app .g-fig .f-db, .gesp-app .g-fig .f-glove, .gesp-app .g-fig .f-pulley { fill: #D4B96A; }
.gesp-app .g-fig .f-kb { fill: none; stroke: #D4B96A; stroke-width: 2.5; }
.gesp-app .g-fig .f-cable { fill: none; stroke: #D4B96A; stroke-width: 1.5; stroke-dasharray: 3 2; }
.gesp-app .g-fig .f-bench { fill: #3A4756; }
.gesp-app .g-fig .f-bench-l { stroke: #3A4756; stroke-width: 5; stroke-linecap: round; }
.gesp-app .g-fig .f-leg { stroke: #3A4756; stroke-width: 2.5; }
.gesp-app .g-fig .f-pad, .gesp-app .g-fig .f-mitt { fill: #4A5868; }
.gesp-app .g-fig .f-arrow { fill: none; stroke: #D4B96A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Planeditor & Live-Ansicht mit Bild */
.gesp-app .g-ex__head .g-exfig { margin-right: 2px; }
.gesp-app .g-current__head { display: flex; align-items: center; gap: 12px; }
.gesp-app .g-current__head .g-current__ex { margin: 0; }

/* Plankarten: ganze Karte öffnet die Detailansicht */
.gesp-app .g-plancard__link { display: block; color: inherit !important; text-decoration: none !important; margin-bottom: 12px; }
.gesp-app .g-plancard__figs { display: flex; gap: 6px; margin-top: 10px; overflow: hidden; }
.gesp-app .g-plancard__more { display: grid; place-items: center; width: 54px; aspect-ratio: 160 / 112; border-radius: 8px; background: var(--raised); color: var(--muted); font-weight: 700; font-size: .85rem; }
.gesp-app .g-kpis--3 { grid-template-columns: repeat(3, 1fr); }
.gesp-app .g-pd-ex .g-guide { margin-top: 10px; }
.gesp-app .g-pd-actions { position: sticky; bottom: calc(var(--nav-h, 64px) + 10px); z-index: 5; display: flex; gap: 10px; margin-top: 16px; padding: 10px; border-radius: var(--r-l); background: rgba(27,37,47,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* Übungsauswahl im Vollbild */
html.g-noscroll, html.g-noscroll body { overflow: hidden !important; }
.gesp-app .g-picker { align-items: flex-start; background: rgba(8,12,16,.75); bottom: auto; height: 100dvh; }
.gesp-app .g-picker__body { width: 100%; max-width: 640px; margin: 6px auto 0; background: var(--bg); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.gesp-app .g-picker__head { padding: 14px 14px 8px; border-bottom: 1px solid var(--line); background: var(--bg); }
.gesp-app .g-picker__head input[type=search] { margin-top: 10px; width: 100%; }
.gesp-app .g-picker__list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 14px 24px; }
.gesp-app .g-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 8px; padding-bottom: 2px; }
.gesp-app .g-chips--scroll::-webkit-scrollbar { display: none; }
.gesp-app .g-chips--scroll .g-chip { flex: none; }
.gesp-app .g-chip--sm { font-size: .8rem !important; padding: 5px 10px !important; min-height: 32px; }
.gesp-app .g-picker__opts { gap: 8px; align-items: center; }
.gesp-app .g-picker__sort select { margin-top: 8px; min-height: 34px; padding: 4px 8px; border-radius: 999px; background: var(--surface); color: var(--text); border: 1px solid var(--line); font: 600 .8rem 'Inter', sans-serif; }
.gesp-app .g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gesp-app .g-pick { gap: 12px; }
.gesp-app .g-pick__name { font-weight: 600; }
.gesp-app .g-pick--custom { color: var(--signal); }

/* Cookie-Hinweis (CCM19) im Mitgliederbereich nicht über der App */
html:not(.gesp-show-ccm) .ccm-settings-summoner,
html:not(.gesp-show-ccm) .ccm-settings-summoner--link,
html:not(.gesp-show-ccm) #ccm-widget,
html:not(.gesp-show-ccm) .ccm-root,
html:not(.gesp-show-ccm) .ccm-modal,
html:not(.gesp-show-ccm) .ccm-modal-overlay { display: none !important; }
html:not(.gesp-show-ccm).ccm-blocked, html:not(.gesp-show-ccm) body.ccm-blocked { overflow: auto !important; }
.gesp-app .g-wdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.gesp-app .g-wday { min-height: 52px; border-radius: 12px !important; border: 1.5px solid var(--line) !important; background: var(--surface) !important; color: var(--text) !important; font: 700 1rem 'Inter', sans-serif !important; text-transform: none !important; text-decoration: none !important; cursor: pointer; padding: 0 !important; }
.gesp-app .g-wday.is-on { background: var(--signal) !important; border-color: var(--signal) !important; color: var(--ink) !important; }
.gesp-app .g-picker__opts .g-chips { min-width: 0; }
.gesp-app .g-picker__sort { flex: none; }
.gesp-app .g-picker .g-pick-wrap .g-guide { margin: -4px 0 8px 84px; background: transparent; border: 0; }
.gesp-app .g-picker .g-pick-wrap .g-guide > summary { padding: 2px 0; min-height: 0; font-size: .82rem; background: transparent; }
.gesp-app .g-picker .g-pick-wrap .g-guide > summary .g-guide__icon { width: 18px; height: 18px; font-size: .7rem; }
.gesp-app .g-picker .g-pick-wrap .g-guide > summary .g-guide__chev { display: none; }
.gesp-app .g-picker .g-pick-wrap .g-guide[open] { background: var(--surface); border-radius: var(--r-s); padding: 6px 10px; margin-left: 0; }

/* =====================================================================
   Version 3.0 – klare Struktur: 5 Bereiche, einheitliche Köpfe, Listen
   ===================================================================== */
/* Kopf der Hauptbereiche */
.gesp-app .g-mainhead { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.gesp-app .g-mainhead h1 { margin: 0; font-size: 1.6rem; line-height: 1.2; }
.gesp-app .g-mainhead p { margin: 2px 0 0; font-size: .9rem; }
.gesp-app .g-me { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; text-decoration: none !important; }
.gesp-app .g-me__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--raised); border: 1.5px solid rgba(212,185,106,.55); color: var(--signal); font: 800 1rem 'Archivo', 'Inter', sans-serif; }
.gesp-app .g-me__avatar--lg { width: 60px; height: 60px; font-size: 1.5rem; flex: none; }
.gesp-app .g-me__n { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--signal); color: var(--ink); font: 800 .72rem/20px 'Inter', sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.gesp-app .g-nav a span { white-space: nowrap; font-size: .68rem; }

/* Abschnitts-Kopf mit Aktion */
.gesp-app .g-sechead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; }
.gesp-app .g-sechead h2 { margin: 0; font-size: 1.1rem; }
.gesp-app .g-sechead .g-btn svg { width: 16px; height: 16px; vertical-align: -3px; }

/* Einstellungs-Listen */
.gesp-app .g-listsec { margin-top: 18px; }
.gesp-app .g-listsec__title { margin: 0 4px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gesp-app .g-list { background: var(--surface); border-radius: var(--r-l); overflow: hidden; }
.gesp-app .g-li { display: flex !important; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--text) !important; text-align: left; text-decoration: none !important; font: inherit !important; text-transform: none !important; cursor: pointer; }
.gesp-app .g-li + .g-li { border-top: 1px solid var(--line) !important; }
.gesp-app .g-li:hover { background: rgba(255,255,255,.03) !important; }
.gesp-app .g-li__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--raised); color: var(--text); }
.gesp-app .g-li__icon svg { width: 18px; height: 18px; }
.gesp-app .g-li__icon.is-gold { background: var(--signal-soft); color: var(--signal); }
.gesp-app .g-li__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gesp-app .g-li__title { font-weight: 600; font-size: .98rem; }
.gesp-app .g-li__sub { font-size: .82rem; color: var(--muted); }
.gesp-app .g-li__value { flex: none; font-size: .85rem; color: var(--signal); font-weight: 600; max-width: 42%; text-align: right; }
.gesp-app .g-li__badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--signal); color: var(--ink); font: 800 .75rem/22px 'Inter', sans-serif; text-align: center; }
.gesp-app .g-li__lock { flex: none; font-size: .9rem; opacity: .8; }
.gesp-app .g-li--danger .g-li__title, .gesp-app .g-li--danger .g-li__icon { color: #FF8A7A; }
.gesp-app .g-li .g-chevron { flex: none; color: var(--muted); }

/* Heute */
.gesp-app .g-today { display: block; padding: 18px; margin-bottom: 14px; border-radius: var(--r-l); background: linear-gradient(150deg, rgba(212,185,106,.20), rgba(212,185,106,.04) 55%), var(--surface); border: 1px solid rgba(212,185,106,.45); color: inherit !important; text-decoration: none !important; }
.gesp-app .g-today__kicker { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.gesp-app .g-today__title { display: block; font: 800 1.45rem/1.2 'Archivo', 'Inter', sans-serif; margin: 4px 0 10px; }
.gesp-app .g-today .g-plancard__figs { margin: 0 0 8px; }
.gesp-app .g-today .g-btn--block { margin-top: 4px; }
.gesp-app .g-live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 99px; background: var(--ok); box-shadow: 0 0 0 0 rgba(97,206,112,.6); animation: g-pulse 1.6s infinite; flex: none; }
@keyframes g-pulse { 0% { box-shadow: 0 0 0 0 rgba(97,206,112,.6); } 70% { box-shadow: 0 0 0 10px rgba(97,206,112,0); } 100% { box-shadow: 0 0 0 0 rgba(97,206,112,0); } }
.gesp-app .g-banner--live { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: inherit !important; text-decoration: none !important; }

/* Mein Konto */
.gesp-app .g-profilehead { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); }
.gesp-app .g-profilehead__name { font: 800 1.25rem 'Archivo', 'Inter', sans-serif; }
.gesp-app .g-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--raised); color: var(--muted); }
.gesp-app .g-pill.is-on { background: var(--signal-soft); color: var(--signal); }

/* Selbstschutz */
.gesp-app a.g-sv-hero { display: block; color: inherit !important; text-decoration: none !important; margin-bottom: 4px; }
.gesp-app .g-svmod { padding: 18px; margin-bottom: 14px; border-radius: var(--r-l); border: 1.5px dashed rgba(212,185,106,.6); background: var(--surface); }
.gesp-app .g-svmod__list { margin: 8px 0 14px; padding-left: 20px; }
.gesp-app .g-svmod__list li { margin: 4px 0; }
.gesp-app .g-tech--locked { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px !important; border-radius: var(--r-m) !important; background: var(--surface) !important; border: 0 !important; color: var(--muted) !important; text-align: left; font: inherit !important; text-transform: none !important; cursor: pointer; }
.gesp-app .g-profilehead .g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gesp-app button.g-tech--locked, .gesp-app button.g-tech--locked * { text-decoration: none !important; color: var(--muted) !important; font-weight: 600; }

/* ---------- 3.1: Live-Training mit Satzliste und freier Reihenfolge, „Meine Übungen“ ---------- */
.gesp-app .g-icon-btn--sm { width: 40px; height: 40px; font-size: 1rem; }
.gesp-app .g-icon-btn:disabled { opacity: .3; cursor: default; }
.g-setlist { margin: 12px 0 10px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.g-setlist__head, .gesp-app .g-setrow { display: grid; grid-template-columns: 2.4em 1fr 1.25fr 2em; align-items: center; gap: 6px; padding: 8px 12px; }
.g-setlist__head { font-size: .74rem; color: var(--muted); background: var(--raised); }
.gesp-app .g-setrow { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; text-align: left; min-height: 44px; }
.gesp-app button.g-setrow { cursor: pointer; }
.gesp-app button.g-setrow:hover { background: var(--raised); }
.gesp-app .g-setrow.is-done { color: var(--text); }
.gesp-app .g-setrow.is-current { color: var(--text); background: var(--signal-soft, var(--raised)); box-shadow: inset 0 0 0 2px var(--signal); }
.g-setrow__n { font-weight: 700; }
.g-setrow__last { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.g-setrow__now { font-weight: 600; white-space: nowrap; }
.g-setrow__state { text-align: right; }
.g-check-ok { color: var(--ok); font-weight: 800; }
.g-now-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.g-trend { font-size: .7rem; color: var(--muted); margin-left: 2px; }
.g-trend.is-up { color: var(--ok); }
.g-trend.is-down { color: var(--warn); }
.gesp-app .g-blur--inline { display: inline; margin: 0; line-height: inherit; }
.g-prevset { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.g-prevset strong { color: var(--text); }
.g-current.is-edit { box-shadow: inset 0 0 0 2px var(--select); }
.g-rate-inline { margin: 0 0 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.g-rate-inline .g-rate { max-width: none; }
.g-exlist__items { list-style: none; margin: 10px 0 6px; padding: 0; }
.g-exrow { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); }
.g-exrow:first-child { border-top: 0; }
.gesp-app .g-exrow__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 4px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; min-height: 52px; }
.g-exrow__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; background: var(--raised); color: var(--muted); }
.g-exrow__name { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-exrow__meta { display: block; font-size: .8rem; color: var(--muted); }
.g-exrow.is-current .g-exrow__icon { background: var(--signal); color: var(--ink); }
.g-exrow.is-done .g-exrow__icon { background: transparent; color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); }
.g-exrow.is-done .g-exrow__name, .g-exrow.is-skipped .g-exrow__name { color: var(--muted); }
.g-exrow__move { display: flex; gap: 4px; flex: none; }
.gesp-app .g-pick--mine { cursor: default; padding: 4px 0; }
.gesp-app .g-pick__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 4px; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gesp-app .g-pick__main .g-pick__name { display: block; }
.gesp-app .g-current__head .g-current__ex { min-width: 0; flex: 1; overflow-wrap: anywhere; hyphens: auto; }

/* 3.2: Sätze und Übungen während des Trainings ergänzen */
.gesp-app .g-setlist__tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: -4px 0 10px; }
.gesp-app .g-setlist__tools .g-btn { width: auto; flex: 0 0 auto; display: inline-flex; padding-left: 4px; padding-right: 4px; }
.gesp-app .g-exlist__add { margin-top: 10px; border-style: dashed; }
.gesp-app .g-btn--stack { flex-direction: column; align-items: center; text-align: center; }
.gesp-app .g-btn__sub { display: block; font-size: .78rem; font-weight: 500; opacity: .8; margin-top: 2px; }
.gesp-app .g-badge--new { font-size: .68rem; padding: 1px 7px; vertical-align: 2px; background: transparent; border: 1px solid rgba(212,185,106,.5); color: var(--signal); }
