/*! bootstrap-shadcn custom layer v0.1.0 | MIT License | Load after bootstrap-shadcn.css */
/*
  bootstrap-shadcn custom layer

  Load this file after Bootstrap and after bootstrap-shadcn.css. Keep
  project-specific colors, radius tweaks, spacing overrides, or one-off
  application rules here so the base theme can be updated cleanly.

  If a token has a matching *-rgb token, update both values. Bootstrap and
  this theme use the rgb tokens for alpha-aware colors such as focus rings,
  hover states, and subtle backgrounds.
*/

:root {
  --bootstrap-shadcn-custom-loaded: 1;
  --sitehunt-font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --sitehunt-font-display: Inter, ui-sans-serif, system-ui, sans-serif;
  --sh-radius: 0.5rem;
  --sitehunt-app-frame-width: 80rem;
  --sitehunt-app-bg: var(--marketing-hub-feature-bg);
  --sitehunt-table-hover-bg: rgb(249, 249, 249);
  --sh-primary: #1f62c8;
  --sh-primary-hover: #1b57b6;
  --sh-primary-rgb: 31, 98, 200;
  --sh-primary-foreground: #ffffff;
  --marketing-hub-primary: #1f62c8;
  --marketing-hub-primary-rgb: 31, 98, 200;
  --marketing-hub-primary-hover: #1b57b6;
  --marketing-hub-on-primary: #ffffff;
  --marketing-hub-text: var(--sh-foreground);
  --marketing-hub-text-muted: rgba(var(--sh-foreground-rgb), 0.72);
  --marketing-hub-text-subtle: rgba(var(--sh-foreground-rgb), 0.66);
  --marketing-hub-panel-bg: rgba(255, 255, 255, 0.92);
  --marketing-hub-panel-border: rgba(var(--sh-border-rgb), 0.62);
  --marketing-hub-surface-bg: #ffffff;
  --marketing-hub-subtle-bg: rgba(var(--sh-muted-rgb), 0.42);
  --marketing-hub-subtle-strong-bg: rgba(var(--sh-muted-rgb), 0.48);
  --marketing-hub-subtle-soft-bg: rgba(var(--sh-muted-rgb), 0.24);
  --marketing-hub-preview-bg: rgba(var(--sh-muted-rgb), 0.18);
  --marketing-hub-soft-bg: rgba(var(--marketing-hub-primary-rgb), 0.09);
  --marketing-hub-soft-border: rgba(var(--marketing-hub-primary-rgb), 0.24);
  --marketing-hub-pill-bg: rgba(var(--marketing-hub-primary-rgb), 0.09);
  --marketing-hub-pill-border: rgba(var(--marketing-hub-primary-rgb), 0.16);
  --marketing-hub-pill-text: #3155d4;
  --marketing-hub-feature-bg: rgba(237, 243, 255, 0.32);
  --marketing-hub-feature-border: rgba(41, 69, 127, 0.12);
  --marketing-hub-feature-text: #29457f;
  --sitehunt-site-shell-bg: rgba(237, 243, 255, 0.52);
  --sitehunt-site-shell-border: rgba(41, 69, 127, 0.16);
  --marketing-hub-card-bg: rgba(var(--marketing-hub-primary-rgb), 0.035);
  --marketing-hub-card-border: rgba(var(--sh-border-rgb), 0.56);
  --marketing-hub-card-preview-border: rgba(var(--sh-border-rgb), 0.42);
  --marketing-hub-card-text: var(--sh-foreground);
  --marketing-hub-card-muted-text: rgba(var(--sh-foreground-rgb), 0.64);
  --marketing-hub-status-bg: linear-gradient(180deg, #f6f9ff 0%, #edf3ff 100%);
  --marketing-hub-status-border: rgba(41, 69, 127, 0.12);
  --marketing-hub-status-label-bg: #edf3ff;
  --marketing-hub-status-label-text: #29457f;
  --marketing-hub-status-complete: var(--marketing-hub-primary);
  --marketing-hub-status-incomplete: rgba(var(--sh-foreground-rgb), 0.45);
  --marketing-hub-status-alert: var(--bs-danger);
  --marketing-hub-progress-track: rgba(var(--marketing-hub-primary-rgb), 0.14);
  --marketing-hub-progress-fill: linear-gradient(
    90deg,
    rgba(var(--marketing-hub-primary-rgb), 0.92) 0%,
    rgba(var(--marketing-hub-primary-rgb), 0.62) 100%
  );
  --marketing-hub-tab-shell-bg: rgba(var(--marketing-hub-primary-rgb), 0.07);
  --marketing-hub-tab-shell-border: rgba(var(--marketing-hub-primary-rgb), 0.14);
  --marketing-hub-tab-hover-bg: rgba(var(--marketing-hub-primary-rgb), 0.11);
  --marketing-hub-tab-hover-border: rgba(var(--marketing-hub-primary-rgb), 0.18);
  --marketing-hub-tab-active-bg: rgba(255, 255, 255, 0.98);
  --marketing-hub-tab-active-border: rgba(var(--marketing-hub-primary-rgb), 0.24);
  --marketing-hub-menu-bg: #ffffff;
  --marketing-hub-menu-border: rgba(var(--sh-border-rgb), 0.5);
  --marketing-hub-menu-hover-bg: #f4f7fb;
  --marketing-hub-menu-text: #21314d;
  --marketing-hub-menu-danger: #b32733;
  --marketing-hub-canva-button-bg: #00c4cc;
  --marketing-hub-canva-button-hover: #00aab1;
  --marketing-hub-canva-button-text: #ffffff;
  --marketing-hub-chip-bg: rgba(var(--marketing-hub-primary-rgb), 0.09);
  --marketing-hub-chip-border: rgba(var(--marketing-hub-primary-rgb), 0.16);
  --marketing-hub-chip-text: #29457f;
  --marketing-hub-chip-shadow: none;
  --marketing-hub-map-pin-bg: var(--marketing-hub-primary);
  --marketing-hub-map-pin-text: var(--marketing-hub-on-primary);
  --marketing-hub-input-bg: #ffffff;
  --marketing-hub-input-border: rgba(15, 23, 42, 0.12);
  --marketing-hub-input-text: #17253b;
  --marketing-hub-input-focus-border: rgba(var(--marketing-hub-primary-rgb), 0.45);
  --marketing-hub-input-focus-ring: rgba(var(--marketing-hub-primary-rgb), 0.12);
  --marketing-hub-label-text: #61738b;
  --marketing-hub-required-text: #d14343;
  --marketing-hub-modal-body-bg: #f8fafc;
  --marketing-hub-modal-header-bg: rgba(var(--sh-muted-rgb), 0.42);
  --marketing-hub-modal-border: rgba(var(--sh-border-rgb), 0.32);
  --marketing-hub-empty-bg: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  --marketing-hub-soft-card-bg: linear-gradient(
    180deg,
    rgba(248, 251, 255, 0.74) 0%,
    rgba(238, 244, 255, 0.58) 100%
  );
  --marketing-hub-empty-border: rgba(var(--marketing-hub-primary-rgb), 0.24);
  --marketing-hub-empty-icon: var(--marketing-hub-primary);
  --marketing-hub-warning-text: #c2410c;

  /*
  Example brand overrides:

  --sh-primary: #1f62c8;
  --sh-primary-hover: #1b57b6;
  --sh-primary-rgb: 31, 98, 200;
  --sh-primary-foreground: #ffffff;

  --sh-ring: #0f766e;
  --sh-ring-rgb: 15, 118, 110;

  --sh-radius: 0.5rem;
  */
}

.workspace-data-table thead th {
  background-color: #f9fbfd;
  font-weight: 600;
}

.main-content .table tbody tr:hover > *,
.workspace-data-table tbody tr:hover > * {
  --bs-table-bg-state: var(--sitehunt-table-hover-bg);
  background-color: var(--sitehunt-table-hover-bg);
}

.alert {
  color: var(--bs-alert-color);
}

.alert-primary {
  --bs-alert-color: var(--bs-primary-text-emphasis);
  --bs-alert-link-color: var(--bs-primary-text-emphasis);
}

.alert-secondary,
.alert-light {
  --bs-alert-color: var(--bs-secondary-text-emphasis);
  --bs-alert-link-color: var(--bs-secondary-text-emphasis);
}

.alert-success {
  --bs-alert-color: var(--bs-success-text-emphasis);
  --bs-alert-link-color: var(--bs-success-text-emphasis);
}

.alert-info {
  --bs-alert-color: var(--bs-info-text-emphasis);
  --bs-alert-link-color: var(--bs-info-text-emphasis);
}

.alert-warning {
  --bs-alert-color: var(--bs-warning-text-emphasis);
  --bs-alert-link-color: var(--bs-warning-text-emphasis);
}

.alert-danger {
  --bs-alert-color: var(--bs-danger-text-emphasis);
  --bs-alert-link-color: var(--bs-danger-text-emphasis);
}

.alert .text-muted {
  color: var(--bs-alert-color) !important;
}




body {
  min-height: 100vh;
  font-family: var(--sitehunt-font-body);
  letter-spacing: -0.015em;
}

.main-content {
  min-height: 100vh;
  background: var(--sitehunt-app-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.navbar-brand,
.nav-link,
.header-title,
.header-pretitle {
  font-family: var(--sitehunt-font-display);
}

.workspace-page,
.workspace-panel,
.workspace-scope-card,
.workspace-data-table,
.workspace-mobile-card {
  font-family: var(--sitehunt-font-body);
}

.workspace-page-title,
.workspace-panel-title,
.workspace-scope-title,
.workspace-row-title,
.workspace-mobile-item strong,
.workspace-primary-action,
.workspace-page-tab,
.workspace-inline-badge {
  font-family: var(--sitehunt-font-display);
}

/* Authenticated app shell */

#sidebar.navbar-vertical {
  --sh-sidebar: rgb(31, 41, 55);
  --sh-sidebar-foreground: #f9fafb;
  --sh-sidebar-accent: rgba(255, 255, 255, 0.1);
  --sh-sidebar-accent-foreground: #ffffff;
  --sh-sidebar-border: rgba(255, 255, 255, 0.14);

  background: var(--sh-sidebar);
  color: var(--sh-sidebar-foreground);
  border-color: var(--sh-sidebar-border);
}

#sidebar .nav-link,
#sidebar .navbar-heading {
  color: rgba(249, 250, 251, 0.78);
}

#sidebar .nav-link {
  border-radius: 0;
}

#sidebar .nav-link:hover,
#sidebar .nav-link:focus,
#sidebar .nav-link.active {
  background: var(--sh-sidebar-accent);
  color: var(--sh-sidebar-accent-foreground);
}

#sidebar .nav-link i[class*="fa-"],
#sidebar .nav-link i.fasl {
  display: inline-block;
  min-width: 1.75rem;
}

#sidebar .navbar-divider {
  border-top-color: var(--sh-sidebar-border);
}

#sidebar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

#sidebar .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#sidebar #sidebarCollapse {
  border-top-color: var(--sh-sidebar-border);
}

#sidebar .navbar-brand-img,
.navbar-vertical.navbar-expand-md .navbar-brand-img {
  max-height: 6rem;
  max-width: 86%;
  height: auto;
  object-fit: contain;
}

#sidebar .navbar-edo-logo-img,
.navbar-vertical.navbar-expand-md .navbar-edo-logo-img {
  max-height: 6rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sitehunt-main-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sitehunt-main-nav .nav-link i[class*="fa-"],
.sitehunt-main-nav .nav-link i.fasl {
  flex: 0 0 1.75rem;
  min-width: 1.75rem;
  font-size: 1.25em;
  line-height: 1;
  text-align: center;
}

body.embed-layout {
  background-color: #f8fafc;
}

body.embed-layout .embed-container {
  max-width: 1200px;
  margin: 0 auto;
}

body.bg-auth {
  background: var(--sitehunt-app-bg);
  color: var(--bs-body-color);
}

body.bg-auth {
  min-height: 100vh;
}

body.bg-auth .img-fluid {
  height: auto;
  max-height: min(18rem, 40vh);
  width: auto;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(1.25rem, 4vw, 2.5rem);
}

.auth-layout {
  width: 100%;
  row-gap: 2rem;
}

.auth-form-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 30rem);
}

.auth-logo-link {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
}

.auth-logo {
  display: block;
  width: 9.5rem;
  max-width: 60vw;
  height: auto;
}

.auth-brand-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(var(--sh-border-rgb), 0.8);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top left, rgba(var(--sh-primary-rgb), 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.auth-brand-mark {
  margin-bottom: 2rem;
}

.auth-brand-eyebrow {
  margin: 0 0 1rem;
  color: var(--sh-muted-foreground);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-brand-title {
  margin: 0 0 1rem;
  max-width: 14ch;
  color: var(--sh-foreground);
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.auth-brand-copy {
  max-width: 34rem;
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 1.02rem;
  line-height: 1.75;
}

.auth-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.auth-brand-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sh-foreground);
  font-size: 0.94rem;
  font-weight: 500;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  padding-inline: 1rem;
  text-align: center;
}

.logo-container img {
  display: block;
  height: auto;
  max-height: 12.5rem;
  max-width: min(100%, 28rem);
  object-fit: contain;
}

.offcanvas,
.offcanvas-header,
.offcanvas-body {
  background-color: var(--sh-card);
  color: var(--sh-card-foreground);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background-color: var(--sh-popover);
  color: var(--sh-popover-foreground);
}

.login-card-preview-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(var(--sh-primary-rgb), 0.04), transparent 26%),
    linear-gradient(180deg, #fcfcfd 0%, #f7f7f8 100%);
}

.login-card-preview-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem) 1rem;
}

.login-card-wrap,
.auth-card-wrap {
  width: min(100%, 30rem);
}

.login-card,
.auth-card {
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.92);
}

.login-card-body,
.auth-card-body {
  padding: clamp(1.35rem, 4vw, 1.75rem);
}

.login-card-header,
.auth-card-header {
  margin-bottom: 1.25rem;
}

.auth-card-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.login-card-title,
.auth-card-title {
  margin: 0 0 0.55rem;
  max-width: 18rem;
  color: var(--sh-foreground);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.auth-card-description {
  margin: 0;
  max-width: 28rem;
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}

.login-card-form,
.auth-card-form {
  display: grid;
  gap: 1rem;
}

.auth-card-form .asteriskField {
  display: none;
}

.login-card-label,
.auth-card-form label {
  margin-bottom: 0.45rem;
  color: var(--sh-foreground);
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-card-form .mb-3,
.auth-card-form .form-group,
.auth-card-form p {
  margin-bottom: 0;
}

.auth-card-form .form-control,
.auth-card-form input:not([type="checkbox"]):not([type="radio"]),
.auth-card-form select,
.auth-card-form textarea,
.login-card-input {
  min-height: 2.8rem;
  border-color: rgba(var(--sh-border-rgb), 0.85);
  border-radius: 0.5rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.95rem;
}

.auth-card-form textarea {
  min-height: 8rem;
}

.auth-card-form .form-control::placeholder,
.login-card-input::placeholder {
  color: color-mix(in srgb, var(--sh-muted-foreground) 90%, white);
}

.auth-card-form .form-control:focus,
.auth-card-form input:focus,
.auth-card-form select:focus,
.auth-card-form textarea:focus,
.login-card-input:focus {
  border-color: rgba(var(--sh-primary-rgb), 0.95);
}

.auth-card-form .helptext {
  display: block;
  margin-top: 0.45rem;
  color: var(--sh-muted-foreground);
  font-size: 0.84rem;
  line-height: 1.45;
}

.auth-card-form .form-text a {
  color: var(--sh-foreground);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-card-form ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 0 0 0.55rem;
  color: var(--bs-danger);
  font-size: 0.84rem;
}

.auth-card-form .invalid-feedback,
.auth-card-form .text-danger {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.84rem;
}

.auth-card-inline-links {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.5rem;
}

.login-card-link,
.auth-card-link {
  color: var(--sh-foreground);
  font-size: 0.9rem;
  text-decoration: none;
}

.login-card-link:hover,
.auth-card-link:hover {
  color: var(--sh-primary-hover);
}

.login-card-link-underline,
.auth-card-link-underline {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-card-form .form-control:-webkit-autofill,
.auth-card-form .form-control:-webkit-autofill:hover,
.auth-card-form .form-control:-webkit-autofill:focus,
.login-card-input:-webkit-autofill,
.login-card-input:-webkit-autofill:hover,
.login-card-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--sh-foreground);
  transition: background-color 9999s ease-out 0s;
}

.login-card-submit,
.auth-card-submit {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.auth-card-message {
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-card-action-form {
  margin-top: 1.25rem;
}

.auth-card-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.auth-card-action {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.login-card-footer,
.auth-card-footer {
  margin: 1.25rem 0 0;
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .auth-card-action-row {
    grid-template-columns: 1fr;
  }

  .auth-card-inline-links {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .auth-brand-panel {
    margin-inline: auto;
  }

  .auth-brand-title {
    max-width: 100%;
  }
}

.workspace-page {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(1.25rem, 2vw, 1.75rem) 2rem;
  max-width: var(--sitehunt-app-frame-width);
  margin: 0 auto;
}

.workspace-page-full-width {
  max-width: none;
  margin: 0;
}

.workspace-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.workspace-sites-page-header {
  min-height: 3.4rem;
}

.workspace-page-header .workspace-page-eyebrow {
  display: none;
}

.workspace-page-intro {
  max-width: 44rem;
}

.workspace-page-eyebrow,
.workspace-panel-eyebrow,
.workspace-scope-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--sh-muted-foreground);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workspace-page-title {
  margin: 0;
  color: var(--sh-foreground);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 600;
  /* letter-spacing: -0.05em; */
  line-height: 0.95;
}

.workspace-page-description,
.workspace-panel-description,
.workspace-scope-description {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  color: var(--sh-muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
}

.workspace-page-actions {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.workspace-primary-action {
  min-height: 3.4rem;
  padding-inline: 1.2rem;
  border-radius: 1rem;
  font-weight: 500;
}

.workspace-back-action {
  min-height: 2.6rem;
  padding-block: 0.45rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
}

.workspace-add-action {
  min-height: 2.75rem;
  padding-block: 0.5rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
}

.workspace-add-action.btn-primary {
  --bs-btn-color: var(--marketing-hub-on-primary);
  --bs-btn-bg: var(--marketing-hub-primary);
  --bs-btn-border-color: var(--marketing-hub-primary);
  --bs-btn-hover-color: var(--marketing-hub-on-primary);
  --bs-btn-hover-bg: var(--marketing-hub-primary-hover);
  --bs-btn-hover-border-color: var(--marketing-hub-primary-hover);
  --bs-btn-active-color: var(--marketing-hub-on-primary);
  --bs-btn-active-bg: var(--marketing-hub-primary-hover);
  --bs-btn-active-border-color: var(--marketing-hub-primary-hover);
}

.workspace-page-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.workspace-page-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--sh-foreground);
  font-size: 0.92rem;
  font-weight: 500;
}

.workspace-page-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  width: max-content;
  max-width: 100%;
  padding: 0.2rem;
  border: 1px solid var(--sitehunt-site-shell-border);
  border-radius: 0.5rem;
  background: var(--sitehunt-site-shell-bg);
  box-shadow: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sitehunt-tab-list {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid var(--sitehunt-site-shell-border);
  border-radius: 0.5rem;
  background: var(--sitehunt-site-shell-bg);
  box-shadow: none;
}

.sitehunt-tab-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  color: var(--sh-foreground);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  background: transparent;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.sitehunt-tab-trigger:hover {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-hover-bg);
  border-color: var(--marketing-hub-tab-hover-border);
}

.sitehunt-tab-trigger:focus-visible {
  outline: 2px solid var(--sh-ring);
  outline-offset: 2px;
}

.sitehunt-tab-trigger.is-active {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-active-bg);
  border-color: var(--marketing-hub-tab-active-border);
  font-weight: 600;
}

.sitehunt-tab-trigger[data-state='active'] {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-active-bg);
  border-color: var(--marketing-hub-tab-active-border);
  font-weight: 600;
}

.sitehunt-tab-trigger[data-state='inactive'] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.workspace-page-tab {
  --sitehunt-tabs-radius: 0.75rem;

  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid transparent;
  border-radius: calc(var(--sitehunt-tabs-radius) - 0.3rem);
  background: transparent;
  color: var(--sh-foreground);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.workspace-page-tab:hover {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-hover-bg);
  border-color: var(--marketing-hub-tab-hover-border);
}

.workspace-page-tab.is-active {
  color: var(--sh-foreground);
  border-color: var(--marketing-hub-tab-active-border);
  background: var(--marketing-hub-tab-active-bg);
}

.workspace-panel,
.workspace-scope-card {
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.92);
}

