:root{--canvas:#f4f6f9;--surface:#fff;--surface-soft:#f8fafc;--surface-blue:#edf5fc;--surface-green:#e8faf2;--surface-amber:#fff5e3;--surface-red:#fff0f0;--surface-violet:#f3edff;--ink:#172230;--muted:#5f6f82;--muted-strong:#45566a;--line:#dce3eb;--line-strong:#c8d3df;--navy:#0a3c6b;--navy-deep:#082f57;--blue:#1769aa;--blue-dark:#0f568f;--brand-orange:#ff8200;--green:#04734a;--amber:#a84f00;--red:#d53f45;--violet:#7050c8;--shadow-sm:0 1px 2px #14263b09;--shadow-md:0 18px 48px #14263b1c;--radius-sm:8px;--radius:12px;--radius-lg:16px;--radius-xl:20px;--font:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;--content-max:1320px}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px;scroll-padding-top:88px}html,body{margin:0;padding:0}body{background:var(--canvas);min-height:100dvh;color:var(--ink);font-family:var(--font);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1{letter-spacing:-.042em;margin-bottom:8px;font-size:clamp(1.9rem,2.4vw,2.45rem);line-height:1.12}h2{letter-spacing:-.018em;margin-bottom:8px;font-size:1.15rem;line-height:1.3}h3{margin-bottom:6px;font-size:1rem;line-height:1.35}p{margin-bottom:12px}svg{display:block}.brand-logo{max-width:100%;height:auto;display:block}.brand-slogan{gap:10px;display:grid}.brand-slogan-en,.brand-slogan-zh{display:block}.brand-slogan-en{letter-spacing:-.04em;text-wrap:balance;max-width:720px;font-size:clamp(2.5rem,4.6vw,5.75rem);font-weight:790;line-height:.98}.brand-slogan-zh{color:var(--brand-orange);letter-spacing:.04em;font-size:clamp(1.35rem,2vw,2.4rem);font-weight:720;line-height:1.15}.brand-slogan-compact{flex-wrap:wrap;align-items:baseline;gap:6px 14px;display:flex}.brand-slogan-compact .brand-slogan-en{letter-spacing:-.026em;font-size:clamp(1.05rem,1.6vw,1.35rem);font-weight:730;line-height:1.2}.brand-slogan-compact .brand-slogan-zh{letter-spacing:.05em;font-size:.82rem}.dashboard-slogan{border-radius:var(--radius-lg);background:var(--navy);color:#fff;margin-top:-4px;padding:16px 20px;box-shadow:0 10px 30px #082f5729}:focus-visible{outline-offset:2px;outline:3px solid #0967be40}.app-frame{min-height:100dvh}.app-sidebar{z-index:40;background:var(--navy);color:#fff;flex-direction:column;width:220px;padding:22px 12px 16px;display:flex;position:fixed;inset:0 auto 0 0}.app-brand{align-items:center;gap:12px;padding:0 6px 24px;display:flex}.brand-mark{background:#fff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;padding:3px;display:grid;overflow:hidden;box-shadow:0 2px 8px #041c3338}.brand-logo-nav{object-fit:contain;width:100%;height:100%}.brand-name{font-size:15px;font-weight:700;line-height:1.25;display:block}.brand-role{color:#bdd2e6;margin-top:2px;font-size:11px;line-height:1.2;display:block}.side-nav{gap:6px;display:grid}.side-nav-link{color:#ccdaea;border-radius:10px;align-items:center;gap:12px;min-height:42px;padding:0 14px;font-size:13px;font-weight:520;transition:background .18s,color .18s,transform .18s;display:flex}.side-nav-link svg{opacity:.85;width:18px;height:18px}.side-nav-link:hover{color:#fff;background:#ffffff14}.side-nav-link:active{transform:translateY(1px)}.side-nav-link.active{color:#fff;background:#0c5d9f;font-weight:650}.side-nav-link.active svg{opacity:1}.sidebar-spacer{flex:1;min-height:24px}.sidebar-user{border-top:1px solid #ffffff24;gap:10px;padding:14px 8px 0;display:grid}.sidebar-user-row{border-radius:10px;align-items:center;gap:10px;min-width:0;margin:-6px;padding:6px;transition:background .18s;display:flex}.sidebar-user-row:hover,.sidebar-user-row.active{background:#ffffff1a}.user-avatar{color:#fff;background:#ffffff1f;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:12px;font-weight:750;display:grid;overflow:hidden}.user-avatar-image{object-fit:cover;width:100%;height:100%}.sidebar-user-copy{flex:1;min-width:0}.sidebar-user-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;display:block;overflow:hidden}.sidebar-user-email{color:#a9c4dd;text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.sidebar-account-arrow{color:#a9c4dd;flex:none;width:14px;height:14px}.sidebar-utilities{gap:6px;display:flex}.sidebar-utility{color:#c9d9e8;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:34px;font-size:11px;display:inline-flex}.sidebar-utility:hover{color:#fff;background:#ffffff14}.sidebar-utility svg{width:15px;height:15px}.app-content{min-height:100dvh;margin-left:220px}.app-main{width:100%;max-width:calc(var(--content-max) + 80px);margin:0 auto;padding:clamp(28px,3vw,44px) clamp(24px,3.4vw,48px) 56px}.mobile-app-header,.bottom-nav{display:none}.public-shell{min-height:100dvh}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;min-height:68px;margin-bottom:20px;display:flex}.page-header-copy{max-width:780px}.page-header h1{margin:0}.page-header p{color:var(--muted);max-width:680px;margin:8px 0 0;font-size:13px;line-height:1.55}.page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.eyebrow{color:var(--blue);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:750}.stack{gap:16px;display:grid}.stack-sm{gap:10px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.row-between{justify-content:space-between;align-items:center;gap:16px;display:flex}.muted{color:var(--muted);font-size:13px}.caption{color:var(--muted);font-size:12px;line-height:1.45}.section-title{justify-content:space-between;align-items:center;gap:16px;margin:6px 0 12px;display:flex}.section-title h2{margin:0}.card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);padding:20px;display:block}.card.stack,.card.stack-sm{display:grid}.card.row,.card.row-between{display:flex}.card-compact{padding:14px}.card-soft{background:var(--surface-soft)}.card-interactive{transition:border-color .18s,box-shadow .18s,transform .18s}.card-interactive:hover{border-color:#b9cadb;transform:translateY(-1px);box-shadow:0 8px 24px #152d4b12}.notification-panel .section-title{margin-bottom:0}.notification-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:16px 18px;display:grid}.notification-copy{gap:3px;min-width:0;display:grid}.notification-copy .caption{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.notification-meta,.notification-action{align-items:center;display:inline-flex}.notification-meta{gap:14px}.notification-action{background:var(--surface-blue);min-height:32px;color:var(--blue-dark);border-radius:8px;gap:6px;padding:6px 9px;font-size:12px;font-weight:700}.notification-action svg{width:14px;height:14px;transition:transform .18s}.notification-row:hover .notification-action svg{transform:translate(2px)}.current-task-card{border-color:#c9dceb;padding:22px}.current-task-layout{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;display:grid}.current-task-copy{gap:10px;min-width:0;display:grid}.current-task-heading h2,.current-task-heading p{margin-bottom:0}.current-task-heading p{margin-top:3px}.current-task-action svg{width:16px;height:16px}.current-task-card:hover .current-task-action svg{transform:translate(2px)}.grid-2,.grid-3,.grid-4{gap:16px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.content-aside{grid-template-columns:minmax(0,1.75fr) minmax(260px,.75fr);align-items:start;gap:18px;display:grid}.button,.btn,button.btn,a.btn{background:var(--blue);color:#fff;cursor:pointer;min-height:40px;font:inherit;white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:650;line-height:1.2;transition:background .18s,border-color .18s,box-shadow .18s,transform 80ms;display:inline-flex}.button:hover,.btn:hover{background:var(--blue-dark)}.button:active,.btn:active{transform:translateY(1px)}.button svg,.btn svg{width:17px;height:17px}.button-secondary,.btn.secondary{border-color:var(--line);background:var(--surface);color:var(--ink)}.button-secondary:hover,.btn.secondary:hover{border-color:var(--line-strong);background:var(--surface-soft)}.button-ghost,.btn.ghost{color:var(--blue);background:0 0;border-color:#0000}.button-ghost:hover,.btn.ghost:hover{background:var(--surface-blue)}.button-danger,.btn.danger{background:var(--red)}.button-small{border-radius:8px;min-height:34px;padding:7px 11px;font-size:13px}.button-wide{width:100%}.button:disabled,.btn:disabled{opacity:.48;cursor:not-allowed;transform:none}.icon-button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;place-items:center;width:40px;height:40px;padding:0;display:inline-grid}.icon-button svg{width:19px;height:19px}label,.field{color:var(--muted-strong);gap:7px;font-size:13px;font-weight:600;display:grid}input,textarea,select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:42px;color:var(--ink);border-radius:10px;padding:10px 12px;font-size:13px;font-weight:450;transition:border-color .18s,box-shadow .18s}input::placeholder,textarea::placeholder{color:#8ba0b7}input:hover,textarea:hover,select:hover{border-color:var(--line-strong)}input:focus,textarea:focus,select:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px #0967be1a}textarea{resize:vertical;min-height:132px;line-height:1.55}input[type=checkbox],input[type=radio]{width:18px;min-height:18px;accent-color:var(--blue);margin:0}.multi-select-dropdown{min-width:0;position:relative}.multi-select-dropdown>summary{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;font-weight:450;list-style:none;display:flex}.multi-select-dropdown>summary::-webkit-details-marker{display:none}.multi-select-dropdown>summary.disabled{opacity:.55;cursor:not-allowed}.multi-select-dropdown[open]>summary{border-color:var(--blue);box-shadow:0 0 0 3px #0967be1a}.multi-select-panel{z-index:30;border:1px solid var(--line);background:var(--surface);min-width:min(360px,90vw);box-shadow:var(--shadow-md);border-radius:12px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0}.multi-select-options{gap:6px;max-height:260px;display:grid;overflow-y:auto}.multi-select-option{cursor:pointer;border-radius:8px;grid-template-columns:none;align-items:flex-start;gap:10px;padding:9px;display:flex}.multi-select-option:hover{background:var(--surface-blue)}.multi-select-master-option{border-bottom:1px solid var(--line);border-radius:0}.multi-select-option>span{gap:2px;min-width:0;display:grid}.people-groups-layout{grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);align-items:start;gap:1rem;display:grid}.people-groups-list{position:sticky;top:1rem}.search-control{position:relative}.search-control svg{width:18px;height:18px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.search-control input{padding-left:42px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field-full{grid-column:1/-1}.field-row{grid-template-columns:minmax(0,1fr) 170px;align-items:end;gap:10px;display:grid}.choice-list{gap:10px;display:grid}.form-fieldset{border:0;min-width:0;margin:0;padding:0}.form-fieldset legend{margin-bottom:8px;font-size:13px;font-weight:700}.choice{border:1px solid var(--line);background:var(--surface);min-height:46px;color:var(--ink);cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;font-size:13px;font-weight:500;display:flex}.choice:has(input:checked){background:#f8fbff;border-color:#a9cce9}.status-pill,.chip{width:fit-content;min-height:26px;color:var(--muted-strong);white-space:nowrap;background:#eef2f7;border:1px solid #0000;border-radius:999px;align-items:center;padding:4px 10px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}.status-blue{background:var(--surface-blue);color:var(--blue-dark)}.status-green,.chip.ok{background:var(--surface-green);color:var(--green)}.status-amber,.chip.warn{background:var(--surface-amber);color:var(--amber)}.status-red,.chip.bad{background:var(--surface-red);color:var(--red)}.status-violet{background:var(--surface-violet);color:var(--violet)}.tabs{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.tab{background:var(--surface);min-height:32px;color:var(--muted);cursor:pointer;border:1px solid #0000;border-radius:999px;padding:6px 13px;font-size:11px;font-weight:600}.tab:hover{border-color:var(--line)}.tab.active{background:var(--blue);color:#fff}.table-shell{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}.table-scroll{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:760px}.data-table th,.data-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:14px 16px}.data-table th{color:var(--muted);letter-spacing:.025em;text-transform:uppercase;font-size:10px;font-weight:700}.data-table td{font-size:12px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:#f8fbfe}.table-link{color:var(--blue);font-weight:650}.dataset-builder{border-color:#b9d6ed;box-shadow:0 12px 32px #144c7a14}.dataset-builder h2,.dataset-builder p{margin-bottom:0}.dataset-scope-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dataset-scope-options .choice{align-items:flex-start}.dataset-scope-options .choice>span{gap:4px;display:grid}.dataset-filters{border:1px solid var(--line);background:#fbfdff;border-radius:14px;padding:16px}.dataset-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dataset-advanced-filters{border-top:1px solid var(--line);padding-top:12px}.dataset-advanced-filters>summary{width:fit-content;color:var(--blue);cursor:pointer;font-size:13px;font-weight:650}.dataset-advanced-filters[open]>summary{margin-bottom:12px}.dataset-field-policy,.records-filter-card{padding:16px}.records-filter-card .dataset-filters{background:0 0;border:0;padding:0}.record-search-field{gap:7px}.record-search-field .search-control{display:block}.record-search-field .search-control svg{top:50%}.records-filter-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding-top:14px;display:flex}.records-filter-note{text-align:right;width:100%;margin:0}.selection-toolbar{z-index:10;box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f4fafff5;border:1px solid #a9cce9;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex;position:sticky;top:12px}.selection-toolbar>div{gap:3px;display:grid}.selection-cell{width:46px;text-align:center!important}.records-data-table .row-selected{background:var(--surface-blue)}.records-data-table input:disabled{cursor:not-allowed}.dataset-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.dataset-overview-grid .card{gap:6px;padding:16px;display:grid}.dataset-overview-grid strong{color:var(--ink);font-size:18px}.dataset-table{min-width:1040px}.dataset-actions{flex-wrap:nowrap}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:12px;display:grid}.field-action{padding-bottom:1px}.mono-small{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px!important}.dataset-builder-backdrop{align-items:center}.dataset-builder.modal-card{gap:18px;width:min(920px,100%)}.dataset-builder .form-grid{align-items:start}.dataset-builder .dataset-classification-field{max-width:360px}.dataset-selection-summary{background:var(--surface-blue);border:1px solid #b9d9ef;border-radius:14px;align-items:center;gap:12px;padding:14px 16px;display:flex}.dataset-selection-summary>span:last-child{gap:3px;display:grid}.dataset-selection-icon,.dataset-card-icon,.dataset-report-icon{background:var(--surface-blue);width:38px;height:38px;color:var(--blue);border-radius:11px;flex:none;place-items:center;display:grid}.dataset-selection-icon svg,.dataset-card-icon svg,.dataset-report-icon svg{width:20px;height:20px}.dataset-field-policy.advanced-panel fieldset{border:0}.records-data-table input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);cursor:pointer}.dataset-flow-strip{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);justify-content:center;align-items:center;gap:22px;min-height:62px;padding:12px 18px;display:flex}.dataset-flow-strip>div{color:var(--muted-strong);align-items:center;gap:9px;font-size:12px;display:flex}.dataset-flow-strip>div>span{background:var(--surface-blue);width:26px;height:26px;color:var(--blue);border-radius:50%;place-items:center;font-size:11px;font-weight:800;display:grid}.dataset-flow-strip>svg{width:17px;color:var(--line-strong)}.dataset-library-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-top:8px;display:flex}.dataset-library-controls{gap:10px;margin-top:8px;display:grid}.dataset-library-tabs{border-bottom:1px solid var(--line);align-items:center;gap:18px;width:fit-content;display:flex}.dataset-library-tabs button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:5px 2px;font-size:12px;font-weight:700;display:inline-flex;position:relative}.dataset-library-tabs button:after{content:"";background:0 0;border-radius:2px 2px 0 0;height:2px;position:absolute;bottom:-1px;left:0;right:0}.dataset-library-tabs button:hover,.dataset-library-tabs button:focus-visible,.dataset-library-tabs button[aria-selected=true]{color:var(--blue-dark)}.dataset-library-tabs button[aria-selected=true]:after{background:var(--blue)}.dataset-library-tabs button>span{background:var(--surface-soft);min-width:21px;color:var(--muted-strong);font-variant-numeric:tabular-nums;text-align:center;border-radius:999px;padding:2px 6px;font-size:10px}.dataset-library-tabs button[aria-selected=true]>span{background:var(--surface-blue);color:var(--blue-dark)}.dataset-action-notice{background:var(--surface-green);color:#24654f;border-radius:10px;margin:0;padding:10px 12px;font-size:12px}.dataset-search{width:min(500px,100%)}.dataset-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.dataset-library-card{gap:18px;min-height:280px;padding:20px;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.dataset-library-card:hover{box-shadow:var(--shadow-md);border-color:#b8cfdf;transform:translateY(-1px)}.dataset-library-card.archived{background:#fbfcfd}.dataset-library-card.archived:hover{border-color:var(--line-strong);box-shadow:none;transform:none}.dataset-card-heading,.dataset-card-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.dataset-card-copy{min-height:68px}.dataset-card-copy h2{margin:0 0 6px;font-size:1.12rem}.dataset-card-copy p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.dataset-card-metrics{border-block:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));padding:13px 0;display:grid}.dataset-card-metrics>span{border-right:1px solid var(--line);color:var(--muted);gap:1px;padding:0 12px;font-size:10px;display:grid}.dataset-card-metrics>span:first-child{padding-left:0}.dataset-card-metrics>span:last-child{border-right:0;padding-right:0}.dataset-card-metrics strong{color:var(--ink);font-size:15px}.dataset-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.dataset-workspace-page{gap:18px}.dataset-workspace-header{gap:17px;padding-bottom:4px;display:grid}.dataset-back-link{width:fit-content;color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:650;display:inline-flex}.dataset-back-link:hover{color:var(--blue)}.dataset-back-link svg{width:16px;height:16px}.dataset-title-row{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.dataset-title-row h1{margin:8px 0 4px;font-size:clamp(1.75rem,2.5vw,2.35rem)}.dataset-title-row p{max-width:740px;color:var(--muted);margin:0;font-size:13px}.dataset-title-meta{color:var(--muted);gap:8px;font-size:11px}.dataset-title-meta>span:not(.status-pill)+span:before{color:var(--line-strong);content:"•";margin-right:8px}.dataset-header-actions{flex-wrap:nowrap}.dataset-summary-bar{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;overflow:hidden}.dataset-summary-bar>span{border-right:1px solid var(--line);min-height:62px;color:var(--muted);align-content:center;gap:1px;padding:10px 18px;font-size:10px;display:grid}.dataset-summary-bar>span:last-child{border-right:0}.dataset-summary-bar strong{color:var(--ink);font-size:16px}.dataset-workspace-tabs{border:1px solid var(--line);background:#eef3f8;border-radius:13px;align-items:center;gap:6px;padding:5px;display:flex}.dataset-workspace-tabs button{min-height:38px;color:var(--muted-strong);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:650;display:inline-flex}.dataset-workspace-tabs button svg{width:17px;height:17px}.dataset-workspace-tabs button.active{background:var(--surface);color:var(--blue-dark);box-shadow:var(--shadow-sm)}.dataset-analysis-layout{grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:16px;display:grid}.dataset-ai-panel{grid-template-rows:auto minmax(320px,1fr) auto;gap:0;min-height:650px;padding:0;display:grid;overflow:hidden}.dataset-ai-heading{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:18px 20px;display:flex}.dataset-ai-heading h2,.dataset-ai-heading p{margin:0}.dataset-ai-heading p{color:var(--muted);font-size:11px}.dataset-ai-avatar{background:linear-gradient(135deg, var(--blue), var(--violet));color:#fff;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.dataset-ai-avatar svg{width:18px}.dataset-chat-messages{background:#fbfcfe;align-content:start;gap:14px;max-height:620px;padding:24px;display:grid;overflow-y:auto}.dataset-ai-welcome{text-align:center;gap:7px;max-width:680px;margin:auto;padding:26px 0;display:grid}.dataset-ai-welcome>strong{font-size:1.15rem}.dataset-ai-welcome>p{max-width:600px;color:var(--muted);margin:0 auto 12px;font-size:12px}.dataset-prompt-grid{text-align:left;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.dataset-prompt-grid button{border:1px solid var(--line);background:var(--surface);min-height:82px;color:var(--muted-strong);cursor:pointer;border-radius:11px;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px;font-size:11px;line-height:1.5;display:flex}.dataset-prompt-grid button:hover:not(:disabled){background:var(--surface-blue);color:var(--blue-dark);border-color:#a9cce9}.dataset-prompt-grid button svg{flex:none;width:14px}.dataset-chat-message{white-space:pre-wrap;border-radius:14px;width:fit-content;max-width:84%;padding:13px 15px}.dataset-chat-message.user{background:var(--blue);color:#fff;border-bottom-right-radius:4px;justify-self:end}.dataset-chat-message.assistant{border:1px solid var(--line);background:var(--surface);border-bottom-left-radius:4px;justify-self:start}.dataset-chat-sources{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.dataset-chat-sources summary{color:var(--blue);cursor:pointer;font-size:11px;font-weight:650}.dataset-chat-sources .evidence{margin-top:8px;padding:9px}.dataset-chat-sources p{margin:2px 0 0;font-size:11px}.dataset-ai-thinking{width:fit-content;color:var(--muted);align-items:center;gap:4px;font-size:11px;display:flex}.dataset-ai-thinking>span{background:var(--blue);border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite dataset-thinking}.dataset-ai-thinking>span:nth-child(2){animation-delay:.15s}.dataset-ai-thinking>span:nth-child(3){margin-right:4px;animation-delay:.3s}@keyframes dataset-thinking{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.dataset-chat-compose{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px 16px;display:grid}.dataset-chat-compose textarea{resize:vertical;min-height:48px;max-height:130px}.dataset-chat-compose>.button{width:46px;padding-inline:0}.dataset-chat-compose>.caption{grid-column:1/-1;align-items:center;gap:5px;display:flex}.dataset-chat-compose>.caption svg{width:13px;color:var(--green)}.dataset-media-consent{background:var(--surface-blue);color:var(--muted-strong);cursor:pointer;border:1px solid #cfe0ee;border-radius:10px;grid-column:1/-1;align-items:flex-start;gap:9px;padding:10px 12px;display:flex}.dataset-media-consent input{flex:none;width:16px;height:16px;margin-top:2px}.dataset-media-consent>span{gap:2px;font-size:10px;line-height:1.45;display:grid}.dataset-media-consent strong{color:var(--ink);font-size:11px}.attachment-picker-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.attachment-picker-option{background:var(--surface);min-height:112px;color:var(--muted-strong);cursor:pointer;text-align:center;border:1px dashed #b9cad9;border-radius:12px;align-content:center;place-items:center;gap:8px;padding:14px 10px;font-size:11px;transition:all .16s;display:grid}.attachment-picker-option:hover{border-color:var(--blue);background:var(--surface-blue);color:var(--blue-dark)}.attachment-picker-option:has(input:focus-visible){outline:3px solid color-mix(in srgb, var(--blue) 24%, transparent);outline-offset:2px}.attachment-picker-option:has(input:disabled){opacity:.55;cursor:not-allowed}.attachment-picker-option input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.attachment-kind-icon{width:34px;height:34px;color:var(--blue);background:#edf4fb;border-radius:10px;flex:none;place-items:center;display:grid}.attachment-kind-icon svg{width:18px;height:18px}.attachment-kind-audio{color:var(--violet);background:#f2ecff}.attachment-kind-video{color:#bd5b17;background:#fff1e7}.attachment-kind-document{color:var(--muted-strong);background:#eef1f4}.attachment-file-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.attachment-file-list li,.attachment-card-footer{border:1px solid var(--line);background:var(--surface);border-radius:11px;align-items:center;gap:10px;min-width:0;padding:9px 10px;display:flex}.attachment-file-list .icon-button{margin-left:auto}.attachment-file-copy{flex:1;gap:1px;min-width:0;display:grid}.attachment-file-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.attachment-file-copy span{color:var(--muted);font-size:9px}.attachment-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;display:grid}.attachment-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;min-width:0;overflow:hidden}.attachment-preview{background:#f2f5f8;place-items:center;min-height:150px;display:grid;overflow:hidden}:is(.attachment-preview>a:has(img),.attachment-preview img,.attachment-preview video){object-fit:cover;width:100%;height:190px;display:block}.attachment-preview audio{width:calc(100% - 24px)}.attachment-document-preview{color:var(--blue);place-items:center;gap:8px;font-size:11px;font-weight:650;text-decoration:none;display:grid}.attachment-document-preview svg{width:34px;height:34px}.attachment-card-footer{border:0;border-top:1px solid var(--line);border-radius:0}.attachment-card-footer .attachment-kind-icon{width:30px;height:30px}.attachment-compact-list{flex-wrap:wrap;gap:5px;max-width:240px;display:flex}.attachment-compact-link{border:1px solid var(--line);max-width:112px;color:var(--blue-dark);background:#f7fafc;border-radius:999px;align-items:center;gap:4px;padding:4px 7px;font-size:9px;text-decoration:none;display:inline-flex}.attachment-compact-link:hover{background:var(--surface-blue);border-color:#a9cce9}.attachment-compact-link svg{flex:none;width:12px;height:12px}.attachment-compact-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dataset-context-panel{gap:18px;display:grid;position:sticky;top:16px}.dataset-context-panel h2{margin:0}.dataset-context-panel dl{gap:0;margin:0;display:grid}.dataset-context-panel dl>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.dataset-context-panel dt{color:var(--muted);font-size:11px}.dataset-context-panel dd{text-align:right;margin:0;font-size:12px;font-weight:650}.dataset-context-note{background:var(--surface-green);color:var(--green);border-radius:11px;align-items:flex-start;gap:9px;padding:12px;display:flex}.dataset-context-note>svg{flex:none;width:16px;margin-top:2px}.dataset-context-note>span{gap:2px;font-size:10px;display:grid}.dataset-context-note strong{font-size:11px}.dataset-records-panel h2,.dataset-records-panel p{margin-bottom:2px}.dataset-report-panel{text-align:center;justify-items:center;gap:18px;max-width:820px;margin:14px auto;padding:38px;display:grid}.dataset-report-icon{border-radius:15px;width:52px;height:52px}.dataset-report-panel h2{margin-bottom:8px;font-size:1.45rem}.dataset-report-panel p{max-width:680px;color:var(--muted);margin:0;font-size:12px}.dataset-report-outline{text-align:left;gap:8px;width:min(560px,100%);display:grid}.dataset-report-outline>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;align-items:center;gap:11px;padding:10px 12px;font-size:12px;display:flex}.dataset-report-outline span{background:var(--surface-blue);width:24px;height:24px;color:var(--blue);border-radius:50%;place-items:center;font-size:10px;font-weight:750;display:grid}.dataset-governance-panel{padding:0;overflow:hidden}.dataset-governance-panel>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:14px 18px;list-style:none;display:flex}.dataset-governance-panel>summary::-webkit-details-marker{display:none}.dataset-governance-panel>summary>span:first-child{align-items:center;gap:9px;display:flex}.dataset-governance-panel>summary svg{width:17px;color:var(--muted)}.dataset-governance-content{border-top:1px solid var(--line);background:var(--surface-soft);padding:18px}.dataset-management-section{border-top:1px solid var(--line);padding-top:16px}.dataset-management-section h3,.dataset-management-section p{margin-bottom:2px}.report-ai-suggestion{align-items:flex-start}.report-ai-suggestion>div{width:100%}.list-panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.list-panel-title{padding:16px 18px 8px;font-size:13px;font-weight:700}.list-row{background:var(--surface-soft);border-radius:12px;grid-template-columns:minmax(180px,1.3fr) minmax(140px,1fr) minmax(120px,.8fr) auto;align-items:center;gap:16px;min-height:66px;margin:0 14px 12px;padding:12px 14px;display:grid}.list-row:hover{background:#f1f6fb}.task-select-row{background:var(--surface-soft);border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:0 14px 12px;padding-left:14px;display:grid}.task-select-row:hover{background:#f1f6fb}.task-select-row.no-selector{grid-template-columns:minmax(0,1fr)}.task-select-row-link{grid-template-columns:minmax(180px,1.3fr) minmax(140px,1fr) minmax(120px,.8fr) auto;align-items:center;gap:16px;min-height:66px;padding:12px 14px 12px 0;display:grid}.version-change-row{background:var(--surface-soft);border-radius:12px;grid-template-columns:auto minmax(180px,1fr) minmax(160px,1fr);align-items:center;gap:16px;margin:0 14px 12px;padding:12px 14px;display:grid}.list-row-title{font-size:13px;font-weight:650}.list-row-subtitle{color:var(--muted);margin-top:3px;font-size:10px}.list-row-arrow{color:var(--muted)}.list-row-arrow svg{width:17px;height:17px}.stat-card{min-height:118px;padding:18px}.stat-value{letter-spacing:-.04em;margin-bottom:8px;font-size:28px;font-weight:750;line-height:1}.stat-label{font-size:12px;font-weight:650}.stat-link{color:var(--blue);margin-top:12px;font-size:11px;font-weight:650}.insight-card{border:0;min-height:154px;padding:20px}.insight-card.blue{background:var(--surface-blue)}.insight-card.amber{background:var(--surface-amber)}.insight-card.green{background:var(--surface-green)}.insight-card.violet{background:var(--surface-violet)}.insight-card.card-interactive{flex-direction:column;align-items:flex-start;display:flex}.insight-card.card-interactive .inline-link{margin-top:auto}.stat-card.card-interactive{display:block}.stat-link{align-items:center;gap:5px;display:inline-flex}.stat-link svg,.analytics-source-row .table-link svg{width:14px;height:14px}.analytics-source-row a:not(.table-link){color:var(--blue);font-weight:650;display:block}.records-drilldown-banner>span{gap:3px;display:grid}.concern-count{color:var(--amber);margin-top:5px;font-weight:650}.form-summary-strip{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.form-summary-strip>div{border-right:1px solid var(--line);align-items:center;gap:10px;min-height:74px;padding:14px 18px;display:flex}.form-summary-strip>div:last-child{border-right:0}.form-summary-strip strong{font-size:1.45rem;line-height:1}.form-summary-strip span{color:var(--muted);font-size:.8rem;font-weight:650}.form-list-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;display:grid}.segmented-control{border:1px solid var(--line);background:var(--surface);border-radius:11px;gap:3px;padding:4px;display:inline-flex}.segmented-control button{min-height:34px;color:var(--muted-strong);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 13px;font-size:.78rem;font-weight:650}.segmented-control button.active{background:var(--surface-blue);color:var(--blue)}.form-card-grid{align-items:stretch}.form-manage-card{min-width:0}.form-status-group{justify-content:flex-end}.form-card-copy h2,.form-card-copy p{overflow-wrap:anywhere}.form-card-copy p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.form-card-meta{color:var(--muted);flex-wrap:wrap;gap:8px 14px;font-size:.76rem;display:flex}.form-card-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.form-card-actions .button{justify-content:center}.form-version-note{color:var(--muted);margin:0}.form-remove-button{width:fit-content;color:var(--red);cursor:pointer;background:0 0;border:0;padding:2px 0;font-size:.75rem;font-weight:650}.form-remove-button:disabled{cursor:not-allowed;opacity:.5}.form-create-steps{gap:10px;display:flex}.form-create-steps span{color:var(--muted);align-items:center;gap:7px;font-size:.8rem;font-weight:650;display:inline-flex}.form-create-steps span:after{background:var(--line);content:"";width:38px;height:1px;margin-left:4px}.form-create-steps span:last-child:after{display:none}.form-create-steps b{background:var(--surface-soft);width:25px;height:25px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.form-create-steps .active,.form-create-steps .complete{color:var(--blue)}.form-create-steps .active b,.form-create-steps .complete b{background:var(--blue);color:#fff}.preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.preset-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);text-align:left;min-width:0;min-height:238px;box-shadow:var(--shadow-sm);cursor:pointer;flex-direction:column;align-items:stretch;gap:10px;padding:18px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex}.preset-card:hover{box-shadow:var(--shadow-md);border-color:#9fc5ea;transform:translateY(-2px)}.preset-card .inline-link{margin-top:auto}.preset-card-title{overflow-wrap:anywhere;font-size:1.05rem;font-weight:750;line-height:1.35}.preset-card-blank{background:var(--surface-soft);border-style:dashed}.form-library-section{border-bottom:1px solid var(--line);margin-bottom:8px;padding-bottom:24px}.preset-grid-library{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.preset-card-library{background:linear-gradient(145deg,#fff,#faf9fd);border-color:#d9d3eb;min-height:210px}.form-create-review{width:min(860px,100%);margin-inline:auto;padding:24px}.advanced-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft);overflow:hidden}.advanced-panel summary{color:var(--muted-strong);cursor:pointer;padding:13px 15px;font-size:.82rem;font-weight:700}.advanced-panel[open] summary{border-bottom:1px solid var(--line)}.advanced-panel>:not(summary){margin:0;padding:15px}.form-create-submit{justify-content:space-between;align-items:center;gap:18px;display:flex}.form-create-submit p{margin:0}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05182c80;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);width:min(760px,100%);max-height:calc(100dvh - 48px);padding:24px;overflow:auto;box-shadow:0 28px 80px #05182c47}.location-modal{gap:18px;display:grid}.modal-heading h2,.modal-heading p{margin-bottom:3px}.modal-actions{justify-content:flex-end;gap:9px;padding-top:4px;display:flex}.label-text{color:var(--muted-strong);font-size:.8rem;font-weight:700}.location-alias-list{min-height:28px}.location-card{min-width:0}.location-card-title{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:4px;display:-webkit-box;overflow:hidden}.location-card-address{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}@media (max-width:920px){.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1100px){.dataset-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.attachment-picker-options{grid-template-columns:repeat(2,minmax(0,1fr))}.form-summary-strip{grid-template-columns:1fr}.form-summary-strip>div{border-right:0;border-bottom:1px solid var(--line);min-height:58px}.form-summary-strip>div:last-child{border-bottom:0}.form-list-toolbar,.preset-grid{grid-template-columns:1fr}.segmented-control{width:100%}.segmented-control button{flex:1}.preset-card{min-height:205px}.form-create-submit{flex-direction:column;align-items:stretch}.form-create-submit .button{justify-content:center}.modal-backdrop{align-items:end;padding:12px}.modal-card{border-radius:18px;max-height:calc(100dvh - 24px);padding:18px}}.inline-link{color:var(--blue);align-items:center;gap:5px;font-size:12px;font-weight:650;display:inline-flex}.inline-link svg{width:14px;height:14px}.feedback{border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.feedback p{margin:2px 0 0;font-size:12px}.feedback-error{background:var(--surface-red);color:#9b2730;border:1px solid #f0c3c5}.feedback-success{background:var(--surface-green);color:var(--green)}.feedback-info,.banner{background:var(--surface-blue);color:var(--blue-dark);border:0;border-radius:12px;padding:14px 16px}.feedback-warning{background:var(--surface-amber);color:#9c4a00}.empty-state{text-align:center;align-content:center;place-items:center;min-height:280px;padding:32px;display:grid}.empty-state h2{margin:14px 0 6px}.empty-state p{max-width:440px;color:var(--muted)}.empty-icon{background:var(--surface-blue);width:52px;height:52px;color:var(--blue);border-radius:14px;place-items:center;display:grid}.empty-icon svg{width:24px;height:24px}.loading-list{gap:12px;display:grid}.skeleton-row{background:linear-gradient(90deg,#edf2f7 25%,#f7f9fc 50%,#edf2f7 75%) 0 0/200% 100%;border-radius:12px;min-height:70px;animation:1.4s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.progress-label{color:var(--muted);justify-content:space-between;margin-bottom:8px;font-size:12px;font-weight:600;display:flex}.progress-track{background:#e8edf3;border-radius:999px;height:6px;overflow:hidden}.progress-value{border-radius:inherit;background:var(--blue);height:100%}.step-layout{grid-template-rows:auto 1fr auto;gap:24px;max-width:760px;min-height:calc(100dvh - 180px);margin:0 auto;display:grid}.step-footer{padding:12px 0 max(4px, env(safe-area-inset-bottom));justify-content:space-between;gap:12px;display:flex}.step-footer .button{min-width:140px}.auth-page{background:var(--surface);grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);min-height:100dvh;display:grid}.auth-brand-panel{background:linear-gradient(145deg, var(--navy-deep), var(--navy) 65%, #0b5793);color:#fff;grid-template-rows:1fr auto;min-height:100dvh;padding:clamp(32px,6vw,72px);display:grid}.auth-story{align-self:center}.auth-brand-logo{background:#fff;border-radius:50%;width:clamp(132px,13vw,184px);margin-bottom:clamp(30px,4vw,48px);padding:8px;box-shadow:0 18px 44px #03192e4d}.auth-brand-panel h1{letter-spacing:-.05em;text-wrap:balance;max-width:560px;margin:0 0 18px;font-size:clamp(2.25rem,3.5vw,4.2rem)}.auth-slogan{max-width:720px;margin-bottom:22px}.auth-brand-panel p{color:#c7d9e9;max-width:520px;font-size:15px}.auth-form-panel{background:var(--canvas);place-items:center;padding:32px;display:grid;position:relative}.auth-product-name{color:var(--navy);letter-spacing:-.015em;font-size:14px;font-weight:760;position:absolute;top:clamp(28px,4.5vw,56px);right:clamp(28px,4.5vw,56px)}.auth-product-name:after{background:var(--brand-orange);content:"";vertical-align:2px;border-radius:50%;width:6px;height:6px;margin-left:8px;display:inline-block}.auth-card{width:min(100%,440px);padding:30px}.auth-card h1{margin-bottom:0}.auth-card .button{margin-top:4px}.auth-footnote{color:#9bb7d1;font-size:11px}.editor-layout{grid-template-columns:minmax(250px,280px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.editor-sidebar{gap:14px;display:grid;position:sticky;top:24px}.editor-sidebar .card{padding:16px}.editor-canvas{min-width:0}.editor-section{gap:14px;display:grid}.editor-section+.editor-section{margin-top:14px}.editor-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-toolbar-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.editor-field{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:12px;padding:16px;display:grid}.editor-option-row{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) repeat(4,auto);align-items:center;gap:8px;display:grid}.form-editor-page{gap:20px}.form-editor-page>.page-header{margin-bottom:4px}.form-editor-page .editor-canvas>.card{padding:16px}.form-editor-page .editor-canvas .card-soft.stack,.form-editor-page .editor-canvas .card-soft.stack-sm{gap:14px}.form-editor-page .editor-canvas .card-soft h3,.form-editor-page .editor-canvas .card-soft p{margin-bottom:0}.form-editor-page .editor-canvas .card-soft .form-grid{gap:14px 16px}.form-editor-page .editor-canvas textarea{min-height:96px}.form-editor-page .editor-canvas .choice{min-height:44px;padding-block:10px}.form-editor-page .editor-canvas .card-soft>.row-between{flex-wrap:wrap}.form-editor-page .editor-canvas .card-soft>.row-between:first-child>.row{flex-wrap:nowrap}.form-editor-page .editor-canvas .card-soft>.row-between:first-child>.row .button{width:36px;padding-inline:0}.form-editor-page .editor-canvas .card-soft>.row-between:has(>.button){border-top:1px solid var(--line);padding-top:14px}.form-editor-page .editor-canvas .editor-field{padding:14px 16px}.editor-field-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.editor-field-title h3{margin:0}.section-picker{gap:7px;display:grid}.section-picker button{width:100%;min-height:40px;color:var(--muted-strong);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;padding:9px 11px;display:flex}.section-picker button:hover,.section-picker button.active{background:var(--surface-blue);color:var(--blue-dark)}.app-main:has(.form-editor-page){max-width:1540px}.builder-layout{grid-template-columns:minmax(220px,250px) minmax(500px,1fr);gap:16px}.builder-layout.has-inspector{grid-template-columns:minmax(210px,230px) minmax(440px,1fr) minmax(340px,380px)}.builder-sidebar-card{gap:14px}.builder-version-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding-bottom:14px;display:grid}.builder-version-row .status-pill{margin-bottom:10px}.builder-quick-capture{min-height:40px;padding:8px 10px}.builder-outline{min-width:0}.builder-outline-heading{margin-bottom:9px}.builder-outline-heading h2,.builder-outline-heading p{margin:0}.builder-section-list,.builder-field-list{gap:5px;display:grid}.builder-outline-group{min-width:0}.builder-outline-row{border:1px solid #0000;border-radius:9px;align-items:center;gap:4px;min-width:0;transition:border-color .16s,background .16s,opacity .16s;display:flex;position:relative}.builder-outline-row:hover{background:var(--surface-soft)}.builder-outline-row.active{background:var(--surface-blue);border-color:#c8def2}.builder-outline-row.dragging,.builder-preview-field.dragging{opacity:.42}.builder-outline-row.drop-before:before,.builder-outline-row.drop-after:after{z-index:2;background:var(--blue);content:"";border-radius:2px;height:2px;position:absolute;left:4px;right:4px}.builder-outline-row.drop-before:before{top:-4px}.builder-outline-row.drop-after:after{bottom:-4px}.builder-drag-handle{color:#8aa0b7;cursor:grab;letter-spacing:-3px;-webkit-user-select:none;user-select:none;flex:none;padding-left:5px;font-size:15px}.builder-drag-handle:active,.builder-preview-drag-handle:active{cursor:grabbing}.builder-outline-button{cursor:pointer;text-align:left;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:7px;min-width:0;min-height:39px;padding:7px 9px 7px 5px;display:flex}.builder-outline-label{align-items:center;gap:8px;min-width:0;display:flex}.builder-outline-label>:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.builder-outline-index,.builder-field-index{width:22px;height:22px;color:var(--muted-strong);background:#e8eef5;border-radius:7px;flex:none;place-items:center;font-size:10px;font-weight:750;display:grid}.builder-outline-row.active .builder-outline-index,.builder-outline-row.active .builder-field-index{background:var(--blue);color:#fff}.builder-field-list{border-left:1px solid #d8e5f1;margin:5px 0 8px 19px;padding-left:9px}.builder-field-row .builder-outline-button{min-height:36px;font-size:12px}.builder-field-index{border-radius:6px;width:19px;height:19px}.builder-outline-empty{margin:4px 8px 6px}.builder-inline-create{background:#fbfdff;border:1px dashed #b9cee1;border-radius:11px;padding:13px}.builder-preview-panel{overflow:hidden;padding:0!important}.builder-canvas-toolbar{border-bottom:1px solid var(--line);background:#fbfcfe;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.builder-canvas-toolbar p,.builder-live-label{margin:0}.builder-live-dot{background:var(--green);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #04734a1a}.builder-field-create{margin:16px 18px 0}.builder-create-required{align-self:end}.builder-form-surface{background:var(--surface);width:min(100%,680px);min-height:520px;margin:0 auto;padding:clamp(24px,4vw,42px)}.builder-form-heading{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:18px}.builder-form-heading h2{margin-bottom:6px;font-size:1.45rem}.builder-form-heading p{margin:0}.builder-preview-fields{gap:12px;display:grid}.builder-preview-field{border:1px solid #0000;border-radius:13px;min-width:0;padding:38px 16px 16px;transition:border-color .16s,background .16s,box-shadow .16s,opacity .16s;position:relative}.builder-preview-field:hover{background:#fbfdff;border-color:#c9d9e8}.builder-preview-field.selected{background:#f4f9ff;border-color:#83b9e8;box-shadow:0 0 0 3px #0967be14}.builder-preview-field.conditionally-hidden{opacity:.58;border-style:dashed}.builder-preview-field.drop-before:before,.builder-preview-field.drop-after:after{z-index:3;background:var(--blue);content:"";border-radius:3px;height:3px;position:absolute;left:10px;right:10px}.builder-preview-field.drop-before:before{top:-7px}.builder-preview-field.drop-after:after{bottom:-7px}.builder-field-affordances{opacity:.55;align-items:center;gap:5px;transition:opacity .16s;display:flex;position:absolute;top:8px;right:9px}.builder-preview-field:hover .builder-field-affordances,.builder-preview-field.selected .builder-field-affordances{opacity:1}.builder-preview-drag-handle,.builder-preview-edit,.builder-settings-close{border:1px solid var(--line);background:var(--surface);min-width:30px;min-height:28px;color:var(--muted-strong);cursor:pointer;border-radius:8px;place-items:center;font-size:11px;font-weight:650;display:inline-grid}.builder-preview-drag-handle{cursor:grab;letter-spacing:-3px}.builder-hidden-label{color:var(--amber);margin-bottom:8px;font-size:10px;font-weight:700;display:inline-block}.builder-preview-empty{border:1px dashed var(--line-strong);min-height:280px;color:var(--muted);text-align:center;border-radius:14px;place-items:center;padding:24px;display:grid}.builder-preview-empty p{max-width:360px;margin:0}.builder-no-section{min-height:520px}.editor-inspector{gap:12px;min-width:0;max-height:calc(100dvh - 48px);display:grid;position:sticky;top:24px}.builder-settings-panel{max-height:calc(100dvh - 48px);box-shadow:var(--shadow-md);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;padding:0!important;display:grid!important}.builder-settings-header{border-bottom:1px solid var(--line);background:#fbfcfe;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px;display:flex}.builder-settings-header h2,.builder-settings-header h3,.builder-settings-header p{margin:0}.builder-settings-header h2,.builder-settings-header h3{font-size:1.18rem;line-height:1.3}.builder-settings-header .eyebrow{text-overflow:ellipsis;white-space:nowrap;max-width:290px;overflow:hidden}.builder-settings-close{min-width:32px;min-height:32px;font-size:20px;font-weight:400}.builder-settings-scroll{overscroll-behavior:contain;padding:18px;overflow-y:auto}.builder-settings-panel .form-grid,.builder-add-option .form-grid{grid-template-columns:1fr;gap:12px}.builder-settings-panel textarea{min-height:82px!important}.settings-accordion{border:1px solid var(--line);background:var(--surface);border-radius:11px}.settings-accordion>summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:11px 14px;font-weight:680;list-style:none;display:grid}.settings-accordion>summary:focus-visible{outline-offset:2px;outline:3px solid #0967be40}.settings-accordion>summary::-webkit-details-marker{display:none}.settings-accordion>summary:before{content:"+";color:var(--blue);grid-area:1/2/span 2;font-size:18px}.settings-accordion[open]>summary:before{content:"−"}.settings-accordion>summary>.caption{grid-column:1}.builder-question-summary{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-accordion-body{border-top:1px solid var(--line);background:var(--surface-soft);padding:14px}.builder-settings-disclosure-copy{color:var(--muted);margin:0}.builder-choice-grid{gap:8px;display:grid}.builder-choice-grid .choice{min-height:40px!important;padding-block:8px!important}.builder-settings-group{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:14px}.builder-settings-group-heading{justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:2px;display:flex}.builder-settings-group-heading h3,.builder-settings-group-heading p,.builder-rating-settings h3,.builder-rating-settings p,.builder-option-create h4{margin:0}.builder-settings-group-heading h3,.builder-rating-settings h3{font-size:14px}.builder-rating-settings{border-top:1px solid var(--line);padding-top:13px}.builder-rating-settings .row-between{align-items:flex-start;gap:10px}.builder-rating-presets{flex:none;gap:6px;display:flex}.builder-rating-presets .button{min-width:50px;padding-inline:9px}.builder-range-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:8px;display:grid}.builder-range-arrow{min-height:44px;color:var(--muted);place-items:center;font-size:18px;display:grid}.builder-rating-preview{background:#f5f9fd;border:1px solid #cfe0f0;border-radius:10px;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.builder-rating-preview>span{background:var(--surface);min-width:28px;height:28px;color:var(--blue-dark);border:1px solid #bfd4e7;border-radius:999px;place-items:center;font-size:12px;font-weight:700;display:grid}.builder-validation-error{background:var(--surface-red);color:var(--red);border-radius:9px;margin:0;padding:9px 11px;font-size:12px;font-weight:600}.builder-info-note,.builder-logic-explainer{background:var(--surface-blue);color:var(--muted-strong);border-radius:10px;gap:3px;padding:11px 12px;font-size:12px;line-height:1.5;display:grid}.builder-info-note strong,.builder-logic-explainer strong{color:var(--blue-dark);font-size:13px}.builder-rule-actions{justify-content:flex-end}.builder-rule-actions>span:empty{display:none}.builder-options-list{padding-top:2px}.builder-options-list h3{margin:0}.builder-settings-panel .editor-option-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.builder-settings-panel .editor-option-row .button{min-width:0;padding-inline:7px}.builder-options-empty{color:var(--muted);background:#fbfdff;border:1px dashed #b9cee1;border-radius:10px;padding:12px;font-size:12px;line-height:1.5}.builder-option-create{border-top:1px solid var(--line);padding-top:12px}.builder-option-create h4{font-size:13px}.builder-key-summary{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.builder-key-input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.builder-order-controls{justify-content:space-between;align-items:center;gap:10px;padding-top:4px;display:flex}.builder-order-controls .row{gap:6px}.builder-settings-actions{border-top:1px solid var(--line);background:#fbfcfe;gap:9px;padding:14px 18px;display:grid}.builder-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.builder-secondary-actions .button{width:100%}.builder-add-option{padding:14px}.builder-full-preview{width:min(100%,820px);margin:0 auto;padding:clamp(22px,4vw,42px)}.save-state{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:inline-flex}.save-state:before{background:var(--green);content:"";border-radius:50%;width:7px;height:7px}.chat-shell{grid-template-rows:auto 1fr auto;gap:16px;max-width:920px;min-height:calc(100dvh - 150px);margin:0 auto;display:grid}.chat-messages{align-content:start;gap:14px;display:grid}.chat-message{white-space:pre-wrap;border-radius:16px;max-width:min(82%,700px);padding:14px 16px}.chat-message.user{background:var(--blue);color:#fff;border-bottom-right-radius:4px;justify-self:end}.chat-message.assistant{border:1px solid var(--line);background:var(--surface);border-bottom-left-radius:4px;justify-self:start}.chat-compose{border:1px solid var(--line);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px;display:grid;position:sticky;bottom:16px}.chat-compose textarea{resize:none;min-height:44px;max-height:140px}.detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(250px,.65fr);align-items:start;gap:18px;display:grid}.account-settings-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:18px;display:grid}.account-settings-grid h2,.account-settings-grid p,.account-data-actions h2,.account-data-actions p{margin-bottom:0}.account-avatar-editor{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;align-items:center;gap:18px;padding:16px;display:flex}.account-avatar{background:var(--surface-blue);width:96px;height:96px;color:var(--blue-dark);box-shadow:inset 0 0 0 1px var(--line);border-radius:50%;flex:none;place-items:center;font-size:26px;font-weight:750;display:grid;overflow:hidden}.account-avatar-image{object-fit:cover;width:100%;height:100%}.account-avatar-actions{align-items:start;min-width:0}.account-file-button{width:fit-content;color:var(--ink);display:inline-flex}.account-file-name{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.success-text{color:var(--green);font-weight:650}.account-security-note>span,.feedback-warning>span,.reset-credential>span:first-child{gap:3px;display:grid}.account-security-note span span,.feedback-warning span span,.reset-credential span span{font-size:12px}.account-password-submit{width:fit-content;margin-top:4px}.account-password-date{border-top:1px solid var(--line);margin:0;padding-top:12px}.account-data-actions{justify-content:space-between;align-items:center;gap:20px;display:flex}.account-data-buttons{justify-content:flex-end}.password-admin-cell{justify-items:start}.password-reset-button{margin-top:2px}.reset-credential{align-items:center}.reset-credential-value{align-items:center;gap:8px;display:flex}.reset-credential code{color:var(--ink);-webkit-user-select:all;user-select:all;background:#fff;border:1px solid #04734a2e;border-radius:8px;padding:9px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.definition-list{gap:0;margin:0;display:grid}.definition-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(110px,.45fr) minmax(0,1fr);gap:16px;padding:11px 0;display:grid}.definition-row:last-child{border-bottom:0}.definition-row dt{color:var(--muted);font-size:11px;font-weight:650}.definition-row dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:12px}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.code-preview{color:#d9ebfb;background:#092c50;border-radius:12px;max-height:360px;margin:0;padding:16px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.selected-row{background:var(--surface-blue)!important}.update-banner{z-index:100;width:min(100% - 32px,360px);box-shadow:var(--shadow-md);position:fixed;top:16px;right:16px}.evidence{background:var(--surface-blue);border:1px solid #cbdfee;border-radius:10px;padding:10px 14px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.form-summary-strip{box-shadow:none;border-radius:14px}.form-summary-strip>div{min-height:68px;padding:13px 18px}.form-summary-strip strong{min-width:28px;font-size:1.35rem}.form-list-toolbar{gap:12px}.form-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:18px}.form-manage-card{grid-template-rows:auto minmax(54px,auto) auto auto auto;gap:16px;min-height:310px;padding:20px;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid;position:relative}.form-manage-card:hover,.form-manage-card:focus-within{z-index:20;border-color:#bdccda;transform:none;box-shadow:0 14px 40px #172d4614}.form-card-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;min-width:0;display:grid}.form-icon-tile,.card-section-icon{width:38px;height:38px;color:var(--blue-dark);background:#f1f6fb;border:1px solid #d8e5f0;border-radius:10px;flex:none;place-items:center;display:grid}.form-icon-tile svg,.card-section-icon svg{width:19px;height:19px}.form-card-heading-copy{min-width:0}.form-card-heading-copy h2{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 0;font-size:1.08rem;display:-webkit-box;overflow:hidden}.form-card-type{color:var(--blue);letter-spacing:.055em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:750;display:block;overflow:hidden}.form-status-group{gap:5px}.form-status-group .status-pill{min-height:23px;padding-inline:8px;font-size:10px}.form-card-copy{min-height:54px}.form-card-copy p{-webkit-line-clamp:2;margin:0;line-height:1.55}.form-card-meta{border-top:1px solid var(--line);align-items:center;gap:8px 14px;min-height:24px;padding-top:13px}.form-card-meta span{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.form-card-meta svg{width:14px;height:14px}.form-card-actions{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;display:grid;position:relative}.form-card-actions>.button,.form-card-actions .form-preview-control>.button{min-height:40px}.form-version-note{min-height:34px;margin:0;line-height:1.45}.form-preview-control,.action-menu{position:relative}.action-menu>summary{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--muted-strong);cursor:pointer;border-radius:9px;place-items:center;list-style:none;display:grid}.action-menu>summary::-webkit-details-marker{display:none}.action-menu>summary:hover,.action-menu[open]>summary{border-color:var(--line-strong);background:var(--surface-soft);color:var(--ink)}.action-menu>summary svg{width:19px;height:19px}.action-menu-panel{z-index:70;border:1px solid var(--line);background:var(--surface);width:min(290px,100vw - 36px);box-shadow:var(--shadow-md);border-radius:12px;gap:2px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.action-menu-panel button{width:100%;min-height:52px;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;display:grid}.action-menu-panel button:hover{background:var(--surface-soft)}.action-menu-panel button:disabled{opacity:.48;cursor:not-allowed}.action-menu-panel button>svg{width:18px;height:18px;color:var(--muted-strong)}.action-menu-panel button>span{gap:1px;display:grid}.action-menu-panel button strong{font-size:12px}.action-menu-panel button small{color:var(--muted);font-size:10px;line-height:1.35}.action-menu-panel button.danger,.action-menu-panel button.danger>svg{color:var(--red)}.form-preview-popover{z-index:80;border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;width:min(480px,100vw - 260px);max-height:min(620px,100dvh - 120px);display:grid;position:fixed;top:50%;left:calc(50% + 110px);overflow:auto;transform:translate(-50%,-50%);box-shadow:0 26px 70px #14263b30}.form-preview-heading{border-bottom:1px solid var(--line);background:var(--surface-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:18px;display:grid}.form-preview-heading h3,.form-preview-heading p,.form-preview-heading .eyebrow{margin-bottom:0}.form-preview-heading h3{margin-top:2px;font-size:1rem}.form-preview-heading p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:11px;display:-webkit-box;overflow:hidden}.form-preview-heading .icon-button{background:0 0;border:0;width:32px;height:32px}.form-preview-body{gap:14px;padding:18px;display:grid}.form-preview-section{gap:7px;display:grid}.form-preview-section-title{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding-bottom:5px;font-size:12px;display:flex}.form-preview-section-title>span{background:var(--surface-blue);width:20px;height:20px;color:var(--blue-dark);border-radius:6px;place-items:center;font-size:10px;font-weight:750;display:grid}.form-preview-question{background:var(--surface-soft);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 8px;font-size:11px;display:grid}.form-preview-question-icon{color:var(--green)}.form-preview-question-icon svg{width:14px;height:14px}.form-preview-question .status-pill{min-height:21px;padding-inline:7px;font-size:9px}.form-preview-more,.form-preview-error{margin:0}.form-preview-empty{border:1px dashed var(--line-strong);color:var(--muted);border-radius:10px;align-items:center;gap:9px;padding:14px;font-size:12px;display:flex}.form-preview-empty svg{width:18px;height:18px}.form-preview-footer{border-top:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;display:flex}.form-preview-footer .caption{white-space:nowrap}.card-section-heading{align-items:flex-start;gap:12px;display:flex}.card-section-heading h2,.card-section-heading .eyebrow{margin-bottom:0}.card-section-heading.compact{align-items:center;margin-bottom:8px}.card-section-heading.compact .card-section-icon{width:32px;height:32px}.field-answers-card>.stack-sm{padding-top:2px}.field-answers-card>.stack-sm+.stack-sm{border-top:1px solid var(--line);padding-top:16px}.field-answers-card .definition-row{grid-template-columns:minmax(150px,.65fr) minmax(0,1fr);padding:12px 0}.source-note-copy{color:#263548;margin:18px 2px 2px;font-size:14px;line-height:1.8}.record-raw-data>.code-preview{border-radius:0}.detail-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.72fr);gap:20px}.detail-grid>aside{position:sticky;top:24px}.ai-analysis-card{background:#fbfcfe;border-color:#cddbe8;gap:14px;display:grid}.ai-analysis-card.is-ready{background:#fbfafd;border-color:#d9d3ee}.ai-analysis-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;min-width:0;display:grid}.ai-analysis-heading h2,.ai-analysis-heading .eyebrow{margin-bottom:0}.ai-analysis-heading h2{margin-top:2px}.card-section-icon.ai-icon{background:var(--surface-violet);color:var(--violet);border-color:#ddd7ee}.ai-analysis-intro{margin:0;line-height:1.6}.ai-findings-list{gap:10px;display:grid}.ai-finding{background:#ffffffd1;border:1px solid #e1dcef;border-radius:10px;padding:11px 12px}.ai-finding>span{color:var(--violet);letter-spacing:.045em;text-transform:uppercase;font-size:10px;font-weight:750}.ai-finding p{margin:5px 0 0;font-size:12px;line-height:1.55}.ai-analysis-pending,.ai-analysis-note{background:var(--surface-blue);color:var(--muted-strong);border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.ai-analysis-pending p,.ai-analysis-note p{margin:0;font-size:12px;line-height:1.5}.ai-analysis-note svg{flex:none;width:18px;height:18px}.analysis-spinner{border:2px solid #bdd4e8;border-top-color:var(--blue);border-radius:50%;flex:none;width:17px;height:17px;animation:.8s linear infinite analysis-spin}@keyframes analysis-spin{to{transform:rotate(360deg)}}@media (max-width:1180px){.form-editor-page .builder-layout,.form-editor-page .builder-layout.has-inspector{grid-template-columns:minmax(210px,230px) minmax(0,1fr)}.form-editor-page .editor-inspector{grid-column:2;max-height:none;position:static}.form-editor-page .builder-settings-panel{max-height:none}.form-editor-page .editor-inspector .builder-settings-scroll{overflow:visible}.form-editor-page .editor-sidebar{position:static}}@media (max-width:1100px){.grid-4,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.content-aside{grid-template-columns:1fr}.editor-layout{grid-template-columns:minmax(230px,250px) minmax(0,1fr)}.editor-option-row{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-option-row .button{white-space:normal;min-width:0}.form-editor-page>.page-header{gap:14px;display:grid}.form-editor-page>.page-header .page-actions{justify-content:flex-start;width:100%}}@media (max-width:1000px){.detail-grid{grid-template-columns:1fr}.detail-grid>aside{position:static}}@media (max-width:899px){html{scroll-padding-top:76px}.app-sidebar{display:none}.app-content{margin-left:0}.mobile-app-header{z-index:35;min-height:68px;padding:max(10px, env(safe-area-inset-top)) 18px 10px;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.mobile-brand{align-items:center;gap:10px;display:flex}.mobile-brand .brand-mark{width:32px;height:32px;padding:2px}.mobile-brand-copy strong{font-size:14px;line-height:1.2;display:block}.mobile-brand-copy span{color:var(--muted);margin-top:2px;font-size:10px;line-height:1.2;display:block}.mobile-user{align-items:center;gap:8px;display:flex}.mobile-user .status-pill{text-overflow:ellipsis;max-width:116px;overflow:hidden}.app-main{max-width:none;padding:22px 20px calc(100px + env(safe-area-inset-bottom))}.bottom-nav{z-index:45;min-height:70px;padding:7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}.bottom-nav-link{min-width:0;color:var(--muted);align-content:center;place-items:center;gap:3px;font-size:10px;display:grid}.bottom-nav-link svg{width:20px;height:20px}.bottom-nav-link.active{color:var(--blue);font-weight:700}.page-header{min-height:0;margin-bottom:22px}.page-header p{font-size:12px}.page-actions{align-self:center}.list-row,.task-select-row-link{grid-template-columns:minmax(0,1fr) auto;gap:10px}.task-select-row-link>:nth-child(2),.task-select-row-link>:nth-child(3){display:none}.version-change-row{grid-template-columns:auto minmax(0,1fr)}.version-change-row>:last-child{grid-column:2}.list-row>:nth-child(2),.list-row>:nth-child(3){display:none}.step-layout{min-height:calc(100dvh - 190px)}.editor-layout,.detail-grid,.account-settings-grid,.people-groups-layout{grid-template-columns:1fr}.people-groups-list{position:static}.form-editor-page .builder-layout,.form-editor-page .builder-layout.has-inspector{grid-template-columns:1fr}.form-editor-page .editor-inspector{grid-column:auto}.editor-sidebar{position:static}}@media (max-width:680px){body{font-size:14px}h1{font-size:1.72rem}.app-main{padding-inline:18px}.page-header{gap:14px;display:grid}.page-actions{justify-content:stretch;width:100%}.page-actions .button{flex:1}.account-data-actions,.account-avatar-editor{flex-direction:column;align-items:flex-start}.account-data-buttons{justify-content:stretch;width:100%}.account-data-buttons .button{width:100%}.reset-credential-value{flex-wrap:wrap;width:100%}.grid-2,.grid-3,.grid-4,.form-grid,.dataset-filter-grid,.dataset-scope-options,.dataset-overview-grid{grid-template-columns:1fr}.selection-toolbar{flex-direction:column;align-items:stretch;position:static}.selection-toolbar .button{width:100%}.records-filter-card>.row{flex-direction:column;align-items:stretch!important}.field-full{grid-column:auto}.field-row{grid-template-columns:1fr}.row-between.mobile-stack{flex-direction:column;align-items:flex-start}.notification-row{grid-template-columns:1fr;gap:12px}.notification-meta{justify-content:space-between}.current-task-layout{grid-template-columns:1fr;gap:18px}.current-task-action{width:100%}.form-editor-page .editor-canvas .card-soft>.row-between:has(>.button){flex-direction:column;align-items:stretch}.form-editor-page .editor-canvas .card-soft>.row-between:has(>.button)>.row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.form-editor-page .editor-canvas .card-soft>.row-between:has(>.button) .button{width:100%}.builder-canvas-toolbar{flex-direction:column;align-items:flex-start}.builder-canvas-toolbar .button{width:100%}.builder-form-surface{min-height:460px;padding:24px 14px}.builder-preview-field{padding-inline:12px}.builder-settings-header,.builder-settings-scroll,.builder-settings-actions{padding-inline:13px}.builder-order-controls{flex-direction:column;align-items:flex-start}.card{padding:16px}.stat-card{min-height:102px}.step-footer{bottom:calc(62px + env(safe-area-inset-bottom));z-index:10;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f5f8fcf5;margin-inline:-18px;padding:12px 18px;position:sticky}.step-footer .button{flex:1;min-width:0}.feedback{flex-direction:column;align-items:flex-start}.auth-page{grid-template-columns:1fr}.auth-brand-panel{min-height:330px;padding:28px 24px 64px}.auth-story{align-self:start}.auth-brand-logo{width:104px;margin-bottom:26px;padding:5px}.auth-brand-panel h1{margin-top:0;font-size:2.15rem}.auth-slogan{margin-bottom:18px}.auth-slogan .brand-slogan-en{font-size:clamp(2.35rem,12vw,3.6rem)}.auth-slogan .brand-slogan-zh{font-size:1.35rem}.auth-brand-panel p{margin-bottom:0}.auth-footnote{display:none}.auth-form-panel{place-items:start center;gap:14px;padding:22px 18px 42px;display:grid}.auth-product-name{text-align:right;width:min(100%,440px);margin-top:-2px;position:static}.auth-card{box-shadow:var(--shadow-md);margin-top:0;padding:22px}.update-banner{top:max(12px, env(safe-area-inset-top));width:calc(100% - 24px);right:12px}.chat-message{max-width:92%}.chat-compose{bottom:calc(78px + env(safe-area-inset-bottom))}}@media (max-width:980px){.dataset-analysis-layout{grid-template-columns:1fr}.dataset-context-panel{position:static}.dataset-card-grid{grid-template-columns:1fr}.dataset-title-row{flex-direction:column;align-items:flex-start}}@media (max-width:680px){.dataset-flow-strip{flex-direction:column;align-items:stretch;gap:8px}.dataset-flow-strip>svg{margin-left:5px;transform:rotate(90deg)}.dataset-library-toolbar,.dataset-card-footer,.dataset-header-actions{flex-direction:column;align-items:stretch}.dataset-card-footer .button,.dataset-header-actions .button{width:100%}.dataset-card-metrics,.dataset-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.dataset-summary-bar>span:nth-child(2n){border-right:0}.dataset-summary-bar>span:nth-child(-n+2){border-bottom:1px solid var(--line)}.dataset-workspace-tabs{overflow-x:auto}.dataset-workspace-tabs button{white-space:nowrap;min-width:118px}.dataset-ai-panel{min-height:600px}.dataset-chat-messages{padding:18px 14px}.dataset-prompt-grid{grid-template-columns:1fr}.dataset-prompt-grid button{min-height:58px}.dataset-chat-message{max-width:94%}.dataset-report-panel{padding:24px 16px}.dataset-builder.modal-card{max-height:calc(100dvh - 24px);padding:20px 16px}}@media (max-width:899px){.detail-grid>aside{position:static}.form-manage-card:hover,.form-manage-card:focus-within{transform:none}}@media (max-width:680px){.form-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.form-summary-strip>div{border-right:1px solid var(--line);border-bottom:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;min-height:64px;padding:10px 12px}.form-summary-strip>div:last-child{border-right:0}.form-summary-strip strong{font-size:1.18rem}.form-summary-strip span{font-size:10px;line-height:1.2}.form-manage-card{min-height:0;padding:17px}.form-card-heading{grid-template-columns:auto minmax(0,1fr)}.form-status-group{grid-column:1/-1;justify-content:flex-start}.form-card-actions{grid-template-columns:minmax(0,1fr) auto auto}.form-card-actions .form-preview-control>.button{width:40px;padding-inline:0;font-size:0}.form-card-actions .form-preview-control>.button svg{width:18px;height:18px}.form-preview-popover{inset:auto 12px calc(82px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 110px - env(safe-area-inset-bottom));border-radius:18px;position:fixed;transform:none}.form-preview-footer{flex-direction:column;align-items:flex-start;gap:7px}.field-answers-card .definition-row{grid-template-columns:1fr;gap:6px}.source-note-copy{font-size:13px;line-height:1.72}.ai-analysis-heading{grid-template-columns:auto minmax(0,1fr)}.ai-analysis-heading>.status-pill{grid-column:2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.context-back-control{border:1px solid var(--line);width:fit-content;min-height:32px;color:var(--muted-strong);background:#ffffffb8;border-radius:9px;align-items:center;gap:7px;margin-bottom:10px;padding:5px 9px 5px 7px;font-size:11px;font-weight:700;transition:border-color .16s,color .16s,background .16s;display:inline-flex}.context-back-control:hover{background:var(--surface);color:var(--blue);border-color:#aec9df}.context-back-control svg{width:15px;height:15px}.form-quick-add{border:1px solid var(--line);background:#ffffffad;border-radius:13px;align-items:center;gap:16px;min-height:52px;padding:8px 10px 8px 14px;display:flex}.form-quick-add-label{border-right:1px solid var(--line);min-width:92px;color:var(--muted);gap:0;padding-right:13px;font-size:10px;display:grid}.form-quick-add-label .eyebrow{margin:0;font-size:9px}.form-quick-add-items{flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow-x:auto}.form-quick-add-items>button{background:var(--surface);max-width:230px;min-height:34px;color:var(--muted-strong);cursor:pointer;border:1px solid #d5e3ee;border-radius:9px;flex:none;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:650;display:inline-flex}.form-quick-add-items>button:hover{background:var(--surface-blue);color:var(--blue-dark);border-color:#a9cce9}.form-quick-add-items>button:disabled{cursor:wait;opacity:.5}.form-quick-add-items>button svg{flex:none;width:14px;height:14px}.form-quick-add-items>button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-quick-add-items>.form-quick-add-manage{color:var(--blue);border-style:dashed;margin-left:auto}.template-launch-backdrop{z-index:150}.template-launch-modal{gap:18px;width:min(980px,100%);padding:22px;display:grid}.template-launch-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.template-launch-heading h2,.template-launch-heading p{margin-bottom:4px}.template-launch-heading p{color:var(--muted);font-size:12px}.template-launch-search{width:100%}.template-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.template-choice-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-rows:1fr auto;min-width:0;min-height:238px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;overflow:hidden}.template-choice-card:hover,.template-choice-card:focus-within{box-shadow:var(--shadow-md);border-color:#a9cce9;transform:translateY(-1px)}.template-choice-main{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:11px;min-width:0;padding:16px;display:grid}.template-choice-main:disabled{cursor:wait;opacity:.55}.template-choice-icon{background:var(--surface-blue);width:35px;height:35px;color:var(--blue);border-radius:10px;place-items:center;display:grid}.template-choice-icon.library{background:var(--surface-violet);color:var(--violet)}.template-choice-icon svg{width:18px;height:18px}.template-choice-copy{gap:7px;min-width:0;display:grid}.template-choice-copy>strong{font-size:14px;line-height:1.35}.template-choice-copy>span:not(.template-choice-badges){color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.template-choice-copy>small{color:var(--muted);margin-top:auto;font-size:10px}.template-choice-badges{align-items:center;gap:7px;min-height:23px}.template-choice-badges .status-pill{padding:4px 7px;font-size:9px}.template-choice-arrow{width:15px;height:15px;color:var(--muted);margin-top:9px}.template-choice-actions{border-top:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.template-choice-actions button{min-height:28px;color:var(--muted-strong);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;padding:4px 7px;font-size:9px;font-weight:700;display:inline-flex}.template-choice-actions button:hover,.template-choice-actions button.active{background:var(--surface-blue);color:var(--blue)}.template-choice-actions button.danger:hover{background:var(--surface-red);color:var(--red)}.template-choice-actions svg{width:13px;height:13px}.template-choice-empty{min-height:230px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:7px;display:grid}.template-choice-empty svg{width:28px}.template-launch-footer{justify-content:space-between;align-items:center;gap:16px;padding-top:2px;display:flex}.records-filter-card{padding:0;overflow:visible}.records-filter-toggle{border-radius:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:54px;padding:9px 13px;display:grid}.records-filter-toggle:hover{background:#fbfdff}.records-filter-toggle-icon{background:var(--surface-blue);width:32px;height:32px;color:var(--blue);border-radius:9px;place-items:center;display:grid}.records-filter-toggle-icon svg{width:17px;height:17px}.records-filter-toggle-copy{gap:1px;display:grid}.records-filter-toggle-copy strong{font-size:12px}.records-filter-toggle-copy>span{color:var(--muted);font-size:10px}.records-filter-count{background:var(--surface-blue);color:var(--blue);border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}.records-filter-toggle-action{color:var(--blue);align-items:center;gap:7px;font-size:10px;font-weight:700;display:inline-flex}.records-filter-toggle-action>span{font-size:15px;transition:transform .16s}.records-filter-card.expanded .records-filter-toggle-action>span{transform:rotate(180deg)}.records-filter-content{border-top:1px solid var(--line);padding:16px}.records-filter-content h2{margin-bottom:2px;font-size:14px}.insight-detail-page{gap:18px}.insight-kpi-strip{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.insight-kpi-strip>div{border-right:1px solid var(--line);align-content:center;gap:3px;min-width:0;min-height:68px;padding:11px 16px;display:grid}.insight-kpi-strip>div:last-child{border-right:0}.insight-kpi-strip span{color:var(--muted);font-size:10px}.insight-kpi-strip strong{text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.insight-graph-grid{grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr);gap:16px;display:grid}.insight-graph-card{grid-template-rows:auto 1fr;gap:18px;min-width:0;min-height:360px;padding:18px;display:grid}.insight-graph-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.insight-graph-heading h2{margin:0;font-size:15px}.insight-chart-legend{color:var(--muted);flex-wrap:wrap;gap:9px;font-size:9px;display:flex}.insight-chart-legend span:before{content:"";background:#b8cad9;border-radius:2px;width:7px;height:7px;margin-right:4px;display:inline-block}.insight-chart-legend .submitted:before{background:#6da9d5}.insight-chart-legend .approved:before{background:#176fae}.insight-funnel-chart{align-content:center;gap:8px;display:grid}.insight-funnel-chart>button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(82px,.28fr) minmax(150px,1fr) 30px;align-items:center;gap:10px;min-width:0;padding:7px 8px;display:grid}.insight-funnel-chart>button:hover,.insight-funnel-chart>button.active{background:var(--surface-blue);border-color:#c6dceb}.insight-bar-label{color:var(--muted-strong);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;overflow:hidden}.insight-bar-tracks{gap:3px;display:grid}.insight-bar-tracks i{background:#b8cad9;border-radius:3px;min-width:2px;height:5px;display:block}.insight-bar-tracks i.submitted{background:#6da9d5}.insight-bar-tracks i.approved{background:#176fae}.insight-funnel-chart>button>strong{text-align:right;font-size:11px}.insight-completion-chart{justify-content:center;align-items:stretch;gap:8px;min-width:0;min-height:250px;padding-top:8px;display:flex;overflow-x:auto}.insight-completion-chart>button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-rows:24px 1fr 34px;gap:6px;width:min(72px,20%);min-width:54px;padding:0 5px 5px;display:grid}.insight-completion-chart>button:hover,.insight-completion-chart>button.active{background:var(--surface-blue);border-color:#c6dceb}.insight-column-value{color:var(--muted-strong);align-self:end;font-size:10px;font-weight:700}.insight-column-track{background:repeating-linear-gradient(0deg,#edf2f6 0 1px,#0000 1px 25%);border-radius:6px 6px 3px 3px;align-items:flex-end;min-height:150px;display:flex;position:relative;overflow:hidden}.insight-column-track i{background:linear-gradient(#53a4d8,#176fae);border-radius:5px 5px 2px 2px;width:100%;min-height:2px;display:block}.insight-column-label{color:var(--muted);text-overflow:ellipsis;font-size:9px;line-height:1.3;overflow:hidden}.insight-summary-layout{grid-template-columns:minmax(0,1fr) 350px;gap:16px;display:grid}.insight-summary-card,.insight-concern-card{padding:20px}.insight-summary-card h2,.insight-concern-card h2{margin-bottom:0}.insight-summary-lead{color:var(--muted-strong);margin:18px 0;font-size:13px;line-height:1.7}.insight-summary-points{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.insight-summary-points>div{background:var(--surface-soft);min-width:0;color:var(--muted);border-radius:10px;grid-template-columns:auto minmax(0,1fr);gap:8px;padding:10px;font-size:10px;line-height:1.5;display:grid}.insight-summary-points svg{width:15px;color:var(--blue)}.insight-summary-points strong{color:var(--ink);margin-bottom:2px;font-size:10px;display:block}.insight-origin-list{gap:9px;margin-top:18px;display:grid}.insight-origin-list button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:minmax(80px,1fr) minmax(70px,auto) 24px;align-items:center;gap:8px;padding:7px;font-size:9px;display:grid}.insight-origin-list button:hover,.insight-origin-list button.active{background:var(--surface-amber);border-color:#ecd9af}.insight-origin-list button>span{background:#edf1f4;border-radius:3px;height:6px;overflow:hidden}.insight-origin-list button i{border-radius:inherit;background:#d59a31;height:100%;display:block}.insight-origin-list strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.insight-origin-list b{text-align:right}.insight-ai-panel{padding:0;display:grid;overflow:hidden}.insight-ai-heading{border-bottom:1px solid var(--line);align-items:center;gap:11px;padding:16px 18px;display:flex}.insight-ai-heading h2,.insight-ai-heading p{margin:0}.insight-ai-heading h2{font-size:14px}.insight-ai-heading p{color:var(--muted);font-size:10px}.insight-ai-body{background:#fbfcfe;min-height:160px;max-height:430px;padding:18px;overflow-y:auto}.insight-ai-prompts{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.insight-ai-prompts button{border:1px solid var(--line);background:var(--surface);cursor:pointer;min-height:72px;color:var(--muted-strong);text-align:left;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px;font-size:10px;line-height:1.55;display:flex}.insight-ai-prompts button:hover{color:var(--blue);border-color:#a9cce9}.insight-ai-prompts svg{flex:none;width:14px}.insight-ai-messages{gap:12px;display:grid}.insight-ai-compose{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:12px 14px;display:grid}.insight-ai-compose textarea{resize:vertical;min-height:50px}.insight-records-panel{gap:14px;padding:18px;display:grid}.insight-records-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.insight-records-heading h2,.insight-records-heading p{margin-bottom:3px}.insight-records-heading p{color:var(--muted);font-size:11px}.insight-record-list{border:1px solid var(--line);border-radius:12px;display:grid;overflow:hidden}.insight-record-list>a{border-bottom:1px solid var(--line);background:var(--surface);content-visibility:auto;grid-template-columns:minmax(190px,1.25fr) minmax(140px,.8fr) minmax(150px,.8fr) 110px auto;align-items:center;gap:14px;min-width:0;min-height:62px;padding:10px 13px;transition:background .15s,color .15s;display:grid}.insight-record-list>a:last-child{border-bottom:0}.insight-record-list>a:hover{background:var(--surface-blue);color:var(--blue-dark)}.insight-record-id{align-items:center;gap:9px;min-width:0;display:flex}.insight-record-id>svg{width:18px;height:18px;color:var(--blue);flex:none}.insight-record-id>span,.insight-record-status,.insight-record-use{gap:2px;min-width:0;display:grid}.insight-record-id strong{color:var(--blue);font-size:11px}.insight-record-list small,.insight-record-list time{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.insight-record-status{justify-items:start}.insight-record-status .status-pill{min-height:22px;padding:4px 7px;font-size:9px}.insight-record-use strong{color:var(--muted-strong);font-size:9px}.insight-record-arrow{width:15px;height:15px;color:var(--muted)}.insight-record-list>a:hover .insight-record-arrow{color:var(--blue)}.insight-records-more{justify-self:center;width:fit-content}.insight-records-empty{border:1px dashed var(--line);min-height:90px;color:var(--muted);border-radius:12px;justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.insight-records-empty svg{width:18px}.insight-scope-shell{z-index:12;position:relative}.insight-scope-toggle{border:1px solid var(--line);background:var(--surface);width:100%;min-height:62px;color:var(--ink);cursor:pointer;text-align:left;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 13px;transition:border-color .16s,box-shadow .16s;display:grid;box-shadow:0 8px 24px #1633480a}.insight-scope-toggle:hover,.insight-scope-toggle:focus-visible,.insight-scope-shell.expanded .insight-scope-toggle{border-color:#a9cadf;box-shadow:0 12px 30px #164c7217}.insight-scope-toggle-icon{background:var(--surface-blue);width:38px;height:38px;color:var(--blue);border-radius:11px;place-items:center;display:grid}.insight-scope-toggle-icon svg{width:18px}.insight-scope-toggle-copy{gap:2px;min-width:0;display:grid}.insight-scope-toggle-copy strong{font-size:12px}.insight-scope-toggle-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.insight-scope-sample{color:var(--muted-strong);white-space:nowrap;background:#f0f4f7;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:700}.insight-scope-chevron{color:var(--muted);font-size:18px;line-height:1;transition:transform .16s}.insight-scope-shell.expanded .insight-scope-chevron{transform:rotate(180deg)}.insight-scope-popover{background:#fffffffb;border:1px solid #cddde8;border-radius:16px;grid-template-columns:.9fr 1.1fr 1.45fr;gap:14px;width:100%;padding:16px;animation:.16s ease-out scope-popover-in;display:grid;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 22px 60px #1633482e}@keyframes scope-popover-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.insight-scope-note{background:var(--surface-blue);color:var(--muted-strong);border-radius:10px;grid-column:1/-1;align-items:center;gap:9px;padding:9px 11px;display:flex}.insight-scope-note>span{width:26px;height:26px;color:var(--blue);background:#fff;border-radius:8px;flex:none;place-items:center;display:grid}.insight-scope-note svg{width:14px}.insight-scope-note p{margin:0;font-size:10px;line-height:1.5}.insight-scope-note strong{color:var(--ink);display:block}.insight-scope-fieldset{border:0;min-width:0;margin:0;padding:0}.insight-scope-fieldset legend{color:var(--ink);margin-bottom:8px;font-size:10px;font-weight:750}.insight-date-presets{flex-wrap:wrap;gap:5px;margin-bottom:8px;display:flex}.insight-date-presets button{border:1px solid var(--line);background:var(--surface);min-height:30px;color:var(--muted-strong);cursor:pointer;border-radius:8px;padding:4px 8px;font-size:9px}.insight-date-presets button:hover,.insight-date-presets button:focus-visible{color:var(--blue);border-color:#9ec8e4}.insight-date-inputs{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:5px;display:grid}.insight-date-inputs label{gap:4px;min-width:0;display:grid}.insight-date-inputs label span{color:var(--muted);font-size:8px}.insight-date-inputs input{width:100%;min-height:42px;padding:7px;font-size:9px}.insight-date-inputs>span{color:var(--muted);padding-bottom:11px}.insight-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.insight-option-grid>label{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:44px;padding:7px 8px;display:grid;position:relative}.insight-option-grid>label:hover,.insight-option-grid>label:focus-within,.insight-option-grid>label.selected{background:var(--surface-blue);border-color:#9fc9e5}.insight-option-grid input{opacity:0;width:1px;height:1px;position:absolute}.insight-option-grid label>span{color:#0000;background:#fff;border:1px solid #b7c5ce;border-radius:5px;place-items:center;width:17px;height:17px;display:grid}.insight-option-grid label.selected>span{border-color:var(--blue);background:var(--blue);color:#fff}.insight-option-grid svg{width:11px}.insight-option-grid strong{text-overflow:ellipsis;font-size:9px;font-weight:650;line-height:1.35;overflow:hidden}.insight-scope-actions{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;padding-top:10px;display:flex}.insight-scope-actions p{color:var(--muted);margin:0 auto 0 0;font-size:9px}.insight-scope-actions p[role=alert]{color:#9c4d28}.insight-viz-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:16px;display:grid}.insight-viz-card{grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:390px;padding:17px 17px 12px;display:grid}.insight-viz-card>header h2,.insight-viz-card>header p{margin:0}.insight-viz-card>header{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;display:flex}.insight-viz-card>header>div:first-child{min-width:0}.insight-viz-card>header h2{font-size:14px}.insight-viz-card>header p{color:var(--muted);margin-top:3px;font-size:9px;line-height:1.5}.insight-series-controls{border:0;min-width:0;margin:0;padding:0}.insight-series-controls legend{color:var(--muted);margin-bottom:4px;font-size:9px;font-weight:700}.insight-series-controls>div{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.insight-series-controls label,.insight-series-controls button{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--muted-strong);cursor:pointer;border-radius:9px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:680;display:inline-flex}.insight-series-controls label:hover,.insight-series-controls label:focus-within,.insight-series-controls label.focused,.insight-series-controls button:hover,.insight-series-controls button:focus-visible{background:var(--surface-blue);color:var(--blue-dark);border-color:#9dc6df}.insight-series-controls input{width:15px;height:15px;accent-color:var(--blue);margin:0}.insight-series-controls i{border-top-width:3px;width:18px}.insight-series-controls i.solid{border-top-style:solid}.insight-series-controls i.dashed{border-top-style:dashed}.insight-viz-canvas{min-width:0;min-height:300px}.insight-viz-canvas .recharts-text,.insight-viz-canvas .recharts-legend-item-text{fill:#667c8b;font-size:10px;color:#667c8b!important}.insight-viz-canvas .recharts-default-tooltip{background:#fff!important}.insight-viz-span-all{grid-column:1/-1;min-height:300px}.insight-viz-loading{background:linear-gradient(90deg,#f5f7f9 25%,#fbfcfd 37%,#f5f7f9 63%) 0 0/400% 100%;min-height:390px;animation:1.4s infinite skeleton-shimmer}.insight-viz-empty{text-align:center;place-content:center;min-height:220px;display:grid}.insight-viz-empty p{color:var(--muted)}.insight-donut-layout{align-items:center;height:100%;min-height:280px;display:flex}.insight-donut-legend{gap:10px;width:38%;margin:0;padding:0;list-style:none;display:grid}.insight-donut-legend li{color:var(--muted-strong);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;font-size:9px;display:grid}.insight-donut-legend i{border-radius:3px;width:8px;height:8px}.insight-donut-legend strong{color:var(--ink)}.insight-heatmap-card{overflow:hidden}.insight-heatmap{grid-template-columns:190px repeat(5,minmax(88px,1fr));gap:6px;min-width:780px;padding:8px 2px 2px;display:grid;overflow-x:auto}.insight-heatmap>strong{color:var(--muted);text-align:center;align-self:end;padding:0 4px 4px;font-size:8px;line-height:1.35}.insight-heatmap-row{display:contents}.insight-heatmap-row>strong{color:var(--muted-strong);align-self:center;padding-right:8px;font-size:9px;font-weight:650}.insight-heatmap-row>span{border:1px solid rgb(200 138 34/calc(.16 + var(--heat) * .48));background:rgb(200 138 34/calc(.07 + var(--heat) * .55));color:#684b18;border-radius:8px;place-items:center;min-height:42px;font-size:10px;font-weight:750;display:grid}.insight-source-focus-list{gap:6px;margin-top:14px;display:grid}.insight-source-focus-list button{border:1px solid var(--line);background:var(--surface);min-height:48px;color:var(--ink);cursor:pointer;text-align:left;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.insight-source-focus-list button:hover,.insight-source-focus-list button:focus-visible,.insight-source-focus-list button.active{background:var(--surface-blue);border-color:#a8cce3}.insight-source-focus-list button>span{gap:2px;min-width:0;display:grid}.insight-source-focus-list strong{font-size:11px}.insight-source-focus-list small{color:var(--muted);font-size:10px}.insight-source-focus-list b{color:var(--blue);font-variant-numeric:tabular-nums;font-size:11px}@media (prefers-reduced-motion:reduce){.insight-scope-popover,.insight-viz-loading{animation:none}}@media (max-width:1050px){.template-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-graph-grid,.insight-summary-layout,.insight-viz-grid{grid-template-columns:1fr}.insight-viz-span-all{grid-column:auto}.insight-scope-popover{grid-template-columns:1fr 1fr}.insight-scope-fieldset:last-of-type{grid-column:1/-1}}@media (max-width:680px){.context-back-control{margin-bottom:6px}.form-quick-add{flex-direction:column;align-items:stretch;gap:7px}.form-quick-add-label{border:0;align-items:center;gap:8px;padding:0;display:flex}.form-quick-add-items>button{max-width:190px}.template-launch-backdrop{align-items:end;padding:0}.template-launch-modal{width:100%;max-height:88dvh;padding:18px 14px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.template-choice-grid{grid-template-columns:1fr}.template-choice-card{min-height:0}.template-launch-footer{flex-direction:column;align-items:stretch}.template-launch-footer .button{width:100%}.records-filter-toggle{grid-template-columns:auto minmax(0,1fr) auto}.records-filter-count{display:none}.records-filter-toggle-action{font-size:0}.records-filter-toggle-action>span{font-size:16px}.insight-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-kpi-strip>div:nth-child(2){border-right:0}.insight-kpi-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.insight-scope-toggle{grid-template-columns:auto minmax(0,1fr) auto}.insight-scope-sample{display:none}.insight-scope-popover{grid-template-columns:1fr;padding:13px;position:relative;top:6px;box-shadow:0 12px 30px #1633481f}.insight-scope-fieldset:last-of-type,.insight-scope-actions,.insight-scope-note{grid-column:auto}.insight-option-grid{grid-template-columns:1fr}.insight-date-presets button{min-height:44px}.insight-date-inputs{grid-template-columns:1fr}.insight-date-inputs>span{display:none}.insight-scope-actions{flex-wrap:wrap;align-items:stretch}.insight-scope-actions p{width:100%}.insight-scope-actions .button{flex:1}.insight-viz-card{min-height:360px;padding:14px 10px 10px}.insight-viz-card>header{flex-direction:column}.insight-series-controls,.insight-series-controls>div{justify-content:flex-start;width:100%}.insight-viz-canvas{min-height:280px;overflow-x:auto}.insight-donut-layout{min-width:430px}.insight-heatmap{min-width:760px}.insight-graph-card{min-height:320px;padding:14px}.insight-graph-heading{flex-direction:column}.insight-funnel-chart>button{grid-template-columns:72px minmax(120px,1fr) 26px;padding-inline:4px}.insight-summary-points,.insight-ai-prompts{grid-template-columns:1fr}.insight-records-heading{flex-direction:column;align-items:stretch}.insight-records-heading .button{width:100%}.insight-record-list>a{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px}.insight-record-id{grid-column:1}.insight-record-status{grid-area:2/1}.insight-record-use,.insight-record-list time{display:none}.insight-record-arrow{grid-area:1/2/span 2}.insight-ai-prompts button{min-height:54px}.insight-ai-compose{grid-template-columns:1fr}.insight-ai-compose .button{width:100%}}
