/* 0.6.8: consistent rounded, calm controls with identical selected and unselected geometry */
:root{--acgs-control-radius:13px;--acgs-control-border:#5b6b78;--acgs-control-selected:#41515c;--acgs-control-focus:#c1d7e8}
.finance-rhythm-choice .finance-rhythm-option,
.body-choice,.theme-switcher button,.dashboard-watch-select-label select,
.finance-rhythm-period select{border-radius:var(--acgs-control-radius)!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.finance-rhythm-choice .finance-rhythm-option,
.body-choice{background:#29323a!important;border:1px solid var(--acgs-control-border)!important;color:#eff4f7!important}
.finance-rhythm-choice .finance-rhythm-option:has(input:checked),
.body-choice:has(input:checked){background:var(--acgs-control-selected)!important;border-color:#b3c8d9!important;box-shadow:inset 0 0 0 1px #899eaf,0 3px 12px #0e141a28!important}
.finance-rhythm-choice .finance-rhythm-option:hover,.body-choice:hover{border-color:#a8bece!important}
.finance-rhythm-choice .finance-rhythm-option:focus-within,.body-choice:focus-within,.theme-switcher button:focus-visible{outline:2px solid var(--acgs-control-focus);outline-offset:2px}
.body-choice input[type=checkbox]{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%)}
.body-choice:has(input[type=checkbox]:checked) .body-check{border-radius:6px;background:#dce8f1;border-color:#dce8f1;box-shadow:inset 0 0 0 3px #41515c}
.body-choice:has(input[type=checkbox]:checked) .body-check::after{content:'✓';position:absolute;color:#fff;font-size:13px;margin-left:3px;margin-top:-3px}
.finance-savings-split input[type=range]{appearance:none;-webkit-appearance:none;height:9px;min-height:9px;border-radius:99px;background:linear-gradient(to right,#b7d0e0 0 var(--split-percent),#596873 var(--split-percent) 100%);margin:13px 0 16px;cursor:pointer;touch-action:none}
.finance-savings-split input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:25px;height:25px;border-radius:50%;background:#f2f6f9;border:3px solid #8099ac;box-shadow:0 2px 8px #0005}
.finance-savings-split input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#f2f6f9;border:3px solid #8099ac}
.finance-savings-split .finance-split-numbers b{font-size:.86rem;display:inline-block;min-width:36px}
.finance-plan-picker{display:flex;flex-direction:column;gap:12px}.finance-plan-choice{background:#253039;border:1px solid #536676;border-radius:17px;padding:15px 12px}.finance-plan-choice h3{font-size:1rem;color:#f1f5f8;margin:9px 0}.finance-plan-choice .finance-adopt-button{width:100%;margin-top:15px}.finance-plan-choice .finance-projection-title{margin-top:14px}
.first-run-launch{width:100%;margin:15px 0 8px;padding:15px;border:none;border-radius:14px;background:#dce9ef;color:#1b2730;font-size:1rem;font-weight:800;display:flex;justify-content:space-between;align-items:center;cursor:pointer}
.first-run-launch-hint{font-size:.78rem;color:#becdd7;line-height:1.55;margin:5px 2px 13px}
.first-run-step.is-complete{animation:acgs-finish-enter .5s ease-out;border-color:#78b5a5;background:#29443f}
.first-run-step.is-complete .first-run-icon{background:#456f60}
.dashboard-task-tile.is-done{animation:acgs-finish-enter .45s ease-out}
@keyframes acgs-finish-enter{0%{transform:scale(.98);box-shadow:0 0 0 0 #78b5a53d}55%{transform:scale(1.015);box-shadow:0 0 0 5px #78b5a522}100%{transform:scale(1);box-shadow:none}}
@media(prefers-reduced-motion:reduce){.first-run-step.is-complete,.dashboard-task-tile.is-done{animation:none} .finance-rhythm-choice .finance-rhythm-option,.body-choice{transition:none}}

/* Mood, energy, watch and theme choices follow exactly the same rounded surfaces. */
.mental-mood,.mental-energy-option,.theme-choice, .dashboard-watch-select-label select,
.mental-select-wrap select,.mental-calendar-day,.theme-switcher button{border-radius:var(--acgs-control-radius)!important;transition:background .18s ease,border-color .18s ease,transform .18s ease}
html[data-acgs-theme="ruhig"] .mental-mood,html[data-acgs-theme="ruhig"] .mental-energy-option{background:#29323a;border:1px solid var(--acgs-control-border);color:#edf2f6}
html[data-acgs-theme="ruhig"] .mental-mood.is-active,html[data-acgs-theme="ruhig"] .mental-energy-option.is-active{background:#41515c!important;border-color:#b3c8d9!important;box-shadow:inset 0 0 0 1px #899eaf}
.mental-mood:focus-visible,.mental-energy-option:focus-visible{outline:2px solid #c1d7e8;outline-offset:2px}
