/* StudentSOS v15 — mobile auth, five rotating hero prompts, SOSik visibility, error journal */
.s15-mobile-login{display:none;text-decoration:none;font-weight:850;color:#1769ff;border:1px solid #cfe0ff;background:#f5f8ff;border-radius:13px;padding:10px 13px;white-space:nowrap}
.s15-company{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px!important;padding-bottom:3px!important;color:#6f7888;font-size:13px}.s15-company b{color:#3d4655}.s15-company button{margin-left:auto;border:0;background:transparent;color:#1769ff;font:750 12px/1.2 Manrope,sans-serif;cursor:pointer;padding:5px 0}

/* SOSик: keep the actual mascot visible and let the user dismiss it on this device. */
.s15-sosik{isolation:isolate}.s15-sosik[hidden]{display:none!important}.s15-sosik-hide{position:absolute;z-index:4;right:-5px;top:-8px;width:24px;height:24px;border:1px solid #d7dfeb;border-radius:999px;background:#fff;color:#748096;box-shadow:0 5px 16px rgba(31,50,80,.14);font:700 16px/20px Arial,sans-serif;cursor:pointer}.s15-sosik-hide:hover{color:#172033;border-color:#bfc9d8}.s15-sosik-avatar,.s15-sosik-avatar svg{display:block!important;visibility:visible!important;opacity:1!important}

/* Admin error journal */
.admin-v15-error-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.admin-v15-error-summary>div{padding:16px;border:1px solid #e1e7ef;border-radius:16px;background:#fff;display:grid;gap:5px}.admin-v15-error-summary span{font-size:12px;color:#798497}.admin-v15-error-summary b{font-size:24px}.admin-v15-error-table{width:100%;border-collapse:collapse}.admin-v15-error-table th,.admin-v15-error-table td{text-align:left;vertical-align:top;padding:10px 9px;border-bottom:1px solid #edf0f4;font-size:12px}.admin-v15-error-table th{color:#667085;font-weight:800}.admin-v15-error-table td code{font-size:11px;white-space:normal;overflow-wrap:anywhere}.admin-v15-error-message{max-width:420px;white-space:normal;line-height:1.45}.admin-v15-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f3f6fb;color:#4d596c;font-size:10px;font-weight:850}.admin-v15-badge.bad{background:#fff0f0;color:#b42318}.admin-v15-error-detail summary{cursor:pointer;color:#1769ff;font-weight:750}.admin-v15-error-detail pre{max-width:650px;max-height:260px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#101828;color:#eef2f7;border-radius:10px;padding:10px;font-size:10px}

@media(max-width:1000px){
  .s15-mobile-login{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px}
  .s14-header .header-actions>.login-link{display:none!important}
}
@media(max-width:620px){
  /* A clear login action in the header is more important than repeating the trial CTA. */
  .s14-header .s15-header-trial{display:none!important}
  .s15-mobile-login{font-size:13px!important;padding:9px 11px!important;min-height:42px}
  .s14-mobile-nav-toggle{width:42px!important;height:42px!important}

  /* Five phrases, but only one is visible at a time. */
  .s11-bubble-stage{min-height:210px!important}
  .s11-bubble-stage .sos-mascot{width:102px!important;height:102px!important;top:43%!important}
  .s11-bubble-stage .s11-float-bubble{display:block!important;left:50%!important;right:auto!important;top:auto!important;bottom:5px!important;width:max-content!important;max-width:90%!important;transform:translateX(-50%)!important;text-align:center!important;opacity:0;animation:s15HeroPhrase 15s ease-in-out infinite!important;pointer-events:none}
  .s11-bubble-stage .s11-float-bubble.b1{animation-delay:0s!important}.s11-bubble-stage .s11-float-bubble.b2{animation-delay:3s!important}.s11-bubble-stage .s11-float-bubble.b3{animation-delay:6s!important}.s11-bubble-stage .s11-float-bubble.b4{animation-delay:9s!important}.s11-bubble-stage .s11-float-bubble.b5{animation-delay:12s!important}

  /* SOSик must look like the character, not an online-status dot. */
  .s15-sosik{right:10px!important;bottom:12px!important}.s15-sosik>summary{padding:6px 10px 6px 6px!important;gap:7px!important;min-width:94px!important;overflow:visible!important}.s15-sosik>summary>span{display:grid!important}.s15-sosik>summary b{font-size:12px!important}.s15-sosik>summary small{display:none!important}.s15-sosik-avatar{width:48px!important;height:48px!important;min-width:48px!important}.s15-sosik>summary:after{left:42px!important;top:6px!important;width:7px!important;height:7px!important}.s15-sosik-panel{bottom:66px!important}.s15-sosik-hide{right:-4px;top:-9px}
  .s15-company{display:grid;grid-template-columns:1fr auto;gap:5px 12px}.s15-company button{margin-left:0;grid-column:1/-1;justify-self:start}
  .admin-v15-error-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-v15-error-wrap{overflow:auto}.admin-v15-error-table{min-width:850px}
}
@keyframes s15HeroPhrase{0%,4%{opacity:0}8%,18%{opacity:1}20%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.s11-bubble-stage .s11-float-bubble{animation:none!important;display:none!important}.s11-bubble-stage .s11-float-bubble.b1{display:block!important;opacity:1!important}}
