/* FINALETIC PWA — Schiefer/Platin-Schema (Konzept Abschnitt 6.1)
 * Gleiche Farbtokens wie im Shortcode-Dashboard (class-fl-shortcodes.php),
 * damit Shortcode-Übergangslösung und PWA optisch identisch wirken. */

:root {
	--fl-bg: #0F172A;
	--fl-card: #1E293B;
	--fl-card-soft: #243044;
	--fl-border: #334155;
	--fl-text: #F8FAFC;
	--fl-text-muted: #94A3B8;
	--fl-text-faint: #64748B;
	--fl-positive: #10B981;
	--fl-negative: #EF4444;
	--fl-warning: #F59E0B;
	--fl-link: #3B82F6;
	--fl-accent: #F8FAFC;
	--fl-nav-h: 64px;
	--fl-header-h: 56px;
	--fl-radius: 12px;
	--fl-radius-sm: 8px;
	--fl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	background: var(--fl-bg);
	color: var(--fl-text);
	font-family: var(--fl-font);
	-webkit-tap-highlight-color: transparent;
}

body { overscroll-behavior-y: contain; }

button, input, select, textarea { font-family: inherit; }

a { color: var(--fl-link); text-decoration: none; }

.fl-app {
	min-height: 100vh;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

/* ---------- Offline-Banner ---------- */

.fl-offline-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: var(--fl-warning);
	color: #1E293B;
	font-size: .8rem;
	font-weight: 600;
	text-align: center;
	padding: .45rem .75rem;
}

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

.fl-header {
	position: sticky;
	top: 0;
	z-index: 30;
	height: var(--fl-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	padding: 0 1rem;
	background: var(--fl-bg);
	border-bottom: 1px solid var(--fl-border);
}

.fl-header__title {
	font-weight: 700;
	letter-spacing: .02em;
	font-size: 1rem;
	color: var(--fl-text);
}

.fl-space-switcher {
	display: flex;
	align-items: center;
	gap: .4rem;
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
	border-radius: 999px;
	padding: .35rem .7rem;
	font-size: .85rem;
	font-weight: 600;
	color: var(--fl-text);
	cursor: pointer;
}

.fl-space-switcher__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fl-positive);
}

.fl-header__logout {
	background: none;
	border: none;
	color: var(--fl-text-muted);
	font-size: .8rem;
	cursor: pointer;
	padding: .4rem .2rem;
}
.fl-header__logout:hover { color: var(--fl-text); }

/* ---------- Layout shell ---------- */

.fl-main {
	flex: 1;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 1rem 1rem calc(var(--fl-nav-h) + 1.5rem);
}

.fl-screen-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: .25rem 0 1rem;
}

.fl-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

/* ---------- Cards ---------- */

.fl-card {
	background: var(--fl-card);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	padding: 1rem;
}

.fl-card__title {
	font-size: .85rem;
	font-weight: 700;
	color: var(--fl-text-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 .75rem;
}

.fl-card--empty {
	color: var(--fl-text-faint);
	font-size: .9rem;
	text-align: center;
	padding: 1.5rem 1rem;
}

.fl-accounts {
	display: flex;
	gap: .6rem;
	overflow-x: auto;
	padding-bottom: .25rem;
	margin: 0 0 1rem;
}

.fl-account-pill {
	flex: 0 0 auto;
	background: var(--fl-card);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	padding: .6rem .85rem;
	min-width: 130px;
}

.fl-account-pill__name { font-size: .75rem; color: var(--fl-text-muted); }
.fl-account-pill__balance { font-size: 1rem; font-weight: 700; margin-top: .15rem; }

/* ---------- Buttons ---------- */

.fl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	border: none;
	border-radius: var(--fl-radius-sm);
	padding: .8rem 1.4rem;
	min-height: 46px;
	font-size: .95rem;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}

