@scope (html:not(:has(body[data-account-state="ready"]))) {
:root{--accent:#79efd0;--primary:#79efd0;--pc-a:#08715c;--pc-b:#425fb0}
#accountWelcome .landing-step-card,#accountWelcome .guest-simulator,#accountWelcome .guest-results{background:#153452ed!important;color:#ffffff!important}
#accountWelcome .landing-step-card h3,#accountWelcome .landing-step-card p,#guestSimulator>p,#guestSimulator h2,#guestSimForm>div h3,#guestSimForm>div>label{color:#ffffff!important}
#accountWelcome #welcomeCreate,#accountWelcome #welcomeExplore,#guestCalculate,#guestExample,#guestSave,button.primary{background:#79efd0!important;color:#102c34!important;border-color:#79efd0!important}
#accountWelcome #guestSimForm fieldset,.payoff-comparison,main .card,section.card,.surface,.kpi{background:#fffefa!important;color:#243e54!important;border-color:#08715c55!important}
#accountWelcome #guestSimForm fieldset label,#accountWelcome #guestSimForm fieldset legend{color:#243e54!important}#accountWelcome #guestSimForm fieldset legend{background:#fffefa!important}
#accountWelcome #guestSimForm input:not([type=range]):not([type=checkbox]),select,textarea{background:#f1faf7!important;color:#243e54!important;border-color:#08715c66!important}
.payoff-comparison{--pc-ink:#243e54;--pc-muted:#243e54;--pc-a:#08715c;--pc-b:#425fb0}
.pc-conclusion,.pc-finish,.pc-selection,.pc-tag,.pc-controls button,.pc-table thead{background:#f1faf7!important;color:#243e54!important}.pc-finish.pc-b{background:#425fb012!important}.pc-axis{fill:#243e54!important}.pc-gap{fill:#08715c14!important}.pc-grid{stroke:#243e5425!important}.pc-footnote{color:#243e54!important}
body:not([data-page=home]){background:#f3f7f6!important;color:#243e54!important}
body:not([data-page=home]) :is(h1,h2,h3,h4){color:#243e54!important}
body:not([data-page=home]) :is(.note,.muted,small){color:#52666b!important}
body:not([data-page=home]) :is(.card,fieldset,details){background:#fffefa!important;color:#243e54!important;border-color:#b8cdc6!important}
:is(dialog,.account-menu){background:#fffefa!important;color:#243e54!important;border-color:#b8cdc6!important}
:is(dialog,.card) :is(input,select,textarea){background:#f1faf7!important;color:#243e54!important;border-color:#b8cdc6!important}
.sidebar,.topbar{background:#153452!important;color:#ffffff!important}.sidebar :is(a,p,.workspace-label){color:#ffffff!important}.sidebar .nav{color:#ffffff!important}.sidebar .nav.active{background:#79efd0!important;color:#102c34!important}.subtitle{color:#52666b!important}.appnav{background:#153452!important}.appnav button{color:#ffffff!important;background:transparent!important}.appnav button:is(.active,[aria-current=page],[aria-selected=true]){background:#79efd0!important;color:#102c34!important}
body:not([data-page=home]) a{color:#08715c!important}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #397fa5!important}
#guestSimForm .demo-card-grid #guestAddDebt{background:#f1faf7!important;color:#243e54!important;border-color:#b8cdc6!important}

/* Consistent brand accents and readable navigation. */
:root{--line:#b8cdc6;--raised:#f1faf7;}
.sidebar.sidebar :is(a,p,.workspace-label),.topbar.topbar :is(a,strong,span){color:#ffffff!important}
a.button.primary{background:#79efd0!important;color:#102c34!important;border-color:#79efd0!important}
#accountWelcome .landing-step-number,#accountWelcome .welcome-kicker,.brand-accent{color:#79efd0!important}
.debt-card-summary span{overflow-wrap:anywhere;font-size:16px}
html body[data-page="app"][data-account-state="ready"]{--ink:#243e54;--text:#243e54;--muted:#52666b;--line:#b8cdc6;--surface:#fffefa;--raised:#f1faf7;--accent:#08715c;background:#f3f7f6!important}
html body[data-page="app"][data-account-state="ready"] .appnav button[data-view].selected,html body[data-page="app"][data-account-state="ready"] .appnav button[data-view].selected:hover{background:#79efd0!important;color:#102c34!important;border-color:#79efd0!important;box-shadow:inset 0 -3px 0 #425fb0!important}
#mainContent :is(button.primary,button.lime,#add){background:#79efd0!important;color:#102c34!important;border-color:#79efd0!important;box-shadow:none!important}
#mainContent :is(button.primary,button.lime,#add):hover{background:#a1f3dc!important}
#mainContent #workspaceView>#stats>:first-child,#mainContent .money-overview{background:#f1faf7!important;border-color:#b8cdc6!important;border-left-color:#425fb0!important;color:#243e54!important}
#mainContent #workspaceView>#stats strong{color:#243e54!important}
#mainContent #debts .debt-pay{background:#f1faf7!important;border-color:#b8cdc6!important;color:#243e54!important}
#mainContent #debts .debt-pay:hover{background:#e0f4ec!important}
#mainContent #debtTable thead,#mainContent .focus-details>summary{background:#f1faf7!important;color:#243e54!important}
#mainContent #debtTable th,#mainContent .focus-details>summary::before{color:#243e54!important}
#headerAccountMenu{background:transparent!important}#headerAccountMenu>button{background:#153452!important;color:#ffffff!important;border-color:#79efd055!important}
body:has(.sidebar){--bg:#f3f7f6;--surface:#fffefa;--text:#243e54;--muted:#52666b;--line:#b8cdc6;--accent:#08715c;--tint:#f1faf7;--button:#153452;--button-text:#ffffff}

/* OweSpring blend: classic blue structure, green actions, mint highlights. */
:root{--primary:#08715c;--accent:#79efd0}
#accountWelcome #welcomeCreate,#guestCalculate,#guestSave,button.primary,a.button.primary,
#mainContent :is(button.primary,button.lime,#add){background:#08715c!important;color:#ffffff!important;border-color:#08715c!important}
#accountWelcome #welcomeCreate:hover,#guestCalculate:hover,#guestSave:hover,button.primary:hover,a.button.primary:hover,
#mainContent :is(button.primary,button.lime,#add):hover{background:#075b4b!important;color:#ffffff!important;border-color:#075b4b!important}
#accountWelcome #welcomeExplore,#guestExample{background:transparent!important;color:#b5f5e2!important;border:1px solid #79efd088!important;box-shadow:none!important}
#accountWelcome #welcomeExplore:hover,#guestExample:hover{background:#79efd015!important}
#accountWelcome .landing-step-number,#accountWelcome .welcome-kicker{color:#79efd0!important}
.brand-accent{color:#08715c!important}#accountWelcome .brand-accent,.sidebar .brand b{color:#79efd0!important}
#mainContent #workspaceView>#stats>:first-child,#mainContent .money-overview{border-left-color:#08715c!important}
html body[data-page="app"][data-account-state="ready"] .appnav button[data-view].selected,
html body[data-page="app"][data-account-state="ready"] .appnav button[data-view].selected:hover{box-shadow:inset 0 -3px 0 #08715c!important}
body:has(.sidebar){--button:#08715c;--button-text:#ffffff;--tint:#e0f4ec}
#accountWelcome #guestSimulator #guestSave{background:#08715c!important;color:#ffffff!important;border-color:#08715c!important}
#accountWelcome #guestSimulator #guestSave:hover{background:#075b4b!important;color:#ffffff!important}
/* Consistent contrasting feedback. Important layer wins over legacy overrides. */
@layer owespring-button-feedback {
 @media (hover:hover) {
  :is(button,a.button,[role="button"]):not(:disabled):not([aria-disabled="true"]):hover{background:#153452!important;color:#ffffff!important;border-color:#79efd0!important;box-shadow:0 0 0 1px #79efd066!important}
  :is(button.primary,button.lime,a.button.primary,#welcomeCreate,#welcomeExplore,#guestCalculate,#guestSave,#guestExample,#headerAccountMenu>button,.appnav button,.sidebar .nav,.demo-currency):not(:disabled):not([aria-disabled="true"]):hover{background:#79efd0!important;color:#102c34!important;border-color:#79efd0!important}
  :is(button,a.button,[role="button"]):not(:disabled):not([aria-disabled="true"]):hover :is(span,strong,b,small){color:inherit!important}
 }
 :is(button,a.button,[role="button"]):not(:disabled):not([aria-disabled="true"]):focus-visible{outline:3px solid #397fa5!important;outline-offset:3px!important}
}
@media(prefers-reduced-motion:no-preference){:is(button,a.button,[role="button"]){transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}}

/* Password eyes stay inside the field; dismiss icons are geometrically centered. */
.simple-password-wrap{position:relative;display:block;width:100%}
:is(#signupDialog,#emailDialog,dialog) .simple-password-wrap input{width:100%;box-sizing:border-box;padding-right:52px!important}
:is(#signupDialog,#emailDialog,dialog) .simple-password-wrap .simple-password-toggle{position:absolute!important;right:4px!important;top:50%!important;transform:translateY(-50%);display:grid!important;place-items:center;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px!important;border:0!important;background:transparent!important;color:#243e54!important;border-radius:8px;box-shadow:none}
.simple-password-toggle svg{width:22px;height:22px;display:block}.simple-password-toggle .eye-slash{display:none}.simple-password-toggle.password-visible .eye-slash{display:block}
button.auth-dismiss{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;line-height:1!important;font-size:0!important}
button.auth-dismiss::before{content:'';width:18px;height:18px;background:currentColor;clip-path:polygon(12% 0,50% 38%,88% 0,100% 12%,62% 50%,100% 88%,88% 100%,50% 62%,12% 100%,0 88%,38% 50%,0 12%)}
.preview-social{margin:18px 0;text-align:center}.preview-social button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:1px solid #b8cdc6;background:#fffefa;color:#243e54}.preview-social p{font-size:13px;color:#52666b!important;margin:8px 0;line-height:1.4}

/* Compact registration and a single centered SVG for close. */
:is(#signupDialog,#emailDialog){width:min(520px,calc(100vw - 24px))!important;padding:48px 28px 24px!important}
:is(#signupDialog,#emailDialog) .auth-brand{font-size:28px;margin:0 28px 8px;gap:10px}
:is(#signupDialog,#emailDialog) .auth-brand img{width:44px;height:44px}
:is(#signupDialog,#emailDialog) .auth-tagline{margin-bottom:18px!important;font-size:13px}
#signupDialog h2{font-size:24px;margin-bottom:14px}
#signupDialog #signupForm{gap:16px}
#signupDialog #signupForm input{height:46px;min-height:46px;padding:10px 12px}
#signupDialog #signupForm .simple-password-wrap{margin-bottom:0}
#signupDialog #signupMethodNote{margin:0 0 2px;line-height:1.5;color:#52666b!important}
#signupDialog .preview-social{margin:12px 0 18px}
#signupDialog .signup-compact-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}
#signupDialog #signupForm .signup-compact-actions button{width:auto!important;min-height:44px!important;height:44px!important;padding:10px 22px!important;margin:0!important;font-size:15px;box-shadow:none;border-radius:9px}
#signupDialog #signupForm .signup-compact-actions button[data-close]{background:transparent;color:#243e54;border:1px solid #b8cdc6}
button.auth-dismiss::before,button.auth-dismiss::after{content:none!important;display:none!important}
:is(#signupDialog,#emailDialog,dialog) button.auth-dismiss{position:absolute!important;top:12px!important;right:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;border-radius:50%!important}
button.auth-dismiss svg{display:block!important;width:20px!important;height:20px!important;flex:none!important;margin:0!important;padding:0!important;pointer-events:none}
@media(max-width:400px){:is(#signupDialog,#emailDialog){padding:48px 20px 20px!important}.signup-compact-actions{gap:8px!important}#signupDialog #signupForm .signup-compact-actions button{padding:10px 16px!important}}

}
