@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/site/inter.woff2) format("woff2-variations"), url(/site/inter.woff2) format("woff2"); }
/*
 * Kumovue look and feel: Inter throughout (a Helvetica-style sans), micstral.com palette:
 * forest greens on warm paper, pill buttons. Dark mode follows the system unless the
 * user picks one with the toggle (stored on <html data-theme>).
 */
:root {
  color-scheme: light;
  --font-display: var(--font-inter, "Inter"), "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: var(--font-inter, "Inter"), "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mark-1: #173404; --mark-2: #639922; --mark-3: #97c459;   /* Kumovue mark, dark to light */

  --bg: #fbfcf8;          /* paper */
  --bg-2: #eff6e8;        /* paper-2 */
  --panel: #ffffff;       /* card */
  --header: rgba(251, 252, 248, 0.82);
  --text: #14290a;        /* ink */
  --text-soft: #3a4a2c;   /* ink-soft */
  --muted: #66755a;
  --line: #e3edd6;
  --field-border: #879a74;   /* form fields: 3:1 against white */
  --heading: #2a5c05;     /* forest */
  --accent: #2a5c05;
  --accent-hover: #173404;
  --accent-2: #4a7a18;    /* green */
  --accent-soft: #eff6e8;
  --on-accent: #ffffff;
  --bar: #7aab3a;         /* lime */
  --bar-track: #e3edd6;
  --row-hover: #f6faf1;
  --ok: #2a5c05;   --ok-soft: #e1efcf;
  --warn: #8a5a00; --warn-soft: #fbf0d9;
  --bad: #a8261b;  --bad-soft: #fbe6e3;
  --alert-bg: #a8261b; --alert-text: #fff7f5;
  --shadow: 0 1px 2px rgba(20, 41, 10, 0.04), 0 4px 16px rgba(20, 41, 10, 0.04);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --mark-1: #c0dd97;
    --bg: #0c1309;
    --bg-2: #121c0d;
    --panel: #151f10;
    --header: rgba(12, 19, 9, 0.82);
    --text: #e4edd8;
    --text-soft: #c3d1b3;
    --muted: #93a681;
    --line: #253420;
    --field-border: #56704a;
    --heading: #c0dd97;   /* mist */
    --accent: #97c459;    /* lime-soft */
    --accent-hover: #c0dd97;
    --accent-2: #97c459;
    --accent-soft: #1c2a14;
    --on-accent: #0c1309;
    --bar: #7aab3a;
    --bar-track: #223019;
    --row-hover: #1a2614;
    --ok: #a8d46a;   --ok-soft: #1f3013;
    --warn: #e6b866; --warn-soft: #302512;
    --bad: #f2948a;  --bad-soft: #351a18;
    --alert-bg: #8f2a20; --alert-text: #fff1ee;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --mark-1: #c0dd97;
  --bg: #0c1309;
  --bg-2: #121c0d;
  --panel: #151f10;
  --header: rgba(12, 19, 9, 0.82);
  --text: #e4edd8;
  --text-soft: #c3d1b3;
  --muted: #93a681;
  --line: #253420;
  --field-border: #56704a;
  --heading: #c0dd97;
  --accent: #97c459;
  --accent-hover: #c0dd97;
  --accent-2: #97c459;
  --accent-soft: #1c2a14;
  --on-accent: #0c1309;
  --bar: #7aab3a;
  --bar-track: #223019;
  --row-hover: #1a2614;
  --ok: #a8d46a;   --ok-soft: #1f3013;
  --warn: #e6b866; --warn-soft: #302512;
  --bad: #f2948a;  --bad-soft: #351a18;
  --alert-bg: #8f2a20; --alert-text: #fff1ee;
  --shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--heading); letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 16px 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
code, .mono { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12px; }
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2);
}

