:root {
  --bg: #eef2f7;
  --card: #ffffff;
  --ink: #1b2430;
  --muted: #5b6b7c;
  --accent: #2e5b9a;
  --accent-dark: #1f4170;
  --line: #d7e0ea;
  --success: #2b7a3d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #f6f9fd 0%, #eef3f9 55%, #e6edf6 100%);
}

html,
body {
  min-height: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem 0;
  font-weight: 600;
}

a {
  color: var(--accent-dark);
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #e3ebf6;
  border-bottom: 1px solid var(--line);
}

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

.topbar-email {
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar strong {
  font-size: 1.2rem;
}

.topbar .muted {
  font-size: 0.95rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  margin-bottom: 20px;
}

.dash-border-top {
  border-top: 1px solid var(--line);
}

.dash-border-bottom {
  border-bottom: 1px solid var(--line);
}

.hero {
  text-align: center;
  padding: 48px 32px;
}

.hero-logo {
  display: block;
  width: min(400px, 80vw);
  height: auto;
  margin: 0 auto 18px;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem 0;
}

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

.auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.auth-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.auth-panel {
  min-width: 0;
}

.auth-panel + .auth-panel {
  padding-left: 16px;
  border-left: 1px solid #e2e8f0;
}

.oauth-label {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 720px) {
  .auth-split {
    grid-template-columns: 1fr;
  }

  .auth-split::before {
    display: none;
  }
}

.form {
  display: grid;
  gap: 16px;
}

.required-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.required-marker {
  color: #b42318;
  font-weight: 700;
}

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

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.offer-disclosures {
  margin-bottom: 12px;
  font-weight: 600;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.dropzone {
  border-radius: 0;
  padding: 12px;
  border: 2px dashed #b7c7de;
  background: #eef3f9;
}

.dropzone-hint {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.disclosure-sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.disclosure-sample-link:hover {
  text-decoration: underline;
}

.disclosure-downloads {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  margin: 0 0 14px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1b2430;
}

.disclosure-downloads-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.disclosure-downloads-note {
  margin: 6px 0 15px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2f3a44;
}

.procedure-blurb {
  margin-top: 12px;
}

.procedure-blurb.is-hidden {
  display: none;
}

.procedure-blurb-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.procedure-blurb-link:hover {
  text-decoration: none;
}

.procedure-steps {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2f3a44;
}

.procedure-step-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.procedure-substeps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #2f3a44;
}

.procedure-step-plain {
  padding-left: 2px;
}

.disclosure-downloads-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.disclosure-downloads-list .disclosure-sample-link {
  margin-bottom: 0;
}

.dropzone.is-dragging {
  border: 2px dashed var(--accent);
  background: #e2eaf7;
}

.listing-links {
  padding: 12px 0 4px;
}

.listing-links.is-hidden {
  display: none;
}

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

.listing-col {
  display: grid;
  gap: 16px;
  align-content: start;
}

.listing-links input[type="url"] {
  width: 100%;
}

@media (max-width: 720px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}
.icon-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-favicon {
  width: 20px;
  height: 20px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.label-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fff;
}

input[type="file"] {
  all: revert;
  font: inherit;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  -webkit-appearance: auto;
  appearance: auto;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
  font: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.half {
  width: 50%;
}

.button.steel {
  background: #2d5c9c;
  border-color: #2d5c9c;
  color: #fff;
}

.button.danger {
  background: #f7ecec;
  border-color: #e5b9b9;
  color: #8c2e2e;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-family: "Roboto", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-split .google-button {
  width: auto;
  min-width: 220px;
}

.google-button:hover {
  background: #f8f9fa;
}

.google-logo {
  width: 18px;
  height: 18px;
}

body.landing-page {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body.dashboard-page {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #f7f9fc;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1300px;
  margin: 0 auto;
}

.landing-logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: #002b5b;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.landing-logo span {
  font-weight: 400;
  opacity: 0.7;
}

.landing-hero {
  display: flex;
  align-items: center;
  min-height: 85vh;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5% 2.5rem 5%;
  gap: 5%;
}

.landing-hero-text {
  flex: 1;
  max-width: 580px;
}

.landing-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.landing-hero-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 0;
}

.landing-hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: #002b5b;
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
}

.landing-subheadline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  max-width: 90%;
}

.landing-description {
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 2.5rem;
  max-width: 95%;
}

