/* =========================================================
   BADGER BUSINESS COMPASS — DESIGN SYSTEM
   Clean replacement stylesheet
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f3ed;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --text: #17201b;
  --muted: #66706a;

  --primary: #177554;
  --primary-dark: #0f5f43;
  --primary-soft: #e8f2eb;

  --gold: #c79a45;
  --earth: #8a7258;
  --cream: #f7f4ed;

  --border: #dfe3dc;
  --border-strong: #cfd8d1;

  --shadow-sm: 0 8px 24px rgba(23, 32, 27, 0.06);
  --shadow-md: 0 18px 50px rgba(23, 32, 27, 0.09);
  --shadow-lg: 0 28px 80px rgba(23, 32, 27, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --content: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 117, 84, 0.08), transparent 27rem),
    linear-gradient(180deg, #f7f8f4 0%, var(--bg) 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}


/* =========================================================
   LANDING PAGE
========================================================= */

.welcome-page {
  width: 100%;
  min-height: 100vh;
  padding: 26px 24px 0;
}

.welcome-card {
  width: min(var(--content), 100%);
  margin: 0 auto 54px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}


/* =========================================================
   LANDING BRAND / TOP BAR
========================================================= */

.brand {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 34px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.brand:visited {
  color: var(--text);
}

.brand:hover {
  color: var(--primary);
}

.compass-brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}


/* =========================================================
   LANDING HERO
========================================================= */

.welcome-content {
  width: 100%;
  padding: 58px 64px 38px;
}

.welcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  gap: 54px;
  min-height: 500px;
}

.welcome-hero-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow,
.welcome-hero-text .eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.welcome-hero-text h1 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: clamp(52px, 5.25vw, 76px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.welcome-hero-text h1 span {
  color: var(--primary);
}

.welcome-hero-text .intro {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.badger-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badger-hero::before {
  position: absolute;
  z-index: 0;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(23, 117, 84, 0.08) 0%, rgba(23, 117, 84, 0.025) 58%, transparent 72%);
  content: "";
}

.badger-hero img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(23, 32, 27, 0.08));
}


/* Existing user / dashboard route */

.hero-returning-user {
  width: 100%;
  max-width: 500px;
  margin-top: 30px;
}

.hero-dashboard-button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #177554 0%, #126746 100%);
  border: 1px solid rgba(10, 86, 58, 0.35);
  border-radius: 15px;
  box-shadow: 0 13px 30px rgba(23, 117, 84, 0.18);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.hero-dashboard-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 117, 84, 0.23);
}

.hero-dashboard-button > span {
  font-size: 18px;
}


/* Backward compatibility if the older returning-user block is still present */

.returning-user {
  margin: 30px 0 0;
  padding: 22px;
  background: var(--cream);
  border: 1px solid #e4ded1;
  border-radius: 16px;
  text-align: center;
}

.returning-user-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.benefit {
  min-width: 0;
  min-height: 118px;

  display: flex;
  align-items: flex-start;
  gap: 15px;

  padding: 21px 22px;

  background: var(--surface-soft);

  border: 1px solid var(--border);
  border-radius: 17px;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.benefit:hover {
  transform: translateY(-2px);

  border-color: var(--border-strong);

  box-shadow:
    0 12px 28px rgba(23, 32, 27, 0.06);
}

.benefit-icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  flex: 0 0 34px;

  color: var(--primary);
  background: var(--primary-soft);

  border-radius: 50%;

  font-size: 14px;
  font-weight: 900;
}

.benefit > div:last-child {
  min-width: 0;
}

.benefit strong {
  display: block;

  margin: 1px 0 6px;

  color: var(--text);

  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.benefit p {
  margin: 0;

  color: var(--muted);

  font-size: 12.5px;
  line-height: 1.55;
}


/* MOBILE */

@media (max-width: 780px) {

  .benefits {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .benefit {
    min-height: auto;
  }

}

/* =========================================================
   ROLE SELECTION
========================================================= */

.role-section {
  margin-top: 38px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--border);
}

.role-title {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.role-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.role-card {
  width: 100%;
  min-height: 132px;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 25px 28px;

  color: var(--text);
  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 20px;

  text-align: left;
  text-decoration: none;
  cursor: pointer;

  box-shadow: 0 6px 20px rgba(23, 32, 27, 0.035);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  border-color: #cbd7d0;
  box-shadow: 0 15px 34px rgba(23, 32, 27, 0.08);
}


/* BUSINESS OWNER */

.role-card.primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #177554 0%,
      #126746 100%
    );

  border-color: #177554;

  box-shadow:
    0 14px 30px rgba(23, 117, 84, 0.16);
}

.role-card.primary:hover {
  box-shadow:
    0 18px 38px rgba(23, 117, 84, 0.23);
}


/* ICON */

.role-icon {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  flex: 0 0 56px;

  background: var(--primary-soft);

  border-radius: 50%;

  font-size: 25px;
}

.role-card.primary .role-icon {
  background: rgba(255, 255, 255, 0.15);
}


/* TEXT */

.role-text {
  min-width: 0;
  flex: 1;
}

.role-text strong {
  display: block;

  margin-bottom: 6px;

  font-size: 17px;
  line-height: 1.25;
}

.role-text small {
  display: block;

  max-width: 310px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.55;
}

.role-card.primary .role-text small {
  color: rgba(255, 255, 255, 0.8);
}


/* ARROW */

.role-card .arrow {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 42px;

  border-radius: 50%;

  font-size: 20px;

  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.role-card:not(.primary) .arrow {
  background: var(--cream);
  border: 1px solid #e4ded1;
}

.role-card.primary .arrow {
  background: rgba(255, 255, 255, 0.14);
}

.role-card:hover .arrow {
  transform: translateX(4px);
}


/* TRUST */

.trust-message {
  margin-top: 34px;

  color: #7a837d;

  font-size: 12px;
  text-align: center;
}


/* MOBILE */

@media (max-width: 780px) {

  .role-section {
    margin-top: 44px;
    padding-top: 32px;
  }

  .role-title {
    font-size: 18px;
  }

  .role-buttons {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: 112px;
    padding: 20px;
  }

  .role-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 22px;
  }

}
/* =========================================================
   LANDING EXTENDED SECTIONS
========================================================= */

.landing-section {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 82px 0;
}

