/* /leaders/ only: Questions leaders ask. Loaded after nothing else depends on it; prefixes lq- (questions) and ld- (tools). */

/* Intro band */
.lq-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: lr; }
.lq-rules li { background: var(--paper-2); padding: 1.25rem 1.25rem 1.4rem; counter-increment: lr; display: grid; gap: 0.35rem; }
.lq-rules li::before { content: counter(lr, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--orange-text); letter-spacing: 0.1em; font-size: 0.9rem; }
.lq-rules b { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.02em; }
.lq-rules span { color: var(--muted); }
.lq-tools-label { margin: 2rem 0 0.6rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--orange-text); }
.lq-toolnav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lq-toolnav a { display: inline-block; padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.lq-toolnav a:hover { border-color: var(--ink); }

/* Tabs */
.lq-tabs-wrap { margin: 2rem 0 0.75rem; overflow-x: auto; scrollbar-width: thin; padding: 0.25rem 0.1rem 0.5rem; }
.lq-tabs, .lq-tabbar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lq-tab, .lq-tabb {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; font-size: 1.02rem; line-height: 1.1; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lq-tab:hover, .lq-tabb:hover { background: rgba(20, 20, 20, 0.07); }
.lq-tabb[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.lq-count { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; display: inline-grid; place-items: center; background: var(--paper-2); color: var(--ink); letter-spacing: 0; }
.lq-tabb[aria-selected="true"] .lq-count { background: var(--orange); color: var(--ink); }
.lq-desc { margin: 0 0 1.5rem; font-size: 1.1rem; color: var(--muted); min-height: 1.5em; max-width: 70ch; }
.lq-desc:empty { display: none; }

/* Panels and rows */
.lq-panel { margin-top: 2rem; }
.lq-panel[hidden] { display: none; }
.lq-theme { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.25rem; }
.lq-theme-desc { color: var(--muted); margin: 0 0 1rem; }
.lq-solo { margin-top: 0; }
.lq-solo .lq-theme, .lq-solo .lq-theme-desc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lq-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lq-row { border-bottom: 1px solid var(--line); }
.lq-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.75rem 1fr auto auto; align-items: center; gap: 0.75rem; padding: 1.15rem 0.25rem; }
.lq-row summary::-webkit-details-marker { display: none; }
.lq-row summary:hover .lq-q { color: var(--orange-text); }
.lq-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--orange-text); letter-spacing: 0.02em; line-height: 1; }
.lq-q { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.15; letter-spacing: 0.01em; transition: color 0.15s; }
.lq-tool-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--orange); color: var(--ink); }
.lq-plus { width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; flex: none; transition: transform 0.2s, background 0.2s; }
.lq-plus::before, .lq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.lq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.2s; }
details[open] > summary .lq-plus { background: var(--ink); }
details[open] > summary .lq-plus::before, details[open] > summary .lq-plus::after { background: var(--paper); }
details[open] > summary .lq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.lq-body { padding: 0 0.25rem 2rem 4.5rem; animation: lqIn 0.25s ease-out; }
@keyframes lqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lq-answer { max-width: 66ch; font-size: 1.12rem; line-height: 1.55; }
.lq-answer p { margin: 0 0 0.6rem; }
.lq-answer p:first-child { font-weight: 600; }
.lq-cols { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 52rem) { .lq-cols { grid-template-columns: 1.4fr 1fr; } }
.lq-decide { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.lq-side { background: var(--paper-2); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.lq-decide h4, .lq-side h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--orange-text); margin: 0 0 0.6rem; }
.lq-side h4 + * { margin-top: 0; }
.lq-side h4:not(:first-child) { margin-top: 1rem; }
.lq-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.lq-check li { position: relative; padding-left: 1.8rem; line-height: 1.4; }
.lq-check li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.05rem; height: 1.05rem; border: 2px solid var(--ink); border-radius: 3px; }
.lq-check li::after { content: ""; position: absolute; left: 0.33rem; top: 0.3em; width: 0.35rem; height: 0.6rem; border: solid var(--orange-text); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.lq-metric { font-weight: 600; margin: 0; line-height: 1.4; border-left: 3px solid var(--orange); padding-left: 0.75rem; }
.lq-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.lq-links a { font-weight: 600; color: var(--ink); }
.lq-links a::after { content: " \2192"; color: var(--orange-text); }
.lq-noscript { font-style: italic; color: var(--muted); }
@media (max-width: 40rem) {
  .lq-row summary { grid-template-columns: 2.6rem 1fr auto; }
  .lq-tool-tag { display: none; }
  .lq-body { padding-left: 0; }
}

/* Tools: shared */
.ld-ix .btn { font-family: var(--font-display); font-weight: 600; }
.lq-intro { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.ld-ix { margin-top: 1.5rem; }
.ld-grid2 { display: grid; gap: 1rem 1.5rem; }
@media (min-width: 48rem) { .ld-grid2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
.ld-grid3 { display: grid; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
@media (min-width: 48rem) { .ld-grid3 { grid-template-columns: 1fr 1fr 1.2fr; align-items: end; } }
.ld-grid3 label > span, .ld-cand-f label > span { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.ld-ix select, .ld-ix input[type="text"] { font: inherit; width: 100%; padding: 0.5rem 0.6rem; border: 1.5px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.ld-ix select:focus-visible, .ld-ix input[type="text"]:focus-visible { border-color: var(--ink); }
.ld-fs { border: 1px solid var(--line); border-radius: 8px; padding: 0.9rem 1rem 0.2rem; margin: 0; min-width: 0; }
.ld-fs legend { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 0 0.35rem; color: var(--ink); }
.ld-ck { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.95rem; margin: 0 0 0.6rem; line-height: 1.35; cursor: pointer; }
.ld-ck input { margin-top: 0.15rem; flex: none; }
.ld-ck-pad { padding-bottom: 0.55rem; }
.ld-fine { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.ld-h { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--orange-text); margin: 1.5rem 0 0.6rem; }
.ld-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ld-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin: 1rem 0 0; background: var(--white); }
.ld-tablewrap table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.ld-tablewrap th, .ld-tablewrap td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ld-tablewrap thead th { background: var(--ink); color: var(--paper); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.ld-tablewrap tbody tr:last-child > * { border-bottom: 0; }
.ld-checks { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.ld-checks li { position: relative; padding-left: 1.6rem; line-height: 1.4; }
.ld-checks li::before { position: absolute; left: 0; font-weight: 700; }
.ld-checks li.ok::before { content: "\2713"; color: var(--success); }
.ld-checks li.warn::before { content: "!"; color: var(--danger); left: 0.3rem; }
.ld-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 1rem; }
.ld-kpis div { background: var(--paper); padding: 0.85rem 1rem; display: grid; gap: 0.2rem; }
.ld-kpis span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ld-kpis b { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1; }

/* Funding */
.ld-split { display: flex; height: 1.1rem; border-radius: 999px; overflow: hidden; margin: 1.25rem 0 0.6rem; background: var(--paper-2); }
.ld-split span { display: block; height: 100%; transition: width 0.3s; }
.ld-c1 i, .ld-split .ld-c1 { background: #7a4128; }
.ld-c2 i, .ld-split .ld-c2 { background: var(--ink); }
.ld-c3 i, .ld-split .ld-c3 { background: var(--orange); }
.ld-c4 i, .ld-split .ld-c4 { background: #c9a98a; }
.ld-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.9rem; }
.ld-legend i { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 2px; margin-right: 0.35rem; vertical-align: -0.05rem; }
.ld-legend small { color: var(--muted); }
.ld-gates { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 52rem) { .ld-gates { grid-template-columns: repeat(4, 1fr); } }
.ld-gate { position: relative; background: var(--paper); border-radius: 8px; padding: 1rem 1rem 1.1rem; border-top: 4px solid var(--ink); display: flex; flex-direction: column; gap: 0.25rem; }
.ld-gate:nth-child(1) { border-top-color: #8a8178; }
.ld-gate:nth-child(2) { border-top-color: var(--ink); }
.ld-gate:nth-child(3) { border-top-color: #c64e22; }
.ld-gate:nth-child(4) { border-top-color: var(--orange); }
.ld-gate p { margin: 0; }
.ld-gate-n { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.ld-gate-m { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ld-gate-amt { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.05; margin-top: 0.35rem !important; }
.ld-gate-cum { font-size: 0.8rem; color: var(--muted); }
.ld-gate-w { font-size: 0.9rem; margin-top: 0.5rem !important; }
.ld-gate-r { font-size: 0.85rem; border-top: 1px dashed var(--line); padding-top: 0.5rem; margin-top: auto !important; }

/* Prioritizer */
.ld-cands { display: grid; gap: 0.75rem; }
@media (min-width: 60rem) { .ld-cands { grid-template-columns: 1fr 1fr; } }
.ld-cand { border: 1px solid var(--line); border-radius: 8px; padding: 0.85rem 0.95rem; background: var(--paper); }
.ld-cand-h { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.ld-cand-h b { flex: 1; font-weight: 700; line-height: 1.25; }
.ld-x { background: transparent; border: 1px solid var(--line); border-radius: 50%; width: 1.8rem; height: 1.8rem; line-height: 1; font-size: 1.1rem; color: var(--muted); }
.ld-x:hover { border-color: var(--danger); color: var(--danger); }
.ld-cand-f { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 0.75rem; margin-bottom: 0.6rem; }
@media (min-width: 30rem) { .ld-cand-f { grid-template-columns: repeat(4, 1fr); } }
.ld-cand-f select { padding: 0.35rem 0.4rem; font-size: 0.9rem; }
.ld-cand-c { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.75rem; }
.ld-cand-c .ld-ck { font-size: 0.85rem; margin-bottom: 0.35rem; }
.ld-badge, .ld-lvl { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--paper-2); white-space: nowrap; }
.ld-l0 { background: #e9d6d2; color: var(--danger); }
.ld-l1 { background: #e6ded5; }
.ld-l2 { background: #f3d9c6; color: #6b2a0c; }
.ld-l3 { background: #f6b896; color: #4a1a04; }
.ld-l4 { background: var(--orange); color: var(--ink); }
.ld-add { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; margin-top: 0.9rem; }
.ld-add label { flex: 1 1 16rem; font-size: 0.9rem; font-weight: 600; display: grid; gap: 0.3rem; }
.ld-add .btn { min-height: 2.6rem; padding: 0.45rem 1.1rem; }
.ld-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; counter-reset: rk; }
.ld-rank li { counter-increment: rk; display: grid; grid-template-columns: 1.8rem minmax(8rem, 15rem) 1fr 2.2rem 5.5rem; gap: 0.6rem; align-items: center; font-size: 0.92rem; }
.ld-rank li::before { content: counter(rk, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--orange-text); }
.ld-rank b { text-align: right; font-variant-numeric: tabular-nums; }
.ld-rank small { color: var(--muted); }
.ld-bar { height: 0.6rem; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.ld-bar i { display: block; height: 100%; background: var(--orange); border-radius: 999px; transition: width 0.35s; }
@media (max-width: 40rem) { .ld-rank li { grid-template-columns: 1.6rem 1fr 2rem; } .ld-rank .ld-bar, .ld-rank small { display: none; } }
.ld-waves { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.ld-wave { border-radius: 8px; padding: 0.85rem 0.95rem; background: var(--paper); border-left: 4px solid var(--ink); }
.ld-wave p { margin: 0; }
.ld-wave-t { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.15rem; }
.ld-wave-s { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem !important; }
.ld-wave ul { margin: 0; padding-left: 1.1rem; font-size: 0.92rem; }
.ld-w1 { border-left-color: var(--orange); }
.ld-w2 { border-left-color: #c64e22; }
.ld-w3 { border-left-color: #7a4128; }
.ld-wf { border-left-color: #8a8178; }
.ld-wh { border-left-color: var(--danger); }
.ld-empty { list-style: none; margin-left: -1.1rem; color: var(--muted); font-style: italic; }

/* RACI */
.ld-raci th[scope="row"] { min-width: 15rem; font-weight: 600; }
.ld-raci td { text-align: center; }
.ld-raci-key { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.88rem; color: var(--muted); }
.ld-r-A, .ld-r-R, .ld-r-C, .ld-r-I { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; font-size: 0.85rem; font-weight: 700; }
.ld-r-A { background: var(--ink); color: var(--paper); }
.ld-r-R { background: var(--orange); color: var(--ink); }
.ld-r-C { border: 1.5px solid var(--ink); color: var(--ink); }
.ld-r-I { background: var(--paper-2); color: var(--muted); }
.ld-dash { color: #b9b2a8; }

/* Planner */
.ld-plan { font-size: 0.88rem !important; }
.ld-plan td:nth-child(2) { min-width: 12rem; }
.ld-plan td:last-child { min-width: 9rem; }
.ld-plan thead th { white-space: normal !important; }
.ld-plan th[scope="row"] { white-space: nowrap; }
.ld-paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.ld-paths li { background: var(--paper); border-radius: 8px; padding: 0.8rem 0.95rem; display: grid; gap: 0.25rem; border-left: 4px solid var(--orange); }
.ld-paths b { line-height: 1.3; }
.ld-paths span { font-size: 0.9rem; color: var(--muted); }
.ld-paths em { font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-text); }

/* Trust ladder */
.ld-ladder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.35rem; align-items: end; height: 8rem; margin: 0.5rem 0 1rem; }
.ld-ladder span { display: grid; place-items: start center; padding-top: 0.35rem; font-family: var(--font-display); font-weight: 700; background: var(--paper-2); color: var(--muted); border-radius: 4px 4px 0 0; transition: background 0.25s, color 0.25s; }
.ld-ladder span:nth-child(1) { height: 36%; } .ld-ladder span:nth-child(2) { height: 49%; } .ld-ladder span:nth-child(3) { height: 62%; }
.ld-ladder span:nth-child(4) { height: 75%; } .ld-ladder span:nth-child(5) { height: 88%; } .ld-ladder span:nth-child(6) { height: 100%; }
.ld-ladder .past { background: #d9cfc3; color: var(--ink); }
.ld-ladder .from { background: var(--ink); color: var(--paper); }
.ld-ladder .to { background: var(--orange); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .ld-ladder .to { animation: ldPulse 1.6s ease-in-out infinite; } }
@keyframes ldPulse { 50% { filter: brightness(1.12); } }
.ld-seg { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.ld-segb { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700; color: var(--ink); }
.ld-segb[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ld-ix .ix-sl small { font-weight: 400; color: var(--muted); }

/* Threshold meter */
.ld-meter { position: relative; height: 0.9rem; background: var(--paper-2); border-radius: 999px; margin: 0.5rem 0 0.25rem; }
.ld-meter-p { position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); border-radius: 999px; transition: width 0.25s; }
.ld-meter-t { position: absolute; top: -0.35rem; bottom: -0.35rem; width: 3px; background: var(--ink); transform: translateX(-1px); transition: left 0.25s; }

/* Control room */
.ld-cr { background: #0c0c0c; color: #e9e6df; border-radius: 10px; overflow: hidden; border: 1px solid #222; }
.ld-cr-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.9rem; background: #181818; font-size: 0.8rem; color: #aaa; }
.ld-cr-bar span { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #444; }
.ld-cr-bar b { margin-left: 0.6rem; font-weight: 500; }
.ld-cr-bar em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--orange); letter-spacing: 0.06em; text-transform: uppercase; }
.ld-cr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1px; background: #222; }
.ld-cr-tiles div { background: #111; padding: 0.85rem 1rem; display: grid; gap: 0.25rem; border-top: 3px solid transparent; }
.ld-cr-tiles div.ok { border-top-color: #3a8f5c; }
.ld-cr-tiles div.warn { border-top-color: #ff6b5b; }
.ld-cr-tiles span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #a9a49b; font-weight: 600; }
.ld-cr-tiles b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: #fff; }
.ld-cr .ld-tablewrap { background: #0c0c0c; border: 0; border-radius: 0; margin: 0; }
.ld-cr .ld-tablewrap th, .ld-cr .ld-tablewrap td { border-bottom-color: #222; }
.ld-cr .ld-tablewrap thead th { background: #161616; color: #bdb8af; }
.ld-cr-t { font-size: 0.84rem !important; }
.ld-cr-t th, .ld-cr-t td { padding: 0.55rem 0.5rem !important; }
.ld-cr-t thead th { white-space: normal !important; vertical-align: bottom !important; }
.ld-cr-t th[scope="row"] { font-weight: 600; min-width: 9.5rem; }
.ld-cr-t th small, .ld-cr-t td small { display: block; font-weight: 400; font-size: 0.75rem; color: #8f8a82; }
.ld-cr-t tr.is-stopped > * { opacity: 0.55; }
.ld-cr-t tr.is-stopped td:last-child { opacity: 1; }
.ld-cr .ld-num { color: #e9e6df; }
.ld-cr .ld-bad { color: #ff8a7d; font-weight: 700; }
.ld-spark { display: block; margin-top: 0.25rem; }
.ld-spark polyline { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.ld-sig { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; background: #22301f; color: #8fe0a9; white-space: nowrap; }
.ld-sig.red { background: #3a1915; color: #ff8a7d; }
.ld-sig.green { background: var(--orange); color: var(--ink); }
.ld-sig.stop { background: #333; color: #ddd; }
.ld-stop { background: transparent; color: #f2a07f; border: 1px solid #f2a07f; border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.8rem; font-weight: 700; }
.ld-stop[aria-pressed="true"] { background: #f2a07f; color: #111; }
.ld-cr-alerts { padding: 0.25rem 1rem 0.5rem; }
.ld-cr .ld-h { color: #f2a07f; }
.ld-cr .ld-checks li.ok::before { color: #5cc98a; }
.ld-cr .ld-checks li.warn::before { color: #ff6b5b; }
.ld-asks { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.35rem; color: #d8d4cc; }
.ld-cr .cta-row { padding: 0 1rem 1rem; margin-top: 0.5rem; }
.ld-cr .btn-ghost { color: #e9e6df; }
.ld-cr .ld-lvl { background: #2a2a2a; color: #e9e6df; }
.ld-cr .ld-lvl.ld-l3 { background: var(--orange); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .lq-body { animation: none; }
  .ld-split span, .ld-bar i, .ld-meter-p, .ld-meter-t, .lq-plus, .lq-plus::after { transition: none; }
}
@media print {
  .lq-tabbar, .lq-toolnav, .ld-ix { display: none !important; }
  .lq-panel[hidden] { display: block !important; }
}
