@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@500;600;700&display=swap');

:root {
  --ink: #16312c;
  --ink-2: #24463f;
  --ink-3: #45665f;
  --teal: #0b958b;
  --teal-dark: #08766f;
  --teal-soft: #d6ebe5;
  --cream: #f5f0df;
  --cream-2: #e8dfc8;
  --earth: #a35f3c;
  --earth-dark: #70402d;
  --gold: #d6a24a;
  --danger: #9d4d34;
  --white: #fffdf6;
  --shadow: 0 14px 34px rgba(18, 40, 35, .2);
  --shadow-strong: 0 22px 60px rgba(9, 28, 24, .34);
  --border-dark: rgba(245, 240, 223, .18);
  --border-light: rgba(22, 49, 44, .14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d5e3d7;
  color: var(--ink);
  font-family: 'Hind Siliguri', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
table {
  font: inherit;
}

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

button:focus-visible {
  outline: 3px solid rgba(214, 162, 74, .92);
  outline-offset: 2px;
}

#canvas-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#annotations-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.capture-mode .ui-overlay,
.capture-mode #annotations-container {
  display: none !important;
}

.ui-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  padding: 18px;
  pointer-events: none;
}

.interactive {
  pointer-events: auto;
}

.header-bar {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.brand-section {
  max-width: 580px;
  padding: 13px 16px 12px;
  color: var(--cream);
  background: rgba(19, 50, 44, .94);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand-kicker,
.eyebrow {
  display: block;
  color: #9fd9cd;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.brand-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.brand-title h1 {
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.brand-title .badge {
  padding: 3px 8px 2px;
  color: #f6dfac;
  background: rgba(214, 162, 74, .14);
  border: 1px solid rgba(214, 162, 74, .4);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-section > p {
  margin-top: 3px;
  color: rgba(245, 240, 223, .7);
  font-size: 11px;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.action-btn {
  min-height: 49px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(8, 118, 111, .94);
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 11px;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
}

.action-btn small {
  color: rgba(255, 255, 255, .66);
  font-size: 9px;
  line-height: 1.1;
}

.action-btn-secondary {
  color: var(--ink);
  background: rgba(245, 240, 223, .94);
  border-color: rgba(22, 49, 44, .13);
  align-items: center;
}

.action-btn:hover {
  transform: translateY(-1px);
  background: #087f77;
}

.action-btn-secondary:hover {
  background: var(--white);
}

.left-dock,
.right-sidebar {
  position: absolute;
  top: 108px;
}

.left-dock {
  left: 18px;
  width: 248px;
}

.legend-card {
  padding: 14px 15px 12px;
  color: var(--ink);
  background: rgba(250, 247, 236, .94);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.legend-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(22, 49, 44, .12);
  color: var(--ink-3);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legend-title span:last-child {
  color: var(--teal-dark);
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  color: var(--ink-2);
  font-size: 11px;
}

.legend-item > span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.legend-item strong {
  color: var(--ink);
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  font-size: 10px;
  white-space: nowrap;
}

.legend-color {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 15px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--teal);
}

.legend-color.total { background: var(--gold); }
.legend-color.master { background: #0a948a; }
.legend-color.bed { background: #5b887d; }
.legend-color.veranda { background: var(--earth); }
.legend-color.service { background: #6c6f62; }

.right-sidebar {
  right: 18px;
  width: min(302px, calc(100vw - 36px));
}

.room-card {
  color: var(--cream);
  background: rgba(18, 48, 42, .94);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.room-card-header {
  padding: 15px 16px 12px;
  border-bottom: 1px solid rgba(245, 240, 223, .11);
}

.room-card-title h2 {
  margin-top: 4px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
}

.dim-badge {
  display: inline-flex;
  margin-top: 7px;
  padding: 3px 8px 2px;
  color: #f7deaa;
  background: rgba(214, 162, 74, .12);
  border: 1px solid rgba(214, 162, 74, .35);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}

.room-card-body {
  padding: 13px 16px 15px;
}

.room-card-body > p {
  color: rgba(245, 240, 223, .72);
  font-size: 12px;
  line-height: 1.55;
}

.room-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}

.stat-box {
  padding: 9px 10px 8px;
  background: rgba(5, 31, 27, .4);
  border: 1px solid rgba(245, 240, 223, .1);
  border-radius: 8px;
}

.stat-label {
  display: block;
  color: rgba(245, 240, 223, .48);
  font-size: 9px;
  font-weight: 600;
}

.stat-value {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  font-size: 12px;
}

.stat-value.cost {
  color: #f2ce84;
}

.features-heading {
  margin-top: 12px;
  color: #9fd9cd;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.features-list {
  margin-top: 7px;
  list-style: none;
}

.features-list li {
  position: relative;
  padding: 3px 0 3px 15px;
  color: rgba(245, 240, 223, .62);
  font-size: 11px;
  line-height: 1.4;
}

.features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #77c8b9;
}

.bottom-dock {
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: min(970px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.room-selector-bar,
.quick-toolbar {
  max-width: 100%;
  display: flex;
  align-items: center;
  background: rgba(248, 244, 231, .95);
  border: 1px solid rgba(22, 49, 44, .15);
  box-shadow: var(--shadow);
}

.room-selector-bar {
  gap: 4px;
  padding: 5px;
  border-radius: 9px;
}

.quick-toolbar {
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

.toolbar-group + .toolbar-group {
  margin-left: 2px;
  padding-left: 8px;
  border-left: 1px solid rgba(22, 49, 44, .14);
}

.room-chip,
.toolbar-btn {
  min-height: 32px;
  padding: 6px 10px 5px;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .17s ease, color .17s ease, border-color .17s ease, transform .17s ease;
}

.gif-toolbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.room-chip:hover,
.toolbar-btn:hover {
  color: var(--ink);
  background: rgba(11, 149, 139, .08);
}

.room-chip.active,
.toolbar-btn.active {
  color: var(--white);
  background: var(--teal-dark);
  border-color: rgba(0, 0, 0, .06);
  box-shadow: 0 4px 12px rgba(8, 118, 111, .22);
}

.toolbar-group-secondary .toolbar-btn.active {
  color: var(--ink);
  background: #e3d7bc;
  border-color: #c8b78f;
  box-shadow: none;
}

.light-controls .toolbar-btn.active {
  color: var(--ink);
  background: #f1cf82;
  border-color: #ddb251;
  box-shadow: none;
}

.help-pill {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 10px 6px;
  color: rgba(245, 240, 223, .72);
  background: rgba(19, 50, 44, .88);
  border: 1px solid var(--border-dark);
  border-radius: 7px;
  font-size: 9px;
  box-shadow: var(--shadow);
}

.annotation-label {
  position: absolute;
  z-index: 4;
  max-width: 180px;
  transform: translate(-50%, -50%);
  padding: 5px 8px 4px;
  color: var(--cream);
  background: rgba(20, 51, 45, .88);
  border: 1px solid rgba(245, 240, 223, .2);
  border-radius: 6px;
  box-shadow: 0 7px 18px rgba(13, 31, 27, .2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease;
}

.annotation-label:hover {
  transform: translate(-50%, -50%) scale(1.04);
  background: var(--teal-dark);
}

.annotation-label.dimension {
  color: var(--ink);
  background: rgba(243, 207, 130, .92);
  border-color: rgba(112, 64, 45, .24);
  cursor: default;
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  font-size: 9px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 25, 22, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: min(1040px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  color: var(--ink);
  background: #f9f5e8;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(4, 17, 14, .45);
  transform: translateY(12px) scale(.99);
  transition: transform .2s ease;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  color: var(--cream);
  background: var(--ink);
}

.modal-header h2 {
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 1.25;
}

.close-btn {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 38px;
  padding: 5px 9px;
  color: var(--cream);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
}

.modal-body {
  padding: 20px;
  user-select: text;
}

.budget-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.budget-summary > div {
  padding: 11px 12px;
  background: #ece8d9;
  border: 1px solid rgba(22, 49, 44, .1);
  border-radius: 8px;
}

.budget-summary span {
  display: block;
  color: var(--ink-3);
  font-size: 10px;
}

.budget-summary strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  font-size: 15px;
}

.budget-summary .over-budget {
  background: #f2ddd2;
  border-color: rgba(157, 77, 52, .2);
}

.budget-summary .over-budget strong {
  color: var(--danger);
}

.budget-summary .risk-range {
  background: #f3e4c9;
  border-color: rgba(146, 94, 39, .2);
}

.budget-summary .risk-range strong {
  color: #744c23;
}

.budget-intro {
  margin-top: 15px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.6;
}

.budget-source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  padding: 10px 12px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(22, 49, 44, .1);
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.45;
}

.budget-source-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.source-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.source-dot.verified {
  background: #2f7f66;
  box-shadow: 0 0 0 3px rgba(47, 127, 102, .12);
}

.source-dot.allowance {
  background: #b57432;
  box-shadow: 0 0 0 3px rgba(181, 116, 50, .12);
}

.table-wrap {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid rgba(22, 49, 44, .12);
  border-radius: 9px;
}

.cost-table {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
  background: #fffdf7;
  font-size: 12px;
}

.cost-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cost-table th,
.cost-table td {
  padding: 9px 11px;
  border-bottom: 1px solid rgba(22, 49, 44, .1);
  text-align: left;
  vertical-align: top;
}

.cost-table th {
  color: var(--cream);
  background: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
}

.cost-table td:nth-child(2) {
  color: var(--ink-3);
}

.cost-table td:nth-child(3) {
  color: var(--ink-3);
}

.cost-table th:last-child,
.cost-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.cost-table .total-row td {
  color: var(--white);
  background: var(--teal-dark);
  border-bottom: 0;
  font-size: 13px;
  font-weight: 700;
}

.cost-table .subtotal-row td {
  color: var(--ink);
  background: #e5e7dc;
  font-weight: 700;
}

.cost-table .contingency-row td {
  color: #744c23;
  background: #f3e4c9;
  font-weight: 700;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  color: #255e4d;
  background: #deeee7;
  border: 1px solid rgba(47, 127, 102, .18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

a.source-badge:hover,
a.source-badge:focus-visible {
  color: #153e32;
  background: #cae4d9;
  outline: none;
}

.source-badge.allowance {
  color: #75491e;
  background: #f3e3c8;
  border-color: rgba(181, 116, 50, .22);
}

.cost-details {
  margin-top: 10px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(22, 49, 44, .12);
  border-radius: 8px;
  font-size: 12px;
}

.cost-details summary {
  padding: 11px 13px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}

.cost-details[open] summary {
  border-bottom: 1px solid rgba(22, 49, 44, .1);
}

.cost-details p {
  padding: 12px 14px 14px;
  line-height: 1.65;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  padding: 5px 13px 12px;
}

.detail-grid span,
.detail-grid strong {
  padding: 7px 2px;
  border-bottom: 1px dashed rgba(22, 49, 44, .1);
}

.detail-grid strong {
  padding-left: 18px;
  color: var(--ink);
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  text-align: right;
  white-space: nowrap;
}

.source-list {
  margin: 0;
  padding: 10px 28px 14px 34px;
  line-height: 1.55;
}

.source-list li + li {
  margin-top: 7px;
}

.source-list a {
  color: var(--teal-dark);
  font-weight: 700;
  text-underline-offset: 2px;
}

.budget-note {
  margin-top: 14px;
  padding: 12px 14px;
  color: #603a2b;
  background: #eee1cf;
  border-left: 4px solid var(--earth);
  border-radius: 4px 8px 8px 4px;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1160px) {
  .left-dock,
  .help-pill {
    display: none;
  }

  .right-sidebar {
    display: none;
  }

  .bottom-dock {
    width: min(900px, calc(100% - 24px));
  }
}

@media (max-width: 820px) {
  .ui-overlay {
    padding: 10px;
  }

  .header-bar {
    top: max(10px, env(safe-area-inset-top));
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    width: auto;
    transform: none;
  }

  .brand-section {
    min-width: 0;
    padding: 10px 12px;
  }

  .brand-kicker {
    display: none;
  }

  .brand-title {
    margin-top: 0;
  }

  .brand-title h1 {
    font-size: 16px;
  }

  .brand-title .badge,
  .brand-section > p {
    display: none;
  }

  .action-btn {
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 11px;
  }

  .action-btn small {
    display: none;
  }

  .right-sidebar {
    display: none;
  }

  #annotations-container {
    display: none;
  }

  .bottom-dock {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    transform: none;
    align-items: stretch;
  }

  .room-selector-bar,
  .quick-toolbar {
    width: 100%;
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(8, 118, 111, .45) transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
    box-shadow: var(--shadow), inset -20px 0 16px -17px rgba(8, 118, 111, .72);
  }

  .room-selector-bar::-webkit-scrollbar,
  .quick-toolbar::-webkit-scrollbar {
    height: 3px;
  }

  .room-selector-bar::-webkit-scrollbar-thumb,
  .quick-toolbar::-webkit-scrollbar-thumb {
    background: rgba(8, 118, 111, .45);
    border-radius: 999px;
  }

  .toolbar-group {
    flex: 0 0 auto;
  }

  .room-chip,
  .toolbar-btn {
    min-width: 44px;
    min-height: 44px;
    font-size: 10px;
    scroll-snap-align: start;
  }

  .modal-overlay {
    padding:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }
}

@media (max-width: 520px) {
  .action-btn-secondary {
    display: none;
  }

  .brand-section {
    max-width: calc(100vw - 134px);
  }

  .brand-title h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .modal-overlay {
    padding:
      max(8px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left));
  }

  .close-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .modal-container {
    max-height: 94vh;
    border-radius: 12px;
  }

  .modal-header,
  .modal-body {
    padding: 14px;
  }

  .budget-summary {
    grid-template-columns: 1fr;
  }

  .cost-table {
    display: block;
    min-width: 0;
    font-size: 11px;
  }

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

  .cost-table tbody {
    display: grid;
    gap: 7px;
    padding: 7px;
  }

  .cost-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    padding: 9px 10px;
    background: #fffdf7;
    border: 1px solid rgba(22, 49, 44, .1);
    border-radius: 7px;
  }

  .cost-table td,
  .cost-table td:nth-child(2),
  .cost-table td:nth-child(3),
  .cost-table td:last-child {
    width: auto;
    padding: 2px 0;
    border: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cost-table td::before {
    display: block;
    margin-bottom: 2px;
    color: #7b827b;
    content: attr(data-label);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .cost-table td:first-child {
    grid-column: 1 / -1;
    color: var(--ink);
    font-weight: 700;
  }

  .cost-table td:nth-child(3) {
    align-self: end;
  }

  .cost-table td:last-child {
    align-self: end;
    color: var(--ink);
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-weight: 700;
    text-align: right;
  }

  .cost-table .subtotal-row,
  .cost-table .contingency-row,
  .cost-table .total-row {
    background: #e5e7dc;
  }

  .cost-table .contingency-row {
    background: #f3e4c9;
  }

  .cost-table .total-row {
    background: var(--teal-dark);
  }

  .cost-table .total-row td,
  .cost-table .total-row td::before {
    color: var(--white);
  }

  .source-badge {
    white-space: normal;
  }

  .budget-source-meta {
    display: grid;
  }

  .detail-grid {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
