/*
 * Tap a Taxi Membership — the launch pages (Card payments, Tax details)
 * in the co-op's app design system.
 *
 * 0.20.5 — every value here is a token from the co-op's design-tokens.json
 * (tapataxi-coop/App-UX-UI-CI-Audit, version 1, 8 October 2026), applied
 * the way DESIGN.md says: Outfit only; the Midnight tints as the only
 * greys; Red with White for the one primary button; Blue fills carry
 * Midnight; status green is a fill with a Midnight label and never a
 * control; tinted panels carry Midnight text; cards are a surface with a
 * one-pixel edge and no shadow; radius 12 on controls, 20 on cards,
 * 8 on pills; spacing on the 4/8/12/16/20/24/32 scale; nothing below the
 * caption size; sentence case; no exclamation marks.
 *
 * The light roles are the default, because the portal's pages are
 * white. The dark roles, as the venue and business screens draw them,
 * are one class away (.tat-lp--dark) and carry their own Midnight page.
 *
 * Views set no colour, size, radius or shadow of their own: a view that
 * needs a style adds a class here (the audit's rule: never type a value
 * into a component). StripeConnectTest pins that.
 */

@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/outfit-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── Tokens (design-tokens.json) ─────────────────────────── */

.tat-lp {
	/* palette */
	--lp-red: #E42312;
	--lp-red-80: #E94F41;
	--lp-red-60: #EF7B71;
	--lp-red-20: #FAD3D0;
	--lp-blue: #00AEEF;
	--lp-blue-20: #CCEFFC;
	--lp-midnight: #0D141F;
	--lp-midnight-80: #3D434C;
	--lp-midnight-60: #6E7279;
	--lp-midnight-40: #9EA1A5;
	--lp-midnight-20: #CFD0D2;
	--lp-white: #FFFFFF;
	--lp-status-green: #67CD90;
	--lp-tint-green: #E1F5E9;
	/* 0.20.9 — the roof sign's own colours, working colours like the status green: the plate only, never a control, never text elsewhere (PO, 19 Oct, from the co-op's own signs) */
	--lp-sign-yellow: #FFD400;
	--lp-sign-blue: #00427B;
	--lp-sign-frame: #000000;
	--lp-dark-surface: #19202A;
	--lp-dark-raised: #232933;

	/* roles, light (colors.light): the portal's pages are white */
	--lp-background: var(--lp-white);
	--lp-surface: var(--lp-white);
	--lp-surface-raised: var(--lp-white);
	--lp-text: var(--lp-midnight);
	--lp-text-secondary: var(--lp-midnight-60);
	--lp-card-edge: var(--lp-midnight-20);
	--lp-border: var(--lp-midnight-60);
	--lp-divider: var(--lp-midnight-20);
	--lp-error-on-surface: var(--lp-red);
	--lp-button-primary-fill: var(--lp-red);
	--lp-button-primary-label: var(--lp-white);
	--lp-button-secondary-fill: var(--lp-midnight);
	--lp-button-secondary-label: var(--lp-white);
	--lp-button-outline-border: var(--lp-midnight-60);
	--lp-button-outline-label: var(--lp-midnight);
	--lp-link: var(--lp-midnight);
	--lp-focus-ring: var(--lp-midnight);
	--lp-tint-text: var(--lp-midnight);
	--lp-status-green-label: var(--lp-midnight);
	--lp-step-fill: var(--lp-midnight-20);      /* the numbered circle, the neutral chip */
	--lp-step-label: var(--lp-midnight);

	/* type (type.fontSize / lineHeight, points as px) */
	--lp-title-lg: 22px; --lp-title-lg-lh: 28px;
	--lp-title-md: 20px; --lp-title-md-lh: 26px;
	--lp-title-sm: 17px; --lp-title-sm-lh: 23px;
	--lp-subtitle: 15px; --lp-subtitle-lh: 21px;
	--lp-body: 15px;     --lp-body-lh: 22px;
	--lp-body-sm: 13px;  --lp-body-sm-lh: 19px;
	--lp-caption: 12px;  --lp-caption-lh: 16px;
	--lp-button: 18px;   --lp-button-lh: 24px;

	/* spacing, radius, sizes */
	--lp-sp-1: 4px; --lp-sp-2: 8px; --lp-sp-3: 12px; --lp-sp-4: 16px; --lp-sp-5: 20px; --lp-sp-6: 24px; --lp-sp-8: 32px;
	--lp-radius-control: 12px;
	--lp-radius-card: 20px;
	--lp-radius-pill: 8px;
	--lp-radius-icon-tile: 12px;
	--lp-icon-tile: 64px;   /* no icon tile size in design-tokens.json; this one is ours, on the 4 scale */
	--lp-button-height: 50px;
	--lp-tap: 48px;
	--lp-motion-micro: 120ms;

	font-family: 'Outfit', sans-serif;
	font-size: var(--lp-body);
	line-height: var(--lp-body-lh);
	letter-spacing: 0;
	color: var(--lp-text);
	max-width: 720px;
}
/* The dark roles (colors.dark), as the venue and business screens draw
 * them, for a page with a Midnight background. One class on the wrapper
 * switches; the block then carries its own Midnight page. */
