/* Kinetic Studio in the browser (design K, review/step4_window_design/combined.html). The frame and its parts are the
   kit's studio_ui (style "between", accent #f4e07b); this file holds Kinetic's own parts: the stage (the strobe),
   the principle desk, the timing ribbon, the contact sheet, the hints. studio_ui tokens only, plus the persona's
   slate stage (the 3D view stays dark in both themes) and the three layer families: Timing gold (the accent),
   Path sky, Shape coral. Light theme: accent text uses the product's #7d6300. */
@import url("studio_ui/tokens.css");
@import url("studio_ui/studio_ui.css");

/* ---------- the shell frame around the Studio: the Studio's header replaces the shell's while it shows */
#app.kn-app:has(#ws-stage:not([hidden])) { padding: 0; gap: 0; }
#app.kn-app:has(#ws-stage:not([hidden])) > .topbar, #app.kn-app:has(#ws-stage:not([hidden])) > .status { display: none; }
#app.kn-app #ws-stage { flex: 1 1 auto; border-radius: 0; background: #0b0d10; min-height: 0; }
#app.kn-app #stage.kn-stagehost { overflow: hidden; }
.kn-root { --su-studio-h: 100%; height: 100%; }
.kn-root.su-studio { min-height: 0; }
.kn-root { --kk-timing: #f4e07b; --kk-path: #7cc4ff; --kk-shape: #ff9e80; --kn-lbl: 96px; }
.kn-root[data-su-theme="light"] { --su-acc-ink: #7d6300; --kk-timing: #7d6300; --kk-path: #1f6fb2; --kk-shape: #b4472a; }
[data-fam="timing"] { --kk: var(--kk-timing); } [data-fam="path"] { --kk: var(--kk-path); } [data-fam="shape"] { --kk: var(--kk-shape); }
.kn-root .su-glyph { color: #e87d0d; }      /* the glyph is orange on the web (BRAND 5); the accent stays the tool's */

/* the moment before the modules arrive */
.kn-boot { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  background: radial-gradient(70% 60% at 50% 40%, #232016, #0b0d10 72%); color: #e7e9ee; font: 14px/1.5 Inter, "Segoe UI", system-ui, sans-serif; }
.kn-boot svg { width: 44px; height: 44px; color: #e87d0d; }
.kn-boot b { font: 600 20px/1.2 Inter, sans-serif; }
.kn-boot span { color: #9aa3af; max-width: 42ch; }
.kn-boot i { width: 140px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #f4e07b, transparent); background-size: 200% 100%; animation: kn-sweep 1.2s linear infinite; }
.kn-boot button { margin-top: 6px; height: 34px; padding: 0 16px; border-radius: 9px; border: 0; background: #f4e07b; color: #1a1600; font: 600 13px Inter, sans-serif; cursor: pointer; }
.kn-fail i { display: none; }
@keyframes kn-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- the centre: the stage and the surface below */
.kn-centre { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; }
.kn-stage { position: relative; flex: 1 1 auto; min-height: 160px; border-radius: var(--su-view-r); overflow: hidden; background: #0b0d10; }
.kn-stage .kn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.kn-stage.kn-placing .kn-canvas { cursor: copy; }
.kn-belowwrap { flex: none; display: flex; flex-direction: column; gap: 8px; min-height: 0; max-height: 58%; overflow: auto; scrollbar-width: thin; }
.kn-belowwrap:empty, .su-hide-bottom .kn-belowwrap { display: none; }
.kn-ov { position: absolute; display: flex; gap: 6px; align-items: center; z-index: 3; }
.kn-ov.tl { top: 10px; left: 10px; flex-wrap: wrap; } .kn-ov.tr { top: 10px; right: 10px; } .kn-ov.bl { bottom: 10px; left: 10px; }
.kn-ov.br { bottom: 10px; right: 10px; } .kn-ov.tc { top: 56px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); }
.kn-ov[hidden] { display: none; }
.kn-ov .su-float { background: rgba(12,14,18,.82); border-color: rgba(255,255,255,.12); }
.kn-ov .su-seg { background: rgba(255,255,255,.04); }
.kn-ov .su-seg > button { color: #b8bfca; } .kn-ov .su-seg > button[aria-checked="true"] { color: #fff; background: rgba(255,255,255,.16); box-shadow: none; }
.kn-ov .su-tbtn { color: #b8bfca; } .kn-ov .su-tbtn[aria-pressed="true"] { color: #f4e07b; background: rgba(244,224,123,.16); }
.kn-ov .su-btn.su-ghost { color: #d7dbe2; }
.kn-ov .su-gizmo { width: 60px; height: 60px; }
.kn-chip { font: 500 11.5px/1.25 var(--su-font); color: #e7e9ee; background: rgba(12,14,18,.84); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; backdrop-filter: blur(6px); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.kn-chip > span { overflow: hidden; text-overflow: ellipsis; }
.kn-chip.acc { color: #f4e07b; border-color: rgba(244,224,123,.7); }
.kn-chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kn-fieldchip { position: absolute; z-index: 3; pointer-events: none; }
.kn-fieldchip[hidden] { display: none; }
.kn-stepnav { display: none; gap: 6px; background: rgba(12,14,18,.82); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 5px; }
.su-hide-right .kn-stepnav { display: flex; }
.kn-belowseg > button { padding-inline: 9px; }

/* ---------- the panels under the stage */
.kn-below { flex: none; background: var(--su-panel-bg); border: 1px solid var(--su-panel-line); border-radius: var(--su-panel-r); padding: 10px 12px; color: var(--su-ink); min-width: 0; }
.kn-below-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; min-width: 0; }
.kn-below-h .t { font-weight: 600; white-space: nowrap; }
.kn-below-h .m { font-family: var(--su-font-mono); color: var(--su-dim); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kn-below-h .su-grow { flex: 1; }
.kn-pill { font: 500 11px/1 var(--su-font); padding: 5px 9px; border-radius: 99px; border: 1px solid var(--su-btn-line); color: var(--su-ink-2); background: var(--su-btn-bg); white-space: nowrap; }
button.kn-pill { cursor: pointer; } button.kn-pill:hover { border-color: var(--su-acc); }
.kn-pill.on { border-color: var(--su-acc); color: var(--su-acc-ink, var(--su-acc)); background: color-mix(in srgb, var(--su-acc) 14%, transparent); }
.kn-hint { color: var(--su-faint); font-size: 11.5px; margin: 2px 0 4px; line-height: 1.45; }

/* the desk: family groups, family colours */
.kk-groups { display: flex; gap: 12px; }
.kk-group { flex: 1 1 0; min-width: 0; }
.kk-gh { font: 600 10px/1 var(--su-font); letter-spacing: .08em; text-transform: uppercase; color: var(--kk); border-top: 3px solid var(--kk); padding-top: 5px; margin-bottom: 6px; }
.kk-strips { display: flex; gap: 6px; }
.kn-strip { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 3px; border-radius: 8px; background: var(--su-field-bg); border: 1px solid var(--su-line); min-width: 0; }
.kn-strip.hot, .kn-strip.picked { border-color: var(--kk); background: color-mix(in srgb, var(--kk) 10%, var(--su-field-bg)); box-shadow: 0 0 0 1px var(--kk); }
.kn-strip .in { width: 100%; box-sizing: border-box; font: 500 10px/1.2 var(--su-font); text-align: center; padding: 4px 2px; border-radius: 5px; border: 1px dashed var(--su-line-2);
  color: var(--su-faint); background: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; display: flex; gap: 4px; align-items: center; justify-content: center; }
.kn-strip .in:hover { border-color: var(--su-acc); color: var(--su-ink-2); }
.kn-strip .in.f { border: 1px solid var(--su-acc); color: var(--su-acc-ink, var(--su-acc)); background: color-mix(in srgb, var(--su-acc) 12%, transparent); }
.kn-strip .in svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.kn-strip .in b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.kn-strip .in:not(.f) svg { display: none; }
/* the Drive with slot and the value show on the picked or hovered strip, or a strip that is driven; a resting
   strip shows only its reason (the slot keeps its room so the faders stay in line) */
.kn-strip:not(.hot):not(.picked):not(:hover):not(:focus-within) .in:not(.f) { visibility: hidden; }
.kn-strip.idle:not(.hot):not(.picked):not(:hover):not(:focus-within) .val { visibility: hidden; }               /* desktop: the words; a phone: the target icon (tooltip says it) */
.kn-strip .val { font: 500 11px/1 var(--su-font-mono); color: var(--su-ink-2); background: none; border: 1px solid transparent; border-radius: 4px; padding: 2px 4px; cursor: text; }
.kn-strip .val:hover { border-color: var(--su-line-2); }
.kn-type { width: 52px; font: 500 11px/1 var(--su-font-mono); text-align: center; background: var(--su-input-bg, var(--su-field-bg)); color: var(--su-ink); border: 1px solid var(--su-acc); border-radius: 4px; padding: 2px; }
.kn-fader { position: relative; height: 96px; width: 34px; display: flex; gap: 6px; justify-content: center; cursor: ns-resize; touch-action: none; outline: none; }
.kn-fader:focus-visible { box-shadow: 0 0 0 2px var(--su-acc); border-radius: 4px; }
.kn-fader .tr { width: 4px; border-radius: 2px; background: var(--su-sl-bg); position: relative; border: 1px solid var(--su-sl-line); }
.kn-fader .tr i { position: absolute; left: -1px; right: -1px; bottom: 0; border-radius: 2px; background: var(--kk, var(--su-acc)); }
.kn-fader .knob { position: absolute; left: 50%; width: 22px; height: 12px; margin: -6px 0 0 -14px; border-radius: 3px; background: linear-gradient(#f3f4f6, #c9ccd2); box-shadow: 0 2px 5px rgba(0,0,0,.4); }
.kn-meter { width: 5px; display: flex; flex-direction: column-reverse; gap: 2px; }
.kn-meter i { flex: 1; border-radius: 1px; background: color-mix(in srgb, var(--su-ink) 8%, transparent); }
.kn-meter i.on { background: var(--kk, var(--su-acc)); } .kn-meter i.pk { background: color-mix(in srgb, var(--kk, var(--su-acc)) 60%, #fff); }
.kn-ms { display: flex; gap: 3px; }
.kn-ms button { font: 600 9.5px/1 var(--su-font); width: 18px; height: 16px; display: grid; place-items: center; border-radius: 4px; border: 1px solid var(--su-btn-line); color: var(--su-dim); background: none; cursor: pointer; padding: 0; }
.kn-ms button.m { border-color: var(--su-warn); color: var(--su-warn); }
.kn-ms button.s { border-color: var(--kk); color: var(--kk); background: color-mix(in srgb, var(--kk) 14%, transparent); }
.kn-strip .nm { font: 600 10.5px/1.2 var(--su-font); color: var(--su-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; background: none; border: 0; padding: 0; cursor: pointer; }
.kn-strip .why { font-size: 10px; line-height: 1.2; color: var(--su-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-height: 12px; }
.kn-strip.idle .nm, .kn-strip.idle .val { color: var(--su-faint); font-weight: 500; }
.kn-strip.idle .knob { opacity: .6; }

/* the ribbon */
.kn-chartwrap { position: relative; }
.kn-chart { display: grid; grid-template-columns: var(--kn-lbl) 1fr; row-gap: 3px; font-size: 11.5px; }
.kn-chart .lbl { color: var(--su-dim); align-self: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; border: 0; padding: 0 6px 0 0; text-align: left; font: inherit; cursor: default; }
button.lbl { cursor: pointer; } button.lbl:hover { color: var(--su-ink); }
.kn-chart .lbl.sel { color: var(--su-ink); font-weight: 600; }
.kn-lane { position: relative; height: 20px; }
.kk-chart .kn-lane.kk-lane { height: 14px; }
.kn-ruler { position: relative; height: 22px; background: var(--su-field-bg); border-radius: 5px; cursor: ew-resize; touch-action: none; }
.kn-ruler i { position: absolute; bottom: 0; width: 1px; height: 9px; background: color-mix(in srgb, var(--su-acc) 55%, transparent); }
.kn-ruler i.dn { height: 22px; width: 1.5px; background: var(--su-acc-ink, var(--su-acc)); }
.kn-ruler span { position: absolute; top: 4px; font: 600 10px/1 var(--su-font); color: var(--su-acc-ink, var(--su-acc)); margin-left: 4px; pointer-events: none; }
.kn-bar { position: absolute; top: 2px; bottom: 2px; border-radius: 5px; background: color-mix(in srgb, var(--su-acc) 18%, transparent); border: 1px solid color-mix(in srgb, var(--su-acc) 55%, transparent); overflow: hidden; color: var(--su-acc-ink, var(--su-acc)); cursor: pointer; }
.kn-bar.sel { background: color-mix(in srgb, var(--su-acc) 32%, transparent); border-color: var(--su-acc); }
.kn-bar.kk-drag { cursor: ew-resize; touch-action: none; }
.kn-bar.dragging { box-shadow: 0 0 0 2px var(--su-acc); }
.kn-bar svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kn-land { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--su-acc-ink, var(--su-acc)); pointer-events: none; }
.kn-playhead { position: absolute; top: 0; bottom: 0; width: 1.5px; background: var(--su-acc-ink, var(--su-acc)); z-index: 2; pointer-events: none; }
.kn-playhead::before { content: ""; position: absolute; top: -2px; left: -5px; border: 6px solid transparent; border-top-color: var(--su-acc-ink, var(--su-acc)); }
.kk-chart .lbl.kk-l, .kn-chart .lbl.kk-l { color: color-mix(in srgb, var(--kk) 85%, var(--su-ink)); font-size: 11px; cursor: default; }
.kn-chart .lbl.kk-l.hot { font-weight: 700; color: var(--kk); }
.kk-span { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: color-mix(in srgb, var(--kk) 30%, transparent); border: 1px solid color-mix(in srgb, var(--kk) 55%, transparent); }
.kk-span.hot { background: color-mix(in srgb, var(--kk) 60%, transparent); border-color: var(--kk); box-shadow: 0 0 0 1px var(--kk); }
.kk-selrow { background: color-mix(in srgb, var(--su-acc) 8%, transparent); border-radius: 4px; }
.kk-drawon { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--kk-path) 25%, transparent), var(--kk-path)); }
.kk-drawon::after { content: ""; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--kk-path); }
.kn-empty-lane { font-size: 11px; color: var(--su-faint); display: flex; align-items: center; }

/* the contact sheet */
.kn-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.kn-cell { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--su-line); aspect-ratio: 1 / 1; background: #0b0d10; padding: 0; cursor: pointer; }
.kn-cell canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kn-cell.on { border-color: var(--su-acc); box-shadow: 0 0 0 1px var(--su-acc); }
.kn-cell-f { position: absolute; left: 5px; bottom: 4px; font: 500 9.5px/1 var(--su-font-mono); color: #aab1bd; }

/* ---------- the right panel */
.kn-moods { display: flex; flex-wrap: wrap; gap: 6px; }
.kn-mood { font: 500 12px/1 var(--su-font); padding: 7px 10px; border-radius: 99px; border: 1px solid var(--su-btn-line); background: var(--su-btn-bg); color: var(--su-ink-2); cursor: pointer; position: relative; }
.kn-mood:hover:not(:disabled) { border-color: color-mix(in srgb, var(--su-acc) 60%, var(--su-btn-line)); }
.kn-mood:disabled { opacity: .45; cursor: not-allowed; }
.kn-mood[aria-pressed="true"] { background: color-mix(in srgb, var(--su-acc) 22%, transparent); border-color: var(--su-acc); color: var(--su-ink); }
.kn-moods:not(.kk-order) .kn-mood[aria-pressed="true"]::after { content: "● ● ●"; font-size: 6px; letter-spacing: 1px; color: var(--su-acc-ink, var(--su-acc)); margin-left: 6px; vertical-align: 2px; }
.kn-root .su-cards { --su-card-min: 132px; }
.kn-bpm { display: flex; gap: 8px; align-items: center; } .kn-bpm .su-slider { flex: 1; }
.kn-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kn-checks li { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--su-ink-2); }
.kn-checks .dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 11px/1 var(--su-font); }
.kn-checks .dot svg { width: 12px; height: 12px; }
.kn-checks li.ok .dot { background: color-mix(in srgb, var(--su-ok, #3ecf8e) 22%, transparent); color: var(--su-ok, #3ecf8e); }
.kn-checks li.warn .dot { background: color-mix(in srgb, var(--su-warn) 22%, transparent); color: var(--su-warn); }
.kn-checks li.bad .dot { background: color-mix(in srgb, var(--su-err, #f06464) 22%, transparent); color: var(--su-err, #f06464); }
.kn-checks .tx { flex: 1; min-width: 0; }

.kn-root .su-props-foot .su-btn svg, .kn-root .su-props .su-btn svg { width: 16px; height: 16px; flex: none; }

/* the status line */
.kk-sel i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--su-acc); margin-right: 6px; vertical-align: 0; }
.kk-sel em { font-style: normal; color: var(--su-faint); }

/* a first-time hint beside a surface, the surface ringed */
.kn-ringed { outline: 2px solid var(--su-acc); outline-offset: 2px; }
.su-studio > .kn-hint-card, .kn-hint-card { position: absolute; z-index: 40; width: 270px; padding: 12px 14px; border-radius: 12px; background: var(--su-raised, var(--su-panel-bg)); border: 1px solid var(--su-acc);
  box-shadow: 0 12px 32px rgba(0,0,0,.35); color: var(--su-ink); font-size: 12.5px; }
.kn-hint-card b { display: block; font-size: 13px; margin-bottom: 4px; }
.kn-hint-card p { margin: 0 0 8px; color: var(--su-dim); line-height: 1.45; }
.kn-hint-acts { display: flex; justify-content: flex-end; }

/* ---------- narrow desktop and phone */
@container su (max-width: 1100px) { .kn-hide-narrow { display: none !important; } }
@container su (max-width: 760px) {
  .kn-centre { gap: 0; }
  .kn-stage { border-radius: 0; min-height: 200px; }
  .kn-belowwrap { gap: 0; max-height: 48%; }
  .kn-below { border-radius: 0; border-width: 1px 0 0; padding: 8px 10px; }
  .kn-hide-phone { display: none !important; }
  .su-hide-right .kn-stepnav { display: none; }
  /* the open sheet stops at half height and the stage fits above it, the surface below steps aside: you see the
     whole strobe while you move a fader */
  .kn-root.su-props-open .su-body > .su-props { max-height: 46%; }
  .kn-root.su-props-open .kn-ov.bl { display: none; }
  .kn-root.su-props-open .su-view-canvas { bottom: 50% !important; }
  .kn-root.su-props-open .kn-belowwrap { display: none; }
  .kn-ov.tl { right: 10px; }
  .kn-ov.tl .su-seg > button { padding-inline: 8px; }          /* the sheet's footer keeps Back / Next on a phone */
  .kn-ov.tc { top: 50px; }
  .kn-root { --kn-lbl: 62px; }
  .kn-chart { font-size: 10.5px; }
  .kk-groups { overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .kk-group[data-fam="timing"] { flex: 0 0 100%; }
  .kk-group[data-fam="path"], .kk-group[data-fam="shape"] { flex: 0 0 auto; width: 46%; }
  .kk-group[data-fam="shape"] { width: 86%; }
  .kn-fader { height: 70px; }
  .kn-strip .why, .kn-strip .in b, .kn-strip .in span { display: none; }
  .kn-strip .in:not(.f) svg { display: block; }
  .kn-strip .in svg { width: 13px; height: 13px; }
  .kn-below-h .m { display: none; }
  .kn-sheet { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kn-belowseg > button { padding-inline: 7px; font-size: 11.5px; }
  .kn-hint-card { width: min(270px, calc(100% - 16px)); }
}

/* ---- the extras (Create tabs, lists, the clip stack, sound, links, takes) ---- */
.kn-tabrow { padding: 2px 0 8px; }
.kn-tabs { width: 100%; }
.kn-tabs > button { flex: 1 1 0; white-space: nowrap; }
.kn-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.kn-li { display: flex; align-items: center; gap: 4px; min-width: 0; padding: 3px 4px 3px 6px; border-radius: 7px; border: 1px solid var(--su-line); background: var(--su-field-bg); }
.kn-li.on { border-color: var(--su-acc); box-shadow: inset 2px 0 0 var(--su-acc); }
.kn-li.off .kn-li-main { opacity: .55; }
.kn-li .su-toggle { flex: none; }
.kn-li-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; background: none; border: 0; padding: 3px 2px; color: var(--su-ink); font: inherit; text-align: left; cursor: pointer; }
.kn-li-main b { font: 600 12px/1.25 var(--su-font); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kn-li-main small { font: 400 10.5px/1.25 var(--su-font-mono); color: var(--su-faint); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
div.kn-li-main { cursor: default; }
.kn-li .su-btn.su-sm { flex: none; }
.kn-main { background: color-mix(in srgb, var(--su-acc) 7%, var(--su-field-bg)); }
.kn-btnrow { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 2px 0 6px; min-width: 0; }
.kn-btnrow .kn-hint { flex: 1 1 140px; margin: 0; }
.kn-saverow { display: flex; gap: 6px; align-items: center; margin: 4px 0; }
.kn-namein { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; }
.kn-steps { margin: 2px 0 8px; padding-left: 18px; font-size: 11.5px; color: var(--su-ink-2); line-height: 1.6; }
.kn-steps b { font: 600 10.5px/1 var(--su-font-mono); color: var(--su-acc-ink, var(--su-acc)); }
.kn-steps em { color: var(--su-faint); font-style: normal; }
.kn-flayer { border: 1px solid var(--su-line); border-radius: 8px; padding: 4px 6px 2px; margin: 4px 0; }
.kn-flayer-h { display: flex; align-items: center; font-size: 11.5px; color: var(--su-dim); }
.kn-pair { display: flex; gap: 4px; min-width: 0; }
.kn-pair .su-select { flex: 1 1 auto; min-width: 0; }
.kn-toggles { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 4px; }
.kn-sub { font: 600 10px/1 var(--su-font); letter-spacing: .08em; text-transform: uppercase; color: var(--su-faint); margin: 10px 0 4px; }
.kn-axes { display: flex; gap: 4px; }
.kn-axes .kn-mood { min-width: 32px; }
.kn-file { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 55%; font-size: 12px; color: var(--su-ink); }
.kn-file svg { width: 14px; height: 14px; flex: none; color: var(--su-acc-ink, var(--su-acc)); }
.kn-file b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kn-file small { font: 400 10.5px/1 var(--su-font-mono); color: var(--su-faint); white-space: nowrap; }
.kn-ms button.s { border-color: var(--su-acc); color: var(--su-acc-ink, var(--su-acc)); }
.kn-li .kn-ms { display: flex; gap: 2px; flex: none; }
.kn-tools .kn-pill { flex: none; }
.kn-root { --kk-clip: #a78bfa; } .kn-root[data-su-theme="light"] { --kk-clip: #6d4fd6; }
.kk-clip { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; background: color-mix(in srgb, var(--kk-clip) 24%, transparent); border: 1px solid color-mix(in srgb, var(--kk-clip) 65%, transparent); }
.kk-clip.kk-thin { opacity: .7; } .kk-clip.kk-thin:hover { opacity: 1; z-index: 1; }
.kk-clip.on { background: color-mix(in srgb, var(--kk-clip) 42%, transparent); border-color: var(--kk-clip); }
.kk-l[data-fam="clip"] { color: var(--kk-clip); }
.kn-fams { flex-wrap: wrap; gap: 4px; }
.kn-search { margin: 6px 0; }
.kn-layouts .su-card-b { padding-block: 4px; }
.kk-sound { position: absolute; top: 1px; bottom: 1px; color: var(--kk-path); }
.kk-sound svg { width: 100%; height: 100%; display: block; }
.kn-takes { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: -2px 0 6px; }
.kn-take { display: inline-flex; align-items: center; }
.kn-take .kn-pill { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.kn-x { font: 600 11px/1 var(--su-font); height: 23px; padding: 0 6px; border: 1px solid var(--su-btn-line); border-left: 0; border-radius: 0 99px 99px 0; background: var(--su-btn-bg); color: var(--su-faint); cursor: pointer; }
.kn-x:hover { color: var(--su-warn); }
.kn-take.on .kn-x { border-color: var(--su-acc); }
.kn-addtake { border-style: dashed; }
.kn-takechip { display: inline-flex; align-items: center; gap: 8px; }
.kn-chipbtn { font: 600 11px/1 var(--su-font); padding: 4px 8px; border-radius: 99px; border: 1px solid #f4e07b; background: rgba(244,224,123,.16); color: #f4e07b; cursor: pointer; }
@container su (max-width: 760px) {
  .kn-takes { margin-bottom: 4px; }
  .kn-file { max-width: 45%; }
}
.kn-btnrow > .su-grow, .kn-flayer-h > .su-grow { flex: 1 1 auto; }
/* the stage's 3D view navigates as in Blender (SU.blenderNav): its gizmo top right, its key hints along the bottom */
.kn-ov.bc { bottom: 12px; left: 50%; transform: translateX(-50%); pointer-events: none; white-space: nowrap; }
.kn-ov .su-navgiz { pointer-events: auto; }
@media (max-width: 1360px) { .kn-ov.bc { display: none; } }
/* the stage is the dark slate in both themes: its gizmo buttons and key hints keep the dark HUD, like the view bar */
.kn-stage { --su-hud-bg: rgba(12,14,18,.82); --su-hud-ink: #d7dbe2; --su-hud-line: rgba(255,255,255,.12); --su-hud-kbd-bg: rgba(255,255,255,.16); --su-hud-kbd-ink: #fff; --su-hover: rgba(255,255,255,.08); }
/* the stage's labels use the kit's secondary text token; the stage is the dark slate, so it keeps the dark value in light */
.kn-root[data-su-theme="light"] .kn-stage { --su-dim: #aab1bd; }
