.leave-guide .prose{max-width:800px;margin-inline:auto}.leave-guide .prose h2{margin-top:2rem}
.leave-phase,.leave-cost{min-width:0;border:1px solid #cbd8df;border-radius:12px;padding:1rem;margin:1rem 0}.leave-phase legend{font-weight:750;padding:0 .35rem}.leave-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.leave-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.leave-summary p{background:#eef8f2;border:1px solid #c6dfcf;padding:1rem;border-radius:12px}.leave-summary strong{display:block;font-size:1.4rem}.leave-scroll{overflow-x:auto;border:1px solid #cbd8df;border-radius:10px}.leave-scroll table{border-collapse:collapse;width:100%;min-width:680px}.leave-scroll th,.leave-scroll td{padding:.65rem;text-align:right;border-bottom:1px solid #dae5eb;white-space:nowrap}.leave-scroll th:first-child,.leave-scroll td:first-child{text-align:left}.leave-negative{color:#a21b28;font-weight:750}.leave-chart{display:block;width:100%;max-height:220px;margin:1rem 0}.leave-chart polyline{fill:none;stroke:#087f45;stroke-width:3}.leave-chart line{stroke:#8799aa;stroke-dasharray:4 4}.leave-chart text{fill:#233f55;font-size:12px}.leave-error{border:2px solid #a21b28;padding:1rem;border-radius:10px}.leave-note{font-size:.95rem;color:#40566b}
@media(max-width:620px){.leave-summary{grid-template-columns:1fr}.leave-phase,.leave-cost{padding:.75rem}.leave-scroll{max-width:100%}}
@media print{.leave-planner .page-hero{padding:0}.leave-planner h1{font-size:22pt}.leave-planner #leaveForm,.leave-planner .leave-actions,.leave-planner .leave-help{display:none!important}.leave-planner .calc{border:0;padding:0;box-shadow:none}.leave-planner .content{padding:0}.leave-summary{grid-template-columns:repeat(3,1fr)}.leave-summary p{font-size:9pt;padding:6pt}.leave-summary strong{font-size:12pt}.leave-scroll{overflow:visible;border:0}.leave-scroll table{min-width:0;font-size:8pt}.leave-scroll th,.leave-scroll td{white-space:normal;padding:4pt}.leave-planner tr{break-inside:avoid}.leave-chart{max-height:120px}.leave-planner #leaveResult>p{font-size:9pt}.leave-planner h2{font-size:14pt}}