.tat-lp--dark {
	--lp-background: var(--lp-midnight);
	--lp-surface: #19202A;
	--lp-surface-raised: #232933;
	--lp-text: var(--lp-white);
	--lp-text-secondary: var(--lp-midnight-40);
	--lp-card-edge: var(--lp-midnight-60);
	--lp-border: var(--lp-midnight-60);
	--lp-divider: var(--lp-midnight-60);
	--lp-error-on-surface: var(--lp-red-60);
	--lp-button-secondary-fill: var(--lp-white);
	--lp-button-secondary-label: var(--lp-midnight);
	--lp-button-outline-label: var(--lp-white);
	--lp-link: var(--lp-white);
	--lp-focus-ring: var(--lp-blue);
	--lp-step-fill: var(--lp-surface-raised);
	--lp-step-label: var(--lp-white);
	background: var(--lp-background);
	border-radius: var(--lp-radius-card);
	padding: var(--lp-sp-5);
}
@media (max-width: 480px) {
	.tat-lp--dark { padding: var(--lp-sp-4); }
}
.tat-lp *, .tat-lp *::before, .tat-lp *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
	.tat-lp * { transition: none; }
}

/* ─── Type ─────────────────────────────────────────────────── */

.tat-lp .tat-lp__title { font-size: var(--lp-title-lg); line-height: var(--lp-title-lg-lh); font-weight: 600; margin: 0 0 var(--lp-sp-2); color: var(--lp-text); }
.tat-lp .tat-lp__card-title { font-size: var(--lp-title-md); line-height: var(--lp-title-md-lh); font-weight: 600; margin: 0 0 var(--lp-sp-2); color: var(--lp-text); }
.tat-lp .tat-lp__row-title { font-size: var(--lp-title-sm); line-height: var(--lp-title-sm-lh); font-weight: 500; margin: 0; color: var(--lp-text); }
.tat-lp .tat-lp__label { font-size: var(--lp-subtitle); line-height: var(--lp-subtitle-lh); font-weight: 500; margin: var(--lp-sp-4) 0 var(--lp-sp-2); color: var(--lp-text); }
.tat-lp p { font-size: var(--lp-body); line-height: var(--lp-body-lh); margin: 0 0 var(--lp-sp-3); color: var(--lp-text); }
.tat-lp .tat-lp__secondary { color: var(--lp-text-secondary); font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); }
.tat-lp .tat-lp__privacy { margin-top: var(--lp-sp-4); padding-top: var(--lp-sp-4); border-top: 1px solid var(--lp-divider); }
.tat-lp .tat-lp__caption { color: var(--lp-text-secondary); font-size: var(--lp-caption); line-height: var(--lp-caption-lh); letter-spacing: 0.2px; }
.tat-lp a { color: var(--lp-link); text-decoration: underline; font-weight: 600; }
.tat-lp a:focus-visible, .tat-lp button:focus-visible { outline: 2px solid var(--lp-focus-ring); outline-offset: 2px; }

/* ─── Cards ─────────────────────────────────────────────────── */

