:root {
  --navy: #17233c;
  --navy-2: #22304e;
  --ink: #202439;
  --muted: #697085;
  --line: #e7eaf0;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --beige: #d3c4b1;
  --beige-2: #eee7de;
  --orange: #d3c4b1;
  --green: #35b56a;
  --gold: #c49a4a;
  --light-gold: #ead6ad;
  --shadow: 0 18px 45px rgba(23, 35, 60, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html:has(.htn-portal-shortcode),
html.htn-portal-html {
  margin-top: 0 !important;
  padding-top: 0 !important;
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "IBM Plex Serif", Georgia, serif;
}

body:has(.htn-portal-shortcode),
body.htn-portal-page {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100svh;
  background: var(--soft);
}

body:has(.htn-portal-shortcode) #wpadminbar,
body.htn-portal-page #wpadminbar,
html.htn-portal-html #wpadminbar {
  display: none !important;
}

body:has(.htn-portal-shortcode) > header,
body:has(.htn-portal-shortcode) > footer,
body:has(.htn-portal-shortcode) #masthead,
body:has(.htn-portal-shortcode) #colophon,
body:has(.htn-portal-shortcode) .elementor-location-header,
body:has(.htn-portal-shortcode) .elementor-location-footer,
body.htn-portal-page > header,
body.htn-portal-page > footer,
body.htn-portal-page #masthead,
body.htn-portal-page #colophon,
body.htn-portal-page .elementor-location-header,
body.htn-portal-page .elementor-location-footer {
  display: none !important;
}

body:has(.htn-portal-shortcode) .wp-site-blocks,
body:has(.htn-portal-shortcode) .site,
body:has(.htn-portal-shortcode) .site-content,
body:has(.htn-portal-shortcode) .content-area,
body:has(.htn-portal-shortcode) #page,
body:has(.htn-portal-shortcode) #content,
body:has(.htn-portal-shortcode) #primary,
body:has(.htn-portal-shortcode) #main,
body.htn-portal-page .wp-site-blocks,
body.htn-portal-page .site,
body.htn-portal-page .site-content,
body.htn-portal-page .content-area,
body.htn-portal-page #page,
body.htn-portal-page #content,
body.htn-portal-page #primary,
body.htn-portal-page #main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.htn-portal-shortcode) .wp-site-blocks > * + *,
body:has(.htn-portal-shortcode) .entry-content,
body:has(.htn-portal-shortcode) .is-layout-constrained > * + *,
body.htn-portal-page .wp-site-blocks > * + *,
body.htn-portal-page .entry-content,
body.htn-portal-page .is-layout-constrained > * + * {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body:has(.htn-portal-shortcode) .wp-block-post-title,
body:has(.htn-portal-shortcode) .wp-block-template-part,
body:has(.htn-portal-shortcode) footer.wp-block-template-part,
body:has(.htn-portal-shortcode) .entry-header,
body:has(.htn-portal-shortcode) .page-header,
body.htn-portal-page .wp-block-post-title,
body.htn-portal-page .wp-block-template-part,
body.htn-portal-page footer.wp-block-template-part,
body.htn-portal-page .entry-header,
body.htn-portal-page .page-header {
  display: none !important;
}

body:has(.htn-portal-shortcode) .wp-block-post-content,
body:has(.htn-portal-shortcode) .wp-block-post-content.has-global-padding,
body:has(.htn-portal-shortcode) main.wp-block-group,
body:has(.htn-portal-shortcode) .wp-block-group.alignfull,
body.htn-portal-page .wp-block-post-content,
body.htn-portal-page .wp-block-post-content.has-global-padding,
body.htn-portal-page main.wp-block-group,
body.htn-portal-page .wp-block-group.alignfull {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  margin-block-start: 0 !important;
  padding: 0 !important;
}

.htn-portal-shortcode {
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  overflow-x: clip;
  color: var(--ink);
  background: var(--soft);
  font-family: "IBM Plex Serif", Georgia, serif;
}

.htn-portal-shortcode main {
  width: 100%;
  min-height: calc(100svh - 86px);
}

.htn-portal-login-only {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
  color: var(--navy);
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 54%, #f7efe3 100%);
}

.portal-login-gate {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  border: 1px solid rgba(16, 31, 55, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(8, 24, 44, 0.14);
  padding: clamp(22px, 4vw, 42px);
}

.portal-login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portal-brand-logo {
  display: inline-grid;
  width: max-content;
  max-width: 100%;
  margin-bottom: 26px;
  border: 1px solid rgba(16, 31, 55, 0.1);
  border-radius: 8px;
  padding: 9px 12px 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 24, 44, 0.08);
}

.portal-brand-logo-line {
  display: flex;
  align-items: flex-end;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.portal-brand-logo-block {
  display: inline-block;
  padding: 9px 7px 8px;
  color: #ffffff;
  background: #cdbb9f;
}

.portal-brand-logo-team {
  display: inline-block;
  padding-bottom: 8px;
  color: var(--navy);
}

.portal-brand-logo-country {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.portal-login-gate h1 {
  max-width: 540px;
  margin: 10px 0 16px;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
}

.portal-login-gate p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.portal-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portal-login-actions .primary-button,
.portal-login-actions .secondary-button {
  min-height: 54px;
  padding-inline: 22px;
  font-size: 16px;
}

.portal-login-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.portal-login-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 31, 55, 0.1);
  border-radius: 8px;
  color: var(--navy);
  background: #f8fafc;
  font-weight: 800;
  font-size: 14px;
}

.portal-login-trust [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.portal-login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  border-radius: 12px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 13%, transparent 13% 100%),
    linear-gradient(160deg, #061b36 0%, #08264a 56%, #123c67 100%);
}

.portal-login-visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.portal-login-visual-top strong {
  display: block;
  max-width: 290px;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.12;
}

.mini-label {
  display: inline-block;
  color: #f4d9aa;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 11px;
  color: #715124;
  background: #f8e4bd;
  font-size: 12px;
  font-weight: 900;
}

.portal-login-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
  margin: 26px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 18px 18px 0;
  background: rgba(255, 255, 255, 0.08);
}

.preview-progress {
  display: grid;
  gap: 14px;
  align-self: center;
  padding-bottom: 20px;
}

.preview-progress span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.preview-progress span:nth-child(1) {
  width: 88%;
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.22));
}

.preview-progress span:nth-child(2) {
  width: 64%;
}

.preview-progress span:nth-child(3) {
  width: 76%;
}

.portal-login-preview img {
  width: 220px;
  max-height: 280px;
  object-fit: contain;
  object-position: bottom right;
  align-self: end;
}

.portal-benefit-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.portal-benefit-grid article {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
}

.portal-benefit-grid [data-lucide] {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  color: #f3d6a3;
}

.portal-benefit-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.portal-benefit-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.portal-login-note {
  grid-column: 1 / -1;
  margin: 0 !important;
  border: 1px solid rgba(16, 31, 55, 0.08);
  border-radius: 8px;
  padding: 13px 16px;
  background: #f8fafc;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.htn-portal-is-navigating .portal-login-gate {
  pointer-events: none;
  opacity: 0.58;
}

.htn-portal-is-navigating .portal-login-gate::after {
  content: "Dashboard openen...";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 20;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 14px 20px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 18px 45px rgba(23, 35, 60, 0.22);
  font-family: Lexend, Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .portal-login-gate {
    grid-template-columns: 1fr;
  }

  .portal-login-gate h1 {
    max-width: 680px;
    font-size: 44px;
  }

  .portal-login-visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .htn-portal-login-only {
    padding: 14px;
  }

  .portal-login-gate {
    gap: 20px;
    padding: 18px;
  }

  .portal-brand-logo {
    margin-bottom: 22px;
    padding: 8px 10px 9px;
  }

  .portal-brand-logo-line {
    font-size: 29px;
  }

  .portal-brand-logo-block {
    padding: 8px 6px 7px;
  }

  .portal-brand-logo-team {
    padding-bottom: 7px;
  }

  .portal-brand-logo-country {
    font-size: 18px;
  }

  .portal-login-gate h1 {
    font-size: 34px;
  }

  .portal-login-gate p {
    font-size: 16px;
  }

  .portal-login-actions {
    flex-direction: column;
  }

  .portal-login-actions .primary-button,
  .portal-login-actions .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .portal-login-visual {
    padding: 18px;
  }

  .portal-login-visual-top {
    flex-direction: column;
  }

  .portal-login-visual-top strong {
    font-size: 23px;
  }

  .portal-login-preview {
    grid-template-columns: 1fr;
    padding: 16px 16px 0;
  }

  .portal-login-preview img {
    width: 170px;
    margin-inline: auto;
  }

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

  .portal-benefit-grid article {
    min-height: auto;
  }
}

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(23, 35, 60, 0.12);
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px max(24px, calc((100vw - 1200px) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: #10192d;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.top-strip a {
  color: #ffffff;
  text-decoration: none;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  background: var(--navy);
}

.brand {
  width: 165px;
  border-radius: 8px;
  padding: 9px 12px;
  background: transparent;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-tab {
  position: relative;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  padding: 9px 12px;
}

.nav-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: #fff;
  background: #c63a34;
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(198, 58, 52, 0.22);
}

.nav-tab:hover,
.nav-tab.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-actions,
.hero-actions,
.section-title,
.panel-head,
.summary-header {
  display: flex;
  align-items: center;
}

.nav-actions,
.hero-actions {
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button.is-active {
  color: var(--navy);
  background: var(--beige);
}

.nav-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 9px 12px;
}

.nav-auth-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-auth-button svg,
.nav-auth-button [data-lucide] {
  width: 16px;
  height: 16px;
}

.ghost-button,
.accent-button,
.primary-button,
.secondary-button,
.outline-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.accent-button {
  color: var(--navy);
  background: var(--orange);
}

.primary-button {
  color: #ffffff;
  background: var(--navy);
}

.secondary-button,
.outline-button {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.outline-button {
  background: transparent;
}

.ghost-button:hover,
.accent-button:hover,
.primary-button:hover,
.secondary-button:hover,
.outline-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
}

[data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.hero-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 26px;
  padding: 34px max(24px, calc((100vw - 1200px) / 2)) 28px;
  background:
    linear-gradient(90deg, rgba(23, 35, 60, 0.92), rgba(23, 35, 60, 0.8)),
    url("assets/section-rent.jpg") center / cover;
  color: #ffffff;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow,
.small-label {
  display: inline-flex;
  align-items: center;
  color: var(--orange);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 12px 0 16px;
  font-family: Arial, sans-serif;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 540px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.trust-row {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
}

.live-summary {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.summary-header {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.summary-header > div {
  min-width: 0;
}

.summary-header strong,
.member-card strong {
  display: block;
  margin-top: 4px;
  font-family: Lexend, Arial, sans-serif;
}

.status-pill {
  align-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  min-width: 112px;
  padding: 8px 11px;
  text-align: center;
  color: var(--navy);
  background: var(--beige-2);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.dossier-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbf8f2;
}

.dossier-code span {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.dossier-code strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
}

.progress-meter {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf3;
}

.live-summary .progress-meter {
  margin-bottom: 0;
}

.live-summary .summary-grid {
  display: none;
}

.summary-start-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #253754);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.summary-start-button[hidden] {
  display: none;
}

.progress-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.summary-grid,
.stat-grid,
.portal-grid,
.contact-grid,
.case-overview,
.requirements-board,
.system-flow,
.request-composer,
.integration-strip,
.form-route-shell,
.route-list {
  display: grid;
  gap: 14px;
}

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

.summary-grid div,
.stat-card,
.task-list,
.profile-table,
.hubspot-card,
.message-feed,
.contact-card,
.case-card,
.automation-card,
.requirement-item,
.mail-preview,
.upload-sync-card,
.route-intro,
.route-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.summary-grid div {
  padding: 15px;
}

.summary-grid span,
.stat-card span,
.member-card span,
.sync-panel span,
.section-title span,
.hubspot-row span,
.letter-meta span {
  display: block;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.summary-grid strong,
.stat-card strong {
  display: block;
  margin-top: 4px;
  font-family: Lexend, Arial, sans-serif;
  font-size: 16px;
}

.system-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1200px;
  margin: 18px auto 24px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.flow-step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 3px 10px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  box-shadow: none;
}

.flow-step [data-lucide] {
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--navy);
}

.flow-step span {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.flow-step strong {
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.25;
}

.flow-step.is-done {
  background: #f6fbf7;
}

.flow-step.is-done [data-lucide] {
  color: var(--green);
}

.flow-step.is-active {
  border-color: var(--beige);
  background: #fbf8f2;
}

.form-route-shell {
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  margin-bottom: 18px;
}

.route-intro {
  padding: 20px;
  background: #fbf8f2;
}

.route-intro h3 {
  margin-top: 7px;
}

.route-intro p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-decision {
  display: grid;
  gap: 5px;
  border-radius: 8px;
  padding: 13px;
  background: #ffffff;
}

.route-decision span {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.route-decision strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
}

.route-list {
  align-content: start;
}

.route-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
}

.route-row [data-lucide] {
  color: var(--gold);
}

.route-row strong,
.route-row small,
.route-row em {
  display: block;
}

.route-row strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.route-row small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.route-row em {
  margin-top: 5px;
  color: #8a7c6f;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.route-row code {
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--navy);
  background: var(--beige-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.route-row:hover,
.route-row.is-selected {
  border-color: var(--orange);
  background: #fffaf2;
}

.route-row.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: #f7f4ee;
}

.route-row.is-disabled [data-lucide],
.route-row.is-disabled strong,
.route-row.is-disabled small,
.route-row.is-disabled code {
  color: #8b8175;
}

.route-row.is-disabled:hover {
  border-color: var(--line);
  background: #f7f4ee;
}

.procedure-template-list .route-row {
  min-height: 62px;
}

.procedure-template-list .route-row em {
  display: none;
}

.portal-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.member-sidebar,
.workspace-panels {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.member-sidebar {
  align-self: start;
  overflow: hidden;
}

.member-photo {
  aspect-ratio: 16 / 9;
  background: var(--beige-2);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card,
.membership-status-mini,
.sync-panel {
  margin: 18px;
}

.member-card {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.membership-status-mini {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(197, 165, 99, 0.45);
  border-radius: 8px;
  padding: 13px;
  background: #fffaf2;
}

.membership-status-mini [data-lucide] {
  color: var(--gold);
}

.membership-status-mini span,
.membership-status-mini strong {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.membership-status-mini span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
}

.membership-status-mini strong {
  margin-top: 3px;
  color: var(--navy);
  font-size: 14px;
}

.membership-status-mini.is-empty {
  border-color: var(--line);
  background: #ffffff;
}

.membership-status-mini.is-empty [data-lucide] {
  color: var(--gold);
}

.mini-membership-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.mini-membership-button[hidden] {
  display: none;
}

.portal-tool-stack {
  display: grid;
  gap: 10px;
  margin: 0 18px 18px;
}

.portal-tool-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(23, 35, 60, 0.06);
}

.portal-tool-card:hover {
  border-color: rgba(196, 154, 74, 0.52);
  transform: translateY(-1px);
}

.tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.tool-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--navy);
  background: var(--beige-2);
}

.tool-icon [data-lucide] {
  width: 17px;
  height: 17px;
}

.tool-badge {
  border-radius: 999px;
  padding: 5px 8px;
  color: #6f5a31;
  background: #f4ebd8;
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-tool-card strong,
.portal-tool-card small,
.portal-tool-card em {
  display: block;
}

.portal-tool-card strong {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.15;
}

.portal-tool-card small {
  margin-top: 5px;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.portal-tool-card em {
  margin-top: 11px;
  color: var(--gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.portal-tool-card.is-featured {
  border-color: rgba(196, 154, 74, 0.58);
  background: linear-gradient(135deg, #fffaf1 0%, #ffffff 58%, #f6eddc 100%);
}

.portal-tool-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.portal-tool-card.is-featured .tool-icon {
  color: #ffffff;
  background: var(--gold);
}

.portal-tool-card.is-locked {
  border-color: var(--line);
  background: #ffffff;
}

.portal-tool-card.is-locked .tool-icon {
  color: #8c7444;
  background: #f4efe6;
}

.portal-tool-card.is-locked::before {
  background: #d7c6a5;
}

.rent-snapshot-card {
  display: grid;
  gap: 10px;
  margin: 0 18px 18px;
  border: 1px solid rgba(196, 154, 74, 0.42);
  border-radius: 8px;
  padding: 13px;
  background: #fbf8f2;
}

.rent-snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(196, 154, 74, 0.24);
}

.rent-snapshot-head span,
.rent-snapshot-head strong,
.rent-row span,
.rent-row strong,
.rent-snapshot-card small {
  font-family: Lexend, Arial, sans-serif;
}

.rent-snapshot-head span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rent-snapshot-head strong {
  color: var(--navy);
  font-size: 12px;
}

.rent-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rent-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.rent-row strong {
  color: var(--navy);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.rent-row.is-highlight {
  margin-top: 3px;
  border-radius: 8px;
  padding: 9px;
  background: #ffffff;
}

.rent-row.is-highlight strong {
  color: #8b641c;
}

.rent-snapshot-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.rent-snapshot-card.is-empty {
  border-color: var(--line);
  background: #ffffff;
}

.sync-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #f1f8f4;
}

.sync-dot {
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(53, 181, 106, 0.14);
}

.workspace-panels {
  min-height: 680px;
  overflow: hidden;
}

.workspace-panels p {
  font-size: 13px;
  line-height: 1.45;
}

.panel {
  display: none;
  padding: 26px;
}

.panel.is-active {
  display: block;
}

.panel-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.panel-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.panel h2 {
  margin: 5px 0 0;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.panel h3 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.panel-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.page-visual-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.52fr);
  align-items: stretch;
  gap: 14px;
  margin: -2px 0 18px;
  border: 1px solid rgba(197, 165, 99, 0.28);
  border-radius: 8px;
  padding: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 251, 244, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.page-visual-band figure {
  position: relative;
  min-height: 136px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.page-visual-band figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 31, 55, 0.02), rgba(20, 31, 55, 0.22));
}

.page-visual-band img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
}

.page-visual-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 2px;
}

.page-visual-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.12;
}

.page-visual-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.48;
}

.visual-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.visual-pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(197, 165, 99, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font: 800 10.5px Lexend, Arial, sans-serif;
}

.visual-pill-row [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.procedure-visual-band,
.contact-visual-band {
  grid-template-columns: minmax(210px, 0.52fr) minmax(0, 1fr);
}

.documents-visual-band {
  background:
    linear-gradient(135deg, rgba(246, 251, 247, 0.96), rgba(255, 252, 246, 0.98)),
    #ffffff;
}

.dashboard-visual-band {
  background:
    linear-gradient(135deg, rgba(243, 247, 255, 0.94), rgba(255, 250, 240, 0.96)),
    #ffffff;
}

.regie-helper {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(196, 154, 74, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: #fbf8f2;
}

.regie-helper h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.regie-helper p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.membership-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 16px;
  border: 1px solid rgba(197, 165, 99, 0.28);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.membership-hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.membership-hero-panel h3 {
  max-width: 600px;
  margin: 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.08;
}

.membership-hero-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.membership-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0;
}

.membership-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(197, 165, 99, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font: 800 11px Lexend, Arial, sans-serif;
}

.membership-proof-row [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.membership-current-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 5px 10px;
  align-items: center;
  max-width: 360px;
  border: 1px solid rgba(53, 181, 106, 0.22);
  border-radius: 8px;
  padding: 13px;
  background: #f5fbf7;
}

.membership-current-card [data-lucide] {
  grid-row: span 3;
  width: 24px;
  height: 24px;
  color: var(--green);
}

.membership-visual-card {
  position: relative;
  min-height: 305px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 22px 42px rgba(20, 31, 55, 0.16);
}

.membership-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 305px;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.02);
}

.membership-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 31, 55, 0.08), rgba(20, 31, 55, 0.7)),
    linear-gradient(90deg, rgba(197, 165, 99, 0.14), transparent 55%);
}

.membership-visual-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #ffffff;
}

.membership-visual-card figcaption span {
  color: #e8d6ae;
  font: 900 10px Lexend, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-visual-card figcaption strong {
  max-width: 280px;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1.08;
}

.membership-current-card span,
.membership-current-card strong,
.membership-current-card small,
.membership-plan-card span,
.membership-price,
.membership-note,
.member-action strong,
.member-action small,
.member-tool-list strong,
.member-tool-list small {
  font-family: Lexend, Arial, sans-serif;
}

.membership-current-card span,
.membership-plan-card > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.membership-current-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.membership-terms-link {
  grid-column: 2;
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--gold);
  background: transparent;
  font: 900 11px Lexend, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.membership-terms-link:hover {
  color: var(--navy);
}

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

.membership-plan-grid.is-comparison {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-plan-grid[hidden],
.membership-plan-card[hidden] {
  display: none;
}

.membership-upgrade-note {
  margin: 0 0 14px;
  border: 1px solid rgba(53, 181, 106, 0.24);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--navy);
  background: #f5fbf7;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.membership-upgrade-note[hidden] {
  display: none;
}

.membership-plan-intro {
  display: grid;
  gap: 5px;
  max-width: 760px;
  margin: 0 0 14px;
}

.membership-plan-intro[hidden] {
  display: none;
}

.membership-plan-intro h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.membership-plan-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.membership-action-head {
  margin: 8px 0 14px;
  border: 1px solid rgba(197, 165, 99, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.membership-action-head h3 {
  margin: 4px 0 5px;
  color: var(--navy);
  font-size: 24px;
}

.membership-action-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.membership-plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: #ffffff;
}

.membership-plan-card.is-featured {
  border-color: rgba(197, 165, 99, 0.65);
  box-shadow: 0 18px 36px rgba(197, 165, 99, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), #ffffff 72%),
    #fffaf2;
}

.membership-plan-card.is-featured::before {
  content: "Aanbevolen";
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--navy);
  background: rgba(197, 165, 99, 0.24);
  font: 900 9px Lexend, Arial, sans-serif;
  text-transform: uppercase;
}

.membership-plan-card.is-premium-plus {
  border-color: rgba(53, 181, 106, 0.38);
  box-shadow: 0 18px 36px rgba(53, 181, 106, 0.11);
  background:
    linear-gradient(145deg, rgba(245, 251, 247, 0.98), #ffffff 72%),
    #f5fbf7;
}

.membership-plan-card.is-premium-plus::before {
  content: "Meeste ontzorging";
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 5px 8px;
  color: #1d6b3d;
  background: rgba(53, 181, 106, 0.15);
  font: 900 9px Lexend, Arial, sans-serif;
  text-transform: uppercase;
}

.membership-plan-grid.is-comparison .membership-plan-card {
  min-height: 100%;
}

.membership-plan-card.is-current-plan {
  border-color: rgba(53, 181, 106, 0.68);
  box-shadow: 0 18px 38px rgba(53, 181, 106, 0.14);
}

.membership-plan-card.is-included-plan {
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.92), #ffffff 72%),
    #ffffff;
}

.membership-plan-card.is-upgrade-plan {
  border-color: rgba(197, 165, 99, 0.38);
}

.membership-plan-state {
  align-self: end;
  justify-self: start;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--navy);
  background: #f3f5f8;
  font: 900 10.5px Lexend, Arial, sans-serif;
}

.membership-plan-card.is-current-plan .membership-plan-state {
  color: #1d6b3d;
  background: rgba(53, 181, 106, 0.15);
}

.membership-plan-card.is-included-plan .membership-plan-state {
  color: var(--muted);
  background: #edf0f4;
}

