@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");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:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");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:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");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:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");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:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");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:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");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-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");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-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");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-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");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-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");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-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");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-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");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-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");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-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");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-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJuktqQ4E.woff2) format("woff2");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-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtq.woff2) format("woff2");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{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f3f4f6;--primary-color: #2563eb;--border-color: #e5e7eb}#app{max-width:1000px;height:95vh;margin:20px auto;padding:0 20px;overflow:hidden}.editor-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:none;width:100%;height:100%;max-height:none;display:flex;flex-direction:column;position:relative}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.editor-status-bar{padding:8px 16px;background:#fff;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#64748b;flex-shrink:0;z-index:50}.status-left,.status-right{display:flex;gap:12px;align-items:center}.status-sep{color:#cbd5e1}.status-right{flex-wrap:wrap;justify-content:flex-end}.autosave-status{color:#10b981}.editor-wrapper[dir=rtl]{text-align:right}.editor-wrapper[dir=rtl] .toolbar{flex-direction:row-reverse}.toolbar{padding:6px 8px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:4px;flex-wrap:wrap;align-items:center;position:sticky;top:0;z-index:100}.toolbar button{white-space:nowrap;padding:0;min-width:30px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;cursor:pointer;border-radius:4px;transition:all .15s ease-in-out;color:#374151}.toolbar button svg{width:16px;height:16px;stroke-width:2;stroke:currentColor;fill:none}.toolbar button:hover{background:#f3f4f6;color:#111827}.toolbar button.active{background:#eff6ff;color:#2563eb;border-color:#dbeafe}.toolbar button:disabled{opacity:.4;cursor:default;background:transparent!important;color:#9ca3af!important}.toolbar-separator{width:1px;height:18px;background:#e5e7eb;margin:0 4px;align-self:center}.toolbar-dropdown{position:relative;display:flex;align-items:center}.toolbar-dropdown .dropdown-toggle{width:auto;padding:0 8px;gap:6px;font-size:13px;font-weight:500;color:#374151;justify-content:space-between;min-width:80px}.toolbar-dropdown .dropdown-toggle:after{font-size:.8em;opacity:.6}.dropdown-menu{display:none;position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:200;min-width:180px;flex-direction:column;padding:4px;animation:dropdownPop .1s ease-out}.toolbar-dropdown.active .dropdown-menu{display:flex}@keyframes dropdownPop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{width:100%!important;text-align:left!important;justify-content:flex-start!important;padding:8px 12px!important;height:auto!important;border:none;background:transparent;border-radius:4px;cursor:pointer;font-size:13px;color:#374151}.dropdown-item:hover{background:#f3f4f6!important;color:#111827!important}button[data-payload=h1]{font-size:1.5em;font-weight:700}button[data-payload=h2]{font-size:1.3em;font-weight:700}button[data-payload=h3]{font-size:1.1em;font-weight:600}button[data-payload=paragraph]{font-size:1em}.toolbar-overflow-btn{margin-left:auto}.toolbar-select{height:32px;padding:2px 5px;border:1px solid #ccc;border-radius:3px;background:#fff;font-size:14px;cursor:pointer}.toolbar-select:focus{outline:none;border-color:#007bff}#toolbar-settings-btn{opacity:.6;transition:opacity .2s}#toolbar-settings-btn:hover{opacity:1}.editor-main-area{flex:1;height:auto;overflow-y:auto;overflow-x:hidden;background-color:#fff;scroll-behavior:smooth;position:relative;scrollbar-width:none;-ms-overflow-style:none}.editor-main-area::-webkit-scrollbar{display:none;width:0;height:0}.editor-container{box-sizing:border-box;width:100%;max-width:none;min-height:100%;margin:0;padding:40px;outline:none;overflow-x:hidden;overflow-y:visible;position:relative;color:#334155;line-height:1.8;font-size:16px;background-color:transparent;box-shadow:none;border-radius:0;border:none}.editor-container:hover{box-shadow:0 1px 3px #0000000d,0 8px 24px #0000001a,0 0 0 1px #00000005}@media(max-width:640px){.editor-container{padding:20px 16px}}.editor-container:not([data-source-fidelity=true]) p{margin-bottom:1em}.editor-container:not([data-source-fidelity=true]) h1,.editor-container:not([data-source-fidelity=true]) h2,.editor-container:not([data-source-fidelity=true]) h3{color:#111827;font-weight:600;line-height:1.3}.editor-container:not([data-source-fidelity=true]) h1{font-size:2.25em;margin-top:1.5em;margin-bottom:.8em}.editor-container:not([data-source-fidelity=true]) h2{font-size:1.75em;margin-top:1.4em;margin-bottom:.6em;padding-bottom:.3em;border-bottom:1px solid #f1f5f9}.editor-container:not([data-source-fidelity=true]) h3{font-size:1.4em;margin-top:1.2em;margin-bottom:.5em}.editor-container:not([data-source-fidelity=true]) a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.editor-container[data-source-fidelity=true]{padding:0!important;margin:0!important;min-height:100vh;overflow-x:hidden}.editor-container[data-source-fidelity=true] h1,.editor-container[data-source-fidelity=true] h2,.editor-container[data-source-fidelity=true] h3,.editor-container[data-source-fidelity=true] .logo,.editor-container[data-source-fidelity=true] .hero h1{display:block;width:fit-content;margin-left:auto;margin-right:auto}.editor-container[data-source-fidelity=true] :not(.title-center)>h1,.editor-container[data-source-fidelity=true] :not(.title-center)>h2{margin-left:0;margin-right:0}.editor-container[data-source-fidelity=true] [style*="background-clip: text"]{-webkit-background-clip:text!important;background-clip:text!important;display:inline-block}.editor-container[data-source-fidelity=true] .hero-image,.editor-container[data-source-fidelity=true] [class*=-image]{display:flex!important;align-items:center;justify-content:center}.editor-container i,.editor-container [class*=fa-]{display:inline-block!important;font-style:normal!important;line-height:1;vertical-align:middle;-webkit-background-clip:border-box!important;background-clip:border-box!important}.editor-container .icon-box i,.editor-container .hero-image i{font-size:inherit;color:inherit}.editor-container blockquote{border-left:4px solid #e5e7eb;padding-left:16px;margin-left:0;margin-right:0;font-style:italic;color:#4b5563}.editor-container pre{background:#f8fafc;border-radius:6px;padding:12px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.9em;overflow-x:auto;border:1px solid #e2e8f0}.editor-container code{background:#f1f5f9;padding:2px 4px;border-radius:4px;font-family:JetBrains Mono,Consolas,monospace;font-size:.85em;color:#db2777}.editor-text-bold{font-weight:700}.editor-text-italic{font-style:italic}.editor-text-underline{text-decoration:underline}.editor-text-strikethrough{text-decoration:line-through}.editor-text-undelinestrikethrough{text-decoration:underline line-through}.editor-text-subscript{font-size:.8em;vertical-align:sub!important}.editor-text-superscript{font-size:.8em;vertical-align:super!important}.editor-text-code{background-color:#f1f5f9;padding:1px .25rem;font-family:JetBrains Mono,monospace;font-size:.9em}.editor-container table{width:100%;border-collapse:collapse;margin:1em 0}.editor-container th,.editor-container td{border:1px solid #e2e8f0;padding:8px 12px;text-align:left}.editor-container th{background-color:#f8fafc;font-weight:600}.media-wrapper.focused,.media-wrapper.selected{outline:2px solid #2563eb;outline-offset:2px}.editor-placeholder{color:#9ca3af;position:absolute;top:40px;left:40px;pointer-events:none;font-style:italic}@media(max-width:640px){.editor-placeholder{top:20px;left:16px}}.editor-container img.lazyload{opacity:1!important}.editor-container .row{display:flex;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.editor-container .col-12{width:100%}.editor-container .col-sm-6{width:50%}.editor-container .col-4{width:33.333%}.editor-container .w-100{width:100%!important}.editor-container .img-fluid{max-width:100%;height:auto}.editor-container *{max-width:100%}.editor-container [style*="position: fixed"],.editor-container [style*="position: sticky"],.editor-container nav,.editor-container header{position:absolute!important;inset:0 auto auto 0!important;margin:0!important;z-index:10!important;width:100%!important;transform:none!important;border-radius:0!important}.editor-container .d-block{display:block!important}.image-node-container{display:block;overflow:visible}.image-wrapper{position:relative;margin:20px 0;line-height:normal;display:flex;flex-direction:column;overflow:visible}.image-wrapper.alignment-center{align-items:center;width:fit-content;margin-left:auto;margin-right:auto;overflow:visible}.image-wrapper.alignment-left{float:left;margin-right:20px;overflow:visible}.image-wrapper.alignment-right{float:right;margin-left:20px;overflow:visible}.image-wrapper.alignment-full{width:100%}.image-content{position:relative;display:block;width:fit-content;overflow:visible}.image-content img{display:block;max-width:100%;height:auto;border:1px solid transparent}.image-wrapper:not(.selected):hover .image-content img{border-color:#0782ed}.image-resizer{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1000;display:none!important}.image-wrapper.selected .image-resizer,.image-wrapper[data-selected=true] .image-resizer,.image-node-container.selected .image-resizer,.image-node-container[data-selected=true] .image-resizer{display:block!important}.resizer-handle{position:absolute;width:16px;height:16px;background:#ff9f43;border:2px solid #fff;border-radius:50%;pointer-events:auto;z-index:2000;box-shadow:0 0 10px #0006;cursor:crosshair}.image-wrapper[data-selected=true] .resizer-handle,.image-node-container[data-selected=true] .resizer-handle{animation:handlePulse 1.5s infinite}.resizer-handle:hover{transform:scale(1.4);background:#ff6b6b;animation:none}.handle-nw{top:-8px;left:-8px;cursor:nw-resize}.handle-ne{top:-8px;right:-8px;cursor:ne-resize}.handle-sw{bottom:-8px;left:-8px;cursor:sw-resize}.handle-se{bottom:-8px;right:-8px;cursor:se-resize}.image-wrapper.resizing .image-content img{outline:2px dashed #ff9f43;opacity:.8}.image-wrapper.resizing .resizer-handle{background:#ff6b6b}.image-caption{margin-top:10px;padding:10px 15px;font-size:14px;color:#4b5563;text-align:center;background:#fdfdfd;border:1px dashed #e1e4e8;border-radius:8px;line-height:1.6;outline:none;min-height:20px;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:inset 0 1px 2px #00000005}.image-caption:focus{border:1px solid #0782ed;background:#fff;box-shadow:0 0 0 3px #0782ed1a,inset 0 1px 2px #00000005}.image-caption:empty:before{content:attr(data-placeholder);color:#9ca3af;font-style:italic}.editor-youtube-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%;background:#000;margin:20px 0}.editor-youtube-container iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.editor-html-snippet{display:block;position:relative;border:1px dashed #ced4da;padding:10px;margin:15px 0;background-color:#f8f9fa;border-radius:4px;min-height:20px;overflow:auto;max-width:100%}.editor-html-snippet:hover{border-color:#007bff;background-color:#f1f7ff}.editor-html-snippet.selected{outline:2px solid #007bff}.editor-table{border-collapse:collapse;border-spacing:0;max-width:100%;overflow-y:scroll;table-layout:fixed;width:100%;margin:15px 0}.editor-table-cell{border:1px solid #bbb;padding:8px;min-width:75px;vertical-align:top;text-align:start}.editor-table-cell-header{background-color:#f2f3f5;font-weight:700;border:1px solid #bbb}.editor-table-cell.selected{background-color:#e7f3ff}.image-wrapper[draggable=true]{cursor:move}.image-wrapper.dragging{opacity:.5;transform:scale(.95);transition:all .2s}.image-drop-placeholder{border:2px dashed #667eea;background:#eef2ff;padding:40px;text-align:center;border-radius:12px;margin:16px 0;color:#667eea;font-weight:500;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.link-popover{position:absolute;z-index:10000;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.08);border-radius:12px;box-shadow:0 12px 30px #0000001f,0 4px 8px #0000000a;padding:14px;display:flex;flex-direction:column;gap:12px;width:340px;font-family:Inter,-apple-system,sans-serif;transform-origin:top center;animation:popoverIn .2s cubic-bezier(.16,1,.3,1);border-top:3px solid #0782ed}@keyframes popoverIn{0%{opacity:0;transform:translateY(-8px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.link-popover.hidden{display:none;opacity:0}.link-popover-main{display:flex;align-items:center;gap:10px}.link-popover input[type=text]{flex:1;padding:10px 14px;border:1px solid #e1e4e8;border-radius:8px;font-size:14px;outline:none;transition:all .2s ease;background:#f8f9fa}.link-popover input[type=text]:focus{border-color:#0782ed;background:#fff;box-shadow:0 0 0 3px #0782ed26}.link-popover-footer{font-size:13px;color:#4b5563;display:flex;align-items:center;justify-content:space-between;padding-top:8px;border-top:1px solid #f3f4f6}.link-popover-footer label{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:500}.link-popover-footer input[type=checkbox]{width:16px;height:16px;accent-color:#0782ed}.divider-v{width:1px;height:28px;background:#e5e7eb}.btn-primary-sm{background:linear-gradient(135deg,#0782ed,#0056b3);color:#fff;border:none;padding:10px 18px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s;box-shadow:0 2px 4px #0782ed33}.btn-primary-sm:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0782ed4d}.btn-icon-sm{background:#f3f4f6;border:none;cursor:pointer;font-size:16px;padding:8px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#4b5563;transition:all .2s}.btn-icon-sm:hover{background:#e5e7eb;color:#111827;transform:scale(1.05)}.editor-link{color:#0782ed;text-decoration:none;border-bottom:2px solid rgba(7,130,237,.3);transition:all .2s;font-weight:500}.editor-link:hover{color:#0056b3;border-bottom-color:#0056b3;background:#0782ed0d}.image-popover{position:absolute;z-index:10000;background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.1);border-radius:12px;box-shadow:0 10px 25px #00000026;padding:8px;display:flex;flex-direction:column;gap:8px;width:auto;min-width:280px;font-family:Inter,-apple-system,sans-serif;animation:popoverIn .2s cubic-bezier(.16,1,.3,1)}.image-popover.hidden{display:none}.popover-row{display:flex;gap:6px;align-items:center}.popover-divider{height:1px;background:#eee;margin:4px 0}.image-popover button{background:#f3f4f6;border:1px solid #e1e4e8;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;color:#4b5563}.image-popover button:hover{background:#e5e7eb;color:#111827}.image-popover button.active{background:#0782ed;color:#fff;border-color:#0056b3}.image-popover button.danger{color:#dc2626;border-color:#fca5a5;background:#fff5f5}.image-popover button.danger:hover{background:#fee2e2;color:#dc2626;border-color:#fecaca}.image-popover input[type=text],.image-popover input[type=url]{flex:1;padding:8px 12px;border:1px solid #e1e4e8;border-radius:8px;font-size:13px;outline:none;background:#f9fafb}.image-popover input[type=text]:focus,.image-popover input[type=url]:focus{border-color:#0782ed;background:#fff}.image-tools-panel{position:fixed;inset:0;z-index:5300;display:flex;align-items:center;justify-content:center;padding:24px}.image-tools-panel.hidden{display:none}.image-tools-backdrop{position:absolute;inset:0;background:#0f172a7a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.image-tools-card{position:relative;width:min(860px,100%);max-height:min(88vh,880px);overflow:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:20px;box-shadow:0 30px 80px #0f172a3d;padding:24px;display:grid;gap:18px}.image-tools-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.image-tools-kicker{margin:0 0 4px;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;color:#2563eb}.image-tools-header h3{margin:0;font-size:1.45rem;color:#0f172a}.image-tools-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.image-tools-close{width:36px;height:36px;border:none;border-radius:999px;background:#eff6ff;color:#1d4ed8;cursor:pointer;font-size:1.25rem}.image-tools-preview{position:relative;min-height:180px;border-radius:18px;border:1px solid #dbeafe;background:linear-gradient(180deg,#fff,#f8fafc);display:grid;place-items:center;overflow:hidden}.image-tools-preview img{max-width:100%;max-height:280px;object-fit:contain;border-radius:16px;box-shadow:0 16px 30px #0f172a24}.image-tools-empty{display:grid;place-items:center;min-height:180px;color:#64748b;font-weight:600}.image-tools-grid{display:grid;gap:14px}.image-tools-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-tools-field{display:grid;gap:6px}.image-tools-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#64748b}.image-tools-field input,.image-tools-field select{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font:inherit}.image-tools-field input:focus,.image-tools-field select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.image-tools-check{display:flex;align-items:center;gap:10px;font-weight:600;color:#334155}.image-tools-check input{width:16px;height:16px;accent-color:#2563eb}.image-tools-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.image-tools-button{border:none;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.image-tools-button.secondary{background:#eff6ff;color:#1d4ed8}.image-tools-button.danger{background:#fef2f2;color:#b91c1c}@media(max-width:720px){.image-tools-card{padding:18px}.image-tools-header{flex-direction:column}.image-tools-inline{grid-template-columns:1fr}}.image-url-modal{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10001;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease}.image-url-modal.hidden{display:none}.image-url-modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:500px;padding:0;animation:slideUp .3s cubic-bezier(.16,1,.3,1);overflow:hidden}.image-url-modal-header{padding:24px 24px 16px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.image-url-modal-header h3{margin:0;font-size:20px;font-weight:600;display:flex;align-items:center;gap:10px}.image-url-modal-body{padding:24px}.image-url-input-group{margin-bottom:20px}.image-url-input-group label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.image-url-input-group input{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:10px;font-size:15px;transition:all .2s;outline:none;box-sizing:border-box}.image-url-input-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.image-url-preview{margin-top:16px;padding:16px;background:#f9fafb;border-radius:10px;border:2px dashed #d1d5db;min-height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-url-preview img{max-width:100%;max-height:200px;border-radius:8px;box-shadow:0 4px 12px #0000001a}.image-url-preview-placeholder{color:#9ca3af;font-size:14px;text-align:center}.image-url-modal-footer{padding:16px 24px;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end}.image-url-modal-footer button{padding:10px 24px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none;outline:none}.image-url-modal-footer .btn-cancel{background:#fff;color:#6b7280;border:1px solid #d1d5db}.image-url-modal-footer .btn-cancel:hover{background:#f3f4f6;border-color:#9ca3af}.image-url-modal-footer .btn-insert{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.image-url-modal-footer .btn-insert:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea66}.image-url-modal-footer .btn-insert:disabled{opacity:.5;cursor:not-allowed;transform:none}.unified-image-modal{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10001;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s ease}.unified-image-modal.hidden{display:none}.unified-image-modal-content{background:#fff;border-radius:20px;box-shadow:0 25px 70px #00000059;width:90%;max-width:600px;max-height:85vh;overflow:hidden;animation:slideUp .3s cubic-bezier(.16,1,.3,1)}.unified-image-modal-header{padding:28px 32px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.unified-image-modal-header h2{margin:0 0 8px;font-size:24px;font-weight:600;display:flex;align-items:center;gap:12px}.unified-image-modal-header p{margin:0;opacity:.9;font-size:14px}.unified-image-modal-body{padding:32px;max-height:calc(85vh - 200px);overflow-y:auto}.image-method-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid #e5e7eb;padding-bottom:0}.image-method-tab{padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:14px;font-weight:500;color:#6b7280;transition:all .2s;display:flex;align-items:center;gap:8px}.image-method-tab:hover{color:#374151;background:#f9fafb}.image-method-tab.active{color:#667eea;border-bottom-color:#667eea}.tab-content{display:none}.tab-content.active{display:block;animation:fadeIn .2s ease}.upload-zone{border:3px dashed #d1d5db;border-radius:16px;padding:48px 24px;text-align:center;background:#f9fafb;transition:all .3s;cursor:pointer}.upload-zone:hover,.upload-zone.drag-over{border-color:#667eea;background:#eef2ff}.upload-zone-icon{font-size:64px;margin-bottom:16px;opacity:.6}.upload-zone h3{margin:0 0 8px;font-size:18px;color:#374151}.upload-zone p{margin:0 0 20px;color:#6b7280;font-size:14px}.upload-zone .btn-browse{padding:12px 32px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}.upload-zone .btn-browse:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.url-input-section{margin-bottom:24px}.url-input-section label{display:block;margin-bottom:10px;font-weight:500;color:#374151;font-size:14px}.url-input-section input{width:100%;padding:14px 18px;border:2px solid #e5e7eb;border-radius:12px;font-size:15px;transition:all .2s;outline:none;box-sizing:border-box}.url-input-section input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.url-preview{margin-top:20px;padding:20px;background:#f9fafb;border-radius:12px;border:2px dashed #d1d5db;min-height:150px;display:flex;align-items:center;justify-content:center}.url-preview img{max-width:100%;max-height:250px;border-radius:10px;box-shadow:0 6px 16px #0000001a}.url-preview-placeholder{color:#9ca3af;font-size:14px;text-align:center}.paste-zone{border:3px dashed #d1d5db;border-radius:16px;padding:48px 24px;text-align:center;background:#f9fafb;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center}.paste-zone-icon{font-size:64px;margin-bottom:16px;opacity:.6}.paste-zone h3{margin:0 0 8px;font-size:18px;color:#374151}.paste-zone p{margin:0;color:#6b7280;font-size:14px}.paste-zone.has-image{border-color:#10b981;background:#ecfdf5}.unified-image-modal-footer{padding:20px 32px;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end}.unified-image-modal-footer button{padding:12px 28px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none;outline:none}.unified-image-modal-footer .btn-cancel{background:#fff;color:#6b7280;border:1px solid #d1d5db}.unified-image-modal-footer .btn-cancel:hover{background:#f3f4f6;border-color:#9ca3af}.unified-image-modal-footer .btn-insert{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.unified-image-modal-footer .btn-insert:hover{transform:translateY(-1px);box-shadow:0 6px 16px #667eea66}.unified-image-modal-footer .btn-insert:disabled{opacity:.5;cursor:not-allowed;transform:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.format-painter-active #app{cursor:copy!important}.toolbar button.active{background-color:#f3f4f6;color:#4f46e5}.toolbar button.locked{background-color:#fef3c7;color:#d97706;border-color:#fcd34d}#format-painter-btn.active{animation:pulse-border 2s infinite}@keyframes pulse-border{0%{box-shadow:0 0 #f59e0b66}70%{box-shadow:0 0 0 6px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}.editor-table{border-collapse:collapse;border-spacing:0;width:100%;max-width:100%;margin:24px 0;table-layout:fixed;border:1px solid #c4c4c4;position:relative;caret-color:#333}.editor-table-cell,.editor-table-cell-header{border:1px solid #c4c4c4;padding:10px;min-width:40px;height:40px;vertical-align:top;position:relative;outline:none;transition:background-color .2s}.editor-table-cell-header{background-color:#f8f9fa;font-weight:600}.editor-table-cell.selected,.editor-table-cell-header.selected{background-color:#0782ed26!important;background-image:linear-gradient(#0782ed0d,#0782ed0d);position:relative}.editor-table-cell.selected:after,.editor-table-cell-header.selected:after{content:"";position:absolute;inset:-1px;border:2px solid #0782ed;pointer-events:none;z-index:10}.table-popover{position:absolute;z-index:10000;background:#fff;border:1px solid #ccced1;border-radius:4px;box-shadow:0 4px 12px #00000026;padding:4px;display:flex;gap:4px;animation:tablePopoverIn .15s ease-out}.table-popover.hidden{display:none!important}@keyframes tablePopoverIn{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.table-popover-group{display:flex;align-items:center;gap:2px}.table-popover .divider-v{width:1px;height:20px;background:#e1e4e8;margin:0 4px}.table-popover button{background:transparent;border:none;padding:6px;width:32px;height:32px;border-radius:4px;cursor:pointer;font-size:13px;color:#475569;display:flex;align-items:center;justify-content:center;transition:all .2s}.table-popover button:hover{background:#f1f5f9;color:#0f172a;transform:scale(1.05)}.table-popover button.danger:hover{background:#fef2f2;color:#ef4444}.table-popover button svg{width:18px;height:18px;stroke:currentColor;stroke-width:2}.table-selection-handle{position:absolute;width:10px;height:10px;background:#0782ed;border:1px solid #fff;border-radius:50%;cursor:crosshair;z-index:10}.table-column-resizer{position:absolute;right:-3px;top:0;bottom:0;width:6px;cursor:col-resize;z-index:5;background:transparent}.table-column-resizer:hover,.table-column-resizer.active{background:#0782ed}.table-grid-picker{background:#fff;border:1px solid #ccced1;border-radius:4px;padding:10px;box-shadow:0 4px 12px #00000026;position:absolute;z-index:10001;display:none;width:max-content;min-width:210px}.table-grid-picker.active{display:block}.grid-picker-container{display:grid;gap:2px}.grid-picker-cell{width:18px;height:18px;border:1px solid #eee;background:#f9f9f9;cursor:pointer}.grid-picker-cell.highlighted{background:#0782ed;border-color:#0056b3}.grid-picker-label{text-align:center;margin-top:8px;font-size:12px;color:#666}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#0f172a66;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:5000;opacity:0;visibility:hidden;transition:all .2s ease-in-out}.modal:not(.hidden){opacity:1;visibility:visible}.modal-content{background:#fff;padding:32px;border-radius:16px;width:90%;max-width:500px;max-height:85vh;overflow-y:auto;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f,0 20px 25px -5px #0000001a;transform:scale(.95);transition:transform .2s cubic-bezier(.16,1,.3,1);border:1px solid rgba(255,255,255,.1)}.modal:not(.hidden) .modal-content{transform:scale(1)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #f1f5f9}.modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b;letter-spacing:-.025em}.modal-close-btn{background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:8px;transition:all .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.modal-close-btn:hover{background-color:#f1f5f9;color:#ef4444}.modal-body{color:#475569;font-size:.95rem;line-height:1.5}.toc-config-group{margin-bottom:24px}.toc-config-group label{display:block;margin-bottom:8px;font-weight:500;color:#334155;font-size:.9rem}.modal-body select,.modal-body input[type=text],.modal-body input[type=number]{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background-color:#fff;font-size:.9rem;color:#1e293b;transition:border-color .2s,box-shadow .2s;appearance:none;background-image:none}.modal-body select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px}select:focus,input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.toc-level-inputs{display:flex;gap:16px}.toc-level-inputs label{flex:1}.modal-footer{margin-top:32px;padding-top:20px;border-top:1px solid #f1f5f9;display:flex;justify-content:flex-end;gap:12px}.btn-primary{background:linear-gradient(to bottom right,#3b82f6,#2563eb);color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:500;font-size:.9rem;cursor:pointer;box-shadow:0 2px 4px #2563eb33;transition:all .2s}.btn-primary:hover{box-shadow:0 4px 6px #2563eb4d;transform:translateY(-1px)}.btn-secondary{background:#fff;color:#64748b;border:1px solid #e2e8f0;padding:10px 20px;border-radius:8px;font-weight:500;font-size:.9rem;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}.toast-container{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:12px;z-index:9999;pointer-events:none}.toast{pointer-events:auto;min-width:280px;max-width:400px;background:#fff;border-left:4px solid #3b82f6;padding:16px 20px;border-radius:12px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d,inset 0 0 0 1px #0000000d;display:flex;align-items:flex-start;gap:12px;animation:toastReveal .3s cubic-bezier(.16,1,.3,1);transition:all .2s;position:relative;overflow:hidden}.toast.removing{transform:translate(120%);opacity:0}@keyframes toastReveal{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-content{flex:1}.toast-title{font-weight:600;color:#1e293b;font-size:.9rem;margin-bottom:2px}.toast-message{color:#64748b;font-size:.85rem;line-height:1.4}.toast-success{border-left-color:#10b981}.toast-warning{border-left-color:#f59e0b}.toast-error{border-left-color:#ef4444}#up-input{margin-top:8px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;transition:all .2s}#up-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb;margin-right:8px}.editor-placeholder-field{background-color:#f3f4f6;color:#374151;padding:2px 8px;border-radius:6px;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:.9em;border:1px dashed #cbd5e1;display:inline-block;margin:0 2px;transition:all .2s ease}.editor-placeholder-field:hover{background-color:#e5e7eb;border-color:#9ca3af}.editor-placeholder-field:focus{outline:2px solid #3b82f6;outline-offset:2px}.placeholder-tooltip-popup{position:fixed;z-index:10000;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:12px;min-width:200px;max-width:300px;pointer-events:none}.placeholder-tooltip-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;padding-bottom:6px;border-bottom:1px solid #e5e7eb}.placeholder-tooltip-name{font-weight:600;color:#111827;font-family:Courier New,monospace;font-size:.9em}.placeholder-tooltip-type{font-size:.75em;color:#6b7280;background:#f3f4f6;padding:2px 6px;border-radius:4px;text-transform:uppercase;font-weight:500}.placeholder-tooltip-description{color:#4b5563;font-size:.875em;line-height:1.4}.placeholder-insert-panel{position:fixed;z-index:3000;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000026;padding:18px 22px;min-width:340px;max-width:420px;border:1px solid #e5e7eb;transition:opacity .2s}.placeholder-search{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;margin-bottom:12px;box-sizing:border-box}.placeholder-search:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.placeholder-groups{max-height:400px;overflow-y:auto;margin-bottom:12px}.placeholder-group-header{font-size:.75em;font-weight:600;color:#6b7280;text-transform:uppercase;margin-top:12px;margin-bottom:6px;padding:0 4px}.placeholder-group-header:first-child{margin-top:0}.placeholder-list{list-style:none;padding:0;margin:0}.placeholder-list-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;border-radius:6px;margin-bottom:2px;transition:background-color .15s}.placeholder-list-item:hover,.placeholder-list-item.focused{background-color:#f3f4f6}.placeholder-list-item:focus{outline:2px solid #3b82f6;outline-offset:-2px}.placeholder-label{flex:1;font-family:Courier New,monospace;font-weight:500;color:#111827;font-size:.9em}.placeholder-meta{font-size:.75em;color:#6b7280;background:#f3f4f6;padding:2px 6px;border-radius:4px;margin-left:8px;text-transform:uppercase;font-weight:500}.placeholder-sample{font-size:.8em;color:#9ca3af;margin-left:8px;font-style:italic}.close-placeholder-panel{width:100%;padding:8px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;color:#374151;transition:background-color .15s}.close-placeholder-panel:hover{background:#e5e7eb}.placeholder-error{padding:12px;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-size:.875em;margin-bottom:12px}.slash-menu{position:absolute;z-index:2000;width:280px;background:#fff;box-shadow:0 8px 24px #00000026;border:1px solid #e5e7eb;border-radius:8px;display:none;flex-direction:column;max-height:400px;overflow-y:auto;overflow-x:hidden;padding:4px}.slash-menu.visible{display:flex}.slash-item{padding:10px 12px;cursor:pointer;display:flex;align-items:center;gap:12px;font-size:14px;color:#111827;border-radius:6px;transition:background-color .15s ease;margin:2px 0}.slash-item:hover,.slash-item.selected{background-color:#f3f4f6;color:#111827}.slash-item.selected{background-color:#eff6ff;color:#1e40af}.slash-item-icon{font-size:18px;width:24px;text-align:center;flex-shrink:0;font-weight:500}.slash-item-content{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.slash-item-label{font-weight:500;font-size:14px;line-height:1.4}.slash-item-description{font-size:12px;color:#6b7280;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-page-break{border-top:1px dashed #999;padding:10px 0;margin:20px 0;text-align:center;color:#999;font-size:12px;-webkit-user-select:none;user-select:none;background-color:#fafafa;position:relative;page-break-after:always}.editor-page-break span{background-color:#fff;padding:0 10px;position:relative;top:-9px}@media print{.editor-page-break{border:none;margin:0;padding:0;height:0;background:none}.editor-page-break span{display:none}}.document-outline{width:260px;border-left:1px solid rgba(0,0,0,.08);background-color:#fff;height:100vh;position:fixed;top:0;right:0;z-index:1000;overflow-y:auto;padding:0;box-shadow:-4px 0 16px #00000008;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.document-outline.active{transform:translate(0);display:flex;flex-direction:column}.outline-header{padding:24px 20px 16px;border-bottom:1px solid rgba(0,0,0,.05);background:#fff;position:sticky;top:0;z-index:10}.outline-header h3{font-size:11px;font-weight:700;text-transform:uppercase;color:#64748b;margin:0;letter-spacing:.1em}.outline-list{list-style:none;padding:12px 0;margin:0;flex:1}.outline-item{padding:8px 20px;font-size:13px;color:#475569;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:10px;border-left:3px solid transparent;-webkit-user-select:none;user-select:none;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outline-item:hover{background-color:#f8fafc;color:#0f172a}.outline-item.active{background-color:#eff6ff;color:#2563eb;border-left-color:#2563eb;font-weight:500}.outline-toggle{font-size:10px;color:#94a3b8;width:12px}.outline-h1{padding-left:20px;font-weight:600}.outline-h2{padding-left:36px}.outline-h3{padding-left:52px;font-size:.95em;color:#64748b}.outline-h4{padding-left:68px;font-size:.9em;color:#94a3b8}.outline-h5{padding-left:84px;font-size:.9em;color:#94a3b8}.outline-h6{padding-left:100px;font-size:.9em;color:#94a3b8}.outline-empty{padding:32px 20px;text-align:center;color:#94a3b8;font-style:italic;font-size:13px}.document-outline::-webkit-scrollbar{width:5px}.document-outline::-webkit-scrollbar-track{background:transparent}.document-outline::-webkit-scrollbar-thumb{background:#c4cbd480;border-radius:10px}.document-outline::-webkit-scrollbar-thumb:hover{background:#a7b1becc}@media(prefers-color-scheme:dark){.document-outline{background-color:#0f172a;border-left-color:#ffffff0d;box-shadow:-4px 0 16px #0003}.outline-header{background:#0f172a;border-bottom-color:#ffffff0d}.outline-header h3,.outline-item{color:#94a3b8}.outline-item:hover{background-color:#1e293b;color:#f1f5f9}.outline-item.active{background-color:#1e3a8a;color:#60a5fa;border-left-color:#3b82f6}}.minimap-container{position:fixed;top:0;right:0;width:30px;height:100vh;z-index:950;cursor:pointer;-webkit-user-select:none;user-select:none;background:transparent;border-left:1px solid rgba(0,0,0,.02);transition:opacity .3s cubic-bezier(.4,0,.2,1);opacity:0;display:none}.minimap-container:hover{background:#00000003}.minimap-content{position:relative;width:100%;height:100%}.minimap-viewport{position:absolute;left:2px;right:2px;background:#2563eb14;border:1px solid rgba(37,99,235,.15);border-radius:2px;pointer-events:none;transition:top .05s linear}.minimap-rail{position:absolute;right:8px;width:2px;height:100%;background:#00000008;border-radius:1px}.minimap-handle{position:absolute;right:6px;width:6px;background:#cbd5e1;border-radius:3px;opacity:.4;transition:opacity .2s,background .2s,right .2s}.minimap-container:hover .minimap-handle{opacity:1;background:#94a3b8;right:5px}@media(prefers-color-scheme:dark){.minimap-container{border-left-color:#ffffff05}.minimap-rail{background:#ffffff08}.minimap-handle{background:#475569}.minimap-viewport{background:#3b82f61a;border-color:#3b82f626}}.editor-toc{background-color:#fff;border:1px solid #e1e4e8;border-radius:8px;padding:0;margin:24px 0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;box-shadow:0 1px 2px #0000000d;max-width:100%;overflow:hidden;transition:all .2s ease-in-out}.editor-toc:hover{box-shadow:0 8px 24px #00000014;border-color:#cbd5e1}.toc-title{background-color:#f8fafc;padding:14px 18px;border-bottom:1px solid #e2e8f0;margin:0;font-size:.85rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em;display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none}.toc-title-text{display:flex;align-items:center;gap:8px}.toc-title-text span{font-size:1.1em}.toc-actions{display:flex;gap:6px;opacity:0;transform:translate(10px);transition:all .2s ease}.editor-toc:hover .toc-actions{opacity:1;transform:translate(0)}.toc-action-btn{background:transparent;border:none;cursor:pointer;font-size:1rem;color:#94a3b8;padding:4px;border-radius:6px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;transition:all .2s}.toc-action-btn:hover{background-color:#e2e8f0;color:#334155}.toc-content{padding:12px 0;max-height:60vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.toc-list{list-style:none;padding:0;margin:0}.toc-item{position:relative;padding:0;margin:0}.toc-item-row{padding:6px 18px;cursor:pointer;display:flex;align-items:flex-start;color:#64748b;font-size:.9rem;line-height:1.5;transition:all .15s ease;border-left:3px solid transparent;width:100%;box-sizing:border-box}.toc-item-row:hover{background-color:#f8fafc;color:#1e293b}.toc-item.active>.toc-item-row{background-color:#eff6ff;color:#2563eb;border-left-color:#2563eb;font-weight:500}.toc-link{color:inherit;text-decoration:none;flex:1;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toc-level-1{padding-left:18px}.toc-level-2{padding-left:38px}.toc-level-3{padding-left:58px}.toc-level-4{padding-left:78px}.toc-level-5{padding-left:98px}.toc-level-6{padding-left:118px}.toc-toggle{margin-right:8px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;font-size:.7em;transition:transform .2s ease,color .2s;border-radius:4px}.toc-toggle:hover{color:#475569;background-color:#e2e8f0}.toc-item[data-collapsed=true] .toc-toggle{transform:rotate(-90deg)}.toc-nested-list{display:block;padding:0;margin:0}.toc-item[data-collapsed=true]>.toc-nested-list{display:none}.toc-empty{padding:32px 24px;text-align:center;color:#94a3b8;font-style:italic;font-size:.9rem}.toc-content::-webkit-scrollbar{width:6px}.toc-content::-webkit-scrollbar-track{background:transparent}.toc-content::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:3px;border:2px solid #ffffff}.toc-content::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}.editor-toc[data-toc-theme=light]{background-color:#fff;border-color:#e1e4e8}.editor-toc[data-toc-theme=light] .toc-title{background-color:#f8fafc;border-bottom-color:#e2e8f0;color:#475569}.editor-toc[data-toc-theme=light] .toc-item-row{color:#64748b}.editor-toc[data-toc-theme=light] .toc-item-row:hover{background-color:#f8fafc;color:#1e293b}.editor-toc[data-toc-theme=light] .toc-item.active>.toc-item-row{background-color:#eff6ff;color:#2563eb;border-left-color:#2563eb}@media(prefers-color-scheme:dark){.editor-toc:not([data-toc-theme=light]){background-color:#1e293b;border-color:#334155}.editor-toc:not([data-toc-theme=light]) .toc-title{background-color:#0f172a;border-bottom-color:#334155;color:#e2e8f0}.editor-toc:not([data-toc-theme=light]) .toc-item-row{color:#94a3b8}.editor-toc:not([data-toc-theme=light]) .toc-item-row:hover{background-color:#334155;color:#f1f5f9}.editor-toc:not([data-toc-theme=light]) .toc-item.active>.toc-item-row{background-color:#1e3a8a;color:#60a5fa;border-left-color:#60a5fa}.editor-toc:not([data-toc-theme=light]) .toc-action-btn:hover{background-color:#334155;color:#f1f5f9}}.editor-toc[data-toc-theme=dark]{background-color:#1e293b;border-color:#334155}.editor-toc[data-toc-theme=dark] .toc-title{background-color:#0f172a;border-bottom-color:#334155;color:#e2e8f0}.editor-toc[data-toc-theme=dark] .toc-item-row{color:#94a3b8}.editor-toc[data-toc-theme=dark] .toc-item-row:hover{background-color:#334155;color:#f1f5f9}.editor-toc[data-toc-theme=dark] .toc-item.active>.toc-item-row{background-color:#1e3a8a;color:#60a5fa;border-left-color:#60a5fa}.editor-toc[data-toc-theme=dark] .toc-action-btn:hover{background-color:#334155;color:#f1f5f9}:root{--rev-sidebar-width: 350px;--rev-primary: #6366f1;--rev-bg: #ffffff;--rev-text: #1f2937;--rev-border: #e5e7eb;--rev-item-hover: #f9fafb;--rev-diff-add: #dcfce7;--rev-diff-add-text: #166534;--rev-diff-remove: #fee2e2;--rev-diff-remove-text: #991b1b}.revision-history-sidebar{position:fixed;top:0;right:calc(-1 * var(--rev-sidebar-width));width:var(--rev-sidebar-width);height:100vh;background:var(--rev-bg);box-shadow:-4px 0 15px #0000001a;z-index:2000;display:flex;flex-direction:column;transition:right .3s cubic-bezier(.4,0,.2,1);border-left:1px solid var(--rev-border);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.revision-history-sidebar.open{right:0}.rev-header{padding:20px;border-bottom:1px solid var(--rev-border);display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.rev-header h3{margin:0;font-size:18px;color:var(--rev-text);font-weight:600}.rev-close-btn{background:transparent;border:none;font-size:20px;cursor:pointer;color:#64748b;transition:color .2s}.rev-close-btn:hover{color:var(--rev-text)}.rev-list-container{flex:1;overflow-y:auto;padding:15px}.rev-list{display:flex;flex-direction:column;gap:12px}.rev-item{padding:16px;border:1px solid var(--rev-border);border-radius:12px;background:#fff;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.rev-item:hover{border-color:var(--rev-primary);box-shadow:0 4px 6px -1px #0000001a;background:var(--rev-item-hover)}.rev-item.active{border-color:var(--rev-primary);background:#6366f10d}.rev-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.rev-item-name{font-weight:600;font-size:14px;color:var(--rev-text)}.rev-item-time{font-size:11px;color:#94a3b8}.rev-item-meta{font-size:12px;color:#64748b;display:flex;align-items:center;gap:6px}.rev-item-actions{display:flex;gap:8px;margin-top:12px;opacity:0;transform:translateY(5px);transition:all .2s ease}.rev-item:hover .rev-item-actions{opacity:1;transform:translateY(0)}.rev-btn{padding:6px 12px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;border:1px solid transparent}.rev-btn-restore{background:var(--rev-primary);color:#fff}.rev-btn-restore:hover{background:#4f46e5}.rev-btn-compare{background:#fff;border-color:var(--rev-border);color:var(--rev-text)}.rev-btn-compare:hover{background:var(--rev-item-hover)}.rev-compare-overlay{position:fixed;inset:60px 0 0;background:#fff;z-index:1500;display:none;flex-direction:column}.rev-compare-overlay.open{display:flex}.rev-compare-header{padding:15px 30px;border-bottom:1px solid var(--rev-border);display:flex;justify-content:space-between;align-items:center;background:#f1f5f9}.rev-compare-title{font-weight:600;font-size:16px}.rev-compare-content{flex:1;display:flex;padding:20px;gap:20px;overflow:hidden}.rev-compare-pane{flex:1;border:1px solid var(--rev-border);border-radius:8px;padding:20px;overflow-y:auto;background:#fdfdfd}.rev-pane-label{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:10px;font-weight:700}ins{background-color:var(--rev-diff-add)!important;text-decoration:none!important;color:var(--rev-diff-add-text)!important;padding:2px 0}del{background-color:var(--rev-diff-remove)!important;text-decoration:line-through!important;color:var(--rev-diff-remove-text)!important;padding:2px 0}.rev-footer{padding:20px;border-top:1px solid var(--rev-border);background:#f8fafc}.rev-manual-save{width:100%;padding:10px;background:#fff;border:1px solid var(--rev-border);border-radius:8px;color:var(--rev-text);font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.rev-manual-save:hover{border-color:var(--rev-primary);color:var(--rev-primary);background:#6366f105}.rev-status-fixed{position:fixed;bottom:20px;right:20px;background:#fff;padding:8px 16px;border-radius:20px;box-shadow:0 4px 12px #0000001a;font-size:12px;font-weight:500;z-index:1000;display:flex;align-items:center;gap:8px;border:1px solid var(--rev-border)}.rev-status-dot{width:8px;height:8px;border-radius:50%;background:#10b981}.rev-status-dot.pulsing{animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(.95);box-shadow:0 0 #10b981b3}70%{transform:scale(1);box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.find-replace-dialog{display:flex;flex-direction:column;gap:12px;position:absolute;top:60px;right:20px;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.1);box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;padding:16px;border-radius:12px;z-index:1000;width:300px;font-family:Inter,system-ui,sans-serif;animation:fr-slide-in .2s cubic-bezier(.16,1,.3,1)}.find-replace-dialog.hidden{display:none}@keyframes fr-slide-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.fr-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#374151;font-size:14px;border-bottom:1px solid #f3f4f6;padding-bottom:8px;margin-bottom:4px}.fr-close-btn{background:none;border:none;font-size:18px;color:#9ca3af;cursor:pointer;padding:0;line-height:1}.fr-close-btn:hover{color:#ef4444}.fr-body{display:flex;flex-direction:column;gap:10px}.fr-input-group{display:flex;gap:8px}.fr-input-group input,.find-replace-dialog input{flex:1;padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;background:#f9fafb;transition:all .2s}.fr-input-group input:focus,.find-replace-dialog input:focus{outline:none;border-color:#6366f1;background:#fff;box-shadow:0 0 0 2px #6366f11a}.fr-nav-buttons{display:flex;gap:2px}.fr-nav-buttons button{padding:4px 8px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;color:#4b5563}.fr-nav-buttons button:first-child{border-radius:6px 0 0 6px;border-right:none}.fr-nav-buttons button:last-child{border-radius:0 6px 6px 0}.fr-nav-buttons button:hover{background:#f3f4f6;color:#111827}.fr-options{display:flex;gap:12px;font-size:12px;color:#6b7280;padding:0 4px}.fr-options label{display:flex;align-items:center;gap:4px;cursor:pointer;-webkit-user-select:none;user-select:none}.fr-options input{margin:0}.fr-actions{display:flex;gap:8px;margin-top:4px}.fr-actions button{flex:1;padding:8px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;border:1px solid transparent;transition:all .2s}#replace-btn{background:#fff;border-color:#e5e7eb;color:#374151}#replace-btn:hover{border-color:#d1d5db;background:#f9fafb}#replace-all-btn{background:#6366f1;color:#fff}#replace-all-btn:hover{background:#4f46e5}.fr-info{font-size:11px;color:#9ca3af;text-align:center;min-height:16px}.emoji-picker{position:absolute;background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(0,0,0,.1);box-shadow:0 10px 25px #0000001a;border-radius:12px;padding:12px;width:320px;z-index:2000;display:flex;flex-direction:column;gap:10px;top:60px;left:100px}.emoji-picker.hidden{display:none}.emoji-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:14px;color:#374151;padding-bottom:4px;border-bottom:1px solid #f3f4f6}.emoji-header button{background:none;border:none;font-size:18px;cursor:pointer;color:#9ca3af;line-height:1}.emoji-header button:hover{color:#ef4444}.emoji-search-area{width:100%;display:flex;align-items:center;margin-bottom:4px}.emoji-search-area input{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;outline:none;transition:border .2s}.emoji-search-area input:focus{border-color:#6366f1}.emoji-tabs{display:flex;gap:4px;overflow-x:auto;padding-bottom:4px;border-bottom:1px solid #f3f4f6}.emoji-tab{background:none;border:none;padding:4px 8px;font-size:16px;cursor:pointer;border-radius:4px;opacity:.6;transition:all .2s}.emoji-tab:hover{background:#f3f4f6;opacity:1}.emoji-tab.active{background:#e0e7ff;opacity:1}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;max-height:200px;overflow-y:auto;padding:4px 0}.emoji-item{background:none;border:none;font-size:20px;cursor:pointer;padding:6px;border-radius:4px;transition:transform .1s,background .1s;display:flex;align-items:center;justify-content:center}.emoji-item:hover{background:#f3f4f6;transform:scale(1.2)}.footnote-ref{display:inline;font-size:.75em;line-height:0;position:relative;vertical-align:super;color:#2563eb;cursor:pointer;font-weight:600;padding:0 2px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.footnote-ref:hover{color:#1d4ed8;background-color:#2563eb1a;border-radius:3px}.footnote-ref:active{transform:scale(.95)}.footnote-ref.footnote-highlight{animation:footnote-pulse 1.5s ease-in-out}@keyframes footnote-pulse{0%,to{background-color:transparent}50%{background-color:#2563eb4d}}.footnotes-container{margin-top:3rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;font-size:.9em;color:#4b5563}.footnotes-divider{width:30%;height:1px;background-color:#d1d5db;margin-bottom:1rem}.footnotes-header{font-size:1.1em;font-weight:600;color:#1f2937;margin-bottom:1rem;letter-spacing:.025em}.footnotes-list{display:flex;flex-direction:column;gap:.75rem}.footnote-content-item{display:flex;gap:.5rem;padding:.5rem 0;position:relative;transition:background-color .2s ease}.footnote-content-item:hover{background-color:#f3f4f680;border-radius:4px;padding-left:.25rem;padding-right:.25rem}.footnote-content-item.footnote-highlight{animation:footnote-content-pulse 1.5s ease-in-out}@keyframes footnote-content-pulse{0%,to{background-color:transparent}50%{background-color:#2563eb26}}.footnote-number{flex-shrink:0;width:2rem;color:#2563eb;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .2s ease}.footnote-number:hover{color:#1d4ed8}.footnote-text{flex:1;line-height:1.6;color:#374151;outline:none;padding:2px 4px;border-radius:3px;transition:background-color .2s ease}.footnote-text:focus{background-color:#f9fafb;box-shadow:0 0 0 2px #2563eb1a}.footnote-text:empty:before{content:"Enter footnote text...";color:#9ca3af;font-style:italic}.footnote-return{flex-shrink:0;background:none;border:none;color:#6b7280;cursor:pointer;font-size:1.1em;padding:0 .25rem;opacity:0;transition:all .2s ease}.footnote-content-item:hover .footnote-return{opacity:1}.footnote-return:hover{color:#2563eb;transform:translate(-2px)}.footnote-return:active{transform:translate(-2px) scale(.9)}@media(prefers-color-scheme:dark){.footnote-ref{color:#60a5fa}.footnote-ref:hover{color:#93c5fd;background-color:#60a5fa26}.footnotes-container{border-top-color:#374151;color:#d1d5db}.footnotes-divider{background-color:#4b5563}.footnotes-header{color:#f3f4f6}.footnote-content-item:hover{background-color:#1f293780}.footnote-number{color:#60a5fa}.footnote-number:hover{color:#93c5fd}.footnote-text{color:#e5e7eb}.footnote-text:focus{background-color:#1f2937cc;box-shadow:0 0 0 2px #60a5fa33}.footnote-text:empty:before{color:#6b7280}.footnote-return{color:#9ca3af}.footnote-return:hover{color:#60a5fa}@keyframes footnote-pulse{0%,to{background-color:transparent}50%{background-color:#60a5fa4d}}@keyframes footnote-content-pulse{0%,to{background-color:transparent}50%{background-color:#60a5fa33}}}@media print{.footnote-ref{color:#000;background:none!important}.footnotes-container{page-break-before:avoid;border-top-color:#000}.footnote-return{display:none}.footnote-text{background:none!important;box-shadow:none!important}}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0f172a66;backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);display:flex;align-items:center;justify-content:center;z-index:5000;overflow:hidden;animation:modal-fadeIn .3s cubic-bezier(.16,1,.3,1)}@keyframes modal-fadeIn{0%{opacity:0}to{opacity:1}}#toolbar-customization-modal .toolbar-customization-container{max-width:1000px;width:95vw;max-height:90vh;display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 25px 50px -12px #00000040,0 0 0 1px #0000000d;border:1px solid rgba(255,255,255,.3);overflow:hidden;transform-origin:center;animation:modal-popIn .4s cubic-bezier(.16,1,.3,1)}@keyframes modal-popIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}#toolbar-customization-modal .modal-header{padding:24px 32px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}#toolbar-customization-modal .modal-header h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0;letter-spacing:-.025em}#toolbar-customization-modal .modal-close{background:#e2e8f0;border:none;color:#475569;width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer;transition:all .2s}#toolbar-customization-modal .modal-close:hover{background:#fee2e2;color:#ef4444;transform:rotate(90deg)}#toolbar-customization-modal .modal-body{padding:32px;overflow-y:auto;flex:1;background:radial-gradient(circle at top right,rgba(59,130,246,.03),transparent 400px)}.customization-section{margin-bottom:2.5rem}.customization-section h3{font-size:1.1rem;font-weight:600;color:#334155;margin-bottom:1.25rem;display:flex;align-items:center;gap:8px}.customization-divider{height:1px;background:linear-gradient(to right,transparent,#f1f5f9 20%,#f1f5f9 80%,transparent);margin:2.5rem 0}.help-text{font-size:.875rem;color:#64748b;margin-bottom:1.25rem;background:#f1f5f9;padding:8px 16px;border-radius:8px;display:inline-block}.preset-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.preset-btn{display:flex;flex-direction:column;align-items:flex-start;padding:1.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);text-align:left;position:relative;overflow:hidden}.preset-btn:hover{border-color:#3b82f6;transform:translateY(-4px);box-shadow:0 10px 15px -3px #3b82f61a}.preset-btn strong{font-size:1rem;color:#1e293b;margin-bottom:.5rem}.preset-btn span{font-size:.75rem;color:#64748b;line-height:1.4}.preset-btn.active{border-color:#3b82f6;background:#eff6ff;box-shadow:inset 0 0 0 1px #3b82f6}.preset-btn.active:after{content:"\2713";position:absolute;top:12px;right:12px;background:#3b82f6;color:#fff;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px}.customization-panels{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;display:flex;flex-direction:column;height:500px}.panel h4{font-size:1rem;font-weight:700;color:#1e293b;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between}.tools-filter{margin-bottom:1rem;position:relative}.tools-filter input{width:100%;padding:.625rem 1rem .625rem 2.5rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.875rem;background:#fff;transition:all .2s}.tools-filter:before{content:"\1f50d";position:absolute;left:12px;top:50%;transform:translateY(-50%);opacity:.5;font-size:14px}.tools-filter input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.tools-list{display:flex;flex-direction:column;gap:.75rem;flex:1;overflow-y:auto;padding-right:8px}.tools-list.droppable{background:#ffffff80;border:2px dashed #cbd5e1;border-radius:12px;padding:1rem;min-height:100px;transition:all .2s}.tools-list.droppable:hover{background:#fffc;border-color:#3b82f6}.tools-list.droppable:empty:before{content:"No items. Drag here to add tools.";display:block;text-align:center;color:#94a3b8;font-size:.875rem;padding:3rem 0}.tool-item{display:flex;align-items:center;gap:.75rem;padding:.625rem .875rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;cursor:grab;transition:all .2s ease;-webkit-user-select:none;user-select:none;box-shadow:0 1px 3px #0000000d}.tool-item:hover{border-color:#3b82f6;transform:translate(4px);box-shadow:0 4px 6px -1px #0000001a}.tool-item.dragging{opacity:.4;cursor:grabbing;background:#f1f5f9}.tool-item.available{cursor:pointer}.tool-icon{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#f1f5f9;border-radius:8px;font-size:14px;transition:all .2s}.tool-item:hover .tool-icon{background:#dbeafe;color:#2563eb}.tool-label{flex:1;font-size:.875rem;color:#334155;font-weight:500}.tool-remove,.tool-add{flex-shrink:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:14px;cursor:pointer;transition:all .2s}.tool-remove{color:#94a3b8}.tool-remove:hover{color:#ef4444;background:#fee2e2}.tool-add{color:#3b82f6;background:#eff6ff}.tool-add:hover{background:#3b82f6;color:#fff}.tools-groups{display:flex;flex-direction:column;gap:1.5rem;flex:1;overflow-y:auto}.tool-group{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem}.tool-group h5{font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem;border-left:3px solid #3b82f6;padding-left:10px}#toolbar-customization-modal .modal-footer{padding:24px 32px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px}@media(max-width:900px){.customization-panels{grid-template-columns:1fr}.panel{height:400px}}@media(prefers-color-scheme:dark){#toolbar-customization-modal .toolbar-customization-container{background:#0f172a;box-shadow:0 25px 50px -12px #00000080;border-color:#1e293b}#toolbar-customization-modal .modal-header{background:#1e293b;border-bottom-color:#334155}#toolbar-customization-modal .modal-header h2{color:#f1f5f9}#toolbar-customization-modal .modal-body{background:radial-gradient(circle at top right,rgba(59,130,246,.05),transparent 400px)}.preset-btn{background:#1e293b;border-color:#334155}.preset-btn strong{color:#f1f5f9}.preset-btn:hover{background:#334155;border-color:#3b82f6}.panel{background:#111827;border-color:#1e293b}.panel h4{color:#f1f5f9;border-bottom-color:#1e293b}.tool-group{background:#1e293b;border-color:#334155}.tool-item{background:#0f172a;border-color:#334155}.tool-label{color:#cbd5e1}.tool-icon{background:#1e293b;color:#94a3b8}.tools-filter input{background:#1e293b;border-color:#334155;color:#fff}#toolbar-customization-modal .modal-footer{background:#1e293b;border-top-color:#475569}}.tools-list::-webkit-scrollbar,.tools-groups::-webkit-scrollbar,.modal-body::-webkit-scrollbar{width:6px}.tools-list::-webkit-scrollbar-track,.tools-groups::-webkit-scrollbar-track,.modal-body::-webkit-scrollbar-track{background:transparent}.tools-list::-webkit-scrollbar-thumb,.tools-groups::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.tools-list::-webkit-scrollbar-thumb:hover,.tools-groups::-webkit-scrollbar-thumb:hover,.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media(prefers-color-scheme:dark){.tools-list::-webkit-scrollbar-thumb,.tools-groups::-webkit-scrollbar-thumb,.modal-body::-webkit-scrollbar-thumb{background:#334155}}.floating-toolbar{position:absolute;z-index:1000;display:flex;gap:4px;padding:6px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;animation:floatingToolbarFadeIn .2s ease}@keyframes floatingToolbarFadeIn{0%{opacity:0;transform:translate(-50%) translateY(5px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.floating-toolbar:before{content:"";position:absolute;bottom:-6px;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #ffffff}.floating-toolbar:after{content:"";position:absolute;bottom:-7px;left:50%;transform:translate(-50%);width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #e5e7eb;z-index:-1}.floating-toolbar-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;border-radius:4px;cursor:pointer;color:#374151;transition:all .15s ease}.floating-toolbar-btn svg{width:18px;height:18px;stroke-width:2;stroke:currentColor;fill:none}.floating-toolbar-btn:hover{background:#f3f4f6;color:#111827}.floating-toolbar-btn:active{background:#e5e7eb;color:#2563eb}.toolbar-overflow{position:relative;display:flex;align-items:center}.toolbar-overflow-btn{display:none;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;border:none;border-radius:4px;cursor:pointer;font-size:1.2rem;color:#374151;transition:all .2s ease}.toolbar-overflow-btn:hover{background:#f3f4f6}.toolbar-overflow-btn.active{background:#eff6ff;color:#2563eb}.toolbar-overflow-menu{position:absolute;top:100%;right:0;margin-top:8px;min-width:200px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a;display:none;flex-direction:column;max-height:400px;overflow-y:auto;z-index:200;padding:4px}.toolbar-overflow-menu.show{display:flex;animation:dropdownFadeIn .15s ease}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.toolbar-overflow-item{display:flex;align-items:center;gap:.75rem;padding:8px 12px;background:transparent;border:none;border-radius:4px;cursor:pointer;font-size:.875rem;color:#374151;text-align:left;transition:background .15s ease}.toolbar-overflow-item:hover{background:#f3f4f6;color:#111827}.toolbar-overflow-item .icon{width:20px;display:flex;justify-content:center;color:#6b7280}@media(max-width:1024px){.toolbar-overflow-btn{display:flex}}:root{--tc-insert-bg: rgba(34, 197, 94, .15);--tc-insert-text: #15803d;--tc-delete-bg: rgba(239, 68, 68, .1);--tc-delete-text: #b91c1c;--tc-format-bg: rgba(59, 130, 246, .1);--tc-format-text: #1d4ed8;--tc-sidebar-width: 320px}.suggestion-node{padding:1px 0;border-radius:2px;transition:background-color .2s;cursor:pointer}.suggestion-insert{background-color:var(--tc-insert-bg);color:var(--tc-insert-text);border-bottom:2px solid var(--tc-insert-text)}.suggestion-delete{background-color:var(--tc-delete-bg);color:var(--tc-delete-text);text-decoration:line-through;opacity:.8}.suggestion-format{background-color:var(--tc-format-bg);color:var(--tc-format-text);border-bottom:2px dashed var(--tc-format-text)}.suggestion-node:hover{filter:brightness(.95)}.tc-review-sidebar{position:fixed;top:0;right:-320px;width:var(--tc-sidebar-width);height:100%;background:#fff;box-shadow:-5px 0 20px #0000001a;z-index:2100;display:flex;flex-direction:column;transition:right .3s cubic-bezier(.4,0,.2,1);border-left:1px solid #e5e7eb;font-family:Inter,system-ui,sans-serif}.tc-review-sidebar.open{right:0}.tc-header{padding:20px;border-bottom:1px solid #e5e7eb;background:#f9fafb;display:flex;justify-content:space-between;align-items:center}.tc-header h3{margin:0;font-size:16px;font-weight:700}.tc-close{background:none;border:none;font-size:20px;cursor:pointer;color:#9ca3af}.tc-card{margin:12px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;transition:all .2s}.tc-card:hover{border-color:#6366f1;box-shadow:0 4px 6px -1px #0000001a}.tc-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.tc-author{font-weight:600;font-size:13px;color:#111827}.tc-type-badge{font-size:10px;padding:2px 6px;border-radius:4px;font-weight:700;text-transform:uppercase}.badge-insert{background:#dcfce7;color:#166534}.badge-delete{background:#fee2e2;color:#991b1b}.tc-content-preview{font-size:13px;color:#4b5563;background:#f3f4f6;padding:8px;border-radius:6px;margin-bottom:12px;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-actions{display:flex;gap:8px}.tc-btn{flex:1;padding:8px;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all .2s}.tc-btn-accept{background:#10b981;color:#fff}.tc-btn-accept:hover{background:#059669}.tc-btn-reject{background:#fff;border-color:#e5e7eb;color:#ef4444}.tc-btn-reject:hover{background:#fee2e2}.tc-status-widget{display:flex;align-items:center;gap:8px;padding:4px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;font-size:12px;font-weight:600;cursor:pointer}.tc-status-widget.active{color:#ef4444;border-color:#fca5a5;background:#fef2f2}.tc-dot{width:8px;height:8px;border-radius:50%;background:#d1d5db}.tc-status-widget.active .tc-dot{background:#ef4444;box-shadow:0 0 8px #ef4444;animation:tc-pulse 2s infinite}@keyframes tc-pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.comment-node{background:#facc1538;border-bottom:2px solid #f59e0b;border-radius:3px;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}.comment-node:hover{background:#facc1552}.comment-node-active{box-shadow:0 0 0 2px #f59e0b40}.comment-node-resolved{background:#94a3b829;border-bottom-color:#94a3b8;text-decoration:line-through;text-decoration-thickness:1.5px;text-decoration-color:#47556973}.comments-sidebar{position:fixed;top:0;right:-360px;width:360px;height:100vh;background:#fffdf7;border-left:1px solid #f3e8c8;box-shadow:-10px 0 30px #0f172a1a;z-index:2200;display:flex;flex-direction:column;transition:right .28s ease}.comments-sidebar.open{right:0}.comments-sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #f3e8c8;background:linear-gradient(180deg,#fff7db,#fffdf7)}.comments-sidebar-header h3{margin:0;font-size:17px;color:#78350f}.comments-sidebar-subtitle{margin:4px 0 0;font-size:12px;color:#a16207}.comments-close-btn{border:0;background:transparent;font-size:22px;color:#92400e;cursor:pointer}.comments-sidebar-list{flex:1;overflow-y:auto;padding:14px}.comments-filter-bar{display:flex;gap:8px;padding:12px 14px 0;flex-wrap:wrap}.comments-filter-btn{border:1px solid #f3e8c8;background:#fff;color:#92400e;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer}.comments-filter-btn.active{background:#f59e0b;color:#fff;border-color:#f59e0b}.comment-thread-card{background:#fff;border:1px solid #f3e8c8;border-radius:14px;padding:14px;margin-bottom:12px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.comment-thread-card:hover,.comment-thread-card.active{border-color:#f59e0b;box-shadow:0 8px 20px #f59e0b24;transform:translateY(-1px)}.comment-thread-card.resolved{opacity:.78}.comment-thread-header{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.comment-thread-header-main{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comment-thread-author{font-size:13px;font-weight:700;color:#78350f}.comment-thread-time{font-size:11px;color:#a16207}.comment-thread-status{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#c2410c;background:#fffbeb;border:1px solid #fcd34d;border-radius:999px;padding:3px 8px}.comment-thread-status.resolved{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.comment-thread-body{font-size:14px;line-height:1.45;color:#1f2937;margin-bottom:10px}.comment-thread-quote{margin:0 0 12px;padding:10px 12px;border-left:3px solid #fbbf24;background:#fffbeb;color:#92400e;font-size:13px}.comment-thread-actions{display:flex;gap:8px;flex-wrap:wrap}.comment-thread-actions button{flex:1;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:700;cursor:pointer}.comment-resolve-btn{border:0;background:#f59e0b;color:#fff}.comment-delete-btn{border:1px solid #f3e8c8;background:#fff;color:#b45309}.comment-jump-btn{border:1px solid #fde68a;background:#fff7ed;color:#c2410c}.comment-thread-replies{display:grid;gap:8px;margin-bottom:12px}.comment-thread-reply{border-radius:12px;background:#fafafa;border:1px solid #e2e8f0;padding:10px 12px}.comment-thread-reply-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}.comment-thread-reply-author{font-size:12px;font-weight:700;color:#7c2d12}.comment-thread-reply-time{font-size:11px;color:#64748b}.comment-thread-reply-body{font-size:13px;line-height:1.45;color:#334155}.comment-reply-form{display:grid;gap:8px;margin-top:10px}.comment-reply-input{width:100%;resize:vertical;border:1px solid #f3e8c8;border-radius:12px;padding:10px 12px;font:inherit;background:#fff}.comment-reply-actions{display:flex;justify-content:flex-end}.comment-reply-actions button{border:0;border-radius:999px;padding:8px 14px;background:#78350f;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.comments-empty-state{padding:40px 18px;text-align:center;color:#a16207}.comments-widget{position:fixed;right:20px;bottom:20px;z-index:2100;display:flex;align-items:center;gap:8px;border:1px solid #f3e8c8;background:#fff;border-radius:999px;padding:8px 14px;font-size:12px;font-weight:700;color:#78350f;cursor:pointer;box-shadow:0 8px 18px #0f172a14}.comments-widget-dot{width:8px;height:8px;border-radius:999px;background:#fcd34d}.comments-widget.has-comments .comments-widget-dot{background:#f59e0b;box-shadow:0 0 0 6px #f59e0b1f}.comments-widget-count{min-width:18px;height:18px;padding:0 6px;border-radius:999px;background:#78350f;color:#fff;display:inline-flex;align-items:center;justify-content:center}.template-blocks-panel{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:24px;background:#0f172a6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:2300}.template-blocks-panel.open{display:flex}.template-blocks-panel-surface{width:min(980px,100%);max-height:min(84vh,820px);overflow:hidden;display:flex;flex-direction:column;gap:14px;border-radius:22px;border:1px solid rgba(148,163,184,.24);background:linear-gradient(180deg,#fffdf8,#f8fafc);box-shadow:0 32px 80px #0f172a47;padding:20px}.template-blocks-header{display:flex;align-items:start;justify-content:space-between;gap:16px}.template-blocks-header h3{margin:4px 0 0;font-size:22px;color:#0f172a}.template-blocks-kicker{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:#c2410c}.template-blocks-close{width:38px;height:38px;border:0;border-radius:999px;background:#ffffffe6;font-size:26px;line-height:1;color:#334155;cursor:pointer}.template-blocks-search{width:100%;border:1px solid #e2e8f0;border-radius:14px;padding:13px 16px;font-size:15px;background:#fff;color:#0f172a}.template-blocks-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;overflow:auto;padding-right:4px}.template-blocks-empty{grid-column:1 / -1;padding:28px;border:1px dashed #cbd5e1;border-radius:16px;background:#fff9;color:#475569;text-align:center}.template-block-card{display:flex;flex-direction:column;gap:10px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:14px;text-align:left;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.template-block-card:hover{transform:translateY(-2px);border-color:#f59e0b;box-shadow:0 16px 30px #f59e0b29}.template-block-card-top{display:flex;align-items:center;gap:12px}.template-block-card-icon{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ffedd5,#fde68a);color:#9a3412;font-weight:800}.template-block-card-label{font-size:15px;font-weight:800;color:#111827}.template-block-card-category{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#c2410c;font-weight:700;margin-top:2px}.template-block-card-description{font-size:13px;line-height:1.45;color:#475569}.template-block-card-preview{min-height:132px;border-radius:14px;border:1px solid #f1f5f9;background:linear-gradient(180deg,#fff,#f8fafc);padding:12px;overflow:hidden;pointer-events:none}.template-block-card-preview .template-block{transform:scale(.82);transform-origin:top left;width:122%}.template-block-card-action{font-size:12px;font-weight:700;color:#9a3412}.template-blocks-footer{padding-top:2px;font-size:12px;color:#64748b}.template-block{border-radius:18px;padding:20px;background:#fff;border:1px solid rgba(148,163,184,.2);color:#0f172a}.template-block h2,.template-block h3{margin:0 0 10px;line-height:1.15}.template-block p,.template-block li{line-height:1.55}.template-block-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.template-block-actions .template-block-action{text-decoration:none;padding:10px 14px;border-radius:999px;font-weight:700;font-size:13px}.template-block-hero{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa}.template-block-eyebrow{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#c2410c}.template-block-hero .template-block-action-primary{background:#c2410c;color:#fff}.template-block-hero .template-block-action-secondary{background:#ffffffe6;color:#9a3412;border:1px solid #fdba74}.template-block-callout{background:linear-gradient(180deg,#fffbeb,#fff7ed);border-left:5px solid #f59e0b}.template-block-checklist{background:linear-gradient(180deg,#f8fafc,#fff)}.template-block-checklist ul{margin:0;padding-left:20px}.template-block-faq details{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;background:#fff;margin-top:10px}.template-block-faq summary{cursor:pointer;font-weight:700}.template-block-signature{background:linear-gradient(180deg,#f8fafc,#fff)}@media(max-width:720px){.template-blocks-panel{padding:12px}.template-blocks-panel-surface{max-height:90vh;padding:16px;border-radius:18px}.template-blocks-grid{grid-template-columns:1fr}}.document-stats-panel{position:fixed;right:20px;top:88px;width:min(360px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;z-index:2250;background:linear-gradient(180deg,#fffdf8,#f8fafc);border:1px solid rgba(148,163,184,.22);border-radius:22px;box-shadow:0 28px 60px #0f172a2e;padding:18px;display:none}.document-stats-panel.open{display:block}.document-stats-header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:14px}.document-stats-kicker{margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#c2410c}.document-stats-header h3{margin:4px 0 0;font-size:22px;color:#0f172a}.document-stats-close{width:34px;height:34px;border:0;border-radius:999px;background:#ffffffeb;font-size:24px;line-height:1;cursor:pointer;color:#334155}.document-stats-summary{display:grid;gap:10px;margin-bottom:16px}.document-stats-reading{border-radius:18px;padding:18px;background:linear-gradient(135deg,#c2410c,#f97316);color:#fff;display:flex;flex-direction:column;gap:4px}.document-stats-value{font-size:34px;font-weight:900;line-height:1}.document-stats-label{font-size:13px;opacity:.92;font-weight:600}.document-stats-note{font-size:13px;line-height:1.5;color:#475569;background:#fffc;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px}.document-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.document-stats-card{border-radius:16px;border:1px solid #e2e8f0;background:#fff;padding:14px;display:flex;flex-direction:column;gap:4px}.document-stats-card-value{font-size:24px;font-weight:900;color:#111827;line-height:1}.document-stats-card-label{font-size:12px;font-weight:700;color:#64748b}@media(max-width:720px){.document-stats-panel{right:12px;left:12px;width:auto;top:78px}.document-stats-grid{grid-template-columns:1fr}}.command-palette{position:fixed;inset:0;z-index:2400;display:grid;place-items:start center;padding-top:12vh}.command-palette.hidden{display:none}.command-palette-backdrop{position:absolute;inset:0;background:#0f172a73;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.command-palette-panel{position:relative;width:min(760px,calc(100vw - 32px));max-height:min(72vh,720px);display:grid;gap:14px;background:#fffffff5;border:1px solid rgba(148,163,184,.25);border-radius:24px;box-shadow:0 30px 90px #0f172a42;padding:18px;z-index:1;animation:command-palette-rise .2s ease-out}@keyframes command-palette-rise{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.command-palette-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.command-palette-title{font-size:18px;font-weight:700;color:#0f172a}.command-palette-subtitle{margin-top:4px;font-size:12px;color:#64748b}.command-palette-close{border:0;background:transparent;color:#64748b;font-size:24px;line-height:1;cursor:pointer}.command-palette-close:hover{color:#0f172a}.command-palette-search{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.command-palette-search-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#94a3b8;flex:0 0 auto}.command-palette-search-icon svg{width:18px;height:18px}.command-palette-search input{width:100%;border:0;background:transparent;padding:12px 0;font:inherit;font-size:15px;color:#0f172a}.command-palette-search input:focus{outline:none}.command-palette-results{display:grid;gap:8px;overflow:auto;padding-right:4px;max-height:52vh}.command-palette-section{display:grid;gap:8px}.command-palette-section-label{padding:4px 2px 0;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8}.command-palette-item{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;border:1px solid transparent;border-radius:16px;padding:12px 14px;text-align:left;background:#fff;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.command-palette-item:hover,.command-palette-item.selected{border-color:#f59e0b;background:#fffaf0;transform:translateY(-1px)}.command-palette-item-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:#f8fafc;color:#92400e}.command-palette-item-icon svg{width:18px;height:18px}.command-palette-item-body{min-width:0;display:grid;gap:4px}.command-palette-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.command-palette-item-label{font-size:14px;font-weight:700;color:#0f172a}.command-palette-item-shortcut{font-size:11px;font-weight:700;color:#b45309;background:#fffbeb;border:1px solid #fcd34d;border-radius:999px;padding:3px 8px;white-space:nowrap}.command-palette-item-description{font-size:12px;color:#64748b;line-height:1.4}.command-palette-empty{padding:24px 8px;text-align:center;color:#64748b;font-size:13px}.presence-btn{width:auto!important;min-width:0!important;padding:0 10px!important;gap:8px;height:26px!important;border-radius:999px!important;border:1px solid #dbeafe!important;background:#eff6ff!important;color:#1d4ed8!important;font-size:12px;font-weight:700}.presence-btn:hover{background:#dbeafe!important}.presence-btn.has-others{border-color:#c7d2fe!important;background:#eef2ff!important}.presence-dot{width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 6px #22c55e24}.presence-layer{position:fixed;inset:0;pointer-events:none;z-index:150}.presence-cursor{position:absolute;display:flex;align-items:flex-start;gap:6px;transform:translate(-4px,-8px)}.presence-cursor-line{width:2px;height:24px;border-radius:999px;box-shadow:0 0 0 1px #fffc}.presence-cursor-label{color:#fff;font-size:11px;font-weight:700;border-radius:999px;padding:3px 8px;box-shadow:0 8px 18px #0f172a29;white-space:nowrap}.presence-panel{position:fixed;right:16px;bottom:72px;width:280px;background:#fffffffa;border:1px solid #dbeafe;border-radius:18px;box-shadow:0 18px 40px #0f172a29;z-index:2300;overflow:hidden}.presence-panel.hidden{display:none}.presence-panel-header{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e5e7eb}.presence-panel-title{font-size:14px;font-weight:800;color:#0f172a}.presence-panel-subtitle{margin-top:2px;font-size:12px;color:#64748b}.presence-panel-close{border:0;background:transparent;color:#64748b;font-size:20px;cursor:pointer}.presence-panel-list{display:grid;gap:10px;padding:14px 16px 16px}.presence-person{display:flex;align-items:center;gap:10px}.presence-person-dot{width:12px;height:12px;border-radius:999px;flex:0 0 auto}.presence-person-meta{display:grid;gap:2px}.presence-person-name{font-size:13px;font-weight:700;color:#0f172a}.presence-person-status{font-size:11px;color:#64748b}.cms-page-settings-panel{position:fixed;inset:0;z-index:5250;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.cms-page-settings-panel.hidden{display:none}.cms-page-settings-backdrop{position:absolute;inset:0;background:#0f172a7a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.cms-page-settings-card{position:relative;width:min(960px,100%);max-height:min(88vh,900px);overflow:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:20px;box-shadow:0 30px 80px #0f172a3d;padding:24px;display:grid;gap:18px;box-sizing:border-box}.cms-page-settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cms-page-settings-kicker{margin:0 0 4px;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;color:#2563eb}.cms-page-settings-header h3{margin:0;font-size:1.45rem;color:#0f172a}.cms-page-settings-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.cms-page-settings-close{width:36px;height:36px;border:none;border-radius:999px;background:#eff6ff;color:#1d4ed8;cursor:pointer;font-size:1.25rem}.cms-page-settings-preview{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:#eff6ff;border:1px solid #dbeafe}.cms-page-settings-preview-badge{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.cms-page-settings-preview strong{display:block;font-size:1.05rem;color:#0f172a}.cms-page-settings-preview p{margin:2px 0 0;color:#475569;word-break:break-all}.cms-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.cms-template-card{text-align:left;border:1px solid #dbeafe;background:#fff;border-radius:16px;padding:14px;display:grid;gap:6px;cursor:pointer;color:#0f172a;box-shadow:0 8px 18px #0f172a0d}.cms-template-card strong{font-size:.98rem}.cms-template-card span{font-size:.85rem;line-height:1.4;color:#475569}.cms-template-card:hover{border-color:#2563eb;box-shadow:0 14px 26px #2563eb1f;transform:translateY(-1px)}.cms-page-settings-grid{display:grid;gap:14px}.cms-field{display:grid;gap:6px}.cms-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#64748b}.cms-field input,.cms-field textarea{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font:inherit}.cms-field input:focus,.cms-field textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.cms-check{display:flex;align-items:center;gap:10px;font-weight:600;color:#334155}.cms-check input{width:16px;height:16px;accent-color:#2563eb}.cms-page-settings-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.cms-page-settings-button{border:none;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.cms-page-settings-button.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.cms-page-settings-button.secondary{background:#eff6ff;color:#1d4ed8}@media(max-width:720px){.cms-page-settings-panel{padding:12px}.cms-page-settings-card{padding:18px;max-height:calc(100vh - 24px)}.cms-page-settings-header{flex-direction:column}}.seo-audit-panel{position:fixed;inset:0;z-index:5260;display:flex;align-items:center;justify-content:center;padding:24px;pointer-events:none;box-sizing:border-box}.seo-audit-panel.hidden{display:none}.seo-audit-backdrop{position:fixed;inset:0;background:#0f172a57;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto}.seo-audit-card{position:relative;width:min(460px,100%);max-height:min(88vh,900px);overflow:auto;pointer-events:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:22px;box-shadow:0 30px 80px #0f172a3d;padding:22px;display:grid;gap:18px;box-sizing:border-box}.seo-audit-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.seo-audit-kicker{margin:0 0 4px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#0f766e}.seo-audit-badge{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 10px 24px #0f766e38;margin-bottom:10px}.seo-audit-badge svg{width:22px;height:22px}.seo-audit-header h3{margin:0;color:#0f172a;font-size:22px}.seo-audit-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.seo-audit-close{width:36px;height:36px;border:0;border-radius:999px;background:#ecfeff;color:#0f766e;font-size:24px;cursor:pointer}.seo-audit-score{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:16px;border-radius:18px;background:linear-gradient(135deg,#ecfeff,#f0fdf4);border:1px solid #cffafe}.seo-audit-score-ring{--seo-score: 0;width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:900;color:#0f172a;background:radial-gradient(circle at center,#ffffff 58%,transparent 59%),conic-gradient(#14b8a6 calc(var(--seo-score) * 1%),#d1fae5 0);box-shadow:inset 0 0 0 1px #0f766e1f}.seo-audit-score-copy strong{display:block;font-size:18px;color:#0f172a;text-transform:capitalize}.seo-audit-score-copy p{margin:6px 0 0;color:#475569;line-height:1.5}.seo-audit-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.seo-audit-metric{border-radius:16px;padding:14px;border:1px solid #e2e8f0;background:#fff;display:grid;gap:4px}.seo-audit-metric.good{border-color:#bbf7d0}.seo-audit-metric.warn{border-color:#fde68a}.seo-audit-metric.bad{border-color:#fecaca}.seo-audit-metric-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#64748b;font-weight:800}.seo-audit-metric-value{font-size:18px;color:#0f172a}.seo-audit-metric-note{font-size:12px;color:#475569;line-height:1.5}.seo-audit-recommendations{display:grid;gap:10px}.seo-audit-section-title{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#0f766e}.seo-audit-list{margin:0;padding-left:18px;display:grid;gap:8px;color:#334155;line-height:1.5}.seo-audit-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.seo-audit-button{border:0;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.seo-audit-button.secondary{background:#ecfeff;color:#0f766e}@media(max-width:720px){.seo-audit-panel{padding:12px}.seo-audit-metrics{grid-template-columns:1fr}.seo-audit-score{grid-template-columns:1fr;justify-items:start}.seo-audit-card{max-height:calc(100vh - 24px)}}.typography-panel{position:fixed;right:20px;top:88px;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 120px);overflow:auto;z-index:5270;display:flex;justify-content:flex-end;pointer-events:none}.typography-panel.hidden{display:none}.typography-backdrop{position:fixed;inset:0;background:#0f172a52;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto}.typography-card{position:relative;width:100%;pointer-events:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:22px;box-shadow:0 30px 80px #0f172a3d;padding:22px;display:grid;gap:18px}.typography-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.typography-kicker{margin:0 0 4px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#7c3aed}.typography-header h3{margin:0;color:#0f172a;font-size:22px}.typography-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.typography-close{width:36px;height:36px;border:0;border-radius:999px;background:#f5f3ff;color:#7c3aed;font-size:24px;cursor:pointer}.typography-preview{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#f5f3ff,#eef2ff);border:1px solid #e9d5ff}.typography-preview-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff;box-shadow:0 10px 24px #7c3aed38}.typography-preview-badge svg{width:22px;height:22px}.typography-preview strong{display:block;font-size:1.05rem;color:#0f172a}.typography-preview p{margin:2px 0 0;color:#475569}.typography-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.typography-field{display:grid;gap:6px}.typography-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#64748b}.typography-field select{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font:inherit}.typography-field input[type=color]{width:100%;height:44px;border:1px solid #cbd5e1;border-radius:12px;padding:4px;background:#fff;cursor:pointer}.typography-check{display:flex;align-items:center;gap:10px;font-weight:700;color:#334155}.typography-check input{width:16px;height:16px;accent-color:#7c3aed}.typography-highlight-field.disabled{opacity:.55}.typography-highlight-field.disabled input{cursor:not-allowed}.typography-field select:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed1f}.typography-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.typography-button{border:0;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.typography-button.primary{background:linear-gradient(135deg,#7c3aed,#4f46e5);color:#fff}.typography-button.secondary{background:#f5f3ff;color:#6d28d9}@media(max-width:720px){.typography-panel{right:12px;left:12px;width:auto;top:78px}.typography-header{flex-direction:column}.typography-grid{grid-template-columns:1fr}}.publish-workflow-panel{position:fixed;inset:0;z-index:5280;display:flex;align-items:center;justify-content:center;padding:24px;pointer-events:none}.publish-workflow-panel.hidden{display:none}.publish-workflow-backdrop{position:fixed;inset:0;background:#0f172a57;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto}.publish-workflow-card{position:relative;width:min(920px,100%);max-height:min(88vh,900px);overflow:auto;pointer-events:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:22px;box-shadow:0 30px 80px #0f172a3d;padding:22px;display:grid;gap:18px}.publish-workflow-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.publish-workflow-kicker{margin:0 0 4px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#2563eb}.publish-workflow-header h3{margin:0;color:#0f172a;font-size:22px}.publish-workflow-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.publish-workflow-close{width:36px;height:36px;border:0;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:24px;cursor:pointer}.publish-workflow-hero{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border:1px solid #dbeafe}.publish-workflow-badge{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 10px 24px #2563eb38}.publish-workflow-badge svg{width:24px;height:24px}.publish-workflow-hero strong,.publish-workflow-score strong{display:block;font-size:1.02rem;color:#0f172a}.publish-workflow-hero p,.publish-workflow-score p{margin:2px 0 0;color:#475569}.publish-workflow-score{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:16px;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.publish-workflow-ready{display:flex;align-items:center;gap:10px;font-weight:700;color:#334155}.publish-workflow-ready input{width:16px;height:16px;accent-color:#2563eb}.publish-workflow-score-ring{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:900;color:#0f172a;background:radial-gradient(circle at center,#ffffff 58%,transparent 59%),conic-gradient(#2563eb calc(var(--publish-score, 0) * 1%),#dbeafe 0);box-shadow:inset 0 0 0 1px #2563eb1f}.publish-workflow-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publish-check{border-radius:16px;padding:14px;border:1px solid #e2e8f0;background:#fff;display:grid;gap:4px}.publish-check.passed{border-color:#bbf7d0}.publish-check.failed{border-color:#fecaca}.publish-check-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#64748b;font-weight:800}.publish-check strong{font-size:18px;color:#0f172a}.publish-check p{font-size:12px;color:#475569;line-height:1.5}.publish-workflow-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.publish-workflow-button{border:0;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.publish-workflow-button.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.publish-workflow-button.secondary{background:#eff6ff;color:#1d4ed8}@media(max-width:720px){.publish-workflow-panel{padding:12px}.publish-workflow-checks{grid-template-columns:1fr}.publish-workflow-score{grid-template-columns:1fr;justify-items:start}}.content-workspace-panel{position:fixed;inset:0;z-index:5290;display:flex;align-items:center;justify-content:center;padding:24px;pointer-events:none;box-sizing:border-box}.content-workspace-panel.hidden{display:none}.content-workspace-backdrop{position:fixed;inset:0;background:#0f172a6b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto}.content-workspace-card{position:relative;width:min(1100px,100%);max-height:min(90vh,960px);overflow:auto;pointer-events:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:24px;box-shadow:0 30px 80px #0f172a3d;padding:24px;display:grid;gap:18px;box-sizing:border-box}.content-workspace-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.content-workspace-kicker{margin:0 0 4px;text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;color:#2563eb}.content-workspace-header h3{margin:0;color:#0f172a;font-size:22px}.content-workspace-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.content-workspace-close{width:36px;height:36px;border:0;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:24px;cursor:pointer}.content-workspace-tabs{display:flex;flex-wrap:wrap;gap:10px}.content-workspace-tab{border:1px solid #dbeafe;background:#fff;color:#0f172a;border-radius:999px;padding:10px 16px;font-weight:700;cursor:pointer}.content-workspace-tab.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border-color:transparent}.content-workspace-body{display:grid;gap:16px}.workspace-preview,.workspace-hero,.workspace-score{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:#eff6ff;border:1px solid #dbeafe}.workspace-preview-badge{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.workspace-grid{display:grid;gap:14px}.workspace-template-grid,.workspace-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-template-card,.workspace-metric{text-align:left;border:1px solid #dbeafe;background:#fff;border-radius:16px;padding:14px;display:grid;gap:6px;color:#0f172a;box-shadow:0 8px 18px #0f172a0d}.workspace-template-card{cursor:pointer}.workspace-field{display:grid;gap:6px}.workspace-field span{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#64748b}.workspace-field input,.workspace-field textarea{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font:inherit;box-sizing:border-box}.workspace-check,.workspace-ready{display:flex;align-items:center;gap:10px;font-weight:700;color:#334155}.workspace-check input,.workspace-ready input{width:16px;height:16px;accent-color:#2563eb}.workspace-score-ring{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:900;color:#0f172a;background:radial-gradient(circle at center,#ffffff 58%,transparent 59%),conic-gradient(#2563eb calc(var(--score, 0) * 1%),#dbeafe 0);box-shadow:inset 0 0 0 1px #2563eb1f}.workspace-metric.good{border-color:#bbf7d0}.workspace-metric.warn{border-color:#fde68a}.workspace-metric.bad{border-color:#fecaca}.workspace-metric-label,.workspace-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#64748b;font-weight:800}.workspace-list{display:grid;gap:10px}.workspace-list ul{margin:0;padding-left:18px;display:grid;gap:8px;color:#334155;line-height:1.5}.workspace-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.workspace-button{border:0;border-radius:12px;padding:10px 16px;font-weight:700;cursor:pointer}.workspace-button.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.workspace-button.secondary{background:#eff6ff;color:#1d4ed8}@media(max-width:720px){.content-workspace-panel{padding:12px}.content-workspace-card{max-height:calc(100vh - 24px);padding:18px}.workspace-template-grid,.workspace-metrics{grid-template-columns:1fr}}.export-presets-panel{position:fixed;inset:0;z-index:5200;display:flex;align-items:center;justify-content:center;padding:24px}.export-presets-panel.hidden{display:none}.export-presets-backdrop{position:absolute;inset:0;background:#0f172a7a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.export-presets-card{position:relative;width:min(920px,100%);max-height:min(88vh,900px);overflow:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid rgba(148,163,184,.22);border-radius:20px;box-shadow:0 30px 80px #0f172a3d;padding:24px;display:grid;gap:20px}.export-presets-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.export-presets-kicker{margin:0 0 4px;text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;color:#2563eb}.export-presets-header h3{margin:0;font-size:1.5rem;color:#0f172a}.export-presets-subtitle{margin:8px 0 0;color:#475569;line-height:1.5}.export-presets-close{width:36px;height:36px;border:none;border-radius:999px;background:#eff6ff;color:#1d4ed8;cursor:pointer;font-size:1.25rem}.export-presets-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;align-items:start}.export-presets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.export-presets-settings{display:grid;gap:14px;padding:18px;background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;box-shadow:inset 0 1px #fffc}.export-presets-preview{display:grid;gap:10px}.export-presets-preview-header{display:flex;align-items:center;justify-content:space-between}.export-presets-preview-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#64748b}.export-presets-preview-page{position:relative;border-radius:18px;border:1px solid #cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc);aspect-ratio:210 / 297;overflow:hidden;box-shadow:inset 0 1px #fffc}.export-presets-preview-ruler{position:absolute;inset:0;border:2px dashed rgba(37,99,235,.25);border-radius:18px;margin:var(--preview-margin, 10px);transition:margin .2s ease,transform .2s ease}.export-presets-preview-ruler.landscape{aspect-ratio:297 / 210;transform:rotate(90deg)}.export-presets-preview-document{position:absolute;inset:0;display:grid;align-content:start;gap:10px;padding:18px}.export-presets-preview-line,.export-presets-preview-block{border-radius:999px;background:linear-gradient(90deg,#dbeafe,#bfdbfe)}.export-presets-preview-line{height:12px;width:100%}.export-presets-preview-line.short{width:58%}.export-presets-preview-line.medium{width:78%}.export-presets-preview-block{height:72px;border-radius:16px;background:linear-gradient(180deg,#2563eb1f,#2563eb2e);margin:4px 0}.export-presets-preview-meta{display:grid;gap:4px}.export-presets-preview-chip{font-size:.88rem;font-weight:700;color:#1e293b}.export-presets-preview-filename{font-size:.8rem;color:#64748b;word-break:break-word}.export-preset-card{text-align:left;border:1px solid #dbeafe;border-radius:18px;padding:16px;background:#fff;width:100%;min-height:190px;box-shadow:0 10px 24px #0f172a0f;display:grid;gap:10px;align-content:start;color:#0f172a}.export-preset-card.selected{border-color:#2563eb;box-shadow:0 18px 36px #2563eb1f;transform:translateY(-1px)}.export-preset-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.export-preset-badge{font-size:.74rem;font-weight:700;color:#1d4ed8;background:#dbeafe;padding:4px 10px;border-radius:999px}.export-preset-check{font-size:.76rem;color:#64748b}.export-preset-card h4{margin:0;font-size:1.05rem}.export-preset-card p{margin:0;color:#475569;line-height:1.5;font-size:.92rem}.export-preset-card ul{margin:0;padding-left:18px;color:#334155;font-size:.88rem;display:grid;gap:6px}.export-presets-summary{display:grid;gap:4px}.export-presets-summary-label{font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;color:#64748b;font-weight:700}.export-presets-summary strong{font-size:1rem;color:#0f172a}.export-presets-summary span:last-child{color:#475569}.export-presets-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.export-presets-field{display:grid;gap:6px}.export-presets-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#64748b}.export-presets-field input,.export-presets-field select{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 12px;font:inherit}.export-presets-field input:focus,.export-presets-field select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.export-presets-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.export-presets-check{display:flex;align-items:center;gap:10px;font-weight:600;color:#334155}.export-presets-check input{width:16px;height:16px;accent-color:#2563eb}.export-presets-button{border:none;border-radius:12px;padding:10px 16px;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.export-presets-button.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.export-presets-button.secondary{background:#eff6ff;color:#1d4ed8}.export-presets-button svg{width:16px;height:16px}@media(max-width:720px){.export-presets-card{padding:18px}.export-presets-header{flex-direction:column}.export-presets-body{grid-template-columns:1fr}.export-presets-actions{width:100%}.export-presets-inline-fields{grid-template-columns:1fr}.export-presets-button{flex:1 1 160px;justify-content:center}}.editor-code{background-color:#282c34;font-family:Courier New,Courier,monospace;display:block;padding:15px;margin:10px 0;line-height:1.5;border-radius:5px;color:#abb2bf;overflow-x:auto;white-space:pre}.editor-code-keyword{color:#c678dd}.source-view-area{width:100%;height:400px;font-family:Courier New,monospace;padding:15px;background:#282c34;color:#abb2bf;border:1px solid #181a1f;outline:none;resize:vertical}.code-block-wrapper{display:block;position:relative;margin:20px 0;padding:48px 20px 20px;border-radius:8px;background:#282c34!important;border:1px solid #3e4451;box-shadow:0 2px 8px #00000026;transition:box-shadow .2s ease;min-height:80px;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;color:#abb2bf;white-space:pre;tab-size:4;-moz-tab-size:4;overflow-x:auto;z-index:1}.code-block-wrapper:hover{box-shadow:0 4px 12px #00000040}.code-copy-btn{position:absolute;top:10px;right:10px;padding:6px 12px;background:#61afef26;border:1px solid rgba(97,175,239,.4);border-radius:4px;color:#61afef;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;z-index:1000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;pointer-events:auto;user-select:none;-webkit-user-select:none;-moz-user-select:none}.code-copy-btn:hover{background:#61afef33;border-color:#61afef80;transform:translateY(-1px)}.code-copy-btn:active{transform:translateY(0)}.code-copy-btn.copied{background:#98c37933;border-color:#98c37980;color:#98c379}.code-language-badge{position:absolute;top:10px;left:10px;padding:4px 10px;background:#c678dd26;border:1px solid rgba(198,120,221,.3);border-radius:4px;color:#c678dd;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;z-index:100;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.editor-text-code{background-color:#c678dd26;border:1px solid rgba(198,120,221,.3);border-radius:3px;padding:2px 6px;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:.9em;color:#c678dd}.editor-code-keyword{color:#c678dd;font-weight:600}.editor-code-function{color:#61afef}.editor-code-string{color:#98c379}.editor-code-comment{color:#5c6370;font-style:italic}.editor-code-variable{color:#e06c75}.editor-code-number{color:#d19a66}.editor-code-operator{color:#56b6c2}.editor-code-punctuation{color:#abb2bf}.editor-code-class-name{color:#e5c07b}.editor-code-property,.editor-code-tag{color:#e06c75}.editor-code-attr{color:#d19a66}.editor-code-builtin{color:#e5c07b}.editor-code-boolean{color:#d19a66}.editor-code-regex{color:#98c379}.editor-code-selector{color:#e06c75}.editor-code-url{color:#56b6c2;text-decoration:underline}.editor-code-important{color:#e06c75;font-weight:700}.editor-code-deleted{color:#e06c75;background:#e06c751a}.editor-code-inserted{color:#98c379;background:#98c3791a}.editor-code-atrule{color:#c678dd}.editor-code-constant{color:#d19a66}.editor-code-namespace{color:#e5c07b}.editor-code-symbol{color:#61afef}.editor-code-entity{color:#e5c07b}.editor-code-cdata,.editor-code-doctype,.editor-code-prolog{color:#5c6370;font-style:italic}.editor-code-char{color:#98c379}.code-block-wrapper.with-line-numbers{padding-left:60px}.code-block-wrapper.with-line-numbers:before{content:"";position:absolute;left:0;top:0;bottom:0;width:50px;background:#0003;border-right:1px solid #3e4451}.code-block-wrapper::-webkit-scrollbar{height:8px}.code-block-wrapper::-webkit-scrollbar-track{background:#0003;border-radius:4px}.code-block-wrapper::-webkit-scrollbar-thumb{background:#61afef4d;border-radius:4px}.code-block-wrapper::-webkit-scrollbar-thumb:hover{background:#61afef80}@media(max-width:768px){.code-block-wrapper code{font-size:12px;padding:15px}.code-copy-btn{padding:4px 8px;font-size:11px}.code-language-badge{font-size:10px;padding:3px 8px}}.code-block-wrapper:focus-within{outline:2px solid rgba(97,175,239,.5);outline-offset:2px}.code-block-popover{position:absolute;z-index:1000;background:#fff;border:1px solid #d1d5db;border-radius:8px;box-shadow:0 4px 16px #00000026;padding:12px;min-width:280px;transition:opacity .2s ease,transform .2s ease}.code-block-popover.hidden{opacity:0;pointer-events:none;transform:translateY(-4px)}.code-block-popover-content{display:flex;align-items:center;gap:12px}.code-block-label{display:flex;align-items:center;gap:8px;flex:1;font-size:13px;font-weight:500;color:#374151}.code-block-label span{white-space:nowrap}.code-language-select{flex:1;padding:6px 10px;border:1px solid #d1d5db;border-radius:4px;background:#fff;font-size:13px;color:#374151;cursor:pointer;transition:border-color .2s ease}.code-language-select:hover{border-color:#9ca3af}.code-language-select:focus{outline:none;border-color:#61afef;box-shadow:0 0 0 3px #61afef1a}.code-block-delete-btn{padding:6px 12px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:4px;color:#dc2626;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.code-block-delete-btn:hover{background:#ef444433;border-color:#ef444480}.code-block-delete-btn:active{transform:scale(.98)}@media(prefers-color-scheme:dark){.code-block-popover{background:#1f2937;border-color:#374151}.code-block-label{color:#e5e7eb}.code-language-select{background:#111827;border-color:#374151;color:#e5e7eb}.code-language-select:hover{border-color:#4b5563}}.source-view-area{width:100%;height:700px;padding:24px;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;color:gold;background-color:#1e1e1e;border:1px solid #333;border-radius:0;outline:none;resize:none;box-sizing:border-box;tab-size:4;white-space:pre-wrap;word-break:break-all;transition:border-color .2s}.source-view-area:focus{border-color:#0782ed;box-shadow:inset 0 0 0 1px #0782ed}.toolbar.source-mode-active{background-color:#f8f9fa;border-bottom:2px solid #0782ed}#source-toggle-btn.active{background-color:#0782ed;color:#fff;border-color:#0056b3;font-weight:700}.toolbar.source-mode-active button:disabled{opacity:.3;filter:grayscale(1);cursor:not-allowed}.autosave-status{font-size:12px;font-weight:500;transition:all .3s ease;padding:2px 8px;border-radius:4px;margin-right:10px;display:inline-flex;align-items:center}.autosave-status:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:6px;background-color:transparent;transition:background-color .3s}.status-saving{color:#f59e0b}.status-saving:before{background-color:#f59e0b;animation:pulse-amber 1s infinite}.status-saved{color:#10b981}.status-saved:before{background-color:#10b981}.status-error{color:#ef4444}.status-error:before{background-color:#ef4444}.autosave-status.faded{opacity:.6;color:#6b7280}.autosave-status.faded:before{background-color:#d1d5db}@keyframes pulse-amber{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.guide-container{animation:fadeIn .5s ease-out}.guide-container .badge{display:inline-block;padding:4px 12px;border-radius:99px;background:#eff6ff;color:#2563eb;font-size:.75rem;font-weight:700;text-transform:uppercase;margin-bottom:1rem}.guide-container .badge.react{background:#f0f9ff;color:#0ea5e9}.guide-container .badge.vue{background:#f0fdf4;color:#16a34a}.guide-container .badge.vanilla{background:#fffbeb;color:#d97706}.guide-container h1{font-size:2.5rem;font-weight:800;background:linear-gradient(135deg,#0f172a,#334155);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.02em;margin-bottom:1rem}.guide-container .lead{font-size:1.2rem;color:#64748b;margin-bottom:3rem;line-height:1.6}.docs-section{margin-bottom:4rem}.guide-container h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin-bottom:1.25rem;display:flex;align-items:center;gap:.75rem}.guide-container h2:before{content:"";width:4px;height:1.5rem;background:linear-gradient(to bottom,#6366f1,#a855f7);border-radius:2px}.guide-container p{color:#475569;line-height:1.7}.guide-container .troubleshooting-card{background:#fff;border:1px solid rgba(226,232,240,.8);border-radius:16px;padding:2rem;box-shadow:0 10px 15px -3px #0000000a;position:relative;overflow:hidden}.guide-container .troubleshooting-card:before{content:"";position:absolute;top:0;left:0;width:6px;height:100%;background:#6366f1}.guide-container .troubleshooting-card h4{color:#0f172a;font-weight:700;display:flex;align-items:center;gap:.5rem}.guide-container .troubleshooting-card p{font-size:.95rem;margin-top:.5rem}.guide-container .tip-code{background:#0f172a!important;border:1px solid rgba(255,255,255,.1)!important;color:#e2e8f0!important;padding:1.25rem!important;margin-top:1rem!important;font-size:.9rem!important;border-radius:12px!important;box-shadow:inset 0 2px 4px #0003}.guide-container .tip-code code{background:transparent!important;color:#38bdf8!important}.guide-container .code-block{background:#0f172a!important;border-radius:12px;overflow:hidden;margin-top:1.5rem;box-shadow:0 4px 6px -1px #0000001a;color:#fff!important}.guide-container .code-header{background:#ffffff0d;padding:.75rem 1.25rem;color:#94a3b8;font-size:.8rem;border-bottom:1px solid rgba(255,255,255,.1)}.guide-container pre{margin:0;padding:1.5rem;overflow-x:auto}.guide-container code{font-family:Fira Code,monospace!important;font-size:.9em!important;padding:.2rem .4rem!important;background:#f1f5f9!important;color:#4338ca!important;border-radius:4px!important}.code-block pre code{background:transparent!important;padding:0!important;color:#fff!important;font-size:.9rem!important;line-height:1.5!important}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}body{margin:0;font-family:Inter,sans-serif;background-color:#f8fafc;color:#0f172a}.toolbar-item span:not([class*=icon]),.toolbar-item .label,.toolbar-item .text,button.toolbar-item span:not([class*=icon]),[class*=toolbar] span:not([class*=icon]){display:none!important}.toolbar-item,button.toolbar-item{flex-shrink:0!important;display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;height:32px}.divider{margin:0 4px!important}@media(max-width:992px){.container-xl{padding-left:2rem!important;padding-right:2rem!important}.py-5{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.my-5{margin-top:2.5rem!important;margin-bottom:2.5rem!important}}@media(max-width:768px){h1,.h1{font-size:2rem!important}h2,.h2{font-size:1.75rem!important}h3,.h3{font-size:1.5rem!important}.display-1{font-size:3rem!important}.display-2{font-size:2.5rem!important}.display-3{font-size:2.25rem!important}.display-4{font-size:2rem!important}.display-5{font-size:1.75rem!important}.container-xl{padding-left:1.5rem!important;padding-right:1.5rem!important}.btn-lg{padding:.75rem 2rem!important;font-size:1rem!important}.card{margin-bottom:1rem!important}.gap-4{gap:1rem!important}.gap-5{gap:1.5rem!important}}@media(max-width:576px){h1,.h1{font-size:1.75rem!important}h2,.h2{font-size:1.5rem!important}.display-3{font-size:2rem!important}.display-4{font-size:1.75rem!important}.display-5{font-size:1.5rem!important}.container-xl{padding-left:1rem!important;padding-right:1rem!important}.btn-lg{padding:.65rem 1.5rem!important;font-size:.95rem!important}.btn{padding:.5rem 1rem!important;font-size:.9rem!important}.py-5{padding-top:2rem!important;padding-bottom:2rem!important}.my-5{margin-top:2rem!important;margin-bottom:2rem!important}.d-flex.gap-3{flex-direction:column;gap:.75rem!important}.btn-lg,.btn{width:100%}}