.landing-section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.landing-section-heading h2,
.preview-content h2 {
  color: var(--text);
  font-size: clamp(31px, 4vw, 47px);
  font-weight: 830;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.landing-section-heading h2 {
  margin: 8px 0 14px;
}

.landing-section-heading p,
.preview-content > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.how-it-works,
.pricing-section {
  border-top: 1px solid var(--border);
}


/* HOW IT WORKS */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-card {
  position: relative;
  min-width: 0;
  min-height: 210px;

  padding: 30px 28px;

  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow:
    0 10px 28px rgba(23, 32, 27, 0.055);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.how-card:hover {
  transform: translateY(-3px);

  border-color: var(--border-strong);

  box-shadow:
    0 18px 38px rgba(23, 32, 27, 0.085);
}

.how-number {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 26px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #177554 0%,
      #126746 100%
    );

  border-radius: 13px;

  box-shadow:
    0 8px 18px rgba(23, 117, 84, 0.16);

  font-size: 14px;
  font-weight: 850;
}

.how-card h3 {
  margin: 0 0 11px;

  color: var(--text);

  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.how-card p {
  margin: 0;

  color: var(--muted);

  font-size: 13.5px;
  line-height: 1.65;
}

@media (max-width: 780px) {

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: auto;
  }

}


/* PRODUCT PREVIEW */

.product-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 70px;
}

.preview-content h2 {
  margin: 8px 0 17px;
}

.preview-list {
  display: grid;
  gap: 13px;
  margin: 27px 0 30px;
}

.preview-list > div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #314039;
  font-size: 14px;
  font-weight: 650;
}

.preview-list > div > span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9px;
  font-weight: 900;
}

.landing-primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(23, 117, 84, 0.13);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.landing-primary-button:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
}

.preview-window {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.preview-window-top {
  display: flex;
  gap: 7px;
  padding: 15px 18px;
  background: #f0f2ee;
  border-bottom: 1px solid var(--border);
}

.preview-window-top span {
  width: 9px;
  height: 9px;
  background: #b8c2bb;
  border-radius: 50%;
}

.preview-window-content {
  padding: 38px;
}

.preview-label {
  color: var(--primary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.preview-window-content h3 {
  margin: 12px 0 25px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.35;
}

.preview-result {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--primary-soft);
  border: 1px solid #cee0d5;
  border-radius: 14px;
}

.preview-result > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 10px;
  font-weight: 900;
}

.preview-result strong {
  color: #164d3e;
  font-size: 14px;
}

.preview-result p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 410px));
  justify-content: center;
  gap: 22px;
}

.pricing-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 21px;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(23, 117, 84, 0.13);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.pricing-name {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 10px;
}

.pricing-price strong {
  color: var(--text);
  font-size: 39px;
  line-height: 1;
}

.pricing-price span {
  color: var(--muted);
  font-size: 13px;
}

.pricing-card > p {
  min-height: 48px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.pricing-card .annual-price {
  min-height: auto;
  margin: -4px 0 20px;
  color: var(--primary);
  font-weight: 750;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 25px;
  color: #34423b;
  font-size: 14px;
  line-height: 1.5;
}

.pricing-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primary);
  font-weight: 900;
  content: "✓";
}

.pricing-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pricing-button.primary {
  color: #ffffff;
  background: var(--primary);
}

.pricing-button.secondary {
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #cee0d5;
}

.pricing-note {
  margin-top: 22px;
  color: #757e78;
  font-size: 12px;
  text-align: center;
}

/* FINAL CTA */

.landing-final-cta {
  width: min(var(--content), 100%);
  margin: 22px auto 72px;
  padding: 68px 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 20%, rgba(199, 154, 69, 0.18), transparent 15rem),
    #173f34;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.landing-final-cta .eyebrow {
  color: #b9d9ce;
}

.landing-final-cta h2 {
  margin: 10px 0 13px;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.landing-final-cta p {
  max-width: 620px;
  margin: 0 auto 27px;
  color: #d5e2dd;
  font-size: 16px;
  line-height: 1.7;
}

.landing-primary-button.light {
  color: #173f34;
  background: #ffffff;
  box-shadow: none;
}

.landing-primary-button.light:hover {
  background: #f7f4ed;
}


/* LANDING FOOTER */

.landing-footer {
  width: min(var(--content), 100%);
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--border);
}

.landing-footer .brand {
  min-height: auto;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
}