/* ---------- header, footer ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: var(--header); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; color: var(--heading); }
.brand-mark { width: 40px; height: 26px; flex: none; }
.tag {
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent-2); padding: 2px 8px; border-radius: 999px;
}
.usernav { display: flex; gap: 14px; align-items: center; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px); flex: 1; }
.footer {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 14px clamp(16px, 4vw, 40px); color: var(--muted); font-size: 12px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- theme toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-soft); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent-2); color: var(--accent); background: transparent; }

/* ---------- layout blocks ---------- */
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--heading); line-height: 1.15; overflow-wrap: anywhere; }
.stat .l { color: var(--muted); font-size: 12px; margin-top: 2px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 18px 0 22px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs a:hover { color: var(--accent); text-decoration: none; }
.tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 10px; }
.bulk { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bulk select { width: auto; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2);
  background: var(--bg-2); position: sticky; top: 0; z-index: 1;
}
tbody tr:hover td { background: var(--row-hover); }
tr.dim td { opacity: 0.55; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: 72vh; box-shadow: var(--shadow); }
.panel table th { background: transparent; position: static; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- badges, messages ---------- */
.badge {
  display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 9px; border-radius: 999px;
  background: var(--bg-2); color: var(--text-soft); border: 1px solid var(--line); white-space: nowrap;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.msg { padding: 11px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; border: 1px solid var(--line); }
.msg.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }

/* ---------- forms ---------- */
form.inline { display: inline; }
label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 8px 11px; border: 1px solid var(--field-border); border-radius: 8px;
  font: inherit; color: var(--text); background: var(--panel);
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--bar); outline-offset: 1px; border-color: var(--accent-2);
}
input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
textarea { min-height: 76px; }
/* The open dropdown list is drawn by the browser; give its options the theme's colours (dark mode on Windows). */
select option { background: var(--panel); color: var(--text); }
select option:checked { background: var(--accent-soft); color: var(--text); }
.field { margin-bottom: 12px; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 140px; }
details summary { cursor: pointer; margin: 6px 0; }

button, .button {
  display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; font-size: 13.5px;
  cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s;
}
button:hover, .button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); text-decoration: none; }
button.secondary, .button.secondary { background: transparent; color: var(--accent); border-color: var(--line); }
button.secondary:hover, .button.secondary:hover { border-color: var(--accent-2); color: var(--accent-hover); background: var(--accent-soft); }
button.link { background: none; border: none; color: var(--accent); padding: 0; font-size: 12px; font-weight: 500; border-radius: 0; }
button.link:hover { text-decoration: underline; background: none; color: var(--accent-hover); }
button.danger { background: transparent; color: var(--bad); border-color: var(--bad); }

/* ---------- bars ---------- */
.bar { height: 8px; background: var(--bar-track); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--bar)); border-radius: 999px; }
.bars td { border: none; padding: 5px 8px; background: transparent !important; }
.bars td:nth-child(2) { width: 50%; }

/* ---------- landing ---------- */
.hero { max-width: 680px; margin: 56px auto; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 14px 0 16px; }
.hero h1 em { font-style: italic; color: var(--accent-2); }
.hero p { color: var(--text-soft); font-size: 16px; }

/* ---------- dialogs ---------- */
.dialog {
  width: min(560px, calc(100vw - 32px)); padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--panel); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.dialog::backdrop { background: rgba(12, 19, 9, 0.45); backdrop-filter: blur(2px); }
