.restart-goals { margin: 28px 0; padding: 24px; border: 1px solid #dce3df; border-radius: 12px; background: #fff; color: #17211b; scroll-margin-top: 90px; }
.restart-goals h2 { margin: 0 0 16px; font-size: 1.45rem; line-height: 1.4; color: #17211b; }
.restart-goals h3 { margin: 14px 0 10px; font-size: 1.08rem; line-height: 1.5; color: #17211b; }
.restart-goals p, .restart-goals li { line-height: 1.65; }
.restart-goals p { margin: 12px 0; }
.restart-goals ul { padding-left: 22px; margin: 12px 0; }
.restart-goals li { margin: 9px 0; }
.restart-goals a { color: #087347; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.restart-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 24px; }
.restart-diagram { margin: 16px 0; min-width: 0; }
.restart-diagram svg { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.restart-goals figcaption, .restart-goals .restart-meta { font-size: .9rem; color: #4b5e54; line-height: 1.6; }
.restart-goals form { border: 1px solid #dce3df; border-radius: 8px; padding: 16px; margin: 20px 0; }
.restart-goals label { display: block; margin: 12px 0; font-weight: 600; min-width: 0; line-height: 1.6; }
.restart-goals select { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 8px; padding: 10px; border: 1px solid #63736c; border-radius: 6px; background: #fff; color: #17211b; font: inherit; }
.restart-goals .restart-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; cursor: pointer; }
.restart-confirm input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: #176b45; }
.restart-goals button { width: 100%; min-height: 48px; margin-top: 12px; padding: 10px 16px; border: 0; border-radius: 6px; background: #176b45; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.restart-goals :is(select, input, button, summary, a):focus-visible { outline: 3px solid #075a39; outline-offset: 4px; }
.restart-answer, .restart-notes { border-left: 3px solid #176b45; padding: 16px; margin: 16px 0; background: #f2f6f3; color: #17211b; border-radius: 0 6px 6px 0; }
.restart-answer h3 { margin-top: 0; }
.restart-verdict { font-size: 1.05rem; }
.restart-goals summary { padding: 14px 0; cursor: pointer; font-weight: 600; line-height: 1.5; }
.restart-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.restart-goals [hidden] { display: none !important; }
@media (max-width: 760px) { .restart-goals { padding: 16px; } .restart-layout, .restart-cases { grid-template-columns: minmax(0, 1fr); gap: 8px; } .restart-goals form { padding: 12px; } }
