/* Полноэкранный просмотр сотрудника: карточка команды «разъезжается» на весь экран, листается влево и вправо. */
dialog.role-view{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#0b1210;color:#eef3e5;overflow:hidden;box-shadow:none}
dialog.role-view::backdrop{background:transparent;backdrop-filter:none}
.role-view .rv-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.role-view .rv-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.04);transition:opacity .6s ease,transform 1.2s ease}
.role-view .rv-bg-img.is-active{opacity:1;transform:none}
.role-view .rv-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b1210f5 0%,#0b1210e0 42%,#0b1210a6 70%,#0b121066 100%),linear-gradient(0deg,#0b1210e6 0%,#0b121000 38%)}
.role-view .rv-bar{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;gap:18px;padding:16px clamp(20px,3vw,56px);pointer-events:none}
.role-view .rv-bar>*{pointer-events:auto}
.role-view .rv-counter{font-size:13px;font-weight:600;letter-spacing:.12em;color:var(--lime,#c6f36c);font-variant-numeric:tabular-nums}
.role-view .rv-progress{flex:1;max-width:260px;height:2px;background:#ffffff1f;border-radius:2px;overflow:hidden}
.role-view .rv-progress i{display:block;height:100%;width:0;background:var(--lime,#c6f36c);transition:width .45s ease}
.role-view .dialog-close{position:static;margin-left:auto;width:46px;height:46px;font-size:28px;background:#0b1210b3;border:1px solid #ffffff2b;color:#eef3e5;backdrop-filter:blur(8px)}
.role-view .dialog-close:hover,.role-view .dialog-close:focus-visible{background:var(--lime,#c6f36c);color:#111310;border-color:transparent}
.role-view .rv-nav{position:absolute;top:50%;z-index:4;width:56px;height:56px;margin-top:-28px;border-radius:50%;display:grid;place-items:center;background:#0b1210b3;border:1px solid #ffffff2b;color:#eef3e5;backdrop-filter:blur(8px);transition:background .2s,color .2s,transform .2s}
.role-view .rv-nav svg{width:24px;height:24px}
.role-view .rv-nav:hover,.role-view .rv-nav:focus-visible{background:var(--lime,#c6f36c);color:#111310;border-color:transparent}
.role-view .rv-prev{left:clamp(10px,1.6vw,28px)}.role-view .rv-prev:hover{transform:translateX(-3px)}
.role-view .rv-next{right:clamp(10px,1.6vw,28px)}.role-view .rv-next:hover{transform:translateX(3px)}
.role-view .rv-scroll{position:relative;z-index:2;height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff33 transparent}
.role-view .rv-slide{min-height:100%;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,22vw,320px);gap:clamp(28px,4vw,72px);align-items:center;max-width:1560px;margin:0 auto;padding:clamp(72px,10vh,96px) clamp(84px,7vw,120px) clamp(28px,5vh,48px)}
.role-view .rv-kicker{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--lime,#c6f36c);margin:0}
.role-view .rv-kicker::before{content:"";width:36px;height:2px;background:var(--lime,#c6f36c)}
.role-view h2{font-size:clamp(30px,min(3.6vw,6.2vh),56px);line-height:1.02;letter-spacing:-.035em;font-weight:700;margin:12px 0 0;text-wrap:balance}
.role-view .rv-summary{font-size:clamp(16px,1.3vw,20px);line-height:1.35;font-weight:600;color:#eef3e5;margin:12px 0 0}
.role-view .rv-legend{margin:16px 0 0;padding:2px 0 2px 16px;border-left:3px solid var(--lime,#c6f36c);font-style:italic;font-size:14.5px;line-height:1.5;color:#d3dcc8;max-width:62em}
.role-view .rv-lead{font-size:14.5px;line-height:1.5;color:#b9c5ab;margin:12px 0 0;max-width:62em}
.role-view .rv-qa{margin-top:16px;padding:14px 18px 16px;background:#0b1210b8;border:1px solid #c6f36c33;border-radius:14px;backdrop-filter:blur(6px)}
.role-view .rv-qa h3{font-size:15px;line-height:1.3;font-weight:700;color:var(--lime,#c6f36c);margin:0}
.role-view #rv-answer{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px 22px;margin-top:8px}
.role-view .rv-qa p{font-size:13.5px;line-height:1.5;color:#d3dcc8;margin:0}
.role-view .rv-tools{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0}
.role-view .rv-tools li{font-size:12px;font-weight:500;padding:6px 12px;border-radius:999px;border:1px solid #ffffff2b;background:#ffffff0d;color:#e1e9d6}
.role-view .rv-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:18px}
.role-view .rv-actions .button{width:auto;margin:0;min-height:48px;padding:13px 22px;font-size:14px;gap:14px}
.role-view .rv-actions .button svg{width:20px}
.role-view .rv-more{font-size:14px;font-weight:500;color:#e1e9d6;text-decoration:underline;text-decoration-color:#c6f36c80;text-underline-offset:5px}
.role-view .rv-more:hover{color:var(--lime,#c6f36c)}
.role-view .rv-note{font-size:12px;color:#9fae8d;margin:10px 0 0}
.role-view .rv-card{margin:0;border-radius:20px;overflow:hidden;background:#1d2517;border:1px solid #c6f36c40;box-shadow:0 30px 90px #000a}
.role-view .rv-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.role-view .rv-card figcaption{padding:14px 18px 16px}
.role-view .rv-card strong{display:block;font-size:20px;line-height:1.2;letter-spacing:-.02em}
.role-view .rv-card span{display:block;margin-top:6px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#b3ce91}
.role-view .rv-hint{position:absolute;right:clamp(20px,4vw,64px);bottom:18px;z-index:3;margin:0;font-size:12px;color:#ffffff73;pointer-events:none}
@media(min-width:981px) and (max-width:1240px){
  .role-view .rv-slide{grid-template-columns:minmax(0,1fr) 210px;gap:32px;padding-inline:84px}
  .role-view #rv-answer{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
}
@media(min-width:981px) and (max-height:800px){
  .role-view .rv-slide{padding-top:68px;padding-bottom:20px}
  .role-view h2{margin-top:8px}
  .role-view .rv-summary{font-size:16px;margin-top:8px}
  .role-view .rv-legend,.role-view .rv-lead{font-size:13.5px;line-height:1.45;margin-top:10px}
  .role-view .rv-qa{margin-top:12px;padding:12px 16px 14px}
  .role-view .rv-qa p{font-size:13px;line-height:1.45}
  .role-view .rv-tools{margin-top:10px}
  .role-view .rv-tools li{padding:5px 11px}
  .role-view .rv-actions{margin-top:12px}
  .role-view .rv-actions .button{min-height:44px;padding:11px 20px}
  .role-view .rv-note{margin-top:6px}
  .role-view .rv-card figcaption{padding:12px 16px 14px}
}
@media(max-width:980px){
  .role-view .rv-slide{grid-template-columns:1fr;gap:26px;padding:84px 28px 110px;align-items:start}
  .role-view .rv-card{order:-1;display:grid;grid-template-columns:96px 1fr;align-items:center;border-radius:16px;max-width:460px}
  .role-view .rv-card img{width:96px;height:96px}
  .role-view .rv-card figcaption{padding:12px 16px}
  .role-view .rv-card strong{font-size:19px}
  .role-view .rv-nav{top:auto;bottom:22px;margin-top:0;width:52px;height:52px}
  .role-view .rv-prev{left:auto;right:84px}
  .role-view .rv-next{right:22px}
  .role-view .rv-hint{display:none}
  .role-view .rv-bg::after{background:linear-gradient(0deg,#0b1210f2 0%,#0b1210d9 55%,#0b121099 100%)}
}
@media(max-width:600px){
  .role-view .rv-bar{padding:14px 16px;gap:12px}
  .role-view .rv-progress{max-width:120px}
  .role-view .rv-slide{padding:74px 18px 104px}
  .role-view h2{font-size:32px}
  .role-view .rv-summary{font-size:17px}
  .role-view .rv-legend,.role-view .rv-lead{font-size:14px}
  .role-view .rv-qa{padding:16px}
  .role-view .rv-slide{gap:16px;padding:64px 16px 74px}
  .role-view .rv-card img{width:72px;height:72px}
  .role-view .rv-card{grid-template-columns:72px 1fr}
  .role-view .rv-card figcaption{padding:8px 14px}
  .role-view .rv-card strong{font-size:17px}
  .role-view h2{font-size:28px;margin-top:8px}
  .role-view .rv-summary{font-size:16px;margin-top:8px}
  .role-view .rv-legend,.role-view .rv-lead{font-size:13.5px;line-height:1.45;margin-top:10px}
  .role-view .rv-qa{margin-top:12px;padding:12px 14px}
  .role-view .rv-qa p{font-size:13px;line-height:1.45}
  .role-view #rv-answer{gap:4px}
  .role-view .rv-tools{margin-top:10px;gap:6px}
  .role-view .rv-tools li{padding:4px 10px;font-size:11.5px}
  .role-view .rv-actions{margin-top:12px;gap:8px 18px}
  .role-view .rv-actions .button{min-height:44px;padding:11px 18px}
  .role-view .rv-note{display:none}
  .role-view .rv-nav{bottom:16px;width:46px;height:46px}
  .role-view .rv-prev{right:72px}
  .role-view .rv-next{right:16px}
}
@media(prefers-reduced-motion:reduce){.role-view .rv-bg-img,.role-view .rv-progress i{transition:none}}
body.motion-paused .role-view .rv-bg-img,body.motion-paused .role-view .rv-progress i{transition:none}
