/* ==========================================================================
   OWL Watch — shared styles (public submission, public report view,
   home-page callout, and wp-admin pages).
   ========================================================================== */

.owl-watch,
.owl-watch-admin,
.owl-watch-home-callout {
  --owl-brand: #1f5b54;
  --owl-brand-dark: #163840;
  --owl-brand-soft: #e7f1ee;
  --owl-ink: #172027;
  --owl-ink-soft: #45615d;
  --owl-muted: #5f7270;
  --owl-cream: #f4efd9;
  --owl-accent: #e16d49;
  --owl-surface: #ffffff;
  --owl-surface-tint: #f7faf9;
  --owl-border: #d7e1df;
  --owl-border-strong: #bfd0cc;
  --owl-radius-lg: 18px;
  --owl-radius-md: 14px;
  --owl-radius-sm: 10px;
  --owl-shadow-sm: 0 4px 14px rgba(22, 48, 55, 0.06);
  --owl-shadow-md: 0 12px 32px rgba(22, 48, 55, 0.08);
  --owl-focus-ring: 0 0 0 3px rgba(31, 91, 84, 0.22);
  --owl-transition: 160ms ease;
}

.owl-watch {
  max-width: 1120px;
  margin: 2rem auto;
  color: var(--owl-ink);
}

.owl-watch-card {
  background: var(--owl-surface);
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--owl-shadow-md);
}

.owl-watch-page-content {
  display: grid;
  gap: 1.25rem;
}

.owl-watch-public > .owl-watch-card,
.owl-watch-public > .owl-watch-page-content {
  display: grid;
  gap: 1.25rem;
}

.owl-watch-public h1,
.owl-watch-submission h1 {
  margin: 0;
  letter-spacing: -0.02em;
}

.owl-watch-submission .owl-watch-lead,
.owl-watch-submission .owl-watch-disclaimer {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.owl-watch-button,
.owl-watch .button,
.owl-watch-admin .button.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--owl-brand);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--owl-transition), box-shadow var(--owl-transition), transform var(--owl-transition);
}

.owl-watch-button:hover,
.owl-watch-button:focus,
.owl-watch-admin .button.button-primary:hover {
  background: #17473f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 71, 63, 0.25);
}

.owl-watch-button:focus-visible,
.owl-watch input:focus-visible,
.owl-watch select:focus-visible,
.owl-watch textarea:focus-visible,
.owl-watch-view-toggle__button:focus-visible,
.owl-watch-type-option input:focus-visible + .owl-watch-type-option__body {
  outline: none;
  box-shadow: var(--owl-focus-ring);
}

.owl-watch-button:active {
  transform: translateY(1px);
}

.owl-watch-button--small {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.owl-watch-button--block {
  width: 100%;
  min-height: 3.4rem;
  font-size: 1.05rem;
}

.owl-watch-button--ghost {
  background: transparent;
  color: var(--owl-brand);
  border-color: var(--owl-border-strong);
  box-shadow: none;
}

.owl-watch-button--ghost:hover,
.owl-watch-button--ghost:focus {
  background: var(--owl-brand-soft);
  color: var(--owl-brand-dark);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.owl-watch-alert {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--owl-radius-md);
  border: 1px solid transparent;
  line-height: 1.55;
}

.owl-watch-alert::before {
  content: "";
  flex: 0 0 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.owl-watch-alert--success {
  background: #e8f7ee;
  border-color: #bfe5cd;
  color: #0d5a30;
}

.owl-watch-alert--success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%230d5a30' stroke-width='1.6'/%3E%3Cpath d='M6.2 10.4l2.4 2.4 5-5' stroke='%230d5a30' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.owl-watch-alert--error {
  background: #fff1ef;
  border-color: #f3cdc6;
  color: #8a221a;
}

.owl-watch-alert--error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%238a221a' stroke-width='1.6'/%3E%3Cpath d='M10 5.8v5' stroke='%238a221a' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='13.8' r='1.1' fill='%238a221a'/%3E%3C/svg%3E");
}

.owl-watch-alert--warning {
  background: #fff7e8;
  border-color: #f1d49b;
  color: #734d09;
}

