:root, html[data-theme="light"] {
  --primary: #783843;
  --secondary: #2b222c;
  --accent: #fff3ec;
  --header-color: #fff9f5;
  --header-branding-color: #ffcfbc;
  --link-fg: #783843;
  --selected-row: #fff0e9;
  --breadcrumbs-bg: #614451;
  --button-bg: #783843;
  --button-hover-bg: #613039;
}
html[data-theme="dark"] { --primary: #a85b66; --secondary: #342536; --link-fg: #f4bcaf; }
#header { gap: 1rem; }
.ops-auth h1 { font-size: 1.4rem; margin: 0 0 1rem; }
.ops-auth input { box-sizing: border-box; width: 100%; }
.ops-auth form { display: grid; gap: 0.75rem; }
.ops-auth button { justify-self: start; padding: 0.7rem 1.2rem; }
.ops-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.65rem; margin-bottom: 1.3rem; }
.ops-cards a { display: grid; gap: 0.2rem; border: 1px solid var(--border-color); border-radius: 0.35rem; padding: 0.75rem; }
.ops-cards strong { font-size: 1.4rem; color: var(--body-fg); }
.ops-section { margin-bottom: 1.1rem; }
.ops-section h2 { font-size: 1.1rem; }
.ops-table { width: 100%; }
.ops-scroll { overflow-x: auto; }
.ops-form textarea { width: min(100%, 44rem); box-sizing: border-box; }
.ops-preview { max-width: 55rem; }
.ops-preview img { max-width: 100%; height: auto; }
@media (max-width: 45rem) {
  #header { flex-wrap: wrap; }
  .ops-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
