:root {
  color-scheme: light;
  --page: #f4f6f4;
  --surface: #ffffff;
  --surface-soft: #f8faf8;
  --surface-warm: #fbf8f2;
  --ink: #17201b;
  --muted: #5d6861;
  --line: #d8ded9;
  --line-strong: #b9c4bc;
  --green: #17623b;
  --green-strong: #0f4b2b;
  --green-soft: #e8f3ec;
  --blue: #235f94;
  --blue-soft: #eaf2f8;
  --amber: #96600b;
  --amber-soft: #fff3d8;
  --orange: #b44b20;
  --orange-soft: #fff0e8;
  --red: #a42a2a;
  --red-soft: #fbeaea;
  --gray-soft: #edf1ee;
  --shadow: 0 10px 28px rgba(23, 32, 27, 0.07);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
}

button,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

a:hover {
  color: #17456e;
}

h1,
h2,
h3,
p,
li,
td,
th,
dd,
dt,
span,
strong {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.app-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1500px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  gap: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #b8c9bd;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green-strong);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow,
.section-kicker {
  margin: 0 0 3px;
  color: var(--green);
  font-size: 0.71rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.source-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 1 580px;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: right;
}

.source-block strong {
  color: var(--ink);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 2px;
}

.scanner-band {
  border-bottom: 1px solid var(--line);
  background: var(--page);
}

.scanner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  width: min(1500px, calc(100% - 32px));
  min-height: min(650px, calc(100vh - 126px));
  margin: 0 auto;
  padding: 14px 0;
  gap: 14px;
}

.tool-pane {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.evidence-pane,
.summary-pane {
  display: flex;
  flex-direction: column;
}

.pane-heading,
.results-header,
.subsection-heading,
.surface-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.summary-heading-row {
  align-items: center;
}

.local-chip,
.status-chip,
.result-summary-chip,
.subsection-heading > span,
.surface-heading > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
}

.local-chip {
  border-color: #b7c9bd;
  background: var(--green-soft);
  color: var(--green-strong);
}

.positioning {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.field-label {
  margin: 14px 0 6px;
  color: #344039;
  font-size: 0.77rem;
  font-weight: 750;
}

textarea {
  display: block;
  width: 100%;
  min-height: 270px;
  flex: 1 1 270px;
  resize: vertical;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: none;
  background: #fcfdfc;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.48;
  tab-size: 2;
}

textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 95, 148, 0.13);
}

textarea::placeholder {
  color: #78837c;
}

.input-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.69rem;
}

.input-message {
  min-height: 19px;
  margin: 4px 0 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.button,
.copy-button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.15;
}

.button-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-action {
  background: var(--green);
  color: #ffffff;
}

.secondary-action {
  border-color: #b7c9bd;
  background: var(--green-soft);
  color: var(--green-strong);
}

.ghost-action {
  border-color: var(--line);
  background: var(--surface-soft);
  color: #344039;
}

.button:hover,
.copy-button:hover,
.tab-button:hover {
  filter: brightness(0.98);
}

.button:focus-visible,
.copy-button:focus-visible,
.tab-button:focus-visible {
  outline: 3px solid rgba(35, 95, 148, 0.22);
  outline-offset: 2px;
}

.accepted-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.accepted-inputs span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.25;
}

.summary-pane {
  gap: 12px;
}