.workspace-scope-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr);
  gap: 1.5rem;
  padding: clamp(1.35rem, 2vw, 1.8rem);
}

.workspace-scope-title,
.workspace-panel-title {
  margin: 0;
  color: var(--sh-foreground);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.workspace-scope-form {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.workspace-field-label {
  color: var(--sh-foreground);
  font-size: 0.95rem;
  font-weight: 600;
}

.workspace-select,
.workspace-search-input {
  min-height: 3.55rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 0.5rem;
}

.workspace-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.35rem 1rem;
}

.workspace-panel-header-centered {
  align-items: center;
}

.workspace-panel-header-uniform {
  min-height: 7rem;
}

.workspace-panel-header-compact {
  min-height: 4.5rem;
}

.workspace-edo-organization-page .workspace-panel {
  border-radius: 0.5rem;
}

.workspace-edo-settings-detail-page .workspace-panel {
  border-radius: 0.5rem;
}

.workspace-edo-settings-detail-page > *,
.workspace-edo-settings-detail-page .workspace-panel,
.workspace-edo-settings-detail-page .workspace-panel-header > div:first-child,
.workspace-edo-settings-detail-page .workspace-edo-section-body {
  min-width: 0;
  max-width: 100%;
}

.workspace-edo-settings-detail-page .workspace-panel-header {
  min-height: 7rem;
}

.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .buttonHolder,
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .form-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0;
}

.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .buttonHolder .btn.btn-primary[type='submit'],
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .form-actions .btn.btn-primary[type='submit'],
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .buttonHolder .btn.btn-primary,
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .form-actions .btn.btn-primary,
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .buttonHolder input.btn.btn-primary[type='submit'],
.workspace-edo-settings-detail-page .workspace-edo-app-settings-form .form-actions input.btn.btn-primary[type='submit'] {
  margin: 0 0 0 auto;
  justify-self: end;
}

.workspace-edo-app-settings-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.workspace-edo-public-portal-settings-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.workspace-edo-real-estate-listings-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.workspace-edo-real-estate-listings-page .workspace-panel {
  border-radius: 0.5rem;
}

.workspace-edo-real-estate-listings-page .workspace-panel-header {
  min-height: 4.5rem;
  align-items: center;
}

.workspace-edo-real-estate-listings-page .workspace-edo-section-body {
  padding: 1.25rem 1.35rem 1.4rem;
  gap: 1.15rem;
}

.workspace-edo-real-estate-listings-page .workspace-edo-code-row {
  align-items: center;
}

.workspace-edo-real-estate-listings-page .workspace-panel-description {
  margin-top: 0.5rem;
}

.workspace-edo-site-tools-detail-page .workspace-panel {
  border-radius: 0.5rem;
}

.workspace-edo-site-tools-detail-page .workspace-panel-header {
  align-items: center;
}

.workspace-site-comparison-page .workspace-panel-header {
  min-height: auto;
}

.workspace-edo-site-tools-page .workspace-panel-header > div:first-child {
  flex: 1 1 24rem;
  min-width: 0;
}

.workspace-edo-site-tools-page .workspace-page-actions {
  flex: 0 1 auto;
  width: 100%;
  margin-left: 0;
  max-width: 100%;
  justify-items: start;
}

.workspace-edo-site-tools-page .workspace-back-action {
  white-space: normal;
  text-align: center;
}

@media (min-width: 768px) {
  body:not(.embed-layout) .workspace-edo-site-tools-page,
  body:not(.embed-layout) .workspace-edo-site-tools-page .workspace-panel {
    width: calc(100vw - var(--bs-navbar-vertical-width, 250px) - 4.5rem);
    max-width: calc(100vw - var(--bs-navbar-vertical-width, 250px) - 4.5rem);
  }
}

.workspace-edo-tool-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.workspace-edo-compare-tool-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 0.85rem;
  flex: 1 1 34rem;
  width: min(100%, 44rem);
  max-width: min(100%, 44rem);
}

.workspace-edo-compare-selects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.75rem;
  flex: 1 1 28rem;
  min-width: min(100%, 28rem);
}

.workspace-edo-compare-selects .workspace-field-label {
  margin: 0 0 0.35rem;
}

.workspace-edo-compare-selects .workspace-select {
  min-height: 2.6rem;
}

.workspace-edo-tool-stat-row {
  margin-top: 0;
}

.workspace-edo-tool-stat-row .workspace-panel-header {
  min-height: 6.4rem;
}

.workspace-edo-strategy-list,
.workspace-edo-tool-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.workspace-edo-tool-form-actions {
  margin-top: 1rem;
}

.workspace-edo-tool-code {
  max-width: min(100%, 34rem);
  overflow-wrap: anywhere;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.75);
  background: rgba(var(--sh-muted-rgb), 0.5);
  color: var(--sh-foreground);
  font-size: 0.82rem;
}

.workspace-edo-tool-table-wrap {
  padding: 0;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  border-radius: 0.5rem;
  overflow-x: auto;
}

.workspace-edo-tool-table {
  min-width: 56rem;
  margin-bottom: 0;
}

.workspace-edo-tool-table thead th {
  border-bottom-color: rgba(var(--sh-border-rgb), 0.78);
  background: rgba(var(--sh-muted-rgb), 0.46);
  color: var(--sh-muted-foreground);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.workspace-edo-tool-table th,
.workspace-edo-tool-table td {
  padding: 0.85rem 0.9rem;
  vertical-align: middle;
}

.workspace-edo-tool-table tbody tr:last-child td {
  border-bottom: 0;
}

.workspace-edo-duplicates-table {
  min-width: 76rem;
}

.workspace-edo-site-picker {
  display: grid;
  gap: 0;
  padding: 0 1.35rem 1.35rem;
}

.workspace-edo-site-picker-item {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(var(--sh-border-rgb), 0.62);
  color: var(--sh-foreground);
  text-decoration: none;
}

.workspace-edo-site-picker-item:last-child {
  border-bottom: 0;
}

.workspace-edo-site-picker-item:hover {
  color: var(--sh-foreground);
}

.workspace-edo-site-picker-item.is-active {
  margin-inline: -0.75rem;
  padding: 0.95rem 0.75rem;
  border-radius: 0.5rem;
  border-bottom-color: transparent;
  background: rgba(var(--sh-primary-rgb), 0.08);
}

.workspace-edo-site-picker-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-edo-site-picker-meta {
  min-width: 0;
}

.workspace-edo-site-picker-title {
  color: var(--sh-foreground);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.workspace-edo-site-picker-detail {
  margin-top: 0.2rem;
  color: var(--sh-muted-foreground);
  font-size: 0.88rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.workspace-edo-site-picker-status {
  flex: 0 0 auto;
}

.workspace-edo-site-picker-empty {
  padding: 0.95rem 0;
}

.workspace-edo-site-picker-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.workspace-edo-selected-site-title {
  margin: 0 0 0.35rem;
  color: var(--sh-foreground);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;
}

.workspace-edo-preview-panel + .workspace-edo-preview-summary-panel {
  margin-top: 1.5rem;
}

.workspace-edo-tool-metric-row {
  margin-bottom: 1.4rem;
}

.workspace-edo-tool-metric {
  height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  border-radius: 0.5rem;
  background: rgba(var(--sh-muted-rgb), 0.28);
}

.workspace-edo-tool-metric-value {
  color: var(--sh-foreground);
  font-family: var(--sitehunt-font-display);
  font-size: 1.65rem;
  font-weight: 650;
  line-height: 1;
}

.workspace-edo-table-heading {
  margin: 1.2rem 0 0.75rem;
  color: var(--sh-foreground);
  font-size: 1rem;
  font-weight: 650;
}

.workspace-edo-table-heading:first-child {
  margin-top: 0;
}

.workspace-edo-pill--danger {
  border-color: rgba(220, 38, 38, 0.18);
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.workspace-edo-app-settings-panel .workspace-panel-header {
  min-height: 4.5rem;
}

.workspace-edo-organization-page .crm-detail-list {
  row-gap: 1rem;
}

.workspace-edo-organization-page .workspace-edo-member-item {
  padding: 0.75rem 0;
}

.workspace-edo-organization-page .workspace-panel-header-uniform .workspace-panel-description {
  margin-top: 0.5rem;
}

.crm-detail-list {
  margin: 0;
  padding: 1.2rem 1.35rem 1.4rem;
  display: grid;
  grid-template-columns: minmax(10.5rem, 14%) minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 0.95rem;
}

.crm-detail-list dt {
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.crm-detail-list dd {
  margin: 0;
  color: var(--sh-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.crm-detail-list a {
  color: var(--sh-foreground);
  text-decoration: none;
  font-weight: 500;
}

.crm-detail-list a:hover {
  text-decoration: underline;
}

.crm-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.crm-detail-tags .badge {
  font-size: 0.78rem;
}

.crm-edit-form {
  padding: 1.2rem 1.35rem 1.4rem;
}

.crm-edit-form .form-label,
.crm-edit-form .form-check-label,
.crm-edit-form label {
  color: var(--sh-foreground);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.crm-edit-form .form-control,
.crm-edit-form .form-select,
.crm-edit-form textarea,
.crm-edit-form select {
  border-radius: 0.5rem;
  min-height: 2.6rem;
}

.crm-edit-form .form-control[type='file'] {
  min-height: auto;
}

.crm-edit-form .mb-3,
.crm-edit-form .form-group {
  margin-bottom: 1.25rem !important;
}

.crm-edit-form .form-text {
  display: none;
}

.crm-edit-form .form-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 4.5rem;
}

.crm-edit-form .btn,
.crm-edit-form button[type='submit'],
.crm-edit-form input[type='submit'] {
  min-height: 2.6rem;
  border-radius: 0.5rem;
}

.crm-edit-form button.btn-primary[type='submit'],
.crm-edit-form input.btn-primary[type='submit'] {
  display: block;
  margin-top: 3rem;
  margin-left: auto;
}

.crm-organization-inline-row {
  --crm-inline-control-height: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
}

.crm-organization-inline-row > div:first-child {
  min-width: 0;
}

.crm-organization-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.65rem;
}

.crm-inline-or {
  color: var(--sh-muted-foreground);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.crm-inline-create-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: var(--crm-inline-control-height);
  min-height: var(--crm-inline-control-height);
  white-space: nowrap;
  padding-inline: 1rem;
  border-color: var(--sh-input);
  background-color: transparent;
  color: var(--sh-foreground);
  box-shadow: none;
}

.crm-inline-create-button i {
  font-size: 0.9rem;
  line-height: 1;
}

.crm-inline-create-button:hover {
  border-color: rgb(var(--sh-ring-rgb));
  background-color: transparent;
  color: var(--sh-foreground);
}

.crm-inline-create-button:focus,
.crm-inline-create-button:focus-visible {
  border-color: rgb(var(--sh-ring-rgb));
}

.crm-organization-inline-row .form-select,
.crm-organization-inline-row .choices__inner,
.crm-organization-inline-row .choices[data-type*='select-one'] .choices__inner {
  min-height: var(--crm-inline-control-height);
}

.workspace-edit-page {
  max-width: 58rem;
  margin-inline: auto;
}

.workspace-edit-page .workspace-page-actions {
  width: auto;
}

@media (max-width: 767.98px) {
  .crm-organization-inline-row {
    grid-template-columns: 1fr;
  }

  .crm-organization-inline-actions {
    padding-top: 0;
  }
}

.workspace-detail-action {
  min-height: 2.15rem;
  min-width: 2.15rem;
  padding: 0.35rem;
  border-radius: 0.5rem;
}

.workspace-detail-action i {
  font-size: 0.95rem;
  line-height: 1;
}

.crm-detail-record-title {
  font-size: 1.75rem;
  line-height: 1.15;
}

.workspace-action-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.7rem;
}

.workspace-action-menu-toggle::after {
  display: none;
}

.workspace-panel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.workspace-list-card-header {
  min-height: 5.35rem;
}

.workspace-list-card-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.workspace-panel-toolbar-with-filters {
  align-items: flex-start;
  flex-wrap: wrap;
}

.workspace-panel-toolbar-start {
  display: flex;
  align-items: center;
  min-width: 0;
}

.workspace-panel-toolbar-with-filters .workspace-panel-toolbar-start {
  flex: 1 1 30rem;
}

.workspace-list-card-toolbar .workspace-panel-toolbar-start {
  flex: 1 1 30rem;
}

.workspace-site-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
}

.workspace-crm-section-nav {
  width: auto;
}

.workspace-site-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.48rem 0.9rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sh-foreground);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.workspace-site-filter-button:hover {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-hover-bg);
  border-color: var(--marketing-hub-tab-hover-border);
}

.workspace-site-filter-button:focus-visible {
  outline: 2px solid var(--sh-ring);
  outline-offset: 2px;
}

.workspace-site-filter-button.is-active {
  color: #fff;
  border-color: var(--sh-foreground);
  background: var(--sh-foreground);
}

.site-utility-menu {
  position: relative;
}

.site-utility-menu__toggle {
  cursor: pointer;
  list-style: none;
}

.site-utility-menu__toggle::-webkit-details-marker {
  display: none;
}

.site-utility-menu__toggle::marker {
  content: "";
}

.site-utility-menu[open] .site-utility-menu__toggle {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-hover-bg);
  border-color: var(--marketing-hub-tab-hover-border);
}

.site-utility-menu[open] .site-utility-menu__chevron {
  transform: rotate(180deg);
}

.site-utility-menu__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 13.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.5rem;
  background: var(--sh-card);
  box-shadow: 0 1rem 2.5rem rgba(var(--sh-foreground-rgb), 0.14);
}

.site-utility-menu__form {
  margin: 0;
}

.site-utility-menu__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--sh-foreground);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.site-utility-menu__item:hover,
.site-utility-menu__item:focus-visible {
  color: var(--sh-foreground);
  background: var(--marketing-hub-tab-hover-bg);
  outline: none;
}

.site-utility-menu__item--danger {
  color: var(--bs-danger);
}

.site-utility-menu__item--danger:hover,
.site-utility-menu__item--danger:focus-visible {
  color: var(--bs-danger);
  background: rgba(var(--bs-danger-rgb), 0.08);
}

.workspace-search-form {
  position: relative;
  width: min(100%, 28rem);
}

.workspace-search-form-compact {
  width: min(28%, 15rem);
  margin-left: auto;
}

.workspace-search-form-sites {
  width: min(36%, 22rem);
}

.workspace-search-form-list {
  flex: 0 1 22rem;
  width: min(100%, 22rem);
}

.workspace-panel-toolbar-with-filters .workspace-search-form-sites {
  flex: 0 1 22rem;
  width: min(100%, 22rem);
}

.workspace-list-card-toolbar .workspace-search-form-compact {
  flex: 0 1 22rem;
  width: min(100%, 22rem);
  margin-left: auto;
}

.workspace-site-list-control-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex: 0 1 auto;
  min-width: min(100%, 32rem);
  margin-left: auto;
}

.workspace-site-list-control-form .workspace-search-form-compact {
  margin-left: 0;
}

.workspace-site-type-only-form {
  min-width: min(100%, 11rem);
}

.workspace-site-type-filter-field {
  flex: 0 0 11rem;
}

.workspace-site-type-filter-field .workspace-list-filter-select {
  width: 100%;
}

.workspace-list-filter-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  min-width: 0;
}

.workspace-list-filter-field {
  display: grid;
  gap: 0.25rem;
}

.workspace-list-filter-label {
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.workspace-list-filter-select {
  min-height: 2.6rem;
  min-width: 11rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.82);
  color: var(--sh-foreground);
  font-size: 0.95rem;
}

.workspace-list-filter-clear {
  align-self: end;
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
}

.workspace-search-form-compact .workspace-search-input {
  min-height: 2.6rem;
  padding: 0.45rem 1rem 0.45rem 2.8rem;
  border-radius: 0.5rem;
}

.workspace-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--sh-muted-foreground);
  pointer-events: none;
}

.workspace-search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--sh-foreground);
  font-size: 1rem;
}

.workspace-search-input::placeholder {
  color: color-mix(in srgb, var(--sh-muted-foreground) 92%, white);
}

.workspace-table-wrap {
  padding: 1rem 1rem 0;
}

.workspace-list-card-body {
  padding: 1rem 1rem 0;
}

.workspace-list-card-summary {
  margin: 0 0 0.85rem;
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
}

.workspace-table-shell {
  border-color: rgba(var(--sh-border-rgb), 0.78);
  background: #ffffff;
}