.tat-lp .tat-lp__card {
	background: var(--lp-surface);
	border: 1px solid var(--lp-card-edge);
	border-radius: var(--lp-radius-card);
	padding: var(--lp-sp-5); /* 0.20.8: 20 on a wide screen, 16 on a phone; the 20 radius wants it */
	margin: 0 0 var(--lp-sp-3);
}
.tat-lp .tat-lp__card > :first-child { margin-top: 0; }
.tat-lp .tat-lp__card--section { margin-top: var(--lp-sp-6); }
.tat-lp .tat-lp__card > :last-child { margin-bottom: 0; }
.tat-lp .tat-lp__divider { border: 0; border-top: 1px solid var(--lp-divider); margin: var(--lp-sp-4) 0; }

/* ─── The lockup: the co-op's app and Stripe, side by side ──── */

.tat-lp .tat-lp__lockup { display: flex; align-items: center; gap: var(--lp-sp-3); margin: 0 0 var(--lp-sp-4); }
.tat-lp .tat-lp__lockup img { display: block; width: var(--lp-icon-tile); height: var(--lp-icon-tile); border-radius: var(--lp-radius-icon-tile); border: 1px solid var(--lp-card-edge); } /* 0.20.7: the driver tile is White; the edge is the card's */
.tat-lp .tat-lp__lockup-plus { font-size: var(--lp-title-lg); line-height: 1; font-weight: 500; color: var(--lp-text-secondary); }
@media (max-width: 480px) {
	.tat-lp { --lp-icon-tile: 56px; }
}

/* ─── Lists ─────────────────────────────────────────────────── */

.tat-lp ul.tat-lp__list { list-style: none; margin: 0 0 var(--lp-sp-3); padding: 0; }
.tat-lp ul.tat-lp__list li { position: relative; padding-left: var(--lp-sp-5); margin: 0 0 var(--lp-sp-2); font-size: var(--lp-body); line-height: var(--lp-body-lh); }
.tat-lp ul.tat-lp__list li:last-child { margin-bottom: 0; }
.tat-lp ul.tat-lp__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-blue); }

/* Numbered steps, as the audit's "What happens next" draws them. */
.tat-lp ol.tat-lp__steps { list-style: none; margin: 0; padding: 0; counter-reset: lp-step; }
.tat-lp ol.tat-lp__steps li { display: flex; gap: var(--lp-sp-3); align-items: flex-start; padding: var(--lp-sp-3) 0; border-top: 1px solid var(--lp-divider); counter-increment: lp-step; }
.tat-lp ol.tat-lp__steps li:first-child { border-top: 0; padding-top: 0; }
.tat-lp ol.tat-lp__steps li::before {
	content: counter(lp-step);
	flex: 0 0 auto;
	width: 32px; height: 32px;
	border-radius: 50%;
	background: var(--lp-step-fill);
	color: var(--lp-step-label);
	font-weight: 600;
	display: grid; place-items: center;
	font-size: var(--lp-subtitle);
}
.tat-lp ol.tat-lp__steps li > div { flex: 1; min-width: 0; }
.tat-lp ol.tat-lp__steps li > div p:last-child { margin-bottom: 0; }

/* ─── Progress: where the member is ─────────────────────────── */

.tat-lp .tat-lp__progress { display: flex; gap: var(--lp-sp-2); list-style: none; margin: 0 0 var(--lp-sp-4); padding: 0; flex-wrap: wrap; }
.tat-lp .tat-lp__progress li {
	flex: 1 1 120px;
	min-height: var(--lp-tap);
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: var(--lp-sp-2) var(--lp-sp-3);
	border-radius: var(--lp-radius-control);
	border: 1px solid var(--lp-border);
	font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh);
	color: var(--lp-text);
}
.tat-lp .tat-lp__progress li.is-done { background: var(--lp-status-green); color: var(--lp-status-green-label); border-color: var(--lp-status-green); font-weight: 500; }
.tat-lp .tat-lp__progress li.is-current { background: var(--lp-blue); color: var(--lp-midnight); border-color: var(--lp-blue); font-weight: 600; }

/* ─── Status chips: always a word (6.5) ─────────────────────── */

