/* Companies Portfolio: visual identity of the June/2026 prototype (values copied from its inline styles). */
:root {
  --navy: #141b34;
  --navy-2: #1c2748;
  --lime: #cbe82b;
  --accent: #9db400;
  --bg: #f7f8fa;
  --white: #fff;
  --line: #e8eaee;
  --line-soft: #eef0f5;
  --line-faint: #f2f4f7;
  --text: #141b34;
  --text-body: #333c4f;
  --text-2: #4b5563;
  --muted: #8a8f9c;
  --muted-light: #b0b4c0;
  --on-navy: #c7cbe0;
  --on-navy-muted: #9aa0b8;
  --bar-empty: #e5e7eb;
  --shadow-card: 0 2px 8px rgba(20, 27, 52, 0.06);
  --shadow-card-hover: 0 16px 32px rgba(20, 27, 52, 0.14);
  --font-display: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-card: 16px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); font-family: var(--font-body); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
input::placeholder, textarea::placeholder { color: #a8adb8; }
button { font-family: var(--font-body); }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(203, 232, 43, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(203, 232, 43, 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page { font-family: var(--font-body); background: var(--bg); min-height: 100vh; color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---------- buttons ---------- */
.btn { border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; padding: 10px 16px; border: 1.5px solid transparent; }
.btn-lime { background: var(--lime); color: var(--navy); border: none; font-weight: 800; }
.btn-lime:hover { background: var(--accent); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text-2); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-navy-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 13px 20px; font-size: 14px; }
.btn-xl { padding: 15px 20px; font-size: 15px; }
.btn-ghost-light { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; padding: 9px 16px; font-size: 13px; font-weight: 600; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }
.btn-link { background: transparent; border: none; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.btn-link:hover { color: var(--navy); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.cta-card .btn-contact-sent:disabled { background: #64748b; border-color: #64748b; color: #fff; opacity: 1; cursor: default; }

/* ---------- public top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 28px; min-height: 88px; padding: 10px 32px; }
.topbar-program { display: block; flex: none; }
.topbar-program img { display: block; height: 50px; width: auto; }
.topbar-partners { display: flex; align-items: center; gap: 22px; padding-left: 28px; border-left: 1px solid var(--line); min-height: 44px; min-width: 0; }
.topbar-partners span { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.topbar-partners img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.topbar-partners .topbar-apex { height: 28px; }
.topbar-partners .topbar-abiquifi { height: 23px; }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.topbar-company-cta { white-space: nowrap; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang-switch button { border: none; background: #fff; color: var(--muted); font-weight: 800; font-size: 12px; padding: 9px 11px; cursor: pointer; letter-spacing: 0.4px; }
.lang-switch button { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch svg { display: block; flex: none; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20,27,52,.12); }
.lang-switch button[aria-pressed='true'] { background: var(--navy); color: #fff; }
.lang-switch.on-dark { border-color: rgba(255, 255, 255, 0.2); }
.lang-switch.on-dark button { background: transparent; color: var(--on-navy); }
.lang-switch.on-dark button[aria-pressed='true'] { background: var(--lime); color: var(--navy); }

.investor-account { max-width: 1080px; }
.investor-account-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 20px; }
.investor-account-card h2 { font-size: 20px; margin: 0 0 16px; }
.investor-account-card p { color: var(--muted); }
.investor-account-list { display: grid; gap: 10px; }
.investor-account-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line-soft); padding: 14px 0; }
.investor-account-row a { display: grid; gap: 5px; color: var(--navy); text-decoration: none; }
.investor-account-row a:hover { text-decoration: underline; }
.investor-account-row small { color: var(--muted); font-size: 12px; }
.investor-account-progress { display: grid; gap: 5px; text-align: right; }
.investor-account-progress span { font-weight: 800; color: var(--accent); }
.investor-account-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.investor-account-form label { display: grid; gap: 7px; color: var(--text-2); font-size: 13px; font-weight: 700; }
.investor-account-form .btn { justify-self: start; }
.investor-account-message { padding: 10px 14px; background: var(--line-soft); border-radius: 8px; }
@media (max-width: 700px) { .investor-account-form { grid-template-columns: 1fr; } .investor-account-row { align-items: flex-start; flex-direction: column; } .investor-account-progress { text-align: left; } }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: #141a3b; padding: 72px 32px 150px; color: #fff; }
@media (min-width: 901px) {
  .hero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: min(66%, 960px); background-image: linear-gradient(rgba(20, 26, 59, .42), rgba(20, 26, 59, .42)), url('../../assets/img/brasil-conectado.webp'); background-position: center right; background-size: contain; background-repeat: no-repeat; opacity: .34; pointer-events: none; }
}
.deco-ring { position: absolute; border-radius: 50%; }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.hero-company-action { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 42px; }
.hero-company-action span { color: var(--on-navy); font-size: 13px; }
.hero-company-signup { display: inline-flex; align-items: center; }
.hero-company-signup:hover { color: var(--navy); }
.company-signup-form .input.invalid { border-color: #c93c2d; background: #fff7f5; }
.company-signup-form .input.valid { border-color: #228754; }
.hero-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; margin: 0 0 24px; max-width: 15.5em; letter-spacing: -.015em; text-wrap: balance; }
.hero p { font-size: 18.5px; color: var(--on-navy); max-width: 38em; line-height: 1.65; margin: 0 0 28px; text-wrap: pretty; }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; }
.hero-stats > div { padding: 0 40px; border-left: 1px solid #2c356a; }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stat-value { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--lime); }
.hero-stat-label { font-size: 14.5px; color: var(--on-navy); margin-top: 8px; }

.search-wrap { max-width: 1200px; margin: -96px auto 0; padding: 0 32px; position: relative; z-index: 10; }
.discovery-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.search-card { background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(20, 27, 52, 0.14); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.home-documents { background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(20,27,52,.14); padding: 24px; }
.home-documents-head { display: flex; align-items: center; gap: 10px; }
.home-documents-head h2 { font-family: var(--font-heading); font-size: 18px; margin: 0; }
.home-documents-icon { background: var(--navy); color: #fff; border-radius: 6px; padding: 7px 5px; font-size: 10px; font-weight: 800; letter-spacing: .3px; }
.home-documents > p { color: var(--text-2); font-size: 13px; line-height: 1.5; margin: 12px 0 16px; }
.home-document-list { display: flex; flex-direction: column; gap: 8px; }
.home-document { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; width: 100%; padding: 12px; display: flex; flex-direction: column; gap: 5px; text-align: left; cursor: pointer; }
.home-document:hover { border-color: var(--navy); }
.home-document-name { color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.4; }
.home-document-view { color: var(--accent); font-size: 12px; font-weight: 800; }
.home-documents-empty { color: var(--muted) !important; }
.doc-modal-backdrop { position: fixed; inset: 0; z-index: 120; background: rgba(20,27,52,.74); display: flex; align-items: center; justify-content: center; padding: 20px; }
.doc-modal { display: flex; flex-direction: column; width: min(1040px, 100%); height: min(900px, 100%); background: #fff; border-radius: 14px; overflow: hidden; }
.doc-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; }
.doc-modal-head strong { font-size: 14px; line-height: 1.4; }
.doc-modal-head > div { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; }
.doc-modal .modal-close { position: static; }
.doc-modal iframe { border: 0; width: 100%; flex: 1; min-height: 0; }
.input { width: 100%; padding: 14px 18px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 15px; font-family: var(--font-body); outline: none; color: var(--text); background: #fff; }
.input:focus { border-color: var(--navy); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; color: var(--text-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.chip[aria-pressed='true'] { border: 1.5px solid var(--navy); background: var(--navy); color: #fff; font-weight: 700; }

.section { max-width: 1200px; margin: 0 auto; padding: 48px 32px 88px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.h2 { font-family: var(--font-display); font-size: 26px; margin: 0; letter-spacing: -0.5px; }
.section-note { font-size: 13px; color: var(--muted); }

/* ---------- directory cards ---------- */
.grid-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); color: inherit; }
.card.featured { border-radius: 18px; box-shadow: 0 2px 10px rgba(20, 27, 52, 0.07); }
.card.featured:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(20, 27, 52, 0.16); }
.card-cover { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 22px; overflow: hidden; background-size: cover; background-position: center; background-color: #2b3a63; }
.card.featured .card-cover { aspect-ratio: 20 / 9; }
.logo-plate { position: relative; z-index: 2; background: #fff; border-radius: 14px; padding: 14px 22px; box-shadow: 0 10px 26px rgba(20, 27, 52, .32); display: flex; align-items: center; justify-content: center; max-width: 86%; }
.logo-plate img { max-height: 96px; max-width: 82%; width: auto; object-fit: contain; display: block; }
.logo-plate.plain { background: rgba(20, 27, 52, .46); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(3px); box-shadow: none; padding: 16px 24px; }
.card.featured .logo-plate { border-radius: 16px; padding: 20px 30px; max-width: 88%; box-shadow: 0 14px 32px rgba(20, 27, 52, .34); }
.card.featured .logo-plate.plain { box-shadow: none; }
.card.featured .logo-plate img { max-height: 120px; max-width: 78%; }
.wordmark { font-family: var(--font-display); font-size: 28px; line-height: 1.05; color: #fff; text-align: center; letter-spacing: -0.5px; }
.card.featured .wordmark { font-size: 34px; letter-spacing: -1px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card.featured .card-body { padding: 24px; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title { font-family: var(--font-heading); font-weight: 800; font-size: 19px; }
.card.featured .card-title { font-size: 22px; }
.pill { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-2); background: var(--line-soft); padding: 5px 9px; border-radius: 20px; white-space: nowrap; }
.eyebrow-accent { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); }
.card-subtitle { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-desc { font-size: 14px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-stage { display: flex; gap: 4px; margin-bottom: 6px; }
.card-stage span { flex: 1; height: 6px; border-radius: 3px; background: var(--bar-empty); }
.card-stage span.on { background: var(--accent); }
.card-stage-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-soft); gap: 10px; margin-top: auto; }
.card-metric { font-size: 14px; font-weight: 800; }
.card-more { font-size: 13px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--text); margin-bottom: 8px; }

/* ---------- profile ---------- */
.profile-hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy); }
.profile-hero-cover { position: absolute; z-index: 0; inset: 0; background-size: cover; background-position: center; filter: grayscale(.3) saturate(.7); }
.profile-hero::before { content: ''; position: absolute; z-index: 1; inset: 0; background: rgba(20, 26, 59, .9); }
.profile-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 28px 20px 120px; color: #fff; }
.profile-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-hero-row { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.hero-plate { flex: 0 0 auto; width: 168px; height: 168px; border-radius: 22px; background: #fff; border: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hero-plate img { max-height: 130px; max-width: 100%; width: auto; object-fit: contain; display: block; }
.hero-plate.plain { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.hero-plate .wordmark { color: var(--accent); font-size: 34px; letter-spacing: -1px; }
.hero-chip { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--navy); background: var(--lime); padding: 7px 14px; border-radius: 20px; }
.profile-hero h1 { font-family: var(--font-heading); font-size: clamp(40px, 6vw, 64px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -1px; }
.profile-hero .subtitle { font-size: 16px; color: var(--on-navy); margin: 0; max-width: 620px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--on-navy); align-items: center; }
.hero-meta a { color: var(--lime); font-weight: 700; }
.hero-meta .meta-chip { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; background: rgba(255, 255, 255, 0.12); color: #fff; padding: 5px 10px; border-radius: 20px; }
.profile-hero-about { margin-top: 44px; }
.profile-hero-about .eyebrow { color: var(--lime); }
.profile-hero-about p { color: #fff; font-family: var(--font-heading); font-size: clamp(18px, 2vw, 23px); font-weight: 600; line-height: 1.4; max-width: 720px; margin: 0; }
.profile-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-hero-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; padding: 8px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.profile-facts { position: relative; z-index: 3; max-width: 1180px; padding: 0 20px; margin: -76px auto 0; }
.profile-facts-inner { background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(20,26,59,.12), 0 2px 6px rgba(20,26,59,.06); display: grid; overflow: hidden; }
.profile-fact { min-width: 0; padding: 24px 26px; border-left: 1px solid var(--line); }
.profile-fact:first-child { border-left: 0; }
.profile-fact-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.profile-fact-value { color: var(--navy); font-family: var(--font-heading); font-size: 19px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.profile-fact-value strong { font-size: 36px; margin-right: 10px; }
.profile-fact-value small { font-size: 15px; color: var(--muted); margin-left: 4px; }
a.profile-fact-value { display: inline-block; border-bottom: 2px solid var(--lime); }
.profile-fact .hero-stage { margin-top: 14px; max-width: none; }
.profile-fact .hero-stage-steps { gap: 6px; }
.profile-fact .hero-stage .stage-bar { height: 8px; background: #e6e8ef; }
.profile-fact .hero-stage .stage-bar.done, .profile-fact .hero-stage .stage-bar.current { height: 8px; background: var(--lime); animation: none; }
.profile-fact .hero-stage .stage-label, .profile-fact .hero-stage .stage-label.current { color: var(--muted); font-size: 9px; }
.profile-fact .hero-stage .stage-label.current { color: var(--navy); }
.profile-fact .hero-trl { display: none; }

.profile-body { max-width: 1180px; margin: 0 auto; padding: 56px 20px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; row-gap: 56px;
  grid-template-areas: 'main side' 'gal gal' 'foot foot'; align-items: start; }
.project-selector-wrap { width: 100%; }
.profile-cta-mobile { display: none; }
.profile-main { grid-area: main; display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.profile-side { grid-area: side; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#gallery { grid-area: gal; }
.profile-footer { grid-area: foot; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.profile-product { background: #141a3b; color: #c9cde0; border-radius: 24px; padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; overflow: hidden; }
.profile-product h2 { color: #fff; font-family: var(--font-heading); font-size: clamp(32px, 4vw, 46px); line-height: 1.05; margin: 0; }
.profile-product p { color: #c9cde0; font-size: 18px; line-height: 1.6; margin: 14px 0 0; white-space: pre-line; }
.profile-product-photo { min-height: 170px; border-radius: 16px; background-size: cover; background-position: center; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); margin-bottom: 8px; }
.block-title { font-family: var(--font-heading); font-weight: 800; font-size: 21px; margin-bottom: 10px; }
.prose { font-size: 15px; color: var(--text-2); line-height: 1.7; margin: 0; text-wrap: pretty; white-space: pre-line; }
.prose.lead { font-size: 16px; color: var(--text-body); }
.panel { background: #fff; border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-card); }
.side-card { background: #fff; border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); }
.side-card.profile-updated { background: var(--line-soft); box-shadow: none; }
.side-label { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.5px; }
.side-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin: 0; }
.cta-card { background: var(--navy); border-radius: var(--radius-card); padding: 28px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.cta-card .cta-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--lime); }
.cta-card .cta-value { font-family: var(--font-display); font-size: 26px; }
.cta-card .cta-text { font-size: 14px; color: var(--on-navy); line-height: 1.6; margin: 0; }
.cta-note { font-size: 12.5px; color: var(--lime); font-weight: 700; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; color: var(--navy); background: var(--line-soft); padding: 5px 10px; border-radius: 20px; }
.tag.on-navy { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tag.cert { background: var(--navy); color: #fff; font-weight: 700; }
.list { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; color: var(--text-2); margin-top: 6px; }
.kv dt { font-weight: 700; color: var(--text); }
.kv dd { margin: 0; }
.footnote { font-size: 12px; color: var(--muted-light); font-style: italic; }

/* timeline */
.timeline-row { display: flex; gap: 16px; }
.timeline-rail { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; background: #fff; border: 2px solid #cfd4de; }
.timeline-dot.completed { background: var(--navy); border: none; }
.timeline-dot.in_progress { background: var(--lime); border: none; animation: pulseDot 2s infinite; }
.timeline-line { width: 2px; flex: 1; background: var(--bar-empty); }
.timeline-row:last-child .timeline-line { background: transparent; }
.timeline-content { padding-bottom: 22px; flex: 1; }
.timeline-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.timeline-date { font-size: 13px; font-weight: 800; }
.status-chip { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; padding: 4px 8px; border-radius: 20px; background: var(--line-soft); color: var(--muted); }
.status-chip.completed { background: var(--navy); color: #fff; }
.status-chip.in_progress { background: var(--lime); color: var(--navy); }
.timeline-text { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* stage bars */
.stage { display: flex; gap: 8px; }
.stage-step { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.stage-bar { height: 10px; border-radius: 7px; background: var(--bar-empty); }
.stage-bar.done { background: var(--navy); }
.stage-bar.current { height: 14px; background: var(--accent); animation: pulseDot 2.4s infinite; }
.stage-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
.stage-label.current { font-weight: 800; color: var(--navy); }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 14px; }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; background-color: #20294b; background-size: contain; background-repeat: no-repeat; background-position: center; cursor: zoom-in; border: none; text-align: left; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 28, 0) 45%, rgba(10, 14, 28, .85) 100%); }
.gallery-item span { position: relative; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 28, 0.9); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 48px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: 14px; font-weight: 600; }

/* ---------- login (split screen) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.split-brand { position: relative; overflow: hidden; background: #141a3b; color: #fff; padding: 56px max(48px, 6vw); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 100vh; }
.split-brand-top, .split-brand-message { position: relative; }
.invitation-brand::before { content: ''; position: absolute; width: 620px; height: 620px; right: -180px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(207,234,45,.2); border-radius: 50%; pointer-events: none; }
.split-brand-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.split-brand .split-program-logo { display: block; height: 56px; max-width: min(100%, 290px); width: auto; object-fit: contain; }
.split-brand h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.5px; }
.split-brand p { font-size: 17px; color: var(--on-navy); max-width: 30em; line-height: 1.6; margin: 0; }
.split-partners { margin-top: 40px; padding-top: 24px; border-top: 1px solid #2c356a; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.split-partners > span { color: #9aa0be; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.split-partners > div { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.split-partners img { display: block; width: auto; max-width: 100%; height: 24px; object-fit: contain; }
.split-partners img:last-child { height: 20px; }
.split-form { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 56px 40px; background: var(--bg); }
.split-form-inner { width: 100%; max-width: 380px; }
.kicker { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }
.form-title { font-family: var(--font-heading); font-weight: 800; font-size: 28px; margin: 0 0 8px; }
.form-subtitle { font-size: 14px; color: var(--muted); margin: 0 0 28px; line-height: 1.6; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.field-label { font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; display: block; }
.input-sm { padding: 13px 16px; }
.form-error { font-size: 13px; color: #b42318; font-weight: 600; }

/* ---------- logged-in app shell ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 264px; flex-shrink: 0; background: #141a3b; color: #fff; padding: 28px 18px 20px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.sidebar-program-logo { height: 42px; margin-left: 6px; }
.sidebar-workspace { margin-top: 26px; background: #1b224a; border: 1px solid #2c356a; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.sidebar-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; flex: none; }
.sidebar-role { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #9aa0be; margin-bottom: 4px; }
.sidebar-user { font-size: 14.5px; font-weight: 700; color: #fff; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a, .nav button { display: flex; align-items: center; text-align: left; padding: 11px 12px; border-radius: 10px; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; background: transparent; color: var(--on-navy); text-decoration: none; }
.nav a:hover, .nav button:hover { background: #1b224a; color: #fff; }
.nav a[aria-current='page'] { font-weight: 700; background: var(--lime); color: var(--navy); }
.nav a .nav-badge { margin-left: auto; }
.nav a[aria-current='page'] .nav-badge { background: var(--navy); color: var(--lime); }
.sidebar-foot { margin-top: auto; display: grid; gap: 14px; }
.sidebar-partners { padding: 16px 6px 2px; border-top: 1px solid #2c356a; }
.sidebar-partners > span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9aa0be; margin-bottom: 12px; }
.sidebar-partners > div { display: flex; align-items: center; gap: 18px; }
.sidebar-partners img { height: 19px; }
.sidebar-partners img:last-child { height: 16px; }
.sidebar-logout { margin-top: auto; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-navy); padding: 11px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.sidebar-logout:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.shell-main { flex: 1; min-width: 0; background: var(--bg); padding: 32px 36px 64px; }
.page-title { font-family: var(--font-display); font-size: 28px; margin: 0 0 4px; letter-spacing: -0.5px; }
.page-subtitle { font-size: 13px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .topbar { padding: 12px 16px; }
  .topbar-tagline, .topbar-divider { display: none; }
  .hero { padding: 48px 16px 96px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: 28px; }
  .search-wrap, .section, .container { padding-left: 16px; padding-right: 16px; }
  .profile-hero-inner, .profile-body { padding-left: 16px; padding-right: 16px; }
  .discovery-layout { grid-template-columns: 1fr; }
  .doc-modal-head { align-items: flex-start; }
  .doc-modal-head .btn { display: none; }
  .profile-hero h1 { font-size: 32px; }
  .hero-plate { width: 100%; max-width: 300px; height: 160px; }
  .profile-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'main' 'cta' 'side' 'gal' 'foot'; row-gap: 32px; }
  .profile-cta-mobile { display: block; grid-area: cta; }
  .profile-cta-desktop { display: none; }
  .profile-side { position: static; }
  .leader-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shell { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .shell-main { padding: 24px 16px 48px; }
}

@media (max-width: 960px) {
  .profile-facts-inner { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .profile-fact:nth-child(odd) { border-left: 0; }
  .profile-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profile-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'main' 'side' 'gal' 'foot'; }
  .profile-side { position: static; }
}
@media (max-width: 760px) {
  .profile-hero-inner { padding: 20px 20px 100px; }
  .profile-hero-row { margin-top: 32px; }
  .hero-plate { width: 112px; height: 112px; border-radius: 16px; }
  .profile-hero h1 { font-size: 40px; }
  .profile-facts { margin-top: -64px; }
  .profile-facts-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .profile-fact { border-left: 0; border-top: 1px solid var(--line); }
  .profile-fact:first-child { border-top: 0; }
  .profile-body { grid-template-areas: 'main' 'cta' 'side' 'gal' 'foot'; }
  .profile-product { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .profile-product-photo { min-height: 190px; }
}

/* read more */
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.see-more { background: none; border: none; padding: 0; margin-top: 6px; color: var(--accent); font-weight: 700; font-size: 13px; cursor: pointer; }
.see-more:hover { color: var(--navy); }
.profile-hero .see-more, .profile-product .see-more, .cta-card .see-more { color: var(--lime); }

/* profile pieces */
.sub { margin-top: 12px; }
.sub:first-of-type { margin-top: 0; }
.sub-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.sub-title.strong { font-family: var(--font-heading); font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.prose.small { font-size: 13px; margin-top: 10px; }
.strong-line { font-weight: 700; color: var(--text); margin-top: 10px; }
.panel.highlight { border-left: 4px solid var(--lime); }
.interest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.interest { background: var(--bg); border-radius: 12px; padding: 16px; }
.hero-stage { margin-top: 22px; display: flex; gap: 22px; align-items: flex-end; max-width: 640px; }
.hero-stage-steps { flex: 1; display: flex; gap: 8px; }
.hero-stage .stage-bar { background: rgba(255, 255, 255, 0.16); }
.hero-stage .stage-bar.done { background: #fff; }
.hero-stage .stage-bar.current { background: var(--lime); }
.hero-stage .stage-label { color: var(--on-navy-muted); font-size: 10.5px; }
.hero-stage .stage-label.current { color: #fff; }
.hero-trl { display: flex; align-items: baseline; gap: 4px; color: var(--on-navy); font-size: 11px; font-weight: 800; letter-spacing: 0.6px; }
.hero-trl strong { font-family: var(--font-display); font-size: 30px; color: var(--lime); font-weight: 400; }
.hero-trl small { font-size: 12px; }
.project-selector { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.project-tab { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body); color: var(--text); }
.project-tab:hover { border-color: var(--navy); }
.project-tab.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.project-tab-type { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); }
.project-tab.on .project-tab-type { color: var(--lime); }
.project-tab-title { font-family: var(--font-heading); font-weight: 800; font-size: 14px; line-height: 1.3; }
.project-tab-summary { font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.project-tab.on .project-tab-summary { color: var(--on-navy); }
.cta-title { font-family: var(--font-display); font-size: 22px; }
.cta-section { display: flex; flex-direction: column; gap: 8px; }
.cta-rounds { display: flex; flex-direction: column; gap: 12px; }
.cta-round { border-left: 2px solid rgba(203, 232, 43, 0.5); padding-left: 12px; }
.cta-round .cta-value { font-size: 22px; }
.cta-round-meta { font-size: 12px; font-weight: 700; color: var(--lime); margin-top: 2px; }
.cta-card .cta-text { font-size: 13.5px; color: var(--on-navy); line-height: 1.55; margin: 4px 0 0; }
.raised-total { font-family: var(--font-heading); font-weight: 900; font-size: 24px; margin-bottom: 10px; }
.raised-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.raised-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line-soft); padding-bottom: 6px; }
.raised-list strong { color: var(--text); white-space: nowrap; }
.raised-revenue { margin-top: 12px !important; font-weight: 700; color: var(--text) !important; }
.full-block .block-title { margin-bottom: 16px; }
.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.leader { background: #fff; border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card); display: flex; gap: 14px; align-items: flex-start; }
.leader-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--lime); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.leader-name { font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.leader-role { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.4px; margin: 2px 0 6px; }
.leader-exp { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.public-footer { width: 100%; background: #fff; border-top: 1px solid var(--line); }
.public-footer-inner { max-width: 1200px; margin: 0 auto; padding: 56px 32px; display: flex; justify-content: center; }
.public-footer img { display: block; width: min(920px, 100%); height: auto; }
@media (max-width: 860px) {
  .topbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; min-height: 0; padding: 12px 20px; }
  .topbar-program { grid-column: 1; grid-row: 1; }
  .topbar-program img { height: 38px; }
  .topbar-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .topbar-partners { grid-column: 1 / -1; grid-row: 2; border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; min-height: 0; gap: 18px; }
  .topbar-partners .topbar-apex { height: 21px; }
  .topbar-partners .topbar-abiquifi { height: 18px; }
  .split { grid-template-columns: 1fr; }
  .split-brand { min-height: 0; padding: 28px 24px; gap: 28px; }
  .split-brand .split-program-logo { height: 44px; }
  .split-brand h2 { font-size: 28px; }
  .split-brand p { font-size: 15.5px; }
  .split-partners { margin-top: 24px; padding-top: 18px; gap: 12px 22px; }
  .split-partners img { height: 20px; }
  .split-partners img:last-child { height: 17px; }
  .split-form { padding: 36px 24px 48px; }
  .public-footer-inner { padding: 42px 20px; }
}
@media (max-width: 520px) {
  .topbar { padding-left: 16px; padding-right: 16px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .btn { padding: 10px 12px; font-size: 12px; }
  .topbar-partners { flex-wrap: wrap; gap: 10px 16px; }
  .topbar-partners span { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats > div { padding: 0 12px; }
  .hero-stat-value { font-size: 34px; }
  .hero-stat-label { font-size: 13px; line-height: 1.35; }
}
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; padding: 16px; }
  .sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .sidebar-program-logo { height: 36px; margin: 0; }
  .sidebar-workspace { margin-top: 0; padding: 8px 12px; }
  .sidebar-avatar { width: 30px; height: 30px; }
  .nav { flex-direction: row; overflow-x: auto; }
  .nav a, .nav button { flex: none; }
  .sidebar-foot { margin-top: 0; }
}
.crm-dashboard .crm-sticky .page-title { font-size: 30px; font-weight: 800; }
.crm-dashboard .crm-viz-filters { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 16px; padding: 18px; border-color: #e2e4ec; }
.crm-dashboard .crm-viz-filters .crm-filter { min-width: 0; max-width: none; }
.crm-dashboard .crm-viz-kpi { border-color: #e2e4ec; }
.crm-dashboard .crm-viz-kpis { gap: 14px; }
.crm-dashboard .crm-viz-kpi strong { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #121735; }
.crm-dashboard .crm-viz-kpi span { font-size: 13.5px; color: #6a6f86; }
@media (max-width: 1360px) { .crm-dashboard .crm-viz-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } .crm-dashboard .crm-viz-filters > .crm-periods { grid-column: 1 / -1; width: fit-content; max-width: 100%; } }
@media (max-width: 700px) { .crm-dashboard .crm-viz-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nav-badge { display: inline-block; min-width: 20px; padding: 2px 6px; border-radius: 10px; background: var(--lime); color: var(--navy); font-size: 11px; font-weight: 800; text-align: center; margin-left: 6px; }
.card-projects { display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--navy); background: var(--lime); padding: 4px 9px; border-radius: 20px; }
.cta-card > .cta-section > .cta-value { font-size: 22px; line-height: 1.2; }

/* directory filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
.filter select { min-width: 150px; max-width: 220px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-family: var(--font-body); color: var(--text); background: #fff; text-transform: none; letter-spacing: 0; font-weight: 600; }
.filter select.on { border-color: var(--navy); }
.filters-clear { padding-bottom: 10px; }
@media (max-width: 760px) { .filter { flex: 1 1 140px; } .filter select { min-width: 0; width: 100%; max-width: none; } }

/* ---------- company form ---------- */
.form-page { max-width: 1040px; }
.form-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.team-draft-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 100%; }
.team-draft-recipient { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.team-draft-recipient strong { color: var(--navy); }
@media (max-width: 700px) { .team-draft-actions { align-items: stretch; width: 100%; } .team-draft-recipient { text-align: left; } .team-draft-actions .review-actions .btn { flex: 1; } }
.status-pill { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; padding: 4px 9px; border-radius: 20px; background: var(--line-soft); color: var(--text-2); }
.status-pill.s-published { background: var(--navy); color: #fff; }
.status-pill.s-in_review { background: #e7ecff; color: #3548a8; }
.status-pill.s-returned { background: #fde4e1; color: #b42318; }
.status-pill.s-filling { background: #fdf3d6; color: #8a6d14; }
.status-pill.s-provisional { background: #fdf3d6; color: #8a6d14; }
.status-pill.s-offline { background: #eef0f5; color: #8a8f9c; }
.status-pill.s-awaiting_validation { background: #eef0f5; color: #4b5563; }
.notice { background: #e7ecff; color: #26357d; border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.notice.warn { background: #fde4e1; color: #8c1d13; }
.currency-note { margin: 12px 0 20px; }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; z-index: 300; box-shadow: 0 10px 30px rgba(20,27,52,.3); max-width: 420px; }
.progress { margin-bottom: 18px; }
.progress-bar { height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--accent)); border-radius: 4px; transition: width .2s; }
.progress-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.progress-steps button { border: 1.5px solid var(--line); background: #fff; color: var(--text-2); border-radius: 20px; padding: 6px 12px 6px 6px; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.progress-steps button.on { border-color: var(--navy); color: var(--navy); font-weight: 800; }
.progress-steps button.done .step-n { background: var(--accent); color: #fff; }
.step-n { width: 22px; height: 22px; border-radius: 50%; background: var(--line-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.form-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 28px; }
.form-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 8px; }
.lang-note { margin-bottom: 8px; }
.project-step-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0; }
.form-field { padding: 16px 0; border-bottom: 1px solid var(--line-faint); }
.form-field.grouped { padding-top: 0; margin-top: -6px; padding-left: 16px; border-left: 3px solid var(--line-soft); }
.form-field.has-error .form-label { color: #b42318; }
.form-field-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.form-label { font-size: 14px; font-weight: 800; color: var(--text); }
.req { color: #b42318; }
.form-help { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 8px; }
.import-badge { font-size: 11px; font-weight: 700; color: #3548a8; background: #e7ecff; padding: 3px 9px; border-radius: 20px; }
.internal-badge { font-size: 12px; }
.form-control-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.form-control { flex: 1 1 420px; min-width: 0; }
.previous-answer { flex: 0 1 300px; font-size: 12.5px; color: #9aa0ad; font-style: italic; background: var(--bg); border-radius: 10px; padding: 10px 12px; line-height: 1.5; }
.field-error { display: block; font-size: 12.5px; color: #b42318; font-weight: 600; margin-top: 6px; }
.input.invalid { border-color: #b42318; }
.text-wrap { position: relative; }
.text-wrap textarea { resize: vertical; font-family: var(--font-body); line-height: 1.5; }
.counter { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 3px; }
.counter.over { color: #b42318; font-weight: 800; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 20px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; background: #fff; }
.check-chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.check-chip input { accent-color: var(--lime); margin: 0; }
.check-line { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; color: var(--text-2); }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 12px; }
.row-fields { display: flex; gap: 10px; flex: 1; min-width: 0; align-items: flex-start; }
.row-fields.wrap, .row-item .row-fields { flex-wrap: wrap; }
.row-remove { color: #b42318; padding-top: 24px; }
.add-row { align-self: flex-start; }
.mini { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.3px; }
.mini.grow { flex: 1 1 220px; }
.mini .input { text-transform: none; letter-spacing: 0; font-weight: 500; }
.period { display: inline-flex; gap: 6px; }
.period select { width: auto; }
.short { width: 120px; }
.usd-wrap { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; position: relative; }
.usd-prefix { font-size: 12px; font-weight: 800; color: var(--muted); }
.usd { width: 170px; }
.total-line { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }
.image-input { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.image-input .btn.uploading, .rows .btn.uploading { opacity: .65; cursor: progress; pointer-events: none; }
.image-preview-card { display: grid; gap: 6px; width: 180px; max-width: 100%; color: var(--muted); }
.image-preview { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.image-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-input.logo .image-preview { background: #fff; padding: 12px; }
.image-input.cover .image-preview-card { width: 340px; }
.image-input.cover .image-preview { aspect-ratio: 8 / 3; }
.image-input.product .image-preview-card { width: 260px; }
.image-picker { position: relative; }
.image-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.image-picker:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery-input .row-item { flex-wrap: wrap; align-items: flex-start; }
.gallery-input .image-preview-card { width: 142px; }
.gallery-input .row-fields { flex: 1 1 240px; }
.gallery-image-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reviewed-check { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding: 14px 16px; background: #f4f9dc; border-radius: 12px; font-weight: 800; font-size: 14px; cursor: pointer; }
.reviewed-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.preview-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 14px; }
.preview-frame { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); }
.preview-frame .profile-side { position: static; }
.submit-box { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.submit-blockers { background: #fde4e1; color: #8c1d13; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; width: 100%; }
.submit-blockers ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }
.submit-blockers a { color: #8c1d13; text-decoration: underline; }

/* ---------- team panel ---------- */
.table-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.team-list-page, .documents-page { max-width: 1600px; }
.team-list-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.team-list-head .page-title { margin-bottom: 4px; }
.team-list-head .page-subtitle { margin: 0; }
.team-tag-manager { padding: 22px; margin-bottom: 20px; border: 1px solid #e0e6ee; }
.team-tag-manager .block-title { margin: 0 0 5px; }
.team-tag-create { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 17px; }
.team-tag-create .input { flex: 1 1 240px; max-width: 430px; }
.team-tag-list, .team-org-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.team-tag-removable { display: inline-flex; align-items: center; gap: 7px; }
.team-tag-removable button { border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.team-tag-removable button:hover { background: rgba(20,27,52,.12); }
.team-org-tags { margin-top: 8px; }
.tag-checklist { max-height: 330px; overflow-y: auto; display: grid; gap: 8px; margin: 20px 0; }
.tag-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.tag-check:has(input:checked) { background: #f4f9dc; border-color: #cbea2b; }
.tag-check input { width: 17px; height: 17px; accent-color: #005b72; }
.sidebar-help { margin-top: 2px; background: #1b224a; border: 1px solid #2c356a; border-radius: 12px; padding: 14px; }
.sidebar-help-head { display: flex; align-items: center; gap: 9px; }
.sidebar-help-icon, .company-feedback-icon { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 8px; background: var(--lime); color: var(--navy); font-weight: 900; font-size: 16px; }
.sidebar-help h2 { color: #fff; font-size: 13.5px; font-weight: 800; margin: 0; }
.sidebar-help p { color: var(--on-navy); font-size: 12.5px; line-height: 1.45; margin: 9px 0 12px; }
.sidebar-help button { width: 100%; border: 0; border-radius: 8px; background: var(--lime); color: var(--navy); font-size: 12.5px; font-weight: 800; padding: 9px 10px; cursor: pointer; }
.sidebar-help button:hover { background: #d9f14b; }
.company-feedback-backdrop { align-items: center; }
.company-feedback-dialog { max-width: 560px; padding: 0; overflow: hidden; }
.company-feedback-head { display: flex; align-items: flex-start; gap: 12px; padding: 23px 24px 18px; border-bottom: 1px solid var(--line); }
.company-feedback-icon { width: 32px; height: 32px; border-radius: 10px; }
.company-feedback-head > div { flex: 1; }
.company-feedback-head h2, .company-feedback-success h2 { font-family: var(--font-heading); font-size: 20px; line-height: 1.25; margin: 0 0 5px; }
.company-feedback-head p, .company-feedback-success p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.company-feedback-head .modal-close { position: static; flex: none; margin-top: -3px; }
.company-feedback-form { display: grid; gap: 9px; padding: 20px 24px 24px; }
.company-feedback-form .form-label { font-size: 12.5px; margin-top: 5px; }
.company-feedback-form .input { width: 100%; font-size: 13px; }
.company-feedback-form textarea { display: block; resize: vertical; min-height: 110px; }
.company-feedback-fieldset { border: 0; padding: 0; margin: 0 0 4px; min-width: 0; }
.company-feedback-fieldset legend { color: var(--text); font-size: 12.5px; font-weight: 800; margin-bottom: 10px; }
.company-feedback-types { display: flex; flex-wrap: wrap; gap: 7px; }
.company-feedback-types button { border: 1px solid #dde2eb; border-radius: 999px; background: #fff; color: var(--text-2); padding: 8px 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.company-feedback-types button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fff; }
.company-feedback-count { color: var(--muted); text-align: right; font-size: 11px; margin-top: -5px; }
.company-feedback-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }
.company-feedback-success { text-align: center; padding: 40px 30px; }
.company-feedback-success-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 15px; background: var(--lime); color: var(--navy); border-radius: 50%; font-size: 26px; font-weight: 800; }
.company-feedback-success p { margin: 0 auto 22px; max-width: 410px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .company-feedback-head, .company-feedback-form { padding-left: 18px; padding-right: 18px; } .company-feedback-actions .btn { flex: 1; } }
.team-count { flex: none; display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 14px; background: #eaf1c3; color: #354000; font-size: 12px; font-weight: 800; }
.team-table { border: 1px solid #e0e6ee; box-shadow: 0 5px 24px rgba(20,27,52,.04); }
.team-table .trow:not(.thead):hover { background: #fafcf2; }
.team-table .trow strong { font-size: 14px; color: var(--navy); }
.validation-kind { display: inline-flex; padding: 7px 10px; background: #eff4f7; border-radius: 8px; color: #005b72; font-size: 12px; font-weight: 700; }
.air-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.air-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.air-state.on { color: #19734c; }
.air-state.off { color: #8a8f9c; }
.team-empty { padding: 44px 24px; text-align: center; color: var(--text-2); }
.team-empty strong { display: block; color: var(--navy); font-size: 15px; }
.team-empty p { margin: 8px 0 0; font-size: 13px; }
.team-empty-mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; background: #eaf1c3; color: #354000; font-weight: 900; }
.documents-layout { display: grid; grid-template-columns: minmax(320px,.9fr) minmax(420px,1.4fr); gap: 18px; align-items: start; }
.document-add-card, .document-list-card { min-width: 0; }
.document-section-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.document-section-head .block-title { margin: 0 0 2px; }
.document-section-head .form-help { margin: 0; }
.document-step { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--navy); color: var(--lime); font-size: 11px; font-weight: 800; }
.document-file-picker { width: 100%; min-height: 122px; border: 1.5px dashed #bfcbd7; border-radius: 14px; background: #f8fafc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; cursor: pointer; }
.document-file-picker:hover, .document-file-picker:focus-within { border-color: #005b72; background: #f4f9fb; }
.document-file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.document-file-picker-title { color: var(--navy); font-weight: 800; overflow-wrap: anywhere; }
.document-file-picker-hint { font-size: 12px; color: var(--muted); line-height: 1.4; }
.document-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.document-icon { display: grid; place-items: center; width: 42px; height: 48px; flex: none; border-radius: 8px; background: #e9eff3; color: #005b72; font-size: 11px; font-weight: 900; }
.document-actions .btn { min-width: 95px; text-align: center; }
.document-upload { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.document-upload .crm-grid, .document-upload .crm-field { width: 100%; }
.team-document { padding: 20px 0; border-top: 1px solid var(--line); }
.team-document-head, .document-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.team-document-head { justify-content: space-between; margin-bottom: 14px; }
.team-document-head strong { overflow-wrap: anywhere; }
.team-document:first-of-type { border-top: 0; }
.document-actions { margin-top: 14px; }
.table-tools { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; align-items: center; }
.table-tools .input { max-width: 320px; }
.trow { display: grid; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-faint); align-items: center; font-size: 13.5px; }
.trow.thead { background: var(--bg); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); border-top: none; }
.cell-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cell-alert { font-size: 11.5px; color: #b42318; font-weight: 700; margin-top: 2px; }
.empty-row { padding: 28px 20px; color: var(--muted); text-align: center; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-card); text-align: left; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); }
.stat-card.on { border-color: var(--navy); }
.stat-value { font-family: var(--font-display); font-size: 28px; color: var(--navy); line-height: 1.1; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.return-box { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 18px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.tabs { display: flex; gap: 8px; align-items: center; margin: 4px 0 14px; flex-wrap: wrap; }
.tab { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-2); }
.tab.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.cmp { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.cmp-section { padding: 6px 0 10px; }
.cmp-section .block-title { padding: 18px 20px 6px; margin: 0; }
.cmp-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line-faint); font-size: 13.5px; }
.cmp-row.cmp-head { background: var(--bg); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); border-top: none; position: sticky; top: 0; z-index: 2; }
.cmp-row.changed { background: #fffbe6; }
.cmp-row.changed .cmp-col:last-child { box-shadow: inset 3px 0 0 var(--lime); padding-left: 10px; }
.cmp-label { font-weight: 800; color: var(--text); }
.changed-chip { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 2px 7px; border-radius: 10px; }
.cmp-line { color: var(--text-2); line-height: 1.5; margin-bottom: 4px; white-space: pre-line; }
.cmp-empty { color: var(--muted-light); }
.cmp-col .previous-answer { margin-top: 6px; }
.en-editors { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 10px; padding: 10px; }
.en-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: var(--accent); }
.en-pt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.en-row textarea { font-family: var(--font-body); resize: vertical; }
.en-row textarea.missing { border-color: #e2b93b; }
@media (max-width: 900px) { .cmp-row { grid-template-columns: 1fr; } .trow { grid-template-columns: 1fr !important; } }
@media (max-width: 1100px) { .documents-layout { grid-template-columns: 1fr; } }

/* ---------- modal / investor auth ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(20, 27, 52, 0.55); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal { position: relative; background: #fff; border-radius: 18px; padding: 30px; width: 100%; max-width: 640px; box-shadow: 0 24px 60px rgba(20, 27, 52, 0.3); animation: fadeUp .2s ease; }
.modal-close { position: absolute; top: 14px; right: 16px; border: none; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.invite-modal-backdrop { align-items: center; }
.invite-modal { max-width: 520px; }
.invite-modal .form-subtitle { overflow-wrap: anywhere; }
.invite-language-options { display: grid; gap: 10px; margin: 22px 0; }
.invite-language-option { display: flex; align-items: flex-start; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 15px; cursor: pointer; }
.invite-language-option.selected { border-color: #005b72; background: #f1f8fa; }
.invite-language-option input { margin-top: 3px; accent-color: #005b72; }
.invite-language-option span { display: flex; flex-direction: column; gap: 4px; }
.invite-language-option small { color: var(--muted); line-height: 1.35; }
.invite-modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.auth-field { display: flex; flex-direction: column; }
.auth-field.has-error .input { border-color: #b42318; }
.auth-field.is-valid .input { border-color: #13804a; box-shadow: 0 0 0 1px #13804a inset; }
.auth-field .field-error { margin-top: 5px; }
.auth-password-rules { list-style: none; padding: 0; margin: 7px 0 0; display: grid; gap: 3px; color: var(--muted); font-size: 11px; }
.auth-password-rules li::before { content: '• '; }
.auth-password-rules li.met { color: #13804a; }
.auth-password-rules li.unmet { color: #b42318; }
.country-control { position: relative; display: block; }
.country-control img { position: absolute; z-index: 1; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 16px; object-fit: cover; border-radius: 2px; pointer-events: none; }
.country-control img:not([hidden]) + select { padding-left: 42px; }
.auth-consents .check-line.has-error { color: #b42318; }
.auth-consents .field-error { margin: -7px 0 5px 26px; }
.level-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--accent); }
.level-tag.muted { color: var(--muted); }
.check-line.has-error { color: #b42318; }
.check-line a { color: var(--accent); font-weight: 700; }
.auth-consents { display: flex; flex-direction: column; gap: 9px; }
.auth-consents .btn-link { display: inline; padding: 0; font-size: inherit; }
.legal-backdrop { z-index: 101; align-items: center; }
.legal-modal { max-width: 620px; max-height: calc(100vh - 48px); overflow-y: auto; }
.legal-copy { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.legal-copy p { margin: 0 0 1em; }
.auth-switch { font-size: 13px; color: var(--muted); margin: 0; }
.auth-company-entry { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.auth-company-entry .btn { display: inline-flex; align-items: center; }
@media (max-width: 600px) { .topbar-company-cta { display: none; } }
.link-accent { color: var(--accent); font-weight: 800; }
.verify { align-items: flex-start; }
.verify-icon { font-size: 34px; }
.simulated-mail { border: 1.5px dashed var(--line); border-radius: 14px; padding: 16px; width: 100%; background: var(--bg); }
.simulated-mail p { font-size: 14px; color: var(--text-2); }
.sim-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); }
.investor-chip { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--line-soft); padding: 8px 12px; border-radius: 20px; text-decoration: none; }
@media (max-width: 600px) { .auth-grid { grid-template-columns: 1fr; } .modal { padding: 22px 18px; } }

/* ---------- contacts registry ---------- */
.crm-page { max-width: 1180px; }
.crm-sticky { position: sticky; top: 0; z-index: 20; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 6px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.crm-section { margin-bottom: 24px; }
.section-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--accent); margin: 0 0 10px; }
h3.section-label { margin-top: 18px; }
.pending-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.pending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.pending-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--line-soft); padding-bottom: 8px; }
.days { font-size: 12px; font-weight: 800; color: var(--text-2); }
.days.warning { color: #8a6d14; }
.days.overdue { color: #b42318; }
.stat-card.static { cursor: default; }
.indicator small { font-size: 16px; color: var(--muted); }
.goal-bar { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.goal-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--accent)); }
.link-row { color: inherit; }
.link-row:hover { background: var(--bg); color: inherit; }
.table-tools .filters { flex: 1; }
.filter input[type=date] { padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-family: var(--font-body); font-size: 13px; }
.class-wrap { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.class-badge { font-size: 11px; font-weight: 800; letter-spacing: 0.3px; padding: 4px 9px; border-radius: 20px; background: var(--line-soft); color: var(--text-2); }
.class-badge.c-lead { background: #e7ecff; color: #3548a8; }
.class-badge.c-nia { background: var(--lime); color: var(--navy); }
.class-badge.c-npia { background: var(--navy); color: #fff; }
.class-badge.c-br { background: #ddf3e4; color: #1f7a43; }
.class-badge.c-incomplete { background: #fde4e1; color: #b42318; }
.class-pending { font-size: 11.5px; font-weight: 700; color: #8a6d14; }
.help-i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--lime); font-weight: 800; font-size: 12px; border: none; cursor: pointer; flex-shrink: 0; }
.help-i.small { width: 17px; height: 17px; font-size: 10px; }
.help-icon-wrap { position: relative; display: inline-flex; }
.help-pop { position: absolute; z-index: 40; top: 22px; left: 50%; transform: translateX(-50%); width: 240px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.45; padding: 10px 12px; border-radius: 10px; box-shadow: 0 10px 24px rgba(20,27,52,.3); text-transform: none; letter-spacing: 0; }
.help-block { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); margin-top: 18px; }
.help-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 16px 20px; border: none; background: none; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--text); text-align: left; }
.help-toggle .chev { margin-left: auto; color: var(--muted); }
.help-body { padding: 0 20px 18px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.help-card { background: var(--bg); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.help-card p { margin: 6px 0 0; }
.help-card ul { margin: 6px 0 0; padding-left: 18px; }
.completeness { display: inline-flex; align-items: center; gap: 8px; }
.completeness-bar { width: 70px; height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; display: inline-block; }
.completeness.big { display: flex; } .completeness.big .completeness-bar { width: 100%; height: 10px; border-radius: 5px; }
.completeness-bar span { display: block; height: 100%; }
.completeness-bar .low { background: #e05a47; } .completeness-bar .mid { background: #e2b93b; } .completeness-bar .full { background: var(--accent); }
.completeness-pct { font-size: 12px; font-weight: 700; color: var(--text-2); }
.missing { font-size: 13.5px; color: var(--text-2); margin: 10px 0 0; }
.missing a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.crm-block { margin-bottom: 16px; }
.crm-block .block-title { margin-bottom: 14px; }
.documents-page .document-section-head .block-title { margin-bottom: 2px; }
.crm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 16px; margin-bottom: 14px; }
@media (max-width: 700px) {
  .team-list-head { align-items: stretch; }
  .team-list-head .btn { width: 100%; }
  .team-table .trow.thead { display: none; }
  .team-table .trow:not(.thead) { gap: 10px; padding: 18px; }
  .team-table .trow:not(.thead) > div[data-label]::before { content: attr(data-label); display: block; color: var(--muted); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .5px; margin-bottom: 4px; }
  .document-file-picker { min-height: 110px; }
}
.crm-field { display: flex; flex-direction: column; border-radius: 10px; transition: background .3s; }
.crm-field{min-width:0}.crm-field>.field-label{display:flex;align-items:end;min-height:30px;line-height:1.3}.crm-field>.input,.crm-field>.row-fields{width:100%;min-width:0}
.crm-field.wide { grid-column: 1 / -1; }
.crm-field.has-error .input { border-color: #b42318; }
.crm-field.flash { background: #f4f9dc; box-shadow: 0 0 0 6px #f4f9dc; }
.apex-mark { font-size: 10px; font-weight: 700; color: #3548a8; background: #e7ecff; padding: 2px 7px; border-radius: 10px; text-transform: none; letter-spacing: 0; }
.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin: 10px 0 14px; }
.record-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.action-panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 18px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.action-panel.crm-grid { display: grid; }
.team-only { border-left: 4px solid var(--navy); }
.with-unit { display: flex; align-items: center; gap: 8px; } .with-unit .input { max-width: 140px; } .with-unit span { font-size: 13px; color: var(--muted); font-weight: 600; }
/* CRM dashboard */
.crm-dashboard{display:grid;gap:18px;max-width:1500px;margin:auto}
.crm-viz-filters,.crm-viz-card,.crm-viz-kpi{background:#fff;border:1px solid #dce4e9;border-radius:16px}
.crm-viz-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px}
.crm-viz-filters label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#466073}
.crm-viz-filters select,.crm-viz-filters input{min-height:38px;max-width:190px;padding:7px 10px;border:1px solid #cbd7df;border-radius:9px;background:#fff;color:#12334b}
.crm-periods{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border:1px solid #d6e2e8;border-radius:10px}
.crm-periods button{border:0;border-radius:7px;background:transparent;color:#23475e;padding:8px 11px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.crm-periods button.active{background:#005b72;color:white}
.crm-viz-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.crm-viz-kpi{padding:18px;display:grid;gap:5px}.crm-viz-kpi strong{font-size:28px;color:#092d46}.crm-viz-kpi span{font-size:12px;color:#557084}
.crm-viz-card{padding:20px;min-width:0}.crm-viz-card h2{font-size:18px;margin:0 0 6px;color:#092d46}.crm-viz-card p{font-size:12px;color:#60798a;margin:0 0 17px}
.crm-viz-head{display:flex;justify-content:space-between;align-items:start;gap:16px}.crm-viz-head input{max-width:350px}
.crm-viz-grid{display:grid;gap:16px}.crm-viz-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-viz-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.crm-bars{display:grid;gap:9px}.crm-bar-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(60px,2fr) 30px;gap:10px;align-items:center;width:100%;border:0;background:transparent;padding:4px;text-align:left;color:#16394e;font:inherit;font-size:12px}
.crm-bar-row:not(:disabled){cursor:pointer}.crm-bar-row.selected{background:#e1f2f4;border-radius:7px}.crm-bar-track{height:11px;background:#e9f0f2;border-radius:20px;overflow:hidden}.crm-bar-track i{display:block;height:100%;border-radius:20px;background:#00637c}.crm-bar-row strong{text-align:right}
.crm-viz-subtitle{font-size:12px;font-weight:700;color:#365369;margin:16px 0 8px}.crm-viz-subtitle+.crm-viz-card{border:0;padding:0}
.crm-activity-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;margin:0 0 10px;color:#34556a;font-size:12px}.crm-activity-summary strong{color:#092d46;font-size:15px}
.crm-activity-scroll{overflow-x:auto}.crm-activity-chart{display:flex;gap:8px;height:190px}.crm-activity-axis{position:relative;width:28px;flex:none;height:162px;color:#506c7e;font-size:11px;text-align:right}.crm-activity-axis span{position:absolute;right:0;transform:translateY(-50%)}.crm-activity-axis span:nth-child(1){top:22px}.crm-activity-axis span:nth-child(2){top:90px}.crm-activity-axis span:nth-child(3){top:158px}
.crm-activity-plot{height:190px;flex:1;display:flex;position:relative}.crm-activity-grid{position:absolute;inset:0;pointer-events:none}.crm-activity-grid i{position:absolute;left:0;right:0;border-top:1px dashed #dbe6ea}.crm-activity-grid i:nth-child(1){top:22px}.crm-activity-grid i:nth-child(2){top:90px}.crm-activity-grid i:nth-child(3){top:158px;border-top-style:solid;border-color:#b7cbd3}
.crm-activity-col{position:relative;flex:1;height:190px;min-width:32px;padding:0;border:0;background:transparent;cursor:pointer;color:#34556a;font:inherit}.crm-activity-value,.crm-activity-fill,.crm-activity-date{position:absolute;left:50%;transform:translateX(-50%)}.crm-activity-value{font-size:11px;line-height:1;color:#123a4e}.crm-activity-fill{bottom:32px;width:min(40px,70%);background:#00637c;border-radius:4px 4px 0 0}.crm-activity-date{bottom:3px;white-space:nowrap;font-size:10px;color:#506c7e}.crm-activity-col:hover .crm-activity-fill,.crm-activity-col:focus-visible .crm-activity-fill{background:#83a900}.crm-activity-col.selected .crm-activity-fill{background:#b2cf00}.crm-activity-col:focus-visible{outline:2px solid #005b72;outline-offset:-2px}.crm-activity-empty{padding:38px 12px;text-align:center;border:1px dashed #cbdce2;border-radius:8px}
.crm-viz-card details{margin-top:12px;font-size:12px;color:#446075}.crm-activity-table{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:10px;max-height:220px;overflow:auto}.crm-activity-table>*{padding:5px;border-bottom:1px solid #e4ecef}
.crm-company-summary{display:grid;gap:0}.crm-company-summary>.head,.crm-company-summary>button{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:12px;align-items:center;padding:11px;border-bottom:1px solid #e4ecef}.crm-company-summary>.head{font-size:11px;text-transform:uppercase;font-weight:800;color:#557084}.crm-company-summary>button{border-left:0;border-right:0;border-top:0;background:white;text-align:left;font:inherit;color:#16394e;cursor:pointer}.crm-company-summary>button:hover{background:#f2f8f9}
.crm-table-scroll{overflow-x:auto}.crm-table-scroll .trow{min-width:950px}.crm-cross{display:flex;gap:12px;align-items:center;color:#005b72;font-size:12px}.crm-cross button{border:0;background:transparent;text-decoration:underline;cursor:pointer;color:inherit}
.crm-pending-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;padding:10px;border-bottom:1px solid #e4ecef;color:#16394e;text-decoration:none}.crm-empty{font-size:12px;color:#60798a}
.crm-demo-tag{display:inline-block;margin-right:6px;padding:2px 6px;border-radius:4px;background:#f9e4a4;color:#694b00;font-size:10px;font-weight:800;letter-spacing:.04em}
.crm-print-context{display:none}
.crm-bar-row:not(:disabled):hover,.crm-bar-row:not(:disabled):focus-visible{background:#eaf4f6;border-radius:7px}.crm-bar-row:focus-visible{outline:2px solid #005b72;outline-offset:2px}
@media(max-width:1000px){.crm-viz-kpis{grid-template-columns:repeat(3,1fr)}.crm-viz-grid.three{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.crm-viz-kpis{grid-template-columns:repeat(2,1fr)}.crm-viz-grid.two,.crm-viz-grid.three{grid-template-columns:1fr}.crm-viz-head{display:block}.crm-company-summary{overflow-x:auto}.crm-company-summary>.head,.crm-company-summary>button{min-width:580px}}
.bilingual-input{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.bilingual-input .text-wrap{min-width:0}.language-label{display:block;color:#526e81;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:5px}.cmp-english{color:#365f78;border-left:2px solid #acc7d6;padding-left:7px;margin-top:4px}
.company-preview-page{padding-bottom:90px;background:#f5f7f9;min-height:100vh}.company-preview-toolbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px max(18px,calc((100vw - 1150px)/2));background:#fff;border-bottom:1px solid #dce4e9;box-shadow:0 3px 12px #14203412}.company-preview-toolbar div{display:grid;gap:3px}.company-preview-toolbar strong{color:#142034}.company-preview-toolbar span{color:#60798a;font-size:12px}.company-preview-actions{position:fixed;bottom:16px;right:20px;z-index:40;display:flex;align-items:center;gap:20px;max-width:min(650px,calc(100vw - 40px));padding:14px 16px;background:#142034;color:#fff;border-radius:14px;box-shadow:0 10px 35px #14203455}.company-preview-actions>div:first-child{display:grid;gap:4px}.company-preview-actions small{color:#dce4e9}.company-preview-buttons{display:flex;gap:8px;flex:none}.company-preview-actions .btn-outline{background:transparent;color:#fff;border-color:#8390a8}.company-preview-page .profile-footer{margin-bottom:40px}
.crm-filter{position:relative;min-width:150px;max-width:230px;flex:1 1 150px;color:#466073;font-size:12px;font-weight:700}.crm-filter-label{display:block;margin-bottom:5px}.crm-filter-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:38px;padding:7px 11px;text-align:left;border:1px solid #cbd7df;border-radius:9px;background:#fff;color:#12334b;font:inherit;cursor:pointer}.crm-filter-trigger:hover,.crm-filter-trigger[aria-expanded=true]{border-color:#00637c;box-shadow:0 0 0 2px #00637c22}.crm-filter-trigger span{font-size:19px;line-height:1}.crm-filter-menu{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:50;min-width:200px;max-height:270px;overflow:auto;padding:5px;background:#fff;border:1px solid #cbd7df;border-radius:11px;box-shadow:0 12px 25px #1420342d}.crm-filter-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left;color:#12334b;font:inherit;font-weight:500;cursor:pointer}.crm-filter-menu button:hover,.crm-filter-menu button:focus-visible{background:#eaf4f6}.crm-filter-menu button.selected{background:#00637c;color:#fff}
.crm-bar-row{transition:background .18s ease,transform .18s ease}.crm-bar-row:not(:disabled):hover,.crm-bar-row:not(:disabled):focus-visible{transform:translateX(3px)}.crm-bar-track i{transition:width .3s ease,background .18s ease,filter .18s ease}.crm-bar-row:hover .crm-bar-track i,.crm-bar-row:focus-visible .crm-bar-track i{background:#8dac00;filter:brightness(1.08)}.crm-activity-fill{transition:background .2s ease,transform .2s ease,box-shadow .2s ease}.crm-activity-col:hover .crm-activity-fill,.crm-activity-col:focus-visible .crm-activity-fill{transform:translateX(-50%) scaleX(1.16);box-shadow:0 0 0 4px #83a90025}.crm-activity-col:hover .crm-activity-value,.crm-activity-col:focus-visible .crm-activity-value{font-weight:800;color:#005b72}
@media(max-width:700px){.bilingual-input{grid-template-columns:1fr}.company-preview-toolbar{padding:10px 16px}.company-preview-toolbar span{display:none}.company-preview-actions{left:0;right:0;bottom:0;max-width:none;border-radius:14px 14px 0 0;display:grid;gap:8px}.company-preview-buttons{justify-content:space-between}.company-preview-buttons .btn{flex:1;text-align:center}}
@media print {
  @page{size:A4 landscape;margin:10mm}
  body,.shell,.shell-main{background:#fff!important;color:#092d46}
  .sidebar,.crm-no-print,.crm-print-hide,.crm-dashboard .crm-viz-filters,.crm-dashboard .crm-cross,.crm-dashboard .crm-periods,.crm-dashboard .crm-viz-head input,.crm-dashboard .review-actions{display:none!important}
  .shell{display:block;min-height:0}.shell-main{padding:0!important}.crm-dashboard{display:block;max-width:none}.crm-sticky{position:static!important;padding:0 0 8mm!important;box-shadow:none!important}
  .crm-viz-kpis{grid-template-columns:repeat(6,1fr);gap:3mm;margin-bottom:4mm}.crm-viz-grid.two{grid-template-columns:repeat(2,1fr)}.crm-viz-grid.three{grid-template-columns:repeat(3,1fr)}
  .crm-viz-card,.crm-viz-grid,.crm-viz-kpi{break-inside:avoid;page-break-inside:avoid;margin-bottom:4mm}.crm-viz-card{padding:4mm}
  .crm-bar-track i,.crm-activity-fill,.crm-viz-card,.crm-viz-kpi{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .crm-dashboard details{display:none}
  .crm-print-context{display:block;font-size:10pt;color:#365369;margin:0 0 5mm}
}

/* Product image enlargement and compact public mobile layout. */
.mobile-profile-filter { display: none; }
.profile-product-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #20294b; }
.profile-product-photo img { display: block; width: 100%; height: clamp(170px, 24vw, 320px); object-fit: contain; }
.profile-product-photo span { position: absolute; right: 10px; bottom: 10px; border-radius: 6px; padding: 7px 10px; background: rgba(20,26,59,.9); color: #fff; font-size: 12px; font-weight: 700; }
.profile-product-photo:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.product-lightbox { position: fixed; inset: 0; z-index: 500; display: flex; justify-content: center; align-items: center; padding: 76px 24px 24px; background: rgba(8,13,29,.95); }
.product-lightbox img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-lightbox-close { position: absolute; right: 20px; top: 18px; padding: 10px 16px; border: 1px solid #7e879e; border-radius: 10px; background: #fff; color: #141a3b; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .topbar { position: relative; gap: 10px 12px; padding: 10px 16px; }
  .topbar-program img { height: 34px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .btn { padding: 10px; font-size: 12px; }
  .hero { padding: 36px 16px 28px; }
  .hero h1 { font-size: clamp(30px, 6.4vw, 40px); line-height: 1.12; }
  .hero p { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .hero-kicker { font-size: 10px; letter-spacing: 1.2px; line-height: 1.6; }
  .hero-company-action { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 28px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
  .hero-stats > div, .hero-stats > div:first-child { min-width: 0; padding: 0 12px; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stat-value { font-size: 32px; }
  .hero-stat-label { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
  .search-wrap { margin: 0 auto; padding: 16px; }
  .search-card, .home-documents { padding: 18px; border-radius: 14px; box-shadow: 0 4px 16px rgba(20,27,52,.08); min-width: 0; }
  .search-card .chips { display: none; }
  .mobile-profile-filter { display: grid; gap: 6px; font-size: 12px; color: var(--text-2); font-weight: 700; }
  .search-card .input { min-width: 0; font-size: 16px; padding: 12px; }
  .search-card .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px 12px; padding-top: 16px; }
  .search-card .filter { min-width: 0; font-size: 10px; }
  .search-card .filter select { min-width: 0; max-width: none; width: 100%; font-size: 16px; padding: 10px 8px; }
  .search-card .filters-clear { grid-column: 1/-1; }
  .profile-product { padding: 20px; gap: 20px; border-radius: 18px; }
  .profile-product h2 { font-size: 30px; }
  .profile-product p { font-size: 16px; }
  .profile-product-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .profile-product-photo img { min-height: 0; height: 100%; }
  .product-lightbox { padding: 72px 12px 20px; }
}

/* Image fields in the read-only before/after comparison. */
.cmp-media-row { padding-top: 20px; padding-bottom: 20px; }
.cmp-media-row .cmp-col { min-width: 0; }
.review-media-version { margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; font-weight: 800; color: var(--muted); }
.review-media-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 14px; align-items: start; }
.review-media-grid.single { grid-template-columns: minmax(0,360px); }
.review-media-card { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.review-media-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #f0f2f6; cursor: zoom-in; aspect-ratio: 4/3; }
.review-media-grid.single .review-media-open { aspect-ratio: 16/9; }
.review-media-open img { display: block; width: 100%; height: 100%; object-fit: contain; }
.review-media-grid.logo .review-media-open img { padding: 18px; }
.review-media-open span { position: absolute; right: 8px; bottom: 8px; color: #fff; background: rgba(20,26,59,.9); border-radius: 6px; padding: 5px 8px; font-size: 11px; font-weight: 700; }
.review-media-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.review-media-card figcaption { padding: 12px; color: var(--text-2); }
.review-media-card figcaption > strong { display: block; font-size: 12px; color: var(--text); margin-bottom: 8px; }
.review-media-caption { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; margin-top: 6px; }
.review-media-caption span { font-size: 10px; font-weight: 800; color: var(--muted); line-height: 20px; }
.review-media-caption p { margin: 0; font-size: 13px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-media-empty { padding: 24px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); background: var(--bg); }
@media (max-width:900px) { .cmp-media-row { gap: 20px; } .review-media-grid.single { grid-template-columns: minmax(0,1fr); } }
.focal-fields { align-items: flex-start; }
.focal-field { min-width: 170px; }
.focal-field .field-error { display: block; font-size: 12px; line-height: 1.5; letter-spacing: 0; text-transform: none; font-weight: 500; }
.focal-invalid .input { border-color: #b42318; background: #fff8f7; }
.step-problem-link { color: #8c1d13; text-decoration: underline; font-size: inherit; line-height: 1.6; }
.document-accordion > summary { list-style: none; cursor: pointer; margin-bottom: 0; flex-wrap: nowrap; }
.document-accordion > summary::-webkit-details-marker { display: none; }
.document-accordion > summary::marker { content: ''; }
.document-accordion > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; border-radius: 6px; }
.document-accordion .document-identity { flex: 1; }
.document-accordion .document-identity > div { min-width: 0; }
.document-chevron { flex: none; font-size: 24px; line-height: 1; color: var(--text-2); transition: transform .15s ease; }
.document-accordion[open] > summary .document-chevron { transform: rotate(180deg); }
.document-edit-fields { display: grid; gap: 18px; padding-top: 22px; }
.document-titles { min-width: 0; }
@media (max-width: 600px) { .document-accordion > summary { gap: 8px; } .document-accordion .document-icon { display: none; } .document-accordion .status-pill { font-size: 9px; } }
/* Keep document lists within the adjacent filter card. */
.home-documents { display: flex; flex-direction: column; max-height: var(--filter-card-height,440px); min-height: 0; overflow: hidden; }
.home-documents-head, .home-documents > p { flex-shrink: 0; }
.home-document-list { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding-right: 4px; }
.home-document-list:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 8px; }
.home-document { flex-shrink: 0; }
@media (max-width:760px) { .home-documents { max-height: 400px; } }