.summary-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(240px, 1.18fr);
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.state-critical {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.state-high {
  border-left-color: var(--orange);
  background: var(--orange-soft);
}

.state-medium {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.state-low {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.state-empty {
  border-left-color: var(--line-strong);
}

.exposure-block,
.top-risk-block {
  min-width: 0;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  text-transform: uppercase;
}

.exposure-block > strong {
  display: block;
  margin-top: 5px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.top-risk-block > strong {
  display: block;
  margin-top: 5px;
  font-size: 0.83rem;
  line-height: 1.38;
}

.confidence-line {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-grid > div {
  min-width: 0;
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.metric-grid dt {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 740;
  text-transform: uppercase;
}

.metric-grid dd {
  margin: 3px 0 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.next-action {
  padding: 11px 12px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.next-action span {
  display: block;
  color: #3d617f;
  font-size: 0.67rem;
  font-weight: 760;
  text-transform: uppercase;
}

.next-action strong {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.surface-summary {
  min-height: 0;
}

.surface-heading {
  align-items: center;
  color: #354139;
  font-size: 0.75rem;
  font-weight: 760;
}

.compact-list,
.work-list,
.missing-list {
  margin: 7px 0 0;
  padding-left: 19px;
  color: var(--muted);
  font-size: 0.74rem;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
}

.compact-list li,
.work-list li,
.missing-list li {
  padding-left: 1px;
}

.result-status {
  min-height: 20px;
  margin: auto 0 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.71rem;
}

.status-critical,
.priority-critical {
  border-color: #e3b4b4;
  background: var(--red-soft);
  color: var(--red);
}

.status-high,
.priority-high,
.version-v3 {
  border-color: #e9bea9;
  background: var(--orange-soft);
  color: #93401c;
}

.status-medium,
.priority-medium,
.version-mixed,
.status-review {
  border-color: #e7d29f;
  background: var(--amber-soft);
  color: #805106;
}

.status-low,
.priority-low,
.version-v4,
.status-ready {
  border-color: #b6d1bf;
  background: var(--green-soft);
  color: var(--green-strong);
}

.status-unknown,
.version-unknown,
.status-missing {
  border-color: var(--line);
  background: var(--gray-soft);
  color: var(--muted);
}

.privacy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1500px, calc(100% - 32px));
  margin: -2px auto 0;
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 0.68rem;
}

.privacy-strip span {
  min-width: 0;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.privacy-strip span:first-child {
  border-left: 1px solid var(--line);
  border-radius: 5px 0 0 5px;
}

.privacy-strip span + span {
  border-left: 1px solid var(--line);
}

.privacy-strip span:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 5px 5px 0;
}

.results-band {
  background: var(--surface);
}

.results-inner {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.results-header {
  align-items: flex-end;
  margin-bottom: 12px;
}

.tab-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  width: min(620px, 100%);
  min-height: 42px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.tab-button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.tab-button.active {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(23, 32, 27, 0.08);
}

.tab-panel {
  padding-top: 18px;
}

.tab-panel[hidden] {
  display: none;
}

.portfolio-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 11px;
  padding: 10px 12px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  font-size: 0.76rem;
}

.portfolio-summary strong {
  flex: 0 0 auto;
}

.portfolio-summary span {
  color: #34553f;
  text-align: right;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--surface);
  font-size: 0.73rem;
}

.data-table th,
.data-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-soft);
  color: #46524a;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: #fbfcfb;
}

.inventory-table th:nth-child(1) { width: 16%; }
.inventory-table th:nth-child(2) { width: 17%; }
.inventory-table th:nth-child(3) { width: 18%; }
.inventory-table th:nth-child(4) { width: 9%; }
.inventory-table th:nth-child(5) { width: 13%; }
.inventory-table th:nth-child(6) { width: 17%; }
.inventory-table th:nth-child(7) { width: 10%; }

.cell-primary {
  display: block;
  color: var(--ink);
  font-weight: 720;
}

.cell-secondary {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
}

.table-chip,
.mini-status {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
}

.empty-row td {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.timeline-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.subsection-heading {
  align-items: center;
  margin-bottom: 10px;
}

.subsection-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-item {
  min-width: 0;
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.timeline-item strong,
.timeline-item span,
.timeline-item a {
  display: block;
}

.timeline-item strong {
  font-size: 0.77rem;
}

.timeline-item .timeline-date {
  margin-top: 3px;
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 760;
}

.timeline-item .timeline-detail {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
}

.timeline-item a {
  margin-top: 7px;
  font-size: 0.68rem;
}

.breaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.breaker-item {
  min-width: 0;
  min-height: 178px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-soft);
}

.breaker-item.detected {
  border-top: 4px solid var(--orange);
  background: var(--orange-soft);
}

.breaker-item.review {
  border-top: 4px solid var(--amber);
  background: var(--amber-soft);
}

.breaker-item.clear {
  border-top: 4px solid var(--line-strong);
}

.breaker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.breaker-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.71rem;
}

.breaker-evidence {
  padding-top: 7px;
  border-top: 1px solid rgba(120, 105, 70, 0.2);
}

.plan-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-section {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.compact-heading {
  align-items: flex-start;
}

.plan-list {
  margin: 11px 0 0;
  padding-left: 27px;
  color: #354139;
  font-size: 0.75rem;
}

.plan-list li {
  padding: 0 0 8px 4px;
}

.plan-list li::marker {
  color: var(--green);
  font-weight: 800;
}

.checklist {
  margin-top: 11px;
  border-top: 1px solid var(--line);
}

.check-item {
  display: grid;
  grid-template-columns: minmax(112px, 0.35fr) minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}

.check-item strong {
  font-size: 0.73rem;
}

.check-item span:nth-child(2) {
  color: var(--muted);
}

.owner-section,
.missing-section {
  margin-top: 24px;
}

.owner-table {
  min-width: 720px;
}

.owner-table th:nth-child(1) { width: 24%; }
.owner-table th:nth-child(2) { width: 22%; }
.owner-table th:nth-child(3) { width: 36%; }
.owner-table th:nth-child(4) { width: 18%; }

.evidence-layout {
  margin-top: 22px;
}

.work-list,
.missing-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.73rem;
}

.missing-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 28px;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.copy-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-width: 0;
  min-height: 102px;
  padding: 13px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-soft);
}

.copy-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.copy-button {
  min-width: 76px;
  min-height: 36px;
  border-color: #b9cedd;
  background: var(--blue-soft);
  color: var(--blue);
}

.copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.copy-fallback {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid #b9cedd;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
}

.copy-fallback[hidden] {
  display: none;
}

.copy-fallback label {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.copy-fallback textarea {
  min-height: 180px;
  flex: none;
  resize: vertical;
  background: var(--surface);
}

.copy-note {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.boundary-band {
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
}

.boundary-inner {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
}

.boundary-inner h2 {
  font-size: 0.86rem;
}

.boundary-inner p {
  margin: 6px 0 0;
  color: #5f625c;
  font-size: 0.73rem;
}

@media (max-width: 1120px) {
  .scanner-grid,
  .plan-layout,
  .copy-grid {
    grid-template-columns: 1fr;
  }

  .scanner-grid {
    min-height: 0;
  }

  .summary-pane {
    order: 2;
  }

  .privacy-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-strip span,
  .privacy-strip span:first-child,
  .privacy-strip span:last-child {
    border: 1px solid var(--line);
    border-radius: 0;
  }

  .timeline-grid,
  .breaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner,
  .scanner-grid,
  .privacy-strip,
  .results-inner,
  .boundary-inner {
    width: min(100% - 22px, 1500px);
  }

  .header-inner {
    display: block;
    padding: 12px 0;
  }

  h1 {
    font-size: 1.2rem;
  }

  .source-block {
    align-items: flex-start;
    margin-top: 10px;
    text-align: left;
  }

  .source-links {
    justify-content: flex-start;
  }

  .scanner-grid {
    padding-top: 11px;
    gap: 10px;
  }

  .tool-pane {
    padding: 13px;
  }

  .pane-heading,
  .results-header,
  .subsection-heading,
  .portfolio-summary {
    display: grid;
  }

  .summary-heading-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  textarea {
    min-height: 245px;
    flex-basis: 245px;
    font-size: 0.75rem;
  }

  .input-meta {
    display: grid;
    gap: 2px;
  }

  .action-row,
  .metric-grid,
  .summary-band,
  .privacy-strip,
  .timeline-grid,
  .breaker-grid,
  .missing-list {
    grid-template-columns: 1fr;
  }

  .accepted-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accepted-inputs span {
    text-align: center;
  }

  .compact-list {
    grid-template-columns: 1fr;
  }

  .privacy-strip span,
  .privacy-strip span:first-child,
  .privacy-strip span:last-child {
    border-radius: 0;
  }

  .results-inner {
    padding-top: 20px;
  }

  .results-header {
    align-items: start;
  }

  .tab-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .tab-button {
    min-width: 0;
    padding: 0 5px;
    font-size: 0.72rem;
  }

  .portfolio-summary span {
    text-align: left;
  }

  .inventory-table,
  .owner-table {
    min-width: 0;
    border: 0;
  }

  .inventory-table thead,
  .owner-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .inventory-table,
  .inventory-table tbody,
  .inventory-table tr,
  .inventory-table td,
  .owner-table,
  .owner-table tbody,
  .owner-table tr,
  .owner-table td {
    display: block;
    width: 100%;
  }

  .inventory-table tr,
  .owner-table tr {
    border-bottom: 1px solid var(--line);
  }

  .inventory-table td,
  .owner-table td {
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 0;
  }

  .inventory-table td::before,
  .owner-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .inventory-table .empty-row td,
  .owner-table .empty-row td {
    display: block;
    text-align: left;
  }

  .inventory-table .empty-row td::before,
  .owner-table .empty-row td::before {
    display: none;
  }

  .check-item {
    grid-template-columns: 1fr auto;
  }

  .check-item span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .copy-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 420px) {
  .summary-heading-row {
    grid-template-columns: 1fr;
  }

  .status-chip {
    justify-self: start;
  }

  .tab-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copy-item {
    grid-template-columns: 1fr;
  }

  .copy-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