.owl-watch-alert--warning::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 2.6L18.4 17H1.6L10 2.6z' stroke='%23734d09' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M10 8v3.6' stroke='%23734d09' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14.2' r='1' fill='%23734d09'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Form primitives
   -------------------------------------------------------------------------- */

.owl-watch-form,
.owl-watch-settings-grid,
.owl-watch-grid,
.owl-watch-filters {
  display: grid;
  gap: 1.1rem;
}

.owl-watch-form {
  gap: 1.5rem;
}

.owl-watch-grid--two,
.owl-watch-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owl-watch-grid > * {
  min-width: 0;
}

.owl-watch-settings-grid {
  align-items: start;
}

.owl-watch-form label,
.owl-watch-filters label,
.owl-watch-card label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.owl-watch input,
.owl-watch select,
.owl-watch textarea {
  width: 100%;
  border: 1px solid var(--owl-border-strong);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--owl-ink);
  background-color: #fff;
  transition: border-color var(--owl-transition), box-shadow var(--owl-transition);
}

.owl-watch input:hover,
.owl-watch select:hover,
.owl-watch textarea:hover {
  border-color: #9db4af;
}

.owl-watch input:focus,
.owl-watch select:focus,
.owl-watch textarea:focus {
  outline: none;
  border-color: var(--owl-brand);
  box-shadow: var(--owl-focus-ring);
}

.owl-watch select {
  min-height: 3.4rem;
  line-height: 1.35;
  padding: 0.9rem 3rem 0.9rem 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23556d72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.owl-watch-required {
  color: var(--owl-accent);
  font-weight: 800;
  margin-left: 0.1rem;
}

.owl-watch-field-hint {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--owl-muted);
}

.owl-watch-secret-field .description {
  margin: 0;
  font-weight: 400;
}

.owl-watch-disclaimer,
.owl-watch-lead {
  color: var(--owl-ink-soft);
}

.owl-watch-lead {
  font-size: 1.06rem;
  line-height: 1.6;
}

/* Form sections (submission page) */

.owl-watch-form-section {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-lg);
  background: var(--owl-surface-tint);
}

.owl-watch-form-section legend {
  float: left;
  width: 100%;
  margin: 0 0 0.25rem;
  padding: 0;
}

.owl-watch-form-section__title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--owl-brand-dark);
  letter-spacing: -0.01em;
}

.owl-watch-form-section__step {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--owl-brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  transform: translateY(0.2rem);
}

.owl-watch-form-section__hint {
  margin: -0.5rem 0 0;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--owl-muted);
}

/* Report type picker (radio cards) */

.owl-watch-type-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.owl-watch-type-option {
  position: relative;
  display: block;
  font-weight: 600;
  cursor: pointer;
}

.owl-watch-type-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.owl-watch-type-option__body {
  display: grid;
  gap: 0.3rem;
  height: 100%;
  padding: 1rem 1.05rem;
  border: 1.5px solid var(--owl-border-strong);
  border-radius: var(--owl-radius-md);
  background: #fff;
  transition: border-color var(--owl-transition), box-shadow var(--owl-transition), background-color var(--owl-transition);
}

.owl-watch-type-option:hover .owl-watch-type-option__body {
  border-color: var(--owl-brand);
}

.owl-watch-type-option input:checked + .owl-watch-type-option__body {
  border-color: var(--owl-brand);
  background: var(--owl-brand-soft);
  box-shadow: inset 0 0 0 1px var(--owl-brand);
}

.owl-watch-type-option__icon {
  width: 1.6rem;
  height: 1.6rem;
}

.owl-watch-type-option__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--owl-brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owl-watch-type-option__label {
  font-weight: 800;
  color: var(--owl-brand-dark);
  line-height: 1.3;
}

.owl-watch-type-option__desc {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--owl-muted);
  line-height: 1.45;
}

/* Type-specific detail blocks */

.owl-watch-type-fields {
  display: grid;
  gap: 1rem;
}

.owl-watch-grid--type-details {
  align-items: start;
}