.tat-lp .tat-lp__chip {
	display: inline-block;
	padding: var(--lp-sp-1) var(--lp-sp-3);
	border-radius: var(--lp-radius-pill);
	font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh);
	font-weight: 500;
	margin: 0 0 var(--lp-sp-3);
}
.tat-lp .tat-lp__chip--green { background: var(--lp-status-green); color: var(--lp-status-green-label); }
.tat-lp .tat-lp__chip--blue { background: var(--lp-blue-20); color: var(--lp-tint-text); }
.tat-lp .tat-lp__chip--red { background: var(--lp-red-20); color: var(--lp-tint-text); }
.tat-lp .tat-lp__chip--neutral { background: var(--lp-step-fill); color: var(--lp-step-label); }

/* ─── Tinted panels: Midnight text only (1.3) ─────────────── */

.tat-lp .tat-lp__panel { border-radius: var(--lp-radius-control); padding: var(--lp-sp-3) var(--lp-sp-4); margin: 0 0 var(--lp-sp-3); color: var(--lp-tint-text); }
.tat-lp .tat-lp__panel p, .tat-lp .tat-lp__panel li { color: var(--lp-tint-text); }
.tat-lp .tat-lp__panel--blue { background: var(--lp-blue-20); }
.tat-lp .tat-lp__panel--green { background: var(--lp-tint-green); }
.tat-lp .tat-lp__panel--red { background: var(--lp-red-20); }
.tat-lp .tat-lp__panel > :last-child { margin-bottom: 0; }
/* 0.20.8 — a panel used as a card (the dashboard's Stripe card during the wave): card padding and radius; the title keeps Midnight. */
.tat-lp .tat-lp__panel--card { padding: var(--lp-sp-5); border-radius: var(--lp-radius-card); margin: 0 0 var(--lp-sp-4); }
.tat-lp .tat-lp__panel--card .tat-lp__card-title { color: var(--lp-tint-text); }
.tat-lp .tat-lp__panel--card .tat-lp__btn { margin-top: var(--lp-sp-2); }
.tat-lp.tat-lp--full { max-width: none; }

/* ─── Buttons (6.1): one primary per screen ─────────────────── */

.tat-lp .tat-lp__btn,
.tat-lp a.tat-lp__btn,
.tat-lp button.tat-lp__btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: var(--lp-button-height);
	padding: var(--lp-sp-3) var(--lp-sp-6);
	border-radius: var(--lp-radius-control);
	border: 1px solid transparent;
	font-family: inherit;
	font-size: var(--lp-button); line-height: var(--lp-button-lh); font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--lp-motion-micro);
	-webkit-appearance: none; appearance: none;
}
.tat-lp .tat-lp__btn--primary, .tat-lp a.tat-lp__btn--primary, .tat-lp button.tat-lp__btn--primary { background: var(--lp-button-primary-fill); color: var(--lp-button-primary-label); border-color: var(--lp-button-primary-fill); }
.tat-lp .tat-lp__btn--secondary, .tat-lp a.tat-lp__btn--secondary, .tat-lp button.tat-lp__btn--secondary { background: var(--lp-button-secondary-fill); color: var(--lp-button-secondary-label); border-color: var(--lp-button-secondary-fill); }
.tat-lp .tat-lp__btn--outline, .tat-lp a.tat-lp__btn--outline, .tat-lp button.tat-lp__btn--outline { background: transparent; color: var(--lp-button-outline-label); border-color: var(--lp-button-outline-border); }
.tat-lp .tat-lp__btn--block { display: flex; width: 100%; }
.tat-lp form.tat-lp__action { margin: var(--lp-sp-4) 0 0; }
.tat-lp form.tat-lp__action + .tat-lp__caption { margin-top: var(--lp-sp-2); } /* 0.20.8: the note under a button was touching it */

/* ─── Alerts ────────────────────────────────────────────────── */

.tat-lp .tat-lp__error { color: var(--lp-error-on-surface); font-size: var(--lp-body); line-height: var(--lp-body-lh); margin: 0 0 var(--lp-sp-3); }

