/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#10201c;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f8f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{margin:0}button,input,select,textarea{font:inherit}button,.file-button,.icon-link{color:#10201c;cursor:pointer;background:#fff;border:1px solid #cbd8ce;border-radius:.5rem;justify-content:center;align-items:center;gap:.45rem;min-height:2.5rem;padding:.6rem .78rem;font-size:.92rem;font-weight:700;text-decoration:none;display:inline-flex}button:hover,.file-button:hover,.icon-link:hover,button:focus-visible,.file-button:focus-within,.icon-link:focus-visible{border-color:#047857;outline:3px solid #04785729}button:disabled{color:#94a3b8;cursor:not-allowed;outline:none}input,select{color:#10201c;background:#fff;border:1px solid #cbd8ce;border-radius:.45rem;padding:.45rem .55rem}.app-shell{min-height:100vh;padding:1rem}.topbar,.status-strip,.workspace{max-width:1320px;margin-inline:auto}.topbar{border-bottom:1px solid #dbe6dd;justify-content:space-between;align-items:end;gap:1rem;padding:.4rem 0 1rem;display:flex}.eyebrow{color:#047857;letter-spacing:.15em;text-transform:uppercase;margin:0 0 .45rem;font-size:.82rem;font-weight:800}h1,h2,p{margin:0}h1{letter-spacing:0;font-size:clamp(2rem,4vw,4.2rem);font-weight:760;line-height:1}h2{color:#10201c;font-size:1rem;font-weight:780}.top-actions,.button-grid{flex-wrap:wrap;gap:.55rem;display:flex}.status-strip{justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.status-strip>div:first-child{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.status-strip span:last-child{color:#52645e}.state-dot{border-radius:999px;width:.72rem;height:.72rem;display:inline-block}.state-dot.idle,.state-dot.loaded-empty{background:#94a3b8}.state-dot.analyzing,.state-dot.fitting,.state-dot.loading-source{background:#0ea5e9}.state-dot.loaded-some,.state-dot.loaded-many{background:#059669}.state-dot.error-recoverable,.state-dot.cancelled{background:#f59e0b}.state-dot.error-fatal{background:#dc2626}.version-pill{color:#33534a;background:#e8f3eb;border:1px solid #cbd8ce;border-radius:999px;padding:.42rem .72rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.83rem}.workspace{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.control-panel,.results-panel,.debug-panel{background:#ffffffd1;border:1px solid #dbe6dd;border-radius:.6rem}.control-panel{gap:0;display:grid;position:sticky;top:1rem}.panel-section{border-bottom:1px solid #e2ebe4;gap:.8rem;padding:1rem;display:grid}.panel-section:last-child{border-bottom:0}.panel-section label{color:#52645e;gap:.35rem;font-size:.88rem;font-weight:700;display:grid}.panel-section label span{align-items:center;gap:.45rem;display:flex}.panel-section input[type=number]{width:7rem}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;position:absolute;inset:0}.primary{color:#fff;background:#047857;border-color:#047857}.danger{color:#b91c1c;border-color:#fecaca}.wide{width:100%}.video-box{gap:.7rem;display:grid}.video-box video{aspect-ratio:16/9;background:#10201c;border-radius:.5rem;width:100%}.results-panel{gap:1rem;min-width:0;padding:1rem;display:grid}.progress-shell{gap:.35rem;display:grid}.progress-label{color:#52645e;justify-content:space-between;font-size:.9rem;font-weight:700;display:flex}progress{accent-color:#047857;width:100%;height:.9rem}.empty-state{color:#52645e;background:#f9fbf8;border:1px dashed #cbd8ce;border-radius:.55rem;gap:.5rem;padding:1.2rem;display:grid}.record-summary{gap:.7rem;display:grid}.record-heading{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.record-heading span{color:#33534a;background:#e8f3eb;border-radius:999px;padding:.2rem .55rem;font-size:.8rem;font-weight:700}.reason-box{color:#52645e;background:#f9fbf8;border:1px solid #dbe6dd;border-radius:.5rem;padding:.75rem .85rem}.reason-box summary{color:#10201c;cursor:pointer;font-weight:760}.reason-box ul{margin:.55rem 0 0;padding-left:1.1rem}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.summary-card{background:#f9fbf8;border:1px solid #dbe6dd;border-radius:.5rem;min-width:0;padding:.85rem}.summary-card span{color:#52645e;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:800;display:block}.summary-card strong{overflow-wrap:anywhere;margin-top:.25rem;display:block}.plot-shell{gap:.5rem;margin:0;display:grid}.plot-shell svg{background:#fbfdfb;border:1px solid #dbe6dd;border-radius:.55rem;width:100%}.axis{stroke:#64746d;stroke-width:1.4px}.grid{stroke:#dbe6dd;stroke-width:1px}.tick{fill:#64746d;font-size:12px}.sample{fill:#047857;opacity:.78}.sample.low{fill:#f97316}.sample.outlier{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.5px}.fit-line{fill:none;stroke:#334155;stroke-linecap:round;stroke-width:2.5px}.plot-shell figcaption{color:#52645e;font-size:.9rem}.empty-plot{color:#52645e;text-align:center;background:#f9fbf8;border:1px dashed #cbd8ce;border-radius:.5rem;padding:2rem}.section-title{align-items:center;gap:.5rem;display:flex}.section-title span{color:#33534a;background:#e8f3eb;border-radius:999px;padding:.2rem .55rem;font-size:.8rem;font-weight:700}.fit-summary,.issue-list{gap:.7rem;display:grid}.issue{background:#fffaf0;border-left:4px solid #f59e0b;border-radius:.45rem;gap:.25rem;padding:.75rem .85rem;display:grid}.issue.error{background:#fef2f2;border-left-color:#dc2626}.issue p,.issue span,.activity-log span{color:#52645e}.activity-log{background:#f9fbf8;border:1px solid #dbe6dd;border-radius:.5rem;padding:.85rem}.activity-log summary{cursor:pointer;align-items:center;gap:.5rem;font-weight:780;display:flex}.activity-log ol{gap:.5rem;margin:.8rem 0 0;padding-left:1.2rem;display:grid}.activity-log li{padding-left:.25rem}.activity-log strong,.activity-log span{display:block}.debug-panel{z-index:10;width:min(420px,100vw - 2rem);max-height:55vh;padding:1rem;position:fixed;bottom:1rem;right:1rem;overflow:auto;box-shadow:0 20px 60px #10201c29}.debug-panel dl{grid-template-columns:auto 1fr;gap:.35rem;display:grid}.debug-panel dt{color:#52645e;font-weight:800}.debug-panel pre{color:#d9f99d;background:#10201c;border-radius:.45rem;padding:.75rem;font-size:.78rem;overflow:auto}.scipy-plot{border:1px solid #dbe6dd;border-radius:.5rem;padding:.75rem}.scipy-plot summary{cursor:pointer;font-weight:760}.scipy-plot img{max-width:100%;margin-top:.7rem;display:block}@media (width<=900px){.topbar,.status-strip{flex-direction:column;align-items:stretch}.workspace,.summary-grid{grid-template-columns:1fr}.control-panel{position:static}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
