#stayRecoveryDialog{width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0}
#stayRecoveryForm{padding:24px;overflow:auto;max-height:calc(100dvh - 34px)}
#stayRecoveryForm header,#stayRecoveryForm footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
#stayRecoveryFields{border:0;padding:0;margin:0 0 16px;min-width:0}
#stayRecoveryFields .form-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
#stayRecoveryForm label{display:grid;gap:8px;min-width:0}
#stayRecoveryForm input,#stayRecoveryForm select,#stayRecoveryForm textarea{width:100%;min-width:0;box-sizing:border-box}
#stayRecoveryReason{min-height:80px}#stayRecoveryForm footer{margin-top:20px;justify-content:flex-end;flex-wrap:wrap}
#stayRecoveryPreviewBody{margin:18px 0}#stayRecoveryPreviewBody .table-wrap{overflow-x:auto}
@media(max-width:540px){#stayRecoveryForm{padding:16px}#stayRecoveryForm h2{font-size:1.5rem}#stayRecoveryForm footer>button{flex:1}}

#stayRecoveryPreviewBody table{min-width:0;width:100%;table-layout:fixed}#stayRecoveryPreviewBody th:first-child{width:46%}#stayRecoveryPreviewBody th:nth-child(2){width:25%}#stayRecoveryPreviewBody th,#stayRecoveryPreviewBody td{white-space:normal;overflow-wrap:anywhere}#stayRecoveryPreviewBody .recovery-date{display:block}
@media(max-width:540px){#stayRecoveryPreviewBody th,#stayRecoveryPreviewBody td{padding:8px;font-size:.8rem}}
