@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2) format("woff2"),url(/assets/outfit-latin-ext-400-normal-DHm7mdGe.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-400-normal-BGsTXAXT.woff2) format("woff2"),url(/assets/outfit-latin-400-normal-DMwTpYkH.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/outfit-latin-ext-500-normal-zeox_O30.woff2) format("woff2"),url(/assets/outfit-latin-ext-500-normal-DrCvqoFD.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/outfit-latin-500-normal-DKnIMDSk.woff2) format("woff2"),url(/assets/outfit-latin-500-normal-ClnHRwRh.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-ext-600-normal-B85nYjL1.woff2) format("woff2"),url(/assets/outfit-latin-ext-600-normal-CWJcPgd7.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-600-normal-B7SfZ07L.woff2) format("woff2"),url(/assets/outfit-latin-600-normal-BEfTtDA7.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/outfit-latin-ext-700-normal-CI4iH74K.woff2) format("woff2"),url(/assets/outfit-latin-ext-700-normal-fjS8-Gm7.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/outfit-latin-700-normal-Cu9v6i1X.woff2) format("woff2"),url(/assets/outfit-latin-700-normal-D4itBLBr.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAASIABAAAAAACQQAAAQuAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoBmA/U1RBVF4AdBEICoRkhAALIAABNgIkAzoEIAWFAAeBFAwHG2oHKJ6DceNW4lJEFHn9tEOE37LNsvkjHr7f739rn3u+OSrSxLQytE91Dw2PYtNVq3Qaw/vJ7fUBMdOj/u2ImB98cT5WUx9F13ZKt06mU7tG1sAYcM26yCRX4f/0904bmwq8hwkUUMTRX61pa9C3xlpAGYw1vOu8C2SBZZFlld7DAW82RJWmwYMI1AJCKBNCIASqdZGFmtPSNQRhMpR0EKjWTwm6z6sJ+4jqhxjovTinVdRpZaQjaQzAYjI8NgAKDJCokgunCn9oUQE8VZd/F//+v6P4F1U9gLr58yNI/dJX9BAshEoJbTDogz7ocKoUsPvES8UK/aQIUQgpGgECBVLkOEV6iASTYgNAPKdNXayhDPL7IJuAZnEYSZ0eOLc9i5Rv5/+lEi3sW/kfnCf/+fTe0sxS7CKLx5erRJkKOixEqQaoqrvx5HN4iz4VhX0gS6DjFIWUzn/fIXJRVFY1NFRVNVeFt+SYmrK6vCU6eJsnKnJj5HTESMTQZOTI3Y/tzr3rUcOsiRy/ciP50s3Mycgxmhz9GMXhjzVH30ut796NHP0UUa31/Zoa6vCH6iPvdIM0IRANaT60FablmZlZd+UKNFy9NrvnFGxb5NC2CRxR0/rIyF/WNn+35sv9r+tHVhkseuWGKkCPPh96+GXt8Lc/Sh24ujfjf+tNw1lZWreiPuHb/PSpyjdv2rf/++ZE5TSKjFdZxYsBvr1sEHl5STuHZqYR7jGYGvGBBdjcaB5bODY1GAxMjsd0wDMIzXAXODRd74DxNMtO4YuYHclgLQRzp9KlUmxptCwv9bYgvWGD2xBW7r9413fdJu+mxzvzAUYeeONQvZP4kgfqZle4jhH/MWh+UbxgtJdrLdXLymNL53PRU0D3Q6FcXTfGqGcul6vrqhgLGAVSv+IVIfZOHpu+mlLqSlnj903j8mazXDsba/wbxhS/4Oubh1c5/uXDgt4j5KtnGEy5BIJHo0ur+jD+r2qCkuP1aRVM8EpUoRYSJyqNRA38uwDvHBNo0AejO2Z+ZYLLal1QiFyFh1EDQOgSCSCpjwwKU8yDbIjroEwne0G5Qca49cYp4AlqtQNZfWTQoFb1tRpFYAmRD+HXTkV4uQhG2bg4OKmyoypAsUGtWgQXyFxYrkpODeUxvGqIZA61erXo0sFG1UBGuPgpuon8RNUG2DhovAjZCBuZwtXrU3mQGki9+pm0eVZAXoWxLWTQoYHBPrJR4WunNxIFbCHfkTyPK+sqxjxDmGArZvf79JGJ3GwEqjwc7a7NIrl/7bJ7Nzu4+n1Ow6shEPnUrtVo7cnd5Wi5qCUbBIQbNKCP95FMCSZylEV5VCiiMqqiOmrKZ/I/C0gI1fyuulVcM2E1r4MhtcV/fbCD+HwEvVzH1dGNAzFE0FTbKzyQz3gootrNbN2a4PuG0j0JOgE=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAbUAA8AAAAACOgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABWAAAABgAAAAcABQABEdQT1MAAAFwAAAAHgAAAB5EdEx1R1NVQgAAAZAAAAAnAAAAKLj8uOpPUy8yAAABuAAAAFEAAABgFwRca1NUQVQAAAIMAAAARgAAAF7mY9MfY21hcAAAAlQAAABRAAAAdAyHCodnYXNwAAACqAAAAAgAAAAIAAAAEGdseWYAAAKwAAAB6QAAAl7g5OpvaGVhZAAABJwAAAA2AAAANhSQ8UNoaGVhAAAE1AAAAB8AAAAkAcoBImhtdHgAAAT0AAAAHgAAADofBAM2bG9jYQAABRQAAAAgAAAAIATcBZ9tYXhwAAAFNAAAABwAAAAgAIcCb25hbWUAAAVQAAABEgAAAoA4pV3kcG9zdAAABmQAAABwAAAAlNdzMTB42mNgZGBg4GGAAEYgZAWTjCAeAAG0ABkAAQAAAAoAHAAcAAFERkxUAAgABAAAAAD//wAAAAAAAHjaY2BkYGDgYlADQiYXN58QBqGcxJI8Bj4GEGABEf//g0gAWkkFVQB42mNgYYpinMDAysDA1MUUwcDA4A2hGeMYjBgdgKIMDJwMUMDEzoAEvJyAxAEGXpaXzH/+XWFgYP7DqKPAwDj//nWgSjWmW0BZBQZWABNDDdYAAAB42kXIIQIBARQFwHl/QQIkWXInUAANXMOBJCcTd+KIGCjMNViq9/H0CM6P/S0j0bOwUqh08iEb8kPTXn3RiMoYhD90Nwc3AAB42lXIRwHCQBAF0JceehWAlTjhjikUgAVQA4mJLbdk5neUqHBVKWSv3XF2VCnt3AyevkVZv+sxBBbbq/6HfFP4hEcYQgEK82v1aHQ5RTs3FRQAAAAAAQAB//8AD3jabZA1tNRAFEDfTGDdfXHI2QQnZJJvK5ngDs13Welwt/78CtcS7xvcrcHKbXCtceh+wgtu437nXRCgC4BY9AGOXOAFYNHR0dzoKCGju8gJ6xiZaF3DWqcPBiSV5i2geaCgAlAJ77ghgjfiLC7KojvOZEmSXS63emXr5W7lsTLtXFMkRmks4ly+cYOEnvO2YLDNANv+9oJwhkpAAJAcHPG/1RC2BERc1ZGGMxYVWDyVSjc0NMaZELUf9e4JhCgNB3b2PiJRctuqZ0WPR8zilxutN/ji97vUBYMAnGjtzxjtK3wrDaMABo+R9KjWwNRUMppwuWS1QdfFZCIlMF2TxDGuJJlYW7OmVlvD+sx86b1hvC/l8yXf2hqZ66xbZ80yWzyD9/fzGaRzA58+nSOzYC+gw9AP+vyNqUAUhoD4lSnputbgUFPJ5O9Y+ReWlxkrc96naX08b3zk/KORb+E+VjYPmH1M6+UHeVlDtCzzGZ9FY8YMA8gPMsQA0jqaGkHT6cYSdVwl7Zs9Wzx+DyWUugPujd03T52ikrUvM26kF9PIcRmycuDBKcd3XRhPDgtnQACINzJ3fVl1tTB++3bc2S7kyD3cCQIQNMcSKaY2YOciE+d0zFbGjps6u0PILTFlRZHNJfAFnfeHtgAAAAABAAAAAjYEro52gl8PPPUAAwPoAAAAANvSppoAAAAA29rQ8vk5/tQEkgP8AAAABgACAAAAAAAAeNpjYGRgYP7z7woDA8uGn5Z/+1kmAUVQAR8Ar8AG6gB42mOKYIgCYiMkrAzCUHEbJJoBikHgCkMPAPDwCFUAAAAAABoAOwBGAFEAbwB3AKkAsQDmAQkBCQEJAQkBFgEveNpjYGRgYOBn3MGQx7CFgQ3MQwBmBiYALRoB+HjajJADbgVQEEXPZ20bQW3bthvXbr8Vp4to1KV0AV1Wb9JvZzJvzhvcB6CQL0wYzHnAj6E/yAYaDeVBNlJsMAfZxCy/QTbTy3eQLdTzGWQr3VwGuZhx2v/ZAIVUB9kc0TSUKJ8f5FIRHGPjnWs+2MKt+MYzt1xwr/jIk3JymR0X0wzIXKo7VbXjFvfLn3lTtCn7qPoB6+yyzb3qy8pdq/6hrj11fMj7OFbtEY+mrlU/516rVFCdVobplw/JEjVaCaqIYlUiUzOaW9aa/Q1idmlPXZHbCagW/B10XwaRi06VuVdMf+9DnIov6rlF8yzhUXxC/4c66Uz48UepqEN9N/Tzt2RwjOljsUUfj581AbaEXsIAAHjaY2BiAIP/qQxGQIqRAR3wA7EKw0lGJgYbRmZGFkZWRjZGdgZmRg5GTkYuRm42x6Si1LJU9tK8TAMTR1cI7WoB5btB+Zas6Ym5uYlgnoGjAZNzEF9icmlJanJ+bpJecmJxKg9IxtjADMwBAKDtHJg=) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2) format("woff2"),url(/assets/jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/jetbrains-mono-greek-400-normal-C190GLew.woff2) format("woff2"),url(/assets/jetbrains-mono-greek-400-normal-B9oWc5Lo.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA9UABAAAAAALMAAAA7zAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnAbhWocghYGYD9TVEFUXgCDBBEICrBAp3ILgjgAATYCJAOEKAQgBYUAB4xODAcbIiYzo8LGAQCKfn4o/usELQ4rdj22ABHwitFYjZPqB3XSqAbV3C5dFkHYtTehxpeGbU+3+QexdERCkxARw9oNxAyetvXzdhdjl/7aiBiHgcqBjZywaGPSh4mNFccpF3DHlfyO8Jc/OiSe/kb7/iQYRAE23iScpHngiRRBFETNiZzQwc2HOllJ0fqXIjTY8RTYbDsklKc81hGPQcOJojhD/w80ll1aG/qiQErbzqOXjmvOVKd14tuv+Hxrlbarq/5xH7CiMPjaZXlrfNSp7uqaroZXvYAzc8A0kH2zs3MvHQBUORcJ2GG2cdFRgArh+Sgb7yOsjImpmgM0kq1FwhQCQzQ1Mt+j7at5GSAAIQAAKFLk6uMul4pIl4HIpEEUK0dUMiCMmhFWNoSDC+Exghgzi5i3hNhtN9qaINo+EbQj1tEIgJVLj5oebQ6I1/fyLMQYALYgALKS0yEOQCJG89uIiEPKyeRDVCmC0HgZ203jIg7kk6cHxfEKeBSDXtxd6n5yJzqpfSgXs9xMri1fPezlKMAVcCGEIhmwHiDRtJOyKfXkGsAVqI7ohIZs0rsDM/IU4fuQgkppCk2n+VRHy6mFttJ26t16mBjQPyIeYhvZnyXaiDSeaAYYXLiKPIm4uKh1zIq6gSRVU7WNPIV5v1PwBOy07RrrT6skwoEAtYyZeYgpBUABaDEmtPWRGP/UGABFgUUjchFXAghAgAYQpyPkCIBBoRwQgU/g3kQcyqTY9KSDItmjjmmkP+qJHG3C66hjXhtlhzwglI+1+4Be+T77hYQxxeNkCIDaKU+ANXhkMqePOVAQr7uwCjoBlCdtHQE8TNRd17//A/evkhSpkOMDA9VTmwAVAbLNlwMkoAG5qG2bWCYA/h3uEYgEhFqSmJJPpCIFbJHg1Aw5GaAujjqMzIHc8NrIHBEJJjGZP3cuFQZD9PvzLvZIaCIjBcTvEnIzTWiGjqdzlD+VAO2TUERK8smEi8lNNOguiAM9P6Gfo6bX8bD0v7V/cPwA/fDBi0BaGgUllWy5AATy6X9gAZqRVIsMLuVmqQ3QmrBbiFgTiWbxLDj1hBqINGLVYewQwySWWRyeQK1kXVJ0S2UjZ5WgXaIOSTodp42CUzqHXH226ZfJI4tXth45eqnslGdQgSGFhmmMyOdTbEyJcdv56U0pNa3MDJ1JVRZUmldtkcESglQkAOA8AMgAoBeYLQi+wDxAtwAAGlXJUdVLPLmo/TLRystE3SsqO29LUY0hsrtvBoXUw1Fy+XjIhqbj4rEZISsUysW1L68PlGRwyWImjWXjS9LFyUzjC7v7Z5hYsYKRhIH49EyxTJxutwOy2PRxp1R63SVViB+eNFYRywlEzJBIMDIl5Aa4PtbFOno416WTTkfVQwSPgIve66BCbLAuLmpCh59ln5uFECODSuUIJ2CJCCzDwbf+DV2/3yTtan5J1gEVuilcVASHULO9Bt+nWkIEHMMit5gOxaO4JpWjvdzOcySeFek9q4dy3jxi2BxHwsuuo2CzbQ+KJWxyqPUJljVCU3WT8JwlhZyLkKODRhZkQByHu8ERJIcGBexSmdwGPfMPbjnC0SwRUTyCAIwY4Mdr9zxJTKE5yp0mcEe9s3Umm/TZp2s4X/27cQUmhrd4Ow4ibPOTOxxT6w+S8ENc9AGE7meFOlNbuzjngJtzjFKcrMsxtf4G4UIPcNGXbvwNaeDea6+1L7kaYG+M13a455pruOh5Ww0HlhllPy/PsqS9Zr7ZV9cSLODAoItzBt2cI5i1brCxQRIcH6yr9wV5+XjhtlxuziH7LiqGTXVnkfCZntd1doJ5liyIno6X3GqH56fcnGNwE2IXvYhw5a/MJGsMns/TOawd+2HX5kOXxQZFsYkwmMetzGtqKDKSe+h9h7jX77z2Snb98vyL7rjmil1N3B/cCBfsC5rymA/ExpPlni/DL9i7eflmn66oxrSlMRRB/8Dbq/e/3aN95L3BG+dFd1d+uCVzKhQy5/+I77CmWJ/o2Hygaay8yleXU1c1NH2IpqHOYUtriyWHf3iZwxjZvNxm/Ti/O5+22uC3nVFxhu1wvQc08ZZ+nb5/9oBF38ehJXaKPt7K6/v34Ltqai21rbXDXI3BRDa+9XDSGp8gzZZarV2ag9v3RBzSNfFjU/M+uVduNDTsMNY0GCOHDU3O4dazeb3zFXjg0rlPuiV75+m+kzV3v5qc/PHdJ2j6pI+wDP+U7mFPW/uw23ltZemTVTo+3+KNa1yyuwdmfI41j1/yvbG3oaLR3G3Sd1xdrNOUfAou3jYw0z860D9jr+9sqU1IIHve9W56/fIEU2fztvaqHQ213trhKauqjXVmr/kFxP1m7bdCE88Plpb1m840l/VNQz72QvvMPlc5z9fvKPt1xBtXv9yVZ9nGmxscXiDfwGcI4LQ9duBaG7Nxjw2aWMuArp7In2qxObTwKfr40/iy/j34zhqeN59qHuZqDBaysQWiL/PZsk4cyV13mvbwWw7phfEDC/O+fm9/ram+sspcXxs5hm9pHjufSujGRbKXaTPmBAPPfMm45bau15+jR/bbBx80mR7sCth94rfB6Q6sngJcuO1v4a7Lu157ad9GKIlypuEea9GDnXs0IytDmZ2Rka2cVv4jrIHmaFZ3O9OWlWX7gLuRH1mMjsxE8VrEH/XNRrErsh61R6PD3e2d7dDsb3Z38k15W/kFkrwmHk+PhWNKx3nLMhHkSl5ZLMvHWPGPfwRB9AKr2QoSUb4qSlB18X715zkqwRI0G3lvUOptugtcID+tsKQForrC+pqxS4X1dcof21bf4OQcbZ2Le6y53kKao3rxNWE9f1a+S3t2tiIu5yej2d/W12RozBwrLh7LbDT0NkUDi+HBQPj0xIlAoKHFFxAMPB8Vce+KKo28Rq0SHV3LUk6MNLv35DMrCzVNmbxBeCGCKzMtu20y8f+SVD4h31Sosky03Upl9YJxzh+L0ZFANLR4LOpYj452tne145E/wok2e6JX/xBX/vH8WaFQojdWlrhzuOXjs1Zn3cCkT4qWSmZeqX/B4tciE4HBmUBZwGxtMDaqnCpdllPVaIzdNw9ZqfDU30ppYDgw2B+A5JP5L8bj4tgWoy/t6WRRcO2P8uFDakiP2fMWaviyaOYFr94gE0nEsXysWligOuHRC2TiH0XSJ/4WqQcjE4GxmUAocKlG+jECgZHFwGX8vabVzf8f4KQSi8Gp6laIdgV0q8OzbmjyaWdnW1MQXZoJDb7ZaEdzVzMoNQiAGESUwszDAIzTDIqSxGFoxoRZ/vTKM8CfyZ9V/ZAPfzZ/Ds4tMHm0dSxCkOPaNpKlK8/KwGQVCdzqbPDn1HKuiT8WHUnStEQYZB2TC6WJ6spymNIjBV7JK5lSs1C5qDoRSYBUSlgH31LlM7X5O4o8eBxrX3MDwtOG1iZdZ/NjXsu0gBJohRVmlQNfwVfQmsReAdZEAahljqkMaxLHg/gT+BONkwxcgT0CH/5k/pQrcCpMUYiGtPqbDGvVgALfitYyTHyI7iP25WqsSqAlstCbcmZ3k0PcRZlgbs0KCrwb7lImBTqQCCawVEpMWHur0DRm3+9sVAOK6UQiqESr8NaEtY8Vu86AIjK3KRZhXNwqD34Oc38umLZM7/33+38/uOj7///Z9yMAAHqAUtN3Bsa/l9rSiKVxlONqqbKozYWfYMRMRkicEE2FhIs4TuWQJL0RDNwCPy0hP1CbGAVY9Mb6W+DZ2p14CIQoIBjqGKpe6lOONhDJTUFBXMgZYOPct8C7Ffmf2jR2ksQ72U7f6SBu5gywoW8x2Qhy1APl1CZGAQ4ksGGD8loGsjY0UQKXmhdvpBboCNglmiU2XUCieL2dF1bDaTacoykaTjgFAhquyoFkiSk0LZyooeM7gQDVIlmNOwCPlICNKQpatkhBhUQJpdLCVwFqWj3FQ8sWeajTWbJiLeRJQlRmsyh1YLRZtAzVNr0dAoCqYN6wXLhzQGL8LY6mvwSAd1698ly88s2Xfwa7FbVA/wsgBhQAgABfG3dQHs2o/066DhB0wWo68NIlpR8Rtqkj9flbwtMc3oZyWoIn3n+L86o5vA1V8ng6L4C9+Ax3YgMBHN8Er4rV97ZRXgdo2vF244hH35wAzlOM0Y1BABGNnNCZ4UFNPID7U9KeSCgiP5EiDnMizejpExlFzj9RIM2BE2MU8pwgViH7TAQQSqpgnDuJJAk2kHIaYDNnhs+sFsvBuaf5DXMbXT9uwvLIbk49b4mBNm3JsEV+85YtKUHWb5rT5ywap9WpUZtWo6q5Fot8W89a0m4OaXOK2Ywat2KaD3NdRi1S/+eloldCT0fn1K5q61Mpa6eaNrKMB6WMQqn83IfXmTNv1eIRiaKj7aOsikMmoxej+EfqsmjOpFHDLnneylGLQxT66vnHnh/n12VXDN1Hw6/bcNpctWo3vrwApZvfrdEDiP8IzgPkeiYUoQlzDvYWB0cnZ6uLq5t7+aRk5I6TIFGS5IqkSJWWXjqFDEqZVLJky5FrG7W8quQrUEijSLESWtsz0tErVVa9chUqValmUMNoh1omZjxSM4s69Ro0atKspTe1smrLpl2HTl262dg5OLm4eezMw6tHrz79BgzyGarXsBGjxqJtJvhNmjJtxqw58xYsWrJsxS4Bu61aE7THXvvsFxJ2wEERhxx2xFHHrIs6fuE/r+1vm6/8jhhtDCwnASDGR1h4SGhYwEGU1Y/Xffk5G4u9XgIAYtxyGpZ5y9sDdNbyP142W5DgAhoE7i3q0c5x2vm9v24aZuNohdcxqSEAz8up00My03HSwmqPa8bMecG3Tjzb+f9EelEtg2vpzPeiIEEBwSA8IEDBwAE9F5Z6vQIQjAnLGTgWLO+uZTL/qwGEAYOAQpg3TefgwBCQgBDzqukKDBAOoU3KVtqIbBXK9XpEAAujuudkZN724kIGmrtVaS38ZZLrS9/4fsKMQhN3yXK5gvSBvJ2Y9/Nydbcvb0bm58+e3FhmGfGLJ9u7axl1F1LQTbaCeyrbu7wFCsorFgV4qnh+GUrWtaczqkSBB96AEeKRB94k2SyLuyw3qwrxeg3P5FNR1Av1Gsq2/ds6dPPkBAAA) format("woff2"),url(/assets/jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2) format("woff2"),url(/assets/jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format("woff2"),url(/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--brand-dark: #041136;--brand-primary: #1170ea;--brand-light: #dbeafe;--bg: #f7f9fc;--bg-elevated: #ffffff;--bg-soft: #eef3fb;--border: rgba(4, 17, 54, .08);--border-strong: rgba(17, 112, 234, .28);--text: #041136;--text-muted: rgba(4, 17, 54, .55);--text-dim: rgba(4, 17, 54, .35);--accent: #1170ea;--accent-soft: rgba(17, 112, 234, .08);--accent-on: #ffffff;--danger: #c9424a;--danger-soft: rgba(201, 66, 74, .08);--success: #1a7a4c;--success-soft: rgba(26, 122, 76, .1);--warning: #b8842a;--warning-soft: rgba(184, 132, 42, .1);--info: #1170ea;--info-soft: rgba(17, 112, 234, .08);--radius: 6px;--font: "Outfit", system-ui, sans-serif;--sidebar-w: 220px;--body-bg: #f7f9fc;--sidebar-bg: #ffffff;--panel-bg: #ffffff;--input-bg: #ffffff;--modal-bg: #ffffff}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:var(--font);font-weight:500;background:var(--body-bg);color:var(--text);line-height:1.4;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:none;background:none}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100%}.sidebar{border-right:1px solid var(--border);background:var(--sidebar-bg);padding:20px 14px;display:flex;flex-direction:column;gap:20px;position:sticky;top:0;height:100vh}.brand{padding:4px 6px 8px}.brand-logo{display:block;width:100%;max-width:132px;height:auto}.brand-sub{margin-top:6px;font-size:.75rem;color:var(--text-muted)}.nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--radius);color:var(--text-muted);font-weight:500;font-size:.9rem;text-align:left;text-decoration:none;width:100%;transition:color .12s,background .12s}.nav-label{flex:1;min-width:0}.nav-badge{flex-shrink:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:.68rem;font-weight:700;line-height:18px;text-align:center;letter-spacing:-.02em}.nav-item:hover{color:var(--text);background:var(--accent-soft)}.nav-item.active{color:var(--brand-primary);background:var(--accent-soft);font-weight:600}.nav-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.9}.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--border);font-size:.75rem;color:var(--text-dim);display:flex;flex-direction:column;gap:8px}.sidebar-user{display:flex;flex-direction:column;gap:2px;line-height:1.3}.sidebar-user strong{color:var(--text);font-size:.8rem}.row-actions{display:flex;flex-wrap:wrap;gap:6px}.btn.danger{color:#b42318}.main{padding:24px 28px 40px;min-width:0}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.page-header h1{font-size:1.35rem;font-weight:600;letter-spacing:-.02em;color:var(--text);display:inline-flex;align-items:center;gap:10px}.page-header p{display:none}.header-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 14px;border-radius:var(--radius);font-weight:600;font-size:.85rem;border:1px solid transparent;transition:background .12s,border-color .12s,color .12s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--brand-primary);color:var(--accent-on)}.btn-primary:not(:disabled):hover{background:#0d5fc8}.btn-secondary{background:transparent;border-color:var(--border);color:var(--text)}.btn-secondary:not(:disabled):hover{border-color:var(--border-strong);background:var(--accent-soft)}.btn-danger{background:transparent;color:var(--danger);border-color:transparent}.btn-danger:not(:disabled):hover{background:var(--danger-soft)}.btn-ghost{color:var(--text-muted);padding:6px 8px}.btn-ghost:not(:disabled):hover{color:var(--text);background:var(--accent-soft)}.btn-sm{padding:5px 10px;font-size:.8rem}.spinner{animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.progress-bar{position:fixed;top:0;left:0;right:0;height:3px;z-index:2000;background:transparent;opacity:0;transition:opacity .2s ease;pointer-events:none}.progress-bar.active{opacity:1}.progress-bar-fill{height:100%;width:40%;background:var(--brand-primary);border-radius:0 2px 2px 0;animation:progress-slide 1.1s ease-in-out infinite}@keyframes progress-slide{0%{transform:translate(-100%)}50%{transform:translate(80%)}to{transform:translate(250%)}}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.stat-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius);padding:14px}.stat-label{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;color:var(--text-muted);font-weight:600;margin-bottom:6px}.stat-value{font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}.stat-hint{margin-top:4px;font-size:.72rem;color:var(--text-dim)}.stat-icon-badge{width:30px;height:30px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px}.stat-icon-badge.accent{background:var(--accent-soft);color:var(--accent)}.stat-icon-badge.success{background:var(--success-soft);color:var(--success)}.stat-icon-badge.warning{background:var(--warning-soft);color:var(--warning)}.stat-icon-badge.danger{background:var(--danger-soft);color:var(--danger)}.stat-icon-badge.info{background:var(--info-soft);color:var(--info)}.fx-ticker-loading,.fx-ticker-error{font-size:.8rem;color:var(--text-muted)}.fx-pulse-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:fx-pulse 1.2s ease-in-out infinite;flex-shrink:0}@keyframes fx-pulse{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.icon-spin{animation:icon-spin .8s linear infinite}@keyframes icon-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.currency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-bottom:20px}.currency-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius);padding:14px}.currency-card.is-primary{border-color:var(--border-strong);background:linear-gradient(180deg,var(--accent-soft),var(--panel-bg) 70%)}.currency-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.currency-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.02em;background:var(--accent);color:var(--accent-on)}.currency-card:not(.is-primary) .currency-badge{background:var(--bg-soft);color:var(--text)}.currency-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.82rem;padding:5px 0;color:var(--text-muted)}.currency-row strong{color:var(--text);font-weight:700}.currency-row+.currency-row{border-top:1px dashed var(--border)}.activity-feed{display:flex;flex-direction:column}.activity-row{display:flex;align-items:center;gap:12px;padding:11px 16px;border-bottom:1px solid var(--border)}.activity-row:last-child{border-bottom:none}.activity-icon{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.activity-main{flex:1;min-width:0}.activity-title{font-weight:600;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-sub{font-size:.72rem;color:var(--text-muted);margin-top:2px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.activity-amount{font-weight:700;font-size:.85rem;white-space:nowrap;flex-shrink:0}@media(prefers-reduced-motion:reduce){.fx-pulse-dot,.icon-spin{animation:none}}.panel{background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--border)}.panel-header h2{font-size:.9rem;font-weight:600;color:var(--text)}.panel-body{padding:14px}.table-wrap{overflow-x:auto}table.data{width:100%;border-collapse:collapse;font-size:.85rem}table.data th,table.data td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--border);vertical-align:middle}table.data th{font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);font-weight:600;background:transparent}table.data tr:last-child td{border-bottom:none}table.data tbody tr:hover{background:var(--accent-soft)}.badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:.72rem;font-weight:600}.badge-draft{background:var(--bg-soft);color:var(--text-muted)}.badge-sent{background:var(--info-soft);color:var(--info)}.badge-ok{background:var(--accent-soft);color:var(--brand-primary)}.badge-paid{background:var(--success-soft);color:var(--success)}.badge-warn{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.filter-bar{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.filter-chip{border:1px solid var(--border);background:var(--panel-bg);color:var(--text-muted);border-radius:999px;padding:5px 12px;font-size:.78rem;font-weight:600;transition:background .15s,color .15s,border-color .15s}.filter-chip:hover{border-color:var(--border-strong);color:var(--text)}.filter-chip.is-active{background:var(--accent);border-color:var(--accent);color:var(--accent-on)}.filter-chip.is-active.chip-success{background:var(--success);border-color:var(--success)}.filter-chip.is-active.chip-warn{background:var(--warning);border-color:var(--warning);color:#fff}.selection-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--accent-soft);border:1px solid var(--border);border-radius:var(--radius);padding:8px 14px;margin:0 0 12px;font-size:.85rem}.selection-bar-warn{color:var(--danger);font-weight:600;font-size:.8rem}.grouped-invoice-banner{background:var(--accent-soft);border:1px solid var(--border);border-radius:var(--radius);padding:8px 12px;margin-bottom:12px;font-size:.85rem;color:var(--text)}.pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:600}.pill-success{background:var(--success-soft);color:var(--success)}.pill-warn{background:var(--warning-soft);color:var(--warning)}.pill-muted{background:var(--bg-soft);color:var(--text-muted)}.dossier-balance{margin-top:6px;font-weight:600}.dossier-balance.is-clear{color:var(--success)}.dossier-balance.is-due{color:var(--warning)}.lang-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lang-choice-btn{flex-direction:column;gap:4px;min-height:72px;padding:14px 10px;background:var(--panel-bg);border:1px solid var(--border);color:var(--text)}.lang-choice-btn:hover{border-color:var(--border-strong);background:var(--accent-soft)}.lang-choice-btn.is-selected{border-color:var(--brand-primary);background:var(--accent-soft);color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}.lang-choice-btn strong{font-size:.95rem}.lang-choice-btn span{font-size:.75rem;font-weight:500}@media(max-width:520px){.lang-choice-grid{grid-template-columns:1fr}}table.data tr.row-paid td{color:var(--success)}table.data tr.row-paid td .muted{color:#1a7a4cb3}.field-invalid input{border-color:var(--danger)}.form-error{margin-bottom:12px;padding:10px 12px;border-radius:var(--radius);background:var(--danger-soft);color:var(--danger);font-size:.85rem;font-weight:600}.status-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--border);border-radius:4px;padding:3px 22px 3px 8px;font-size:.75rem;font-weight:600;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;min-width:110px}.status-select.status-brouillon{background-color:var(--bg-soft);color:var(--text-muted)}.status-select.status-envoye{background-color:var(--info-soft);color:var(--info)}.status-select.status-accepte{background-color:var(--accent-soft);color:var(--brand-primary)}.status-select.status-facture{background-color:var(--success-soft);color:var(--success)}.status-select.status-refuse,.status-select.status-annule{background-color:var(--danger-soft);color:var(--danger)}.status-stack{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.form-grid.cols-3{grid-template-columns:repeat(3,1fr)}.form-grid.cols-4{grid-template-columns:repeat(4,1fr)}.field{display:flex;flex-direction:column;gap:5px}.field.full{grid-column:1 / -1;width:100%}.field label{font-size:.75rem;color:var(--text-muted);font-weight:600}.checkbox-row{display:flex;align-items:center;gap:8px;min-height:38px;font-size:.85rem;font-weight:500;color:var(--text);cursor:pointer}.checkbox-row input[type=checkbox]{width:auto;margin:0;accent-color:var(--brand-primary)}.checkbox-row.is-disabled{opacity:.45;cursor:not-allowed}.client-pdf-fields{margin-top:12px;padding:12px 14px;border-radius:8px;border:1px solid rgba(17,112,234,.14);background:#ffffffb3}.client-pdf-fields-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 12px;margin-top:8px}.client-pdf-fields .checkbox-row{min-height:28px}.field input,.field select,.field textarea{width:100%;background:var(--input-bg);border:1px solid var(--border);border-radius:var(--radius);padding:8px 10px;outline:none;font-weight:500;color:var(--text)}.field input::placeholder,.field textarea::placeholder{color:var(--text-dim)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand-primary)}.field textarea{min-height:80px;resize:vertical}.field textarea.textarea-autosize{overflow:hidden;resize:none;min-height:120px;field-sizing:content}.field.field-conditions{margin-top:20px}.field textarea.textarea-conditions{min-height:220px;line-height:1.5;padding:12px 14px}.message-templates-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;align-items:start}.message-templates-grid.no-preview{grid-template-columns:1fr}.message-template-textarea{font-family:ui-monospace,Cascadia Code,Segoe UI Mono,Consolas,monospace;font-size:.82rem;line-height:1.5;white-space:pre-wrap;min-height:200px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.message-template-textarea.is-wa{min-height:260px}.field input.is-drop-target,.message-template-textarea.is-drop-target{border-color:var(--brand-primary)!important;box-shadow:0 0 0 3px #1170ea2e;background:#1170ea0a}.msg-composer{display:flex;flex-direction:column;gap:14px}.msg-doc-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.msg-doc-tab{text-align:left;padding:10px 12px;border-radius:8px;border:1px solid var(--border);background:var(--bg-soft);color:var(--text);cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .12s ease}.msg-doc-tab span{display:block;font-weight:600;font-size:.92rem}.msg-doc-tab small{display:block;margin-top:2px;color:var(--text-muted);font-size:.72rem}.msg-doc-tab:hover{border-color:var(--border-strong)}.msg-doc-tab.is-active{background:var(--accent-soft);border-color:var(--brand-primary);box-shadow:inset 0 0 0 1px #1170ea33}.msg-channel-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px}.msg-channel-btn{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:14px;border-radius:10px;border:1px solid var(--border);background:var(--panel-bg);cursor:pointer;color:var(--text);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.msg-channel-btn strong{display:block;font-size:.95rem}.msg-channel-btn small{display:block;margin-top:3px;color:var(--text-muted);font-size:.74rem;line-height:1.3}.msg-channel-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:1rem;flex-shrink:0;background:var(--bg-soft)}.msg-channel-btn.is-email.is-active{border-color:#1170ea8c;background:linear-gradient(135deg,#1170ea1a,#1170ea05);box-shadow:0 8px 24px #1170ea14}.msg-channel-btn.is-email.is-active .msg-channel-icon{background:#1170ea26;color:var(--brand-primary)}.msg-channel-btn.is-wa.is-active{border-color:#1a7a4c8c;background:linear-gradient(135deg,#1a7a4c1f,#1a7a4c05);box-shadow:0 8px 24px #1a7a4c14}.msg-channel-btn.is-wa.is-active .msg-channel-icon{background:#1a7a4c26;color:var(--success)}.msg-composer-layout{display:grid;grid-template-columns:220px minmax(0,1.2fr) minmax(220px,.9fr);gap:12px;align-items:stretch;min-height:420px}.msg-vars-panel,.msg-edit-panel,.msg-preview-panel{border:1px solid var(--border);border-radius:10px;background:var(--panel-bg);min-height:0}.msg-vars-panel{padding:12px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(180deg,#f8fafc,#fff 40%)}.msg-vars-head h3{font-size:.82rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.msg-vars-head p{margin-top:4px;font-size:.74rem;color:var(--text-dim);line-height:1.35}.msg-vars-list{display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:460px;padding-right:2px}.msg-var-chip{display:flex;flex-direction:column;gap:2px;align-items:flex-start;text-align:left;width:100%;padding:8px 9px;border-radius:8px;border:1px dashed rgba(17,112,234,.35);background:#1170ea0a;cursor:grab;color:var(--text);transition:transform .12s ease,border-color .12s ease,background .12s ease}.msg-var-chip:active{cursor:grabbing}.msg-var-chip:hover{transform:translateY(-1px);border-style:solid;border-color:var(--brand-primary);background:#1170ea14}.msg-var-chip-token{font-family:ui-monospace,Consolas,monospace;font-size:.72rem;font-weight:600;color:var(--brand-primary)}.msg-var-chip-meta strong{display:block;font-size:.78rem;font-weight:600}.msg-var-chip-meta em{display:block;font-style:normal;font-size:.68rem;color:var(--text-muted);line-height:1.3}.msg-edit-panel{padding:14px}.msg-edit-panel.is-wa{background:linear-gradient(180deg,rgba(26,122,76,.05),transparent 90px)}.msg-edit-panel.is-email{background:linear-gradient(180deg,rgba(17,112,234,.05),transparent 90px)}.msg-edit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.msg-edit-title{font-size:.88rem;font-weight:650}.msg-edit-title em{font-style:normal;font-weight:500;color:var(--text-muted)}.msg-preview-panel{padding:12px;display:flex;flex-direction:column;gap:10px}.msg-preview-panel.is-wa{background:#e8f5ee}.msg-preview-panel.is-email{background:#eef4fc}.msg-preview-label{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.msg-mail-preview{flex:1;display:flex;flex-direction:column;gap:10px;min-height:0}.msg-mail-meta{padding:10px 12px;border-radius:8px;background:#fff;border:1px solid var(--border)}.msg-mail-meta span{display:block;font-size:.68rem;color:var(--text-muted);margin-bottom:4px}.msg-mail-meta strong{font-size:.84rem;font-weight:600;line-height:1.35}.msg-mail-body,.msg-wa-bubble pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:var(--font);font-size:.82rem;line-height:1.45}.msg-mail-body{flex:1;padding:12px;border-radius:8px;background:#fff;border:1px solid var(--border);overflow:auto;max-height:360px}.msg-wa-preview{flex:1;display:flex;align-items:flex-start;padding:18px 8px 12px;min-height:280px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.35),transparent 40%),#dcefe4;border-radius:8px}.msg-wa-bubble{max-width:100%;width:100%;margin-left:0;margin-right:auto;background:#dcf8c6;border-radius:10px 10px 10px 2px;padding:10px 12px;box-shadow:0 1px 2px #04113614}.msg-wa-bubble pre{color:#111;max-height:340px;overflow:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0411368c;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.modal-backdrop+.modal-backdrop{z-index:120;background:#04113673}.field input.input-readonly,input.input-readonly{background:var(--bg-soft);color:var(--text-muted);cursor:default}.modal{width:min(900px,100%);max-height:min(90vh,880px);overflow:auto;background:var(--modal-bg);border:1px solid var(--border);border-radius:8px}.modal.wide{width:min(1240px,calc(100vw - 40px));max-height:min(92vh,960px)}.quote-editor-modal{border-color:#1170ea38;box-shadow:0 18px 48px #04113624}.quote-editor-modal .modal-header{position:sticky;overflow:hidden;background:linear-gradient(135deg,#eef5ff,#f7f9fc 55%,#fff);border-bottom:1px solid rgba(17,112,234,.18)}.quote-editor-modal .modal-header h2{color:var(--brand-dark)}.quote-editor-subtitle{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:2px;font-size:.82rem}.quote-editor-subtitle-total{margin-left:auto;font-weight:700;color:var(--brand-primary);font-variant-numeric:tabular-nums}.quote-editor-modal .modal-body{gap:16px;background:radial-gradient(ellipse 80% 40% at 100% 0%,rgba(17,112,234,.05),transparent 55%),var(--modal-bg)}.quote-editor-modal .modal-footer{background:linear-gradient(180deg,#fff,#eef5ff);border-top:1px solid rgba(17,112,234,.16)}.quote-editor-section{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel-bg)}.quote-editor-section-head{display:flex;align-items:flex-start;gap:12px}.quote-editor-section-head>div{flex:1;min-width:0}.quote-editor-section-head h3{margin:0;font-size:.95rem;font-weight:700;color:var(--brand-dark);letter-spacing:-.01em}.quote-editor-section-head p{margin:2px 0 0;font-size:.78rem;color:var(--text-muted);line-height:1.35}.quote-editor-section-head .btn{flex-shrink:0;align-self:center}.quote-editor-step{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:.82rem;font-weight:700;color:var(--brand-primary);background:var(--accent-soft);border:1px solid rgba(17,112,234,.22)}.quote-editor-section-lines{border-color:#1170ea47;background:linear-gradient(180deg,#f3f8ff,#fff 48%)}.quote-editor-section-lines.is-invalid{border-color:#c9424a73;box-shadow:0 0 0 3px #c9424a14}.quote-editor-modal .items-editor{gap:10px}.quote-editor-modal .item-row{grid-template-columns:44px minmax(0,2.2fr) minmax(130px,1fr) 80px 100px 110px minmax(100px,.9fr) auto;padding:12px;border-radius:8px;background:#fff;border:1px solid rgba(17,112,234,.14);box-shadow:0 1px 3px #04113608;transition:border-color .15s ease,box-shadow .15s ease,opacity .15s ease}.quote-editor-modal .item-row.is-dragging{opacity:.55}.quote-editor-modal .item-row.is-drop-target{border-color:var(--primary);box-shadow:0 0 0 1px #1170ea40}.item-row-reorder{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;align-self:end;cursor:grab;-webkit-user-select:none;user-select:none;min-height:38px}.item-row-reorder:active{cursor:grabbing}.item-row-index{display:grid;place-items:center;height:18px;font-size:.75rem;font-weight:700;color:var(--text-dim)}.item-row-move{display:flex;flex-direction:column;gap:0}.item-row-move-btn{height:18px;width:28px;padding:0;display:grid;place-items:center;color:var(--text-muted)}.item-row-move-btn:disabled{opacity:.25;cursor:default}.item-row-move-btn:not(:disabled):hover{color:var(--primary);background:var(--primary-soft, rgba(17, 112, 234, .08))}.item-row-remove{align-self:end;height:38px;width:38px;display:grid;place-items:center;color:var(--text-muted)}.item-row-remove:hover{color:var(--danger);background:var(--danger-soft)}.quote-lines-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 16px;text-align:center;border:1px dashed rgba(17,112,234,.35);border-radius:8px;background:#ffffffbf;color:var(--text-muted);font-size:.85rem}.quote-lines-empty strong{color:var(--brand-dark);font-size:.95rem}.quote-lines-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;gap:12px}.quote-editor-finance{display:flex;flex-direction:column;gap:14px}.quote-editor-finance-group{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:8px;background:var(--bg-soft);border:1px solid rgba(4,17,54,.05)}.quote-editor-finance-label{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.field-hint{display:block;margin-top:4px;font-size:.72rem;color:var(--text-dim)}.quote-editor-recap-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.7fr);gap:14px;align-items:start}.quote-editor-schedule{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;border-radius:8px;background:var(--bg-soft);border:1px solid rgba(4,17,54,.05)}.quote-editor-progress{font-size:.8rem;margin:0}.invoice-receive-box{margin-top:12px;padding:12px;border-radius:8px;background:var(--bg-soft);border:1px solid rgba(4,17,54,.05)}.invoice-receive-row{display:flex;align-items:flex-end;gap:10px;margin-top:6px}.invoice-receive-box .quote-editor-progress{margin-top:10px}.quote-editor-modal .totals-box{width:100%;margin-left:0;position:sticky;top:8px;background:linear-gradient(180deg,#eef5ff,#fff);border-color:#1170ea47;box-shadow:0 4px 14px #1170ea14}.quote-editor-modal .totals-row.grand{border-top-color:#1170ea40;color:var(--brand-primary)}.quote-editor-modal .schedule-item{background:#fff;border-color:#1170ea29;box-shadow:0 1px 2px #1170ea0a}.quote-editor-modal .schedule-item.is-paid{background:var(--success-soft)}.quote-editor-mentions{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;align-items:start}.quote-editor-mentions .field.full{width:100%;max-width:100%;margin:0}.quote-editor-mentions .field-conditions{margin-top:0}.quote-editor-mentions textarea{background:#f8fbff;border-color:#1170ea33}.quote-editor-mentions textarea:focus{background:#fff;border-color:var(--brand-primary);box-shadow:0 0 0 3px #1170ea1f}.quote-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:38px;padding-top:4px}.form-grid.cols-2{grid-template-columns:1fr 1fr}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--modal-bg);z-index:1}.modal-header-text{min-width:0;flex:1}.modal-subtitle{margin-top:6px}.modal-header h2{font-size:1.1rem;font-weight:600;color:var(--text)}.modal-body{padding:16px;display:flex;flex-direction:column;gap:14px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--border);position:sticky;bottom:0;background:var(--modal-bg)}.section-title{font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}.items-editor{display:flex;flex-direction:column;gap:8px;width:100%}.item-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(130px,1fr) 80px 100px 110px minmax(100px,.9fr) auto;gap:8px;align-items:end;width:100%;box-sizing:border-box}.presets-table{width:100%;table-layout:fixed;border-collapse:collapse}.presets-table th,.presets-table td{text-align:left;padding:8px 6px;vertical-align:middle}.presets-table .col-label{width:auto}.presets-table .col-cat{width:32%}.presets-table .col-actions{width:52px;text-align:right}.presets-table input,.presets-table select{width:100%!important;max-width:100%;box-sizing:border-box}.totals-box{margin-left:auto;width:min(320px,100%);border:1px solid var(--border);border-radius:var(--radius);padding:12px;display:flex;flex-direction:column;gap:6px}.totals-row{display:flex;justify-content:space-between;font-size:.85rem;color:var(--text-muted)}.totals-row.grand{margin-top:4px;padding-top:8px;border-top:1px solid var(--border);color:var(--text);font-weight:600;font-size:.95rem}.empty{padding:32px 16px;text-align:center;color:var(--text-muted);font-size:.9rem}.empty strong{display:block;color:var(--text);margin-bottom:4px;font-size:.95rem;font-weight:600}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{padding:5px 10px;border-radius:var(--radius);background:transparent;border:1px solid var(--border);color:var(--text-muted);font-size:.78rem}.chip:hover{border-color:var(--brand-primary);color:var(--brand-primary)}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.muted{color:var(--text-muted)}.row-actions{display:flex;gap:4px;justify-content:flex-end}table.data tbody tr.row-clickable{cursor:pointer}table.data tbody tr.row-clickable:hover{background:var(--accent-soft)}.search-bar{position:relative;margin-bottom:12px}.search-bar .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-dim);pointer-events:none}.search-bar input{width:100%;background:var(--panel-bg);border:1px solid var(--border);border-radius:var(--radius);padding:8px 12px 8px 36px;outline:none;color:var(--text)}.search-bar input:focus{border-color:var(--brand-primary)}.schedule-list{display:flex;flex-direction:column;gap:6px}.schedule-next-action{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:var(--radius);border:1px solid var(--border);font-size:.85rem}.schedule-next-action.is-next{background:var(--accent-soft);border-color:#1170ea59}.schedule-next-action.is-wait{background:var(--warning-soft);border-color:#b478144d}.schedule-next-action.is-done{background:var(--success-soft);border-color:#1a7a4c47;color:var(--success)}.schedule-item{display:grid;grid-template-columns:minmax(0,1.55fr) .35fr minmax(0,.85fr) auto;gap:10px 12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:8px;font-size:.85rem}.schedule-item-check{grid-template-columns:auto minmax(0,1.55fr) .35fr minmax(0,.85fr);cursor:pointer;margin:0}.schedule-item-check>input[type=checkbox]{width:auto;margin:0;accent-color:var(--brand-primary)}.schedule-item-main{min-width:0;display:flex;flex-direction:column;gap:6px}.schedule-label-edit{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}.schedule-label-edit .schedule-label-index{font-weight:700;font-size:.85rem;color:var(--brand-dark);line-height:1}.schedule-item>:nth-child(n+5){grid-column:1 / -1;justify-self:end}.schedule-item.is-paid{background:var(--success-soft);border-color:#1a7a4c47;color:var(--success)}.schedule-item.is-paid .muted{color:#1a7a4cbf}.schedule-item .row-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}@media(max-width:720px){.schedule-item{grid-template-columns:minmax(0,1fr) auto auto}.schedule-item-main{grid-column:1 / -1}.schedule-label-edit{grid-template-columns:auto minmax(0,1fr)}}.lock-gate{padding:4px 0 8px}.lock-error{color:var(--danger);font-size:.85rem;grid-column:1 / -1}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.item-row,.quote-editor-modal .item-row{grid-template-columns:1fr 1fr}.quote-editor-modal .item-row .item-row-reorder{grid-column:1 / -1;flex-direction:row;justify-content:flex-start;gap:8px;cursor:default}.quote-editor-modal .item-row .item-row-move{flex-direction:row}.quote-editor-modal .item-row .item-row-remove{grid-column:1 / -1;justify-self:end}.quote-editor-recap-grid,.quote-editor-mentions,.two-col,.form-grid,.form-grid.cols-2,.form-grid.cols-3,.form-grid.cols-4,.message-templates-grid,.msg-composer-layout,.msg-channel-switch,.msg-doc-tabs{grid-template-columns:1fr}.quote-editor-subtitle-total{margin-left:0}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}}.week-hours{display:flex;flex-direction:column;gap:6px;border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px}.week-hours-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--border)}.week-hours-row:last-child{border-bottom:none}.week-hours-day{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:600;min-width:110px;padding-top:6px}.week-hours-ranges{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:1}.week-hours-times{display:flex;align-items:center;gap:8px;font-size:.85rem}.week-hours-times input[type=time]{width:110px}.field-error{display:block;margin-top:6px;font-size:.8rem;color:var(--danger)}.chips-list{display:flex;flex-wrap:wrap;gap:6px}.app-shell-popout{display:block;min-height:100vh;background:var(--bg)}.main-popout{padding:0;max-width:none;height:100vh}.send-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#04113673;z-index:130;display:flex;justify-content:flex-end}.send-drawer-backdrop.is-popout{position:relative;inset:auto;background:transparent;height:100%;display:block}.send-drawer.is-popout{width:100%!important;height:100%;max-width:none;border-left:0;box-shadow:none;animation:none}.send-drawer.is-popout .send-drawer-body{flex:1;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(340px,420px) 1fr;gap:16px;padding:16px 20px}.send-drawer.is-popout .send-drawer-fields{overflow:auto;min-height:0;padding-right:4px}.send-drawer.is-popout .send-drawer-preview{min-height:0;height:100%;display:flex;flex-direction:column;gap:8px}.send-drawer.is-popout .send-drawer-iframe{flex:1;height:auto;min-height:0;border-radius:8px}.send-drawer.is-popout .send-drawer-preview-empty{flex:1;min-height:0}@media(max-width:900px){.send-drawer.is-popout .send-drawer-body{grid-template-columns:1fr;overflow:auto}.send-drawer.is-popout .send-drawer-iframe{height:min(70vh,720px);flex:none}}.send-drawer{position:relative;width:min(560px,100vw);height:100%;background:var(--modal-bg);border-left:1px solid var(--border);box-shadow:-12px 0 40px #04113629;display:flex;flex-direction:column;animation:send-drawer-in .22s ease-out}body.is-resizing-drawer{cursor:col-resize;-webkit-user-select:none;user-select:none}body.is-resizing-drawer .send-drawer-iframe{pointer-events:none}.send-drawer-resize{position:absolute;left:0;top:0;bottom:0;width:6px;cursor:col-resize;z-index:2}.send-drawer-resize:after{content:"";position:absolute;left:2px;top:50%;transform:translateY(-50%);width:2px;height:48px;border-radius:2px;background:var(--border)}.send-drawer-resize:hover:after,.send-drawer-resize:active:after{background:var(--brand-primary)}@keyframes send-drawer-in{0%{transform:translate(24px);opacity:.6}to{transform:translate(0);opacity:1}}.send-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#eef5ff,#fff)}.send-drawer-header h2{margin:0;font-size:1.1rem}.send-drawer-header-actions{display:flex;align-items:center;gap:2px}.send-drawer-body{flex:1;overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:16px}.send-drawer-fields{display:flex;flex-direction:column;gap:12px}.send-drawer-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.send-lang-toggle{display:flex;gap:6px;align-items:center}.send-lang-groups{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}.send-lang-label{font-size:.75rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.email-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;border:1px solid var(--border);border-bottom:0;border-radius:8px 8px 0 0;background:var(--bg-soft)}.email-toolbar-sep{width:1px;height:18px;background:var(--border);margin:0 4px}.email-editor{min-height:180px;max-height:320px;overflow:auto;padding:12px 14px;border:1px solid var(--border);border-radius:0 0 8px 8px;background:#fff;font-size:.9rem;line-height:1.5;outline:none}.email-editor:focus{border-color:var(--brand-primary);box-shadow:0 0 0 2px #1170ea26}.email-editor p{margin:0 0 .55em}.email-editor p:last-child{margin-bottom:0}.send-signature-row{display:flex;gap:8px;align-items:center}.send-signature-row select{flex:1}.send-drawer-preview{display:flex;flex-direction:column;gap:8px;min-height:280px}.send-drawer-preview-label{font-size:.82rem;color:var(--text-muted)}.send-drawer-preview-empty{flex:1;min-height:220px;display:grid;place-items:center;gap:8px;border:1px dashed var(--border);border-radius:8px;color:var(--text-muted);font-size:.85rem}.send-drawer-iframe{width:100%;height:min(42vh,420px);border:1px solid var(--border);border-radius:8px;background:#fff}.send-drawer-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:14px 20px;border-top:1px solid var(--border);background:var(--bg-soft);flex-wrap:wrap}.send-drawer-footer-left{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:640px){.send-drawer{width:100vw!important}.send-drawer-resize{display:none}}.files-page .page-header{align-items:flex-start}.files-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 20px;font-size:.9rem;color:var(--text-muted)}.files-breadcrumb-sep{margin:0 4px;opacity:.5}.files-breadcrumb-link{background:none;border:none;padding:0;color:var(--accent, #1a5cff);cursor:pointer;font:inherit}.files-breadcrumb-link:hover{text-decoration:underline}.files-breadcrumb-current{color:var(--text);font-weight:600}.files-error{padding:10px 14px;margin-bottom:16px;border-radius:8px;background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.files-loading,.files-empty{display:grid;place-items:center;gap:8px;min-height:220px;color:var(--text-muted);text-align:center}.files-empty p{margin:0;font-weight:600;color:var(--text)}.files-empty span{font-size:.9rem}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;position:relative;min-height:280px;-webkit-user-select:none;user-select:none}.files-marquee{position:fixed;z-index:50;pointer-events:none;border:1px solid var(--brand-primary, #1170EA);background:color-mix(in srgb,var(--brand-primary, #1170EA) 18%,transparent);border-radius:2px}.files-page-marquee,.files-page-marquee *{cursor:crosshair!important}.files-page-marquee .files-card-file,.files-page-marquee .files-card-folder{pointer-events:none}.files-card{position:relative;border:1px solid var(--border);border-radius:12px;background:var(--bg-elevated, #fff);transition:border-color .15s,box-shadow .15s}.files-card:hover{border-color:color-mix(in srgb,var(--accent, #1a5cff) 40%,var(--border));box-shadow:0 4px 14px #0000000f}.files-card-selected{border-color:var(--brand-primary, #1170EA);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand-primary, #1170EA) 35%,transparent);background:color-mix(in srgb,var(--brand-primary, #1170EA) 6%,#fff)}.files-card.files-drop-target,.files-breadcrumb-link.files-drop-target{border-color:var(--brand-primary, #1170EA);background:color-mix(in srgb,var(--brand-primary, #1170EA) 12%,#fff);outline:2px dashed var(--brand-primary, #1170EA);outline-offset:2px}.files-breadcrumb-link.files-drop-target{border-radius:6px;padding:2px 6px}.files-card-file{cursor:grab;-webkit-user-select:none;user-select:none}.files-card-file:active{cursor:grabbing}.files-page-moving .files-card-folder{transition:background .12s,border-color .12s,outline .12s}.send-files-att-list{margin:0;padding:8px 12px;list-style:none;border:1px solid var(--border);border-radius:8px;background:var(--bg-soft, #f5f6f8);font-size:.85rem;max-height:120px;overflow:auto}.send-files-att-list li{padding:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.send-files-att-loading{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-muted)}.files-card-folder{cursor:grab;-webkit-user-select:none;user-select:none}.files-card-folder:active{cursor:grabbing}.files-card-main{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;padding:14px 14px 12px;border:none;background:transparent;text-align:left;text-decoration:none;color:inherit;cursor:pointer;font:inherit}.files-card-icon{display:grid;place-items:center;height:88px;border-radius:8px;background:var(--bg-soft, #f5f6f8);color:var(--accent, #1a5cff)}.files-card-icon-pdf{color:#c2410c}.files-card-thumb{display:block;height:88px;border-radius:8px;overflow:hidden;background:var(--bg-soft, #f5f6f8)}.files-card-thumb img{width:100%;height:100%;object-fit:cover}.files-card-name{font-weight:600;font-size:.9rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-card-meta{font-size:.75rem;color:var(--text-muted)}.files-drop-hint{margin:-8px 0 16px;font-size:.8rem;color:var(--text-muted)}.files-page{position:relative;min-height:calc(100vh - 48px)}.files-page-drag .files-grid,.files-page-drag .files-empty{pointer-events:none}.files-drop-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;background:color-mix(in srgb,var(--brand-primary, #1a5cff) 12%,transparent);border:2px dashed var(--brand-primary, #1a5cff);border-radius:12px;pointer-events:none}.files-drop-overlay-inner{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 32px;border-radius:12px;background:#ffffffeb;color:var(--brand-primary, #1a5cff);font-size:1rem}.files-ctx-menu{position:fixed;z-index:60;min-width:190px;padding:4px;border-radius:8px;border:1px solid var(--border);background:#fff;box-shadow:0 10px 28px #00000024;display:flex;flex-direction:column}.files-ctx-menu button{display:flex;align-items:center;gap:8px;padding:8px 10px;border:none;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:.85rem;cursor:pointer;text-align:left}.files-ctx-menu button:hover{background:var(--bg-soft, #f5f6f8)}.files-ctx-menu .danger{color:#b91c1c}.files-toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:70;padding:10px 16px;border-radius:8px;background:#111;color:#fff;font-size:.85rem;box-shadow:0 8px 20px #0003}.files-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:grid;place-items:center;padding:24px;background:#0f121c8c}.files-preview{width:min(960px,100%);height:min(88vh,900px);display:flex;flex-direction:column;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 20px 50px #00000047}.files-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--bg-soft, #f5f6f8);flex-shrink:0}.files-preview-title{display:flex;flex-direction:column;gap:2px;min-width:0}.files-preview-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-preview-title span{font-size:.75rem;color:var(--text-muted)}.files-preview-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.files-preview-body{flex:1;min-height:0;background:#1a1d24;display:grid;place-items:center}.files-preview-frame{width:100%;height:100%;border:none;background:#fff}.files-preview-img{max-width:100%;max-height:100%;object-fit:contain}.files-preview-status{display:grid;place-items:center;min-height:200px;color:#cbd5e1;padding:24px;text-align:center}.files-preview-error{color:#fecaca}.files-busy-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;background:#ffffff73;pointer-events:all}.files-modal-form{display:flex;flex-direction:column;gap:14px}.files-modal-form label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600}.files-modal-form input{font-weight:400;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font:inherit}.files-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}:root{--ink: #0a1433;--navy: #061340;--ink-deep: #020a22;--blue: #1570ef;--blue-dark: #0b4fd1;--blue-bg: #dbe9fe;--electric: #5b9bff;--bg: #f4f7fc;--body-bg: #f4f7fc;--bg-soft: #eaf0fb;--text: var(--ink);--text-muted: #4a5578;--text-dim: #8a94b0;--border: rgba(10, 20, 51, .07);--border-strong: rgba(21, 112, 239, .35);--brand-primary: var(--blue);--accent: var(--blue);--accent-soft: rgba(21, 112, 239, .08);--info: var(--blue);--info-soft: rgba(21, 112, 239, .09);--radius: 12px;--radius-lg: 22px;--radius-xl: 28px;--font: "Outfit", system-ui, sans-serif;--mono: "JetBrains Mono", ui-monospace, monospace;--sidebar-w: 268px;--shadow-soft: 0 1px 2px rgba(4, 17, 54, .04), 0 18px 40px -28px rgba(4, 17, 54, .35);--shadow-lift: 0 2px 6px rgba(4, 17, 54, .06), 0 28px 60px -28px rgba(4, 17, 54, .45);--shadow-glow: 0 14px 30px -14px rgba(21, 112, 239, .75);--ease-out: cubic-bezier(.16, 1, .3, 1)}html{overflow-x:hidden}body{font-weight:500;line-height:1.45}::selection{background:var(--blue);color:#fff}:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.app-shell{grid-template-columns:calc(var(--sidebar-w) + 14px) minmax(0,1fr)}.app-shell-popout{grid-template-columns:minmax(0,1fr)}.topbar,.sidebar-scrim{display:none}.sidebar{margin:14px 0 14px 14px;height:calc(100vh - 28px);height:calc(100dvh - 28px);top:14px;padding:22px 14px 16px;gap:22px;border:0;border-radius:var(--radius-xl);color:#fff;background:radial-gradient(120% 55% at 100% 0%,rgba(21,112,239,.45),transparent 60%),radial-gradient(90% 40% at 0% 100%,rgba(91,155,255,.16),transparent 65%),linear-gradient(180deg,var(--navy),var(--ink-deep));box-shadow:var(--shadow-lift);overflow-y:auto;scrollbar-width:none}.sidebar::-webkit-scrollbar{display:none}.brand{padding:2px 10px 0}.brand-logo{max-width:124px}.nav{gap:4px}.nav-item{padding:11px 14px;border-radius:999px;color:#ffffffa8;font-size:.92rem;transition:color .2s,background .2s,box-shadow .3s var(--ease-out)}.nav-item:hover{color:#fff;background:#ffffff14}.nav-item.active{color:#fff;background:var(--blue);box-shadow:var(--shadow-glow)}.nav-icon{opacity:1}.sidebar-footer{border-top:1px solid rgba(255,255,255,.1);padding-top:14px;color:#ffffff80}.sidebar-user strong{color:#fff;font-size:.88rem}.sidebar-user span{font-family:var(--mono);font-size:.7rem;color:var(--electric)}.sidebar .btn-ghost{color:#ffffffb8;border:1px solid rgba(255,255,255,.14);padding:9px 14px}.sidebar .btn-ghost:not(:disabled):hover{color:#fff;background:#ffffff1a}.main{padding:30px 38px 64px;max-width:1480px;width:100%}.page-header{margin-bottom:26px;flex-wrap:wrap}.page-header h1{font-size:clamp(1.6rem,1.2rem + 1.2vw,2.15rem);font-weight:700;letter-spacing:-.035em;line-height:1.1;gap:14px}.page-header h1>svg{box-sizing:content-box;padding:10px;border-radius:14px;background:var(--blue-bg);color:var(--blue);flex-shrink:0}.btn{padding:10px 18px;border-radius:999px;font-weight:600;transition:background .2s,border-color .2s,color .2s,box-shadow .3s var(--ease-out),transform .3s var(--ease-out)}.btn-primary{background:var(--blue);box-shadow:var(--shadow-glow)}.btn-primary:not(:disabled):hover{background:var(--blue-dark);transform:translateY(-1px)}.btn-primary:not(:disabled):active{transform:translateY(0)}.btn-secondary{background:#fff;border-color:var(--border);box-shadow:0 1px 2px #0411360a}.btn-secondary:not(:disabled):hover{background:#fff;border-color:var(--border-strong);color:var(--blue)}.btn-sm{padding:6px 13px}.btn-ghost{padding:8px 10px;border-radius:999px}.panel,.stat-card,.lock-gate{border-color:var(--border)}.panel{border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);background:#fff}.panel-header{padding:16px 20px}.panel-header h2{font-size:1rem;font-weight:700;letter-spacing:-.02em}.panel-body{padding:20px}.stats-grid{gap:14px}.stat-card{border-radius:var(--radius-lg);padding:20px;background:#fff;box-shadow:var(--shadow-soft);min-width:0}.stat-icon-badge{display:flex;width:38px;height:38px;border-radius:12px;margin-bottom:16px}.stat-label{display:flex;font-family:var(--mono);font-size:.72rem;font-weight:400;letter-spacing:0;color:var(--text-muted)}.stat-value{font-size:clamp(1.5rem,1.1rem + 1vw,2rem);font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat-hint{font-size:.78rem;color:var(--text-dim)}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}table.data{font-size:.9rem}table.data th,table.data td{padding:14px 20px}table.data th{font-family:var(--mono);font-size:.68rem;font-weight:400;letter-spacing:.06em;color:var(--text-muted);white-space:nowrap}table.data td{font-variant-numeric:tabular-nums}table.data td:first-child{white-space:nowrap}.badge{padding:3px 11px;border-radius:999px;font-size:.74rem}.empty{padding:48px 20px}.empty strong{font-size:1.05rem;font-weight:700;letter-spacing:-.02em}.search-bar input,.field input,.field select,.field textarea{border-radius:var(--radius);border-color:var(--border);background:#fff;transition:border-color .2s,box-shadow .2s}.search-bar input{border-radius:999px;padding:12px 16px 12px 42px;box-shadow:var(--shadow-soft)}.search-bar .search-icon{left:16px}.field input,.field select,.field textarea{padding:10px 14px}.search-bar input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px #1570ef24}.field label{font-size:.78rem;color:var(--text-muted)}.filter-bar{gap:8px;margin-bottom:18px}.filter-chip{padding:7px 16px;font-size:.82rem;transition:background .2s,color .2s,border-color .2s,box-shadow .3s var(--ease-out)}.filter-chip:not(.is-active):hover{border-color:var(--border-strong);color:var(--blue)}.filter-chip.is-active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:var(--shadow-glow)}.filter-chip.is-active.chip-success{background:var(--success);border-color:var(--success);box-shadow:0 14px 30px -14px #1a7a4cbf}.filter-chip.is-active.chip-warn{background:var(--warning);border-color:var(--warning);box-shadow:0 14px 30px -14px #b8842abf}.filter-chip.is-active:hover{color:#fff;filter:brightness(1.06)}.chip{border-radius:999px}.field input,.field select,.field textarea{min-height:46px;background-color:#f8faff;border:1px solid rgba(10,20,51,.13);box-shadow:inset 0 1px 2px #0411360a;color:var(--ink);font-weight:500}.field textarea{min-height:96px;line-height:1.5}.field input::placeholder,.field textarea::placeholder,.search-bar input::placeholder{color:#a3acc4;font-weight:400}.field input:hover:not(:disabled):not(:focus):not([readonly]),.field select:hover:not(:disabled):not(:focus),.field textarea:hover:not(:disabled):not(:focus){border-color:#1570ef66;background-color:#fff}.field input:focus,.field select:focus,.field textarea:focus{background-color:#fff;border-color:var(--blue);box-shadow:0 0 0 4px #1570ef24}.field input:disabled,.field select:disabled,.field textarea:disabled,.field input[readonly],.field input.input-readonly{background-color:#eef2f9;color:var(--text-muted);box-shadow:none;cursor:not-allowed}.field-invalid input,.field-invalid select,.field-invalid textarea{border-color:var(--danger);background-color:#fff8f8}.field-invalid input:focus,.field-invalid select:focus,.field-invalid textarea:focus{border-color:var(--danger);box-shadow:0 0 0 4px #c9424a24}.field select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:42px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a5578' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}.field select:focus{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231570ef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.field label{font-weight:600;color:var(--slate, #2a3558);letter-spacing:.005em}.field{gap:7px}.form-grid{gap:18px 16px}.field-hint{color:var(--text-dim)}.checkbox-row input[type=checkbox],.schedule-item-check>input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:0 0 auto;width:20px;height:20px;min-height:0;padding:0;margin:0;display:inline-grid;place-content:center;border:1.5px solid rgba(10,20,51,.25);border-radius:7px;background:#fff;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}.checkbox-row input[type=checkbox]:after,.schedule-item-check>input[type=checkbox]:after{content:"";width:10px;height:6px;margin-top:-2px;border-left:2.2px solid #fff;border-bottom:2.2px solid #fff;transform:rotate(-45deg) scale(0);transition:transform .2s var(--ease-out)}.checkbox-row input[type=checkbox]:checked,.schedule-item-check>input[type=checkbox]:checked{background:var(--blue);border-color:var(--blue)}.checkbox-row input[type=checkbox]:checked:after,.schedule-item-check>input[type=checkbox]:checked:after{transform:rotate(-45deg) scale(1)}.checkbox-row input[type=checkbox]:hover:not(:disabled):not(:checked){border-color:var(--blue)}.checkbox-row input[type=checkbox]:focus-visible,.schedule-item-check>input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 4px #1570ef2e}.checkbox-row input[type=checkbox]:disabled{cursor:not-allowed}.panel,.stat-card,.panel-header{background:linear-gradient(180deg,#fbfcff,#fff)}.stat-card{position:relative;overflow:hidden;transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out)}.stat-card:after{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(21,112,239,.1),transparent 70%);pointer-events:none}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift),inset 0 1px #ffffffe6}.quote-editor-section{gap:16px;padding:20px;border-color:var(--border);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow-soft)}.quote-editor-section-lines{border-color:#1570ef4d;background:linear-gradient(180deg,#f1f7ff,#fff 55%)}.quote-editor-section-head h3{font-size:1.02rem;letter-spacing:-.02em;color:var(--ink)}.quote-editor-step{width:32px;height:32px;border-radius:11px;font-family:var(--mono);background:var(--blue-bg);border-color:transparent}.quote-editor-modal .item-row{border-radius:16px;box-shadow:0 1px 2px #0411360d}.client-pdf-fields{border-radius:16px;border-color:#1570ef29;background:#f4f8ff}.selection-bar{border-radius:999px;padding:10px 18px}.status-select{border-radius:999px;padding:4px 26px 4px 12px}@media(max-width:640px){.form-grid{gap:14px}.quote-editor-section{padding:16px;border-radius:18px}.field input,.field select,.field textarea,.search-bar input{font-size:16px}}.fx-ticker-loading,.fx-ticker-error,.fx-strip{margin-bottom:22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow-soft),inset 0 1px #ffffffe6}.fx-ticker-loading,.fx-ticker-error{display:flex;align-items:center;gap:12px;padding:16px 22px}.fx-strip{display:flex;align-items:stretch;min-height:64px;overflow:hidden}.fx-strip-head{flex-shrink:0;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:0 24px;border-right:1px solid var(--border);white-space:nowrap}.fx-strip-kicker{font-family:var(--mono);font-size:.68rem;color:var(--text-muted)}.fx-strip-base{font-size:1.05rem;font-weight:700;letter-spacing:-.02em;color:var(--ink)}.fx-strip-viewport{position:relative;flex:1;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,transparent,#000 56px,#000 calc(100% - 56px),transparent)}.fx-strip-track{display:flex;align-items:stretch;width:max-content;height:100%;margin:0;padding:0;list-style:none;animation:fx-strip-scroll linear infinite}.fx-strip:hover .fx-strip-track{animation-play-state:paused}.fx-item{display:flex;align-items:baseline;align-self:center;gap:12px;padding:0 32px;border-right:1px solid var(--border);line-height:1.1}.fx-code{font-family:var(--mono);font-size:.78rem;letter-spacing:.04em;color:var(--text-muted)}.fx-value{font-size:1.3rem;font-weight:600;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}@keyframes fx-strip-scroll{0%{transform:translate(0)}to{transform:translate(-50%)}}.fx-strip-meta{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:0 14px 0 22px;border-left:1px solid var(--border);font-family:var(--mono);font-size:.74rem;color:var(--text-muted)}.fx-strip-refresh{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--text-muted);transition:color .2s,background .2s}.fx-strip-refresh:hover{color:var(--blue);background:var(--blue-bg)}@media(prefers-reduced-motion:reduce){.fx-strip-track{animation:none}.fx-strip-viewport{overflow-x:auto;-webkit-mask-image:none;mask-image:none}}@media(max-width:640px){.fx-strip{min-height:58px}.fx-strip-head{padding:0 14px}.fx-strip-kicker{display:none}.fx-strip-base{font-size:.95rem}.fx-item{padding:0 22px}.fx-value{font-size:1.12rem}.fx-strip-meta{padding:0 6px 0 10px}.fx-strip-meta>span{display:none}}.stat-icon-badge{--tone: var(--blue);position:absolute;top:18px;right:18px;display:grid;place-items:center;width:46px;height:46px;margin:0;border-radius:15px;color:var(--tone);background:linear-gradient(145deg,color-mix(in srgb,var(--tone) 6%,#fff),color-mix(in srgb,var(--tone) 20%,#fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone) 18%,transparent),0 8px 16px -10px color-mix(in srgb,var(--tone) 70%,transparent);transition:transform .4s var(--ease-out)}.stat-icon-badge.accent{--tone: var(--blue)}.stat-icon-badge.success{--tone: var(--success)}.stat-icon-badge.warning{--tone: var(--warning)}.stat-icon-badge.danger{--tone: var(--danger)}.stat-icon-badge.info{--tone: var(--blue)}.stat-card:hover .stat-icon-badge{transform:rotate(-6deg) scale(1.06)}.stat-card{display:flex;flex-direction:column;gap:2px;min-height:150px;padding:20px 20px 18px}.stat-card:after{display:none}.stat-label{min-height:46px;padding-right:58px;align-items:flex-start;line-height:1.35}.stat-value{font-size:clamp(1.75rem,1.3rem + 1vw,2.35rem);line-height:1.05}.stat-hint{margin-top:6px;min-height:1.2em}.stat-card-money{order:-1;grid-column:span 2;min-height:176px}.stat-card-money .stat-label{min-height:62px}.stat-card-money .stat-value{font-size:clamp(2.1rem,1.5rem + 1.6vw,3rem);letter-spacing:-.045em}.stat-card-dark{border:0;color:#fff;background:radial-gradient(110% 90% at 100% 0%,rgba(21,112,239,.5),transparent 62%),radial-gradient(80% 70% at 0% 100%,rgba(91,155,255,.14),transparent 70%),linear-gradient(160deg,var(--navy),var(--ink-deep));box-shadow:var(--shadow-lift)}.stat-card-dark .stat-label{color:#ffffffa8}.stat-card-dark .stat-value{color:#fff}.stat-card-dark .stat-hint{color:#ffffff80}.stat-card-dark .stat-icon-badge{--tone: #4ade80;color:#4ade80;background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff29,0 10px 20px -12px #4ade8099}.currency-grid{gap:14px;margin-bottom:22px}.currency-card{padding:18px 20px;border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}.currency-card.is-primary{border-color:#1570ef4d;background:linear-gradient(180deg,#eef5ff,#fff 75%)}.currency-badge{font-family:var(--mono);font-weight:400;padding:4px 12px}.currency-row{padding:8px 0;font-size:.86rem}.currency-row strong{font-variant-numeric:tabular-nums}.activity-row{gap:16px;padding:14px 20px;transition:background .2s}.activity-row:hover{background:#f8faff}.activity-icon{width:42px;height:42px;border-radius:14px;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 18%,transparent)}.activity-title{font-size:.93rem;font-weight:600;letter-spacing:-.01em}.activity-sub{margin-top:4px;font-size:.78rem}.activity-amount{font-size:.98rem;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}@media(max-width:640px){.stat-card{min-height:132px;padding:16px 14px 14px}.stat-icon-badge{top:14px;right:14px;width:40px;height:40px;border-radius:13px}.stat-label{min-height:40px;padding-right:48px}.stat-card-money{min-height:150px}.activity-row{padding:12px 16px;gap:12px}.activity-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.stat-card-money .stat-label{min-height:54px}.activity-icon{width:38px;height:38px}}.invoice-links{display:flex;flex-direction:column;gap:8px;padding:14px 18px;border:1px solid rgba(21,112,239,.22);border-radius:var(--radius-lg);background:#f4f8ff;font-size:.9rem;line-height:1.5}.invoice-links p{margin:0}.invoice-links-lock{color:var(--ink)}.invoice-links-notes{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.invoice-links-notes li{display:flex;align-items:center;justify-content:space-between;gap:12px}.link-button{padding:0;white-space:nowrap;color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}.link-button:hover{color:var(--blue-dark)}.credit-explain{margin:0;line-height:1.6;color:var(--text-muted)}.credit-explain strong{color:var(--ink)}.credit-kind{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;border:0}.credit-kind legend{margin-bottom:6px;font-size:.78rem;font-weight:600;color:var(--text-muted)}.credit-kind input[type=radio]{width:18px;height:18px;accent-color:var(--blue)}.credit-warning{padding:12px 16px;border-radius:var(--radius);background:var(--warning-soft);color:var(--warning);font-size:.86rem;line-height:1.5}.credit-reason{max-width:280px;color:var(--text-muted)}.audit-detail{max-width:420px;color:var(--text-muted);font-size:.84rem}.audit-more{display:flex;justify-content:center;padding:14px;border-top:1px solid var(--border)}.viewer-banner{margin-bottom:18px;padding:12px 18px;border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;color:var(--text-muted);font-size:.9rem;box-shadow:var(--shadow-soft)}.role-viewer .page-header .btn-primary,.role-viewer .row-actions .btn-danger{display:none}.pdf-preview-modal .modal-body{padding:0;background:#e9edf5}.pdf-preview-modal .modal-footer{justify-content:space-between}.pdf-lang{display:flex;gap:8px}.pdf-frame{position:relative;height:min(72vh,780px);min-height:420px}.pdf-iframe{display:block;width:100%;height:100%;border:0;background:#e9edf5}.pdf-frame-state{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--text-muted)}@media(max-width:640px){.pdf-frame{height:70dvh}.pdf-preview-modal .modal-footer{flex-direction:column-reverse;align-items:stretch}.pdf-lang{justify-content:center}}.modal-close{display:inline-grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;color:var(--text-muted);font-size:.95rem;transition:background .2s,color .2s}.modal-steps{position:sticky;top:var(--modal-header-h, 96px);z-index:1;display:flex;gap:6px;padding:10px 24px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--border);background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal-steps::-webkit-scrollbar{display:none}.modal-step{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;padding:6px 14px 6px 6px;border-radius:999px;color:var(--text-muted);font-size:.86rem;font-weight:600;white-space:nowrap;transition:background .2s,color .2s}.modal-step-num{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--bg-soft);font-family:var(--mono);font-size:.68rem;font-weight:400}.modal-step:hover{color:var(--blue)}.modal-step.is-active{background:var(--blue-bg);color:var(--blue)}.modal-step.is-active .modal-step-num{background:var(--blue);color:#fff}.quote-editor-section{scroll-margin-top:calc(var(--modal-header-h, 96px) + 64px)}.quote-editor-finance-group{padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:#f8faff}.quote-editor-finance-label,.section-title{margin-bottom:12px;font-family:var(--font);font-size:.92rem;font-weight:700;letter-spacing:-.01em;text-transform:none;color:var(--ink)}.lines{display:flex;flex-direction:column;gap:10px}.lines-head,.line-row{display:grid;grid-template-columns:56px minmax(180px,1fr) 150px 80px 96px 108px 128px 132px;align-items:center;gap:10px}.lines-head{padding:0 14px;font-family:var(--mono);font-size:.68rem;letter-spacing:.04em;color:var(--text-muted)}.lines-head-total{text-align:right}.line-row{position:relative;padding:10px 14px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 1px 2px #0411360a;transition:border-color .2s,box-shadow .3s var(--ease-out),opacity .2s,transform .2s}.line-row:hover,.line-row:focus-within{border-color:#1570ef59;box-shadow:var(--shadow-soft)}.line-row.is-dragging{opacity:.4;transform:scale(.992)}.line-row.drop-before:before,.line-row.drop-after:after{content:"";position:absolute;left:12px;right:12px;height:4px;border-radius:4px;background:var(--blue);box-shadow:0 0 0 4px #1570ef29;pointer-events:none}.line-row.drop-before:before{top:-8px}.line-row.drop-after:after{bottom:-8px}.line-handle{display:flex;align-items:center;gap:2px}.line-grip{display:grid;place-items:center;width:32px;height:38px;border-radius:10px;color:var(--text-dim);cursor:grab;transition:background .2s,color .2s}.line-grip:hover{background:var(--blue-bg);color:var(--blue)}.line-grip:active{cursor:grabbing}.line-index{min-width:14px;font-family:var(--mono);font-size:.72rem;color:var(--text-dim)}.line-cell{display:block;min-width:0}.line-cell-label{display:none;margin-bottom:4px;font-size:.72rem;font-weight:600;color:var(--text-muted)}.line-row input,.line-row select{width:100%;min-height:42px;padding:8px 12px;border:1px solid rgba(10,20,51,.12);border-radius:var(--radius);background-color:#f8faff;box-shadow:none;font-weight:500}.line-row select{padding-right:34px;background-position:right 12px center}.line-row input:focus,.line-row select:focus{background-color:#fff;border-color:var(--blue);box-shadow:0 0 0 4px #1570ef24}.line-total{display:block;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}.line-actions{display:flex;justify-content:flex-end;gap:2px}.line-icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;color:var(--text-muted);transition:background .2s,color .2s}.line-icon-btn:hover:not(:disabled){background:var(--blue-bg);color:var(--blue)}.line-icon-btn.line-delete:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.line-icon-btn:disabled{opacity:.3;cursor:not-allowed}.line-move{display:none}.line-add{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border:1.5px dashed rgba(21,112,239,.4);border-radius:18px;background:#1570ef0a;color:var(--blue);font-weight:600;transition:background .2s,border-color .2s}.line-add:hover{border-color:var(--blue);background:var(--blue-bg)}.lines-foot{display:flex;align-items:baseline;justify-content:space-between;padding:4px 6px 0;color:var(--text-muted);font-size:.9rem}.lines-foot strong{margin-left:6px;color:var(--ink);font-size:1.15rem;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.lines-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:34px 20px;border:1.5px dashed rgba(21,112,239,.35);border-radius:18px;background:#1570ef08;text-align:center;color:var(--text-muted)}.lines-empty strong{color:var(--ink);font-size:1.05rem}@media(max-width:1100px){.lines-head{display:none}.line-row{grid-template-columns:44px repeat(4,minmax(0,1fr));grid-template-areas:"handle desc desc desc actions" ". cat cat unit unit" ". qty price total total";row-gap:10px}.line-handle{grid-area:handle;align-self:start;padding-top:22px}.line-cell-desc{grid-area:desc}.line-cell-cat{grid-area:cat}.line-cell-unit{grid-area:unit}.line-cell-qty{grid-area:qty}.line-cell-price{grid-area:price}.line-cell-total{grid-area:total;align-self:end}.line-actions{grid-area:actions;align-self:start;padding-top:18px}.line-cell-label{display:block}.line-move{display:inline-grid}.line-actions{flex-wrap:wrap}}@media(max-width:640px){.line-row{grid-template-columns:38px repeat(4,minmax(0,1fr));padding:12px}.line-actions{justify-content:flex-end;max-width:72px;margin-left:auto}.line-icon-btn{width:30px;height:30px}.line-total{font-size:1.05rem}}.pdf-fields{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;padding:20px 22px;border:1px solid var(--border);border-radius:20px;background:#f8faff}.pdf-fields-head{display:flex;justify-content:space-between;gap:14px}.pdf-fields-head h4{margin:0;font-size:1rem;font-weight:700;letter-spacing:-.02em}.pdf-fields-head p{margin:4px 0 0;font-size:.82rem;line-height:1.45;color:var(--text-muted)}.pdf-fields-quick{display:flex;align-items:flex-start;gap:6px;white-space:nowrap;font-size:.86rem;color:var(--text-dim)}.pdf-fields-quick .link-button:disabled{opacity:.4;cursor:not-allowed;text-decoration:none}.pdf-fields-group{margin-top:16px}.pdf-fields-group-title{display:block;margin-bottom:8px;font-family:var(--mono);font-size:.7rem;color:var(--text-muted)}.pdf-fields-chips{display:flex;flex-wrap:wrap;gap:8px}.pdf-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--ink);font-size:.86rem;font-weight:500;transition:background .2s,border-color .2s}.pdf-chip:hover:not(:disabled){border-color:#1570ef73}.pdf-chip-box{display:grid;place-items:center;width:18px;height:18px;border:1.5px solid rgba(10,20,51,.25);border-radius:6px;color:#fff;transition:background .2s,border-color .2s}.pdf-chip.is-on{border-color:#1570ef73;background:#1570ef12}.pdf-chip.is-on .pdf-chip-box{border-color:var(--blue);background:var(--blue)}.pdf-chip:disabled{border-style:dashed;background:transparent;color:var(--text-dim);cursor:not-allowed}.pdf-chip:disabled .pdf-chip-box{border-color:#0a14331f}.pdf-fields-card{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow-soft);font-size:.84rem;line-height:1.5;color:var(--text-muted)}.pdf-fields-card strong{margin-bottom:4px;color:var(--ink);font-size:.98rem;letter-spacing:-.01em}@media(max-width:900px){.pdf-fields{grid-template-columns:minmax(0,1fr);padding:16px}}@media(max-width:640px){.panel-cards{border:0;background:transparent;box-shadow:none;overflow:visible}.panel-cards .table-wrap{overflow:visible}table.data.doc-table,table.data.doc-table tbody{display:grid;gap:14px}table.data.doc-table tbody tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"check num status" "title title title" "client client client" "total total total" "actions actions actions";align-items:center;gap:6px 12px;padding:18px 18px 14px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out)}table.data.doc-table tbody tr:active{transform:scale(.99)}table.data.doc-table td{display:block;padding:0;text-align:left;border:0}table.data.doc-table td:before{display:none}table.data.doc-table td.doc-check{grid-area:check}table.data.doc-table td.doc-num{grid-area:num;font-family:var(--mono);font-size:.78rem;font-weight:400;letter-spacing:.02em;color:var(--text-muted)}table.data.doc-table td.doc-status{grid-area:status;justify-self:end}table.data.doc-table td.doc-title{grid-area:title;margin-top:6px;font-size:1.1rem;font-weight:700;letter-spacing:-.02em;line-height:1.25}table.data.doc-table td.doc-client{grid-area:client;font-size:.9rem;font-weight:500;color:var(--text-muted)}table.data.doc-table td.doc-total{grid-area:total;margin-top:10px;font-size:1.6rem;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums}table.data.doc-table td.doc-actions{grid-area:actions;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}table.data.doc-table .row-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}table.data.doc-table .row-actions .btn{justify-content:center;gap:6px;min-height:40px;padding:8px 6px;border-radius:12px;white-space:nowrap}table.data.doc-table .row-actions .btn-primary{grid-column:1 / -1}table.data.doc-table .row-actions .btn:after{content:attr(title);font-size:.8rem;font-weight:600}table.data.doc-table .row-actions .btn-danger{grid-column:1 / -1}table.data.doc-table .status-stack{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:4px}}.recap-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:24px;align-items:start}.recap-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;margin:0;padding:20px 22px;border:1px solid var(--border);border-radius:18px;background:#f8faff}.recap-meta dt{margin-bottom:3px;font-size:.76rem;font-weight:600;color:var(--text-muted)}.recap-meta dd{margin:0;font-size:.98rem;font-weight:600;color:var(--ink)}.totals-box-wide{width:100%;max-width:none;padding:22px 26px;border-radius:18px;font-size:.98rem}.totals-box-wide .totals-row{padding:8px 0}.totals-box-wide .totals-row.grand{margin-top:6px;padding-top:14px;font-size:1.12rem}@media(max-width:900px){.recap-layout{grid-template-columns:minmax(0,1fr)}}.doc-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--border)}.doc-fact{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 18px;background:#fff}.doc-fact-wide{grid-column:span 2}.doc-fact dt{font-size:.74rem;font-weight:600;color:var(--text-muted)}.doc-fact dd{margin:0;font-size:1rem;font-weight:600;letter-spacing:-.01em;color:var(--ink);overflow-wrap:anywhere}.doc-fact-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.doc-fact-inline .muted{font-size:.8rem;font-weight:500}.doc-fact.is-overdue dd{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--danger)}.doc-description{margin:16px 2px 0;white-space:pre-wrap;color:var(--text-muted);line-height:1.55}.lines-table-wrap{margin-top:16px;border:1px solid var(--border);border-radius:18px;overflow:hidden}.lines-table th{background:#f8faff}.lines-table th:nth-child(n+3),.lines-table td:nth-child(n+3){text-align:right}.lines-table td:last-child{font-weight:700;letter-spacing:-.02em}.pay-progress{margin:14px 0 6px}.pay-progress-track{position:relative;height:10px;overflow:hidden;border-radius:999px;background:var(--bg-soft)}.pay-progress-fill,.pay-progress-draft{position:absolute;top:0;bottom:0;border-radius:999px}.pay-progress-fill{left:0;background:linear-gradient(90deg,var(--success),#34d399);transition:width .6s var(--ease-out)}.pay-progress-draft{background:repeating-linear-gradient(45deg,#1570ef8c,#1570ef8c 6px,#1570ef4d 6px,#1570ef4d 12px)}.pay-progress-legend{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:.84rem;color:var(--text-muted)}.pay-progress-legend strong{color:var(--ink);font-variant-numeric:tabular-nums}.totals-box-wide .totals-row.remaining{margin-top:6px;padding:12px 14px;border-radius:12px;background:var(--blue-bg);color:var(--blue-dark);font-size:1.05rem;font-weight:700}@media(max-width:900px){.doc-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-fact-wide{grid-column:1 / -1}}.input-suffix{position:relative}.input-suffix input{padding-right:64px}.input-suffix span{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:.82rem;color:var(--text-muted);pointer-events:none}.avail-example{margin:0;padding:12px 16px;border-radius:12px;background:#f8faff;font-size:.88rem;color:var(--text-muted)}.avail-example strong{color:var(--ink);font-variant-numeric:tabular-nums}.avail-week{display:flex;flex-direction:column;gap:8px}.avail-scale{display:grid;grid-template-columns:160px minmax(0,1fr);padding:0 14px}.avail-scale{display:flex;justify-content:space-between;padding-left:174px;font-family:var(--mono);font-size:.66rem;color:var(--text-dim)}.avail-day{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:start;gap:14px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:#fff;transition:border-color .2s,background .2s}.avail-day:not(.is-open){background:#fafbfe}.avail-day.is-open{border-color:#1570ef40}.avail-day-head{display:flex;align-items:center;gap:12px;min-height:40px}.avail-day-name{font-weight:700;letter-spacing:-.01em}.avail-day:not(.is-open) .avail-day-name{color:var(--text-dim);font-weight:600}.switch{position:relative;flex-shrink:0;width:40px;height:24px;border-radius:999px;background:#0a14332e;transition:background .25s}.switch span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0411364d;transition:transform .3s var(--ease-out)}.switch[aria-checked=true]{background:var(--blue)}.switch[aria-checked=true] span{transform:translate(16px)}.avail-day-body{display:flex;flex-direction:column;gap:10px;min-width:0}.avail-closed{display:flex;align-items:center;min-height:40px;color:var(--text-dim);font-size:.9rem}.avail-ranges{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.avail-range{display:inline-flex;align-items:center;gap:8px}.avail-range input[type=time]{width:112px;min-height:40px;padding:6px 10px;border:1px solid rgba(10,20,51,.12);border-radius:var(--radius);background:#f8faff;font-weight:600;font-variant-numeric:tabular-nums}.avail-range input[type=time]:focus{border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px #1570ef24;outline:none}.avail-bar{position:relative;height:8px;border-radius:999px;background:var(--bg-soft)}.avail-bar span{position:absolute;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--electric))}.avail-blackout-add{display:flex;gap:10px;flex-wrap:wrap}.avail-blackout-add input[type=date]{min-height:44px;padding:8px 14px;border:1px solid rgba(10,20,51,.12);border-radius:var(--radius);background:#f8faff}.avail-blackouts{display:flex;flex-wrap:wrap;gap:8px}.avail-blackout{display:inline-flex;align-items:center;gap:8px;padding:6px 6px 6px 14px;border-radius:999px;background:var(--danger-soft);color:var(--danger);font-size:.86rem;font-weight:600}.avail-blackout button{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:.7rem;color:inherit}.avail-blackout button:hover{background:#c9424a26}.avail-none{margin:0;font-size:.88rem}@media(max-width:760px){.avail-scale{display:none}.avail-day{grid-template-columns:minmax(0,1fr);gap:8px}.avail-range input[type=time]{width:104px}}.toast-stack{position:fixed;left:50%;bottom:22px;z-index:400;display:flex;flex-direction:column;align-items:center;gap:10px;width:min(460px,calc(100vw - 28px));transform:translate(-50%);pointer-events:none}.toast{display:flex;align-items:center;gap:12px;width:100%;padding:12px 12px 12px 14px;border-radius:16px;background:var(--ink);color:#fff;box-shadow:var(--shadow-lift);font-size:.92rem;font-weight:500;line-height:1.4;pointer-events:auto;animation:toast-in .45s var(--ease-out) both}@keyframes toast-in{0%{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}.toast-icon{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--blue);font-size:.8rem;font-weight:700}.toast-success .toast-icon{background:#1a9d62}.toast-error .toast-icon{background:var(--danger)}.toast-text{flex:1;min-width:0;overflow-wrap:anywhere}.toast-close{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;color:#fff9}.toast-close:hover{background:#ffffff1f;color:#fff}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:20px;background:#020a228c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:dialog-fade .25s ease both}@keyframes dialog-fade{0%{opacity:0}}.dialog{width:min(440px,100%);padding:26px 26px 22px;border-radius:var(--radius-xl);background:#fff;box-shadow:var(--shadow-lift);animation:dialog-pop .4s var(--ease-out) both}@keyframes dialog-pop{0%{opacity:0;transform:translateY(12px) scale(.96)}}.dialog-head{display:flex;align-items:center;gap:14px}.dialog-head h2{margin:0;font-size:1.2rem;font-weight:700;letter-spacing:-.03em}.dialog-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:14px;background:var(--blue-bg);color:var(--blue);font-size:1.1rem;font-weight:700}.dialog-success .dialog-icon{background:var(--success-soft);color:var(--success)}.dialog-error .dialog-icon,.dialog-danger .dialog-icon{background:var(--danger-soft);color:var(--danger)}.dialog-message{margin:14px 0 0;max-height:46vh;overflow-y:auto;white-space:pre-wrap;color:var(--text-muted);font-size:.97rem;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.btn-danger-solid{background:var(--danger);color:#fff;box-shadow:0 14px 30px -14px #c9424abf}.btn-danger-solid:not(:disabled):hover{background:#b13a42;transform:translateY(-1px)}@media(max-width:640px){.toast-stack{bottom:14px}.dialog-backdrop{align-items:flex-end;padding:12px}.dialog-actions .btn{flex:1}}.doc-fact-full{grid-column:1 / -1}.doc-fact-small{font-size:.9rem!important;font-weight:500!important}.doc-fact dd a{color:var(--blue);font-weight:600;overflow-wrap:anywhere}.booking-notes{padding:20px 22px;border:1px solid var(--border);border-radius:18px;background:#f8faff}.booking-notes h3{margin:0 0 8px;font-size:.95rem;font-weight:700;letter-spacing:-.01em}.booking-notes p{margin:0;white-space:pre-wrap;line-height:1.6}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.product-card{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);transition:transform .4s var(--ease-out),box-shadow .4s var(--ease-out),border-color .2s}.product-grid .product-card:hover{transform:translateY(-3px);border-color:#1570ef4d;box-shadow:var(--shadow-lift)}.product-card.is-inactive{background:#fafbfe}.product-card.is-inactive h3,.product-card.is-inactive .product-price strong{color:var(--text-dim)}.product-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-category{padding:4px 12px;border-radius:999px;background:var(--blue-bg);color:var(--blue-dark);font-size:.76rem;font-weight:600}.product-card h3{margin:6px 0 0;font-size:1.15rem;font-weight:700;letter-spacing:-.03em;line-height:1.25}.product-desc{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;color:var(--text-muted);font-size:.88rem;line-height:1.45}.product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 8px;margin-top:8px}.product-price strong{font-size:1.65rem;font-weight:700;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.product-price span{color:var(--text-muted);font-size:.84rem}.product-ttc{font-size:.84rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.product-ttc span{color:var(--text-dim)}.product-card-actions{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:14px}.product-card-actions .btn-primary,.product-card-actions .btn-secondary{flex:1}.product-delete{color:var(--text-dim)}.product-delete:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.product-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.product-form-main{display:flex;flex-direction:column;gap:16px;min-width:0}.product-preview{position:sticky;top:calc(var(--modal-header-h, 96px) + 16px)}.product-preview .product-card{margin-top:8px}.segmented{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid rgba(10,20,51,.1);border-radius:14px;background:#fff}.segmented button{padding:8px 14px;border-radius:10px;color:var(--text-muted);font-size:.86rem;font-weight:600;transition:background .2s,color .2s}.segmented button:hover:not(.is-on){color:var(--blue)}.segmented button.is-on{background:var(--blue);color:#fff;box-shadow:var(--shadow-glow)}.vat-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.vat-presets .filter-chip{padding:4px 12px;font-size:.78rem}.switch-row{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:600}@media(max-width:900px){.product-form-layout{grid-template-columns:minmax(0,1fr)}.product-preview{position:static;order:-1}}@media(max-width:640px){.product-grid{grid-template-columns:minmax(0,1fr)}.product-card-actions .btn{min-height:44px}}.files-page .page-header{align-items:center}.files-breadcrumb{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px;margin:0 0 18px;padding:6px 8px;border:1px solid var(--border);border-radius:999px;background:#fff;box-shadow:var(--shadow-soft);font-size:.9rem}.files-breadcrumb-link{padding:5px 12px;border-radius:999px;color:var(--text-muted);font-weight:600;text-decoration:none!important;transition:background .2s,color .2s}.files-breadcrumb-link:hover{background:var(--blue-bg);color:var(--blue)}.files-breadcrumb-current{padding:5px 12px;border-radius:999px;background:var(--blue-bg);color:var(--blue-dark);font-weight:700}.files-breadcrumb-sep{margin:0;opacity:.35}.files-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-bottom:14px}.files-toolbar .search-bar{flex:1 1 280px;max-width:420px;margin:0}.files-stats{flex:1;font-size:.86rem;color:var(--text-muted);white-space:nowrap}.files-drop-hint{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:11px 16px;border:1.5px dashed rgba(21,112,239,.3);border-radius:14px;background:#1570ef09;color:var(--text-muted);font-size:.84rem}.files-drop-hint svg{flex-shrink:0;color:var(--blue)}.files-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.files-card{border-radius:20px;background:#fff;box-shadow:var(--shadow-soft);transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),border-color .2s}.files-card:hover{transform:translateY(-3px);border-color:#1570ef4d;box-shadow:var(--shadow-lift)}.files-card-selected{border-color:var(--blue);box-shadow:0 0 0 3px #1570ef38,var(--shadow-soft);background:#f4f8ff}.files-card-main{gap:10px;padding:14px}.files-card-icon{height:112px;border-radius:14px;background:linear-gradient(145deg,#eaf2ff,#d4e5ff);color:var(--blue)}.files-card-folder .files-card-icon svg{width:38px;height:38px}.files-card-icon-pdf{background:linear-gradient(145deg,#fff1ea,#ffdcca);color:#c2410c}.files-card-thumb{height:112px;border-radius:14px}.files-card-name{font-size:.93rem;font-weight:700;letter-spacing:-.01em}.files-card-meta{display:flex;align-items:center;gap:6px;font-size:.76rem}.files-type{padding:1px 8px;border-radius:999px;background:var(--bg-soft);font-family:var(--mono);font-size:.66rem;color:var(--text-muted)}.files-date{color:var(--text-dim)}.files-grid.is-list{grid-template-columns:minmax(0,1fr);gap:8px}.files-grid.is-list .files-card{border-radius:16px}.files-grid.is-list .files-card:hover{transform:none}.files-grid.is-list .files-card-main{flex-direction:row;align-items:center;gap:14px;padding:10px 16px 10px 10px}.files-grid.is-list .files-card-icon,.files-grid.is-list .files-card-thumb{flex-shrink:0;width:48px;height:48px;border-radius:12px}.files-grid.is-list .files-card-folder .files-card-icon svg{width:22px;height:22px}.files-grid.is-list .files-card-name{flex:1;min-width:0}.files-grid.is-list .files-card-meta{flex-shrink:0;min-width:230px;justify-content:flex-end}.files-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:56px 20px;border:1.5px dashed rgba(21,112,239,.3);border-radius:22px;background:#1570ef08;color:var(--text-muted)}.files-empty svg{color:var(--blue)}.files-empty p{margin:8px 0 0;color:var(--ink);font-size:1.1rem;font-weight:700}.files-ctx-menu{padding:6px;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-lift)}.files-ctx-menu button{border-radius:10px}.files-preview{border-radius:var(--radius-xl);box-shadow:var(--shadow-lift)}@media(max-width:760px){.files-toolbar .search-bar{max-width:none;flex-basis:100%}.files-stats{flex-basis:100%;order:3}.files-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.files-card-icon,.files-card-thumb{height:88px}.files-grid.is-list{grid-template-columns:minmax(0,1fr)}.files-grid.is-list .files-card-meta,.files-drop-hint span{display:none}.files-drop-hint:after{content:"Touchez « Ajouter un fichier » pour importer."}}.login-shell{--mx: 0;--my: 0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:100vh;min-height:100dvh;background:var(--bg)}.login-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:clamp(28px,4vw,56px);overflow:hidden;color:#fff;background:radial-gradient(120% 70% at 88% 0%,rgba(21,112,239,.55),transparent 60%),radial-gradient(80% 60% at 0% 100%,rgba(91,155,255,.22),transparent 65%),linear-gradient(165deg,var(--navy),var(--ink-deep))}.login-brand:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.07) 1px,transparent 0) 0 0 / 26px 26px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 35%,#000 70%,transparent);mask-image:linear-gradient(180deg,transparent,#000 35%,#000 70%,transparent);pointer-events:none}.login-brand>*{position:relative}.login-brand-logo{align-self:flex-start;width:auto;height:46px}.login-brand-copy h2{max-width:15ch;margin:0;font-size:clamp(2rem,1.1rem + 2vw,3.1rem);font-weight:700;line-height:1.06;letter-spacing:-.045em}.login-points{display:grid;gap:12px;margin:26px 0 0;padding:0;list-style:none}.login-points li{display:flex;align-items:center;gap:12px;color:#ffffffc7;font-size:.98rem}.login-points li span{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#5b9bff38;color:var(--electric)}.login-scene{position:relative;min-height:270px}.login-mosaic{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;width:min(100%,400px);transform:translate3d(calc(var(--mx) * -16px),calc(var(--my) * -12px),0);transition:transform .6s var(--ease-out)}.login-mosaic span{aspect-ratio:1;border-radius:8px;background:#ffffff0b}.login-mosaic span.on{background:linear-gradient(145deg,#7db2ff,#1570ef);box-shadow:0 6px 18px -6px #1570efe6;animation:login-pulse 6s ease-in-out infinite}@keyframes login-pulse{0%,to{opacity:.5}50%{opacity:1}}.login-float{position:absolute;transition:transform .6s var(--ease-out)}.login-float-invoice{top:22px;right:6px;width:240px;padding:16px 18px;border-radius:20px;background:#fff;box-shadow:0 30px 60px -24px #0009;transform:translate3d(calc(var(--mx) * 22px),calc(var(--my) * 16px),0);animation:login-float 7s ease-in-out infinite}.lf-head{display:flex;align-items:center;justify-content:space-between}.lf-title{color:var(--ink);font-size:.86rem;font-weight:700;letter-spacing:-.01em}.lf-check{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--success-soft);color:var(--success)}.lf-lines{display:grid;gap:7px;margin:14px 0 12px}.lf-lines i{display:block;height:8px;border-radius:999px;background:var(--bg-soft)}.lf-total{margin-bottom:12px}.lf-total i{display:block;width:58%;height:16px;border-radius:8px;background:var(--ink);opacity:.88}.lf-bar{height:7px;overflow:hidden;border-radius:999px;background:var(--bg-soft)}.lf-bar i{display:block;width:100%;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--success),#34d399)}.login-float-chip{bottom:8px;left:30px;display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#ffffff1a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transform:translate3d(calc(var(--mx) * 12px),calc(var(--my) * 24px),0);animation:login-float 8.5s ease-in-out infinite reverse}.login-float-chip i{display:block;width:84px;height:8px;border-radius:999px;background:#ffffff59}.lf-dot{width:8px;height:8px;border-radius:50%;background:#fbbf24;box-shadow:0 0 0 4px #fbbf2433}.login-float-mosaic{right:150px;bottom:-14px;display:grid;grid-template-columns:repeat(3,26px);gap:5px;padding:10px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transform:translate3d(calc(var(--mx) * -26px),calc(var(--my) * -18px),0);animation:login-float 9.5s ease-in-out infinite}.login-float-mosaic span{aspect-ratio:1;border-radius:6px;background:#ffffff12}.login-float-mosaic span.on{background:linear-gradient(145deg,#7db2ff,#1570ef);box-shadow:0 5px 14px -5px #1570efe6}@keyframes login-float{0%,to{margin-top:0}50%{margin-top:-12px}}.login-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px 64px;background:radial-gradient(circle at 1px 1px,rgba(10,20,51,.06) 1px,transparent 0) 0 0 / 22px 22px,radial-gradient(55% 45% at 100% 0%,rgba(21,112,239,.12),transparent 70%),var(--bg)}.login-form{display:flex;flex-direction:column;gap:16px;width:min(430px,100%)}.login-form.is-shaking{animation:login-shake .45s ease both}@keyframes login-shake{20%,60%{transform:translate(-8px)}40%,80%{transform:translate(8px)}}.login-hello{margin:0;font-family:var(--mono);font-size:.8rem;color:var(--blue)}.login-form h1{margin:-8px 0 0;font-size:clamp(1.7rem,1.3rem + 1vw,2.2rem);font-weight:700;line-height:1.1;letter-spacing:-.045em}.login-sub{margin:0 0 6px;color:var(--text-muted);line-height:1.55}.login-error{padding:12px 16px;border:1px solid rgba(201,66,74,.25);border-radius:14px;background:var(--danger-soft);color:var(--danger);font-size:.9rem;font-weight:600}.login-field{display:flex;flex-direction:column;gap:8px}.login-field label{font-size:.84rem;font-weight:600;color:var(--slate, #2a3558)}.login-input{position:relative;display:flex;align-items:center}.login-input>svg{position:absolute;left:16px;color:var(--text-dim);pointer-events:none;transition:color .2s}.login-input:focus-within>svg{color:var(--blue)}.login-input input{width:100%;min-height:54px;padding:14px 50px 14px 48px;border:1px solid rgba(10,20,51,.13);border-radius:16px;background:#fff;box-shadow:inset 0 1px 2px #0411360a;font-weight:500;outline:none;transition:border-color .2s,box-shadow .2s}.login-input input::placeholder{color:#a3acc4;font-weight:400}.login-input input:hover:not(:focus){border-color:#1570ef66}.login-input input:focus{border-color:var(--blue);box-shadow:0 0 0 4px #1570ef24}.login-reveal{position:absolute;right:8px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--text-muted);transition:background .2s,color .2s}.login-reveal:hover{background:var(--blue-bg);color:var(--blue)}.login-caps{font-size:.8rem;font-weight:600;color:var(--warning)}.login-remember{margin-top:-2px}.login-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;margin-top:4px;border-radius:999px;background:var(--blue);color:#fff;font-size:1rem;font-weight:700;box-shadow:var(--shadow-glow);transition:background .2s,transform .3s var(--ease-out),box-shadow .3s var(--ease-out),opacity .2s}.login-submit:not(:disabled):hover{background:var(--blue-dark);transform:translateY(-2px)}.login-submit:not(:disabled):active{transform:translateY(0)}.login-submit:disabled{opacity:.55;box-shadow:none;cursor:not-allowed}.login-spinner{width:18px;height:18px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.login-help{margin:4px 0 0;text-align:center;font-size:.84rem;color:var(--text-muted)}.login-footer{position:absolute;bottom:22px;left:0;right:0;text-align:center;font-size:.78rem;color:var(--text-dim)}@media(max-width:960px){.login-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100vh;height:100dvh;min-height:0;overflow:hidden}.login-brand{gap:12px;padding:max(22px,env(safe-area-inset-top)) 24px 54px}.login-brand-logo{height:36px}.login-brand-copy h2{max-width:none;font-size:clamp(1.5rem,1.1rem + 2vw,2rem);line-height:1.1}.login-points{display:none}.login-scene{width:100%;max-width:520px;min-height:0}.login-mosaic{gap:4px;width:100%;opacity:.6;transform:none}.login-mosaic span{border-radius:6px}.login-mosaic span:nth-child(n+31){display:none}.login-float-chip,.login-float-mosaic{display:none}.login-float-invoice{top:-8px;right:0;width:min(180px,50%);padding:10px 12px;border-radius:14px;transform:none}.lf-lines{gap:5px;margin:9px 0 8px}.lf-lines i{height:6px}.lf-total{margin-bottom:8px}.lf-total i{height:12px}.login-panel{z-index:1;justify-content:center;margin-top:-38px;padding:26px 22px 14px;border-radius:32px 32px 0 0;box-shadow:0 -24px 60px -28px #020a228c;overflow-y:auto}.login-form{width:min(470px,100%);gap:14px}.login-footer{position:static;margin-top:18px}}@media(max-width:960px)and (max-height:800px){.login-mosaic span:nth-child(n+21){display:none}.lf-lines i:nth-child(3){display:none}.login-sub{display:none}.login-form{gap:12px}.login-input input{min-height:50px}.login-submit{min-height:52px}}@media(max-width:960px)and (max-height:700px){.login-scene,.login-hello,.login-help{display:none}.login-brand{padding-bottom:46px}.login-footer{margin-top:10px}}@media(max-width:520px){.login-input input{font-size:16px}}@media(prefers-reduced-motion:reduce){.login-mosaic span.on,.login-float-invoice,.login-float-chip,.login-float-mosaic{animation:none}.login-mosaic,.login-float{transform:none!important}}.files-check{position:absolute;top:10px;left:10px;z-index:2;display:none;place-items:center;width:24px;height:24px;border:2px solid rgba(10,20,51,.25);border-radius:8px;background:#fff;color:transparent;transition:background .2s,border-color .2s,color .2s}.files-page-select .files-check{display:grid}.files-card-selected .files-check{border-color:var(--blue);background:var(--blue);color:#fff}.files-page-select .files-card{cursor:pointer}.files-page-select .files-grid.is-list .files-check{position:static;margin-left:12px;flex-shrink:0}.files-page-select .files-grid.is-list .files-card{display:flex;align-items:center}.files-page-select .files-grid.is-list .files-card-main{flex:1}.files-drop-overlay{background:#f4f7fcc7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.files-drop-overlay-inner{display:flex;flex-direction:column;align-items:center;gap:12px;padding:44px 56px;border:2px dashed var(--blue);border-radius:var(--radius-xl);background:#ffffffeb;box-shadow:var(--shadow-lift);color:var(--blue);animation:drop-breathe 1.6s ease-in-out infinite}.files-drop-overlay-inner svg{width:44px;height:44px}.files-drop-overlay-inner strong{color:var(--ink);font-size:1.15rem;letter-spacing:-.02em}@keyframes drop-breathe{50%{transform:scale(1.02);box-shadow:0 0 0 10px #1570ef1a}}.upload-panel{position:fixed;right:24px;bottom:24px;z-index:250;width:min(380px,calc(100vw - 28px));overflow:hidden;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow-lift);animation:toast-in .45s var(--ease-out) both}.upload-panel>header{display:flex;align-items:center;gap:14px;padding:16px 16px 14px 18px}.upload-ring{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:14px;background:var(--blue-bg);color:var(--blue);font-weight:700}.upload-panel:not(.is-active) .upload-ring{background:var(--success-soft);color:var(--success)}.upload-title{flex:1;min-width:0}.upload-title strong{display:block;margin-bottom:8px;font-size:.92rem;letter-spacing:-.01em}.upload-bar{height:7px;overflow:hidden;border-radius:999px;background:var(--bg-soft)}.upload-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--blue),var(--electric));transition:width .5s var(--ease-out)}.upload-panel.is-active .upload-bar i{background:linear-gradient(90deg,#fff0,#ffffff8c,#fff0) 0 0 / 60px 100% no-repeat,linear-gradient(90deg,var(--blue),var(--electric));animation:upload-shimmer 1.3s linear infinite}@keyframes upload-shimmer{0%{background-position:-60px 0,0 0}to{background-position:320px 0,0 0}}.upload-close{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:var(--text-muted);font-size:.85rem}.upload-close:hover{background:var(--bg-soft)}.upload-panel ul{max-height:240px;margin:0;padding:0 8px 8px;overflow-y:auto;list-style:none}.upload-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px}.upload-row.is-uploading{background:#f4f8ff}.upload-file-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:10px;background:var(--bg-soft);color:var(--text-muted)}.upload-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:600}.upload-file-name small{display:block;font-size:.74rem;font-weight:400;color:var(--text-muted)}.upload-row.is-error .upload-file-name small,.upload-row.is-skipped .upload-file-name small{color:var(--danger)}.upload-state{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;font-size:.8rem;font-weight:700;color:var(--text-dim)}.upload-row.is-done .upload-state{background:var(--success-soft);color:var(--success)}.upload-row.is-error .upload-state{background:var(--danger-soft);color:var(--danger)}.upload-spin{width:18px;height:18px;border:2.5px solid rgba(21,112,239,.25);border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite}@media(max-width:640px){.upload-panel{right:14px;bottom:14px}}.files-page-select{padding-bottom:130px}.files-selection-bar{position:fixed;left:50%;bottom:max(22px,env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 24px);padding:8px 10px 8px 14px;border-radius:22px;background:var(--ink);color:#fff;box-shadow:var(--shadow-lift);transform:translate(-50%);animation:sel-in .45s var(--ease-out) both}@keyframes sel-in{0%{opacity:0;transform:translate(-50%,16px)}}.sel-count{display:flex;align-items:center;gap:10px;padding-right:12px;border-right:1px solid rgba(255,255,255,.14);white-space:nowrap}.sel-badge{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--blue);font-size:.82rem;font-weight:700;font-variant-numeric:tabular-nums}.sel-text{font-size:.88rem;font-weight:600}.sel-actions{display:flex;align-items:center;gap:4px}.sel-btn{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:14px;color:#ffffffeb;font-size:.88rem;font-weight:600;white-space:nowrap;transition:background .2s}.sel-btn:hover:not(:disabled){background:#ffffff1f}.sel-btn:disabled{opacity:.5;cursor:not-allowed}.sel-danger{color:#ffb4ba}.sel-danger:hover:not(:disabled){background:#ff5a6433;color:#fff}.sel-tools{display:flex;align-items:center;gap:2px;padding-left:10px;border-left:1px solid rgba(255,255,255,.14)}.sel-link{padding:8px 12px;border-radius:12px;color:#ffffffb3;font-size:.84rem;font-weight:600;white-space:nowrap;transition:background .2s,color .2s}.sel-link:hover{background:#ffffff1a;color:#fff}.sel-close{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#ffffff1a;font-size:.85rem}.sel-close:hover{background:#fff3}@media(max-width:760px){.files-selection-bar{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"count tools" "actions actions";gap:10px 8px;width:auto;max-width:none;padding:12px;transform:none;animation:sel-in-mobile .45s var(--ease-out) both}@keyframes sel-in-mobile{0%{opacity:0;transform:translateY(16px)}}.sel-count{grid-area:count;padding-right:0;border-right:0}.sel-tools{grid-area:tools;padding-left:0;border-left:0}.sel-tools .sel-link:not(:first-child):not(.sel-close){display:none}.sel-actions{grid-area:actions;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}.sel-btn{flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:6px 4px;border-radius:14px;background:#ffffff14;font-size:.74rem}.sel-danger{background:#ff5a6429}.files-page-select{padding-bottom:190px}}.modal-backdrop,.send-drawer-backdrop:not(.is-popout),.files-preview-backdrop{animation:dialog-fade .25s ease both}.modal{animation:dialog-pop .4s var(--ease-out) both}.modal:focus{outline:none}.modal-backdrop,.send-drawer-backdrop:not(.is-popout),.files-preview-backdrop{background:#020a228c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.send-drawer-backdrop:not(.is-popout){padding:12px}.send-drawer:not(.is-popout){height:100%;border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow-lift);overflow:hidden;animation:drawer-in .5s var(--ease-out) both}@keyframes drawer-in{0%{opacity:0;transform:translate(32px)}}.send-drawer-header{padding:18px 22px;background:linear-gradient(135deg,#eef5ff,#fff 70%)}.send-drawer-header h2{font-size:1.25rem;font-weight:700;letter-spacing:-.03em}.send-drawer-header-actions .btn{width:34px;height:34px;padding:0;border-radius:50%}.send-drawer-footer{padding:14px 20px;background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.files-preview{border-radius:var(--radius-xl);animation:dialog-pop .4s var(--ease-out) both}.files-preview-header{padding:16px 22px}.files-ctx-menu{animation:dialog-pop .25s var(--ease-out) both}@media(max-width:760px){.send-drawer-backdrop:not(.is-popout){padding:0;align-items:flex-end}.send-drawer:not(.is-popout){width:100%;height:94dvh;border-radius:var(--radius-xl) var(--radius-xl) 0 0;animation:sheet-up .4s var(--ease-out) both}}@media(prefers-reduced-motion:reduce){.modal,.send-drawer,.files-preview,.files-ctx-menu{animation:none!important}}.modal-backdrop{background:#020a228c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal{border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow-lift)}.modal-header{padding:18px 24px}.modal-header h2{font-size:1.25rem;font-weight:700;letter-spacing:-.03em}.modal-body{padding:22px 24px}.modal-footer{padding:14px 24px}.quote-editor-modal{border:0}@media(max-width:900px){.app-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.topbar{position:sticky;top:10px;z-index:60;display:flex;align-items:center;gap:12px;height:58px;margin:10px 12px 0;padding:0 16px 0 7px;border:1px solid var(--border);border-radius:999px;background:#ffffffdb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow-soft)}.topbar-logo{position:absolute;left:50%;top:50%;height:38px;width:auto;transform:translate(-50%,-50%);pointer-events:none}.topbar-toggle{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;border-radius:50%;background:var(--blue);box-shadow:var(--shadow-glow)}.topbar-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:#fff;transition:transform .35s var(--ease-out),opacity .2s}.menu-open .topbar-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-open .topbar-toggle span:nth-child(2){opacity:0}.menu-open .topbar-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.menu-open .topbar{z-index:100;background:#fff}.sidebar{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;width:100%;height:100dvh;margin:0;padding:90px 22px max(22px,env(safe-area-inset-bottom));border-radius:0;transform:translate(-100%);visibility:hidden;transition:transform .45s var(--ease-out),visibility 0s linear .45s}.sidebar .brand{display:none}.nav-item{padding:12px 18px;font-size:1.05rem}.menu-open .sidebar{transform:none;visibility:visible;transition:transform .45s var(--ease-out),visibility 0s}.main{padding:22px 14px 56px}.page-header{margin-bottom:20px;gap:12px}.page-header h1>svg{padding:8px;border-radius:12px}.modal-body{padding:18px}.modal-header,.modal-footer{padding-left:18px;padding-right:18px}}@media(max-width:640px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px}.stat-icon-badge{margin-bottom:12px}.panel-header,.panel-body{padding-left:16px;padding-right:16px}table.data th,table.data td{padding:12px 14px}.table-wrap{overflow:visible}table.data,table.data tbody{display:block;width:100%}table.data thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}table.data tbody tr{display:block;padding:6px 0;border-bottom:1px solid var(--border)}table.data tbody tr:last-child{border-bottom:0}table.data td{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:7px 16px;border-bottom:0;text-align:right;overflow-wrap:anywhere}table.data td[data-label]:before{content:attr(data-label);flex:0 0 auto;max-width:42%;font-family:var(--mono);font-size:.68rem;letter-spacing:.04em;text-align:left;color:var(--text-muted)}table.data td:first-child{justify-content:flex-start;text-align:left;font-weight:700;font-size:1rem;letter-spacing:-.02em}table.data td:first-child:before{display:none}table.data td[colspan]{display:table-cell;text-align:center}table.data td .row-actions{justify-content:flex-end}.header-actions{width:100%}.header-actions .btn{flex:1 1 auto}.modal-backdrop{padding:0;align-items:flex-end}.modal,.modal.wide{width:100%;max-height:94dvh;border-radius:var(--radius-xl) var(--radius-xl) 0 0;animation:sheet-up .4s var(--ease-out) both}.modal-footer{flex-wrap:wrap}.modal-footer .btn{flex:1 1 auto}}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.modal{width:min(960px,100%);max-height:min(92vh,980px);border-radius:32px;background:#fff;box-shadow:0 2px 6px #0411360f,0 44px 110px -34px #020a2299}.modal.wide{width:min(1240px,calc(100vw - 40px))}.modal.modal-sm{width:min(480px,100%)}.modal.modal-md{width:min(680px,100%)}.modal-header,.quote-editor-modal .modal-header{align-items:flex-start;padding:24px 28px 18px;border-bottom:1px solid var(--border);background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow:visible}.modal-header h2{font-size:1.4rem;font-weight:700;letter-spacing:-.04em;line-height:1.15}.modal-subtitle{margin-top:8px;color:var(--text-muted);font-size:.92rem}.modal-close{width:40px;height:40px;background:var(--bg-soft);color:var(--text-muted)}.modal-close:hover{background:var(--blue-bg);color:var(--blue)}.modal-steps{padding:10px 28px;border-bottom:1px solid var(--border);background:#fffffff0}.modal-step{padding:7px 16px 7px 7px}.modal-body{padding:24px 28px 30px;gap:18px}.modal.has-sections .modal-body{background:var(--bg)}.modal-footer{align-items:center;gap:10px;padding:16px 28px;border-top:1px solid var(--border);background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.quote-editor-modal .modal-footer{background:#fffffff0}.quote-editor-section,.quote-editor-section-lines{gap:20px;padding:26px 28px 28px;border:1px solid var(--border);border-radius:26px;background:#fff;box-shadow:var(--shadow-soft)}.quote-editor-section-lines{border-color:#1570ef3d}.quote-editor-section-head{align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--border)}.quote-editor-step{width:38px;height:38px;border:0;border-radius:50%;background:linear-gradient(145deg,#4b97ff,var(--blue));box-shadow:0 8px 18px -8px #1570efd9;color:#fff;font-family:var(--mono);font-size:.82rem;font-weight:400}.quote-editor-section-head h3{font-size:1.18rem;letter-spacing:-.035em}.quote-editor-section-head p{margin-top:3px;font-size:.86rem}.settings-list{display:flex;flex-direction:column}.settings-row{display:grid;grid-template-columns:minmax(180px,250px) minmax(0,1fr);gap:12px 36px;padding:22px 0;border-top:1px solid var(--border)}.settings-row:first-child{padding-top:4px;border-top:0}.settings-row:last-child{padding-bottom:2px}.settings-row-label h4{margin:0;font-size:.98rem;font-weight:700;letter-spacing:-.02em}.settings-row-label p{margin:5px 0 0;font-size:.84rem;line-height:1.5;color:var(--text-muted)}.settings-row-body{min-width:0}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;align-items:end}.settings-fields.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.input-suffix input{padding-right:72px}.input-suffix input[type=number]{-moz-appearance:textfield}.switch-line{display:inline-flex;align-items:center;gap:12px;min-height:46px;font-size:.92rem;font-weight:600;text-align:left}.switch-line:disabled{opacity:.5;cursor:not-allowed}.switch-line[aria-checked=true] .switch{background:var(--blue)}.switch-line[aria-checked=true] .switch span{transform:translate(16px)}.preset-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.preset-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 16px 14px;border:1.5px solid var(--border);border-radius:18px;background:#fff;text-align:left;transition:border-color .2s,background .2s,box-shadow .3s var(--ease-out),transform .3s var(--ease-out)}.preset-tile:hover{border-color:#1570ef66;transform:translateY(-2px)}.preset-tile.is-on{border-color:var(--blue);background:#f4f8ff;box-shadow:0 0 0 3px #1570ef24}.preset-tile strong{font-size:1.02rem;letter-spacing:-.02em;white-space:pre}.preset-tile span{font-size:.8rem;color:var(--text-muted)}.preset-tile em{position:absolute;top:12px;right:12px;padding:2px 9px;border-radius:999px;background:var(--blue);color:#fff;font-size:.66rem;font-style:normal;font-weight:700}.split-bar{display:flex;gap:3px;width:100%;height:8px;margin-bottom:4px}.split-bar .seg{min-width:6px;border-radius:999px}.seg-0{background:var(--blue)}.seg-1{background:#5b9bff}.seg-2{background:#a9c8ff}.seg-3{background:#d4e3ff}.quote-editor-recap-grid{grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:24px;align-items:start}.quote-editor-schedule{display:flex;flex-direction:column;gap:14px;padding:0;border:0;background:transparent}.schedule-list{display:flex;flex-direction:column;gap:10px}.schedule-item{grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px 16px;padding:16px 18px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 1px 2px #0411360a;font-size:.9rem}.schedule-item.is-paid{border-color:#1a7a4c4d;background:#f6fcf9}.schedule-item-main strong{font-size:.98rem;letter-spacing:-.01em}.schedule-pct{padding:4px 12px;border-radius:999px;background:var(--bg-soft);font-family:var(--mono);font-size:.78rem;color:var(--text-muted);white-space:nowrap}.schedule-amount{font-size:1.05rem;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}.schedule-label-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.schedule-label-edit select{flex:0 0 auto;min-width:150px}.schedule-label-edit input{flex:1 1 170px;min-width:0}.schedule-next-action{padding:14px 18px;border:0;border-radius:18px;background:var(--blue-bg)}.quote-editor-progress{margin:0;padding:0 4px;font-size:.86rem}.totals-card{display:flex;flex-direction:column;padding:26px 28px;border-radius:24px;color:#fff;background:radial-gradient(110% 90% at 100% 0%,rgba(21,112,239,.5),transparent 62%),linear-gradient(160deg,var(--navy),var(--ink-deep));box-shadow:var(--shadow-lift)}.totals-card .totals-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;color:#ffffffb3;font-size:.95rem}.totals-card .totals-row span:last-child{color:#fff;font-weight:600;font-variant-numeric:tabular-nums}.totals-card .totals-row.grand{margin-top:10px;padding-top:18px;border-top:1px solid rgba(255,255,255,.16);color:#fff;font-size:1.05rem;font-weight:700}.totals-card .totals-row.grand span:last-child{font-size:1.6rem;font-weight:700;letter-spacing:-.035em}.quote-editor-finance-group,.client-pdf-fields{border-radius:18px}.pdf-fields{background:#fff}.modal-sm .modal-header,.modal-md .modal-header{padding:22px 26px 16px}.modal-sm .modal-body,.modal-md .modal-body{padding:22px 26px 26px}.modal-sm .modal-footer,.modal-md .modal-footer{padding:14px 26px}@media(max-width:900px){.settings-row{grid-template-columns:minmax(0,1fr);padding:20px 0}.quote-editor-recap-grid{grid-template-columns:minmax(0,1fr)}.settings-fields.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.modal,.modal.wide,.modal.modal-sm,.modal.modal-md{width:100%;max-height:95dvh;border-radius:28px 28px 0 0}.modal-header,.quote-editor-modal .modal-header{padding:22px 20px 14px}.modal-header:before{content:"";position:absolute;top:8px;left:50%;width:44px;height:4px;border-radius:4px;background:#0a143329;transform:translate(-50%)}.modal-header{position:sticky}.modal-header h2{font-size:1.2rem}.modal-steps{padding:8px 14px}.modal-body,.modal-sm .modal-body,.modal-md .modal-body{padding:16px 14px 22px;gap:14px}.modal-footer,.modal-sm .modal-footer,.modal-md .modal-footer{flex-wrap:wrap;padding:12px 14px max(12px,env(safe-area-inset-bottom))}.modal-footer .btn{flex:1 1 auto}.quote-editor-section,.quote-editor-section-lines{padding:18px 16px 20px;border-radius:22px}.quote-editor-step{width:34px;height:34px}.settings-fields,.settings-fields.cols-2,.settings-fields.cols-3,.preset-tiles{grid-template-columns:minmax(0,1fr)}.schedule-item{grid-template-columns:minmax(0,1fr) auto}.totals-card{padding:22px 20px}}.preset-tile em{top:auto;right:14px;bottom:14px}.schedule-item{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"main main main" "pct amount badge";align-items:center;gap:12px 14px}.schedule-item>.schedule-item-main{grid-area:main}.schedule-item>.schedule-pct{grid-area:pct}.schedule-item>.schedule-amount{grid-area:amount;justify-self:start}.schedule-item>:last-child{grid-area:badge}.schedule-label-edit .schedule-label-index{flex:0 0 auto;min-width:18px;font-family:var(--mono);font-size:.8rem;color:var(--text-muted)}@media(max-width:640px){.schedule-item{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"main main" "pct amount" "badge badge"}}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{min-height:48px;border:3.5px solid transparent;border-radius:999px;background:var(--ink);background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--blue-dark);background-clip:padding-box}::-webkit-scrollbar-corner{background:transparent}.modal::-webkit-scrollbar-track,.dd-panel::-webkit-scrollbar-track{margin:22px 0}.dd-panel::-webkit-scrollbar-track{margin:8px 0}.modal::-webkit-scrollbar{width:14px}@supports (-moz-appearance: none){*{scrollbar-width:thin;scrollbar-color:var(--ink) transparent}}.field select,select.status-select,.filter-select{cursor:pointer}.dd-panel{position:fixed;z-index:260;display:flex;flex-direction:column;gap:2px;padding:8px;overflow-y:auto;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 2px 6px #0411360f,0 24px 60px -18px #020a2273;animation:dd-in .22s var(--ease-out) both}@keyframes dd-in{0%{opacity:0;transform:translateY(-6px) scale(.98)}}.dd-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:40px;padding:8px 12px;border-radius:12px;color:var(--ink);font-size:.94rem;font-weight:500;text-align:left;transition:background .15s}.dd-option.is-active{background:var(--bg-soft)}.dd-option.is-selected{background:var(--blue-bg);color:var(--blue-dark);font-weight:700}.dd-option:disabled{opacity:.4;cursor:not-allowed}.date-input{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 14px;border:1px solid rgba(10,20,51,.13);border-radius:var(--radius);background:#f8faff;box-shadow:inset 0 1px 2px #0411360a;color:var(--ink);font-weight:500;text-align:left;transition:border-color .2s,box-shadow .2s,background .2s}.date-input svg{flex-shrink:0;color:var(--text-muted)}.date-input .is-placeholder{color:#a3acc4;font-weight:400}.date-input:hover:not(:disabled){border-color:#1570ef66;background:#fff}.date-input:focus-visible,.date-input[aria-expanded=true]{border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px #1570ef24;outline:none}.date-input[aria-expanded=true] svg{color:var(--blue)}.date-input:disabled{background:#eef2f9;color:var(--text-muted);cursor:not-allowed}input[type=date],input[type=time]{accent-color:var(--blue);color-scheme:light}input[type=time]::-webkit-calendar-picker-indicator,input[type=date]::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}.cal-panel{position:fixed;z-index:260;width:304px;padding:16px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 2px 6px #0411360f,0 28px 70px -20px #020a2280;animation:dd-in .22s var(--ease-out) both}.cal-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 12px}.cal-head strong{font-size:1rem;letter-spacing:-.02em}.cal-head>div{display:flex;gap:4px}.cal-nav{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--bg-soft);color:var(--ink);transition:background .2s,color .2s}.cal-nav:hover{background:var(--ink);color:#fff}.cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.cal-week span{padding:6px 0;text-align:center;font-family:var(--mono);font-size:.7rem;color:var(--text-muted)}.cal-day{aspect-ratio:1;border-radius:12px;font-size:.9rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);transition:background .15s,color .15s}.cal-day:hover:not(:disabled):not(.is-selected){background:var(--blue-bg);color:var(--blue-dark)}.cal-day.is-out{color:var(--text-dim);font-weight:500}.cal-day.is-today:not(.is-selected){box-shadow:inset 0 0 0 1.5px var(--blue);color:var(--blue-dark)}.cal-day.is-selected{background:var(--ink);color:#fff;box-shadow:0 8px 18px -8px #0a1433cc}.cal-day:disabled{opacity:.3;cursor:not-allowed}.cal-foot{display:flex;justify-content:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--border)}.cal-foot button{padding:6px 14px;border-radius:999px;color:var(--blue);font-size:.86rem;font-weight:700}.cal-foot button:hover{background:var(--blue-bg)}select:not([multiple]):not(.native-select){-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a1433' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px}select:not([multiple]):not(.native-select):focus{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231570ef' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.line-row select,.schedule-label-edit select{padding-right:36px;background-position:right 12px center}select.status-select{padding-right:30px;background-position:right 10px center;background-size:12px}:is(.field,.line-row,.schedule-label-edit,.presets-table,.send-signature-row,.send-drawer-fields,.settings-row,.avail-range,.avail-blackout-add,.files-modal-form) :is(select:not(.status-select),input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]),textarea){box-sizing:border-box;min-height:46px;padding:10px 14px;border:1px solid rgba(10,20,51,.13);border-radius:var(--radius);background-color:#f8faff;box-shadow:inset 0 1px 2px #0411360a;color:var(--ink);font-family:var(--font);font-size:.95rem;font-weight:500;line-height:1.3;transition:border-color .2s,box-shadow .2s,background-color .2s}:is(.field,.line-row,.schedule-label-edit,.presets-table,.send-signature-row,.send-drawer-fields,.settings-row,.avail-range,.files-modal-form) :is(select:not(.status-select),input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea):hover:not(:disabled):not(:focus){border-color:#1570ef66;background-color:#fff}:is(.field,.line-row,.schedule-label-edit,.presets-table,.send-signature-row,.send-drawer-fields,.settings-row,.avail-range,.files-modal-form) :is(select:not(.status-select),input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea):focus{border-color:var(--blue);background-color:#fff;box-shadow:0 0 0 4px #1570ef24;outline:none}:is(.field,.line-row,.schedule-label-edit,.presets-table,.send-signature-row,.send-drawer-fields,.settings-row,.avail-range,.files-modal-form) :is(select,input,textarea):disabled{background-color:#eef2f9;color:var(--text-muted);cursor:not-allowed;box-shadow:none}:is(.line-row,.schedule-label-edit,.presets-table) select:not(.status-select){padding-right:38px;background-position:right 14px center}.line-row input[type=number]{text-align:right}.schedule-label-edit{align-items:stretch}.schedule-label-edit select{flex:0 0 auto;min-width:160px}.schedule-label-edit input{flex:1 1 200px;min-width:0}.send-signature-row select{flex:1;width:auto}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;font-variant-numeric:tabular-nums}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.input-suffix.has-stepper{position:relative}.input-suffix.has-stepper input{padding-right:118px}.input-suffix.has-stepper .unit{position:absolute;right:74px;top:50%;transform:translateY(-50%);font-size:.82rem;font-weight:600;color:var(--text-muted);pointer-events:none}.stepper{position:absolute;right:8px;top:50%;display:flex;gap:4px;transform:translateY(-50%)}.stepper button{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bg-soft);color:var(--ink);transition:background .2s,color .2s,transform .2s var(--ease-out)}.stepper button:hover:not(:disabled){background:var(--ink);color:#fff}.stepper button:active:not(:disabled){transform:scale(.9)}.stepper button:disabled{opacity:.35;cursor:not-allowed}@media(max-width:640px){.input-suffix.has-stepper input{padding-right:112px}}html input[type=checkbox],html input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:0 0 auto;display:inline-grid;place-content:center;width:22px;height:22px;min-height:0;margin:0;padding:0;border:1.5px solid rgba(10,20,51,.28);background:#fff;box-shadow:none;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}html input[type=checkbox]{border-radius:7px}html input[type=radio]{border-radius:50%}html input[type=checkbox]:after{content:"";width:11px;height:6px;margin-top:-2px;border-left:2.4px solid #fff;border-bottom:2.4px solid #fff;transform:rotate(-45deg) scale(0);transition:transform .2s var(--ease-out)}html input[type=radio]:after{content:"";width:8px;height:8px;border-radius:50%;background:#fff;transform:scale(0);transition:transform .2s var(--ease-out)}html input[type=checkbox]:checked,html input[type=radio]:checked{border-color:var(--blue);background:var(--blue)}html input[type=checkbox]:checked:after{transform:rotate(-45deg) scale(1)}html input[type=radio]:checked:after{transform:scale(1)}html input[type=checkbox]:hover:not(:disabled):not(:checked),html input[type=radio]:hover:not(:disabled):not(:checked){border-color:var(--blue)}html input[type=checkbox]:focus-visible,html input[type=radio]:focus-visible{outline:none;box-shadow:0 0 0 4px #1570ef33}html input[type=checkbox]:disabled,html input[type=radio]:disabled{opacity:.4;cursor:not-allowed}table.data td:first-child:has(>input[type=checkbox]),td.doc-check{width:54px}table.data input[type=checkbox]{width:24px;height:24px}@media(min-width:641px){table.data td.doc-num{white-space:nowrap}}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.settings-stack{display:grid;gap:16px}.settings-row-body .field,.settings-row-body textarea{width:100%}.settings-row-body textarea{min-height:96px;resize:vertical;line-height:1.55}.modal :is(input,select,textarea),.send-drawer :is(input,select,textarea){max-width:100%;min-width:0}.modal .field,.modal .settings-row-body,.modal .settings-fields>*,.modal .schedule-item-main,.modal .schedule-label-edit>*{min-width:0}@media(max-width:640px){.schedule-label-edit{flex-direction:column;align-items:stretch}.schedule-label-edit .schedule-label-index{align-self:flex-start}.schedule-label-edit select,.schedule-label-edit input{flex:1 1 auto;width:100%;min-width:0}.modal-footer .btn{min-width:0}}a.stat-link{text-decoration:none;color:inherit;display:block;cursor:pointer}a.stat-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}a.stat-link:active{transform:translateY(0) scale(.99)}.users-toolbar{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}.users-toolbar .search-bar{position:relative;max-width:420px}.users-toolbar .search-bar input{width:100%;padding-left:40px}.users-toolbar .search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#7d8aa8;pointer-events:none}.filter-bar{display:flex;flex-wrap:wrap;gap:8px}.filter-chip{border:1px solid #dbe3f2;background:#fff;color:var(--ink);border-radius:999px;padding:8px 14px;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s var(--ease-out)}.filter-chip:hover{border-color:var(--blue)}.filter-chip.is-active{background:var(--ink);border-color:var(--ink);color:#fff}.user-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.user-card{background:#fff;border:1px solid #e3e9f5;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:16px;box-shadow:0 1px 2px #0a14330a;transition:box-shadow .25s var(--ease-out),transform .25s var(--ease-out);min-width:0}.user-card:hover{box-shadow:0 12px 30px #0a143314;transform:translateY(-2px)}.user-card.is-inactive{opacity:.72}.user-card-head{display:flex;align-items:center;gap:14px;min-width:0}.user-id{min-width:0;display:flex;flex-direction:column;gap:2px}.user-id strong{font-size:1rem;color:var(--ink);display:flex;align-items:center;gap:8px}.user-id strong em{font-style:normal;font-size:.7rem;font-weight:700;background:var(--blue-bg);color:var(--blue-dark);border-radius:999px;padding:2px 8px}.user-id span{color:#5b6b8c;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{flex:none;width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-weight:700;color:#fff;background:var(--blue);letter-spacing:.02em}.avatar-admin{background:linear-gradient(135deg,#0a1433,#1d3a8a)}.avatar-user{background:linear-gradient(135deg,#1570ef,#53a1ff)}.avatar-viewer{background:linear-gradient(135deg,#64748b,#94a3b8)}.user-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:.8rem;color:#5b6b8c}.role-badge{display:inline-flex;border-radius:999px;padding:4px 11px;font-size:.75rem;font-weight:700;background:var(--blue-bg);color:var(--blue-dark)}.role-badge.role-admin{background:#0a1433;color:#fff}.role-badge.role-viewer{background:#eef1f6;color:#475569}.status-dot{display:inline-flex;align-items:center;gap:6px;font-weight:600}.status-dot:before{content:"";width:8px;height:8px;border-radius:50%;background:#cbd5e1}.status-dot.is-on:before{background:#16a34a}.user-card-actions{display:flex;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #eef2fa}.user-card-actions .btn{flex:1;justify-content:center}.user-delete{color:#b42318}.role-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:24px}.role-legend>div{background:#fff;border:1px dashed #d5def0;border-radius:16px;padding:14px 16px}.role-legend p{margin:8px 0 0;color:#5b6b8c;font-size:.85rem}.password-field{display:flex;gap:8px;position:relative}.password-field input{flex:1;min-width:0;padding-right:46px}.password-btn{position:absolute;right:108px;top:50%;transform:translateY(-50%);border:0;background:none;color:#5b6b8c;cursor:pointer;padding:6px;display:grid}.password-gen{flex:none;border:1px solid #dbe3f2;background:#fff;border-radius:12px;padding:0 14px;font:inherit;font-weight:600;color:var(--ink);cursor:pointer}.password-gen:hover{border-color:var(--blue);color:var(--blue-dark)}.role-tiles{display:grid;gap:10px}.role-tile{text-align:left;border:1.5px solid #dbe3f2;background:#fff;border-radius:14px;padding:12px 14px;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:3px;transition:all .2s var(--ease-out)}.role-tile strong{color:var(--ink)}.role-tile span{color:#5b6b8c;font-size:.82rem}.role-tile:hover{border-color:var(--blue)}.role-tile.is-on{border-color:var(--blue);background:var(--blue-bg);box-shadow:0 0 0 3px #1570ef24}.settings-page{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:start}.settings-nav{position:sticky;top:90px;display:flex;flex-direction:column;gap:2px}.settings-nav a{padding:9px 14px;border-radius:12px;color:#5b6b8c;font-weight:600;font-size:.9rem;text-decoration:none;transition:all .2s var(--ease-out)}.settings-nav a:hover{background:var(--blue-bg);color:var(--blue-dark)}.settings-sections{display:flex;flex-direction:column;gap:18px;min-width:0}.settings-card{background:#fff;border:1px solid #e3e9f5;border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:20px;scroll-margin-top:90px;min-width:0}.settings-card>header h2{margin:0;font-size:1.1rem;color:var(--ink)}.settings-card>header p{margin:4px 0 0;color:#5b6b8c;font-size:.88rem}.settings-card>header.with-action{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-card .settings-list{margin:0}.settings-card :is(select,input:not([type=checkbox]):not([type=radio])){min-height:46px;border-radius:var(--radius);max-width:100%;min-width:0}@media(max-width:860px){.settings-page{grid-template-columns:1fr;gap:14px}.settings-nav{position:static;flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:4px}.settings-nav a{white-space:nowrap;background:#fff;border:1px solid #e3e9f5}}@media(max-width:640px){.settings-card{padding:18px;border-radius:18px}.settings-card>header.with-action{flex-direction:column;align-items:stretch}.password-gen{padding:0 10px}.user-grid{grid-template-columns:1fr}}.login-field .login-input input{padding:14px 50px 14px 48px;background-color:#fff;min-height:54px}.access-matrix{display:flex;flex-direction:column;border:1px solid #e3e9f5;border-radius:16px;overflow:hidden;background:#fff}.access-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #eef2fa;flex-wrap:wrap}.access-name{font-weight:600;color:var(--ink);min-width:110px}.access-levels{display:inline-flex;background:#eef2fa;border-radius:12px;padding:3px;gap:2px;max-width:100%}.access-level{border:0;background:transparent;font:inherit;font-size:.8rem;font-weight:600;color:#5b6b8c;padding:7px 12px;border-radius:9px;cursor:pointer;transition:all .2s var(--ease-out)}.access-level:disabled{opacity:.4;cursor:not-allowed}.access-level.is-on{background:#fff;color:var(--ink);box-shadow:0 1px 4px #0a143324}.access-level.is-on.level-none{color:#b42318}.access-level.is-on.level-write{background:var(--ink);color:#fff}.access-note{margin:0;padding:10px 14px;font-size:.8rem;color:#5b6b8c;background:#f8faff}p.access-note:only-child{border-radius:12px;border:1px dashed #d5def0}.user-access{display:flex;flex-direction:column;gap:3px;font-size:.8rem;color:#5b6b8c}.user-access strong{color:var(--ink);font-size:.85rem}.user-access em{font-style:normal;margin-left:8px;font-size:.68rem;font-weight:700;background:#fff4d6;color:#8a5a00;border-radius:999px;padding:2px 8px}@media(max-width:640px){.access-levels{width:100%}.access-level{flex:1;padding:8px 4px}}.sx-hero{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:26px 28px;margin-bottom:24px;border-radius:28px;color:#fff;background:radial-gradient(120% 140% at 0% 0%,#1d3a8a,#0a1433 60%);box-shadow:0 20px 50px #0a143338;position:relative;overflow:hidden}.sx-hero:after{content:"";position:absolute;right:-60px;top:-80px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(83,161,255,.35),transparent 70%);pointer-events:none}.sx-mono{flex:none;width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:1.4rem;font-weight:700;background:#ffffff1f;border:1px solid rgba(255,255,255,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.sx-hero-text{min-width:0;flex:1 1 240px}.sx-hero-text h2{margin:0;font-size:1.5rem;color:#fff}.sx-hero-text p{margin:4px 0 0;color:#ffffffb8;font-size:.92rem}.sx-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px;position:relative;z-index:1}.sx-facts li{background:#ffffff1a;border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:10px 14px;display:flex;flex-direction:column;gap:2px;min-width:96px}.sx-facts span{font-size:.7rem;color:#fff9}.sx-facts strong{font-size:.92rem;font-family:var(--mono, "JetBrains Mono", monospace);font-weight:600}.sx-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;align-items:start}.sx-nav{position:sticky;top:90px;display:flex;flex-direction:column;gap:4px}.sx-nav a{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:14px;color:#5b6b8c;font-weight:600;font-size:.92rem;text-decoration:none;transition:all .2s var(--ease-out)}.sx-nav a:hover{background:#fff;color:var(--ink)}.sx-nav a.is-active{background:var(--ink);color:#fff;box-shadow:0 8px 20px #0a143333}.sx-sections{display:flex;flex-direction:column;gap:20px;min-width:0;padding-bottom:90px}.sx-card{background:#fff;border:1px solid #e3e9f5;border-radius:26px;padding:28px;display:flex;flex-direction:column;gap:20px;scroll-margin-top:90px;min-width:0;box-shadow:0 1px 2px #0a14330a,0 12px 32px #0a14330a}.sx-head{display:flex;align-items:center;gap:16px}.sx-head>div{flex:1;min-width:0}.sx-head h2{margin:0;font-size:1.15rem;color:var(--ink)}.sx-head p{margin:3px 0 0;font-size:.88rem;color:#5b6b8c}.sx-icon{flex:none;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:var(--blue-bg);color:var(--blue)}.sx-sub{font-size:.78rem;font-weight:700;color:#5b6b8c;margin-bottom:-8px}.sx-split{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.sx-doc{position:sticky;top:100px;display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid #e3e9f5;border-radius:16px;padding:20px;box-shadow:0 18px 40px #0a14331a;transform:rotate(1deg);font-size:.8rem;color:#3b4a6b;min-width:0;overflow-wrap:anywhere}.sx-doc-tag{font-size:.68rem;font-weight:700;color:var(--blue);margin-bottom:6px}.sx-doc strong{font-size:1rem;color:var(--ink)}.sx-doc em{font-style:normal;color:#5b6b8c}.sx-doc p{margin:8px 0 0;line-height:1.5}.sx-doc-legal{font-family:var(--mono, monospace);font-size:.72rem;color:#7d8aa8}.sx-doc-lines{display:flex;flex-direction:column;gap:6px;margin-top:14px}.sx-doc-lines i{height:7px;border-radius:4px;background:#eef2fa}.sx-doc-lines i:nth-child(2){width:80%}.sx-doc-lines i:nth-child(3){width:55%}.sx-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #e3e9f5;border-radius:16px;background:#f8faff}.sx-toggle strong{display:block;color:var(--ink)}.sx-toggle span{font-size:.82rem;color:#5b6b8c}.sx-numbers{display:flex;flex-wrap:wrap;gap:8px}.sx-numbers span{font-family:var(--mono, monospace);font-size:.8rem;background:#eef2fa;color:var(--ink);border-radius:999px;padding:6px 12px}.sx-chips{display:flex;flex-wrap:wrap;gap:8px}.sx-chip{border:1.5px solid #dbe3f2;background:#fff;border-radius:999px;padding:9px 16px;font:inherit;font-size:.88rem;font-weight:600;color:var(--ink);cursor:pointer;transition:all .2s var(--ease-out)}.sx-chip:hover{border-color:var(--blue)}.sx-chip.is-on{background:var(--ink);border-color:var(--ink);color:#fff}.sx-locked{margin:0;padding:14px 16px;border:1px dashed #d5def0;border-radius:14px;color:#5b6b8c}.sx-savebar{position:fixed;left:50%;bottom:22px;transform:translate(-50%,140%);display:flex;align-items:center;gap:12px;padding:10px 12px 10px 20px;background:var(--ink);color:#fff;border-radius:999px;box-shadow:0 20px 50px #0a143359;z-index:60;transition:transform .35s var(--ease-out);max-width:calc(100vw - 24px)}.sx-savebar.is-visible{transform:translate(-50%)}.sx-savebar span{font-weight:600;font-size:.9rem;white-space:nowrap}.sx-savebar .btn-secondary{background:#ffffff1a;border-color:#fff3;color:#fff}@media(max-width:960px){.sx-split{grid-template-columns:1fr}.sx-doc{position:static;transform:none}}@media(max-width:860px){.sx-layout{grid-template-columns:1fr;gap:14px}.sx-nav{position:sticky;top:60px;z-index:5;flex-direction:row;overflow-x:auto;gap:6px;padding:6px 0;background:var(--bg);scrollbar-width:none}.sx-nav a{white-space:nowrap;background:#fff;border:1px solid #e3e9f5;padding:9px 14px}.sx-nav a.is-active{border-color:var(--ink)}}@media(max-width:640px){.sx-hero{padding:20px;border-radius:22px}.sx-facts li{flex:1 1 40%;min-width:0}.sx-card{padding:20px 16px;border-radius:20px}.sx-head{align-items:flex-start;flex-wrap:wrap}.sx-savebar{width:calc(100vw - 24px);justify-content:space-between;border-radius:22px;padding:10px}.sx-savebar span{display:none}.sx-savebar .btn{flex:1;justify-content:center}}.sx-layout{display:block}.sx-sections{gap:14px;padding-bottom:100px}.sx-card{padding:0;gap:0;border-radius:22px;overflow:hidden;transition:box-shadow .3s var(--ease-out),border-color .3s}.sx-card.is-open{border-color:#c9d8f5;box-shadow:0 1px 2px #0a14330a,0 18px 44px #1570ef1a}.sx-trigger-row{display:flex;align-items:center;gap:12px;padding-right:20px}.sx-trigger{flex:1;min-width:0;display:flex;align-items:center;gap:16px;padding:18px 20px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:inherit}.sx-trigger:hover .sx-icon,.sx-card.is-open .sx-icon{background:var(--blue);color:#fff}.sx-icon{transition:background .25s,color .25s}.sx-trigger-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.sx-trigger-text strong{font-size:1.05rem;color:var(--ink)}.sx-trigger-text em{font-style:normal;font-size:.85rem;color:#5b6b8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sx-card.is-open .sx-trigger-text em{color:#8a97b4}.sx-chevron{flex:none;color:#7d8aa8;transition:transform .3s var(--ease-out)}.sx-card.is-open .sx-chevron{transform:rotate(180deg);color:var(--blue)}.sx-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--ease-out)}.sx-card.is-open .sx-body{grid-template-rows:1fr}.sx-body-inner{overflow:hidden;min-height:0;display:flex;flex-direction:column;gap:20px;padding:0 24px}.sx-card.is-open .sx-body-inner{padding:22px 24px 26px;border-top:1px solid #eef2fa}.sx-card:not(.is-open) .sx-body-inner{visibility:hidden}@media(max-width:640px){.sx-trigger{padding:14px;gap:12px}.sx-card.is-open .sx-body-inner{padding:18px 14px 20px}.sx-trigger-row{padding-right:12px}.sx-trigger-row .btn{padding-inline:12px}}.currency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:0 0 24px}.currency-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:22px 24px;border-radius:26px;background:#fff;border:1px solid #e3e9f5;color:var(--ink);text-decoration:none;overflow:hidden;box-shadow:0 1px 2px #0a14330a,0 14px 36px #0a14330d;transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out)}.currency-card:hover{transform:translateY(-3px);box-shadow:0 22px 50px #0a14331f}.currency-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.currency-card.is-primary{color:#fff;border-color:transparent;background:radial-gradient(120% 140% at 0% 0%,#1d3a8a,#0a1433 62%);box-shadow:0 22px 54px #0a143347}.currency-card.is-primary:after{content:"";position:absolute;right:-50px;top:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(83,161,255,.38),transparent 70%);pointer-events:none}.currency-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative;z-index:1}.currency-badge{font-family:var(--mono, monospace);font-size:.78rem;font-weight:700;letter-spacing:.06em;padding:6px 12px;border-radius:999px;background:#eef2fa;color:var(--ink)}.currency-card.is-primary .currency-badge{background:#ffffff24;border:1px solid rgba(255,255,255,.22);color:#fff}.currency-tag{font-size:.75rem;font-weight:600;color:#ffffffb8}.currency-hero{display:flex;flex-direction:column;gap:2px;position:relative;z-index:1}.currency-hero span{font-size:.82rem;color:#5b6b8c}.currency-hero strong{font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.02em;line-height:1.15;overflow-wrap:anywhere}.currency-card.is-primary .currency-hero span{color:#ffffffad}.currency-progress{height:8px;border-radius:999px;background:#e9eef8;overflow:hidden;position:relative;z-index:1}.currency-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1570ef,#53a1ff);transition:width .6s var(--ease-out)}.currency-card.is-primary .currency-progress{background:#ffffff29}.currency-card.is-primary .currency-progress span{background:linear-gradient(90deg,#53a1ff,#9ad0ff)}.currency-progress-legend{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.76rem;color:#7d8aa8;position:relative;z-index:1;margin-top:-6px}.currency-card.is-primary .currency-progress-legend{color:#fff9}.currency-split{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:1}.currency-split>div{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:16px;background:#f5f8fe;min-width:0}.currency-split span{font-size:.75rem;color:#5b6b8c}.currency-split strong{font-size:.98rem;overflow-wrap:anywhere}.currency-card.is-primary .currency-split>div{background:#ffffff17;border:1px solid rgba(255,255,255,.12)}.currency-card.is-primary .currency-split span{color:#ffffffa3}@media(max-width:480px){.currency-split{grid-template-columns:1fr}.currency-card{padding:18px;border-radius:22px}}.recent-panel{background:#fff;border:1px solid #e3e9f5;border-radius:26px;padding:8px 8px 10px;box-shadow:0 1px 2px #0a14330a,0 14px 36px #0a14330d}.recent-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 12px}.recent-head h2{margin:0;font-size:1.1rem;color:var(--ink)}.recent-head p{margin:3px 0 0;font-size:.82rem;color:#7d8aa8}.recent-all{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--blue-bg);color:var(--blue-dark);font-weight:600;font-size:.85rem;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}.recent-all:hover{background:var(--blue);color:#fff}.recent-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.recent-row{display:flex;align-items:center;gap:16px;padding:14px 16px;border-radius:18px;text-decoration:none;color:inherit;transition:background .2s var(--ease-out),transform .2s var(--ease-out)}.recent-row:hover{background:#f5f8fe;transform:translate(3px)}.recent-row:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}.recent-icon{flex:none;width:46px;height:46px;border-radius:15px;display:grid;place-items:center}.recent-icon.tone-quote{background:var(--blue-bg);color:var(--blue)}.recent-icon.tone-success{background:#e4f7ec;color:#168a4a}.recent-icon.tone-warning{background:#fff1db;color:#b4690e}.recent-icon.tone-danger{background:#fde8e6;color:#b42318}.recent-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.recent-title{color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:baseline;gap:10px}.recent-title b{flex:none;font-family:var(--mono, monospace);font-size:.78rem;font-weight:600;color:#5b6b8c;background:#eef2fa;padding:3px 8px;border-radius:8px}.recent-sub{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.82rem;color:#5b6b8c}.recent-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.recent-side strong{color:var(--ink);font-size:1rem;white-space:nowrap}.recent-side time{font-size:.76rem;color:#8a97b4}@media(max-width:640px){.recent-row{align-items:flex-start;gap:12px;padding:12px}.recent-icon{width:40px;height:40px;border-radius:13px}.recent-title{white-space:normal;flex-direction:column;gap:4px;align-items:flex-start}.recent-row{flex-wrap:wrap}.recent-side{flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding-left:52px}.recent-all span,.recent-head p{display:none}}.audit-days{display:flex;flex-direction:column;gap:22px}.audit-day-title{margin:0 0 10px;font-size:.92rem;color:#5b6b8c;text-transform:capitalize;display:flex;align-items:center;gap:10px}.audit-day-title span{font-size:.72rem;background:#e6ecf8;color:var(--ink);border-radius:999px;padding:2px 9px;font-weight:700}.audit-timeline{list-style:none;margin:0;padding:6px;background:#fff;border:1px solid #e3e9f5;border-radius:22px;box-shadow:0 14px 36px #0a14330a}.audit-item{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;transition:background .2s}.audit-item:hover{background:#f5f8fe}.audit-item+.audit-item{border-top:1px solid #f0f3fa}.audit-dot{flex:none;width:38px;height:38px;border-radius:13px;display:grid;place-items:center}.audit-dot.tone-blue{background:var(--blue-bg);color:var(--blue)}.audit-dot.tone-green{background:#e4f7ec;color:#168a4a}.audit-dot.tone-orange{background:#fff1db;color:#b4690e}.audit-dot.tone-red{background:#fde8e6;color:#b42318}.audit-dot.tone-grey{background:#eef1f6;color:#52627f}.audit-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.audit-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.audit-line strong{color:var(--ink)}.audit-label{color:#5b6b8c;font-size:.9rem;overflow-wrap:anywhere}.audit-chips{display:flex;flex-wrap:wrap;gap:6px}.audit-chips span{font-size:.75rem;color:#52627f;background:#f1f4fa;border-radius:8px;padding:3px 9px;overflow-wrap:anywhere}.audit-who{flex:none;display:flex;align-items:center;gap:10px}.audit-who-text{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}.audit-who-text b{font-size:.84rem;color:var(--ink)}.audit-who-text time{font-size:.75rem;color:#8a97b4}.avatar.avatar-sm{width:32px;height:32px;border-radius:11px;font-size:.72rem;background:linear-gradient(135deg,#1570ef,#53a1ff)}.audit-more{display:flex;justify-content:center;padding:18px}.audit-item{display:grid;grid-template-columns:38px minmax(0,1fr) 200px;align-items:center;gap:14px}.audit-who{width:200px;justify-content:flex-start}.audit-who-text{align-items:flex-start;min-width:0}.audit-who-text b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-days.is-loading{opacity:.55;transition:opacity .2s;pointer-events:none}.audit-filters{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.audit-period{display:flex;flex-wrap:wrap;gap:8px}.audit-range{display:flex;flex-wrap:wrap;gap:12px}.audit-range label{display:flex;flex-direction:column;gap:4px;font-size:.78rem;font-weight:600;color:#5b6b8c;min-width:170px}.pager{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:22px;padding:12px 16px;background:#fff;border:1px solid #e3e9f5;border-radius:18px}.pager-info{font-size:.85rem;color:#5b6b8c;font-weight:600}.pager-pages{display:flex;align-items:center;gap:4px}.pager-btn{min-width:36px;height:36px;padding:0 10px;border:1px solid transparent;border-radius:11px;background:none;font:inherit;font-weight:600;color:var(--ink);cursor:pointer;transition:all .2s var(--ease-out)}.pager-btn:hover:not(:disabled):not(.is-on){background:var(--blue-bg);color:var(--blue-dark)}.pager-btn.is-on{background:var(--ink);color:#fff}.pager-btn:disabled{opacity:.35;cursor:not-allowed}.pager-gap{padding:0 4px;color:#8a97b4}.pager-size{display:flex;align-items:center;gap:8px;font-size:.82rem;color:#5b6b8c}.pager-size select{min-height:36px;padding:4px 28px 4px 10px;border-radius:10px}@media(max-width:640px){.audit-item{grid-template-columns:38px minmax(0,1fr);align-items:start;row-gap:8px}.audit-who{grid-column:2;width:auto}.audit-who-text{flex-direction:row;align-items:baseline;gap:8px}.audit-who-text b{max-width:60vw}.pager{justify-content:center}}.sx-fieldset{border:0;margin:0;min-width:0}.sx-fieldset:disabled{opacity:.85}.sx-fieldset:disabled input,.sx-fieldset:disabled select,.sx-fieldset:disabled textarea{background:#f1f4fa;cursor:not-allowed}@media(max-width:900px){.topbar{background:linear-gradient(120deg,#0a1433,#12296b);border-color:#ffffff1f;box-shadow:0 10px 28px #0a143359;-webkit-backdrop-filter:none;backdrop-filter:none}.menu-open .topbar{background:linear-gradient(120deg,#0a1433,#12296b)}}.user-grid{display:flex;flex-wrap:wrap;gap:16px}.user-card{flex:1 1 320px;max-width:100%;container-type:inline-size}.user-card-actions .btn{white-space:nowrap;flex:1 1 auto;padding-inline:14px}@container (min-width: 620px){.user-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.4fr) auto;grid-template-areas:"head meta actions" "head access actions" "head switch actions";column-gap:28px;row-gap:12px;align-items:center}.user-card>.user-card-head{grid-area:head}.user-card>.user-meta{grid-area:meta}.user-card>.user-access{grid-area:access}.user-card>.switch-line{grid-area:switch;justify-self:start}.user-card>.user-card-actions{grid-area:actions;flex-direction:column;border-top:0;padding-top:0;margin-top:0;padding-left:24px;border-left:1px solid #eef2fa;min-width:180px;align-self:stretch;justify-content:center}}.sig-grid{display:flex;flex-wrap:wrap;gap:16px}.sig-card{flex:1 1 320px;max-width:100%;min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e9f5;border-radius:22px;overflow:hidden;box-shadow:0 1px 2px #0a14330a;transition:box-shadow .25s var(--ease-out),transform .25s var(--ease-out)}.sig-card:hover{box-shadow:0 14px 34px #0a14331a;transform:translateY(-2px)}.sig-card-open{display:flex;flex-direction:column;gap:16px;padding:20px;border:0;background:none;font:inherit;text-align:left;color:inherit;cursor:pointer;flex:1;min-width:0}.sig-card-open:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}.sig-label{align-self:flex-start;font-size:.72rem;font-weight:700;background:var(--blue-bg);color:var(--blue-dark);padding:4px 11px;border-radius:999px}.sig-preview{display:flex;align-items:center;gap:14px;min-width:0}.sig-avatar{flex:none;width:54px;height:54px;border-radius:18px;object-fit:cover}.sig-initials{display:grid;place-items:center;font-weight:700;color:#fff;background:linear-gradient(135deg,#1570ef,#53a1ff)}.sig-who{min-width:0;display:flex;flex-direction:column;gap:2px}.sig-who strong{font-size:1.05rem;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sig-who em{font-style:normal;font-size:.85rem;color:#5b6b8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sig-lines{display:flex;flex-direction:column;gap:4px;padding-top:14px;border-top:1px dashed #dbe3f2;font-size:.82rem;color:#5b6b8c}.sig-lines span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sig-actions{display:flex;gap:8px;padding:14px 20px;border-top:1px solid #eef2fa;background:#fbfcff}.sig-actions .btn{flex:1 1 auto;justify-content:center;white-space:nowrap}.sig-actions .btn-ghost{flex:0 0 auto}.user-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.user-card-actions .btn{width:100%;justify-content:center;min-height:42px;padding-inline:8px;font-size:.86rem}.user-card-actions .btn.user-delete{background:#fff5f4;border:1px solid #f7cfca;color:#b42318;gap:6px}.user-card-actions .btn.user-delete:hover:not(:disabled){background:#b42318;border-color:#b42318;color:#fff}.user-card-actions .btn.user-delete:disabled{opacity:.45}@container (min-width: 620px){.user-card>.user-card-actions{display:flex;flex-direction:column}}.sig-actions{display:grid;grid-template-columns:1fr 1fr 44px;gap:8px}.sig-actions .btn{width:100%;min-height:42px}.sig-actions .btn.product-delete{padding:0;background:#fff5f4;border:1px solid #f7cfca;color:#b42318}.sig-actions .btn.product-delete:hover:not(:disabled){background:#b42318;border-color:#b42318;color:#fff}.cred-body{cursor:default}.cred-head{display:flex;align-items:center;gap:14px;min-width:0}.cred-icon{flex:none;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#eef1f6;color:#52627f}.cred-icon.cat-api_key{background:var(--blue-bg);color:var(--blue)}.cred-icon.cat-login{background:#e4f7ec;color:#168a4a}.cred-title{min-width:0;display:flex;flex-direction:column;gap:5px}.cred-title strong{font-size:1.05rem;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cred-cat{align-self:flex-start;font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:999px;background:#eef1f6;color:#52627f}.cred-cat.cat-api_key{background:var(--blue-bg);color:var(--blue-dark)}.cred-cat.cat-login{background:#e4f7ec;color:#168a4a}.cred-url{font-size:.82rem;color:var(--blue-dark);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cred-url:hover{text-decoration:underline}.cred-fields{display:flex;flex-direction:column;gap:8px}.cred-field{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:14px;background:#f5f8fe;min-width:0}.cred-field>span{font-size:.72rem;font-weight:600;color:#7d8aa8}.cred-field code{font-family:var(--mono, "JetBrains Mono", monospace);font-size:.84rem;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cred-secret{display:flex;align-items:center;gap:6px;min-width:0}.cred-secret code{flex:1;min-width:0}.cred-mini{flex:none;width:30px;height:30px;border-radius:9px;border:0;background:#fff;color:#52627f;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 3px #0a14331f;transition:all .2s}.cred-mini:hover:not(:disabled){background:var(--blue);color:#fff}.cred-notes{margin:0;font-size:.82rem;color:#5b6b8c;overflow-wrap:anywhere}.avail-week{gap:10px}.avail-scale{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;padding:0 18px 0 19px;font-size:.7rem;color:#8a97b4}.avail-scale>span.avail-scale-title{display:block;font-weight:600}.avail-scale-ticks{position:relative;display:block;height:16px;font-family:var(--mono, monospace)}.avail-scale-ticks i{position:absolute;top:0;font-style:normal;transform:translate(-50%);white-space:nowrap}.avail-scale-ticks i:first-child{transform:none}.avail-scale-ticks i:last-child{transform:translate(-100%)}.avail-day{grid-template-columns:190px minmax(0,1fr);gap:16px;padding:16px 18px;border-radius:18px;align-items:start}.avail-day.is-open{border-color:#c9d8f5;box-shadow:0 8px 22px #1570ef12}.avail-day-head{align-items:center}.avail-day-title{display:flex;flex-direction:column;gap:2px;min-width:0}.avail-day-sum{font-size:.76rem;color:#7d8aa8}.avail-day:not(.is-open) .avail-day-sum{color:#a3acc4}.avail-ranges{display:flex;flex-direction:column;align-items:stretch;gap:8px}.avail-range{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 12px;border:1px solid #e3e9f5;border-radius:14px;background:#f8faff}.avail-range.is-invalid{border-color:#f1b8b2;background:#fff6f5}.avail-range-label{font-size:.72rem;font-weight:700;color:#5b6b8c;min-width:52px}.avail-range label{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;font-weight:600;color:#5b6b8c}.avail-range input[type=time]{width:112px;min-height:40px;background:#fff}.avail-range-dur{margin-left:auto;font-size:.78rem;font-weight:700;color:var(--blue-dark);background:var(--blue-bg);border-radius:999px;padding:4px 11px;white-space:nowrap}.avail-range.is-invalid .avail-range-dur{background:#fde8e6;color:#b42318}.avail-range-x{width:30px;height:30px;border-radius:9px;border:0;background:#fff;color:#7d8aa8;cursor:pointer;box-shadow:0 1px 3px #0a14331f}.avail-range-x:hover{background:#b42318;color:#fff}.avail-bar{position:relative;height:10px;border-radius:999px;background:#e9eef8;background-image:linear-gradient(90deg,transparent calc(25% - 1px),rgba(10,20,51,.12) calc(25% - 1px),rgba(10,20,51,.12) 25%,transparent 25%,transparent calc(50% - 1px),rgba(10,20,51,.12) calc(50% - 1px),rgba(10,20,51,.12) 50%,transparent 50%,transparent calc(75% - 1px),rgba(10,20,51,.12) calc(75% - 1px),rgba(10,20,51,.12) 75%,transparent 75%);overflow:hidden}.avail-bar span{position:absolute;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#1570ef,#53a1ff)}.avail-tools{display:flex;flex-wrap:wrap;gap:8px}.avail-chip{border:1px dashed #b9c9ea;background:#fff;color:var(--blue-dark);font:inherit;font-size:.82rem;font-weight:600;padding:8px 14px;border-radius:999px;cursor:pointer;transition:all .2s var(--ease-out)}.avail-chip:hover{border-style:solid;background:var(--blue-bg)}.avail-closed{min-height:40px;display:flex;align-items:center;font-size:.86rem}@media(max-width:760px){.avail-day{grid-template-columns:minmax(0,1fr);padding:14px}.avail-range-dur{margin-left:0}}.cal-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.bk-cal{background:#fff;border:1px solid #e3e9f5;border-radius:26px;padding:20px;box-shadow:0 1px 2px #0a14330a,0 14px 36px #0a14330d;min-width:0}.bk-cal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.bk-cal-nav{display:flex;align-items:center;gap:10px}.bk-cal-nav h2{margin:0;font-size:1.2rem;text-transform:capitalize;min-width:170px;text-align:center;color:var(--ink)}.bk-nav-btn{width:38px;height:38px;border-radius:12px;border:1px solid #dbe3f2;background:#fff;font-size:1.3rem;line-height:1;color:var(--ink);cursor:pointer;transition:all .2s}.bk-nav-btn:hover{background:var(--ink);color:#fff;border-color:var(--ink)}.bk-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.bk-dow{text-align:center;font-size:.74rem;font-weight:700;color:#8a97b4;padding:4px 0 6px;text-transform:capitalize}.bk-cell{position:relative;min-height:112px;padding:8px;border-radius:14px;border:1px solid #eef2fa;background:#fbfcff;cursor:pointer;display:flex;flex-direction:column;gap:6px;min-width:0;transition:border-color .2s,background .2s,box-shadow .2s;outline:none}.bk-cell:hover{border-color:#c9d8f5;background:#fff}.bk-cell:focus-visible{box-shadow:0 0 0 3px #1570ef59}.bk-cell.is-out{opacity:.45}.bk-cell.is-selected{border-color:var(--blue);background:var(--blue-bg);box-shadow:0 0 0 2px #1570ef2e}.bk-num{font-size:.86rem;font-weight:700;color:var(--ink);width:26px;height:26px;display:grid;place-items:center;border-radius:50%}.bk-cell.is-today .bk-num{background:var(--ink);color:#fff}.bk-chips{display:flex;flex-direction:column;gap:3px;min-width:0}.bk-chip{display:flex;align-items:center;gap:5px;width:100%;border:0;border-radius:8px;padding:3px 7px;font:inherit;font-size:.7rem;text-align:left;cursor:pointer;overflow:hidden;white-space:nowrap}.bk-chip span{overflow:hidden;text-overflow:ellipsis}.bk-chip.st-pending{background:#fff1db;color:#8a5a00}.bk-chip.st-confirmed{background:#e4f7ec;color:#11703b}.bk-chip.st-cancelled{background:#eef1f6;color:#7d8aa8;text-decoration:line-through}.bk-more{font-size:.7rem;color:#5b6b8c;font-weight:700;padding-left:4px}.bk-dots{display:none;position:absolute;bottom:6px;left:50%;transform:translate(-50%);gap:3px}.bk-dots i,.bk-legend i{display:inline-block;width:7px;height:7px;border-radius:50%}.bk-dots i.st-pending,.bk-legend i.st-pending{background:#e08a00}.bk-dots i.st-confirmed,.bk-legend i.st-confirmed{background:#168a4a}.bk-dots i.st-cancelled,.bk-legend i.st-cancelled{background:#a3acc4}.bk-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:14px;font-size:.78rem;color:#5b6b8c}.bk-legend span{display:inline-flex;align-items:center;gap:6px}.bk-side{display:flex;flex-direction:column;gap:16px;min-width:0}.bk-panel{background:#fff;border:1px solid #e3e9f5;border-radius:22px;padding:18px}.bk-panel h3{margin:0 0 12px;font-size:1rem;text-transform:capitalize;color:var(--ink);display:flex;align-items:center;gap:8px}.bk-count{font-size:.72rem;background:#fff1db;color:#8a5a00;border-radius:999px;padding:2px 9px}.bk-empty{margin:0;font-size:.86rem}.bk-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.bk-card{border:1px solid #e3e9f5;border-left:4px solid #a3acc4;border-radius:14px;background:#fbfcff;overflow:hidden}.bk-card.st-pending{border-left-color:#e08a00}.bk-card.st-confirmed{border-left-color:#168a4a}.bk-card-main{width:100%;display:flex;align-items:center;gap:12px;padding:12px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:inherit}.bk-card-main:hover{background:#f5f8fe}.bk-time{font-family:var(--mono, monospace);font-weight:700;font-size:.9rem;color:var(--ink)}.bk-who{flex:1;min-width:0;display:flex;flex-direction:column}.bk-who strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.bk-who em{font-style:normal;font-size:.76rem;color:#5b6b8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bk-card-actions{display:flex;gap:8px;padding:0 12px 12px}.bk-card-actions .btn{flex:1;justify-content:center}@media(max-width:1100px){.cal-layout{grid-template-columns:1fr}}@media(max-width:640px){.bk-cal{padding:12px;border-radius:20px}.bk-cell{min-height:54px;padding:4px;align-items:center}.bk-chips{display:none}.bk-dots{display:flex}.bk-grid{gap:3px}.bk-cal-nav h2{min-width:0;font-size:1.05rem}}.bk-panel h3{text-transform:none}.bk-panel:first-child h3{text-transform:capitalize}.bk-cal{padding:24px;background:linear-gradient(180deg,#fff,#fbfdff)}.bk-cal-nav h2{font-size:1.5rem;letter-spacing:-.02em}.bk-grid{gap:8px}.bk-dow{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;padding-bottom:8px}.bk-cell{min-height:124px;padding:10px;border-radius:16px;background:#fff;border:1px solid #e9eef8;box-shadow:0 1px #0a143305;transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out),border-color .2s,background .2s}.bk-cell:nth-child(7n),.bk-cell:nth-child(7n-1){background:#f9fbff}.bk-cell:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0a143314;border-color:#c9d8f5}.bk-cell.is-selected{background:#fff;border-color:var(--blue);box-shadow:0 0 0 3px #1570ef2e,0 12px 28px #1570ef24}.bk-cell.is-today{border-color:var(--ink)}.bk-num{font-size:.9rem}.bk-chips{gap:4px}.bk-chip{position:relative;padding:4px 8px 4px 12px;border-radius:9px;font-size:.72rem;line-height:1.3}.bk-chip:before{content:"";position:absolute;left:4px;top:5px;bottom:5px;width:3px;border-radius:3px;background:currentColor;opacity:.75}.bk-chip b{font-family:var(--mono, monospace);font-weight:600}.bk-chip:hover{filter:brightness(.96)}.bk-more{display:inline-block;font-size:.7rem;font-weight:700;color:var(--blue-dark);background:var(--blue-bg);border-radius:999px;padding:2px 9px;align-self:flex-start}.bk-legend{gap:10px;padding-top:16px;margin-top:18px;border-top:1px solid #eef2fa}.lg-item{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;font-weight:600;font-size:.82rem}.lg-item b{font-weight:700;background:#ffffffbf;border-radius:999px;padding:1px 8px}.lg-item.st-confirmed{background:#e4f7ec;color:#11703b}.lg-item.st-pending{background:#fff1db;color:#8a5a00}.lg-item.st-cancelled{background:#eef1f6;color:#52627f}.bk-chip{display:block;padding:4px 8px 4px 12px}.bk-chip b{display:block;font-size:.7rem}.bk-chip span{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis}.bk-cell{min-height:132px}.bk-cal-head{margin-bottom:14px}.bk-cal-nav{gap:14px}.bk-cal-nav h2{display:flex;align-items:baseline;justify-content:center;gap:10px;min-width:230px;text-transform:none}.bk-month{font-size:1.9rem;font-weight:800;letter-spacing:-.035em;text-transform:capitalize;color:var(--ink);background:linear-gradient(120deg,var(--ink) 30%,var(--blue) 140%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.bk-year{font-size:1.15rem;font-weight:500;color:#8a97b4;font-family:var(--mono, monospace);letter-spacing:-.02em}.bk-nav-btn{width:42px;height:42px;border-radius:50%;box-shadow:0 4px 12px #0a143314}.bk-legend{margin:0 0 18px;padding:0 0 16px;border-top:0;border-bottom:1px solid #eef2fa}.bk-more{padding:2px 10px}@media(max-width:640px){.bk-cal-nav h2{min-width:0;gap:6px}.bk-month{font-size:1.4rem}.bk-year{font-size:.95rem}.bk-legend{gap:6px}.lg-item{padding:6px 10px;font-size:.74rem}}.bk-cal-head{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;margin-bottom:12px}.bk-cal-nav{justify-content:center;width:100%}.bk-cal-nav h2{min-width:0;flex:0 1 auto;justify-content:center}.bk-month{font-size:clamp(1.4rem,3.4vw,2rem)}.bk-cal-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.bk-views{display:inline-flex;padding:4px;gap:2px;background:#eef2fa;border-radius:14px}.bk-view{border:0;background:none;font:inherit;font-size:.86rem;font-weight:600;color:#5b6b8c;padding:8px 18px;border-radius:10px;cursor:pointer;transition:all .2s var(--ease-out)}.bk-view.is-on{background:#fff;color:var(--ink);box-shadow:0 2px 8px #0a143324}.bk-today{border:1px solid #dbe3f2;background:#fff;font:inherit;font-size:.84rem;font-weight:600;color:var(--ink);padding:9px 16px;border-radius:12px;cursor:pointer;transition:all .2s}.bk-today:hover{border-color:var(--blue);color:var(--blue-dark)}.bk-legend{justify-content:center}.tg{border:1px solid #e9eef8;border-radius:18px;background:#fff;overflow:hidden}.tg-scroll{overflow-x:auto}.tg-inner{min-width:calc(60px + var(--cols) * 104px)}.tg-head{display:grid;grid-template-columns:56px repeat(var(--cols),minmax(0,1fr));border-bottom:1px solid #e9eef8;background:#fbfcff;position:sticky;top:0}.tg-dayhead{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border:0;border-left:1px solid #eef2fa;background:none;font:inherit;cursor:pointer;color:#5b6b8c}.tg-dayhead span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.tg-dayhead b{font-size:1.15rem;color:var(--ink);width:34px;height:34px;display:grid;place-items:center;border-radius:50%}.tg-dayhead em{font-style:normal;font-size:.68rem;color:#8a97b4;min-height:1em}.tg-dayhead.is-today b{background:var(--ink);color:#fff}.tg-dayhead.is-selected:not(.is-today) b{background:var(--blue-bg);color:var(--blue-dark)}.tg-dayhead:hover{background:#f5f8fe}.tg-body{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr)}.tg-hours{position:relative}.tg-hours span{position:absolute;right:8px;transform:translateY(-50%);font-family:var(--mono, monospace);font-size:.68rem;color:#8a97b4}.tg-hours span:first-child{transform:none}.tg-cols{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr))}.tg-col{position:relative;border-left:1px solid #eef2fa}.tg-col.is-today{background:#1570ef09}.tg-line{position:absolute;left:0;right:0;height:0;border-top:1px solid #eef2fa}.tg-now{position:absolute;left:0;right:0;height:0;border-top:2px solid #e5484d;z-index:2}.tg-now:before{content:"";position:absolute;left:-4px;top:-5px;width:8px;height:8px;border-radius:50%;background:#e5484d}.tg-ev{position:absolute;z-index:1;margin-left:2px;padding:5px 8px 5px 11px;border:0;border-radius:10px;text-align:left;font:inherit;font-size:.74rem;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;gap:1px;box-shadow:0 2px 8px #0a143314;transition:transform .15s var(--ease-out),box-shadow .15s}.tg-ev:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:currentColor;opacity:.8}.tg-ev:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0a143329;z-index:3}.tg-ev b{font-family:var(--mono, monospace);font-size:.72rem}.tg-ev span{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-ev em{font-style:normal;font-size:.7rem;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-ev.st-pending{background:#fff1db;color:#8a5a00}.tg-ev.st-confirmed{background:#e4f7ec;color:#11703b}.tg-ev.st-cancelled{background:#eef1f6;color:#7d8aa8;text-decoration:line-through}.tg.is-day .tg-inner{min-width:0}.tg.is-day .tg-ev{font-size:.85rem;padding:8px 12px 8px 16px}@media(max-width:640px){.bk-view{padding:7px 14px}.bk-cal-nav{gap:10px}}.bk-panel h3,.bk-panel:first-child h3{text-transform:none}.tg-inner{min-width:calc(56px + var(--cols) * 74px)}@media(max-width:640px){.bk-cell{min-height:54px;padding:4px;border-radius:12px}.bk-chips{display:none}.tg-inner{min-width:calc(56px + var(--cols) * 92px)}}.bk-cal-head{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;text-align:left;margin:0 0 18px}.bk-title{min-width:0}.bk-title h2{margin:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;min-width:0;justify-content:flex-start}.bk-title p{margin:4px 0 0;font-size:.85rem;color:#7d8aa8}.bk-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.bk-stepper{display:inline-flex;align-items:stretch;background:#fff;border:1px solid #dbe3f2;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px #0a14330d}.bk-stepper button{border:0;background:none;font:inherit;color:var(--ink);cursor:pointer;padding:0 14px;height:40px;font-size:1.15rem;line-height:1;transition:background .2s,color .2s}.bk-stepper button+button{border-left:1px solid #e9eef8}.bk-stepper button:hover{background:var(--ink);color:#fff}.bk-stepper .bk-stepper-today{font-size:.84rem;font-weight:600;padding:0 16px}.bk-views{height:42px;align-items:stretch}.bk-view{padding:0 18px;display:inline-flex;align-items:center}.bk-legend{justify-content:flex-start;flex-wrap:wrap;gap:8px 22px;margin:0 0 18px;padding:12px 16px;background:#f8faff;border:1px solid #eef2fa;border-radius:14px}.lg-item,.lg-item.st-confirmed,.lg-item.st-pending,.lg-item.st-cancelled{background:none;padding:0;color:#3b4a6b;font-size:.84rem;font-weight:600;gap:8px}.lg-item b{background:#fff;border:1px solid #e3e9f5;color:var(--ink);padding:1px 9px}@media(max-width:760px){.bk-cal-head{flex-direction:column;align-items:center;text-align:center;gap:14px}.bk-title h2{justify-content:center}.bk-controls{flex-direction:column;width:100%;gap:10px}.bk-stepper{width:100%}.bk-stepper button{flex:0 0 52px}.bk-stepper .bk-stepper-today{flex:1}.bk-views{width:100%}.bk-view{flex:1;justify-content:center}.bk-legend{justify-content:center;gap:8px 16px}}.bk-today-btn{height:42px;padding:0 18px;border-radius:14px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;transition:transform .2s var(--ease-out),box-shadow .2s}.bk-today-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0a143340}.bk-stepper button{width:44px;padding:0}@media(max-width:760px){.bk-controls{flex-direction:row;flex-wrap:wrap;justify-content:center}.bk-today-btn{flex:1 1 auto}.bk-stepper{width:auto;flex:0 0 auto}.bk-stepper button{flex:0 0 48px}.bk-views{flex:1 1 100%;width:100%}}.tg.is-day .tg-ev{flex-direction:row;align-items:center;gap:14px;padding:0 16px 0 18px}.tg.is-day .tg-ev b{font-size:.85rem;flex:none}.tg.is-day .tg-ev span{flex:none;max-width:40%;font-size:.92rem}.tg.is-day .tg-ev em{flex:1;min-width:0;font-size:.8rem;text-align:right}.pay-panel{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid #e3e9f5;border-radius:20px;background:#fff}.pay-head{display:flex;align-items:center;gap:12px}.pay-head>div{flex:1;min-width:0}.pay-head h4{margin:0;font-size:1rem;color:var(--ink)}.pay-head p{margin:2px 0 0;font-size:.84rem;color:#5b6b8c}.pay-icon{flex:none;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#e4f7ec;color:#168a4a}.pay-state{font-size:.74rem;font-weight:700;padding:4px 11px;border-radius:999px;background:#fff1db;color:#8a5a00}.pay-state.is-done{background:#e4f7ec;color:#11703b}.pay-state.is-part{background:var(--blue-bg);color:var(--blue-dark)}.pay-bar{height:8px;border-radius:999px;background:#e9eef8;overflow:hidden}.pay-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#16a34a,#4ade80);transition:width .5s var(--ease-out)}.pay-note{margin:0;font-size:.8rem;color:#5b6b8c;background:#f8faff;border-radius:12px;padding:10px 12px}.pay-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.pay-list li{display:grid;grid-template-columns:92px auto minmax(0,1fr) auto 30px;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid #eef2fa;font-size:.88rem}.pay-list li:first-child{border-top:0}.pay-list time{color:#5b6b8c;font-variant-numeric:tabular-nums}.pay-method{font-size:.74rem;font-weight:700;background:#eef2fa;color:var(--ink);border-radius:999px;padding:3px 10px;white-space:nowrap}.pay-ref{color:#7d8aa8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pay-del{width:30px;height:30px;border-radius:9px;border:0;background:none;color:#a3acc4;cursor:pointer;display:grid;place-items:center}.pay-del:hover{background:#fde8e6;color:#b42318}.pay-empty{margin:0;color:#8a97b4;font-size:.86rem}.pay-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:14px;border-top:1px dashed #dbe3f2}.pay-form .pay-error,.pay-form .pay-submit{grid-column:1 / -1}.pay-amount{position:relative;display:flex}.pay-amount input{flex:1;min-width:0;padding-right:70px}.pay-all{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;border-radius:9px;background:var(--blue-bg);color:var(--blue-dark);font:inherit;font-size:.76rem;font-weight:700;padding:6px 10px;cursor:pointer}.pay-all:hover{background:var(--blue);color:#fff}@media(max-width:640px){.pay-list li{grid-template-columns:1fr auto 30px;row-gap:2px}.pay-list li .pay-ref{grid-column:1 / 2;grid-row:2}.pay-list li time{grid-column:1}.pay-list li .pay-method{grid-column:2;grid-row:1;justify-self:end}.pay-list li strong{grid-column:2;grid-row:2}.pay-list li .pay-del{grid-column:3;grid-row:1 / span 2}.pay-form{grid-template-columns:1fr}}.col-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:20px}.col-tile{display:flex;flex-direction:column;gap:6px;padding:18px 20px;background:#fff;border:1px solid #e3e9f5;border-radius:20px;box-shadow:0 10px 28px #0a14330a}.col-tile span{font-size:.8rem;color:#5b6b8c;font-weight:600}.col-tile strong{font-size:1.35rem;color:var(--ink);letter-spacing:-.02em}.col-tile strong.is-on{color:#168a4a}.col-tile.is-alert{background:#fff6f5;border-color:#f7cfca}.col-tile.is-alert strong{color:#b42318}.col-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px}.col-currency{margin-left:auto;display:inline-flex;gap:6px}.col-body{cursor:default;gap:12px}.col-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.col-late{font-size:.74rem;font-weight:700;padding:4px 11px;border-radius:999px;background:#eef1f6;color:#52627f}.col-late.is-warn{background:#fff1db;color:#8a5a00}.col-late.is-hot{background:#fde8e6;color:#b42318}.col-rule{font-size:.76rem;color:#7d8aa8;font-weight:600}.col-who{display:flex;flex-direction:column;gap:3px}.col-who strong{font-size:1.05rem;color:var(--ink)}.col-who em{font-style:normal;font-size:.84rem;color:#5b6b8c}.col-who a{color:var(--blue-dark);font-weight:600;text-decoration:none}.col-amount{font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--ink)}.col-last{margin:0;font-size:.78rem;color:#8a97b4}.col-actions{grid-template-columns:1fr}.age-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:16px;font-size:.84rem;color:#3b4a6b;font-weight:600}.age-k{display:inline-flex;align-items:center;gap:8px}.age-k i{width:10px;height:10px;border-radius:50%;display:inline-block}.age-k b{color:var(--ink)}.b-current{background:#7dd3a8}.b-d30{background:#ffc857}.b-d60{background:#ff9248}.b-d60p{background:#e5484d}.age-k.b-current,.age-k.b-d30,.age-k.b-d60,.age-k.b-d60p{background:none}.age-k.b-current i{background:#7dd3a8}.age-k.b-d30 i{background:#ffc857}.age-k.b-d60 i{background:#ff9248}.age-k.b-d60p i{background:#e5484d}.age-list{display:flex;flex-direction:column;gap:12px}.age-card{background:#fff;border:1px solid #e3e9f5;border-radius:20px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}.age-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:none;font:inherit;padding:0;text-align:left;cursor:pointer;color:inherit}.age-name{display:flex;flex-direction:column;gap:2px;min-width:0}.age-name strong{font-size:1.02rem;color:var(--ink)}.age-name em{font-style:normal;font-size:.78rem;color:#7d8aa8}.age-total{font-size:1.15rem;font-weight:800;color:var(--ink);white-space:nowrap}.age-bar{display:flex;height:10px;border-radius:999px;overflow:hidden;background:#e9eef8;gap:2px}.age-bar span{display:block}.age-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.age-cols div{padding:8px 10px;border-radius:12px;background:#f8faff}.age-cols div.has{background:#f1f6ff}.age-cols dt{font-size:.7rem;color:#7d8aa8;font-weight:600}.age-cols dd{margin:2px 0 0;font-weight:700;font-size:.88rem;color:var(--ink)}.age-invoices{list-style:none;margin:0;padding:4px 0 0;border-top:1px dashed #dbe3f2;display:flex;flex-direction:column}.age-invoices li{display:grid;grid-template-columns:110px minmax(0,1fr) auto auto;gap:12px;padding:9px 0;align-items:center;font-size:.86rem;border-top:1px solid #f0f3fa}.age-invoices li:first-child{border-top:0}.age-invoices a{font-weight:700;color:var(--blue-dark);text-decoration:none}.age-invoices span{color:#5b6b8c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.age-invoices em{font-style:normal;color:#7d8aa8;font-size:.78rem}.age-invoices em.late{color:#b42318;font-weight:700}.rem-log{list-style:none;margin:0;padding:6px;background:#fff;border:1px solid #e3e9f5;border-radius:22px}.rem-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px;border-top:1px solid #f0f3fa}.rem-item:first-child{border-top:0}.rem-dot{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:var(--blue-bg);color:var(--blue)}.rem-item.st-failed .rem-dot{background:#fde8e6;color:#b42318}.rem-item.st-sent .rem-dot{background:#e4f7ec;color:#168a4a}.rem-main{display:flex;flex-direction:column;gap:3px;min-width:0}.rem-main strong a{color:var(--blue-dark);text-decoration:none}.rem-main>span{font-size:.8rem;color:#7d8aa8}.rem-main details{font-size:.8rem;color:#5b6b8c;margin-top:4px}.rem-main summary{cursor:pointer;color:var(--blue-dark);font-weight:600}.rem-main pre{white-space:pre-wrap;font:inherit;background:#f8faff;border-radius:12px;padding:10px 12px;margin:6px 0 0}.rem-when{display:flex;flex-direction:column;align-items:flex-end;font-size:.78rem;color:#8a97b4}.rem-when b{color:var(--ink)}@media(max-width:640px){.age-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.age-invoices li{grid-template-columns:1fr auto}.age-invoices span{display:none}.col-currency{margin-left:0}}.rp-filters{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.rp-range{margin:0;font-size:.82rem;color:#7d8aa8}.rp-card{background:#fff;border:1px solid #e3e9f5;border-radius:24px;padding:24px;margin-bottom:18px;display:flex;flex-direction:column;gap:18px;box-shadow:0 1px 2px #0a14330a,0 12px 32px #0a14330a}.rp-card header h2{margin:0;font-size:1.1rem;color:var(--ink)}.rp-card header p{margin:4px 0 0;font-size:.86rem;color:#5b6b8c}.rp-head-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.rp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.exp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.exp-card{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;border:1px solid #e3e9f5;border-radius:18px;background:#fbfcff;font:inherit;text-align:left;cursor:pointer;transition:all .2s var(--ease-out)}.exp-card:hover:not(:disabled){border-color:var(--blue);background:#fff;transform:translateY(-2px);box-shadow:0 12px 26px #1570ef1f}.exp-card:disabled{opacity:.5;cursor:not-allowed}.exp-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--blue-bg);color:var(--blue);margin-bottom:6px}.exp-card strong{color:var(--ink)}.exp-card em{font-style:normal;font-size:.76rem;color:#7d8aa8}.col-tile.is-key{background:var(--ink);border-color:var(--ink)}.col-tile.is-key span{color:#ffffffb3}.col-tile.is-key strong{color:#fff}.rate-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.rate-list li{display:flex;align-items:center;gap:16px;padding:12px 14px;background:#f8faff;border-radius:14px;flex-wrap:wrap}.rate-badge{background:var(--ink);color:#fff;font-weight:700;border-radius:999px;padding:3px 12px;font-size:.8rem}.rate-list strong{margin-left:auto;color:var(--ink)}.sales-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.sales-top{display:flex;align-items:baseline;gap:12px}.sales-top strong{text-transform:capitalize;color:var(--ink);flex:1}.sales-top span{font-size:.78rem;color:#7d8aa8}.sales-top b{color:var(--ink)}.sales-bar{height:8px;border-radius:999px;background:#e9eef8;overflow:hidden;margin:6px 0}.sales-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1570ef,#53a1ff)}.sales-sub{font-size:.78rem;color:#7d8aa8}.sales-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding-top:14px;border-top:1px dashed #dbe3f2}.sales-total span{flex:1;font-size:.82rem;color:#5b6b8c}.stmt-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid #e9eef8;border-radius:16px;overflow:hidden}.stmt-list li{display:grid;grid-template-columns:90px minmax(0,1fr) auto 120px;gap:12px;align-items:center;padding:11px 14px;font-size:.86rem}.stmt-list li+li{border-top:1px solid #f0f3fa}.stmt-list li span{display:flex;flex-direction:column;min-width:0}.stmt-list li em{font-style:normal;font-size:.76rem;color:#7d8aa8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stmt-list li>b{text-align:right;color:var(--ink)}.stmt-list .debit{color:#b42318}.stmt-list .credit{color:#168a4a}.stmt-close{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-radius:16px;background:var(--ink);color:#fff}.stmt-close strong{font-size:1.3rem}@media(max-width:640px){.rp-card{padding:18px 14px}.stmt-list li{grid-template-columns:1fr auto}.stmt-list li time{grid-column:1;font-size:.74rem;color:#7d8aa8}.stmt-list li>b{grid-column:2;grid-row:1}.stmt-list li strong{grid-column:2;grid-row:2}.stmt-list li span{grid-column:1;grid-row:2}}.col-tile.is-key.is-neg strong{color:#ffb4ae}.exp-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.cat-pill{border:1px solid #dbe3f2;background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:.82rem;font-weight:600;color:var(--ink);cursor:pointer;display:inline-flex;gap:8px;align-items:center;transition:all .2s}.cat-pill b{color:#5b6b8c;font-weight:600}.cat-pill:hover{border-color:var(--blue)}.cat-pill.is-on{background:var(--ink);border-color:var(--ink);color:#fff}.cat-pill.is-on b{color:#ffffffbf}.exp-body{cursor:default;gap:10px}.exp-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.exp-top time{font-size:.78rem;color:#7d8aa8}.exp-cat{font-size:.72rem;font-weight:700;padding:4px 11px;border-radius:999px;background:var(--blue-bg);color:var(--blue-dark)}.exp-supplier{font-size:1.08rem;color:var(--ink)}.exp-desc{margin:0;font-size:.84rem;color:#5b6b8c;overflow-wrap:anywhere}.exp-amount{font-size:1.4rem;font-weight:800;letter-spacing:-.03em;color:var(--ink);display:flex;flex-direction:column}.exp-amount span{font-size:.76rem;font-weight:500;color:#7d8aa8;letter-spacing:0}.exp-file{align-self:flex-start;border:0;background:#e4f7ec;color:#11703b;border-radius:999px;padding:6px 12px;font:inherit;font-size:.78rem;font-weight:600;cursor:pointer;display:inline-flex;gap:6px;align-items:center;max-width:100%;overflow:hidden}.exp-nofile{font-size:.78rem;color:#a3acc4}.exp-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:14px 16px;border-radius:16px;background:var(--ink);color:#fff;margin:14px 0}.exp-total strong{font-size:1.3rem}.exp-total em{font-style:normal;font-size:.8rem;color:#ffffffa6;margin-left:auto}.exp-attached{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:#f1f6ff}.exp-attached span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick-crumbs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}.pick-crumbs button{border:0;background:var(--blue-bg);color:var(--blue-dark);font:inherit;font-size:.8rem;font-weight:600;padding:5px 12px;border-radius:999px;cursor:pointer}.pick-crumbs button:disabled{background:var(--ink);color:#fff;cursor:default}.pick-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.pick-list button{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e3e9f5;border-radius:14px;background:#fff;font:inherit;text-align:left;cursor:pointer;transition:all .2s}.pick-list button:hover{border-color:var(--blue);background:#f5f8fe}.pick-list button span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pick-list em{font-style:normal;font-size:.76rem;color:#7d8aa8}.pick-list .is-file{border-style:dashed}.pick-empty{color:#8a97b4;padding:12px}.pub-shell{min-height:100vh;background:var(--bg);padding:24px 16px 60px;display:flex;flex-direction:column;align-items:center;gap:16px}.pub-toolbar{width:100%;max-width:860px;display:flex;align-items:center;justify-content:space-between;gap:12px}.pub-logo{height:40px;width:auto}.pub-card{width:100%;max-width:860px;background:#fff;border:1px solid #e3e9f5;border-radius:28px;padding:40px;box-shadow:0 24px 60px #0a143314;display:flex;flex-direction:column;gap:28px}.pub-center{align-items:center;text-align:center;padding:60px 24px}.pub-head{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.pub-kind{font-size:.78rem;font-weight:700;color:var(--blue-dark);background:var(--blue-bg);border-radius:999px;padding:4px 12px}.pub-head h1{margin:10px 0 2px;font-size:2rem;letter-spacing:-.03em;color:var(--ink)}.pub-title{margin:0;color:#5b6b8c}.pub-dates{display:flex;gap:24px;margin:0}.pub-dates dt{font-size:.74rem;color:#7d8aa8;font-weight:600}.pub-dates dd{margin:3px 0 0;font-weight:700;color:var(--ink)}.pub-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px;background:#f8faff;border-radius:18px}.pub-parties h2,.pub-block h2,.pub-accept h2{margin:0 0 8px;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#7d8aa8}.pub-accept h2{font-size:1.1rem;text-transform:none;letter-spacing:0;color:var(--ink)}.pub-parties p{margin:3px 0 0;font-size:.88rem;color:#3b4a6b}.pub-muted{color:#8a97b4!important}.pub-desc{margin:0;color:#3b4a6b}.pub-lines{display:flex;flex-direction:column;border:1px solid #e9eef8;border-radius:16px;overflow:hidden}.pub-line{display:grid;grid-template-columns:minmax(0,1fr) 110px 130px 140px;gap:12px;padding:12px 16px;align-items:center;font-size:.9rem}.pub-line+.pub-line{border-top:1px solid #f0f3fa}.pub-line>:nth-child(n+2){text-align:right}.pub-line-head{background:var(--ink);color:#fff;font-size:.76rem;font-weight:600}.pub-line em{font-style:normal;color:#7d8aa8;font-size:.78rem}.pub-totals{margin-left:auto;width:min(100%,360px);display:flex;flex-direction:column;gap:8px}.pub-totals>div{display:flex;justify-content:space-between;gap:12px;font-size:.92rem;color:#3b4a6b}.pub-totals .pub-grand{padding:12px 16px;background:var(--ink);color:#fff;border-radius:14px;font-weight:700;font-size:1.05rem}.pub-block p{margin:0 0 8px;font-size:.88rem;color:#3b4a6b}.pub-sched{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.pub-sched li{display:flex;gap:12px;align-items:center;padding:10px 14px;background:#f8faff;border-radius:12px}.pub-sched li span{flex:1}.pub-sched li em{font-style:normal;color:#7d8aa8;font-size:.82rem}.pub-accept{padding:24px;border:2px solid var(--blue);border-radius:20px;background:var(--blue-bg);display:flex;flex-direction:column;gap:14px}.pub-accept p{margin:0;font-size:.88rem;color:#3b4a6b}.pub-accepted{padding:18px 20px;border-radius:16px;background:#e4f7ec;color:#11703b;display:flex;flex-direction:column;gap:4px}.pub-foot{font-size:.78rem;color:#8a97b4;margin:0}@media(max-width:640px){.pub-card{padding:22px 16px;border-radius:22px}.pub-parties{grid-template-columns:1fr}.pub-line{grid-template-columns:1fr auto}.pub-line>:nth-child(2),.pub-line>:nth-child(3){text-align:left;font-size:.8rem;color:#7d8aa8}.pub-line-head{display:none}}@media print{.pub-toolbar button,.pub-accept,.pub-foot{display:none!important}.pub-shell{background:#fff;padding:0}.pub-card{box-shadow:none;border:0}}.share-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.share-list li{border:1px solid #e3e9f5;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fbfcff}.share-list li.is-off{opacity:.6}.share-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.share-state{font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:999px;background:#eef1f6;color:#52627f}.share-state.is-on{background:#e4f7ec;color:#11703b}.share-meta{font-size:.78rem;color:#7d8aa8}.share-accepted{font-size:.84rem;padding:8px 12px;border-radius:12px;background:#e4f7ec;color:#11703b}.share-url{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.share-url input{flex:1 1 240px;min-width:0;font-family:var(--mono, monospace);font-size:.78rem}.import-drop{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;padding:28px 20px;border:2px dashed #c9d8f5;border-radius:18px;background:#f8faff;cursor:pointer;transition:all .2s}.import-drop:hover{border-color:var(--blue);background:var(--blue-bg)}.import-drop span{font-size:.82rem;color:#5b6b8c}.import-preview{margin-top:12px;padding:14px;border-radius:16px;background:#f8faff}.import-preview p{margin:0 0 8px}.import-preview .warn{color:#8a5a00;font-weight:600}.import-preview ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.import-preview li{display:flex;gap:10px;align-items:baseline;font-size:.86rem}.import-preview li span{color:#7d8aa8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.import-preview .more{color:#8a97b4}.import-result{margin-top:12px;padding:14px 16px;border-radius:16px;background:#e4f7ec;color:#11703b}.import-result p{margin:6px 0 0;font-size:.84rem}.rule-list{display:flex;flex-direction:column;gap:12px}.rule-card{border:1px solid #e3e9f5;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px;background:#fbfcff}.rule-card.is-off{opacity:.6}.rule-head{display:flex;align-items:center;gap:12px}.rule-head input{flex:1;min-width:0;font-weight:700}.rule-when{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.rule-when label{font-size:.8rem;font-weight:600;color:#5b6b8c}.rule-when .input-suffix{width:190px}.rule-when span{font-size:.84rem;color:var(--blue-dark);font-weight:600}.btn.is-disabled{opacity:.6;pointer-events:none}.lines-vat-toggle{display:flex;align-items:center;gap:12px;padding:10px 14px;margin-bottom:10px;border:1px dashed #c9d8f5;border-radius:14px;background:#f8faff}.lines-vat-toggle div{display:flex;flex-direction:column}.lines-vat-toggle strong{color:var(--ink);font-size:.9rem}.lines-vat-toggle span:not(.switch span){font-size:.78rem;color:#5b6b8c}.lines.has-vat .line-row,.lines.has-vat .lines-head{grid-template-columns:56px minmax(160px,1fr) 140px 72px 90px 100px 104px 116px 124px}.line-vat{min-width:0}@media(max-width:1100px){.lines.has-vat .line-row{grid-template-areas:"handle desc desc desc actions" ". cat cat unit unit" ". qty price total total" ". vat vat vat vat"}.line-cell-vat{grid-area:vat}}.rule-head input{min-height:46px;padding:10px 14px;border:1px solid rgba(10,20,51,.13);border-radius:var(--radius);background:#f8faff;font:inherit;font-weight:700;color:var(--ink)}.rule-when .input-suffix{flex:0 0 200px;width:200px}.rule-when .input-suffix input{width:100%;min-width:0}.rule-when>span{flex:1 1 200px}.rule-head .btn{white-space:nowrap}.rule-when{align-items:flex-end}.rule-when .field{flex:0 0 210px}.rule-when .input-suffix{flex:1 1 auto;width:100%}.rule-when>span{padding-bottom:14px}@media(max-width:640px){.col-summary{grid-template-columns:1fr 1fr;gap:10px}.col-tile{padding:14px;border-radius:16px}.col-tile strong{font-size:1.05rem}.rule-head{flex-wrap:wrap}.rule-head input{flex:1 1 100%}.rule-head .switch{margin-left:0}.rule-head .btn{margin-left:auto}.rule-when .field{flex:1 1 100%}.rule-when>span{padding-bottom:0}.stmt-list li>b:before{content:"Solde ";font-weight:500;color:#8a97b4;font-size:.7rem}}
