
/* step36 — public EGE theoretical materials catalog and accessible page viewer */
.egeContentTabs{display:flex;gap:8px;margin:12px 0 18px;flex-wrap:wrap}
.egeContentTabs button{min-height:43px;padding:10px 18px;border:1px solid #cdb2df;border-radius:11px;background:#fff;color:#683092;font-weight:800;cursor:pointer}
.egeContentTabs button.is-active{background:#7136a1;color:#fff;border-color:#7136a1}
[data-exam-tasks-pane][hidden],[data-ege-theory-pane][hidden],[data-ege-content-tabs][hidden]{display:none!important}
.egeTheoryIntro{margin:0 0 16px;color:#66566d;line-height:1.55}
.egeTheorySearch{display:block;width:100%;max-width:460px;margin:0 0 18px;padding:12px 14px;border:1px solid #d6c9e4;border-radius:12px;font:inherit;background:white;color:#25162b}
.egeTheoryGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:13px;margin:15px 0 30px}
.egeTheoryCard{display:flex;align-items:center;gap:12px;min-width:0;padding:17px;border:1px solid #e6d7eb;border-radius:16px;background:white;color:#281b32;text-decoration:none;box-shadow:0 5px 18px rgba(84,35,109,.055);transition:border-color .15s,transform .15s}
.egeTheoryCard:hover,.egeTheoryCard:focus-visible{border-color:#7136a1;transform:translateY(-1px)}
.egeTheoryCard__icon{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:13px;background:#f5eafe;color:#7136a1;font:900 16px/1 Arial,sans-serif}
.egeTheoryCard__body{display:flex;flex-direction:column;gap:5px;min-width:0}.egeTheoryCard__body strong{font-size:15px}.egeTheoryCard__body small{color:#796d7e;font-size:12px}
.egeTheoryCard__arrow{margin-left:auto;font-size:23px;color:#7136a1}
.egeTheoryEmpty{padding:18px;border:1px dashed #d8c5e5;border-radius:12px;color:#624b70}
.egeTheoryBack{display:inline-block;margin:16px 0;color:#7136a1;font-weight:700}
.egeTheoryView{max-width:950px;margin:12px auto 45px}
.egeTheoryView__bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px;border:1px solid #e5d5ef;background:#fff;border-radius:14px;margin:12px 0}
.egeTheoryView__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.egeTheoryView__actions button,.egeTheoryView__actions a{display:inline-block;padding:9px 14px;border:1px solid #cdb2df;border-radius:9px;background:#fff;color:#7136a1;font:700 13px/1.4 Arial,sans-serif;text-decoration:none;cursor:pointer}
.egeTheoryView__actions a.egeTheoryDownload{background:#7136a1;color:#fff}
.egeTheoryView__actions button:disabled{opacity:.4;cursor:not-allowed}
.egeTheoryView__actions input{width:58px;height:39px;padding:5px;border:1px solid #cdb2df;border-radius:8px;text-align:center;font:700 15px Arial,sans-serif}
.egeTheoryView__sheet{padding:10px;background:#eeeaf3;border-radius:14px;text-align:center;overflow:hidden}
.egeTheoryView__sheet img{display:block;width:min(100%,760px);height:auto;margin:0 auto;background:#fff;box-shadow:0 8px 26px rgba(48,25,61,.18)}
@media(max-width:620px){.egeTheoryView__bar{justify-content:center}.egeTheoryView__actions{justify-content:center}.egeTheoryView__sheet{padding:3px;border-radius:6px}}
@media print{.egeTheoryView__bar,.egeTheoryBack,.egeContentTabs{display:none!important}.egeTheoryView__sheet{padding:0;background:white}.egeTheoryView__sheet img{box-shadow:none;max-height:260mm;width:auto;max-width:100%}}
