:root {
  --paper: #faf4ea;
  --paper-2: #f2e8d8;
  --white: #fffdf9;
  --ink: #241c17;
  --ink-soft: #75665a;
  --muted: #9b8a76;
  --line: #e4d7c4;
  --line-strong: #d3c1aa;
  --persimmon: #c4502e;
  --persimmon-dark: #9f3e23;
  --persimmon-soft: #f8e4dc;
  --matcha: #5f6f33;
  --matcha-soft: #edf0df;
  --gold: #b3812e;
  --gold-soft: #f7edd8;
  --blue: #496878;
  --blue-soft: #e6eef1;
  --shadow: 0 22px 55px -36px rgba(58, 30, 12, 0.46);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(196, 80, 46, 0.08), transparent 28rem),
    var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.brand-name {
  font: 600 26px/1 Fraunces, Georgia, serif;
  letter-spacing: -0.025em;
}

.brand-name b {
  color: var(--persimmon);
  font-weight: 600;
}

.brand-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--persimmon);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.muted {
  color: var(--ink-soft);
}

.center-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.loading-mark,
.empty-monogram {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--paper);
  font: 600 22px/1 Fraunces, Georgia, serif;
  box-shadow: var(--shadow);
}

.center-screen p {
  color: var(--ink-soft);
}

.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
}

.login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 54px clamp(36px, 7vw, 100px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(36, 28, 23, 0.96), rgba(51, 41, 32, 0.9)),
    url("/assets/images/home-hero.jpg") center/cover;
  color: #fff8ed;
}

.login-visual::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  bottom: -170px;
  border: 1px solid rgba(255, 248, 237, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 248, 237, 0.025),
    0 0 0 92px rgba(255, 248, 237, 0.02);
}

.login-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.login-brand .brand-sub {
  color: #d9c8b5;
}

.login-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: auto 0;
}

.login-copy .eyebrow {
  color: #eab08f;
}

.login-copy h1 {
  margin: 0 0 22px;
  font: 500 clamp(42px, 5vw, 72px)/1.08 Fraunces, Georgia, serif;
  letter-spacing: -0.035em;
}

.login-copy > p:last-child {
  max-width: 580px;
  margin: 0;
  color: #ddcdbb;
  font-size: 17px;
  line-height: 1.8;
}

.login-principles {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.login-principles span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 248, 237, 0.25);
  border-radius: 999px;
  color: #eadbca;
  font-size: 12px;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--paper);
}

.login-card,
.access-card {
  width: min(100%, 430px);
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
}

.login-card h2,
.access-card h1 {
  margin: 0 0 12px;
  font: 500 34px/1.18 Fraunces, Georgia, serif;
}

.login-card form {
  margin-top: 28px;
}

.login-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.login-card input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.login-card input:focus {
  border-color: var(--persimmon);
  box-shadow: 0 0 0 3px rgba(196, 80, 46, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff8ed;
}

.button-primary:hover {
  border-color: var(--persimmon);
  background: var(--persimmon);
}

.login-card .button {
  width: 100%;
  margin-top: 14px;
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--persimmon);
  color: var(--persimmon);
}

.button-review {
  background: var(--gold);
  color: #fff;
}

.button-success {
  background: var(--matcha);
  color: #fff;
}

.button-danger {
  border-color: #c98673;
  background: #fff8f5;
  color: var(--persimmon-dark);
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--matcha);
  font-size: 13px;
  line-height: 1.5;
}

.access-card code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper-2);
}

.dashboard {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  padding: 30px 22px 22px;
  border-right: 1px solid #3c332b;
  background: var(--ink);
  color: #f7ead8;
}

.sidebar-brand {
  display: inline-flex;
  flex-direction: column;
  margin: 0 10px 40px;
  color: inherit;
  text-decoration: none;
}

.sidebar-brand .brand-sub {
  color: #bda993;
}

.side-section {
  margin-bottom: 30px;
}

.side-label {
  display: block;
  margin: 0 10px 10px;
  color: #907f70;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.side-link,
.priority-filter {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #cdbdab;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.side-link:hover,
.priority-filter:hover,
.side-link.is-active,
.priority-filter.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ed;
}

.side-link b {
  min-width: 23px;
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #baa895;
  font-size: 10px;
  text-align: center;
}

.priority-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #776d64;
}