.dialog h2 { margin-top: 4px; }
.dialog-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 14px 0 18px;
}
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
/* phase readiness warning (Mobilise / Migrate overview) */
.alert-bad { background: var(--alert-bg); color: var(--alert-text); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.alert-bad strong { color: inherit; }
.alert-bad h2 { color: inherit; font-size: 17px; margin: 0 0 4px; }
.alert-bad ul { margin: 6px 0 4px 18px; padding: 0; }
.alert-bad a, .alert-bad button.link { color: inherit; text-decoration: underline; font-size: inherit; font-weight: 600; }
.alert-bad button.link:hover { color: inherit; }
.nowrap { white-space: nowrap; }
.desc-cell { min-width: 160px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialog-wide { width: min(720px, calc(100vw - 32px)); }
.enrich-table td { vertical-align: middle; }

/* ---------- enrichment tile (Assess overview) ---------- */
.stat-wide { grid-column: span 2; }
@media (max-width: 640px) { .stat-wide { grid-column: auto; } }
.stat-click { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.stat-click:hover, .stat-click:focus-visible { border-color: var(--accent-2); outline: none; box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.enrich-head { display: flex; align-items: baseline; gap: 10px; }
.bar.bar-lg { height: 12px; margin-top: 8px; }
.link-text { color: var(--accent); font-weight: 500; white-space: nowrap; }
.stat-click:hover .link-text { text-decoration: underline; }
button.danger-solid { background: var(--bad); border-color: var(--bad); color: var(--bg); }
button.danger-solid:hover { filter: brightness(0.92); background: var(--bad); border-color: var(--bad); color: var(--bg); }
button:disabled, button:disabled:hover { opacity: 0.45; cursor: not-allowed; filter: none; }
button.link.danger-link { color: var(--bad); }

/* ---------- sign-up ---------- */
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.auth-card { max-width: 460px; margin: 40px auto; }
.auth-card h1 { font-size: 30px; margin: 8px 0 6px; }
.rules { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.rules li.ok { color: var(--ok); }
.field-error { color: var(--bad); font-size: 12px; margin-top: 5px; }
.field-ok { color: var(--ok); font-size: 12px; margin-top: 5px; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); cursor: pointer; }
input[aria-invalid="true"] { border-color: var(--bad); }

/* ---------- filter builder ---------- */
.filters .field { margin-bottom: 10px; }
.filter-row { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; flex-wrap: wrap; }
.filter-row select { width: auto; min-width: 190px; }
.filter-join { width: 44px; text-align: right; }
.icon-button {
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  width: 30px; height: 30px; padding: 0; font-size: 17px; line-height: 1; font-weight: 400;
}
.icon-button:hover { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.filter-actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }

/* ---------- CSV change import ---------- */
.steps { padding-left: 20px; margin: 0 0 8px; }
.steps li { margin-bottom: 8px; }
tr.warn-row td { background: var(--warn-soft); }

/* ---------- landing zone (Mobilise) ---------- */
.lz-summary { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.lz-big { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--heading); line-height: 1.1; }
.lz-areas td:first-child { width: 46%; }
.lz-areas td:last-child { white-space: nowrap; }
.lz-list { display: flex; flex-direction: column; }
.lz-row { display: grid; grid-template-columns: minmax(220px, 2.2fr) 150px minmax(110px, 1.1fr) 150px minmax(120px, 1.6fr) 72px; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.lz-row.lz-readonly { grid-template-columns: minmax(220px, 2.2fr) 150px minmax(110px, 1.1fr) 120px minmax(120px, 1.6fr); }
.lz-row.lz-head { border-top: none; padding: 0 0 4px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.lz-row input, .lz-row select { width: 100%; min-width: 0; }
.lz-row button { padding: 7px 14px; }
.lz-meta { margin-top: 2px; font-size: 11px; }
.lz-status.lz-done { border-color: var(--ok); }
.lz-status.lz-in-progress { border-color: var(--accent-2); }
.lz-status.lz-blocked { border-color: var(--bad); color: var(--bad); }
.lz-overdue { color: var(--bad); border-color: var(--bad) !important; }
.lz-tile .bar { margin-top: 8px; }
@media (max-width: 900px) {
  .lz-summary { grid-template-columns: 1fr; }
  .lz-row, .lz-row.lz-readonly { grid-template-columns: 1fr 1fr; }
  .lz-row .lz-item { grid-column: 1 / -1; }
  .lz-row.lz-head { display: none; }
}

/* ---------- TCO (Assess) ---------- */
.tco-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 6px; }
.tco-card .n { font-size: 28px; }
.tco-card .bar { margin-top: 8px; }
.tco-onprem .bar > span { background: var(--muted); }
.tco-per { font-size: 14px; color: var(--muted); margin-left: 2px; font-family: var(--font-body, inherit); }
.tco-table { width: 100%; }
.tco-table td, .tco-table th { padding: 6px 8px; }
.tco-total td { font-weight: 600; border-top: 2px solid var(--line); }
.tco-caveats { padding-left: 18px; margin: 0 0 10px; }
.tco-caveats li { margin-bottom: 4px; }
.tco-assumptions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tco-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px 4px; margin: 0; min-width: 0; }
.tco-group legend { padding: 0 6px; font-weight: 600; color: var(--heading); }
.tco-field input { max-width: 180px; }
.tco-field .muted.small { margin-top: 3px; }
.tco-tile .n { font-size: 26px; }

/* ---------- settings ---------- */
.settings-heading { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 0 6px; font-family: var(--font-body); }
.setting-row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.setting-name { display: inline; font-weight: 600; color: var(--heading); cursor: pointer; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; margin-top: 1px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: inherit; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background 0.15s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--panel); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.switch input:checked + .switch-track { background: var(--accent-2); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { box-shadow: 0 0 0 3px var(--accent-soft); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch-track { opacity: 0.55; }
.dev-note { background: var(--warn-soft); color: var(--warn); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.dev-note strong { color: inherit; }
.dev-note a { color: inherit; text-decoration: underline; }

/* ---------- landing page (signed out) ---------- */
.landing { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); padding-bottom: 40px; }
.landing h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 8px 0 14px; }
.landing h3 { font-size: 16px; margin: 0 0 6px; }
.landing p { color: var(--text-soft); font-size: 16px; line-height: 1.6; margin: 0 0 12px; }
.l-hero { max-width: 760px; margin: 40px auto 0; text-align: center; }
.l-hero h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; margin: 0 0 36px; }
.l-hero h1 em { font-style: normal; color: var(--accent-2); }
.l-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 auto 32px; }
.l-logo-mark { width: clamp(150px, 22vw, 220px); height: auto; }
.l-logo-name { font-size: clamp(36px, 5vw, 52px); font-weight: 600; letter-spacing: -0.03em; color: var(--heading); line-height: 1; }
.l-lead { font-size: 18px !important; max-width: 620px; margin: 0 auto 22px !important; }
.l-pills { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.l-pills li { font-size: 13px; color: var(--text-soft); border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 14px; }

.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.l-reverse .l-copy { order: 2; }
.l-reverse .l-visual { order: 1; }
.l-ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.l-ticks li { position: relative; padding-left: 28px; color: var(--text); }
.l-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.l-visual { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 300px; }
.l-files { display: flex; flex-direction: column; gap: 8px; }
.l-files span { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 11.5px; color: var(--muted); background: var(--panel); border: 1px dashed var(--field-border); border-radius: 8px; padding: 7px 10px; white-space: nowrap; }
.l-files span:nth-child(odd) { transform: rotate(-2deg); }
.l-files span:nth-child(even) { transform: rotate(1.5deg) translateX(10px); }
.l-arrow { font-size: 28px; color: var(--accent-2); }
.l-card, .l-tile, .l-waves { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px; min-width: 220px; }
.l-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.l-mini-mark { width: 30px; height: 20px; }
.l-card-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--text-soft); }
.l-card-row b { color: var(--heading); }

.l-tile { width: 100%; max-width: 420px; }
.l-tile-label { font-size: 13px; color: var(--muted); }
.l-tile-n { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--heading); margin: 2px 0 8px; }
.l-bar { height: 8px; background: var(--bar-track); border-radius: 999px; overflow: hidden; }
.l-bar.small { height: 6px; }
.l-bar span { display: block; height: 100%; background: var(--bar); border-radius: 999px; }
.l-breakdown { margin-top: 18px; display: grid; gap: 9px; }
.l-bd-row { display: grid; grid-template-columns: 130px 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-soft); }
.l-bd-row b { text-align: right; color: var(--text); font-weight: 600; }