.footer-logo-image {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.footer-owner {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.landing-footer > p {
  flex: 1;
  color: #747d77;
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  color: #415048;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}


/* =========================================================
   LANDING RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
  .welcome-content {
    padding: 48px 42px 34px;
  }

  .welcome-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 32px;
  }

  .welcome-hero-text h1 {
    font-size: clamp(48px, 6vw, 66px);
  }

  .badger-hero img {
    width: min(100%, 370px);
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .welcome-page {
    padding: 0;
  }

  .welcome-card {
    margin: 0 0 42px;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: none;
  }

  .brand {
    min-height: 72px;
    padding: 14px 20px;
  }

  .compass-brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-name {
    font-size: 16px;
  }

  .welcome-content {
    padding: 38px 22px 30px;
  }

  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
  }

  .welcome-hero-text h1 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .welcome-hero-text .intro {
    font-size: 16px;
  }

  .badger-hero {
    min-height: auto;
    padding-top: 4px;
  }

  .badger-hero::before {
    width: 290px;
    height: 290px;
  }

  .badger-hero img {
    width: min(80%, 320px);
  }

  .hero-returning-user {
    max-width: 100%;
  }

  .benefits {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .benefit {
    min-height: auto;
    flex-direction: row;
  }

  .role-buttons,
  .how-grid,
  .pricing-grid,
  .product-preview {
    grid-template-columns: 1fr;
  }

  .role-section {
    margin-top: 38px;
  }

  .landing-section {
    padding: 58px 20px;
  }

  .product-preview {
    gap: 42px;
  }

  .pricing-grid {
    max-width: 520px;
    margin: 0 auto;
  }

  .landing-final-cta {
    width: calc(100% - 32px);
    margin-bottom: 46px;
    padding: 48px 22px;
    border-radius: 20px;
  }

  .landing-footer {
    width: calc(100% - 32px);
    flex-direction: column;
    text-align: center;
  }

  .landing-footer > p {
    flex: initial;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .welcome-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .welcome-hero-text h1 {
    font-size: 42px;
  }

  .hero-dashboard-button,
  .landing-primary-button {
    width: 100%;
  }

  .role-card {
    padding: 18px;
  }

  .preview-window-content,
  .how-card,
  .pricing-card {
    padding: 23px;
  }
}


/* =========================================================
   INTERNAL PAGE BRAND CONSISTENCY
========================================================= */

.app-logo-image {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.app-logo {
  color: var(--text);
  text-decoration: none;
}

.app-logo:hover {
  color: var(--primary);
}

.site-footer {
  color: var(--muted);
  background: #ffffff;
  border-top-color: var(--border);
}

.site-footer strong {
  color: #173f34;
}



/* =========================================
   APP HEADER
========================================= */

.app-body {
  background: #f5f3ed;
}

.app-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.app-logo .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.setup-label {
  color: var(--muted);
  font-size: 13px;
}


/* =========================================
   ONBOARDING
========================================= */

.onboarding-page {
  padding: 60px 20px;
}

.onboarding-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}


/* PROGRESS */

.setup-progress {
  margin-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: #dfe3dc;
  border-radius: 20px;
}

.progress-bar {
  width: 10%;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.35s ease;
}


/* QUESTION CARD */

.question-card {
  min-height: 560px;
  padding: 48px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(23, 33, 29, 0.07);
}

.back-button {
  margin-bottom: 35px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.back-button:hover {
  color: var(--primary);
}

.hidden {
  visibility: hidden;
}


/* QUESTION */

.question-heading {
  margin-bottom: 32px;
}

.question-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.question-title {
  max-width: 580px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.question-description {
  max-width: 580px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}


/* =========================================
   ANSWERS
========================================= */

.answer-options {
  display: grid;
  gap: 11px;
}

.answer-option {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.answer-option:hover {
  border-color: var(--primary);
  background: #f8fbf9;
  transform: translateY(-1px);
}

.answer-option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
}


/* RADIO */

.option-radio {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 2px solid #b8c5bf;
  border-radius: 50%;
}

.answer-option:hover .option-radio,
.answer-option.selected .option-radio {
  border: 6px solid var(--primary);
}


/* OPTION CONTENT */

.option-content {
  flex: 1;
}

.option-content strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.option-content small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.option-arrow {
  color: #8a9690;
  font-size: 19px;
}


/* =========================================
   TEXT ANSWER
========================================= */

.text-answer {
  display: grid;
  gap: 14px;
}

.text-answer input {
  width: 100%;
  height: 62px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.text-answer input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.text-answer input.input-error {
  border-color: #b74242;
}

.continue-button {
  height: 58px;
  padding: 0 25px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.continue-button:hover {
  background: var(--primary-dark);
}


/* =========================================
   HELP
========================================= */

.setup-help {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}


/* =========================================
   ONBOARDING MOBILE
========================================= */

@media (max-width: 700px) {

  .app-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .setup-label {
    display: none;
  }

  .onboarding-page {
    padding: 30px 14px;
  }

  .question-card {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 20px;
  }

  .question-title {
    font-size: 31px;
    letter-spacing: -1px;
  }

}
/* =========================================
   DASHBOARD
========================================= */

.dashboard-body {
  background: #f5f3ed;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.small-button {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.dashboard-page {
  padding: 55px 24px 90px;
}

.dashboard-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 32px;
}

.dashboard-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.dashboard-welcome h1 {
  font-size: 42px;
  letter-spacing: -1.8px;
}

.dashboard-welcome p {
  margin-top: 10px;
  color: var(--muted);
}

.business-badge {
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.business-badge-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.business-badge small,
.business-badge strong {
  display: block;
}

.business-badge small {
  color: var(--muted);
  font-size: 10px;
}

.business-badge strong {
  margin-top: 2px;
  font-size: 13px;
}


/* STATUS */

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 38px;
}

.status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

.status-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  font-weight: 900;
}

.status-card.attention .status-icon {
  background: #fff1e8;
  color: #b45309;
}

.status-card.review .status-icon {
  background: #fff8dc;
  color: #8a6500;
}

.status-card.good .status-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.status-card strong,
.status-card span {
  display: block;
}

.status-card strong {
  font-size: 15px;
}

.status-card div > span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}


/* MAIN */

.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 28px;
}

.section-heading {
  margin-bottom: 17px;
}

.section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
}


/* GUIDANCE */

.action-list {
  display: grid;
  gap: 13px;
}

.guidance-card {
  padding: 23px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: white;
}

.guidance-card.attention {
  border-left-color: #d97706;
}

.guidance-card.review {
  border-left-color: #b58a00;
}

.guidance-card.info {
  border-left-color: #447a9c;
}

.guidance-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.guidance-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.guidance-card.attention .guidance-dot {
  background: #d97706;
}

.guidance-card.review .guidance-dot {
  background: #b58a00;
}

.guidance-card h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.guidance-card > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guidance-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 17px;
}

.guidance-primary,
.why-button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.guidance-primary {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.why-button {
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
}

.guidance-why {
  display: none;
  margin-top: 17px;
  padding: 14px;
  border-radius: 11px;
  background: #f5f8f6;
}

.guidance-why.show {
  display: block;
}

.guidance-why strong {
  font-size: 11px;
}

.guidance-why p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}


/* HELP CARD */

.help-card {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding: 30px;
  border-radius: 20px;
  background: #163d31;
  color: white;
}

.help-card-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: rgba(255,255,255,0.12);
  font-size: 25px;
}

.help-card .dashboard-eyebrow {
  color: #a9dbc8;
}

.help-card h2 {
  font-size: 23px;
}

.help-card p {
  max-width: 500px;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.6;
}

.primary-action-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 17px;
  border-radius: 11px;
  background: white;
  color: #163d31;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

/* SIDEBAR */

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 15px;
}

.sidebar-card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: white;
}

.sidebar-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.sidebar-card h3 {
  font-size: 16px;
}

.sidebar-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.sidebar-card > a {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}

.sidebar-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}


/* PROFILE */