.priority-dot.p0 {
  background: #db795a;
}

.priority-dot.p1 {
  background: #d0a44e;
}

.priority-dot.p2 {
  background: #75909c;
}

.sidebar-user {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--persimmon);
  color: #fff;
  font: 600 13px/1 Fraunces, Georgia, serif;
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user strong {
  max-width: 100px;
  font-size: 11px;
}

.sidebar-user span {
  margin-top: 2px;
  color: #9e8d7d;
  font-size: 10px;
}

.text-button {
  padding: 3px;
  border: 0;
  background: transparent;
  color: #a99888;
  font-size: 11px;
  cursor: pointer;
}

.text-button:hover {
  color: #fff;
}

.workspace {
  min-width: 0;
  padding: 30px clamp(22px, 4vw, 52px) 54px;
}

.demo-banner {
  margin: -30px clamp(-52px, -4vw, -22px) 24px;
  padding: 9px 24px;
  background: #6d592f;
  color: #fff6df;
  font-size: 12px;
  text-align: center;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  max-width: 1560px;
  margin: 0 auto 26px;
}

.workspace-header h1 {
  margin: 0;
  font: 500 42px/1 Fraunces, Georgia, serif;
  letter-spacing: -0.025em;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: min(34vw, 330px);
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.search-box span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.stats-row {
  max-width: 1560px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 18px;
}

.stats-row article {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.84);
}

.stats-row span,
.stats-row small {
  display: block;
}

.stats-row span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.stats-row strong {
  display: block;
  margin: 4px 0 2px;
  font: 600 28px/1.15 Fraunces, Georgia, serif;
}

.stats-row small {
  color: var(--muted);
  font-size: 10px;
}

.review-layout {
  max-width: 1560px;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(560px, 1.45fr);
  gap: 16px;
  margin: 0 auto;
}

