/* Редактируемые текстовые страницы: использует существующий layout/main00.html */
.contentpages__header{padding:12px 0 20px;margin-bottom:22px;border-bottom:1px solid #e3e8ef}
.contentpages__title{max-width:100%;margin:8px 0 16px;line-height:1.23;overflow-wrap:anywhere}
.contentpages__underline{height:3px;width:64px;background:linear-gradient(90deg,#163d77,#8dbde0);border-radius:8px}
.contentpages__body{font-size:16px;line-height:1.82;color:#26364b;overflow-wrap:anywhere;min-width:0}
.contentpages__body> :first-child{margin-top:0}
.contentpages__body p{margin:0 0 1.05em}
.contentpages__body h2,.contentpages__body h3,.contentpages__body h4{color:#173b69;line-height:1.35;margin:1.6em 0 .65em;font-weight:700}
.contentpages__body h2{font-size:1.4em}.contentpages__body h3{font-size:1.2em}
.contentpages__body ul,.contentpages__body ol{padding-left:1.65em;margin:0 0 1.15em}
.contentpages__body li{margin-bottom:.38em}
.contentpages__body a{color:#174a91;text-decoration:underline;text-decoration-color:#afc5e0;text-underline-offset:3px}
.contentpages__body a:hover{color:#0b2e59}
.contentpages__body blockquote{margin:1.4em 0;padding:15px 21px;border-left:4px solid #4877a5;background:#f4f7fb;color:#314766;border-radius:0 8px 8px 0}
.contentpages__body img{max-width:100%;height:auto;border-radius:8px}
.contentpages__body figure{max-width:100%}
.contentpages__body .table,.contentpages__body table{max-width:100%;overflow-x:auto}
.contentpages__body table{width:100%;border-collapse:collapse;font-size:14px}
.contentpages__body th,.contentpages__body td{border:1px solid #d9e3ed;padding:11px 12px;vertical-align:top}
.contentpages__body th{background:#edf3f9;color:#173c6a;text-align:left}
.contentpages__body tr:nth-child(even){background:#f9fbfd}
.contentpages__empty{padding:26px;border-radius:12px;background:#f4f7fa;color:#637489;text-align:center}
.contentpages__files{margin-top:34px}
.contentpages__files-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;border-bottom:1px solid #e0e7f0;padding-bottom:14px;margin-bottom:17px}
.contentpages__eyebrow{display:block;font-size:11px;letter-spacing:.11em;font-weight:700;text-transform:uppercase;color:#74859a;margin-bottom:4px}
.contentpages__files-heading h2{margin:0;color:#18395f;font-size:22px;line-height:1.25}
.contentpages__count{display:inline-flex;min-width:33px;height:33px;border-radius:18px;background:#ecf3fa;color:#315a85;font-weight:700;justify-content:center;align-items:center}
.contentpages__file-list{display:grid;gap:16px}
.contentpages__file-card{background:#fff;border:1px solid #dfe7f0;border-radius:14px;padding:18px;box-shadow:0 7px 26px rgba(23,53,87,.045);transition:border-color .2s,box-shadow .2s}
.contentpages__file-card:hover{border-color:#b8cce2;box-shadow:0 10px 28px rgba(23,53,87,.08)}
.contentpages__file-main{display:flex;align-items:flex-start;gap:14px;min-width:0}
.contentpages__file-icon{display:flex;flex:0 0 49px;height:53px;border-radius:12px;background:#eaf2fa;color:#28588b;justify-content:center;align-items:center}
.contentpages__file-icon svg{width:26px;height:26px}
.contentpages__file-description{min-width:0;flex:1}
.contentpages__file-type{font-size:11px;font-weight:750;color:#778aa0;letter-spacing:.07em;text-transform:uppercase}
.contentpages__file-description h3{margin:5px 0 0;line-height:1.45;color:#1f344b;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.contentpages__file-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;margin-left:63px}
.contentpages__button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:8px;font:inherit;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none!important;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.contentpages__button:hover{transform:translateY(-1px)}
.contentpages__button svg{width:17px;height:17px;flex:none}
.contentpages__button--primary{border:1px solid #204879;background:#204879;color:#fff!important}
.contentpages__button--primary:hover{background:#14365f;border-color:#14365f}
.contentpages__button--ghost{background:#fff;border:1px solid #c8d6e6;color:#204879}
.contentpages__button--ghost:hover{background:#edf4fb;border-color:#85a7ca}
.contentpages__inline-preview{margin-top:18px;padding-top:15px;border-top:1px solid #ecf0f4}
.contentpages__inline-heading{font-size:12px;color:#667b92;margin-bottom:9px;font-weight:600}
.contentpages__inline-preview iframe{display:block;width:100%;height:390px;max-height:75vh;border:1px solid #d7e1ec;border-radius:8px;background:#f1f3f5}
.contentpages__dialog{padding:0;border:0;border-radius:12px;width:min(1140px,96vw);max-width:96vw;height:94vh;max-height:94vh;overflow:hidden;box-shadow:0 18px 76px rgba(0,0,0,.32);background:#fff}
.contentpages__dialog::backdrop{background:rgba(10,25,44,.79)}
.contentpages__dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px;background:#173c69;color:#fff}
.contentpages__dialog-top h2{font-size:16px;line-height:1.35;color:#fff;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.contentpages__dialog-close{flex:0 0 36px;height:36px;background:rgba(255,255,255,.15);border:0;border-radius:7px;color:#fff;font-size:26px;cursor:pointer}
.contentpages__dialog-close:hover{background:rgba(255,255,255,.3)}
.contentpages__dialog>iframe{display:block;width:100%;height:calc(100% - 58px);border:0;background:#f2f5f8}
@media(max-width:760px){.contentpages__body{font-size:15px}.contentpages__files-heading h2{font-size:19px}.contentpages__file-card{padding:15px}.contentpages__file-actions{margin-left:0}.contentpages__button{flex:1 1 135px}.contentpages__inline-preview iframe{height:310px}.contentpages__dialog{height:96vh;max-height:96vh}}
@media(max-width:430px){.contentpages__file-icon{flex-basis:43px;height:46px}.contentpages__file-description h3{font-size:14px}.contentpages__inline-preview iframe{height:265px}.contentpages__dialog-top{padding:9px}}
