/* Fonts: self-hosted variable fonts (OFL, see /fonts/LICENSE.txt). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/bricolage-grotesque-latin-ext-wght-normal.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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/bricolage-grotesque-latin-wght-normal.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: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(/fonts/instrument-sans-latin-ext-wght-normal.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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(/fonts/instrument-sans-latin-wght-normal.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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/fonts/jetbrains-mono-latin-ext-wght-normal.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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/fonts/jetbrains-mono-latin-wght-normal.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; }

/* ===== Tokens (dark by default). Same system as kronbot.xyz, hi-vis amber accent. ===== */
:root {
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --bg: #262624;
  --bg-2: #2b2a27;
  --surface: #30302e;
  --surface-2: #3a3936;
  --border: #44433e;
  --text: #faf9f5;
  --muted: #a6a39a;
  --faint: #75736c;
  --accent: #f0a63a;
  --accent-ink: #1f1e1d;
  --accent-soft: rgb(240 166 58 / 15%);
  --info: #6fa8f5;
  --info-soft: rgb(111 168 245 / 14%);
  --ok: #4cc488;
  --ok-soft: rgb(76 196 136 / 14%);
  --danger: #ff7a62;
  --danger-soft: rgb(255 122 98 / 14%);
  --shadow-sm: 0 1px 0 rgb(0 0 0 / 25%), 0 8px 20px -14px rgb(0 0 0 / 60%);
  --shadow-md: 0 1px 0 rgb(0 0 0 / 30%), 0 24px 48px -24px rgb(0 0 0 / 70%);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f5f4ed;
  --bg-2: #f0eee6;
  --surface: #faf9f5;
  --surface-2: #edebe3;
  --border: #dedcd1;
  --text: #141413;
  --muted: #6b6a64;
  --faint: #9c9a92;
  --accent: #b86e0b;
  --accent-ink: #ffffff;
  --accent-soft: rgb(184 110 11 / 12%);
  --info: #2a62b8;
  --info-soft: rgb(42 98 184 / 10%);
  --ok: #1f8a55;
  --ok-soft: rgb(31 138 85 / 12%);
  --danger: #b4321c;
  --danger-soft: rgb(180 50 28 / 10%);
  --shadow-sm: 0 1px 0 rgb(27 25 22 / 4%), 0 8px 20px -16px rgb(27 25 22 / 25%);
  --shadow-md: 0 1px 0 rgb(27 25 22 / 4%), 0 24px 48px -28px rgb(27 25 22 / 30%);
  color-scheme: light;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: 'kern', 'liga', 'calt';
}
/* Soft amber glow behind the top of every page */
body::before {
  content: ''; position: fixed; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 0%, var(--accent-soft), transparent 70%);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 800; margin: .1em 0 .35em; }
h2 { font-size: 1.35rem; margin: 1.8em 0 .7em; }
h3 { font-size: 1.08rem; }
a { color: var(--accent); }
.mono, code { font-family: var(--font-mono); font-size: .9em; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Language: every bilingual text exists twice, the inactive one is hidden. */
html[lang^="fr"] [data-lang="en"], html[lang^="en"] [data-lang="fr"] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 620px; padding-top: 40px; padding-bottom: 56px; }

/* ===== Dev strip ===== */
.devbar {
  position: relative; z-index: 30; text-align: center;
  font: 600 .78rem/1.4 var(--font-mono); letter-spacing: .02em;
  padding: 7px var(--gutter); color: var(--accent-ink);
  background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, color-mix(in srgb, var(--accent) 82%, black) 14px 28px);
}
.devbar strong { background: var(--accent-ink); color: var(--accent); padding: 1px 6px; border-radius: 4px; margin-right: 6px; }