.workspace-data-table {
  color: #101d36;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.workspace-data-table thead th {
  padding-block: 0.95rem;
  background: #f8fafc;
  color: rgba(var(--sh-foreground-rgb), 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workspace-data-table tbody td {
  color: #101d36;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.38;
}

.workspace-data-table .workspace-row-link {
  color: inherit;
  font-weight: 500;
}

.workspace-data-table .workspace-row-title {
  color: #0b1733;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.workspace-row-subtitle {
  color: rgba(var(--sh-foreground-rgb), 0.62);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.workspace-sort-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
}

.workspace-sort-link:hover {
  color: var(--sh-foreground);
}

.workspace-inline-badge {
  min-height: 1.55rem;
  border: 1px solid rgba(var(--sh-primary-rgb), 0.14);
  background: rgba(var(--sh-primary-rgb), 0.075);
  color: #0b1733;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.workspace-inline-badge-soft {
  border-color: rgba(var(--sh-border-rgb), 0.7);
  background: rgba(var(--sh-muted-rgb), 0.34);
}

.workspace-muted {
  color: rgba(var(--sh-foreground-rgb), 0.52);
  font-weight: 500;
}

.workspace-clickable-row {
  cursor: pointer;
}

.workspace-clickable-row:focus-visible {
  outline: 2px solid var(--sh-ring);
  outline-offset: -2px;
}

.workspace-data-table th:nth-child(1),
.workspace-data-table td:nth-child(1) {
  width: 12.5%;
}

.workspace-data-table th:nth-child(2),
.workspace-data-table td:nth-child(2) {
  width: 18%;
}

.workspace-data-table th:nth-child(3),
.workspace-data-table td:nth-child(3) {
  width: 24%;
}

.workspace-data-table th:nth-child(4),
.workspace-data-table td:nth-child(4) {
  width: 10%;
}

.workspace-data-table th:nth-child(5),
.workspace-data-table td:nth-child(5) {
  width: 12%;
}

.workspace-data-table th:nth-child(6),
.workspace-data-table td:nth-child(6) {
  width: 7%;
}

.workspace-data-table-contacts th:nth-child(1),
.workspace-data-table-contacts td:nth-child(1) {
  width: 12%;
}

.workspace-data-table-contacts th:nth-child(2),
.workspace-data-table-contacts td:nth-child(2) {
  width: 17%;
}

.workspace-data-table-contacts th:nth-child(3),
.workspace-data-table-contacts td:nth-child(3) {
  width: 20%;
}

.workspace-data-table-contacts th:nth-child(4),
.workspace-data-table-contacts td:nth-child(4) {
  width: 18%;
}

.workspace-data-table-contacts th:nth-child(5),
.workspace-data-table-contacts td:nth-child(5) {
  width: 13%;
}

.workspace-data-table-contacts th:nth-child(6),
.workspace-data-table-contacts td:nth-child(6) {
  width: 10%;
}

.workspace-data-table-organizations th:nth-child(1),
.workspace-data-table-organizations td:nth-child(1) {
  width: 40%;
}

.workspace-data-table-organizations th:nth-child(2),
.workspace-data-table-organizations td:nth-child(2) {
  width: 15%;
}

.workspace-data-table-organizations th:nth-child(3),
.workspace-data-table-organizations td:nth-child(3) {
  width: 30%;
}

.workspace-data-table-organizations th:nth-child(4),
.workspace-data-table-organizations td:nth-child(4) {
  width: 15%;
}

.workspace-data-table-sites th:nth-child(1),
.workspace-data-table-sites td:nth-child(1) {
  width: 25%;
}

.workspace-data-table-sites th:nth-child(2),
.workspace-data-table-sites td:nth-child(2) {
  width: 13%;
}

.workspace-data-table-sites th:nth-child(3),
.workspace-data-table-sites td:nth-child(3) {
  width: 12%;
}

.workspace-data-table-sites th:nth-child(4),
.workspace-data-table-sites td:nth-child(4) {
  width: 15%;
}

.workspace-data-table-sites th:nth-child(5),
.workspace-data-table-sites td:nth-child(5) {
  width: 14%;
}

.workspace-data-table-sites th:nth-child(6),
.workspace-data-table-sites td:nth-child(6) {
  width: 9%;
}

.workspace-data-table-sites th:nth-child(7),
.workspace-data-table-sites td:nth-child(7) {
  width: 12%;
}

.workspace-data-table-sites-tags th:nth-child(1),
.workspace-data-table-sites-tags td:nth-child(1) {
  width: 42%;
}

.workspace-data-table-sites-tags th:nth-child(2),
.workspace-data-table-sites-tags td:nth-child(2) {
  width: 18%;
}

.workspace-data-table-sites-tags th:nth-child(3),
.workspace-data-table-sites-tags td:nth-child(3) {
  width: 40%;
}

.workspace-data-table-sites-archived th:nth-child(1),
.workspace-data-table-sites-archived td:nth-child(1) {
  width: 42%;
}

.workspace-data-table-sites-archived th:nth-child(2),
.workspace-data-table-sites-archived td:nth-child(2) {
  width: 18%;
}

.workspace-data-table-sites-archived th:nth-child(3),
.workspace-data-table-sites-archived td:nth-child(3) {
  width: 18%;
}

.workspace-data-table-sites-archived th:nth-child(4),
.workspace-data-table-sites-archived td:nth-child(4) {
  width: 22%;
}

.workspace-data-table-compare-sites th:nth-child(1),
.workspace-data-table-compare-sites td:nth-child(1) {
  width: 8%;
}

.workspace-data-table-compare-sites th:nth-child(2),
.workspace-data-table-compare-sites td:nth-child(2) {
  width: 23%;
}

.workspace-data-table-compare-sites th:nth-child(3),
.workspace-data-table-compare-sites td:nth-child(3) {
  width: 13%;
}

.workspace-data-table-compare-sites th:nth-child(4),
.workspace-data-table-compare-sites td:nth-child(4) {
  width: 12%;
}

.workspace-data-table-compare-sites th:nth-child(5),
.workspace-data-table-compare-sites td:nth-child(5) {
  width: 14%;
}

.workspace-data-table-compare-sites th:nth-child(6),
.workspace-data-table-compare-sites td:nth-child(6) {
  width: 12%;
}

.workspace-data-table-compare-sites th:nth-child(7),
.workspace-data-table-compare-sites td:nth-child(7) {
  width: 8%;
}

.workspace-data-table-compare-sites th:nth-child(8),
.workspace-data-table-compare-sites td:nth-child(8) {
  width: 10%;
}

.workspace-data-table-compare-sites thead th:first-child,
.workspace-data-table-compare-sites tbody td:first-child {
  padding-left: 3rem;
  padding-right: 0.9rem;
}

.workspace-data-table-compare-sites th.comparison-select-cell,
.workspace-data-table-compare-sites td.comparison-select-cell {
  padding-left: 1rem !important;
  padding-right: 0.75rem !important;
  text-align: center;
}

.workspace-data-table-compare-sites .comparison-select-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  width: 100%;
}

.workspace-data-table-compare-sites .site-select-checkbox {
  border: 1px solid rgba(var(--sh-border-rgb), 0.95);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.workspace-data-table-compare-sites .site-select-checkbox:checked {
  border-color: var(--sh-primary);
  background-color: var(--sh-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M4 10.5l4 4 8-9'/%3e%3c/svg%3e");
  background-size: 0.8rem 0.8rem;
  background-position: center;
  background-repeat: no-repeat;
}

.workspace-data-table-compare-sites thead th:last-child,
.workspace-data-table-compare-sites tbody td:last-child {
  padding-right: 5rem;
}

.workspace-muted {
  color: var(--sh-muted-foreground);
}

.workspace-mobile-list {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.35rem 1.35rem;
}

.workspace-mobile-card {
  padding: 1rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
}

.workspace-mobile-card .workspace-row-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.workspace-mobile-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.workspace-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.workspace-mobile-item {
  display: grid;
  gap: 0.2rem;
}

.workspace-mobile-item strong,
.workspace-mobile-card .workspace-row-link:not(.workspace-row-title) {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.workspace-mobile-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.workspace-mobile-label {
  color: var(--sh-muted-foreground);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workspace-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  row-gap: 1.35rem;
  margin-top: 1rem;
}

.workspace-badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.workspace-badge-stack-end {
  align-items: flex-end;
}

.workspace-status-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}

.workspace-empty-state {
  padding: 1.35rem;
  border: 1px dashed rgba(var(--sh-border-rgb), 0.8);
  border-radius: 1rem;
  color: var(--sh-muted-foreground);
  text-align: center;
}

.workspace-panel-footer {
  padding: 1rem 1.35rem 1.25rem;
  border-top: 1px solid rgba(var(--sh-border-rgb), 0.65);
}

.workspace-edo-page {
  gap: 1.25rem;
}

.workspace-import-page {
  gap: 1.25rem;
}

.workspace-import-page > * {
  min-width: 0;
  max-width: 100%;
}

.workspace-import-page .workspace-panel {
  border-radius: 0.5rem;
}

.workspace-import-page .workspace-panel-header {
  align-items: center;
}

.workspace-import-page .workspace-panel-title {
  font-size: 20pt;
}

.workspace-import-page .workspace-panel-description {
  margin-top: 0.45rem;
}

.workspace-import-page .workspace-edo-section-body {
  padding: 1.25rem 1.35rem 1.45rem;
  gap: 1rem;
}

.workspace-import-page .workspace-import-controls-wrap {
  display: grid;
  gap: 0.9rem;
}

.workspace-import-page .workspace-import-header-label {
  margin: 0 0 0.75rem;
  color: var(--sh-foreground);
  font-family: var(--sitehunt-font-display);
  font-size: 24pt;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.workspace-import-page .workspace-import-header-tabs {
  margin-top: 0;
}

.workspace-import-page .workspace-import-title-row {
  padding-top: 0;
  padding-bottom: 0.45rem;
}

.workspace-import-page .workspace-import-filter-group {
  display: grid;
  gap: 0.55rem;
}

.workspace-import-page .workspace-import-filter-label {
  color: var(--sh-foreground);
  font-size: 0.85rem;
  font-weight: 700;
}

.workspace-import-page .workspace-import-filter-select {
  min-width: 13.5rem;
}

.workspace-import-page .workspace-table-wrap {
  padding: 0;
}

.workspace-import-page .workspace-edo-section-body .workspace-mobile-list {
  padding: 0;
}

.workspace-import-page .workspace-import-filter-nav {
  min-width: 0;
  max-width: 100%;
  gap: 0.5rem;
}

.workspace-import-page .workspace-import-table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
}

.workspace-import-page .workspace-import-table-wrap .workspace-table-shell {
  display: inline-block;
  min-width: 100%;
  overflow: visible;
  vertical-align: top;
}

.workspace-import-page .workspace-import-table {
  min-width: 84rem;
  table-layout: fixed;
}

@media (min-width: 1400px) {
  .workspace-import-page .workspace-import-table {
    min-width: 100%;
  }
}

.workspace-import-page .workspace-import-table th,
.workspace-import-page .workspace-import-table td {
  vertical-align: middle;
}

.workspace-import-page .workspace-import-table th:nth-child(1),
.workspace-import-page .workspace-import-table td:nth-child(1) {
  width: 8rem;
}

.workspace-import-page .workspace-import-table th:nth-child(2),
.workspace-import-page .workspace-import-table td:nth-child(2) {
  width: 16%;
}

.workspace-import-page .workspace-import-table th:nth-child(3),
.workspace-import-page .workspace-import-table td:nth-child(3) {
  width: 16%;
}

.workspace-import-page .workspace-import-table th:nth-child(4),
.workspace-import-page .workspace-import-table td:nth-child(4) {
  width: 10%;
}

.workspace-import-page .workspace-import-table th:nth-child(5),
.workspace-import-page .workspace-import-table td:nth-child(5) {
  width: 14rem;
}

.workspace-import-page .workspace-import-table th:nth-child(6),
.workspace-import-page .workspace-import-table td:nth-child(6) {
  width: 19rem;
}

.workspace-import-page .workspace-import-table thead th:first-child,
.workspace-import-page .workspace-import-table tbody td:first-child {
  padding-left: 1.35rem !important;
}

.workspace-import-page .workspace-import-table thead th:last-child,
.workspace-import-page .workspace-import-table tbody td:last-child {
  padding-right: 1.35rem !important;
}

.workspace-import-page .workspace-import-thumb {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
}

.workspace-import-page .workspace-import-thumb-placeholder {
  border: 1px dashed rgba(var(--sh-border-rgb), 0.85);
  background: rgba(var(--sh-muted-rgb), 0.3);
}

.workspace-import-page .workspace-import-mobile-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 58px;
  object-fit: cover;
}

.workspace-import-page .workspace-import-site-cell {
  min-width: 0;
}

.workspace-import-page .workspace-import-site-name {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.workspace-import-page .workspace-import-table .site-type-select {
  min-width: 12.5rem;
}

.workspace-import-page .workspace-import-table td:last-child {
  white-space: nowrap;
}

.workspace-import-page .workspace-import-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.workspace-import-page .workspace-import-mobile-actions .site-type-select {
  flex: 1 1 100%;
  min-width: 0;
}

.workspace-import-page .workspace-panel-footer {
  border-top: 0;
  padding-top: 0;
  padding-bottom: 1.3rem;
}

.workspace-import-page .workspace-import-empty h2 {
  margin-bottom: 0.85rem;
}
.workspace-edo-page-header .workspace-page-title {
  margin-bottom: 1.4rem;
}

.workspace-edo-page-header .workspace-page-intro {
  width: 100%;
  max-width: none;
}

.workspace-edo-page .workspace-panel-title {
  font-size: 20pt;
}

.workspace-edo-nav-shell {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  max-width: 100%;
}

.workspace-edo-nav-shell .workspace-site-filter-nav {
  gap: 0.35rem;
  min-width: 0;
}

.workspace-edo-nav-shell .workspace-site-filter-button {
  min-height: 2.25rem;
  padding: 0.42rem 0.62rem;
  font-size: 0.88rem;
}

.workspace-edo-nav-shell .workspace-site-filter-button .me-2 {
  margin-right: 0.35rem !important;
}

.workspace-edo-nav-label {
  margin-bottom: 0;
}

.workspace-edo-stat-card .workspace-panel-header {
  align-items: flex-start;
}

.workspace-edo-stat-value {
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1;
}

.workspace-edo-stat-heading {
  font-size: 1.2rem;
  line-height: 1.25;
}

.workspace-edo-section-body {
  padding: 1.15rem 1.35rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.workspace-edo-helper {
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
}

.workspace-edo-logo {
  max-width: 220px;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem;
}

.workspace-edo-code-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.workspace-edo-code,
.workspace-edo-input {
  min-width: 0;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.88);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

.workspace-edo-code {
  min-height: 5.4rem;
  resize: vertical;
}

.workspace-edo-input {
  min-height: 2.75rem;
}

.workspace-edo-settings-detail-page .workspace-edo-section-body a,
.workspace-edo-settings-detail-page .workspace-panel-description {
  overflow-wrap: anywhere;
}

.workspace-edo-member-list {
  list-style: none;
  margin: 0;
  padding: 0 1.35rem 1.35rem;
}

.workspace-edo-member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(var(--sh-border-rgb), 0.58);
}

.workspace-edo-member-item:last-child {
  border-bottom: 0;
}

.workspace-edo-member-meta {
  min-width: 0;
}

.workspace-edo-member-name {
  color: var(--sh-foreground);
  font-size: 1rem;
  font-weight: 500;
}

.workspace-edo-member-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.workspace-edo-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.7);
  background: rgba(var(--sh-muted-rgb), 0.72);
  color: var(--sh-foreground);
  font-size: 0.84rem;
  font-weight: 600;
}

.workspace-edo-pill--success {
  border-color: rgba(22, 163, 74, 0.18);
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
}

.workspace-edo-pill--muted {
  background: rgba(var(--sh-muted-rgb), 0.72);
}

.workspace-edo-invite-code {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.75);
  background: rgba(var(--sh-muted-rgb), 0.46);
  color: var(--sh-foreground);
  font-size: 0.92rem;
}

.workspace-edo-integration-row {
  padding: 1.15rem 1.35rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.workspace-edo-status-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.workspace-results-meta {
  color: var(--sh-muted-foreground);
}

.chart,
.chart-appended,
.chart-legend,
.dashboard-chart-wrap,
.dashboard-chart-canvas-wrap {
  font-size: 15pt;
}

.dashboard-chart-wrap .chart-legend,
.dashboard-chart-wrap .chart-legend li,
.dashboard-chart-wrap .chart-legend span {
  font-size: 15pt;
}

.dashboard-chart-wrap {
  display: grid;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
}

.dashboard-chart-canvas-wrap {
  width: min(100%, 24rem);
  max-width: 100%;
  margin-inline: auto;
}

.dashboard-chart-legend {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
}

@media (max-width: 991.98px) {
  .workspace-page {
    gap: 1rem;
  }

  .workspace-page-header {
    flex-wrap: nowrap;
    align-items: center;
  }

  .workspace-page-intro {
    min-width: 0;
  }

  .workspace-page-actions {
    width: auto;
    margin-left: auto;
    justify-items: end;
  }

  .workspace-page-chip-row {
    justify-content: flex-start;
  }

  .workspace-scope-card {
    grid-template-columns: 1fr;
  }

  .workspace-panel-header,
  .workspace-panel-toolbar {
    align-items: stretch;
  }

  .workspace-panel-toolbar {
    flex-direction: column;
  }

  .workspace-list-card-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-list-card-toolbar .workspace-panel-toolbar-start,
  .workspace-list-card-toolbar .workspace-search-form-compact,
  .workspace-site-list-control-form {
    flex: 0 1 auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .workspace-site-list-control-form {
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
  }

  .workspace-site-type-filter-field {
    flex: 1 1 11rem;
  }

  .workspace-edo-code-row,
  .workspace-edo-member-item {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-edo-organization-page .workspace-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-edo-organization-page .workspace-page-actions {
    margin-left: 0;
    justify-items: start;
  }

  .workspace-edo-tool-actions {
    justify-content: flex-start;
  }

  .workspace-edo-site-tools-page .workspace-edo-compare-tool-form {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
  }

  .workspace-edo-site-tools-page .workspace-panel-header {
    flex-direction: column;
  }

  .workspace-edo-site-tools-page .workspace-page-actions {
    width: 100%;
    margin-left: 0;
    justify-items: stretch;
  }

  .workspace-edo-site-tools-page .workspace-page-actions .workspace-back-action {
    width: 100%;
  }

  .workspace-edo-site-picker-main {
    flex-direction: column;
  }

  .workspace-edo-site-picker-status {
    align-self: flex-start;
  }

  .workspace-edo-member-actions {
    justify-content: flex-start;
  }

  .workspace-panel-toolbar-start {
    width: 100%;
  }

  .workspace-panel-toolbar-with-filters .workspace-panel-toolbar-start,
  .workspace-panel-toolbar-with-filters .workspace-search-form-sites {
    flex: 0 1 auto;
  }

  .workspace-search-form {
    width: 100%;
  }

  .workspace-search-form-compact {
    width: min(100%, 14rem);
    max-width: 14rem;
    margin-left: 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
  }

  .workspace-search-form-sites {
    width: min(100%, 18rem);
    max-width: 18rem;
  }

  .workspace-search-form-compact .workspace-search-input {
    flex: 1 1 auto;
    width: 100%;
    min-height: 2.2rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    padding-left: 0.8rem;
  }

  .workspace-search-form-compact .workspace-search-icon {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-right: -1.6rem;
  }

  .workspace-panel-toolbar-with-filters .workspace-search-form-compact .workspace-search-input,
  .workspace-list-card-toolbar .workspace-search-form-compact .workspace-search-input {
    padding-left: 2.8rem;
  }

  .workspace-panel-toolbar-with-filters .workspace-search-form-compact .workspace-search-icon,
  .workspace-list-card-toolbar .workspace-search-form-compact .workspace-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
  }
}

@media (max-width: 899.98px) {
  .workspace-search-form-compact {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    align-self: stretch;
  }

  .workspace-search-form-compact .workspace-search-input {
    width: 100%;
    padding-left: 2.8rem;
  }

  .workspace-search-form-compact .workspace-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .workspace-page-title {
    font-size: 2.5rem;
  }

  .workspace-import-page .workspace-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-import-page .workspace-page-actions {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-items: stretch;
  }

  .workspace-import-page .workspace-page-actions .workspace-primary-action {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .workspace-import-page .workspace-panel-toolbar-start {
    min-width: 0;
  }

  .crm-detail-list {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
  }

  .crm-detail-list dd {
    overflow-wrap: anywhere;
  }

  .workspace-edo-organization-page .workspace-panel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-edo-organization-page .workspace-page-actions {
    width: 100%;
    margin-left: 0;
    justify-items: stretch;
  }

  .workspace-edo-organization-page .workspace-page-actions .workspace-back-action {
    width: 100%;
  }

  .workspace-mobile-grid {
    grid-template-columns: 1fr;
  }
}

/* RFI v2 workflow */

.rfi-v2-list-card {
  overflow: hidden;
  border: 1px solid rgba(var(--sh-border-rgb, 226, 232, 240), 0.78);
  border-radius: 0.5rem;
  background: #ffffff;
  color: inherit;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.rfi-v2-list-card:hover,
.rfi-v2-list-card:focus {
  border-color: rgba(var(--sh-primary-rgb, 44, 123, 229), 0.24);
  background: rgba(var(--sh-primary-rgb, 44, 123, 229), 0.035);
  color: inherit;
  outline: 0;
  transform: translateY(-1px);
}

.rfi-v2-list-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--sh-primary-rgb, 44, 123, 229), 0.18);
}

.rfi-v2-list-card-body {
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr);
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.05rem;
  min-width: 0;
}

.rfi-v2-list-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb, 44, 123, 229), 0.075);
  color: var(--sh-primary);
  font-size: 1.22rem;
  line-height: 1;
}

.rfi-v2-list-card-main,
.rfi-v2-list-card-copy {
  display: grid;
  min-width: 0;
}

.rfi-v2-list-card-main {
  gap: 0.85rem;
}

.rfi-v2-list-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.rfi-v2-list-card-copy {
  gap: 0.3rem;
}

.rfi-v2-list-card-title {
  overflow-wrap: anywhere;
  color: #0b1733;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
}

.rfi-v2-list-card-title-link {
  color: inherit;
  text-decoration: none;
}

.rfi-v2-list-card-title-link:hover,
.rfi-v2-list-card-title-link:focus {
  color: var(--sh-primary);
  text-decoration: none;
}

