.opn-survey-duplicate-dialog{border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);background:var(--opn-color-bg-surface);width:37.5rem;max-width:calc(100vw - 1.75rem);max-height:calc(100dvh - 1.75rem);color:var(--opn-color-text-default);box-shadow:var(--opn-shadow-lg);padding:0}.opn-survey-duplicate-dialog::backdrop{background:#0b132b8c}.opn-survey-duplicate-dialog header{justify-content:space-between;align-items:flex-start;gap:var(--opn-space-4);padding:var(--opn-space-6);border-bottom:1px solid var(--opn-color-border-subtle);display:flex}.opn-survey-duplicate-dialog h2{margin:var(--opn-space-2) 0 0;font-size:var(--opn-font-size-h2)}.opn-survey-duplicate-dialog__body{gap:var(--opn-space-4);padding:var(--opn-space-6);display:grid}.opn-survey-duplicate-dialog__body>p{margin:0}.opn-survey-duplicate-dialog footer{justify-content:flex-end;gap:var(--opn-space-3);padding:var(--opn-space-4) var(--opn-space-6);border-top:1px solid var(--opn-color-border-subtle);background:var(--opn-color-bg-surface);display:flex;position:sticky;bottom:0}.opn-survey-duplicate-origin{gap:var(--opn-space-2);padding:var(--opn-space-4);background:var(--opn-color-bg-surface-soft);border:1px solid var(--opn-color-border-subtle);border-radius:var(--opn-radius-sm);display:grid}.opn-survey-duplicate-origin span,.opn-survey-duplicate-review dt,.opn-survey-duplicate-unavailable{color:var(--opn-color-text-muted);font-size:var(--opn-font-size-sm)}.opn-survey-duplicate-review{margin:0}.opn-survey-duplicate-review div{padding:var(--opn-space-3) 0;border-bottom:1px solid var(--opn-color-border-subtle)}.opn-survey-duplicate-review dd{margin:var(--opn-space-2) 0 0;font-weight:var(--opn-font-weight-semibold);overflow-wrap:anywhere}@media (max-width:700px){.opn-survey-duplicate-dialog header,.opn-survey-duplicate-dialog__body{padding:var(--opn-space-4)}.opn-survey-duplicate-dialog footer{padding:var(--opn-space-4);flex-wrap:wrap}.opn-survey-duplicate-dialog footer button{flex:1}}.opn-survey-duplicate-dialog header .opn-button{flex:none;width:auto}.opn-survey-duplicate-dialog header>div{flex:1;min-width:0}.opn-survey-project-picker{min-width:0}.opn-survey-project-picker__anchor{position:relative}.opn-survey-project-picker__anchor input{padding-right:3rem}.opn-survey-project-picker__clear.opn-button{width:auto;min-width:2.5rem;min-height:2.5rem;padding:0;font-size:1.35rem;position:absolute;top:1.8rem;right:.25rem}.opn-survey-project-picker__popup{z-index:40;background:var(--opn-color-bg-surface);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-sm);box-shadow:var(--opn-shadow-md);position:absolute;top:calc(100% + .4rem);left:0;right:0;overflow:hidden}.opn-survey-project-picker__popup--above{top:auto;bottom:calc(100% + .4rem)}.opn-survey-project-picker__popup>p{font-size:var(--opn-font-size-caption);margin:0;padding:.7rem .85rem;line-height:1.5}.opn-survey-project-picker__popup ul{overscroll-behavior:contain;max-height:13rem;margin:0;padding:.25rem;list-style:none;overflow-y:auto}.opn-survey-project-picker__popup li{border-radius:var(--opn-radius-xs);cursor:pointer;overflow-wrap:anywhere;border:1px solid #0000;padding:.65rem .75rem;line-height:1.45}.opn-survey-project-picker__popup li strong{font-size:var(--opn-font-size-label);font-weight:var(--opn-font-weight-semibold);display:block}.opn-survey-project-picker__popup li small{color:var(--opn-color-text-muted);font-size:var(--opn-font-size-caption);margin-top:.2rem;display:block}.opn-survey-project-picker__popup li.opn-survey-project-picker__active{background:var(--opn-color-action-primary-soft);border-color:var(--opn-color-action-primary-border)}.opn-survey-project-picker__popup li[aria-selected=true] strong:after{content:" ✓";color:var(--opn-color-success-text)}.opn-survey-project-picker__popup .opn-button{border-radius:0;width:100%}.opn-survey-project-picker__selection:not(:empty){font-size:var(--opn-font-size-caption);color:var(--opn-color-success-text);background:var(--opn-color-success-bg);border:1px solid var(--opn-color-success-border);border-radius:var(--opn-radius-sm);overflow-wrap:anywhere;margin:.5rem 0 0;padding:.5rem .7rem}.opn-survey-project-picker__selection:empty{margin:0}@media (max-width:700px){.opn-survey-project-picker__popup ul{max-height:11rem}}.opn-survey-project-picker__popup ul:empty{display:none}.opn-survey-duplicate-project-code{font-weight:var(--opn-font-weight-regular);color:var(--opn-color-text-muted);font-size:var(--opn-font-size-caption);margin-top:.2rem;display:block}
.opn-template-layout{grid-template-columns:minmax(0,1fr)}.opn-template-filter-primary{grid-template-columns:minmax(0,1fr) auto}.opn-template-tabs{gap:var(--opn-space-6);border-bottom:1px solid var(--opn-color-border-default);display:flex}.opn-template-tabs .opn-button{padding:var(--opn-space-3) var(--opn-space-1);color:var(--opn-color-text-muted);background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0}.opn-template-tabs .opn-button[aria-selected=true]{color:var(--opn-color-action-primary);border-bottom-color:var(--opn-color-action-primary)}.opn-template-actions-menu{position:relative}.opn-template-actions-menu>summary{justify-content:center;align-items:center;gap:var(--opn-space-3);min-height:var(--opn-control-height-md);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-sm);padding:var(--opn-space-2) var(--opn-space-4);background:var(--opn-color-bg-surface);font-size:var(--opn-font-size-label);font-weight:var(--opn-font-weight-bold);cursor:pointer;list-style:none;display:inline-flex}.opn-template-actions-menu>summary::-webkit-details-marker{display:none}.opn-template-actions-menu>summary:focus-visible{outline:3px solid var(--opn-color-focus-ring);outline-offset:3px}.opn-template-actions-menu__panel{right:0;top:calc(100% + var(--opn-space-2));z-index:25;gap:var(--opn-space-1);border:1px solid var(--opn-color-border-subtle);border-radius:var(--opn-radius-md);background:var(--opn-color-bg-surface);min-width:15rem;padding:var(--opn-space-2);box-shadow:var(--opn-shadow-md);display:grid;position:absolute}.opn-template-actions-menu__panel>.opn-button{box-shadow:none;border-color:#0000;justify-content:flex-start}.opn-project-detail-header:has(.opn-template-actions-menu[open]){z-index:2;overflow:visible}.opn-template-survey-header .opn-project-detail-header__main{flex-wrap:nowrap;align-items:center}.opn-template-survey-header .opn-project-detail-header__main>.opn-stack{flex:auto;min-width:0}.opn-template-survey-header .opn-project-detail-header__actions{flex:none;justify-content:flex-end;align-self:center;align-items:center;margin-left:auto}.opn-template-survey-header .opn-project-detail-header__actions>.opn-button,.opn-template-survey-header .opn-template-actions-menu>summary{min-height:var(--opn-control-height-md);white-space:nowrap}.opn-template-history{padding:var(--opn-space-6)}.opn-template-history>h2{font-size:var(--opn-font-size-h3);margin:0}.opn-template-history>p{margin:var(--opn-space-2) 0 var(--opn-space-4);font-size:var(--opn-font-size-label)}.opn-template-history-list{margin:0;padding:0;list-style:none}.opn-template-history-item{justify-content:space-between;align-items:center;gap:var(--opn-space-6);border-top:1px solid var(--opn-color-border-subtle);padding-block:var(--opn-space-5);display:flex}.opn-template-history-item h3{font-size:var(--opn-font-size-body);margin:0}.opn-template-history-item p{margin:var(--opn-space-2) 0 0;font-size:var(--opn-font-size-label)}.opn-template-media-section{border-top:1px solid var(--opn-color-border-subtle);padding-top:var(--opn-space-5)}.opn-template-media-section>h3{font-size:var(--opn-font-size-body)}.opn-template-media-grid{gap:var(--opn-space-4);grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));display:grid}.opn-template-media{align-content:start;gap:var(--opn-space-3);display:grid}.opn-template-media>strong{font-size:var(--opn-font-size-label)}.opn-template-media figure{margin:0}.opn-template-media img{object-fit:contain;max-width:100%;max-height:20rem;display:block}.opn-template-dialog{border:1px solid var(--opn-color-border-subtle);border-radius:var(--opn-radius-xl);width:min(38rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--opn-color-text-default);background:var(--opn-color-bg-surface);box-shadow:var(--opn-shadow-lg);padding:0}.opn-template-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0b132b7a}.opn-template-dialog>form{flex-direction:column;max-height:calc(100dvh - 2rem - 2px);display:flex}.opn-template-dialog form>header{justify-content:space-between;align-items:start;gap:var(--opn-space-4);padding:var(--opn-space-6);border-bottom:1px solid var(--opn-color-border-subtle);display:flex}.opn-template-dialog form>header h2{font-size:var(--opn-font-size-h3);margin:0;line-height:1.4}.opn-template-dialog__body{overscroll-behavior:contain;padding:var(--opn-space-6);gap:var(--opn-space-5);display:grid;overflow-y:auto}.opn-template-dialog__body>p{font-size:var(--opn-font-size-label);color:var(--opn-color-text-muted);margin:0;line-height:1.7}.opn-template-dialog form>footer{justify-content:flex-end;gap:var(--opn-space-3);padding:var(--opn-space-4) var(--opn-space-6);border-top:1px solid var(--opn-color-border-subtle);background:var(--opn-color-bg-surface-soft);display:flex}.opn-template-dialog__body>.opn-stack>p{font-size:var(--opn-font-size-label);line-height:1.7}.opn-template-fields{gap:var(--opn-space-4);grid-template-columns:1fr 1fr;display:grid}.opn-template-review{margin:0}.opn-template-review>div{gap:var(--opn-space-4);padding-block:var(--opn-space-3);border-bottom:1px solid var(--opn-color-border-subtle);grid-template-columns:7rem minmax(0,1fr);display:grid}.opn-template-review dt{color:var(--opn-color-text-muted);font-size:var(--opn-font-size-caption)}.opn-template-review dd{font-size:var(--opn-font-size-label);font-weight:var(--opn-font-weight-semibold);overflow-wrap:anywhere;margin:0}.opn-template-review .opn-template-revision{font-family:var(--opn-font-family-mono);font-size:var(--opn-font-size-caption)}.opn-template-hint{color:var(--opn-color-text-muted);font-size:var(--opn-font-size-caption);margin:0;line-height:1.7}.opn-template-availability{font-size:var(--opn-font-size-label)}.opn-template-availability>summary{cursor:pointer;color:var(--opn-color-action-primary)}.opn-template-availability .opn-template-review{margin-block:var(--opn-space-3)}@media (max-width:1120px){.opn-template-survey-header .opn-project-detail-header__main{flex-wrap:wrap}.opn-template-survey-header .opn-project-detail-header__actions{flex:0 auto}.opn-template-filter-primary{grid-template-columns:minmax(0,1fr)}}@media (max-width:760px){.opn-template-filter-primary,.opn-template-fields,.opn-template-review>div{grid-template-columns:minmax(0,1fr)}.opn-template-dialog{width:calc(100vw - 1.5rem);max-height:calc(100dvh - 1.5rem)}.opn-template-dialog>form{max-height:calc(100dvh - 1.5rem - 2px)}.opn-template-dialog__body,.opn-template-dialog form>header,.opn-template-dialog form>footer{padding:var(--opn-space-5)}.opn-template-dialog form>footer .opn-button{min-width:0;padding-inline:var(--opn-space-2);font-size:var(--opn-font-size-label);flex:1}.opn-template-history{padding:var(--opn-space-5)}.opn-template-history-item{align-items:stretch;gap:var(--opn-space-3);flex-direction:column}.opn-template-survey-header .opn-project-detail-header__actions{align-self:stretch}.opn-template-actions-menu,.opn-template-actions-menu>summary{width:100%}.opn-template-tabs{gap:var(--opn-space-4)}.opn-template-tabs .opn-button{font-size:var(--opn-font-size-label);padding-inline:0}}.opn-template-dialog form>header>.opn-button{min-width:2.75rem;min-height:2.75rem;padding:var(--opn-space-2);box-shadow:none;font-size:1.5rem;line-height:1}.opn-template-reading-options{margin:0;padding:0;list-style:none}.opn-template-reading-options>li,.opn-template-reading-content{cursor:default}.opn-template-reading-focus:focus{outline:none}
.opn-question-library{gap:var(--opn-space-5);min-width:0;display:grid}.opn-question-library__filters{gap:var(--opn-space-3);grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;display:grid}.opn-question-library__filters .opn-field{min-width:0}.opn-question-library__filter-actions{align-items:center;gap:var(--opn-space-2);display:flex}.opn-question-library__list{gap:var(--opn-space-3);margin:0;padding:0;list-style:none;display:grid}.opn-question-library__row{gap:var(--opn-space-4);padding:var(--opn-space-4);border:var(--opn-border-width-default) solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);background:var(--opn-color-bg-surface);flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.opn-question-library__row-main{gap:var(--opn-space-2);overflow-wrap:anywhere;flex:20rem;min-width:0;display:grid}.opn-question-library__row-main p{margin:0}.opn-question-library__row-title{color:var(--opn-color-text-strong);font-size:var(--opn-font-size-body);margin:0}.opn-question-library__row-actions{gap:var(--opn-space-2);flex-wrap:wrap;align-items:center;display:flex}.opn-question-library__preview{gap:var(--opn-space-4);padding-left:var(--opn-space-5);display:grid}.opn-question-library__preview small{color:var(--opn-color-text-muted);display:block}.opn-question-library__preview ul{margin-top:var(--opn-space-2)}@media (max-width:900px){.opn-question-library__filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.opn-question-library__filters{grid-template-columns:minmax(0,1fr)}.opn-question-library__row-actions{width:100%}.opn-question-library__row-actions>button{flex:auto}}.opn-question-library-picker-item{gap:var(--opn-space-3);padding:var(--opn-space-3);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);background:var(--opn-color-bg-surface);flex-wrap:wrap;justify-content:space-between;align-items:center;display:flex}.opn-question-library-picker-item .opn-stack{flex:12rem;min-width:10rem}.opn-survey-builder-library-notice{margin-block:var(--opn-space-3,12px)}.opn-question-library__preview-title{font-size:var(--opn-font-size-lg,1.25rem);margin:0}.opn-question-library__preview{padding-left:var(--opn-space-5,20px);margin:0}.opn-question-library__preview>li{padding-block:var(--opn-space-3,12px)}.opn-question-library__preview-question{margin:0 0 var(--opn-space-2,8px)}.opn-question-library__preview-options{margin:var(--opn-space-3,12px) 0 0;gap:var(--opn-space-2,8px);padding:0;list-style:none;display:grid}.opn-question-library__preview-options li{align-items:center;gap:var(--opn-space-2,8px);display:flex}.opn-question-library__option-marker{border:1px solid var(--opn-color-border-default);border-radius:999px;flex:0 0 1rem;width:1rem;height:1rem}.opn-question-library__filters .opn-field__control{width:100%;min-height:2.75rem;font:inherit;color:var(--opn-color-text-strong);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-md);background:var(--opn-color-bg-surface)}.opn-question-library-filter{position:relative}.opn-question-library-filter__trigger{text-align:left;justify-content:space-between;align-items:center;gap:var(--opn-space-2);cursor:pointer;display:flex}.opn-question-library-filter__value{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.opn-question-library-filter__chevron{flex:none}.opn-question-library-filter__popover{z-index:30;width:100%;min-width:min(19rem,90vw);max-width:min(28rem,90vw);padding:var(--opn-space-3);background:var(--opn-color-bg-surface);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);position:absolute;top:calc(100% + .3rem);left:0;box-shadow:0 8px 28px #00000024}.opn-question-library-filter__options{gap:var(--opn-space-1,4px);max-height:15rem;padding-block:var(--opn-space-2);display:grid;overflow-y:auto}.opn-question-library-filter__option{width:100%;padding:var(--opn-space-2);justify-content:space-between;gap:var(--opn-space-2);text-align:left;border-radius:var(--opn-radius-md);color:var(--opn-color-text-strong);font:inherit;cursor:pointer;background:0 0;border:0;display:flex}.opn-question-library-filter__option:hover,.opn-question-library-filter__option[aria-pressed=true]{background:var(--opn-color-bg-subtle,#f1f5f9)}.opn-question-library-filter__option:focus-visible,.opn-question-library-filter__trigger:focus-visible{outline:2px solid var(--opn-color-focus,#2563eb);outline-offset:2px}.opn-question-library-filter__actions{justify-content:space-between;align-items:center;gap:var(--opn-space-2);padding-top:var(--opn-space-2);display:flex}.opn-question-library-filter__chosen{gap:var(--opn-space-2);margin:var(--opn-space-2) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.opn-question-library-filter__chip{border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);background:var(--opn-color-bg-surface);color:var(--opn-color-text-strong);cursor:pointer;padding:.2rem .5rem}.opn-question-library-filter__chip:focus-visible{outline:2px solid var(--opn-color-focus,#2563eb);outline-offset:2px}@media (max-width:600px){.opn-question-library-filter__popover{min-width:0;max-width:calc(100vw - 3rem)}}.opn-question-library-picker,.opn-question-library-picker__filters{gap:var(--opn-space-3);min-width:0;display:grid}.opn-question-library-picker__filters .opn-field{min-width:0}.opn-question-library-picker__items{min-width:0;display:grid}.opn-question-library-picker__item-description{overflow-wrap:anywhere}.opn-question-library-picker__preview{gap:var(--opn-space-3);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);min-width:0;padding:var(--opn-space-3);background:var(--opn-color-bg-surface);display:grid}.opn-question-library-picker__preview-heading{justify-content:space-between;gap:var(--opn-space-3);flex-wrap:wrap;align-items:center;display:flex}.opn-question-library-picker__preview-list{gap:var(--opn-space-3);padding-left:var(--opn-space-5);margin:0;display:grid}.opn-question-library-picker__preview-list>li{padding-block:var(--opn-space-2);overflow-wrap:anywhere}.opn-question-library-picker__preview-list p{margin:var(--opn-space-1,4px) 0}.opn-question-library-picker__alternatives{gap:var(--opn-space-1,4px);padding-left:var(--opn-space-5);margin:var(--opn-space-2) 0 0;list-style:outside;display:grid}.opn-question-library-picker .opn-list-pagination{min-width:0}@media (max-width:600px){.opn-question-library-picker-item{align-items:stretch}.opn-question-library-picker-item>button{width:100%}}.opn-question-library-picker__list-region{gap:var(--opn-space-2);min-width:0;display:grid}.opn-question-library-picker__result-count{margin:0}.opn-question-library-picker__items{gap:var(--opn-space-2);display:grid}.opn-question-library-picker-item[data-selected=true]{border-color:var(--opn-color-border-focus,var(--opn-color-border-default));background:var(--opn-color-bg-subtle,var(--opn-color-bg-surface))}.opn-question-library-picker-item .opn-question-library-picker__item-description{gap:var(--opn-space-2);flex:12rem;min-width:0;display:grid}.opn-question-library-picker-item .opn-question-library-picker__item-description p{margin:0}.opn-question-library-picker__preview{background:var(--opn-color-bg-surface)}.opn-question-library-picker__preview-heading .opn-action-row{align-items:center;gap:var(--opn-space-2);flex-wrap:wrap;display:flex}.opn-question-library-picker__list-region .opn-list-pagination{box-shadow:none;padding:var(--opn-space-2) 0;border:0;border-top:1px solid var(--opn-color-border-default);background:0 0}.opn-question-library-structure-preview{gap:var(--opn-space-3);min-width:0;display:grid}.opn-question-library-structure-preview__header{gap:var(--opn-space-2);padding:var(--opn-space-3);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);background:var(--opn-color-bg-subtle,var(--opn-color-bg-surface));display:grid}.opn-question-library-structure-preview__header h3{font-size:var(--opn-font-size-lg,1.25rem);color:var(--opn-color-text-strong);margin:0}.opn-question-library-structure-preview__header p{margin:0}.opn-question-library-structure-preview__questions{gap:var(--opn-space-3);display:grid}.opn-question-library-structure-preview__question{gap:var(--opn-space-3);border:1px solid var(--opn-color-border-default);border-radius:var(--opn-radius-lg);padding:var(--opn-space-3);background:var(--opn-color-bg-surface);min-width:0;display:grid}.opn-question-library-structure-preview__question-heading{gap:var(--opn-space-2);align-items:flex-start;display:flex}.opn-question-library-structure-preview__number{background:var(--opn-color-bg-subtle,var(--opn-color-bg-surface));color:var(--opn-color-text-muted);border-radius:var(--opn-radius-md);padding:var(--opn-space-2);font-size:var(--opn-font-size-sm,.875rem);flex:none}.opn-question-library-structure-preview__question-title{align-items:flex-start;gap:var(--opn-space-2);overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.opn-question-library-structure-preview__answers{padding:var(--opn-space-3);gap:var(--opn-space-3);background:var(--opn-color-bg-subtle,var(--opn-color-bg-surface));border-radius:var(--opn-radius-md);margin:0;list-style:none;display:grid}.opn-question-library-structure-preview__answers li{align-items:center;gap:var(--opn-space-2);overflow-wrap:anywhere;display:flex}.opn-question-library-structure-preview__answer-mark{border:1px solid var(--opn-color-border-default);background:var(--opn-color-bg-surface);border-radius:50%;flex-shrink:0;width:1rem;height:1rem}.opn-question-library-structure-preview__answer-mark[data-answer=multiple]{border-radius:var(--opn-radius-sm,.25rem)}.opn-question-library-structure-preview__empty{padding:var(--opn-space-3);border-radius:var(--opn-radius-md);background:var(--opn-color-bg-subtle,var(--opn-color-bg-surface));color:var(--opn-color-text-muted)}@media (max-width:600px){.opn-question-library-picker-item{align-items:stretch}.opn-question-library-picker-item>button{width:100%}}

