.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{color-scheme:dark;--bg: #0d0b12;--fg: #eae7f0;--muted: #948e9f;--accent: #b59aff;--warn: #ffcf6e;--danger: #ff6e6e;--card: #171320;--card-2: #1f1a2a;--border: #2e2740;font-family:-apple-system,system-ui,Segoe UI,sans-serif}html,body,#root{background:var(--bg);color:var(--fg);margin:0;min-height:100%}body{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;-webkit-text-size-adjust:100%}*{box-sizing:border-box}.app{display:flex;flex-direction:column;min-height:100vh;max-width:720px;margin:0 auto}.capture-bar{position:sticky;top:0;z-index:10;display:flex;gap:.5rem;padding:.6rem .8rem;background:#0b0b0cf2;-webkit-backdrop-filter:saturate(150%) blur(8px);backdrop-filter:saturate(150%) blur(8px);border-bottom:1px solid var(--border);align-items:center}.capture-bar input{flex:1;font:inherit;padding:.7rem .8rem;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--fg);min-height:44px}.capture-bar button{font:inherit;font-weight:600;padding:.7rem 1rem;border-radius:10px;border:none;background:var(--accent);color:#0b0b0c;min-height:44px}.capture-bar button:disabled{opacity:.4}.capture-bar .gear{background:transparent;color:var(--muted);font-size:1.3rem;padding:0 .6rem;min-width:44px}.capture-bar .gear:hover,.capture-bar .gear:active{color:var(--fg)}.capture-flash{position:absolute;bottom:-1.3rem;left:.8rem;font-size:.78rem;color:var(--muted)}.content{flex:1;padding:1rem .8rem 5rem}.view{display:flex;flex-direction:column;gap:1rem}.view h2{margin:0 0 .4rem;font-size:1.3rem}.view h3{margin:0 0 .5rem;font-size:.95rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:.9rem 1rem}.card+.card{margin-top:.6rem}ul.lean{list-style:none;margin:0;padding:0}ul.lean li{padding:.25rem 0}.muted{color:var(--muted)}.small{font-size:.8rem}.err{color:var(--danger);padding:.5rem .8rem}.hint{color:var(--accent);font-size:.8rem}.ts{float:right;font-size:.75rem}.row{display:flex;gap:.5rem;align-items:center}.row.gap{gap:.6rem}.row input[type=text],.row input[type=search],.row input[type=number]{flex:1;font:inherit;padding:.6rem .8rem;border-radius:9px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:40px}.row input[type=number]{flex:0 0 5.5rem}.row button{font:inherit;font-weight:600;padding:.6rem .9rem;border-radius:9px;border:none;background:var(--accent);color:#0b0b0c;min-height:40px}.filter-row{display:flex;gap:.4rem;margin:.2rem 0}.chip{font:inherit;font-size:.85rem;padding:.3rem .7rem;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--muted)}.chip.active{background:var(--accent);color:#0b0b0c;border-color:var(--accent)}ul.tasks{list-style:none;margin:0;padding:0}ul.tasks li{display:flex;flex-direction:column;padding:.6rem .8rem;background:var(--card);border:1px solid var(--border);border-radius:10px;margin-bottom:.4rem}ul.tasks li.done .task-title{text-decoration:line-through;color:var(--muted)}ul.tasks .task-main{display:flex;align-items:center;gap:.7rem}ul.tasks input[type=checkbox]{width:22px;height:22px;flex:0 0 auto}ul.tasks .task-title{flex:1;cursor:text;word-break:break-word}ul.tasks .task-edit{flex:1;font:inherit;padding:.4rem .5rem;border-radius:6px;border:1px solid var(--accent);background:var(--card-2);color:var(--fg)}ul.tasks .task-actions{display:flex;align-items:center;gap:.2rem;flex:0 0 auto}ul.tasks .task-actions .link{font-size:1.1rem;padding:.25rem .5rem;min-width:36px}.link.overflow{font-size:1.4rem;line-height:1;padding:.2rem .6rem;min-width:44px;min-height:36px;color:var(--muted);border-radius:8px}.link.overflow.open{color:var(--fg);background:var(--card-2)}.link.overflow:hover{color:var(--fg)}.task-action-row{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--border)}.action-btn{font:inherit;font-size:.85rem;padding:.45rem .8rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);cursor:pointer;min-height:38px}.action-btn.active{border-color:var(--accent);color:var(--accent)}.action-btn.danger{color:var(--danger);border-color:var(--danger)}.task-meta{margin-top:.3rem;padding-left:1.7rem;display:flex;flex-wrap:wrap;gap:.3rem;align-items:center}.task-jobsite-chip,.task-due-chip,.entity-chip{display:inline-flex;align-items:center;gap:.2rem;font-size:.74rem;padding:.15rem .55rem;border-radius:999px;background:var(--card-2);color:var(--muted);border:1px solid var(--border)}.task-due-chip{color:var(--accent);border-color:var(--accent);opacity:.85}button.task-due-chip{font:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}button.task-due-chip.clickable:hover{opacity:1}button.link.reminder-time{padding:0;font:inherit;color:var(--accent);text-decoration:underline dotted;text-underline-offset:2px}.entity-chip em{font-style:normal;opacity:.7;font-size:.7rem}.entity-chip .link.danger.small{font-size:.9rem;padding:0 .15rem}.task-tag-chip{display:inline-flex;align-items:center;gap:.2rem;font-size:.74rem;padding:.15rem .55rem;border-radius:999px;background:#ffcf6e1f;color:var(--warn);border:1px solid rgba(255,207,110,.4)}.task-tag-chip .link.danger.small{font-size:.9rem;padding:0 .15rem}.proposal-card{margin:.4rem 0;padding:.5rem .65rem;border:1px solid var(--accent);border-radius:9px;background:#6ea8ff12}.proposal-card .proposal-title{margin:.15rem 0;font-weight:600}.proposal-pending{margin:.3rem 0}.confidence{font-size:.7rem;padding:.05rem .45rem;border-radius:999px;border:1px solid var(--border);color:var(--muted)}.confidence.high{color:#7fd17f;border-color:#7fd17f}.confidence.low{color:var(--warn);border-color:var(--warn)}ul.tasks .subtasks{list-style:none;margin:.4rem 0 0;padding:0 0 0 1.4rem;border-left:2px solid var(--border)}ul.tasks .subtasks li{display:flex;align-items:center;gap:.45rem;padding:.22rem 0;background:transparent;border:none;margin:0;border-radius:0;font-size:.88rem}ul.tasks .subtasks li.done .subtask-title{text-decoration:line-through;color:var(--muted)}ul.tasks .subtasks .subtask-title{flex:1}.priority-chip{display:inline-flex;align-items:center;font-size:.74rem;padding:.15rem .55rem;border-radius:999px}.priority-chip.high{color:var(--danger);border:1px solid rgba(255,110,110,.45);background:#ff6e6e1a}.priority-chip.low{color:var(--muted);border:1px solid var(--border)}ul.checklist-items{list-style:none;margin:.2rem 0 0;padding:0}ul.checklist-items li{display:flex;align-items:center;gap:.5rem;padding:.3rem .1rem;border-bottom:1px solid var(--border);font-size:.92rem}ul.checklist-items li.done .checklist-label{text-decoration:line-through;color:var(--muted)}ul.checklist-items .checklist-label{flex:1}.chat-view{display:flex;flex-direction:column;min-height:60vh}.chat-thread{flex:1;display:flex;flex-direction:column;gap:.5rem;padding-bottom:.6rem}.chat-bubble{max-width:88%;padding:.5rem .7rem;border-radius:12px;font-size:.92rem;line-height:1.35}.chat-bubble.user{align-self:flex-end;background:#6ea8ff2e;border:1px solid rgba(110,168,255,.35)}.chat-bubble.assistant{align-self:flex-start;background:var(--card-2);border:1px solid var(--border)}.chat-bubble .proposal-card{margin:0}.chat-sources{margin-top:.3rem}.chat-sources ul{margin:.2rem 0 0;padding-left:1rem}.chat-input-row{display:flex;gap:.4rem;position:sticky;bottom:0;padding:.5rem 0;background:var(--bg)}.chat-input-row input{flex:1;font:inherit;padding:.55rem .7rem;border-radius:9px;border:1px solid var(--border);background:var(--card-2);color:var(--fg)}.chat-topbar{display:flex;gap:.35rem;align-items:center;margin-bottom:.5rem}.chat-topbar select{font:inherit;padding:.4rem .5rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg)}.bubble-actions{display:flex;gap:.6rem;margin-top:.25rem;opacity:.65}.bubble-actions .link.small{padding:0;font-size:.85rem}.journal-mode-bar{display:flex;align-items:center;gap:.5rem;position:sticky;bottom:3.2rem;padding:.35rem .5rem;border:1px solid var(--accent);border-radius:9px;background:#6ea8ff14}.journal-mode-bar .hint{flex:1}textarea.journal-draft{width:100%;font:inherit;font-size:.9rem;padding:.5rem .6rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);resize:vertical}.rollover-chip{display:inline-flex;align-items:center;gap:.2rem;font-size:.74rem;padding:.15rem .55rem;border-radius:999px;background:#ff6e6e24;color:var(--danger);border:1px solid rgba(255,110,110,.45)}.mention-chip{display:inline-block;font-family:inherit;background:#6ea8ff26;border:1px solid var(--accent);color:var(--accent);border-radius:4px;padding:0 .3rem;font-size:.85em}.entity-picker{display:flex;flex-direction:column;gap:.35rem}.entity-chip-row{display:flex;flex-wrap:wrap;gap:.3rem}.entity-picker input[type=text]{font:inherit;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:40px}.entity-suggest{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem;max-height:220px;overflow-y:auto}.entity-suggest .action-btn{width:100%;text-align:left}ul.tasks .task-reminders{list-style:none;margin:.5rem 0 0;padding:0;font-size:.82rem;color:var(--muted)}ul.tasks .task-reminders li{display:flex;align-items:center;justify-content:space-between;padding:.25rem 0;background:transparent;border:none;margin:0;border-radius:0}ul.tasks .task-reminders .link.danger.small{font-size:.95rem;padding:0 .4rem}.task-remind-form{display:flex;flex-direction:column;gap:.4rem;margin-top:.6rem;padding-top:.6rem;border-top:1px solid var(--border)}.task-remind-form input{font:inherit;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:40px}.task-remind-form button{font:inherit;font-weight:600;padding:.55rem .9rem;border-radius:8px;border:none;background:var(--accent);color:#0b0b0c}.task-remind-form button:disabled{opacity:.4}.new-task-form{display:flex;flex-direction:column;gap:.4rem}.new-task-form .link{align-self:flex-start;font-size:.85rem;padding:.2rem 0}.new-task-reminder{display:flex;flex-direction:column;gap:.45rem;padding:.6rem .8rem;border-radius:10px;background:var(--card);border:1px solid var(--border)}.new-task-reminder input[type=text],.new-task-reminder input[type=datetime-local]{font:inherit;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:40px}.task-history{margin-top:.4rem;padding-left:1.7rem}.task-history .link{font-size:.78rem;color:var(--muted)}.task-history .task-reminders li{padding:.15rem 0}.link{font:inherit;background:none;border:none;color:var(--accent);padding:.3rem 0;cursor:pointer}.link.danger{color:var(--danger);padding:0 .4rem;font-size:1.2rem}.quick-add-task{display:flex;flex-direction:column;gap:.4rem}.quick-add-task .link.small{align-self:flex-start;font-size:.8rem;padding:.1rem 0}.quickadd-chips{margin-top:.1rem}.quickadd-title-preview{color:var(--accent);font-size:.85rem}.quickadd-chips .task-tag-chip .link.small{font-size:.85rem;padding:0 .15rem;color:var(--muted)}.task-tag-chip.as-btn{cursor:pointer;border:1px dashed var(--border);background:transparent;color:var(--muted)}.quickadd-when-input{font:inherit;padding:.6rem .7rem;min-height:42px;border-radius:8px;border:1px solid var(--accent);background:var(--card-2);color:var(--fg);align-self:flex-start}.qa-when{display:inline-flex;align-items:stretch;border:1px solid var(--accent);border-radius:10px;overflow:hidden}.qa-when-label{font:inherit;font-size:.92rem;padding:.5rem .75rem;min-height:40px;background:#ffcf6e1f;color:var(--accent);border:none;cursor:pointer}.qa-when-x{font:inherit;font-size:1.25rem;line-height:1;padding:0 .7rem;min-width:42px;background:var(--card-2);color:var(--muted);border:none;border-left:1px solid var(--accent);cursor:pointer}.qa-when-x:active{background:var(--card);color:var(--danger)}.qa-when-add{font:inherit;font-size:.9rem;padding:.5rem .75rem;min-height:40px;border:1px dashed var(--border);border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}.hint.danger{color:var(--danger)}.capture-bar .capture-task-btn{background:var(--card-2);color:var(--accent);border:1px solid var(--accent);padding:.7rem}.capture-task-preview{padding:.35rem .8rem 0}.talk-through-day{display:block;width:100%;font:inherit;font-weight:600;text-align:left;margin:.4rem 0 .2rem;padding:.7rem .9rem;border-radius:10px;border:1px solid var(--accent);background:#ffcf6e1a;color:var(--fg);cursor:pointer}.talk-through-day:active{background:#ffcf6e2e}.journal-nav{display:flex;align-items:center;justify-content:space-between;gap:.3rem;margin:.4rem 0 .2rem}.journal-nav-btn{font:inherit;font-size:1.3rem;line-height:1;background:transparent;border:none;color:var(--fg);min-width:42px;min-height:42px;border-radius:9px;cursor:pointer}.journal-nav-btn:disabled{opacity:.3}.journal-nav-btn:active{background:var(--card-2)}.journal-nav-day{flex:1;text-align:center;font:inherit;cursor:pointer;background:transparent;border:none;color:var(--fg);padding:.4rem}.journal-saved{color:var(--muted);font-size:.8rem}.journal-actions{display:flex;gap:.4rem;margin:.3rem 0}.journal-action{flex:1;font:inherit;font-size:.9rem;padding:.55rem .5rem;border-radius:9px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);cursor:pointer}.journal-action.active{border-color:var(--accent);color:var(--accent)}.journal-reader{padding:.4rem .2rem .6rem;font-size:1.02rem;line-height:1.7;cursor:text;min-height:8rem}.journal-reader .jr-p{margin:0 0 .7rem;white-space:normal}.journal-reader .jr-h{margin:.9rem 0 .4rem;font-weight:600;line-height:1.3}.journal-reader .jr-h1{font-size:1.3rem}.journal-reader .jr-h2{font-size:1.15rem}.journal-reader .jr-h3,.journal-reader .jr-h4{font-size:1.03rem;color:var(--muted)}.journal-reader .jr-list{margin:0 0 .7rem;padding-left:1.3rem}.journal-reader .jr-list li{margin:.15rem 0}.journal-reader .jr-quote{margin:0 0 .7rem;padding:.2rem 0 .2rem .8rem;border-left:3px solid var(--border);color:var(--muted)}.jr-mention{color:var(--accent);background:#ffcf6e1f;border-radius:5px;padding:0 .2rem;white-space:nowrap}.journal-empty{display:flex;flex-direction:column;gap:.3rem;align-items:center;width:100%;min-height:8rem;justify-content:center;text-align:center;border:1px dashed var(--border);border-radius:12px;background:transparent;cursor:pointer;padding:1.5rem 1rem;margin-top:.3rem}.journal-browser{border:1px solid var(--border);border-radius:12px;background:var(--card);padding:.6rem .7rem;margin:.3rem 0 .5rem}.journal-recent{margin:.4rem 0 0}.journal-recent-row{display:flex;flex-direction:column;gap:.1rem;width:100%;text-align:left;background:transparent;border:none;cursor:pointer;padding:.5rem .2rem;border-bottom:1px solid var(--border);color:var(--fg)}.journal-recent-date{font-weight:600;font-size:.9rem}.journal-recent-cur{color:var(--accent)}.journal-recent-preview{color:var(--muted);font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journal-cal{margin-top:.5rem}.journal-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-top:.4rem}.journal-cal-dow{text-align:center;color:var(--muted);font-size:.72rem;padding:.2rem 0}.journal-cal-day{position:relative;aspect-ratio:1;font:inherit;font-size:.85rem;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--fg);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center}.journal-cal-day:disabled{opacity:.25;cursor:default}.journal-cal-day.has{font-weight:600}.journal-cal-day.cur{border-color:var(--accent);color:var(--accent)}.journal-cal-dot{width:4px;height:4px;border-radius:50%;background:var(--accent);margin-top:2px}.journal-cm-wrap{margin-top:.3rem}.journal-cm .cm-editor{background:transparent;min-height:9rem}.journal-cm .cm-editor.cm-focused{outline:none}.journal-cm .cm-scroller{overflow:visible}.cm-line.cm-jr-h{font-weight:600;line-height:1.3}.cm-line.cm-jr-h1{font-size:1.3rem}.cm-line.cm-jr-h2{font-size:1.15rem}.cm-line.cm-jr-h3{font-size:1.05rem}.cm-line.cm-jr-h4{font-size:1rem;color:var(--muted)}.cm-line.cm-jr-quote{border-left:3px solid var(--border);padding-left:.7rem;color:var(--muted)}.cm-jr-strong{font-weight:600}.cm-jr-bullet,.cm-jr-mention-raw{color:var(--accent)}.temp-spark{display:block;margin:.3rem 0 0;max-width:360px}.jobsite-chooser{margin-top:.6rem;padding:.7rem .8rem;border-radius:10px;background:var(--card-2);border:1px solid var(--accent)}.jobsite-chooser ul.lean li{padding:.3rem 0}.capture-edit{width:100%;min-height:4rem;margin:0 0 .5rem;padding:.55rem .7rem;font:inherit;border-radius:8px;border:1px solid var(--accent);background:var(--card-2);color:var(--fg);resize:vertical}ul.unsorted{list-style:none;margin:0;padding:0}ul.unsorted .meta{display:flex;gap:.6rem;font-size:.78rem;color:var(--muted);margin-bottom:.4rem}ul.unsorted .raw{margin:0 0 .7rem;white-space:pre-wrap}ul.unsorted .actions{display:flex;gap:.4rem;flex-wrap:wrap}ul.unsorted .actions button{font:inherit;font-size:.85rem;padding:.4rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg)}ul.unsorted .actions button.danger{color:var(--danger);border-color:var(--danger)}.reminder-form{display:flex;flex-direction:column;gap:.6rem}.reminder-form input[type=text],.reminder-form input[type=datetime-local]{font:inherit;padding:.7rem .8rem;border-radius:9px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:44px;width:100%}.reminder-form button[type=submit]{font:inherit;font-weight:600;padding:.75rem 1rem;border-radius:9px;border:none;background:var(--accent);color:#0b0b0c;min-height:44px}.reminder-form button[type=submit]:disabled{opacity:.4}.quick-offsets{flex-wrap:wrap}.quick-offsets .chip{font-size:.78rem;padding:.3rem .6rem;cursor:pointer}.repeat-label{display:flex;align-items:center;gap:.6rem}.repeat-label select{font:inherit;flex:1;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg)}.weekday-row{flex-wrap:wrap}.weekday-row .chip{cursor:pointer}.day-chip{min-width:3rem;text-align:center;font-weight:500;transition:background .15s,color .15s,border-color .15s,transform .06s}.day-chip:active{transform:scale(.96)}.day-chip.selected{background:var(--accent);color:#0b0b0c;border-color:var(--accent);font-weight:700;box-shadow:0 0 0 2px #6ea8ff40}.reminder-form input[type=number]{width:6rem;font:inherit;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg)}ul.reminder-list{list-style:none;margin:0;padding:0}ul.reminder-list li{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem}ul.reminder-list li.done .title{color:var(--muted)}ul.reminder-list .title{font-weight:500}.journal-header{display:flex;gap:.5rem;align-items:center}.journal-header input[type=date]{font:inherit;padding:.5rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card);color:var(--fg);flex:1}.journal-header button{font:inherit;font-weight:600;padding:.55rem 1rem;border-radius:8px;border:none;background:var(--accent);color:#0b0b0c}.journal-header button:disabled{opacity:.4}.journal-editor{width:100%;min-height:60vh;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.95rem;line-height:1.5;padding:.8rem;border-radius:10px;border:1px solid var(--border);background:var(--card);color:var(--fg);resize:vertical}.tab-bar{position:fixed;bottom:0;left:0;right:0;display:flex;background:#0d0b12f7;-webkit-backdrop-filter:saturate(150%) blur(10px);backdrop-filter:saturate(150%) blur(10px);border-top:1px solid var(--border);transform:translateZ(0);padding:.3rem .3rem calc(.3rem + env(safe-area-inset-bottom)) .3rem;z-index:10}.tab-bar button{flex:1;background:none;border:none;color:var(--muted);font:inherit;font-size:.78rem;padding:.55rem .2rem;border-radius:10px;position:relative;min-height:44px}.tab-bar button.active{color:var(--accent)}.tab-bar .badge{display:inline-block;margin-left:.3rem;min-width:1.1rem;padding:0 .35rem;background:var(--accent);color:#0b0b0c;border-radius:999px;font-size:.7rem;font-weight:700}pre{white-space:pre-wrap;word-break:break-word;font-size:.85rem;color:var(--muted);max-height:240px;overflow:auto;margin:0}mark{background:#6ea8ff40;color:inherit}b{color:var(--fg)}.capture-wrap{position:sticky;top:0;z-index:10;background:var(--bg)}.capture-wrap .capture-bar{position:static}.math-result{display:flex;align-items:center;gap:.6rem;padding:.5rem .9rem;background:var(--card);border-bottom:1px solid var(--border);font-size:.95rem}.math-result code{color:var(--muted)}.math-result .value{color:var(--accent);font-weight:700;font-size:1.05rem;margin-left:auto}.shutter+.shutter{margin-top:.5rem}.shutter-header{display:flex;align-items:center;gap:.55rem;width:100%;background:transparent;border:none;font:inherit;font-weight:600;color:var(--fg);padding:.4rem 0;cursor:pointer}.shutter-header.closed{color:var(--muted)}.shutter-header .arrow{font-size:.8rem;width:1rem}.shutter-header .badge{margin-left:auto;min-width:1.3rem;text-align:center;background:var(--card-2);color:var(--muted);border-radius:999px;padding:0 .5rem;font-size:.78rem;font-weight:700}.shutter-header.open .badge{background:var(--accent);color:#0b0b0c}.shutter-items{list-style:none;margin:.3rem 0 0;padding:0 0 0 1.3rem}.shutter-items li{padding:.25rem 0;font-size:.92rem}.shutter-items code{background:var(--card-2);padding:.05rem .4rem;border-radius:5px;margin-right:.4rem;font-size:.85rem}.big-stats{display:flex;gap:1rem;margin:.4rem 0 .2rem}.big-stats>div{flex:1}.stat-value{font-size:1.4rem;font-weight:700}.session-form{display:flex;flex-direction:column;gap:.55rem;margin-top:.6rem}.session-form label{display:flex;flex-direction:column;gap:.2rem;flex:1}.session-form input,.session-form select{font:inherit;padding:.55rem .7rem;border-radius:8px;border:1px solid var(--border);background:var(--card-2);color:var(--fg);min-height:40px}.session-form button[type=submit]{font:inherit;font-weight:600;padding:.7rem 1rem;border-radius:9px;border:none;background:var(--accent);color:#0b0b0c;margin-top:.3rem}.session-form .row label{gap:.2rem}.session-form .row{gap:.5rem}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:40}.drawer{position:fixed;top:0;left:0;bottom:0;width:250px;background:var(--card);border-right:1px solid var(--border);z-index:41;overflow-y:auto;padding:max(.6rem,env(safe-area-inset-top)) 0 1rem}.drawer-nav{display:flex;flex-direction:column}.drawer-section{padding:.7rem 1rem .25rem;font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.drawer-item{display:flex;align-items:center;gap:.6rem;padding:.55rem 1rem;background:none;border:none;color:var(--fg);font:inherit;text-align:left;cursor:pointer}.drawer-item .icon{width:1.4em;text-align:center;flex-shrink:0}.drawer-item .label{flex:1}.drawer-item.active{color:var(--accent);background:var(--card-2)}.drawer-item .badge{min-width:1.1rem;padding:0 .35rem;background:var(--accent);color:#0d0b12;border-radius:999px;font-size:.72rem;text-align:center}.menu-btn{position:relative}.menu-dot{position:absolute;top:4px;right:4px;width:8px;height:8px;border-radius:50%;background:var(--accent)}.nav-rail{display:none}@media (min-width: 1100px){.app{max-width:1000px;display:grid;grid-template-columns:230px 1fr;grid-template-rows:auto 1fr}.nav-rail{display:block;grid-column:1;grid-row:1 / span 2;position:sticky;top:0;height:100vh;overflow-y:auto;border-right:1px solid var(--border);padding-top:.6rem}.rail-title{font-size:1.3rem;font-weight:700;padding:.2rem 1rem .4rem}.capture-wrap,.offline-bar{grid-column:2}.content{grid-column:2;padding-bottom:2rem}.tab-bar,.capture-bar .menu-btn{display:none}}.offline-bar{position:sticky;top:0;z-index:9;background:var(--card-2);border-bottom:1px solid var(--border);font-size:.82rem}.offline-bar-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4rem .8rem;cursor:pointer}.offline-bar-summary{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.offline-bar-actions{display:flex;gap:.6rem;align-items:center;flex-shrink:0}.offline-chip{display:inline-flex;align-items:center;gap:.25rem;padding:.1rem .5rem;border-radius:999px;border:1px solid var(--border);color:var(--muted)}.offline-chip.pending{color:var(--warn);border-color:var(--warn)}.offline-chip.failed{color:var(--danger);border-color:var(--danger)}.offline-queue-list{list-style:none;margin:0;padding:.2rem .8rem .6rem;display:flex;flex-direction:column;gap:.4rem}.offline-queue-list li{padding:.35rem 0;border-top:1px solid var(--border)}.offline-queue-list li.failed{color:var(--fg)}.offline-queue-row-actions{display:flex;gap:.5rem;flex-shrink:0}
