/* Shared server responses and task forms. Both panels remain reachable on mobile. */
.response-layout { display:grid; grid-template-columns:minmax(0,45fr) minmax(0,55fr); min-height:calc(100dvh - 50px); }
.response-layout > section { box-sizing:border-box; min-width:0; padding:50px 24px; text-align:center; overflow-wrap:anywhere; }
.response-introduction { background:var(--page-background-highlight); color:var(--body-color-highlight); }
.response-content { background:var(--page-background-normal); color:var(--page-color-normal); }
.response-layout > section > p { width:auto; max-width:550px; margin:16px auto; }
.response-layout form > p { max-width:100%; }
.response-layout form { box-sizing:border-box; width:100%; max-width:32rem; margin:0 auto; text-align:left; }
.response-layout label { display:block; margin:0 0 8px; }
.response-layout input { box-sizing:border-box; width:100%; min-width:0; }
.response-layout .input { max-width:100%; }
/* Pairing is a compact task form; shared input components retain their own styling. */
.response-layout form.pair-device-form { max-width:300px; padding:20px 12px; text-align:center; }
.response-layout .pair-device-form > p { width:100%; margin:12px auto 20px; }
.response-layout .pair-device-form > .input { margin:10px auto; }
.response-layout :is(input,button,a):focus-visible { outline:2px solid var(--dialog-color-highlight); outline-offset:2px; }
@media(max-width:1023px) {
    .response-layout { grid-template-columns:minmax(0,1fr); }
    .response-layout > section { padding:32px 16px; }
}
