.app-request-dialog { width: min(760px, calc(100% - 1rem)); max-height: calc(100dvh - 2rem); overflow: hidden; }
.app-request-dialog .modal-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.app-request-dialog .modal-head { flex-shrink: 0; margin-bottom: 1rem; }
.app-request-dialog .modal-head h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.app-request-dialog [data-app-request-view="form"] { display: flex; flex-direction: column; min-height: 0; }
.app-request-dialog [data-app-request-view][hidden], .app-request-dialog [hidden] { display: none !important; }
.app-request-dialog .registration-form { display: flex; flex-direction: column; min-height: 0; }
.app-request-fields { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: .2rem .4rem .6rem 0; }
.app-request-fields fieldset { display: grid; gap: 1rem; margin: 0; padding: 5px; border: 0; min-width: 0; }
.app-request-fields legend { padding: 0; margin-bottom: 1rem; font-size: 1.15rem; font-weight: 750; color: var(--ink); }
.app-request-fields .form-field { margin: 0; }
.app-request-fields input:not([type="checkbox"]):not([type="hidden"]), .app-request-fields select, .app-request-fields textarea { width: 100%; min-width: 0; font: inherit; }
.app-request-fields textarea { padding: .8rem 1rem; border: 1px solid rgba(139,158,190,.25); border-radius: 1rem; resize: vertical; background: #fff; color: var(--ink); }
.app-request-fields textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.app-request-fields select { padding: .8rem 1rem; border: 1px solid rgba(139,158,190,.25); border-radius: 1rem; background: rgba(255,255,255,.86); color: var(--ink); }
.app-request-fields select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.app-request-fields input[type="checkbox"] { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--blue); }
.app-request-steps { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.app-request-steps li { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.app-request-steps li > span { display: flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: rgba(133,151,188,.12); font-weight: 750; }
.app-request-steps .is-current, .app-request-steps .is-done { color: var(--blue); }
.app-request-steps .is-current > span, .app-request-steps .is-done > span { color: #fff; background: var(--blue); }
.app-request-options { display: grid; gap: .65rem; }
.app-request-options h3 { margin: 0 0 .2rem; font-size: 1rem; font-weight: 700; }
.app-request-options label, .app-request-consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.app-request-hint { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.app-request-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.app-request-navigation { display: flex; flex-shrink: 0; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid rgba(139,158,190,.18); }
.app-request-navigation > span { color: var(--muted); font-size: .85rem; }
.app-request-navigation > div { display: flex; gap: .5rem; }
.app-request-navigation button[type="submit"] { min-height: auto; margin: 0; padding: .8rem 1.1rem; font-size: .95rem; }
.app-request-dialog [data-app-request-view="confirmation"] { overflow-y: auto; }
@media (max-width: 600px) {
    .app-request-dialog .modal-inner { padding: 1.15rem; }
    .app-request-dialog .modal-copy { font-size: .85rem; }
    .app-request-steps strong { display: none; }
    .app-request-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .app-request-navigation { flex-wrap: wrap; }
    .app-request-navigation > div { flex: 1; justify-content: flex-end; }
    .app-request-navigation .button { padding: .7rem .8rem; font-size: .88rem; }
}