.profile-summary {
  margin-top: 15px;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ef;
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row span {
  color: var(--muted);
  font-size: 11px;
}

.profile-row strong {
  font-size: 11px;
  text-align: right;
}


/* EMPTY */

.empty-guidance {
  display: flex;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

.empty-guidance > span {
  color: var(--primary);
  font-weight: 900;
}

.empty-guidance strong {
  font-size: 14px;
}

.empty-guidance p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}


/* MOBILE */

@media (max-width: 850px) {

  .status-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .dashboard-page {
    padding: 35px 15px 70px;
  }

  .dashboard-welcome {
    display: block;
  }

  .dashboard-welcome h1 {
    font-size: 34px;
  }

  .business-badge {
    margin-top: 20px;
  }

  .header-actions > span {
    display: none;
  }

  .help-card {
    padding: 23px;
  }

}
/* =========================================
   TRANSACTION ASSISTANT
========================================= */

.close-flow,
.flow-back {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.transaction-page {
  padding: 42px 20px 80px;
}

.transaction-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.transaction-top {
  margin-bottom: 18px;
}

.flow-progress {
  height: 5px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: #dfe3dc;
}

#transactionProgress {
  width: 15%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.3s ease;
}

.transaction-card {
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow:
    0 18px 55px rgba(23,33,29,.07);
}

.transaction-heading {
  margin-bottom: 30px;
}

.transaction-title {
  max-width: 610px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.transaction-description {
  max-width: 600px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}


/* OPTIONS */

.transaction-options {
  display: grid;
  gap: 10px;
}

.transaction-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: .18s ease;
}

.transaction-option:hover {
  border-color: var(--primary);
  background: #f8fbf9;
  transform: translateY(-1px);
}

.transaction-option-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.transaction-option-text {
  flex: 1;
}

.transaction-option-text strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.transaction-option-text small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.transaction-option-arrow {
  color: #8a9690;
  font-size: 18px;
}


/* WHY */

.why-panel {
  margin-top: 14px;
  padding: 0 8px;
}

.why-question {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.why-answer {
  display: none;
  margin-top: 10px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f0f4ef;
}

.why-answer.show {
  display: block;
}

.why-answer strong {
  font-size: 11px;
}

.why-answer p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}


/* MONEY INPUT */

.money-input-wrap {
  max-width: 430px;
}

.money-input-wrap label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 750;
}

.money-input {
  height: 65px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.money-input:focus-within {
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px var(--primary-soft);
}

.money-input span {
  padding-left: 18px;
  color: var(--muted);
  font-size: 20px;
}

.money-input input {
  width: 100%;
  height: 100%;
  padding: 0 16px 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  font-weight: 750;
}

.transaction-error {
  min-height: 20px;
  margin-top: 6px;
  color: #b74242;
  font-size: 11px;
}

.transaction-main-button {
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.transaction-main-button:hover {
  background: var(--primary-dark);
}


/* RESULT */

.result-success-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

.result-breakdown {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.result-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}

.result-breakdown div:last-child {
  border-bottom: 0;
}

.result-breakdown span {
  color: var(--muted);
  font-size: 12px;
}

.result-breakdown strong {
  font-size: 13px;
}

.learning-box {
  margin-top: 20px;
  padding: 21px;
  border-radius: 15px;
  background: #f0f4ef;
}

.learning-label {
  color: var(--primary);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.2px;
}

.learning-box h3 {
  margin-top: 7px;
  font-size: 16px;
}

.learning-box p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.result-warning {
  margin-top: 18px;
  padding: 17px;
  border-radius: 13px;
  background: #fff6e8;
  border: 1px solid #f1d5a8;
}

.result-warning strong {
  font-size: 12px;
}

.result-warning p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.result-next {
  margin-top: 20px;
  padding: 20px;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: #f7faf8;
}

.result-status {
  color: var(--primary);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.result-next h3 {
  margin-top: 5px;
  font-size: 15px;
}

.result-next p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.transaction-secondary-button {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}


/* COMING SOON */

.coming-soon-screen {
  min-height: 350px;
}

.coming-soon-screen
.transaction-main-button {
  margin-top: 25px;
}


/* MOBILE */

@media (max-width: 600px) {

  .transaction-page {
    padding: 25px 13px 60px;
  }

  .transaction-card {
    padding: 28px 21px;
  }

  .transaction-title {
    font-size: 31px;
  }

  .result-actions {
    flex-direction: column;
  }

}
/* DUPLICATE WARNING */

.duplicate-warning {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #d9e2de;
  border-radius: 13px;
  background: #fbfaf7;
}

.duplicate-warning strong {
  font-size: 12px;
}

.duplicate-warning p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.duplicate-income-warning {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #efc77b;
  border-radius: 15px;
  background: #fff8e8;
}

.duplicate-income-warning .learning-label {
  color: #9a6500;
}

.duplicate-income-warning h3 {
  margin-top: 7px;
  font-size: 15px;
}

.duplicate-income-warning p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
/* =========================================
   DASHBOARD — RECENT CHECKS
========================================= */

.recent-checks-card {
  margin-top: 28px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.recent-checks-card .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.recent-checks-card .section-heading h2 {
  margin: 4px 0 0;
}

.saved-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  color: #ffffff;
  background: #173f34;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.recent-transactions {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.saved-transaction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: #fbfaf7;
  border: 1px solid #e4ebe7;
  border-radius: 14px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.saved-transaction-card:hover {
  border-color: #b7cbc1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.saved-transaction-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.saved-transaction-main > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.saved-transaction-main strong {
  color: #17201b;
  font-size: 15px;
}

.saved-transaction-main small {
  color: #68756f;
  font-size: 13px;
  line-height: 1.4;
}

.saved-transaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #173f34;
  background: #dcece4;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 800;
}

.saved-transaction-side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.saved-transaction-side > strong {
  color: #17201b;
  font-size: 16px;
  white-space: nowrap;
}

.delete-transaction {
  padding: 7px 10px;
  color: #9f3030;
  background: transparent;
  border: 1px solid #e7caca;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.delete-transaction:hover {
  color: #ffffff;
  background: #a53a3a;
  border-color: #a53a3a;
}

.recent-checks-card .primary-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   RECENT CHECKS — MOBILE
========================================= */

@media (max-width: 650px) {

  .recent-checks-card {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
  }

  .saved-transaction-card {
    align-items: flex-start;
    gap: 14px;
  }

  .saved-transaction-main {
    align-items: flex-start;
  }

  .saved-transaction-side {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .saved-transaction-main small {
    display: block;
  }

}


@media (max-width: 430px) {

  .saved-transaction-card {
    display: grid;
  }

  .saved-transaction-side {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 51px;
  }

  .recent-checks-card .primary-action-button {
    width: 100%;
  }

}
/* =========================================
   RECENT CHECKS — WIDTH FIX
========================================= */

.dashboard-main-grid,
.dashboard-main-grid > *,
.dashboard-column,
.dashboard-sidebar,
.recent-checks-card,
.recent-transactions {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.saved-transaction-card {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.saved-transaction-main {
  width: 100%;
  min-width: 0;
}

.saved-transaction-main > div {
  min-width: 0;
}

.saved-transaction-main strong,
.saved-transaction-main small {
  overflow-wrap: anywhere;
}

.saved-transaction-side {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 51px;
  box-sizing: border-box;
}

.delete-transaction {
  flex-shrink: 0;
  max-width: 100%;
}

body {
  overflow-x: hidden;
}
/* =========================================
   RESPONSIBILITIES PAGE
========================================= */

.responsibilities-page {
  min-height: calc(100vh - 76px);
  padding: 44px 24px 70px;
  background: #f5f3ed;
}

.responsibilities-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.responsibilities-header {
  max-width: 720px;
  margin: 34px 0;
}

.responsibilities-header h1 {
  margin: 8px 0 12px;
  color: #17201b;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.responsibilities-header p {
  margin: 0;
  color: #617069;
  font-size: 17px;
  line-height: 1.7;
}


/* SUMMARY */

.responsibility-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.responsibility-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 16px;
}

.responsibility-summary-card > div {
  display: grid;
  gap: 3px;
}

.responsibility-summary-card strong {
  color: #17201b;
  font-size: 22px;
}

.responsibility-summary-card span:last-child {
  color: #69766f;
  font-size: 13px;
}

.responsibility-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 800;
}

.responsibility-summary-card.owner
.responsibility-summary-icon {
  color: #177554;
  background: #e1f1e9;
}

.responsibility-summary-card.accountant
.responsibility-summary-icon {
  color: #28558c;
  background: #e8f0fa;
}

.responsibility-summary-card.review
.responsibility-summary-icon {
  color: #946d00;
  background: #fff2c7;
}


/* MAIN COLUMNS */

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.responsibility-column,
.responsibility-check-section {
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.responsibility-check-section {
  margin-top: 24px;
}

.responsibility-column .section-heading,
.responsibility-check-section .section-heading {
  margin-bottom: 20px;
}

.responsibility-column h2,
.responsibility-check-section h2 {
  margin: 5px 0 0;
  color: #17201b;
  font-size: 24px;
}


/* RESPONSIBILITY CARDS */

.responsibility-list {
  display: grid;
  gap: 12px;
}

.responsibility-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px;
  background: #fbfaf7;
  border: 1px solid #e1e8e4;
  border-radius: 14px;
}

.responsibility-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
}

.responsibility-card.owner
.responsibility-card-icon {
  color: #177554;
  background: #e1f1e9;
}

.responsibility-card.accountant
.responsibility-card-icon {
  color: #28558c;
  background: #e8f0fa;
}

.responsibility-card.review
.responsibility-card-icon {
  color: #946d00;
  background: #fff2c7;
}

.responsibility-card h3 {
  margin: 0 0 6px;
  color: #17201b;
  font-size: 16px;
  line-height: 1.35;
}

.responsibility-card p {
  margin: 0;
  color: #66706a;
  font-size: 14px;
  line-height: 1.6;
}


/* INFORMATION NOTE */

.responsibility-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 24px;
  padding: 18px 20px;
  color: #53645c;
  background: #edf4ef;
  border-radius: 14px;
}

.responsibility-note > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: #177554;
  border-radius: 50%;
  font-weight: 800;
}

.responsibility-note p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.6;
}


