:root {
  --brand: #0f6f68;
  --brand-dark: #073f3d;
  --brand-soft: #e4f3f1;
  --accent: #d9b45f;
  --ink: #111918;
  --muted: #62706f;
  --line: #d7e1df;
  --surface: #ffffff;
  --page: #f3f6f5;
  --warn: #a15c15;
  --danger: #a83232;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fbfcfc;
  color: var(--ink);
}

html,
body {
  overflow-x: hidden;
}

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

button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.78rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 60, 57, 0.16);
}

button:hover,
.upload-button:hover {
  filter: brightness(0.96);
}

button.ghost {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.is-hidden {
  display: none !important;
}

.marketing-screen {
  min-height: 100vh;
  background: #fbfcfc;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 24, 24, 0.72), rgba(4, 24, 24, 0));
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 850;
  font-size: 1.04rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
}

.site-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-actions button,
.hero-actions button,
.dashboard-copy button,
.cta-band button {
  min-height: 44px;
}

.nav-signin,
.light-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px 32px 42px;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 18, 0.9) 0%, rgba(3, 18, 18, 0.66) 38%, rgba(3, 18, 18, 0.18) 74%),
    linear-gradient(180deg, rgba(3, 18, 18, 0.26), rgba(3, 18, 18, 0.52));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-bottom: 76px;
}

.hero .eyebrow,
.cta-band .eyebrow {
  color: #f4d783;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: 4.8rem;
  line-height: 0.94;
  text-wrap: balance;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.62;
}

.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  min-height: 116px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: rgba(4, 26, 26, 0.34);
}

.hero-metrics strong {
  font-size: 1.7rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #51615f;
  font-weight: 800;
  text-align: center;
  padding: 16px;
}

.marketing-section,
.image-story,
.dashboard-band,
.trust-section,
.cta-band {
  padding: 86px 32px;
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.section-copy h2,
.story-copy h2,
.dashboard-copy h2,
.trust-section h2,
.cta-band h2 {
  margin-bottom: 18px;
  font-size: 3.15rem;
  line-height: 1;
  text-wrap: balance;
}

.section-copy p,
.story-copy p,
.dashboard-copy p,
.trust-grid p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.62;
}

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

.feature-grid article,
.trust-grid article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(24, 38, 36, 0.06);
}

.feature-grid span {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
}

.image-story,
.dashboard-band {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 46px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.image-story figure,
.dashboard-band figure {
  margin: 0;
  min-width: 0;
}

.image-story img,
.dashboard-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(20, 36, 34, 0.14);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #344341;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 3px, transparent 4px),
    var(--brand);
}

.dashboard-band {
  max-width: none;
  background: #071d1d;
  color: #fff;
}

.dashboard-band > * {
  max-width: 1240px;
}

.dashboard-copy {
  justify-self: end;
  width: min(520px, 100%);
}

.dashboard-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-copy .eyebrow {
  color: #f4d783;
}

.dashboard-band figure {
  width: min(720px, 100%);
}

.trust-section {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 44px;
}

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

.trust-grid article {
  min-height: 220px;
}

.cta-band {
  margin: 0 32px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #082423, #125e5b);
  border-radius: 8px;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.cta-band button {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: none;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(18, 94, 91, 0.84), rgba(13, 37, 53, 0.78)),
    url("./assets/claims-review.png") center / cover;
}

.login-panel {
  position: relative;
  width: min(440px, 100%);
  background: rgba(255, 255, 255, 0.96);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(8, 30, 36, 0.28);
}

.close-login {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  background: #f3f6f5;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.mark,
.agency-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.eyebrow {
  margin: 18px 0 6px;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 10px;
  font-size: 3.2rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: 2.05rem;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.intro {
  color: var(--muted);
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.login-error {
  min-height: 1.1rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 750;
}

.login-personas {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.persona-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.persona-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.persona-card.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 0.78rem 0.82rem;
  outline: none;
}

textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand-soft) 62%, transparent), transparent 34rem),
    linear-gradient(180deg, #fbfcfc 0, var(--page) 24rem);
}

.sidebar {
  background: rgba(255, 255, 255, 0.9);
  border-right: 1px solid var(--line);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  backdrop-filter: blur(16px);
}

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

.brand-lockup p {
  margin: 0;
  font-weight: 800;
}

.brand-lockup span,
.status-card small,
.section-head p,
.report-grid span,
.report-meta-strip span,
.report-status span,
.report-section-title span,
.signoff-grid span,
.cost-box span,
.report-summary aside span {
  color: var(--muted);
  font-size: 0.82rem;
}

.agency-select select {
  margin-top: 4px;
  min-height: 44px;
}

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

.nav-item {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  box-shadow: none;
  padding: 0.86rem 1rem;
}

.nav-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: color-mix(in srgb, var(--brand) 25%, transparent);
}

.status-card {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    var(--brand-soft);
}

.status-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-card strong {
  font-size: 1.05rem;
}

.account-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.account-card strong {
  color: var(--brand-dark);
}

