/* ==========================================================================
   KIN PARTNERS, VERSION 2 LAYER.  Premium working surfaces. Product neutral.
   A dark Kin shell (k2-app, k2-head) over a warm paper sheet (k2-sheet).
   Every k2-* component reads the semantic aliases (--bg, --fg, --rule, --st-*)
   declared in styles.css, so one class renders on the dark shell, on the paper
   sheet and inside a dark island without variants. Defines no tokens.
   Text floor 12px. The v1 k-* layer is untouched and remains approved.
   ========================================================================== */

/* --- 1. TYPE ROLES (12px floor) ------------------------------------------ */
.k2-h1 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.03em; margin: 0; color: var(--fg); }
.k2-h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--fg); }
.k2-h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.35; margin: 0; color: var(--fg); }
.k2-body { font-size: 14.5px; line-height: 1.55; margin: 0; color: var(--fg); }
.k2-lede { font-size: 14.5px; line-height: 1.5; margin: 6px 0 0; color: var(--fg-mute); max-width: 64ch; }
.k2-small { font-size: 12.5px; line-height: 1.45; margin: 0; color: var(--fg-mute); }
.k2-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin: 0; }
.k2-mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.k2-num { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.k2-link { color: var(--accent-ink); font-weight: 600; box-shadow: inset 0 -1px 0 color-mix(in oklab, var(--accent-ink) 40%, transparent); }
.k2-link:hover { color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); }

/* --- 2. SHELL: dark frame, glass header, paper sheet --------------------- */
.k2-app { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); background: var(--carbon); color: var(--sand); position: relative; }
.k2-app--client::before { content: ""; position: fixed; inset: 0 0 auto; height: 2px; background: var(--client); z-index: 70; }
.k2-head { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: var(--s6); height: 64px; padding: 0 24px; min-width: 0; background: var(--glass-dark); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-bottom: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--bevel); }
.k2-brand { display: flex; align-items: center; gap: 12px; flex: none; height: 100%; color: var(--sand); }
.k2-brand .k-voice { height: 22px; }
.k2-brand .k-voice > i { background: var(--sand); }
.k2-brand .k2-kai { margin-right: 4px; }
.k2-wm { display: flex; align-items: baseline; gap: 10px; }
.k2-wm b { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; letter-spacing: -0.03em; color: var(--sand); }
.k2-wm span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); }
.k2-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; height: 100%; overflow-x: auto; scrollbar-width: none; }
.k2-nav::-webkit-scrollbar { display: none; }
.k2-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--sage); white-space: nowrap; transition: color var(--d-ui) var(--e-out); }
.k2-nav a:hover { color: var(--sand); }
.k2-nav a[aria-current="page"] { color: var(--sand); }
.k2-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--olive-lift); }
.k2-nav .k2-count { background: rgba(255, 255, 255, 0.08); color: var(--sand); }
.k2-nav a[aria-current="page"] .k2-count { background: var(--olive-lift); color: #14170F; font-weight: 700; }
.k2-head-r { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
@media (max-width: 1280px) { .k2-client span { display: none; } }
@media (max-width: 1100px) { .k2-user span { display: none; } }
.k2-client { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--sand); font-size: 13px; font-weight: 600; white-space: nowrap; }
.k2-client i { width: 8px; height: 8px; border-radius: 50%; background: var(--client); flex: none; }
.k2-client span { color: var(--sage); font-weight: 400; }
.k2-iconbtn { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--sage); cursor: pointer; transition: all var(--d-ui) var(--e-out); }
.k2-iconbtn:hover { color: var(--sand); background: var(--hover); border-color: var(--line); }
.k2-iconbtn b { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--olive-lift); color: #14170F; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.k2-user { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--sand); font-size: 13px; font-weight: 600; }
.k2-user span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); font-weight: 400; }
.k2-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--sand); flex: none; }
.k2-sheet { position: relative; margin: 10px 12px 12px; border-radius: 18px; background: var(--paper-desk); box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12), 0 -30px 70px -30px rgba(0, 0, 0, 0.9), 0 24px 60px -30px rgba(0, 0, 0, 0.8); min-height: calc(100vh - 146px); }
.k2-main { max-width: 1400px; width: 100%; margin: 0 auto; padding: 24px 28px 110px; display: grid; gap: 20px; align-content: start; }
.k2-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.k2-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 16px 28px 18px; background: var(--carbon); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--sage); }
.k2-foot-credit { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.k2-foot-links { display: flex; gap: 20px; }
.k2-foot a { color: var(--sage); transition: color var(--d-ui) var(--e-out); }
.k2-foot a:hover { color: var(--sand); }
.k2-sheet .k-voice > i, .k2-paper .k-voice > i { background: var(--fg-mute); }
.k2-fixture { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border: 1px dashed color-mix(in oklab, var(--warn-ink) 45%, transparent); border-radius: 8px; font-size: 12.5px; color: var(--fg-mute); }
.k2-fixture b { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warn-ink); font-weight: 400; flex: none; }

