.goal-restart-entry{flex:1 1 170px;min-width:0;min-height:44px;margin:0;padding:9px 12px;border:1px solid #ad573e;border-radius:10px;background:#fff8f4;color:#7e3826;font:inherit;font-size:.85rem;font-weight:700;line-height:1.4;cursor:pointer}
.goal-restart-dialog{box-sizing:border-box;margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:0;border-radius:22px;background:#fffefa;color:#24352c;font-family:inherit;box-shadow:0 16px 64px #12282044;text-align:right}
.goal-restart-dialog::backdrop{background:#15251b99}
.goal-restart-dialog h2{font-size:1.45rem;margin:0 0 6px;line-height:1.4}
.goal-restart-dialog p{font-size:1rem;line-height:1.6}
.goal-restart-subtitle{margin:0 0 18px;color:#536357}
.goal-restart-dialog label{display:block;font-weight:700;margin-bottom:8px}
.goal-restart-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #afc4b4;border-radius:12px;font:inherit;font-size:1.2rem}
.goal-restart-impact{background:#fff0e8;border-radius:12px;padding:12px;font-weight:700}
.goal-restart-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.goal-restart-actions button{flex:1;min-height:48px;padding:12px;border:1px solid #8aab94;border-radius:12px;background:#fff;color:#244531;font:inherit;font-weight:700;cursor:pointer}
.goal-restart-actions .goal-restart-confirm{flex:2;background:#8b3e29;color:#fff;border-color:#8b3e29}
.goal-restart-dialog button:disabled{opacity:.6;cursor:wait}
.goal-restart-dialog :focus-visible,.goal-restart-entry:focus-visible{outline:3px solid #568b68;outline-offset:3px}
.goal-restart-success{padding:14px;border-radius:12px;background:#e9f6e9;color:#225d32}
@media(max-width:420px){.goal-restart-dialog{padding:20px}.goal-restart-actions{flex-direction:column}.goal-restart-actions button{flex:auto}}