.membership-plan-card.is-upgrade-plan .membership-plan-state {
  color: var(--gold);
  background: #fff6e6;
}

.membership-plan-card h3 {
  min-height: 42px;
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.16;
}

.membership-plan-card.is-featured h3,
.membership-plan-card.is-premium-plus h3 {
  padding-right: 92px;
}

.membership-price {
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
}

.membership-price small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.membership-plan-card ul {
  display: grid;
  gap: 6px;
  min-height: 86px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-plan-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
}

.membership-plan-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.membership-plan-card .primary-button,
.membership-plan-card .outline-button {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.member-benefit-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 14px;
  margin-bottom: 12px;
}

.member-benefit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(20, 31, 55, 0.05);
}

.member-benefit-card.is-soft {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(255, 255, 255, 0.98)),
    #fbf8f2;
}

.member-action-grid,
.member-tool-list {
  display: grid;
  gap: 10px;
}

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

.member-action,
.member-tool-list button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: #ffffff;
}

.member-action:hover,
.member-tool-list button:hover,
.member-action.is-selected,
.member-tool-list button.is-selected {
  border-color: rgba(197, 165, 99, 0.66);
  background: #fffaf2;
  transform: translateY(-1px);
}

.member-action [data-lucide],
.member-tool-list [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.member-action.is-locked,
.member-tool-list button.is-locked {
  opacity: 0.72;
  background: #f7f8fa;
}

.member-action.is-used,
.member-tool-list button.is-used {
  border-color: #d5d9e2;
  background: #f3f5f8;
  opacity: 0.72;
}

.member-action.is-locked,
.member-tool-list button.is-locked {
  cursor: pointer;
  filter: grayscale(0.28);
}

.member-action.is-locked [data-lucide],
.member-tool-list button.is-locked [data-lucide] {
  color: #9a8d78;
}

.member-action strong,
.member-tool-list strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.3;
}

.member-action small,
.member-tool-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.member-use-state {
  grid-column: 2;
  justify-self: start;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--gold);
  background: #fbf8f2;
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.member-action.is-used .member-use-state,
.member-tool-list button.is-used .member-use-state {
  color: var(--muted);
  background: #e8ebf0;
}

.member-workspace {
  margin-top: 14px;
  border: 1px solid rgba(197, 165, 99, 0.32);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.86), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.member-workspace[hidden] {
  display: none;
}

.member-workspace-empty,
.member-workspace-head,
.member-upload-row,
.member-alert,
.member-preview-box,
.template-letter-list button {
  border-radius: 8px;
}

.member-workspace-empty {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
}

.member-workspace-empty [data-lucide],
.member-alert [data-lucide],
.member-upload-row [data-lucide],
.template-letter-list [data-lucide] {
  color: var(--gold);
}

.member-workspace-empty strong,
.member-workspace-empty small {
  display: block;
}

.member-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(197, 165, 99, 0.25);
  padding-bottom: 14px;
}

.member-workspace-head h3 {
  margin: 4px 0 6px;
  color: var(--navy);
  font-size: 24px;
}

.member-workspace-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.member-workspace-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(53, 181, 106, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--green);
  background: #f5fbf7;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.member-workspace-body {
  display: grid;
  gap: 14px;
}

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

.member-workspace label,
.member-wide-field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.member-workspace input,
.member-workspace select,
.member-workspace textarea {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 500;
}

.member-upload-row,
.member-alert,
.member-source-note,
.member-preview-box {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px;
  background: #ffffff;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
}

.member-source-note {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  border-color: rgba(53, 181, 106, 0.22);
  background: #f5fbf7;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.45;
}

.member-source-note [data-lucide] {
  color: var(--green);
}

.member-upload-row {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
}

.member-upload-row.is-large {
  border-color: rgba(197, 165, 99, 0.42);
  background: #fffaf2;
}

.member-alert {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  border-color: rgba(53, 181, 106, 0.22);
  background: #f5fbf7;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.45;
}

.member-preview-box {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.member-preview-box strong,
.member-upload-row strong,
.template-letter-list strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.member-preview-box p,
.member-upload-row small,
.template-letter-list small {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

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

.template-letter-list button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  background: #ffffff;
}

.template-letter-list button:hover {
  border-color: rgba(197, 165, 99, 0.58);
  background: #fffaf2;
}

.template-letter-list button.is-selected {
  border-color: rgba(53, 181, 106, 0.45);
  background: #f5fbf7;
}

.membership-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.portal-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: #ffffff;
}

.portal-search [data-lucide] {
  color: var(--gold);
}

.portal-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: 600 14px Lexend, Arial, sans-serif;
  background: transparent;
}

.portal-search input::placeholder {
  color: #aaa8a2;
  font-weight: 500;
}

.quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
}

.quick-suggestions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--navy);
  background: #ffffff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.quick-suggestions button:hover {
  border-color: var(--gold);
  background: #fffaf2;
}

.stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-card p {
  min-height: 0;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.7fr);
  gap: 18px;
}

.task-list,
.profile-table,
.hubspot-card,
.message-feed {
  padding: 20px;
}

.section-title {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.regie-side-stack {
  display: grid;
  gap: 14px;
}

.regie-message-card,
.faq-link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(18, 28, 49, 0.05);
}

.regie-message-card .section-title {
  align-items: center;
  margin-bottom: 12px;
}

.regie-message-card .section-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.regie-message-card .section-title span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #7a5f23;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  background: #f3ead8;
}

.regie-message-list {
  display: grid;
  gap: 8px;
}

.regie-message-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcff;
}

.regie-message-row.is-unread {
  border-color: rgba(197, 165, 99, 0.58);
  background: #fffaf0;
}

.message-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #c8cfdb;
}

.regie-message-row.is-unread .message-dot {
  background: #d75d44;
}

.regie-message-row strong,
.regie-message-row small,
.regie-message-row em {
  font-family: Lexend, Arial, sans-serif;
}

.regie-message-row strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
  line-height: 1.3;
}

.regie-message-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.regie-message-row p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.regie-message-row em {
  align-self: start;
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  background: #eef2f7;
}

.regie-message-row.is-unread em {
  color: #7a5f23;
  background: #f5e7c7;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  border: 0;
  padding: 10px 0 0;
  color: var(--gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.text-button [data-lucide] {
  width: 15px;
  height: 15px;
}

.faq-link-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(244, 250, 255, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.faq-link-card > [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.faq-link-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 14px;
}

.faq-link-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.faq-link-card a {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.task-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.task-row:hover {
  border-color: rgba(228, 67, 37, 0.45);
  background: #fff8f5;
}

.task-row small {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
}

.case-overview {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  margin-bottom: 18px;
}

.case-card,
.automation-card {
  padding: 20px;
}

.case-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.case-status-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.case-status-row span {
  align-items: center;
  min-height: 32px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  padding: 8px;
  background: var(--beige-2);
  text-align: center;
}

.case-status-row span.is-done {
  color: #ffffff;
  background: var(--green);
}

.case-status-row span.is-current {
  border: 1px solid var(--gold);
  background: #fffaf2;
}

.has-no-active-dossier .live-summary .progress-meter,
.has-no-active-dossier .case-card .progress-meter,
.has-no-active-dossier .system-flow,
.has-no-active-dossier .case-status-row,
.has-no-active-dossier .live-stage-meta,
.has-no-active-dossier .automation-card,
.has-no-active-dossier .active-procedure-title,
.has-no-active-dossier [data-active-procedure-list],
.has-no-active-dossier .documents-shell,
.has-no-active-dossier .portal-grid,
.has-no-active-dossier .document-strip,
.has-no-active-dossier .integration-strip,
.has-no-active-dossier .pipeline-board {
  display: none;
}

.has-no-active-dossier .case-overview {
  grid-template-columns: 1fr;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbf8f2;
}

.empty-state [data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.empty-state strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
}

.empty-state p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.documents-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #ffffff;
}

.document-card .section-title {
  gap: 3px;
  margin-bottom: 8px;
}

.document-card .section-title h3 {
  font-size: 15px;
  line-height: 1.15;
}

.document-card .section-title span {
  font-size: 9.5px;
  letter-spacing: 0;
}

.document-card p {
  margin: -1px 0 8px;
  color: var(--muted);
  font-size: 10.75px;
  line-height: 1.32;
}

.doc-list {
  display: grid;
  gap: 6px;
}

.doc-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) minmax(58px, max-content);
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  background: var(--soft);
}

.doc-row [data-lucide] {
  color: var(--gold);
  width: 14px;
  height: 14px;
}

.doc-row.is-ready {
  border-color: rgba(53, 181, 106, 0.26);
  background: #f6fbf7;
}

.doc-row.is-ready [data-lucide] {
  color: var(--green);
}

.doc-row.is-missing {
  border-color: rgba(224, 67, 57, 0.26);
  background: #fff5f5;
}

.doc-row.is-missing [data-lucide] {
  color: #d92d20;
}

.doc-row.is-optional {
  background: #ffffff;
}

.doc-empty {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border: 1px solid rgba(53, 181, 106, 0.24);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: #f6fbf7;
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
}

.doc-empty [data-lucide] {
  color: var(--green);
}

.doc-row strong,
.doc-row small {
  display: block;
}

.doc-row strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 10.75px;
  line-height: 1.16;
}

.doc-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.75px;
  line-height: 1.22;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 7px;
  color: var(--navy);
  text-decoration: none;
  background: #ffffff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  white-space: normal;
}

.doc-chip {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--navy);
  background: #ffffff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.doc-chip.is-muted {
  color: var(--muted);
  background: var(--soft);
}

.upload-help-card {
  border: 1px solid rgba(196, 154, 74, 0.42);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf2;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.upload-help-card [data-lucide] {
  color: var(--gold);
}

.upload-help-card strong,
.upload-help-card span {
  display: block;
}

.upload-help-card strong {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.upload-help-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.38;
}

.letter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.report-card {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid rgba(197, 165, 99, 0.32);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff8ec 100%);
}

.report-card span,
.report-card strong {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.report-card-head > span {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-card strong {
  margin-top: 3px;
  color: var(--navy);
  font-size: 13.5px;
}

.report-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.38;
}

.report-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.report-choice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 0;
  border: 1px solid rgba(231, 234, 240, 0.95);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(23, 35, 60, 0.04);
}

.report-choice [data-lucide] {
  color: var(--gold);
  width: 18px;
  height: 18px;
}

.report-choice strong,
.report-choice small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.report-choice strong {
  color: var(--navy);
  font-size: 13px;
}

.report-choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.report-choice:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.report-choice.is-paid {
  border-color: rgba(197, 165, 99, 0.7);
  background: #fffaf2;
}

.report-choice.is-premium {
  border-color: rgba(197, 154, 74, 0.72);
  color: var(--ink);
  background: linear-gradient(135deg, #fff9e9 0%, #ffffff 72%);
  box-shadow: 0 12px 26px rgba(197, 154, 74, 0.12);
}

.report-choice.is-premium [data-lucide] {
  color: var(--navy);
}

.report-choice.is-premium strong {
  color: var(--navy);
}

.report-choice.is-premium small {
  color: #5d6171;
}

.deadline-card {
  margin-top: 12px;
  border: 1px solid rgba(197, 165, 99, 0.6);
  border-radius: 8px;
  padding: 14px;
  background: #fffaf1;
}

.deadline-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.deadline-head span,
.deadline-head strong {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.deadline-head span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.deadline-head strong {
  margin-top: 3px;
  color: var(--navy);
  font-size: 15px;
}

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

.deadline-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.deadline-step span,
.deadline-step strong {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.deadline-step span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.deadline-step strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.3;
}

.deadline-step.is-current {
  border-color: var(--gold);
}

.deadline-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 10px;
  color: var(--navy);
  background: #ffffff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.deadline-note [data-lucide] {
  color: var(--green);
}

.progress-meter.compact {
  margin: 0;
}

.live-stage-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.live-stage-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #ffffff;
}

.live-stage-meta span,
.live-stage-meta strong {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.live-stage-meta span {
  color: var(--muted);
  font-size: 11px;
}

.live-stage-meta strong {
  margin-top: 4px;
  color: var(--navy);
  font-size: 13px;
}

.automation-card {
  display: grid;
  gap: 12px;
}

.automation-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px;
  background: var(--soft);
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
}

.automation-row.is-ok [data-lucide] {
  color: var(--green);
}

.automation-row.is-open [data-lucide] {
  color: var(--gold);
}

.integration-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbf8f2;
}

.integration-strip div {
  display: grid;
  gap: 6px;
}

.integration-strip span {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.integration-strip code,
.mail-preview code {
  justify-self: start;
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--navy);
  background: #ffffff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.active-procedure-title {
  margin-bottom: 10px;
}

.active-procedure-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.active-procedure-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: inherit;
  text-align: left;
  background: #ffffff;
  cursor: pointer;
}

.active-procedure-card.is-active,
.active-procedure-card.is-viewing {
  border-color: var(--gold);
  background: #fffaf2;
}

.active-procedure-card:hover {
  border-color: var(--gold);
}

.active-procedure-card.is-available {
  background: var(--soft);
}

.active-procedure-card span,
.active-procedure-card strong,
.active-procedure-card small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.active-procedure-card span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.active-procedure-card strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 15px;
}

.active-procedure-card small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.pipeline-board {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.pipeline-lane {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.pipeline-lane.is-muted {
  background: #fbf8f2;
}

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

.commission-steps {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.lane-step {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.lane-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--beige-2);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.lane-step.is-done {
  background: #f6fbf7;
}

.lane-step.is-done span {
  color: #ffffff;
  background: var(--green);
}

.lane-step.is-current {
  border-color: var(--gold);
  background: #fffaf2;
}

.lane-step.is-optional {
  border-style: dashed;
}

.lane-step strong,
.lane-step small {
  display: block;
}

.lane-step strong {
  margin-top: 10px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

.lane-step small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

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

.requirements-board {
  align-items: start;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.request-composer {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 18px;
}

.mail-preview,
.upload-sync-card {
  padding: 16px;
}

.upload-action-wrap {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.upload-status-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  max-width: 280px;
  text-align: right;
}

.upload-status-line.is-active {
  color: var(--navy);
}

.upload-status-line.is-success {
  color: #2f8f56;
}

.upload-status-line.is-warning {
  color: var(--gold);
}

.upload-status-line.is-error {
  color: #b34a42;
}

.points-upload-panel {
  align-items: center;
  background: linear-gradient(135deg, #fffdf8, #f8fbff);
  border: 1px solid rgba(211, 184, 127, 0.55);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  margin-bottom: 14px;
  padding: 14px;
  text-align: left;
}

.points-upload-panel h3 {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.18;
  margin: 2px 0 6px;
}

.points-upload-panel p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.38;
  margin: 0;
}

.points-upload-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  margin-inline: auto;
  max-width: 640px;
  width: 100%;
}

.points-upload-actions .outline-button {
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px;
  font-size: 11px;
  text-align: center;
  white-space: normal;
}

.points-upload-actions .outline-button:last-child {
  border-color: rgba(197, 165, 99, 0.65);
  color: #4c3b18;
  background:
    linear-gradient(135deg, rgba(255, 248, 224, 0.98), rgba(219, 186, 103, 0.28)),
    #fffdf6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.upload-document-choice-list {
  display: grid;
  gap: 10px;
}

.upload-document-choice {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  display: grid;
  gap: 12px;
  grid-template-columns: 34px 1fr auto;
  padding: 13px;
  text-align: left;
}

.upload-document-choice:hover {
  border-color: rgba(211, 184, 127, 0.85);
  box-shadow: var(--shadow-soft);
}

.upload-document-choice [data-lucide] {
  color: var(--gold);
  height: 20px;
  width: 20px;
}

.upload-document-choice strong,
.upload-document-choice small {
  display: block;
}

.upload-document-choice small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.mail-preview p {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.upload-sync-card {
  display: grid;
  align-content: start;
  gap: 13px;
}

.requirement-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(66px, auto);
  align-items: center;
  align-self: start;
  gap: 8px;
  min-height: 0;
  padding: 9px;
}

.requirement-item [data-lucide] {
  width: 15px;
  height: 15px;
}

.requirement-item > div {
  min-width: 0;
}

.requirement-item strong,
.requirement-item span {
  display: block;
  overflow-wrap: anywhere;
}

.requirement-item strong {
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.25px;
  line-height: 1.18;
}

.requirement-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.28;
}

.requirement-item .outline-button {
  justify-self: end;
  max-width: 100%;
  min-width: 0;
  min-height: 29px;
  padding: 5px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.requirement-item.is-missing {
  border-color: rgba(224, 67, 57, 0.32);
  background: #fff5f5;
}

.requirement-item.is-missing [data-lucide] {
  color: #d92d20;
}

.requirement-item.is-complete [data-lucide] {
  color: var(--green);
}

.profile-table dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.profile-table dl div,
.hubspot-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.profile-table dt {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
}

.profile-table dd {
  margin: 0;
  font-weight: 600;
}

.hubspot-card {
  display: grid;
  align-content: start;
  gap: 13px;
}

.hubspot-row code {
  justify-self: start;
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--navy);
  background: var(--beige-2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.document-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px dashed #c9d0dc;
  border-radius: 8px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.document-item.is-ready {
  border-color: rgba(53, 181, 106, 0.35);
  border-style: solid;
  color: #107545;
  background: #f1fbf5;
}

.document-item:not(.is-ready) {
  border-color: rgba(224, 67, 57, 0.38);
  color: #b42318;
  background: #fff5f5;
}

.document-item:not(.is-ready) [data-lucide] {
  color: #d92d20;
}

.letter-builder {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1fr);
  gap: 18px;
}

.letter-form {
  display: grid;
  gap: 14px;
}

.letter-form label,
.login-dialog label {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.letter-form input,
.letter-form select,
.letter-form textarea,
.login-dialog input {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  min-height: 52px;
  padding: 14px 15px;
  color: var(--ink);
  background: #ffffff;
  font-size: 16px;
}

.letter-preview {
  min-height: 470px;
  padding: 30px;
  box-shadow: inset 0 0 0 10px #f7f8fa;
}

.letter-meta {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.letter-preview p {
  line-height: 1.75;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.message-feed {
  display: grid;
  gap: 14px;
}

.message-item {
  max-width: 88%;
  border-radius: 8px;
  padding: 13px;
}

.message-item span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.message-item p {
  margin: 0;
  line-height: 1.5;
}

.from-team {
  background: var(--soft);
}

.from-user {
  justify-self: end;
  color: #ffffff;
  background: var(--navy);
}

.from-user span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  overflow: hidden;
}

.contact-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.contact-card div {
  padding: 20px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-card label {
  color: var(--navy);
  display: grid;
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  margin-top: 12px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 500 14px/1.45 Inter, Arial, sans-serif;
  padding: 12px;
  width: 100%;
}

.message-dossier-field[hidden] {
  display: none !important;
}

.message-dossier-field small {
  color: var(--muted);
  font: 700 11px/1.35 Inter, Arial, sans-serif;
}

.contact-card textarea {
  resize: vertical;
}

.contact-card .primary-button {
  margin-top: 12px;
}

.portal-message-status {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

.portal-message-status.is-success {
  color: #2f8f56;
}

.portal-message-status.is-error {
  color: #b34a42;
}

.mailbox-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: stretch;
}

.mailbox-list-panel,
.mailbox-read-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(16, 25, 45, 0.06);
}

.mailbox-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, rgba(245, 239, 228, 0.55));
}

.mailbox-topline h3 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.mailbox-count {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 9px;
  color: #2f8f56;
  background: #edf8f1;
  font: 800 11px/1 Lexend, Arial, sans-serif;
  white-space: nowrap;
}

.mailbox-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  background: #ffffff;
}

.mailbox-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: #f8fafc;
  cursor: pointer;
  font: 800 12px/1 Lexend, Arial, sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mailbox-tab:hover,
.mailbox-tab.is-active {
  border-color: rgba(197, 165, 99, 0.65);
  color: var(--navy);
  background: #fffaf0;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.mailbox-tab span {
  min-width: 22px;
  border-radius: 999px;
  padding: 4px 6px;
  color: #8b641c;
  background: #f1e6cf;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.mailbox-list {
  display: grid;
  max-height: 480px;
  overflow: auto;
}

.mailbox-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  color: inherit;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.mailbox-row:hover,
.mailbox-row.is-active {
  background: #f8fbff;
}

.mailbox-row.is-active {
  box-shadow: inset 3px 0 0 var(--gold);
}

.mailbox-dot {
  width: 8px;
  height: 8px;
  align-self: center;
  border-radius: 999px;
  background: #cfd6df;
}

.mailbox-row.is-unread .mailbox-dot {
  background: var(--green);
}

.mailbox-row strong {
  display: block;
  color: var(--navy);
  font: 800 13px/1.25 Lexend, Arial, sans-serif;
}

.mailbox-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 700 11px/1.25 Inter, Arial, sans-serif;
}

.mailbox-row em {
  color: var(--muted);
  font: 700 10.5px/1.25 Inter, Arial, sans-serif;
  white-space: nowrap;
}

.mailbox-empty-list {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 18px;
  color: var(--muted);
  text-align: center;
}

.mailbox-empty-list [data-lucide] {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  padding: 8px;
  color: var(--gold);
  background: #f5efe4;
}

.mailbox-empty-list strong {
  color: var(--navy);
  font: 800 14px/1.2 Lexend, Arial, sans-serif;
}

.mailbox-empty-list small {
  max-width: 250px;
  font: 600 12px/1.45 Inter, Arial, sans-serif;
}

.mailbox-read-panel {
  display: grid;
  grid-template-rows: auto auto;
}

.mailbox-reader {
  min-height: 245px;
  border-bottom: 1px solid var(--line);
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, rgba(250, 247, 241, 0.75));
}

.mailbox-reader-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.mailbox-status {
  width: max-content;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--muted);
  background: #eef2f7;
  font: 800 10px/1 Lexend, Arial, sans-serif;
  text-transform: uppercase;
}

.mailbox-status.is-unread {
  color: #2f8f56;
  background: #edf8f1;
}

.mailbox-status.is-sent {
  color: #8b641c;
  background: #f6ebd5;
}

.mailbox-reader h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.18;
}

.mailbox-reader-head p,
.mailbox-reader-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.mailbox-reader-body {
  border: 1px solid rgba(212, 190, 151, 0.45);
  border-radius: 8px;
  padding: 15px;
  background: #ffffff;
}

.mailbox-attachment {
  width: max-content;
  margin-top: 12px;
}

.mailbox-reader-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mailbox-reader-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--muted);
  background: #f7f9fb;
  font: 800 10.5px/1 Lexend, Arial, sans-serif;
}

.mailbox-reader-foot [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.mailbox-compose {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
  background: #ffffff;
}

.mailbox-compose-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mailbox-compose-head > [data-lucide] {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  padding: 8px;
  color: var(--gold);
  background: #f5efe4;
}

.mailbox-compose-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.mailbox-compose-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.mailbox-compose label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.mailbox-compose input,
.mailbox-compose select,
.mailbox-compose textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #ffffff;
  font: 500 14px/1.45 Inter, Arial, sans-serif;
}

.mailbox-compose textarea {
  resize: vertical;
}

.mailbox-compose .primary-button {
  justify-self: start;
}

.portal-inbox {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.inbox-list {
  display: grid;
  gap: 10px;
}

.inbox-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcff;
}

.inbox-item.is-new {
  border-color: rgba(53, 181, 106, 0.28);
  background: #f5fbf7;
}