.l-waves { width: 100%; max-width: 420px; display: grid; gap: 14px; }
.l-wave-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin-bottom: 7px; color: var(--text); }

.l-band { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 64px); }
.l-center { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.l-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.l-phase { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.l-phase-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.l-phase h3 { font-size: 20px; }
.l-phase-lead { font-size: 14.5px !important; }
.l-phase ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text); }

.l-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.l-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.l-box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.l-box p { font-size: 14.5px; margin: 0; }
.l-soon { border-style: dashed; border-color: var(--field-border); }
.l-soon .badge { margin-bottom: 10px; display: inline-block; }

.l-cta { text-align: center; max-width: 680px; margin: 0 auto; }
.l-cta-mark { width: 90px; height: auto; margin-bottom: 8px; }

@media (max-width: 900px) {
  .l-split, .l-phases, .l-grid3 { grid-template-columns: minmax(0, 1fr); }
  .l-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-reverse .l-copy, .l-reverse .l-visual { order: 0; }
  .l-visual { flex-direction: column; min-height: 0; }
  .l-arrow { transform: rotate(90deg); }
}
@media (max-width: 520px) {
  .l-grid4 { grid-template-columns: minmax(0, 1fr); }
  .l-bd-row { grid-template-columns: 100px 1fr 36px; }
}

/* ---------- team and admin ---------- */
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select { width: auto; min-width: 0; padding-top: 5px; padding-bottom: 5px; }
.inline-form button { padding: 5px 14px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
