@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800&family=Onest:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");
/*
- © nk-cs.ru 2010-2021
- Author: Erdem Turan (na3uTuB4uk)
- Author Email: support@nk-cs.ru
- ВКонтакте: http://vk.com/na3utub4uk
- Skype: na3uTuB4uk94
- Web Site: https://www.nk-cs.ru/
*/

/* FDLE main Style */
@import url('/css/engine.css');
@import url('/css/styles.css');
@import url('/css/gott.css');
@import url('/css/owl.carousel.css');
@import url('/css/owl.transitions.css');
@import url('/css/site.min.css');

/* Other style FDLE */
.com-order-block {display: none !important;}

/*--- Dle spoiler to uCoz ---*/
.uSpoilerButton { font-weight: normal !important; text-transform: none !important; margin-top: 2px !important; padding: 3px 5px !important; background: #222 !important; color: #ccc !important; border: 1px solid #111 !important; border-radius: 0px !important; box-shadow: none !important; width: 100% !important; height: 30px !important; line-height: 15px !important; text-align: left !important; justify-content: left !important; }
.uSpoilerText { font-weight: normal !important; margin-bottom: 2px !important; padding: 3px 5px !important; background: #222 !important; color: #ccc !important; border: 1px solid #111 !important; border-top: 0px !important;width: 100% !important;text-align: justify !important;justify-content: left !important;}

/*--- Dle quote to uCoz ---*/
.bbQuoteName {display: none !important;}
.quoteMessage { margin:15px 0 10px 10px; padding:5px 10px; position: relative; background-color: #30353b; color: #ddd; border-right: none !important; border-top: none !important; border-bottom: none !important; border-left: 3px solid #a5b33d !important; }

/*--- Dle code to uCoz ---*/
.bbCodeName {display: none !important;}
.codeMessage { border: none !important; display: block; padding: 10px; background: #222; color: #DCDCDC; text-shadow: 0 1px 1px #111; box-shadow: inset 0 2px 15px rgb(0 0 0 / 50%); font-family: Consolas,'Courier New',monospace; font-size: 14px; line-height: 18px; border-radius: 4px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; }

/* Подсветка кода */ 
div .codeMessage .nocode {background-color:none; color: #555 }
div .codeMessage .str {color: #93a1a1; font-style: italic; }
div .codeMessage .kwd {color: #859900; }
div .codeMessage .com {color: #93a1a1; font-style: italic; }
div .codeMessage .typ {color: #93a1a1; font-style: italic; }
div .codeMessage .lit {color: #268bd2; }
div .codeMessage .pun {color: #b58900; }
div .codeMessage .pln {color: #dc322f; }
div .codeMessage .tag {color: #2aa198; }
div .codeMessage .atn {color: #2aa198; }
div .codeMessage .atv {color: #cb4b16; }
div .codeMessage .dec {color: #cb4b16; }

/* Specify class=linenums on a pre to get line numbering */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type:none }

/* Alternate shading for lines */
li.L1,li.L3,li.L5,li.L7,li.L9 { }

/* Выделение кода */ 
/* webkit, opera, IE9 */
.codeMessage ::selection {background:#C0C0C0;} 
/* mozilla firefox */
.codeMessage ::-moz-selection {background:#C0C0C0;}

/*---Вывод результатов голосования на сайте---*/
.progress {overflow:hidden; margin-top:10px; margin-bottom:10px; background-color:whitesmoke; height:10px; -webkit-border-radius:8px; -moz-border-radius:8px; -ms-border-radius:8px; -o-border-radius:8px; border-radius:8px; background:#eee; -webkit-box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset; box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;}
.progress0 {
background: #bd3c3c !important; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JkM2MzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5ZDJmMmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #bd3c3c 0%, #9d2f2f 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd3c3c), color-stop(100%,#9d2f2f)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* IE10+ */
background: linear-gradient(to bottom, #bd3c3c 0%,#9d2f2f 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bd3c3c', endColorstr='#9d2f2f',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.progress1 {
background: #76ba4a !important; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzc2YmE0YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MmEyM2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #76ba4a 0%, #62a23d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#76ba4a), color-stop(100%,#62a23d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* IE10+ */
background: linear-gradient(to bottom, #76ba4a 0%,#62a23d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#76ba4a', endColorstr='#62a23d',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.progress2 {
background: #e88401 !important; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U4ODQwMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjZTc1MDIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #e88401 0%, #ce7502 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e88401), color-stop(100%,#ce7502)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #e88401 0%,#ce7502 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #e88401 0%,#ce7502 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #e88401 0%,#ce7502 100%); /* IE10+ */
background: linear-gradient(to bottom, #e88401 0%,#ce7502 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e88401', endColorstr='#ce7502',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(245, 187, 110, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(245, 187, 110, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(245, 187, 110, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.progress3 {
background-color: #4bb1cf !important;
background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
background-image: linear-gradient(top, #5bc0de, #339bb9);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(155, 180, 216, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(155, 180, 216, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(155, 180, 216, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.progress4 {
background: #bd3c3c !important; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JkM2MzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5ZDJmMmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #bd3c3c 0%, #9d2f2f 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd3c3c), color-stop(100%,#9d2f2f)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #bd3c3c 0%,#9d2f2f 100%); /* IE10+ */
background: linear-gradient(to bottom, #bd3c3c 0%,#9d2f2f 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bd3c3c', endColorstr='#9d2f2f',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(207, 83, 83, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.progress5 {
background: #76ba4a !important; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzc2YmE0YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MmEyM2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #76ba4a 0%, #62a23d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#76ba4a), color-stop(100%,#62a23d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #76ba4a 0%,#62a23d 100%); /* IE10+ */
background: linear-gradient(to bottom, #76ba4a 0%,#62a23d 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#76ba4a', endColorstr='#62a23d',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
box-shadow: inset 0px 1px 0px 0px rgba(154, 229, 105, 0.75);
height: 10px !important;
margin-top: -3px !important;
margin-bottom: 0px !important;
}

.pollBut {display: none;}

/* Основной блок */
.eBlock {
 background-color: #ffffff;
 border-radius: 8px;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 margin-bottom: 20px;
 padding: 15px;
 transition: box-shadow 0.3s ease;
}

.eBlock:hover {
 box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Заголовок */
.eTitle {
 font-size: 20px;
 font-weight: bold;
 margin-bottom: 10px;
}

.eTitle a {
 color: #2c3e50;
 text-decoration: none;
 transition: color 0.3s ease;
}

.eTitle a:hover {
 color: #3498db;
}

/* Сообщение */
.eMessage {
 color: #555;
 font-size: 14px;
 line-height: 1.6;
 margin-bottom: 10px;
}

/* Прикрепления */
.eAttach {
 color: #777;
 font-size: 12px;
 margin-bottom: 10px;
}

/* Детали */
.eDetails {
 font-size: 12px;
 color: #777;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
}

.eDetails .ed-title {
 font-weight: bold;
 margin-right: 5px;
}

.eDetails .ed-value a {
 color: #3498db;
 text-decoration: none;
 transition: color 0.3s ease;
}

.eDetails .ed-value a:hover {
 color: #2980b9;
}

.eDetails .ed-sep {
 color: #ccc;
}

/* Рейтинг */
.rate-stars-wrapper {
 margin-left: auto; /* Выравнивание вправо */
}

/* Комментарии */
.e-comments {
 color: #e67e22;
 text-decoration: none;
 transition: color 0.3s ease;
}

.e-comments:hover {
 color: #d35400;
}

/* Модераторская панель */
.moder-panel {
 float: right;
 margin-bottom: 10px;
}

/* ===== Редизайн «Школа» (2026-09) — слой поверх старого шаблона ===== */
:root{--tt-acc:#1f8a5b;--tt-acc2:#176e48;--tt-ink:#14231b;--tt-mut:#56635b;--tt-bg:#f4f6f2;--tt-line:#dae1dc;--tt-soft:#e3f1e8;--tt-dark:#14231b}
body{background:var(--tt-bg)!important;color:#26352c!important;font-family:Onest,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:16px}
body>br,main+br{display:none}
.cont-page{background:transparent!important;box-shadow:none!important;padding-top:0}
.cont-page>.panel:empty{display:none}
a{color:var(--tt-acc)}a:hover,a:focus{color:var(--tt-acc2)}
h1,h2,h3,h4,h5,.eTitle,.eTitle a{font-family:Onest,system-ui,sans-serif!important;color:var(--tt-ink)}
.panel{border:1px solid var(--tt-line)!important;border-radius:16px!important;box-shadow:none!important;overflow:hidden}
.panel-heading{background:#fff!important;color:var(--tt-ink)!important;border-bottom:1px solid var(--tt-line)!important;font-weight:700}
.btn-primary,.btn-success{background:var(--tt-acc)!important;border-color:var(--tt-acc)!important;border-radius:10px}
.form-control{border-radius:10px;border-color:#cbd5ce}

/* шапка */
.tt-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 -15px 8px;padding:18px 28px;background:#fff;border:1px solid var(--tt-line);border-top:0;border-radius:0 0 18px 18px}
.tt-logo{display:flex;align-items:center;gap:12px;color:var(--tt-ink)!important;text-decoration:none!important}
.tt-logo-ico{width:40px;height:40px;border-radius:11px;background:var(--tt-acc);display:flex;align-items:center;justify-content:center;flex:none}
.tt-logo b{display:block;font-size:20px;font-weight:800;line-height:1.1}
.tt-logo small{display:block;font-size:12px;color:var(--tt-mut);font-weight:500}
.tt-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-weight:500;font-size:15px}
.tt-nav a{color:var(--tt-ink);text-decoration:none!important}
.tt-nav a:hover{color:var(--tt-acc)}
.tt-nav .tt-user{color:var(--tt-mut)}
.tt-nav .tt-cta{padding:10px 16px;border-radius:10px;background:var(--tt-acc);color:#fff!important;font-weight:600}
.tt-nav .tt-cta:hover{background:var(--tt-acc2)}
.tt-burger{display:none;border:1px solid var(--tt-line);background:#fff;border-radius:10px;width:44px;height:40px;font-size:20px;color:var(--tt-ink)}
@media (max-width:991px){.tt-burger{display:block}.tt-nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:14px;padding-top:6px}.tt-head.open .tt-nav{display:flex}.tt-head{padding:14px 16px}}

/* главная: герой, шаги, сигналы */
.tt-hero{padding:40px 4px 26px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.tt-badge{padding:6px 12px;border-radius:999px;background:var(--tt-soft);color:var(--tt-acc);font-size:14px;font-weight:600}
.tt-hero h1{margin:0;font-size:clamp(32px,5vw,54px);line-height:1.06;font-weight:800;letter-spacing:-.02em;max-width:900px;text-wrap:balance}
.tt-hero p{margin:0;font-size:18px;line-height:1.6;color:#3a4a40;max-width:760px}
.tt-btns{display:flex;gap:12px;flex-wrap:wrap}
.tt-btn{display:inline-block;padding:14px 22px;border-radius:12px;font-weight:600;text-decoration:none!important}
.tt-btn-p{background:var(--tt-acc);color:#fff!important}.tt-btn-p:hover{background:var(--tt-acc2)}
.tt-btn-s{background:#fff;border:1px solid #cbd5ce;color:var(--tt-ink)!important}.tt-btn-s:hover{border-color:var(--tt-acc)}
.tt-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 28px}
.tt-step{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:16px;background:#fff;border:1px solid var(--tt-line);color:var(--tt-ink)!important;text-decoration:none!important;transition:border-color .15s,transform .15s}
.tt-step:hover{border-color:var(--tt-acc);transform:translateY(-2px)}
.tt-step i{font-style:normal;width:36px;height:36px;border-radius:18px;background:var(--tt-soft);color:var(--tt-acc);font-weight:800;display:flex;align-items:center;justify-content:center}
.tt-step b{font-size:17px;line-height:1.25}
.tt-step span{font-size:14px;line-height:1.5;color:var(--tt-mut)}
@media (max-width:991px){.tt-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.tt-steps{grid-template-columns:1fr}}
.tt-sig{margin:0 0 32px;padding:32px;border-radius:20px;background:var(--tt-dark);color:#e8f4ed;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:32px;align-items:center}
.tt-sig-l{display:flex;flex-direction:column;gap:14px}
.tt-sig small{font-size:14px;font-weight:600;color:#8fd6b4}
.tt-sig h2{margin:0;font-size:32px;line-height:1.15;font-weight:800;color:#fff!important;text-wrap:balance}
.tt-sig p{margin:0;color:#c2dccd;line-height:1.6}
.tt-sig .tt-btn-w{align-self:flex-start;background:#fff;color:var(--tt-ink)!important;font-weight:700}
@media (max-width:991px){.tt-sig{grid-template-columns:1fr;padding:22px}}
.tt-sig .pqw{background:transparent;border:0;padding:0;color:#e8f4ed;font-family:inherit}
.tt-sig .pqw h3{display:none}
.tt-sig .pqw-g{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:560px){.tt-sig .pqw-g{grid-template-columns:1fr}}
.tt-sig .pqw-c{background:#1b2a21;border-color:#23372b;color:#e8f4ed}
.tt-sig .pqw-c:hover{border-color:#8fd6b4}
.tt-sig .pqw-t{color:#e8f4ed}.tt-sig .pqw-t.pqw-u{color:#7ee2b8}.tt-sig .pqw-t.pqw-d{color:#ffb0a3}
.tt-sig .pqw-s,.tt-sig .pqw-f{color:#b5cabd}
.tt-sig .pqw-b{background:var(--tt-acc)}
.tt-h2{margin:0 0 14px;font-size:26px;font-weight:800;color:var(--tt-ink)}

/* боковая колонка */
.tt-side{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}
.tt-box{background:#fff;border:1px solid var(--tt-line);border-radius:16px;padding:18px}
.tt-box h4{margin:0 0 10px;font-size:16px;font-weight:700}
.tt-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.tt-links a{display:block;padding:7px 10px;border-radius:8px;color:var(--tt-ink);text-decoration:none!important}
.tt-links a:hover{background:var(--tt-soft);color:var(--tt-acc)}
.tt-search{display:flex;gap:8px}
.tt-search input{flex:1;min-width:0;height:40px;border:1px solid #cbd5ce;border-radius:10px;padding:0 12px;font:inherit}
.tt-search button{height:40px;padding:0 14px;border:0;border-radius:10px;background:var(--tt-acc);color:#fff;font-weight:600}
.tt-box .pqw{border:0;padding:0;font-family:inherit}
.tt-box .pqw h3{font-size:16px}
.tt-box-dark{background:var(--tt-dark);border-color:var(--tt-dark);color:#c2dccd}
.tt-box-dark h4{color:#fff!important}
.tt-box-dark .tt-btn{padding:11px 16px;margin-top:10px}

/* подвал */
.panel:has(.tt-foot){margin:24px -15px 0!important;border-radius:18px 18px 0 0!important}
.panel:has(.tt-foot) .footerh{display:none}
.panel-body:has(.tt-foot){background:#fff!important;color:var(--tt-mut)!important;padding:22px 28px!important}
/* статьи: читаемость */
.col-md-9.my img,.col-md-9.my iframe,.col-md-9.my video{max-width:100%!important;height:auto}
.col-md-9.my table{max-width:100%}
.page-content-wrapper,.page-content-wrapper p,.page-content-wrapper span,.page-content-wrapper div,.page-content-wrapper li,.page-content-wrapper td,.eMessage,.eMessage *,.eText,.eText *{font-family:Onest,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}
.page-content-wrapper:not(:has(#allEntries)){background:#fff;border:1px solid var(--tt-line);border-radius:16px;padding:26px 30px;font-size:17px;line-height:1.7;color:#26352c;overflow-wrap:anywhere}
@media (max-width:560px){.page-content-wrapper:not(:has(#allEntries)){padding:18px 16px}}
/* ссылки в контенте — акцентный синий вместо старого оливкового */
.col-md-9.my a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action){color:var(--tt-acc)!important}
.col-md-9.my a:not([class*="pqw"]):not(.tt-btn):hover{color:var(--tt-acc2)!important}
.eTitle a,.eTitle{color:var(--tt-ink)!important}
.tt-foot a{color:var(--tt-acc)!important}.tt-foot a:hover{color:var(--tt-acc2)!important}.pqw a.pqw-c{color:#101a14!important}.tt-sig .pqw a.pqw-c{color:#e8f4ed!important}
/* ===== Статьи «Школы»: компоненты (tt-art) ===== */
.tt-art{font-size:17px;line-height:1.7;color:#26352c;max-width:820px}
.tt-art>*+*{margin-top:18px}
.tt-art h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.12;font-weight:800;letter-spacing:-.015em;color:var(--tt-ink);text-wrap:balance}
.tt-art h2{margin:40px 0 0;font-size:26px;line-height:1.2;font-weight:800;color:var(--tt-ink);scroll-margin-top:16px}
.tt-art h3{margin:28px 0 0;font-size:20px;line-height:1.3;font-weight:700;color:var(--tt-ink)}
.tt-art p{margin:14px 0 0}
.tt-art ul,.tt-art ol{margin:14px 0 0;padding-left:22px}
.tt-art li+li{margin-top:6px}
.tt-art b,.tt-art strong{color:var(--tt-ink)}
.tt-kicker{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--tt-mut)}
.tt-chip{display:inline-block;padding:4px 10px;border-radius:999px;background:var(--tt-soft);color:var(--tt-acc);font-size:13px;font-weight:600;line-height:1.4}
.tt-chip-up{background:#e3f6ee;color:#0b7a55}.tt-chip-dn{background:#fde8e6;color:#c2412d}.tt-chip-gray{background:#edf0ec;color:#56635b}
.tt-lead{font-size:19px;line-height:1.6;color:#3a4a40}
.tt-toc{background:#f4f6f2;border:1px solid var(--tt-line);border-radius:14px;padding:16px 20px}
.tt-toc b{display:block;margin-bottom:6px;font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--tt-mut)}
.tt-toc ol{margin:0;padding-left:20px;columns:2;column-gap:28px;font-size:15px}
.tt-toc li{break-inside:avoid;margin:0 0 4px}
.tt-note,.tt-warn,.tt-key{border-radius:14px;padding:16px 20px;font-size:16px;line-height:1.6}
.tt-note{background:#e8f4ed;border:1px solid #d3e9dc}
.tt-warn{background:#fff6e8;border:1px solid #f5ddb3}
.tt-key{background:var(--tt-dark);color:#d6ecdf}
.tt-key b,.tt-key strong{color:#fff}
.tt-note>b:first-child,.tt-warn>b:first-child,.tt-key>b:first-child{display:block;margin-bottom:4px}
.tt-fig{margin:22px 0 0}
.tt-fig img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--tt-line)}
.tt-fig figcaption{margin-top:8px;font-size:14px;color:var(--tt-mut);line-height:1.5}
.tt-ex{margin:26px 0 0;border:1px solid var(--tt-line);border-radius:16px;overflow:hidden;background:#fff}
.tt-ex-h{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--tt-line);background:#fafbf9}
.tt-ex-h b{font-size:17px;color:var(--tt-ink)}
.tt-ex-h span{display:flex;flex-wrap:wrap;gap:6px}
.tt-ex img{display:block;width:100%;height:auto}
.tt-ex-b{padding:14px 18px 16px;font-size:16px;line-height:1.6}
.tt-ex-b p{margin:8px 0 0}.tt-ex-b p:first-child{margin-top:0}
.tt-ex-r{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f4f6f2;font-size:15px}
.tt-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tt-card{border:1px solid var(--tt-line);border-radius:14px;padding:16px 18px;background:#fff;font-size:16px;line-height:1.55}
.tt-card h4{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--tt-ink)}
@media (max-width:640px){.tt-grid2{grid-template-columns:1fr}.tt-toc ol{columns:1}}
.tt-tbl{overflow-x:auto;border:1px solid var(--tt-line);border-radius:14px}
.tt-tbl table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;font-variant-numeric:tabular-nums}
.tt-tbl th,.tt-tbl td{padding:10px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--tt-line)}
.tt-tbl th{background:#f4f6f2;font-weight:700;color:var(--tt-ink);white-space:nowrap}
.tt-tbl tr:last-child td{border-bottom:0}
.tt-check{list-style:none;padding-left:0!important}
.tt-check li{position:relative;padding-left:30px}
.tt-check li:before{content:"✓";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:10px;background:#e3f6ee;color:#0b7a55;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
.tt-next{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:36px;padding:20px 22px;border-radius:16px;background:var(--tt-dark);color:#c2dccd}
.tt-next b{display:block;color:#fff;font-size:19px}
.tt-next .tt-btn{padding:12px 18px}
.tt-src{font-size:13px;color:var(--tt-mut)}
.tt-cal{border:1px solid var(--tt-line);border-radius:14px;overflow:hidden;background:#fff}
/* ссылки в тёмных врезках статей */
.col-md-9.my .tt-key a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action),.col-md-9.my .tt-next a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action){color:#8fd6b4!important}
.tt-art .pqw{margin-top:14px}
/* ===== Каталог книг: список (только файловый каталог — у него есть .e-loads) ===== */
#allEntries:has(.e-loads){display:flex;flex-direction:column;gap:10px;counter-reset:tbook}
#allEntries:has(.e-loads)>div{counter-increment:tbook}
#allEntries:has(.e-loads) table.eBlock,#allEntries:has(.e-loads) table.eBlock>tbody,#allEntries:has(.e-loads) table.eBlock>tbody>tr{display:block;width:100%}
#allEntries:has(.e-loads) table.eBlock{position:relative;background:#fff;border:1px solid var(--tt-line);border-radius:14px;transition:border-color .15s,box-shadow .15s}
#allEntries:has(.e-loads) table.eBlock:hover{border-color:var(--tt-acc);box-shadow:0 6px 18px rgba(20,35,27,.07)}
#allEntries:has(.e-loads) table.eBlock>tbody>tr>td{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:14px 18px!important}
#allEntries:has(.e-loads) table.eBlock>tbody>tr>td:before{content:counter(tbook);flex:none;width:38px;height:38px;border-radius:10px;background:var(--tt-soft);color:var(--tt-acc);font-weight:800;display:flex;align-items:center;justify-content:center}
#allEntries:has(.e-loads) .eMessage{display:none!important}
#allEntries:has(.e-loads) .eTitle{flex:1 1 260px;padding:0!important;font-size:16px!important;font-weight:700;line-height:1.35}
#allEntries:has(.e-loads) .eTitle a{color:var(--tt-ink)!important;text-decoration:none!important}
#allEntries:has(.e-loads) .eTitle a:after{content:"";position:absolute;inset:0;z-index:1}
#allEntries:has(.e-loads) table.eBlock:hover .eTitle a{color:var(--tt-acc)!important}
#allEntries:has(.e-loads) .eDetails{display:flex!important;align-items:center;gap:8px;padding:0!important;margin:0!important;border:0!important;background:none!important;font-size:13px;color:var(--tt-mut)}
#allEntries:has(.e-loads) .eDetails .rate-stars-wrapper,#allEntries:has(.e-loads) .eDetails .e-category,#allEntries:has(.e-loads) .eDetails .e-author,#allEntries:has(.e-loads) .eDetails .e-date,#allEntries:has(.e-loads) .eDetails .ed-sep,#allEntries:has(.e-loads) .eDetails .e-comments{display:none!important}
#allEntries:has(.e-loads) .e-reads,#allEntries:has(.e-loads) .e-loads{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:#f1f4f0;font-weight:600;color:var(--tt-ink)}
#allEntries:has(.e-loads) .e-loads{background:#e3f6ee;color:#0b7a55}
#allEntries:has(.e-loads) .e-reads .ed-title,#allEntries:has(.e-loads) .e-loads .ed-title{font-size:0}
#allEntries:has(.e-loads) .e-reads .ed-title:before{content:"👁";font-size:13px}
#allEntries:has(.e-loads) .e-loads .ed-title:before{content:"⬇";font-size:13px}
#allEntries:has(.e-loads) .eDetails:after{content:"Открыть →";margin-left:4px;padding:7px 12px;border-radius:9px;background:var(--tt-acc);color:#fff;font-weight:700;white-space:nowrap}
@media (max-width:560px){#allEntries:has(.e-loads) .eDetails{width:100%;padding-left:52px!important}}

/* ===== Страница книги ===== */
table.eBlock:has(.entry-downloads){display:block;background:#fff;border:1px solid var(--tt-line);border-radius:16px;padding:22px 24px!important}
table.eBlock:has(.entry-downloads)>tbody,table.eBlock:has(.entry-downloads)>tbody>tr,table.eBlock:has(.entry-downloads)>tbody>tr>td{display:block;width:100%!important;padding:0!important}
table.eBlock:has(.entry-downloads) .entry-downloads{order:0;font-size:0;margin-bottom:18px}
table.eBlock:has(.entry-downloads) .entry-download-decor{display:none}
table.eBlock:has(.entry-downloads) .entry-download-item{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
table.eBlock:has(.entry-downloads) .entry-download-item a{display:inline-block;padding:14px 24px;border-radius:12px;background:var(--tt-acc);color:#fff!important;font-size:17px;font-weight:700;text-decoration:none!important}
table.eBlock:has(.entry-downloads) .entry-download-item a:before{content:"⬇ "}
table.eBlock:has(.entry-downloads) .entry-download-item a:hover{background:var(--tt-acc2)}
table.eBlock:has(.entry-downloads) .entry-download-size{font-size:14px;color:var(--tt-mut)}
table.eBlock:has(.entry-downloads) .entry-added-date{display:none!important}
table.eBlock:has(.entry-downloads) .eText{font-size:17px;line-height:1.7;color:#26352c;display:flow-root!important}
table.eBlock:has(.entry-downloads) .eText img{float:left;max-width:240px!important;width:240px!important;height:auto!important;margin:4px 24px 12px 0;border-radius:10px;box-shadow:0 8px 22px rgba(20,35,27,.14)}
table.eBlock:has(.entry-downloads) .eText img[src*="mc.yandex"]{display:none!important}
@media (max-width:560px){table.eBlock:has(.entry-downloads) .eText img{float:none;margin:0 auto 14px;display:block}}
table.eBlock:has(.entry-downloads) .eDetails1,table.eBlock:has(.entry-downloads) .eDetails2{margin-top:16px!important;padding-top:14px!important;border-top:1px solid var(--tt-line)!important;font-size:14px;color:var(--tt-mut);background:none!important}
table.eBlock:has(.entry-downloads) .e-reads,table.eBlock:has(.entry-downloads) .e-loads{display:inline-flex;gap:4px;padding:3px 10px;border-radius:999px;background:#f1f4f0;font-weight:600;color:var(--tt-ink);margin-right:6px}
table.eBlock:has(.entry-downloads) .e-loads{background:#e3f6ee;color:#0b7a55}
#allEntries:has(.e-loads) .eBlock.tt-nocover .eMessage img{display:none!important}
table.eBlock:has(.entry-downloads).tt-nocover .eText img{display:none!important}
.col-md-9.my table.eBlock .entry-download-item a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action){color:#fff!important}
#allEntries:has(.e-loads)>div>br{display:none}
#allEntries:has(.e-loads) table.eBlock{margin:0!important;padding:0!important}
/* ===== Описание книги (страница материала каталога) ===== */
.eText h1,.eText h2{font-size:19px!important;line-height:1.5!important;font-weight:500!important;color:#3a4a40!important}
.tt-bk{display:flow-root;font-size:16.5px;line-height:1.7;color:#26352c}
.tt-bk-top{display:flex;gap:22px;align-items:flex-start;flex-wrap:wrap}
table.eBlock:has(.entry-downloads) .eText .tt-bk-top img.tt-bk-cov{float:none!important;margin:0!important;width:170px!important;max-width:170px!important;height:auto!important;border-radius:10px;box-shadow:0 8px 22px rgba(20,35,27,.16)}
.tt-bk-meta{flex:1 1 280px;display:grid;gap:8px;margin:0}
.tt-bk-meta div{display:flex;gap:10px;padding-bottom:8px;border-bottom:1px solid var(--tt-line);font-size:15px}
.tt-bk-meta div:last-child{border-bottom:0}
.tt-bk-meta span{flex:none;width:110px;color:var(--tt-mut)}
.tt-bk-meta b{color:var(--tt-ink);font-weight:600}
.tt-bk-lvl{display:inline-block;padding:2px 10px;border-radius:999px;font-size:13px;font-weight:700}
.tt-bk-lvl.l1{background:#e3f6ee;color:#0b7a55}.tt-bk-lvl.l2{background:#e8f4ed;color:#1f8a5b}.tt-bk-lvl.l3{background:#fdeee8;color:#b4431f}
.tt-bk-tags{display:flex;flex-wrap:wrap;gap:6px}
.tt-bk-tags i{font-style:normal;padding:2px 9px;border-radius:999px;background:#f1f4f0;color:var(--tt-ink);font-size:13px;font-weight:600}
.tt-bk h3{margin:26px 0 8px;font-size:19px;font-weight:800;color:var(--tt-ink)}
.tt-bk p{margin:0 0 10px}
.tt-bk ul{margin:0;padding-left:0;list-style:none}
.tt-bk ul li{position:relative;padding-left:28px;margin-bottom:6px}
.tt-bk ul li:before{content:"✓";position:absolute;left:0;top:2px;width:19px;height:19px;border-radius:10px;background:#e3f6ee;color:#0b7a55;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.tt-bk-who{padding:14px 18px;border-radius:12px;background:#e8f4ed;border:1px solid #d3e9dc}
.tt-bk-note{padding:12px 16px;border-radius:12px;background:#fff6e8;border:1px solid #f5ddb3;font-size:15px;margin-top:14px}
.tt-bk-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.col-md-9.my .tt-bk-links a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action){display:inline-block;padding:11px 18px;border-radius:10px;background:var(--tt-acc);color:#fff!important;font-weight:700;text-decoration:none!important}
@media (max-width:560px){table.eBlock:has(.entry-downloads) .eText .tt-bk-top img.tt-bk-cov{width:140px!important;max-width:140px!important}.tt-bk-meta span{width:90px}}
/* счётчик uCoz в подвале (информер статистики) */
.tt-ucnt{display:inline-flex;flex-direction:column;justify-content:center;height:31px;box-sizing:border-box;padding:0 10px;border:1px solid #d0d9d3;border-radius:6px;background:#fff;font-size:10.5px;line-height:1.25;color:#56635b;white-space:nowrap}
.tt-ucnt style,.tt-ucnt img{display:none!important}
.tt-ucnt .left-aligned,.tt-ucnt left{display:block}
.tt-ucnt div[align]{display:none}
.tt-ucnt div[align]:last-child{display:block}
.tt-ucnt b{color:#14231b;font-weight:700}
.tt-ucnt .left-aligned:before{content:"👥 uCoz · ";color:#1f8a5b;font-weight:700}
/* SEO: H1 материалов */
h1.eTitle{font-size:28px!important;line-height:1.2!important;font-weight:800!important;color:var(--tt-ink)!important;margin:4px 0 14px!important;font-family:Onest,system-ui,sans-serif!important}
@media (max-width:560px){h1.eTitle{font-size:23px!important}}
/* ===== Ответы на тесты Т-Инвестиций ===== */
.tt-lock-banner{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:18px 20px;border-radius:16px;background:#fff6e8;border:1px solid #f5ddb3;font-size:15px;line-height:1.5;color:#5d4a2a}
.tt-lock-banner b{display:block;font-size:17px;color:var(--tt-ink);margin-bottom:2px}
.tt-lock-btns{display:flex;gap:10px;flex-wrap:wrap}
.tt-lock-btns .tt-btn{padding:11px 18px}
.tt-ok-banner{padding:14px 18px;border-radius:14px;background:#e3f6ee;border:1px solid #bfe8d5;color:#0b7a55;font-weight:700}
.tt-test-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.tt-test-card{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:14px;background:#fff;border:1px solid var(--tt-line);text-decoration:none!important;transition:border-color .15s,transform .15s}
.tt-test-card:hover{border-color:var(--tt-acc);transform:translateY(-2px)}
.tt-test-card i{font-style:normal;width:32px;height:32px;border-radius:9px;background:var(--tt-soft);color:var(--tt-acc);font-weight:800;display:flex;align-items:center;justify-content:center}
.tt-test-card b{color:var(--tt-ink);font-size:15.5px;line-height:1.3}
.tt-test-card span{color:var(--tt-mut);font-size:13px}
.tt-test-blog i{background:#fff1e0;color:#b4431f}
.tt-qa-list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.tt-qa{border:1px solid var(--tt-line);border-radius:14px;background:#fff;overflow:hidden}
.tt-q{display:flex;gap:12px;padding:14px 16px;font-weight:600;color:var(--tt-ink);line-height:1.5;font-size:16px}
.tt-qn{flex:none;width:28px;height:28px;border-radius:8px;background:var(--tt-soft);color:var(--tt-acc);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:14px}
.tt-a{padding:12px 16px 14px 56px;border-top:1px dashed var(--tt-line);background:#fafbf9;font-size:16px;line-height:1.6;color:#26352c}
.tt-a>b{color:var(--tt-mut);font-weight:600;margin-right:4px}
.tt-a .UhideBlock{background:#e3f6ee;color:#0b5f43;padding:2px 6px;border-radius:6px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.col-md-9.my .tt-a .UhideBlockL a:not([class*="pqw"]):not(.tt-btn):not(.moder-block-action){display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:#fff1e0;color:#b4431f!important;font-weight:700;font-size:14px;text-decoration:none!important}
.tt-a .UhideBlockL a:before{content:"🔒"}
.tt-a-na{color:var(--tt-mut);font-style:italic}
.tt-toup{font-size:14px;margin-top:10px!important}
@media (max-width:560px){.tt-a{padding-left:16px}}
.tt-a-img{display:block;max-width:100%!important;height:auto!important;margin-top:10px;border-radius:10px;border:1px solid var(--tt-line)}
.tt-guest-only{display:none!important}
.tt-tests:has(.UhideBlockL) .tt-guest-only{display:flex!important}

/* ===== Каталог статей /publ/ (tt-pl) ===== */
.tt-pl{color:var(--tt-ink)}
.tt-ph{padding:4px 0 16px}
.tt-ph-crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--tt-mut);margin-bottom:12px}
.tt-ph-crumbs a{color:var(--tt-mut);text-decoration:none}
.tt-ph-crumbs a:hover{color:var(--tt-acc)}
.tt-ph h1{margin:0 0 10px;font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:var(--tt-ink);text-wrap:balance}
.tt-ph-lead{margin:0 0 14px;font-size:16.5px;line-height:1.55;color:var(--tt-mut);max-width:680px}
.tt-ph-course{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--tt-acc)!important;text-decoration:none!important;background:var(--tt-soft);padding:8px 14px;border-radius:999px}
.tt-ph-course:hover{background:#cfe6d8}
.tt-pl-cats{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 22px}
.tt-pl-cats a{padding:7px 14px;border:1px solid var(--tt-line);border-radius:999px;background:#fff;font-size:14px;font-weight:500;color:var(--tt-ink);text-decoration:none;white-space:nowrap;transition:border-color .15s,color .15s}
.tt-pl-cats a:hover{border-color:var(--tt-acc);color:var(--tt-acc)}
.tt-pl-cats a.on{background:var(--tt-acc);border-color:var(--tt-acc);color:#fff}
.tt-pl-add{margin:-8px 0 14px;font-size:14px}
.tt-pl .filters-wrapper,.tt-pl .sorting-wrapper{margin:0 0 16px;font-size:14px;color:var(--tt-mut)}
.tt-pl-list #allEntries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tt-pl-list #allEntries>div{min-width:0}
.tt-pc{position:relative;display:flex;flex-direction:column;height:100%;box-sizing:border-box;background:#fff;border:1px solid var(--tt-line);border-radius:16px;padding:18px 20px 14px;transition:border-color .15s,box-shadow .15s,transform .15s}
.tt-pc:hover{border-color:#c2dccd;box-shadow:0 12px 28px -16px rgba(20,35,27,.35);transform:translateY(-2px)}
.tt-pc-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:12.5px}
.tt-pc-cat{background:var(--tt-soft);color:var(--tt-acc2)!important;padding:4px 10px;border-radius:999px;font-weight:600;text-decoration:none!important;max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tt-pc-date{color:var(--tt-mut);font-variant-numeric:tabular-nums;white-space:nowrap}
.tt-pc-title{margin:0 0 8px!important;font-size:19px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:-.01em;text-wrap:balance}
.tt-pc-title a{color:var(--tt-ink)!important;text-decoration:none!important}
.tt-pc-title a:hover{color:var(--tt-acc)!important}
.tt-pc-text{color:var(--tt-mut);font-size:14.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:14px}
.tt-pc-text *{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important;background:none!important;margin:0!important;padding:0!important;display:inline!important;font-weight:inherit!important}
.tt-pc-text img,.tt-pc-text iframe,.tt-pc-text table,.tt-pc-text hr,.tt-pc-text br,.tt-pc-text script,.tt-pc-text style{display:none!important}
.tt-pc-text p:after,.tt-pc-text div:after,.tt-pc-text li:after{content:" "}
.tt-pc-foot{margin-top:auto;display:flex;align-items:center;gap:14px;padding-top:12px;border-top:1px solid #e8ede9;font-size:13px;color:var(--tt-mut)}
.tt-pc-m{display:inline-flex;align-items:center;gap:5px;color:var(--tt-mut)!important;text-decoration:none!important;font-variant-numeric:tabular-nums}
.tt-pc-m svg{width:15px;height:15px;flex:none}
a.tt-pc-m:hover{color:var(--tt-acc)!important}
.tt-pc-more{margin-left:auto;font-weight:600;color:var(--tt-acc)!important;text-decoration:none!important;white-space:nowrap}
.tt-pc-more:hover{color:var(--tt-acc2)!important}
.tt-pc-mod{position:absolute;top:10px;right:10px;z-index:2}
.tt-pl-pager{margin:26px 0 6px}
.tt-pl-pager [class^=pagesBlock]{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.tt-pl-pager [class^=swchItem]{min-width:40px;height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:10px;border:1px solid var(--tt-line);background:#fff;color:var(--tt-ink)!important;font-weight:600;font-size:14px;text-decoration:none!important;font-variant-numeric:tabular-nums}
.tt-pl-pager [class^=swchItemA]{background:var(--tt-acc);border-color:var(--tt-acc);color:#fff!important}
.tt-pl-pager .swchItemDots{border-color:transparent;background:none}
.tt-pl-pager .swchItem:hover{border-color:var(--tt-acc);color:var(--tt-acc)!important}
.tt-pl-pager [class^=swchItem] span{background:none!important;border:0!important;padding:0!important;margin:0!important;color:inherit!important;box-shadow:none!important}
@media(max-width:760px){.tt-pl-list #allEntries{grid-template-columns:1fr}.tt-ph h1{font-size:27px}.tt-pl-cats{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}.tt-pc{padding:16px 16px 12px}.tt-pc-title{font-size:18px!important}}

/* tt-pl: перебиваем общее правило цвета ссылок .col-md-9.my a */
.col-md-9.my .tt-pl.tt-pl .tt-pl-cats a{color:var(--tt-ink)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pl-cats a:hover{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pl-cats a.on,.col-md-9.my .tt-pl.tt-pl .tt-pl-cats a.on:hover{color:#fff!important}
.col-md-9.my .tt-pl.tt-pl .tt-ph-crumbs a{color:var(--tt-mut)!important}
.col-md-9.my .tt-pl.tt-pl .tt-ph-crumbs a:hover{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-ph-course{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pc-cat{color:var(--tt-acc2)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pc-title a{color:var(--tt-ink)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pc-title a:hover{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pc-m{color:var(--tt-mut)!important}
.col-md-9.my .tt-pl a.tt-pc-m:hover{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pc-more{color:var(--tt-acc)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pl-pager a{color:var(--tt-ink)!important}
.col-md-9.my .tt-pl.tt-pl .tt-pl-pager b,.col-md-9.my .tt-pl.tt-pl .tt-pl-pager b *{color:#fff!important}
.col-md-9.my .tt-pl.tt-pl .tt-pl-pager a:hover{color:var(--tt-acc)!important}

/* ===== TRAND.pro: логотип, иконки статей ===== */
.tt-logo.tt-logo-brand{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-decoration:none}
.tt-logo.tt-logo-brand img{height:21px;width:auto;display:block}
.tt-logo.tt-logo-brand small{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--tt-mut);line-height:1}
.tt-nav a.tt-nav-ext{color:#b7791f!important;font-weight:600}
.tt-art .tt-fig{margin:18px 0 22px}
.tt-art .tt-fig img{display:block;width:100%;height:auto;border:1px solid var(--tt-line);border-radius:12px;background:#fff}
@media(max-width:760px){.tt-logo.tt-logo-brand img{height:18px}}
/* ===== Комментарии: карточки и форма (tt-cm, tt-cf) START ===== */
.tt-cm{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--tt-line,#dde3df)}
.tt-cm:first-child{border-top:0;padding-top:4px}
.tt-cm-av{flex:0 0 40px;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#e3f1e8;display:flex;align-items:center;justify-content:center}
.tt-cm-av img{width:40px;height:40px;object-fit:cover;display:block}
.tt-cm-ini{display:block;font-size:0;line-height:40px;text-transform:uppercase;color:#1f8a5b;font-weight:800}
.tt-cm-ini::first-letter{font-size:17px}
.tt-cm-main{flex:1;min-width:0}
.tt-cm-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px;color:#5f6c64}
.tt-cm-name{font-weight:700;font-size:15px;color:var(--tt-ink,#14231b)!important;text-decoration:none!important}
a.tt-cm-name:hover{color:#1f8a5b!important}
.tt-cm-date{color:#5f6c64!important;text-decoration:none!important;font-size:12.5px}
.tt-cm-new{background:#e7f6ef;color:#0b7a55;border-radius:999px;padding:0 8px;font-size:11.5px;font-weight:700}
.tt-cm-rate{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12px}
.tt-cm-rate a,.tt-cm-rate>span{color:#8f9b93!important;text-decoration:none!important}
.tt-cm-rate a:hover{color:#1f8a5b!important}
.tt-cm-rate .u-rate-wrapper{font-weight:700;color:#14231b;min-width:10px;text-align:center}
.tt-cm-mod:empty{display:none}
.tt-cm-msg{margin-top:4px;font-size:15px;line-height:1.55;color:#16241c;word-wrap:break-word;overflow-wrap:anywhere}
.tt-cm-msg img{max-width:100%;height:auto;border-radius:8px}
.tt-cm-ans{margin-top:8px;padding:10px 12px;border-left:3px solid #1f8a5b;background:#f0f7f2;border-radius:0 10px 10px 0;font-size:14.5px;line-height:1.5}
.tt-cm-ans b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#1f8a5b;margin-bottom:2px}
.tt-cm-reply{display:inline-block;margin-top:6px;font-size:13px;font-weight:600;color:#1f8a5b!important;text-decoration:none!important}
.tt-cf{margin-top:14px}
.tt-cf .commError:not(:empty){background:#fdecec;color:#c2412d;border-radius:10px;padding:8px 12px;margin-bottom:10px;font-size:14px}
.tt-cf-login{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--tt-line,#dde3df);border-radius:14px;background:#f7f9fe}
.tt-cf-ico{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#229ed9;color:#fff;display:flex;align-items:center;justify-content:center}
.tt-cf-txt{flex:1 1 260px;min-width:0}
.tt-cf-txt b{display:block;font-size:16px;color:#14231b;margin-bottom:2px}
.tt-cf-txt span{font-size:13.5px;color:#56635b;line-height:1.45}
a.tt-cf-tg{display:inline-flex;align-items:center;gap:8px;background:#229ed9;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:14.5px;padding:10px 18px;border-radius:10px;white-space:nowrap}
a.tt-cf-tg:hover{background:#1b8cc2}
a.tt-cf-tg:focus-visible,.tt-cf-btn:focus-visible,.tt-cf-ta:focus-visible{outline:3px solid #9db4f5;outline-offset:2px}
.tt-cf-lbl{display:block;font-size:13px;font-weight:700;color:#14231b;margin:0 0 6px}
.tt-cf-ta{display:block;width:100%!important;box-sizing:border-box;min-height:104px;padding:12px 14px!important;border:1px solid #cbd5ce!important;border-radius:12px!important;font:15px/1.5 inherit!important;color:#14231b;background:#fff!important;resize:vertical}
.tt-cf-ta:focus{border-color:#1f8a5b!important;outline:none}
.tt-cf-sub,.tt-cf-code{margin-top:10px;font-size:13.5px;color:#56635b}
.tt-cf-code input[type=text]{border:1px solid #cbd5ce;border-radius:8px;padding:6px 10px}
.tt-cf-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}
.tt-cf-foot span{font-size:12.5px;color:#86938a}
.tt-cf-btn{background:#1f8a5b!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:10px 22px!important;font-weight:700!important;font-size:14.5px!important;cursor:pointer}
.tt-cf-btn:hover{background:#176e48!important}
@media(max-width:600px){.tt-cm-rate{margin-left:0}a.tt-cf-tg{width:100%;justify-content:center}}
/* ===== Комментарии END ===== */
/* ===== Книги: рейтинг и сортировка START ===== */
#allEntries:has(.e-loads) .e-rate{display:inline-flex;align-items:center;gap:3px;padding:4px 10px;border-radius:999px;background:#fff4dc;color:#9a6412;font-weight:700;white-space:nowrap}
#allEntries:has(.e-loads) .e-rate small{font-weight:600;color:#b07a2a;font-size:12px}
#allEntries:has(.e-loads) .e-rate.e-rate-none{background:#f1f4f0;color:#86938a;font-weight:600}
.sorting-wrapper{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:0!important;margin:6px 0 14px}
.sorting-wrapper:before{content:"Сортировать по:";font-size:13.5px;font-weight:700;color:var(--tt-ink,#14231b);margin-right:4px}
.sorting-wrapper>span{display:flex;flex-wrap:wrap;gap:8px;font-size:0}
.sorting-wrapper a.catSortLink{font-size:13.5px!important;padding:7px 14px;border-radius:999px;border:1px solid var(--tt-line,#dde3df);background:#fff;color:var(--tt-ink,#14231b)!important;text-decoration:none!important;font-weight:600;line-height:1.2}
.sorting-wrapper a.catSortLink:hover{border-color:var(--tt-acc,#1f8a5b);color:var(--tt-acc,#1f8a5b)!important}
.sorting-wrapper a.catSortLink[onclick*="'6'"]{order:-1}
.sorting-wrapper a.catSortLink[onclick*="'6'"]:before{content:"★ ";color:#e0a126}
.sorting-wrapper a.catSortLink.darr,.sorting-wrapper a.catSortLink.uarr,.col-md-9.my .sorting-wrapper.sorting-wrapper a.catSortLink.darr,.col-md-9.my .sorting-wrapper.sorting-wrapper a.catSortLink.uarr{background:var(--tt-acc,#1f8a5b)!important;border-color:var(--tt-acc,#1f8a5b);color:#fff!important}
/* ===== Книги: рейтинг и сортировка END ===== */
/* ===== Поиск по сайту (tt-sr) START ===== */
.tt-sr{display:flex;flex-direction:column;gap:14px}
.tt-sr-hero{background:#fff;border:1px solid var(--tt-line,#dde3df);border-radius:18px;padding:22px 24px}
.tt-sr-hero h1{margin:0 0 4px!important;font-size:26px!important;font-weight:800;color:var(--tt-ink,#14231b)!important;line-height:1.2}
.tt-sr-hero>p{margin:0 0 14px;color:var(--tt-mut,#56635b);font-size:14.5px}
.tt-sr-form .search-form-fields{display:flex!important;gap:10px!important;align-items:center;flex-wrap:wrap}
.tt-sr-form input.queryField{flex:1 1 260px;height:48px;padding:0 16px!important;border:1px solid #cbd5ce!important;border-radius:12px!important;font-size:16px!important;color:var(--tt-ink,#14231b);background:#fff!important;box-shadow:none!important;box-sizing:border-box}
.tt-sr-form input.queryField:focus{border-color:var(--tt-acc,#1f8a5b)!important;outline:3px solid #dbe4fb}
.tt-sr-form input.searchSbmFl{height:48px;padding:0 24px!important;border:0!important;border-radius:12px!important;background:var(--tt-acc,#1f8a5b)!important;color:#fff!important;font-weight:700!important;font-size:15px!important;cursor:pointer}
.tt-sr-form input.searchSbmFl:hover{background:#176e48!important}
.tt-sr-form .advanced-search-container{position:relative;font-size:13px}
.tt-sr-form .aSchBrc1,.tt-sr-form .aSchBrc2{display:none}
.tt-sr-form a.advanced-search-link{color:var(--tt-mut,#56635b)!important;text-decoration:none!important;border-bottom:1px dashed #b9c1d6}
.tt-sr-form #sFltLst .myWinCont{background:#fff;border:1px solid var(--tt-line,#dde3df);border-radius:12px;padding:10px 12px;box-shadow:0 12px 28px rgba(20,35,27,.14)}
.tt-sr-form #sFltLst .xw-tl,.tt-sr-form #sFltLst .xw-bl{display:none}
.tt-sr-form #sFltLst .xw-mc{height:auto!important}
.tt-sr-hints{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;font-size:13px}
.tt-sr-hints span{color:var(--tt-mut,#56635b);font-weight:600}
.tt-sr-hints a{padding:5px 12px;border-radius:999px;background:var(--tt-soft,#e8f4ed);color:var(--tt-acc,#1f8a5b)!important;text-decoration:none!important;font-weight:600}
.tt-sr-hints a:hover{background:#dde6fc}
.tt-sr-info{font-size:14.5px;color:var(--tt-mut,#56635b);padding:0 4px}
.tt-sr-info b{color:var(--tt-ink,#14231b)}
.tt-sr-list{display:flex;flex-direction:column;gap:12px}
.tt-sri{position:relative;background:#fff;border:1px solid var(--tt-line,#dde3df);border-radius:16px;padding:16px 20px;transition:border-color .15s,box-shadow .15s}
.tt-sri:hover{border-color:var(--tt-acc,#1f8a5b);box-shadow:0 6px 18px rgba(20,35,27,.07)}
.tt-sri-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:0;color:var(--tt-mut,#56635b);margin-bottom:6px}
.tt-sri-top a~a{display:none!important}
.tt-sri-top a{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--tt-soft,#e8f4ed);color:var(--tt-acc,#1f8a5b)!important;text-decoration:none!important;font-weight:700;font-size:12px}
.tt-sri-title{margin:0 0 6px!important;font-size:18px!important;line-height:1.35;font-weight:700}
.tt-sri-title a{color:var(--tt-ink,#14231b)!important;text-decoration:none!important}
.tt-sri-title a:after{content:"";position:absolute;inset:0}
.tt-sri:hover .tt-sri-title a{color:var(--tt-acc,#1f8a5b)!important}
.tt-sri-title b,.tt-sri-snip b{font-weight:inherit;background:#fff1c7;border-radius:3px;padding:0 2px;color:inherit}
.tt-sri-snip{font-size:14.5px;line-height:1.55;color:var(--tt-mut,#56635b);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tt-sri-more{display:inline-block;margin-top:8px;font-size:13.5px;font-weight:700;color:var(--tt-acc,#1f8a5b)!important;text-decoration:none!important}
.tt-sr-pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:14px}
.tt-sr-pager a,.tt-sr-pager b,.tt-sr-pager span.swchItemA,.tt-sr-pager .swchItem{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;padding:0 10px;border-radius:10px;border:1px solid var(--tt-line,#dde3df);background:#fff;color:var(--tt-ink,#14231b)!important;text-decoration:none!important;font-weight:600}
.tt-sr-pager b,.tt-sr-pager .swchItemA{background:var(--tt-acc,#1f8a5b);border-color:var(--tt-acc,#1f8a5b);color:#fff!important}
@media(max-width:600px){.tt-sr-hero{padding:18px 16px}.tt-sr-hero h1{font-size:22px!important}.tt-sri{padding:14px 16px}}
/* ===== Поиск по сайту END ===== */
/* ===== Новости: список, карточки, страница новости (tt-nl / tt-nc / tt-ne) ===== */
.tt-nl-list #allEntries>div>br{display:none}
.tt-nc-body{position:relative;max-height:300px;overflow:hidden;color:var(--tt-mut);font-size:14.5px;line-height:1.55;margin-bottom:12px}
.tt-nc-body:after{content:"";position:absolute;left:0;right:0;bottom:0;height:48px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.tt-nc-body *{font-family:inherit!important;font-size:inherit!important;color:inherit!important;background:none!important;float:none!important;margin:0 0 6px!important;padding:0!important;text-align:left!important}
.tt-nc-body img,.tt-nc-body iframe,.tt-nc-body table,.tt-nc-body hr,.tt-nc-body script,.tt-nc-body style{display:none!important}
.tt-nc-body>img:first-child,.tt-nc-body>p:first-child>img:first-child,.tt-nc-body>p:first-child>a:first-child>img:first-child,.tt-nc-body>a:first-child>img:first-child{display:block!important;width:100%!important;height:180px!important;object-fit:cover;object-position:top;border-radius:10px;border:1px solid var(--tt-line)!important;margin:0 0 10px!important}
.tt-ne{color:var(--tt-ink)}
.tt-ne-art{position:relative;background:#fff;border:1px solid var(--tt-line);border-radius:18px;padding:26px 28px 22px;margin-top:6px}
.tt-ne-h1{margin:0 0 12px!important;font-size:32px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:-.02em;color:var(--tt-ink)!important;text-wrap:balance}
.tt-ne-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:13.5px;color:var(--tt-mut);padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e8ede9}
.tt-ne-meta .tt-pc-m svg{width:15px;height:15px}
.tt-ne-body{font-size:16.5px;line-height:1.65;color:var(--tt-ink);overflow-wrap:anywhere}
.tt-ne-body img{max-width:100%;height:auto}
.tt-ne-body>p{margin:0 0 14px}
.tt-ne-tags,.tt-ne-attach,.tt-ne-share{margin-top:16px;font-size:14px;color:var(--tt-mut)}
.tt-ne-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:14px;border-top:1px solid #e8ede9}
.tt-ne-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.tt-ne-nav>div{background:#fff;border:1px solid var(--tt-line);border-radius:12px;padding:12px 14px;font-size:14px}
.tt-ne-next{text-align:right}
.tt-ne-com{background:#fff;border:1px solid var(--tt-line);border-radius:18px;padding:20px 24px;margin-top:16px}
.tt-ne-com h2{margin:0 0 12px;font-size:22px;font-weight:800;color:var(--tt-ink)}
.tt-ne-com h2 span{display:inline-block;min-width:26px;padding:1px 8px;margin-left:6px;border-radius:999px;background:var(--tt-soft);color:var(--tt-acc2);font-size:14px;text-align:center;vertical-align:middle}
.tt-ne-reg{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--tt-soft);font-size:14px}
@media(max-width:760px){.tt-ne-art{padding:18px 16px}.tt-ne-h1{font-size:25px!important}.tt-ne-nav{grid-template-columns:1fr}.tt-ne-com{padding:16px}}
.col-md-9.my .tt-pl.tt-pl .tt-ne-meta a.tt-pc-m{color:var(--tt-mut)!important}

/* ===== Вечерний отчёт (trep) ===== */
.trep-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 22px}
.trep-card{background:#fff;border:1px solid var(--tt-line);border-radius:14px;padding:12px 14px}
.trep-card .trep-lbl{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--tt-mut);font-weight:600}
.trep-card .trep-val{display:block;margin:4px 0 6px;font-size:22px;line-height:1.15;font-weight:800;color:var(--tt-ink);font-variant-numeric:tabular-nums}
.tt-toc .trep-tocl{display:block;margin-bottom:6px;font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:var(--tt-mut)}
.tt-ne-body .trep-cover{display:none}
.tt-nc-body .tt-kicker,.tt-nc-body .trep-cards,.tt-nc-body .tt-toc,.tt-nc-body h2,.tt-nc-body .trep-tbl{display:none!important}
.tt-nc-body>p.trep-cover:first-child>img:first-child{height:auto!important;aspect-ratio:1200/630;object-fit:cover}
.tt-nl-list i:not([class]),.tt-nl-list em,.col-md-3.my i:not([class]),.col-md-3.my em{font-style:normal!important}
.trep-pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.trep-up{background:#e3f5ec;color:#0b7a55}
.trep-dn{background:#fde8e7;color:#c2412d}
.trep-flat{background:#e8ede9;color:#56635b}
.trep-num{font-variant-numeric:tabular-nums;white-space:nowrap}
.trep-tbl tr.trep-grp td{background:#f3f5fb;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--tt-mut);font-weight:700;padding-top:8px;padding-bottom:8px}
.trep-bar{display:inline-block;height:6px;border-radius:3px;vertical-align:middle;margin-left:8px;opacity:.8}
.trep-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
.trep-list{margin:0;padding:0;list-style:none}
.trep-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #e8ede9;font-size:15px}
.trep-list li:last-child{border-bottom:0}
.trep-sig{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.trep-s{background:#fff;border:1px solid var(--tt-line);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.45}
.trep-s-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:2px}
.trep-s-up .trep-s-h b{color:#0b7a55}
.trep-s-dn .trep-s-h b{color:#c2412d}
.trep-s small{color:var(--tt-mut);font-size:12.5px;font-variant-numeric:tabular-nums}
.trep-pat{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.trep-pat .tt-fig{margin:6px 0}
.tt-art .tt-fig figcaption{margin-top:8px;font-size:14px;color:var(--tt-mut);line-height:1.45}
@media(max-width:760px){.trep-cards{grid-template-columns:1fr 1fr}.trep-card .trep-val{font-size:19px}.trep-two,.trep-sig,.trep-pat{grid-template-columns:1fr}.trep-bar{display:none}}

/* ===== Статьи: перебиваем старое .eText h1,h2 {19px!important} ===== */
.eText .tt-art h2,.eMessage .tt-art h2,.tt-ne-body .tt-art h2{margin:40px 0 12px!important;font-size:26px!important;line-height:1.2!important;font-weight:800!important;color:var(--tt-ink)!important;letter-spacing:-.01em}
.eText .tt-art h3,.eMessage .tt-art h3,.tt-ne-body .tt-art h3{margin:28px 0 10px!important;font-size:20px!important;line-height:1.3!important;font-weight:700!important;color:var(--tt-ink)!important}
@media(max-width:760px){.eText .tt-art h2,.eMessage .tt-art h2,.tt-ne-body .tt-art h2{font-size:22px!important}}
/* карточка: подвал стоит в разметке до текста (обрезанный $MESSAGE$ не может его «проглотить»), вниз его ставит order */
.tt-nc{display:flex!important;flex-direction:column}
.tt-nc>.tt-pc-mod{order:0}.tt-nc>.tt-pc-top{order:1}.tt-nc>.tt-pc-title{order:2}.tt-nc>.tt-nc-body{order:3}
.tt-nc>.tt-pc-foot{order:4;margin-top:auto}
.tt-pc-views{gap:6px!important;padding:5px 11px;border-radius:999px;background:#f1f4f0;color:var(--tt-ink)!important}
.tt-pc-views svg{color:var(--tt-acc)}
.tt-pc-views b{font-weight:800;font-variant-numeric:tabular-nums}
.tt-pc-views small{font-size:12px;color:var(--tt-mut);font-weight:600}
.tt-nc-body .tt-check,.tt-nc-body .tt-note,.tt-nc-body .tt-ex{display:none!important}
/* ===== Свеча-T: фирменный стиль START ===== */
:root{--tt-acc:#1f8a5b;--tt-acc2:#176e48;--tt-bg:#f4f6f2;--tt-dark:#14231b;--tt-ink:#14231b;--tt-line:#dae1dc;--tt-mut:#56635b;--tt-soft:#e3f1e8;
--tt-green-lt:#3dba80;--tt-bear:#c2412d;--tt-f-display:"Unbounded","Arial Black",system-ui,sans-serif;--tt-f-mono:"JetBrains Mono",ui-monospace,Consolas,monospace}
::selection{background:#cfe9da;color:#14231b}
a{color:var(--tt-acc)}
/* логотип: знак-свеча + trand.pro */
.tt-logo.tt-logo-candle{display:flex;flex-direction:row;align-items:center;gap:10px;text-decoration:none!important;color:var(--tt-ink)!important}
.tt-logo-candle .tt-mark{flex:none;display:block;width:34px;height:34px}
.tt-logo-candle .tt-wm-box{display:flex;flex-direction:column;gap:3px}
.tt-logo-candle .tt-wm{font-family:var(--tt-f-display)!important;font-weight:800;font-size:21px;line-height:1;letter-spacing:-.01em;color:var(--tt-ink)}
.tt-logo-candle .tt-wm span{font-weight:400;color:var(--tt-acc)}
.tt-logo-candle small{font-family:var(--tt-f-mono)!important;font-size:10.5px;letter-spacing:.04em;color:var(--tt-mut);line-height:1;text-transform:none}
.tt-logo-candle:hover .tt-mark rect:nth-child(3){transform:translateY(-1px)}
.tt-logo-candle .tt-mark rect{transition:transform .2s}
@media (max-width:520px){.tt-logo-candle small{display:none}.tt-logo-candle .tt-wm{font-size:19px}}
/* заголовки — Unbounded */
h1,h2,.tt-hero h1,.tt-h2,.tt-sig h2,.tt-cpromo-t,h1.eTitle,.tt-art h2,.tt-ne-body h2,.tt-course h1,.tt-course h2{font-family:var(--tt-f-display)!important;letter-spacing:-.015em}
h1.eTitle,.tt-hero h1,.tt-course h1{font-weight:700!important}
h1.eTitle{font-size:26px!important;line-height:1.22!important}
.tt-hero h1{font-weight:600!important;font-size:clamp(30px,4.2vw,46px)!important;line-height:1.12!important}
.tt-nav a.tt-nav-ext{color:var(--tt-acc)!important}
.tt-art h2,.tt-ne-body h2,.tt-h2,.tt-sig h2{font-weight:600!important}
.tt-art h2,.tt-ne-body h2{font-size:21px!important;line-height:1.3!important}
.tt-cpromo-t{font-weight:700}
h3,h4,.tt-pc-title,.tt-step b{font-family:Onest,system-ui,sans-serif!important}
/* метки и цифры — JetBrains Mono */
.tt-badge,.tt-cpromo-k,.tt-sig small,.tt-kicker .tt-chip,.tt-step i,.tt-pc-date,.tt-nc-date,.tt-ne-date,.tt-course-k{font-family:var(--tt-f-mono)!important}
.tt-badge,.tt-cpromo-k,.tt-sig small{letter-spacing:.08em;text-transform:uppercase}
.tt-tbl td,.tt-tbl th{font-variant-numeric:tabular-nums}
/* тёмные блоки: графит + светлый зелёный */
.tt-cpromo{background:#14231b!important}
.tt-cpromo-b{background:#3dba80!important;color:#0f1a14!important}
.tt-cpromo:focus-visible{outline-color:#3dba80!important}
.tt-course-cta a.p,.tt-course-cta a.p:hover{color:#14231b!important}
/* кнопки: основная — зелёная */
.tt-btn-p,.tt-cta{background:var(--tt-acc)!important;border-color:var(--tt-acc)!important;color:#fff!important}
.tt-btn-p:hover,.tt-cta:hover{background:var(--tt-acc2)!important;border-color:var(--tt-acc2)!important}
.tt-hero{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:40px;row-gap:16px;align-items:start}
.tt-hero>*{grid-column:1;justify-self:start}
.tt-hero h1{font-size:clamp(28px,3.4vw,44px)!important}
.tt-hero-fig{grid-column:2;grid-row:1/span 4;align-self:center;justify-self:stretch;margin:0;background:#fff;border:1px solid var(--tt-line);border-radius:16px;padding:14px 14px 12px;box-shadow:0 14px 34px rgba(20,35,27,.08)}
.tt-hf-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.tt-hf-h b{font-family:var(--tt-f-display);font-weight:600;font-size:15px;color:var(--tt-ink)}
.tt-hf-h span{font-family:var(--tt-f-mono);font-size:11px;font-weight:600;color:#fff;background:var(--tt-ink);padding:3px 8px;border-radius:6px;white-space:nowrap}
.tt-hero-fig svg{display:block;width:100%;height:auto}
.tt-hf-t{font-family:var(--tt-f-mono);font-size:11px;font-weight:500;fill:#56635b}
.tt-hero-fig figcaption{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;font-size:13px;line-height:1.45;color:var(--tt-mut)}
.tt-hf-l i{display:inline-block;width:16px;height:3px;border-radius:2px;vertical-align:middle;margin-right:6px}
.tt-hf-r{flex-basis:100%;color:var(--tt-ink)}
.tt-hf-r b{font-family:var(--tt-f-mono);color:var(--tt-acc)}
@media (max-width:900px){.tt-hero{grid-template-columns:minmax(0,1fr)}.tt-hero-fig{grid-column:1;grid-row:auto;width:100%;max-width:560px}}
@media (prefers-reduced-motion:reduce){.tt-logo-candle .tt-mark rect{transition:none}}
/* шапка «Разделы с выпадающим меню» (вариант 5, 30.09) */
body{overflow-x:clip}
.tt-head.tt-hd{display:flex!important;align-items:center;gap:22px;flex-wrap:nowrap;margin:0 0 12px!important;padding:12px 0!important;background:transparent!important;border:0!important;border-radius:0!important;position:relative;z-index:60;box-shadow:none!important}
.tt-hd::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:#fff;border-bottom:1px solid #dae1dc;z-index:-1}
.tt-hd .tt-logo-candle{flex:none}
.tt-hd .tt-logo-candle .tt-mark{width:32px;height:32px}
.tt-hd .tt-logo-candle .tt-wm{font-size:20px}
.tt-hd-nav{display:flex;align-items:center;gap:4px}
.tt-g{position:relative}
.tt-g-btn{font:500 15px/1.2 Onest,system-ui,sans-serif!important;color:var(--tt-ink)!important;background:none;border:0;padding:10px 12px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.tt-g-btn::after{content:"";width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
.tt-g.open .tt-g-btn::after{transform:translateY(1px) rotate(225deg)}
.tt-g.open .tt-g-btn,.tt-g-btn:hover{background:#eef4f0;color:var(--tt-acc)!important}
.tt-g.here .tt-g-btn{color:var(--tt-acc)!important;font-weight:600!important}
.tt-g-btn:focus-visible,.tt-hd-burger:focus-visible,.tt-mega a:focus-visible{outline:2px solid var(--tt-acc);outline-offset:2px}
.tt-mega{position:absolute;top:calc(100% + 10px);left:0;width:660px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #dae1dc;border-radius:14px;box-shadow:0 18px 40px rgba(20,35,27,.14);padding:16px;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}
.tt-mega[hidden]{display:none!important}
.tt-mega::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.tt-mega-feat{background:#14231b;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:6px;text-decoration:none!important;transition:background .15s}
.tt-mega-feat:hover{background:#1b2a21}
.tt-mega-feat .k{font-family:var(--tt-f-mono)!important;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#3dba80}
.tt-mega-feat b{font-family:var(--tt-f-display)!important;font-weight:600;font-size:15px;line-height:1.25;color:#fff}
.tt-mega-feat span:last-child{font-size:12.5px;line-height:1.45;color:#c4d3c9}
.tt-mega-col{display:flex;flex-direction:column;gap:2px;min-width:0}
.tt-mega-col .k{font-family:var(--tt-f-mono)!important;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--tt-mut);margin:2px 8px 6px}
.tt-mega-col a{font-size:14px;line-height:1.35;color:var(--tt-ink)!important;text-decoration:none!important;padding:7px 8px;border-radius:7px}
.tt-mega-col a:hover{background:#eef4f0;color:var(--tt-acc)!important}
.tt-hd-search.tt-search{margin-left:auto;display:flex;align-items:center;gap:8px;width:250px;flex:none;padding:0 12px;height:40px;border:1px solid #dae1dc;border-radius:10px;background:#f4f6f2;color:#56635b}
.tt-hd-search:focus-within{border-color:var(--tt-acc);background:#fff;box-shadow:0 0 0 3px rgba(31,138,91,.15)}
.tt-hd-search svg{flex:none}
.tt-hd-search.tt-search input{flex:1;min-width:0;height:38px;border:0!important;background:transparent!important;padding:0!important;outline:0;box-shadow:none!important;font:14px Onest,system-ui,sans-serif;color:var(--tt-ink)}
.tt-hd-search .tt-ls{left:-1px;right:auto;width:340px}
.tt-hd-right{display:flex;align-items:center;gap:10px;flex:none}
.tt-hd-ava{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 12px;border-radius:999px;background:#14231b;color:#fff!important;font:600 12.5px/1.2 var(--tt-f-mono)!important;text-decoration:none!important}
.tt-hd-login{font-weight:600;font-size:14.5px;color:var(--tt-ink)!important;text-decoration:none!important;padding:8px 6px}
.tt-hd-cta.tt-cta{display:inline-flex!important;align-items:center;gap:8px;padding:10px 16px!important;border-radius:10px!important;font-weight:600;font-size:14.5px;white-space:nowrap}
.tt-hd-burger{display:none}
@media (max-width:1180px){.tt-hd-search.tt-search{width:200px}}
@media (max-width:960px){
.tt-head.tt-hd{flex-wrap:wrap;gap:10px;padding:10px 0!important}
.tt-hd-right{order:2;margin-left:auto}
.tt-hd-ava,.tt-hd-login{display:none}
.tt-hd-cta.tt-cta{padding:0!important;width:40px;height:40px;justify-content:center}
.tt-hd-cta span{display:none}
.tt-hd-burger{order:3;display:grid;place-items:center;width:40px;height:40px;border:1px solid #dae1dc;border-radius:10px;background:#fff;padding:0;cursor:pointer}
.tt-hd-burger span{display:block;width:16px;height:2px;background:#14231b;box-shadow:0 5px 0 #14231b,0 -5px 0 #14231b;transition:transform .15s,box-shadow .15s}
.tt-hd.menu-open .tt-hd-burger span{background:transparent;box-shadow:none;position:relative}
.tt-hd.menu-open .tt-hd-burger span::before,.tt-hd.menu-open .tt-hd-burger span::after{content:"";position:absolute;left:0;top:0;width:16px;height:2px;background:#14231b;transform:rotate(45deg)}
.tt-hd.menu-open .tt-hd-burger span::after{transform:rotate(-45deg)}
.tt-hd-search.tt-search,.tt-hd-nav{display:none;order:4;flex-basis:100%}
.tt-hd.menu-open .tt-hd-search.tt-search{display:flex;width:100%;margin:4px 0 0}
.tt-hd.menu-open .tt-hd-nav{display:flex;flex-direction:column;align-items:stretch;gap:0;order:5}
.tt-hd-search .tt-ls{width:auto;right:-1px}
.tt-g-btn{width:100%;justify-content:space-between;padding:13px 4px;border-bottom:1px solid #dae1dc;border-radius:0;font-size:16px!important}
.tt-g.open .tt-g-btn,.tt-g-btn:hover{background:none}
.tt-mega{position:static;width:auto;max-width:none;box-shadow:none;border:0;border-radius:0;padding:10px 0 14px;grid-template-columns:minmax(0,1fr);gap:10px}
.tt-mega::before{display:none}
}
@media (prefers-reduced-motion:reduce){.tt-g-btn::after,.tt-mega-feat,.tt-hd-burger span{transition:none}}
/* статьи: блок «Частые вопросы» (details/summary) */
.tt-faq{display:flex;flex-direction:column;gap:8px;margin:12px 0 22px}
.tt-faq details{border:1px solid var(--tt-line);border-radius:12px;background:#fff;padding:0 16px}
.tt-faq details[open]{border-color:#bfe0cc;background:#fbfdfb}
.tt-faq summary{cursor:pointer;list-style:none;padding:14px 28px 14px 0;font-weight:600;font-size:16.5px;color:var(--tt-ink);position:relative}
.tt-faq summary::-webkit-details-marker{display:none}
.tt-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font:600 20px/1 var(--tt-f-mono);color:var(--tt-acc)}
.tt-faq details[open] summary::after{content:"−"}
.tt-faq summary:focus-visible{outline:2px solid var(--tt-acc);outline-offset:2px;border-radius:6px}
.tt-faq details p{margin:0 0 14px!important;color:#3a4a40}
/* ===== Свеча-T END ===== */