/* Пробный ЕГЭ по русскому языку — блок для rptica.ru (страница «Подготовка к ОГЭ и ЕГЭ по русскому языку»).
   Все правила начинаются с .re- и не затрагивают остальные блоки сайта. */
.re-root{--re-ink:#05203E;--re-ink2:#5E6A80;--re-vio:#BA65DC;--re-vio-d:#9E47C6;--re-vio-soft:#F3E8FA;--re-bg:#F4F5FB;--re-line:#E3E6F0;--re-line2:#CBD2E3;--re-ok:#1E9E5A;--re-ok-soft:#E3F6EB;--re-bad:#D9442F;--re-bad-soft:#FBE6E2;--re-warn:#A86F00;--re-warn-soft:#FFF3D6;--re-blue:#2B87DE;--re-blue-soft:#E1EEFB;--re-deep:#1B114E;--re-hot1:#D551D9;--re-hot2:#E74E23;
  --re-f:'Museo Sans Cyrl 500','Museo Sans Cyrl',Arial,sans-serif;--re-fb:'Museo Sans Cyrl 700','Museo Sans Cyrl 500',Arial,sans-serif;
  color:var(--re-ink);font-family:var(--re-f);font-weight:500;line-height:1.45;font-size:16px;text-align:left}
.re-root *{box-sizing:border-box}
.re-root h2,.re-root h3,.re-root h4,.re-root p,.re-root ul,.re-root ol,.re-root li{margin:0}
.re-root img{max-width:100%;height:auto}
.re-root b,.re-root strong,.re-lvl,.re-root h2,.re-root h3,.re-root h4,.re-btn,.re-chip,.re-num,.re-timer,.re-topic,.re-tag,.re-link,.re-kb,.re-err,.re-chip-n,.re-st,.re-grade,.re-ans label,.re-form h3,.re-brand b,.re-copy,.re-x{font-family:var(--re-fb);font-weight:600}
.re-root[hidden],.re-root [hidden]{display:none!important}
.re-section{position:relative;margin:70px 0 10px}
@media (max-width:991px){.re-section{margin:44px 0 0}}