.queue-panel,
.editor-panel {
  min-width: 0;
  height: max(620px, calc(100vh - 180px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--shadow);
}

.queue-panel {
  display: flex;
  flex-direction: column;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
  margin: 0;
  font: 500 20px/1.2 Fraunces, Georgia, serif;
}

.panel-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.panel-heading select {
  max-width: 120px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 11px;
}

.queue-list {
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.load-more {
  width: calc(100% - 32px);
  margin: 14px 16px 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.load-more:hover {
  border-color: var(--persimmon);
  color: var(--persimmon);
}

.queue-item {
  width: 100%;
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.queue-item:hover,
.queue-item.is-selected {
  background: #fffaf3;
}

.queue-item.is-selected {
  box-shadow: inset 3px 0 var(--persimmon);
}

.queue-priority {
  background: var(--blue);
}

.queue-priority.p0 {
  background: var(--persimmon);
}

.queue-priority.p1 {
  background: var(--gold);
}

.queue-body {
  min-width: 0;
  padding: 17px 16px 17px 0;
}

.queue-meta,
.queue-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.queue-meta {
  margin-bottom: 7px;
}

.queue-code {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
}

.status-pill.researching {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-pill.needs_review {
  background: var(--gold-soft);
  color: #8c661d;
}

.status-pill.verified {
  background: var(--matcha-soft);
  color: var(--matcha);
}

.status-pill.closed,
.status-pill.not_found {
  background: var(--persimmon-soft);
  color: var(--persimmon-dark);
}

.queue-body h3 {
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--ink);
  font: 500 17px/1.24 Fraunces, Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-location {
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-foot {
  color: var(--muted);
  font-size: 9px;
}

.queue-empty {
  min-height: 360px;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 30px;
  color: var(--ink-soft);
  text-align: center;
}

.queue-empty span {
  color: var(--muted);
  font-size: 12px;
}

.editor-panel {
  overflow: auto;
}

.editor-empty {
  min-height: 680px;
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
}

.editor-empty h2 {
  margin: 0 0 8px;
  font: 500 25px/1.25 Fraunces, Georgia, serif;
}

.editor-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.editor-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
}

.editor-head-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.editor-head h2 {
  margin: 3px 0 5px;
  font: 500 29px/1.15 Fraunces, Georgia, serif;
}

.editor-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.editor-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.editor-status select {
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
}

.editor-status small {
  color: var(--muted);
  font-size: 9px;
}

.source-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.source-link {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.source-link:hover {
  border-color: var(--persimmon);
  color: var(--persimmon);
}

.editor-form {
  padding: 4px 24px 30px;
}

.form-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.section-heading h3 {
  margin: 0;
  font: 500 20px/1.25 Fraunces, Georgia, serif;
}

.section-heading p {
  max-width: 430px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.match-grid,
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  font-size: 12px;
}

.form-control:focus {
  border-color: var(--persimmon);
  box-shadow: 0 0 0 3px rgba(196, 80, 46, 0.1);
}

textarea.form-control {
  min-height: 92px;
  resize: vertical;
  line-height: 1.6;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 600;
}

.check-card input {
  width: 17px;
  height: 17px;
  accent-color: var(--matcha);
}

.locality-field {
  grid-column: span 1;
}

.select-with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.select-with-action .button {
  min-height: 40px;
  white-space: nowrap;
}

.tag-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.tag-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.tag-chip input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--matcha);
}

.tag-chip:has(input:checked) {
  border-color: var(--matcha);
  background: var(--matcha-soft);
  color: var(--ink);
}

.tag-add-row {
  display: grid;
  grid-template-columns: minmax(220px, 380px) auto;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.tag-add-row .button {
  min-height: 40px;
  white-space: nowrap;
}

.evidence-list {
  display: grid;
  gap: 10px;
}

.evidence-card {
  display: grid;
  grid-template-columns: 150px minmax(150px, 0.65fr) minmax(240px, 1.35fr) auto;
  gap: 9px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.remove-evidence {
  width: 34px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.remove-evidence:hover {
  border-color: var(--persimmon);
  color: var(--persimmon);
}

.fields-list {
  display: grid;
  gap: 9px;
}

.field-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.field-row > strong {
  grid-column: 1 / -1;
  font-size: 11px;
}

.field-row .field-label {
  margin-bottom: 5px;
}

.form-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 0 -24px -30px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
}

.validation-box {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid #e4b3a5;
  border-radius: 12px;
  background: #fff5f1;
  color: var(--persimmon-dark);
  font-size: 11px;
}

.validation-box ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff8ed;
  box-shadow: 0 18px 50px rgba(36, 28, 23, 0.28);
  font-size: 12px;
}

.toast.is-error {
  background: var(--persimmon-dark);
}

@media (max-width: 1120px) {
  .dashboard {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .review-layout {
    grid-template-columns: 310px minmax(500px, 1fr);
  }

  .stats-row small {
    display: none;
  }

  .evidence-card {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-card > :nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .login-screen {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 420px;
  }

  .login-principles {
    margin-top: 40px;
  }

  .dashboard {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    padding: 20px;
  }

  .sidebar-brand {
    margin-bottom: 20px;
  }

  .side-section {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-bottom: 12px;
  }

  .side-label {
    display: none;
  }

  .side-link,
  .priority-filter {
    width: auto;
    flex: 0 0 auto;
  }

  .sidebar-user {
    margin-top: 14px;
  }

  .workspace {
    padding: 24px 16px 40px;
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .queue-list {
    min-height: 0;
    max-height: 420px;
  }

  .queue-panel,
  .editor-panel {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .login-visual {
    padding: 34px 25px;
  }

  .login-copy h1 {
    font-size: 42px;
  }

  .login-panel {
    padding: 24px 16px;
  }

  .workspace-header {
    display: block;
  }

  .header-actions {
    margin-top: 16px;
    align-items: stretch;
  }

  .search-box {
    min-width: 0;
    flex: 1;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .editor-head-top,
  .section-heading {
    display: block;
  }

  .editor-status {
    margin-top: 14px;
    align-items: flex-start;
  }

  .match-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .select-with-action,
  .tag-add-row {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    grid-template-columns: 1fr;
  }

  .evidence-card > :nth-child(3) {
    grid-column: auto;
  }

  .form-actions {
    flex-wrap: wrap;
  }
}