.rfi-v2-list-card-description {
  margin: 0;
  max-width: 68rem;
  color: var(--sh-muted-foreground);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

.rfi-v2-list-card-rail {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 0;
}

.rfi-v2-due-card {
  display: inline-grid;
  gap: 0.16rem;
  justify-items: end;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b1733;
  line-height: 1.2;
}

.rfi-v2-due-card.is-missing {
  background: transparent;
}

.rfi-v2-due-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: rgba(var(--sh-foreground-rgb), 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rfi-v2-due-label i {
  color: var(--sh-primary);
  font-size: 0.82rem;
}

.rfi-v2-due-value {
  color: #0b1733;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rfi-v2-due-card.is-missing .rfi-v2-due-label i,
.rfi-v2-due-card.is-missing .rfi-v2-due-value {
  color: rgba(var(--sh-foreground-rgb), 0.62);
}

.rfi-v2-list-card-meta,
.rfi-v2-list-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.rfi-v2-top-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: min(100%, 18rem);
  max-width: 100%;
  padding: 0.4rem 0.58rem 0.4rem 0.42rem;
  border: 1px solid rgba(var(--sh-primary-rgb), 0.18);
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb), 0.07);
  color: #0b1733;
  text-decoration: none;
}

.rfi-v2-top-site-link:hover,
.rfi-v2-top-site-link:focus {
  border-color: rgba(var(--sh-primary-rgb), 0.34);
  background: rgba(var(--sh-primary-rgb), 0.12);
  color: #0b1733;
  text-decoration: none;
}

.rfi-v2-top-site-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sh-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.rfi-v2-top-site-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.rfi-v2-top-site-label {
  color: rgba(var(--sh-foreground-rgb), 0.62);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.rfi-v2-top-site-name {
  overflow: hidden;
  color: #0b1733;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfi-v2-meta-item,
.rfi-v2-status-pill,
.rfi-v2-processing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.85rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.rfi-v2-meta-item {
  color: #0b1733;
  font-weight: 600;
}

.rfi-v2-meta-item i {
  color: var(--sh-primary);
  font-size: 0.9rem;
}

.rfi-v2-meta-label {
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rfi-v2-meta-value {
  color: #0b1733;
}

.rfi-v2-meta-value.is-muted {
  color: rgba(var(--sh-foreground-rgb), 0.52);
}

.rfi-v2-status-pill,
.rfi-v2-processing-pill {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.7);
  background: rgba(var(--sh-muted-rgb), 0.32);
  color: #0b1733;
}

.rfi-v2-list-card-foot .rfi-v2-status-pill,
.rfi-v2-list-card-foot .rfi-v2-processing-pill {
  margin-left: auto;
}

.rfi-v2-status-pill.is-open {
  border-color: rgba(var(--sh-primary-rgb), 0.18);
  background: rgba(var(--sh-primary-rgb), 0.08);
  color: #0b1733;
}

.rfi-v2-status-pill.is-submitted,
.rfi-v2-processing-pill.is-current {
  border-color: rgba(var(--sh-success-rgb), 0.18);
  background: rgba(var(--sh-success-rgb), 0.1);
  color: #166534;
}

.rfi-v2-status-pill.is-draft,
.rfi-v2-processing-pill.is-locked {
  color: rgba(var(--sh-foreground-rgb), 0.72);
}

.rfi-v2-processing-pill.is-warning {
  border-color: rgba(var(--bs-warning-rgb), 0.22);
  background: rgba(var(--bs-warning-rgb), 0.12);
  color: #7c4a03;
}

.rfi-v2-processing-pill.is-info {
  border-color: rgba(var(--bs-info-rgb), 0.22);
  background: rgba(var(--bs-info-rgb), 0.1);
  color: #075985;
}

.rfi-v2-empty-icon {
  font-size: 3rem;
}

.rfi-v2-next-callout {
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 0.5rem;
  background: #ffffff;
}

.rfi-v2-next-callout-icon,
.rfi-v2-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb), 0.075);
  color: var(--sh-primary);
  font-size: 1.22rem;
  line-height: 1;
}

.rfi-v2-next-callout-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.rfi-v2-next-callout-eyebrow {
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.rfi-v2-next-callout h2 {
  margin: 0;
  color: #0b1733;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
}

.rfi-v2-next-callout p {
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.45;
}

.rfi-v2-next-callout-action {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.rfi-v2-next-callout-action form {
  margin: 0;
}

.rfi-v2-next-action {
  min-height: 2.45rem;
  padding-inline: 0.9rem;
  border-radius: 0.5rem;
  font-weight: 700;
  white-space: nowrap;
}

.rfi-v2-info-panel {
  margin-bottom: 1.5rem;
}

.rfi-v2-info-panel-header {
  align-items: center;
}

.rfi-v2-info-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.rfi-v2-info-title {
  overflow-wrap: anywhere;
  color: #0b1733;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.rfi-v2-info-edit {
  font-weight: 700;
}

.rfi-v2-info-body {
  display: grid;
  gap: 1.25rem;
  padding: 0 1.35rem 1.35rem;
}

.rfi-v2-info-description,
.rfi-v2-info-long-description {
  margin: 0;
  max-width: 70rem;
  color: var(--sh-muted-foreground);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.rfi-v2-info-description {
  color: #101d36;
  font-size: 1rem;
  font-weight: 600;
}

.rfi-v2-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.rfi-v2-info-item {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.72);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.rfi-v2-info-item.is-primary {
  border-color: rgba(var(--sh-primary-rgb), 0.18);
  background: rgba(var(--sh-primary-rgb), 0.055);
}

.rfi-v2-info-item dt {
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rfi-v2-info-item dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #101d36;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.rfi-v2-info-item.is-primary dd {
  color: #0b1733;
  font-weight: 700;
}

.rfi-v2-info-warning,
.rfi-v2-info-muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.rfi-v2-info-warning {
  color: var(--bs-danger);
}

.rfi-v2-info-muted {
  color: var(--sh-muted-foreground);
}

.rfi-v2-info-item.is-primary .rfi-v2-info-muted {
  display: inline;
  margin-top: 0;
  color: rgba(var(--sh-foreground-rgb), 0.58);
}

.rfi-v2-demand-stat-value {
  font-size: 2rem;
}

.rfi-v2-evaluate-page {
  display: grid;
  gap: 1rem;
}

.rfi-v2-evaluate-page > .row {
  margin-top: 0;
}

.rfi-v2-evaluate-panel {
  overflow: hidden;
  border-radius: 0.5rem;
}

.rfi-v2-evaluate-panel-header {
  align-items: center;
}

.rfi-v2-evaluate-panel-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.rfi-v2-scope-panel {
  margin-bottom: 1rem;
}

.rfi-v2-scope-controls {
  display: grid;
  grid-template-columns: minmax(16rem, 28rem) auto;
  align-items: center;
  gap: 0.75rem;
}

.rfi-v2-evaluate-hero {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.rfi-v2-evaluate-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(var(--sh-primary-rgb), 0.18);
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb), 0.075);
  color: var(--sh-primary);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.rfi-v2-evaluate-count.is-warning {
  border-color: rgba(var(--bs-warning-rgb), 0.24);
  background: rgba(var(--bs-warning-rgb), 0.12);
  color: #7c4a03;
}

.rfi-v2-evaluate-copy {
  min-width: 0;
}

.rfi-v2-evaluate-eyebrow,
.rfi-v2-evaluate-stat-label {
  color: var(--sh-muted-foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rfi-v2-evaluate-copy h3 {
  margin: 0.15rem 0 0.35rem;
  color: #0b1733;
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.22;
}

.rfi-v2-evaluate-copy p {
  margin: 0;
  max-width: 54rem;
  color: var(--sh-muted-foreground);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.rfi-v2-evaluate-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.rfi-v2-evaluate-stat {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.72);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.rfi-v2-evaluate-stat-value {
  color: #0b1733;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.rfi-v2-evaluate-notice {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(var(--bs-info-rgb), 0.18);
  border-radius: 0.5rem;
  background: rgba(var(--bs-info-rgb), 0.08);
  color: #0b1733;
}

.rfi-v2-evaluate-notice.is-warning {
  border-color: rgba(var(--bs-warning-rgb), 0.24);
  background: rgba(var(--bs-warning-rgb), 0.12);
}

.rfi-progress-thin {
  height: 0.7rem;
}

.rfi-report-logo {
  max-height: 56px;
  max-width: 220px;
}

.rfi-reports-toolbar,
.rfi-reports-toolbar-copy,
.rfi-reports-actions,
.rfi-report-export-actions {
  min-width: 0;
}

.rfi-reports-actions .btn,
.rfi-report-export-actions .btn {
  min-width: 0;
  white-space: nowrap;
}

.rfi-report-export-actions {
  flex-wrap: wrap;
}

.rfi-report-map-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rfi-report-map-toggle .form-check-input {
  flex: 0 0 auto;
  float: none;
  margin: 0.2rem 0 0;
}

.rfi-report-map-copy {
  min-width: 0;
}

#rfiResultsMap {
  height: 560px;
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  overflow: hidden;
}

.rfi-results-map-empty {
  position: absolute;
  inset: 1px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.94);
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.rfi-rank-marker {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: var(--rfi-marker-bg, #2563eb);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.rfi-map-popup {
  min-width: 220px;
}

.rfi-map-popup .popup-title {
  margin-bottom: 2px;
  font-weight: 700;
}

.rfi-map-popup .popup-meta {
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 0.8rem;
}

.rfi-row-active {
  background: #eef6ff;
}

.rfi-results-table-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.rfi-results-table-row {
  height: 4.25rem;
}

.rfi-results-table-row > td {
  height: 4.25rem;
  vertical-align: middle;
}

.rfi-not-reviewed-badge {
  background: #f59e0b;
}

.rfi-v2-pipeline-shell {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
}

.rfi-v2-pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rfi-v2-pipeline-subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.8rem;
}

.rfi-v2-meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  color: #46617f;
  background: rgba(236, 242, 249, 0.96);
  border: 1px solid #dce7f3;
}

.rfi-v2-meta-chip.is-lock {
  color: #556679;
  background: #eef2f7;
}

.rfi-v2-pipeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  min-width: 0;
}

.rfi-v2-pipeline-actions .btn {
  white-space: nowrap;
  min-width: 0;
}

.rfi-v2-pipeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
  position: relative;
  padding-top: 0.15rem;
}

.rfi-v2-pipeline-track::before {
  display: none;
}

.rfi-v2-pipeline-step {
  --stage-dot-fill: #ffffff;
  --stage-dot-glyph: transparent;
  --stage-pill-bg: #edf3f9;
  --stage-pill-color: #4a647f;
  --stage-text: #111827;
  --stage-meta: #4b5563;
  --stage-connector-after: #d9e0e8;
  --stage-connector-complete: #5f6b7a;

  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  color: var(--stage-text);
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: opacity 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
}

.rfi-v2-pipeline-step:hover {
  color: #111827;
  opacity: 0.92;
}

.rfi-v2-pipeline-step-marker-row {
  min-height: 1.65rem;
  display: flex;
  align-items: center;
  position: relative;
}

.rfi-v2-pipeline-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--stage-dot-fill);
  border: 0;
  box-shadow: none;
  color: var(--stage-dot-glyph);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.rfi-v2-pipeline-step-marker-row::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  z-index: 1;
  left: 1.45rem;
  right: -1.1rem;
  background: var(--stage-connector-after);
}

.rfi-v2-pipeline-step[data-connector-after="complete"] {
  --stage-connector-after: var(--stage-connector-complete);
}

.rfi-v2-pipeline-step:last-child .rfi-v2-pipeline-step-marker-row::after {
  display: none;
}

.rfi-v2-pipeline-step-copy {
  display: grid;
  gap: 0.35rem;
}

.rfi-v2-pipeline-step-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--stage-text);
}

.rfi-v2-pipeline-step-meta {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.32;
  color: var(--stage-meta);
}

.rfi-v2-pipeline-step-footer {
  padding-top: 0.12rem;
}

.rfi-v2-state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  background: var(--stage-pill-bg, rgba(15, 23, 42, 0.08));
  color: var(--stage-pill-color, #17314f);
  letter-spacing: 0.01em;
  max-width: 100%;
}

.rfi-v2-pipeline-step[data-state="current"] {
  --stage-dot-fill: #7c6cff;
  --stage-dot-glyph: #ffffff;
}

.rfi-v2-pipeline-step[data-state="current"] .rfi-v2-pipeline-step-number {
  box-shadow: 0 0 0 8px rgba(124, 108, 255, 0.18);
}

.rfi-v2-pipeline-step[data-state="done"] {
  --stage-dot-fill: #1caa89;
  --stage-dot-glyph: #ffffff;
  --stage-pill-bg: #d8f3e9;
  --stage-pill-color: #17735d;
}

.rfi-v2-pipeline-step[data-state="attention"] {
  --stage-dot-fill: #fbbf24;
  --stage-dot-glyph: #7c2d12;
  --stage-pill-bg: #fef3c7;
  --stage-pill-color: #92400e;
}

.rfi-v2-pipeline-step[data-state="processing"] {
  --stage-dot-fill: #dff4ff;
  --stage-dot-glyph: #0f5f89;
  --stage-pill-bg: #dff4ff;
  --stage-pill-color: #075985;
}

.rfi-v2-pipeline-step[data-state="ready"] {
  --stage-dot-fill: #d8f5f8;
  --stage-dot-glyph: #0c7380;
  --stage-pill-bg: #d8f5f8;
  --stage-pill-color: #0c7380;
}

.rfi-v2-pipeline-step[data-state="blocked"] {
  --stage-dot-fill: #e8edf3;
  --stage-dot-glyph: transparent;
  --stage-pill-bg: #e7edf4;
  --stage-pill-color: #5a7088;
  --stage-text: #6b7280;
  --stage-meta: #94a3b8;
}

.rfi-v2-pipeline-step[data-state="not_started"] {
  --stage-dot-fill: #eef2f6;
  --stage-dot-glyph: transparent;
  --stage-pill-bg: #ecf2f8;
  --stage-pill-color: #55708b;
  --stage-text: #374151;
  --stage-meta: #6b7280;
}

.rfi-v2-pipeline-step.is-locked {
  --stage-dot-fill: #eef2f5;
  --stage-dot-glyph: transparent;
  --stage-pill-bg: #edf1f5;
  --stage-pill-color: #73879d;
  --stage-text: #7b8da1;
  --stage-meta: #94a3b8;

  color: #6f8297;
  box-shadow: none;
  cursor: not-allowed;
}

.rfi-v2-pipeline-step.is-locked:hover {
  box-shadow: none;
  color: #6f8297;
}

.rfi-v2-pipeline-step.is-locked .rfi-v2-pipeline-step-title,
.rfi-v2-pipeline-step.is-locked .rfi-v2-pipeline-step-meta {
  color: #7b8da1;
}

.rfi-upload-dropzone {
  position: relative;
  overflow: hidden;
  border: 2px dashed #d6dee8;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rfi-upload-icon {
  font-size: 2rem;
}

.rfi-upload-dropzone.is-dragover {
  border-color: #2c7be5;
  transform: translateY(-1px);
}

.rfi-upload-list {
  display: grid;
  gap: 0.75rem;
}

.rfi-upload-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
}

.rfi-upload-meta {
  color: #95aac9;
  font-size: 0.875rem;
}

.rfi-upload-native-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

.rfi-upload-dropzone > :not(.rfi-upload-native-input) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.rfi-upload-status {
  border: 1px solid #e3ebf6;
  border-radius: 0.5rem;
  background: #f9fbfd;
  padding: 0.75rem 1rem;
}

@media (max-width: 1199.98px) {
  .rfi-v2-pipeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .rfi-v2-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rfi-v2-pipeline-head {
    flex-direction: column;
    align-items: stretch;
  }

  .rfi-v2-pipeline-actions {
    width: 100%;
    justify-content: stretch;
  }

  .rfi-v2-pipeline-actions .btn {
    flex: 1 1 calc(50% - 0.55rem);
    text-align: center;
  }

  .rfi-v2-pipeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .rfi-reports-toolbar {
    align-items: stretch !important;
  }

  .rfi-reports-toolbar-copy,
  .rfi-reports-actions {
    width: 100%;
  }

  .rfi-reports-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rfi-reports-actions .btn {
    width: 100%;
  }

  .rfi-report-map-toggle {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .rfi-report-export-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .rfi-report-export-actions .btn {
    width: 100%;
  }

  .rfi-v2-pipeline-track {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 0;
  }

  .rfi-v2-pipeline-track::before {
    display: none;
  }

  .rfi-v2-pipeline-step {
    min-height: auto;
    gap: 0.75rem;
  }

  .rfi-v2-pipeline-actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .rfi-v2-pipeline-step-copy {
    padding-left: 2.1rem;
    margin-top: -0.1rem;
  }

  .rfi-v2-pipeline-step-marker-row::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .rfi-v2-next-callout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .rfi-v2-next-callout-icon,
  .rfi-v2-info-icon {
    display: none;
  }

  .rfi-v2-scope-controls,
  .rfi-v2-evaluate-hero,
  .rfi-v2-evaluate-stat-grid {
    grid-template-columns: 1fr;
  }

  .rfi-v2-evaluate-count {
    width: 100%;
    height: auto;
    min-height: 4rem;
  }

  .rfi-v2-next-callout-action,
  .rfi-v2-next-action,
  .rfi-v2-info-edit {
    width: 100%;
  }

  .rfi-v2-info-panel-header {
    align-items: stretch;
  }

  .rfi-v2-info-grid {
    grid-template-columns: 1fr;
  }

  .rfi-v2-list-card-body {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .rfi-v2-list-card-icon {
    display: none;
  }

  .rfi-v2-list-card-head {
    flex-direction: column;
    gap: 0.75rem;
  }

  .rfi-v2-list-card-rail,
  .rfi-v2-due-card {
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .rfi-v2-top-site-link {
    width: 100%;
  }

  .rfi-v2-list-card-foot .rfi-v2-processing-pill {
    margin-left: 0;
  }

  .rfi-v2-list-card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 379.98px) {
  .rfi-reports-actions,
  .rfi-report-export-actions {
    grid-template-columns: 1fr;
  }
}

/* Dashboard */

.dashboard-preview-page {
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: var(--sh-foreground);
  min-width: 0;
}

.dashboard-preview-shell {
  padding: clamp(0.25rem, 0.8vw, 0.5rem) 0 0;
  min-width: 0;
}

.dashboard-live-shell {
  padding-block: 0 1.75rem;
  min-width: 0;
}

.dashboard-preview-frame {
  width: 100%;
  margin: 0;
  min-width: 0;
}

.app-global-utility-wrap {
  width: 100%;
  margin: 0 auto;
  padding-top: clamp(1rem, 2vw, 1.35rem);
}

.app-global-utility-bar {
  margin-bottom: 1.5rem;
}

.dashboard-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding-bottom: 1rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(var(--sh-border-rgb), 0.7);
}

.dashboard-app-page .dashboard-preview-shell {
  padding-top: 0.4rem;
}

.dashboard-search-form {
  position: relative;
  flex: 1 1 44rem;
  min-width: 0;
  max-width: none;
}

.dashboard-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-muted-foreground);
  pointer-events: none;
}

.dashboard-search-input {
  width: 100%;
  min-width: 0;
  min-height: 3.4rem;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sh-foreground);
  font-size: 1rem;
}

.dashboard-search-input::placeholder {
  color: color-mix(in srgb, var(--sh-muted-foreground) 82%, white);
}

.dashboard-search-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 1050;
  display: none;
  max-height: min(28rem, calc(100vh - 10rem));
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.5rem;
  background: var(--sh-background, #ffffff);
}

.dashboard-search-results.is-open {
  display: block;
}

.dashboard-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--sh-foreground, #0f172a);
  text-align: left;
}

.dashboard-search-result:hover,
.dashboard-search-result.is-active {
  background: rgba(var(--sh-primary-rgb, 44, 123, 229), 0.08);
}

.dashboard-search-result-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.dashboard-search-result-title,
.dashboard-search-empty {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
}

.dashboard-search-result-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sh-muted-foreground, #64748b);
  font-size: 0.78rem;
  line-height: 1.25;
}