/* RESPONSIBILITIES — MOBILE */

@media (max-width: 850px) {

  .responsibility-summary {
    grid-template-columns: 1fr;
  }

  .responsibilities-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .responsibilities-page {
    padding: 28px 16px 50px;
  }

  .responsibilities-header {
    margin: 26px 0;
  }

  .responsibility-column,
  .responsibility-check-section {
    padding: 20px;
    border-radius: 16px;
  }

  .responsibility-card {
    padding: 14px;
  }

}
/* =========================================
   UK BUSINESS CHANGES PAGE
========================================= */

.changes-page {
  min-height: calc(100vh - 76px);
  padding: 44px 24px 70px;
  background: #f5f3ed;
}

.changes-container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.changes-header {
  position: relative;
  margin: 34px 0;
  padding-right: 250px;
}

.changes-header h1 {
  margin: 8px 0 12px;
  color: #17201b;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.changes-header > p {
  max-width: 680px;
  margin: 0;
  color: #617069;
  font-size: 17px;
  line-height: 1.7;
}

.changes-updated {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 14px;
}

.changes-updated > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #177554;
  background: #e1f1e9;
  border-radius: 10px;
  font-weight: 800;
}

.changes-updated > div {
  display: grid;
  gap: 2px;
}

.changes-updated small {
  color: #6d7973;
  font-size: 11px;
}

.changes-updated strong {
  color: #17251f;
  font-size: 13px;
}


/* SUMMARY */

.changes-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.changes-summary-card {
  display: grid;
  gap: 5px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 16px;
}

.changes-summary-card strong {
  font-size: 28px;
  line-height: 1;
}

.changes-summary-card span {
  color: #68756f;
  font-size: 13px;
}

.changes-summary-card.important {
  border-top: 4px solid #d56a14;
}

.changes-summary-card.important strong {
  color: #b45109;
}

.changes-summary-card.prepare {
  border-top: 4px solid #c09600;
}

.changes-summary-card.prepare strong {
  color: #8c6c00;
}

.changes-summary-card.information {
  border-top: 4px solid #167257;
}

.changes-summary-card.information strong {
  color: #167257;
}


/* CONTENT */

