.import-csv-container{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;margin-bottom:2rem}.import-csv-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.import-csv-header h3{margin:0;font-size:1.25rem;color:#111827}.import-csv-body{display:flex;flex-direction:column;gap:1.5rem}.file-input-group{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.file-input-group input[type=file]{flex:1;min-width:200px;padding:.5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.95rem}.file-input-group input[type=file]:disabled{opacity:.6;cursor:not-allowed}.import-error{padding:1rem;background-color:#fef2f2;border:1px solid #fecaca;border-radius:4px;color:#991b1b}.import-results{border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.results-summary{background-color:#f9fafb;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.results-summary h4{margin:0 0 .5rem;font-size:1.1rem;color:#111827}.results-summary p{margin:.25rem 0;font-size:.95rem;color:#4b5563}.results-summary .success-count{color:#059669;font-weight:500}.results-summary .error-count{color:#dc2626;font-weight:500}.results-section{padding:1.5rem}.results-section:not(:last-child){border-bottom:1px solid #e5e7eb}.results-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.results-section h5{margin:0 0 1rem;font-size:1rem;color:#374151;font-weight:600}.results-section-header h5{margin:0}.results-list{display:flex;flex-direction:column;gap:.5rem}.result-item{display:flex;align-items:center;gap:1rem;padding:.75rem;border-radius:4px;font-size:.9rem}.result-item.success{background-color:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.result-item.error{background-color:#fef2f2;border:1px solid #fecaca;color:#991b1b;flex-direction:column;align-items:flex-start}.result-row{font-weight:600;min-width:60px}.result-error{color:#dc2626;font-size:.85rem}.more-items{text-align:center;color:#6b7280;font-style:italic;margin-top:.5rem;font-size:.9rem}.btn-sm{padding:.375rem .75rem;font-size:.875rem}@media (max-width: 640px){.import-csv-header{flex-direction:column;align-items:flex-start;gap:1rem}.file-input-group{flex-direction:column;width:100%}.file-input-group input[type=file],.file-input-group button{width:100%}.results-section-header{flex-direction:column;align-items:flex-start;gap:.5rem}}.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}}.role-permissions-page{padding:3rem 2.5rem;max-width:1800px;margin:0 auto}.page-header{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-bottom:3rem;padding:2rem;background:#fffffff2;border-radius:16px;box-shadow:0 10px 30px #00000026}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;background:linear-gradient(135deg,#1e40af,#0d9488);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-align:center}.page-header p{color:#4a5568;margin:0 0 15px;font-size:1rem;text-align:center}.alert{padding:1rem 1.25rem;border-radius:10px;margin-bottom:1rem;font-size:.95rem;line-height:1.6}.alert-info{background-color:#dbeafe;border-left:4px solid #0d9488;color:#1e40af;margin-top:1rem}.alert-warning{background-color:#fef3c7;border-left:4px solid #f59e0b;color:#92400e}.alert-error{background-color:#fee2e2;border-left:4px solid #dc2626;color:#991b1b}.alert-success{background-color:#d1fae5;border-left:4px solid #047857;color:#065f46}.actions{display:flex;gap:1rem;margin-bottom:2rem;padding:1.5rem;background:#fffffff2;border-radius:16px;box-shadow:0 10px 30px #00000026}.btn{padding:.85rem 1.5rem;border:none;border-radius:10px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px #0d94884d}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#0d9488,#047857);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #0d948866;background:linear-gradient(135deg,#0f766e,#065f46)}.btn-secondary{background:linear-gradient(135deg,#64748b,#475569);color:#fff}.btn-secondary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #64748b66;background:linear-gradient(135deg,#475569,#334155)}.btn-small{padding:.6rem 1rem;font-size:.875rem}.btn:active{transform:translateY(0)}.role-tabs{display:flex;gap:.5rem;margin-bottom:2rem;background:#fffffff2;padding:.75rem;border-radius:16px;box-shadow:0 10px 30px #00000026;overflow-x:auto}.role-tab{padding:.85rem 1.5rem;border:none;background:transparent;cursor:pointer;font-size:.95rem;font-weight:600;color:#4a5568;border-radius:10px;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;white-space:nowrap}.role-tab:hover{color:#1a202c;background:#0d94881a}.role-tab.active{color:#fff;background:linear-gradient(135deg,#0d9488,#047857);box-shadow:0 4px 12px #0d94884d}.badge{background-color:#e2e8f0;color:#475569;padding:.25rem .6rem;border-radius:12px;font-size:.75rem;font-weight:600;line-height:1}.role-tab.active .badge{background-color:#ffffff40;color:#fff}.permissions-content{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 10px 30px #00000026;transition:transform .3s ease,box-shadow .3s ease}.permissions-content:hover{transform:translateY(-4px);box-shadow:0 15px 40px #0003}.permissions-content h2{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700;color:#1e40af;border-bottom:3px solid #0d9488;padding-bottom:.75rem;text-align:center}.permission-count{color:#4a5568;margin-bottom:2rem;font-size:.95rem;font-weight:600;text-align:center}.permission-category{margin-bottom:2rem;padding:1.5rem;background:#f7fafc;border-radius:12px;border:2px solid #e2e8f0;transition:all .3s ease}.permission-category:hover{border-color:#0d9488;box-shadow:0 4px 12px #0d94881a}.category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #cbd5e0}.category-header h3{margin:0;color:#1a202c;font-size:1.125rem;font-weight:700}.category-actions{display:flex;align-items:center;gap:.75rem}.permission-list{display:grid;gap:.75rem}.permission-item{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:10px;cursor:pointer;transition:all .3s ease;background:#fff;border:2px solid #e2e8f0}.permission-item:hover{background-color:#fff;border-color:#0d9488;box-shadow:0 4px 12px #0d948826;transform:translate(4px)}.permission-item input[type=checkbox]{margin-top:.25rem;cursor:pointer;width:20px;height:20px;accent-color:#0d9488}.permission-info{display:flex;flex-direction:column;gap:.375rem;flex:1}.permission-info strong{color:#1a202c;font-size:.95rem;font-weight:600;font-family:Courier New,monospace}.permission-desc{color:#4a5568;font-size:.875rem;line-height:1.5}.loading,.error{padding:3rem;text-align:center;color:#4a5568;font-size:1.125rem;background:#fffffff2;border-radius:16px;box-shadow:0 10px 30px #00000026;margin:2rem auto;max-width:600px}@media (max-width: 768px){.role-permissions-page{padding:10px}.category-header{flex-direction:column;align-items:flex-start;gap:12px}.actions{flex-direction:column}.btn{width:100%}}/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.billing-container{max-width:1200px;margin:0 auto;padding:2rem}.billing-container h1{font-size:2rem;font-weight:600;margin-bottom:2rem;color:#1a1a1a}.billing-container h2{font-size:1.5rem;font-weight:600;margin:2rem 0 1rem;color:#1a1a1a}.billing-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.spinner{border:4px solid #f3f3f3;border-top:4px solid #1976d2;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.billing-alert{padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;display:flex;flex-direction:column;gap:.5rem}.billing-alert-error{background-color:#ffebee;border:1px solid #ef5350;color:#c62828}.billing-alert-warning{background-color:#fff8e1;border:1px solid #ffa726;color:#e65100}.billing-alert-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:inherit;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;align-self:flex-end}.billing-alert-close:hover{opacity:.7}.billing-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;margin-bottom:2rem}.billing-current-plan{box-shadow:0 2px 4px #0000001a}.billing-plan-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.billing-plan-header h3{font-size:1.5rem;font-weight:600;margin:0;color:#1a1a1a}.billing-badge{display:inline-block;padding:.25rem .75rem;border-radius:16px;font-size:.875rem;font-weight:500;text-transform:capitalize}.billing-badge-active{background-color:#e8f5e9;color:#2e7d32}.billing-badge-canceled,.billing-badge-past_due{background-color:#fff3e0;color:#e65100}.billing-badge-success{background-color:#e8f5e9;color:#2e7d32}.billing-badge-full{width:100%;text-align:center;padding:.75rem}.billing-price{margin:1rem 0}.billing-price-amount{font-size:2.5rem;font-weight:700;color:#1976d2}.billing-price-period{font-size:1rem;color:#666;margin-left:.25rem}.billing-description{color:#666;line-height:1.6;margin:1rem 0}.billing-renewal-date{color:#666;font-size:.875rem;margin-top:1rem}.billing-no-plan{color:#666;font-style:italic}.billing-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;border:none;margin-top:1rem}.billing-btn:disabled{opacity:.5;cursor:not-allowed}.billing-btn-primary{background-color:#1976d2;color:#fff}.billing-btn-primary:hover:not(:disabled){background-color:#1565c0}.billing-btn-secondary{background-color:#fff;color:#1976d2;border:1px solid #1976d2}.billing-btn-secondary:hover:not(:disabled){background-color:#f5f5f5}.billing-btn-full{width:100%}.billing-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:1.5rem}.billing-plan-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1.5rem;display:flex;flex-direction:column;transition:box-shadow .2s}.billing-plan-card:hover{box-shadow:0 4px 12px #0000001a}.billing-plan-content{flex-grow:1}.billing-plan-content h3{font-size:1.5rem;font-weight:600;margin:0 0 1rem;color:#1a1a1a}.billing-plan-actions{margin-top:1.5rem}.billing-statistics{box-shadow:0 2px 4px #0000001a}.billing-statistics-subtitle{color:#666;margin-bottom:1.5rem;font-size:.95rem}.billing-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.billing-stat-item{background:#f8f9fa;padding:1rem;border-radius:6px;border:1px solid #e0e0e0}.billing-stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.billing-stat-label{font-weight:500;color:#333;font-size:.9rem;text-transform:capitalize}.billing-stat-value{font-weight:600;color:#1976d2;font-size:1rem}.billing-progress-bar{background:#e0e0e0;border-radius:4px;height:8px;overflow:hidden;margin-bottom:.5rem}.billing-progress-fill{background:#1976d2;height:100%;transition:width .3s ease;border-radius:4px}.billing-progress-fill.billing-progress-warning{background:#ff9800}.billing-stat-warning{color:#f57c00;font-size:.85rem;margin:0;font-weight:500}.billing-tiers-container{margin-top:2rem}.billing-tier-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:2rem}.billing-tier-tab{background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .3s ease;text-align:left}.billing-tier-tab:hover{border-color:#1976d2;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.billing-tier-tab.active{border-color:#1976d2;background:#e3f2fd;box-shadow:0 4px 12px #1976d233}.billing-tier-tab-content h3{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin:0 0 .5rem}.billing-tier-tab-content p{font-size:.9rem;color:#666;margin:0}.billing-tier-price-info{font-size:.95rem!important;font-weight:600!important;color:#1976d2!important;margin-top:.5rem!important}.billing-tier-plans{animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.billing-plans-table{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.billing-plans-table table{width:100%;border-collapse:collapse}.billing-plans-table thead{background:#f5f5f5}.billing-plans-table th{padding:1rem;text-align:left;font-weight:600;color:#1a1a1a;border-bottom:2px solid #e0e0e0}.billing-plans-table td{padding:1.25rem 1rem;border-bottom:1px solid #e0e0e0}.billing-plans-table tbody tr:hover{background:#f9f9f9}.billing-plans-table tbody tr.current-plan-row{background:#e8f5e9}.billing-plans-table tbody tr:last-child td{border-bottom:none}.billing-btn-sm{padding:.5rem 1.5rem;font-size:.9rem}.ml-2{margin-left:.5rem}@media (max-width: 768px){.billing-container{padding:1rem}.billing-plans-grid,.billing-tier-tabs{grid-template-columns:1fr}.billing-plans-table{overflow-x:auto}.billing-plans-table table{min-width:600px}.billing-container h1{font-size:1.5rem}.billing-price-amount{font-size:2rem}}*{box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0;padding:0;background:linear-gradient(135deg,#1e3a8a,#1e40af,#0f766e);background-attachment:fixed;color:#1a202c;line-height:1.6;min-height:100vh}.card{max-width:440px;margin:5rem auto;background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 20px 60px #0000004d}.card h1{margin:0 0 1.5rem;font-size:2rem;font-weight:700;background:linear-gradient(135deg,#1e40af,#047857);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-align:center}.top-bar,.logo-container,.logo-image{display:none}.mobile-menu-toggle{display:none;position:absolute;right:1rem;top:50%;transform:translateY(-50%);background:#ffffff1a;border:none;color:#fff;padding:.75rem;border-radius:8px;cursor:pointer;transition:all .3s ease;z-index:1001;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.mobile-menu-toggle:hover{background:#fff3}.mobile-menu-toggle svg{display:block}.nav-dropdown{position:relative}.nav-dropdown-toggle{color:#e2e8f0;background:#ffffff1a;border:none;cursor:pointer;font-weight:600;padding:.6rem 1.2rem;border-radius:8px;transition:all .3s ease;font-size:.95rem}.nav-dropdown-toggle:hover{background:#fff3;transform:translateY(-2px)}.nav-dropdown-menu{position:absolute;top:100%;left:0;margin-top:.5rem;background:#fff;border-radius:8px;box-shadow:0 10px 30px #0003;min-width:180px;overflow:hidden;z-index:1001}.nav-dropdown-menu a{display:block;color:#1a202c;background:transparent;padding:.75rem 1.25rem;transition:all .2s ease;border-radius:0}.nav-dropdown-menu a:hover{background:linear-gradient(135deg,#0d9488,#047857);color:#fff;transform:none}.app-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#1e3a8a,#065f46);color:#fff;width:240px;transition:width .3s ease;overflow-x:hidden;overflow-y:auto;box-shadow:4px 0 12px #00000026;z-index:1000;display:flex;flex-direction:column}.sidebar.sidebar-collapsed{width:60px}.sidebar-header{display:flex;align-items:center;justify-content:center;padding:1.25rem 1rem;border-bottom:1px solid rgba(255,255,255,.1);min-height:70px}.sidebar-brand{display:flex;align-items:center;gap:.75rem}.sidebar-logo{width:40px;height:40px;object-fit:contain}.sidebar-header h2{margin:0;font-size:1.3rem;font-weight:700;color:#58a7c9;white-space:nowrap}.sidebar-toggle{position:absolute;top:50%;right:-16px;transform:translateY(-50%);background:linear-gradient(135deg,#1e3a8a,#065f46);border:2px solid rgba(255,255,255,.2);color:#fff;padding:.5rem;border-radius:50%;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;box-shadow:0 2px 8px #0000004d;z-index:1001}.sidebar-toggle:hover{background:linear-gradient(135deg,#2563eb,#059669);transform:translateY(-50%) scale(1.1);box-shadow:0 4px 12px #0006}.sidebar-nav{flex:1;display:flex;flex-direction:column;padding:1rem 0;overflow-y:auto}.sidebar-item{display:flex;align-items:center;gap:.75rem;padding:.85rem 1.25rem;color:#e2e8f0;text-decoration:none;transition:all .3s ease;border:none;background:transparent;cursor:pointer;font-weight:600;font-size:.95rem;text-align:left;white-space:nowrap;width:100%;position:relative}.sidebar-item:hover{background:#ffffff1a}.sidebar-item.active{background:#ffffff26;border-left:4px solid #0d9488;font-weight:700}.sidebar-collapsed .sidebar-item{justify-content:center;padding:.85rem .5rem}.sidebar-icon{min-width:20px;min-height:20px;flex-shrink:0}.sidebar-section{display:flex;flex-direction:column}.sidebar-dropdown-toggle{justify-content:space-between}.dropdown-arrow{transition:transform .3s ease;margin-left:auto}.dropdown-arrow.open{transform:rotate(180deg)}.sidebar-collapsed .dropdown-arrow{display:none}.sidebar-submenu{display:flex;flex-direction:column;background:#0003;margin:0}.sidebar-submenu a{padding:.75rem 1.25rem .75rem 3rem;color:#cbd5e1;text-decoration:none;font-size:.9rem;font-weight:500;transition:all .2s ease}.sidebar-submenu a:hover{background:#ffffff1a;color:#fff}.sidebar-submenu a.active{background:#ffffff26;color:#fff;font-weight:700}.sidebar-logout{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}.mobile-header{display:none}.main-content{padding:3rem 2.5rem;max-width:1800px;margin:0 auto;width:100%}main{padding:3rem 2.5rem;max-width:1800px;margin:0 auto}.page-header{display:flex;justify-content:center;align-items:center;gap:2rem;margin-bottom:3rem;padding:2rem;background:#fffffff2;border-radius:16px;box-shadow:0 10px 30px #00000026}.page-header h2{margin:0;font-size:2rem;font-weight:700;background:linear-gradient(135deg,#1e40af,#0d9488);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;border:none;padding:0}.btn-primary{display:inline-block;padding:1rem 2rem;background:linear-gradient(135deg,#0d9488,#047857);color:#fff;text-decoration:none;border-radius:12px;font-weight:700;font-size:1.1rem;transition:all .3s ease;box-shadow:0 6px 20px #0d948866;border:none;cursor:pointer}.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 30px #0d948880;background:linear-gradient(135deg,#0f766e,#065f46)}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:2rem;justify-items:center}section,form{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 10px 30px #00000026;transition:transform .3s ease,box-shadow .3s ease;max-width:1600px;margin:0 auto 2rem}section:hover,form:hover{transform:translateY(-4px);box-shadow:0 15px 40px #0003}section h2,form h2{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700;color:#1e40af;border-bottom:3px solid #0d9488;padding-bottom:.75rem;text-align:center}label{display:flex;flex-direction:column;font-size:.95rem;gap:.5rem;margin-bottom:1.25rem;font-weight:600;color:#4a5568}input,select,textarea{padding:.85rem 1rem;border-radius:10px;border:2px solid #e2e8f0;font-size:1rem;transition:all .3s ease;background:#f7fafc;font-family:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:#0d9488;background:#fff;box-shadow:0 0 0 3px #0d948826}textarea{resize:vertical;min-height:100px}button{background:linear-gradient(135deg,#0d9488,#047857);color:#fff;border:none;cursor:pointer;padding:.85rem 1.5rem;border-radius:10px;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px #0d94884d}button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0d948866;background:linear-gradient(135deg,#0f766e,#065f46)}button:active{transform:translateY(0)}button:disabled{opacity:.6;cursor:not-allowed;transform:none}table{width:100%;border-collapse:separate;border-spacing:0;margin-top:1rem;border-radius:10px;overflow:hidden;min-width:600px}th,td{padding:1rem;text-align:left;white-space:nowrap}thead{background:linear-gradient(135deg,#1e40af,#0d9488);color:#fff;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700}tbody tr{background:#fff;transition:all .2s ease}tbody tr:nth-child(2n){background:#f7fafc}tbody tr:hover{background:#edf2f7;transform:scale(1.01);box-shadow:0 2px 8px #0000001a}td{border-bottom:1px solid #e2e8f0}.table-wrapper,div:has(>table),section:has(>table){overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -1rem;padding:0 1rem;position:relative;border-radius:10px}section>table{margin-left:-1rem;margin-right:-1rem;width:calc(100% + 2rem)}.table-wrapper{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000000d}.muted{color:#a0aec0;margin-top:1rem;font-style:italic}.error{color:#e53e3e;font-weight:600}.link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem;margin-top:1.5rem}.link-grid a{display:block;padding:1rem;background:linear-gradient(135deg,#0d9488,#047857);color:#fff;text-align:center;border-radius:12px;text-decoration:none;transition:all .3s ease;font-weight:600;box-shadow:0 4px 12px #0d94884d}.link-grid a:hover{transform:translateY(-4px);box-shadow:0 8px 20px #0d948866;background:linear-gradient(135deg,#0f766e,#065f46)}.denom-grid{display:grid;grid-template-columns:100px 1fr 1fr;gap:.75rem 1.5rem;align-items:center;margin:1.5rem;background:#fff;padding:2rem;border-radius:12px;border:2px solid #e2e8f0;box-shadow:0 2px 8px #0000000d}.denom-grid>div{font-weight:600;text-align:center;color:#2d3748;font-size:1rem}.denom-grid>div:nth-child(-n+3){font-weight:700;color:#1e40af;padding-bottom:.5rem;border-bottom:2px solid #e2e8f0;margin-bottom:.25rem}.denom-grid input{width:100%;text-align:center;font-weight:600;padding:.75rem;font-size:1rem}.total-display{margin:2rem 0 1.5rem;padding:1.5rem;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-left:5px solid #059669;border-radius:10px;font-size:1.25rem;box-shadow:0 4px 12px #05966933}.total-display span{color:#047857;font-weight:700;font-size:1.5rem}.safe-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 10px 30px #0000001f;transition:all .3s ease;border-top:4px solid #0d9488;width:100%;max-width:450px;text-decoration:none;color:inherit;display:block}.safe-card:hover{transform:translateY(-6px);box-shadow:0 15px 40px #0003}.safe-card h3{margin:0 0 .5rem;font-size:1.5rem;color:#1e40af;font-weight:700;text-align:center}.safe-location{color:#718096;font-size:.95rem;margin-bottom:1.5rem;font-weight:500;text-align:center;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.safe-value{margin:1.5rem 0;text-align:center;padding:1rem;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:12px}.safe-value .label{display:block;font-size:.9rem;color:#4a5568;font-weight:600;margin-bottom:.5rem}.safe-value .value{display:block;font-size:2rem;font-weight:700;color:#059669}.denom-summary{margin:1.25rem 0;padding:1rem;background:#f7fafc;border-radius:10px}.denom-summary>div{padding:.5rem 0;color:#2d3748;font-size:.95rem;font-weight:500;border-bottom:1px solid #e2e8f0}.denom-summary>div:last-child{border-bottom:none}.safe-card .location{color:#718096;font-size:.95rem;margin-bottom:1.5rem;font-weight:500;text-align:center;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.safe-card .total{font-size:2rem;font-weight:700;color:#059669;margin:1.5rem 0;text-align:center;padding:1rem;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:12px}.safe-card .breakdown{margin:1.25rem 0;padding:1rem;background:#f7fafc;border-radius:10px}.safe-card a{display:block;margin-top:1.5rem;padding:.85rem 1.5rem;background:linear-gradient(135deg,#0d9488,#047857);color:#fff;text-decoration:none;border-radius:10px;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px #0d94884d;text-align:center}.safe-breakdown{margin-top:1.5rem;background:#fff;border-radius:10px;overflow:hidden;border:2px solid #e2e8f0}.safe-breakdown-table{width:100%;border-collapse:collapse;font-size:.9rem;margin:0;border-radius:0;box-shadow:none;min-width:auto}.safe-breakdown-table thead{background:linear-gradient(135deg,#1e40af,#0d9488)}.safe-breakdown-table thead th{padding:.75rem;text-align:center;font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:#fff}.safe-breakdown-table tbody tr{background:#fff;transition:background .2s ease}.safe-breakdown-table tbody tr:nth-child(2n){background:#f7fafc}.safe-breakdown-table tbody tr:hover{background:#edf2f7;transform:none;box-shadow:none}.safe-breakdown-table tbody td{padding:.65rem .75rem;border-bottom:1px solid #e2e8f0;font-weight:500}.safe-breakdown-table tbody tr:last-child td{border-bottom:none}.safe-breakdown-table .denom-cell{text-align:center;font-weight:700;color:#1e40af;font-size:.95rem}.safe-breakdown-table .count-cell{text-align:center;color:#2d3748;font-weight:600}.safe-card a:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0d948866;background:linear-gradient(135deg,#0f766e,#065f46)}.timeline-entry{background:linear-gradient(135deg,#fff,#f0fdfa);border-left:5px solid #10b981;padding:1.75rem;margin-bottom:2rem;border-radius:12px;box-shadow:0 6px 20px #0000001a;transition:all .3s ease}.timeline-entry:hover{transform:translate(4px);box-shadow:0 8px 25px #00000026}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.timeline-header strong{font-size:1.1rem;color:#2d3748}.timeline-body{display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;align-items:start}.timeline-col{background:#f7fafc;padding:1.25rem;border-radius:10px}.timeline-col h4{margin:0 0 1rem;color:#2d3748;font-weight:700;font-size:1.1rem}.timeline-arrow{font-size:2rem;color:#10b981;align-self:center;font-weight:700}.timeline-note{margin-top:1.25rem;padding-top:1rem;border-top:2px solid #e2e8f0;color:#718096;font-style:italic}.denom-row{display:flex;justify-content:space-between;padding:.6rem 0;font-size:.95rem;border-bottom:1px solid #e2e8f0}.denom-row:last-child{border-bottom:none}.denom-label{font-weight:700;color:#2d3748}.denom-detail{color:#4a5568;font-weight:500}.balance-summary{background:linear-gradient(135deg,#ecfdf5,#d1fae5);padding:1.5rem;border-radius:12px;border:2px solid #a7f3d0}.balance-summary h3{margin:0 0 1.25rem;color:#047857;font-weight:700;font-size:1.5rem}.safe-info{margin-bottom:2.5rem;background:linear-gradient(135deg,#1e40af,#0d9488);padding:2rem;border-radius:16px;color:#fff;box-shadow:0 10px 30px #0d94884d}.safe-info h2{color:#fff;border-bottom:3px solid rgba(255,255,255,.3);margin:0 0 1rem;padding-bottom:.75rem}.safe-info p{margin:.5rem 0;font-size:1.1rem;font-weight:500}.two-column-layout{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;margin-bottom:2rem}.two-column-layout section{margin:0}.full-width-section{grid-column:1 / -1;width:100%;max-width:100%!important}@media (max-width: 1024px){.two-column-layout{grid-template-columns:1fr}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000}.modal-content{background:#fff;padding:2.5rem;border-radius:16px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0006}.modal-content h2{margin-top:0;color:#1e40af}.info-grid{display:grid;grid-template-columns:1fr;gap:1rem;padding:1.5rem;background:#f7fafc;border-radius:12px;margin-bottom:2rem}.info-item{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #e2e8f0}.info-item:last-child{border-bottom:none}.info-item .label{font-weight:600;color:#4a5568}.info-item .value{color:#2d3748;font-weight:500}.action-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.5rem}.action-buttons button{padding:.85rem 1.5rem;background:linear-gradient(135deg,#0d9488,#047857);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0d94884d}.action-buttons button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0d948866;background:linear-gradient(135deg,#0f766e,#065f46)}@media (max-width: 768px){.app-layout{grid-template-columns:auto 1fr}.sidebar{display:flex;width:60px}.sidebar:not(.sidebar-collapsed){width:200px}.sidebar.sidebar-collapsed{width:60px}.sidebar-toggle{display:flex}.mobile-header{display:none}.main-content{padding:1.5rem 1rem}.sidebar-item{min-height:48px;padding:1rem 1.25rem}.sidebar-icon{width:24px;height:24px}.dropdown-arrow{width:14px;height:14px}button,.btn-primary,input[type=submit],select,input{min-height:44px;min-width:44px}.action-buttons{grid-template-columns:1fr}main{padding:1.5rem 1rem}.page-header{flex-direction:column;padding:1.5rem;gap:1rem;margin-bottom:2rem}.page-header h2{font-size:1.5rem;text-align:center}.page-header>div{display:flex;flex-direction:column;gap:.5rem;width:100%}.page-header button,.page-header a{width:100%;text-align:center}table{font-size:.85rem;min-width:600px}table th,table td{padding:.75rem .5rem;white-space:nowrap}.table-wrapper,div:has(>table),section:has(>table),section>div:has(table){overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -1rem;padding:0 1rem;position:relative;scroll-behavior:smooth;background:linear-gradient(90deg,#fff 30%,#fff0),linear-gradient(90deg,#fff0,#fff 70%) 100%,radial-gradient(farthest-side at 0%,rgba(0,0,0,.2),transparent),radial-gradient(farthest-side at 100%,rgba(0,0,0,.2),transparent) 100%;background-repeat:no-repeat;background-color:#fff;background-size:40px 100%,40px 100%,14px 100%,14px 100%;background-attachment:local,local,scroll,scroll}section{overflow:visible}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;position:relative}form[style*=grid]>div,div[style*=gridTemplateColumns]{grid-template-columns:1fr!important}form:has(select,input[type=date]){position:relative}form:has(select,input[type=date]) .form-actions,form:has(select,input[type=date])>div:last-child{position:sticky;bottom:0;background:#fff;padding:1rem 0;margin-top:1rem;border-top:2px solid #e2e8f0;z-index:10}.hide-mobile{display:none!important}form label{font-size:.9rem}form input,form select,form textarea{font-size:.95rem;padding:.75rem}.form-grid{grid-template-columns:1fr!important}.denom-grid{grid-template-columns:70px 1fr 1fr;gap:.5rem 1rem;padding:1.5rem;margin:1rem;font-size:.9rem}.denom-grid input{width:100%;font-size:.9rem;padding:.65rem}.denom-grid>div{font-size:.9rem}section{padding:1.5rem;margin-bottom:1.5rem}section h3{font-size:1.3rem}.dashboard-weekly-grid{grid-template-columns:1fr!important}.weekly-stats-columns{grid-template-columns:1fr!important;gap:1rem!important}.dashboard-stats-grid{padding:1.5rem!important}.dashboard-stats-grid>div{grid-template-columns:1fr!important;gap:1.5rem!important}.card{margin:2rem 1rem;padding:2rem}.card h1{font-size:1.5rem}.btn-primary{padding:.85rem 1.5rem;font-size:1rem}button{font-size:.9rem;padding:.7rem 1.2rem}.info-item{flex-direction:column;gap:.25rem}.info-item .label{font-size:.85rem}.modal-content{padding:1.5rem;width:95%}.dashboard-safes section>div{grid-template-columns:1fr!important}section div[style*="repeat(auto-fill"]{grid-template-columns:1fr!important}div[style*=gridTemplateColumns]{grid-template-columns:1fr!important}img{max-width:100%;height:auto}.mobile-quick-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:linear-gradient(135deg,#1e3a8a,#065f46);padding:.5rem;box-shadow:0 -4px 12px #00000026;z-index:998}.mobile-quick-nav nav{display:flex;justify-content:space-around;align-items:center;gap:.25rem}.mobile-quick-nav a,.mobile-quick-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem;font-size:.7rem;background:transparent;min-height:auto}.mobile-quick-nav a:hover,.mobile-quick-nav button:hover{transform:none;background:#ffffff1a}body.with-quick-nav main{padding-bottom:80px}.pull-to-refresh{position:absolute;top:-50px;left:50%;transform:translate(-50%);padding:.5rem 1rem;background:#ffffffe6;border-radius:20px;font-size:.85rem;color:#1e40af;transition:top .3s ease}.pull-to-refresh.active{top:10px}.table-wrapper,.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;border-radius:10px;box-shadow:0 2px 8px #0000001a;background:#fff}main{overflow-x:visible;max-width:100vw}section{overflow-x:visible}}@media (max-width: 480px){.sidebar-toggle{padding:.4rem;min-width:28px;min-height:28px;right:-14px}.sidebar-logo{width:32px;height:32px}main{padding:1rem .5rem}.page-header{padding:1rem}.page-header h2{font-size:1.25rem}section{padding:1rem}table{font-size:.75rem;min-width:500px}table th,table td{padding:.5rem .25rem}.card{margin:1rem .5rem;padding:1.5rem}button{font-size:.85rem;padding:.6rem 1rem}}tbody tr{transition:background-color .2s ease}tbody tr:hover{background-color:#f0f9ff}.responsive-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.responsive-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}@media (max-width: 768px){.responsive-grid-2,.responsive-grid-3{grid-template-columns:1fr}}td,th{word-wrap:break-word;overflow-wrap:break-word}body{overflow-x:clip;max-width:100vw}main{overflow-x:visible;max-width:100%}
