/* Topic pages of the Systemlandschaft (#254). Prefix slt-. Same ground as system_landscape.css: the
   window's width, square and flat, design-system tokens only. Nothing scrolls sideways — a table
   row stacks into a card on a phone, the data path stacks top to bottom. */

.slt-page { font-family: var(--font-sans); margin: 0; padding: 0 clamp(16px, 3vw, 48px) 48px; color: var(--fill-primary); min-width: 0; }
.slt-header { border-bottom: var(--underline-bar) solid var(--bm-main); padding-bottom: 1rem; display: grid; gap: .5rem; }
.slt-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8125rem; color: var(--grey-600); }
.slt-crumbs a { color: var(--bm-main); text-decoration: none; }
.slt-crumbs a:hover { text-decoration: underline; }
.slt-crumbs [aria-current="page"] { color: var(--fill-primary); font-weight: 600; }
.slt-kicker { margin: 0; font-family: ui-monospace, monospace; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bm-main); font-weight: 700; }
.slt-header h1 { margin: 0; font-size: 1.75rem; font-weight: 600; color: var(--bm-main); letter-spacing: .02em; }
.slt-lede { margin: 0; max-width: 78ch; font-size: .9375rem; }
.slt-meta { margin: 0; color: var(--grey-600); font-size: .8125rem; }
.slt-meta b { color: var(--fill-primary); font-weight: 600; }
.slt-meta--warn { color: var(--fill-primary); border-left: var(--underline-bar) solid var(--bm-main); padding-left: .5rem; }

.slt-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .5rem; }
.slt-tabs .slt-tab { font-size: .875rem; font-weight: 500; color: var(--bm-main); text-decoration: none; border: 1px solid var(--bm-main); border-radius: var(--radius-none); padding: .3rem .9rem; }
.slt-tabs .slt-tab:hover { background: var(--grey-100); }
.slt-tabs .slt-tab[aria-current="page"] { background: var(--bm-main); color: var(--white); }

.slt-part { margin-top: 2.25rem; }
.slt-part h2 { margin: 0 0 .4rem; font-size: 1.25rem; font-weight: 600; color: var(--bm-main); }
.slt-part h3 { margin: 1.2rem 0 .4rem; font-size: 1rem; font-weight: 600; }
.slt-intro { margin: 0 0 .9rem; max-width: 86ch; font-size: .9rem; }
.slt-note { margin: .5rem 0 0; max-width: 86ch; font-size: .8125rem; color: var(--grey-600); }

/* facts: big number, short label */
.slt-facts { margin: .5rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .75rem; }
.slt-fact { background: var(--white); border: 1px solid var(--rule); border-top: var(--underline-bar) solid var(--bm-main); padding: .75rem .9rem; display: grid; gap: .25rem; align-content: start; }
.slt-fact dt { font-size: 1.625rem; font-weight: 700; color: var(--bm-main); font-variant-numeric: tabular-nums; line-height: 1.15; }
.slt-fact dd { margin: 0; font-size: .8125rem; color: var(--fill-primary); }
.slt-fact dd.slt-trend { font-size: .75rem; color: var(--grey-600); font-variant-numeric: tabular-nums; }

/* list */
.slt-list { margin: .5rem 0 1rem; max-width: 92ch; }
.slt-list ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; font-size: .875rem; }
.slt-list--inline ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.slt-list--inline li { font-family: ui-monospace, monospace; font-size: .71875rem; border: 1px solid var(--rule); background: var(--white); padding: .05rem .4rem; }

/* table */
.slt-table { margin: .5rem 0 1.25rem; }
.slt-table__box { background: var(--white); border: 1px solid var(--rule); }
.slt-table table { width: 100%; border-collapse: collapse; font-size: .84375rem; }
.slt-table th, .slt-table td { text-align: left; padding: .45rem .65rem; border-bottom: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.slt-table thead th { background: var(--grey-100); font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.slt-table tbody tr:last-child td { border-bottom: 0; }
.slt-table .slt-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slt-table .slt-key { font-weight: 600; min-width: 8.5rem; overflow-wrap: normal; hyphens: auto; }
.slt-table thead th:first-child { overflow-wrap: normal; }
.slt-table td b { display: block; font-weight: 600; }
.slt-table td small { display: block; color: var(--grey-600); font-size: .71875rem; }

/* flow: stages left to right with an arrow between, stacked on a phone */
.slt-flow { list-style: none; margin: .75rem 0 1.25rem; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2rem; }
.slt-flow__stage { position: relative; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.slt-flow__stage + .slt-flow__stage::before { content: "→"; position: absolute; left: -1.55rem; top: 2.1rem; font-size: 1.25rem; font-weight: 700; color: var(--bm-main); }
.slt-flow__title { margin: 0; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--grey-600); }
.slt-flow__nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.slt-flow__node { background: var(--white); border: 1px solid var(--rule); border-left: var(--underline-bar) solid var(--bm-main); padding: .55rem .75rem; display: grid; gap: .2rem; }
.slt-flow__node b { font-size: .9rem; font-weight: 600; }
.slt-flow__node span { font-size: .78125rem; color: var(--grey-600); }

/* tiles to the sub-pages, and the topic tiles on /doku/systemlandschaft */
.slt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .75rem; }
.slt-tile { display: grid; gap: .3rem; align-content: start; text-decoration: none; color: var(--fill-primary); background: var(--white); border: 1px solid var(--rule); border-top: var(--underline-bar) solid var(--bm-main); padding: .8rem .95rem; }
.slt-tile:hover { border-color: var(--bm-main); }
.slt-tile__title { font-weight: 600; color: var(--bm-main); }
.slt-tile__text { font-size: .8125rem; }
.slt-topics { margin-top: 1.5rem; }
.slt-topics h2 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 600; color: var(--bm-main); }
.slt-topic-link { font-size: .75rem; font-weight: 500; color: var(--bm-main); }

