/* The Ujë tab (App Dev, 2026-11-14). Same cards and fields as Solar (solar.css); water blue as the accent. */
.wt { --ac: #1f6fb2; --ac-l: #e5f0fa; --wt: #1f6fb2; }
.wt-lab { display: grid; grid-template-columns: 1fr 84px 84px; gap: 6px 8px; align-items: center; font: 600 13px var(--sans); color: var(--ink-2); }
.wt-lab b { font-size: 12px; text-align: center; color: var(--ink-2); }
.wt-lab input { width: 100%; box-sizing: border-box; height: 38px; border: 1px solid #e3e3e8; border-radius: 10px; padding: 0 8px; font: 500 15px var(--sans); color: var(--ink); text-align: right; }
.wt-lab input:focus { outline: 2px solid var(--ac); }
.wt-bar { display: flex; height: 34px; border-radius: 10px; overflow: hidden; gap: 2px; margin: 6px 0 2px; }
.wt-bar i { display: flex; align-items: center; justify-content: center; min-width: 0; font: 600 11.5px var(--sans); font-style: normal; color: #fff; overflow: hidden; }
.wt-bar i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
.k-rec { background: #0a8f5b; } .k-loss { background: #9aa7b6; } .k-san { background: #6aa6d9; } .k-proc { background: #1f6fb2; }
.wt-down { color: #0a8f5b; } .wt-up { color: #c8372d; }
.wt-t td, .wt-t th { white-space: nowrap; }

.wt-pipe-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: center; }
.wt-svg { width: 100%; height: auto; display: block; }
.wt-ground { stroke: #d9dde3; stroke-width: 2; stroke-dasharray: 6 6; }
.wt-box { fill: #fbfcfd; stroke: #cfd6de; stroke-width: 1.2; stroke-linejoin: round; }
.wt-top { filter: brightness(1.03); } .wt-side { filter: brightness(.9); }
.wt-bl { font: 700 15px var(--sans); fill: var(--ink); text-anchor: middle; }
.wt-bs { font: 500 12px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.wt-lb { font: 600 11.5px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.wt-q { font: 700 12px var(--sans); fill: var(--wt); text-anchor: middle; }
.wt-pp { fill: none; stroke: #aab6c3; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.wt-ph { fill: none; stroke: #e6ecf2; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-4px); }
.wt-flow { fill: none; stroke: #4aa3ea; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 10 12; animation: wt-run 1.2s linear infinite; }
.wt-dirty { stroke: #8f7f5a; }
@keyframes wt-run { to { stroke-dashoffset: -22; } }
.wt-tank { fill: #e7eef5; stroke: #9fb1c3; stroke-width: 1.2; }
.wt-fat { fill: #f1d27a; }
.wt-mh { fill: #eef2f6; stroke: #9fb1c3; stroke-width: 1.2; }
.wt-sewer { fill: #6b7787; stroke: #56606d; stroke-width: 1; }
.wt-d { fill: #0b0b0d; } .wt-dial { fill: #4aa3ea; } .wt-scr { fill: #4aa3ea; } .wt-wave { stroke: #4aa3ea; stroke-width: 2; fill: none; }
.wt-hose, .wt-rod { stroke: #0b0b0d; stroke-width: 3; fill: none; }
.wt-hit { fill: transparent; }
.wt-dev { cursor: pointer; outline: none; }
.wt-pin { fill: #fff; stroke: var(--wt); stroke-width: 2; transition: transform .2s; }
.wt-pinn { font: 700 11px var(--sans); fill: var(--wt); text-anchor: middle; pointer-events: none; }
.wt-dev.on .wt-pin, .wt-dev:focus-visible .wt-pin { fill: var(--wt); }
.wt-dev.on .wt-pinn, .wt-dev:focus-visible .wt-pinn { fill: #fff; }
.wt-devinfo { background: var(--ac-l); border-radius: 16px; padding: 16px 18px; font-size: 14.5px; line-height: 1.5; }
.wt-devinfo p { margin: 8px 0 0; }

.wt-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wt-st { background: #f6f8fb; border-radius: 16px; padding: 14px; }
.wt-st svg { width: 100%; height: auto; display: block; }
.wt-st h4 { margin: 10px 0 4px; font-size: 16px; }
.wt-st p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.wt-st-n { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.wt-st-n .ar-n { font-size: 17px; color: var(--wt); }
.wt-tk { fill: #dcebf8; stroke: #8fb3d6; stroke-width: 2; }
.wt-bio { fill: #dff1e8; stroke: #8cc7a9; }
.wt-fatl { fill: #f1d27a; } .wt-sl { fill: #8b7a5e; } .wt-baf { stroke: #8fb3d6; stroke-width: 3; }
.wt-air { stroke: #6b7787; stroke-width: 3; stroke-dasharray: 2 6; }
.wt-up-d { fill: #e8b93c; animation: wt-rise 3s ease-in infinite; }
.wt-down-d { fill: #7c6a4c; animation: wt-sink 3s ease-in infinite; }
.wt-bub { fill: none; stroke: #4aa3ea; stroke-width: 1.5; animation: wt-rise 2.4s linear infinite; }
@keyframes wt-rise { from { transform: translateY(40px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-36px); opacity: 0; } }
@keyframes wt-sink { from { transform: translateY(-36px); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(40px); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .wt-flow, .wt-up-d, .wt-down-d, .wt-bub { animation: none; } }
@media (max-width: 900px) { .wt-pipe-grid, .wt-stages { grid-template-columns: 1fr; } }
/* devices (research/wastewater-devices.md) and the 8-step train */
.wt-h4 { margin: 20px 0 10px; font-size: 16px; }
.wt-legal { background: #fff7e6; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.7; }
.wt-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #f0f0f3; font: 600 12px var(--sans); color: var(--ink-2); white-space: nowrap; }
.wt-badge.req { background: #c8372d; color: #fff; }
.wt-devs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.wt-dc { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; background: #f6f8fb; }
.wt-dc header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.wt-dc h4 { margin: 0; font-size: 15px; line-height: 1.3; }
.wt-dc p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.wt-dc dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: 13px; }
.wt-dc dt { color: var(--ink-2); } .wt-dc dd { margin: 0; font-weight: 600; }
.wt-dc small a { color: var(--wt); }
.wt-train { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: s; }
.wt-train li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 14px; background: #f6f8fb; animation: wt-step 8s infinite; animation-delay: calc(var(--i) * 1s); }
.wt-train li > b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wt); color: #fff; font: 700 14px var(--sans); }
.wt-train h5 { margin: 4px 0 2px; font-size: 15px; } .wt-train h5 span { font: 600 11.5px var(--sans); color: var(--ink-2); margin-left: 6px; }
.wt-train p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.wt-train li.opt { opacity: .55; } .wt-train li.opt > b { background: #9aa7b6; }
@keyframes wt-step { 0%, 12% { background: #dcebf8; box-shadow: inset 4px 0 0 var(--wt); } 13%, 100% { background: #f6f8fb; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .wt-train li { animation: none; } }

/* "Sot": today's water as liquid in a glass that tilts with the phone (D-028 update, App Dev 2026-11-14) */
.wd-card { margin-bottom: 18px; }
.wd { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.wd-glass { position: relative; width: 100%; max-width: 220px; aspect-ratio: 160 / 212; margin: 0 auto; }
.wd-glass svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 14px 26px rgba(31,111,178,.22)); }
.wd-rim { fill: none; stroke: rgba(31,111,178,.25); stroke-width: 3; }
.wd-goal { stroke: #0b0b0d; stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .45; }
.wd-liq { transition: transform .25s ease-out; }
.wd-wave, .wd-wave2 { transition: d .5s; }
.wd-wave.idle { animation: wd-slide 4s linear infinite; }
.wd-wave2.idle { animation: wd-slide 6s linear infinite reverse; }
@keyframes wd-slide { to { transform: translateX(80px); } }
.wd-read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #0b0b0d; pointer-events: none; }
.wd-read b { font: 700 46px/1 var(--sans); letter-spacing: -.03em; text-shadow: 0 1px 12px rgba(255,255,255,.7); }
.wd-read span { font: 600 14px var(--sans); }
.wd-read small { margin-top: 6px; font: 600 12.5px var(--sans); color: var(--ink-2); }
.wd-glass.over .wd-rim { stroke: #c8372d; }
.wd-side h3 { margin: 0 0 6px; } .wd-side h3 small { font: 500 14px var(--sans); color: var(--ink-2); margin-left: 6px; }
.wd-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.wd-steps button { white-space: nowrap; border: 0; border-radius: 99px; padding: 14px 20px; background: var(--wt); color: #fff; font: 700 16px var(--sans); cursor: pointer; min-width: 92px; }
.wd-steps button:active { transform: scale(.96); }
.wd-steps button.ghost { background: #f0f0f3; color: var(--ink); font-weight: 600; }
.wd-steps button:disabled { opacity: .45; cursor: default; }
.wd-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 110px; }
.wd-week > div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.wd-week i { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: #cfe2f5; }
.wd-week .now i { background: var(--wt); }
.wd-week u { position: absolute; left: 0; right: 0; border-top: 1.5px dashed rgba(11,11,13,.35); text-decoration: none; }
.wd-week span { font: 600 11.5px var(--sans); color: var(--ink-2); }
.wd-mot { margin-top: 14px; border: 0; background: none; padding: 0; color: var(--wt); font: 600 14px var(--sans); text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .wd-wave.idle, .wd-wave2.idle { animation: none; } }
@media (max-width: 700px) { .wd { grid-template-columns: 1fr; gap: 18px; } .wd-glass { max-width: 180px; } .wd-steps button { flex: 1; min-width: 0; padding: 14px 6px; font-size: 15px; } }
/* D-029 · Law 10/L-021 card */
.wt-law h3 { margin: 4px 0 10px; }
.wt-lawl { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.wt-amt b { color: #b26b00; }
.wt-art { color: var(--wt); font-weight: 600; white-space: nowrap; }
.wt-well { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f6f8fb; }
.wt-well summary { font-weight: 600; cursor: pointer; } .wt-well p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.wt-note { margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff7e6; font-size: 12.5px !important; color: var(--ink) !important; }
/* QA note on BUG-075: a bigger invisible tap area around each numbered pin (about 28 px across on a 390 px phone) */
.wt-hitp { fill: transparent; pointer-events: all; }

/* ===== "Sot", the reel look: the whole screen is the water (App Dev, 2026-11-14) ===== */
.wq-wrap { margin: -8px calc(50% - 50vw) 22px; }
.wq { position: relative; height: min(860px, calc(100svh - 64px)); min-height: 560px; overflow: hidden; background: #08141f; color: #fff; isolation: isolate; }
.wq-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; }
.wq-fallback { display: none; }
.wq.nogl .wq-fallback { display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #04314f 0, #0b7f8f calc(var(--lvl) * 90%), #08141f calc(var(--lvl) * 90% + 1px)); transition: background .6s; }
.wq-top { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: 18px max(16px, calc(50vw - 540px)) 0; }
.wq-back, .wq-mot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font: 400 28px/1 var(--sans); border: 0; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wq-mot { font-size: 20px; } .wq-mot.on { background: #ffd23f; color: #0b0b0d; }
.wq-top > div { text-align: center; }
.wq-top h2 { margin: 0; font: 600 20px var(--sans); letter-spacing: -.01em; color: #fff; }
.wq-top p { margin: 2px 0 0; font: 500 14px var(--sans); color: rgba(255,255,255,.72); }
.wq-pct { position: absolute; left: 0; right: 0; top: 24%; text-align: center; font: 200 clamp(96px, 26vw, 220px)/1 var(--sans); letter-spacing: -.05em; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.25); font-variant-numeric: tabular-nums; pointer-events: none; }
.wq-pct i { font-style: normal; font-size: .38em; font-weight: 300; margin-left: .04em; vertical-align: .9em; opacity: .85; }
.wq-add { position: absolute; left: 0; right: 0; bottom: 200px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 16px; }
.wq-q { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; font: 600 15px var(--sans); cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .12s, background .2s; }
.wq-q:active { transform: scale(.92); background: rgba(255,255,255,.26); }
.wq-custom { height: 50px; padding: 0 22px; border-radius: 99px; border: 0; background: #ffd23f; color: #0b0b0d; font: 700 15px var(--sans); cursor: pointer; }
.wq-cform { z-index: 3; position: absolute; left: 50%; bottom: 290px; transform: translate(-50%, 10px); display: flex; gap: 8px; padding: 8px; border-radius: 99px; background: rgba(255,255,255,.92); opacity: 0; pointer-events: none; transition: .2s; }
.wq-cform.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.wq-cform input { width: 90px; height: 40px; border: 0; border-radius: 99px; padding: 0 14px; font: 600 16px var(--sans); background: #f0f0f3; }
.wq-cform select { height: 40px; border: 0; border-radius: 99px; padding: 0 10px; font: 600 15px var(--sans); background: #f0f0f3; }
.wq-cform button { height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: #0b0b0d; color: #fff; font: 700 15px var(--sans); }
.wq-sheet { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); height: 170px; overflow: auto; padding: 8px 20px 18px; border-radius: 28px 28px 0 0; background: #f4f1fb; color: #0b0b0d; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.wq-grab { width: 40px; height: 5px; border-radius: 99px; background: #cfcbdb; margin: 0 auto 10px; }
.wq-sh-head { display: flex; justify-content: space-between; align-items: center; }
.wq-sh-head h3 { margin: 0; font-size: 20px; }
.wq-sh-head button { border: 0; background: none; color: #5b56c6; font: 600 14px var(--sans); cursor: pointer; }
.wq-sheet ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.wq-sheet li { display: grid; grid-template-columns: 12px auto 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid #e6e2f0; font-size: 15px; }
.wq-sheet li em { font-style: normal; color: #6c6880; }
.wq-sheet li time { color: #6c6880; font: 500 13px var(--sans); }
.wq-dot { width: 10px; height: 10px; border-radius: 50%; background: #1fb6c9; }
.wq-empty { display: block !important; color: #6c6880; }
@media (max-width: 640px) { .wq { height: calc(100svh - 64px - 84px); } .wq-add { bottom: 186px; gap: 10px; } .wq-cform { bottom: 268px; } .wq-q { width: 66px; height: 66px; font-size: 14px; } .wq-sheet { height: 150px; } }

/* ===== The whole Ujë tab in its reel look (App Dev, 2026-11-14; the user: "edhe per uj"): the deep blue-teal water is
   the background of the whole tab; the content sits on light rounded sheets like the "Sot" sheet; huge thin numbers for
   the key values; round buttons; the yellow pill as the one accent. Only the look changes: numbers and sources are the same. */
.wt-water { --sheet: #f4f1fb; --ink: #14131a; --ink-2: #6c6880; --rule: #e3dfee; --wt: #0f7f98; --ac: #0f7f98; --ac-l: #e2f4f7; --yel: #ffd23f; position: relative; isolation: isolate; background: #06243a; box-shadow: 0 0 0 100vmax #06243a; clip-path: inset(0 -100vmax); color: #fff; }
.wt-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(70% 45% at 20% 10%, rgba(64,190,210,.28), transparent 70%),
  radial-gradient(60% 50% at 85% 60%, rgba(40,150,190,.22), transparent 70%),
  repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,.025) 0 2px, transparent 2px 38px),
  linear-gradient(180deg, #0a5a73 0%, #073a55 45%, #04223a 100%); }
.wt-water .ar-head { color: #fff; }
.wt-water .ar-head h1 { color: #fff; font-weight: 300; letter-spacing: -.03em; }
.wt-water .ar-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--yel); color: #14131a; }
.wt-water .ar-lede { color: rgba(255,255,255,.8); }
/* every card = a light rounded sheet */
.wt-water .ar-card { background: var(--sheet); color: var(--ink); border-radius: 30px; border: 0; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.wt-water .ar-card h3, .wt-water .ar-card h4 { color: var(--ink); }
.wt-water .sl-eye { display: inline-block; justify-self: start; padding: 5px 12px; border-radius: 99px; background: var(--yel); color: #14131a !important; letter-spacing: .04em; }
.wt-water .sl-note, .wt-water .sl-fine, .wt-water .sl-why { color: var(--ink-2); }
/* huge thin numbers for the key values */
.wt-water .sl-big .ar-n { font-weight: 200; font-size: clamp(72px, 12vw, 120px); letter-spacing: -.05em; color: var(--ink); }
.wt-water .sl-kpis { background: transparent; gap: 10px; border-radius: 0; overflow: visible; }
.wt-water .sl-kpis > div { background: #fff; border-radius: 22px; padding: 14px 16px; }
.wt-water .sl-kpis b, .wt-water .sl-kpis .ar-n { font-weight: 300; font-size: 30px; letter-spacing: -.03em; color: var(--ink); }
.wt-water .sl-kpis small .ar-n { font-size: 13px; font-weight: 600; }
.wt-water .sl-kpis span, .wt-water .sl-kpis small { color: var(--ink-2); }
.wt-water .wt-bar { border-radius: 99px; height: 38px; }
.wt-water .k-rec { background: #2bb39a; } .wt-water .k-loss { background: #b4b0c6; } .wt-water .k-san { background: #5fb8d6; } .wt-water .k-proc { background: #0f7f98; }
/* inputs: white rounded fields on the sheet, round segment, yellow focus */
.wt-water .sl-f { color: var(--ink-2); }
.wt-water .sl-f select, .wt-water .sl-in input, .wt-water .wt-lab input { background: #fff; border: 1px solid #e3dfee; border-radius: 16px; color: var(--ink); }
.wt-water .sl-f select:focus, .wt-water .sl-in input:focus, .wt-water .wt-lab input:focus { outline: 3px solid var(--yel); border-color: transparent; }
.wt-water .wt-lab input { border-radius: 99px; text-align: center; }
/* tables, chips, buttons */
.wt-water .ar-t th { border-bottom-color: var(--ink); color: var(--ink); }
.wt-water .ar-t td { border-bottom-color: var(--rule); color: var(--ink); }
.wt-water .wt-down { color: #0a8f6b; } .wt-water .wt-up { color: #d1453b; }
.wt-water a { color: #0f7f98; }
.wt-water .wt-badge { border-radius: 99px; } .wt-water .wt-badge.req { background: var(--yel); color: #14131a; }
.wt-water .wt-legal { background: #fff; border-radius: 22px; }
.wt-water .wt-dc { background: #fff; border-radius: 22px; }
.wt-water .wt-note { background: #fff7d6; border-radius: 14px; }
.wt-water .wt-devinfo { background: #fff; border-radius: 22px; }
.wt-water .wt-pin { stroke: #0f7f98; } .wt-water .wt-dev.on .wt-pin { fill: var(--yel); stroke: #14131a; } .wt-water .wt-dev.on .wt-pinn { fill: #14131a; }
.wt-water .wt-st { background: #fff; border-radius: 24px; }
.wt-water .wt-train li { background: #fff; border-radius: 99px; }
.wt-water .wt-train li > b { background: #0f7f98; border-radius: 50%; }
@keyframes wt-step { 0%, 12% { background: #fff7d6; box-shadow: inset 4px 0 0 #ffd23f; } 13%, 100% { background: #fff; box-shadow: none; } }
.wt-water .wt-amt b { color: #b07a00; }
.wt-water .wt-well { background: #fff; border-radius: 20px; }
.wt-water .ar-next { display: inline-block; margin-top: 8px; padding: 14px 22px; border-radius: 99px; background: var(--yel); color: #14131a; text-decoration: none; font-weight: 700; }
.wt-water .ar-warn { background: #fff4e5; color: #8a4b00; border-radius: 16px; }
/* the Sot water sits flush with the tab's water */
.wt-water .wq-wrap { margin-top: -8px; }
/* the same for Ujë: the page under the tab stays water */
html:has(.wt-water), body:has(.wt-water), #view:has(.wt-water) { background: #04223a !important; }