.fl-btn--primary { background: var(--fl-accent); color: var(--fl-bg); }
.fl-btn--primary:hover { background: #E2E8F0; }

.fl-btn--secondary {
	background: var(--fl-card-soft);
	color: var(--fl-text);
	border: 1px solid var(--fl-border);
	min-height: 40px;
	padding: .65rem 1.1rem;
	width: auto;
}
.fl-btn--secondary:hover { background: var(--fl-border); }

.fl-btn--block { width: 100%; }

/* ---------- Forms ---------- */

.fl-field { margin-bottom: 1rem; }
.fl-field label {
	display: block;
	font-size: .8rem;
	color: var(--fl-text-muted);
	margin-bottom: .35rem;
}
.fl-field input,
.fl-field select,
.fl-field textarea {
	width: 100%;
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	color: var(--fl-text);
	padding: .7rem .8rem;
	font-size: .95rem;
}
.fl-field input:focus,
.fl-field select:focus,
.fl-field textarea:focus {
	outline: 2px solid var(--fl-link);
	outline-offset: 1px;
}

.fl-error {
	background: rgba(239, 68, 68, .15);
	border: 1px solid var(--fl-negative);
	color: #FCA5A5;
	border-radius: var(--fl-radius-sm);
	padding: .6rem .8rem;
	font-size: .85rem;
	margin-bottom: 1rem;
}

.fl-hint {
	font-size: .75rem;
	color: var(--fl-text-faint);
	margin-top: .35rem;
}

/* ---------- Login ---------- */

.fl-login {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.fl-login__box {
	width: 100%;
	max-width: 360px;
	background: var(--fl-card);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	padding: 1.75rem;
}
.fl-login__logo {
	font-weight: 800;
	font-size: 1.3rem;
	text-align: center;
	margin-bottom: .25rem;
	letter-spacing: .03em;
}
.fl-login__sub {
	text-align: center;
	color: var(--fl-text-muted);
	font-size: .85rem;
	margin-bottom: 1.5rem;
}

/* ---------- Bottom Nav (Mobil) ---------- */

.fl-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	height: var(--fl-nav-h);
	display: flex;
	align-items: center;
	justify-content: space-around;
	background: var(--fl-card);
	border-top: 1px solid var(--fl-border);
	padding-bottom: env(safe-area-inset-bottom);
}

.fl-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .2rem;
	background: none;
	border: none;
	color: var(--fl-text-faint);
	font-size: .65rem;
	font-weight: 600;
	cursor: pointer;
	flex: 1;
	min-width: 0;
	padding: .4rem 0;
}
.fl-nav-item span:last-child {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.fl-nav-item__icon { font-size: 1.15rem; line-height: 1; }
.fl-nav-item.is-active { color: var(--fl-link); }

.fl-nav-item--add {
	flex: 0 0 auto;
	margin-top: -22px;
}
.fl-nav-item--add .fl-nav-item__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--fl-positive);
	color: var(--fl-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	box-shadow: 0 4px 14px rgba(16, 185, 129, .4);
}
.fl-nav-item--add { color: var(--fl-text-muted); }

/* ---------- Spaces ---------- */

.fl-space-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--fl-card);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius);
	padding: 1rem;
	margin-bottom: .75rem;
	cursor: pointer;
}
.fl-space-card.is-active { border-color: var(--fl-link); }
.fl-space-card__name { font-weight: 700; }
.fl-space-card__type { font-size: .75rem; color: var(--fl-text-muted); }

/* ---------- Transaktionsliste / Swipe ---------- */

.fl-txn-list { display: flex; flex-direction: column; gap: .5rem; }

.fl-txn {
	position: relative;
	overflow: hidden;
	border-radius: var(--fl-radius-sm);
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
}

.fl-txn__bg {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
	font-size: .8rem;
	font-weight: 700;
	color: var(--fl-bg);
}
.fl-txn__bg--right { background: var(--fl-positive); justify-content: flex-start; }
.fl-txn__bg--left { background: var(--fl-link); justify-content: flex-end; }

.fl-txn__row {
	position: relative;
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .7rem .85rem;
	background: var(--fl-card-soft);
	touch-action: pan-y;
	user-select: none;
}

