/* Self-hosted Poppins for the client-facing experience. License: Poppins-OFL.txt. */
@font-face { font-family: Poppins; src: url('/poppins-latin-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url('/poppins-latin-500.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url('/poppins-latin-600.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('/poppins-latin-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }

.client-page, .auth-v2 { font-family: Poppins, ui-sans-serif, system-ui, sans-serif; }
.client-page :focus-visible, .auth-v2 :focus-visible { outline: 2px solid #116b8c; outline-offset: 3px; }
.client-page .ui-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.client-page .side-link { gap: 10px; font-weight: 500; }
.client-page .side-link.active { font-weight: 600; }
.client-page .side-link .ui-icon { color: #86a9b8; }
.client-page .side-link:hover .ui-icon, .client-page .side-link.active .ui-icon { color: currentColor; }
.client-page .side-label { color: #9db8c4; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.client-page .button { font-weight: 600; }
.client-page .jinqua-drawer-actions { display: flex; align-items: center; gap: 7px; }
.client-page .jinqua-drawer > header .jinqua-expand { display: inline-flex; align-items: center; gap: 6px; width: auto; min-width: 32px; height: 32px; padding: 5px 9px; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.client-page .jinqua-drawer > header .jinqua-expand[aria-pressed="true"] { border-color: var(--blue); background: var(--bluebg); }
.client-page .jinqua-drawer > header .jinqua-expand .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.client-page .jinqua-drawer.expanded { display: flex; flex-direction: column; top: 18px; right: 18px; width: min(900px, calc(100vw - 36px)); height: calc(100dvh - 36px); max-height: none; overflow: hidden; background: #fff; }
.client-page .jinqua-drawer.expanded #jinqua-drawer-body { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: auto; }
.client-page .jinqua-drawer.expanded .jinqua-chat,
.client-page .jinqua-drawer.expanded .jinqua-chat > .panel-body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.client-page .jinqua-drawer.expanded .jinqua-messages { flex: 1; min-height: 200px; max-height: none; padding: 0 2px; border: 0; border-radius: 0; background: transparent; }
.client-page .jinqua-messages { align-content: start; grid-auto-rows: max-content; }
.client-page .jinqua-drawer.expanded .jinqua-chat.has-conversation .jinqua-messages { flex: 1 1 auto; min-height: 0; max-height: none; }
.client-page .jinqua-drawer.expanded .jinqua-form { flex: 0 0 auto; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.client-page .jinqua-drawer.expanded .jinqua-message { width: min(90%, 780px); }
.client-page .jinqua-message.user,
.client-page .jinqua-drawer.expanded .jinqua-message.user { width: fit-content; max-width: min(82%, 780px); overflow-wrap: anywhere; }
.client-page .jinqua-answer-preview,
.client-page .jinqua-answer-full { white-space: pre-wrap; overflow-wrap: anywhere; }
.client-page .jinqua-answer-toggle { margin-top: 9px; padding: 0; border: 0; background: transparent; color: var(--blue2); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.client-page .jinqua-actions-title { display: block; margin-top: 12px; color: var(--ink2); font-size: 14px; font-weight: 600; }
.client-page .jinqua-actions-list { margin: 6px 0 0; padding-left: 20px; }
.client-page .jinqua-more-actions > summary { margin-top: 8px; color: var(--blue2); cursor: pointer; font-size: 14px; font-weight: 600; }
.client-page .jinqua-more-actions .jinqua-actions-list { margin-top: 6px; }
.client-page .jinqua-suggestions { display: block; margin: 11px 0; }
.client-page .jinqua-suggestions > summary { margin-bottom: 8px; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600; }
.client-page .jinqua-suggestions:not([open]) > summary { margin-bottom: 0; }
.client-page .jinqua-suggestion { display: inline-block; margin: 0 6px 6px 0; }
.client-page .jinqua-chat.has-conversation .jinqua-messages { max-height: 52vh; }
.strategy-page .side-nav { scrollbar-width: thin; scrollbar-color: #668899 transparent; }
.strategy-page .side-nav::-webkit-scrollbar { width: 6px; }
.strategy-page .side-nav::-webkit-scrollbar-track { background: transparent; }
.strategy-page .side-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: #668899; }
@media (min-width: 601px) { .client-page .site-chip { display: none; } }
@media (max-width: 600px) {
  .client-page .jinqua-drawer > header .jinqua-expand { padding-inline: 7px; }
  .client-page .jinqua-drawer.expanded { inset: 0; width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
}

.strategy-page .phase-run-recovery-copy strong,
.strategy-page .phase-run-recovery-copy span { display: block; }
.strategy-page .phase-run-recovery-copy strong { color: var(--amber); font-size: 15px; }
.strategy-page .phase-run-recovery-copy span { margin-top: 5px; color: #705a2b; font-size: 14px; line-height: 1.5; }
.strategy-page .phase-run-blocker-list { margin: 7px 0 0; padding-left: 19px; color: #705a2b; font-size: 14px; line-height: 1.5; }
.strategy-page .phase-run-recovery .button { max-width: none; }

.strategy-page.strategy-overview .strategy-main { max-width: 1120px; }
.strategy-page .strategy-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.strategy-page .strategy-next-label { color: var(--blue2); font-size: 14px; font-weight: 600; }
.strategy-page .strategy-next h2 { margin: 5px 0 0; color: var(--ink2); font-size: 24px; line-height: 1.25; }
.strategy-page .strategy-next p { margin: 7px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.strategy-page .strategy-next small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.strategy-page .strategy-next small:empty { display: none; }
.strategy-page .strategy-next .button { flex: 0 0 auto; }
.strategy-page a.button { text-decoration: none; }
.strategy-page .strategy-roadmap-heading { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 10px; }
.strategy-page .strategy-roadmap-heading h2 { margin: 0; color: var(--ink2); font-size: 18px; }
.strategy-page .strategy-roadmap-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.strategy-page.strategy-overview .strategy-grid { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.strategy-page.strategy-overview .strategy-phase-card { display: block; min-height: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; }
.strategy-page.strategy-overview .strategy-phase-card:last-child { border-bottom: 0; }
.strategy-page.strategy-overview .strategy-phase-card:hover { background: #f7fafb; box-shadow: none; }
.strategy-page.strategy-overview .strategy-phase-card.next-ready { border-left: 3px solid var(--blue); background: #f7fbfd; animation: none; box-shadow: none; }
.strategy-page.strategy-overview .strategy-phase-top { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; }
.strategy-page.strategy-overview .strategy-phase-number { width: 30px; height: 30px; font-size: 14px; }
.strategy-page.strategy-overview .strategy-phase-name { margin: 0; font-size: 15px; }
.strategy-page.strategy-overview .strategy-phase-goal,
.strategy-page.strategy-overview .strategy-phase-blocker { display: block; margin: -4px 18px 12px 64px; padding: 0; font-size: 14px; line-height: 1.45; }
.strategy-page.strategy-overview .strategy-phase-blocker { color: var(--amber); font-weight: 600; }
.strategy-page.strategy-overview .strategy-phase-card.locked .strategy-phase-name { color: var(--muted); }
.strategy-page .phase-connections { overflow: hidden; }
.strategy-page .phase-connections-summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.strategy-page .phase-connections-summary::-webkit-details-marker,
.strategy-page .overview-provider-heading::-webkit-details-marker { display: none; }
.strategy-page .phase-connections-summary > span:first-child { display: grid; gap: 2px; margin-right: auto; }
.strategy-page .phase-connections-summary strong { color: var(--ink2); font-size: 15px; }
.strategy-page .phase-connections-summary small { color: var(--muted); font-size: 14px; }
.strategy-page .phase-connections-summary .connection-summary.ready { color: var(--green); }
.strategy-page .phase-connections-summary .connection-summary.attention { color: var(--amber); }
.strategy-page .phase-connections-action { padding: 8px 12px; border: 1px solid var(--control); border-radius: 7px; color: var(--blue2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.strategy-page .phase-connections[open] .phase-connections-action { font-size: 0; }
.strategy-page .phase-connections[open] .phase-connections-action::after { content: "Hide connections"; font-size: 14px; }
.strategy-page .phase-connection-grid { display: block; padding: 4px 18px 16px; border-top: 1px solid var(--line); }
.strategy-page .overview-provider { border-bottom: 1px solid var(--line); }
.strategy-page .overview-provider:last-child { border-bottom: 0; }
.strategy-page .overview-provider-heading { display: flex; align-items: center; gap: 14px; padding: 11px 0; cursor: pointer; list-style: none; }
.strategy-page .overview-provider-name { display: grid; gap: 2px; min-width: 0; margin-right: auto; }
.strategy-page .overview-provider-name strong { color: var(--ink2); font-size: 14px; }
.strategy-page .overview-provider-name small { color: var(--muted); font-size: 14px; }
.strategy-page .overview-provider-expand { color: var(--blue2); font-size: 14px; font-weight: 600; }
.strategy-page .overview-provider[open] .overview-provider-expand { font-size: 0; }
.strategy-page .overview-provider[open] .overview-provider-expand::after { content: "Hide"; font-size: 14px; }
.strategy-page .overview-provider-detail { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 14px; }
.strategy-page .overview-provider-detail p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.strategy-page .overview-provider-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.strategy-page .overview-provider-detail .connection-actions { display: flex!important; width: auto; flex: 0 0 auto; }
.strategy-page .phase-page .phase-connection-list > article { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content max-content; gap: 12px; align-items: center; }
.strategy-page .phase-page .phase-connection-list > article > span:first-child { min-width: 0; }
.strategy-page .phase-page .phase-connection-list > article > .connection-requirement,
.strategy-page .phase-page .phase-connection-list > article > .state { width: auto; min-width: max-content; white-space: nowrap; justify-self: start; }
.strategy-page .phase-page .phase-connection-list .connection-actions { display: flex!important; width: auto; grid-column: auto; flex-wrap: nowrap; justify-self: end; }
.strategy-page .strategy-next[hidden],
.strategy-page .strategy-roadmap-heading[hidden],
.strategy-page .strategy-grid[hidden],
.strategy-page .phase-connections[hidden] { display: none!important; }
.strategy-page .phase2-review-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 23px; }
.strategy-page .phase2-review-summary h3 { margin: 4px 0 0; color: var(--ink2); font-size: 22px; line-height: 1.3; }
.strategy-page .phase2-review-summary p { max-width: 720px; margin: 7px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.strategy-page .phase2-review-status { font-size: 14px; font-weight: 700; }
.strategy-page .phase2-review-status.ready { color: var(--green); }
.strategy-page .phase2-review-status.attention { color: var(--amber); }
.strategy-page .phase2-review-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.strategy-page .phase2-review-disclosure { overflow: hidden; }
.strategy-page .phase2-review-disclosure > summary { display: flex; align-items: center; gap: 18px; padding: 16px 19px; cursor: pointer; list-style: none; }
.strategy-page .phase2-review-disclosure > summary::-webkit-details-marker { display: none; }
.strategy-page .phase2-review-disclosure > summary > span:first-child { display: grid; gap: 3px; min-width: 0; margin-right: auto; }
.strategy-page .phase2-review-disclosure > summary strong { color: var(--ink2); font-size: 15px; }
.strategy-page .phase2-review-disclosure > summary small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.strategy-page .phase2-review-toggle { color: var(--blue2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.strategy-page .phase2-review-disclosure[open] .phase2-review-toggle { font-size: 0; }
.strategy-page .phase2-review-disclosure[open] .phase2-review-toggle::after { content: "Hide details"; font-size: 14px; }
.strategy-page .phase2-review-disclosure-body { display: grid; gap: 14px; padding: 15px; border-top: 1px solid var(--line); }
.strategy-page .phase2-review-disclosure-body > .card { margin: 0; box-shadow: none; }
@media (max-width: 1100px) {
  .strategy-page .phase2-review-summary { align-items: flex-start; flex-direction: column; }
  .strategy-page .phase2-review-actions { width: 100%; }
  .strategy-page .phase-page .phase-connection-list > article { grid-template-columns: max-content max-content minmax(0, 1fr); }
  .strategy-page .phase-page .phase-connection-list > article > span:first-child { grid-column: 1 / -1; }
  .strategy-page .phase-page .phase-connection-list .connection-actions { grid-column: 3; }
}
@media (max-width: 700px) {
  .strategy-page .strategy-next { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .strategy-page .strategy-next .button { align-self: flex-start; }
  .strategy-page .strategy-roadmap-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .strategy-page .phase-connections-summary { align-items: center; }
  .strategy-page .overview-provider-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; }
  .strategy-page .overview-provider-name { grid-row: 1 / span 2; margin-right: 0; }
  .strategy-page .overview-provider-heading .state { grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap; }
  .strategy-page .overview-provider-expand { grid-column: 2; grid-row: 2; justify-self: end; }
  .strategy-page .overview-provider-detail { align-items: flex-start; flex-direction: column; }
  .strategy-page .phase-page .phase-connection-list > article { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .strategy-page .phase-page .phase-connection-list > article > .connection-requirement { grid-column: 1; grid-row: 2; }
  .strategy-page .phase-page .phase-connection-list > article > .state { grid-column: 2; grid-row: 2; }
  .strategy-page .phase-page .phase-connection-list .connection-actions { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .strategy-page .phase-page .phase-connection-list > article > .connection-requirement,
  .strategy-page .phase-page .phase-connection-list > article > .state { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .strategy-page .phase-page .phase-connection-list .connection-actions { max-width: 100%; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .strategy-page .topbar { flex-wrap: nowrap; gap: 6px; padding-inline: 10px; }
  .strategy-page .topbar .top-grow { display: none; }
  .strategy-page .topbar .site-chip { flex: 1 1 auto; min-width: 0; max-width: none; }
  .strategy-page .topbar .top-jinqua { width: 40px; min-width: 40px; justify-content: center; padding-inline: 5px; }
  .strategy-page .topbar .logout { padding-inline: 4px; }
  .strategy-page .topbar:has(#site-switcher) .site-chip,
  .strategy-page .topbar .admin-view-chip { display: none; }
  .strategy-page .topbar .site-switcher { flex: 1 1 auto; min-width: 0; max-width: 150px; }
}

/* 2026-09-25: the Start Here steps and the Strategy phases share one sidebar look, a number or a check mark and the status in words. */
/* 2026-09-25 (Jason): the six steps live in the sidebar under Start Here, with a check mark once done. */
.client-page .start-side-steps { display: grid; gap: 2px; margin: 4px 0 8px 12px; padding-left: 8px; border-left: 1px solid #ffffff26; }
.client-page .start-side-steps .start-step-button { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 9px; min-height: 40px; padding: 6px 8px; opacity: 1; }
.client-page .start-side-steps .start-step-button.active::after { content: none; }
.client-page .start-side-steps .start-step-number { width: 22px; height: 22px; background: #ffffff1f; color: #dbe7ea; font-size: 14px; }
.client-page .start-side-steps .start-step-button.active .start-step-number { background: #62c5df; color: #062b3c; }
.client-page .start-side-steps .start-step-button[data-state="done"] .start-step-number { background: #3f9f75; color: #fff; }
.client-page .start-side-steps .start-step-button[data-state="done"] .start-step-number::after { font-size: 14px; }
.client-page .start-side-steps .start-step-text { display: grid; min-width: 0; line-height: 1.2; }
.client-page .start-side-steps .start-step-label { font-size: 14px; }
.client-page .start-side-steps .start-step-status { color: #9eb5be; font-size: 14px; font-weight: 500; }
.client-page .start-side-steps .start-step-button.active .start-step-status { color: #d7eef5; }
.client-page .start-side-steps .start-step-button[data-state="next"] .start-step-status { color: #f6c453; }
/* A finished step shows only its check mark, also while it is the step on screen. */
.client-page .start-side-steps .start-step-button[data-state="done"] .start-step-number { font-size: 0; }
.client-page .start-side-steps .start-step-button[data-state="done"] .start-step-number::after { content: "\2713"; font-size: 14px; }
.client-page .start-side-steps .start-step-number { display: grid; place-items: center; flex: none; border-radius: 50%; font-weight: 700; }
.client-page .start-side-steps .phase-section-side-links { margin: 2px 0 4px 30px; }
/* Below 1024px the sidebar is a top bar: Start Here uses its step picker, and the phases stay a scrolling row. */
@media (max-width: 1024px) {
  .client-page:not(.strategy-page) .start-side-steps { display: none; }
  .strategy-page .start-side-steps { display: contents; }
  .strategy-page .start-side-steps .start-step-status, .strategy-page .start-side-steps .phase-section-side-links { display: none; }
}
/* 2026-09-25: Setup > Connections is its own page; the list does not repeat the page title or offer to hide itself. */
.strategy-page.strategy-connections #phase-connections > summary { cursor: default; }
.strategy-page.strategy-connections #phase-connections > summary strong,
.strategy-page.strategy-connections #phase-connections > summary .phase-connections-action { display: none; }
.strategy-page.strategy-connections #phase-connections > summary::-webkit-details-marker { display: none; }
