Some checks failed
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 6s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 28s
- Removed the useLocation hook as it was unnecessary for the component's functionality. - Updated the navigation styling to use CSS classes instead of inline styles, enhancing maintainability and readability. - Improved accessibility by adding aria-labels to navigation elements.
4081 lines
81 KiB
CSS
4081 lines
81 KiB
CSS
:root {
|
||
--bg: #f6f5f0;
|
||
--surface: #ffffff;
|
||
--surface2: #fafaf6;
|
||
--border: rgba(0,0,0,0.09);
|
||
--border2: rgba(0,0,0,0.16);
|
||
--text1: #1c1b18;
|
||
--text2: #5a5955;
|
||
--text3: #9a9892;
|
||
--accent: #1D9E75;
|
||
--accent-light: #E1F5EE;
|
||
--accent-dark: #0a5c43;
|
||
--danger: #D85A30;
|
||
--warn: #EF9F27;
|
||
/* Höhe der eigentlichen Tab-Zeile (ohne Abstand/Home-Indicator) */
|
||
--nav-h: 56px;
|
||
--nav-pad-top: 8px;
|
||
--header-h: 52px;
|
||
--font: system-ui, -apple-system, 'Segoe UI', sans-serif;
|
||
--capture-content-max: 800px;
|
||
--desktop-sidebar-width: 220px;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
:root {
|
||
--bg: #181816; --surface: #222220; --surface2: #1e1e1c;
|
||
--border: rgba(255,255,255,0.08); --border2: rgba(255,255,255,0.14);
|
||
--text1: #eeecea; --text2: #aaa9a4; --text3: #686762;
|
||
--accent-light: #04342C; --accent-dark: #5DCAA5;
|
||
}
|
||
}
|
||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||
html, body, #root { height: 100%; }
|
||
body { font-family: var(--font); background: var(--bg); color: var(--text1); -webkit-text-size-adjust: 100%; }
|
||
|
||
/* Mobile / Web-App: keine horizontale Seiten-Scroll-Leiste; volle Gerätebreite (<1024px) */
|
||
@media (max-width: 1023px) {
|
||
html {
|
||
overflow-x: clip;
|
||
}
|
||
body,
|
||
#root {
|
||
overflow-x: clip;
|
||
max-width: 100%;
|
||
}
|
||
}
|
||
|
||
/* Telefon & Tablet hochkant: volle Breite wie eine native App (kein 600px-Säulen-Layout) */
|
||
.app-shell {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 100%;
|
||
min-height: 100dvh;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
margin: 0;
|
||
}
|
||
.app-header {
|
||
height: var(--header-h); display: flex; align-items: center; padding: 0 16px;
|
||
background: var(--surface); border-bottom: 1px solid var(--border);
|
||
position: sticky; top: 0; z-index: 10;
|
||
}
|
||
/* iPhone: Web-App (standalone) / Safari mit viewport-fit=cover — Kopf unter Statusleiste ausrichten */
|
||
@media (max-width: 1023px) {
|
||
.app-header.app-header--mobile {
|
||
height: auto;
|
||
min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
|
||
padding-top: env(safe-area-inset-top, 0px);
|
||
padding-left: max(16px, env(safe-area-inset-left, 0px));
|
||
padding-right: max(16px, env(safe-area-inset-right, 0px));
|
||
}
|
||
}
|
||
.app-header--mobile-stack {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 0.5rem;
|
||
padding-bottom: 10px;
|
||
}
|
||
.app-header-mobile__top {
|
||
display: flex;
|
||
align-items: center;
|
||
min-height: var(--header-h);
|
||
}
|
||
.app-logo { font-size: 18px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
|
||
|
||
.active-club-switch {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.35rem;
|
||
}
|
||
.active-club-switch__label {
|
||
font-size: 0.75rem;
|
||
font-weight: 500;
|
||
color: var(--text2);
|
||
}
|
||
.active-club-switch__select {
|
||
width: 100%;
|
||
font-size: 0.875rem;
|
||
padding: 0.4rem 0.5rem;
|
||
}
|
||
.active-club-switch--sidebar {
|
||
width: 100%;
|
||
padding-bottom: 4px;
|
||
}
|
||
.active-club-switch--mobile {
|
||
width: 100%;
|
||
}
|
||
|
||
/* === Seiten-Inhalt: volle Breite der Spalte, kein künstlicher Max-Wert auf großen Screens === */
|
||
.app-page {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
/* Form-Grids: minmax(0,…) verhindert Grid-Overflow; eine Spalte bis zum ersten Breakpoint */
|
||
.responsive-grid-2 {
|
||
display: grid;
|
||
gap: 12px;
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
@media (min-width: 480px) {
|
||
.responsive-grid-2 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
.responsive-grid-3 {
|
||
display: grid;
|
||
gap: 1rem;
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
@media (min-width: 560px) {
|
||
.responsive-grid-3 {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
.responsive-grid-4 {
|
||
display: grid;
|
||
gap: 1rem;
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
@media (min-width: 560px) {
|
||
.responsive-grid-4 {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
@media (min-width: 900px) {
|
||
.responsive-grid-4 {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
}
|
||
}
|
||
/* unten: Tab-Leiste + Abstand nach oben zur Leiste + Home-Indicator (iPhone) */
|
||
.app-main {
|
||
flex: 1;
|
||
min-width: 0;
|
||
max-width: 100%;
|
||
overflow-x: clip;
|
||
overflow-y: auto;
|
||
padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(var(--nav-h) + var(--nav-pad-top) + env(safe-area-inset-bottom, 0px) + 20px) max(16px, env(safe-area-inset-left, 0px));
|
||
}
|
||
|
||
.bottom-nav {
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
width: auto;
|
||
max-width: none;
|
||
display: flex;
|
||
align-items: center;
|
||
background: var(--surface);
|
||
border-top: 1px solid var(--border);
|
||
z-index: 20;
|
||
overflow-x: auto;
|
||
overflow-y: visible;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
justify-content: flex-start;
|
||
gap: 2px;
|
||
padding: var(--nav-pad-top) max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-left, 0px));
|
||
min-height: calc(var(--nav-h) + var(--nav-pad-top) + env(safe-area-inset-bottom, 0px));
|
||
height: auto;
|
||
box-sizing: border-box;
|
||
}
|
||
.bottom-nav::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
.nav-item {
|
||
flex: 0 0 auto;
|
||
min-width: 56px;
|
||
max-width: 96px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 3px;
|
||
color: var(--text3);
|
||
text-decoration: none;
|
||
font-weight: 500;
|
||
transition: color 0.15s;
|
||
padding: 2px 4px 4px;
|
||
box-sizing: border-box;
|
||
}
|
||
.nav-item span {
|
||
font-size: 10px;
|
||
line-height: 1.15;
|
||
text-align: center;
|
||
max-width: 100%;
|
||
}
|
||
.nav-item.active { color: var(--accent); }
|
||
.nav-item svg { flex-shrink: 0; }
|
||
|
||
/* Cards */
|
||
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
|
||
.card + .card { margin-top: 12px; }
|
||
.card-title { font-size: 13px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
|
||
|
||
/* Stats grid */
|
||
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
|
||
.stat-val { font-size: 26px; font-weight: 700; color: var(--text1); line-height: 1; }
|
||
.stat-label { font-size: 12px; color: var(--text3); margin-top: 3px; }
|
||
.stat-delta { font-size: 12px; font-weight: 600; margin-top: 4px; }
|
||
.delta-pos { color: var(--accent); }
|
||
.delta-neg { color: var(--danger); }
|
||
|
||
/* Form - STANDARD: Label oben, volle Breite, linksbündig */
|
||
.form-section { margin-bottom: 20px; }
|
||
.form-section-title {
|
||
font-size: 13px; font-weight: 600; color: var(--text3);
|
||
text-transform: uppercase; letter-spacing: 0.05em;
|
||
margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
/* Standard Form Row: Label oben, Input darunter, volle Breite */
|
||
.form-row {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 8px;
|
||
padding: 0;
|
||
margin-bottom: 16px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.form-label {
|
||
display: block;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--text1);
|
||
text-align: left;
|
||
line-height: 1.3;
|
||
}
|
||
|
||
.form-sub {
|
||
font-size: 11px;
|
||
color: var(--text3);
|
||
display: block;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.form-input {
|
||
width: 100%;
|
||
min-width: 0;
|
||
padding: 10px 12px;
|
||
text-align: left;
|
||
font-family: var(--font);
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
color: var(--text1);
|
||
background: var(--surface2);
|
||
border: 1.5px solid var(--border2);
|
||
border-radius: 8px;
|
||
transition: border-color 0.15s;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.form-input:focus {
|
||
outline: none;
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
/* Textarea spezifisch */
|
||
textarea.form-input {
|
||
resize: vertical;
|
||
min-height: 80px;
|
||
}
|
||
|
||
/* Select spezifisch */
|
||
select.form-input {
|
||
cursor: pointer;
|
||
}
|
||
|
||
/* Inline-Variante für Ausnahmen (z.B. kurze Werte mit Einheit) */
|
||
.form-row--inline {
|
||
flex-direction: row;
|
||
align-items: center;
|
||
gap: 10px;
|
||
}
|
||
|
||
.form-row--inline .form-label {
|
||
flex: 1;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.form-row--inline .form-input {
|
||
width: 90px;
|
||
text-align: right;
|
||
}
|
||
|
||
.form-unit {
|
||
font-size: 12px;
|
||
color: var(--text3);
|
||
width: 24px;
|
||
}
|
||
|
||
/* Einstellungen Profil: Label als Überschrift oben, volle Breite, linksbündig */
|
||
.settings-page__field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 8px;
|
||
padding: 12px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
text-align: left;
|
||
}
|
||
.settings-page__field-label {
|
||
display: block;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--text1);
|
||
text-align: left;
|
||
line-height: 1.3;
|
||
}
|
||
.settings-page__field .form-input {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
text-align: left;
|
||
box-sizing: border-box;
|
||
}
|
||
.form-select {
|
||
font-family: var(--font); font-size: 13px; color: var(--text1);
|
||
background: var(--surface2); border: 1.5px solid var(--border2);
|
||
border-radius: 8px; padding: 7px 10px; width: 100%;
|
||
}
|
||
|
||
/* Buttons */
|
||
.btn {
|
||
display: inline-flex; align-items: center; gap: 6px;
|
||
font-family: var(--font); font-size: 14px; font-weight: 600;
|
||
padding: 10px 18px; border-radius: 10px; border: none; cursor: pointer;
|
||
transition: opacity 0.15s, transform 0.1s;
|
||
}
|
||
.btn:active { transform: scale(0.97); }
|
||
.btn-primary { background: var(--accent); color: white; }
|
||
.btn-secondary { background: var(--surface2); border: 1px solid var(--border2); color: var(--text2); }
|
||
.btn-danger { background: #FCEBEB; color: var(--danger); }
|
||
.btn-full { width: 100%; justify-content: center; }
|
||
.btn:disabled { opacity: 0.5; pointer-events: none; }
|
||
|
||
/* Badge */
|
||
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
|
||
|
||
/* AI content */
|
||
.ai-content { font-size: 14px; line-height: 1.7; color: var(--text2); white-space: pre-wrap; }
|
||
.ai-content strong { color: var(--text1); font-weight: 600; }
|
||
|
||
/* Photo grid */
|
||
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
|
||
.photo-thumb { aspect-ratio: 1; border-radius: 8px; object-fit: cover; width: 100%; cursor: pointer; }
|
||
|
||
/* Tabs */
|
||
.tabs { display: flex; gap: 4px; background: var(--surface2); border-radius: 10px; padding: 3px; margin-bottom: 16px; }
|
||
.tab { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text3); cursor: pointer; border: none; background: transparent; font-family: var(--font); }
|
||
.tab.active { background: var(--surface); color: var(--text1); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
|
||
|
||
/* Section */
|
||
.section-gap { margin-bottom: 16px; }
|
||
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
|
||
|
||
/* Verlauf: Mobile Tabs horizontale Leiste, Desktop vertikal links (P4 / RESPONSIVE_UI §5.2) */
|
||
/* KPI-Kachel-Raster: gemeinsam für Verlauf Körper, Dashboard KPI-Board, …
|
||
Desktop: title-Tooltip; Touch: ℹ → Bottom-Sheet (siehe KpiTilesOverview.jsx) */
|
||
.kpi-tiles-grid,
|
||
.body-kpi-overview {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
|
||
gap: 8px;
|
||
margin-bottom: 12px;
|
||
}
|
||
.kpi-tiles-card,
|
||
.body-kpi-card {
|
||
background: var(--surface2);
|
||
border-radius: 10px;
|
||
padding: 10px 10px 10px 12px;
|
||
border: 1px solid var(--border);
|
||
cursor: help;
|
||
text-align: left;
|
||
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
||
}
|
||
@media (hover: none) {
|
||
.kpi-tiles-card,
|
||
.body-kpi-card {
|
||
cursor: default;
|
||
}
|
||
}
|
||
.kpi-tiles-card:hover,
|
||
.body-kpi-card:hover {
|
||
border-color: var(--border2);
|
||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
|
||
}
|
||
|
||
.kpi-tiles-info-btn,
|
||
.body-kpi-info-btn {
|
||
position: absolute;
|
||
top: 6px;
|
||
right: 6px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 36px;
|
||
min-height: 36px;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: 8px;
|
||
background: transparent;
|
||
color: var(--text3);
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
.kpi-tiles-info-btn:active,
|
||
.body-kpi-info-btn:active {
|
||
background: var(--surface);
|
||
color: var(--accent);
|
||
}
|
||
|
||
.kpi-tiles-touch-backdrop,
|
||
.body-kpi-touch-backdrop {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10050;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
padding: 0 12px;
|
||
padding-bottom: max(12px, env(safe-area-inset-bottom));
|
||
background: rgba(0, 0, 0, 0.45);
|
||
animation: kpi-tiles-fade-in 0.15s ease;
|
||
}
|
||
|
||
@keyframes kpi-tiles-fade-in {
|
||
from { opacity: 0; }
|
||
to { opacity: 1; }
|
||
}
|
||
@keyframes body-kpi-fade-in {
|
||
from { opacity: 0; }
|
||
to { opacity: 1; }
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet,
|
||
.body-kpi-touch-sheet {
|
||
width: 100%;
|
||
max-width: 520px;
|
||
max-height: min(72vh, 560px);
|
||
overflow: auto;
|
||
margin: 0 auto;
|
||
padding: 14px 16px 18px;
|
||
border-radius: 16px 16px 0 0;
|
||
background: var(--surface);
|
||
border: 1px solid var(--border);
|
||
border-bottom: none;
|
||
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__head,
|
||
.body-kpi-touch-sheet__head {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__title,
|
||
.body-kpi-touch-sheet__title {
|
||
margin: 0;
|
||
font-size: 16px;
|
||
font-weight: 700;
|
||
color: var(--text1);
|
||
line-height: 1.3;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__close,
|
||
.body-kpi-touch-sheet__close {
|
||
flex-shrink: 0;
|
||
width: 40px;
|
||
height: 40px;
|
||
margin: -6px -8px 0 0;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: 10px;
|
||
background: transparent;
|
||
color: var(--text2);
|
||
font-size: 26px;
|
||
line-height: 1;
|
||
cursor: pointer;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__close:active,
|
||
.body-kpi-touch-sheet__close:active {
|
||
background: var(--surface2);
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__body,
|
||
.body-kpi-touch-sheet__body {
|
||
font-size: 13px;
|
||
line-height: 1.5;
|
||
color: var(--text2);
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.kpi-tiles-touch-sheet__body--muted,
|
||
.body-kpi-touch-sheet__body--muted {
|
||
color: var(--text3);
|
||
font-style: italic;
|
||
}
|
||
|
||
/* KPI: Kurz-Hinweis max. 2 Zeilen — Details weiter per ℹ */
|
||
.kpi-tiles-card__hint {
|
||
max-height: 2.8em;
|
||
}
|
||
|
||
/* Verlauf Ernährung: Donut (Ø-Quote) + wöchentliche Makro-Verteilung (E3) */
|
||
.nutrition-macro-pair {
|
||
display: grid;
|
||
gap: 12px;
|
||
margin-bottom: 12px;
|
||
align-items: stretch;
|
||
}
|
||
|
||
@media (min-width: 780px) {
|
||
.nutrition-macro-pair {
|
||
grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.25fr);
|
||
}
|
||
}
|
||
|
||
.nutrition-macro-pair__weekly {
|
||
min-width: 0;
|
||
}
|
||
|
||
/* Einheitliche Chart-Höhe (Donut-Bereich ≈ E3-Balken) */
|
||
.nutrition-macro-pair__chart-wrap {
|
||
width: 100%;
|
||
min-height: 260px;
|
||
}
|
||
|
||
.nutrition-macro-pair__donut-inner {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
width: 100%;
|
||
}
|
||
|
||
.nutrition-macro-pair__donut-chart {
|
||
width: 100%;
|
||
min-height: 260px;
|
||
}
|
||
|
||
.nutrition-macro-pair__legend {
|
||
width: 100%;
|
||
padding-top: 2px;
|
||
}
|
||
|
||
.nutrition-macro-pair .card.nutrition-macro-pair__donut,
|
||
.nutrition-macro-pair .card.nutrition-macro-pair__weekly {
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.history-page__title {
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.history-page__layout {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.history-tabs {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.history-tabs__scroller {
|
||
display: flex;
|
||
flex-direction: row;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
padding-bottom: 6px;
|
||
-ms-overflow-style: none;
|
||
scrollbar-width: none;
|
||
}
|
||
|
||
.history-tabs__scroller::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.history-tab-btn {
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
padding: 7px 14px;
|
||
border-radius: 20px;
|
||
border: 1.5px solid var(--border2);
|
||
background: var(--surface);
|
||
color: var(--text2);
|
||
font-family: var(--font);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.history-tab-btn:hover {
|
||
border-color: var(--accent);
|
||
color: var(--text1);
|
||
}
|
||
|
||
.history-tab-btn.history-tab-btn--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent);
|
||
color: white;
|
||
}
|
||
|
||
.history-tab-btn.history-tab-btn--active:hover {
|
||
color: white;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.history-page__layout {
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
gap: 24px;
|
||
}
|
||
|
||
.history-tabs {
|
||
flex: 0 0 260px;
|
||
max-width: 280px;
|
||
position: sticky;
|
||
top: 16px;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.history-tabs__scroller {
|
||
flex-direction: column;
|
||
overflow-x: visible;
|
||
overflow-y: auto;
|
||
max-height: calc(100vh - 120px);
|
||
padding-bottom: 0;
|
||
gap: 8px;
|
||
}
|
||
|
||
.history-tab-btn {
|
||
display: flex;
|
||
align-items: center;
|
||
width: 100%;
|
||
text-align: left;
|
||
border-radius: 10px;
|
||
white-space: normal;
|
||
flex-shrink: 0;
|
||
padding: 10px 14px;
|
||
}
|
||
|
||
.history-content {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
}
|
||
|
||
/* KI-Analyse (P5): Mobile Prompt-Leiste oben / horizontal, Desktop links ~300px (RESPONSIVE_UI §5.3) */
|
||
.analysis-page__header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
margin-bottom: 16px;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
.analysis-page__header > div:first-child {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.analysis-split {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.analysis-split__nav {
|
||
display: flex;
|
||
flex-direction: row;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
padding-bottom: 6px;
|
||
-ms-overflow-style: none;
|
||
scrollbar-width: none;
|
||
}
|
||
|
||
.analysis-split__nav::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.analysis-split__nav-item {
|
||
flex-shrink: 0;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 8px 14px;
|
||
border-radius: 20px;
|
||
border: 1.5px solid var(--border2);
|
||
background: var(--surface);
|
||
color: var(--text2);
|
||
font-family: var(--font);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.analysis-split__nav-item:hover {
|
||
border-color: var(--accent);
|
||
color: var(--text1);
|
||
}
|
||
|
||
.analysis-split__nav-item--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent);
|
||
color: white;
|
||
}
|
||
|
||
.analysis-split__nav-item--active:hover {
|
||
color: white;
|
||
}
|
||
|
||
.analysis-split__nav-item--active .muted {
|
||
color: rgba(255, 255, 255, 0.88) !important;
|
||
}
|
||
|
||
.analysis-split__nav-cat-count {
|
||
margin-left: 6px;
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
opacity: 0.92;
|
||
}
|
||
|
||
.analysis-split__nav-item--active .analysis-split__nav-cat-count {
|
||
color: rgba(255, 255, 255, 0.95);
|
||
opacity: 1;
|
||
}
|
||
|
||
a.analysis-split__nav-item {
|
||
text-decoration: none;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.analysis-split__main {
|
||
min-width: 0;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.analysis-split {
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
gap: 24px;
|
||
}
|
||
|
||
.analysis-split__nav-wrap {
|
||
flex: 0 0 300px;
|
||
max-width: 320px;
|
||
position: sticky;
|
||
top: 16px;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.analysis-split__nav {
|
||
flex-direction: column;
|
||
overflow-x: visible;
|
||
overflow-y: auto;
|
||
max-height: calc(100vh - 140px);
|
||
padding-bottom: 0;
|
||
gap: 8px;
|
||
}
|
||
|
||
.analysis-split__nav-item {
|
||
width: 100%;
|
||
justify-content: flex-start;
|
||
text-align: left;
|
||
border-radius: 10px;
|
||
white-space: normal;
|
||
}
|
||
|
||
.analysis-split__main {
|
||
flex: 1;
|
||
}
|
||
}
|
||
|
||
/* Erfassung: eine einheitliche Inhaltsbreite (Desktop), zentriert; mobil volle Breite */
|
||
.capture-page {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.capture-page {
|
||
max-width: var(--capture-content-max);
|
||
margin-left: auto;
|
||
margin-right: auto;
|
||
}
|
||
}
|
||
|
||
/* Admin: Session-Metriken / Attributprofile — volle Breite, linksbündig (nicht globale 90px-Zahlfelder) */
|
||
.activity-attribute-profiles .aaf-stack {
|
||
max-width: 42rem;
|
||
}
|
||
.activity-attribute-profiles .aaf-field {
|
||
margin-bottom: 1rem;
|
||
}
|
||
.activity-attribute-profiles .aaf-label {
|
||
display: block;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
color: var(--text1);
|
||
text-align: left;
|
||
margin-bottom: 6px;
|
||
line-height: 1.35;
|
||
}
|
||
.activity-attribute-profiles .aaf-sublabel {
|
||
display: block;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
text-align: left;
|
||
margin-bottom: 4px;
|
||
}
|
||
.activity-attribute-profiles .aaf-hint {
|
||
font-size: 12px;
|
||
color: var(--text3);
|
||
text-align: left;
|
||
margin: 6px 0 0;
|
||
line-height: 1.45;
|
||
}
|
||
.activity-attribute-profiles .aaf-input,
|
||
.activity-attribute-profiles textarea.aaf-input {
|
||
display: block;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
padding: 10px 12px;
|
||
text-align: left;
|
||
font-family: var(--font);
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
color: var(--text1);
|
||
background: var(--surface2);
|
||
border: 1.5px solid var(--border2);
|
||
border-radius: 8px;
|
||
transition: border-color 0.15s;
|
||
}
|
||
.activity-attribute-profiles textarea.aaf-input {
|
||
resize: vertical;
|
||
min-height: 4.5rem;
|
||
font-weight: 400;
|
||
}
|
||
.activity-attribute-profiles .aaf-input:focus {
|
||
outline: none;
|
||
border-color: var(--accent);
|
||
}
|
||
.activity-attribute-profiles .aaf-split {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 12px;
|
||
}
|
||
@media (max-width: 560px) {
|
||
.activity-attribute-profiles .aaf-split {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
.activity-attribute-profiles .aaf-field-select {
|
||
padding: 12px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
.activity-attribute-profiles .aaf-field-select:last-child {
|
||
border-bottom: none;
|
||
}
|
||
.activity-attribute-profiles .aaf-field-select .form-label {
|
||
display: block;
|
||
text-align: left;
|
||
margin-bottom: 6px;
|
||
font-weight: 600;
|
||
flex: unset;
|
||
}
|
||
.activity-attribute-profiles .aaf-field-select .form-input,
|
||
.activity-attribute-profiles .aaf-field-select select.form-input {
|
||
width: 100%;
|
||
max-width: none;
|
||
min-width: 0;
|
||
text-align: left;
|
||
box-sizing: border-box;
|
||
padding: 10px 12px;
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: flex-end;
|
||
gap: 12px;
|
||
padding: 12px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar .form-label {
|
||
display: block;
|
||
text-align: left;
|
||
margin-bottom: 6px;
|
||
font-weight: 600;
|
||
flex: unset;
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar__grow {
|
||
flex: 1 1 240px;
|
||
min-width: 0;
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar .form-input,
|
||
.activity-attribute-profiles .aaf-toolbar select.form-input {
|
||
width: 100%;
|
||
min-width: 140px;
|
||
max-width: none;
|
||
text-align: left;
|
||
box-sizing: border-box;
|
||
padding: 10px 12px;
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar__compact {
|
||
flex: 0 0 auto;
|
||
}
|
||
.activity-attribute-profiles .aaf-toolbar__compact .form-input,
|
||
.activity-attribute-profiles .aaf-toolbar__compact select.form-input {
|
||
width: 100%;
|
||
min-width: 5rem;
|
||
}
|
||
.activity-attribute-profiles .aaf-inline-edit .form-input,
|
||
.activity-attribute-profiles .aaf-inline-edit select.form-input {
|
||
text-align: left;
|
||
min-width: 4.5rem;
|
||
width: auto;
|
||
max-width: none;
|
||
box-sizing: border-box;
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
/* Erfassung: Sub-Navigation (Mobil = Chips, Desktop = linke Spalte) */
|
||
.capture-shell {
|
||
width: 100%;
|
||
}
|
||
|
||
.capture-shell__layout {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.capture-shell__nav {
|
||
display: flex;
|
||
flex-direction: row;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
padding-bottom: 6px;
|
||
-ms-overflow-style: none;
|
||
scrollbar-width: none;
|
||
}
|
||
|
||
.capture-shell__nav::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.capture-shell__nav-item {
|
||
flex-shrink: 0;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 7px 12px;
|
||
border-radius: 20px;
|
||
border: 1.5px solid var(--border2);
|
||
background: var(--surface);
|
||
color: var(--text2);
|
||
font-family: var(--font);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
text-decoration: none;
|
||
white-space: nowrap;
|
||
cursor: pointer;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.capture-shell__nav-item:hover {
|
||
border-color: var(--accent);
|
||
color: var(--text1);
|
||
}
|
||
|
||
.capture-shell__nav-item--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent);
|
||
color: white;
|
||
}
|
||
|
||
.capture-shell__nav-item--active:hover {
|
||
color: white;
|
||
}
|
||
|
||
.capture-shell__nav-item--highlight:not(.capture-shell__nav-item--active) {
|
||
border-color: #7f77dd88;
|
||
background: #7f77dd14;
|
||
}
|
||
|
||
.capture-shell__nav-icon {
|
||
font-size: 15px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.capture-shell__nav-label {
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.capture-shell__main {
|
||
min-width: 0;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.capture-shell__layout {
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
gap: 24px;
|
||
}
|
||
|
||
.capture-shell__nav-wrap {
|
||
flex: 0 0 260px;
|
||
max-width: 280px;
|
||
position: sticky;
|
||
top: 16px;
|
||
align-self: flex-start;
|
||
}
|
||
|
||
.capture-shell__nav {
|
||
flex-direction: column;
|
||
overflow-x: visible;
|
||
overflow-y: auto;
|
||
max-height: calc(100vh - 140px);
|
||
padding-bottom: 0;
|
||
gap: 8px;
|
||
}
|
||
|
||
.capture-shell__nav-item {
|
||
width: 100%;
|
||
justify-content: flex-start;
|
||
border-radius: 10px;
|
||
white-space: normal;
|
||
padding: 9px 12px;
|
||
}
|
||
|
||
.capture-shell__main {
|
||
flex: 1;
|
||
}
|
||
}
|
||
|
||
button.capture-shell__nav-item {
|
||
font-family: inherit;
|
||
text-align: left;
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
.capture-shell__nav-item svg.capture-shell__nav-icon {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* Einstellungen: gleiche Split-Struktur wie Analyse/Admin */
|
||
.settings-shell {
|
||
width: 100%;
|
||
}
|
||
|
||
/* Referenzwerte: Übersichtskacheln (responsive, bis 4 Spalten Desktop) */
|
||
.ref-value-tiles-grid {
|
||
display: grid;
|
||
gap: 12px;
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
@media (min-width: 520px) {
|
||
.ref-value-tiles-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (min-width: 900px) {
|
||
.ref-value-tiles-grid {
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1200px) {
|
||
.ref-value-tiles-grid {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
.ref-value-tile {
|
||
display: block;
|
||
width: 100%;
|
||
margin: 0;
|
||
padding: 14px 14px 12px;
|
||
text-align: left;
|
||
font-family: var(--font);
|
||
border-radius: 12px;
|
||
border: 1.5px solid var(--border2);
|
||
background: var(--surface);
|
||
color: var(--text1);
|
||
cursor: pointer;
|
||
box-sizing: border-box;
|
||
transition: border-color 0.15s, box-shadow 0.15s;
|
||
}
|
||
|
||
.ref-value-tile:hover {
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
.ref-value-tile:focus-visible {
|
||
outline: 2px solid var(--accent);
|
||
outline-offset: 2px;
|
||
}
|
||
|
||
.ref-value-tile--active {
|
||
border-color: var(--accent);
|
||
background: var(--surface2);
|
||
}
|
||
|
||
/* Admin: horizontale Seiten-Weiche (Hierarchie · Nutzer · …) */
|
||
.admin-top-nav {
|
||
display: flex;
|
||
gap: 8px;
|
||
border-bottom: 2px solid var(--border);
|
||
margin-bottom: 24px;
|
||
flex-wrap: wrap;
|
||
}
|
||
.admin-top-nav__link {
|
||
padding: 12px 18px;
|
||
background: transparent;
|
||
border: none;
|
||
border-bottom: 3px solid transparent;
|
||
margin-bottom: -2px;
|
||
cursor: pointer;
|
||
font-size: 15px;
|
||
font-weight: 500;
|
||
color: var(--text2);
|
||
text-decoration: none;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
transition: color 0.15s, background 0.15s, border-color 0.15s;
|
||
font-family: inherit;
|
||
border-radius: 8px 8px 0 0;
|
||
box-sizing: border-box;
|
||
}
|
||
.admin-top-nav__link:hover {
|
||
color: var(--text1);
|
||
background: var(--surface2);
|
||
}
|
||
.admin-top-nav__link--active {
|
||
color: var(--accent);
|
||
border-bottom-color: var(--accent);
|
||
background: transparent;
|
||
}
|
||
|
||
/* Trainingsplanung: kompakte Segmente (Gruppe / Verein) */
|
||
.planning-segment-group {
|
||
display: inline-flex;
|
||
border-radius: 10px;
|
||
border: 1.5px solid var(--border2);
|
||
overflow: hidden;
|
||
background: var(--surface2);
|
||
}
|
||
.planning-segment-group__btn {
|
||
border: none;
|
||
padding: 8px 14px;
|
||
font-weight: 600;
|
||
font-size: 0.85rem;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
background: transparent;
|
||
color: var(--text1);
|
||
white-space: nowrap;
|
||
transition: background 0.12s, color 0.12s;
|
||
}
|
||
.planning-segment-group__btn:disabled {
|
||
cursor: not-allowed;
|
||
opacity: 0.55;
|
||
}
|
||
.planning-segment-group__btn--active {
|
||
background: var(--accent);
|
||
color: #fff;
|
||
}
|
||
.planning-segment-group__btn:not(:first-child) {
|
||
border-left: 1.5px solid var(--border2);
|
||
}
|
||
|
||
/* Ausklappbare Kontext-Hilfe (Filterzeile Planung) */
|
||
.planning-filter-help {
|
||
flex: 1 1 100%;
|
||
margin-top: 4px;
|
||
max-width: 100%;
|
||
}
|
||
.planning-filter-help__summary {
|
||
cursor: pointer;
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: var(--accent-dark);
|
||
list-style: none;
|
||
user-select: none;
|
||
}
|
||
.planning-filter-help__summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
.planning-filter-help__body {
|
||
margin-top: 10px;
|
||
padding: 12px 14px;
|
||
font-size: 0.82rem;
|
||
line-height: 1.5;
|
||
color: var(--text2);
|
||
background: var(--surface2);
|
||
border: 1px solid var(--border);
|
||
border-radius: 10px;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
.planning-filter-help__summary {
|
||
color: var(--accent);
|
||
}
|
||
}
|
||
|
||
/* Admin: Split-Layout wie .analysis-split (nur Gruppen in der Nav) */
|
||
.admin-shell {
|
||
width: 100%;
|
||
}
|
||
|
||
.admin-page {
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
|
||
/* Desktop: volle Breite der Admin-Spalte (nicht wie Erfassung 800px); Lesegröße leicht skaliert */
|
||
@media (min-width: 1024px) {
|
||
.admin-page {
|
||
max-width: 100%;
|
||
margin-left: 0;
|
||
margin-right: 0;
|
||
font-size: clamp(15px, 0.88rem + 0.25vw, 18px);
|
||
}
|
||
}
|
||
|
||
.admin-maturity-header {
|
||
margin-bottom: 20px;
|
||
}
|
||
.admin-maturity-header__title {
|
||
font-size: 1.35rem;
|
||
font-weight: 700;
|
||
margin: 0 0 6px;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
.admin-maturity-header__subtitle {
|
||
margin: 0;
|
||
max-width: 56rem;
|
||
}
|
||
|
||
.admin-tabs {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
margin-bottom: 20px;
|
||
border-bottom: 1px solid var(--border);
|
||
padding-bottom: 12px;
|
||
}
|
||
.admin-tabs__tab {
|
||
padding: 10px 16px;
|
||
border-radius: 10px 10px 0 0;
|
||
border: 1px solid transparent;
|
||
background: var(--surface2);
|
||
color: var(--text2);
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
}
|
||
.admin-tabs__tab:hover {
|
||
color: var(--text1);
|
||
background: var(--surface);
|
||
}
|
||
.admin-tabs__tab--active {
|
||
background: var(--surface);
|
||
color: var(--accent-dark);
|
||
border-color: var(--border);
|
||
border-bottom-color: var(--surface);
|
||
margin-bottom: -13px;
|
||
padding-bottom: 11px;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
.admin-tabs__tab--active {
|
||
color: var(--accent);
|
||
}
|
||
}
|
||
.admin-tabs__panel {
|
||
min-width: 0;
|
||
}
|
||
|
||
.admin-matrix-panel__intro {
|
||
margin: 0 0 16px;
|
||
max-width: 56rem;
|
||
}
|
||
|
||
.admin-bindings__intro {
|
||
margin: 0 0 12px;
|
||
max-width: 56rem;
|
||
line-height: 1.55;
|
||
}
|
||
.admin-bindings__h2 {
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
margin: 0 0 12px;
|
||
}
|
||
.admin-bindings__form-section {
|
||
margin-bottom: 20px;
|
||
}
|
||
.admin-bindings__form {
|
||
display: grid;
|
||
gap: 12px;
|
||
max-width: 440px;
|
||
}
|
||
.admin-bindings__code {
|
||
font-size: 12px;
|
||
background: var(--surface2);
|
||
padding: 2px 6px;
|
||
border-radius: 6px;
|
||
font-family: ui-monospace, monospace;
|
||
}
|
||
.admin-bindings-table-wrap {
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
}
|
||
.admin-bindings-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 14px;
|
||
}
|
||
.admin-bindings-table th,
|
||
.admin-bindings-table td {
|
||
text-align: left;
|
||
padding: 10px 14px;
|
||
border-bottom: 1px solid var(--border);
|
||
vertical-align: top;
|
||
}
|
||
.admin-bindings-table th {
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
font-size: 13px;
|
||
background: var(--surface2);
|
||
}
|
||
.admin-bindings-table tbody tr:last-child td {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.admin-matrix-tools__intro {
|
||
margin: 0 0 16px;
|
||
max-width: 56rem;
|
||
line-height: 1.55;
|
||
}
|
||
.admin-matrix-tools__msg {
|
||
margin: 0 0 12px;
|
||
}
|
||
.admin-matrix-tools__section {
|
||
margin-bottom: 20px;
|
||
}
|
||
.admin-matrix-tools__h2 {
|
||
font-size: 1.1rem;
|
||
font-weight: 700;
|
||
margin: 0 0 14px;
|
||
}
|
||
.admin-matrix-tools__h3 {
|
||
font-size: 1rem;
|
||
font-weight: 600;
|
||
margin: 0 0 8px;
|
||
}
|
||
.admin-matrix-tools__hint {
|
||
font-size: 14px;
|
||
margin: 0 0 12px;
|
||
line-height: 1.45;
|
||
}
|
||
.admin-matrix-tools__filters {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||
gap: 12px;
|
||
margin-bottom: 14px;
|
||
}
|
||
.admin-matrix-tools__actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
margin-bottom: 8px;
|
||
}
|
||
.admin-matrix-tools__meta {
|
||
font-size: 13px;
|
||
margin: 0;
|
||
}
|
||
.admin-matrix-tools__subtitle {
|
||
font-weight: 400;
|
||
font-size: 14px;
|
||
}
|
||
.admin-matrix-tools__io-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||
gap: 24px;
|
||
}
|
||
.admin-matrix-tools__btn-mt {
|
||
margin-top: 12px;
|
||
}
|
||
.admin-matrix-tools__check {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
margin: 12px 0;
|
||
cursor: pointer;
|
||
}
|
||
.admin-matrix-tools__check input {
|
||
margin-top: 3px;
|
||
}
|
||
|
||
.admin-matrix-visual-group {
|
||
margin-bottom: 28px;
|
||
}
|
||
.admin-matrix-visual-group__main {
|
||
margin: 0 0 4px;
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
color: var(--accent-dark);
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
.admin-matrix-visual-group__main {
|
||
color: var(--accent);
|
||
}
|
||
}
|
||
.admin-matrix-visual-group__sub {
|
||
margin: 0 0 12px;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
}
|
||
.admin-matrix-visual-table-wrap {
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
}
|
||
.admin-matrix-visual-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 14px;
|
||
min-width: 640px;
|
||
}
|
||
.admin-matrix-visual-table th,
|
||
.admin-matrix-visual-table td {
|
||
border: 1px solid var(--border);
|
||
padding: 10px 12px;
|
||
vertical-align: top;
|
||
}
|
||
.admin-matrix-visual-table thead th {
|
||
background: var(--surface2);
|
||
font-weight: 600;
|
||
}
|
||
.admin-matrix-visual-table__skill {
|
||
min-width: 160px;
|
||
max-width: 220px;
|
||
}
|
||
.admin-matrix-visual-table__level {
|
||
min-width: 140px;
|
||
}
|
||
.admin-matrix-visual-table__ln {
|
||
display: block;
|
||
font-size: 12px;
|
||
color: var(--text3);
|
||
}
|
||
.admin-matrix-visual-table__lname {
|
||
display: block;
|
||
font-size: 13px;
|
||
}
|
||
.admin-matrix-visual-table__skill-cell {
|
||
font-weight: 600;
|
||
background: var(--surface2);
|
||
}
|
||
.admin-matrix-visual-table__goal {
|
||
line-height: 1.45;
|
||
}
|
||
.admin-matrix-visual-table__obs {
|
||
margin-top: 8px;
|
||
font-size: 13px;
|
||
line-height: 1.4;
|
||
}
|
||
.admin-matrix-visual-table__obs strong {
|
||
color: var(--text2);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.skills-catalog-admin__intro {
|
||
margin: 0 0 16px;
|
||
max-width: 56rem;
|
||
}
|
||
.skills-catalog-admin__error {
|
||
padding: 12px 14px;
|
||
border-radius: 10px;
|
||
background: var(--warn-bg);
|
||
color: var(--warn-text);
|
||
margin-bottom: 16px;
|
||
}
|
||
.skills-catalog-admin__msg {
|
||
margin: 0 0 12px;
|
||
}
|
||
|
||
.skills-catalog-layout {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 16px;
|
||
align-items: start;
|
||
margin-bottom: 24px;
|
||
}
|
||
@media (max-width: 1023px) {
|
||
.skills-catalog-layout {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.skills-catalog-column {
|
||
background: var(--surface);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
padding: 14px;
|
||
min-width: 0;
|
||
}
|
||
.skills-catalog-column__title {
|
||
font-size: 13px;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
color: var(--text3);
|
||
margin: 0 0 12px;
|
||
}
|
||
|
||
.skills-catalog-list {
|
||
list-style: none;
|
||
margin: 0 0 14px;
|
||
padding: 0;
|
||
max-height: min(42vh, 360px);
|
||
overflow-y: auto;
|
||
}
|
||
.skills-catalog-placeholder {
|
||
margin: 0 0 14px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.skills-catalog-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
border-radius: 8px;
|
||
margin-bottom: 4px;
|
||
border: 1px solid transparent;
|
||
}
|
||
.skills-catalog-row--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent-light);
|
||
}
|
||
.skills-catalog-row__label {
|
||
flex: 1;
|
||
min-width: 0;
|
||
text-align: left;
|
||
padding: 8px 10px;
|
||
border: none;
|
||
background: transparent;
|
||
font: inherit;
|
||
color: inherit;
|
||
cursor: pointer;
|
||
border-radius: 7px;
|
||
}
|
||
.skills-catalog-row__label:hover {
|
||
background: var(--surface2);
|
||
}
|
||
.skills-catalog-row--active .skills-catalog-row__label:hover {
|
||
background: transparent;
|
||
}
|
||
.skills-catalog-row__actions {
|
||
display: flex;
|
||
gap: 2px;
|
||
flex-shrink: 0;
|
||
padding-right: 4px;
|
||
}
|
||
.skills-catalog-row__badge {
|
||
display: inline-block;
|
||
margin-left: 8px;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
color: var(--text3);
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.skills-catalog-quick {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
padding-top: 8px;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
.skills-catalog-quick .form-label {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.skills-catalog-detail {
|
||
background: var(--surface);
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
padding: 18px 20px;
|
||
max-width: 100%;
|
||
}
|
||
.skills-catalog-detail__title {
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
margin: 0 0 14px;
|
||
}
|
||
.skills-catalog-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
.skills-catalog-form__heading {
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
margin: 0 0 4px;
|
||
color: var(--text2);
|
||
}
|
||
.skills-catalog-form__actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.btn-tiny {
|
||
padding: 4px 8px;
|
||
font-size: 13px;
|
||
line-height: 1.2;
|
||
min-width: 2rem;
|
||
}
|
||
|
||
.btn-ghost {
|
||
background: transparent;
|
||
border: none;
|
||
color: var(--text2);
|
||
box-shadow: none;
|
||
}
|
||
.btn-ghost:hover {
|
||
background: var(--surface2);
|
||
color: var(--text1);
|
||
}
|
||
|
||
/* Touch-Ziel mind. ca. 44×44 (Apple HIG) */
|
||
.btn-icon-touch {
|
||
min-width: 44px;
|
||
min-height: 44px;
|
||
padding: 0 10px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 1.15rem;
|
||
line-height: 1;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.admin-modal-backdrop {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 1000;
|
||
background: rgba(0, 0, 0, 0.45);
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
padding: 0;
|
||
padding-bottom: env(safe-area-inset-bottom, 0px);
|
||
}
|
||
@media (min-width: 640px) {
|
||
.admin-modal-backdrop {
|
||
align-items: center;
|
||
padding: 24px;
|
||
padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
|
||
}
|
||
}
|
||
|
||
.admin-modal-sheet {
|
||
width: 100%;
|
||
max-width: 520px;
|
||
max-height: min(92vh, 100dvh);
|
||
background: var(--surface);
|
||
border-radius: 16px 16px 0 0;
|
||
border: 1px solid var(--border);
|
||
border-bottom: none;
|
||
box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
}
|
||
@media (min-width: 640px) {
|
||
.admin-modal-sheet {
|
||
border-radius: 16px;
|
||
border-bottom: 1px solid var(--border);
|
||
max-height: min(88vh, 900px);
|
||
}
|
||
}
|
||
|
||
.admin-modal-sheet__header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 16px 16px 12px;
|
||
padding-top: max(16px, env(safe-area-inset-top, 0px));
|
||
border-bottom: 1px solid var(--border);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.admin-modal-sheet__title {
|
||
margin: 0;
|
||
font-size: 1.1rem;
|
||
font-weight: 700;
|
||
line-height: 1.25;
|
||
}
|
||
|
||
.admin-modal-sheet__close {
|
||
flex-shrink: 0;
|
||
min-width: 44px;
|
||
min-height: 44px;
|
||
padding: 0 12px;
|
||
}
|
||
|
||
.admin-modal-sheet__body {
|
||
padding: 16px;
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
overscroll-behavior: contain;
|
||
}
|
||
|
||
.exercise-filter-modal.admin-modal-sheet {
|
||
max-width: min(920px, calc(100dvw - 16px));
|
||
}
|
||
.exercise-filter-modal .admin-modal-sheet__body.exercise-filter-modal__scroll {
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
.exercise-filter-modal__footer {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
justify-content: flex-end;
|
||
align-items: center;
|
||
padding: 12px 16px;
|
||
padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
|
||
border-top: 1px solid var(--border);
|
||
flex-shrink: 0;
|
||
background: var(--surface);
|
||
}
|
||
.exercise-search-bar__actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 10px;
|
||
margin-top: 12px;
|
||
}
|
||
.exercise-filter-trigger {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.exercise-filter-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 22px;
|
||
height: 22px;
|
||
padding: 0 6px;
|
||
border-radius: 999px;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
background: var(--accent);
|
||
color: #fff;
|
||
}
|
||
.exercise-filters-modal-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||
gap: 14px;
|
||
}
|
||
.exercise-filters-modal-grid--two {
|
||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||
}
|
||
.exercise-filter-chips-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
align-items: center;
|
||
margin-top: 10px;
|
||
}
|
||
.exercise-filter-chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
max-width: 100%;
|
||
padding: 5px 10px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--border);
|
||
background: var(--surface2);
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
color: var(--text1);
|
||
text-align: left;
|
||
}
|
||
.exercise-filter-chip__text {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
max-width: min(260px, 100%);
|
||
}
|
||
.exercise-filter-chip__x {
|
||
flex-shrink: 0;
|
||
opacity: 0.65;
|
||
font-weight: 700;
|
||
line-height: 1;
|
||
}
|
||
.exercise-filter-section {
|
||
margin-bottom: 20px;
|
||
}
|
||
.exercise-filter-section--last {
|
||
margin-bottom: 0;
|
||
}
|
||
.exercise-filter-section-title {
|
||
margin: 0 0 10px;
|
||
font-size: 11px;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.06em;
|
||
color: var(--text3);
|
||
font-weight: 700;
|
||
}
|
||
.exercise-filter-skill-block {
|
||
border: 1px solid var(--border);
|
||
border-radius: 12px;
|
||
padding: 12px;
|
||
background: var(--surface2);
|
||
}
|
||
.exercise-filter-skill-block > .form-label {
|
||
margin-bottom: 6px;
|
||
}
|
||
.exercise-filter-skill-hint {
|
||
margin: 10px 0 8px;
|
||
font-size: 12px;
|
||
color: var(--text3);
|
||
line-height: 1.35;
|
||
}
|
||
.exercise-filter-skill-levels-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: flex-end;
|
||
gap: 10px;
|
||
}
|
||
.exercise-filter-skill-level-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
.exercise-filter-skill-level-caption {
|
||
font-size: 11px;
|
||
color: var(--text3);
|
||
font-weight: 600;
|
||
}
|
||
.exercise-filter-level-select {
|
||
width: 72px;
|
||
padding: 6px 8px;
|
||
font-size: 14px;
|
||
}
|
||
.exercise-filter-skill-dash {
|
||
padding-bottom: 8px;
|
||
color: var(--text3);
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* Reifegradmodell-Admin: klare Schritte, responsives Raster */
|
||
.admin-matrix-alert {
|
||
border: 1px solid var(--danger);
|
||
padding: 14px 16px;
|
||
margin-bottom: 16px;
|
||
border-radius: 12px;
|
||
color: var(--danger);
|
||
}
|
||
|
||
.admin-matrix-layout {
|
||
display: grid;
|
||
grid-template-columns: minmax(260px, 300px) 1fr;
|
||
gap: 20px;
|
||
align-items: start;
|
||
}
|
||
@media (max-width: 900px) {
|
||
.admin-matrix-layout {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.admin-matrix-sidebar {
|
||
position: sticky;
|
||
top: 12px;
|
||
}
|
||
@media (max-width: 900px) {
|
||
.admin-matrix-sidebar {
|
||
position: static;
|
||
}
|
||
}
|
||
|
||
.admin-matrix-sidebar__title {
|
||
margin: 0 0 12px;
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
}
|
||
.admin-matrix-sidebar__subtitle {
|
||
margin: 0 0 10px;
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.admin-matrix-divider {
|
||
border: none;
|
||
border-top: 1px solid var(--border);
|
||
margin: 16px 0;
|
||
}
|
||
|
||
.admin-matrix-model-list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
max-height: min(40vh, 320px);
|
||
overflow-y: auto;
|
||
}
|
||
.admin-matrix-model-list li + li {
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.admin-matrix-model-btn {
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 12px 14px;
|
||
border-radius: 10px;
|
||
border: 1px solid var(--border2);
|
||
background: var(--surface2);
|
||
color: var(--text1);
|
||
font: inherit;
|
||
cursor: pointer;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
min-height: 48px;
|
||
}
|
||
.admin-matrix-model-btn:hover {
|
||
background: var(--surface);
|
||
}
|
||
.admin-matrix-model-btn--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent-light);
|
||
color: var(--accent-dark);
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
.admin-matrix-model-btn--active {
|
||
color: var(--accent);
|
||
}
|
||
}
|
||
.admin-matrix-model-btn__name {
|
||
font-weight: 600;
|
||
}
|
||
.admin-matrix-model-btn__meta {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.admin-matrix-new-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
|
||
.admin-matrix-main {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.admin-matrix-loading {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 12px 0;
|
||
}
|
||
|
||
.admin-matrix-empty {
|
||
padding: 24px;
|
||
color: var(--text2);
|
||
}
|
||
|
||
.admin-matrix-section__head {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin-bottom: 12px;
|
||
}
|
||
.admin-matrix-section__title {
|
||
margin: 0;
|
||
font-size: 1.1rem;
|
||
font-weight: 700;
|
||
}
|
||
.admin-matrix-step {
|
||
flex-shrink: 0;
|
||
width: 32px;
|
||
height: 32px;
|
||
border-radius: 50%;
|
||
background: var(--accent);
|
||
color: #fff;
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
.admin-matrix-hint {
|
||
font-size: 14px;
|
||
margin: 0 0 12px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.admin-matrix-meta-grid {
|
||
display: grid;
|
||
gap: 12px;
|
||
margin-bottom: 12px;
|
||
}
|
||
.admin-matrix-meta-grid__row2 {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: 12px;
|
||
}
|
||
@media (max-width: 600px) {
|
||
.admin-matrix-meta-grid__row2 {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.admin-matrix-context-readonly {
|
||
font-size: 13px;
|
||
line-height: 1.5;
|
||
padding: 12px 14px;
|
||
border-radius: 10px;
|
||
background: var(--surface2);
|
||
border: 1px dashed var(--border2);
|
||
margin-bottom: 12px;
|
||
}
|
||
.admin-matrix-context-readonly strong {
|
||
color: var(--text2);
|
||
}
|
||
|
||
.admin-matrix-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
margin-top: 4px;
|
||
}
|
||
.admin-matrix-actions--mt {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.admin-matrix-level-count {
|
||
max-width: 220px;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.admin-matrix-table-wrap {
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
margin-bottom: 8px;
|
||
}
|
||
.admin-matrix-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 14px;
|
||
}
|
||
.admin-matrix-table th,
|
||
.admin-matrix-table td {
|
||
text-align: left;
|
||
padding: 8px;
|
||
border-top: 1px solid var(--border);
|
||
vertical-align: middle;
|
||
}
|
||
.admin-matrix-table thead th {
|
||
border-top: none;
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
font-size: 13px;
|
||
}
|
||
.admin-matrix-table__narrow {
|
||
width: 88px;
|
||
}
|
||
|
||
.admin-matrix-skill-add {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
align-items: flex-end;
|
||
}
|
||
.admin-matrix-skill-add__select {
|
||
flex: 1 1 220px;
|
||
min-width: 0;
|
||
}
|
||
.admin-matrix-skill-add__btn {
|
||
flex-shrink: 0;
|
||
min-height: 44px;
|
||
}
|
||
|
||
.admin-matrix-skill-list {
|
||
margin: 12px 0 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
}
|
||
.admin-matrix-skill-list__item {
|
||
padding: 12px 0;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
.admin-matrix-skill-list__item:first-child {
|
||
border-top: none;
|
||
}
|
||
.admin-matrix-skill-list__row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
}
|
||
.admin-matrix-skill-list__name {
|
||
font-size: 15px;
|
||
}
|
||
.admin-matrix-skill-list__path {
|
||
font-size: 12px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.admin-matrix-matrix-scroll {
|
||
overflow: auto;
|
||
max-height: min(70vh, 720px);
|
||
-webkit-overflow-scrolling: touch;
|
||
border: 1px solid var(--border);
|
||
border-radius: 10px;
|
||
}
|
||
.admin-matrix-table--matrix th,
|
||
.admin-matrix-table--matrix td {
|
||
border: 1px solid var(--border);
|
||
}
|
||
.admin-matrix-matrix__corner {
|
||
position: sticky;
|
||
left: 0;
|
||
z-index: 2;
|
||
background: var(--surface);
|
||
min-width: 140px;
|
||
padding: 8px;
|
||
}
|
||
.admin-matrix-matrix__level-head {
|
||
padding: 8px;
|
||
min-width: 160px;
|
||
background: var(--surface2);
|
||
font-size: 13px;
|
||
}
|
||
.admin-matrix-matrix__skill-cell {
|
||
position: sticky;
|
||
left: 0;
|
||
z-index: 1;
|
||
background: var(--surface);
|
||
font-weight: 600;
|
||
max-width: 220px;
|
||
vertical-align: top;
|
||
padding: 8px;
|
||
}
|
||
.admin-matrix-matrix__skill-path {
|
||
font-size: 11px;
|
||
font-weight: 400;
|
||
margin-top: 6px;
|
||
line-height: 1.35;
|
||
}
|
||
.admin-matrix-matrix__cell {
|
||
vertical-align: top;
|
||
padding: 6px;
|
||
min-width: 148px;
|
||
}
|
||
.admin-matrix-matrix__ta {
|
||
font-size: 12px;
|
||
width: 100%;
|
||
min-width: 120px;
|
||
}
|
||
.admin-matrix-matrix__ta--criteria {
|
||
font-size: 11px;
|
||
margin-top: 6px;
|
||
}
|
||
|
||
.btn-small {
|
||
padding: 8px 12px;
|
||
font-size: 13px;
|
||
min-height: 40px;
|
||
}
|
||
|
||
.muted { color: var(--text3); font-size: 13px; }
|
||
.empty-state { text-align: center; padding: 48px 16px; color: var(--text3); }
|
||
.empty-state h3 { font-size: 16px; color: var(--text2); margin-bottom: 6px; }
|
||
.spinner { width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
|
||
@keyframes spin { to { transform: rotate(360deg); } }
|
||
@keyframes slideDown {
|
||
from { transform: translate(-50%, -20px); opacity: 0; }
|
||
to { transform: translate(-50%, 0); opacity: 1; }
|
||
}
|
||
|
||
/* Additional vars */
|
||
:root {
|
||
--warn-bg: #FAEEDA;
|
||
--warn-text: #7a4b08;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
:root {
|
||
--warn-bg: #3a2103;
|
||
--warn-text: #FAC775;
|
||
}
|
||
}
|
||
|
||
/* Header with profile avatar */
|
||
.app-header { display:flex; align-items:center; justify-content:space-between; }
|
||
.app-header a { display:flex; }
|
||
|
||
/* ── Responsive shell: Desktop sidebar (≥1024px) — spec RESPONSIVE_UI.md ───── */
|
||
.app-shell__column {
|
||
display: flex;
|
||
flex-direction: column;
|
||
flex: 1;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
min-height: 0;
|
||
}
|
||
|
||
.desktop-sidebar {
|
||
display: none;
|
||
flex-direction: column;
|
||
width: var(--desktop-sidebar-width, 220px);
|
||
height: 100vh;
|
||
position: fixed;
|
||
left: 0;
|
||
top: 0;
|
||
z-index: 30;
|
||
background: var(--surface);
|
||
border-right: 1px solid var(--border);
|
||
padding: 16px 0 16px;
|
||
}
|
||
|
||
.desktop-sidebar__brand {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 0 16px 20px;
|
||
border-bottom: 1px solid var(--border);
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.desktop-sidebar__logo {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 50%;
|
||
border: 3px solid var(--accent);
|
||
flex-shrink: 0;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.desktop-sidebar__title {
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
color: var(--accent);
|
||
letter-spacing: -0.02em;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.desktop-sidebar__nav {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 0 0 12px;
|
||
}
|
||
|
||
.desktop-sidebar__link {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 10px 16px 10px 13px;
|
||
text-decoration: none;
|
||
color: var(--text2);
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
border-left: 3px solid transparent;
|
||
border-radius: 0 8px 8px 0;
|
||
transition: background 0.15s, color 0.15s;
|
||
}
|
||
|
||
.desktop-sidebar__link:hover {
|
||
background: var(--surface2);
|
||
color: var(--text1);
|
||
}
|
||
|
||
.desktop-sidebar__link.desktop-sidebar__link--active {
|
||
background: var(--accent-light);
|
||
color: var(--accent);
|
||
border-left-color: var(--accent);
|
||
}
|
||
|
||
.desktop-sidebar__footer {
|
||
border-top: 1px solid var(--border);
|
||
padding: 16px 12px 16px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 12px;
|
||
}
|
||
|
||
.desktop-sidebar__footer-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.desktop-sidebar__user {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex: 1;
|
||
min-width: 0;
|
||
text-decoration: none;
|
||
color: inherit;
|
||
}
|
||
|
||
.desktop-sidebar__user-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.desktop-sidebar__user-name {
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: var(--text1);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.desktop-sidebar__user-tier {
|
||
font-size: 11px;
|
||
color: var(--text3);
|
||
text-transform: lowercase;
|
||
}
|
||
|
||
.desktop-sidebar__logout {
|
||
flex-shrink: 0;
|
||
background: none;
|
||
border: none;
|
||
padding: 8px;
|
||
cursor: pointer;
|
||
color: var(--text3);
|
||
border-radius: 8px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.desktop-sidebar__logout:hover {
|
||
color: var(--danger);
|
||
background: rgba(216, 90, 48, 0.08);
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.app-shell {
|
||
display: block;
|
||
max-width: none;
|
||
margin: 0;
|
||
width: 100%;
|
||
min-height: 100%;
|
||
overflow-x: clip;
|
||
}
|
||
|
||
.desktop-sidebar {
|
||
display: flex;
|
||
}
|
||
|
||
/* Kein width:100% zusätzlich zu margin-left — sonst Spalte = Viewport + Sidebar → horizontaler Scroll */
|
||
.app-shell__column {
|
||
margin-left: var(--desktop-sidebar-width, 220px);
|
||
width: calc(100% - var(--desktop-sidebar-width, 220px));
|
||
max-width: calc(100% - var(--desktop-sidebar-width, 220px));
|
||
min-width: 0;
|
||
min-height: 100vh;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.app-header--mobile {
|
||
display: none !important;
|
||
}
|
||
|
||
.bottom-nav {
|
||
display: none !important;
|
||
}
|
||
|
||
.app-main {
|
||
padding: 24px 32px 32px;
|
||
padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
|
||
width: 100%;
|
||
max-width: none;
|
||
margin-left: 0;
|
||
margin-right: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
/* Dashboard (P3): Begrüßung + Kennzahlen-Zeile */
|
||
.dashboard-greeting {
|
||
display: flex;
|
||
align-items: baseline;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.dashboard-greeting__meta {
|
||
margin-top: 0 !important;
|
||
text-align: right;
|
||
}
|
||
}
|
||
|
||
/* ── Dashboard layout (Mobile baseline + Desktop im Block oben teilweise) ─ */
|
||
|
||
.dashboard-page {
|
||
width: 100%;
|
||
}
|
||
|
||
.dashboard-greeting {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
/*
|
||
* Dashboard-Raster (KPI, Nebeneinander-Kacheln): 2 / 4 Spalten.
|
||
* StatCard, DashboardTile: span via --tile-sm / --tile-lg (JS clamp).
|
||
*/
|
||
.dashboard-stat-grid,
|
||
.dashboard-tile-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 8px;
|
||
}
|
||
|
||
.dashboard-stat-grid--mobile-4col,
|
||
.dashboard-tile-grid--mobile-4col {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
}
|
||
|
||
.dashboard-stat-card {
|
||
background: var(--surface);
|
||
border-radius: 12px;
|
||
padding: 12px 10px;
|
||
border: 1px solid var(--border);
|
||
transition: border-color 0.15s;
|
||
}
|
||
|
||
.dashboard-stat-card,
|
||
.dashboard-tile {
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
grid-column: span var(--tile-sm, 1);
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.dashboard-stat-card,
|
||
.dashboard-tile {
|
||
grid-column: span var(--tile-lg, 1);
|
||
}
|
||
}
|
||
|
||
/* ── Dashboard-Abschnitte (Überschrift + Trennlinie) ─ */
|
||
.dashboard-section {
|
||
margin-bottom: 22px;
|
||
}
|
||
|
||
.dashboard-section:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.dashboard-section__header {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
padding-bottom: 10px;
|
||
margin-bottom: 12px;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.dashboard-section__headline {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.dashboard-section__title {
|
||
font-size: 13px;
|
||
font-weight: 700;
|
||
color: var(--text3);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.05em;
|
||
margin: 0;
|
||
}
|
||
|
||
.dashboard-section__description {
|
||
font-size: 12px;
|
||
color: var(--text3);
|
||
margin: 4px 0 0 0;
|
||
line-height: 1.35;
|
||
max-width: none;
|
||
}
|
||
|
||
.dashboard-section__body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.dashboard-section__actions {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.dashboard-pill-row {
|
||
display: flex;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
/* Ernährung/Aktivität: Raster wie KPI; Kacheln per DashboardTile steuerbar */
|
||
.dashboard-summary-row.dashboard-tile-grid {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.dashboard-erholung-grid .dashboard-tile > .card,
|
||
.dashboard-summary-row .dashboard-tile > .card {
|
||
height: 100%;
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.dashboard-stat-grid,
|
||
.dashboard-tile-grid {
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 10px;
|
||
}
|
||
}
|
||
|
||
/* --- Übungen: Rich-Text & Kacheln --- */
|
||
.rich-text-editor-wrap {
|
||
border: 1px solid var(--border);
|
||
border-radius: 8px;
|
||
overflow: hidden;
|
||
background: var(--surface);
|
||
}
|
||
.rich-text-toolbar {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 6px 8px;
|
||
background: var(--surface2);
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
.rte-btn {
|
||
font-size: 12px;
|
||
padding: 4px 8px;
|
||
border: 1px solid var(--border);
|
||
border-radius: 4px;
|
||
background: var(--surface);
|
||
color: var(--text1);
|
||
cursor: pointer;
|
||
line-height: 1.2;
|
||
}
|
||
.rte-btn:active {
|
||
background: var(--accent-light);
|
||
}
|
||
.rte-sep {
|
||
width: 1px;
|
||
height: 18px;
|
||
background: var(--border);
|
||
margin: 0 2px;
|
||
}
|
||
.rich-text-editor {
|
||
padding: 10px 12px;
|
||
outline: none;
|
||
font-size: 15px;
|
||
line-height: 1.5;
|
||
min-height: 120px;
|
||
max-height: min(70vh, 520px);
|
||
overflow-y: auto;
|
||
resize: vertical;
|
||
}
|
||
/* Listen im Editor (nicht nur in .rich-text-content) – sonst „unsichtbare“ Bullets */
|
||
.rich-text-editor ul,
|
||
.rich-text-editor ol {
|
||
margin: 0.35rem 0;
|
||
padding-left: 1.35rem;
|
||
list-style-position: outside;
|
||
}
|
||
.rich-text-editor ul {
|
||
list-style-type: disc;
|
||
}
|
||
.rich-text-editor ol {
|
||
list-style-type: decimal;
|
||
}
|
||
.rich-text-editor li {
|
||
margin: 0.15rem 0;
|
||
display: list-item;
|
||
}
|
||
.rich-text-editor p {
|
||
margin: 0.35rem 0;
|
||
}
|
||
.rich-text-editor:empty:before {
|
||
content: attr(data-placeholder);
|
||
color: var(--text3);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.rich-text-content {
|
||
font-size: 16px;
|
||
line-height: 1.55;
|
||
word-break: break-word;
|
||
}
|
||
.rich-text-content h3 {
|
||
font-size: 1.05rem;
|
||
margin: 0.75rem 0 0.35rem;
|
||
}
|
||
.rich-text-content p {
|
||
margin: 0.4rem 0;
|
||
}
|
||
.rich-text-content ul,
|
||
.rich-text-content ol {
|
||
margin: 0.4rem 0;
|
||
padding-left: 1.25rem;
|
||
}
|
||
.rich-text-content a {
|
||
color: var(--accent-dark);
|
||
}
|
||
|
||
.exercise-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 200px;
|
||
}
|
||
.exercise-card__body {
|
||
flex: 1 1 auto;
|
||
}
|
||
.exercise-variants-details summary {
|
||
list-style: none;
|
||
}
|
||
.exercise-variants-details summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
.exercise-variants-summary {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 12px 16px;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
.exercise-variants-summary__title {
|
||
font-size: 1.1rem;
|
||
font-weight: 600;
|
||
}
|
||
.exercise-variants-summary__badge {
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
background: var(--surface2);
|
||
padding: 4px 10px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--border);
|
||
}
|
||
.exercise-variants-details__body {
|
||
padding: 0 16px 16px;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
.exercise-variants-hint {
|
||
font-size: 13px;
|
||
color: var(--text2);
|
||
margin: 12px 0;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.exercise-card__actions {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
margin-top: 12px;
|
||
padding-top: 10px;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
.exercise-card__actions .btn,
|
||
.exercise-card__actions a.btn {
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
padding: 6px 10px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.exercise-tag-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
margin-top: 8px;
|
||
}
|
||
.exercise-tag {
|
||
display: inline-block;
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
padding: 3px 8px;
|
||
border-radius: 999px;
|
||
background: var(--surface2);
|
||
color: var(--text2);
|
||
border: 1px solid var(--border);
|
||
}
|
||
.exercise-tag--accent {
|
||
background: var(--accent-light);
|
||
color: var(--accent-dark);
|
||
border-color: transparent;
|
||
}
|
||
|
||
.exercise-detail-shell {
|
||
max-width: none;
|
||
margin: 0;
|
||
width: 100%;
|
||
}
|
||
.exercise-detail-section {
|
||
margin-bottom: 14px;
|
||
}
|
||
.exercise-detail-section h2 {
|
||
font-size: 0.85rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
color: var(--text3);
|
||
margin: 0 0 6px;
|
||
font-weight: 700;
|
||
}
|
||
.exercise-meta-line {
|
||
font-size: 14px;
|
||
color: var(--text2);
|
||
margin: 8px 0 0;
|
||
}
|
||
|
||
.exercise-filters-compact {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
gap: 10px;
|
||
margin-bottom: 12px;
|
||
}
|
||
.exercise-filters-compact .form-label {
|
||
font-size: 12px;
|
||
margin-bottom: 4px;
|
||
}
|
||
.exercise-filters-compact .form-input {
|
||
padding: 8px 10px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.multiselect-combo {
|
||
position: relative;
|
||
width: 100%;
|
||
}
|
||
.multiselect-combo__chips {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
margin-bottom: 6px;
|
||
min-height: 0;
|
||
}
|
||
.multiselect-combo__chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
max-width: 100%;
|
||
padding: 4px 8px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--border);
|
||
background: var(--accent-light);
|
||
color: var(--accent-dark);
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
}
|
||
.multiselect-combo__chip span:first-child {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.multiselect-combo__chip-x {
|
||
opacity: 0.8;
|
||
font-weight: 700;
|
||
line-height: 1;
|
||
}
|
||
.multiselect-combo__field {
|
||
display: flex;
|
||
gap: 6px;
|
||
align-items: stretch;
|
||
}
|
||
.multiselect-combo__input {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
.multiselect-combo__browse {
|
||
flex-shrink: 0;
|
||
padding-left: 10px;
|
||
padding-right: 10px;
|
||
font-size: 13px;
|
||
}
|
||
.multiselect-combo__list {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 100%;
|
||
z-index: 30;
|
||
margin: 4px 0 0;
|
||
padding: 4px 0;
|
||
max-height: 240px;
|
||
overflow-y: auto;
|
||
list-style: none;
|
||
background: var(--surface);
|
||
border: 1px solid var(--border2);
|
||
border-radius: 8px;
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
||
}
|
||
.multiselect-combo__empty {
|
||
padding: 10px 12px;
|
||
font-size: 13px;
|
||
color: var(--text3);
|
||
}
|
||
.multiselect-combo__opt {
|
||
display: block;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 8px 12px;
|
||
border: none;
|
||
background: transparent;
|
||
font-size: 14px;
|
||
cursor: pointer;
|
||
font-family: inherit;
|
||
color: var(--text1);
|
||
}
|
||
.multiselect-combo__opt:hover,
|
||
.multiselect-combo__opt--hi {
|
||
background: var(--surface2);
|
||
}
|
||
.multiselect-combo__opt:focus-visible {
|
||
outline: 2px solid var(--accent);
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
.multi-assoc-block {
|
||
border: 1px solid var(--border);
|
||
border-radius: 8px;
|
||
padding: 10px;
|
||
margin-bottom: 12px;
|
||
background: var(--surface2);
|
||
}
|
||
.multi-assoc-block h3 {
|
||
font-size: 14px;
|
||
margin: 0 0 8px;
|
||
}
|
||
.multi-assoc-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-bottom: 8px;
|
||
}
|
||
.multi-assoc-row select {
|
||
flex: 1 1 160px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.skills-editor-row {
|
||
display: grid;
|
||
grid-template-columns: 1fr auto;
|
||
gap: 8px;
|
||
align-items: start;
|
||
padding: 8px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
@media (min-width: 640px) {
|
||
.skills-editor-row {
|
||
grid-template-columns: 1fr repeat(4, minmax(0, 100px)) auto;
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
/* Trainingsplan — Anzeige / Druck / Ablauf (TrainingUnitRunPage) */
|
||
.training-run-item--done {
|
||
opacity: 0.75;
|
||
}
|
||
.training-run-item--done .training-run-checkbox:checked {
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
/* Rahmenprogramm bearbeiten — Mobile: Stammdaten | Plan; Desktop: untereinander Ziele → Slots (synchron zu FRAMEWORK_DESKTOP_MIN_PX) */
|
||
.framework-edit {
|
||
max-width: 100%;
|
||
margin: 0;
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
@media (min-width: 900px) {
|
||
.framework-edit__tabbar {
|
||
display: none !important;
|
||
}
|
||
.framework-edit__plan-stack {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
.framework-edit__panel {
|
||
display: block !important;
|
||
}
|
||
}
|
||
.framework-edit__tabbar {
|
||
display: flex;
|
||
gap: 6px;
|
||
margin-bottom: 14px;
|
||
padding: 2px 0 12px;
|
||
border-bottom: 1px solid var(--border);
|
||
flex-wrap: nowrap;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: none;
|
||
}
|
||
.framework-edit__tabbar::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
.framework-edit__tab {
|
||
flex: 1 1 0;
|
||
min-width: 0;
|
||
padding: 10px 8px;
|
||
border: 1px solid var(--border2);
|
||
border-radius: 10px;
|
||
background: var(--surface2);
|
||
color: var(--text2);
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
white-space: nowrap;
|
||
font-family: var(--font);
|
||
}
|
||
.framework-edit__tab--active {
|
||
background: var(--accent-light);
|
||
color: var(--accent-dark);
|
||
border-color: var(--accent);
|
||
}
|
||
.framework-edit__plan-stack {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 14px;
|
||
}
|
||
@media (max-width: 899px) {
|
||
.framework-edit .framework-edit__panel:not(.framework-edit__panel--active) {
|
||
display: none !important;
|
||
}
|
||
}
|
||
|
||
.framework-plan-goals {
|
||
border-left: 3px solid var(--accent);
|
||
}
|
||
|
||
.framework-goal-chips__hint {
|
||
font-size: 0.78rem;
|
||
color: var(--text3);
|
||
margin: 0 0 10px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.framework-goal-chips {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
.framework-popmenu-anchor {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: stretch;
|
||
vertical-align: middle;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.framework-goal-chip-wrap {
|
||
border-radius: 999px;
|
||
background: var(--surface2);
|
||
border: 1px solid var(--border2);
|
||
}
|
||
|
||
.framework-goal-chip {
|
||
border: none;
|
||
background: transparent;
|
||
font: inherit;
|
||
padding: 6px 10px 6px 12px;
|
||
border-radius: 999px 0 0 999px;
|
||
cursor: pointer;
|
||
max-width: min(240px, 100%);
|
||
text-align: left;
|
||
}
|
||
|
||
.framework-goal-chip--active {
|
||
background: var(--accent-light);
|
||
}
|
||
|
||
.framework-goal-chip__text {
|
||
display: block;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-size: 0.88rem;
|
||
font-weight: 600;
|
||
color: var(--text1);
|
||
}
|
||
|
||
.framework-goal-chip__kebab {
|
||
border: none;
|
||
background: transparent;
|
||
padding: 0 8px;
|
||
cursor: pointer;
|
||
color: var(--text3);
|
||
font-size: 1.05rem;
|
||
line-height: 1;
|
||
border-left: 1px solid var(--border);
|
||
border-radius: 0 999px 999px 0;
|
||
}
|
||
|
||
.framework-goal-chip__kebab:hover,
|
||
.framework-goal-chip:hover {
|
||
filter: brightness(0.97);
|
||
}
|
||
|
||
.framework-goal-editor {
|
||
margin-top: 12px;
|
||
padding: 12px;
|
||
border-radius: 10px;
|
||
border: 1px solid var(--border);
|
||
background: var(--surface2);
|
||
}
|
||
|
||
.framework-catalog-checkgrid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px 18px;
|
||
max-height: 220px;
|
||
overflow-y: auto;
|
||
padding: 10px;
|
||
border: 1px solid var(--border2);
|
||
border-radius: 10px;
|
||
background: var(--surface2);
|
||
}
|
||
|
||
.framework-catalog-check {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 0.88rem;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
|
||
.framework-catalog-check input {
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.framework-popmenu {
|
||
position: absolute;
|
||
top: calc(100% + 4px);
|
||
left: 0;
|
||
z-index: 30;
|
||
margin: 0;
|
||
padding: 4px 0;
|
||
list-style: none;
|
||
min-width: 200px;
|
||
max-width: min(300px, calc(100vw - 32px));
|
||
background: var(--surface);
|
||
border: 1px solid var(--border2);
|
||
border-radius: 10px;
|
||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||
}
|
||
|
||
.framework-popmenu--align-end {
|
||
left: auto;
|
||
right: 0;
|
||
}
|
||
|
||
.framework-popmenu li {
|
||
margin: 0;
|
||
}
|
||
|
||
.framework-popmenu__item {
|
||
display: block;
|
||
width: 100%;
|
||
text-align: left;
|
||
border: none;
|
||
background: transparent;
|
||
font-family: var(--font);
|
||
font-size: 13px;
|
||
padding: 10px 14px;
|
||
cursor: pointer;
|
||
color: var(--text1);
|
||
}
|
||
|
||
.framework-popmenu__item:hover {
|
||
background: var(--surface2);
|
||
}
|
||
|
||
.framework-popmenu__item--danger {
|
||
color: var(--danger);
|
||
}
|
||
|
||
.framework-ctrl.framework-ctrl--xs {
|
||
padding: 2px 8px;
|
||
font-size: 11px;
|
||
min-height: 26px;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
/* Horizontaler Überblick: äußerer Scroll‑Container (Desktop: breite Session‑Karten) */
|
||
.framework-slots-board-outer {
|
||
container-type: inline-size;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
overflow-x: auto;
|
||
overflow-y: visible;
|
||
padding-bottom: 10px;
|
||
margin-left: -4px;
|
||
margin-right: -4px;
|
||
padding-left: 4px;
|
||
padding-right: 4px;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-gutter: stable;
|
||
}
|
||
|
||
.framework-slots-board-outer--mobile-single {
|
||
overflow-x: visible;
|
||
scrollbar-gutter: auto;
|
||
margin-left: 0;
|
||
margin-right: 0;
|
||
padding-left: 0;
|
||
padding-right: 0;
|
||
padding-bottom: 4px;
|
||
}
|
||
|
||
.framework-slots-board-outer--desktop {
|
||
scrollbar-gutter: stable;
|
||
}
|
||
|
||
@media (max-width: 1023px) {
|
||
.framework-slots-board-outer:not(.framework-slots-board-outer--mobile-single) {
|
||
scrollbar-gutter: auto;
|
||
}
|
||
}
|
||
|
||
.framework-slots-board {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
gap: 12px;
|
||
align-items: stretch;
|
||
width: max-content;
|
||
min-width: 100%;
|
||
padding: 4px 0 2px;
|
||
scroll-snap-type: x proximity;
|
||
}
|
||
|
||
.framework-slots-board--desktop-wide .framework-slot-card {
|
||
flex: 0 0 min(760px, max(560px, calc(100cqw - 48px)));
|
||
width: min(760px, max(560px, calc(100cqw - 48px)));
|
||
min-width: min(760px, max(560px, calc(100cqw - 48px)));
|
||
height: auto;
|
||
max-height: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-bottom: 0;
|
||
background: var(--surface);
|
||
border-style: dashed;
|
||
overflow: hidden;
|
||
scroll-snap-align: start;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.framework-slots-board--desktop-wide .framework-slot-card__plan-editor {
|
||
flex: 1;
|
||
min-height: 240px;
|
||
max-height: min(78vh, 1200px);
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
/* Ein Slot = nutzbare Bildschirmbreite; Chips oben/unten wechseln die Session */
|
||
.framework-slot-mobile-panel {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.framework-slot-mobile-panel .framework-slot-card--mobile-single {
|
||
flex: none;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
height: auto;
|
||
max-height: none;
|
||
overflow: visible;
|
||
scroll-snap-align: unset;
|
||
}
|
||
|
||
.framework-slot-mobile-panel .framework-slot-card__plan-editor {
|
||
max-height: none;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.framework-slot-chips-bar {
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
gap: 8px;
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
padding: 8px 0 10px;
|
||
margin-bottom: 2px;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: thin;
|
||
}
|
||
|
||
.framework-slot-chips-bar--bottom {
|
||
margin-bottom: 0;
|
||
margin-top: 12px;
|
||
padding-top: 6px;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
|
||
.framework-slot-chip {
|
||
flex: 0 0 auto;
|
||
appearance: none;
|
||
margin: 0;
|
||
cursor: pointer;
|
||
padding: 8px 16px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--border2);
|
||
background: var(--surface2);
|
||
color: var(--text2);
|
||
font-size: 0.86rem;
|
||
font-weight: 600;
|
||
line-height: 1.25;
|
||
max-width: 220px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.framework-slot-chip:hover {
|
||
border-color: var(--accent);
|
||
color: var(--accent-dark);
|
||
}
|
||
|
||
.framework-slot-chip--active {
|
||
background: var(--accent);
|
||
border-color: var(--accent);
|
||
color: var(--accent-text, #fff);
|
||
}
|
||
|
||
/* ——— Trainings‑Einheit: Übungszeilen schlank + DnD ——— */
|
||
.training-unit-sections-editor--wide .tu-ex-variant-select--wide {
|
||
max-width: 100%;
|
||
}
|
||
|
||
.tu-item-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: flex-start;
|
||
gap: 6px 8px;
|
||
margin-top: 0.5rem;
|
||
padding: 0.4rem 6px 0.45rem;
|
||
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
||
min-width: 0;
|
||
transition: outline 0.1s ease;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.tu-item-row--drop-target {
|
||
outline: 2px dashed var(--accent);
|
||
outline-offset: 1px;
|
||
}
|
||
|
||
.tu-item-row--dragging {
|
||
opacity: 0.52;
|
||
}
|
||
|
||
.tu-row-grip {
|
||
flex: 0 0 auto;
|
||
display: inline-flex;
|
||
align-items: flex-start;
|
||
padding: 4px 2px;
|
||
margin-top: 2px;
|
||
border-radius: 6px;
|
||
color: var(--text3);
|
||
cursor: grab;
|
||
user-select: none;
|
||
touch-action: none;
|
||
}
|
||
|
||
.tu-row-grip:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.tu-item-row__nudge {
|
||
flex: 0 0 auto;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0;
|
||
padding-top: 4px;
|
||
}
|
||
|
||
.tu-item-row__nudge button {
|
||
padding: 0 5px;
|
||
line-height: 1.2;
|
||
font-size: 11px;
|
||
min-height: 20px;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--text2);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.tu-item-row__nudge button:disabled {
|
||
opacity: 0.3;
|
||
}
|
||
|
||
.tu-item-row__nudge button:not(:disabled):hover {
|
||
background: rgba(0, 0, 0, 0.06);
|
||
}
|
||
|
||
.tu-item-row__mainline {
|
||
display: flex;
|
||
flex: 1;
|
||
flex-wrap: nowrap;
|
||
gap: 8px;
|
||
align-items: flex-start;
|
||
min-width: 0;
|
||
width: 100%;
|
||
}
|
||
|
||
.tu-item-row--note .tu-icon-btn,
|
||
.tu-item-row--note .tu-item-row__remove {
|
||
align-self: center;
|
||
}
|
||
|
||
.tu-item-row--note .tu-item-row__body--note {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.tu-item-row--note {
|
||
flex-wrap: nowrap;
|
||
}
|
||
|
||
.tu-item-row__body {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
}
|
||
|
||
.tu-item-row__meta-label {
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
color: var(--text3);
|
||
}
|
||
|
||
.tu-item-row__preview {
|
||
margin: 0;
|
||
font-size: 0.86rem;
|
||
line-height: 1.35;
|
||
color: var(--text1);
|
||
word-break: break-word;
|
||
}
|
||
|
||
.tu-item-row__preview--clamp {
|
||
display: -webkit-box;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 2;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.tu-item-row__preview--empty {
|
||
color: var(--text3);
|
||
}
|
||
|
||
.tu-icon-btn {
|
||
flex: 0 0 auto;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 6px;
|
||
border-radius: 8px;
|
||
border: 1px solid var(--border2);
|
||
background: var(--surface);
|
||
color: var(--text2);
|
||
cursor: pointer;
|
||
line-height: 0;
|
||
}
|
||
|
||
.tu-icon-btn:hover {
|
||
border-color: var(--accent);
|
||
color: var(--accent-dark);
|
||
}
|
||
|
||
.tu-item-row__remove {
|
||
flex: 0 0 auto;
|
||
padding: 5px 10px;
|
||
min-height: 32px;
|
||
font-size: 12px;
|
||
background: var(--danger);
|
||
color: #fff;
|
||
border: none;
|
||
border-radius: 7px;
|
||
cursor: pointer;
|
||
line-height: 1;
|
||
}
|
||
|
||
.tu-item-row__remove:hover {
|
||
filter: brightness(1.05);
|
||
}
|
||
|
||
.tu-item-row__side {
|
||
flex: 0 0 auto;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 5px;
|
||
}
|
||
|
||
.tu-ex-duration {
|
||
margin: 0;
|
||
width: 4.75rem;
|
||
font-size: 0.84rem;
|
||
}
|
||
|
||
.tu-ex-title-line {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: baseline;
|
||
gap: 6px 12px;
|
||
}
|
||
|
||
.tu-ex-title {
|
||
font-size: 0.95rem;
|
||
font-weight: 700;
|
||
line-height: 1.35;
|
||
flex: 1 1 220px;
|
||
min-width: 0;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.tu-ex-title-placeholder {
|
||
font-size: 0.9rem;
|
||
color: var(--text3);
|
||
font-style: italic;
|
||
}
|
||
|
||
.tu-ex-inline-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
align-items: center;
|
||
}
|
||
|
||
.tu-ex-meta-line {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 10px 14px;
|
||
}
|
||
|
||
.tu-ex-variant-select {
|
||
margin: 0;
|
||
flex: 0 1 min(220px, 100%);
|
||
font-size: 0.82rem;
|
||
min-width: 0;
|
||
}
|
||
|
||
.training-unit-sections-editor--wide .tu-ex-variant-select--wide {
|
||
flex-basis: min(320px, 100%);
|
||
}
|
||
|
||
.tu-ex-annot {
|
||
flex: 1 1 140px;
|
||
min-width: 0;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.tu-ex-annot__text {
|
||
flex: 1;
|
||
min-width: 0;
|
||
font-size: 0.82rem;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.tu-ex-debrief {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) 4.75rem;
|
||
gap: 10px 14px;
|
||
align-items: start;
|
||
width: 100%;
|
||
margin-top: 10px;
|
||
padding-top: 10px;
|
||
border-top: 1px solid var(--border2, rgba(0, 0, 0, 0.08));
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.tu-ex-debrief__grow {
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
}
|
||
|
||
.tu-ex-debrief__textarea {
|
||
width: 100%;
|
||
max-width: 100%;
|
||
box-sizing: border-box;
|
||
min-height: 4.75rem;
|
||
resize: vertical;
|
||
font-size: 0.88rem;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.tu-ex-debrief__ist {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
align-items: stretch;
|
||
justify-self: end;
|
||
width: 4.75rem;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.tu-ex-debrief__ist .tu-ex-duration {
|
||
width: 100%;
|
||
margin: 0;
|
||
}
|
||
|
||
@media (max-width: 520px) {
|
||
.tu-ex-debrief {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.tu-ex-debrief__ist {
|
||
width: 100%;
|
||
max-width: 10rem;
|
||
justify-self: start;
|
||
}
|
||
}
|
||
|
||
.tu-textedit-backdrop {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 10060;
|
||
background: rgba(15, 23, 42, 0.42);
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
padding: 8vh 14px 40px;
|
||
}
|
||
|
||
.tu-textedit-panel {
|
||
width: 100%;
|
||
max-width: 480px;
|
||
background: var(--surface);
|
||
border-radius: 14px;
|
||
border: 1px solid var(--border);
|
||
padding: 1rem 1.15rem 1.1rem;
|
||
box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
|
||
}
|
||
|
||
.tu-textedit-title {
|
||
margin: 0 0 0.65rem;
|
||
font-size: 1.03rem;
|
||
}
|
||
|
||
.tu-textedit-textarea {
|
||
width: 100%;
|
||
resize: vertical;
|
||
min-height: 100px;
|
||
margin-bottom: 0.85rem;
|
||
}
|
||
|
||
.tu-textedit-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.tu-section-shell {
|
||
contain: layout;
|
||
}
|
||
|
||
.tu-section-dropband {
|
||
height: 10px;
|
||
margin: 0 2px 4px;
|
||
border-radius: 6px;
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.tu-section-dropband--end {
|
||
margin-top: 2px;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.tu-section-dropband--active {
|
||
background: color-mix(in srgb, var(--accent) 26%, transparent);
|
||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent);
|
||
}
|
||
|
||
.tu-sec-drag-grip {
|
||
flex-shrink: 0;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 4px;
|
||
cursor: grab;
|
||
color: var(--text3);
|
||
user-select: none;
|
||
touch-action: none;
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.tu-sec-drag-grip:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.tu-item-append-drop {
|
||
min-height: 16px;
|
||
margin: 2px -2px 6px;
|
||
border-radius: 6px;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.tu-item-append-drop--active {
|
||
outline: 2px dashed var(--accent);
|
||
outline-offset: 1px;
|
||
background: color-mix(in srgb, var(--accent) 10%, transparent);
|
||
}
|
||
|
||
.framework-slot-card__head {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
gap: 6px;
|
||
flex-shrink: 0;
|
||
padding-bottom: 8px;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.framework-slot-card__drag-handle {
|
||
flex: 0 0 auto;
|
||
cursor: grab;
|
||
user-select: none;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
padding: 6px 4px;
|
||
color: var(--text3);
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.framework-slot-card__drag-handle:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.framework-slot-card__head-main {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
|
||
.framework-slot-card__slot-label {
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.06em;
|
||
color: var(--text3);
|
||
}
|
||
|
||
.framework-slot-card__title-input {
|
||
padding: 6px 10px;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.framework-slot-card__slot-actions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.framework-slot-details {
|
||
flex-shrink: 0;
|
||
margin-top: 8px;
|
||
font-size: 0.88rem;
|
||
border-radius: 8px;
|
||
background: var(--surface2);
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
.framework-slot-details__summary {
|
||
cursor: pointer;
|
||
padding: 6px 10px;
|
||
font-weight: 600;
|
||
color: var(--text2);
|
||
list-style: none;
|
||
}
|
||
|
||
.framework-slot-details__summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.framework-slot-details .form-row {
|
||
margin-bottom: 10px;
|
||
padding: 0 10px 8px;
|
||
}
|
||
|
||
.framework-slot-card__exercises {
|
||
flex: 1;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-top: 10px;
|
||
gap: 6px;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
.framework-slot-card__exercises-head {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
flex-shrink: 0;
|
||
gap: 8px;
|
||
}
|
||
|
||
.framework-slot-card__exercises-title {
|
||
font-weight: 700;
|
||
font-size: 0.82rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
color: var(--accent-dark);
|
||
}
|
||
|
||
.framework-slot-card__empty-hint {
|
||
font-size: 0.82rem;
|
||
color: var(--text2);
|
||
margin: 4px 0 6px;
|
||
}
|
||
|
||
.framework-ex-row {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: flex-start;
|
||
gap: 6px;
|
||
padding: 8px 8px;
|
||
border-radius: 8px;
|
||
border: 1px solid var(--border2);
|
||
background: var(--surface2);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.framework-ex-row__grip {
|
||
flex: 0 0 auto;
|
||
cursor: grab;
|
||
user-select: none;
|
||
line-height: 1.4;
|
||
padding-top: 2px;
|
||
color: var(--text3);
|
||
font-size: 14px;
|
||
}
|
||
|
||
.framework-ex-row__grip:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.framework-ex-row__body {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
}
|
||
|
||
.framework-ex-row__title-line {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: baseline;
|
||
gap: 6px 10px;
|
||
}
|
||
|
||
.framework-ex-row__title {
|
||
font-size: 0.98rem;
|
||
line-height: 1.35;
|
||
}
|
||
|
||
.framework-ex-row__title--muted {
|
||
color: var(--text3);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.framework-ex-row__id {
|
||
font-size: 11px;
|
||
color: var(--text3);
|
||
}
|
||
|
||
.framework-ex-row__row2 {
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
gap: 8px;
|
||
width: 100%;
|
||
min-width: 0;
|
||
}
|
||
|
||
.framework-ex-row__variant-spacer {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.framework-ex-row__menu-anchor {
|
||
flex: 0 0 auto;
|
||
}
|
||
|
||
.framework-ex-row__kebab {
|
||
width: 34px;
|
||
height: 34px;
|
||
padding: 0;
|
||
border-radius: 8px;
|
||
border: 1px solid var(--border2);
|
||
background: var(--surface);
|
||
cursor: pointer;
|
||
font-size: 1.1rem;
|
||
line-height: 1;
|
||
color: var(--text2);
|
||
}
|
||
|
||
.framework-ex-row__kebab:hover {
|
||
border-color: var(--accent);
|
||
color: var(--accent-dark);
|
||
}
|
||
|
||
.framework-ex-row__variant-select {
|
||
flex: 1 1 auto;
|
||
min-width: 100px;
|
||
max-width: 100%;
|
||
padding: 6px 8px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.framework-slot-card__append-drop {
|
||
margin-top: 4px;
|
||
padding: 8px 10px;
|
||
font-size: 11px;
|
||
color: var(--text3);
|
||
border: 1px dashed var(--border2);
|
||
border-radius: 8px;
|
||
text-align: center;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
@media (min-width: 900px) {
|
||
.framework-slot-card__slot-actions {
|
||
flex-direction: row;
|
||
align-items: center;
|
||
}
|
||
}
|
||
|
||
/* ── Trainingsplanung: Abschnitt „Neue Trainingseinheit“ + Vorlage im Modal ───────── */
|
||
.training-planning-create--in-card {
|
||
margin-top: 1.25rem;
|
||
padding-top: 1.25rem;
|
||
border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
|
||
}
|
||
|
||
.training-planning-create__intro {
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.training-planning-create__title {
|
||
margin: 0 0 0.45rem;
|
||
font-size: 1.06rem;
|
||
font-weight: 700;
|
||
color: var(--text1);
|
||
letter-spacing: -0.01em;
|
||
}
|
||
|
||
.training-planning-create__lede {
|
||
margin: 0;
|
||
font-size: 0.92rem;
|
||
line-height: 1.55;
|
||
color: var(--text2);
|
||
max-width: 52rem;
|
||
}
|
||
|
||
.training-planning-create__actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 12px;
|
||
align-items: center;
|
||
}
|
||
|
||
.training-planning-create__cta {
|
||
min-height: 44px;
|
||
padding-left: 1.35rem;
|
||
padding-right: 1.35rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.training-planning-create__secondary {
|
||
min-height: 44px;
|
||
padding-left: 1rem;
|
||
padding-right: 1rem;
|
||
}
|
||
|
||
.training-planning-create__hint {
|
||
margin: 0.85rem 0 0;
|
||
font-size: 0.82rem;
|
||
line-height: 1.45;
|
||
color: var(--text3);
|
||
max-width: 48rem;
|
||
}
|
||
|
||
.training-planning-create__hint--warn {
|
||
color: var(--text2);
|
||
margin-top: 0.65rem;
|
||
padding: 0.55rem 0.7rem;
|
||
border-radius: 8px;
|
||
background: var(--surface2);
|
||
border: 1px solid var(--border2);
|
||
}
|
||
|
||
.training-planning-template-panel {
|
||
padding: 1rem 1.1rem;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--border2);
|
||
background: linear-gradient(165deg, var(--surface2) 0%, var(--surface) 100%);
|
||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||
}
|
||
|
||
.training-planning-template-panel__label {
|
||
font-weight: 600;
|
||
margin-bottom: 0.4rem;
|
||
display: block;
|
||
}
|
||
|
||
.training-planning-template-panel__select {
|
||
font-size: 0.94rem;
|
||
padding: 0.55rem 0.65rem;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
}
|
||
|
||
.training-planning-template-panel__help {
|
||
margin: 0.65rem 0 0;
|
||
font-size: 0.82rem;
|
||
color: var(--text2);
|
||
line-height: 1.48;
|
||
}
|
||
|
||
@media print {
|
||
.desktop-sidebar,
|
||
.bottom-nav,
|
||
.app-header--mobile,
|
||
.no-print {
|
||
display: none !important;
|
||
}
|
||
body {
|
||
background: #fff !important;
|
||
color: #000 !important;
|
||
}
|
||
.app-shell {
|
||
max-width: none !important;
|
||
}
|
||
.app-main {
|
||
padding: 12px 14px 20px !important;
|
||
}
|
||
.training-run-page {
|
||
max-width: none !important;
|
||
padding: 0 !important;
|
||
}
|
||
.training-run-section,
|
||
.training-run-header {
|
||
break-inside: avoid;
|
||
page-break-inside: avoid;
|
||
}
|
||
}
|
||
|
||
/* Coach — volle Übung, Nur-Mittelbereich scrollt; Steuerung oben/unten sichtbar */
|
||
.training-coach-layout {
|
||
display: flex;
|
||
flex-direction: column;
|
||
width: 100%;
|
||
max-width: none;
|
||
margin: 0;
|
||
min-height: calc(100dvh - var(--header-h) - var(--nav-h) - env(safe-area-inset-bottom, 0px) - 48px);
|
||
}
|
||
|
||
@media (min-width: 1024px) {
|
||
.training-coach-layout {
|
||
min-height: calc(100dvh - env(safe-area-inset-bottom, 0px) - 24px);
|
||
}
|
||
}
|
||
|
||
.training-coach-scroll {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
padding-bottom: 4px;
|
||
}
|