.fl-txn__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--fl-card);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex: 0 0 auto;
}

.fl-txn__main { flex: 1; min-width: 0; }
.fl-txn__payee {
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.fl-txn__meta { font-size: .75rem; color: var(--fl-text-muted); }
.fl-txn__amount { font-weight: 700; font-size: .95rem; flex: 0 0 auto; }
.fl-txn__amount.is-negative { color: var(--fl-negative); }
.fl-txn__amount.is-positive { color: var(--fl-positive); }
.fl-txn.is-validated .fl-txn__icon { box-shadow: 0 0 0 2px var(--fl-positive) inset; }

/* ---------- Quick-Add Modal ---------- */

.fl-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	z-index: 50;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.fl-sheet {
	width: 100%;
	max-width: 480px;
	background: var(--fl-card);
	border-radius: 16px 16px 0 0;
	padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
	max-height: 88vh;
	overflow-y: auto;
}

.fl-sheet__handle {
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: var(--fl-border);
	margin: 0 auto 1rem;
}

.fl-sheet__title {
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 1rem;
	text-align: center;
}

.fl-amount-input {
	width: 100%;
	background: none;
	border: none;
	color: var(--fl-text);
	font-size: 2.4rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1.25rem;
}
.fl-amount-input:focus { outline: none; }

.fl-amount-sign {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-bottom: 1.25rem;
}
.fl-amount-sign button {
	flex: 1;
	max-width: 140px;
	padding: .55rem;
	border-radius: var(--fl-radius-sm);
	border: 1px solid var(--fl-border);
	background: var(--fl-card-soft);
	color: var(--fl-text-muted);
	font-weight: 600;
	cursor: pointer;
}
.fl-amount-sign button.is-active.is-expense { border-color: var(--fl-negative); color: var(--fl-negative); }
.fl-amount-sign button.is-active.is-income { border-color: var(--fl-positive); color: var(--fl-positive); }

.fl-icon-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .6rem;
	margin-bottom: 1.25rem;
}
.fl-icon-grid button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	padding: .6rem .3rem;
	color: var(--fl-text);
	font-size: .68rem;
	cursor: pointer;
}
.fl-icon-grid button .fl-icon-grid__glyph { font-size: 1.15rem; }
.fl-icon-grid button.is-selected { border-color: var(--fl-link); background: rgba(59, 130, 246, .15); }
.fl-icon-grid button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.fl-quickadd-toggle {
	background: none;
	border: none;
	color: var(--fl-link);
	font-size: .8rem;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 1rem;
	padding: 0;
}

.fl-category-sheet__list { display: flex; flex-direction: column; gap: .4rem; max-height: 50vh; overflow-y: auto; }
.fl-category-sheet__item {
	display: flex;
	align-items: center;
	gap: .6rem;
	padding: .6rem .7rem;
	border-radius: var(--fl-radius-sm);
	border: 1px solid var(--fl-border);
	background: var(--fl-card-soft);
	cursor: pointer;
}

/* ---------- Donut / Bar Charts ---------- */

.fl-chart-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.fl-chart-legend { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: .45rem; }
.fl-chart-legend__item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; }
.fl-chart-legend__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.fl-chart-legend__label { flex: 1; color: var(--fl-text-muted); }
.fl-chart-legend__value { font-weight: 700; }

.fl-bar-compare { display: flex; flex-direction: column; gap: .6rem; }
.fl-bar-compare__row { display: flex; align-items: center; gap: .6rem; }
.fl-bar-compare__label { width: 78px; font-size: .8rem; color: var(--fl-text-muted); flex: 0 0 auto; }
.fl-bar-compare__track { flex: 1; height: 10px; background: var(--fl-card-soft); border-radius: 6px; overflow: hidden; }
.fl-bar-compare__fill { height: 100%; border-radius: 6px; }
.fl-bar-compare__value { width: 86px; text-align: right; font-size: .8rem; font-weight: 700; flex: 0 0 auto; }

