/* expenseWeb.css — "The web" (Expense Correlation) */
.web-house { display: flex; flex-direction: column; gap: 14px; }
.web-controls { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 10px 14px; background: #fff; border: 1px solid var(--liq-border, #d7dfda); border-radius: 12px; }
.web-seg { display: inline-flex; background: #eef2f0; border-radius: 9px; padding: 3px; gap: 2px; }
.web-seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font: 600 .8rem var(--liq-font-body); color: #3c4a45; cursor: pointer; }
.web-seg button.on { background: #fff; color: #10231d; box-shadow: 0 1px 2px rgba(16,35,29,.15); }
.web-thr { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #3c4a45; }
.web-thr output { font: 700 .85rem var(--liq-font-mono); color: #10231d; }
.web-thr input { accent-color: #1f5c4d; width: 140px; }
.web-card { background: #fff; border: 1px solid var(--liq-border, #d7dfda); border-radius: 16px; padding: 18px 20px; }
.web-card-title { font-family: var(--liq-font-display); font-size: 1.25rem; font-weight: 600; color: #10231d; }
.web-card-title.sm { font-size: 1rem; margin-bottom: 6px; }
.web-sub { font-size: .84rem; color: #56645f; margin: 4px 0 12px; line-height: 1.5; }
.web-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .web-grid { grid-template-columns: 1fr; } }
.web-ring { background: radial-gradient(circle at 50% 50%, #fbfcfb 0, #fbfcfb 55%, #f3f6f4 100%); }
.web-svg { width: 100%; height: auto; display: block; }
.web-svg .web-link { transition: stroke-opacity .15s ease; }
.web-svg.focus .web-link { stroke-opacity: .06; }
.web-svg.focus .web-link.hot { stroke-opacity: .95; }
.web-node { cursor: pointer; outline: none; }
.web-node.hot circle { fill: #c5891f; }
.web-node:focus-visible circle { stroke: #c5891f; stroke-width: 3; }
.web-side { background: #10231d; color: #dce7e2; border-color: #10231d; }
.web-kicker { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb7ad; font-weight: 700; }
.web-big { font: 700 3.2rem var(--liq-font-mono); color: #fff; line-height: 1.05; margin-top: 6px; }
.web-big-sub { font-size: .88rem; color: #b8c7c0; }
.web-lead { font-size: .9rem; line-height: 1.55; color: #e8efeb; margin: 14px 0; }
.web-lead strong { color: #fff; }
.web-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .74rem; color: #b8c7c0; margin-bottom: 10px; }
.web-legend i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 5px; border-radius: 2px; }
.web-legend i.pine { background: #5ea892; } .web-legend i.clay { background: #d08a7e; } .web-legend i.dash { background: repeating-linear-gradient(90deg, #9fb7ad 0 4px, transparent 4px 7px); }
.web-list { display: grid; gap: 6px; }
.web-pair { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; border-radius: 9px; padding: 8px 10px; font: 500 .8rem var(--liq-font-body); cursor: pointer; }
.web-pair.exp { opacity: .6; }
.web-pair em { font-style: normal; color: #9fb7ad; }
.web-pair b { font-family: var(--liq-font-mono); }
.web-pair b.pos { color: #8fd1b8; } .web-pair b.neg { color: #f0a597; }
.web-pair:hover { background: rgba(255,255,255,.12); }
.web-foot { font-size: .74rem; color: #9fb7ad; margin: 12px 0 0; line-height: 1.45; }
.web-pairs { display: grid; gap: 6px; }
.web-prow { display: grid; grid-template-columns: minmax(180px, 1.2fr) auto 70px minmax(120px, .8fr); gap: 12px; align-items: center; text-align: left; border: 1px solid #e3e9e5; border-radius: 10px; background: #fff; padding: 8px 12px; cursor: pointer; font: inherit; color: inherit; }
.web-prow:hover { border-color: #1f5c4d; }
.web-prow-names { display: flex; flex-direction: column; font-size: .82rem; color: #10231d; }
.web-prow-spark { display: flex; flex-direction: column; gap: 2px; }
.web-prow-r { font: 700 1rem var(--liq-font-mono); text-align: right; }
.web-prow-r.pos, .web-side-r.pos { color: #1f5c4d; } .web-prow-r.neg, .web-side-r.neg { color: #8e463e; }
.web-prow-tag { font-size: .74rem; color: #56645f; }
@media (max-width: 760px) { .web-prow { grid-template-columns: 1fr auto; } .web-prow-spark, .web-prow-tag { display: none; } }
.web-matrix-wrap { overflow-x: auto; }
.web-matrix { border-collapse: separate; border-spacing: 2px; font: 600 .72rem var(--liq-font-mono); }
.web-matrix th { font: 600 .72rem var(--liq-font-body); color: #3c4a45; text-align: right; padding: 2px 6px; white-space: nowrap; }
.web-matrix thead th { height: 120px; vertical-align: bottom; }
.web-matrix thead th span { display: inline-block; transform: rotate(-55deg); transform-origin: left bottom; white-space: nowrap; width: 22px; }
.web-matrix td { width: 44px; height: 30px; text-align: center; border-radius: 4px; position: relative; }
.web-matrix td.blank { background: transparent; }
.web-matrix td i { position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.web-side-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .88rem; color: #3c4a45; }
.web-side-pick select { padding: 7px 10px; border: 1px solid #cdd8d2; border-radius: 8px; font: 600 .86rem var(--liq-font-body); max-width: 280px; }
.web-side-r { font: 700 .95rem var(--liq-font-mono); margin-left: auto; }
.web-side-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1000px) { .web-side-grid { grid-template-columns: 1fr; } }
