#script-question-panel{width:min(1180px,96vw);max-width:96vw;max-height:94vh;scroll-padding-top:120px;padding:0;border:1px solid #d8e2ee;border-radius:18px;background:#f7f9fc;color:#152c45;box-shadow:0 24px 90px #11283c55}
#script-question-panel::backdrop{background:#10283c99}
.script-question-panel-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#fff;border-bottom:1px solid #d8e2ee}
.script-question-panel-header h2{margin:0 0 6px;font-size:21px}.script-question-panel-header p{margin:0;font-size:13px;max-width:640px}.script-question-panel-header button{flex-shrink:0}
#script-question-panel-body{padding:16px}#script-question-panel-body .pw-workflow{margin:0}
@media(max-width:640px){#script-question-panel{scroll-padding-top:180px}.script-question-panel-header{align-items:flex-start;flex-direction:column;padding:16px;gap:12px}#script-question-panel-body{padding:8px}}

#script-question-panel-drafts{padding:16px 24px 0}#script-question-panel-drafts .sh-r{grid-template-columns:minmax(120px,.8fr) minmax(0,1.1fr) minmax(180px,1fr);padding:8px 10px}#script-question-panel-drafts .anote{padding:8px 10px}

/* The recipient section sits beside the guided worksheet, outside its CSS scope. */
#script-question-panel-recipient{box-sizing:border-box;padding:16px 24px 0;color:#173e35;font:15px/1.5 var(--f-body,system-ui,sans-serif);text-align:left}
#script-question-panel-recipient section{box-sizing:border-box;min-width:0;padding:24px;border:1px solid #dce6df;border-radius:12px;background:#fff}
#script-question-panel-recipient h3{margin:0 0 12px;color:#173e35;font-size:16px;line-height:1.4}
#script-question-panel-recipient p{margin:10px 0;font-size:13px;overflow-wrap:anywhere}
#script-question-panel-recipient label{display:block;margin:16px 0 6px;font-size:13px;font-weight:650}
#script-question-panel-recipient select,#script-question-panel-recipient button{box-sizing:border-box;max-width:100%;min-height:44px;border:1px solid #ccd8cf;border-radius:8px;font:inherit;font-size:14px}
#script-question-panel-recipient select{display:block;width:100%;padding:10px 12px;background:#fff;color:#173e35}
#script-question-panel-recipient button{margin:4px 0;padding:10px 16px;border-color:#176b55;background:#176b55;color:#fff;font-weight:650;cursor:pointer;white-space:normal}
#script-question-panel-recipient select:disabled,#script-question-panel-recipient button:disabled{background:#e9efe9;color:#52665c;border-color:#ccd8cf;cursor:not-allowed}
#script-question-panel-recipient select:focus-visible,#script-question-panel-recipient button:focus-visible{outline:3px solid #95c3ae;outline-offset:3px}
@media(max-width:640px){#script-question-panel-recipient{padding:8px 8px 0}#script-question-panel-recipient section{padding:16px}#script-question-panel-recipient button{width:100%}}