/* ---------- Forecast ---------- */

.fl-tax-disclaimer {
	margin-top: .75rem;
	font-style: italic;
	border-top: 1px dashed var(--fl-border);
	padding-top: .6rem;
}

.fl-recurring-delete {
	background: none;
	border: none;
	color: var(--fl-text-faint);
	font-size: 1rem;
	cursor: pointer;
	flex: 0 0 auto;
	padding: .3rem;
}
.fl-recurring-delete:hover { color: var(--fl-negative); }

.fl-recurring-edit {
	background: none;
	border: none;
	color: var(--fl-text-faint);
	font-size: 1rem;
	cursor: pointer;
	flex: 0 0 auto;
	padding: .3rem;
}
.fl-recurring-edit:hover { color: var(--fl-link); }

.fl-payable-settle {
	background: none;
	border: none;
	color: var(--fl-positive);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	flex: 0 0 auto;
	padding: .3rem;
}
.fl-payable-settle:hover { color: #34D399; }

.fl-payable-overdue { color: var(--fl-negative); }

.fl-payables-month { margin-bottom: 1.1rem; }
.fl-payables-month:last-of-type { margin-bottom: 0; }

.fl-payables-month__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem;
	padding-bottom: .4rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid var(--fl-border);
}
.fl-payables-month__label { font-weight: 700; font-size: .85rem; color: var(--fl-text-muted); text-transform: uppercase; letter-spacing: .02em; }
.fl-payables-month.is-overdue .fl-payables-month__label { color: var(--fl-negative); }
.fl-payables-month__total { font-weight: 700; font-size: .9rem; }
.fl-payables-month__total.is-negative { color: var(--fl-negative); }
.fl-payables-month__total.is-positive { color: var(--fl-positive); }

.fl-payables-paid { margin-top: 1.1rem; }
.fl-payables-paid summary {
	cursor: pointer;
	font-size: .85rem;
	color: var(--fl-text-muted);
	font-weight: 600;
}

/* ---------- Auswertungen (Phase 4.6) ---------- */

.fl-stat-big { text-align: center; padding: .5rem 0 .25rem; }
.fl-stat-big__value { font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.fl-stat-big__value.is-positive { color: var(--fl-positive); }
.fl-stat-big__value.is-negative { color: var(--fl-negative); }
.fl-stat-big__label { font-size: .8rem; color: var(--fl-text-muted); margin-top: .35rem; }

.fl-budget-row { padding: .75rem 0; border-bottom: 1px solid var(--fl-border); }
.fl-budget-row:last-child { border-bottom: none; padding-bottom: 0; }
.fl-budget-row__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.fl-budget-row__name { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; flex: 1; min-width: 0; }
.fl-budget-row__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.fl-budget-row__amounts { font-size: .8rem; color: var(--fl-text-muted); flex: 0 0 auto; white-space: nowrap; }
.fl-budget-row__delete { background: none; border: none; color: var(--fl-text-faint); font-size: 1rem; cursor: pointer; flex: 0 0 auto; padding: .2rem; }
.fl-budget-row__delete:hover { color: var(--fl-negative); }
.fl-budget-row__track { height: 10px; background: var(--fl-card-soft); border-radius: 6px; overflow: hidden; }
.fl-budget-row__fill { height: 100%; border-radius: 6px; background: var(--fl-positive); transition: width .3s; }
.fl-budget-row__fill.is-warn { background: var(--fl-warning); }
.fl-budget-row__fill.is-over { background: var(--fl-negative); }

.fl-trend-list { display: flex; flex-direction: column; gap: 1.25rem; }
.fl-trend-row__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.fl-trend-row__name { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .85rem; min-width: 0; }
.fl-trend-row__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.fl-trend-row__current { font-weight: 700; font-size: .9rem; flex: 0 0 auto; }
.fl-trend-row__bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; }
.fl-trend-bar { flex: 1; background: var(--fl-card-soft); border: 1px solid var(--fl-border); border-radius: 3px 3px 0 0; min-height: 4px; }
.fl-trend-bar.is-current { background: var(--fl-link); border-color: var(--fl-link); }

