@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";:root{--bg:#f0f4f8;--surface:#fff;--surface-2:#f7fafc;--border:#dce6ee;--border-focus:#3d6a87;--text-primary:#1a2f3e;--text-secondary:#3d5a6e;--text-muted:#8aa5b8;--primary:#3d6a87;--primary-hover:#2d546d;--primary-light:#e8f3f9;--primary-mid:#4a7c9e;--danger:#e05252;--danger-hover:#c93f3f;--danger-light:#fef2f2;--success:#2ba073;--success-light:#edfaf4;--warning:#e08a2a;--warning-light:#fef8ec;--sidebar-bg:#1a2f3e;--sidebar-hover:#ffffff0f;--sidebar-active-bg:#4a7c9e33;--sidebar-text:#8aa5b8;--sidebar-text-active:#cce1ef;--sidebar-accent:#4a7c9e;--sidebar-border:#ffffff0f;--radius:10px;--radius-sm:6px;--radius-lg:14px;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 1px 3px 0 #1a2f3e14, 0 1px 2px -1px #1a2f3e14;--shadow-md:0 4px 6px -1px #1a2f3e14, 0 2px 4px -2px #1a2f3e0f;--shadow-lg:0 10px 15px -3px #1a2f3e1a, 0 4px 6px -4px #1a2f3e0f}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{background:var(--bg);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.5}#root{height:100%}button{cursor:pointer;font-family:inherit}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{outline:none;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--border-focus)!important;box-shadow:0 0 0 3px #3d6a8724!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c0d4e0;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#8aa5b8}.ProseMirror{outline:none;min-height:280px}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--text-muted);pointer-events:none;height:0}.ProseMirror h2{margin:20px 0 8px;font-size:1.4em;font-weight:700}.ProseMirror h3{margin:16px 0 6px;font-size:1.2em;font-weight:600}.ProseMirror ul,.ProseMirror ol{margin:8px 0;padding-left:24px}.ProseMirror li{margin-bottom:4px}.ProseMirror blockquote{border-left:3px solid var(--primary);color:var(--text-secondary);margin:12px 0;padding-left:14px;font-style:italic}.ProseMirror hr{border:none;border-top:1px solid var(--border);margin:16px 0}.ProseMirror a{color:var(--primary);text-decoration:underline}.ProseMirror code{background:var(--surface-2);border:1px solid var(--border);color:#c7254e;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:12.5px}.ProseMirror .tableWrapper{margin:12px 0;overflow-x:auto}.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%}.ProseMirror th,.ProseMirror td{border:1px solid var(--border);vertical-align:top;min-width:60px;padding:6px 10px;position:relative}.ProseMirror th{background:var(--surface-2,#f1f5f9);text-align:left;font-weight:700}.ProseMirror th p,.ProseMirror td p{margin:0}.ProseMirror .selectedCell:after{content:"";pointer-events:none;background:#2563eb1f;position:absolute;inset:0}.rich-text table{border-collapse:collapse;width:100%;margin:8px 0}.rich-text th,.rich-text td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:6px 10px}.rich-text th{background:var(--surface-2,#f1f5f9)}.rich-text th p,.rich-text td p{margin:0}.ProseMirror pre{background:#1e293b;border-radius:8px;margin:12px 0;padding:14px 16px;overflow-x:auto}.ProseMirror pre code{color:#e2e8f0;background:0 0;border:none;padding:0;font-size:13px;line-height:1.6}@keyframes toastIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.app-shell{min-height:100vh;display:flex}.app-main{background:var(--bg);flex-direction:column;flex:1;min-width:0;display:flex}.mobile-topbar{display:none}@media (width<=900px){.app-shell{flex-direction:column}.mobile-topbar{z-index:900;background:var(--sidebar-bg);align-items:center;gap:10px;height:56px;padding:0 12px;display:flex;position:sticky;top:0;box-shadow:0 2px 8px #00000026}.mobile-menu-btn{border-radius:var(--radius-sm);color:#cce1ef;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.mobile-menu-btn:hover{background:var(--sidebar-hover)}.sidebar-backdrop{z-index:1000;background:#0f1e2a80;position:fixed;inset:0}.page-header{padding:18px 16px 0!important}.page-header h1{font-size:19px!important}.page-content{padding:14px 16px 24px!important}.app-main [style*=grid-template-columns]:not([data-keep-grid]){grid-template-columns:minmax(0,1fr)!important}input,select,textarea{font-size:16px!important}}
