/* CREATEFOR.YOU interface repairs, 2026-10-24. Output theme tokens on body remain unchanged. */
@media screen {
/* Theme choices style the exported document; workspace panels always use readable navy surfaces. */
html body.cfy-polished-tool>:is(main,.app-header,.site-header,.cfy-wizard-header,.cfy-wizard-footer,.mobile-tabs){--soft:#19283f;--soft-fill:#19283f;--accent:#a7bfff;--accent2:#b8a8ff;--accent-mint:#a7bfff;--accent-mint-ink:#10182b;--accent-gold:#b8a8ff;--table-head:#162339;--table-head-bg:#162339;--tile-teal:#20344f;--tile-gold:#29334d;--warning:#f6cf8c;--danger:#ffb3bb;--danger-soft:#352431;--scheme:dark;color-scheme:dark}
html body.cfy-polished-tool :is(.price-hero>div,.comparison>div,.week-head,.score-table .calculated,.window,.weight-status,.source-summary){background:#19283f!important;border-color:#405675!important;color:#f4f6fc!important;box-shadow:none!important}
html body.cfy-polished-tool :is(.price-hero,.comparison) span{color:#bdcbe3!important;font-size:12px!important;line-height:1.5}
html body.cfy-polished-tool :is(.price-hero,.comparison) strong{color:#f4f6fc!important;font-size:clamp(21px,1.8vw,28px)!important;line-height:1.5}
html body.cfy-polished-tool .panel-heading>span{background:#20344f!important;border-color:#4b658b!important;color:#d6e2ff!important;box-shadow:none!important}
html body.cfy-polished-tool :is(.view-switch button.active,.decision-cell button[data-decide=approved],.coverage-row.primary){background:#263e63!important;color:#f4f6fc!important;border-color:#6d91c4!important;box-shadow:none!important}
html body.cfy-polished-tool .coverage-row.primary b{color:#d0dfff!important}
html body.cfy-polished-tool .category-annual{color:#d3e1fc!important}
/* Do not let light hover/selected fills inherit light text from the dark shell. */
html body.cfy-polished-tool :is(.industry-card,.role-chip,.option,.ratings label,.language-card){color:#f4f6fc!important;border-color:#405675!important;background:#19283f!important}
html body.cfy-polished-tool :is(.industry-card,.role-chip,.option,.ratings label,.language-card):is(:hover,[aria-pressed=true],:has(input:checked)){color:#fff!important;border-color:#8baaf0!important;background:#263e63!important;box-shadow:none!important}
html body.cfy-polished-tool :is(.industry-card,.role-chip,.option,.ratings label,.language-card) :is(span,strong,small){color:inherit!important}
html body.cfy-polished-tool .industry-icon{color:#a7bfff!important}
html body.cfy-polished-tool :is(.choose-lead,.closing a,.field-prompt,.star-navigation span,.answer-part .annotation,.star-progress-item small){color:#bdcff5!important}
html body.cfy-polished-tool :is(.quiet,.text-button){color:#d4e1ff!important;background:#19283f!important;border-color:#405675!important}
html body.cfy-polished-tool :is(.quiet,.text-button):hover{background:#263e63!important;color:#fff!important}
html body.cfy-polished-tool:has(#industry-cards) .site-header{max-width:none;margin:0;min-height:76px}
html body.cfy-polished-tool:has(#industry-cards) .intro{padding-block:32px;gap:32px;grid-template-columns:1.25fr 1fr}
html body.cfy-polished-tool:has(#industry-cards) .intro h1{font-size:clamp(30px,3.2vw,46px);max-width:24ch;line-height:1.15}
html body.cfy-polished-tool:has(#industry-cards) .intro-art{background:transparent!important;border:0!important;box-shadow:none!important}
html body.cfy-polished-tool:has(#industry-cards) .intro-art img{height:250px;max-height:250px;width:100%;object-fit:contain}
html body.cfy-polished-tool:has(#industry-cards) .intro-art>span{background:transparent!important;text-align:center;color:#b8c9e6!important;font:500 14px/1.5 Inter,'Segoe UI',sans-serif}
/* Measurement choices follow the same palette without changing consent behavior. */
html body .cfy-marketing-consent{background:#142137!important;border-color:#4b6082!important;color:#edf2fc!important;box-shadow:0 12px 36px #0006!important}
html body .cfy-marketing-consent :is(h2,p,label){color:#edf2fc!important}
html body .cfy-marketing-consent a{color:#c4d4ff!important}
html body :is(.cfy-marketing-consent button,.cfy-marketing-prefs){background:#243754!important;color:#edf2fc!important;border-color:#607ba5!important;box-shadow:none!important}
html body .cfy-marketing-consent button:hover{background:#334d75!important}
html body .cfy-marketing-consent :is(button,a,input):focus-visible{outline:2px solid #b8caff!important;outline-offset:3px!important}
@media(max-width:600px){html body.cfy-polished-tool:has(#industry-cards) .intro{grid-template-columns:1fr;gap:20px;padding-block:24px}html body.cfy-polished-tool:has(#industry-cards) .intro-art img{height:210px}html body.cfy-polished-tool:has(#industry-cards) .site-header nav{flex-wrap:wrap;gap:8px}html body.cfy-polished-tool .price-hero{gap:12px}}
}

@media screen {html body.cfy-polished-tool .workspace :is(table,label,.field){font-size:max(13px,.82rem)}html body.cfy-polished-tool .workspace th{font-size:12px;line-height:1.5}html body.cfy-polished-tool .threshold-helper{font-size:13px;line-height:1.6}}
.pl-grid .pl-row:is(.is-break,.is-off) td{color:#52616a}

@media screen {html body.cfy-polished-tool .copy-message{background:#263e63!important;color:#f4f6fc!important;border:1px solid #6d91c4!important}html body#international-guide a.back{background:#263e63!important;color:#f4f6fc!important;border-color:#6d91c4!important}html body#international-guide a.back:hover,html body.cfy-polished-tool .copy-message:hover{background:#334e77!important;color:#fff!important}}

@media screen {html body.cfy-polished-tool :is(.cfy-wizard-header,.cfy-wizard-header h2,.cfy-wizard-footer,.panel-heading,.panel-heading h2,.price-hero,.comparison,.career-selection,.step-progress,.intro,.threshold-helper,.table-wrap,.workspace>section.panel:not(.preview-panel)){font-family:Inter,'Segoe UI',system-ui,sans-serif!important}}

/* Workspace account controls stay navy for every output theme. */
@media screen {
html body .cfy-account-autosave{background:#19283f!important;color:#edf2fc!important;border:1px solid #405675!important;border-radius:12px!important;padding:14px 16px!important;box-shadow:none!important;font:500 14px/1.5 Inter,"Segoe UI",system-ui,sans-serif!important;color-scheme:dark;}
html body .cfy-account-autosave span{color:inherit!important;}
html body .cfy-account-autosave input{accent-color:#a7bfff;width:18px;height:18px;flex:none;}
html body .cfy-account-autosave:has(input:disabled){color:#b8c7de!important;}
html body .cfy-account-autosave input:focus-visible{outline:2px solid #b8caff;outline-offset:3px;}
html body .cfy-wizard-footer button[data-back]{background:#22334e!important;color:#edf2fc!important;border-color:#526987!important;}
html body .cfy-wizard-footer button[data-back]:hover{background:#2c4365!important;}
}

@media screen {html body.ffy-tool.cfy-wizard .cfy-project-controls{background:#19283f!important;color:#edf2fc!important;border:1px solid #405675!important;box-shadow:none!important;}html body.ffy-tool.cfy-wizard .cfy-project-controls .cfy-account-autosave{border:0!important;padding:0!important;}html body #cfy-project-status{color:#b8c7de!important;}}

/* Keep step fractions and numeric signs readable in RTL workspaces. */
html[dir="rtl"] [data-step-count],html[dir="rtl"] input[type="number"]{direction:ltr;unicode-bidi:isolate}

/* Catalogue names: stronger scanning hierarchy, restrained dimensional edge. */
@media screen {
html body#cfy-tools-catalogue.tools-home :is(.cfy-catalog-card__copy h3,.cfy-catalog-card__copy h4,.role-card__name,.tool-group .group-head h3){font-family:Inter,'Segoe UI',system-ui,sans-serif!important;font-weight:700!important;line-height:1.35!important;letter-spacing:.025em!important;color:#f5f8ff!important;text-shadow:0 1px 2px #02071255!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;max-height:none!important;-webkit-line-clamp:unset!important;}
html body#cfy-tools-catalogue.tools-home :is(.cfy-catalog-card__copy h3,.cfy-catalog-card__copy h4){font-size:clamp(24px,2vw,29px)!important;margin-block:0 18px!important;}
html body#cfy-tools-catalogue.tools-home .role-card__name{font-size:clamp(25px,2vw,30px)!important;}
html body#cfy-tools-catalogue.tools-home .tool-group .group-head h3{font-size:clamp(27px,2.3vw,34px)!important;}
html body#cfy-tools-catalogue.tools-home .cfy-catalog-card__copy{min-width:0;}
@media(max-width:600px){html body#cfy-tools-catalogue.tools-home :is(.cfy-catalog-card__copy h3,.cfy-catalog-card__copy h4){font-size:24px!important;line-height:1.35!important;}html body#cfy-tools-catalogue.tools-home .role-card__name{font-size:25px!important;}html body#cfy-tools-catalogue.tools-home .tool-group .group-head h3{font-size:28px!important;}}
}

/* Shared application pop-ups follow the navy interface, independently of output theme. */
@media screen {
html body :is(dialog,.ffy-i18n,[role="alertdialog"]){--accent-mint:#9db8ff;--accent-mint-ink:#102039;--accent-gold:#bac9f5;--text-primary:#f2f5fa;--text-secondary:#bfccdf;--text-tertiary:#a6b7cf;--border-strong:#435875;background:linear-gradient(155deg,#19283f,#101b2c)!important;color:#f2f5fa!important;border-color:#435875!important;color-scheme:dark;box-shadow:0 24px 70px #03081288!important;}
html body dialog::backdrop,html body .ffy-i18n-back{background:rgba(3,8,18,.74)!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(h1,h2,h3,label,legend,strong,b){color:#f2f5fa!important;text-shadow:none!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(p,small,.ffy-i18n-sub,.paywall__note,.paywall__consent,.cfy-after-note){color:#bfccdf!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) a{color:#b9cbff!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(button,.button){background:#253854!important;background-image:none!important;color:#f2f5fa!important;border:1px solid #526987!important;box-shadow:none!important;min-height:42px;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(button,.button):hover:not(:disabled){background:#324b70!important;border-color:#a7bfff!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(.primary,.primary-button,.cfy-primary,.is-primary,.is-gold,.ffy-i18n-go,.cfy-after-actions button:first-child){background:#6b75df!important;color:#fff!important;border-color:#959df4!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select){background:#101c2f!important;color:#f2f5fa!important;border-color:#526987!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) input:is([type="checkbox"],[type="radio"]){accent-color:#9db8ff!important;}
html body :is(dialog,.ffy-i18n,[role="alertdialog"]) :is(button,a,input,textarea,select):focus-visible{outline:2px solid #b8caff!important;outline-offset:3px!important;}
html body .ffy-i18n-grid button[aria-pressed="true"]{background:#304469!important;border-color:#a7bfff!important;}
html body .ffy-i18n-grid em{background:#b8caff!important;color:#152039!important;}
html body :is(.cfy-tpl li,.cfy-drafts li,.paywall__wait){background:#17253b!important;border-color:#3e526f!important;color:#dce6f5!important;}
html body :is(.cfy-tpl-status,.cfy-drafts small.tool){color:#b8caff!important;}
html body :is(.cfy-tpl-status.is-bad,.paywall__error){color:#ffb4b4!important;}
html body :is(.cfy-tpl-toast,.cfy-export-toast){background:#19283f!important;color:#f2f5fa!important;border-color:#748fb9!important;}
}

/* Legacy branding cleanup for shared UI; output previews and status colors stay independent. */
@media screen {
html body :is(.ffy-support-btn,.cfy-tpl-open,.credit-pill,.credit-status,.credit-exchange,.credit-buy,.local-badge,.local-pill){background:#22334e!important;background-image:none!important;border-color:#526987!important;color:#edf2fc!important;box-shadow:none!important;}
html body :is(.credit-status__brand,.credit-status__copy,.credit-status__short){color:#edf2fc!important;}
html body .app-header .header-actions :is(.credit-pill.credit-status,.ffy-i18n-launch,.ffy-site-music-controls button){background:#22334e!important;border-color:#526987!important;color:#edf2fc!important;}
html body :is(.tools-promo,.export-security-badge,.privacy-note,.finance-collection){background:#152238!important;background-image:none!important;border-color:#405675!important;color:#c8d5e8!important;box-shadow:none!important;}
html body :is(.tools-promo,.export-security-badge,.privacy-note) :is(strong,b,span,small,p){color:inherit!important;}
html body :is(.tools-promo,.privacy-note,.section-footnote,.faq,.cfy-home-faq,.home-faq) a{color:#b8caff!important;}
html body :is(.section-footnote,.panel-note){color:#b8c7de!important;}
html body .ffy-support :is(.ffy-support__head,.ffy-support__to){background:#17273f!important;background-image:none!important;border-color:#405675!important;color:#c8d5e8!important;}
html body .ffy-support :is(.ffy-support__icon,.ffy-support__ref){background:#b8caff!important;color:#152039!important;}
html body .ffy-support :is(.ffy-support__send,.ffy-support__cancel){background:#253854!important;color:#f2f5fa!important;border-color:#526987!important;box-shadow:none!important;}
html body .ffy-support .ffy-support__send{background:#6b75df!important;border:1px solid #959df4!important;}
html body :is(.ffy-support-btn,.cfy-tpl-open,.credit-pill,.credit-exchange):hover{background:#30496e!important;border-color:#a7bfff!important;color:#fff!important;}
html body :is(.ffy-support-btn,.cfy-tpl-open,.credit-pill,.credit-exchange):focus-visible{outline:2px solid #b8caff!important;outline-offset:3px!important;}
}

@media screen {
html body .acct-lock{border-color:#526987!important;color:#bfccdf!important;background:#17253b!important;}
html body :is(.hero-cta,.story-cta){background:#30496e!important;background-image:none!important;border-color:#6d88b3!important;color:#f2f5fa!important;box-shadow:none!important;}
html body :is(.hero-cta,.story-cta):hover{background:#3a5780!important;color:#fff!important;}
}