.owl-watch-type-fields[hidden] {
  display: none !important;
}

.owl-watch-expander {
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-lg);
  background: #fff;
  padding: 0;
}

.owl-watch-expander summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: #173a40;
  cursor: pointer;
  border-radius: var(--owl-radius-lg);
  transition: background-color var(--owl-transition);
}

.owl-watch-expander summary:hover {
  background: var(--owl-surface-tint);
}

.owl-watch-expander summary::-webkit-details-marker {
  display: none;
}

.owl-watch-expander summary::after {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23556d72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  transition: transform 140ms ease;
}

.owl-watch-expander[open] summary::after {
  transform: rotate(180deg);
}

.owl-watch-type-fields__content {
  display: grid;
  gap: 1rem;
  padding: 0.25rem 1.1rem 1.2rem;
}

.owl-watch-type-fields__intro {
  margin: 0;
  color: #52706b;
}

.owl-watch-type-fields__content label span {
  line-height: 1.35;
}

.owl-watch-secondary-link {
  margin: 0;
  text-align: center;
}

.owl-watch-secondary-link a {
  color: var(--owl-brand);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Pills & badges (report type, status, outcome)
   -------------------------------------------------------------------------- */

.owl-watch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  background: #eff2f2;
  color: #495a58;
  white-space: nowrap;
}

.owl-watch-pill--suspicious-activity {
  background: #fdeee7;
  color: #9c4322;
}

.owl-watch-pill--missing-property {
  background: #eef2fb;
  color: #3a5689;
}

.owl-watch-pill--found-property {
  background: #eaf6ef;
  color: #1f6b41;
}

.owl-watch-pill--active {
  background: #e7f4ef;
  color: #17483f;
}

.owl-watch-pill--active::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2c8a6f;
}

.owl-watch-pill--resolved {
  background: #eef1f1;
  color: #5a6b69;
}

.owl-watch-pill--resolved::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.4' stroke='%235a6b69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.owl-watch-pill--submitted {
  background: #fff3df;
  color: #8a5d12;
}

.owl-watch-pill--published {
  background: #e7f4ef;
  color: #17483f;
}

.owl-watch-pill--rejected {
  background: #fdebe9;
  color: #8a221a;
}

.owl-watch-pill--archived {
  background: #eff2f2;
  color: #566866;
}

.owl-watch-pill--verified {
  background: #e3f5ea;
  color: #1c6b43;
}

.owl-watch-pill__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #1f9d5f;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.owl-watch-pill--unverified {
  background: #f0f2f2;
  color: #6a7b78;
}

.owl-watch-cell-tag {
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   Public report view
   -------------------------------------------------------------------------- */

.owl-watch-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid #c8d2d0;
  border-radius: 999px;
  box-shadow: var(--owl-shadow-sm);
}

.owl-watch-view-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #52656a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.owl-watch-view-toggle__button:hover {
  border-color: #d6dfdd;
  color: #294247;
}

.owl-watch-view-toggle__button.is-active {
  background: var(--owl-brand);
  border-color: var(--owl-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(31, 91, 84, 0.28);
}

.owl-watch-view-toggle__icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.owl-watch-view-toggle__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.owl-watch-public-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.owl-watch-results-count {
  margin: 0;
  color: var(--owl-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.owl-watch-results-count strong {
  color: var(--owl-brand-dark);
}

.owl-watch-public-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
}

.owl-watch-public-sidebar {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.owl-watch-filters {
  padding: 1.2rem;
  background: var(--owl-surface-tint);
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-lg);
}

.owl-watch-filters__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--owl-ink-soft);
}

.owl-watch-filters__title svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owl-watch-filters .owl-watch-button {
  width: 100%;
}

.owl-watch-filters.is-auto .owl-watch-filters__submit {
  display: none;
}

.owl-watch-public-main {
  min-width: 0;
}

.owl-watch-public-layout {
  display: grid;
  gap: 1rem;
}

.owl-watch-public-map,
.owl-watch-public-list {
  min-width: 0;
}

.owl-watch-public-map[hidden],
.owl-watch-public-list[hidden] {
  display: none !important;
}

