/* A light illustrated layer: never apply texture to tables, charts or form fields. */
.client-crayon {
    --paper: #fffdf7;
    --pencil: #243d53;
    --pencil-line: #ddd9cc;
    background: radial-gradient(ellipse at 95% 0, #eaf3ee 0, transparent 36%), #f8f8f3;
}
.client-crayon .sidebar { background: #fffef9; }
.client-crayon .main-content { min-width: 0; }
.client-crayon .main-content { max-width: 100%; }
.client-crayon .sidebar { overflow-y: auto; }
.financial-entry-column { max-width: 1100px; margin-inline: auto; min-width: 0; }
.financial-entry-column .card-zenisk { min-width: 0; }
.financial-entry-column .reports-compact-list strong,
.financial-entry-column .reports-compact-list small { overflow-wrap: anywhere; }
.setup-navigation { flex: 1; min-width: 0; }
.setup-nav-heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.setup-nav-heading > span { color: #526849; font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.setup-nav-heading > strong { font-size: .82rem; color: #526276; }
.setup-navigation ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.setup-nav-step { display: flex; align-items: center; gap: 10px; padding: 9px 8px; text-decoration: none; color: #263e5b; font-size: .84rem; font-weight: 500; border-left: 3px solid transparent; }
.setup-nav-step > span:nth-child(2) { flex: 1; }
.setup-step-number { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #bccbb9; border-radius: 50%; font-size: .73rem; background: #fff; }
.setup-nav-step[aria-disabled="true"] { color: #65707d; }
.setup-navigation .is-viewed .setup-nav-step { background: #eaf2ee; border-left-color: #1e3a8a; color: #1e3a8a; font-weight: 700; }
.setup-navigation .is-complete .bi-check-circle-fill { color: #16754c; }
.setup-nav-footnote { margin-top: 18px; font-size: .75rem; color: #526276; line-height: 1.6; }
.setup-help { font-size: .8rem; color: #1e3a8a; }
.setup-existing-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: .8rem; }
.selected-service-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; border: 2px solid #1e3a8a; background: #edf2fb; border-radius: 10px; color: #172d6b; }
.selected-service-label { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; letter-spacing: .06em; }
.selected-service-banner > strong { font-size: 1.08rem; font-weight: 800; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.selected-service-banner > a { font-size: .8rem; color: #1e3a8a; }
.selected-plan-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px; background: #1e3a8a; color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.4; letter-spacing: .08em; margin-bottom: 10px; }
.client-plan-card.saved-plan-selected { border: 2px solid #1e3a8a; background: linear-gradient(135deg, #edf2fb, #fffdf7); }
.selected-plan-terms { display: block; margin-top: 8px; color: #46576a; }
.mobile-setup-bottom-nav { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.mobile-setup-bottom-nav > * { flex: 1; min-height: 48px; gap: 2px; color: #526276; font-size: .75rem; }
.mobile-setup-bottom-nav > .active { color: #1e3a8a; }
.mobile-setup-bottom-nav button { background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.setup-steps-popover { position: fixed; inset: auto 12px calc(88px + env(safe-area-inset-bottom)); width: min(560px, calc(100vw - 24px)); max-height: 72dvh; margin: 0 auto; overflow-y: auto; padding: 18px; border: 1px solid #b8cabb; border-radius: 18px; background: #fffef9; color: #243d53; box-shadow: 0 15px 50px #172d6b33; }
.setup-steps-popover::backdrop { background: #172d6b55; }
.setup-popover-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.setup-popover-heading h2 { font-size: 1.08rem; font-weight: 700; margin: 0 0 3px; }
.setup-popover-heading p { font-size: .78rem; color: #526276; margin: 0; }
.setup-popover-heading > button { min-width: 44px; min-height: 44px; }
.setup-popover-package { padding: 10px 12px; background: #edf2fb; border-left: 3px solid #1e3a8a; margin: 14px 0; }
.setup-popover-package > span { display: block; font-size: .73rem; color: #46576a; }
.setup-popover-package > strong { font-size: .9rem; color: #172d6b; overflow-wrap: anywhere; }
.setup-steps-popover .setup-navigation--mobile { margin: 12px 0 0; padding: 0; border: 0; }
.setup-steps-popover .setup-nav-step { min-height: 44px; }
.setup-mobile-toggle { display: none; }
.investment-entry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1100px; margin-inline: auto; }
.investment-entry-option { display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px; padding: 18px; color: #213b58; background: #fffef9; border: 1px solid #bfcfbd; border-radius: 12px; text-decoration: none; }
.investment-entry-option > i { grid-row: span 2; font-size: 1.5rem; color: #1e3a8a; }
.investment-entry-option > span { font-size: .83rem; color: #526276; }
.investment-entry-option:hover { background: #eff5ec; }
button.investment-entry-option { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.setup-nav-step:focus-visible, .investment-entry-option:focus-visible, .setup-mobile-toggle:focus-visible { outline: 3px solid #1e3a8a; outline-offset: 3px; }
@media (min-width: 992px) {
    .client-crayon .main-content { max-width: calc(100% - var(--sidebar-width)); }
}
@media (max-width: 991.98px) {
    .selected-service-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; }
    .selected-service-banner > strong { grid-column: 1 / -1; grid-row: 2; }
    .selected-service-banner > a { grid-column: 2; grid-row: 1; }
    .setup-navigation--mobile { border: 1px solid #c3d3bc; background: #fffef9; padding: 12px; border-radius: 12px; margin-bottom: 14px; }
    .setup-navigation--mobile .setup-nav-heading { flex-direction: row; justify-content: space-between; margin-bottom: 8px; }
    .setup-mobile-toggle { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #213b58; font-size: .88rem; font-weight: 600; cursor: pointer; }
    .setup-mobile-toggle > span { font-size: .76rem; color: #1e3a8a; }
    .setup-navigation--mobile ol { margin-top: 10px; }
    .investment-entry-options { grid-template-columns: 1fr; }
}
.client-crayon .financial-detail-section-card { min-height: 90px; gap: 10px; flex-wrap: wrap; }
.client-crayon .financial-detail-section-card .flex-grow-1 { min-width: 0; }
.client-crayon .nav-link-desk.active { background: #eaf2ee; color: #1e3a8a; }
.crayon-page-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 22px;
    margin-bottom: 20px;
    border: 1px solid var(--pencil-line, #ddd9cc);
    border-radius: 8px 16px 10px 14px;
    background: linear-gradient(115deg, #fffdf7, #f3f7ef);
    position: relative;
}
.crayon-page-heading::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 22px;
    width: 76px;
    height: 4px;
    border-radius: 45%;
    background: #d5ac59;
    transform: rotate(-1deg);
}
.crayon-page-copy { flex: 1; min-width: 0; }
.crayon-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.crayon-eyebrow { display: block; color: #61745c; font-size: .7rem; letter-spacing: .13em; font-weight: 600; margin-bottom: 5px; }
.crayon-page-heading h1 { font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 700; color: #243d53; margin: 0 0 5px; }
.crayon-page-heading p { font-size: .92rem; color: #53616a; margin: 0; max-width: 65ch; }
.crayon-page-art { width: 100px; height: 100px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.crayon-page-heading--wide .crayon-page-art { width: clamp(150px, 22vw, 240px); height: 112px; }
.crayon-snapshot { border-color: #b8cabb; background: linear-gradient(135deg, #fffef9, #ffffff 70%); }
.crayon-stat-cell dt { display: flex; align-items: center; min-height: 42px; }
.crayon-stat-cell img { flex-shrink: 0; }
.crayon-stat-cell dd { margin: 6px 0 0; font-size: clamp(1rem, 1.6vw, 1.3rem); overflow-wrap: anywhere; }
.crayon-story-card { position: relative; border-color: #d9d7c7; background: #fffdf6; }
.crayon-story-card--blue { background: #f4f8fb; border-color: #cbd9e1; }
.crayon-story-content { display: flex; gap: 14px; align-items: center; }
.crayon-story-content > div { flex: 1; min-width: 0; }
.crayon-story-art { width: 88px; height: 88px; object-fit: contain; mix-blend-mode: multiply; }
.crayon-inline-art { width: 42px; height: 42px; object-fit: contain; vertical-align: middle; margin-right: 8px; mix-blend-mode: multiply; }
.client-crayon .onboarding-journey-card { background: linear-gradient(115deg, #fffdf7, #f3f8f4); border-color: #bacdbf; }
.crayon-setup-copy { display: flex; gap: 12px; align-items: center; }
.crayon-setup-art { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; mix-blend-mode: multiply; }
.crayon-explore { background: #f5f8f1; border-color: #c5d3bf; }
@media (max-width: 575.98px) {
    .crayon-page-heading { padding: 12px; gap: 10px; margin-bottom: 16px; }
    .crayon-page-heading p { font-size: .8rem; }
    .crayon-page-art { width: 62px; height: 68px; }
    .crayon-page-heading--wide .crayon-page-art { width: 96px; height: 74px; }
    .crayon-stat-cell img { width: 30px; height: 34px; margin-right: 6px; }
    .crayon-stat-cell dt { font-size: .73rem; }
    .crayon-story-art { width: 64px; height: 64px; }
    .crayon-setup-art { width: 42px; height: 48px; }
    .crayon-setup-copy { gap: 8px; }
}
@media print {
    .crayon-page-art, .crayon-story-art, .crayon-setup-art { display: none; }
    .crayon-page-heading, .crayon-story-card, .client-crayon { background: white; }
}
