.cm-pane {
  --cm-line: var(--border, #dedfd7);
  --cm-ink: var(--ink, #202622);
  --cm-dim: var(--ink-muted, #58615a);
  --cm-paper: var(--surface, #fff);
  --cm-tint: var(--surface-tint, #f5f4ef);
  --cm-accent: var(--accent, #b5362c);
  display: grid;
  gap: 1.05rem;
  align-content: start;
  min-width: 0;
  color: var(--cm-ink);
}
.cm-pane[hidden], .cm-pane:empty { display: none; }
#community-panel, #my-community:not(:empty), #operator-panel {
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--cm-paper);
  border: 1px solid var(--cm-line);
  border-radius: var(--radius, 14px);
}
#operator-panel, #room-community { margin-top: 1.25rem; }
#room-community { border-top: 1px solid var(--cm-line); padding-top: 1rem; }
.cm-pane .cm-heading, .cm-pane .cm-copy, .cm-pane .cm-meta, .cm-pane .cm-status { margin: 0; }
.cm-heading { line-height: 1.35; overflow-wrap: anywhere; letter-spacing: -.02em; }
.cm-copy { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.cm-meta { color: var(--cm-dim); font-size: .84rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cm-status { color: #9a251e; padding: .35rem 0; overflow-wrap: anywhere; font-size: .88rem; }
.cm-list, .cm-block, .cm-form { display: grid; gap: .65rem; min-width: 0; }
.cm-list { gap: 0; }
.cm-list > .cm-block { border-top: 1px solid var(--cm-line); padding: 1.05rem 0; }
.cm-list > .cm-block:first-child { border-top: 0; padding-top: .35rem; }
.cm-list > .cm-block:last-child { padding-bottom: .2rem; }
.cm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.cm-actions > .cm-details[open] { flex-basis: 100%; }
.cm-details { min-width: 0; }
.cm-details > summary { width: fit-content; cursor: pointer; padding: .35rem .1rem; color: var(--cm-ink); font-weight: 650; }
.cm-details[open] > summary { margin-bottom: .5rem; }
.cm-form { width: min(100%, 38rem); padding: .6rem .85rem .85rem; background: var(--cm-tint); border-radius: 10px; }
.cm-field { display: grid; gap: .32rem; min-width: 0; color: var(--cm-dim); font-size: .86rem; font-weight: 600; }
.cm-field input, .cm-field select, .cm-field textarea {
  width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #c8cec3;
  border-radius: 8px; background: var(--cm-paper); color: var(--cm-ink); padding: .55rem .72rem; font: inherit; font-weight: 400;
}
.cm-pane > .cm-field { width: min(100%, 24rem); }
.cm-field textarea { min-height: 4.5rem; resize: vertical; }
.cm-button {
  width: fit-content; max-width: 100%; min-height: 2.45rem; padding: .45rem .9rem;
  border: 1px solid var(--cm-line); border-radius: 9px; background: var(--cm-paper); color: var(--cm-ink);
  font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer;
  transition: background-color 160ms var(--ease, ease-out), border-color 160ms var(--ease, ease-out), color 160ms var(--ease, ease-out);
}
.cm-button:hover { border-color: #adb1a7; background: var(--cm-tint); }
.cm-primary, .cm-button[aria-pressed="true"] { color: #fff; background: var(--cm-accent); border-color: var(--cm-accent); }
.cm-primary:hover, .cm-button[aria-pressed="true"]:hover { background: var(--accent-hover, #92291f); border-color: var(--accent-hover, #92291f); }
.cm-button:disabled { opacity: .58; cursor: progress; }
.cm-pane :focus-visible { outline: 3px solid #1b65a0; outline-offset: 2px; }
@media (max-width: 40rem) { .cm-button { min-height: 2.65rem; } }
