@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f0f2f8;
  --surface: #fff;
  --border: #dde3ef;
  --text: #141824;
  --muted: #718096;
  --secondary: #4a5568;
  --indigo: #5b4cdb;
  --indigo-dark: #4638b8;
  --indigo-soft: #ede9fe;
  --coral: #e85d4c;
  --teal: #0d9488;
  --success: #059669;
  --success-soft: #d1fae5;
  --error: #dc2626;
  --error-soft: #fee2e2;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 24, 36, 0.07);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 0% -10%, rgba(91, 76, 219, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(232, 93, 76, 0.08), transparent 42%),
    var(--bg);
  min-height: 100vh;
}
a { color: var(--indigo); text-decoration: none; font-weight: 600; }
button, input, select, textarea { font: inherit; }
.app { max-width: 1280px; margin: 0 auto; padding: 28px 20px 48px; }
.app-narrow { max-width: 440px; padding-top: 56px; }
h1, h2, h3 { margin: 0 0 8px; letter-spacing: -0.03em; }
h1 { font-size: 1.8rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92rem; }
.brand-sub { color: var(--muted); margin: 0; font-weight: 600; }

.portal-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 22px; }
.brand { display: flex; flex-direction: column; color: var(--text); }
.brand-mark { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portal-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.portal-nav a, .nav-logout button {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--secondary);
  background: transparent;
  border: 0;
  font-weight: 600;
  cursor: pointer;
}
.portal-nav a.active, .portal-nav a:hover, .nav-logout button:hover { background: white; color: var(--indigo); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: white; }
.nav-toggle span { display: block; height: 2px; margin: 5px 10px; background: var(--text); }

