/* Page-only themes. No site zoom or global typography overrides. */
#installments { container:installments / inline-size; min-width:0; }
#installments .installments-hero-actions { display:flex; flex-wrap:wrap; align-items:end; gap:12px; min-width:0; }
#installments .installments-theme-picker { display:grid; gap:6px; font-size:12px; font-weight:650; letter-spacing:.08em; }
#installments #installmentTheme { width:180px; max-width:100%; min-height:44px; font-size:14px; border:1px solid #dddce5; border-radius:10px; padding:10px 30px 10px 12px; color:#343047; background:#fff; letter-spacing:0; }
#installments .theme-save-status { font-size:13px; color:#626270; line-height:1.5; margin:0 0 14px; }
#installments .theme-save-status:empty { display:none; }
#installments[data-installment-theme="theme2"] .installments-theme-picker { color:#e0ebd9; }
#installments :is(button,select,summary):focus-visible { outline:3px solid #7461cb; outline-offset:3px; }
#installments [disabled] { opacity:.6; cursor:wait; }
#installments #activeDebtSummary { margin:0 0 22px; }
#installments .active-debt-summary { display:grid; grid-template-columns:minmax(220px,.9fr) minmax(280px,1.45fr) minmax(190px,.8fr); gap:0; overflow:hidden; border:1px solid #e2dceb; border-radius:16px; background:#fff; }
#installments .active-debt-copy { padding:22px; background:#f1ecfb; }
#installments .active-debt-copy > span, #installments .active-debt-total > span { display:block; color:#755fa8; font-size:10px; font-weight:800; letter-spacing:.12em; }
#installments .active-debt-copy h2 { margin:9px 0 7px; color:#32244e; font-size:23px; letter-spacing:-.5px; }
#installments .active-debt-copy p { margin:0; color:#706480; font-size:13px; line-height:1.55; }
#installments .active-debt-products { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; align-content:center; padding:16px; }
#installments .active-debt-product { display:flex; align-items:center; gap:10px; min-width:0; padding:12px; border:1px solid #eeeaf4; border-radius:10px; background:#fcfbfe; }
#installments .active-debt-product-icon { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:8px; background:#e4f2eb; color:#277259; font-size:17px; }
#installments .active-debt-product > div { min-width:0; flex:1; }
#installments .active-debt-product b, #installments .active-debt-product small { display:block; overflow-wrap:anywhere; }
#installments .active-debt-product b { color:#342848; font-size:14px; }
#installments .active-debt-product small { margin-top:3px; color:#81788f; font-size:11px; }
#installments .active-debt-product strong { color:#382951; font-size:14px; white-space:nowrap; }
#installments .active-debt-total { display:flex; flex-direction:column; justify-content:center; padding:22px; background:#30234b; color:#fff; }
#installments .active-debt-total > span { color:#cfc2ee; }
#installments .active-debt-total b { margin:8px 0 5px; color:#fff; font-size:25px; letter-spacing:-.6px; overflow-wrap:anywhere; }
#installments .active-debt-total small { color:#ddd4ec; font-size:12px; }
#installments .active-debt-empty .active-debt-copy { background:#eef7f1; }
#installments .active-debt-empty .active-debt-copy > span { color:#4c8969; }
#installments .active-debt-empty .active-debt-copy h2 { color:#285940; }

