/* Shared by the four tool demos: brand colors and type from swatikishore.com, the top bar, and the "why" panel. */
:root {
  --page: #fbfbf9; --surface: #ffffff; --ink: #101010; --ink-2: #55534d; --muted: #77746c;
  --line: #e4e2db; --ring: rgba(16,16,16,0.10);
  --accent: #1a5c45; --accent-dark: #124534; --accent-wash: #eef4f0;
}
body { font-family: "Instrument Sans", system-ui, -apple-system, sans-serif; }
[hidden] { display: none !important; }
.tile .lbl, thead th, .mixcard .lbl, .panel .lbl, .sect h3, table.acts th, .frm label {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; letter-spacing: 0.06em;
}
::selection { background: #dcebe3; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.kitbar { position: sticky; top: 0; z-index: 30; background: rgba(251,251,249,0.93); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.kitin { max-width: 1160px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.kitmark { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.kitmark .sk { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.kitmark .nm { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 16px; }
.kittools { display: flex; gap: 2px; }
.kittools a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 5px 10px; border-radius: 7px; }
.kittools a:hover { color: var(--ink); background: #f1f0ea; }
.kittools a[aria-current="page"] { color: var(--accent); background: var(--accent-wash); }
@media (max-width: 560px) { .kitmark .nm { display: none; } .kittools a { padding: 5px 7px; font-size: 13.5px; } .kitin { padding: 10px 16px; } }

details.why { background: var(--surface); border: 1px solid var(--ring); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; margin: 0 0 20px; }
details.why summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 8px; }
details.why summary::-webkit-details-marker { display: none; }
details.why summary::before { content: "\25B8"; color: var(--accent); transition: transform .15s; }
details.why[open] summary::before { transform: rotate(90deg); }
details.why summary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.whybody { padding: 0 18px 16px 34px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 760px; }
.whybody p { margin: 0 0 10px; }
.whybody ul { margin: 0 0 10px; padding-left: 18px; }
.whybody li { margin: 3px 0; }
.whybody b { color: var(--ink); font-weight: 600; }
.xlink { color: var(--accent); font-weight: 600; text-decoration: none; }
.xlink:hover { text-decoration: underline; }

@media print {
  .kitbar, details.why, footer { display: none !important; }
  body { background: #fff; }
}
