:root{--brand-600: #4F46E5;--brand-700: #4338CA;--brand-500: #6366F1;--brand-200: #C7D2FE;--brand-50: #EEF2FF;--ok-700: #047857;--ok-50: #ECFDF5;--ok-200: #A7F3D0;--warn-700: #B45309;--warn-50: #FFFBEB;--warn-200: #FDE68A;--danger-700: #B91C1C;--danger-50: #FEF2F2;--danger-200: #FECACA;--info-700: #0369A1;--info-50: #F0F9FF;--brand-on-dark: #A5B4FC;--warn-on-dark: #FCD34D;--danger-on-dark: #FCA5A5;--ok-on-dark: #6EE7B7;--ink-on-dark-600: #CBD5E1;--ink-on-dark-500: #94A3B8;--ink-900: #0F172A;--ink-700: #334155;--ink-600: #475569;--ink-500: #64748B;--line-200: #E2E8F0;--line-100: #F1F5F9;--surface: #FFFFFF;--page: #F8FAFC;--raise: #F1F5F9;--tag-role-bg: #EEF2FF;--tag-role-fg: #3730A3;--tag-role-bar: #4F46E5;--tag-emotion-bg: #FFFBEB;--tag-emotion-fg: #B45309;--tag-tech-bg: #F1F5F9;--tag-tech-fg: #334155;--font-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;--font-mono: ui-monospace, "SFMono-Regular", Consolas, "Courier New", monospace;--w-rail: 232px;--w-config: 288px;--h-header: 52px;--h-toolbar: 44px;--h-stat: 28px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.cm-scroller::-webkit-scrollbar{width:10px;height:10px}.cm-scroller::-webkit-scrollbar-track{background:#f1f5f9}.cm-scroller::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:5px;border:2px solid #f1f5f9}.cm-scroller::-webkit-scrollbar-thumb:hover{background:#64748b}.cm-scroller{scrollbar-width:thin;scrollbar-color:#94a3b8 #f1f5f9}@media (pointer: coarse){.cm-cursor{border-left-width:3px}input,textarea,select{font-size:16px}}@media (max-width: 639px){.mobile-hide-xs{display:none!important}.mobile-stack{flex-direction:column;align-items:stretch}.mobile-full-width{width:100%}.mobile-compact{padding:4px!important}.mobile-text-sm{font-size:12px!important}.mobile-tab{padding:8px 12px!important;font-size:12px!important}.mobile-bottom-sheet{position:fixed;bottom:0;left:0;right:0;max-height:70vh;border-radius:16px 16px 0 0;z-index:100}}@media (min-width: 640px) and (max-width: 1023px){.mobile-hide-sm{display:none!important}}@media (min-width: 1024px){.desktop-only{display:flex!important}}@supports (padding: max(0px)){.safe-area-bottom{padding-bottom:max(16px,env(safe-area-inset-bottom))}.safe-area-top{padding-top:max(16px,env(safe-area-inset-top))}}.cm-toolbar,.cm-tab-bar{user-select:none;-webkit-user-select:none}.cm-scroller{-webkit-overflow-scrolling:touch}body{overscroll-behavior-y:none}@media (max-width: 639px){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.cm-panels.cm-panels-top{border-bottom:none;background:transparent}.cm-seek-panel{display:flex;flex-direction:column;gap:8px;margin:8px 12px;padding:10px 12px;background:var(--surface);border:1px solid var(--line-200);border-radius:12px;box-shadow:0 1px 2px #0f172a0f;font-family:var(--font-ui)}.cm-seek-head,.cm-seek-body{display:flex;align-items:center;gap:6px}.cm-seek-input{flex:1 1 auto;min-width:0;height:32px;padding:0 10px;font-size:13px;color:var(--ink-900);background:var(--page);border:1px solid var(--line-200);border-radius:6px;outline:none}.cm-seek-input::placeholder{color:var(--ink-500)}.cm-seek-input:focus{background:#fff;border-color:var(--brand-600);box-shadow:0 0 0 2px var(--brand-50)}.cm-seek-icon-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:var(--ink-600);background:transparent;border:none;border-radius:6px;cursor:pointer}.cm-seek-icon-btn:hover{background:var(--raise);color:var(--ink-900)}.cm-seek-icon-btn svg{width:16px;height:16px}.cm-seek-head .cm-seek-icon-btn:last-child{margin-left:2px;color:var(--ink-500)}.cm-seek-btn{flex:0 0 auto;height:32px;padding:0 12px;font-size:13px;font-weight:500;color:var(--ink-700);background:var(--surface);border:1px solid var(--line-200);border-radius:6px;cursor:pointer}.cm-seek-btn:hover{background:var(--raise)}.cm-seek-opts{display:flex;flex-wrap:wrap;gap:14px}.cm-seek-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-600);cursor:pointer;-webkit-user-select:none;user-select:none}.cm-seek-toggle input[type=checkbox]{width:14px;height:14px;cursor:pointer;accent-color:var(--brand-600)}.admin-shell button,.admin-shell a[role=button]{white-space:nowrap}.admin-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.admin-tabs::-webkit-scrollbar{display:none}.admin-tabs>button{flex:0 0 auto;white-space:nowrap}.admin-table-sticky-first th:first-child,.admin-table-sticky-first td:first-child{position:sticky;left:0;z-index:1}.admin-table-sticky-first th:first-child{background:var(--raise)}.admin-table-sticky-first td:first-child{background:#fff}.admin-table-sticky-first th:first-child,.admin-table-sticky-first td:first-child{box-shadow:1px 0 0 var(--line-200)}