.owl-watch-public-list {
  display: grid;
  gap: 1rem;
}

/* Incident blotter — a typographic ledger, not cards */

.owl-watch-blotter {
  border-top: 4px double var(--owl-brand-dark);
}

.owl-watch-blotter__entry {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.5rem 0.35rem;
  border-bottom: 1px solid var(--owl-border);
  transition: background-color var(--owl-transition);
}

.owl-watch-blotter__entry:hover {
  background: #fbf9f1;
}

.owl-watch-blotter__date {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.05rem;
  padding: 0.2rem 0.9rem 0 0;
  border-right: 1px solid var(--owl-border);
  text-align: center;
}

.owl-watch-blotter__month {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--owl-brand);
}

.owl-watch-blotter__day {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--owl-brand-dark);
  font-variant-numeric: tabular-nums;
}

.owl-watch-blotter__day--unknown {
  color: var(--owl-muted);
}

.owl-watch-blotter__year {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--owl-muted);
  font-variant-numeric: tabular-nums;
}

.owl-watch-blotter__body {
  display: grid;
  gap: 0.45rem;
}

.owl-watch-blotter__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.owl-watch-blotter__type {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--owl-ink-soft);
}

.owl-watch-blotter__type::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  transform: rotate(45deg);
  background: var(--owl-brand);
}

.owl-watch-blotter__entry--suspicious-activity .owl-watch-blotter__type::before {
  background: var(--owl-accent);
}

.owl-watch-blotter__entry--missing-property .owl-watch-blotter__type::before {
  background: #5878b8;
}

.owl-watch-blotter__entry--found-property .owl-watch-blotter__type::before {
  background: #2c8a6f;
}

.owl-watch-blotter__status {
  color: var(--owl-brand);
}

.owl-watch-blotter__status::before {
  content: "—";
  margin-right: 0.7rem;
  color: var(--owl-border-strong);
}

.is-resolved .owl-watch-blotter__status {
  color: var(--owl-muted);
}

.owl-watch-blotter__resident {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.owl-watch-blotter__resident::before {
  content: "—";
  margin-right: 0.4rem;
  color: var(--owl-border-strong);
}

.owl-watch-blotter__resident--verified {
  color: #1c6b43;
}

.owl-watch-blotter__resident--verified svg {
  width: 0.92rem;
  height: 0.92rem;
  color: #1f9d5f;
}

.owl-watch-blotter__resident--unverified {
  color: var(--owl-muted);
}

.owl-watch-blotter__title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--owl-ink);
}

.is-resolved .owl-watch-blotter__title,
.is-resolved .owl-watch-blotter__day {
  color: #5d6e6c;
}

.owl-watch-blotter__where {
  margin: 0;
  font-style: italic;
  color: var(--owl-ink-soft);
}

.owl-watch-blotter__where:empty {
  display: none;
}

.owl-watch-incident-summary {
  color: #2c3e44;
  line-height: 1.6;
}

.owl-watch-incident-summary p:first-child {
  margin-top: 0;
}

.owl-watch-incident-summary p:last-child {
  margin-bottom: 0;
}

.owl-watch-empty {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 2.75rem 1.5rem;
  border: 1.5px dashed var(--owl-border-strong);
  border-radius: var(--owl-radius-lg);
  background: var(--owl-surface-tint);
  text-align: center;
}

.owl-watch-empty img {
  width: 56px;
  height: auto;
  opacity: 0.85;
}

.owl-watch-empty p {
  margin: 0;
  color: var(--owl-muted);
}

.owl-watch-empty__title {
  font-weight: 800;
  color: var(--owl-brand-dark);
}

.owl-watch-map {
  width: 100%;
  min-height: 460px;
  border-radius: var(--owl-radius-lg);
  overflow: hidden;
  border: 1px solid var(--owl-border-strong);
}

.owl-watch-map--admin {
  min-height: 360px;
  margin-bottom: 1rem;
}

/* Map markers & popups */

.owl-watch-cluster {
  background: var(--owl-brand);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(20, 52, 60, 0.35);
}