/* ---------- Tags ---------- */

.fl-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
	border-radius: 999px;
	color: var(--fl-text-muted);
	font-size: .8rem;
	font-weight: 600;
	padding: .4rem .75rem;
	cursor: pointer;
	line-height: 1.1;
}
.fl-tag-chip:hover { border-color: var(--fl-text-faint); color: var(--fl-text); }
.fl-tag-chip.is-active {
	background: rgba(59, 130, 246, .15);
	border-color: var(--fl-link);
	color: var(--fl-link);
}

.fl-tag-chip--badge {
	font-size: .68rem;
	font-weight: 600;
	padding: .15rem .55rem;
	cursor: default;
	color: var(--fl-text-faint);
	background: none;
	border-color: var(--fl-border);
}

.fl-tag-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.fl-tag-picker {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: 1.25rem;
}

.fl-tag-picker__add {
	display: flex;
	align-items: center;
	gap: .4rem;
	flex-wrap: wrap;
}
.fl-tag-picker__add input {
	flex: 1;
	min-width: 110px;
	background: var(--fl-card-soft);
	border: 1px solid var(--fl-border);
	border-radius: var(--fl-radius-sm);
	color: var(--fl-text);
	padding: .55rem .7rem;
	font-size: .85rem;
}
.fl-tag-picker__add input:focus { outline: 2px solid var(--fl-link); outline-offset: 1px; }

.fl-txn__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-top: .3rem;
}

/* ---------- Sidebar (Desktop) ---------- */

.fl-sidebar { display: none; }

.fl-right-col { display: none; }

.fl-desktop-space-row { display: none; }

/* ---------- Desktop Layout ---------- */

@media (min-width: 1024px) {
	.fl-app { flex-direction: row; }

	.fl-bottom-nav { display: none; }

	.fl-sidebar {
		display: flex;
		flex-direction: column;
		width: 220px;
		flex: 0 0 220px;
		height: 100vh;
		position: sticky;
		top: 0;
		background: var(--fl-card);
		border-right: 1px solid var(--fl-border);
		padding: 1.25rem 1rem;
		gap: .4rem;
	}
	.fl-sidebar__logo { font-weight: 800; letter-spacing: .03em; padding: 0 .5rem 1.25rem; }
	.fl-sidebar .fl-nav-item {
		flex-direction: row;
		justify-content: flex-start;
		gap: .6rem;
		font-size: .85rem;
		padding: .65rem .6rem;
		border-radius: var(--fl-radius-sm);
		width: 100%;
	}
	.fl-sidebar .fl-nav-item.is-active { background: var(--fl-card-soft); color: var(--fl-text); }
	.fl-sidebar .fl-nav-item--add .fl-nav-item__icon {
		width: auto; height: auto; border-radius: var(--fl-radius-sm); background: none; color: inherit; font-size: 1.1rem; box-shadow: none;
	}
	.fl-sidebar .fl-nav-item--add { margin-top: 0; }
	.fl-sidebar-spacer { flex: 1; }

	.fl-header { display: none; }

	.fl-layout {
		flex: 1;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 1.5rem;
		padding: 1.5rem 2rem;
		max-width: 1280px;
		margin: 0 auto;
		width: 100%;
	}

	.fl-main {
		max-width: none;
		padding: 0;
		margin: 0;
	}

	.fl-grid { grid-template-columns: 1fr 1fr; }
	.fl-grid--full { grid-template-columns: 1fr; }
	.fl-grid .fl-span-2 { grid-column: 1 / -1; }

	.fl-right-col {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.fl-desktop-space-row {
		display: flex;
		gap: .6rem;
		margin-bottom: 1.25rem;
	}
	.fl-desktop-space-row .fl-space-card { flex: 1; margin-bottom: 0; }
}
