:root {
  --ink: #17202a;
  --muted: #607085;
  --line: #d8dee7;
  --panel: #ffffff;
  --page: #f5f7fa;
  --teal: #087f73;
  --blue: #275fba;
  --rust: #a34816;
  --gold: #b7791f;
  --danger: #b42318;
  --ok: #147a3f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 127, 115, 0.12), rgba(39, 95, 186, 0.08)),
    var(--page);
}

.auth-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 32, 42, 0.12);
}

.auth-card h1 {
  font-size: 34px;
  line-height: 1.08;
}

.auth-copy {
  margin: 10px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.sign-in-mount {
  min-height: 220px;
}

.auth-setup-hint {
  margin: 16px 0 0;
  border: 1px solid #f4c27a;
  border-radius: 8px;
  padding: 12px;
  color: #7a3e05;
  background: #fff7ea;
  font-size: 14px;
  font-weight: 700;
}

.auth-access-hint {
  margin: 16px 0 0;
  border: 1px solid #f4a09a;
  border-radius: 8px;
  padding: 12px;
  color: #8f1f17;
  background: #fff1f0;
  font-size: 14px;
  font-weight: 700;
}

.search-panel,
.status-strip,
.results-column,
.detail-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-panel {
  padding: 18px;
}

.brand-row,
.toolbar,
.source-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.user-button-mount {
  min-width: 32px;
}

.eyebrow,
.section-title {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.primary-button {
  min-width: 116px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 750;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.advanced-toggle,
.advanced-filters {
  grid-column: 1 / -1;
}

.advanced-toggle {
  display: flex;
  justify-content: flex-end;
}

.advanced-filters {
  border-top: 1px solid var(--line);
}

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

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.filter-heading h2 {
  font-size: 19px;
}

.filter-heading span {
  color: var(--ink);
  font-weight: 900;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  max-width: 920px;
}

.compact-row {
  grid-template-columns: repeat(2, minmax(180px, 230px));
}

.checkbox-grid,
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.checkbox-grid label,
.radio-row label,
.inline-check,
.mode-grid label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  color: var(--ink);
}

.checkbox-grid input,
.radio-row input,
.inline-check input,
.mode-grid input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.feature-grid {
  max-width: 1180px;
}

.inline-check {
  width: fit-content;
  margin-top: 14px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.mode-grid fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.mode-grid legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
button:focus-visible {
  outline: 3px solid rgba(8, 127, 115, 0.22);
  outline-offset: 1px;
}

.source-layout {
  margin-top: 18px;
  align-items: flex-end;
}

.agency-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agency-pill,
.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.agency-pill input,
.toggle-row input {
  width: 16px;
  height: 16px;
}

.agency-pill.disabled {
  color: var(--muted);
  background: #f6f8fb;
  border-style: dashed;
}

.pill-soon {
  border-radius: 999px;
  padding: 1px 7px;
  background: #eef3f8;
  color: #607085;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-strip {
  margin-top: 12px;
  padding: 10px;
}

.status-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 10px;
}

.status-sort select {
  height: 34px;
}

.status-body.collapsed {
  display: none;
}

.status-rows {
  overflow-x: auto;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
}

.status-table thead th {
  padding: 6px 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-table thead th:last-child {
  text-align: right;
}

.status-table tbody tr.status-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.14s ease;
}

.status-table tbody tr.status-row:last-child {
  border-bottom: 0;
}

.status-table tbody tr.status-row.clickable {
  cursor: pointer;
}

.status-table tbody tr.status-row.clickable:hover {
  background: #f0fbf8;
}

.status-table tbody tr.status-row.active {
  background: #eefaf6;
}

.status-table td {
  padding: 9px 11px;
  vertical-align: middle;
}

.status-caret {
  margin-left: 4px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.status-name {
  font-weight: 750;
}

.status-count {
  text-align: right;
  white-space: nowrap;
}

.status-expand-toggle {
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.status-expand-toggle:hover {
  background: #f0f5fc;
}

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  color: #fff;
  background: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-badge.loading {
  background: var(--gold);
}

.status-badge.done {
  background: var(--ok);
}

.status-badge.error {
  background: var(--danger);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  margin-top: 12px;
}

.results-column,
.detail-panel {
  min-height: 580px;
  padding: 14px;
}

.toolbar-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sort-control span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sort-control select {
  width: auto;
  height: 38px;
}

.segmented {
  display: inline-grid;
  flex-shrink: 0;
  grid-auto-flow: column;
  grid-auto-columns: minmax(max-content, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.segmented button {
  min-width: 82px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  color: var(--muted);
  background: #fff;
  font-weight: 750;
  white-space: nowrap;
}

.segmented button.active {
  color: #fff;
  background: var(--blue);
}

.list-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.property-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.card-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 0;
}

.bookmark-btn {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef3f8;
  color: #607085;
  font-size: 18px;
  line-height: 1;
}

.bookmark-btn:hover {
  color: var(--gold);
}

.bookmark-btn.active {
  color: var(--gold);
}

.detail-bookmark.active {
  border-color: var(--gold);
  color: var(--gold);
}

.property-card.selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 115, 0.16);
}

.property-card img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: #e8edf4;
}

.property-body {
  padding: 8px 12px 12px;
}

.property-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.meta-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.meta-row {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.price {
  color: var(--teal);
  font-size: 19px;
  font-weight: 850;
}

.badge {
  border-radius: 999px;
  padding: 3px 8px;
  background: #eef3f8;
  color: #425267;
  font-size: 12px;
  font-weight: 750;
}

.badge.demo {
  color: #7a3a0c;
  background: #fff4df;
}

.badge.dist {
  color: #1e4620;
  background: #e6f4ea;
}

.empty-state {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.map-view {
  margin-top: 14px;
}

.leaflet-map {
  height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 0;
}

.map-canvas {
  position: relative;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 127, 115, 0.11), transparent 45%),
    linear-gradient(45deg, rgba(39, 95, 186, 0.14), transparent 55%),
    #eef4f0;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 32, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 42, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.map-label {
  position: absolute;
  color: rgba(23, 32, 42, 0.45);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.north {
  top: 12px;
  left: 50%;
}

.south {
  bottom: 12px;
  left: 50%;
}

.west {
  top: 50%;
  left: 12px;
}

.east {
  top: 50%;
  right: 12px;
}

.marker {
  position: absolute;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.marker.selected {
  width: 28px;
  height: 28px;
  background: var(--teal);
}

/* Search-area centre: a crosshair ring the property markers are measured from. */
.map-center {
  position: absolute;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: rgba(39, 95, 186, 0.16);
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
  z-index: 1;
}

.map-center::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.map-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.legend-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.detail-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.detail-panel img {
  width: 100%;
  height: 210px;
  border-radius: 8px;
  object-fit: cover;
  background: #e8edf4;
}

.detail-image {
  cursor: zoom-in;
}

.detail-media {
  position: relative;
}

.detail-media-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(23, 32, 42, 0.55);
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.detail-media-nav:hover {
  background: rgba(23, 32, 42, 0.75);
}

.detail-media-nav.prev {
  left: 8px;
}

.detail-media-nav.next {
  right: 8px;
}

.detail-media-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(23, 32, 42, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* --- image lightbox (click a photo to view it larger, with gallery nav) --- */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(10, 14, 20, 0.85);
}

.image-lightbox.hidden {
  display: none;
}

.image-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-nav.hidden {
  display: none;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.detail-panel h3 {
  margin: 12px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.detail-actions .secondary-button {
  flex: 1 1 auto;
}

.detail-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  flex: 1 1 auto;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

/* --- data source panel (collapsible) -------------------------------------- */

.source-panel {
  margin-top: 18px;
}

.source-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.source-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--ink);
}

.source-toggle .section-title {
  margin: 0;
}

.source-caret {
  color: var(--muted);
  font-size: 14px;
  transition: transform 0.15s ease;
}

.source-toggle.closed .source-caret {
  transform: rotate(-90deg);
}

.source-summary {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.source-body {
  margin-top: 10px;
}

.source-body.collapsed {
  display: none;
}

/* --- analysis strip (price distribution) ---------------------------------- */

.analysis-strip {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-body {
  margin-top: 12px;
}

.analysis-body.collapsed {
  display: none;
}

.analysis-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.analysis-chart-head h3 {
  margin: 0;
  font-size: 16px;
}

.price-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.price-stats .stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.stat-k {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-v {
  font-size: 15px;
  font-weight: 800;
}

.price-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  height: 168px;
  padding-top: 6px;
}

.bar-col {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  justify-items: center;
  gap: 4px;
  height: 100%;
  border: 0;
  background: none;
  padding: 0;
}

.bar-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.bar {
  width: 100%;
  max-width: 54px;
  min-height: 3px;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
  transition:
    background 0.14s ease,
    filter 0.14s ease;
  align-self: end;
}

.bar-col.peak .bar {
  background: var(--teal);
}

.bar-col:hover .bar {
  filter: brightness(1.08);
}

.bar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* --- publisher line + price change ---------------------------------------- */

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price-change {
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
}

.price-change.down {
  color: #1e4620;
  background: #e6f4ea;
}

.price-change.up {
  color: #7a1c14;
  background: #fdecea;
}

.publisher {
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.publisher-label {
  color: var(--muted);
  font-weight: 700;
}

.publisher-via {
  color: var(--muted);
  font-weight: 600;
}

.price-history {
  margin: 14px 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcfe;
}

.ph-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-history ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.price-history li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ph-date {
  color: var(--muted);
  font-weight: 700;
}

.ph-price {
  font-weight: 800;
}

.ph-diff {
  font-weight: 800;
  text-align: right;
}

.ph-diff.down {
  color: var(--ok);
}

.ph-diff.up {
  color: var(--danger);
}

.ph-diff.flat {
  color: var(--muted);
}

/* --- search history view -------------------------------------------------- */

.history-view {
  margin-top: 14px;
}

.history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.history-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.history-main h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.history-meta {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.history-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.history-actions {
  display: inline-flex;
  gap: 8px;
  flex: 0 0 auto;
}

.history-actions .secondary-button {
  min-height: 36px;
}

.hidden {
  display: none;
}

@media (max-width: 980px) {
  .criteria-grid,
  .workspace,
  .filter-row,
  .compact-row,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .brand-row,
  .toolbar,
  .source-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .detail-panel {
    min-height: auto;
  }
}