/* ===== Floating top bar ===== */
.top {
  position: sticky; top: 10px; z-index: 20;
  margin: 10px auto 0; width: min(1180px, calc(100% - 2 * var(--gutter)));
  border: 1px solid var(--border); border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-md);
}
.top .wrap { max-width: none; padding: 6px 10px 6px 14px; display: flex; align-items: center; gap: 8px; min-height: 56px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; margin-right: 10px;
  font: 800 1.2rem var(--font-display); letter-spacing: -0.04em; color: var(--text); text-decoration: none;
}
.brand img { width: 26px; height: 26px; }
.brand b { color: var(--accent); font-weight: inherit; }
.spacer { flex: 1; }
.toggles { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.chip {
  height: 34px; min-width: 34px; padding: 0 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  font: 600 .82rem var(--font-body);
}
.chip:hover { background: var(--surface); color: var(--text); }
.chip[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }

/* ===== Buttons and forms ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 11px; border: 1px solid var(--border);
  background: transparent; color: var(--text); font: 650 .95rem var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--spring), background .15s ease, border-color .15s ease, box-shadow .2s ease;
}
.btn:hover:not([disabled]) { transform: translateY(-1px); background: var(--surface); border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / 14%) inset, 0 6px 16px -8px var(--accent); }
.btn.primary:hover:not([disabled]) { background: color-mix(in srgb, var(--accent) 86%, white); border-color: transparent; }
.btn.go { background: var(--ok); border-color: var(--ok); color: #0e1f16; }
.btn.danger { color: var(--danger); }
.btn.small { height: 34px; padding: 0 12px; font-size: .86rem; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 1.05rem; border-radius: 13px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label { display: block; font-size: .86rem; font-weight: 550; color: var(--muted); margin-bottom: 12px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 400; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 11px;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 84px; resize: vertical; }
input[type="checkbox"] { display: inline; width: auto; margin: 0 8px 0 0; accent-color: var(--accent); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.error { color: var(--danger); min-height: 1.4em; margin: 8px 0 0; font-size: .9rem; }
.ok { color: var(--ok); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 500 .76rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .86rem;
}
.badge-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ===== Landing ===== */
.hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 18px auto 0; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 18px auto 0; max-width: 54ch; font-size: 1.08rem; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.proof { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: center; margin-top: 22px; font-size: .9rem; color: var(--faint); }
.proof strong { color: var(--text); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin: 24px 0 8px; }
.features .card { transition: transform .35s var(--spring), box-shadow .25s ease, border-color .2s ease; }
.features .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.features h3 { margin: 12px 0 6px; }
.features p { margin: 0; color: var(--muted); font-size: .94rem; }
.f-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.f-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 64px 0 8px; }
.sample {
  font: .84rem/1.6 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0;
  background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text);
}
.phone { max-width: 420px; margin: 16px auto 0; }
.foot { border-top: 1px solid var(--border); margin-top: 72px; padding: 24px 0 36px; color: var(--muted); font-size: .88rem; }
.foot .wrap { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.legal h2 { color: var(--accent); font-size: 1.15rem; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }

/* ===== App ===== */
.tabs { display: flex; gap: 2px; flex-wrap: wrap; }
.tabs a { position: relative; padding: 7px 11px; border-radius: 9px; color: var(--muted); text-decoration: none; font-weight: 550; font-size: .93rem; }
.tabs a:hover { color: var(--text); background: var(--surface-2); }
.tabs a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--spring); }
.tabs a:hover::after, .tabs a[aria-current="page"]::after { transform: scaleX(1); }
.tabs a[aria-current="page"] { color: var(--text); }
.banner { margin: 18px 0 0; padding: 11px 15px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); font-size: .93rem; }
.banner.warn { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); background: var(--accent-soft); }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 24px 0 12px; }
.toolbar h1 { margin: 0; font-size: 1.8rem; }
.toolbar label { margin: 0; }
.toolbar input { margin: 0; height: 42px; }
.toolbar .spacer { flex: 1; }
.day-title { font: 700 1.5rem var(--font-display); letter-spacing: -0.02em; margin: 4px 0 14px; text-transform: capitalize; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font: 600 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); background: var(--bg-2); white-space: nowrap; }
tbody tr:hover td { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
tr:last-child td { border-bottom: 0; }
td.unit { font: 700 .88rem var(--font-mono); color: var(--accent); white-space: nowrap; }
td a { color: var(--text); text-decoration-color: var(--faint); text-underline-offset: 3px; }
td a:hover { color: var(--accent); }
td .sub { display: block; color: var(--muted); font-size: .82rem; }
td.actions { white-space: nowrap; text-align: right; }
tr.is-cancelled td { text-decoration: line-through; color: var(--faint); }
tr.is-working td:first-child { box-shadow: inset 3px 0 0 var(--ok); }
tr.is-complete td:first-child { box-shadow: inset 3px 0 0 var(--info); }
.pill { display: inline-block; font: 600 .68rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.working, .pill.held { background: var(--ok-soft); color: var(--ok); }
.pill.complete { background: var(--info-soft); color: var(--info); }
.pill.cancelled, .pill.no_recipient, .pill.os { background: var(--danger-soft); color: var(--danger); }
.empty { padding: 32px; text-align: center; color: var(--muted); }
dialog { width: min(720px, calc(100vw - 32px)); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-md); }
dialog::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(3px); }
dialog h2 { margin-top: 0; }
.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.dialog-actions .btn.danger { margin-right: auto; }
.outbox-msg { margin: 0 0 12px; }
.outbox-msg header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; font-size: .88rem; }
.settings { max-width: 540px; }
.price { font: 800 3rem var(--font-display); letter-spacing: -0.03em; margin: 4px 0; }
.price small { font: 500 1rem var(--font-body); color: var(--muted); letter-spacing: 0; }

