:root{--accent: 218 90% 62%;--accent-text: 218 90% 40%;--background: 0 0% 97%;--foreground: 0 0% 8%;--panel: 0 0% 100%;--surface: 0 0% 96%;--elevated: 0 0% 92%;--border: 0 0% 86%;--ring: var(--accent);--primary: var(--accent);--primary-foreground: 0 0% 100%;--muted: 0 0% 94%;--muted-foreground: 0 0% 40%;--destructive: 0 65% 45%;--destructive-foreground: 0 0% 100%;--healthy: 145 62% 38%;--absent: 30 82% 40%;--starting: 38 92% 45%;--h-string: 217 90% 56%;--h-number: 172 60% 40%;--h-date: 38 90% 42%;--h-checkbox: 172 60% 40%;--h-signature: 345 80% 58%;--t-string: 217 90% 45%;--t-number: 172 60% 35%;--t-date: 38 90% 36%;--t-checkbox: 172 60% 35%;--t-signature: 345 80% 48%;--json-key: 217 92% 34%;--json-string: 152 78% 24%;--json-number: 26 95% 31%;--json-literal: 282 72% 38%;--radius: .5rem;--font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--font-display: "Bricolage Grotesque", var(--font-sans)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--accent: 218 90% 66%;--accent-text: 218 92% 78%;--background: 0 0% 9%;--foreground: 0 0% 95%;--panel: 0 0% 7%;--surface: 0 0% 4%;--elevated: 0 0% 17%;--border: 0 0% 24%;--muted: 0 0% 16%;--muted-foreground: 0 0% 60%;--primary-foreground: 0 0% 7%;--destructive: 0 70% 67%;--destructive-foreground: 0 0% 7%;--healthy: 145 58% 52%;--starting: 41 90% 62%;--absent: 33 88% 66%;--t-string: 217 92% 76%;--t-number: 171 68% 73%;--t-date: 41 85% 83%;--t-checkbox: 171 68% 73%;--t-signature: 350 65% 78%;--json-key: 213 96% 74%;--json-string: 150 68% 62%;--json-number: 30 96% 68%;--json-literal: 285 88% 79%}}[data-theme=dark]{--accent: 218 90% 66%;--accent-text: 218 92% 78%;--background: 0 0% 9%;--foreground: 0 0% 95%;--panel: 0 0% 7%;--surface: 0 0% 4%;--elevated: 0 0% 17%;--border: 0 0% 24%;--muted: 0 0% 16%;--muted-foreground: 0 0% 60%;--primary-foreground: 0 0% 7%;--destructive: 0 70% 67%;--destructive-foreground: 0 0% 7%;--healthy: 145 58% 52%;--starting: 41 90% 62%;--absent: 33 88% 66%;--t-string: 217 92% 76%;--t-number: 171 68% 73%;--t-date: 41 85% 83%;--t-checkbox: 171 68% 73%;--t-signature: 350 65% 78%;--json-key: 213 96% 74%;--json-string: 150 68% 62%;--json-number: 30 96% 68%;--json-literal: 285 88% 79%}*,*:before,*:after{box-sizing:border-box;border-color:hsl(var(--border))}*{margin:0}html,body,#root{height:100%}body{background:hsl(var(--background));color:hsl(var(--foreground));font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:"cv11","cv01","cv02"}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:none;padding:0}:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px}*{scrollbar-width:thin;scrollbar-color:hsl(var(--border)) transparent}*::-webkit-scrollbar{width:4px;height:4px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:99px}*::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .4)}.app{display:flex;flex-direction:column;height:100%;min-height:0}.topbar{display:flex;align-items:center;gap:12px;height:48px;padding:0 16px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--panel));flex-shrink:0}.state-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0;background:hsl(var(--muted-foreground) / .5);box-shadow:0 0 0 3px hsl(var(--muted-foreground) / .12)}.state-dot.up{background:hsl(var(--healthy));box-shadow:0 0 0 3px hsl(var(--healthy) / .16)}.state-dot.down{background:hsl(var(--starting));box-shadow:0 0 0 3px hsl(var(--starting) / .16)}.model-name{font-size:12px;font-weight:500;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1;color:hsl(var(--foreground))}.model-menu-root{position:relative}.model-trigger{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 8px 0 10px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--elevated));cursor:pointer;transition:all .15s}.model-trigger:hover{background:hsl(var(--muted))}.model-trigger.open{border-color:hsl(var(--primary) / .4);background:hsl(var(--primary) / .05)}.model-trigger:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.model-trigger-icon{color:hsl(var(--muted-foreground));flex-shrink:0}.model-caret{color:hsl(var(--muted-foreground));flex-shrink:0;transition:transform .15s}.model-caret.open{transform:rotate(180deg)}.model-tag{padding:2px 5px;border:1px solid hsl(var(--border));border-radius:4px;background:hsl(var(--surface));color:hsl(var(--muted-foreground));font-family:var(--font-mono);font-size:9px;font-weight:700;line-height:1;letter-spacing:.04em;text-transform:uppercase;flex-shrink:0}.model-tag.accent{border-color:hsl(var(--primary) / .2);background:hsl(var(--primary) / .1);color:hsl(var(--primary));font-family:var(--font-sans)}.model-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:300px;overflow:hidden;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--panel));box-shadow:0 16px 40px #0000003d}.model-menu-label{padding:8px 12px;border-bottom:1px solid hsl(var(--border));font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:hsl(var(--muted-foreground))}.model-rows{padding:6px}.model-row{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border:1px solid transparent;border-radius:8px}.model-row.on{border-color:hsl(var(--primary) / .2);background:hsl(var(--primary) / .08)}.model-tile{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-top:2px;border-radius:8px;background:hsl(var(--primary) / .15);color:hsl(var(--primary));flex-shrink:0}.model-row-main{min-width:0;flex:1}.model-row-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.model-row-name{font-size:12px;font-weight:600;color:hsl(var(--foreground))}.model-row-note{margin-top:2px;font-size:11px;line-height:1.5;color:hsl(var(--muted-foreground))}.model-check{margin-top:4px;color:hsl(var(--primary));flex-shrink:0}.model-menu-foot{padding:8px 12px;border-top:1px solid hsl(var(--border));background:hsl(var(--muted) / .3);font-size:10px;line-height:1.5;color:hsl(var(--muted-foreground))}.workspace{display:flex;flex:1;min-height:0}.rail{display:flex;flex-direction:column;gap:2px;width:max-content;min-width:168px;max-width:240px;flex-shrink:0;padding:8px;border-right:1px solid hsl(var(--border));background:hsl(var(--panel));overflow:hidden}.rail-head{display:flex;justify-content:flex-end;margin-bottom:2px}.rail-collapse-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;color:hsl(var(--muted-foreground));transition:background-color .15s,color .15s}.rail-collapse-toggle:hover{background:hsl(var(--elevated));color:hsl(var(--foreground))}.rail-collapse-toggle:hover .rail-icon{color:hsl(var(--primary))}.rail-items{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:auto}.rail-item{display:flex;align-items:center;gap:8px;height:28px;padding:0 8px;border-radius:6px;color:hsl(var(--muted-foreground));font-size:12px;text-decoration:none;white-space:nowrap;transition:background-color .15s,color .15s}.rail-item:hover{background:hsl(var(--elevated));color:hsl(var(--foreground))}.rail-icon{flex-shrink:0;color:hsl(var(--muted-foreground) / .75)}.rail-item:hover .rail-icon{color:hsl(var(--primary))}.rail-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.rail-theme{margin-top:auto}.rail-trust{display:flex;gap:8px;margin-top:8px;padding:8px;border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:10px;line-height:1.45}.rail-trust .rail-icon{margin-top:1px}.rail-trust-lines{display:flex;flex-direction:column;min-width:0}.rail-trust strong{font-weight:500;color:hsl(var(--foreground) / .8)}@media(min-width:861px){.rail.collapsed{width:44px;min-width:44px;max-width:44px}.rail.collapsed .rail-label,.rail.collapsed .rail-trust{display:none}.rail.collapsed .rail-item{justify-content:center;padding:0}.rail.collapsed .rail-head{justify-content:center}}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit;flex-shrink:0;border-radius:calc(var(--radius) - 2px)}.brand:hover .wordmark{color:hsl(var(--primary))}.brand:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.brand-mark{height:18px;width:auto;display:block}.wordmark{display:inline-flex;align-items:baseline;gap:6px;font-family:var(--font-display);font-weight:700;font-size:14px;letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wordmark-sub{font-family:var(--font-sans);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:hsl(var(--muted-foreground))}.header-right{margin-left:auto;display:flex;align-items:center;gap:8px;flex-shrink:0}.panes{display:flex;flex:1;min-height:0;min-width:0}.pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:hsl(var(--panel))}.pane-left{flex:1 1 56%;border-right:1px solid hsl(var(--border));background:hsl(var(--background))}.pane-right{flex:1 1 44%}.pane-head{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-bottom:1px solid hsl(var(--border));flex-shrink:0;background:hsl(var(--panel))}.pane-head .small{white-space:nowrap}.doc-toolbar{gap:2px}.toolbar-readout{min-width:44px;padding:0 4px;font-size:11px;text-align:center;color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums}button.toolbar-readout:hover{color:hsl(var(--foreground))}.toolbar-sep{width:1px;height:16px;margin:0 6px;background:hsl(var(--border));flex-shrink:0}.doc-toolbar .btn{margin-left:8px}.tabs{display:flex;align-items:center;gap:2px}.tab{height:28px;padding:0 10px;border-radius:6px;font-size:12px;font-weight:500;color:hsl(var(--muted-foreground));transition:background-color .15s,color .15s}.tab:hover:not(:disabled){color:hsl(var(--foreground))}.tab.on{background:hsl(var(--primary) / .12);color:hsl(var(--primary));font-weight:600}.tab:disabled{opacity:.4;cursor:default}.segmented{display:flex;align-items:center;padding:2px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--surface))}.segmented button{display:flex;align-items:center;justify-content:center;line-height:1;height:22px;padding:0 10px;border-radius:4px;font-size:11px;font-weight:500;color:hsl(var(--muted-foreground));transition:background-color .15s,color .15s}.segmented button:hover:not(.on):not(:disabled){color:hsl(var(--foreground))}.segmented button.on{background:hsl(var(--panel));color:hsl(var(--foreground));box-shadow:0 1px 2px #00000014}.segmented button:disabled{opacity:.5;cursor:default}.switch{position:relative;display:flex;align-items:center;gap:7px;flex-shrink:0;line-height:1;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:hsl(var(--muted-foreground));cursor:pointer;-webkit-user-select:none;user-select:none}.switch.on{color:hsl(var(--primary))}.switch-track{display:flex;align-items:center;flex-shrink:0;width:26px;height:16px;padding:0 2px;border:1px solid hsl(var(--border));border-radius:999px;background:hsl(var(--surface));transition:background-color .15s,border-color .15s}.switch-knob{display:block;width:10px;height:10px;border-radius:50%;background:hsl(var(--muted-foreground));transition:transform .18s cubic-bezier(.4,0,.2,1),background-color .15s}.switch:hover .switch-track{border-color:hsl(var(--primary) / .5)}.switch.on .switch-track{border-color:hsl(var(--primary) / .5);background:hsl(var(--primary) / .18)}.switch.on .switch-knob{transform:translate(10px);background:hsl(var(--primary))}.switch input:focus-visible+.switch-track{outline:2px solid hsl(var(--ring));outline-offset:1px}.switch:has(input:disabled){opacity:.5;cursor:default}.pane-summary{display:flex;align-items:center;gap:8px;height:28px;padding:0 12px;border-bottom:1px solid hsl(var(--border));flex-shrink:0;font-size:11px;color:hsl(var(--muted-foreground));overflow:hidden;white-space:nowrap}.json-block{position:relative}.json-copy{position:absolute;top:6px;right:6px;border:1px solid hsl(var(--border));background:hsl(var(--surface))}.json-copy:hover{background:hsl(var(--elevated))}.json-copy.done,.json-copy.done:hover{border-color:hsl(var(--accent) / .45);color:hsl(var(--accent-text))}.json-view{margin:0;padding:12px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--surface));font-family:var(--font-mono);font-size:12px;line-height:1.6;white-space:pre;overflow-x:auto;color:hsl(var(--muted-foreground))}.json-key{color:hsl(var(--json-key))}.json-string{color:hsl(var(--json-string))}.json-number{color:hsl(var(--json-number))}.json-literal{color:hsl(var(--json-literal))}.pane-strip{display:grid;grid-template-columns:auto 1fr;align-items:center;--strip-bar: 6px;--strip-bar-air: 4px;height:calc(54px + var(--strip-bar-air));padding:0 12px var(--strip-bar-air);border-bottom:1px solid hsl(var(--border));flex-shrink:0;background:inherit;overflow:visible}.strip-from{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:hsl(var(--muted-foreground))}.strip-from .mono{color:hsl(var(--foreground))}.strip-chips{grid-column:2;justify-self:center;max-width:100%;display:grid;grid-template-rows:28px;grid-auto-flow:column;grid-auto-columns:max-content;align-content:center;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:auto;scrollbar-color:auto;padding:7px 12px;margin:-7px 0}.strip-chips::-webkit-scrollbar{height:var(--strip-bar)}.strip-chips::-webkit-scrollbar-track{background:hsl(var(--foreground) / .05);border-radius:99px}.strip-chips::-webkit-scrollbar-thumb{background:hsl(var(--muted-foreground) / .35);border-radius:99px}.strip-chips::-webkit-scrollbar-thumb:hover{background:hsl(var(--muted-foreground) / .55)}.strip-chip{display:flex;flex-direction:column;justify-content:center;height:28px;padding:0 12px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--surface));color:hsl(var(--foreground));font:inherit;text-align:left;white-space:nowrap;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}.strip-chip-name{font-size:12px;font-weight:600;line-height:1}.strip-chip:hover:not(:disabled){border-color:hsl(var(--primary) / .4);color:hsl(var(--primary));background:hsl(var(--primary) / .05)}.strip-chip.on{background:hsl(var(--primary) / .12);border-color:hsl(var(--primary) / .3);color:hsl(var(--primary));box-shadow:inset 2px 0 hsl(var(--primary) / .5)}.strip-chip:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px}.strip-chip:disabled{opacity:.45;cursor:default}.strip-own{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;padding-right:20px}.strip-own:after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1px;height:40px;background:linear-gradient(to bottom,transparent,hsl(var(--border)) 30%,hsl(var(--border)) 70%,transparent)}.strip-chip.own{align-items:center;height:40px;font-size:12px;font-weight:600;color:hsl(var(--muted-foreground))}.strip-chip.own.on{color:hsl(var(--primary))}.pane-body{flex:1;min-height:0;overflow:auto;padding:8px}.pane-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-top:1px solid hsl(var(--border));flex-shrink:0;font-size:11px;color:hsl(var(--muted-foreground))}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:28px;padding:0 12px;border-radius:6px;font-size:12px;font-weight:500;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s;-webkit-user-select:none;user-select:none}.btn:disabled{pointer-events:none;opacity:.4}.btn-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:600}.btn-primary:hover{background:hsl(var(--primary) / .9)}.btn-ghost{color:hsl(var(--muted-foreground))}.btn-ghost:hover{background:hsl(var(--elevated));color:hsl(var(--foreground))}.btn-outline{border:1px solid hsl(var(--border))}.btn-outline:hover{background:hsl(var(--elevated))}@keyframes next-pulse{0%,to{box-shadow:0 0 0 3px hsl(var(--primary) / .22)}50%{box-shadow:0 0 0 7px hsl(var(--primary) / .06)}}.is-next:not(:disabled){animation:next-pulse 2.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.is-next:not(:disabled){animation:none!important;box-shadow:0 0 0 3px hsl(var(--primary) / .22)}}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border-radius:6px;color:hsl(var(--muted-foreground) / .6)}.btn-icon:hover{background:hsl(var(--elevated));color:hsl(var(--foreground))}.btn-icon.danger:hover{color:hsl(var(--destructive))}.btn-icon:disabled{opacity:.4}.btn-icon:disabled:hover{background:none;color:hsl(var(--muted-foreground) / .6)}.btn-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:auto;padding:8px 12px;border:1px dashed hsl(var(--primary) / .3);border-radius:var(--radius);background:hsl(var(--primary) / .08);color:hsl(var(--primary));font-size:12px;font-weight:600;transition:background-color .15s,border-color .15s}.btn-add:hover{background:hsl(var(--primary) / .14);border-color:hsl(var(--primary) / .5)}.select{height:28px;padding:0 6px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--surface));font-size:12px}.select:focus{outline:none;border-color:hsl(var(--primary))}.name-input{flex:1;min-width:0;height:28px;padding:0 6px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:14px}.name-input::placeholder{color:hsl(var(--muted-foreground) / .7)}.name-input:hover{border-color:hsl(var(--border))}.name-input:focus{outline:none;border-color:hsl(var(--primary));background:hsl(var(--surface))}.name-input.group-name{font-weight:600}.name-input.invalid{border-color:hsl(var(--destructive) / .6)}.chip{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius);font-size:11px;font-weight:700;-webkit-user-select:none;user-select:none;flex-shrink:0}.chip.t-string{background:hsl(var(--h-string) / .1);color:hsl(var(--t-string))}.chip.t-int,.chip.t-float{background:hsl(var(--h-number) / .1);color:hsl(var(--t-number))}.chip.t-date{background:hsl(var(--h-date) / .12);color:hsl(var(--t-date))}.chip.t-checkbox{background:hsl(var(--h-checkbox) / .1);color:hsl(var(--t-checkbox))}.chip.t-signature{background:hsl(var(--h-signature) / .1);color:hsl(var(--t-signature))}.chip.group{background:hsl(var(--accent) / .12);color:hsl(var(--accent-text))}.chip.group.single{background:hsl(var(--muted-foreground) / .12);color:hsl(var(--muted-foreground))}.chip-spacer{width:28px;flex-shrink:0}.cards{display:flex;flex-direction:column;gap:6px}.card{border:1px solid hsl(var(--border));border-top:2px solid hsl(var(--accent) / .6);border-radius:12px;background:hsl(var(--accent) / .02);overflow:hidden;box-shadow:0 1px 2px #0000000d;transition:border-color .2s}.card:hover{border-color:hsl(var(--accent) / .3);border-top-color:hsl(var(--accent) / .6)}.card-head{display:flex;align-items:center;gap:8px;padding:8px 12px;background:hsl(var(--accent) / .04)}.card-rows>*+*{border-top:1px solid hsl(var(--border))}.row{display:flex;align-items:center;gap:8px;padding:6px 12px;transition:background-color .15s}.row:hover{background:hsl(var(--surface) / .7)}.row-slot{width:20px;flex-shrink:0}.row .on-hover{opacity:0;transition:opacity .15s}.row:hover .on-hover,.row:focus-within .on-hover{opacity:1}.drag-handle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;border-radius:4px;color:hsl(var(--muted-foreground) / .4);cursor:grab;transition:color .15s}.drag-handle:hover{color:hsl(var(--muted-foreground))}.drag-handle:active{cursor:grabbing}.drag-handle:disabled{opacity:.4;cursor:default}.dragging{opacity:.5}.card.dragging{box-shadow:0 4px 12px #0000001f}.row.dragging{background:hsl(var(--elevated))}.drop-slot{--slot-h: 52px;flex-shrink:0;height:var(--slot-h);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px dashed hsl(var(--primary) / .3);border-radius:var(--radius);background:hsl(var(--primary) / .08);color:hsl(var(--primary));font-size:12px;font-weight:600;animation:drop-slot-open .16s cubic-bezier(.2,.8,.2,1)}@keyframes drop-slot-open{0%{height:0;opacity:0}to{height:var(--slot-h);opacity:1}}.card-rows>.drop-slot{--slot-h: 34px;border-top-style:dashed;border-top-color:hsl(var(--primary) / .3);font-size:11px;margin:3px 12px}.add-field{display:flex;align-items:center;gap:8px;padding:6px 16px;font-size:12px;font-weight:500;color:hsl(var(--accent-text))}.add-field:hover{text-decoration:underline}.result-row{display:flex;align-items:flex-start;gap:8px;padding:6px 12px;transition:background-color .15s}.result-row:hover{background:hsl(var(--elevated) / .3)}.result-label{display:block;font-size:12px;font-weight:500;margin-bottom:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-value{font-size:14px;color:hsl(var(--foreground) / .85);overflow-wrap:anywhere}.result-value.missing{color:hsl(var(--muted-foreground) / .65);font-style:italic;font-size:12px}.result-flag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid;border-radius:6px;font-size:10px;font-weight:600}.result-flag.on{border-color:hsl(var(--healthy) / .25);background:hsl(var(--healthy) / .1);color:hsl(var(--healthy))}.result-flag.off{border-color:hsl(var(--absent) / .3);background:hsl(var(--absent) / .12);color:hsl(var(--absent))}.result-list{display:flex;flex-direction:column;gap:2px;margin-top:2px}.result-group-name{font-size:14px;font-weight:600}.card-table{padding:8px 12px 12px}.table-wrap{overflow-x:auto;margin-top:4px;border:1px solid hsl(var(--border));border-radius:6px}table{border-collapse:collapse;width:100%;min-width:max-content;font-size:12px}th{text-align:left;padding:5px 8px;font-weight:500;color:hsl(var(--muted-foreground));border-bottom:1px solid hsl(var(--border));white-space:nowrap}td{padding:5px 8px;font-family:var(--font-mono);color:hsl(var(--foreground) / .85);white-space:nowrap}tbody tr:nth-child(2n){background:hsl(var(--elevated) / .3)}td.missing{color:hsl(var(--muted-foreground) / .5)}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;min-height:max(260px,100%);padding:40px 32px;border:2px dashed hsl(var(--border));border-radius:16px;background:hsl(var(--surface) / .5);text-align:center;cursor:pointer;transition:all .15s}.dropzone.over{border-color:hsl(var(--primary));background:hsl(var(--primary) / .08);box-shadow:0 0 0 1px hsl(var(--primary) / .3),0 0 16px hsl(var(--primary) / .12)}.drop-pick{display:flex;flex-direction:column;align-items:center;gap:16px;padding:0;border:0;background:none;color:inherit;cursor:pointer}.drop-pick:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:6px;border-radius:8px}.drop-title{display:block;font-size:14px;font-weight:600}.drop-title+.small{display:block;margin-top:4px}.dropzone:hover{border-color:hsl(var(--primary) / .4);background:hsl(var(--surface) / .8)}.drop-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;font-size:11px;color:hsl(var(--muted-foreground))}.drop-pills span{display:inline-flex;align-items:center;gap:5px}.drop-pills svg{color:hsl(var(--primary) / .7)}.doc-examples{display:flex;flex-direction:column;align-items:center;gap:20px;position:relative;padding-top:40px;align-self:stretch;text-align:center}.doc-examples:before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,hsl(var(--border)),transparent)}.doc-example-grid{display:grid;grid-template-columns:repeat(3,124px);gap:22px 28px;justify-content:center}.doc-example{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px;border:1px solid transparent;border-radius:10px;background:none;cursor:pointer;transition:all .15s}.doc-example-thumb{display:block;width:100%;aspect-ratio:1 / 1.414;object-fit:cover;object-position:top center;border:1px solid hsl(var(--border));border-radius:4px;background:#fff;filter:grayscale(1);transition:all .15s}.doc-example-name{font-size:11px;font-weight:600;line-height:1.25;color:hsl(var(--foreground) / .85)}.doc-example:hover:not(:disabled){border-color:hsl(var(--border));background:hsl(var(--surface) / .8)}.doc-example:hover:not(:disabled) .doc-example-thumb,.doc-example:focus-visible .doc-example-thumb{border-color:hsl(var(--primary) / .5);box-shadow:0 0 0 1px hsl(var(--primary) / .25);filter:none}.doc-example:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.doc-example:disabled{opacity:.5;cursor:not-allowed}@media(max-height:900px){.dropzone{gap:20px;padding:20px 24px}.doc-examples{gap:12px;padding-top:20px}.doc-example-grid{grid-template-columns:repeat(3,96px);gap:12px 20px}}@media(max-height:720px){.dropzone{gap:14px;padding:16px 20px}.doc-examples{gap:10px;padding-top:14px}.doc-example-grid{grid-template-columns:repeat(3,76px);gap:10px 16px}}.pages{display:flex;flex-direction:column;gap:8px;max-width:none}.page-img{display:block;width:100%;height:auto;border:1px solid hsl(var(--border));border-radius:6px;background:#fff}.drop-tile{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:1px solid hsl(var(--primary) / .2);border-radius:16px;background:hsl(var(--primary) / .1);color:hsl(var(--primary))}.spinner{width:12px;height:12px;border:2px solid currentColor;border-top-color:transparent;border-radius:99px;animation:spin .7s linear infinite}.extracting{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.extracting-mark{position:relative;display:flex;align-items:center;justify-content:center;width:88px;height:88px}.extracting-ring{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid hsl(var(--primary) / .25);border-radius:50%;animation:extracting-breathe 2.6s ease-in-out infinite}.extracting-ring.delayed{top:12px;right:12px;bottom:12px;left:12px;border-color:hsl(var(--primary) / .35);animation-delay:.35s}@keyframes extracting-breathe{0%,to{transform:scale(1);opacity:.7}50%{transform:scale(1.14);opacity:.2}}.extracting-tile{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid hsl(var(--primary) / .3);border-radius:50%;background:hsl(var(--primary) / .14);color:hsl(var(--primary));box-shadow:0 0 20px hsl(var(--primary) / .25)}.extracting-copy{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}.extracting-copy p:first-child{font-size:14px;font-weight:600}@media(prefers-reduced-motion:reduce){.extracting-ring{animation:none!important;opacity:.5}}@keyframes spin{to{transform:rotate(360deg)}}.banner{display:flex;align-items:flex-start;gap:10px;margin:8px;padding:10px 12px;border:1px solid hsl(var(--destructive) / .25);border-radius:var(--radius);background:hsl(var(--destructive) / .08);font-size:12px}.banner-icon{display:flex;flex-shrink:0;align-self:center;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;background:hsl(var(--destructive) / .12);color:hsl(var(--destructive))}.banner-text{display:flex;flex-direction:column;gap:3px;min-width:0}.banner-title{font-size:12px;font-weight:600;line-height:1.35;color:hsl(var(--destructive))}.banner-body{font-size:12px;color:hsl(var(--destructive) / .8)}.json-problem{display:flex;flex-direction:column;gap:4px;padding:12px;font-size:12px;color:hsl(var(--muted-foreground))}.json-problem strong{font-weight:600;color:hsl(var(--foreground))}.json-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:max(220px,100%);padding:40px 32px;text-align:center}.json-empty .small{display:block;margin-top:6px;max-width:34ch}.json-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.dropping{position:relative}.dropping.over{outline:2px dashed hsl(var(--primary) / .5);outline-offset:-6px;background:hsl(var(--primary) / .04)}.drop-hint{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:8px 14px;border-radius:var(--radius);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:12px;font-weight:600;pointer-events:none;box-shadow:0 6px 20px hsl(var(--foreground) / .18)}.notice{margin-bottom:8px;padding:8px 12px;border-radius:var(--radius);background:hsl(var(--surface));border:1px solid hsl(var(--border));font-size:11px;line-height:1.6;color:hsl(var(--muted-foreground))}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.dialog{width:100%;max-width:460px;max-height:90vh;overflow:auto;padding:24px;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--panel));box-shadow:0 20px 50px #00000047}.dialog h2{font-size:16px;font-weight:600}.dialog .banner{margin:0 0 12px}.dialog-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.dialog-head h2{flex:1;min-width:0}.dialog-text{margin:0;font-size:14px;line-height:1.6;color:hsl(var(--foreground))}.dialog-actions{display:flex;justify-content:flex-end;margin-top:20px}.editor-toolbar{padding:8px 8px 0}.grow{flex:1;min-width:0}.muted{color:hsl(var(--muted-foreground))}.mono{font-family:var(--font-mono)}.small{font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:860px){html,body,#root{height:auto}.app{height:auto;min-height:100%}.workspace{flex-direction:column}.rail{flex-direction:row;align-items:center;gap:4px;width:100%;max-width:none;padding:6px 8px;border-right:none;border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;overflow:hidden}.rail-items{flex-direction:row;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.rail-items::-webkit-scrollbar{display:none}.rail-theme{margin-top:0;margin-left:auto}.rail-head{display:none}.rail-trust{flex-basis:100%;align-items:center;margin-top:6px;padding:6px 8px 0}.rail-trust-lines{flex-direction:row;flex-wrap:wrap;column-gap:6px}.rail-trust-lines>*+*:before{content:"·";margin-right:6px;color:hsl(var(--muted-foreground) / .5)}.panes{flex-direction:column}.pane-left{border-right:none;border-bottom:1px solid hsl(var(--border))}.pane-body{overflow:visible}.pane-head{position:sticky;top:0;z-index:5}.doc-toolbar{overflow-x:auto;scrollbar-width:none}.doc-toolbar::-webkit-scrollbar{display:none}.doc-toolbar>*{flex-shrink:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}#hubspot-form-target{font-size:12px}#hubspot-form-target fieldset{display:grid;gap:20px 16px;margin:0 0 20px;padding:0;border:0;min-width:0;max-width:none}#hubspot-form-target fieldset:last-of-type{margin-bottom:0}#hubspot-form-target fieldset.form-columns-2{grid-template-columns:1fr 1fr}#hubspot-form-target fieldset.form-columns-3{grid-template-columns:repeat(3,1fr)}#hubspot-form-target label{display:block;margin-bottom:6px;font-size:12px;font-weight:600;color:hsl(var(--foreground))}#hubspot-form-target label strong,#hubspot-form-target label b,#hubspot-form-target label em,#hubspot-form-target label span{font:inherit;color:inherit}#hubspot-form-target p{margin:0;display:inline}#hubspot-form-target .hs-form-required{margin-left:1px;color:hsl(var(--destructive))}#hubspot-form-target .hs-dependent-field{margin-top:20px}#hubspot-form-target .hs-form-field:not(:first-child){margin-top:20px}#hubspot-form-target fieldset.form-columns-2>.hs-form-field,#hubspot-form-target fieldset.form-columns-3>.hs-form-field{margin-top:0}#hubspot-form-target .hs_email{margin-bottom:20px}#hubspot-form-target .hs-field-desc{margin:2px 0 0;font-size:10px;color:hsl(var(--muted-foreground))}#hubspot-form-target .hs-input:not([type=checkbox]):not([type=radio]){width:100%;height:28px;padding:0 8px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--panel));font-size:12px;transition:border-color .15s,box-shadow .15s}#hubspot-form-target textarea.hs-input{height:auto;min-height:64px;padding:6px 8px;line-height:1.5;resize:vertical}#hubspot-form-target .hs-input:hover:not([type=checkbox]):not([type=radio]){border-color:hsl(var(--muted-foreground) / .5)}#hubspot-form-target .hs-input:focus{outline:none;border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .15)}#hubspot-form-target select.hs-input{padding-right:4px}#hubspot-form-target ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}#hubspot-form-target ul li label,#hubspot-form-target .hs-form-booleancheckbox label{display:flex;align-items:flex-start;gap:7px;margin:0;font-size:12px;font-weight:400;color:hsl(var(--foreground));cursor:pointer}#hubspot-form-target input[type=checkbox],#hubspot-form-target input[type=radio]{accent-color:hsl(var(--accent));margin:1px 0 0;width:13px;height:13px;flex:none}#hubspot-form-target .pika-single{position:static!important;margin:6px 0 0;padding:8px;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--panel))}#hubspot-form-target .pika-single.is-hidden{display:none}#hubspot-form-target .pika-title{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:600}#hubspot-form-target .pika-label{position:relative;display:inline-block}#hubspot-form-target .pika-select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}#hubspot-form-target .pika-prev,#hubspot-form-target .pika-next{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;font-size:0;color:hsl(var(--muted-foreground))}#hubspot-form-target .pika-prev:before,#hubspot-form-target .pika-next:before{font-size:15px;line-height:1}#hubspot-form-target .pika-prev:before{content:"‹"}#hubspot-form-target .pika-next:before{content:"›"}#hubspot-form-target .pika-prev{order:-1}#hubspot-form-target .pika-next{margin-left:auto}#hubspot-form-target .pika-prev:hover,#hubspot-form-target .pika-next:hover{background:hsl(var(--elevated));color:hsl(var(--foreground))}#hubspot-form-target .is-disabled .pika-prev,#hubspot-form-target .is-disabled .pika-next{opacity:.3;pointer-events:none}#hubspot-form-target .pika-table{width:100%;border-collapse:collapse}#hubspot-form-target .pika-table th{padding-bottom:2px;font-size:10px;font-weight:500;color:hsl(var(--muted-foreground))}#hubspot-form-target .pika-table th abbr{text-decoration:none}#hubspot-form-target .pika-button{display:block;width:100%;padding:4px 0;border-radius:6px;background:none;font-size:11px;text-align:center;color:hsl(var(--foreground))}#hubspot-form-target .pika-button:hover{background:hsl(var(--elevated))}#hubspot-form-target .is-today .pika-button{color:hsl(var(--accent-text));font-weight:600}#hubspot-form-target .is-selected .pika-button{background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:600}#hubspot-form-target .is-disabled .pika-button,#hubspot-form-target .is-outside-current-month .pika-button{opacity:.35}#hubspot-form-target .is-disabled .pika-button{pointer-events:none}#hubspot-form-target .pika-week{font-size:10px;color:hsl(var(--muted-foreground))}#hubspot-form-target .legal-consent-container,#hubspot-form-target .hs-richtext{font-size:11px;line-height:1.6;color:hsl(var(--muted-foreground))}#hubspot-form-target .legal-consent-container{display:flex;flex-direction:column;gap:4px;margin:4px 0 0}#hubspot-form-target fieldset:has(.hs-form-booleancheckbox){margin-bottom:0}#hubspot-form-target .hs-form-field:has(.hs-form-booleancheckbox):not(:first-child),#hubspot-form-target .hs-form-field:has(.hs-form-booleancheckbox-display):not(:first-child){margin-top:4px}#hubspot-form-target .legal-consent-container.legal-consent-container *{margin-top:0;margin-bottom:0}#hubspot-form-target .hs-richtext{margin:0}#hubspot-form-target a{color:hsl(var(--accent-text));text-decoration:underline;text-underline-offset:2px}#hubspot-form-target .hs-error-msgs,#hubspot-form-target .hs-error-msg{font-size:11px;color:hsl(var(--destructive))}#hubspot-form-target .hs-error-msgs label{color:inherit;margin:4px 0 0}#hubspot-form-target .hs-input.invalid{border-color:hsl(var(--destructive) / .6)}#hubspot-form-target .actions{margin:0}#hubspot-form-target .actions input[type=submit]{height:28px;padding:0 14px;border:none;border-radius:6px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:12px;font-weight:600;cursor:pointer;transition:background-color .15s}#hubspot-form-target .actions input[type=submit]:hover{background:hsl(var(--primary) / .9)}#hubspot-form-target form{position:relative}#hubspot-form-target .hs_recaptcha{position:absolute;right:8px;bottom:0;margin:0;transform:scale(.55);transform-origin:right bottom}#hubspot-form-target .hs_submit{margin-top:20px}#hubspot-form-target .submitted-message{font-size:12px;line-height:1.6;color:hsl(var(--foreground))}@media(max-width:560px){#hubspot-form-target fieldset.form-columns-2,#hubspot-form-target fieldset.form-columns-3{grid-template-columns:1fr}#hubspot-form-target .hs_recaptcha{position:static;margin:14px 0 0;transform-origin:left top}}
