/* The Pipelines and Utilities page (src/pipelines/pipelines-twin.js). It wears the Water Quality page's components
   (styles/modules/wq-twin.css); this file holds only what that page did not need: the three door buttons, pipeline lines on the
   map, report rows. Tokens only. No new keyframes (styles/motion.css owns them). "A line is drawn" is never styled as "a pipe is
   here": the lines are thin, dashed by kind, and the map carries its own warning. */

.plx .plx-official { margin-left: auto; }
.wqx .wqx-tile .plx-of { display: inline; font-size: var(--guide-fs-sm); font-weight: 400; color: var(--guide-color-ink-muted); }

/* the three doors, ahead of the reading */
.plx-quick { margin: 0 0 14px; }
.plx-quick-h { margin: 0 0 8px; font-size: var(--guide-fs-md); font-weight: 700; color: var(--guide-color-ink); }
.plx-quick-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plx-door { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--guide-color-border-strong); background: var(--guide-color-paper); color: var(--guide-color-ink); font: inherit; cursor: pointer; }
.plx-door i, .plx-door svg { grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--guide-color-lake); }
.plx-door b { font-size: var(--guide-fs-md); line-height: 1.25; }
.plx-door span { font-size: var(--guide-fs-sm); color: var(--guide-color-ink-soft); line-height: 1.35; }
.plx-door:hover, .plx-door:focus-visible { border-color: var(--guide-color-lake); background: var(--guide-color-bg-1); }

/* sentences under the headline */
.plx-says { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: var(--guide-fs-md); line-height: 1.5; color: var(--guide-color-ink); }
.plx-locate { border-color: var(--guide-color-brick); }
.plx-locate b { color: var(--guide-color-ink); }

/* map */
.plx-map .plx-county { fill: transparent; stroke: var(--guide-color-neutral-300); stroke-opacity: .7; stroke-width: .6; cursor: crosshair; }
.plx-map .plx-county.is-sel { fill: var(--guide-color-bg-2); stroke: var(--guide-color-ink-muted); stroke-width: 1.2; }
.plx-sys { cursor: pointer; }
.plx-sys.is-dim { opacity: .22; }
.plx-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plx-hit { fill: none; stroke: transparent; stroke-width: 9; }
.plx-sys:hover .plx-line { stroke-width: 4; }
.plx-cross { fill: var(--guide-color-ink); stroke: var(--guide-color-paper); stroke-width: 1; }
.plx-rel { fill: var(--guide-color-paper); stroke: var(--guide-color-ink); stroke-width: 1.4; cursor: pointer; }
.plx-rel.is-water { fill: var(--guide-color-lake); stroke: var(--guide-color-paper); stroke-width: 1.6; }
.plx-rel:hover, .plx-rel.is-sel { stroke-width: 2.6; }
.plx-point circle { fill: var(--guide-color-ink); stroke: var(--guide-color-paper); stroke-width: 2; }
.plx-point circle.plx-ring { fill: none; stroke: var(--guide-color-ink); stroke-width: 1.2; stroke-dasharray: 4 3; }
.plx-key { width: 34px; height: 10px; flex: none; }
.wqx-legend i.plx-key-cross { background: var(--guide-color-ink); transform: rotate(45deg) scale(.7); border-radius: 0; }
.wqx-legend i.plx-key-rel { border-radius: 50%; border: 1.4px solid var(--guide-color-ink); background: var(--guide-color-paper); }
.wqx-legend i.plx-key-rel.is-water { background: var(--guide-color-lake); border-color: var(--guide-color-paper); }

/* the layer switches wrap on a phone instead of running off the card */
.plx .wqx-seg-ctl { display: flex; flex-wrap: wrap; gap: 6px; border: 0; border-radius: 0; overflow: visible; }
.plx .wqx-seg-ctl button { border: 1px solid var(--guide-color-border-strong); border-radius: 10px; }
.plx .wqx-card-head { flex-wrap: wrap; row-gap: 8px; }

/* rows, filters, steps */
.plx-meter { display: block; height: 6px; margin: 6px 0 2px; max-width: 360px; border-radius: 3px; background: var(--guide-color-bg-2); overflow: hidden; }
.plx-meter i { display: block; height: 100%; border-radius: 3px; background: var(--guide-color-lake); }
.plx-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.plx-row { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--guide-color-border-subtle); }
.plx-row > div { min-width: 0; }
.plx-row b { font-size: var(--guide-fs-md); overflow-wrap: anywhere; }
.plx-row p { margin: 3px 0; font-size: var(--guide-fs-sm); line-height: 1.45; color: var(--guide-color-ink-soft); overflow-wrap: anywhere; }
.plx-row small { font-size: var(--guide-fs-xs); color: var(--guide-color-ink-muted); }
.plx-row .wqx-pill, .plx-row .wqx-btn { flex: none; }
.plx-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 4px; }
.plx-filters label, .plx-radius { display: grid; gap: 4px; font-size: var(--guide-fs-sm); color: var(--guide-color-ink-soft); }
.plx-filters select, .plx-radius select { padding: 7px 10px; border-radius: 10px; border: 1px solid var(--guide-color-border-strong); background: var(--guide-color-paper); color: var(--guide-color-ink); font: inherit; font-size: var(--guide-fs-sm); }
.plx-steps { margin: 12px 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.plx-lawfor { margin: 16px 0 6px; font-size: var(--guide-fs-sm); color: var(--guide-color-ink-soft); }
.plx-dot-county { background: var(--guide-color-ink); } .plx-dot-place { background: var(--guide-color-neutral-500); }
.plx-dot-operator { background: var(--guide-color-brick); } .plx-dot-river { background: var(--guide-color-lake); }
.plx-partial { fill: none; }

@media (max-width: 560px) { .plx .plx-official { margin-left: 0; } .plx-row { flex-direction: column; gap: 6px; } .plx-says { font-size: var(--guide-fs-sm); } }
@media print {
  .plx .plx-official.wqx-btn, .plx-quick, .wqx-searchwrap, .wqx-scope, .wqx-actions, .plx-filters, .wqx-pager, .wqx-seg-ctl, .wqx-tabs { display: none; }
  .plx-row { break-inside: avoid; } .wqx-lawgrid { display: none; }
}
