:root{color:#16231d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#edf3ef;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #12684652}#root{min-height:100vh}.page-shell{background:radial-gradient(circle at 0 0,#20845a1a,#0000 38%),#edf3ef;place-items:center;min-height:100vh;padding:32px 20px;display:grid}.authoring-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:1.25rem;display:grid}.authoring-inline{flex-wrap:wrap;align-items:end;gap:.75rem;margin-block:1rem;display:flex}.authoring-editor fieldset{border:1px solid var(--border-color,#d9dde5);border-radius:12px;margin-block:1rem;padding:1rem}.authoring-study-heading{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.authoring-study-heading h1{overflow-wrap:anywhere;flex:15rem;min-width:0;margin-block:.5rem}.authoring-study-heading>button{flex-shrink:0;margin-left:auto}.authoring-questionnaire-layout{width:100%;min-width:0}.study-administration-modal{box-sizing:border-box;border:1px solid var(--border-color,#d9dde5);width:min(42rem,100vw - 3rem);max-height:calc(100dvh - 3rem);color:var(--text-color,#202633);background:var(--surface,#fff);border-radius:1rem;padding:1.5rem;overflow:auto}.study-administration-modal::backdrop{background:#00000073}.study-administration-modal fieldset{border:0;min-width:0;padding:0}.study-administration-modal input{box-sizing:border-box;width:100%}.study-administration-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem;display:grid}.backoffice-shell .authoring-editor button.authoring-close-study.button-secondary,.backoffice-shell .authoring-editor button.authoring-close-study.button-secondary:hover:not(:disabled){color:#fff;background:#9b2424;border-color:#9b2424}.authoring-close-confirmation{border:1px solid #9b2424;border-radius:.75rem;margin-block:1rem;padding:1rem}.authoring-card{background:#ffffffb3;border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-block:.75rem;padding:1rem;display:grid}.authoring-question-card{flex-direction:column;display:flex}.authoring-question-card__header{align-items:center;gap:1rem;min-width:0;display:flex}.authoring-question-card__header>button{flex-shrink:0;margin-left:auto}.authoring-question-card__summary{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;overflow:hidden}.authoring-question-card__fields:not([hidden]){flex-direction:column;gap:14px;display:flex}.platform-card{background:#fff;border:1px solid #d4dfd8;border-radius:18px;width:min(100%,480px);padding:40px;box-shadow:0 20px 60px #1835281a}.platform-card--neutral{place-items:center;min-height:180px;display:grid}.card-header{margin-bottom:30px}.brand{color:#126846;letter-spacing:.11em;text-transform:uppercase;margin:0 0 18px;font-size:.82rem;font-weight:750}h1{color:#102019;letter-spacing:-.035em;margin:0;font-size:clamp(1.75rem,5vw,2.25rem);line-height:1.15}.intro{color:#526159;margin:12px 0 0;line-height:1.55}fieldset{border:0;min-width:0;margin:0;padding:0}.field+.field{margin-top:20px}label{color:#22352c;margin-bottom:8px;font-size:.94rem;font-weight:650;display:block}input{color:#16231d;background:#fff;border:1px solid #aebdb5;border-radius:9px;width:100%;min-height:48px;padding:11px 13px;transition:border-color .15s,box-shadow .15s}input:hover:not(:disabled){border-color:#71847a}input:focus-visible{border-color:#126846;box-shadow:0 0 0 1px #126846}input[aria-invalid=true]{border-color:#a43b37}.field-note{color:#617168;margin:7px 0 0;font-size:.84rem;line-height:1.4}.field-note--error{color:#8e2f2b}button{color:#fff;cursor:pointer;background:#126846;border:0;border-radius:9px;width:100%;min-height:49px;margin-top:28px;padding:12px 18px;font-weight:700;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#0d5539}button:active:not(:disabled){transform:translateY(1px)}button:disabled{color:#ebefed;cursor:not-allowed;background:#8ba097}fieldset:disabled input{color:#66736d;background:#f0f3f1}.status-message{color:#46564e;min-height:1.5em;margin:22px 0 0;line-height:1.5}.status-message:empty{min-height:0;margin:0}.status-message--error{color:#742723;background:#fff3f2;border:1px solid #e0b8b5;border-radius:9px;padding:13px 14px}.status-message--success{color:#185b3e;background:#effaf4;border:1px solid #acd3be;border-radius:9px;padding:15px}@media (width<=560px){.page-shell{align-items:start;padding:18px 12px}.platform-card{border-radius:14px;padding:28px 22px}.platform-card--neutral{min-height:150px}}@media (prefers-reduced-motion:reduce){button,input{transition:none}}.button-link{color:#126846;background:0 0;margin-top:18px;padding:6px;font-weight:650}.button-link:hover:not(:disabled){background:#eff7f2}.secret-box{background:#f4f9f6;border:1px solid #bfd3c7;border-radius:10px;gap:8px;margin-bottom:22px;padding:16px;display:grid}.secret-box span{color:#526159;font-size:.84rem}.secret-box code,.recovery-codes code{overflow-wrap:anywhere;color:#173b2c;font-size:.94rem}.recovery-codes{background:#f4f9f6;border:1px solid #bfd3c7;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:0;padding:18px 18px 18px 38px;display:grid}.backoffice-shell{background:#f1f5f2;grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.shell-sidebar{color:#fff;background:#133428;padding:30px 22px}.shell-sidebar .brand{color:#aee2c8}.shell-sidebar nav{gap:6px;display:grid}.nav-item{text-align:left;color:#dce9e2;background:0 0;width:100%;min-height:42px;margin:0;padding:10px 12px;font-weight:600}.nav-item:hover:not(:disabled),.nav-item--active{color:#fff;background:#285743}.shell-main{min-width:0}.shell-header{background:#fff;border-bottom:1px solid #d9e2dc;justify-content:flex-end;align-items:center;gap:24px;min-height:76px;padding:14px 32px;display:flex}.shell-header div{text-align:right;gap:3px;display:grid}.shell-header span{color:#617168;font-size:.82rem}.logout-button{color:#17412f;background:#fff;border:1px solid #a8bdb2;width:auto;min-height:40px;margin:0;padding:8px 14px}.logout-button:hover:not(:disabled){background:#eff7f2}.shell-content{max-width:920px;padding:clamp(36px,7vw,80px)}.shell-content .intro{max-width:670px;font-size:1.05rem}.eyebrow{color:#126846;letter-spacing:.1em;text-transform:uppercase;margin:0 0 12px;font-size:.8rem;font-weight:750}@media (width<=720px){.backoffice-shell{grid-template-columns:1fr}.shell-sidebar{padding:20px}.shell-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.shell-header{justify-content:space-between;padding:12px 20px}.shell-header div{text-align:left}.shell-content{padding:36px 22px}.recovery-codes{grid-template-columns:1fr}}.authoring-flow-builder{margin-block:1.5rem}.authoring-flow-builder__canvas{border:1px solid var(--border-color,#d8dee9);background:#f8fafc;border-radius:.75rem;height:32rem;overflow:hidden}.authoring-flow-node{box-sizing:border-box;overflow-wrap:anywhere;white-space:pre-line;color:#172033;background:#fff;border:2px solid #3b82f6;border-radius:.65rem;width:100%;min-width:11rem;max-height:240px;padding:1rem;position:relative;box-shadow:0 3px 12px #0f172a1f}.authoring-flow-node>span{max-height:180px;line-height:1.5;display:block;overflow-y:auto}.authoring-flow-node--terminal{border-color:#16a34a}.authoring-flow-node--human_handoff{border-color:#d97706}.authoring-flow-node__start{color:#1d4ed8;letter-spacing:.08em;margin-bottom:.35rem;font-size:.7rem;display:block}.authoring-flow-builder__toolbar,.authoring-flow-builder__inspector{flex-wrap:wrap;gap:.75rem;margin-top:.75rem;display:flex}.authoring-flow-builder__inspector label{min-width:12rem}.workspace-view{width:100%}.workspace-header{margin-bottom:24px}.workspace-title-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:8px;display:flex}.workspace-actions{align-items:center;gap:12px;display:flex}.status-badge{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-block}.status-badge--open{color:#126846;background:#e3f5eb}.status-badge--closed{color:#a43b37;background:#f5e8e7}.stage-badge{color:#22352c;background:#e8f0ec;border-radius:999px;padding:4px 12px;font-size:.8rem;font-weight:700;display:inline-block}.button-secondary{color:#1b2e24;cursor:pointer;background:#fff;border:1px solid #b8c8be;border-radius:8px;padding:8px 14px;font-size:.88rem;font-weight:600}.button-secondary:hover:not(:disabled){background:#edf3ef}.studies-table-container{background:#fff;border:1px solid #d8e2dc;border-radius:12px;margin-top:20px;overflow-x:auto}.studies-table{border-collapse:collapse;text-align:left;width:100%;font-size:.92rem}.studies-table th,.studies-table td{border-bottom:1px solid #e8edea;padding:14px 18px}.studies-table th{color:#43544b;letter-spacing:.05em;text-transform:uppercase;background:#f7faf8;font-size:.8rem;font-weight:700}.button-table-action{color:#126846;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-weight:650}.button-table-action:hover{background:#eaf3ee}.kanban-board{gap:16px;min-height:480px;margin-top:24px;padding-bottom:16px;display:flex;overflow-x:auto}.kanban-column{background:#f5f8f6;border:1px solid #d8e2dc;border-radius:12px;flex-direction:column;flex:0 0 240px;max-height:700px;display:flex}.kanban-column-header{background:#edf3ef;border-bottom:1px solid #d8e2dc;border-radius:11px 11px 0 0;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.kanban-column-title{color:#22352c;font-size:.82rem;font-weight:700}.kanban-column-count{color:#526159;background:#fff;border-radius:999px;padding:2px 7px;font-size:.75rem;font-weight:700}.kanban-column-cards{flex-direction:column;flex:1;gap:10px;padding:10px;display:flex;overflow-y:auto}.kanban-card{cursor:pointer;background:#fff;border:1px solid #ccd8d1;border-radius:8px;flex-direction:column;gap:6px;padding:12px;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #0000000d}.kanban-card:hover{border-color:#126846;box-shadow:0 4px 12px #1268461f}.kanban-card-name{color:#1b2e24;font-size:.9rem}.kanban-card-date{color:#6a7c72;font-size:.76rem}.kanban-card-link{color:#126846;margin-top:4px;font-size:.78rem;font-weight:600}.kanban-empty-cell{text-align:center;color:#8c9e94;padding:24px 8px;font-size:.82rem;font-style:italic}.p360-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-top:24px;display:grid}.p360-card{background:#fff;border:1px solid #d8e2dc;border-radius:12px;padding:20px}.p360-card--full{grid-column:1/-1}.p360-card h2{color:#126846;border-bottom:1px solid #edf2ee;margin:0 0 16px;padding-bottom:8px;font-size:1.1rem}.p360-subheading{color:#22352c;margin:16px 0 10px;font-size:.95rem}.p360-dl{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:0;display:grid}.p360-dl dt{color:#6a7c72;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px;font-size:.78rem}.p360-dl dd{color:#1b2e24;margin:0;font-size:.92rem}.p360-dl code{background:#f2f6f4;border-radius:4px;padding:2px 4px;font-size:.8rem}.p360-contact-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.p360-contact-item{background:#f7faf8;border:1px solid #e2ece6;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;font-size:.88rem;display:flex}.p360-contact-kind{color:#6a7c72;text-transform:uppercase;font-size:.75rem;font-weight:700}.p360-contact-status{color:#126846;font-size:.75rem;font-weight:600}.p360-screening-meta{background:#f5f8f6;border-radius:8px;flex-wrap:wrap;gap:24px;margin-bottom:12px;padding:10px 14px;font-size:.88rem;display:flex}.p360-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:.88rem}.p360-table th,.p360-table td{text-align:left;border-bottom:1px solid #e8edea;padding:10px 14px}.p360-table th{color:#526159;text-transform:uppercase;background:#f7faf8;font-size:.78rem}.classification-badge{text-transform:uppercase;border-radius:4px;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-block}.classification-badge--general{color:#126846;background:#e8f0ec}.classification-badge--sensitive{color:#9c6012;background:#fdf3e7}.classification-badge--financial_patrimonial{color:#a43b37;background:#fce8e6}.p360-empty{color:#71847a;margin:8px 0;font-size:.88rem;font-style:italic}.operations-workspace{flex-direction:column;gap:24px;width:100%;display:flex}.operations-header{flex-direction:column;gap:16px;display:flex}.operations-nav-tabs{border-bottom:2px solid #e2ece6;gap:8px;padding-bottom:2px;display:flex}.tab-button{color:#526159;cursor:pointer;background:#f7faf8;border:1px solid #d4dfd8;border-bottom:none;border-radius:8px 8px 0 0;padding:10px 18px;font-size:.92rem;font-weight:600;transition:all .15s}.tab-button:hover{color:#16231d;background:#edf3ef}.tab-button--active{color:#fff;background:#126846;border-color:#126846}.tab-button--active:hover{color:#fff;background:#0f583b}.inbox-sections{grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:24px;display:grid}.inbox-block,.work-queue-section{background:#fff;border:1px solid #d4dfd8;border-radius:14px;padding:24px;box-shadow:0 4px 16px #1835280a}.inbox-block h2,.work-queue-section h2{color:#16231d;margin:0 0 16px;font-size:1.15rem}.conversation-list,.queue-list{flex-direction:column;gap:12px;display:flex}.conversation-item,.queue-item{cursor:pointer;background:#fff;border:1px solid #e2ece6;border-radius:10px;padding:14px 16px;transition:border-color .15s,box-shadow .15s}.conversation-item:hover,.queue-item:hover{border-color:#126846;box-shadow:0 4px 12px #12684614}.conversation-item--unbound{border-left:4px solid #1c527e}.item-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.item-candidate{color:#16231d;font-size:.95rem;font-weight:700}.item-study{color:#526159;background:#edf3ef;border-radius:4px;padding:2px 8px;font-size:.82rem}.item-preview{color:#3b4941;text-overflow:ellipsis;white-space:nowrap;margin:8px 0;font-size:.88rem;overflow:hidden}.item-footer{color:#71847a;border-top:1px solid #f0f4f1;justify-content:space-between;align-items:center;margin-top:6px;padding-top:8px;font-size:.78rem;display:flex}.status-pill{text-transform:uppercase;border-radius:10px;align-items:center;padding:2px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.status-pill--open{color:#126846;background:#e4f4ec}.status-pill--closed{color:#71847a;background:#f1f3f2}.status-pill--alert{color:#9c6012;background:#fdf3e7}.status-pill--info{color:#1c527e;background:#e8f1f8}.conversation-detail-modal{background:#fff;border:1px solid #d4dfd8;border-radius:14px;padding:24px;box-shadow:0 8px 24px #18352814}.conversation-detail-card{flex-direction:column;gap:20px;display:flex}.detail-header{border-bottom:1px solid #e8edea;padding-bottom:16px}.detail-meta{margin-top:12px}.detail-meta h2{color:#16231d;margin:0;font-size:1.35rem}.detail-subtitle{color:#526159;margin:4px 0 12px;font-size:.88rem}.service-window-badge{border-radius:8px;align-items:center;gap:8px;padding:6px 14px;font-size:.85rem;display:inline-flex}.service-window-badge--open{color:#126846;background:#e4f4ec;border:1px solid #bfe3d1}.service-window-badge--closed{color:#a43b37;background:#fce8e6;border:1px solid #f2c0bc}.messages-timeline{background:#f7faf8;border:1px solid #e2ece6;border-radius:10px;flex-direction:column;gap:12px;max-height:440px;padding:16px;display:flex;overflow-y:auto}.timeline-message{border-radius:10px;max-width:78%;padding:10px 14px;box-shadow:0 1px 3px #0000000a}.timeline-message--inbound{background:#fff;border:1px solid #d4dfd8;border-bottom-left-radius:2px;align-self:flex-start}.timeline-message--outbound{background:#e7f2ec;border:1px solid #b8d9c7;border-bottom-right-radius:2px;align-self:flex-end}.message-meta{color:#71847a;align-items:center;gap:8px;margin-bottom:4px;font-size:.72rem;display:flex}.message-direction{text-transform:uppercase;font-weight:700}.message-status{background:#0000000d;border-radius:4px;padding:1px 6px;font-size:.68rem}.message-body{color:#16231d;font-size:.92rem;line-height:1.45}.message-body p{margin:0}.purged-text{color:#71847a;font-style:italic}.reply-section,.binding-section{border-top:1px solid #e8edea;padding-top:16px}.reply-closed-banner{color:#842029;background:#fdf5f5;border:1px solid #fad2d0;border-radius:8px;padding:14px 18px;font-size:.88rem}.reply-closed-banner p{margin:6px 0 0;line-height:1.45}.reply-form,.binding-form{flex-direction:column;gap:12px;display:flex}textarea{color:#16231d;resize:vertical;background:#fff;border:1px solid #aebdb5;border-radius:9px;width:100%;padding:11px 13px;font-family:inherit;font-size:.94rem}textarea:focus-visible{border-color:#126846;box-shadow:0 0 0 1px #126846}.button-primary{color:#fff;cursor:pointer;background:#126846;border:none;border-radius:8px;align-self:flex-start;min-height:42px;padding:8px 20px;font-size:.92rem;font-weight:650;transition:background-color .15s}.button-primary:hover:not(:disabled){background:#0f583b}.button-primary:disabled{opacity:.5;cursor:not-allowed}.empty-notice{color:#71847a;margin:0;padding:12px 0;font-size:.88rem;font-style:italic}.study-nav-tabs{border-bottom:1px solid #dce5e0;gap:6px;margin-top:20px;display:flex}.study-nav-tab{color:#52635a;font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:10px 16px;font-weight:650}.study-nav-tab--active{color:#126846;border-bottom-color:#126846}.data-toolbar,.filter-editor,.data-pagination,.filter-editor label{align-items:end;gap:10px;display:flex}.data-toolbar,.filter-editor,.data-columns-panel{background:#f8faf9;border:1px solid #dce5e0;border-radius:10px;margin:16px 0;padding:14px}.data-toolbar label,.filter-editor label{color:#52635a;flex-direction:column;align-items:stretch;font-size:.84rem;font-weight:650}.data-toolbar input{min-width:min(320px,100%)}.data-columns-panel summary{cursor:pointer;font-weight:650}.data-columns-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 16px;margin-top:12px;display:grid}.active-filters{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.active-filters button{color:#315143;cursor:pointer;background:#fff;border:1px solid #b8c9c0;border-radius:999px;padding:6px 10px}.data-table-scroll{max-width:100%;overflow-x:auto}.data-table{border-collapse:collapse;white-space:nowrap;width:100%}.data-table th,.data-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e9e5;padding:10px 12px}.data-table th button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.data-pagination{justify-content:space-between;margin-top:14px}.data-pagination div{gap:8px;display:flex}.dashboard-total-card,.dashboard-card{background:#fff;border:1px solid #dce5e0;border-radius:12px;padding:18px}.dashboard-total-card{color:#52635a;flex-direction:column;min-width:190px;margin:14px 0;display:inline-flex}.dashboard-total-card strong{color:#126846;font-size:2rem}.dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.dashboard-card--wide{margin-top:14px}.dashboard-count-list{gap:10px;padding:0;list-style:none;display:grid}.dashboard-count-list li>div{justify-content:space-between;gap:10px;display:flex}.dashboard-bar{background:#e8efeb;border-radius:999px;height:5px;display:block;overflow:hidden}.dashboard-bar span{border-radius:inherit;background:#2c9069;height:100%;display:block}button.kanban-card{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}.study-lifecycle{box-sizing:border-box;border:1px solid;max-width:100%;font-weight:700;display:inline-block}.study-lifecycle--BORRADOR{color:#374151;background:#e5e7eb}.study-lifecycle--LISTO{color:#1e40af;background:#dbeafe}.study-lifecycle--ABIERTO{color:#166534;background:#dcfce7}.study-lifecycle--PAUSADO{color:#713f12;background:#fef3c7}.study-lifecycle--CERRADO{color:#991b1b;background:#fee2e2}.backoffice-shell .study-card[data-lifecycle=BORRADOR]{border-bottom:4px solid #6b7280}.backoffice-shell .study-card[data-lifecycle=LISTO]{border-bottom:4px solid #2563eb}.backoffice-shell .study-card[data-lifecycle=ABIERTO]{border-bottom:4px solid #15803d}.backoffice-shell .study-card[data-lifecycle=PAUSADO]{border-bottom:4px solid #a16207}.backoffice-shell .study-card[data-lifecycle=CERRADO]{border-bottom:4px solid #b91c1c}.study-lifecycle-panel,.recruitment-key-directory{border:1px solid var(--border,#cbd5e1);border-radius:12px;margin-block:1.5rem;padding:1rem}.study-incentive-inputs{grid-template-columns:minmax(0,1fr) 6rem;gap:.75rem;display:grid}.recruitment-key-directory .table-scroll{max-width:100%;overflow-x:auto}.recruitment-key-directory{min-width:0}.recruitment-key-directory th,.recruitment-key-directory td{text-align:left;vertical-align:top;padding:.75rem}.recruitment-key-directory td:first-child{overflow-wrap:anywhere}.recruitment-key-kind{margin-top:.25rem;display:block}@media (width<=600px){.study-lifecycle-panel .authoring-inline,.recruitment-key-directory .authoring-inline{flex-direction:column;align-items:stretch}.recruitment-key-directory input,.recruitment-key-directory select{box-sizing:border-box;width:100%}}@media (width<=720px){.data-toolbar,.filter-editor,.data-pagination{flex-direction:column;align-items:stretch}.study-nav-tabs{overflow-x:auto}}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.backoffice-shell{color:var(--text);background:var(--background);grid-template-columns:216px minmax(0,1fr)}.backoffice-shell h1,.backoffice-shell h2,.backoffice-shell h3{color:var(--text)}.backoffice-shell h2{font-size:1.2rem}.backoffice-shell h3{font-size:1rem}.backoffice-shell :where(button:not(.react-flow__controls-button)){background:var(--primary);width:auto;min-height:40px;margin-top:0}.backoffice-shell :where(button:not(.react-flow__controls-button)):hover:not(:disabled){filter:brightness(.92);background:var(--primary)}.backoffice-shell :where(button:not(.react-flow__controls-button)):disabled{opacity:.55;cursor:not-allowed}.backoffice-shell :is(.button-secondary,.logout-button,.button-link,.study-nav-tab,.tab-button){color:var(--primary);background:var(--surface)}.backoffice-shell :is(.button-secondary,.logout-button,.button-link,.study-nav-tab,.tab-button):hover:not(:disabled){color:var(--primary);background:var(--accent);filter:none}.backoffice-shell :is(.tab-button--active,.study-nav-tab--active){color:var(--primary);background:var(--accent);border-color:var(--primary)}.backoffice-shell :is(.eyebrow,.brand,.dashboard-total-card strong){color:var(--primary)}.backoffice-shell input[type=checkbox]{width:1.2rem;min-height:1.2rem;accent-color:var(--primary);vertical-align:middle}.backoffice-shell :is(input,select,textarea){font:inherit;max-width:100%}.backoffice-shell select{width:100%;color:var(--text);background:var(--surface);border:1px solid #aebdb5;border-radius:8px;min-height:42px;margin-top:6px;padding:10px 12px;display:block}.backoffice-shell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--primary);outline-offset:3px}.shell-sidebar{background:var(--surface);border-right:1px solid var(--border-color);padding:30px 16px}.sidebar-caption{color:var(--muted);margin:0 0 36px;font-size:.78rem}.backoffice-shell .nav-item{width:100%;color:var(--muted);background:0 0;padding:13px 16px}.backoffice-shell .nav-item--active,.backoffice-shell .nav-item:hover:not(:disabled){color:var(--primary);background:var(--accent);filter:none}.shell-header{flex-wrap:wrap;gap:18px;min-height:72px;padding:12px 28px}.theme-control{color:var(--muted);margin:0 auto 0 0;font-size:.75rem}.theme-control select{width:auto;min-height:34px;padding:4px 24px 4px 8px}.shell-content{max-width:1600px;margin:auto;padding:clamp(18px,3vw,44px)}.skip-link{z-index:100;color:#182b25;background:#fff;padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.home-dashboard{gap:24px;display:grid}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:16px;margin-block:20px;display:grid}.kpi-value{color:var(--primary);margin-top:12px;font-size:2rem;display:block}.quick-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.backoffice-shell :is(.dashboard-card,.workspace-card,.p360-card){background:var(--surface);border:1px solid var(--border-color);border-radius:16px;padding:22px}.backoffice-shell .study-card{border-top:4px solid var(--study-primary);position:relative;overflow:hidden}.backoffice-shell .study-card__open{color:#fff;background:var(--study-primary)}.backoffice-shell .study-card__open:hover:not(:disabled){color:#fff;background:var(--study-primary);filter:brightness(.92)}.backoffice-shell .authoring-editor .study-nav-tab--active{color:var(--study-primary);background:var(--study-accent);border-color:var(--study-primary)}.authoring-editor .questionnaire-preview header{background:var(--study-primary)}.authoring-editor .preview-chat{background:var(--study-accent)}.backoffice-shell .authoring-editor :where(button:not(.react-flow__controls-button)){background:var(--study-primary)}.backoffice-shell .authoring-editor :where(button:not(.react-flow__controls-button)):hover:not(:disabled){background:var(--study-primary);filter:brightness(.92)}.authoring-editor input[type=checkbox]{accent-color:var(--study-primary)}.backoffice-shell .authoring-editor :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--study-primary)}.backoffice-shell .authoring-editor .authoring-flow-node{border-color:var(--study-primary)}.backoffice-shell .authoring-editor .authoring-flow-node--human_handoff{border-color:var(--warning)}.backoffice-shell .dashboard-bar span{background:var(--primary)}.backoffice-shell .dashboard-bar{background:var(--accent)}.designer-toolbar{z-index:5;background:var(--background);flex-wrap:wrap;justify-content:space-between;gap:16px;padding:12px 0;display:flex;position:sticky;top:0}.designer-toolbar .study-nav-tabs{margin:0}.designer-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.6fr);align-items:start;gap:24px;display:grid}.backoffice-shell .authoring-card{background:var(--surface);border:1px solid var(--border-color);border-radius:14px;flex-direction:column;gap:14px;padding:22px;display:flex}.authoring-card h2{margin:0}.authoring-card input{margin-top:6px}.authoring-card .authoring-inline{align-items:center}.authoring-card .authoring-inline>input{flex:1;min-width:130px}.advanced-panel{border:1px solid var(--border-color);background:var(--surface);border-radius:10px;margin-block:12px;padding:12px}.advanced-panel summary{cursor:pointer;color:var(--primary);font-size:.9rem;font-weight:650}.advanced-panel[open]>summary{margin-bottom:16px}.questionnaire-preview{border:1px solid var(--border-color);background:var(--surface);border-radius:18px;position:sticky;top:96px;overflow:hidden}.questionnaire-preview header{background:var(--primary);color:#fff;padding:20px}.questionnaire-preview header p{margin-bottom:0;font-size:.82rem}.preview-chat{background:var(--accent);max-height:65vh;padding:20px;overflow-y:auto}.preview-question{margin-bottom:24px}.preview-bubble{background:var(--surface);overflow-wrap:anywhere;border-radius:0 14px 14px;padding:14px;line-height:1.6}.preview-bubble small{color:var(--muted)}.preview-options{flex-wrap:wrap;gap:8px;display:flex}.preview-options span{border:1px solid var(--primary);color:var(--primary);background:var(--surface);border-radius:8px;padding:9px 14px}.preview-answer{background:var(--surface);color:var(--muted);border-radius:10px;padding:12px}.questionnaire-preview>.field-note{padding:12px}.backoffice-shell .authoring-flow-node{border-color:var(--primary)}.backoffice-shell .authoring-flow-node--human_handoff{border-color:var(--warning)}.crm-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,2fr);align-items:start;gap:16px;display:grid}.crm-list{background:var(--surface);border:1px solid var(--border-color);border-radius:14px;max-height:80vh;padding:16px;overflow-y:auto}.backoffice-shell .crm-conversation{text-align:left;background:var(--surface);width:100%;color:var(--text);border:1px solid var(--border-color);border-radius:12px;flex-direction:column;gap:8px;padding:16px;display:flex}.backoffice-shell .crm-conversation:hover:not(:disabled),.backoffice-shell .crm-conversation[aria-pressed=true]{background:var(--accent);color:var(--text);filter:none;border-color:var(--primary)}.crm-conversation span,.crm-conversation small{max-width:100%}.crm-conversation small{color:var(--muted);font-weight:400}.crm-empty{border:1px dashed var(--border-color);text-align:center;border-radius:16px;padding:48px 24px}.conversation-detail-modal{box-shadow:none;min-width:0;padding:18px}.conversation-detail-card{grid-template-columns:minmax(0,1fr) 180px;gap:16px;display:grid}.conversation-detail-card>:not(.crm-profile){grid-column:1}.crm-profile{border-left:1px solid var(--border-color);overflow-wrap:anywhere;grid-area:1/2/span 8;padding:16px;font-size:.85rem}.messages-timeline{background:var(--accent);min-height:260px;max-height:55vh}.timeline-message{overflow-wrap:anywhere;max-width:88%}.timeline-message--outbound{background:var(--surface);border-color:var(--primary)}.backoffice-shell .kanban-card{background:var(--surface);margin:0}.backoffice-shell .kanban-card:hover:not(:disabled){background:var(--accent);filter:none}.p360-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.p360-contact-item{overflow-wrap:anywhere;flex-wrap:wrap}.data-toolbar,.filter-editor{flex-wrap:wrap}.backoffice-shell [hidden]{display:none!important}.backoffice-shell :where(button:not(.react-flow__controls-button)){color:var(--on-primary)}.backoffice-shell :is(input,select,textarea){color:var(--text);background:var(--surface);border-color:var(--input-border)}.backoffice-shell label{color:var(--text)}.backoffice-shell :is(.intro,.field-note){color:var(--muted)}.backoffice-shell .study-card .status-pill:not(.study-lifecycle){color:var(--study-ink);background:var(--study-accent)}.backoffice-shell .study-card__open,.backoffice-shell .study-card__open:hover:not(:disabled){color:var(--study-on-primary);background:var(--study-primary)}.authoring-editor>.eyebrow{color:var(--study-ink)}.backoffice-shell .authoring-editor :where(button:not(.react-flow__controls-button)){color:var(--study-on-primary);background:var(--study-primary)}.backoffice-shell .authoring-editor :is(.button-secondary,.button-link,.study-nav-tab,.tab-button){color:var(--study-ink);background:var(--surface)}.backoffice-shell .authoring-editor :is(.button-secondary,.button-link,.study-nav-tab,.tab-button):hover:not(:disabled){color:var(--study-ink);background:var(--study-accent);filter:none}.backoffice-shell .authoring-editor :is(.study-nav-tab--active,.tab-button--active){color:var(--study-ink);background:var(--study-accent);border-color:var(--study-primary)}.authoring-editor .advanced-panel summary{color:var(--study-ink)}.authoring-editor .questionnaire-preview header{color:var(--study-on-primary);background:var(--study-primary)}.authoring-editor .preview-options span{color:var(--study-ink);border-color:var(--study-primary)}.backoffice-shell[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.backoffice-shell[data-theme=dark] .shell-header{color:var(--text);background:var(--surface);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] .skip-link{color:var(--text);background:var(--surface)}.backoffice-shell[data-theme=dark] :is(.studies-table-container,.kanban-card,.p360-card,.inbox-block,.work-queue-section,.conversation-item,.queue-item,.conversation-detail-modal,.timeline-message--inbound,.dashboard-total-card,.dashboard-card,.active-filters button,.authoring-card,.advanced-panel,.questionnaire-preview,.preview-bubble,.preview-answer,.crm-list){color:var(--text);background:var(--surface);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] :is(.kanban-column,.kanban-column-header,.p360-contact-item,.messages-timeline,.data-toolbar,.filter-editor,.data-columns-panel,.studies-table th){color:var(--text);background:var(--surface-soft);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] :is(.item-study,.timeline-message--outbound,.p360-dl code,.message-status){color:var(--text);background:var(--accent);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] :is(.kanban-column-title,.kanban-card-name,.p360-subheading,.p360-dl dd,.item-candidate,.detail-meta h2,.message-body,.inbox-block h2,.work-queue-section h2){color:var(--text)}.backoffice-shell[data-theme=dark] :is(.kanban-column-count,.kanban-card-date,.p360-dl dt,.p360-contact-kind,.item-study,.item-preview,.item-footer,.detail-subtitle,.message-meta,.purged-text,.empty-notice,.data-toolbar label,.filter-editor label,.dashboard-total-card){color:var(--muted)}.backoffice-shell[data-theme=dark] :is(.studies-table th,.studies-table td,.data-table th,.data-table td,.detail-header,.reply-section,.binding-section,.operations-nav-tabs,.study-nav-tabs){border-color:var(--border-color)}.backoffice-shell[data-theme=dark] fieldset:disabled input{color:var(--muted);background:var(--surface-soft)}.backoffice-shell[data-theme=dark] .authoring-flow-builder__canvas{background:var(--surface-soft);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] .authoring-flow-node{color:var(--text);background:var(--surface);box-shadow:0 3px 12px #00000047}.backoffice-shell[data-theme=dark] .react-flow__controls-button{color:var(--text);background:var(--surface);border-color:var(--border-color)}.backoffice-shell[data-theme=dark] :is(.status-message--error,.reply-closed-banner){color:#ffb3b8;background:#351e22;border-color:#693239}.backoffice-shell[data-theme=dark] .status-message--success,.backoffice-shell[data-theme=dark] :is(.status-badge--open,.service-window-badge--open,.status-pill--open){color:#8fe0b3;background:#163126;border-color:#315f49}.backoffice-shell[data-theme=dark] :is(.status-badge--closed,.service-window-badge--closed){color:#ffaaa6;background:#382022;border-color:#6b3639}.backoffice-shell[data-theme=dark] .status-pill--closed{color:var(--muted);background:var(--surface-soft)}.backoffice-shell[data-theme=dark] .status-pill--alert{color:#f4c774;background:#3a301b}.backoffice-shell[data-theme=dark] .status-pill--info{color:#8ecdf5;background:#1a3142}.backoffice-shell[data-theme=dark] .study-card .status-pill:not(.study-lifecycle){color:var(--study-dark-ink);background:var(--study-dark-accent)}.backoffice-shell[data-theme=dark] .authoring-editor>.eyebrow,.backoffice-shell[data-theme=dark] .authoring-editor .advanced-panel summary,.backoffice-shell[data-theme=dark] .authoring-editor .preview-options span{color:var(--study-dark-ink)}.backoffice-shell[data-theme=dark] .authoring-editor .study-nav-tab--active{color:var(--study-dark-ink);background:var(--study-dark-accent);border-color:var(--study-primary)}.backoffice-shell[data-theme=dark] .authoring-editor .preview-chat{background:var(--study-dark-accent)}.backoffice-shell[data-theme=dark] .authoring-editor :is(.button-secondary,.button-link,.study-nav-tab,.tab-button){color:var(--study-dark-ink);background:var(--surface)}.backoffice-shell[data-theme=dark] .authoring-editor :is(.button-secondary,.button-link,.study-nav-tab,.tab-button):hover:not(:disabled){color:var(--study-dark-ink);background:var(--study-dark-accent)}@media (width<=1150px){.conversation-detail-card{grid-template-columns:minmax(0,1fr)}.crm-profile{border-left:0;border-bottom:1px solid var(--border-color);grid-area:auto/1}}@media (width<=900px){.backoffice-shell{grid-template-columns:1fr}.shell-sidebar{border-bottom:1px solid var(--border-color);padding:16px}.shell-sidebar .brand{margin-bottom:12px}.sidebar-caption{display:none}.shell-sidebar nav{flex-wrap:wrap;display:flex}.backoffice-shell .nav-item{width:auto}.designer-layout{grid-template-columns:1fr}.questionnaire-preview{position:static}.crm-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr)}}@media (width<=640px){.crm-layout{grid-template-columns:1fr}.crm-list{max-height:42vh}.shell-header{gap:12px;padding:12px 16px}.shell-header div{text-align:left}.designer-toolbar{position:static}.study-nav-tabs,.operations-nav-tabs{flex-wrap:wrap}.timeline-message{max-width:96%}}