.dashboard-search-result-type {
  align-self: center;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 999px;
  color: var(--sh-muted-foreground, #64748b);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-search-empty {
  padding: 0.75rem;
  color: var(--sh-muted-foreground, #64748b);
  font-weight: 500;
}

.dashboard-utility-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.dashboard-utility-action,
.dashboard-utility-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--sh-foreground);
  text-decoration: none;
}

.dashboard-utility-action i {
  color: var(--sh-muted-foreground);
}

.dashboard-utility-action:hover {
  color: var(--sh-muted-foreground);
  border-color: rgba(var(--sh-border-rgb), 0.85);
}

.dashboard-utility-avatar:hover {
  border-color: rgba(var(--sh-border-rgb), 0.85);
}

.dashboard-utility-avatar {
  background: var(--sh-primary);
  color: var(--sh-primary-foreground);
  font-size: 0.92rem;
  font-weight: 600;
}

.dashboard-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.1rem;
}

.dashboard-preview-header .dashboard-preview-eyebrow {
  display: none;
}

.dashboard-preview-eyebrow,
.dashboard-panel-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--sh-muted-foreground);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-preview-title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.dashboard-preview-copy {
  max-width: 42rem;
  margin: 0.9rem 0 0;
  color: var(--sh-muted-foreground);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dashboard-preview-badge,
.dashboard-preview-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--sh-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.dashboard-preview-badge {
  padding: 0.65rem 1rem;
}

.dashboard-preview-chip {
  padding: 0.5rem 0.85rem;
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.dashboard-preview-grid > *,
.dashboard-preview-middle-grid > *,
.dashboard-preview-content-grid > *,
.dashboard-market-grid > * {
  min-width: 0;
}

.dashboard-stat-card,
.dashboard-panel,
.dashboard-preview-empty {
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.dashboard-stat-card {
  --dashboard-stat-icon-rgb: var(--sh-primary-rgb);
  --dashboard-stat-icon-strong: var(--sh-primary);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  min-height: 8.75rem;
  padding: 1.5rem 1.65rem;
  background: #ffffff;
  box-shadow: none;
}

a.dashboard-stat-card {
  color: inherit;
  text-decoration: none;
}

.dashboard-stat-label {
  margin: 0.35rem 0 0;
  color: #101d36;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.dashboard-stat-value {
  margin: 0;
  color: #0b1733;
  font-size: clamp(1.2rem, 1.65vw, 1.46rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.dashboard-stat-head {
  min-width: 0;
}

.dashboard-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border: 0;
  border-radius: 0.85rem;
  background: rgba(var(--dashboard-stat-icon-rgb), 0.075);
  color: var(--dashboard-stat-icon-strong);
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.dashboard-stat-meta {
  margin: 0.75rem 0 0;
  color: #6d7485;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

.dashboard-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.05rem;
  width: fit-content;
  color: var(--sh-muted-foreground);
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.dashboard-stat-trend i {
  font-size: 0.78rem;
  line-height: 1;
}

.dashboard-stat-trend-value {
  font-variant-numeric: tabular-nums;
}

.dashboard-stat-trend-label {
  font-weight: 500;
  color: color-mix(in srgb, currentColor 78%, white);
}

.dashboard-stat-trend.is-positive {
  color: #22c55e;
}

.dashboard-stat-trend.is-negative {
  color: #ef4444;
}

.dashboard-stat-trend.is-neutral {
  color: var(--sh-muted-foreground);
}

.dashboard-stat-card-muted {
  background: rgba(var(--sh-primary-rgb), 0.04);
}

.dashboard-stat-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: -0.1rem;
}

.dashboard-stat-stack strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dashboard-stat-stack span {
  color: var(--sh-muted-foreground);
  font-size: 0.88rem;
}

.dashboard-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.dashboard-inline-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--sh-foreground);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.dashboard-inline-action:hover {
  color: var(--sh-primary-hover);
  border-color: rgba(var(--sh-primary-rgb), 0.2);
}

.dashboard-preview-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
}

.dashboard-preview-middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: stretch;
}

.dashboard-panel {
  padding: 1.5rem;
  min-width: 0;
}

.dashboard-quick-actions {
  padding: 1.35rem;
  box-shadow: none;
}

.dashboard-quick-actions-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  min-width: 0;
}

.dashboard-quick-actions-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--sh-primary);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.dashboard-quick-actions-heading h2 {
  margin: 0;
  color: #0b1733;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.dashboard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  margin-bottom: 1.25rem;
}

.dashboard-panel-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dashboard-site-list,
.dashboard-type-list {
  display: grid;
  gap: 0.9rem;
}

.dashboard-site-row,
.dashboard-type-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.8);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
}

.dashboard-site-name,
.dashboard-type-name {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 600;
}

.dashboard-site-main {
  min-width: 0;
}

.dashboard-site-preview {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  height: 3.25rem;
  overflow: hidden;
  border: 1px solid rgba(var(--sh-border-rgb), 0.85);
  border-radius: 0.45rem;
  background: rgba(var(--sh-muted-rgb), 0.55);
}

.dashboard-site-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-site-preview.is-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sh-muted-foreground);
  font-size: 1rem;
}

.dashboard-site-meta {
  margin-top: 0.25rem;
  color: var(--sh-muted-foreground);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.dashboard-site-status {
  flex-shrink: 0;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.dashboard-site-status.is-active {
  background: rgba(var(--sh-success-rgb), 0.12);
  color: #166534;
}

.dashboard-site-status.is-archived {
  background: rgba(var(--sh-destructive-rgb), 0.1);
  color: #991b1b;
}

.dashboard-task-list {
  display: grid;
  gap: 0.9rem;
}

.dashboard-quick-actions .dashboard-task-list {
  gap: 0.65rem;
}

.dashboard-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.8);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-quick-actions .dashboard-task-row {
  flex-direction: row;
  align-items: center;
  gap: 0.95rem;
  min-height: 4.6rem;
  padding: 0.85rem 0.9rem;
  border-color: rgba(var(--sh-border-rgb), 0.78);
  background: #ffffff;
  box-shadow: none;
}

.dashboard-task-link {
  color: inherit;
  text-decoration: none;
}

.dashboard-task-link:hover {
  color: var(--sh-primary-hover);
  border-color: rgba(var(--sh-primary-rgb), 0.2);
}

.dashboard-quick-actions .dashboard-task-link:hover {
  background: rgba(var(--sh-primary-rgb), 0.035);
  color: inherit;
  border-color: rgba(var(--sh-primary-rgb), 0.24);
}

.dashboard-task-copy {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 0.2rem;
}

.dashboard-task-name {
  display: block;
  overflow: hidden;
  color: #0b1733;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-task-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.dashboard-task-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.65rem;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb), 0.075);
  color: var(--sh-primary);
  font-size: 1.2rem;
  line-height: 1;
}

.dashboard-task-link:hover .dashboard-task-icon {
  background: rgba(var(--sh-primary-rgb), 0.14);
}

.dashboard-task-meta {
  display: block;
  overflow: hidden;
  margin: 0;
  color: var(--sh-muted-foreground);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-task-accessory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  color: rgba(var(--sh-foreground-rgb), 0.48);
  font-size: 1rem;
  line-height: 1;
}

.dashboard-task-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.45rem;
  border-radius: 0.4rem;
  background: rgba(var(--sh-primary-rgb), 0.08);
  color: var(--sh-primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.dashboard-activity-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.dashboard-recent-activity {
  min-width: 0;
  padding: 1.35rem;
  background: #ffffff;
  box-shadow: none;
}

.dashboard-portal-traffic {
  min-width: 0;
  padding: 1.35rem;
  background: #ffffff;
  box-shadow: none;
}

.dashboard-activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
  margin-bottom: 1.15rem;
}

.dashboard-activity-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.dashboard-activity-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--sh-primary);
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.dashboard-activity-head h2 {
  margin: 0;
  color: #0b1733;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.dashboard-activity-view-all {
  flex-shrink: 0;
  color: var(--sh-primary);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.dashboard-activity-view-all:hover {
  color: var(--sh-primary-hover);
}

.dashboard-activity-list {
  display: grid;
  gap: 0.72rem;
}

.dashboard-activity-row {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  min-height: 4.6rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 0.5rem;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}

.dashboard-activity-row:hover {
  border-color: rgba(var(--sh-primary-rgb), 0.24);
  background: rgba(var(--sh-primary-rgb), 0.035);
  color: inherit;
}

.dashboard-activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.5rem;
  background: rgba(var(--sh-primary-rgb), 0.075);
  color: var(--sh-primary);
  font-size: 1.2rem;
  line-height: 1;
}

.dashboard-activity-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.dashboard-activity-title {
  display: block;
  overflow: hidden;
  color: #0b1733;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-activity-meta {
  display: block;
  overflow: hidden;
  color: var(--sh-muted-foreground);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-activity-time {
  align-self: start;
  flex-shrink: 0;
  max-width: 4.75rem;
  overflow: hidden;
  color: var(--sh-muted-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-activity-empty {
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 0.5rem;
  color: var(--sh-muted-foreground);
  font-size: 0.86rem;
  font-weight: 500;
}

.dashboard-portal-traffic-icon {
  color: var(--sh-primary);
}

.dashboard-portal-traffic-status {
  flex-shrink: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(var(--sh-primary-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--sh-primary-rgb), 0.08);
  color: var(--sh-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.dashboard-portal-traffic-chart {
  display: grid;
  gap: 0.7rem;
  grid-template-rows: 8rem auto;
  padding: 1rem 1rem 0.75rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.78);
  border-radius: 0.5rem;
  background:
    linear-gradient(
      to top,
      rgba(var(--sh-border-rgb), 0.36) 1px,
      transparent 1px
    )
    0 0 / 100% 25%,
    rgba(var(--sh-muted-rgb), 0.18);
}

.dashboard-portal-traffic-plot {
  position: relative;
  height: 8rem;
  min-height: 0;
  overflow: hidden;
}

.dashboard-portal-traffic-bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
}

.dashboard-portal-traffic-trend {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.dashboard-portal-traffic-trend polyline {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0.12rem 0.2rem rgba(15, 23, 42, 0.22));
  vector-effect: non-scaling-stroke;
}

.dashboard-portal-traffic-bars span {
  display: block;
  justify-self: center;
  width: min(42%, 1.15rem);
  height: var(--bar-height);
  min-height: var(--bar-min-height, 0);
  border-radius: 0.38rem 0.38rem 0 0;
  background: linear-gradient(
    180deg,
    rgba(var(--sh-primary-rgb), 0.92) 0%,
    rgba(var(--sh-primary-rgb), 0.62) 100%
  );
  box-shadow: 0 0.45rem 1rem rgba(var(--sh-primary-rgb), 0.16);
}

.dashboard-portal-traffic-axis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
  color: rgba(var(--sh-foreground-rgb), 0.46);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.dashboard-portal-visitor-log {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.85rem;
}

.dashboard-portal-visitor-log-head,
.dashboard-portal-visitor-row {
  display: grid;
  grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.25fr) minmax(5.6rem, 0.65fr);
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.dashboard-portal-visitor-log-head {
  color: rgba(var(--sh-foreground-rgb), 0.42);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-portal-visitor-log-head span:last-child {
  justify-self: end;
}

.dashboard-portal-visitor-row {
  min-height: 2.75rem;
  padding: 0.58rem 0.7rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  border-radius: 0.45rem;
  background: rgba(var(--sh-muted-rgb), 0.16);
  color: rgba(var(--sh-foreground-rgb), 0.56);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}

.dashboard-portal-visitor-row span,
.dashboard-portal-visitor-row time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-portal-visitor-row time {
  justify-self: end;
  color: rgba(var(--sh-foreground-rgb), 0.48);
  text-align: right;
}

.dashboard-portal-visitor-site {
  color: rgba(var(--sh-foreground-rgb), 0.5);
}

.dashboard-panel.dashboard-map-section {
  display: flex;
  min-height: 20rem;
  overflow: hidden;
  padding: 0;
  border-radius: 0.5rem;
}

.dashboard-map-card {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  min-width: 0;
  border: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.72);
  min-height: 20rem;
  padding: 0;
}

.dashboard-map-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0;
  margin-top: 0.8rem;
  pointer-events: auto;
  z-index: 2;
}

.dashboard-map-head {
  margin-bottom: 1.25rem;
}

.dashboard-map-filter {
  min-height: 1.75rem;
  padding: 0.2rem 0.62rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.4rem;
  position: relative;
  background: #fff;
  color: var(--sh-muted-foreground);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  z-index: 3;
}

.dashboard-map-filter.is-active {
  border-color: rgba(var(--sh-primary-rgb), 0.28);
  background: #eff6ff;
  color: #2563eb;
}

.dashboard-map-canvas {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
}

.dashboard-map-canvas img[src*="maps.gstatic.com"],
.dashboard-map-canvas img[src*="maps.googleapis.com"] {
  max-width: none;
}

.dashboard-map-site-name-popup {
  position: absolute;
  transform: translate(-50%, calc(-100% - 0.65rem));
  pointer-events: none;
  max-width: 14rem;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.9);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.45rem 0.9rem rgba(15, 23, 42, 0.14);
  color: var(--sh-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  z-index: 3;
}

.dashboard-map-legend {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: grid;
  gap: 0.4rem;
  max-width: min(15rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  overflow: hidden auto;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.88);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.55rem 1rem rgba(15, 23, 42, 0.12);
  pointer-events: none;
  z-index: 2;
}

.dashboard-map-legend:empty {
  display: none;
}

.dashboard-map-legend-item {
  display: grid;
  grid-template-columns: 0.65rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.dashboard-map-legend-swatch {
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.dashboard-map-legend-label {
  overflow: hidden;
  color: var(--sh-foreground);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--sh-muted-foreground);
  font-size: 0.98rem;
  text-align: center;
  background:
    #fff;
  z-index: 1;
  border-radius: inherit;
}

.dashboard-type-main {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.dashboard-type-bar {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(var(--sh-primary-rgb), 0.08);
}

.dashboard-type-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--sh-primary);
}

.dashboard-type-count {
  font-size: 0.95rem;
  font-weight: 600;
}

.dashboard-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.dashboard-market-card {
  padding: 1rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.8);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
}

.dashboard-market-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sh-muted-foreground);
  font-size: 0.83rem;
  font-weight: 500;
}

.dashboard-market-card strong {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dashboard-preview-empty {
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.dashboard-preview-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(var(--sh-primary-rgb), 0.08);
  color: var(--sh-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.dashboard-preview-empty h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.dashboard-preview-empty p,
.dashboard-empty-copy {
  color: var(--sh-muted-foreground);
}

.dashboard-preview-empty-metrics {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.dashboard-preview-primary-action {
  margin-top: 1.5rem;
  min-width: 12rem;
  min-height: 3.25rem;
  border-radius: 0.9rem;
}

.workspace-site-record-page {
  gap: 1.35rem;
  min-width: 0;
}

.workspace-site-record-page > *,
.workspace-site-record-shell,
.workspace-site-edit-header-block,
.workspace-site-record-nav {
  min-width: 0;
  max-width: 100%;
}

.workspace-site-record-shell {
  margin-top: -0.15rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.workspace-site-record-shell .workspace-panel-header {
  padding: 0;
}

.workspace-site-record-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
}

.workspace-site-record-title-fixed {
  font-size: 1.75rem;
  line-height: 1.12;
}

.workspace-site-record-address {
  margin-top: 0.4rem;
  color: rgba(var(--sh-foreground-rgb), 0.68);
  font-size: 1rem;
  line-height: 1.55;
}

.workspace-site-record-nav {
  margin-top: 1.15rem;
}

.workspace-site-record-nav.sitehunt-tab-list {
  margin-top: 1.15rem;
  display: inline-flex;
  flex-wrap: wrap;
  width: auto;
  max-width: 100%;
  padding: 0.2rem;
  border: 1px solid var(--sitehunt-site-shell-border);
  border-radius: 0.5rem;
  background: var(--marketing-hub-surface-bg);
  box-shadow: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.workspace-site-record-nav .sitehunt-tab-trigger.is-active,
.workspace-site-record-nav .sitehunt-tab-trigger[data-state='active'] {
  background: var(--sitehunt-site-shell-bg);
}

.workspace-site-workflow-nav {
  margin-top: 0;
}

.workspace-site-status-panel,
.workspace-site-utility-panel {
  padding-block: 1.15rem;
}

.workspace-site-workflow-tabs-panel {
  padding: 0;
}

.workspace-site-status-message,
.workspace-site-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.workspace-site-stage-list {
  display: grid;
  gap: 1rem;
}

.workspace-site-stage {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) minmax(16rem, 24%) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.72);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
}

.workspace-site-stage-link-card {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) minmax(16rem, 24%);
  width: 100%;
  min-width: 0;
  align-items: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.workspace-site-stage-link-card:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(var(--sh-border-rgb), 0.88);
  transform: translateY(-1px);
}

.workspace-site-stage-link-card:focus-visible {
  outline: 2px solid var(--sh-ring);
  outline-offset: 2px;
}

.workspace-site-stage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(var(--sh-muted-rgb), 0.55);
  color: rgba(var(--sh-foreground-rgb), 0.72);
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.workspace-site-stage-copy {
  min-width: 0;
}

.workspace-site-stage:first-child {
  margin-top: 0;
}

.workspace-site-stage:last-child {
  margin-bottom: 0;
}

.workspace-site-stage-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgb(var(--sh-foreground-rgb));
  min-width: 0;
}

.workspace-site-workflow-tabs-panel > .workspace-site-stage-list:first-child .workspace-site-stage-title {
  font-size: 1.05rem;
}

.workspace-site-stage-list .workspace-site-stage-title {
  font-size: 1.02rem;
}

.workspace-site-stage-link {
  color: inherit;
  text-decoration: none;
}

.workspace-site-stage-link:hover {
  color: rgb(var(--sh-foreground-rgb));
}

.workspace-site-stage-description {
  color: rgba(var(--sh-foreground-rgb), 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  min-width: 0;
}

.workspace-site-workflow-tabs-panel > .workspace-site-stage-list:first-child .workspace-site-stage-description {
  font-size: 0.9rem;
  line-height: 1.45;
}

.workspace-site-stage-list .workspace-site-stage-description {
  font-size: 0.9rem;
  line-height: 1.45;
}

.workspace-site-stage-progress {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-self: end;
}

.workspace-site-progress {
  width: 100%;
  height: 1.8rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(var(--sh-muted-rgb), 0.4);
}

.workspace-site-progress .progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
}

.workspace-site-stage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-height: 0;
}

.workspace-site-stage-copy > .d-flex {
  align-items: center;
  min-height: 1.5rem;
}

.workspace-site-stage-copy > .d-flex + .workspace-site-stage-description {
  margin-top: 0.15rem;
}

.workspace-site-stage-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
}

.workspace-site-stage-actions .btn,
.workspace-site-inline-actions .btn,
.workspace-site-utility-row .btn {
  min-height: 2.6rem;
  border-radius: 0.5rem;
}

.workspace-site-visibility-toggle {
  color: rgba(var(--sh-foreground-rgb), 0.52);
  text-decoration: none;
  padding-top: 0.1rem;
}

.workspace-site-visibility-toggle:hover {
  color: rgb(var(--sh-foreground-rgb));
}

.workspace-site-form {
  width: 100%;
}

.workspace-site-form .form-control,
.workspace-site-form .form-select,
.workspace-site-form textarea,
.workspace-site-form .choices__inner {
  min-height: 2.6rem;
  border-radius: 0.5rem;
}

.workspace-site-form textarea {
  min-height: 10rem;
}

.workspace-site-form .form-group,
.workspace-site-form .mb-3,
.workspace-site-form .controls,
.workspace-site-form .control-group,
.workspace-site-form .form-row {
  margin-bottom: 1.85rem;
}

.workspace-site-form .workspace-site-field-tight {
  margin-bottom: 0.15rem;
}

