/* Workbench skin: clean technical documentation for people who build with code,
   data and systems. Skimmable headings with a hairline, dense but calm type,
   monospace where it carries meaning (paths, tools, step numbers), flat surfaces,
   and an "On this page" list beside the text when the column is wide enough.
   Same palette and the same Agentic AI shell as Studio and Briefing (player.css:
   header, outline rail, step tabs, buttons, cards, chips): the skin only changes
   the content column. Applies to <html data-skin="workbench">. */

:root[data-skin="workbench"] .lesson:not(:where(.sim-stage *)) { --measure: 44rem; position: relative; container-type: inline-size; }
:root[data-skin="workbench"] .lesson p:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .lesson li:not(:where(.sim-stage *)) { font-size: 15.5px; line-height: 1.65; }
:root[data-skin="workbench"] .lesson .intro:not(:where(.sim-stage *)) { font-size: 16px; line-height: 1.65; }

/* Headings: documentation sections with a hairline, anchored under the sticky header */
:root[data-skin="workbench"] .sec > h2:not(:where(.sim-stage *)) {
  margin-top: 36px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-size: 20px; letter-spacing: -0.005em;
}
:root[data-skin="workbench"] .lesson h2:not(:where(.sim-stage *)) { scroll-margin-top: 84px; }
:root[data-skin="workbench"] .lesson h3:not(:where(.sim-stage *)) { font-size: 16px; }

/* Flat surfaces: no sheen or glow, small radii */
:root[data-skin="workbench"] .ia:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .case:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .practical:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .takeaway:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .discussion:not(:where(.sim-stage *)) { border-radius: 10px; box-shadow: none; background: var(--panel); }
:root[data-skin="workbench"] .callout:not(:where(.sim-stage *)) { border-radius: 8px; }
:root[data-skin="workbench"] .tip:not(:where(.sim-stage *)) { border-radius: 8px; border-width: 0 0 0 3px; border-color: var(--info); }
:root[data-skin="workbench"] .fig .art:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .sim-stage { border-radius: 10px; }
:root[data-skin="workbench"] .opt:not(:where(.sim-stage *)) { border-radius: 8px; }
:root[data-skin="workbench"] .codeblk:not(:where(.sim-stage *)),
:root[data-skin="workbench"] figure.term:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .ftree:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .nb:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .starter:not(:where(.sim-stage *)),
:root[data-skin="workbench"] .verify:not(:where(.sim-stage *)) { border-radius: 8px; }
:root[data-skin="workbench"] .hint:not(:where(.sim-stage *)) { border-radius: 8px; }

/* Procedure steps: square mono numbers, the tool in mono */
:root[data-skin="workbench"] .step .num:not(:where(.sim-stage *)) { border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--ink); }
:root[data-skin="workbench"] .step .where:not(:where(.sim-stage *)) { font-family: var(--font-mono); text-transform: none; letter-spacing: 0; font-size: 12.5px; }
:root[data-skin="workbench"] .good:not(:where(.sim-stage *)) { border-radius: 8px; }
:root[data-skin="workbench"] .qbar span:not(:where(.sim-stage *)) { transition: none; }

/* On this page: hidden unless the content column leaves room for it on the right */
:root[data-skin="workbench"] .otp:not(:where(.sim-stage *)) { display: none; }
@container (min-width: 58rem) {
  :root[data-skin="workbench"] .otp:not(:where(.sim-stage *)) {
    display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 12rem; max-width: none;
  }
}
:root[data-skin="workbench"] .otp-in:not(:where(.sim-stage *)) {
  position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto;
  padding-left: 14px; border-left: 1px solid var(--line);
}
:root[data-skin="workbench"] .otp .label-mono:not(:where(.sim-stage *)) { margin: 0 0 8px; color: var(--dim); }
:root[data-skin="workbench"] .otp ol:not(:where(.sim-stage *)) { list-style: none; margin: 0; padding: 0; }
:root[data-skin="workbench"] .otp li:not(:where(.sim-stage *)) { margin: 0 0 6px; font-size: 13.5px; line-height: 1.4; }
:root[data-skin="workbench"] .otp a:not(:where(.sim-stage *)) { color: var(--muted); text-decoration: none; }
:root[data-skin="workbench"] .otp a:hover:not(:where(.sim-stage *)) { color: var(--accent-text); text-decoration: underline; }

@media print {
  :root[data-skin="workbench"] .otp:not(:where(.sim-stage *)) { display: none !important; }
}