.inbox-item [data-lucide] {
  color: var(--gold);
}

.inbox-item span,
.inbox-item strong,
.inbox-item p {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.inbox-item span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.inbox-item strong {
  margin-top: 2px;
  color: var(--navy);
  font-size: 14px;
}

.inbox-item p {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.login-dialog {
  width: min(540px, calc(100% - 30px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow);
}

.login-dialog::backdrop,
.whatsapp-dialog::backdrop,
.membership-terms-dialog::backdrop,
.membership-request-dialog::backdrop,
.service-notice-dialog::backdrop {
  background: rgba(16, 25, 45, 0.62);
}

.login-dialog form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px;
}

.membership-terms-dialog form,
.membership-request-dialog form,
.service-notice-dialog form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.login-dialog img {
  width: 135px;
  margin-bottom: 4px;
  padding: 8px;
  border-radius: 6px;
  background: var(--navy);
}

.whatsapp-dialog {
  width: min(520px, calc(100% - 30px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(8, 24, 44, 0.22);
}

.whatsapp-dialog-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px;
}

.whatsapp-dialog-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.whatsapp-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #0b6334;
  background: #eaf8f0;
}

.whatsapp-avatar [data-lucide] {
  width: 26px;
  height: 26px;
}

.whatsapp-dialog h2 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1.08;
}

.whatsapp-dialog p,
.whatsapp-dialog small {
  margin: 0;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.whatsapp-dialog label {
  display: grid;
  gap: 9px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-dialog textarea {
  width: 100%;
  min-height: 126px;
  border: 1px solid #d8deea;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfcfe;
  font: 500 15px/1.55 Lexend, Arial, sans-serif;
  resize: vertical;
}

.whatsapp-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.whatsapp-dialog-actions .primary-button,
.whatsapp-dialog-actions .secondary-button {
  justify-content: center;
  min-height: 52px;
  font-size: 14px;
}

.dialog-status {
  display: none;
  margin: -4px 0 0;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  background: #fff7ed;
  color: #9a3412;
  font: 700 12px/1.45 Lexend, Arial, sans-serif;
}

.dialog-status.is-visible {
  display: block;
}

.dialog-status.is-success {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

.login-dialog h2 {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: 0;
}

.login-intro {
  margin: -8px 0 2px;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.login-helper-row {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 0;
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
}

.login-helper-row a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-dialog [data-submit-login],
.login-dialog [data-submit-register] {
  min-height: 54px;
  justify-content: center;
  font-size: 16px;
}

.dialog-link-row,
.register-intro {
  margin: 0;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.dialog-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  justify-content: center;
}

.dialog-link-row button {
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font: 900 14px Lexend, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 560px) {
  .login-dialog form {
    gap: 16px;
    padding: 24px;
  }

  .login-dialog h2 {
    font-size: 28px;
  }

  .whatsapp-dialog-shell {
    padding: 24px;
  }

  .whatsapp-dialog-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .whatsapp-avatar {
    width: 44px;
    height: 44px;
  }

  .whatsapp-dialog h2 {
    font-size: 26px;
  }

  .whatsapp-dialog-actions {
    grid-template-columns: 1fr;
  }
}

.register-dialog,
.profile-dialog {
  width: min(680px, calc(100% - 30px));
}

.profile-dialog input[readonly] {
  color: var(--muted);
  background: #f7f4ee;
}

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

.register-wide {
  grid-column: 1 / -1;
}

.membership-terms-dialog,
.membership-request-dialog,
.service-notice-dialog {
  width: min(760px, calc(100% - 30px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.membership-terms-dialog h2,
.service-notice-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
}

.membership-terms-dialog p,
.service-notice-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.membership-request-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(83, 184, 114, 0.28);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(245, 251, 247, 0.98), rgba(255, 250, 240, 0.96)),
    #ffffff;
}

.membership-request-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 16px 30px rgba(83, 184, 114, 0.22);
}

.membership-request-card h2 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1.05;
}

.membership-request-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.membership-request-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(197, 165, 99, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fffdf8;
}

.membership-request-summary span,
.membership-request-note {
  color: var(--muted);
  font: 700 11px Lexend, Arial, sans-serif;
}

.membership-request-summary strong {
  color: var(--navy);
  font: 900 16px Lexend, Arial, sans-serif;
}

.membership-request-actions {
  display: flex;
  justify-content: flex-end;
}

.membership-terms-dialog ul {
  display: grid;
  gap: 6px;
  margin: 0;
  border: 1px solid rgba(197, 165, 99, 0.22);
  border-radius: 8px;
  padding: 12px 14px 12px 30px;
  color: var(--ink);
  background: #fffdf8;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.38;
}

.membership-dialog-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.7fr);
  gap: 16px;
  align-items: stretch;
}

.membership-dialog-top > div {
  display: grid;
  align-content: center;
  gap: 8px;
}

.membership-dialog-image {
  position: relative;
  min-height: 178px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.membership-dialog-image img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  display: block;
  object-fit: cover;
}

.membership-dialog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 31, 55, 0.03), rgba(20, 31, 55, 0.74)),
    linear-gradient(90deg, rgba(197, 165, 99, 0.18), transparent 62%);
}

.membership-dialog-image figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  gap: 3px;
  color: #ffffff;
}

.membership-dialog-image figcaption span {
  color: #e8d6ae;
  font: 900 9px Lexend, Arial, sans-serif;
  text-transform: uppercase;
}

.membership-dialog-image figcaption strong {
  max-width: 210px;
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1.08;
}

.membership-dialog-hero {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(197, 165, 99, 0.34);
  border-radius: 8px;
  padding: 15px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(245, 251, 247, 0.9)),
    #ffffff;
}

.membership-dialog-hero span {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--navy);
  background: rgba(197, 165, 99, 0.2);
  font: 800 10px Lexend, Arial, sans-serif;
  text-transform: uppercase;
}

.membership-dialog-hero strong {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1.12;
}

.membership-dialog-hero small {
  color: var(--muted);
  font: 600 12px/1.45 Lexend, Arial, sans-serif;
}

.membership-dialog-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.membership-dialog-perks span {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  color: var(--navy);
  background: #ffffff;
  font: 800 11.5px/1.35 Lexend, Arial, sans-serif;
}

.membership-dialog-perks [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.membership-dialog-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(53, 181, 106, 0.22);
  border-radius: 8px;
  padding: 12px;
  color: var(--navy);
  background: #f5fbf7;
  font: 800 12px/1.4 Lexend, Arial, sans-serif;
}

.membership-dialog-note [data-lucide] {
  width: 21px;
  height: 21px;
  color: var(--green);
}

.terms-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.procedure-dialog {
  width: min(920px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.procedure-info-dialog {
  width: min(1080px, calc(100% - 32px));
}

.procedure-dialog::backdrop {
  background: rgba(16, 25, 45, 0.62);
}

.procedure-dialog-shell {
  position: relative;
  padding: 28px;
  background: #ffffff;
}

.procedure-dialog-head {
  max-width: 650px;
  margin: 0 auto 20px;
  text-align: center;
}

.procedure-dialog-head h2 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 30px;
}

.procedure-dialog-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.authorization-dialog {
  width: min(680px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.authorization-dialog::backdrop {
  background: rgba(16, 25, 45, 0.62);
}

.authorization-shell {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #ffffff;
}

.authorization-head {
  display: grid;
  gap: 6px;
  padding-right: 34px;
}

.authorization-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 26px;
}

.authorization-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.authorization-body {
  display: grid;
  gap: 14px;
}

.authorization-paper {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(196, 154, 74, 0.32);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: #fffaf2;
}

.authorization-paper p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.assignment-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.assignment-shell {
  max-height: calc(100vh - 32px);
  overflow: auto;
  background:
    radial-gradient(circle at top left, rgba(214, 183, 124, 0.24), transparent 34%),
    linear-gradient(140deg, rgba(248, 244, 236, 0.98), rgba(255, 255, 255, 0.98) 45%),
    #ffffff;
}

.assignment-head {
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}

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

.assignment-summary div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(196, 154, 74, 0.24);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.assignment-summary span {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.assignment-summary strong {
  min-width: 0;
  color: var(--navy);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.assignment-letter {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(196, 154, 74, 0.28);
  border-radius: 8px;
  padding: 18px 20px;
  background:
    linear-gradient(115deg, rgba(24, 34, 57, 0.95), rgba(42, 54, 82, 0.92)),
    var(--navy);
  color: #ffffff;
}

.assignment-letter::after {
  content: "";
  position: absolute;
  inset: auto -30px -70px auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  border: 26px solid rgba(214, 183, 124, 0.2);
}

.assignment-letter-kicker {
  position: relative;
  z-index: 1;
  color: var(--light-gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.assignment-letter h3 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.38rem;
  line-height: 1.15;
}

.assignment-letter p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.assignment-paper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(196, 154, 74, 0.3);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(255, 255, 255, 0.94)),
    #fffaf2;
}

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

.assignment-keypoints article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  border: 1px solid rgba(196, 154, 74, 0.18);
  border-radius: 8px;
  padding: 13px;
  background: #ffffff;
}

.assignment-keypoints [data-lucide] {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--light-gold);
}

.assignment-keypoints span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.assignment-keypoints strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.assignment-paper details {
  display: grid;
  align-content: start;
  border: 1px solid rgba(196, 154, 74, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.assignment-paper summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 13px 15px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.assignment-paper summary::-webkit-details-marker {
  display: none;
}

.assignment-paper summary [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--light-gold);
  transition: transform 0.2s ease;
}

.assignment-paper details[open] summary [data-lucide] {
  transform: rotate(180deg);
}

.assignment-paper details ul {
  padding: 0 15px 15px;
}

.assignment-paper section {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(196, 154, 74, 0.18);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.assignment-paper .is-featured,
.assignment-paper .is-legal {
  grid-column: 1 / -1;
}

.assignment-paper .is-featured {
  border-color: rgba(87, 182, 111, 0.26);
  background: linear-gradient(135deg, rgba(234, 249, 239, 0.9), rgba(255, 255, 255, 0.92));
}

.assignment-paper .is-legal {
  border-color: rgba(24, 34, 57, 0.16);
  background: linear-gradient(135deg, rgba(239, 242, 247, 0.95), rgba(255, 255, 255, 0.94));
}

.assignment-paper h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.96rem;
}

.assignment-paper ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assignment-paper li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.83rem;
  line-height: 1.45;
}

.assignment-paper li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #57b66f;
  box-shadow: inset 0 0 0 4px #e9f8ee;
}

.assignment-paper section:nth-child(4) li::before {
  background: var(--gold);
  box-shadow: inset 0 0 0 4px #fff4d8;
}

.assignment-paper .is-legal li,
.assignment-paper section:nth-child(6) li {
  font-size: 0.82rem;
}

.assignment-paper .is-legal li::before,
.assignment-paper section:nth-child(6) li::before {
  background: var(--navy);
  box-shadow: inset 0 0 0 4px #e9edf5;
}

.assignment-consent {
  background: #ffffff;
}

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

.authorization-fields label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.authorization-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.authorization-signature-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.signature-pad {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8deea;
  border-radius: 8px;
  background: #ffffff;
}

.signature-pad::after {
  content: "Zet hier uw handtekening";
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(93, 103, 123, 0.5);
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}

.signature-pad canvas {
  display: block;
  width: 100%;
  height: 150px;
  touch-action: none;
  cursor: crosshair;
}

.authorization-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.membership-terms-dialog.is-view-only .terms-check {
  display: none;
}

.authorization-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

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

.procedure-modal-grid:has(.existing-form-panel:not([hidden])) {
  grid-template-columns: minmax(0, 1fr);
}

.procedure-dialog.has-selected-procedure .procedure-choice-list {
  display: none;
}

.procedure-dialog.is-direct-route .route-method-grid {
  display: none;
}

.procedure-dialog.has-selected-procedure .form-source {
  margin-bottom: 12px;
}

.procedure-dialog.has-selected-procedure .form-source p {
  display: none;
}

.procedure-info-layout {
  display: grid;
  gap: 14px;
}

.procedure-info-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.procedure-info-choice-list[hidden],
.procedure-info-detail-panel[hidden] {
  display: none;
}

.procedure-info-choice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(197, 165, 99, 0.26);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf8 100%);
}

.procedure-info-choice [data-lucide] {
  width: 21px;
  height: 21px;
  color: #2f8f5b;
}

.procedure-info-choice > [data-lucide] {
  justify-self: center;
}

.procedure-info-choice strong,
.procedure-info-choice small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.procedure-info-choice strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

.procedure-info-choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.procedure-info-choice:hover,
.procedure-info-choice.is-selected {
  border-color: rgba(197, 165, 99, 0.7);
  background: #fffaf0;
  box-shadow: 0 12px 28px rgba(18, 28, 49, 0.07);
}

.procedure-info-detail-panel {
  display: grid;
  gap: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
}

.back-link [data-lucide] {
  width: 16px;
  height: 16px;
}

.procedure-info-detail-card {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  border: 1px solid rgba(197, 165, 99, 0.38);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(18, 28, 49, 0.08);
}

.procedure-info-badge {
  grid-column: 1;
  justify-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  color: #7d6430;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  background: #f3ead8;
}

.procedure-info-detail-card h3 {
  grid-column: 1;
  margin: 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1.08;
}

.procedure-info-detail-card p {
  grid-column: 1;
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.procedure-info-media {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  justify-self: center;
  margin: 2px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 99, 0.26);
  border-radius: 8px;
  background: #f7f2e9;
}

.procedure-info-media[hidden] {
  display: none;
}

.procedure-info-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.procedure-info-top-actions {
  display: flex;
  grid-column: 1;
  justify-content: flex-start;
}

.procedure-info-top-actions .primary-button {
  min-height: 42px;
}

.procedure-info-tabs {
  display: inline-flex;
  grid-column: 1 / -1;
  width: fit-content;
  gap: 4px;
  border: 1px solid rgba(197, 165, 99, 0.25);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.78);
}

.procedure-info-detail-card > [data-info-tab-panel] {
  grid-column: 1 / -1;
}

.procedure-info-tabs button {
  border: 0;
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.procedure-info-tabs button.is-active {
  color: var(--navy);
  background: #f3ead8;
}

.procedure-info-cost-panel {
  display: grid;
  gap: 9px;
  grid-column: 1 / -1;
  border: 1px solid rgba(197, 165, 99, 0.28);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 250, 238, 0.92)),
    #ffffff;
}

.procedure-info-cost-panel > span {
  color: var(--gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.procedure-info-cost-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.procedure-info-cost-panel li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.45;
}

.procedure-info-cost-panel li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

[data-info-tab-panel][hidden] {
  display: none !important;
}

.procedure-info-points {
  display: grid;
  gap: 9px;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.procedure-info-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.42;
}

.procedure-info-points [data-lucide] {
  width: 18px;
  height: 18px;
  color: #4db16f;
}

.procedure-info-meta-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.procedure-info-meta-grid section,
.procedure-info-faq {
  border: 1px solid rgba(197, 165, 99, 0.24);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
}

.procedure-info-meta-grid span,
.procedure-info-faq > span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.procedure-info-meta-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.procedure-info-meta-grid li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.42;
}

.procedure-info-meta-grid li::before {
  content: "•";
  color: var(--green);
  font-weight: 900;
}

.procedure-info-faq {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.procedure-info-faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.procedure-info-faq-item summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
}

.procedure-info-faq-item p {
  max-width: none;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.procedure-info-detail-actions {
  display: flex;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.procedure-choice-list {
  display: grid;
  gap: 10px;
}

.procedure-choice-list[hidden],
.other-help-panel[hidden] {
  display: none;
}

.procedure-choice {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  text-align: center;
  background: #ffffff;
}

.procedure-choice [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.procedure-choice strong,
.procedure-choice small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.procedure-choice strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.25;
}

.procedure-choice small {
  max-width: 420px;
  margin: 5px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.procedure-choice:hover,
.procedure-choice.is-selected {
  border-color: var(--gold);
  background: #fffaf2;
}

.procedure-choice.is-other-help {
  min-height: 78px;
  border-style: dashed;
  background: #fbf8f2;
}

.procedure-choice.is-locked {
  cursor: not-allowed;
  opacity: 0.68;
  background: var(--soft);
}

.procedure-choice.is-locked:hover {
  border-color: var(--line);
  background: var(--soft);
}

.other-help-panel {
  display: grid;
  gap: 14px;
}

.other-help-grid[hidden],
.other-help-form[hidden] {
  display: none;
}

.other-help-grid {
  display: grid;
  gap: 10px;
}

.other-help-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.other-help-card:hover {
  border-color: rgba(196, 154, 74, 0.52);
  background: #fffaf2;
}

.other-help-card.is-selected {
  border-color: rgba(53, 181, 106, 0.42);
  background: #f5fbf7;
}

.other-help-card [data-lucide] {
  color: var(--gold);
}

.other-help-card strong,
.other-help-card small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.other-help-card strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.3;
}

.other-help-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.other-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.other-help-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(196, 154, 74, 0.28);
  border-radius: 8px;
  padding: 16px;
  background: #fbf8f2;
}

.other-help-form h3 {
  margin: 3px 0 5px;
  color: var(--navy);
  font-size: 18px;
}

.other-help-form p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.other-help-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.other-help-form select,
.other-help-form textarea {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: 500 13px Lexend, Arial, sans-serif;
}

.other-help-form textarea {
  resize: vertical;
}

.other-help-form .primary-button {
  justify-self: start;
}

.other-topic-fields {
  display: grid;
  gap: 10px;
}

.other-topic-fields[hidden] {
  display: none;
}

.other-topic-fields .member-upload-row {
  margin-top: 0;
}

.other-topic-fields select,
.other-topic-fields input {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: 500 13px Lexend, Arial, sans-serif;
}

.other-membership-callout,
.other-advice-card,
.claim-upload-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(53, 181, 106, 0.24);
  border-radius: 8px;
  padding: 13px;
  background: #f5fbf7;
}

.other-advice-card {
  grid-template-columns: 34px minmax(0, 1fr);
  border-color: rgba(196, 154, 74, 0.32);
  background: #fffaf2;
}

.other-membership-callout[hidden],
.other-advice-card[hidden],
.other-claim-form[hidden] {
  display: none;
}

.other-membership-callout [data-lucide],
.other-advice-card [data-lucide],
.claim-upload-row [data-lucide] {
  color: var(--gold);
}

.other-membership-callout strong,
.other-membership-callout small,
.other-advice-card strong,
.other-advice-card small,
.claim-upload-row strong,
.claim-upload-row small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.other-membership-callout strong,
.other-advice-card strong,
.claim-upload-row strong {
  color: var(--navy);
  font-size: 13px;
}

.other-membership-callout small,
.other-advice-card small,
.claim-upload-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.other-claim-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(63, 93, 154, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: #f5f7fc;
}

.other-claim-form h3 {
  margin: 3px 0 5px;
  color: var(--navy);
  font-size: 18px;
}

.other-claim-form p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

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

.other-claim-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.other-claim-form input,
.other-claim-form select,
.other-claim-form textarea {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: 500 13px Lexend, Arial, sans-serif;
}

.existing-form-panel {
  border: 1px solid rgba(197, 165, 99, 0.5);
  border-radius: 8px;
  padding: 16px;
  background: #fffaf2;
}

.form-source {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  text-align: center;
}

.form-source span,
.form-source strong,
.form-source a,
.form-source p {
  font-family: Lexend, Arial, sans-serif;
}

.form-source span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.form-source strong {
  color: var(--navy);
  font-size: 16px;
}

.form-source a {
  justify-self: start;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.form-source p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.45;
}

.existing-form-preview {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.route-check-panel {
  display: grid;
  gap: 14px;
}

.security-note,
.progressive-form-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid rgba(53, 181, 106, 0.24);
  border-radius: 8px;
  padding: 13px;
  background: #f1f8f4;
}

.security-note [data-lucide],
.progressive-form-note [data-lucide] {
  color: var(--green);
}

.security-note strong,
.security-note span,
.progressive-form-note span {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.security-note strong {
  color: var(--navy);
  font-size: 13px;
}

.security-note span,
.progressive-form-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.route-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 12px;
}

.route-method {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.route-method.is-primary {
  border-color: rgba(196, 154, 74, 0.54);
  background:
    linear-gradient(135deg, rgba(196, 154, 74, 0.13), rgba(255, 255, 255, 0.94)),
    #fffaf2;
}

.route-method-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--gold);
}

.route-method-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.route-method strong {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.route-method p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.route-method small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
}

.route-method small [data-lucide] {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.route-upload-status {
  width: 100%;
  min-height: 18px;
  padding-top: 2px;
}

.route-upload-status.is-active {
  color: var(--gold-dark);
}

.route-upload-status.is-success {
  color: var(--green);
}

.route-upload-status.is-warning {
  color: var(--gold);
}

.route-upload-status.is-error {
  color: #a94442;
}

.route-fields {
  display: grid;
  gap: 9px;
}

.route-fields[hidden] {
  display: none;
}

.route-fields label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.route-fields input {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: #ffffff;
}

.compact-route-button {
  width: 100%;
  justify-content: center;
}

.route-decision-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(53, 181, 106, 0.32);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(135deg, #effaf3 0%, #ffffff 100%);
  box-shadow: 0 16px 34px rgba(30, 55, 90, 0.08);
}

.route-decision-card[hidden] {
  display: none;
}

.route-decision-card [data-lucide] {
  color: var(--green);
}

.route-decision-card span,
.route-decision-card strong,
.route-decision-card p {
  font-family: Lexend, Arial, sans-serif;
}

.route-decision-card span {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-decision-card strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 15px;
}

.route-decision-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.route-decision-card.is-court-route {
  border-color: rgba(196, 154, 74, 0.42);
  background: #fffaf2;
}

.route-decision-card.is-pending {
  border-color: rgba(196, 154, 74, 0.24);
  background: #fbf8f2;
}

.route-decision-card.is-direct-route {
  border-color: rgba(53, 181, 106, 0.36);
  background: linear-gradient(135deg, #effaf3 0%, #ffffff 100%);
}

.route-decision-card.is-pending [data-lucide],
.route-decision-card.is-pending span,
.route-decision-card.is-court-route [data-lucide],
.route-decision-card.is-court-route span {
  color: var(--gold);
}

.route-decision-card.is-urgent [data-lucide],
.route-decision-card.is-urgent span {
  color: #b7791f;
}

.route-decision-card.is-expired [data-lucide],
.route-decision-card.is-expired span {
  color: #b23b3b;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.procedure-dialog.has-application-step .form-source,
.procedure-dialog.has-application-step .route-method-grid,
.procedure-dialog.has-application-step .route-actions,
.procedure-dialog.has-application-step [data-submit-existing-form],
.procedure-dialog.has-application-step .route-decision-card {
  display: none;
}

.procedure-dialog.has-summary-step .form-source,
.procedure-dialog.has-summary-step .route-method-grid,
.procedure-dialog.has-summary-step .route-actions,
.procedure-dialog.has-summary-step [data-submit-existing-form],
.procedure-dialog.has-summary-step .route-decision-card {
  display: none;
}

.procedure-application-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.procedure-application-panel[hidden] {
  display: none;
}

.hubspot-form-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(196, 154, 74, 0.36);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.hubspot-form-panel[hidden] {
  display: none;
}

.hubspot-form-status {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(84, 178, 108, 0.22);
  border-radius: 12px;
  color: #28324a;
  font-size: 13px;
  background: #f7fbf7;
}

.hubspot-form-status.is-warning {
  border-color: rgba(203, 169, 102, 0.35);
  background: #fffaf0;
}

.hubspot-form-status.is-success {
  border-color: rgba(60, 147, 93, 0.28);
  color: #12351f;
  background: #f2fbf5;
}

.hubspot-form-status.is-error {
  border-color: rgba(190, 80, 80, 0.3);
  background: #fff5f5;
}

.hubspot-form-status svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hubspot-form-target {
  min-height: 260px;
  padding: 18px;
  border: 1px solid #e6eaf1;
  border-radius: 16px;
  background: #ffffff;
}

.hubspot-form-fallback {
  padding: 14px;
  border: 1px dashed #d6c49b;
  border-radius: 14px;
  color: #31384c;
  font-size: 13px;
  background: #fffaf0;
}

.hubspot-form-fallback p {
  margin: 6px 0 0;
  color: #6f7585;
}

.hubspot-hidden-metadata {
  display: none;
}

.procedure-summary-panel {
  display: grid;
  gap: 11px;
  border: 1px solid rgba(196, 154, 74, 0.42);
  border-radius: 8px;
  padding: 14px;
  background: #fffaf2;
}

.procedure-summary-panel[hidden] {
  display: none;
}

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

.summary-info-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(53, 181, 106, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
  box-shadow: 0 14px 30px rgba(30, 55, 90, 0.06);
}

.summary-info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--green);
}

.summary-info-card.is-work {
  border-color: rgba(196, 154, 74, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
}

.summary-info-card.is-work::before {
  background: var(--gold);
}

.summary-info-card.is-costs {
  border-color: rgba(63, 93, 154, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fc 100%);
}

.summary-info-card.is-costs::before {
  background: #4f6fa8;
}

.summary-info-card [data-lucide] {
  color: var(--gold);
}

.summary-info-card span {
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
}

.summary-info-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 0;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
  list-style: none;
}

.summary-info-card li {
  position: relative;
  padding-left: 22px;
}

.summary-info-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  background: var(--green);
}

