.branch-page{padding:40px 41px 56px}.branch-page h1{overflow-wrap:anywhere;font-size:36px;font-weight:700;line-height:48px}.branch-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.branch-heading>.button{flex-shrink:0;margin-top:8px}.branch-description{color:var(--text-secondary);margin-top:8px;font-size:20px;line-height:32px}.branch-hint{color:var(--text-muted);font-size:18px;line-height:28px}.branch-heading .branch-hint{margin-top:6px}.branch-back{color:var(--text-secondary);align-items:center;gap:8px;margin-bottom:20px;font-size:18px;line-height:28px;display:inline-flex}.branch-back:hover,.branch-work-link:hover{color:var(--action)}.branch-table{margin-top:40px}.branch-row{border-bottom:1px solid var(--border);align-items:center;gap:24px;min-height:88px;padding:16px 22px;font-size:20px;line-height:28px;display:grid}.branch-row>[role=cell]{min-width:0}.branch-row strong{overflow-wrap:anywhere;font-weight:600}.branch-row p{color:var(--text-muted);overflow-wrap:anywhere;font-size:18px;line-height:26px}.branch-table-head{background:var(--surface-muted);border-bottom:0;min-height:61px;font-weight:600}.branch-workspace-table .branch-row{grid-template-columns:minmax(200px,1.8fr) minmax(110px,1fr) minmax(150px,.4fr)}.branch-access-table .branch-row{grid-template-columns:minmax(200px,1.3fr) minmax(180px,1fr) minmax(180px,.9fr)}.branch-members-table .branch-row{grid-template-columns:minmax(240px,1.7fr) minmax(100px,1fr) minmax(100px,1.2fr) minmax(150px,.7fr)}.branch-page .button{border-radius:6px;min-height:50px;padding:10px 18px;font-size:18px}.branch-row-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.branch-work-link{color:var(--text-secondary);white-space:nowrap;font-size:14px}.branch-access-table .check-field{align-items:center;margin:0}.branch-access-table .check-field input{flex:0 0 28px;width:28px;height:28px}.branch-access-table .check-field label{font-size:20px;font-weight:400}.branch-access-table .field-hint{font-size:14px}.branch-access-footer{justify-content:space-between;align-items:center;gap:20px;margin-top:34px;display:flex}.branch-access-footer>p{color:var(--text-muted);font-size:18px;line-height:28px}.branch-tabs{border-bottom:1px solid var(--border);gap:24px;margin-top:34px;display:flex}.branch-tabs button{cursor:pointer;min-height:50px;color:var(--text-muted);background:0 0;border:0;border-bottom:3px solid #0000;gap:14px;padding:12px 14px;font-size:20px;display:inline-flex}.branch-tabs button[aria-selected=true]{border-color:var(--action);color:var(--text-primary);font-weight:600}.branch-tabs+[role=tabpanel] .branch-table{margin-top:32px}.branch-dialog-actions{justify-content:flex-end;gap:12px;margin-top:12px;display:flex}.branch-dialog-actions .button{border-radius:6px;min-height:48px;font-size:16px}.branch-change-list{gap:10px;padding:0;list-style:none;display:grid}.branch-change-list li{justify-content:space-between;gap:20px;display:flex}.branch-workspace-choices{border:0;gap:16px;padding:0;display:grid}.branch-workspace-choices legend{margin-bottom:12px;font-weight:600}.branch-success{color:var(--action);margin-top:20px}.branch-empty{color:var(--text-secondary);padding:40px 22px;font-size:18px}.branch-context-select{color:inherit;font:inherit;background:0 0;border:0;min-width:0;max-width:300px;min-height:44px;padding:8px 0;font-weight:600}.dialog:has(.branch-mutation){width:min(620px,100vw - 32px)}.dialog:has(.branch-mutation) .dialog-description{overflow-wrap:anywhere}@media (max-width:1100px){.branch-heading{flex-wrap:wrap}.branch-row{gap:14px;padding:14px;font-size:16px}.branch-row p{font-size:14px}.branch-page .button{padding:10px 12px;font-size:16px}.branch-members-table .branch-row{grid-template-columns:minmax(150px,1.5fr) 80px 100px 120px}.branch-workspace-table .branch-row{grid-template-columns:minmax(180px,1.5fr) 100px 150px}.branch-access-table .branch-row{grid-template-columns:minmax(180px,1.4fr) minmax(120px,1fr) 140px}}@media (max-width:700px){.branch-shell .workspace-bar>.action-row>span{display:none}.branch-shell .workspace-bar>.action-row{flex-shrink:0}.branch-shell .workspace-current{flex:1}.branch-shell .workspace-current strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.branch-page{padding:24px 20px 48px}.branch-page h1{font-size:28px;line-height:40px}.branch-description{font-size:16px;line-height:24px}.branch-hint{font-size:14px;line-height:22px}.branch-table{margin-top:28px}.branch-table .branch-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:20px 0}.branch-table .branch-table-head{display:none}.branch-row strong{font-size:18px}.branch-access-footer{flex-direction:column;align-items:stretch;margin-top:24px}.branch-access-footer>p{font-size:16px}.branch-access-footer .action-row>.button{flex:1}.branch-access-table .check-field label{font-size:16px}.branch-tabs{gap:12px}.branch-tabs button{padding:12px 8px;font-size:18px}.branch-context-select{max-width:170px}.branch-change-list li{align-items:flex-start}.branch-dialog-actions .button{flex:1}}
.branch-identity{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:8px;align-items:center;min-width:0;min-height:48px;padding:0 12px;font-size:17px;line-height:24px;display:flex}.branch-identity strong{font-weight:500}.branch-identity-loading{justify-content:flex-start;min-height:44px;padding:0}.workspace-account{flex-shrink:0}@media (max-width:760px){.workspace-account>span{display:none}.workspace-account{gap:0}.branch-identity{min-height:44px;font-size:15px}}.page-description{color:var(--text-secondary);font-size:20px;line-height:32px}.guest-branch-notice{padding:24px 40px 0}@media (max-width:760px){.guest-branch-notice{padding:16px 20px 0}}
.print-screen{background:var(--page-background);min-height:100dvh}.print-toolbar{z-index:2;background:var(--surface);border-bottom:1px solid var(--border);grid-template-columns:minmax(180px,1fr) auto minmax(260px,1.3fr) auto;align-items:start;gap:16px 28px;padding:20px 32px;display:grid;position:sticky;top:0}.print-toolbar__heading h1{overflow-wrap:anywhere;margin:0;font-size:1.375rem;line-height:1.4}.print-toolbar__eyebrow,.print-toolbar__meta{color:var(--text-muted);margin:0;font-size:.875rem}.print-toolbar .radio-options{gap:8px;margin-top:8px;display:flex}.print-toolbar .choice{border-radius:var(--radius-sm);white-space:nowrap;min-height:48px;padding:8px 14px}.print-toolbar__note .textarea{min-height:0}.print-toolbar__hint{color:var(--text-secondary);margin:0;font-size:.875rem;line-height:1.6}.print-toolbar__actions{grid-area:1/4;justify-items:end;gap:10px;max-width:300px;display:grid}.print-toolbar__actions .button{min-width:132px}.print-toolbar__actions p{text-align:right;margin:0;font-size:.875rem}.print-toolbar__notice{color:var(--text-secondary)}.print-stage{outline:none;justify-content:center;padding:24px;display:flex}.print-frame{background:#fff;flex:none;position:relative;overflow:hidden;box-shadow:0 2px 16px #191f281f}.print-blocked-notice{display:none}@media (max-width:1100px){.print-toolbar{grid-template-columns:1fr auto auto}.print-toolbar__actions{grid-column:3}.print-toolbar__note{grid-area:2/1/auto/-1}}@media (max-width:700px){.print-toolbar{grid-template-columns:1fr;padding:16px 20px}.print-toolbar__actions,.print-toolbar__note{grid-area:auto/1}.print-toolbar__actions{justify-items:stretch;max-width:none}.print-toolbar__actions p{text-align:left}.print-stage{padding:16px 0}}.qr-sheet{transform-origin:0 0;color:#1e3131;font-family:var(--font-sans);letter-spacing:0;-webkit-font-smoothing:antialiased;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;position:absolute;top:0;left:0;overflow:hidden}.qr-sheet :where(p,h2){margin:0}.qr-sheet span{display:block}.qr-sheet svg,.qr-sheet img{max-width:none;display:block}.qr-sheet--a4{width:297mm;height:210mm}.qr-a4__panel{background:#f4eeed;width:96mm;height:100%;position:absolute;top:0;left:0}.qr-a4__character{width:80.2mm;height:113.8mm;position:absolute;top:88mm;left:7.8mm}.qr-a4__column{width:158.8mm;position:absolute;top:21.7mm;left:115.8mm}.qr-a4__logo{width:29.65mm;height:8.95mm;margin-left:3.27mm}.qr-a4__branch{color:#1d9581;letter-spacing:.007em;margin-top:8.44mm;margin-left:.1mm;font-size:16.1pt;font-weight:600;line-height:5.68mm}.qr-a4__title{letter-spacing:-.03em;margin-top:14.43mm;font-size:50pt;font-weight:800;line-height:1.1em}.qr-a4__rule{background:#f4eeed;border:0;width:158.75mm;height:.53mm;margin:6.02mm 0 0}.qr-a4__note{color:#555;white-space:pre-line;overflow-wrap:anywhere;margin-top:5.68mm;font-size:15.3pt;font-weight:500;line-height:8.12mm}.qr-a4__qr{width:56.32mm;height:56.32mm;position:absolute;top:125.82mm;left:123.7mm}.qr-a4__scan{letter-spacing:-.015em;font-size:24.2pt;font-weight:700;line-height:12.96mm;position:absolute;top:124.59mm;left:202.97mm}.qr-a4__help{color:#555;letter-spacing:-.004em;font-size:13.7pt;font-weight:500;line-height:7.41mm;position:absolute;top:168.52mm;left:202.99mm}.qr-sheet--card{width:90mm;height:130mm}.qr-card__column{text-align:center;padding:0 6mm;position:absolute;top:8.73mm;left:0;right:0}.qr-card__logo{width:16.58mm;height:5.01mm;margin:0 auto}.qr-card__branch{color:#1d9581;margin-top:5.79mm;font-size:9.5pt;font-weight:600;line-height:3.35mm}.qr-card__title{letter-spacing:-.03em;margin-top:1.65mm;font-size:24pt;font-weight:800;line-height:1.1em}.qr-card__qr{width:33.78mm;height:33.78mm;position:absolute;top:42.42mm;left:28.13mm}.qr-card__help{color:#555;text-align:center;font-size:9.6pt;font-weight:500;line-height:3.39mm;position:absolute;top:85.37mm;left:0;right:0}.qr-card__character{width:24.87mm;height:35.73mm;position:absolute;top:89.61mm;left:32.46mm}@media print{:is(html:has(.print-screen),body:has(.print-screen)){background:#fff!important;margin:0!important;padding:0!important}.print-toolbar{display:none!important}body:has(.print-screen) .skip-link{display:none!important}.print-screen,.print-stage{background:0 0!important;min-height:0!important;padding:0!important;display:block!important}.print-frame{width:auto!important;height:auto!important;box-shadow:none!important}.qr-sheet{break-inside:avoid;position:relative!important;transform:none!important}.print-screen[data-print-blocked] .print-frame{display:none!important}.print-screen[data-print-blocked] .print-blocked-notice{color:#191f28;margin:12mm;font-size:12pt;line-height:1.6;display:block}}
@layer foundation{.form-stack{gap:24px;display:grid}.action-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.product-section{width:100%;max-width:1100px;padding:36px}.product-list-row{border-bottom:1px solid var(--border);padding:24px 0}.product-record-row{border-radius:16px;align-items:center;gap:18px;padding:20px;display:flex}.product-record-row:hover,.product-record-row.is-selected{background:var(--surface-muted)}.product-record-row>span{flex:1;gap:4px;display:grid}.product-record-row small{color:var(--text-muted)}.record-content{max-width:900px;padding:40px}.answer-row{border-bottom:1px solid var(--border);padding:20px 0}.answer-row h3{margin-bottom:12px}.profile-list{gap:12px;margin:0;display:grid}.profile-list>div{grid-template-columns:130px 1fr;gap:16px;display:grid}.profile-list dt{color:var(--text-muted)}.profile-list dd{margin:0}.legal-body{white-space:pre-wrap;overflow-wrap:anywhere}.break-word{overflow-wrap:anywhere}.two-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.question-editor{border-top:1px solid var(--border);gap:28px;padding:28px 0;display:grid}.option-edit,.nested-question{background:var(--surface-subtle,#f9fafb);border-radius:12px;padding:18px}.nested-question>summary{cursor:pointer;margin-bottom:16px}.option-edit .field{flex:1}.preview-content{padding:24px}.consent-scroll{background:var(--surface-muted);border-radius:12px;max-height:240px;padding:20px;overflow-y:auto}.qr-panel{padding:28px 0}.qr-panel img{border:1px solid var(--border);border-radius:12px}.empty-copy{color:var(--text-muted);padding:48px 20px}@media (max-width:760px){.product-section,.record-content{padding:24px 20px}.two-fields{grid-template-columns:1fr}.editor-top>span{display:none}.profile-list>div{grid-template-columns:100px 1fr}}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{background:var(--surface);color:var(--text);font-family:var(--font-sans);letter-spacing:-.02em;-webkit-font-smoothing:antialiased;margin:0;font-size:1rem;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,select{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}p,h1,h2,h3{margin:0}h1{letter-spacing:-.04em;font-size:clamp(1.75rem,2.6vw,2.125rem);font-weight:700;line-height:1.4}h2{letter-spacing:-.03em;font-size:1.25rem;line-height:1.45}h3{font-size:1rem;line-height:1.5}svg{flex-shrink:0}img{max-width:100%;height:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{padding:0}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[tabindex="-1"]:focus{outline:none}::selection{color:#123e3b;background:#c8e6e2}.skip-link{z-index:100;background:var(--text);color:#fff;border-radius:var(--radius-sm);padding:12px 20px;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.muted{color:var(--text-muted)}.stack{gap:var(--space-6);display:grid}.stack-sm{gap:var(--space-3);display:grid}.inline{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.spread{justify-content:space-between}.text-link{color:var(--action);text-underline-offset:4px;text-decoration:underline}.eyebrow{color:var(--text-muted);margin-bottom:12px;font-size:.875rem;font-weight:500}.section-heading{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:28px;display:flex}.section-heading>span{color:var(--text-muted);font-size:.875rem}.button{border-radius:var(--radius-sm);text-align:center;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 20px;font-size:.9375rem;font-weight:600;line-height:1.45;transition:background .15s,border-color .15s;display:inline-flex}.button--primary{background:var(--action);color:var(--on-action)}.button--primary:hover:not(:disabled){background:var(--action-hover)}.button--secondary{background:var(--surface-muted);color:var(--text-secondary)}.button--secondary:hover:not(:disabled){background:#e5e8eb}.button--ghost{color:var(--text-muted);background:0 0}.button--ghost:hover:not(:disabled){color:var(--text);background:var(--surface-muted)}.button--danger{color:#fff;background:var(--danger)}.button--danger:hover:not(:disabled){background:#8e2626}.button--sm{min-height:44px;padding:8px 14px;font-size:.875rem}.button:disabled{background:var(--surface-muted);color:var(--text-muted)}.button[aria-busy=true]{color:var(--action);background:var(--action-soft);border-color:#0000}.icon-button{flex-shrink:0;width:44px;padding:10px}.field{gap:8px;min-width:0;display:grid}.field-label{color:var(--text-secondary);align-items:center;gap:8px;font-size:.875rem;font-weight:500;display:flex}.required-label{color:var(--action);font-size:.75rem;font-weight:500}.field-hint{color:var(--text-muted);font-size:.875rem;line-height:1.6}.field-error{color:var(--danger);font-size:.875rem}.input{background:var(--surface-muted);border-radius:var(--radius-sm);width:100%;min-width:0;min-height:56px;color:var(--text);border:1px solid #0000;padding:15px 18px;font-size:1rem;line-height:1.5;transition:background .15s,border-color .15s}.input:hover:not(:disabled):not(:focus){background:#eef1f4}.input:focus{border-color:var(--action);outline:2px solid var(--action);outline-offset:0;background:#fff}.input::placeholder{color:var(--text-muted);opacity:1}.input:disabled{color:var(--text-muted);background:#f7f8fa}.input[aria-invalid=true],.select-trigger[data-invalid=true]{border-color:var(--danger);background:#fff8f8}.input[aria-invalid=true]:focus,.select-trigger[data-invalid=true]:focus{outline-color:var(--danger)}.textarea{resize:none;height:112px;overflow-y:auto}.input-with-clear{min-width:0;display:grid;position:relative}.input-with-clear>.input{padding-inline-end:52px}.input-clear-button{inset-inline-end:4px;width:44px;height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.input-clear-button:hover{background:var(--surface-muted);color:var(--text-secondary)}.input-clear-button:focus-visible{outline:2px solid var(--action);outline-offset:-4px}.input-with-clear--multiline .input-clear-button{top:4px;transform:none}.select-trigger{text-align:left;justify-content:space-between;align-items:center;gap:16px;display:flex}.select-trigger>span{overflow-wrap:anywhere;min-width:0}.select-trigger--placeholder{color:var(--text-muted)}.select-chevron{color:var(--text-muted);pointer-events:none}.select-trigger:disabled .select-chevron{color:#b0b8c1}.bottom-sheet-overlay{z-index:300;background:#191f2866;animation:.2s ease-out fade-in;position:fixed;inset:0}.bottom-sheet-overlay[data-state=closed]{animation:.16s ease-in fade-out}.bottom-sheet{z-index:301;background:var(--surface);width:100%;max-width:560px;height:min(580px,82dvh);box-shadow:var(--shadow-dialog);border-radius:24px 24px 0 0;outline:none;flex-direction:column;animation:.24s cubic-bezier(.2,.8,.2,1) sheet-in;display:flex;position:fixed;bottom:0;left:50%;overflow:hidden;transform:translate(-50%)}.bottom-sheet[data-state=closed]{animation:.16s ease-in sheet-out}.bottom-sheet-handle{background:#d1d6db;border-radius:4px;flex-shrink:0;width:36px;height:4px;margin:10px auto 0}.bottom-sheet-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:77px;padding:19px 24px 14px;display:flex}.bottom-sheet-heading .dialog-title{margin-bottom:0;font-size:24px;line-height:32px}.bottom-sheet-heading>.button{margin:-6px -8px 0 0}.bottom-sheet-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;margin:16px 24px 34px;scroll-padding-block:8px;overflow-y:auto}.bottom-sheet-search{flex-shrink:0;padding:0 24px}.bottom-sheet-scroll:has(+.bottom-sheet-footer){margin-bottom:0}.bottom-sheet-footer{padding:16px 24px max(24px, env(safe-area-inset-bottom));flex-shrink:0}.bottom-sheet-footer>.button{width:100%}.sheet-search{background:var(--surface-muted);height:48px;color:var(--text-muted);border-radius:12px;align-items:center;gap:12px;padding:0 16px;display:flex}.sheet-search input{color:var(--text);background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:14px}.sheet-search:focus-within{outline:2px solid var(--action)}.sheet-empty{padding:12px;font-size:16px}.sheet-empty small{color:var(--text-muted);margin-top:8px;font-size:14px;display:block}.select-options{margin:0;padding:0;list-style:none}.select-option{border:0;border-bottom:1px solid var(--border);text-align:left;width:100%;min-height:48px;color:var(--text);background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.select-option:hover:not(:disabled),.select-option[aria-pressed=true]{background:var(--surface-muted)}.select-option:focus-visible{outline-offset:-3px}.select-option-copy{gap:3px;min-width:0;display:grid}.select-option-label{overflow-wrap:anywhere;font-size:1rem;font-weight:500}.select-option-description{color:var(--text-muted);font-size:.8125rem}.select-option-check{color:var(--action)}.select-option:disabled{color:var(--text-muted);opacity:.5;cursor:not-allowed}@keyframes sheet-in{0%{transform:translate(-50%,100%)}to{transform:translate(-50%)}}@keyframes sheet-out{0%{transform:translate(-50%)}to{transform:translate(-50%,100%)}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.check-field{align-items:flex-start;gap:12px;display:flex}.check-field>input{width:20px;height:20px;accent-color:var(--action);flex-shrink:0;margin:12px 0}.check-field label{cursor:pointer;align-items:center;min-height:44px;font-size:.9375rem;display:flex}.radio-group{gap:12px;display:grid}.radio-options{gap:10px;margin-top:12px;display:grid}.choice{cursor:pointer;background:var(--surface-muted);min-height:68px;color:var(--text-secondary);border:1px solid #0000;border-radius:16px;align-items:center;gap:14px;padding:19px 20px;transition:background .15s,border-color .15s;display:flex}.choice:hover{background:#e9edf1}.choice:has(:focus-visible){outline:2px solid var(--focus);outline-offset:-1px}.choice input{accent-color:var(--action);flex-shrink:0;width:22px;height:22px;margin:0}.choice--selected,.choice--selected:hover{background:var(--action-soft);border-color:var(--action);color:var(--action);font-weight:600}.card{background:var(--surface);border-radius:var(--radius-lg);min-width:0;padding:32px}.badge{white-space:nowrap;border-radius:5px;align-items:center;padding:3px 9px;font-size:.75rem;font-weight:650;line-height:1.6;display:inline-flex}.badge--neutral{background:var(--surface-muted);color:var(--text-secondary)}.badge--brand{background:var(--action-soft);color:var(--action)}.badge--success{color:#2e683b;background:#e9f4eb}.badge--warning{color:#855907;background:#fff3d9}.badge--danger{color:var(--danger);background:#fbeceb}.notice{border-radius:var(--radius-sm);border:1px solid #0000;gap:12px;padding:16px 18px;display:flex}.notice>svg{margin-top:3px}.notice--brand{background:var(--action-soft);color:var(--action)}.notice--neutral{background:var(--surface-muted);color:var(--text-muted)}.notice--warning{color:#805608;background:#fff6e5}.notice--danger{color:var(--danger);background:#fdf0ef}.notice--success{color:#2e683b;background:#edf6ee}.notice-title{font-size:.9375rem;font-weight:650}.notice-body{margin-top:3px;font-size:.875rem;line-height:1.65}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:260px;padding:46px 20px;display:flex}.empty-state p{color:var(--text-muted);max-width:340px;font-size:.9375rem}.empty-state .button{margin-top:8px}.state-icon{background:var(--surface-muted);color:var(--text-muted);border-radius:20px;margin-bottom:4px;padding:15px;display:inline-flex}.state-icon--error{color:var(--danger);background:#fdf0ef}.loading-state{min-height:180px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;font-size:.9375rem;display:flex}.loading-state-indicator{background:var(--action-soft);width:38px;height:38px;color:var(--action);border-radius:12px;flex:none;place-items:center;display:grid}.loading-state-label{overflow-wrap:anywhere;line-height:1.6}.loading-state--compact{text-align:left;flex-direction:row;gap:10px;min-height:56px;padding:10px 0}.loading-state--compact .loading-state-indicator{border-radius:9px;width:28px;height:28px}.loading-state--page{min-height:min(540px,68dvh)}.loading-state--page .loading-state-indicator{border-radius:14px;width:44px;height:44px}.skeleton{background:var(--surface-muted);border-radius:6px;min-height:18px;animation:1.5s ease-in-out infinite pulse}.skeleton-line{margin:12px 0}.skeleton-short{width:55%}.page-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:48px;display:flex}.page-description{color:var(--text-muted);margin-top:12px;font-size:1rem}.page-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.tabs-list{border-bottom:1px solid var(--border);gap:22px;display:flex;overflow-x:auto}.tab{color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;min-height:44px;padding:12px 2px;font-size:.9375rem;font-weight:600}.tab[data-state=active]{border-bottom-color:var(--text);color:var(--text)}.tab-panel{padding-top:24px}.dialog-overlay{z-index:200;background:#10211f61;animation:.15s fade-in;position:fixed;inset:0}.dialog{z-index:201;box-shadow:var(--shadow-dialog);background:#fff;border-radius:24px;width:min(480px,100vw - 40px);max-height:calc(100dvh - 40px);padding:24px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.dialog-heading>.button{margin:-8px -8px 0 0}.dialog-title{margin-bottom:12px;font-size:1.375rem;font-weight:700;line-height:1.45}.dialog-description{color:var(--text-muted);font-size:.9375rem}.dialog-body{margin-top:24px}.dialog-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:26px;display:flex}.dialog--side{border-radius:0;width:min(330px,90vw);height:100dvh;max-height:100dvh;padding:24px;top:0;left:0;transform:none}.progress{margin-bottom:48px}.progress-label{color:var(--text-muted);justify-content:space-between;gap:16px;margin-bottom:10px;font-size:.875rem;display:flex}progress{appearance:none;background:var(--border);border:0;border-radius:8px;width:100%;height:5px;display:block;overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-muted)}progress::-webkit-progress-value{background:var(--action);border-radius:8px}progress::-moz-progress-bar{background:var(--action)}.brand{flex-shrink:0;align-items:center;gap:10px;display:flex}.brand img{width:34px;height:34px}.brand>div{flex-direction:column;line-height:1.2;display:flex}.brand-name{letter-spacing:-.025em;font-size:.875rem;font-weight:650}.brand-product{letter-spacing:-.04em;font-size:1.2rem;font-weight:750}.demo-bar{color:var(--text-secondary);border-bottom:1px solid var(--border);background:#fafbfc;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:8px 28px;display:flex}.demo-label{align-items:center;gap:14px;font-size:.8125rem;font-weight:600;display:flex}.demo-disclaimer{color:var(--text-muted);font-size:.75rem;font-weight:400}.demo-bar nav{gap:5px;display:flex}.demo-bar nav a{min-height:36px;color:var(--text-muted);border-radius:8px;align-items:center;padding:6px 12px;font-size:.8125rem;display:flex}.demo-bar nav a[aria-current]{color:var(--text);background:#eaeef2;font-weight:600}.demo-bar nav a:hover{background:var(--surface-muted);color:var(--text)}.admin-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);grid-template-rows:64px minmax(0,1fr);height:100dvh;display:grid;position:relative}.demo-bar+.admin-shell{height:calc(100dvh - 52px)}.sidebar{border-right:1px solid var(--border);background:#fff;flex-direction:column;grid-area:1/1/-1;min-height:0;padding:24px 12px;display:flex;overflow-y:auto}.sidebar-brand{align-items:center;gap:8px;margin-bottom:20px;padding:0 12px;display:flex}.sidebar-scope{min-width:0;margin-bottom:24px;padding:0 12px}.sidebar-label{color:var(--text-muted);margin-bottom:14px;padding:0 13px;font-size:.75rem}.sidebar-nav{gap:7px;display:grid}.nav-item{color:var(--text-secondary);border-radius:var(--radius-sm);align-items:center;gap:12px;min-height:52px;padding:14px;font-size:.9375rem;display:flex}.nav-item>span{display:flex}.nav-item:hover{background:var(--surface-muted)}.nav-item--active{color:var(--text);background:var(--surface-muted);font-weight:650}.nav-item--active>span{color:var(--action)}.sidebar-footer{color:var(--text-muted);align-items:flex-start;gap:9px;margin-top:auto;padding:36px 12px 0;font-size:.75rem;line-height:1.8;display:flex}.sidebar-footer>svg{margin-top:3px}.sidebar-account-links{flex-direction:column;gap:4px;display:flex}.sidebar-account-links a{align-items:center;min-height:44px;display:flex}.sidebar-account-links a:hover{color:var(--action)}.admin-main{background:var(--surface);min-width:0}.workspace-bar{border-bottom:1px solid var(--border);background:#fff;grid-area:1/2;justify-content:flex-end;align-items:center;gap:20px;min-height:64px;padding:0 24px;display:flex}.workspace-current{align-items:center;gap:12px;min-width:0;display:flex}.workspace-current strong{font-size:.9375rem;font-weight:650}.workspace-subtitle{color:var(--text-muted);margin-top:1px;font-size:.75rem;display:block}.workspace-avatar{background:var(--surface-muted);width:36px;height:36px;color:var(--text-secondary);border-radius:12px;flex-shrink:0;place-items:center;font-size:.875rem;display:grid}.mobile-menu{display:none}.mobile-sidebar-footer{padding:24px 12px}.admin-content{grid-area:2/2;width:100%;min-width:0;min-height:0;padding:0;overflow:auto}.admin-content>.page-header,.admin-content>.component-grid,.admin-content>.foundation-footer{margin:28px 40px}.product-section{max-width:none;padding:28px 40px}.component-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:56px;display:grid}.component-grid .card{border-radius:0;padding:0}.component-grid>.stack{gap:48px}.component-grid>.full-width{grid-column:1/-1}.token-section{border-top:1px solid var(--border);padding-top:32px!important}.token-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.token-color{border:1px solid #0000000c;border-radius:50%;width:32px;height:32px;margin-bottom:12px}.token-name{font-size:.875rem;font-weight:600}.token-value{color:var(--text-muted);font-size:.75rem;font-family:var(--font-mono)}.component-section+.component-section{margin-top:28px}.component-section h3{color:var(--text-muted);margin-bottom:14px;font-size:.875rem;font-weight:500}.foundation-footer{color:var(--text-muted);margin:40px 0 0;font-size:.8125rem}.auth-layout{background:var(--surface);place-items:start center;min-height:calc(100dvh - 52px);padding:64px 24px 80px;display:grid}.auth-card{width:min(100%,440px)}.auth-heading{margin:40px 0 36px}.auth-heading p{color:var(--text-muted);margin-top:12px;font-size:1rem}.auth-card>.stack{gap:28px}.auth-card>.stack>.button{min-height:56px;margin-top:8px;font-size:1rem}.auth-footer{color:var(--text-muted);margin-top:28px;font-size:.8125rem;line-height:1.7}.respondent-layout{background:#fff;min-height:calc(100dvh - 52px)}.respondent-header{justify-content:space-between;align-items:center;gap:20px;max-width:688px;margin:0 auto;padding:28px 24px;display:flex}.respondent-header>span{color:var(--text-muted);text-align:right;font-size:.875rem}.respondent-main{max-width:640px;margin:0 auto;padding:40px 24px 180px}.question-kicker{color:var(--action);align-items:center;gap:8px;margin-bottom:16px;font-size:.875rem;display:flex}.question-title{letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere;font-size:clamp(1.65rem,3vw,2rem);line-height:1.5}.question-description{color:var(--text-muted);margin-top:12px;font-size:.9375rem}.question-content{margin-top:36px}.respondent-actions{padding:18px 24px calc(18px + env(safe-area-inset-bottom));background:#fffffffa;position:fixed;bottom:0;left:0;right:0}.respondent-actions>div{align-items:center;gap:12px;max-width:600px;margin:0 auto;display:flex}.respondent-actions .button{min-height:56px;font-size:1rem}.respondent-actions .button:last-child{flex:1}.split-pane{border-top:1px solid var(--border);background:#fff;grid-template-columns:minmax(245px,.85fr) minmax(0,1.6fr);min-height:560px;display:grid;overflow:hidden}.split-list{border-right:1px solid var(--border);min-width:0}.split-detail{min-width:0;padding:32px}.record-search{padding:24px 20px 12px 0}.record-count{color:var(--text-muted);padding:16px 20px 8px;font-size:.8125rem}.record-row{text-align:left;background:#fff;border:0;border-radius:12px;align-items:flex-start;gap:13px;width:calc(100% - 16px);margin:4px 16px 4px 0;padding:20px 14px;display:flex}.record-row:hover,.record-row[aria-pressed=true]{background:var(--surface-muted)}.record-icon{box-sizing:content-box;color:var(--text-muted);background:var(--surface-muted);border-radius:12px;flex-shrink:0;padding:9px}.record-row[aria-pressed=true] .record-icon{background:#fff}.record-copy{flex:1;min-width:0}.record-selection{color:var(--text-secondary);flex:0 0 18px;justify-content:center;align-self:center;display:flex}.record-row strong{margin-bottom:3px;font-size:.9375rem;font-weight:650;display:block}.record-meta{color:var(--text-muted);font-size:.8125rem}.record-answer{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.record-answer dt{color:var(--text-muted);margin-top:28px;font-size:.875rem}.record-answer dd{margin:8px 0 0;font-size:1.0625rem;font-weight:500}.record-back{margin-bottom:20px;display:none}.editor-header{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:24px 32px;display:flex}.editor-title{font-size:1.3rem}.editor-body{grid-template-columns:210px minmax(0,1fr) minmax(300px,.85fr);min-height:calc(100dvh - 150px);display:grid}.editor-tools{border-right:1px solid var(--border);padding:28px 18px}.editor-tools h2{margin:0 8px 18px;font-size:.9375rem}.editor-tool{min-height:46px;color:var(--text-muted);border-radius:7px;align-items:center;gap:10px;padding:12px;font-size:.875rem;display:flex}.editor-tool--active{background:var(--surface-muted);color:var(--text);font-weight:600}.editor-tool--active>svg{color:var(--action)}.editor-canvas{background:var(--page-background);padding:32px}.editor-preview{border-left:1px solid var(--border);padding:30px 24px}.editor-preview>.section-heading{margin-bottom:36px}.editor-preview .question-title{font-size:1.3rem}.editor-preview .choice{padding:12px;font-size:.9375rem}.standalone-state{place-items:center;min-height:100dvh;display:grid}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (max-width:1100px){.workspace-bar{padding:0 24px}.component-grid{grid-template-columns:1fr;gap:48px}.component-grid>.stack{border-top:1px solid var(--border);padding-top:40px}.editor-body{grid-template-columns:165px minmax(0,1fr)}.editor-preview{border-left:0;border-top:1px solid var(--border);grid-column:2}.editor-tools{grid-row:1/3}.demo-disclaimer{display:none}}@media (max-width:760px){.demo-bar{flex-direction:column;align-items:flex-start;gap:4px;padding:10px 20px}.demo-bar nav{gap:0;width:100%;overflow-x:auto}.demo-bar nav a{flex-shrink:0;min-height:44px;padding:8px 11px;font-size:.8125rem}.demo-disclaimer{display:none}.demo-label{gap:10px;font-size:.75rem}.admin-shell{grid-template-columns:minmax(0,1fr)}.sidebar{border-right:0;border-bottom:1px solid var(--border);grid-area:1/1;padding:12px 16px 16px;overflow:visible}.sidebar-brand{margin-bottom:12px;padding:0 64px 0 0}.sidebar-scope{margin-bottom:0;padding:0}.sidebar>.sidebar-nav,.sidebar>.sidebar-footer{display:none}.mobile-menu{display:block}.admin-shell{grid-template-rows:auto minmax(0,1fr)}.workspace-bar{border-bottom:0;grid-column:1;min-height:44px;padding:0;position:absolute;top:12px;right:12px}.workspace-current{gap:8px}.workspace-avatar{display:none}.workspace-subtitle,.workspace-bar>.badge{font-size:.6875rem}.admin-content{grid-column:1;padding:0}.product-section{padding:24px 20px}.admin-content>.page-header,.admin-content>.component-grid,.admin-content>.foundation-footer{margin:24px 20px}.page-header{flex-direction:column;align-items:flex-start;gap:18px}.page-actions{width:100%}.page-header{margin-bottom:36px}.card{padding:24px 20px}.component-grid{gap:40px}.token-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.section-heading{flex-wrap:wrap;gap:4px;margin-bottom:20px}.auth-layout{background:#fff;padding:32px 24px;display:block}.auth-card{border:0;margin:0 auto;padding:8px 0}.respondent-header{padding:24px 20px}.respondent-header>span{font-size:.8125rem}.respondent-main{padding-top:12px}.respondent-actions>div{gap:8px}.split-pane{grid-template-columns:minmax(0,1fr);min-height:420px}.split-pane--list .split-detail,.split-pane--detail .split-list{display:none}.split-list{border-right:0}.split-detail{padding:24px 0}.record-search{padding-right:0}.record-row{width:100%;margin-right:0}.record-back{display:inline-flex}.editor-header{flex-direction:column;align-items:flex-start;padding:20px}.editor-body{flex-direction:column;display:flex}.editor-tools{border-right:0;border-bottom:1px solid var(--border);padding:20px}.editor-tools h2{margin-bottom:10px;margin-left:0}.editor-tool-list{flex-wrap:wrap;gap:6px;display:flex}.editor-tool{padding:8px 12px}.editor-canvas{padding:24px 20px}.editor-preview{padding:28px 20px}}@media (min-width:461px) and (max-width:560px){.bottom-sheet{height:min(520px,82dvh)}.bottom-sheet-heading,.bottom-sheet-search,.bottom-sheet-footer{padding-left:35px;padding-right:35px}.bottom-sheet-scroll{margin-left:35px;margin-right:35px}}@media (max-width:340px){.bottom-sheet-heading,.bottom-sheet-search,.bottom-sheet-footer{padding-left:20px;padding-right:20px}.bottom-sheet-scroll{margin-left:20px;margin-right:20px}}@media (forced-colors:active){.input,.button,.choice{border-color:buttontext}.select-chevron{color:buttontext}.select-trigger:disabled .select-chevron{color:graytext}.select-option[aria-pressed=true]{outline-offset:-2px;outline:2px solid highlight}.choice--selected{outline:2px solid highlight}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}}