.landing-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.landing-btn-primary {
  background-color: #002b5b;
  color: #ffffff;
  padding: 1.1rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.landing-btn-primary:hover {
  background-color: #0056b3;
}

.landing-btn-secondary {
  background: none;
  border: 1px solid #eaeaea;
  color: #1a1a1a;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.landing-btn-secondary:hover {
  border-color: #002b5b;
  color: #002b5b;
}

.landing-features {
  background: #f6f8fb;
  padding: 3.75rem 5%;
}

.landing-features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-features-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.landing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5a6b82;
  margin: 0 0 0.75rem 0;
}

.landing-features h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 800;
  color: #002b5b;
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.landing-features-lede {
  font-size: 1.1rem;
  color: #4a4a4a;
  margin: 0;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.landing-feature {
  background: #ffffff;
  border: 1px solid #e6ecf4;
  padding: 1.8rem;
  box-shadow: 0 12px 30px rgba(0, 22, 59, 0.06);
}

.landing-feature h3 {
  font-size: 1.35rem;
  color: #002b5b;
  margin-bottom: 0.8rem;
}

.landing-feature p {
  color: #4a4a4a;
  margin: 0;
}

.landing-footer {
  background: #ffffff;
  border-top: 1px solid #e6ecf4;
}

.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 5%;
  font-size: 0.95rem;
  color: #5a6b82;
  letter-spacing: 0.2px;
  text-align: center;
}

@media (max-width: 992px) {
  .landing-hero {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem;
  }

  .landing-hero-text {
    margin-bottom: 3rem;
  }

  .landing-hero-image img {
    height: 400px;
  }

  .landing-cta {
    justify-content: center;
  }

  .landing-hero h1 {
    font-size: 2.8rem;
  }

  .landing-subheadline,
  .landing-description {
    max-width: 100%;
  }

  .landing-features {
    padding: 3.5rem 7%;
  }

  .landing-features h2 {
    font-size: 2rem;
  }

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

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.alert {
  padding: 12px 14px;
  border-radius: 0;
  background: #e9f0fb;
  color: var(--accent-dark);
  margin-bottom: 16px;
  border: 1px solid #cddcf2;
}

.alert.success {
  background: #ecf7ef;
  color: var(--success);
  border-color: #cbe8d3;
}

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

.footnote {
  margin-top: 16px;
  color: var(--muted);
}

.oauth {
  margin-top: 12px;
}

.list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #f7f9fc;
}

.file-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  border: none;
  background: transparent;
  padding: 2px;
  cursor: pointer;
  color: var(--accent-dark);
}

.icon-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.inline-form.is-hidden {
  display: none;
}

.inline-form input[type="text"] {
  max-width: 240px;
}

.link-grid {
  display: grid;
  gap: 12px;
}

.label {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.label-strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

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

.concierge-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

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

.concierge-overview-grid .concierge-offers-count {
  margin-top: 8px;
}

.listings-overview {
  margin-top: 8px;
}

.listing-icon-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.listing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
}

.listing-icon img {
  width: 20px;
  height: 20px;
}

.listing-icon.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.concierge-name-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.concierge-name-text.is-muted {
  color: var(--muted);
  font-weight: 600;
}

.concierge-name-text.is-hidden {
  display: none;
}

.concierge-meta-label {
  display: none;
}