.owl-watch-marker {
  background: var(--owl-accent);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(225, 109, 73, 0.35);
}

.owl-watch-popup {
  display: grid;
  gap: 0.45rem;
  min-width: 220px;
  color: #1d2b31;
}

.owl-watch-popup__title {
  font-size: 1rem;
  line-height: 1.3;
  color: #173a40;
}

.owl-watch-popup__location {
  font-weight: 700;
  color: #1b4e55;
}

.owl-watch-popup__meta {
  font-size: 0.88rem;
  color: #5b6f74;
}

.owl-watch-popup__resident {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.owl-watch-popup__resident--verified {
  background: #e3f5ea;
  color: #1c6b43;
}

.owl-watch-popup__resident--unverified {
  background: #f0f2f2;
  color: #6a7b78;
}

.owl-watch-popup__details {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #24353b;
  border-top: 1px solid #e1e8e6;
  padding-top: 0.55rem;
}

.owl-watch-popup__details p:last-child {
  margin-bottom: 0;
}

.owl-watch-popup__group-list {
  display: grid;
  gap: 0.75rem;
}

.owl-watch-popup__group-item {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e1e8e6;
}

.owl-watch-popup__group-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.owl-watch-popup__group-header {
  display: grid;
  gap: 0.2rem;
}

.owl-watch-popup__toggle {
  justify-self: start;
  padding: 0.45rem 0.75rem;
  border: 1px solid #c9d4d1;
  border-radius: 999px;
  background: #fff;
  color: #27474c;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--owl-transition), background-color var(--owl-transition);
}

.owl-watch-popup__toggle:hover {
  border-color: #aebfba;
  background: #f4f8f7;
}

/* --------------------------------------------------------------------------
   Home-page callout
   -------------------------------------------------------------------------- */

.owl-watch-home-callout {
  margin: 1.5rem 0 2rem;
  padding: 2.25rem 2rem;
  background:
    radial-gradient(circle at top left, rgba(245, 219, 140, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(225, 109, 73, 0.12), transparent 42%),
    linear-gradient(135deg, #163840 0%, #275750 52%, #3d766b 100%);
  color: #f8fbfb;
  border: 1px solid rgba(232, 244, 239, 0.18);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(18, 44, 48, 0.18);
}

.owl-watch-home-callout__inner {
  display: grid;
  gap: 1.1rem;
  max-width: 760px;
  margin: 0;
}

.owl-watch-home-callout__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.owl-watch-home-callout__icon {
  margin: 0;
  flex: 0 0 auto;
}

.owl-watch-home-callout__icon img {
  display: block;
  width: 72px;
  max-width: 72px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(7, 25, 30, 0.22));
}

.owl-watch-home-callout__heading {
  display: grid;
  gap: 0.35rem;
}

.owl-watch-home-callout__content {
  display: grid;
  gap: 1.1rem;
}

.owl-watch-home-callout__eyebrow {
  color: rgba(244, 239, 217, 0.92) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.owl-watch-home-callout h2 {
  margin: 0;
  color: #f7fbfa;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.owl-watch-home-callout p {
  margin: 0;
  color: rgba(247, 251, 250, 0.94);
  font-size: 1.05rem;
  line-height: 1.65;
}

.owl-watch-home-callout__note {
  font-size: 0.92rem !important;
  color: rgba(247, 251, 250, 0.74) !important;
}

.owl-watch-home-callout__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.owl-watch-home-callout .owl-watch-button {
  justify-self: start;
  min-height: 3.4rem;
  padding: 0.95rem 1.5rem;
  background: var(--owl-cream);
  color: #14343c;
  border: 1px solid rgba(20, 52, 60, 0.12);
  box-shadow: 0 10px 22px rgba(11, 31, 35, 0.16);
  font-weight: 800;
  text-decoration: none !important;
}

.owl-watch-home-callout .owl-watch-button:hover,
.owl-watch-home-callout .owl-watch-button:focus {
  background: #fff8e5;
  color: #102e35;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.owl-watch-home-callout .owl-watch-button--ghost {
  background: transparent;
  color: #f4efd9;
  border-color: rgba(244, 239, 217, 0.45);
  box-shadow: none;
}

.owl-watch-home-callout .owl-watch-button--ghost:hover,
.owl-watch-home-callout .owl-watch-button--ghost:focus {
  background: rgba(244, 239, 217, 0.12);
  color: #fff8e5;
}

/* --------------------------------------------------------------------------
   Admin pages
   -------------------------------------------------------------------------- */

.owl-watch-admin {
  max-width: 1280px;
}

.owl-watch-admin h1 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.owl-watch-admin-subtitle {
  margin: 0.25rem 0 1.25rem;
  color: var(--owl-muted);
  font-size: 0.95rem;
  max-width: 760px;
}

.owl-watch-admin .owl-watch-card {
  padding: 1.5rem;
}

.owl-watch-admin .owl-watch-card h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--owl-border);
  font-size: 1.15rem;
  color: var(--owl-brand-dark);
}

.owl-watch-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-md);
  box-shadow: var(--owl-shadow-sm);
}

