:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color:#213547;background-color:#f9fafb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:2.5em;line-height:1.1;margin-bottom:.5em}*{box-sizing:border-box}:root{--bg-base: #f9fafb;--bg-surface: #ffffff;--bg-surface-hover: #f3f4f6;--bg-inset: #f3f4f6;--text-primary: #1a1a2e;--text-secondary: #374151;--text-muted: #6b7280;--text-faint: #9ca3af;--border-primary: #e0e3e8;--border-secondary: #e5e7eb;--border-faint: #f3f4f6;--shadow-sm: 0 1px 2px rgba(0,0,0,.05);--shadow-md: 0 4px 12px rgba(0,0,0,.08);--p9-green: #037339;--p9-green-light: #d1fae5;--p9-green-dark: #025a2c}[data-theme=dark]{--bg-base: #0f1117;--bg-surface: #1a1d27;--bg-surface-hover: #252836;--bg-inset: #141620;--text-primary: #e5e7eb;--text-secondary: #d1d5db;--text-muted: #9ca3af;--text-faint: #6b7280;--border-primary: #2d3348;--border-secondary: #252836;--border-faint: #1e2130;--shadow-sm: 0 1px 2px rgba(0,0,0,.3);--shadow-md: 0 4px 12px rgba(0,0,0,.4)}#root{margin:0 auto}@keyframes btn-spin{to{transform:rotate(360deg)}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-base);color:var(--text-primary);transition:background-color .2s,color .2s}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] button{color-scheme:dark}[data-theme=dark] input:not([type=checkbox]):not([type=radio]),[data-theme=dark] select,[data-theme=dark] textarea{background-color:var(--bg-surface)!important;color:var(--text-primary)!important;border-color:var(--border-primary)!important}[data-theme=dark] table{color:var(--text-primary)}[data-theme=dark] th{background-color:var(--bg-inset)!important;color:var(--text-muted)!important;border-color:var(--border-primary)!important}[data-theme=dark] td{border-color:var(--border-faint)!important}[data-theme=dark] [style*="background: white"],[data-theme=dark] [style*="background-color: white"],[data-theme=dark] [style*="background: rgb(255"],[data-theme=dark] [style*='backgroundColor:"white"']{background-color:var(--bg-surface)!important}[data-theme=dark] button:disabled{background-color:var(--border-primary)!important;color:var(--text-faint)!important}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:var(--bg-base)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:var(--border-primary);border-radius:4px}.grid-section-wrapper>div{margin-top:0!important}.op9-editor{border:1px solid var(--border, #e5e7eb);border-radius:6px;overflow:hidden;background:#fff}.op9-editor-internal{border-color:var(--amber-border, #fde68a);background:#fffdf7}.op9-toolbar{display:flex;gap:2px;align-items:center;flex-wrap:wrap;padding:5px 8px;background:#f9fafb;border-bottom:1px solid var(--border, #e5e7eb)}.op9-editor-internal .op9-toolbar{background:#fffbeb;border-bottom-color:var(--amber-border, #fde68a)}.op9-tb-btn{border:1px solid transparent;background:none;padding:3px 8px;border-radius:4px;cursor:pointer;font-size:.82rem;color:var(--text, #111827)}.op9-tb-btn:hover{background:#eef2f7;border-color:var(--border, #e5e7eb)}.op9-tb-btn.active{background:#e0f2f1;border-color:#99d5c9;color:var(--p9-green, #037339)}.op9-toolbar-note{margin-left:auto;font-size:.72rem;color:var(--text-muted, #6b7280)}.op9-link-row{display:flex;gap:6px;padding:6px 8px;border-bottom:1px solid var(--border, #e5e7eb);background:#f9fafb}.op9-link-row input{flex:1;min-width:0;padding:4px 8px;border:1px solid var(--border, #e5e7eb);border-radius:4px;font-size:.82rem}.op9-editor-content .ProseMirror{padding:10px 12px;font-size:.88rem;line-height:1.6;outline:none;min-height:inherit}.op9-editor-content{cursor:text}.op9-editor-content .ProseMirror p{margin:0 0 6px}.op9-editor-content .ProseMirror ul,.op9-editor-content .ProseMirror ol{margin:0 0 6px;padding-left:22px}.op9-editor-content .ProseMirror blockquote{border-left:3px solid var(--border, #e5e7eb);margin:6px 0;padding-left:10px;color:var(--text-muted, #6b7280)}.op9-editor-content .ProseMirror img{max-width:100%;height:auto;border-radius:4px;margin:6px 0;display:block}.op9-editor-content .ProseMirror img.ProseMirror-selectednode{outline:2px solid var(--p9-green, #037339)}.op9-editor-content .ProseMirror a{color:#1d4ed8;text-decoration:underline}.op9-editor-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:#9ca3af;float:left;height:0;pointer-events:none}.op9-mention,.op9-editor-content .ProseMirror .op9-mention{background:#e0f2fe;color:#075985;border-radius:4px;padding:0 3px;font-weight:600}.op9-editor-notice{padding:6px 10px;font-size:.76rem;color:#92400e;background:#fffbeb;border-top:1px solid #fde68a}.op9-mention-list{background:#fff;border:1px solid var(--border, #e5e7eb);border-radius:6px;box-shadow:0 6px 18px #0000001f;padding:4px;min-width:220px;max-height:240px;overflow-y:auto}.op9-mention-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;border:none;background:none;padding:5px 8px;border-radius:4px;cursor:pointer;font-size:.82rem}.op9-mention-item span{font-size:.72rem;color:var(--text-muted, #6b7280)}.op9-mention-item.active,.op9-mention-item:hover{background:#eef2f7}.op9-mention-empty{padding:6px 8px;font-size:.8rem;color:var(--text-muted, #6b7280)}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .op9-editor{background:var(--surface, #1f2937)}}.op9-editor-resizable{resize:vertical;overflow:auto}.op9-editor-resizable .ProseMirror{min-height:100%;box-sizing:border-box}
