.cms-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 32px; }
.cms-template { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 18px; background: #f2ebfa; border: 1px solid #e1d4ee; border-radius: 18px; text-align: left; }
.cms-template strong { font-size: 16px; }
.cms-template span, .cms-public-link { color: #6b47b5; font-size: 13px; font-weight: 850; }
.cms-translations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.cms-translations .pim-toolbar { align-items: start; gap: 10px; }
.cms-translations .pim-toolbar h3 { margin: 0; }
.cms-translations textarea { min-height: 320px; }
.cms-slug-field { display: flex; align-items: center; gap: 8px; }
.cms-slug-field > span { color: var(--muted); font-weight: 600; }
.cms-slug-field input { flex: 1; }
.cms-guidance { font-size: 14px; line-height: 1.7; color: #7b632f; background: #fff1d2; border-radius: 16px; padding: 16px; }
.cms-notice { min-height: 24px; margin: 0 0 14px; font-size: 14px; font-weight: 800; color: #416c50; }
.cms-notice.cms-error { color: #a33152; }
.cms-publication { border-top: 1px solid #e2d7ee; margin-top: 28px; padding-top: 18px; }
.cms-publication .pim-checks { display: flex; gap: 16px; margin-bottom: 20px; }
.cms-preview { background: #fffcf5; padding: 24px; border: 1px solid #e7ddcd; border-radius: 22px; }
.cms-preview article + article { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.cms-prose p { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.85; margin: 0 0 22px; }
.cms-prose { color: #5b5167; font-size: 16px; }
.cms-document { width: min(800px, calc(100% - 40px)); margin: 36px auto 80px; min-height: 45vh; }
.cms-document h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 950; letter-spacing: -1px; margin: 30px 0; }
.cms-document-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; color: #6b47b5; }
.cms-languages { display: flex; gap: 8px; }
.cms-languages a { padding: 7px 11px; border-radius: 10px; background: #f1eaf9; }
.cms-languages a[aria-current] { background: #e1d3f3; font-weight: 900; }
#cms-page-status { color: var(--muted); line-height: 1.7; }
@media (max-width: 1100px) { .cms-translations { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cms-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cms-template { padding: 14px; } .cms-document { margin-top: 20px; } }
@media (max-width: 420px) { .cms-template-grid { grid-template-columns: 1fr; } .cms-slug-field { align-items: start; flex-direction: column; } .cms-slug-field input { width: 100%; } }