.account-card small {
  color: var(--muted);
  line-height: 1.35;
}

.main {
  min-width: 0;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.topbar .eyebrow {
  margin-top: 0;
  margin-bottom: 8px;
}

.top-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.topbar-copy {
  min-width: 280px;
}

.topbar-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.panel {
  display: none;
  padding: 28px 30px 44px;
}

.panel.is-active {
  display: grid;
  gap: 20px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.section-block,
.report-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(24, 38, 36, 0.06);
}

.dashboard-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    var(--brand-soft);
  box-shadow: 0 18px 44px rgba(24, 38, 36, 0.06);
}

.dashboard-hero-card h3 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.dashboard-hero-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.52;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-metrics article {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(24, 38, 36, 0.05);
}

.admin-metrics span,
.claims-table small,
.policy-fields span,
.extract-empty,
.timeline span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-metrics strong {
  font-size: 1.55rem;
}

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

.admin-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.claims-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8faf9;
  font-weight: 750;
}

.claim-row {
  display: grid;
  grid-template-columns: minmax(128px, 1.05fr) minmax(110px, 0.8fr) minmax(114px, 0.86fr) minmax(128px, 0.92fr) minmax(138px, 0.94fr);
  gap: 0;
  width: 100%;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.claim-row:last-child {
  border-bottom: 0;
}

.claim-row.is-head {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.claim-row span {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 62px;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  line-height: 1.3;
}

.claim-row.is-head span {
  min-height: 40px;
  border-right-color: rgba(255, 255, 255, 0.18);
}

.claim-row span:last-child {
  border-right: 0;
}

.policy-uploader {
  align-self: start;
}

.upload-drop {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 154px;
  padding: 20px;
  border: 1px dashed color-mix(in srgb, var(--brand) 44%, var(--line));
  border-radius: 8px;
  background: #f8faf9;
  color: var(--brand-dark);
  text-align: center;
  cursor: pointer;
}

.upload-drop input {
  display: none;
}

.upload-drop span {
  color: var(--muted);
}

.extracted-policy {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.extracted-policy.is-ready {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  background: var(--brand-soft);
}

.extract-banner {
  display: grid;
  gap: 4px;
}

.extract-banner span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.policy-fields div {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.policy-fields strong {
  line-height: 1.28;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  position: relative;
  display: grid;
  gap: 5px;
  padding-left: 28px;
}

.timeline div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
}

.timeline .is-done::before {
  border-color: var(--brand);
  background: var(--brand);
}

.inspection-summary {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(160px, 1fr));
  gap: 14px;
}

.inspection-summary > div {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  border-radius: 8px;
  min-height: 104px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.inspection-summary span,
.section-title p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.inspection-summary strong {
  font-size: 1.2rem;
}

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

.progress-track {
  height: 7px;
  background: rgba(10, 56, 54, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.section-title h3,
.section-title p {
  margin: 0;
}

.section-title p {
  margin-top: 5px;
  line-height: 1.4;
}

.pill {
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.span-2 {
  grid-column: 1 / -1;
}

.checklist,
.automation-list,
.quick-notes {
  display: grid;
  gap: 10px;
}

.check-item,
.automation-list label,
.note-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.25;
}

.check-item:has(input:checked) {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  background: var(--brand-soft);
}

.check-item input {
  accent-color: var(--brand);
}

.check-item input,
.automation-list input {
  width: auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head p {
  margin: -8px 0 0;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.upload-button input {
  display: none;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.photo-card img,
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}

.photo-meta {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.photo-meta select {
  padding: 0.55rem;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-weight: 800;
}

.note-chip {
  cursor: pointer;
}

.note-chip.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.report-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.report-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 54%, #fff), #fff 58%),
    #fff;
}

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

.report-header p {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}

.report-header h3 {
  margin: 2px 0 3px;
  font-size: 1.5rem;
}

.report-header span {
  color: var(--muted);
}

.report-status {
  margin-left: auto;
  min-width: 190px;
  display: grid;
  gap: 5px;
  text-align: right;
}

.report-status strong {
  color: var(--brand-dark);
}

.report-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.report-meta-strip div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}

.report-meta-strip div:last-child {
  border-right: 0;
}

.report-section {
  margin: 0;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.report-section:last-child {
  border-bottom: 0;
}

.report-section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.report-section-title h4,
.report-summary h4,
.report-recommendation h4 {
  margin: 0;
}

.report-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: stretch;
  background: #fbfcfc;
}

.report-summary aside,
.cost-box {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: var(--brand-soft);
}

.report-summary aside strong,
.cost-box strong {
  font-size: 1.2rem;
  color: var(--brand-dark);
}

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

.report-grid div {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.report-grid strong,
.report-meta-strip strong,
.signoff-grid strong {
  line-height: 1.25;
}

.policy-cover-grid div:last-child {
  grid-column: span 2;
}

.evidence-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.evidence-row {
  display: grid;
  grid-template-columns: 72px minmax(140px, 0.85fr) minmax(180px, 1.15fr) minmax(190px, 1fr) 116px;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row.is-head {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-row span {
  padding: 12px;
  border-right: 1px solid var(--line);
  line-height: 1.35;
}

.evidence-row.is-head span {
  color: #fff;
  border-right-color: rgba(255, 255, 255, 0.18);
}

.evidence-row span:last-child {
  border-right: 0;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  font-style: normal;
  border-radius: 999px;
  padding: 0.24rem 0.5rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.report-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 22px;
}

.report-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.exception-list li {
  border-color: color-mix(in srgb, var(--warn) 30%, var(--line));
  background: #fff9f1;
}

.exception-list li.is-clear {
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
  background: var(--brand-soft);
}

.report-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: stretch;
  background: #fbfcfc;
}

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

.signoff-grid div {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.report-shell p,
.report-shell li,
.evidence-row span {
  color: #384443;
}

.report-shell p,
.report-shell li {
  line-height: 1.58;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 2px;
  }

  .site-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: 940px;
    padding: 188px 18px 26px;
  }

  .hero-content {
    margin-bottom: 34px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .hero-metrics,
  .logo-strip,
  .feature-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .platform-band,
  .image-story,
  .dashboard-band,
  .trust-section {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .dashboard-copy {
    justify-self: start;
  }

  .section-copy h2,
  .story-copy h2,
  .dashboard-copy h2,
  .trust-section h2,
  .cta-band h2 {
    font-size: 2.35rem;
  }

  .cta-band {
    margin: 0 18px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band button {
    width: 100%;
  }

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

  .sidebar {
    position: static;
    height: auto;
  }

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

  .nav-item {
    text-align: center;
  }

  .grid.two,
  .field-grid,
  .admin-grid,
  .admin-metrics,
  .policy-fields,
  .report-grid,
  .report-meta-strip,
  .report-summary,
  .report-columns,
  .report-recommendation,
  .signoff-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-card {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-hero-card button {
    width: 100%;
  }

  .policy-cover-grid div:last-child {
    grid-column: auto;
  }

  .claim-row,
  .claim-row.is-head {
    grid-template-columns: 1fr;
  }

  .claim-row.is-head {
    display: none;
  }

  .claim-row span {
    grid-template-columns: 118px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .claim-row span::before {
    color: var(--muted);
    font-weight: 850;
  }

  .claim-row span:nth-child(1)::before {
    content: "Claim";
  }

  .claim-row span:nth-child(2)::before {
    content: "Client";
  }

  .claim-row span:nth-child(3)::before {
    content: "Policy";
  }

  .claim-row span:nth-child(4)::before {
    content: "Status";
  }

  .claim-row span:nth-child(5)::before {
    content: "Owner";
  }

  .claim-row span:last-child {
    border-bottom: 0;
  }

  .report-status {
    margin-left: 0;
    text-align: left;
  }

  .report-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-meta-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .evidence-row.is-head {
    display: none;
  }

  .evidence-row span {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-row span::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 850;
  }

  .evidence-row span:last-child {
    border-bottom: 0;
  }

  .topbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
  }

  .top-actions button {
    flex: 1;
  }
}

@media (max-width: 1180px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

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

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

  .span-2 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-brand span:last-child {
    font-size: 0.98rem;
  }

  .site-actions button,
  .hero-actions button {
    flex: 1;
    min-width: 0;
  }

  .hero {
    min-height: 880px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .marketing-section,
  .image-story,
  .dashboard-band,
  .trust-section,
  .cta-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .feature-grid article,
  .trust-grid article {
    min-height: 0;
  }

  .login-panel {
    padding: 28px 22px 24px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .panel,
  .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sidebar {
    padding-left: 18px;
    padding-right: 18px;
  }

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

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

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .top-actions button {
    min-width: 0;
    width: 100%;
  }

  #generateBtn {
    grid-column: auto;
  }
}

@media print {
  .sidebar,
  .topbar,
  .nav {
    display: none !important;
  }

  .workspace {
    display: block;
  }

  .panel {
    display: none !important;
  }

  #panel-report {
    display: block !important;
    padding: 0;
  }

  .report-shell {
    border: 0;
    box-shadow: none;
  }

  .report-header {
    padding: 0 0 14px;
    background: #fff;
  }

  .report-section,
  .report-meta-strip div {
    padding: 12px 0;
  }

  .report-meta-strip,
  .report-section {
    break-inside: avoid;
  }

  .report-grid,
  .report-meta-strip,
  .report-summary,
  .report-columns,
  .report-recommendation,
  .signoff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-summary > div,
  .report-recommendation > div:first-child {
    grid-column: 1 / -1;
  }

  .evidence-row {
    grid-template-columns: 54px 1fr 1.1fr 1.1fr 86px;
    font-size: 0.82rem;
  }

  .evidence-row span {
    padding: 8px;
  }
}

@media print and (max-width: 900px) {
  .report-grid,
  .report-meta-strip,
  .report-summary,
  .report-columns,
  .report-recommendation,
  .signoff-grid {
    grid-template-columns: 1fr;
  }
}
