:root {
  --bg: #dfe7ef;
  --panel: #ffffff;
  --panel-2: #f5f7fb;
  --ink: #132033;
  --muted: #657386;
  --line: #d5dde8;
  --line-strong: #aebdce;
  --navy: #0b1f3a;
  --navy-2: #12365f;
  --navy-soft: #e6edf6;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --accent-soft: #ffedd5;
  --comp: #0891b2;
  --comp-soft: #dff7fb;
  --info: #0b1f3a;
  --info-soft: #e6edf6;
  --danger-soft: #fff1ed;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.2);
  --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-color: #8ca2bc transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(249, 115, 22, 0.22), transparent 30%),
    linear-gradient(180deg, #0b1f3a 0, #12365f 210px, var(--bg) 520px),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

button:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.18);
}

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

button:disabled {
  cursor: default;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.marketingPage {
  background:
    radial-gradient(circle at 82% 6%, rgba(249, 115, 22, 0.24), transparent 28%),
    linear-gradient(180deg, #07192f 0, #0b1f3a 430px, #eef3f8 430px, #eef3f8 100%);
}

.marketingShell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.marketingNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.marketingBrand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.marketingNav nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.authControls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.authButton {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 6px;
  font-weight: 850;
}

.authButton.primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.24);
}

.authButton.primary:hover {
  border-color: transparent;
  background: var(--accent-dark);
  color: #fff;
}

.authButton.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.authButton.secondary:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.userButtonMount {
  display: inline-flex;
  align-items: center;
}

.heroActions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marketingNav a {
  color: #d7e2f1;
  font-weight: 750;
  text-decoration: none;
}

.marketingNav a:hover {
  color: #fff;
}

.marketingNav .navButton,
.primaryCta,
.secondaryCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
}

.marketingNav .navButton,
.primaryCta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.24);
}

.marketingNav .navButton:hover,
.primaryCta:hover {
  background: var(--accent-dark);
  color: #fff;
}

.secondaryCta {
  border: 1px solid rgba(11, 31, 58, 0.18);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
}

.secondaryCta:hover {
  border-color: rgba(249, 115, 22, 0.6);
  color: var(--navy);
  background: #fff;
}

.heroSection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 68px;
}

.heroCopy {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  color: #fdba74;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroCopy h1,
.sectionIntro h2,
.workflowSection h2,
.pricingSection h2 {
  margin: 12px 0 0;
  letter-spacing: 0;
}

.heroCopy h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
}

.heroCopy p {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.65;
}

.heroActions {
  margin-top: 28px;
}

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

.heroStats div {
  border-top: 1px solid rgba(11, 31, 58, 0.14);
  padding-top: 14px;
}

.heroStats dt {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
}

.heroStats dd {
  margin: 5px 0 0;
  color: var(--navy-2);
  font-weight: 650;
}

