/* M4 Property Watch: the "Watch this property" panel on reports and the /watch/ page. Direction B (decision 9): film and
   paper grounds, graphite ink with 1.5px rules, square corners, no shadows or gradients; sage for marks, flood cyan only for
   focus, surveyor red only for high-severity marks. Archivo (expanded) for UI, Newsreader for reading text. Fixed sizes: no
   layout shift when the panel fills in. */
.wt { --ink: #1D2420; --film: #EDF1EC; --paper: #F6F7F3; --panel: #fff; --sage: #6E8B7A; --sage-t: #E4ECE6; --muted: #4A5A51;
  --link: #156F8C; --focus: #1B8FB3; --red: #A62E25; --warn: #8C3B00; --rule: 1.5px solid var(--ink);
  color: var(--ink); font-family: "Newsreader", Georgia, serif; font-size: 17px; line-height: 1.5; }
.wt *, .wt *::before, .wt *::after { box-sizing: border-box; }
.wt h1, .wt h2, .wt h3, .wt button, .wt label, .wt input, .wt select, .wt .ui, .wt table, .wt .chip, .wt .price {
  font-family: "Archivo", system-ui, sans-serif; font-stretch: 112%; }
.wt h3 { font-size: 18px; margin: 0 0 6px; }
.wt p { margin: 0 0 10px; }
.wt a { color: var(--link); text-underline-offset: 2px; }
.wt .muted, .wt small { color: var(--muted); }
.wt :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wt .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wt input[type=email], .wt input[type=tel] { width: 100%; max-width: 420px; min-height: 44px; padding: 8px 10px; border: var(--rule); border-radius: 0;
  background: var(--panel); color: var(--ink); font-size: 16px; }
.wt .btn-w { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: var(--rule); border-radius: 0;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.wt .btn-w.ghost { background: var(--panel); color: var(--ink); }
.wt .btn-w.danger { background: var(--panel); color: var(--red); border-color: var(--red); }
.wt .btn-w[disabled] { opacity: .55; cursor: default; }
.wt .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0; }
.wt .row > label { flex: 1 1 260px; display: block; font-weight: 600; font-size: 14px; }
.wt .row > label input { margin-top: 4px; }
.wt .wt-status { min-height: 1.5em; font-family: "Archivo", system-ui, sans-serif; font-size: 15px; margin: 6px 0 0; }
.wt .wt-status.ok { color: #2F5D46; } .wt .wt-status.err { color: var(--red); }
.wt .fine { font-size: 14px; color: var(--muted); }
.wt .kinds { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; padding: 0; list-style: none; }
.wt .kinds li { font-family: "Archivo", system-ui, sans-serif; font-size: 13px; padding: 3px 8px; border: 1.5px solid var(--sage); background: var(--sage-t); }
.wt .testnote { font-family: "Archivo", system-ui, sans-serif; font-size: 13px; border: 1.5px dashed var(--warn); color: var(--warn); padding: 6px 10px; margin: 10px 0; }

/* report panel: sits in #reportExtras next to the PDF box (never inside a sheet, the map, the unit picker or the CTA) */
.watchbox.wt { border: var(--rule); background: var(--panel); padding: 18px 18px 14px; margin: 0 0 16px; min-height: 236px; }
.watchbox .wt-head { display: flex; gap: 12px; align-items: flex-start; }
.watchbox .wt-mark { flex: 0 0 40px; height: 40px; border: var(--rule); display: grid; place-items: center; background: var(--film); }
.watchbox .wt-mark svg { width: 24px; height: 24px; }
.watchbox .plus-line { border-top: var(--rule); margin-top: 12px; padding-top: 10px; font-size: 15px; }

/* /watch/ page */
.wtp { max-width: 1040px; margin: 0 auto; padding: 28px 16px 64px; }
.wtp h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0 0 10px; font-stretch: 125%; letter-spacing: -.01em; }
.wtp h2 { font-size: 22px; margin: 36px 0 12px; padding-top: 12px; border-top: var(--rule); }
.wtp .lede { font-size: 19px; max-width: 760px; }
.wtp .hero { border: var(--rule); background: var(--ink); color: #fff; padding: 22px; margin: 0 0 24px;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.wtp .hero h1 { color: #fff; } .wtp .hero .lede { color: #DDE5DF; margin: 0; }
.wtp .card { border: var(--rule); background: var(--panel); padding: 18px; margin: 0 0 16px; }
.wtp .plans { display: grid; grid-template-columns: 1fr 1fr; border: var(--rule); background: var(--panel); }
.wtp .plans > div { padding: 18px; } .wtp .plans > div + div { border-left: var(--rule); }
.wtp .plans .band { height: 8px; margin: -18px -18px 14px; background: var(--sage); } .wtp .plans .plus .band { background: var(--link); }
.wtp .price { font-size: 30px; font-weight: 800; font-stretch: 118%; } .wtp .price small { font-size: 15px; font-weight: 500; }
.wtp ul.ticks { padding: 0; list-style: none; margin: 10px 0; } .wtp ul.ticks li { padding: 4px 0 4px 26px; position: relative; }
.wtp ul.ticks li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.wtp table.watches { width: 100%; border-collapse: collapse; border: var(--rule); background: var(--panel); font-size: 15px; }
.wtp table.watches th, .wtp table.watches td { text-align: left; padding: 10px 12px; border-bottom: 1.5px solid var(--ink); vertical-align: middle; }
.wtp table.watches th { background: var(--film); font-weight: 700; }
.wtp .chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 8px; border: 1.5px solid currentColor; }
.wtp .chip.active { color: #2F5D46; } .wtp .chip.pending_confirm { color: var(--link); border-style: dashed; } .wtp .chip.paused_plan, .wtp .chip.off { color: var(--warn); }
.wtp .renew { border: 1.5px solid var(--ink); background: var(--paper); padding: 12px 14px; font-size: 15px; margin: 12px 0; }
.wtp .renew label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin-top: 8px; }
.wtp .renew input, .wtp .consent input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--ink); }
.wtp .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; }
.wtp fieldset.interval { border: 0; padding: 0; margin: 8px 0; display: flex; gap: 0; }
.wtp fieldset.interval label { border: var(--rule); padding: 8px 14px; cursor: pointer; font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.wtp fieldset.interval label + label { border-left: 0; }
.wtp fieldset.interval label:has(input:checked) { background: var(--ink); color: #fff; }
.wtp .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--rule); background: var(--panel); }
.wtp .grid3 > div { padding: 14px 16px; } .wtp .grid3 > div + div { border-left: var(--rule); }
.wtp .grid3 b { font-family: "Archivo", system-ui, sans-serif; display: block; margin-bottom: 4px; }
@media (max-width: 720px) {
  .wtp .plans, .wtp .grid3 { grid-template-columns: 1fr; }
  .wtp .plans > div + div, .wtp .grid3 > div + div { border-left: 0; border-top: var(--rule); }
  .wtp table.watches thead { display: none; }
  .wtp table.watches, .wtp table.watches tbody, .wtp table.watches tr, .wtp table.watches td { display: block; width: 100%; }
  .wtp table.watches tr { border-bottom: var(--rule); padding: 8px 0; } .wtp table.watches td { border: 0; padding: 4px 12px; }
  .watchbox.wt { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .wt * { transition: none !important; } }