/* --- 3. SURFACES: paper panels, wells, glass, dark islands, stage -------- */
.k2-panel { position: relative; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 14px; box-shadow: inset 0 1px 0 var(--sheen), var(--lift-2); color: var(--fg); }
.k2-panel--flush { overflow: hidden; }
.k2-panel-pad { padding: 22px 24px; }
.k2-ph { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.k2-ph h2, .k2-ph h3 { font-family: var(--font-body); font-weight: 600; font-size: 15.5px; margin: 0; }
.k2-well { background: var(--bg-well); border: 1px solid var(--rule); border-radius: 10px; }
.k2-glass { background: var(--glass); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-line); }
.k2-island { position: relative; overflow: hidden; background: linear-gradient(180deg, #1D1F23, var(--ink) 55%, #141619); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: inset 0 1px 0 var(--bevel), var(--paper-lift-hi); color: var(--sand); }
.k2-island::before { content: ""; position: absolute; inset: 0; background: var(--light-olive); pointer-events: none; }
.k2-island > * { position: relative; }
.k2-stage { position: relative; overflow: hidden; background: var(--void); }
.k2-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 100%); pointer-events: none; }
.k2-stage::after { content: ""; position: absolute; inset: 0; background: var(--light-olive), var(--light-sand); pointer-events: none; }
.k2-stage > * { position: relative; z-index: 1; }
.k2-hr { height: 1px; border: 0; margin: 0; background: var(--rule); }
.k2-sec { display: grid; gap: 10px; }
.k2-sec-h { display: flex; align-items: center; gap: 12px; }
.k2-sec-h::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.k2-kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.k2-kv dt { color: var(--fg-mute); }
.k2-kv dd { margin: 0; color: var(--fg); }