.workspace-site-form .workspace-site-field-tight .mb-3,
.workspace-site-form .workspace-site-field-tight .form-group,
.workspace-site-form .workspace-site-field-tight .controls,
.workspace-site-form .workspace-site-field-tight .control-group {
  margin-bottom: 0.35rem;
}

.workspace-site-form .form-actions {
  width: 100%;
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
}

.workspace-site-form .form-actions .btn,
.workspace-site-form input[type="submit"] {
  border-radius: 0.5rem;
}

.workspace-site-form input[type="submit"] {
  display: block;
  margin-left: auto;
}

.workspace-site-description-label {
  font-size: 15px;
}

.workspace-site-edit-panel-header {
  align-items: flex-start;
  gap: 1rem;
}

.workspace-site-edit-panel-header .workspace-page-actions {
  margin-left: auto;
}

.workspace-site-edit-panel-header .workspace-panel-title {
  font-size: 24px;
  line-height: 1.1;
}

.workspace-site-edit-panel-body {
  padding: 1.35rem;
}

.workspace-site-edit-top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -0.25rem;
}

.workspace-site-edit-header-block {
  width: 100%;
}

.workspace-site-edit-header-block .workspace-site-record-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0;
}

.workspace-site-edit-header-block .workspace-site-record-copy {
  width: 100%;
}

.workspace-site-edit-header-block .workspace-site-record-top .workspace-site-record-copy {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.workspace-site-edit-header-block .workspace-site-record-top .workspace-page-actions {
  flex: 0 0 auto;
  margin-left: auto;
  z-index: 1;
}

.workspace-site-edit-header-block .workspace-site-record-address {
  margin-top: 0.2rem;
}

.workspace-site-edit-header-block .workspace-site-record-nav {
  margin-top: 0.85rem;
}

.workspace-site-record-header-panel .workspace-panel-header {
  align-items: flex-start;
}

.answers-shell {
  gap: 1.5rem;
}

.answers-overview-shell {
  overflow: hidden;
}

.answers-overview-shell .answers-view {
  padding: 0;
}

.answers-overview-shell .overview-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1.35rem;
}

.answers-site-record-copy {
  margin-bottom: 0;
}

.answers-site-record-divider {
  margin: 1rem -1.35rem 1.35rem;
  border-top: 1px solid rgba(var(--sh-border-rgb), 0.65);
}

.answers-overview-shell .overview-hero {
  gap: 1.35rem;
}

.answers-overview-shell .overview-meta-header {
  align-items: flex-start;
  gap: 1rem;
}

.answers-overview-shell .overview-type {
  margin-bottom: 0.4rem;
}

.answers-overview-shell .overview-facts {
  margin-top: 0.95rem;
}

.workspace-site-edit-panel-body .workspace-site-form,
.workspace-site-edit-panel-body .workspace-site-status-message {
  margin: 0;
}

.workspace-site-edit-panel-body .workspace-site-inline-actions {
  justify-content: flex-end;
}

.workspace-question-panel-header {
  align-items: center;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(var(--sh-border-rgb), 0.72);
}

.workspace-answer-question-page,
.workspace-category-questions-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.workspace-question-response-panel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.workspace-question-site-panel,
.workspace-question-main-card,
.workspace-question-aside {
  width: 100%;
  min-width: 0;
}

.workspace-answer-question-page .workspace-site-edit-header-block .workspace-site-record-top .workspace-site-record-copy {
  padding-right: 7rem;
}

.workspace-answer-question-page .workspace-site-header-back-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  white-space: nowrap;
}

.workspace-question-response-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
}

.workspace-site-create-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.workspace-site-create-header-card {
  margin-bottom: 0;
}

.workspace-site-create-body {
  align-items: start;
}

.workspace-site-create-form .form-text,
.workspace-site-create-form .help-block {
  color: rgba(var(--sh-foreground-rgb), 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.workspace-site-create-type-list {
  display: grid;
  gap: 0;
  padding: 0;
}

.workspace-site-create-type-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid rgba(var(--sh-border-rgb), 0.62);
}

.workspace-site-create-type-item:last-child {
  border-bottom: 0;
}

.workspace-site-create-type-item i {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(var(--sh-border-rgb), 0.74);
  border-radius: 0.5rem;
  color: rgba(var(--sh-foreground-rgb), 0.72);
  background: rgba(var(--sh-muted-rgb), 0.28);
}

.workspace-site-create-type-item h3 {
  margin: 0 0 0.25rem;
  color: rgb(var(--sh-foreground-rgb));
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.workspace-site-create-type-item p {
  margin: 0;
  color: rgba(var(--sh-foreground-rgb), 0.64);
  font-size: 0.9rem;
  line-height: 1.45;
}

.workspace-question-main,
.workspace-question-aside {
  min-width: 0;
}

.workspace-question-aside {
  align-self: start;
  overflow: hidden;
}

.workspace-question-aside .workspace-site-accordion .accordion-item:last-of-type {
  border-bottom: 0;
}

.workspace-question-aside-header {
  padding: 1.1rem 1.2rem 0.95rem;
}

.workspace-question-panel-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.workspace-question-combined-title {
  font-size: 1.1rem;
  line-height: 1.08;
}

.workspace-question-category-name {
  font-weight: 600;
}

.workspace-question-category-link {
  color: rgb(var(--sh-primary-rgb));
  text-decoration: none;
  font-weight: 600;
}

.workspace-question-category-link:hover,
.workspace-question-category-link:focus {
  color: var(--sh-primary-hover);
  text-decoration: none;
}

.workspace-question-position {
  font-weight: 400;
  color: rgba(var(--sh-foreground-rgb), 0.72);
}

.workspace-question-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.workspace-question-panel-actions .btn {
  min-width: 2.6rem;
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workspace-question-panel-body {
  padding: 1.35rem;
}

.workspace-question-prompt {
  margin: 0 0 2rem;
  color: rgba(var(--sh-foreground-rgb), 0.72);
  font-size: 17.6px;
  line-height: 1.55;
}

.workspace-question-prompt + .workspace-question-form-section {
  margin-top: 1rem;
}

.workspace-question-form-section {
  display: grid;
  gap: 1.75rem;
  padding-top: 0.9rem;
}

.workspace-question-form {
  margin: 0;
}

.workspace-question-form .form-control,
.workspace-question-form .form-select,
.workspace-question-form textarea,
.workspace-question-form .choices__inner,
.workspace-question-form .choices__item {
  font-size: 15px;
}

.workspace-question-form .form-check,
.workspace-question-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  min-height: 1.5rem;
}

.workspace-question-form .form-check-input[type='checkbox'],
.workspace-question-form .form-check-input[type='radio'],
.workspace-question-form input[type='checkbox'][name='answer'],
.workspace-question-form input[type='radio'][name='answer'] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex: 0 0 1.15rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.92);
  border-radius: 0.35rem;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  box-shadow: none;
}

.workspace-question-form .form-check-input[type='checkbox']::before,
.workspace-question-form .form-check-input[type='radio']::before,
.workspace-question-form input[type='checkbox'][name='answer']::before,
.workspace-question-form input[type='radio'][name='answer']::before {
  content: "";
  width: 0.35rem;
  height: 0.72rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 120ms ease;
}

.workspace-question-form .form-check-input[type='checkbox']:checked,
.workspace-question-form .form-check-input[type='radio']:checked,
.workspace-question-form input[type='checkbox'][name='answer']:checked {
  background: #1f2329;
  border-color: #1f2329;
}

.workspace-question-form .form-check-input[type='checkbox']:checked::before,
.workspace-question-form .form-check-input[type='radio']:checked::before,
.workspace-question-form input[type='checkbox'][name='answer']:checked::before,
.workspace-question-form input[type='radio'][name='answer']:checked::before {
  transform: rotate(45deg) scale(1);
}

.workspace-question-form .form-check-label,
.workspace-question-form .checkbox label {
  margin: 0;
  color: rgb(var(--sh-foreground-rgb));
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}

.workspace-question-form > :first-child {
  margin-top: 0;
}

.workspace-question-form-footer {
  margin-top: 1.9rem;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 0;
  border-top: 0;
}

.workspace-question-submit-action {
  min-height: 2.6rem;
  padding-block: 0.45rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.workspace-question-generate-action {
  min-height: 2.6rem;
  padding-block: 0.45rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.workspace-question-help-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workspace-question-help-form .workspace-question-generate-action {
  align-self: flex-end;
  margin-top: 0;
}

.workspace-question-form-footer {
  justify-content: flex-end !important;
}

.workspace-question-nav-action {
  display: inline-flex;
  align-items: center;
}

.workspace-question-nav-label {
  display: inline;
}

.workspace-site-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.workspace-site-form-panel {
  padding: 1rem 0 1.5rem;
}

.workspace-site-accordion .accordion-item {
  border-inline: 0;
  border-bottom: 1px solid rgba(var(--sh-foreground-rgb), 0.07);
  background: transparent;
}

.workspace-site-accordion .accordion-item + .accordion-item {
  border-top: 1px solid rgba(var(--sh-foreground-rgb), 0.06);
}

.workspace-site-accordion .accordion-item:last-of-type {
  border-bottom: 0;
}

.workspace-site-accordion .accordion-button {
  font-size: 0.925rem;
  font-weight: 500;
  background-color: transparent;
  box-shadow: none;
  color: rgb(var(--sh-foreground-rgb));
  padding: 0.9rem 1.2rem;
  border-radius: 0;
  border: 0;
  position: relative;
  min-height: 3.85rem;
}

.workspace-site-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(var(--sh-primary-rgb), 0.09);
  box-shadow: none;
  color: rgb(var(--sh-foreground-rgb));
  border-bottom: 1px solid var(--bs-card-outline-color);
}

.workspace-site-accordion .accordion-button:hover,
.workspace-site-accordion .accordion-button:focus {
  background-color: rgba(var(--sh-primary-rgb), 0.06);
  color: rgb(var(--sh-foreground-rgb));
  box-shadow: none;
}

.workspace-site-accordion .accordion-button::after {
  opacity: 0.72;
}

.workspace-site-accordion .accordion-button::before {
  display: none;
}

.workspace-site-accordion .accordion-collapse {
  border-top: 0;
}

.workspace-site-accordion .accordion-body {
  padding: 1rem 1.2rem 1.15rem;
  background: transparent;
  color: rgb(var(--sh-foreground-rgb));
}

.workspace-site-accordion .accordion-body *,
.workspace-site-accordion .accordion-body a {
  color: rgb(var(--sh-foreground-rgb));
}

.workspace-site-bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.workspace-site-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.workspace-site-bullet-item > i {
  margin-top: 0.2rem;
  color: rgb(var(--sh-primary-rgb));
  flex: 0 0 auto;
}

.workspace-site-bullet-item > span {
  min-width: 0;
}

.workspace-question-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.55rem;
  padding: 0 0.25rem;
  vertical-align: middle;
  border-radius: 0.25rem;
  background: #1f2329;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.workspace-site-history-list {
  padding-left: 1rem;
  color: rgba(var(--sh-foreground-rgb), 0.74);
}

.workspace-site-question-table td,
.workspace-site-question-table th {
  vertical-align: middle;
}

.workspace-site-question-panel-header {
  align-items: center;
  padding: 1.35rem 1.35rem 1rem;
}

.workspace-site-question-panel-header .workspace-panel-title {
  font-size: 1.5rem;
  line-height: 1.1;
}

.workspace-site-question-panel-header .workspace-page-actions {
  align-self: center;
}

.workspace-site-question-table-wrap {
  padding: 0;
}

.workspace-category-questions-panel {
  width: 100%;
  overflow: hidden;
}

.workspace-category-questions-panel .workspace-site-edit-panel-body {
  min-width: 0;
}

.workspace-category-question-table-wrap,
.workspace-category-question-table-wrap .table-responsive,
.workspace-category-question-table-wrap .workspace-site-question-table-shell {
  width: 100%;
  min-width: 0;
}

.workspace-site-question-table-wrap + .workspace-site-question-table-wrap {
  margin-top: 0;
}

.workspace-category-question-table {
  width: 100%;
  margin-bottom: 0;
  table-layout: fixed;
}

.workspace-site-question-table-category th:nth-child(1),
.workspace-site-question-table-category td:nth-child(1) {
  width: 3.25rem;
}

.workspace-site-question-visibility-cell {
  width: 5%;
  padding-left: 1.35rem !important;
  padding-right: 0.45rem !important;
  text-align: center;
}

.workspace-site-question-visibility-cell .workspace-site-visibility-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  min-width: 1rem;
}

.workspace-site-question-table-category th:nth-child(2),
.workspace-site-question-table-category td:nth-child(2) {
  width: 46%;
}

.workspace-site-question-table-category th:nth-child(3),
.workspace-site-question-table-category td:nth-child(3) {
  width: 49%;
}

.workspace-site-question-table-category th,
.workspace-site-question-table-category td,
.workspace-site-question-table-category .workspace-site-question-cell-link {
  font-size: 0.9375rem;
}

.workspace-site-question-table-category thead th {
  border-top: 0 !important;
}

.workspace-site-question-table-category thead th:first-child .workspace-sort-link,
.workspace-site-question-table-category tbody td:first-child .workspace-row-link {
  padding-left: 0;
}

.workspace-site-question-table-category thead th:nth-child(2),
.workspace-site-question-table-category tbody td:nth-child(2) {
  padding-left: 0.8rem;
}

.workspace-site-question-cell-link {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 0.2rem 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.workspace-site-question-cell-link:hover,
.workspace-site-question-cell-link:focus {
  color: inherit;
  text-decoration: none;
}

.workspace-site-question-table-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.workspace-site-question-answer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.45;
}

.workspace-site-question-text-link {
  color: inherit;
  text-decoration: none;
}

.workspace-site-question-text-link:hover,
.workspace-site-question-text-link:focus {
  color: inherit;
  text-decoration: none;
}

.workspace-site-question-title-link {
  color: inherit;
  text-decoration: none;
}

.workspace-site-question-title-link:hover,
.workspace-site-question-title-link:focus {
  color: inherit;
  text-decoration: none;
}

.workspace-site-question-answer-link:hover {
  color: inherit;
  text-decoration: none;
}

.workspace-site-document-preview {
  padding-top: 0.5rem;
}

.workspace-dropzone-panel {
  border: 1px dashed rgba(var(--sh-border-rgb), 0.9) !important;
  border-radius: 0.5rem !important;
  background: rgba(var(--sh-muted-rgb), 0.36);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.workspace-document-table td {
  vertical-align: middle;
}

.workspace-document-media {
  width: 5.5rem;
}

.workspace-document-thumb {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  background: #fff;
}

.workspace-document-type-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--sh-border-rgb), 0.68);
  background: rgba(var(--sh-muted-rgb), 0.5);
  color: var(--sh-muted-foreground);
  font-size: 1.15rem;
}

.workspace-document-table .workspace-row-title {
  font-weight: 500;
}

.workspace-note-list {
  display: grid;
  gap: 1rem;
}

.workspace-note-card {
  position: relative;
  border: 1px solid rgba(var(--sh-border-rgb), 0.92);
  border-radius: 0.5rem;
  background: rgb(var(--sh-card-rgb));
}

.workspace-note-card.is-archived {
  background: rgba(var(--sh-muted-rgb), 0.4);
}

.workspace-note-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem;
}

.workspace-note-card-copy {
  color: rgb(var(--sh-foreground-rgb));
}

.workspace-note-card-copy p:last-child {
  margin-bottom: 0;
}

.workspace-note-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.workspace-note-card-meta .workspace-note-meta-byline {
  margin-right: auto;
}

.workspace-note-card-meta .workspace-row-link {
  flex-shrink: 0;
  margin-left: auto;
}

.workspace-empty-state {
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(var(--sh-foreground-rgb), 0.65);
}

@media (max-width: 575.98px) {
  .login-card-field-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-card-footer {
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .workspace-site-edit-header-block .workspace-site-record-top {
    display: grid;
    gap: 0.85rem;
  }

  .workspace-site-edit-header-block .workspace-site-record-top .workspace-page-actions {
    margin-left: 0;
    justify-items: start;
  }

  .workspace-question-response-body {
    grid-template-columns: 1fr;
  }

  .workspace-site-stage-link-card {
    grid-template-columns: 2rem minmax(0, 1fr) minmax(7rem, 13%);
    gap: 0.7rem 0.9rem;
  }

  .workspace-site-stage-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }

  .workspace-note-card-meta {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .workspace-note-card-body {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-middle-grid,
  .dashboard-preview-content-grid,
  .dashboard-activity-strip,
  .dashboard-market-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-preview-header {
    flex-direction: column;
  }

  .dashboard-utility-bar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .dashboard-search-form {
    flex: 1 1 24rem;
    max-width: none;
  }

  .dashboard-utility-actions {
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 575.98px) {
  .dashboard-activity-row {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .dashboard-activity-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .dashboard-activity-time {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .dashboard-portal-visitor-log-head,
  .dashboard-portal-visitor-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
  }

  .dashboard-portal-visitor-log-head span:last-child,
  .dashboard-portal-visitor-row time {
    justify-self: start;
    text-align: left;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .workspace-site-stage-link-card {
    grid-template-columns: 2rem minmax(0, 1fr) minmax(13rem, 22%);
    gap: 0.7rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .workspace-site-record-title-fixed {
    font-size: 1.4rem;
  }

  .workspace-site-record-top {
    padding-bottom: 0.3rem;
  }

  .workspace-site-edit-header-block .workspace-site-record-top {
    display: grid;
    gap: 0.85rem;
    padding-bottom: 0;
  }

  .workspace-site-edit-header-block .workspace-site-record-top .workspace-site-record-copy {
    padding-right: 0;
  }

  .workspace-site-edit-header-block .workspace-site-record-top .workspace-page-actions {
    position: static;
    justify-items: start;
  }

  .workspace-site-record-nav {
    overflow-x: auto;
    white-space: nowrap;
  }

  .workspace-site-edit-top-actions {
    margin-bottom: 0;
  }

  .workspace-site-stage-link-card {
    grid-template-columns: 1.9rem minmax(0, 1fr) minmax(5.5rem, 6.75rem);
    gap: 0.6rem 0.75rem;
    padding: 0.95rem 1rem;
  }

  .workspace-site-stage-icon {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.8rem;
  }

  .workspace-site-inline-actions {
    width: 100%;
  }

  .workspace-site-inline-actions .btn {
    width: 100%;
  }

  .workspace-question-panel-header {
    align-items: flex-start;
    gap: 1rem;
  }

  .workspace-question-panel-actions {
    gap: 0.5rem;
  }

  .workspace-question-nav-action .workspace-question-nav-label {
    display: none;
  }

  .workspace-question-nav-action {
    width: 2.6rem;
    min-width: 2.6rem;
    flex: 0 0 2.6rem;
    justify-content: center;
    padding-inline: 0;
  }

  .dashboard-preview-shell {
    padding-top: 0.25rem;
  }

  .dashboard-preview-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel,
  .dashboard-map-section {
    padding: 1.15rem;
  }

  .dashboard-panel-head,
  .dashboard-map-head {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-chart-canvas-wrap {
    --bs-chart-height: 17rem;
    width: min(100%, 18rem);
  }

  .dashboard-site-row,
  .dashboard-type-row,
  .dashboard-task-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-site-status,
  .dashboard-site-preview,
  .dashboard-inline-action,
  .dashboard-preview-chip {
    align-self: flex-start;
  }

  .dashboard-utility-bar {
    align-items: stretch;
  }

  .dashboard-search-form {
    flex: 1 0 100%;
  }

  .dashboard-utility-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  #sidebar.navbar-vertical.navbar-expand-md {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    min-height: 0;
    padding: 0.75rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--sh-sidebar-border);
  }

  #sidebar.navbar-vertical.navbar-expand-md .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding-right: 0;
    padding-left: 0;
  }

  #sidebar .navbar-brand {
    flex: 1 1 auto;
    flex-direction: row !important;
    min-width: 0;
    margin-bottom: 0;
  }

  #sidebar .navbar-brand-img,
  #sidebar .navbar-edo-logo-img {
    max-height: 2.35rem !important;
    width: auto;
    object-fit: contain;
  }

  #sidebar .navbar-brand-img {
    max-width: 8.5rem !important;
  }

  #sidebar .navbar-edo-logo-img {
    max-width: 9rem !important;
    margin-top: 0 !important;
    margin-left: 0.65rem;
  }

  #sidebar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
  }

  #sidebar #sidebarCollapse {
    flex-basis: 100%;
    width: 100%;
    max-height: calc(100vh - 4.9rem);
    margin-top: 0.65rem !important;
    padding-top: 0.75rem;
    overflow-y: auto;
    border-top: 1px solid var(--sh-sidebar-border);
  }

  #sidebar .text-center {
    order: 3;
    flex-basis: 100%;
    text-align: left !important;
  }

  #sidebar .navbar-nav {
    gap: 0.15rem;
  }

  #sidebar .nav-link {
    border-radius: 0;
  }

  body:not(.embed-layout) .main-content {
    padding-top: 4.8rem;
  }

  .workspace-page-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .workspace-page-actions {
    width: 100%;
    margin-left: 0;
    justify-items: stretch;
  }

  .workspace-page-actions .workspace-add-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }

  .dashboard-utility-bar {
    align-items: stretch;
  }

  .dashboard-search-form {
    flex: 1 0 100%;
  }

  .dashboard-utility-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .workspace-category-questions-panel .workspace-question-panel-header {
    align-items: stretch;
  }

  .workspace-category-questions-panel .workspace-question-panel-copy,
  .workspace-category-questions-panel .workspace-page-actions,
  .workspace-category-questions-panel .workspace-back-action {
    width: 100%;
  }

  .workspace-category-questions-panel .workspace-page-actions {
    margin-left: 0;
    justify-items: stretch;
  }

  .workspace-category-question-table-wrap .table-responsive {
    overflow-x: visible;
  }

  .workspace-category-question-table,
  .workspace-category-question-table tbody,
  .workspace-category-question-table tr,
  .workspace-category-question-table td {
    display: block;
    width: 100% !important;
  }

  .workspace-category-question-table thead {
    display: none;
  }

  .workspace-category-question-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .workspace-category-question-table tbody tr {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.35rem 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(var(--sh-border-rgb), 0.72);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
  }

  .workspace-category-question-table td {
    border: 0 !important;
    padding: 0 !important;
  }

  .workspace-category-question-table .workspace-site-question-visibility-cell {
    grid-row: 1 / span 2;
    align-self: start;
    padding: 0 !important;
  }

  .workspace-category-question-table td[data-label="Question"] {
    grid-column: 2;
    font-weight: 500;
  }

  .workspace-category-question-table td[data-label="Answer"] {
    grid-column: 2;
    color: rgba(var(--sh-foreground-rgb), 0.72);
  }

  .workspace-category-question-table td[data-label="Answer"]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: rgba(var(--sh-foreground-rgb), 0.48);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .workspace-category-question-table .workspace-site-question-cell-link {
    align-items: flex-start;
  }
}