/* Theme 1 restores the original compact layout and payment history. */
#installments[data-installment-theme="theme1"] .installments-hero { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
#installments[data-installment-theme="theme1"] .installments-hero h1 { font-size:22px; margin:0 0 8px; }
#installments[data-installment-theme="theme1"] .installments-hero p { color:#73816c; font-size:13px; line-height:1.6; }
#installments[data-installment-theme="theme1"] :is(.installments-eyebrow,.installments-section-kicker,.installments-section-icon) { display:none; }
#installments[data-installment-theme="theme1"] .installments-hero-actions { flex-shrink:0; }
#installments[data-installment-theme="theme1"] .plan-top > div { min-width:0; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme1"] .card,
#installments[data-installment-theme="theme1"] .plan-top,
#installments[data-installment-theme="theme1"] .plan-top > div,
#installments[data-installment-theme="theme1"] .plan-top h3,
#installments[data-installment-theme="theme1"] .plan-top p,
#installments[data-installment-theme="theme1"] .plan-price { min-width:0; max-width:100%; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme1"] .plan-price { white-space:normal; }
#installments[data-installment-theme="theme1"] #planSummary b { overflow-wrap:anywhere; }
#installments[data-installment-theme="theme1"] .plan-actions { flex-wrap:wrap; }

/* Theme 3: an editorial overview and colorful horizontal payment tracks. */
#installments[data-installment-theme="theme3"] { --flow-ink:#29243d; --flow-muted:#676479; color:var(--flow-ink); }
#installments[data-installment-theme="theme3"] .installments-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 0 28px; }
#installments[data-installment-theme="theme3"] .installments-eyebrow { display:inline-block; color:#7460b6; font-size:11px; letter-spacing:.17em; font-weight:750; }
#installments[data-installment-theme="theme3"] .installments-hero h1 { font-size:clamp(26px,3.2cqw,42px); letter-spacing:-1.5px; margin:10px 0; font-weight:650; color:#302342; }
#installments[data-installment-theme="theme3"] .installments-hero p { font-size:14px; color:var(--flow-muted); max-width:480px; line-height:1.7; margin:0; }
#installments[data-installment-theme="theme3"] .installments-theme-picker { color:var(--flow-muted); }
#installments[data-installment-theme="theme3"] #newPlan { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:11px 16px; border:1px solid #5b42ae; border-radius:10px; background:#6347b6; color:white; font-size:14px; box-shadow:0 3px 0 #402982; }
#installments[data-installment-theme="theme3"] .installments-add-icon { font-size:21px; }
#installments[data-installment-theme="theme3"] #planSummary { display:block; margin:0 0 26px; }
#installments[data-installment-theme="theme3"] .flow-overview { display:grid; grid-template-columns:1.25fr 1fr 1fr .85fr; padding:0; gap:0; border:1px solid #dedbe8; border-radius:16px; overflow:hidden; background:#fff; }
#installments[data-installment-theme="theme3"] .flow-overview > div { padding:22px; min-width:0; }
#installments[data-installment-theme="theme3"] .flow-overview-title { background:#eee8fa; }
#installments[data-installment-theme="theme3"] .flow-overview-title > span { font-size:10px; letter-spacing:.1em; font-weight:750; color:#695395; }
#installments[data-installment-theme="theme3"] .flow-overview-title h2 { font-size:24px; letter-spacing:-.6px; margin:12px 0 7px; }
#installments[data-installment-theme="theme3"] .flow-overview-title p { font-size:12px; color:#6d5c85; }
#installments[data-installment-theme="theme3"] .flow-metric { display:flex; flex-direction:column; justify-content:center; gap:10px; }
#installments[data-installment-theme="theme3"] .metric-paid { background:#e7f3ed; color:#225644; }
#installments[data-installment-theme="theme3"] .metric-due { background:#fff0de; color:#835122; }
#installments[data-installment-theme="theme3"] .metric-count { background:#eaf0fc; color:#395483; }
#installments[data-installment-theme="theme3"] .flow-metric > span { font-size:13px; font-weight:650; }
#installments[data-installment-theme="theme3"] .flow-metric b { color:inherit; font-size:clamp(22px,2.3cqw,32px); margin:0; line-height:1.2; letter-spacing:-1px; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme3"] .flow-metric b em { font-size:14px; font-style:normal; font-weight:450; letter-spacing:0; }
#installments[data-installment-theme="theme3"] .flow-metric small { color:inherit; font-size:12px; opacity:.85; }
#installments[data-installment-theme="theme3"] #plans { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
#installments[data-installment-theme="theme3"] .flow-plan { --accent:#6347b6; --wash:#f0ebfb; display:grid; grid-template-columns:165px minmax(0,1fr); background:white; border:1px solid #e2dfeb; border-radius:18px; overflow:hidden; }
#installments[data-installment-theme="theme3"] .flow-overdue { --accent:#ac4c31; --wash:#fff0e8; }
#installments[data-installment-theme="theme3"] .flow-complete { --accent:#27755c; --wash:#e9f5ef; }
#installments[data-installment-theme="theme3"] .flow-future { --accent:#3f68a2; --wash:#edf3fc; }
#installments[data-installment-theme="theme3"] .flow-rail { background:var(--wash); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:22px 12px; text-align:center; color:var(--accent); }
#installments[data-installment-theme="theme3"] .flow-ring { width:100px; height:100px; border-radius:50%; padding:6px; background:conic-gradient(var(--accent) var(--progress),#ffffffb3 0); }
#installments[data-installment-theme="theme3"] .flow-ring > div { width:100%; height:100%; background:var(--wash); border-radius:50%; display:flex; flex-direction:column; justify-content:center; gap:2px; }
#installments[data-installment-theme="theme3"] .flow-ring b { font-size:30px; line-height:1.2; }
#installments[data-installment-theme="theme3"] .flow-ring small { font-size:14px; font-weight:450; }
#installments[data-installment-theme="theme3"] .flow-ring span { font-size:11px; }
#installments[data-installment-theme="theme3"] .flow-status { font-size:12px; line-height:1.5; font-weight:750; max-width:140px; }
#installments[data-installment-theme="theme3"] .flow-rail > small { font-size:12px; }
#installments[data-installment-theme="theme3"] .flow-plan-main { padding:24px 28px; min-width:0; }
#installments[data-installment-theme="theme3"] .flow-plan-heading { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
#installments[data-installment-theme="theme3"] .flow-plan-heading > div { min-width:0; max-width:100%; }
#installments[data-installment-theme="theme3"] .flow-plan-heading p { font-size:12px; color:var(--flow-muted); margin:0 0 6px; }
#installments[data-installment-theme="theme3"] .flow-plan-heading h3 { font-size:24px; line-height:1.25; letter-spacing:-.6px; margin:0; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme3"] .flow-monthly { text-align:right; }
#installments[data-installment-theme="theme3"] .flow-monthly span { display:block; font-size:12px; color:var(--flow-muted); margin-bottom:6px; }
#installments[data-installment-theme="theme3"] .flow-monthly b { font-size:28px; letter-spacing:-.8px; line-height:1.15; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme3"] .flow-next { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:18px 0; padding:10px 14px; border-left:3px solid var(--accent); background:var(--wash); border-radius:0 6px 6px 0; }
#installments[data-installment-theme="theme3"] .flow-next span { font-size:10px; letter-spacing:.06em; color:var(--accent); font-weight:700; }
#installments[data-installment-theme="theme3"] .flow-next b { font-size:13px; font-weight:600; }
#installments[data-installment-theme="theme3"] .flow-step-label { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
#installments[data-installment-theme="theme3"] .flow-step-label b { font-size:13px; }
#installments[data-installment-theme="theme3"] .flow-step-label > span { color:var(--flow-muted); font-size:11px; }
#installments[data-installment-theme="theme3"] .flow-step-label i { display:inline-block; width:6px; height:6px; border-radius:50%; background:#e3dfee; margin:0 5px 0 10px; }
#installments[data-installment-theme="theme3"] .flow-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(30px,1fr)); gap:6px; }
#installments[data-installment-theme="theme3"] .flow-steps span { height:29px; border-radius:6px; display:grid; place-items:center; font-size:12px; font-weight:600; background:#f3f1f7; color:#747080; }
#installments[data-installment-theme="theme3"] .flow-steps .done { background:#306f59; color:white; }
#installments[data-installment-theme="theme3"] .flow-steps .next { outline:1.5px solid var(--accent); outline-offset:-1.5px; background:var(--wash); color:var(--accent); }
#installments[data-installment-theme="theme3"] .flow-detail { margin:18px 0; padding:0 18px 18px; border:1px solid #e5def3; border-radius:16px; background:linear-gradient(135deg,#fbf9ff,#fff); box-shadow:0 8px 22px rgba(84,61,132,.06); font-size:13px; }
#installments[data-installment-theme="theme3"] .flow-detail summary { color:#4f3e78; cursor:pointer; padding:16px 2px 14px; font-size:14px; font-weight:800; list-style:none; }
#installments[data-installment-theme="theme3"] .flow-detail summary::-webkit-details-marker { display:none; }
#installments[data-installment-theme="theme3"] .flow-detail summary { display:flex; align-items:center; gap:10px; }
#installments[data-installment-theme="theme3"] .flow-detail summary span { flex:1; }
#installments[data-installment-theme="theme3"] .flow-detail summary em { color:#846fae; font-size:11px; font-style:normal; font-weight:600; }
#installments[data-installment-theme="theme3"] .flow-detail summary b { display:grid; place-items:center; width:27px; height:27px; border-radius:8px; color:#fff; background:#7654c7; font-size:17px; transition:transform .2s ease; }
#installments[data-installment-theme="theme3"] .flow-detail[open] summary b { transform:rotate(180deg); }
#installments[data-installment-theme="theme3"] .flow-detail[open] summary em { color:#4d9a77; }
#installments[data-installment-theme="theme3"] .flow-detail[open] summary em::after { content:' ✓'; }
#installments[data-installment-theme="theme3"] .flow-detail summary::before { content:'✦'; display:inline-grid; place-items:center; width:25px; height:25px; margin-right:8px; border-radius:8px; color:#fff; background:#7654c7; vertical-align:middle; }
#installments[data-installment-theme="theme3"] .flow-detail dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:4px 0 0; }
#installments[data-installment-theme="theme3"] .flow-detail dl > div { min-width:0; padding:16px; border:1px solid #eee9f8; border-radius:13px; background:#fff; }
#installments[data-installment-theme="theme3"] .flow-detail dl > div:nth-child(1) { border-top:3px solid #5a82c7; background:#f5f8ff; }
#installments[data-installment-theme="theme3"] .flow-detail dl > div:nth-child(2) { border-top:3px solid #d78a43; background:#fff8ef; }
#installments[data-installment-theme="theme3"] .flow-detail dl > div:nth-child(3) { border-top:3px solid #45a77d; background:#f1fbf5; }
#installments[data-installment-theme="theme3"] .flow-detail dt { font-size:12px; color:#665b7d; font-weight:750; margin-bottom:9px; }
#installments[data-installment-theme="theme3"] .flow-detail dd { margin:0; font-size:19px; font-weight:800; overflow-wrap:anywhere; color:#2f2547; }
#installments[data-installment-theme="theme3"] .flow-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-top:16px; border-top:1px solid #eeeaf3; }
#installments[data-installment-theme="theme3"] .flow-actions button { min-height:44px; padding:10px 16px; border:1px solid #ddd4ed; border-radius:11px; font-size:13px; font-weight:750; background:#fff; color:#55466e; box-shadow:0 3px 8px rgba(80,58,124,.06); transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
#installments[data-installment-theme="theme3"] .flow-actions .flow-primary { color:#fff; background:#6347b6; border-color:#6347b6; }
#installments[data-installment-theme="theme3"] .flow-actions button:hover { transform:translateY(-2px); box-shadow:0 8px 16px rgba(80,58,124,.14); }
#installments[data-installment-theme="theme3"] .flow-actions .flow-delete { margin-left:auto; border-color:transparent; color:#a45454; }
#installments[data-installment-theme="theme3"] .installments-section-card { padding:24px; border-radius:16px; border:1px solid #e4dfed; box-shadow:none; background:#fff; }
#installments[data-installment-theme="theme3"] .installments-section-kicker { font-size:10px; letter-spacing:.12em; font-weight:750; color:#807298; }
#installments[data-installment-theme="theme3"] .card-head h3 { font-size:21px; margin:7px 0; letter-spacing:-.4px; }
#installments[data-installment-theme="theme3"] .card-head p { font-size:13px; color:var(--flow-muted); line-height:1.6; }
#installments[data-installment-theme="theme3"] .installments-section-icon { font-size:23px; color:#7e65b0; }
#installments[data-installment-theme="theme3"] .empty { font-size:14px; color:var(--flow-muted); padding:24px 16px; line-height:1.7; background:#f8f6fc; border-radius:10px; }
#installments[data-installment-theme="theme3"] .paid-plan-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:16px 0; }
#installments[data-installment-theme="theme3"] .paid-plan-heading > div { min-width:0; max-width:100%; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme3"] .paid-plan-heading h3 { font-size:17px; }
#installments[data-installment-theme="theme3"] .paid-plan-heading p { font-size:12px; color:var(--flow-muted); }
#installments[data-installment-theme="theme3"] .installment-history-amount { text-align:right; }
#installments[data-installment-theme="theme3"] .installment-history-amount b { font-size:22px; color:#32705c; }
#installments[data-installment-theme="theme3"] .paid-plan-group { border-left:3px solid #b5dec9; padding-left:20px; }
#installments[data-installment-theme="theme3"] .paid-plan-group + .paid-plan-group { margin-top:20px; border-top:0; padding-top:0; }
#installments[data-installment-theme="theme3"] .paid-plan-group summary { padding:8px 0; font-size:13px; color:#67568c; }
#installments[data-installment-theme="theme3"] .payment-row { flex-wrap:wrap; }
#installments[data-installment-theme="theme3"] .payment-row > div { flex:1 1 250px; min-width:0; }
#installments[data-installment-theme="theme3"] .payment-row b { font-size:16px; overflow-wrap:anywhere; }
#installments[data-installment-theme="theme3"] .payment-row p { font-size:13px; line-height:1.7; color:var(--flow-muted); }
#installments[data-installment-theme="theme3"] .payment-row button { font-size:13px; min-height:42px; color:#614d8b; border-color:#ded5ed; }
#installments[data-installment-theme="theme3"] .payment-record-notice { font-size:13px; }
#installments[data-installment-theme="theme3"] .history-plan-card { border:1px solid #e1dced; border-left:4px solid #8a70c4; border-radius:14px; padding:0; overflow:hidden; background:#fff; }
#installments[data-installment-theme="theme3"] .history-plan-card + .history-plan-card { margin-top:14px; }
#installments[data-installment-theme="theme3"] .history-plan-card.history-plan-complete { border-left-color:#45a77d; }
#installments[data-installment-theme="theme3"] .history-plan-card .paid-plan-heading { padding:20px 22px; background:linear-gradient(105deg,#f4effd,#fff 58%); }
#installments[data-installment-theme="theme3"] .history-plan-card.history-plan-complete .paid-plan-heading { background:linear-gradient(105deg,#edf9f2,#fff 58%); }
#installments[data-installment-theme="theme3"] .history-plan-title { display:flex; align-items:center; gap:12px; }
#installments[data-installment-theme="theme3"] .history-plan-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:11px; color:#fff; background:#8064bd; font-size:20px; }
#installments[data-installment-theme="theme3"] .history-plan-complete .history-plan-icon { background:#45a77d; }
#installments[data-installment-theme="theme3"] .history-plan-kicker { display:block; color:#8064bd; font-size:10px; font-weight:800; letter-spacing:.12em; }
#installments[data-installment-theme="theme3"] .history-plan-complete .history-plan-kicker { color:#398663; }
#installments[data-installment-theme="theme3"] .history-plan-card .paid-plan-heading h3 { margin:5px 0 3px; font-size:20px; color:#302441; }
#installments[data-installment-theme="theme3"] .history-plan-card .paid-plan-heading p { margin:0; }
#installments[data-installment-theme="theme3"] .history-plan-card .installment-history-amount { padding:10px 14px; border-radius:10px; background:#e7f5ed; }
#installments[data-installment-theme="theme3"] .history-plan-card .installment-history-amount > span { display:block; color:#4c8069; font-size:10px; font-weight:800; letter-spacing:.1em; }
#installments[data-installment-theme="theme3"] .history-plan-card .installment-history-amount > b { display:block; margin:4px 0; color:#267156; font-size:23px; }
#installments[data-installment-theme="theme3"] .history-plan-card .installment-history-amount p { margin:0; color:#56816e; font-size:11px; }
#installments[data-installment-theme="theme3"] .history-plan-card details { margin:0; }
#installments[data-installment-theme="theme3"] .history-plan-card details summary { display:flex; justify-content:space-between; padding:13px 22px; border-top:1px solid #eeeaf5; background:#fcfbfe; color:#65528b; font-size:13px; font-weight:700; }
#installments[data-installment-theme="theme3"] .history-plan-card details summary b { color:#9689ae; font-size:11px; font-weight:600; }
#installments[data-installment-theme="theme3"] .flow-detail dl small { display:block; margin-top:5px; color:#7a7190; font-size:11px; line-height:1.35; }
#installments[data-installment-theme="theme3"] .flow-detail dl dt { min-height:34px; }
#installments[data-installment-theme="theme3"] .history-payment-row { margin:0 22px; padding:17px 0; align-items:center; border-bottom:1px solid #eeeaf3; }
#installments[data-installment-theme="theme3"] .history-payment-row:last-child { border-bottom:0; }
#installments[data-installment-theme="theme3"] .history-payment-main { display:flex; align-items:center; gap:11px; }
#installments[data-installment-theme="theme3"] .history-payment-icon { display:grid; place-items:center; width:30px; height:30px; flex:0 0 30px; border-radius:50%; font-size:16px; font-weight:800; }
#installments[data-installment-theme="theme3"] .history-payment-icon.is-paid { color:#247354; background:#e2f3e9; }
#installments[data-installment-theme="theme3"] .history-payment-icon.is-early { color:#8a5b20; background:#fff0d9; }
#installments[data-installment-theme="theme3"] .history-payment-badge { display:inline-block; margin-left:7px; padding:3px 7px; border-radius:20px; font-size:10px; font-weight:700; vertical-align:2px; }
#installments[data-installment-theme="theme3"] .badge-paid { color:#287455; background:#e4f4eb; }
#installments[data-installment-theme="theme3"] .badge-early { color:#986225; background:#fff0d9; }
#installments[data-installment-theme="theme3"] .history-payment-row p { margin-top:6px; }
#installments[data-installment-theme="theme3"] .history-payment-row p strong { color:#3b3152; font-weight:750; }
#installments[data-installment-theme="theme3"] .history-undo-button { display:flex; align-items:center; gap:6px; min-height:36px; padding:8px 11px; border-radius:8px; color:#725c9c !important; background:#faf8fe !important; font-size:12px !important; }
#installments[data-installment-theme="theme3"] .history-undo-button:hover { color:#fff !important; background:#8064bd !important; }
#installments[data-installment-theme="theme3"] :is(.early-payment-history,.plan-complete) small { font-size:12px; }
#installments[data-installment-theme="theme3"] .flow-actions button:hover { background:#f0ebf8; color:#453463; }
@container installments (max-width:1000px) {
  #installments .installments-hero { flex-wrap:wrap; }
  #installments[data-installment-theme="theme3"] .flow-overview { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #installments[data-installment-theme="theme1"] .installments-hero-actions { flex-shrink:1; }
  #installments[data-installment-theme="theme1"] #plans { grid-template-columns:minmax(0,1fr); }
}
@container installments (max-width:600px) {
  #installments .installments-hero-actions { width:100%; align-items:stretch; }
  #installments .installments-hero-actions > * { flex:1 1 180px; }
  #installments #installmentTheme { width:100%; }
  #installments .active-debt-summary { grid-template-columns:minmax(0,1fr); }
  #installments .active-debt-copy, #installments .active-debt-total { padding:18px; }
  #installments .active-debt-products { grid-template-columns:minmax(0,1fr); padding:12px; }
  #installments[data-installment-theme="theme3"] .flow-plan { grid-template-columns:minmax(0,1fr); }
  #installments[data-installment-theme="theme3"] .flow-rail { flex-direction:row; flex-wrap:wrap; justify-content:flex-start; gap:12px; padding:14px 18px; }
  #installments[data-installment-theme="theme3"] .flow-ring { width:60px; height:60px; padding:4px; }
  #installments[data-installment-theme="theme3"] .flow-ring b { font-size:19px; }
  #installments[data-installment-theme="theme3"] .flow-ring small { font-size:11px; }
  #installments[data-installment-theme="theme3"] .flow-ring span { font-size:9px; }
  #installments[data-installment-theme="theme3"] .flow-plan-main { padding:18px; }
  #installments[data-installment-theme="theme3"] .flow-plan-heading { gap:14px; }
  #installments[data-installment-theme="theme3"] .flow-plan-heading h3 { font-size:22px; }
  #installments[data-installment-theme="theme3"] .flow-monthly { text-align:left; }
  #installments[data-installment-theme="theme3"] .flow-monthly b { font-size:26px; }
  #installments[data-installment-theme="theme3"] .flow-overview > div { padding:17px; }
  #installments[data-installment-theme="theme3"] .flow-overview-title { grid-column:1 / -1; }
  #installments[data-installment-theme="theme3"] .metric-count { grid-column:1 / -1; }
  #installments[data-installment-theme="theme3"] .flow-detail dl { grid-template-columns:minmax(0,1fr); }
  #installments[data-installment-theme="theme3"] .flow-detail { padding-inline:12px; }
  #installments[data-installment-theme="theme3"] .flow-detail dl > div { display:block; padding:14px; }
  #installments[data-installment-theme="theme3"] .flow-detail dd { font-size:18px; }
  #installments[data-installment-theme="theme3"] .flow-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #installments[data-installment-theme="theme3"] .flow-actions .flow-delete { margin:0; }
  #installments[data-installment-theme="theme3"] .paid-plan-heading { align-items:stretch; flex-direction:column; gap:8px; }
  #installments[data-installment-theme="theme3"] .installment-history-amount { text-align:left; }
  #installments[data-installment-theme="theme3"] .paid-plan-group { padding-left:12px; }
  #installments[data-installment-theme="theme3"] .history-plan-card { padding:0; border-left-width:3px; }
  #installments[data-installment-theme="theme3"] .history-plan-card .paid-plan-heading { padding:17px; }
  #installments[data-installment-theme="theme3"] .history-plan-card details summary { padding-inline:17px; }
  #installments[data-installment-theme="theme3"] .history-payment-row { margin-inline:17px; align-items:stretch; }
  #installments[data-installment-theme="theme3"] .history-payment-main { align-items:flex-start; }
  #installments[data-installment-theme="theme3"] .installments-section-card { padding:18px; }
  #installments[data-installment-theme="theme3"] .payment-row button { width:100%; }
  #installments[data-installment-theme="theme1"] #planSummary { grid-template-columns:minmax(0,1fr); }
  #installments[data-installment-theme="theme1"] .plan-top { flex-wrap:wrap; }
}