/* --- 4. BUTTONS ---------------------------------------------------------- */
.k2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--rule-strong); background: var(--bg-raised); color: var(--fg); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; box-shadow: inset 0 1px 0 var(--sheen), 0 1px 2px rgba(20, 23, 15, 0.06); transition: background var(--d-ui) var(--e-out), border-color var(--d-ui) var(--e-out), transform var(--d-tap) var(--e-out), box-shadow var(--d-ui) var(--e-out); }
.k2-btn:hover { border-color: var(--fg-mute); background: color-mix(in oklab, var(--bg-raised) 94%, var(--fg)); }
.k2-btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 var(--sheen); }
.k2-btn svg { flex: none; }
.k2-btn--primary { background: var(--olive-lift); border-color: color-mix(in oklab, var(--olive-lift) 78%, #14170F); color: #14170F; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 20px -12px rgba(95, 109, 76, 0.8); }
.k2-btn--primary:hover { background: color-mix(in oklab, var(--olive-lift) 88%, var(--sand)); border-color: color-mix(in oklab, var(--olive-lift) 70%, #14170F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 14px 28px -12px rgba(95, 109, 76, 0.95); }
.k2-btn--ghost { background: transparent; box-shadow: none; }
.k2-btn--ghost:hover { background: var(--bg-hover); }
.k2-btn--quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--fg-mute); }
.k2-btn--quiet:hover { color: var(--fg); background: var(--bg-hover); border-color: transparent; }
.k2-btn--danger { background: transparent; box-shadow: none; color: var(--fail-ink); border-color: color-mix(in oklab, var(--fail-ink) 45%, transparent); }
.k2-btn--danger:hover { background: var(--st-overdue-bg); border-color: var(--fail-ink); }
.k2-btn--icon { width: 38px; padding: 0; }
.k2-btn--sm { min-height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.k2-btn--sm.k2-btn--icon { width: 32px; }
.k2-btn--lg { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.k2-btn[disabled], .k2-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.k2-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.k2-why { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fg-mute); max-width: 36ch; }

/* --- 5. FIELDS ----------------------------------------------------------- */
.k2-field { display: grid; gap: 7px; }
.k2-field > label { font-size: 13px; font-weight: 600; color: var(--fg); }
.k2-input, .k2-select, .k2-textarea { width: 100%; min-height: 40px; padding: 9px 12px; background: var(--bg-panel); border: 1px solid var(--rule-strong); border-radius: 9px; color: var(--fg); font-family: var(--font-body); font-size: 14px; box-shadow: inset 0 1px 2px rgba(20, 23, 15, 0.06); transition: border-color var(--d-ui) var(--e-out), box-shadow var(--d-ui) var(--e-out); }
.k2-textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.k2-input::placeholder, .k2-textarea::placeholder { color: var(--fg-faint); }
.k2-input:hover, .k2-select:hover, .k2-textarea:hover { border-color: var(--fg-mute); }
.k2-input:focus, .k2-select:focus, .k2-textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: inset 0 1px 2px rgba(20, 23, 15, 0.04), 0 0 0 3px color-mix(in oklab, var(--ring) 28%, transparent); }
.k2-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-mute) 50%), linear-gradient(135deg, var(--fg-mute) 50%, transparent 50%); background-position: right 17px center, right 11px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.k2-input[aria-invalid="true"], .k2-textarea[aria-invalid="true"] { border-color: var(--st-overdue); box-shadow: 0 0 0 3px var(--st-overdue-bg); }
.k2-input[disabled], .k2-select[disabled], .k2-textarea[disabled] { opacity: 0.5; cursor: not-allowed; }
.k2-help { font-size: 12.5px; color: var(--fg-mute); }
.k2-err { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fail-ink); }
.k2-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; color: var(--fg); }
.k2-check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--rule-strong); border-radius: 5px; background: var(--bg-panel); position: relative; cursor: pointer; box-shadow: inset 0 1px 2px rgba(20, 23, 15, 0.06); transition: all var(--d-tap) var(--e-out); }
.k2-check input:checked { background: var(--olive-lift); border-color: color-mix(in oklab, var(--olive-lift) 70%, #14170F); }
.k2-check input:checked::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: 2px solid #14170F; border-top: 0; border-left: 0; transform: rotate(42deg); }
.k2-switch { appearance: none; flex: none; width: 40px; height: 22px; margin: 0; border-radius: 999px; background: var(--bg-well); border: 1px solid var(--rule-strong); position: relative; cursor: pointer; transition: background var(--d-ui) var(--e-out); }
.k2-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg-mute); transition: transform var(--d-ui) var(--e-out), background var(--d-ui) var(--e-out); }
.k2-switch:checked { background: var(--olive); border-color: var(--olive); }
.k2-switch:checked::after { transform: translateX(18px); background: var(--sand); }

/* --- 6. STATUS PALETTE: eight states, a word plus a mark ----------------- */
.k2-st { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px 0 9px; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; color: var(--fg-mute); font-family: var(--font-body); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; }
.k2-st i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.k2-st svg { flex: none; width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.k2-st .m { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.k2-st--sm { height: 22px; padding: 0 8px 0 7px; font-size: 12px; gap: 6px; }
.k2-st--prospect { color: var(--st-prospect); }
.k2-st--prospect i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.k2-st--interested { color: var(--st-interested-ink); background: color-mix(in oklab, var(--st-interested) 12%, transparent); border-color: color-mix(in oklab, var(--st-interested) 55%, transparent); }
.k2-st--interested i { background: var(--st-interested); }
.k2-st--approved { color: var(--st-approved-ink); background: var(--st-approved-bg); border-color: color-mix(in oklab, var(--st-approved) 45%, transparent); }
.k2-st--approved i { background: var(--st-approved); }
.k2-st--booked { background: var(--st-booked-bg); color: var(--st-booked-fg); border-color: var(--st-booked-bg); padding-left: 10px; }
.k2-st--booked i { display: none; }
.k2-st--quiet { color: var(--st-quiet); border-style: dashed; }
.k2-st--quiet i { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.k2-st--call, .k2-st--email { color: var(--st-channel); background: var(--st-channel-bg); border-color: var(--rule); }
.k2-st--call i, .k2-st--email i { display: none; }
.k2-st--overdue { color: var(--st-overdue-ink); background: var(--st-overdue-bg); border-color: color-mix(in oklab, var(--st-overdue) 55%, transparent); }
.k2-st--overdue i { background: var(--st-overdue); }
.k2-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fg-mute); flex: none; }
.k2-dot--live { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--signal) 22%, transparent); animation: k-breathe var(--d-live) var(--e-in-out) infinite; }
.k2-dot--prospect { background: transparent; box-shadow: inset 0 0 0 1.5px var(--st-prospect); }
.k2-dot--interested { background: var(--st-interested); }
.k2-dot--approved { background: var(--st-approved); }
.k2-dot--booked { background: var(--st-booked-bg); }
.k2-dot--quiet { background: transparent; box-shadow: inset 0 0 0 1.5px var(--st-quiet); }
.k2-dot--overdue { background: var(--st-overdue); }