.slt-footer { margin-top: 2.5rem; border-top: 1px solid var(--rule); padding-top: .8rem; color: var(--grey-600); font-size: .78125rem; display: grid; gap: .4rem; }
.slt-footer p { margin: 0; max-width: 120ch; }

@media (max-width: 760px) {
  .slt-flow { grid-auto-flow: row; grid-template-columns: 1fr; gap: 1.6rem; }
  .slt-flow__stage + .slt-flow__stage::before { content: "↓"; left: 0; top: -1.45rem; }
  .slt-table__box { border: 0; background: transparent; }
  .slt-table table, .slt-table tbody, .slt-table tr, .slt-table td { display: block; width: auto; }
  .slt-table thead { display: none; }
  .slt-table tr { background: var(--white); border: 1px solid var(--rule); margin-bottom: .5rem; }
  .slt-table td { border-bottom: 0; padding: .2rem .65rem; }
  .slt-table td.slt-num { text-align: left; }
  .slt-table td[data-label]::before { content: attr(data-label); display: block; font-size: .65625rem; letter-spacing: .04em; text-transform: uppercase; color: var(--grey-600); font-weight: 700; }
}

/* #275 Produktsuche: live figures, tool table, search path. Prefix pst-. */
.pst-missing { font-size: 1rem !important; color: var(--grey-600) !important; }
.pst-figure--missing { border-top-color: var(--grey-400); }
.pst-tools .pst-offer { display: block; margin-top: .3rem; color: var(--grey-600); font-size: .75rem; }
.pst-tools code { font-family: ui-monospace, monospace; font-size: .78rem; }
.pst-tools .pst-input { display: inline-block; margin: 0 .25rem .2rem 0; border: 1px solid var(--rule); background: var(--white); padding: 0 .3rem; }
.pst-diagram { margin: .75rem 0 1rem; }
.pst-flow { margin: 0; background: var(--white); border: 1px solid var(--rule); padding: .75rem; }
.pst-flow svg { display: block; width: 100%; height: auto; }
.pst-flow__tall { display: none !important; max-width: 360px; margin: 0 auto; }
.pst-flow__box { fill: var(--white); stroke: var(--bm-main); stroke-width: 2; }
.pst-flow__box--start { fill: var(--bm-main); }
.pst-flow__box--start + .pst-flow__title, .pst-flow__box--start + .pst-flow__title + .pst-flow__text { fill: var(--white); }
.pst-flow__side { fill: var(--grey-100); stroke: var(--grey-400); stroke-width: 1; }
.pst-flow__title { font-family: ui-monospace, monospace; font-size: 15px; font-weight: 700; fill: var(--bm-main); }
.pst-flow__text { font-family: var(--font-sans); font-size: 12.5px; fill: var(--fill-primary); }
.pst-flow__line { stroke: var(--bm-main); stroke-width: 2; }
.pst-flow__head { fill: var(--bm-main); }
.pst-flow__caption { margin-top: .5rem; font-size: .8125rem; color: var(--grey-600); }
@media (max-width: 640px) {
  .pst-flow__wide { display: none !important; }
  .pst-flow__tall { display: block !important; }
}
.pst-code { margin: .5rem 0 1rem; max-width: 100%; background: var(--grey-100); border: 1px solid var(--rule); border-left: var(--underline-bar) solid var(--bm-main); padding: .75rem .9rem; font-family: ui-monospace, monospace; font-size: .78rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
/* #275 history: sparkline next to a figure, the big line on the history page */
.slt-fact dd.pst-trend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .75rem; color: var(--grey-600); font-variant-numeric: tabular-nums; }
.slt-fact dd.pst-history { font-size: .75rem; }
.slt-fact dd.pst-history a { color: var(--bm-main); }
.slt-spark { display: block; overflow: visible; }
.slt-spark__line { fill: none; stroke: var(--bm-main); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.slt-spark__dot { fill: var(--bm-main); fill-opacity: .35; }
.slt-spark__dot--end { fill-opacity: 1; }
.slt-spark__gap { stroke: var(--grey-400); stroke-width: 1.5; stroke-dasharray: 3 3; }
.slt-spark--big .slt-spark__line { stroke-width: 2.5; }
.pst-history-chart { background: var(--white); border: 1px solid var(--rule); padding: .75rem; max-width: 680px; }
.pst-history-chart .slt-spark { width: 100%; height: auto; }
/* #275 "Probier's aus" */
.pst-trial { margin: .75rem 0 1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 860px; }
/* An implicit grid column takes its content's width — the forms grew to 722 px on a 390 px phone. */
.pst-trial > * { min-width: 0; }
.pst-trial__form { background: var(--white); border: 1px solid var(--rule); border-top: var(--underline-bar) solid var(--bm-main); padding: .75rem .9rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.pst-trial__form--word { border-top-color: var(--grey-400); }
.pst-trial__label { font-weight: 600; font-size: .875rem; }
.pst-trial__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pst-trial__input { flex: 1 1 14rem; min-width: 0; font: inherit; padding: .45rem .6rem; border: 1px solid var(--grey-400); border-radius: var(--radius-none); }
.pst-trial__select { font: inherit; padding: .45rem; border: 1px solid var(--grey-400); border-radius: var(--radius-none); background: var(--white); }
.pst-trial__button { font: inherit; font-weight: 600; padding: .45rem 1rem; border: 1px solid var(--bm-main); background: var(--bm-main); color: var(--white); border-radius: var(--radius-none); cursor: pointer; }
.pst-trial__button--quiet { background: var(--white); color: var(--bm-main); }
.pst-trial__hint { margin: 0; font-size: .8125rem; color: var(--grey-600); }
.pst-trial__refused { margin: 0; border-left: var(--underline-bar) solid var(--bm-main); padding-left: .5rem; }
.pst-result { display: grid; gap: .5rem; }
.pst-result h3 { margin: .8rem 0 0; font-size: 1rem; }
.pst-vocab { margin: 0; padding-left: 1.1rem; font-size: .875rem; }
.pst-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.pst-step { display: grid; grid-template-columns: minmax(0, 14rem) auto; gap: .1rem .75rem; align-items: baseline; background: var(--white); border: 1px solid var(--rule); border-left: var(--underline-bar) solid var(--grey-400); padding: .4rem .6rem; font-size: .8125rem; }
.pst-step--hit { border-left-color: var(--bm-main); }
.pst-step--skipped { color: var(--grey-600); }
.pst-step__name { font-weight: 600; }
.pst-step__count { font-variant-numeric: tabular-nums; }
.pst-step__detail { grid-column: 1 / -1; color: var(--grey-600); overflow-wrap: anywhere; }
.pst-step-note { margin: 0; font-size: .8125rem; color: var(--grey-600); }
.pst-hits { margin: 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.pst-hit { display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline; background: var(--white); border: 1px solid var(--rule); padding: .45rem .6rem; font-size: .8125rem; }
.pst-hit__number { font-family: ui-monospace, monospace; font-size: .75rem; color: var(--grey-600); }
.pst-hit__brand { color: var(--grey-600); }
.pst-hit__meta { flex-basis: 100%; color: var(--grey-600); font-size: .75rem; }
.pst-badge { font-size: .6875rem; border: 1px solid var(--rule); padding: 0 .35rem; background: var(--grey-100); white-space: nowrap; }
.pst-badge--shop { border-color: var(--bm-main); color: var(--bm-main); background: var(--white); }
.pst-badge--pim { background: var(--bm-main); color: var(--white); border-color: var(--bm-main); }
.pst-badge--partial { background: var(--white); }
@media (max-width: 640px) { .pst-step { grid-template-columns: 1fr; } }

/* #263a Zugaenge: the access chain from the code. Prefix acc-. */
.acc-role { display: inline-block; margin: 0 .2rem .2rem 0; font-family: ui-monospace, monospace; font-size: .78rem; border: 1px solid var(--rule); background: var(--white); padding: 0 .3rem; overflow-wrap: anywhere; }
.acc-role--all { font-family: var(--font-sans); background: var(--grey-100); }
.acc-table td { overflow-wrap: anywhere; }
.acc-child .slt-key { padding-left: 1.4rem; }
.acc-parent { display: block; font-size: .7rem; color: var(--grey-600); }
.acc-same, .acc-also { color: var(--grey-600); font-size: .78rem; }
.acc-also { display: block; }
.acc-flag { font-weight: 700; color: var(--status-warn); }
.acc-gaps { list-style: none; margin: .5rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .75rem; }
.acc-gaps > * { min-width: 0; }
.acc-gap { background: var(--white); border: 1px solid var(--rule); border-left: var(--underline-bar) solid var(--status-warn); padding: .7rem .9rem; display: grid; gap: .3rem; align-content: start; }
.acc-gap__title { margin: 0; font-weight: 600; color: var(--status-warn); }
.acc-gap__title .acc-role { margin-right: 0; }
.acc-gap__line { margin: 0; font-size: .8125rem; }
.acc-fact--gap { border-top-color: var(--status-warn); }
.acc-fact--gap dt { color: var(--status-warn); }
.acc-ok { border-left: var(--underline-bar) solid var(--status-ok); padding-left: .5rem; }
@media (max-width: 760px) { .acc-child .slt-key { padding-left: .65rem; } }
