@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap";.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{--font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;--radius: 4px;--radius-sm: 2px;--radius-lg: 8px;font-family:var(--font-sans);line-height:1.5;font-weight:400;color:var(--app-fg, #e7f0f6);background-color:var(--app-bg, #0a1a2e);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--app-bg, #0a1a2e);font-family:var(--font-sans)}code,kbd,pre,samp,.mono{font-family:var(--font-mono)}html{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.32) transparent}*{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.28) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#94a3b838;border-radius:999px;border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:#94a3b85c;border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-corner{background:transparent}#root{min-height:100vh}.lm_root{position:relative}.lm_row>.lm_item{float:left}.lm_content{overflow:hidden;position:relative}.lm_dragging,.lm_dragging *{cursor:move!important;-webkit-user-select:none;user-select:none}.lm_maximised{position:absolute;top:0;left:0;z-index:40}.lm_maximise_placeholder{display:none}.lm_splitter{position:relative;z-index:2;touch-action:none}.lm_splitter.lm_vertical .lm_drag_handle{width:100%;position:absolute;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none}.lm_splitter.lm_horizontal{float:left;height:100%}.lm_splitter.lm_horizontal .lm_drag_handle{height:100%;position:absolute;cursor:ew-resize;touch-action:none;-webkit-user-select:none;user-select:none}.lm_header{overflow:visible;position:relative;z-index:1;-webkit-user-select:none;user-select:none}.lm_header [class^=lm_]{box-sizing:content-box!important}.lm_header .lm_controls{position:absolute;right:3px;display:flex}.lm_header .lm_controls>*{cursor:pointer;float:left;width:18px;height:18px;text-align:center}.lm_header .lm_tabs{position:absolute;display:flex}.lm_header .lm_tab{cursor:pointer;float:left;height:14px;margin-top:1px;padding:0 25px 5px 10px;position:relative;touch-action:none}.lm_header .lm_tab i{width:2px;height:19px;position:absolute}.lm_header .lm_tab i.lm_left{top:0;left:-2px}.lm_header .lm_tab i.lm_right{top:0;right:-2px}.lm_header .lm_tab .lm_title{display:inline-block;overflow:hidden;text-overflow:ellipsis}.lm_header .lm_tab .lm_close_tab{width:14px;height:14px;position:absolute;top:0;right:0;text-align:center}.lm_stack{position:relative}.lm_stack>.lm_items{overflow:hidden}.lm_stack.lm_left>.lm_items{position:absolute;left:20px;top:0}.lm_stack.lm_right>.lm_items{position:absolute;right:20px;top:0}.lm_stack.lm_right>.lm_header{position:absolute;right:0;top:0}.lm_stack.lm_bottom>.lm_items{position:absolute;bottom:20px}.lm_stack.lm_bottom>.lm_header{position:absolute;bottom:0}.lm_left.lm_stack .lm_header,.lm_right.lm_stack .lm_header{height:100%}.lm_left.lm_dragProxy .lm_header,.lm_right.lm_dragProxy .lm_header,.lm_left.lm_dragProxy .lm_items,.lm_right.lm_dragProxy .lm_items{float:left}.lm_left.lm_dragProxy .lm_header,.lm_right.lm_dragProxy .lm_header,.lm_left.lm_stack .lm_header,.lm_right.lm_stack .lm_header{width:20px;vertical-align:top}.lm_left.lm_dragProxy .lm_header .lm_tabs,.lm_right.lm_dragProxy .lm_header .lm_tabs,.lm_left.lm_stack .lm_header .lm_tabs,.lm_right.lm_stack .lm_header .lm_tabs{transform-origin:left top;top:0;width:1000px}.lm_left.lm_dragProxy .lm_header .lm_controls,.lm_right.lm_dragProxy .lm_header .lm_controls,.lm_left.lm_stack .lm_header .lm_controls,.lm_right.lm_stack .lm_header .lm_controls{bottom:0;flex-flow:column}.lm_dragProxy.lm_left .lm_header .lm_tabs,.lm_stack.lm_left .lm_header .lm_tabs{transform:rotate(-90deg) scaleX(-1);left:0}.lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,.lm_stack.lm_left .lm_header .lm_tabs .lm_tab{transform:scaleX(-1);margin-top:1px}.lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,.lm_stack.lm_left .lm_header .lm_tabdropdown_list{top:initial;right:initial;left:20px}.lm_dragProxy.lm_right .lm_content{float:left}.lm_dragProxy.lm_right .lm_header .lm_tabs,.lm_stack.lm_right .lm_header .lm_tabs{transform:rotate(90deg) scaleX(1);left:100%;margin-left:0}.lm_dragProxy.lm_right .lm_header .lm_controls,.lm_stack.lm_right .lm_header .lm_controls{left:3px}.lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,.lm_stack.lm_right .lm_header .lm_tabdropdown_list{top:initial;right:20px}.lm_dragProxy.lm_bottom .lm_header,.lm_stack.lm_bottom .lm_header{width:100%}.lm_dragProxy.lm_bottom .lm_header .lm_tab,.lm_stack.lm_bottom .lm_header .lm_tab{margin-top:0;border-top:none}.lm_dragProxy.lm_bottom .lm_header .lm_controls,.lm_stack.lm_bottom .lm_header .lm_controls{top:3px}.lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,.lm_stack.lm_bottom .lm_header .lm_tabdropdown_list{top:initial;bottom:20px}.lm_drop_tab_placeholder{float:left;width:100px;visibility:hidden}.lm_header .lm_controls .lm_tabdropdown:before{content:"";width:0;height:0;vertical-align:middle;display:inline-block;border-top:5px dashed;border-right:5px solid transparent;border-left:5px solid transparent;color:#fff}.lm_header .lm_tabdropdown_list{position:absolute;top:20px;right:0;z-index:5;overflow:hidden}.lm_header .lm_tabdropdown_list .lm_tab{clear:both;padding-right:10px;margin:0}.lm_header .lm_tabdropdown_list .lm_tab .lm_title{width:100px}.lm_header .lm_tabdropdown_list .lm_close_tab{display:none!important}.lm_dragProxy{position:absolute;top:0;left:0;z-index:30}.lm_dragProxy .lm_header{background:transparent}.lm_dragProxy .lm_content{border-top:none;overflow:hidden}.lm_dropTargetIndicator{display:none;position:absolute;z-index:35;transition:all .2s ease}.lm_dropTargetIndicator .lm_inner{width:100%;height:100%;position:relative;top:0;left:0}.lm_transition_indicator{display:none;width:20px;height:20px;position:absolute;top:0;left:0;z-index:20}.lm_popin{width:20px;height:20px;position:absolute;bottom:0;right:0;z-index:9999}.lm_popin>*{width:100%;height:100%;position:absolute;top:0;left:0}.lm_popin>.lm_bg{z-index:10}.lm_popin>.lm_icon{z-index:20}.lm_goldenlayout{background:#000}.lm_content{background:#222;border:1px solid transparent}.lm_dragProxy .lm_content{box-shadow:2px 2px 4px #000000e6}.lm_dropTargetIndicator{box-shadow:inset 0 0 30px #000;outline:1px dashed #cccccc}.lm_dropTargetIndicator .lm_inner{background:#000;opacity:.2}.lm_splitter{background:#000;opacity:.001;transition:opacity .2s ease}.lm_splitter:hover,.lm_splitter.lm_dragging{background:#444;opacity:1}.lm_header{height:20px}.lm_header .lm_tab{font-family:Arial,sans-serif;font-size:12px;color:#999;background:#111;box-shadow:2px -2px 2px #0000004d;margin-right:2px;padding-bottom:2px;padding-top:2px}.lm_header .lm_tab .lm_close_tab{width:11px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAQUlEQVR4nHXOQQ4AMAgCQeT/f6aXpsGK3jSTuCVJAAr7iBdoAwCKd0nwfaAdHbYERw5b44+E8JoBjEYGMBq5gAYP3usUDu2IvoUAAAAASUVORK5CYII=);background-position:center center;background-repeat:no-repeat;top:4px;right:6px;opacity:.4}.lm_header .lm_tab .lm_close_tab:hover{opacity:1}.lm_header .lm_tab.lm_active{border-bottom:none;box-shadow:0 -2px 2px #000;padding-bottom:3px}.lm_header .lm_tab.lm_active .lm_close_tab{opacity:1}.lm_header .lm_tab.lm_active.lm_focused{background-color:#354be3}.lm_dragProxy.lm_right .lm_header .lm_tab.lm_active,.lm_stack.lm_right .lm_header .lm_tab.lm_active{box-shadow:2px -2px 2px #000}.lm_dragProxy.lm_bottom .lm_header .lm_tab,.lm_stack.lm_bottom .lm_header .lm_tab{box-shadow:2px 2px 2px #0000004d}.lm_dragProxy.lm_bottom .lm_header .lm_tab.lm_active,.lm_stack.lm_bottom .lm_header .lm_tab.lm_active{box-shadow:0 2px 2px #000}.lm_selected .lm_header{background-color:#452500}.lm_tab:hover,.lm_tab.lm_active{background:#222;color:#ddd}.lm_header .lm_controls .lm_tabdropdown:before{color:#fff}.lm_controls>*{position:relative;background-position:center center;background-repeat:no-repeat;opacity:.4;transition:opacity .3s ease}.lm_controls>*:hover{opacity:1}.lm_controls .lm_popout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAPklEQVR4nI2Q0QoAIAwCNfr/X7aXCpGN8snBdgejJOzckpkxs9jR6K6T5JpU0nWl5pSXTk7qwh8SnNT+CAAWCgkKFpuSWsUAAAAASUVORK5CYII=)}.lm_controls .lm_maximise{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKElEQVR4nGP8////fwYCgImQAgYGBgYWKM2IR81/okwajIpgvsMbVgAwgQYRVakEKQAAAABJRU5ErkJggg==)}.lm_controls .lm_close{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAQUlEQVR4nHXOQQ4AMAgCQeT/f6aXpsGK3jSTuCVJAAr7iBdoAwCKd0nwfaAdHbYERw5b44+E8JoBjEYGMBq5gAYP3usUDu2IvoUAAAAASUVORK5CYII=)}.lm_maximised .lm_header{background-color:#000}.lm_maximised .lm_controls .lm_maximise{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVR4nGP8//8/AzGAiShVI1YhCwMDA8OsWbPwBmZaWhoj0SYCAN1lBxMAX4n0AAAAAElFTkSuQmCC)}.lm_transition_indicator{background-color:#000;border:1px dashed #555555}.lm_popin{cursor:pointer}.lm_popin .lm_bg{background:#fff;opacity:.3}.lm_popin .lm_icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);background-position:center center;background-repeat:no-repeat;border-left:1px solid #eeeeee;border-top:1px solid #eeeeee;opacity:.7}.lm_popin:hover .lm_icon{opacity:1}:root{--app-bg: #0a1a2e;--app-fg: #e7f0f6;--header-bg: #0e2747;--panel-bg: #0d2138;--panel-border: #1e3a5f;--panel-muted: #9bb5c4;--surface-alt: #112b48;--surface-soft: #1a3553;--input-border: #2a4d6f;--accent: #00b4d8;--accent-soft: rgba(0, 180, 216, .2);--accent-border: rgba(0, 180, 216, .5);--text-bright: #f0f9ff;--text-secondary: #cae3ec;--text-dim: #7a96a8;--surface-glass: rgba(10, 26, 46, .4);--surface-glass-heavy: rgba(10, 26, 46, .82);--border-subtle: rgba(42, 77, 111, .6);--backdrop: rgba(4, 14, 28, .82);--shadow-color: rgba(4, 18, 38, .55);--error-fg: #ffc4c4;--status-green: #80ed99;--status-amber: #ffb703;--resolution-match-bg: rgba(34, 139, 110, .42);--resolution-match-border: rgba(128, 237, 153, .32);--action-btn-fg: #ffd166;--action-btn-bg: rgba(255, 183, 3, .12);--action-btn-bg-hover: rgba(255, 183, 3, .24);--action-btn-border: rgba(255, 183, 3, .55);--action-btn-border-hover: rgba(255, 183, 3, .82);--diff-up: #b39ddb;--diff-down: #f87171;--scenario-track-bg: #23262b;--scenario-track-border: #3a3f45;--scenario-track-grid-month: #2c3138;--scenario-track-grid-year: #3a4149}:root[data-theme=light]{--app-bg: #f4f8fa;--app-fg: #0a1a2e;--header-bg: #d9e7ed;--panel-bg: #ffffff;--panel-border: #b8d2dc;--panel-muted: #4a6878;--surface-alt: #eaf2f6;--surface-soft: #d4e3ea;--input-border: #b8d2dc;--accent: #006699;--accent-soft: rgba(0, 102, 153, .12);--accent-border: rgba(0, 102, 153, .38);--text-bright: #0a1a2e;--text-secondary: #335168;--text-dim: #6e8898;--surface-glass: rgba(10, 26, 46, .04);--surface-glass-heavy: rgba(10, 26, 46, .08);--border-subtle: rgba(10, 26, 46, .14);--backdrop: rgba(10, 26, 46, .4);--shadow-color: rgba(10, 26, 46, .12);--error-fg: #b91c1c;--status-green: #15803d;--status-amber: #b45309;--resolution-match-bg: rgba(21, 128, 61, .12);--resolution-match-border: rgba(21, 128, 61, .32);--action-btn-fg: #92400e;--action-btn-bg: rgba(255, 183, 3, .16);--action-btn-bg-hover: rgba(255, 183, 3, .3);--action-btn-border: rgba(180, 140, 0, .55);--action-btn-border-hover: rgba(180, 140, 0, .82);--diff-up: #6a3d9a;--diff-down: #b2182b;--scenario-track-bg: #e2e8ed;--scenario-track-border: #c2ccd4;--scenario-track-grid-month: #d3dbe1;--scenario-track-grid-year: #bcc7ce}.app-shell{display:grid;grid-template-rows:64px minmax(0,1fr) 40px;min-height:100vh;background:var(--app-bg);color:var(--app-fg)}.app-header{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,420px) minmax(0,1fr);align-items:center;gap:16px;padding:0 20px;background:var(--header-bg);border-bottom:1px solid var(--panel-border)}.header-left,.header-right{display:flex;align-items:center;gap:12px}.header-left{min-width:0}.header-right{justify-content:flex-end;flex-wrap:nowrap}.header-left>*,.header-right>*{flex-shrink:0}.header-tools{display:inline-flex;align-items:center;gap:6px}.header-tool-btn{position:relative;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;font-size:.82rem;line-height:1;white-space:nowrap;padding:7px 11px;border-radius:8px;border:1px solid var(--panel-border);background:var(--surface-alt);color:var(--app-fg);transition:background .15s ease,border-color .15s ease}.header-tool-btn:hover{border-color:var(--accent-border, var(--accent));background:var(--surface-soft, var(--surface-alt))}.header-tool-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}.header-tool-btn .header-tool-icon{font-size:.95rem;line-height:1}.header-tool-badge{position:absolute;top:-6px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:700;box-shadow:0 0 0 2px var(--app-bg)}.header-menu{position:relative;display:inline-flex}.header-menu-trigger{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;font-size:.82rem;line-height:1;white-space:nowrap;padding:7px 11px;border-radius:8px;border:1px solid var(--panel-border);background:var(--surface-alt);color:var(--app-fg);transition:background .15s ease,border-color .15s ease}.header-menu-trigger:hover,.header-menu-trigger.open{border-color:var(--accent-border, var(--accent));background:var(--surface-soft, var(--surface-alt))}.header-menu-caret{font-size:.7rem;opacity:.7}.header-menu-badge{min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:700}.header-menu-panel{position:absolute;top:calc(100% + 6px);min-width:190px;padding:6px;border-radius:10px;border:1px solid var(--panel-border);background:var(--panel-bg, var(--surface-alt));box-shadow:0 8px 24px var(--shadow-color, rgba(0, 0, 0, .35));z-index:60}.header-menu-panel.align-right{right:0}.header-menu-panel.align-left{left:0}.header-menu-empty{padding:8px 10px;font-size:.8rem;color:var(--text-secondary)}.header-menu-item{display:flex;align-items:center;gap:9px;width:100%;cursor:pointer;font:inherit;font-size:.85rem;text-align:left;padding:8px 10px;border:none;border-radius:7px;background:transparent;color:var(--app-fg)}.header-menu-item:hover:not(:disabled){background:var(--surface-soft, var(--surface-alt))}.header-menu-item:disabled{opacity:.45;cursor:default}.header-menu-item.divider-before{margin-top:6px;padding-top:12px;border-top:1px solid var(--panel-border);border-radius:0 0 7px 7px}.header-menu-item-icon{width:18px;text-align:center;font-size:.95rem}.header-menu-trigger.project-pill{cursor:pointer}.theme-toggle{background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center}.theme-toggle-track{position:relative;width:52px;height:28px;border-radius:14px;background:#334155;display:flex;align-items:center;justify-content:space-between;padding:0 5px;transition:background .3s ease}:root[data-theme=light] .theme-toggle-track{background:#bfdbfe}.theme-toggle-icon{font-size:14px;line-height:1;z-index:1;transition:opacity .2s ease}.theme-toggle-sun{opacity:.4}.theme-toggle-moon{opacity:1}:root[data-theme=light] .theme-toggle-sun{opacity:1}:root[data-theme=light] .theme-toggle-moon{opacity:.4}.theme-toggle-thumb{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transition:transform .3s ease}:root[data-theme=light] .theme-toggle-thumb{transform:translate(-24px)}.header-center{min-width:0;position:relative}.brand{font-size:1.2rem;font-weight:700}.env-badge{padding:2px 8px;border-radius:999px;background:var(--accent);font-size:.75rem;letter-spacing:.04em}.global-search{width:100%;padding:8px 12px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg)}.search-input-wrap{position:relative;display:inline-flex;align-items:center}.search-input-wrap input{width:100%;padding-right:30px}.header-center .search-input-wrap{display:flex;width:100%}.search-clear-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--app-fg);opacity:.55;font-size:1rem;line-height:1;cursor:pointer;transition:opacity .15s ease,background .15s ease}.search-clear-btn:hover{opacity:1;background:var(--surface-glass-heavy, rgba(128, 128, 128, .2))}.global-search-overlay{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;display:flex;flex-direction:column;gap:10px;max-height:min(70vh,560px);overflow-y:auto;padding:12px;border:1px solid var(--panel-border);border-radius:12px;background:color-mix(in srgb,var(--panel-bg) 94%,black 6%);box-shadow:0 18px 40px var(--shadow-color)}.global-search-section{display:flex;flex-direction:column;gap:8px}.global-search-section-title{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--panel-muted)}.global-search-section-items{display:flex;flex-direction:column;gap:6px}.global-search-item{display:flex;flex-direction:column;gap:6px;width:100%;padding:10px 12px;border:1px solid var(--input-border);border-radius:10px;background:var(--surface-alt);color:var(--app-fg);text-align:left}.global-search-item:hover,.global-search-item.active{border-color:var(--accent-border);background:var(--accent-soft)}.global-search-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.global-search-item-label{font-weight:600}.global-search-item-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.global-search-item-meta{font-size:.82rem;color:var(--panel-muted)}.module-card-focused{border-color:var(--accent-border);box-shadow:0 0 0 1px var(--accent-border),0 10px 24px #2563eb2e}.header-nav{min-width:0}.header-nav-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;align-items:center}.header-nav-list li{padding:8px 12px;white-space:nowrap}.user-pill{padding:6px 10px;background:var(--surface-soft);border-radius:999px;font-size:.85rem}.project-pill{padding:6px 10px;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;font-size:.85rem;color:var(--accent)}.project-pill-label{display:inline-flex;align-items:center;gap:.5rem}.project-pill-tag{font-size:.7rem;opacity:.7}.modal-backdrop{position:fixed;inset:0;background:var(--backdrop);display:flex;align-items:center;justify-content:center;z-index:50;padding:24px}.project-loading-overlay{z-index:200}.project-loading-card{background:var(--panel-bg);border:1px solid var(--panel-border, rgba(148, 163, 184, .3));border-radius:var(--radius, 8px);padding:20px 24px;box-shadow:0 8px 32px #0006;display:flex;flex-direction:column;gap:8px;max-width:92vw}.project-loading-hint{font-size:12px}.modal-card{width:min(560px,92vw);background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:16px;padding:24px;box-shadow:0 20px 40px var(--shadow-color);display:flex;flex-direction:column;gap:20px;max-height:calc(100vh - 48px);color:var(--app-fg)}.modal-card-wide{width:min(1100px,96vw);max-height:calc(100vh - 48px)}.modal-footer{display:flex;justify-content:flex-end}.inspect-modal-content{margin:0;padding:12px 14px;background:var(--surface-alt);border:1px solid var(--panel-border);border-radius:12px;color:var(--app-fg);font-size:.85rem;line-height:1.5;max-height:52vh;overflow:auto;white-space:pre-wrap}.modal-header h2{margin:0 0 6px;font-size:1.4rem;color:var(--text-bright)}.modal-header p{margin:0;color:var(--panel-muted)}.modal-header p.relationship-sentence{color:var(--text-bright);font-size:1.02rem}.modal-header p.relationship-direction{margin-top:3px;font-size:.85rem;opacity:.75}.relationship-direction-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.relationship-direction-row .relationship-swap{flex:0 0 auto;font-size:.82rem;padding:4px 10px;white-space:nowrap}.modal-body{display:flex;flex-direction:column;gap:20px;overflow:auto}.export-modules-modal{width:min(720px,94vw)}.export-modules-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--panel-border);border-radius:12px;background:var(--surface-alt)}.export-modules-summary{display:flex;flex-direction:column;gap:4px}.export-modules-count{font-size:.95rem;font-weight:600;color:var(--app-fg)}.export-modules-meta{font-size:.8rem;color:var(--panel-muted)}.export-modules-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.modules-export-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.modules-export-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--input-border);border-radius:12px;background:var(--surface-alt);transition:border-color .15s ease,background .15s ease,transform .15s ease}.modules-export-item:hover{border-color:var(--panel-muted);background:var(--surface-soft);transform:translateY(-1px)}.modules-export-item-main{display:flex;align-items:center;gap:10px;min-width:0}.modules-export-item-main input{margin:0}.modules-export-item .module-title{font-weight:600;line-height:1.3}.modules-export-item-badges{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}.export-selected-badge{background:#2563eb29;color:var(--accent)}@media(max-width:640px){.export-modules-toolbar,.modules-export-item{flex-direction:column;align-items:stretch}.export-modules-actions,.modules-export-item-badges{justify-content:flex-start}}.modal-section{display:flex;flex-direction:column;gap:12px}.modal-section-header{display:flex;align-items:center;justify-content:space-between;font-weight:600;color:var(--text-bright)}.modal-section-collapsible.collapsed>*:not(.modal-section-header){display:none}.modal-section-collapsible .modal-section-header{gap:8px}.modal-section-toggle{display:inline-flex;align-items:center;gap:8px;background:none;border:none;padding:4px 0;margin:0;cursor:pointer;font:inherit;font-weight:600;color:var(--text-bright);text-align:left;flex:1 1 auto;min-width:0}.modal-section-toggle:hover .modal-section-title{color:var(--accent)}.modal-section-title{font-size:.98rem}.modal-section-chevron{display:inline-block;font-size:.7rem;color:var(--panel-muted);transition:transform .15s ease;transform:rotate(0)}.modal-section-chevron.open{transform:rotate(90deg)}.modal-title-with-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.modal-rename-btn{font-size:.8rem;padding:4px 10px;white-space:nowrap}.modal-rename-row{display:flex;align-items:center;gap:8px;margin:0 0 6px}.modal-rename-input{flex:1 1 auto;min-width:0;font-size:1.1rem;font-weight:600}.modal-divider{height:1px;background:var(--surface-soft)}.modal-error{background:#ef44441f;border:1px solid rgba(239,68,68,.4);color:var(--error-fg);padding:10px 12px;border-radius:10px;font-size:.9rem}.app-body{display:flex;min-height:0;height:100%;overflow:hidden}.nav-section-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--panel-muted)}.nav-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px}.nav-list li{padding:10px 12px;border-radius:8px;cursor:pointer;background:transparent;transition:background .2s ease}.nav-list li:hover{background:var(--surface-soft)}.nav-list li.active{background:#1d4ed8;color:#fff}.nav-shortcuts{display:grid;gap:8px}.app-main{padding:16px 16px 14px;display:flex;flex-direction:column;gap:12px;overflow:hidden;min-height:0;min-width:0;height:100%;flex:1 1 0}.tab-view{display:none;flex-direction:column;gap:12px;min-height:0;height:100%;flex:1;overflow:hidden}.tab-view.is-active{display:flex}.main-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.main-header h1{margin:0 0 4px;font-size:1.8rem}.main-header p{margin:0;color:var(--panel-muted)}.status-chips{display:flex;gap:8px;flex-wrap:wrap}.main-header h1,.modules-header h1{margin:0 0 4px;font-size:1.8rem}.modules-header p{margin:0;color:var(--panel-muted)}.chip{padding:4px 8px;border-radius:999px;background:var(--surface-soft);font-size:.75rem}.chip.success{background:#166534}.chip.warn{background:#92400e}:root[data-theme=light] .chip.success{background:#16a34a26;color:#15803d}:root[data-theme=light] .chip.warn{background:#f59e0b26;color:#b45309}.main-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(160px,auto);gap:16px}.dock-layout{position:relative;min-height:520px;height:100%;flex:1;width:100%;background:var(--surface-glass);border:1px solid var(--panel-border);border-radius:12px;overflow:hidden}.dock-host{position:absolute;inset:0;width:100%;height:100%}.dock-panel-host{width:100%;height:100%}.dock-layout .lm_root,.dock-layout .lm_goldenlayout,.dock-layout .lm_stack,.dock-layout .lm_items,.dock-layout .lm_item,.dock-layout .lm_content{height:100%}.dock-layout .lm_content{background:transparent;overflow:hidden}.dock-layout .lm_header{height:38px;background:var(--header-bg);border-bottom:1px solid var(--panel-border)}.dock-panel>.panel-header{display:none}.dock-layout .lm_goldenlayout{background:transparent}.dock-layout .lm_header .lm_tab{box-sizing:border-box!important;height:38px;padding:0 16px;margin:0;font-size:.88rem;font-weight:600;line-height:38px;background:transparent;color:var(--panel-muted);box-shadow:none;border:none;border-radius:0;transition:background .15s ease,color .15s ease}.dock-layout .lm_tab:hover{background:var(--surface-soft);color:var(--app-fg)}.dock-layout .lm_tab.lm_active,.dock-layout .lm_header .lm_tab.lm_active.lm_focused{background:transparent;color:var(--app-fg);box-shadow:inset 0 -2px 0 var(--accent)}.dock-layout .lm_splitter{background:var(--panel-border)}.dock-layout .lm_splitter:hover,.dock-layout .lm_splitter.lm_dragging{background:var(--accent)}.dock-panel{border-radius:0;border:none;background:transparent;min-height:100%;height:100%;width:100%;overflow:hidden}.app-copilot>.copilot-panel{flex:1 1 0;min-height:0;border:none;border-radius:0}.app-copilot>.copilot-panel>.panel-header{display:flex}.app-copilot>.copilot-panel .copilot-panel-title{display:none}.panel{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:12px;display:flex;flex-direction:column;overflow:hidden}.modules-tab{display:flex;flex-direction:column;gap:0;height:100%;width:100%}.modules-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;flex:1;min-height:0}.modules-gl-layout{flex:1;min-height:0;position:relative}.modules-gl-panel{width:100%;height:100%;overflow:hidden;padding:10px;display:flex;flex-direction:column;gap:10px}.modules-gl-diagram{padding:0;overflow:hidden}.modules-gl-diagram .network-diagram{margin-top:0;height:100%;min-height:0;display:flex;flex-direction:column;border-radius:0;border:none;position:relative}.modules-gl-diagram .network-legend{flex-shrink:0}.modules-gl-diagram .network-diagram-body{flex:1;min-height:0}.modules-gl-diagram .network-diagram-body.single{display:flex;flex-direction:column}.modules-gl-diagram .network-graph{flex:1;min-height:0;position:relative}.modules-pane{display:flex;flex-direction:column;gap:16px;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:12px;padding:16px;min-height:0}.modules-pane.active{background:var(--surface-glass-heavy)}.modules-pane-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.modules-pane-header-compact{justify-content:flex-end}.modules-pane-controls{display:grid;gap:6px}.modal-inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.modules-parameter-results{display:grid;gap:8px}.modules-parameter-results-inline{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.modules-parameter-search-inline{display:grid;gap:8px}.modules-parameter-result{text-align:left;border:1px solid rgba(148,163,184,.2);background:var(--surface-glass-heavy);color:inherit;border-radius:10px;padding:8px 10px;display:grid;gap:2px}.modules-parameter-result:hover{border-color:#2dd4bf80;background:var(--surface-glass-heavy)}.modules-parameter-result-title{font-weight:600}.modules-parameter-result-meta{font-size:.75rem;color:var(--panel-muted);display:flex;gap:6px;flex-wrap:wrap}.modules-pane-controls-right{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;align-items:center}.modules-pane-controls-inline{display:flex;flex-wrap:wrap;gap:6px}.modules-search{width:180px;padding:5px 9px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg)}.modules-search-stack{display:flex;flex-wrap:wrap;gap:6px}.modules-select{padding:5px 9px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg)}.modules-filters{display:flex;flex-wrap:wrap;gap:6px}.modules-list{overflow:auto;display:grid;gap:12px;padding-right:4px}.modules-group{display:grid;gap:8px}.modules-group-title{text-transform:uppercase;font-size:.7rem;letter-spacing:.08em;color:var(--panel-muted)}.modules-group-grid{display:grid;gap:8px}.module-card,.module-tile{border-radius:12px;border:1px solid var(--panel-border);background:var(--surface-glass-heavy);padding:8px 10px}.module-tile-clickable{cursor:pointer;transition:border-color .12s ease,background .12s ease}.module-tile-clickable:hover{border-color:var(--accent, rgba(45, 212, 191, .5));background:var(--surface-glass)}.module-card-compact{display:grid;gap:6px}.module-card-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.module-card-main{flex:1;min-width:0;display:grid;gap:6px}.module-card-header,.module-tile-header{display:flex;gap:10px;align-items:flex-start}.module-tile-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.module-tile-name{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-tile-icon{display:inline-block;margin-right:6px;font-size:1rem;line-height:1}.module-icon{width:32px;height:32px;border-radius:10px;background:#2563eb33;display:flex;align-items:center;justify-content:center;font-size:1rem;position:relative}.module-icon.warning{background:#f59e0b2e}.module-warning{position:absolute;top:-6px;right:-6px;width:16px;height:16px;border-radius:50%;background:#f59e0b;color:var(--surface-soft);font-size:11px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px var(--panel-bg)}.module-title{font-weight:600}.module-description{font-size:.78rem;color:var(--panel-muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.module-card-meta{display:flex;flex-wrap:wrap;gap:6px}.module-card-secondary-actions{display:flex;justify-content:flex-start;gap:6px}.module-badge{font-size:.7rem;padding:2px 8px;border-radius:999px;background:#94a3b833}.module-badge.badge-habitat{background:#56d4dd2e;color:#56d4dd}.module-badge.badge-consumer{background:#d2a8ff2e;color:#d2a8ff}.module-badge.badge-abiotic{background:#79c0ff2e;color:#79c0ff}.module-badge.badge-anthropogenic{background:#ffa6572e;color:#ffa657}.module-badge.badge-management{background:#3fb9502e;color:#3fb950}:root[data-theme=light] .module-badge{background:#64748b1f;color:#475569}:root[data-theme=light] .module-badge.badge-habitat{background:#0ea5ad26;color:#0c6370}:root[data-theme=light] .module-badge.badge-consumer{background:#9333ea24;color:#6d28d9}:root[data-theme=light] .module-badge.badge-abiotic{background:#2563eb24;color:#1d4ed8}:root[data-theme=light] .module-badge.badge-anthropogenic{background:#ea580c24;color:#b45309}:root[data-theme=light] .module-badge.badge-management{background:#16a34a24;color:#15803d}.module-card-actions,.module-tile-actions{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}.module-tile-actions{justify-content:flex-end}.module-tile-actions-inline{flex-wrap:nowrap;align-items:center;flex-shrink:0}.module-tile-status-indicator{width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;line-height:1;border:1px solid transparent}.module-tile-status-indicator.ok{color:#86efac;background:#22c55e24;border-color:#22c55e47}.module-tile-status-indicator.ready{color:#7dd3fc;background:#38bdf81f;border-color:#38bdf83d}.module-tile-status-indicator.warn{color:#fbbf24;background:#f59e0b29;border-color:#f59e0b47}:root[data-theme=light] .module-tile-status-indicator.ok{color:#15803d;background:#16a34a1f;border-color:#16a34a4d}:root[data-theme=light] .module-tile-status-indicator.ready{color:#0369a1;background:#0ea5e91a;border-color:#0ea5e940}:root[data-theme=light] .module-tile-status-indicator.warn{color:#b45309;background:#f59e0b1f;border-color:#f59e0b4d}.module-tile-status-indicator.neutral{color:var(--panel-muted);background:#94a3b81f;border-color:#94a3b838}.module-tile-dependency-inline{margin-top:4px;font-size:.72rem;color:var(--panel-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-chip-icon-button{width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:.95rem;line-height:1}.module-chip-icon-button-danger:hover{color:#f87171;border-color:#f8717159}.modules-active-list{display:grid;gap:6px;align-content:start;min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1 1 0}.modules-active-list.empty{min-height:80px;display:grid;border:1px dashed rgba(148,163,184,.35);border-radius:12px;padding:20px;place-items:center}.modules-empty{color:var(--panel-muted);font-size:.85rem}.modules-active-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.modules-validation-summary{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 8px;font-size:.75rem;border:1px solid rgba(148,163,184,.2);background:var(--surface-glass-heavy)}.modules-validation-summary.ready{color:#86efac}.modules-validation-summary.warn{color:#fbbf24}:root[data-theme=light] .modules-validation-summary.ready{color:#15803d}:root[data-theme=light] .modules-validation-summary.warn{color:#b45309}.catalog-drawer{border-top:1px solid var(--panel-border);display:flex;flex-direction:column;min-height:0}.catalog-drawer.open{flex:1 1 0;min-height:120px;max-height:50%}.catalog-drawer-toggle{all:unset;display:flex;align-items:center;justify-content:space-between;padding:6px 10px;cursor:pointer;font-size:.8rem;font-weight:600;color:var(--panel-muted);background:var(--surface-glass);border-radius:0;-webkit-user-select:none;user-select:none;flex-shrink:0}.catalog-drawer-toggle:hover{color:var(--app-fg);background:var(--surface-glass-heavy)}.catalog-drawer-toggle-label{display:flex;align-items:center;gap:8px}.catalog-drawer-count{font-size:.7rem;font-weight:500;padding:1px 7px;border-radius:999px;background:#94a3b82e;color:var(--panel-muted)}.catalog-drawer-chevron{font-size:.6rem;transition:transform .2s ease;transform:rotate(180deg)}.catalog-drawer-chevron.open{transform:rotate(0)}.catalog-drawer-body{display:flex;flex-direction:column;min-height:0;flex:1;gap:8px;padding:8px 0 0}.catalog-drawer-toolbar{display:flex;flex-direction:column;gap:6px;padding:0 10px;flex-shrink:0}.catalog-search-input{width:100%;box-sizing:border-box;padding:5px 10px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);font-size:.8rem}.catalog-search-input::placeholder{color:var(--panel-muted)}.catalog-drawer-list{overflow:auto;display:grid;gap:6px;padding:0 10px 8px;align-content:start}.catalog-group{display:grid;gap:2px}.catalog-group .modules-group-title{margin-bottom:2px}.catalog-row{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:8px;font-size:.82rem;transition:background .12s ease}.catalog-row-clickable{cursor:pointer}.catalog-row:hover{background:var(--surface-glass-heavy)}.catalog-row-focused{outline:1px solid rgba(45,212,191,.5)}.catalog-row-icon{flex-shrink:0;font-size:.95rem;width:20px;text-align:center}.catalog-row-icon .module-svg-icon,.module-svg-icon{display:inline-block;vertical-align:-.18em}.catalog-row-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.catalog-row-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.catalog-row-actions .module-chip-icon-button{width:26px;height:26px;font-size:.85rem}.catalog-empty{padding:12px 8px;color:var(--panel-muted);font-size:.82rem;text-align:center}:root[data-theme=light] .catalog-drawer-toggle:hover{background:#0000000a}:root[data-theme=light] .catalog-row:hover{background:#0000000a}.provenance-layout{display:grid;gap:16px;flex:1 1 0;min-height:0;overflow-y:auto;padding-right:4px;grid-auto-rows:min-content;align-content:start}.provenance-layout>.panel{min-height:0}.provenance-layout>.panel>.panel-body{overflow:visible;flex:0 0 auto;min-height:0}.provenance-layout>details.panel>summary.panel-header{cursor:pointer;list-style:none;justify-content:flex-start;gap:8px}.provenance-layout>details.panel>summary.panel-header::-webkit-details-marker{display:none}.provenance-layout>details.panel>summary.panel-header>.panel-subtitle{margin-left:auto}.provenance-layout>details.panel>summary.panel-header:before{content:"▸";font-size:.7rem;color:var(--text-dim);transition:transform .15s ease;flex:0 0 auto}.provenance-layout>details.panel[open]>summary.panel-header:before{transform:rotate(90deg)}.provenance-confidence.success{border-color:#22c55e73}.provenance-confidence.warn{border-color:#f59e0b73}.provenance-confidence.danger{border-color:#ef444473}.provenance-confidence-body{gap:12px}.prov-conf-verdict{margin:0;color:var(--text-secondary);font-size:.86rem;line-height:1.45}.prov-conf-tracks{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:720px){.prov-conf-tracks{grid-template-columns:1fr}}.prov-conf-track-head{display:flex;justify-content:space-between;align-items:baseline;font-size:.8rem;margin-bottom:4px}.prov-conf-track-count{color:var(--text-dim);font-variant-numeric:tabular-nums}.prov-conf-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--surface-glass)}.prov-conf-seg{min-width:2px}.prov-conf-seg.high{background:#22c55ed9}.prov-conf-seg.medium{background:#eab308d9}.prov-conf-seg.low{background:#f59e0be6}.prov-conf-seg.unrated{background:#94a3b899}.prov-conf-seg.default{background:#ef4444b3}.prov-conf-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:.72rem;color:var(--text-dim)}.prov-conf-legend span{display:inline-flex;align-items:center;gap:4px}.prov-conf-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}.prov-conf-lowlights{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.prov-conf-lowlights-label{font-size:.78rem;color:var(--text-dim)}.prov-conf-chip{font-size:.74rem;padding:2px 7px;border-radius:999px;background:var(--surface-glass);border:1px solid var(--panel-border);color:var(--text-secondary)}.prov-conf-chip.default{border-color:#ef444480}.prov-conf-chip.low{border-color:#f59e0b80}.provenance-ingest-audit{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px}.provenance-ingest-coverage{font-size:.78rem;color:var(--text-dim);font-variant-numeric:tabular-nums}.provenance-ingest-transcript{font-size:.78rem;background:none;border:none;padding:0;cursor:pointer;color:var(--accent, #60a5fa);text-decoration:underline}.provenance-ingest-transcript:hover{opacity:.8}.provenance-hero-body{display:grid;gap:16px}.provenance-priority-body{display:grid;gap:10px}.provenance-record-list{display:grid;gap:8px}.provenance-inactive-group{border-top:1px solid var(--border-subtle);padding-top:12px}.provenance-inactive-summary{cursor:pointer;font-size:.82rem;color:var(--text-dim);-webkit-user-select:none;user-select:none}.provenance-inactive-summary:hover{color:var(--text-secondary)}.provenance-inactive-list{display:grid;gap:6px;margin-top:10px}.provenance-inactive-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;border-radius:8px;background:var(--surface-glass);opacity:.7}.provenance-inactive-row .provenance-record-name{font-size:.85rem}.provenance-inactive-row .panel-pill{font-size:.72rem;padding:1px 6px}.provenance-scorecard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.provenance-scorecard{display:grid;gap:6px;padding:16px;border-radius:14px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy)}.provenance-scorecard.success{border-color:#22c55e73}.provenance-scorecard.info{border-color:#60a5fa73}.provenance-scorecard.warn{border-color:#f59e0b73}.provenance-scorecard.danger{border-color:#ef444473}.provenance-scorecard-value{font-size:1.8rem;font-weight:700;color:var(--text-bright)}.provenance-scorecard-label{font-size:.8rem;color:var(--panel-muted)}.provenance-explainer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.provenance-callout{display:grid;gap:8px;padding:16px;border-radius:14px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy)}.provenance-callout-title,.provenance-record-name{font-weight:600}.provenance-subsection-title{font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-dim)}.provenance-field-label{font-weight:600;font-size:.78rem;color:var(--text-dim)}.provenance-callout p{margin:0;color:var(--text-secondary);line-height:1.5}.provenance-bullet-list{margin:0;padding-left:18px;display:grid;gap:6px;color:var(--text-secondary)}.provenance-bullet-list.compact{gap:4px}.provenance-emphasis{font-weight:600;color:var(--text-bright)}.provenance-priority-card{display:grid;gap:4px;padding:10px 14px;border-radius:10px;border:1px solid var(--border-subtle);border-left:3px solid var(--border-subtle);background:var(--surface-glass-heavy)}.provenance-record-card{border-radius:10px;border:1px solid var(--border-subtle);border-left:3px solid var(--border-subtle);background:var(--surface-glass-heavy)}.provenance-record-card.success{border-left-color:#22c55eb3}.provenance-record-card.info{border-left-color:#60a5fab3}.provenance-record-card.warn{border-left-color:#f59e0bb3}.provenance-record-card.danger{border-left-color:#ef4444b3}.provenance-record-summary{display:flex;align-items:flex-start;gap:10px;cursor:pointer;padding:10px 14px;list-style:none;-webkit-user-select:none;user-select:none}.provenance-record-summary::-webkit-details-marker{display:none}.provenance-record-summary::marker{content:""}.provenance-record-summary>.provenance-record-top{flex:1;min-width:0}.provenance-record-summary:after{content:"";flex:none;width:7px;height:7px;margin-top:5px;border-right:2px solid var(--text-dim);border-bottom:2px solid var(--text-dim);transform:rotate(45deg);transition:transform .15s ease}.provenance-record-card[open] .provenance-record-summary:after{transform:rotate(-135deg)}.provenance-record-card[open] .provenance-record-summary{border-bottom:1px solid var(--border-subtle)}.provenance-record-card>.provenance-param-table{margin:12px 14px 14px}.provenance-record-source{color:var(--panel-muted);font-size:.82rem;line-height:1.45;margin-top:2px}.provenance-record-top-left{min-width:0;flex:1}.provenance-record-detail{display:grid;gap:12px;padding:12px 14px}.provenance-priority-card.info{border-left-color:#60a5fab3}.provenance-priority-card.warn{border-left-color:#f59e0bb3}.provenance-priority-card.danger{border-left-color:#ef4444b3}.provenance-priority-card.success{border-left-color:#22c55eb3}.provenance-priority-header,.provenance-record-top,.provenance-lineage-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.provenance-record-meta,.provenance-priority-summary,.provenance-lineage-detail{color:var(--panel-muted);line-height:1.4;font-size:.82rem}.provenance-priority-source{color:var(--app-fg);line-height:1.45;font-size:.85rem}.provenance-field-value{color:var(--app-fg);line-height:1.45;font-size:.88rem}.provenance-record-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px 12px}.provenance-field-block{display:grid;gap:2px}.provenance-subsection{display:grid;gap:6px}.env-prov-editor{display:grid;gap:8px;max-width:520px}.env-prov-field{display:grid;gap:3px}.env-prov-label{font-size:11px;font-weight:600;opacity:.72}.env-prov-actions{display:flex;align-items:center;gap:10px;margin-top:2px}.env-prov-status.ok{color:var(--positive, #2e7d32);font-size:12px}.env-prov-status.error{color:var(--danger, #c62828);font-size:12px}.env-prov-inline{display:grid;gap:8px;padding:8px 0 4px}.env-sublayer-list{display:grid;gap:4px}.env-sublayer{border:1px solid var(--border, rgba(128, 128, 128, .25));border-radius:6px;padding:6px 8px}.env-sublayer-summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.env-sublayer-name{font-weight:600;font-size:12px;min-width:120px}.env-sublayer-source{font-size:11px;opacity:.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.provenance-lineage-item{display:grid;gap:2px}.provenance-tag-list{display:flex;flex-wrap:wrap;gap:8px}.provenance-tag{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#2563eb26;border:1px solid rgba(59,130,246,.25);color:var(--accent);font-size:.72rem}.provenance-lineage-list{display:grid;gap:6px}.provenance-lineage-item{padding:6px 10px;border-radius:8px;border:1px solid var(--border-subtle);background:var(--surface-glass);font-size:.85rem}.provenance-param-table{display:grid;gap:0;border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden;margin-top:12px;font-size:.82rem}.provenance-param-table-head,.provenance-param-row{display:grid;grid-template-columns:1.8fr .8fr 2.2fr .9fr 1.5fr .8fr;gap:0}.provenance-param-table-head{background:var(--surface-alt);font-weight:600;font-size:.75rem;color:var(--panel-muted);letter-spacing:.04em;text-transform:uppercase}.provenance-param-table-head>span,.provenance-param-row>span{padding:7px 12px;border-right:1px solid var(--border-subtle)}.provenance-param-table-head>span:last-child,.provenance-param-row>span:last-child{border-right:none}.provenance-param-row{border-top:1px solid var(--border-subtle);transition:background .1s}.provenance-param-row:hover{background:var(--surface-glass)}.provenance-param-row.missing{background:#ef44440a}.provenance-param-row.warn{background:#f59e0b0a}.provenance-param-row.ok{background:transparent}.provenance-param-label{color:var(--app-fg);font-weight:500}.provenance-param-unit{color:var(--text-dim);font-weight:400;font-size:.75rem}.provenance-param-value,.provenance-param-source{color:var(--text-secondary)}.provenance-param-value.missing,.provenance-param-source.missing{color:var(--text-dim);font-style:italic}.provenance-param-bioregion{color:var(--text-dim);font-size:.78rem}.provenance-param-confidence{display:flex;align-items:center}.provenance-param-confidence.missing{color:var(--text-dim);font-style:italic}.confidence-pill{display:inline-flex;align-items:center;padding:1px 8px;border-radius:999px;font-size:.72rem;font-weight:600;text-transform:capitalize;letter-spacing:.01em;background:var(--surface-alt);color:var(--text-secondary);border:1px solid var(--border-subtle)}.confidence-pill.high{background:#2dd4bf26;color:#5eead4;border-color:#2dd4bf80}.confidence-pill.medium{background:#f59e0b26;color:#fbbf24;border-color:#f59e0b80}.confidence-pill.low{background:#ef44441f;color:#f87171;border-color:#ef444473}@media(max-width:720px){.provenance-priority-header,.provenance-record-top,.provenance-lineage-header{flex-direction:column}.provenance-param-table-head,.provenance-param-row{grid-template-columns:1.6fr .8fr .9fr}.provenance-param-table-head>span:nth-child(3),.provenance-param-table-head>span:nth-child(5),.provenance-param-table-head>span:nth-child(6),.provenance-param-row>span:nth-child(3),.provenance-param-row>span:nth-child(5),.provenance-param-row>span:nth-child(6){display:none}}.module-state-chip{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-size:.7rem;letter-spacing:.02em}.module-state-chip.pending{background:var(--panel-muted);color:var(--surface-soft)}.module-state-chip.ready{background:#2dd4bf26;color:#5eead4;border:1px solid rgba(45,212,191,.6)}:root[data-theme=light] .module-state-chip.ready{background:#14b8a61f;color:#0f766e;border-color:#14b8a659}.module-state-chip.active{background:#0f766e;color:#f0fdfa}.module-state-chip.always-on{background:#3b82f633;color:var(--accent)}.module-tile.pending{opacity:.7}.module-tile.ready{border-color:#2dd4bf66}.module-tile.active{border-color:#3b82f6b3;box-shadow:0 0 0 1px #3b82f64d}.module-helper{font-size:.75rem;color:var(--text-secondary)}.module-dependency{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.75rem;color:#fbbf24}.module-requirements{font-size:.75rem;color:#fca5a5}.modules-gl-validation{display:flex;flex-direction:column;height:100%;overflow:hidden}.modules-gl-validation .modules-validation{flex:1;overflow-y:auto;padding:10px 12px;font-size:.8rem;color:var(--text-secondary)}.modules-validation{font-size:.8rem;color:var(--text-secondary)}.modules-validation ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.modules-validation li{border-radius:8px;border:1px dashed rgba(148,163,184,.4);padding:8px 10px}.modules-validation-title{text-transform:uppercase;font-size:.65rem;letter-spacing:.08em;color:var(--panel-muted);margin-bottom:6px}.network-diagram{margin-top:24px;padding:20px;border-radius:16px;background:var(--surface-alt);border:1px solid var(--panel-border);color:var(--app-fg)}.network-diagram.empty{text-align:center}.network-diagram-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.network-diagram-header h2{margin:0 0 6px;font-size:18px}.network-diagram-header p{margin:0;color:var(--panel-muted)}.network-diagram-controls{display:flex;align-items:center;gap:12px}.network-controls-float{position:absolute;top:10px;left:10px;z-index:600;max-width:min(440px,calc(100% - 20px));padding:8px;border-radius:12px;background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:0 6px 20px #00000047}.network-controls-float-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:0 2px}.network-controls-float-title{font-size:.72rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--panel-muted)}.network-controls-float .network-diagram-controls{flex-wrap:wrap;gap:8px}.network-controls-float .network-search{min-width:0;flex:1 1 150px;padding:7px 28px 7px 10px}.network-diagram-controls .network-search-wrap,.network-controls-float .network-search-wrap{flex:1 1 150px;min-width:0}.network-controls-float-toggle,.network-controls-fab{border:1px solid var(--panel-border);background:var(--surface-glass);color:var(--app-fg);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0;transition:background .15s ease}.network-controls-float-toggle{width:22px;height:22px;border-radius:7px;font-size:1.1rem}.network-controls-float-toggle:hover,.network-controls-fab:hover{background:var(--surface-glass-heavy)}.network-controls-fab{position:absolute;top:10px;left:10px;z-index:600;width:34px;height:34px;border-radius:10px;font-size:1.15rem;background:var(--panel-bg);box-shadow:0 6px 20px #00000047}.network-search{min-width:220px;padding:10px 12px;border-radius:10px;border:1px solid var(--panel-border);background:var(--panel-bg);color:var(--app-fg)}.network-layout-mode{display:inline-flex;align-items:center;border:1px solid var(--panel-border);border-radius:10px;overflow:hidden}.network-layout-mode button{border:none;border-radius:0;padding:8px 12px}.network-layout-mode button+button{border-left:1px solid var(--panel-border)}.network-layout-mode button.is-active{background:var(--accent, #2f6feb);color:#fff}.network-physics-toggle{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--app-fg);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.network-physics-toggle input{cursor:pointer;margin:0}.network-diagram-body{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:16px}.network-diagram-body.single{grid-template-columns:minmax(0,1fr)}.network-graph{position:relative}.network-legend{display:flex;flex-wrap:wrap;gap:16px;padding:8px 12px;margin-bottom:8px;border-radius:8px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);font-size:.75rem;color:var(--panel-muted)}.network-legend-section{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.network-legend-title{font-weight:600;color:var(--app-fg);margin-right:4px}.network-legend-item{display:inline-flex;align-items:center;gap:4px;text-transform:capitalize}.network-graph{background:var(--surface-alt);border-radius:12px;border:1px solid var(--panel-border);padding:8px;overflow:hidden}.network-box-select{position:absolute;z-index:5;pointer-events:none;border:1px dashed #f0b429;background:#f0b4291f;border-radius:2px}.network-selection-bar{position:absolute;left:50%;bottom:16px;transform:translate(-50%);z-index:6;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);box-shadow:0 6px 20px #00000047;font-size:.8rem;color:var(--app-fg)}.network-selection-count{font-weight:600}.network-selection-detail{font-weight:400;color:var(--panel-muted)}.network-selection-btn{padding:4px 10px;border-radius:7px;border:1px solid var(--panel-border);background:var(--surface-alt);color:var(--app-fg);font-size:.78rem;cursor:pointer}.network-selection-btn:hover:not(:disabled){border-color:#58a6ff}.network-selection-btn:disabled{opacity:.5;cursor:default}.network-selection-btn-danger:hover:not(:disabled){border-color:#f85149;color:#f85149}.network-panel-title{font-weight:600;margin-bottom:8px}.network-panel-row{display:flex;justify-content:space-between;margin-bottom:8px;color:var(--app-fg)}.network-panel-row .label{color:var(--panel-muted)}.network-panel-section{margin-top:16px}.equation-c-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.equation-c-modal{background:var(--app-bg, #fff);color:var(--app-fg);border:1px solid var(--panel-border);border-radius:12px;width:min(860px,100%);max-height:88vh;display:flex;flex-direction:column;box-shadow:0 12px 48px #00000059}.equation-c-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--panel-border)}.equation-c-h-title{font-weight:600;font-size:1.05rem}.equation-c-sub{font-size:.82rem;color:var(--app-fg-muted, #8a8f98);margin-top:2px}.equation-c-body{padding:12px 16px;overflow-y:auto}.equation-c-empty{padding:24px;text-align:center;color:var(--app-fg-muted, #8a8f98)}.equation-c-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.equation-c-legend{width:100%;border-collapse:collapse;font-size:.86rem}.equation-c-legend th,.equation-c-legend td{text-align:left;padding:5px 8px;border-bottom:1px solid var(--panel-border);vertical-align:top}.equation-c-legend th{font-weight:600;color:var(--app-fg-muted, #8a8f98)}.equation-c-legend code{font-size:.82em}.equation-c-sym{white-space:nowrap}.equation-c-snippet{margin:8px 0}.equation-c-caption{font-size:.8rem;color:var(--app-fg-muted, #8a8f98);margin-bottom:3px}.equation-c-note{font-style:italic}.equation-c-code{margin:0;padding:10px;border-radius:8px;background:var(--surface-alt);border:1px solid var(--panel-border);overflow-x:auto;font-size:.8rem;line-height:1.45}.equation-c-code-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;width:100%;background:var(--surface-alt);color:var(--app-fg);border:1px solid var(--panel-border);border-radius:8px;padding:8px}.equation-c-error{color:var(--danger, #d64545)}.equation-c-remove{color:var(--danger, #d64545);border-color:var(--danger, #d64545)}.equation-c-stale{font-size:.84rem;padding:8px 10px;border-radius:8px;margin:6px 0;background:color-mix(in srgb,var(--warning, #c8892a) 12%,transparent);border:1px solid color-mix(in srgb,var(--warning, #c8892a) 45%,transparent)}.network-equation-canonical{font-weight:400;font-size:.78em;color:var(--app-fg-muted, #8a8f98);opacity:.85}.network-equation{padding:10px;border-radius:8px;background:var(--surface-alt);border:1px solid var(--panel-border);color:var(--app-fg);overflow-x:auto}.network-equation .MathJax{font-size:1rem}.network-equation mjx-container{display:block;margin:0}.network-impl-note{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding:7px 10px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.35);border-radius:5px}.network-impl-note-badge{font-size:11px;font-weight:600;color:#fbbf24;letter-spacing:.02em}.network-impl-note-text{font-size:11px;color:#d97706;line-height:1.4}.network-params{display:flex;flex-wrap:wrap;gap:8px}.network-param{border:1px solid var(--panel-border);cursor:pointer;font:inherit;padding:4px 8px;border-radius:999px;background:var(--surface-alt);color:var(--panel-muted);font-size:12px;transition:color .2s ease,border-color .2s ease,background .2s ease}.network-param:hover,.network-param[aria-pressed=true]{color:var(--app-fg);border-color:#58a6ff;background:#58a6ff1f}.network-param-details{margin-top:12px;display:grid;gap:8px}.network-param-card{border-radius:10px;background:var(--surface-alt);border:1px solid var(--panel-border);padding:12px;color:var(--app-fg);display:grid;gap:8px}.network-param-card.empty{color:var(--panel-muted)}.network-param-name{font-weight:600;color:var(--app-fg)}.network-param-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.network-param-badge{font-size:11px;text-transform:uppercase;letter-spacing:.08em;padding:2px 8px;border-radius:999px;border:1px solid var(--panel-border);color:var(--panel-muted);background:var(--surface-alt)}.network-param-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--panel-muted)}.network-param-desc{margin:0}.network-param-limits{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--panel-muted)}.network-param-values{margin-top:8px;display:grid;gap:6px}.network-param-values-title{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--panel-muted)}.network-param-values-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;font-size:12px;color:var(--app-fg);padding:6px 8px;border-radius:8px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border)}.network-param-values-row.muted{color:var(--panel-muted);grid-template-columns:1fr}.network-param-values-row-inline{grid-template-columns:auto 1fr auto auto}.network-param-symbol{font-weight:600;font-family:var(--mono-font, ui-monospace, SFMono-Regular, Menlo, monospace)}.network-param-label{color:var(--panel-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.network-param-scope{font-weight:600}.network-param-value{color:var(--app-fg)}.network-param-unit{color:var(--panel-muted)}.network-empty{padding:32px;color:var(--panel-muted)}.network-context-menu{position:fixed;z-index:20;padding:8px;border-radius:10px;background:var(--surface-alt);border:1px solid var(--panel-border);display:grid;gap:6px}.network-context-menu .ghost{width:180px;justify-content:center}.network-graph.linking{cursor:crosshair}.network-controls-separator{display:inline-block;width:1px;height:18px;background:var(--panel-border);margin:0 4px;vertical-align:middle}.ghost.active{background:#58a6ff26;color:#58a6ff}.link-status-bar{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:var(--panel-muted);padding:0 4px}.edge-type-picker{max-height:320px;overflow-y:auto}.edge-type-picker-title{font-size:.78rem;color:var(--panel-muted);padding:0 4px 4px;border-bottom:1px solid var(--panel-border);margin-bottom:4px}.edge-type-option{display:flex;align-items:center;gap:8px;text-transform:capitalize}.edge-type-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.ghost.danger{color:#e53e3e}.ghost.danger:hover{background:#e53e3e1a}@media(max-width:980px){.modules-layout{grid-template-columns:1fr}}.panel-header{padding:8px 12px;border-bottom:1px solid var(--panel-border);font-weight:600;font-size:.86rem;display:flex;align-items:center;justify-content:space-between;gap:8px}.layer-panel>.panel-header>div{display:flex;flex-direction:column;min-width:0}.new-place-btn{font-size:.72rem;padding:3px 9px;white-space:nowrap;flex-shrink:0}.new-place-cta{display:flex;align-items:center;gap:10px;margin:10px 10px 6px;padding:12px;background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:10px}.new-place-cta-text{display:flex;flex-direction:column;gap:3px;min-width:0}.new-place-cta-text strong{font-size:.84rem;color:var(--text-bright)}.new-place-cta-text span{font-size:.72rem;color:var(--text-muted);line-height:1.35}.new-place-size{display:flex;flex-direction:column;gap:3px;margin-top:6px}.new-place-size>span{font-size:.72rem;color:var(--text-secondary)}.new-place-size input[type=range]{width:100%;accent-color:var(--accent)}.cell-edit-controls{display:flex;flex-direction:column;gap:6px}.cell-edit-hint{font-size:.74rem;color:var(--text-muted)}.cell-edit-buttons{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.grid-tools{display:flex;flex-direction:column;gap:8px}.topology-toggle{display:flex;align-items:center;gap:5px;font-size:.74rem;color:var(--text-secondary);cursor:pointer}.grid-tools-chip-body{display:flex;flex-direction:column;gap:8px;padding-left:4px}.grid-tools-chip-body .cell-edit-hint{font-size:.72rem;color:var(--text-muted);line-height:1.35}.grid-tools-chip-body .new-place-cta-btn{align-self:flex-start}.new-place-cta-btn{flex-shrink:0;background:var(--accent);color:#fff;border:none;border-radius:7px;padding:9px 13px;font-size:.77rem;font-weight:600;cursor:pointer;white-space:nowrap}.new-place-cta-btn:hover{filter:brightness(1.08)}.copilot-panel-header{padding:6px 10px}.copilot-panel-header-main{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.copilot-panel-title{flex:0 0 auto}.copilot-toolbar-inline{flex:1 1 auto;min-width:0}.panel-subtitle{font-size:.75rem;color:var(--panel-muted);font-weight:500}.panel-pill{padding:4px 10px;border-radius:999px;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;background:var(--surface-soft)}.panel-pill.success{background:#166534cc}.panel-pill.warn{background:#92400ecc}.panel-pill.info{background:#1e40afcc}:root[data-theme=light] .panel-pill.success{background:#16a34a26;color:#15803d}:root[data-theme=light] .panel-pill.warn{background:#f59e0b26;color:#b45309}:root[data-theme=light] .panel-pill.info{background:#2563eb1f;color:#1d4ed8}.panel-body{padding:10px 12px 12px;display:grid;gap:8px;overflow:auto;min-height:0}.map-status-chips,.map-panel-status-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.map-panel-header-main{display:inline-flex;align-items:baseline;gap:10px;min-width:0}.map-panel-status-chips{flex:1;min-width:0}.results-hover-panel{position:sticky;top:0;z-index:3;display:grid;gap:8px;padding:12px;border-radius:12px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.results-hover-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.results-hover-title{font-size:.85rem;font-weight:600}.results-hover-subtitle{font-size:.75rem;color:#94a3b8e6}.results-hover-chart{height:120px;border-radius:10px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy);display:grid;place-items:center;overflow:hidden}.results-hover-chart svg{width:100%;height:100%}.results-hover-chart polyline{fill:none;stroke:#38bdf8;stroke-width:2}.results-hover-chart circle{fill:#facc15}.results-hover-chart .axis line{stroke:#94a3b880;stroke-width:1}.results-hover-chart .axis text{fill:#94a3b8e6;font-size:7px}.results-hover-empty{font-size:.75rem;color:#94a3b8e6;padding:12px;text-align:center}.results-hover-axis{display:flex;gap:8px;font-size:.65rem;color:#94a3b8d9;overflow-x:auto}.map-panel .panel-body{display:flex;flex-direction:column;height:100%}.map-panel{min-height:320px}.map-placeholder{position:relative;border:1px dashed var(--input-border);border-radius:10px;min-height:240px;flex:1;display:flex;align-items:stretch;justify-content:stretch;background:var(--surface-glass-heavy);overflow:hidden}.map-viewport{position:absolute;inset:0;overflow:hidden;cursor:grab}.map-viewport.dragging{cursor:grabbing}.map-viewport.drawing{cursor:crosshair}.map-viewport.painting{cursor:cell}.map-viewport.drawing.near-vertex{cursor:pointer}.map-stage{position:absolute;inset:0;transform-origin:0 0;will-change:transform}.map-overlay{position:absolute;inset:0;pointer-events:none;will-change:transform}.map-leaflet{position:absolute;inset:0;z-index:0;background:#b9d6e8}.map-leaflet.hidden{visibility:hidden}.map-leaflet .leaflet-container{height:100%;width:100%;background:#b9d6e8}.map-overlay,.map-layer-canvas,.map-draw-layer,.map-markers{z-index:2}.map-layer-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.85;mix-blend-mode:screen}.map-draw-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.map-draw-layer polygon{fill:#38bdf838;stroke:#38bdf8cc;stroke-width:1.2;vector-effect:non-scaling-stroke}.map-draw-layer polygon.pending{fill:#facc1533;stroke:#facc15d9;stroke-dasharray:4 4}.map-draw-layer polyline{fill:none;stroke:#94a3b8cc;stroke-width:1.2;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.map-draw-layer circle{fill:#94a3b8d9;stroke:#1e293be6;stroke-width:1}.map-draw-layer circle.draw-vertex.active{fill:#38bdf8f2;stroke:var(--surface-glass-heavy)}.paint-bounds-rect{fill:#38bdf814;stroke:#38bdf8bf;stroke-width:1.5;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.map-basemap{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.map-basemap path{fill:none;stroke:#94a3b899;stroke-width:1.2;vector-effect:non-scaling-stroke}.map-markers{position:absolute;inset:0;pointer-events:auto}.map-marker{position:absolute;transform:translate(-50%,-50%);padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.4);background:var(--surface-glass-heavy);color:var(--app-fg);font-size:.7rem;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.map-marker.active{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf84d;transform:translate(-50%,-50%) scale(1.05)}.cursor-coords{position:absolute;bottom:8px;left:8px;padding:3px 8px;font-size:11px;font-family:var(--font-mono, monospace);color:var(--text-secondary, #cdd6f4);background:var(--surface-glass, rgba(24, 24, 37, .75));border-radius:4px;pointer-events:none;opacity:0;transition:opacity .15s;z-index:10;white-space:nowrap}.cell-value-tooltip{position:absolute;padding:6px 10px;font-size:11.5px;line-height:1.45;font-family:var(--font-mono, monospace);color:#f5f7ff;background:#0a0c16f5;border:1px solid rgba(56,189,248,.55);border-radius:5px;box-shadow:0 6px 18px #0000008c;pointer-events:none;opacity:0;transition:opacity .1s;z-index:12;white-space:nowrap}.cell-value-tooltip .ctt-row{display:flex;gap:6px;align-items:baseline}.cell-value-tooltip .ctt-key{font-weight:700;color:#7dd3fc}.cell-value-tooltip .ctt-val{font-weight:400;color:#f5f7ff}.map-tooltip{position:absolute;transform:translate(16px,-12px);min-width:180px;max-width:240px;padding:10px 12px;border-radius:10px;border:1px solid rgba(56,189,248,.4);background:var(--surface-glass-heavy);box-shadow:0 16px 32px var(--shadow-color);font-size:.75rem;color:var(--app-fg);pointer-events:none;z-index:6}.map-tooltip.is-pinned{border-color:#22c55e99;box-shadow:0 18px 36px var(--shadow-color)}.map-tooltip-title{font-weight:600;margin-bottom:6px;color:#38bdf8}.map-tooltip-row{display:flex;justify-content:space-between;gap:12px;color:var(--text-secondary);margin-bottom:4px}.map-tooltip-row span:last-child{color:var(--app-fg);text-align:right;flex:1}.map-tooltip-hint{margin-top:6px;color:var(--panel-muted);font-size:.7rem}.map-cell-size{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:8px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);border-radius:999px;padding:6px 10px;font-size:.75rem}.map-resolution{color:var(--panel-muted);font-size:.7rem}.map-cell-size input[type=range]{accent-color:#38bdf8;width:160px}.map-cell-size input[type=number]{width:72px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:4px 6px}.map-spatial-toggle{position:absolute;bottom:54px;right:12px;display:flex;justify-content:flex-end;align-items:center;gap:8px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);border-radius:999px;padding:6px 10px;font-size:.75rem}.map-spatial-panel{position:absolute;bottom:110px;right:12px;width:320px;display:grid;gap:8px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);border-radius:12px;padding:10px 12px;font-size:.75rem}.map-label{padding:6px 12px;border-radius:999px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);font-size:.75rem}.map-legend{position:absolute;bottom:12px;right:12px;background:var(--app-bg);border:1px solid var(--panel-border);border-radius:8px;padding:8px 10px;font-size:.75rem}.map-legend .cell-inspect-toggle{margin-top:0}.mimes-map-controls{position:absolute;top:12px;left:12px;z-index:6;display:flex;flex-direction:column;gap:6px;max-width:360px;padding:8px 10px;font-size:12px;color:var(--app-fg);background:var(--app-bg);border:1px solid rgba(14,165,233,.35);border-radius:8px;box-shadow:0 4px 16px #00000040;pointer-events:auto}.mimes-map-controls select,.mimes-map-controls input[type=range]{pointer-events:auto}.legend-title{margin-bottom:6px;color:var(--text-secondary)}.legend-bar{height:8px;border-radius:999px;background:linear-gradient(90deg,#38bdf8,#22c55e,#f59e0b)}.legend-labels{display:flex;justify-content:space-between;margin-top:4px;color:var(--panel-muted)}.cell-inspect-toggle{margin-top:8px;width:100%;padding:3px 0;font-size:.7rem;font-family:var(--font-mono, monospace);color:var(--text-secondary);background:var(--surface-glass, rgba(24, 24, 37, .75));border:1px solid var(--panel-border);border-radius:4px;cursor:pointer;transition:color .15s,border-color .15s}.cell-inspect-toggle:hover{color:var(--app-fg);border-color:#38bdf866}.map-tools{position:absolute;top:12px;right:12px;display:flex;gap:8px}.draw-status{position:absolute;top:56px;right:12px;display:grid;gap:8px;padding:10px 12px;border-radius:10px;border:1px solid var(--panel-border);background:var(--surface-glass-heavy);font-size:.75rem;max-width:240px}.draw-actions{display:flex;gap:8px;flex-wrap:wrap}.draw-inline{display:grid;gap:4px;font-size:.7rem}.draw-inline select,.draw-inline input{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:6px 8px}.paint-controls{max-width:280px;gap:10px}.paint-hint{font-size:.7rem;color:var(--panel-muted)}.paint-row{display:grid;grid-template-columns:60px 1fr;align-items:center;gap:10px}.paint-label{font-size:.7rem;color:var(--text-secondary);display:inline-flex;align-items:center;gap:6px}.paint-badge{display:inline-block;min-width:22px;text-align:center;padding:1px 6px;border-radius:999px;background:var(--surface-soft);color:#38bdf8;font-size:.65rem;font-variant-numeric:tabular-nums}.paint-segmented{display:flex;border:1px solid var(--input-border);border-radius:8px;overflow:hidden}.paint-segmented button{flex:1;background:var(--surface-alt);color:var(--text-secondary);border:none;padding:6px 8px;font-size:.7rem;cursor:pointer;transition:background .12s ease,color .12s ease}.paint-segmented button+button{border-left:1px solid var(--input-border)}.paint-segmented button:hover{background:var(--panel-bg)}.paint-segmented button.active{background:var(--surface-soft);color:#facc15;box-shadow:inset 0 0 0 1.5px #facc15}.paint-controls input[type=range]{width:100%;accent-color:#38bdf8}.paint-brush-control{display:flex;align-items:center;gap:10px}.paint-brush-control input[type=range]{flex:1}.paint-brush-preview{width:48px;height:48px;border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);flex-shrink:0}.paint-controls input[type=number]{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:6px 8px;width:100%;font-size:.75rem}.paint-actions{display:flex;gap:8px;margin-top:2px}.paint-actions button{flex:1}.draw-metadata{margin-top:8px;padding-top:10px;border-top:1px solid var(--panel-border);display:grid;gap:10px}.draw-metadata-header{font-weight:600}.draw-metadata label{display:grid;gap:6px}.draw-metadata input{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:6px 8px}.draw-errors{color:#fca5a5;display:grid;gap:4px}.layer-feedback-inline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.map-time{position:absolute;bottom:12px;right:12px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:var(--surface-glass-heavy);border:1px solid var(--panel-border);border-radius:999px;padding:6px 10px;font-size:.75rem;max-width:calc(100% - 24px)}:root[data-theme=light] .map-time,:root[data-theme=light] .map-spatial-toggle,:root[data-theme=light] .map-spatial-panel{background:#ffffffeb;border-color:#94a3b859;box-shadow:0 2px 8px #0000001f}.map-time input[type=range]{accent-color:#38bdf8}.map-time-slider{width:220px;max-width:40vw}.map-time .ghost{min-width:28px;height:28px;padding:0 6px;font-size:.75rem}.map-time-label{min-width:72px;text-align:center;font-variant-numeric:tabular-nums}.map-time-label.muted{color:#94a3b8cc}.map-metadata-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.map-metadata-grid.compact{margin-top:0}.map-metadata-grid .span-2{grid-column:span 2}.map-metadata-inline{display:flex;gap:8px;align-items:center}.map-metadata-inline input[type=range]{flex:1}.map-metadata-grid.tight{grid-template-columns:1fr;margin-top:0}.map-metadata-grid .bounds-actions button{width:100%}.map-metadata-grid label,.map-metadata-field{display:grid;gap:4px;font-size:.7rem;color:#c7d0db}.map-metadata-grid input,.map-metadata-grid select,.map-metadata-field input,.map-metadata-field select{background:#0f1724;border:1px solid #273043;color:var(--text-bright);padding:6px 8px;border-radius:8px;font-size:.7rem}.map-metadata-summary{font-size:.7rem;color:var(--panel-muted);align-self:center}.spatial-advanced-toggle{font-size:.65rem;color:var(--text-dim);padding:2px 0;text-align:left}.unit-toggle-inline{display:inline;font-size:inherit;color:var(--accent);padding:0 2px;margin:0;text-decoration:underline;cursor:pointer;background:none;border:none;line-height:inherit}.bbox-rect{fill:#38bdf826;stroke:#38bdf8;stroke-width:1.5px;stroke-dasharray:4 3}.bbox-handle{fill:#38bdf8;stroke:var(--surface-glass-heavy);stroke-width:1.5}.list-row{display:flex;justify-content:space-between;align-items:center}.layer-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid transparent;background:var(--surface-glass);text-align:left;flex-wrap:nowrap}.layer-row.layer-row-missing{opacity:.7;background:var(--surface-glass);border:1px dashed rgba(148,163,184,.4)}.layer-inactive-hint{padding:10px 14px;text-align:center;font-size:.82rem;color:#94a3b8b3;font-style:italic}.layer-row.layer-row-missing:has(.layer-menu){opacity:1}.layer-row.layer-row-missing .layer-menu-wrap,.layer-row.layer-row-missing .layer-menu,.layer-row.layer-row-missing .layer-menu .ghost{opacity:1}.layer-row.active{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb4d}.layer-left{display:flex;gap:10px;align-items:center;min-width:0;flex:1 1 auto;overflow:hidden}.layer-heading{min-width:0;display:grid;gap:2px;flex:1 1 auto}.layer-initial-condition-row{margin-top:8px;position:relative}.layer-initial-condition-input{display:inline-flex;align-items:center;gap:8px;font-size:.75rem;color:var(--panel-muted)}.layer-initial-condition-label{white-space:nowrap}.layer-initial-condition-input input{width:96px;padding:4px 6px;border-radius:8px;border:1px solid rgba(148,163,184,.25);background:var(--surface-glass-heavy);color:var(--app-fg);font-size:.75rem}.layer-initial-condition-help{position:absolute;left:0;top:calc(100% + 6px);max-width:320px;padding:8px 10px;border-radius:8px;background:var(--surface-glass-heavy);border:1px solid rgba(148,163,184,.22);box-shadow:0 10px 24px #00000047;font-size:.72rem;color:var(--text-dim);opacity:0;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease;z-index:5}.layer-initial-condition-row:hover .layer-initial-condition-help{opacity:1;transform:translateY(0)}.layer-initial-condition-scope{font-size:.68rem;color:var(--text-dim);font-style:italic}.layer-initial-condition-toggle{margin-top:4px;margin-left:0;background:transparent;border:none;color:var(--panel-muted);font-size:.72rem;padding:2px 4px;cursor:pointer;text-align:left}.layer-initial-condition-toggle:hover{color:var(--app-fg)}.layer-initial-condition-bioregions{margin-top:4px;display:grid;gap:4px;padding-left:10px;border-left:2px solid rgba(148,163,184,.18)}.layer-initial-condition-bioregion-row{display:grid;grid-template-columns:minmax(60px,100px) 96px auto;align-items:center;gap:8px;font-size:.72rem;color:var(--panel-muted)}.layer-initial-condition-bioregion-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.layer-initial-condition-bioregion-row input{width:96px;padding:3px 6px;border-radius:8px;border:1px solid rgba(148,163,184,.25);background:var(--surface-glass-heavy);color:var(--app-fg);font-size:.72rem}.layer-initial-condition-reset{padding:2px 6px;font-size:.8rem;line-height:1}.layer-initial-condition-reset:disabled{opacity:.3;cursor:not-allowed}.layer-title-row{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}.layer-name{font-weight:600}.layer-file-inline{font-size:.72rem;color:var(--panel-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:28ch}.layer-meta{font-size:.75rem;color:var(--panel-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.layer-resolution-badge{display:inline-block;font-size:.7rem;padding:1px 5px;border-radius:3px;background:var(--surface-glass);color:var(--panel-muted);margin-left:4px;font-family:SF Mono,Fira Code,monospace}button.layer-resolution-badge.resolution-mismatch{border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s}button.layer-resolution-badge.resolution-mismatch:hover{background:var(--resolution-match-bg);color:var(--status-green);border-color:var(--resolution-match-border)}.layer-resolution-badge.resolution-match{background:var(--resolution-match-bg);color:var(--status-green);border:1px solid var(--resolution-match-border)}.layer-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;justify-content:flex-end;position:relative;margin-left:auto;flex:0 0 auto}.layer-menu-wrap{position:relative}.layer-menu-trigger{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:34px;min-width:34px;padding:7px 6px}.layer-menu-trigger span{width:14px;height:2px;border-radius:999px;background:currentColor}.layer-menu{position:fixed;min-width:180px;display:grid;gap:6px;padding:8px;border-radius:10px;background:var(--app-bg);border:1px solid rgba(148,163,184,.25);box-shadow:0 12px 24px var(--shadow-color);z-index:9999}.layer-menu .ghost{width:100%;justify-content:flex-start}.layer-citation-menu{min-width:260px}.layer-citation-label{font-size:.82rem;font-weight:600;color:#cbd5e1e6;padding:2px 4px}.layer-citation-input{width:100%;box-sizing:border-box;resize:vertical;font:inherit;font-size:.82rem;padding:6px 8px;border-radius:6px;border:1px solid rgba(148,163,184,.3);background:var(--surface-glass-heavy);color:inherit}.layer-citation-input:focus{outline:none;border-color:#2563eb}.layer-citation-actions{display:flex;justify-content:flex-end;gap:6px}.layer-cta-group{display:flex;gap:8px;flex-wrap:wrap}.layer-group{display:grid;gap:8px}.layer-feedback{border-radius:10px;border:1px dashed rgba(148,163,184,.4);padding:10px 12px;background:var(--surface-glass);display:grid;gap:10px;font-size:.75rem;color:var(--text-secondary)}.layer-feedback-block ul{margin:6px 0 0 16px;padding:0;display:grid;gap:4px}.layer-feedback-title{font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:.65rem}.layer-feedback-block.error{color:#fca5a5}.layer-feedback-block.warning{color:#fbbf24}.file-input-hidden{display:none}.layer-chip{font-size:.7rem;padding:2px 8px;border-radius:999px;background:var(--surface-soft)}.layer-chip.layer-progress{background:#2563eb33;border:1px solid rgba(59,130,246,.5);color:var(--accent)}.layer-chip.layer-chip-warn{background:#f9731629;border:1px solid rgba(249,115,22,.55);color:#f97316;font-weight:600}.provisioning-card{text-align:center;max-width:380px;display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 26px}.provisioning-card h2{margin:0}.provisioning-card p{margin:0;color:var(--text-muted);font-size:.82rem;line-height:1.45}.provisioning-spinner{width:38px;height:38px;border-radius:50%;border:3px solid var(--accent-border);border-top-color:var(--accent);animation:provisioning-spin .8s linear infinite}@keyframes provisioning-spin{to{transform:rotate(360deg)}}.provisioning-elapsed{color:var(--text-muted);font-size:.8rem;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.provisioning-spinner,.layer-spinner{animation:none}}.layer-chip.loading{background:#2563eb40;border:1px solid rgba(59,130,246,.55);color:var(--accent)}.layer-chip.layer-ingestion-warning{background:#eab30833;border:1px solid rgba(234,179,8,.5);color:#fde68a;cursor:help}.layer-chip.layer-ingestion-needs_user_input{background:#eab30840;border:1px solid rgba(234,179,8,.7);color:#fef08a;cursor:pointer}.layer-chip.layer-ingestion-rejected,.layer-chip.layer-job-failed{background:#ef444433;border:1px solid rgba(239,68,68,.5);color:#fca5a5;cursor:help}.layer-row-clickable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease,border-color .12s ease}.layer-row-clickable:hover{background:#1e293ba6;border-color:#3b82f659}.layer-row-clickable:focus-visible{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb73}.layer-row-clickable.is-loading{cursor:progress}.layer-spinner{width:12px;height:12px;border-radius:50%;border:2px solid rgba(148,163,184,.35);border-top-color:#60a5fa;animation:layer-spinner-spin .8s linear infinite;flex:0 0 auto}@keyframes layer-spinner-spin{to{transform:rotate(360deg)}}.map-loading-badge{position:absolute;top:12px;left:50%;transform:translate(-50%);z-index:500;display:flex;align-items:center;gap:9px;padding:7px 13px;border-radius:999px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:12.5px;font-weight:600;box-shadow:0 4px 14px var(--shadow-color);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none;animation:mc-fade-in .15s ease-out}.map-loading-badge .layer-spinner{width:14px;height:14px}.result-reticule-cell{fill:none;stroke:#ef4444;stroke-width:2;vector-effect:non-scaling-stroke}.sim-layout{display:grid;grid-template-columns:1fr 320px;gap:16px;flex:1;min-height:0}.sim-left,.sim-right{display:flex;flex-direction:column;gap:12px;min-height:0}.sim-run-panel .panel-body{gap:10px}.sim-run-controls{display:flex;flex-direction:column;gap:10px}.sim-param-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.sim-inline-field{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-secondary)}.sim-inline-field input{width:72px;border-radius:6px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:4px 8px;font-size:.8rem;text-align:center}.sim-field-unit{font-size:.75rem;color:var(--panel-muted)}.sim-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sim-actions-secondary{display:inline-flex;gap:4px;margin-left:auto}.sim-actions-secondary .ghost{font-size:.72rem;padding:4px 8px;opacity:.7}.sim-actions-secondary .ghost:hover{opacity:1}.sim-console-panel{flex:1;min-height:0;display:flex;flex-direction:column}.sim-console-body{margin-top:0;border-radius:0 0 10px 10px;flex:1;min-height:80px;max-height:none}@media(max-width:860px){.sim-layout{grid-template-columns:1fr}}.simulation-progress{display:grid;gap:6px;margin-top:8px}.simulation-progress-label{font-size:.8rem;color:var(--text-secondary)}.simulation-progress-bar{position:relative;height:10px;border-radius:999px;background:#1e293bb3;overflow:hidden;border:1px solid rgba(59,130,246,.4)}.simulation-progress-bar span{position:absolute;inset:0;width:40%;background:linear-gradient(90deg,#3b82f633,#3b82f6e6);animation:simulation-progress 1.4s ease-in-out infinite}.simulation-progress-bar span[style]{animation:none}@keyframes simulation-progress{0%{transform:translate(-100%)}50%{transform:translate(30%)}to{transform:translate(220%)}}.ghost.warn{border-color:#f59e0b59;color:#fbbf24}.ghost.warn:hover{background:#f59e0b26}.layer-footer{display:grid;gap:8px;margin-top:8px}.status-pill{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#1e293bcc;font-size:.85rem}.status-pill.success{background:#166534b3}.status-pill.warn{background:#92400eb3}.status-pill.danger{background:#b91c1cb3}.status-pill.info{background:#1e40afb3}.requirements-panel{min-height:260px}.requirements-list{display:grid;gap:12px}.requirement-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;background:var(--surface-glass);border:1px solid var(--panel-border)}.requirement-label{display:flex;align-items:center;gap:8px;font-weight:600}.requirement-detail{margin:6px 0 0;font-size:.8rem;color:var(--panel-muted)}.requirement-conditional{font-size:.7rem;color:#f59e0b}.requirement-optional{font-size:.7rem;padding:2px 6px;border-radius:999px;background:#94a3b833}.inspector-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspector-title{font-weight:600}.inspector-subtitle{font-size:.8rem;color:var(--panel-muted)}.inspector-stack{display:grid;gap:10px}.inspector-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid var(--panel-border);background:var(--surface-glass)}.inspector-label{font-weight:600}.inspector-meta{font-size:.75rem;color:var(--panel-muted)}.inspector-links{font-size:.75rem;color:#38bdf8}.inspector-value{font-size:1.1rem;font-weight:600}.inspector-units{margin-left:4px;font-size:.75rem;color:var(--panel-muted)}.sparkline{height:80px;border-radius:8px;background:linear-gradient(90deg,#3b82f633,#22c55e4d)}.app-copilot-splitter{width:5px;flex-shrink:0;cursor:col-resize;background:var(--panel-border);transition:background .15s ease}.app-copilot-splitter:hover,.app-copilot-splitter:active{background:var(--accent)}.app-copilot{flex-shrink:0;background:var(--panel-bg);display:flex;flex-direction:column;overflow:hidden}.app-copilot.collapsed{border-left:1px solid var(--panel-border)}.app-copilot.collapsed>.copilot-panel{display:none}.app-copilot-rail{flex:1 1 auto;width:100%;border:none;background:var(--header-bg);color:var(--app-fg);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 0;font-size:.82rem;font-weight:600;transition:background .15s ease}.app-copilot-rail:hover{background:var(--panel-border)}.app-copilot-rail-chevron{font-size:1.1rem;line-height:1}.app-copilot-rail-label{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.06em}.app-copilot-gl-header{height:38px;min-height:38px;display:flex;align-items:stretch;background:var(--header-bg);border-bottom:1px solid var(--panel-border)}.app-copilot-collapse-btn{margin-left:auto;border:none;background:transparent;color:var(--app-fg);cursor:pointer;padding:0 14px;font-size:1.2rem;line-height:38px;opacity:.7;transition:opacity .15s ease}.app-copilot-collapse-btn:hover{opacity:1}.app-copilot-gl-tab{box-sizing:border-box;height:38px;padding:0 16px;font-size:.88rem;font-weight:600;line-height:38px;color:var(--app-fg);box-shadow:inset 0 -2px 0 var(--accent)}.copilot-modes{display:flex;gap:8px}.copilot-toolbar{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:nowrap;min-width:0;overflow:hidden}.copilot-toolbar-mainline{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 auto;overflow-x:auto;scrollbar-width:none}.copilot-toolbar-mainline::-webkit-scrollbar{display:none}.copilot-compact-button{padding:4px 8px;font-size:.72rem;white-space:nowrap}.copilot-settings{display:flex;flex-direction:column;gap:12px;overflow-y:auto;padding-bottom:12px}.copilot-settings-section{display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1px solid var(--panel-border)}.copilot-settings-heading{font-size:.8rem;font-weight:600;color:var(--panel-muted);text-transform:uppercase;letter-spacing:.06em}.copilot-settings-actions{display:flex;gap:6px}.copilot-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;align-items:center}.copilot-status-strip{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;font-size:11px;color:var(--panel-muted);overflow:hidden}.copilot-status-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;border:1px solid var(--border-subtle);background:var(--shadow-color);color:var(--app-fg);font-size:.68rem;line-height:1;white-space:nowrap}.copilot-status-chip span{color:var(--panel-muted)}.copilot-status-chip.hover-only{display:none}.copilot-status-strip:hover .copilot-status-chip.hover-only{display:inline-flex}.copilot-status-item{display:inline-flex;align-items:baseline;gap:6px;min-width:0}.copilot-status-key{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}.copilot-status-value{font-size:12px;font-weight:600;color:var(--app-fg)}.copilot-status-meta{font-size:10px;color:var(--panel-muted)}.copilot-status-separator{color:var(--text-dim);font-size:11px}.copilot-agents-panel{display:inline-flex;align-items:center;gap:4px;min-width:0;flex:0 0 auto}.copilot-agents-icons{overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;gap:4px}.copilot-agents-icons::-webkit-scrollbar{display:none}.copilot-agents-label{font-size:10px;color:var(--text-dim);letter-spacing:.08em;text-transform:uppercase}.copilot-agents-icons{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.copilot-agent-icon{width:20px;height:20px;border-radius:999px;border:1px solid rgba(59,130,246,.3);background:#1e293ba6;color:#dbeafe;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .12s ease,border-color .12s ease,background .12s ease}.copilot-agent-icon:hover{transform:translateY(-1px);border-color:#60a5facc}.copilot-agent-icon.active{background:#2563eb47}.copilot-agent-icon.complete{background:#22c55e3d;border-color:#4ade8080;color:#dcfce7}.copilot-agent-icon.selected{background:#3b82f68c;border-color:#93c5fdcc;box-shadow:0 0 0 1px #93c5fd59}.copilot-agent-icon.inactive{opacity:.6}.copilot-agent-icon.overflow{background:#64748b59;border-color:#94a3b866;color:#cbd5e1;font-size:9px;min-width:20px;width:auto;padding:0 4px}.copilot-agents-empty{font-size:10px;color:var(--panel-muted)}.copilot-tabs{display:inline-flex;gap:4px;padding:3px;border-radius:999px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);margin-top:-2px}.copilot-tab{border-radius:999px;padding:3px 8px;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;background:transparent;border:1px solid transparent;color:var(--panel-muted)}.copilot-tab.active{background:#2563eb33;border-color:#2563eb99;color:var(--accent)}.checklist-tab-view{max-width:860px;margin:0 auto;padding:24px 32px;height:100%;overflow:auto}.checklist-panel{display:grid;gap:16px;min-height:0}.copilot-tabpanel-shell{min-height:0}.checklist-header-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.checklist-header-left{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.checklist-page-title{font-size:1.4rem;font-weight:800;margin:0;color:var(--app-fg)}.checklist-meta{font-size:.8rem;color:var(--panel-muted)}.checklist-overall-summary{display:grid;gap:10px;padding:14px 18px;border-radius:12px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle)}.checklist-overall-progress-wrap{display:flex;align-items:center;gap:12px}.checklist-overall-progress-bar{flex:1;height:10px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.checklist-overall-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#22c55e);transition:width .4s ease}.checklist-overall-pct{font-size:1.1rem;font-weight:800;color:var(--app-fg);min-width:3ch;text-align:right}.checklist-overall-stats{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.checklist-stat{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:600;color:var(--text-secondary)}.checklist-stat:before{content:"";width:8px;height:8px;border-radius:999px}.checklist-stat.stat-complete:before{background:#22c55e}.checklist-stat.stat-in-progress:before{background:#3b82f6}.checklist-stat.stat-blocked:before{background:#ef4444}.checklist-stat.stat-remaining:before{background:#64748b}.checklist-phase-list,.checklist-task-list,.checklist-subtasks{display:grid;gap:12px}.checklist-phase-list{min-height:0;padding-right:4px}.checklist-phase-card{border:1px solid var(--border-subtle);border-radius:14px;background:var(--surface-glass-heavy);padding:16px 18px;display:grid;gap:12px}.checklist-phase-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.checklist-phase-header-left{display:flex;align-items:center;gap:12px}.checklist-phase-number{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:var(--accent);color:#fff;font-size:.82rem;font-weight:800;flex-shrink:0}.checklist-phase-title{font-weight:700;font-size:1rem;color:var(--app-fg)}.checklist-phase-meta-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.checklist-phase-pct{font-size:.9rem;font-weight:700;color:var(--panel-muted)}.checklist-progress-bar{height:5px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.checklist-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#22c55e);transition:width .4s ease}.checklist-task-card{border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface-glass-heavy);padding:10px 14px;display:grid;gap:8px;transition:border-color .15s ease,box-shadow .15s ease}.checklist-task-card.status-complete{border-left:3px solid #22c55e}.checklist-task-card.status-in_progress{border-left:3px solid #3b82f6}.checklist-task-card.status-blocked{border-left:3px solid #ef4444}.checklist-task-card.status-skipped{border-left:3px solid #f59e0b;opacity:.7}.checklist-task-card.is-expanded{box-shadow:0 0 0 1px var(--accent-subtle, rgba(59, 130, 246, .2))}.checklist-task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.checklist-task-main{display:grid;gap:4px;text-align:left;background:transparent;border:0;color:inherit;padding:0;cursor:pointer}.checklist-task-main-title-row{display:flex;align-items:center;gap:8px}.checklist-task-status-dot{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;font-size:.72rem;flex-shrink:0;border:2px solid var(--border-subtle);color:var(--text-secondary)}.checklist-task-status-dot.status-complete{background:#22c55e;border-color:#22c55e;color:#fff}.checklist-task-status-dot.status-in_progress{border-color:#3b82f6;color:#3b82f6}.checklist-task-status-dot.status-blocked{border-color:#ef4444;color:#ef4444}.checklist-task-status-dot.status-skipped{border-color:#f59e0b;color:#f59e0b}.checklist-task-title{font-weight:600;color:var(--app-fg)}.checklist-task-card.status-complete .checklist-task-title{color:var(--panel-muted);text-decoration:line-through;text-decoration-color:#94a3b866}.checklist-task-expand{color:var(--panel-muted);font-size:.78rem;margin-left:auto}.checklist-task-description,.checklist-subtask-notes,.checklist-empty{font-size:.8rem;color:var(--panel-muted);padding-left:30px}.checklist-task-summary-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-left:30px}.checklist-task-summary-chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);color:var(--text-secondary);font-size:.68rem}.checklist-task-summary-chip.has-content{background:#3b82f61a;border-color:#3b82f640;color:var(--accent)}.checklist-task-side{display:flex;align-items:start}.checklist-task-details{display:grid;gap:8px;padding-top:8px;border-top:1px solid var(--border-subtle);margin-left:30px}.checklist-status-badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 10px;margin-top:4px;font-size:.72rem;font-weight:600;text-transform:capitalize;border:1px solid rgba(148,163,184,.25);background:var(--surface-glass-heavy);color:var(--text-secondary)}.checklist-status-badge.status-complete{background:#22c55e1f;border-color:#22c55e4d;color:#22c55e}.checklist-status-badge.status-in_progress{background:#3b82f61f;border-color:#3b82f64d;color:#3b82f6}.checklist-status-badge.status-blocked{background:#ef44441f;border-color:#ef44444d;color:#ef4444}.checklist-status-badge.status-skipped{background:#f59e0b1f;border-color:#f59e0b4d;color:#f59e0b}.checklist-status-icon{font-size:.7rem}.checklist-status-select,.checklist-add-subtask input,.checklist-task-notes textarea{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg)}.checklist-status-select{min-width:140px;padding:8px 10px}.checklist-status-select.status-complete{color:#22c55e}.checklist-status-select.status-in_progress{color:#3b82f6}.checklist-status-select.status-blocked{color:#ef4444}.checklist-status-select.status-skipped{color:#f59e0b}.checklist-task-notes{display:grid;gap:8px}.checklist-task-notes.compact{grid-template-columns:minmax(0,1fr) auto;align-items:start}.checklist-task-notes textarea{min-height:58px;resize:vertical;padding:8px 10px}.checklist-subtasks-title{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}.checklist-subtasks-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.checklist-subtasks ul{list-style:none;display:grid;gap:6px;padding:0;margin:0}.checklist-subtask-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:start;padding:7px 9px;border-radius:8px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle)}.checklist-subtask-toggle{width:22px;height:22px;border-radius:999px;border:2px solid var(--input-border);background:transparent;color:var(--text-secondary);font-size:.7rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.checklist-subtask-toggle.status-complete{background:#22c55e;border-color:#22c55e;color:#fff}.checklist-subtask-content{min-width:0}.checklist-subtask-content>div:first-child{line-height:1.4}.checklist-add-subtask{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.checklist-add-subtask.compact input{padding:7px 9px}.checklist-remove-inline{padding:2px 7px;min-width:0;line-height:1}.checklist-add-subtask input{padding:9px 10px}.checklist-status-select,.checklist-add-subtask,.checklist-add-subtask input{max-width:100%}@media(max-width:900px){.checklist-tab-view{padding:16px}.checklist-phase-header{flex-direction:column;align-items:flex-start}.checklist-status-select,.checklist-add-subtask{width:100%}.checklist-subtask-row{grid-template-columns:28px minmax(0,1fr)}.checklist-overall-stats{gap:10px}}.status-pending{border-color:#94a3b840}.status-in_progress{border-color:#3b82f673;color:var(--accent)}.status-complete{border-color:#22c55e73;color:var(--status-green)}.status-blocked{border-color:#ef444473;color:var(--error-fg)}.status-skipped{border-color:#f59e0b73;color:var(--status-amber)}.copilot-config{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:6px}.copilot-config label{display:grid;gap:6px;font-size:.75rem;color:var(--text-secondary)}.copilot-config select,.copilot-config input{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:6px 8px}.provider-advanced-toggle{grid-column:1 / -1;justify-self:start;padding:2px 0;margin-top:2px;background:none;border:none;color:var(--text-secondary);font-size:.72rem;cursor:pointer}.provider-advanced-toggle:hover{color:var(--app-fg)}.provider-manager{display:flex;flex-direction:column;gap:10px}.provider-new-toggle{align-self:flex-start;padding:4px 10px;border:1px solid var(--input-border);border-radius:6px;font-size:.78rem}.provider-new-form{padding:12px;border:1px dashed var(--input-border);border-radius:8px;background:var(--surface-glass);color:var(--app-fg)}.copilot-input{min-height:120px;border-radius:8px;border:1px solid var(--input-border);background:var(--app-bg);color:var(--app-fg);padding:8px 10px;resize:vertical}.copilot-input-stack{display:grid;gap:6px}.copilot-input-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;font-size:.75rem;color:var(--panel-muted);min-width:0}.copilot-attachments-summary{font-size:.75rem;color:var(--panel-muted);flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.copilot-send-inline{flex:0 0 auto;padding:6px 12px}.copilot-attachments-panel{display:grid;gap:6px}.copilot-attachments-panel summary{cursor:pointer;font-size:.74rem;color:var(--panel-muted)}.copilot-attachments{display:grid;gap:6px}.copilot-attachment-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy)}.copilot-attachment-preview{width:34px;height:34px;border-radius:8px;object-fit:cover;border:1px solid var(--border-subtle)}.copilot-attachment-icon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--surface-glass);font-size:1.1rem}.copilot-pdf-badge{position:relative;display:inline-flex;align-items:center;color:var(--text-secondary)}.copilot-pdf-check{position:absolute;bottom:-2px;right:-4px}.copilot-attachment-meta{display:grid;gap:2px}.copilot-attachment-name{font-size:.76rem;font-weight:600;color:var(--app-fg)}.copilot-attachment-size{font-size:.66rem;color:var(--panel-muted)}.copilot-icon-button{padding:2px 8px;min-width:0;line-height:1}.copilot-preview{border-radius:10px;border:1px dashed var(--input-border);padding:4px 6px;color:var(--panel-muted)}.copilot-background-agents{margin-top:4px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:var(--surface-glass);padding:8px 10px}.copilot-background-agents summary{cursor:pointer;font-weight:600;color:var(--app-fg)}.copilot-background-agents-list{display:grid;gap:8px;margin-top:10px}.copilot-background-agent-card{border:1px solid rgba(148,163,184,.22);border-radius:8px;padding:8px 10px;background:var(--surface-glass)}.copilot-background-agent-header{display:flex;justify-content:space-between;gap:8px;align-items:center}.copilot-background-agent-summary{margin-top:4px;font-size:12px;color:var(--text-secondary)}.copilot-agent-history-panel{margin-top:6px;display:flex;flex-direction:column;gap:6px}.copilot-agent-history-summary-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}.copilot-agent-history-summary-bar::-webkit-details-marker{display:none}.copilot-agent-history-summary-left{display:flex;align-items:center;gap:6px}.copilot-agent-history-chevron{display:inline-block;font-size:14px;line-height:1;transition:transform .15s ease;color:var(--text-dim)}.copilot-agent-history-chevron.open{transform:rotate(90deg)}.copilot-agent-history-summary-meta{font-size:.8rem;color:var(--panel-muted)}.copilot-agent-history-list{display:grid;gap:8px}.copilot-agent-history-card{width:100%;text-align:left;border:1px solid rgba(148,163,184,.22);border-radius:10px;padding:10px 12px;background:var(--surface-glass);color:var(--app-fg);display:flex;flex-direction:column;gap:6px}.copilot-agent-history-card:hover{border-color:#60a5fa73;background:var(--surface-glass-heavy)}.copilot-agent-history-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.copilot-agent-history-title{font-weight:600}.copilot-agent-history-meta{display:flex;align-items:center;gap:8px;font-size:.78rem;color:var(--panel-muted)}.copilot-agent-history-summary{font-size:.85rem;color:var(--text-secondary)}.copilot-conversation{display:flex;flex-direction:column;gap:6px;min-height:0}.copilot-conversation-section{display:flex;flex-direction:column;gap:8px;min-height:0}.copilot-conversation-thread{display:flex;flex-direction:column;gap:8px;border-radius:10px;border:1px solid var(--border-subtle);background:var(--surface-glass);padding:8px}.copilot-agent-conversation{margin-bottom:16px;padding:14px;border:1px solid rgba(59,130,246,.28);border-radius:12px;background:var(--surface-glass-heavy)}.copilot-agent-conversation-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.copilot-agent-conversation-meta{display:flex;gap:8px;color:var(--accent);font-size:.8rem}.copilot-agent-conversation-objective{margin-top:8px;color:var(--text-secondary);font-size:.9rem}.copilot-agent-status-badge{display:inline-flex;align-items:center;margin-top:10px;padding:3px 8px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.copilot-agent-status-badge.progress{background:#3b82f62e;color:var(--accent);border:1px solid rgba(59,130,246,.35)}.copilot-agent-status-badge.complete{background:#22c55e29;color:#bbf7d0;border:1px solid rgba(34,197,94,.35)}.copilot-agent-status-badge.error{background:#ef444429;color:var(--error-fg);border:1px solid rgba(239,68,68,.35)}.copilot-agent-modal{width:min(920px,96vw)}.copilot-agent-reply-box{margin-top:12px;padding:12px;border-radius:10px;border:1px solid rgba(250,204,21,.28);background:#78350f29}.copilot-agent-reply-title{font-size:.82rem;font-weight:700;color:#fde68a}.copilot-agent-reply-question{margin-top:6px;font-size:.88rem;color:var(--text-bright)}.copilot-agent-reply-controls{display:grid;gap:10px;margin-top:10px}.copilot-agent-conversation-thread{display:flex;flex-direction:column;gap:10px;margin-top:12px;max-height:320px;overflow:auto}.copilot-agent-event{border:1px solid rgba(148,163,184,.16);border-radius:10px;padding:10px 12px;background:#0206176b}.copilot-agent-event.assistant{border-color:#60a5fa47}.copilot-agent-event.tool{border-color:#34d39947}.copilot-agent-event.status{border-color:#94a3b833}.copilot-agent-event-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:.75rem;color:var(--panel-muted);text-transform:uppercase}.copilot-agent-event-body{font-size:.88rem;color:var(--app-fg)}.copilot-agent-event-tool{margin-bottom:8px;color:var(--status-green);font-size:.8rem;font-weight:600}.copilot-agent-event-pre{margin:0;padding:10px 12px;border-radius:8px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);white-space:pre-wrap;word-break:break-word;overflow-x:auto;font-size:.8rem}.copilot-loop-inline{display:flex;flex-direction:column;gap:8px}.copilot-steps-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem;color:var(--app-fg)}.copilot-steps-summary.compact{gap:6px;font-size:.72rem;white-space:nowrap}.copilot-steps-meta{font-size:.7rem;color:var(--panel-muted)}.copilot-steps-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}.copilot-filter-group{display:flex;gap:6px;flex-wrap:nowrap}.copilot-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:4px 6px;flex-wrap:nowrap;overflow:hidden}.copilot-view-toolbar-main{display:flex;align-items:center;gap:4px 6px;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:none}.copilot-view-toolbar-main::-webkit-scrollbar{display:none}.copilot-toolbar-toggle{margin-left:2px}.copilot-stage{font-size:10px;color:var(--panel-muted);padding:3px 7px;border-radius:999px;border:1px solid var(--border-subtle);background:#02061780}.copilot-stage.compact{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.copilot-stage-dot{width:7px;height:7px;border-radius:999px;background:var(--text-dim)}.copilot-stage-dot.stage-sending{background:#60a5fa}.copilot-stage-dot.stage-error{background:#f87171}.copilot-stage-dot.stage-done{background:#4ade80}.copilot-steps-controls .ghost.active{border-color:#2563ebb3;color:var(--accent);background:#2563eb33}.copilot-steps-body{margin-top:12px;display:grid;gap:14px}.copilot-loop{display:grid;gap:10px;padding:10px;border-radius:12px;border:1px dashed rgba(71,85,105,.6)}.copilot-loop-header{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--panel-muted)}.copilot-step-bubble{border-radius:10px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy);padding:10px 12px;display:grid;gap:6px}.copilot-step-bubble.user{border-color:#2563eb99;background:#2563eb1f}.copilot-step-bubble.assistant{border-color:#10b98180;background:#10b9811a}.copilot-step-bubble.thinking{border-color:#94a3b880}.copilot-step-bubble.tool{border-color:#0ea5e999;background:#0ea5e91a}.copilot-step-bubble.tool.failed{border-color:#f87171b3;background:#f871711a}.copilot-step-bubble.tool.system-task_complete{border-color:#0ea5e9e6;box-shadow:0 0 0 1px #38bdf873}.copilot-step-bubble.tool.system-ask_question{border-color:#facc15d9;background:#facc151f}.copilot-step-role{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--panel-muted)}.copilot-step-content{white-space:pre-wrap;line-height:1.5;color:var(--app-fg)}.copilot-thinking-glyph{display:inline-block;width:12px;height:12px;margin-left:6px;border-radius:50%;border:2px solid rgba(148,163,184,.7);border-top-color:#e2e8f0e6;animation:copilot-spin 1.1s linear infinite}@media(prefers-reduced-motion:reduce){.copilot-thinking-glyph{animation:none}}@keyframes copilot-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.copilot-tool-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.copilot-tool-meta{display:flex;gap:8px;font-size:.7rem;color:var(--panel-muted);align-items:center}.copilot-system-badge{text-transform:uppercase;font-size:.6rem;padding:2px 6px;border-radius:999px;background:#facc1533;color:#fde68a;letter-spacing:.08em}.copilot-tool-stack{display:grid;gap:8px}.copilot-tool-status{text-transform:uppercase;font-size:.65rem;padding:2px 6px;border-radius:999px;background:#94a3b833;color:var(--app-fg)}.copilot-tool-status.succeeded{background:#10b9814d;color:var(--status-green)}.copilot-tool-status.failed{background:#f871714d;color:var(--error-fg)}.copilot-tool-details{display:grid;gap:10px}.copilot-tool-quickfacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;border:1px dashed var(--border-subtle);border-radius:8px;padding:8px;font-size:.75rem;color:var(--text-secondary)}.copilot-detail-title{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--panel-muted);margin-bottom:4px}.copilot-step-pre{white-space:pre-wrap;font-size:.75rem;background:var(--surface-glass-heavy);border-radius:8px;padding:8px 10px;border:1px solid var(--border-subtle);color:var(--app-fg);max-height:240px;overflow:auto}.copilot-tool-error{border-radius:8px;border:1px solid rgba(248,113,113,.6);padding:8px 10px;color:var(--error-fg);display:grid;gap:6px}.copilot-chat{display:grid;gap:6px;min-height:0;height:100%;grid-template-rows:minmax(0,1fr) auto}.copilot-chat .copilot-preview{height:100%;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.copilot-welcome{border-radius:12px;border:1px solid rgba(16,185,129,.4);background:#10b98114;padding:14px 16px;display:flex;flex-direction:column;gap:12px;margin:auto 0}.copilot-welcome-header{display:flex;align-items:center;gap:8px}.copilot-welcome-title{font-weight:700;font-size:1.05rem;color:#6ee7b7;letter-spacing:.02em}:root[data-theme=light] .copilot-welcome-title{color:#047857}.copilot-welcome-body{display:flex;flex-direction:column;gap:10px;font-size:.84rem;color:var(--app-fg);line-height:1.5}.copilot-welcome-body p{margin:0}.copilot-welcome-section{display:flex;flex-direction:column;gap:4px}.copilot-welcome-section-title{font-weight:600;font-size:.82rem;color:var(--panel-muted);text-transform:uppercase;letter-spacing:.06em}:root[data-theme=light] .copilot-welcome-section-title{color:#065f46}.copilot-welcome-steps{margin:2px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:3px;font-size:.82rem}.copilot-welcome-steps li{line-height:1.45}.copilot-welcome-steps strong{color:#6ee7b7}:root[data-theme=light] .copilot-welcome-steps strong{color:#047857}.copilot-welcome-actions{display:flex;gap:8px;padding-top:4px}.copilot-welcome-actions button.primary{flex:1}.copilot-welcome-actions button.ghost{flex:0 0 auto;color:var(--panel-muted)}.copilot-empty-hint{color:var(--text-dim);font-size:.84rem;text-align:center;margin:auto 0}@media(max-width:900px){.copilot-toolbar,.copilot-toolbar-mainline,.copilot-view-toolbar,.copilot-view-toolbar-main,.copilot-input-actions,.copilot-filter-group,.copilot-status-strip{flex-wrap:wrap}.copilot-topbar{grid-template-columns:1fr;align-items:flex-start}.copilot-agents-panel{justify-content:flex-start}}.copilot-thread{display:grid;gap:8px}.copilot-bubble{border-radius:12px;padding:7px 9px;background:var(--surface-glass-heavy);border:1px solid var(--border-subtle);color:var(--app-fg);display:grid;gap:4px;font-size:.84rem}.copilot-bubble.user{border-color:#2563eb99;background:#2563eb1f}.copilot-bubble.assistant{border-color:#10b98180;background:#10b9811f}.copilot-bubble.assistant.system-ask_question,.copilot-bubble.assistant.system-task_complete{border-color:#facc15d9;background:#facc1526;box-shadow:0 0 0 1px #facc1559}.copilot-bubble.tool{border-color:#0ea5e999;background:#0ea5e91f}.copilot-bubble.tool-status{background:var(--surface-glass-heavy)}.copilot-suggested-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:4px;border-top:1px solid rgba(250,204,21,.2);margin-top:4px}button.copilot-suggested-action{font-size:.78rem;padding:3px 10px;border-radius:6px;border:1px solid var(--action-btn-border);color:var(--action-btn-fg);background:var(--action-btn-bg);cursor:pointer;transition:background .15s,border-color .15s}button.copilot-suggested-action:hover{background:var(--action-btn-bg-hover);border-color:var(--action-btn-border-hover)}.copilot-simple-tool-status-list{margin:0;padding-left:16px;display:grid;gap:4px}.copilot-simple-tool-status-item{color:var(--text-secondary)}.copilot-simple-tool-status-item.running{color:var(--accent)}.copilot-simple-tool-status-item.succeeded{color:var(--status-green)}.copilot-simple-tool-status-item.failed{color:var(--error-fg)}.copilot-role{font-size:.64rem;text-transform:uppercase;letter-spacing:.08em;color:var(--panel-muted)}.copilot-tool-name{font-size:.7rem;font-weight:600;color:var(--accent)}.copilot-text{font-family:Inter,system-ui,sans-serif;font-size:.84rem;line-height:1.32}.copilot-text-paragraph{margin:0}.copilot-text-spacer{display:inline-block;min-height:8px}.copilot-markdown{font-size:.84rem;line-height:1.55;word-break:break-word;overflow-wrap:break-word}.copilot-markdown p{margin:0 0 8px}.copilot-markdown p:last-child{margin-bottom:0}.copilot-markdown h1,.copilot-markdown h2,.copilot-markdown h3,.copilot-markdown h4{color:var(--accent);font-weight:600;margin:12px 0 4px;line-height:1.3}.copilot-markdown h1{font-size:15px}.copilot-markdown h2{font-size:14px}.copilot-markdown h3{font-size:13px}.copilot-markdown h4{font-size:13px;color:#7dd3fc}.copilot-markdown ul,.copilot-markdown ol{margin:4px 0 8px;padding-left:20px}.copilot-markdown li{margin-bottom:3px;line-height:1.5}.copilot-markdown li:last-child{margin-bottom:0}.copilot-markdown code:not(pre code){background:#60a5fa1f;border:1px solid rgba(96,165,250,.2);color:#7dd3fc;border-radius:4px;padding:1px 5px;font-family:JetBrains Mono,Fira Code,Cascadia Code,monospace;font-size:12px}.copilot-markdown pre{background:var(--app-bg);border:1px solid var(--input-border);border-radius:6px;padding:10px 12px;margin:6px 0 10px;overflow-x:auto;max-height:320px;overflow-y:auto}.copilot-markdown pre code{background:none;border:none;padding:0;color:var(--app-fg);font-family:JetBrains Mono,Fira Code,Cascadia Code,monospace;font-size:12px;line-height:1.5}.copilot-markdown blockquote{border-left:3px solid #3b82f6;margin:6px 0;padding:4px 10px;color:var(--panel-muted);background:#3b82f60f;border-radius:0 4px 4px 0}.copilot-markdown table{border-collapse:collapse;width:100%;margin:8px 0;font-size:12px}.copilot-markdown th{background:var(--app-bg);color:var(--accent);font-weight:600;padding:5px 8px;border:1px solid var(--input-border);text-align:left}.copilot-markdown td{padding:4px 8px;border:1px solid var(--panel-border);color:var(--text-secondary)}.copilot-markdown tr:nth-child(2n) td{background:var(--surface-glass)}.copilot-markdown hr{border:none;border-top:1px solid var(--input-border);margin:10px 0}.copilot-markdown strong{color:var(--text-bright);font-weight:600}.copilot-markdown em{color:var(--text-secondary);font-style:italic}.copilot-markdown a{color:#60a5fa;text-decoration:underline;text-underline-offset:2px}.copilot-markdown a:hover{color:var(--accent)}.copilot-history{display:grid;gap:8px}.copilot-history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;border:1px solid var(--border-subtle);background:var(--surface-glass-heavy);text-align:left}.copilot-history-item>.ghost{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left}.copilot-history-item.active{border-color:#2563eb99;box-shadow:0 0 0 1px #2563eb4d}.copilot-history-title{font-weight:600;font-size:.85rem}.copilot-history-meta{font-size:.7rem;color:var(--panel-muted);margin-top:2px}.copilot-history-count{font-size:.7rem;padding:2px 8px;border-radius:999px;background:#94a3b833;color:var(--app-fg)}.copilot-history-empty{font-size:.8rem;color:var(--panel-muted);padding:10px;border-radius:10px;border:1px dashed var(--border-subtle)}.copilot-result-card{border:1px solid rgba(59,130,246,.4);border-radius:8px;background:#1e40af2e;padding:8px;display:grid;gap:4px}.copilot-result-card-title{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--accent)}.copilot-result-card-value{font-size:12px;color:var(--app-fg);font-weight:600}.inline-alert{border-radius:8px;border:1px solid rgba(148,163,184,.35);background:var(--surface-glass-heavy);padding:8px 10px;font-size:.75rem;color:var(--app-fg);white-space:pre-wrap}.inline-alert.error{border-color:#f8717199;color:var(--error-fg)}.inline-alert.warn{border-color:#f59e0b99;color:#fcd34d}.inline-console{margin-top:12px;padding:12px;border-radius:10px;border:1px solid rgba(148,163,184,.2);background:#020617b3;color:#e2e8f0;font-family:SF Mono,Fira Code,Cascadia Code,Consolas,monospace;font-size:.72rem;line-height:1.4;max-height:240px;overflow:auto;white-space:pre-wrap}:root[data-theme=light] .inline-console{background:#1e293b;border-color:#334155;color:#e2e8f0}.preview-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:6px}.app-footer{background:var(--header-bg);border-top:1px solid var(--panel-border);padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-size:.85rem;color:var(--panel-muted)}button{border:1px solid transparent;border-radius:8px;padding:6px 12px;background:var(--surface-soft);color:var(--app-fg);cursor:pointer}button.primary{background:#2563eb;color:#fff}button.primary.green{background:#16a34a}button.primary.danger{background:#dc2626}button.ghost.active{border-color:#2563eb;color:var(--accent)}button.ghost{background:transparent;border:1px solid var(--input-border)}.map-spatial-toggle .ghost{background:transparent}button.full{width:100%}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-template-rows:1fr;gap:16px;flex:1;min-height:0}.settings-grid>.panel{min-height:0;height:100%}.settings-grid>.panel>.panel-body{flex:1;min-height:0;overflow:auto}.settings-panel .panel-body{gap:16px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.form-field{display:grid;gap:6px;font-size:.8rem;color:var(--text-secondary)}.form-field input,.form-field select{border-radius:8px;border:1px solid var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:8px 10px}.field-provenance{display:grid;gap:6px;margin-top:6px}.field-provenance input{border-radius:8px;border:1px dashed var(--input-border);background:var(--surface-alt);color:var(--app-fg);padding:6px 10px;font-size:.75rem}.configure-param-header-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.configure-param-group{display:flex;flex-direction:column;gap:0}.configure-param-group-title{display:flex;align-items:center;gap:8px;width:100%;background:none;border:none;cursor:pointer;font:inherit;font-size:.75rem;font-weight:700;color:var(--text-secondary);padding:10px 0 6px;text-align:left}.configure-param-group-name{letter-spacing:.06em;text-transform:uppercase}.configure-param-group-counts{margin-left:auto;font-weight:600;letter-spacing:normal;text-transform:none;color:var(--panel-muted);white-space:nowrap}.configure-param-group-missing{color:var(--status-amber);font-weight:700}.configure-param-group-collapsible.collapsed>.configure-param-table{display:none}.configure-param-table{display:grid;gap:0;border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden;font-size:.82rem}.configure-param-table-head,.configure-param-row{display:grid;grid-template-columns:2fr 1.2fr 2fr 1fr 1.6fr;gap:0}.configure-param-table-head{background:var(--surface-soft);font-weight:700;font-size:.72rem;color:var(--text-secondary);letter-spacing:.05em;text-transform:uppercase}.configure-param-table-head>span{padding:7px 10px;border-right:1px solid var(--border-subtle)}.configure-param-table-head>span:last-child{border-right:none}.configure-param-row{border-top:1px solid var(--border-subtle);transition:background .1s;align-items:stretch}.configure-param-row:hover{background:var(--surface-glass)}.configure-param-row.missing{background:#ef44440a}.configure-param-row.has-error{background:#ef444412}.configure-param-label{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-right:1px solid var(--border-subtle);justify-content:center}.configure-param-name{color:var(--app-fg);font-weight:500;font-size:.82rem;line-height:1.3}.configure-param-optional{color:var(--text-dim);font-size:.7rem;font-weight:400;margin-left:4px}.configure-param-not-applied{color:var(--text-dim);background:var(--app-surface-2, rgba(128, 128, 128, .14));border:1px solid var(--app-border, rgba(128, 128, 128, .3));border-radius:4px;font-size:.64rem;font-weight:500;text-transform:uppercase;letter-spacing:.02em;padding:0 5px;margin-left:6px;cursor:help;white-space:nowrap}.configure-param-row.not-applied .configure-param-name{color:var(--text-dim)}.configure-param-row.not-applied .configure-param-input{opacity:.55;cursor:not-allowed}.configure-param-grid-badge{color:var(--accent, #3b82f6);background:var(--accent-soft, rgba(59, 130, 246, .12));border:1px solid var(--accent, rgba(59, 130, 246, .4));border-radius:4px;font-size:.64rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;padding:0 5px;margin-left:6px;white-space:nowrap}.configure-param-row.matrix-row{display:block}.matrix-grid-wrapper{overflow:auto;max-height:340px;margin-top:6px;border:1px solid var(--app-border, rgba(128, 128, 128, .3));border-radius:6px}.matrix-grid{border-collapse:collapse;font-size:.72rem}.matrix-grid th{position:sticky;background:var(--app-surface-2, rgba(128, 128, 128, .12));color:var(--text-dim);font-weight:500;padding:3px 6px;white-space:nowrap;z-index:1}.matrix-grid-colhead{top:0;max-width:96px;overflow:hidden;text-overflow:ellipsis}.matrix-grid-rowhead{left:0;text-align:right;max-width:130px;overflow:hidden;text-overflow:ellipsis}.matrix-grid-corner{top:0;left:0;z-index:2}.matrix-grid-cell{padding:0;border:1px solid var(--app-border, rgba(128, 128, 128, .18))}.matrix-grid-input{width:58px;border:none;background:transparent;color:var(--app-fg);font-size:.72rem;padding:3px 4px;text-align:right}.matrix-grid-input:focus{outline:1px solid var(--accent, #3b82f6);background:var(--app-surface, rgba(59, 130, 246, .06))}.vector-row-wrapper{overflow-x:auto;margin-top:6px;border:1px solid var(--app-border, rgba(128, 128, 128, .3));border-radius:6px}.vector-row{border-collapse:collapse;font-size:.72rem}.vector-row-colhead{background:var(--app-surface-2, rgba(128, 128, 128, .12));color:var(--text-dim);font-weight:500;padding:3px 6px;white-space:nowrap;max-width:96px;overflow:hidden;text-overflow:ellipsis}.vector-row-cell{padding:0;border:1px solid var(--app-border, rgba(128, 128, 128, .18))}.vector-row-input{width:62px;border:none;background:transparent;color:var(--app-fg);font-size:.72rem;padding:3px 4px;text-align:right}.vector-row-input:focus{outline:1px solid var(--accent, #3b82f6);background:var(--app-surface, rgba(59, 130, 246, .06))}.preference-wrapper{margin-top:6px;max-height:280px;overflow-y:auto;border:1px solid var(--app-border, rgba(128, 128, 128, .3));border-radius:6px}.preference-table{border-collapse:collapse;width:100%;font-size:.74rem}.preference-prey{text-align:left;font-weight:500;color:var(--app-fg);padding:3px 8px;white-space:nowrap}.preference-cell{padding:0 4px;width:80px}.preference-input{width:70px;border:1px solid var(--app-border, rgba(128, 128, 128, .25));border-radius:4px;background:transparent;color:var(--app-fg);font-size:.74rem;padding:3px 5px;text-align:right}.preference-input:focus{outline:1px solid var(--accent, #3b82f6)}.preference-empty{margin-top:6px;color:var(--text-dim);font-size:.74rem;font-style:italic}.configure-param-desc{color:var(--text-dim);font-size:.72rem;line-height:1.3}.configure-param-unit{color:var(--text-dim);font-size:.7rem}.configure-param-error{color:#f87171;font-size:.72rem;margin-top:2px}.configure-param-cell{display:flex;align-items:stretch;border-right:1px solid var(--border-subtle)}.configure-param-cell:last-child{border-right:none}.configure-param-input,.configure-param-select{width:100%;background:transparent;border:none;outline:none;color:var(--app-fg);font-size:.8rem;padding:8px 10px;font-family:inherit;transition:background .1s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.configure-param-input::placeholder{color:var(--panel-muted)}.configure-param-input:focus,.configure-param-select:focus{background:var(--surface-glass);outline:none}.configure-param-select{cursor:pointer;appearance:auto}.configure-param-select option{background:var(--app-bg);color:var(--app-fg)}@media(max-width:860px){.configure-param-table-head,.configure-param-row{grid-template-columns:2fr 1fr 2fr}.configure-param-table-head>span:nth-child(4),.configure-param-table-head>span:nth-child(5),.configure-param-row .configure-param-cell:nth-child(4),.configure-param-row .configure-param-cell:nth-child(5){display:none}}.diet-matrix-table{display:grid;gap:0;border:1px solid var(--border-subtle);border-radius:10px;overflow:hidden;font-size:.82rem;margin-top:8px}.diet-matrix-head,.diet-matrix-row{display:grid;grid-template-columns:1fr 160px 40px;gap:0}.diet-matrix-head{background:#1e293bb3;font-weight:600;font-size:.72rem;color:var(--panel-muted);letter-spacing:.05em;text-transform:uppercase}.diet-matrix-head>span{padding:7px 10px;border-right:1px solid var(--border-subtle)}.diet-matrix-head>span:last-child{border-right:none}.diet-matrix-row{border-top:1px solid var(--border-subtle);align-items:stretch;transition:background .1s}.diet-matrix-row:hover{background:var(--surface-glass)}.diet-matrix-row.has-error{background:#ef444412}.diet-matrix-cell{display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--border-subtle)}.diet-matrix-cell:last-child{border-right:none}.diet-matrix-proportion{gap:2px;padding:2px 0}.diet-matrix-remove{align-items:center;justify-content:center}.diet-remove-btn{padding:4px 8px;font-size:.75rem;color:var(--text-dim);line-height:1}.diet-remove-btn:hover{color:#f87171}.diet-matrix-empty{padding:12px 14px;color:var(--text-dim);font-size:.8rem;font-style:italic}.diet-sum-indicator{font-size:.78rem;color:var(--text-dim);font-variant-numeric:tabular-nums}.diet-sum-indicator.ok{color:#34d399}.diet-sum-indicator.warn{color:#f59e0b}.diet-prey-cell{position:relative}.diet-prey-dropdown{z-index:9999;background:var(--app-bg);border:1px solid var(--border-subtle);border-radius:8px;box-shadow:0 -8px 24px #0009;max-height:260px;overflow-y:auto}.diet-prey-dropdown-portal{position:fixed}.diet-prey-group{display:flex;flex-direction:column}.diet-prey-group-label{padding:6px 10px 3px;font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-dim);border-top:1px solid var(--border-subtle)}.diet-prey-group:first-child .diet-prey-group-label{border-top:none}.diet-prey-option{display:flex;align-items:baseline;gap:8px;width:100%;padding:7px 12px;background:transparent;border:none;text-align:left;cursor:pointer;transition:background .1s}.diet-prey-option:hover,.diet-prey-option:focus{background:var(--surface-glass);outline:none}.diet-prey-option.selected{background:#6366f126}.diet-prey-option-label{color:var(--app-fg);font-size:.82rem;font-weight:500}.diet-prey-option-id{color:var(--text-dim);font-size:.72rem;font-family:monospace}.ts-editor{display:flex;flex-direction:column;gap:4px;width:100%}.ts-editor-label{font-size:.78rem;color:var(--text-secondary);margin-bottom:2px}.ts-editor-toolbar{display:flex;gap:6px;align-items:center}.ts-editor-btn{font-size:.75rem!important;padding:2px 8px!important}.ts-editor-table{display:flex;flex-direction:column;border:1px solid var(--border-subtle);border-radius:6px;overflow:hidden}.ts-editor-head{display:grid;grid-template-columns:1fr 1fr 28px;font-size:.72rem;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;padding:4px 0;border-bottom:1px solid var(--border-subtle);background:var(--surface-glass)}.ts-editor-head>span{padding:2px 10px}.ts-editor-row{display:grid;grid-template-columns:1fr 1fr 28px;border-bottom:1px solid var(--border-subtle)}.ts-editor-row:last-child{border-bottom:none}.ts-editor-row:hover{background:var(--surface-glass)}.ts-editor-row.has-error{background:#ef444414}.ts-editor-cell{display:flex;align-items:stretch;border-right:1px solid var(--border-subtle)}.ts-editor-cell:last-child{border-right:none}.ts-editor-remove{display:flex;align-items:center;justify-content:center}.ts-editor-remove-btn{font-size:.7rem!important;padding:0!important;opacity:.4;line-height:1}.ts-editor-remove-btn:hover{opacity:1;color:var(--error-fg)}.ts-editor-paste{display:flex;flex-direction:column;gap:4px}.ts-editor-paste-area{width:100%;background:var(--surface-glass);border:1px solid var(--border-subtle);border-radius:6px;color:var(--app-fg);font-family:monospace;font-size:.78rem;padding:8px;resize:vertical}.ts-editor-paste-area:focus{outline:none;border-color:var(--accent-border)}.ts-editor-paste-error{font-size:.75rem;color:var(--error-fg)}.ts-editor-sparkline{width:100%;height:32px;margin-top:2px;border-radius:4px;background:var(--surface-glass)}.configure-param-row.ts-row{grid-template-columns:1fr;grid-column:1 / -1}.configure-param-row.ts-row .configure-param-label{padding-bottom:4px}.configure-param-row.ts-row .ts-editor-wrapper{padding:4px 10px 8px}.modal-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.project-delete-list{display:grid;gap:6px;width:100%}.project-delete-item{display:flex;gap:8px;align-items:center;font-size:.8rem;color:var(--app-fg)}.project-delete-item input{accent-color:#ef4444}.project-delete-summary{display:grid;gap:6px;max-height:240px;overflow:auto;padding:8px 10px;border-radius:10px;border:1px solid var(--panel-border);background:var(--surface-glass);font-size:.85rem}.project-delete-row{padding:4px 0;border-bottom:1px solid rgba(148,163,184,.1)}.project-delete-row:last-child{border-bottom:none}.field-hint{font-size:.75rem;color:var(--panel-muted)}.field-hint.error{color:#fca5a5}.settings-actions{display:flex;gap:8px;flex-wrap:wrap}.provider-list{display:grid;gap:12px}.provider-card{display:flex;flex-direction:column;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid var(--panel-border);background:var(--surface-glass)}.provider-card.selected{border-color:var(--accent, #2563eb)}.provider-card-head{display:grid;grid-template-columns:1fr auto auto auto;gap:12px;align-items:center}.provider-card-model{display:flex;flex-direction:column;gap:4px;padding-top:8px;border-top:1px solid var(--panel-border);font-size:.75rem;color:var(--panel-muted)}.provider-card-model input{width:100%;padding:6px 8px;border-radius:6px;border:1px solid var(--input-border);background:var(--surface-glass);color:var(--app-fg);font-size:.85rem}.provider-remove{color:var(--error-fg)}.provider-remove:hover{border-color:var(--error-fg)}.provider-title{font-weight:600}.provider-meta{font-size:.75rem;color:var(--panel-muted)}.provider-status{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;padding:4px 8px;border-radius:999px;background:#94a3b833;color:var(--app-fg)}.provider-status.active{background:#22c55e33;color:#86efac}.provider-status.invalid{background:#f8717133;color:var(--error-fg)}.provider-status.disabled{background:#94a3b833;color:var(--text-secondary)}.module-copilot-window{position:fixed;z-index:1100;display:flex;flex-direction:column;background:var(--surface-soft);border:1px solid var(--input-border);border-radius:10px;box-shadow:0 8px 32px #00000080,0 0 0 1px #ffffff0a;overflow:hidden;font-size:13px;color:var(--app-fg)}.module-copilot-titlebar{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:var(--header-bg);border-bottom:1px solid var(--input-border);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0}.module-copilot-titlebar:active{cursor:grabbing}.module-copilot-title{font-weight:600;font-size:13px;color:var(--panel-muted);letter-spacing:.02em}.module-copilot-close{background:none;border:none;color:var(--text-dim);font-size:18px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:4px;transition:background .15s,color .15s}.module-copilot-close:hover{background:#f8717126;color:#f87171}.module-copilot-context{padding:8px 12px;background:var(--app-bg);border-bottom:1px solid var(--panel-border);flex-shrink:0}.module-copilot-context-row{display:flex;gap:8px;padding:2px 0;font-size:12px;line-height:1.4}.module-copilot-context-row .label{color:var(--text-dim);min-width:60px;flex-shrink:0;font-weight:500}.module-copilot-context-row span:last-child{color:var(--text-secondary);word-break:break-word}.module-copilot-equation-display{margin-top:6px;padding:6px 8px;background:var(--app-bg);border:1px solid var(--panel-border);border-radius:4px;text-align:center;overflow-x:auto}.module-copilot-equation-display .katex{font-size:13px;color:var(--app-fg)}.module-copilot-equation-display .katex-display{margin:0}.module-copilot-impl-note{display:flex;flex-direction:column;gap:3px;margin-top:6px;padding:6px 8px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.35);border-radius:4px}.module-copilot-impl-note-badge{font-size:11px;font-weight:600;color:#fbbf24;letter-spacing:.02em}.module-copilot-impl-note-text{font-size:11px;color:#d97706;line-height:1.4}.module-copilot-thread{flex:1 1 0;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px;min-height:0}.module-copilot-empty{color:var(--text-dim);font-size:12px;text-align:center;padding:24px 8px;line-height:1.5}.module-copilot-msg{max-width:92%;animation:mc-fade-in .15s ease-out}@keyframes mc-fade-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.module-copilot-msg-user{align-self:flex-end}.module-copilot-msg-user .module-copilot-text{background:#1d4ed8;color:#e0e7ff;border-radius:12px 12px 4px;padding:8px 12px}.module-copilot-msg-assistant{align-self:flex-start}.module-copilot-msg-assistant .module-copilot-text{background:var(--surface-soft);border:1px solid var(--input-border);color:var(--app-fg);border-radius:12px 12px 12px 4px;padding:8px 12px}.module-copilot-text p{margin:0;line-height:1.5;font-size:13px}.module-copilot-text p+p{margin-top:4px}.module-copilot-msg-tool{align-self:flex-start;max-width:100%}.module-copilot-tool-output{background:var(--surface-glass-heavy);border:1px solid var(--panel-border);border-radius:6px;padding:6px 10px;font-size:11px}.module-copilot-tool-label{display:inline-block;font-size:10px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.module-copilot-tool-output pre{margin:0;white-space:pre-wrap;word-break:break-word;color:var(--panel-muted);font-family:JetBrains Mono,Fira Code,monospace;font-size:11px;line-height:1.4;max-height:120px;overflow-y:auto}.module-copilot-tool-running{font-size:12px;color:#60a5fa;padding:4px 0;animation:mc-pulse 1.2s ease-in-out infinite}@keyframes mc-pulse{0%,to{opacity:1}50%{opacity:.5}}.module-copilot-error{background:#f871711a;border:1px solid rgba(248,113,113,.3);color:#fca5a5;border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.4}.module-copilot-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;border-top:1px solid var(--panel-border);flex-shrink:0}.module-copilot-suggestion{background:#60a5fa1a;border:1px solid rgba(96,165,250,.25);color:var(--accent);border-radius:16px;padding:5px 12px;font-size:12px;cursor:pointer;transition:background .15s,border-color .15s;white-space:nowrap}.module-copilot-suggestion:hover:not(:disabled){background:#60a5fa33;border-color:#60a5fa66}.module-copilot-suggestion:disabled{opacity:.5;cursor:not-allowed}.module-copilot-input-area{display:flex;align-items:flex-end;gap:6px;padding:8px 12px;border-top:1px solid var(--input-border);background:var(--header-bg);flex-shrink:0}.module-copilot-input{flex:1;background:var(--app-bg);border:1px solid var(--input-border);border-radius:8px;color:var(--app-fg);padding:8px 10px;font-size:13px;font-family:inherit;resize:none;line-height:1.4;outline:none;transition:border-color .15s}.module-copilot-input:focus{border-color:#3b82f6}.module-copilot-input::placeholder{color:var(--text-dim)}.module-copilot-input:disabled{opacity:.5}.module-copilot-send{background:#2563eb;border:none;color:#fff;width:34px;height:34px;border-radius:8px;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.module-copilot-send:hover:not(:disabled){background:#1d4ed8}.module-copilot-send:disabled{opacity:.4;cursor:not-allowed}.module-copilot-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 40%,#475569 40%,#475569 45%,transparent 45%,transparent 55%,#475569 55%,#475569 60%,transparent 60%,transparent 70%,#475569 70%,#475569 75%,transparent 75%);opacity:.5;transition:opacity .15s;border-radius:0 0 10px}.module-copilot-resize:hover{opacity:.9}.module-copilot-thread::-webkit-scrollbar{width:6px}.module-copilot-thread::-webkit-scrollbar-track{background:transparent}.module-copilot-thread::-webkit-scrollbar-thumb{background:var(--input-border);border-radius:3px}.module-copilot-thread::-webkit-scrollbar-thumb:hover{background:#475569}.copilot-markdown .katex{font-size:1em;color:var(--app-fg)}.copilot-markdown .katex-display{margin:8px 0;overflow-x:auto;overflow-y:hidden;padding:6px 0}.copilot-markdown .katex-display>.katex{display:block;text-align:center}.module-copilot-text-plain{background:#1d4ed8;color:#e0e7ff;border-radius:12px 12px 4px;padding:8px 12px;line-height:1.5;font-size:13px;white-space:pre-wrap;word-break:break-word}.spatial-agent-msg-body .copilot-markdown{background:var(--surface-soft);border:1px solid var(--input-border);color:var(--app-fg);border-radius:12px 12px 12px 4px;padding:10px 14px}.copilot-markdown .hljs-keyword{color:#c084fc}.copilot-markdown .hljs-built_in{color:#60a5fa}.copilot-markdown .hljs-string{color:#86efac}.copilot-markdown .hljs-number{color:#fb923c}.copilot-markdown .hljs-comment{color:var(--text-dim);font-style:italic}.copilot-markdown .hljs-function,.copilot-markdown .hljs-title{color:#38bdf8}.copilot-markdown .hljs-params{color:var(--app-fg)}.copilot-markdown .hljs-operator{color:#f472b6}.copilot-markdown .hljs-variable{color:var(--app-fg)}.copilot-markdown .hljs-attr{color:#7dd3fc}.docs-panel{display:flex;height:100%;overflow:hidden;background:var(--app-bg);color:var(--app-fg)}.docs-sidebar{width:180px;min-width:180px;border-right:1px solid var(--input-border);overflow-y:auto;padding:8px 0;background:var(--surface-soft)}.docs-sidebar-header{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--panel-muted);padding:6px 12px 8px}.docs-nav-item{display:block;width:100%;text-align:left;background:none;border:none;color:var(--panel-muted);font-size:12px;padding:5px 12px;cursor:pointer;line-height:1.4}.docs-nav-item:hover{color:var(--app-fg);background:#60a5fa14}.docs-nav-item.active{color:#60a5fa;background:#60a5fa1f;font-weight:500}.docs-content{flex:1;overflow-y:auto;padding:16px 24px}.docs-content .copilot-markdown{background:none;border:none;border-radius:0;padding:0;max-width:720px}.docs-content .copilot-markdown h1{font-size:20px;margin-top:0;margin-bottom:8px}.docs-content .copilot-markdown h2{font-size:16px;margin-top:20px}.docs-content .copilot-markdown h3{font-size:14px;margin-top:16px}.docs-loading{color:var(--panel-muted);font-size:13px;padding:20px}.results-section-header{display:flex;align-items:center;justify-content:space-between;margin:12px 0 6px;padding:4px 8px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--panel-muted);border-bottom:1px solid rgba(148,163,184,.15)}.results-section-count{color:var(--text-dim);font-weight:500}.results-drivers{margin:8px 0;padding:6px 8px;border:1px solid rgba(148,163,184,.15);border-radius:4px;background:var(--surface-glass)}.results-drivers>summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--text-secondary);letter-spacing:.03em}.results-drivers-list{margin-top:8px;display:flex;flex-direction:column;gap:6px}.results-driver-row{padding:6px 8px;border-radius:4px;background:var(--surface-glass-heavy)}.results-driver-row code{font-size:11px;color:var(--accent)}.scalar-series-list{display:flex;flex-direction:column;gap:10px;margin-top:6px}.scalar-series-card{padding:8px;border-radius:4px;background:var(--surface-glass-heavy);border:1px solid rgba(148,163,184,.12)}.scalar-series-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.scalar-series-title{font-size:12px;font-weight:600;color:var(--app-fg)}.scalar-series-unit{font-size:10px;color:var(--text-dim)}.scalar-series-icon{margin-right:6px;font-size:12px;line-height:1}.scalar-series-chart{width:100%;height:120px}.scalar-series-chart .axis line{stroke:var(--input-border);stroke-width:.5}.scalar-series-chart .axis text{fill:var(--text-dim);font-size:8px}.scalar-series-empty{font-size:11px;color:var(--text-dim);padding:12px 0;text-align:center}.scalar-series-legend{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:6px}.scalar-series-legend-item{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;font-size:10px;color:var(--text-secondary);background:transparent;border:1px solid rgba(148,163,184,.15);border-radius:3px;cursor:pointer}.scalar-series-legend-item.is-hidden{opacity:.4;text-decoration:line-through}.scalar-series-swatch{display:inline-block;width:8px;height:8px;border-radius:2px}.diagram-view-toggle{display:flex;gap:2px;padding:4px 8px;background:var(--surface-glass-heavy);border-bottom:1px solid var(--panel-border, #1f2937);flex-shrink:0}.diagram-view-toggle button{font-size:12px;padding:4px 12px;border-radius:4px;border:1px solid transparent;color:var(--panel-muted)}.diagram-view-toggle button.active{color:var(--app-fg);background:#58a6ff1f;border-color:#58a6ff4d}.foodweb-diagram{flex:1;min-height:0;display:flex;flex-direction:column}.foodweb-diagram .network-diagram-header{flex-shrink:0}.foodweb-diagram .network-diagram-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.foodweb-threshold-label{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--panel-muted);white-space:nowrap}.foodweb-threshold-label input[type=range]{width:80px;accent-color:#d2a8ff}.foodweb-threshold-value{min-width:28px;text-align:right;font-variant-numeric:tabular-nums}.foodweb-diagram .network-diagram-stats{font-size:11px;color:var(--text-dim);padding:0 8px 4px}.foodweb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;color:var(--text-dim);text-align:center;padding:40px}.foodweb-edge-tooltip{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:6px;padding:6px 10px;font-size:12px;color:var(--app-fg);z-index:20;white-space:nowrap;box-shadow:0 4px 12px #0006}.foodweb-legend{display:flex;gap:16px;padding:6px 12px;font-size:11px;color:var(--panel-muted);border-top:1px solid var(--panel-border);flex-shrink:0}.foodweb-legend-item{display:flex;align-items:center;gap:6px}.diet-heatmap-modal{width:min(95vw,1400px);max-height:90vh}.diet-heatmap-controls{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:13px;color:var(--panel-muted)}.diet-heatmap-controls label{display:flex;align-items:center;gap:6px}.diet-heatmap-hover-info{color:var(--app-fg);font-size:13px}.diet-heatmap-scroll{overflow:auto;max-height:calc(90vh - 200px);border:1px solid var(--panel-border);border-radius:8px}.diet-heatmap-table{border-collapse:collapse;font-size:11px;white-space:nowrap}.diet-heatmap-corner{position:sticky;top:0;left:0;z-index:3;background:var(--panel-bg);padding:4px 8px;font-weight:600;color:var(--text-dim);border-bottom:1px solid var(--panel-border);border-right:1px solid var(--panel-border)}.diet-heatmap-col-header{position:sticky;top:0;z-index:2;background:var(--panel-bg);padding:4px;border-bottom:3px solid var(--panel-border);text-align:center;font-weight:500;color:var(--panel-muted);min-width:44px}.diet-heatmap-col-label{writing-mode:vertical-lr;transform:rotate(180deg);max-height:120px;overflow:hidden;text-overflow:ellipsis;padding:2px 0}.diet-heatmap-row-header{position:sticky;left:0;z-index:1;background:var(--panel-bg);padding:3px 10px;border-left:3px solid var(--panel-border);border-right:1px solid var(--panel-border);font-weight:500;color:var(--panel-muted);max-width:160px;overflow:hidden;text-overflow:ellipsis}.diet-heatmap-cell{padding:4px 6px;text-align:center;color:var(--app-fg);font-variant-numeric:tabular-nums;min-width:44px;border:1px solid var(--border-subtle);cursor:default;transition:outline .1s}.diet-heatmap-cell:hover{outline:1px solid var(--accent);outline-offset:-1px;z-index:1;position:relative}.spatial-agent-window{resize:both;width:520px;height:580px;min-width:360px;min-height:320px;max-width:95vw;max-height:92vh}.spatial-agent-layer-name{font-size:11px;color:var(--text-secondary);margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.spatial-agent-thread{display:flex;flex-direction:column;gap:10px;padding:12px}.spatial-agent-msg{display:flex;flex-direction:column;gap:2px}.spatial-agent-msg-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary)}.spatial-agent-tool-details>summary{list-style:none;display:flex;align-items:center;gap:4px;padding:2px 0;opacity:.75}.spatial-agent-tool-details>summary::-webkit-details-marker{display:none}.spatial-agent-tool-details>summary:before{content:"▸";font-size:9px;transition:transform .12s ease}.spatial-agent-tool-details[open]>summary:before{transform:rotate(90deg)}.spatial-agent-tool-details>summary:hover{opacity:1}.spatial-agent-tool-details[open]>summary{opacity:1}.spatial-agent-thinking-bar{display:inline-flex;align-items:center;gap:6px;font-style:italic;font-size:13px;line-height:1.5;padding:8px 12px;border:none;background:none;color:inherit;cursor:pointer;border-radius:10px;text-align:left}.spatial-agent-thinking-bar:hover{background:var(--surface-2, rgba(127, 127, 127, .12))}.spatial-agent-thinking-chevron{font-size:9px;font-style:normal;opacity:.7;transition:transform .12s ease}.spatial-agent-thinking-bar.open .spatial-agent-thinking-chevron{transform:rotate(90deg)}.module-tile-placeholder{opacity:.62;border:1px dashed rgba(148,163,184,.45)!important}.module-badge-placeholder{background:#b8860b29;color:#b8860b;border:1px dashed currentColor}:root[data-theme=dark] .module-badge-placeholder{color:#e0b84a}.spatial-agent-msg-body{padding:8px 12px;border-radius:10px;line-height:1.5;font-size:13px;word-break:break-word}.spatial-agent-msg-user .spatial-agent-msg-body{white-space:pre-wrap}.spatial-agent-msg-user .spatial-agent-msg-body{background:#1d4ed8;color:#e0e7ff;border-radius:12px 12px 4px}.spatial-agent-msg-assistant .spatial-agent-msg-body{background:var(--surface-soft);color:var(--app-fg);border-radius:12px 12px 12px 4px}.spatial-agent-typing{display:inline-flex;align-items:baseline;gap:6px;font-style:italic}.spatial-agent-typing-shimmer{background:linear-gradient(90deg,var(--panel-muted) 0%,var(--panel-muted) 35%,var(--app-fg) 50%,var(--panel-muted) 65%,var(--panel-muted) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:spatial-agent-shimmer 2s linear infinite}@keyframes spatial-agent-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.spatial-agent-typing-dots{display:inline-flex;align-items:center;gap:3px}.spatial-agent-typing-dots span{width:4px;height:4px;border-radius:50%;background:var(--panel-muted);animation:spatial-agent-dot-bounce 1.2s ease-in-out infinite}.spatial-agent-typing-dots span:nth-child(2){animation-delay:.15s}.spatial-agent-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes spatial-agent-dot-bounce{0%,60%,to{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}@media(prefers-reduced-motion:reduce){.spatial-agent-typing-shimmer{animation:none;background:none;color:var(--panel-muted)}.spatial-agent-typing-dots span{animation:none}}.spatial-agent-error{padding:8px 12px;background:#f8717126;color:var(--error-fg);border-radius:8px;font-size:12px}.spatial-agent-input-bar{display:flex;gap:6px;padding:8px 12px;border-top:1px solid var(--input-border);background:var(--surface-soft)}.spatial-agent-input{flex:1;resize:none;background:var(--panel-bg);border:1px solid var(--input-border);border-radius:6px;padding:6px 10px;color:var(--app-fg);font-size:13px;font-family:inherit;outline:none}.spatial-agent-input:focus{border-color:var(--accent)}.spatial-agent-send{align-self:flex-end;padding:6px 14px;background:var(--accent);color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer}.spatial-agent-send:disabled{opacity:.4;cursor:default}.spatial-agent-send.spatial-agent-stop{background:#dc2626;animation:spatial-agent-stop-pulse 1.6s ease-in-out infinite}@keyframes spatial-agent-stop-pulse{0%,to{box-shadow:0 0 #dc262673}50%{box-shadow:0 0 0 5px #dc262600}}@media(prefers-reduced-motion:reduce){.spatial-agent-send.spatial-agent-stop{animation:none}}.spatial-agent-msg-body .copilot-markdown{background:none;border:none;border-radius:0;padding:0}:root[data-theme=light] .spatial-agent-msg-user .spatial-agent-msg-body{background:#2563eb;color:#fff}:root[data-theme=light] .spatial-agent-msg-assistant .spatial-agent-msg-body{background:#f1f5f9;color:#0f172a}:root[data-theme=light] .spatial-agent-error{background:#dc26261a;color:#dc2626}:root[data-theme=light] .spatial-agent-input{background:#fff}:root[data-theme=light] .spatial-agent-send{background:#2563eb}:root[data-theme=light] .spatial-agent-send.spatial-agent-stop{background:#dc2626}:root[data-theme=light] .copilot-markdown h4{color:#1d4ed8}:root[data-theme=light] .copilot-markdown code:not(pre code){background:#2563eb14;border-color:#2563eb33;color:#1e40af}:root[data-theme=light] .copilot-markdown a{color:#2563eb}:root[data-theme=light] .copilot-markdown blockquote{border-left-color:#2563eb;background:#2563eb0d;color:#475569}:root[data-theme=light] .copilot-markdown strong{color:#0f172a}.confidence-badge{margin-bottom:8px;padding:5px 8px;border-radius:4px;font-size:12px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%;text-align:left;cursor:pointer;font-family:inherit;border:1px solid transparent;transition:filter .12s ease}.confidence-badge:hover{filter:brightness(1.06)}.confidence-badge .cb-dim{opacity:.85}.confidence-badge .cb-more{opacity:.65;font-size:11px;margin-left:auto}.confidence-badge.v-well{background:#22c55e24;border-color:#22c55e80;color:#bbf7d0}.confidence-badge.v-substantiated{background:#84cc1624;border-color:#84cc1680;color:#d9f99d}.confidence-badge.v-mixed{background:#f59e0b24;border-color:#f59e0b80;color:#fde68a}.confidence-badge.v-provisional{background:#f9731624;border-color:#f9731680;color:#fed7aa}.confidence-badge.v-weak{background:#ef444424;border-color:#ef444480;color:#fecaca}.confidence-badge.v-unknown{background:#94a3b81f;border-color:#94a3b859;color:#e2e8f0}:root[data-theme=light] .confidence-badge.v-well{background:#22c55e29;border-color:#16a34a99;color:#15803d}:root[data-theme=light] .confidence-badge.v-substantiated{background:#84cc1633;border-color:#65a30d99;color:#4d7c0f}:root[data-theme=light] .confidence-badge.v-mixed{background:#f59e0b33;border-color:#b453098c;color:#b45309}:root[data-theme=light] .confidence-badge.v-provisional{background:#f973162e;border-color:#c2410c8c;color:#c2410c}:root[data-theme=light] .confidence-badge.v-weak{background:#ef444426;border-color:#b91c1c8c;color:#b91c1c}:root[data-theme=light] .confidence-badge.v-unknown{background:#94a3b82e;border-color:#64748b73;color:#475569}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.38"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.story-panel{position:fixed;left:16px;bottom:16px;z-index:1400;width:360px;max-width:calc(100vw - 32px);max-height:min(72vh,680px);display:flex;flex-direction:column;background:var(--panel-bg);color:var(--app-fg);border:1px solid var(--panel-border);border-radius:12px;box-shadow:0 12px 40px var(--shadow-color, rgba(0, 0, 0, .45));overflow:hidden;font-size:13px}.story-panel-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--border-subtle);background:var(--header-bg);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.story-panel-head:active{cursor:grabbing}.story-panel-title{font-weight:600;display:flex;align-items:center;gap:6px}.story-drag-hint{opacity:.45;font-size:12px}.story-x,.story-saved-del{background:none;border:none;cursor:pointer;color:inherit;font-size:18px;line-height:1;opacity:.65;padding:2px 6px}.story-x:hover,.story-saved-del:hover{opacity:1}.story-resize{position:absolute;right:2px;bottom:2px;width:16px;height:16px;z-index:3;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 0 45%,var(--panel-border) 45% 55%,transparent 55% 68%,var(--panel-border) 68% 78%,transparent 78%);opacity:.6}.story-resize:hover{opacity:1}.story-menu{padding:12px;overflow-y:auto;flex:1 1 auto;min-height:0}.story-label{display:block;font-weight:600;margin-bottom:6px;color:var(--text-secondary)}.story-prompt{width:100%;resize:vertical;box-sizing:border-box;background:var(--surface-alt);color:var(--app-fg);border:1px solid var(--input-border);border-radius:8px;padding:8px;font:inherit}.story-prompt::placeholder{color:var(--text-dim)}.story-menu-actions{display:flex;gap:8px;margin-top:8px}.story-missing-body{line-height:1.5;margin:6px 0;color:var(--app-fg)}.story-missing-avail{line-height:1.4;margin:6px 0;color:var(--text-dim);font-size:12px}.story-run-error{margin:6px 0 2px;padding:8px 10px;max-height:160px;overflow:auto;background:var(--code-bg, rgba(127,127,127,.12));border:1px solid var(--panel-border);border-radius:6px;font-size:11.5px;line-height:1.4;white-space:pre-wrap;word-break:break-word;color:var(--error-fg, var(--app-fg))}.story-clarify-q{margin:10px 0}.story-clarify-label{margin-bottom:6px;color:var(--text-secondary)}.story-clarify-hint{font-size:12px;color:var(--text-dim, var(--text-secondary));opacity:.8;margin-bottom:10px}.story-clarify-opts{display:flex;flex-wrap:wrap;gap:6px}.story-chip{cursor:pointer;font:inherit;font-size:12px;padding:4px 10px;border-radius:999px;border:1px solid var(--panel-border);background:var(--surface-alt);color:var(--app-fg)}.story-chip:hover{background:var(--surface-soft)}.story-chip.active{background:var(--accent);border-color:var(--accent);color:#fff}.story-clarify-input{width:100%;box-sizing:border-box;font:inherit;padding:6px 8px;border-radius:7px;background:var(--surface-alt);color:var(--app-fg);border:1px solid var(--input-border)}.story-btn{cursor:pointer;font:inherit;padding:6px 12px;border-radius:7px;border:1px solid var(--panel-border);background:var(--surface-alt);color:var(--app-fg)}.story-btn:hover:not(:disabled){background:var(--surface-soft)}.story-btn:disabled{opacity:.45;cursor:default}.story-btn.primary{border-color:var(--accent-border);background:var(--accent);color:#fff}.story-btn.primary:hover:not(:disabled){filter:brightness(1.08)}.story-progress-row{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--text-secondary)}.story-progress-msg{flex:1;min-width:0}.story-stop{flex:none;border-color:var(--error-fg);color:var(--error-fg)}.story-stop:hover:not(:disabled){background:var(--accent-soft)}.story-spinner{width:13px;height:13px;border-radius:50%;border:2px solid var(--border-subtle);border-top-color:var(--accent);animation:story-spin .8s linear infinite;flex:none}@keyframes story-spin{to{transform:rotate(360deg)}}.story-error{margin-top:10px;padding:8px;border-radius:7px;color:var(--error-fg);background:var(--accent-soft);border:1px solid var(--error-fg)}.story-saved{margin-top:14px}.story-saved-title,.story-caveats-title,.story-followups-title{font-weight:600;color:var(--text-dim);text-transform:uppercase;font-size:11px;letter-spacing:.04em;margin-bottom:6px}.story-empty{color:var(--text-dim)}.story-saved ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.story-saved li{display:flex;align-items:center;gap:4px}.story-saved-open{flex:1;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;text-align:left;font:inherit;color:var(--app-fg);padding:6px 8px;border-radius:7px;border:1px solid var(--border-subtle);background:var(--surface-alt)}.story-saved-open:hover:not(:disabled){background:var(--surface-soft)}.story-saved-name{font-weight:500}.story-saved-meta{color:var(--text-dim);font-size:11px;flex:none}.story-player{padding:12px;overflow-y:auto;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.story-player-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.story-kind-chip{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.story-head-right{display:flex;align-items:center;gap:8px}.story-showme{cursor:pointer;font:inherit;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--accent)}.story-showme:hover{filter:brightness(1.1)}.story-progress{color:var(--text-dim);font-size:12px}.story-narration{line-height:1.5;margin:4px 0 12px;font-size:14px;color:var(--app-fg)}.story-caveats,.story-followups{margin-bottom:12px}.story-caveats ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.story-caveats li{line-height:1.4;color:var(--text-secondary)}.story-conf{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;padding:1px 6px;border-radius:4px;margin-right:6px;vertical-align:middle}.story-conf-high{background:var(--resolution-match-bg);color:var(--status-green)}.story-conf-medium{background:var(--action-btn-bg);color:var(--status-amber)}.story-conf-low,.story-conf-illustrative{background:var(--surface-soft);color:var(--text-dim)}.story-followup-chip{display:inline-block;margin:0 6px 6px 0;cursor:pointer;font:inherit;font-size:12px;padding:4px 10px;border-radius:999px;color:var(--app-fg);border:1px solid var(--panel-border);background:var(--surface-alt)}.story-followup-chip:hover{background:var(--surface-soft)}.story-dots{display:flex;gap:6px;justify-content:center;margin:6px 0 12px;flex-wrap:wrap}.story-dot{width:9px;height:9px;border-radius:50%;padding:0;cursor:pointer;border:1px solid var(--panel-border);background:transparent}.story-dot.active{background:var(--accent);border-color:var(--accent)}.story-player-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.story-player-nav{display:flex;gap:8px}.usage-panel{--usage-accent: #3987e5;--usage-accent-soft: rgba(57, 135, 229, .16);display:flex;flex-direction:column;gap:18px;color:var(--app-fg);font-size:13px}:root[data-theme=light] .usage-panel{--usage-accent: #2a78d6;--usage-accent-soft: rgba(42, 120, 214, .12)}.usage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.usage-range{display:inline-flex;gap:4px;padding:3px;border-radius:var(--radius-sm, 6px);background:var(--surface-alt);border:1px solid var(--panel-border)}.usage-range button{font:inherit;font-size:12px;cursor:pointer;border:none;border-radius:4px;padding:4px 10px;color:var(--text-secondary);background:transparent}.usage-range button.active{background:var(--accent);color:#fff}.usage-metric-toggle{font:inherit;font-size:12px;cursor:pointer;border:1px solid var(--panel-border);border-radius:var(--radius-sm, 6px);padding:5px 10px;color:var(--app-fg);background:var(--surface-alt)}.usage-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.usage-tile{border:1px solid var(--panel-border);border-radius:var(--radius, 8px);background:var(--surface-alt);padding:12px 14px}.usage-tile .label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary)}.usage-tile .value{font-size:22px;font-weight:650;margin-top:4px;font-variant-numeric:tabular-nums}.usage-tile .sub{font-size:11px;color:var(--text-secondary);margin-top:2px}.usage-section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);margin:0 0 8px}.usage-chart{position:relative;border:1px solid var(--panel-border);border-radius:var(--radius, 8px);background:var(--surface-alt);padding:12px 14px 6px}.usage-chart svg{display:block;width:100%;height:auto}.usage-bar{fill:var(--usage-accent)}.usage-bar:hover{fill:var(--usage-accent);filter:brightness(1.15)}.usage-axis-label{fill:var(--text-secondary);font-size:9px}.usage-tooltip{position:absolute;pointer-events:none;background:var(--panel-bg, #1f1f1e);border:1px solid var(--panel-border);border-radius:6px;padding:6px 8px;font-size:11px;line-height:1.4;white-space:nowrap;transform:translate(-50%,-100%);z-index:5;box-shadow:0 4px 14px var(--shadow-color, rgba(0,0,0,.35))}.usage-table{width:100%;border-collapse:collapse;font-size:12.5px}.usage-table th{text-align:left;font-weight:600;color:var(--text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:.03em;padding:6px 8px;border-bottom:1px solid var(--panel-border)}.usage-table td{padding:7px 8px;border-bottom:1px solid var(--border-subtle, var(--panel-border));font-variant-numeric:tabular-nums}.usage-table td.num,.usage-table th.num{text-align:right}.usage-row-clickable{cursor:pointer}.usage-row-clickable:hover{background:var(--surface-soft, var(--surface-alt))}.usage-source-cell{display:flex;align-items:center;gap:7px}.usage-source-icon{width:18px;text-align:center}.usage-caret{color:var(--text-secondary);width:10px;display:inline-block}.usage-share-bar{height:4px;border-radius:2px;background:var(--usage-accent);margin-top:3px}.usage-drill{background:var(--app-bg)}.usage-drill table{width:100%;border-collapse:collapse;font-size:11.5px}.usage-drill td{padding:4px 8px;color:var(--text-secondary);border-bottom:1px dashed var(--panel-border)}.usage-est{color:var(--status-amber, #d99a1a);font-size:10px;margin-left:4px}.usage-empty,.usage-loading,.usage-error{padding:32px 16px;text-align:center;color:var(--text-secondary)}.usage-error{color:var(--error-fg, #e06666)}.usage-note{font-size:11px;color:var(--text-secondary)}.reef-scene{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--panel-bg, #0b1120)}.reef-scene__canvas-wrap{flex:1 1 0;position:relative;min-height:0;overflow:hidden}.reef-scene__canvas{display:block;width:100%;height:100%}.reef-scene__organism{transition:opacity .35s ease;cursor:pointer;-webkit-user-select:none;user-select:none;pointer-events:auto}.reef-scene__organism:hover{filter:drop-shadow(0 0 4px rgba(255,255,255,.6))}.reef-scene__cover-segment{transition:opacity .3s ease}.reef-scene__cover-rect{transition:width .4s ease,opacity .3s ease}.reef-scene__cover-label{pointer-events:none;-webkit-user-select:none;user-select:none}.reef-scene__overlay{transition:opacity .5s ease;pointer-events:none}.reef-scene__light-ray{opacity:.6;animation:reef-scene-ray-shimmer 4s ease-in-out infinite alternate}@keyframes reef-scene-ray-shimmer{0%{opacity:.4}to{opacity:.7}}.reef-scene__tooltip{position:absolute;transform:translate(-50%,-100%);background:var(--panel-bg, #0b1120);color:var(--app-fg, #e2e8f0);font-size:12px;line-height:1.4;padding:6px 10px;border-radius:6px;border:1px solid var(--panel-border, #1f2937);pointer-events:none;white-space:nowrap;z-index:10;box-shadow:0 4px 12px var(--shadow-color, rgba(0, 0, 0, .4))}.reef-scene__controls{display:flex;align-items:center;gap:4px;padding:6px 10px;border-top:1px solid var(--panel-border, #1f2937);background:var(--panel-bg, #0b1120);flex-shrink:0}.reef-scene__btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--input-border, #334155);border-radius:4px;background:transparent;color:var(--app-fg, #e2e8f0);font-size:12px;cursor:pointer;transition:background .15s ease,border-color .15s ease;padding:0;line-height:1}.reef-scene__btn:hover:not(:disabled){background:var(--surface-soft, #1f2937);border-color:var(--accent-border, rgba(37, 99, 235, .5))}.reef-scene__btn:disabled{opacity:.35;cursor:default}.reef-scene__play-btn{width:36px;font-size:14px}.reef-scene__slider{flex:1 1 0;min-width:60px;height:4px;margin:0 6px;appearance:none;-webkit-appearance:none;background:var(--input-border, #334155);border-radius:2px;outline:none;cursor:pointer}.reef-scene__slider::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:var(--accent, #1d4ed8);border:2px solid var(--app-fg, #e2e8f0);cursor:pointer}.reef-scene__slider::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--accent, #1d4ed8);border:2px solid var(--app-fg, #e2e8f0);cursor:pointer}.reef-scene__slider:disabled{opacity:.35;cursor:default}.reef-scene__step-label{font-size:11px;color:var(--panel-muted, #94a3b8);white-space:nowrap;min-width:120px;text-align:right}:root{--firefly-core: rgba(250, 204, 21, .95);--firefly-mid: rgba(250, 204, 21, .4);--firefly-outer: rgba(250, 204, 21, 0);--firefly-ring: rgba(250, 204, 21, .5);--firefly-target: rgba(250, 204, 21, .75);--firefly-target-dash: rgba(250, 204, 21, .4);--firefly-shadow: rgba(250, 180, 0, .35)}:root[data-theme=light]{--firefly-core: rgba(217, 119, 6, .95);--firefly-mid: rgba(217, 119, 6, .45);--firefly-outer: rgba(217, 119, 6, 0);--firefly-ring: rgba(180, 83, 9, .5);--firefly-target: rgba(180, 83, 9, .7);--firefly-target-dash: rgba(180, 83, 9, .35);--firefly-shadow: rgba(180, 83, 9, .25)}.firefly-overlay{position:fixed;inset:0;pointer-events:none;z-index:9990;overflow:hidden}.firefly-dot{position:absolute;width:28px;height:28px;transform:translate(-50%,-50%);pointer-events:auto;cursor:pointer}.firefly-dot.flying{transition:left 2.5s cubic-bezier(.25,.1,.25,1),top 2.5s cubic-bezier(.25,.1,.25,1)}.firefly-dot.flying .firefly-dot__glow{animation:firefly-pulse .8s ease-in-out infinite}.firefly-dot.flying .firefly-dot__ring,.firefly-dot.flying .firefly-dot__label{display:none}.firefly-dot.arriving .firefly-dot__glow{animation:firefly-pulse 1.2s ease-in-out infinite}.firefly-dot.arriving .firefly-dot__ring{display:none}.firefly-dot.idle{animation:firefly-orbit 4.5s linear infinite}.firefly-dot.idle .firefly-dot__glow{animation:firefly-pulse 2s ease-in-out infinite}.firefly-dot.fading{opacity:0;transition:opacity .6s ease-out}.firefly-dot__glow{position:absolute;inset:-6px;border-radius:50%;background:radial-gradient(circle,var(--firefly-core) 0%,var(--firefly-mid) 35%,var(--firefly-outer) 70%);filter:drop-shadow(0 0 6px var(--firefly-shadow))}.firefly-dot__ring{position:absolute;inset:-12px;border-radius:50%;border:2px solid var(--firefly-ring);animation:firefly-ring-expand 2s ease-out infinite}.firefly-target-ring{position:absolute;transform:translate(-50%,-50%);pointer-events:none;width:36px;height:36px}.firefly-target-ring__circle{position:absolute;inset:0;border-radius:50%;border:2.5px solid var(--firefly-target);animation:firefly-target-shrink .8s cubic-bezier(.2,0,.2,1) forwards;transform-origin:center}.firefly-target-ring__circle:nth-child(2){border-style:dashed;border-color:var(--firefly-target-dash);animation-delay:.1s}.firefly-dot__label{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%);white-space:nowrap;font-size:11px;font-weight:500;color:var(--app-fg, #e2e8f0);background:var(--panel-bg, #1e293b);padding:4px 12px;border-radius:6px;border:1px solid var(--border-subtle, #334155);pointer-events:none;box-shadow:0 2px 12px var(--shadow-color, rgba(0, 0, 0, .3));opacity:0;animation:firefly-label-fadein .4s ease-out forwards}.firefly-dot__label--below{bottom:auto;top:calc(100% + 12px)}@keyframes firefly-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.4)}}@keyframes firefly-float{0%,to{translate:0 0}25%{translate:3px -4px}75%{translate:-3px 3px}}@keyframes firefly-orbit{0%{transform:translate(-50%,-50%) rotate(0) translate(24px) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg) translate(24px) rotate(-360deg)}}@keyframes firefly-ring-expand{0%{transform:scale(.5);opacity:.7}to{transform:scale(2.8);opacity:0}}@keyframes firefly-target-shrink{0%{transform:scale(40);opacity:0}20%{opacity:.85}to{transform:scale(1);opacity:0}}@keyframes firefly-label-fadein{0%{opacity:0;transform:translate(-50%) translateY(4px)}to{opacity:.94;transform:translate(-50%) translateY(0)}}@media(prefers-reduced-motion:reduce){.firefly-dot.flying{transition:none}.firefly-dot__glow{animation:none!important;opacity:.8}.firefly-dot__ring{animation:none;opacity:.4}.firefly-target-ring__circle{animation:none;opacity:0}}