/* --- 7. FILTERS, CHIPS, TABS, SEGMENTED, COUNTS -------------------------- */
.k2-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
.k2-search { position: relative; flex: 1; min-width: 220px; }
.k2-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--fg-faint); pointer-events: none; }
.k2-search .k2-input { padding-left: 36px; }
.k2-chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-strong); background: transparent; color: var(--fg); font-family: var(--font-body); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all var(--d-ui) var(--e-out); }
.k2-chip:hover { background: var(--bg-hover); }
.k2-chip[aria-pressed="true"] { background: var(--accent-wash); border-color: var(--olive); color: var(--accent-ink); }
.k2-chip .k2-count { height: 18px; min-width: 18px; }
.k2-result { margin-left: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-mute); white-space: nowrap; }
.k2-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg-fill); font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--fg-mute); }
.k2-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); }
.k2-tabs > button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--fg-mute); font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; transition: color var(--d-ui) var(--e-out); }
.k2-tabs > button:hover { color: var(--fg); }
.k2-tabs > button[aria-selected="true"] { color: var(--fg); }
.k2-tabs > button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--olive-lift); }
.k2-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-well); border: 1px solid var(--rule); border-radius: 999px; }
.k2-seg > button { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--fg-mute); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--d-ui) var(--e-out); }
.k2-seg > button:hover { color: var(--fg); }
.k2-seg > button[aria-selected="true"] { background: var(--bg-panel); color: var(--fg); box-shadow: inset 0 1px 0 var(--sheen), 0 1px 3px rgba(20, 23, 15, 0.14); }

/* --- 8. TABLE ------------------------------------------------------------ */
.k2-table-wrap { overflow: auto; }
.k2-table-wrap--scrolling .k2-td-act { box-shadow: -12px 0 12px -12px rgba(20, 23, 15, 0.22); }
.k2-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: var(--fg); }
.k2-table th { position: sticky; top: 0; z-index: 2; text-align: left; padding: 11px 16px; background: var(--bg-well); border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-weight: 400; font-size: 12px; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); white-space: nowrap; }
.k2-table th[aria-sort] { color: var(--fg); cursor: pointer; }
.k2-table th[aria-sort="ascending"]::after { content: " \2191"; }
.k2-table th[aria-sort="descending"]::after { content: " \2193"; }
.k2-table td { padding: 13px 16px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.k2-table tbody tr:last-child td { border-bottom: 0; }
.k2-table tbody tr { transition: background var(--d-ui) var(--e-out); }
.k2-table tbody tr:hover { background: var(--bg-hover); }
.k2-table tbody tr[aria-selected="true"] { background: var(--bg-fill); box-shadow: inset 2px 0 0 var(--olive); }
.k2-table--dense th { padding: 8px 14px; }
.k2-table--dense td { padding: 8px 14px; }
.k2-td-act { position: sticky; right: 0; text-align: right; white-space: nowrap; background: var(--bg-panel); }
.k2-table tbody tr:hover .k2-td-act { background: color-mix(in oklab, var(--bg-panel) 96%, var(--fg)); }
.k2-table tbody tr[aria-selected="true"] .k2-td-act { background: color-mix(in oklab, var(--bg-panel) 95%, var(--fg)); }
.k2-table th.k2-td-act { background: var(--bg-well); }
.k2-td-act .k2-btn-row { justify-content: flex-end; flex-wrap: nowrap; gap: 8px; }
.k2-tr-link { cursor: pointer; }
.k2-tr-link:hover { background: color-mix(in oklab, var(--olive-lift) 8%, var(--bg-panel)) !important; }
.k2-tr-link:hover .k2-td-act { background: color-mix(in oklab, var(--olive-lift) 8%, var(--bg-panel)); }
.k2-open { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--rule); background: var(--bg-panel); color: var(--fg-mute); box-shadow: inset 0 1px 0 var(--sheen); transition: all var(--d-ui) var(--e-out); }
.k2-open svg { transition: transform var(--d-ui) var(--e-out); }
.k2-tr-link:hover .k2-open, .k2-open:hover { color: var(--accent-ink); border-color: var(--olive); background: var(--accent-wash); }
.k2-tr-link:hover .k2-open svg { transform: translateX(2px); }
.k2-cell { display: grid; gap: 3px; min-width: 0; }
.k2-cell b { font-weight: 600; font-size: 14px; }
.k2-cell span { font-size: 12.5px; color: var(--fg-mute); }
.k2-cell .k2-row { gap: 8px; flex-wrap: wrap; }
.k2-table .k2-row { flex-wrap: wrap; row-gap: 6px; }
.k2-page { display: flex; align-items: center; gap: 6px; }
.k2-page > button { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--rule); background: transparent; color: var(--fg-mute); font-family: var(--font-mono); font-size: 12.5px; cursor: pointer; }
.k2-page > button[aria-current="page"] { color: var(--fg); border-color: var(--rule-strong); background: var(--bg-well); }

