/* CREATEFOR.YOU catalogue and tool workspaces. Screen presentation only. */
@media screen {
/* Catalogue: preserve routes, filter classes and individual transparent artwork. */
html body#cfy-tools-catalogue :is(.tool-section,.finance-library){margin-top:56px}
html body#cfy-tools-catalogue .tool-group{padding:26px!important;margin:24px 0!important;border:1px solid #283954!important;border-radius:18px!important;background:rgba(17,28,47,.72)!important;box-shadow:none!important}
html body#cfy-tools-catalogue .group-head{gap:16px;margin-bottom:24px;padding:0;border:0;background:none}
html body#cfy-tools-catalogue .group-head h3{color:#f4f6fc!important;font-size:21px!important;font-weight:750;letter-spacing:-.02em;text-transform:none!important;margin:0 0 5px}
html body#cfy-tools-catalogue .group-head p{color:#a8b7d8!important;font-size:14px!important;line-height:1.6}
html body#cfy-tools-catalogue :is(.section-head h2,.tool-section>h2){color:#f4f6fc!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.18;letter-spacing:-.03em}
html body#cfy-tools-catalogue :is(.section-intro,.sheet-promise){color:#a8b7d8!important;line-height:1.65}
html body#cfy-tools-catalogue .gen-grid,html body#cfy-tools-catalogue .recap-grid{gap:20px!important}
html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card{display:grid!important;grid-template-columns:144px minmax(0,1fr)!important;grid-template-rows:1fr!important;grid-template-areas:none!important;align-items:center;gap:22px!important;box-sizing:border-box;min-width:0;min-height:266px;height:auto;margin:0!important;padding:24px!important;border:1px solid #283954!important;border-radius:16px!important;background:linear-gradient(145deg,#142035,#111c2f)!important;box-shadow:0 6px 18px rgba(0,0,0,.08)!important;overflow:visible!important;transition:border-color .18s ease,transform .18s ease}
html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card>.tool-art{display:flex!important;grid-area:1/1!important;align-items:center;justify-content:center;width:144px!important;height:170px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card .tool-art img{display:block!important;content:normal!important;width:160px!important;height:170px!important;max-width:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;background:transparent!important;border:0!important;border-radius:0!important;filter:drop-shadow(0 8px 10px rgba(0,0,0,.14))!important}
html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card .cfy-catalog-card__copy{display:flex!important;flex-direction:column!important;align-self:stretch!important;grid-area:1/2!important;min-width:0;width:auto;gap:0;padding:0!important;margin:0!important}
html body#cfy-tools-catalogue article.cfy-catalog-card :is(h3,h4){order:0;margin:0 0 12px!important;min-height:2.5em;color:#f4f6fc!important;font-size:21px!important;line-height:1.25!important;font-weight:750!important;letter-spacing:-.025em;text-transform:none!important;overflow-wrap:break-word}
html body#cfy-tools-catalogue article.cfy-catalog-card .tool-kind{order:-1;align-self:flex-start;display:block!important;min-height:17px;margin:0 0 9px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#aeb9e8!important;font-size:10px!important;font-weight:750!important;letter-spacing:.09em;line-height:1.5!important;text-transform:uppercase}
html body#cfy-tools-catalogue article.cfy-catalog-card .cfy-catalog-card__copy>p:not(.gen-benefit){margin:0 0 18px!important;padding:0;color:#a8b7d8!important;font-size:14px!important;line-height:1.65!important}
html body#cfy-tools-catalogue article.cfy-catalog-card .new-tag{display:none!important}
html body#cfy-tools-catalogue article.cfy-catalog-card .card-cta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:auto 0 0!important}
html body#cfy-tools-catalogue article.cfy-catalog-card .card-cta{display:inline-flex!important;align-items:center;align-self:flex-start;gap:10px;min-height:44px;margin:auto 0 0!important;padding:5px 0!important;border:0!important;border-radius:3px!important;background:none!important;box-shadow:none!important;color:#b49afa!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important;text-decoration:none!important;white-space:normal!important}
html body#cfy-tools-catalogue article.cfy-catalog-card .card-cta-row .card-cta{margin:0!important}
html body#cfy-tools-catalogue article.cfy-catalog-card .card-cta span{flex:none;font-size:20px}
html body#cfy-tools-catalogue article.cfy-catalog-card .xlsx-badge{background:none!important;border:0!important;padding:0!important;color:#a8b7d8!important;font-size:11px!important;font-weight:500!important}
html body#cfy-tools-catalogue .cfy-featured-grid>a{border:1px solid #283954!important;border-radius:16px!important;background:#121d30!important;box-shadow:none!important}
html body#cfy-tools-catalogue .cfy-featured-grid>a img.premium-feature-art{background:transparent!important;object-fit:contain!important;filter:drop-shadow(0 8px 10px rgba(0,0,0,.12))!important}
/* Tool screen chrome does not change theme tokens or any generated document. */
html body.cfy-polished-tool{color:#f4f6fc;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;line-height:1.6}
html body.cfy-polished-tool :is(.app-header,.site-header){box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;padding:18px clamp(18px,3vw,40px)!important;border:0!important;border-bottom:1px solid #283954!important;background:rgba(11,18,32,.97)!important;box-shadow:none!important;color:#f4f6fc!important}
html body.cfy-polished-tool :is(.app-header,.site-header) :is(h1,strong,.brand,.app-title){color:#f4f6fc!important;line-height:1.3;letter-spacing:-.02em}
html body.cfy-polished-tool :is(.app-header,.site-header) a{color:#c4cde4!important;text-decoration:none}
html body.cfy-polished-tool :is(.header-actions,.app-header__actions){display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
html body.cfy-polished-tool .cfy-wizard-header{box-sizing:border-box;width:min(1100px,calc(100% - 40px))!important;max-width:1100px;margin:28px auto!important;padding:28px 32px!important;border:1px solid #283954!important;border-radius:18px!important;background:#121d30!important;box-shadow:0 8px 24px rgba(0,0,0,.1)!important;color:#f4f6fc!important}
html body.cfy-polished-tool .cfy-wizard-header :is(.eyebrow,[data-stage]){margin:0 0 10px;color:#b5a1fa!important;font-size:11px!important;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
html body.cfy-polished-tool .cfy-wizard-header h2{color:#f4f6fc!important;font-size:clamp(25px,3vw,34px)!important;font-weight:750;line-height:1.2;letter-spacing:-.03em;margin:0 0 12px!important}
html body.cfy-polished-tool .cfy-wizard-header [data-help]{color:#a8b7d8!important;font-size:15px;line-height:1.65;margin:0 0 18px}
html body.cfy-polished-tool .cfy-wizard-header progress{display:block;width:100%;height:5px;border:0;border-radius:3px;background:#29364e;color:#9b85eb;accent-color:#9b85eb;margin:20px 0}
html body.cfy-polished-tool .cfy-wizard-header progress::-webkit-progress-bar{background:#29364e;border-radius:3px}html body.cfy-polished-tool .cfy-wizard-header progress::-webkit-progress-value{background:#9b85eb;border-radius:3px}
html body.cfy-polished-tool .cfy-wizard-actions{display:flex;flex-wrap:wrap;gap:10px}
html body.cfy-polished-tool .cfy-wizard-actions button,html body.cfy-polished-tool :is(button.secondary-button,a.secondary-button){min-height:44px;padding:10px 16px!important;border:1px solid #3b4b67!important;border-radius:10px!important;background:#18253a!important;color:#dce3f3!important;box-shadow:none!important;font-size:14px!important;font-weight:600;line-height:1.5}
html body.cfy-polished-tool :is(.panel,.options,.export-panel,.practice-shell,.welcome-panel){border-color:#283954!important;border-radius:16px!important;background:#121d30!important;box-shadow:0 5px 18px rgba(0,0,0,.08)!important;color:#f4f6fc!important}
html body.cfy-polished-tool .preview-panel{border-color:#283954!important;border-radius:16px!important;background:#111b2d!important;color:#f4f6fc!important}
html body.cfy-polished-tool main :is(h1,h2,h3):not(.pe-page *,.sheet *){color:#f4f6fc!important;letter-spacing:-.025em;line-height:1.3}
html body.cfy-polished-tool :is(.panel,.options,.export-panel) :is(label,legend,.field-label,.hint,.field-help,.section-note){color:#afbdd8!important;line-height:1.6}
html body.cfy-polished-tool :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),textarea,select){box-sizing:border-box;max-width:100%;border:1px solid #3b4b67!important;border-radius:9px!important;background:#0e1829!important;color:#edf1fa!important;box-shadow:none!important;font:inherit;line-height:1.5;color-scheme:dark}
html body.cfy-polished-tool :is(input,textarea)::placeholder{color:#8e9db8!important;opacity:1}
html body.cfy-polished-tool :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:#9b85eb}
html body.cfy-polished-tool :is(button.primary-button,a.primary-button,.cfy-wizard-footer button[data-next],.cfy-wizard-footer button[data-export]){min-height:44px;border:1px solid #9b85eb!important;border-radius:10px!important;background:#7761ce!important;color:#fff!important;box-shadow:none!important;font-weight:700;line-height:1.5}
html body.cfy-polished-tool .cfy-wizard-footer{box-sizing:border-box;border:1px solid #283954!important;border-radius:14px!important;background:#111c2f!important;box-shadow:0 6px 18px rgba(0,0,0,.1)!important;padding:14px 20px!important}
html body.cfy-polished-tool :is(.metric,.kpi){border:1px solid #30415d!important;border-radius:12px!important;background:#17253b!important;color:#f4f6fc!important;box-shadow:none!important}
html body.cfy-polished-tool :is(.metric,.kpi)>span{color:#a8b7d8!important}html body.cfy-polished-tool :is(.metric,.kpi)>strong{color:#f4f6fc!important}
html body.cfy-polished-tool .mobile-tabs button{color:#a8b7d8!important}html body.cfy-polished-tool .mobile-tabs button:is(.active,[aria-selected=true]){color:#d2c5ff!important;border-color:#9b85eb!important}
html body.cfy-polished-tool :is(button,a,input,select,textarea,summary):focus-visible,html body#cfy-tools-catalogue .card-cta:focus-visible{outline:2px solid #b49afa!important;outline-offset:4px!important}
html body.cfy-polished-tool button:disabled{opacity:.5;cursor:not-allowed}
@media(hover:hover){html body#cfy-tools-catalogue article.cfy-catalog-card:hover{border-color:#58668b!important;transform:translateY(-2px)}html body#cfy-tools-catalogue article.cfy-catalog-card .card-cta:hover{color:#d4c1ff!important}html body.cfy-polished-tool .cfy-wizard-actions button:hover{background:#20304a!important;border-color:#8075b1!important}}
@media(max-width:1050px) and (min-width:761px){html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card{grid-template-columns:112px minmax(0,1fr)!important;gap:16px!important;padding:20px!important}html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card>.tool-art{width:112px!important}html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card .tool-art img{width:130px!important;height:150px!important}html body#cfy-tools-catalogue article.cfy-catalog-card :is(h3,h4){font-size:20px!important;min-height:3.75em}}
@media(max-width:760px){html body#cfy-tools-catalogue :is(.gen-grid,.recap-grid){grid-template-columns:1fr!important}html body#cfy-tools-catalogue .tool-group{padding:20px!important}html body.cfy-polished-tool :is(.app-header,.site-header){padding:14px 18px!important;gap:12px}html body.cfy-polished-tool .cfy-wizard-header{width:calc(100% - 28px)!important;margin:18px auto!important;padding:22px!important}html body.cfy-polished-tool .cfy-wizard-actions button{flex:1 1 190px}html body.cfy-polished-tool .cfy-wizard-footer{padding:12px 16px!important}}
@media(max-width:600px){html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:156px 1fr!important;gap:16px!important;padding:22px!important;min-height:0}html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card>.tool-art{grid-area:1/1!important;width:100%!important;height:156px!important}html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card .cfy-catalog-card__copy{grid-area:2/1!important}html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card .tool-art img{width:190px!important;height:180px!important}html body#cfy-tools-catalogue article.cfy-catalog-card :is(h3,h4){min-height:0;font-size:23px!important}html body#cfy-tools-catalogue .tool-group{padding:16px!important}html body#cfy-tools-catalogue .group-head .cameo{display:none!important}}
@media(prefers-reduced-motion:reduce){html body#cfy-tools-catalogue article.cfy-catalog-card{transition:none!important;transform:none!important}}
}

@media screen {
/* Keep UI tokens local: renderers continue reading the chosen document theme from body. */
html body.cfy-polished-tool>:is(main,.app-header,.site-header,.cfy-wizard-header,.cfy-wizard-footer,.mobile-tabs){--surface:#121d30;--surface-sunken:#101a2c;--surface-elevated:#18253a;--surface-glass:#18253a;--soft-fill:#18253a;--text-primary:#f4f6fc;--text-secondary:#a8b7d8;--text-tertiary:#a8b7d8;--border-subtle:#283954;--border-strong:#3b4b67;--accent-mint:#b49afa;--accent-mint-ink:#111a2a;--accent-teal:#a8b7d8;--accent-gold:#b5a1fa;--accent-gold-deep:#9b85eb;--ink:#f4f6fc;--muted:#a8b7d8;--text:#f4f6fc;--line:#283954;--panel:#121d30;--paper:#121d30;--cfy-text:#f4f6fc;--cfy-muted:#a8b7d8;--cfy-border:#283954;--cfy-surface:#121d30}
html body.cfy-polished-tool .cfy-wizard-header :is(.eyebrow,[data-stage]){background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body.cfy-polished-tool .app-header .header-actions{flex:1 1 410px;justify-content:flex-end}
html body.cfy-polished-tool .app-header>div:first-of-type{min-width:0;flex:1 1 380px}
html body.cfy-polished-tool .app-header p{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:68ch;color:#a8b7d8!important;font-size:14px!important}
html body#cfy-tools-catalogue article.cfy-catalog-card.cfy-catalog-card>.tool-art{box-shadow:none!important;border-radius:0!important}
html body#cfy-tools-catalogue .sheet-promise{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
html body#cfy-tools-catalogue .workbook-facts{background:#121d30!important;border-color:#283954!important;box-shadow:none!important;color:#a8b7d8!important}
html body#cfy-tools-catalogue .workbook-facts b{color:#d8e0f3!important}
}

@media screen {
html body.cfy-polished-tool .ffy-site-music-controls{border:1px solid #3b4b67!important;border-radius:11px!important;background:#121d30!important;padding:4px!important;box-shadow:none!important;gap:5px!important}
html body.cfy-polished-tool .ffy-site-music-controls button{min-height:38px;border:1px solid #3b4b67!important;border-radius:8px!important;background:#18253a!important;color:#dce3f3!important;box-shadow:none!important;font-size:12px!important}
html body.cfy-polished-tool>header:not(.app-header):not(.site-header){border-bottom:1px solid #283954!important;color:#f4f6fc}
html body.cfy-polished-tool>header:not(.app-header):not(.site-header) a{color:#c4cde4!important;text-decoration:none}
}
