#coc-zhenku-menu { cursor: pointer; }
#coc-zhenku-menu:focus-visible { outline: 2px solid #1890ff; outline-offset: -2px; border-radius: 6px; }
.coc-zk-dialog { box-sizing: border-box; width: min(1080px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; border: 0; border-radius: 10px; padding: 24px; color: #1f2329; background: #fff; box-shadow: 0 16px 56px #0003; font: 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; overflow-y: auto; }
.coc-zk-dialog::backdrop { background: #0006; }
.coc-zk-dialog * { box-sizing: border-box; }
.coc-zk-dialog header { display: flex; align-items: center; justify-content: space-between; }
.coc-zk-dialog h2 { margin: 0; font-size: 20px; font-weight: 600; }
.coc-zk-dialog h3 { margin: 0 0 12px; font-size: 16px; }
.coc-zk-dialog button { min-height: 30px; padding: 4px 12px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #1f2329; font: inherit; cursor: pointer; }
.coc-zk-dialog button:hover:not(:disabled) { border-color: #1677ff; color: #1677ff; }
.coc-zk-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.coc-zk-dialog button.coc-zk-primary { background: #1677ff; border-color: #1677ff; color: #fff; }
.coc-zk-dialog button.coc-zk-danger { color: #cf1322; border-color: #ffa39e; }
.coc-zk-dialog .coc-zk-close { border: 0; font-size: 24px; line-height: 1; padding: 0 6px; }
.coc-zk-tabs { display: flex; gap: 4px; margin: 16px 0; border-bottom: 1px solid #f0f0f0; }
.coc-zk-dialog .coc-zk-tab { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 14px; }
.coc-zk-dialog .coc-zk-tab.is-active { border-bottom-color: #1677ff; color: #1677ff; font-weight: 600; }
.coc-zk-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.coc-zk-dialog .coc-zk-chip { border-radius: 999px; }
.coc-zk-dialog .coc-zk-chip.is-active { background: #e6f4ff; border-color: #1677ff; color: #1677ff; }
.coc-zk-search, .coc-zk-select { min-height: 30px; padding: 4px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font: inherit; }
.coc-zk-search { margin-left: auto; width: 240px; }
.coc-zk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.coc-zk-table th, .coc-zk-table td { padding: 8px 6px; border-bottom: 1px solid #f0f0f0; text-align: left; vertical-align: top; }
.coc-zk-table th { color: #646a73; font-weight: 500; white-space: nowrap; }
.coc-zk-table td button { margin: 0 4px 4px 0; }
.coc-zk-table small { color: #8f959e; }
.coc-zk-empty { color: #8f959e; text-align: center !important; padding: 24px !important; }
.coc-zk-qr { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid #f0f0f0; }
.coc-zk-intro { max-width: 340px; max-height: 84px; overflow: auto; color: #646a73; white-space: pre-wrap; word-break: break-all; font-size: 12px; margin-top: 4px; }
.coc-zk-money { color: #cf1322; font-size: 15px; }
.coc-zk-warn { color: #d46b08; font-weight: 600; }
.coc-zk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coc-zk-card { display: grid; gap: 4px; padding: 16px; border: 1px solid #f0f0f0; border-radius: 8px; }
.coc-zk-card[data-action] { cursor: pointer; }
.coc-zk-card b { font-size: 22px; }
.coc-zk-card span { color: #646a73; font-size: 13px; }
.coc-zk-card.is-warn { border-color: #ffd591; background: #fff7e6; }
.coc-zk-tip { color: #646a73; background: #f7f8fa; border-radius: 6px; padding: 10px 12px; margin: 12px 0; }
.coc-zk-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; margin-bottom: 16px; }
.coc-zk-form label { display: grid; gap: 6px; font-weight: 500; }
.coc-zk-form .coc-zk-wide { grid-column: 1 / -1; }
.coc-zk-form input, .coc-zk-tiers input { min-height: 32px; padding: 4px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font: inherit; font-weight: 400; width: 100%; }
.coc-zk-label { display: block; font-weight: 500; margin-bottom: 6px; }
.coc-zk-tiers { max-width: 560px; margin-bottom: 8px; }
.coc-zk-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; color: #646a73; }
.coc-zk-message { min-height: 22px; margin: 12px 0 0; color: #cf1322; }
.coc-zk-message.is-success { color: #237804; }
.coc-zk-editor { position: fixed; inset: 0; display: grid; place-items: center; background: #0005; }
.coc-zk-editor-inner { width: min(560px, calc(100vw - 32px)); background: #fff; border-radius: 10px; padding: 20px; display: grid; gap: 12px; }
.coc-zk-editor-inner label { display: grid; gap: 6px; font-weight: 500; }
.coc-zk-editor-inner input, .coc-zk-editor-inner textarea { padding: 6px 10px; border: 1px solid #d9d9d9; border-radius: 6px; font: inherit; font-weight: 400; }
.coc-zk-editor-btns { display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 760px) { .coc-zk-cards, .coc-zk-form { grid-template-columns: 1fr; } .coc-zk-search { width: 100%; } }
.coc-zk-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #f0f0f0; background: #fafafa; }
.coc-zk-links { max-width: 260px; }
.coc-zk-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; margin-bottom: 4px; }
.coc-zk-link code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #434343; }
.coc-zk-table .coc-zk-link button { min-height: 24px; padding: 0 8px; margin: 0; font-size: 12px; }
.coc-zk-formations tr.is-deleted td { color: #8f959e; }
.coc-zk-formations tr.is-deleted img { opacity: .4; }
.coc-zk-only { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 10px; border-radius: 999px; background: #e6f4ff; color: #1677ff; }
.coc-zk-dialog .coc-zk-only button { min-height: 0; padding: 0 6px; border: 0; background: none; color: inherit; }
.coc-zk-formations td button { white-space: nowrap; }