.heroPreview {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.previewToolbar {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.previewToolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.previewFilters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.previewFilters div,
.pricePanel,
.featureGrid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.previewFilters div {
  padding: 12px;
}

.previewFilters span,
.pricePanel span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.previewFilters strong {
  display: block;
  margin-top: 6px;
}

.previewTable {
  padding: 0 18px 20px;
}

.previewRow {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 92px 88px;
  gap: 10px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.previewHead {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.previewRow.subject {
  background: #fff7ed;
  box-shadow: inset 4px 0 0 var(--accent);
}

.featureSection,
.workflowSection,
.pricingSection,
.trustSection {
  margin-top: 22px;
  padding: 42px;
  border: 1px solid rgba(213, 221, 232, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.sectionIntro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.sectionIntro h2,
.workflowSection h2,
.pricingSection h2 {
  max-width: 680px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.featureGrid article {
  padding: 20px;
}

.featureGrid article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.featureGrid h3 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.featureGrid p,
.pricingSection p,
.trustSection p {
  color: var(--muted);
  line-height: 1.6;
}

.workflowSection {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 34px;
}

.workflowSection ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflowSection li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.workflowSection strong {
  color: var(--navy);
  font-size: 18px;
}

.workflowSection span {
  color: var(--muted);
  line-height: 1.55;
}

.pricingSection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: center;
}

.pricePanel {
  display: grid;
  gap: 7px;
  padding: 24px;
}

.pricePanel strong {
  color: var(--navy);
  font-size: 48px;
  line-height: 1;
}

.pricePanel small {
  color: var(--muted);
}

.pricePanel .primaryCta {
  margin-top: 12px;
}

.trustSection {
  box-shadow: none;
}

.trustSection p {
  max-width: 900px;
  margin: 0;
}

.shell {
  width: min(1540px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 0 2px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.panelTitle span,
.summaryHeader span,
.sectionHeader span,
label span,
.filterGroup > span,
.rangeGroup > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.appBrand {
  color: #ffffff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.topbarActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.appAuthControls {
  min-height: 38px;
}

.appAuthControls .navButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

#resetButton,
.summaryActions button {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

#resetButton:hover,
.summaryActions button:hover {
  border-color: transparent;
  background: var(--accent-dark);
}

.appLayout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.authGate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 16px 0;
  padding: 28px;
  border: 1px solid rgba(216, 224, 231, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.authGate[hidden] {
  display: none;
}

.authGate span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.authGate h1 {
  margin: 8px 0 8px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.08;
}

.authGate p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.authGateActions {
  display: flex;
  gap: 10px;
}

.mainPanel {
  min-width: 0;
}

.filters,
.summaryPanel,
.results {
  border: 1px solid rgba(216, 224, 231, 0.95);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.filters {
  display: grid;
  gap: 12px;
  padding: 14px;
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #98a9bf transparent;
}

.panelTitle,
.sectionHeader,
.summaryHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panelTitle {
  padding: 3px 2px 10px;
  border-bottom: 1px solid var(--line);
}

.panelTitle span {
  color: var(--ink);
  font-size: 13px;
}

.panelTitle strong,
.sectionHeader strong,
.summaryHeader > div:first-child strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.filterGroup,
.rangeGroup {
  display: grid;
  gap: 6px;
  min-width: 0;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 0 11px;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

input,
select:not([multiple]) {
  min-height: 40px;
}

input::placeholder {
  color: #9aa5af;
}

input:hover,
select:hover {
  border-color: var(--line-strong);
}

input:focus,
select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

select[multiple] {
  min-height: 168px;
  padding: 6px 8px;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.selectedChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selectedChips[hidden] {
  display: none;
}

.selectionChip {
  min-height: 27px;
  max-width: 100%;
  padding: 0 9px;
  border-color: #fed7aa;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selectionChip:hover {
  border-color: var(--navy-2);
  background: var(--navy-soft);
  color: var(--navy);
}

.optionList {
  max-height: 228px;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 6px;
  padding: 5px;
}

.optionList.compact {
  max-height: 154px;
}

.checkOption {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  padding: 7px 6px;
  border-radius: 6px;
  cursor: pointer;
}

.checkOption:hover {
  background: #fff7ed;
}

.checkOption input {
  width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
}

.checkOption span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.optionEmpty {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
}

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

.summaryPanel {
  margin: 0 0 14px;
  overflow: hidden;
}

.summaryHeader,
.sectionHeader {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, var(--navy-soft), var(--panel-2));
}

.summaryActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.summaryActions strong {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #253f64;
  background: var(--navy);
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
}

.summaryActions button {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

#resetComparison {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--navy);
}

#resetComparison:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.summaryActions button:disabled {
  background: #ccd6e3;
  color: #596673;
}

#resetComparison:disabled {
  border-color: transparent;
  background: #ccd6e3;
  color: #596673;
}

.summaryTableWrap,
.tableWrap {
  overflow: auto;
}

.summaryTable {
  min-width: 1100px;
  font-size: 13px;
}

.summaryTable th,
.summaryTable td {
  padding: 10px 12px;
}

.summaryTable td:first-child {
  min-width: 220px;
}

.summaryTable td:first-child span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summarySubject {
  box-shadow: inset 4px 0 0 var(--accent);
}

.summaryAverage {
  background: #f7fafc;
  font-weight: 800;
}

.summaryDelta {
  background: #effafe;
  font-weight: 800;
  box-shadow: inset 4px 0 0 var(--comp);
}

.results {
  overflow: hidden;
}

table {
  width: 100%;
  min-width: 1400px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  vertical-align: middle;
  background: var(--navy);
  color: #e7eef8;
  font-size: 11px;
  font-weight: 800;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody tr {
  cursor: pointer;
  transition:
    background 120ms ease,
    box-shadow 120ms ease;
}

tbody tr:nth-child(even) {
  background: #fbfcfd;
}

tbody tr:hover {
  background: #fff7ed;
}

.sortHeader {
  width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  font-size: inherit;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: inherit;
}

.sortHeader:hover {
  color: var(--accent);
  border-color: transparent;
  box-shadow: none;
}

.sortHeader::after {
  content: "";
  color: var(--muted);
  font-size: 11px;
}

.sortHeader.active::after {
  content: "\2193";
  color: #fdba74;
}

.sortHeader.active[data-dir="asc"]::after {
  content: "\2191";
  color: #fdba74;
}

.pinnedSubjectRow {
  box-shadow: inset 4px 0 0 var(--accent);
}

.pinnedCompRow {
  box-shadow: inset 4px 0 0 var(--comp);
}

.pinCell {
  min-width: 136px;
}

.pinButton {
  width: 100%;
  min-height: 30px;
  margin-bottom: 5px;
  padding: 0 8px;
  background: var(--panel-2);
  font-size: 12px;
  font-weight: 700;
}

.pinButton.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.pinButton[data-pin="comp"].active {
  border-color: var(--comp);
  background: var(--comp-soft);
  color: #155e75;
}

.pinButton:disabled {
  cursor: default;
  opacity: 0.65;
}

.propertyCell strong,
.ownerCell strong {
  display: block;
  max-width: 330px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.propertyCell span,
.ownerCell span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: var(--navy-soft);
}

.pager button {
  font-weight: 700;
}

.pageTabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pageTab {
  min-width: 34px;
  min-height: 32px;
  padding: 0 9px;
}

.pageTab[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.pageSpacer {
  color: var(--muted);
  font-weight: 800;
  padding: 0 2px;
}

.detailPanel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: min(560px, 100vw);
  height: 100vh;
  transform: translateX(105%);
  transition: transform 180ms ease;
  background: var(--panel);
  box-shadow: var(--shadow);
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr;
}

.detailPanel.open {
  transform: translateX(0);
}

.detailHeader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.detailHeader span {
  color: #c9d6e6;
  font-size: 13px;
}

.detailHeader h2 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.detailContent {
  overflow: auto;
  padding: 18px;
}

.section {
  margin-bottom: 20px;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.field {
  padding: 11px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.field strong {
  overflow-wrap: anywhere;
}

.miniTable {
  width: 100%;
  min-width: 0;
  font-size: 13px;
  border-collapse: collapse;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1000px) {
  .heroSection,
  .workflowSection,
  .pricingSection {
    grid-template-columns: 1fr;
  }

  .heroSection {
    padding-top: 42px;
  }

  .featureGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filters {
    position: static;
    max-height: none;
    overflow: visible;
  }

}

@media (max-width: 640px) {
  .marketingShell {
    width: calc(100vw - 20px);
    padding-top: 10px;
  }

  .marketingNav {
    align-items: flex-start;
  }

  .marketingBrand {
    font-size: 22px;
  }

  .marketingNav nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .marketingNav nav a:not(.navButton),
  .marketingNav .authButton.secondary {
    display: none;
  }

  .heroCopy h1 {
    font-size: 42px;
  }

  .heroCopy p {
    color: #d7e2f1;
  }

  .heroStats div {
    border-top-color: rgba(226, 232, 240, 0.24);
  }

  .heroStats dt {
    color: #ffffff;
  }

  .heroStats dd {
    color: #cbd5e1;
  }

  .heroStats,
  .previewFilters,
  .featureGrid {
    grid-template-columns: 1fr;
  }

  .heroPreview {
    min-width: 0;
  }

  .previewRow {
    grid-template-columns: 70px minmax(150px, 1fr) 88px 78px;
    min-width: 430px;
  }

  .previewTable {
    overflow-x: auto;
  }

  .featureSection,
  .workflowSection,
  .pricingSection,
  .trustSection {
    padding: 24px;
  }

  .workflowSection li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .shell {
    width: calc(100vw - 20px);
    padding-top: 10px;
  }

  .topbar,
  .summaryHeader,
  .sectionHeader {
    display: grid;
    align-items: start;
  }

  .topbar {
    padding: 0 0 4px;
  }

  .topbarActions,
  .authControls,
  .authGate,
  .authGateActions {
    align-items: stretch;
  }

  .authGate {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .authGateActions {
    flex-direction: column;
  }

  .appBrand {
    font-size: 22px;
  }

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

  .summaryActions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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