@media (max-width: 1399.98px) {
  .workspace-question-nav-label {
    display: none;
  }

  .workspace-question-nav-action {
    width: 2.6rem;
    min-width: 2.6rem;
    flex: 0 0 2.6rem;
    justify-content: center;
    padding-inline: 0;
  }

  .workspace-question-back-action {
    width: 2.6rem;
    min-width: 2.6rem;
    flex: 0 0 2.6rem;
    justify-content: center;
    padding-inline: 0;
  }
}

[data-bs-theme="dark"],
.dark {
  --bootstrap-shadcn-custom-loaded: 1;
  --sitehunt-app-bg:
    radial-gradient(circle at top, rgba(31, 98, 200, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.98) 0%, rgba(9, 9, 11, 1) 100%);
  --sitehunt-site-shell-bg: rgba(20, 25, 37, 0.72);
  --sitehunt-site-shell-border: rgba(120, 138, 183, 0.24);

  --marketing-hub-text: var(--sh-foreground);
  --marketing-hub-text-muted: rgba(var(--sh-foreground-rgb), 0.76);
  --marketing-hub-text-subtle: rgba(var(--sh-foreground-rgb), 0.62);
  --marketing-hub-panel-bg: rgba(24, 24, 27, 0.88);
  --marketing-hub-panel-border: rgba(255, 255, 255, 0.12);
  --marketing-hub-surface-bg: rgba(24, 24, 27, 0.96);
  --marketing-hub-subtle-bg: rgba(255, 255, 255, 0.045);
  --marketing-hub-subtle-strong-bg: rgba(255, 255, 255, 0.065);
  --marketing-hub-subtle-soft-bg: rgba(255, 255, 255, 0.035);
  --marketing-hub-preview-bg: rgba(255, 255, 255, 0.03);
  --marketing-hub-soft-bg: rgba(var(--marketing-hub-primary-rgb), 0.14);
  --marketing-hub-soft-border: rgba(var(--marketing-hub-primary-rgb), 0.22);
  --marketing-hub-pill-bg: rgba(var(--marketing-hub-primary-rgb), 0.18);
  --marketing-hub-pill-border: rgba(var(--marketing-hub-primary-rgb), 0.24);
  --marketing-hub-pill-text: #c9d8ff;
  --marketing-hub-feature-bg: rgba(31, 98, 200, 0.12);
  --marketing-hub-feature-border: rgba(102, 149, 228, 0.22);
  --marketing-hub-feature-text: #d7e5ff;
  --marketing-hub-card-bg: rgba(255, 255, 255, 0.03);
  --marketing-hub-card-border: rgba(255, 255, 255, 0.12);
  --marketing-hub-card-preview-border: rgba(255, 255, 255, 0.1);
  --marketing-hub-card-text: var(--sh-foreground);
  --marketing-hub-card-muted-text: rgba(var(--sh-foreground-rgb), 0.68);
  --marketing-hub-status-bg: linear-gradient(180deg, rgba(20, 25, 37, 0.98) 0%, rgba(15, 18, 27, 0.98) 100%);
  --marketing-hub-status-border: rgba(102, 149, 228, 0.18);
  --marketing-hub-status-label-bg: rgba(31, 98, 200, 0.16);
  --marketing-hub-status-label-text: #d7e5ff;
  --marketing-hub-progress-track: rgba(255, 255, 255, 0.08);
  --marketing-hub-progress-fill: linear-gradient(
    90deg,
    rgba(102, 149, 228, 0.95) 0%,
    rgba(31, 98, 200, 0.72) 100%
  );
  --marketing-hub-tab-shell-bg: rgba(20, 25, 37, 0.82);
  --marketing-hub-tab-shell-border: rgba(120, 138, 183, 0.22);
  --marketing-hub-tab-hover-bg: rgba(255, 255, 255, 0.05);
  --marketing-hub-tab-hover-border: rgba(255, 255, 255, 0.1);
  --marketing-hub-tab-active-bg: rgba(255, 255, 255, 0.08);
  --marketing-hub-tab-active-border: rgba(102, 149, 228, 0.24);
  --marketing-hub-menu-bg: rgba(24, 24, 27, 0.98);
  --marketing-hub-menu-border: rgba(255, 255, 255, 0.12);
  --marketing-hub-menu-hover-bg: rgba(255, 255, 255, 0.06);
  --marketing-hub-menu-text: var(--sh-foreground);
  --marketing-hub-chip-bg: rgba(var(--marketing-hub-primary-rgb), 0.16);
  --marketing-hub-chip-border: rgba(var(--marketing-hub-primary-rgb), 0.24);
  --marketing-hub-chip-text: #d7e5ff;
  --marketing-hub-input-bg: rgba(24, 24, 27, 0.96);
  --marketing-hub-input-border: rgba(255, 255, 255, 0.14);
  --marketing-hub-input-text: var(--sh-foreground);
  --marketing-hub-input-focus-border: rgba(102, 149, 228, 0.5);
  --marketing-hub-input-focus-ring: rgba(31, 98, 200, 0.18);
  --marketing-hub-label-text: rgba(var(--sh-foreground-rgb), 0.72);
  --marketing-hub-modal-body-bg: rgba(14, 16, 22, 0.98);
  --marketing-hub-modal-header-bg: rgba(255, 255, 255, 0.04);
  --marketing-hub-modal-border: rgba(255, 255, 255, 0.1);
  --marketing-hub-empty-bg: linear-gradient(180deg, rgba(20, 25, 37, 0.98) 0%, rgba(15, 18, 27, 0.98) 100%);
  --marketing-hub-soft-card-bg: linear-gradient(
    180deg,
    rgba(24, 24, 27, 0.96) 0%,
    rgba(17, 18, 23, 0.98) 100%
  );
  --marketing-hub-empty-border: rgba(102, 149, 228, 0.2);
  --marketing-hub-empty-icon: #9bbcff;
  --marketing-hub-warning-text: #fdba74;
  --sh-sidebar: rgba(14, 16, 22, 0.98);
  --sh-sidebar-foreground: var(--sh-foreground);
  --sh-sidebar-accent: rgba(255, 255, 255, 0.06);
  --sh-sidebar-accent-foreground: var(--sh-foreground);
  --sh-sidebar-border: rgba(255, 255, 255, 0.1);
  --sh-sidebar-ring: rgba(255, 255, 255, 0.18);
  --sh-primary: #1f62c8;
  --sh-primary-hover: #1b57b6;
  --sh-primary-rgb: 31, 98, 200;
  --sh-primary-foreground: #ffffff;

  /*
  Optional dark-mode brand overrides:

  --sh-primary: #1f62c8;
  --sh-primary-hover: #1b57b6;
  --sh-primary-rgb: 31, 98, 200;
  --sh-primary-foreground: #ffffff;

  --sh-ring: #14b8a6;
  --sh-ring-rgb: 20, 184, 166;
  */
}

[data-bs-theme="dark"] body.bg-auth,
.dark body.bg-auth,
[data-bs-theme="dark"] .login-card-preview-page,
.dark .login-card-preview-page {
  background:
    radial-gradient(circle at top left, rgba(var(--marketing-hub-primary-rgb), 0.14), transparent 26%),
    linear-gradient(180deg, rgba(11, 14, 20, 0.98) 0%, rgba(9, 9, 11, 1) 100%);
}