@media (max-width: 480px) {
	.tat-lp .tat-lp__card { padding: var(--lp-sp-4); }
	.tat-lp .tat-lp__panel--card { padding: var(--lp-sp-4); }
	.tat-lp .tat-lp__progress li { flex-basis: calc(50% - var(--lp-sp-2)); }
	.tat-lp .tat-lp__btn--block-sm { display: flex; width: 100%; }
}

/* ─── 0.20.9: the member dashboard on the tokens ────────────────
 * Every state banner keeps its condition and its words; these rules
 * re-render the old classes (.tat-banner, .tat-btn, .tat-stat-card,
 * .tat-badge) in the brand: Blue 20% for information, Red 20% for a
 * warning or an alert (the brand has no amber), Midnight text on both,
 * the one Red primary button, chips that carry a word. Scoped to the
 * dashboard so nothing else moves this week. */

.tat-lp.tat-dashboard .tat-page-title { font-size: var(--lp-title-lg); line-height: var(--lp-title-lg-lh); font-weight: 600; margin: 0 0 var(--lp-sp-4); color: var(--lp-text); }
.tat-lp.tat-dashboard .tat-dashboard__section-title { font-size: var(--lp-title-md); line-height: var(--lp-title-md-lh); font-weight: 600; margin: 0 0 var(--lp-sp-3); color: var(--lp-text); }

/* To do: money first. The red (alerts) and amber (warnings) banners, then the Stripe card, then the blue (information). */
.tat-lp.tat-dashboard .tat-dashboard__todo { margin: 0 0 var(--lp-sp-6); }
.tat-lp.tat-dashboard .tat-dashboard__todo-list { display: flex; flex-direction: column; gap: var(--lp-sp-3); }
.tat-lp.tat-dashboard .tat-dashboard__todo-list > .tat-banner--red { order: 1; }
.tat-lp.tat-dashboard .tat-dashboard__todo-list > .tat-banner--amber { order: 2; }
.tat-lp.tat-dashboard .tat-dashboard__todo-list > #tat-dashboard-connect { order: 3; }
.tat-lp.tat-dashboard .tat-dashboard__todo-list > .tat-banner--blue { order: 4; }
.tat-lp.tat-dashboard .tat-dashboard__todo-list > .tat-dashboard__todo-item { margin: 0; }

.tat-lp.tat-dashboard .tat-banner { display: block; margin: 0; padding: var(--lp-sp-4); border: 0; border-radius: var(--lp-radius-control); background: var(--lp-blue-20); color: var(--lp-tint-text); font-size: var(--lp-body); line-height: var(--lp-body-lh); }
.tat-lp.tat-dashboard .tat-banner--amber { background: var(--lp-red-20); }
.tat-lp.tat-dashboard .tat-banner--red { background: var(--lp-red-20); border: 2px solid var(--lp-red); }
.tat-lp.tat-dashboard .tat-banner strong, .tat-lp.tat-dashboard .tat-banner span, .tat-lp.tat-dashboard .tat-banner p, .tat-lp.tat-dashboard .tat-banner div { color: var(--lp-tint-text); }
.tat-lp.tat-dashboard .tat-banner a:not(.tat-btn) { color: var(--lp-tint-text); font-weight: 600; text-decoration: underline; }
.tat-lp.tat-dashboard .tat-banner--row { display: flex; align-items: center; gap: var(--lp-sp-3); flex-wrap: wrap; }
.tat-lp.tat-dashboard .tat-banner--stack { display: flex; flex-direction: column; gap: var(--lp-sp-2); }
.tat-lp.tat-dashboard .tat-banner__text { flex: 1 1 240px; min-width: 0; }
.tat-lp.tat-dashboard .tat-banner__actions { display: inline-flex; gap: var(--lp-sp-2); align-items: center; flex-wrap: wrap; flex-shrink: 0; margin: 0; }
.tat-lp.tat-dashboard .tat-banner__note { display: block; margin-top: var(--lp-sp-1); font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); }
.tat-lp.tat-dashboard .tat-dashboard__strong { font-weight: 600; font-size: var(--lp-subtitle); line-height: var(--lp-subtitle-lh); }
.tat-lp.tat-dashboard .tat-notice { margin: 0 0 var(--lp-sp-3); padding: var(--lp-sp-3) var(--lp-sp-4); border: 0; border-radius: var(--lp-radius-control); color: var(--lp-tint-text); font-size: var(--lp-body); line-height: var(--lp-body-lh); }
.tat-lp.tat-dashboard .tat-notice--ok { background: var(--lp-tint-green); }
.tat-lp.tat-dashboard .tat-notice--error { background: var(--lp-red-20); }

