/* Customer workspace. Loaded only for customer accounts; all assets are local. */
.customer-portal {
    --c-canvas: #f7f8fa;
    --c-surface-2: #f8f9fc;
    --c-line: #e7eaf0;
    --c-line-strong: #d4dae4;
    --c-ink: #182239;
    --c-muted: #667085;
    --c-faint: #6d7789;
    --c-accent: #3458da;
    --c-accent-ink: #294ac1;
    --c-accent-soft: #edf1ff;
    --r-md: 14px;
    --sh-1: none;
    background: var(--c-canvas);
    font-size: .9rem;
}
.customer-portal .shell { display: block; }
.customer-portal .work { margin-left: 228px; min-height: calc(100vh - 76px); }
.customer-portal .work__body { width: min(1240px, calc(100% - 72px)); margin: 0 auto; padding: 38px 0 56px; }
.customer-portal .work__foot { margin-top: auto; background: transparent; }
.customer-portal .work__foot-inner { width: min(1240px, calc(100% - 72px)); }
.customer-portal h1 { font-weight: 650; letter-spacing: -.045em; }
.customer-portal h2 { font-weight: 650; }
.customer-portal .kicker { font-size: .66rem; letter-spacing: .11em; color: var(--c-muted); }
.customer-portal .btn { background: var(--c-accent); border-color: var(--c-accent); box-shadow: none; border-radius: 8px; min-height: 42px; font-weight: 600; }
.customer-portal .btn:hover { background: #2846b7; transform: none; }
.customer-portal .btn--ghost { background: #fff; border-color: var(--c-line-strong); color: var(--c-ink); }
.customer-portal .btn--ghost:hover { background: #f2f4fa; border-color: #9daacc; }
.customer-portal :focus-visible { outline: 3px solid #3458da; outline-offset: 3px; }
.client-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; width: 228px; padding: 34px 20px 22px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--c-line); overflow-y: auto; }
.client-sidebar__brand { padding: 0 12px 48px; }
.client-sidebar__brand .mark__logo { height: 34px; }
.client-sidebar__brand .mark__tag { font-size: .57rem; margin-top: 6px; letter-spacing: .22em; }
.client-nav-label { padding-left: 13px; font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); margin-bottom: 14px; }
.client-nav { display: grid; gap: 7px; }
.client-nav a { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; color: #586278; font-size: .83rem; font-weight: 550; }
.client-nav a:hover { background: #f6f7fb; text-decoration: none; }
.client-nav a[aria-current] { color: #294ac1; background: #edf1ff; font-weight: 650; }
.client-nav svg { width: 19px; height: 19px; }
.client-nav .client-nav__arrow { width: 14px; margin-left: auto; opacity: 0; }
.client-nav a[aria-current] .client-nav__arrow { opacity: 1; }
.client-sidebar__note { margin: auto 10px 30px; padding-top: 70px; }
.client-note-icon { display: grid; place-items: center; width: 36px; height: 36px; background: #edf1ff; color: #3458da; border-radius: 9px; margin-bottom: 16px; }
.client-sidebar__note h2 { font-size: 1rem; line-height: 1.45; }
.client-sidebar__note p { color: var(--c-muted); font-size: .76rem; line-height: 1.75; }
.client-sidebar__account { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--c-line); padding-top: 20px; }
.customer-portal .who__avatar { width: 35px; height: 35px; background: #edf1ff; color: #3458da; box-shadow: none; border: 0; font-size: .72rem; }
.client-sidebar__account div { min-width: 0; }
.client-sidebar__account strong, .client-sidebar__account span:not(.who__avatar) { display: block; overflow-wrap: anywhere; font-size: .73rem; }
.client-sidebar__account div span { color: var(--c-muted); margin-top: 2px; }
.client-logout { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--c-muted); font: inherit; font-size: .73rem; min-height: 42px; cursor: pointer; margin: 6px 0 0 42px; }
.client-topbar { margin-left: 228px; padding: 0 36px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--c-line); background: #fff; }
.client-topbar__location { display: flex; gap: 13px; font-size: .76rem; color: var(--c-muted); }
.client-topbar__location strong { font-weight: 550; color: var(--c-ink); }
.client-topbar__company { display: flex; gap: 8px; align-items: center; font-size: .73rem; color: var(--c-muted); max-width: 45%; overflow-wrap: anywhere; }
.client-topbar__company svg { color: #46816a; }
.client-mobile-nav { display: none; }
.client-welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; }
.client-welcome .kicker { display: block; margin-bottom: 10px; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.client-welcome h1 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 10px; }
.client-welcome p { color: var(--c-muted); font-size: .86rem; margin-bottom: 0; }
.client-date { white-space: nowrap; display: flex; gap: 8px; align-items: center; color: var(--c-muted); font-size: .74rem; }
.client-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
.client-dashboard > * { min-width: 0; }
.client-section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.client-section-heading h2, .client-section-heading h3 { font-size: .93rem; margin: 0; }
.client-section-heading > span, .client-section-heading > svg { color: var(--c-muted); font-size: .73rem; }
.client-project { border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; background: white; margin-bottom: 24px; }
.client-project__identity { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; padding: 24px; }
.client-project__identity > div { flex: 1; min-width: 0; }
.client-project__identity h2 { font-size: 1.06rem; margin: 4px 0 0; }
.client-project__icon { display: grid; place-items: center; width: 42px; height: 42px; background: #f2f4fa; color: #54658c; border-radius: 10px; }
.client-project__icon svg { width: 22px; height: 22px; }
.client-action { position: relative; display: flex; align-items: center; min-height: 290px; gap: 16px; padding: 30px 28px; background: #192b57; overflow: hidden; }
.client-action__copy { flex: 1; min-width: 0; position: relative; z-index: 1; }
.client-action__eyebrow { display: flex; gap: 7px; align-items: center; color: #cbd7fa; font-size: .67rem; margin-bottom: 18px; }
.client-action__eyebrow > span { width: 5px; height: 5px; background: #a3b9ff; border-radius: 50%; }
.client-action h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.2; color: white; font-weight: 550; letter-spacing: -.03em; margin-bottom: 14px; }
.client-action p { max-width: 34ch; color: #c2cee8; font-size: .78rem; line-height: 1.7; margin-bottom: 24px; }
.customer-portal .client-action .btn { background: #fff; color: #1a2e63; border-color: #fff; font-size: .78rem; }
.customer-portal .client-action .btn:hover { background: #e8eeff; }
.client-action__art { width: 205px; flex-shrink: 0; transform: rotate(-5deg) translateX(12px); }
.client-browser { border: 1px solid #7082ac; border-radius: 9px; background: #eef2fb; box-shadow: 0 20px 40px #08153355; overflow: hidden; }
.client-browser__bar { display: flex; align-items: center; gap: 3px; background: #fff; padding: 10px 8px; border-bottom: 1px solid #d7dfef; }
.client-browser__bar i { width: 4px; height: 4px; border-radius: 50%; background: #aebad3; }
.client-browser__bar span { font-size: 6px; margin-left: 12px; color: #6f7d9c; }
.client-browser__body { padding: 23px 17px; }
.client-browser__line { width: 28px; height: 4px; background: #879eda; display: block; margin-bottom: 13px; }
.client-browser__body b { display: block; color: #243b70; font-size: 17px; line-height: 1.25; font-weight: 650; }
.client-browser__button { display: block; width: 57px; height: 15px; background: #4263cf; border-radius: 3px; margin-top: 13px; }
.client-browser__tiles { display: flex; gap: 7px; margin-top: 24px; }
.client-browser__tiles i { width: 47px; height: 32px; border-radius: 3px; background: #d6dff2; }
.client-browser__tiles i:nth-child(2) { background: #c3d0ee; }
.client-art-label { position: absolute; bottom: -12px; left: -30px; display: flex; align-items: center; gap: 7px; background: #fff; color: #354d7f; font-size: .6rem; padding: 10px 13px; border-radius: 7px; transform: rotate(5deg); box-shadow: 0 5px 15px #0b173b33; }
.client-project__progress { padding: 22px 24px; }
.client-project__progress > p { font-size: .71rem; color: var(--c-muted); margin: 10px 0 0; }
.client-project__body { padding: 0 24px 24px; }
.client-next { display: flex; gap: 12px; padding: 22px 0; margin-top: 8px; }
.client-next__icon { color: #3458da; margin-top: 3px; }
.client-next p { margin: 6px 0; font-size: .86rem; }
.client-deadline { color: var(--c-muted); font-size: .76rem; }
.client-all-done { display: flex; align-items: center; gap: 8px; color: #42745e; background: #f1f7f4; border-radius: 8px; padding: 13px; font-size: .8rem; }
.client-project__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--c-line); }
.client-project__foot > span { color: var(--c-muted); font-size: .74rem; }
.client-documents { border: 1px solid var(--c-line); border-radius: 12px; background: #fff; overflow: hidden; }
.client-documents a { padding: 20px 17px; display: flex; align-items: center; gap: 11px; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.client-documents a:hover { background: #f7f9ff; text-decoration: none; }
.client-documents a > span:nth-child(2) { flex: 1; }
.client-documents strong { font-size: .8rem; display: block; font-weight: 600; }
.client-documents small { font-size: .7rem; display: block; margin-top: 4px; color: var(--c-muted); }
.client-documents a > svg { color: #73809b; width: 14px; }
.client-document-icon { width: 34px; height: 39px; display: grid; place-items: center; background: #f0f3fb; color: #5c71a7; border-radius: 7px; flex-shrink: 0; }
.client-documents .client-documents__all { font-size: .74rem; color: #3458da; justify-content: space-between; padding-block: 15px; border: 0; }
.client-roadmap { margin-top: 28px; padding: 6px 4px; }
.client-roadmap h2 { font-size: 1rem; margin: 9px 0 23px; line-height: 1.4; }
.client-roadmap ol { padding: 0; margin: 0; list-style: none; }
.client-roadmap li { display: flex; gap: 13px; position: relative; padding-bottom: 23px; }
.client-roadmap li > span { width: 25px; height: 25px; border: 1px solid #dce2ee; border-radius: 50%; background: var(--c-canvas); display: grid; place-items: center; font-size: .62rem; color: #71809c; flex-shrink: 0; z-index: 1; }
.client-roadmap li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 26px; bottom: 0; width: 1px; background: #e0e5ee; }
.client-roadmap strong { font-size: .77rem; font-weight: 600; }
.client-roadmap p { color: var(--c-muted); font-size: .74rem; margin: 5px 0 0; line-height: 1.7; }
/* Shared customer screens */
.customer-portal .masthead { padding: 0; margin-bottom: 28px; background: none; border: 0; box-shadow: none; border-radius: 0; align-items: flex-end; }
.customer-portal .masthead__title { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
.customer-portal .masthead__lede { font-size: .86rem; max-width: 58ch; line-height: 1.7; }
.customer-portal .masthead__facts { margin-top: 18px; font-size: .76rem; }
.customer-portal .crumbs { margin-bottom: 18px; font-size: .72rem; }
.customer-portal .panel { box-shadow: none; }
.customer-portal .panel__head { background: #fff; padding: 22px 24px; }
.customer-portal .panel__head h2 { font-size: 1rem; }
.customer-portal .panel__body { padding: 24px; }
.customer-portal .panel__foot { background: #fff; padding: 18px 24px; }
.customer-portal .panel--accent { border-color: #d4ddfa; }
.customer-portal .panel--accent .panel__head { background: #eff3ff; }
.customer-portal .metric { background: #fff; background-image: none; border: 1px solid var(--c-line); box-shadow: none; border-radius: 12px; padding: 20px; }
.customer-portal .metric::before, .customer-portal .metric::after { display: none; }
.customer-portal .metric__label { font-size: .69rem; font-weight: 550; text-transform: none; letter-spacing: 0; }
.customer-portal .metric__value { font-size: 1.75rem; font-weight: 550; margin-top: 8px; }
.customer-portal .metric__value--sm { font-size: 1.02rem; }
.customer-portal .metric__hint { font-size: .71rem; }
.customer-portal .viewnav { border-radius: 0; background: transparent; padding: 0; gap: 22px; border: 0; border-bottom: 1px solid var(--c-line); margin-bottom: 26px; box-shadow: none; overflow-x: auto; flex-wrap: nowrap; }
.customer-portal .viewnav__link { display: flex; align-items: center; gap: 7px; padding: 10px 1px 15px; white-space: nowrap; border-radius: 0; font-size: .77rem; border-bottom: 2px solid transparent; }
.customer-portal .viewnav__link[aria-current] { background: none; border-bottom-color: #3458da; color: #3458da; box-shadow: none; }
.customer-portal .viewnav__link svg { width: 15px; height: 15px; }
.customer-portal .phase { background: #f8f9fc; box-shadow: none; border-color: #e7eaf0; }
.customer-portal .phase--done { background: #f0f6f2; border-color: #d9e8df; }
.customer-portal .phase--now { background: #edf1ff; border-color: #cbd6fa; }
.customer-portal .row { padding: 20px 24px; }
.customer-portal .row__title { font-size: .86rem; }
.customer-portal .row__meta { font-size: .73rem; }
.customer-portal .pill { font-size: .67rem; box-shadow: none; }
.customer-portal .notice { box-shadow: none; border-radius: 10px; }
.customer-portal .segment { background: #eceff5; border: 0; border-radius: 8px; padding: 4px; }
.customer-portal .segment a { font-size: .76rem; }
.customer-portal .segment a[aria-current] { background: #fff; color: var(--c-ink); box-shadow: 0 1px 3px #18223912; }
.client-document-list__head { display: grid; grid-template-columns: 1.6fr 1fr 1fr; padding: 15px 24px; padding-right: 150px; background: #fafbfc; border-bottom: 1px solid var(--c-line); color: var(--c-muted); font-size: .7rem; }
.client-document-list__identity { position: relative; padding-left: 48px; }
.client-document-list__identity .client-document-icon { position: absolute; left: 0; top: 2px; }
.customer-portal .totals__sum { border-top: 1px solid var(--c-line); font-size: 1.15rem; }
.client-onboarding-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--c-muted); font-size: .72rem; margin-top: 16px; }
.client-onboarding-meta span { display: flex; align-items: center; gap: 7px; }
.client-onboarding-meta svg { color: #54725f; }
.client-onboarding-progress { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px 24px; }
.customer-portal .wizard { grid-template-columns: 215px minmax(0, 1fr); gap: 24px; }
.customer-portal .wizard__rail { top: 24px; }
.customer-portal .step a { font-size: .74rem; padding: 12px 10px; border-radius: 8px; }
.customer-portal .step__dot { width: 23px; height: 23px; box-shadow: none; font-size: .63rem; }
.customer-portal .step__meta { font-size: .64rem; color: var(--c-muted); }
.customer-portal .step--gap:not(.step--now) .step__dot { background: #f3f4f7; border-color: #dce1e9; color: #68758a; }
.customer-portal .step--now a { background: #edf1ff; }
.customer-portal .step--now .step__dot { background: #3458da; color: #fff; border-color: #3458da; }
.customer-portal .field { margin-bottom: 24px; }
.customer-portal .field__hint { color: var(--c-muted); font-size: .75rem; line-height: 1.6; }
.customer-portal .fieldgroup { color: #3458da; font-size: .77rem; border-bottom-color: var(--c-line); padding-bottom: 12px; margin-top: 30px; }
.customer-portal input, .customer-portal textarea, .customer-portal select { border-radius: 8px; padding: 12px; background-color: #fff; box-shadow: none; }
.customer-portal input:focus, .customer-portal textarea:focus, .customer-portal select:focus { border-color: #3458da; box-shadow: 0 0 0 3px #3458da18; }
.customer-portal input[type="checkbox"], .customer-portal input[type="radio"] { padding: 0; }
@media (max-width: 1250px) {
    .client-dashboard { grid-template-columns: minmax(0, 1fr) 230px; gap: 22px; }
    .client-action__art { width: 155px; }
    .client-browser__body b { font-size: 14px; }
    .client-action { padding: 26px 22px; }
    .client-action h3 { font-size: 1.6rem; }
    .client-date { display: none; }
}
@media (max-width: 1100px) {
    .client-sidebar { width: 200px; padding-inline: 14px; }
    .customer-portal .work, .client-topbar { margin-left: 200px; }
    .customer-portal .work__body, .customer-portal .work__foot-inner { width: calc(100% - 44px); }
    .client-topbar { padding-inline: 22px; }
    .client-dashboard { grid-template-columns: minmax(0, 1fr); }
    .client-dashboard__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
    .client-dashboard__aside > .client-section-heading { grid-column: 1; }
    .client-roadmap { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
    .client-action__art { width: 200px; }
    .customer-portal .wizard { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; }
    .customer-portal .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .client-sidebar { display: none; }
    .customer-portal .work { margin-left: 0; }
    .client-topbar { margin-left: 0; height: 64px; padding: 0 20px; position: sticky; top: 0; z-index: 60; }
    .client-topbar__company { display: none; }
    .client-mobile-nav { display: block; }
    .client-mobile-nav summary { display: flex; gap: 7px; align-items: center; list-style: none; cursor: pointer; border: 1px solid var(--c-line); border-radius: 7px; padding: 9px 11px; font-size: .76rem; }
    .client-mobile-nav summary::-webkit-details-marker { display: none; }
    .client-mobile-nav nav { position: absolute; top: 58px; right: 16px; width: 220px; padding: 8px; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px #18223920; }
    .client-mobile-nav a, .client-mobile-nav button { display: block; width: 100%; padding: 14px; color: var(--c-ink); background: none; border: 0; border-radius: 6px; text-align: left; font: inherit; font-size: .82rem; cursor: pointer; }
    .client-mobile-nav a[aria-current] { color: #3458da; background: #edf1ff; }
    .customer-portal .work__body { width: calc(100% - 36px); padding-top: 26px; }
    .customer-portal .work__foot-inner { width: calc(100% - 36px); }
    .client-welcome { margin-bottom: 26px; }
    .customer-portal .wizard { grid-template-columns: minmax(0, 1fr); }
    .customer-portal .wizard__rail { position: static; }
    .customer-portal .stepper { display: flex; overflow-x: auto; padding-bottom: 6px; gap: 8px; }
    .customer-portal .step { flex: 0 0 175px; }
    .customer-portal .step::before { display: none; }
    .customer-portal .step a { height: 100%; }
    .client-document-list__head { display: none; }
}
@media (max-width: 540px) {
    .client-welcome h1 { font-size: 1.65rem; }
    .client-welcome p { font-size: .8rem; line-height: 1.7; }
    .client-project__identity { padding: 18px; }
    .client-project__identity h2 { font-size: .98rem; }
    .client-action { padding: 24px; min-height: 0; }
    .client-action__art { display: none; }
    .client-action h3 { font-size: 1.9rem; }
    .client-action p { max-width: 100%; }
    .client-action .btn { width: 100%; justify-content: center; }
    .client-project__progress, .client-project__body { padding: 20px; }
    .client-project__foot { padding: 16px 20px; flex-wrap: wrap; }
    .client-dashboard__aside { display: block; }
    .client-roadmap { margin-top: 26px; padding: 0 5px; }
    .client-roadmap ol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 15px; }
    .client-roadmap li { padding-bottom: 0; gap: 9px; }
    .client-roadmap li::after { display: none; }
    .customer-portal .panel__body, .customer-portal .panel__head { padding: 20px; }
    .customer-portal .panel__foot { padding: 16px 20px; }
    .customer-portal .metric { padding: 16px; }
    .customer-portal .viewnav { gap: 20px; }
    .customer-portal .masthead__actions { width: 100%; margin-top: 5px; }
    .customer-portal .row { padding: 18px; }
    .customer-portal input, .customer-portal select, .customer-portal textarea { font-size: 16px; }
    .client-onboarding-progress { padding: 18px; grid-template-columns: 1fr; }
    .client-onboarding-meta { gap: 10px; }
    .client-document-list .row__cols { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .customer-portal *, .customer-portal *::before, .customer-portal *::after { animation: none !important; transition: none !important; }
}

/* The invitation and sign-in share the visual language of the workspace. */
.customer-gate .gate { background: #f7f8fa; }
.customer-gate .gate__split { border-radius: 16px; box-shadow: 0 12px 45px #1822390a; }
.customer-gate .gate__brand { background: #192b57; padding: 42px; }
.customer-gate .gate__brand::after { display: none; }
.customer-gate .gate__brandcopy h1 { font-weight: 550; letter-spacing: -.04em; font-size: 2.25rem; }
.customer-gate .gate__brandcopy p { color: #c2cee8; line-height: 1.75; font-size: .88rem; }
.customer-gate .gate__points { gap: 16px; margin-top: 30px; }
.customer-gate .gate__points li { font-size: .8rem; }
.customer-gate .gate__points svg { color: #b4c5ff; }
.customer-gate .gate__brandfoot { font-size: .62rem; }
.customer-gate .gate__form { padding: 42px; }
.customer-gate .gate__title { font-size: 1.8rem; letter-spacing: -.04em; }
.customer-gate .btn { background: #3458da; box-shadow: none; border-color: #3458da; border-radius: 8px; }
.customer-gate input { border-radius: 8px; padding: 12px; }
.customer-gate input[type="checkbox"] { padding: 0; }
@media (max-width: 640px) {
    .customer-gate .gate { padding: 20px 16px; }
    .customer-gate .gate__form { padding: 28px 22px; }
    .customer-gate input { font-size: 16px; }
}
@media print {
    .client-sidebar, .client-topbar { display: none !important; }
    .customer-portal .work { margin: 0; }
    .customer-portal .work__body { width: 100%; padding: 0; }
}
@media (max-width: 640px) {
    .customer-gate .gate__brand { display: none; }
    .customer-gate .gate__split { grid-template-columns: minmax(0, 1fr); }
    .customer-gate .gate__main { padding-top: 24px; align-items: start; }
}
