.review-dialog{width:min(800px,calc(100vw - 40px));max-width:none;height:min(800px,calc(100svh - 40px));max-height:calc(100svh - 40px);padding:0;border:1px solid #d2dce7;border-radius:4px;background:white;color:var(--ink);box-shadow:0 8px 24px #07132833,0 24px 90px #07132855;overflow:hidden;overscroll-behavior:contain}.review-dialog[open]{display:flex;flex-direction:column}
.review-dialog:not([open]){display:none}.review-dialog::backdrop{background:#071328a6;backdrop-filter:blur(5px)}
.request-header{display:flex;flex:none;align-items:start;justify-content:space-between;gap:24px;padding:28px 32px 24px;border-bottom:1px solid var(--rule);background:white}.request-header .kicker{color:var(--muted);margin-bottom:10px}.request-header h2{font-size:40px;line-height:1.08}.request-header h2:focus{outline:none}
.request-close{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid var(--rule);border-radius:6px;background:var(--pale)}.request-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.request-body{display:flex;flex:1;flex-direction:column;min-height:0;padding:24px 32px;overflow:auto;overscroll-behavior:contain}.request-body p{flex:none;color:var(--muted);margin-bottom:24px}.request-body label{display:block;flex:none;font-size:16px;margin-bottom:10px}.request-body textarea{display:block;flex:1;width:100%;min-height:128px;padding:20px;border:1px solid #7d91a9;border-radius:6px;background:#f6f9fc;color:var(--ink);font:16px/1.55 var(--sans);resize:none;box-shadow:inset 0 1px 3px #101d3910}.request-body textarea:focus{outline:none;border-color:#3c6293;background:white;box-shadow:inset 3px 0 0 #3c6293}
.request-footer{flex:none;padding:20px 32px 28px;border-top:1px solid var(--rule);background:var(--pale)}.request-footer p{font-size:16px;color:var(--muted);min-height:24px;margin-bottom:16px}.request-actions{display:flex;gap:12px}.request-actions .btn{border-radius:6px;min-width:180px;justify-content:center}.request-actions .request-save{background:white;color:var(--ink);border-color:#7d91a9}.request-close:active,.request-actions .btn:active{transform:scale(.985)}
@media(hover:hover){.request-close:hover,.request-save:hover{background:#e2ebf5}}
@media(max-width:540px){.review-dialog{width:calc(100vw - 24px);height:calc(100svh - 24px);max-height:calc(100svh - 24px);border-radius:4px}.request-header,.request-body,.request-footer{padding:20px}.request-header{gap:12px}.request-header h2{font-size:32px}.request-body p{font-size:16px;line-height:1.45;margin-bottom:16px}.request-body textarea{padding:16px;font-size:16px}.request-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.request-actions .btn{padding:14px 10px;min-width:0;font-size:16px}}
@media(max-height:560px){.request-header,.request-footer{padding:12px 20px}.request-header .kicker{margin-bottom:6px}.request-header h2{font-size:28px}.request-body{padding:16px 20px}.request-body p{font-size:16px;line-height:1.45;margin-bottom:12px}.request-footer p{margin-bottom:10px}.request-actions .btn{padding-top:12px;padding-bottom:12px}}
@media(max-height:420px){.request-header{padding:10px 20px}.request-header .kicker{display:none}.request-body{padding:12px 20px}.request-body p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.request-body label{margin-bottom:8px}.request-body textarea{padding:12px}}
@media print{.review-dialog{display:none!important}}