.summary-info-card.is-work li::before {
  background: var(--gold);
}

.summary-info-card.is-costs li::before {
  background: #4f6fa8;
}

.summary-info-card .summary-note {
  color: var(--muted);
}

.authorization-status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.authorization-status.is-success {
  color: var(--green);
}

.authorization-status.is-error {
  color: var(--app-red, #d92d20);
}

.summary-more-item {
  padding-left: 0;
}

.summary-more-item::before {
  display: none;
}

.summary-more-item details {
  border-radius: 8px;
  padding: 8px 9px;
  background: rgba(255, 255, 255, 0.72);
}

.summary-more-item summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.summary-more-lines {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
}

.summary-more-lines span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.summary-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 9px;
}

.summary-later-note,
.subsidy-note,
.trustpilot-card,
.breda-route-check,
.summary-contact-card,
.application-warning-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid rgba(196, 154, 74, 0.3);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.summary-later-note {
  align-items: center;
  border-color: rgba(53, 181, 106, 0.24);
  background: linear-gradient(135deg, #f3fbf6 0%, #ffffff 100%);
}

.summary-later-note [data-lucide] {
  color: var(--green);
}

.summary-later-note strong,
.summary-later-note small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.summary-later-note strong {
  color: var(--navy);
  font-size: 12.5px;
}

.summary-later-note small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.38;
}

.subsidy-note [data-lucide] {
  color: var(--gold);
}

.trustpilot-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf2 100%);
}

.trustpilot-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.trustpilot-stars [data-lucide] {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke-width: 1.8;
}

.summary-contact-card [data-lucide],
.application-warning-card [data-lucide] {
  color: var(--gold);
}

.subsidy-note strong,
.subsidy-note small,
.trustpilot-card strong,
.trustpilot-card small,
.breda-route-check span,
.breda-route-check strong,
.breda-route-check p,
.summary-contact-card strong,
.summary-contact-card small,
.application-warning-card strong,
.application-warning-card small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.subsidy-note strong,
.trustpilot-card strong,
.breda-route-check strong,
.summary-contact-card strong,
.application-warning-card strong {
  color: var(--navy);
  font-size: 13px;
}

.subsidy-note small,
.trustpilot-card small,
.breda-route-check p,
.summary-contact-card small,
.application-warning-card small {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.38;
}

.application-warning-card .outline-button,
.application-warning-card .application-inline-date,
.application-warning-card .service-deadline-note {
  grid-column: 2;
}

.application-inline-date {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
}

.application-inline-date input {
  width: min(260px, 100%);
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--navy);
  font: inherit;
  background: #ffffff;
}

.service-deadline-note {
  margin-top: 6px;
  color: #2f8f56;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
}

.breda-route-check {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.breda-route-check span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.breda-choice-buttons {
  display: flex;
  gap: 8px;
}

.breda-choice-buttons .is-selected {
  color: #ffffff;
  border-color: var(--navy);
  background: var(--navy);
}

.breda-route-result {
  grid-column: 1 / -1;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 700;
  background: #fbf8f2;
}

.breda-route-result[hidden] {
  display: none;
}

.summary-contact-card {
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  border-color: rgba(53, 181, 106, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbf8 100%);
}

.summary-contact-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  margin-top: -3px;
}

.summary-contact-actions .contact-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--navy);
  background: #ffffff;
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.summary-contact-actions button.contact-text-link {
  appearance: none;
}

.summary-contact-actions .contact-text-link [data-lucide] {
  width: 14px;
  height: 14px;
}

.summary-contact-actions .is-phone [data-lucide],
.summary-contact-actions .is-whatsapp [data-lucide] {
  color: var(--green);
}

.summary-contact-actions .is-whatsapp {
  border-color: rgba(53, 181, 106, 0.35);
  background: #effaf3;
}

.summary-contact-actions .is-chat [data-lucide] {
  color: var(--gold);
}

.procedure-info-contact-card {
  margin-top: 12px;
}

.application-warning-card {
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  background: #fffaf2;
}

.application-warning-card[hidden] {
  display: none;
}

.application-footnote {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.45;
}

.contract-extraction-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(53, 181, 106, 0.28);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f2fbf5;
}

.contract-extraction-card[hidden] {
  display: none;
}

.contract-extraction-card [data-lucide] {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.contract-extraction-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
}

.contract-extraction-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.initial-rent-deadline-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(53, 181, 106, 0.26);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f4fbf6;
}

.initial-rent-deadline-card[hidden] {
  display: none;
}

.initial-rent-deadline-card [data-lucide] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--green);
}

.initial-rent-deadline-card strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12.5px;
}

.initial-rent-deadline-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.initial-rent-deadline-card.is-urgent {
  border-color: rgba(201, 168, 107, 0.55);
  background: #fff9ec;
}

.initial-rent-deadline-card.is-urgent [data-lucide] {
  color: var(--gold-dark);
}

.initial-rent-deadline-card.is-expired {
  border-color: rgba(169, 68, 66, 0.28);
  background: #fff5f3;
}

.initial-rent-deadline-card.is-expired [data-lucide] {
  color: #a94442;
}

.application-head {
  display: grid;
  gap: 4px;
  text-align: center;
}

.application-head span,
.application-head h3,
.application-head p,
.application-stepper span {
  font-family: Lexend, Arial, sans-serif;
}

.application-head span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.application-head p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.38;
}

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

.application-stepper span {
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  background: var(--soft);
}

.application-stepper .is-active {
  color: #ffffff;
  background: var(--navy);
}

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

.application-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.application-grid input,
.application-grid textarea,
.application-grid select {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: 500 13px/1.4 Lexend, Arial, sans-serif;
  background: #ffffff;
}

.application-wide {
  grid-column: 1 / -1;
}

.application-grid small {
  color: var(--muted);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.procedure-specific-section {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(196, 154, 74, 0.32);
  border-radius: 8px;
  padding: 15px;
  background: #fffaf2;
}

.procedure-specific-section[hidden] {
  display: none;
}

.application-subhead {
  display: grid;
  gap: 4px;
  text-align: center;
}

.application-subhead span,
.application-subhead h4,
.application-subhead p {
  font-family: Lexend, Arial, sans-serif;
}

.application-subhead span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.application-subhead h4 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.application-subhead p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.application-upload-list {
  display: grid;
  gap: 9px;
}

.application-upload-list > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fbfcfe;
}

.application-upload-list > div[hidden] {
  display: none;
}

.application-upload-list [data-lucide] {
  color: var(--gold);
}

.application-upload-list strong,
.application-upload-list small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.application-upload-list strong {
  color: var(--navy);
  font-size: 13px;
}