.owl-watch-admin-toolbar select,
.owl-watch-admin-toolbar input[type="search"] {
  min-height: 2.6rem;
  border: 1px solid var(--owl-border-strong);
  border-radius: var(--owl-radius-sm);
  padding: 0.45rem 0.7rem;
}

.owl-watch-admin-toolbar input[type="search"] {
  min-width: 220px;
}

.owl-watch-admin-toolbar .owl-watch-count-chip {
  margin-left: auto;
}

.owl-watch-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--owl-brand-soft);
  color: var(--owl-brand-dark);
  font-weight: 700;
  font-size: 0.88rem;
}

.owl-watch-table-card {
  background: #fff;
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-lg);
  box-shadow: var(--owl-shadow-sm);
  overflow: hidden;
}

.owl-watch-table-card table {
  border: 0;
  box-shadow: none;
  margin: 0;
}

.owl-watch-table-card table thead th {
  background: var(--owl-surface-tint);
  border-bottom: 1px solid var(--owl-border);
  font-weight: 700;
  color: var(--owl-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 0.85rem 1rem;
}

.owl-watch-table-card table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

.owl-watch-table-card table tbody tr:hover {
  background: #f4f9f7;
}

.owl-watch-table-card .row-title-link {
  font-weight: 700;
  text-decoration: none;
}

.owl-watch-table-card__empty {
  padding: 2.25rem 1.5rem;
}

.owl-watch-admin .owl-watch-card form {
  display: grid;
  gap: 1.25rem;
}

.owl-watch-admin .owl-watch-card label {
  gap: 0.55rem;
}

.owl-watch-admin .owl-watch-card input,
.owl-watch-admin .owl-watch-card select,
.owl-watch-admin .owl-watch-card textarea {
  width: 100%;
  border: 1px solid var(--owl-border-strong);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  transition: border-color var(--owl-transition), box-shadow var(--owl-transition);
}

.owl-watch-admin .owl-watch-card input:focus,
.owl-watch-admin .owl-watch-card select:focus,
.owl-watch-admin .owl-watch-card textarea:focus {
  outline: none;
  border-color: var(--owl-brand);
  box-shadow: var(--owl-focus-ring);
}

.owl-watch-checkbox-field {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
}

.owl-watch-checkbox-field input[type="checkbox"] {
  width: 1.2rem !important;
  min-width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
}

.owl-watch-review-card[data-draft-state="in_progress"] .owl-watch-action-form button,
.owl-watch-review-card[data-draft-state="in_progress"] .owl-watch-review-form button {
  opacity: 0.6;
  pointer-events: none;
}

.owl-watch-draft-status {
  background: var(--owl-brand-soft);
  border: 1px solid #cfe2dc;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.owl-watch-draft-status__message {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--owl-brand-dark);
}

.owl-watch-review-card[data-draft-state="failed"] .owl-watch-draft-status {
  background: #fff1ef;
  border-color: #f3cdc6;
}

.owl-watch-review-card[data-draft-state="failed"] .owl-watch-draft-status__message {
  color: #8a221a;
}

.owl-watch-review-card[data-draft-state="in_progress"] .owl-watch-draft-status__message::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2.5px solid rgba(31, 91, 84, 0.25);
  border-top-color: var(--owl-brand);
  animation: owl-watch-spin 700ms linear infinite;
}

