.cm-panel {
    width: min(100% - 2rem, 70rem);
    margin: 2.5rem auto;
    padding: clamp(1rem, 3vw, 2rem);
    color: #422d28;
    background: #fffdf9;
    border: 1px solid #e5d8ce;
    border-radius: 1.25rem;
    text-align: left;
    box-sizing: border-box;
}
.cm-panel [hidden] { display: none !important; }
.cm-panel .cm-head { margin-bottom: 1.25rem; }
.cm-panel h2, .cm-panel h3 { color: #3c0a0d; font-weight: 800; margin: 0 0 .5rem; }
.cm-panel h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
.cm-panel h3 { font-size: 1.15rem; }
.cm-panel p { margin: 0 0 .65rem; line-height: 1.55; }
.cm-panel .cm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cm-panel .cm-card { min-width: 0; padding: 1rem; border: 1px solid #e5d8ce; border-radius: .85rem; background: #fff; }
.cm-panel label { display: block; margin: .9rem 0 .3rem; font-weight: 700; }
.cm-panel label span { font-weight: 500; }
.cm-panel input:not([type=checkbox]), .cm-panel select, .cm-panel textarea {
    width: 100%; min-width: 0; padding: .52rem; box-sizing: border-box;
    border: 1px solid #8f746b; border-radius: .45rem; background: #fff; color: inherit; font: inherit;
}
.cm-panel textarea { resize: vertical; }
.cm-panel input[type=file] { overflow: hidden; }
.cm-panel small, .cm-panel .cm-file-row span { color: #60443b; overflow-wrap: anywhere; }
.cm-panel small { display: block; margin-top: .3rem; line-height: 1.45; }
.cm-panel .cm-file-row, .cm-panel .cm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .7rem; }
.cm-panel .cm-actions { margin-top: 1.1rem; }
.cm-panel .cm-actions p { margin: 0; }
.cm-panel button { padding: .58rem .86rem; border-radius: .45rem; background: #a51e29; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cm-panel button:disabled { opacity: .65; cursor: wait; }
.cm-panel :is(button, a, input, textarea, select, summary):focus-visible { outline: 2px solid #7a1f26; outline-offset: 3px; }
.cm-panel a { color: #8b1620; text-decoration: underline; overflow-wrap: anywhere; }
.cm-panel #cm-sources { margin-top: .8rem; border-left: 3px solid #b51f27; padding: .15rem .7rem; }
.cm-panel ul { margin: .35rem 0; padding-left: 1.3rem; }
.cm-panel .cm-check { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.45; }
.cm-panel .cm-check input[type=checkbox] { flex: 0 0 1.15rem; width: 1.15rem !important; height: 1.15rem !important; min-width: 1.15rem; max-width: 1.15rem; max-height: 1.15rem; margin: .15rem 0 0; padding: 0; accent-color: #a51e29; }
.cm-panel [data-error=true] { color: #9e1420; font-weight: 700; }
.cm-panel .cm-admin details { border-bottom: 1px solid #e5d8ce; padding: .7rem 0; }
.cm-panel .cm-admin summary { cursor: pointer; font-weight: 700; }
.cm-panel .cm-admin details > a { display: block; margin: .45rem 0; }
@media (max-width: 650px) {
    .cm-panel .cm-grid { grid-template-columns: minmax(0, 1fr); }
}
