.rally-withdrawal-review{box-sizing:border-box;width:min(620px,calc(100vw - 28px));max-height:88vh;max-height:88dvh;margin:auto;padding:0;border:1px solid #d7e2dd;border-radius:18px;background:#fff;color:#17382b;box-shadow:0 24px 80px #0005;font:16px/1.5 system-ui,sans-serif}
.rally-withdrawal-review[open]{display:flex;flex-direction:column}
.rally-withdrawal-review::backdrop{background:#0b2119b8}
.rally-withdrawal-review h2{margin:0;padding:18px 20px;border-bottom:1px solid #d7e2dd;font-size:1.25rem;line-height:1.3;flex-shrink:0}
.rally-withdrawal-body{padding:18px 20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.rally-withdrawal-explanation{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.rally-withdrawal-review details{margin-top:20px;border-top:1px solid #d7e2dd;padding-top:14px}
.rally-withdrawal-review summary{font-weight:700;cursor:pointer}
.rally-withdrawal-review ul{list-style:none;padding:0;margin:10px 0 0}
.rally-withdrawal-review li{padding:12px 0;border-bottom:1px solid #e6ede9;white-space:pre-wrap;overflow-wrap:anywhere}
.rally-withdrawal-actions{display:flex;gap:10px;justify-content:flex-end;padding:14px 20px;border-top:1px solid #d7e2dd;background:#fff;flex-shrink:0}
.rally-withdrawal-actions button{min-height:46px;padding:10px 15px;border:1px solid #aabcb3;border-radius:10px;background:#fff;color:#17382b;font:600 1rem/1.3 system-ui,sans-serif;cursor:pointer}
.rally-withdrawal-actions .rally-withdrawal-confirm{background:#b42332;border-color:#b42332;color:#fff}
.rally-withdrawal-actions button:focus-visible,.rally-withdrawal-review summary:focus-visible{outline:3px solid #248a60;outline-offset:3px}
.rally-withdrawal-actions button:disabled{opacity:.6;cursor:wait}
.rally-walkover-choice{display:block;margin:18px 0;font-weight:700}
.rally-walkover-choice select{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:8px;padding:12px;border:1px solid #aabcb3;border-radius:8px;background:#fff;color:#17382b;font:inherit;font-weight:400}
.rally-walkover-impact{margin:18px 0;border-top:1px solid #d7e2dd;padding-top:12px}
.rally-walkover-impact p{padding:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #edf2ef}
.rally-withdrawal-review select:focus-visible{outline:3px solid #248a60;outline-offset:3px}

.rally-entry-action textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:72px;margin-top:8px;padding:10px;border:1px solid #aabcb3;border-radius:8px;font:inherit;resize:vertical}.rally-entry-action label[hidden]{display:none}.rally-entry-action input[type=checkbox]{margin:8px;width:20px;height:20px;vertical-align:middle}

/* Rally Up dark appearance — generated by scripts/generate-theme-styles.mjs */
@media screen {
html[data-rally-theme="dark"] .rally-withdrawal-review {border:1px solid #536c7d;background:#152733;color:#a0edc0
}
html[data-rally-theme="dark"] .rally-withdrawal-review h2 {border-bottom:1px solid #536c7d
}
html[data-rally-theme="dark"] .rally-withdrawal-review details {border-top:1px solid #536c7d
}
html[data-rally-theme="dark"] .rally-withdrawal-review li {border-bottom:1px solid #536c7d
}
html[data-rally-theme="dark"] .rally-withdrawal-actions {border-top:1px solid #536c7d;background:#152733
}
html[data-rally-theme="dark"] .rally-withdrawal-actions button {border:1px solid #54886d;background:#152733;color:#a0edc0
}
html[data-rally-theme="dark"] .rally-withdrawal-actions .rally-withdrawal-confirm {border-color:#ad6c79
}
html[data-rally-theme="dark"] .rally-withdrawal-actions button:focus-visible,html[data-rally-theme="dark"] .rally-withdrawal-review summary:focus-visible {outline:3px solid #54886d
}
html[data-rally-theme="dark"] .rally-walkover-choice select {border:1px solid #54886d;background:#152733;color:#a0edc0
}
html[data-rally-theme="dark"] .rally-walkover-impact {border-top:1px solid #536c7d
}
html[data-rally-theme="dark"] .rally-walkover-impact p {border-bottom:1px solid #536c7d
}
html[data-rally-theme="dark"] .rally-withdrawal-review select:focus-visible {outline:3px solid #54886d
}
html[data-rally-theme="dark"] .rally-entry-action textarea {border:1px solid #54886d
}
}