/* --- 9. METRICS ---------------------------------------------------------- */
.k2-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); overflow: hidden; }
.k2-metric { display: grid; gap: 6px; padding: 18px 22px; border-right: 1px solid var(--rule); box-shadow: inset 0 3px 0 var(--tone, transparent); }
.k2-metric:last-child { border-right: 0; }
.k2-metric span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.k2-metric b { font-family: var(--font-mono); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--fg); }
.k2-metric small { font-size: 12.5px; color: var(--fg-mute); }

/* --- 10. SIDE PANEL, DRAWER, DIALOG, SCRIM ------------------------------- */
.k2-scrim { position: absolute; inset: 0; background: rgba(15, 16, 18, 0.5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.k2-side { display: flex; flex-direction: column; width: min(520px, 100%); min-height: 0; background: var(--bg-panel); border-left: 1px solid var(--rule); box-shadow: var(--lift-3); color: var(--fg); }
.k2-side-h { position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px 14px; background: var(--glass); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-bottom: 1px solid var(--rule); }
.k2-side-b { padding: 20px 22px; display: grid; gap: 20px; align-content: start; flex: 1; overflow: auto; }
.k2-side-f { position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px; background: var(--glass); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-top: 1px solid var(--rule); }
.k2-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 94vw); display: flex; flex-direction: column; background: var(--bg-panel); border-left: 1px solid var(--rule-strong); box-shadow: var(--lift-3); color: var(--fg); }
.k2-dialog { width: min(520px, 92vw); background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 16px; box-shadow: inset 0 1px 0 var(--sheen), var(--lift-3); overflow: hidden; color: var(--fg); }
.k2-dialog-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 0; }
.k2-dialog-b { padding: 12px 24px 24px; display: grid; gap: 14px; }
.k2-dialog-f { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--rule); background: var(--bg-well); }
.k2-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--rule); background: var(--bg-panel); color: var(--fg-mute); cursor: pointer; flex: none; }
.k2-x:hover { color: var(--fg); border-color: var(--rule-strong); }

/* --- 11. DROPDOWN MENU, DATE PICKER -------------------------------------- */
.k2-menu { display: grid; gap: 2px; min-width: 220px; padding: 6px; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: inset 0 1px 0 var(--sheen), var(--lift-3); color: var(--fg); }
.k2-menu > button, .k2-menu > a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); font-family: var(--font-body); font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; }
.k2-menu > button:hover, .k2-menu > a:hover { background: var(--bg-hover); color: var(--fg); }
.k2-menu > button[aria-checked="true"] { background: var(--bg-fill); }
.k2-menu > button[aria-checked="true"]::after { content: ""; margin-left: auto; width: 5px; height: 9px; border: 2px solid var(--accent-ink); border-top: 0; border-left: 0; transform: rotate(42deg); }
.k2-menu > button.is-danger { color: var(--fail-ink); }
.k2-menu > hr { height: 1px; border: 0; margin: 4px 2px; background: var(--rule); }
.k2-menu-l { padding: 8px 10px 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.k2-kbd { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); }
.k2-menu svg { width: 14px; height: 14px; stroke: var(--fg-mute); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.k2-cal { width: 300px; padding: 14px; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: inset 0 1px 0 var(--sheen), var(--lift-3); display: grid; gap: 10px; color: var(--fg); }
.k2-cal-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.k2-cal-h b { font-family: var(--font-body); font-weight: 600; font-size: 14px; }
.k2-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.k2-cal-g span { display: grid; place-items: center; height: 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-mute); }
.k2-cal-g button { display: grid; place-items: center; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--fg); font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; }
.k2-cal-g button:hover { background: var(--bg-hover); }
.k2-cal-g button.is-out { color: var(--fg-faint); }
.k2-cal-g button.is-today { box-shadow: inset 0 0 0 1px var(--olive); }
.k2-cal-g button.is-range { background: var(--accent-wash); border-radius: 0; }
.k2-cal-g button.is-sel { background: var(--st-booked-bg); color: var(--st-booked-fg); }
.k2-cal-g button.is-dis { color: var(--fg-faint); text-decoration: line-through; cursor: not-allowed; }
.k2-cal-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--rule); }
.k2-cal-f .k2-mono { color: var(--fg-mute); font-size: 12px; }

