/* Collection watches: a flat section inside the library sheet; buttons and fields come from the explorer vocabulary. */
.ex-collection-watches{margin:16px 0 0;padding:16px 0 0;border-top:1px solid var(--line);color:var(--ink)}
.ex-collection-watches h3,.ex-collection-watches h4{margin:0 0 10px}
.ex-watch-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}
.ex-collection-watches button:disabled,.ex-watch-review button:disabled{opacity:.55;cursor:not-allowed}
.ex-collection-watches :is(button,a,summary):focus-visible,.ex-watch-review :is(button,a,summary):focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.ex-watch-status{min-height:1.5em;line-height:1.5}
.ex-watch-list{display:grid;gap:8px}
.ex-watch-list article,.ex-watch-observation,.ex-watch-notification{padding:12px;background:var(--surface-2);border-radius:var(--radius-card);overflow-wrap:anywhere}
.ex-watch-state{display:inline-block;padding:2px 8px;background:var(--surface-3);color:var(--ink-2);border-radius:var(--radius);font-size:12.5px;font-weight:500}
.ex-watch-form{padding:14px;margin-top:14px;border-radius:var(--radius-card);background:var(--surface-2)}
.ex-watch-form label{display:flex;flex-direction:column;gap:5px;margin:10px 0}
.ex-watch-form input,.ex-watch-form select,.ex-watch-form textarea{max-width:100%;font:inherit}
.ex-watch-form .ex-watch-choice{display:flex;flex-direction:row;gap:8px;align-items:center;font-weight:500}
.ex-watch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.ex-watch-seeds{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:8px 12px}
.ex-watch-warning{padding:10px 12px;border:1px solid var(--amber-line);border-radius:var(--radius-card);background:var(--amber-soft);color:var(--amber-ink);line-height:1.5}
.ex-watch-error{padding:10px 12px;border:1px solid var(--red-line);border-radius:var(--radius-card);background:var(--red-soft);color:var(--red);line-height:1.5}
.ex-watch-detail{margin-top:18px}
.ex-watch-history{display:grid;gap:8px;margin:12px 0}
.ex-watch-review{width:540px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 40px);overflow:auto;border:0;border-radius:var(--radius-frame);padding:22px;color:var(--ink);background:var(--surface);box-shadow:var(--shadow-lg)}
.ex-watch-review::backdrop{background:var(--scrim)}
.ex-watch-review[hidden],.ex-collection-watches[hidden]{display:none}
.ex-watch-review h3{margin-top:0;font-size:18px}
.ex-watch-review dl{display:grid;grid-template-columns:140px 1fr;gap:9px}
.ex-watch-review dt{color:var(--muted)}
.ex-watch-review dd{margin:0;overflow-wrap:anywhere}
.ex-watch-review ul{max-height:200px;overflow:auto;padding-left:22px}
.ex-watch-review p{line-height:1.5}
@media(max-width:620px){.ex-watch-fields{grid-template-columns:1fr}.ex-watch-review dl{grid-template-columns:1fr}.ex-watch-review dt{font-weight:600}}
