:root {
  --bg: #eef3f9;
  --panel: #ffffff;
  --panel-soft: #f7faff;
  --border: #d1ddea;
  --border-strong: #aebfd4;
  --text: #153354;
  --muted: #50657e;
  --accent: #1768e5;
  --accent-dark: #0f4fae;
  --accent-soft: #eaf2ff;
  --success: #11875d;
  --warning: #b66a12;
  --danger: #c9362b;
  --shadow: 0 18px 45px rgba(27, 52, 87, 0.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(23, 104, 229, 0.1), transparent 30rem),
    linear-gradient(180deg, #f7f9fc, var(--bg));
}

body {
  min-height: 100vh;
  line-height: 1.45;
}

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

button,
.button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 650;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

button:hover,
.button:hover {
  border-color: #91add3;
  background: #f8fbff;
}

button:active,
.button:active {
  transform: translateY(1px);
}

button:disabled,
.button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

button.primary,
.button.primary {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

button.primary:hover,
.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

button.danger,
.button.danger {
  color: var(--danger);
  border-color: #efb7b2;
  background: #fffafa;
}

button.ghost,
.button.ghost {
  border-color: transparent;
  background: transparent;
}

button.small,
.button.small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.88rem;
}

button.icon-button {
  width: 40px;
  padding: 0;
}

button.active {
  color: var(--accent-dark);
  border-color: #8eb2e9;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(23, 104, 229, 0.1);
}

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

h1 {
  margin-bottom: 4px;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.muted,
.help-text {
  color: var(--muted);
}

.help-text {
  margin: 6px 0 0;
  font-size: 0.87rem;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.app-header {
  min-height: 68px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 80;
}

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

.header-copy {
  min-width: 0;
}

.header-copy h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions,
.button-row,
.toolbar-group,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-actions {
  justify-content: flex-end;
}

.archived-toggle {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  white-space: nowrap;
}

.status-badge,
.count-badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: #f8fbff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #96a7bd;
}

.status-badge.saved .status-dot,
.status-badge.live .status-dot,
.tag.success {
  background: var(--success);
}

.status-badge.saving .status-dot,
.tag.warning {
  background: var(--warning);
}

.status-badge.offline .status-dot,
.tag.danger {
  background: var(--danger);
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.field label,
.field-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  background: #fff;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(23, 104, 229, 0.12);
  border-color: var(--accent);
}

.field input[type="file"] {
  padding: 8px;
  background: var(--panel-soft);
}

.field input[type="color"] {
  width: 58px;
  padding: 3px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 3px;
}

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

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

.empty-state {
  padding: 22px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--muted);
  background: var(--panel-soft);
  text-align: center;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-popover {
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 100;
}

.menu-popover button,
.menu-popover .button {
  width: 100%;
  justify-content: flex-start;
  border-color: transparent;
}

.dashboard-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 22px auto 40px;
}

.public-landing {
  display: grid;
  gap: 16px;
}

.landing-hero {
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: -30% -15% auto auto;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 104, 229, 0.16), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid #b9d2f6;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-hero h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.landing-hero p {
  max-width: 690px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.landing-preview {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.landing-phone {
  width: min(100%, 320px);
  min-height: 430px;
  padding: 22px;
  border: 10px solid #16263b;
  border-radius: 38px;
  color: #fff;
  background:
    linear-gradient(rgba(12, 35, 62, 0.34), rgba(12, 35, 62, 0.64)),
    url("generic_site_map.svg") center / cover;
  box-shadow: 0 30px 70px rgba(14, 35, 62, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.landing-phone-bar {
  width: 92px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.landing-phone strong {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.landing-phone p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
}

.landing-marker {
  width: max-content;
  padding: 8px 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #1768e5;
  box-shadow: 0 0 0 9px rgba(23, 104, 229, 0.24);
  font-weight: 900;
  position: absolute;
  top: 42%;
  left: 54%;
}

.landing-trust-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 750;
}

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

.benefit-card {
  padding: 18px;
}

.benefit-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.landing-cta {
  padding: clamp(22px, 3.5vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.landing-cta h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.landing-cta {
  background:
    radial-gradient(circle at 85% 15%, rgba(23, 104, 229, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.96);
}

.landing-footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-footer-links a {
  color: inherit;
}

.legal-page {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
}

.legal-page p {
  color: var(--muted);
  font-size: 1rem;
}

.legal-page a {
  color: var(--accent-dark);
  font-weight: 750;
}

.dashboard-intro {
  padding: 24px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.site-card {
  overflow: hidden;
}

.site-thumb {
  height: 170px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(23, 104, 229, 0.08), rgba(17, 135, 93, 0.08)),
    #eef4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-thumb-placeholder {
  color: var(--muted);
  font-weight: 700;
}

.site-card-body {
  padding: 16px;
}

.site-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.site-card h2 {
  margin: 0;
}

.site-meta {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.editor-layout {
  min-height: calc(100vh - 68px);
  padding: 14px;
  display: grid;
  grid-template-columns: 345px minmax(0, 1fr);
  gap: 14px;
}

.editor-sidebar {
  max-height: calc(100vh - 96px);
  overflow: auto;
  padding: 10px;
}

.sidebar-head {
  display: none;
}

.sidebar-section {
  border: 1px solid transparent;
  border-radius: 13px;
}

.sidebar-section + .sidebar-section {
  margin-top: 7px;
}

.sidebar-section[open] {
  border-color: var(--border);
  background: var(--panel-soft);
}

.sidebar-section summary {
  padding: 12px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 750;
}

.sidebar-section summary::-webkit-details-marker {
  display: none;
}

.section-content {
  padding: 2px 12px 14px;
}

.list {
  display: grid;
  gap: 8px;
}

.admin-manager {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.admin-manager .list {
  margin-top: 12px;
}

.admin-role {
  text-transform: capitalize;
}

.admin-create-form {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-soft);
}

.admin-accounts-list {
  display: grid;
  gap: 12px;
}

.admin-account-row {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.admin-account-main {
  display: grid;
  gap: 4px;
}

.admin-account-main > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-account-main p {
  margin: 0;
}

.admin-site-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.site-access-card {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.site-access-card:hover {
  border-color: #91add3;
  background: #f8fbff;
}

.site-access-card.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(23, 104, 229, 0.12);
}

.site-access-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.site-access-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.site-access-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.site-access-meta,
.site-access-state {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.site-access-state {
  color: var(--danger);
  font-weight: 800;
}

.site-access-card.selected .site-access-state {
  color: var(--success);
}

.list-row {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.list-row.selected {
  border-color: #86ade7;
  background: var(--accent-soft);
}

.list-row.unplaced {
  border-color: #efcf9d;
  background: #fff9ee;
}

.list-copy {
  min-width: 0;
}

.list-title,
.list-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-title {
  font-weight: 750;
}

.list-meta {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.4;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(20, 50, 84, 0.2);
}

.map-panel {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-toolbar {
  min-height: 56px;
  padding: 8px 11px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.plot-hint {
  margin: 10px 10px 0;
  padding: 10px 12px;
  border: 1px solid #cfe0f6;
  border-radius: 13px;
  color: var(--accent-dark);
  background: #f4f8ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.placement-queue {
  margin: 10px;
  padding: 12px;
  border: 1px solid #efcf9d;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf0, #fff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(97, 60, 16, 0.08);
}

.placement-queue p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-viewport {
  flex: 1;
  min-height: 500px;
  overflow: auto;
  position: relative;
  background: linear-gradient(180deg, #e9eff6, #dfe8f2);
}

.map-stage {
  --zoom: 1;
  position: relative;
  width: calc(var(--zoom) * 100%);
  min-width: calc(var(--zoom) * 760px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 54, 88, 0.08);
}

.map-stage.fit {
  width: 100%;
  min-width: 0;
}

.map-stage img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.marker-layer {
  position: absolute;
  inset: 0;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--marker-color, var(--accent));
  box-shadow: 0 3px 8px rgba(20, 50, 84, 0.28);
  font-size: 0;
  line-height: 1;
  z-index: 3;
  overflow: visible;
  transition: width 0.16s ease, height 0.16s ease, padding 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.map-marker:not(.safety)::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid var(--marker-color, var(--accent));
  border-radius: inherit;
  pointer-events: none;
  animation: cabin-marker-pulse 1.9s ease-out infinite;
}

.map-marker:not(.safety):hover,
.map-marker:not(.safety):focus-visible,
.map-marker:not(.safety).selected {
  width: 12px;
  min-width: 12px;
  height: 12px;
  min-height: 12px;
  padding: 0;
  font-size: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 14px rgba(20, 50, 84, 0.3);
  z-index: 5;
}

.map-marker:not(.safety).selected {
  border-color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
  box-shadow: 0 8px 18px rgba(20, 50, 84, 0.36);
}

.map-marker:not(.safety):hover::before,
.map-marker:not(.safety):focus-visible::before,
.map-marker:not(.safety).selected::before {
  content: attr(data-marker-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  max-width: 86px;
  min-width: 22px;
  padding: 4px 7px;
  border-radius: 8px;
  color: #fff;
  background: var(--marker-color, var(--accent));
  box-shadow: 0 7px 16px rgba(20, 50, 84, 0.28);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.1;
  overflow: hidden;
  pointer-events: none;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(13, 34, 58, 0.35);
  transform: translateX(-50%);
  white-space: nowrap;
}

.map-callout {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  max-width: 160px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #fff;
  background: var(--marker-color, var(--accent));
  box-shadow: 0 8px 20px rgba(20, 50, 84, 0.3);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  pointer-events: none;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(13, 34, 58, 0.35);
  transform: translate(-50%, calc(-100% - 14px));
  white-space: nowrap;
}

.map-callout strong,
.map-callout span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-callout span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.62rem;
  font-weight: 750;
}

.map-callout.safety-callout {
  background: var(--danger);
}

.map-callout::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: var(--marker-color, var(--accent));
  transform: translateX(-50%);
}

.map-marker:not(.safety):hover::after,
.map-marker:not(.safety):focus-visible::after,
.map-marker:not(.safety).selected::after {
  inset: auto;
  left: 50%;
  bottom: calc(100% + 4px);
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 6px solid var(--marker-color, var(--accent));
  border-bottom: 0;
  border-radius: 0;
  animation: none;
  opacity: 1;
  transform: translateX(-50%);
}

.map-marker.safety {
  width: 21px;
  min-width: 21px;
  height: 21px;
  min-height: 21px;
  padding: 0;
  border-color: #fff;
  border-radius: 50% 50% 50% 5px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 900;
  background: var(--danger);
  box-shadow: 0 0 0 2px rgba(201, 54, 43, 0.14), 0 5px 12px rgba(73, 18, 13, 0.24);
  transform: translate(-50%, -92%) rotate(-45deg);
}

.map-marker.safety > span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}

.map-marker.safety.selected,
.map-marker.safety:hover,
.map-marker.safety:focus-visible {
  width: 23px;
  min-width: 23px;
  height: 23px;
  min-height: 23px;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
  transform: translate(-50%, -92%) rotate(-45deg) scale(1.05);
  z-index: 6;
}

@keyframes cabin-marker-pulse {
  0% {
    opacity: 0.72;
    transform: scale(0.55);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

.selection-card {
  margin: 10px;
  padding: 12px;
  border: 1px solid #bad0ed;
  border-radius: 13px;
  background: #f5f9ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.selection-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.map-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  z-index: 2;
}

.upload-preview {
  min-height: 170px;
  margin-bottom: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 13px;
  background: #edf3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.upload-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.wizard-step {
  height: 5px;
  border-radius: 999px;
  background: #dce5f1;
}

.wizard-step.active {
  background: var(--accent);
}

dialog {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 30px 80px rgba(18, 39, 67, 0.3);
  overflow: auto;
}

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

dialog::backdrop {
  background: rgba(18, 34, 55, 0.48);
  backdrop-filter: blur(3px);
}

.dialog-head,
.dialog-foot {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head {
  border-bottom: 1px solid var(--border);
}

.dialog-head h2 {
  margin: 0;
}

.dialog-body {
  padding: 18px;
}

.dialog-foot {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  background: #fff;
}

.revision-list {
  display: grid;
  gap: 8px;
}

.revision-row {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.csv-table-wrap {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

th,
td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

th {
  background: #f3f7fc;
  position: sticky;
  top: 0;
}

.toast-region {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: grid;
  gap: 8px;
}

.toast {
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: toast-in 0.18s ease;
}

.qr-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
}

.qr-card svg {
  width: min(100%, 250px);
  height: auto;
  border-radius: 12px;
}

.qr-card.compact {
  margin-top: 12px;
  padding: 12px;
}

.qr-card.compact svg {
  width: min(100%, 190px);
}

.contact-choice-grid {
  display: grid;
  gap: 10px;
}

.contact-choice {
  min-height: 58px;
  padding: 13px 14px;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.contact-choice span {
  font-weight: 850;
}

.contact-choice small {
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.78;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.viewer-shell {
  width: min(1480px, calc(100% - 28px));
  margin: 16px auto 30px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 14px;
}

.viewer-sidebar {
  padding: 18px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  position: sticky;
  top: 16px;
  line-height: 1.5;
}

.viewer-heading h1 {
  margin: 14px 0 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.viewer-demo-back {
  width: 100%;
  margin-bottom: 12px;
  justify-content: flex-start;
}

.viewer-demo-tools {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #bad0ed;
  border-radius: 14px;
  background: #f4f8ff;
}

.viewer-demo-tools h2 {
  margin: 0 0 2px;
}

.viewer-demo-tools .button-row {
  margin-top: 10px;
}

.viewer-demo-tools .small {
  flex: 1 1 120px;
}

.demo-edit-actions {
  margin-top: 7px !important;
}

.demo-upload-button {
  position: relative;
  overflow: hidden;
}

.demo-upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.viewer-demo-note {
  margin-top: 8px;
}

.viewer-map {
  min-height: calc(100vh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.viewer-search {
  margin: 14px 0;
}

.viewer-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.viewer-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.viewer-search-help {
  margin: 7px 0 0;
}

.mobile-sheet-handle {
  display: none;
}

.viewer-section-head {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.viewer-section-head h2 {
  margin: 0;
}

.viewer-results-section .list {
  margin-top: 10px;
}

.viewer-selection {
  margin-top: 18px;
}

.viewer-selected-card {
  text-align: left;
}

.viewer-selection-actions {
  margin-top: 10px;
}

.viewer-selection-actions button {
  width: 100%;
}

.list-match {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locate-pill {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.map-marker.search-match:not(.selected) {
  box-shadow: 0 0 0 3px rgba(23, 104, 229, 0.14), 0 5px 13px rgba(20, 50, 84, 0.3);
}

.map-marker.search-match:not(.selected)::after {
  inset: -7px;
  animation-duration: 1.35s;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stat {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel-soft);
}

.stat strong {
  display: block;
  margin-top: 2px;
  font-size: 1.35rem;
}

.mobile-dock {
  display: none;
}

@media (max-width: 1000px) {
  .editor-layout {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .editor-sidebar {
    display: none;
    position: fixed;
    inset: 76px 8px 74px;
    max-height: none;
    z-index: 120;
    box-shadow: 0 25px 70px rgba(18, 39, 67, 0.35);
  }

  .editor-sidebar.open {
    display: block;
  }

  .sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 4px 12px;
  }

  .map-panel {
    min-height: calc(100vh - 92px);
  }

  .map-viewport {
    min-height: calc(100vh - 165px);
  }

  .mobile-dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    padding: 7px;
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 110;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .viewer-shell {
    grid-template-columns: 1fr;
    width: min(100% - 16px, 1480px);
    margin-top: 8px;
  }

  .viewer-map {
    order: 2;
    min-height: 64vh;
  }

  .viewer-sidebar {
    order: 1;
    position: static;
    max-height: none;
    padding: 14px;
  }

  .viewer-groups-section .list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .viewer-groups-section .list-row {
    min-width: 220px;
    scroll-snap-align: start;
  }

  .viewer-results-section .list {
    max-height: 320px;
    overflow: auto;
    padding-right: 2px;
  }
}

@media (max-width: 680px) {
  .app-header {
    min-height: 58px;
    padding: 8px 10px;
  }

  .header-copy p,
  .desktop-only {
    display: none !important;
  }

  .header-copy h1 {
    max-width: 180px;
    font-size: 1rem;
  }

  .app-header .status-badge {
    display: none;
  }

  .header-actions {
    flex-wrap: nowrap;
  }

  .archived-toggle {
    min-height: 38px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .dashboard-shell {
    width: min(100% - 16px, 1220px);
    margin-top: 10px;
  }

  .dashboard-intro {
    padding: 15px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-intro p {
    margin-bottom: 0;
  }

  .sites-grid {
    grid-template-columns: 1fr;
  }

  .site-thumb {
    height: 145px;
  }

  .site-card-body {
    padding: 14px 16px 16px;
  }

  .grid-two,
  .grid-three {
    grid-template-columns: 1fr;
  }

  .editor-sidebar {
    inset: 66px 7px 72px;
  }

  .map-toolbar {
    min-height: 50px;
  }

  .map-stage {
    min-width: calc(var(--zoom) * 620px);
  }

  .map-stage.fit {
    min-width: 0;
  }

  .map-marker {
    width: 9px;
    min-width: 9px;
    height: 9px;
    min-height: 9px;
  }

  .selection-card {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 72px;
    z-index: 105;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .selection-card .selection-notes {
    display: none;
  }

  dialog {
    width: 100%;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }

  body.viewer-page {
    overflow-x: hidden;
    background: #dfe8f2;
  }

  .viewer-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: block;
  }

  .viewer-map {
    min-height: 100vh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .viewer-map .map-toolbar {
    position: absolute;
    top: 8px;
    top: max(8px, env(safe-area-inset-top));
    left: 8px;
    right: 8px;
    z-index: 30;
    min-height: 0;
    padding: 6px;
    border: 1px solid rgba(174, 191, 212, 0.84);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 10px 28px rgba(18, 39, 67, 0.17);
    backdrop-filter: blur(12px);
  }

  .viewer-map .map-toolbar p {
    display: none;
  }

  .viewer-map .toolbar-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .viewer-map .toolbar-group .small {
    min-height: 36px;
    padding: 5px 4px;
    font-size: 0.74rem;
  }

  .viewer-map .map-viewport {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 56px;
    padding-bottom: min(40vh, 350px);
  }

  .viewer-sidebar {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 60;
    max-height: min(40vh, 350px);
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 55px rgba(18, 39, 67, 0.28);
    backdrop-filter: blur(14px);
  }

  .viewer-heading h1 {
    margin-top: 8px;
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .viewer-heading .muted {
    display: none;
  }

  .viewer-search {
    margin: 10px 0 8px;
  }

  .viewer-search input {
    min-height: 44px;
    font-size: 16px;
  }

  .viewer-search-help {
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .viewer-sidebar .stats {
    display: none;
  }

  .viewer-groups-section h2 {
    display: none;
  }

  .viewer-groups-section .list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .viewer-groups-section .list-row {
    min-width: 158px;
    padding: 8px;
  }

  .viewer-groups-section .list-meta,
  .viewer-groups-section .swatch {
    display: none;
  }

  .viewer-section-head {
    margin-top: 6px;
  }

  .viewer-section-head h2 {
    font-size: 0.96rem;
  }

  .viewer-results-section .list {
    max-height: 15vh;
    max-height: 15dvh;
    overflow: auto;
  }

  .viewer-sidebar .list-row {
    min-height: 44px;
    padding: 8px;
  }

  .viewer-results-section .list-row {
    grid-template-columns: 11px minmax(0, 1fr) auto;
    gap: 7px;
    text-align: left;
  }

  .viewer-results-section .swatch {
    width: 11px;
    height: 11px;
    border-width: 1px;
  }

  .viewer-results-section .list-title {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .viewer-results-section .list-match {
    margin-top: 1px;
    font-size: 0.75rem;
  }

  .viewer-results-section .list-meta {
    font-size: 0.72rem;
  }

  .locate-pill {
    padding: 3px 7px;
    font-size: 0.72rem;
  }

  .viewer-selection {
    margin-top: 8px;
  }

  .viewer-selection h2 {
    display: none;
  }

  .viewer-selected-card {
    padding: 10px;
  }

  body.viewer-page.viewer-searching .viewer-sidebar {
    max-height: min(32vh, 285px);
  }

  body.viewer-page.viewer-searching .viewer-map .map-viewport {
    padding-bottom: min(32vh, 285px);
  }

  body.viewer-page.viewer-searching .viewer-heading h1,
  body.viewer-page.viewer-searching .viewer-groups-section,
  body.viewer-page.viewer-searching .viewer-section-head,
  body.viewer-page.viewer-searching .viewer-selection {
    display: none;
  }

  body.viewer-page.viewer-searching .viewer-search {
    margin: 8px 0 6px;
  }

  body.viewer-page.viewer-searching .viewer-results-section .list {
    max-height: 15vh;
    max-height: 15dvh;
    margin-top: 6px;
  }

  body.viewer-page.viewer-searching .toast-region {
    bottom: calc(32vh + 18px);
    bottom: calc(min(32vh, 285px) + max(18px, env(safe-area-inset-bottom)));
  }

  .toast-region {
    left: 8px;
    right: 8px;
    bottom: calc(40vh + 18px);
    bottom: calc(min(40vh, 350px) + max(18px, env(safe-area-inset-bottom)));
  }

  .toast {
    max-width: none;
  }
}

@media (max-width: 1000px) {
  body.viewer-page {
    overflow: hidden;
    background: #dfe8f2;
  }

  .viewer-page .viewer-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    display: block;
  }

  .viewer-page .viewer-map {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .viewer-page .viewer-map .map-toolbar {
    position: absolute;
    top: 8px;
    top: max(8px, env(safe-area-inset-top));
    left: 8px;
    right: 8px;
    z-index: 30;
    min-height: 0;
    padding: 6px;
    border: 1px solid rgba(174, 191, 212, 0.84);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 10px 28px rgba(18, 39, 67, 0.17);
    backdrop-filter: blur(12px);
  }

  .viewer-page .viewer-map .map-toolbar p {
    display: none;
  }

  .viewer-page .viewer-map .toolbar-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .viewer-page .viewer-map .toolbar-group .small {
    min-height: 34px;
    padding: 5px 3px;
    font-size: 0.72rem;
  }

  .viewer-page .viewer-map .map-viewport {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 54px;
    padding-bottom: min(28vh, 250px);
  }

  .viewer-page .viewer-sidebar {
    position: fixed;
    top: auto;
    left: 8px;
    right: 8px;
    bottom: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 60;
    max-height: min(28vh, 250px);
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 55px rgba(18, 39, 67, 0.28);
    backdrop-filter: blur(14px);
    overflow: auto;
  }

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

  .viewer-page .viewer-heading h1 {
    margin: 0;
    overflow: hidden;
    font-size: 0.98rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .viewer-page .viewer-heading .muted,
  .viewer-page .viewer-sidebar .stats,
  .viewer-page .viewer-groups-section,
  .viewer-page .viewer-section-head,
  .viewer-page .viewer-selection {
    display: none;
  }

  .viewer-page .status-badge {
    min-height: 27px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .viewer-page .viewer-search {
    margin: 8px 0 6px;
  }

  .viewer-page .viewer-search input {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 16px;
    border-radius: 12px;
  }

  .viewer-page .viewer-search-help {
    display: none;
  }

  .viewer-page .viewer-results-section .list {
    max-height: 88px;
    margin-top: 6px;
    overflow: auto;
    padding-right: 1px;
  }

  .viewer-page .viewer-results-section .list-row {
    min-height: 40px;
    padding: 7px 8px;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 7px;
    text-align: left;
  }

  .viewer-page .viewer-results-section .swatch {
    width: 10px;
    height: 10px;
    border-width: 1px;
  }

  .viewer-page .viewer-results-section .list-title {
    font-size: 0.95rem;
    line-height: 1.05;
  }

  .viewer-page .viewer-results-section .list-match {
    margin-top: 1px;
    font-size: 0.72rem;
  }

  .viewer-page .viewer-results-section .list-meta {
    font-size: 0.7rem;
  }

  .viewer-page .locate-pill {
    padding: 3px 7px;
    font-size: 0.7rem;
  }

  body.viewer-page.viewer-searching .viewer-sidebar {
    max-height: min(24vh, 215px);
  }

  body.viewer-page.viewer-searching .viewer-map .map-viewport {
    padding-bottom: min(24vh, 215px);
  }

  body.viewer-page.viewer-searching .viewer-heading {
    display: none;
  }

  body.viewer-page.viewer-searching .viewer-results-section .list {
    max-height: 92px;
  }

  .viewer-page .toast-region {
    left: 8px;
    right: 8px;
    bottom: calc(28vh + 18px);
    bottom: calc(min(28vh, 250px) + max(18px, env(safe-area-inset-bottom)));
  }

  body.viewer-page.viewer-searching .toast-region {
    bottom: calc(24vh + 18px);
    bottom: calc(min(24vh, 215px) + max(18px, env(safe-area-inset-bottom)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-marker:not(.safety)::after {
    animation: none;
    opacity: 0.45;
  }
}

@media (max-width: 1100px) {
  .landing-hero,
  .landing-benefit-grid,
  .landing-cta {
    grid-template-columns: 1fr;
  }

  .landing-preview {
    justify-content: flex-start;
  }

  .landing-cta .button-row {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .landing-hero {
    padding: 20px;
  }

  .landing-hero h2 {
    font-size: clamp(2rem, 13vw, 3.7rem);
  }

  .landing-phone {
    width: 100%;
    min-height: 320px;
    border-width: 8px;
    border-radius: 30px;
  }

  .landing-trust-row span {
    font-size: 0.76rem;
  }

  .landing-cta {
    padding: 20px;
  }

  .placement-queue {
    align-items: stretch;
    flex-direction: column;
  }

  .placement-queue .button-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewer-page .mobile-sheet-handle {
    width: 42px;
    height: 5px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: #c4d1e0;
    display: block;
  }

  .viewer-page .viewer-sidebar {
    max-height: min(31vh, 285px);
    padding: 9px;
  }

  .viewer-page .viewer-map .map-viewport {
    padding-bottom: min(31vh, 285px);
  }

  .viewer-page .viewer-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .viewer-page .viewer-search-row button {
    min-height: 40px;
    padding-inline: 9px;
  }

  .viewer-page .viewer-results-section .list {
    max-height: 122px;
  }

  body.viewer-page.viewer-searching .viewer-sidebar {
    max-height: min(34vh, 315px);
  }

  body.viewer-page.viewer-searching .viewer-map .map-viewport {
    padding-bottom: min(34vh, 315px);
  }

  body.viewer-page.viewer-searching .viewer-results-section .list {
    max-height: 148px;
  }

  .viewer-page .map-callout {
    max-width: 128px;
    padding: 4px 7px;
    font-size: 0.66rem;
    transform: translate(-50%, calc(-100% - 12px));
  }

  .viewer-page .map-callout span {
    font-size: 0.56rem;
  }

  .viewer-page .map-marker:not(.safety).selected::before {
    display: none;
  }
}

@media (max-width: 1000px) {
  body.viewer-page.demo-viewer .viewer-sidebar {
    max-height: min(46vh, 430px);
  }

  body.viewer-page.demo-viewer .viewer-map .map-viewport {
    padding-bottom: min(46vh, 430px);
  }

  .viewer-page.demo-viewer .viewer-demo-back {
    margin-bottom: 8px;
  }

  .viewer-page.demo-viewer .viewer-demo-tools {
    margin: 8px 0;
    padding: 9px;
  }

  .viewer-page.demo-viewer .viewer-demo-tools h2,
  .viewer-page.demo-viewer .viewer-demo-tools > .help-text:first-of-type {
    display: none;
  }

  .viewer-page.demo-viewer .viewer-demo-tools .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .viewer-page.demo-viewer .viewer-demo-tools .small {
    min-height: 36px;
    padding: 5px 7px;
    font-size: 0.74rem;
  }

  .viewer-page.demo-viewer .viewer-selection:not(.hidden) {
    display: block;
    margin-top: 8px;
  }

  .viewer-page.demo-viewer .viewer-selected-card {
    padding: 9px;
    font-size: 0.84rem;
  }
}
