.watches-section {
  margin-top: 1rem;
  padding: 1.1rem;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.watch-heading { align-items: center; }
.watch-toolbar { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.watch-message { min-height: 1.3rem; margin: .7rem 0 0; color: var(--muted); font-size: .84rem; }
.watch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: .8rem; }
.watch-empty { margin-top: .8rem; }
.watch-card {
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: .85rem;
  background: var(--surface-soft);
}
.watch-card-paused { opacity: .68; }
.watch-card-top { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.watch-card-name { margin: 0; font-size: .96rem; overflow-wrap: anywhere; }
.watch-mode {
  flex: 0 0 auto;
  padding: .22rem .48rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  background: var(--surface);
  font-size: .7rem;
  font-weight: 800;
}
.watch-card-paused .watch-mode { color: var(--muted); }
.watch-summary { display: flex; flex-wrap: wrap; gap: .32rem; margin-top: .58rem; }
.watch-chip {
  display: inline-flex;
  min-height: 1.6rem;
  align-items: center;
  padding: .2rem .42rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}
.watch-card-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.watch-text-button {
  min-height: 2.15rem;
  padding: .35rem .58rem;
  border: 1px solid var(--border);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .76rem;
  font-weight: 730;
  cursor: pointer;
}
.watch-text-button:hover { border-color: var(--accent); }
.watch-text-button-danger { color: var(--bad); }
.watch-form {
  margin-top: .9rem;
  padding: .9rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: .9rem;
  background: color-mix(in srgb, var(--accent) 4%, var(--surface-soft));
}
.watch-form-heading { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; }
.watch-form-heading h3 { margin: .1rem 0 0; font-size: 1.05rem; }
.watch-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: .8rem; }
.watch-field { display: flex; flex-direction: column; gap: .28rem; min-width: 0; }
.watch-field-wide { grid-column: span 2; }
.watch-field > span, .watch-check span { font-size: .74rem; font-weight: 760; color: var(--muted); }
.watch-field small { font-weight: 560; }
.watch-field input, .watch-field select {
  width: 100%; min-width: 0; min-height: 2.55rem; padding: .48rem .58rem;
  border: 1px solid var(--border); border-radius: .58rem; background: var(--surface); color: var(--text); font: inherit;
}
.watch-field input:focus, .watch-field select:focus { outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-color: var(--accent); }
.watch-input-suffix { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .4rem; }
.watch-input-suffix > span { color: var(--muted); font-size: .75rem; font-weight: 700; }
.watch-check { display: flex; align-items: center; gap: .45rem; min-height: 2.55rem; align-self: end; }
.watch-check input { width: 1.05rem; height: 1.05rem; }
.watch-form-actions { display: flex; justify-content: flex-end; margin-top: .8rem; }
.watch-primary-button {
  min-height: 2.55rem; padding: .5rem .8rem; border: 0; border-radius: .6rem; background: var(--accent); color: white;
  font: inherit; font-weight: 780; cursor: pointer;
}
.watch-primary-button:hover { background: var(--accent-strong); }
.watch-primary-button:disabled { opacity: .65; cursor: progress; }

@media (max-width: 860px) {
  .watch-list { grid-template-columns: 1fr; }
  .watch-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .watches-section { padding: .85rem; border-radius: .85rem; box-shadow: none; }
  .watch-heading { align-items: flex-start; }
  .watch-toolbar { width: 100%; justify-content: space-between; }
  .watch-form-grid { grid-template-columns: 1fr; }
  .watch-field-wide { grid-column: auto; }
  .watch-card-actions .watch-text-button { flex: 1 1 auto; }
}
