.template-cms{min-height:100vh;color:#282437;background:#f5f4f8}.template-cms header{height:64px;background:#fff;border-bottom:1px solid #e5e2eb;display:flex;align-items:center;gap:15px;padding:0 24px}.template-cms header b{font-size:20px;letter-spacing:-.05em}.template-cms header span{font-size:14px;color:#59536c;padding-left:15px;border-left:1px solid #dfdae8}.template-cms header button{margin-left:auto}.template-cms h1{margin:0;font-size:28px;letter-spacing:-.03em}.template-cms h2,.template-cms p{margin:0}.template-cms button{background:#302849}.cms-title,.cms-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}.template-cms .cms-tabs button[aria-pressed=true]{color:#42376e;background:#ebe6f5;border-color:#d8cdea}.template-cms .cms-title p{font-size:12px;color:#5f576d}.template-cms main{width:min(820px,100%);margin:0 auto;padding:26px}.template-cms .cms-back{margin-bottom:18px}.template-cms .cms-catalog{width:min(1080px,100%)}.cms-catalog-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px) minmax(120px,180px);gap:12px;margin:22px 0 14px}.cms-catalog-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e6e2ed;border-radius:12px;text-align:left}.cms-catalog-table th,.cms-catalog-table td{padding:14px 16px;border-top:0;border-bottom:1px solid #eeeaf2;vertical-align:middle}.cms-catalog-table th{font-size:13px;color:#59536c}.cms-catalog-table tr:last-child td{border-bottom:0}.cms-catalog-table td:first-child{overflow-wrap:anywhere}.cms-catalog-table small{display:block;margin-top:4px;color:#5f576d}.cms-row-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cms-row-actions a{color:#42376e;text-decoration:underline;text-underline-offset:3px}.template-cms .cms-catalog-empty{padding:18px;color:#59536c;background:#fff;border:1px solid #e6e2ed;border-radius:12px}.template-cms .cms-title>div:last-child,.template-cms .cms-tabs{display:flex;flex-wrap:wrap;gap:8px}.template-cms .cms-tabs{margin:18px 0 12px}.template-cms .cms-panel,.template-cms .cms-login{display:grid;gap:16px;background:#fff;border:1px solid #e6e2ed;border-radius:12px;padding:22px}.template-cms .cms-login{width:min(420px,calc(100% - 30px));margin:32px auto}.template-cms label{display:grid;gap:5px;font-size:13px;font-weight:650}.template-cms label input,.template-cms label textarea,.template-cms label select{width:100%;padding:9px 10px;border:1px solid #d8d2e1;border-radius:7px;margin:0;font-weight:400}.template-cms .cms-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.template-cms .cms-page-preview{border-left:3px solid #b2a0d0;padding:14px 18px;background:#f8f5fc;display:grid;gap:7px}.template-cms .cms-page-preview span{font-size:12px;color:#625575}.template-cms details summary{cursor:pointer;margin-bottom:9px}.template-cms .cms-checkbox{display:flex;align-items:center}.template-cms .cms-checkbox input{width:auto}.template-cms .cms-results video,.template-cms .cms-results img{max-width:100%;max-height:430px}.template-cms .cms-status{margin:16px 24px}.template-cms [role=alert]{color:#9b2b44}@media(max-width:650px){.template-cms .cms-fields{grid-template-columns:1fr}.template-cms main{padding:16px}.cms-catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-catalog-filters label:first-child{grid-column:1/-1}.cms-catalog-table{table-layout:fixed}.cms-catalog-table th:first-child{width:42%}.cms-catalog-table th:nth-child(2){width:15%}.cms-catalog-table th:nth-child(3){width:22%}.cms-catalog-table th,.cms-catalog-table td{padding:10px 8px;font-size:12px}.cms-catalog-table td{overflow-wrap:anywhere;white-space:normal}.cms-row-actions{gap:8px}.cms-row-actions button{padding:7px 8px}}