/* --- 12. TOASTS, BANNERS, EMPTY, LOADING, ERROR -------------------------- */
.k2-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 10px; justify-items: end; }
.k2-toast { display: flex; align-items: center; gap: 12px; min-width: 320px; max-width: 460px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--glass-dark); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-dark-line); box-shadow: inset 0 1px 0 var(--bevel), var(--paper-lift-hi); color: var(--sand); font-size: 14px; }
.k2-toast > i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.k2-toast--ok > i { background: var(--olive-lift); }
.k2-toast--warn > i { background: var(--amber); }
.k2-toast--fail > i { background: var(--clay); }
.k2-toast--live > i { background: var(--signal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--signal) 22%, transparent); animation: k-breathe var(--d-live) var(--e-in-out) infinite; }
.k2-toast p { margin: 0; flex: 1; min-width: 0; line-height: 1.4; }
.k2-toast p b { font-weight: 600; }
.k2-toast p span { display: block; font-size: 12.5px; color: var(--sage); }
.k2-toast .k2-mono { color: var(--sage); font-size: 12px; }
.k2-toast > a, .k2-toast > button.k2-act { flex: none; border: 0; background: transparent; color: var(--olive-lift); font-family: var(--font-body); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.k2-toast > a:hover, .k2-toast > button.k2-act:hover { background: var(--hover); color: var(--olive-lift); }
.k2-toast .k2-x { background: transparent; border-color: transparent; color: var(--sage); }
.k2-banner { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border: 1px solid var(--rule); border-left: 3px solid var(--fg-mute); border-radius: 10px; background: var(--bg-well); color: var(--fg); }
.k2-banner--ok { border-left-color: var(--st-approved); }
.k2-banner--warn { border-left-color: var(--st-interested); }
.k2-banner--fail { border-left-color: var(--st-overdue); }
.k2-banner b { font-weight: 600; }
.k2-banner p { margin: 2px 0 0; font-size: 13.5px; color: var(--fg-mute); }
.k2-empty { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 40px 24px; border: 1px dashed var(--rule-strong); border-radius: 14px; background: var(--bg-well); color: var(--fg); }
.k2-empty-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-panel); border: 1px solid var(--rule); color: var(--fg-faint); margin-bottom: 4px; box-shadow: inset 0 1px 0 var(--sheen); }
.k2-empty b { font-size: 15px; font-weight: 600; }
.k2-empty p { margin: 0; font-size: 13.5px; color: var(--fg-mute); max-width: 46ch; }
.k2-empty .k2-btn { margin-top: 8px; }
.k2-skel { display: block; border-radius: 6px; background: linear-gradient(90deg, color-mix(in oklab, var(--fg) 7%, transparent) 0%, color-mix(in oklab, var(--fg) 3%, transparent) 50%, color-mix(in oklab, var(--fg) 7%, transparent) 100%); background-size: 200% 100%; animation: k-shim 1400ms linear infinite; }
.k2-loading { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); }
.k2-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rule-strong); border-top-color: var(--accent-ink); animation: k2-spin 900ms linear infinite; }
@keyframes k2-spin { to { transform: rotate(360deg); } }
.k2-error { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 14px 18px; border: 1px solid color-mix(in oklab, var(--st-overdue) 45%, transparent); border-left: 3px solid var(--st-overdue); border-radius: 10px; background: var(--st-overdue-bg); color: var(--fg); }
.k2-error b { font-weight: 600; }
.k2-error p { margin: 0; font-size: 13.5px; color: var(--fg-mute); }
.k2-error .k2-mono { color: var(--fail-ink); font-size: 12px; }