.card, .stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 16px;
}
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.eyebrow { color: var(--indigo); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.stat { font-size: 1.8rem; font-weight: 700; margin: 0 0 4px; }
.page-head, .split, .inline-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.page-head { margin-bottom: 16px; align-items: flex-end; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card strong { display: block; font-size: 1.6rem; margin-top: 6px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); background: white;
  padding: 10px 14px; font-weight: 700; cursor: pointer; color: var(--text);
}
.btn-primary { background: var(--indigo); border-color: var(--indigo); color: white; }
.btn-primary:hover { background: var(--indigo-dark); }
.btn-download { background: var(--teal); border-color: var(--teal); color: white; }
.btn-secondary { background: var(--indigo-soft); border-color: transparent; color: var(--indigo-dark); }
.btn-danger { background: var(--error-soft); border-color: transparent; color: var(--error); }
.btn-small { padding: 6px 10px; font-size: 0.85rem; }
.jobs-clear { flex: 0 0 auto; }
.jobs-clear .btn { white-space: nowrap; }
.note { background: var(--amber-soft); color: #92400e; border-radius: 10px; padding: 10px 12px; }
.pricing-note { margin: 8px 0 0; }
.pricing-note a { color: #92400e; text-decoration: underline; }

label { display: block; font-weight: 650; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fbfcff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(91, 76, 219, 0.25); border-color: var(--indigo); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.check input { width: auto; }
.form-grid .btn, .stack-form .btn { margin-top: 16px; }
.upload-wait { margin: 12px 0 0; font-weight: 700; color: var(--indigo-dark); }
.upload-wait::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.12em;
  animation: upload-spin 0.7s linear infinite;
}
@keyframes upload-spin { to { transform: rotate(360deg); } }
.page-auth form .btn { margin-top: 22px; width: 100%; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search-form { display: flex; gap: 8px; margin: 8px 0 14px; }
.search-form input { flex: 1; }
.search-form .btn { width: auto; }
.formula { font-size: 1.05rem; }

.table-wrap { overflow-x: auto; }
.sellers-table tr.is-own td,
.overlap-table tr.is-own td,
.overlap-detail tr.is-own td { background: #e7e4fb; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sort-link { color: inherit; font-weight: 700; }
.sort-link:hover, .sort-link.is-active { color: var(--indigo); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.lists-table table { table-layout: fixed; width: 100%; }
.lists-table col.col-seller { width: 8.25rem; }
.lists-table col.col-status { width: 6.75rem; }
.lists-table col.col-count { width: 7.25rem; }
.lists-table col.col-when { width: 8.25rem; }
.lists-table col.col-actions { width: 20.25rem; }
.lists-table td { vertical-align: middle; }
.lists-table th.status-cell,
.lists-table td.status-cell { padding-left: 4px; padding-right: 4px; text-align: center; }
.lists-table td.list-name strong,
.lists-table td.list-name .list-note {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lists-table td.seller-cell { overflow: hidden; }
.lists-table td.seller-cell .small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lists-table td.actions {
  white-space: nowrap;
  text-align: right;
  vertical-align: middle;
}
.lists-table .row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  vertical-align: middle;
}
.lists-table .row-actions .btn {
  height: 32px;
  margin: 0;
  padding: 0 10px;
  line-height: 1;
  box-sizing: border-box;
}
.lists-table .actions form {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 0;
}
.when { white-space: nowrap; }
.overlap-table { table-layout: fixed; width: 100%; }
.overlap-table col.seller { width: 13%; }
.overlap-table col.win { width: 5rem; }
.overlap-table col.beaten { width: 18.5rem; }
.overlap-table col.csv { width: 4.75rem; }
.overlap-table th,
.overlap-table td { vertical-align: middle; overflow: visible; }
.overlap-table td:first-child,
.overlap-table .num { white-space: nowrap; }
.overlap-table td:first-child a { display: block; overflow: hidden; text-overflow: ellipsis; }
.overlap-table .lost { padding-right: 3.5rem; }
.overlap-table .beaten { padding-left: 2.75rem; }
.table-wrap:has(.overlap-table) { overflow: visible; }
.win-high { color: var(--success); font-weight: 800; }
.win-mid { color: #92400e; font-weight: 800; }
.win-low { color: var(--error); font-weight: 800; }
.overlap-drop {
  display: block;
  position: relative;
  width: 14.25rem;
  margin: 0;
}
.overlap-lead,
.overlap-drop summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 14.25rem;
  height: 32px;
  margin: 0;
  box-sizing: border-box;
  border-radius: 999px;
  padding: 0 12px;
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 32px;
  white-space: nowrap;
}
.overlap-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.overlap-lead strong,
.overlap-drop summary strong { flex: none; font-variant-numeric: tabular-nums; }
.overlap-drop summary {
  cursor: pointer;
  list-style: none;
}
.overlap-drop summary::after {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}
.overlap-drop summary::-webkit-details-marker { display: none; }
.overlap-drop summary::marker { content: ""; }
.overlap-drop[open] { z-index: 20; }
.overlap-drop[open] summary { background: var(--indigo); color: white; }
.overlap-drop[open] summary::after { border-top: 0; border-bottom: 5px solid currentColor; }
.overlap-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% + 6px);
  width: 14.25rem;
  max-height: 16rem;
  overflow: auto;
  background: white;
  border: 1px solid var(--indigo);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20, 24, 36, 0.2);
}
.overlap-menu p {
  margin: 0;
  padding: 8px 12px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.overlap-drop ul {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.overlap-drop li { display: flex; align-items: baseline; gap: 8px; padding: 5px 12px; }
.overlap-drop li a,
.overlap-drop li span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.overlap-drop li a { color: var(--indigo-dark); }
.overlap-drop li span { flex: none; font-variant-numeric: tabular-nums; color: var(--secondary); }
.overlap-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.overlap-detail h3 { margin-bottom: 4px; }
.actions input[type="file"],
.inline-form input[type="file"],
.file-picker {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.actions .btn { flex: 0 0 auto; }
.danger-row { margin: 8px 0 16px; }
.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.alert-error { background: var(--error-soft); color: var(--error); }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-info { background: var(--indigo-soft); color: var(--indigo-dark); }
.badge { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; background: #edf2f7; color: var(--secondary); }
.badge-ready, .badge-done, .badge-ok, .badge-idle { background: var(--success-soft); color: var(--success); }
.badge-failed { background: var(--error-soft); color: var(--error); }
.badge-processing, .badge-running, .badge-building { background: var(--amber-soft); color: #92400e; }
.rebuild-progress { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; }
.rebuild-bar { flex: 1; max-width: 280px; height: 8px; background: #edf2f7; border-radius: 999px; overflow: hidden; }
.rebuild-bar span { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.badge-queued { background: var(--indigo-soft); color: var(--indigo-dark); }
.portal-footer { margin-top: 28px; color: var(--muted); font-size: 0.85rem; }
code { background: #edf2f7; border-radius: 6px; padding: 2px 5px; }
details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--indigo); }

button:disabled { opacity: 0.55; cursor: not-allowed; }
.inline-hint { min-height: 1.2rem; margin: 0 0 8px; color: var(--muted); font-size: 0.86rem; }
.inline-hint.is-error { color: var(--error); font-weight: 650; }

.status-bar {
  display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center;
  background: white; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px; margin: 0 0 16px; box-shadow: var(--shadow);
}
.status-bar-pending { border-radius: 14px; }
.status-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.status-bar-pending .status-dot { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }

.lookup-intro { margin: 4px 0 16px; width: 100%; }
.lookup-intro h2 { margin-bottom: 6px; }
.lookup-intro p { max-width: none; width: 100%; line-height: 1.55; margin-bottom: 0; }
.lookup-sellers { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.lookup-sellers-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lookup-sellers-title { margin: 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.lookup-sellers-actions { display: flex; gap: 6px; flex: none; }
.lookup-sellers-actions .btn { width: auto; }
.lookup-sellers-download {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.lookup-sellers-name {
  display: block; margin: 0 0 6px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.lookup-sellers-name-input { width: 100%; margin: 0 0 10px; }
.lookup-sellers-downloads { display: flex; flex-direction: column; gap: 8px; }
.lookup-sellers-downloads .btn { width: 100%; }
.download-sellers-client { background: #ede9fe; color: #4638b8; }
.download-sellers-client:hover { background: #e0daf8; }
.download-sellers-internal { background: #e5f2ef; color: #0f766e; }
.download-sellers-internal:hover { background: #d7ebe7; }
.lookup-sellers-note { margin: 8px 0 0; line-height: 1.4; }
.lookup-seller-list {
  max-height: 240px; overflow: auto; margin-top: 8px;
  border: 1px solid var(--border); border-radius: 10px;
}
.lookup-seller {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center; gap: 10px; margin: 0; padding: 8px 12px;
  border-bottom: 1px solid var(--border); font-size: 0.9rem; cursor: pointer;
}
.lookup-seller:last-child { border-bottom: 0; }
.lookup-seller.is-own { background: #e7e4fb; }
.lookup-seller input {
  margin: 0; width: 18px; height: 18px; justify-self: end; accent-color: var(--indigo); cursor: pointer;
}
.lookup-seller-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; color: var(--muted); }
.lookup-seller-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.lookup-layout { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.lookup-input-card, .lookup-results-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
}
.lookup-input-card .lookup-card-body,
.lookup-results-card .lookup-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.lookup-tab-panel, .lookup-field { display: flex; flex-direction: column; flex: 1; min-height: 0; }
[hidden] { display: none !important; }
.lookup-panel-title { margin-bottom: 12px; }
.lookup-tabs { display: flex; gap: 6px; margin-bottom: 14px; padding: 4px; background: #f4f6fb; border: 1px solid var(--border); border-radius: 12px; }
.lookup-tab { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 9px 10px; font-weight: 700; color: var(--secondary); cursor: pointer; }
.lookup-tab.is-active { background: white; color: var(--indigo); box-shadow: 0 1px 4px rgba(20, 24, 36, 0.08); }
.lookup-field textarea { flex: 1; min-height: 210px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86rem; }
.lookup-upload-requirements { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #f8f9fd; margin-bottom: 12px; }
.lookup-upload-requirements-title { margin: 0 0 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--secondary); }
.lookup-upload-requirements ul { margin: 0; padding-left: 1.1rem; color: var(--secondary); }
.lookup-upload-example { margin: 8px 0 0; padding: 10px 12px; background: white; border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; }
.lookup-input-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.lookup-actions { flex-direction: column; }
.lookup-actions .btn { width: 100%; }
.csv-upload-row { display: flex; gap: 8px; align-items: center; }
.csv-upload-row input[type="file"] { padding: 8px; }
.btn-ghost { background: transparent; width: auto; }
.lookup-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lookup-results-head .lookup-panel-title { margin: 0; }
.lookup-match-actions { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
.lookup-match-summary { margin: 0; background: var(--success-soft); color: var(--success); border-radius: 999px; padding: 6px 12px; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.btn-download-results { background: #ecfdf5; color: #047857; border-color: #6ee7b7; }
.lookup-results-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.lookup-result-stat {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: #f8fafc;
}
.lookup-result-stat-primary { background: #ecfdf5; border-color: #86efac; }
.lookup-result-stat-label, .lookup-result-stat-note { display: block; font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.lookup-result-stat-label { letter-spacing: 0.04em; text-transform: uppercase; }
.lookup-result-stat-note { margin-top: auto; padding-top: 8px; }
.lookup-result-stat strong { display: block; margin: 8px 0 0; font-size: 1.7rem; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lookup-results-summary { margin: 0 0 12px; }
.lookup-result-stat-primary strong { color: #047857; }
.lookup-results-empty { flex: 1; min-height: 180px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--border); border-radius: 12px; background: #f8f9fd; padding: 24px; }
.lookup-results-empty p { max-width: 26ch; color: var(--muted); }
.lookup-results-table-wrap { flex: 1; min-height: 180px; max-height: 540px; overflow: auto; }
#results-table { table-layout: fixed; }
#results-table th, #results-table td { vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
.col-status { width: 92px; }
.col-seller { width: 132px; }
.col-isbn { width: 136px; }
.col-asin { width: 112px; }
.col-language { width: 88px; }
.col-price { width: 84px; }
.col-title { width: 30%; }
.col-authors { width: 22%; }
.lookup-result-title, .lookup-clip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 0.75rem; font-weight: 800; }
.status-pill.found, .status-pill.age-fresh { background: var(--success-soft); color: var(--success); }
.status-pill.missing, .status-pill.age-stale { background: var(--error-soft); color: var(--error); }
.status-pill.age-aging { background: var(--amber-soft); color: #92400e; }
.lookup-results-footer { margin-top: auto; padding-top: 12px; }
.lookup-results-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; }
.lookup-results-page-label { font-weight: 700; color: var(--secondary); min-width: 8rem; text-align: center; }
.whole-catalogue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed #c5cde0;
  border-radius: var(--radius);
  background: transparent;
}
.whole-catalogue-copy { min-width: 0; }
.whole-catalogue h3 { margin: 0 0 4px; }
.whole-catalogue p { margin: 0; max-width: 62ch; color: var(--secondary); }
.whole-catalogue .muted { margin-top: 6px; }
.whole-catalogue .button-row { margin: 0; flex-shrink: 0; }
.catalogue-downloads {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 320px;
  flex: 0 0 320px;
}
.catalogue-downloads .btn { width: 100%; white-space: nowrap; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
#results-table td, #results-table th { white-space: nowrap; }

@media (max-width: 860px) {
  .hero, .stats, .field-pair, .lookup-layout, .lookup-results-stats { grid-template-columns: 1fr; }
  .lookup-input-card, .lookup-results-card { min-height: 0; height: auto; }
  .whole-catalogue { flex-direction: column; align-items: flex-start; }
  .catalogue-downloads { width: 100%; flex-basis: auto; }
  .lookup-match-actions { align-items: stretch; }
  .status-bar { border-radius: 14px; }
  .portal-header { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: inline-block; }
  .portal-nav { display: none; flex-direction: column; align-items: stretch; background: white; border-radius: 12px; padding: 8px; }
  .portal-nav.open { display: flex; }
  .page-head, .split, .inline-card, .search-form { flex-direction: column; align-items: stretch; }
  .overlap-detail { grid-template-columns: 1fr; }
}