.re-band{position:relative;border-radius:32px;background:#5A4FE0 url(/img/card1/bg1.png) center/cover no-repeat;padding:56px 48px}
.re-band__s1{position:absolute;right:-18px;top:-34px;width:96px;z-index:3;pointer-events:none}
.re-band__s2{position:absolute;right:120px;bottom:-26px;width:62px;z-index:3;pointer-events:none}
.re-glass{position:relative;z-index:2;max-width:1100px;margin:0 auto;background:rgba(212,232,255,.80);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:32px;padding:40px 44px}
@media (max-width:991px){.re-band{padding:18px;border-radius:30px}.re-band__s1{right:-4px;top:-30px;width:62px}.re-band__s2{display:none}.re-glass{padding:24px 20px;border-radius:24px}}
.re-reg{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:start}
@media (max-width:991px){.re-reg{grid-template-columns:1fr;gap:24px}}
.re-chip{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;border-radius:999px;padding:6px 14px;font-size:13px;line-height:1.2;color:#fff;background:linear-gradient(90deg,var(--re-hot1),var(--re-hot2))}
.re-chip--ok{background:var(--re-ok)}
.re-chip--vio{background:var(--re-vio)}
.re-root .re-title{margin-top:16px;font-size:clamp(28px,3.6vw,44px);line-height:1.02;color:#000;text-wrap:balance;letter-spacing:-.01em}
.re-title span{color:var(--re-vio)}
.re-root .re-lead{margin-top:14px;font-size:16px;line-height:1.45;color:var(--re-ink);max-width:34em}
.re-root .re-facts{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.re-root .re-facts li{margin:0;background:rgba(255,255,255,.72);border-radius:16px;padding:12px 12px 10px;font-size:13px;line-height:1.2;color:var(--re-ink2);list-style:none}
.re-root .re-facts li::before{display:none}
.re-facts b{display:block;font-size:24px;line-height:1.1;color:var(--re-ink);margin-bottom:2px;font-variant-numeric:tabular-nums}
@media (max-width:520px){.re-root .re-facts{grid-template-columns:1fr 1fr}}
.re-form{display:grid;gap:10px;background:#fff;border-radius:24px;padding:22px;margin:0}
.re-form h3{font-size:20px;line-height:1.2;color:var(--re-ink)}
.re-root .re-sub{font-size:14px;color:var(--re-ink2);margin-top:-4px}
.re-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:520px){.re-row{grid-template-columns:1fr}}
.re-root .re-input{display:block;width:100%;min-width:0;height:50px;margin:0;border-radius:8px;border:1.5px solid transparent;background:var(--re-bg);padding:0 14px;font-family:var(--re-f);font-size:15px;color:var(--re-ink);outline:none;box-shadow:none}
.re-root .re-input::placeholder{color:#7D879B;opacity:1}
.re-root .re-input:focus{border-color:var(--re-vio);background:#fff}
.re-root .re-input.re-err-f{border-color:var(--re-bad);background:#fff}
.re-root .re-err{font-size:13px;color:var(--re-bad)}
.re-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45;color:rgba(5,32,62,.62);cursor:pointer;margin:0}
.re-root .re-check input{position:static;opacity:1;width:18px;height:18px;flex:none;margin:0;accent-color:var(--re-vio);appearance:auto;-webkit-appearance:checkbox;display:inline-block}
.re-check a{color:inherit;text-decoration:underline}
.re-btn{appearance:none;-webkit-appearance:none;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;width:auto;height:auto;margin:0;padding:0 26px;border-radius:999px;background:var(--re-vio);color:#fff;font-size:16px;line-height:1.15;text-decoration:none;text-align:center;transition:background .15s ease,transform .08s ease;box-shadow:none}
.re-btn:hover{background:var(--re-vio-d);color:#fff}
.re-btn:active{transform:translateY(1px)}
.re-btn:focus-visible,.re-root :focus-visible{outline:3px solid var(--re-blue);outline-offset:2px}
.re-btn[disabled]{opacity:.55;cursor:not-allowed}
.re-btn--hot{background:linear-gradient(90deg,var(--re-hot1),var(--re-hot2))}
.re-btn--hot:hover{background:linear-gradient(90deg,#C844CC,#D9441C)}
.re-btn--ghost{background:#fff;color:var(--re-vio-d);box-shadow:inset 0 0 0 2px var(--re-vio)}
.re-btn--ghost:hover{background:var(--re-vio-soft);color:var(--re-vio-d)}
.re-btn--white{background:#fff;color:#000}
.re-btn--white:hover{background:#F1EEF8;color:#000}
.re-btn--sm{min-height:40px;padding:0 16px;font-size:14px}
.re-btn--block{width:100%}
.re-btn svg{width:18px;height:18px;flex:none}
.re-root .re-hint{font-size:13px;line-height:1.4;color:var(--re-ink2)}
.re-state{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
@media (max-width:991px){.re-state{grid-template-columns:1fr;gap:20px}}
.re-root .re-state h3{font-size:clamp(22px,2.6vw,30px);line-height:1.1;margin-top:12px;color:#000}
.re-root .re-state .re-lead{font-size:15px}
.re-root .re-rules{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px;font-size:14px;line-height:1.4}
.re-root .re-rules li{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start;margin:0;list-style:none}
.re-root .re-rules li::before{display:none}
.re-rules li span{width:26px;height:26px;border-radius:50%;background:#fff;color:var(--re-vio-d);display:grid;place-items:center;font-family:var(--re-fb);font-weight:600;font-size:13px}
.re-actions{display:grid;gap:10px;background:#fff;border-radius:24px;padding:22px}
.re-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.re-mini div{background:var(--re-bg);border-radius:14px;padding:10px;text-align:center}
.re-mini b{display:block;font-size:22px;font-variant-numeric:tabular-nums}
.re-mini span{font-size:12px;color:var(--re-ink2)}
.re-scoreline{display:flex;align-items:center;gap:14px;margin-top:14px}
.re-grade{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;font-size:32px;color:#fff;background:var(--re-vio);flex:none}
.re-grade.g2{background:var(--re-bad)}.re-grade.g3{background:var(--re-warn)}.re-grade.g4{background:var(--re-blue)}.re-grade.g5{background:var(--re-ok)}

/* полноэкранный режим экзамена */
.re-exam{position:fixed;inset:0;z-index:100000;background:#F4F5FB;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)}
.re-ewrap{max-width:920px;margin:0 auto;padding:0 16px 56px}
.re-bar{position:sticky;top:0;z-index:20;background:#fff;border-radius:0 0 22px 22px;box-shadow:0 10px 30px rgba(27,17,78,.10);padding:10px 14px;display:grid;gap:8px;margin:0 -4px 18px}
.re-bar__l1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.re-brand{display:flex;align-items:center;gap:10px;min-width:0}
.re-brand i{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#1B114E,#272673);display:grid;place-items:center;flex:none;overflow:hidden}
.re-brand i img{height:22px;width:auto;max-width:22px;object-fit:cover;object-position:left}
.re-brand b{font-size:14px;line-height:1.1;display:block}
.re-brand span{font-size:12px;color:var(--re-ink2)}
.re-timer{font-size:20px;font-variant-numeric:tabular-nums;padding:5px 12px;border-radius:999px;background:var(--re-vio-soft);color:var(--re-vio-d);display:inline-flex;align-items:center;gap:6px;line-height:1.2}
.re-timer.low{background:var(--re-bad-soft);color:var(--re-bad)}
.re-prog{flex:1 1 150px;min-width:120px;display:grid;gap:4px;font-size:12px;color:var(--re-ink2)}
.re-pbar{height:8px;border-radius:999px;background:var(--re-line);overflow:hidden}
.re-pbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--re-vio),var(--re-blue));transition:width .25s ease}
.re-bar__act{display:flex;gap:8px;margin-left:auto}
.re-x{appearance:none;-webkit-appearance:none;border:0;background:var(--re-bg);color:var(--re-ink);width:40px;height:40px;min-width:40px;padding:0;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;flex:none}
.re-chips{display:flex;gap:6px;overflow-x:auto;padding:2px 0;scrollbar-width:thin}
.re-chip-n{appearance:none;flex:none;width:34px;height:34px;padding:0;border-radius:10px;border:1.5px solid var(--re-line2);background:#fff;color:var(--re-ink);font-size:13px;cursor:pointer;display:grid;place-items:center}
.re-chip-n.done{background:var(--re-vio);border-color:var(--re-vio);color:#fff}
.re-chip-n.cur{outline:2px solid var(--re-blue);outline-offset:1px}
.re-chip-n.p2{border-style:dashed}.re-chip-n.p2.done{border-style:solid}
@media (max-width:640px){
  .re-bar{padding:8px 10px;gap:6px;margin:0 -12px 14px;border-radius:0 0 18px 18px}
  .re-bar__l1{display:grid;grid-template-columns:auto auto 1fr;gap:6px 8px}
  .re-brand div{display:none}
  .re-brand i{width:34px;height:34px;border-radius:10px}
  .re-timer{font-size:16px;padding:4px 10px}
  .re-bar__act{grid-column:3;justify-self:end;gap:6px}
  .re-bar__act .re-lbl{display:none}
  .re-bar__act .re-btn{padding:0 12px;min-height:38px;font-size:13px}
  .re-x{width:38px;height:38px;min-width:38px}
  .re-prog{grid-column:1/-1;grid-row:2;grid-template-columns:auto 1fr;align-items:center;gap:8px;font-size:11px}
}
.re-part{display:grid;gap:6px;padding:10px 4px 2px}
.re-root .re-part h2{font-size:26px;line-height:1.15;color:var(--re-ink)}
.re-root .re-part p{font-size:14px;color:var(--re-ink2);max-width:60em}
.re-tasks{display:grid;gap:14px}
.re-task{background:#fff;border:1px solid var(--re-line);border-radius:24px;padding:16px;display:grid;gap:12px;scroll-margin-top:150px}
.re-task.answered{border-color:var(--re-vio)}
.re-task__h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.re-num{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--re-deep);color:#fff;font-size:17px;flex:none}
.re-topic{font-size:14px}
.re-tag{font-size:12px;border-radius:999px;padding:4px 10px;background:var(--re-bg);color:var(--re-ink2);border:1px solid var(--re-line);line-height:1.2}
.re-tag--geo{background:var(--re-vio-soft);color:var(--re-vio-d);border-color:transparent}
.re-task__h .re-tag:last-child{margin-left:auto}
.re-paper{background:#fff;border-radius:14px;border:1px solid var(--re-line);padding:6px;overflow:hidden}
.re-root .re-paper img{display:block;width:100%;height:auto}
.re-paper--intro{border:2px solid var(--re-vio-soft)}
.re-zoomhint{font-size:12px;color:var(--re-ink2);text-align:right}
@media (min-width:641px){.re-zoomhint{display:none}}
@media (max-width:640px){.re-paper,.re-sol{cursor:zoom-in}}
@media (max-width:991px){.re-tbl{container-type:inline-size}.re-root .re-sol{position:-webkit-sticky;position:sticky;left:8px;max-width:calc(100cqw - 16px)}}
.re-ans{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center}
.re-ans label{font-size:15px}
.re-root .re-ans .re-input{max-width:280px;font-size:18px;font-family:var(--re-fb);font-weight:600;font-variant-numeric:tabular-nums}
.re-ans .re-wk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.re-ans .re-hint{grid-column:1/-1}
.re-key{grid-column:1/-1;font-size:13px;color:var(--re-warn);background:var(--re-warn-soft);border-radius:10px;padding:6px 10px;width:max-content;max-width:100%}
.re-kb{appearance:none;border:1.5px solid var(--re-line2);background:var(--re-bg);color:var(--re-ink);border-radius:10px;min-width:42px;height:42px;padding:0 8px;cursor:pointer;font-size:16px}
.re-link{appearance:none;background:none;border:0;padding:0;font-size:inherit;color:var(--re-vio-d);cursor:pointer;text-decoration:underline;text-underline-offset:3px;justify-self:start}
.re-up{display:grid;gap:10px;border:1.5px dashed var(--re-line2);border-radius:16px;padding:14px;background:var(--re-bg)}
.re-up__h{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.re-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.re-thumb{position:relative;width:96px;height:96px;border-radius:12px;overflow:hidden;border:1px solid var(--re-line2);background:#fff}
.re-root .re-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.re-thumb button{position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;border-radius:50%;border:0;background:rgba(5,32,62,.75);color:#fff;cursor:pointer;line-height:1;font-size:14px}
.re-thumb.lost{display:grid;place-items:center;font-size:11px;text-align:center;color:var(--re-ink2);padding:6px;background:var(--re-bg)}
.re-end{display:flex;justify-content:center;padding:18px 0 8px}

/* результат */
.re-res{display:grid;gap:16px;padding-top:6px}
.re-card{background:#fff;border:1px solid var(--re-line);border-radius:28px;padding:clamp(18px,3.5vw,28px);display:grid;gap:14px}
.re-root .re-card h3{font-size:19px;line-height:1.2;color:var(--re-ink)}
.re-score{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center}
@media (max-width:560px){.re-score{grid-template-columns:1fr}}
.re-ring{display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:conic-gradient(var(--re-vio) var(--pct,0%),var(--re-line) 0);position:relative}
.re-ring::after{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.re-ring div{position:relative;z-index:1;text-align:center;line-height:1}
.re-ring strong{font-size:42px;display:block;font-variant-numeric:tabular-nums}
.re-ring span{font-size:12px;color:var(--re-ink2)}
.re-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media (max-width:600px){.re-tiles{grid-template-columns:1fr}}
.re-tile{border:1px solid var(--re-line);border-radius:18px;padding:14px;display:grid;gap:4px;background:var(--re-bg)}
.re-tile b{font-size:26px;font-variant-numeric:tabular-nums}
.re-tile span{font-size:12px;color:var(--re-ink2)}
.re-note{background:var(--re-blue-soft);border-radius:16px;padding:14px 16px;font-size:14px}
.re-topics{display:flex;flex-wrap:wrap;gap:8px}
.re-topics span{background:var(--re-bad-soft);color:var(--re-bad);border-radius:999px;padding:6px 12px;font-size:13px;font-family:var(--re-fb);font-weight:600}
.re-topics span.ok{background:var(--re-ok-soft);color:var(--re-ok)}
.re-tbl{overflow-x:auto}
.re-tbl table{width:100%;border-collapse:collapse;font-size:14px;margin:0}
.re-tbl th{text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--re-ink2);padding:8px;border:0;border-bottom:1px solid var(--re-line);background:none;font-family:var(--re-fb);font-weight:600}
.re-tbl td{padding:9px 8px;border:0;border-bottom:1px solid var(--re-line);vertical-align:top;background:none}
.re-tbl td.c{white-space:nowrap}
.re-tbl tr.re-solrow td{background:var(--re-bg);padding:12px 8px}
.re-sol{display:grid;gap:8px}
.re-root .re-sol img{width:100%;height:auto;border-radius:12px;border:1px solid var(--re-line);background:#fff}
.re-st{display:inline-flex;align-items:center;font-size:13px;border-radius:999px;padding:3px 10px;white-space:nowrap;line-height:1.3}
.re-st.ok{background:var(--re-ok-soft);color:var(--re-ok)}.re-st.bad{background:var(--re-bad-soft);color:var(--re-bad)}.re-st.none{background:var(--re-line);color:var(--re-ink2)}.re-st.wait{background:var(--re-warn-soft);color:var(--re-warn)}.re-st.pre{background:var(--re-blue-soft);color:var(--re-blue)}
.re-cta{position:relative;overflow:hidden;border-radius:32px;background:#1B114E url(/img/bg.png) center/cover no-repeat;color:#fff;padding:clamp(22px,4vw,38px);padding-right:clamp(22px,30%,300px);display:grid;gap:14px}
.re-root .re-cta h3{font-size:clamp(22px,3vw,32px);line-height:1.1;color:#fff}
.re-root .re-cta p{color:rgba(255,255,255,.82);font-size:15px;max-width:36em}
.re-cta .re-plus{display:flex;flex-wrap:wrap;gap:8px}
.re-cta .re-plus span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:6px 12px;font-size:13px}
.re-cta .re-btns{display:flex;flex-wrap:wrap;gap:10px}
.re-cta .re-contacts{display:grid;gap:6px;font-size:15px;font-family:var(--re-fb);font-weight:600}
.re-cta .re-contacts a{color:#fff;text-decoration:none}
.re-cta .re-contacts div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.re-copy{appearance:none;font-size:12px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;border-radius:999px;padding:3px 10px;cursor:pointer}
.re-root .re-cta__bird{position:absolute;right:10px;bottom:-12px;width:min(28%,250px);pointer-events:none}
@media (max-width:640px){.re-cta{padding-right:clamp(22px,4vw,38px);padding-bottom:150px}.re-root .re-cta__bird{width:150px;right:8px}}

/* модальные окна блока */
.re-modal{position:fixed;inset:0;z-index:100010;background:rgba(5,32,62,.55);display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.re-modal__box{background:#fff;color:var(--re-ink);border-radius:28px;max-width:780px;width:100%;max-height:min(90vh,920px);overflow:auto;padding:22px;display:grid;gap:14px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.re-modal__box.narrow{max-width:520px}
.re-root .re-modal__box img{width:100%;height:auto;border-radius:12px;border:1px solid var(--re-line);background:#fff}
.re-modal__h{display:flex;justify-content:space-between;align-items:center;gap:12px}
.re-root .re-modal__h h3{font-size:20px;color:var(--re-ink)}
.re-zoomer{overflow:auto;max-height:78vh;-webkit-overflow-scrolling:touch}
.re-root .re-zoomer img{width:max(100%,860px);max-width:none;border:0}
.re-toast{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:100020;background:#1B114E;color:#fff;border-radius:18px;padding:11px 18px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.3);max-width:calc(100% - 32px);text-align:center;font-family:'Museo Sans Cyrl 700','Museo Sans Cyrl 500',Arial,sans-serif;font-weight:600}
body.re-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.re-root *{transition:none!important;animation:none!important}}

/* ---- ЕГЭ: дополнения ---- */
.re-tag--new{background:var(--re-warn-soft);color:var(--re-hot2);border-color:transparent}
.re-ans .re-wk .re-input{flex:1 1 170px}
.re-keys{display:flex;gap:6px;flex-wrap:wrap}
.re-lvl{display:inline-grid;place-items:center;min-width:58px;height:58px;padding:0 12px;border-radius:18px;font-size:28px;color:#fff;background:var(--re-vio);flex:none;font-variant-numeric:tabular-nums}
.re-lvl.l0{background:var(--re-bad)}.re-lvl.l1{background:var(--re-warn)}.re-lvl.l2{background:var(--re-blue)}.re-lvl.l3{background:var(--re-ok)}
.re-root .re-ring span{line-height:1.25}
.re-scale{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:4px;font-size:12px;margin-top:10px}
.re-scale span{background:var(--re-bg);border:1px solid var(--re-line);border-radius:8px;padding:3px 6px;text-align:center;font-variant-numeric:tabular-nums}
.re-scale span.on{background:var(--re-vio);border-color:var(--re-vio);color:#fff}
.re-root details>summary{cursor:pointer;color:var(--re-vio-d);font-family:var(--re-fb);font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px;list-style:none}
.re-root details>summary::-webkit-details-marker{display:none}
.re-tbl td.k{min-width:90px;max-width:300px;white-space:normal}
.re-sol .re-solimg{background:#fff;border-radius:12px;border:1px solid var(--re-line);overflow:hidden}
.re-root .re-sol .re-solimg img{border:0;border-radius:0;display:block}
.re-ansline{font-size:15px;background:#fff;border:1px solid var(--re-line);border-radius:12px;padding:10px 12px}
.re-self{border:1.5px solid var(--re-line2);border-radius:14px;padding:12px 14px;margin:0;display:grid;gap:8px;background:#fff;min-width:0}
.re-root .re-self legend{font-family:var(--re-fb);font-weight:600;font-size:15px;padding:0 6px;color:var(--re-ink);width:auto;margin:0;border:0}
.re-self label{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:14px;line-height:1.45;cursor:pointer;margin:0}
.re-root .re-self input{position:static;opacity:1;width:18px;height:18px;margin:1px 0 0;accent-color:var(--re-vio);appearance:auto;-webkit-appearance:radio;display:inline-block}
.re-self .re-pt{font-family:var(--re-fb);font-weight:600;white-space:nowrap}
.re-self__f{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.re-ref{display:grid;gap:10px;justify-items:center;background:#fff;color:#111;border-radius:14px;border:1px solid var(--re-line);padding:18px 12px;font-family:'Times New Roman',Times,Georgia,serif;font-size:clamp(17px,4.4vw,22px);line-height:1.25;text-align:center}
.re-root .re-cta .re-other{color:rgba(255,255,255,.8);font-size:14px}
.re-root .re-cta .re-other a{color:#fff}
.re-reg__more{font-size:13px;color:var(--re-ink2)}
.re-reg__more a{color:var(--re-vio-d)}
@media (max-width:640px){.re-ans--p2{grid-template-columns:1fr;gap:8px}.re-root .re-ans--p2 .re-input{max-width:none}.re-keys--many{flex-basis:100%}.re-ans--p2 .re-kb{min-width:40px;height:40px}}

/* ---- Русский язык: тексты, задания, сочинение, проверка ИИ ---- */
.re-root ol li,.re-root ul li{font-size:inherit}   /* на сайте есть общее правило ol li{font-size:20px} */
.re-root .re-rules{font-size:15px}
.re-root .re-q{display:grid;gap:10px;font-size:16px;line-height:1.55;color:var(--re-ink)}
.re-root .re-q .rq{font-family:var(--re-fb);font-weight:600;font-size:16px;line-height:1.45}
.re-root .re-q .rq b{font-weight:700}
.re-root .re-q .ro,.re-root .re-q .rl{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.re-root .re-q .ro li,.re-root .re-q .rl li{display:flex;gap:8px;margin:0;padding:0;list-style:none}
.re-root .re-q .ro li::before,.re-root .re-q .rl li::before,.re-root .re-q .rw li::before,.re-root .re-howto li::before{display:none!important}
.re-root .re-q .ro li>.rk,.re-root .re-q .rl li>.rk{flex:none;min-width:24px;font-family:var(--re-fb);font-weight:600;color:var(--re-vio-d)}
.re-root .re-q .rt{flex:1 1 auto;min-width:0}
.re-root .re-q .rx{padding:12px 16px;border-radius:14px;background:var(--re-bg);font-size:17px;line-height:1.6}
.re-root .re-q .rw{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 10px}
.re-root .re-q .rw li{margin:0;padding:6px 12px;border-radius:10px;background:var(--re-bg);list-style:none}
.re-root .re-q .rmatch{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:14px 26px}
.re-root .re-q .rmatch h4{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--re-ink2);margin:0 0 8px}
.re-root .re-q .rauth{color:var(--re-ink2);font-size:14px;white-space:nowrap}
.re-root .re-q .rhint{font-size:14px;color:var(--re-ink2)}
.re-root .re-q b i,.re-root .re-q i b{font-style:italic}
.re-root .re-q b u{text-decoration-thickness:2px;text-underline-offset:3px}
.re-textbox{background:#fff;border:1px solid var(--re-line);border-radius:24px;padding:22px 26px;display:grid;gap:12px;scroll-margin-top:150px}
.re-root .re-tlead{font-family:var(--re-fb);font-weight:600;font-size:15px;color:var(--re-vio-d)}
.re-root .rtext{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.65;color:#1d2433}
.re-root .rtext .rn{font-family:var(--re-fb);font-weight:600;font-size:14px;color:var(--re-vio-d)}
.re-root .rtext b:not(.rn){font-family:inherit;font-weight:700}
.re-root .re-q .rtext{font-size:16px;line-height:1.6;padding:12px 16px;border-radius:14px;background:var(--re-bg)}
.re-root .re-src{text-align:right;font-style:italic;font-family:Georgia,serif}
.re-root .re-foot{font-size:13px;color:var(--re-ink2)}
.re-task .re-ans{grid-template-columns:auto minmax(0,260px) 1fr}
.re-root .re-task .re-ans .re-input{max-width:260px;letter-spacing:.04em}
.re-task--essay{border-color:var(--re-vio);border-width:2px}
.re-essay{display:grid;gap:10px}
.re-root .re-essay__l{font-family:var(--re-fb);font-weight:600;font-size:15px}
.re-root .re-essay__t{height:auto;min-height:440px;padding:14px 16px;resize:vertical;font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.65;background:#fff;border-color:var(--re-line2)}
.re-essay__f{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}
.re-wc{font-family:var(--re-fb);font-weight:600;font-size:16px;color:var(--re-warn)}
.re-wc.ok{color:var(--re-ok)}
.re-root .re-howto{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px;line-height:1.5}
.re-root .re-howto li{margin:0;padding:0 0 0 18px;position:relative;list-style:none}
.re-root .re-howto li::after{content:'';position:absolute;left:2px;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--re-vio)}
.re-mytext summary,.re-key27 summary{cursor:pointer}
.re-essay__view{margin-top:10px;padding:14px 16px;border-radius:14px;background:var(--re-bg);font-family:Georgia,serif;font-size:16px;line-height:1.6;white-space:normal;max-height:420px;overflow:auto}
.re-ai{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;justify-content:space-between;margin:14px 0;padding:18px 20px;border-radius:20px;background:var(--re-vio-soft)}
.re-ai>div{flex:1 1 320px;display:grid;gap:6px}
.re-ai--wait{justify-content:flex-start}
.re-ai--done{display:grid;gap:12px;background:#fff;border:2px solid var(--re-vio-soft)}
.re-ai__h{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.re-root .re-ai__sum{font-family:var(--re-fb);font-weight:600;font-size:24px}
.re-ktbl td:nth-child(2){white-space:nowrap;text-align:center}
.re-ktbl td:first-child{min-width:150px}
.re-errsw{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.re-errs{padding:12px 14px;border-radius:14px;background:var(--re-bg);font-size:14px}
.re-root .re-errs ul,.re-root .re-advice ul{margin:6px 0 0;padding:0 0 0 18px}
.re-root .re-errs li,.re-root .re-advice li{margin:3px 0;list-style:disc}
.re-root .re-errs li::before,.re-root .re-advice li::before{display:none!important}
.re-q-bad{color:var(--re-bad);text-decoration:line-through;text-decoration-thickness:1px}
.re-q-ok{color:var(--re-ok);font-weight:600}
.re-advice{padding:12px 14px;border-radius:14px;background:var(--re-ok-soft);font-size:15px}
.re-spin{flex:none;width:30px;height:30px;border-radius:50%;border:3px solid var(--re-vio-soft);border-top-color:var(--re-vio);animation:re-spin 1s linear infinite}
@keyframes re-spin{to{transform:rotate(360deg)}}
.re-key27{margin-top:12px;padding:12px 14px;border-radius:14px;background:var(--re-bg);font-size:14px;line-height:1.5}
.re-root .re-key27 p{margin:6px 0 0}
.re-btn[disabled]{cursor:not-allowed}
/* пробник один раз: контакты, отметка макета, что нашёл ИИ */
.re-root .re-ctc{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:14px}
.re-root .re-ctc a{font-family:var(--re-fb);font-weight:600;font-size:18px;color:var(--re-vio-d);text-decoration:none}
.re-root .re-ctc a:hover{text-decoration:underline;text-underline-offset:3px}
.re-mk{margin-top:16px;padding-top:12px;border-top:1px dashed var(--re-line2);text-align:right;font-size:13px}
.re-found{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.re-found>div{display:grid;gap:4px;align-content:start;padding:12px 14px;border-radius:14px;background:var(--re-bg);font-size:14px;line-height:1.45}
.re-root .re-found b{font-size:13px;color:var(--re-vio-d)}
.re-root .re-once{text-align:center}
.re-root .re-once a{color:var(--re-vio-d)}
.re-root .re-actions .re-hint .re-link{font-size:13px}
@media (max-width:760px){
  .re-root .re-q .rmatch{grid-template-columns:1fr}
  .re-task .re-ans{grid-template-columns:1fr}
  .re-root .re-task .re-ans .re-input{max-width:none}
  .re-textbox{padding:16px 14px;border-radius:20px}
  .re-root .rtext{font-size:16px}
  .re-root .re-essay__t{min-height:360px;font-size:16px}
  .re-root .re-q .rauth{white-space:normal}
}
.re-root .re-task--essay .re-q .rq{font-family:var(--re-f);font-weight:500}
.re-root .re-task--essay .re-q .rq:first-child{font-family:var(--re-fb);font-weight:600;font-size:17px}
/* На узких экранах следующий блок страницы 111 («Ключевые преимущества») идёт без верхнего отступа — даём отступ снизу, как у блоков сайта. */
@media (max-width:576px){.re-section{margin-bottom:50px}}
