/* ACGS Life 0.5.0, safe visual refinements to approved welcome, overview and finance.
 * No change to category formulas, savings goals or registration behaviour.
 */
:root{--acgs-ring:#91bfa0;--acgs-quiet:#f4f8f4}
button,summary{touch-action:manipulation}
button:not(:disabled),details>summary{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
button:focus-visible,details>summary:focus-visible{outline:3px solid var(--acgs-ring);outline-offset:2px}
/* Keep the familiar approval layout: softly refine, don't reorganise. */
.dashboard-card,.finance-card,.finance-goal-card,.finance-plan-fold,.mental-card{box-shadow:0 6px 18px #234a3309}
.dashboard-task-tile,.dashboard-watch-tile{border-color:#e7eee9;background:var(--acgs-quiet)}
.dashboard-task-tile:focus-within,.dashboard-watch-select-label:focus-within{box-shadow:0 0 0 2px #c9dfcf}
.dashboard-info{min-width:32px;min-height:32px}
.dashboard-finance-link,.dashboard-watch-edit,.finance-fold-done,.finance-adopt-button{border-radius:12px}
.finance-page .finance-field input,.finance-page select{font-size:16px}
/* Non-disruptive local save confirmation; never suggests encrypted storage. */
.acgs-saved{position:fixed;z-index:11;pointer-events:none;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translate(-50%,10px);padding:8px 14px;border-radius:999px;background:#234a3d;color:#f9fffa;font-size:.72rem;white-space:nowrap;opacity:0;visibility:hidden;box-shadow:0 8px 22px #294d3c26;transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.acgs-saved.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
/* Slightly warmer common chat surface, same panel everywhere. */
.ai-chat-header{background:#fbfdfb}
.ai-chat-panel{border-radius:23px 23px 0 0}
.ai-chat-messages{background:#f8faf8}
.ai-chat-message{border:1px solid #d4e8d9}
@media(prefers-reduced-motion:reduce){.acgs-saved,button,summary{transition:none!important}}
