.cm-monitor-center { color: #1f2937; }
.cm-head, .cm-section-head, .cm-actions, .cm-bound-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm-head { align-items: flex-start; margin-bottom: 14px; }
.cm-head h2, .cm-section-head h3 { margin: 0; color: #111827; font-weight: 800; }
.cm-head h2 { font-size: 20px; }
.cm-section-head h3 { font-size: 16px; }
.cm-head p, .cm-section-head p { margin: 4px 0 0; color: #6b7280; font-size: 12px; line-height: 1.55; }
.cm-section { margin-top: 12px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.cm-section:first-of-type { margin-top: 0; }
.cm-state, .cm-notice, .cm-guide { margin-top: 10px; padding: 9px 11px; border: 1px solid #dbe3ee; border-radius: 6px; background: #f8fafc; color: #475569; font-size: 12px; line-height: 1.5; }
.cm-state.loading { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.cm-state.warning { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
.cm-state.error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.cm-state.success, .cm-notice { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.cm-guide { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }
.cm-select-label { display: block; max-width: 460px; margin-top: 12px; color: #475569; font-size: 12px; font-weight: 700; }
.cm-select-label .input { margin-top: 5px; }
.cm-device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cm-device-grid div { padding: 9px; border-radius: 6px; background: #f8fafc; }
.cm-device-grid span, .cm-device-grid strong { display: block; }
.cm-device-grid span { color: #64748b; font-size: 11px; }
.cm-device-grid strong { margin-top: 3px; color: #1f2937; font-size: 12px; word-break: break-all; }
.cm-revoke { margin-top: 10px; }
.cm-store-form { display: grid; grid-template-columns: minmax(160px, .8fr) repeat(2, minmax(220px, 1.2fr)) auto; gap: 10px; align-items: end; margin-top: 12px; }
.cm-store-form label { color: #475569; font-size: 12px; font-weight: 700; }
.cm-store-form .input { margin-top: 5px; }
.cm-candidate-picker { position: relative; }
.cm-candidate-picker > .input { width: 100%; }
.cm-candidate-options { position: absolute; z-index: 20; top: calc(100% + 5px); right: 0; left: 0; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .16); }
.cm-candidate-options button { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: transparent; color: #1f2937; font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.cm-candidate-options button:hover, .cm-candidate-options button.selected { background: #f1f5f9; }
.cm-candidate-empty { display: block; padding: 10px; color: #94a3b8; font-size: 12px; font-weight: 400; }
.cm-store-actions { display: flex; gap: 8px; }
.cm-selected-stores, .cm-bound-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.cm-store-choice { display: flex; gap: 10px; align-items: center; min-width: 0; padding: 10px; border: 1px solid #dbe3ee; border-radius: 7px; background: #f8fafc; }
.cm-store-choice img, .cm-store-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; object-fit: cover; }
.cm-store-avatar { display: inline-flex; align-items: center; justify-content: center; background: #ffedd5; color: #c2410c; font-weight: 800; }
.cm-store-avatar.meituan { background: #fef9c3; color: #854d0e; }
.cm-store-choice div { min-width: 0; }
.cm-store-choice small, .cm-store-choice strong, .cm-store-choice div span { display: block; }
.cm-store-choice small { color: #64748b; font-size: 11px; }
.cm-store-choice strong { margin-top: 2px; overflow: hidden; color: #111827; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.cm-store-choice div span { margin-top: 3px; color: #64748b; font-size: 11px; word-break: break-all; }
.cm-store-list { display: grid; gap: 10px; margin-top: 12px; }
.cm-bound-store { padding: 12px; border: 1px solid #e5e7eb; border-radius: 7px; background: #fff; }
.cm-bound-head > strong { color: #111827; font-size: 14px; }
.cm-bound-head > span { padding: 2px 8px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 11px; }
.cm-bound-channels { margin-top: 9px; }
.cm-bound-channels > div { padding: 9px; border-radius: 6px; background: #f8fafc; }
.cm-bound-channels small, .cm-bound-channels strong, .cm-bound-channels span, .cm-bound-channels em { display: block; }
.cm-bound-channels small { color: #64748b; font-size: 11px; }
.cm-bound-channels strong { margin-top: 2px; color: #1f2937; font-size: 12px; }
.cm-bound-channels span { margin-top: 3px; color: #64748b; font-size: 11px; word-break: break-all; }
.cm-bound-channels em { margin-top: 4px; color: #2563eb; font-size: 11px; font-style: normal; font-weight: 700; }
.cm-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 9px; }
@media (max-width: 980px) { .cm-store-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cm-head, .cm-section-head { display: block; } .cm-head .btn, .cm-section-head .btn { margin-top: 8px; } .cm-device-grid, .cm-store-form, .cm-selected-stores, .cm-bound-channels { grid-template-columns: 1fr; } }
