body:has(#question-maker):before{max-height:100dvh}.question-maker{width:calc(100% - 48px);min-width:952px;margin:0 auto;padding:22px 0 32px;font-size:14px;line-height:1.5}.question-maker .maker-pagehead{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.question-maker .maker-heading{display:flex;align-items:baseline;gap:18px}.question-maker h1{margin:0;font-size:25px;line-height:1.35;letter-spacing:-.025em}.question-maker .maker-heading p{margin:0;color:var(--muted);font-size:12px}.question-maker .maker-page-actions{display:flex;gap:10px}.question-maker button,.question-maker input,.question-maker select,.question-maker textarea{font:inherit}.question-maker button{cursor:pointer}.question-maker button:disabled{opacity:.4;cursor:default}.question-maker .maker-button{min-height:38px;padding:8px 16px;border:1px solid var(--line);border-radius:var(--button-radius);background:var(--surface);color:var(--ink);font-size:13px;font-weight:700}.question-maker .maker-button:hover{border-color:var(--blue);color:var(--blue)}.question-maker .maker-primary{min-width:116px;background:var(--blue);border-color:var(--blue);color:var(--on-blue)}.question-maker .maker-primary:hover{background:var(--blue-hover);border-color:var(--blue-hover);color:var(--on-blue)}.question-maker .maker-workspace{display:grid;grid-template-columns:356px minmax(0,1fr);height:calc(100dvh - 184px);min-height:0;gap:20px}.question-maker .maker-controls{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:10px;background:var(--surface);scrollbar-width:thin;scrollbar-color:var(--line) transparent}.question-maker .maker-condition-actions{display:flex;align-items:center;gap:10px}.question-maker .maker-condition-trash{position:relative;z-index:40;display:flex;width:32px;height:32px;align-items:center;justify-content:center;flex:none;border:1px solid transparent;border-radius:5px;color:#d04444;transition:background .15s,border-color .15s}.question-maker .maker-condition-trash svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.question-maker .maker-condition-trash.is-drag-over{border-color:#ce3636;background:#ce3636;color:#fff}.question-maker .maker-control-block{padding:17px 18px;border-bottom:1px solid var(--line)}.question-maker .maker-control-block:last-child{border-bottom:0}.question-maker h2{margin:0;font-size:14px;line-height:1.5;font-weight:700}.question-maker .maker-block-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.question-maker .maker-shapes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}.question-maker .maker-shapes button{display:flex;min-height:68px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 3px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.4}.question-maker .maker-shapes button svg{display:block;width:53px;height:31px;overflow:visible}.question-maker .maker-shapes button:hover{border-color:var(--blue);color:var(--blue)}.question-maker .maker-shapes button[aria-pressed=true],.question-maker .maker-shapes button.is-active{border-color:var(--blue);background:color-mix(in srgb,var(--surface) 91%,var(--blue));color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.question-maker .maker-details{margin-top:13px;border-top:1px solid var(--line)}.question-maker .maker-details summary{padding:11px 0 0;color:var(--muted);font-size:12px;cursor:pointer;list-style-position:inside}.question-maker .maker-details summary:hover{color:var(--blue)}.question-maker .maker-details-content{display:grid;gap:9px;padding-top:10px}.question-maker .maker-field{display:flex;min-width:0;flex-direction:column;gap:6px;color:var(--muted);font-size:12px}.question-maker .maker-details-content .maker-field{gap:4px}.question-maker input:not([type=checkbox]):not([type=color]),.question-maker select,.question-maker textarea{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--ink);font-size:13px;line-height:1.5}.question-maker input:not([type=checkbox]):not([type=color]),.question-maker select{height:34px;padding:5px 8px}.question-maker input::placeholder,.question-maker textarea::placeholder{color:var(--muted);opacity:.7}.question-maker input:focus,.question-maker select:focus,.question-maker textarea:focus{border-color:var(--blue)}.question-maker input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:var(--blue)}.question-maker .maker-check,.question-maker .maker-checks label{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:12px}.question-maker .maker-checks{display:flex;gap:22px}.question-maker .maker-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.question-maker .maker-inline-field{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:12px}.question-maker .maker-inline-field .maker-check{height:34px}.question-maker .maker-compass-setting{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px}.question-maker .maker-compass-control{position:relative;width:100%;max-width:240px;aspect-ratio:240/116;color:var(--ink)}.question-maker .maker-compass-control[hidden]{display:none}.question-maker .maker-compass-control [data-compass-ray]{stroke:var(--muted);stroke-width:.85;pointer-events:none}.question-maker .maker-compass-control [data-compass-ray][data-selected=true]{stroke:var(--ink);stroke-width:1.7}.question-maker .maker-paper-fields{display:grid;gap:12px}.question-maker .maker-watermark-settings summary{cursor:pointer;font-weight:700;list-style-position:inside}.question-maker .maker-watermark-fields{display:grid;gap:12px;padding-top:14px}.question-maker .maker-watermark-appearance{display:grid;grid-template-columns:64px 48px minmax(0,1fr);gap:12px;align-items:end}.question-maker .maker-watermark-appearance input[type=color]{width:46px;height:32px}.question-maker input[type=range]{width:100%;height:32px;padding:0!important;border:0!important;accent-color:var(--blue)}.question-maker input:disabled,.question-maker select:disabled{opacity:.45}.question-maker .maker-text-button{padding:2px 0;border:0;background:transparent;color:var(--blue);font-size:12px;white-space:nowrap}.question-maker .maker-text-button:hover{text-decoration:underline;text-underline-offset:3px}.question-maker .maker-lines{display:grid;gap:10px}.question-maker .maker-lines:empty{display:none}.question-maker .maker-line{display:grid;min-width:0}.question-maker .maker-line textarea{width:100%;min-height:54px;padding:10px 12px;resize:none;overflow:hidden}.question-maker .maker-preview{display:flex;min-width:0;min-height:0;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);overflow:hidden}.question-maker .maker-toolbar{display:flex;min-height:60px;align-items:center;gap:9px;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid var(--line);background:var(--surface)}.question-maker .maker-tools{display:flex;gap:3px}.question-maker .maker-tools button,.question-maker .maker-undo{display:inline-flex;height:34px;align-items:center;justify-content:center;gap:5px;padding:6px 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.question-maker .maker-toolbar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.question-maker .maker-tools button:hover,.question-maker .maker-undo:not(:disabled):hover{background:var(--surface-2);color:var(--blue)}.question-maker .maker-tools button[aria-pressed=true]{border-color:color-mix(in srgb,var(--blue) 40%,var(--line));background:color-mix(in srgb,var(--surface) 88%,var(--blue));color:var(--blue)}.question-maker .maker-undo{padding-left:10px;border-left-color:var(--line);border-radius:0}.question-maker .maker-drawing-options{display:flex;align-items:center;gap:7px;padding-left:9px;border-left:1px solid var(--line)}.question-maker .maker-color-field{display:flex}.question-maker input[type=color]{width:30px;height:30px;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--bg);cursor:pointer}.question-maker .maker-toolbar select{height:30px;padding:3px 6px;font-size:12px}.question-maker .maker-width-field select{width:65px}.question-maker .maker-text-size-field{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}.question-maker .maker-text-size-field[hidden]{display:none}.question-maker #maker-text-size{width:59px;height:30px;padding:3px 6px;font-size:12px}.question-maker .maker-zoom-field{margin-left:auto}.question-maker .maker-zoom-field select{width:93px}.question-maker .maker-stage{position:relative;flex:1;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.question-maker .maker-paper{position:relative;isolation:isolate;width:694px;height:981px;flex:none;margin:0 auto;background:#fff;box-shadow:0 5px 22px #0b22391f;color-scheme:light}.question-maker .maker-paper canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}.question-maker #maker-base{z-index:0;pointer-events:none}.question-maker #maker-ink{z-index:1}.question-maker[data-tool=text] #maker-ink{cursor:text}.question-maker .maker-handles{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none}.question-maker .maker-handles button{position:absolute;display:block;transform:translate(-50%,-50%);padding:0;border:1px dashed transparent;background:transparent;color:transparent;pointer-events:auto;cursor:move;touch-action:none;user-select:none}.question-maker .maker-handles button:hover,.question-maker .maker-handles button:focus-visible,.question-maker .maker-handles button.is-selected{border-color:#2478b8;background:#2478b80e;outline-offset:0}.question-maker .maker-handles button:disabled{pointer-events:none;opacity:1}.question-maker .maker-compass{position:absolute;z-index:3;inset:0;pointer-events:none}.question-maker .maker-compass[hidden]{display:none}.question-maker .maker-compass-targets{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.question-maker .maker-compass-targets [data-compass-direction]{fill:none;stroke:transparent;stroke-width:12;stroke-linecap:round;pointer-events:stroke;cursor:pointer}.question-maker .maker-compass-targets [data-compass-direction]:hover,.question-maker .maker-compass-targets [data-compass-direction]:focus-visible{stroke:#2478b830;outline:none}.question-maker :is(#maker-compass-label,#maker-compass-control-label){position:absolute;transform:translate(-50%,-50%);max-width:none;min-height:0;padding:2px 4px;border:1px solid #c8d8e5;border-radius:4px;background:#fff;color:#171717;font-family:Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-weight:700;line-height:1.2;text-align:center;pointer-events:auto}.question-maker #maker-compass-control-label{border-color:var(--line);background:var(--bg);color:var(--ink)}.question-maker #maker-compass-label{padding:0}.question-maker :is(#maker-compass-label,#maker-compass-control-label):hover,.question-maker :is(#maker-compass-label,#maker-compass-control-label):focus{border-color:#2478b8;outline-offset:2px}.question-maker .maker-text-editor{position:absolute;z-index:4;display:grid;gap:7px;min-width:160px;padding:8px;border:1px solid #2478b8;border-radius:5px;background:#fff;box-shadow:0 3px 14px #0b22391f;color:#171717;line-height:1.4}.question-maker .maker-text-editor[hidden]{display:none}.question-maker .maker-text-editor textarea{display:block;width:100%;min-height:58px;padding:5px 6px;border:1px solid #d4dfe9;border-radius:3px;background:#fff;color:#171717;font:inherit;line-height:1.4;resize:vertical}.question-maker .maker-text-editor textarea::placeholder{color:#718298}.question-maker .maker-text-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.question-maker .maker-text-editor-actions button{min-height:27px;padding:4px 8px;border:1px solid #d4dfe9;border-radius:4px;background:#f4f7fa;color:#24374a;font-size:12px;line-height:1.4}.question-maker .maker-text-editor-actions button:hover{border-color:#2478b8;color:#17679f}.question-maker .maker-text-editor #maker-text-done{border-color:#2478b8;background:#2478b8;color:#fff}.question-maker .maker-error{margin:0 0 14px;padding:10px 14px;border:1px solid #c46c58;border-radius:6px;background:var(--surface);color:var(--ink);font-size:13px}.question-maker .maker-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1700px){.question-maker .maker-workspace{grid-template-columns:370px minmax(0,1fr);gap:24px}}@media(max-width:1200px){.question-maker .maker-workspace{grid-template-columns:340px minmax(0,1fr);gap:16px}.question-maker .maker-toolbar{gap:5px;padding-inline:9px}.question-maker .maker-tools button{padding-inline:6px}.question-maker .maker-stage{padding:20px}}