/* --- 13. IDENTITY HOSTS AND PRESENCE -------------------------------------- */
.k2-kai { position: relative; display: block; flex: none; width: var(--size, 40px); height: var(--size, 40px); border-radius: 50%; background: transparent; }
.k2-kai:has(img), .k2-kai[data-frame="disc"] { background: var(--carbon); }
.k2-kai img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.k2-kai canvas { position: absolute; inset: 0; }
.k2-kai--ring::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--olive-lift) 70%, transparent); pointer-events: none; }
.k2-kai--live::after { border-color: var(--signal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--signal) 18%, transparent); animation: k-breathe var(--d-live) var(--e-in-out) infinite; }
.k2-presence { position: fixed; left: 20px; bottom: 20px; z-index: 65; display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--glass-dark); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-dark-line); box-shadow: inset 0 1px 0 var(--bevel), var(--paper-lift-hi); color: var(--sand); }
.k2-presence-txt { display: grid; gap: 2px; }
.k2-presence-txt b { font-size: 13.5px; font-weight: 600; }
.k2-presence-txt span { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }

/* --- 14. BOARD AND CARDS ------------------------------------------------- */
.k2-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.k2-col { display: grid; gap: 10px; padding: 12px; background: var(--bg-well); border: 1px solid var(--rule); border-radius: 14px; min-height: 320px; align-content: start; box-shadow: inset 0 3px 0 var(--col, transparent); }
.k2-col-h { display: flex; align-items: center; gap: 10px; padding: 4px 6px 0; font-size: 14px; font-weight: 600; color: var(--fg); }
.k2-col-h .k2-count { margin-left: auto; }
.k2-col-d { padding: 0 6px 6px; font-size: 12.5px; color: var(--fg-mute); }
.k2-col-f { padding: 6px; text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); letter-spacing: 0.04em; }
.k2-card { display: grid; gap: 8px; padding: 14px 16px; background: var(--bg-panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: inset 0 1px 0 var(--sheen), var(--lift-2); color: var(--fg); transition: transform var(--d-ui) var(--e-out), box-shadow var(--d-ui) var(--e-out); }
.k2-card:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 var(--sheen), var(--lift-3); }
.k2-card-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.k2-card-h b { font-size: 14.5px; font-weight: 600; }
.k2-card-m { font-size: 12.5px; color: var(--fg-mute); }
.k2-card-n { font-size: 13.5px; color: var(--fg); }

/* --- 16. ICONS: Core 06 stroke rules, inherited colour ------------------- */
.k2-ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.k2-ic--16 { width: 16px; height: 16px; stroke-width: 1.3; }
.k2-ic--22 { width: 22px; height: 22px; }
.k2-ic--28 { width: 28px; height: 28px; stroke-width: 1.5; }
.k2-st .k2-ic { width: 13px; height: 13px; stroke-width: 1.5; }

