:root,[data-theme=light],html.light{--theme-bg: #ffffff;--theme-bg-secondary: #fafafa;--theme-bg-tertiary: #f5f5f5;--theme-text: #171717;--theme-text-body: #404040;--theme-text-secondary: #525252;--theme-text-muted: #737373;--theme-border: #e5e5e5;--theme-border-light: #f0f0f0;--theme-primary: #171717;--theme-primary-hover: #404040;--theme-cta: #d4af37;--theme-cta-hover: #b8962e;--theme-hover-bg: #f5f5f5;--theme-card-bg: #ffffff;--theme-card-border: #e5e5e5;--theme-shadow: rgba(0, 0, 0, .04);--theme-shadow-strong: rgba(0, 0, 0, .08);--theme-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-layout-header-bg: #ffffff;--theme-layout-content-bg: #ffffff;--theme-layout-page-bg: #f5f5f5;--theme-primary-ring: rgba(23, 23, 23, .08);--theme-toggle-bg: rgba(255, 255, 255, .92);--theme-toggle-border: #e5e5e5;--theme-toggle-shadow: 0 4px 16px rgba(0, 0, 0, .06);--theme-menu-active-bg: #f5f5f5;--theme-menu-active-text: #171717;--theme-accent-soft: rgba(212, 175, 55, .12);--theme-accent-border: rgba(212, 175, 55, .28);--theme-balance-bg: linear-gradient(135deg, #171717 0%, #2d2d2d 100%);--theme-balance-border: rgba(212, 175, 55, .35);--theme-balance-text: #ffffff;--theme-balance-label: rgba(255, 255, 255, .72);--theme-balance-icon-bg: rgba(212, 175, 55, .18);--theme-chip-bg: var(--theme-bg-tertiary);--theme-success: #22c55e;--theme-warning: #f59e0b;--theme-danger: #ef4444;--theme-info-soft: rgba(212, 175, 55, .12);--theme-info-text: var(--theme-cta);--theme-selected-ring: var(--theme-cta)}[data-theme=dark],html.dark{--theme-bg: #0a0a0a;--theme-bg-secondary: #141414;--theme-bg-tertiary: #1f1f1f;--theme-text: #fafafa;--theme-text-body: #a3a3a3;--theme-text-secondary: #737373;--theme-text-muted: #525252;--theme-border: #333333;--theme-border-light: #262626;--theme-primary: #fafafa;--theme-primary-hover: #d4d4d4;--theme-cta: #d4af37;--theme-cta-hover: #e8c547;--theme-hover-bg: #262626;--theme-card-bg: #171717;--theme-card-border: #333333;--theme-shadow: rgba(0, 0, 0, .24);--theme-shadow-strong: rgba(0, 0, 0, .4);--theme-layout-header-bg: #171717;--theme-layout-content-bg: #171717;--theme-layout-page-bg: #0a0a0a;--theme-primary-ring: rgba(250, 250, 250, .1);--theme-toggle-bg: rgba(23, 23, 23, .95);--theme-toggle-border: #333333;--theme-toggle-shadow: 0 4px 16px rgba(0, 0, 0, .28);--theme-menu-active-bg: rgba(255, 255, 255, .06);--theme-menu-active-text: #fafafa;--theme-accent-soft: rgba(212, 175, 55, .12);--theme-accent-border: rgba(212, 175, 55, .3);--theme-balance-bg: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);--theme-balance-border: rgba(212, 175, 55, .35);--theme-balance-text: #fafafa;--theme-balance-label: #a3a3a3;--theme-balance-icon-bg: rgba(212, 175, 55, .15);--theme-chip-bg: #1f1f1f;--theme-success: #4ade80;--theme-warning: #fbbf24;--theme-danger: #f87171;--theme-info-soft: rgba(212, 175, 55, .12);--theme-info-text: var(--theme-cta);--theme-selected-ring: var(--theme-cta);color-scheme:dark}*,*:before,*:after{box-sizing:border-box}body{font-family:var(--theme-font);color:var(--theme-text);background:var(--theme-bg);-webkit-font-smoothing:antialiased;transition:background-color .2s ease,color .2s ease}#app{min-height:100vh;background:var(--theme-bg);transition:background-color .2s ease}[data-theme=light] .ant-menu:not(.ant-menu-dark) .ant-menu-item-selected,[data-theme=light] .ant-menu-light .ant-menu-item-selected,[data-theme=light] .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title{background-color:var(--theme-menu-active-bg)!important;color:var(--theme-menu-active-text)!important}[data-theme=light] .ant-menu:not(.ant-menu-dark) .ant-menu-item-selected .anticon,[data-theme=light] .ant-menu-light .ant-menu-item-selected .anticon,[data-theme=light] .ant-menu-light .ant-menu-submenu-selected>.ant-menu-submenu-title .anticon{color:var(--theme-menu-active-text)!important}[data-theme=light] .ant-dropdown-menu-item-selected,[data-theme=light] .ant-dropdown-menu-submenu-title-selected,[data-theme=light] .ant-dropdown .ant-menu-item-selected{background-color:var(--theme-menu-active-bg)!important;color:var(--theme-menu-active-text)!important}[data-theme=light] .ant-dropdown-menu-item-selected .ant-dropdown-menu-item-icon,[data-theme=light] .ant-dropdown-menu-item-selected .theme-menu-check{color:var(--theme-cta)!important}[data-theme=dark] .ant-menu-dark .ant-menu-item-selected,[data-theme=dark] .ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title,[data-theme=dark] .ant-dropdown .ant-menu-dark .ant-menu-item-selected{background-color:var(--theme-menu-active-bg)!important;color:var(--theme-menu-active-text)!important}[data-theme=dark] .ant-menu-dark .ant-menu-item-selected .anticon,[data-theme=dark] .ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title .anticon{color:var(--theme-cta)!important}[data-theme=dark] .ant-dropdown-menu-item-selected,[data-theme=dark] .ant-dropdown-menu-submenu-title-selected,[data-theme=dark] .ant-dropdown .ant-menu-item-selected{background-color:var(--theme-menu-active-bg)!important;color:var(--theme-menu-active-text)!important}[data-theme=dark] .ant-dropdown-menu-item-selected .theme-menu-check{color:var(--theme-cta)!important}.backend-page-title{font-size:18px;font-weight:600;margin:0 0 24px;color:var(--theme-text)}.backend-toolbar{margin-bottom:16px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.backend-empty{padding:48px 0}.backend-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}.backend-card{background:var(--theme-card-bg);border:1px solid var(--theme-card-border);border-radius:16px;padding:20px;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.backend-card-clickable{cursor:pointer}.backend-card-clickable:hover{border-color:var(--theme-cta);box-shadow:0 4px 20px var(--theme-shadow)}.backend-card-header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.backend-card-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid var(--theme-border-light)}.backend-icon-box{width:56px;height:56px;flex-shrink:0;border-radius:12px;background:var(--theme-accent-soft);border:1px solid var(--theme-accent-border);color:var(--theme-cta);font-size:24px;display:flex;align-items:center;justify-content:center}.backend-image-box{width:56px;height:56px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--theme-bg-tertiary);border:1px solid var(--theme-border)}.backend-image-box img{width:100%;height:100%;object-fit:cover}.backend-card-title{font-size:16px;font-weight:600;color:var(--theme-text);margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.backend-meta{font-size:13px;color:var(--theme-text-secondary)}.backend-chip{display:inline-flex;align-items:center;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:var(--theme-chip-bg);color:var(--theme-text);padding:4px 10px;border-radius:6px;font-size:13px;border:1px solid var(--theme-border)}.backend-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--theme-cta);background:var(--theme-accent-soft);border:1px solid var(--theme-accent-border);padding:6px 12px;border-radius:20px}.backend-badge.is-danger{color:var(--theme-danger);background:#ef44441f;border-color:#ef444447}.backend-rich-content{max-height:400px;overflow-y:auto;line-height:1.6;color:var(--theme-text)}.backend-rich-content p{margin:0 0 12px}.backend-rich-content p:last-child{margin-bottom:0}.backend-rich-content ul,.backend-rich-content ol{margin:0 0 12px;padding-left:24px}.backend-rich-content a{color:var(--theme-cta)}.backend-rich-content a:hover{text-decoration:underline}.backend-rich-content img{max-width:100%;height:auto;cursor:zoom-in;vertical-align:middle}.backend-section-panel{background:var(--theme-bg-secondary);border:1px solid var(--theme-border);border-radius:8px;padding:12px}.backend-list-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--theme-border);cursor:pointer;transition:background-color .2s ease}.backend-list-item:last-child{border-bottom:none}.backend-list-item:hover{background:var(--theme-hover-bg);border-radius:4px;margin:0 -4px;padding:8px 4px}@media (max-width: 768px){.backend-page-title{font-size:16px;margin-bottom:16px}.backend-toolbar{margin-bottom:12px;flex-direction:column;align-items:stretch;gap:8px}.backend-card-grid{grid-template-columns:1fr;gap:12px}.backend-card{padding:16px;border-radius:12px}.backend-icon-box,.backend-image-box{width:48px;height:48px;border-radius:10px;font-size:20px}.backend-card-title{font-size:15px}}.ant-tag{border:none!important}.table-scroll-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.btn-cta{background:var(--theme-cta)!important;border-color:var(--theme-cta)!important;color:#171717!important;font-weight:600!important;transition:background-color .2s ease,border-color .2s ease!important}.btn-cta:hover{background:var(--theme-cta-hover)!important;border-color:var(--theme-cta-hover)!important;color:#171717!important}.btn-outline{background:var(--theme-bg)!important;border:1px solid var(--theme-border)!important;color:var(--theme-text)!important;font-weight:500!important;transition:border-color .2s ease,color .2s ease,background-color .2s ease!important}.btn-outline:hover{border-color:var(--theme-primary)!important;color:var(--theme-primary)!important;background:var(--theme-hover-bg)!important}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