.changes-content {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.changes-content > .section-heading {
  margin-bottom: 22px;
}

.changes-content .section-heading h2 {
  margin: 5px 0 0;
  color: #17201b;
  font-size: 25px;
}

.business-changes-list {
  display: grid;
  gap: 18px;
}


/* CHANGE CARD */

.business-change-card {
  padding: 24px;
  background: #fbfcfb;
  border: 1px solid #dfe3dc;
  border-left-width: 5px;
  border-radius: 15px;
}

.business-change-card.important {
  border-left-color: #d56a14;
}

.business-change-card.prepare {
  border-left-color: #c09600;
}

.business-change-card.information {
  border-left-color: #167257;
}

.change-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.change-level {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.business-change-card.important
.change-level {
  color: #a34508;
  background: #fff0e3;
}

.business-change-card.prepare
.change-level {
  color: #806000;
  background: #fff4ca;
}

.business-change-card.information
.change-level {
  color: #08644b;
  background: #e1f1e9;
}

.change-date {
  color: #69766f;
  font-size: 13px;
  text-align: right;
}

.business-change-card > h2 {
  margin: 0 0 18px;
  color: #17201b;
  font-size: 22px;
  line-height: 1.3;
}

.change-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.change-columns > div {
  min-width: 0;
  padding: 17px;
  background: #ffffff;
  border: 1px solid #e3e9e6;
  border-radius: 12px;
}

.change-column-label {
  display: block;
  margin-bottom: 8px;
  color: #177554;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.change-columns p {
  margin: 0;
  color: #5f6d66;
  font-size: 14px;
  line-height: 1.65;
}

.change-action {
  margin: 16px 0;
  padding: 16px 18px;
  background: #f0f4ef;
  border-radius: 11px;
}

.change-action strong {
  display: block;
  margin-bottom: 5px;
  color: #164f40;
  font-size: 13px;
}

.change-action p {
  margin: 0;
  color: #53645c;
  font-size: 14px;
  line-height: 1.6;
}

.business-change-card > a {
  display: inline-flex;
  color: #177554;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.business-change-card > a:hover {
  text-decoration: underline;
}


/* DISCLAIMER */

.changes-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 22px;
  padding: 18px 20px;
  color: #53645c;
  background: #edf4ef;
  border-radius: 14px;
}

.changes-disclaimer > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: #177554;
  border-radius: 50%;
  font-weight: 800;
}

.changes-disclaimer p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.6;
}


/* CHANGES PAGE — RESPONSIVE */

@media (max-width: 800px) {

  .changes-header {
    padding-right: 0;
  }

  .changes-updated {
    position: static;
    width: fit-content;
    margin-top: 20px;
  }

  .changes-summary {
    grid-template-columns: 1fr;
  }

  .change-columns {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .changes-page {
    padding: 28px 16px 50px;
  }

  .changes-header {
    margin: 26px 0;
  }

  .changes-content {
    padding: 20px;
    border-radius: 16px;
  }

  .business-change-card {
    padding: 19px;
  }

  .change-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .change-date {
    text-align: left;
  }

}

/* =========================================
   LEGAL PAGES
========================================= */

.legal-body {
  margin: 0;
  background: #f5f3ed;
}

.legal-page {
  min-height: calc(100vh - 76px);
  padding: 44px 24px 70px;
}

.legal-container {
  width: min(880px, 100%);
  margin: 0 auto;
}

.legal-header {
  margin: 34px 0;
  padding-bottom: 30px;
  border-bottom: 1px solid #d9dfd7;
}

.legal-header h1 {
  margin: 8px 0 12px;
  color: #17201b;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08;
}

.legal-header p {
  margin: 0;
  color: #707871;
  font-size: 14px;
}


/* LEGAL CONTENT */

.legal-container > section {
  margin-bottom: 16px;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 16px;
}

.legal-container section h2 {
  margin: 0 0 13px;
  color: #17201b;
  font-size: 20px;
  line-height: 1.35;
}

.legal-container section p {
  margin: 0 0 13px;
  color: #5d6c65;
  font-size: 15px;
  line-height: 1.75;
}

.legal-container section p:last-child {
  margin-bottom: 0;
}

.legal-container section ul {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding-left: 22px;
}

.legal-container section li {
  padding-left: 5px;
  color: #5d6c65;
  font-size: 15px;
  line-height: 1.65;
}

.legal-container section li::marker {
  color: #177554;
}


/* PLACEHOLDERS */

.legal-placeholder {
  display: inline-block;
  padding: 4px 8px;
  color: #8c5d00;
  background: #fff0bd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
}


/* WARNING */

.legal-warning {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 24px;
  padding: 20px 22px;
  background: #fff4cf;
  border: 1px solid #ead28a;
  border-left: 5px solid #bb8500;
  border-radius: 13px;
}

.legal-warning strong {
  color: #725100;
  font-size: 14px;
}

.legal-warning p {
  margin: 0;
  color: #78642e;
  font-size: 13px;
  line-height: 1.6;
}


/* LEGAL LINKS */

.legal-container a:not(.flow-back) {
  color: #177554;
  font-weight: 700;
}

.legal-container a:hover {
  color: #0f5f43;
}


/* LEGAL PAGES — MOBILE */

@media (max-width: 600px) {

  .legal-page {
    padding: 28px 16px 50px;
  }

  .legal-header {
    margin: 26px 0;
  }

  .legal-container > section {
    padding: 21px 19px;
    border-radius: 14px;
  }

  .legal-container section h2 {
    font-size: 18px;
  }

  .legal-container section p,
  .legal-container section li {
    font-size: 14px;
  }

}

/* =========================================
   SITE FOOTER
========================================= */

.site-footer {
  padding: 28px 24px;
  text-align: center;
  color: #5f6b67;
  background: #ffffff;
  border-top: 1px solid #d9dfd7;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 14px;
}

.site-footer strong {
  color: #173f34;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #177554;
  font-size: 14px;
  font-weight: 700;
}

.site-footer small {
  font-size: 12px;
}
.footer-logo-image {
  display: block;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand strong {
  display: block;
  color: #17201b;
  font-size: 17px;
}

.footer-owner {
  display: block;
  margin-top: 4px;
  color: #6b7873;
  font-size: 12px;
  line-height: 1.3;
}

.footer-logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .footer-brand {
    justify-content: center;
    text-align: left;
  }
}
/* =========================================
   SAVED SITUATION ACTIONS
========================================= */

.saved-transaction-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-transaction {
  padding: 8px 12px;
  color: #177554;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #177554;
  border-radius: 9px;
  cursor: pointer;
}

.view-transaction:hover {
  color: #ffffff;
  background: #177554;
}

@media (max-width: 700px) {
  .saved-transaction-actions {
    width: 100%;
  }

  .view-transaction,
  .delete-transaction {
    flex: 1;
  }
}
/* Saved card mobile-friendly layout */

.saved-transaction-card {
  overflow: hidden;
}

.saved-transaction-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.saved-transaction-side > strong {
  display: block;
  text-align: left;
}

.saved-transaction-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.view-transaction,
.delete-transaction {
  width: 100%;
  min-width: 0;
  padding: 8px 6px;
  text-align: center;
}
/* =========================================
   SAVED SITUATIONS SCROLL
========================================= */

#recentTransactions {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#recentTransactions::-webkit-scrollbar {
  width: 7px;
}

