.survey-creator{width:min(680px,calc(100vw - 24px));max-height:min(88dvh,860px);box-sizing:border-box;overflow:auto;border:1px solid #d5ded9;border-radius:8px;padding:0;color:#25372e;background:#fff;box-shadow:0 24px 72px #172b2440}
.survey-creator::backdrop{background:#14251f66}
.survey-creator header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 26px 14px;border-bottom:1px solid #e2e9e4}
.survey-creator h2{font-size:21px;margin:0;line-height:1.3}.survey-creator h3{font-size:18px;line-height:1.4;margin:18px 0 8px}
.survey-creator [data-close]{display:grid;place-items:center;width:38px;height:38px;font-size:23px;background:#f2f5f3;border:1px solid #dbe4de;border-radius:6px;padding:0;color:#465b4e;flex:none}
.survey-creator [data-close]:hover{background:#e8efea}
.survey-creator .creator-eyebrow{margin:0 0 5px;color:#648173;font-size:11px;font-weight:700;text-transform:uppercase}
.survey-creator .creator-survey-title{margin:5px 0 0;color:#6b7d71;font-size:13px;line-height:1.4}
.survey-creator [data-body]{padding:20px 26px 22px}
.survey-creator label{display:block;margin:12px 0;font-size:14px;line-height:1.6}
.survey-creator textarea,.survey-creator input[type=number]{display:block;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #c9d5ce;border-radius:6px;line-height:24px;font:inherit;margin-top:7px;background:#fff;color:#22392d}
.survey-creator textarea:focus,.survey-creator input[type=number]:focus{outline:2px solid #1b805433;outline-offset:1px;border-color:#29865c}
.survey-creator textarea{resize:none;overflow:hidden;min-height:40px;line-height:24px}
.survey-creator .creator-consent,.survey-creator .creator-framework{display:flex;gap:10px;align-items:flex-start}
.survey-creator input[type=checkbox],.survey-creator input[type=radio]{width:18px;height:18px;flex-shrink:0;margin:3px 0}
.survey-creator .creator-framework{border:1px solid #dce8e0;border-radius:6px;padding:13px 14px;cursor:pointer;background:#fbfdfb}.survey-creator .creator-framework:has(input:checked){border-color:#2d8b5c;background:#f0f8f2}.creator-framework span span,.creator-framework small{display:block;margin-top:5px;line-height:1.5}
.survey-creator .creator-framework a{display:inline-block;margin-top:8px;color:#176044;font-size:12px;text-decoration:underline;text-underline-offset:2px}
.survey-creator .creator-research-consent{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #d8e6df;border-radius:6px;background:#f5faf7;color:#385649;font-size:12px}
.survey-creator .creator-research-consent input{margin-top:2px}
.survey-creator [data-body]>button{margin:9px 8px 2px 0;font-size:13px;white-space:normal;min-height:40px;padding:9px 15px}
.survey-creator [data-body]>button:not(.primary){border:1px solid #ccdcd1;background:#fff;color:#294d37;border-radius:5px}
.survey-creator [data-body]>button:not(.primary):hover{background:#eef6f0}
.survey-creator [data-body]>button:disabled{opacity:.55;cursor:not-allowed}
.creator-message{padding:12px 15px;background:#f3f6f4;line-height:1.7;border-radius:6px;margin:10px 0;max-width:90%}.creator-message.user{background:#e4f1ea;margin-left:auto}
.creator-notice{font-size:12px;color:#6f5973;line-height:1.6;background:#f7f5f8;border-left:3px solid #a98bae;padding:8px 11px;margin:0 0 18px}.survey-creator [data-error]{color:#ae284b;line-height:1.5;padding:0 26px 14px;margin:0}
.survey-creator [data-busy]{padding:12px 26px;margin:0;color:#286b46;background:#f1f8f2;border-top:1px solid #dce9df;font-size:13px}
.creator-plan-context{font-size:13px;color:#597064;margin:4px 0 18px;line-height:1.6}
.creator-progress{font-size:12px;color:#5b7562;margin:0 0 16px}.creator-progress strong{color:#1e7445}
.survey-creator ol{padding-left:22px;line-height:1.65;color:#475b4e}
.survey-creator *{min-width:0;overflow-wrap:anywhere;letter-spacing:0}
@media(max-width:560px){.survey-creator{width:calc(100vw - 16px);max-height:94dvh}.survey-creator header{padding:17px 17px 12px}.survey-creator [data-body]{padding:16px 17px 20px}.survey-creator [data-error]{padding:0 17px 12px}.creator-message{max-width:96%}}
#workspace #questionnaire-editor textarea[data-auto-height]{resize:none;overflow:hidden;box-sizing:border-box;min-height:40px;line-height:24px;padding:7px 10px}
#workspace[data-console] #questionnaire-editor #questionnaire-editor-title{font-size:17px;font-weight:600;width:100%}
#workspace .option-text[data-auto-height]{width:100%;font-size:14px}