/* The old button classes, as the brand's buttons (6.1): 48 at least inside a banner, the one Red primary. */
.tat-lp.tat-dashboard .tat-btn, .tat-lp.tat-dashboard a.tat-btn, .tat-lp.tat-dashboard button.tat-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--lp-sp-2);
	min-height: var(--lp-tap); padding: var(--lp-sp-2) var(--lp-sp-4);
	border-radius: var(--lp-radius-control); border: 1px solid var(--lp-midnight-60);
	background: transparent; color: var(--lp-midnight);
	font-family: inherit; font-size: var(--lp-subtitle); line-height: var(--lp-subtitle-lh); font-weight: 500;
	text-decoration: none; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0;
}
.tat-lp.tat-dashboard .tat-btn:hover, .tat-lp.tat-dashboard a.tat-btn:hover { background: transparent; color: var(--lp-midnight); text-decoration: underline; }
.tat-lp.tat-dashboard .tat-btn--primary, .tat-lp.tat-dashboard a.tat-btn--primary, .tat-lp.tat-dashboard button.tat-btn--primary { background: var(--lp-red); color: var(--lp-white); border-color: var(--lp-red); }
.tat-lp.tat-dashboard .tat-btn--primary:hover, .tat-lp.tat-dashboard a.tat-btn--primary:hover { background: var(--lp-red); color: var(--lp-white); text-decoration: underline; }
.tat-lp.tat-dashboard .tat-btn--blue, .tat-lp.tat-dashboard a.tat-btn--blue { background: var(--lp-blue); color: var(--lp-midnight); border-color: var(--lp-blue); }
.tat-lp.tat-dashboard .tat-btn--blue:hover, .tat-lp.tat-dashboard a.tat-btn--blue:hover { background: var(--lp-blue); color: var(--lp-midnight); }
.tat-lp.tat-dashboard .tat-btn--dark, .tat-lp.tat-dashboard a.tat-btn--dark { background: var(--lp-midnight); color: var(--lp-white); border-color: var(--lp-midnight); }
.tat-lp.tat-dashboard .tat-btn--block { display: flex; width: 100%; }
.tat-lp.tat-dashboard .tat-btn:focus-visible { outline: 2px solid var(--lp-focus-ring); outline-offset: 2px; }

