/* Hidden scroll containers otherwise scroll the whole canvas on input focus. */
body.is-space-page:has(.space-forms-layer) .site-shell,body.is-space-page:has(.space-forms-layer) .hero.hero--node-canvas{overflow:clip}
.space-forms-layer{position:absolute;inset:0;pointer-events:none;font:13px/1.45 Inter,Arial,sans-serif;color:#f3f3f1;z-index:12;text-align:left;letter-spacing:-.015em}
.space-form{position:absolute;width:420px;pointer-events:none;transform-origin:center top}
.form-main-head,.space-form-block,.form-main-footer,.form-results{box-sizing:border-box;pointer-events:auto}
.form-main-head{padding:18px 22px 20px;background:#080808;border:1px solid #ffffff21;border-radius:18px;margin-bottom:20px}
.form-main-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;min-height:28px;cursor:grab}
.form-mode-actions{display:flex;gap:4px;margin-left:auto}.space-forms-layer button,.space-forms-layer input,.space-forms-layer textarea,.space-forms-layer select{font:inherit;letter-spacing:inherit;box-sizing:border-box;color:inherit}
.space-forms-layer button{border:0;border-radius:7px;background:transparent;padding:7px 9px;cursor:pointer;line-height:1.3}
.space-forms-layer button:hover{background:#ffffff0d}.space-forms-layer button:disabled{opacity:.3;cursor:default}
.space-forms-layer button:focus-visible,.space-forms-layer summary:focus-visible{outline:2px solid #c0d1fa;outline-offset:3px}
.form-mode-actions button{font-size:11px;color:#969696;padding:6px 8px}.form-mode-actions [aria-pressed=true]{background:#ffffff0d;color:#f3f3f1}
.space-forms-layer input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),.space-forms-layer textarea,.space-forms-layer select{border:1px solid #ffffff21;background:#111;border-radius:8px;padding:10px 11px;width:100%;min-width:0;outline:0}
.space-forms-layer input:focus,.space-forms-layer textarea:focus,.space-forms-layer select:focus{border-color:#c0d1fa70!important}
.space-forms-layer input::placeholder,.space-forms-layer textarea::placeholder{color:#747474}
.space-forms-layer textarea{resize:none;overflow:hidden;display:block;min-height:40px;max-height:none}
.space-forms-layer input[type=checkbox],.space-forms-layer input[type=radio],.space-forms-layer input[type=range]{accent-color:#c0d1fa}
.space-forms-layer input[type=color]{width:64px;height:40px;padding:3px;background:#111;border:1px solid #ffffff21;border-radius:7px}
.space-forms-layer input:disabled,.space-forms-layer textarea:disabled{opacity:.4;cursor:default}
.space-forms-layer .form-main-title{font-size:25px!important;line-height:1.2!important;font-weight:500!important;letter-spacing:-.05em!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;min-height:32px}
.space-forms-layer [data-form-description]{border:0;background:transparent;padding:0;margin-top:12px;min-height:20px;color:#a4a4a4;line-height:1.5}
.form-main-head h2{font:500 25px/1.2 Inter,Arial,sans-serif;letter-spacing:-.05em;margin:0}.form-main-head p{margin:12px 0 0;color:#a4a4a4;white-space:pre-wrap;overflow-wrap:anywhere}
.form-main-options{margin-top:16px;color:#a0a0a0;font-size:12px}.form-main-options summary{cursor:pointer;width:max-content}.form-main-options>div{display:grid;gap:12px;padding-top:14px}.form-main-options label{display:grid;gap:5px}.form-main-options button{text-align:left}
.form-question-stack{position:relative;display:flex;flex-direction:column;gap:18px}
.space-form-block{position:relative;width:100%;padding:20px;background:#0d0d0d;border:1px solid #ffffff21;border-radius:17px;transform-origin:center center;transition:box-shadow 180ms ease,border-color 180ms ease;min-width:0}
.space-form-block.is-floating{position:absolute;pointer-events:auto}
.space-form-block.is-form-leaving{pointer-events:none;opacity:0;transition:opacity 160ms ease}
.space-form-block.is-form-selected{border-color:#ffffff3a}.space-form-block.is-form-dragging{box-shadow:0 20px 55px #0007;border-color:#ffffff4a;z-index:100;will-change:transform;user-select:none;cursor:grabbing}
.space-form.is-form-dragging{z-index:100;will-change:transform}.space-form.is-form-dragging .form-main-head{box-shadow:0 18px 40px #0006;border-color:#ffffff4a}
.form-question-head{display:flex;align-items:flex-start;gap:10px;min-width:0}.form-question-number{font-size:11px;color:#757575;padding-top:4px;min-width:13px;font-variant-numeric:tabular-nums}
.form-question-head h3{font:500 16px/1.45 Inter,Arial,sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere;margin:0;flex:1}
.space-forms-layer .form-question-title{font-size:16px;font-weight:500;line-height:1.45;background:transparent;border:0;border-radius:0;padding:0;min-height:24px;flex:1;letter-spacing:-.025em}
.space-forms-layer .form-grip{width:28px;height:28px;padding:5px;color:#777;flex-shrink:0;cursor:grab;touch-action:none}.form-grip:active{cursor:grabbing}.space-forms-layer svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;display:block}.form-grip circle{fill:currentColor;stroke:none}
.form-question-body{margin-top:20px}.form-question-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:20px;border-top:1px solid #ffffff0d;padding-top:12px}
.space-forms-layer .form-question-footer>select{border:0;background:transparent;padding:3px 0;font-size:11px;width:auto;max-width:240px;color:#999;cursor:pointer}.space-forms-layer select option{background:#111;color:#eee}
.form-question-tools{display:flex;align-items:center;gap:4px}.space-forms-layer .form-icon-button{padding:5px}.form-details{position:static}.form-details summary{display:flex;cursor:pointer;padding:5px;border-radius:7px;list-style:none}.form-details summary::-webkit-details-marker{display:none}
.form-settings{position:absolute;right:16px;top:calc(100% - 12px);width:248px;z-index:30;padding:14px;background:#080808;border:1px solid #ffffff21;border-radius:12px;box-shadow:0 18px 36px #0007;display:flex;flex-direction:column;gap:10px;font-size:12px}
.space-form-block:has(details[open]){z-index:20}.form-settings label{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-settings button{text-align:left}.space-forms-layer .form-danger{color:#c4a3a3}.form-range-settings{display:flex;gap:8px}.form-range-settings label{flex:1;min-width:0}
.form-option-editor{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.form-option-dot{color:#929292;width:16px;text-align:center}.form-option-editor>input{flex:1}.form-option-actions{display:flex;gap:0}.form-option-actions button{padding:4px;font-size:12px;color:#888}.form-correct{width:100%;font-size:11px;color:#8f9b8c;padding-left:20px;display:flex;align-items:center;gap:5px}.form-option-editor>select{margin-left:24px}
.space-forms-layer .form-text-action{color:#999;font-size:12px;padding-left:0}.form-answer-options{display:flex;flex-direction:column;gap:9px}.form-answer-option{display:block;border:1px solid #ffffff18;border-radius:9px;cursor:pointer;padding:11px 12px;color:#ccc;overflow-wrap:anywhere}.form-answer-option:has(input:checked){border-color:#c0d1fa70;background:#c0d1fa09}.form-answer-option>span{display:flex;align-items:center;gap:10px}.form-answer-option input{margin:0;flex-shrink:0}.form-visual-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.form-visual-options img{width:100%;max-height:180px;object-fit:contain;display:block;margin-bottom:10px;border-radius:4px}.form-visual-options .form-answer-option{padding:8px}
.form-scale input{width:100%;margin:8px 0 12px}.form-scale>div{display:flex;justify-content:space-between;color:#888;font-size:12px}.form-scale output{color:#ccc}.form-rating{display:flex;flex-wrap:wrap;gap:2px}.space-forms-layer .form-rating button{font-size:25px;padding:2px 5px;color:#c0d1fa}
.form-file{padding:18px 10px;border:1px dashed #ffffff2a;border-radius:9px;display:flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;color:#bbb}.form-file input{position:absolute;width:1px;height:1px;opacity:0}.form-file:has(input:focus-visible){outline:2px solid #c0d1fa}.form-file:has(input:disabled){opacity:.4;cursor:default}.space-forms-layer a{color:#c0d1fa;overflow-wrap:anywhere}.form-hint{color:#777;font-size:11px;line-height:1.5;display:block;margin-top:8px}.form-required{color:#c0d1fa}.form-error{font-size:12px;color:#d9a4a4;margin:12px 0 0}.form-error[hidden]{display:none}
.form-main-footer{margin-top:20px;padding:0 4px 12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.space-forms-layer .form-add-question{border:1px solid #ffffff21;border-radius:10px;padding:11px 16px;background:#0d0d0d;font-size:12px}.form-results-toggle{color:#999;font-size:12px!important}.form-results-toggle span{font-variant-numeric:tabular-nums;margin-left:5px;color:#666}.space-forms-layer .form-submit{background:#f3f3f1;color:#151515;padding:11px 18px;border-radius:9px;font-weight:500}.space-forms-layer .form-submit:hover{background:#c0d1fa}.form-main-footer [data-save-status]{font-size:11px;color:#999;margin:0}.form-main-footer>.form-hint{width:100%;margin-top:0}
.form-origin{display:flex;justify-content:space-between;margin-top:12px;border-top:1px solid #ffffff0d;padding-top:7px;color:#888;font-size:11px}.form-origin button{max-width:75%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding-left:0}.form-linked-images span{display:flex;justify-content:space-between;align-items:center;color:#999;font-size:11px}
.form-insertion{box-sizing:border-box;width:100%;flex-shrink:0;background:#ffffff025;border:1px dashed #ffffff2a;border-radius:17px;pointer-events:none}.form-insertion.is-magnetic{border-color:#c0d1fa88;background:#c0d1fa08}
.form-reference-links{position:absolute;inset:0;width:1px;height:1px;overflow:visible;pointer-events:none;z-index:-1}.form-reference-links path{stroke:#c0d1fa60;stroke-width:1;fill:none;stroke-dasharray:3 6;vector-effect:non-scaling-stroke}
.form-results{margin-top:16px;background:#080808;border:1px solid #ffffff21;border-radius:17px;padding:20px}.form-results[hidden]{display:none}.form-results>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.form-results h3{font-size:16px;font-weight:500;letter-spacing:-.025em;margin:0}.form-results [data-response-detail]>div{padding:14px 0;border-bottom:1px solid #ffffff10}.form-results strong{font-size:12px;font-weight:500}.form-results p{font-size:12px;color:#aaa;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.form-results>button{margin-top:12px}
@media(pointer:coarse){.space-forms-layer .form-grip{width:38px;height:38px;padding:10px}.form-question-footer{min-height:38px}.form-option-actions button{padding:8px}.space-forms-layer button{min-height:32px}}
@media(prefers-reduced-motion:reduce){.space-form-block{transition:none}}
