@font-face {
  font-family: Inter;
  src: local('Inter');
  font-display: swap;
}
.change-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.change-preview {
  padding: 26px;
  align-self: center;
}
.price-comparison {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 32px 0;
}
.price-comparison strong {
  display: block;
  font-size: 44px;
  letter-spacing: -0.04em;
}
.price-comparison span,
.comparison-grid span {
  display: block;
  color: var(--muted);
}
.change-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.change-stats > div {
  background: var(--forest);
  color: white;
  border-radius: 12px;
  padding: 24px;
}
.change-stats strong {
  display: block;
  font-size: 36px;
}
.change-stats span {
  color: #dce8d7;
}
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.comparison-grid strong {
  display: block;
  font-size: 20px;
}
.change-item .notice {
  margin: 12px 0;
}
.change-item .notice p {
  margin: 6px 0 0;
}
.change-detail {
  margin: 20px 0;
}
.change-detail td {
  max-width: 320px;
  overflow-wrap: anywhere;
}
.decision-form {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: end;
  gap: 16px;
  margin-top: 24px;
}
.decision-form input,
.decision-form select {
  margin-bottom: 0;
}
.decision-record {
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
  margin-top: 20px;
}
.review-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.review-list-row p {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .change-stats,
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .decision-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .change-stats > div {
    padding: 16px;
  }
  .change-preview {
    padding: 20px;
  }
  .review-list-row {
    display: block;
  }
}
@media print {
  .sidebar,
  .topbar,
  footer,
  .change-actions,
  .decision-form,
  .delete-review,
  .pilot-feedback,
  .change-detail,
  .back-link,
  .main > .button {
    display: none !important;
  }
  .app-shell,
  .workspace,
  .main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  .change-item {
    break-inside: avoid;
  }
  .change-stats > div {
    color: #111;
    background: #eee;
  }
  .change-stats span {
    color: #333;
  }
}
:root {
  --paper: #f6f5f0;
  --forest: #163e32;
  --lime: #daec94;
  --ink: #1f2824;
  --white: #fff;
  --line: #dfe3da;
  --soft: #eaf0e8;
  --muted: #5a655e;
  --amber: #a95a28;
  --red: #a93939;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 42px;
  margin-bottom: 18px;
}
h2 {
  font-size: 26px;
  margin-bottom: 14px;
}
h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
p {
  color: var(--muted);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.skip {
  position: absolute;
  top: -90px;
  z-index: 5;
  background: var(--lime);
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 232px;
  flex-shrink: 0;
  padding: 32px 22px 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.3px;
  color: var(--forest);
  margin-bottom: 56px;
  gap: 8px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px 10px 10px 2px;
  background: var(--forest);
  color: var(--lime);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
}
.brand-dot {
  font-size: 10px;
  align-self: flex-start;
  margin-top: 7px;
  margin-left: -3px;
}
.workspace-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--muted);
  padding: 0 12px;
  margin-bottom: 14px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 500;
}
.sidebar nav a[aria-current] {
  color: var(--forest);
  background: var(--soft);
}
.sidebar nav a:hover {
  background: var(--paper);
}
.sidebar nav span {
  font-size: 19px;
  line-height: 1;
}
.sidebar-note {
  margin-top: auto;
  padding: 26px 12px 22px;
}
.tiny-leaf {
  display: grid;
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 14px;
  color: var(--forest);
}
.sidebar-note strong {
  font-weight: 550;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar-note p {
  font-size: 12px;
  margin: 9px 0 0;
}
.subtle-link {
  font-size: 11px;
  color: var(--muted);
  padding: 10px 12px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}
.workspace {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topbar > span:first-child {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--muted);
  font-weight: 600;
}
.badge {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1px;
  line-height: 1.3;
  white-space: nowrap;
  padding: 7px 10px;
  background: var(--soft);
  color: var(--forest);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}
.badge.amber {
  background: #f6eadf;
  color: #86431d;
}
.badge.quiet {
  background: #eceee8;
  color: var(--muted);
}
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 44px 48px;
  min-height: calc(100vh - 142px);
}
footer {
  padding: 20px 44px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 11px;
}
footer a {
  margin-left: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 35px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.3px;
  color: var(--forest);
  margin: 0 0 17px;
  line-height: 1.6;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 100%;
  background: var(--forest);
  margin-right: 6px;
  vertical-align: middle;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -2.7px;
  margin: 0 0 24px;
}
.hero h1 span {
  color: var(--forest);
}
.hero-description {
  font-size: 15px;
  line-height: 1.75;
  max-width: 370px;
  margin-bottom: 24px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  font-size: 10px;
  color: var(--muted);
}
.hero-tags span:before {
  content: '✓';
  color: var(--forest);
  padding-right: 5px;
}
.hero-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.2px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.product-art {
  height: 150px;
  margin: 16px 22px 0;
  background: #eef0e5;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
}
.table-top {
  position: absolute;
  left: calc(50% - 73px);
  top: 39px;
  width: 146px;
  height: 45px;
  background: #b69772;
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow: 0 8px 0 #8b7052;
  z-index: 2;
}
.table-leg {
  position: absolute;
  top: 69px;
  width: 12px;
  height: 57px;
  background: #a88a66;
  transform: rotate(8deg);
  z-index: 1;
}
.table-leg.left {
  left: calc(50% - 51px);
}
.table-leg.right {
  left: calc(50% + 40px);
  transform: rotate(-8deg);
}
.art-orbit {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px solid #d5ddc2;
  border-radius: 100%;
  top: -23px;
  right: -20px;
}
.preview-product {
  padding: 17px 22px 9px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.preview-product h2 {
  font-size: 21px;
  margin: 7px 0;
}
.preview-product p {
  font-size: 11px;
  margin: 0;
}
.mini-list {
  padding: 0 22px 14px;
}
.mini-finding {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  font-size: 11px;
}
.mini-finding > span:last-child {
  margin-left: auto;
}
.finding-number {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--soft);
  border-radius: 6px;
  font-size: 9px;
  color: var(--forest);
}
.finding-number.amber {
  background: #f6eadf;
  color: var(--amber);
}
.mini-finding strong {
  font-size: 11px;
  font-weight: 550;
}
.mini-finding p {
  margin: 2px 0 0;
  font-size: 10px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.audit-start h2 {
  margin-bottom: 8px;
}
.audit-start > .eyebrow {
  margin-bottom: 10px;
}
.audit-start p {
  font-size: 13px;
}
.audit-start form {
  margin-top: 22px;
}
label {
  display: block;
  font-weight: 550;
  font-size: 12px;
  margin-bottom: 8px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bcc5b9;
  border-radius: 7px;
  padding: 12px 13px;
  min-height: 46px;
  background: #fff;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #68736b;
  font-size: 12px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
select {
  appearance: auto;
}
input[readonly] {
  background: var(--paper);
  font-family: ui-monospace, monospace;
  font-size: 11px;
}
.input-action {
  display: flex;
  gap: 12px;
}
.input-action input {
  flex: 1;
  min-width: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 46px;
  border: 1px solid var(--forest);
  border-radius: 7px;
  padding: 11px 18px;
  color: white;
  background: var(--forest);
  text-decoration: none;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  line-height: 1.6;
}
.button:hover:not(:disabled) {
  background: #245442;
}
.button.secondary {
  background: transparent;
  color: var(--forest);
  border-color: #b4bfb3;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.full {
  width: 100%;
}
.paste-option {
  margin-top: 15px;
}
.paste-option summary {
  font-size: 11px;
  color: var(--muted);
}
summary {
  cursor: pointer;
  min-height: 30px;
  line-height: 1.7;
  font-weight: 500;
}
details[open] > summary {
  margin-bottom: 14px;
}
.paste-option label {
  margin-top: 16px;
}
.field-help {
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0;
}
.hint {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0;
}
.audit-footnote {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}
.audit-footnote a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 32px;
}
.steps article {
  padding: 8px 0;
}
.steps span {
  display: block;
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
  margin-bottom: 15px;
}
.steps h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.steps p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading .eyebrow {
  margin-bottom: 13px;
}
.page-heading > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.topbar .badge {
  align-self: center;
}
.lede {
  font-size: 14px;
  margin: 0;
  max-width: 640px;
}
.audit-summary {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 32px;
}
.summary-product {
  min-width: 0;
}
.summary-product h2 {
  font-size: 25px;
  margin-top: 12px;
  margin-bottom: 9px;
}
.url-text {
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 0;
}
.summary-product .field-help {
  margin-bottom: 0;
}
.summary-count {
  text-align: right;
  min-width: 150px;
  flex-shrink: 0;
}
.summary-count strong {
  display: block;
  font-size: 60px;
  line-height: 1;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -3px;
}
.summary-count span {
  font-size: 12px;
}
.summary-count p {
  font-size: 10px;
  margin: 8px 0 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.section-title h2 {
  font-size: 20px;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.findings {
  display: grid;
  gap: 13px;
}
.finding {
  display: flex;
  gap: 20px;
  padding: 23px;
}
.finding-index {
  font:
    12px ui-monospace,
    monospace;
  color: var(--muted);
  padding-top: 3px;
}
.finding-content {
  min-width: 0;
  flex: 1;
}
.finding-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.finding-meta > span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.finding h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.finding p {
  font-size: 12px;
  max-width: 650px;
  margin-bottom: 12px;
}
.finding summary {
  font-size: 11px;
  color: var(--forest);
}
.text-link {
  font-size: 11px;
  white-space: nowrap;
  align-self: flex-start;
  color: var(--forest);
  text-decoration: none;
}
.evidence-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin: 18px 0;
}
.evidence-table > div {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 15px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.evidence-table > div:last-child {
  border-bottom: 0;
}
.evidence-table code {
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
  min-width: 0;
}
.evidence-table strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
  min-width: 60px;
  text-align: right;
}
.repair-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  background: var(--forest);
  border-radius: var(--radius);
  color: white;
  margin-top: 24px;
}
.repair-cta h2 {
  font-size: 25px;
  max-width: 410px;
  margin-bottom: 12px;
}
.repair-cta p {
  color: #d9e3d8;
  font-size: 12px;
  margin-bottom: 0;
  max-width: 480px;
}
.repair-cta .eyebrow {
  color: var(--lime);
  font-size: 9px;
  margin-bottom: 15px;
}
.repair-cta strong {
  display: block;
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 15px;
}
.repair-cta strong span {
  font-size: 11px;
  font-weight: 400;
  color: #d9e3d8;
  margin-left: 5px;
}
.repair-cta .button {
  background: var(--lime);
  color: var(--forest);
  border-color: var(--lime);
}
.repair-cta .button:hover {
  background: #e7f4b7;
}
.scope {
  margin-top: 24px;
  padding: 22px 26px;
}
.scope summary {
  font-size: 12px;
}
.scope li {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.scope p {
  font-size: 11px;
}
.fingerprint {
  overflow-wrap: anywhere;
  font-size: 10px;
}
.back-link {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 26px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}
.two-columns p {
  font-size: 13px;
}
.tinted {
  background: var(--soft);
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}
.repair-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: start;
}
.repair-grid > .card > h2 {
  margin-bottom: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 20px;
}
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 0.8fr;
  gap: 10px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 400;
  margin: 26px 0 0;
}
.checkbox-label input {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--forest);
}
.checkout-card {
  border-top: 4px solid var(--forest);
}
.checkout-card h2 {
  font-size: 29px;
}
.price {
  font-size: 45px;
  font-weight: 550;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 25px 0;
}
.price span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 10px;
}
.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0;
  font-size: 12px;
  color: var(--muted);
}
.check-list li {
  padding-left: 22px;
  position: relative;
}
.check-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest);
}
.notice {
  padding: 17px 20px;
  background: var(--soft);
  border: 1px solid #cad8c4;
  border-radius: 8px;
  font-size: 12px;
  color: var(--forest);
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.notice p {
  font-size: 11px;
  margin: 6px 0 12px;
}
.notice.error {
  background: #fcf0eb;
  border-color: #e3bfb2;
  color: #883925;
}
.notice.quiet {
  background: var(--paper);
  border-color: var(--line);
  color: var(--muted);
}
.form-status:empty {
  display: none;
}
.form-status {
  font-size: 11px;
  margin: 15px 0 0;
  color: var(--forest);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-grid .card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pricing-grid h2 {
  margin-top: 22px;
}
.pricing-grid .eyebrow + h2 {
  margin-top: 0;
}
.pricing-grid .price {
  margin-top: 6px;
}
.pricing-grid p {
  font-size: 12px;
}
.pricing-grid .button {
  margin-top: auto;
}
.pricing-grid .featured {
  border: 2px solid var(--forest);
  background: #fcfdf8;
}
.pricing-grid .upcoming {
  background: #eeeee7;
}
.empty-state {
  text-align: center;
  padding: 60px 30px;
}
.empty-state p {
  max-width: 520px;
  margin: 0 auto 25px;
  font-size: 13px;
}
.empty-icon {
  font-size: 35px;
  background: var(--soft);
  border-radius: 100%;
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  color: var(--forest);
}
.pack-preview {
  margin-top: 25px;
  font-size: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 20px;
  background: var(--paper);
  border-radius: 8px;
  font-size: 11px;
}
.verification {
  margin-top: 24px;
}
.verification ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
}
.verification li {
  margin-bottom: 12px;
}
.verification form > .button {
  margin-top: 20px;
}
.prose {
  max-width: 780px;
}
.prose h2 {
  font-size: 22px;
  margin-top: 32px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  font-size: 13px;
  line-height: 1.9;
}
@media (min-width: 1500px) {
  .hero h1 {
    font-size: 64px;
  }
  .hero-description {
    max-width: 430px;
  }
  .product-art {
    height: 180px;
  }
  .table-top {
    top: 55px;
  }
  .table-leg {
    top: 85px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 196px;
    padding-inline: 16px;
  }
  .main {
    padding: 32px;
  }
  .topbar {
    padding-inline: 32px;
  }
  .hero {
    gap: 25px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-tags {
    font-size: 9px;
    gap: 7px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .pricing-grid {
    gap: 14px;
  }
  .pricing-grid .card {
    padding: 20px;
  }
  .pricing-grid .price {
    font-size: 38px;
  }
  .repair-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .dimension-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    padding: 24px;
  }
  .finding {
    padding: 20px;
  }
  .finding > .text-link {
    display: none;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 174px;
    padding-inline: 12px;
  }
  .sidebar nav a {
    font-size: 12px;
    gap: 8px;
    padding-inline: 10px;
  }
  .brand {
    font-size: 24px;
    gap: 6px;
  }
  .workspace-label {
    font-size: 8px;
  }
  .main {
    padding: 28px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero h1 br:last-child {
    display: none;
  }
  .hero-description {
    max-width: 500px;
  }
  .hero-preview {
    display: none;
  }
  .hero-tags {
    font-size: 10px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .two-columns,
  .repair-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid .card {
    padding: 28px;
  }
  .pricing-grid h2 {
    margin-top: 14px;
  }
  .pricing-grid .check-list {
    margin: 10px 0 24px;
  }
  .steps {
    gap: 18px;
  }
  .audit-footnote {
    flex-direction: column;
  }
  .repair-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .repair-cta > div:last-child {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .repair-cta strong {
    margin: 0;
  }
  .dimension-grid {
    grid-template-columns: repeat(3, 1fr) 0.8fr;
  }
  .topbar {
    padding-inline: 28px;
  }
  .topbar > span:first-child {
    font-size: 8px;
  }
  .summary-count {
    min-width: 100px;
  }
  .summary-count strong {
    font-size: 50px;
  }
  footer {
    padding-inline: 28px;
    gap: 12px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 13px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 100%;
    padding: 17px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .brand {
    font-size: 25px;
    margin: 0 0 17px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .workspace-label,
  .sidebar-note,
  .subtle-link {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    justify-content: space-between;
  }
  .sidebar nav a {
    font-size: 10px;
    min-height: 36px;
    padding: 8px 10px;
    gap: 6px;
  }
  .sidebar nav span {
    font-size: 15px;
  }
  .topbar {
    height: 49px;
    padding: 0 20px;
  }
  .topbar > span:first-child {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .badge {
    font-size: 8px;
    padding: 6px 8px;
    letter-spacing: 0.6px;
  }
  .main {
    padding: 28px 20px 32px;
    min-height: calc(100vh - 240px);
  }
  .hero {
    margin-bottom: 26px;
    gap: 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2px;
    line-height: 1.04;
    margin-bottom: 21px;
  }
  .hero h1 br:last-child {
    display: block;
  }
  .hero-description {
    font-size: 13px;
    line-height: 1.8;
    max-width: 330px;
    margin-bottom: 18px;
  }
  .hero-tags {
    font-size: 8px;
    gap: 6px 10px;
  }
  .card {
    padding: 22px;
    border-radius: 12px;
  }
  .audit-start .eyebrow {
    font-size: 8px;
    margin-bottom: 10px;
  }
  .audit-start h2 {
    font-size: 23px;
  }
  .audit-start p {
    font-size: 11px;
  }
  .audit-start form {
    margin-top: 20px;
  }
  .input-action {
    flex-direction: column;
    gap: 10px;
  }
  .input-action .button {
    width: 100%;
  }
  .input-action input {
    font-size: 12px;
  }
  .paste-option summary {
    font-size: 10px;
  }
  .audit-footnote {
    font-size: 10px;
    gap: 12px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 19px;
  }
  .steps article {
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0 8px;
  }
  .steps span {
    grid-row: 1/3;
    margin-top: 3px;
  }
  .steps h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .steps p {
    font-size: 11px;
  }
  .steps article:last-child {
    border: 0;
  }
  .page-heading {
    margin-bottom: 25px;
    gap: 15px;
  }
  .page-heading h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
    margin-bottom: 14px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .lede {
    font-size: 12px;
  }
  .audit-summary {
    display: block;
    padding: 22px;
    margin-bottom: 25px;
  }
  .summary-product h2 {
    font-size: 22px;
  }
  .summary-product .field-help {
    font-size: 9px;
  }
  .summary-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
  }
  .summary-count strong {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .summary-count span {
    font-size: 12px;
  }
  .summary-count p {
    width: 100%;
    margin: 2px 0 0;
  }
  .section-title h2 {
    font-size: 19px;
  }
  .section-title > span {
    font-size: 9px;
  }
  .finding {
    gap: 12px;
    padding: 20px;
  }
  .finding-index {
    font-size: 10px;
  }
  .finding h3 {
    font-size: 18px;
  }
  .finding-meta {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 13px;
  }
  .finding-meta > span:last-child {
    font-size: 9px;
  }
  .finding p {
    font-size: 11px;
    line-height: 1.8;
  }
  .finding summary {
    font-size: 10px;
  }
  .evidence-table > div {
    display: block;
    padding: 12px;
  }
  .evidence-table code {
    display: block;
    font-size: 9px;
    margin-bottom: 7px;
  }
  .evidence-table strong {
    display: block;
    text-align: left;
    font-size: 11px;
  }
  .repair-cta {
    padding: 24px;
    gap: 20px;
  }
  .repair-cta h2 {
    font-size: 24px;
  }
  .repair-cta p {
    font-size: 11px;
  }
  .repair-cta > div:last-child {
    display: block;
    width: 100%;
  }
  .repair-cta strong {
    margin-bottom: 18px;
    font-size: 31px;
  }
  .repair-cta .button {
    width: 100%;
  }
  .scope {
    padding: 20px;
  }
  .scope summary {
    font-size: 10px;
  }
  .back-link {
    margin-bottom: 22px;
    font-size: 10px;
  }
  .form-grid {
    gap: 12px;
  }
  .dimension-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .form-grid input {
    min-width: 0;
  }
  .notice {
    font-size: 11px;
    padding: 16px;
  }
  .two-columns {
    gap: 16px;
  }
  .two-columns h2 {
    font-size: 23px;
  }
  .two-columns p {
    font-size: 12px;
  }
  .checkout-card h2 {
    font-size: 29px;
  }
  .pricing-grid .card {
    padding: 24px;
  }
  .empty-state {
    padding: 40px 22px;
  }
  .empty-state h2 {
    font-size: 25px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .prose p {
    font-size: 12px;
  }
  footer {
    padding: 20px;
    font-size: 10px;
    justify-content: space-between;
  }
  footer a {
    margin: 0;
  }
  .verification h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background 0.15s ease;
  }
  .sidebar nav a {
    transition: background 0.15s ease;
  }
}

.catalog-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.catalog-summary .card {
  padding: 22px;
}
.catalog-summary strong {
  display: block;
  font-size: 36px;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -1px;
}
.catalog-summary span {
  color: var(--muted);
  font-size: 12px;
}
.add-product {
  margin-bottom: 28px;
}
.add-product > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
}
.add-product form,
.import-form form {
  margin-top: 24px;
}
.add-product button,
.product-scan button,
.import-form button {
  margin-top: 18px;
}
.catalog-filters {
  display: grid;
  grid-template-columns: 1fr 210px auto;
  gap: 16px;
  align-items: end;
  margin: 28px 0;
}
.catalog-filters input,
.catalog-filters select {
  margin-bottom: 0;
}
.catalog-list {
  display: grid;
  gap: 14px;
}
.catalog-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.catalog-main {
  min-width: 0;
}
.catalog-row h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  overflow-wrap: anywhere;
}
.catalog-row h3 a {
  text-decoration: none;
}
.catalog-row h3 a:hover {
  text-decoration: underline;
}
.catalog-row p {
  margin-bottom: 0;
}
.catalog-row > .button {
  flex-shrink: 0;
}
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.catalog-meta > span:not(.badge) {
  font-size: 11px;
  color: var(--muted);
}
.catalog-row .field-help {
  margin-top: 8px;
}
.scan-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 12px;
}
.workspace-privacy {
  margin-top: 28px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.pagination > span {
  color: var(--muted);
  font-size: 12px;
}
.import-form,
.import-review,
.product-scan {
  margin-bottom: 28px;
}
.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
}
.import-review table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}
.import-review th,
.import-review td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.import-review th:first-child {
  width: 55px;
}
.import-review th:last-child {
  width: 35%;
}
.import-review th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.import-review td {
  font-size: 13px;
}
.import-review td p {
  margin: 8px 0 0;
  font-size: 12px;
}
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.csv-picker {
  margin-bottom: 20px;
}
.product-scan form {
  margin-top: 18px;
}
.product-scan + .section-title {
  margin-top: 32px;
}
@media (max-width: 1000px) {
  .catalog-filters {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-filters > button {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .catalog-row {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .catalog-row > .button {
    align-self: flex-start;
  }
}
@media (max-width: 600px) {
  .sidebar nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .sidebar nav a {
    flex: 1 0 30%;
  }
  .catalog-summary {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .catalog-summary .card {
    padding: 18px;
  }
  .catalog-summary strong {
    font-size: 29px;
  }
  .catalog-summary span {
    font-size: 10px;
  }
  .catalog-filters {
    grid-template-columns: 1fr;
  }
  .import-review table {
    min-width: 520px;
  }
  .product-scan h2 {
    font-size: 24px;
  }
}

.growth-section {
  margin-top: 26px;
}
.growth-section form > button {
  margin-top: 18px;
}
.growth-section textarea[readonly] {
  background: var(--paper);
}

.change-hero .change-preview {
  display: block;
}
@media (max-width: 900px) {
  .change-hero .change-preview {
    margin-top: 32px;
    max-width: 600px;
  }
}

.period-input {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.period-input > summary {
  cursor: pointer;
  font-weight: 700;
}
.period-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  margin: 20px 0;
}
.period-totals article {
  background: var(--soft);
  padding: 20px;
  border-radius: 12px;
}
.period-totals span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.period-totals strong {
  display: block;
  font-size: 28px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.period-totals p {
  margin: 0;
  font-size: 12px;
}
.period-priorities {
  padding: 0;
  list-style: none;
}
.period-priorities li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.period-priorities a {
  overflow-wrap: anywhere;
}
.period-item {
  margin: 20px 0;
  padding: 16px;
  background: var(--paper);
  border-radius: 10px;
}
.period-item .eyebrow {
  margin-bottom: 6px;
}
.review-account {
  overflow-wrap: anywhere;
}

.catalog-mapping {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.catalog-mapping summary {
  cursor: pointer;
  font-weight: 700;
}
.mapping-field {
  margin: 12px 0;
}
.mapping-field input {
  margin-top: 8px;
}
.catalog-mapping .table-scroll {
  max-height: 300px;
  margin: 16px 0;
}
.catalog-mapping td {
  max-width: 240px;
  overflow-wrap: anywhere;
}
.snapshot-mapper {
  min-width: 0;
}
.snapshot-mapper [data-map-paste] {
  margin-top: 10px;
}
.catalog-mapping [data-map-preview] {
  margin: 16px 0;
  padding: 12px;
  background: white;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}

.snapshot-files {
  display: grid;
  gap: 24px;
}
.snapshot-mapper {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
[data-map-fields] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.catalog-mapping table {
  min-width: 1100px;
  width: 100%;
}
.catalog-mapping th,
.catalog-mapping td {
  padding: 10px 12px;
  white-space: nowrap;
}
.catalog-mapping .table-scroll {
  overflow-x: auto;
}
@media (max-width: 600px) {
  [data-map-fields] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.review-record-help p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 78ch;
}

/* A short handoff from the worked sample to an authorized first review. */
.review-prep {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  list-style-position: inside;
}
.review-prep li {
  min-width: 0;
  border-top: 1px solid var(--border, #d7e0d9);
  padding-top: 16px;
}
.review-prep p {
  font-size: 0.94rem;
}
.review-start .button {
  white-space: normal;
}
@media (max-width: 900px) {
  .review-prep {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