.application-upload-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.application-consent-list {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.application-consent-list label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.application-consent-list input {
  margin-top: 2px;
}

.application-ai-check {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(196, 154, 74, 0.32);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.application-ai-check [data-lucide] {
  color: var(--gold);
}

.application-ai-check strong,
.application-ai-check small {
  display: block;
  font-family: Lexend, Arial, sans-serif;
}

.application-ai-check strong {
  color: var(--navy);
  font-size: 13px;
}

.application-ai-check small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.application-ai-check em {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--gold);
  font-family: Lexend, Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  background: #fbf8f2;
}

.application-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.existing-form-preview label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.existing-form-preview input,
.existing-form-preview textarea {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
}

.icon-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.close-dialog {
  position: absolute;
  top: 18px;
  right: 18px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: 340px;
  border-radius: 8px;
  padding: 14px 16px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  font-family: Lexend, Arial, sans-serif;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.system-flow {
  display: none;
}

.document-card p,
.profile-table dd,
.hubspot-row code,
.case-card p,
.automation-card p {
  font-size: 10.75px;
  line-height: 1.32;
}

.profile-table,
.hubspot-card,
.message-feed {
  padding: 16px;
}

.profile-table h3,
.hubspot-card h3 {
  margin: 0;
  font-size: 18px;
}

.profile-table dl {
  gap: 9px;
  margin-top: 12px;
}

.profile-table dl div,
.hubspot-row {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  padding-top: 9px;
}

.profile-table dt,
.hubspot-row span {
  font-size: 11.5px;
}

.doc-row {
  min-height: 38px;
  padding: 7px;
}

.doc-row strong {
  font-size: 10.75px;
  line-height: 1.16;
}

.doc-row small,
.doc-empty {
  font-size: 9.75px;
}

.mini-button,
.doc-chip {
  min-height: 27px;
  padding: 5px 7px;
  font-size: 10.5px;
}

.dossier-code strong {
  font-size: 16px;
  line-height: 1.2;
}

.dossier-code span,
.summary-grid span,
.stat-card span {
  font-size: 11.25px;
}

.summary-grid strong,
.stat-card strong {
  font-size: 14px;
}

.message-feed {
  gap: 8px;
  align-content: start;
}

.message-item {
  max-width: min(76%, 520px);
  padding: 10px 12px;
}

.message-item span {
  font-size: 10.5px;
}

.message-item p {
  font-size: 12px;
  line-height: 1.4;
}

.task-list {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(245, 251, 247, 0.92), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.task-row {
  min-height: 50px;
  border-color: rgba(53, 181, 106, 0.18);
  padding: 10px;
  background: #fbfdfb;
}

.task-row [data-lucide] {
  color: var(--green);
}

.task-row span {
  font-size: 12.5px;
  font-weight: 800;
}

.task-row small {
  font-size: 11px;
  line-height: 1.25;
}

.case-card,
.automation-card {
  padding: 16px;
}

.case-card h3,
.automation-card h3 {
  font-size: 18px;
}

.live-stage-meta strong,
.case-status-row strong {
  font-size: 12.5px;
}

.procedure-specific-section,
.procedure-application-panel,
.hubspot-form-panel,
.procedure-summary-panel {
  gap: 12px;
}

.application-subhead h4 {
  font-size: 16px;
}

.application-subhead p,
.application-head p {
  font-size: 11.75px;
}

.application-upload-list > div,
.application-ai-check,
.application-warning-card,
.contract-extraction-card {
  padding: 10px;
}

.application-upload-list strong,
.application-ai-check strong,
.application-warning-card strong,
.contract-extraction-card strong {
  font-size: 12.5px;
}

.application-upload-list small,
.application-ai-check small,
.application-warning-card small,
.contract-extraction-card p {
  font-size: 11px;
  line-height: 1.35;
}

.dynamic-followup {
  display: grid;
  gap: 11px;
}

.dynamic-followup[hidden] {
  display: none;
}

.procedure-info-detail-card {
  padding: 18px;
}

.procedure-info-detail-card h3 {
  font-size: 24px;
}

.procedure-info-detail-copy,
.procedure-info-points li,
.procedure-info-meta-grid li,
.procedure-info-faq-item p {
  font-size: 12px;
  line-height: 1.45;
}

.procedure-info-meta-grid section {
  padding: 12px;
}

.membership-plan-card {
  gap: 8px;
  padding: 14px;
}

.membership-plan-card h3 {
  min-height: 0;
  font-size: 17px;
  line-height: 1.12;
}

.membership-plan-card.is-featured h3,
.membership-plan-card.is-premium-plus h3 {
  padding-right: 78px;
}

.membership-plan-card.is-featured::before,
.membership-plan-card.is-premium-plus::before {
  top: 10px;
  right: 10px;
  max-width: 78px;
  border-radius: 8px;
  padding: 5px 6px;
  font-size: 8px;
  line-height: 1.1;
  text-align: center;
}

.membership-price {
  font-size: 23px;
}

.membership-plan-card ul {
  min-height: 0;
}

.membership-plan-card .primary-button,
.membership-plan-card .outline-button {
  min-height: 36px;
  padding: 9px 8px;
  font-size: 11.25px;
  line-height: 1.15;
}

.membership-dialog .close-dialog,
.membership-terms-dialog .close-dialog,
.membership-request-dialog .close-dialog,
.free-letter-dialog .close-dialog {
  z-index: 6;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(16, 25, 45, 0.16);
}

.free-letter-dialog {
  width: min(760px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.free-letter-dialog::backdrop {
  background: rgba(16, 25, 45, 0.62);
}

.free-letter-shell {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #ffffff;
}

.free-letter-head {
  display: grid;
  gap: 6px;
  padding-right: 40px;
}

.free-letter-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
}

.free-letter-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.free-letter-shell textarea {
  width: 100%;
  min-height: 390px;
  border: 1px solid rgba(196, 154, 74, 0.32);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: #fffaf2;
  font: 500 13px/1.55 Lexend, Arial, sans-serif;
  resize: vertical;
}

.free-letter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1060px) {
  .main-nav {
    grid-template-columns: auto auto;
  }

  .mobile-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 9px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-family: Lexend, Arial, sans-serif;
  }

  .nav-tabs,
  .nav-actions {
    grid-column: 1 / -1;
  }

  .nav-tabs {
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-tabs.is-open {
    display: flex;
  }

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

  .hero-workspace,
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-shell {
    margin-top: 24px;
  }

  .member-sidebar {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) 1fr;
  }

  .sync-panel {
    grid-column: 1 / -1;
  }

  .requirements-board,
  .system-flow,
  .stat-grid,
  .membership-plan-grid,
  .integration-strip,
  .lane-steps,
  .commission-steps,
  .deadline-steps,
  .active-procedure-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-overview,
  .request-composer,
  .form-route-shell,
  .procedure-modal-grid,
  .procedure-info-choice-list,
  .procedure-info-meta-grid,
  .page-visual-band,
  .membership-hero-panel,
  .member-benefit-shell,
  .member-workspace-grid,
  .template-letter-list,
  .documents-shell {
    grid-template-columns: 1fr;
  }

  .case-status-row,
  .live-stage-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .top-strip,
  .nav-actions,
  .hero-actions,
  .panel-head,
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-head-actions {
    width: 100%;
    justify-content: stretch;
  }

  .panel-head-actions button {
    flex: 1 1 180px;
    justify-content: center;
  }

  .main-nav,
  .hero-workspace,
  .portal-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-workspace {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .panel h2 {
    font-size: 28px;
  }

  .brand {
    width: 140px;
  }

  .live-summary,
  .panel {
    padding: 18px;
  }

  .summary-grid,
  .summary-card-grid,
  .summary-proof-grid,
  .stat-grid,
  .regie-helper,
  .two-column,
  .portal-grid,
  .document-strip,
  .contact-grid,
  .membership-hero-panel,
  .membership-dialog-top,
  .membership-plan-grid,
  .membership-dialog-perks,
	  .member-benefit-shell,
	  .member-action-grid,
	  .register-grid,
	  .other-claim-grid,
  .assignment-summary,
  .assignment-keypoints,
  .assignment-paper,
  .application-grid,
  .route-method-grid,
  .route-result-grid,
  .requirements-board,
  .case-status-row,
  .system-flow,
  .integration-strip,
  .form-route-shell,
  .route-list,
  .live-stage-meta,
  .lane-steps,
  .commission-steps,
  .deadline-steps,
  .report-choice-grid,
  .active-procedure-strip,
  .documents-shell,
  .mailbox-shell {
    grid-template-columns: 1fr;
  }

  .mailbox-list {
    max-height: 300px;
  }

  .mailbox-topline {
    align-items: center;
    padding: 13px;
  }

  .mailbox-topline h3 {
    font-size: 18px;
  }

  .mailbox-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px;
  }

  .mailbox-tab {
    min-height: 42px;
    font-size: 11.5px;
  }

  .mailbox-row {
    grid-template-columns: 9px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .mailbox-row em {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .mailbox-reader {
    min-height: 0;
    padding: 15px;
  }

  .mailbox-reader h3 {
    font-size: 19px;
  }

  .mailbox-reader-body {
    padding: 12px;
  }

  .mailbox-compose {
    padding: 15px;
  }

  .mailbox-compose-head {
    align-items: center;
  }

  .mailbox-compose .primary-button {
    width: 100%;
    justify-content: center;
  }

  .other-membership-callout,
  .claim-upload-row,
  .member-upload-row {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .other-membership-callout .primary-button,
  .claim-upload-row .outline-button,
  .member-upload-row .outline-button {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .procedure-dialog-shell {
    padding: 18px;
  }

  .procedure-dialog,
  .authorization-dialog,
  .membership-terms-dialog,
  .membership-request-dialog,
  .service-notice-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    overflow-y: auto;
  }

  .procedure-dialog-head {
    margin-bottom: 14px;
  }

  .authorization-shell {
    padding: 18px;
  }

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

  .procedure-dialog-head h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .procedure-dialog-head p {
    font-size: 13px;
    line-height: 1.45;
  }

  .procedure-choice-list,
  .procedure-info-choice-list,
  .procedure-summary-panel,
  .hubspot-form-panel,
  .procedure-application-panel {
    gap: 10px;
  }

  .procedure-choice {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .procedure-choice strong {
    font-size: 14px;
  }

  .procedure-choice small {
    font-size: 12px;
  }

  .membership-hero-panel,
  .membership-plan-card,
  .member-benefit-card,
  .member-workspace {
    padding: 14px;
  }

  .member-workspace-head {
    display: grid;
  }

  .member-workspace-badge {
    justify-self: start;
  }

  .membership-hero-panel h3 {
    font-size: 22px;
  }

  .membership-plan-card h3 {
    min-height: 0;
  }

  .membership-plan-card ul {
    min-height: 0;
  }

  .membership-current-card {
    padding: 14px;
  }

  .procedure-info-choice {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .procedure-info-detail-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .procedure-info-badge,
  .procedure-info-detail-card h3,
  .procedure-info-detail-card p,
  .procedure-info-media,
  .procedure-info-top-actions,
  .procedure-info-tabs,
  .procedure-info-cost-panel,
  .procedure-info-points,
  .procedure-info-meta-grid,
  .procedure-info-faq,
  .procedure-info-detail-actions {
    grid-column: 1;
  }

  .procedure-info-media {
    grid-row: auto;
    max-width: 260px;
  }

  .procedure-info-meta-grid {
    grid-template-columns: 1fr;
  }

  .procedure-info-detail-card h3 {
    font-size: 22px;
  }

  .procedure-info-detail-actions {
    display: grid;
  }

  .procedure-info-detail-actions button {
    width: 100%;
    justify-content: center;
  }

  .route-method {
    padding: 13px;
  }

  .route-method strong {
    font-size: 18px;
  }

  .procedure-summary-panel,
  .hubspot-form-panel,
  .procedure-specific-section {
    padding: 12px;
  }

  .hubspot-form-target {
    min-height: 220px;
    padding: 12px;
    border-radius: 12px;
  }

  .summary-info-card {
    padding: 12px;
  }

  .summary-info-card ul {
    font-size: 11.5px;
  }

  .trustpilot-card,
  .summary-later-note,
  .breda-route-check,
  .summary-contact-card,
  .application-warning-card {
    grid-template-columns: 1fr;
  }

  .summary-contact-actions,
  .authorization-actions,
  .application-actions,
  .route-actions,
  .breda-choice-buttons {
    width: 100%;
    flex-direction: column;
    justify-content: stretch;
  }

  .summary-contact-actions {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .summary-contact-actions .contact-text-link,
  .authorization-actions button,
  .application-actions button,
  .route-actions button,
  .breda-choice-buttons button {
    width: 100%;
    justify-content: center;
  }

  .signature-pad canvas {
    height: 130px;
  }

  .route-row {
    grid-template-columns: 26px 1fr;
  }

  .doc-row {
    grid-template-columns: 20px 1fr;
    min-height: auto;
  }

  .doc-row .mini-button,
  .doc-row .doc-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .route-row code {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .page-visual-band {
    gap: 10px;
    padding: 10px;
  }

  .page-visual-band figure {
    min-height: 150px;
    order: -1;
  }

  .page-visual-band img {
    min-height: 150px;
  }

  .page-visual-copy h3 {
    font-size: 20px;
  }

  .page-visual-copy p {
    font-size: 12px;
  }

  .system-flow {
    margin-top: -10px;
  }

  .requirement-item {
    grid-template-columns: 20px 1fr;
  }

  .requirement-item .outline-button {
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
    justify-content: center;
  }

  .points-upload-panel,
  .points-upload-actions {
    grid-template-columns: 1fr;
  }

  .points-upload-panel {
    text-align: left;
  }

  .upload-action-wrap {
    align-items: stretch;
    width: 100%;
  }

  .upload-status-line {
    max-width: none;
    text-align: left;
  }

  .member-sidebar {
    display: block;
  }

  .profile-table dl div,
  .hubspot-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .letter-preview {
    min-height: 360px;
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .main-nav,
  .hero-workspace,
  .portal-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-copy h1 {
    font-size: 29px;
  }

  .hero-copy p,
  .application-head p,
  .application-subhead p {
    font-size: 13px;
  }

  .quick-suggestions {
    gap: 7px;
  }

  .quick-suggestions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .live-summary,
  .panel {
    padding: 14px;
  }

  .panel h2 {
    font-size: 24px;
  }

  .procedure-dialog,
  .authorization-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100svh - 12px);
  }

  .procedure-dialog-shell,
  .authorization-shell {
    padding: 16px;
  }

  .close-dialog {
    top: 12px;
    right: 12px;
  }

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

  .application-upload-list > div {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .application-upload-list button,
  .application-upload-list .outline-button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

/* Final compact document layout: keep requirement cards in proportion. */
.requirements-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.requirement-item {
  grid-template-columns: 16px minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 10px;
  gap: 8px;
}

.requirement-item strong {
  font-size: 12px;
  line-height: 1.18;
}

.requirement-item span {
  font-size: 10.75px;
  line-height: 1.28;
}

.requirement-item .outline-button {
  max-width: 112px;
  min-height: 31px;
  padding: 6px 9px;
  font-size: 11px;
  white-space: normal;
}

@media (max-width: 760px) {
  .requirements-board {
    grid-template-columns: 1fr;
  }

  .requirement-item {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .requirement-item .outline-button {
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
  }
}

/* Huurteam app dashboard redesign */
:root {
  --app-navy: #081a31;
  --app-navy-2: #0d223e;
  --app-ink: #07142d;
  --app-muted: #667085;
  --app-line: #dfe5ee;
  --app-bg: #f5f7fb;
  --app-cream: #f3ece2;
  --app-cream-2: #fbf6ee;
  --app-gold: #c8a776;
  --app-green: #159052;
  --app-red: #f04438;
  --app-shadow: 0 18px 42px rgba(8, 26, 49, 0.09);
}

body,
.htn-portal-shortcode {
  color: var(--app-ink);
  background: var(--app-bg);
  font-family: Lexend, Arial, sans-serif;
}

.site-header {
  box-shadow: 0 18px 34px rgba(8, 26, 49, 0.16);
}

.top-strip,
.hero-workspace {
  display: none !important;
}

.main-nav {
  grid-template-columns: 190px minmax(0, 1fr) auto;
  min-height: 86px;
  gap: 24px;
  max-width: none;
  padding: 0 32px;
  background:
    linear-gradient(90deg, rgba(8, 26, 49, 0.98), rgba(11, 31, 56, 0.98)),
    var(--app-navy);
}

.brand {
  width: 136px;
  padding: 0;
}

.nav-tabs {
  justify-content: flex-start;
  gap: 24px;
}

.nav-tab {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0 0 4px;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.nav-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.nav-tab:hover,
.nav-tab.is-active {
  color: #ffffff;
  border-color: transparent;
  background: transparent;
}

.nav-tab.is-active::after {
  background: var(--app-cream);
}

.nav-badge {
  top: -5px;
  right: -13px;
  border-color: var(--app-navy);
  background: var(--app-red);
}

.nav-actions {
  gap: 16px;
}

.nav-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  color: #ffffff;
  background: transparent;
}

.nav-icon-button span {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--app-navy);
  border-radius: 999px;
  color: #ffffff;
  background: var(--app-red);
  font-size: 10px;
  font-weight: 900;
}

.language-switch {
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.language-switch button.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.nav-user-chip {
  display: grid;
  grid-template-columns: 42px minmax(0, auto) 18px;
  align-items: center;
  gap: 10px;
  border: 0;
  color: #ffffff;
  background: transparent;
  text-align: left;
}

.nav-user-chip img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.nav-user-chip strong,
.nav-user-chip small {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-chip strong {
  font-size: 14px;
  line-height: 1.15;
}

.nav-user-chip small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.portal-shell {
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 0;
  max-width: none;
  min-height: calc(100svh - 86px);
  margin: 0;
  padding: 0;
  background: var(--app-bg);
}

.member-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 86px);
  border: 0;
  border-radius: 0;
  padding: 26px 14px 20px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(8, 26, 49, 0.98), rgba(8, 26, 49, 0.94)),
    var(--app-navy);
  box-shadow: none;
}

.side-nav {
  display: grid;
  gap: 10px;
}

.side-nav button {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}

.side-nav button.is-active {
  color: var(--app-ink);
  background: linear-gradient(135deg, #fff5e7, #f1dfc6);
}

.side-nav [data-lucide] {
  width: 18px;
  height: 18px;
}

.side-nav em {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--app-red);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.side-divider {
  height: 1px;
  margin: 26px 6px;
  background: rgba(255, 255, 255, 0.16);
}

.member-sidebar .portal-tool-stack {
  margin: 0;
}

.member-sidebar .portal-tool-card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  box-shadow: none;
}

.member-sidebar .portal-tool-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
}

.member-sidebar .portal-tool-card .tool-icon {
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: transparent;
}

.member-sidebar .portal-tool-card strong {
  color: inherit;
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
}

.member-sidebar .portal-tool-card small,
.member-sidebar .portal-tool-card em {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.membership-status-mini {
  display: none;
}

.sidebar-help-card {
  display: grid;
  gap: 10px;
  margin-top: auto;
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-help-card strong,
.sidebar-help-card span {
  display: block;
}

.sidebar-help-card strong {
  font-size: 16px;
}

.sidebar-help-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.sidebar-help-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: var(--app-ink);
  background: linear-gradient(135deg, #fff5e7, #f1dfc6);
  font-size: 13px;
  font-weight: 800;
}

.workspace-panels {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 22px;
  overflow: visible;
  background:
    radial-gradient(circle at 95% 8%, rgba(200, 167, 118, 0.16), transparent 30%),
    var(--app-bg);
  box-shadow: none;
}

.workspace-panels .panel {
  max-width: 1260px;
  margin: 0 auto;
}

.workspace-panels .panel:not(.dashboard-panel) {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--app-shadow);
}

.workspace-panels .rent-check-panel {
  width: 100%;
  max-width: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-panel {
  padding: 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 18px;
  align-items: start;
}

.dashboard-main-stack,
.dashboard-side-stack {
  display: grid;
  gap: 18px;
}

.case-hero-card,
.missing-document-card,
.dashboard-rent-check-card,
.timeline-card,
.documents-card,
.benefit-card,
.jurist-card,
.assistant-card,
.dashboard-proof-strip {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 26, 49, 0.06);
}

.case-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  min-height: 270px;
  overflow: hidden;
  padding: 26px 26px 0;
}

.case-greeting {
  margin: 0 0 8px;
  color: var(--app-ink);
  font-size: 16px;
  font-weight: 700;
}

.case-hero-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--app-ink);
  font-family: Arial, sans-serif;
  font-size: 42px;
  line-height: 1.05;
}

.case-hero-copy h2 span {
  color: #aeb6c2;
}

.has-no-active-dossier .case-hero-copy h2 span {
  color: #aeb6c2;
}

.case-subtitle {
  margin: 12px 0 26px;
  color: var(--app-ink);
  font-size: 16px;
}

.case-progress-panel {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(120px, 1fr) minmax(190px, 0.8fr);
  align-items: center;
  gap: 18px;
  max-width: 620px;
  border-radius: 8px;
  padding: 18px 22px;
  color: #ffffff;
  background:
    linear-gradient(135deg, #07152a, #0b2140),
    var(--app-navy);
  box-shadow: 0 16px 32px rgba(8, 26, 49, 0.2);
}

.case-progress-panel > div:first-child,
.case-progress-panel > div:last-child {
  display: grid;
  gap: 5px;
}

.case-progress-panel > div:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 18px;
}

.case-progress-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-progress-panel strong {
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.case-progress-panel .progress-meter {
  height: 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.13);
}

.case-progress-panel .progress-meter span {
  background: linear-gradient(90deg, #e1c083, #b9935b);
}

.case-illustration {
  position: relative;
  min-height: 246px;
  align-self: end;
  display: grid;
  place-items: end center;
}

.case-illustration::before {
  content: "";
  position: absolute;
  right: -44px;
  bottom: 0;
  width: 278px;
  height: 178px;
  border-radius: 999px 999px 0 0;
  background: #eef2f7;
}

.person-card {
  position: relative;
  z-index: 1;
  width: 294px;
  height: 246px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.person-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.missing-document-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(251, 246, 238, 0.98), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.missing-document-card > [data-lucide] {
  width: 30px;
  height: 30px;
  color: var(--app-ink);
}

.missing-document-card strong,
.missing-document-card span {
  display: block;
}

.missing-document-card strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.missing-document-card span {
  color: var(--app-muted);
  font-size: 12px;
}

.missing-document-card .primary-button,
.benefit-card .outline-button,
.jurist-card .outline-button {
  min-height: 44px;
  border-radius: 6px;
  font-size: 12px;
}

.has-no-active-dossier .missing-document-card .primary-button {
  border-color: #bfc7d1;
  color: #17233c;
  background: linear-gradient(180deg, #f7f8fa, #d9dee6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(23, 35, 60, 0.12);
}

.dashboard-rent-check-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 240, 0.95)),
    #ffffff;
}

.dashboard-rent-check-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  align-items: center;
  gap: 16px;
}

.dashboard-rent-check-head h2,
.dashboard-rent-check-head h3 {
  margin: 4px 0 6px;
  color: var(--app-ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.rent-check-page-card {
  min-height: 0;
  width: 100%;
  padding: clamp(18px, 1.4vw, 28px);
}

.rent-check-page-card .dashboard-rent-check-head {
  grid-template-columns: minmax(0, 1fr) clamp(108px, 8vw, 138px);
  padding: 0;
}

.rent-check-page-card .dashboard-rent-check-head h2 {
  font-size: clamp(34px, 3.1vw, 52px);
  line-height: 1.04;
}

.rent-check-page-card .dashboard-rent-check-head p {
  max-width: 880px;
  font-size: clamp(15px, 1vw, 18px);
}

.rent-check-page-card .dashboard-rent-check-head img {
  width: clamp(104px, 8vw, 132px);
}

.dashboard-rent-check-head p {
  max-width: 760px;
  margin: 0;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.45;
}

.dashboard-rent-check-head img {
  width: 112px;
  max-width: 100%;
  justify-self: end;
}

.dashboard-rent-check-frame-shell {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 99, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.dashboard-rent-check-frame {
  display: block;
  width: 100%;
  height: clamp(560px, 64vh, 760px);
  border: 0;
  background: #ffffff;
  transform-origin: top left;
}

.rent-check-page-card .dashboard-rent-check-frame {
  min-height: 520px;
  height: clamp(540px, calc(100svh - 230px), 900px);
}

@media (min-width: 901px) {
  .rent-check-page-card .dashboard-rent-check-frame-shell {
    min-height: clamp(540px, calc(100svh - 230px), 900px);
  }
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.98fr);
  gap: 18px;
}

.timeline-card,
.documents-card,
.benefit-card,
.jurist-card {
  padding: 20px;
}

.dashboard-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-card-head h3 {
  margin: 0;
  color: var(--app-ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-card-head span {
  color: #b98d4f;
  background: #fff1d5;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-card-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  border-radius: 8px;
  padding: 6px 8px;
  border: 0;
  color: var(--app-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.timeline-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 54px;
  padding: 0 0 16px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: #d7dde6;
}

.timeline-list li:last-child::before {
  display: none;
}

.timeline-list i {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  padding: 5px;
  color: #ffffff;
  background: #c4cad3;
}

.timeline-list li.is-done i {
  background: var(--app-green);
}

.timeline-list li.is-current {
  margin: 0 -6px 12px;
  border-radius: 8px;
  padding: 12px 10px;
  background: var(--app-cream-2);
}

.timeline-list li.is-current i {
  background: var(--app-gold);
}

.timeline-list strong,
.timeline-list small,
.compact-doc-list strong,
.compact-doc-list small {
  display: block;
}

.timeline-list strong {
  font-size: 13px;
}

.timeline-list small {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 11px;
  line-height: 1.4;
}

.timeline-list button {
  align-self: start;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: #a56e22;
  background: #fff0d5;
  font-size: 10px;
  font-weight: 800;
}

.compact-doc-list {
  display: grid;
  gap: 10px;
}

.compact-doc-list > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}

.compact-doc-list > div.is-ready {
  border-color: rgba(21, 144, 82, 0.28);
  background: #f1fbf5;
}

.compact-doc-list > div.is-missing {
  border-color: rgba(240, 68, 56, 0.32);
  background: #fff5f5;
}

.compact-doc-list i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  padding: 5px;
  color: #ffffff;
  background: #87909f;
}

.compact-doc-list .is-ready i {
  background: var(--app-green);
}

.compact-doc-list .is-missing i {
  background: var(--app-red);
}

.compact-doc-list strong {
  font-size: 13px;
}

.compact-doc-list small {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 11px;
}

.compact-doc-list button {
  min-width: 74px;
  border: 1px solid var(--app-line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--app-ink);
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.benefit-card {
  min-height: 250px;
}

.benefit-card.is-check-needed .benefit-row,
.benefit-card.is-check-needed .mini-chart {
  filter: blur(2.2px);
  opacity: 0.42;
  user-select: none;
}

.benefit-card.is-check-needed .benefit-row strong {
  color: rgba(21, 144, 82, 0.72);
}

.benefit-card .dashboard-card-head {
  margin-bottom: 18px;
}

.benefit-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.benefit-row span {
  color: var(--app-ink);
  font-size: 12px;
  font-weight: 700;
}

.benefit-row strong {
  color: var(--app-green);
  font-size: 28px;
  line-height: 1;
}

.benefit-row small {
  color: var(--app-ink);
  font-size: 12px;
}

.mini-chart {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 7px;
  height: 66px;
  margin: -48px 0 16px auto;
  max-width: 126px;
  border-bottom: 1px solid #d9e7dd;
}

.mini-chart span {
  width: 9px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #46bd7d, rgba(70, 189, 125, 0.18));
}

.benefit-check-note {
  border: 1px solid rgba(200, 167, 118, 0.32);
  border-radius: 8px;
  margin: -2px 0 12px;
  padding: 12px 12px;
  color: var(--app-ink);
  background: linear-gradient(135deg, rgba(251, 246, 238, 0.96), rgba(255, 255, 255, 0.96));
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.benefit-card.is-check-needed .outline-button {
  min-height: 46px;
  border-color: transparent;
  color: #ffffff;
  background:
    linear-gradient(135deg, #081a31, #0d2b51),
    var(--app-navy);
  box-shadow: 0 14px 28px rgba(8, 26, 49, 0.2);
  font-size: 13px;
}

.benefit-card.is-check-needed .outline-button [data-lucide],
.benefit-card.is-check-needed .outline-button svg {
  color: #ffffff;
}

.benefit-card .outline-button,
.jurist-card .outline-button {
  width: 100%;
  justify-content: space-between;
  border-color: var(--app-line);
  background: #ffffff;
}

.jurist-profile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.jurist-profile img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.jurist-profile strong,
.jurist-profile small {
  display: block;
}

.jurist-profile strong {
  font-size: 13px;
}

.jurist-profile small {
  margin-top: 3px;
  color: var(--app-muted);
  font-size: 11px;
}

.jurist-card .regie-message-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.jurist-card .regie-message-row {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.jurist-card .message-dot,
.jurist-card .regie-message-row em {
  display: none;
}

.jurist-card .regie-message-row strong {
  display: none;
}

.jurist-card .regie-message-row small {
  color: var(--app-muted);
  font-size: 11px;
}

.jurist-card .regie-message-row p {
  margin: 7px 0 0;
  color: var(--app-ink);
  font-size: 12px;
  line-height: 1.55;
}

.assistant-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 20px 142px 20px 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 64%, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #07152a, #0d2545);
}

.assistant-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 82px;
  height: 82px;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 36% 42%, #6aa0c8 0 5px, transparent 6px),
    radial-gradient(circle at 62% 42%, #6aa0c8 0 5px, transparent 6px),
    radial-gradient(circle at 50% 60%, #d9e7f2 0 13px, transparent 14px),
    #f5f8fb;
  box-shadow:
    0 -20px 0 8px #f5f8fb,
    0 -20px 0 12px rgba(255, 255, 255, 0.3),
    0 16px 28px rgba(0, 0, 0, 0.22);
}

.assistant-card span,
.assistant-card strong {
  display: block;
}

.assistant-card > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-card em {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 9px;
  font-style: normal;
}

.assistant-card strong {
  margin-top: 18px;
  font-size: 18px;
}

.assistant-card p {
  margin: 8px 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.5;
}

.assistant-card button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 9px 18px;
  color: var(--app-ink);
  background: linear-gradient(135deg, #fff5e7, #f1dfc6);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff, var(--app-cream-2));
}

.dashboard-proof-strip span {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 20px;
  border-right: 1px solid var(--app-line);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-proof-strip span:last-child {
  border-right: 0;
}

.dashboard-proof-strip [data-lucide] {
  width: 26px;
  height: 26px;
  color: var(--app-ink);
}

@media (max-width: 1120px) {
  .main-nav {
    grid-template-columns: 160px 1fr auto;
    padding: 0 22px;
  }

  .nav-tabs {
    gap: 14px;
  }

  .dashboard-layout,
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-side-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assistant-card {
    min-height: 100%;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .main-nav {
    grid-template-columns: 1fr auto auto;
    min-height: 72px;
    padding: 0 16px;
  }

  .brand {
    width: 116px;
  }

  .nav-tabs {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    background: var(--app-navy);
  }

  .nav-tabs.is-open {
    display: flex;
  }

  .nav-tab {
    min-height: 42px;
    text-align: left;
  }

  .mobile-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 40px;
    height: 40px;
    border: 0;
    color: #ffffff;
    background: transparent;
  }

  .mobile-toggle span {
    display: none;
  }

  .nav-user-chip {
    display: none;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .language-switch {
    display: none;
  }

  .portal-shell {
    display: block;
    min-height: calc(100svh - 72px);
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .member-sidebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    min-height: 0;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 -12px 28px rgba(8, 26, 49, 0.14);
    padding-bottom: env(safe-area-inset-bottom);
  }

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

  .side-nav button {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-height: 64px;
    border-radius: 0;
    padding: 7px 4px 5px;
    color: var(--app-ink);
    background: #ffffff;
    font-size: 10px;
    text-align: center;
  }

  .side-nav button.is-active {
    background: #ffffff;
  }

  .side-nav button.is-active [data-lucide] {
    color: var(--app-navy);
  }

  .side-nav em {
    position: absolute;
    top: 7px;
    right: calc(50% - 20px);
  }

  .side-divider,
  .member-sidebar .portal-tool-stack,
  .membership-status-mini,
  .sidebar-help-card {
    display: none;
  }

  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .workspace-panels {
    padding: 14px;
  }

  .case-hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
    color: #ffffff;
    background:
      linear-gradient(135deg, #07152a, #0d2545),
      var(--app-navy);
  }

  .case-hero-copy h2,
  .case-greeting,
  .case-subtitle {
    color: #ffffff;
  }

  .case-hero-copy h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .case-hero-copy h2 span {
    color: #ffffff;
  }

  .case-subtitle {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .case-progress-panel {
    grid-template-columns: 1fr auto;
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .case-progress-panel .progress-meter {
    grid-column: 1 / -1;
    order: 2;
  }

  .case-progress-panel > div:last-child {
    grid-column: 1 / -1;
    border: 0;
    padding: 0;
  }

  .case-progress-panel > div:last-child strong {
    font-size: 12px;
  }

  .case-illustration {
    display: none;
  }

  .missing-document-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .missing-document-card .primary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }

  .dashboard-proof-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-proof-strip span {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid var(--app-line);
  }
}

@media (max-width: 560px) {
  .workspace-panels {
    padding: 10px;
  }

  .case-hero-card,
  .missing-document-card,
  .dashboard-rent-check-card,
  .timeline-card,
  .documents-card,
  .benefit-card,
  .jurist-card,
  .assistant-card {
    padding: 14px;
  }

  .compact-doc-list > div,
  .timeline-list li {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .compact-doc-list button,
  .timeline-list button {
    grid-column: 2;
    justify-self: start;
  }

  .dashboard-rent-check-card {
    gap: 12px;
  }

  .dashboard-rent-check-head {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .dashboard-rent-check-head img {
    order: -1;
    width: 92px;
    justify-self: center;
  }

  .dashboard-rent-check-head h3 {
    font-size: 21px;
  }

  .dashboard-rent-check-frame-shell {
    margin-inline: -8px;
  }

  .dashboard-rent-check-frame {
    height: calc(100svh - 150px);
    min-height: 560px;
  }

  .assistant-card {
    padding-right: 110px;
  }

  .assistant-card::after {
    right: 18px;
    width: 68px;
    height: 68px;
  }
}

body.has-no-active-dossier .missing-document-card .primary-button {
  border-color: #bfc7d1 !important;
  color: #17233c !important;
  background: linear-gradient(180deg, #f7f8fa 0%, #d9dee6 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(23, 35, 60, 0.12) !important;
}

body.has-no-active-dossier .case-hero-copy h2 span {
  color: #aeb6c2 !important;
}

body.has-no-active-dossier .case-hero-copy h2 [data-case-hero-main] {
  color: var(--app-ink) !important;
}

body.has-no-active-dossier .case-hero-copy h2 [data-case-hero-accent] {
  color: #aeb6c2 !important;
}

@media (min-width: 900px) {
  .top-nav a,
  .side-nav button,
  .sidebar-help-card p,
  .sidebar-help-card button,
  .sidebar-help-actions a,
  .profile-chip,
  .language-switch button {
    font-size: 16px;
  }

  .procedure-dialog:not(.procedure-info-dialog) {
    width: min(1040px, calc(100vw - 96px));
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-shell {
    padding: 34px 38px;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-modal-grid,
  .procedure-dialog:not(.procedure-info-dialog) .existing-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-summary-panel,
  .procedure-dialog:not(.procedure-info-dialog) .hubspot-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-application-panel {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }

  .application-grid label,
  .route-fields label,
  .application-inline-date,
  .application-consent-list label {
    font-size: 15px;
    line-height: 1.45;
  }

  .application-grid input,
  .application-grid textarea,
  .application-grid select,
  .route-fields input,
  .application-inline-date input {
    min-height: 48px;
    border-radius: 10px;
    padding: 13px 14px;
    font: 500 16px/1.45 Lexend, Arial, sans-serif;
  }
}

.summary-start-button,
body.has-no-active-dossier .missing-document-card .primary-button {
  border: 1px solid #c3cad3 !important;
  color: #17233c !important;
  background:
    linear-gradient(180deg, #fbfcfe 0%, #dce2eb 100%),
    #e5e9ef !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(23, 35, 60, 0.14) !important;
  font-weight: 800 !important;
}

.summary-start-button [data-lucide],
body.has-no-active-dossier .missing-document-card .primary-button [data-lucide] {
  color: #17233c !important;
}

/* 0.4.159 final layer: readable procedure information chooser */
.procedure-info-dialog {
  width: min(1040px, calc(100vw - 48px)) !important;
}

.procedure-info-dialog .procedure-dialog-shell {
  width: 100% !important;
  max-height: calc(100dvh - 48px) !important;
  padding: 26px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 239, 0.98)),
    #ffffff !important;
}

.procedure-info-dialog .procedure-dialog-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) !important;
  align-items: stretch !important;
  gap: 22px !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  border: 1px solid rgba(197, 165, 99, 0.2) !important;
  border-radius: 20px !important;
  padding: 20px 22px !important;
  text-align: left !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.96)),
    #ffffff !important;
}

.procedure-info-dialog .procedure-dialog-head h2 {
  max-width: 720px !important;
  margin: 0 !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  line-height: 1.04 !important;
}

.procedure-info-dialog .procedure-dialog-head p {
  max-width: 700px !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.procedure-info-dialog .procedure-dialog-head .dialog-mascot-card {
  min-height: 168px !important;
}

.procedure-info-dialog .procedure-dialog-head .dialog-mascot-card img {
  width: min(170px, 88%) !important;
  max-height: 160px !important;
}

.procedure-info-dialog .procedure-info-layout {
  display: grid !important;
  gap: 14px !important;
}

.procedure-info-dialog .procedure-info-choice-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.procedure-info-dialog .procedure-info-choice-list[hidden] {
  display: none !important;
}

.procedure-info-dialog .procedure-info-choice {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 104px !important;
  padding: 18px 48px 18px 18px !important;
  border: 1px solid rgba(10, 28, 52, 0.1) !important;
  border-radius: 18px !important;
  color: var(--navy) !important;
  text-align: left !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 14px 32px rgba(8, 20, 39, 0.055) !important;
}

.procedure-info-dialog .procedure-info-choice::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #b6905f;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.procedure-info-dialog .procedure-info-choice > [data-lucide] {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border: 1px solid rgba(197, 165, 99, 0.24) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  color: #b6905f !important;
  background: #fbf6ec !important;
}

.procedure-info-dialog .procedure-info-choice span {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.procedure-info-dialog .procedure-info-choice strong {
  margin: 0 !important;
  color: var(--navy) !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
}

.procedure-info-dialog .procedure-info-choice small {
  margin: 0 !important;
  color: #667085 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

.procedure-info-dialog .procedure-info-choice:hover,
.procedure-info-dialog .procedure-info-choice.is-selected {
  border-color: rgba(197, 165, 99, 0.56) !important;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff !important;
  box-shadow: 0 18px 38px rgba(8, 20, 39, 0.08) !important;
}

.procedure-info-dialog .procedure-info-choice.is-selected > [data-lucide] {
  color: #ffffff !important;
  background: #b6905f !important;
}

@media (min-width: 900px) {
  .procedure-info-dialog .procedure-info-choice:nth-child(5) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .procedure-info-dialog {
    width: min(calc(100vw - 16px), 600px) !important;
  }

  .procedure-info-dialog .procedure-dialog-shell {
    max-height: calc(100dvh - 16px) !important;
    padding: 16px !important;
  }

  .procedure-info-dialog .procedure-dialog-head {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .procedure-info-dialog .procedure-dialog-head h2 {
    font-size: 30px !important;
  }

  .procedure-info-dialog .procedure-dialog-head p {
    font-size: 15px !important;
  }

  .procedure-info-dialog .procedure-dialog-head .dialog-mascot-card {
    min-height: 140px !important;
  }

  .procedure-info-dialog .procedure-info-choice-list {
    grid-template-columns: 1fr !important;
  }

  .procedure-info-dialog .procedure-info-choice {
    min-height: 96px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    padding: 15px 42px 15px 15px !important;
  }

  .procedure-info-dialog .procedure-info-choice > [data-lucide] {
    width: 44px !important;
    height: 44px !important;
    padding: 11px !important;
  }

  .procedure-info-dialog .procedure-info-choice strong {
    font-size: 17px !important;
  }

  .procedure-info-dialog .procedure-info-choice small {
    font-size: 14px !important;
  }
}

/* 0.4.159: procedure information chooser, no narrow text cards */
.procedure-info-dialog {
  width: min(1040px, calc(100vw - 48px)) !important;
}

.procedure-info-dialog .procedure-dialog-shell {
  width: 100% !important;
  max-height: calc(100dvh - 48px) !important;
  padding: 26px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 239, 0.98)),
    #ffffff !important;
}

.procedure-info-dialog .procedure-dialog-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) !important;
  align-items: stretch !important;
  gap: 22px !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  border: 1px solid rgba(197, 165, 99, 0.2) !important;
  border-radius: 20px !important;
  padding: 20px 22px !important;
  text-align: left !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.96)),
    #ffffff !important;
}

.procedure-info-dialog .procedure-dialog-head h2 {
  max-width: 720px !important;
  margin: 0 !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  line-height: 1.04 !important;
}

.procedure-info-dialog .procedure-dialog-head p {
  max-width: 700px !important;
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.procedure-info-dialog .procedure-dialog-head .dialog-mascot-card {
  min-height: 168px !important;
}

.procedure-info-dialog .procedure-dialog-head .dialog-mascot-card img {
  width: min(170px, 88%) !important;
  max-height: 160px !important;
}

.procedure-info-dialog .procedure-info-layout {
  display: grid !important;
  gap: 14px !important;
}

.procedure-info-dialog .procedure-info-choice-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.procedure-info-dialog .procedure-info-choice {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 104px !important;
  padding: 18px 48px 18px 18px !important;
  border: 1px solid rgba(10, 28, 52, 0.1) !important;
  border-radius: 18px !important;
  color: var(--navy) !important;
  text-align: left !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 14px 32px rgba(8, 20, 39, 0.055) !important;
}

.procedure-info-dialog .procedure-info-choice::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 18px;
  color: #b6905f;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.procedure-info-dialog .procedure-info-choice > [data-lucide] {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border: 1px solid rgba(197, 165, 99, 0.24) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  color: #b6905f !important;
  background: #fbf6ec !important;
}

.procedure-info-dialog .procedure-info-choice span {
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.procedure-info-dialog .procedure-info-choice strong {
  margin: 0 !important;
  color: var(--navy) !important;
  font-size: 18px !important;
  line-height: 1.22 !important;
}

.procedure-info-dialog .procedure-info-choice small {
  margin: 0 !important;
  color: #667085 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

.procedure-info-dialog .procedure-info-choice:hover,
.procedure-info-dialog .procedure-info-choice.is-selected {
  border-color: rgba(197, 165, 99, 0.56) !important;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff !important;
  box-shadow: 0 18px 38px rgba(8, 20, 39, 0.08) !important;
}

.procedure-info-dialog .procedure-info-choice.is-selected > [data-lucide] {
  color: #ffffff !important;
  background: #b6905f !important;
}

@media (min-width: 900px) {
  .procedure-info-dialog .procedure-info-choice:nth-child(5) {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .procedure-info-dialog {
    width: min(calc(100vw - 16px), 600px) !important;
  }

  .procedure-info-dialog .procedure-dialog-shell {
    max-height: calc(100dvh - 16px) !important;
    padding: 16px !important;
  }

  .procedure-info-dialog .procedure-dialog-head {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .procedure-info-dialog .procedure-dialog-head h2 {
    font-size: 30px !important;
  }

  .procedure-info-dialog .procedure-dialog-head p {
    font-size: 15px !important;
  }

  .procedure-info-dialog .procedure-dialog-head .dialog-mascot-card {
    min-height: 140px !important;
  }

  .procedure-info-dialog .procedure-info-choice-list {
    grid-template-columns: 1fr !important;
  }

  .procedure-info-dialog .procedure-info-choice {
    min-height: 96px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    padding: 15px 42px 15px 15px !important;
  }

  .procedure-info-dialog .procedure-info-choice > [data-lucide] {
    width: 44px !important;
    height: 44px !important;
    padding: 11px !important;
  }

  .procedure-info-dialog .procedure-info-choice strong {
    font-size: 17px !important;
  }

  .procedure-info-dialog .procedure-info-choice small {
    font-size: 14px !important;
  }
}

/* 0.4.158: calmer popup headers with the portal mascot on every customer-facing dialog */
.dialog-head-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.procedure-dialog-head,
.free-letter-head,
.authorization-head,
.service-notice-head,
.dialog-login-hero,
.whatsapp-dialog-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 230px) !important;
  align-items: stretch !important;
  gap: 22px !important;
}

.procedure-dialog-head,
.free-letter-head,
.authorization-head,
.service-notice-head {
  max-width: none !important;
  margin-bottom: 22px !important;
  border: 1px solid rgba(197, 165, 99, 0.2);
  border-radius: 20px;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.96)),
    #ffffff;
}

.procedure-dialog-head h2,
.free-letter-head h2,
.authorization-head h2,
.service-notice-head h2,
.dialog-login-hero h2,
.whatsapp-dialog-head h2 {
  margin: 0 !important;
  color: var(--navy);
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}

.procedure-dialog-head p,
.free-letter-head p,
.authorization-head p,
.service-notice-head p,
.dialog-login-hero p,
.whatsapp-dialog-head p {
  max-width: 650px;
  margin: 0 !important;
  color: #667085;
}

.dialog-mascot-card {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 166px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(197, 165, 99, 0.22);
  border-radius: 18px;
  padding: 12px 12px 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(216, 195, 165, 0.32), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.dialog-mascot-card img {
  width: min(166px, 90%);
  max-height: 160px;
  object-fit: contain;
  object-position: bottom center;
  transform: translateY(12px);
}

.dialog-mascot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(8, 20, 39, 0.16);
}

.dialog-mascot-badge [data-lucide] {
  width: 20px;
  height: 20px;
}

.dialog-mascot-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(197, 165, 99, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  font-family: "Plus Jakarta Sans", Lexend, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 10px 20px rgba(8, 20, 39, 0.09);
}

.dialog-mascot-card.is-whatsapp .dialog-mascot-badge,
.dialog-mascot-card.is-upload .dialog-mascot-badge,
.procedure-dialog-mascot[data-mascot-variant="upload"] .dialog-mascot-badge {
  background: #13965f;
}

.dialog-mascot-card.is-login .dialog-mascot-badge,
.dialog-mascot-card.is-signature .dialog-mascot-badge,
.procedure-dialog-mascot[data-mascot-variant="form"] .dialog-mascot-badge {
  background: #0d294c;
}

.dialog-mascot-card.is-register .dialog-mascot-badge,
.dialog-mascot-card.is-profile .dialog-mascot-badge,
.dialog-mascot-card.is-assignment .dialog-mascot-badge,
.procedure-dialog-mascot[data-mascot-variant="summary"] .dialog-mascot-badge,
.procedure-dialog-mascot[data-mascot-variant="application"] .dialog-mascot-badge {
  background: #b6905f;
}

.dialog-mascot-card.is-notice .dialog-mascot-badge,
.dialog-mascot-card.is-letter .dialog-mascot-badge,
.procedure-dialog-mascot[data-mascot-variant="direct"] .dialog-mascot-badge {
  background: #c49a4a;
}

.procedure-dialog:not(.procedure-info-dialog) {
  width: min(1120px, calc(100vw - 56px)) !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-shell {
  padding: 26px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 239, 0.98)),
    #ffffff;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-head h2 {
  font-size: clamp(30px, 3.6vw, 42px) !important;
  line-height: 1.04 !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-modal-grid,
.procedure-dialog:not(.procedure-info-dialog) .existing-form-panel,
.procedure-dialog:not(.procedure-info-dialog) .procedure-summary-panel,
.procedure-dialog:not(.procedure-info-dialog) .hubspot-form-panel,
.procedure-dialog:not(.procedure-info-dialog) .procedure-application-panel {
  max-width: 980px !important;
}

.procedure-choice-list {
  gap: 12px !important;
}

.procedure-choice {
  min-height: 86px;
  border-radius: 16px !important;
  border-color: rgba(10, 28, 52, 0.08) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 12px 28px rgba(8, 20, 39, 0.055);
}

.procedure-choice:hover,
.procedure-choice.is-selected {
  border-color: rgba(197, 165, 99, 0.58) !important;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.96)),
    #ffffff !important;
}

.existing-form-panel {
  border-color: rgba(197, 165, 99, 0.22) !important;
  border-radius: 20px !important;
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 18px 42px rgba(8, 20, 39, 0.07);
}

.form-source {
  align-items: center;
  gap: 18px !important;
  margin-bottom: 16px !important;
  border: 1px solid rgba(197, 165, 99, 0.18);
  border-radius: 18px;
  padding: 18px 20px;
  text-align: center !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.98)),
    #ffffff;
}

.form-source p {
  max-width: 680px;
  margin: 0 auto !important;
}

.route-method-grid {
  gap: 14px !important;
}

.route-method {
  border-radius: 18px !important;
  padding: 18px !important;
}

.route-method-icon {
  border-radius: 12px !important;
}

.route-actions {
  margin-top: 2px;
}

.procedure-info-dialog .procedure-dialog-head {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) !important;
}

.procedure-info-dialog .procedure-dialog-head h2 {
  font-size: clamp(30px, 4vw, 42px) !important;
}

.procedure-info-dialog .procedure-info-media {
  background:
    radial-gradient(circle at 22% 20%, rgba(216, 195, 165, 0.35), transparent 42%),
    #ffffff !important;
}

.whatsapp-dialog {
  width: min(720px, calc(100% - 30px)) !important;
}

.whatsapp-dialog-head {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 200px) !important;
}

.login-dialog {
  width: min(720px, calc(100% - 30px)) !important;
}

.register-dialog,
.profile-dialog {
  width: min(900px, calc(100% - 30px)) !important;
}

.dialog-login-hero {
  align-items: center !important;
}

.dialog-login-hero .dialog-mascot-card {
  min-height: 150px;
}

.dialog-login-hero .dialog-mascot-card img {
  max-height: 144px;
}

.membership-dialog-image {
  display: grid !important;
  align-items: end !important;
  justify-items: center !important;
  min-height: 220px;
  background:
    radial-gradient(circle at 30% 18%, rgba(216, 195, 165, 0.32), transparent 42%),
    linear-gradient(180deg, #ffffff, #edf2f8) !important;
}

.membership-dialog-image .dialog-mascot-badge {
  left: 14px;
  top: 14px;
}

.membership-dialog-image img {
  width: min(210px, 82%) !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  transform: translateY(16px);
}

.membership-request-card .dialog-mascot-card {
  min-height: 170px;
  margin-bottom: 4px;
}

.service-notice-head {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) !important;
}

.upload-progress-card .dialog-mascot-card {
  width: 154px;
  min-height: 132px;
  border-radius: 16px;
}

.upload-progress-card .dialog-mascot-card img {
  width: 134px;
  max-height: 124px;
}

.upload-progress-card .dialog-mascot-badge {
  width: 34px;
  height: 34px;
}

.upload-progress-card .dialog-mascot-card figcaption {
  display: none;
}

@media (max-width: 760px) {
  .procedure-dialog-head,
  .free-letter-head,
  .authorization-head,
  .service-notice-head,
  .dialog-login-hero,
  .whatsapp-dialog-head,
  .procedure-info-dialog .procedure-dialog-head {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .dialog-mascot-card {
    min-height: 142px;
  }

  .dialog-mascot-card img {
    width: min(150px, 76%);
    max-height: 136px;
  }

  .procedure-dialog:not(.procedure-info-dialog) {
    width: min(calc(100vw - 16px), 620px) !important;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-shell {
    max-height: calc(100dvh - 18px);
    padding: 16px !important;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-head h2 {
    font-size: 30px !important;
  }

  .route-method-grid {
    grid-template-columns: 1fr !important;
  }

  .route-actions {
    display: grid;
  }

  .route-actions button {
    width: 100%;
    justify-content: center;
  }

  .register-dialog,
  .profile-dialog,
  .login-dialog,
  .whatsapp-dialog {
    width: min(calc(100vw - 18px), 620px) !important;
  }
}

/* 0.4.157: centered document upload feedback */
.upload-progress-overlay[hidden] {
  display: none !important;
}

.upload-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 20, 39, 0.46);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.upload-progress-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(420px, calc(100vw - 40px));
  border: 1px solid rgba(197, 165, 99, 0.34);
  border-radius: 18px;
  padding: 30px 28px 28px;
  color: var(--navy);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.98)),
    #ffffff;
  box-shadow: 0 28px 70px rgba(8, 20, 39, 0.26);
}

.upload-progress-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(8, 20, 39, 0.2);
}

.upload-progress-icon [data-lucide] {
  width: 28px;
  height: 28px;
}

.upload-progress-card strong {
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.upload-progress-card p {
  margin: 0;
  color: #667085;
  font-family: Lexend, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.upload-progress-dots {
  display: inline-flex;
  width: 20px;
  justify-content: flex-start;
  margin-left: 2px;
  color: #b6905f;
  font-weight: 900;
}

.upload-progress-dots span {
  animation: upload-dot-pulse 1.1s infinite ease-in-out;
}

.upload-progress-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.upload-progress-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

body.is-uploading-document .toast {
  opacity: 0 !important;
  transform: translateY(14px) !important;
}

@keyframes upload-dot-pulse {
  0%,
  80%,
  100% {
    opacity: 0.22;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  .upload-progress-overlay {
    padding: 18px;
  }

  .upload-progress-card {
    width: min(360px, calc(100vw - 32px));
    padding: 26px 22px 24px;
  }

  .upload-progress-card strong {
    font-size: 23px;
  }

  .upload-progress-card p {
    font-size: 15px;
  }
}

/* 0.4.156: calmer, mobile-friendly procedure information popups */
.procedure-summary-panel[hidden],
.procedure-info-detail-panel[hidden],
.procedure-info-media[hidden] {
  display: none !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-summary-panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.procedure-summary-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 22px;
  align-items: stretch;
  border: 1px solid rgba(197, 165, 99, 0.22);
  border-radius: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 245, 238, 0.96)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(8, 20, 39, 0.08);
}

.procedure-summary-copy {
  display: grid;
  align-content: center;
  gap: 12px;
}

.summary-eyebrow {
  color: #b6905f;
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.procedure-summary-copy h3 {
  max-width: 620px;
  margin: 0;
  color: var(--navy);
  font-family: Arial, sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: 0;
}

.procedure-summary-copy p {
  max-width: 620px;
  margin: 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.55;
}

.procedure-summary-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.procedure-summary-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(47, 143, 91, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  background: #f4fbf7;
}

.procedure-summary-highlights [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.procedure-summary-cta {
  justify-self: start;
  margin-top: 4px;
  min-height: 48px;
  padding-inline: 18px;
}

.procedure-summary-illustration {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(216, 195, 165, 0.28), transparent 42%),
    #ffffff;
}

.procedure-summary-illustration img {
  width: min(100%, 300px);
  height: auto;
  max-height: 270px;
  display: block;
  object-fit: contain;
}

.procedure-summary-accordion,
.procedure-info-accordion {
  display: grid;
  gap: 10px;
}

.summary-accordion-item,
.procedure-info-accordion-item {
  border: 1px solid rgba(10, 28, 52, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(8, 20, 39, 0.05);
}

.summary-accordion-item summary,
.procedure-info-accordion-item summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 16px;
  color: var(--navy);
  font-family: Lexend, Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

.summary-accordion-item summary::-webkit-details-marker,
.procedure-info-accordion-item summary::-webkit-details-marker {
  display: none;
}

.summary-accordion-item summary::after,
.procedure-info-accordion-item summary::after {
  content: "+";
  justify-self: end;
  color: #b6905f;
  font-size: 22px;
  line-height: 1;
}

.summary-accordion-item[open] summary::after,
.procedure-info-accordion-item[open] summary::after {
  content: "-";
}

.summary-accordion-item summary [data-lucide],
.procedure-info-accordion-item summary [data-lucide] {
  width: 21px;
  height: 21px;
  color: #b6905f;
}

.summary-accordion-list,
.procedure-info-points,
.procedure-info-cost-panel ul,
.procedure-info-terms-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}

.summary-accordion-list li,
.procedure-info-points li,
.procedure-info-cost-panel li,
.procedure-info-meta-grid li {
  position: relative;
  display: block;
  padding-left: 26px;
  color: var(--ink);
  font-family: Lexend, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.summary-accordion-list li::before,
.procedure-info-points li::before,
.procedure-info-cost-panel li::before,
.procedure-info-meta-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 91, 0.1);
}

.procedure-info-points li [data-lucide] {
  display: none;
}

.summary-inline-note {
  margin: -4px 18px 18px;
  border: 1px solid rgba(47, 143, 91, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  color: #526070;
  font-size: 15px;
  line-height: 1.5;
  background: #f4fbf7;
}

.summary-accordion-item .subsidy-note,
.summary-accordion-item .trustpilot-card,
.summary-accordion-item .summary-contact-card {
  margin: 0 18px 18px;
}

.procedure-summary-actions {
  align-items: center;
  justify-content: space-between;
}

.procedure-summary-actions .secondary-button {
  min-height: 44px;
  border-color: #c3cad3;
  color: #17233c;
  background:
    linear-gradient(180deg, #fbfcfe 0%, #dce2eb 100%),
    #e5e9ef;
}

.procedure-info-dialog .procedure-info-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 18px 24px;
  align-items: start;
  padding: 22px;
}

.procedure-info-overview {
  display: grid;
  gap: 10px;
  grid-column: 1;
}

.procedure-info-dialog .procedure-info-detail-card h3 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.04;
}

.procedure-info-dialog .procedure-info-detail-card p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
}

.procedure-info-dialog .procedure-info-media {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: end center;
  height: auto;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  border-color: rgba(197, 165, 99, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 20%, rgba(216, 195, 165, 0.28), transparent 42%),
    #ffffff;
}

.procedure-info-dialog .procedure-info-media img {
  width: min(100%, 300px);
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.procedure-info-accordion {
  grid-column: 1 / -1;
}

.procedure-info-dialog .procedure-info-cost-panel,
.procedure-info-dialog .procedure-info-faq {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.procedure-info-dialog .procedure-info-terms-panel ul + ul {
  padding-top: 0;
}

.procedure-info-dialog .procedure-info-faq > div {
  display: grid;
  gap: 8px;
  padding: 0 18px 18px;
}

.procedure-info-dialog .procedure-info-faq-item {
  box-shadow: none;
}

.procedure-info-dialog .procedure-info-faq-item summary {
  min-height: 44px;
  padding: 11px 12px;
  font-size: 15px;
}

.procedure-info-dialog .procedure-info-faq-item p {
  padding: 0 12px 12px;
  font-size: 15px;
  line-height: 1.5;
}

.procedure-info-dialog .procedure-info-contact-card {
  display: grid !important;
  grid-column: 1 / -1;
  margin-top: 2px;
}

.procedure-info-dialog .procedure-info-detail-actions {
  display: flex !important;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .procedure-summary-hero,
  .procedure-info-dialog .procedure-info-detail-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .procedure-summary-copy h3,
  .procedure-info-dialog .procedure-info-detail-card h3 {
    font-size: 28px;
  }

  .procedure-summary-copy p,
  .procedure-info-dialog .procedure-info-detail-card p {
    font-size: 16px;
  }

  .procedure-summary-illustration,
  .procedure-info-dialog .procedure-info-media {
    grid-column: 1;
    grid-row: auto;
    min-height: 190px;
  }

  .procedure-summary-illustration img,
  .procedure-info-dialog .procedure-info-media img {
    width: min(100%, 230px);
    max-height: 215px;
  }

  .procedure-summary-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .procedure-summary-cta,
  .procedure-summary-actions button,
  .procedure-info-dialog .procedure-info-top-actions .primary-button,
  .procedure-info-dialog .procedure-info-detail-actions .primary-button {
    width: 100%;
    justify-content: center;
  }

  .procedure-summary-actions {
    display: grid;
    gap: 10px;
  }

  .summary-accordion-item summary,
  .procedure-info-accordion-item summary {
    min-height: 54px;
    padding: 13px 14px;
    font-size: 16px;
  }

  .summary-accordion-list li,
  .procedure-info-points li,
  .procedure-info-cost-panel li,
  .procedure-info-meta-grid li {
    font-size: 15px;
  }
}

/* Final dialog readability override: keep every popup calm, aligned and legible. */
.procedure-dialog,
.procedure-info-dialog,
.membership-terms-dialog,
.membership-request-dialog,
.service-notice-dialog,
.login-dialog,
.whatsapp-dialog {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.procedure-info-dialog .procedure-dialog-shell,
.procedure-dialog-shell,
.membership-terms-dialog > form,
.membership-request-dialog > form,
.service-notice-dialog > form,
.login-dialog > form,
.whatsapp-dialog-shell {
  border: 1px solid rgba(197, 165, 99, 0.3) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(249, 245, 238, 0.98)),
    #ffffff !important;
  box-shadow: 0 28px 70px rgba(8, 20, 39, 0.24) !important;
}

.procedure-info-dialog .procedure-dialog-shell {
  width: min(1040px, calc(100vw - 56px)) !important;
  padding: 30px !important;
  border-radius: 20px !important;
}

.procedure-info-dialog .procedure-dialog-head p,
.procedure-dialog-head p,
.application-head p,
.summary-later-note small,
.summary-contact-card small,
.subsidy-note small,
.trustpilot-card small,
.procedure-info-dialog .procedure-info-detail-card p,
.procedure-info-dialog .procedure-info-choice small,
.procedure-info-dialog .procedure-info-points li,
.procedure-info-dialog .procedure-info-meta-grid li,
.procedure-info-dialog .procedure-info-meta-grid p,
.procedure-info-dialog .procedure-info-faq-item,
.procedure-choice small,
.form-source p,
.route-decision-card p,
.hubspot-form-panel p,
.application-upload-list small,
.dialog-status,
.dialog-link-row,
.terms-check,
.membership-dialog-note {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.procedure-info-dialog .procedure-info-choice strong,
.summary-info-card span,
.summary-later-note strong,
.summary-contact-card strong,
.subsidy-note strong,
.trustpilot-card strong,
.application-upload-list strong,
.procedure-choice strong {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.hubspot-form-target,
.hubspot-form-target iframe,
.hubspot-form-target form,
.hubspot-form-target input,
.hubspot-form-target select,
.hubspot-form-target textarea,
.hubspot-form-target button,
.hubspot-form-target label {
  pointer-events: auto !important;
}

.hubspot-form-target iframe {
  display: block;
  width: 100% !important;
  min-height: 720px;
  border: 0;
}

/* Accessibility pass: clearer dialogs and readable procedure copy */
.procedure-dialog,
.procedure-info-dialog,
.membership-terms-dialog,
.membership-request-dialog,
.service-notice-dialog,
.login-dialog,
.whatsapp-dialog {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.procedure-dialog-shell,
.membership-terms-dialog > form,
.membership-request-dialog > form,
.service-notice-dialog > form,
.login-dialog > form,
.whatsapp-dialog-shell {
  border: 1px solid rgba(197, 165, 99, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(249, 245, 238, 0.98)),
    #ffffff;
  box-shadow: 0 28px 70px rgba(8, 20, 39, 0.24);
}

.procedure-info-dialog .procedure-dialog-shell {
  width: min(1040px, calc(100vw - 56px));
  padding: 30px;
  border-color: rgba(197, 165, 99, 0.32);
  border-radius: 20px;
}

.procedure-info-dialog .procedure-dialog-head p,
.procedure-dialog-head p,
.application-head p,
.summary-later-note small,
.summary-contact-card small,
.subsidy-note small,
.trustpilot-card small,
.procedure-info-dialog .procedure-info-detail-card p,
.procedure-info-dialog .procedure-info-choice small,
.procedure-info-dialog .procedure-info-points li,
.procedure-info-dialog .procedure-info-meta-grid li,
.procedure-info-dialog .procedure-info-meta-grid p,
.procedure-info-dialog .procedure-info-faq-item,
.procedure-choice small,
.form-source p,
.route-decision-card p,
.hubspot-form-panel p,
.application-upload-list small,
.dialog-status,
.dialog-link-row,
.terms-check,
.membership-dialog-note {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.procedure-info-dialog .procedure-info-choice strong,
.summary-info-card span,
.summary-later-note strong,
.summary-contact-card strong,
.subsidy-note strong,
.trustpilot-card strong,
.application-upload-list strong,
.procedure-choice strong {
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.procedure-info-dialog .procedure-info-points {
  gap: 10px;
}

.procedure-info-dialog .procedure-info-points li {
  grid-template-columns: 24px minmax(0, 1fr);
}

.procedure-info-dialog .procedure-info-meta-grid section,
.summary-info-card,
.summary-later-note,
.summary-contact-card,
.subsidy-note,
.trustpilot-card {
  padding: 18px;
}

.summary-info-card ul,
.procedure-info-dialog .procedure-info-meta-grid ul {
  gap: 10px;
}

@media (max-width: 760px) {
  .procedure-info-dialog .procedure-dialog-shell {
    width: min(calc(100vw - 18px), 560px);
    padding: 20px;
  }

  .procedure-info-dialog .procedure-dialog-head p,
  .procedure-dialog-head p,
  .application-head p,
  .summary-later-note small,
  .summary-contact-card small,
  .subsidy-note small,
  .trustpilot-card small,
  .procedure-info-dialog .procedure-info-detail-card p,
  .procedure-info-dialog .procedure-info-choice small,
  .procedure-info-dialog .procedure-info-points li,
  .procedure-info-dialog .procedure-info-meta-grid li,
  .procedure-choice small,
  .application-upload-list small {
    font-size: 15px !important;
  }
}

@media (min-width: 900px) {
  .app-shell,
  .workspace-panels,
  .dashboard-grid,
  .portal-content {
    font-size: 17px;
  }

  .top-nav a,
  .side-nav button,
  .sidebar-help-card p,
  .sidebar-help-card button,
  .sidebar-help-actions a,
  .profile-chip,
  .language-switch button {
    font-size: 16px;
  }

  .dashboard-card-head h3,
  .timeline-card h3,
  .documents-card h3,
  .benefit-card h3,
  .jurist-card h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .timeline-list strong,
  .compact-doc-list strong,
  .jurist-profile strong,
  .regie-message-row strong,
  .missing-document-card strong {
    font-size: 17px;
  }

  .timeline-list small,
  .compact-doc-list small,
  .regie-message-row small,
  .regie-message-row p,
  .missing-document-card span {
    font-size: 15px;
    line-height: 1.5;
  }

  .procedure-dialog:not(.procedure-info-dialog) {
    width: min(1040px, calc(100vw - 96px));
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-shell {
    padding: 34px 38px;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-modal-grid,
  .procedure-dialog:not(.procedure-info-dialog) .existing-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-summary-panel,
  .procedure-dialog:not(.procedure-info-dialog) .hubspot-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-application-panel {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }

  .procedure-choice {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: stretch;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    text-align: left;
  }

  .procedure-choice strong {
    font-size: 18px;
  }

  .procedure-choice small {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.45;
  }

  .form-source span,
  .application-head span,
  .application-subhead span {
    font-size: 13px;
  }

  .form-source strong,
  .application-head h3 {
    font-size: 25px;
  }

  .form-source p,
  .application-head p,
  .application-subhead p,
  .route-method p,
  .route-decision-card p,
  .hubspot-form-status,
  .hubspot-form-fallback,
  .summary-contact-card small,
  .application-warning-card small,
  .subsidy-note small,
  .trustpilot-card small,
  .summary-later-note small {
    font-size: 16px;
    line-height: 1.55;
  }

  .application-stepper span {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .application-grid {
    gap: 15px;
  }

  .application-grid label,
  .route-fields label,
  .application-inline-date,
  .application-consent-list label {
    font-size: 15px;
    line-height: 1.45;
  }

  .application-grid input,
  .application-grid textarea,
  .application-grid select,
  .route-fields input,
  .application-inline-date input {
    min-height: 48px;
    border-radius: 10px;
    padding: 13px 14px;
    font: 500 16px/1.45 Lexend, Arial, sans-serif;
  }

  .application-subhead h4,
  .route-method strong {
    font-size: 22px;
  }

  .application-upload-list strong,
  .application-warning-card strong,
  .summary-contact-card strong,
  .subsidy-note strong,
  .trustpilot-card strong,
  .summary-info-card span,
  .summary-later-note strong {
    font-size: 16px;
  }

  .application-upload-list small,
  .summary-info-card ul,
  .summary-more-lines span {
    font-size: 15px;
    line-height: 1.5;
  }
}

.summary-start-button,
body.has-no-active-dossier .missing-document-card .primary-button {
  border: 1px solid #c3cad3 !important;
  color: #17233c !important;
  background:
    linear-gradient(180deg, #fbfcfe 0%, #dce2eb 100%),
    #e5e9ef !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(23, 35, 60, 0.14) !important;
  font-weight: 800;
}

.summary-start-button [data-lucide],
body.has-no-active-dossier .missing-document-card .primary-button [data-lucide] {
  color: #17233c !important;
}

@media (min-width: 900px) {
  body,
  body:has(.htn-portal-shortcode),
  body.htn-portal-page,
  .htn-portal-shortcode {
    font-size: 17px;
  }

  .workspace-panels p,
  .page-visual-copy p,
  .case-subtitle,
  .missing-document-card span,
  .timeline-list small,
  .compact-doc-list small,
  .mailbox-reader-body p,
  .mailbox-compose input,
  .mailbox-compose select,
  .mailbox-compose textarea {
    font-size: 17px;
    line-height: 1.62;
  }

  .timeline-list strong,
  .compact-doc-list strong,
  .missing-document-card strong,
  .mailbox-row strong {
    font-size: 16px;
    line-height: 1.35;
  }

  .panel h2 {
    font-size: 40px;
  }

  .panel h3,
  .page-visual-copy h3 {
    font-size: 30px;
  }

  .primary-button,
  .accent-button,
  .secondary-button,
  .outline-button,
  .ghost-button,
  .mini-button,
  .whatsapp-button {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .case-hero-copy h2 {
    font-size: 48px;
  }

  .procedure-dialog {
    width: min(1180px, calc(100vw - 64px));
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .procedure-dialog-shell {
    width: 100%;
    max-height: calc(100dvh - 56px);
    overflow: auto;
    border-radius: 22px;
  }

  .procedure-dialog-head {
    max-width: 760px;
  }

  .procedure-dialog-head h2 {
    font-size: 38px;
  }

  .procedure-dialog-head p {
    font-size: 17px;
  }
}

.summary-start-button,
body.has-no-active-dossier .missing-document-card .primary-button {
  border: 1px solid rgba(23, 35, 60, 0.12) !important;
  color: #ffffff !important;
  background:
    linear-gradient(135deg, #07152a, #102a4d),
    var(--navy) !important;
  box-shadow: 0 14px 26px rgba(8, 26, 49, 0.16) !important;
}

.summary-start-button {
  align-items: center;
  min-height: 48px;
  border-radius: 14px;
  font-size: 16px;
}

.sidebar-help-actions {
  display: grid;
  gap: 8px;
}

.sidebar-help-actions a,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(40, 167, 69, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  color: #0b6334;
  background: #f0fbf5;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-help-actions a [data-lucide],
.whatsapp-button [data-lucide] {
  width: 18px;
  height: 18px;
}

.full-progress-summary {
  margin-top: 16px;
  border: 1px solid rgba(23, 35, 60, 0.1);
  border-radius: 18px;
  background: #fbfaf7;
  overflow: hidden;
}

.full-progress-summary summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.full-progress-summary div {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.full-progress-summary span,
.full-progress-summary strong,
.full-progress-summary small {
  display: block;
}

.full-progress-summary strong {
  color: var(--navy);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
}

.full-progress-summary small {
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.5;
}

.procedure-info-dialog::backdrop {
  background: rgba(8, 20, 39, 0.62);
  backdrop-filter: blur(6px);
}

.procedure-info-dialog .procedure-dialog-shell {
  width: min(1000px, calc(100vw - 38px));
  max-height: calc(100dvh - 42px);
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(197, 165, 99, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 236, 0.96)),
    #f8f6f1;
  box-shadow: 0 28px 70px rgba(8, 20, 39, 0.22);
}

.procedure-info-dialog .close-dialog {
  top: 18px;
  right: 18px;
  border-color: rgba(197, 165, 99, 0.42);
  color: var(--navy);
  background: #ffffff;
}

.procedure-info-dialog .procedure-dialog-head {
  max-width: 680px;
  margin: 0 0 18px;
  text-align: left;
}

.procedure-info-dialog .procedure-dialog-head .eyebrow {
  color: #b6905f;
}

.procedure-info-dialog .procedure-dialog-head h2 {
  max-width: 620px;
  margin-top: 6px;
  font-family: Arial, sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: 0;
}

.procedure-info-dialog .procedure-dialog-head p {
  max-width: 620px;
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.procedure-info-dialog .procedure-info-choice-list {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.procedure-info-dialog .procedure-info-choice {
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 104px;
  align-items: start;
  padding: 14px;
  border-color: rgba(10, 28, 52, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(8, 20, 39, 0.06);
}

.procedure-info-dialog .procedure-info-choice > [data-lucide] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #b6905f;
}

.procedure-info-dialog .procedure-info-choice strong {
  font-size: 13px;
  line-height: 1.22;
}

.procedure-info-dialog .procedure-info-choice small {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.38;
}

.procedure-info-dialog .procedure-info-choice:hover,
.procedure-info-dialog .procedure-info-choice.is-selected {
  border-color: rgba(182, 144, 95, 0.62);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(246, 241, 232, 0.98));
  transform: translateY(-1px);
}

.procedure-info-dialog .procedure-info-detail-card {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 255px);
  gap: 12px 22px;
  padding: 22px;
  border-color: rgba(10, 28, 52, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 20, 39, 0.08);
}

.procedure-info-dialog .back-link {
  margin-bottom: 2px;
  color: #667085;
}

.procedure-info-dialog .procedure-info-badge {
  padding: 6px 9px;
  color: #825f29;
  background: #f2e6d4;
}

.procedure-info-dialog .procedure-info-detail-card h3 {
  font-size: clamp(26px, 3vw, 34px);
}

.procedure-info-dialog .procedure-info-detail-card p {
  max-width: 590px;
  color: #667085;
  font-size: 14px;
  line-height: 1.52;
}

.procedure-info-dialog .procedure-info-media {
  grid-row: 1 / span 5;
  height: 224px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 12px;
  background: #f5efe5;
  box-shadow: inset 0 0 0 1px rgba(10, 28, 52, 0.06);
}

.procedure-info-dialog .procedure-info-top-actions {
  margin-top: 2px;
}

.procedure-info-dialog .procedure-info-top-actions .primary-button,
.procedure-info-dialog .procedure-info-detail-actions .primary-button {
  min-height: 44px;
  padding-inline: 18px;
  background: #061c36;
  box-shadow: 0 14px 30px rgba(6, 28, 54, 0.18);
}

.procedure-info-dialog .procedure-info-tabs {
  display: none;
}

.procedure-info-dialog .procedure-info-points {
  grid-column: 1;
  gap: 7px;
}

.procedure-info-dialog .procedure-info-points li {
  grid-template-columns: 20px minmax(0, 1fr);
  font-size: 12px;
}

.procedure-info-dialog .procedure-info-meta-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.procedure-info-dialog .procedure-info-meta-grid section,
.procedure-info-dialog .procedure-info-faq {
  border-color: rgba(10, 28, 52, 0.08);
  background: #fbfaf7;
}

.procedure-info-dialog .procedure-info-meta-grid span,
.procedure-info-dialog .procedure-info-faq > span {
  color: #b6905f;
}

.procedure-info-dialog .procedure-info-faq {
  grid-column: 1 / -1;
}

.procedure-info-dialog .procedure-info-faq,
.procedure-info-dialog .procedure-info-contact-card {
  display: none;
}

.procedure-info-dialog .procedure-info-faq-item {
  border-color: rgba(10, 28, 52, 0.08);
}

.procedure-info-dialog .procedure-info-contact-card {
  grid-column: 1 / -1;
  padding: 14px;
  border-color: rgba(47, 143, 91, 0.16);
  background: #f1faf5;
}

.procedure-info-dialog .procedure-info-detail-actions {
  display: none;
}

@media (max-width: 760px) {
  .procedure-info-dialog .procedure-dialog-shell {
    width: min(calc(100vw - 18px), 560px);
    max-height: calc(100dvh - 18px);
    padding: 18px;
  }

  .procedure-info-dialog .procedure-info-choice-list,
  .procedure-info-dialog .procedure-info-detail-card,
  .procedure-info-dialog .procedure-info-meta-grid {
    grid-template-columns: 1fr;
  }

  .procedure-info-dialog .procedure-info-media {
    grid-column: 1;
    grid-row: auto;
    height: 180px;
  }

  .procedure-info-dialog .procedure-info-top-actions .primary-button {
    width: 100%;
  }
}

/* Master redesign layer: shared portal design system */
:root {
  --navy: #07172d;
  --navy-light: #0b1f3a;
  --sand: #d8c3a5;
  --sand-light: #f5ede3;
  --green: #13965f;
  --orange: #f59e0b;
  --red: #e24b4b;
  --border: #e7dfd3;
  --background: #f8f8f7;
  --white: #ffffff;
  --app-navy: var(--navy);
  --app-navy-2: var(--navy-light);
  --app-ink: var(--navy);
  --app-muted: #657083;
  --app-line: var(--border);
  --app-bg: var(--background);
  --app-cream: var(--sand-light);
  --app-cream-2: #fbf7f0;
  --app-gold: var(--sand);
  --app-green: var(--green);
  --app-red: var(--red);
  --app-shadow: 0 18px 45px rgba(7, 23, 45, 0.08);
}

html,
body,
.htn-portal-shortcode,
button,
input,
select,
textarea,
.nav-tab,
.small-label,
.eyebrow,
.status-pill,
.mailbox-count,
.mailbox-tab,
.mailbox-status,
.mailbox-row strong,
.mailbox-row small,
.mailbox-row em,
.mailbox-empty-list strong,
.mailbox-empty-list small,
.mailbox-compose label,
.mailbox-compose input,
.mailbox-compose select,
.mailbox-compose textarea,
.panel h2,
.panel h3,
.case-hero-copy h2,
.portal-tool-card strong,
.member-action strong,
.member-action small,
.member-tool-list strong,
.member-tool-list small {
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

body,
body:has(.htn-portal-shortcode),
body.htn-portal-page,
.htn-portal-shortcode {
  color: var(--navy);
  background: var(--background);
}

body.htn-portal-page .sg-ai-floating-chat,
body:has(.htn-portal-shortcode) .sg-ai-floating-chat {
  bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  z-index: 24 !important;
}

.workspace-panels {
  background:
    radial-gradient(circle at 96% 4%, rgba(216, 195, 165, 0.24), transparent 28%),
    var(--background);
}

.workspace-panels .panel {
  max-width: 1440px;
}

.workspace-panels .panel:not(.dashboard-panel) {
  border-color: var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--app-shadow);
}

.workspace-panels .rent-check-panel {
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.case-hero-card,
.missing-document-card,
.timeline-card,
.documents-card,
.benefit-card,
.jurist-card,
.assistant-card,
.dashboard-proof-strip,
.page-visual-band,
.case-card,
.automation-card,
.document-card,
.requirement-item,
.mail-preview,
.profile-table,
.membership-hero-panel,
.membership-plan-card,
.member-benefit-card,
.member-workspace,
.mailbox-list-panel,
.mailbox-read-panel,
.points-upload-panel,
.active-procedure-card,
.pipeline-lane {
  border-color: var(--border) !important;
  border-radius: 22px !important;
  box-shadow: var(--app-shadow);
}

.primary-button,
.accent-button,
.secondary-button,
.outline-button,
.ghost-button,
.icon-button,
.mini-button,
.mailbox-compose .primary-button,
.sidebar-help-card button,
.assistant-card button,
.compact-doc-list button {
  min-height: 44px;
  border-radius: 14px !important;
  font-size: 15px;
  font-weight: 600;
}

.primary-button {
  background: var(--navy);
}

.accent-button {
  color: var(--navy);
  background: var(--sand);
}

.secondary-button,
.outline-button {
  color: var(--navy);
  border-color: var(--border);
  background: var(--white);
}

.panel h2 {
  color: var(--navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.panel h3,
.page-visual-copy h3 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.workspace-panels p,
.page-visual-copy p,
.panel-lead {
  color: var(--app-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.case-hero-card {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  min-height: 330px;
  padding: 34px 34px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 247, 0.98)),
    var(--white);
}

.case-hero-copy h2 {
  max-width: 650px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.case-greeting,
.case-subtitle {
  font-size: 18px;
}

.case-progress-panel {
  max-width: 680px;
  border-radius: 18px;
  padding: 22px 24px;
}

.case-progress-panel strong {
  font-size: 30px;
}

.case-progress-panel > div:last-child strong {
  font-size: 16px;
  line-height: 1.35;
}

.case-illustration {
  min-height: 304px;
}

.person-card {
  width: 340px;
  height: 304px;
}

.case-illustration::before {
  width: 314px;
  height: 204px;
}

.missing-document-card {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 24px;
}

.missing-document-card strong {
  font-size: 18px;
}

.missing-document-card span {
  font-size: 14px;
  line-height: 1.5;
}

.dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.dashboard-main-stack,
.dashboard-side-stack,
.dashboard-bottom-grid {
  gap: 24px;
}

.benefit-row strong {
  color: var(--green);
  font-size: 30px;
}

.dashboard-card-head h3,
.section-title h3 {
  letter-spacing: 0;
}

.dashboard-card-head span,
.status-pill,
.membership-plan-state {
  border-radius: 999px;
}

.page-visual-band {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: 24px;
  margin: 0 0 24px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 237, 227, 0.58)),
    var(--white);
}

.procedure-visual-band,
.contact-visual-band {
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
}

.page-visual-band figure,
.page-visual-band img,
.membership-visual-card,
.membership-visual-card img {
  border-radius: 18px;
}

.visual-pill-row span {
  border-color: rgba(216, 195, 165, 0.62);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.case-overview {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  margin-bottom: 26px;
}

.case-status-row {
  gap: 10px;
}

.case-status-row span,
.lane-step {
  border-radius: 16px;
}

.case-status-row span.is-current,
.lane-step.is-current {
  border-color: rgba(216, 195, 165, 0.8);
  background: var(--sand-light);
  box-shadow: inset 0 0 0 1px rgba(216, 195, 165, 0.36);
}

.case-status-row span.is-done,
.lane-step.is-done {
  color: var(--white);
  background: var(--green);
}

.live-stage-meta div {
  border-radius: 16px;
}

.automation-card {
  background:
    linear-gradient(135deg, rgba(245, 237, 227, 0.7), rgba(255, 255, 255, 0.98)),
    var(--white);
}

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

.requirement-item {
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: start;
  min-height: 154px;
  padding: 18px;
}

.requirement-item .outline-button {
  grid-column: 2;
  justify-self: start;
  max-width: none;
  margin-top: 8px;
}

.requirement-item strong {
  font-size: 15px;
}

.requirement-item span {
  font-size: 14px;
  line-height: 1.45;
}

.requirement-item.is-complete [data-lucide],
.doc-row.is-ready [data-lucide],
.document-item.is-ready [data-lucide] {
  color: var(--green);
}

.requirement-item.is-missing [data-lucide],
.doc-row.is-missing [data-lucide] {
  color: var(--app-red, #d92d20);
}

.request-composer {
  display: none;
}

.documents-shell,
.portal-grid,
.document-strip {
  gap: 18px;
}

.membership-hero-panel {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  padding: 28px;
}

.membership-hero-panel h3 {
  font-size: 36px;
  line-height: 1.2;
}

.membership-current-card {
  border-radius: 18px;
  padding: 18px;
}

.membership-plan-grid {
  gap: 18px;
}

.membership-plan-card {
  padding: 22px;
}

.membership-plan-card h3 {
  font-size: 20px;
}

.member-benefit-shell {
  gap: 18px;
}

.mailbox-shell {
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr);
  gap: 22px;
}

.mailbox-tabs {
  display: none;
}

.mailbox-topline {
  border-bottom-color: var(--border);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(245, 237, 227, 0.7), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.mailbox-list {
  max-height: 620px;
}

.mailbox-row {
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
}

.mailbox-row em {
  grid-column: 2;
  color: var(--app-muted);
}

.mailbox-row.is-active {
  background: var(--sand-light);
  box-shadow: inset 4px 0 0 var(--sand);
}

.mailbox-read-panel {
  grid-template-rows: auto auto;
}

.mailbox-reader {
  min-height: 330px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 247, 0.94)),
    var(--white);
}

.mailbox-reader-body {
  max-width: 720px;
  border-radius: 22px;
  padding: 18px;
}

.mailbox-reader-body p {
  font-size: 16px;
}

.mailbox-compose {
  gap: 16px;
  padding: 24px 28px 28px;
}

.mailbox-compose input,
.mailbox-compose select,
.mailbox-compose textarea {
  border-color: var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
}

.mailbox-compose textarea {
  min-height: 130px;
}

.mailbox-reader-foot span {
  border-radius: 999px;
  color: var(--app-muted);
  background: var(--background);
}

@media (max-width: 1120px) {
  .dashboard-layout,
  .case-overview,
  .dashboard-bottom-grid,
  .mailbox-shell,
  .membership-hero-panel {
    grid-template-columns: 1fr;
  }

  .dashboard-side-stack {
    grid-template-columns: 1fr;
  }

  .requirements-board,
  .membership-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav {
    min-height: 72px;
  }

  .workspace-panels {
    padding: 14px 14px 88px;
  }

  .workspace-panels .panel:not(.dashboard-panel) {
    padding: 18px;
    border-radius: 22px;
  }

  .workspace-panels .rent-check-panel {
    padding: 0;
    border-radius: 0;
  }

  .panel h2 {
    font-size: 30px;
  }

  .panel h3,
  .page-visual-copy h3 {
    font-size: 24px;
  }

  .case-hero-card {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 22px;
    color: var(--white);
    background:
      linear-gradient(135deg, #07172d, #0b1f3a),
      var(--navy);
  }

  .case-hero-copy h2 {
    font-size: 36px;
    color: var(--white);
  }

  .case-hero-copy h2 span {
    color: var(--sand);
  }

  .case-greeting,
  .case-subtitle {
    color: rgba(255, 255, 255, 0.9);
  }

  .case-illustration {
    display: none;
  }

  .case-progress-panel {
    grid-template-columns: 1fr;
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .case-progress-panel > div:last-child {
    border-left: 0;
    padding-left: 0;
  }

  .dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-main-stack,
  .dashboard-side-stack {
    display: contents;
  }

  .case-hero-card {
    order: 1;
  }

  .missing-document-card {
    order: 2;
  }

  .benefit-card {
    order: 4;
  }

  .dashboard-rent-check-card {
    order: 3;
  }

  .dashboard-bottom-grid {
    order: 5;
  }

  .jurist-card {
    order: 6;
  }

  .assistant-card {
    order: 7;
  }

  .dashboard-proof-strip {
    order: 8;
  }

  .dashboard-rent-check-head {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .dashboard-rent-check-head h3 {
    font-size: 22px;
  }

  .dashboard-rent-check-head p {
    font-size: 14px;
  }

  .dashboard-rent-check-head img {
    width: 88px;
  }

  .dashboard-rent-check-frame {
    height: calc(100svh - 150px);
    min-height: 560px;
    max-height: 760px;
  }

  .page-visual-band,
  .procedure-visual-band,
  .contact-visual-band {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .page-visual-band figure {
    order: -1;
  }

  .requirements-board,
  .membership-plan-grid,
  .member-benefit-shell,
  .member-action-grid,
  .template-letter-list {
    grid-template-columns: 1fr;
  }

  .side-nav button:nth-child(1) {
    order: 1;
  }

  .side-nav button:nth-child(2) {
    order: 2;
  }

  .side-nav button:nth-child(3) {
    order: 3;
  }

  .side-nav button:nth-child(4) {
    order: 4;
  }

  .side-nav button:nth-child(5) {
    order: 5;
  }
}

@media (max-width: 560px) {
  .workspace-panels {
    padding: 10px 10px 86px;
  }

  .case-hero-copy h2 {
    font-size: 30px;
  }

  .case-greeting,
  .case-subtitle,
  .workspace-panels p,
  .page-visual-copy p,
  .mailbox-reader-body p {
    font-size: 14px;
  }

  .case-progress-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-progress-panel > div:last-child {
    border-left: 0;
    padding-left: 0;
  }

  .missing-document-card {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 18px;
  }

  .missing-document-card .primary-button {
    grid-column: 1 / -1;
  }

  .timeline-list li,
  .compact-doc-list > div,
  .requirement-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .timeline-list button,
  .compact-doc-list button,
  .requirement-item .outline-button {
    grid-column: 2;
    justify-self: start;
  }

  .mailbox-reader,
  .mailbox-compose,
  .mailbox-topline {
    padding: 18px;
  }
}

body.has-no-active-dossier .case-hero-copy h2 [data-case-hero-main] {
  color: #b6905f !important;
}

body.has-no-active-dossier .case-hero-copy h2 [data-case-hero-accent] {
  color: #aeb6c2 !important;
}

@media (min-width: 900px) {
  .procedure-dialog:not(.procedure-info-dialog) {
    width: min(1040px, calc(100vw - 96px));
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-shell {
    padding: 34px 38px;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-modal-grid,
  .procedure-dialog:not(.procedure-info-dialog) .existing-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-summary-panel,
  .procedure-dialog:not(.procedure-info-dialog) .hubspot-form-panel,
  .procedure-dialog:not(.procedure-info-dialog) .procedure-application-panel {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }

  .application-grid label,
  .route-fields label,
  .application-inline-date,
  .application-consent-list label {
    font-size: 15px;
    line-height: 1.45;
  }

  .application-grid input,
  .application-grid textarea,
  .application-grid select,
  .route-fields input,
  .application-inline-date input {
    min-height: 48px;
    border-radius: 10px;
    padding: 13px 14px;
    font: 500 16px/1.45 Lexend, Arial, sans-serif;
  }
}

.summary-start-button,
body.has-no-active-dossier .missing-document-card .primary-button {
  border: 1px solid #c3cad3 !important;
  color: #17233c !important;
  background:
    linear-gradient(180deg, #fbfcfe 0%, #dce2eb 100%),
    #e5e9ef !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(23, 35, 60, 0.14) !important;
  font-weight: 800 !important;
}

.summary-start-button [data-lucide],
body.has-no-active-dossier .missing-document-card .primary-button [data-lucide] {
  color: #17233c !important;
}

/* 0.4.179 final layer: procedure choice rows must read centered. */
.procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-head .dialog-head-copy {
  justify-items: center !important;
  text-align: center !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-dialog-head p {
  margin-right: auto !important;
  margin-left: auto !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice {
  grid-template-columns: 46px minmax(0, 1fr) 46px !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 14px !important;
  text-align: center !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice::after {
  content: "";
  width: 46px;
  height: 1px;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice [data-lucide] {
  justify-self: center !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice span {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice strong,
.procedure-dialog:not(.procedure-info-dialog) .procedure-choice small {
  width: 100%;
  text-align: center !important;
}

.procedure-dialog:not(.procedure-info-dialog) .procedure-choice small {
  max-width: 560px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 720px) {
  .procedure-dialog:not(.procedure-info-dialog) .procedure-choice {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .procedure-dialog:not(.procedure-info-dialog) .procedure-choice::after {
    display: none;
  }
}

/* 0.4.199: huurprijscheck wordt meegeleverd in de plugin met groter werkblok. */
html body dialog.rent-check-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: min(1180px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 40px));
  padding: 0;
  border: 1px solid rgba(197, 165, 99, 0.28);
  border-radius: 24px;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--navy);
  box-shadow: 0 30px 90px rgba(8, 20, 39, 0.28);
  overflow: hidden;
}

html body dialog.rent-check-dialog::backdrop {
  background: rgba(8, 20, 39, 0.62);
  backdrop-filter: blur(9px);
}

html.rent-check-scroll-lock,
html.rent-check-scroll-lock body,
body.rent-check-scroll-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* 0.4.250: foto-upload controleren en automatisch als PDF aanleveren. */
html body dialog.upload-review-dialog {
  width: min(760px, calc(100vw - 32px));
  max-width: min(760px, calc(100vw - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  overflow: auto;
}

.upload-review-dialog .close-dialog {
  z-index: 10;
}

.upload-review-shell {
  display: grid;
  gap: 18px;
  width: 100% !important;
  padding: 28px !important;
  border-radius: 18px !important;
}

.upload-review-head {
  grid-template-columns: minmax(0, 1fr) 150px !important;
  align-items: center;
}

.upload-review-head .dialog-head-copy {
  justify-items: start !important;
  text-align: left !important;
}

.upload-review-head .dialog-head-copy p {
  max-width: 540px;
  margin-left: 0 !important;
  text-align: left !important;
}

.upload-review-head .dialog-mascot-card {
  width: 150px;
  min-height: 124px;
}

.upload-review-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #cce5d5;
  border-radius: 10px;
  color: #174b33;
  background: #f1faf4;
}

.upload-review-summary-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #14965c;
}

.upload-review-summary-icon [data-lucide] {
  width: 21px;
  height: 21px;
}

.upload-review-summary > span:last-child,
.upload-review-file-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.upload-review-summary strong {
  font-size: 16px;
}

.upload-review-summary small,
.upload-review-file-copy small,
.upload-review-help {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.upload-review-list {
  display: grid;
  gap: 8px;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}

.upload-review-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 7px 9px;
  border: 1px solid #e4e7eb;
  border-radius: 8px;
  background: #fff;
}

.upload-review-thumbnail,
.upload-review-file-icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
}

.upload-review-thumbnail {
  display: block;
  object-fit: cover;
  background: #edf1f5;
}

.upload-review-file-icon {
  display: grid;
  place-items: center;
  color: #173154;
  background: #f3eee6;
}

.upload-review-file-icon [data-lucide] {
  width: 24px;
  height: 24px;
}

.upload-review-file-copy strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-review-item-actions {
  display: flex;
  gap: 5px;
}

.upload-review-item-actions button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d9dee5;
  border-radius: 7px;
  color: #173154;
  background: #fff;
  cursor: pointer;
}

.upload-review-item-actions button:hover:not(:disabled) {
  border-color: #b6905f;
  background: #faf6ef;
}

.upload-review-item-actions button.is-remove {
  color: #b33232;
}

.upload-review-item-actions button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.upload-review-item-actions [data-lucide] {
  width: 17px;
  height: 17px;
}

.upload-review-help {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: -4px 0 0;
  color: #647084;
}

.upload-review-help [data-lucide] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #14965c;
}

.upload-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.upload-review-actions button {
  min-height: 46px;
}

@media (max-width: 620px) {
  html body dialog.upload-review-dialog {
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .upload-review-shell {
    gap: 14px;
    padding: 22px 16px 16px !important;
    border-radius: 14px !important;
  }

  .upload-review-head {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    padding-right: 36px;
  }

  .upload-review-head .dialog-mascot-card {
    display: none;
  }

  .upload-review-head h2 {
    font-size: 24px !important;
  }

  .upload-review-head p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .upload-review-list {
    max-height: 42dvh;
  }

  .upload-review-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .upload-review-thumbnail,
  .upload-review-file-icon {
    width: 46px;
    height: 46px;
  }

  .upload-review-item-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .upload-review-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .upload-review-actions button {
    width: 100%;
    justify-content: center;
  }
}

.rent-check-shell {
  position: relative;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr) 286px;
  height: min(880px, calc(100dvh - 32px));
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 82% 12%, rgba(211, 196, 177, 0.24), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf8 54%, #f5f7fa 100%);
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.rent-check-dialog .close-dialog {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(197, 165, 99, 0.35);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(23, 35, 60, 0.12);
}

.rent-check-embed {
  display: none;
}

.rent-check-dialog.is-external-app .rent-check-shell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: min(760px, calc(100dvh - 40px));
  overflow: hidden;
  background: #fff;
}

.rent-check-dialog.is-external-app .rent-check-side,
.rent-check-dialog.is-external-app .rent-check-main,
.rent-check-dialog.is-external-app .rent-check-summary {
  display: none;
}

.rent-check-dialog.is-external-app .rent-check-embed {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  background: #fff;
}

.rent-check-embed-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 18px 78px 16px 24px;
  border-bottom: 1px solid rgba(211, 196, 177, 0.42);
  background: linear-gradient(135deg, #fffaf2 0%, #ffffff 100%);
}

.rent-check-embed-bar > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rent-check-embed-bar strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.rent-check-embed-bar small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.rent-check-embed-bar .outline-button {
  flex: 0 0 auto;
  min-height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
}

.rent-check-app-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

.rent-check-side {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 0;
  max-height: min(880px, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 30px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #061c36;
  color: #fff;
}

.rent-check-logo {
  width: 142px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.rent-check-side-title {
  display: grid;
  gap: 5px;
}

.rent-check-side-title span,
.rent-check-side-title strong {
  color: #fff;
}

.rent-check-side-title span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rent-check-side-title strong {
  font-size: 22px;
  line-height: 1.2;
}

.rent-check-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rent-check-step-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.rent-check-step-list li > span,
.rent-check-step-list li > [data-lucide] {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
}

.rent-check-step-list li strong {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
}

.rent-check-step-list li.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rent-check-step-list li.is-active > span,
.rent-check-step-list li.is-active > [data-lucide] {
  background: #d3c4b1;
  color: #061c36;
}

.rent-check-step-list li.is-complete {
  color: #dff8eb;
}

.rent-check-step-list li.is-complete > span,
.rent-check-step-list li.is-complete > [data-lucide] {
  background: var(--green);
  color: #fff;
}

.rent-check-help-card {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.rent-check-help-card [data-lucide] {
  color: #d3c4b1;
}

.rent-check-help-card strong {
  color: #fff;
  font-size: 16px;
}

.rent-check-help-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.rent-check-main {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  padding: 34px;
  overflow: visible;
}

.rent-check-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(211, 196, 177, 0.48);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(23, 35, 60, 0.08);
}

.rent-check-head h2 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.rent-check-head p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.rent-check-mascot {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 12px 12px 8px;
  border: 1px solid rgba(211, 196, 177, 0.42);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #f6f1ea);
}

.rent-check-mascot img {
  width: 150px;
  height: 118px;
  object-fit: cover;
  object-position: top center;
}

.rent-check-mascot figcaption {
  margin-top: -4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #061c36;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.rent-check-progress {
  display: grid;
  gap: 8px;
}

.rent-check-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 15px;
}

.rent-check-progress > div span {
  color: var(--gold);
  font-weight: 900;
}

.rent-check-progress > span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #ece3d7;
  overflow: hidden;
}

.rent-check-progress > span em {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width 180ms ease;
}

.rent-check-dot-stepper {
  --rent-check-dot-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: 0 4px;
}

.rent-check-dot-stepper::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 var(--rent-check-dot-progress), #e7ded0 var(--rent-check-dot-progress) 100%);
}

.rent-check-dot-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.rent-check-dot-step > span,
.rent-check-dot-step > [data-lucide] {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #eee6da;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(23, 35, 60, 0.1);
}

.rent-check-dot-step.is-complete > span,
.rent-check-dot-step.is-complete > [data-lucide] {
  background: var(--green);
  color: #fff;
}

.rent-check-dot-step.is-active > span,
.rent-check-dot-step.is-active > [data-lucide] {
  background: #061c36;
  color: #fff;
}

.rent-check-card {
  display: grid;
  gap: 22px;
  min-height: 500px;
  padding: 34px;
  border: 1px solid rgba(211, 196, 177, 0.42);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 35, 60, 0.08);
}

.rent-check-question {
  display: grid;
  gap: 10px;
}

.rent-check-step-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6b072, var(--gold));
  color: #fff;
}

.rent-check-question h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(29px, 2.3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

.rent-check-question p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.rent-check-option-grid:not(.is-two) {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rent-check-option,
.rent-check-feature-groups .rent-check-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px;
  border: 1.5px solid #e5ded4;
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.rent-check-option::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #d5cab8;
  border-radius: 999px;
}

.rent-check-option:hover,
.rent-check-option.is-selected {
  border-color: #061c36;
  background: #fffaf2;
  box-shadow: inset 0 0 0 1px #061c36, 0 14px 30px rgba(23, 35, 60, 0.10);
}

.rent-check-option.is-selected::after {
  border-color: #061c36;
  background: #061c36;
  box-shadow: inset 0 0 0 6px #fff;
}

.rent-check-option:hover {
  transform: translateY(-1px);
}

.rent-check-option > [data-lucide] {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: #f7f0e5;
  color: var(--gold);
}

.rent-check-option.is-selected > [data-lucide] {
  background: #061c36;
  color: #fff;
}

.rent-check-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.rent-check-option strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.25;
}

.rent-check-option small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

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

.rent-check-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.rent-check-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 14px;
  border: 1.5px solid #e5ded4;
  border-radius: 14px;
  background: #fff;
}

.rent-check-field input,
.rent-check-field select {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border: 1.5px solid #e5ded4;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font: 800 16px/1.35 "Plus Jakarta Sans", Arial, sans-serif;
}

.rent-check-input-wrap input {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
}

.rent-check-input-wrap span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.rent-check-checkline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.rent-check-checkline input {
  width: 20px;
  height: 20px;
  accent-color: #061c36;
}

.rent-check-note,
.rent-check-lookup-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #eedfca;
  border-radius: 14px;
  background: #fff7ec;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
}

.rent-check-note.is-success {
  border-color: #c9eed9;
  background: #effaf4;
  color: #146b3a;
}

.rent-check-note [data-lucide],
.rent-check-lookup-card [data-lucide] {
  color: var(--gold);
}

.rent-check-note.is-success [data-lucide] {
  color: var(--green);
}

.rent-check-lookup-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
}

.rent-check-lookup-card span {
  grid-column: 1 / -1;
}

.rent-check-energy-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #d6eadf;
  border-radius: 18px;
  background: #f0fbf5;
}

.rent-check-energy-card > span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #16864b, #38b971);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.rent-check-energy-card strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.rent-check-energy-card small {
  color: var(--muted);
  font-size: 15px;
}

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

.rent-check-feature-groups section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(211, 196, 177, 0.42);
  border-radius: 18px;
  background: #fbfaf8;
}

.rent-check-feature-groups h4 {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 17px;
}

.rent-check-feature-groups .rent-check-option {
  min-height: 64px;
  padding: 12px;
  border-radius: 14px;
}

.rent-check-result-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.rent-check-result-mascot {
  margin: 0;
}

.rent-check-result-mascot img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.rent-check-result-copy h3 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.12;
}

.rent-check-result-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.rent-check-result-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rent-check-result-cards article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e3ecdf;
  border-radius: 16px;
  background: linear-gradient(135deg, #eefaf3, #fffaf2);
}

.rent-check-result-cards span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rent-check-result-cards strong {
  color: #12834b;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.05;
}

.rent-check-result-cards small {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.4;
}

.rent-check-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  background: #fbfcfe;
}

.rent-check-summary-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
}

.rent-check-summary-list [data-lucide] {
  color: var(--green);
}

.rent-check-result-actions,
.rent-check-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rent-check-actions .primary-button,
.rent-check-actions .outline-button,
.rent-check-result-actions .outline-button {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 900;
}

.rent-check-actions .primary-button {
  margin-left: auto;
  background: #061c36;
  color: #fff;
}

.rent-check-summary {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  max-height: min(880px, calc(100dvh - 32px));
  overflow-y: auto;
  padding: 34px 24px;
  border-left: 1px solid rgba(211, 196, 177, 0.28);
  background: rgba(255, 255, 255, 0.58);
}

.rent-check-circle {
  --rent-check-progress: 13%;
  display: grid;
  place-items: center;
  align-content: center;
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff 58%, transparent 59%),
    conic-gradient(var(--green) var(--rent-check-progress), #ece3d7 0);
  box-shadow: inset 0 0 0 10px #f8f6f1;
}

.rent-check-circle strong {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.rent-check-circle span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rent-check-mini-result,
.rent-check-contact {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(211, 196, 177, 0.42);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 35, 60, 0.06);
}

.rent-check-mini-result span,
.rent-check-contact span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rent-check-mini-result strong,
.rent-check-contact strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.rent-check-mini-result small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.rent-check-contact .outline-button {
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 14px;
  background: #f3eadc;
}

@media (max-width: 1120px) {
  .rent-check-shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  .rent-check-summary {
    display: none;
  }

  .rent-check-head {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}

@media (max-width: 820px) {
  html body dialog.rent-check-dialog {
    inset: 8px;
    width: auto;
    max-width: none;
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .rent-check-dialog.is-external-app {
    overflow: hidden;
  }

  .rent-check-dialog.is-external-app .rent-check-shell {
    height: calc(100dvh - 16px);
    min-height: 0;
    overflow: hidden;
  }

  .rent-check-embed-bar {
    display: grid;
    gap: 8px;
    padding: 14px 62px 12px 16px;
  }

  .rent-check-embed-bar strong {
    font-size: 16px;
  }

  .rent-check-embed-bar small {
    font-size: 13px;
  }

  .rent-check-embed-bar .outline-button {
    display: none;
  }

  .rent-check-app-frame {
    min-height: 0;
  }

  .rent-check-shell {
    display: block;
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  .rent-check-side,
  .rent-check-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .rent-check-side {
    display: none;
  }

  .rent-check-main {
    padding: 18px;
    overflow: visible;
  }

  .rent-check-head {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 22px 16px;
    text-align: center;
  }

  .rent-check-head h2 {
    font-size: 31px;
  }

  .rent-check-head p,
  .rent-check-question p,
  .rent-check-result-copy p {
    font-size: 16px;
  }

  .rent-check-mascot {
    width: min(250px, 100%);
  }

  .rent-check-card {
    padding: 20px;
    border-radius: 18px;
    min-height: 0;
  }

  .rent-check-question {
    justify-items: center;
    text-align: center;
  }

  .rent-check-question h3 {
    font-size: 27px;
  }

  .rent-check-option-grid,
  .rent-check-option-grid.is-two,
  .rent-check-form-grid,
  .rent-check-feature-groups,
  .rent-check-result-cards,
  .rent-check-summary-list,
  .rent-check-result-grid {
    grid-template-columns: 1fr;
  }

  .rent-check-option,
  .rent-check-feature-groups .rent-check-option {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    min-height: 72px;
  }

  .rent-check-result-grid {
    justify-items: center;
    text-align: center;
  }

  .rent-check-result-mascot img {
    width: 160px;
    height: 160px;
  }

  .rent-check-actions,
  .rent-check-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rent-check-actions .primary-button,
  .rent-check-actions .outline-button,
  .rent-check-result-actions .outline-button {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .dashboard-rent-check-head {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .dashboard-rent-check-head img {
    order: -1;
    width: 92px;
    justify-self: center;
  }

  .dashboard-rent-check-frame-shell {
    margin-inline: -8px;
  }

  .dashboard-rent-check-frame {
    height: calc(100svh - 150px);
    min-height: 560px;
    max-height: none;
  }

  .rent-check-page-card {
    min-height: 0;
    padding: 14px;
  }

  .rent-check-page-card .dashboard-rent-check-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rent-check-page-card .dashboard-rent-check-head h2 {
    font-size: 26px;
  }

  .rent-check-page-card .dashboard-rent-check-head p {
    font-size: 15px;
  }

  .rent-check-page-card .dashboard-rent-check-head img {
    order: -1;
    width: 104px;
    justify-self: center;
  }

  .rent-check-page-card .dashboard-rent-check-frame-shell {
    margin-inline: -8px;
  }

  .rent-check-page-card .dashboard-rent-check-frame {
    min-height: 640px;
    height: calc(100svh - 96px);
  }
}
