.finance-savings-rhythm{margin-top:2px}
.finance-rhythm-top{display:flex;align-items:flex-start;gap:10px;margin-bottom:11px}
.finance-rhythm-top-icon{width:37px;height:37px;background:#eaf3ed;color:#41755e;border-radius:11px;display:grid;place-items:center;flex:none}
.finance-rhythm-top h2{font-size:1.05rem!important;color:#2d5040}
.finance-rhythm-top p{font-size:.74rem;color:#87998b;margin-top:3px}
.finance-rhythm-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}
.finance-rhythm-choice label{position:relative;display:flex;flex-direction:column;gap:5px;padding:12px 10px;border:1px solid #d9e7dd;border-radius:13px;background:#f7faf7;min-width:0;cursor:pointer}
.finance-rhythm-choice input{position:absolute;right:8px;top:8px;accent-color:#3d8d67}
.finance-rhythm-choice label:has(input:checked){background:#e9f3eb;border-color:#93bca1}
.finance-rhythm-choice strong{font-size:.78rem;color:#2c5a44;padding-right:22px}
.finance-rhythm-choice small{font-size:.67rem;line-height:1.38;color:#82998c}
.finance-rhythm-period{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:.76rem;color:#54715d}
.finance-rhythm-period select{min-height:43px;padding:8px 9px;border:1px solid #d7e4d9;border-radius:9px;background:#fff;font-size:16px;color:#365c48}
.finance-rhythm-summary{background:#f4f9f4;border:1px solid #e6efe5;border-radius:12px;padding:13px;font-size:.76rem;color:#4e715a;line-height:1.5;margin:11px 0}
.finance-rhythm-summary strong{display:block;font-size:1.03rem;color:#2c5542;margin:4px 0}
.finance-rhythm-account{display:flex;gap:9px;align-items:flex-start;font-size:.73rem;line-height:1.45;color:#6e8478}
.finance-rhythm-account input{margin-top:2px;width:18px;height:18px;flex:none;accent-color:#3d8d67}
.finance-rhythm-note{font-size:.68rem;line-height:1.45;color:#8c9d8e;margin-top:9px}
html[data-acgs-theme=antrieb] .finance-rhythm-choice label:has(input:checked),html[data-acgs-theme=antrieb] .finance-rhythm-summary{background:#fff0e6;border-color:#eecdbb}
html[data-acgs-theme=balance] .finance-rhythm-choice label:has(input:checked),html[data-acgs-theme=balance] .finance-rhythm-summary{background:#edf6fa;border-color:#cbdfeb}

/* Compact savings split: stays visible only in daily mode. */
.finance-rhythm-allocation{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;margin:9px 0 14px;border:1px solid #dce6df;background:#f4f8f5;padding:11px;border-radius:12px;font-size:.69rem;color:#436c54}
.finance-rhythm-allocation>strong{grid-column:1/-1;font-size:.71rem;color:#315c42}
.finance-rhythm-allocation>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.finance-rhythm-allocation b{font-size:.85rem;font-variant-numeric:tabular-nums;color:#224d36}
html[data-acgs-theme="ruhig"] .finance-rhythm-allocation{background:#303840;border-color:#4e5d69;color:#d6e3ed}
html[data-acgs-theme="ruhig"] .finance-rhythm-allocation>strong,html[data-acgs-theme="ruhig"] .finance-rhythm-allocation b{color:#f0f5f8}

/* v0.6.2: fully accessible radio-card layout; never paint a bright bar over its label. */
.finance-rhythm-choice{align-items:stretch;gap:10px}
.finance-rhythm-choice .finance-rhythm-option{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:start;gap:8px;min-height:104px;padding:13px 11px;overflow:hidden}
.finance-rhythm-option-copy{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:break-word}
.finance-rhythm-choice .finance-rhythm-option-copy strong{display:block;padding:0!important;max-width:100%;background:transparent!important;color:#2c5a44;font-size:.8rem;line-height:1.25}
.finance-rhythm-choice .finance-rhythm-option-copy small{display:block;line-height:1.38;overflow-wrap:break-word}
.finance-rhythm-choice .finance-rhythm-option input[type="radio"]{position:absolute;inline-size:1px;block-size:1px;margin:0;opacity:0;clip-path:inset(50%);pointer-events:none}
.finance-rhythm-indicator{display:block;width:20px;height:20px;grid-column:2;grid-row:1;align-self:start;justify-self:end;border-radius:50%;border:2px solid #9bab9f;background:transparent;box-shadow:none;flex-shrink:0;margin-top:1px;position:relative}
.finance-rhythm-choice .finance-rhythm-option:has(input:checked) .finance-rhythm-indicator{border-color:#4d8768;background:#4d8768;box-shadow:inset 0 0 0 4px #eaf3ed}
.finance-rhythm-choice .finance-rhythm-option:focus-within{outline:3px solid #79a6d1;outline-offset:2px}
html[data-acgs-theme="ruhig"] .finance-rhythm-choice .finance-rhythm-option-copy strong{color:#f0f3f6}
html[data-acgs-theme="ruhig"] .finance-rhythm-indicator{border-color:#bbc9d5}
html[data-acgs-theme="ruhig"] .finance-rhythm-choice .finance-rhythm-option:has(input:checked) .finance-rhythm-indicator{border-color:#d5e7f4;background:#d5e7f4;box-shadow:inset 0 0 0 4px #40505c}
@media(max-width:350px){.finance-rhythm-choice{gap:7px}.finance-rhythm-choice .finance-rhythm-option{padding:11px 8px;min-height:111px;gap:5px}.finance-rhythm-choice .finance-rhythm-option-copy strong{font-size:.75rem}.finance-rhythm-choice .finance-rhythm-option-copy small{font-size:.61rem}}