.k2-row { display: flex; align-items: center; gap: 12px; }
.k2-row--between { justify-content: space-between; }
.k2-col-stack { display: grid; gap: 12px; }
.k2-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.k2-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.k2-mobnav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: var(--glass-dark); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-top: 1px solid var(--line-strong); }
.k2-mobnav a { flex: 1; display: grid; place-items: center; align-content: center; gap: 4px; min-height: 44px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); }
.k2-mobnav a svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.k2-mobnav a[aria-current="page"] { color: var(--sand); }
.k2-mobnav a[aria-current="page"] svg { stroke: var(--olive-lift); }
@media (max-width: 1200px) {
  /* At tablet widths the presence becomes a strip above the sheet edge so it never floats over a record. */
  .k2-presence { left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0; padding: 6px 16px; box-shadow: none; background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .k2-main { padding-bottom: 110px; }
  /* Wide tables become stacked records before the status column can be squeezed out. */
  .k2-table--stack, .k2-table--stack tbody, .k2-table--stack tr, .k2-table--stack td { display: block; width: 100%; }
  .k2-table--stack thead { display: none; }
  .k2-table--stack tr { border-bottom: 1px solid var(--rule); }
  .k2-table--stack tr:last-child { border-bottom: 0; }
  .k2-table--stack td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 20px; border-bottom: 0; text-align: right; }
  .k2-table--stack td[data-l]::before { content: attr(data-l); flex: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); text-align: left; }
  .k2-table--stack td:first-child, .k2-table--stack td:has(.k2-check) + td { padding-top: 14px; text-align: left; justify-content: flex-start; }
  .k2-table--stack td:first-child::before, .k2-table--stack td:has(.k2-check) + td::before { display: none; }
  .k2-table--stack td:has(.k2-check) { display: none; }
  .k2-table--stack td:last-child { padding-bottom: 14px; }
  .k2-table--stack .k2-td-act { position: static; background: none; box-shadow: none; justify-content: flex-end; padding-top: 0; }
  .k2-table--stack .k2-open { width: 44px; height: 44px; }
  /* The record is one tap target; the open chevron sits on the header row, top right, never over a value. */
  .k2-table--stack tr { position: relative; }
  .k2-table--stack td:last-child { padding-bottom: 0; }
  .k2-table--stack td:nth-last-child(2) { padding-bottom: 14px; }
  .k2-table--stack .k2-td-act { position: absolute; top: 10px; right: 14px; padding: 0; width: auto; }
  .k2-table--stack td:first-child, .k2-table--stack td:has(.k2-check) + td { padding-right: 72px; }
  .k2-table--stack .k2-cell { text-align: left; }
  .k2-table--stack .k2-row { justify-content: flex-end; flex-wrap: wrap; row-gap: 6px; flex: 1; min-width: 0; }
  .k2-table--stack td[data-l] { align-items: flex-start; }
  .k2-table--stack td[data-l]::before { padding-top: 6px; }
}
@media (max-width: 900px) {
  .k2-nav, .k2-user span, .k2-client span { display: none; }
  .k2-head { height: 56px; padding: 0 16px; gap: 14px; }
  .k2-sheet { margin: 8px 0 0; border-radius: 16px 16px 0 0; min-height: calc(100vh - 64px); }
  .k2-foot { display: none; }
  .k2-main { padding: 16px 16px 150px; gap: 14px; }
  .k2-mobnav { display: flex; }
  /* The presence sits above the bottom navigation on a phone. */
  .k2-presence { bottom: 64px; }
  .k2-mobnav { background: var(--carbon); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .k2-main { padding-bottom: 150px; }
  .k2-g2, .k2-g3 { grid-template-columns: minmax(0, 1fr); }
  .k2-metric { border-right: 0; border-bottom: 1px solid var(--rule); }
  .k2-metric:last-child { border-bottom: 0; }
  .k2-table--stack td { padding-left: 16px; padding-right: 16px; }
  .k2-table--stack .k2-td-act .k2-btn { min-height: 44px; }
}

/* --- 17. MOTION: transform and opacity only, nothing under reduced motion -- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes k2-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes k2-slide { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  @keyframes k2-settle { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
  @keyframes k2-settle-lg { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
  @keyframes k2-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes k2-ring { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
  .k2-sheet { animation: k2-rise 520ms var(--e-out) both; }
  .k2-main > * { animation: k2-rise 480ms var(--e-out) both; }
  .k2-main > :nth-child(2) { animation-delay: 60ms; }
  .k2-main > :nth-child(3) { animation-delay: 120ms; }
  .k2-main > :nth-child(4) { animation-delay: 180ms; }
  .k2-main > :nth-child(5) { animation-delay: 240ms; }
  .k2-main > :nth-child(n + 6) { animation-delay: 300ms; }
  .k2-st { animation: k2-settle 420ms var(--e-out) 240ms both; }
  .k2-scrim { animation: k2-fade 320ms var(--e-out) both; }
  .k2-side, .k2-drawer { animation: k2-slide 460ms var(--e-out) both; }
  .k2-dialog, .k2-toast, .k2-menu, .k2-cal { animation: k2-settle-lg 360ms var(--e-out) both; }
  .k2-kai--ring::after { animation: k2-ring 4200ms var(--e-in-out) infinite; }
  .k2-kai--live::after { animation: k-breathe var(--d-live) var(--e-in-out) infinite; }
  .k2-btn:hover { transform: translateY(-1px); }
  .k2-btn:active { transform: translateY(1px); }
  .k2-chip:hover, .k2-open:hover { transform: translateY(-1px); }
  .k2-card:hover { transform: translateY(-2px); }
}