/* Your membership: the four facts as cells, the chip, the links, the Direct Debit line. */
.tat-lp.tat-dashboard .tat-dashboard__membership { margin: 0 0 var(--lp-sp-4); }
.tat-lp.tat-dashboard .tat-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--lp-sp-4); margin: 0; }
.tat-lp.tat-dashboard .tat-stat-card { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.tat-lp.tat-dashboard .tat-stat-card--danger { background: transparent; }
.tat-lp.tat-dashboard .tat-stat-card__label { font-size: var(--lp-caption); line-height: var(--lp-caption-lh); letter-spacing: 0.2px; text-transform: none; color: var(--lp-text-secondary); margin: 0 0 var(--lp-sp-1); font-weight: 500; }
.tat-lp.tat-dashboard .tat-stat-card__value, .tat-lp.tat-dashboard .tat-stat-card__value--md, .tat-lp.tat-dashboard .tat-stat-card__value--mono { font-family: inherit; font-size: var(--lp-title-sm); line-height: var(--lp-title-sm-lh); font-weight: 600; color: var(--lp-text); font-variant-numeric: tabular-nums; }
.tat-lp.tat-dashboard .tat-stat-card__value--sm { font-size: var(--lp-subtitle); line-height: var(--lp-subtitle-lh); }
.tat-lp.tat-dashboard .tat-stat-card__value--danger { color: var(--lp-red); }
.tat-lp.tat-dashboard .tat-stat-card__sub, .tat-lp.tat-dashboard .tat-stat-card__sub--note, .tat-lp.tat-dashboard .tat-stat-card__help { font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); color: var(--lp-text-secondary); margin: var(--lp-sp-1) 0 0; }
.tat-lp.tat-dashboard .tat-badge { display: inline-block; padding: var(--lp-sp-1) var(--lp-sp-3); border-radius: var(--lp-radius-pill); font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); font-weight: 500; text-transform: none; letter-spacing: 0; border: 0; }
.tat-lp.tat-dashboard .tat-badge::before { display: none; }
.tat-lp.tat-dashboard .tat-badge--active { background: var(--lp-status-green); color: var(--lp-status-green-label); }
.tat-lp.tat-dashboard .tat-badge--pending { background: var(--lp-blue-20); color: var(--lp-tint-text); }
.tat-lp.tat-dashboard .tat-badge--warning, .tat-lp.tat-dashboard .tat-badge--suspended { background: var(--lp-red-20); color: var(--lp-tint-text); }
.tat-lp.tat-dashboard .tat-dashboard__promo { margin: var(--lp-sp-4) 0 0; font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); color: var(--lp-text-secondary); }
.tat-lp.tat-dashboard .tat-dashboard__promo strong { color: var(--lp-text); }
.tat-lp.tat-dashboard .tat-dashboard__links { list-style: none; margin: var(--lp-sp-4) 0 0; padding: var(--lp-sp-4) 0 0; border-top: 1px solid var(--lp-divider); display: flex; flex-wrap: wrap; gap: var(--lp-sp-2) var(--lp-sp-5); }
.tat-lp.tat-dashboard .tat-dashboard__links li { margin: 0; }
.tat-lp.tat-dashboard .tat-dashboard__link { display: inline-flex; align-items: center; gap: var(--lp-sp-2); min-height: var(--lp-tap); color: var(--lp-link); font-weight: 600; text-decoration: underline; font-size: var(--lp-body); }
.tat-lp.tat-dashboard .tat-dashboard__icon { display: inline-flex; width: 20px; height: 20px; }
.tat-lp.tat-dashboard .tat-dashboard__icon svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
	.tat-lp.tat-dashboard .tat-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tat-lp.tat-dashboard .tat-banner .tat-btn { width: 100%; }
	.tat-lp.tat-dashboard .tat-banner__actions { width: 100%; }
}

/* ─── 0.20.9: the dashboard hero for the wave ───────────────────
 * The one dark element on a light member page (PO, 19 Oct): the dark
 * roles' surfaces, White type, the roof-sign plate, the three-step
 * launch path, one Red button. Comp approved the same day. */