/* ===== Crew page ===== */
.crew h2 { color: var(--accent); text-transform: capitalize; margin-top: 1.4em; }
.crew-job { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.crew-job p { margin: 4px 0; }
.crew-job.is-complete { border-left-color: var(--info); opacity: .75; }
.crew-job.is-working { border-left-color: var(--ok); }
.crew-head { font-family: var(--font-mono); font-size: .92rem; }
.crew-customer { font: 700 1.15rem var(--font-display); letter-spacing: -0.02em; }
.crew-desc { white-space: pre-wrap; color: var(--muted); }
.crew-job p a { color: var(--accent); }
.crew-job .btn:not(.primary) { color: var(--text); }

/* ===== Brand kit ===== */
.kit-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.kit-swatch { text-align: left; padding: 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; display: grid; gap: 4px; }
.kit-swatch span { display: block; height: 64px; border-radius: 9px; border: 1px solid rgb(0 0 0 / 15%); margin-bottom: 6px; }
.kit-swatch small { color: var(--muted); font-size: .8rem; }
.kit-type { display: grid; gap: 20px; }
.kit-type p { margin: 4px 0 0; }
.kit-display { font: 800 clamp(2rem, 5vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -0.035em; }
.kit-note { margin: 0 0 14px; }
.kit-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.kit-icon { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; font: inherit; }
.kit-icon:hover { border-color: var(--accent); }
.kit-icon canvas { width: 56px; height: 56px; }
.kit-icon code { font-size: .7rem; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.kit-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--spring), box-shadow .25s ease, border-color .2s ease; }
.kit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.kit-canvas { display: grid; place-items: center; padding: 14px; aspect-ratio: 16 / 9; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 18px 18px; }
.kit-canvas canvas { max-width: 100%; max-height: 100%; border-radius: 6px; }
.kit-canvas.square canvas { max-height: 160px; }
.kit-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.kit-meta .hint { color: var(--muted); font-size: .8rem; }
.kit-meta .btns { display: flex; gap: 6px; }

@media (max-width: 720px) {
  .top { top: 6px; }
  .toolbar .spacer { display: none; }
  .kit-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== Crew page: big targets, big text ===== */
.crew { font-size: 17px; }
.crew-main { max-width: 720px; padding-top: 28px; padding-bottom: 48px; }
.crew-company { color: var(--text); }
.crew-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 20px 0 24px; }
.crew-name { height: 64px; font-size: 1.1rem; background: var(--surface); justify-content: flex-start; }
.crew-name:hover:not([disabled]) { border-color: var(--accent); }
.crew-all { width: 100%; }
.crew-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.crew-hello h1 { margin: 0; }
.crew-days { display: flex; gap: 6px; overflow-x: auto; padding: 16px 0 4px; }
.crew-days .chip { height: 40px; padding: 0 14px; font-size: .95rem; white-space: nowrap; text-transform: capitalize; }
.crew-job .pill { margin-left: 8px; vertical-align: 2px; }
.crew-job.is-cancelled { border-left-color: var(--danger); opacity: .7; }
.crew-job.is-cancelled .crew-customer { text-decoration: line-through; }
.crew-who { font: 700 .95rem var(--font-body); color: var(--accent); }
.crew-address { font-size: 1.05rem; }
.crew-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.crew-actions .btn { flex: 1 1 180px; }
.crew-updated { margin-top: 28px; font-size: .85rem; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.share-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share-box input { flex: 1 1 280px; margin: 0; font-family: var(--font-mono); font-size: .88rem; }
.industries { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 550; font-size: .92rem; }
.kit-head { padding-top: 40px; }
.share-card { margin-top: 28px; }
.share-card .muted { margin: 0 0 12px; }
td a.sub, td.mono .sub { white-space: nowrap; }

/* Brand kit page: compact, like kronbot.xyz/kit */
.kit-page h1 { font-size: clamp(1.9rem, 3.6vw, 2.4rem); margin-bottom: .2em; }
.kit-page .section-title { font-size: 1.15rem; margin: 40px 0 12px; }
.kit-page .kit-note { font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.kit-page .kit-type { padding: 24px; }
.kit-icon span { font-size: .78rem; font-weight: 600; color: var(--text); text-align: center; line-height: 1.2; }
.kit-icon code { color: var(--faint); }