.concierge-offers-count {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.concierge-offers-count:hover {
  text-decoration: underline;
}

.concierge-inline-form {
  margin: 0;
}

.concierge-inline-form.is-hidden {
  display: none;
}

.concierge-inline-form input[type="text"] {
  min-width: 240px;
  max-width: 360px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.link-copy {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--accent-dark);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
}

.link-open {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-open svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-module {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px;
  margin-top: 16px;
  background: #f8fafc;
  position: relative;
}

.timeline-module h3 {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-indicators {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
}

.module-complete-check {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  color: #2b7a3d;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.module-complete-check svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-module.is-complete .module-complete-check {
  opacity: 1;
  transform: scale(1);
}

.module-progress-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  color: #b0741d;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.module-progress-indicator svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-progress-indicator .progress-ring,
.module-progress .progress-ring {
  stroke-dasharray: 7 6;
}

.timeline-module.is-in-progress .module-progress-indicator {
  opacity: 1;
  transform: scale(1);
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.module-header + .timeline-row {
  border-top: none;
}

.timeline-row.is-expanded {
  border-bottom: none;
}

.step-title strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.helper-button {
  border: none;
  background: transparent;
  color: #2f3a44;
  width: 30px;
  height: 30px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
}

.helper-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.helper-button:hover {
  color: #1f2a3a;
}

.timeline-module.is-complete select {
  opacity: 0.65;
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-row.is-listing {
  border-bottom: none;
}

.row-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.row-count {
  min-width: 32px;
  height: 32px;
  border-radius: 0;
  background: #e6edf7;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.row-count.is-empty {
  background: #f7d6da;
  color: #7a1e2a;
}

.toggle-button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toggle-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.offers-drawer {
  display: block;
  border-bottom: none;
}

.disclosures-drawer {
  display: none;
  border-bottom: none;
  padding-bottom: 0;
}

.disclosures-drawer.is-open {
  display: block;
}

.disclosures-list .list-item {
  border: 1px solid #cfd8e6;
  background: #e3ebf6;
  padding: 10px 12px;
}

.disclosures-list .list-item + .list-item {
  margin-top: 6px;
}

.disclosures-list .file-title strong {
  font-size: 1.05rem;
}

.disclosures-list .button-stack {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.offers-list .list-item {
  border: 1px solid #cfd8e6;
  background: #e3ebf6;
}

.offers-list {
  padding-bottom: 12px;
}

.offers-empty-note {
  border: 1px solid #cfd8e6;
  background: #e3ebf6;
  padding: 12px;
  margin-bottom: 12px;
  color: #2f3a44;
  font-weight: 600;
}

.disclosures-list {
  padding-bottom: 12px;
}

.offers-list .button-stack {
  grid-auto-rows: 40px;
}

.offers-list .button-stack .button {
  width: 140px;
  height: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  justify-content: center;
}

.offer-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.toggle-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}


.closing-schedule {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 0;
  background: #eef3f9;
  border: 1px solid var(--line);
}

.closing-display {
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.closing-empty {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.closing-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}

.schedule-form {
  display: grid;
  gap: 8px;
}

.schedule-form.is-hidden {
  display: none;
}

.schedule-form label {
  font-weight: 600;
  color: var(--muted);
}

.schedule-actions {
  display: flex;
  gap: 8px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  overflow-x: hidden;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.module-tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f4f8fd 0%, #e6eef8 100%);
  min-height: 78px;
  display: flex;
  align-items: center;
}

.module-tile.is-complete {
  border-color: #b8d6c3;
  background: linear-gradient(135deg, #f1fbf6 0%, #e3f3ea 100%);
}

.module-tile.is-in-progress {
  border-color: #e4cca1;
  background: linear-gradient(135deg, #fff6e7 0%, #f7ead2 100%);
}

.module-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.module-name-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.module-status {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.module-icon {
  width: 30px;
  height: 30px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: rgba(46, 91, 154, 0.12);
  color: var(--accent-dark);
  align-self: start;
}

.module-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-check {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  fill: var(--success);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.module-tile.is-complete .module-check {
  opacity: 1;
  transform: scale(1);
}

.module-progress {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #b0741d;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.module-tile.is-in-progress .module-progress {
  opacity: 1;
  transform: scale(1);
}

.timeline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.timeline-form button {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border-radius: 0;
  background: #1f2a3a;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #8c2e2e;
}

.locked {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.locked.hidden {
  display: none;
}

.button-stack {
  display: grid;
  gap: 8px;
}

.icon-action {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: var(--accent-dark);
  background: #f4efe7;
  text-decoration: none;
}

.icon-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-action.download {
  background: #ecf4f0;
  color: #2e6b54;
}

.icon-action.delete {
  background: #f7ecec;
  color: #8c2e2e;
}

.notes {
  margin-top: 6px;
}

.offer-amount {
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f5f3d;
}

.offer-meta {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  color: #2f3a44;
  font-weight: 500;
}

.offer-meta-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
}

.offer-meta-row svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  justify-self: center;
}

.offer-sub {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.tooltip-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.tooltip-modal.is-open {
  display: flex;
}

.tooltip-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.4);
}

.tooltip-panel {
  position: relative;
  background: #f6f9fd;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px;
  max-width: 520px;
  width: calc(100% - 40px);
  z-index: 1;
}

.tooltip-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.tooltip-section {
  margin-top: 16px;
}

.tooltip-section h4 {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.role-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-badge {
  padding: 6px 10px;
  border-radius: 0;
  background: #e9eef6;
  font-weight: 600;
  font-size: 0.9rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.pt-0 {
  padding-top: 0;
}

.pt-5 {
  padding-top: 5px;
}

.pt-10 {
  padding-top: 10px;
}

.pb-0 {
  padding-bottom: 0;
}

.pb-5 {
  padding-bottom: 5px;
}

.pb-10 {
  padding-bottom: 10px;
}

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

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

  .link-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .link-copy {
    max-width: 100%;
    word-break: break-all;
  }

  .list-item,
  .timeline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-form {
    width: 100%;
    justify-content: space-between;
  }
}
.required-marker {
  display: inline-block;
  margin-left: 4px;
}
