.survey-mention-popover[data-slot=popover-content]{z-index:150;overscroll-behavior:contain;width:min(19rem, var(--radix-popover-content-available-width));max-height:min(25rem, var(--radix-popover-content-available-height));border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--popover);color:var(--popover-foreground);flex-direction:column;gap:0;margin:0;padding:0;display:flex;position:relative;inset:auto;overflow:hidden;box-shadow:0 6px 18px #0000001a}.survey-mention-popover>[data-slot=command]{height:auto;min-height:0;padding:0}.survey-mention-popover>[data-slot=command]>.survey-reference-menu{overscroll-behavior:contain;width:100%;min-height:0;max-height:none;box-shadow:none;border:0;margin:0;padding-block:5px;position:static;overflow-y:auto}.survey-reference-menu>[cmdk-list-sizer]>[data-slot=command-group]{padding:3px 6px}.survey-reference-menu>[cmdk-list-sizer]>[data-slot=command-group]+[data-slot=command-group]{border-top:1px solid var(--border);margin-block-start:4px;padding-block-start:8px}.survey-reference-menu [cmdk-group-heading]{color:var(--muted-foreground);padding:3px 8px 6px;font-size:12px;line-height:1.5}.survey-reference-menu [role=option]{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:8px;min-height:28px;padding:5px 8px;display:flex}.survey-reference-menu [role=option]>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.survey-reference-menu [role=option]>svg{color:var(--muted-foreground);flex:none}.survey-reference-menu [role=option]:is([aria-selected=true],:hover){background:var(--accent)}.survey-reference-field [data-rich-text-editor]{box-sizing:border-box;width:100%;min-height:30px;color:inherit;white-space:pre-wrap;cursor:pointer;cursor:text;background:0 0;border:0;outline:0;margin:0;padding:3px 0;font-family:inherit;display:block}.survey-reference-field [data-rich-text-editor] :is(strong,b){font-weight:700}.survey-reference-field [data-rich-text-editor] :is(em,i){font-style:italic}.survey-reference-field [data-rich-text-editor] u{text-decoration:underline}.survey-reference-field [data-rich-text-editor] mark{color:inherit}.survey-reference-field [data-rich-text-editor] a{color:var(--survey-accent,#0070d7);cursor:text;text-decoration:underline}.survey-reference-field [data-mention-start]{color:#787774;cursor:pointer}.survey-mention-default[data-slot=popover-content]{width:min(208px, var(--radix-popover-content-available-width))}.survey-mention-default label{color:#777672;gap:12px;padding:12px 16px;font-weight:500;display:grid}.survey-mention-default input{box-sizing:border-box;border:1px solid #d5d5d5;border-radius:8px;width:100%;padding:6px 8px}.survey-mention-default button{color:inherit;font:inherit;cursor:pointer;background:#fff;border:0;border-top:1px solid #eee;align-items:center;gap:8px;padding:12px 16px;display:flex}.survey-mention-default button:hover{background:#f5f5f4}.survey-reference-field [data-calculation-type=text]:before{content:"Σ Aa "}.survey-reference-field [data-calculation-type=number]:before{content:"Σ # "}
.survey-text-format-toolbar,.survey-text-link-popup,.survey-text-color-popup{z-index:65;box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--popover);color:var(--popover-foreground);box-shadow:var(--form-popup-shadow);position:fixed}.survey-text-color-popup{width:220px;padding:8px 10px}.survey-text-color-popup[data-inline]{width:100%;box-shadow:none;background:0 0;border:0;padding:0;position:static}.survey-text-color-spectrum{border-radius:var(--radius-md);cursor:crosshair;touch-action:none;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#0000);height:120px;position:relative}.survey-text-color-pointer{border:2px solid var(--background);width:14px;height:14px;box-shadow:0 0 0 1px var(--ring), var(--form-control-shadow);pointer-events:none;border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.survey-text-color-hue{appearance:none;border-radius:var(--radius-md);cursor:pointer;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border:0;width:100%;height:8px;margin:10px 0 0;display:block}.survey-text-color-hue::-webkit-slider-thumb{appearance:none;border:2px solid var(--background);width:14px;height:14px;box-shadow:0 0 0 1px var(--ring), var(--form-control-shadow);background:0 0;border-radius:50%}.survey-text-color-hue::-moz-range-thumb{border:2px solid var(--background);background:0 0;border-radius:50%;width:10px;height:10px}.survey-text-color-popup hr{border:0;border-top:1px solid var(--border);height:0;margin:10px 0}.survey-text-color-presets{grid-template-columns:repeat(8,20px);justify-content:space-between;row-gap:5px;display:grid}.survey-text-color-presets button{border:1px solid var(--input);border-radius:var(--radius-sm);cursor:pointer;width:20px;height:20px;padding:0}.survey-text-color-presets button[aria-pressed=true]{box-shadow:0 0 0 2px var(--background), 0 0 0 3px var(--primary)}.survey-text-color-hex{align-items:center;gap:8px;height:36px;display:flex;position:relative}.survey-text-color-hex>span{border:1px solid var(--input);border-radius:4px;width:24px;height:24px;position:absolute;left:6px}.survey-text-color-hex input{box-sizing:border-box;border:1px solid var(--input);border-radius:var(--radius-md);width:164px;min-width:0;height:36px;color:var(--foreground);font:14px var(--airform-inter,Inter), sans-serif;padding:0 8px 0 36px}.survey-text-color-hex button{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.survey-text-color-hex button:hover{background:var(--accent)}.survey-text-color-limit{z-index:66;color:var(--destructive);background:var(--popover);font:14px var(--airform-inter,Inter), sans-serif;margin:0;position:fixed}.survey-text-format-toolbar{align-items:center;padding:4px 5px;display:flex}.survey-text-format-toolbar button{width:28px;height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.survey-text-format-toolbar button:hover{background:var(--accent);color:var(--foreground)}.survey-text-format-toolbar button:is([aria-pressed=true],[aria-expanded=true]){color:var(--accent-foreground);background:var(--accent)}.survey-text-format-toolbar button:disabled{opacity:.4;cursor:default}.survey-text-format-separator{background:var(--border);align-self:stretch;width:1px;margin-inline:4px}.survey-text-link-popup{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:min(358px,100vw - 24px);padding:8px;display:grid}.survey-text-link-popup input{box-sizing:border-box;width:100%;min-width:0;height:28px;font:14px / 1.3 var(--airform-inter,Inter), sans-serif;padding:0 10px}.survey-text-link-popup button{height:28px;font:500 14px / 14px var(--airform-inter,Inter), sans-serif;cursor:pointer;border:0;padding:0 9.8px}.survey :is(.survey-text-format-toolbar,.survey-text-link-popup,.survey-text-color-popup) :is(button,input,[role=slider]):focus-visible{outline-offset:2px;box-shadow:0 0 0 3px var(--form-control-ring);outline:2px solid #0000}.survey :is(.survey-text-link-popup,.survey-text-color-popup) input[aria-invalid=true]{border-color:var(--destructive);box-shadow:0 0 0 3px var(--form-error-ring)}@media (forced-colors:active){.survey :is(.survey-text-format-toolbar,.survey-text-link-popup,.survey-text-color-popup) :is(button,input,[role=slider]):focus-visible{outline:2px solid highlight}}
