/* Preisliste */
#view-pricelist { --prl-line: var(--border-subtle, #3a3a3a); --prl-muted: var(--text-muted, #bfbfbf); --prl-soft: var(--bg-elevated, #262626); --prl-ok: #7fd3a4; --prl-low: #f5b862; --prl-high: #ff8a8a; }
#view-pricelist [hidden] { display: none !important; }
.prl-head { margin-bottom: 14px; }
.prl-head h2 { margin: 2px 0 6px; }
.prl-head p { margin: 0 0 4px; color: var(--prl-muted); font-size: 13px; max-width: 820px; line-height: 1.6; }
.prl-eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--prl-muted); }
.prl-meta { font-size: 12px !important; }
.prl-legend { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; }
.prl-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.prl-legend i.is-ok, .prl-bar-own.is-ok { background: var(--prl-ok); }
.prl-legend i.is-low, .prl-bar-own.is-low { background: var(--prl-low); }
.prl-legend i.is-high, .prl-bar-own.is-high { background: var(--prl-high); }
.prl-search { position: relative; margin: 12px 0 10px; }
.prl-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--prl-muted); }
.prl-search input { width: 100%; box-sizing: border-box; padding: 13px 14px 13px 40px; font-size: 16px; border-radius: 12px; }
.prl-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.prl-chips button { background: var(--prl-soft); border: 1px solid var(--prl-line); color: var(--text-main, #fff); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.prl-chips button b { color: var(--prl-muted); font-weight: 600; margin-left: 2px; }
.prl-chips button.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--text-main, #fff); }
.prl-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prl-colhead, .prl-row { display: grid; grid-template-columns: minmax(0, 2.2fr) 54px minmax(150px, 1.15fr) minmax(130px, 1fr) 110px 18px; gap: 12px; align-items: center; }
.prl-colhead { padding: 0 14px 6px; font-size: 11px; color: var(--prl-muted); text-transform: uppercase; letter-spacing: .06em; }
.prl-group { margin-bottom: 18px; }
.prl-group h3 { font-size: 14px; font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--text-main, #fff); }
.prl-group h3 i { color: var(--accent); width: 18px; }
.prl-group h3 span { color: var(--prl-muted); font-weight: 500; font-size: 12px; }
.prl-item { border: 1px solid var(--prl-line); border-radius: 12px; background: var(--prl-soft); margin-bottom: 6px; }
.prl-item.is-open { border-color: var(--accent); }
.prl-row { width: 100%; background: none; border: 0; color: inherit; font: inherit; text-align: left; padding: 11px 14px; cursor: pointer; border-radius: 12px; }
.prl-row:hover { background: rgba(255,255,255,.03); }
.prl-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.prl-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prl-name b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.prl-name small { font-size: 11.5px; color: var(--prl-muted); overflow-wrap: anywhere; }
.prl-unit { font-size: 12px; color: var(--prl-muted); }
.prl-total { display: flex; flex-direction: column; gap: 3px; font-variant-numeric: tabular-nums; }
.prl-total b { font-size: 14px; }
.prl-total small, .prl-split small, .prl-own small { font-size: 11.5px; color: var(--prl-muted); }
.prl-split { display: flex; flex-direction: column; gap: 3px; font-variant-numeric: tabular-nums; }
.prl-split small span { display: inline-block; min-width: 54px; }
.prl-own { display: flex; flex-direction: column; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.prl-own.is-ok b { color: var(--prl-ok); } .prl-own.is-low b { color: var(--prl-low); } .prl-own.is-high b { color: var(--prl-high); }
.prl-caret { color: var(--prl-muted); transition: transform .15s; }
.prl-item.is-open .prl-caret { transform: rotate(180deg); }
.prl-bar { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); margin-top: 3px; max-width: 170px; }
.prl-bar-range { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--accent-soft); }
.prl-bar-common { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.prl-bar-typ { position: absolute; top: -2px; width: 2px; height: 10px; background: var(--text-main, #fff); transform: translateX(-1px); border-radius: 1px; }
.prl-bar-own { position: absolute; top: -3px; width: 12px; height: 12px; border-radius: 50%; transform: translateX(-6px); border: 2px solid var(--bg, #202020); }
.prl-muted { color: var(--prl-muted); }
.prl-detail { padding: 2px 14px 14px; border-top: 1px solid var(--prl-line); }
.prl-note { font-size: 13px; color: var(--text-main, #fff); line-height: 1.6; margin: 10px 0; }
.prl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 10px 0; }
.prl-facts div { border: 1px solid var(--prl-line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; }
.prl-facts span { font-size: 11px; color: var(--prl-muted); }
.prl-facts b { font-size: 14px; font-variant-numeric: tabular-nums; }
.prl-facts small { font-size: 11.5px; color: var(--prl-muted); font-variant-numeric: tabular-nums; }
.prl-basis { font-size: 12px; color: var(--prl-muted); margin: 0 0 8px; }
.prl-count { font-size: 12px; color: var(--prl-muted); margin: -6px 0 10px; min-height: 0; }
.prl-count:empty { display: none; }
.prl-detail h4 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--prl-muted); }
.prl-ownbox { border-left: 3px solid var(--prl-ok); padding: 2px 0 2px 12px; margin: 10px 0; }
.prl-ownbox.is-low { border-color: var(--prl-low); } .prl-ownbox.is-high { border-color: var(--prl-high); }
.prl-ownbox p { margin: 0 0 6px; font-size: 13px; }
.prl-ownbox ul, .prl-sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 12.5px; }
.prl-sources a { color: var(--text-main, #fff); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.prl-src-kind { display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 99px; border: 1px solid currentColor; margin-right: 4px; color: var(--prl-muted); }
.prl-src-kind.is-cype { color: #9fb8ff; } .prl-src-kind.is-market { color: var(--prl-ok); } .prl-src-kind.is-shop { color: var(--prl-low); } .prl-src-kind.is-rovex { color: var(--text-main, #fff); border-color: var(--accent); } .prl-src-kind.is-index { color: var(--text-main, #fff); }
.prl-src-val { color: var(--text-muted, #bfbfbf); }
.prl-empty { padding: 24px; border: 1px dashed var(--prl-line); border-radius: 12px; color: var(--prl-muted); }
.prl-foot { font-size: 11.5px; color: var(--prl-muted); line-height: 1.6; margin-top: 18px; max-width: 900px; }
@media (min-width: 901px) { .prl-head .prl-eyebrow, .prl-head h2 { display: none; } }
@media (max-width: 900px) {
  .prl-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .prl-chips::-webkit-scrollbar { display: none; }
  .prl-chips button { flex: 0 0 auto; }
  .prl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prl-colhead { display: none; }
  .prl-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name own" "total split" "unit caret"; gap: 6px 12px; }
  .prl-name { grid-area: name; } .prl-own { grid-area: own; } .prl-total { grid-area: total; } .prl-split { grid-area: split; text-align: right; }
  .prl-unit { grid-area: unit; } .prl-caret { grid-area: caret; justify-self: end; }
  .prl-split small span { min-width: 0; margin-right: 4px; }
}
@media (prefers-reduced-motion: reduce) { .prl-caret { transition: none; } }
