@scope (html:not(:has(body[data-account-state="ready"]))) {
#guestSimForm .demo-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,300px));gap:12px;grid-column:1/-1;align-items:stretch;grid-auto-rows:auto;justify-content:start}
#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
#guestSimForm .demo-card-grid fieldset{margin:0!important;min-width:0;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:12px!important;align-content:start;border-radius:12px}
#guestSimForm .demo-card-grid fieldset label:first-of-type,#guestSimForm .demo-card-grid fieldset label:last-of-type{grid-column:1/-1}
#guestSimForm .demo-card-grid fieldset label{margin:0!important;min-width:0;font-size:12px!important;line-height:1.35}
#guestSimForm .demo-card-grid fieldset label span{font-size:12px!important;margin-bottom:4px!important}
#accountWelcome #guestSimForm .demo-card-grid input{min-height:40px!important;height:40px!important;padding:8px 10px!important;font-size:16px!important;width:100%;box-sizing:border-box}
#guestSimForm .demo-card-grid [hidden]{display:none!important}
#guestSimForm .demo-card-grid #guestAddDebt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0;width:100%;border:1.5px dashed #9abbb2;border-radius:12px;background:#f1faf7;color:#173d47;font-weight:600;font-size:13px;padding:16px;text-align:center;line-height:1.4}
#guestAddDebt .plus-symbol{font-size:36px;line-height:1;font-weight:300}#guestAddDebt:focus-visible{outline:3px solid #79efd0;outline-offset:3px}
@media(max-width:1100px){#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:repeat(2,minmax(0,300px))}}
@media(max-width:700px){#guestSimForm .demo-card-grid,#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:minmax(0,1fr)}#guestSimForm .demo-card-grid #guestAddDebt{min-height:100px;flex-direction:row}}
/* Fluid cards fill the available width; only the new card grows on entry. */
#guestSimForm .demo-card-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;overflow:clip;overflow-clip-margin:10px}
#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))}
#guestSimForm .demo-card-grid fieldset{display:grid!important;transition:none;transform-origin:right center;padding:16px!important;gap:12px!important}
#guestSimForm .demo-card-grid fieldset label,#guestSimForm .demo-card-grid fieldset label span{font-size:13px!important}
@media(min-width:701px) and (max-width:1100px){#guestSimForm .demo-card-grid,#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#guestSimForm .demo-card-grid,#guestSimForm .demo-card-grid:has([data-guest-row="3"]:not([hidden])){grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){#guestSimForm .demo-card-grid *{transition:none!important;animation:none!important}}

/* Equal tile silhouettes and a compact payment toolbar. */
#guestSimForm .demo-card-grid{grid-auto-rows:1fr}
#accountWelcome #guestSimForm .demo-card-grid .demo-add-card{display:flex!important;align-items:stretch;padding:16px!important}
#accountWelcome #guestSimForm .demo-card-grid .demo-add-card #guestAddDebt{flex:1;width:100%;height:auto;min-height:190px;max-height:none;border:1px dashed #93b8ac!important;background:#f1faf7!important;border-radius:8px;flex-direction:column;transition:background-color 180ms ease}
#accountWelcome #guestSimForm .demo-card-grid .demo-add-card #guestAddDebt:hover{background:#e0f4ec!important}
#accountWelcome #guestSimForm .demo-extra-row{display:flex!important;flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;gap:12px;grid-column:1/-1;margin-top:4px}
#accountWelcome #guestSimForm .demo-extra-row>label{flex:0 1 220px!important;width:220px!important;max-width:100%;margin:0!important}
#accountWelcome #guestSimForm .demo-extra-row #guestExtra{width:100%!important;min-height:44px!important;height:44px!important;padding:10px 12px!important;font-size:16px!important;box-sizing:border-box}
#accountWelcome #guestSimForm .demo-extra-row :is(.demo-currency,#guestCalculate){flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:10px 20px!important;margin:0!important;align-self:flex-end}
#accountWelcome #guestSimForm .guest-calculate-actions[hidden]{display:none!important}
@media(max-width:480px){#accountWelcome #guestSimForm .demo-extra-row>label{flex:1 0 100%!important;width:100%!important}}
#accountWelcome #guestSimForm .demo-add-card legend{font-size:12px!important;font-weight:700!important;padding:6px 10px!important;border-radius:10px 10px 0 0!important;line-height:1.2}
#accountWelcome #guestSimForm .demo-extra-row #guestCalculate{margin-left:auto!important}

}