[data-bs-theme="dark"] .auth-brand-panel,
.dark .auth-brand-panel,
[data-bs-theme="dark"] .workspace-panel,
.dark .workspace-panel,
[data-bs-theme="dark"] .workspace-scope-card,
.dark .workspace-scope-card,
[data-bs-theme="dark"] .workspace-mobile-card,
.dark .workspace-mobile-card,
[data-bs-theme="dark"] .dashboard-stat-card,
.dark .dashboard-stat-card,
[data-bs-theme="dark"] .dashboard-panel,
.dark .dashboard-panel,
[data-bs-theme="dark"] .dashboard-preview-empty,
.dark .dashboard-preview-empty,
[data-bs-theme="dark"] .workspace-site-stage,
.dark .workspace-site-stage {
  background: rgba(24, 24, 27, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .workspace-site-stage-link-card:hover,
.dark .workspace-site-stage-link-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-bs-theme="dark"] .dashboard-search-input,
.dark .dashboard-search-input,
[data-bs-theme="dark"] .workspace-search-input,
.dark .workspace-search-input,
[data-bs-theme="dark"] .dashboard-utility-action,
.dark .dashboard-utility-action,
[data-bs-theme="dark"] .auth-brand-pill,
.dark .auth-brand-pill,
[data-bs-theme="dark"] .workspace-page-chip,
.dark .workspace-page-chip,
[data-bs-theme="dark"] .dashboard-preview-badge,
.dark .dashboard-preview-badge,
[data-bs-theme="dark"] .dashboard-preview-chip,
.dark .dashboard-preview-chip,
[data-bs-theme="dark"] .dashboard-inline-action,
.dark .dashboard-inline-action,
[data-bs-theme="dark"] .dashboard-site-row,
.dark .dashboard-site-row,
[data-bs-theme="dark"] .dashboard-type-row,
.dark .dashboard-type-row,
[data-bs-theme="dark"] .dashboard-task-row,
.dark .dashboard-task-row,
[data-bs-theme="dark"] .dashboard-activity-row,
.dark .dashboard-activity-row,
[data-bs-theme="dark"] .dashboard-map-card,
.dark .dashboard-map-card,
[data-bs-theme="dark"] .dashboard-market-card,
.dark .dashboard-market-card {
  background: rgba(24, 24, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .dashboard-site-preview,
.dark .dashboard-site-preview {
  background: rgba(39, 39, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .dashboard-stat-value,
.dark .dashboard-stat-value,
[data-bs-theme="dark"] .dashboard-stat-label,
.dark .dashboard-stat-label {
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .dashboard-stat-meta,
.dark .dashboard-stat-meta {
  color: rgba(var(--sh-foreground-rgb), 0.68);
}

[data-bs-theme="dark"] .dashboard-stat-icon,
.dark .dashboard-stat-icon {
  background: rgba(var(--sh-primary-rgb), 0.16);
  color: #d7e5ff;
}

[data-bs-theme="dark"] .dashboard-quick-actions-heading h2,
.dark .dashboard-quick-actions-heading h2,
[data-bs-theme="dark"] .dashboard-activity-head h2,
.dark .dashboard-activity-head h2,
[data-bs-theme="dark"] .dashboard-task-name,
.dark .dashboard-task-name,
[data-bs-theme="dark"] .dashboard-activity-title,
.dark .dashboard-activity-title {
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .dashboard-task-accessory,
.dark .dashboard-task-accessory {
  color: rgba(var(--sh-foreground-rgb), 0.5);
}

[data-bs-theme="dark"] .dashboard-activity-icon,
.dark .dashboard-activity-icon {
  background: rgba(var(--sh-primary-rgb), 0.16);
  color: #d7e5ff;
}

[data-bs-theme="dark"] .dashboard-portal-traffic-chart,
.dark .dashboard-portal-traffic-chart {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(
      to top,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    )
    0 0 / 100% 25%,
    rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .dashboard-portal-traffic-bars span,
.dark .dashboard-portal-traffic-bars span {
  background: linear-gradient(
    180deg,
    rgba(125, 177, 255, 0.95) 0%,
    rgba(58, 127, 232, 0.7) 100%
  );
  box-shadow: 0 0.45rem 1rem rgba(44, 123, 229, 0.28);
}

[data-bs-theme="dark"] .dashboard-task-count,
.dark .dashboard-task-count {
  background: rgba(var(--sh-primary-rgb), 0.16);
  color: #d7e5ff;
}

[data-bs-theme="dark"] .dashboard-search-input::placeholder,
.dark .dashboard-search-input::placeholder,
[data-bs-theme="dark"] .workspace-search-input::placeholder,
.dark .workspace-search-input::placeholder {
  color: rgba(var(--sh-foreground-rgb), 0.42);
}

[data-bs-theme="dark"] .dashboard-search-results,
.dark .dashboard-search-results {
  background: #111827;
}

[data-bs-theme="dark"] .rfi-v2-list-card,
.dark .rfi-v2-list-card,
[data-bs-theme="dark"] .rfi-v2-due-card,
.dark .rfi-v2-due-card,
[data-bs-theme="dark"] .rfi-v2-next-callout,
.dark .rfi-v2-next-callout,
[data-bs-theme="dark"] .rfi-v2-evaluate-stat,
.dark .rfi-v2-evaluate-stat,
[data-bs-theme="dark"] .rfi-v2-info-item,
.dark .rfi-v2-info-item {
  background: rgba(24, 24, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .rfi-v2-info-item.is-primary,
.dark .rfi-v2-info-item.is-primary {
  background: rgba(var(--sh-primary-rgb), 0.14);
  border-color: rgba(var(--sh-primary-rgb), 0.24);
}

[data-bs-theme="dark"] .rfi-v2-list-card:hover,
[data-bs-theme="dark"] .rfi-v2-list-card:focus,
.dark .rfi-v2-list-card:hover,
.dark .rfi-v2-list-card:focus {
  background: rgba(var(--sh-primary-rgb), 0.14);
  border-color: rgba(var(--sh-primary-rgb), 0.3);
}

[data-bs-theme="dark"] .rfi-v2-list-card-title,
.dark .rfi-v2-list-card-title,
[data-bs-theme="dark"] .rfi-v2-list-card-title-link,
.dark .rfi-v2-list-card-title-link,
[data-bs-theme="dark"] .rfi-v2-next-callout h2,
.dark .rfi-v2-next-callout h2,
[data-bs-theme="dark"] .rfi-v2-info-title,
.dark .rfi-v2-info-title,
[data-bs-theme="dark"] .rfi-v2-info-description,
.dark .rfi-v2-info-description,
[data-bs-theme="dark"] .rfi-v2-evaluate-copy h3,
.dark .rfi-v2-evaluate-copy h3,
[data-bs-theme="dark"] .rfi-v2-evaluate-stat-value,
.dark .rfi-v2-evaluate-stat-value,
[data-bs-theme="dark"] .rfi-v2-info-item dd,
.dark .rfi-v2-info-item dd,
[data-bs-theme="dark"] .rfi-v2-meta-item,
.dark .rfi-v2-meta-item,
[data-bs-theme="dark"] .rfi-v2-meta-value,
.dark .rfi-v2-meta-value,
[data-bs-theme="dark"] .rfi-v2-due-value,
.dark .rfi-v2-due-value,
[data-bs-theme="dark"] .rfi-v2-status-pill,
.dark .rfi-v2-status-pill,
[data-bs-theme="dark"] .rfi-v2-processing-pill,
.dark .rfi-v2-processing-pill,
[data-bs-theme="dark"] .rfi-v2-top-site-link,
.dark .rfi-v2-top-site-link,
[data-bs-theme="dark"] .rfi-v2-top-site-name,
.dark .rfi-v2-top-site-name {
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .rfi-v2-list-card-icon,
.dark .rfi-v2-list-card-icon,
[data-bs-theme="dark"] .rfi-v2-next-callout-icon,
.dark .rfi-v2-next-callout-icon,
[data-bs-theme="dark"] .rfi-v2-info-icon,
.dark .rfi-v2-info-icon {
  background: rgba(var(--sh-primary-rgb), 0.16);
  color: #d7e5ff;
}

[data-bs-theme="dark"] .rfi-v2-list-card-description,
.dark .rfi-v2-list-card-description,
[data-bs-theme="dark"] .rfi-v2-next-callout-eyebrow,
.dark .rfi-v2-next-callout-eyebrow,
[data-bs-theme="dark"] .rfi-v2-next-callout p,
.dark .rfi-v2-next-callout p,
[data-bs-theme="dark"] .rfi-v2-evaluate-eyebrow,
.dark .rfi-v2-evaluate-eyebrow,
[data-bs-theme="dark"] .rfi-v2-evaluate-copy p,
.dark .rfi-v2-evaluate-copy p,
[data-bs-theme="dark"] .rfi-v2-evaluate-stat-label,
.dark .rfi-v2-evaluate-stat-label,
[data-bs-theme="dark"] .rfi-v2-info-long-description,
.dark .rfi-v2-info-long-description,
[data-bs-theme="dark"] .rfi-v2-info-item dt,
.dark .rfi-v2-info-item dt,
[data-bs-theme="dark"] .rfi-v2-info-muted,
.dark .rfi-v2-info-muted,
[data-bs-theme="dark"] .rfi-v2-meta-label,
.dark .rfi-v2-meta-label,
[data-bs-theme="dark"] .rfi-v2-meta-value.is-muted,
.dark .rfi-v2-meta-value.is-muted,
[data-bs-theme="dark"] .rfi-v2-due-label,
.dark .rfi-v2-due-label,
[data-bs-theme="dark"] .rfi-v2-due-label i,
.dark .rfi-v2-due-label i,
[data-bs-theme="dark"] .rfi-v2-top-site-label,
.dark .rfi-v2-top-site-label {
  color: rgba(var(--sh-foreground-rgb), 0.58);
}

[data-bs-theme="dark"] .rfi-v2-status-pill,
.dark .rfi-v2-status-pill,
[data-bs-theme="dark"] .rfi-v2-processing-pill,
.dark .rfi-v2-processing-pill,
[data-bs-theme="dark"] .rfi-v2-top-site-link,
.dark .rfi-v2-top-site-link {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .rfi-v2-due-card,
.dark .rfi-v2-due-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .rfi-v2-status-pill.is-open,
.dark .rfi-v2-status-pill.is-open {
  background: rgba(var(--sh-primary-rgb), 0.16);
  border-color: rgba(var(--sh-primary-rgb), 0.24);
}

[data-bs-theme="dark"] .workspace-table-shell,
.dark .workspace-table-shell {
  background: rgba(24, 24, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .workspace-data-table,
.dark .workspace-data-table,
[data-bs-theme="dark"] .workspace-data-table tbody td,
.dark .workspace-data-table tbody td {
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .workspace-data-table tbody td,
.dark .workspace-data-table tbody td {
  background: rgba(24, 24, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .workspace-data-table thead th,
.dark .workspace-data-table thead th {
  background: rgba(39, 39, 42, 0.9);
  color: rgba(var(--sh-foreground-rgb), 0.68);
}

[data-bs-theme="dark"] .workspace-data-table tbody tr:hover > *,
.dark .workspace-data-table tbody tr:hover > * {
  --bs-table-bg-state: rgba(var(--sh-primary-rgb), 0.18);
  background-color: rgba(var(--sh-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .workspace-data-table .workspace-row-title,
.dark .workspace-data-table .workspace-row-title,
[data-bs-theme="dark"] .workspace-inline-badge,
.dark .workspace-inline-badge {
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .workspace-row-subtitle,
.dark .workspace-row-subtitle,
[data-bs-theme="dark"] .workspace-muted,
.dark .workspace-muted {
  color: rgba(var(--sh-foreground-rgb), 0.58);
}

[data-bs-theme="dark"] .workspace-inline-badge,
.dark .workspace-inline-badge {
  background: rgba(var(--sh-primary-rgb), 0.16);
  border-color: rgba(var(--sh-primary-rgb), 0.24);
}

[data-bs-theme="dark"] .workspace-inline-badge-soft,
.dark .workspace-inline-badge-soft {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .workspace-data-table-compare-sites .site-select-checkbox,
.dark .workspace-data-table-compare-sites .site-select-checkbox {
  background-color: rgba(24, 24, 27, 0.98);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-bs-theme="dark"] .dashboard-map-site-name-popup,
.dark .dashboard-map-site-name-popup {
  background: rgba(24, 24, 27, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--sh-foreground);
}

[data-bs-theme="dark"] .dashboard-map-legend,
.dark .dashboard-map-legend {
  background: rgba(24, 24, 27, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-bs-theme="dark"] .login-card,
.dark .login-card,
[data-bs-theme="dark"] .auth-card,
.dark .auth-card {
  background-color: rgba(24, 24, 27, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Demographics */
.demographics-library {
  --demographics-ui-blue: var(--sh-primary);
  --demographics-ui-blue-rgb: var(--sh-primary-rgb);
  --demographics-brand: var(--sh-primary);
  --demographics-brand-strong: var(--sh-primary);
  --demographics-brand-soft: rgba(var(--sh-primary-rgb), 0.08);
  --demographics-brand-pale: rgba(var(--sh-primary-rgb), 0.04);
  --demographics-brand-border: rgba(var(--sh-primary-rgb), 0.18);
  --demographics-brand-tint: rgba(var(--sh-primary-rgb), 0.08);
  --demographics-brand-tint-strong: rgba(var(--sh-primary-rgb), 0.12);
  --demographics-focus-ring: rgba(var(--sh-ring-rgb), 0.32);
  --demographics-focus-glow: rgba(var(--sh-ring-rgb), 0.12);
  --demographics-page-bg: transparent;
  --demographics-page-bg-soft: rgba(var(--sh-muted-rgb), 0.42);
  --demographics-card-bg: var(--sh-card);
  --demographics-surface-tint: var(--sh-card);
  --demographics-border: rgba(var(--sh-border-rgb), 0.8);
  --demographics-border-strong: rgba(var(--sh-border-rgb), 0.95);
  --demographics-text: var(--sh-foreground);
  --demographics-text-soft: var(--sh-muted-foreground);
  --demographics-muted: var(--sh-muted-foreground);
  --demographics-radius-xl: 0.5rem;
  --demographics-radius-lg: 0.5rem;
  --demographics-radius-md: 0.5rem;
  --demographics-radius-sm: 0.5rem;
  font-family: "Inter", sans-serif;
  color: var(--demographics-text);
  background: transparent;
  min-height: auto;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0 3rem;
  min-width: 0;
}

.demographics-library__shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 100%;
  margin: 0;
  min-width: 0;
}

.demographics-library__intro {
  margin-bottom: 1.5rem;
}

.demographics-library__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--demographics-text);
}

.demographics-library__description {
  margin: 0.55rem 0 0;
  max-width: 48rem;
  color: var(--demographics-text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.selector-card,
.report-card,
.library-section,
.special-card {
  background: var(--demographics-surface-tint);
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-xl);
}

.selector-card {
  padding: 0;
  margin-bottom: 30px;
  overflow: hidden;
  max-width: 980px;
}

.selector-card__header {
  display: block;
  padding: 26px 28px 12px;
  border-bottom: 1px solid var(--demographics-border);
}

.selector-card__eyebrow,
.special-card__eyebrow,
.selector-panel__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--demographics-muted);
  margin-bottom: 10px;
}

.selector-card__title,
.reports-title,
.library-section__title {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
  color: var(--demographics-text);
}

.reports-title,
.library-section__title {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.selector-card__description,
.reports-description,
.special-card__description,
.selector-empty,
.report-card__description,
.report-card__note {
  font-size: 15px;
  line-height: 1.65;
  color: var(--demographics-text-soft);
  margin: 0;
}

.reports-selector-copy {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.reports-selector-label {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--demographics-muted);
  padding-top: 10px;
  padding-bottom: 8px;
}

.selector-card__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--demographics-text-soft);
  padding: 8px;
  border-radius: 999px;
  cursor: default;
  line-height: 1;
}

.selector-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 28px 0;
  background: transparent;
  border-bottom: 1px solid var(--demographics-border);
}

.selector-path__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--demographics-card-bg);
  color: var(--demographics-brand-strong);
  border-radius: var(--demographics-radius-sm);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--demographics-brand-border);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: inherit;
}

button.selector-path__chip {
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

button.selector-path__chip:hover {
  background: var(--demographics-brand-soft);
  color: var(--demographics-brand-strong);
  transform: translateY(-1px);
}

button.selector-path__chip:focus-visible {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.selector-path__chip.is-root {
  background: transparent;
  border-color: transparent;
  color: var(--demographics-text-soft);
  padding-left: 0;
  padding-right: 0;
}

.selector-path__chip.is-current {
  background: var(--demographics-brand-tint);
  border-color: var(--demographics-brand-border);
  color: var(--demographics-brand-strong);
  font-weight: 600;
}

.selector-path__chip.is-static {
  background: transparent;
  color: var(--demographics-text-soft);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
  letter-spacing: 0.02em;
}

.selector-path__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.selector-path__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.selector-path__select,
.selector-path__search-input {
  appearance: none;
  border: 1px solid var(--demographics-brand-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-brand-strong);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 32px;
  height: 32px;
  padding: 0 34px 0 14px;
  text-transform: uppercase;
  max-width: min(220px, 70vw);
  width: 200px;
  box-shadow: none;
}

.selector-path__select[data-path-select="county"] {
  width: 220px;
}

.selector-path__select[data-path-select="city"] {
  width: 170px;
}

.selector-path__search-input::placeholder {
  color: var(--demographics-muted);
  text-transform: none;
  letter-spacing: 0;
}

.selector-path__select:focus,
.selector-path__search-input:focus,
.selector-path__select:focus-visible,
.selector-path__search-input:focus-visible {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.selector-path__control-icon {
  position: absolute;
  right: 14px;
  color: var(--demographics-brand-strong);
  font-size: 0.8rem;
  pointer-events: none;
}

.selector-path__search-input {
  text-transform: none;
  letter-spacing: 0;
  min-width: min(320px, 70vw);
}

.selector-path__chip--interactive {
  cursor: pointer;
  padding-right: 12px;
}

.selector-path__chip--interactive i {
  font-size: 0.75rem;
  color: currentColor;
}

.selector-path__item.is-open .selector-path__chip--interactive {
  background: var(--demographics-brand-soft);
  border-color: var(--demographics-brand-border);
  color: var(--demographics-brand-strong);
}

.selector-path__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  max-width: min(320px, 80vw);
  background: var(--sh-popover);
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-md);
  padding: 10px;
  display: none;
  z-index: 30;
}

.selector-path__item.is-open .selector-path__menu {
  display: block;
}

.selector-path__search {
  width: 100%;
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.selector-path__search:focus {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.selector-path__menu-list {
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow: auto;
}

.selector-path__option,
.selector-path__option-reset {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--demographics-text);
  border-radius: var(--demographics-radius-sm);
  padding: 10px 12px;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.selector-path__option:hover,
.selector-path__option:focus-visible,
.selector-path__option-reset:hover,
.selector-path__option-reset:focus-visible {
  background: var(--demographics-page-bg-soft);
  outline: none;
}

.selector-path__option.is-active,
.selector-path__option-reset.is-active {
  background: var(--demographics-brand-tint);
  color: var(--demographics-brand-strong);
  font-weight: 600;
}

.selector-path__menu-empty {
  padding: 10px 12px;
  color: var(--demographics-text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.selector-path__chip.is-pending {
  background: transparent;
  color: var(--demographics-text-soft);
  padding-left: 0;
  padding-right: 0;
}

.selector-path__separator {
  color: rgba(var(--sh-primary-rgb), 0.55);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.selector-panel {
  padding: 16px 28px 24px;
  min-height: 0;
}

.selector-panel__top {
  display: block;
  margin-bottom: 18px;
}

.selector-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.selector-field {
  min-width: 0;
}

.selector-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--demographics-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.selector-field select {
  width: 100%;
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
  appearance: none;
}

.selector-field select.is-selected {
  background: var(--demographics-brand-tint);
  border-color: var(--demographics-brand-border);
  color: var(--demographics-text);
}

.selector-field select:focus {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
  background: var(--demographics-card-bg);
}

.selector-search {
  position: relative;
  flex: 1 1 auto;
}

.selector-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(var(--sh-primary-rgb), 0.62);
  pointer-events: none;
}

.selector-search__input {
  width: 100%;
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-text);
  font-size: 15px;
  padding: 14px 16px 14px 44px;
}

.selector-search__input:focus {
  outline: 2px solid rgba(var(--sh-primary-rgb), 0.24);
  background: var(--demographics-card-bg);
}

.selector-panel__caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--demographics-muted);
  margin-bottom: 12px;
}

.selector-panel__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 14px;
  margin-top: 14px;
}

.selector-panel__current {
  font-size: 14px;
  font-weight: 600;
  color: var(--demographics-brand-strong);
}

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

.selector-option {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(var(--sh-primary-rgb), 0.1);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.selector-option:hover,
.selector-option:focus-visible {
  border-color: rgba(var(--sh-primary-rgb), 0.28);
  outline: none;
  transform: translateY(-1px);
}

.selector-option.is-active {
  background: rgba(var(--sh-primary-rgb), 0.06);
  border-color: rgba(var(--sh-primary-rgb), 0.28);
}

.selector-option__content {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.selector-option__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--demographics-radius-sm);
  background: rgba(var(--sh-primary-rgb), 0.08);
  color: var(--demographics-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.selector-option__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--demographics-text);
  line-height: 1.35;
}

.selector-option__meta {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--demographics-text-soft);
  line-height: 1.45;
}

.selector-option__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--demographics-brand-strong);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.selector-option.is-active .selector-option__check {
  opacity: 1;
  transform: scale(1);
}

.reports-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 1500px) {
  .report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.report-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  align-self: stretch;
  justify-content: flex-start;
  cursor: default;
  transition: border-color 0.18s ease;
}

.report-card.is-unavailable {
  opacity: 0.72;
  box-shadow: none;
  background: color-mix(in srgb, var(--demographics-card-bg) 86%, transparent);
}

.report-card:hover,
.report-card:focus-within {
  border-color: var(--demographics-border-strong);
}

.report-card.is-unavailable:hover,
.report-card.is-unavailable:focus-within {
  box-shadow: none;
}

.report-card__intro {
  display: grid;
  align-content: start;
  row-gap: 10px;
  min-height: 0;
}

.report-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 2px;
  min-height: 0;
}

.report-card__badge {
  color: rgba(var(--sh-foreground-rgb), 0.84);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(var(--sh-muted-rgb), 0.55);
  font-size: 0.9rem;
  line-height: 1;
  flex: 0 0 auto;
}

.report-card__title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
  color: var(--demographics-text);
}

.report-card__description {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--demographics-text-soft);
}

.level-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 0;
  align-content: start;
  min-height: 0;
}

.level-pill,
.special-card__chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-text-soft);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  min-height: 28px;
  padding: 0 10px;
  white-space: nowrap;
}

.level-pill {
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.level-pill:hover:not(:disabled) {
  border-color: var(--demographics-border-strong);
  color: var(--demographics-text);
  transform: translateY(-1px);
}

.level-pill:focus-visible:not(:disabled) {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.level-pill.is-active {
  border-color: var(--demographics-brand-border);
  color: var(--demographics-brand-strong);
  background: var(--demographics-brand-tint);
}

.level-pill:disabled {
  cursor: not-allowed;
  color: rgba(var(--sh-muted-foreground-rgb), 0.55);
  background: rgba(var(--sh-muted-rgb), 0.5);
  border-color: rgba(var(--sh-border-rgb), 0.75);
  transform: none;
}

.report-card__actions,
.special-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  min-height: 24px;
}

.report-button,
.special-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--demographics-radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.report-button:hover:not(:disabled),
.special-button:hover:not(:disabled) {
  box-shadow: none;
}

.report-button:focus-visible:not(:disabled),
.special-button:focus-visible:not(:disabled) {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.report-button--primary,
.special-button--primary {
  background: var(--demographics-ui-blue);
  color: #fff;
}

.report-button--secondary,
.special-button--secondary,
.report-button--neutral {
  background: var(--demographics-card-bg);
  color: var(--demographics-text);
  border: 1px solid var(--demographics-border);
}

.report-action-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--demographics-brand-strong);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.report-action-link:hover:not(:disabled) {
  color: var(--demographics-text);
}

.report-action-link:focus-visible:not(:disabled) {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
  border-radius: 8px;
}

.report-action-link:disabled {
  color: var(--demographics-muted);
  cursor: not-allowed;
}

.report-card__action-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.report-button--icon {
  width: 2.2rem;
  min-width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
}

.report-button--icon.is-placeholder {
  color: rgba(255, 255, 255, 0);
  background: var(--demographics-card-bg);
  border: 1px solid transparent;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}

.report-button--icon i {
  font-size: 0.95rem;
  line-height: 1;
}

.report-button:disabled,
.special-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.reports-shell .selector-path {
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.reports-shell {
  margin-bottom: 1.75rem;
}

.report-card__selection {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--demographics-text-soft);
  min-height: 0;
}

.library-section {
  padding: 0;
  margin-top: 1.75rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}

.library-section--panel {
  margin-top: 0;
  background: var(--demographics-surface-tint);
  border: 1px solid var(--demographics-border);
  border-radius: var(--demographics-radius-xl);
  overflow: hidden;
}

.library-section--panel + .library-section--panel {
  margin-top: 1.75rem;
}

.library-section__header {
  display: block;
  margin-bottom: 18px;
}

.library-section--panel .library-section__header {
  margin-bottom: 0;
  padding: 1rem 1rem 0.95rem;
  border-bottom: 1px solid var(--demographics-border);
}

.library-section__body {
  padding: 1rem;
  min-width: 0;
}

.library-section__description {
  margin: 0;
  color: var(--demographics-text-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

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

.custom-esri-site-select {
  position: relative;
  width: calc(((100% - 2rem) / 3 * 2) + 1rem);
  max-width: 100%;
  margin-bottom: 1rem;
}

.custom-esri-report-grid {
  align-items: stretch;
}

.custom-esri-report-grid .special-card .special-field {
  margin-top: 0.5rem;
}

.special-grid--single {
  display: block;
}

.special-grid--single .special-card {
  width: 100%;
  max-width: none;
}

.special-card {
  padding: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  align-self: stretch;
  justify-content: flex-start;
  min-height: 0;
  transition: border-color 0.22s ease;
}

.special-card:hover,
.special-card:focus-within {
  border-color: var(--demographics-border-strong);
}

.special-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 2px;
  min-height: 0;
}

.special-card__icon {
  color: rgba(var(--sh-foreground-rgb), 0.84);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(var(--sh-muted-rgb), 0.55);
  font-size: 0.9rem;
  line-height: 1;
  flex: 0 0 auto;
}

.special-card__title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
  color: var(--demographics-text);
}

.special-card__description {
  font-size: 13px;
  line-height: 1.45;
}

.special-card__description--spacer {
  min-height: 14px;
}

.special-card__actions {
  margin-top: auto;
  min-height: 24px;
}

.special-card__actions--compact {
  justify-content: flex-end;
  gap: 10px;
}

.special-card__actions--compact .report-card__action-icons {
  margin-left: 0;
}

.special-field {
  margin-bottom: 14px;
}

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

.special-card__split-col {
  display: grid;
  align-content: start;
  gap: 0;
}

.special-field--select {
  position: relative;
}

.special-field--suffix {
  position: relative;
}

.special-field label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--demographics-muted);
  margin-bottom: 8px;
}

.special-field__required {
  color: #dc3545;
  margin-left: 4px;
}

.special-field select,
.special-field input {
  width: 100%;
  border: 1px solid var(--demographics-brand-border);
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-card-bg);
  color: var(--demographics-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  min-height: 2.75rem;
  padding: 0 16px;
}

.special-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 46px;
}

.special-field--suffix input {
  padding-right: 3.5rem;
  appearance: textfield;
  -moz-appearance: textfield;
}

.special-field--suffix input::-webkit-outer-spin-button,
.special-field--suffix input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.special-field__suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--demographics-text);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.special-field__chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--demographics-text-soft);
  font-size: 0.9rem;
  pointer-events: none;
}

.special-field select:focus,
.special-field input:focus {
  outline: 3px solid var(--demographics-focus-ring);
  outline-offset: 2px;
}

.special-empty {
  border-radius: var(--demographics-radius-sm);
  background: var(--demographics-page-bg-soft);
  color: var(--demographics-text-soft);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1119px) {
  .selector-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .selector-field label {
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .selector-field select {
    min-height: 58px;
    font-size: 15px;
  }
}

@media (max-width: 1040px) {
  .selector-controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .report-grid,
  .special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-esri-site-select {
    width: 100%;
  }

  .demographics-library__shell {
    padding-top: 12px;
  }

  .reports-toolbar,
  .library-section__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .report-grid,
  .special-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .library-section,
  .report-card,
  .special-card {
    padding: 1rem;
    border-radius: var(--demographics-radius-sm);
  }

  .selector-card {
    border-radius: var(--demographics-radius-sm);
  }

  .selector-card__header {
    padding: 20px 20px 14px;
  }

  .selector-card__title,
  .reports-title {
    font-size: 18px;
  }

  .reports-title {
    font-size: 1.5rem;
  }

  .report-card__title {
    font-size: 16px;
  }

  .reports-title,
  .library-section__title {
    font-size: 24px;
  }

  .selector-panel {
    min-height: 0;
    padding: 18px 20px 20px;
  }

  .selector-panel__footer {
    justify-content: flex-start;
  }

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

  .special-card__split {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 639px) {
  .report-grid,
  .special-grid {
    grid-template-columns: 1fr;
  }
}