#recentTransactions::-webkit-scrollbar-track {
  background: #edf3f0;
  border-radius: 10px;
}

#recentTransactions::-webkit-scrollbar-thumb {
  background: #aac5bb;
  border-radius: 10px;
}

#recentTransactions::-webkit-scrollbar-thumb:hover {
  background: #177554;
}

.dashboard-main-grid {
  align-items: start;
}

@media (max-width: 850px) {
  #recentTransactions {
    max-height: 600px;
  }
}
/* =========================================
   RESPONSIBILITIES BALANCED COLUMNS
========================================= */

.responsibilities-grid {
  align-items: start;
}

.responsibility-side-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.responsibility-side-stack .responsibility-check-section {
  margin: 0;
}

@media (max-width: 850px) {
  .responsibility-side-stack {
    gap: 20px;
  }
}
/* =========================================
   MULTIPLE BUSINESS PROFILES
========================================= */

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

#headerBusinessName {
  display: inline-flex;
}

.business-switcher {
  width: auto;
  max-width: 190px;
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  color: #17201b;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background-color: #ffffff;
  border: 1px solid #cfdbd6;
  border-radius: 10px;
  cursor: pointer;
}

.business-switcher:focus {
  border-color: #177554;
  outline: 3px solid rgba(8, 117, 87, 0.12);
}

.add-business-button {
  white-space: nowrap;
  color: #177554;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .app-header {
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  #headerBusinessName {
    flex: 1;
  }

  .business-switcher {
    width: 100%;
    max-width: none;
  }

  .add-business-button,
  #editProfile {
    flex: 1;
  }
}
/* =========================================
   BUSINESS SWITCHER
========================================= */

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

#headerBusinessName {
  display: inline-flex;
}

.business-switcher {
  width: auto;
  max-width: 190px;
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  color: #17201b;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid #cfdbd6;
  border-radius: 10px;
  cursor: pointer;
}

.business-switcher:focus {
  border-color: #177554;
  outline: 3px solid rgba(8, 117, 87, 0.12);
}

.add-business-button {
  white-space: nowrap;
  color: #177554;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  #headerBusinessName {
    flex: 1;
  }

  .business-switcher {
    width: 100%;
    max-width: none;
  }
}
.delete-business-button {
  color: #b42318;
  border-color: #efc7c3;
  white-space: nowrap;
}

.delete-business-button:hover {
  color: #ffffff;
  background: #b42318;
  border-color: #b42318;
}
.profile-data-actions {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d9dfd7;
}

.profile-data-actions small {
  display: block;
  margin-top: 9px;
  color: #687b71;
  font-size: 12px;
  line-height: 1.5;
}

.clear-data-button {
  padding: 9px 12px;
  color: #b42318;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  border: 1px solid #efc7c3;
  border-radius: 8px;
  cursor: pointer;
}

.clear-data-button:hover {
  color: #ffffff;
  background: #b42318;
  border-color: #b42318;
}
/* =========================================
   TRANSACTION DETAILS
========================================= */

.transaction-details-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  max-width: 520px;
}

.transaction-details-form label {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: #10231d;
}

.transaction-details-form label span {
  font-weight: 400;
  color: #66736f;
}

.transaction-details-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #ccd8d3;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #10231d;
}

.transaction-details-form input:focus {
  outline: none;
  border-color: #117a5b;
  box-shadow: 0 0 0 3px rgba(17, 122, 91, 0.1);
}

.transaction-details-form .transaction-error {
  margin: 0;
  min-height: 20px;
}

.transaction-details-form .transaction-main-button {
  align-self: flex-start;
  margin-top: 8px;
}

.transaction-details-form .transaction-secondary-button {
  align-self: flex-start;
}


/* MOBILE */

@media (max-width: 600px) {

  .transaction-details-form {
    max-width: 100%;
  }

  .transaction-details-form input {
    width: 100%;
  }

}
.transaction-details-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #ccd8d3;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #10231d;
  resize: vertical;
  min-height: 110px;
}

.transaction-details-form textarea:focus {
  outline: none;
  border-color: #117a5b;
  box-shadow: 0 0 0 3px rgba(17, 122, 91, 0.1);
}

.transaction-details-form textarea::placeholder {
  color: #7b8581;
}
/* =========================================
   UK DATE PICKER
========================================= */

.uk-date-input-wrap {
  position: relative;
  width: 100%;
}

.uk-date-input-wrap #transactionDateDisplay {
  width: 100%;
  padding-right: 52px;
}

.date-picker-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden-date-picker {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
  left: 50%;
  bottom: 0;
}
/* =========================================
   CLICKABLE STATUS CARDS
========================================= */

.status-card-button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.status-card-button:hover {
  transform: translateY(-2px);
}

.status-card-button:focus-visible {
  outline: 3px solid rgba(17, 122, 91, 0.25);
  outline-offset: 3px;
}/* =========================================
   RESPONSIBILITY GUIDE
========================================= */

.responsibility-guide {
  width: 100%;
}

.responsibility-guide > .small-button {
  margin-bottom: 28px;
}

.responsibility-guide > h2 {
  margin: 8px 0 12px;
  font-size: 32px;
  line-height: 1.15;
  color: #082c2c;
}

.responsibility-guide-intro {
  margin: 0 0 28px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #536565;
}


/* Individual guide sections */

.responsibility-guide-section {
  margin-top: 16px;
  padding: 22px 24px;

  background: #f7faf8;
  border: 1px solid #dce7e1;
  border-radius: 16px;
}

.responsibility-guide-section h3 {
  margin: 0 0 8px;

  font-size: 18px;
  line-height: 1.3;
  color: #082c2c;
}

.responsibility-guide-section p {
  margin: 0 0 14px;

  font-size: 14px;
  line-height: 1.6;
  color: #61706c;
}

.responsibility-guide-section ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.responsibility-guide-section li {
  position: relative;

  margin-top: 9px;
  padding-left: 26px;

  font-size: 14px;
  line-height: 1.55;
  color: #263b37;
}

.responsibility-guide-section li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  font-weight: 700;
  color: #117a5b;
}


