/*
Theme Name: 3.14ONEER
Theme URI: https://314oneer.ch
Author: 3.14ONEER
Description: Custom theme for 3.14ONEER: custom high-end bikes, professional assembly and expert consultation. Quote-led custom builds, responsive layout, no third-party requests.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: 314oneer
*/

/* ---------- Tokens ---------- */
:root {
	--carbon: #2d2d2a;
	--carbon-2: #3a3a36;
	--yellow: #fbdb6b;
	--yellow-dark: #e9c545;
	--grey: #e3e2db;
	--grey-2: #f3f2ee;
	--blue: #6bbcfb;
	--ink: #2d2d2a;
	--muted: #5f5f58;
	--white: #fff;
	--radius: 12px;
	--gutter: clamp(16px, 4vw, 32px);
	--max: 1180px;
	--font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-body: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	--header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 .6em;
	font-weight: 600;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--yellow); color: var(--carbon); padding: .6em 1em; font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
	text-decoration: none; text-align: center; cursor: pointer;
	background: var(--yellow); color: var(--carbon); border: 2px solid var(--yellow);
	padding: .8em 1.5em; border-radius: 999px; line-height: 1.2;
	transition: background .15s, transform .15s;
}
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--carbon); border-color: var(--carbon); }
.btn-ghost-dark:hover { background: var(--grey); border-color: var(--carbon); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.text-link { font-family: var(--font-head); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.text-link:hover { background: var(--yellow); }

/* ---------- Header ---------- */
.site-header { background: var(--carbon); color: var(--grey); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(251,219,107,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand img { height: 30px; width: auto; }
.nav-toggle {
	display: none; background: none; border: 0; color: var(--grey); width: 44px; height: 44px; padding: 0; cursor: pointer; border-radius: 8px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 24px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav li a {
	display: block; padding: .6em .75em; white-space: nowrap; text-decoration: none; font-family: var(--font-head); font-size: .95rem; border-radius: 8px; color: var(--grey);
}
.primary-nav li a:hover, .primary-nav li a[aria-current="page"], .primary-nav li.current-menu-item a { color: var(--yellow); background: rgba(251,219,107,.1); }
.nav-cta { margin-left: 8px; }

@media (max-width: 1099px) {
	.nav-toggle { display: inline-flex; align-items: center; }
	.nav-ready .primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
		background: var(--carbon); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px;
		border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 24px rgba(0,0,0,.25);
	}
	.nav-ready .primary-nav.is-open { display: flex; }
	.nav-ready .primary-nav ul { flex-direction: column; align-items: stretch; }
	.nav-ready .primary-nav li a { padding: .9em .6em; }
	.nav-ready .nav-cta { margin: 12px 0 0; }
	/* No JS: the menu simply wraps below the logo. */
	body:not(.nav-ready) .header-inner { flex-wrap: wrap; padding-block: 10px; }
	body:not(.nav-ready) .primary-nav { flex-wrap: wrap; }
	body:not(.nav-ready) .primary-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero { background: var(--carbon); color: var(--grey); padding-block: clamp(32px, 7vw, 80px); }
.hero-grid { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero h1 { color: var(--white); }
.eyebrow {
	font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--yellow); margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; line-height: 1.6; }
.hero .lead { color: var(--grey); max-width: 34em; margin-bottom: 1.6rem; }
.hero-media { background: var(--grey); border-radius: var(--radius); overflow: hidden; }
.hero-media img { width: 100%; }
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.page-hero { background: var(--carbon); color: var(--grey); padding-block: clamp(32px, 6vw, 64px); }
.page-hero h1 { color: var(--white); margin-bottom: .4em; }
.page-hero .lead { margin: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(40px, 7vw, 88px); }
.section-alt { background: var(--grey-2); }
.section-title { margin-bottom: 1.2em; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.split { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 4fr 5fr; }
	.split-build { grid-template-columns: 5fr 4fr; }
}
.rounded { border-radius: var(--radius); width: 100%; }
.story p { font-size: 1.125rem; }
.pull-quote {
	margin: 1.4em 0; padding-left: 1em; border-left: 4px solid var(--yellow);
	font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.35; letter-spacing: -0.02em;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
	.card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { background: var(--white); border: 1px solid var(--grey); border-radius: var(--radius); overflow: hidden; }
.section-alt .card { border-color: transparent; }
.service-card { padding: 28px; }
.card-num { font-family: var(--font-head); font-weight: 700; color: var(--yellow-dark); font-size: 1.1rem; display: block; margin-bottom: .5em; }
.build-media { display: block; background: var(--grey); }
.build-media img, .build-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.build-body { padding: 18px 20px 22px; }
.build-body h3, .card-title { margin-bottom: .3em; font-size: 1.15rem; }
.build-body h3 a, .card-title a { text-decoration: none; }
.build-body h3 a:hover, .card-title a:hover { text-decoration: underline; text-decoration-color: var(--yellow-dark); text-underline-offset: 4px; text-decoration-thickness: 3px; }
.build-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.build-hero-media { background: var(--grey); border-radius: var(--radius); overflow: hidden; }
.build-hero-media img { width: 100%; }
.meta { font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .4em; }
.note { margin-top: 2rem; color: var(--muted); text-align: center; }
.narrow-block { max-width: 780px; margin: 2rem auto 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-aside .steps { grid-template-columns: minmax(0, 1fr); }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
	content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%;
	background: var(--yellow); color: var(--carbon); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }
.contact-aside .steps li { padding-top: 0; padding-left: 52px; min-height: 38px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--carbon); color: var(--grey); }
.cta-band h2 { color: var(--white); }

/* ---------- Quote form ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.quote-box { background: var(--grey-2); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.field { margin: 0 0 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border: 2px solid #c9c8c0; border-radius: 8px; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--carbon); outline: 3px solid var(--blue); outline-offset: 1px; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field.check { display: flex; gap: 10px; align-items: flex-start; }
.field.check input { margin-top: .4em; width: 20px; height: 20px; flex: none; accent-color: var(--carbon); }
.field.check label { font-family: var(--font-body); font-weight: 400; font-size: .95rem; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-family: var(--font-head); font-size: .95rem; }
.notice-success { background: #e7f6dc; border: 2px solid #5da03a; }
.notice-error { background: #fde8e8; border: 2px solid #c0392b; }
.contact-aside h2 { font-size: 1.3rem; }
.contact-aside .steps { margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .7em; }
.contact-list a { text-decoration-color: var(--yellow-dark); text-underline-offset: 3px; }

/* ---------- Entry (editor content) ---------- */
.entry > * + * { margin-top: 1.1em; }
.entry img { border-radius: 8px; }
.entry a { text-decoration-color: var(--yellow-dark); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post-thumb { margin-block: 1rem 2rem; border-radius: var(--radius); overflow: hidden; }
.navigation.pagination { margin-top: 2rem; font-family: var(--font-head); }
.navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation .page-numbers { padding: .5em .9em; border-radius: 8px; text-decoration: none; border: 1px solid var(--grey); }
.navigation .page-numbers.current { background: var(--yellow); border-color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--carbon); color: var(--grey); padding-top: clamp(36px, 6vw, 64px); font-size: .98rem; border-top: 1px solid rgba(251,219,107,.18); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1.2fr 1fr; } }
.footer-logo { width: min(320px, 100%); height: auto; margin-bottom: 16px; }
.footer-services { color: #b9b8b0; font-size: .9rem; }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--yellow); margin-bottom: 1em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-block: 20px;
	border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #b9b8b0;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }

/* ---------- Customer portal ---------- */
.portal-greeting { font-family: var(--font-head); margin-bottom: 1.5em; }
.appt-list { list-style: none; margin: 0 0 2.5em; padding: 0; display: grid; gap: 12px; }
.appt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--grey-2); border-radius: var(--radius); }
.slot-month { border-top: 1px solid #d6d5cc; padding: 8px 0; }
.slot-month > summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; padding: 6px 0; }
.slot-row { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 12px; align-items: center; padding: 3px 0; }
.slot-date { font-family: var(--font-head); font-size: .9rem; color: var(--muted); }
.slot { display: inline-block; margin: 0 6px 4px 0; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span { display: inline-block; min-width: 3.8em; text-align: center; padding: .3em .8em; font-size: .9rem; border: 2px solid var(--carbon); border-radius: 999px; font-family: var(--font-head); cursor: pointer; background: var(--white); }
.slot input:checked + span { background: var(--yellow); border-color: var(--carbon); }
.slot input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.quote-box .login-username label, .quote-box .login-password label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.quote-box .login-username input, .quote-box .login-password input { width: 100%; max-width: 420px; padding: .7em .8em; border: 2px solid #b9b8ae; border-radius: 8px; font: inherit; }
.quote-box .login-submit .button { display: inline-block; padding: .75em 1.5em; background: var(--yellow); border: 2px solid var(--yellow); border-radius: 999px; font-family: var(--font-head); font-weight: 700; cursor: pointer; }

.portal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; }
.portal-nav a { padding: .4em 1em; border: 2px solid var(--carbon); border-radius: 999px; font-family: var(--font-head); font-size: .9rem; text-decoration: none; }
.portal-nav a:hover { background: var(--yellow); }
.portal-section { margin-bottom: 3em; scroll-margin-top: calc(var(--header-h) + 16px); }
#appointments { scroll-margin-top: calc(var(--header-h) + 16px); margin-bottom: 3em; }
.project { background: var(--grey-2); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.project h3 { margin: 0 0 .8em; }
.project h4 { margin: 1.2em 0 .4em; font-family: var(--font-head); font-size: .95rem; }
.timeline { list-style: none; margin: 0 0 .6em; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--font-head); font-size: .92rem; }
.timeline .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #b9b8ae; background: var(--white); flex: none; }
.timeline .is-done { color: var(--carbon); }
.timeline .is-done .dot { background: var(--carbon); border-color: var(--carbon); }
.timeline .is-current { color: var(--carbon); font-weight: 700; }
.timeline .is-current .dot { background: var(--yellow); border-color: var(--carbon); box-shadow: 0 0 0 4px rgba(251,219,107,.45); }
@media (min-width: 700px) {
	.timeline { flex-direction: row; gap: 0; }
	.timeline li { flex: 1; flex-direction: column; text-align: center; position: relative; gap: 8px; }
	.timeline li::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: #b9b8ae; z-index: 0; }
	.timeline li:first-child::before { display: none; }
	.timeline li.is-done::before, .timeline li.is-current::before { background: var(--carbon); }
	.timeline .dot { position: relative; z-index: 1; }
}
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.updates time { font-family: var(--font-head); font-size: .85rem; color: var(--muted); margin-right: .6em; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 .6em; }
.facts div { display: flex; gap: .5em; }
.facts dt { font-family: var(--font-head); font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; }

/* ---------- Top bar: language + account ---------- */
.topbar { background: #1f1f1d; color: var(--grey); font-family: var(--font-head); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.topbar a { color: var(--grey); text-decoration: none; padding: .35em .55em; border-radius: 6px; display: inline-block; }
.topbar a:hover { color: var(--yellow); background: rgba(251,219,107,.1); }
.topbar .lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; letter-spacing: .06em; }
.topbar .lang-switch a[aria-current="true"] { color: var(--yellow); }
.account-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.topbar .account-login { color: var(--yellow); font-weight: 600; }
.account-name { font-weight: 600; }
.account-logout { border: 1px solid rgba(255,255,255,.35); }
.account-logout:hover { border-color: var(--yellow); }

/* ---------- Portal tabs ---------- */
.portal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 2em; border-bottom: 2px solid #d6d5cc; }
.portal-tabs a { padding: .65em 1.1em; font-family: var(--font-head); font-weight: 600; text-decoration: none; border-radius: 8px 8px 0 0; margin-bottom: -2px; border: 2px solid transparent; color: var(--muted); }
.portal-tabs a:hover { color: var(--carbon); background: var(--grey-2); }
.portal-tabs a[aria-current="page"] { color: var(--carbon); border-color: #d6d5cc; border-bottom-color: var(--white); background: var(--white); }
.photo-card { background: var(--grey-2); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.photo-card h3 { margin: 0 0 .2em; }
.photo-card .meta { margin: 0 0 .8em; color: var(--muted); font-family: var(--font-head); font-size: .85rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-grid a { display: block; border-radius: 8px; overflow: hidden; background: #ddd; aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.04); }

.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.portal-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.portal-table th { text-align: left; font-family: var(--font-head); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 12px; border-bottom: 2px solid #d6d5cc; white-space: nowrap; }
.portal-table td { padding: 10px 12px; border-bottom: 1px solid #e3e2db; vertical-align: top; }
.portal-table tr:hover td { background: var(--grey-2); }
.row-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.quick-update { margin-top: 1.4em; padding-top: 1em; border-top: 1px solid #d6d5cc; }

/* =====================================================================
   Portal polish: one consistent system for customer and admin views
   ===================================================================== */
.portal-hero { padding-block: clamp(22px, 4vw, 40px); }
.portal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .25em; }
.portal-hero .lead { font-size: 1.05rem; }
.portal-hero .eyebrow { margin-bottom: .6em; }

.portal { font-family: var(--font-head); font-size: .95rem; line-height: 1.55; }
.portal.narrow { max-width: 880px; }
.portal.portal-admin { max-width: 1180px; }
.portal p { margin: 0 0 .9em; }
.portal h2 { font-size: 1.35rem; margin: 0 0 1rem; letter-spacing: -.01em; }
.portal h2.spaced { margin-top: 2.4rem; }
.portal h3 { font-size: 1.1rem; margin: 0 0 .4em; }
.portal h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 1.4rem 0 .5rem; font-weight: 600; }
.portal .notice { margin-bottom: 1.25rem; font-size: .92rem; }
.portal-section { margin-bottom: 2.5rem; }

/* tabs and sub navigation */
.portal-tabs { gap: 2px; margin-bottom: 1.75rem; }
.portal-tabs a { padding: .6em 1.05em; font-size: .95rem; }
.subtabs, .month-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.1rem; }
.subtabs a, .month-pills a { padding: .4em .95em; border-radius: 999px; background: var(--grey-2); text-decoration: none; font-weight: 600; font-size: .85rem; color: var(--carbon); }
.month-pills a { padding: .3em .8em; font-size: .8rem; font-weight: 500; }
.subtabs a:hover, .month-pills a:hover { background: var(--grey); }
.subtabs a[aria-current="true"], .month-pills a[aria-current="true"] { background: var(--carbon); color: var(--white); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar h2 { margin: 0; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* tables */
.table-wrap { background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); overflow-x: auto; margin: 0 0 1.5rem; }
.portal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.portal-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 16px; background: var(--grey-2); border-bottom: 1px solid #e3e2db; white-space: nowrap; }
.portal-table td { padding: 14px 16px; border-bottom: 1px solid #efeee8; vertical-align: middle; }
.portal-table tbody tr:last-child td { border-bottom: 0; }
.portal-table tbody tr:hover td { background: #faf9f5; }
.portal-table .col-main a { font-weight: 600; text-decoration: none; }
.portal-table .col-main a:hover { text-decoration: underline; }
.portal-table .col-note { color: var(--muted); max-width: 300px; }
.portal-table .col-actions { text-align: right; white-space: nowrap; }
.portal-table .col-actions a { margin-left: 14px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.portal-table .col-actions a:hover { background: var(--yellow); }
.portal-table .num { text-align: right; }
.nowrap { white-space: nowrap; }
.stage { display: inline-block; padding: .2em .75em; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #eee; color: var(--carbon); white-space: nowrap; }
.stage-quote { background: #e9e8e1; }
.stage-sourcing { background: #dbeafe; color: #1e3a8a; }
.stage-assembly { background: #fdeeb0; }
.stage-ready { background: #d7f0cf; color: #1d5c14; }
.stage-delivered { background: var(--carbon); color: var(--white); }

/* cards */
.project, .photo-card, .appt { background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); }
.project { padding: 24px 26px; margin-bottom: 18px; }
.photo-card { padding: 22px 24px; margin-bottom: 18px; }
.appt { padding: 16px 20px; }
.appt-list { gap: 10px; margin-bottom: 2rem; }
.project h3 { font-size: 1.2rem; margin-bottom: .3em; }
.timeline { margin: 1.2rem 0 .8rem; }
.timeline li { font-size: .85rem; }
.updates { gap: 8px; }
.updates li { font-size: .92rem; }
.updates time { font-size: .78rem; }
.facts { gap: 6px 32px; margin: .6rem 0 1rem; }
.quick-update { margin-top: 1.6rem; padding-top: 1.2rem; }
.quick-update .field { margin-bottom: 14px; }
.quick-update h4 { margin-top: 0; }

/* forms (customer booking form, admin forms) */
.portal .quote-box { background: var(--white); border: 1px solid #e3e2db; padding: 22px 24px; }
.portal .field label { font-size: .82rem; }
.portal .field input[type="text"], .portal .field input[type="email"], .portal .field select, .portal .field textarea { padding: .65em .8em; font-size: .95rem; }
.fe-form { background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); padding: 26px 28px; max-width: 880px; }
.fe-form .form-table, .fe-form .form-table tbody, .fe-form .form-table tr, .fe-form .form-table th, .fe-form .form-table td { display: block; width: auto; }
.fe-form .form-table tr { margin-bottom: 20px; }
.fe-form .form-table th { padding: 0 0 6px; text-align: left; font-size: .82rem; font-weight: 600; }
.fe-form label { font-size: .82rem; font-weight: 600; }
.fe-form td label { font-weight: 500; font-size: .9rem; }
.fe-form input[type="text"], .fe-form input[type="email"], .fe-form input[type="date"], .fe-form input[type="time"], .fe-form input[type="number"], .fe-form select, .fe-form textarea,
.fe-admin input[type="date"], .fe-admin input[type="time"], .fe-admin input[type="number"], .fe-admin select {
	width: 100%; padding: .6em .8em; border: 2px solid #cfcec4; border-radius: 8px; font: inherit; background: var(--white); color: var(--ink);
}
.fe-form input[type="date"], .fe-form input[type="time"], .fe-form input[type="number"], .fe-admin input[type="date"], .fe-admin input[type="time"], .fe-admin input[type="number"] { width: auto; }
.fe-form .small-text { width: 140px; max-width: 100%; }
.fe-form .regular-text { max-width: 440px; }
.fe-form input[type="file"] { font: inherit; max-width: 100%; }
.fe-form .description, .fe-admin .description, .hint { display: block; color: var(--muted); font-size: .82rem; margin: 6px 0 0; font-weight: 400; }
.fe-form p[style*="flex"] { align-items: center; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.fe-delete { margin-top: 1.25rem; }
.link-danger { background: none; border: 0; padding: 0; color: #b32d2e; text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
.btn-danger { background: #b32d2e; border-color: #b32d2e; color: var(--white); }
.btn-danger:hover { background: #8f2324; border-color: #8f2324; }
.danger-zone { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e3e2db; display: grid; gap: 1.5rem; max-width: 880px; }
.delete-customer { border: 1px solid #e8c4c4; background: #fdf5f5; border-radius: var(--radius); padding: 18px 22px; }
.delete-customer h3 { margin-top: 0; color: #8f2324; }

/* wp-admin building blocks reused in the front-end admin view */
.fe-admin .button { display: inline-block; font: inherit; font-weight: 600; font-size: .85rem; padding: .5em 1.1em; border-radius: 999px; border: 2px solid var(--carbon); background: transparent; color: var(--carbon); text-decoration: none; cursor: pointer; line-height: 1.2; }
.fe-admin .button:hover { background: var(--grey); }
.fe-admin .button-primary { background: var(--yellow); border-color: var(--yellow); }
.fe-admin .button-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.fe-admin .widefat { width: 100%; max-width: none !important; border-collapse: collapse; background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); overflow: hidden; font-size: .92rem; margin-bottom: 1.5rem; }
.fe-admin .widefat th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: 12px 16px; background: var(--grey-2); }
.fe-admin .widefat td { padding: 12px 16px; border-top: 1px solid #efeee8; }
.fe-admin .form-table, .fe-admin .form-table tbody, .fe-admin .form-table tr, .fe-admin .form-table th, .fe-admin .form-table td { display: block; width: auto; }
.fe-admin .form-table tr { margin-bottom: 18px; }
.fe-admin .form-table th { text-align: left; font-size: .82rem; font-weight: 600; padding: 0 0 6px; }
.fe-admin .form-table td p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.fe-admin .small-text { width: 90px !important; }
.fe-admin > form, .fe-admin form + form { margin-bottom: 1.5rem; }

/* availability calendar inside the portal */
.fe-admin h3 { font-size: 1rem; margin: 1.6rem 0 .6rem; }
.fe-admin .pa-grid { display: block; overflow-x: auto; border-radius: var(--radius); border-collapse: collapse; font-size: .85rem; }
.fe-admin .pa-grid th, .fe-admin .pa-grid td { border-color: #e3e2db; padding: 10px 12px; }
.fe-admin .pa-grid thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fe-admin .pa-day { min-width: 190px; }
.fe-admin .pa-chip { font-size: .8rem; padding: 3px 10px; font-family: var(--font-head); }
.fe-admin .pa-legend { font-size: .8rem; }
.fe-admin .pa-kw { font-size: .72rem; }
.fe-admin .pa-dialog { font-family: var(--font-head); font-size: .92rem; }
.fe-admin .pa-dialog h2 { font-size: 1.15rem; }
.fe-admin .pa-linkbtn { font-weight: 600; }

@media (max-width: 640px) {
	.fe-form { padding: 18px 16px; }
	.project { padding: 18px 16px; }
	.portal-table th, .portal-table td { padding: 10px 12px; }
}

.portal-main { padding-block: clamp(24px, 4vw, 44px); }
.portal-hero .narrow { max-width: 880px; }
.portal .field.check label, .portal .field label { font-family: var(--font-head); }
.portal .field.check label { font-size: .9rem; font-weight: 400; }
.fe-form td p[style*="flex"], .fe-admin .form-table td p[style*="flex"] { flex-wrap: nowrap; }
.fe-form td p[style*="flex"] input[type="text"] { flex: 1; min-width: 0; width: auto; }

/* Booked appointments ("Ihre Termine"): the green counterpart of the site's yellow */
.appt-booked { background: #a9de86; border-color: #8fca69; color: var(--carbon); }
.appt-booked .muted { color: rgba(45,45,42,.78); }
.appt-booked .btn-ghost-dark:hover { background: rgba(255,255,255,.45); }

/* =====================================================================
   Team Kit, news band, orders
   ===================================================================== */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.news-card { display: grid; background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.news-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.news-media { display: block; background: #f4f3ee; aspect-ratio: 4 / 3; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-media-kit { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #fff; }
.news-media-kit img { object-fit: contain; padding: 8px; }
.news-body { display: grid; gap: 6px; padding: 16px 18px 20px; font-family: var(--font-head); }
.news-body strong { font-size: 1.1rem; line-height: 1.25; }
.news-body .muted { font-size: .92rem; line-height: 1.45; }
.tag { display: inline-block; width: max-content; font-family: var(--font-head); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; background: var(--yellow); color: var(--carbon); padding: .15em .7em; border-radius: 999px; }

.edition-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 1.6rem; }
.edition-switch a { font-family: var(--font-head); font-weight: 600; text-decoration: none; padding: .5em 1.3em; border: 2px solid var(--carbon); border-radius: 999px; }
.edition-switch a:hover { background: var(--grey); }
.edition-switch a[aria-current="page"] { background: var(--carbon); color: var(--white); }
.kit-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); margin-bottom: 2rem; }
.kit-card { background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; min-width: 0; }
.kit-img { background: #fff; padding: 18px 18px 6px; }
.kit-img img { width: 100%; height: auto; display: block; }
.kit-body { padding: 8px 22px 22px; font-family: var(--font-head); display: grid; gap: 4px; }
.kit-body h2 { font-size: 1.3rem; margin: 0; }
.kit-body h2 .muted { font-size: .85rem; font-weight: 500; margin-left: .4em; }
.kit-body p { margin: 0 0 .4em; font-size: .95rem; }
.kit-price { font-weight: 700; font-size: 1.15rem !important; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; margin: .6rem 0 .4rem; }
.size { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 8px 6px 10px; border-radius: 10px; border: 1px solid #e3e2db; background: #faf9f5; }
.size .sz { font-weight: 700; font-size: .95rem; }
.size .st { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; padding: .1em .6em; border-radius: 999px; }
.size.is-stock .st { background: #d7f0cf; color: #1d5c14; }
.size.is-preorder .st { background: #fdeeb0; color: #6b5200; }
.size.is-soldout { opacity: .55; }
.size.is-soldout .st { background: #e9e8e1; color: var(--muted); }
.size input[type="number"] { width: 100%; max-width: 64px; padding: .35em .3em; text-align: center; border: 2px solid #cfcec4; border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; }
.size input[type="number"]:focus { border-color: var(--carbon); outline: 3px solid var(--blue); outline-offset: 1px; }
.kit-lead { font-size: .85rem !important; }
.kit-contact { max-width: 860px; margin-inline: auto; }
.kit-maker { text-align: center; font-family: var(--font-head); font-size: .85rem; margin-top: 2rem; }

/* admin: stock grid in the article form, order detail */
.stock-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 10px; max-width: 520px; }
.stock-grid label { display: grid; gap: 4px; font-weight: 600; }
.stock-grid input { width: 100%; }
.order-box { background: var(--white); border: 1px solid #e3e2db; border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.order-meta { display: grid; gap: 4px 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 1rem; }
.order-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-top: .6em; }
.order-meta dd { margin: 0; }
.status { display: inline-block; padding: .2em .75em; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #eee; white-space: nowrap; }
.status-new { background: #fdeeb0; }
.status-confirmed { background: #dbeafe; color: #1e3a8a; }
.status-paid { background: #d7f0cf; color: #1d5c14; }
.status-shipped { background: var(--carbon); color: var(--white); }
.status-cancelled { background: #f3d4d4; color: #8f2324; }
.badge-count { display: inline-block; min-width: 1.5em; padding: 0 .45em; margin-left: .35em; border-radius: 999px; background: var(--yellow); color: var(--carbon); font-size: .75rem; font-weight: 700; text-align: center; }

/* Team Kit refinements */
.size-grid { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.size .st { font-size: .62rem; letter-spacing: .03em; white-space: nowrap; }
.news-media-kit { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; padding: 6px 0; }
.news-media-kit img { padding: 4px 16px; }

/* News band: compact horizontal cards, smaller pictures */
@media (min-width: 720px) {
	.news-card { grid-template-columns: minmax(150px, 38%) 1fr; align-items: center; }
	.news-card .news-media { aspect-ratio: auto; height: 100%; min-height: 170px; max-height: 230px; }
}
.news-media-kit { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0; padding: 8px 10px; align-content: center; }
.news-media-kit img { height: auto; max-height: 92px; width: auto; max-width: 100%; margin: 0 auto; padding: 2px 6px; object-fit: contain; }
@media (max-width: 719px) { .news-media-kit img { max-height: 110px; } }
.per-kit { font-size: .85rem; font-weight: 500; margin-left: .4em; }
.kit-img { display: grid; gap: 4px; }
.build-spec { font-family: var(--font-head); font-size: .82rem; color: var(--muted); margin: .3em 0 0; }
.build-spec span { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; margin-right: .5em; }
.specs { margin: 0 0 1rem; display: grid; gap: 4px; font-family: var(--font-head); }
.specs div { display: flex; gap: .8em; align-items: baseline; }
.specs dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.specs dd { margin: 0; font-weight: 600; }
.steps { margin: 0 0 1.2rem; padding-left: 1.3em; display: grid; gap: 6px; }
.inline-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* A kit (jersey + bib shorts): pictures on the left, order details on the right */
.kit-card.is-kit { grid-template-columns: 1fr; }
@media (min-width: 860px) {
	.kit-grid:has(.is-kit) { grid-template-columns: 1fr; }
	.kit-card.is-kit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
	.kit-card.is-kit .kit-img { padding: 22px; }
	.kit-card.is-kit .kit-body { padding: 24px 26px 26px 8px; align-content: start; }
}
.kit-card.is-kit .kit-img img { max-width: 520px; margin-inline: auto; }


/* ---------- Customer stories: polaroid wall ---------- */
.wall { list-style: none; margin: 0; padding: 10px 0 0; display: grid; gap: 34px 26px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.wall-item { margin: 0; }
.polaroid {
	position: relative; display: block; background: #fff; padding: 12px 12px 14px; text-decoration: none; color: var(--ink);
	box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 10px 24px -8px rgba(0,0,0,.28);
	transform: rotate(var(--tilt, 0deg)); transition: transform .25s ease, box-shadow .25s ease;
}
.polaroid::before {
	content: ""; position: absolute; top: -11px; left: 50%; width: 76px; height: 22px; margin-left: -38px;
	background: rgba(251,219,107,.78); transform: rotate(calc(var(--tilt, 0deg) * -1.6)); box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.polaroid:hover, .polaroid:focus-visible { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 20px 34px -10px rgba(0,0,0,.35); z-index: 2; }
.pol-photo { display: block; aspect-ratio: 1; overflow: hidden; background: var(--grey); }
.pol-photo img { width: 100%; height: 100%; object-fit: cover; }
.pol-cap { display: block; padding: 12px 4px 0; font-family: "Segoe Print", "Bradley Hand", "Noteworthy", "Chalkboard SE", ui-rounded, cursive; line-height: 1.3; }
.pol-cap strong { display: block; font-weight: 600; font-size: 1rem; }
.pol-cap em { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.pol-lang { position: absolute; right: 10px; bottom: 10px; font: 600 .66rem/1 var(--font-head); letter-spacing: .06em; color: var(--muted); }
.pol-lang-inline { position: static; display: inline-block; margin-left: .6em; padding: .25em .6em; border: 1px solid var(--grey); border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.wall-strip { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.story-strip { overflow: hidden; }
.story-scatter { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; margin: 6px 0 44px; }
.polaroid-photo { width: min(100%, 280px); padding-bottom: 12px; }
.polaroid-photo:first-child { width: min(100%, 380px); }
.page-hero .pol-lang-inline { color: inherit; border-color: rgba(255,255,255,.45); }
.story-paper {
	background: var(--grey-2); border-left: 4px solid var(--yellow); padding: 26px clamp(18px, 4vw, 40px) 8px; margin: 0 0 34px;
	border-radius: 4px; font-size: 1.1rem;
}
.story-sign { font-family: "Segoe Print", "Bradley Hand", "Noteworthy", ui-rounded, cursive; color: var(--muted); }
.story-invite { margin-top: 56px; padding: 28px clamp(18px, 4vw, 36px) 8px; background: var(--grey-2); border-radius: var(--radius); text-align: center; }
.story-invite p { max-width: 52ch; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .polaroid { transition: none; } .polaroid:hover, .polaroid:focus-visible { transform: rotate(var(--tilt, 0deg)); } }

/* portal: story tab */
.story-row { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--grey); }
.story-row > div { min-width: 0; }
.story-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.story-row .meta { margin: 0; }
.story-row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.story-row-actions form { margin: 0; }
.status-pill { display: inline-block; padding: .1em .65em; border-radius: 999px; font: 600 .75rem/1.6 var(--font-head); background: var(--grey); }
.status-pill.st-pending { background: var(--yellow); }
.status-pill.st-publish { background: #cfe9bf; }
.story-edit-photos { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.story-edit-photos label { display: grid; gap: 4px; font: .8rem var(--font-head); }
.story-edit-photos img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; }
.story-admin { padding: 16px 0 18px; border-bottom: 1px solid var(--grey); }
.story-admin h4 { margin: 0 0 4px; font-family: var(--font-head); font-size: 1.05rem; }
.story-admin-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.story-admin-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; }
.story-admin-text { max-width: 70ch; font-size: .95rem; }
.story-admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.story-admin-actions input[type="text"] { flex: 1 1 200px; min-width: 0; padding: .5em .7em; border: 2px solid var(--grey); border-radius: 8px; font: .9rem var(--font-head); }
@media (max-width: 560px) { .wall { gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .polaroid { padding: 8px 8px 10px; } .pol-cap { padding-top: 8px; } .pol-cap strong { font-size: .85rem; } .pol-cap em { font-size: .78rem; } .polaroid::before { width: 56px; margin-left: -28px; height: 16px; top: -8px; } }
.story-question { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.4; color: var(--carbon); }
/* Team Kit: owner overview */
.kit-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0 0 28px; padding: 18px clamp(16px, 3vw, 26px); background: var(--grey-2); border: 2px dashed #cfcec4; border-radius: var(--radius); }
.owner-title { flex: 1 0 100%; margin: 0; font: 700 .75rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.owner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; flex: 1 1 auto; }
.owner-chips li { display: flex; align-items: baseline; gap: .4em; padding: .45em .9em; background: var(--white); border: 1px solid #e3e2db; border-radius: 999px; font: 600 .85rem/1.2 var(--font-head); color: var(--muted); }
.owner-chips strong { font-size: 1.15rem; color: var(--carbon); }
.owner-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.owner-figs { display: grid; gap: 3px; width: 100%; margin: 6px 0 0; padding-top: 6px; border-top: 1px solid #e3e2db; font-family: var(--font-head); }
.owner-figs div { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; line-height: 1.3; }
.owner-figs dt { color: var(--muted); }
.owner-figs dd { margin: 0; font-weight: 700; color: var(--carbon); }
.owner-total { margin: .4rem 0 .6rem; padding: .55em .9em; background: var(--grey-2); border-radius: 8px; font: 600 .85rem/1.4 var(--font-head); color: var(--carbon); }
