/* OUR WATCHDOGS · theirs beside ours (25 Sep 2026, H99). Two columns on the white dress: the Crown's watchdogs on the left,
   read from js/watchdogs-data.js; the machines this house built on the right, read from ../js/the-watchdog-data.js and
   js/our-watchdogs-data.js. Hand-cut, loaded after css/master.css; the tokens are master.css's own. No ticks anywhere. */
.ow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.ow-col { min-width: 0; padding: clamp(24px, 3vw, 40px); }
.ow-col + .ow-col { border-left: 1px solid var(--line); }
.ow-ours { background: var(--panel-2); }
.ow-head { padding: 14px 0 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); } /* not sticky: a stuck head half-hid the first group heading beneath it */
.ow-head h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.04; margin-top: 12px; }
.ow-count { margin-top: 10px; font-family: var(--nav); font-size: 14px; color: var(--ink-2); }
.ow-fields { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* a group inside a column */
.ow-group { margin-top: 30px; }
.ow-group + .ow-group { padding-top: 26px; border-top: 1px solid var(--line); }
.ow-group-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ow-group-h h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-family: var(--display); font-weight: 600; }
.ow-group-h span { font-family: var(--nav); font-size: 12.5px; color: var(--dim); }
.ow-group-note { margin-top: 8px; font-size: 14px; color: var(--mute); line-height: 1.5; }

/* one card, either side: the same skeleton, so the eye can compare */
.ow-list { margin-top: 14px; display: grid; gap: 10px; }
.ow-card { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; align-items: start; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
a.ow-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.ow-card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); position: relative; overflow: hidden; }
.ow-card .ic::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 18% 14%, rgba(230,0,0,.14), transparent 70%), radial-gradient(60% 60% at 88% 90%, rgba(230,0,0,.12), transparent 70%); }
.ow-card .ic .ico, .ow-card .ic svg { position: relative; width: 24px; height: 24px; }
.ow-card .ic img { position: relative; width: 44px; height: 44px; object-fit: cover; }
.ow-card .ic.pic { border: 0; }
.ow-card b.n { display: block; font-family: var(--nav); font-weight: 600; font-size: 16.5px; line-height: 1.2; }
.ow-card .sub { margin-top: 4px; font-family: var(--nav); font-size: 13px; color: var(--mute); }
.ow-card p.t { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ow-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ow-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--display); font-weight: 600; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--panel); color: var(--ink-2); }
.ow-chip.house { background: rgba(230,0,0,.16); color: var(--teal-ink); }
.ow-chip.minister { background: rgba(62,185,240,.16); color: var(--blue-ink); }
.ow-chip.changed { background: rgba(230,0,0,.14); color: var(--violet-ink); }
.ow-chip.removed { background: rgba(230,0,0,.12); color: var(--pink-ink); }
.ow-chip.ours { background: var(--night); color: #fff; }
.ow-chip.ran { background: rgba(230,0,0,.16); color: var(--teal-ink); }
.ow-chip.fault { background: rgba(230,0,0,.12); color: var(--pink-ink); }
.ow-chip.owed { background: var(--panel); color: var(--mute); }

/* the four fields, the same four on both sides */
.ow-fields-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.ow-f { min-width: 0; }
.ow-f .k { display: block; font-family: var(--display); font-weight: 600; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ow-f .v { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ow-f .v b { color: var(--ink); font-weight: 600; }

/* the state line: what the machine's own files said at build */
.ow-state { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--panel); font-family: var(--nav); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.ow-state b { color: var(--ink); font-weight: 600; }
.ow-state .fault { display: block; margin-top: 4px; color: var(--pink-ink); }
.ow-watches { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ow-watches li { display: grid; grid-template-columns: 8px 1fr; gap: 8px; font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.ow-watches li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aurora); margin-top: 6px; }
.ow-watches li i { font-style: normal; color: var(--mute); }
.ow-src { margin-top: 10px; font-family: var(--nav); font-size: 12px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ow-src .grade { height: 20px; min-width: 24px; font-size: 10px; }
.ow-card .textlink { margin-top: 10px; font-size: 13px; }

/* the reveal: master.css's .rv only turns on for elements its own observer sees; the page's script observes these */
.ow-card.rv { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ow-card.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ow-card.rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .ow-cols { grid-template-columns: 1fr; }
  .ow-col + .ow-col { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ow-col { padding: 18px 16px; }
  .ow-fields-grid { grid-template-columns: 1fr; }
  .ow-card { grid-template-columns: 38px 1fr; gap: 10px; padding: 14px; }
  .ow-card .ic { width: 38px; height: 38px; border-radius: 11px; }
  .ow-card .ic img { width: 38px; height: 38px; }
}

/* the shell numbers every section in its top corner; on the two-column section that corner is the right column's head, so the number is not drawn there */
#side-by-side .secno { display: none; }