/* Make owner responsibility cards feel clickable */

.responsibility-card.owner[data-guide] {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.responsibility-card.owner[data-guide]:hover {
  transform: translateY(-2px);
  border-color: #b9d7ca;
  box-shadow: 0 10px 25px rgba(20, 55, 45, 0.08);
}

.responsibility-card.owner[data-guide]:focus-visible {
  outline: 3px solid rgba(17, 122, 91, 0.2);
  outline-offset: 3px;
}


/* Mobile */

@media (max-width: 700px) {

  .responsibility-guide > h2 {
    font-size: 26px;
  }

  .responsibility-guide-section {
    padding: 18px;
    border-radius: 14px;
  }


}

/* =========================================
   FULL WIDTH RESPONSIBILITY GUIDE
========================================= */

body.responsibility-guide-open
.responsibilities-grid {
  grid-template-columns: 1fr;
}

body.responsibility-guide-open
.responsibility-side-stack {
  display: none;
}

body.responsibility-guide-open
.responsibilities-grid
> .responsibility-column {
  width: 100%;
}

body.responsibility-guide-open
.responsibility-guide {
  width: 100%;
  max-width: 1000px;
}
/* Clickable responsibility guide sections */

.guide-section-clickable {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.guide-section-clickable:hover {
  transform: translateY(-2px);
  border-color: #b9d7ca;
  box-shadow: 0 10px 25px rgba(20, 55, 45, 0.08);
}

.guide-section-clickable h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.guide-section-arrow {
  font-size: 22px;
  color: #117a5b;
}

.guide-section-clickable:focus-visible {
  outline: 3px solid rgba(17, 122, 91, 0.2);
  outline-offset: 3px;
}

/* =========================================================
   BADGER COMPASS — GLOBAL FINISHING LAYER
========================================================= */

.app-header,
.question-card,
.status-card,
.guidance-card,
.sidebar-card,
.transaction-card,
.recent-checks-card,
.responsibility-summary-card,
.responsibility-column,
.responsibility-check-section,
.changes-content,
.business-change-card,
.legal-container > section {
  border-color: var(--border);
}

.question-card,
.transaction-card,
.recent-checks-card,
.responsibility-column,
.responsibility-check-section,
.changes-content,
.legal-container > section {
  box-shadow: var(--shadow-sm);
}

.small-button,
.continue-button,
.transaction-main-button,
.primary-action-button {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.continue-button:hover,
.transaction-main-button:hover,
.primary-action-button:hover {
  transform: translateY(-1px);
}

.answer-option,
.transaction-option,
.saved-transaction-card,
.responsibility-card,
.business-change-card {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.answer-option:hover,
.transaction-option:hover,
.saved-transaction-card:hover,
.responsibility-card:hover,
.business-change-card:hover {
  box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* =========================================
   PUBLIC SITE HEADER
========================================= */

.site-header {
  width: min(1120px, calc(100% - 48px));
  margin: 22px auto 0;
  padding: 18px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: #ffffff;
  border: 1px solid #e2e6e2;
  border-radius: 18px 18px 0 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #17201b;
  text-decoration: none;

  font-size: 17px;
  font-weight: 800;
}

.site-brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav > a {
  color: #17201b;
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:not(.sign-in-button):hover {
  color: #177554;
}

.site-nav .sign-in-button {
  padding: 12px 24px;

  border: 1px solid #cfd6d1;
  border-radius: 12px;

  background: #ffffff;
}

.site-nav .sign-in-button:hover {
  border-color: #177554;
  background: #f7faf7;
}


/* MOBILE */

@media (max-width: 760px) {

  .site-header {
    width: calc(100% - 24px);
    padding: 15px 18px;
  }

  .site-brand {
    font-size: 14px;
  }

  .site-brand-icon {
    width: 30px;
    height: 30px;
  }

  .site-nav > a:not(.sign-in-button) {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav .sign-in-button {
    padding: 9px 16px;
    font-size: 13px;
  }
}
/* =========================================
   HERO FOREST SCENE
========================================= */

.badger-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}


/* FOREST PATH */
.forest-path {
    position: absolute;

    width: 720px;
    max-width: none;
    height: auto;

    right: -260px;
    bottom: 5px;

    z-index: 1;
    pointer-events: none;
}


/* BADGER */
.badger-character {
    position: absolute;

    width: 250px;
    max-width: none;
    height: auto;

    right: 330px;
    bottom: 35px;

    z-index: 2;
}

/* MOBILE */

@media (max-width: 760px) {

  .badger-hero {
    min-height: 350px;
  }

  .forest-path {
    width: 520px;
    right: -110px;
    bottom: -20px;
  }

  .badger-character {
    width: 270px;
  }

}
/* =========================================
   AUTH / SIGN IN
========================================= */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: #f5f3ed;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #dfe3dc;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 20px 50px rgba(20, 45, 35, 0.08);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
  color: #13221b;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.auth-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.auth-heading {
  margin-bottom: 30px;
}

.auth-heading h1 {
  margin: 10px 0 12px;
  color: #13221b;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.auth-heading p {
  margin: 0;
  color: #5d665f;
  font-size: 16px;
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 28px;
  background: #f1f3ef;
  border-radius: 14px;
}

.auth-tab {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  background: transparent;
  color: #536058;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  background: #ffffff;
  color: #0d6b4f;
  box-shadow: 0 2px 8px rgba(20, 45, 35, 0.08);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  margin-top: 8px;
  color: #17231d;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid #ccd4ce;
  border-radius: 12px;
  background: #ffffff;
  color: #17231d;
  font: inherit;
  outline: none;
}

.auth-form input:focus {
  border-color: #16805e;
  box-shadow: 0 0 0 3px rgba(22, 128, 94, 0.1);
}

.auth-primary-button {
  width: 100%;
  margin-top: 16px;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: #0f6f52;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-primary-button:hover {
  background: #0b5e45;
}

.auth-password-help {
  color: #68726c;
  line-height: 1.45;
}

.auth-message {
  min-height: 22px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.auth-legal {
  margin: 24px 0 0;
  color: #747c77;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.auth-legal a {
  color: #0f6f52;
  font-weight: 700;
}

.auth-page .hidden {
  display: none;
}

@media (max-width: 600px) {
  .auth-page {
    align-items: flex-start;
    padding: 20px 14px;
  }

  .auth-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .auth-brand {
    margin-bottom: 32px;
  }
}