.tat-lp .tat-hero { background: var(--lp-midnight); color: var(--lp-white); border-radius: var(--lp-radius-card); padding: var(--lp-sp-6); margin: 0 0 var(--lp-sp-6); }
.tat-lp .tat-hero__top { display: flex; align-items: center; justify-content: space-between; gap: var(--lp-sp-4); flex-wrap: wrap; margin: 0 0 var(--lp-sp-5); }
.tat-lp .tat-hero__greeting { font-size: var(--lp-title-lg); line-height: var(--lp-title-lg-lh); font-weight: 600; margin: 0; color: var(--lp-white); }
.tat-lp .tat-hero__who { display: flex; align-items: center; gap: var(--lp-sp-3); flex-wrap: wrap; }
.tat-lp .tat-hero__who .tat-lp__chip { margin: 0; }
.tat-lp .tat-lp__chip--sm { padding: 2px var(--lp-sp-2); font-size: var(--lp-caption); line-height: var(--lp-caption-lh); }
/* The roof sign, as the co-op's own: the yellow body with the share number, TAXI full height in the centre in yellow on the sign's blue (7.2:1), the lockup in White on a Midnight block, the black housing with a Midnight 60% keyline so it shows on a Midnight page. Radius tagPill. A wayfinding mark, never a control. */
.tat-lp .tat-roof { display: inline-grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; background: var(--lp-sign-yellow); color: var(--lp-midnight); border: 2px solid var(--lp-sign-frame); border-radius: var(--lp-radius-pill); box-shadow: 0 0 0 1px var(--lp-midnight-60); overflow: hidden; font-variant-numeric: tabular-nums; flex: 0 0 auto; height: 48px; min-width: 300px; }
.tat-lp .tat-roof__id { display: flex; align-items: center; gap: 6px; padding: 0 12px; justify-self: start; }
.tat-lp .tat-roof__label { display: block; font-size: 8px; line-height: 9px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; text-align: left; }
.tat-lp .tat-roof__digits { display: block; font-size: 28px; line-height: 30px; font-weight: 700; letter-spacing: 0.02em; }
.tat-lp .tat-roof__taxi { display: flex; align-items: center; justify-content: center; background: var(--lp-sign-blue); color: var(--lp-sign-yellow); padding: 0 16px; font-size: 24px; line-height: 26px; font-weight: 700; letter-spacing: 0.1em; }
.tat-lp .tat-roof__logo { display: flex; align-items: center; justify-content: center; padding: 0 14px; background: var(--lp-midnight); }
.tat-lp .tat-roof__logo img { display: block; height: 24px; width: auto; }
.tat-lp .tat-hero__title { font-size: 28px; line-height: 34px; font-weight: 600; margin: 0 0 var(--lp-sp-2); color: var(--lp-white); }
.tat-lp .tat-hero__lead { font-size: var(--lp-body); line-height: var(--lp-body-lh); color: var(--lp-white); margin: 0 0 var(--lp-sp-5); max-width: 60ch; }
.tat-lp .tat-hero__lead strong { font-weight: 600; }
.tat-lp .tat-hero__path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lp-sp-3); list-style: none; margin: 0 0 var(--lp-sp-5); padding: 0; counter-reset: step; }
.tat-lp .tat-hero__step { counter-increment: step; background: var(--lp-dark-surface); border: 1px solid var(--lp-midnight-60); border-radius: var(--lp-radius-control); padding: var(--lp-sp-3) var(--lp-sp-4); }
.tat-lp .tat-hero__step::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-dark-raised); color: var(--lp-white); font-size: var(--lp-caption); font-weight: 600; margin: 0 0 var(--lp-sp-2); }
.tat-lp .tat-hero__step h3 { font-size: var(--lp-subtitle); line-height: var(--lp-subtitle-lh); font-weight: 500; margin: 0 0 var(--lp-sp-1); color: var(--lp-white); }
.tat-lp .tat-hero__step p { font-size: var(--lp-body-sm); line-height: var(--lp-body-sm-lh); color: var(--lp-midnight-40); margin: 0 0 var(--lp-sp-2); }
.tat-lp .tat-hero__step .tat-lp__chip { margin: 0; }
.tat-lp .tat-hero__step--now { border-color: var(--lp-blue); }
.tat-lp .tat-hero__step--done { border-color: var(--lp-status-green); }
.tat-lp .tat-hero__actions { display: flex; gap: var(--lp-sp-3); flex-wrap: wrap; align-items: center; }
.tat-lp .tat-hero .tat-lp__chip--neutral { background: var(--lp-dark-raised); color: var(--lp-white); }
.tat-lp .tat-hero .tat-lp__btn--outline { color: var(--lp-white); border-color: var(--lp-midnight-60); }
@media (max-width: 640px) {
	.tat-lp .tat-hero { padding: var(--lp-sp-5) var(--lp-sp-4); }
	.tat-lp .tat-hero__top { flex-direction: column; }
	.tat-lp .tat-hero__title { font-size: var(--lp-title-lg); line-height: var(--lp-title-lg-lh); }
	.tat-lp .tat-hero__path { grid-template-columns: 1fr; }
	.tat-lp .tat-roof { height: 44px; min-width: 0; width: 100%; }
	.tat-lp .tat-roof__digits { font-size: 24px; line-height: 26px; }
	.tat-lp .tat-roof { grid-template-columns: 1fr 1fr 1fr; } /* 0.20.10: on a phone the sign is three equal thirds (PO) */
	.tat-lp .tat-roof__id { justify-self: center; padding: 0 8px; }
	.tat-lp .tat-roof__taxi { font-size: 20px; padding: 0 8px; }
	.tat-lp .tat-roof__logo { padding: 0 8px; }
	.tat-lp .tat-roof__logo img { height: 22px; }
}
