.cm-cms-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px;margin:0 0 20px;border:1px solid #303a3e;border-radius:12px;background:#151a1d;scrollbar-width:thin}
.cm-cms-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border-radius:8px;color:#a7b3b8;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap;transition:background .15s,color .15s}
.cm-cms-tabs a:hover{background:#20292b;color:#eef3f2}.cm-cms-tabs a.active{background:#244436;color:#80e5ad;box-shadow:inset 0 0 0 1px #3c775b}
.cm-cms-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:18px;min-width:0}
.cm-cms-list{padding:12px;min-width:0}.cm-cms-list-head,.cm-cms-collection-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 8px 16px}.cm-cms-list-head h2,.cm-cms-collection-head h2,.cm-cms-settings-note h2{font-size:16px;margin:0}.cm-cms-list-head p,.cm-cms-collection-head p{font-size:11px;color:#8e9da3;margin:5px 0 0;line-height:1.5}
.cm-cms-list nav{display:grid;gap:4px}.cm-cms-page-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:11px 10px;border-radius:9px;text-decoration:none;color:#e3e9e8;border:1px solid transparent;transition:background .15s,border-color .15s}.cm-cms-page-link:hover{background:#20282b}.cm-cms-page-link.active{background:#1d3028;border-color:#365444}.cm-cms-page-link>span{display:flex;align-items:center;gap:9px;min-width:0}.cm-cms-page-link>span>.icon{width:16px;height:16px;flex:none;color:#8da69a}.cm-cms-page-link>span>span{display:grid;gap:4px;min-width:0}.cm-cms-page-link strong{font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-cms-page-link small{font:10px/1.3 ui-monospace,Consolas,monospace;color:#839299;overflow:hidden;text-overflow:ellipsis}.cm-cms-page-link i{font-style:normal;font-size:9px;white-space:nowrap;color:#a4aeb0}.cm-cms-page-link i.is-live{color:#79dfa6}
.cm-cms-editor{padding:24px clamp(18px,3vw,34px);min-width:0}.cm-cms-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:0 0 18px;border-bottom:1px solid #303a3e;margin-bottom:20px}.cm-cms-editor-head h2{font-size:20px;margin:5px 0 7px;overflow-wrap:anywhere}.cm-cms-editor-head p{max-width:640px;font-size:12px;line-height:1.6;color:#9daaae;margin:0}.cm-cms-overline{font:10px/1.4 ui-monospace,Consolas,monospace;color:#7ed8a1;letter-spacing:.04em;overflow-wrap:anywhere}.cm-cms-status{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border:1px solid #3b4548;border-radius:99px;color:#b3bdbe;background:#1d2426;font-size:9px;line-height:1.2;white-space:nowrap}.cm-cms-status.is-live{border-color:#355a46;background:#1c3026;color:#88e3ae}
.cm-cms-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cm-cms-body-field{display:grid;margin-top:4px}.cm-cms-body-field textarea{min-height:260px;resize:vertical;font:13px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace}.cm-cms-help{font-size:10px;line-height:1.6;color:#8e9b9e;margin:8px 0 18px}.cm-cms-checkbox{display:flex;align-items:center;gap:9px;min-height:38px;margin:3px 0 17px;color:#d9e2df;font-size:12px;cursor:pointer}.cm-cms-checkbox input{width:16px;height:16px;accent-color:#40bf7b}.cm-cms-checkbox:focus-within{outline:2px solid #69d998;outline-offset:3px;border-radius:3px}.cm-cms-error:empty{display:none}.cm-cms-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding-top:14px;border-top:1px solid #303a3e}.cm-cms-actions-note{flex:1 1 180px;font-size:10px;line-height:1.5;color:#8b989d}.cm-cms-preview{margin-top:18px;padding:14px;border:1px solid #313a3e;border-radius:10px}.cm-cms-preview summary{font-size:12px;color:#cad4d0;cursor:pointer}.cm-cms-preview .prose{margin-top:15px}
.cm-cms-collection{padding:20px;min-width:0}.cm-cms-collection-head{padding:0 0 18px}.cm-cms-faq-list{display:grid;gap:10px}.cm-cms-faq-list article{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px;border:1px solid #303a3e;border-radius:11px;background:#171d20}.cm-cms-faq-list h3{font-size:14px;margin:10px 0 6px}.cm-cms-faq-list p{max-width:820px;color:#a9b5b7;font-size:12px;line-height:1.65;margin:0;white-space:pre-wrap}.cm-cms-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.cm-cms-gallery article{min-width:0;overflow:hidden;border:1px solid #303a3e;border-radius:12px;background:#171d20}.cm-cms-gallery img{display:block;aspect-ratio:16/10;width:100%;object-fit:cover;background:#111719}.cm-cms-gallery article>div{padding:13px}.cm-cms-gallery h3{font-size:13px;margin:8px 0 5px;overflow-wrap:anywhere}.cm-cms-gallery p{min-height:34px;color:#9aa8aa;font-size:11px;line-height:1.5;margin:0 0 9px}.cm-cms-file{display:block;max-width:100%;overflow-wrap:anywhere;color:#87969b;font:9px/1.45 ui-monospace,Consolas,monospace}.cm-cms-card-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.cm-cms-note{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;margin:0 0 16px;border:1px solid #394844;border-radius:9px;background:#192521;color:#b8c6c0}.cm-cms-note>.icon{width:15px;height:15px;flex:none;color:#80d7a5;margin-top:2px}.cm-cms-note p{font-size:10px;line-height:1.6;margin:0}
.cm-cms-settings-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);align-items:start;gap:16px}.cm-cms-settings-grid>.panel{padding:22px;min-width:0}.cm-cms-settings-grid .field textarea{min-height:88px;resize:vertical}.cm-cms-settings-note>p{font-size:11px;line-height:1.7;color:#95a4a7}.cm-cms-copy-preview{display:grid;gap:9px;padding:18px;margin-top:14px;border:1px solid #33403d;border-radius:11px;background:linear-gradient(145deg,#1d2825,#151a1d)}.cm-cms-copy-preview strong{font-size:21px;line-height:1.2;white-space:pre-line}.cm-cms-copy-preview p{font-size:11px;line-height:1.6;color:#a6b3b3;margin:0}.cm-cms-copy-preview>span:last-of-type{font-size:11px;color:#7de0a7}.cm-cms-copy-preview small{font-size:9px;color:#8d9a9c}
.cm-cms-state{display:grid;justify-items:start;gap:10px;padding:26px}.cm-cms-state h2{font-size:17px;margin:0}.cm-cms-state p{font-size:12px;line-height:1.6;color:#a7b2b5;margin:0}.cm-cms-spinner{width:23px;height:23px;border:2px solid #46524f;border-top-color:#62d18e;border-radius:50%;animation:cm-cms-spin .8s linear infinite}@keyframes cm-cms-spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){.cm-cms-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-cms-settings-grid{grid-template-columns:1fr}.cm-cms-settings-note{order:-1}}
@media(max-width:780px){.cm-cms-layout{grid-template-columns:minmax(0,1fr)}.cm-cms-list nav{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-cms-editor{padding:18px}.cm-cms-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cm-cms-tabs{margin:0 -2px 14px}.cm-cms-tabs a{padding-inline:12px}.cm-cms-list nav{grid-template-columns:minmax(0,1fr)}.cm-cms-fields{grid-template-columns:minmax(0,1fr);gap:0}.cm-cms-editor-head{display:grid;gap:12px}.cm-cms-actions{align-items:stretch}.cm-cms-actions .btn{flex:1 1 145px;justify-content:center}.cm-cms-actions-note{order:1;flex-basis:100%}.cm-cms-gallery{grid-template-columns:minmax(0,1fr)}.cm-cms-collection{padding:15px}.cm-cms-collection-head{align-items:flex-start}.cm-cms-faq-list article{display:grid;gap:12px}.cm-cms-settings-grid>.panel{padding:16px}}
@media(prefers-reduced-motion:reduce){.cm-cms-spinner{animation:none}.cm-cms-tabs a,.cm-cms-page-link{transition:none}}
.cm-catalog-fixed{display:grid;align-content:center;gap:4px;min-height:63px;padding:10px 12px;border:1px solid #394348;border-radius:8px;background:#171d20}.cm-catalog-fixed>span{font-size:10px;color:#91a0a5}.cm-catalog-fixed>strong{font-size:13px;color:#d9e3df}.cm-catalog-fixed>small{font-size:9px;color:#849398}
