*{box-sizing:border-box}html{background:#f4f6f8;color:#182230;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid rgba(49,87,213,.35);outline-offset:2px}#root,.app-layout{min-height:100vh}.app-sider{position:sticky!important;top:0;height:100vh;display:flex;flex-direction:column}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%;min-height:0}.sider-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}.sider-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.12);background:#ffffff08}.sider-footer-identity{min-width:0}.sider-footer-meta{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:118px}.sider-footer-name{color:#ffffffe0!important;font-size:13px;font-weight:500;line-height:1.2}.sider-footer-role{align-self:flex-start;margin:0;background:#ffffff1a;border:none;color:#ffffffad;font-size:11px;line-height:1.6;text-transform:capitalize}.sider-footer-logout{flex:0 0 auto;color:#ffffffad!important}.sider-footer-logout:hover{color:#ff7875!important;background:#ffffff0f!important}.ant-layout-sider-collapsed .sider-footer{justify-content:center;padding:12px 0}.brand{min-height:72px;display:flex;align-items:center;gap:12px;padding:14px 18px;color:#fff}.brand-mark{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#3157d5;color:#fff;font-weight:800}.brand strong,.brand small{display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand small{margin-top:2px;color:#ffffff8f;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.app-header{height:64px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #eef0f4}.app-content{padding:28px;overflow:hidden}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#edf1ff,#f8f9fc 45%,#edf5f5)}.auth-card{width:min(100%,430px);box-shadow:0 18px 60px #1f2a4e1f}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px}.editor-main .ant-card-body,.editor-sidebar-card .ant-card-body{display:flex;flex-direction:column}.editor-sidebar{position:sticky;top:92px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 116px);overflow-y:auto}.editor-sidebar-card .field-grid{grid-template-columns:minmax(0,1fr)}.full-width-field,.field-grid>.ant-collapse,.field-grid>.ant-card{grid-column:1 / -1}.editorjs-field{min-height:150px;padding:4px 10px;border:1px solid #d9d9d9;border-radius:6px;background:#fff}.editorjs-field .ce-block__content,.editorjs-field .ce-toolbar__content{max-width:100%}.fun-fact-block{border-left:4px solid #3157d5;background:#f0f4ff;border-radius:4px;padding:10px 14px}.fun-fact-block__text{outline:none}.fun-fact-block__text:empty:before{content:attr(data-placeholder);color:#8c8c8c}.chat-fab{position:fixed;right:24px;bottom:24px;z-index:1000;width:56px;height:56px;box-shadow:0 4px 16px #0003}.chat-bubble{border-radius:8px;padding:8px 12px;max-width:85%}.chat-bubble[data-role=user]{background:#3157d5;color:#fff}.chat-bubble[data-role=assistant]{background:#f0f0f0;color:#000}.chat-bubble p{margin:0 0 8px}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble ul,.chat-bubble ol{margin:0 0 8px;padding-left:20px}.chat-bubble pre{background:#0000000f;border-radius:4px;padding:8px;overflow-x:auto}.chat-bubble[data-role=user] pre{background:#ffffff26}.chat-bubble code{font-family:ui-monospace,monospace;font-size:.9em}.ant-table-cell{overflow-wrap:anywhere}@media(max-width:767px){.app-content{padding:18px 14px}.app-header{padding:0 14px}.app-header>div:first-child{display:none}.field-grid{grid-template-columns:minmax(0,1fr)}}