@keyframes owl-watch-spin {
  to {
    transform: rotate(360deg);
  }
}

.owl-watch-data-list,
.owl-watch-revision-trail {
  margin: 0;
}

.owl-watch-data-list {
  display: grid;
  gap: 0.9rem;
}

.owl-watch-data-list__row {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e6ecea;
}

.owl-watch-data-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.owl-watch-data-list dt {
  font-weight: 700;
  color: #1e2f35;
}

.owl-watch-data-list dd {
  margin: 0;
  color: #4f6663;
}

.owl-watch-submission-block {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.owl-watch-submission-block h3,
.owl-watch-card h3 {
  margin: 0;
}

.owl-watch-submission-block p {
  margin: 0;
}

.owl-watch-empty-state {
  margin: 0;
  color: #607371;
}

.owl-watch-copy-field {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--owl-border);
  border-radius: var(--owl-radius-md);
  background: #f8fbfa;
}

.owl-watch-copy-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.owl-watch-copy-field__value {
  margin: 0;
  color: #4b625f;
  font-weight: 600;
}

.owl-watch-lifecycle-summary {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--owl-border);
  border-radius: 16px;
  background: var(--owl-surface-tint);
}

.owl-watch-lifecycle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.owl-watch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e7f4ef;
  color: #17483f;
  font-weight: 700;
}

.owl-watch-badge--success {
  background: #eef6ff;
  color: #2a5272;
}

.owl-watch-badge--muted {
  background: #eff2f2;
  color: #566866;
}

.owl-watch-lifecycle-meta {
  margin: 0;
  color: var(--owl-muted);
}

.owl-watch-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.owl-watch-admin-actions form {
  margin: 0;
}

.owl-watch-action-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--owl-border);
}

.owl-watch-action-form--danger textarea {
  border-color: #e7c4be;
}

.owl-watch-revision-trail {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0;
  list-style: none;
}

.owl-watch-revision-trail__item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--owl-border);
  border-left: 3px solid var(--owl-brand);
  border-radius: var(--owl-radius-md);
  background: #fff;
}

.owl-watch-revision-trail__item p {
  margin: 0.45rem 0 0;
}

.owl-watch-revision-trail__meta {
  color: var(--owl-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.owl-watch-admin-test-form {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px dashed var(--owl-border-strong);
  border-radius: var(--owl-radius-md);
  max-width: 480px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .owl-watch-grid--two,
  .owl-watch-settings-grid {
    grid-template-columns: 1fr;
  }

  .owl-watch-public-shell {
    grid-template-columns: 1fr;
  }

  .owl-watch-public-sidebar {
    position: static;
  }

  .owl-watch-type-picker {
    grid-template-columns: 1fr;
  }

  .owl-watch-type-option__body {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
  }

  .owl-watch-type-option__icon {
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 700px) {
  .owl-watch-home-callout {
    padding: 1.75rem 1.4rem;
  }

  .owl-watch-home-callout__icon img {
    width: 60px;
    max-width: 60px;
  }

  .owl-watch-home-callout__actions .owl-watch-button {
    width: 100%;
  }

  .owl-watch-card {
    padding: 1.25rem;
  }

  .owl-watch-form-section {
    padding: 1.1rem 1rem 1.25rem;
  }

  .owl-watch-view-toggle {
    width: 100%;
  }

  .owl-watch-view-toggle__button {
    flex: 1 1 0;
  }

  .owl-watch-blotter__entry {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.25rem 0.15rem;
  }

  .owl-watch-blotter__date {
    grid-auto-flow: column;
    justify-content: start;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0;
    border-right: 0;
  }

  .owl-watch-blotter__day {
    font-size: 1.15rem;
    order: -1;
  }

  .owl-watch-blotter__month {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .owl-watch *,
  .owl-watch-admin *,
  .owl-watch-home-callout * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
